2025-01-19 14:08:11 +00:00

73 lines
834 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

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

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

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function Al(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Je={},ms=[],Mn=()=>{},Fz=()=>!1,ji=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),bd=e=>e.startsWith("onUpdate:"),pt=Object.assign,vd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Vz=Object.prototype.hasOwnProperty,st=(e,t)=>Vz.call(e,t),be=Array.isArray,fs=e=>As(e)==="[object Map]",Vo=e=>As(e)==="[object Set]",$m=e=>As(e)==="[object Date]",Hz=e=>As(e)==="[object RegExp]",Oe=e=>typeof e=="function",yt=e=>typeof e=="string",or=e=>typeof e=="symbol",ft=e=>e!==null&&typeof e=="object",Cd=e=>(ft(e)||Oe(e))&&Oe(e.then)&&Oe(e.catch),Gh=Object.prototype.toString,As=e=>Gh.call(e),Uz=e=>As(e).slice(8,-1),Ol=e=>As(e)==="[object Object]",wd=e=>yt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ps=Al(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},jz=/-(\w)/g,qt=Pl(e=>e.replace(jz,(t,n)=>n?n.toUpperCase():"")),Bz=/\B([A-Z])/g,yn=Pl(e=>e.replace(Bz,"-$1").toLowerCase()),Bi=Pl(e=>e.charAt(0).toUpperCase()+e.slice(1)),ai=Pl(e=>e?`on${Bi(e)}`:""),an=(e,t)=>!Object.is(e,t),hs=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Kh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Za=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ya=e=>{const t=yt(e)?Number(e):NaN;return isNaN(t)?e:t};let Am;const Il=()=>Am||(Am=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Wz="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",qz=Al(Wz);function po(e){if(be(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=yt(r)?Yz(r):po(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(yt(e)||ft(e))return e}const Gz=/;(?![^(]*\))/g,Kz=/:([^]+)/,Zz=/\/\*[^]*?\*\//g;function Yz(e){const t={};return e.replace(Zz,"").split(Gz).forEach(n=>{if(n){const r=n.split(Kz);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Se(e){let t="";if(yt(e))t=e;else if(be(e))for(let n=0;n<e.length;n++){const r=Se(e[n]);r&&(t+=r+" ")}else if(ft(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Js(e){if(!e)return null;let{class:t,style:n}=e;return t&&!yt(t)&&(e.class=Se(t)),n&&(e.style=po(n)),e}const Xz="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Jz=Al(Xz);function Zh(e){return!!e||e===""}function Qz(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=co(e[r],t[r]);return n}function co(e,t){if(e===t)return!0;let n=$m(e),r=$m(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=or(e),r=or(t),n||r)return e===t;if(n=be(e),r=be(t),n||r)return n&&r?Qz(e,t):!1;if(n=ft(e),r=ft(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!co(e[i],t[i]))return!1}}return String(e)===String(t)}function Ll(e,t){return e.findIndex(n=>co(n,t))}const Yh=e=>!!(e&&e.__v_isRef===!0),y=e=>yt(e)?e:e==null?"":be(e)||ft(e)&&(e.toString===Gh||!Oe(e.toString))?Yh(e)?y(e.value):JSON.stringify(e,Xh,2):String(e),Xh=(e,t)=>Yh(t)?Xh(e,t.value):fs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[ku(r,s)+" =>"]=o,n),{})}:Vo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ku(n))}:or(t)?ku(t):ft(t)&&!be(t)&&!Ol(t)?String(t):t,ku=(e,t="")=>{var n;return or(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let sn;class Sd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=sn,!t&&sn&&(this.index=(sn.scopes||(sn.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=sn;try{return sn=this,t()}finally{sn=n}}}on(){sn=this}off(){sn=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Nl(e){return new Sd(e)}function kd(){return sn}function Jh(e,t=!1){sn&&sn.cleanups.push(e)}let _t;const xu=new WeakSet;class ki{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,sn&&sn.active&&sn.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,xu.has(this)&&(xu.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||e_(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Om(this),t_(this);const t=_t,n=rr;_t=this,rr=!0;try{return this.fn()}finally{n_(this),_t=t,rr=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Td(t);this.deps=this.depsTail=void 0,Om(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xu.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){bc(this)&&this.run()}get dirty(){return bc(this)}}let Qh=0,li,ui;function e_(e,t=!1){if(e.flags|=8,t){e.next=ui,ui=e;return}e.next=li,li=e}function xd(){Qh++}function Ed(){if(--Qh>0)return;if(ui){let t=ui;for(ui=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;li;){let t=li;for(li=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function t_(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function n_(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Td(r),eb(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function bc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(r_(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function r_(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xi))return;e.globalVersion=xi;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!bc(e)){e.flags&=-3;return}const n=_t,r=rr;_t=e,rr=!0;try{t_(e);const o=e.fn(e._value);(t.version===0||an(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{_t=n,rr=r,n_(e),e.flags&=-3}}function Td(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Td(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function eb(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function tb(e,t){e.effect instanceof ki&&(e=e.effect.fn);const n=new ki(e);t&&pt(n,t);try{n.run()}catch(o){throw n.stop(),o}const r=n.run.bind(n);return r.effect=n,r}function nb(e){e.effect.stop()}let rr=!0;const o_=[];function ho(){o_.push(rr),rr=!1}function _o(){const e=o_.pop();rr=e===void 0?!0:e}function Om(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=_t;_t=void 0;try{t()}finally{_t=n}}}let xi=0;class rb{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Dl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!_t||!rr||_t===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==_t)n=this.activeLink=new rb(_t,this),_t.deps?(n.prevDep=_t.depsTail,_t.depsTail.nextDep=n,_t.depsTail=n):_t.deps=_t.depsTail=n,s_(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=_t.depsTail,n.nextDep=void 0,_t.depsTail.nextDep=n,_t.depsTail=n,_t.deps===n&&(_t.deps=r)}return n}trigger(t){this.version++,xi++,this.notify(t)}notify(t){xd();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ed()}}}function s_(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)s_(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Xa=new WeakMap,Oo=Symbol(""),vc=Symbol(""),Ei=Symbol("");function Zt(e,t,n){if(rr&&_t){let r=Xa.get(e);r||Xa.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Dl),o.map=r,o.key=n),o.track()}}function Or(e,t,n,r,o,s){const i=Xa.get(e);if(!i){xi++;return}const a=l=>{l&&l.trigger()};if(xd(),t==="clear")i.forEach(a);else{const l=be(e),c=l&&wd(n);if(l&&n==="length"){const d=Number(r);i.forEach((m,f)=>{(f==="length"||f===Ei||!or(f)&&f>=d)&&a(m)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Ei)),t){case"add":l?c&&a(i.get("length")):(a(i.get(Oo)),fs(e)&&a(i.get(vc)));break;case"delete":l||(a(i.get(Oo)),fs(e)&&a(i.get(vc)));break;case"set":fs(e)&&a(i.get(Oo));break}}Ed()}function ob(e,t){const n=Xa.get(e);return n&&n.get(t)}function Wo(e){const t=Xe(e);return t===e?t:(Zt(t,"iterate",Ei),En(e)?t:t.map(Yt))}function Rl(e){return Zt(e=Xe(e),"iterate",Ei),e}const sb={__proto__:null,[Symbol.iterator](){return Eu(this,Symbol.iterator,Yt)},concat(...e){return Wo(this).concat(...e.map(t=>be(t)?Wo(t):t))},entries(){return Eu(this,"entries",e=>(e[1]=Yt(e[1]),e))},every(e,t){return xr(this,"every",e,t,void 0,arguments)},filter(e,t){return xr(this,"filter",e,t,n=>n.map(Yt),arguments)},find(e,t){return xr(this,"find",e,t,Yt,arguments)},findIndex(e,t){return xr(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return xr(this,"findLast",e,t,Yt,arguments)},findLastIndex(e,t){return xr(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return xr(this,"forEach",e,t,void 0,arguments)},includes(...e){return Tu(this,"includes",e)},indexOf(...e){return Tu(this,"indexOf",e)},join(e){return Wo(this).join(e)},lastIndexOf(...e){return Tu(this,"lastIndexOf",e)},map(e,t){return xr(this,"map",e,t,void 0,arguments)},pop(){return Hs(this,"pop")},push(...e){return Hs(this,"push",e)},reduce(e,...t){return Pm(this,"reduce",e,t)},reduceRight(e,...t){return Pm(this,"reduceRight",e,t)},shift(){return Hs(this,"shift")},some(e,t){return xr(this,"some",e,t,void 0,arguments)},splice(...e){return Hs(this,"splice",e)},toReversed(){return Wo(this).toReversed()},toSorted(e){return Wo(this).toSorted(e)},toSpliced(...e){return Wo(this).toSpliced(...e)},unshift(...e){return Hs(this,"unshift",e)},values(){return Eu(this,"values",Yt)}};function Eu(e,t,n){const r=Rl(e),o=r[t]();return r!==e&&!En(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.value&&(s.value=n(s.value)),s}),o}const ib=Array.prototype;function xr(e,t,n,r,o,s){const i=Rl(e),a=i!==e&&!En(e),l=i[t];if(l!==ib[t]){const m=l.apply(e,s);return a?Yt(m):m}let c=n;i!==e&&(a?c=function(m,f){return n.call(this,Yt(m),f,e)}:n.length>2&&(c=function(m,f){return n.call(this,m,f,e)}));const d=l.call(i,c,r);return a&&o?o(d):d}function Pm(e,t,n,r){const o=Rl(e);let s=n;return o!==e&&(En(e)?n.length>3&&(s=function(i,a,l){return n.call(this,i,a,l,e)}):s=function(i,a,l){return n.call(this,i,Yt(a),l,e)}),o[t](s,...r)}function Tu(e,t,n){const r=Xe(e);Zt(r,"iterate",Ei);const o=r[t](...n);return(o===-1||o===!1)&&Vl(n[0])?(n[0]=Xe(n[0]),r[t](...n)):o}function Hs(e,t,n=[]){ho(),xd();const r=Xe(e)[t].apply(e,n);return Ed(),_o(),r}const ab=Al("__proto__,__v_isRef,__isVue"),i_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(or));function lb(e){or(e)||(e=String(e));const t=Xe(this);return Zt(t,"has",e),t.hasOwnProperty(e)}class a_{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?f_:m_:s?d_:c_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=be(t);if(!o){let l;if(i&&(l=sb[n]))return l;if(n==="hasOwnProperty")return lb}const a=Reflect.get(t,n,St(t)?t:r);return(or(n)?i_.has(n):ab(n))||(o||Zt(t,"get",n),s)?a:St(a)?i&&wd(n)?a:a.value:ft(a)?o?Ad(a):Os(a):a}}class l_ extends a_{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=mo(s);if(!En(r)&&!mo(r)&&(s=Xe(s),r=Xe(r)),!be(t)&&St(s)&&!St(r))return l?!1:(s.value=r,!0)}const i=be(t)&&wd(n)?Number(n)<t.length:st(t,n),a=Reflect.set(t,n,r,St(t)?t:o);return t===Xe(o)&&(i?an(r,s)&&Or(t,"set",n,r):Or(t,"add",n,r)),a}deleteProperty(t,n){const r=st(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Or(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!or(n)||!i_.has(n))&&Zt(t,"has",n),r}ownKeys(t){return Zt(t,"iterate",be(t)?"length":Oo),Reflect.ownKeys(t)}}class u_ extends a_{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ub=new l_,cb=new u_,db=new l_(!0),mb=new u_(!0),Cc=e=>e,oa=e=>Reflect.getPrototypeOf(e);function fb(e,t,n){return function(...r){const o=this.__v_raw,s=Xe(o),i=fs(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),d=n?Cc:t?wc:Yt;return!t&&Zt(s,"iterate",l?vc:Oo),{next(){const{value:m,done:f}=c.next();return f?{value:m,done:f}:{value:a?[d(m[0]),d(m[1])]:d(m),done:f}},[Symbol.iterator](){return this}}}}function sa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function pb(e,t){const n={get(o){const s=this.__v_raw,i=Xe(s),a=Xe(o);e||(an(o,a)&&Zt(i,"get",o),Zt(i,"get",a));const{has:l}=oa(i),c=t?Cc:e?wc:Yt;if(l.call(i,o))return c(s.get(o));if(l.call(i,a))return c(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Zt(Xe(o),"iterate",Oo),Reflect.get(o,"size",o)},has(o){const s=this.__v_raw,i=Xe(s),a=Xe(o);return e||(an(o,a)&&Zt(i,"has",o),Zt(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=Xe(a),c=t?Cc:e?wc:Yt;return!e&&Zt(l,"iterate",Oo),a.forEach((d,m)=>o.call(s,c(d),c(m),i))}};return pt(n,e?{add:sa("add"),set:sa("set"),delete:sa("delete"),clear:sa("clear")}:{add(o){!t&&!En(o)&&!mo(o)&&(o=Xe(o));const s=Xe(this);return oa(s).has.call(s,o)||(s.add(o),Or(s,"add",o,o)),this},set(o,s){!t&&!En(s)&&!mo(s)&&(s=Xe(s));const i=Xe(this),{has:a,get:l}=oa(i);let c=a.call(i,o);c||(o=Xe(o),c=a.call(i,o));const d=l.call(i,o);return i.set(o,s),c?an(s,d)&&Or(i,"set",o,s):Or(i,"add",o,s),this},delete(o){const s=Xe(this),{has:i,get:a}=oa(s);let l=i.call(s,o);l||(o=Xe(o),l=i.call(s,o)),a&&a.call(s,o);const c=s.delete(o);return l&&Or(s,"delete",o,void 0),c},clear(){const o=Xe(this),s=o.size!==0,i=o.clear();return s&&Or(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=fb(o,e,t)}),n}function Ml(e,t){const n=pb(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(st(n,o)&&o in r?n:r,o,s)}const hb={get:Ml(!1,!1)},_b={get:Ml(!1,!0)},gb={get:Ml(!0,!1)},yb={get:Ml(!0,!0)},c_=new WeakMap,d_=new WeakMap,m_=new WeakMap,f_=new WeakMap;function zb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bb(e){return e.__v_skip||!Object.isExtensible(e)?0:zb(Uz(e))}function Os(e){return mo(e)?e:Fl(e,!1,ub,hb,c_)}function $d(e){return Fl(e,!1,db,_b,d_)}function Ad(e){return Fl(e,!0,cb,gb,m_)}function vb(e){return Fl(e,!0,mb,yb,f_)}function Fl(e,t,n,r,o){if(!ft(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=bb(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function vr(e){return mo(e)?vr(e.__v_raw):!!(e&&e.__v_isReactive)}function mo(e){return!!(e&&e.__v_isReadonly)}function En(e){return!!(e&&e.__v_isShallow)}function Vl(e){return e?!!e.__v_raw:!1}function Xe(e){const t=e&&e.__v_raw;return t?Xe(t):e}function Hl(e){return!st(e,"__v_skip")&&Object.isExtensible(e)&&Kh(e,"__v_skip",!0),e}const Yt=e=>ft(e)?Os(e):e,wc=e=>ft(e)?Ad(e):e;function St(e){return e?e.__v_isRef===!0:!1}function Fn(e){return p_(e,!1)}function Ul(e){return p_(e,!0)}function p_(e,t){return St(e)?e:new Cb(e,t)}class Cb{constructor(t,n){this.dep=new Dl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Xe(t),this._value=n?t:Yt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||En(t)||mo(t);t=r?t:Xe(t),an(t,n)&&(this._rawValue=t,this._value=r?t:Yt(t),this.dep.trigger())}}function wb(e){e.dep&&e.dep.trigger()}function zn(e){return St(e)?e.value:e}function Sb(e){return Oe(e)?e():zn(e)}const kb={get:(e,t,n)=>t==="__v_raw"?e:zn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return St(o)&&!St(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Od(e){return vr(e)?e:new Proxy(e,kb)}class xb{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Dl,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function h_(e){return new xb(e)}function __(e){const t=be(e)?new Array(e.length):{};for(const n in e)t[n]=g_(e,n);return t}class Eb{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return ob(Xe(this._object),this._key)}}class Tb{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function $b(e,t,n){return St(e)?e:Oe(e)?new Tb(e):ft(e)&&arguments.length>1?g_(e,t,n):Fn(e)}function g_(e,t,n){const r=e[t];return St(r)?r:new Eb(e,t,n)}class Ab{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Dl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&_t!==this)return e_(this,!0),!0}get value(){const t=this.dep.track();return r_(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ob(e,t,n=!1){let r,o;return Oe(e)?r=e:(r=e.get,o=e.set),new Ab(r,o,n)}const Pb={GET:"get",HAS:"has",ITERATE:"iterate"},Ib={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},ia={},Ja=new WeakMap;let Jr;function Lb(){return Jr}function y_(e,t=!1,n=Jr){if(n){let r=Ja.get(n);r||Ja.set(n,r=[]),r.push(e)}}function Nb(e,t,n=Je){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,c=z=>o?z:En(z)||o===!1||o===0?Pr(z,1):Pr(z);let d,m,f,p,h=!1,_=!1;if(St(e)?(m=()=>e.value,h=En(e)):vr(e)?(m=()=>c(e),h=!0):be(e)?(_=!0,h=e.some(z=>vr(z)||En(z)),m=()=>e.map(z=>{if(St(z))return z.value;if(vr(z))return c(z);if(Oe(z))return l?l(z,2):z()})):Oe(e)?t?m=l?()=>l(e,2):e:m=()=>{if(f){ho();try{f()}finally{_o()}}const z=Jr;Jr=d;try{return l?l(e,3,[p]):e(p)}finally{Jr=z}}:m=Mn,t&&o){const z=m,S=o===!0?1/0:o;m=()=>Pr(z(),S)}const b=kd(),C=()=>{d.stop(),b&&b.active&&vd(b.effects,d)};if(s&&t){const z=t;t=(...S)=>{z(...S),C()}}let w=_?new Array(e.length).fill(ia):ia;const g=z=>{if(!(!(d.flags&1)||!d.dirty&&!z))if(t){const S=d.run();if(o||h||(_?S.some((k,L)=>an(k,w[L])):an(S,w))){f&&f();const k=Jr;Jr=d;try{const L=[S,w===ia?void 0:_&&w[0]===ia?[]:w,p];l?l(t,3,L):t(...L),w=S}finally{Jr=k}}}else d.run()};return a&&a(g),d=new ki(m),d.scheduler=i?()=>i(g,!1):g,p=z=>y_(z,!1,d),f=d.onStop=()=>{const z=Ja.get(d);if(z){if(l)l(z,4);else for(const S of z)S();Ja.delete(d)}},t?r?g(!0):w=d.run():i?i(g.bind(null,!0),!0):d.run(),C.pause=d.pause.bind(d),C.resume=d.resume.bind(d),C.stop=C,C}function Pr(e,t=1/0,n){if(t<=0||!ft(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,St(e))Pr(e.value,t,n);else if(be(e))for(let r=0;r<e.length;r++)Pr(e[r],t,n);else if(Vo(e)||fs(e))e.forEach(r=>{Pr(r,t,n)});else if(Ol(e)){for(const r in e)Pr(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Pr(e[r],t,n)}return e}/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const z_=[];function Db(e){z_.push(e)}function Rb(){z_.pop()}function Mb(e,t){}const Fb={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"},Vb={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 Ps(e,t,n,r){try{return r?e(...r):e()}catch(o){Ho(o,t,n)}}function Un(e,t,n,r){if(Oe(e)){const o=Ps(e,t,n,r);return o&&Cd(o)&&o.catch(s=>{Ho(s,t,n)}),o}if(be(e)){const o=[];for(let s=0;s<e.length;s++)o.push(Un(e[s],t,n,r));return o}}function Ho(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Je;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const d=a.ec;if(d){for(let m=0;m<d.length;m++)if(d[m](e,l,c)===!1)return}a=a.parent}if(s){ho(),Ps(s,null,10,[e,l,c]),_o();return}}Hb(e,n,o,r,i)}function Hb(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const ln=[];let _r=-1;const _s=[];let Qr=null,ts=0;const b_=Promise.resolve();let Qa=null;function Uo(e){const t=Qa||b_;return e?t.then(this?e.bind(this):e):t}function Ub(e){let t=_r+1,n=ln.length;for(;t<n;){const r=t+n>>>1,o=ln[r],s=$i(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Pd(e){if(!(e.flags&1)){const t=$i(e),n=ln[ln.length-1];!n||!(e.flags&2)&&t>=$i(n)?ln.push(e):ln.splice(Ub(t),0,e),e.flags|=1,v_()}}function v_(){Qa||(Qa=b_.then(C_))}function Ti(e){be(e)?_s.push(...e):Qr&&e.id===-1?Qr.splice(ts+1,0,e):e.flags&1||(_s.push(e),e.flags|=1),v_()}function Im(e,t,n=_r+1){for(;n<ln.length;n++){const r=ln[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;ln.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function el(e){if(_s.length){const t=[...new Set(_s)].sort((n,r)=>$i(n)-$i(r));if(_s.length=0,Qr){Qr.push(...t);return}for(Qr=t,ts=0;ts<Qr.length;ts++){const n=Qr[ts];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Qr=null,ts=0}}const $i=e=>e.id==null?e.flags&2?-1:1/0:e.id;function C_(e){try{for(_r=0;_r<ln.length;_r++){const t=ln[_r];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ps(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;_r<ln.length;_r++){const t=ln[_r];t&&(t.flags&=-2)}_r=-1,ln.length=0,el(),Qa=null,(ln.length||_s.length)&&C_()}}let ns,aa=[];function w_(e,t){var n,r;ns=e,ns?(ns.enabled=!0,aa.forEach(({event:o,args:s})=>ns.emit(o,...s)),aa=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{w_(s,t)}),setTimeout(()=>{ns||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,aa=[])},3e3)):aa=[]}let Ht=null,jl=null;function Ai(e){const t=Ht;return Ht=e,jl=e&&e.type.__scopeId||null,t}function jb(e){jl=e}function Bb(){jl=null}const Wb=e=>N;function N(e,t=Ht,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Oc(-1);const s=Ai(t);let i;try{i=e(...o)}finally{Ai(s),r._d&&Oc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function gt(e,t){if(Ht===null)return e;const n=Ki(Ht),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Je]=t[o];s&&(Oe(s)&&(s={mounted:s,updated:s}),s.deep&&Pr(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function gr(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(ho(),Un(l,n,8,[e.el,a,e,t]),_o())}}const S_=Symbol("_vte"),k_=e=>e.__isTeleport,ci=e=>e&&(e.disabled||e.disabled===""),Lm=e=>e&&(e.defer||e.defer===""),Nm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Dm=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Sc=(e,t)=>{const n=e&&e.to;return yt(n)?t?t(n):null:n},x_={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,c){const{mc:d,pc:m,pbc:f,o:{insert:p,querySelector:h,createText:_,createComment:b}}=c,C=ci(t.props);let{shapeFlag:w,children:g,dynamicChildren:z}=t;if(e==null){const S=t.el=_(""),k=t.anchor=_("");p(S,n,r),p(k,n,r);const L=(T,F)=>{w&16&&(o&&o.isCE&&(o.ce._teleportTarget=T),d(g,T,F,o,s,i,a,l))},D=()=>{const T=t.target=Sc(t.props,h),F=E_(T,t,_,p);T&&(i!=="svg"&&Nm(T)?i="svg":i!=="mathml"&&Dm(T)&&(i="mathml"),C||(L(T,F),Pa(t,!1)))};C&&(L(n,k),Pa(t,!0)),Lm(t.props)?Ft(()=>{D(),t.el.__isMounted=!0},s):D()}else{if(Lm(t.props)&&!e.el.__isMounted){Ft(()=>{x_.process(e,t,n,r,o,s,i,a,l,c),delete e.el.__isMounted},s);return}t.el=e.el,t.targetStart=e.targetStart;const S=t.anchor=e.anchor,k=t.target=e.target,L=t.targetAnchor=e.targetAnchor,D=ci(e.props),T=D?n:k,F=D?S:L;if(i==="svg"||Nm(k)?i="svg":(i==="mathml"||Dm(k))&&(i="mathml"),z?(f(e.dynamicChildren,z,T,o,s,i,a),Bd(e,t,!0)):l||m(e,t,T,F,o,s,i,a,!1),C)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):la(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const G=t.target=Sc(t.props,h);G&&la(t,G,null,c,0)}else D&&la(t,k,L,c,1);Pa(t,C)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:c,targetAnchor:d,target:m,props:f}=e;if(m&&(o(c),o(d)),s&&o(l),i&16){const p=s||!ci(f);for(let h=0;h<a.length;h++){const _=a[h];r(_,t,n,p,!!_.dynamicChildren)}}},move:la,hydrate:qb};function la(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:d}=e,m=s===2;if(m&&r(i,t,n),(!m||ci(d))&&l&16)for(let f=0;f<c.length;f++)o(c[f],t,n,2);m&&r(a,t,n)}function qb(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:c,createText:d}},m){const f=t.target=Sc(t.props,l);if(f){const p=ci(t.props),h=f._lpa||f.firstChild;if(t.shapeFlag&16)if(p)t.anchor=m(i(e),t,a(e),n,r,o,s),t.targetStart=h,t.targetAnchor=h&&i(h);else{t.anchor=i(e);let _=h;for(;_;){if(_&&_.nodeType===8){if(_.data==="teleport start anchor")t.targetStart=_;else if(_.data==="teleport anchor"){t.targetAnchor=_,f._lpa=t.targetAnchor&&i(t.targetAnchor);break}}_=i(_)}t.targetAnchor||E_(f,t,d,c),m(h&&i(h),t,f,n,r,o,s)}Pa(t,p)}return t.anchor&&i(t.anchor)}const qn=x_;function Pa(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function E_(e,t,n,r){const o=t.targetStart=n(""),s=t.targetAnchor=n("");return o[S_]=s,e&&(r(o,e),r(s,e)),s}const eo=Symbol("_leaveCb"),ua=Symbol("_enterCb");function Id(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Is(()=>{e.isMounted=!0}),Gl(()=>{e.isUnmounting=!0}),e}const Pn=[Function,Array],Ld={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pn,onEnter:Pn,onAfterEnter:Pn,onEnterCancelled:Pn,onBeforeLeave:Pn,onLeave:Pn,onAfterLeave:Pn,onLeaveCancelled:Pn,onBeforeAppear:Pn,onAppear:Pn,onAfterAppear:Pn,onAppearCancelled:Pn},T_=e=>{const t=e.subTree;return t.component?T_(t.component):t},Gb={name:"BaseTransition",props:Ld,setup(e,{slots:t}){const n=cn(),r=Id();return()=>{const o=t.default&&Bl(t.default(),!0);if(!o||!o.length)return;const s=$_(o),i=Xe(e),{mode:a}=i;if(r.isLeaving)return $u(s);const l=Rm(s);if(!l)return $u(s);let c=bs(l,i,r,n,m=>c=m);l.type!==Dt&&Rr(l,c);let d=n.subTree&&Rm(n.subTree);if(d&&d.type!==Dt&&!er(l,d)&&T_(n).type!==Dt){let m=bs(d,i,r,n);if(Rr(d,m),a==="out-in"&&l.type!==Dt)return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete m.afterLeave,d=void 0},$u(s);a==="in-out"&&l.type!==Dt?m.delayLeave=(f,p,h)=>{const _=O_(r,d);_[String(d.key)]=d,f[eo]=()=>{p(),f[eo]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{h(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return s}}};function $_(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Dt){t=n;break}}return t}const A_=Gb;function O_(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function bs(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:d,onEnterCancelled:m,onBeforeLeave:f,onLeave:p,onAfterLeave:h,onLeaveCancelled:_,onBeforeAppear:b,onAppear:C,onAfterAppear:w,onAppearCancelled:g}=t,z=String(e.key),S=O_(n,e),k=(T,F)=>{T&&Un(T,r,9,F)},L=(T,F)=>{const G=F[1];k(T,F),be(T)?T.every(U=>U.length<=1)&&G():T.length<=1&&G()},D={mode:i,persisted:a,beforeEnter(T){let F=l;if(!n.isMounted)if(s)F=b||l;else return;T[eo]&&T[eo](!0);const G=S[z];G&&er(e,G)&&G.el[eo]&&G.el[eo](),k(F,[T])},enter(T){let F=c,G=d,U=m;if(!n.isMounted)if(s)F=C||c,G=w||d,U=g||m;else return;let W=!1;const ee=T[ua]=fe=>{W||(W=!0,fe?k(U,[T]):k(G,[T]),D.delayedLeave&&D.delayedLeave(),T[ua]=void 0)};F?L(F,[T,ee]):ee()},leave(T,F){const G=String(e.key);if(T[ua]&&T[ua](!0),n.isUnmounting)return F();k(f,[T]);let U=!1;const W=T[eo]=ee=>{U||(U=!0,F(),ee?k(_,[T]):k(h,[T]),T[eo]=void 0,S[G]===e&&delete S[G])};S[G]=e,p?L(p,[T,W]):W()},clone(T){const F=bs(T,t,n,r,o);return o&&o(F),F}};return D}function $u(e){if(Wi(e))return e=wr(e),e.children=null,e}function Rm(e){if(!Wi(e))return k_(e.type)&&e.children?$_(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Oe(n.default))return n.default()}}function Rr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Rr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bl(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===ze?(i.patchFlag&128&&o++,r=r.concat(Bl(i.children,t,a))):(t||i.type!==Dt)&&r.push(a!=null?wr(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Vr(e,t){return Oe(e)?pt({name:e.name},t,{setup:e}):e}function Kb(){const e=cn();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Nd(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Zb(e){const t=cn(),n=Ul(null);if(t){const o=t.refs===Je?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function Oi(e,t,n,r,o=!1){if(be(e)){e.forEach((h,_)=>Oi(h,t&&(be(t)?t[_]:t),n,r,o));return}if(lo(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Oi(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Ki(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,d=a.refs===Je?a.refs={}:a.refs,m=a.setupState,f=Xe(m),p=m===Je?()=>!1:h=>st(f,h);if(c!=null&&c!==l&&(yt(c)?(d[c]=null,p(c)&&(m[c]=null)):St(c)&&(c.value=null)),Oe(l))Ps(l,a,12,[i,d]);else{const h=yt(l),_=St(l);if(h||_){const b=()=>{if(e.f){const C=h?p(l)?m[l]:d[l]:l.value;o?be(C)&&vd(C,s):be(C)?C.includes(s)||C.push(s):h?(d[l]=[s],p(l)&&(m[l]=d[l])):(l.value=[s],e.k&&(d[e.k]=l.value))}else h?(d[l]=i,p(l)&&(m[l]=i)):_&&(l.value=i,e.k&&(d[e.k]=i))};i?(b.id=-1,Ft(b,n)):b()}}}let Mm=!1;const qo=()=>{Mm||(console.error("Hydration completed but contains mismatches."),Mm=!0)},Yb=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Xb=e=>e.namespaceURI.includes("MathML"),ca=e=>{if(e.nodeType===1){if(Yb(e))return"svg";if(Xb(e))return"mathml"}},ls=e=>e.nodeType===8;function Jb(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:c}}=e,d=(g,z)=>{if(!z.hasChildNodes()){n(null,g,z),el(),z._vnode=g;return}m(z.firstChild,g,null,null,null),el(),z._vnode=g},m=(g,z,S,k,L,D=!1)=>{D=D||!!z.dynamicChildren;const T=ls(g)&&g.data==="[",F=()=>_(g,z,S,k,L,T),{type:G,ref:U,shapeFlag:W,patchFlag:ee}=z;let fe=g.nodeType;z.el=g,ee===-2&&(D=!1,z.dynamicChildren=null);let K=null;switch(G){case Nr:fe!==3?z.children===""?(l(z.el=o(""),i(g),g),K=g):K=F():(g.data!==z.children&&(qo(),g.data=z.children),K=s(g));break;case Dt:w(g)?(K=s(g),C(z.el=g.content.firstChild,g,S)):fe!==8||T?K=F():K=s(g);break;case Io:if(T&&(g=s(g),fe=g.nodeType),fe===1||fe===3){K=g;const ne=!z.children.length;for(let ue=0;ue<z.staticCount;ue++)ne&&(z.children+=K.nodeType===1?K.outerHTML:K.data),ue===z.staticCount-1&&(z.anchor=K),K=s(K);return T?s(K):K}else F();break;case ze:T?K=h(g,z,S,k,L,D):K=F();break;default:if(W&1)(fe!==1||z.type.toLowerCase()!==g.tagName.toLowerCase())&&!w(g)?K=F():K=f(g,z,S,k,L,D);else if(W&6){z.slotScopeIds=L;const ne=i(g);if(T?K=b(g):ls(g)&&g.data==="teleport start"?K=b(g,g.data,"teleport end"):K=s(g),t(z,ne,null,S,k,ca(ne),D),lo(z)&&!z.type.__asyncResolved){let ue;T?(ue=v(ze),ue.anchor=K?K.previousSibling:ne.lastChild):ue=g.nodeType===3?Mt(""):v("div"),ue.el=g,z.component.subTree=ue}}else W&64?fe!==8?K=F():K=z.type.hydrate(g,z,S,k,L,D,e,p):W&128&&(K=z.type.hydrate(g,z,S,k,ca(i(g)),L,D,e,m))}return U!=null&&Oi(U,null,k,z),K},f=(g,z,S,k,L,D)=>{D=D||!!z.dynamicChildren;const{type:T,props:F,patchFlag:G,shapeFlag:U,dirs:W,transition:ee}=z,fe=T==="input"||T==="option";if(fe||G!==-1){W&&gr(z,null,S,"created");let K=!1;if(w(g)){K=rg(null,ee)&&S&&S.vnode.props&&S.vnode.props.appear;const ue=g.content.firstChild;K&&ee.beforeEnter(ue),C(ue,g,S),z.el=g=ue}if(U&16&&!(F&&(F.innerHTML||F.textContent))){let ue=p(g.firstChild,z,g,S,k,L,D);for(;ue;){da(g,1)||qo();const Ne=ue;ue=ue.nextSibling,a(Ne)}}else if(U&8){let ue=z.children;ue[0]===`
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(ue=ue.slice(1)),g.textContent!==ue&&(da(g,0)||qo(),g.textContent=z.children)}if(F){if(fe||!D||G&48){const ue=g.tagName.includes("-");for(const Ne in F)(fe&&(Ne.endsWith("value")||Ne==="indeterminate")||ji(Ne)&&!ps(Ne)||Ne[0]==="."||ue)&&r(g,Ne,null,F[Ne],void 0,S)}else if(F.onClick)r(g,"onClick",null,F.onClick,void 0,S);else if(G&4&&vr(F.style))for(const ue in F.style)F.style[ue]}let ne;(ne=F&&F.onVnodeBeforeMount)&&hn(ne,S,z),W&&gr(z,null,S,"beforeMount"),((ne=F&&F.onVnodeMounted)||W||K)&&fg(()=>{ne&&hn(ne,S,z),K&&ee.enter(g),W&&gr(z,null,S,"mounted")},k)}return g.nextSibling},p=(g,z,S,k,L,D,T)=>{T=T||!!z.dynamicChildren;const F=z.children,G=F.length;for(let U=0;U<G;U++){const W=T?F[U]:F[U]=_n(F[U]),ee=W.type===Nr;g?(ee&&!T&&U+1<G&&_n(F[U+1]).type===Nr&&(l(o(g.data.slice(W.children.length)),S,s(g)),g.data=W.children),g=m(g,W,k,L,D,T)):ee&&!W.children?l(W.el=o(""),S):(da(S,1)||qo(),n(null,W,S,null,k,L,ca(S),D))}return g},h=(g,z,S,k,L,D)=>{const{slotScopeIds:T}=z;T&&(L=L?L.concat(T):T);const F=i(g),G=p(s(g),z,F,S,k,L,D);return G&&ls(G)&&G.data==="]"?s(z.anchor=G):(qo(),l(z.anchor=c("]"),F,G),G)},_=(g,z,S,k,L,D)=>{if(da(g.parentElement,1)||qo(),z.el=null,D){const G=b(g);for(;;){const U=s(g);if(U&&U!==G)a(U);else break}}const T=s(g),F=i(g);return a(g),n(null,z,F,T,S,k,ca(F),L),S&&(S.vnode.el=z.el,Yl(S,z.el)),T},b=(g,z="[",S="]")=>{let k=0;for(;g;)if(g=s(g),g&&ls(g)&&(g.data===z&&k++,g.data===S)){if(k===0)return s(g);k--}return g},C=(g,z,S)=>{const k=z.parentNode;k&&k.replaceChild(g,z);let L=S;for(;L;)L.vnode.el===z&&(L.vnode.el=L.subTree.el=g),L=L.parent},w=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[d,m]}const Fm="data-allow-mismatch",Qb={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function da(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Fm);)e=e.parentElement;const n=e&&e.getAttribute(Fm);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(Qb[t])}}const ev=Il().requestIdleCallback||(e=>setTimeout(e,1)),tv=Il().cancelIdleCallback||(e=>clearTimeout(e)),nv=(e=1e4)=>t=>{const n=ev(t,{timeout:e});return()=>tv(n)};function rv(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:s,innerWidth:i}=window;return(t>0&&t<s||r>0&&r<s)&&(n>0&&n<i||o>0&&o<i)}const ov=e=>(t,n)=>{const r=new IntersectionObserver(o=>{for(const s of o)if(s.isIntersecting){r.disconnect(),t();break}},e);return n(o=>{if(o instanceof Element){if(rv(o))return t(),r.disconnect(),!1;r.observe(o)}}),()=>r.disconnect()},sv=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},iv=(e=[])=>(t,n)=>{yt(e)&&(e=[e]);let r=!1;const o=i=>{r||(r=!0,s(),t(),i.target.dispatchEvent(new i.constructor(i.type,i)))},s=()=>{n(i=>{for(const a of e)i.removeEventListener(a,o)})};return n(i=>{for(const a of e)i.addEventListener(a,o,{once:!0})}),s};function av(e,t){if(ls(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(ls(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const lo=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function lv(e){Oe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:i,suspensible:a=!0,onError:l}=e;let c=null,d,m=0;const f=()=>(m++,c=null,p()),p=()=>{let h;return c||(h=c=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((b,C)=>{l(_,()=>b(f()),()=>C(_),m+1)});throw _}).then(_=>h!==c&&c?c:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),d=_,_)))};return Vr({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(h,_,b){const C=s?()=>{const w=s(b,g=>av(h,g));w&&(_.bum||(_.bum=[])).push(w)}:b;d?C():p().then(()=>!_.isUnmounted&&C())},get __asyncResolved(){return d},setup(){const h=Vt;if(Nd(h),d)return()=>Au(d,h);const _=g=>{c=null,Ho(g,h,13,!r)};if(a&&h.suspense||vs)return p().then(g=>()=>Au(g,h)).catch(g=>(_(g),()=>r?v(r,{error:g}):null));const b=Fn(!1),C=Fn(),w=Fn(!!o);return o&&setTimeout(()=>{w.value=!1},o),i!=null&&setTimeout(()=>{if(!b.value&&!C.value){const g=new Error(`Async component timed out after ${i}ms.`);_(g),C.value=g}},i),p().then(()=>{b.value=!0,h.parent&&Wi(h.parent.vnode)&&h.parent.update()}).catch(g=>{_(g),C.value=g}),()=>{if(b.value&&d)return Au(d,h);if(C.value&&r)return v(r,{error:C.value});if(n&&!w.value)return v(n)}}})}function Au(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=v(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const Wi=e=>e.type.__isKeepAlive,uv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=cn(),r=n.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:m}}}=r,f=m("div");r.activate=(w,g,z,S,k)=>{const L=w.component;c(w,g,z,0,a),l(L.vnode,w,g,z,L,a,S,w.slotScopeIds,k),Ft(()=>{L.isDeactivated=!1,L.a&&hs(L.a);const D=w.props&&w.props.onVnodeMounted;D&&hn(D,L.parent,w)},a)},r.deactivate=w=>{const g=w.component;nl(g.m),nl(g.a),c(w,f,null,1,a),Ft(()=>{g.da&&hs(g.da);const z=w.props&&w.props.onVnodeUnmounted;z&&hn(z,g.parent,w),g.isDeactivated=!0},a)};function p(w){Ou(w),d(w,n,a,!0)}function h(w){o.forEach((g,z)=>{const S=Dc(g.type);S&&!w(S)&&_(z)})}function _(w){const g=o.get(w);g&&(!i||!er(g,i))?p(g):i&&Ou(i),o.delete(w),s.delete(w)}Tn(()=>[e.include,e.exclude],([w,g])=>{w&&h(z=>Qs(w,z)),g&&h(z=>!Qs(g,z))},{flush:"post",deep:!0});let b=null;const C=()=>{b!=null&&(rl(n.subTree.type)?Ft(()=>{o.set(b,ma(n.subTree))},n.subTree.suspense):o.set(b,ma(n.subTree)))};return Is(C),ql(C),Gl(()=>{o.forEach(w=>{const{subTree:g,suspense:z}=n,S=ma(g);if(w.type===S.type&&w.key===S.key){Ou(S);const k=S.component.da;k&&Ft(k,z);return}p(w)})}),()=>{if(b=null,!t.default)return i=null;const w=t.default(),g=w[0];if(w.length>1)return i=null,w;if(!Mr(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return i=null,g;let z=ma(g);if(z.type===Dt)return i=null,z;const S=z.type,k=Dc(lo(z)?z.type.__asyncResolved||{}:S),{include:L,exclude:D,max:T}=e;if(L&&(!k||!Qs(L,k))||D&&k&&Qs(D,k))return z.shapeFlag&=-257,i=z,g;const F=z.key==null?S:z.key,G=o.get(F);return z.el&&(z=wr(z),g.shapeFlag&128&&(g.ssContent=z)),b=F,G?(z.el=G.el,z.component=G.component,z.transition&&Rr(z,z.transition),z.shapeFlag|=512,s.delete(F),s.add(F)):(s.add(F),T&&s.size>parseInt(T,10)&&_(s.values().next().value)),z.shapeFlag|=256,i=z,rl(g.type)?g:z}}},cv=uv;function Qs(e,t){return be(e)?e.some(n=>Qs(n,t)):yt(e)?e.split(",").includes(t):Hz(e)?(e.lastIndex=0,e.test(t)):!1}function P_(e,t){L_(e,"a",t)}function I_(e,t){L_(e,"da",t)}function L_(e,t,n=Vt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Wl(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Wi(o.parent.vnode)&&dv(r,t,n,o),o=o.parent}}function dv(e,t,n,r){const o=Wl(t,e,r,!0);qi(()=>{vd(r[t],o)},n)}function Ou(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ma(e){return e.shapeFlag&128?e.ssContent:e}function Wl(e,t,n=Vt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{ho();const a=Ro(n),l=Un(t,n,e,i);return a(),_o(),l});return r?o.unshift(s):o.push(s),s}}const Hr=e=>(t,n=Vt)=>{(!vs||e==="sp")&&Wl(e,(...r)=>t(...r),n)},N_=Hr("bm"),Is=Hr("m"),Dd=Hr("bu"),ql=Hr("u"),Gl=Hr("bum"),qi=Hr("um"),D_=Hr("sp"),R_=Hr("rtg"),M_=Hr("rtc");function F_(e,t=Vt){Wl("ec",e,t)}const Rd="components",mv="directives";function O(e,t){return Fd(Rd,e,!0,t)||e}const V_=Symbol.for("v-ndc");function Kl(e){return yt(e)?Fd(Rd,e,!1)||e:e||V_}function Md(e){return Fd(mv,e)}function Fd(e,t,n=!0,r=!1){const o=Ht||Vt;if(o){const s=o.type;if(e===Rd){const a=Dc(s,!1);if(a&&(a===t||a===qt(t)||a===Bi(qt(t))))return s}const i=Vm(o[e]||s[e],t)||Vm(o.appContext[e],t);return!i&&r?s:i}}function Vm(e,t){return e&&(e[t]||e[qt(t)]||e[Bi(qt(t))])}function zt(e,t,n,r){let o;const s=n&&n[r],i=be(e);if(i||yt(e)){const a=i&&vr(e);let l=!1;a&&(l=!En(e),e=Rl(e)),o=new Array(e.length);for(let c=0,d=e.length;c<d;c++)o[c]=t(l?Yt(e[c]):e[c],c,void 0,s&&s[c])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s&&s[a])}else if(ft(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s&&s[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const d=a[l];o[l]=t(e[d],d,l,s&&s[l])}}else o=[];return n&&(n[r]=o),o}function Vd(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(be(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function wt(e,t,n={},r,o){if(Ht.ce||Ht.parent&&lo(Ht.parent)&&Ht.parent.ce)return t!=="default"&&(n.name=t),x(),ve(ze,null,[v("slot",n,r&&r())],64);let s=e[t];s&&s._c&&(s._d=!1),x();const i=s&&Hd(s(n)),a=n.key||i&&i.key,l=ve(ze,{key:(a&&!or(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function Hd(e){return e.some(t=>Mr(t)?!(t.type===Dt||t.type===ze&&!Hd(t.children)):!0)?e:null}function fv(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ai(r)]=e[r];return n}const kc=e=>e?zg(e)?Ki(e):kc(e.parent):null,di=pt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>kc(e.parent),$root:e=>kc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ud(e),$forceUpdate:e=>e.f||(e.f=()=>{Pd(e.update)}),$nextTick:e=>e.n||(e.n=Uo.bind(e.proxy)),$watch:e=>jv.bind(e)}),Pu=(e,t)=>e!==Je&&!e.__isScriptSetup&&st(e,t),xc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Pu(r,t))return i[t]=1,r[t];if(o!==Je&&st(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&st(c,t))return i[t]=3,s[t];if(n!==Je&&st(n,t))return i[t]=4,n[t];Ec&&(i[t]=0)}}const d=di[t];let m,f;if(d)return t==="$attrs"&&Zt(e.attrs,"get",""),d(e);if((m=a.__cssModules)&&(m=m[t]))return m;if(n!==Je&&st(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,st(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Pu(o,t)?(o[t]=n,!0):r!==Je&&st(r,t)?(r[t]=n,!0):st(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==Je&&st(e,i)||Pu(t,i)||(a=s[0])&&st(a,i)||st(r,i)||st(di,i)||st(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:st(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},pv=pt({},xc,{get(e,t){if(t!==Symbol.unscopables)return xc.get(e,t,e)},has(e,t){return t[0]!=="_"&&!qz(t)}});function hv(){return null}function _v(){return null}function gv(e){}function yv(e){}function zv(){return null}function bv(){}function vv(e,t){return null}function Cv(){return H_().slots}function wv(){return H_().attrs}function H_(){const e=cn();return e.setupContext||(e.setupContext=Cg(e))}function Pi(e){return be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Sv(e,t){const n=Pi(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?be(o)||Oe(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function kv(e,t){return!e||!t?e||t:be(e)&&be(t)?e.concat(t):pt({},Pi(e),Pi(t))}function xv(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Ev(e){const t=cn();let n=e();return Ic(),Cd(n)&&(n=n.catch(r=>{throw Ro(t),r})),[n,()=>Ro(t)]}let Ec=!0;function Tv(e){const t=Ud(e),n=e.proxy,r=e.ctx;Ec=!1,t.beforeCreate&&Hm(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:d,beforeMount:m,mounted:f,beforeUpdate:p,updated:h,activated:_,deactivated:b,beforeDestroy:C,beforeUnmount:w,destroyed:g,unmounted:z,render:S,renderTracked:k,renderTriggered:L,errorCaptured:D,serverPrefetch:T,expose:F,inheritAttrs:G,components:U,directives:W,filters:ee}=t;if(c&&$v(c,r,null),i)for(const ne in i){const ue=i[ne];Oe(ue)&&(r[ne]=ue.bind(n))}if(o){const ne=o.call(n,n);ft(ne)&&(e.data=Os(ne))}if(Ec=!0,s)for(const ne in s){const ue=s[ne],Ne=Oe(ue)?ue.bind(n,n):Oe(ue.get)?ue.get.bind(n,n):Mn,it=!Oe(ue)&&Oe(ue.set)?ue.set.bind(n):Mn,Ve=jt({get:Ne,set:it});Object.defineProperty(r,ne,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:He=>Ve.value=He})}if(a)for(const ne in a)U_(a[ne],r,n,ne);if(l){const ne=Oe(l)?l.call(n):l;Reflect.ownKeys(ne).forEach(ue=>{mi(ue,ne[ue])})}d&&Hm(d,e,"c");function K(ne,ue){be(ue)?ue.forEach(Ne=>ne(Ne.bind(n))):ue&&ne(ue.bind(n))}if(K(N_,m),K(Is,f),K(Dd,p),K(ql,h),K(P_,_),K(I_,b),K(F_,D),K(M_,k),K(R_,L),K(Gl,w),K(qi,z),K(D_,T),be(F))if(F.length){const ne=e.exposed||(e.exposed={});F.forEach(ue=>{Object.defineProperty(ne,ue,{get:()=>n[ue],set:Ne=>n[ue]=Ne})})}else e.exposed||(e.exposed={});S&&e.render===Mn&&(e.render=S),G!=null&&(e.inheritAttrs=G),U&&(e.components=U),W&&(e.directives=W),T&&Nd(e)}function $v(e,t,n=Mn){be(e)&&(e=Tc(e));for(const r in e){const o=e[r];let s;ft(o)?"default"in o?s=Vn(o.from||r,o.default,!0):s=Vn(o.from||r):s=Vn(o),St(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Hm(e,t,n){Un(be(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function U_(e,t,n,r){let o=r.includes(".")?ug(n,r):()=>n[r];if(yt(e)){const s=t[e];Oe(s)&&Tn(o,s)}else if(Oe(e))Tn(o,e.bind(n));else if(ft(e))if(be(e))e.forEach(s=>U_(s,t,n,r));else{const s=Oe(e.handler)?e.handler.bind(n):t[e.handler];Oe(s)&&Tn(o,s,e)}}function Ud(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>tl(l,c,i,!0)),tl(l,t,i)),ft(t)&&s.set(t,l),l}function tl(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&tl(e,s,n,!0),o&&o.forEach(i=>tl(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Av[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Av={data:Um,props:jm,emits:jm,methods:ei,computed:ei,beforeCreate:nn,created:nn,beforeMount:nn,mounted:nn,beforeUpdate:nn,updated:nn,beforeDestroy:nn,beforeUnmount:nn,destroyed:nn,unmounted:nn,activated:nn,deactivated:nn,errorCaptured:nn,serverPrefetch:nn,components:ei,directives:ei,watch:Pv,provide:Um,inject:Ov};function Um(e,t){return t?e?function(){return pt(Oe(e)?e.call(this,this):e,Oe(t)?t.call(this,this):t)}:t:e}function Ov(e,t){return ei(Tc(e),Tc(t))}function Tc(e){if(be(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function nn(e,t){return e?[...new Set([].concat(e,t))]:t}function ei(e,t){return e?pt(Object.create(null),e,t):t}function jm(e,t){return e?be(e)&&be(t)?[...new Set([...e,...t])]:pt(Object.create(null),Pi(e),Pi(t??{})):t}function Pv(e,t){if(!e)return t;if(!t)return e;const n=pt(Object.create(null),e);for(const r in t)n[r]=nn(e[r],t[r]);return n}function j_(){return{app:null,config:{isNativeTag:Fz,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 Iv=0;function Lv(e,t){return function(r,o=null){Oe(r)||(r=pt({},r)),o!=null&&!ft(o)&&(o=null);const s=j_(),i=new WeakSet,a=[];let l=!1;const c=s.app={_uid:Iv++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Sg,get config(){return s.config},set config(d){},use(d,...m){return i.has(d)||(d&&Oe(d.install)?(i.add(d),d.install(c,...m)):Oe(d)&&(i.add(d),d(c,...m))),c},mixin(d){return s.mixins.includes(d)||s.mixins.push(d),c},component(d,m){return m?(s.components[d]=m,c):s.components[d]},directive(d,m){return m?(s.directives[d]=m,c):s.directives[d]},mount(d,m,f){if(!l){const p=c._ceVNode||v(r,o);return p.appContext=s,f===!0?f="svg":f===!1&&(f=void 0),m&&t?t(p,d):e(p,d,f),l=!0,c._container=d,d.__vue_app__=c,Ki(p.component)}},onUnmount(d){a.push(d)},unmount(){l&&(Un(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(d,m){return s.provides[d]=m,c},runWithContext(d){const m=Po;Po=c;try{return d()}finally{Po=m}}};return c}}let Po=null;function mi(e,t){if(Vt){let n=Vt.provides;const r=Vt.parent&&Vt.parent.provides;r===n&&(n=Vt.provides=Object.create(r)),n[e]=t}}function Vn(e,t,n=!1){const r=Vt||Ht;if(r||Po){const o=Po?Po._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Oe(t)?t.call(r&&r.proxy):t}}function B_(){return!!(Vt||Ht||Po)}const W_={},q_=()=>Object.create(W_),G_=e=>Object.getPrototypeOf(e)===W_;function Nv(e,t,n,r=!1){const o={},s=q_();e.propsDefaults=Object.create(null),K_(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:$d(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function Dv(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Xe(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let m=0;m<d.length;m++){let f=d[m];if(Zl(e.emitsOptions,f))continue;const p=t[f];if(l)if(st(s,f))p!==s[f]&&(s[f]=p,c=!0);else{const h=qt(f);o[h]=$c(l,a,h,p,e,!1)}else p!==s[f]&&(s[f]=p,c=!0)}}}else{K_(e,t,o,s)&&(c=!0);let d;for(const m in a)(!t||!st(t,m)&&((d=yn(m))===m||!st(t,d)))&&(l?n&&(n[m]!==void 0||n[d]!==void 0)&&(o[m]=$c(l,a,m,void 0,e,!0)):delete o[m]);if(s!==a)for(const m in s)(!t||!st(t,m))&&(delete s[m],c=!0)}c&&Or(e.attrs,"set","")}function K_(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(ps(l))continue;const c=t[l];let d;o&&st(o,d=qt(l))?!s||!s.includes(d)?n[d]=c:(a||(a={}))[d]=c:Zl(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=Xe(n),c=a||Je;for(let d=0;d<s.length;d++){const m=s[d];n[m]=$c(o,l,m,c[m],e,!st(c,m))}}return i}function $c(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=st(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Oe(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const d=Ro(o);r=c[n]=l.call(null,t),d()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===yn(n))&&(r=!0))}return r}const Rv=new WeakMap;function Z_(e,t,n=!1){const r=n?Rv:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!Oe(e)){const d=m=>{l=!0;const[f,p]=Z_(m,t,!0);pt(i,f),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!s&&!l)return ft(e)&&r.set(e,ms),ms;if(be(s))for(let d=0;d<s.length;d++){const m=qt(s[d]);Bm(m)&&(i[m]=Je)}else if(s)for(const d in s){const m=qt(d);if(Bm(m)){const f=s[d],p=i[m]=be(f)||Oe(f)?{type:f}:pt({},f),h=p.type;let _=!1,b=!0;if(be(h))for(let C=0;C<h.length;++C){const w=h[C],g=Oe(w)&&w.name;if(g==="Boolean"){_=!0;break}else g==="String"&&(b=!1)}else _=Oe(h)&&h.name==="Boolean";p[0]=_,p[1]=b,(_||st(p,"default"))&&a.push(m)}}const c=[i,a];return ft(e)&&r.set(e,c),c}function Bm(e){return e[0]!=="$"&&!ps(e)}const Y_=e=>e[0]==="_"||e==="$stable",jd=e=>be(e)?e.map(_n):[_n(e)],Mv=(e,t,n)=>{if(t._n)return t;const r=N((...o)=>jd(t(...o)),n);return r._c=!1,r},X_=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Y_(o))continue;const s=e[o];if(Oe(s))t[o]=Mv(o,s,r);else if(s!=null){const i=jd(s);t[o]=()=>i}}},J_=(e,t)=>{const n=jd(t);e.slots.default=()=>n},Q_=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Fv=(e,t,n)=>{const r=e.slots=q_();if(e.vnode.shapeFlag&32){const o=t._;o?(Q_(r,t,n),n&&Kh(r,"_",o,!0)):X_(t,r)}else t&&J_(e,t)},Vv=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Je;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:Q_(o,t,n):(s=!t.$stable,X_(t,o)),i=t}else t&&(J_(e,t),i={default:1});if(s)for(const a in o)!Y_(a)&&i[a]==null&&delete o[a]},Ft=fg;function eg(e){return ng(e)}function tg(e){return ng(e,Jb)}function ng(e,t){const n=Il();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:d,parentNode:m,nextSibling:f,setScopeId:p=Mn,insertStaticContent:h}=e,_=(A,P,j,te=null,X=null,ie=null,pe=void 0,E=null,$=!!P.dynamicChildren)=>{if(A===P)return;A&&!er(A,P)&&(te=Z(A),He(A,X,ie,!0),A=null),P.patchFlag===-2&&($=!1,P.dynamicChildren=null);const{type:R,ref:oe,shapeFlag:ae}=P;switch(R){case Nr:b(A,P,j,te);break;case Dt:C(A,P,j,te);break;case Io:A==null&&w(P,j,te,pe);break;case ze:U(A,P,j,te,X,ie,pe,E,$);break;default:ae&1?S(A,P,j,te,X,ie,pe,E,$):ae&6?W(A,P,j,te,X,ie,pe,E,$):(ae&64||ae&128)&&R.process(A,P,j,te,X,ie,pe,E,$,ye)}oe!=null&&X&&Oi(oe,A&&A.ref,ie,P||A,!P)},b=(A,P,j,te)=>{if(A==null)r(P.el=a(P.children),j,te);else{const X=P.el=A.el;P.children!==A.children&&c(X,P.children)}},C=(A,P,j,te)=>{A==null?r(P.el=l(P.children||""),j,te):P.el=A.el},w=(A,P,j,te)=>{[A.el,A.anchor]=h(A.children,P,j,te,A.el,A.anchor)},g=({el:A,anchor:P},j,te)=>{let X;for(;A&&A!==P;)X=f(A),r(A,j,te),A=X;r(P,j,te)},z=({el:A,anchor:P})=>{let j;for(;A&&A!==P;)j=f(A),o(A),A=j;o(P)},S=(A,P,j,te,X,ie,pe,E,$)=>{P.type==="svg"?pe="svg":P.type==="math"&&(pe="mathml"),A==null?k(P,j,te,X,ie,pe,E,$):T(A,P,X,ie,pe,E,$)},k=(A,P,j,te,X,ie,pe,E)=>{let $,R;const{props:oe,shapeFlag:ae,transition:se,dirs:V}=A;if($=A.el=i(A.type,ie,oe&&oe.is,oe),ae&8?d($,A.children):ae&16&&D(A.children,$,null,te,X,Iu(A,ie),pe,E),V&&gr(A,null,te,"created"),L($,A,A.scopeId,pe,te),oe){for(const ke in oe)ke!=="value"&&!ps(ke)&&s($,ke,null,oe[ke],ie,te);"value"in oe&&s($,"value",null,oe.value,ie),(R=oe.onVnodeBeforeMount)&&hn(R,te,A)}V&&gr(A,null,te,"beforeMount");const Y=rg(X,se);Y&&se.beforeEnter($),r($,P,j),((R=oe&&oe.onVnodeMounted)||Y||V)&&Ft(()=>{R&&hn(R,te,A),Y&&se.enter($),V&&gr(A,null,te,"mounted")},X)},L=(A,P,j,te,X)=>{if(j&&p(A,j),te)for(let ie=0;ie<te.length;ie++)p(A,te[ie]);if(X){let ie=X.subTree;if(P===ie||rl(ie.type)&&(ie.ssContent===P||ie.ssFallback===P)){const pe=X.vnode;L(A,pe,pe.scopeId,pe.slotScopeIds,X.parent)}}},D=(A,P,j,te,X,ie,pe,E,$=0)=>{for(let R=$;R<A.length;R++){const oe=A[R]=E?to(A[R]):_n(A[R]);_(null,oe,P,j,te,X,ie,pe,E)}},T=(A,P,j,te,X,ie,pe)=>{const E=P.el=A.el;let{patchFlag:$,dynamicChildren:R,dirs:oe}=P;$|=A.patchFlag&16;const ae=A.props||Je,se=P.props||Je;let V;if(j&&bo(j,!1),(V=se.onVnodeBeforeUpdate)&&hn(V,j,P,A),oe&&gr(P,A,j,"beforeUpdate"),j&&bo(j,!0),(ae.innerHTML&&se.innerHTML==null||ae.textContent&&se.textContent==null)&&d(E,""),R?F(A.dynamicChildren,R,E,j,te,Iu(P,X),ie):pe||ue(A,P,E,null,j,te,Iu(P,X),ie,!1),$>0){if($&16)G(E,ae,se,j,X);else if($&2&&ae.class!==se.class&&s(E,"class",null,se.class,X),$&4&&s(E,"style",ae.style,se.style,X),$&8){const Y=P.dynamicProps;for(let ke=0;ke<Y.length;ke++){const M=Y[ke],H=ae[M],q=se[M];(q!==H||M==="value")&&s(E,M,H,q,X,j)}}$&1&&A.children!==P.children&&d(E,P.children)}else!pe&&R==null&&G(E,ae,se,j,X);((V=se.onVnodeUpdated)||oe)&&Ft(()=>{V&&hn(V,j,P,A),oe&&gr(P,A,j,"updated")},te)},F=(A,P,j,te,X,ie,pe)=>{for(let E=0;E<P.length;E++){const $=A[E],R=P[E],oe=$.el&&($.type===ze||!er($,R)||$.shapeFlag&70)?m($.el):j;_($,R,oe,null,te,X,ie,pe,!0)}},G=(A,P,j,te,X)=>{if(P!==j){if(P!==Je)for(const ie in P)!ps(ie)&&!(ie in j)&&s(A,ie,P[ie],null,X,te);for(const ie in j){if(ps(ie))continue;const pe=j[ie],E=P[ie];pe!==E&&ie!=="value"&&s(A,ie,E,pe,X,te)}"value"in j&&s(A,"value",P.value,j.value,X)}},U=(A,P,j,te,X,ie,pe,E,$)=>{const R=P.el=A?A.el:a(""),oe=P.anchor=A?A.anchor:a("");let{patchFlag:ae,dynamicChildren:se,slotScopeIds:V}=P;V&&(E=E?E.concat(V):V),A==null?(r(R,j,te),r(oe,j,te),D(P.children||[],j,oe,X,ie,pe,E,$)):ae>0&&ae&64&&se&&A.dynamicChildren?(F(A.dynamicChildren,se,j,X,ie,pe,E),(P.key!=null||X&&P===X.subTree)&&Bd(A,P,!0)):ue(A,P,j,oe,X,ie,pe,E,$)},W=(A,P,j,te,X,ie,pe,E,$)=>{P.slotScopeIds=E,A==null?P.shapeFlag&512?X.ctx.activate(P,j,te,pe,$):ee(P,j,te,X,ie,pe,$):fe(A,P,$)},ee=(A,P,j,te,X,ie,pe)=>{const E=A.component=yg(A,te,X);if(Wi(A)&&(E.ctx.renderer=ye),bg(E,!1,pe),E.asyncDep){if(X&&X.registerDep(E,K,pe),!A.el){const $=E.subTree=v(Dt);C(null,$,P,j)}}else K(E,A,P,j,X,ie,pe)},fe=(A,P,j)=>{const te=P.component=A.component;if(Zv(A,P,j))if(te.asyncDep&&!te.asyncResolved){ne(te,P,j);return}else te.next=P,te.update();else P.el=A.el,te.vnode=P},K=(A,P,j,te,X,ie,pe)=>{const E=()=>{if(A.isMounted){let{next:ae,bu:se,u:V,parent:Y,vnode:ke}=A;{const _e=og(A);if(_e){ae&&(ae.el=ke.el,ne(A,ae,pe)),_e.asyncDep.then(()=>{A.isUnmounted||E()});return}}let M=ae,H;bo(A,!1),ae?(ae.el=ke.el,ne(A,ae,pe)):ae=ke,se&&hs(se),(H=ae.props&&ae.props.onVnodeBeforeUpdate)&&hn(H,Y,ae,ke),bo(A,!0);const q=Ia(A),re=A.subTree;A.subTree=q,_(re,q,m(re.el),Z(re),A,X,ie),ae.el=q.el,M===null&&Yl(A,q.el),V&&Ft(V,X),(H=ae.props&&ae.props.onVnodeUpdated)&&Ft(()=>hn(H,Y,ae,ke),X)}else{let ae;const{el:se,props:V}=P,{bm:Y,m:ke,parent:M,root:H,type:q}=A,re=lo(P);if(bo(A,!1),Y&&hs(Y),!re&&(ae=V&&V.onVnodeBeforeMount)&&hn(ae,M,P),bo(A,!0),se&&Ge){const _e=()=>{A.subTree=Ia(A),Ge(se,A.subTree,A,X,null)};re&&q.__asyncHydrate?q.__asyncHydrate(se,A,_e):_e()}else{H.ce&&H.ce._injectChildStyle(q);const _e=A.subTree=Ia(A);_(null,_e,j,te,A,X,ie),P.el=_e.el}if(ke&&Ft(ke,X),!re&&(ae=V&&V.onVnodeMounted)){const _e=P;Ft(()=>hn(ae,M,_e),X)}(P.shapeFlag&256||M&&lo(M.vnode)&&M.vnode.shapeFlag&256)&&A.a&&Ft(A.a,X),A.isMounted=!0,P=j=te=null}};A.scope.on();const $=A.effect=new ki(E);A.scope.off();const R=A.update=$.run.bind($),oe=A.job=$.runIfDirty.bind($);oe.i=A,oe.id=A.uid,$.scheduler=()=>Pd(oe),bo(A,!0),R()},ne=(A,P,j)=>{P.component=A;const te=A.vnode.props;A.vnode=P,A.next=null,Dv(A,P.props,te,j),Vv(A,P.children,j),ho(),Im(A),_o()},ue=(A,P,j,te,X,ie,pe,E,$=!1)=>{const R=A&&A.children,oe=A?A.shapeFlag:0,ae=P.children,{patchFlag:se,shapeFlag:V}=P;if(se>0){if(se&128){it(R,ae,j,te,X,ie,pe,E,$);return}else if(se&256){Ne(R,ae,j,te,X,ie,pe,E,$);return}}V&8?(oe&16&&We(R,X,ie),ae!==R&&d(j,ae)):oe&16?V&16?it(R,ae,j,te,X,ie,pe,E,$):We(R,X,ie,!0):(oe&8&&d(j,""),V&16&&D(ae,j,te,X,ie,pe,E,$))},Ne=(A,P,j,te,X,ie,pe,E,$)=>{A=A||ms,P=P||ms;const R=A.length,oe=P.length,ae=Math.min(R,oe);let se;for(se=0;se<ae;se++){const V=P[se]=$?to(P[se]):_n(P[se]);_(A[se],V,j,null,X,ie,pe,E,$)}R>oe?We(A,X,ie,!0,!1,ae):D(P,j,te,X,ie,pe,E,$,ae)},it=(A,P,j,te,X,ie,pe,E,$)=>{let R=0;const oe=P.length;let ae=A.length-1,se=oe-1;for(;R<=ae&&R<=se;){const V=A[R],Y=P[R]=$?to(P[R]):_n(P[R]);if(er(V,Y))_(V,Y,j,null,X,ie,pe,E,$);else break;R++}for(;R<=ae&&R<=se;){const V=A[ae],Y=P[se]=$?to(P[se]):_n(P[se]);if(er(V,Y))_(V,Y,j,null,X,ie,pe,E,$);else break;ae--,se--}if(R>ae){if(R<=se){const V=se+1,Y=V<oe?P[V].el:te;for(;R<=se;)_(null,P[R]=$?to(P[R]):_n(P[R]),j,Y,X,ie,pe,E,$),R++}}else if(R>se)for(;R<=ae;)He(A[R],X,ie,!0),R++;else{const V=R,Y=R,ke=new Map;for(R=Y;R<=se;R++){const Re=P[R]=$?to(P[R]):_n(P[R]);Re.key!=null&&ke.set(Re.key,R)}let M,H=0;const q=se-Y+1;let re=!1,_e=0;const Te=new Array(q);for(R=0;R<q;R++)Te[R]=0;for(R=V;R<=ae;R++){const Re=A[R];if(H>=q){He(Re,X,ie,!0);continue}let nt;if(Re.key!=null)nt=ke.get(Re.key);else for(M=Y;M<=se;M++)if(Te[M-Y]===0&&er(Re,P[M])){nt=M;break}nt===void 0?He(Re,X,ie,!0):(Te[nt-Y]=R+1,nt>=_e?_e=nt:re=!0,_(Re,P[nt],j,null,X,ie,pe,E,$),H++)}const Me=re?Hv(Te):ms;for(M=Me.length-1,R=q-1;R>=0;R--){const Re=Y+R,nt=P[Re],Pe=Re+1<oe?P[Re+1].el:te;Te[R]===0?_(null,nt,j,Pe,X,ie,pe,E,$):re&&(M<0||R!==Me[M]?Ve(nt,j,Pe,2):M--)}}},Ve=(A,P,j,te,X=null)=>{const{el:ie,type:pe,transition:E,children:$,shapeFlag:R}=A;if(R&6){Ve(A.component.subTree,P,j,te);return}if(R&128){A.suspense.move(P,j,te);return}if(R&64){pe.move(A,P,j,ye);return}if(pe===ze){r(ie,P,j);for(let ae=0;ae<$.length;ae++)Ve($[ae],P,j,te);r(A.anchor,P,j);return}if(pe===Io){g(A,P,j);return}if(te!==2&&R&1&&E)if(te===0)E.beforeEnter(ie),r(ie,P,j),Ft(()=>E.enter(ie),X);else{const{leave:ae,delayLeave:se,afterLeave:V}=E,Y=()=>r(ie,P,j),ke=()=>{ae(ie,()=>{Y(),V&&V()})};se?se(ie,Y,ke):ke()}else r(ie,P,j)},He=(A,P,j,te=!1,X=!1)=>{const{type:ie,props:pe,ref:E,children:$,dynamicChildren:R,shapeFlag:oe,patchFlag:ae,dirs:se,cacheIndex:V}=A;if(ae===-2&&(X=!1),E!=null&&Oi(E,null,j,A,!0),V!=null&&(P.renderCache[V]=void 0),oe&256){P.ctx.deactivate(A);return}const Y=oe&1&&se,ke=!lo(A);let M;if(ke&&(M=pe&&pe.onVnodeBeforeUnmount)&&hn(M,P,A),oe&6)dt(A.component,j,te);else{if(oe&128){A.suspense.unmount(j,te);return}Y&&gr(A,null,P,"beforeUnmount"),oe&64?A.type.remove(A,P,j,ye,te):R&&!R.hasOnce&&(ie!==ze||ae>0&&ae&64)?We(R,P,j,!1,!0):(ie===ze&&ae&384||!X&&oe&16)&&We($,P,j),te&&at(A)}(ke&&(M=pe&&pe.onVnodeUnmounted)||Y)&&Ft(()=>{M&&hn(M,P,A),Y&&gr(A,null,P,"unmounted")},j)},at=A=>{const{type:P,el:j,anchor:te,transition:X}=A;if(P===ze){lt(j,te);return}if(P===Io){z(A);return}const ie=()=>{o(j),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(A.shapeFlag&1&&X&&!X.persisted){const{leave:pe,delayLeave:E}=X,$=()=>pe(j,ie);E?E(A.el,ie,$):$()}else ie()},lt=(A,P)=>{let j;for(;A!==P;)j=f(A),o(A),A=j;o(P)},dt=(A,P,j)=>{const{bum:te,scope:X,job:ie,subTree:pe,um:E,m:$,a:R}=A;nl($),nl(R),te&&hs(te),X.stop(),ie&&(ie.flags|=8,He(pe,A,P,j)),E&&Ft(E,P),Ft(()=>{A.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},We=(A,P,j,te=!1,X=!1,ie=0)=>{for(let pe=ie;pe<A.length;pe++)He(A[pe],P,j,te,X)},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),j=P&&P[S_];return j?f(j):P};let me=!1;const ce=(A,P,j)=>{A==null?P._vnode&&He(P._vnode,null,null,!0):_(P._vnode||null,A,P,null,null,null,j),P._vnode=A,me||(me=!0,Im(),el(),me=!1)},ye={p:_,um:He,m:Ve,r:at,mt:ee,mc:D,pc:ue,pbc:F,n:Z,o:e};let Ue,Ge;return t&&([Ue,Ge]=t(ye)),{render:ce,hydrate:Ue,createApp:Lv(ce,Ue)}}function Iu({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function bo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function rg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bd(e,t,n=!1){const r=e.children,o=t.children;if(be(r)&&be(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=to(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&Bd(i,a)),a.type===Nr&&(a.el=i.el)}}function Hv(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function og(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:og(t)}function nl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const sg=Symbol.for("v-scx"),ig=()=>Vn(sg);function ag(e,t){return Gi(e,null,t)}function Uv(e,t){return Gi(e,null,{flush:"post"})}function lg(e,t){return Gi(e,null,{flush:"sync"})}function Tn(e,t,n){return Gi(e,t,n)}function Gi(e,t,n=Je){const{immediate:r,deep:o,flush:s,once:i}=n,a=pt({},n),l=t&&r||!t&&s!=="post";let c;if(vs){if(s==="sync"){const p=ig();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Mn,p.resume=Mn,p.pause=Mn,p}}const d=Vt;a.call=(p,h,_)=>Un(p,d,h,_);let m=!1;s==="post"?a.scheduler=p=>{Ft(p,d&&d.suspense)}:s!=="sync"&&(m=!0,a.scheduler=(p,h)=>{h?p():Pd(p)}),a.augmentJob=p=>{t&&(p.flags|=4),m&&(p.flags|=2,d&&(p.id=d.uid,p.i=d))};const f=Nb(e,t,a);return vs&&(c?c.push(f):l&&f()),f}function jv(e,t,n){const r=this.proxy,o=yt(e)?e.includes(".")?ug(r,e):()=>r[e]:e.bind(r,r);let s;Oe(t)?s=t:(s=t.handler,n=t);const i=Ro(this),a=Gi(o,s.bind(r),n);return i(),a}function ug(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Bv(e,t,n=Je){const r=cn(),o=qt(t),s=yn(t),i=cg(e,o),a=h_((l,c)=>{let d,m=Je,f;return lg(()=>{const p=e[o];an(d,p)&&(d=p,c())}),{get(){return l(),n.get?n.get(d):d},set(p){const h=n.set?n.set(p):p;if(!an(h,d)&&!(m!==Je&&an(p,m)))return;const _=r.vnode.props;_&&(t in _||o in _||s in _)&&(`onUpdate:${t}`in _||`onUpdate:${o}`in _||`onUpdate:${s}`in _)||(d=p,c()),r.emit(`update:${t}`,h),an(p,h)&&an(p,m)&&!an(h,f)&&c(),m=p,f=h}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||Je:a,done:!1}:{done:!0}}}},a}const cg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${qt(t)}Modifiers`]||e[`${yn(t)}Modifiers`];function Wv(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Je;let o=n;const s=t.startsWith("update:"),i=s&&cg(r,t.slice(7));i&&(i.trim&&(o=n.map(d=>yt(d)?d.trim():d)),i.number&&(o=n.map(Za)));let a,l=r[a=ai(t)]||r[a=ai(qt(t))];!l&&s&&(l=r[a=ai(yn(t))]),l&&Un(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Un(c,e,6,o)}}function dg(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!Oe(e)){const l=c=>{const d=dg(c,t,!0);d&&(a=!0,pt(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(ft(e)&&r.set(e,null),null):(be(s)?s.forEach(l=>i[l]=null):pt(i,s),ft(e)&&r.set(e,i),i)}function Zl(e,t){return!e||!ji(t)?!1:(t=t.slice(2).replace(/Once$/,""),st(e,t[0].toLowerCase()+t.slice(1))||st(e,yn(t))||st(e,t))}function Ia(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:c,renderCache:d,props:m,data:f,setupState:p,ctx:h,inheritAttrs:_}=e,b=Ai(e);let C,w;try{if(n.shapeFlag&4){const z=o||r,S=z;C=_n(c.call(S,z,d,m,p,f,h)),w=a}else{const z=t;C=_n(z.length>1?z(m,{attrs:a,slots:i,emit:l}):z(m,null)),w=t.props?a:Gv(a)}}catch(z){fi.length=0,Ho(z,e,1),C=v(Dt)}let g=C;if(w&&_!==!1){const z=Object.keys(w),{shapeFlag:S}=g;z.length&&S&7&&(s&&z.some(bd)&&(w=Kv(w,s)),g=wr(g,w,!1,!0))}return n.dirs&&(g=wr(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Rr(g,n.transition),C=g,Ai(b),C}function qv(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Mr(o)){if(o.type!==Dt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Gv=e=>{let t;for(const n in e)(n==="class"||n==="style"||ji(n))&&((t||(t={}))[n]=e[n]);return t},Kv=(e,t)=>{const n={};for(const r in e)(!bd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Zv(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Wm(r,i,c):!!i;if(l&8){const d=t.dynamicProps;for(let m=0;m<d.length;m++){const f=d[m];if(i[f]!==r[f]&&!Zl(c,f))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Wm(r,i,c):!0:!!i;return!1}function Wm(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!Zl(n,s))return!0}return!1}function Yl({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const rl=e=>e.__isSuspense;let Ac=0;const Yv={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,c){if(e==null)Jv(t,n,r,o,s,i,a,l,c);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Qv(e,t,n,r,o,i,a,l,c)}},hydrate:e0,normalize:t0},Xv=Yv;function Ii(e,t){const n=e.props&&e.props[t];Oe(n)&&n()}function Jv(e,t,n,r,o,s,i,a,l){const{p:c,o:{createElement:d}}=l,m=d("div"),f=e.suspense=mg(e,o,r,t,m,n,s,i,a,l);c(null,f.pendingBranch=e.ssContent,m,null,r,f,s,i),f.deps>0?(Ii(e,"onPending"),Ii(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,s,i),gs(f,e.ssFallback)):f.resolve(!1,!0)}function Qv(e,t,n,r,o,s,i,a,{p:l,um:c,o:{createElement:d}}){const m=t.suspense=e.suspense;m.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:b,isHydrating:C}=m;if(_)m.pendingBranch=f,er(f,_)?(l(_,f,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0?m.resolve():b&&(C||(l(h,p,n,r,o,null,s,i,a),gs(m,p)))):(m.pendingId=Ac++,C?(m.isHydrating=!1,m.activeBranch=_):c(_,o,m),m.deps=0,m.effects.length=0,m.hiddenContainer=d("div"),b?(l(null,f,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0?m.resolve():(l(h,p,n,r,o,null,s,i,a),gs(m,p))):h&&er(f,h)?(l(h,f,n,r,o,m,s,i,a),m.resolve(!0)):(l(null,f,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0&&m.resolve()));else if(h&&er(f,h))l(h,f,n,r,o,m,s,i,a),gs(m,f);else if(Ii(t,"onPending"),m.pendingBranch=f,f.shapeFlag&512?m.pendingId=f.component.suspenseId:m.pendingId=Ac++,l(null,f,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0)m.resolve();else{const{timeout:w,pendingId:g}=m;w>0?setTimeout(()=>{m.pendingId===g&&m.fallback(p)},w):w===0&&m.fallback(p)}}function mg(e,t,n,r,o,s,i,a,l,c,d=!1){const{p:m,m:f,um:p,n:h,o:{parentNode:_,remove:b}}=c;let C;const w=n0(e);w&&t&&t.pendingBranch&&(C=t.pendingId,t.deps++);const g=e.props?Ya(e.props.timeout):void 0,z=s,S={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:Ac++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(k=!1,L=!1){const{vnode:D,activeBranch:T,pendingBranch:F,pendingId:G,effects:U,parentComponent:W,container:ee}=S;let fe=!1;S.isHydrating?S.isHydrating=!1:k||(fe=T&&F.transition&&F.transition.mode==="out-in",fe&&(T.transition.afterLeave=()=>{G===S.pendingId&&(f(F,ee,s===z?h(T):s,0),Ti(U))}),T&&(_(T.el)===ee&&(s=h(T)),p(T,W,S,!0)),fe||f(F,ee,s,0)),gs(S,F),S.pendingBranch=null,S.isInFallback=!1;let K=S.parent,ne=!1;for(;K;){if(K.pendingBranch){K.effects.push(...U),ne=!0;break}K=K.parent}!ne&&!fe&&Ti(U),S.effects=[],w&&t&&t.pendingBranch&&C===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),Ii(D,"onResolve")},fallback(k){if(!S.pendingBranch)return;const{vnode:L,activeBranch:D,parentComponent:T,container:F,namespace:G}=S;Ii(L,"onFallback");const U=h(D),W=()=>{S.isInFallback&&(m(null,k,F,U,T,null,G,a,l),gs(S,k))},ee=k.transition&&k.transition.mode==="out-in";ee&&(D.transition.afterLeave=W),S.isInFallback=!0,p(D,T,null,!0),ee||W()},move(k,L,D){S.activeBranch&&f(S.activeBranch,k,L,D),S.container=k},next(){return S.activeBranch&&h(S.activeBranch)},registerDep(k,L,D){const T=!!S.pendingBranch;T&&S.deps++;const F=k.vnode.el;k.asyncDep.catch(G=>{Ho(G,k,0)}).then(G=>{if(k.isUnmounted||S.isUnmounted||S.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:U}=k;Lc(k,G,!1),F&&(U.el=F);const W=!F&&k.subTree.el;L(k,U,_(F||k.subTree.el),F?null:h(k.subTree),S,i,D),W&&b(W),Yl(k,U.el),T&&--S.deps===0&&S.resolve()})},unmount(k,L){S.isUnmounted=!0,S.activeBranch&&p(S.activeBranch,n,k,L),S.pendingBranch&&p(S.pendingBranch,n,k,L)}};return S}function e0(e,t,n,r,o,s,i,a,l){const c=t.suspense=mg(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,s,i);return c.deps===0&&c.resolve(!1,!0),d}function t0(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=qm(r?n.default:n),e.ssFallback=r?qm(n.fallback):v(Dt)}function qm(e){let t;if(Oe(e)){const n=Do&&e._c;n&&(e._d=!1,x()),e=e(),n&&(e._d=!0,t=en,pg())}return be(e)&&(e=qv(e)),e=_n(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function fg(e,t){t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):Ti(e)}function gs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Yl(r,o))}function n0(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ze=Symbol.for("v-fgt"),Nr=Symbol.for("v-txt"),Dt=Symbol.for("v-cmt"),Io=Symbol.for("v-stc"),fi=[];let en=null;function x(e=!1){fi.push(en=e?null:[])}function pg(){fi.pop(),en=fi[fi.length-1]||null}let Do=1;function Oc(e,t=!1){Do+=e,e<0&&en&&t&&(en.hasOnce=!0)}function hg(e){return e.dynamicChildren=Do>0?en||ms:null,pg(),Do>0&&en&&en.push(e),e}function I(e,t,n,r,o,s){return hg(u(e,t,n,r,o,s,!0))}function ve(e,t,n,r,o){return hg(v(e,t,n,r,o,!0))}function Mr(e){return e?e.__v_isVNode===!0:!1}function er(e,t){return e.type===t.type&&e.key===t.key}function r0(e){}const _g=({key:e})=>e??null,La=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?yt(e)||St(e)||Oe(e)?{i:Ht,r:e,k:t,f:!!n}:e:null);function u(e,t=null,n=null,r=0,o=null,s=e===ze?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_g(t),ref:t&&La(t),scopeId:jl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ht};return a?(Wd(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=yt(n)?8:16),Do>0&&!i&&en&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&en.push(l),l}const v=o0;function o0(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===V_)&&(e=Dt),Mr(e)){const a=wr(e,t,!0);return n&&Wd(a,n),Do>0&&!s&&en&&(a.shapeFlag&6?en[en.indexOf(e)]=a:en.push(a)),a.patchFlag=-2,a}if(m0(e)&&(e=e.__vccOpts),t){t=gg(t);let{class:a,style:l}=t;a&&!yt(a)&&(t.class=Se(a)),ft(l)&&(Vl(l)&&!be(l)&&(l=pt({},l)),t.style=po(l))}const i=yt(e)?1:rl(e)?128:k_(e)?64:ft(e)?4:Oe(e)?2:0;return u(e,t,n,r,o,i,s,!0)}function gg(e){return e?Vl(e)||G_(e)?pt({},e):e:null}function wr(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?us(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&_g(c),ref:t&&t.ref?n&&s?be(s)?s.concat(La(t)):[s,La(t)]:La(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ze?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wr(e.ssContent),ssFallback:e.ssFallback&&wr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Rr(d,l.clone(d)),d}function Mt(e=" ",t=0){return v(Nr,null,e,t)}function s0(e,t){const n=v(Io,null,e);return n.staticCount=t,n}function Q(e="",t=!1){return t?(x(),ve(Dt,null,e)):v(Dt,null,e)}function _n(e){return e==null||typeof e=="boolean"?v(Dt):be(e)?v(ze,null,e.slice()):Mr(e)?to(e):v(Nr,null,String(e))}function to(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:wr(e)}function Wd(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(be(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Wd(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!G_(t)?t._ctx=Ht:o===3&&Ht&&(Ht.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Oe(t)?(t={default:t,_ctx:Ht},n=32):(t=String(t),r&64?(n=16,t=[Mt(t)]):n=8);e.children=t,e.shapeFlag|=n}function us(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Se([t.class,r.class]));else if(o==="style")t.style=po([t.style,r.style]);else if(ji(o)){const s=t[o],i=r[o];i&&s!==i&&!(be(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function hn(e,t,n,r=null){Un(e,t,7,[n,r])}const i0=j_();let a0=0;function yg(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||i0,s={uid:a0++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Sd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Z_(r,o),emitsOptions:dg(r,o),emit:null,emitted:null,propsDefaults:Je,inheritAttrs:r.inheritAttrs,ctx:Je,data:Je,props:Je,attrs:Je,slots:Je,refs:Je,setupState:Je,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 s.ctx={_:s},s.root=t?t.root:s,s.emit=Wv.bind(null,s),e.ce&&e.ce(s),s}let Vt=null;const cn=()=>Vt||Ht;let ol,Pc;{const e=Il(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};ol=t("__VUE_INSTANCE_SETTERS__",n=>Vt=n),Pc=t("__VUE_SSR_SETTERS__",n=>vs=n)}const Ro=e=>{const t=Vt;return ol(e),e.scope.on(),()=>{e.scope.off(),ol(t)}},Ic=()=>{Vt&&Vt.scope.off(),ol(null)};function zg(e){return e.vnode.shapeFlag&4}let vs=!1;function bg(e,t=!1,n=!1){t&&Pc(t);const{props:r,children:o}=e.vnode,s=zg(e);Nv(e,r,s,t),Fv(e,o,n);const i=s?l0(e,t):void 0;return t&&Pc(!1),i}function l0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,xc);const{setup:r}=n;if(r){ho();const o=e.setupContext=r.length>1?Cg(e):null,s=Ro(e),i=Ps(r,e,0,[e.props,o]),a=Cd(i);if(_o(),s(),(a||e.sp)&&!lo(e)&&Nd(e),a){if(i.then(Ic,Ic),t)return i.then(l=>{Lc(e,l,t)}).catch(l=>{Ho(l,e,0)});e.asyncDep=i}else Lc(e,i,t)}else vg(e,t)}function Lc(e,t,n){Oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ft(t)&&(e.setupState=Od(t)),vg(e,n)}let sl,Nc;function u0(e){sl=e,Nc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,pv))}}const c0=()=>!sl;function vg(e,t,n){const r=e.type;if(!e.render){if(!t&&sl&&!r.render){const o=r.template||Ud(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=pt(pt({isCustomElement:s,delimiters:a},i),l);r.render=sl(o,c)}}e.render=r.render||Mn,Nc&&Nc(e)}{const o=Ro(e);ho();try{Tv(e)}finally{_o(),o()}}}const d0={get(e,t){return Zt(e,"get",""),e[t]}};function Cg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,d0),slots:e.slots,emit:e.emit,expose:t}}function Ki(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Od(Hl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in di)return di[n](e)},has(t,n){return n in t||n in di}})):e.proxy}function Dc(e,t=!0){return Oe(e)?e.displayName||e.name:e.name||t&&e.__name}function m0(e){return Oe(e)&&"__vccOpts"in e}const jt=(e,t)=>Ob(e,t,vs);function zr(e,t,n){const r=arguments.length;return r===2?ft(t)&&!be(t)?Mr(t)?v(e,null,[t]):v(e,t):v(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Mr(n)&&(n=[n]),v(e,t,n))}function f0(){}function p0(e,t,n,r){const o=n[r];if(o&&wg(o,e))return o;const s=t();return s.memo=e.slice(),s.cacheIndex=r,n[r]=s}function wg(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(an(n[r],t[r]))return!1;return Do>0&&en&&en.push(e),!0}const Sg="3.5.13",h0=Mn,_0=Vb,g0=ns,y0=w_,z0={createComponentInstance:yg,setupComponent:bg,renderComponentRoot:Ia,setCurrentRenderingInstance:Ai,isVNode:Mr,normalizeVNode:_n,getComponentPublicInstance:Ki,ensureValidVNode:Hd,pushWarningContext:Db,popWarningContext:Rb},b0=z0,v0=null,C0=null,w0=null;/**
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Rc;const Gm=typeof window<"u"&&window.trustedTypes;if(Gm)try{Rc=Gm.createPolicy("vue",{createHTML:e=>e})}catch{}const kg=Rc?e=>Rc.createHTML(e):e=>e,S0="http://www.w3.org/2000/svg",k0="http://www.w3.org/1998/Math/MathML",Ar=typeof document<"u"?document:null,Km=Ar&&Ar.createElement("template"),x0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Ar.createElementNS(S0,e):t==="mathml"?Ar.createElementNS(k0,e):n?Ar.createElement(e,{is:n}):Ar.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ar.createTextNode(e),createComment:e=>Ar.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ar.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Km.innerHTML=kg(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Km.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Br="transition",Us="animation",Cs=Symbol("_vtc"),xg={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},Eg=pt({},Ld,xg),E0=e=>(e.displayName="Transition",e.props=Eg,e),Bt=E0((e,{slots:t})=>zr(A_,Tg(e),t)),vo=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zm=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function Tg(e){const t={};for(const U in e)U in xg||(t[U]=e[U]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=i,appearToClass:d=a,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=T0(o),_=h&&h[0],b=h&&h[1],{onBeforeEnter:C,onEnter:w,onEnterCancelled:g,onLeave:z,onLeaveCancelled:S,onBeforeAppear:k=C,onAppear:L=w,onAppearCancelled:D=g}=t,T=(U,W,ee,fe)=>{U._enterCancelled=fe,Yr(U,W?d:a),Yr(U,W?c:i),ee&&ee()},F=(U,W)=>{U._isLeaving=!1,Yr(U,m),Yr(U,p),Yr(U,f),W&&W()},G=U=>(W,ee)=>{const fe=U?L:w,K=()=>T(W,U,ee);vo(fe,[W,K]),Ym(()=>{Yr(W,U?l:s),pr(W,U?d:a),Zm(fe)||Xm(W,r,_,K)})};return pt(t,{onBeforeEnter(U){vo(C,[U]),pr(U,s),pr(U,i)},onBeforeAppear(U){vo(k,[U]),pr(U,l),pr(U,c)},onEnter:G(!1),onAppear:G(!0),onLeave(U,W){U._isLeaving=!0;const ee=()=>F(U,W);pr(U,m),U._enterCancelled?(pr(U,f),Mc()):(Mc(),pr(U,f)),Ym(()=>{U._isLeaving&&(Yr(U,m),pr(U,p),Zm(z)||Xm(U,r,b,ee))}),vo(z,[U,ee])},onEnterCancelled(U){T(U,!1,void 0,!0),vo(g,[U])},onAppearCancelled(U){T(U,!0,void 0,!0),vo(D,[U])},onLeaveCancelled(U){F(U),vo(S,[U])}})}function T0(e){if(e==null)return null;if(ft(e))return[Lu(e.enter),Lu(e.leave)];{const t=Lu(e);return[t,t]}}function Lu(e){return Ya(e)}function pr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Cs]||(e[Cs]=new Set)).add(t)}function Yr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Cs];n&&(n.delete(t),n.size||(e[Cs]=void 0))}function Ym(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $0=0;function Xm(e,t,n,r){const o=e._endId=++$0,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=$g(e,t);if(!i)return r();const c=i+"end";let d=0;const m=()=>{e.removeEventListener(c,f),s()},f=p=>{p.target===e&&++d>=l&&m()};setTimeout(()=>{d<l&&m()},a+1),e.addEventListener(c,f)}function $g(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Br}Delay`),s=r(`${Br}Duration`),i=Jm(o,s),a=r(`${Us}Delay`),l=r(`${Us}Duration`),c=Jm(a,l);let d=null,m=0,f=0;t===Br?i>0&&(d=Br,m=i,f=s.length):t===Us?c>0&&(d=Us,m=c,f=l.length):(m=Math.max(i,c),d=m>0?i>c?Br:Us:null,f=d?d===Br?s.length:l.length:0);const p=d===Br&&/\b(transform|all)(,|$)/.test(r(`${Br}Property`).toString());return{type:d,timeout:m,propCount:f,hasTransform:p}}function Jm(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Qm(n)+Qm(e[r])))}function Qm(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Mc(){return document.body.offsetHeight}function A0(e,t,n){const r=e[Cs];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const il=Symbol("_vod"),Ag=Symbol("_vsh"),Li={beforeMount(e,{value:t},{transition:n}){e[il]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):js(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),js(e,!0),r.enter(e)):r.leave(e,()=>{js(e,!1)}):js(e,t))},beforeUnmount(e,{value:t}){js(e,t)}};function js(e,t){e.style.display=t?e[il]:"none",e[Ag]=!t}function O0(){Li.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Og=Symbol("");function P0(e){const t=cn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>al(s,o))},r=()=>{const o=e(t.proxy);t.ce?al(t.ce,o):Fc(t.subTree,o),n(o)};Dd(()=>{Ti(r)}),Is(()=>{Tn(r,Mn,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),qi(()=>o.disconnect())})}function Fc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Fc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)al(e.el,t);else if(e.type===ze)e.children.forEach(n=>Fc(n,t));else if(e.type===Io){let{el:n,anchor:r}=e;for(;n&&(al(n,t),n!==r);)n=n.nextSibling}}function al(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[Og]=r}}const I0=/(^|;)\s*display\s*:/;function L0(e,t,n){const r=e.style,o=yt(n);let s=!1;if(n&&!o){if(t)if(yt(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Na(r,a,"")}else for(const i in t)n[i]==null&&Na(r,i,"");for(const i in n)i==="display"&&(s=!0),Na(r,i,n[i])}else if(o){if(t!==n){const i=r[Og];i&&(n+=";"+i),r.cssText=n,s=I0.test(n)}}else t&&e.removeAttribute("style");il in e&&(e[il]=s?r.display:"",e[Ag]&&(r.display="none"))}const ef=/\s*!important$/;function Na(e,t,n){if(be(n))n.forEach(r=>Na(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=N0(e,t);ef.test(n)?e.setProperty(yn(r),n.replace(ef,""),"important"):e[r]=n}}const tf=["Webkit","Moz","ms"],Nu={};function N0(e,t){const n=Nu[t];if(n)return n;let r=qt(t);if(r!=="filter"&&r in e)return Nu[t]=r;r=Bi(r);for(let o=0;o<tf.length;o++){const s=tf[o]+r;if(s in e)return Nu[t]=s}return t}const nf="http://www.w3.org/1999/xlink";function rf(e,t,n,r,o,s=Jz(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(nf,t.slice(6,t.length)):e.setAttributeNS(nf,t,n):n==null||s&&!Zh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":or(n)?String(n):n)}function of(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?kg(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Zh(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function Ir(e,t,n,r){e.addEventListener(t,n,r)}function D0(e,t,n,r){e.removeEventListener(t,n,r)}const sf=Symbol("_vei");function R0(e,t,n,r,o=null){const s=e[sf]||(e[sf]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=M0(t);if(r){const c=s[t]=H0(r,o);Ir(e,a,c,l)}else i&&(D0(e,a,i,l),s[t]=void 0)}}const af=/(?:Once|Passive|Capture)$/;function M0(e){let t;if(af.test(e)){t={};let r;for(;r=e.match(af);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):yn(e.slice(2)),t]}let Du=0;const F0=Promise.resolve(),V0=()=>Du||(F0.then(()=>Du=0),Du=Date.now());function H0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Un(U0(r,n.value),t,5,[r])};return n.value=e,n.attached=V0(),n}function U0(e,t){if(be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const lf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,j0=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?A0(e,r,i):t==="style"?L0(e,n,r):ji(t)?bd(t)||R0(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):B0(e,t,r,i))?(of(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&rf(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!yt(r))?of(e,qt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),rf(e,t,r,i))};function B0(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&lf(t)&&Oe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return lf(t)&&yt(n)?!1:t in e}const uf={};/*! #__NO_SIDE_EFFECTS__ */function Pg(e,t,n){const r=Vr(e,t);Ol(r)&&pt(r,t);class o extends Xl{constructor(i){super(r,i,n)}}return o.def=r,o}/*! #__NO_SIDE_EFFECTS__ */const W0=(e,t)=>Pg(e,t,jg),q0=typeof HTMLElement<"u"?HTMLElement:class{};class Xl extends q0{constructor(t,n={},r=ul){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==ul?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Xl){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,Uo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:i}=r;let a;if(s&&!be(s))for(const l in s){const c=s[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Ya(this._props[l])),(a||(a=Object.create(null)))[qt(l)]=!0)}this._numberProps=a,o&&this._resolveProps(r),this.shadowRoot&&this._applyStyles(i),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>t(this._def=r,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)st(this,r)||Object.defineProperty(this,r,{get:()=>zn(n[r])})}_resolveProps(t){const{props:n}=t,r=be(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(qt))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(s){this._setProp(o,s,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):uf;const o=qt(t);n&&this._numberProps&&this._numberProps[o]&&(r=Ya(r)),this._setProp(o,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!1){if(n!==this._props[t]&&(n===uf?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),o&&this._instance&&this._update(),r)){const s=this._ob;s&&s.disconnect(),n===!0?this.setAttribute(yn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(yn(t),n+""):n||this.removeAttribute(yn(t)),s&&s.observe(this,{attributes:!0})}}_update(){Ug(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=v(this._def,pt(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(s,i)=>{this.dispatchEvent(new CustomEvent(s,Ol(i[0])?pt({detail:i},i[0]):{detail:i}))};r.emit=(s,...i)=>{o(s,i),yn(s)!==s&&o(yn(s),i)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let o=t.length-1;o>=0;o--){const s=document.createElement("style");r&&s.setAttribute("nonce",r),s.textContent=t[o],this.shadowRoot.prepend(s)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r<t.length;r++){const o=t[r],s=o.getAttribute("name")||"default",i=this._slots[s],a=o.parentNode;if(i)for(const l of i){if(n&&l.nodeType===1){const c=n+"-s",d=document.createTreeWalker(l,1);l.setAttribute(c,"");let m;for(;m=d.nextNode();)m.setAttribute(c,"")}a.insertBefore(l,o)}else for(;o.firstChild;)a.insertBefore(o.firstChild,o);a.removeChild(o)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function Ig(e){const t=cn(),n=t&&t.ce;return n||null}function G0(){const e=Ig();return e&&e.shadowRoot}function K0(e="$style"){{const t=cn();if(!t)return Je;const n=t.type.__cssModules;if(!n)return Je;const r=n[e];return r||Je}}const Lg=new WeakMap,Ng=new WeakMap,ll=Symbol("_moveCb"),cf=Symbol("_enterCb"),Z0=e=>(delete e.props.mode,e),Y0=Z0({name:"TransitionGroup",props:pt({},Eg,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=cn(),r=Id();let o,s;return ql(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!tC(o[0].el,n.vnode.el,i))return;o.forEach(J0),o.forEach(Q0);const a=o.filter(eC);Mc(),a.forEach(l=>{const c=l.el,d=c.style;pr(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const m=c[ll]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",m),c[ll]=null,Yr(c,i))};c.addEventListener("transitionend",m)})}),()=>{const i=Xe(e),a=Tg(i);let l=i.tag||ze;if(o=[],s)for(let c=0;c<s.length;c++){const d=s[c];d.el&&d.el instanceof Element&&(o.push(d),Rr(d,bs(d,a,r,n)),Lg.set(d,d.el.getBoundingClientRect()))}s=t.default?Bl(t.default()):[];for(let c=0;c<s.length;c++){const d=s[c];d.key!=null&&Rr(d,bs(d,a,r,n))}return v(l,null,s)}}}),X0=Y0;function J0(e){const t=e.el;t[ll]&&t[ll](),t[cf]&&t[cf]()}function Q0(e){Ng.set(e,e.el.getBoundingClientRect())}function eC(e){const t=Lg.get(e),n=Ng.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function tC(e,t,n){const r=e.cloneNode(),o=e[Cs];o&&o.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=$g(r);return s.removeChild(r),i}const fo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return be(t)?n=>hs(t,n):t};function nC(e){e.target.composing=!0}function df(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Hn=Symbol("_assign"),vn={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Hn]=fo(o);const s=r||o.props&&o.props.type==="number";Ir(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=Za(a)),e[Hn](a)}),n&&Ir(e,"change",()=>{e.value=e.value.trim()}),t||(Ir(e,"compositionstart",nC),Ir(e,"compositionend",df),Ir(e,"change",df))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[Hn]=fo(i),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?Za(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},jn={deep:!0,created(e,t,n){e[Hn]=fo(n),Ir(e,"change",()=>{const r=e._modelValue,o=ws(e),s=e.checked,i=e[Hn];if(be(r)){const a=Ll(r,o),l=a!==-1;if(s&&!l)i(r.concat(o));else if(!s&&l){const c=[...r];c.splice(a,1),i(c)}}else if(Vo(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(Dg(e,s))})},mounted:mf,beforeUpdate(e,t,n){e[Hn]=fo(n),mf(e,t,n)}};function mf(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(be(t))o=Ll(t,r.props.value)>-1;else if(Vo(t))o=t.has(r.props.value);else{if(t===n)return;o=co(t,Dg(e,!0))}e.checked!==o&&(e.checked=o)}const qd={created(e,{value:t},n){e.checked=co(t,n.props.value),e[Hn]=fo(n),Ir(e,"change",()=>{e[Hn](ws(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Hn]=fo(r),t!==n&&(e.checked=co(t,r.props.value))}},Gd={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Vo(t);Ir(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Za(ws(i)):ws(i));e[Hn](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,Uo(()=>{e._assigning=!1})}),e[Hn]=fo(r)},mounted(e,{value:t}){ff(e,t)},beforeUpdate(e,t,n){e[Hn]=fo(n)},updated(e,{value:t}){e._assigning||ff(e,t)}};function ff(e,t){const n=e.multiple,r=be(t);if(!(n&&!r&&!Vo(t))){for(let o=0,s=e.options.length;o<s;o++){const i=e.options[o],a=ws(i);if(n)if(r){const l=typeof a;l==="string"||l==="number"?i.selected=t.some(c=>String(c)===String(a)):i.selected=Ll(t,a)>-1}else i.selected=t.has(a);else if(co(ws(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ws(e){return"_value"in e?e._value:e.value}function Dg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Rg={created(e,t,n){fa(e,t,n,null,"created")},mounted(e,t,n){fa(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){fa(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){fa(e,t,n,r,"updated")}};function Mg(e,t){switch(e){case"SELECT":return Gd;case"TEXTAREA":return vn;default:switch(t){case"checkbox":return jn;case"radio":return qd;default:return vn}}}function fa(e,t,n,r,o){const i=Mg(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}function rC(){vn.getSSRProps=({value:e})=>({value:e}),qd.getSSRProps=({value:e},t)=>{if(t.props&&co(t.props.value,e))return{checked:!0}},jn.getSSRProps=({value:e},t)=>{if(be(e)){if(t.props&&Ll(e,t.props.value)>-1)return{checked:!0}}else if(Vo(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Rg.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Mg(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const oC=["ctrl","shift","alt","meta"],sC={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>oC.some(n=>e[`${n}Key`]&&!t.includes(n))},bt=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i<t.length;i++){const a=sC[t[i]];if(a&&a(o,t))return}return e(o,...s)})},iC={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},gn=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=yn(o.key);if(t.some(i=>i===s||iC[i]===s))return e(o)})},Fg=pt({patchProp:j0},x0);let pi,pf=!1;function Vg(){return pi||(pi=eg(Fg))}function Hg(){return pi=pf?pi:tg(Fg),pf=!0,pi}const Ug=(...e)=>{Vg().render(...e)},aC=(...e)=>{Hg().hydrate(...e)},ul=(...e)=>{const t=Vg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Wg(r);if(!o)return;const s=t._component;!Oe(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,Bg(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},jg=(...e)=>{const t=Hg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Wg(r);if(o)return n(o,!0,Bg(o))},t};function Bg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Wg(e){return yt(e)?document.querySelector(e):e}let hf=!1;const lC=()=>{hf||(hf=!0,rC(),O0())};/**
* vue v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const uC=()=>{},cC=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:A_,BaseTransitionPropsValidators:Ld,Comment:Dt,DeprecationTypes:w0,EffectScope:Sd,ErrorCodes:Fb,ErrorTypeStrings:_0,Fragment:ze,KeepAlive:cv,ReactiveEffect:ki,Static:Io,Suspense:Xv,Teleport:qn,Text:Nr,TrackOpTypes:Pb,Transition:Bt,TransitionGroup:X0,TriggerOpTypes:Ib,VueElement:Xl,assertNumber:Mb,callWithAsyncErrorHandling:Un,callWithErrorHandling:Ps,camelize:qt,capitalize:Bi,cloneVNode:wr,compatUtils:C0,compile:uC,computed:jt,createApp:ul,createBlock:ve,createCommentVNode:Q,createElementBlock:I,createElementVNode:u,createHydrationRenderer:tg,createPropsRestProxy:xv,createRenderer:eg,createSSRApp:jg,createSlots:Vd,createStaticVNode:s0,createTextVNode:Mt,createVNode:v,customRef:h_,defineAsyncComponent:lv,defineComponent:Vr,defineCustomElement:Pg,defineEmits:_v,defineExpose:gv,defineModel:bv,defineOptions:yv,defineProps:hv,defineSSRCustomElement:W0,defineSlots:zv,devtools:g0,effect:tb,effectScope:Nl,getCurrentInstance:cn,getCurrentScope:kd,getCurrentWatcher:Lb,getTransitionRawChildren:Bl,guardReactiveProps:gg,h:zr,handleError:Ho,hasInjectionContext:B_,hydrate:aC,hydrateOnIdle:nv,hydrateOnInteraction:iv,hydrateOnMediaQuery:sv,hydrateOnVisible:ov,initCustomFormatter:f0,initDirectivesForSSR:lC,inject:Vn,isMemoSame:wg,isProxy:Vl,isReactive:vr,isReadonly:mo,isRef:St,isRuntimeOnly:c0,isShallow:En,isVNode:Mr,markRaw:Hl,mergeDefaults:Sv,mergeModels:kv,mergeProps:us,nextTick:Uo,normalizeClass:Se,normalizeProps:Js,normalizeStyle:po,onActivated:P_,onBeforeMount:N_,onBeforeUnmount:Gl,onBeforeUpdate:Dd,onDeactivated:I_,onErrorCaptured:F_,onMounted:Is,onRenderTracked:M_,onRenderTriggered:R_,onScopeDispose:Jh,onServerPrefetch:D_,onUnmounted:qi,onUpdated:ql,onWatcherCleanup:y_,openBlock:x,popScopeId:Bb,provide:mi,proxyRefs:Od,pushScopeId:jb,queuePostFlushCb:Ti,reactive:Os,readonly:Ad,ref:Fn,registerRuntimeCompiler:u0,render:Ug,renderList:zt,renderSlot:wt,resolveComponent:O,resolveDirective:Md,resolveDynamicComponent:Kl,resolveFilter:v0,resolveTransitionHooks:bs,setBlockTracking:Oc,setDevtoolsHook:y0,setTransitionHooks:Rr,shallowReactive:$d,shallowReadonly:vb,shallowRef:Ul,ssrContextKey:sg,ssrUtils:b0,stop:nb,toDisplayString:y,toHandlerKey:ai,toHandlers:fv,toRaw:Xe,toRef:$b,toRefs:__,toValue:Sb,transformVNodeArgs:r0,triggerRef:wb,unref:zn,useAttrs:wv,useCssModule:K0,useCssVars:P0,useHost:Ig,useId:Kb,useModel:Bv,useSSRContext:ig,useShadowRoot:G0,useSlots:Cv,useTemplateRef:Zb,useTransitionState:Id,vModelCheckbox:jn,vModelDynamic:Rg,vModelRadio:qd,vModelSelect:Gd,vModelText:vn,vShow:Li,version:Sg,warn:h0,watch:Tn,watchEffect:ag,watchPostEffect:Uv,watchSyncEffect:lg,withAsyncContext:Ev,withCtx:N,withDefaults:vv,withDirectives:gt,withKeys:gn,withMemo:p0,withModifiers:bt,withScopeId:Wb},Symbol.toStringTag,{value:"Module"}));/*!
* pinia v2.3.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/let qg;const Jl=e=>qg=e,Gg=Symbol();function Vc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var hi;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(hi||(hi={}));function dC(){const e=Nl(!0),t=e.run(()=>Fn({}));let n=[],r=[];const o=Hl({install(s){Jl(o),o._a=s,s.provide(Gg,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Kg=()=>{};function _f(e,t,n,r=Kg){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&kd()&&Jh(o),o}function Go(e,...t){e.slice().forEach(n=>{n(...t)})}const mC=e=>e(),gf=Symbol(),Ru=Symbol();function Hc(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Vc(o)&&Vc(r)&&e.hasOwnProperty(n)&&!St(r)&&!vr(r)?e[n]=Hc(o,r):e[n]=r}return e}const fC=Symbol();function pC(e){return!Vc(e)||!e.hasOwnProperty(fC)}const{assign:Xr}=Object;function hC(e){return!!(St(e)&&e.effect)}function _C(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=o?o():{});const d=__(n.state.value[e]);return Xr(d,s,Object.keys(i||{}).reduce((m,f)=>(m[f]=Hl(jt(()=>{Jl(n);const p=n._s.get(e);return i[f].call(p,p)})),m),{}))}return l=Zg(e,c,t,n,r,!0),l}function Zg(e,t,n={},r,o,s){let i;const a=Xr({actions:{}},n),l={deep:!0};let c,d,m=[],f=[],p;const h=r.state.value[e];!s&&!h&&(r.state.value[e]={}),Fn({});let _;function b(D){let T;c=d=!1,typeof D=="function"?(D(r.state.value[e]),T={type:hi.patchFunction,storeId:e,events:p}):(Hc(r.state.value[e],D),T={type:hi.patchObject,payload:D,storeId:e,events:p});const F=_=Symbol();Uo().then(()=>{_===F&&(c=!0)}),d=!0,Go(m,T,r.state.value[e])}const C=s?function(){const{state:T}=n,F=T?T():{};this.$patch(G=>{Xr(G,F)})}:Kg;function w(){i.stop(),m=[],f=[],r._s.delete(e)}const g=(D,T="")=>{if(gf in D)return D[Ru]=T,D;const F=function(){Jl(r);const G=Array.from(arguments),U=[],W=[];function ee(ne){U.push(ne)}function fe(ne){W.push(ne)}Go(f,{args:G,name:F[Ru],store:S,after:ee,onError:fe});let K;try{K=D.apply(this&&this.$id===e?this:S,G)}catch(ne){throw Go(W,ne),ne}return K instanceof Promise?K.then(ne=>(Go(U,ne),ne)).catch(ne=>(Go(W,ne),Promise.reject(ne))):(Go(U,K),K)};return F[gf]=!0,F[Ru]=T,F},z={_p:r,$id:e,$onAction:_f.bind(null,f),$patch:b,$reset:C,$subscribe(D,T={}){const F=_f(m,D,T.detached,()=>G()),G=i.run(()=>Tn(()=>r.state.value[e],U=>{(T.flush==="sync"?d:c)&&D({storeId:e,type:hi.direct,events:p},U)},Xr({},l,T)));return F},$dispose:w},S=Os(z);r._s.set(e,S);const L=(r._a&&r._a.runWithContext||mC)(()=>r._e.run(()=>(i=Nl()).run(()=>t({action:g}))));for(const D in L){const T=L[D];if(St(T)&&!hC(T)||vr(T))s||(h&&pC(T)&&(St(T)?T.value=h[D]:Hc(T,h[D])),r.state.value[e][D]=T);else if(typeof T=="function"){const F=g(T,D);L[D]=F,a.actions[D]=T}}return Xr(S,L),Xr(Xe(S),L),Object.defineProperty(S,"$state",{get:()=>r.state.value[e],set:D=>{b(T=>{Xr(T,D)})}}),r._p.forEach(D=>{Xr(S,i.run(()=>D({store:S,app:r._a,pinia:r,options:a})))}),h&&s&&n.hydrate&&n.hydrate(S.$state,h),c=!0,d=!0,S}/*! #__NO_SIDE_EFFECTS__ */function Gn(e,t,n){let r,o;const s=typeof t=="function";typeof e=="string"?(r=e,o=s?n:t):(o=e,r=e.id);function i(a,l){const c=B_();return a=a||(c?Vn(Gg,null):null),a&&Jl(a),a=qg,a._s.has(r)||(s?Zg(r,t,o,a):_C(r,o,a)),a._s.get(r)}return i.$id=r,i}const Kd=Gn("RemotesStore",{state:()=>({pairing:{}})});function Yg(e,t){return function(){return e.apply(t,arguments)}}const{toString:gC}=Object.prototype,{getPrototypeOf:Zd}=Object,Ql=(e=>t=>{const n=gC.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ur=e=>(e=e.toLowerCase(),t=>Ql(t)===e),eu=e=>t=>typeof t===e,{isArray:Ls}=Array,Ni=eu("undefined");function yC(e){return e!==null&&!Ni(e)&&e.constructor!==null&&!Ni(e.constructor)&&$n(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Xg=ur("ArrayBuffer");function zC(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xg(e.buffer),t}const bC=eu("string"),$n=eu("function"),Jg=eu("number"),tu=e=>e!==null&&typeof e=="object",vC=e=>e===!0||e===!1,Da=e=>{if(Ql(e)!=="object")return!1;const t=Zd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},CC=ur("Date"),wC=ur("File"),SC=ur("Blob"),kC=ur("FileList"),xC=e=>tu(e)&&$n(e.pipe),EC=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||$n(e.append)&&((t=Ql(e))==="formdata"||t==="object"&&$n(e.toString)&&e.toString()==="[object FormData]"))},TC=ur("URLSearchParams"),[$C,AC,OC,PC]=["ReadableStream","Request","Response","Headers"].map(ur),IC=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Ls(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function Qg(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const $o=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ey=e=>!Ni(e)&&e!==$o;function Uc(){const{caseless:e}=ey(this)&&this||{},t={},n=(r,o)=>{const s=e&&Qg(t,o)||o;Da(t[s])&&Da(r)?t[s]=Uc(t[s],r):Da(r)?t[s]=Uc({},r):Ls(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Zi(arguments[r],n);return t}const LC=(e,t,n,{allOwnKeys:r}={})=>(Zi(t,(o,s)=>{n&&$n(o)?e[s]=Yg(o,n):e[s]=o},{allOwnKeys:r}),e),NC=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),DC=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},RC=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Zd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},MC=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},FC=e=>{if(!e)return null;if(Ls(e))return e;let t=e.length;if(!Jg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},VC=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Zd(Uint8Array)),HC=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},UC=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},jC=ur("HTMLFormElement"),BC=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),yf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),WC=ur("RegExp"),ty=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Zi(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},qC=e=>{ty(e,(t,n)=>{if($n(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if($n(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},GC=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return Ls(e)?r(e):r(String(e).split(t)),n},KC=()=>{},ZC=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Mu="abcdefghijklmnopqrstuvwxyz",zf="0123456789",ny={DIGIT:zf,ALPHA:Mu,ALPHA_DIGIT:Mu+Mu.toUpperCase()+zf},YC=(e=16,t=ny.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function XC(e){return!!(e&&$n(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const JC=e=>{const t=new Array(10),n=(r,o)=>{if(tu(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=Ls(r)?[]:{};return Zi(r,(i,a)=>{const l=n(i,o+1);!Ni(l)&&(s[a]=l)}),t[o]=void 0,s}}return r};return n(e,0)},QC=ur("AsyncFunction"),ew=e=>e&&(tu(e)||$n(e))&&$n(e.then)&&$n(e.catch),ry=((e,t)=>e?setImmediate:t?((n,r)=>($o.addEventListener("message",({source:o,data:s})=>{o===$o&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),$o.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",$n($o.postMessage)),tw=typeof queueMicrotask<"u"?queueMicrotask.bind($o):typeof process<"u"&&process.nextTick||ry,J={isArray:Ls,isArrayBuffer:Xg,isBuffer:yC,isFormData:EC,isArrayBufferView:zC,isString:bC,isNumber:Jg,isBoolean:vC,isObject:tu,isPlainObject:Da,isReadableStream:$C,isRequest:AC,isResponse:OC,isHeaders:PC,isUndefined:Ni,isDate:CC,isFile:wC,isBlob:SC,isRegExp:WC,isFunction:$n,isStream:xC,isURLSearchParams:TC,isTypedArray:VC,isFileList:kC,forEach:Zi,merge:Uc,extend:LC,trim:IC,stripBOM:NC,inherits:DC,toFlatObject:RC,kindOf:Ql,kindOfTest:ur,endsWith:MC,toArray:FC,forEachEntry:HC,matchAll:UC,isHTMLForm:jC,hasOwnProperty:yf,hasOwnProp:yf,reduceDescriptors:ty,freezeMethods:qC,toObjectSet:GC,toCamelCase:BC,noop:KC,toFiniteNumber:ZC,findKey:Qg,global:$o,isContextDefined:ey,ALPHABET:ny,generateString:YC,isSpecCompliantForm:XC,toJSONObject:JC,isAsyncFn:QC,isThenable:ew,setImmediate:ry,asap:tw};function Be(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}J.inherits(Be,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.status}}});const oy=Be.prototype,sy={};["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(e=>{sy[e]={value:e}});Object.defineProperties(Be,sy);Object.defineProperty(oy,"isAxiosError",{value:!0});Be.from=(e,t,n,r,o,s)=>{const i=Object.create(oy);return J.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Be.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const nw=null;function jc(e){return J.isPlainObject(e)||J.isArray(e)}function iy(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function bf(e,t,n){return e?e.concat(t).map(function(o,s){return o=iy(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function rw(e){return J.isArray(e)&&!e.some(jc)}const ow=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function nu(e,t,n){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=J.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,b){return!J.isUndefined(b[_])});const r=n.metaTokens,o=n.visitor||d,s=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(o))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(J.isDate(h))return h.toISOString();if(!l&&J.isBlob(h))throw new Be("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(h)||J.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,_,b){let C=h;if(h&&!b&&typeof h=="object"){if(J.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(J.isArray(h)&&rw(h)||(J.isFileList(h)||J.endsWith(_,"[]"))&&(C=J.toArray(h)))return _=iy(_),C.forEach(function(g,z){!(J.isUndefined(g)||g===null)&&t.append(i===!0?bf([_],z,s):i===null?_:_+"[]",c(g))}),!1}return jc(h)?!0:(t.append(bf(b,_,s),c(h)),!1)}const m=[],f=Object.assign(ow,{defaultVisitor:d,convertValue:c,isVisitable:jc});function p(h,_){if(!J.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));m.push(h),J.forEach(h,function(C,w){(!(J.isUndefined(C)||C===null)&&o.call(t,C,J.isString(w)?w.trim():w,_,f))===!0&&p(C,_?_.concat(w):[w])}),m.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return p(e),t}function vf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Yd(e,t){this._pairs=[],e&&nu(e,this,t)}const ay=Yd.prototype;ay.append=function(t,n){this._pairs.push([t,n])};ay.toString=function(t){const n=t?function(r){return t.call(this,r,vf)}:vf;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function sw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ly(e,t,n){if(!t)return e;const r=n&&n.encode||sw;J.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let s;if(o?s=o(t,n):s=J.isURLSearchParams(t)?t.toString():new Yd(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Cf{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){J.forEach(this.handlers,function(r){r!==null&&t(r)})}}const uy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},iw=typeof URLSearchParams<"u"?URLSearchParams:Yd,aw=typeof FormData<"u"?FormData:null,lw=typeof Blob<"u"?Blob:null,uw={isBrowser:!0,classes:{URLSearchParams:iw,FormData:aw,Blob:lw},protocols:["http","https","file","blob","url","data"]},Xd=typeof window<"u"&&typeof document<"u",Bc=typeof navigator=="object"&&navigator||void 0,cw=Xd&&(!Bc||["ReactNative","NativeScript","NS"].indexOf(Bc.product)<0),dw=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",mw=Xd&&window.location.href||"http://localhost",fw=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Xd,hasStandardBrowserEnv:cw,hasStandardBrowserWebWorkerEnv:dw,navigator:Bc,origin:mw},Symbol.toStringTag,{value:"Module"})),Xt={...fw,...uw};function pw(e,t){return nu(e,new Xt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return Xt.isNode&&J.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function hw(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function _w(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function cy(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&J.isArray(o)?o.length:i,l?(J.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!a):((!o[i]||!J.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&J.isArray(o[i])&&(o[i]=_w(o[i])),!a)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,(r,o)=>{t(hw(r),o,n,0)}),n}return null}function gw(e,t,n){if(J.isString(e))try{return(t||JSON.parse)(e),J.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Yi={transitional:uy,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=J.isObject(t);if(s&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return o?JSON.stringify(cy(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t)||J.isReadableStream(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return pw(t,this.formSerializer).toString();if((a=J.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return nu(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),gw(t)):t}],transformResponse:[function(t){const n=this.transitional||Yi.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(J.isResponse(t)||J.isReadableStream(t))return t;if(t&&J.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?Be.from(a,Be.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xt.classes.FormData,Blob:Xt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{Yi.headers[e]={}});const yw=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),zw=e=>{const t={};let n,r,o;return e&&e.split(`
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&yw[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},wf=Symbol("internals");function Bs(e){return e&&String(e).trim().toLowerCase()}function Ra(e){return e===!1||e==null?e:J.isArray(e)?e.map(Ra):String(e)}function bw(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const vw=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Fu(e,t,n,r,o){if(J.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!J.isString(t)){if(J.isString(r))return t.indexOf(r)!==-1;if(J.isRegExp(r))return r.test(t)}}function Cw(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ww(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class bn{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,c){const d=Bs(l);if(!d)throw new Error("header name must be a non-empty string");const m=J.findKey(o,d);(!m||o[m]===void 0||c===!0||c===void 0&&o[m]!==!1)&&(o[m||l]=Ra(a))}const i=(a,l)=>J.forEach(a,(c,d)=>s(c,d,l));if(J.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(J.isString(t)&&(t=t.trim())&&!vw(t))i(zw(t),n);else if(J.isHeaders(t))for(const[a,l]of t.entries())s(l,a,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=Bs(t),t){const r=J.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return bw(o);if(J.isFunction(n))return n.call(this,o,r);if(J.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Bs(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Fu(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=Bs(i),i){const a=J.findKey(r,i);a&&(!n||Fu(r,r[a],a,n))&&(delete r[a],o=!0)}}return J.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||Fu(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return J.forEach(this,(o,s)=>{const i=J.findKey(r,s);if(i){n[i]=Ra(o),delete n[s];return}const a=t?Cw(s):String(s).trim();a!==s&&delete n[s],n[a]=Ra(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&J.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[wf]=this[wf]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=Bs(i);r[a]||(ww(o,i),r[a]=!0)}return J.isArray(t)?t.forEach(s):s(t),this}}bn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(bn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(bn);function Vu(e,t){const n=this||Yi,r=t||n,o=bn.from(r.headers);let s=r.data;return J.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function dy(e){return!!(e&&e.__CANCEL__)}function Ns(e,t,n){Be.call(this,e??"canceled",Be.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Ns,Be,{__CANCEL__:!0});function my(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Be("Request failed with status code "+n.status,[Be.ERR_BAD_REQUEST,Be.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Sw(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function kw(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=r[s];i||(i=c),n[o]=l,r[o]=c;let m=s,f=0;for(;m!==o;)f+=n[m++],m=m%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),c-i<t)return;const p=d&&c-d;return p?Math.round(f*1e3/p):void 0}}function xw(e,t){let n=0,r=1e3/t,o,s;const i=(c,d=Date.now())=>{n=d,o=null,s&&(clearTimeout(s),s=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),m=d-n;m>=r?i(c,d):(o=c,s||(s=setTimeout(()=>{s=null,i(o)},r-m)))},()=>o&&i(o)]}const cl=(e,t,n=3)=>{let r=0;const o=kw(50,250);return xw(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-r,c=o(l),d=i<=a;r=i;const m={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&d?(a-i)/c:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(m)},n)},Sf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},kf=e=>(...t)=>J.asap(()=>e(...t)),Ew=Xt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Xt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Xt.origin),Xt.navigator&&/(msie|trident)/i.test(Xt.navigator.userAgent)):()=>!0,Tw=Xt.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),J.isString(r)&&i.push("path="+r),J.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function $w(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Aw(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function fy(e,t){return e&&!$w(t)?Aw(e,t):t}const xf=e=>e instanceof bn?{...e}:e;function Mo(e,t){t=t||{};const n={};function r(c,d,m,f){return J.isPlainObject(c)&&J.isPlainObject(d)?J.merge.call({caseless:f},c,d):J.isPlainObject(d)?J.merge({},d):J.isArray(d)?d.slice():d}function o(c,d,m,f){if(J.isUndefined(d)){if(!J.isUndefined(c))return r(void 0,c,m,f)}else return r(c,d,m,f)}function s(c,d){if(!J.isUndefined(d))return r(void 0,d)}function i(c,d){if(J.isUndefined(d)){if(!J.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function a(c,d,m){if(m in t)return r(c,d);if(m in e)return r(void 0,c)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,d,m)=>o(xf(c),xf(d),m,!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(d){const m=l[d]||o,f=m(e[d],t[d],d);J.isUndefined(f)&&m!==a||(n[d]=f)}),n}const py=e=>{const t=Mo({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:a}=t;t.headers=i=bn.from(i),t.url=ly(fy(t.baseURL,t.url),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(J.isFormData(n)){if(Xt.hasStandardBrowserEnv||Xt.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[c,...d]=l?l.split(";").map(m=>m.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...d].join("; "))}}if(Xt.hasStandardBrowserEnv&&(r&&J.isFunction(r)&&(r=r(t)),r||r!==!1&&Ew(t.url))){const c=o&&s&&Tw.read(s);c&&i.set(o,c)}return t},Ow=typeof XMLHttpRequest<"u",Pw=Ow&&function(e){return new Promise(function(n,r){const o=py(e);let s=o.data;const i=bn.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=o,d,m,f,p,h;function _(){p&&p(),h&&h(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function C(){if(!b)return;const g=bn.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:g,config:e,request:b};my(function(L){n(L),_()},function(L){r(L),_()},S),b=null}"onloadend"in b?b.onloadend=C:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(C)},b.onabort=function(){b&&(r(new Be("Request aborted",Be.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new Be("Network Error",Be.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let z=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const S=o.transitional||uy;o.timeoutErrorMessage&&(z=o.timeoutErrorMessage),r(new Be(z,S.clarifyTimeoutError?Be.ETIMEDOUT:Be.ECONNABORTED,e,b)),b=null},s===void 0&&i.setContentType(null),"setRequestHeader"in b&&J.forEach(i.toJSON(),function(z,S){b.setRequestHeader(S,z)}),J.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),a&&a!=="json"&&(b.responseType=o.responseType),c&&([f,h]=cl(c,!0),b.addEventListener("progress",f)),l&&b.upload&&([m,p]=cl(l),b.upload.addEventListener("progress",m),b.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(d=g=>{b&&(r(!g||g.type?new Ns(null,e,b):g),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const w=Sw(o.url);if(w&&Xt.protocols.indexOf(w)===-1){r(new Be("Unsupported protocol "+w+":",Be.ERR_BAD_REQUEST,e));return}b.send(s||null)})},Iw=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(c){if(!o){o=!0,a();const d=c instanceof Error?c:this.reason;r.abort(d instanceof Be?d:new Ns(d instanceof Error?d.message:d))}};let i=t&&setTimeout(()=>{i=null,s(new Be(`timeout ${t} of ms exceeded`,Be.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),e=null)};e.forEach(c=>c.addEventListener("abort",s));const{signal:l}=r;return l.unsubscribe=()=>J.asap(a),l}},Lw=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},Nw=async function*(e,t){for await(const n of Dw(e))yield*Lw(n,t)},Dw=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Ef=(e,t,n,r)=>{const o=Nw(e,t);let s=0,i,a=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:d}=await o.next();if(c){a(),l.close();return}let m=d.byteLength;if(n){let f=s+=m;n(f)}l.enqueue(new Uint8Array(d))}catch(c){throw a(c),c}},cancel(l){return a(l),o.return()}},{highWaterMark:2})},ru=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",hy=ru&&typeof ReadableStream=="function",Rw=ru&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),_y=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Mw=hy&&_y(()=>{let e=!1;const t=new Request(Xt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Tf=64*1024,Wc=hy&&_y(()=>J.isReadableStream(new Response("").body)),dl={stream:Wc&&(e=>e.body)};ru&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!dl[t]&&(dl[t]=J.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Be(`Response type '${t}' is not supported`,Be.ERR_NOT_SUPPORT,r)})})})(new Response);const Fw=async e=>{if(e==null)return 0;if(J.isBlob(e))return e.size;if(J.isSpecCompliantForm(e))return(await new Request(Xt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(J.isArrayBufferView(e)||J.isArrayBuffer(e))return e.byteLength;if(J.isURLSearchParams(e)&&(e=e+""),J.isString(e))return(await Rw(e)).byteLength},Vw=async(e,t)=>{const n=J.toFiniteNumber(e.getContentLength());return n??Fw(t)},Hw=ru&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:s,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:d,withCredentials:m="same-origin",fetchOptions:f}=py(e);c=c?(c+"").toLowerCase():"text";let p=Iw([o,s&&s.toAbortSignal()],i),h;const _=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let b;try{if(l&&Mw&&n!=="get"&&n!=="head"&&(b=await Vw(d,r))!==0){let S=new Request(t,{method:"POST",body:r,duplex:"half"}),k;if(J.isFormData(r)&&(k=S.headers.get("content-type"))&&d.setContentType(k),S.body){const[L,D]=Sf(b,cl(kf(l)));r=Ef(S.body,Tf,L,D)}}J.isString(m)||(m=m?"include":"omit");const C="credentials"in Request.prototype;h=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:C?m:void 0});let w=await fetch(h);const g=Wc&&(c==="stream"||c==="response");if(Wc&&(a||g&&_)){const S={};["status","statusText","headers"].forEach(T=>{S[T]=w[T]});const k=J.toFiniteNumber(w.headers.get("content-length")),[L,D]=a&&Sf(k,cl(kf(a),!0))||[];w=new Response(Ef(w.body,Tf,L,()=>{D&&D(),_&&_()}),S)}c=c||"text";let z=await dl[J.findKey(dl,c)||"text"](w,e);return!g&&_&&_(),await new Promise((S,k)=>{my(S,k,{data:z,headers:bn.from(w.headers),status:w.status,statusText:w.statusText,config:e,request:h})})}catch(C){throw _&&_(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new Be("Network Error",Be.ERR_NETWORK,e,h),{cause:C.cause||C}):Be.from(C,C&&C.code,e,h)}}),qc={http:nw,xhr:Pw,fetch:Hw};J.forEach(qc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const $f=e=>`- ${e}`,Uw=e=>J.isFunction(e)||e===null||e===!1,gy={getAdapter:e=>{e=J.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let s=0;s<t;s++){n=e[s];let i;if(r=n,!Uw(n)&&(r=qc[(i=String(n)).toLowerCase()],r===void 0))throw new Be(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+s]=r}if(!r){const s=Object.entries(o).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since :
`+s.map($f).join(`
`):" "+$f(s[0]):"as no adapter specified";throw new Be("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:qc};function Hu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ns(null,e)}function Af(e){return Hu(e),e.headers=bn.from(e.headers),e.data=Vu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),gy.getAdapter(e.adapter||Yi.adapter)(e).then(function(r){return Hu(e),r.data=Vu.call(e,e.transformResponse,r),r.headers=bn.from(r.headers),r},function(r){return dy(r)||(Hu(e),r&&r.response&&(r.response.data=Vu.call(e,e.transformResponse,r.response),r.response.headers=bn.from(r.response.headers))),Promise.reject(r)})}const yy="1.7.9",ou={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ou[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Of={};ou.transitional=function(t,n,r){function o(s,i){return"[Axios v"+yy+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new Be(o(i," has been removed"+(n?" in "+n:"")),Be.ERR_DEPRECATED);return n&&!Of[i]&&(Of[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};ou.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function jw(e,t,n){if(typeof e!="object")throw new Be("options must be an object",Be.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new Be("option "+s+" must be "+l,Be.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Be("Unknown option "+s,Be.ERR_BAD_OPTION)}}const Ma={assertOptions:jw,validators:ou},fr=Ma.validators;class Lo{constructor(t){this.defaults=t,this.interceptors={request:new Cf,response:new Cf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Mo(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Ma.assertOptions(r,{silentJSONParsing:fr.transitional(fr.boolean),forcedJSONParsing:fr.transitional(fr.boolean),clarifyTimeoutError:fr.transitional(fr.boolean)},!1),o!=null&&(J.isFunction(o)?n.paramsSerializer={serialize:o}:Ma.assertOptions(o,{encode:fr.function,serialize:fr.function},!0)),Ma.assertOptions(n,{baseUrl:fr.spelling("baseURL"),withXsrfToken:fr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&J.merge(s.common,s[n.method]);s&&J.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=bn.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let d,m=0,f;if(!l){const h=[Af.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),f=h.length,d=Promise.resolve(n);m<f;)d=d.then(h[m++],h[m++]);return d}f=a.length;let p=n;for(m=0;m<f;){const h=a[m++],_=a[m++];try{p=h(p)}catch(b){_.call(this,b);break}}try{d=Af.call(this,p)}catch(h){return Promise.reject(h)}for(m=0,f=c.length;m<f;)d=d.then(c[m++],c[m++]);return d}getUri(t){t=Mo(this.defaults,t);const n=fy(t.baseURL,t.url);return ly(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){Lo.prototype[t]=function(n,r){return this.request(Mo(r||{},{method:t,url:n,data:(r||{}).data}))}});J.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(Mo(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Lo.prototype[t]=n(),Lo.prototype[t+"Form"]=n(!0)});class Jd{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Ns(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Jd(function(o){t=o}),cancel:t}}}function Bw(e){return function(n){return e.apply(null,n)}}function Ww(e){return J.isObject(e)&&e.isAxiosError===!0}const Gc={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(Gc).forEach(([e,t])=>{Gc[t]=e});function zy(e){const t=new Lo(e),n=Yg(Lo.prototype.request,t);return J.extend(n,Lo.prototype,t,{allOwnKeys:!0}),J.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return zy(Mo(e,o))},n}const de=zy(Yi);de.Axios=Lo;de.CanceledError=Ns;de.CancelToken=Jd;de.isCancel=dy;de.VERSION=yy;de.toFormData=nu;de.AxiosError=Be;de.Cancel=de.CanceledError;de.all=function(t){return Promise.all(t)};de.spread=Bw;de.isAxiosError=Ww;de.mergeConfig=Mo;de.AxiosHeaders=bn;de.formToJSON=e=>cy(J.isHTMLForm(e)?new FormData(e):e);de.getAdapter=gy.getAdapter;de.HttpStatusCode=Gc;de.default=de;/*!
* shared v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const ml=typeof window<"u",go=(e,t=!1)=>t?Symbol.for(e):Symbol(e),qw=(e,t,n)=>Gw({l:e,k:t,s:n}),Gw=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Rt=e=>typeof e=="number"&&isFinite(e),Kw=e=>vy(e)==="[object Date]",fl=e=>vy(e)==="[object RegExp]",su=e=>Qe(e)&&Object.keys(e).length===0,tn=Object.assign,Zw=Object.create,mt=(e=null)=>Zw(e);let Pf;const Qd=()=>Pf||(Pf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:mt());function If(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Yw=Object.prototype.hasOwnProperty;function tr(e,t){return Yw.call(e,t)}const Ut=Array.isArray,Pt=e=>typeof e=="function",we=e=>typeof e=="string",xt=e=>typeof e=="boolean",rt=e=>e!==null&&typeof e=="object",Xw=e=>rt(e)&&Pt(e.then)&&Pt(e.catch),by=Object.prototype.toString,vy=e=>by.call(e),Qe=e=>{if(!rt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Jw=e=>e==null?"":Ut(e)||Qe(e)&&e.toString===by?JSON.stringify(e,null,2):String(e);function Qw(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function iu(e){let t=e;return()=>++t}function eS(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const pa=e=>!rt(e)||Ut(e);function Fa(e,t){if(pa(e)||pa(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(rt(r[s])&&!rt(o[s])&&(o[s]=Array.isArray(r[s])?[]:mt()),pa(o[s])||pa(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}/*!
* message-compiler v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function tS(e,t,n){return{line:e,column:t,offset:n}}function pl(e,t,n){return{start:e,end:t}}const nS=/\{([0-9a-zA-Z]+)\}/g;function Cy(e,...t){return t.length===1&&rS(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(nS,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const wy=Object.assign,Lf=e=>typeof e=="string",rS=e=>e!==null&&typeof e=="object";function Sy(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const em={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},oS={[em.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function sS(e,t,...n){const r=Cy(oS[e],...n||[]),o={message:String(r),code:e};return t&&(o.location=t),o}const Le={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,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},iS={[Le.EXPECTED_TOKEN]:"Expected token: '{0}'",[Le.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Le.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Le.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Le.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Le.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Le.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Le.EMPTY_PLACEHOLDER]:"Empty placeholder",[Le.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Le.INVALID_LINKED_FORMAT]:"Invalid linked format",[Le.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Le.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Le.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Le.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Le.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Le.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ds(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=Cy((o||iS)[e]||"",...s||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function aS(e){throw e}const Er=" ",lS="\r",on=`
`,uS="\u2028",cS="\u2029";function dS(e){const t=e;let n=0,r=1,o=1,s=0;const i=L=>t[L]===lS&&t[L+1]===on,a=L=>t[L]===on,l=L=>t[L]===cS,c=L=>t[L]===uS,d=L=>i(L)||a(L)||l(L)||c(L),m=()=>n,f=()=>r,p=()=>o,h=()=>s,_=L=>i(L)||l(L)||c(L)?on:t[L],b=()=>_(n),C=()=>_(n+s);function w(){return s=0,d(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function g(){return i(n+s)&&s++,s++,t[n+s]}function z(){n=0,r=1,o=1,s=0}function S(L=0){s=L}function k(){const L=n+s;for(;L!==n;)w();s=0}return{index:m,line:f,column:p,peekOffset:h,charAt:_,currentChar:b,currentPeek:C,next:w,peek:g,reset:z,resetPeek:S,skipToPeek:k}}const Wr=void 0,mS=".",Nf="'",fS="tokenizer";function pS(e,t={}){const n=t.location!==!1,r=dS(e),o=()=>r.index(),s=()=>tS(r.line(),r.column(),r.index()),i=s(),a=o(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:d}=t;function m(E,$,R,...oe){const ae=c();if($.column+=R,$.offset+=R,d){const se=n?pl(ae.startLoc,$):null,V=Ds(E,se,{domain:fS,args:oe});d(V)}}function f(E,$,R){E.endLoc=s(),E.currentType=$;const oe={type:$};return n&&(oe.loc=pl(E.startLoc,E.endLoc)),R!=null&&(oe.value=R),oe}const p=E=>f(E,14);function h(E,$){return E.currentChar()===$?(E.next(),$):(m(Le.EXPECTED_TOKEN,s(),0,$),"")}function _(E){let $="";for(;E.currentPeek()===Er||E.currentPeek()===on;)$+=E.currentPeek(),E.peek();return $}function b(E){const $=_(E);return E.skipToPeek(),$}function C(E){if(E===Wr)return!1;const $=E.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$===95}function w(E){if(E===Wr)return!1;const $=E.charCodeAt(0);return $>=48&&$<=57}function g(E,$){const{currentType:R}=$;if(R!==2)return!1;_(E);const oe=C(E.currentPeek());return E.resetPeek(),oe}function z(E,$){const{currentType:R}=$;if(R!==2)return!1;_(E);const oe=E.currentPeek()==="-"?E.peek():E.currentPeek(),ae=w(oe);return E.resetPeek(),ae}function S(E,$){const{currentType:R}=$;if(R!==2)return!1;_(E);const oe=E.currentPeek()===Nf;return E.resetPeek(),oe}function k(E,$){const{currentType:R}=$;if(R!==8)return!1;_(E);const oe=E.currentPeek()===".";return E.resetPeek(),oe}function L(E,$){const{currentType:R}=$;if(R!==9)return!1;_(E);const oe=C(E.currentPeek());return E.resetPeek(),oe}function D(E,$){const{currentType:R}=$;if(!(R===8||R===12))return!1;_(E);const oe=E.currentPeek()===":";return E.resetPeek(),oe}function T(E,$){const{currentType:R}=$;if(R!==10)return!1;const oe=()=>{const se=E.currentPeek();return se==="{"?C(E.peek()):se==="@"||se==="%"||se==="|"||se===":"||se==="."||se===Er||!se?!1:se===on?(E.peek(),oe()):U(E,!1)},ae=oe();return E.resetPeek(),ae}function F(E){_(E);const $=E.currentPeek()==="|";return E.resetPeek(),$}function G(E){const $=_(E),R=E.currentPeek()==="%"&&E.peek()==="{";return E.resetPeek(),{isModulo:R,hasSpace:$.length>0}}function U(E,$=!0){const R=(ae=!1,se="",V=!1)=>{const Y=E.currentPeek();return Y==="{"?se==="%"?!1:ae:Y==="@"||!Y?se==="%"?!0:ae:Y==="%"?(E.peek(),R(ae,"%",!0)):Y==="|"?se==="%"||V?!0:!(se===Er||se===on):Y===Er?(E.peek(),R(!0,Er,V)):Y===on?(E.peek(),R(!0,on,V)):!0},oe=R();return $&&E.resetPeek(),oe}function W(E,$){const R=E.currentChar();return R===Wr?Wr:$(R)?(E.next(),R):null}function ee(E){const $=E.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36}function fe(E){return W(E,ee)}function K(E){const $=E.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36||$===45}function ne(E){return W(E,K)}function ue(E){const $=E.charCodeAt(0);return $>=48&&$<=57}function Ne(E){return W(E,ue)}function it(E){const $=E.charCodeAt(0);return $>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102}function Ve(E){return W(E,it)}function He(E){let $="",R="";for(;$=Ne(E);)R+=$;return R}function at(E){b(E);const $=E.currentChar();return $!=="%"&&m(Le.EXPECTED_TOKEN,s(),0,$),E.next(),"%"}function lt(E){let $="";for(;;){const R=E.currentChar();if(R==="{"||R==="}"||R==="@"||R==="|"||!R)break;if(R==="%")if(U(E))$+=R,E.next();else break;else if(R===Er||R===on)if(U(E))$+=R,E.next();else{if(F(E))break;$+=R,E.next()}else $+=R,E.next()}return $}function dt(E){b(E);let $="",R="";for(;$=ne(E);)R+=$;return E.currentChar()===Wr&&m(Le.UNTERMINATED_CLOSING_BRACE,s(),0),R}function We(E){b(E);let $="";return E.currentChar()==="-"?(E.next(),$+=`-${He(E)}`):$+=He(E),E.currentChar()===Wr&&m(Le.UNTERMINATED_CLOSING_BRACE,s(),0),$}function Z(E){return E!==Nf&&E!==on}function me(E){b(E),h(E,"'");let $="",R="";for(;$=W(E,Z);)$==="\\"?R+=ce(E):R+=$;const oe=E.currentChar();return oe===on||oe===Wr?(m(Le.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),oe===on&&(E.next(),h(E,"'")),R):(h(E,"'"),R)}function ce(E){const $=E.currentChar();switch($){case"\\":case"'":return E.next(),`\\${$}`;case"u":return ye(E,$,4);case"U":return ye(E,$,6);default:return m(Le.UNKNOWN_ESCAPE_SEQUENCE,s(),0,$),""}}function ye(E,$,R){h(E,$);let oe="";for(let ae=0;ae<R;ae++){const se=Ve(E);if(!se){m(Le.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${$}${oe}${E.currentChar()}`);break}oe+=se}return`\\${$}${oe}`}function Ue(E){return E!=="{"&&E!=="}"&&E!==Er&&E!==on}function Ge(E){b(E);let $="",R="";for(;$=W(E,Ue);)R+=$;return R}function A(E){let $="",R="";for(;$=fe(E);)R+=$;return R}function P(E){const $=R=>{const oe=E.currentChar();return oe==="{"||oe==="%"||oe==="@"||oe==="|"||oe==="("||oe===")"||!oe||oe===Er?R:(R+=oe,E.next(),$(R))};return $("")}function j(E){b(E);const $=h(E,"|");return b(E),$}function te(E,$){let R=null;switch(E.currentChar()){case"{":return $.braceNest>=1&&m(Le.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),E.next(),R=f($,2,"{"),b(E),$.braceNest++,R;case"}":return $.braceNest>0&&$.currentType===2&&m(Le.EMPTY_PLACEHOLDER,s(),0),E.next(),R=f($,3,"}"),$.braceNest--,$.braceNest>0&&b(E),$.inLinked&&$.braceNest===0&&($.inLinked=!1),R;case"@":return $.braceNest>0&&m(Le.UNTERMINATED_CLOSING_BRACE,s(),0),R=X(E,$)||p($),$.braceNest=0,R;default:{let ae=!0,se=!0,V=!0;if(F(E))return $.braceNest>0&&m(Le.UNTERMINATED_CLOSING_BRACE,s(),0),R=f($,1,j(E)),$.braceNest=0,$.inLinked=!1,R;if($.braceNest>0&&($.currentType===5||$.currentType===6||$.currentType===7))return m(Le.UNTERMINATED_CLOSING_BRACE,s(),0),$.braceNest=0,ie(E,$);if(ae=g(E,$))return R=f($,5,dt(E)),b(E),R;if(se=z(E,$))return R=f($,6,We(E)),b(E),R;if(V=S(E,$))return R=f($,7,me(E)),b(E),R;if(!ae&&!se&&!V)return R=f($,13,Ge(E)),m(Le.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,R.value),b(E),R;break}}return R}function X(E,$){const{currentType:R}=$;let oe=null;const ae=E.currentChar();switch((R===8||R===9||R===12||R===10)&&(ae===on||ae===Er)&&m(Le.INVALID_LINKED_FORMAT,s(),0),ae){case"@":return E.next(),oe=f($,8,"@"),$.inLinked=!0,oe;case".":return b(E),E.next(),f($,9,".");case":":return b(E),E.next(),f($,10,":");default:return F(E)?(oe=f($,1,j(E)),$.braceNest=0,$.inLinked=!1,oe):k(E,$)||D(E,$)?(b(E),X(E,$)):L(E,$)?(b(E),f($,12,A(E))):T(E,$)?(b(E),ae==="{"?te(E,$)||oe:f($,11,P(E))):(R===8&&m(Le.INVALID_LINKED_FORMAT,s(),0),$.braceNest=0,$.inLinked=!1,ie(E,$))}}function ie(E,$){let R={type:14};if($.braceNest>0)return te(E,$)||p($);if($.inLinked)return X(E,$)||p($);switch(E.currentChar()){case"{":return te(E,$)||p($);case"}":return m(Le.UNBALANCED_CLOSING_BRACE,s(),0),E.next(),f($,3,"}");case"@":return X(E,$)||p($);default:{if(F(E))return R=f($,1,j(E)),$.braceNest=0,$.inLinked=!1,R;const{isModulo:ae,hasSpace:se}=G(E);if(ae)return se?f($,0,lt(E)):f($,4,at(E));if(U(E))return f($,0,lt(E));break}}return R}function pe(){const{currentType:E,offset:$,startLoc:R,endLoc:oe}=l;return l.lastType=E,l.lastOffset=$,l.lastStartLoc=R,l.lastEndLoc=oe,l.offset=o(),l.startLoc=s(),r.currentChar()===Wr?f(l,14):ie(r,l)}return{nextToken:pe,currentOffset:o,currentPosition:s,context:c}}const hS="parser",_S=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function gS(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"<22>"}}}function yS(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function o(g,z,S,k,...L){const D=g.currentPosition();if(D.offset+=k,D.column+=k,n){const T=t?pl(S,D):null,F=Ds(z,T,{domain:hS,args:L});n(F)}}function s(g,z,S,k,...L){const D=g.currentPosition();if(D.offset+=k,D.column+=k,r){const T=t?pl(S,D):null;r(sS(z,T,L))}}function i(g,z,S){const k={type:g};return t&&(k.start=z,k.end=z,k.loc={start:S,end:S}),k}function a(g,z,S,k){t&&(g.end=z,g.loc&&(g.loc.end=S))}function l(g,z){const S=g.context(),k=i(3,S.offset,S.startLoc);return k.value=z,a(k,g.currentOffset(),g.currentPosition()),k}function c(g,z){const S=g.context(),{lastOffset:k,lastStartLoc:L}=S,D=i(5,k,L);return D.index=parseInt(z,10),g.nextToken(),a(D,g.currentOffset(),g.currentPosition()),D}function d(g,z,S){const k=g.context(),{lastOffset:L,lastStartLoc:D}=k,T=i(4,L,D);return T.key=z,S===!0&&(T.modulo=!0),g.nextToken(),a(T,g.currentOffset(),g.currentPosition()),T}function m(g,z){const S=g.context(),{lastOffset:k,lastStartLoc:L}=S,D=i(9,k,L);return D.value=z.replace(_S,gS),g.nextToken(),a(D,g.currentOffset(),g.currentPosition()),D}function f(g){const z=g.nextToken(),S=g.context(),{lastOffset:k,lastStartLoc:L}=S,D=i(8,k,L);return z.type!==12?(o(g,Le.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),D.value="",a(D,k,L),{nextConsumeToken:z,node:D}):(z.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Kn(z)),D.value=z.value||"",a(D,g.currentOffset(),g.currentPosition()),{node:D})}function p(g,z){const S=g.context(),k=i(7,S.offset,S.startLoc);return k.value=z,a(k,g.currentOffset(),g.currentPosition()),k}function h(g){const z=g.context(),S=i(6,z.offset,z.startLoc);let k=g.nextToken();if(k.type===9){const L=f(g);S.modifier=L.node,k=L.nextConsumeToken||g.nextToken()}switch(k.type!==10&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Kn(k)),k=g.nextToken(),k.type===2&&(k=g.nextToken()),k.type){case 11:k.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Kn(k)),S.key=p(g,k.value||"");break;case 5:k.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Kn(k)),S.key=d(g,k.value||"");break;case 6:k.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Kn(k)),S.key=c(g,k.value||"");break;case 7:k.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Kn(k)),S.key=m(g,k.value||"");break;default:{o(g,Le.UNEXPECTED_EMPTY_LINKED_KEY,z.lastStartLoc,0);const L=g.context(),D=i(7,L.offset,L.startLoc);return D.value="",a(D,L.offset,L.startLoc),S.key=D,a(S,L.offset,L.startLoc),{nextConsumeToken:k,node:S}}}return a(S,g.currentOffset(),g.currentPosition()),{node:S}}function _(g){const z=g.context(),S=z.currentType===1?g.currentOffset():z.offset,k=z.currentType===1?z.endLoc:z.startLoc,L=i(2,S,k);L.items=[];let D=null,T=null;do{const U=D||g.nextToken();switch(D=null,U.type){case 0:U.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Kn(U)),L.items.push(l(g,U.value||""));break;case 6:U.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Kn(U)),L.items.push(c(g,U.value||""));break;case 4:T=!0;break;case 5:U.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Kn(U)),L.items.push(d(g,U.value||"",!!T)),T&&(s(g,em.USE_MODULO_SYNTAX,z.lastStartLoc,0,Kn(U)),T=null);break;case 7:U.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Kn(U)),L.items.push(m(g,U.value||""));break;case 8:{const W=h(g);L.items.push(W.node),D=W.nextConsumeToken||null;break}}}while(z.currentType!==14&&z.currentType!==1);const F=z.currentType===1?z.lastOffset:g.currentOffset(),G=z.currentType===1?z.lastEndLoc:g.currentPosition();return a(L,F,G),L}function b(g,z,S,k){const L=g.context();let D=k.items.length===0;const T=i(1,z,S);T.cases=[],T.cases.push(k);do{const F=_(g);D||(D=F.items.length===0),T.cases.push(F)}while(L.currentType!==14);return D&&o(g,Le.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),a(T,g.currentOffset(),g.currentPosition()),T}function C(g){const z=g.context(),{offset:S,startLoc:k}=z,L=_(g);return z.currentType===14?L:b(g,S,k,L)}function w(g){const z=pS(g,wy({},e)),S=z.context(),k=i(0,S.offset,S.startLoc);return t&&k.loc&&(k.loc.source=g),k.body=C(z),e.onCacheKey&&(k.cacheKey=e.onCacheKey(g)),S.currentType!==14&&o(z,Le.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,g[S.offset]||""),a(k,z.currentOffset(),z.currentPosition()),k}return{parse:w}}function Kn(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function zS(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Df(e,t){for(let n=0;n<e.length;n++)tm(e[n],t)}function tm(e,t){switch(e.type){case 1:Df(e.cases,t),t.helper("plural");break;case 2:Df(e.items,t);break;case 6:{tm(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function bS(e,t={}){const n=zS(e);n.helper("normalize"),e.body&&tm(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function vS(e){const t=e.body;return t.type===2?Rf(t):t.cases.forEach(n=>Rf(n)),e}function Rf(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Sy(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const CS="minifier";function rs(e){switch(e.t=e.type,e.type){case 0:{const t=e;rs(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)rs(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)rs(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;rs(t.key),t.k=t.key,delete t.key,t.modifier&&(rs(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw Ds(Le.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:CS,args:[e.type]})}delete e.type}const wS="parser";function SS(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:s}=t,i=t.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:s,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const l=()=>a;function c(b,C){a.code+=b}function d(b,C=!0){const w=C?o:"";c(s?w+" ".repeat(b):w)}function m(b=!0){const C=++a.indentLevel;b&&d(C)}function f(b=!0){const C=--a.indentLevel;b&&d(C)}function p(){d(a.indentLevel)}return{context:l,push:c,indent:m,deindent:f,newline:p,helper:b=>`_${b}`,needIndent:()=>a.needIndent}}function kS(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ss(e,t.key),t.modifier?(e.push(", "),Ss(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function xS(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(Ss(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function ES(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(Ss(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function TS(e,t){t.body?Ss(e,t.body):e.push("null")}function Ss(e,t){const{helper:n}=e;switch(t.type){case 0:TS(e,t);break;case 1:ES(e,t);break;case 2:xS(e,t);break;case 6:kS(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw Ds(Le.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:wS,args:[t.type]})}}const $S=(e,t={})=>{const n=Lf(t.mode)?t.mode:"normal",r=Lf(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=SS(e,{mode:n,filename:r,sourceMap:o,breakLineCode:s,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${Sy(a.map(m=>`${m}: _${m}`),", ")} } = ctx`),l.newline()),l.push("return "),Ss(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:c,map:d}=l.context();return{ast:e,code:c,map:d?d.toJSON():void 0}};function AS(e,t={}){const n=wy({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=yS(n).parse(e);return r?(s&&vS(a),o&&rs(a),{ast:a,code:""}):(bS(a,n),$S(a,n))}/*!
* core-base v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function OS(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qd().__INTLIFY_PROD_DEVTOOLS__=!1)}const yo=[];yo[0]={w:[0],i:[3,0],"[":[4],o:[7]};yo[1]={w:[1],".":[2],"[":[4],o:[7]};yo[2]={w:[2],i:[3,0],0:[3,0]};yo[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};yo[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};yo[5]={"'":[4,0],o:8,l:[5,0]};yo[6]={'"':[4,0],o:8,l:[6,0]};const PS=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function IS(e){return PS.test(e)}function LS(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function NS(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;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 DS(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:IS(t)?LS(t):"*"+t}function RS(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,c,d,m;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,r=4,f[0]();else{if(o=0,i===void 0||(i=DS(i),i===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,f[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=NS(s),m=yo[r],c=m[l]||m.l||8,c===8||(r=c[0],c[1]!==void 0&&(d=f[c[1]],d&&(a=s,d()===!1))))return;if(r===7)return t}}const Mf=new Map;function MS(e,t){return rt(e)?e[t]:null}function FS(e,t){if(!rt(e))return null;let n=Mf.get(t);if(n||(n=RS(t),n&&Mf.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=o[n[s]];if(i===void 0||Pt(o))return null;o=i,s++}return o}const VS=e=>e,HS=e=>"",US="text",jS=e=>e.length===0?"":Qw(e),BS=Jw;function Ff(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function WS(e){const t=Rt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Rt(e.named.count)||Rt(e.named.n))?Rt(e.named.count)?e.named.count:Rt(e.named.n)?e.named.n:t:t}function qS(e,t){t.count||(t.count=e),t.n||(t.n=e)}function GS(e={}){const t=e.locale,n=WS(e),r=rt(e.pluralRules)&&we(t)&&Pt(e.pluralRules[t])?e.pluralRules[t]:Ff,o=rt(e.pluralRules)&&we(t)&&Pt(e.pluralRules[t])?Ff:void 0,s=C=>C[r(n,C.length,o)],i=e.list||[],a=C=>i[C],l=e.named||mt();Rt(e.pluralIndex)&&qS(n,l);const c=C=>l[C];function d(C){const w=Pt(e.messages)?e.messages(C):rt(e.messages)?e.messages[C]:!1;return w||(e.parent?e.parent.message(C):HS)}const m=C=>e.modifiers?e.modifiers[C]:VS,f=Qe(e.processor)&&Pt(e.processor.normalize)?e.processor.normalize:jS,p=Qe(e.processor)&&Pt(e.processor.interpolate)?e.processor.interpolate:BS,h=Qe(e.processor)&&we(e.processor.type)?e.processor.type:US,b={list:a,named:c,plural:s,linked:(C,...w)=>{const[g,z]=w;let S="text",k="";w.length===1?rt(g)?(k=g.modifier||k,S=g.type||S):we(g)&&(k=g||k):w.length===2&&(we(g)&&(k=g||k),we(z)&&(S=z||S));const L=d(C)(b),D=S==="vnode"&&Ut(L)&&k?L[0]:L;return k?m(k)(D,S):D},message:d,type:h,interpolate:p,normalize:f,values:tn(mt(),i,l)};return b}let Di=null;function KS(e){Di=e}function ZS(e,t,n){Di&&Di.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const YS=XS("function:translate");function XS(e){return t=>Di&&Di.emit(e,t)}const ky=em.__EXTEND_POINT__,Co=iu(ky),JS={NOT_FOUND_KEY:ky,FALLBACK_TO_TRANSLATE:Co(),CANNOT_FORMAT_NUMBER:Co(),FALLBACK_TO_NUMBER_FORMAT:Co(),CANNOT_FORMAT_DATE:Co(),FALLBACK_TO_DATE_FORMAT:Co(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Co(),__EXTEND_POINT__:Co()},xy=Le.__EXTEND_POINT__,wo=iu(xy),br={INVALID_ARGUMENT:xy,INVALID_DATE_ARGUMENT:wo(),INVALID_ISO_DATE_ARGUMENT:wo(),NOT_SUPPORT_NON_STRING_MESSAGE:wo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:wo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:wo(),NOT_SUPPORT_LOCALE_TYPE:wo(),__EXTEND_POINT__:wo()};function Lr(e){return Ds(e,null,void 0)}function nm(e,t){return t.locale!=null?Vf(t.locale):Vf(e.locale)}let Uu;function Vf(e){if(we(e))return e;if(Pt(e)){if(e.resolvedOnce&&Uu!=null)return Uu;if(e.constructor.name==="Function"){const t=e();if(Xw(t))throw Lr(br.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Uu=t}else throw Lr(br.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Lr(br.NOT_SUPPORT_LOCALE_TYPE)}function QS(e,t,n){return[...new Set([n,...Ut(t)?t:rt(t)?Object.keys(t):we(t)?[t]:[n]])]}function Ey(e,t,n){const r=we(n)?n:hl,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Ut(i);)i=Hf(s,i,t);const a=Ut(t)||!Qe(t)?t:t.default?t.default:null;i=we(a)?[a]:a,Ut(i)&&Hf(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Hf(e,t,n){let r=!0;for(let o=0;o<t.length&&xt(r);o++){const s=t[o];we(s)&&(r=ek(e,t[o],n))}return r}function ek(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=tk(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function tk(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Ut(n)||Qe(n))&&n[o]&&(r=n[o])}return r}const nk="9.14.2",au=-1,hl="en-US",Uf="",jf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function rk(){return{upper:(e,t)=>t==="text"&&we(e)?e.toUpperCase():t==="vnode"&&rt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&we(e)?e.toLowerCase():t==="vnode"&&rt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&we(e)?jf(e):t==="vnode"&&rt(e)&&"__v_isVNode"in e?jf(e.children):e}}let Ty;function ok(e){Ty=e}let $y;function sk(e){$y=e}let Ay;function ik(e){Ay=e}let Oy=null;const ak=e=>{Oy=e},lk=()=>Oy;let Py=null;const Bf=e=>{Py=e},uk=()=>Py;let Wf=0;function ck(e={}){const t=Pt(e.onWarn)?e.onWarn:eS,n=we(e.version)?e.version:nk,r=we(e.locale)||Pt(e.locale)?e.locale:hl,o=Pt(r)?hl:r,s=Ut(e.fallbackLocale)||Qe(e.fallbackLocale)||we(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Qe(e.messages)?e.messages:ju(o),a=Qe(e.datetimeFormats)?e.datetimeFormats:ju(o),l=Qe(e.numberFormats)?e.numberFormats:ju(o),c=tn(mt(),e.modifiers,rk()),d=e.pluralRules||mt(),m=Pt(e.missing)?e.missing:null,f=xt(e.missingWarn)||fl(e.missingWarn)?e.missingWarn:!0,p=xt(e.fallbackWarn)||fl(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,_=!!e.unresolving,b=Pt(e.postTranslation)?e.postTranslation:null,C=Qe(e.processor)?e.processor:null,w=xt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter,z=Pt(e.messageCompiler)?e.messageCompiler:Ty,S=Pt(e.messageResolver)?e.messageResolver:$y||MS,k=Pt(e.localeFallbacker)?e.localeFallbacker:Ay||QS,L=rt(e.fallbackContext)?e.fallbackContext:void 0,D=e,T=rt(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,F=rt(D.__numberFormatters)?D.__numberFormatters:new Map,G=rt(D.__meta)?D.__meta:{};Wf++;const U={version:n,cid:Wf,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:d,missing:m,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:_,postTranslation:b,processor:C,warnHtmlMessage:w,escapeParameter:g,messageCompiler:z,messageResolver:S,localeFallbacker:k,fallbackContext:L,onWarn:t,__meta:G};return U.datetimeFormats=a,U.numberFormats=l,U.__datetimeFormatters=T,U.__numberFormatters=F,__INTLIFY_PROD_DEVTOOLS__&&ZS(U,n,G),U}const ju=e=>({[e]:mt()});function rm(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return we(a)?a:t}else return t}function Ws(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function dk(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function mk(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(dk(e,t[r]))return!0;return!1}function Bu(e){return n=>fk(n,e)}function fk(e,t){const n=hk(t);if(n==null)throw Ri(0);if(om(n)===1){const s=gk(n);return e.plural(s.reduce((i,a)=>[...i,qf(e,a)],[]))}else return qf(e,n)}const pk=["b","body"];function hk(e){return zo(e,pk)}const _k=["c","cases"];function gk(e){return zo(e,_k,[])}function qf(e,t){const n=zk(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=vk(t).reduce((o,s)=>[...o,Kc(e,s)],[]);return e.normalize(r)}}const yk=["s","static"];function zk(e){return zo(e,yk)}const bk=["i","items"];function vk(e){return zo(e,bk,[])}function Kc(e,t){const n=om(t);switch(n){case 3:return ha(t,n);case 9:return ha(t,n);case 4:{const r=t;if(tr(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(tr(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Ri(n)}case 5:{const r=t;if(tr(r,"i")&&Rt(r.i))return e.interpolate(e.list(r.i));if(tr(r,"index")&&Rt(r.index))return e.interpolate(e.list(r.index));throw Ri(n)}case 6:{const r=t,o=kk(r),s=Ek(r);return e.linked(Kc(e,s),o?Kc(e,o):void 0,e.type)}case 7:return ha(t,n);case 8:return ha(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Ck=["t","type"];function om(e){return zo(e,Ck)}const wk=["v","value"];function ha(e,t){const n=zo(e,wk);if(n)return n;throw Ri(t)}const Sk=["m","modifier"];function kk(e){return zo(e,Sk)}const xk=["k","key"];function Ek(e){const t=zo(e,xk);if(t)return t;throw Ri(6)}function zo(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(tr(e,o)&&e[o]!=null)return e[o]}return n}function Ri(e){return new Error(`unhandled node type: ${e}`)}const Tk=e=>e;let _a=mt();function ks(e){return rt(e)&&om(e)===0&&(tr(e,"b")||tr(e,"body"))}function $k(e,t={}){let n=!1;const r=t.onError||aS;return t.onError=o=>{n=!0,r(o)},{...AS(e,t),detectError:n}}function Ak(e,t){if(we(e)){xt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Tk)(e),o=_a[r];if(o)return o;const{ast:s,detectError:i}=$k(e,{...t,location:!1,jit:!0}),a=Bu(s);return i?a:_a[r]=a}else{const n=e.cacheKey;if(n){const r=_a[n];return r||(_a[n]=Bu(e))}else return Bu(e)}}const Gf=()=>"",Nn=e=>Pt(e);function Kf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=Zc(...t),d=xt(c.missingWarn)?c.missingWarn:e.missingWarn,m=xt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=xt(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=we(c.default)||xt(c.default)?xt(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:"",_=n||h!=="",b=nm(e,c);f&&Ok(c);let[C,w,g]=p?[l,b,a[b]||mt()]:Iy(e,l,b,i,m,d),z=C,S=l;if(!p&&!(we(z)||ks(z)||Nn(z))&&_&&(z=h,S=z),!p&&(!(we(z)||ks(z)||Nn(z))||!we(w)))return o?au:l;let k=!1;const L=()=>{k=!0},D=Nn(z)?z:Ly(e,l,w,z,S,L);if(k)return z;const T=Lk(e,w,g,c),F=GS(T),G=Pk(e,D,F),U=r?r(G,l):G;if(__INTLIFY_PROD_DEVTOOLS__){const W={timestamp:Date.now(),key:we(l)?l:Nn(z)?z.key:"",locale:w||(Nn(z)?z.locale:""),format:we(z)?z:Nn(z)?z.source:"",message:U};W.meta=tn({},e.__meta,lk()||{}),YS(W)}return U}function Ok(e){Ut(e.list)?e.list=e.list.map(t=>we(t)?If(t):t):rt(e.named)&&Object.keys(e.named).forEach(t=>{we(e.named[t])&&(e.named[t]=If(e.named[t]))})}function Iy(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,d=c(e,r,n);let m=mt(),f,p=null;const h="translate";for(let _=0;_<d.length&&(f=d[_],m=i[f]||mt(),(p=l(m,t))===null&&(p=m[t]),!(we(p)||ks(p)||Nn(p)));_++)if(!mk(f,d)){const b=rm(e,t,f,s,h);b!==t&&(p=b)}return[p,f,m]}function Ly(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Nn(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=()=>r;return c.locale=n,c.key=t,c}const l=i(r,Ik(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function Pk(e,t,n){return t(n)}function Zc(...e){const[t,n,r]=e,o=mt();if(!we(t)&&!Rt(t)&&!Nn(t)&&!ks(t))throw Lr(br.INVALID_ARGUMENT);const s=Rt(t)?String(t):(Nn(t),t);return Rt(n)?o.plural=n:we(n)?o.default=n:Qe(n)&&!su(n)?o.named=n:Ut(n)&&(o.list=n),Rt(r)?o.plural=r:we(r)?o.default=r:Qe(r)&&tn(o,r),[s,o]}function Ik(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>qw(t,n,i)}}function Lk(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,f={locale:t,modifiers:o,pluralRules:s,messages:p=>{let h=i(n,p);if(h==null&&d){const[,,_]=Iy(d,p,t,a,l,c);h=i(_,p)}if(we(h)||ks(h)){let _=!1;const C=Ly(e,p,t,h,p,()=>{_=!0});return _?Gf:C}else return Nn(h)?h:Gf}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),Rt(r.plural)&&(f.pluralIndex=r.plural),f}function Zf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,c,d,m]=Yc(...t),f=xt(d.missingWarn)?d.missingWarn:e.missingWarn;xt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=nm(e,d),_=i(e,o,h);if(!we(l)||l==="")return new Intl.DateTimeFormat(h,m).format(c);let b={},C,w=null;const g="datetime format";for(let k=0;k<_.length&&(C=_[k],b=n[C]||{},w=b[l],!Qe(w));k++)rm(e,l,C,f,g);if(!Qe(w)||!we(C))return r?au:l;let z=`${C}__${l}`;su(m)||(z=`${z}__${JSON.stringify(m)}`);let S=a.get(z);return S||(S=new Intl.DateTimeFormat(C,tn({},w,m)),a.set(z,S)),p?S.formatToParts(c):S.format(c)}const Ny=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Yc(...e){const[t,n,r,o]=e,s=mt();let i=mt(),a;if(we(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Lr(br.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 Lr(br.INVALID_ISO_DATE_ARGUMENT)}}else if(Kw(t)){if(isNaN(t.getTime()))throw Lr(br.INVALID_DATE_ARGUMENT);a=t}else if(Rt(t))a=t;else throw Lr(br.INVALID_ARGUMENT);return we(n)?s.key=n:Qe(n)&&Object.keys(n).forEach(l=>{Ny.includes(l)?i[l]=n[l]:s[l]=n[l]}),we(r)?s.locale=r:Qe(r)&&(i=r),Qe(o)&&(i=o),[s.key||"",a,s,i]}function Yf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Xf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,c,d,m]=Xc(...t),f=xt(d.missingWarn)?d.missingWarn:e.missingWarn;xt(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=nm(e,d),_=i(e,o,h);if(!we(l)||l==="")return new Intl.NumberFormat(h,m).format(c);let b={},C,w=null;const g="number format";for(let k=0;k<_.length&&(C=_[k],b=n[C]||{},w=b[l],!Qe(w));k++)rm(e,l,C,f,g);if(!Qe(w)||!we(C))return r?au:l;let z=`${C}__${l}`;su(m)||(z=`${z}__${JSON.stringify(m)}`);let S=a.get(z);return S||(S=new Intl.NumberFormat(C,tn({},w,m)),a.set(z,S)),p?S.formatToParts(c):S.format(c)}const Dy=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Xc(...e){const[t,n,r,o]=e,s=mt();let i=mt();if(!Rt(t))throw Lr(br.INVALID_ARGUMENT);const a=t;return we(n)?s.key=n:Qe(n)&&Object.keys(n).forEach(l=>{Dy.includes(l)?i[l]=n[l]:s[l]=n[l]}),we(r)?s.locale=r:Qe(r)&&(i=r),Qe(o)&&(i=o),[s.key||"",a,s,i]}function Jf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}OS();/*!
* vue-i18n v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const Nk="9.14.2";function Dk(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qd().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ry=JS.__EXTEND_POINT__,Tr=iu(Ry);Tr(),Tr(),Tr(),Tr(),Tr(),Tr(),Tr(),Tr(),Tr();const My=br.__EXTEND_POINT__,mn=iu(My),Bn={UNEXPECTED_RETURN_TYPE:My,INVALID_ARGUMENT:mn(),MUST_BE_CALL_SETUP_TOP:mn(),NOT_INSTALLED:mn(),NOT_AVAILABLE_IN_LEGACY_MODE:mn(),REQUIRED_VALUE:mn(),INVALID_VALUE:mn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:mn(),NOT_INSTALLED_WITH_PROVIDE:mn(),UNEXPECTED_ERROR:mn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:mn(),BRIDGE_SUPPORT_VUE_2_ONLY:mn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:mn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:mn(),__EXTEND_POINT__:mn()};function sr(e,...t){return Ds(e,null,void 0)}const Jc=go("__translateVNode"),Qc=go("__datetimeParts"),ed=go("__numberParts"),Rk=go("__setPluralRules"),Mk=go("__injectWithOption"),td=go("__dispose");function Mi(e){if(!rt(e))return e;for(const t in e)if(tr(e,t))if(!t.includes("."))rt(e[t])&&Mi(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]in o||(o[n[i]]=mt()),!rt(o[n[i]])){s=!0;break}o=o[n[i]]}s||(o[n[r]]=e[t],delete e[t]),rt(o[n[r]])&&Mi(o[n[r]])}return e}function Fy(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Qe(n)?n:Ut(r)?mt():{[e]:mt()};if(Ut(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||mt(),Fa(c,i[l])):Fa(c,i)}else we(a)&&Fa(JSON.parse(a),i)}),o==null&&s)for(const a in i)tr(i,a)&&Mi(i[a]);return i}function Vy(e){return e.type}function Fk(e,t,n){let r=rt(t.messages)?t.messages:mt();"__i18nGlobal"in n&&(r=Fy(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(rt(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(rt(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Qf(e){return v(Nr,null,e,0)}const ep="__INTLIFY_META__",tp=()=>[],Vk=()=>!1;let np=0;function rp(e){return(t,n,r,o)=>e(n,r,cn()||void 0,o)}const Hk=()=>{const e=cn();let t=null;return e&&(t=Vy(e)[ep])?{[ep]:t}:null};function Hy(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,i=ml?Fn:Ul,a=!!e.translateExistCompatible;let l=xt(e.inheritLocale)?e.inheritLocale:!0;const c=i(n&&l?n.locale.value:we(e.locale)?e.locale:hl),d=i(n&&l?n.fallbackLocale.value:we(e.fallbackLocale)||Ut(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),m=i(Fy(c.value,e)),f=i(Qe(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),p=i(Qe(e.numberFormats)?e.numberFormats:{[c.value]:{}});let h=n?n.missingWarn:xt(e.missingWarn)||fl(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:xt(e.fallbackWarn)||fl(e.fallbackWarn)?e.fallbackWarn:!0,b=n?n.fallbackRoot:xt(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,w=Pt(e.missing)?e.missing:null,g=Pt(e.missing)?rp(e.missing):null,z=Pt(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:xt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter;const L=n?n.modifiers:Qe(e.modifiers)?e.modifiers:{};let D=e.pluralRules||n&&n.pluralRules,T;T=(()=>{o&&Bf(null);const V={version:Nk,locale:c.value,fallbackLocale:d.value,messages:m.value,modifiers:L,pluralRules:D,missing:g===null?void 0:g,missingWarn:h,fallbackWarn:_,fallbackFormat:C,unresolving:!0,postTranslation:z===null?void 0:z,warnHtmlMessage:S,escapeParameter:k,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};V.datetimeFormats=f.value,V.numberFormats=p.value,V.__datetimeFormatters=Qe(T)?T.__datetimeFormatters:void 0,V.__numberFormatters=Qe(T)?T.__numberFormatters:void 0;const Y=ck(V);return o&&Bf(Y),Y})(),Ws(T,c.value,d.value);function G(){return[c.value,d.value,m.value,f.value,p.value]}const U=jt({get:()=>c.value,set:V=>{c.value=V,T.locale=c.value}}),W=jt({get:()=>d.value,set:V=>{d.value=V,T.fallbackLocale=d.value,Ws(T,c.value,V)}}),ee=jt(()=>m.value),fe=jt(()=>f.value),K=jt(()=>p.value);function ne(){return Pt(z)?z:null}function ue(V){z=V,T.postTranslation=V}function Ne(){return w}function it(V){V!==null&&(g=rp(V)),w=V,T.missing=g}const Ve=(V,Y,ke,M,H,q)=>{G();let re;try{__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=n?uk():void 0),re=V(T)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=void 0)}if(ke!=="translate exists"&&Rt(re)&&re===au||ke==="translate exists"&&!re){const[_e,Te]=Y();return n&&b?M(n):H(_e)}else{if(q(re))return re;throw sr(Bn.UNEXPECTED_RETURN_TYPE)}};function He(...V){return Ve(Y=>Reflect.apply(Kf,null,[Y,...V]),()=>Zc(...V),"translate",Y=>Reflect.apply(Y.t,Y,[...V]),Y=>Y,Y=>we(Y))}function at(...V){const[Y,ke,M]=V;if(M&&!rt(M))throw sr(Bn.INVALID_ARGUMENT);return He(Y,ke,tn({resolvedMessage:!0},M||{}))}function lt(...V){return Ve(Y=>Reflect.apply(Zf,null,[Y,...V]),()=>Yc(...V),"datetime format",Y=>Reflect.apply(Y.d,Y,[...V]),()=>Uf,Y=>we(Y))}function dt(...V){return Ve(Y=>Reflect.apply(Xf,null,[Y,...V]),()=>Xc(...V),"number format",Y=>Reflect.apply(Y.n,Y,[...V]),()=>Uf,Y=>we(Y))}function We(V){return V.map(Y=>we(Y)||Rt(Y)||xt(Y)?Qf(String(Y)):Y)}const me={normalize:We,interpolate:V=>V,type:"vnode"};function ce(...V){return Ve(Y=>{let ke;const M=Y;try{M.processor=me,ke=Reflect.apply(Kf,null,[M,...V])}finally{M.processor=null}return ke},()=>Zc(...V),"translate",Y=>Y[Jc](...V),Y=>[Qf(Y)],Y=>Ut(Y))}function ye(...V){return Ve(Y=>Reflect.apply(Xf,null,[Y,...V]),()=>Xc(...V),"number format",Y=>Y[ed](...V),tp,Y=>we(Y)||Ut(Y))}function Ue(...V){return Ve(Y=>Reflect.apply(Zf,null,[Y,...V]),()=>Yc(...V),"datetime format",Y=>Y[Qc](...V),tp,Y=>we(Y)||Ut(Y))}function Ge(V){D=V,T.pluralRules=D}function A(V,Y){return Ve(()=>{if(!V)return!1;const ke=we(Y)?Y:c.value,M=te(ke),H=T.messageResolver(M,V);return a?H!=null:ks(H)||Nn(H)||we(H)},()=>[V],"translate exists",ke=>Reflect.apply(ke.te,ke,[V,Y]),Vk,ke=>xt(ke))}function P(V){let Y=null;const ke=Ey(T,d.value,c.value);for(let M=0;M<ke.length;M++){const H=m.value[ke[M]]||{},q=T.messageResolver(H,V);if(q!=null){Y=q;break}}return Y}function j(V){const Y=P(V);return Y??(n?n.tm(V)||{}:{})}function te(V){return m.value[V]||{}}function X(V,Y){if(s){const ke={[V]:Y};for(const M in ke)tr(ke,M)&&Mi(ke[M]);Y=ke[V]}m.value[V]=Y,T.messages=m.value}function ie(V,Y){m.value[V]=m.value[V]||{};const ke={[V]:Y};if(s)for(const M in ke)tr(ke,M)&&Mi(ke[M]);Y=ke[V],Fa(Y,m.value[V]),T.messages=m.value}function pe(V){return f.value[V]||{}}function E(V,Y){f.value[V]=Y,T.datetimeFormats=f.value,Yf(T,V,Y)}function $(V,Y){f.value[V]=tn(f.value[V]||{},Y),T.datetimeFormats=f.value,Yf(T,V,Y)}function R(V){return p.value[V]||{}}function oe(V,Y){p.value[V]=Y,T.numberFormats=p.value,Jf(T,V,Y)}function ae(V,Y){p.value[V]=tn(p.value[V]||{},Y),T.numberFormats=p.value,Jf(T,V,Y)}np++,n&&ml&&(Tn(n.locale,V=>{l&&(c.value=V,T.locale=V,Ws(T,c.value,d.value))}),Tn(n.fallbackLocale,V=>{l&&(d.value=V,T.fallbackLocale=V,Ws(T,c.value,d.value))}));const se={id:np,locale:U,fallbackLocale:W,get inheritLocale(){return l},set inheritLocale(V){l=V,V&&n&&(c.value=n.locale.value,d.value=n.fallbackLocale.value,Ws(T,c.value,d.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:ee,get modifiers(){return L},get pluralRules(){return D||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn(V){h=V,T.missingWarn=h},get fallbackWarn(){return _},set fallbackWarn(V){_=V,T.fallbackWarn=_},get fallbackRoot(){return b},set fallbackRoot(V){b=V},get fallbackFormat(){return C},set fallbackFormat(V){C=V,T.fallbackFormat=C},get warnHtmlMessage(){return S},set warnHtmlMessage(V){S=V,T.warnHtmlMessage=V},get escapeParameter(){return k},set escapeParameter(V){k=V,T.escapeParameter=V},t:He,getLocaleMessage:te,setLocaleMessage:X,mergeLocaleMessage:ie,getPostTranslationHandler:ne,setPostTranslationHandler:ue,getMissingHandler:Ne,setMissingHandler:it,[Rk]:Ge};return se.datetimeFormats=fe,se.numberFormats=K,se.rt=at,se.te=A,se.tm=j,se.d=lt,se.n=dt,se.getDateTimeFormat=pe,se.setDateTimeFormat=E,se.mergeDateTimeFormat=$,se.getNumberFormat=R,se.setNumberFormat=oe,se.mergeNumberFormat=ae,se[Mk]=r,se[Jc]=ce,se[Qc]=Ue,se[ed]=ye,se}const sm={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Uk({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===ze?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},mt())}function Uy(e){return ze}const jk=Vr({name:"i18n-t",props:tn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Rt(e)||!isNaN(e)}},sm),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||im({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(m=>m!=="_"),i=mt();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=we(e.plural)?+e.plural:e.plural);const a=Uk(t,s),l=o[Jc](e.keypath,a,i),c=tn(mt(),r),d=we(e.tag)||rt(e.tag)?e.tag:Uy();return zr(d,c,l)}}}),op=jk;function Bk(e){return Ut(e)&&!we(e[0])}function jy(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i={part:!0};let a=mt();e.locale&&(i.locale=e.locale),we(e.format)?i.key=e.format:rt(e.format)&&(we(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((f,p)=>n.includes(p)?tn(mt(),f,{[p]:e.format[p]}):f,mt()));const l=r(e.value,i,a);let c=[i.key];Ut(l)?c=l.map((f,p)=>{const h=o[f.type],_=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return Bk(_)&&(_[0].key=`${f.type}-${p}`),_}):we(l)&&(c=[l]);const d=tn(mt(),s),m=we(e.tag)||rt(e.tag)?e.tag:Uy();return zr(m,d,c)}}const Wk=Vr({name:"i18n-n",props:tn({value:{type:Number,required:!0},format:{type:[String,Object]}},sm),setup(e,t){const n=e.i18n||im({useScope:e.scope,__useComponent:!0});return jy(e,t,Dy,(...r)=>n[ed](...r))}}),sp=Wk,qk=Vr({name:"i18n-d",props:tn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},sm),setup(e,t){const n=e.i18n||im({useScope:e.scope,__useComponent:!0});return jy(e,t,Ny,(...r)=>n[Qc](...r))}}),ip=qk;function Gk(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Kk(e){const t=i=>{const{instance:a,modifiers:l,value:c}=i;if(!a||!a.$)throw sr(Bn.UNEXPECTED_ERROR);const d=Gk(e,a.$),m=ap(c);return[Reflect.apply(d.t,d,[...lp(m)]),d]};return{created:(i,a)=>{const[l,c]=t(a);ml&&e.global===c&&(i.__i18nWatcher=Tn(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{ml&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=ap(a);i.textContent=Reflect.apply(l.t,l,[...lp(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function ap(e){if(we(e))return{path:e};if(Qe(e)){if(!("path"in e))throw sr(Bn.REQUIRED_VALUE,"path");return e}else throw sr(Bn.INVALID_VALUE)}function lp(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return we(n)&&(i.locale=n),Rt(o)&&(i.plural=o),Rt(s)&&(i.plural=s),[t,a,i]}function Zk(e,t,...n){const r=Qe(n[0])?n[0]:{},o=!!r.useI18nComponentName;(xt(r.globalInstall)?r.globalInstall:!0)&&([o?"i18n":op.name,"I18nT"].forEach(i=>e.component(i,op)),[sp.name,"I18nN"].forEach(i=>e.component(i,sp)),[ip.name,"I18nD"].forEach(i=>e.component(i,ip))),e.directive("t",Kk(t))}const Yk=go("global-vue-i18n");function Xk(e={},t){const n=xt(e.globalInjection)?e.globalInjection:!0,r=!0,o=new Map,[s,i]=Jk(e),a=go("");function l(m){return o.get(m)||null}function c(m,f){o.set(m,f)}function d(m){o.delete(m)}{const m={get mode(){return"composition"},get allowComposition(){return r},async install(f,...p){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,m),Qe(p[0])){const b=p[0];m.__composerExtend=b.__composerExtend,m.__vueI18nExtend=b.__vueI18nExtend}let h=null;n&&(h=ix(f,m.global)),Zk(f,m,...p);const _=f.unmount;f.unmount=()=>{h&&h(),m.dispose(),_()}},get global(){return i},dispose(){s.stop()},__instances:o,__getInstance:l,__setInstance:c,__deleteInstance:d};return m}}function im(e={}){const t=cn();if(t==null)throw sr(Bn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw sr(Bn.NOT_INSTALLED);const n=Qk(t),r=tx(n),o=Vy(t),s=ex(e,o);if(s==="global")return Fk(r,e,o),r;if(s==="parent"){let l=nx(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=tn({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Hy(l),i.__composerExtend&&(a[td]=i.__composerExtend(a)),ox(i,t,a),i.__setInstance(t,a)}return a}function Jk(e,t,n){const r=Nl();{const o=r.run(()=>Hy(e));if(o==null)throw sr(Bn.UNEXPECTED_ERROR);return[r,o]}}function Qk(e){{const t=Vn(e.isCE?Yk:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw sr(e.isCE?Bn.NOT_INSTALLED_WITH_PROVIDE:Bn.UNEXPECTED_ERROR);return t}}function ex(e,t){return su(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function tx(e){return e.mode==="composition"?e.global:e.global.__composer}function nx(e,t,n=!1){let r=null;const o=t.root;let s=rx(t,n);for(;s!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(s)),r!=null||o===s)break;s=s.parent}return r}function rx(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function ox(e,t,n){Is(()=>{},t),qi(()=>{const r=n;e.__deleteInstance(t);const o=r[td];o&&(o(),delete r[td])},t)}const sx=["locale","fallbackLocale","availableLocales"],up=["t","rt","d","n","tm","te"];function ix(e,t){const n=Object.create(null);return sx.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw sr(Bn.UNEXPECTED_ERROR);const i=St(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,up.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw sr(Bn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,up.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Dk();ok(Ak);sk(FS);ik(Ey);if(__INTLIFY_PROD_DEVTOOLS__){const e=Qd();e.__INTLIFY__=!0,KS(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Wu=e=>e&&typeof e=="object"&&!Array.isArray(e),nd=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Wu(e)&&Wu(n))for(const r in n)Wu(n[r])?(e[r]||Object.assign(e,{[r]:{}}),nd(e[r],n[r])):Object.assign(e,{[r]:n[r]});return nd(e,...t)},ax=nd({},{de:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Datei"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},help:e=>{const{normalize:t}=e;return t(["Hinzufügen eines Podcasts führt zur Anlage einer RSS-Playlist, so kann OwnTone das Podcast-Abo verwalten."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Verarbeite…"])},title:e=>{const{normalize:t}=e;return t(["Podcast hinzufügen"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},loading:e=>{const{normalize:t}=e;return t(["Lade…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Stream hinzufügen"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},artist:e=>{const{normalize:t}=e;return t(["Album Künstler"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track Nummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlistname"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])},saving:e=>{const{normalize:t}=e;return t(["Speichere…"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange als Playlist speichern"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},pair:e=>{const{normalize:t}=e;return t(["Remote paaren"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},title:e=>{const{normalize:t}=e;return t(["Remote-Paarungs-Anfrage"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},popularity:e=>{const{normalize:t}=e;return t(["Popularität / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},owner:e=>{const{normalize:t}=e;return t(["Besitzer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Kb/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Kommentar"])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Markiere als neu"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualität"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["Künstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},update:{all:e=>{const{normalize:t}=e;return t(["Alles neu einlesen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},feeds:e=>{const{normalize:t}=e;return t(["Nur RSS-Feeds neu einlesen"])},info:e=>{const{normalize:t}=e;return t(["Suche nach neuen, gelöschten und veränderten Dateien"])},local:e=>{const{normalize:t}=e;return t(["Nur lokale Bibliothek neu einlesen"])},progress:e=>{const{normalize:t}=e;return t(["Bibliothek wird neu eingelesen…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Metadata von unveränderten Dateien neu einlesen"])},rescan:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},spotify:e=>{const{normalize:t}=e;return t(["Nur Spotify neu einlesen"])},title:e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Deutsch"])},en:e=>{const{normalize:t}=e;return t(["Englisch (English)"])},fr:e=>{const{normalize:t}=e;return t(["Französisch (Français)"])},"zh-CN":e=>{const{normalize:t}=e;return t(["Vereinfachtes Chinesisch (簡體中文)"])},"zh-TW":e=>{const{normalize:t}=e;return t(["Traditionelles Chinesisch (繁體中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast dauerhaft aus der Bibliothek löschen?"])},"info-2":e=>{const{normalize:t}=e;return t(["Dies wir auch RSS-Playlisten löschen "])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track kann nicht gespielt werden"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", Beschränkungsgrund: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Hörbuch"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["Über"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP-stream-Fehler: Stream kann nicht geladen werden oder wurde wg. Netzwerkfehler gestopt"])},stream:e=>{const{normalize:t}=e;return t(["HTTP-stream"])},volume:e=>{const{normalize:t}=e;return t(["Lautstärke"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},settings:e=>{const{normalize:t}=e;return t(["Einstellungen"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Oberfläche erstellt mit ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," und ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiliert mit Unterstützung von ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},more:e=>{const{normalize:t}=e;return t(["mehr"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Gesamte Spielzeit"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["vor ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Neu eingelesen"])},uptime:e=>{const{normalize:t}=e;return t(["Laufzeit"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Alben"])},title:e=>{const{normalize:t}=e;return t(["Alben"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Künstler Name"])},"artist-date":e=>{const{normalize:t}=e;return t(["Künstler Erscheinungsdatum"])},title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])},"recently-released":e=>{const{normalize:t}=e;return t(["Kürzlich erschienen"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung wird kein Inhalt angezeigt, der nur in der Spotify-Bibliothek enthalten ist."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Inhalt"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Künstler"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Namen"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Künstler auf Spotify"])},title:e=>{const{normalize:t}=e;return t(["Künstler"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbücher"])])},title:e=>{const{normalize:t}=e;return t(["Hörbücher"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Autor"]),t([n(r("count"))," Autor"]),t([n(r("count"))," Autoren"])])},title:e=>{const{normalize:t}=e;return t(["Autoren"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Autoren"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponisten"])])},title:e=>{const{normalize:t}=e;return t(["Komponisten"])}},files:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Dateien"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Genre"]),t([n(r("count"))," Genre"]),t([n(r("count"))," Genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Kürzlich gespielt"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["Verlauf"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Tracks durch Auswählen aus der Bibliothek anfügen"])},live:e=>{const{normalize:t}=e;return t(["Live"])},title:e=>{const{normalize:t}=e;return t(["Deine Playliste ist leer."])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," Tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Playlisten"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Playlist"]),t([n(r("count"))," Playlisten"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast wirklich dauerhaft aus der Bibliothek löschen?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Damit wird auch die RSS-Playliste gelöscht. "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Podcast"]),t([n(r("count"))," Podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Alle abgespielten markieren"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Neue Episoden"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Stream hinzufügen"])},clear:e=>{const{normalize:t}=e;return t(["Alle entfernen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},edit:e=>{const{normalize:t}=e;return t(["Bearbeiten"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Vorherige verbergen"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Station"]),t([n(r("count"))," Station"]),t([n(r("count"))," Stationen"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},expression:e=>{const{normalize:t}=e;return t(["Ausdrücken"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach ",n(r("help"))," suchen wenn Du dem Ausdruck ein ",n(r("query"))," voranstellst."])},"no-results":e=>{const{normalize:t}=e;return t(["Keine Ergebnisse gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Buch"]),t(["Zeige alle ",n(r("count"))," Hörbücher"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Komponist"]),t(["Zeige alle ",n(r("count"))," Komponisten"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Podcast"]),t(["Zeige alle ",n(r("count"))," Podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{title:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["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":e=>{const{normalize:t}=e;return t(["Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["Bereitgestellte Artwork von Radiostationen ignorieren"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Keine aktive Pairing-Anfrage"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote-Pairing-Anfrage von "])},pairing:e=>{const{normalize:t}=e;return t(["Pairing Remote"])},send:e=>{const{normalize:t}=e;return t(["Senden"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Lautsprecher-Pairing und Geräteverifikation"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verifikationscode"])},verify:e=>{const{normalize:t}=e;return t(["Verifizieren"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album-Listen"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Sprache"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Wenn mehr Dateien ausgewählt werden, als der Bildschirm anzeigen kann, verschwindet das Burger-Menü."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Wähle hier die Einträge des oberen Navigationsmenüs "])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigationsmenüs"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Aktuell läuft-Seite"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Beschränkte die Zahl der Alben auf der "kürzlich hinzugefügt"-Seite'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt-Seite"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Komma-separierte Liste der Genres, wo der Komponist auf der "Aktuell läuft"-Seite angezeigt werden soll'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leer lassen, um ihn immer anzuzeigen."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Zeige den Komponisten für die aufgelisteten Genres an"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['Wenn aktiviert, wird der Komponist auf der "Aktuell läuft"-Seite angezeigt.'])},"show-composer":e=>{const{normalize:t}=e;return t(["Komponisten anzeigen"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Zeige Cover-Artwork in der Albumliste"])},"show-path":e=>{const{normalize:t}=e;return t(['Dateipfad auf der "Aktuell läuft"-Seite anzeigen'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren"])},info:e=>{const{normalize:t}=e;return t(["OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft nicht ab."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde ohne Unterstützung für Last.fm erstellt."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde entweder ohne Unterstützung für Spotify erstellt oder libspotify ist nicht installiert."])},"logged-as":e=>{const{normalize:t}=e;return t(["Angemeldet als "])},requirements:e=>{const{normalize:t}=e;return t(["Spotify Premium Abo erforderlich."])},scopes:e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-Api ermöglicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "])},user:e=>{const{normalize:t}=e;return t(["Zugriff gestattet für "])},authorize:e=>{const{normalize:t}=e;return t(["Authorisiere Web-API-Zugriff"])},"grant-access":e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-API gestatten"])},reauthorize:e=>{const{normalize:t}=e;return t(["Bitte den Zugriff der Web-API durch setzen folgender Zugriffsrechte für OwnTone: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Einloggen"])},logout:e=>{const{normalize:t}=e;return t(["Ausloggen"])},password:e=>{const{normalize:t}=e;return t(["Passwort"])},username:e=>{const{normalize:t}=e;return t(["Benutzername"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["Allgemein"])},"online-services":e=>{const{normalize:t}=e;return t(["Online-Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Fernbedienungen und Ausgänge"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Ausgezeichnete Playlisten"])},"new-releases":e=>{const{normalize:t}=e;return t(["Neuvorstellung"])},"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},"no-results":e=>{const{normalize:t}=e;return t(["Keine Ergebnisse gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["Ordner"])},plain:e=>{const{normalize:t}=e;return t(["Einfache"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Verlauf löschen"])},pause:e=>{const{normalize:t}=e;return t(["Wiedergabe anhalten"])},play:e=>{const{normalize:t}=e;return t(["Wiedergeben"])},repeat:e=>{const{normalize:t}=e;return t(["Alle Tracks wiederholen"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Tracks einmal lesen"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Aktuellen Track wiederholen"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Rückwärts im Track suchen"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Vorwärts im Track suchen"])},shuffle:e=>{const{normalize:t}=e;return t(["Tracks zufällig wiedergeben"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Tracks in Reihenfolge wiedergeben"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Zum vorherigen Track springen"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Zum nächsten Track springen"])},stop:e=>{const{normalize:t}=e;return t(["Wiedergabe stoppen"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Liedtexte anzeigen/verbergen"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (Fehler beim Speichern der Einstellungen)"])},saved:e=>{const{normalize:t}=e;return t([" (Einstellungen gesichert)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Fehler bei Verbindung zum OwnTone-Server"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Anfrage gescheitert (Status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Warteschlange zu Playlist ",n(r("name"))," gesichert"])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track an die Abspielliste angehängt"]),t([n(r("count"))," Tracks an die Abspielliste angehängt"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Warteschlange ist leer"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Heute"])},"last-week":e=>{const{normalize:t}=e;return t(["Letzte Woche"])},"last-month":e=>{const{normalize:t}=e;return t(["Letzer Monat"])},undefined:e=>{const{normalize:t}=e;return t(["Unbestimmt"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["Mono"])},stereo:e=>{const{normalize:t}=e;return t(["Stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Kanal"]),t([n(r("count"))," Kanäle"])])}}}},{en:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["File"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},help:e=>{const{normalize:t}=e;return t(["Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Processing…"])},title:e=>{const{normalize:t}=e;return t(["Add podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},loading:e=>{const{normalize:t}=e;return t(["Loading…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Add stream"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added on"])},artist:e=>{const{normalize:t}=e;return t(["Album artist"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])},path:e=>{const{normalize:t}=e;return t(["Path"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlist name"])},save:e=>{const{normalize:t}=e;return t(["Save"])},saving:e=>{const{normalize:t}=e;return t(["Saving…"])},title:e=>{const{normalize:t}=e;return t(["Save queue to playlist"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},pair:e=>{const{normalize:t}=e;return t(["Pair Remote"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},title:e=>{const{normalize:t}=e;return t(["Remote pairing request"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Play"])},popularity:e=>{const{normalize:t}=e;return t(["Popularity / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},owner:e=>{const{normalize:t}=e;return t(["Owner"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Comment"])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Mark as new"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},update:{all:e=>{const{normalize:t}=e;return t(["Update everything"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},feeds:e=>{const{normalize:t}=e;return t(["Only update RSS feeds"])},info:e=>{const{normalize:t}=e;return t(["Scan for new, deleted and modified files"])},local:e=>{const{normalize:t}=e;return t(["Only update local library"])},progress:e=>{const{normalize:t}=e;return t(["Library update in progress…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Rescan metadata of unmodified files"])},rescan:e=>{const{normalize:t}=e;return t(["Rescan"])},spotify:e=>{const{normalize:t}=e;return t(["Only update Spotify"])},title:e=>{const{normalize:t}=e;return t(["Update library"])}}},language:{de:e=>{const{normalize:t}=e;return t(["German (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Français)"])},"zh-CN":e=>{const{normalize:t}=e;return t(["Simplified Chinese (簡體中文)"])},"zh-TW":e=>{const{normalize:t}=e;return t(["Traditional Chinese (繁體中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track is not playable"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", restriction reason: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Audiobook"])},music:e=>{const{normalize:t}=e;return t(["Music"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["About"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP stream error: failed to load stream or stopped loading due to network problem"])},stream:e=>{const{normalize:t}=e;return t(["HTTP stream"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Music"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Search"])},settings:e=>{const{normalize:t}=e;return t(["Settings"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["Update Library"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Web interface built with ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," and ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiled with support for ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Library"])},more:e=>{const{normalize:t}=e;return t(["more"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Total playtime"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Update"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," ago"])},updated:e=>{const{normalize:t}=e;return t(["Updated"])},uptime:e=>{const{normalize:t}=e;return t(["Uptime"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides singles and albums with tracks that only appear in playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides albums that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide albums from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Artist Name"])},"artist-date":e=>{const{normalize:t}=e;return t(["Artist Release date"])},title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])},"recently-released":e=>{const{normalize:t}=e;return t(["Recently released"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides the content only appearing in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide the content from Spotify"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," artist"]),t([n(r("count"))," artist"]),t([n(r("count"))," artists"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear on singles or playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide artists from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artists"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Play"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobooks"])])},title:e=>{const{normalize:t}=e;return t(["Audiobooks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Play"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," author"]),t([n(r("count"))," author"]),t([n(r("count"))," authors"])])},title:e=>{const{normalize:t}=e;return t(["Authors"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Authors"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," composer"]),t([n(r("count"))," composer"]),t([n(r("count"))," composers"])])},title:e=>{const{normalize:t}=e;return t(["Composers"])}},files:{play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Files"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Show more"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Recently added"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Recently played"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["History"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Add some tracks by browsing your library"])},live:e=>{const{normalize:t}=e;return t(["Live"])},title:e=>{const{normalize:t}=e;return t(["Your play queue is empty"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Playlists"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," playlist"]),t([n(r("count"))," playlist"]),t([n(r("count"))," playlists"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},play:e=>{const{normalize:t}=e;return t(["Play"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Add"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Mark All Played"])},"new-episodes":e=>{const{normalize:t}=e;return t(["New Episodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Update"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Add stream"])},clear:e=>{const{normalize:t}=e;return t(["Clear"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},edit:e=>{const{normalize:t}=e;return t(["Edit"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Hide previous"])},title:e=>{const{normalize:t}=e;return t(["Queue"])},save:e=>{const{normalize:t}=e;return t(["Save"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: you can search by a smart playlist query language ",n(r("help"))," if you prefix it with ",n(r("query")),"."])},"no-results":e=>{const{normalize:t}=e;return t(["No results found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the audiobook"]),t(["Show all ",n(r("count"))," audiobooks"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the composer"]),t(["Show all ",n(r("count"))," composers"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the podcast"]),t(["Show all ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Library"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{title:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["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":e=>{const{normalize:t}=e;return t(["In addition to that, you can enable fetching artwork from the following artwork providers:"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Show cover artwork in album list"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["Ignore artwork provided by radio stations"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["No active pairing request."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote pairing request from "])},pairing:e=>{const{normalize:t}=e;return t(["Remote Pairing"])},send:e=>{const{normalize:t}=e;return t(["Send"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["If your speaker requires pairing then activate it below and enter the PIN that it displays."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Speaker pairing and device verification"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verification code"])},verify:e=>{const{normalize:t}=e;return t(["Verify"])}},general:{audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Language"])},music:e=>{const{normalize:t}=e;return t(["Music"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["If you select more items than can be shown on your screen then the burger menu will disappear."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Select the top navigation bar menu items"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigation Bar"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Now playing page"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Limit the number of albums shown on the "Recently Added" page'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Recently added page"])},search:e=>{const{normalize:t}=e;return t(["Search"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Comma separated list of genres the composer should be displayed on the "Now playing page"'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leave empty to always show the composer."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Show composer only for listed genres"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['If enabled the composer of the current playing track is shown on the "Now playing page"'])},"show-composer":e=>{const{normalize:t}=e;return t(["Show composer"])},"show-path":e=>{const{normalize:t}=e;return t(['Show filepath on the "Now playing" page'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Login with your Last.fm username and password to enable scrobbling"])},info:e=>{const{normalize:t}=e;return t(["OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was built without support for Last.fm."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was either built without support for Spotify or libspotify is not installed."])},"logged-as":e=>{const{normalize:t}=e;return t(["Logged in as "])},requirements:e=>{const{normalize:t}=e;return t(["You must have a Spotify premium account."])},scopes:e=>{const{normalize:t}=e;return t(["Access to the Spotify Web API enables scanning of your Spotify library. Required scopes are: "])},user:e=>{const{normalize:t}=e;return t(["Access granted for "])},authorize:e=>{const{normalize:t}=e;return t(["Authorize Web API access"])},"grant-access":e=>{const{normalize:t}=e;return t(["Grant access to the Spotify Web API"])},reauthorize:e=>{const{normalize:t}=e;return t(["Please reauthorize Web API access to grant OwnTone the following additional access rights: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Login"])},logout:e=>{const{normalize:t}=e;return t(["Logout"])},password:e=>{const{normalize:t}=e;return t(["Password"])},username:e=>{const{normalize:t}=e;return t(["Username"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["General"])},"online-services":e=>{const{normalize:t}=e;return t(["Online Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Remotes and Outputs"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Featured Playlists"])},"new-releases":e=>{const{normalize:t}=e;return t(["New Releases"])},"show-more":e=>{const{normalize:t}=e;return t(["Show More"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"no-results":e=>{const{normalize:t}=e;return t(["No results found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["Folder"])},plain:e=>{const{normalize:t}=e;return t(["Plain"])},smart:e=>{const{normalize:t}=e;return t(["Smart"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Clear history"])},pause:e=>{const{normalize:t}=e;return t(["Pause"])},play:e=>{const{normalize:t}=e;return t(["Play"])},repeat:e=>{const{normalize:t}=e;return t(["Repeat all tracks"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Read tracks once"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Repeat current track"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Seek backward in the track"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Seek forward in the track"])},shuffle:e=>{const{normalize:t}=e;return t(["Play tracks randomly"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Play tracks in order"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Skip to previous track"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Skip to next track"])},stop:e=>{const{normalize:t}=e;return t(["Stop"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Toggle lyrics"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (error saving setting)"])},saved:e=>{const{normalize:t}=e;return t([" (setting saved)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Failed to connect to OwnTone server"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Request failed (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Queue saved to playlist ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track appended to the queue"]),t([n(r("count"))," tracks appended to the queue"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Queue is empty"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Today"])},"last-week":e=>{const{normalize:t}=e;return t(["Last week"])},"last-month":e=>{const{normalize:t}=e;return t(["Last month"])},undefined:e=>{const{normalize:t}=e;return t(["Undefined"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," channel"]),t([n(r("count"))," channels"])])}}}},{fr:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Fichier"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Flux"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},help:e=>{const{normalize:t}=e;return t(["Lajout dun podcast inclut la création dune liste de lecture RSS, qui permettra à OwnTone de gérer labonnement au podcast."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux-rss"])},processing:e=>{const{normalize:t}=e;return t(["Traitement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Ajouter un podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},loading:e=>{const{normalize:t}=e;return t(["Chargement…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Ajouter un flux"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},artist:e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Nom de la liste de lecture"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])},saving:e=>{const{normalize:t}=e;return t(["Enregistrement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Enregistrer la file dattente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},pair:e=>{const{normalize:t}=e;return t(["Jumeler la télécommande"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},title:e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},popularity:e=>{const{normalize:t}=e;return t(["Popularité / Abonnements"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},owner:e=>{const{normalize:t}=e;return t(["Propriétaire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Commentaire"])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Marquer comme nouveau"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},update:{all:e=>{const{normalize:t}=e;return t(["Tout actualiser"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},feeds:e=>{const{normalize:t}=e;return t(["Actualiser uniquement les flux RSS"])},info:e=>{const{normalize:t}=e;return t(["Recherche les fichiers ajoutés, supprimés et modifiés"])},local:e=>{const{normalize:t}=e;return t(["Actualiser uniquement la bibliothèque locale"])},progress:e=>{const{normalize:t}=e;return t(["Actualisation de la bibliothèque en cours…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Analyser les métadonnées des fichiers non modifiés"])},rescan:e=>{const{normalize:t}=e;return t(["Analyser"])},spotify:e=>{const{normalize:t}=e;return t(["Actualiser uniquement Spotify"])},title:e=>{const{normalize:t}=e;return t(["Actualiser la bibliothèque"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Allemand (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["Anglais (English)"])},fr:e=>{const{normalize:t}=e;return t(["Français"])},"zh-CN":e=>{const{normalize:t}=e;return t(["Chinois simplifié (簡體中文)"])},"zh-TW":e=>{const{normalize:t}=e;return t(["Chinois traditionnel (繁體中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Supprimer définitivement ce podcast de votre bibliothèque ?"])},"info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["La piste ne peut pas être lue"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", raison de la restriction : ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Livre audio"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["À propos"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["Erreur du flux HTTP : échec du chargement du flux ou arrêt du chargement en raison dun problème réseau"])},stream:e=>{const{normalize:t}=e;return t(["Flux HTTP"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},settings:e=>{const{normalize:t}=e;return t(["Réglages"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["Actualiser la bibliothèque"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Interface utilisateur construite avec ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," et ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compilé avec les options ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},more:e=>{const{normalize:t}=e;return t(["plus"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Durée totale de lecture"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["il y a ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Mis à jour"])},uptime:e=>{const{normalize:t}=e;return t(["Temps de fonctionnement"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les singles et les albums dont les pistes napparaissent que dans les listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les albums qui napparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les albums de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Artiste Nom"])},"artist-date":e=>{const{normalize:t}=e;return t(["Artiste Date de sortie"])},title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts récents"])},"recently-released":e=>{const{normalize:t}=e;return t(["Sorties récentes"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque le contenu qui napparaît que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer le contenu de Spotify"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," artiste"]),t([n(r("count"))," artiste"]),t([n(r("count"))," artistes"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui napparaissent que dans des singles ou des listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui napparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les artistes de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artistes"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Lire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," livre audio"]),t([n(r("count"))," livre audio"]),t([n(r("count"))," livres audio"])])},title:e=>{const{normalize:t}=e;return t(["Livres audio"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," auteur"]),t([n(r("count"))," auteur"]),t([n(r("count"))," auteurs"])])},title:e=>{const{normalize:t}=e;return t(["Auteurs"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Auteurs"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeurs"])])},title:e=>{const{normalize:t}=e;return t(["Compositeurs"])}},files:{play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Fichiers"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Lectures récentes"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["Historique"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Ajoutez des pistes en parcourant votre bibliothèque"])},live:e=>{const{normalize:t}=e;return t(["En direct"])},title:e=>{const{normalize:t}=e;return t(["La file dattente est vide"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," pistes"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," liste de lecture"]),t([n(r("count"))," liste de lecture"]),t([n(r("count"))," listes de lecture"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Supprimer ce podcast de manière permanente de la bibliothèque ?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Marquer comme lus"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Nouveaux épisodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Ajouter un flux"])},clear:e=>{const{normalize:t}=e;return t(["Effacer"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},edit:e=>{const{normalize:t}=e;return t(["Éditer"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Masquer lhistorique"])},queue:e=>{const{normalize:t}=e;return t(["File dattente"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Astuce : vous pouvez effectuer une recherche avec une ",n(r("help"))," du langage de requête de liste de lecture intelligente en préfixant votre requête avec ",n(r("query"))])},"no-results":e=>{const{normalize:t}=e;return t(["Aucun résultat trouvé"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher lartiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le livre audio"]),t(["Afficher les ",n(r("count"))," livres audio"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le compositeur"]),t(["Afficher les ",n(r("count"))," compositeurs"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le podcast"]),t(["Afficher les ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la piste"]),t(["Afficher les ",n(r("n"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{title:e=>{const{normalize:t}=e;return t(["Illustrations"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["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":e=>{const{normalize:t}=e;return t(["En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs dillustrations suivants :"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Afficher les illustrations dans la liste dalbums"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["Ignorer les illustrations fournies par les stations de radio"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Aucune demande de jumelage active."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande "])},pairing:e=>{const{normalize:t}=e;return t(["Jumelage de télécommande"])},send:e=>{const{normalize:t}=e;return t(["Envoyer"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN quelle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage denceinte et vérification dappareil"])},"verification-code":e=>{const{normalize:t}=e;return t(["Code de vérification"])},verify:e=>{const{normalize:t}=e;return t(["Vérifier"])}},general:{audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Langue"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Si vous sélectionnez plus déléments que ce qui peut être affiché sur votre écran, le menu disparaîtra."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Sélectionnez les éléments de la barre de navigation supérieure"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Barre de navigation"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Page « En cours de lecture »"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["Limiter le nombre dalbums affichés dans la section « Ajouts récents »"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Page « Ajouts récents »"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["Liste des genres, séparés par des virgules, que le compositeur doit afficher sur la page « En cours de lecture »."])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Laissez vide pour toujours afficher le compositeur."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Létiquette de genre de la piste actuelle est comparée en vérifiant si lun des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont létiquette de genre est "classique contemporain" sera affiché.'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Afficher le compositeur uniquement pour les genres listés"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["Si actif, le compositeur de la piste en cours de lecture est affiché sur la page « En cours de lecture »"])},"show-composer":e=>{const{normalize:t}=e;return t(["Afficher le compositeur"])},"show-path":e=>{const{normalize:t}=e;return t(["Afficher le chemin du fichier sur la page « En cours de lecture »"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Connectez-vous avec votre nom dutilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom dutilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session nexpire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["Loption Last.fm nest pas présente."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["Loption Spotify nest pas présente."])},"logged-as":e=>{const{normalize:t}=e;return t(["Connecté en tant que "])},requirements:e=>{const{normalize:t}=e;return t(["Vous devez posséder un compte Spotify Premium."])},scopes:e=>{const{normalize:t}=e;return t(["Laccès à lAPI de Spotify permet lanalyse de votre bibliothèque Spotify. Les champs dapplication requis sont les suivants :"])},user:e=>{const{normalize:t}=e;return t(["Accès autorisé pour "])},authorize:e=>{const{normalize:t}=e;return t(["Autoriser laccès à lAPI"])},"grant-access":e=>{const{normalize:t}=e;return t(["Accordez laccès à lAPI de Spotify"])},reauthorize:e=>{const{normalize:t}=e;return t(["Veuillez autoriser à nouveau laccès à lAPI pour accorder à OwnTone les droits daccès supplémentaires suivants :"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Se connecter"])},logout:e=>{const{normalize:t}=e;return t(["Se déconnecter"])},password:e=>{const{normalize:t}=e;return t(["Mot de passe"])},username:e=>{const{normalize:t}=e;return t(["Nom dutilisateur"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},general:e=>{const{normalize:t}=e;return t(["Général"])},"online-services":e=>{const{normalize:t}=e;return t(["Services en ligne"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Télécommandes et sorties"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Listes de lecture en vedette"])},"new-releases":e=>{const{normalize:t}=e;return t(["Nouvelle sorties"])},"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"no-results":e=>{const{normalize:t}=e;return t(["Aucun résultat trouvé"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher lartiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la piste"]),t(["Afficher les ",n(r("count"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["Dossier"])},plain:e=>{const{normalize:t}=e;return t(["Simple"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Effacer lhistorique"])},pause:e=>{const{normalize:t}=e;return t(["Mettre la lecture en pause"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},repeat:e=>{const{normalize:t}=e;return t(["Répéter toutes les pistes"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Lire les pistes une fois"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Répéter la piste en cours"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Reculer dans la piste"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Avancer dans la piste"])},shuffle:e=>{const{normalize:t}=e;return t(["Lire les pistes aléatoirement"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Lire les pistes dans lordre"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Reculer à la piste précédente"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Avancer à la piste suivante"])},stop:e=>{const{normalize:t}=e;return t(["Arrêter la lecture"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Voir/Cacher les paroles"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (erreur à lenregistrement du réglage)"])},saved:e=>{const{normalize:t}=e;return t([" (réglage enregistré)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Échec de connexion au serveur"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La requête a échoué (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La file dattente enregistrée dans la liste de lecture ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste ajoutée à la file dattente"]),t([n(r("count"))," pistes ajoutées à la file dattente"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["La file dattente est vide"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Aujourdhui"])},"last-week":e=>{const{normalize:t}=e;return t(["La semaine dernière"])},"last-month":e=>{const{normalize:t}=e;return t(["Le mois dernier"])},undefined:e=>{const{normalize:t}=e;return t(["Indéfini"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stéréo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," canal"]),t([n(r("count"))," canaux"])])}}}},{"zh-CN":{data:{kind:{file:e=>{const{normalize:t}=e;return t(["文件"])},url:e=>{const{normalize:t}=e;return t(["链接"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["流"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},help:e=>{const{normalize:t}=e;return t(["添加一个可生成播放列表的播客RSS链接这将允许OwnTone管理订阅"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["处理中…"])},title:e=>{const{normalize:t}=e;return t(["添加播客"])}},stream:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},loading:e=>{const{normalize:t}=e;return t(["加载中…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["添加流"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},artist:e=>{const{normalize:t}=e;return t(["专辑艺人"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["标记为已播"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},play:e=>{const{normalize:t}=e;return t(["播放"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},play:e=>{const{normalize:t}=e;return t(["播放"])},path:e=>{const{normalize:t}=e;return t(["路径"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])},save:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},"playlist-name":e=>{const{normalize:t}=e;return t(["播放列表名称"])},save:e=>{const{normalize:t}=e;return t(["保存"])},saving:e=>{const{normalize:t}=e;return t(["保存中…"])},title:e=>{const{normalize:t}=e;return t(["保存播放清单到列表"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},genre:e=>{const{normalize:t}=e;return t(["流派"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["质量"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["专辑"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["艺人"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["取消"])},pair:e=>{const{normalize:t}=e;return t(["遥控配对"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对码"])},title:e=>{const{normalize:t}=e;return t(["请求遥控配对"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},play:e=>{const{normalize:t}=e;return t(["播放"])},popularity:e=>{const{normalize:t}=e;return t(["流行度 / 粉丝数"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},owner:e=>{const{normalize:t}=e;return t(["所有者"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["添加"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["评论"])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},genre:e=>{const{normalize:t}=e;return t(["流派"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["标记为最新"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["标记为已播放"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["质量"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["评级"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["专辑"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["艺人"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},update:{all:e=>{const{normalize:t}=e;return t(["更新所有内容"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},feeds:e=>{const{normalize:t}=e;return t(["仅更新RSS订阅内容"])},info:e=>{const{normalize:t}=e;return t(["扫描新的、删除的和修改的文件"])},local:e=>{const{normalize:t}=e;return t(["仅更新本地资料库"])},progress:e=>{const{normalize:t}=e;return t(["正在更新本地资料库…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["重新扫描未修改文件的元数据"])},rescan:e=>{const{normalize:t}=e;return t(["重新扫描"])},spotify:e=>{const{normalize:t}=e;return t(["仅更新Spotify"])},title:e=>{const{normalize:t}=e;return t(["更新资料库"])}}},language:{de:e=>{const{normalize:t}=e;return t(["德语 (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["英语 (English)"])},fr:e=>{const{normalize:t}=e;return t(["法语 (Français)"])},"zh-CN":e=>{const{normalize:t}=e;return t(["简体中文"])},"zh-TW":e=>{const{normalize:t}=e;return t(["繁體中文"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客吗?"])},"info-2":e=>{const{normalize:t}=e;return t(["这也将移除RSS播放列表 "])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["曲目无法播放"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([",被限制原因:",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["专辑"])},audiobook:e=>{const{normalize:t}=e;return t(["有声读物"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},podcast:e=>{const{normalize:t}=e;return t(["播客"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["关于"])},albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP流错误流载入失败或者由于网络原因无法载入"])},stream:e=>{const{normalize:t}=e;return t(["HTTP流"])},volume:e=>{const{normalize:t}=e;return t(["音量"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},settings:e=>{const{normalize:t}=e;return t(["设置"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["更新资料库"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["界面贡献者包括 ",n(r("bulma")),"",n(r("mdi")),"",n(r("vuejs")),"",n(r("axios"))," 和 ",n(r("others"))])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["编译支持来自于 ",n(r("options"))])},library:e=>{const{normalize:t}=e;return t(["资料库"])},more:e=>{const{normalize:t}=e;return t(["更多"])},"total-playtime":e=>{const{normalize:t}=e;return t(["总播放时长"])},tracks:e=>{const{normalize:t}=e;return t(["曲目总数"])},update:e=>{const{normalize:t}=e;return t(["更新"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," 前"])},updated:e=>{const{normalize:t}=e;return t(["更新于"])},uptime:e=>{const{normalize:t}=e;return t(["运行时长"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["版本 ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的专辑"])},title:e=>{const{normalize:t}=e;return t(["专辑"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["艺人 名称"])},"artist-date":e=>{const{normalize:t}=e;return t(["艺人 发行日期"])},title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])},"recently-released":e=>{const{normalize:t}=e;return t(["最近发行"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活将隐藏只出现在Spotify库中的内容"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的内容"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位艺人"]),t([n(r("count"))," 位艺人"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的艺人"])},title:e=>{const{normalize:t}=e;return t(["艺人"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个有声读物"]),t([n(r("count"))," 个有声读物"])])},title:e=>{const{normalize:t}=e;return t(["有声读物"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},play:e=>{const{normalize:t}=e;return t(["播放"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位作者"]),t([n(r("count"))," 位作者"])])},title:e=>{const{normalize:t}=e;return t(["作者"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["作者"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},genres:e=>{const{normalize:t}=e;return t(["流派"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位作曲家"]),t([n(r("count"))," 位作曲家"])])},title:e=>{const{normalize:t}=e;return t(["作曲家"])}},files:{play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["文件"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个流派"]),t([n(r("count"))," 个流派"])])},title:e=>{const{normalize:t}=e;return t(["流派"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["最近添加"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["最近播放"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},history:e=>{const{normalize:t}=e;return t(["历史"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["浏览资料库添加曲目"])},live:e=>{const{normalize:t}=e;return t(["直播"])},title:e=>{const{normalize:t}=e;return t(["播放清单是空的"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," 曲目"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["播放列表"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个播放列表"]),t([n(r("count"))," 个播放列表"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},play:e=>{const{normalize:t}=e;return t(["播放"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["这也将移除该播客RSS列表 "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["添加"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个播客"]),t([n(r("count"))," 个播客"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["全部标记为已播放"])},"new-episodes":e=>{const{normalize:t}=e;return t(["最新单集"])},title:e=>{const{normalize:t}=e;return t(["播客"])},update:e=>{const{normalize:t}=e;return t(["更新"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["添加流"])},clear:e=>{const{normalize:t}=e;return t(["清除"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},edit:e=>{const{normalize:t}=e;return t(["编辑"])},"hide-previous":e=>{const{normalize:t}=e;return t(["隐藏历史"])},title:e=>{const{normalize:t}=e;return t(["清单"])},save:e=>{const{normalize:t}=e;return t(["保存"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个电台"]),t([n(r("count"))," 个电台"])])},title:e=>{const{normalize:t}=e;return t(["广播电台"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},expression:e=>{const{normalize:t}=e;return t(["表达式"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["提示:如果您使用 ",n(r("query"))," 前缀,则可以通过智能播放列表查询语言 ",n(r("help"))," 进行搜索"])},"no-results":e=>{const{normalize:t}=e;return t(["未找到结果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示有声书"]),t(["显示所有 ",n(r("count"))," 本有声书"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示作曲家"]),t(["显示所有 ",n(r("count"))," 位作曲家"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播客"]),t(["显示所有 ",n(r("count"))," 个播客"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])},tabs:{library:e=>{const{normalize:t}=e;return t(["资料库"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{title:e=>{const{normalize:t}=e;return t(["封面"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone支持PNG和 JPEG封面这些封面可以作为单独的图像文件放置在库中或嵌入到媒体文件中也可以通过广播电台在线提供"])},"explanation-2":e=>{const{normalize:t}=e;return t(["除此之外,您还可以从以下素材提供者获取封面:"])},"show-coverart":e=>{const{normalize:t}=e;return t(["在专辑列表中显示封面艺术作品"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["忽略广播电台提供的作品"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["没有活跃的配对请求"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对代码"])},"pairing-request":e=>{const{normalize:t}=e;return t(["远程配对请求来自于 "])},pairing:e=>{const{normalize:t}=e;return t(["遥控配对"])},send:e=>{const{normalize:t}=e;return t(["发送"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["扬声器配对和设备验证"])},"verification-code":e=>{const{normalize:t}=e;return t(["验证码"])},verify:e=>{const{normalize:t}=e;return t(["验证"])}},general:{audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},language:e=>{const{normalize:t}=e;return t(["语言"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["如果您选择的项目多于屏幕上可以显示的项目,则侧边栏菜单将会消失"])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["选择顶部导航栏菜单项"])},"navigation-items":e=>{const{normalize:t}=e;return t(["导航条"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["“正在播放”页面"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["限制“最近添加”页面上显示的专辑数量"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["“最近添加”页面"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["以逗号分隔流派,作曲家会在“正在播放的页面”上显示"])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["留空以始终显示作曲家"])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(["通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["仅显示列出的流派的作曲家"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["如果启用,当前播放曲目的作曲家将显示在“正在播放页面”上"])},"show-composer":e=>{const{normalize:t}=e;return t(["显示作曲家"])},"show-path":e=>{const{normalize:t}=e;return t(["在“正在播放”页面显示文件路径"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["使用您的 Last.fm 用户名和密码登录以启用记录功能"])},info:e=>{const{normalize:t}=e;return t(["OwnTone不会存储您的 Last.fm 用户名/密码,仅存储会话密钥。会话密钥不会过期"])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自Last.fm的官方支持"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自 Spotify 官方的支持,也未安装 libspotify"])},"logged-as":e=>{const{normalize:t}=e;return t(["登录为 "])},requirements:e=>{const{normalize:t}=e;return t(["您必须拥有 Spotify付费帐户"])},scopes:e=>{const{normalize:t}=e;return t(["访问 Spotify Web API 可以扫描您的 Spotify库。所需范围是"])},user:e=>{const{normalize:t}=e;return t(["授予访问权限"])},authorize:e=>{const{normalize:t}=e;return t(["授权 Web API 访问"])},"grant-access":e=>{const{normalize:t}=e;return t(["授予对 Spotify Web API 的访问权限"])},reauthorize:e=>{const{normalize:t}=e;return t(["请重新授权 Web API 访问权限,以授予 OwnTone 以下附加访问权限:"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["登入"])},logout:e=>{const{normalize:t}=e;return t(["退出"])},password:e=>{const{normalize:t}=e;return t(["密码"])},username:e=>{const{normalize:t}=e;return t(["用户名"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},general:e=>{const{normalize:t}=e;return t(["概览"])},"online-services":e=>{const{normalize:t}=e;return t(["在线服务"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["遥控和输出"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["特色列表"])},"new-releases":e=>{const{normalize:t}=e;return t(["最新发行"])},"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"no-results":e=>{const{normalize:t}=e;return t(["未找到结果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["文件夹"])},plain:e=>{const{normalize:t}=e;return t(["简单"])},smart:e=>{const{normalize:t}=e;return t(["智能"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["清除历史"])},pause:e=>{const{normalize:t}=e;return t(["暂停"])},play:e=>{const{normalize:t}=e;return t(["播放"])},repeat:e=>{const{normalize:t}=e;return t(["重复播放所有曲目"])},"repeat-off":e=>{const{normalize:t}=e;return t(["所有曲目仅播放一遍"])},"repeat-once":e=>{const{normalize:t}=e;return t(["重复当前曲目"])},"seek-backward":e=>{const{normalize:t}=e;return t(["在当前曲目后退"])},"seek-forward":e=>{const{normalize:t}=e;return t(["在当前曲目前进"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放曲目"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["按顺序播放曲目"])},"skip-backward":e=>{const{normalize:t}=e;return t(["播放上一首"])},"skip-forward":e=>{const{normalize:t}=e;return t(["播放下一首"])},stop:e=>{const{normalize:t}=e;return t(["停止"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["显示/隐藏歌词"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (设置保存错误)"])},saved:e=>{const{normalize:t}=e;return t([" (设置已保存)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["无法连接到 OwnTone 服务器"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["请求失败 (状态:",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["清单以添加到播放列表 ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["已附加到队列的 ",n(r("count"))," 只曲目"]),t(["已附加到队列的 ",n(r("count"))," 只曲目"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["清单是空的"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["今日"])},"last-week":e=>{const{normalize:t}=e;return t(["上周"])},"last-month":e=>{const{normalize:t}=e;return t(["上月"])},undefined:e=>{const{normalize:t}=e;return t(["未定义"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["单声道"])},stereo:e=>{const{normalize:t}=e;return t(["立体声"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 信道"]),t([n(r("count"))," 信道"])])}}}},{"zh-TW":{data:{kind:{file:e=>{const{normalize:t}=e;return t(["文件"])},url:e=>{const{normalize:t}=e;return t(["鏈接"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["串流"])}}},dialog:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["新增"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},help:e=>{const{normalize:t}=e;return t(["新增一個可生成播放列表的Podcast RSS鏈接這將允許OwnTone管理訂閱"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["處理中…"])},title:e=>{const{normalize:t}=e;return t(["新增Podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["新增"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},loading:e=>{const{normalize:t}=e;return t(["載入中…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["新增串流"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},"added-on":e=>{const{normalize:t}=e;return t(["新增時間"])},artist:e=>{const{normalize:t}=e;return t(["專輯藝人"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["標記為已播"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["發行日期"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除Podcast"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])},type:e=>{const{normalize:t}=e;return t(["類型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},"added-on":e=>{const{normalize:t}=e;return t(["新增時間"])},albums:e=>{const{normalize:t}=e;return t(["張專輯"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])},type:e=>{const{normalize:t}=e;return t(["類型"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},albums:e=>{const{normalize:t}=e;return t(["張專輯"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},play:e=>{const{normalize:t}=e;return t(["播放"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},albums:e=>{const{normalize:t}=e;return t(["張專輯"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},play:e=>{const{normalize:t}=e;return t(["播放"])},path:e=>{const{normalize:t}=e;return t(["路徑"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])},type:e=>{const{normalize:t}=e;return t(["類型"])},save:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},"playlist-name":e=>{const{normalize:t}=e;return t(["播放列表名稱"])},save:e=>{const{normalize:t}=e;return t(["儲存"])},saving:e=>{const{normalize:t}=e;return t(["儲存中…"])},title:e=>{const{normalize:t}=e;return t(["儲存播放清單到列表"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["專輯藝人"])},album:e=>{const{normalize:t}=e;return t(["專輯"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["作曲"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},genre:e=>{const{normalize:t}=e;return t(["音樂類型"])},path:e=>{const{normalize:t}=e;return t(["路徑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盤符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["品質"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["專輯"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["藝人"])},type:e=>{const{normalize:t}=e;return t(["類型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["取消"])},pair:e=>{const{normalize:t}=e;return t(["遙控配對"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配對碼"])},title:e=>{const{normalize:t}=e;return t(["請求遙控配對"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},"album-artist":e=>{const{normalize:t}=e;return t(["專輯藝人"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["發行日期"])},type:e=>{const{normalize:t}=e;return t(["類型"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},genres:e=>{const{normalize:t}=e;return t(["音樂類型"])},play:e=>{const{normalize:t}=e;return t(["播放"])},popularity:e=>{const{normalize:t}=e;return t(["流行度 / 粉絲數"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},owner:e=>{const{normalize:t}=e;return t(["所有者"])},path:e=>{const{normalize:t}=e;return t(["路徑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},"album-artist":e=>{const{normalize:t}=e;return t(["專輯藝人"])},album:e=>{const{normalize:t}=e;return t(["專輯"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},path:e=>{const{normalize:t}=e;return t(["路徑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盤符 / 曲目"])},"release-date":e=>{const{normalize:t}=e;return t(["發行日期"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["新增"])},"added-on":e=>{const{normalize:t}=e;return t(["新增時間"])},"album-artist":e=>{const{normalize:t}=e;return t(["專輯藝人"])},album:e=>{const{normalize:t}=e;return t(["專輯"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["評論"])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},genre:e=>{const{normalize:t}=e;return t(["音樂類型"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["標記為最新"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["標記為已播放"])},path:e=>{const{normalize:t}=e;return t(["路徑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盤符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["品質"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["評級"])},"release-date":e=>{const{normalize:t}=e;return t(["發行日期"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["專輯"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["藝人"])},type:e=>{const{normalize:t}=e;return t(["類型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},update:{all:e=>{const{normalize:t}=e;return t(["更新所有內容"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},feeds:e=>{const{normalize:t}=e;return t(["僅更新RSS訂閱內容"])},info:e=>{const{normalize:t}=e;return t(["掃描新的、刪除的和修改的文件"])},local:e=>{const{normalize:t}=e;return t(["僅更新本地資料庫"])},progress:e=>{const{normalize:t}=e;return t(["正在更新本地資料庫…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["重新掃描未修改文件的中繼資料"])},rescan:e=>{const{normalize:t}=e;return t(["重新掃描"])},spotify:e=>{const{normalize:t}=e;return t(["僅更新Spotify"])},title:e=>{const{normalize:t}=e;return t(["更新資料庫"])}}},language:{de:e=>{const{normalize:t}=e;return t(["德語 (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["英語 (English)"])},fr:e=>{const{normalize:t}=e;return t(["法語 (Français)"])},"zh-CN":e=>{const{normalize:t}=e;return t(["簡體中文"])},"zh-TW":e=>{const{normalize:t}=e;return t(["繁體中文"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["從資料庫中永久移除該Podcast嗎"])},"info-2":e=>{const{normalize:t}=e;return t(["這也將移除RSS播放列表 "])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除Podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["曲目無法播放"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([",被限制原因:",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["專輯"])},audiobook:e=>{const{normalize:t}=e;return t(["有聲書"])},music:e=>{const{normalize:t}=e;return t(["音樂"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["關於"])},albums:e=>{const{normalize:t}=e;return t(["專輯"])},artists:e=>{const{normalize:t}=e;return t(["藝人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有聲書"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP串流錯誤串流載入失敗或者由於網絡原因無法載入"])},stream:e=>{const{normalize:t}=e;return t(["HTTP串流"])},volume:e=>{const{normalize:t}=e;return t(["音量"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["音樂類型"])},music:e=>{const{normalize:t}=e;return t(["音樂"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcast"])},radio:e=>{const{normalize:t}=e;return t(["電台"])},search:e=>{const{normalize:t}=e;return t(["搜尋"])},settings:e=>{const{normalize:t}=e;return t(["設定"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"update-library":e=>{const{normalize:t}=e;return t(["更新資料庫"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["專輯"])},artists:e=>{const{normalize:t}=e;return t(["藝人"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["界面貢獻者包括 ",n(r("bulma")),"",n(r("mdi")),"",n(r("vuejs")),"",n(r("axios"))," 和 ",n(r("others"))])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["編譯支持來自於 ",n(r("options"))])},library:e=>{const{normalize:t}=e;return t(["資料庫"])},more:e=>{const{normalize:t}=e;return t(["更多"])},"total-playtime":e=>{const{normalize:t}=e;return t(["總播放時長"])},tracks:e=>{const{normalize:t}=e;return t(["曲目總數"])},update:e=>{const{normalize:t}=e;return t(["更新"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," 前"])},updated:e=>{const{normalize:t}=e;return t(["更新於"])},uptime:e=>{const{normalize:t}=e;return t(["運行時長"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["版本 ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 張專輯"]),t([n(r("count"))," 張專輯"])])},filter:e=>{const{normalize:t}=e;return t(["篩選"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果啓用,將隱藏僅在播放列表出現的單曲和專輯"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隱藏單曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果啓用將隱藏僅在Spotify資料庫出現的專輯"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隱藏來自Spotify的專輯"])},title:e=>{const{normalize:t}=e;return t(["專輯"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["藝人 名稱"])},"artist-date":e=>{const{normalize:t}=e;return t(["藝人 發行日期"])},title:e=>{const{normalize:t}=e;return t(["分類"])},name:e=>{const{normalize:t}=e;return t(["名稱"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近新增"])},"recently-released":e=>{const{normalize:t}=e;return t(["最近發行"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 張專輯"]),t([n(r("count"))," 張專輯"])])},filter:e=>{const{normalize:t}=e;return t(["篩選"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果啓用將隱藏只出現在Spotify庫中的內容"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隱藏來自Spotify的內容"])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分類"])},name:e=>{const{normalize:t}=e;return t(["名稱"])},rating:e=>{const{normalize:t}=e;return t(["評級"])},"release-date":e=>{const{normalize:t}=e;return t(["發行日期"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位藝人"]),t([n(r("count"))," 位藝人"])])},filter:e=>{const{normalize:t}=e;return t(["篩選"])},sort:{title:e=>{const{normalize:t}=e;return t(["分類"])},name:e=>{const{normalize:t}=e;return t(["名稱"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近新增"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果啓用,將隱藏僅在播放列表出現的單曲和專輯"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隱藏單曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果啓用將隱藏僅在Spotify資料庫出現的專輯"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隱藏來自Spotify的藝人"])},title:e=>{const{normalize:t}=e;return t(["藝人"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 個有聲書"]),t([n(r("count"))," 個有聲書"])])},title:e=>{const{normalize:t}=e;return t(["有聲書"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 張專輯"]),t([n(r("count"))," 張專輯"])])},play:e=>{const{normalize:t}=e;return t(["播放"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位作者"]),t([n(r("count"))," 位作者"])])},title:e=>{const{normalize:t}=e;return t(["作者"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["作者"])},audiobooks:e=>{const{normalize:t}=e;return t(["有聲書"])},genres:e=>{const{normalize:t}=e;return t(["音樂類型"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 張專輯"]),t([n(r("count"))," 張專輯"])])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分類"])},name:e=>{const{normalize:t}=e;return t(["名稱"])},rating:e=>{const{normalize:t}=e;return t(["評級"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位作曲家"]),t([n(r("count"))," 位作曲家"])])},title:e=>{const{normalize:t}=e;return t(["作曲家"])}},files:{play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["文件"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 張專輯"]),t([n(r("count"))," 張專輯"])])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分類"])},name:e=>{const{normalize:t}=e;return t(["名稱"])},rating:e=>{const{normalize:t}=e;return t(["評級"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 個音樂類型"]),t([n(r("count"))," 個音樂類型"])])},title:e=>{const{normalize:t}=e;return t(["音樂類型"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["顯示更多"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["最近新增"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["最近播放"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["專輯"])},artists:e=>{const{normalize:t}=e;return t(["藝人"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},genres:e=>{const{normalize:t}=e;return t(["音樂類型"])},history:e=>{const{normalize:t}=e;return t(["歷史"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["瀏覽資料庫新增曲目"])},live:e=>{const{normalize:t}=e;return t(["直播"])},title:e=>{const{normalize:t}=e;return t(["播放清單是空的"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," 曲目"])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["播放列表"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 個播放列表"]),t([n(r("count"))," 個播放列表"])])}},podcast:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},play:e=>{const{normalize:t}=e;return t(["播放"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["從資料庫中永久移除該Podcast"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["這也將移除該PodcastRSS列表 "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除Podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["新增"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 個Podcast"]),t([n(r("count"))," 個Podcast"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["全部標記為已播放"])},"new-episodes":e=>{const{normalize:t}=e;return t(["最新單集"])},title:e=>{const{normalize:t}=e;return t(["Podcast"])},update:e=>{const{normalize:t}=e;return t(["更新"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["新增串流"])},clear:e=>{const{normalize:t}=e;return t(["清除"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])},edit:e=>{const{normalize:t}=e;return t(["編輯"])},"hide-previous":e=>{const{normalize:t}=e;return t(["隱藏歷史"])},title:e=>{const{normalize:t}=e;return t(["清單"])},save:e=>{const{normalize:t}=e;return t(["儲存"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 個電台"]),t([n(r("count"))," 個電台"])])},title:e=>{const{normalize:t}=e;return t(["電台"])}},search:{albums:e=>{const{normalize:t}=e;return t(["專輯"])},artists:e=>{const{normalize:t}=e;return t(["藝人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有聲書"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},expression:e=>{const{normalize:t}=e;return t(["表達式"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["提示:如果您使用 ",n(r("query"))," 前綴,則可以通過智能播放列表查詢語言 ",n(r("help"))," 進行搜尋"])},"no-results":e=>{const{normalize:t}=e;return t(["未找到結果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜尋"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcast"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["顯示專輯"]),t(["顯示所有 ",n(r("count"))," 個專輯"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["顯示藝人"]),t(["顯示所有 ",n(r("count"))," 位藝人"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["顯示有聲書"]),t(["顯示所有 ",n(r("count"))," 本有聲書"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["顯示作曲家"]),t(["顯示所有 ",n(r("count"))," 位作曲家"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["顯示播放列表"]),t(["顯示所有 ",n(r("count"))," 個播放列表"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["顯示Podcast"]),t(["顯示所有 ",n(r("count"))," 個Podcast"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["顯示曲目"]),t(["顯示所有 ",n(r("count"))," 首曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])},tabs:{library:e=>{const{normalize:t}=e;return t(["資料庫"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{title:e=>{const{normalize:t}=e;return t(["封面"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone支持PNG和 JPEG封面這些封面可以作為單獨的圖像文件放置在庫中或嵌入到媒體文件中也可以通過電台在線提供"])},"explanation-2":e=>{const{normalize:t}=e;return t(["除此之外,您還可以從以下素材提供者獲取封面:"])},"show-coverart":e=>{const{normalize:t}=e;return t(["在專輯列表中顯示封面藝術作品"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["忽略電台提供的作品"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["沒有活躍的配對請求"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配對代碼"])},"pairing-request":e=>{const{normalize:t}=e;return t(["遠程配對請求來自於 "])},pairing:e=>{const{normalize:t}=e;return t(["遙控配對"])},send:e=>{const{normalize:t}=e;return t(["發送"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["如果您的揚聲器需要配對,請在下面輸入它顯示的 PIN以啓用"])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["揚聲器配對和設備驗證"])},"verification-code":e=>{const{normalize:t}=e;return t(["驗證碼"])},verify:e=>{const{normalize:t}=e;return t(["驗證"])}},general:{audiobooks:e=>{const{normalize:t}=e;return t(["有聲書"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["音樂類型"])},language:e=>{const{normalize:t}=e;return t(["語言"])},music:e=>{const{normalize:t}=e;return t(["音樂"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["如果您選擇的項目多於屏幕上可以顯示的項目,則側邊欄菜單將會消失"])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["選擇頂部導航欄菜單項"])},"navigation-items":e=>{const{normalize:t}=e;return t(["導航條"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["“正在播放”頁面"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcast"])},radio:e=>{const{normalize:t}=e;return t(["電台"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["限制“最近新增”頁面上顯示的專輯數量"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["“最近新增”頁面"])},search:e=>{const{normalize:t}=e;return t(["搜尋"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["以逗號分隔音樂類型,作曲家會在“正在播放的頁面”上顯示"])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["留空以始終顯示作曲家"])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(["通過檢查是否包含定義的音樂類型之一來匹配當前曲目的音樂類型標籤。例如,設定為“古典、原聲帶”將顯示音樂類型標籤為“當代古典”的曲目的作曲家"])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["僅顯示列出的音樂類型的作曲家"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["如果啓用,當前播放曲目的作曲家將顯示在“正在播放頁面”上"])},"show-composer":e=>{const{normalize:t}=e;return t(["顯示作曲家"])},"show-path":e=>{const{normalize:t}=e;return t(["在“正在播放”頁面顯示文件路徑"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["使用您的 Last.fm 用戶名和密碼登入以啓用記錄功能"])},info:e=>{const{normalize:t}=e;return t(["OwnTone不會存儲您的 Last.fm 用戶名/密碼,僅存儲會話密鑰。會話密鑰不會過期"])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone並無Last.fm的官方支持"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone並無 Spotify 官方的支持,也未安裝 libspotify"])},"logged-as":e=>{const{normalize:t}=e;return t(["登入為 "])},requirements:e=>{const{normalize:t}=e;return t(["您必須擁有 Spotify付費帳戶"])},scopes:e=>{const{normalize:t}=e;return t(["訪問 Spotify Web API 可以掃描您的 Spotify庫。所需範圍是"])},user:e=>{const{normalize:t}=e;return t(["授予訪問權限"])},authorize:e=>{const{normalize:t}=e;return t(["授權 Web API 訪問"])},"grant-access":e=>{const{normalize:t}=e;return t(["授予對 Spotify Web API 的訪問權限"])},reauthorize:e=>{const{normalize:t}=e;return t(["請重新授權 Web API 訪問權限,以授予 OwnTone 以下附加訪問權限:"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["登入"])},logout:e=>{const{normalize:t}=e;return t(["退出"])},password:e=>{const{normalize:t}=e;return t(["密碼"])},username:e=>{const{normalize:t}=e;return t(["用戶名"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},general:e=>{const{normalize:t}=e;return t(["概覽"])},"online-services":e=>{const{normalize:t}=e;return t(["在線服務"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["遙控和輸出"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 張專輯"]),t([n(r("count"))," 張專輯"])])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])}},music:{"featured-playlists":e=>{const{normalize:t}=e;return t(["特色列表"])},"new-releases":e=>{const{normalize:t}=e;return t(["最新發行"])},"show-more":e=>{const{normalize:t}=e;return t(["顯示更多"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 首曲目"]),t([n(r("count"))," 首曲目"])])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放"])}},search:{albums:e=>{const{normalize:t}=e;return t(["專輯"])},artists:e=>{const{normalize:t}=e;return t(["藝人"])},"no-results":e=>{const{normalize:t}=e;return t(["未找到結果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜尋"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["顯示專輯"]),t(["顯示所有 ",n(r("count"))," 個專輯"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["顯示藝人"]),t(["顯示所有 ",n(r("count"))," 位藝人"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["顯示播放列表"]),t(["顯示所有 ",n(r("count"))," 個播放列表"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["顯示曲目"]),t(["顯示所有 ",n(r("count"))," 首曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["檔案夾"])},plain:e=>{const{normalize:t}=e;return t(["簡單"])},smart:e=>{const{normalize:t}=e;return t(["智能"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["清除歷史"])},pause:e=>{const{normalize:t}=e;return t(["暫停"])},play:e=>{const{normalize:t}=e;return t(["播放"])},repeat:e=>{const{normalize:t}=e;return t(["重復播放所有曲目"])},"repeat-off":e=>{const{normalize:t}=e;return t(["所有曲目僅播放一遍"])},"repeat-once":e=>{const{normalize:t}=e;return t(["重復當前曲目"])},"seek-backward":e=>{const{normalize:t}=e;return t(["在當前曲目後退"])},"seek-forward":e=>{const{normalize:t}=e;return t(["在當前曲目前進"])},shuffle:e=>{const{normalize:t}=e;return t(["隨機播放曲目"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["按順序播放曲目"])},"skip-backward":e=>{const{normalize:t}=e;return t(["播放上一首"])},"skip-forward":e=>{const{normalize:t}=e;return t(["播放下一首"])},stop:e=>{const{normalize:t}=e;return t(["停止"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["顯示/隱藏歌詞"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (設定儲存錯誤)"])},saved:e=>{const{normalize:t}=e;return t([" (設定已儲存)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["無法連接到 OwnTone 伺服器"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["請求失敗 (狀態:",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["清單以新增到播放列表 ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["已附加到隊列的 ",n(r("count"))," 首曲目"]),t(["已附加到隊列的 ",n(r("count"))," 首曲目"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["清單是空的"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["今日"])},"last-week":e=>{const{normalize:t}=e;return t(["上周"])},"last-month":e=>{const{normalize:t}=e;return t(["上月"])},undefined:e=>{const{normalize:t}=e;return t(["未定義"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["單聲道"])},stereo:e=>{const{normalize:t}=e;return t(["立體聲"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 信道"]),t([n(r("count"))," 信道"])])}}}}),lu=Xk({availableLocales:"zh-TW",fallbackLocale:"en",fallbackWarn:!1,legacy:!1,locale:navigator.language,messages:ax,missingWarn:!1}),yr=Gn("NotificationsStore",{state:()=>({list:[],next_id:1}),actions:{add(e){const t={id:this.next_id++,text:e.text,timeout:e.timeout,topic:e.topic,type:e.type};if(t.topic){const n=this.list.findIndex(r=>r.topic===t.topic);if(n>=0){this.list.splice(n,1,t);return}}this.list.push(t),e.timeout>0&&setTimeout(()=>{this.remove(t)},e.timeout)},remove(e){const t=this.list.indexOf(e);t!==-1&&this.list.splice(t,1)}}}),On=Gn("PlayerStore",{state:()=>({consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,repeat:"off",shuffle:!1,state:"stop",volume:0})}),ir=Gn("QueueStore",{state:()=>({count:0,items:[],version:0}),getters:{current(e){const t=On();return e.items.find(n=>n.id===t.item_id)??{}}}}),{t:os}=lu.global;de.interceptors.response.use(e=>e,e=>(e.request.status&&e.request.responseURL&&yr().add({text:os("server.request-failed",{cause:e.request.statusText,status:e.request.status,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)));const B={config(){return de.get("./api/config")},lastfm(){return de.get("./api/lastfm")},lastfm_login(e){return de.post("./api/lastfm-login",e)},lastfm_logout(){return de.get("./api/lastfm-logout")},library_add(e){return de.post("./api/library/add",null,{params:{url:e}})},library_album(e){return de.get(`./api/library/albums/${e}`)},library_album_track_update(e,t){return de.put(`./api/library/albums/${e}/tracks`,null,{params:t})},library_album_tracks(e,t={limit:-1,offset:0}){return de.get(`./api/library/albums/${e}/tracks`,{params:t})},library_albums(e){return de.get("./api/library/albums",{params:{media_kind:e}})},library_artist(e){return de.get(`./api/library/artists/${e}`)},library_artist_albums(e){return de.get(`./api/library/artists/${e}/albums`)},library_artist_tracks(e){const t={expression:`songartistid is "${e}"`,type:"tracks"};return de.get("./api/search",{params:t})},library_artists(e){return de.get("./api/library/artists",{params:{media_kind:e}})},library_composer(e){return de.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"albums"};return de.get("./api/search",{params:t})},library_composer_tracks(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"tracks"};return de.get("./api/search",{params:t})},library_composers(e){return de.get("./api/library/composers",{params:{media_kind:e}})},library_count(e){return de.get(`./api/library/count?expression=${e}`)},library_files(e){return de.get("./api/library/files",{params:{directory:e}})},library_genre(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"genres"};return de.get("./api/search",{params:n})},library_genre_albums(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"albums"};return de.get("./api/search",{params:n})},library_genre_tracks(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"tracks"};return de.get("./api/search",{params:n})},library_genres(e){const t={expression:`media_kind is ${e}`,type:"genres"};return de.get("./api/search",{params:t})},library_playlist(e){return de.get(`./api/library/playlists/${e}`)},library_playlist_delete(e){return de.delete(`./api/library/playlists/${e}`,null)},library_playlist_folder(e=0){return de.get(`./api/library/playlists/${e}/playlists`)},library_playlist_tracks(e){return de.get(`./api/library/playlists/${e}/tracks`)},library_podcast_episodes(e){const t={expression:`media_kind is podcast and songalbumid is "${e}" ORDER BY date_released DESC`,type:"tracks"};return de.get("./api/search",{params:t})},library_podcasts_new_episodes(){const e={expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC",type:"tracks"};return de.get("./api/search",{params:e})},library_radio_streams(){const e={expression:"data_kind is url and song_length = 0",media_kind:"music",type:"tracks"};return de.get("./api/search",{params:e})},library_rescan(e){return de.put("./api/rescan",null,{params:{scan_kind:e}})},library_stats(){return de.get("./api/library")},library_track(e){return de.get(`./api/library/tracks/${e}`)},library_track_playlists(e){return de.get(`./api/library/tracks/${e}/playlists`)},library_track_update(e,t={}){return de.put(`./api/library/tracks/${e}`,null,{params:t})},library_update(e){return de.put("./api/update",null,{params:{scan_kind:e}})},output_toggle(e){return de.put(`./api/outputs/${e}/toggle`)},output_update(e,t){return de.put(`./api/outputs/${e}`,t)},outputs(){return de.get("./api/outputs")},pairing(){return de.get("./api/pairing")},pairing_kickoff(e){return de.post("./api/pairing",e)},player_consume(e){return de.put(`./api/player/consume?state=${e}`)},player_next(){return de.put("./api/player/next")},player_output_volume(e,t){return de.put(`./api/player/volume?volume=${t}&output_id=${e}`)},player_pause(){return de.put("./api/player/pause")},player_play(e={}){return de.put("./api/player/play",null,{params:e})},player_play_expression(e,t,n){const r={clear:"true",expression:e,playback:"start",playback_from_position:n,shuffle:t};return de.post("./api/queue/items/add",null,{params:r})},player_play_uri(e,t,n){const r={clear:"true",playback:"start",playback_from_position:n,shuffle:t,uris:e};return de.post("./api/queue/items/add",null,{params:r})},player_previous(){return de.put("./api/player/previous")},player_repeat(e){return de.put(`./api/player/repeat?state=${e}`)},player_seek(e){return de.put(`./api/player/seek?seek_ms=${e}`)},player_seek_to_pos(e){return de.put(`./api/player/seek?position_ms=${e}`)},player_shuffle(e){return de.put(`./api/player/shuffle?state=${e}`)},player_status(){return de.get("./api/player")},player_stop(){return de.put("./api/player/stop")},player_volume(e){return de.put(`./api/player/volume?volume=${e}`)},queue(){return de.get("./api/queue")},queue_add(e){return de.post(`./api/queue/items/add?uris=${e}`).then(t=>(yr().add({text:os("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_add_next(e){let t=0;const{current:n}=ir();return n!=null&&n.id&&(t=n.position+1),de.post(`./api/queue/items/add?uris=${e}&position=${t}`).then(r=>(yr().add({text:os("server.appended-tracks",{count:r.data.count}),timeout:2e3,type:"info"}),Promise.resolve(r)))},queue_clear(){return de.put("./api/queue/clear")},queue_expression_add(e){return de.post("./api/queue/items/add",null,{params:{expression:e}}).then(t=>(yr().add({text:os("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_expression_add_next(e){const t={};t.expression=e,t.position=0;const{current:n}=ir();return n!=null&&n.id&&(t.position=n.position+1),de.post("./api/queue/items/add",null,{params:t}).then(r=>(yr().add({text:os("server.appended-tracks",{count:r.data.count}),timeout:2e3,type:"info"}),Promise.resolve(r)))},queue_move(e,t){return de.put(`./api/queue/items/${e}?new_position=${t}`)},queue_remove(e){return de.delete(`./api/queue/items/${e}`)},queue_save_playlist(e){return de.post("./api/queue/save",null,{params:{name:e}}).then(t=>(yr().add({text:os("server.queue-saved",{name:e}),timeout:2e3,type:"info"}),Promise.resolve(t)))},search(e){return de.get("./api/search",{params:e})},settings(){return de.get("./api/settings")},settings_update(e,t){return de.put(`./api/settings/${e}/${t.name}`,t)},spotify(){return de.get("./api/spotify")},spotify_logout(){return de.get("./api/spotify-logout")}},le=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},lx={name:"ModalDialogRemotePairing",props:{show:Boolean},emits:["close"],setup(){return{remoteStore:Kd()}},data(){return{pairing_req:{pin:""}}},computed:{pairing(){return this.remoteStore.pairing}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.pin_field.focus()},10))}},methods:{kickoff_pairing(){B.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},ux={key:0,class:"modal is-active"},cx={class:"modal-content"},dx={class:"card"},mx={class:"card-content"},fx=["textContent"],px=["textContent"],hx={class:"field"},_x={class:"control"},gx=["placeholder"],yx={class:"card-footer is-clipped"},zx=["textContent"],bx=["textContent"];function vx(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",ux,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",cx,[u("div",dx,[u("div",mx,[u("p",{class:"title is-4",textContent:y(e.$t("dialog.remote-pairing.title"))},null,8,fx),u("form",{onSubmit:t[2]||(t[2]=bt((...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a),["prevent"]))},[u("label",{class:"label",textContent:y(s.pairing.remote)},null,8,px),u("div",hx,[u("div",_x,[gt(u("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.pairing_req.pin=a),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,gx),[[vn,o.pairing_req.pin]])])])],32)]),u("footer",yx,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.remote-pairing.cancel"))},null,8,zx)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a))},[v(i,{class:"icon",name:"cellphone",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.remote-pairing.pair"))},null,8,bx)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const Cx=le(lx,[["render",vx]]),wx={name:"ModalDialog",props:{close_action:{default:"",type:String},delete_action:{default:"",type:String},ok_action:{default:"",type:String},show:Boolean,title:{required:!0,type:String}},emits:["delete","close","ok"]},Sx={key:0,class:"modal is-active"},kx={class:"modal-content"},xx={class:"card"},Ex={class:"card-content"},Tx=["textContent"],$x={class:"card-footer is-clipped"},Ax=["textContent"],Ox=["textContent"],Px=["textContent"];function Ix(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",Sx,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",kx,[u("div",xx,[u("div",Ex,[n.title?(x(),I("p",{key:0,class:"title is-4",textContent:y(n.title)},null,8,Tx)):Q("",!0),wt(e.$slots,"modal-content")]),u("footer",$x,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:y(n.close_action)},null,8,Ax)]),n.delete_action?(x(),I("a",{key:0,class:"card-footer-item has-background-danger has-text-white has-text-weight-bold",onClick:t[2]||(t[2]=a=>e.$emit("delete"))},[v(i,{class:"icon",name:"delete",size:"16"}),u("span",{class:"is-size-7",textContent:y(n.delete_action)},null,8,Ox)])):Q("",!0),n.ok_action?(x(),I("a",{key:1,class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=a=>e.$emit("ok"))},[v(i,{class:"icon",name:"check",size:"16"}),u("span",{class:"is-size-7",textContent:y(n.ok_action)},null,8,Px)])):Q("",!0)])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):Q("",!0)]),_:3})}const am=le(wx,[["render",Ix]]),uu=Gn("LibraryStore",{state:()=>({albums:0,artists:0,db_playtime:0,songs:0,rss:{},started_at:"01",updated_at:"01",update_dialog_scan_kind:"",updating:!1})}),It=Gn("ServicesStore",{state:()=>({lastfm:{},spotify:{}})}),Lx={name:"ModalDialogUpdate",components:{ModalDialog:am},props:{show:Boolean},emits:["close"],setup(){return{libraryStore:uu(),servicesStore:It()}},data(){return{rescan_metadata:!1}},computed:{library(){return this.libraryStore.$state},rss(){return this.libraryStore.rss},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid},update_dialog_scan_kind:{get(){return this.library.update_dialog_scan_kind},set(e){this.library.update_dialog_scan_kind=e}}},methods:{close(){this.update_dialog_scan_kind="",this.$emit("close")},update_library(){this.rescan_metadata?B.library_rescan(this.update_dialog_scan_kind):B.library_update(this.update_dialog_scan_kind)}}},Nx={key:0},Dx=["textContent"],Rx={key:0,class:"field"},Mx={class:"control"},Fx={class:"select is-small"},Vx=["textContent"],Hx=["textContent"],Ux=["textContent"],jx=["textContent"],Bx={class:"field"},Wx=["textContent"],qx={key:1},Gx=["textContent"];function Kx(e,t,n,r,o,s){const i=O("modal-dialog");return x(),ve(i,{show:n.show,title:e.$t("dialog.update.title"),ok_action:s.library.updating?"":e.$t("dialog.update.rescan"),close_action:e.$t("dialog.update.cancel"),onOk:s.update_library,onClose:t[2]||(t[2]=a=>s.close())},{"modal-content":N(()=>[s.library.updating?(x(),I("div",qx,[u("p",{class:"mb-3",textContent:y(e.$t("dialog.update.progress"))},null,8,Gx)])):(x(),I("div",Nx,[u("p",{class:"mb-3",textContent:y(e.$t("dialog.update.info"))},null,8,Dx),s.spotify_enabled||s.rss.tracks>0?(x(),I("div",Rx,[u("div",Mx,[u("div",Fx,[gt(u("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>s.update_dialog_scan_kind=a)},[u("option",{value:"",textContent:y(e.$t("dialog.update.all"))},null,8,Vx),u("option",{value:"files",textContent:y(e.$t("dialog.update.local"))},null,8,Hx),s.spotify_enabled?(x(),I("option",{key:0,value:"spotify",textContent:y(e.$t("dialog.update.spotify"))},null,8,Ux)):Q("",!0),s.rss.tracks>0?(x(),I("option",{key:1,value:"rss",textContent:y(e.$t("dialog.update.feeds"))},null,8,jx)):Q("",!0)],512),[[Gd,s.update_dialog_scan_kind]])])])])):Q("",!0),u("div",Bx,[gt(u("input",{id:"rescan","onUpdate:modelValue":t[1]||(t[1]=a=>o.rescan_metadata=a),type:"checkbox",class:"switch is-rounded is-small"},null,512),[[jn,o.rescan_metadata]]),u("label",{for:"rescan",textContent:y(e.$t("dialog.update.rescan-metadata"))},null,8,Wx)])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const Zx=le(Lx,[["render",Kx]]),Yx={name:"ControlSlider",props:{cursor:{default:"",type:String},disabled:Boolean,max:{required:!0,type:Number},value:{required:!0,type:Number}},emits:["update:value"],computed:{ratio(){return this.value/this.max}}},Xx=["value","disabled","max"];function Jx(e,t,n,r,o,s){return x(),I("input",{value:n.value,disabled:n.disabled,class:Se(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:po({"--ratio":s.ratio,"--cursor":e.$filters.cursor(n.cursor)}),onInput:t[0]||(t[0]=i=>e.$emit("update:value",i.target.valueAsNumber))},null,46,Xx)}const lm=le(Yx,[["render",Jx]]),wn=Gn("UIStore",{state:()=>({albums_sort:1,artist_albums_sort:1,artist_tracks_sort:1,artists_sort:1,composer_tracks_sort:1,genre_tracks_sort:1,hide_singles:!1,hide_spotify:!1,show_burger_menu:!1,show_only_next_items:!1,show_player_menu:!1,show_update_dialog:!1})}),Qx={name:"NavbarItemLink",props:{to:{required:!0,type:Object}},setup(){return{uiStore:wn()}},computed:{href(){return this.$router.resolve(this.to).href}},methods:{open(){this.uiStore.show_burger_menu&&(this.uiStore.show_burger_menu=!1),this.uiStore.show_player_menu&&(this.uiStore.show_player_menu=!1),this.$router.push(this.to)}}},eE=["href"];function tE(e,t,n,r,o,s){return x(),I("a",{class:"navbar-item",href:s.href,onClick:t[0]||(t[0]=bt((...i)=>s.open&&s.open(...i),["stop","prevent"]))},[wt(e.$slots,"default")],8,eE)}const By=le(Qx,[["render",tE]]);var nE="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",rE="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",oE="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",sE="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",iE="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",aE="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",lE="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",uE="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",cu="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",cE="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",dE="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",mE="M17,19H7V5H17M17,1H7C5.89,1 5,1.89 5,3V21A2,2 0 0,0 7,23H17A2,2 0 0,0 19,21V3C19,1.89 18.1,1 17,1Z",fE="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",pE="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",hE="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",_E="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",gE="M15,9H5V5H15M12,19A3,3 0 0,1 9,16A3,3 0 0,1 12,13A3,3 0 0,1 15,16A3,3 0 0,1 12,19M17,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V7L17,3Z",yE="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",zE="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",bE="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",vE="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",CE="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",wE="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",SE="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13,13H11V18A2,2 0 0,1 9,20A2,2 0 0,1 7,18A2,2 0 0,1 9,16C9.4,16 9.7,16.1 10,16.3V11H13V13M13,9V3.5L18.5,9H13Z",kE="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",xE="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",EE="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",TE="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",$E="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",AE="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",OE="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",PE="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",IE="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",LE="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",NE="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",DE="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",RE="M14,19H18V5H14M6,19H10V5H6V19Z",ME="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",FE="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",VE="M8,5.14V19.14L19,12.14L8,5.14Z",HE="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",UE="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",jE="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",BE="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",WE="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",qE="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",GE="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",KE="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",ZE="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",YE="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",XE="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",JE="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",QE="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",e2="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",t2="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",n2="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",r2="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",o2="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",s2="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",i2="M18,18H6V6H18V18Z",a2="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",l2="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",u2="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 c2={name:"NavbarItemOutput",components:{ControlSlider:lm},props:{output:{required:!0,type:Object}},data(){return{cursor:cu,volume:this.output.selected?this.output.volume:0}},computed:{type_class(){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:{change_volume(){B.player_output_volume(this.output.id,this.volume)},set_enabled(){const e={selected:!this.output.selected};B.output_update(this.output.id,e)}}},d2={class:"navbar-item"},m2={class:"level is-mobile"},f2={class:"level-left is-flex-grow-1"},p2={class:"level-item is-flex-grow-0"},h2={class:"level-item"},_2={class:"is-flex-grow-1"},g2=["textContent"];function y2(e,t,n,r,o,s){const i=O("mdicon"),a=O("control-slider");return x(),I("div",d2,[u("div",m2,[u("div",f2,[u("div",p2,[u("a",{class:Se(["button is-white is-small",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>s.set_enabled&&s.set_enabled(...l))},[v(i,{class:"icon",name:s.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)]),u("div",h2,[u("div",_2,[u("p",{class:Se(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:y(n.output.name)},null,10,g2),v(a,{value:o.volume,"onUpdate:value":t[1]||(t[1]=l=>o.volume=l),disabled:!n.output.selected,max:100,cursor:o.cursor,onChange:s.change_volume},null,8,["value","disabled","cursor","onChange"])])])])])])}const z2=le(c2,[["render",y2]]),b2={name:"PlayerButtonConsume",props:{icon_size:{default:16,type:Number}},setup(){return{playerStore:On()}},computed:{is_consume(){return this.playerStore.consume}},methods:{toggle_consume_mode(){B.player_consume(!this.is_consume)}}};function v2(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{class:Se({"is-info":s.is_consume}),onClick:t[0]||(t[0]=(...a)=>s.toggle_consume_mode&&s.toggle_consume_mode(...a))},[v(i,{class:"icon",name:"fire",size:n.icon_size,title:e.$t("player.button.consume")},null,8,["size","title"])],2)}const C2=le(b2,[["render",v2]]),du=Gn("LyricsStore",{state:()=>({content:[],pane:!1})}),w2={name:"PlayerButtonLyrics",props:{icon_size:{default:16,type:Number}},setup(){return{lyricsStore:du()}},computed:{icon_name(){return this.is_active?"script-text-play":"script-text-outline"},is_active(){return this.lyricsStore.pane}},methods:{toggle_lyrics(){this.lyricsStore.pane=!this.lyricsStore.pane}}};function S2(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{class:Se({"is-info":s.is_active}),onClick:t[0]||(t[0]=(...a)=>s.toggle_lyrics&&s.toggle_lyrics(...a))},[v(i,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t("player.button.toggle-lyrics")},null,8,["name","size","title"])],2)}const k2=le(w2,[["render",S2]]),x2={name:"PlayerButtonNext",props:{icon_size:{default:16,type:Number}},computed:{disabled(){var e;return((e=ir())==null?void 0:e.count)<=0}},methods:{play_next(){this.disabled||B.player_next()}}},E2=["disabled"];function T2(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_next&&s.play_next(...a))},[v(i,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])],8,E2)}const $2=le(x2,[["render",T2]]),A2={name:"PlayerButtonPlayPause",props:{icon_size:{default:16,type:Number},show_disabled_message:Boolean},setup(){return{notificationsStore:yr(),playerStore:On(),queueStore:ir()}},computed:{disabled(){var e;return((e=this.queueStore)==null?void 0:e.count)<=0},icon_name(){if(this.is_playing){if(this.is_pause_allowed)return"pause"}else return"play";return"stop"},is_pause_allowed(){const{current:e}=this.queueStore;return e&&e.data_kind!=="pipe"},is_playing(){return this.playerStore.state==="play"}},methods:{toggle_play_pause(){if(this.disabled){this.show_disabled_message&&this.notificationsStore.add({text:this.$t("server.empty-queue"),timeout:2e3,topic:"connection",type:"info"});return}this.is_playing&&this.is_pause_allowed?B.player_pause():this.is_playing&&!this.is_pause_allowed?B.player_stop():B.player_play()}}},O2=["disabled"];function P2(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.toggle_play_pause&&s.toggle_play_pause(...a))},[v(i,{name:s.icon_name,size:n.icon_size,title:e.$t(`player.button.${s.icon_name}`)},null,8,["name","size","title"])],8,O2)}const I2=le(A2,[["render",P2]]),L2={name:"PlayerButtonPrevious",props:{icon_size:{default:16,type:Number}},setup(){return{queueStore:ir()}},computed:{disabled(){return this.queueStore.count<=0}},methods:{play_previous(){this.disabled||B.player_previous()}}},N2=["disabled"];function D2(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_previous&&s.play_previous(...a))},[v(i,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])],8,N2)}const R2=le(L2,[["render",D2]]),M2={name:"PlayerButtonRepeat",props:{icon_size:{default:16,type:Number}},setup(){return{playerStore:On()}},computed:{icon_name(){return this.is_repeat_all?"repeat":this.is_repeat_single?"repeat-once":"repeat-off"},is_repeat_all(){return this.playerStore.repeat==="all"},is_repeat_off(){return!this.is_repeat_all&&!this.is_repeat_single},is_repeat_single(){return this.playerStore.repeat==="single"}},methods:{toggle_repeat_mode(){this.is_repeat_all?B.player_repeat("single"):this.is_repeat_single?B.player_repeat("off"):B.player_repeat("all")}}};function F2(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{class:Se({"is-info":!s.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>s.toggle_repeat_mode&&s.toggle_repeat_mode(...a))},[v(i,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t(`player.button.${s.icon_name}`)},null,8,["name","size","title"])],2)}const V2=le(M2,[["render",F2]]),H2={name:"PlayerButtonSeekBack",props:{icon_size:{default:16,type:Number},seek_ms:{required:!0,type:Number}},setup(){return{playerStore:On(),queueStore:ir()}},computed:{disabled(){var e;return((e=this.queueStore)==null?void 0:e.count)<=0||this.is_stopped||this.current.data_kind==="pipe"},is_stopped(){return this.player.state==="stop"},current(){return this.queueStore.current},player(){return this.playerStore},visible(){return["podcast","audiobook"].includes(this.current.media_kind)}},methods:{seek(){this.disabled||B.player_seek(this.seek_ms*-1)}}},U2=["disabled"];function j2(e,t,n,r,o,s){const i=O("mdicon");return s.visible?(x(),I("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[v(i,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])],8,U2)):Q("",!0)}const B2=le(H2,[["render",j2]]),W2={name:"PlayerButtonSeekForward",props:{icon_size:{default:16,type:Number},seek_ms:{required:!0,type:Number}},setup(){return{playerStore:On(),queueStore:ir()}},computed:{disabled(){var e;return((e=this.queueStore)==null?void 0:e.count)<=0||this.is_stopped||this.current.data_kind==="pipe"},is_stopped(){return this.player.state==="stop"},current(){return this.queueStore.current},player(){return this.playerStore},visible(){return["podcast","audiobook"].includes(this.current.media_kind)}},methods:{seek(){this.disabled||B.player_seek(this.seek_ms)}}},q2=["disabled"];function G2(e,t,n,r,o,s){const i=O("mdicon");return s.visible?(x(),I("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[v(i,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])],8,q2)):Q("",!0)}const K2=le(W2,[["render",G2]]),Z2={name:"PlayerButtonShuffle",props:{icon_size:{default:16,type:Number}},setup(){return{playerStore:On()}},computed:{icon_name(){return this.is_shuffle?"shuffle":"shuffle-disabled"},is_shuffle(){return this.playerStore.shuffle}},methods:{toggle_shuffle_mode(){B.player_shuffle(!this.is_shuffle)}}};function Y2(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{class:Se({"is-info":s.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>s.toggle_shuffle_mode&&s.toggle_shuffle_mode(...a))},[v(i,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t(`player.button.${s.icon_name}`)},null,8,["name","size","title"])],2)}const X2=le(Z2,[["render",Y2]]),qs={audio:new Audio,context:null,play(e){this.stop(),this.context.resume().then(()=>{this.audio.src=`${String(e||"")}?x=${Date.now()}`,this.audio.crossOrigin="anonymous",this.audio.load()})},setVolume(e){this.audio&&(this.audio.volume=Math.min(1,Math.max(0,parseFloat(e)||0)))},setup(){return this.context=new(window.AudioContext||window.webkitAudioContext),this.context.createMediaElementSource(this.audio).connect(this.context.destination),this.audio.addEventListener("canplaythrough",()=>{this.audio.play()}),this.audio.addEventListener("canplay",()=>{this.audio.play()}),this.audio},stop(){try{this.audio.pause()}catch{}try{this.audio.stop()}catch{}try{this.audio.close()}catch{}}},um=Gn("OutputsStore",{state:()=>({outputs:[]})}),J2={name:"NavbarBottom",components:{ControlSlider:lm,NavbarItemLink:By,NavbarItemOutput:z2,PlayerButtonConsume:C2,PlayerButtonLyrics:k2,PlayerButtonNext:$2,PlayerButtonPlayPause:I2,PlayerButtonPrevious:R2,PlayerButtonRepeat:V2,PlayerButtonSeekBack:B2,PlayerButtonSeekForward:K2,PlayerButtonShuffle:X2},setup(){return{notificationsStore:yr(),outputsStore:um(),playerStore:On(),queueStore:ir(),uiStore:wn()}},data(){return{cursor:cu,loading:!1,old_volume:0,playing:!1,show_desktop_outputs_menu:!1,show_outputs_menu:!1,stream_volume:10}},computed:{is_now_playing_page(){return this.$route.name==="now-playing"},current(){return this.queueStore.current},outputs(){return this.outputsStore.outputs},player(){return this.playerStore},show_player_menu:{get(){return this.uiStore.show_player_menu},set(e){this.uiStore.show_player_menu=e}}},watch:{"playerStore.volume"(){this.player.volume>0&&(this.old_volume=this.player.volume)}},mounted(){this.setupAudio()},unmounted(){this.closeAudio()},methods:{change_stream_volume(){qs.setVolume(this.stream_volume/100)},change_volume(){B.player_volume(this.player.volume)},closeAudio(){qs.stop(),this.playing=!1},on_click_outside_outputs(){this.show_outputs_menu=!1},playChannel(){this.playing||(this.loading=!0,qs.play("/stream.mp3"),qs.setVolume(this.stream_volume/100))},setupAudio(){const e=qs.setup();e.addEventListener("waiting",()=>{this.playing=!1,this.loading=!0}),e.addEventListener("playing",()=>{this.playing=!0,this.loading=!1}),e.addEventListener("ended",()=>{this.playing=!1,this.loading=!1}),e.addEventListener("error",()=>{this.closeAudio(),this.notificationsStore.add({text:this.$t("navigation.stream-error"),type:"danger"}),this.playing=!1,this.loading=!1})},togglePlay(){this.loading||(this.playing&&this.closeAudio(),this.playChannel())},toggle_mute_volume(){this.player.volume=this.player.volume>0?0:this.old_volume,this.change_volume()}}},Q2={class:"navbar-dropdown is-right fd-width-auto"},eT={class:"navbar-item"},tT={class:"level is-mobile"},nT={class:"level-left is-flex-grow-1"},rT={class:"level-item is-flex-grow-0"},oT={class:"level-item"},sT=["textContent"],iT={class:"navbar-item"},aT={class:"level is-mobile"},lT={class:"level-left is-flex-grow-1"},uT={class:"level-item is-flex-grow-0"},cT={class:"level-item"},dT={class:"is-flex-grow-1"},mT=["textContent"],fT={href:"stream.mp3",class:"heading ml-2",target:"_blank"},pT={class:"navbar-item is-justify-content-center"},hT={class:"buttons has-addons"},_T={class:"navbar-brand is-flex-grow-1"},gT={class:"fd-is-text-clipped"},yT=["textContent"],zT=["textContent"],bT=["textContent"],vT={class:"navbar-item"},CT={class:"buttons has-addons is-centered"},wT={class:"navbar-item"},ST={class:"level is-mobile"},kT={class:"level-left is-flex-grow-1"},xT={class:"level-item is-flex-grow-0"},ET={class:"level-item"},TT={class:"is-flex-grow-1"},$T=["textContent"],AT={class:"navbar-item mb-5"},OT={class:"level is-mobile"},PT={class:"level-left is-flex-grow-1"},IT={class:"level-item is-flex-grow-0"},LT={class:"level-item"},NT={class:"is-flex-grow-1"},DT=["textContent"],RT={href:"stream.mp3",class:"heading ml-2",target:"_blank"};function MT(e,t,n,r,o,s){const i=O("mdicon"),a=O("control-slider"),l=O("navbar-item-output"),c=O("player-button-repeat"),d=O("player-button-shuffle"),m=O("player-button-consume"),f=O("player-button-lyrics"),p=O("navbar-item-link"),h=O("player-button-previous"),_=O("player-button-seek-back"),b=O("player-button-play-pause"),C=O("player-button-seek-forward"),w=O("player-button-next");return x(),I("nav",{class:Se(["navbar is-block is-white is-fixed-bottom fd-bottom-navbar",{"is-transparent":s.is_now_playing_page,"is-dark":!s.is_now_playing_page}]),role:"navigation","aria-label":"player controls"},[u("div",{class:Se(["navbar-item has-dropdown has-dropdown-up is-hidden-touch",{"is-active":s.show_player_menu}])},[u("div",Q2,[u("div",eT,[u("div",tT,[u("div",nT,[u("div",rT,[u("a",{class:"button is-white is-small",onClick:t[0]||(t[0]=(...g)=>s.toggle_mute_volume&&s.toggle_mute_volume(...g))},[v(i,{class:"icon",name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),u("div",oT,[u("div",null,[u("p",{class:"heading",textContent:y(e.$t("navigation.volume"))},null,8,sT),v(a,{value:s.player.volume,"onUpdate:value":t[1]||(t[1]=g=>s.player.volume=g),max:100,onChange:s.change_volume},null,8,["value","onChange"])])])])])]),t[9]||(t[9]=u("hr",{class:"my-3"},null,-1)),(x(!0),I(ze,null,zt(s.outputs,g=>(x(),ve(l,{key:g.id,output:g},null,8,["output"]))),128)),t[10]||(t[10]=u("hr",{class:"my-3"},null,-1)),u("div",iT,[u("div",aT,[u("div",lT,[u("div",uT,[u("a",{class:Se(["button is-white is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[2]||(t[2]=(...g)=>s.togglePlay&&s.togglePlay(...g))},[v(i,{class:"icon",name:"broadcast",size:"18"})],2)]),u("div",cT,[u("div",dT,[u("div",{class:Se(["is-flex is-align-content-center",{"has-text-grey-light":!o.playing}])},[u("p",{class:"heading",textContent:y(e.$t("navigation.stream"))},null,8,mT),u("a",fT,[v(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),v(a,{value:o.stream_volume,"onUpdate:value":t[3]||(t[3]=g=>o.stream_volume=g),disabled:!o.playing,max:100,cursor:o.cursor,onChange:s.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])]),t[11]||(t[11]=u("hr",{class:"my-3"},null,-1)),u("div",pT,[u("div",hT,[v(c,{class:"button"}),v(d,{class:"button"}),v(m,{class:"button"}),v(f,{class:"button"})])])])],2),u("div",_T,[v(p,{to:{name:"queue"},class:"mr-auto"},{default:N(()=>[v(i,{class:"icon",name:"playlist-play",size:"24"})]),_:1}),s.is_now_playing_page?Q("",!0):(x(),ve(p,{key:0,to:{name:"now-playing"},exact:"",class:"is-expanded is-clipped is-size-7"},{default:N(()=>[u("div",gT,[u("strong",{textContent:y(s.current.title)},null,8,yT),t[12]||(t[12]=u("br",null,null,-1)),u("span",{textContent:y(s.current.artist)},null,8,zT),s.current.album?(x(),I("span",{key:0,textContent:y(e.$t("navigation.now-playing",{album:s.current.album}))},null,8,bT)):Q("",!0)])]),_:1})),s.is_now_playing_page?(x(),ve(h,{key:1,class:"navbar-item px-2",icon_size:24})):Q("",!0),s.is_now_playing_page?(x(),ve(_,{key:2,seek_ms:1e4,class:"navbar-item px-2",icon_size:24})):Q("",!0),v(b,{class:"navbar-item px-2",icon_size:36,show_disabled_message:""}),s.is_now_playing_page?(x(),ve(C,{key:3,seek_ms:3e4,class:"navbar-item px-2",icon_size:24})):Q("",!0),s.is_now_playing_page?(x(),ve(w,{key:4,class:"navbar-item px-2",icon_size:24})):Q("",!0),u("a",{class:"navbar-item ml-auto",onClick:t[4]||(t[4]=g=>s.show_player_menu=!s.show_player_menu)},[v(i,{class:"icon",name:s.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])])]),u("div",{class:Se(["navbar-menu is-hidden-desktop",{"is-active":s.show_player_menu}])},[u("div",vT,[u("div",CT,[v(c,{class:"button"}),v(d,{class:"button"}),v(m,{class:"button"}),v(f,{class:"button"})])]),t[13]||(t[13]=u("hr",{class:"my-3"},null,-1)),u("div",wT,[u("div",ST,[u("div",kT,[u("div",xT,[u("a",{class:"button is-white is-small",onClick:t[5]||(t[5]=(...g)=>s.toggle_mute_volume&&s.toggle_mute_volume(...g))},[v(i,{class:"icon",name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),u("div",ET,[u("div",TT,[u("p",{class:"heading",textContent:y(e.$t("navigation.volume"))},null,8,$T),v(a,{value:s.player.volume,"onUpdate:value":t[6]||(t[6]=g=>s.player.volume=g),max:100,onChange:s.change_volume},null,8,["value","onChange"])])])])])]),t[14]||(t[14]=u("hr",{class:"my-3"},null,-1)),(x(!0),I(ze,null,zt(s.outputs,g=>(x(),ve(l,{key:g.id,output:g},null,8,["output"]))),128)),t[15]||(t[15]=u("hr",{class:"my-3"},null,-1)),u("div",AT,[u("div",OT,[u("div",PT,[u("div",IT,[u("a",{class:Se(["button is-white is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[7]||(t[7]=(...g)=>s.togglePlay&&s.togglePlay(...g))},[v(i,{class:"icon",name:"radio-tower",size:"16"})],2)]),u("div",LT,[u("div",NT,[u("div",{class:Se(["is-flex is-align-content-center",{"has-text-grey-light":!o.playing}])},[u("p",{class:"heading",textContent:y(e.$t("navigation.stream"))},null,8,DT),u("a",RT,[v(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),v(a,{value:o.stream_volume,"onUpdate:value":t[8]||(t[8]=g=>o.stream_volume=g),disabled:!o.playing,max:100,cursor:o.cursor,onChange:s.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])])],2)],2)}const FT=le(J2,[["render",MT]]),cm=Gn("SearchStore",{state:()=>({recent_searches:[],search_query:"",search_source:"search-library"}),actions:{add(e){const t=this.recent_searches.indexOf(e);t!==-1&&this.recent_searches.splice(t,1),this.recent_searches.unshift(e),this.recent_searches.length>5&&this.recent_searches.pop()},remove(e){const t=this.recent_searches.indexOf(e);t!==-1&&this.recent_searches.splice(t,1)}}}),cr=Gn("SettingsStore",{state:()=>({categories:[]}),getters:{recently_added_limit:e=>{var t;return((t=e.setting("webinterface","recently_added_limit"))==null?void 0:t.value)??100},show_composer_for_genre:e=>{var t;return((t=e.setting("webinterface","show_composer_for_genre"))==null?void 0:t.value)??null},show_composer_now_playing:e=>{var t;return((t=e.setting("webinterface","show_composer_now_playing"))==null?void 0:t.value)??!1},show_cover_artwork_in_album_lists:e=>{var t;return((t=e.setting("webinterface","show_cover_artwork_in_album_lists"))==null?void 0:t.value)??!1},show_filepath_now_playing:e=>{var t;return((t=e.setting("webinterface","show_filepath_now_playing"))==null?void 0:t.value)??!1},show_menu_item_audiobooks:e=>{var t;return((t=e.setting("webinterface","show_menu_item_audiobooks"))==null?void 0:t.value)??!1},show_menu_item_files:e=>{var t;return((t=e.setting("webinterface","show_menu_item_files"))==null?void 0:t.value)??!1},show_menu_item_music:e=>{var t;return((t=e.setting("webinterface","show_menu_item_music"))==null?void 0:t.value)??!1},show_menu_item_playlists:e=>{var t;return((t=e.setting("webinterface","show_menu_item_playlists"))==null?void 0:t.value)??!1},show_menu_item_podcasts:e=>{var t;return((t=e.setting("webinterface","show_menu_item_podcasts"))==null?void 0:t.value)??!1},show_menu_item_radio:e=>{var t;return((t=e.setting("webinterface","show_menu_item_radio"))==null?void 0:t.value)??!1},show_menu_item_search:e=>{var t;return((t=e.setting("webinterface","show_menu_item_search"))==null?void 0:t.value)??!1}},actions:{update(e){const t=this.categories.find(r=>r.name===e.category);if(!t)return;const n=t.options.find(r=>r.name===e.name);n&&(n.value=e.value)},setting(e,t){var n;return((n=this.categories.find(r=>r.name===e))==null?void 0:n.options.find(r=>r.name===t))??{}}}}),VT={name:"NavbarTop",components:{NavbarItemLink:By},setup(){return{searchStore:cm(),servicesStore:It(),settingsStore:cr(),uiStore:wn()}},data(){return{show_settings_menu:!1}},computed:{show_burger_menu:{get(){return this.uiStore.show_burger_menu},set(e){this.uiStore.show_burger_menu=e}},show_update_dialog:{get(){return this.uiStore.show_update_dialog},set(e){this.uiStore.show_update_dialog=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid},zindex(){return this.uiStore.show_player_menu?"z-index: 21":""}},watch:{$route(e,t){this.show_settings_menu=!1}},methods:{on_click_outside_settings(){this.show_settings_menu=!this.show_settings_menu},open_update_dialog(){this.show_update_dialog=!0,this.show_settings_menu=!1,this.show_burger_menu=!1}}},HT={class:"navbar-brand"},UT={class:"navbar-end"},jT={class:"navbar-item is-arrowless is-hidden-touch"},BT={class:"navbar-dropdown is-right"},WT=["textContent"],qT=["textContent"],GT=["textContent"],KT=["textContent"],ZT=["textContent"],YT=["textContent"],XT=["textContent"],JT=["textContent"],QT=["textContent"],e$=["textContent"],t$=["textContent"],n$=["textContent"];function r$(e,t,n,r,o,s){const i=O("mdicon"),a=O("navbar-item-link");return x(),I("nav",{class:"navbar is-light is-fixed-top",style:po(s.zindex),role:"navigation","aria-label":"main navigation"},[u("div",HT,[r.settingsStore.show_menu_item_playlists?(x(),ve(a,{key:0,to:{name:"playlists"}},{default:N(()=>[v(i,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):Q("",!0),r.settingsStore.show_menu_item_music?(x(),ve(a,{key:1,to:{name:"music"}},{default:N(()=>[v(i,{class:"icon",name:"music",size:"16"})]),_:1})):Q("",!0),r.settingsStore.show_menu_item_podcasts?(x(),ve(a,{key:2,to:{name:"podcasts"}},{default:N(()=>[v(i,{class:"icon",name:"microphone",size:"16"})]),_:1})):Q("",!0),r.settingsStore.show_menu_item_audiobooks?(x(),ve(a,{key:3,to:{name:"audiobooks"}},{default:N(()=>[v(i,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):Q("",!0),r.settingsStore.show_menu_item_radio?(x(),ve(a,{key:4,to:{name:"radio"}},{default:N(()=>[v(i,{class:"icon",name:"radio",size:"16"})]),_:1})):Q("",!0),r.settingsStore.show_menu_item_files?(x(),ve(a,{key:5,to:{name:"files"}},{default:N(()=>[v(i,{class:"icon",name:"folder-open",size:"16"})]),_:1})):Q("",!0),r.settingsStore.show_menu_item_search?(x(),ve(a,{key:6,to:{name:r.searchStore.search_source}},{default:N(()=>[v(i,{class:"icon",name:"magnify",size:"16"})]),_:1},8,["to"])):Q("",!0),u("div",{class:Se(["navbar-burger",{"is-active":s.show_burger_menu}]),onClick:t[0]||(t[0]=l=>s.show_burger_menu=!s.show_burger_menu)},t[4]||(t[4]=[u("span",null,null,-1),u("span",null,null,-1),u("span",null,null,-1)]),2)]),u("div",{class:Se(["navbar-menu",{"is-active":s.show_burger_menu}])},[t[6]||(t[6]=u("div",{class:"navbar-start"},null,-1)),u("div",UT,[u("div",{class:Se(["navbar-item has-dropdown is-hoverable",{"is-active":o.show_settings_menu}]),onClick:t[2]||(t[2]=(...l)=>s.on_click_outside_settings&&s.on_click_outside_settings(...l))},[u("a",jT,[v(i,{class:"icon",name:"menu",size:"24"})]),u("div",BT,[v(a,{to:{name:"playlists"}},{default:N(()=>[v(i,{class:"icon",name:"music-box-multiple",size:"16"}),u("b",{textContent:y(e.$t("navigation.playlists"))},null,8,WT)]),_:1}),v(a,{to:{name:"music"}},{default:N(()=>[v(i,{class:"icon",name:"music",size:"16"}),u("b",{textContent:y(e.$t("navigation.music"))},null,8,qT)]),_:1}),v(a,{to:{name:"music-artists"}},{default:N(()=>[u("span",{class:"pl-5",textContent:y(e.$t("navigation.artists"))},null,8,GT)]),_:1}),v(a,{to:{name:"music-albums"}},{default:N(()=>[u("span",{class:"pl-5",textContent:y(e.$t("navigation.albums"))},null,8,KT)]),_:1}),v(a,{to:{name:"music-genres"}},{default:N(()=>[u("span",{class:"pl-5",textContent:y(e.$t("navigation.genres"))},null,8,ZT)]),_:1}),s.spotify_enabled?(x(),ve(a,{key:0,to:{name:"music-spotify"}},{default:N(()=>[u("span",{class:"pl-5",textContent:y(e.$t("navigation.spotify"))},null,8,YT)]),_:1})):Q("",!0),v(a,{to:{name:"podcasts"}},{default:N(()=>[v(i,{class:"icon",name:"microphone",size:"16"}),u("b",{textContent:y(e.$t("navigation.podcasts"))},null,8,XT)]),_:1}),v(a,{to:{name:"audiobooks"}},{default:N(()=>[v(i,{class:"icon",name:"book-open-variant",size:"16"}),u("b",{textContent:y(e.$t("navigation.audiobooks"))},null,8,JT)]),_:1}),v(a,{to:{name:"radio"}},{default:N(()=>[v(i,{class:"icon",name:"radio",size:"16"}),u("b",{textContent:y(e.$t("navigation.radio"))},null,8,QT)]),_:1}),v(a,{to:{name:"files"}},{default:N(()=>[v(i,{class:"icon",name:"folder-open",size:"16"}),u("b",{textContent:y(e.$t("navigation.files"))},null,8,e$)]),_:1}),v(a,{to:{name:r.searchStore.search_source}},{default:N(()=>[v(i,{class:"icon",name:"magnify",size:"16"}),u("b",{textContent:y(e.$t("navigation.search"))},null,8,t$)]),_:1},8,["to"]),t[5]||(t[5]=u("hr",{class:"my-3"},null,-1)),v(a,{to:{name:"settings-webinterface"}},{default:N(()=>[Mt(y(e.$t("navigation.settings")),1)]),_:1}),u("a",{class:"navbar-item",onClick:t[1]||(t[1]=bt(l=>s.open_update_dialog(),["stop","prevent"])),textContent:y(e.$t("navigation.update-library"))},null,8,n$),v(a,{to:{name:"about"}},{default:N(()=>[Mt(y(e.$t("navigation.about")),1)]),_:1})])],2)])],2),gt(u("div",{class:"is-overlay",onClick:t[3]||(t[3]=l=>o.show_settings_menu=!1)},null,512),[[Li,o.show_settings_menu]])],4)}const o$=le(VT,[["render",r$]]),s$={name:"NotificationList",setup(){return{notificationsStore:yr()}},computed:{notifications(){return this.notificationsStore.list}},methods:{remove(e){this.notificationsStore.remove(e)}}},i$={key:0,class:"notifications"},a$={class:"columns is-centered"},l$={class:"column is-half"},u$=["onClick"],c$=["textContent"];function d$(e,t,n,r,o,s){return s.notifications.length>0?(x(),I("section",i$,[u("div",a$,[u("div",l$,[(x(!0),I(ze,null,zt(s.notifications,i=>(x(),I("div",{key:i.id,class:Se(["notification",i.type?`is-${i.type}`:""])},[u("button",{class:"delete",onClick:a=>s.remove(i)},null,8,u$),u("div",{class:"text",textContent:y(i.text)},null,8,c$)],2))),128))])])])):Q("",!0)}const m$=le(s$,[["render",d$],["__scopeId","data-v-a896a8d3"]]);var Wy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function qy(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Gy={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(Wy,function(){if(!("WebSocket"in window))return;function t(n,r,o){var s={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};o||(o={});for(var i in s)typeof o[i]<"u"?this[i]=o[i]:this[i]=s[i];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a=this,l,c=!1,d=!1,m=document.createElement("div");m.addEventListener("open",function(p){a.onopen(p)}),m.addEventListener("close",function(p){a.onclose(p)}),m.addEventListener("connecting",function(p){a.onconnecting(p)}),m.addEventListener("message",function(p){a.onmessage(p)}),m.addEventListener("error",function(p){a.onerror(p)}),this.addEventListener=m.addEventListener.bind(m),this.removeEventListener=m.removeEventListener.bind(m),this.dispatchEvent=m.dispatchEvent.bind(m);function f(p,h){var _=document.createEvent("CustomEvent");return _.initCustomEvent(p,!1,!1,h),_}this.open=function(p){if(l=new WebSocket(a.url,r||[]),p){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else m.dispatchEvent(f("connecting")),this.reconnectAttempts=0;(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var h=l,_=setTimeout(function(){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),d=!0,h.close(),d=!1},a.timeoutInterval);l.onopen=function(b){clearTimeout(_),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var C=f("open");C.isReconnect=p,p=!1,m.dispatchEvent(C)},l.onclose=function(b){if(clearTimeout(w),l=null,c)a.readyState=WebSocket.CLOSED,m.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var C=f("connecting");C.code=b.code,C.reason=b.reason,C.wasClean=b.wasClean,m.dispatchEvent(C),!p&&!d&&((a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),m.dispatchEvent(f("close")));var w=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},w>a.maxReconnectInterval?a.maxReconnectInterval:w)}},l.onmessage=function(b){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,b.data);var C=f("message");C.data=b.data,m.dispatchEvent(C)},l.onerror=function(b){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,b),m.dispatchEvent(f("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(p){if(l)return(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",a.url,p),l.send(p);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(p,h){typeof p>"u"&&(p=1e3),c=!0,l&&l.close(p,h)},this.refresh=function(){l&&l.close()}}return t.prototype.onopen=function(n){},t.prototype.onclose=function(n){},t.prototype.onconnecting=function(n){},t.prototype.onmessage=function(n){},t.prototype.onerror=function(n){},t.debugAll=!1,t.CONNECTING=WebSocket.CONNECTING,t.OPEN=WebSocket.OPEN,t.CLOSING=WebSocket.CLOSING,t.CLOSED=WebSocket.CLOSED,t})})(Gy);var f$=Gy.exports;const p$=mu(f$),Fo=Gn("ConfigurationStore",{state:()=>({buildoptions:[],version:"",websocket_port:0})}),h$={name:"App",components:{ModalDialogRemotePairing:Cx,ModalDialogUpdate:Zx,NavbarBottom:FT,NavbarTop:o$,NotificationList:m$},setup(){return{configurationStore:Fo(),libraryStore:uu(),lyricsStore:du(),notificationsStore:yr(),outputsStore:um(),playerStore:On(),queueStore:ir(),remotesStore:Kd(),servicesStore:It(),settingsStore:cr(),uiStore:wn()}},data(){return{pairing_active:!1,reconnect_attempts:0,token_timer_id:0}},computed:{show_burger_menu:{get(){return this.uiStore.show_burger_menu},set(e){this.uiStore.show_burger_menu=e}},show_player_menu:{get(){return this.uiStore.show_player_menu},set(e){this.uiStore.show_player_menu=e}},show_update_dialog:{get(){return this.uiStore.show_update_dialog},set(e){this.uiStore.show_update_dialog=e}}},watch:{show_burger_menu(){this.update_is_clipped()},show_player_menu(){this.update_is_clipped()}},created(){this.connect(),this.$Progress.start(),this.$router.beforeEach((e,t,n)=>{e.meta.show_progress&&!(e.path===t.path&&e.hash)&&(e.meta.progress&&this.$Progress.parseMeta(e.meta.progress),this.$Progress.start()),n()}),this.$router.afterEach((e,t)=>{e.meta.show_progress&&this.$Progress.finish()})},methods:{connect(){B.config().then(({data:e})=>{this.configurationStore.$state=e,this.uiStore.hide_singles=e.hide_singles,document.title=e.library_name,this.open_websocket(),this.$Progress.finish()}).catch(()=>{this.notificationsStore.add({text:this.$t("server.connection-failed"),topic:"connection",type:"danger"})})},open_websocket(){const e=this.create_websocket(),t=this;e.onopen=()=>{t.reconnect_attempts=0,e.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),t.update_outputs(),t.update_player_status(),t.update_library_stats(),t.update_settings(),t.update_queue(),t.update_spotify(),t.update_lastfm(),t.update_pairing()};let n=!1;const r=()=>{n||(t.update_outputs(),t.update_player_status(),t.update_library_stats(),t.update_settings(),t.update_queue(),t.update_spotify(),t.update_lastfm(),t.update_pairing(),n=!0,setTimeout(()=>{n=!1},500))};window.addEventListener("focus",r),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&r()}),e.onmessage=o=>{const s=JSON.parse(o.data);(s.notify.includes("update")||s.notify.includes("database"))&&t.update_library_stats(),(s.notify.includes("player")||s.notify.includes("options")||s.notify.includes("volume"))&&t.update_player_status(),(s.notify.includes("outputs")||s.notify.includes("volume"))&&t.update_outputs(),s.notify.includes("queue")&&t.update_queue(),s.notify.includes("spotify")&&t.update_spotify(),s.notify.includes("lastfm")&&t.update_lastfm(),s.notify.includes("pairing")&&t.update_pairing()}},create_websocket(){const e=window.location.protocol.replace("http","ws"),t=window.location.hostname,n=this.configurationStore.websocket_port||`${window.location.port}/ws`,r=`${e}${t}:${n}`;return new p$(r,"notify",{maxReconnectInterval:2e3,reconnectInterval:1e3})},update_is_clipped(){this.show_burger_menu||this.show_player_menu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")},update_lastfm(){B.lastfm().then(({data:e})=>{this.servicesStore.lastfm=e})},update_library_stats(){B.library_stats().then(({data:e})=>{this.libraryStore.$state=e}),B.library_count("scan_kind is rss").then(({data:e})=>{this.libraryStore.rss=e})},update_lyrics(){const e=this.queueStore.current;e!=null&&e.track_id?B.library_track(e.track_id).then(({data:t})=>{this.lyricsStore.lyrics=t.lyrics}):this.lyricsStore.$reset()},update_outputs(){B.outputs().then(({data:e})=>{this.outputsStore.outputs=e.outputs})},update_pairing(){B.pairing().then(({data:e})=>{this.remotesStore.$state=e,this.pairing_active=e.active})},update_player_status(){B.player_status().then(({data:e})=>{this.playerStore.$state=e,this.update_lyrics()})},update_queue(){B.queue().then(({data:e})=>{this.queueStore.$state=e,this.update_lyrics()})},update_settings(){B.settings().then(({data:e})=>{this.settingsStore.$state=e})},update_spotify(){B.spotify().then(({data:e})=>{this.servicesStore.spotify=e,this.token_timer_id>0&&(window.clearTimeout(this.token_timer_id),this.token_timer_id=0),e.webapi_token_expires_in>0&&e.webapi_token&&(this.token_timer_id=window.setTimeout(this.update_spotify,1e3*e.webapi_token_expires_in))})}},template:"<App/>"},_$={id:"app"};function g$(e,t,n,r,o,s){const i=O("navbar-top"),a=O("vue-progress-bar"),l=O("router-view"),c=O("modal-dialog-remote-pairing"),d=O("modal-dialog-update"),m=O("notification-list"),f=O("navbar-bottom");return x(),I("div",_$,[v(i),v(a,{class:"has-background-info"}),v(l,null,{default:N(({Component:p})=>[(x(),ve(Kl(p)))]),_:1}),v(c,{show:o.pairing_active,onClose:t[0]||(t[0]=p=>o.pairing_active=!1)},null,8,["show"]),v(d,{show:s.show_update_dialog,onClose:t[1]||(t[1]=p=>s.show_update_dialog=!1)},null,8,["show"]),gt(v(m,null,null,512),[[Li,!s.show_burger_menu]]),v(f),gt(u("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>s.show_burger_menu=s.show_player_menu=!1)},null,512),[[Li,s.show_burger_menu||s.show_player_menu]])])}const y$=le(h$,[["render",g$]]),Ky=function(){return document.ontouchstart!==null?"click":"touchstart"},_l="__vue_click_away__",Zy=function(e,t,n){Yy(e);let r=n.context,o=t.value,s=!1;setTimeout(function(){s=!0},0),e[_l]=function(i){if((!e||!e.contains(i.target))&&o&&s&&typeof o=="function")return o.call(r,i)},document.addEventListener(Ky(),e[_l],!1)},Yy=function(e){document.removeEventListener(Ky(),e[_l],!1),delete e[_l]},z$=function(e,t,n){t.value!==t.oldValue&&Zy(e,t,n)},b$={install:function(e){e.directive("click-away",v$)}},v$={mounted:Zy,updated:z$,unmounted:Yy};var hr=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(hr||{});const C$=typeof window<"u"&&window!==null,w$=E$(),S$=Object.prototype.propertyIsEnumerable,cp=Object.getOwnPropertySymbols;function _i(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function k$(e){return typeof e=="object"?e===null:typeof e!="function"}function x$(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function E$(){return C$&&"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 T$(e,...t){if(!_i(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof cp!="function")return e;for(const n of t){const r=cp(n);for(const o of r)S$.call(n,o)&&(e[o]=n[o])}return e}function Xy(e,...t){let n=0;for(k$(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(_i(t[n])){for(const r of Object.keys(t[n]))x$(r)&&(_i(e[r])&&_i(t[n][r])?Xy(e[r],t[n][r]):e[r]=t[n][r]);T$(e,t[n])}return e}const dp="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",$$="",A$={rootMargin:"0px",threshold:0},Ko="data-lazy-timeout-id";class O${constructor(t){this.options={loading:dp,error:$$,observerOptions:A$,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(t)}config(t={}){Xy(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:o,error:s,lifecycle:i,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(hr.LOADING,i,t),t.setAttribute("src",o||dp),w$||(this.loadImages(t,r,s,i),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,s,i,a)}update(t,n){var a;if(!t)return;(a=this._realObserver(t))==null||a.unobserve(t);const{src:r,error:o,lifecycle:s,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,r,o,s,i)}unmount(t){var n;t&&((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,r,o){this._setImageSrc(t,n,r,o)}_setImageSrc(t,n,r,o){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(hr.LOADED,o,t)},()=>{var s;t.onload=null,this._lifecycle(hr.ERROR,o,t),(s=this._realObserver(t))==null||s.disconnect(),r&&t.getAttribute("src")!==r&&t.setAttribute("src",r),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,r,o,s){var a;const i=this.options.observerOptions;this._images.set(t,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,c=>{s&&s>0?this._delayedIntersectionCallback(t,c,s,n,r,o):this._intersectionCallback(t,c,n,r,o)})},i)),(a=this._realObserver(t))==null||a.observe(t)}_intersectionCallback(t,n,r,o,s){var i;n.isIntersecting&&((i=this._realObserver(t))==null||i.unobserve(n.target),this._setImageSrc(t,r,o,s))}_delayedIntersectionCallback(t,n,r,o,s,i){if(n.isIntersecting){if(n.target.hasAttribute(Ko))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,o,s,i),n.target.removeAttribute(Ko)},r);n.target.setAttribute(Ko,String(a))}else n.target.hasAttribute(Ko)&&(clearTimeout(Number(n.target.getAttribute(Ko))),n.target.removeAttribute(Ko))}_listenImageStatus(t,n,r){t.onload=n,t.onerror=r}_valueFormatter(t){let n=t,r=this.options.loading,o=this.options.error,s=this.options.lifecycle,i=this.options.delay;return _i(t)&&(n=t.src,r=t.loading||this.options.loading,o=t.error||this.options.error,s=t.lifecycle||this.options.lifecycle,i=t.delay||this.options.delay),{src:n,loading:r,error:o,lifecycle:s,delay:i}}_log(t){this.options.log&&t()}_lifecycle(t,n,r){switch(t){case hr.LOADING:r==null||r.setAttribute("lazy",hr.LOADING),n!=null&&n.loading&&n.loading(r);break;case hr.LOADED:r==null||r.setAttribute("lazy",hr.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case hr.ERROR:r==null||r.setAttribute("lazy",hr.ERROR),n!=null&&n.error&&n.error(r);break}}_realObserver(t){return this._images.get(t)}_logger(t,...n){let r=console.error;switch(this.options.logLevel){case"error":r=console.error;break;case"warn":r=console.warn;break;case"info":r=console.info;break;case"debug":r=console.debug;break}r(t,n)}}const P$={install(e,t){const n=new O$(t);e.config.globalProperties.$Lazyload=n,e.provide("Lazyload",n),e.directive("lazy",{mounted:n.mount.bind(n),updated:n.update.bind(n),unmounted:n.unmount.bind(n)})}};var Jy={exports:{}};const Qy=qy(cC);(function(e){e.exports=function(t){var n={};function r(o){if(n[o])return n[o].exports;var s=n[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=t,r.c=n,r.d=function(o,s,i){r.o(o,s)||Object.defineProperty(o,s,{enumerable:!0,get:i})},r.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,s){if(s&1&&(o=r(o)),s&8||s&4&&typeof o=="object"&&o&&o.__esModule)return o;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:o}),s&2&&typeof o!="string")for(var a in o)r.d(i,a,(function(l){return o[l]}).bind(null,a));return i},r.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(s,"a",s),s},r.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},r.p="",r(r.s="fb15")}({8875:function(t,n,r){var o,s,i;(function(a,l){s=[],o=l,i=typeof o=="function"?o.apply(n,s):o,i!==void 0&&(t.exports=i)})(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(z){var c=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,d=/@([^@]*):(\d+):(\d+)\s*$/ig,m=c.exec(z.stack)||d.exec(z.stack),f=m&&m[1]||!1,p=m&&m[2]||!1,h=document.location.href.replace(document.location.hash,""),_,b,C,w=document.getElementsByTagName("script");f===h&&(_=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),C=_.replace(b,"$1").trim());for(var g=0;g<w.length;g++)if(w[g].readyState==="interactive"||w[g].src===f||f===h&&w[g].innerHTML&&w[g].innerHTML.trim()===C)return w[g];return null}}return a})},"8bbf":function(t,n){t.exports=Qy},fb15:function(t,n,r){if(r.r(n),typeof window<"u"){var o=window.document.currentScript;{var s=r("8875");o=s(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:s})}var i=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("8bbf");function l(h,_,b,C,w,g){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:C.finalStyle},null,4)}var c=typeof window<"u",d={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var _=c?Object(a.inject)("RADON_LOADING_BAR"):{percent:0,options:{canSuccess:!0,show:!1,color:"rgb(19, 91, 55)",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},location:"top",autoRevert:!0,inverse:!1}},b=Object(a.computed)(function(){var C=_.options,w=!!C.show,g=C.location,z={"z-index":999999,"background-color":C.canSuccess?C.color:C.failedColor,opacity:C.show?1:0,position:C.position};return g==="top"||g==="bottom"?(g==="top"?z.top="0px":z.bottom="0px",C.inverse?z.right="0px":z.left="0px",z.width=_.percent+"%",z.height=C.thickness,z.transition=(w?"width "+C.transition.speed+", ":"")+"opacity "+C.transition.opacity):(g==="left"||g==="right")&&(g==="left"?z.left="0px":z.right="0px",C.inverse?z.top="0px":z.bottom="0px",z.height=_.percent+"%",z.width=C.thickness,z.transition=(w?"height "+C.transition.speed+", ":"")+"opacity "+C.transition.opacity),z});return{progress:_,finalStyle:b}}};d.render=l;var m=d;function f(h,_){for(var b=1,C,w;b<arguments.length;++b){w=arguments[b];for(C in w)Object.prototype.hasOwnProperty.call(w,C)&&(h[C]=w[C])}return h}var p={install:function(_,b){var C={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},w=f(C,b),g=Object(a.reactive)({percent:0,options:w});_.provide("RADON_LOADING_BAR",g);var z={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(k){var L=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(){L.increase(L.state.cut*Math.random()),g.percent>95&&g.options.autoFinish&&L.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 L in k.func){var D=k.func[L];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}}}};_.component("vue-progress-bar",m),_.config.globalProperties.$Progress=z}};n.default=p}})})(Jy);var I$=Jy.exports;const L$=mu(I$);class jo extends Error{}class N$ extends jo{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class D$ extends jo{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class R$ extends jo{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class cs extends jo{}class e1 extends jo{constructor(t){super(`Invalid unit ${t}`)}}class Kt extends jo{}class qr extends jo{constructor(){super("Zone is an abstract class")}}const ge="numeric",ar="short",An="long",gl={year:ge,month:ge,day:ge},t1={year:ge,month:ar,day:ge},M$={year:ge,month:ar,day:ge,weekday:ar},n1={year:ge,month:An,day:ge},r1={year:ge,month:An,day:ge,weekday:An},o1={hour:ge,minute:ge},s1={hour:ge,minute:ge,second:ge},i1={hour:ge,minute:ge,second:ge,timeZoneName:ar},a1={hour:ge,minute:ge,second:ge,timeZoneName:An},l1={hour:ge,minute:ge,hourCycle:"h23"},u1={hour:ge,minute:ge,second:ge,hourCycle:"h23"},c1={hour:ge,minute:ge,second:ge,hourCycle:"h23",timeZoneName:ar},d1={hour:ge,minute:ge,second:ge,hourCycle:"h23",timeZoneName:An},m1={year:ge,month:ge,day:ge,hour:ge,minute:ge},f1={year:ge,month:ge,day:ge,hour:ge,minute:ge,second:ge},p1={year:ge,month:ar,day:ge,hour:ge,minute:ge},h1={year:ge,month:ar,day:ge,hour:ge,minute:ge,second:ge},F$={year:ge,month:ar,day:ge,weekday:ar,hour:ge,minute:ge},_1={year:ge,month:An,day:ge,hour:ge,minute:ge,timeZoneName:ar},g1={year:ge,month:An,day:ge,hour:ge,minute:ge,second:ge,timeZoneName:ar},y1={year:ge,month:An,day:ge,weekday:An,hour:ge,minute:ge,timeZoneName:An},z1={year:ge,month:An,day:ge,weekday:An,hour:ge,minute:ge,second:ge,timeZoneName:An};class Xi{get type(){throw new qr}get name(){throw new qr}get ianaName(){return this.name}get isUniversal(){throw new qr}offsetName(t,n){throw new qr}formatOffset(t,n){throw new qr}offset(t){throw new qr}equals(t){throw new qr}get isValid(){throw new qr}}let qu=null;class fu extends Xi{static get instance(){return qu===null&&(qu=new fu),qu}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return T1(t,n,r)}formatOffset(t,n){return gi(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let Va={};function V$(e){return Va[e]||(Va[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Va[e]}const H$={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function U$(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,s,i,a,l,c,d]=r;return[i,o,s,a,l,c,d]}function j$(e,t){const n=e.formatToParts(t),r=[];for(let o=0;o<n.length;o++){const{type:s,value:i}=n[o],a=H$[s];s==="era"?r[a]=i:De(a)||(r[a]=parseInt(i,10))}return r}let ga={};class Fr extends Xi{static create(t){return ga[t]||(ga[t]=new Fr(t)),ga[t]}static resetCache(){ga={},Va={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=Fr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return T1(t,n,r,this.name)}formatOffset(t,n){return gi(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=V$(this.name);let[o,s,i,a,l,c,d]=r.formatToParts?j$(r,n):U$(r,n);a==="BC"&&(o=-Math.abs(o)+1);const f=hu({year:o,month:s,day:i,hour:l===24?0:l,minute:c,second:d,millisecond:0});let p=+n;const h=p%1e3;return p-=h>=0?h:1e3+h,(f-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let mp={};function B$(e,t={}){const n=JSON.stringify([e,t]);let r=mp[n];return r||(r=new Intl.ListFormat(e,t),mp[n]=r),r}let rd={};function od(e,t={}){const n=JSON.stringify([e,t]);let r=rd[n];return r||(r=new Intl.DateTimeFormat(e,t),rd[n]=r),r}let sd={};function W$(e,t={}){const n=JSON.stringify([e,t]);let r=sd[n];return r||(r=new Intl.NumberFormat(e,t),sd[n]=r),r}let id={};function q$(e,t={}){const{base:n,...r}=t,o=JSON.stringify([e,r]);let s=id[o];return s||(s=new Intl.RelativeTimeFormat(e,t),id[o]=s),s}let ti=null;function G$(){return ti||(ti=new Intl.DateTimeFormat().resolvedOptions().locale,ti)}let fp={};function K$(e){let t=fp[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,fp[e]=t}return t}function Z$(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let r,o;try{r=od(e).resolvedOptions(),o=e}catch{const l=e.substring(0,n);r=od(l).resolvedOptions(),o=l}const{numberingSystem:s,calendar:i}=r;return[o,s,i]}}function Y$(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function X$(e){const t=[];for(let n=1;n<=12;n++){const r=$e.utc(2009,n,1);t.push(e(r))}return t}function J$(e){const t=[];for(let n=1;n<=7;n++){const r=$e.utc(2016,11,13+n);t.push(e(r))}return t}function ya(e,t,n,r){const o=e.listingMode();return o==="error"?null:o==="en"?n(t):r(t)}function Q$(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class eA{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:o,floor:s,...i}=r;if(!n||Object.keys(i).length>0){const a={useGrouping:!1,...r};r.padTo>0&&(a.minimumIntegerDigits=r.padTo),this.inf=W$(t,a)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):hm(t,3);return Nt(n,this.padTo)}}}class tA{constructor(t,n,r){this.opts=r,this.originalZone=void 0;let o;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const i=-1*(t.offset/60),a=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;t.offset!==0&&Fr.create(a).valid?(o=a,this.dt=t):(o="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,o=t.zone.name):(o="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||o,this.dtf=od(n,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class nA{constructor(t,n,r){this.opts={style:"long",...r},!n&&x1()&&(this.rtf=q$(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):kA(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const rA={firstDay:1,minimalDays:4,weekend:[6,7]};class ct{static fromOpts(t){return ct.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,o,s=!1){const i=t||At.defaultLocale,a=i||(s?"en-US":G$()),l=n||At.defaultNumberingSystem,c=r||At.defaultOutputCalendar,d=ad(o)||At.defaultWeekSettings;return new ct(a,l,c,d,i)}static resetCache(){ti=null,rd={},sd={},id={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:o}={}){return ct.create(t,n,r,o)}constructor(t,n,r,o,s){const[i,a,l]=Z$(t);this.locale=i,this.numberingSystem=n||a||null,this.outputCalendar=r||l||null,this.weekSettings=o,this.intl=Y$(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Q$(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:ct.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,ad(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return ya(this,t,O1,()=>{const r=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=X$(s=>this.extract(s,r,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1){return ya(this,t,L1,()=>{const r=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},o=n?"format":"standalone";return this.weekdaysCache[o][t]||(this.weekdaysCache[o][t]=J$(s=>this.extract(s,r,"weekday"))),this.weekdaysCache[o][t]})}meridiems(){return ya(this,void 0,()=>N1,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[$e.utc(2016,11,13,9),$e.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return ya(this,t,D1,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[$e.utc(-40,1,1),$e.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[t]})}extract(t,n,r){const o=this.dtFormatter(t,n),s=o.formatToParts(),i=s.find(a=>a.type.toLowerCase()===r);return i?i.value:null}numberFormatter(t={}){return new eA(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new tA(t,this.intl,n)}relFormatter(t={}){return new nA(this.intl,this.isEnglish(),t)}listFormatter(t={}){return B$(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:E1()?K$(this.locale):rA}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Gu=null;class un extends Xi{static get utcInstance(){return Gu===null&&(Gu=new un(0)),Gu}static instance(t){return t===0?un.utcInstance:new un(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new un(_u(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${gi(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${gi(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return gi(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class oA extends Xi{constructor(t){super(),this.zoneName=t}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 so(e,t){if(De(e)||e===null)return t;if(e instanceof Xi)return e;if(cA(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?fu.instance:n==="utc"||n==="gmt"?un.utcInstance:un.parseSpecifier(n)||Fr.create(e)}else return uo(e)?un.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new oA(e)}const dm={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},pp={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]},sA=dm.hanidec.replace(/[\[|\]]/g,"").split("");function iA(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(e[n].search(dm.hanidec)!==-1)t+=sA.indexOf(e[n]);else for(const o in pp){const[s,i]=pp[o];r>=s&&r<=i&&(t+=r-s)}}return parseInt(t,10)}else return t}let ss={};function aA(){ss={}}function Zn({numberingSystem:e},t=""){const n=e||"latn";return ss[n]||(ss[n]={}),ss[n][t]||(ss[n][t]=new RegExp(`${dm[n]}${t}`)),ss[n][t]}let hp=()=>Date.now(),_p="system",gp=null,yp=null,zp=null,bp=60,vp,Cp=null;class At{static get now(){return hp}static set now(t){hp=t}static set defaultZone(t){_p=t}static get defaultZone(){return so(_p,fu.instance)}static get defaultLocale(){return gp}static set defaultLocale(t){gp=t}static get defaultNumberingSystem(){return yp}static set defaultNumberingSystem(t){yp=t}static get defaultOutputCalendar(){return zp}static set defaultOutputCalendar(t){zp=t}static get defaultWeekSettings(){return Cp}static set defaultWeekSettings(t){Cp=ad(t)}static get twoDigitCutoffYear(){return bp}static set twoDigitCutoffYear(t){bp=t%100}static get throwOnInvalid(){return vp}static set throwOnInvalid(t){vp=t}static resetCaches(){ct.resetCache(),Fr.resetCache(),$e.resetCache(),aA()}}class nr{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const b1=[0,31,59,90,120,151,181,212,243,273,304,334],v1=[0,31,60,91,121,152,182,213,244,274,305,335];function Dn(e,t){return new nr("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function mm(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const o=r.getUTCDay();return o===0?7:o}function C1(e,t,n){return n+(Ji(e)?v1:b1)[t-1]}function w1(e,t){const n=Ji(e)?v1:b1,r=n.findIndex(s=>s<t),o=t-n[r];return{month:r+1,day:o}}function fm(e,t){return(e-t+7)%7+1}function yl(e,t=4,n=1){const{year:r,month:o,day:s}=e,i=C1(r,o,s),a=fm(mm(r,o,s),n);let l=Math.floor((i-a+14-t)/7),c;return l<1?(c=r-1,l=Fi(c,t,n)):l>Fi(r,t,n)?(c=r+1,l=1):c=r,{weekYear:c,weekNumber:l,weekday:a,...gu(e)}}function wp(e,t=4,n=1){const{weekYear:r,weekNumber:o,weekday:s}=e,i=fm(mm(r,1,t),n),a=ys(r);let l=o*7+s-i-7+t,c;l<1?(c=r-1,l+=ys(c)):l>a?(c=r+1,l-=ys(r)):c=r;const{month:d,day:m}=w1(c,l);return{year:c,month:d,day:m,...gu(e)}}function Ku(e){const{year:t,month:n,day:r}=e,o=C1(t,n,r);return{year:t,ordinal:o,...gu(e)}}function Sp(e){const{year:t,ordinal:n}=e,{month:r,day:o}=w1(t,n);return{year:t,month:r,day:o,...gu(e)}}function kp(e,t){if(!De(e.localWeekday)||!De(e.localWeekNumber)||!De(e.localWeekYear)){if(!De(e.weekday)||!De(e.weekNumber)||!De(e.weekYear))throw new cs("Cannot mix locale-based week fields with ISO-based week fields");return De(e.localWeekday)||(e.weekday=e.localWeekday),De(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),De(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function lA(e,t=4,n=1){const r=pu(e.weekYear),o=Rn(e.weekNumber,1,Fi(e.weekYear,t,n)),s=Rn(e.weekday,1,7);return r?o?s?!1:Dn("weekday",e.weekday):Dn("week",e.weekNumber):Dn("weekYear",e.weekYear)}function uA(e){const t=pu(e.year),n=Rn(e.ordinal,1,ys(e.year));return t?n?!1:Dn("ordinal",e.ordinal):Dn("year",e.year)}function S1(e){const t=pu(e.year),n=Rn(e.month,1,12),r=Rn(e.day,1,zl(e.year,e.month));return t?n?r?!1:Dn("day",e.day):Dn("month",e.month):Dn("year",e.year)}function k1(e){const{hour:t,minute:n,second:r,millisecond:o}=e,s=Rn(t,0,23)||t===24&&n===0&&r===0&&o===0,i=Rn(n,0,59),a=Rn(r,0,59),l=Rn(o,0,999);return s?i?a?l?!1:Dn("millisecond",o):Dn("second",r):Dn("minute",n):Dn("hour",t)}function De(e){return typeof e>"u"}function uo(e){return typeof e=="number"}function pu(e){return typeof e=="number"&&e%1===0}function cA(e){return typeof e=="string"}function dA(e){return Object.prototype.toString.call(e)==="[object Date]"}function x1(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function E1(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function mA(e){return Array.isArray(e)?e:[e]}function xp(e,t,n){if(e.length!==0)return e.reduce((r,o)=>{const s=[t(o),o];return r&&n(r[0],s[0])===r[0]?r:s},null)[1]}function fA(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function xs(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ad(e){if(e==null)return null;if(typeof e!="object")throw new Kt("Week settings must be an object");if(!Rn(e.firstDay,1,7)||!Rn(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!Rn(t,1,7)))throw new Kt("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Rn(e,t,n){return pu(e)&&e>=t&&e<=n}function pA(e,t){return e-t*Math.floor(e/t)}function Nt(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function no(e){if(!(De(e)||e===null||e===""))return parseInt(e,10)}function So(e){if(!(De(e)||e===null||e===""))return parseFloat(e)}function pm(e){if(!(De(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function hm(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Ji(e){return e%4===0&&(e%100!==0||e%400===0)}function ys(e){return Ji(e)?366:365}function zl(e,t){const n=pA(t-1,12)+1,r=e+(t-n)/12;return n===2?Ji(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function hu(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function Ep(e,t,n){return-fm(mm(e,1,t),n)+t-1}function Fi(e,t=4,n=1){const r=Ep(e,t,n),o=Ep(e+1,t,n);return(ys(e)-r+o)/7}function ld(e){return e>99?e:e>At.twoDigitCutoffYear?1900+e:2e3+e}function T1(e,t,n,r=null){const o=new Date(e),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(s.timeZone=r);const i={timeZoneName:t,...s},a=new Intl.DateTimeFormat(n,i).formatToParts(o).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function _u(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,o=n<0||Object.is(n,-0)?-r:r;return n*60+o}function $1(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new Kt(`Invalid unit value ${e}`);return t}function bl(e,t){const n={};for(const r in e)if(xs(e,r)){const o=e[r];if(o==null)continue;n[t(r)]=$1(o)}return n}function gi(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${Nt(n,2)}:${Nt(r,2)}`;case"narrow":return`${o}${n}${r>0?`:${r}`:""}`;case"techie":return`${o}${Nt(n,2)}${Nt(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function gu(e){return fA(e,["hour","minute","second","millisecond"])}const hA=["January","February","March","April","May","June","July","August","September","October","November","December"],A1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],_A=["J","F","M","A","M","J","J","A","S","O","N","D"];function O1(e){switch(e){case"narrow":return[..._A];case"short":return[...A1];case"long":return[...hA];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 P1=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],I1=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],gA=["M","T","W","T","F","S","S"];function L1(e){switch(e){case"narrow":return[...gA];case"short":return[...I1];case"long":return[...P1];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const N1=["AM","PM"],yA=["Before Christ","Anno Domini"],zA=["BC","AD"],bA=["B","A"];function D1(e){switch(e){case"narrow":return[...bA];case"short":return[...zA];case"long":return[...yA];default:return null}}function vA(e){return N1[e.hour<12?0:1]}function CA(e,t){return L1(t)[e.weekday-1]}function wA(e,t){return O1(t)[e.month-1]}function SA(e,t){return D1(t)[e.year<0?0:1]}function kA(e,t,n="always",r=!1){const o={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."]},s=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&s){const m=e==="days";switch(t){case 1:return m?"tomorrow":`next ${o[e][0]}`;case-1:return m?"yesterday":`last ${o[e][0]}`;case 0:return m?"today":`this ${o[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,c=o[e],d=r?l?c[1]:c[2]||c[1]:l?o[e][0]:e;return i?`${a} ${d} ago`:`in ${a} ${d}`}function Tp(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const xA={D:gl,DD:t1,DDD:n1,DDDD:r1,t:o1,tt:s1,ttt:i1,tttt:a1,T:l1,TT:u1,TTT:c1,TTTT:d1,f:m1,ff:p1,fff:_1,ffff:y1,F:f1,FF:h1,FFF:g1,FFFF:z1};class Jt{static create(t,n={}){return new Jt(t,n)}static parseFormat(t){let n=null,r="",o=!1;const s=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);a==="'"?(r.length>0&&s.push({literal:o||/^\s+$/.test(r),val:r}),n=null,r="",o=!o):o||a===n?r+=a:(r.length>0&&s.push({literal:/^\s+$/.test(r),val:r}),r=a,n=a)}return r.length>0&&s.push({literal:o||/^\s+$/.test(r),val:r}),s}static macroTokenToFormatOpts(t){return xA[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}dtFormatter(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n})}formatDateTime(t,n){return this.dtFormatter(t,n).format()}formatDateTimeParts(t,n){return this.dtFormatter(t,n).formatToParts()}formatInterval(t,n){return this.dtFormatter(t.start,n).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n){return this.dtFormatter(t,n).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return Nt(t,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",s=(p,h)=>this.loc.extract(t,p,h),i=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",a=()=>r?vA(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?wA(t,p):s(h?{month:p}:{month:p,day:"numeric"},"month"),c=(p,h)=>r?CA(t,p):s(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const h=Jt.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},m=p=>r?SA(t,p):s({era:p},"era"),f=p=>{switch(p){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return a();case"d":return o?s({day:"numeric"},"day"):this.num(t.day);case"dd":return o?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return o?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return o?s({month:"numeric"},"month"):this.num(t.month);case"MM":return o?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return o?s({year:"numeric"},"year"):this.num(t.year);case"yy":return o?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return m("short");case"GG":return m("long");case"GGGGG":return m("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(p)}};return Tp(Jt.parseFormat(n),f)}formatDurationFromString(t,n){const r=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=l=>c=>{const d=r(c);return d?this.num(l.get(d),c.length):c},s=Jt.parseFormat(n),i=s.reduce((l,{literal:c,val:d})=>c?l:l.concat(d),[]),a=t.shiftTo(...i.map(r).filter(l=>l));return Tp(s,o(a))}}const R1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Rs(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function Ms(...e){return t=>e.reduce(([n,r,o],s)=>{const[i,a,l]=s(t,o);return[{...n,...i},a||r,l]},[{},null,1]).slice(0,2)}function Fs(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const o=n.exec(e);if(o)return r(o)}return[null,null]}function M1(...e){return(t,n)=>{const r={};let o;for(o=0;o<e.length;o++)r[e[o]]=no(t[n+o]);return[r,null,n+o]}}const F1=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,EA=`(?:${F1.source}?(?:\\[(${R1.source})\\])?)?`,_m=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,V1=RegExp(`${_m.source}${EA}`),gm=RegExp(`(?:T${V1.source})?`),TA=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,$A=/(\d{4})-?W(\d\d)(?:-?(\d))?/,AA=/(\d{4})-?(\d{3})/,OA=M1("weekYear","weekNumber","weekDay"),PA=M1("year","ordinal"),IA=/(\d{4})-(\d\d)-(\d\d)/,H1=RegExp(`${_m.source} ?(?:${F1.source}|(${R1.source}))?`),LA=RegExp(`(?: ${H1.source})?`);function zs(e,t,n){const r=e[t];return De(r)?n:no(r)}function NA(e,t){return[{year:zs(e,t),month:zs(e,t+1,1),day:zs(e,t+2,1)},null,t+3]}function Vs(e,t){return[{hours:zs(e,t,0),minutes:zs(e,t+1,0),seconds:zs(e,t+2,0),milliseconds:pm(e[t+3])},null,t+4]}function Qi(e,t){const n=!e[t]&&!e[t+1],r=_u(e[t+1],e[t+2]),o=n?null:un.instance(r);return[{},o,t+3]}function ea(e,t){const n=e[t]?Fr.create(e[t]):null;return[{},n,t+1]}const DA=RegExp(`^T?${_m.source}$`),RA=/^-?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 MA(e){const[t,n,r,o,s,i,a,l,c]=e,d=t[0]==="-",m=l&&l[0]==="-",f=(p,h=!1)=>p!==void 0&&(h||p&&d)?-p:p;return[{years:f(So(n)),months:f(So(r)),weeks:f(So(o)),days:f(So(s)),hours:f(So(i)),minutes:f(So(a)),seconds:f(So(l),l==="-0"),milliseconds:f(pm(c),m)}]}const FA={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function ym(e,t,n,r,o,s,i){const a={year:t.length===2?ld(no(t)):no(t),month:A1.indexOf(n)+1,day:no(r),hour:no(o),minute:no(s)};return i&&(a.second=no(i)),e&&(a.weekday=e.length>3?P1.indexOf(e)+1:I1.indexOf(e)+1),a}const VA=/^(?:(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 HA(e){const[,t,n,r,o,s,i,a,l,c,d,m]=e,f=ym(t,o,r,n,s,i,a);let p;return l?p=FA[l]:c?p=0:p=_u(d,m),[f,new un(p)]}function UA(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const jA=/^(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$/,BA=/^(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$/,WA=/^(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 $p(e){const[,t,n,r,o,s,i,a]=e;return[ym(t,o,r,n,s,i,a),un.utcInstance]}function qA(e){const[,t,n,r,o,s,i,a]=e;return[ym(t,a,n,r,o,s,i),un.utcInstance]}const GA=Rs(TA,gm),KA=Rs($A,gm),ZA=Rs(AA,gm),YA=Rs(V1),U1=Ms(NA,Vs,Qi,ea),XA=Ms(OA,Vs,Qi,ea),JA=Ms(PA,Vs,Qi,ea),QA=Ms(Vs,Qi,ea);function eO(e){return Fs(e,[GA,U1],[KA,XA],[ZA,JA],[YA,QA])}function tO(e){return Fs(UA(e),[VA,HA])}function nO(e){return Fs(e,[jA,$p],[BA,$p],[WA,qA])}function rO(e){return Fs(e,[RA,MA])}const oO=Ms(Vs);function sO(e){return Fs(e,[DA,oO])}const iO=Rs(IA,LA),aO=Rs(H1),lO=Ms(Vs,Qi,ea);function uO(e){return Fs(e,[iO,U1],[aO,lO])}const Ap="Invalid Duration",j1={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},cO={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...j1},In=146097/400,Zo=146097/4800,dO={years:{quarters:4,months:12,weeks:In/7,days:In,hours:In*24,minutes:In*24*60,seconds:In*24*60*60,milliseconds:In*24*60*60*1e3},quarters:{months:3,weeks:In/28,days:In/4,hours:In*24/4,minutes:In*24*60/4,seconds:In*24*60*60/4,milliseconds:In*24*60*60*1e3/4},months:{weeks:Zo/7,days:Zo,hours:Zo*24,minutes:Zo*24*60,seconds:Zo*24*60*60,milliseconds:Zo*24*60*60*1e3},...j1},Ao=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],mO=Ao.slice(0).reverse();function Gr(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Ke(r)}function B1(e,t){let n=t.milliseconds??0;for(const r of mO.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function Op(e,t){const n=B1(e,t)<0?-1:1;Ao.reduceRight((r,o)=>{if(De(t[o]))return r;if(r){const s=t[r]*n,i=e[o][r],a=Math.floor(s/i);t[o]+=a*n,t[r]-=a*i*n}return o},null),Ao.reduce((r,o)=>{if(De(t[o]))return r;if(r){const s=t[r]%1;t[r]-=s,t[o]+=s*e[r][o]}return o},null)}function fO(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class Ke{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?dO:cO;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||ct.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return Ke.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new Kt(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new Ke({values:bl(t,Ke.normalizeUnit),loc:ct.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(uo(t))return Ke.fromMillis(t);if(Ke.isDuration(t))return t;if(typeof t=="object")return Ke.fromObject(t);throw new Kt(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=rO(t);return r?Ke.fromObject(r,n):Ke.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=sO(t);return r?Ke.fromObject(r,n):Ke.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new Kt("need to specify a reason the Duration is invalid");const r=t instanceof nr?t:new nr(t,n);if(At.throwOnInvalid)throw new R$(r);return new Ke({invalid:r})}static normalizeUnit(t){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"}[t&&t.toLowerCase()];if(!n)throw new e1(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Jt.create(this.loc,r).formatDurationFromString(this,t):Ap}toHuman(t={}){if(!this.isValid)return Ap;const n=Ao.map(r=>{const o=this.values[r];return De(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:r.slice(0,-1)}).format(o)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=hm(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},$e.fromMillis(n,{zone:"UTC"}).toISOTime(t))}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?B1(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t),r={};for(const o of Ao)(xs(n.values,o)||xs(this.values,o))&&(r[o]=n.get(o)+this.get(o));return Gr(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=$1(t(this.values[r],r));return Gr(this,{values:n},!0)}get(t){return this[Ke.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...bl(t,Ke.normalizeUnit)};return Gr(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:o}={}){const i={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:o,conversionAccuracy:r};return Gr(this,i)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Op(this.matrix,t),Gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=fO(this.normalize().shiftToAll().toObject());return Gr(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(i=>Ke.normalizeUnit(i));const n={},r={},o=this.toObject();let s;for(const i of Ao)if(t.indexOf(i)>=0){s=i;let a=0;for(const c in r)a+=this.matrix[c][i]*r[c],r[c]=0;uo(o[i])&&(a+=o[i]);const l=Math.trunc(a);n[i]=l,r[i]=(a*1e3-l*1e3)/1e3}else uo(o[i])&&(r[i]=o[i]);for(const i in r)r[i]!==0&&(n[s]+=i===s?r[i]:r[i]/this.matrix[s][i]);return Op(this.matrix,n),Gr(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 t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return Gr(this,{values:t},!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(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(r,o){return r===void 0||r===0?o===void 0||o===0:r===o}for(const r of Ao)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Yo="Invalid Interval";function pO(e,t){return!e||!e.isValid?$t.invalid("missing or invalid start"):!t||!t.isValid?$t.invalid("missing or invalid end"):t<e?$t.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class $t{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new Kt("need to specify a reason the Interval is invalid");const r=t instanceof nr?t:new nr(t,n);if(At.throwOnInvalid)throw new D$(r);return new $t({invalid:r})}static fromDateTimes(t,n){const r=Gs(t),o=Gs(n),s=pO(r,o);return s??new $t({start:r,end:o})}static after(t,n){const r=Ke.fromDurationLike(n),o=Gs(t);return $t.fromDateTimes(o,o.plus(r))}static before(t,n){const r=Ke.fromDurationLike(n),o=Gs(t);return $t.fromDateTimes(o.minus(r),o)}static fromISO(t,n){const[r,o]=(t||"").split("/",2);if(r&&o){let s,i;try{s=$e.fromISO(r,n),i=s.isValid}catch{i=!1}let a,l;try{a=$e.fromISO(o,n),l=a.isValid}catch{l=!1}if(i&&l)return $t.fromDateTimes(s,a);if(i){const c=Ke.fromISO(o,n);if(c.isValid)return $t.after(s,c)}else if(l){const c=Ke.fromISO(r,n);if(c.isValid)return $t.before(a,c)}}return $t.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(t,n);let o;return n!=null&&n.useLocaleWeeks?o=this.end.reconfigure({locale:r.locale}):o=this.end,o=o.startOf(t,n),Math.floor(o.diff(r,t).get(t))+(o.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?$t.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Gs).filter(i=>this.contains(i)).sort((i,a)=>i.toMillis()-a.toMillis()),r=[];let{s:o}=this,s=0;for(;o<this.e;){const i=n[s]||this.e,a=+i>+this.e?this.e:i;r.push($t.fromDateTimes(o,a)),o=a,s+=1}return r}splitBy(t){const n=Ke.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,o=1,s;const i=[];for(;r<this.e;){const a=this.start.plus(n.mapUnits(l=>l*o));s=+a>+this.e?this.e:a,i.push($t.fromDateTimes(r,s)),r=s,o+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:$t.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return $t.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((o,s)=>o.s-s.s).reduce(([o,s],i)=>s?s.overlaps(i)||s.abutsStart(i)?[o,s.union(i)]:[o.concat([s]),i]:[o,i],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const o=[],s=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),i=Array.prototype.concat(...s),a=i.sort((l,c)=>l.time-c.time);for(const l of a)r+=l.type==="s"?1:-1,r===1?n=l.time:(n&&+n!=+l.time&&o.push($t.fromDateTimes(n,l.time)),n=null);return $t.merge(o)}difference(...t){return $t.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} ${this.e.toISO()})`:Yo}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=gl,n={}){return this.isValid?Jt.create(this.s.loc.clone(n),t).formatInterval(this):Yo}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Yo}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Yo}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Yo}toFormat(t,{separator:n=" "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Yo}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):Ke.invalid(this.invalidReason)}mapEndpoints(t){return $t.fromDateTimes(t(this.s),t(this.e))}}class za{static hasDST(t=At.defaultZone){const n=$e.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Fr.isValidZone(t)}static normalizeZone(t){return so(t,At.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||ct.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||ct.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||ct.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||ct.create(n,r,s)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||ct.create(n,r,s)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||ct.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||ct.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ct.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return ct.create(n,null,"gregory").eras(t)}static features(){return{relative:x1(),localeWeek:E1()}}}function Pp(e,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(Ke.fromMillis(r).as("days"))}function hO(e,t,n){const r=[["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 d=Pp(l,c);return(d-d%7)/7}],["days",Pp]],o={},s=e;let i,a;for(const[l,c]of r)n.indexOf(l)>=0&&(i=l,o[l]=c(e,t),a=s.plus(o),a>t?(o[l]--,e=s.plus(o),e>t&&(a=e,o[l]--,e=s.plus(o))):e=a);return[e,o,a,i]}function _O(e,t,n,r){let[o,s,i,a]=hO(e,t,n);const l=t-o,c=n.filter(m=>["hours","minutes","seconds","milliseconds"].indexOf(m)>=0);c.length===0&&(i<t&&(i=o.plus({[a]:1})),i!==o&&(s[a]=(s[a]||0)+l/(i-o)));const d=Ke.fromObject(s,r);return c.length>0?Ke.fromMillis(l,r).shiftTo(...c).plus(d):d}const gO="missing Intl.DateTimeFormat.formatToParts support";function ot(e,t=n=>n){return{regex:e,deser:([n])=>t(iA(n))}}const yO=" ",W1=`[ ${yO}]`,q1=new RegExp(W1,"g");function zO(e){return e.replace(/\./g,"\\.?").replace(q1,W1)}function Ip(e){return e.replace(/\./g,"").replace(q1," ").toLowerCase()}function Yn(e,t){return e===null?null:{regex:RegExp(e.map(zO).join("|")),deser:([n])=>e.findIndex(r=>Ip(n)===Ip(r))+t}}function Lp(e,t){return{regex:e,deser:([,n,r])=>_u(n,r),groups:t}}function ba(e){return{regex:e,deser:([t])=>t}}function bO(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function vO(e,t){const n=Zn(t),r=Zn(t,"{2}"),o=Zn(t,"{3}"),s=Zn(t,"{4}"),i=Zn(t,"{6}"),a=Zn(t,"{1,2}"),l=Zn(t,"{1,3}"),c=Zn(t,"{1,6}"),d=Zn(t,"{1,9}"),m=Zn(t,"{2,4}"),f=Zn(t,"{4,6}"),p=b=>({regex:RegExp(bO(b.val)),deser:([C])=>C,literal:!0}),_=(b=>{if(e.literal)return p(b);switch(b.val){case"G":return Yn(t.eras("short"),0);case"GG":return Yn(t.eras("long"),0);case"y":return ot(c);case"yy":return ot(m,ld);case"yyyy":return ot(s);case"yyyyy":return ot(f);case"yyyyyy":return ot(i);case"M":return ot(a);case"MM":return ot(r);case"MMM":return Yn(t.months("short",!0),1);case"MMMM":return Yn(t.months("long",!0),1);case"L":return ot(a);case"LL":return ot(r);case"LLL":return Yn(t.months("short",!1),1);case"LLLL":return Yn(t.months("long",!1),1);case"d":return ot(a);case"dd":return ot(r);case"o":return ot(l);case"ooo":return ot(o);case"HH":return ot(r);case"H":return ot(a);case"hh":return ot(r);case"h":return ot(a);case"mm":return ot(r);case"m":return ot(a);case"q":return ot(a);case"qq":return ot(r);case"s":return ot(a);case"ss":return ot(r);case"S":return ot(l);case"SSS":return ot(o);case"u":return ba(d);case"uu":return ba(a);case"uuu":return ot(n);case"a":return Yn(t.meridiems(),0);case"kkkk":return ot(s);case"kk":return ot(m,ld);case"W":return ot(a);case"WW":return ot(r);case"E":case"c":return ot(n);case"EEE":return Yn(t.weekdays("short",!1),1);case"EEEE":return Yn(t.weekdays("long",!1),1);case"ccc":return Yn(t.weekdays("short",!0),1);case"cccc":return Yn(t.weekdays("long",!0),1);case"Z":case"ZZ":return Lp(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return Lp(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return ba(/[a-z_+-/]{1,256}?/i);case" ":return ba(/[^\S\n\r]/);default:return p(b)}})(e)||{invalidReason:gO};return _.token=e,_}const CO={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 wO(e,t,n){const{type:r,value:o}=e;if(r==="literal"){const l=/^\s+$/.test(o);return{literal:!l,val:l?" ":o}}const s=t[r];let i=r;r==="hour"&&(t.hour12!=null?i=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?i="hour12":i="hour24":i=n.hour12?"hour12":"hour24");let a=CO[i];if(typeof a=="object"&&(a=a[s]),a)return{literal:!1,val:a}}function SO(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function kO(e,t,n){const r=e.match(t);if(r){const o={};let s=1;for(const i in n)if(xs(n,i)){const a=n[i],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(o[a.token.val[0]]=a.deser(r.slice(s,s+l))),s+=l}return[r,o]}else return[r,{}]}function xO(e){const t=s=>{switch(s){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,r;return De(e.z)||(n=Fr.create(e.z)),De(e.Z)||(n||(n=new un(e.Z)),r=e.Z),De(e.q)||(e.M=(e.q-1)*3+1),De(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),De(e.u)||(e.S=pm(e.u)),[Object.keys(e).reduce((s,i)=>{const a=t(i);return a&&(s[a]=e[i]),s},{}),n,r]}let Zu=null;function EO(){return Zu||(Zu=$e.fromMillis(1555555555555)),Zu}function TO(e,t){if(e.literal)return e;const n=Jt.macroTokenToFormatOpts(e.val),r=Y1(n,t);return r==null||r.includes(void 0)?e:r}function G1(e,t){return Array.prototype.concat(...e.map(n=>TO(n,t)))}class K1{constructor(t,n){if(this.locale=t,this.format=n,this.tokens=G1(Jt.parseFormat(n),t),this.units=this.tokens.map(r=>vO(r,t)),this.disqualifyingUnit=this.units.find(r=>r.invalidReason),!this.disqualifyingUnit){const[r,o]=SO(this.units);this.regex=RegExp(r,"i"),this.handlers=o}}explainFromTokens(t){if(this.isValid){const[n,r]=kO(t,this.regex,this.handlers),[o,s,i]=r?xO(r):[null,null,void 0];if(xs(r,"a")&&xs(r,"H"))throw new cs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:r,result:o,zone:s,specificOffset:i}}else return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Z1(e,t,n){return new K1(e,n).explainFromTokens(t)}function $O(e,t,n){const{result:r,zone:o,specificOffset:s,invalidReason:i}=Z1(e,t,n);return[r,o,s,i]}function Y1(e,t){if(!e)return null;const r=Jt.create(t,e).dtFormatter(EO()),o=r.formatToParts(),s=r.resolvedOptions();return o.map(i=>wO(i,e,s))}const Yu="Invalid DateTime",AO=864e13;function ni(e){return new nr("unsupported zone",`the zone "${e.name}" is not supported`)}function Xu(e){return e.weekData===null&&(e.weekData=yl(e.c)),e.weekData}function Ju(e){return e.localWeekData===null&&(e.localWeekData=yl(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function ko(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new $e({...n,...t,old:n})}function X1(e,t,n){let r=e-t*60*1e3;const o=n.offset(r);if(t===o)return[r,t];r-=(o-t)*60*1e3;const s=n.offset(r);return o===s?[r,o]:[e-Math.min(o,s)*60*1e3,Math.max(o,s)]}function va(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Ha(e,t,n){return X1(hu(e),t,n)}function Np(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,s={...e.c,year:r,month:o,day:Math.min(e.c.day,zl(r,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},i=Ke.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=hu(s);let[l,c]=X1(a,n,e.zone);return i!==0&&(l+=i,c=e.zone.offset(l)),{ts:l,o:c}}function Xo(e,t,n,r,o,s){const{setZone:i,zone:a}=n;if(e&&Object.keys(e).length!==0||t){const l=t||a,c=$e.fromObject(e,{...n,zone:l,specificOffset:s});return i?c:c.setZone(a)}else return $e.invalid(new nr("unparsable",`the input "${o}" can't be parsed as ${r}`))}function Ca(e,t,n=!0){return e.isValid?Jt.create(ct.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Qu(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Nt(e.c.year,n?6:4),t?(r+="-",r+=Nt(e.c.month),r+="-",r+=Nt(e.c.day)):(r+=Nt(e.c.month),r+=Nt(e.c.day)),r}function Dp(e,t,n,r,o,s){let i=Nt(e.c.hour);return t?(i+=":",i+=Nt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=":")):i+=Nt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=Nt(e.c.second),(e.c.millisecond!==0||!r)&&(i+=".",i+=Nt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!s?i+="Z":e.o<0?(i+="-",i+=Nt(Math.trunc(-e.o/60)),i+=":",i+=Nt(Math.trunc(-e.o%60))):(i+="+",i+=Nt(Math.trunc(e.o/60)),i+=":",i+=Nt(Math.trunc(e.o%60)))),s&&(i+="["+e.zone.ianaName+"]"),i}const J1={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},OO={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},PO={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Q1=["year","month","day","hour","minute","second","millisecond"],IO=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],LO=["year","ordinal","hour","minute","second","millisecond"];function NO(e){const t={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"}[e.toLowerCase()];if(!t)throw new e1(e);return t}function Rp(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return NO(e)}}function DO(e){return ja[e]||(Ua===void 0&&(Ua=At.now()),ja[e]=e.offset(Ua)),ja[e]}function Mp(e,t){const n=so(t.zone,At.defaultZone);if(!n.isValid)return $e.invalid(ni(n));const r=ct.fromObject(t);let o,s;if(De(e.year))o=At.now();else{for(const l of Q1)De(e[l])&&(e[l]=J1[l]);const i=S1(e)||k1(e);if(i)return $e.invalid(i);const a=DO(n);[o,s]=Ha(e,a,n)}return new $e({ts:o,zone:n,loc:r,o:s})}function Fp(e,t,n){const r=De(n.round)?!0:n.round,o=(i,a)=>(i=hm(i,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(i,a)),s=i=>n.calendary?t.hasSame(e,i)?0:t.startOf(i).diff(e.startOf(i),i).get(i):t.diff(e,i).get(i);if(n.unit)return o(s(n.unit),n.unit);for(const i of n.units){const a=s(i);if(Math.abs(a)>=1)return o(a,i)}return o(e>t?-0:0,n.units[n.units.length-1])}function Vp(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}let Ua,ja={};class $e{constructor(t){const n=t.zone||At.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new nr("invalid input"):null)||(n.isValid?null:ni(n));this.ts=De(t.ts)?At.now():t.ts;let o=null,s=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,s]=[t.old.c,t.old.o];else{const a=uo(t.o)&&!t.old?t.o:n.offset(this.ts);o=va(this.ts,a),r=Number.isNaN(o.year)?new nr("invalid input"):null,o=r?null:o,s=r?null:a}this._zone=n,this.loc=t.loc||ct.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=o,this.o=s,this.isLuxonDateTime=!0}static now(){return new $e({})}static local(){const[t,n]=Vp(arguments),[r,o,s,i,a,l,c]=n;return Mp({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:c},t)}static utc(){const[t,n]=Vp(arguments),[r,o,s,i,a,l,c]=n;return t.zone=un.utcInstance,Mp({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const r=dA(t)?t.valueOf():NaN;if(Number.isNaN(r))return $e.invalid("invalid input");const o=so(n.zone,At.defaultZone);return o.isValid?new $e({ts:r,zone:o,loc:ct.fromObject(n)}):$e.invalid(ni(o))}static fromMillis(t,n={}){if(uo(t))return t<-864e13||t>AO?$e.invalid("Timestamp out of range"):new $e({ts:t,zone:so(n.zone,At.defaultZone),loc:ct.fromObject(n)});throw new Kt(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(uo(t))return new $e({ts:t*1e3,zone:so(n.zone,At.defaultZone),loc:ct.fromObject(n)});throw new Kt("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=so(n.zone,At.defaultZone);if(!r.isValid)return $e.invalid(ni(r));const o=ct.fromObject(n),s=bl(t,Rp),{minDaysInFirstWeek:i,startOfWeek:a}=kp(s,o),l=At.now(),c=De(n.specificOffset)?r.offset(l):n.specificOffset,d=!De(s.ordinal),m=!De(s.year),f=!De(s.month)||!De(s.day),p=m||f,h=s.weekYear||s.weekNumber;if((p||d)&&h)throw new cs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&d)throw new cs("Can't mix ordinal dates with month/day");const _=h||s.weekday&&!p;let b,C,w=va(l,c);_?(b=IO,C=OO,w=yl(w,i,a)):d?(b=LO,C=PO,w=Ku(w)):(b=Q1,C=J1);let g=!1;for(const F of b){const G=s[F];De(G)?g?s[F]=C[F]:s[F]=w[F]:g=!0}const z=_?lA(s,i,a):d?uA(s):S1(s),S=z||k1(s);if(S)return $e.invalid(S);const k=_?wp(s,i,a):d?Sp(s):s,[L,D]=Ha(k,c,r),T=new $e({ts:L,zone:r,o:D,loc:o});return s.weekday&&p&&t.weekday!==T.weekday?$e.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${T.toISO()}`):T.isValid?T:$e.invalid(T.invalid)}static fromISO(t,n={}){const[r,o]=eO(t);return Xo(r,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,o]=tO(t);return Xo(r,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,o]=nO(t);return Xo(r,o,n,"HTTP",n)}static fromFormat(t,n,r={}){if(De(t)||De(n))throw new Kt("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:s=null}=r,i=ct.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0}),[a,l,c,d]=$O(i,t,n);return d?$e.invalid(d):Xo(a,l,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return $e.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,o]=uO(t);return Xo(r,o,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new Kt("need to specify a reason the DateTime is invalid");const r=t instanceof nr?t:new nr(t,n);if(At.throwOnInvalid)throw new N$(r);return new $e({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=Y1(t,ct.fromObject(n));return r?r.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return G1(Jt.parseFormat(t),ct.fromObject(n)).map(o=>o.val).join("")}static resetCache(){Ua=void 0,ja={}}get(t){return this[t]}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?Xu(this).weekYear:NaN}get weekNumber(){return this.isValid?Xu(this).weekNumber:NaN}get weekday(){return this.isValid?Xu(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ju(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ju(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ju(this).weekYear:NaN}get ordinal(){return this.isValid?Ku(this.c).ordinal:NaN}get monthShort(){return this.isValid?za.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?za.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?za.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?za.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 t=864e5,n=6e4,r=hu(this.c),o=this.zone.offset(r-t),s=this.zone.offset(r+t),i=this.zone.offset(r-o*n),a=this.zone.offset(r-s*n);if(i===a)return[this];const l=r-i*n,c=r-a*n,d=va(l,i),m=va(c,a);return d.hour===m.hour&&d.minute===m.minute&&d.second===m.second&&d.millisecond===m.millisecond?[ko(this,{ts:l}),ko(this,{ts:c})]:[this]}get isInLeapYear(){return Ji(this.year)}get daysInMonth(){return zl(this.year,this.month)}get daysInYear(){return this.isValid?ys(this.year):NaN}get weeksInWeekYear(){return this.isValid?Fi(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Fi(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:o}=Jt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(un.instance(t),n)}toLocal(){return this.setZone(At.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=so(t,At.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||r){const s=t.offset(this.ts),i=this.toObject();[o]=Ha(i,s,t)}return ko(this,{ts:o,zone:t})}else return $e.invalid(ni(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return ko(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=bl(t,Rp),{minDaysInFirstWeek:r,startOfWeek:o}=kp(n,this.loc),s=!De(n.weekYear)||!De(n.weekNumber)||!De(n.weekday),i=!De(n.ordinal),a=!De(n.year),l=!De(n.month)||!De(n.day),c=a||l,d=n.weekYear||n.weekNumber;if((c||i)&&d)throw new cs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&i)throw new cs("Can't mix ordinal dates with month/day");let m;s?m=wp({...yl(this.c,r,o),...n},r,o):De(n.ordinal)?(m={...this.toObject(),...n},De(n.day)&&(m.day=Math.min(zl(m.year,m.month),m.day))):m=Sp({...Ku(this.c),...n});const[f,p]=Ha(m,this.o,this.zone);return ko(this,{ts:f,o:p})}plus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t);return ko(this,Np(this,n))}minus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t).negate();return ko(this,Np(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},o=Ke.normalizeUnit(t);switch(o){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(o==="weeks")if(n){const s=this.loc.getStartOfWeek(),{weekday:i}=this;i<s&&(r.weekNumber=this.weekNumber-1),r.weekday=s}else r.weekday=1;if(o==="quarters"){const s=Math.ceil(this.month/3);r.month=(s-1)*3+1}return this.set(r)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?Jt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):Yu}toLocaleString(t=gl,n={}){return this.isValid?Jt.create(this.loc.clone(n),t).formatDateTime(this):Yu}toLocaleParts(t={}){return this.isValid?Jt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:o=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const i=t==="extended";let a=Qu(this,i);return a+="T",a+=Dp(this,i,n,r,o,s),a}toISODate({format:t="extended"}={}){return this.isValid?Qu(this,t==="extended"):null}toISOWeekDate(){return Ca(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:o=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(o?"T":"")+Dp(this,i==="extended",n,t,r,s):null}toRFC2822(){return Ca(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ca(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qu(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let o="HH:mm:ss.SSS";return(n||t)&&(r&&(o+=" "),n?o+="z":t&&(o+="ZZ")),Ca(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Yu}[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(t={}){if(!this.isValid)return{};const n={...this.c};return t.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(t,n="milliseconds",r={}){if(!this.isValid||!t.isValid)return Ke.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...r},s=mA(n).map(Ke.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,c=_O(a,l,s,o);return i?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff($e.now(),t,n)}until(t){return this.isValid?$t.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const o=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(n,r)<=o&&o<=s.endOf(n,r)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||$e.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let o=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(o=t.unit,s=void 0),Fp(n,this.plus(r),{...t,numeric:"always",units:o,unit:s})}toRelativeCalendar(t={}){return this.isValid?Fp(t.base||$e.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every($e.isDateTime))throw new Kt("min requires all arguments be DateTimes");return xp(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every($e.isDateTime))throw new Kt("max requires all arguments be DateTimes");return xp(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:o=null,numberingSystem:s=null}=r,i=ct.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0});return Z1(i,t,n)}static fromStringExplain(t,n,r={}){return $e.fromFormatExplain(t,n,r)}static buildFormatParser(t,n={}){const{locale:r=null,numberingSystem:o=null}=n,s=ct.fromOpts({locale:r,numberingSystem:o,defaultToEN:!0});return new K1(s,t)}static fromFormatParser(t,n,r={}){if(De(t)||De(n))throw new Kt("fromFormatParser requires an input string and a format parser");const{locale:o=null,numberingSystem:s=null}=r,i=ct.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0});if(!i.equals(n.locale))throw new Kt(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${n.locale}`);const{result:a,zone:l,specificOffset:c,invalidReason:d}=n.explainFromTokens(t);return d?$e.invalid(d):Xo(a,l,r,`format ${n.format}`,t,c)}static get DATE_SHORT(){return gl}static get DATE_MED(){return t1}static get DATE_MED_WITH_WEEKDAY(){return M$}static get DATE_FULL(){return n1}static get DATE_HUGE(){return r1}static get TIME_SIMPLE(){return o1}static get TIME_WITH_SECONDS(){return s1}static get TIME_WITH_SHORT_OFFSET(){return i1}static get TIME_WITH_LONG_OFFSET(){return a1}static get TIME_24_SIMPLE(){return l1}static get TIME_24_WITH_SECONDS(){return u1}static get TIME_24_WITH_SHORT_OFFSET(){return c1}static get TIME_24_WITH_LONG_OFFSET(){return d1}static get DATETIME_SHORT(){return m1}static get DATETIME_SHORT_WITH_SECONDS(){return f1}static get DATETIME_MED(){return p1}static get DATETIME_MED_WITH_SECONDS(){return h1}static get DATETIME_MED_WITH_WEEKDAY(){return F$}static get DATETIME_FULL(){return _1}static get DATETIME_FULL_WITH_SECONDS(){return g1}static get DATETIME_HUGE(){return y1}static get DATETIME_HUGE_WITH_SECONDS(){return z1}}function Gs(e){if($e.isDateTime(e))return e;if(e&&e.valueOf&&uo(e.valueOf()))return $e.fromJSDate(e);if(e&&typeof e=="object")return $e.fromObject(e);throw new Kt(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:ec,locale:tc}=lu.global,RO={channels(e){return e===1?ec("filter.mono"):e===2?ec("filter.stereo"):e?ec("filter.channels",{value:e}):""},cursor(e,t=20){const r=t/2;return`url("data:image/svg+xml,%3Csvg width='${t}' height='${t}' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='${e}'/%3E%3C/svg%3E") ${r} ${r}, auto`},date(e){return $e.fromISO(e).setLocale(tc.value).toLocaleString($e.DATE_FULL)},datetime(e){return $e.fromISO(e).setLocale(tc.value).toLocaleString($e.DATETIME_MED)},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?Ke.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?Ke.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():Ke.fromObject({minutes:t}).shiftTo("minutes").toHuman()},durationInHours(e){const t=e>=36e5?"h:mm:ss":"m:ss";return Ke.fromMillis(e).toFormat(t)},number(e){return e.toLocaleString(tc.value)},timeFromNow(e){const t=$e.now().diff($e.fromISO(e));return this.durationInDays(t.as("milliseconds"))}},MO={mdiAccountMusic:nE,mdiAlbum:rE,mdiArrowCollapseDown:sE,mdiBookOpenPageVariant:iE,mdiBookOpenVariant:aE,mdiBookshelf:lE,mdiBroadcast:uE,mdiCancel:cu,mdiCast:cE,mdiCastVariant:dE,mdiCellphone:mE,mdiCheck:fE,mdiChevronDown:pE,mdiChevronLeft:hE,mdiChevronUp:_E,mdiContentSave:gE,mdiDelete:yE,mdiDeleteEmpty:zE,mdiDotsHorizontal:bE,mdiDotsVertical:vE,mdiDragHorizontal:CE,mdiFastForward30:wE,mdiFileMusic:SE,mdiFileOutline:kE,mdiFire:xE,mdiFolder:EE,mdiFolderOpen:TE,mdiHistory:$E,mdiLoading:AE,mdiMagnify:OE,mdiMenu:PE,mdiMicrophone:IE,mdiMusic:LE,mdiMusicBoxMultiple:NE,mdiOpenInNew:DE,mdiPause:RE,mdiPencil:ME,mdiPipe:FE,mdiPlay:VE,mdiPlaylistPlay:HE,mdiPlaylistPlus:UE,mdiRadio:jE,mdiRadioTower:BE,mdiRefresh:WE,mdiRepeat:qE,mdiRepeatOff:GE,mdiRepeatOnce:KE,mdiRewind10:ZE,mdiRss:YE,mdiScriptTextOutline:XE,mdiScriptTextPlay:JE,mdiServer:QE,mdiShuffle:e2,mdiShuffleDisabled:t2,mdiSkipBackward:n2,mdiSkipForward:r2,mdiSpeaker:o2,mdiSpotify:s2,mdiStop:i2,mdiVolumeHigh:a2,mdiVolumeOff:l2,mdiWeb:u2},FO={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}},VO=e=>e.charAt(0).toUpperCase()+e.slice(1),HO=e=>e.split("-").map(VO).join(""),UO=(e,t,n)=>{const r=e[`mdi${HO(t.name)}`]||oE,o={role:t.role,"aria-label":t.ariaLabel,...n},s={fill:"currentColor",width:t.width||t.size,height:t.height||t.size,viewBox:t.viewBox,xmlns:t.xmlns};return{spanAttrs:o,svgAttrs:s,pathAttrs:{d:r}}},jO=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),BO=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:FO,...t,render:e(r)})}}),WO=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:o}=UO(e,this,this.$attrs);return zr("span",{...n,class:jO(this,this)},[zr("svg",r,[this.title?zr("title",[this.title]):void 0,zr("path",o)])])},qO=BO(WO);/*!
* vue-router v4.5.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const is=typeof document<"u";function ez(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function GO(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ez(e.default)}const ut=Object.assign;function nc(e,t){const n={};for(const r in t){const o=t[r];n[r]=lr(o)?o.map(e):e(o)}return n}const yi=()=>{},lr=Array.isArray,tz=/#/g,KO=/&/g,ZO=/\//g,YO=/=/g,XO=/\?/g,nz=/\+/g,JO=/%5B/g,QO=/%5D/g,rz=/%5E/g,e8=/%60/g,oz=/%7B/g,t8=/%7C/g,sz=/%7D/g,n8=/%20/g;function zm(e){return encodeURI(""+e).replace(t8,"|").replace(JO,"[").replace(QO,"]")}function r8(e){return zm(e).replace(oz,"{").replace(sz,"}").replace(rz,"^")}function ud(e){return zm(e).replace(nz,"%2B").replace(n8,"+").replace(tz,"%23").replace(KO,"%26").replace(e8,"`").replace(oz,"{").replace(sz,"}").replace(rz,"^")}function o8(e){return ud(e).replace(YO,"%3D")}function s8(e){return zm(e).replace(tz,"%23").replace(XO,"%3F")}function i8(e){return e==null?"":s8(e).replace(ZO,"%2F")}function Vi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const a8=/\/$/,l8=e=>e.replace(a8,"");function rc(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=m8(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:Vi(i)}}function u8(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function c8(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Es(t.matched[r],n.matched[o])&&iz(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Es(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function iz(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!d8(e[n],t[n]))return!1;return!0}function d8(e,t){return lr(e)?Up(e,t):lr(t)?Up(t,e):e===t}function Up(e,t){return lr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function m8(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Kr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Hi;(function(e){e.pop="pop",e.push="push"})(Hi||(Hi={}));var zi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zi||(zi={}));function f8(e){if(!e)if(is){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),l8(e)}const p8=/^[^#]+#/;function h8(e,t){return e.replace(p8,"#")+t}function _8(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const yu=()=>({left:window.scrollX,top:window.scrollY});function g8(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=_8(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function jp(e,t){return(history.state?history.state.position-t:-1)+e}const cd=new Map;function y8(e,t){cd.set(e,t)}function z8(e){const t=cd.get(e);return cd.delete(e),t}let b8=()=>location.protocol+"//"+location.host;function az(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Hp(l,"")}return Hp(n,e)+r+o}function v8(e,t,n,r){let o=[],s=[],i=null;const a=({state:f})=>{const p=az(e,location),h=n.value,_=t.value;let b=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}b=_?f.position-_.position:0}else r(p);o.forEach(C=>{C(n.value,h,{delta:b,type:Hi.pop,direction:b?b>0?zi.forward:zi.back:zi.unknown})})};function l(){i=n.value}function c(f){o.push(f);const p=()=>{const h=o.indexOf(f);h>-1&&o.splice(h,1)};return s.push(p),p}function d(){const{history:f}=window;f.state&&f.replaceState(ut({},f.state,{scroll:yu()}),"")}function m(){for(const f of s)f();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:m}}function Bp(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?yu():null}}function C8(e){const{history:t,location:n}=window,r={value:az(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,d){const m=e.indexOf("#"),f=m>-1?(n.host&&document.querySelector("base")?e:e.slice(m))+l:b8()+e+l;try{t[d?"replaceState":"pushState"](c,"",f),o.value=c}catch(p){console.error(p),n[d?"replace":"assign"](f)}}function i(l,c){const d=ut({},t.state,Bp(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});s(l,d,!0),r.value=l}function a(l,c){const d=ut({},o.value,t.state,{forward:l,scroll:yu()});s(d.current,d,!0);const m=ut({},Bp(r.value,l,null),{position:d.position+1},c);s(l,m,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function w8(e){e=f8(e);const t=C8(e),n=v8(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=ut({location:"",base:e,go:r,createHref:h8.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function S8(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),w8(e)}function k8(e){return typeof e=="string"||e&&typeof e=="object"}function lz(e){return typeof e=="string"||typeof e=="symbol"}const uz=Symbol("");var Wp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Wp||(Wp={}));function Ts(e,t){return ut(new Error,{type:e,[uz]:!0},t)}function $r(e,t){return e instanceof Error&&uz in e&&(t==null||!!(e.type&t))}const qp="[^/]+?",x8={sensitive:!1,strict:!1,start:!0,end:!0},E8=/[.+*?^${}()[\]/\\]/g;function T8(e,t){const n=ut({},x8,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let m=0;m<c.length;m++){const f=c[m];let p=40+(n.sensitive?.25:0);if(f.type===0)m||(o+="/"),o+=f.value.replace(E8,"\\$&"),p+=40;else if(f.type===1){const{value:h,repeatable:_,optional:b,regexp:C}=f;s.push({name:h,repeatable:_,optional:b});const w=C||qp;if(w!==qp){p+=10;try{new RegExp(`(${w})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${h}" (${w}): `+z.message)}}let g=_?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;m||(g=b&&c.length<2?`(?:/${g})`:"/"+g),b&&(g+="?"),o+=g,p+=20,b&&(p+=-8),_&&(p+=-20),w===".*"&&(p+=-50)}d.push(p)}r.push(d)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(c){const d=c.match(i),m={};if(!d)return null;for(let f=1;f<d.length;f++){const p=d[f]||"",h=s[f-1];m[h.name]=p&&h.repeatable?p.split("/"):p}return m}function l(c){let d="",m=!1;for(const f of e){(!m||!d.endsWith("/"))&&(d+="/"),m=!1;for(const p of f)if(p.type===0)d+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:b}=p,C=h in c?c[h]:"";if(lr(C)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const w=lr(C)?C.join("/"):C;if(!w)if(b)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):m=!0);else throw new Error(`Missing required param "${h}"`);d+=w}}return d||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function $8(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function cz(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=$8(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Gp(r))return 1;if(Gp(o))return-1}return o.length-r.length}function Gp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const A8={type:0,value:""},O8=/[a-zA-Z0-9_]/;function P8(e){if(!e)return[[]];if(e==="/")return[[A8]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",d="";function m(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&m(),i()):l===":"?(m(),n=1):f();break;case 4:f(),n=r;break;case 1:l==="("?n=2:O8.test(l)?f():(m(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:m(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),m(),i(),o}function I8(e,t,n){const r=T8(P8(e.path),n),o=ut(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function L8(e,t){const n=[],r=new Map;t=Xp({strict:!1,end:!0,sensitive:!1},t);function o(m){return r.get(m)}function s(m,f,p){const h=!p,_=Zp(m);_.aliasOf=p&&p.record;const b=Xp(t,m),C=[_];if("alias"in m){const z=typeof m.alias=="string"?[m.alias]:m.alias;for(const S of z)C.push(Zp(ut({},_,{components:p?p.record.components:_.components,path:S,aliasOf:p?p.record:_})))}let w,g;for(const z of C){const{path:S}=z;if(f&&S[0]!=="/"){const k=f.record.path,L=k[k.length-1]==="/"?"":"/";z.path=f.record.path+(S&&L+S)}if(w=I8(z,f,b),p?p.alias.push(w):(g=g||w,g!==w&&g.alias.push(w),h&&m.name&&!Yp(w)&&i(m.name)),dz(w)&&l(w),_.children){const k=_.children;for(let L=0;L<k.length;L++)s(k[L],w,p&&p.children[L])}p=p||w}return g?()=>{i(g)}:yi}function i(m){if(lz(m)){const f=r.get(m);f&&(r.delete(m),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(m);f>-1&&(n.splice(f,1),m.record.name&&r.delete(m.record.name),m.children.forEach(i),m.alias.forEach(i))}}function a(){return n}function l(m){const f=R8(m,n);n.splice(f,0,m),m.record.name&&!Yp(m)&&r.set(m.record.name,m)}function c(m,f){let p,h={},_,b;if("name"in m&&m.name){if(p=r.get(m.name),!p)throw Ts(1,{location:m});b=p.record.name,h=ut(Kp(f.params,p.keys.filter(g=>!g.optional).concat(p.parent?p.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),m.params&&Kp(m.params,p.keys.map(g=>g.name))),_=p.stringify(h)}else if(m.path!=null)_=m.path,p=n.find(g=>g.re.test(_)),p&&(h=p.parse(_),b=p.record.name);else{if(p=f.name?r.get(f.name):n.find(g=>g.re.test(f.path)),!p)throw Ts(1,{location:m,currentLocation:f});b=p.record.name,h=ut({},f.params,m.params),_=p.stringify(h)}const C=[];let w=p;for(;w;)C.unshift(w.record),w=w.parent;return{name:b,path:_,params:h,matched:C,meta:D8(C)}}e.forEach(m=>s(m));function d(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:i,clearRoutes:d,getRoutes:a,getRecordMatcher:o}}function Kp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Zp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:N8(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function N8(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Yp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function D8(e){return e.reduce((t,n)=>ut(t,n.meta),{})}function Xp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function R8(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;cz(e,t[s])<0?r=s:n=s+1}const o=M8(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function M8(e){let t=e;for(;t=t.parent;)if(dz(t)&&cz(e,t)===0)return t}function dz({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function F8(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(nz," "),i=s.indexOf("="),a=Vi(i<0?s:s.slice(0,i)),l=i<0?null:Vi(s.slice(i+1));if(a in t){let c=t[a];lr(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Jp(e){let t="";for(let n in e){const r=e[n];if(n=o8(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(lr(r)?r.map(s=>s&&ud(s)):[r&&ud(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function V8(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=lr(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const H8=Symbol(""),Qp=Symbol(""),bm=Symbol(""),mz=Symbol(""),dd=Symbol("");function Ks(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ro(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=f=>{f===!1?l(Ts(4,{from:n,to:t})):f instanceof Error?l(f):k8(f)?l(Ts(2,{from:t,to:f})):(i&&r.enterCallbacks[o]===i&&typeof f=="function"&&i.push(f),a())},d=s(()=>e.call(r&&r.instances[o],t,n,c));let m=Promise.resolve(d);e.length<3&&(m=m.then(c)),m.catch(f=>l(f))})}function oc(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(ez(l)){const d=(l.__vccOpts||l)[t];d&&s.push(ro(d,n,r,i,a,o))}else{let c=l();s.push(()=>c.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const m=GO(d)?d.default:d;i.mods[a]=d,i.components[a]=m;const p=(m.__vccOpts||m)[t];return p&&ro(p,n,r,i,a,o)()}))}}return s}function eh(e){const t=Vn(bm),n=Vn(mz),r=jt(()=>{const l=zn(e.to);return t.resolve(l)}),o=jt(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],m=n.matched;if(!d||!m.length)return-1;const f=m.findIndex(Es.bind(null,d));if(f>-1)return f;const p=th(l[c-2]);return c>1&&th(d)===p&&m[m.length-1].path!==p?m.findIndex(Es.bind(null,l[c-2])):f}),s=jt(()=>o.value>-1&&q8(n.params,r.value.params)),i=jt(()=>o.value>-1&&o.value===n.matched.length-1&&iz(n.params,r.value.params));function a(l={}){if(W8(l)){const c=t[zn(e.replace)?"replace":"push"](zn(e.to)).catch(yi);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:jt(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}function U8(e){return e.length===1?e[0]:e}const j8=Vr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:eh,setup(e,{slots:t}){const n=Os(eh(e)),{options:r}=Vn(bm),o=jt(()=>({[nh(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[nh(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&U8(t.default(n));return e.custom?s:zr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),B8=j8;function W8(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function q8(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!lr(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function th(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const nh=(e,t,n)=>e??t??n,G8=Vr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Vn(dd),o=jt(()=>e.route||r.value),s=Vn(Qp,0),i=jt(()=>{let c=zn(s);const{matched:d}=o.value;let m;for(;(m=d[c])&&!m.components;)c++;return c}),a=jt(()=>o.value.matched[i.value]);mi(Qp,jt(()=>i.value+1)),mi(H8,a),mi(dd,o);const l=Fn();return Tn(()=>[l.value,a.value,e.name],([c,d,m],[f,p,h])=>{d&&(d.instances[m]=c,p&&p!==d&&c&&c===f&&(d.leaveGuards.size||(d.leaveGuards=p.leaveGuards),d.updateGuards.size||(d.updateGuards=p.updateGuards))),c&&d&&(!p||!Es(d,p)||!f)&&(d.enterCallbacks[m]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=o.value,d=e.name,m=a.value,f=m&&m.components[d];if(!f)return rh(n.default,{Component:f,route:c});const p=m.props[d],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,b=zr(f,ut({},h,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(m.instances[d]=null)},ref:l}));return rh(n.default,{Component:b,route:c})||b}}});function rh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const K8=G8;function Z8(e){const t=L8(e.routes,e),n=e.parseQuery||F8,r=e.stringifyQuery||Jp,o=e.history,s=Ks(),i=Ks(),a=Ks(),l=Ul(Kr);let c=Kr;is&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=nc.bind(null,Z=>""+Z),m=nc.bind(null,i8),f=nc.bind(null,Vi);function p(Z,me){let ce,ye;return lz(Z)?(ce=t.getRecordMatcher(Z),ye=me):ye=Z,t.addRoute(ye,ce)}function h(Z){const me=t.getRecordMatcher(Z);me&&t.removeRoute(me)}function _(){return t.getRoutes().map(Z=>Z.record)}function b(Z){return!!t.getRecordMatcher(Z)}function C(Z,me){if(me=ut({},me||l.value),typeof Z=="string"){const P=rc(n,Z,me.path),j=t.resolve({path:P.path},me),te=o.createHref(P.fullPath);return ut(P,j,{params:f(j.params),hash:Vi(P.hash),redirectedFrom:void 0,href:te})}let ce;if(Z.path!=null)ce=ut({},Z,{path:rc(n,Z.path,me.path).path});else{const P=ut({},Z.params);for(const j in P)P[j]==null&&delete P[j];ce=ut({},Z,{params:m(P)}),me.params=m(me.params)}const ye=t.resolve(ce,me),Ue=Z.hash||"";ye.params=d(f(ye.params));const Ge=u8(r,ut({},Z,{hash:r8(Ue),path:ye.path})),A=o.createHref(Ge);return ut({fullPath:Ge,hash:Ue,query:r===Jp?V8(Z.query):Z.query||{}},ye,{redirectedFrom:void 0,href:A})}function w(Z){return typeof Z=="string"?rc(n,Z,l.value.path):ut({},Z)}function g(Z,me){if(c!==Z)return Ts(8,{from:me,to:Z})}function z(Z){return L(Z)}function S(Z){return z(ut(w(Z),{replace:!0}))}function k(Z){const me=Z.matched[Z.matched.length-1];if(me&&me.redirect){const{redirect:ce}=me;let ye=typeof ce=="function"?ce(Z):ce;return typeof ye=="string"&&(ye=ye.includes("?")||ye.includes("#")?ye=w(ye):{path:ye},ye.params={}),ut({query:Z.query,hash:Z.hash,params:ye.path!=null?{}:Z.params},ye)}}function L(Z,me){const ce=c=C(Z),ye=l.value,Ue=Z.state,Ge=Z.force,A=Z.replace===!0,P=k(ce);if(P)return L(ut(w(P),{state:typeof P=="object"?ut({},Ue,P.state):Ue,force:Ge,replace:A}),me||ce);const j=ce;j.redirectedFrom=me;let te;return!Ge&&c8(r,ye,ce)&&(te=Ts(16,{to:j,from:ye}),Ve(ye,ye,!0,!1)),(te?Promise.resolve(te):F(j,ye)).catch(X=>$r(X)?$r(X,2)?X:it(X):ue(X,j,ye)).then(X=>{if(X){if($r(X,2))return L(ut({replace:A},w(X.to),{state:typeof X.to=="object"?ut({},Ue,X.to.state):Ue,force:Ge}),me||j)}else X=U(j,ye,!0,A,Ue);return G(j,ye,X),X})}function D(Z,me){const ce=g(Z,me);return ce?Promise.reject(ce):Promise.resolve()}function T(Z){const me=lt.values().next().value;return me&&typeof me.runWithContext=="function"?me.runWithContext(Z):Z()}function F(Z,me){let ce;const[ye,Ue,Ge]=Y8(Z,me);ce=oc(ye.reverse(),"beforeRouteLeave",Z,me);for(const P of ye)P.leaveGuards.forEach(j=>{ce.push(ro(j,Z,me))});const A=D.bind(null,Z,me);return ce.push(A),We(ce).then(()=>{ce=[];for(const P of s.list())ce.push(ro(P,Z,me));return ce.push(A),We(ce)}).then(()=>{ce=oc(Ue,"beforeRouteUpdate",Z,me);for(const P of Ue)P.updateGuards.forEach(j=>{ce.push(ro(j,Z,me))});return ce.push(A),We(ce)}).then(()=>{ce=[];for(const P of Ge)if(P.beforeEnter)if(lr(P.beforeEnter))for(const j of P.beforeEnter)ce.push(ro(j,Z,me));else ce.push(ro(P.beforeEnter,Z,me));return ce.push(A),We(ce)}).then(()=>(Z.matched.forEach(P=>P.enterCallbacks={}),ce=oc(Ge,"beforeRouteEnter",Z,me,T),ce.push(A),We(ce))).then(()=>{ce=[];for(const P of i.list())ce.push(ro(P,Z,me));return ce.push(A),We(ce)}).catch(P=>$r(P,8)?P:Promise.reject(P))}function G(Z,me,ce){a.list().forEach(ye=>T(()=>ye(Z,me,ce)))}function U(Z,me,ce,ye,Ue){const Ge=g(Z,me);if(Ge)return Ge;const A=me===Kr,P=is?history.state:{};ce&&(ye||A?o.replace(Z.fullPath,ut({scroll:A&&P&&P.scroll},Ue)):o.push(Z.fullPath,Ue)),l.value=Z,Ve(Z,me,ce,A),it()}let W;function ee(){W||(W=o.listen((Z,me,ce)=>{if(!dt.listening)return;const ye=C(Z),Ue=k(ye);if(Ue){L(ut(Ue,{replace:!0,force:!0}),ye).catch(yi);return}c=ye;const Ge=l.value;is&&y8(jp(Ge.fullPath,ce.delta),yu()),F(ye,Ge).catch(A=>$r(A,12)?A:$r(A,2)?(L(ut(w(A.to),{force:!0}),ye).then(P=>{$r(P,20)&&!ce.delta&&ce.type===Hi.pop&&o.go(-1,!1)}).catch(yi),Promise.reject()):(ce.delta&&o.go(-ce.delta,!1),ue(A,ye,Ge))).then(A=>{A=A||U(ye,Ge,!1),A&&(ce.delta&&!$r(A,8)?o.go(-ce.delta,!1):ce.type===Hi.pop&&$r(A,20)&&o.go(-1,!1)),G(ye,Ge,A)}).catch(yi)}))}let fe=Ks(),K=Ks(),ne;function ue(Z,me,ce){it(Z);const ye=K.list();return ye.length?ye.forEach(Ue=>Ue(Z,me,ce)):console.error(Z),Promise.reject(Z)}function Ne(){return ne&&l.value!==Kr?Promise.resolve():new Promise((Z,me)=>{fe.add([Z,me])})}function it(Z){return ne||(ne=!Z,ee(),fe.list().forEach(([me,ce])=>Z?ce(Z):me()),fe.reset()),Z}function Ve(Z,me,ce,ye){const{scrollBehavior:Ue}=e;if(!is||!Ue)return Promise.resolve();const Ge=!ce&&z8(jp(Z.fullPath,0))||(ye||!ce)&&history.state&&history.state.scroll||null;return Uo().then(()=>Ue(Z,me,Ge)).then(A=>A&&g8(A)).catch(A=>ue(A,Z,me))}const He=Z=>o.go(Z);let at;const lt=new Set,dt={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:_,resolve:C,options:e,push:z,replace:S,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:K.add,isReady:Ne,install(Z){const me=this;Z.component("RouterLink",B8),Z.component("RouterView",K8),Z.config.globalProperties.$router=me,Object.defineProperty(Z.config.globalProperties,"$route",{enumerable:!0,get:()=>zn(l)}),is&&!at&&l.value===Kr&&(at=!0,z(o.location).catch(Ue=>{}));const ce={};for(const Ue in Kr)Object.defineProperty(ce,Ue,{get:()=>l.value[Ue],enumerable:!0});Z.provide(bm,me),Z.provide(mz,$d(ce)),Z.provide(dd,l);const ye=Z.unmount;lt.add(Z),Z.unmount=function(){lt.delete(Z),lt.size<1&&(c=Kr,W&&W(),W=null,l.value=Kr,at=!1,ne=!1),ye()}}};function We(Z){return Z.reduce((me,ce)=>me.then(()=>T(ce)),Promise.resolve())}return dt}function Y8(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(c=>Es(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>Es(c,l))||o.push(l))}return[n,r,o]}const X8={name:"PageAbout",setup(){return{configurationStore:Fo(),libraryStore:uu(),uiStore:wn()}},computed:{configuration(){return this.configurationStore.$state},library(){return this.libraryStore.$state}},methods:{showUpdateDialog(){this.uiStore.show_update_dialog=!0}}},J8={class:"section"},Q8={class:"container"},eP={class:"columns is-centered"},tP={class:"column is-four-fifths has-text-centered-mobile"},nP=["textContent"],rP={class:"section"},oP={class:"container"},sP={class:"columns is-centered"},iP={class:"column is-four-fifths"},aP={class:"content"},lP={class:"level is-mobile"},uP={class:"level-left"},cP={class:"level-item"},dP=["textContent"],mP={class:"level-right"},fP={key:0},pP=["textContent"],hP={key:1},_P=["textContent"],gP={class:"table"},yP=["textContent"],zP=["textContent"],bP=["textContent"],vP=["textContent"],CP=["textContent"],wP=["textContent"],SP=["textContent"],kP=["textContent"],xP=["textContent"],EP={class:"has-text-right"},TP=["textContent"],$P=["textContent"],AP=["textContent"],OP={class:"has-text-right"},PP=["textContent"],IP=["textContent"],LP={class:"section"},NP={class:"container"},DP={class:"columns is-centered"},RP={class:"column is-four-fifths"},MP={class:"content has-text-centered-mobile"},FP=["textContent"],VP=["textContent"],HP=["textContent"];function UP(e,t,n,r,o,s){const i=O("i18n-t");return x(),I("div",null,[u("section",J8,[u("div",Q8,[u("div",eP,[u("div",tP,[u("h1",{class:"title is-4",textContent:y(s.configuration.library_name)},null,8,nP)])])])]),u("section",rP,[u("div",oP,[u("div",sP,[u("div",iP,[u("div",aP,[u("nav",lP,[u("div",uP,[u("div",cP,[u("p",{class:"title is-5",textContent:y(e.$t("page.about.library"))},null,8,dP)])]),u("div",mP,[s.library.updating?(x(),I("div",fP,[u("a",{class:"button is-small is-loading",textContent:y(e.$t("page.about.update"))},null,8,pP)])):(x(),I("div",hP,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=a=>s.showUpdateDialog()),textContent:y(e.$t("page.about.update"))},null,8,_P)]))])]),u("table",gP,[u("tbody",null,[u("tr",null,[u("th",{class:"has-text-left",textContent:y(e.$t("page.about.artists"))},null,8,yP),u("td",{class:"has-text-right",textContent:y(e.$filters.number(s.library.artists))},null,8,zP)]),u("tr",null,[u("th",{class:"has-text-left",textContent:y(e.$t("page.about.albums"))},null,8,bP),u("td",{class:"has-text-right",textContent:y(e.$filters.number(s.library.albums))},null,8,vP)]),u("tr",null,[u("th",{class:"has-text-left",textContent:y(e.$t("page.about.tracks"))},null,8,CP),u("td",{class:"has-text-right",textContent:y(e.$filters.number(s.library.songs))},null,8,wP)]),u("tr",null,[u("th",{class:"has-text-left",textContent:y(e.$t("page.about.total-playtime"))},null,8,SP),u("td",{class:"has-text-right",textContent:y(e.$filters.durationInDays(s.library.db_playtime*1e3))},null,8,kP)]),u("tr",null,[u("th",{class:"has-text-left",textContent:y(e.$t("page.about.updated"))},null,8,xP),u("td",EP,[u("span",{textContent:y(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(s.library.updated_at)}))},null,8,TP),t[1]||(t[1]=Mt(" (")),u("span",{class:"has-text-grey",textContent:y(e.$filters.datetime(s.library.updated_at))},null,8,$P),t[2]||(t[2]=Mt(") "))])]),u("tr",null,[u("th",{class:"has-text-left",textContent:y(e.$t("page.about.uptime"))},null,8,AP),u("td",OP,[u("span",{textContent:y(e.$filters.timeFromNow(s.library.started_at,!0))},null,8,PP),t[3]||(t[3]=Mt(" (")),u("span",{class:"has-text-grey",textContent:y(e.$filters.datetime(s.library.started_at))},null,8,IP),t[4]||(t[4]=Mt(") "))])])])])])])])])]),u("section",LP,[u("div",NP,[u("div",DP,[u("div",RP,[u("div",MP,[u("p",{class:"is-size-7",textContent:y(e.$t("page.about.version",{version:s.configuration.version}))},null,8,FP),u("p",{class:"is-size-7",textContent:y(e.$t("page.about.compiled-with",{options:s.configuration.buildoptions.join(", ")}))},null,8,VP),v(i,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:N(()=>t[5]||(t[5]=[u("a",{href:"https://bulma.io"},"Bulma",-1)])),mdi:N(()=>t[6]||(t[6]=[u("a",{href:"https://pictogrammers.com/library/mdi/"}," Material Design Icons ",-1)])),vuejs:N(()=>t[7]||(t[7]=[u("a",{href:"https://vuejs.org/"},"Vue.js",-1)])),axios:N(()=>t[8]||(t[8]=[u("a",{href:"https://github.com/axios/axios"},"axios",-1)])),others:N(()=>[u("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:y(e.$t("page.about.more"))},null,8,HP)]),_:1})])])])])])])}const jP=le(X8,[["render",UP]]),BP={},WP={class:"hero is-light is-bold"},qP={class:"hero-body"},GP={class:"container"},KP={class:"columns is-centered"},ZP={class:"column is-four-fifths"},YP={class:"columns is-flex-direction-row-reverse"},XP={class:"column fd-has-cover"},JP={class:"column m-auto is-three-fifths has-text-centered-mobile"},QP={class:"section pt-0"},eI={class:"container"},tI={class:"columns is-centered"},nI={class:"column is-four-fifths"};function rI(e,t){return x(),I(ze,null,[u("section",WP,[u("div",qP,[u("div",GP,[u("div",KP,[u("div",ZP,[u("div",YP,[u("div",XP,[wt(e.$slots,"heading-right")]),u("div",JP,[wt(e.$slots,"heading-left")])])])])])])]),u("section",QP,[u("div",eI,[u("div",tI,[u("div",nI,[wt(e.$slots,"content"),wt(e.$slots,"footer")])])])])],64)}const zu=le(BP,[["render",rI]]),oI=e=>{let t=0;for(const n of e)t=n.charCodeAt(0)+((t<<5)-t);return(t&16777215).toString(16)},sI=e=>[.2126,.7152,.0722].reduce((t,n,r)=>t+ +`0x${e.slice(r*2,r*2+2)}`*n,0)/255,iI=e=>{const t=oI(e.alternate),n=`<svg xmlns="http://www.w3.org/2000/svg"
width="${e.size}" height="${e.size}"
viewBox="0 0 ${e.size} ${e.size}">
<rect width="100%" height="100%" fill="#${t}"/>
<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle"
font-weight="${e.font.weight}" font-family="${e.font.family}"
font-size="${e.size/3}" fill="${sI(t)>.5?"#000000":"#FFFFFF"}">
${e.caption}
</text>
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},aI={name:"CoverArtwork",props:{album:{default:"",type:String},artist:{default:"",type:String},url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},lifecycle:{error:e=>{e.src=this.dataURI()}},size:600}},computed:{alt_text(){return`${this.artist} - ${this.album}`},caption(){return(this.album||this.artist||"").substring(0,2)}},methods:{dataURI(){return iI({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function lI(e,t,n,r,o,s){const i=Md("lazy");return x(),I("figure",null,[gt(u("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.url,lifecycle:o.lifecycle}]])])}const Ur=le(aI,[["render",lI]]),{t:wa,locale:uI}=lu.global,fz="NO_INDEX",cI=(e,t)=>e-t,dI=(e,t)=>e.localeCompare(t,uI.value),mI=(e,t)=>new Date(e)-new Date(t)||(e?t?0:1:-1),fI=e=>e.map(({field:t,type:n,order:r=1})=>{switch(n){case String:return(o,s)=>dI(o[t],s[t])*r;case Number:return(o,s)=>cI(o[t],s[t])*r;case Date:return(o,s)=>mI(o[t],s[t])*r;default:return()=>0}}),pI=(e="")=>{const t=e.charAt(0);return t.match(new RegExp("\\p{Letter}","gu"))?t.toUpperCase():t.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},hI=e=>{},_I=[{difference:NaN,text:()=>wa("grouped-list.undefined")},{difference:864e5,text:()=>wa("grouped-list.today")},{difference:6048e5,text:()=>wa("grouped-list.last-week")},{difference:2592e6,text:()=>wa("grouped-list.last-month")},{difference:1/0,text:e=>e.getFullYear()}],gI=e=>{var r;const t=new Date(e),n=new Date-t;return(r=_I.find(o=>isNaN(n)||n<o.difference))==null?void 0:r.text(t)},yI=({field:e,type:t}={})=>{switch(t){case String:return n=>pI(n[e]);case Number:return n=>n[e];case Date:return n=>gI(n[e]);case"Digits":return n=>hI(n[e]);default:return()=>fz}};class Ee{constructor({items:t=[],total:n=0,offset:r=0,limit:o=-1}={},s={}){this.items=t,this.total=n,this.offset=r,this.limit=o,this.count=t.length,this.indices=[],this.group(s)}group({criteria:t=[],filters:n=[],index:r}={}){const o=this.items.filter(l=>n.every(c=>c(l)));this.count=o.length;const s=fI(t),i=o.sort((l,c)=>s.reduce((d,m)=>d||m(l,c),0)),a=yI(r);return this.itemsGrouped=i.reduce((l,c)=>{const d=a(c);return l.set(d,[...l.get(d)||[],c]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys()),this}*generate(){for(const[t,n]of this.itemsGrouped.entries()){t!==fz&&(yield{index:t,isItem:!1,item:{},itemId:t});for(const r of n)yield{index:t,isItem:!0,item:r,itemId:r.id}}}[Symbol.iterator](){return this.generate()}}var pz={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,o=null,s=function(f,p){return f.abort=p,f},i=function(f,p){var h;if(o!==null){var _=o.defer();f(function(b){_.resolve(b)},function(b){_.reject(b)}),h=_.promise}else window.Promise&&(h=new window.Promise(f));return h?new s(h,p):null},a=function(){var f=Array.prototype.slice.call(arguments),p=f[0],h=f.slice(1);return p=p||{},h.forEach(function(_){for(var b in _)_.hasOwnProperty(b)&&(p[b]=_[b])}),p},l=function(f,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var b=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(b)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},c=function(f,p){var h=new XMLHttpRequest,_=function(b,C){function w(k){b&&b(k),p&&p(null,k)}function g(){C&&C(h),p&&p(h,null)}var z=f.type||"GET";if(h.open(z,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var k=null;try{k=h.responseText?JSON.parse(h.responseText):""}catch(L){console.error(L)}h.status>=200&&h.status<300?w(k):g()}},z==="GET")h.send(null);else{var S=null;f.postData&&(f.contentType==="image/jpeg"?(S=f.postData,h.setRequestHeader("Content-Type",f.contentType)):(S=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(S)}};return p?(_(),null):i(_,function(){h.abort()})},d=function(f,p,h,_){var b={},C=null;typeof p=="object"?(b=p,C=h):typeof p=="function"&&(C=p);var w=f.type||"GET";return w!=="GET"&&f.postData&&!_?f.postData=a(f.postData,b):f.params=a(f.params,b),c(f,C)},m=function(){};return m.prototype={constructor:t},m.prototype.getGeneric=function(f,p){var h={url:f};return d(h,p)},m.prototype.getMe=function(f,p){var h={url:n+"/me"};return d(h,f,p)},m.prototype.getMySavedTracks=function(f,p){var h={url:n+"/me/tracks"};return d(h,f,p)},m.prototype.addToMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMySavedAlbums=function(f,p){var h={url:n+"/me/albums"};return d(h,f,p)},m.prototype.addToMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMyTopArtists=function(f,p){var h={url:n+"/me/top/artists"};return d(h,f,p)},m.prototype.getMyTopTracks=function(f,p){var h={url:n+"/me/top/tracks"};return d(h,f,p)},m.prototype.getMyRecentlyPlayedTracks=function(f,p){var h={url:n+"/me/player/recently-played"};return d(h,f,p)},m.prototype.followUsers=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.followArtists=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.followPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers",type:"PUT",postData:{}};return d(_,p,h)},m.prototype.unfollowUsers=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.unfollowArtists=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.unfollowPlaylist=function(f,p){var h={url:n+"/playlists/"+f+"/followers",type:"DELETE"};return d(h,p)},m.prototype.isFollowingUsers=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"user"}};return d(h,p)},m.prototype.isFollowingArtists=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"artist"}};return d(h,p)},m.prototype.areFollowingPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return d(_,h)},m.prototype.getFollowedArtists=function(f,p){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return d(h,f,p)},m.prototype.getUser=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)};return d(_,p,h)},m.prototype.getUserPlaylists=function(f,p,h){var _;return typeof f=="string"?_={url:n+"/users/"+encodeURIComponent(f)+"/playlists"}:(_={url:n+"/me/playlists"},h=p,p=f),d(_,p,h)},m.prototype.getPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f};return d(_,p,h)},m.prototype.getPlaylistTracks=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks"};return d(_,p,h)},m.prototype.getPlaylistCoverImage=function(f,p){var h={url:n+"/playlists/"+f+"/images"};return d(h,p)},m.prototype.createPlaylist=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)+"/playlists",type:"POST",postData:p};return d(_,p,h)},m.prototype.changePlaylistDetails=function(f,p,h){var _={url:n+"/playlists/"+f,type:"PUT",postData:p};return d(_,p,h)},m.prototype.addTracksToPlaylist=function(f,p,h,_){var b={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:p}};return d(b,h,_,!0)},m.prototype.replaceTracksInPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{uris:p}};return d(_,{},h)},m.prototype.reorderTracksInPlaylist=function(f,p,h,_,b){var C={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return d(C,_,b)},m.prototype.removeTracksFromPlaylist=function(f,p,h){var _=p.map(function(C){return typeof C=="string"?{uri:C}:C}),b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:_}};return d(b,{},h)},m.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,p,h,_){var b=p.map(function(w){return typeof w=="string"?{uri:w}:w}),C={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:b,snapshot_id:h}};return d(C,{},_)},m.prototype.removeTracksFromPlaylistInPositions=function(f,p,h,_){var b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return d(b,{},_)},m.prototype.uploadCustomPlaylistCoverImage=function(f,p,h){var _={url:n+"/playlists/"+f+"/images",type:"PUT",postData:p.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return d(_,{},h)},m.prototype.getAlbum=function(f,p,h){var _={url:n+"/albums/"+f};return d(_,p,h)},m.prototype.getAlbumTracks=function(f,p,h){var _={url:n+"/albums/"+f+"/tracks"};return d(_,p,h)},m.prototype.getAlbums=function(f,p,h){var _={url:n+"/albums/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getTrack=function(f,p,h){var _={};return _.url=n+"/tracks/"+f,d(_,p,h)},m.prototype.getTracks=function(f,p,h){var _={url:n+"/tracks/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getArtist=function(f,p,h){var _={url:n+"/artists/"+f};return d(_,p,h)},m.prototype.getArtists=function(f,p,h){var _={url:n+"/artists/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getArtistAlbums=function(f,p,h){var _={url:n+"/artists/"+f+"/albums"};return d(_,p,h)},m.prototype.getArtistTopTracks=function(f,p,h,_){var b={url:n+"/artists/"+f+"/top-tracks",params:{country:p}};return d(b,h,_)},m.prototype.getArtistRelatedArtists=function(f,p,h){var _={url:n+"/artists/"+f+"/related-artists"};return d(_,p,h)},m.prototype.getFeaturedPlaylists=function(f,p){var h={url:n+"/browse/featured-playlists"};return d(h,f,p)},m.prototype.getNewReleases=function(f,p){var h={url:n+"/browse/new-releases"};return d(h,f,p)},m.prototype.getCategories=function(f,p){var h={url:n+"/browse/categories"};return d(h,f,p)},m.prototype.getCategory=function(f,p,h){var _={url:n+"/browse/categories/"+f};return d(_,p,h)},m.prototype.getCategoryPlaylists=function(f,p,h){var _={url:n+"/browse/categories/"+f+"/playlists"};return d(_,p,h)},m.prototype.search=function(f,p,h,_){var b={url:n+"/search/",params:{q:f,type:p.join(",")}};return d(b,h,_)},m.prototype.searchAlbums=function(f,p,h){return this.search(f,["album"],p,h)},m.prototype.searchArtists=function(f,p,h){return this.search(f,["artist"],p,h)},m.prototype.searchTracks=function(f,p,h){return this.search(f,["track"],p,h)},m.prototype.searchPlaylists=function(f,p,h){return this.search(f,["playlist"],p,h)},m.prototype.searchShows=function(f,p,h){return this.search(f,["show"],p,h)},m.prototype.searchEpisodes=function(f,p,h){return this.search(f,["episode"],p,h)},m.prototype.getAudioFeaturesForTrack=function(f,p){var h={};return h.url=n+"/audio-features/"+f,d(h,{},p)},m.prototype.getAudioFeaturesForTracks=function(f,p){var h={url:n+"/audio-features",params:{ids:f}};return d(h,{},p)},m.prototype.getAudioAnalysisForTrack=function(f,p){var h={};return h.url=n+"/audio-analysis/"+f,d(h,{},p)},m.prototype.getRecommendations=function(f,p){var h={url:n+"/recommendations"};return d(h,f,p)},m.prototype.getAvailableGenreSeeds=function(f){var p={url:n+"/recommendations/available-genre-seeds"};return d(p,{},f)},m.prototype.getMyDevices=function(f){var p={url:n+"/me/player/devices"};return d(p,{},f)},m.prototype.getMyCurrentPlaybackState=function(f,p){var h={url:n+"/me/player"};return d(h,f,p)},m.prototype.getMyCurrentPlayingTrack=function(f,p){var h={url:n+"/me/player/currently-playing"};return d(h,f,p)},m.prototype.transferMyPlayback=function(f,p,h){var _=p||{};_.device_ids=f;var b={type:"PUT",url:n+"/me/player",postData:_};return d(b,p,h)},m.prototype.play=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(w){w in f&&(_[w]=f[w])});var b={type:"PUT",url:n+"/me/player/play",params:h,postData:_},C=typeof f=="function"?f:{};return d(b,C,p)},m.prototype.queue=function(f,p,h){p=p||{};var _="device_id"in p?{uri:f,device_id:p.device_id}:{uri:f},b={type:"POST",url:n+"/me/player/queue",params:_};return d(b,p,h)},m.prototype.pause=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:h};return d(_,f,p)},m.prototype.skipToNext=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:h};return d(_,f,p)},m.prototype.skipToPrevious=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:h};return d(_,f,p)},m.prototype.seek=function(f,p,h){p=p||{};var _={position_ms:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/seek",params:_};return d(b,p,h)},m.prototype.setRepeat=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/repeat",params:_};return d(b,p,h)},m.prototype.setVolume=function(f,p,h){p=p||{};var _={volume_percent:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/volume",params:_};return d(b,p,h)},m.prototype.setShuffle=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(b,p,h)},m.prototype.getShow=function(f,p,h){var _={};return _.url=n+"/shows/"+f,d(_,p,h)},m.prototype.getShows=function(f,p,h){var _={url:n+"/shows/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getMySavedShows=function(f,p){var h={url:n+"/me/shows"};return d(h,f,p)},m.prototype.addToMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"PUT",postData:f};return d(_,p,h)},m.prototype.removeFromMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:f};return d(_,p,h)},m.prototype.containsMySavedShows=function(f,p,h){var _={url:n+"/me/shows/contains",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getShowEpisodes=function(f,p,h){var _={url:n+"/shows/"+f+"/episodes"};return d(_,p,h)},m.prototype.getEpisode=function(f,p,h){var _={};return _.url=n+"/episodes/"+f,d(_,p,h)},m.prototype.getEpisodes=function(f,p,h){var _={url:n+"/episodes/",params:{ids:f.join(",")}};return d(_,p,h)},m.prototype.getAccessToken=function(){return r},m.prototype.setAccessToken=function(f){r=f},m.prototype.setPromiseImplementation=function(f){var p=!1;try{var h=new f(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)o=f;else throw new Error("Unsupported implementation of Promises/A+")},m}();e.exports=t})(pz);var zI=pz.exports;const dr=mu(zI),bI={name:"ModalDialogTrack",props:{item:{required:!0,type:Object},show:Boolean},emits:["close","play-count-changed"],setup(){return{servicesStore:It()}},data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"&&this.item.media_kind!=="podcast"){const e=new dr;e.setAccessToken(this.servicesStore.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{mark_new(){B.library_track_update(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){B.library_track_update(this.item.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},open_album(){this.item.data_kind==="spotify"&&this.item.media_kind!=="podcast"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},open_album_artist(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},vI={key:0,class:"modal is-active"},CI={class:"modal-content"},wI={class:"card"},SI={class:"card-content"},kI=["textContent"],xI=["textContent"],EI={key:0,class:"buttons"},TI=["textContent"],$I=["textContent"],AI={class:"content is-small"},OI={key:0},PI=["textContent"],II=["textContent"],LI={key:1},NI=["textContent"],DI=["textContent"],RI={key:2},MI=["textContent"],FI=["textContent"],VI={key:3},HI=["textContent"],UI=["textContent"],jI={key:4},BI=["textContent"],WI=["textContent"],qI={key:5},GI=["textContent"],KI=["textContent"],ZI={key:6},YI=["textContent"],XI=["textContent"],JI={key:7},QI=["textContent"],e6=["textContent"],t6=["textContent"],n6=["textContent"],r6=["textContent"],o6={class:"title is-6"},s6=["textContent"],i6={key:8},a6=["textContent"],l6={class:"title is-6"},u6=["textContent"],c6=["textContent"],d6=["textContent"],m6=["textContent"],f6=["textContent"],p6=["textContent"],h6=["textContent"],_6=["textContent"],g6={key:9},y6=["textContent"],z6=["textContent"],b6={class:"card-footer"},v6=["textContent"],C6=["textContent"],w6=["textContent"];function S6(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",vI,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",CI,[u("div",wI,[u("div",SI,[u("p",{class:"title is-4",textContent:y(n.item.title)},null,8,kI),u("p",{class:"subtitle",textContent:y(n.item.artist)},null,8,xI),n.item.media_kind==="podcast"?(x(),I("div",EI,[n.item.play_count>0?(x(),I("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>s.mark_new&&s.mark_new(...a)),textContent:y(e.$t("dialog.track.mark-as-new"))},null,8,TI)):Q("",!0),n.item.play_count===0?(x(),I("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...a)=>s.mark_played&&s.mark_played(...a)),textContent:y(e.$t("dialog.track.mark-as-played"))},null,8,$I)):Q("",!0)])):Q("",!0),u("div",AI,[n.item.album?(x(),I("p",OI,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.album"))},null,8,PI),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_album&&s.open_album(...a)),textContent:y(n.item.album)},null,8,II)])):Q("",!0),n.item.album_artist&&n.item.media_kind!=="audiobook"?(x(),I("p",LI,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.album-artist"))},null,8,NI),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>s.open_album_artist&&s.open_album_artist(...a)),textContent:y(n.item.album_artist)},null,8,DI)])):Q("",!0),n.item.composer?(x(),I("p",RI,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.composer"))},null,8,MI),u("span",{class:"title is-6",textContent:y(n.item.composer)},null,8,FI)])):Q("",!0),n.item.date_released?(x(),I("p",VI,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.release-date"))},null,8,HI),u("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.date_released))},null,8,UI)])):n.item.year?(x(),I("p",jI,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.year"))},null,8,BI),u("span",{class:"title is-6",textContent:y(n.item.year)},null,8,WI)])):Q("",!0),n.item.genre?(x(),I("p",qI,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.genre"))},null,8,GI),u("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:y(n.item.genre)},null,8,KI)])):Q("",!0),n.item.disc_number?(x(),I("p",ZI,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.position"))},null,8,YI),u("span",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,XI)])):Q("",!0),n.item.length_ms?(x(),I("p",JI,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.duration"))},null,8,QI),u("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,e6)])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.path"))},null,8,t6),u("span",{class:"title is-6",textContent:y(n.item.path)},null,8,n6)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.type"))},null,8,r6),u("span",o6,[u("span",{textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,s6)])]),n.item.samplerate?(x(),I("p",i6,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.quality"))},null,8,a6),u("span",l6,[u("span",{textContent:y(n.item.type)},null,8,u6),n.item.samplerate?(x(),I("span",{key:0,textContent:y(e.$t("dialog.track.samplerate",{rate:n.item.samplerate}))},null,8,c6)):Q("",!0),n.item.channels?(x(),I("span",{key:1,textContent:y(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,d6)):Q("",!0),n.item.bitrate?(x(),I("span",{key:2,textContent:y(e.$t("dialog.track.bitrate",{rate:n.item.bitrate}))},null,8,m6)):Q("",!0)])])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.added-on"))},null,8,f6),u("span",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,p6)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.rating"))},null,8,h6),u("span",{class:"title is-6",textContent:y(e.$t("dialog.track.rating-value",{rating:Math.floor(n.item.rating/10)}))},null,8,_6)]),n.item.comment?(x(),I("p",g6,[u("span",{class:"heading",textContent:y(e.$t("dialog.track.comment"))},null,8,y6),u("span",{class:"title is-6",textContent:y(n.item.comment)},null,8,z6)])):Q("",!0)])]),u("footer",b6,[u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.add"))},null,8,v6)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.add-next"))},null,8,C6)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.play"))},null,8,w6)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[9]||(t[9]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const k6=le(bI,[["render",S6]]),x6={name:"ListTracks",components:{ModalDialogTrack:k6},props:{expression:{default:"",type:String},items:{required:!0,type:Object},show_icon:Boolean,show_progress:Boolean,uris:{default:"",type:String}},emits:["play-count-changed"],data(){return{selected_item:{},show_details_modal:!1}},methods:{open_dialog(e){this.selected_item=e,this.show_details_modal=!0},play(e){this.uris?B.player_play_uri(this.uris,!1,this.items.items.indexOf(e)):this.expression?B.player_play_expression(this.expression,!1,this.items.items.indexOf(e)):B.player_play_uri(e.uri,!1)}}},E6={key:0,class:"mt-6 mb-5 py-2"},T6=["id","textContent"],$6=["onClick"],A6={key:0,class:"media-left is-clickable"},O6={class:"media-content is-clickable is-clipped"},P6=["textContent"],I6=["textContent"],L6=["textContent"],N6=["max","value"],D6={class:"media-right"},R6=["onClick"];function M6(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-track");return x(),I(ze,null,[(x(!0),I(ze,null,zt(n.items,l=>(x(),I(ze,{key:l.itemId},[l.isItem?(x(),I("div",{key:1,class:Se(["media is-align-items-center",{"with-progress":n.show_progress}]),onClick:c=>s.play(l.item)},[n.show_icon?(x(),I("figure",A6,[v(i,{class:"icon",name:"file-outline",size:"16"})])):Q("",!0),u("div",O6,[u("h1",{class:Se(["title is-6",{"has-text-grey":l.item.media_kind==="podcast"&&l.item.play_count>0}]),textContent:y(l.item.title)},null,10,P6),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:y(l.item.artist)},null,8,I6),u("h2",{class:"subtitle is-7 has-text-grey",textContent:y(l.item.album)},null,8,L6),n.show_progress&&l.item.seek_ms>0?(x(),I("progress",{key:0,class:"progress is-info",max:l.item.length_ms,value:l.item.seek_ms},null,8,N6)):Q("",!0)]),u("div",D6,[u("a",{onClick:bt(c=>s.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,R6)])],10,$6)):(x(),I("div",E6,[u("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,T6)]))],64))),128)),(x(),ve(qn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=l=>e.$emit("play-count-changed"))},null,8,["item","show"])]))],64)}const Cn=le(x6,[["render",M6],["__scopeId","data-v-84498238"]]),F6={name:"ModalDialogAlbum",components:{CoverArtwork:Ur},props:{item:{required:!0,type:Object},media_kind:{default:"",type:String},show:Boolean},emits:["close","remove-podcast","play-count-changed"],data(){return{artwork_visible:!1}},computed:{media_kind_resolved(){return this.media_kind||this.item.media_kind}},methods:{mark_played(){B.library_album_track_update(this.item.id,{play_count:"played"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},open(){this.$emit("close"),this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.id}}):this.$router.push({name:"music-album",params:{id:this.item.id}})},open_artist(){this.$emit("close"),this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-artist",params:{id:this.item.artist_id}}):this.$router.push({name:"music-artist",params:{id:this.item.artist_id}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},V6={key:0,class:"modal is-active"},H6={class:"modal-content"},U6={class:"card"},j6={class:"card-content"},B6={class:"title is-4"},W6=["textContent"],q6={key:0,class:"buttons"},G6=["textContent"],K6=["textContent"],Z6={class:"content is-small"},Y6={key:0},X6=["textContent"],J6=["textContent"],Q6={key:1},e5=["textContent"],t5=["textContent"],n5={key:2},r5=["textContent"],o5=["textContent"],s5=["textContent"],i5=["textContent"],a5=["textContent"],l5=["textContent"],u5=["textContent"],c5=["textContent"],d5=["textContent"],m5=["textContent"],f5={class:"card-footer"},p5=["textContent"],h5=["textContent"],_5=["textContent"];function g5(e,t,n,r,o,s){const i=O("cover-artwork"),a=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",V6,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",H6,[u("div",U6,[u("div",j6,[v(i,{url:n.item.artwork_url,artist:n.item.artist,album:n.item.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5"},null,8,["url","artist","album"]),u("p",B6,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open&&s.open(...l)),textContent:y(n.item.name)},null,8,W6)]),s.media_kind_resolved==="podcast"?(x(),I("div",q6,[u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>s.mark_played&&s.mark_played(...l)),textContent:y(e.$t("dialog.album.mark-as-played"))},null,8,G6),n.item.data_kind==="url"?(x(),I("a",{key:0,class:"button is-small",onClick:t[3]||(t[3]=l=>e.$emit("remove-podcast")),textContent:y(e.$t("dialog.album.remove-podcast"))},null,8,K6)):Q("",!0)])):Q("",!0),u("div",Z6,[n.item.artist?(x(),I("p",Y6,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.artist"))},null,8,X6),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:y(n.item.artist)},null,8,J6)])):Q("",!0),n.item.date_released?(x(),I("p",Q6,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.release-date"))},null,8,e5),u("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.date_released))},null,8,t5)])):n.item.year?(x(),I("p",n5,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.year"))},null,8,r5),u("span",{class:"title is-6",textContent:y(n.item.year)},null,8,o5)])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.tracks"))},null,8,s5),u("span",{class:"title is-6",textContent:y(n.item.track_count)},null,8,i5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.duration"))},null,8,a5),u("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,l5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.type"))},null,8,u5),u("span",{class:"title is-6",textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,c5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.album.added-on"))},null,8,d5),u("span",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,m5)])])]),u("footer",f5,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.queue_add&&s.queue_add(...l))},[v(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.add"))},null,8,p5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[v(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.add-next"))},null,8,h5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>s.play&&s.play(...l))},[v(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.play"))},null,8,_5)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):Q("",!0)]),_:1})}const bu=le(F6,[["render",g5]]),oh={load(e){return Promise.all([B.library_album(e.params.id),B.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data,{criteria:[{field:"disc_number",type:Number}],index:{field:"disc_number",type:Number}}),e.tracks.indices.length<2&&e.tracks.group()}},y5={name:"PageAlbum",components:{ContentWithHero:zu,CoverArtwork:Ur,ListTracks:Cn,ModalDialogAlbum:bu},beforeRouteEnter(e,t,n){oh.load(e).then(r=>{n(o=>oh.set(o,r))})},data(){return{album:{},show_details_modal:!1,tracks:new Ee}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},play(){B.player_play_uri(this.album.uri,!0)}}},z5=["textContent"],b5={class:"subtitle is-6 has-text-link"},v5=["textContent"],C5={class:"buttons fd-is-centered-mobile mt-5"},w5=["textContent"],S5=["textContent"];function k5(e,t,n,r,o,s){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),c=O("modal-dialog-album"),d=O("content-with-hero");return x(),I("div",null,[v(d,null,{"heading-left":N(()=>[u("h1",{class:"title is-5",textContent:y(o.album.name)},null,8,z5),u("h2",b5,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:y(o.album.artist)},null,8,v5)]),u("div",C5,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.album.shuffle"))},null,8,w5)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":N(()=>[v(a,{url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>o.show_details_modal=!0)},null,8,["url","artist","album"])]),content:N(()=>[u("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.album.track-count",{count:o.album.track_count}))},null,8,S5),v(l,{items:o.tracks,uris:o.album.uri},null,8,["items","uris"]),v(c,{item:o.album,show:o.show_details_modal,onClose:t[4]||(t[4]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const x5=le(y5,[["render",k5]]),E5={name:"ModalDialogTrackSpotify",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open_album(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.item.album.id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},T5={key:0,class:"modal is-active"},$5={class:"modal-content"},A5={class:"card"},O5={class:"card-content"},P5=["textContent"],I5=["textContent"],L5={class:"content is-small"},N5=["textContent"],D5=["textContent"],R5=["textContent"],M5=["textContent"],F5=["textContent"],V5=["textContent"],H5=["textContent"],U5=["textContent"],j5=["textContent"],B5=["textContent"],W5=["textContent"],q5=["textContent"],G5={class:"card-footer"},K5=["textContent"],Z5=["textContent"],Y5=["textContent"];function X5(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",T5,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",$5,[u("div",A5,[u("div",O5,[u("p",{class:"title is-4",textContent:y(n.item.name)},null,8,P5),u("p",{class:"subtitle",textContent:y(n.item.artists[0].name)},null,8,I5),u("div",L5,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.album"))},null,8,N5),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_album&&s.open_album(...a)),textContent:y(n.item.album.name)},null,8,D5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.album-artist"))},null,8,R5),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:y(n.item.artists[0].name)},null,8,M5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.release-date"))},null,8,F5),u("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.album.release_date))},null,8,V5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.position"))},null,8,H5),u("span",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,U5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.duration"))},null,8,j5),u("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.duration_ms))},null,8,B5)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.path"))},null,8,W5),u("span",{class:"title is-6",textContent:y(n.item.uri)},null,8,q5)])])]),u("footer",G5,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.add"))},null,8,K5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.add-next"))},null,8,Z5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.play"))},null,8,Y5)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const J5=le(E5,[["render",X5]]),Q5={name:"ListTracksSpotify",components:{ModalDialogTrackSpotify:J5},props:{context_uri:{default:"",type:String},items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open_dialog(e){this.selected_item=e,this.show_details_modal=!0},play(e){e.is_playable&&B.player_play_uri(this.context_uri||e.uri,!1,e.position||0)}}},e4=["onClick"],t4=["textContent"],n4=["textContent"],r4=["textContent"],o4={key:0,class:"subtitle is-7"},s4=["textContent"],i4=["textContent"],a4={class:"media-right"},l4=["onClick"];function u4(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-track-spotify");return x(),I(ze,null,[(x(!0),I(ze,null,zt(n.items,l=>{var c;return x(),I("div",{key:l.id,class:"media is-align-items-center"},[u("div",{class:Se(["media-content is-clipped",{"is-clickable":l.is_playable,"fd-is-not-allowed":!l.is_playable}]),onClick:d=>s.play(l)},[u("h1",{class:Se(["title is-6",{"has-text-grey-light":!l.is_playable}]),textContent:y(l.name)},null,10,t4),u("h2",{class:Se(["subtitle is-7 has-text-weight-bold",{"has-text-grey":l.is_playable,"has-text-grey-light":!l.is_playable}]),textContent:y(l.artists[0].name)},null,10,n4),u("h2",{class:"subtitle is-7 has-text-grey",textContent:y(l.album.name)},null,8,r4),l.is_playable?Q("",!0):(x(),I("h2",o4,[t[1]||(t[1]=Mt(" (")),u("span",{textContent:y(e.$t("list.spotify.not-playable-track"))},null,8,s4),(c=l.restrictions)!=null&&c.reason?(x(),I("span",{key:0,textContent:y(e.$t("list.spotify.restriction-reason",{reason:l.restrictions.reason}))},null,8,i4)):Q("",!0),t[2]||(t[2]=Mt(") "))]))],10,e4),u("div",a4,[u("a",{onClick:bt(d=>s.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,l4)])])}),128)),(x(),ve(qn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const vl=le(Q5,[["render",u4]]),c4={name:"ModalDialogAlbumSpotify",components:{CoverArtwork:Ur},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],data(){return{artwork_visible:!1}},methods:{artwork_error(){this.artwork_visible=!1},artwork_loaded(){this.artwork_visible=!0},artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)||""},open(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.item.id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},d4={key:0,class:"modal is-active"},m4={class:"modal-content"},f4={class:"card"},p4={class:"card-content"},h4={class:"title is-4"},_4=["textContent"],g4={class:"content is-small"},y4=["textContent"],z4=["textContent"],b4=["textContent"],v4=["textContent"],C4=["textContent"],w4=["textContent"],S4={class:"card-footer"},k4=["textContent"],x4=["textContent"],E4=["textContent"];function T4(e,t,n,r,o,s){const i=O("cover-artwork"),a=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",d4,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",m4,[u("div",f4,[u("div",p4,[v(i,{url:s.artwork_url(n.item),artist:n.item.artist,album:n.item.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5",onLoad:s.artwork_loaded,onError:s.artwork_error},null,8,["url","artist","album","onLoad","onError"]),u("p",h4,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open&&s.open(...l)),textContent:y(n.item.name)},null,8,_4)]),u("div",g4,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.album.album-artist"))},null,8,y4),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:y(n.item.artists[0].name)},null,8,z4)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.album.release-date"))},null,8,b4),u("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.release_date))},null,8,v4)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.album.type"))},null,8,C4),u("span",{class:"title is-6",textContent:y(n.item.album_type)},null,8,w4)])])]),u("footer",S4,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...l)=>s.queue_add&&s.queue_add(...l))},[v(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.add"))},null,8,k4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[v(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.add-next"))},null,8,x4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.play&&s.play(...l))},[v(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.play"))},null,8,E4)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=l=>e.$emit("close"))})])):Q("",!0)]),_:1})}const hz=le(c4,[["render",T4]]),sh={load(e){const t=new dr;return t.setAccessToken(It().spotify.webapi_token),t.getAlbum(e.params.id,{market:It().spotify.webapi_country})},set(e,t){e.album=t}},$4={name:"PageAlbumSpotify",components:{ContentWithHero:zu,CoverArtwork:Ur,ListTracksSpotify:vl,ModalDialogAlbumSpotify:hz},beforeRouteEnter(e,t,n){sh.load(e).then(r=>{n(o=>sh.set(o,r))})},setup(){return{servicesStore:It()}},data(){return{album:{artists:[{}],tracks:{}},show_details_modal:!1}},computed:{tracks(){const{album:e}=this;return e.tracks.total?e.tracks.items.map(t=>({...t,album:e})):{}}},methods:{artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)??""},open_artist(){this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},play(){this.show_details_modal=!1,B.player_play_uri(this.album.uri,!0)}}},A4=["textContent"],O4={class:"subtitle is-6 has-text-link"},P4=["textContent"],I4={class:"buttons fd-is-centered-mobile mt-5"},L4=["textContent"],N4=["textContent"];function D4(e,t,n,r,o,s){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks-spotify"),c=O("modal-dialog-album-spotify"),d=O("content-with-hero");return x(),I("div",null,[v(d,null,{"heading-left":N(()=>[u("h1",{class:"title is-5",textContent:y(o.album.name)},null,8,A4),u("h2",O4,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:y(o.album.artists[0].name)},null,8,P4)]),u("div",I4,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.spotify.album.shuffle"))},null,8,L4)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":N(()=>[v(a,{url:s.artwork_url(o.album),artist:o.album.artists[0].name,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>o.show_details_modal=!0)},null,8,["url","artist","album"])]),content:N(()=>[u("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.spotify.album.track-count",{count:o.album.tracks.total}))},null,8,N4),v(l,{items:s.tracks,context_uri:o.album.uri},null,8,["items","context_uri"]),v(c,{item:o.album,show:o.show_details_modal,onClose:t[4]||(t[4]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const R4=le($4,[["render",D4]]),M4={name:"ContentWithHeading",data(){return{options_visible:!1}},computed:{icon_name(){return this.options_visible?"chevron-up":"chevron-down"},position(){return{hash:this.options_visible?"#top":"#app",query:this.$route.query}}},mounted(){this.$slots.options&&(this.observer=new IntersectionObserver(this.onElementObserved,{rootMargin:"-82px 0px 0px 0px",threshold:1}),this.observer.observe(this.$refs.options))},methods:{onElementObserved(e){e.forEach(({isIntersecting:t})=>{this.options_visible=t})},visibilityChanged(e){this.options_visible=e}}},F4={class:"section"},V4={class:"container"},H4={class:"columns is-centered"},U4={class:"column is-four-fifths"},j4={key:0},B4={ref:"options",style:{height:"1px"}},W4={class:"buttons is-centered mt-4 mb-2"},q4={id:"top",class:"level is-clipped"},G4={class:"level-left is-flex-shrink-1"},K4={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},Z4={class:"level-right has-text-centered-mobile"},Y4={class:"mt-4"};function X4(e,t,n,r,o,s){const i=O("mdicon"),a=O("router-link");return x(),I("section",F4,[u("div",V4,[u("div",H4,[u("div",U4,[e.$slots.options?(x(),I("section",j4,[u("div",B4,null,512),wt(e.$slots,"options"),u("nav",W4,[v(a,{class:"button is-small is-white",to:s.position},{default:N(()=>[v(i,{class:"icon is-small",name:s.icon_name,size:"16"},null,8,["name"])]),_:1},8,["to"])])])):Q("",!0),u("div",{class:Se({"is-full-height":e.$slots.options})},[u("nav",q4,[u("div",G4,[u("div",K4,[u("div",null,[wt(e.$slots,"heading-left")])])]),u("div",Z4,[wt(e.$slots,"heading-right")])]),wt(e.$slots,"content"),u("div",Y4,[wt(e.$slots,"footer")])],2)])])])])}const et=le(M4,[["render",X4]]),J4={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(e=>e.id===this.value)}}},methods:{deactivate(){this.active=!1},select(e){this.active=!1,this.$emit("update:value",e.id)}}},Q4={class:"dropdown-trigger"},eL=["textContent"],tL={id:"dropdown",class:"dropdown-menu",role:"menu"},nL={class:"dropdown-content"},rL=["onClick","textContent"];function oL(e,t,n,r,o,s){const i=O("mdicon"),a=Md("click-away");return gt((x(),I("div",{class:Se(["dropdown",{"is-active":o.active}])},[u("div",Q4,[u("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:t[0]||(t[0]=l=>o.active=!o.active)},[u("span",{textContent:y(s.option.name)},null,8,eL),v(i,{class:"icon",name:"chevron-down",size:"16"})])]),u("div",tL,[u("div",nL,[(x(!0),I(ze,null,zt(n.options,l=>(x(),I("a",{key:l.id,class:Se(["dropdown-item",{"is-active":n.value===l.id}]),onClick:c=>s.select(l),textContent:y(l.name)},null,10,rL))),128))])])],2)),[[a,s.deactivate]])}const Bo=le(J4,[["render",oL]]),sL={name:"IndexButtonList",props:{indices:{required:!0,type:Array}}},iL={class:"buttons is-centered mb-4 fd-is-square"};function aL(e,t,n,r,o,s){const i=O("router-link");return x(),I("section",null,[u("nav",iL,[(x(!0),I(ze,null,zt(n.indices,a=>(x(),ve(i,{key:a,class:"button is-small",to:{hash:`#index_${a}`,query:e.$route.query}},{default:N(()=>[Mt(y(a),1)]),_:2},1032,["to"]))),128))])])}const mr=le(sL,[["render",aL]]),lL={name:"ListAlbums",components:{CoverArtwork:Ur,ModalDialog:am,ModalDialogAlbum:bu},props:{items:{required:!0,type:Object},media_kind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],setup(){return{settingsStore:cr()}},data(){return{rss_playlist_to_remove:{},selected_item:{},show_details_modal:!1,show_remove_podcast_modal:!1}},computed:{media_kind_resolved(){return this.media_kind||this.selected_item.media_kind}},methods:{open(e){this.selected_item=e,this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:e.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:e.id}}):this.$router.push({name:"music-album",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},open_remove_podcast_dialog(){B.library_album_tracks(this.selected_item.id,{limit:1}).then(({data:e})=>{B.library_track_playlists(e.items[0].id).then(({data:t})=>{[this.rss_playlist_to_remove]=t.items.filter(n=>n.type==="rss"),this.show_remove_podcast_modal=!0,this.show_details_modal=!1})})},play_count_changed(){this.$emit("play-count-changed")},remove_podcast(){this.show_remove_podcast_modal=!1,B.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},uL={key:0,class:"mt-6 mb-5 py-2"},cL=["id","textContent"],dL=["onClick"],mL={key:0,class:"media-left"},fL={class:"media-content is-clickable is-clipped"},pL=["textContent"],hL=["textContent"],_L=["textContent"],gL={class:"media-right"},yL=["onClick"],zL=["textContent"],bL={class:"is-size-7"},vL=["textContent"],CL=["textContent"];function wL(e,t,n,r,o,s){const i=O("cover-artwork"),a=O("mdicon"),l=O("modal-dialog-album"),c=O("modal-dialog");return x(),I(ze,null,[(x(!0),I(ze,null,zt(n.items,d=>(x(),I(ze,{key:d.itemId},[d.isItem?(x(),I("div",{key:1,class:"media is-align-items-center",onClick:m=>s.open(d.item)},[r.settingsStore.show_cover_artwork_in_album_lists?(x(),I("div",mL,[v(i,{url:d.item.artwork_url,artist:d.item.artist,album:d.item.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["url","artist","album"])])):Q("",!0),u("div",fL,[u("div",null,[u("h1",{class:"title is-6",textContent:y(d.item.name)},null,8,pL),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:y(d.item.artist)},null,8,hL),d.item.date_released&&d.item.media_kind==="music"?(x(),I("h2",{key:0,class:"subtitle is-7 has-text-grey",textContent:y(e.$filters.date(d.item.date_released))},null,8,_L)):Q("",!0)])]),u("div",gL,[u("a",{onClick:bt(m=>s.open_dialog(d.item),["prevent","stop"])},[v(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,yL)])],8,dL)):(x(),I("div",uL,[u("span",{id:`index_${d.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(d.index)},null,8,cL)]))],64))),128)),(x(),ve(qn,{to:"#app"},[v(l,{item:o.selected_item,media_kind:n.media_kind,show:o.show_details_modal,onClose:t[0]||(t[0]=d=>o.show_details_modal=!1),onRemovePodcast:t[1]||(t[1]=d=>s.open_remove_podcast_dialog()),onPlayCountChanged:t[2]||(t[2]=d=>s.play_count_changed())},null,8,["item","media_kind","show"]),v(c,{close_action:e.$t("page.podcast.cancel"),delete_action:e.$t("page.podcast.remove"),show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),onClose:t[3]||(t[3]=d=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":N(()=>[u("p",{textContent:y(e.$t("list.albums.info-1"))},null,8,zL),u("p",bL,[t[4]||(t[4]=Mt(" (")),u("span",{textContent:y(e.$t("list.albums.info-2"))},null,8,vL),u("b",{textContent:y(o.rss_playlist_to_remove.name)},null,8,CL),t[5]||(t[5]=Mt(") "))])]),_:1},8,["close_action","delete_action","show","title","onDelete"])]))],64)}const xn=le(lL,[["render",wL]]),SL={name:"TabsMusic",setup(){return{servicesStore:It()}},computed:{spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},kL={class:"section fd-tabs-section"},xL={class:"container"},EL={class:"columns is-centered"},TL={class:"column is-four-fifths"},$L={class:"tabs is-centered is-small"},AL=["onClick","onKeypress"],OL=["textContent"],PL=["onClick","onKeypress"],IL=["textContent"],LL=["onClick","onKeypress"],NL=["textContent"],DL=["onClick","onKeypress"],RL=["textContent"],ML=["onClick","onKeypress"],FL=["textContent"],VL=["onClick","onKeypress"],HL=["textContent"];function UL(e,t,n,r,o,s){const i=O("mdicon"),a=O("router-link");return x(),I("section",kL,[u("div",xL,[u("div",EL,[u("div",TL,[u("div",$L,[u("ul",null,[v(a,{to:{name:"music-history"},custom:""},{default:N(({navigate:l,isActive:c})=>[u("li",{class:Se({"is-active":c})},[u("a",{onClick:l,onKeypress:gn(l,["enter"])},[v(i,{class:"icon is-small",name:"history",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.history"))},null,8,OL)],40,AL)],2)]),_:1}),v(a,{to:{name:"music-artists"},custom:""},{default:N(({navigate:l,isActive:c})=>[u("li",{class:Se({"is-active":c})},[u("a",{onClick:l,onKeypress:gn(l,["enter"])},[v(i,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.artists"))},null,8,IL)],40,PL)],2)]),_:1}),v(a,{to:{name:"music-albums"},custom:""},{default:N(({navigate:l,isActive:c})=>[u("li",{class:Se({"is-active":c})},[u("a",{onClick:l,onKeypress:gn(l,["enter"])},[v(i,{class:"icon is-small",name:"album",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.albums"))},null,8,NL)],40,LL)],2)]),_:1}),v(a,{to:{name:"music-genres"},custom:""},{default:N(({navigate:l,isActive:c})=>[u("li",{class:Se({"is-active":c})},[u("a",{onClick:l,onKeypress:gn(l,["enter"])},[v(i,{class:"icon is-small",name:"speaker",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.genres"))},null,8,RL)],40,DL)],2)]),_:1}),v(a,{to:{name:"music-composers"},custom:""},{default:N(({navigate:l,isActive:c})=>[u("li",{class:Se({"is-active":c})},[u("a",{onClick:l,onKeypress:gn(l,["enter"])},[v(i,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.composers"))},null,8,FL)],40,ML)],2)]),_:1}),s.spotify_enabled?(x(),ve(a,{key:0,to:{name:"music-spotify"},custom:""},{default:N(({navigate:l,isActive:c})=>[u("li",{class:Se({"is-active":c})},[u("a",{onClick:l,onKeypress:gn(l,["enter"])},[v(i,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.spotify"))},null,8,HL)],40,VL)],2)]),_:1})):Q("",!0)])])])])])])}const kr=le(SL,[["render",UL]]),ih={load(e){return B.library_albums("music")},set(e,t){e.albums_list=new Ee(t.data)}},jL={name:"PageAlbums",components:{ContentWithHeading:et,ControlDropdown:Bo,IndexButtonList:mr,ListAlbums:xn,TabsMusic:kr},beforeRouteEnter(e,t,n){ih.load(e).then(r=>{n(o=>ih.set(o,r))})},setup(){return{uiStore:wn(),servicesStore:It()}},data(){return{albums_list:new Ee,groupings:[{id:1,name:this.$t("page.albums.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("page.albums.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}},{id:3,name:this.$t("page.albums.sort.recently-released"),options:{criteria:[{field:"date_released",order:-1,type:Date}],index:{field:"date_released",type:Date}}},{id:4,name:this.$t("page.albums.sort.artist-name"),options:{criteria:[{field:"artist",type:String},{field:"name_sort",type:String}],index:{field:"artist",type:String}}},{id:5,name:this.$t("page.albums.sort.artist-date"),options:{criteria:[{field:"artist",type:String},{field:"date_released",type:Date}],index:{field:"artist",type:String}}}]}},computed:{albums(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_singles||t.track_count>2,t=>!this.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e)},hide_singles:{get(){return this.uiStore.hide_singles},set(e){this.uiStore.hide_singles=e}},hide_spotify:{get(){return this.uiStore.hide_spotify},set(e){this.uiStore.hide_spotify=e}},selected_grouping_id:{get(){return this.uiStore.albums_sort},set(e){this.uiStore.albums_sort=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},BL={class:"fd-page-with-tabs"},WL={class:"columns"},qL={class:"column"},GL=["textContent"],KL={class:"field"},ZL={class:"control"},YL=["textContent"],XL=["textContent"],JL={key:0,class:"field"},QL={class:"control"},eN=["textContent"],tN=["textContent"],nN={class:"column"},rN=["textContent"],oN=["textContent"],sN=["textContent"];function iN(e,t,n,r,o,s){const i=O("tabs-music"),a=O("index-button-list"),l=O("control-dropdown"),c=O("list-albums"),d=O("content-with-heading");return x(),I("div",BL,[v(i),v(d,null,{options:N(()=>[v(a,{indices:s.albums.indices},null,8,["indices"]),u("div",WL,[u("div",qL,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.albums.filter"))},null,8,GL),u("div",KL,[u("div",ZL,[gt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=m=>s.hide_singles=m),type:"checkbox",class:"switch is-rounded"},null,512),[[jn,s.hide_singles]]),u("label",{for:"switchHideSingles",textContent:y(e.$t("page.albums.hide-singles"))},null,8,YL)]),u("p",{class:"help",textContent:y(e.$t("page.albums.hide-singles-help"))},null,8,XL)]),s.spotify_enabled?(x(),I("div",JL,[u("div",QL,[gt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=m=>s.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[jn,s.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:y(e.$t("page.albums.hide-spotify"))},null,8,eN)]),u("p",{class:"help",textContent:y(e.$t("page.albums.hide-spotify-help"))},null,8,tN)])):Q("",!0)]),u("div",nN,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.albums.sort.title"))},null,8,rN),v(l,{value:s.selected_grouping_id,"onUpdate:value":t[2]||(t[2]=m=>s.selected_grouping_id=m),options:o.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.albums.title"))},null,8,oN),u("p",{class:"heading",textContent:y(e.$t("page.albums.count",{count:s.albums.count}))},null,8,sN)]),"heading-right":N(()=>t[3]||(t[3]=[])),content:N(()=>[v(c,{items:s.albums},null,8,["items"])]),_:1})])}const aN=le(jL,[["render",iN]]),lN={name:"ModalDialogArtist",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"music-artist",params:{id:this.item.id}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},uN={key:0,class:"modal is-active"},cN={class:"modal-content"},dN={class:"card"},mN={class:"card-content"},fN={class:"title is-4"},pN=["textContent"],hN={class:"content is-small"},_N=["textContent"],gN=["textContent"],yN=["textContent"],zN=["textContent"],bN=["textContent"],vN=["textContent"],CN=["textContent"],wN=["textContent"],SN={class:"card-footer"},kN=["textContent"],xN=["textContent"],EN=["textContent"];function TN(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",uN,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",cN,[u("div",dN,[u("div",mN,[u("p",fN,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,pN)]),u("div",hN,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.artist.albums"))},null,8,_N),u("span",{class:"title is-6",textContent:y(n.item.album_count)},null,8,gN)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.artist.tracks"))},null,8,yN),u("span",{class:"title is-6",textContent:y(n.item.track_count)},null,8,zN)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.artist.type"))},null,8,bN),u("span",{class:"title is-6",textContent:y(e.$t(`data.kind.${n.item.data_kind}`))},null,8,vN)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.artist.added-on"))},null,8,CN),u("span",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,wN)])])]),u("footer",SN,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.add"))},null,8,kN)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.add-next"))},null,8,xN)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.play"))},null,8,EN)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const vu=le(lN,[["render",TN]]),ah={load(e){return Promise.all([B.library_artist(e.params.id),B.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums_list=new Ee(t[1].data)}},$N={name:"PageArtist",components:{ContentWithHeading:et,ControlDropdown:Bo,ListAlbums:xn,ModalDialogArtist:vu},beforeRouteEnter(e,t,n){ah.load(e).then(r=>{n(o=>ah.set(o,r))})},setup(){return{servicesStore:It(),uiStore:wn()}},data(){return{albums_list:new Ee,artist:{},groupings:[{id:1,name:this.$t("page.artist.sort.name"),options:{criteria:[{field:"name_sort",type:String}]}},{id:2,name:this.$t("page.artist.sort.release-date"),options:{criteria:[{field:"date_released",type:Date}]}}],show_details_modal:!1}},computed:{albums(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e)},hide_spotify:{get(){return this.uiStore.hide_spotify},set(e){this.uiStore.hide_spotify=e}},selected_grouping_id:{get(){return this.uiStore.artist_albums_sort},set(e){this.uiStore.artist_albums_sort=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid},track_count(){return[...this.albums].reduce((e,t)=>e+(t.isItem?t.item.track_count:0),0)}},methods:{open_tracks(){this.$router.push({name:"music-artist-tracks",params:{id:this.artist.id}})},play(){B.player_play_uri(this.albums.items.map(e=>e.uri).join(),!0)}}},AN={class:"columns"},ON={class:"column"},PN=["textContent"],IN={key:0,class:"field"},LN={class:"control"},NN=["textContent"],DN=["textContent"],RN={class:"column"},MN=["textContent"],FN=["textContent"],VN={class:"buttons is-centered"},HN=["textContent"],UN={class:"heading has-text-centered-mobile"},jN=["textContent"],BN=["textContent"];function WN(e,t,n,r,o,s){const i=O("control-dropdown"),a=O("mdicon"),l=O("list-albums"),c=O("modal-dialog-artist"),d=O("content-with-heading");return x(),I("div",null,[v(d,null,{options:N(()=>[u("div",AN,[u("div",ON,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.filter"))},null,8,PN),s.spotify_enabled?(x(),I("div",IN,[u("div",LN,[gt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=m=>s.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[jn,s.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:y(e.$t("page.artist.hide-spotify"))},null,8,NN)]),u("p",{class:"help",textContent:y(e.$t("page.artist.hide-spotify-help"))},null,8,DN)])):Q("",!0)]),u("div",RN,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.sort.title"))},null,8,MN),v(i,{value:s.selected_grouping_id,"onUpdate:value":t[1]||(t[1]=m=>s.selected_grouping_id=m),options:o.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(o.artist.name)},null,8,FN)]),"heading-right":N(()=>[u("div",VN,[u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[v(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...m)=>s.play&&s.play(...m))},[v(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.artist.shuffle"))},null,8,HN)])])]),content:N(()=>[u("p",UN,[u("span",{textContent:y(e.$t("page.artist.album-count",{count:s.albums.count}))},null,8,jN),t[6]||(t[6]=u("span",null," | ",-1)),u("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...m)=>s.open_tracks&&s.open_tracks(...m)),textContent:y(e.$t("page.artist.track-count",{count:s.track_count}))},null,8,BN)]),v(l,{items:s.albums},null,8,["items"]),v(c,{item:o.artist,show:o.show_details_modal,onClose:t[5]||(t[5]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const qN=le($N,[["render",WN]]),GN={name:"ListAlbumsSpotify",components:{CoverArtwork:Ur,ModalDialogAlbumSpotify:hz},props:{items:{required:!0,type:Object}},setup(){return{settingsStore:cr()}},data(){return{selected_item:{},show_details_modal:!1}},methods:{artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)??""},open(e){this.$router.push({name:"music-spotify-album",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},KN=["onClick"],ZN={key:0,class:"media-left is-clickable"},YN={class:"media-content is-clickable is-clipped"},XN=["textContent"],JN=["textContent"],QN=["textContent"],eD={class:"media-right"},tD=["onClick"];function nD(e,t,n,r,o,s){const i=O("cover-artwork"),a=O("mdicon"),l=O("modal-dialog-album-spotify");return x(),I(ze,null,[(x(!0),I(ze,null,zt(n.items,c=>{var d;return x(),I("div",{key:c.id,class:"media is-align-items-center",onClick:m=>s.open(c)},[r.settingsStore.show_cover_artwork_in_album_lists?(x(),I("div",ZN,[v(i,{url:s.artwork_url(c),artist:c.artist,album:c.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["url","artist","album"])])):Q("",!0),u("div",YN,[u("h1",{class:"title is-6",textContent:y(c.name)},null,8,XN),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:y((d=c.artists[0])==null?void 0:d.name)},null,8,JN),u("h2",{class:"subtitle is-7 has-text-grey",textContent:y([c.album_type,e.$filters.date(c.release_date)].join(", "))},null,8,QN)]),u("div",eD,[u("a",{onClick:bt(m=>s.open_dialog(c),["prevent","stop"])},[v(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,tD)])],8,KN)}),128)),(x(),ve(qn,{to:"#app"},[v(l,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=c=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Ui=le(GN,[["render",nD]]),rD={name:"ModalDialogArtistSpotify",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.id}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},oD={key:0,class:"modal is-active"},sD={class:"modal-content"},iD={class:"card"},aD={class:"card-content"},lD={class:"title is-4"},uD=["textContent"],cD={class:"content is-small"},dD=["textContent"],mD=["textContent"],fD=["textContent"],pD=["textContent"],hD={class:"card-footer"},_D=["textContent"],gD=["textContent"],yD=["textContent"];function zD(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",oD,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",sD,[u("div",iD,[u("div",aD,[u("p",lD,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,uD)]),u("div",cD,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.artist.popularity"))},null,8,dD),u("span",{class:"title is-6",textContent:y([n.item.popularity,n.item.followers.total].join(" / "))},null,8,mD)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.artist.genres"))},null,8,fD),u("span",{class:"title is-6",textContent:y(n.item.genres.join(", "))},null,8,pD)])])]),u("footer",hD,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.add"))},null,8,_D)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.add-next"))},null,8,gD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.play"))},null,8,yD)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const _z=le(rD,[["render",zD]]);function bD(e){return e.scrollHeight}function vD(e){return e.scrollWidth}function CD(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function wD(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const SD=u("div",{class:"loading"},"Loading...",-1),kD=u("div",{class:"no-more"},"No more.",-1),xD=u("div",{class:"no-results"},"No results.",-1),ED=u("div",{class:"error"},"Error.",-1),vm=Vr({__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(e,{emit:t}){const n=e,r=Fn();let o=Fn("loading"),s=Fn(n.isInitial),i=0;function a(){Uo(()=>{var g,z;n.position==="top"?CD((g=n.container)!=null?g:document.documentElement,i):n.position==="left"&&wD((z=n.container)!=null?z:document.documentElement,i)})}function l(g,z){return g===0?s.value?(d(),"no-results"):(c(),"no-more"):g!==void 0&&z!==void 0&&g<z?(c(),"no-more"):(s.value=!1,a(),b(),"loading")}function c(){s.value=!1,h("no-more"),a()}function d(){s.value=!1,h("no-results"),a()}function m(){s.value=!1,h("error"),a()}function f(){s.value=!0,h("loading"),b()}function p(){h("loading"),b()}function h(g){o.value=g}function _(){r.value&&w.unobserve(r.value)}function b(){r.value&&w.observe(r.value)}function C(){return new IntersectionObserver(([g])=>{var z,S;g.isIntersecting&&(n.position==="top"?i=bD((z=n.container)!=null?z:document.documentElement):n.position==="left"&&(i=vD((S=n.container)!=null?S:document.documentElement)),_(),n.load({loaded:l,noMore:c,noResults:d,error:m},{isFirstLoad:s.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let w;return typeof IntersectionObserver<"u"&&ag(()=>{w&&_(),w=C(),b()},{flush:"post"}),Tn(()=>n.isInitial,g=>{g&&f()}),Tn(s,g=>{g||t("update:isInitial",!1)}),(g,z)=>(x(),I("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[zn(o)==="loading"?wt(g.$slots,"loading",Js(us({key:0},{isFirstLoad:zn(s)})),()=>[SD]):zn(o)==="no-more"?wt(g.$slots,"no-more",Js(us({key:1},{retry:p})),()=>[kD]):zn(o)==="no-results"?wt(g.$slots,"no-results",Js(us({key:2},{retry:p})),()=>[xD]):zn(o)==="error"?wt(g.$slots,"error",Js(us({key:3},{retry:p})),()=>[ED]):Q("",!0)],512))}}),md=50,lh={load(e){const t=new dr;return t.setAccessToken(It().spotify.webapi_token),Promise.all([t.getArtist(e.params.id),t.getArtistAlbums(e.params.id,{include_groups:"album,single",limit:md,market:It().spotify.webapi_country,offset:0})])},set(e,t){e.artist=t.shift(),e.albums=[],e.total=0,e.offset=0,e.append_albums(t.shift())}},TD={name:"PageArtistSpotify",components:{ContentWithHeading:et,ListAlbumsSpotify:Ui,ModalDialogArtistSpotify:_z,VueEternalLoading:vm},beforeRouteEnter(e,t,n){lh.load(e).then(r=>{n(o=>lh.set(o,r))})},setup(){return{servicesStore:It()}},data(){return{albums:[],artist:{},offset:0,show_details_modal:!1,total:0}},methods:{append_albums(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},load_next({loaded:e}){const t=new dr;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{include_groups:"album,single",limit:md,offset:this.offset}).then(n=>{this.append_albums(n),e(n.items.length,md)})},play(){this.show_album_details_modal=!1,B.player_play_uri(this.artist.uri,!0)}}},$D=["textContent"],AD={class:"buttons is-centered"},OD=["textContent"],PD=["textContent"],ID={class:"columns is-centered"},LD={class:"column has-text-centered"};function ND(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-albums-spotify"),l=O("VueEternalLoading"),c=O("modal-dialog-artist-spotify"),d=O("content-with-heading");return x(),I("div",null,[v(d,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(o.artist.name)},null,8,$D)]),"heading-right":N(()=>[u("div",AD,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.spotify.artist.shuffle"))},null,8,OD)])])]),content:N(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.spotify.artist.album-count",{count:o.total}))},null,8,PD),v(a,{items:o.albums},null,8,["items"]),o.offset<o.total?(x(),ve(l,{key:0,load:s.load_next},{loading:N(()=>[u("div",ID,[u("div",LD,[v(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":N(()=>t[3]||(t[3]=[u("br",null,null,-1)])),"no-results":N(()=>t[4]||(t[4]=[u("br",null,null,-1)])),_:1},8,["load"])):Q("",!0),v(c,{item:o.artist,show:o.show_details_modal,onClose:t[2]||(t[2]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const DD=le(TD,[["render",ND]]),uh={load(e){return Promise.all([B.library_artist(e.params.id),B.library_artist_tracks(e.params.id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new Ee(t[1].data.tracks)}},RD={name:"PageArtistTracks",components:{ContentWithHeading:et,ControlDropdown:Bo,IndexButtonList:mr,ListTracks:Cn,ModalDialogArtist:vu},beforeRouteEnter(e,t,n){uh.load(e).then(r=>{n(o=>uh.set(o,r))})},setup(){return{servicesStore:It(),uiStore:wn()}},data(){return{artist:{},groupings:[{id:1,name:this.$t("page.artist.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.artist.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],show_details_modal:!1,tracks_list:new Ee}},computed:{album_count(){return new Set([...this.tracks].filter(e=>e.isItem).map(e=>e.item.album_id)).size},hide_spotify:{get(){return this.uiStore.hide_spotify},set(e){this.uiStore.hide_spotify=e}},selected_grouping_id:{get(){return this.uiStore.artist_tracks_sort},set(e){this.uiStore.artist_tracks_sort=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid},track_uris(){return this.tracks_list.items.map(e=>e.uri).join()},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_spotify||t.data_kind!=="spotify"],this.tracks_list.group(e)}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.artist.id}})},play(){B.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(),!0)}}},MD={class:"columns"},FD={class:"column"},VD=["textContent"],HD={key:0,class:"field"},UD={class:"control"},jD=["textContent"],BD=["textContent"],WD={class:"column"},qD=["textContent"],GD=["textContent"],KD={class:"buttons is-centered"},ZD=["textContent"],YD={class:"heading has-text-centered-mobile"},XD=["textContent"],JD=["textContent"];function QD(e,t,n,r,o,s){const i=O("index-button-list"),a=O("control-dropdown"),l=O("mdicon"),c=O("list-tracks"),d=O("modal-dialog-artist"),m=O("content-with-heading");return x(),I("div",null,[v(m,null,{options:N(()=>[v(i,{indices:s.tracks.indices},null,8,["indices"]),u("div",MD,[u("div",FD,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.filter"))},null,8,VD),s.spotify_enabled?(x(),I("div",HD,[u("div",UD,[gt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=f=>s.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[jn,s.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:y(e.$t("page.artist.hide-spotify"))},null,8,jD)]),u("p",{class:"help",textContent:y(e.$t("page.artist.hide-spotify-help"))},null,8,BD)])):Q("",!0)]),u("div",WD,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.sort.title"))},null,8,qD),v(a,{value:s.selected_grouping_id,"onUpdate:value":t[1]||(t[1]=f=>s.selected_grouping_id=f),options:o.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(o.artist.name)},null,8,GD)]),"heading-right":N(()=>[u("div",KD,[u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>o.show_details_modal=!0)},[v(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...f)=>s.play&&s.play(...f))},[v(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.artist.shuffle"))},null,8,ZD)])])]),content:N(()=>[u("p",YD,[u("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...f)=>s.open_artist&&s.open_artist(...f)),textContent:y(e.$t("page.artist.album-count",{count:s.album_count}))},null,8,XD),t[6]||(t[6]=u("span",null," | ",-1)),u("span",{textContent:y(e.$t("page.artist.track-count",{count:s.tracks.count}))},null,8,JD)]),v(c,{items:s.tracks,uris:s.track_uris},null,8,["items","uris"]),v(d,{item:o.artist,show:o.show_details_modal,onClose:t[5]||(t[5]=f=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const e3=le(RD,[["render",QD]]),t3={name:"ListArtists",components:{ModalDialogArtist:vu},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.selected_item=e;const t=e.media_kind==="audiobook"?"audiobooks-artist":"music-artist";this.$router.push({name:t,params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},n3={key:0,class:"mt-6 mb-5 py-2"},r3={class:"media-content is-clipped"},o3=["id","textContent"],s3=["onClick"],i3={class:"media-content is-clickable is-clipped"},a3=["textContent"],l3={class:"media-right"},u3=["onClick"];function c3(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-artist");return x(),I(ze,null,[(x(!0),I(ze,null,zt(n.items,l=>(x(),I(ze,{key:l.itemId},[l.isItem?(x(),I("div",{key:1,class:"media is-align-items-center",onClick:c=>s.open(l.item)},[u("div",i3,[u("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,a3)]),u("div",l3,[u("a",{onClick:bt(c=>s.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,u3)])],8,s3)):(x(),I("div",n3,[u("div",r3,[u("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,o3)])]))],64))),128)),(x(),ve(qn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Cl=le(t3,[["render",c3]]),ch={load(e){return B.library_artists("music")},set(e,t){e.artists_list=new Ee(t.data)}},d3={name:"PageArtists",components:{ContentWithHeading:et,ControlDropdown:Bo,IndexButtonList:mr,ListArtists:Cl,TabsMusic:kr},beforeRouteEnter(e,t,n){ch.load(e).then(r=>{n(o=>ch.set(o,r))})},setup(){return{servicesStore:It(),uiStore:wn()}},data(){return{artists_list:new Ee,groupings:[{id:1,name:this.$t("page.artists.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("page.artists.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}}]}},computed:{artists(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_singles||t.track_count>t.album_count*2,t=>!this.hide_spotify||t.data_kind!=="spotify"],this.artists_list.group(e)},hide_singles:{get(){return this.uiStore.hide_singles},set(e){this.uiStore.hide_singles=e}},hide_spotify:{get(){return this.uiStore.hide_spotify},set(e){this.uiStore.hide_spotify=e}},selected_grouping_id:{get(){return this.uiStore.artists_sort},set(e){this.uiStore.artists_sort=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},m3={class:"fd-page-with-tabs"},f3={class:"columns"},p3={class:"column"},h3=["textContent"],_3={class:"field"},g3={class:"control"},y3=["textContent"],z3=["textContent"],b3={key:0,class:"field"},v3={class:"control"},C3=["textContent"],w3=["textContent"],S3={class:"column"},k3=["textContent"],x3=["textContent"],E3=["textContent"];function T3(e,t,n,r,o,s){const i=O("tabs-music"),a=O("index-button-list"),l=O("control-dropdown"),c=O("list-artists"),d=O("content-with-heading");return x(),I("div",m3,[v(i),v(d,null,{options:N(()=>[v(a,{indices:s.artists.indices},null,8,["indices"]),u("div",f3,[u("div",p3,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artists.filter"))},null,8,h3),u("div",_3,[u("div",g3,[gt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=m=>s.hide_singles=m),type:"checkbox",class:"switch is-rounded"},null,512),[[jn,s.hide_singles]]),u("label",{for:"switchHideSingles",textContent:y(e.$t("page.artists.hide-singles"))},null,8,y3)]),u("p",{class:"help",textContent:y(e.$t("page.artists.hide-singles-help"))},null,8,z3)]),s.spotify_enabled?(x(),I("div",b3,[u("div",v3,[gt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=m=>s.hide_spotify=m),type:"checkbox",class:"switch is-rounded"},null,512),[[jn,s.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:y(e.$t("page.artists.hide-spotify"))},null,8,C3)]),u("p",{class:"help",textContent:y(e.$t("page.artists.hide-spotify-help"))},null,8,w3)])):Q("",!0)]),u("div",S3,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artists.sort.title"))},null,8,k3),v(l,{value:s.selected_grouping_id,"onUpdate:value":t[2]||(t[2]=m=>s.selected_grouping_id=m),options:o.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.artists.title"))},null,8,x3),u("p",{class:"heading",textContent:y(e.$t("page.artists.count",{count:s.artists.count}))},null,8,E3)]),"heading-right":N(()=>t[3]||(t[3]=[])),content:N(()=>[v(c,{items:s.artists},null,8,["items"])]),_:1})])}const $3=le(d3,[["render",T3]]),dh={load(e){return Promise.all([B.library_album(e.params.id),B.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data)}},A3={name:"PageAudiobooksAlbum",components:{ContentWithHero:zu,CoverArtwork:Ur,ListTracks:Cn,ModalDialogAlbum:bu},beforeRouteEnter(e,t,n){dh.load(e).then(r=>{n(o=>dh.set(o,r))})},data(){return{album:{},show_details_modal:!1,tracks:new Ee}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},play(){B.player_play_uri(this.album.uri,!1)}}},O3=["textContent"],P3={class:"subtitle is-6 has-text-link"},I3=["textContent"],L3={class:"buttons fd-is-centered-mobile mt-5"},N3=["textContent"],D3=["textContent"];function R3(e,t,n,r,o,s){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),c=O("modal-dialog-album"),d=O("content-with-hero");return x(),I("div",null,[v(d,null,{"heading-left":N(()=>[u("h1",{class:"title is-5",textContent:y(o.album.name)},null,8,O3),u("h2",P3,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:y(o.album.artist)},null,8,I3)]),u("div",L3,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:y(e.$t("page.audiobooks.album.play"))},null,8,N3)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":N(()=>[v(a,{url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>o.show_details_modal=!0)},null,8,["url","artist","album"])]),content:N(()=>[u("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.audiobooks.album.track-count",{count:o.album.track_count}))},null,8,D3),v(l,{items:o.tracks,show_progress:!0,uris:o.album.uri},null,8,["items","uris"]),v(c,{item:o.album,show:o.show_details_modal,media_kind:"audiobook",onClose:t[4]||(t[4]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const M3=le(A3,[["render",R3]]),F3={name:"TabsAudiobooks"},V3={class:"section fd-tabs-section"},H3={class:"container"},U3={class:"columns is-centered"},j3={class:"column is-four-fifths"},B3={class:"tabs is-centered is-small"},W3=["onClick","onKeypress"],q3=["textContent"],G3=["onClick","onKeypress"],K3=["textContent"],Z3=["onClick","onKeypress"],Y3=["textContent"];function X3(e,t,n,r,o,s){const i=O("mdicon"),a=O("router-link");return x(),I("section",V3,[u("div",H3,[u("div",U3,[u("div",j3,[u("div",B3,[u("ul",null,[v(a,{to:{name:"audiobooks-artists"},custom:""},{default:N(({navigate:l,isActive:c})=>[u("li",{class:Se({"is-active":c})},[u("a",{onClick:l,onKeypress:gn(l,["enter"])},[v(i,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.authors"))},null,8,q3)],40,W3)],2)]),_:1}),v(a,{to:{name:"audiobooks-albums"},custom:""},{default:N(({navigate:l,isActive:c})=>[u("li",{class:Se({"is-active":c})},[u("a",{onClick:l,onKeypress:gn(l,["enter"])},[v(i,{class:"icon is-small",name:"album",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,K3)],40,G3)],2)]),_:1}),v(a,{to:{name:"audiobooks-genres"},custom:""},{default:N(({navigate:l,isActive:c})=>[u("li",{class:Se({"is-active":c})},[u("a",{onClick:l,onKeypress:gn(l,["enter"])},[v(i,{class:"icon is-small",name:"speaker",size:"16"}),u("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.genres"))},null,8,Y3)],40,Z3)],2)]),_:1})])])])])])])}const Cm=le(F3,[["render",X3]]),mh={load(e){return B.library_albums("audiobook")},set(e,t){e.albums=new Ee(t.data,{index:{field:"name_sort",type:String}})}},J3={name:"PageAudiobooksAlbums",components:{ContentWithHeading:et,IndexButtonList:mr,ListAlbums:xn,TabsAudiobooks:Cm},beforeRouteEnter(e,t,n){mh.load(e).then(r=>{n(o=>mh.set(o,r))})},data(){return{albums:new Ee}}},Q3={class:"fd-page-with-tabs"},eR=["textContent"],tR=["textContent"];function nR(e,t,n,r,o,s){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-albums"),c=O("content-with-heading");return x(),I("div",Q3,[v(i),v(c,null,{options:N(()=>[v(a,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.audiobooks.albums.title"))},null,8,eR),u("p",{class:"heading",textContent:y(e.$t("page.audiobooks.albums.count",{count:o.albums.count}))},null,8,tR)]),content:N(()=>[v(l,{items:o.albums},null,8,["items"])]),_:1})])}const rR=le(J3,[["render",nR]]),fh={load(e){return Promise.all([B.library_artist(e.params.id),B.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums=new Ee(t[1].data)}},oR={name:"PageAudiobooksArtist",components:{ContentWithHeading:et,ListAlbums:xn,ModalDialogArtist:vu},beforeRouteEnter(e,t,n){fh.load(e).then(r=>{n(o=>fh.set(o,r))})},data(){return{albums:new Ee,artist:{},show_details_modal:!1}},methods:{play(){B.player_play_uri(this.albums.items.map(e=>e.uri).join(),!1)}}},sR=["textContent"],iR={class:"buttons is-centered"},aR=["textContent"],lR=["textContent"];function uR(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-albums"),l=O("modal-dialog-artist"),c=O("content-with-heading");return x(),I("div",null,[v(c,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(o.artist.name)},null,8,sR)]),"heading-right":N(()=>[u("div",iR,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:y(e.$t("page.audiobooks.artist.play"))},null,8,aR)])])]),content:N(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.audiobooks.artist.album-count",{count:o.artist.album_count}))},null,8,lR),v(a,{items:o.albums},null,8,["items"]),v(l,{item:o.artist,show:o.show_details_modal,onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const cR=le(oR,[["render",uR]]),ph={load(e){return B.library_artists("audiobook")},set(e,t){e.artists=new Ee(t.data,{index:{field:"name_sort",type:String}})}},dR={name:"PageAudiobooksArtists",components:{ContentWithHeading:et,IndexButtonList:mr,ListArtists:Cl,TabsAudiobooks:Cm},beforeRouteEnter(e,t,n){ph.load(e).then(r=>{n(o=>ph.set(o,r))})},data(){return{artists:new Ee}}},mR={class:"fd-page-with-tabs"},fR=["textContent"],pR=["textContent"];function hR(e,t,n,r,o,s){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-artists"),c=O("content-with-heading");return x(),I("div",mR,[v(i),v(c,null,{options:N(()=>[v(a,{indices:o.artists.indices},null,8,["indices"])]),"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.audiobooks.artists.title"))},null,8,fR),u("p",{class:"heading",textContent:y(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,pR)]),"heading-right":N(()=>t[0]||(t[0]=[])),content:N(()=>[v(l,{items:o.artists},null,8,["items"])]),_:1})])}const _R=le(dR,[["render",hR]]),gR={name:"ModalDialogGenre",props:{item:{required:!0,type:Object},media_kind:{required:!0,type:String},show:Boolean},emits:["close"],computed:{expression(){return`genre is "${this.item.name}" and media_kind is ${this.media_kind}`}},methods:{open(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.name},query:{media_kind:this.media_kind}})},play(){this.$emit("close"),B.player_play_expression(this.expression,!1)},queue_add(){this.$emit("close"),B.queue_expression_add(this.expression)},queue_add_next(){this.$emit("close"),B.queue_expression_add_next(this.expression)}}},yR={key:0,class:"modal is-active"},zR={class:"modal-content"},bR={class:"card"},vR={class:"card-content"},CR={class:"title is-4"},wR=["textContent"],SR={class:"content is-small"},kR=["textContent"],xR=["textContent"],ER=["textContent"],TR=["textContent"],$R=["textContent"],AR=["textContent"],OR={class:"card-footer"},PR=["textContent"],IR=["textContent"],LR=["textContent"];function NR(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",yR,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",zR,[u("div",bR,[u("div",vR,[u("p",CR,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,wR)]),u("div",SR,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.genre.albums"))},null,8,kR),u("span",{class:"title is-6",textContent:y(n.item.album_count)},null,8,xR)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.genre.tracks"))},null,8,ER),u("span",{class:"title is-6",textContent:y(n.item.track_count)},null,8,TR)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.genre.duration"))},null,8,$R),u("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,AR)])])]),u("footer",OR,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.add"))},null,8,PR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.add-next"))},null,8,IR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.play"))},null,8,LR)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const wm=le(gR,[["render",NR]]),DR={name:"ListGenres",components:{ModalDialogGenre:wm},props:{items:{required:!0,type:Object},media_kind:{required:!0,type:String}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.$router.push({name:"genre-albums",params:{name:e.name},query:{media_kind:this.media_kind}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},RR={key:0,class:"mt-6 mb-5 py-2"},MR={class:"media-content is-clipped"},FR=["id","textContent"],VR=["onClick"],HR={class:"media-content is-clickable is-clipped"},UR=["textContent"],jR={class:"media-right"},BR=["onClick"];function WR(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-genre");return x(),I(ze,null,[(x(!0),I(ze,null,zt(n.items,l=>(x(),I(ze,{key:l.itemId},[l.isItem?(x(),I("div",{key:1,class:"media is-align-items-center",onClick:c=>s.open(l.item)},[u("div",HR,[u("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,UR)]),u("div",jR,[u("a",{onClick:bt(c=>s.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,BR)])],8,VR)):(x(),I("div",RR,[u("div",MR,[u("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,FR)])]))],64))),128)),(x(),ve(qn,{to:"#app"},[v(a,{item:o.selected_item,media_kind:n.media_kind,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]))],64)}const gz=le(DR,[["render",WR]]),hh={load(e){return B.library_genres("audiobook")},set(e,t){e.genres=new Ee(t.data.genres,{index:{field:"name_sort",type:String}})}},qR={name:"PageAudiobooksGenres",components:{ContentWithHeading:et,IndexButtonList:mr,ListGenres:gz,TabsAudiobooks:Cm},beforeRouteEnter(e,t,n){hh.load(e).then(r=>{n(o=>hh.set(o,r))})},data(){return{genres:new Ee}}},GR={class:"fd-page-with-tabs"},KR=["textContent"],ZR=["textContent"];function YR(e,t,n,r,o,s){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-genres"),c=O("content-with-heading");return x(),I("div",GR,[v(i),v(c,null,{options:N(()=>[v(a,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.genres.title"))},null,8,KR),u("p",{class:"heading",textContent:y(e.$t("page.genres.count",{count:o.genres.total}))},null,8,ZR)]),content:N(()=>[v(l,{items:o.genres,media_kind:"audiobook"},null,8,["items"])]),_:1})])}const XR=le(qR,[["render",YR]]),JR={name:"ModalDialogComposer",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open_albums(){this.$emit("close"),this.$router.push({name:"music-composer-albums",params:{name:this.item.name}})},open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.item.name}})},play(){this.$emit("close"),B.player_play_expression(`composer is "${this.item.name}" and media_kind is music`,!1)},queue_add(){this.$emit("close"),B.queue_expression_add(`composer is "${this.item.name}" and media_kind is music`)},queue_add_next(){this.$emit("close"),B.queue_expression_add_next(`composer is "${this.item.name}" and media_kind is music`)}}},QR={key:0,class:"modal is-active"},eM={class:"modal-content"},tM={class:"card"},nM={class:"card-content"},rM={class:"title is-4"},oM=["textContent"],sM=["textContent"],iM=["textContent"],aM=["textContent"],lM=["textContent"],uM=["textContent"],cM=["textContent"],dM={class:"card-footer"},mM=["textContent"],fM=["textContent"],pM=["textContent"];function hM(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",QR,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",eM,[u("div",tM,[u("div",nM,[u("p",rM,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:y(n.item.name)},null,8,oM)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.composer.albums"))},null,8,sM),u("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:y(n.item.album_count)},null,8,iM)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.composer.tracks"))},null,8,aM),u("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...a)=>s.open_tracks&&s.open_tracks(...a)),textContent:y(n.item.track_count)},null,8,lM)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.composer.duration"))},null,8,uM),u("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,cM)])]),u("footer",dM,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.add"))},null,8,mM)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.add-next"))},null,8,fM)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.play"))},null,8,pM)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const Sm=le(JR,[["render",hM]]),_h={load(e){return Promise.all([B.library_composer(e.params.name),B.library_composer_albums(e.params.name)])},set(e,t){e.composer=t[0].data,e.albums=new Ee(t[1].data.albums)}},_M={name:"PageComposerAlbums",components:{ContentWithHeading:et,ListAlbums:xn,ModalDialogComposer:Sm},beforeRouteEnter(e,t,n){_h.load(e).then(r=>{n(o=>_h.set(o,r))})},data(){return{albums:new Ee,composer:{},show_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){B.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!0)}}},gM=["textContent"],yM={class:"buttons is-centered"},zM=["textContent"],bM={class:"heading has-text-centered-mobile"},vM=["textContent"],CM=["textContent"];function wM(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-albums"),l=O("modal-dialog-composer"),c=O("content-with-heading");return x(),I("div",null,[v(c,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(o.composer.name)},null,8,gM)]),"heading-right":N(()=>[u("div",yM,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[v(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.composer.shuffle"))},null,8,zM)])])]),content:N(()=>[u("p",bM,[u("span",{textContent:y(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,vM),t[4]||(t[4]=u("span",null," | ",-1)),u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>s.open_tracks&&s.open_tracks(...d)),textContent:y(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,CM)]),v(a,{items:o.albums},null,8,["items"]),v(l,{item:o.composer,show:o.show_details_modal,onClose:t[3]||(t[3]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const SM=le(_M,[["render",wM]]),gh={load(e){return Promise.all([B.library_composer(e.params.name),B.library_composer_tracks(e.params.name)])},set(e,t){e.composer=t[0].data,e.tracks_list=new Ee(t[1].data.tracks)}},kM={name:"PageComposerTracks",components:{ContentWithHeading:et,ControlDropdown:Bo,IndexButtonList:mr,ListTracks:Cn,ModalDialogComposer:Sm},beforeRouteEnter(e,t,n){gh.load(e).then(r=>{n(o=>gh.set(o,r))})},setup(){return{uiStore:wn()}},data(){return{composer:{},groupings:[{id:1,name:this.$t("page.composer.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.composer.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],show_details_modal:!1,tracks_list:new Ee}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},selected_grouping_id:{get(){return this.uiStore.composer_tracks_sort},set(e){this.uiStore.composer_tracks_sort=e}},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return this.tracks_list.group(e)}},methods:{open_albums(){this.show_details_modal=!1,this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},play(){B.player_play_expression(this.expression,!0)}}},xM={class:"columns"},EM={class:"column"},TM=["textContent"],$M=["textContent"],AM={class:"buttons is-centered"},OM=["textContent"],PM={class:"heading has-text-centered-mobile"},IM=["textContent"],LM=["textContent"];function NM(e,t,n,r,o,s){const i=O("index-button-list"),a=O("control-dropdown"),l=O("mdicon"),c=O("list-tracks"),d=O("modal-dialog-composer"),m=O("content-with-heading");return x(),I("div",null,[v(m,null,{options:N(()=>[v(i,{indices:s.tracks.indices},null,8,["indices"]),u("div",xM,[u("div",EM,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.sort.title"))},null,8,TM),v(a,{value:s.selected_grouping_id,"onUpdate:value":t[0]||(t[0]=f=>s.selected_grouping_id=f),options:o.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(o.composer.name)},null,8,$M)]),"heading-right":N(()=>[u("div",AM,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[v(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>s.play&&s.play(...f))},[v(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.composer.shuffle"))},null,8,OM)])])]),content:N(()=>[u("p",PM,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>s.open_albums&&s.open_albums(...f)),textContent:y(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,IM),t[5]||(t[5]=u("span",null," | ",-1)),u("span",{textContent:y(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,LM)]),v(c,{items:s.tracks,expression:s.expression},null,8,["items","expression"]),v(d,{item:o.composer,show:o.show_details_modal,onClose:t[4]||(t[4]=f=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const DM=le(kM,[["render",NM]]),RM={name:"ListComposers",components:{ModalDialogComposer:Sm},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.selected_item=e,this.$router.push({name:"music-composer-albums",params:{name:e.name}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},MM={key:0,class:"mt-6 mb-5 py-2"},FM={class:"media-content is-clipped"},VM=["id","textContent"],HM=["onClick"],UM={class:"media-content is-clickable is-clipped"},jM=["textContent"],BM={class:"media-right"},WM=["onClick"];function qM(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-composer");return x(),I(ze,null,[(x(!0),I(ze,null,zt(n.items,l=>(x(),I(ze,{key:l.itemId},[l.isItem?(x(),I("div",{key:1,class:"media is-align-items-center",onClick:c=>s.open(l.item)},[u("div",UM,[u("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,jM)]),u("div",BM,[u("a",{onClick:bt(c=>s.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,WM)])],8,HM)):(x(),I("div",MM,[u("div",FM,[u("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,VM)])]))],64))),128)),(x(),ve(qn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const fd=le(RM,[["render",qM]]),yh={load(e){return B.library_composers("music")},set(e,t){e.composers=new Ee(t.data,{index:{field:"name_sort",type:String}})}},GM={name:"PageComposers",components:{ContentWithHeading:et,IndexButtonList:mr,ListComposers:fd,TabsMusic:kr},beforeRouteEnter(e,t,n){yh.load(e).then(r=>{n(o=>yh.set(o,r))})},data(){return{composers:new Ee}}},KM={class:"fd-page-with-tabs"},ZM=["textContent"],YM=["textContent"];function XM(e,t,n,r,o,s){const i=O("tabs-music"),a=O("index-button-list"),l=O("list-composers"),c=O("content-with-heading");return x(),I("div",KM,[v(i),v(c,null,{options:N(()=>[v(a,{indices:o.composers.indices},null,8,["indices"])]),"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.composers.title"))},null,8,ZM),u("p",{class:"heading",textContent:y(e.$t("page.composers.count",{count:o.composers.total}))},null,8,YM)]),content:N(()=>[v(l,{items:o.composers},null,8,["items"])]),_:1})])}const JM=le(GM,[["render",XM]]),QM={name:"ModalDialogDirectory",props:{item:{required:!0,type:String},show:Boolean},emits:["close"],methods:{play(){this.$emit("close"),B.player_play_expression(`path starts with "${this.item}" order by path asc`,!1)},queue_add(){this.$emit("close"),B.queue_expression_add(`path starts with "${this.item}" order by path asc`)},queue_add_next(){this.$emit("close"),B.queue_expression_add_next(`path starts with "${this.item}" order by path asc`)}}},eF={key:0,class:"modal is-active"},tF={class:"modal-content"},nF={class:"card"},rF={class:"card-content"},oF=["textContent"],sF={class:"card-footer"},iF=["textContent"],aF=["textContent"],lF=["textContent"];function uF(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",eF,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",tF,[u("div",nF,[u("div",rF,[u("p",{class:"title is-4",textContent:y(n.item)},null,8,oF)]),u("footer",sF,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.add"))},null,8,iF)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.add-next"))},null,8,aF)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.play"))},null,8,lF)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const yz=le(QM,[["render",uF]]),cF={name:"ListDirectories",components:{ModalDialogDirectory:yz},props:{items:{required:!0,type:Array}},data(){return{selected_item:"",show_details_modal:!1}},computed:{directories(){var n;const e=[];let t="";return(n=this.$route.query)==null||n.directory.split("/").slice(1,-1).forEach((r,o)=>{t=`${t}/${r}`,e.push({index:o,name:r,path:t})}),e}},methods:{open(e){const t={name:"files"};e.index!==0&&(t.query={directory:e.path}),this.$router.push(t)},open_dialog(e){this.selected_item=e.path,this.show_details_modal=!0},open_parent(){this.open(this.directories.slice(-1).pop())}}},dF={key:0,class:"media is-align-items-center"},mF={class:"media-content is-clipped"},fF={class:"breadcrumb"},pF=["onClick"],hF=["textContent"],_F={class:"media-right"},gF=["onClick"],yF={class:"media-left is-clickable"},zF={class:"media-content is-clickable is-clipped"},bF=["textContent"],vF={class:"media-right"},CF=["onClick"];function wF(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-directory");return x(),I(ze,null,[e.$route.query.directory?(x(),I("div",dF,[u("figure",{class:"media-left is-clickable",onClick:t[0]||(t[0]=(...l)=>s.open_parent&&s.open_parent(...l))},[v(i,{class:"icon",name:"chevron-left",size:"16"})]),u("div",mF,[u("nav",fF,[u("ul",null,[(x(!0),I(ze,null,zt(s.directories,l=>(x(),I("li",{key:l.index},[u("a",{onClick:c=>s.open(l)},[u("span",{textContent:y(l.name)},null,8,hF)],8,pF)]))),128))])])]),u("div",_F,[wt(e.$slots,"actions")])])):Q("",!0),(x(!0),I(ze,null,zt(n.items,l=>(x(),I("div",{key:l.path,class:"media is-align-items-center",onClick:c=>s.open(l)},[u("figure",yF,[v(i,{class:"icon",name:"folder",size:"16"})]),u("div",zF,[u("h1",{class:"title is-6",textContent:y(l.name)},null,8,bF)]),u("div",vF,[u("a",{onClick:bt(c=>s.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,CF)])],8,gF))),128)),(x(),ve(qn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[1]||(t[1]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const SF=le(cF,[["render",wF]]),kF={name:"ModalDialogPlaylist",props:{item:{required:!0,type:Object},show:Boolean,uris:{default:"",type:String}},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"playlist",params:{id:this.item.id}})},play(){this.$emit("close"),B.player_play_uri(this.uris||this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.uris||this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.uris||this.item.uri)}}},xF={key:0,class:"modal is-active"},EF={class:"modal-content"},TF={class:"card"},$F={class:"card-content"},AF={class:"title is-4"},OF=["textContent"],PF={class:"content is-small"},IF=["textContent"],LF=["textContent"],NF=["textContent"],DF=["textContent"],RF={key:0},MF=["textContent"],FF=["textContent"],VF={key:0,class:"card-footer"},HF=["textContent"],UF=["textContent"],jF=["textContent"];function BF(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",xF,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",EF,[u("div",TF,[u("div",$F,[u("p",AF,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,OF)]),u("div",PF,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.playlist.path"))},null,8,IF),u("span",{class:"title is-6",textContent:y(n.item.path)},null,8,LF)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.playlist.type"))},null,8,NF),u("span",{class:"title is-6",textContent:y(e.$t(`playlist.type.${n.item.type}`))},null,8,DF)]),n.item.folder?Q("",!0):(x(),I("p",RF,[u("span",{class:"heading",textContent:y(e.$t("dialog.playlist.tracks"))},null,8,MF),u("span",{class:"title is-6",textContent:y(n.item.item_count)},null,8,FF)]))])]),n.item.folder?Q("",!0):(x(),I("footer",VF,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.add"))},null,8,HF)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.add-next"))},null,8,UF)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.play"))},null,8,jF)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const zz=le(kF,[["render",BF]]),WF={name:"ListPlaylists",components:{ModalDialogPlaylist:zz},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{icon_name(e){return e.type==="folder"?"folder":e.type==="rss"?"rss":"music-box-multiple"},open(e){e.type==="folder"?this.$router.push({name:"playlist-folder",params:{id:e.id}}):this.$router.push({name:"playlist",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},qF=["onClick"],GF={class:"media-left is-clickable"},KF={class:"media-content is-clickable is-clipped"},ZF=["textContent"],YF={class:"media-right"},XF=["onClick"];function JF(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-playlist");return x(),I(ze,null,[(x(!0),I(ze,null,zt(n.items,l=>(x(),I("div",{key:l.itemId,class:"media is-align-items-center",onClick:c=>s.open(l.item)},[u("figure",GF,[v(i,{class:"icon",name:s.icon_name(l.item),size:"16"},null,8,["name"])]),u("div",KF,[u("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,ZF)]),u("div",YF,[u("a",{onClick:bt(c=>s.open_dialog(l.item),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,XF)])],8,qF))),128)),(x(),ve(qn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const wl=le(WF,[["render",JF]]),Sa={load(e){return e.query.directory?B.library_files(e.query.directory):Promise.resolve()},set(e,t){t?e.directories=t.data.directories.map(n=>e.transform(n.path)):Fo().directories?e.directories=Fo().directories.map(n=>e.transform(n)):B.config().then(n=>{e.directories=n.data.directories.map(r=>e.transform(r))}),e.playlists=new Ee(t==null?void 0:t.data.playlists),e.tracks=new Ee(t==null?void 0:t.data.tracks)}},QF={name:"PageFiles",components:{ContentWithHeading:et,ListDirectories:SF,ListPlaylists:wl,ListTracks:Cn,ModalDialogDirectory:yz},beforeRouteEnter(e,t,n){Sa.load(e).then(r=>{n(o=>Sa.set(o,r))})},beforeRouteUpdate(e,t,n){Sa.load(e).then(r=>{Sa.set(this,r),n()})},setup(){return{configurationStore:Fo()}},data(){return{directories:[],playlists:new Ee,show_details_modal:!1,tracks:new Ee}},computed:{current(){var e;return((e=this.$route.query)==null?void 0:e.directory)||"/"},name(){var e;return this.current!=="/"?(e=this.current)==null?void 0:e.slice(this.current.lastIndexOf("/")+1):this.$t("page.files.title")},play_expression(){return`path starts with "${this.current}" order by path asc`}},methods:{play(){B.player_play_expression(this.play_expression,!1)},transform(e){return{name:e.slice(e.lastIndexOf("/")+1),path:e}}}},e7=["textContent"],t7={class:"buttons is-centered"},n7=["textContent"];function r7(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-directories"),l=O("list-playlists"),c=O("list-tracks"),d=O("modal-dialog-directory"),m=O("content-with-heading");return x(),I("div",null,[v(m,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(s.name)},null,8,e7)]),"heading-right":N(()=>[u("div",t7,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:y(e.$t("page.files.play"))},null,8,n7)])])]),content:N(()=>[v(a,{items:o.directories},null,8,["items"]),v(l,{items:o.playlists},null,8,["items"]),v(c,{expression:s.play_expression,items:o.tracks,show_icon:!0},null,8,["expression","items"]),v(d,{item:s.current,show:o.show_details_modal,onClose:t[2]||(t[2]=f=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const o7=le(QF,[["render",r7]]),zh={load(e){return Promise.all([B.library_genre(e.params.name,e.query.media_kind),B.library_genre_albums(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data.genres.items.shift(),e.albums=new Ee(t[1].data.albums,{index:{field:"name_sort",type:String}})}},s7={name:"PageGenreAlbums",components:{ContentWithHeading:et,IndexButtonList:mr,ListAlbums:xn,ModalDialogGenre:wm},beforeRouteEnter(e,t,n){zh.load(e).then(r=>{n(o=>zh.set(o,r))})},data(){return{albums:new Ee,genre:{},media_kind:this.$route.query.media_kind,show_details_modal:!1}},methods:{open_tracks(){this.show_details_modal=!1,this.$router.push({name:"genre-tracks",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){B.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}},i7=["textContent"],a7={class:"buttons is-centered"},l7=["textContent"],u7={class:"heading has-text-centered-mobile"},c7=["textContent"],d7=["textContent"];function m7(e,t,n,r,o,s){const i=O("index-button-list"),a=O("mdicon"),l=O("list-albums"),c=O("modal-dialog-genre"),d=O("content-with-heading");return x(),I("div",null,[v(d,null,{options:N(()=>[v(i,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(o.genre.name)},null,8,i7)]),"heading-right":N(()=>[u("div",a7,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[v(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[v(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.genre.shuffle"))},null,8,l7)])])]),content:N(()=>[u("p",u7,[u("span",{textContent:y(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,c7),t[4]||(t[4]=u("span",null," | ",-1)),u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...m)=>s.open_tracks&&s.open_tracks(...m)),textContent:y(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,d7)]),v(l,{items:o.albums},null,8,["items"]),v(c,{item:o.genre,media_kind:o.media_kind,show:o.show_details_modal,onClose:t[3]||(t[3]=m=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const f7=le(s7,[["render",m7]]),bh={load(e){return Promise.all([B.library_genre(e.params.name,e.query.media_kind),B.library_genre_tracks(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data.genres.items.shift(),e.tracks_list=new Ee(t[1].data.tracks)}},p7={name:"PageGenreTracks",components:{ContentWithHeading:et,ControlDropdown:Bo,IndexButtonList:mr,ListTracks:Cn,ModalDialogGenre:wm},beforeRouteEnter(e,t,n){bh.load(e).then(r=>{n(o=>bh.set(o,r))})},setup(){return{uiStore:wn()}},data(){return{genre:{},groupings:[{id:1,name:this.$t("page.genre.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.genre.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],media_kind:this.$route.query.media_kind,show_details_modal:!1,tracks_list:new Ee}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`},selected_grouping_id:{get(){return this.uiStore.genre_tracks_sort},set(e){this.uiStore.genre_tracks_sort=e}},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return this.tracks_list.group(e)}},methods:{open_genre(){this.show_details_modal=!1,this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){B.player_play_expression(this.expression,!0)}}},h7={class:"columns"},_7={class:"column"},g7=["textContent"],y7=["textContent"],z7={class:"buttons is-centered"},b7=["textContent"],v7={class:"heading has-text-centered-mobile"},C7=["textContent"],w7=["textContent"];function S7(e,t,n,r,o,s){const i=O("index-button-list"),a=O("control-dropdown"),l=O("mdicon"),c=O("list-tracks"),d=O("modal-dialog-genre"),m=O("content-with-heading");return x(),I("div",null,[v(m,null,{options:N(()=>[v(i,{indices:s.tracks.indices},null,8,["indices"]),u("div",h7,[u("div",_7,[u("p",{class:"heading mb-5",textContent:y(e.$t("page.genre.sort.title"))},null,8,g7),v(a,{value:s.selected_grouping_id,"onUpdate:value":t[0]||(t[0]=f=>s.selected_grouping_id=f),options:o.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(o.genre.name)},null,8,y7)]),"heading-right":N(()=>[u("div",z7,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[v(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>s.play&&s.play(...f))},[v(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.genre.shuffle"))},null,8,b7)])])]),content:N(()=>[u("p",v7,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>s.open_genre&&s.open_genre(...f)),textContent:y(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,C7),t[5]||(t[5]=u("span",null," | ",-1)),u("span",{textContent:y(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,w7)]),v(c,{items:s.tracks,expression:s.expression},null,8,["items","expression"]),v(d,{item:o.genre,media_kind:o.media_kind,show:o.show_details_modal,onClose:t[4]||(t[4]=f=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const k7=le(p7,[["render",S7]]),vh={load(e){return B.library_genres("music")},set(e,t){e.genres=new Ee(t.data.genres,{index:{field:"name_sort",type:String}})}},x7={name:"PageGenres",components:{ContentWithHeading:et,IndexButtonList:mr,ListGenres:gz,TabsMusic:kr},beforeRouteEnter(e,t,n){vh.load(e).then(r=>{n(o=>vh.set(o,r))})},data(){return{genres:new Ee}}},E7={class:"fd-page-with-tabs"},T7=["textContent"],$7=["textContent"];function A7(e,t,n,r,o,s){const i=O("tabs-music"),a=O("index-button-list"),l=O("list-genres"),c=O("content-with-heading");return x(),I("div",E7,[v(i),v(c,null,{options:N(()=>[v(a,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.genres.title"))},null,8,T7),u("p",{class:"heading",textContent:y(e.$t("page.genres.count",{count:o.genres.total}))},null,8,$7)]),content:N(()=>[v(l,{items:o.genres,media_kind:"music"},null,8,["items"])]),_:1})])}const O7=le(x7,[["render",A7]]),Ch={load(e){return Promise.all([B.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"}),B.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3,type:"track"})])},set(e,t){e.albums=new Ee(t[0].data.albums),e.tracks=new Ee(t[1].data.tracks)}},P7={name:"PageMusic",components:{ContentWithHeading:et,ListAlbums:xn,ListTracks:Cn,TabsMusic:kr},beforeRouteEnter(e,t,n){Ch.load(e).then(r=>{n(o=>Ch.set(o,r))})},data(){return{albums:[],tracks:{items:[]},selected_track:{}}}},I7={class:"fd-page-with-tabs"},L7=["textContent"],N7={class:"level"},D7={class:"level-item"},R7=["textContent"],M7={class:"level"},F7={class:"level-item"};function V7(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-albums"),l=O("router-link"),c=O("content-with-heading"),d=O("list-tracks");return x(),I("div",I7,[v(i),v(c,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-added.title"))},null,8,L7)]),content:N(()=>[v(a,{items:o.albums},null,8,["items"])]),footer:N(()=>[u("nav",N7,[u("p",D7,[v(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-added"}},{default:N(()=>[Mt(y(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1}),v(c,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-played.title"))},null,8,R7)]),content:N(()=>[v(d,{items:o.tracks},null,8,["items"])]),footer:N(()=>[u("nav",M7,[u("p",F7,[v(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-played"}},{default:N(()=>[Mt(y(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1})])}const H7=le(P7,[["render",V7]]),wh={load(e){const t=cr().recently_added_limit;return B.search({expression:"media_kind is music having track_count > 3 order by time_added desc",limit:t,type:"album"})},set(e,t){e.albums=new Ee(t.data.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})}},U7={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:et,ListAlbums:xn,TabsMusic:kr},beforeRouteEnter(e,t,n){wh.load(e).then(r=>{n(o=>wh.set(o,r))})},setup(){return{settingsStore:cr()}},data(){return{albums:new Ee}}},j7={class:"fd-page-with-tabs"},B7=["textContent"];function W7(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-albums"),l=O("content-with-heading");return x(),I("div",j7,[v(i),v(l,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-added.title"))},null,8,B7)]),content:N(()=>[v(a,{items:o.albums},null,8,["items"])]),_:1})])}const q7=le(U7,[["render",W7]]),Sh={load(e){return B.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50,type:"track"})},set(e,t){e.tracks=new Ee(t.data.tracks)}},G7={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:et,ListTracks:Cn,TabsMusic:kr},beforeRouteEnter(e,t,n){Sh.load(e).then(r=>{n(o=>Sh.set(o,r))})},data(){return{tracks:{}}}},K7={class:"fd-page-with-tabs"},Z7=["textContent"];function Y7(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-tracks"),l=O("content-with-heading");return x(),I("div",K7,[v(i),v(l,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-played.title"))},null,8,Z7)]),content:N(()=>[v(a,{items:o.tracks},null,8,["items"])]),_:1})])}const X7=le(G7,[["render",Y7]]),J7={name:"ModalDialogPlaylistSpotify",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"playlist-spotify",params:{id:this.item.id}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},Q7={key:0,class:"modal is-active"},eV={class:"modal-content"},tV={class:"card"},nV={class:"card-content"},rV={class:"title is-4"},oV=["textContent"],sV={class:"content is-small"},iV=["textContent"],aV=["textContent"],lV=["textContent"],uV=["textContent"],cV=["textContent"],dV=["textContent"],mV={class:"card-footer"},fV=["textContent"],pV=["textContent"],hV=["textContent"];function _V(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",Q7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",eV,[u("div",tV,[u("div",nV,[u("p",rV,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,oV)]),u("div",sV,[u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.playlist.owner"))},null,8,iV),u("span",{class:"title is-6",textContent:y(n.item.owner.display_name)},null,8,aV)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.playlist.tracks"))},null,8,lV),u("span",{class:"title is-6",textContent:y(n.item.tracks.total)},null,8,uV)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.spotify.playlist.path"))},null,8,cV),u("span",{class:"title is-6",textContent:y(n.item.uri)},null,8,dV)])])]),u("footer",mV,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.add"))},null,8,fV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[v(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.add-next"))},null,8,pV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.play"))},null,8,hV)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const bz=le(J7,[["render",_V]]),gV={name:"ListPlaylistsSpotify",components:{ModalDialogPlaylistSpotify:bz},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.$router.push({name:"playlist-spotify",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},yV=["onClick"],zV=["textContent"],bV=["textContent"],vV={class:"media-right"},CV=["onClick"];function wV(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-playlist-spotify");return x(),I(ze,null,[(x(!0),I(ze,null,zt(n.items,l=>(x(),I("div",{key:l.id,class:"media is-align-items-center"},[u("div",{class:"media-content is-clickable is-clipped",onClick:c=>s.open(l)},[u("h1",{class:"title is-6",textContent:y(l.name)},null,8,zV),u("h2",{class:"subtitle is-7",textContent:y(l.owner.display_name)},null,8,bV)],8,yV),u("div",vV,[u("a",{onClick:bt(c=>s.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,CV)])]))),128)),(x(),ve(qn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Sl=le(gV,[["render",wV]]),kh={load(e){return B.spotify().then(({data:t})=>{const n=new dr;return n.setAccessToken(t.webapi_token),Promise.all([n.getNewReleases({country:t.webapi_country,limit:3}),n.getFeaturedPlaylists({country:t.webapi_country,limit:3})])})},set(e,t){e.albums=t[0].albums.items,e.playlists=t[1].playlists.items}},SV={name:"PageMusicSpotify",components:{ContentWithHeading:et,ListAlbumsSpotify:Ui,ListPlaylistsSpotify:Sl,TabsMusic:kr},beforeRouteEnter(e,t,n){kh.load(e).then(r=>{n(o=>kh.set(o,r))})},data(){return{playlists:[],albums:[]}}},kV={class:"fd-page-with-tabs"},xV=["textContent"],EV={class:"level"},TV={class:"level-item"},$V=["textContent"],AV={class:"level"},OV={class:"level-item"};function PV(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-albums-spotify"),l=O("router-link"),c=O("content-with-heading"),d=O("list-playlists-spotify");return x(),I("div",kV,[v(i),v(c,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.new-releases"))},null,8,xV)]),content:N(()=>[v(a,{items:o.albums},null,8,["items"])]),footer:N(()=>[u("nav",EV,[u("p",TV,[v(l,{to:{name:"music-spotify-new-releases"},class:"button is-light is-small is-rounded"},{default:N(()=>[Mt(y(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1}),v(c,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.featured-playlists"))},null,8,$V)]),content:N(()=>[v(d,{items:o.playlists},null,8,["items"])]),footer:N(()=>[u("nav",AV,[u("p",OV,[v(l,{to:{name:"music-spotify-featured-playlists"},class:"button is-light is-small is-rounded"},{default:N(()=>[Mt(y(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1})])}const IV=le(SV,[["render",PV]]),xh={load(e){return B.spotify().then(({data:t})=>{const n=new dr;return n.setAccessToken(t.webapi_token),n.getFeaturedPlaylists({country:t.webapi_country,limit:50})})},set(e,t){e.playlists=t.playlists.items}},LV={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:et,ListPlaylistsSpotify:Sl,TabsMusic:kr},beforeRouteEnter(e,t,n){xh.load(e).then(r=>{n(o=>xh.set(o,r))})},data(){return{playlists:[]}}},NV={class:"fd-page-with-tabs"},DV=["textContent"];function RV(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-playlists-spotify"),l=O("content-with-heading");return x(),I("div",NV,[v(i),v(l,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.featured-playlists"))},null,8,DV)]),content:N(()=>[v(a,{items:o.playlists},null,8,["items"])]),_:1})])}const MV=le(LV,[["render",RV]]),Eh={load(e){return B.spotify().then(({data:t})=>{const n=new dr;return n.setAccessToken(t.webapi_token),n.getNewReleases({country:t.webapi_country,limit:50})})},set(e,t){e.albums=t.albums.items}},FV={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:et,ListAlbumsSpotify:Ui,TabsMusic:kr},beforeRouteEnter(e,t,n){Eh.load(e).then(r=>{n(o=>Eh.set(o,r))})},data(){return{albums:[]}}},VV={class:"fd-page-with-tabs"},HV=["textContent"];function UV(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-albums-spotify"),l=O("content-with-heading");return x(),I("div",VV,[v(i),v(l,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.new-releases"))},null,8,HV)]),content:N(()=>[v(a,{items:o.albums},null,8,["items"])]),_:1})])}const jV=le(FV,[["render",UV]]),BV={name:"LyricsPane",setup(){return{lyricsStore:du(),playerStore:On()}},data(){return this.lastIndex=-1,this.scrollingTimer=null,this.lastItemId=-1,{autoScrolling:!0}},computed:{is_playing(){return this.playerStore.state==="play"},lyrics(){const e=this.lyricsStore.content,t=[];if(e.length>0){const n=/\[(?<minutes>\d+):(?<seconds>\d+)(?:\.(?<hundredths>\d+))?\] ?(?<text>.*)/u;e.split(`
`).forEach(r=>{const{text:o,minutes:s,seconds:i,hundredths:a}=n.exec(r).groups;if(o){const l={text:o,time:s*60+Number(i)+ +`.${a||0}`};t.push(l)}}),t.forEach((r,o,s)=>{const i=(s[o+1].time-r.time||3)/r.text.length;let a=0;r.words=r.text.match(/\S+\s*/gu).map(l=>{const c=l.length*i;return a+=c,{duration:c,delay:a,text:l}})})}return t},verse_index(){var e;if(this.lyrics.length&&this.lyrics[0].time){const t=this.playerStore.item_progress_ms/1e3,n=this.lyrics,r=this.playerStore.item_id!==this.lastItemId,o=this.lastIndex>=0&&this.lastIndex<n.length&&n[this.lastIndex].time>t;if((r||o)&&this.reset_scrolling(),this.lastIndex<n.length-1&&n[this.lastIndex+1].time>t||this.lastIndex===n.length-1)return this.lastIndex;if(this.lastIndex<n.length-2&&n[this.lastIndex+2].time>t)return this.lastIndex+1;let s=n.length-1,i=-1,a=0;for(;a<=s;){i=a+s>>1;const l=n[i].time,c=(e=n[i+1])==null?void 0:e.time;if(l<=t&&(c>t||!c))break;l<t?a=i+1:s=i-1}return i}return this.reset_scrolling(),-1}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.playerStore.item_id!==this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.playerStore.item_id,this.lastIndex=-1},scroll_to_verse(){const e=this.$refs.lyrics;if(this.verse_index===-1){e.scrollTo(0,0);return}const t=e.children[this.verse_index];e.scrollBy({behavior:"smooth",left:0,top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop})},start_scrolling(e){(e.screenX??e.screenY)&&(this.autoScrolling=!1,clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))}}},WV=["textContent"],qV={key:1};function GV(e,t,n,r,o,s){return x(),I("div",{ref:"lyrics",class:"lyrics",onTouchstart:t[0]||(t[0]=i=>o.autoScrolling=!1),onTouchend:t[1]||(t[1]=i=>o.autoScrolling=!0),onScrollPassive:t[2]||(t[2]=(...i)=>s.start_scrolling&&s.start_scrolling(...i)),onWheelPassive:t[3]||(t[3]=(...i)=>s.start_scrolling&&s.start_scrolling(...i))},[(x(!0),I(ze,null,zt(s.lyrics,(i,a)=>(x(),I(ze,{key:a},[a===s.verse_index?(x(),I("div",{key:0,class:Se({"is-highlighted":s.is_playing})},[(x(!0),I(ze,null,zt(i.words,l=>(x(),I("span",{key:l,class:"has-text-weight-bold is-size-5"},[u("span",{style:po({"animation-duration":`${l.delay}s`}),textContent:y(l.text)},null,12,WV)]))),128))],2)):(x(),I("div",qV,y(i.text),1))],64))),128))],544)}const KV=le(BV,[["render",GV],["__scopeId","data-v-a97a7574"]]),ZV={name:"ModalDialogQueueItem",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],setup(){return{servicesStore:It()}},data(){return{spotify_track:{}}},watch:{item(){var e;if(((e=this.item)==null?void 0:e.data_kind)==="spotify"){const t=new dr;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(n=>{this.spotify_track=n})}else this.spotify_track={}}},methods:{open_album(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},open_album_artist(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})},play(){this.$emit("close"),B.player_play({item_id:this.item.id})},remove(){this.$emit("close"),B.queue_remove(this.item.id)}}},YV={key:0,class:"modal is-active"},XV={class:"modal-content"},JV={class:"card"},QV={class:"card-content"},e9=["textContent"],t9=["textContent"],n9={class:"content is-small"},r9={key:0},o9=["textContent"],s9=["textContent"],i9={key:1},a9=["textContent"],l9=["textContent"],u9={key:2},c9=["textContent"],d9=["textContent"],m9={key:3},f9=["textContent"],p9=["textContent"],h9={key:4},_9=["textContent"],g9=["textContent"],y9={key:5},z9=["textContent"],b9=["textContent"],v9={key:6},C9=["textContent"],w9=["textContent"],S9=["textContent"],k9=["textContent"],x9=["textContent"],E9={class:"title is-6"},T9=["textContent"],$9={key:7},A9=["textContent"],O9={class:"title is-6"},P9=["textContent"],I9=["textContent"],L9=["textContent"],N9=["textContent"],D9={class:"card-footer"},R9=["textContent"],M9=["textContent"];function F9(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",YV,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",XV,[u("div",JV,[u("div",QV,[u("p",{class:"title is-4",textContent:y(n.item.title)},null,8,e9),u("p",{class:"subtitle",textContent:y(n.item.artist)},null,8,t9),u("div",n9,[n.item.album?(x(),I("p",r9,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.album"))},null,8,o9),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_album&&s.open_album(...a)),textContent:y(n.item.album)},null,8,s9)])):Q("",!0),n.item.album_artist?(x(),I("p",i9,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.album-artist"))},null,8,a9),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>s.open_album_artist&&s.open_album_artist(...a)),textContent:y(n.item.album_artist)},null,8,l9)])):Q("",!0),n.item.composer?(x(),I("p",u9,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.composer"))},null,8,c9),u("span",{class:"title is-6",textContent:y(n.item.composer)},null,8,d9)])):Q("",!0),n.item.year?(x(),I("p",m9,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.year"))},null,8,f9),u("span",{class:"title is-6",textContent:y(n.item.year)},null,8,p9)])):Q("",!0),n.item.genre?(x(),I("p",h9,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.genre"))},null,8,_9),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:y(n.item.genre)},null,8,g9)])):Q("",!0),n.item.disc_number?(x(),I("p",y9,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.position"))},null,8,z9),u("span",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,b9)])):Q("",!0),n.item.length_ms?(x(),I("p",v9,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.duration"))},null,8,C9),u("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,w9)])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.path"))},null,8,S9),u("span",{class:"title is-6",textContent:y(n.item.path)},null,8,k9)]),u("p",null,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.type"))},null,8,x9),u("span",E9,[u("span",{textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,T9)])]),n.item.samplerate?(x(),I("p",$9,[u("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.quality"))},null,8,A9),u("span",O9,[u("span",{textContent:y(n.item.type)},null,8,P9),n.item.samplerate?(x(),I("span",{key:0,textContent:y(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,I9)):Q("",!0),n.item.channels?(x(),I("span",{key:1,textContent:y(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,L9)):Q("",!0),n.item.bitrate?(x(),I("span",{key:2,textContent:y(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,N9)):Q("",!0)])])):Q("",!0)])]),u("footer",D9,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.remove&&s.remove(...a))},[v(i,{class:"icon",name:"delete",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.queue-item.remove"))},null,8,R9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.queue-item.play"))},null,8,M9)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const vz=le(ZV,[["render",F9]]),Zr=1e3,V9={name:"PageNowPlaying",components:{ControlSlider:lm,CoverArtwork:Ur,LyricsPane:KV,ModalDialogQueueItem:vz},setup(){return{lyricsStore:du(),playerStore:On(),queueStore:ir(),settingsStore:cr()}},data(){return{INTERVAL:Zr,cursor:cu,interval_id:0,is_dragged:!1,selected_item:{},show_details_modal:!1}},computed:{composer(){if(this.settingsStore.show_composer_now_playing){const e=this.settingsStore.show_composer_for_genre;if(!e||this.track.genre&&e.toLowerCase().split(",").findIndex(t=>this.track.genre.toLowerCase().indexOf(t.trim())>=0)>=0)return this.track.composer}return null},is_live(){return this.track.length_ms===0},track(){return this.queueStore.current},track_elapsed_time(){return this.$filters.durationInHours(this.track_progress*Zr)},track_progress:{get(){return Math.floor(this.playerStore.item_progress_ms/Zr)},set(e){this.playerStore.item_progress_ms=e*Zr}},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/Zr)},track_total_time(){return this.is_live?this.$t("page.now-playing.live"):this.$filters.durationInHours(this.track.length_ms)}},watch:{"playerStore.state"(e){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0),e==="play"&&(this.interval_id=window.setInterval(this.tick,Zr))}},created(){B.player_status().then(({data:e})=>{this.playerStore.$state=e,this.playerStore.state==="play"&&(this.interval_id=window.setInterval(this.tick,Zr))})},unmounted(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0)},methods:{end_dragging(){this.is_dragged=!1},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},seek(){this.is_live||B.player_seek_to_pos(this.track_progress*Zr)},start_dragging(){this.is_dragged=!0},tick(){this.is_dragged||(this.track_progress+=1)}}},H9={class:"hero is-full-height"},U9={key:0,class:"hero-body is-flex is-align-items-center"},j9={class:"container has-text-centered",style:{"max-width":"500px"}},B9={class:"is-flex is-justify-content-space-between"},W9=["textContent"],q9=["textContent"],G9=["textContent"],K9=["textContent"],Z9=["textContent"],Y9=["textContent"],X9=["textContent"],J9={key:1,class:"hero-body is-flex is-align-items-center"},Q9={class:"container has-text-centered"},eH=["textContent"],tH=["textContent"];function nH(e,t,n,r,o,s){const i=O("cover-artwork"),a=O("lyrics-pane"),l=O("control-slider"),c=O("modal-dialog-queue-item");return x(),I("div",H9,[s.track.id>0?(x(),I("div",U9,[u("div",j9,[v(i,{url:s.track.artwork_url,artist:s.track.artist,album:s.track.album,class:Se(["is-clickable fd-has-shadow fd-cover-big-image",{"is-masked":r.lyricsStore.pane}]),onClick:t[0]||(t[0]=d=>s.open_dialog(s.track))},null,8,["url","artist","album","class"]),r.lyricsStore.pane?(x(),ve(a,{key:0})):Q("",!0),v(l,{value:s.track_progress,"onUpdate:value":t[1]||(t[1]=d=>s.track_progress=d),class:"mt-5",disabled:s.is_live,max:s.track_progress_max,cursor:o.cursor,onChange:s.seek,onMousedown:s.start_dragging,onMouseup:s.end_dragging},null,8,["value","disabled","max","cursor","onChange","onMousedown","onMouseup"]),u("div",B9,[u("p",{class:"subtitle is-7",textContent:y(s.track_elapsed_time)},null,8,W9),u("p",{class:"subtitle is-7",textContent:y(s.track_total_time)},null,8,q9)]),u("p",{class:"title is-5",textContent:y(s.track.title)},null,8,G9),u("p",{class:"title is-6",textContent:y(s.track.artist)},null,8,K9),s.composer?(x(),I("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:y(s.composer)},null,8,Z9)):Q("",!0),s.track.album?(x(),I("p",{key:2,class:"subtitle is-6",textContent:y(s.track.album)},null,8,Y9)):Q("",!0),r.settingsStore.show_filepath_now_playing?(x(),I("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:y(s.track.path)},null,8,X9)):Q("",!0)])])):(x(),I("div",J9,[u("div",Q9,[u("p",{class:"title is-5",textContent:y(e.$t("page.now-playing.title"))},null,8,eH),u("p",{class:"subtitle",textContent:y(e.$t("page.now-playing.info"))},null,8,tH)])])),v(c,{show:o.show_details_modal,item:o.selected_item,onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["show","item"])])}const rH=le(V9,[["render",nH]]),ka={load(e){return Promise.all([B.library_playlist(e.params.id),B.library_playlist_folder(e.params.id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new Ee(t[1].data)}},oH={name:"PagePlaylistFolder",components:{ContentWithHeading:et,ListPlaylists:wl},beforeRouteEnter(e,t,n){ka.load(e).then(r=>{n(o=>ka.set(o,r))})},beforeRouteUpdate(e,t,n){ka.load(e).then(r=>{ka.set(this,r),n()})},setup(){return{configurationStore:Fo()}},data(){return{playlist:{},playlists_list:new Ee}},computed:{playlists(){return this.playlists_list.group({filters:[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]})},radio_playlists(){return this.configurationStore.radio_playlists}}},sH=["textContent"],iH=["textContent"];function aH(e,t,n,r,o,s){const i=O("list-playlists"),a=O("content-with-heading");return x(),I("div",null,[v(a,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(o.playlist.id===0?e.$t("page.playlists.title"):o.playlist.name)},null,8,sH),u("p",{class:"heading",textContent:y(e.$t("page.playlists.count",{count:s.playlists.count}))},null,8,iH)]),content:N(()=>[v(i,{items:s.playlists},null,8,["items"])]),_:1})])}const lH=le(oH,[["render",aH]]),Th={load(e){return Promise.all([B.library_playlist(e.params.id),B.library_playlist_tracks(e.params.id)])},set(e,t){e.playlist=t[0].data,e.tracks=new Ee(t[1].data)}},uH={name:"PagePlaylistTracks",components:{ContentWithHeading:et,ListTracks:Cn,ModalDialogPlaylist:zz},beforeRouteEnter(e,t,n){Th.load(e).then(r=>{n(o=>Th.set(o,r))})},data(){return{playlist:{},show_details_modal:!1,tracks:new Ee}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join():this.playlist.uri}},methods:{play(){B.player_play_uri(this.uris,!0)}}},cH=["textContent"],dH={class:"buttons is-centered"},mH=["textContent"],fH=["textContent"];function pH(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-tracks"),l=O("modal-dialog-playlist"),c=O("content-with-heading");return x(),I("div",null,[v(c,null,{"heading-left":N(()=>[u("div",{class:"title is-4",textContent:y(o.playlist.name)},null,8,cH)]),"heading-right":N(()=>[u("div",dH,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[v(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.playlist.shuffle"))},null,8,mH)])])]),content:N(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.playlist.track-count",{count:o.tracks.count}))},null,8,fH),v(a,{items:o.tracks,uris:s.uris},null,8,["items","uris"]),v(l,{item:o.playlist,show:o.show_details_modal,uris:s.uris,onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["item","show","uris"])]),_:1})])}const hH=le(uH,[["render",pH]]),pd=50,$h={load(e){const t=new dr;return t.setAccessToken(It().spotify.webapi_token),Promise.all([t.getPlaylist(e.params.id),t.getPlaylistTracks(e.params.id,{limit:pd,market:It().$state.spotify.webapi_country,offset:0})])},set(e,t){e.playlist=t.shift(),e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t.shift())}},_H={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:et,ListTracksSpotify:vl,ModalDialogPlaylistSpotify:bz,VueEternalLoading:vm},beforeRouteEnter(e,t,n){$h.load(e).then(r=>{n(o=>$h.set(o,r))})},setup(){return{servicesStore:It()}},data(){return{offset:0,playlist:{tracks:{}},show_playlist_details_modal:!1,total:0,tracks:[]}},methods:{append_tracks(e){let t=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));e.items.forEach(n=>{const{track:r}=n;r&&(r.is_playable&&(r.position=++t),this.tracks.push(r))}),this.total=e.total,this.offset+=e.limit},load_next({loaded:e}){const t=new dr;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:pd,market:this.servicesStore.spotify.webapi_country,offset:this.offset}).then(n=>{this.append_tracks(n),e(n.items.length,pd)})},play(){this.show_details_modal=!1,B.player_play_uri(this.playlist.uri,!0)}}},gH=["textContent"],yH={class:"buttons is-centered"},zH=["textContent"],bH=["textContent"],vH={class:"columns is-centered"},CH={class:"column has-text-centered"};function wH(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-tracks-spotify"),l=O("VueEternalLoading"),c=O("modal-dialog-playlist-spotify"),d=O("content-with-heading");return x(),I("div",null,[v(d,null,{"heading-left":N(()=>[u("div",{class:"title is-4",textContent:y(o.playlist.name)},null,8,gH)]),"heading-right":N(()=>[u("div",yH,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_playlist_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[v(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:y(e.$t("page.spotify.playlist.shuffle"))},null,8,zH)])])]),content:N(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.spotify.playlist.count",{count:o.playlist.tracks.total}))},null,8,bH),v(a,{items:o.tracks,context_uri:o.playlist.uri},null,8,["items","context_uri"]),o.offset<o.total?(x(),ve(l,{key:0,load:s.load_next},{loading:N(()=>[u("div",vH,[u("div",CH,[v(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":N(()=>t[3]||(t[3]=[u("br",null,null,-1)])),_:1},8,["load"])):Q("",!0),v(c,{item:o.playlist,show:o.show_playlist_details_modal,onClose:t[2]||(t[2]=m=>o.show_playlist_details_modal=!1)},null,8,["item","show"])]),_:1})])}const SH=le(_H,[["render",wH]]),Ah={load(e){return Promise.all([B.library_album(e.params.id),B.library_podcast_episodes(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data.tracks)}},kH={name:"PagePodcast",components:{ContentWithHero:zu,CoverArtwork:Ur,ListTracks:Cn,ModalDialog:am,ModalDialogAlbum:bu},beforeRouteEnter(e,t,n){Ah.load(e).then(r=>{n(o=>Ah.set(o,r))})},data(){return{album:{},rss_playlist_to_remove:{},show_details_modal:!1,show_remove_podcast_modal:!1,tracks:new Ee}},methods:{open_remove_podcast_dialog(){B.library_track_playlists(this.tracks.items[0].id).then(({data:e})=>{[this.rss_playlist_to_remove]=e.items.filter(t=>t.type==="rss"),this.show_remove_podcast_modal=!0,this.show_details_modal=!1})},play(){B.player_play_uri(this.album.uri,!1)},reload_tracks(){B.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new Ee(e.tracks)})},remove_podcast(){this.show_remove_podcast_modal=!1,B.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({name:"podcasts"})})}}},xH=["textContent"],EH={class:"buttons fd-is-centered-mobile mt-5"},TH=["textContent"],$H=["textContent"],AH=["textContent"],OH={class:"is-size-7"},PH=["textContent"],IH=["textContent"];function LH(e,t,n,r,o,s){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),c=O("modal-dialog-album"),d=O("modal-dialog"),m=O("content-with-hero");return x(),I("div",null,[v(m,null,{"heading-left":N(()=>[u("h1",{class:"title is-5",textContent:y(o.album.name)},null,8,xH),t[5]||(t[5]=u("h2",{class:"subtitle is-6"},[u("br")],-1)),u("div",EH,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[0]||(t[0]=(...f)=>s.play&&s.play(...f))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{textContent:y(e.$t("page.podcast.play"))},null,8,TH)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[v(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":N(()=>[v(a,{url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[2]||(t[2]=f=>o.show_details_modal=!0)},null,8,["url","artist","album"])]),content:N(()=>[u("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.podcast.track-count",{count:o.album.track_count}))},null,8,$H),v(l,{items:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_tracks},null,8,["items","onPlayCountChanged"]),v(c,{item:o.album,show:o.show_details_modal,media_kind:"podcast",onClose:t[3]||(t[3]=f=>o.show_details_modal=!1),onPlayCountChanged:s.reload_tracks,onRemovePodcast:s.open_remove_podcast_dialog},null,8,["item","show","onPlayCountChanged","onRemovePodcast"]),v(d,{show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),close_action:e.$t("page.podcast.cancel"),delete_action:e.$t("page.podcast.remove"),onClose:t[4]||(t[4]=f=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":N(()=>[u("p",{textContent:y(e.$t("page.podcast.remove-info-1"))},null,8,AH),u("p",OH,[t[6]||(t[6]=Mt(" (")),u("span",{textContent:y(e.$t("page.podcast.remove-info-2"))},null,8,PH),u("b",{textContent:y(o.rss_playlist_to_remove.name)},null,8,IH),t[7]||(t[7]=Mt(") "))])]),_:1},8,["show","title","close_action","delete_action","onDelete"])]),_:1})])}const NH=le(kH,[["render",LH]]),DH={name:"ModalDialogAddRss",props:{show:Boolean},emits:["close","podcast-added"],data(){return{disabled:!0,loading:!1,url:""}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream(){this.loading=!0,B.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})},check_url(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing}}},RH={key:0,class:"modal is-active"},MH={class:"modal-content"},FH={class:"card-content"},VH=["textContent"],HH={class:"field"},UH={class:"control has-icons-left"},jH=["placeholder","disabled"],BH=["textContent"],WH={key:0,class:"card-footer"},qH={class:"card-footer-item has-text-dark"},GH=["textContent"],KH={key:1,class:"card-footer is-clipped"},ZH=["textContent"],YH=["textContent"];function XH(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",RH,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",MH,[u("form",{class:"card",onSubmit:t[5]||(t[5]=bt((...a)=>s.add_stream&&s.add_stream(...a),["prevent"]))},[u("div",FH,[u("p",{class:"title is-4",textContent:y(e.$t("dialog.add.rss.title"))},null,8,VH),u("div",HH,[u("p",UH,[gt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:o.loading,onInput:t[2]||(t[2]=(...a)=>s.check_url&&s.check_url(...a))},null,40,jH),[[vn,o.url]]),v(i,{class:"icon is-left",name:"rss",size:"16"})]),u("p",{class:"help",textContent:y(e.$t("dialog.add.rss.help"))},null,8,BH)])]),o.loading?(x(),I("footer",WH,[u("a",qH,[v(i,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.processing"))},null,8,GH)])])):(x(),I("footer",KH,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.cancel"))},null,8,ZH)]),u("a",{class:Se([{"is-disabled":o.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[4]||(t[4]=(...a)=>s.add_stream&&s.add_stream(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.add"))},null,8,YH)],2)]))],32)]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const JH=le(DH,[["render",XH]]),Oh={load(e){return Promise.all([B.library_albums("podcast"),B.library_podcasts_new_episodes()])},set(e,t){e.albums=new Ee(t[0].data),e.tracks=new Ee(t[1].data.tracks)}},QH={name:"PagePodcasts",components:{ContentWithHeading:et,ListAlbums:xn,ListTracks:Cn,ModalDialogAddRss:JH},beforeRouteEnter(e,t,n){Oh.load(e).then(r=>{n(o=>Oh.set(o,r))})},setup(){return{libraryStore:uu(),uiStore:wn()}},data(){return{albums:[],tracks:{items:[]},show_url_modal:!1}},computed:{rss(){return this.libraryStore.rss}},methods:{mark_all_played(){this.tracks.items.forEach(e=>{B.library_track_update(e.id,{play_count:"increment"})}),this.tracks.items={}},open_add_podcast_dialog(){this.show_url_modal=!0},reload_new_episodes(){B.library_podcasts_new_episodes().then(({data:e})=>{this.tracks=new Ee(e.tracks)})},reload_podcasts(){B.library_albums("podcast").then(({data:e})=>{this.albums=new Ee(e),this.reload_new_episodes()})},update_rss(){this.libraryStore.update_dialog_scan_kind="rss",this.uiStore.show_update_dialog=!0}}},eU=["textContent"],tU={class:"buttons is-centered"},nU=["textContent"],rU=["textContent"],oU=["textContent"],sU={class:"buttons is-centered"},iU=["textContent"],aU=["textContent"];function lU(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-tracks"),l=O("content-with-heading"),c=O("list-albums"),d=O("modal-dialog-add-rss");return x(),I("div",null,[o.tracks.items.length>0?(x(),ve(l,{key:0},{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.podcasts.new-episodes"))},null,8,eU)]),"heading-right":N(()=>[u("div",tU,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=(...m)=>s.mark_all_played&&s.mark_all_played(...m))},[v(i,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:y(e.$t("page.podcasts.mark-all-played"))},null,8,nU)])])]),content:N(()=>[v(a,{items:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_new_episodes},null,8,["items","onPlayCountChanged"])]),_:1})):Q("",!0),v(l,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.podcasts.title"))},null,8,rU),u("p",{class:"heading",textContent:y(e.$t("page.podcasts.count",{count:o.albums.total}))},null,8,oU)]),"heading-right":N(()=>[u("div",sU,[s.rss.tracks>0?(x(),I("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...m)=>s.update_rss&&s.update_rss(...m))},[v(i,{class:"icon",name:"refresh",size:"16"}),u("span",{textContent:y(e.$t("page.podcasts.update"))},null,8,iU)])):Q("",!0),u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...m)=>s.open_add_podcast_dialog&&s.open_add_podcast_dialog(...m))},[v(i,{class:"icon",name:"rss",size:"16"}),u("span",{textContent:y(e.$t("page.podcasts.add"))},null,8,aU)])])]),content:N(()=>[v(c,{items:o.albums,onPlayCountChanged:t[3]||(t[3]=m=>s.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=m=>s.reload_podcasts())},null,8,["items"]),v(d,{show:o.show_url_modal,onClose:t[5]||(t[5]=m=>o.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=m=>s.reload_podcasts())},null,8,["show"])]),_:1})])}const uU=le(QH,[["render",lU]]),cU={name:"ListItemQueueItem",props:{current_position:{required:!0,type:Number},edit_mode:Boolean,item:{required:!0,type:Object},position:{required:!0,type:Number},show_only_next_items:Boolean},setup(){return{playerStore:On()}},computed:{is_next(){return this.current_position<0||this.position>=this.current_position},player(){return this.playerStore}},methods:{play(){B.player_play({item_id:this.item.id})}}},dU={key:0,class:"media is-align-items-center"},mU={key:0,class:"media-left"},fU=["textContent"],pU=["textContent"],hU=["textContent"],_U={class:"media-right"};function gU(e,t,n,r,o,s){const i=O("mdicon");return s.is_next||!n.show_only_next_items?(x(),I("div",dU,[n.edit_mode?(x(),I("div",mU,[v(i,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):Q("",!0),u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>s.play&&s.play(...a))},[u("h1",{class:Se(["title is-6",{"has-text-primary":n.item.id===s.player.item_id,"has-text-grey-light":!s.is_next}]),textContent:y(n.item.title)},null,10,fU),u("h2",{class:Se(["subtitle is-7 has-text-weight-bold",{"has-text-primary":n.item.id===s.player.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.player.item_id}]),textContent:y(n.item.artist)},null,10,pU),u("h2",{class:Se(["subtitle is-7",{"has-text-primary":n.item.id===s.player.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.player.item_id}]),textContent:y(n.item.album)},null,10,hU)]),u("div",_U,[wt(e.$slots,"actions")])])):Q("",!0)}const yU=le(cU,[["render",gU]]),zU={name:"ModalDialogAddUrlStream",props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,url:""}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream(){this.loading=!0,B.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},check_url(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing},play(){this.loading=!0,B.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},bU={key:0,class:"modal is-active"},vU={class:"modal-content"},CU={class:"card-content"},wU=["textContent"],SU={class:"field"},kU={class:"control has-icons-left"},xU=["placeholder","disabled"],EU={key:0,class:"card-footer"},TU={class:"card-footer-item has-text-dark"},$U=["textContent"],AU={key:1,class:"card-footer is-clipped"},OU=["textContent"],PU=["textContent"],IU=["textContent"];function LU(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",bU,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",vU,[u("form",{class:"card",onSubmit:t[6]||(t[6]=bt((...a)=>s.play&&s.play(...a),["prevent"]))},[u("div",CU,[u("p",{class:"title is-4",textContent:y(e.$t("dialog.add.stream.title"))},null,8,wU),u("div",SU,[u("p",kU,[gt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:o.loading,onInput:t[2]||(t[2]=(...a)=>s.check_url&&s.check_url(...a))},null,40,xU),[[vn,o.url]]),v(i,{class:"icon is-left",name:"web",size:"16"})])])]),o.loading?(x(),I("footer",EU,[u("a",TU,[v(i,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.loading"))},null,8,$U)])])):(x(),I("footer",AU,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.cancel"))},null,8,OU)]),u("a",{class:Se([{"is-disabled":o.disabled},"card-footer-item has-text-dark"]),onClick:t[4]||(t[4]=(...a)=>s.add_stream&&s.add_stream(...a))},[v(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.add"))},null,8,PU)],2),u("a",{class:Se([{"is-disabled":o.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[v(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.play"))},null,8,IU)],2)]))],32)]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const NU=le(zU,[["render",LU]]),DU={name:"ModalDialogPlaylistSave",props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,playlist_name:""}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{check_name(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing},save(){this.loading=!0,B.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1})}}},RU={key:0,class:"modal is-active"},MU={class:"modal-content"},FU={class:"card-content"},VU=["textContent"],HU={class:"field"},UU={class:"control has-icons-left"},jU=["placeholder","disabled"],BU={key:0,class:"card-footer"},WU={class:"card-footer-item has-text-dark"},qU=["textContent"],GU={key:1,class:"card-footer is-clipped"},KU=["textContent"],ZU=["textContent"];function YU(e,t,n,r,o,s){const i=O("mdicon");return x(),ve(Bt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",RU,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",MU,[u("form",{class:"card",onSubmit:t[5]||(t[5]=bt((...a)=>s.save&&s.save(...a),["prevent"]))},[u("div",FU,[u("p",{class:"title is-4",textContent:y(e.$t("dialog.playlist.save.title"))},null,8,VU),u("div",HU,[u("p",UU,[gt(u("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.playlist_name=a),class:"input is-shadowless",type:"text",pattern:".+",required:"",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:o.loading,onInput:t[2]||(t[2]=(...a)=>s.check_name&&s.check_name(...a))},null,40,jU),[[vn,o.playlist_name]]),v(i,{class:"icon is-left",name:"file-music",size:"16"})])])]),o.loading?(x(),I("footer",BU,[u("a",WU,[v(i,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.saving"))},null,8,qU)])])):(x(),I("footer",GU,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[v(i,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.cancel"))},null,8,KU)]),u("a",{class:Se([{"is-disabled":o.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[4]||(t[4]=(...a)=>s.save&&s.save(...a))},[v(i,{class:"icon",name:"content-save",size:"16"}),u("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.save"))},null,8,ZU)],2)]))],32)]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})}const XU=le(DU,[["render",YU]]);var Cz={exports:{}};/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function Ph(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Sr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ph(Object(n),!0).forEach(function(r){JU(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ph(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ba(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ba=function(t){return typeof t}:Ba=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ba(e)}function JU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wn(){return Wn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wn.apply(this,arguments)}function QU(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function ej(e,t){if(e==null)return{};var n=QU(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function tj(e){return nj(e)||rj(e)||oj(e)||sj()}function nj(e){if(Array.isArray(e))return hd(e)}function rj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oj(e,t){if(e){if(typeof e=="string")return hd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hd(e,t)}}function hd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sj(){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 ij="1.14.0";function Dr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var jr=Dr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),ta=Dr(/Edge/i),Ih=Dr(/firefox/i),bi=Dr(/safari/i)&&!Dr(/chrome/i)&&!Dr(/android/i),wz=Dr(/iP(ad|od|hone)/i),aj=Dr(/chrome/i)&&Dr(/android/i),Sz={capture:!1,passive:!1};function Ze(e,t,n){e.addEventListener(t,n,!jr&&Sz)}function qe(e,t,n){e.removeEventListener(t,n,!jr&&Sz)}function kl(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function lj(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Qn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&kl(e,t):kl(e,t))||r&&e===n)return e;if(e===n)break}while(e=lj(e))}return null}var Lh=/\s+/g;function kt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Lh," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Lh," ")}}function Ce(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function No(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Ce(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function kz(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,s=r.length;if(n)for(;o<s;o++)n(r[o],o);return r}return[]}function Cr(){var e=document.scrollingElement;return e||document.documentElement}function Ct(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var s,i,a,l,c,d,m;if(e!==window&&e.parentNode&&e!==Cr()?(s=e.getBoundingClientRect(),i=s.top,a=s.left,l=s.bottom,c=s.right,d=s.height,m=s.width):(i=0,a=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,m=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!jr))do if(o&&o.getBoundingClientRect&&(Ce(o,"transform")!=="none"||n&&Ce(o,"position")!=="static")){var f=o.getBoundingClientRect();i-=f.top+parseInt(Ce(o,"border-top-width")),a-=f.left+parseInt(Ce(o,"border-left-width")),l=i+s.height,c=a+s.width;break}while(o=o.parentNode);if(r&&e!==window){var p=No(o||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,m/=h,d/=_,l=i+d,c=a+m)}return{top:i,left:a,bottom:l,right:c,width:m,height:d}}}function Nh(e,t,n){for(var r=ao(e,!0),o=Ct(e)[t];r;){var s=Ct(r)[n],i=void 0;if(i=o>=s,!i)return r;if(r===Cr())break;r=ao(r,!1)}return!1}function $s(e,t,n,r){for(var o=0,s=0,i=e.children;s<i.length;){if(i[s].style.display!=="none"&&i[s]!==Ie.ghost&&(r||i[s]!==Ie.dragged)&&Qn(i[s],n.draggable,e,!1)){if(o===t)return i[s];o++}s++}return null}function km(e,t){for(var n=e.lastElementChild;n&&(n===Ie.ghost||Ce(n,"display")==="none"||t&&!kl(n,t));)n=n.previousElementSibling;return n||null}function Ot(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Ie.clone&&(!t||kl(e,t))&&n++;return n}function Dh(e){var t=0,n=0,r=Cr();if(e)do{var o=No(e),s=o.a,i=o.d;t+=e.scrollLeft*s,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function uj(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function ao(e,t){if(!e||!e.getBoundingClientRect)return Cr();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=Ce(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return Cr();if(r||t)return n;r=!0}}while(n=n.parentNode);return Cr()}function cj(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function sc(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var vi;function xz(e,t){return function(){if(!vi){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),vi=setTimeout(function(){vi=void 0},t)}}}function dj(){clearTimeout(vi),vi=void 0}function Ez(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function xm(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Rh(e,t){Ce(e,"position","absolute"),Ce(e,"top",t.top),Ce(e,"left",t.left),Ce(e,"width",t.width),Ce(e,"height",t.height)}function ic(e){Ce(e,"position",""),Ce(e,"top",""),Ce(e,"left",""),Ce(e,"width",""),Ce(e,"height","")}var Qt="Sortable"+new Date().getTime();function mj(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(o){if(!(Ce(o,"display")==="none"||o===Ie.ghost)){e.push({target:o,rect:Ct(o)});var s=Sr({},e[e.length-1].rect);if(o.thisAnimationDuration){var i=No(o,!0);i&&(s.top-=i.f,s.left-=i.e)}o.fromRect=s}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(uj(e,{target:r}),1)},animateAll:function(r){var o=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var s=!1,i=0;e.forEach(function(a){var l=0,c=a.target,d=c.fromRect,m=Ct(c),f=c.prevFromRect,p=c.prevToRect,h=a.rect,_=No(c,!0);_&&(m.top-=_.f,m.left-=_.e),c.toRect=m,c.thisAnimationDuration&&sc(f,m)&&!sc(d,m)&&(h.top-m.top)/(h.left-m.left)===(d.top-m.top)/(d.left-m.left)&&(l=pj(h,f,p,o.options)),sc(m,d)||(c.prevFromRect=d,c.prevToRect=m,l||(l=o.options.animation),o.animate(c,h,m,l)),l&&(s=!0,i=Math.max(i,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(t),s?t=setTimeout(function(){typeof r=="function"&&r()},i):typeof r=="function"&&r(),e=[]},animate:function(r,o,s,i){if(i){Ce(r,"transition",""),Ce(r,"transform","");var a=No(this.el),l=a&&a.a,c=a&&a.d,d=(o.left-s.left)/(l||1),m=(o.top-s.top)/(c||1);r.animatingX=!!d,r.animatingY=!!m,Ce(r,"transform","translate3d("+d+"px,"+m+"px,0)"),this.forRepaintDummy=fj(r),Ce(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),Ce(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Ce(r,"transition",""),Ce(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function fj(e){return e.offsetWidth}function pj(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}var Jo=[],ac={initializeByDefault:!0},na={mount:function(t){for(var n in ac)ac.hasOwnProperty(n)&&!(n in t)&&(t[n]=ac[n]);Jo.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Jo.push(t)},pluginEvent:function(t,n,r){var o=this;this.eventCanceled=!1,r.cancel=function(){o.eventCanceled=!0};var s=t+"Global";Jo.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][s]&&n[i.pluginName][s](Sr({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](Sr({sortable:n},r)))})},initializePlugins:function(t,n,r,o){Jo.forEach(function(a){var l=a.pluginName;if(!(!t.options[l]&&!a.initializeByDefault)){var c=new a(t,n,t.options);c.sortable=t,c.options=t.options,t[l]=c,Wn(r,c.defaults)}});for(var s in t.options)if(t.options.hasOwnProperty(s)){var i=this.modifyOption(t,s,t.options[s]);typeof i<"u"&&(t.options[s]=i)}},getEventProperties:function(t,n){var r={};return Jo.forEach(function(o){typeof o.eventProperties=="function"&&Wn(r,o.eventProperties.call(n[o.pluginName],t))}),r},modifyOption:function(t,n,r){var o;return Jo.forEach(function(s){t[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[n]=="function"&&(o=s.optionListeners[n].call(t[s.pluginName],r))}),o}};function ri(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,s=e.cloneEl,i=e.toEl,a=e.fromEl,l=e.oldIndex,c=e.newIndex,d=e.oldDraggableIndex,m=e.newDraggableIndex,f=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[Qt],!!t){var _,b=t.options,C="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!jr&&!ta?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=i||n,_.from=a||n,_.item=o||n,_.clone=s,_.oldIndex=l,_.newIndex=c,_.oldDraggableIndex=d,_.newDraggableIndex=m,_.originalEvent=f,_.pullMode=p?p.lastPutMode:void 0;var w=Sr(Sr({},h),na.getEventProperties(r,t));for(var g in w)_[g]=w[g];n&&n.dispatchEvent(_),b[C]&&b[C].call(t,_)}}var hj=["evt"],fn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,s=ej(r,hj);na.pluginEvent.bind(Ie)(t,n,Sr({dragEl:he,parentEl:Et,ghostEl:je,rootEl:vt,nextEl:To,lastDownEl:Wa,cloneEl:Tt,cloneHidden:io,dragStarted:oi,putSortable:Wt,activeSortable:Ie.active,originalEvent:o,oldIndex:ds,oldDraggableIndex:Ci,newIndex:kn,newDraggableIndex:oo,hideGhostForTarget:Oz,unhideGhostForTarget:Pz,cloneNowHidden:function(){io=!0},cloneNowShown:function(){io=!1},dispatchSortableEvent:function(a){rn({sortable:n,name:a,originalEvent:o})}},s))};function rn(e){ri(Sr({putSortable:Wt,cloneEl:Tt,targetEl:he,rootEl:vt,oldIndex:ds,oldDraggableIndex:Ci,newIndex:kn,newDraggableIndex:oo},e))}var he,Et,je,vt,To,Wa,Tt,io,ds,kn,Ci,oo,xa,Wt,as=!1,xl=!1,El=[],xo,Xn,lc,uc,Mh,Fh,oi,Qo,wi,Si=!1,Ea=!1,qa,Gt,cc=[],_d=!1,Tl=[],Cu=typeof document<"u",Ta=wz,Vh=ta||jr?"cssFloat":"float",_j=Cu&&!aj&&!wz&&"draggable"in document.createElement("div"),Tz=function(){if(Cu){if(jr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),$z=function(t,n){var r=Ce(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=$s(t,0,n),i=$s(t,1,n),a=s&&Ce(s),l=i&&Ce(i),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Ct(s).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Ct(i).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===m)?"vertical":"horizontal"}return s&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=o&&r[Vh]==="none"||i&&r[Vh]==="none"&&c+d>o)?"vertical":"horizontal"},gj=function(t,n,r){var o=r?t.left:t.top,s=r?t.right:t.bottom,i=r?t.width:t.height,a=r?n.left:n.top,l=r?n.right:n.bottom,c=r?n.width:n.height;return o===a||s===l||o+i/2===a+c/2},yj=function(t,n){var r;return El.some(function(o){var s=o[Qt].options.emptyInsertThreshold;if(!(!s||km(o))){var i=Ct(o),a=t>=i.left-s&&t<=i.right+s,l=n>=i.top-s&&n<=i.bottom+s;if(a&&l)return r=o}}),r},Az=function(t){function n(s,i){return function(a,l,c,d){var m=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(s==null&&(i||m))return!0;if(s==null||s===!1)return!1;if(i&&s==="clone")return s;if(typeof s=="function")return n(s(a,l,c,d),i)(a,l,c,d);var f=(i?a:l).options.group.name;return s===!0||typeof s=="string"&&s===f||s.join&&s.indexOf(f)>-1}}var r={},o=t.group;(!o||Ba(o)!="object")&&(o={name:o}),r.name=o.name,r.checkPull=n(o.pull,!0),r.checkPut=n(o.put),r.revertClone=o.revertClone,t.group=r},Oz=function(){!Tz&&je&&Ce(je,"display","none")},Pz=function(){!Tz&&je&&Ce(je,"display","")};Cu&&document.addEventListener("click",function(e){if(xl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),xl=!1,!1},!0);var Eo=function(t){if(he){t=t.touches?t.touches[0]:t;var n=yj(t.clientX,t.clientY);if(n){var r={};for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[Qt]._onDragOver(r)}}},zj=function(t){he&&he.parentNode[Qt]._isOutsideThisEl(t.target)};function Ie(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Wn({},t),e[Qt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return $z(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(i,a){i.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:Ie.supportPointer!==!1&&"PointerEvent"in window&&!bi,emptyInsertThreshold:5};na.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);Az(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:_j,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ze(e,"pointerdown",this._onTapStart):(Ze(e,"mousedown",this._onTapStart),Ze(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ze(e,"dragover",this),Ze(e,"dragenter",this)),El.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Wn(this,mj())}Ie.prototype={constructor:Ie,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Qo=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,he):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,o=this.options,s=o.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(a||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,d=o.filter;if(Ej(r),!he&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||o.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&bi&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Qn(l,o.draggable,r,!1),!(l&&l.animated)&&Wa!==l)){if(ds=Ot(l),Ci=Ot(l,o.draggable),typeof d=="function"){if(d.call(this,t,l,this)){rn({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:r,fromEl:r}),fn("filter",n,{evt:t}),s&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(m){if(m=Qn(c,m.trim(),r,!1),m)return rn({sortable:n,rootEl:m,name:"filter",targetEl:l,fromEl:r,toEl:r}),fn("filter",n,{evt:t}),!0}),d)){s&&t.cancelable&&t.preventDefault();return}o.handle&&!Qn(c,o.handle,r,!1)||this._prepareDragStart(t,a,l)}}},_prepareDragStart:function(t,n,r){var o=this,s=o.el,i=o.options,a=s.ownerDocument,l;if(r&&!he&&r.parentNode===s){var c=Ct(r);if(vt=s,he=r,Et=he.parentNode,To=he.nextSibling,Wa=r,xa=i.group,Ie.dragged=he,xo={target:he,clientX:(n||t).clientX,clientY:(n||t).clientY},Mh=xo.clientX-c.left,Fh=xo.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,he.style["will-change"]="all",l=function(){if(fn("delayEnded",o,{evt:t}),Ie.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!Ih&&o.nativeDraggable&&(he.draggable=!0),o._triggerDragStart(t,n),rn({sortable:o,name:"choose",originalEvent:t}),kt(he,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){kz(he,d.trim(),dc)}),Ze(a,"dragover",Eo),Ze(a,"mousemove",Eo),Ze(a,"touchmove",Eo),Ze(a,"mouseup",o._onDrop),Ze(a,"touchend",o._onDrop),Ze(a,"touchcancel",o._onDrop),Ih&&this.nativeDraggable&&(this.options.touchStartThreshold=4,he.draggable=!0),fn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(ta||jr))){if(Ie.eventCanceled){this._onDrop();return}Ze(a,"mouseup",o._disableDelayedDrag),Ze(a,"touchend",o._disableDelayedDrag),Ze(a,"touchcancel",o._disableDelayedDrag),Ze(a,"mousemove",o._delayedDragTouchMoveHandler),Ze(a,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&&Ze(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(l,i.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;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(){he&&dc(he),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;qe(t,"mouseup",this._disableDelayedDrag),qe(t,"touchend",this._disableDelayedDrag),qe(t,"touchcancel",this._disableDelayedDrag),qe(t,"mousemove",this._delayedDragTouchMoveHandler),qe(t,"touchmove",this._delayedDragTouchMoveHandler),qe(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?Ze(document,"pointermove",this._onTouchMove):n?Ze(document,"touchmove",this._onTouchMove):Ze(document,"mousemove",this._onTouchMove):(Ze(he,"dragend",this),Ze(vt,"dragstart",this._onDragStart));try{document.selection?Ga(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(as=!1,vt&&he){fn("dragStarted",this,{evt:n}),this.nativeDraggable&&Ze(document,"dragover",zj);var r=this.options;!t&&kt(he,r.dragClass,!1),kt(he,r.ghostClass,!0),Ie.active=this,t&&this._appendGhost(),rn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Xn){this._lastX=Xn.clientX,this._lastY=Xn.clientY,Oz();for(var t=document.elementFromPoint(Xn.clientX,Xn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Xn.clientX,Xn.clientY),t!==n);)n=t;if(he.parentNode[Qt]._isOutsideThisEl(t),n)do{if(n[Qt]){var r=void 0;if(r=n[Qt]._onDragOver({clientX:Xn.clientX,clientY:Xn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);Pz()}},_onTouchMove:function(t){if(xo){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,s=t.touches?t.touches[0]:t,i=je&&No(je,!0),a=je&&i&&i.a,l=je&&i&&i.d,c=Ta&&Gt&&Dh(Gt),d=(s.clientX-xo.clientX+o.x)/(a||1)+(c?c[0]-cc[0]:0)/(a||1),m=(s.clientY-xo.clientY+o.y)/(l||1)+(c?c[1]-cc[1]:0)/(l||1);if(!Ie.active&&!as){if(r&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(je){i?(i.e+=d-(lc||0),i.f+=m-(uc||0)):i={a:1,b:0,c:0,d:1,e:d,f:m};var f="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");Ce(je,"webkitTransform",f),Ce(je,"mozTransform",f),Ce(je,"msTransform",f),Ce(je,"transform",f),lc=d,uc=m,Xn=s}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!je){var t=this.options.fallbackOnBody?document.body:vt,n=Ct(he,!0,Ta,!0,t),r=this.options;if(Ta){for(Gt=t;Ce(Gt,"position")==="static"&&Ce(Gt,"transform")==="none"&&Gt!==document;)Gt=Gt.parentNode;Gt!==document.body&&Gt!==document.documentElement?(Gt===document&&(Gt=Cr()),n.top+=Gt.scrollTop,n.left+=Gt.scrollLeft):Gt=Cr(),cc=Dh(Gt)}je=he.cloneNode(!0),kt(je,r.ghostClass,!1),kt(je,r.fallbackClass,!0),kt(je,r.dragClass,!0),Ce(je,"transition",""),Ce(je,"transform",""),Ce(je,"box-sizing","border-box"),Ce(je,"margin",0),Ce(je,"top",n.top),Ce(je,"left",n.left),Ce(je,"width",n.width),Ce(je,"height",n.height),Ce(je,"opacity","0.8"),Ce(je,"position",Ta?"absolute":"fixed"),Ce(je,"zIndex","100000"),Ce(je,"pointerEvents","none"),Ie.ghost=je,t.appendChild(je),Ce(je,"transform-origin",Mh/parseInt(je.style.width)*100+"% "+Fh/parseInt(je.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,o=t.dataTransfer,s=r.options;if(fn("dragStart",this,{evt:t}),Ie.eventCanceled){this._onDrop();return}fn("setupClone",this),Ie.eventCanceled||(Tt=xm(he),Tt.draggable=!1,Tt.style["will-change"]="",this._hideClone(),kt(Tt,this.options.chosenClass,!1),Ie.clone=Tt),r.cloneId=Ga(function(){fn("clone",r),!Ie.eventCanceled&&(r.options.removeCloneOnHide||vt.insertBefore(Tt,he),r._hideClone(),rn({sortable:r,name:"clone"}))}),!n&&kt(he,s.dragClass,!0),n?(xl=!0,r._loopId=setInterval(r._emulateDragOver,50)):(qe(document,"mouseup",r._onDrop),qe(document,"touchend",r._onDrop),qe(document,"touchcancel",r._onDrop),o&&(o.effectAllowed="move",s.setData&&s.setData.call(r,o,he)),Ze(document,"drop",r),Ce(he,"transform","translateZ(0)")),as=!0,r._dragStartId=Ga(r._dragStarted.bind(r,n,t)),Ze(document,"selectstart",r),oi=!0,bi&&Ce(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,o,s,i,a=this.options,l=a.group,c=Ie.active,d=xa===l,m=a.sort,f=Wt||c,p,h=this,_=!1;if(_d)return;function b(ue,Ne){fn(ue,h,Sr({evt:t,isOwner:d,axis:p?"vertical":"horizontal",revert:i,dragRect:o,targetRect:s,canSort:m,fromSortable:f,target:r,completed:w,onMove:function(Ve,He){return $a(vt,n,he,o,Ve,Ct(Ve),t,He)},changed:g},Ne))}function C(){b("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function w(ue){return b("dragOverCompleted",{insertion:ue}),ue&&(d?c._hideClone():c._showClone(h),h!==f&&(kt(he,Wt?Wt.options.ghostClass:c.options.ghostClass,!1),kt(he,a.ghostClass,!0)),Wt!==h&&h!==Ie.active?Wt=h:h===Ie.active&&Wt&&(Wt=null),f===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){b("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(r===he&&!he.animated||r===n&&!r.animated)&&(Qo=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(he.parentNode[Qt]._isOutsideThisEl(t.target),!ue&&Eo(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function g(){kn=Ot(he),oo=Ot(he,a.draggable),rn({sortable:h,name:"change",toEl:n,newIndex:kn,newDraggableIndex:oo,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Qn(r,a.draggable,n,!0),b("dragOver"),Ie.eventCanceled)return _;if(he.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return w(!1);if(xl=!1,c&&!a.disabled&&(d?m||(i=Et!==vt):Wt===this||(this.lastPutMode=xa.checkPull(this,c,he,t))&&l.checkPut(this,c,he,t))){if(p=this._getDirection(t,r)==="vertical",o=Ct(he),b("dragOverValid"),Ie.eventCanceled)return _;if(i)return Et=vt,C(),this._hideClone(),b("revert"),Ie.eventCanceled||(To?vt.insertBefore(he,To):vt.appendChild(he)),w(!0);var z=km(n,a.draggable);if(!z||wj(t,p,this)&&!z.animated){if(z===he)return w(!1);if(z&&n===t.target&&(r=z),r&&(s=Ct(r)),$a(vt,n,he,o,r,s,t,!!r)!==!1)return C(),n.appendChild(he),Et=n,g(),w(!0)}else if(z&&Cj(t,p,this)){var S=$s(n,0,a,!0);if(S===he)return w(!1);if(r=S,s=Ct(r),$a(vt,n,he,o,r,s,t,!1)!==!1)return C(),n.insertBefore(he,S),Et=n,g(),w(!0)}else if(r.parentNode===n){s=Ct(r);var k=0,L,D=he.parentNode!==n,T=!gj(he.animated&&he.toRect||o,r.animated&&r.toRect||s,p),F=p?"top":"left",G=Nh(r,"top","top")||Nh(he,"top","top"),U=G?G.scrollTop:void 0;Qo!==r&&(L=s[F],Si=!1,Ea=!T&&a.invertSwap||D),k=Sj(t,r,s,p,T?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Ea,Qo===r);var W;if(k!==0){var ee=Ot(he);do ee-=k,W=Et.children[ee];while(W&&(Ce(W,"display")==="none"||W===je))}if(k===0||W===r)return w(!1);Qo=r,wi=k;var fe=r.nextElementSibling,K=!1;K=k===1;var ne=$a(vt,n,he,o,r,s,t,K);if(ne!==!1)return(ne===1||ne===-1)&&(K=ne===1),_d=!0,setTimeout(vj,30),C(),K&&!fe?n.appendChild(he):r.parentNode.insertBefore(he,K?fe:r),G&&Ez(G,0,U-G.scrollTop),Et=he.parentNode,L!==void 0&&!Ea&&(qa=Math.abs(L-Ct(r)[F])),g(),w(!0)}if(n.contains(he))return w(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){qe(document,"mousemove",this._onTouchMove),qe(document,"touchmove",this._onTouchMove),qe(document,"pointermove",this._onTouchMove),qe(document,"dragover",Eo),qe(document,"mousemove",Eo),qe(document,"touchmove",Eo)},_offUpEvents:function(){var t=this.el.ownerDocument;qe(t,"mouseup",this._onDrop),qe(t,"touchend",this._onDrop),qe(t,"pointerup",this._onDrop),qe(t,"touchcancel",this._onDrop),qe(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(kn=Ot(he),oo=Ot(he,r.draggable),fn("drop",this,{evt:t}),Et=he&&he.parentNode,kn=Ot(he),oo=Ot(he,r.draggable),Ie.eventCanceled){this._nulling();return}as=!1,Ea=!1,Si=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),gd(this.cloneId),gd(this._dragStartId),this.nativeDraggable&&(qe(document,"drop",this),qe(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),bi&&Ce(document.body,"user-select",""),Ce(he,"transform",""),t&&(oi&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),je&&je.parentNode&&je.parentNode.removeChild(je),(vt===Et||Wt&&Wt.lastPutMode!=="clone")&&Tt&&Tt.parentNode&&Tt.parentNode.removeChild(Tt),he&&(this.nativeDraggable&&qe(he,"dragend",this),dc(he),he.style["will-change"]="",oi&&!as&&kt(he,Wt?Wt.options.ghostClass:this.options.ghostClass,!1),kt(he,this.options.chosenClass,!1),rn({sortable:this,name:"unchoose",toEl:Et,newIndex:null,newDraggableIndex:null,originalEvent:t}),vt!==Et?(kn>=0&&(rn({rootEl:Et,name:"add",toEl:Et,fromEl:vt,originalEvent:t}),rn({sortable:this,name:"remove",toEl:Et,originalEvent:t}),rn({rootEl:Et,name:"sort",toEl:Et,fromEl:vt,originalEvent:t}),rn({sortable:this,name:"sort",toEl:Et,originalEvent:t})),Wt&&Wt.save()):kn!==ds&&kn>=0&&(rn({sortable:this,name:"update",toEl:Et,originalEvent:t}),rn({sortable:this,name:"sort",toEl:Et,originalEvent:t})),Ie.active&&((kn==null||kn===-1)&&(kn=ds,oo=Ci),rn({sortable:this,name:"end",toEl:Et,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){fn("nulling",this),vt=he=Et=je=To=Tt=Wa=io=xo=Xn=oi=kn=oo=ds=Ci=Qo=wi=Wt=xa=Ie.dragged=Ie.ghost=Ie.clone=Ie.active=null,Tl.forEach(function(t){t.checked=!0}),Tl.length=lc=uc=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":he&&(this._onDragOver(t),bj(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,o=0,s=r.length,i=this.options;o<s;o++)n=r[o],Qn(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||xj(n));return t},sort:function(t,n){var r={},o=this.el;this.toArray().forEach(function(s,i){var a=o.children[i];Qn(a,this.options.draggable,o,!1)&&(r[s]=a)},this),n&&this.captureAnimationState(),t.forEach(function(s){r[s]&&(o.removeChild(r[s]),o.appendChild(r[s]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return Qn(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var o=na.modifyOption(this,t,n);typeof o<"u"?r[t]=o:r[t]=n,t==="group"&&Az(r)},destroy:function(){fn("destroy",this);var t=this.el;t[Qt]=null,qe(t,"mousedown",this._onTapStart),qe(t,"touchstart",this._onTapStart),qe(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(qe(t,"dragover",this),qe(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),El.splice(El.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!io){if(fn("hideClone",this),Ie.eventCanceled)return;Ce(Tt,"display","none"),this.options.removeCloneOnHide&&Tt.parentNode&&Tt.parentNode.removeChild(Tt),io=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(io){if(fn("showClone",this),Ie.eventCanceled)return;he.parentNode==vt&&!this.options.group.revertClone?vt.insertBefore(Tt,he):To?vt.insertBefore(Tt,To):vt.appendChild(Tt),this.options.group.revertClone&&this.animate(he,Tt),Ce(Tt,"display",""),io=!1}}};function bj(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function $a(e,t,n,r,o,s,i,a){var l,c=e[Qt],d=c.options.onMove,m;return window.CustomEvent&&!jr&&!ta?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=s||Ct(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),d&&(m=d.call(c,l,i)),m}function dc(e){e.draggable=!1}function vj(){_d=!1}function Cj(e,t,n){var r=Ct($s(n.el,0,n.options,!0)),o=10;return t?e.clientX<r.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-o||e.clientY<r.bottom&&e.clientX<r.left}function wj(e,t,n){var r=Ct(km(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}function Sj(e,t,n,r,o,s,i,a){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,d=r?n.top:n.left,m=r?n.bottom:n.right,f=!1;if(!i){if(a&&qa<c*o){if(!Si&&(wi===1?l>d+c*s/2:l<m-c*s/2)&&(Si=!0),Si)f=!0;else if(wi===1?l<d+qa:l>m-qa)return-wi}else if(l>d+c*(1-o)/2&&l<m-c*(1-o)/2)return kj(t)}return f=f||i,f&&(l<d+c*s/2||l>m-c*s/2)?l>d+c/2?1:-1:0}function kj(e){return Ot(he)<Ot(e)?1:-1}function xj(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function Ej(e){Tl.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Tl.push(r)}}function Ga(e){return setTimeout(e,0)}function gd(e){return clearTimeout(e)}Cu&&Ze(document,"touchmove",function(e){(Ie.active||as)&&e.cancelable&&e.preventDefault()});Ie.utils={on:Ze,off:qe,css:Ce,find:kz,is:function(t,n){return!!Qn(t,n,t,!1)},extend:cj,throttle:xz,closest:Qn,toggleClass:kt,clone:xm,index:Ot,nextTick:Ga,cancelNextTick:gd,detectDirection:$z,getChild:$s};Ie.get=function(e){return e[Qt]};Ie.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(Ie.utils=Sr(Sr({},Ie.utils),r.utils)),na.mount(r)})};Ie.create=function(e,t){return new Ie(e,t)};Ie.version=ij;var Lt=[],si,yd,zd=!1,mc,fc,$l,ii;function Tj(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var r=n.originalEvent;this.sortable.nativeDraggable?Ze(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ze(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Ze(document,"touchmove",this._handleFallbackAutoScroll):Ze(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?qe(document,"dragover",this._handleAutoScroll):(qe(document,"pointermove",this._handleFallbackAutoScroll),qe(document,"touchmove",this._handleFallbackAutoScroll),qe(document,"mousemove",this._handleFallbackAutoScroll)),Hh(),Ka(),dj()},nulling:function(){$l=yd=si=zd=ii=mc=fc=null,Lt.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var o=this,s=(n.touches?n.touches[0]:n).clientX,i=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(s,i);if($l=n,r||this.options.forceAutoScrollFallback||ta||jr||bi){pc(n,this.options,a,r);var l=ao(a,!0);zd&&(!ii||s!==mc||i!==fc)&&(ii&&Hh(),ii=setInterval(function(){var c=ao(document.elementFromPoint(s,i),!0);c!==l&&(l=c,Ka()),pc(n,o.options,c,r)},10),mc=s,fc=i)}else{if(!this.options.bubbleScroll||ao(a,!0)===Cr()){Ka();return}pc(n,this.options,ao(a,!1),!1)}}},Wn(e,{pluginName:"scroll",initializeByDefault:!0})}function Ka(){Lt.forEach(function(e){clearInterval(e.pid)}),Lt=[]}function Hh(){clearInterval(ii)}var pc=xz(function(e,t,n,r){if(t.scroll){var o=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,a=t.scrollSpeed,l=Cr(),c=!1,d;yd!==n&&(yd=n,Ka(),si=t.scroll,d=t.scrollFn,si===!0&&(si=ao(n,!0)));var m=0,f=si;do{var p=f,h=Ct(p),_=h.top,b=h.bottom,C=h.left,w=h.right,g=h.width,z=h.height,S=void 0,k=void 0,L=p.scrollWidth,D=p.scrollHeight,T=Ce(p),F=p.scrollLeft,G=p.scrollTop;p===l?(S=g<L&&(T.overflowX==="auto"||T.overflowX==="scroll"||T.overflowX==="visible"),k=z<D&&(T.overflowY==="auto"||T.overflowY==="scroll"||T.overflowY==="visible")):(S=g<L&&(T.overflowX==="auto"||T.overflowX==="scroll"),k=z<D&&(T.overflowY==="auto"||T.overflowY==="scroll"));var U=S&&(Math.abs(w-o)<=i&&F+g<L)-(Math.abs(C-o)<=i&&!!F),W=k&&(Math.abs(b-s)<=i&&G+z<D)-(Math.abs(_-s)<=i&&!!G);if(!Lt[m])for(var ee=0;ee<=m;ee++)Lt[ee]||(Lt[ee]={});(Lt[m].vx!=U||Lt[m].vy!=W||Lt[m].el!==p)&&(Lt[m].el=p,Lt[m].vx=U,Lt[m].vy=W,clearInterval(Lt[m].pid),(U!=0||W!=0)&&(c=!0,Lt[m].pid=setInterval((function(){r&&this.layer===0&&Ie.active._onTouchMove($l);var fe=Lt[this.layer].vy?Lt[this.layer].vy*a:0,K=Lt[this.layer].vx?Lt[this.layer].vx*a:0;typeof d=="function"&&d.call(Ie.dragged.parentNode[Qt],K,fe,e,$l,Lt[this.layer].el)!=="continue"||Ez(Lt[this.layer].el,K,fe)}).bind({layer:m}),24))),m++}while(t.bubbleScroll&&f!==l&&(f=ao(f,!1)));zd=c}},30),Iz=function(t){var n=t.originalEvent,r=t.putSortable,o=t.dragEl,s=t.activeSortable,i=t.dispatchSortableEvent,a=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(n){var c=r||s;a();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,m=document.elementFromPoint(d.clientX,d.clientY);l(),c&&!c.el.contains(m)&&(i("spill"),this.onSpill({dragEl:o,putSortable:r}))}};function Em(){}Em.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var o=$s(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:Iz};Wn(Em,{pluginName:"revertOnSpill"});function Tm(){}Tm.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,o=r||this.sortable;o.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),o.animateAll()},drop:Iz};Wn(Tm,{pluginName:"removeOnSpill"});var Ln;function $j(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;Ln=r},dragOverValid:function(n){var r=n.completed,o=n.target,s=n.onMove,i=n.activeSortable,a=n.changed,l=n.cancel;if(i.options.swap){var c=this.sortable.el,d=this.options;if(o&&o!==c){var m=Ln;s(o)!==!1?(kt(o,d.swapClass,!0),Ln=o):Ln=null,m&&m!==Ln&&kt(m,d.swapClass,!1)}a(),r(!0),l()}},drop:function(n){var r=n.activeSortable,o=n.putSortable,s=n.dragEl,i=o||this.sortable,a=this.options;Ln&&kt(Ln,a.swapClass,!1),Ln&&(a.swap||o&&o.options.swap)&&s!==Ln&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),Aj(s,Ln),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){Ln=null}},Wn(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Ln}}})}function Aj(e,t){var n=e.parentNode,r=t.parentNode,o,s;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(o=Ot(e),s=Ot(t),n.isEqualNode(r)&&o<s&&s++,n.insertBefore(t,n.children[o]),r.insertBefore(e,r.children[s]))}var Fe=[],Sn=[],Zs,Jn,Ys=!1,pn=!1,es=!1,ht,Xs,Aa;function Oj(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?Ze(document,"pointerup",this._deselectMultiDrag):(Ze(document,"mouseup",this._deselectMultiDrag),Ze(document,"touchend",this._deselectMultiDrag)),Ze(document,"keydown",this._checkKeyDown),Ze(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(o,s){var i="";Fe.length&&Jn===t?Fe.forEach(function(a,l){i+=(l?", ":"")+a.textContent}):i=s.textContent,o.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;ht=r},delayEnded:function(){this.isMultiDrag=~Fe.indexOf(ht)},setupClone:function(n){var r=n.sortable,o=n.cancel;if(this.isMultiDrag){for(var s=0;s<Fe.length;s++)Sn.push(xm(Fe[s])),Sn[s].sortableIndex=Fe[s].sortableIndex,Sn[s].draggable=!1,Sn[s].style["will-change"]="",kt(Sn[s],this.options.selectedClass,!1),Fe[s]===ht&&kt(Sn[s],this.options.chosenClass,!1);r._hideClone(),o()}},clone:function(n){var r=n.sortable,o=n.rootEl,s=n.dispatchSortableEvent,i=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Fe.length&&Jn===r&&(Uh(!0,o),s("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,o=n.rootEl,s=n.cancel;this.isMultiDrag&&(Uh(!1,o),Sn.forEach(function(i){Ce(i,"display","")}),r(),Aa=!1,s())},hideClone:function(n){var r=this;n.sortable;var o=n.cloneNowHidden,s=n.cancel;this.isMultiDrag&&(Sn.forEach(function(i){Ce(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),o(),Aa=!0,s())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Jn&&Jn.multiDrag._deselectMultiDrag(),Fe.forEach(function(r){r.sortableIndex=Ot(r)}),Fe=Fe.sort(function(r,o){return r.sortableIndex-o.sortableIndex}),es=!0},dragStarted:function(n){var r=this,o=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){Fe.forEach(function(i){i!==ht&&Ce(i,"position","absolute")});var s=Ct(ht,!1,!0,!0);Fe.forEach(function(i){i!==ht&&Rh(i,s)}),pn=!0,Ys=!0}o.animateAll(function(){pn=!1,Ys=!1,r.options.animation&&Fe.forEach(function(i){ic(i)}),r.options.sort&&Oa()})}},dragOver:function(n){var r=n.target,o=n.completed,s=n.cancel;pn&&~Fe.indexOf(r)&&(o(!1),s())},revert:function(n){var r=n.fromSortable,o=n.rootEl,s=n.sortable,i=n.dragRect;Fe.length>1&&(Fe.forEach(function(a){s.addAnimationState({target:a,rect:pn?Ct(a):i}),ic(a),a.fromRect=i,r.removeAnimationState(a)}),pn=!1,Pj(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(n){var r=n.sortable,o=n.isOwner,s=n.insertion,i=n.activeSortable,a=n.parentEl,l=n.putSortable,c=this.options;if(s){if(o&&i._hideClone(),Ys=!1,c.animation&&Fe.length>1&&(pn||!o&&!i.options.sort&&!l)){var d=Ct(ht,!1,!0,!0);Fe.forEach(function(f){f!==ht&&(Rh(f,d),a.appendChild(f))}),pn=!0}if(!o)if(pn||Oa(),Fe.length>1){var m=Aa;i._showClone(r),i.options.animation&&!Aa&&m&&Sn.forEach(function(f){i.addAnimationState({target:f,rect:Xs}),f.fromRect=Xs,f.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,s=n.activeSortable;if(Fe.forEach(function(a){a.thisAnimationDuration=null}),s.options.animation&&!o&&s.multiDrag.isMultiDrag){Xs=Wn({},r);var i=No(ht,!0);Xs.top-=i.f,Xs.left-=i.e}},dragOverAnimationComplete:function(){pn&&(pn=!1,Oa())},drop:function(n){var r=n.originalEvent,o=n.rootEl,s=n.parentEl,i=n.sortable,a=n.dispatchSortableEvent,l=n.oldIndex,c=n.putSortable,d=c||this.sortable;if(r){var m=this.options,f=s.children;if(!es)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),kt(ht,m.selectedClass,!~Fe.indexOf(ht)),~Fe.indexOf(ht))Fe.splice(Fe.indexOf(ht),1),Zs=null,ri({sortable:i,rootEl:o,name:"deselect",targetEl:ht,originalEvt:r});else{if(Fe.push(ht),ri({sortable:i,rootEl:o,name:"select",targetEl:ht,originalEvt:r}),r.shiftKey&&Zs&&i.el.contains(Zs)){var p=Ot(Zs),h=Ot(ht);if(~p&&~h&&p!==h){var _,b;for(h>p?(b=p,_=h):(b=h,_=p+1);b<_;b++)~Fe.indexOf(f[b])||(kt(f[b],m.selectedClass,!0),Fe.push(f[b]),ri({sortable:i,rootEl:o,name:"select",targetEl:f[b],originalEvt:r}))}}else Zs=ht;Jn=d}if(es&&this.isMultiDrag){if(pn=!1,(s[Qt].options.sort||s!==o)&&Fe.length>1){var C=Ct(ht),w=Ot(ht,":not(."+this.options.selectedClass+")");if(!Ys&&m.animation&&(ht.thisAnimationDuration=null),d.captureAnimationState(),!Ys&&(m.animation&&(ht.fromRect=C,Fe.forEach(function(z){if(z.thisAnimationDuration=null,z!==ht){var S=pn?Ct(z):C;z.fromRect=S,d.addAnimationState({target:z,rect:S})}})),Oa(),Fe.forEach(function(z){f[w]?s.insertBefore(z,f[w]):s.appendChild(z),w++}),l===Ot(ht))){var g=!1;Fe.forEach(function(z){if(z.sortableIndex!==Ot(z)){g=!0;return}}),g&&a("update")}Fe.forEach(function(z){ic(z)}),d.animateAll()}Jn=d}(o===s||c&&c.lastPutMode!=="clone")&&Sn.forEach(function(z){z.parentNode&&z.parentNode.removeChild(z)})}},nullingGlobal:function(){this.isMultiDrag=es=!1,Sn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),qe(document,"pointerup",this._deselectMultiDrag),qe(document,"mouseup",this._deselectMultiDrag),qe(document,"touchend",this._deselectMultiDrag),qe(document,"keydown",this._checkKeyDown),qe(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof es<"u"&&es)&&Jn===this.sortable&&!(n&&Qn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Fe.length;){var r=Fe[0];kt(r,this.options.selectedClass,!1),Fe.shift(),ri({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Wn(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Qt];!r||!r.options.multiDrag||~Fe.indexOf(n)||(Jn&&Jn!==r&&(Jn.multiDrag._deselectMultiDrag(),Jn=r),kt(n,r.options.selectedClass,!0),Fe.push(n))},deselect:function(n){var r=n.parentNode[Qt],o=Fe.indexOf(n);!r||!r.options.multiDrag||!~o||(kt(n,r.options.selectedClass,!1),Fe.splice(o,1))}},eventProperties:function(){var n=this,r=[],o=[];return Fe.forEach(function(s){r.push({multiDragElement:s,index:s.sortableIndex});var i;pn&&s!==ht?i=-1:pn?i=Ot(s,":not(."+n.options.selectedClass+")"):i=Ot(s),o.push({multiDragElement:s,index:i})}),{items:tj(Fe),clones:[].concat(Sn),oldIndicies:r,newIndicies:o}},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 Pj(e,t){Fe.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function Uh(e,t){Sn.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function Oa(){Fe.forEach(function(e){e!==ht&&e.parentNode&&e.parentNode.removeChild(e)})}Ie.mount(new Tj);Ie.mount(Tm,Em);const Ij=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Oj,Sortable:Ie,Swap:$j,default:Ie},Symbol.toStringTag,{value:"Module"})),Lj=qy(Ij);(function(e,t){(function(r,o){e.exports=o(Qy,Lj)})(typeof self<"u"?self:Wy,function(n,r){return function(o){var s={};function i(a){if(s[a])return s[a].exports;var l=s[a]={i:a,l:!1,exports:{}};return o[a].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=o,i.c=s,i.d=function(a,l,c){i.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:c})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,l){if(l&1&&(a=i(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(i.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var d in a)i.d(c,d,(function(m){return a[m]}).bind(null,d));return c},i.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(l,"a",l),l},i.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},i.p="",i(i.s="fb15")}({"00ee":function(o,s,i){var a=i("b622"),l=a("toStringTag"),c={};c[l]="z",o.exports=String(c)==="[object z]"},"0366":function(o,s,i){var a=i("1c0b");o.exports=function(l,c,d){if(a(l),c===void 0)return l;switch(d){case 0:return function(){return l.call(c)};case 1:return function(m){return l.call(c,m)};case 2:return function(m,f){return l.call(c,m,f)};case 3:return function(m,f,p){return l.call(c,m,f,p)}}return function(){return l.apply(c,arguments)}}},"057f":function(o,s,i){var a=i("fc6a"),l=i("241c").f,c={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(f){try{return l(f)}catch{return d.slice()}};o.exports.f=function(p){return d&&c.call(p)=="[object Window]"?m(p):l(a(p))}},"06cf":function(o,s,i){var a=i("83ab"),l=i("d1e7"),c=i("5c6c"),d=i("fc6a"),m=i("c04e"),f=i("5135"),p=i("0cfb"),h=Object.getOwnPropertyDescriptor;s.f=a?h:function(b,C){if(b=d(b),C=m(C,!0),p)try{return h(b,C)}catch{}if(f(b,C))return c(!l.f.call(b,C),b[C])}},"0cfb":function(o,s,i){var a=i("83ab"),l=i("d039"),c=i("cc12");o.exports=!a&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,s,i){var a=i("23e7"),l=i("d58f").left,c=i("a640"),d=i("ae40"),m=c("reduce"),f=d("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!f},{reduce:function(h){return l(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(o,s,i){var a=i("c6b6"),l=i("9263");o.exports=function(c,d){var m=c.exec;if(typeof m=="function"){var f=m.call(c,d);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,d)}},"159b":function(o,s,i){var a=i("da84"),l=i("fdbc"),c=i("17c2"),d=i("9112");for(var m in l){var f=a[m],p=f&&f.prototype;if(p&&p.forEach!==c)try{d(p,"forEach",c)}catch{p.forEach=c}}},"17c2":function(o,s,i){var a=i("b727").forEach,l=i("a640"),c=i("ae40"),d=l("forEach"),m=c("forEach");o.exports=!d||!m?function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,s,i){var a=i("d066");o.exports=a("document","documentElement")},"1c0b":function(o,s){o.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(o,s,i){var a=i("b622"),l=a("iterator"),c=!1;try{var d=0,m={next:function(){return{done:!!d++}},return:function(){c=!0}};m[l]=function(){return this},Array.from(m,function(){throw 2})}catch{}o.exports=function(f,p){if(!p&&!c)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},f(_)}catch{}return h}},"1d80":function(o,s){o.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(o,s,i){var a=i("d039"),l=i("b622"),c=i("2d00"),d=l("species");o.exports=function(m){return c>=51||!a(function(){var f=[],p=f.constructor={};return p[d]=function(){return{foo:1}},f[m](Boolean).foo!==1})}},"23cb":function(o,s,i){var a=i("a691"),l=Math.max,c=Math.min;o.exports=function(d,m){var f=a(d);return f<0?l(f+m,0):c(f,m)}},"23e7":function(o,s,i){var a=i("da84"),l=i("06cf").f,c=i("9112"),d=i("6eeb"),m=i("ce4e"),f=i("e893"),p=i("94ca");o.exports=function(h,_){var b=h.target,C=h.global,w=h.stat,g,z,S,k,L,D;if(C?z=a:w?z=a[b]||m(b,{}):z=(a[b]||{}).prototype,z)for(S in _){if(L=_[S],h.noTargetGet?(D=l(z,S),k=D&&D.value):k=z[S],g=p(C?S:b+(w?".":"#")+S,h.forced),!g&&k!==void 0){if(typeof L==typeof k)continue;f(L,k)}(h.sham||k&&k.sham)&&c(L,"sham",!0),d(z,S,L,h)}}},"241c":function(o,s,i){var a=i("ca84"),l=i("7839"),c=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(m){return a(m,c)}},"25f0":function(o,s,i){var a=i("6eeb"),l=i("825a"),c=i("d039"),d=i("ad6d"),m="toString",f=RegExp.prototype,p=f[m],h=c(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),_=p.name!=m;(h||_)&&a(RegExp.prototype,m,function(){var C=l(this),w=String(C.source),g=C.flags,z=String(g===void 0&&C instanceof RegExp&&!("flags"in f)?d.call(C):g);return"/"+w+"/"+z},{unsafe:!0})},"2ca0":function(o,s,i){var a=i("23e7"),l=i("06cf").f,c=i("50c4"),d=i("5a34"),m=i("1d80"),f=i("ab13"),p=i("c430"),h="".startsWith,_=Math.min,b=f("startsWith"),C=!p&&!b&&!!function(){var w=l(String.prototype,"startsWith");return w&&!w.writable}();a({target:"String",proto:!0,forced:!C&&!b},{startsWith:function(g){var z=String(m(this));d(g);var S=c(_(arguments.length>1?arguments[1]:void 0,z.length)),k=String(g);return h?h.call(z,k,S):z.slice(S,S+k.length)===k}})},"2d00":function(o,s,i){var a=i("da84"),l=i("342f"),c=a.process,d=c&&c.versions,m=d&&d.v8,f,p;m?(f=m.split("."),p=f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(p=f[1]))),o.exports=p&&+p},"342f":function(o,s,i){var a=i("d066");o.exports=a("navigator","userAgent")||""},"35a1":function(o,s,i){var a=i("f5df"),l=i("3f8c"),c=i("b622"),d=c("iterator");o.exports=function(m){if(m!=null)return m[d]||m["@@iterator"]||l[a(m)]}},"37e8":function(o,s,i){var a=i("83ab"),l=i("9bf2"),c=i("825a"),d=i("df75");o.exports=a?Object.defineProperties:function(f,p){c(f);for(var h=d(p),_=h.length,b=0,C;_>b;)l.f(f,C=h[b++],p[C]);return f}},"3bbe":function(o,s,i){var a=i("861d");o.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(o,s,i){var a=i("6547").charAt,l=i("69f3"),c=i("7dd0"),d="String Iterator",m=l.set,f=l.getterFor(d);c(String,"String",function(p){m(this,{type:d,string:String(p),index:0})},function(){var h=f(this),_=h.string,b=h.index,C;return b>=_.length?{value:void 0,done:!0}:(C=a(_,b),h.index+=C.length,{value:C,done:!1})})},"3f8c":function(o,s){o.exports={}},4160:function(o,s,i){var a=i("23e7"),l=i("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(o,s,i){var a=i("da84");o.exports=a},"44ad":function(o,s,i){var a=i("d039"),l=i("c6b6"),c="".split;o.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?c.call(d,""):Object(d)}:Object},"44d2":function(o,s,i){var a=i("b622"),l=i("7c73"),c=i("9bf2"),d=a("unscopables"),m=Array.prototype;m[d]==null&&c.f(m,d,{configurable:!0,value:l(null)}),o.exports=function(f){m[d][f]=!0}},"44e7":function(o,s,i){var a=i("861d"),l=i("c6b6"),c=i("b622"),d=c("match");o.exports=function(m){var f;return a(m)&&((f=m[d])!==void 0?!!f:l(m)=="RegExp")}},4930:function(o,s,i){var a=i("d039");o.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(o,s,i){var a=i("fc6a"),l=i("50c4"),c=i("23cb"),d=function(m){return function(f,p,h){var _=a(f),b=l(_.length),C=c(h,b),w;if(m&&p!=p){for(;b>C;)if(w=_[C++],w!=w)return!0}else for(;b>C;C++)if((m||C in _)&&_[C]===p)return m||C||0;return!m&&-1}};o.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(o,s,i){var a=i("23e7"),l=i("b727").filter,c=i("1dde"),d=i("ae40"),m=c("filter"),f=d("filter");a({target:"Array",proto:!0,forced:!m||!f},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,s,i){var a=i("0366"),l=i("7b0b"),c=i("9bdd"),d=i("e95a"),m=i("50c4"),f=i("8418"),p=i("35a1");o.exports=function(_){var b=l(_),C=typeof this=="function"?this:Array,w=arguments.length,g=w>1?arguments[1]:void 0,z=g!==void 0,S=p(b),k=0,L,D,T,F,G,U;if(z&&(g=a(g,w>2?arguments[2]:void 0,2)),S!=null&&!(C==Array&&d(S)))for(F=S.call(b),G=F.next,D=new C;!(T=G.call(F)).done;k++)U=z?c(F,g,[T.value,k],!0):T.value,f(D,k,U);else for(L=m(b.length),D=new C(L);L>k;k++)U=z?g(b[k],k):b[k],f(D,k,U);return D.length=k,D}},"4fad":function(o,s,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(d){return l(d)}})},"50c4":function(o,s,i){var a=i("a691"),l=Math.min;o.exports=function(c){return c>0?l(a(c),9007199254740991):0}},5135:function(o,s){var i={}.hasOwnProperty;o.exports=function(a,l){return i.call(a,l)}},5319:function(o,s,i){var a=i("d784"),l=i("825a"),c=i("7b0b"),d=i("50c4"),m=i("a691"),f=i("1d80"),p=i("8aa5"),h=i("14c3"),_=Math.max,b=Math.min,C=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,z=function(S){return S===void 0?S:String(S)};a("replace",2,function(S,k,L,D){var T=D.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,F=D.REPLACE_KEEPS_$0,G=T?"$":"$0";return[function(ee,fe){var K=f(this),ne=ee==null?void 0:ee[S];return ne!==void 0?ne.call(ee,K,fe):k.call(String(K),ee,fe)},function(W,ee){if(!T&&F||typeof ee=="string"&&ee.indexOf(G)===-1){var fe=L(k,W,this,ee);if(fe.done)return fe.value}var K=l(W),ne=String(this),ue=typeof ee=="function";ue||(ee=String(ee));var Ne=K.global;if(Ne){var it=K.unicode;K.lastIndex=0}for(var Ve=[];;){var He=h(K,ne);if(He===null||(Ve.push(He),!Ne))break;var at=String(He[0]);at===""&&(K.lastIndex=p(ne,d(K.lastIndex),it))}for(var lt="",dt=0,We=0;We<Ve.length;We++){He=Ve[We];for(var Z=String(He[0]),me=_(b(m(He.index),ne.length),0),ce=[],ye=1;ye<He.length;ye++)ce.push(z(He[ye]));var Ue=He.groups;if(ue){var Ge=[Z].concat(ce,me,ne);Ue!==void 0&&Ge.push(Ue);var A=String(ee.apply(void 0,Ge))}else A=U(Z,ne,me,ce,Ue,ee);me>=dt&&(lt+=ne.slice(dt,me)+A,dt=me+Z.length)}return lt+ne.slice(dt)}];function U(W,ee,fe,K,ne,ue){var Ne=fe+W.length,it=K.length,Ve=g;return ne!==void 0&&(ne=c(ne),Ve=w),k.call(ue,Ve,function(He,at){var lt;switch(at.charAt(0)){case"$":return"$";case"&":return W;case"`":return ee.slice(0,fe);case"'":return ee.slice(Ne);case"<":lt=ne[at.slice(1,-1)];break;default:var dt=+at;if(dt===0)return He;if(dt>it){var We=C(dt/10);return We===0?He:We<=it?K[We-1]===void 0?at.charAt(1):K[We-1]+at.charAt(1):He}lt=K[dt-1]}return lt===void 0?"":lt})}})},5692:function(o,s,i){var a=i("c430"),l=i("c6cd");(o.exports=function(c,d){return l[c]||(l[c]=d!==void 0?d:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,s,i){var a=i("d066"),l=i("241c"),c=i("7418"),d=i("825a");o.exports=a("Reflect","ownKeys")||function(f){var p=l.f(d(f)),h=c.f;return h?p.concat(h(f)):p}},"5a34":function(o,s,i){var a=i("44e7");o.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(o,s){o.exports=function(i,a){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:a}}},"5db7":function(o,s,i){var a=i("23e7"),l=i("a2bf"),c=i("7b0b"),d=i("50c4"),m=i("1c0b"),f=i("65f0");a({target:"Array",proto:!0},{flatMap:function(h){var _=c(this),b=d(_.length),C;return m(h),C=f(_,0),C.length=l(C,_,_,b,0,1,h,arguments.length>1?arguments[1]:void 0),C}})},6547:function(o,s,i){var a=i("a691"),l=i("1d80"),c=function(d){return function(m,f){var p=String(l(m)),h=a(f),_=p.length,b,C;return h<0||h>=_?d?"":void 0:(b=p.charCodeAt(h),b<55296||b>56319||h+1===_||(C=p.charCodeAt(h+1))<56320||C>57343?d?p.charAt(h):b:d?p.slice(h,h+2):(b-55296<<10)+(C-56320)+65536)}};o.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(o,s,i){var a=i("861d"),l=i("e8b5"),c=i("b622"),d=c("species");o.exports=function(m,f){var p;return l(m)&&(p=m.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:a(p)&&(p=p[d],p===null&&(p=void 0))),new(p===void 0?Array:p)(f===0?0:f)}},"69f3":function(o,s,i){var a=i("7f9a"),l=i("da84"),c=i("861d"),d=i("9112"),m=i("5135"),f=i("f772"),p=i("d012"),h=l.WeakMap,_,b,C,w=function(T){return C(T)?b(T):_(T,{})},g=function(T){return function(F){var G;if(!c(F)||(G=b(F)).type!==T)throw TypeError("Incompatible receiver, "+T+" required");return G}};if(a){var z=new h,S=z.get,k=z.has,L=z.set;_=function(T,F){return L.call(z,T,F),F},b=function(T){return S.call(z,T)||{}},C=function(T){return k.call(z,T)}}else{var D=f("state");p[D]=!0,_=function(T,F){return d(T,D,F),F},b=function(T){return m(T,D)?T[D]:{}},C=function(T){return m(T,D)}}o.exports={set:_,get:b,has:C,enforce:w,getterFor:g}},"6eeb":function(o,s,i){var a=i("da84"),l=i("9112"),c=i("5135"),d=i("ce4e"),m=i("8925"),f=i("69f3"),p=f.get,h=f.enforce,_=String(String).split("String");(o.exports=function(b,C,w,g){var z=g?!!g.unsafe:!1,S=g?!!g.enumerable:!1,k=g?!!g.noTargetGet:!1;if(typeof w=="function"&&(typeof C=="string"&&!c(w,"name")&&l(w,"name",C),h(w).source=_.join(typeof C=="string"?C:"")),b===a){S?b[C]=w:d(C,w);return}else z?!k&&b[C]&&(S=!0):delete b[C];S?b[C]=w:l(b,C,w)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||m(this)})},"6f53":function(o,s,i){var a=i("83ab"),l=i("df75"),c=i("fc6a"),d=i("d1e7").f,m=function(f){return function(p){for(var h=c(p),_=l(h),b=_.length,C=0,w=[],g;b>C;)g=_[C++],(!a||d.call(h,g))&&w.push(f?[g,h[g]]:h[g]);return w}};o.exports={entries:m(!0),values:m(!1)}},"73d9":function(o,s,i){var a=i("44d2");a("flatMap")},7418:function(o,s){s.f=Object.getOwnPropertySymbols},"746f":function(o,s,i){var a=i("428f"),l=i("5135"),c=i("e538"),d=i("9bf2").f;o.exports=function(m){var f=a.Symbol||(a.Symbol={});l(f,m)||d(f,m,{value:c.f(m)})}},7839:function(o,s){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,s,i){var a=i("1d80");o.exports=function(l){return Object(a(l))}},"7c73":function(o,s,i){var a=i("825a"),l=i("37e8"),c=i("7839"),d=i("d012"),m=i("1be4"),f=i("cc12"),p=i("f772"),h=">",_="<",b="prototype",C="script",w=p("IE_PROTO"),g=function(){},z=function(T){return _+C+h+T+_+"/"+C+h},S=function(T){T.write(z("")),T.close();var F=T.parentWindow.Object;return T=null,F},k=function(){var T=f("iframe"),F="java"+C+":",G;return T.style.display="none",m.appendChild(T),T.src=String(F),G=T.contentWindow.document,G.open(),G.write(z("document.F=Object")),G.close(),G.F},L,D=function(){try{L=document.domain&&new ActiveXObject("htmlfile")}catch{}D=L?S(L):k();for(var T=c.length;T--;)delete D[b][c[T]];return D()};d[w]=!0,o.exports=Object.create||function(F,G){var U;return F!==null?(g[b]=a(F),U=new g,g[b]=null,U[w]=F):U=D(),G===void 0?U:l(U,G)}},"7dd0":function(o,s,i){var a=i("23e7"),l=i("9ed3"),c=i("e163"),d=i("d2bb"),m=i("d44e"),f=i("9112"),p=i("6eeb"),h=i("b622"),_=i("c430"),b=i("3f8c"),C=i("ae93"),w=C.IteratorPrototype,g=C.BUGGY_SAFARI_ITERATORS,z=h("iterator"),S="keys",k="values",L="entries",D=function(){return this};o.exports=function(T,F,G,U,W,ee,fe){l(G,F,U);var K=function(We){if(We===W&&Ve)return Ve;if(!g&&We in Ne)return Ne[We];switch(We){case S:return function(){return new G(this,We)};case k:return function(){return new G(this,We)};case L:return function(){return new G(this,We)}}return function(){return new G(this)}},ne=F+" Iterator",ue=!1,Ne=T.prototype,it=Ne[z]||Ne["@@iterator"]||W&&Ne[W],Ve=!g&&it||K(W),He=F=="Array"&&Ne.entries||it,at,lt,dt;if(He&&(at=c(He.call(new T)),w!==Object.prototype&&at.next&&(!_&&c(at)!==w&&(d?d(at,w):typeof at[z]!="function"&&f(at,z,D)),m(at,ne,!0,!0),_&&(b[ne]=D))),W==k&&it&&it.name!==k&&(ue=!0,Ve=function(){return it.call(this)}),(!_||fe)&&Ne[z]!==Ve&&f(Ne,z,Ve),b[F]=Ve,W)if(lt={values:K(k),keys:ee?Ve:K(S),entries:K(L)},fe)for(dt in lt)(g||ue||!(dt in Ne))&&p(Ne,dt,lt[dt]);else a({target:F,proto:!0,forced:g||ue},lt);return lt}},"7f9a":function(o,s,i){var a=i("da84"),l=i("8925"),c=a.WeakMap;o.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(o,s,i){var a=i("861d");o.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(o,s,i){var a=i("d039");o.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,s,i){var a=i("c04e"),l=i("9bf2"),c=i("5c6c");o.exports=function(d,m,f){var p=a(m);p in d?l.f(d,p,c(0,f)):d[p]=f}},"861d":function(o,s){o.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},8875:function(o,s,i){var a,l,c;(function(d,m){l=[],a=m,c=typeof a=="function"?a.apply(s,l):a,c!==void 0&&(o.exports=c)})(typeof self<"u"?self:this,function(){function d(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==d&&document.currentScript)return document.currentScript;try{throw new Error}catch(L){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=f.exec(L.stack)||p.exec(L.stack),_=h&&h[1]||!1,b=h&&h[2]||!1,C=document.location.href.replace(document.location.hash,""),w,g,z,S=document.getElementsByTagName("script");_===C&&(w=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(b-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),z=w.replace(g,"$1").trim());for(var k=0;k<S.length;k++)if(S[k].readyState==="interactive"||S[k].src===_||_===C&&S[k].innerHTML&&S[k].innerHTML.trim()===z)return S[k];return null}}return d})},8925:function(o,s,i){var a=i("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(c){return l.call(c)}),o.exports=a.inspectSource},"8aa5":function(o,s,i){var a=i("6547").charAt;o.exports=function(l,c,d){return c+(d?a(l,c).length:1)}},"8bbf":function(o,s){o.exports=n},"90e3":function(o,s){var i=0,a=Math.random();o.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++i+a).toString(36)}},9112:function(o,s,i){var a=i("83ab"),l=i("9bf2"),c=i("5c6c");o.exports=a?function(d,m,f){return l.f(d,m,c(1,f))}:function(d,m,f){return d[m]=f,d}},9263:function(o,s,i){var a=i("ad6d"),l=i("9f7f"),c=RegExp.prototype.exec,d=String.prototype.replace,m=c,f=function(){var b=/a/,C=/b*/g;return c.call(b,"a"),c.call(C,"a"),b.lastIndex!==0||C.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=f||h||p;_&&(m=function(C){var w=this,g,z,S,k,L=p&&w.sticky,D=a.call(w),T=w.source,F=0,G=C;return L&&(D=D.replace("y",""),D.indexOf("g")===-1&&(D+="g"),G=String(C).slice(w.lastIndex),w.lastIndex>0&&(!w.multiline||w.multiline&&C[w.lastIndex-1]!==`
`)&&(T="(?: "+T+")",G=" "+G,F++),z=new RegExp("^(?:"+T+")",D)),h&&(z=new RegExp("^"+T+"$(?!\\s)",D)),f&&(g=w.lastIndex),S=c.call(L?z:w,G),L?S?(S.input=S.input.slice(F),S[0]=S[0].slice(F),S.index=w.lastIndex,w.lastIndex+=S[0].length):w.lastIndex=0:f&&S&&(w.lastIndex=w.global?S.index+S[0].length:g),h&&S&&S.length>1&&d.call(S[0],z,function(){for(k=1;k<arguments.length-2;k++)arguments[k]===void 0&&(S[k]=void 0)}),S}),o.exports=m},"94ca":function(o,s,i){var a=i("d039"),l=/#|\.prototype\./,c=function(h,_){var b=m[d(h)];return b==p?!0:b==f?!1:typeof _=="function"?a(_):!!_},d=c.normalize=function(h){return String(h).replace(l,".").toLowerCase()},m=c.data={},f=c.NATIVE="N",p=c.POLYFILL="P";o.exports=c},"99af":function(o,s,i){var a=i("23e7"),l=i("d039"),c=i("e8b5"),d=i("861d"),m=i("7b0b"),f=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),b=i("b622"),C=i("2d00"),w=b("isConcatSpreadable"),g=9007199254740991,z="Maximum allowed index exceeded",S=C>=51||!l(function(){var T=[];return T[w]=!1,T.concat()[0]!==T}),k=_("concat"),L=function(T){if(!d(T))return!1;var F=T[w];return F!==void 0?!!F:c(T)},D=!S||!k;a({target:"Array",proto:!0,forced:D},{concat:function(F){var G=m(this),U=h(G,0),W=0,ee,fe,K,ne,ue;for(ee=-1,K=arguments.length;ee<K;ee++)if(ue=ee===-1?G:arguments[ee],L(ue)){if(ne=f(ue.length),W+ne>g)throw TypeError(z);for(fe=0;fe<ne;fe++,W++)fe in ue&&p(U,W,ue[fe])}else{if(W>=g)throw TypeError(z);p(U,W++,ue)}return U.length=W,U}})},"9bdd":function(o,s,i){var a=i("825a");o.exports=function(l,c,d,m){try{return m?c(a(d)[0],d[1]):c(d)}catch(p){var f=l.return;throw f!==void 0&&a(f.call(l)),p}}},"9bf2":function(o,s,i){var a=i("83ab"),l=i("0cfb"),c=i("825a"),d=i("c04e"),m=Object.defineProperty;s.f=a?m:function(p,h,_){if(c(p),h=d(h,!0),c(_),l)try{return m(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(o,s,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),c=i("5c6c"),d=i("d44e"),m=i("3f8c"),f=function(){return this};o.exports=function(p,h,_){var b=h+" Iterator";return p.prototype=l(a,{next:c(1,_)}),d(p,b,!1,!0),m[b]=f,p}},"9f7f":function(o,s,i){var a=i("d039");function l(c,d){return RegExp(c,d)}s.UNSUPPORTED_Y=a(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(o,s,i){var a=i("e8b5"),l=i("50c4"),c=i("0366"),d=function(m,f,p,h,_,b,C,w){for(var g=_,z=0,S=C?c(C,w,3):!1,k;z<h;){if(z in p){if(k=S?S(p[z],z,f):p[z],b>0&&a(k))g=d(m,f,k,l(k.length),g,b-1)-1;else{if(g>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[g]=k}g++}z++}return g};o.exports=d},a352:function(o,s){o.exports=r},a434:function(o,s,i){var a=i("23e7"),l=i("23cb"),c=i("a691"),d=i("50c4"),m=i("7b0b"),f=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),b=h("splice"),C=_("splice",{ACCESSORS:!0,0:0,1:2}),w=Math.max,g=Math.min,z=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!C},{splice:function(L,D){var T=m(this),F=d(T.length),G=l(L,F),U=arguments.length,W,ee,fe,K,ne,ue;if(U===0?W=ee=0:U===1?(W=0,ee=F-G):(W=U-2,ee=g(w(c(D),0),F-G)),F+W-ee>z)throw TypeError(S);for(fe=f(T,ee),K=0;K<ee;K++)ne=G+K,ne in T&&p(fe,K,T[ne]);if(fe.length=ee,W<ee){for(K=G;K<F-ee;K++)ne=K+ee,ue=K+W,ne in T?T[ue]=T[ne]:delete T[ue];for(K=F;K>F-ee+W;K--)delete T[K-1]}else if(W>ee)for(K=F-ee;K>G;K--)ne=K+ee-1,ue=K+W-1,ne in T?T[ue]=T[ne]:delete T[ue];for(K=0;K<W;K++)T[K+G]=arguments[K+2];return T.length=F-ee+W,fe}})},a4d3:function(o,s,i){var a=i("23e7"),l=i("da84"),c=i("d066"),d=i("c430"),m=i("83ab"),f=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),b=i("e8b5"),C=i("861d"),w=i("825a"),g=i("7b0b"),z=i("fc6a"),S=i("c04e"),k=i("5c6c"),L=i("7c73"),D=i("df75"),T=i("241c"),F=i("057f"),G=i("7418"),U=i("06cf"),W=i("9bf2"),ee=i("d1e7"),fe=i("9112"),K=i("6eeb"),ne=i("5692"),ue=i("f772"),Ne=i("d012"),it=i("90e3"),Ve=i("b622"),He=i("e538"),at=i("746f"),lt=i("d44e"),dt=i("69f3"),We=i("b727").forEach,Z=ue("hidden"),me="Symbol",ce="prototype",ye=Ve("toPrimitive"),Ue=dt.set,Ge=dt.getterFor(me),A=Object[ce],P=l.Symbol,j=c("JSON","stringify"),te=U.f,X=W.f,ie=F.f,pe=ee.f,E=ne("symbols"),$=ne("op-symbols"),R=ne("string-to-symbol-registry"),oe=ne("symbol-to-string-registry"),ae=ne("wks"),se=l.QObject,V=!se||!se[ce]||!se[ce].findChild,Y=m&&h(function(){return L(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a!=7})?function(Pe,xe,Ae){var Ye=te(A,xe);Ye&&delete A[xe],X(Pe,xe,Ae),Ye&&Pe!==A&&X(A,xe,Ye)}:X,ke=function(Pe,xe){var Ae=E[Pe]=L(P[ce]);return Ue(Ae,{type:me,tag:Pe,description:xe}),m||(Ae.description=xe),Ae},M=p?function(Pe){return typeof Pe=="symbol"}:function(Pe){return Object(Pe)instanceof P},H=function(xe,Ae,Ye){xe===A&&H($,Ae,Ye),w(xe);var tt=S(Ae,!0);return w(Ye),_(E,tt)?(Ye.enumerable?(_(xe,Z)&&xe[Z][tt]&&(xe[Z][tt]=!1),Ye=L(Ye,{enumerable:k(0,!1)})):(_(xe,Z)||X(xe,Z,k(1,{})),xe[Z][tt]=!0),Y(xe,tt,Ye)):X(xe,tt,Ye)},q=function(xe,Ae){w(xe);var Ye=z(Ae),tt=D(Ye).concat(Re(Ye));return We(tt,function(dn){(!m||_e.call(Ye,dn))&&H(xe,dn,Ye[dn])}),xe},re=function(xe,Ae){return Ae===void 0?L(xe):q(L(xe),Ae)},_e=function(xe){var Ae=S(xe,!0),Ye=pe.call(this,Ae);return this===A&&_(E,Ae)&&!_($,Ae)?!1:Ye||!_(this,Ae)||!_(E,Ae)||_(this,Z)&&this[Z][Ae]?Ye:!0},Te=function(xe,Ae){var Ye=z(xe),tt=S(Ae,!0);if(!(Ye===A&&_(E,tt)&&!_($,tt))){var dn=te(Ye,tt);return dn&&_(E,tt)&&!(_(Ye,Z)&&Ye[Z][tt])&&(dn.enumerable=!0),dn}},Me=function(xe){var Ae=ie(z(xe)),Ye=[];return We(Ae,function(tt){!_(E,tt)&&!_(Ne,tt)&&Ye.push(tt)}),Ye},Re=function(xe){var Ae=xe===A,Ye=ie(Ae?$:z(xe)),tt=[];return We(Ye,function(dn){_(E,dn)&&(!Ae||_(A,dn))&&tt.push(E[dn])}),tt};if(f||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Ae=it(xe),Ye=function(tt){this===A&&Ye.call($,tt),_(this,Z)&&_(this[Z],Ae)&&(this[Z][Ae]=!1),Y(this,Ae,k(1,tt))};return m&&V&&Y(A,Ae,{configurable:!0,set:Ye}),ke(Ae,xe)},K(P[ce],"toString",function(){return Ge(this).tag}),K(P,"withoutSetter",function(Pe){return ke(it(Pe),Pe)}),ee.f=_e,W.f=H,U.f=Te,T.f=F.f=Me,G.f=Re,He.f=function(Pe){return ke(Ve(Pe),Pe)},m&&(X(P[ce],"description",{configurable:!0,get:function(){return Ge(this).description}}),d||K(A,"propertyIsEnumerable",_e,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:P}),We(D(ae),function(Pe){at(Pe)}),a({target:me,stat:!0,forced:!f},{for:function(Pe){var xe=String(Pe);if(_(R,xe))return R[xe];var Ae=P(xe);return R[xe]=Ae,oe[Ae]=xe,Ae},keyFor:function(xe){if(!M(xe))throw TypeError(xe+" is not a symbol");if(_(oe,xe))return oe[xe]},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a({target:"Object",stat:!0,forced:!f,sham:!m},{create:re,defineProperty:H,defineProperties:q,getOwnPropertyDescriptor:Te}),a({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Me,getOwnPropertySymbols:Re}),a({target:"Object",stat:!0,forced:h(function(){G.f(1)})},{getOwnPropertySymbols:function(xe){return G.f(g(xe))}}),j){var nt=!f||h(function(){var Pe=P();return j([Pe])!="[null]"||j({a:Pe})!="{}"||j(Object(Pe))!="{}"});a({target:"JSON",stat:!0,forced:nt},{stringify:function(xe,Ae,Ye){for(var tt=[xe],dn=1,Su;arguments.length>dn;)tt.push(arguments[dn++]);if(Su=Ae,!(!C(Ae)&&xe===void 0||M(xe)))return b(Ae)||(Ae=function(Mz,ra){if(typeof Su=="function"&&(ra=Su.call(this,Mz,ra)),!M(ra))return ra}),tt[1]=Ae,j.apply(null,tt)}})}P[ce][ye]||fe(P[ce],ye,P[ce].valueOf),lt(P,me),Ne[Z]=!0},a630:function(o,s,i){var a=i("23e7"),l=i("4df4"),c=i("1c7e"),d=!c(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:d},{from:l})},a640:function(o,s,i){var a=i("d039");o.exports=function(l,c){var d=[][l];return!!d&&a(function(){d.call(null,c||function(){throw 1},1)})}},a691:function(o,s){var i=Math.ceil,a=Math.floor;o.exports=function(l){return isNaN(l=+l)?0:(l>0?a:i)(l)}},ab13:function(o,s,i){var a=i("b622"),l=a("match");o.exports=function(c){var d=/./;try{"/./"[c](d)}catch{try{return d[l]=!1,"/./"[c](d)}catch{}}return!1}},ac1f:function(o,s,i){var a=i("23e7"),l=i("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(o,s,i){var a=i("825a");o.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(o,s,i){var a=i("83ab"),l=i("d039"),c=i("5135"),d=Object.defineProperty,m={},f=function(p){throw p};o.exports=function(p,h){if(c(m,p))return m[p];h||(h={});var _=[][p],b=c(h,"ACCESSORS")?h.ACCESSORS:!1,C=c(h,0)?h[0]:f,w=c(h,1)?h[1]:void 0;return m[p]=!!_&&!l(function(){if(b&&!a)return!0;var g={length:-1};b?d(g,1,{enumerable:!0,get:f}):g[1]=1,_.call(g,C,w)})}},ae93:function(o,s,i){var a=i("e163"),l=i("9112"),c=i("5135"),d=i("b622"),m=i("c430"),f=d("iterator"),p=!1,h=function(){return this},_,b,C;[].keys&&(C=[].keys(),"next"in C?(b=a(a(C)),b!==Object.prototype&&(_=b)):p=!0),_==null&&(_={}),!m&&!c(_,f)&&l(_,f,h),o.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(o,s,i){var a=i("00ee"),l=i("f5df");o.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(o,s,i){var a=i("83ab"),l=i("9bf2").f,c=Function.prototype,d=c.toString,m=/^\s*function ([^ (]*)/,f="name";a&&!(f in c)&&l(c,f,{configurable:!0,get:function(){try{return d.call(this).match(m)[1]}catch{return""}}})},b622:function(o,s,i){var a=i("da84"),l=i("5692"),c=i("5135"),d=i("90e3"),m=i("4930"),f=i("fdbf"),p=l("wks"),h=a.Symbol,_=f?h:h&&h.withoutSetter||d;o.exports=function(b){return c(p,b)||(m&&c(h,b)?p[b]=h[b]:p[b]=_("Symbol."+b)),p[b]}},b64b:function(o,s,i){var a=i("23e7"),l=i("7b0b"),c=i("df75"),d=i("d039"),m=d(function(){c(1)});a({target:"Object",stat:!0,forced:m},{keys:function(p){return c(l(p))}})},b727:function(o,s,i){var a=i("0366"),l=i("44ad"),c=i("7b0b"),d=i("50c4"),m=i("65f0"),f=[].push,p=function(h){var _=h==1,b=h==2,C=h==3,w=h==4,g=h==6,z=h==5||g;return function(S,k,L,D){for(var T=c(S),F=l(T),G=a(k,L,3),U=d(F.length),W=0,ee=D||m,fe=_?ee(S,U):b?ee(S,0):void 0,K,ne;U>W;W++)if((z||W in F)&&(K=F[W],ne=G(K,W,T),h)){if(_)fe[W]=ne;else if(ne)switch(h){case 3:return!0;case 5:return K;case 6:return W;case 2:f.call(fe,K)}else if(w)return!1}return g?-1:C||w?w:fe}};o.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(o,s,i){var a=i("861d");o.exports=function(l,c){if(!a(l))return l;var d,m;if(c&&typeof(d=l.toString)=="function"&&!a(m=d.call(l))||typeof(d=l.valueOf)=="function"&&!a(m=d.call(l))||!c&&typeof(d=l.toString)=="function"&&!a(m=d.call(l)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(o,s){o.exports=!1},c6b6:function(o,s){var i={}.toString;o.exports=function(a){return i.call(a).slice(8,-1)}},c6cd:function(o,s,i){var a=i("da84"),l=i("ce4e"),c="__core-js_shared__",d=a[c]||l(c,{});o.exports=d},c740:function(o,s,i){var a=i("23e7"),l=i("b727").findIndex,c=i("44d2"),d=i("ae40"),m="findIndex",f=!0,p=d(m);m in[]&&Array(1)[m](function(){f=!1}),a({target:"Array",proto:!0,forced:f||!p},{findIndex:function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}}),c(m)},c8ba:function(o,s){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}o.exports=i},c975:function(o,s,i){var a=i("23e7"),l=i("4d64").indexOf,c=i("a640"),d=i("ae40"),m=[].indexOf,f=!!m&&1/[1].indexOf(1,-0)<0,p=c("indexOf"),h=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:f||!p||!h},{indexOf:function(b){return f?m.apply(this,arguments)||0:l(this,b,arguments.length>1?arguments[1]:void 0)}})},ca84:function(o,s,i){var a=i("5135"),l=i("fc6a"),c=i("4d64").indexOf,d=i("d012");o.exports=function(m,f){var p=l(m),h=0,_=[],b;for(b in p)!a(d,b)&&a(p,b)&&_.push(b);for(;f.length>h;)a(p,b=f[h++])&&(~c(_,b)||_.push(b));return _}},caad:function(o,s,i){var a=i("23e7"),l=i("4d64").includes,c=i("44d2"),d=i("ae40"),m=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(o,s,i){var a=i("da84"),l=i("861d"),c=a.document,d=l(c)&&l(c.createElement);o.exports=function(m){return d?c.createElement(m):{}}},ce4e:function(o,s,i){var a=i("da84"),l=i("9112");o.exports=function(c,d){try{l(a,c,d)}catch{a[c]=d}return d}},d012:function(o,s){o.exports={}},d039:function(o,s){o.exports=function(i){try{return!!i()}catch{return!0}}},d066:function(o,s,i){var a=i("428f"),l=i("da84"),c=function(d){return typeof d=="function"?d:void 0};o.exports=function(d,m){return arguments.length<2?c(a[d])||c(l[d]):a[d]&&a[d][m]||l[d]&&l[d][m]}},d1e7:function(o,s,i){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!a.call({1:2},1);s.f=c?function(m){var f=l(this,m);return!!f&&f.enumerable}:a},d28b:function(o,s,i){var a=i("746f");a("iterator")},d2bb:function(o,s,i){var a=i("825a"),l=i("3bbe");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,d={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(d,[]),c=d instanceof Array}catch{}return function(p,h){return a(p),l(h),c?m.call(p,h):p.__proto__=h,p}}():void 0)},d3b7:function(o,s,i){var a=i("00ee"),l=i("6eeb"),c=i("b041");a||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(o,s,i){var a=i("9bf2").f,l=i("5135"),c=i("b622"),d=c("toStringTag");o.exports=function(m,f,p){m&&!l(m=p?m:m.prototype,d)&&a(m,d,{configurable:!0,value:f})}},d58f:function(o,s,i){var a=i("1c0b"),l=i("7b0b"),c=i("44ad"),d=i("50c4"),m=function(f){return function(p,h,_,b){a(h);var C=l(p),w=c(C),g=d(C.length),z=f?g-1:0,S=f?-1:1;if(_<2)for(;;){if(z in w){b=w[z],z+=S;break}if(z+=S,f?z<0:g<=z)throw TypeError("Reduce of empty array with no initial value")}for(;f?z>=0:g>z;z+=S)z in w&&(b=h(b,w[z],z,C));return b}};o.exports={left:m(!1),right:m(!0)}},d784:function(o,s,i){i("ac1f");var a=i("6eeb"),l=i("d039"),c=i("b622"),d=i("9263"),m=i("9112"),f=c("species"),p=!l(function(){var w=/./;return w.exec=function(){var g=[];return g.groups={a:"7"},g},"".replace(w,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=c("replace"),b=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),C=!l(function(){var w=/(?:)/,g=w.exec;w.exec=function(){return g.apply(this,arguments)};var z="ab".split(w);return z.length!==2||z[0]!=="a"||z[1]!=="b"});o.exports=function(w,g,z,S){var k=c(w),L=!l(function(){var W={};return W[k]=function(){return 7},""[w](W)!=7}),D=L&&!l(function(){var W=!1,ee=/a/;return w==="split"&&(ee={},ee.constructor={},ee.constructor[f]=function(){return ee},ee.flags="",ee[k]=/./[k]),ee.exec=function(){return W=!0,null},ee[k](""),!W});if(!L||!D||w==="replace"&&!(p&&h&&!b)||w==="split"&&!C){var T=/./[k],F=z(k,""[w],function(W,ee,fe,K,ne){return ee.exec===d?L&&!ne?{done:!0,value:T.call(ee,fe,K)}:{done:!0,value:W.call(fe,ee,K)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),G=F[0],U=F[1];a(String.prototype,w,G),a(RegExp.prototype,k,g==2?function(W,ee){return U.call(W,this,ee)}:function(W){return U.call(W,this)})}S&&m(RegExp.prototype[k],"sham",!0)}},d81d:function(o,s,i){var a=i("23e7"),l=i("b727").map,c=i("1dde"),d=i("ae40"),m=c("map"),f=d("map");a({target:"Array",proto:!0,forced:!m||!f},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(o,s,i){(function(a){var l=function(c){return c&&c.Math==Math&&c};o.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,i("c8ba"))},dbb4:function(o,s,i){var a=i("23e7"),l=i("83ab"),c=i("56ef"),d=i("fc6a"),m=i("06cf"),f=i("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=d(h),b=m.f,C=c(_),w={},g=0,z,S;C.length>g;)S=b(_,z=C[g++]),S!==void 0&&f(w,z,S);return w}})},dbf1:function(o,s,i){(function(a){i.d(s,"a",function(){return c});function l(){return typeof window<"u"?window.console:a.console}var c=l()}).call(this,i("c8ba"))},ddb0:function(o,s,i){var a=i("da84"),l=i("fdbc"),c=i("e260"),d=i("9112"),m=i("b622"),f=m("iterator"),p=m("toStringTag"),h=c.values;for(var _ in l){var b=a[_],C=b&&b.prototype;if(C){if(C[f]!==h)try{d(C,f,h)}catch{C[f]=h}if(C[p]||d(C,p,_),l[_]){for(var w in c)if(C[w]!==c[w])try{d(C,w,c[w])}catch{C[w]=c[w]}}}}},df75:function(o,s,i){var a=i("ca84"),l=i("7839");o.exports=Object.keys||function(d){return a(d,l)}},e01a:function(o,s,i){var a=i("23e7"),l=i("83ab"),c=i("da84"),d=i("5135"),m=i("861d"),f=i("9bf2").f,p=i("e893"),h=c.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},b=function(){var k=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof b?new h(k):k===void 0?h():h(k);return k===""&&(_[L]=!0),L};p(b,h);var C=b.prototype=h.prototype;C.constructor=b;var w=C.toString,g=String(h("test"))=="Symbol(test)",z=/^Symbol\((.*)\)[^)]+$/;f(C,"description",{configurable:!0,get:function(){var k=m(this)?this.valueOf():this,L=w.call(k);if(d(_,k))return"";var D=g?L.slice(7,-1):L.replace(z,"$1");return D===""?void 0:D}}),a({global:!0,forced:!0},{Symbol:b})}},e163:function(o,s,i){var a=i("5135"),l=i("7b0b"),c=i("f772"),d=i("e177"),m=c("IE_PROTO"),f=Object.prototype;o.exports=d?Object.getPrototypeOf:function(p){return p=l(p),a(p,m)?p[m]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?f:null}},e177:function(o,s,i){var a=i("d039");o.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(o,s,i){var a=i("fc6a"),l=i("44d2"),c=i("3f8c"),d=i("69f3"),m=i("7dd0"),f="Array Iterator",p=d.set,h=d.getterFor(f);o.exports=m(Array,"Array",function(_,b){p(this,{type:f,target:a(_),index:0,kind:b})},function(){var _=h(this),b=_.target,C=_.kind,w=_.index++;return!b||w>=b.length?(_.target=void 0,{value:void 0,done:!0}):C=="keys"?{value:w,done:!1}:C=="values"?{value:b[w],done:!1}:{value:[w,b[w]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(o,s,i){var a=i("23e7"),l=i("d039"),c=i("fc6a"),d=i("06cf").f,m=i("83ab"),f=l(function(){d(1)}),p=!m||f;a({target:"Object",stat:!0,forced:p,sham:!m},{getOwnPropertyDescriptor:function(_,b){return d(c(_),b)}})},e538:function(o,s,i){var a=i("b622");s.f=a},e893:function(o,s,i){var a=i("5135"),l=i("56ef"),c=i("06cf"),d=i("9bf2");o.exports=function(m,f){for(var p=l(f),h=d.f,_=c.f,b=0;b<p.length;b++){var C=p[b];a(m,C)||h(m,C,_(f,C))}}},e8b5:function(o,s,i){var a=i("c6b6");o.exports=Array.isArray||function(c){return a(c)=="Array"}},e95a:function(o,s,i){var a=i("b622"),l=i("3f8c"),c=a("iterator"),d=Array.prototype;o.exports=function(m){return m!==void 0&&(l.Array===m||d[c]===m)}},f5df:function(o,s,i){var a=i("00ee"),l=i("c6b6"),c=i("b622"),d=c("toStringTag"),m=l(function(){return arguments}())=="Arguments",f=function(p,h){try{return p[h]}catch{}};o.exports=a?l:function(p){var h,_,b;return p===void 0?"Undefined":p===null?"Null":typeof(_=f(h=Object(p),d))=="string"?_:m?l(h):(b=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":b}},f772:function(o,s,i){var a=i("5692"),l=i("90e3"),c=a("keys");o.exports=function(d){return c[d]||(c[d]=l(d))}},fb15:function(o,s,i){if(i.r(s),typeof window<"u"){var a=window.document.currentScript;{var l=i("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(i.p=c[1])}i("99af"),i("4de4"),i("4160"),i("c975"),i("d81d"),i("a434"),i("159b"),i("a4d3"),i("e439"),i("dbb4"),i("b64b");function d(M,H,q){return H in M?Object.defineProperty(M,H,{value:q,enumerable:!0,configurable:!0,writable:!0}):M[H]=q,M}function m(M,H){var q=Object.keys(M);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(M);H&&(re=re.filter(function(_e){return Object.getOwnPropertyDescriptor(M,_e).enumerable})),q.push.apply(q,re)}return q}function f(M){for(var H=1;H<arguments.length;H++){var q=arguments[H]!=null?arguments[H]:{};H%2?m(Object(q),!0).forEach(function(re){d(M,re,q[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(q)):m(Object(q)).forEach(function(re){Object.defineProperty(M,re,Object.getOwnPropertyDescriptor(q,re))})}return M}function p(M){if(Array.isArray(M))return M}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("3ca3"),i("ddb0");function h(M,H){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(M)))){var q=[],re=!0,_e=!1,Te=void 0;try{for(var Me=M[Symbol.iterator](),Re;!(re=(Re=Me.next()).done)&&(q.push(Re.value),!(H&&q.length===H));re=!0);}catch(nt){_e=!0,Te=nt}finally{try{!re&&Me.return!=null&&Me.return()}finally{if(_e)throw Te}}return q}}i("a630"),i("fb6a"),i("b0c0"),i("25f0");function _(M,H){(H==null||H>M.length)&&(H=M.length);for(var q=0,re=new Array(H);q<H;q++)re[q]=M[q];return re}function b(M,H){if(M){if(typeof M=="string")return _(M,H);var q=Object.prototype.toString.call(M).slice(8,-1);if(q==="Object"&&M.constructor&&(q=M.constructor.name),q==="Map"||q==="Set")return Array.from(M);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return _(M,H)}}function C(){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 w(M,H){return p(M)||h(M,H)||b(M,H)||C()}function g(M){if(Array.isArray(M))return _(M)}function z(M){if(typeof Symbol<"u"&&Symbol.iterator in Object(M))return Array.from(M)}function S(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(M){return g(M)||z(M)||b(M)||S()}var L=i("a352"),D=i.n(L);function T(M){M.parentElement!==null&&M.parentElement.removeChild(M)}function F(M,H,q){var re=q===0?M.children[0]:M.children[q-1].nextSibling;M.insertBefore(H,re)}var G=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function U(M){var H=Object.create(null);return function(re){var _e=H[re];return _e||(H[re]=M(re))}}var W=/-(\w)/g,ee=U(function(M){return M.replace(W,function(H,q){return q.toUpperCase()})});i("5db7"),i("73d9");var fe=["Start","Add","Remove","Update","End"],K=["Choose","Unchoose","Sort","Filter","Clone"],ne=["Move"],ue=[ne,fe,K].flatMap(function(M){return M}).map(function(M){return"on".concat(M)}),Ne={manage:ne,manageAndEmit:fe,emit:K};function it(M){return ue.indexOf(M)!==-1}i("caad"),i("2ca0");var Ve=["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 He(M){return Ve.includes(M)}function at(M){return["transition-group","TransitionGroup"].includes(M)}function lt(M){return["id","class","role","style"].includes(M)||M.startsWith("data-")||M.startsWith("aria-")||M.startsWith("on")}function dt(M){return M.reduce(function(H,q){var re=w(q,2),_e=re[0],Te=re[1];return H[_e]=Te,H},{})}function We(M){var H=M.$attrs,q=M.componentData,re=q===void 0?{}:q,_e=dt(Object.entries(H).filter(function(Te){var Me=w(Te,2),Re=Me[0];return Me[1],lt(Re)}));return f(f({},_e),re)}function Z(M){var H=M.$attrs,q=M.callBackBuilder,re=dt(me(H));Object.entries(q).forEach(function(Te){var Me=w(Te,2),Re=Me[0],nt=Me[1];Ne[Re].forEach(function(Pe){re["on".concat(Pe)]=nt(Pe)})});var _e="[data-draggable]".concat(re.draggable||"");return f(f({},re),{},{draggable:_e})}function me(M){return Object.entries(M).filter(function(H){var q=w(H,2),re=q[0];return q[1],!lt(re)}).map(function(H){var q=w(H,2),re=q[0],_e=q[1];return[ee(re),_e]}).filter(function(H){var q=w(H,2),re=q[0];return q[1],!it(re)})}i("c740");function ce(M,H){if(!(M instanceof H))throw new TypeError("Cannot call a class as a function")}function ye(M,H){for(var q=0;q<H.length;q++){var re=H[q];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(M,re.key,re)}}function Ue(M,H,q){return ye(M.prototype,H),M}var Ge=function(H){var q=H.el;return q},A=function(H,q){return H.__draggable_context=q},P=function(H){return H.__draggable_context},j=function(){function M(H){var q=H.nodes,re=q.header,_e=q.default,Te=q.footer,Me=H.root,Re=H.realList;ce(this,M),this.defaultNodes=_e,this.children=[].concat(k(re),k(_e),k(Te)),this.externalComponent=Me.externalComponent,this.rootTransition=Me.transition,this.tag=Me.tag,this.realList=Re}return Ue(M,[{key:"render",value:function(q,re){var _e=this.tag,Te=this.children,Me=this._isRootComponent,Re=Me?{default:function(){return Te}}:Te;return q(_e,re,Re)}},{key:"updated",value:function(){var q=this.defaultNodes,re=this.realList;q.forEach(function(_e,Te){A(Ge(_e),{element:re[Te],index:Te})})}},{key:"getUnderlyingVm",value:function(q){return P(q)}},{key:"getVmIndexFromDomIndex",value:function(q,re){var _e=this.defaultNodes,Te=_e.length,Me=re.children,Re=Me.item(q);if(Re===null)return Te;var nt=P(Re);if(nt)return nt.index;if(Te===0)return 0;var Pe=Ge(_e[0]),xe=k(Me).findIndex(function(Ae){return Ae===Pe});return q<xe?0:Te}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),M}(),te=i("8bbf");function X(M,H){var q=M[H];return q?q():[]}function ie(M){var H=M.$slots,q=M.realList,re=M.getKey,_e=q||[],Te=["header","footer"].map(function(Ae){return X(H,Ae)}),Me=w(Te,2),Re=Me[0],nt=Me[1],Pe=H.item;if(!Pe)throw new Error("draggable element must have an item slot");var xe=_e.flatMap(function(Ae,Ye){return Pe({element:Ae,index:Ye}).map(function(tt){return tt.key=re(Ae),tt.props=f(f({},tt.props||{}),{},{"data-draggable":!0}),tt})});if(xe.length!==_e.length)throw new Error("Item slot must have only one child");return{header:Re,footer:nt,default:xe}}function pe(M){var H=at(M),q=!He(M)&&!H;return{transition:H,externalComponent:q,tag:q?Object(te.resolveComponent)(M):H?te.TransitionGroup:M}}function E(M){var H=M.$slots,q=M.tag,re=M.realList,_e=M.getKey,Te=ie({$slots:H,realList:re,getKey:_e}),Me=pe(q);return new j({nodes:Te,root:Me,realList:re})}function $(M,H){var q=this;Object(te.nextTick)(function(){return q.$emit(M.toLowerCase(),H)})}function R(M){var H=this;return function(q,re){if(H.realList!==null)return H["onDrag".concat(M)](q,re)}}function oe(M){var H=this,q=R.call(this,M);return function(re,_e){q.call(H,re,_e),$.call(H,M,re)}}var ae=null,se={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(H){return H}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},V=["update:modelValue","change"].concat(k([].concat(k(Ne.manageAndEmit),k(Ne.emit)).map(function(M){return M.toLowerCase()}))),Y=Object(te.defineComponent)({name:"draggable",inheritAttrs:!1,props:se,emits:V,data:function(){return{error:!1}},render:function(){try{this.error=!1;var H=this.$slots,q=this.$attrs,re=this.tag,_e=this.componentData,Te=this.realList,Me=this.getKey,Re=E({$slots:H,tag:re,realList:Te,getKey:Me});this.componentStructure=Re;var nt=We({$attrs:q,componentData:_e});return Re.render(te.h,nt)}catch(Pe){return this.error=!0,Object(te.h)("pre",{style:{color:"red"}},Pe.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&G.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var H=this;if(!this.error){var q=this.$attrs,re=this.$el,_e=this.componentStructure;_e.updated();var Te=Z({$attrs:q,callBackBuilder:{manageAndEmit:function(nt){return oe.call(H,nt)},emit:function(nt){return $.bind(H,nt)},manage:function(nt){return R.call(H,nt)}}}),Me=re.nodeType===1?re:re.parentElement;this._sortable=new D.a(Me,Te),this.targetDomElement=Me,Me.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var H=this.list;return H||this.modelValue},getKey:function(){var H=this.itemKey;return typeof H=="function"?H:function(q){return q[H]}}},watch:{$attrs:{handler:function(H){var q=this._sortable;q&&me(H).forEach(function(re){var _e=w(re,2),Te=_e[0],Me=_e[1];q.option(Te,Me)})},deep:!0}},methods:{getUnderlyingVm:function(H){return this.componentStructure.getUnderlyingVm(H)||null},getUnderlyingPotencialDraggableComponent:function(H){return H.__draggable_component__},emitChanges:function(H){var q=this;Object(te.nextTick)(function(){return q.$emit("change",H)})},alterList:function(H){if(this.list){H(this.list);return}var q=k(this.modelValue);H(q),this.$emit("update:modelValue",q)},spliceList:function(){var H=arguments,q=function(_e){return _e.splice.apply(_e,k(H))};this.alterList(q)},updatePosition:function(H,q){var re=function(Te){return Te.splice(q,0,Te.splice(H,1)[0])};this.alterList(re)},getRelatedContextFromMoveEvent:function(H){var q=H.to,re=H.related,_e=this.getUnderlyingPotencialDraggableComponent(q);if(!_e)return{component:_e};var Te=_e.realList,Me={list:Te,component:_e};if(q!==re&&Te){var Re=_e.getUnderlyingVm(re)||{};return f(f({},Re),Me)}return Me},getVmIndexFromDomIndex:function(H){return this.componentStructure.getVmIndexFromDomIndex(H,this.targetDomElement)},onDragStart:function(H){this.context=this.getUnderlyingVm(H.item),H.item._underlying_vm_=this.clone(this.context.element),ae=H.item},onDragAdd:function(H){var q=H.item._underlying_vm_;if(q!==void 0){T(H.item);var re=this.getVmIndexFromDomIndex(H.newIndex);this.spliceList(re,0,q);var _e={element:q,newIndex:re};this.emitChanges({added:_e})}},onDragRemove:function(H){if(F(this.$el,H.item,H.oldIndex),H.pullMode==="clone"){T(H.clone);return}var q=this.context,re=q.index,_e=q.element;this.spliceList(re,1);var Te={element:_e,oldIndex:re};this.emitChanges({removed:Te})},onDragUpdate:function(H){T(H.item),F(H.from,H.item,H.oldIndex);var q=this.context.index,re=this.getVmIndexFromDomIndex(H.newIndex);this.updatePosition(q,re);var _e={element:this.context.element,oldIndex:q,newIndex:re};this.emitChanges({moved:_e})},computeFutureIndex:function(H,q){if(!H.element)return 0;var re=k(q.to.children).filter(function(Re){return Re.style.display!=="none"}),_e=re.indexOf(q.related),Te=H.component.getVmIndexFromDomIndex(_e),Me=re.indexOf(ae)!==-1;return Me||!q.willInsertAfter?Te:Te+1},onDragMove:function(H,q){var re=this.move,_e=this.realList;if(!re||!_e)return!0;var Te=this.getRelatedContextFromMoveEvent(H),Me=this.computeFutureIndex(Te,H),Re=f(f({},this.context),{},{futureIndex:Me}),nt=f(f({},H),{},{relatedContext:Te,draggedContext:Re});return re(nt,q)},onDragEnd:function(){ae=null}}}),ke=Y;s.default=ke},fb6a:function(o,s,i){var a=i("23e7"),l=i("861d"),c=i("e8b5"),d=i("23cb"),m=i("50c4"),f=i("fc6a"),p=i("8418"),h=i("b622"),_=i("1dde"),b=i("ae40"),C=_("slice"),w=b("slice",{ACCESSORS:!0,0:0,1:2}),g=h("species"),z=[].slice,S=Math.max;a({target:"Array",proto:!0,forced:!C||!w},{slice:function(L,D){var T=f(this),F=m(T.length),G=d(L,F),U=d(D===void 0?F:D,F),W,ee,fe;if(c(T)&&(W=T.constructor,typeof W=="function"&&(W===Array||c(W.prototype))?W=void 0:l(W)&&(W=W[g],W===null&&(W=void 0)),W===Array||W===void 0))return z.call(T,G,U);for(ee=new(W===void 0?Array:W)(S(U-G,0)),fe=0;G<U;G++,fe++)G in T&&p(ee,fe,T[G]);return ee.length=fe,ee}})},fc6a:function(o,s,i){var a=i("44ad"),l=i("1d80");o.exports=function(c){return a(l(c))}},fdbc:function(o,s){o.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(o,s,i){var a=i("4930");o.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(Cz);var Nj=Cz.exports;const Dj=mu(Nj),Rj={name:"PageQueue",components:{ContentWithHeading:et,ListItemQueueItem:yU,ModalDialogAddUrlStream:NU,ModalDialogPlaylistSave:XU,ModalDialogQueueItem:vz,draggable:Dj},setup(){return{configurationStore:Fo(),playerStore:On(),queueStore:ir(),uiStore:wn()}},data(){return{edit_mode:!1,selected_item:{},show_details_modal:!1,show_pls_save_modal:!1,show_url_modal:!1}},computed:{current_position(){var e;return((e=this.queue.current)==null?void 0:e.position)??-1},is_queue_save_allowed(){return this.configurationStore.allow_modifying_stored_playlists&&this.configurationStore.default_playlist_directory},queue(){return this.queueStore},queue_items:{get(){return this.queue.items},set(){}},show_only_next_items(){return this.uiStore.show_only_next_items},player(){return this.playerStore}},methods:{move_item(e){const t=e.oldIndex+(this.show_only_next_items&&this.current_position),n=this.queue_items[t],r=n.position+(e.newIndex-e.oldIndex);r!==t&&B.queue_move(n.id,r)},open_add_stream_dialog(){this.show_url_modal=!0},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},queue_clear(){B.queue_clear()},remove(e){B.queue_remove(e.id)},save_dialog(){this.queue_items.length>0&&(this.show_pls_save_modal=!0)},update_show_next_items(){this.uiStore.show_only_next_items=!this.uiStore.show_only_next_items}}},Mj=["textContent"],Fj=["textContent"],Vj={class:"buttons is-centered"},Hj=["textContent"],Uj=["textContent"],jj=["disabled"],Bj=["textContent"],Wj=["disabled"],qj=["textContent"],Gj=["disabled"],Kj=["textContent"],Zj=["onClick"],Yj=["onClick"];function Xj(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-item-queue-item"),l=O("draggable"),c=O("modal-dialog-queue-item"),d=O("modal-dialog-add-url-stream"),m=O("modal-dialog-playlist-save"),f=O("content-with-heading");return x(),I("div",null,[v(f,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.queue.title"))},null,8,Mj),u("p",{class:"heading",textContent:y(e.$t("page.queue.count",{count:s.queue.count}))},null,8,Fj)]),"heading-right":N(()=>[u("div",Vj,[u("button",{class:Se(["button is-small",{"is-info":s.show_only_next_items}]),onClick:t[0]||(t[0]=(...p)=>s.update_show_next_items&&s.update_show_next_items(...p))},[v(i,{class:"icon",name:"arrow-collapse-down",size:"16"}),u("span",{textContent:y(e.$t("page.queue.hide-previous"))},null,8,Hj)],2),u("button",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>s.open_add_stream_dialog&&s.open_add_stream_dialog(...p))},[v(i,{class:"icon",name:"web",size:"16"}),u("span",{textContent:y(e.$t("page.queue.add-stream"))},null,8,Uj)]),u("button",{class:Se(["button is-small",{"is-info":o.edit_mode}]),disabled:s.queue_items.length===0,onClick:t[2]||(t[2]=p=>o.edit_mode=!o.edit_mode)},[v(i,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:y(e.$t("page.queue.edit"))},null,8,Bj)],10,jj),u("button",{class:"button is-small",disabled:s.queue_items.length===0,onClick:t[3]||(t[3]=(...p)=>s.queue_clear&&s.queue_clear(...p))},[v(i,{class:"icon",name:"delete-empty",size:"16"}),u("span",{textContent:y(e.$t("page.queue.clear"))},null,8,qj)],8,Wj),s.is_queue_save_allowed?(x(),I("button",{key:0,class:"button is-small",disabled:s.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>s.save_dialog&&s.save_dialog(...p))},[v(i,{class:"icon",name:"content-save",size:"16"}),u("span",{textContent:y(e.$t("page.queue.save"))},null,8,Kj)],8,Gj)):Q("",!0)])]),content:N(()=>[v(l,{modelValue:s.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>s.queue_items=p),handle:".handle","item-key":"id",onEnd:s.move_item},{item:N(({element:p,index:h})=>[v(a,{item:p,position:h,current_position:s.current_position,show_only_next_items:s.show_only_next_items,edit_mode:o.edit_mode},{actions:N(()=>[o.edit_mode?Q("",!0):(x(),I("a",{key:0,onClick:bt(_=>s.open_dialog(p),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,Zj)),p.id!==s.player.item_id&&o.edit_mode?(x(),I("a",{key:1,onClick:bt(_=>s.remove(p),["prevent","stop"])},[v(i,{class:"icon has-text-grey",name:"delete",size:"18"})],8,Yj)):Q("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),v(c,{show:o.show_details_modal,item:o.selected_item,onClose:t[6]||(t[6]=p=>o.show_details_modal=!1)},null,8,["show","item"]),v(d,{show:o.show_url_modal,onClose:t[7]||(t[7]=p=>o.show_url_modal=!1)},null,8,["show"]),s.is_queue_save_allowed?(x(),ve(m,{key:0,show:o.show_pls_save_modal,onClose:t[8]||(t[8]=p=>o.show_pls_save_modal=!1)},null,8,["show"])):Q("",!0)]),_:1})])}const Jj=le(Rj,[["render",Xj]]),jh={load(e){return B.library_radio_streams()},set(e,t){e.tracks=new Ee(t.data.tracks)}},Qj={name:"PageRadioStreams",components:{ContentWithHeading:et,ListTracks:Cn},beforeRouteEnter(e,t,n){jh.load(e).then(r=>{n(o=>jh.set(o,r))})},data(){return{tracks:new Ee}}},eB=["textContent"],tB=["textContent"];function nB(e,t,n,r,o,s){const i=O("list-tracks"),a=O("content-with-heading");return x(),I("div",null,[v(a,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.radio.title"))},null,8,eB),u("p",{class:"heading",textContent:y(e.$t("page.radio.count",{count:o.tracks.total}))},null,8,tB)]),content:N(()=>[v(i,{items:o.tracks},null,8,["items"])]),_:1})])}const rB=le(Qj,[["render",nB]]),oB={name:"TabsSearch",emits:["search-library","search-spotify"],setup(){return{servicesStore:It()}},computed:{spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},sB={key:0,class:"section"},iB={class:"container"},aB={class:"columns is-centered"},lB={class:"column is-four-fifths"},uB={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},cB=["textContent"],dB=["textContent"];function mB(e,t,n,r,o,s){const i=O("mdicon");return s.spotify_enabled?(x(),I("section",sB,[u("div",iB,[u("div",aB,[u("div",lB,[u("div",uB,[u("ul",null,[u("li",{class:Se({"is-active":e.$route.name==="search-library"})},[u("a",{onClick:t[0]||(t[0]=a=>e.$emit("search-library"))},[v(i,{class:"icon is-small",name:"bookshelf",size:"16"}),u("span",{textContent:y(e.$t("page.search.tabs.library"))},null,8,cB)])],2),u("li",{class:Se({"is-active":e.$route.name==="search-spotify"})},[u("a",{onClick:t[1]||(t[1]=a=>e.$emit("search-spotify"))},[v(i,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{textContent:y(e.$t("page.search.tabs.spotify"))},null,8,dB)])],2)])])])])])])):Q("",!0)}const Lz=le(oB,[["render",mB]]),hc=3,_c=["track","artist","album","composer","playlist","audiobook","podcast"],fB={name:"PageSearchLibrary",components:{ContentWithHeading:et,ListAlbums:xn,ListArtists:Cl,ListComposers:fd,ListPlaylists:wl,ListTracks:Cn,TabsSearch:Lz},setup(){return{searchStore:cm()}},data(){return{components:{album:xn.name,artist:Cl.name,audiobook:xn.name,composer:fd.name,playlist:wl.name,podcast:xn.name,track:Cn.name},results:new Map,search_limit:{},search_query:"",search_types:_c}},computed:{expanded(){return this.search_types.length===1},recent_searches(){return this.searchStore.recent_searches}},watch:{search_query(){this.searchStore.search_query=this.search_query}},mounted(){this.searchStore.search_source=this.$route.name,this.search_query=this.searchStore.search_query,this.search_limit=hc,this.search()},methods:{expand(e){this.search_query=this.searchStore.search_query,this.search_types=[e],this.search_limit=-1,this.search()},open_search(e){this.search_query=e,this.search_types=_c,this.search_limit=hc,this.search()},remove_search(e){this.searchStore.remove(e)},reset(){this.results.clear(),this.search_types.forEach(e=>{this.results.set(e,new Ee)})},search(e){if(e&&(this.search_types=_c,this.search_limit=hc),this.search_query=this.search_query.trim(),!this.search_query||!this.search_query.replace(/^query:/u,"")){this.$refs.search_field.focus();return}this.reset(),this.search_types.forEach(t=>{this.search_items(t)}),this.searchStore.add(this.search_query)},search_items(e){const t=e!=="audiobook"&&e!=="podcast",n=t?"music":e,r={limit:this.search_limit,type:t?e:"album"};this.search_query.startsWith("query:")?r.expression=`(${this.search_query.replace(/^query:/u,"").trim()}) and media_kind is ${n}`:t?(r.query=this.search_query,r.media_kind=n):r.expression=`(album includes "${this.search_query}" or artist includes "${this.search_query}") and media_kind is ${n}`,B.search(r).then(({data:o})=>{this.results.set(e,new Ee(o[`${r.type}s`]))})},search_spotify(){this.$router.push({name:"search-spotify"})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},pB={class:"section pb-0"},hB={class:"container"},_B={class:"columns is-centered"},gB={class:"column is-four-fifths"},yB={class:"field"},zB={class:"control has-icons-left"},bB=["placeholder"],vB=["textContent"],CB={class:"field is-grouped is-grouped-multiline mt-4"},wB={class:"tags has-addons"},SB=["onClick","textContent"],kB=["onClick"],xB=["textContent"],EB={key:0,class:"level"},TB={class:"level-item"},$B=["onClick","textContent"],AB={key:1,class:"has-text-centered-mobile"},OB=["textContent"];function PB(e,t,n,r,o,s){const i=O("mdicon"),a=O("i18n-t"),l=O("tabs-search"),c=O("content-with-heading");return x(),I(ze,null,[u("section",pB,[u("div",hB,[u("div",_B,[u("div",gB,[u("form",{onSubmit:t[1]||(t[1]=bt((...d)=>s.search&&s.search(...d),["prevent"]))},[u("div",yB,[u("p",zB,[gt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=d=>o.search_query=d),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,bB),[[vn,o.search_query]]),v(i,{class:"icon is-left",name:"magnify",size:"16"})]),v(a,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:N(()=>t[2]||(t[2]=[u("code",null,"query:",-1)])),help:N(()=>[u("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:y(e.$t("page.search.expression"))},null,8,vB)]),_:1})])],32),u("div",CB,[(x(!0),I(ze,null,zt(s.recent_searches,d=>(x(),I("div",{key:d,class:"control"},[u("div",wB,[u("a",{class:"tag",onClick:m=>s.open_search(d),textContent:y(d)},null,8,SB),u("a",{class:"tag is-delete",onClick:m=>s.remove_search(d)},null,8,kB)])]))),128))])])])])]),v(l,{onSearchLibrary:s.search,onSearchSpotify:s.search_spotify},null,8,["onSearchLibrary","onSearchSpotify"]),(x(!0),I(ze,null,zt(o.results,([d,m])=>(x(),ve(c,{key:d,class:"pt-0"},Vd({"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t(`page.search.${d}s`))},null,8,xB)]),content:N(()=>[(x(),ve(Kl(o.components[d]),{items:m},null,8,["items"]))]),_:2},[s.expanded?void 0:{name:"footer",fn:N(()=>[s.show_all_button(m)?(x(),I("nav",EB,[u("p",TB,[u("a",{class:"button is-light is-small is-rounded",onClick:f=>s.expand(d),textContent:y(e.$t(`page.search.show-${d}s`,m.total,{count:e.$filters.number(m.total)}))},null,8,$B)])])):Q("",!0),m.total?Q("",!0):(x(),I("p",AB,[u("i",{textContent:y(e.$t("page.search.no-results"))},null,8,OB)]))]),key:"0"}]),1024))),128))],64)}const IB=le(fB,[["render",PB]]),LB={name:"ListArtistsSpotify",components:{ModalDialogArtistSpotify:_z},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.$router.push({name:"music-spotify-artist",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},NB=["onClick"],DB=["textContent"],RB={class:"media-right"},MB=["onClick"];function FB(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-artist-spotify");return x(),I(ze,null,[(x(!0),I(ze,null,zt(n.items,l=>(x(),I("div",{key:l.id,class:"media is-align-items-center"},[u("div",{class:"media-content is-clickable is-clipped",onClick:c=>s.open(l)},[u("h1",{class:"title is-6",textContent:y(l.name)},null,8,DB)],8,NB),u("div",RB,[u("a",{onClick:bt(c=>s.open_dialog(l),["prevent","stop"])},[v(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,MB)])]))),128)),(x(),ve(qn,{to:"#app"},[v(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Bh=le(LB,[["render",FB]]),gc=3,yc=50,zc=["track","artist","album","playlist"],VB={name:"PageSearchSpotify",components:{ContentWithHeading:et,ListAlbumsSpotify:Ui,ListArtistsSpotify:Bh,ListPlaylistsSpotify:Sl,ListTracksSpotify:vl,TabsSearch:Lz,VueEternalLoading:vm},setup(){return{searchStore:cm()}},data(){return{components:{album:Ui.name,artist:Bh.name,playlist:Sl.name,track:vl.name},results:new Map,search_parameters:{},search_query:"",search_types:zc}},computed:{expanded(){return this.search_types.length===1},recent_searches(){return this.searchStore.recent_searches.filter(e=>!e.startsWith("query:"))}},watch:{search_query(){this.searchStore.search_query=this.search_query}},mounted(){this.searchStore.search_source=this.$route.name,this.search_query=this.searchStore.search_query,this.search_parameters.limit=gc,this.search()},methods:{expand(e){this.search_query=this.searchStore.search_query,this.search_types=[e],this.search_parameters.limit=yc,this.search_parameters.offset=0,this.search()},open_search(e){this.search_query=e,this.search_types=zc,this.search_parameters.limit=gc,this.search_parameters.offset=0,this.search()},remove_search(e){this.searchStore.remove(e)},reset(){this.results.clear(),this.search_types.forEach(e=>{this.results.set(e,{items:[],total:0})})},search(e){if(e&&(this.search_types=zc,this.search_parameters.limit=gc),this.search_query=this.search_query.trim(),!this.search_query){this.$refs.search_field.focus();return}this.reset(),this.search_items().then(t=>{this.search_types.forEach(n=>{this.results.set(n,t[`${n}s`])})}),this.searchStore.add(this.search_query)},search_items(){return B.spotify().then(({data:e})=>{this.search_parameters.market=e.webapi_country;const t=new dr;return t.setAccessToken(e.webapi_token),t.search(this.search_query,this.search_types,this.search_parameters)})},search_library(){this.$router.push({name:"search-library"})},search_next({loaded:e}){const[t]=this.search_types,n=this.results.get(t);this.search_parameters.limit=yc,this.search_items().then(r=>{const[o]=Object.values(r);n.items.push(...o.items),n.total=o.total,this.search_parameters.offset||(this.search_parameters.offset=0),this.search_parameters.offset+=o.limit,e(o.items.length,yc)})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},HB={class:"section pb-0"},UB={class:"container"},jB={class:"columns is-centered"},BB={class:"column is-four-fifths"},WB={class:"field"},qB={class:"control has-icons-left"},GB=["placeholder"],KB={class:"field is-grouped is-grouped-multiline mt-4"},ZB={class:"tags has-addons"},YB=["onClick","textContent"],XB=["onClick"],JB=["textContent"],QB={class:"columns is-centered"},eW={class:"column has-text-centered"},tW={key:0,class:"level"},nW={class:"level-item"},rW=["onClick","textContent"],oW={key:1,class:"has-text-centered-mobile"},sW=["textContent"];function iW(e,t,n,r,o,s){const i=O("mdicon"),a=O("tabs-search"),l=O("VueEternalLoading"),c=O("content-with-heading");return x(),I(ze,null,[u("section",HB,[u("div",UB,[u("div",jB,[u("div",BB,[u("form",{onSubmit:t[1]||(t[1]=bt((...d)=>s.search&&s.search(...d),["prevent"]))},[u("div",WB,[u("p",qB,[gt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=d=>o.search_query=d),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,GB),[[vn,o.search_query]]),v(i,{class:"icon is-left",name:"magnify",size:"16"})])])],32),u("div",KB,[(x(!0),I(ze,null,zt(s.recent_searches,d=>(x(),I("div",{key:d,class:"control"},[u("div",ZB,[u("a",{class:"tag",onClick:m=>s.open_search(d),textContent:y(d)},null,8,YB),u("a",{class:"tag is-delete",onClick:m=>s.remove_search(d)},null,8,XB)])]))),128))])])])])]),v(a,{onSearchLibrary:s.search_library,onSearchSpotify:s.search},null,8,["onSearchLibrary","onSearchSpotify"]),(x(!0),I(ze,null,zt(o.results,([d,m])=>(x(),ve(c,{key:d,class:"pt-0"},Vd({"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t(`page.spotify.search.${d}s`))},null,8,JB)]),content:N(()=>[(x(),ve(Kl(o.components[d]),{items:m.items},null,8,["items"])),s.expanded?(x(),ve(l,{key:0,load:s.search_next},{loading:N(()=>[u("div",QB,[u("div",eW,[v(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":N(()=>t[2]||(t[2]=[u("br",null,null,-1)])),_:1},8,["load"])):Q("",!0)]),_:2},[s.expanded?void 0:{name:"footer",fn:N(()=>[s.show_all_button(m)?(x(),I("nav",tW,[u("p",nW,[u("a",{class:"button is-light is-small is-rounded",onClick:f=>s.expand(d),textContent:y(e.$t(`page.spotify.search.show-${d}s`,m.total,{count:e.$filters.number(m.total)}))},null,8,rW)])])):Q("",!0),m.total?Q("",!0):(x(),I("p",oW,[u("i",{textContent:y(e.$t("page.spotify.search.no-results"))},null,8,sW)]))]),key:"0"}]),1024))),128))],64)}const aW=le(VB,[["render",iW]]),lW={name:"SettingsCheckbox",props:{category:{required:!0,type:String},name:{required:!0,type:String}},setup(){return{settingsStore:cr()}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.is_success?this.$t("setting.saved"):this.is_error?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},setting(){const e=this.settingsStore.setting(this.category,this.name);return e||{category:this.category,name:this.name,value:!1}}},methods:{clear_status(){this.is_error&&(this.setting.value=!this.setting.value),this.statusUpdate=""},update_setting(){this.timerId=-1;const e={category:this.category,name:this.name,value:this.setting.value};B.settings_update(this.category,e).then(()=>{this.settingsStore.update(e),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error"}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},uW={class:"field"},cW=["id"],dW=["for"],mW=["textContent"],fW={key:0,class:"help"};function pW(e,t,n,r,o,s){return x(),I("div",uW,[gt(u("input",{id:s.setting.name,"onUpdate:modelValue":t[0]||(t[0]=i=>s.setting.value=i),type:"checkbox",class:"switch is-rounded mr-2",onChange:t[1]||(t[1]=(...i)=>s.update_setting&&s.update_setting(...i))},null,40,cW),[[jn,s.setting.value]]),u("label",{class:"pt-0",for:s.setting.name},[wt(e.$slots,"label")],8,dW),u("i",{class:Se(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:y(s.info)},null,10,mW),e.$slots.info?(x(),I("p",fW,[wt(e.$slots,"info")])):Q("",!0)])}const Nz=le(lW,[["render",pW]]),hW={name:"TabsSettings"},_W={class:"section fd-tabs-section"},gW={class:"container"},yW={class:"columns is-centered"},zW={class:"column is-four-fifths"},bW={class:"tabs is-centered is-small"},vW=["onClick","onKeypress"],CW=["textContent"],wW=["onClick","onKeypress"],SW=["textContent"],kW=["onClick","onKeypress"],xW=["textContent"],EW=["onClick","onKeypress"],TW=["textContent"];function $W(e,t,n,r,o,s){const i=O("router-link");return x(),I("section",_W,[u("div",gW,[u("div",yW,[u("div",zW,[u("div",bW,[u("ul",null,[v(i,{to:{name:"settings-webinterface"},custom:""},{default:N(({navigate:a,isActive:l})=>[u("li",{class:Se({"is-active":l})},[u("a",{onClick:a,onKeypress:gn(a,["enter"])},[u("span",{textContent:y(e.$t("page.settings.tabs.general"))},null,8,CW)],40,vW)],2)]),_:1}),v(i,{to:{name:"settings-remotes-outputs"},custom:""},{default:N(({navigate:a,isActive:l})=>[u("li",{class:Se({"is-active":l})},[u("a",{onClick:a,onKeypress:gn(a,["enter"])},[u("span",{textContent:y(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,SW)],40,wW)],2)]),_:1}),v(i,{to:{name:"settings-artwork"},custom:""},{default:N(({navigate:a,isActive:l})=>[u("li",{class:Se({"is-active":l})},[u("a",{onClick:a,onKeypress:gn(a,["enter"])},[u("span",{textContent:y(e.$t("page.settings.tabs.artwork"))},null,8,xW)],40,kW)],2)]),_:1}),v(i,{to:{name:"settings-online-services"},custom:""},{default:N(({navigate:a,isActive:l})=>[u("li",{class:Se({"is-active":l})},[u("a",{onClick:a,onKeypress:gn(a,["enter"])},[u("span",{textContent:y(e.$t("page.settings.tabs.online-services"))},null,8,TW)],40,EW)],2)]),_:1})])])])])])])}const wu=le(hW,[["render",$W]]),AW={name:"PageSettingsArtwork",components:{ContentWithHeading:et,SettingsCheckbox:Nz,TabsSettings:wu},setup(){return{servicesStore:It()}},computed:{spotify(){return this.servicesStore.spotify}}},OW={class:"fd-page-with-tabs"},PW=["textContent"],IW=["textContent"],LW=["textContent"],NW=["textContent"],DW=["textContent"],RW=["textContent"],MW={href:"https://www.spotify.com/",target:"_blank"},FW={class:"icon"},VW=["textContent"],HW={href:"https://www.discogs.com/",target:"_blank"},UW={class:"icon"},jW=["textContent"],BW={href:"https://coverartarchive.org/",target:"_blank"},WW={class:"icon"};function qW(e,t,n,r,o,s){const i=O("tabs-settings"),a=O("settings-checkbox"),l=O("mdicon"),c=O("content-with-heading");return x(),I("div",OW,[v(i),v(c,null,{"heading-left":N(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.artwork.title"))},null,8,PW)]),content:N(()=>[u("div",{class:"content",textContent:y(e.$t("page.settings.artwork.explanation-1"))},null,8,IW),v(a,{category:"artwork",name:"streamurl_ignore"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.artwork.streaming"))},null,8,LW)]),_:1}),v(a,{category:"artwork",name:"show_cover_artwork_in_album_lists"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.artwork.show-coverart"))},null,8,NW)]),_:1}),u("div",{class:"content",textContent:y(e.$t("page.settings.artwork.explanation-2"))},null,8,DW),s.spotify.spotify_logged_in?(x(),ve(a,{key:0,category:"artwork",name:"use_artwork_source_spotify"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.artwork.spotify"))},null,8,RW),u("a",MW,[u("span",FW,[v(l,{name:"open-in-new",size:"16"})])])]),_:1})):Q("",!0),v(a,{category:"artwork",name:"use_artwork_source_discogs"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.artwork.discogs"))},null,8,VW),u("a",HW,[u("span",UW,[v(l,{name:"open-in-new",size:"16"})])])]),_:1}),v(a,{category:"artwork",name:"use_artwork_source_coverartarchive"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.artwork.coverartarchive"))},null,8,jW),u("a",BW,[u("span",WW,[v(l,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const GW=le(AW,[["render",qW]]),KW={name:"PageSettingsOnlineServices",components:{ContentWithHeading:et,TabsSettings:wu},setup(){return{servicesStore:It()}},data(){return{lastfm_login:{errors:{error:"",password:"",user:""},password:"",user:""}}},computed:{lastfm(){return this.servicesStore.lastfm},spotify(){return this.servicesStore.spotify},spotify_missing_scope(){return this.spotify.webapi_token_valid&&this.spotify.webapi_granted_scope&&this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" ").filter(e=>!this.spotify.webapi_granted_scope.includes(e)):[]},spotify_required_scope(){return this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" "):[]}},methods:{login_lastfm(){B.lastfm_login(this.lastfm_login).then(e=>{this.lastfm_login.user="",this.lastfm_login.password="",this.lastfm_login.errors.user="",this.lastfm_login.errors.password="",this.lastfm_login.errors.error="",e.data.success||(this.lastfm_login.errors.user=e.data.errors.user,this.lastfm_login.errors.password=e.data.errors.password,this.lastfm_login.errors.error=e.data.errors.error)})},logoutLastfm(){B.lastfm_logout()},logout_spotify(){B.spotify_logout()}}},ZW={class:"fd-page-with-tabs"},YW=["textContent"],XW={key:0,class:"notification is-size-7"},JW=["textContent"],QW={key:1},eq={class:"notification is-size-7"},tq=["textContent"],nq={class:"mt-5"},rq=["textContent"],oq={key:0},sq=["textContent"],iq=["textContent"],aq={key:1,class:"help is-danger"},lq=["textContent"],uq=["textContent"],cq={class:"field mt-5"},dq={class:"control"},mq=["href","textContent"],fq={class:"help"},pq=["textContent"],hq=["textContent"],_q={key:2,class:"field mt-5"},gq={class:"control"},yq=["textContent"],zq=["textContent"],bq={key:0,class:"notification is-size-7"},vq=["textContent"],Cq={key:1},wq=["textContent"],Sq={key:0},kq=["textContent"],xq={key:1},Eq={class:"field is-grouped"},Tq={class:"control"},$q=["placeholder"],Aq=["textContent"],Oq={class:"control"},Pq=["placeholder"],Iq=["textContent"],Lq={class:"control"},Nq=["textContent"],Dq=["textContent"],Rq=["textContent"];function Mq(e,t,n,r,o,s){const i=O("tabs-settings"),a=O("content-with-heading");return x(),I("div",ZW,[v(i),v(a,null,{"heading-left":N(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.services.spotify.title"))},null,8,YW)]),content:N(()=>[s.spotify.spotify_installed?Q("",!0):(x(),I("div",XW,[u("p",{textContent:y(e.$t("page.settings.services.spotify.no-support"))},null,8,JW)])),s.spotify.spotify_installed?(x(),I("div",QW,[u("div",eq,[u("span",{textContent:y(e.$t("page.settings.services.spotify.requirements"))},null,8,tq)]),u("div",nq,[u("p",{class:"content",textContent:y(e.$t("page.settings.services.spotify.grant-access"))},null,8,rq),s.spotify.webapi_token_valid?(x(),I("p",oq,[u("span",{textContent:y(e.$t("page.settings.services.spotify.user"))},null,8,sq),u("code",{textContent:y(s.spotify.webapi_user)},null,8,iq)])):Q("",!0),s.spotify_missing_scope.length>0?(x(),I("p",aq,[u("span",{textContent:y(e.$t("page.settings.services.spotify.reauthorize"))},null,8,lq),u("code",{textContent:y(s.spotify_missing_scope.join())},null,8,uq)])):Q("",!0),u("div",cq,[u("div",dq,[u("a",{class:Se(["button",{"is-info":!s.spotify.webapi_token_valid||s.spotify_missing_scope.length>0}]),href:s.spotify.oauth_uri,textContent:y(e.$t("page.settings.services.spotify.authorize"))},null,10,mq)])]),u("p",fq,[u("span",{textContent:y(e.$t("page.settings.services.spotify.scopes"))},null,8,pq),u("code",{textContent:y(s.spotify_required_scope.join(", "))},null,8,hq)]),s.spotify.webapi_token_valid?(x(),I("div",_q,[u("div",gq,[u("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>s.logout_spotify&&s.logout_spotify(...l)),textContent:y(e.$t("page.settings.services.logout"))},null,8,yq)])])):Q("",!0)])])):Q("",!0)]),_:1}),v(a,null,{"heading-left":N(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.services.lastfm.title"))},null,8,zq)]),content:N(()=>[s.lastfm.enabled?Q("",!0):(x(),I("div",bq,[u("p",{textContent:y(e.$t("page.settings.services.lastfm.no-support"))},null,8,vq)])),s.lastfm.enabled?(x(),I("div",Cq,[u("p",{class:"content",textContent:y(e.$t("page.settings.services.lastfm.grant-access"))},null,8,wq),s.lastfm.scrobbling_enabled?(x(),I("div",Sq,[u("a",{class:"button is-danger",onClick:t[1]||(t[1]=(...l)=>s.logoutLastfm&&s.logoutLastfm(...l)),textContent:y(e.$t("page.settings.services.logout"))},null,8,kq)])):Q("",!0),s.lastfm.scrobbling_enabled?Q("",!0):(x(),I("div",xq,[u("form",{onSubmit:t[4]||(t[4]=bt((...l)=>s.login_lastfm&&s.login_lastfm(...l),["prevent"]))},[u("div",Eq,[u("div",Tq,[gt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>o.lastfm_login.user=l),class:"input",type:"text",placeholder:e.$t("page.settings.services.username")},null,8,$q),[[vn,o.lastfm_login.user]]),u("p",{class:"help is-danger",textContent:y(o.lastfm_login.errors.user)},null,8,Aq)]),u("div",Oq,[gt(u("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>o.lastfm_login.password=l),class:"input",type:"password",placeholder:e.$t("page.settings.services.password")},null,8,Pq),[[vn,o.lastfm_login.password]]),u("p",{class:"help is-danger",textContent:y(o.lastfm_login.errors.password)},null,8,Iq)]),u("div",Lq,[u("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.services.login"))},null,8,Nq)])]),u("p",{class:"help is-danger",textContent:y(o.lastfm_login.errors.error)},null,8,Dq),u("p",{class:"help",textContent:y(e.$t("page.settings.services.lastfm.info"))},null,8,Rq)],32)]))])):Q("",!0)]),_:1})])}const Fq=le(KW,[["render",Mq]]),Vq={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:et,TabsSettings:wu},setup(){return{outputsStore:um(),remotesStore:Kd()}},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{outputs(){return this.outputsStore.outputs},pairing(){return this.remotesStore.pairing}},methods:{kickoff_pairing(){B.pairing_kickoff(this.pairing_req)},kickoff_verification(e){B.output_update(e,this.verification_req)},output_toggle(e){B.output_toggle(e)}}},Hq={class:"fd-page-with-tabs"},Uq=["textContent"],jq={key:0},Bq={class:"label has-text-weight-normal content"},Wq=["textContent"],qq=["textContent"],Gq={class:"field is-grouped"},Kq={class:"control"},Zq=["placeholder"],Yq={class:"control"},Xq=["textContent"],Jq={key:1},Qq=["textContent"],eG=["textContent"],tG=["textContent"],nG={class:"field"},rG={class:"control"},oG=["id","onUpdate:modelValue","onChange"],sG=["for","textContent"],iG=["onSubmit"],aG={class:"field is-grouped"},lG={class:"control"},uG=["placeholder"],cG={class:"control"},dG=["textContent"];function mG(e,t,n,r,o,s){const i=O("tabs-settings"),a=O("content-with-heading");return x(),I("div",Hq,[v(i),v(a,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.settings.devices.pairing"))},null,8,Uq)]),content:N(()=>[s.pairing.active?(x(),I("div",jq,[u("form",{onSubmit:t[1]||(t[1]=bt((...l)=>s.kickoff_pairing&&s.kickoff_pairing(...l),["prevent"]))},[u("label",Bq,[u("span",{textContent:y(e.$t("page.settings.devices.pairing-request"))},null,8,Wq),u("b",{textContent:y(s.pairing.remote)},null,8,qq)]),u("div",Gq,[u("div",Kq,[gt(u("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>o.pairing_req.pin=l),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,Zq),[[vn,o.pairing_req.pin]])]),u("div",Yq,[u("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.devices.send"))},null,8,Xq)])])],32)])):(x(),I("div",Jq,[u("p",{textContent:y(e.$t("page.settings.devices.no-active-pairing"))},null,8,Qq)]))]),_:1}),v(a,null,{"heading-left":N(()=>[u("p",{class:"title is-4",textContent:y(e.$t("page.settings.devices.speaker-pairing"))},null,8,eG)]),content:N(()=>[u("p",{class:"content",textContent:y(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,tG),(x(!0),I(ze,null,zt(s.outputs,l=>(x(),I("div",{key:l.id},[u("div",nG,[u("div",rG,[gt(u("input",{id:l.id,"onUpdate:modelValue":c=>l.selected=c,type:"checkbox",class:"switch is-rounded mr-2",onChange:c=>s.output_toggle(l.id)},null,40,oG),[[jn,l.selected]]),u("label",{for:l.id,class:"checkbox",textContent:y(l.name)},null,8,sG)])]),l.needs_auth_key?(x(),I("form",{key:0,class:"mb-5",onSubmit:bt(c=>s.kickoff_verification(l.id),["prevent"])},[u("div",aG,[u("div",lG,[gt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=c=>o.verification_req.pin=c),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.verification-code")},null,8,uG),[[vn,o.verification_req.pin]])]),u("div",cG,[u("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.devices.verify"))},null,8,dG)])])],40,iG)):Q("",!0)]))),128))]),_:1})])}const fG=le(Vq,[["render",mG]]),pG={name:"SettingsIntfield",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:cr()}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},setting(){return this.settingsStore.setting(this.category,this.name)}},methods:{clear_status(){this.statusUpdate=""},set_update_timer(e){e.target.value=e.target.value.replace(/[^0-9]/gu,""),this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.timerId=window.setTimeout(this.update_setting,this.timerDelay)},update_setting(){this.timerId=-1;const e=parseInt(this.$refs.setting.value,10);if(isNaN(e)||e===this.value){this.statusUpdate="";return}const t={category:this.category,name:this.name,value:e};B.settings_update(this.category,t).then(()=>{this.settingsStore.update(t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},hG=["disabled"],_G={class:"field"},gG={class:"label has-text-weight-normal"},yG=["textContent"],zG={class:"control"},bG=["placeholder","value"],vG={key:0,class:"help"};function CG(e,t,n,r,o,s){return x(),I("fieldset",{disabled:n.disabled},[u("div",_G,[u("label",gG,[wt(e.$slots,"label"),u("i",{class:Se(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:y(s.info)},null,10,yG)]),u("div",zG,[u("input",{ref:"setting",class:"column input is-one-fifth",inputmode:"numeric",min:"0",placeholder:n.placeholder,value:s.setting.value,onInput:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,bG)]),e.$slots.info?(x(),I("p",vG,[wt(e.$slots,"info")])):Q("",!0)])],8,hG)}const wG=le(pG,[["render",CG]]),SG={name:"SettingsTextfield",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:cr()}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},setting(){return this.settingsStore.setting(this.category,this.name)}},methods:{clear_status(){this.statusUpdate=""},set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.value!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.value;if(e===this.value){this.statusUpdate="";return}const t={category:this.category,name:this.name,value:e};B.settings_update(this.category,t).then(()=>{this.settingsStore.update(t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},kG=["disabled"],xG={class:"field"},EG={class:"label has-text-weight-normal"},TG=["textContent"],$G={class:"control"},AG=["placeholder","value"],OG={key:0,class:"help"};function PG(e,t,n,r,o,s){return x(),I("fieldset",{disabled:n.disabled},[u("div",xG,[u("label",EG,[wt(e.$slots,"label"),u("i",{class:Se(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:y(s.info)},null,10,TG)]),u("div",$G,[u("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:s.setting.value,onInput:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,AG)]),e.$slots.info?(x(),I("p",OG,[wt(e.$slots,"info")])):Q("",!0)])],8,kG)}const IG=le(SG,[["render",PG]]),LG={name:"PageSettingsWebinterface",components:{ContentWithHeading:et,ControlDropdown:Bo,SettingsCheckbox:Nz,SettingsIntfield:wG,SettingsTextfield:IG,TabsSettings:wu},setup(){return{settingsStore:cr()}},computed:{locale:{get(){const e=this.$i18n.availableLocales;let t=e.find(r=>r===this.$i18n.locale);const[n]=this.$i18n.locale.split("-");return t||(t=e.find(r=>r===n)),t||(t=e.forEach(r=>r.split("-")[0]===n)),t||(t=this.$i18n.fallbackLocale),t},set(e){this.$i18n.locale=e}},locales:{get(){return this.$i18n.availableLocales.map(e=>({id:e,name:this.$t(`language.${e}`)}))}}}},NG={class:"fd-page-with-tabs"},DG=["textContent"],RG=["textContent"],MG=["textContent"],FG=["textContent"],VG=["textContent"],HG=["textContent"],UG=["textContent"],jG=["textContent"],BG=["textContent"],WG=["textContent"],qG=["textContent"],GG=["textContent"],KG=["textContent"],ZG=["textContent"],YG=["textContent"],XG=["textContent"],JG=["textContent"],QG=["textContent"],eK=["textContent"],tK=["textContent"],nK=["textContent"];function rK(e,t,n,r,o,s){const i=O("tabs-settings"),a=O("control-dropdown"),l=O("content-with-heading"),c=O("settings-checkbox"),d=O("settings-textfield"),m=O("settings-intfield");return x(),I("div",NG,[v(i),v(l,null,{"heading-left":N(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.language"))},null,8,DG)]),content:N(()=>[v(a,{value:s.locale,"onUpdate:value":t[0]||(t[0]=f=>s.locale=f),options:s.locales},null,8,["value","options"])]),_:1}),v(l,null,{"heading-left":N(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.navigation-items"))},null,8,RG)]),content:N(()=>[u("p",{class:"content",textContent:y(e.$t("page.settings.general.navigation-item-selection"))},null,8,MG),u("div",{class:"notification is-size-7",textContent:y(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,FG),v(c,{category:"webinterface",name:"show_menu_item_playlists"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.general.playlists"))},null,8,VG)]),_:1}),v(c,{category:"webinterface",name:"show_menu_item_music"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.general.music"))},null,8,HG)]),_:1}),v(c,{category:"webinterface",name:"show_menu_item_podcasts"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.general.podcasts"))},null,8,UG)]),_:1}),v(c,{category:"webinterface",name:"show_menu_item_audiobooks"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.general.audiobooks"))},null,8,jG)]),_:1}),v(c,{category:"webinterface",name:"show_menu_item_radio"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.general.radio"))},null,8,BG)]),_:1}),v(c,{category:"webinterface",name:"show_menu_item_files"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.general.files"))},null,8,WG)]),_:1}),v(c,{category:"webinterface",name:"show_menu_item_search"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.general.search"))},null,8,qG)]),_:1})]),_:1}),v(l,null,{"heading-left":N(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.now-playing-page"))},null,8,GG)]),content:N(()=>[v(c,{category:"webinterface",name:"show_composer_now_playing"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.general.show-composer"))},null,8,KG)]),info:N(()=>[u("span",{textContent:y(e.$t("page.settings.general.show-composer-info"))},null,8,ZG)]),_:1}),v(d,{category:"webinterface",name:"show_composer_for_genre",disabled:!r.settingsStore.show_composer_now_playing,placeholder:e.$t("page.settings.general.genres")},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.general.show-composer-genres"))},null,8,YG)]),info:N(()=>[u("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,XG),u("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,JG),u("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,QG)]),_:1},8,["disabled","placeholder"]),v(c,{category:"webinterface",name:"show_filepath_now_playing"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.general.show-path"))},null,8,eK)]),_:1})]),_:1}),v(l,null,{"heading-left":N(()=>[u("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.recently-added-page"))},null,8,tK)]),content:N(()=>[v(m,{category:"webinterface",name:"recently_added_limit"},{label:N(()=>[u("span",{textContent:y(e.$t("page.settings.general.recently-added-page-info"))},null,8,nK)]),_:1})]),_:1})])}const oK=le(LG,[["render",rK]]),Wh=140,qh=110,Dz=Z8({history:S8(),routes:[{path:"/:all(.*)*",redirect:"/"},{component:jP,name:"about",path:"/about"},{component:x5,meta:{show_progress:!0},name:"music-album",path:"/music/albums/:id"},{component:R4,meta:{show_progress:!0},name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:aN,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-albums",path:"/music/albums"},{component:qN,meta:{has_index:!0,show_progress:!0},name:"music-artist",path:"/music/artists/:id"},{component:DD,meta:{show_progress:!0},name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:$3,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-artists",path:"/music/artists"},{component:e3,meta:{has_index:!0,show_progress:!0},name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:M3,meta:{show_progress:!0},name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:rR,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-albums",path:"/audiobooks/albums"},{component:cR,meta:{show_progress:!0},name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:_R,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-artists",path:"/audiobooks/artists"},{component:XR,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-genres",path:"/audiobooks/genres"},{name:"audiobooks",path:"/audiobooks",redirect:{name:"audiobooks-artists"}},{name:"music",path:"/music",redirect:{name:"music-history"}},{component:H7,meta:{has_tabs:!0,show_progress:!0},name:"music-history",path:"/music/history"},{component:q7,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-added",path:"/music/recently-added"},{component:X7,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-played",path:"/music/recently-played"},{component:IV,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify",path:"/music/spotify"},{component:MV,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:jV,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:SM,meta:{has_index:!0,show_progress:!0},name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:DM,meta:{has_index:!0,show_progress:!0},name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:JM,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-composers",path:"/music/composers"},{component:o7,meta:{show_progress:!0},name:"files",path:"/files"},{component:f7,meta:{has_index:!0,show_progress:!0},name:"genre-albums",path:"/genres/:name/albums"},{component:k7,meta:{has_index:!0,show_progress:!0},name:"genre-tracks",path:"/genres/:name/tracks"},{component:O7,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-genres",path:"/music/genres"},{component:rH,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:lH,meta:{show_progress:!0},name:"playlist-folder",path:"/playlists/:id"},{component:hH,meta:{show_progress:!0},name:"playlist",path:"/playlists/:id/tracks"},{component:SH,meta:{show_progress:!0},name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:NH,meta:{show_progress:!0},name:"podcast",path:"/podcasts/:id"},{component:uU,meta:{show_progress:!0},name:"podcasts",path:"/podcasts"},{component:rB,meta:{show_progress:!0},name:"radio",path:"/radio"},{component:Jj,name:"queue",path:"/"},{component:IB,name:"search-library",path:"/search/library"},{component:aW,name:"search-spotify",path:"/search/spotify"},{component:oK,name:"settings-webinterface",path:"/settings/webinterface"},{component:GW,name:"settings-artwork",path:"/settings/artwork"},{component:Fq,name:"settings-online-services",path:"/settings/online-services"},{component:fG,name:"settings-remotes-outputs",path:"/settings/remotes-outputs"}],scrollBehavior(e,t,n){if(n)return new Promise((o,s)=>{setTimeout(()=>{o(n)},0)});if(e.path===t.path&&e.hash){const o=e.meta.has_tabs?Wh:qh;return{behavior:"smooth",el:e.hash,top:o}}return e.hash?new Promise((o,s)=>{setTimeout(()=>{o({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((o,s)=>{const i=e.meta.has_tabs?Wh:qh;setTimeout(()=>{o({el:"#top",top:i})},0)}):{left:0,top:0}}});Dz.beforeEach((e,t,n)=>{const r=wn();if(r.show_burger_menu){r.show_burger_menu=!1,n(!1);return}if(r.show_player_menu){r.show_player_menu=!1,n(!1);return}n(!0)});const Rz=ul(y$).use(dC()).use(Dz).use(L$).use(b$).use(P$,{log:!1}).use(qO,{icons:MO}).use(lu);Rz.config.globalProperties.$filters=RO;Rz.mount("#app");