mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-07 11:48:09 -05:00
73 lines
823 KiB
JavaScript
73 lines
823 KiB
JavaScript
(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 Pl(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Je={},fs=[],Mn=()=>{},V1=()=>!1,Wi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Cd=e=>e.startsWith("onUpdate:"),ht=Object.assign,wd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},H1=Object.prototype.hasOwnProperty,st=(e,t)=>H1.call(e,t),be=Array.isArray,ps=e=>Os(e)==="[object Map]",Fo=e=>Os(e)==="[object Set]",$m=e=>Os(e)==="[object Date]",U1=e=>Os(e)==="[object RegExp]",Oe=e=>typeof e=="function",yt=e=>typeof e=="string",rr=e=>typeof e=="symbol",pt=e=>e!==null&&typeof e=="object",Sd=e=>(pt(e)||Oe(e))&&Oe(e.then)&&Oe(e.catch),Gh=Object.prototype.toString,Os=e=>Gh.call(e),j1=e=>Os(e).slice(8,-1),Il=e=>Os(e)==="[object Object]",xd=e=>yt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hs=Pl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ll=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},W1=/-(\w)/g,Wt=Ll(e=>e.replace(W1,(t,n)=>n?n.toUpperCase():"")),B1=/\B([A-Z])/g,yn=Ll(e=>e.replace(B1,"-$1").toLowerCase()),Bi=Ll(e=>e.charAt(0).toUpperCase()+e.slice(1)),li=Ll(e=>e?`on${Bi(e)}`:""),an=(e,t)=>!Object.is(e,t),_s=(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})},Xa=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ja=e=>{const t=yt(e)?Number(e):NaN;return isNaN(t)?e:t};let Om;const Nl=()=>Om||(Om=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),q1="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",G1=Pl(q1);function fo(e){if(be(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=yt(r)?X1(r):fo(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(yt(e)||pt(e))return e}const K1=/;(?![^(]*\))/g,Z1=/:([^]+)/,Y1=/\/\*[^]*?\*\//g;function X1(e){const t={};return e.replace(Y1,"").split(K1).forEach(n=>{if(n){const r=n.split(Z1);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Te(e){let t="";if(yt(e))t=e;else if(be(e))for(let n=0;n<e.length;n++){const r=Te(e[n]);r&&(t+=r+" ")}else if(pt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Qs(e){if(!e)return null;let{class:t,style:n}=e;return t&&!yt(t)&&(e.class=Te(t)),n&&(e.style=fo(n)),e}const J1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Q1=Pl(J1);function Zh(e){return!!e||e===""}function ev(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=uo(e[r],t[r]);return n}function uo(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=rr(e),r=rr(t),n||r)return e===t;if(n=be(e),r=be(t),n||r)return n&&r?ev(e,t):!1;if(n=pt(e),r=pt(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 l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!uo(e[i],t[i]))return!1}}return String(e)===String(t)}function Dl(e,t){return e.findIndex(n=>uo(n,t))}const Yh=e=>!!(e&&e.__v_isRef===!0),y=e=>yt(e)?e:e==null?"":be(e)||pt(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):ps(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Eu(r,s)+" =>"]=o,n),{})}:Fo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Eu(n))}:rr(t)?Eu(t):pt(t)&&!be(t)&&!Il(t)?String(t):t,Eu=(e,t="")=>{var n;return rr(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 kd{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 Rl(e){return new kd(e)}function Ed(){return sn}function Jh(e,t=!1){sn&&sn.cleanups.push(e)}let gt;const Tu=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,Tu.has(this)&&(Tu.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,Pm(this),t_(this);const t=gt,n=nr;gt=this,nr=!0;try{return this.fn()}finally{n_(this),gt=t,nr=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)$d(t);this.deps=this.depsTail=void 0,Pm(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Tu.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Cc(this)&&this.run()}get dirty(){return Cc(this)}}let Qh=0,ui,ci;function e_(e,t=!1){if(e.flags|=8,t){e.next=ci,ci=e;return}e.next=ui,ui=e}function Td(){Qh++}function Ad(){if(--Qh>0)return;if(ci){let t=ci;for(ci=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ui;){let t=ui;for(ui=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),$d(r),tv(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Cc(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===Ei))return;e.globalVersion=Ei;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Cc(e)){e.flags&=-3;return}const n=gt,r=nr;gt=e,nr=!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{gt=n,nr=r,n_(e),e.flags&=-3}}function $d(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)$d(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function tv(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function nv(e,t){e.effect instanceof ki&&(e=e.effect.fn);const n=new ki(e);t&&ht(n,t);try{n.run()}catch(o){throw n.stop(),o}const r=n.run.bind(n);return r.effect=n,r}function rv(e){e.effect.stop()}let nr=!0;const o_=[];function po(){o_.push(nr),nr=!1}function ho(){const e=o_.pop();nr=e===void 0?!0:e}function Pm(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=gt;gt=void 0;try{t()}finally{gt=n}}}let Ei=0;class ov{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 Ml{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(!gt||!nr||gt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==gt)n=this.activeLink=new ov(gt,this),gt.deps?(n.prevDep=gt.depsTail,gt.depsTail.nextDep=n,gt.depsTail=n):gt.deps=gt.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=gt.depsTail,n.nextDep=void 0,gt.depsTail.nextDep=n,gt.depsTail=n,gt.deps===n&&(gt.deps=r)}return n}trigger(t){this.version++,Ei++,this.notify(t)}notify(t){Td();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ad()}}}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 Qa=new WeakMap,$o=Symbol(""),wc=Symbol(""),Ti=Symbol("");function Zt(e,t,n){if(nr&>){let r=Qa.get(e);r||Qa.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Ml),o.map=r,o.key=n),o.track()}}function $r(e,t,n,r,o,s){const i=Qa.get(e);if(!i){Ei++;return}const l=a=>{a&&a.trigger()};if(Td(),t==="clear")i.forEach(l);else{const a=be(e),u=a&&xd(n);if(a&&n==="length"){const c=Number(r);i.forEach((d,f)=>{(f==="length"||f===Ti||!rr(f)&&f>=c)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(Ti)),t){case"add":a?u&&l(i.get("length")):(l(i.get($o)),ps(e)&&l(i.get(wc)));break;case"delete":a||(l(i.get($o)),ps(e)&&l(i.get(wc)));break;case"set":ps(e)&&l(i.get($o));break}}Ad()}function sv(e,t){const n=Qa.get(e);return n&&n.get(t)}function qo(e){const t=Xe(e);return t===e?t:(Zt(t,"iterate",Ti),En(e)?t:t.map(Yt))}function Fl(e){return Zt(e=Xe(e),"iterate",Ti),e}const iv={__proto__:null,[Symbol.iterator](){return Au(this,Symbol.iterator,Yt)},concat(...e){return qo(this).concat(...e.map(t=>be(t)?qo(t):t))},entries(){return Au(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 $u(this,"includes",e)},indexOf(...e){return $u(this,"indexOf",e)},join(e){return qo(this).join(e)},lastIndexOf(...e){return $u(this,"lastIndexOf",e)},map(e,t){return xr(this,"map",e,t,void 0,arguments)},pop(){return Us(this,"pop")},push(...e){return Us(this,"push",e)},reduce(e,...t){return Im(this,"reduce",e,t)},reduceRight(e,...t){return Im(this,"reduceRight",e,t)},shift(){return Us(this,"shift")},some(e,t){return xr(this,"some",e,t,void 0,arguments)},splice(...e){return Us(this,"splice",e)},toReversed(){return qo(this).toReversed()},toSorted(e){return qo(this).toSorted(e)},toSpliced(...e){return qo(this).toSpliced(...e)},unshift(...e){return Us(this,"unshift",e)},values(){return Au(this,"values",Yt)}};function Au(e,t,n){const r=Fl(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 av=Array.prototype;function xr(e,t,n,r,o,s){const i=Fl(e),l=i!==e&&!En(e),a=i[t];if(a!==av[t]){const d=a.apply(e,s);return l?Yt(d):d}let u=n;i!==e&&(l?u=function(d,f){return n.call(this,Yt(d),f,e)}:n.length>2&&(u=function(d,f){return n.call(this,d,f,e)}));const c=a.call(i,u,r);return l&&o?o(c):c}function Im(e,t,n,r){const o=Fl(e);let s=n;return o!==e&&(En(e)?n.length>3&&(s=function(i,l,a){return n.call(this,i,l,a,e)}):s=function(i,l,a){return n.call(this,i,Yt(l),a,e)}),o[t](s,...r)}function $u(e,t,n){const r=Xe(e);Zt(r,"iterate",Ti);const o=r[t](...n);return(o===-1||o===!1)&&Ul(n[0])?(n[0]=Xe(n[0]),r[t](...n)):o}function Us(e,t,n=[]){po(),Td();const r=Xe(e)[t].apply(e,n);return Ad(),ho(),r}const lv=Pl("__proto__,__v_isRef,__isVue"),i_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rr));function uv(e){rr(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 a;if(i&&(a=iv[n]))return a;if(n==="hasOwnProperty")return uv}const l=Reflect.get(t,n,bt(t)?t:r);return(rr(n)?i_.has(n):lv(n))||(o||Zt(t,"get",n),s)?l:bt(l)?i&&xd(n)?l:l.value:pt(l)?o?Pd(l):Ps(l):l}}class l_ extends a_{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const a=co(s);if(!En(r)&&!co(r)&&(s=Xe(s),r=Xe(r)),!be(t)&&bt(s)&&!bt(r))return a?!1:(s.value=r,!0)}const i=be(t)&&xd(n)?Number(n)<t.length:st(t,n),l=Reflect.set(t,n,r,bt(t)?t:o);return t===Xe(o)&&(i?an(r,s)&&$r(t,"set",n,r):$r(t,"add",n,r)),l}deleteProperty(t,n){const r=st(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&$r(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!rr(n)||!i_.has(n))&&Zt(t,"has",n),r}ownKeys(t){return Zt(t,"iterate",be(t)?"length":$o),Reflect.ownKeys(t)}}class u_ extends a_{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const cv=new l_,dv=new u_,mv=new l_(!0),fv=new u_(!0),Sc=e=>e,ia=e=>Reflect.getPrototypeOf(e);function pv(e,t,n){return function(...r){const o=this.__v_raw,s=Xe(o),i=ps(s),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=o[e](...r),c=n?Sc:t?xc:Yt;return!t&&Zt(s,"iterate",a?wc:$o),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:l?[c(d[0]),c(d[1])]:c(d),done:f}},[Symbol.iterator](){return this}}}}function aa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function hv(e,t){const n={get(o){const s=this.__v_raw,i=Xe(s),l=Xe(o);e||(an(o,l)&&Zt(i,"get",o),Zt(i,"get",l));const{has:a}=ia(i),u=t?Sc:e?xc:Yt;if(a.call(i,o))return u(s.get(o));if(a.call(i,l))return u(s.get(l));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Zt(Xe(o),"iterate",$o),Reflect.get(o,"size",o)},has(o){const s=this.__v_raw,i=Xe(s),l=Xe(o);return e||(an(o,l)&&Zt(i,"has",o),Zt(i,"has",l)),o===l?s.has(o):s.has(o)||s.has(l)},forEach(o,s){const i=this,l=i.__v_raw,a=Xe(l),u=t?Sc:e?xc:Yt;return!e&&Zt(a,"iterate",$o),l.forEach((c,d)=>o.call(s,u(c),u(d),i))}};return ht(n,e?{add:aa("add"),set:aa("set"),delete:aa("delete"),clear:aa("clear")}:{add(o){!t&&!En(o)&&!co(o)&&(o=Xe(o));const s=Xe(this);return ia(s).has.call(s,o)||(s.add(o),$r(s,"add",o,o)),this},set(o,s){!t&&!En(s)&&!co(s)&&(s=Xe(s));const i=Xe(this),{has:l,get:a}=ia(i);let u=l.call(i,o);u||(o=Xe(o),u=l.call(i,o));const c=a.call(i,o);return i.set(o,s),u?an(s,c)&&$r(i,"set",o,s):$r(i,"add",o,s),this},delete(o){const s=Xe(this),{has:i,get:l}=ia(s);let a=i.call(s,o);a||(o=Xe(o),a=i.call(s,o)),l&&l.call(s,o);const u=s.delete(o);return a&&$r(s,"delete",o,void 0),u},clear(){const o=Xe(this),s=o.size!==0,i=o.clear();return s&&$r(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=pv(o,e,t)}),n}function Vl(e,t){const n=hv(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 _v={get:Vl(!1,!1)},gv={get:Vl(!1,!0)},yv={get:Vl(!0,!1)},zv={get:Vl(!0,!0)},c_=new WeakMap,d_=new WeakMap,m_=new WeakMap,f_=new WeakMap;function vv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bv(e){return e.__v_skip||!Object.isExtensible(e)?0:vv(j1(e))}function Ps(e){return co(e)?e:Hl(e,!1,cv,_v,c_)}function Od(e){return Hl(e,!1,mv,gv,d_)}function Pd(e){return Hl(e,!0,dv,yv,m_)}function Cv(e){return Hl(e,!0,fv,zv,f_)}function Hl(e,t,n,r,o){if(!pt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=bv(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return o.set(e,l),l}function vr(e){return co(e)?vr(e.__v_raw):!!(e&&e.__v_isReactive)}function co(e){return!!(e&&e.__v_isReadonly)}function En(e){return!!(e&&e.__v_isShallow)}function Ul(e){return e?!!e.__v_raw:!1}function Xe(e){const t=e&&e.__v_raw;return t?Xe(t):e}function jl(e){return!st(e,"__v_skip")&&Object.isExtensible(e)&&Kh(e,"__v_skip",!0),e}const Yt=e=>pt(e)?Ps(e):e,xc=e=>pt(e)?Pd(e):e;function bt(e){return e?e.__v_isRef===!0:!1}function Fn(e){return p_(e,!1)}function Wl(e){return p_(e,!0)}function p_(e,t){return bt(e)?e:new wv(e,t)}class wv{constructor(t,n){this.dep=new Ml,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)||co(t);t=r?t:Xe(t),an(t,n)&&(this._rawValue=t,this._value=r?t:Yt(t),this.dep.trigger())}}function Sv(e){e.dep&&e.dep.trigger()}function zn(e){return bt(e)?e.value:e}function xv(e){return Oe(e)?e():zn(e)}const kv={get:(e,t,n)=>t==="__v_raw"?e:zn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return bt(o)&&!bt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Id(e){return vr(e)?e:new Proxy(e,kv)}class Ev{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ml,{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 Ev(e)}function __(e){const t=be(e)?new Array(e.length):{};for(const n in e)t[n]=g_(e,n);return t}class Tv{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 sv(Xe(this._object),this._key)}}class Av{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 $v(e,t,n){return bt(e)?e:Oe(e)?new Av(e):pt(e)&&arguments.length>1?g_(e,t,n):Fn(e)}function g_(e,t,n){const r=e[t];return bt(r)?r:new Tv(e,t,n)}class Ov{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ml(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ei-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&>!==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 Pv(e,t,n=!1){let r,o;return Oe(e)?r=e:(r=e.get,o=e.set),new Ov(r,o,n)}const Iv={GET:"get",HAS:"has",ITERATE:"iterate"},Lv={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},la={},el=new WeakMap;let Xr;function Nv(){return Xr}function y_(e,t=!1,n=Xr){if(n){let r=el.get(n);r||el.set(n,r=[]),r.push(e)}}function Dv(e,t,n=Je){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:l,call:a}=n,u=z=>o?z:En(z)||o===!1||o===0?Or(z,1):Or(z);let c,d,f,p,h=!1,_=!1;if(bt(e)?(d=()=>e.value,h=En(e)):vr(e)?(d=()=>u(e),h=!0):be(e)?(_=!0,h=e.some(z=>vr(z)||En(z)),d=()=>e.map(z=>{if(bt(z))return z.value;if(vr(z))return u(z);if(Oe(z))return a?a(z,2):z()})):Oe(e)?t?d=a?()=>a(e,2):e:d=()=>{if(f){po();try{f()}finally{ho()}}const z=Xr;Xr=c;try{return a?a(e,3,[p]):e(p)}finally{Xr=z}}:d=Mn,t&&o){const z=d,S=o===!0?1/0:o;d=()=>Or(z(),S)}const v=Ed(),C=()=>{c.stop(),v&&v.active&&wd(v.effects,c)};if(s&&t){const z=t;t=(...S)=>{z(...S),C()}}let w=_?new Array(e.length).fill(la):la;const g=z=>{if(!(!(c.flags&1)||!c.dirty&&!z))if(t){const S=c.run();if(o||h||(_?S.some((x,L)=>an(x,w[L])):an(S,w))){f&&f();const x=Xr;Xr=c;try{const L=[S,w===la?void 0:_&&w[0]===la?[]:w,p];a?a(t,3,L):t(...L),w=S}finally{Xr=x}}}else c.run()};return l&&l(g),c=new ki(d),c.scheduler=i?()=>i(g,!1):g,p=z=>y_(z,!1,c),f=c.onStop=()=>{const z=el.get(c);if(z){if(a)a(z,4);else for(const S of z)S();el.delete(c)}},t?r?g(!0):w=c.run():i?i(g.bind(null,!0),!0):c.run(),C.pause=c.pause.bind(c),C.resume=c.resume.bind(c),C.stop=C,C}function Or(e,t=1/0,n){if(t<=0||!pt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,bt(e))Or(e.value,t,n);else if(be(e))for(let r=0;r<e.length;r++)Or(e[r],t,n);else if(Fo(e)||ps(e))e.forEach(r=>{Or(r,t,n)});else if(Il(e)){for(const r in e)Or(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Or(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 Rv(e){z_.push(e)}function Mv(){z_.pop()}function Fv(e,t){}const Vv={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"},Hv={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 Is(e,t,n,r){try{return r?e(...r):e()}catch(o){Vo(o,t,n)}}function Un(e,t,n,r){if(Oe(e)){const o=Is(e,t,n,r);return o&&Sd(o)&&o.catch(s=>{Vo(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 Vo(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Je;if(t){let l=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,a,u)===!1)return}l=l.parent}if(s){po(),Is(s,null,10,[e,a,u]),ho();return}}Uv(e,n,o,r,i)}function Uv(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const ln=[];let hr=-1;const gs=[];let Jr=null,ns=0;const v_=Promise.resolve();let tl=null;function Ho(e){const t=tl||v_;return e?t.then(this?e.bind(this):e):t}function jv(e){let t=hr+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 Ld(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(jv(t),0,e),e.flags|=1,b_()}}function b_(){tl||(tl=v_.then(C_))}function Ai(e){be(e)?gs.push(...e):Jr&&e.id===-1?Jr.splice(ns+1,0,e):e.flags&1||(gs.push(e),e.flags|=1),b_()}function Lm(e,t,n=hr+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 nl(e){if(gs.length){const t=[...new Set(gs)].sort((n,r)=>$i(n)-$i(r));if(gs.length=0,Jr){Jr.push(...t);return}for(Jr=t,ns=0;ns<Jr.length;ns++){const n=Jr[ns];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Jr=null,ns=0}}const $i=e=>e.id==null?e.flags&2?-1:1/0:e.id;function C_(e){try{for(hr=0;hr<ln.length;hr++){const t=ln[hr];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Is(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;hr<ln.length;hr++){const t=ln[hr];t&&(t.flags&=-2)}hr=-1,ln.length=0,nl(),tl=null,(ln.length||gs.length)&&C_()}}let rs,ua=[];function w_(e,t){var n,r;rs=e,rs?(rs.enabled=!0,ua.forEach(({event:o,args:s})=>rs.emit(o,...s)),ua=[]):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(()=>{rs||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ua=[])},3e3)):ua=[]}let Vt=null,Bl=null;function Oi(e){const t=Vt;return Vt=e,Bl=e&&e.type.__scopeId||null,t}function Wv(e){Bl=e}function Bv(){Bl=null}const qv=e=>P;function P(e,t=Vt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Ic(-1);const s=Oi(t);let i;try{i=e(...o)}finally{Oi(s),r._d&&Ic(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Bt(e,t){if(Vt===null)return e;const n=Zi(Vt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,l,a=Je]=t[o];s&&(Oe(s)&&(s={mounted:s,updated:s}),s.deep&&Or(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function _r(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];s&&(l.oldValue=s[i].value);let a=l.dir[r];a&&(po(),Un(a,n,8,[e.el,l,e,t]),ho())}}const S_=Symbol("_vte"),x_=e=>e.__isTeleport,di=e=>e&&(e.disabled||e.disabled===""),Nm=e=>e&&(e.defer||e.defer===""),Dm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Rm=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,kc=(e,t)=>{const n=e&&e.to;return yt(n)?t?t(n):null:n},k_={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,l,a,u){const{mc:c,pc:d,pbc:f,o:{insert:p,querySelector:h,createText:_,createComment:v}}=u,C=di(t.props);let{shapeFlag:w,children:g,dynamicChildren:z}=t;if(e==null){const S=t.el=_(""),x=t.anchor=_("");p(S,n,r),p(x,n,r);const L=(E,F)=>{w&16&&(o&&o.isCE&&(o.ce._teleportTarget=E),c(g,E,F,o,s,i,l,a))},N=()=>{const E=t.target=kc(t.props,h),F=E_(E,t,_,p);E&&(i!=="svg"&&Dm(E)?i="svg":i!=="mathml"&&Rm(E)&&(i="mathml"),C||(L(E,F),La(t,!1)))};C&&(L(n,x),La(t,!0)),Nm(t.props)?Mt(()=>{N(),t.el.__isMounted=!0},s):N()}else{if(Nm(t.props)&&!e.el.__isMounted){Mt(()=>{k_.process(e,t,n,r,o,s,i,l,a,u),delete e.el.__isMounted},s);return}t.el=e.el,t.targetStart=e.targetStart;const S=t.anchor=e.anchor,x=t.target=e.target,L=t.targetAnchor=e.targetAnchor,N=di(e.props),E=N?n:x,F=N?S:L;if(i==="svg"||Dm(x)?i="svg":(i==="mathml"||Rm(x))&&(i="mathml"),z?(f(e.dynamicChildren,z,E,o,s,i,l),Bd(e,t,!0)):a||d(e,t,E,F,o,s,i,l,!1),C)N?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ca(t,n,S,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const G=t.target=kc(t.props,h);G&&ca(t,G,null,u,0)}else N&&ca(t,x,L,u,1);La(t,C)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:l,anchor:a,targetStart:u,targetAnchor:c,target:d,props:f}=e;if(d&&(o(u),o(c)),s&&o(a),i&16){const p=s||!di(f);for(let h=0;h<l.length;h++){const _=l[h];r(_,t,n,p,!!_.dynamicChildren)}}},move:ca,hydrate:Gv};function ca(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:a,children:u,props:c}=e,d=s===2;if(d&&r(i,t,n),(!d||di(c))&&a&16)for(let f=0;f<u.length;f++)o(u[f],t,n,2);d&&r(l,t,n)}function Gv(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:l,querySelector:a,insert:u,createText:c}},d){const f=t.target=kc(t.props,a);if(f){const p=di(t.props),h=f._lpa||f.firstChild;if(t.shapeFlag&16)if(p)t.anchor=d(i(e),t,l(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,c,u),d(h&&i(h),t,f,n,r,o,s)}La(t,p)}return t.anchor&&i(t.anchor)}const Bn=k_;function La(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 Qr=Symbol("_leaveCb"),da=Symbol("_enterCb");function Nd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ls(()=>{e.isMounted=!0}),Zl(()=>{e.isUnmounting=!0}),e}const Pn=[Function,Array],Dd={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},Kv={name:"BaseTransition",props:Dd,setup(e,{slots:t}){const n=cn(),r=Nd();return()=>{const o=t.default&&ql(t.default(),!0);if(!o||!o.length)return;const s=A_(o),i=Xe(e),{mode:l}=i;if(r.isLeaving)return Ou(s);const a=Mm(s);if(!a)return Ou(s);let u=bs(a,i,r,n,d=>u=d);a.type!==Nt&&Dr(a,u);let c=n.subTree&&Mm(n.subTree);if(c&&c.type!==Nt&&!Qn(a,c)&&T_(n).type!==Nt){let d=bs(c,i,r,n);if(Dr(c,d),l==="out-in"&&a.type!==Nt)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,c=void 0},Ou(s);l==="in-out"&&a.type!==Nt?d.delayLeave=(f,p,h)=>{const _=O_(r,c);_[String(c.key)]=c,f[Qr]=()=>{p(),f[Qr]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{h(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function A_(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Nt){t=n;break}}return t}const $_=Kv;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:l=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:h,onLeaveCancelled:_,onBeforeAppear:v,onAppear:C,onAfterAppear:w,onAppearCancelled:g}=t,z=String(e.key),S=O_(n,e),x=(E,F)=>{E&&Un(E,r,9,F)},L=(E,F)=>{const G=F[1];x(E,F),be(E)?E.every(U=>U.length<=1)&&G():E.length<=1&&G()},N={mode:i,persisted:l,beforeEnter(E){let F=a;if(!n.isMounted)if(s)F=v||a;else return;E[Qr]&&E[Qr](!0);const G=S[z];G&&Qn(e,G)&&G.el[Qr]&&G.el[Qr](),x(F,[E])},enter(E){let F=u,G=c,U=d;if(!n.isMounted)if(s)F=C||u,G=w||c,U=g||d;else return;let B=!1;const Q=E[da]=fe=>{B||(B=!0,fe?x(U,[E]):x(G,[E]),N.delayedLeave&&N.delayedLeave(),E[da]=void 0)};F?L(F,[E,Q]):Q()},leave(E,F){const G=String(e.key);if(E[da]&&E[da](!0),n.isUnmounting)return F();x(f,[E]);let U=!1;const B=E[Qr]=Q=>{U||(U=!0,F(),Q?x(_,[E]):x(h,[E]),E[Qr]=void 0,S[G]===e&&delete S[G])};S[G]=e,p?L(p,[E,B]):B()},clone(E){const F=bs(E,t,n,r,o);return o&&o(F),F}};return N}function Ou(e){if(qi(e))return e=Cr(e),e.children=null,e}function Mm(e){if(!qi(e))return x_(e.type)&&e.children?A_(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 Dr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Dr(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 ql(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===ze?(i.patchFlag&128&&o++,r=r.concat(ql(i.children,t,l))):(t||i.type!==Nt)&&r.push(l!=null?Cr(i,{key:l}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Fr(e,t){return Oe(e)?ht({name:e.name},t,{setup:e}):e}function Zv(){const e=cn();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Rd(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Yv(e){const t=cn(),n=Wl(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 Pi(e,t,n,r,o=!1){if(be(e)){e.forEach((h,_)=>Pi(h,t&&(be(t)?t[_]:t),n,r,o));return}if(ao(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Pi(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Zi(r.component):r.el,i=o?null:s,{i:l,r:a}=e,u=t&&t.r,c=l.refs===Je?l.refs={}:l.refs,d=l.setupState,f=Xe(d),p=d===Je?()=>!1:h=>st(f,h);if(u!=null&&u!==a&&(yt(u)?(c[u]=null,p(u)&&(d[u]=null)):bt(u)&&(u.value=null)),Oe(a))Is(a,l,12,[i,c]);else{const h=yt(a),_=bt(a);if(h||_){const v=()=>{if(e.f){const C=h?p(a)?d[a]:c[a]:a.value;o?be(C)&&wd(C,s):be(C)?C.includes(s)||C.push(s):h?(c[a]=[s],p(a)&&(d[a]=c[a])):(a.value=[s],e.k&&(c[e.k]=a.value))}else h?(c[a]=i,p(a)&&(d[a]=i)):_&&(a.value=i,e.k&&(c[e.k]=i))};i?(v.id=-1,Mt(v,n)):v()}}}let Fm=!1;const Go=()=>{Fm||(console.error("Hydration completed but contains mismatches."),Fm=!0)},Xv=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Jv=e=>e.namespaceURI.includes("MathML"),ma=e=>{if(e.nodeType===1){if(Xv(e))return"svg";if(Jv(e))return"mathml"}},us=e=>e.nodeType===8;function Qv(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:l,insert:a,createComment:u}}=e,c=(g,z)=>{if(!z.hasChildNodes()){n(null,g,z),nl(),z._vnode=g;return}d(z.firstChild,g,null,null,null),nl(),z._vnode=g},d=(g,z,S,x,L,N=!1)=>{N=N||!!z.dynamicChildren;const E=us(g)&&g.data==="[",F=()=>_(g,z,S,x,L,E),{type:G,ref:U,shapeFlag:B,patchFlag:Q}=z;let fe=g.nodeType;z.el=g,Q===-2&&(N=!1,z.dynamicChildren=null);let K=null;switch(G){case Lr:fe!==3?z.children===""?(a(z.el=o(""),i(g),g),K=g):K=F():(g.data!==z.children&&(Go(),g.data=z.children),K=s(g));break;case Nt:w(g)?(K=s(g),C(z.el=g.content.firstChild,g,S)):fe!==8||E?K=F():K=s(g);break;case Po:if(E&&(g=s(g),fe=g.nodeType),fe===1||fe===3){K=g;const te=!z.children.length;for(let ue=0;ue<z.staticCount;ue++)te&&(z.children+=K.nodeType===1?K.outerHTML:K.data),ue===z.staticCount-1&&(z.anchor=K),K=s(K);return E?s(K):K}else F();break;case ze:E?K=h(g,z,S,x,L,N):K=F();break;default:if(B&1)(fe!==1||z.type.toLowerCase()!==g.tagName.toLowerCase())&&!w(g)?K=F():K=f(g,z,S,x,L,N);else if(B&6){z.slotScopeIds=L;const te=i(g);if(E?K=v(g):us(g)&&g.data==="teleport start"?K=v(g,g.data,"teleport end"):K=s(g),t(z,te,null,S,x,ma(te),N),ao(z)&&!z.type.__asyncResolved){let ue;E?(ue=b(ze),ue.anchor=K?K.previousSibling:te.lastChild):ue=g.nodeType===3?Rt(""):b("div"),ue.el=g,z.component.subTree=ue}}else B&64?fe!==8?K=F():K=z.type.hydrate(g,z,S,x,L,N,e,p):B&128&&(K=z.type.hydrate(g,z,S,x,ma(i(g)),L,N,e,d))}return U!=null&&Pi(U,null,x,z),K},f=(g,z,S,x,L,N)=>{N=N||!!z.dynamicChildren;const{type:E,props:F,patchFlag:G,shapeFlag:U,dirs:B,transition:Q}=z,fe=E==="input"||E==="option";if(fe||G!==-1){B&&_r(z,null,S,"created");let K=!1;if(w(g)){K=rg(null,Q)&&S&&S.vnode.props&&S.vnode.props.appear;const ue=g.content.firstChild;K&&Q.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,x,L,N);for(;ue;){fa(g,1)||Go();const Ne=ue;ue=ue.nextSibling,l(Ne)}}else if(U&8){let ue=z.children;ue[0]===`
|
||
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(ue=ue.slice(1)),g.textContent!==ue&&(fa(g,0)||Go(),g.textContent=z.children)}if(F){if(fe||!N||G&48){const ue=g.tagName.includes("-");for(const Ne in F)(fe&&(Ne.endsWith("value")||Ne==="indeterminate")||Wi(Ne)&&!hs(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 te;(te=F&&F.onVnodeBeforeMount)&&hn(te,S,z),B&&_r(z,null,S,"beforeMount"),((te=F&&F.onVnodeMounted)||B||K)&&fg(()=>{te&&hn(te,S,z),K&&Q.enter(g),B&&_r(z,null,S,"mounted")},x)}return g.nextSibling},p=(g,z,S,x,L,N,E)=>{E=E||!!z.dynamicChildren;const F=z.children,G=F.length;for(let U=0;U<G;U++){const B=E?F[U]:F[U]=_n(F[U]),Q=B.type===Lr;g?(Q&&!E&&U+1<G&&_n(F[U+1]).type===Lr&&(a(o(g.data.slice(B.children.length)),S,s(g)),g.data=B.children),g=d(g,B,x,L,N,E)):Q&&!B.children?a(B.el=o(""),S):(fa(S,1)||Go(),n(null,B,S,null,x,L,ma(S),N))}return g},h=(g,z,S,x,L,N)=>{const{slotScopeIds:E}=z;E&&(L=L?L.concat(E):E);const F=i(g),G=p(s(g),z,F,S,x,L,N);return G&&us(G)&&G.data==="]"?s(z.anchor=G):(Go(),a(z.anchor=u("]"),F,G),G)},_=(g,z,S,x,L,N)=>{if(fa(g.parentElement,1)||Go(),z.el=null,N){const G=v(g);for(;;){const U=s(g);if(U&&U!==G)l(U);else break}}const E=s(g),F=i(g);return l(g),n(null,z,F,E,S,x,ma(F),L),S&&(S.vnode.el=z.el,Jl(S,z.el)),E},v=(g,z="[",S="]")=>{let x=0;for(;g;)if(g=s(g),g&&us(g)&&(g.data===z&&x++,g.data===S)){if(x===0)return s(g);x--}return g},C=(g,z,S)=>{const x=z.parentNode;x&&x.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[c,d]}const Vm="data-allow-mismatch",eb={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function fa(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Vm);)e=e.parentElement;const n=e&&e.getAttribute(Vm);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(eb[t])}}const tb=Nl().requestIdleCallback||(e=>setTimeout(e,1)),nb=Nl().cancelIdleCallback||(e=>clearTimeout(e)),rb=(e=1e4)=>t=>{const n=tb(t,{timeout:e});return()=>nb(n)};function ob(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 sb=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(ob(o))return t(),r.disconnect(),!1;r.observe(o)}}),()=>r.disconnect()},ib=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},ab=(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 l of e)i.removeEventListener(l,o)})};return n(i=>{for(const l of e)i.addEventListener(l,o,{once:!0})}),s};function lb(e,t){if(us(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(us(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const ao=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function ub(e){Oe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:i,suspensible:l=!0,onError:a}=e;let u=null,c,d=0;const f=()=>(d++,u=null,p()),p=()=>{let h;return u||(h=u=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),a)return new Promise((v,C)=>{a(_,()=>v(f()),()=>C(_),d+1)});throw _}).then(_=>h!==u&&u?u:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),c=_,_)))};return Fr({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(h,_,v){const C=s?()=>{const w=s(v,g=>lb(h,g));w&&(_.bum||(_.bum=[])).push(w)}:v;c?C():p().then(()=>!_.isUnmounted&&C())},get __asyncResolved(){return c},setup(){const h=Ft;if(Rd(h),c)return()=>Pu(c,h);const _=g=>{u=null,Vo(g,h,13,!r)};if(l&&h.suspense||Cs)return p().then(g=>()=>Pu(g,h)).catch(g=>(_(g),()=>r?b(r,{error:g}):null));const v=Fn(!1),C=Fn(),w=Fn(!!o);return o&&setTimeout(()=>{w.value=!1},o),i!=null&&setTimeout(()=>{if(!v.value&&!C.value){const g=new Error(`Async component timed out after ${i}ms.`);_(g),C.value=g}},i),p().then(()=>{v.value=!0,h.parent&&qi(h.parent.vnode)&&h.parent.update()}).catch(g=>{_(g),C.value=g}),()=>{if(v.value&&c)return Pu(c,h);if(C.value&&r)return b(r,{error:C.value});if(n&&!w.value)return b(n)}}})}function Pu(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=b(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const qi=e=>e.type.__isKeepAlive,cb={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 l=n.suspense,{renderer:{p:a,m:u,um:c,o:{createElement:d}}}=r,f=d("div");r.activate=(w,g,z,S,x)=>{const L=w.component;u(w,g,z,0,l),a(L.vnode,w,g,z,L,l,S,w.slotScopeIds,x),Mt(()=>{L.isDeactivated=!1,L.a&&_s(L.a);const N=w.props&&w.props.onVnodeMounted;N&&hn(N,L.parent,w)},l)},r.deactivate=w=>{const g=w.component;ol(g.m),ol(g.a),u(w,f,null,1,l),Mt(()=>{g.da&&_s(g.da);const z=w.props&&w.props.onVnodeUnmounted;z&&hn(z,g.parent,w),g.isDeactivated=!0},l)};function p(w){Iu(w),c(w,n,l,!0)}function h(w){o.forEach((g,z)=>{const S=Mc(g.type);S&&!w(S)&&_(z)})}function _(w){const g=o.get(w);g&&(!i||!Qn(g,i))?p(g):i&&Iu(i),o.delete(w),s.delete(w)}Tn(()=>[e.include,e.exclude],([w,g])=>{w&&h(z=>ei(w,z)),g&&h(z=>!ei(g,z))},{flush:"post",deep:!0});let v=null;const C=()=>{v!=null&&(sl(n.subTree.type)?Mt(()=>{o.set(v,pa(n.subTree))},n.subTree.suspense):o.set(v,pa(n.subTree)))};return Ls(C),Kl(C),Zl(()=>{o.forEach(w=>{const{subTree:g,suspense:z}=n,S=pa(g);if(w.type===S.type&&w.key===S.key){Iu(S);const x=S.component.da;x&&Mt(x,z);return}p(w)})}),()=>{if(v=null,!t.default)return i=null;const w=t.default(),g=w[0];if(w.length>1)return i=null,w;if(!Rr(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return i=null,g;let z=pa(g);if(z.type===Nt)return i=null,z;const S=z.type,x=Mc(ao(z)?z.type.__asyncResolved||{}:S),{include:L,exclude:N,max:E}=e;if(L&&(!x||!ei(L,x))||N&&x&&ei(N,x))return z.shapeFlag&=-257,i=z,g;const F=z.key==null?S:z.key,G=o.get(F);return z.el&&(z=Cr(z),g.shapeFlag&128&&(g.ssContent=z)),v=F,G?(z.el=G.el,z.component=G.component,z.transition&&Dr(z,z.transition),z.shapeFlag|=512,s.delete(F),s.add(F)):(s.add(F),E&&s.size>parseInt(E,10)&&_(s.values().next().value)),z.shapeFlag|=256,i=z,sl(g.type)?g:z}}},db=cb;function ei(e,t){return be(e)?e.some(n=>ei(n,t)):yt(e)?e.split(",").includes(t):U1(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=Ft){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Gl(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qi(o.parent.vnode)&&mb(r,t,n,o),o=o.parent}}function mb(e,t,n,r){const o=Gl(t,e,r,!0);Gi(()=>{wd(r[t],o)},n)}function Iu(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function pa(e){return e.shapeFlag&128?e.ssContent:e}function Gl(e,t,n=Ft,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{po();const l=Do(n),a=Un(t,n,e,i);return l(),ho(),a});return r?o.unshift(s):o.push(s),s}}const Vr=e=>(t,n=Ft)=>{(!Cs||e==="sp")&&Gl(e,(...r)=>t(...r),n)},N_=Vr("bm"),Ls=Vr("m"),Md=Vr("bu"),Kl=Vr("u"),Zl=Vr("bum"),Gi=Vr("um"),D_=Vr("sp"),R_=Vr("rtg"),M_=Vr("rtc");function F_(e,t=Ft){Gl("ec",e,t)}const Fd="components",fb="directives";function T(e,t){return Hd(Fd,e,!0,t)||e}const V_=Symbol.for("v-ndc");function Yl(e){return yt(e)?Hd(Fd,e,!1)||e:e||V_}function Vd(e){return Hd(fb,e)}function Hd(e,t,n=!0,r=!1){const o=Vt||Ft;if(o){const s=o.type;if(e===Fd){const l=Mc(s,!1);if(l&&(l===t||l===Wt(t)||l===Bi(Wt(t))))return s}const i=Hm(o[e]||s[e],t)||Hm(o.appContext[e],t);return!i&&r?s:i}}function Hm(e,t){return e&&(e[t]||e[Wt(t)]||e[Bi(Wt(t))])}function Ct(e,t,n,r){let o;const s=n&&n[r],i=be(e);if(i||yt(e)){const l=i&&vr(e);let a=!1;l&&(a=!En(e),e=Fl(e)),o=new Array(e.length);for(let u=0,c=e.length;u<c;u++)o[u]=t(a?Yt(e[u]):e[u],u,void 0,s&&s[u])}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,s&&s[l])}else if(pt(e))if(e[Symbol.iterator])o=Array.from(e,(l,a)=>t(l,a,void 0,s&&s[a]));else{const l=Object.keys(e);o=new Array(l.length);for(let a=0,u=l.length;a<u;a++){const c=l[a];o[a]=t(e[c],c,a,s&&s[a])}}else o=[];return n&&(n[r]=o),o}function Uo(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 mt(e,t,n={},r,o){if(Vt.ce||Vt.parent&&ao(Vt.parent)&&Vt.parent.ce)return t!=="default"&&(n.name=t),A(),ve(ze,null,[b("slot",n,r&&r())],64);let s=e[t];s&&s._c&&(s._d=!1),A();const i=s&&Ud(s(n)),l=n.key||i&&i.key,a=ve(ze,{key:(l&&!rr(l)?l:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function Ud(e){return e.some(t=>Rr(t)?!(t.type===Nt||t.type===ze&&!Ud(t.children)):!0)?e:null}function pb(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:li(r)]=e[r];return n}const Ec=e=>e?zg(e)?Zi(e):Ec(e.parent):null,mi=ht(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=>Ec(e.parent),$root:e=>Ec(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>jd(e),$forceUpdate:e=>e.f||(e.f=()=>{Ld(e.update)}),$nextTick:e=>e.n||(e.n=Ho.bind(e.proxy)),$watch:e=>Wb.bind(e)}),Lu=(e,t)=>e!==Je&&!e.__isScriptSetup&&st(e,t),Tc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:l,appContext:a}=e;let u;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(Lu(r,t))return i[t]=1,r[t];if(o!==Je&&st(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&st(u,t))return i[t]=3,s[t];if(n!==Je&&st(n,t))return i[t]=4,n[t];Ac&&(i[t]=0)}}const c=mi[t];let d,f;if(c)return t==="$attrs"&&Zt(e.attrs,"get",""),c(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==Je&&st(n,t))return i[t]=4,n[t];if(f=a.config.globalProperties,st(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Lu(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 l;return!!n[i]||e!==Je&&st(e,i)||Lu(t,i)||(l=s[0])&&st(l,i)||st(r,i)||st(mi,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)}},hb=ht({},Tc,{get(e,t){if(t!==Symbol.unscopables)return Tc.get(e,t,e)},has(e,t){return t[0]!=="_"&&!G1(t)}});function _b(){return null}function gb(){return null}function yb(e){}function zb(e){}function vb(){return null}function bb(){}function Cb(e,t){return null}function wb(){return H_().slots}function Sb(){return H_().attrs}function H_(){const e=cn();return e.setupContext||(e.setupContext=Cg(e))}function Ii(e){return be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function xb(e,t){const n=Ii(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 kb(e,t){return!e||!t?e||t:be(e)&&be(t)?e.concat(t):ht({},Ii(e),Ii(t))}function Eb(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Tb(e){const t=cn();let n=e();return Nc(),Sd(n)&&(n=n.catch(r=>{throw Do(t),r})),[n,()=>Do(t)]}let Ac=!0;function Ab(e){const t=jd(e),n=e.proxy,r=e.ctx;Ac=!1,t.beforeCreate&&Um(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:l,provide:a,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:_,deactivated:v,beforeDestroy:C,beforeUnmount:w,destroyed:g,unmounted:z,render:S,renderTracked:x,renderTriggered:L,errorCaptured:N,serverPrefetch:E,expose:F,inheritAttrs:G,components:U,directives:B,filters:Q}=t;if(u&&$b(u,r,null),i)for(const te in i){const ue=i[te];Oe(ue)&&(r[te]=ue.bind(n))}if(o){const te=o.call(n,n);pt(te)&&(e.data=Ps(te))}if(Ac=!0,s)for(const te in s){const ue=s[te],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=Ut({get:Ne,set:it});Object.defineProperty(r,te,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:He=>Ve.value=He})}if(l)for(const te in l)U_(l[te],r,n,te);if(a){const te=Oe(a)?a.call(n):a;Reflect.ownKeys(te).forEach(ue=>{fi(ue,te[ue])})}c&&Um(c,e,"c");function K(te,ue){be(ue)?ue.forEach(Ne=>te(Ne.bind(n))):ue&&te(ue.bind(n))}if(K(N_,d),K(Ls,f),K(Md,p),K(Kl,h),K(P_,_),K(I_,v),K(F_,N),K(M_,x),K(R_,L),K(Zl,w),K(Gi,z),K(D_,E),be(F))if(F.length){const te=e.exposed||(e.exposed={});F.forEach(ue=>{Object.defineProperty(te,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),B&&(e.directives=B),E&&Rd(e)}function $b(e,t,n=Mn){be(e)&&(e=$c(e));for(const r in e){const o=e[r];let s;pt(o)?"default"in o?s=Vn(o.from||r,o.default,!0):s=Vn(o.from||r):s=Vn(o),bt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Um(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(pt(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 jd(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(u=>rl(a,u,i,!0)),rl(a,t,i)),pt(t)&&s.set(t,a),a}function rl(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&rl(e,s,n,!0),o&&o.forEach(i=>rl(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Ob[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ob={data:jm,props:Wm,emits:Wm,methods:ti,computed:ti,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:ti,directives:ti,watch:Ib,provide:jm,inject:Pb};function jm(e,t){return t?e?function(){return ht(Oe(e)?e.call(this,this):e,Oe(t)?t.call(this,this):t)}:t:e}function Pb(e,t){return ti($c(e),$c(t))}function $c(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 ti(e,t){return e?ht(Object.create(null),e,t):t}function Wm(e,t){return e?be(e)&&be(t)?[...new Set([...e,...t])]:ht(Object.create(null),Ii(e),Ii(t??{})):t}function Ib(e,t){if(!e)return t;if(!t)return e;const n=ht(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:V1,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 Lb=0;function Nb(e,t){return function(r,o=null){Oe(r)||(r=ht({},r)),o!=null&&!pt(o)&&(o=null);const s=j_(),i=new WeakSet,l=[];let a=!1;const u=s.app={_uid:Lb++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Sg,get config(){return s.config},set config(c){},use(c,...d){return i.has(c)||(c&&Oe(c.install)?(i.add(c),c.install(u,...d)):Oe(c)&&(i.add(c),c(u,...d))),u},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),u},component(c,d){return d?(s.components[c]=d,u):s.components[c]},directive(c,d){return d?(s.directives[c]=d,u):s.directives[c]},mount(c,d,f){if(!a){const p=u._ceVNode||b(r,o);return p.appContext=s,f===!0?f="svg":f===!1&&(f=void 0),d&&t?t(p,c):e(p,c,f),a=!0,u._container=c,c.__vue_app__=u,Zi(p.component)}},onUnmount(c){l.push(c)},unmount(){a&&(Un(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,d){return s.provides[c]=d,u},runWithContext(c){const d=Oo;Oo=u;try{return c()}finally{Oo=d}}};return u}}let Oo=null;function fi(e,t){if(Ft){let n=Ft.provides;const r=Ft.parent&&Ft.parent.provides;r===n&&(n=Ft.provides=Object.create(r)),n[e]=t}}function Vn(e,t,n=!1){const r=Ft||Vt;if(r||Oo){const o=Oo?Oo._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 W_(){return!!(Ft||Vt||Oo)}const B_={},q_=()=>Object.create(B_),G_=e=>Object.getPrototypeOf(e)===B_;function Db(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:Od(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function Rb(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,l=Xe(o),[a]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let f=c[d];if(Xl(e.emitsOptions,f))continue;const p=t[f];if(a)if(st(s,f))p!==s[f]&&(s[f]=p,u=!0);else{const h=Wt(f);o[h]=Oc(a,l,h,p,e,!1)}else p!==s[f]&&(s[f]=p,u=!0)}}}else{K_(e,t,o,s)&&(u=!0);let c;for(const d in l)(!t||!st(t,d)&&((c=yn(d))===d||!st(t,c)))&&(a?n&&(n[d]!==void 0||n[c]!==void 0)&&(o[d]=Oc(a,l,d,void 0,e,!0)):delete o[d]);if(s!==l)for(const d in s)(!t||!st(t,d))&&(delete s[d],u=!0)}u&&$r(e.attrs,"set","")}function K_(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(hs(a))continue;const u=t[a];let c;o&&st(o,c=Wt(a))?!s||!s.includes(c)?n[c]=u:(l||(l={}))[c]=u:Xl(e.emitsOptions,a)||(!(a in r)||u!==r[a])&&(r[a]=u,i=!0)}if(s){const a=Xe(n),u=l||Je;for(let c=0;c<s.length;c++){const d=s[c];n[d]=Oc(o,a,d,u[d],e,!st(u,d))}}return i}function Oc(e,t,n,r,o,s){const i=e[n];if(i!=null){const l=st(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&Oe(a)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const c=Do(o);r=u[n]=a.call(null,t),c()}}else r=a;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!l?r=!1:i[1]&&(r===""||r===yn(n))&&(r=!0))}return r}const Mb=new WeakMap;function Z_(e,t,n=!1){const r=n?Mb:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},l=[];let a=!1;if(!Oe(e)){const c=d=>{a=!0;const[f,p]=Z_(d,t,!0);ht(i,f),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!a)return pt(e)&&r.set(e,fs),fs;if(be(s))for(let c=0;c<s.length;c++){const d=Wt(s[c]);Bm(d)&&(i[d]=Je)}else if(s)for(const c in s){const d=Wt(c);if(Bm(d)){const f=s[c],p=i[d]=be(f)||Oe(f)?{type:f}:ht({},f),h=p.type;let _=!1,v=!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"&&(v=!1)}else _=Oe(h)&&h.name==="Boolean";p[0]=_,p[1]=v,(_||st(p,"default"))&&l.push(d)}}const u=[i,l];return pt(e)&&r.set(e,u),u}function Bm(e){return e[0]!=="$"&&!hs(e)}const Y_=e=>e[0]==="_"||e==="$stable",Wd=e=>be(e)?e.map(_n):[_n(e)],Fb=(e,t,n)=>{if(t._n)return t;const r=P((...o)=>Wd(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]=Fb(o,s,r);else if(s!=null){const i=Wd(s);t[o]=()=>i}}},J_=(e,t)=>{const n=Wd(t);e.slots.default=()=>n},Q_=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Vb=(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)},Hb=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Je;if(r.shapeFlag&32){const l=t._;l?n&&l===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 l in o)!Y_(l)&&i[l]==null&&delete o[l]},Mt=fg;function eg(e){return ng(e)}function tg(e){return ng(e,Qv)}function ng(e,t){const n=Nl();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:l,createComment:a,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:p=Mn,insertStaticContent:h}=e,_=(O,I,j,ee=null,X=null,se=null,pe=void 0,k=null,$=!!I.dynamicChildren)=>{if(O===I)return;O&&!Qn(O,I)&&(ee=Z(O),He(O,X,se,!0),O=null),I.patchFlag===-2&&($=!1,I.dynamicChildren=null);const{type:R,ref:re,shapeFlag:le}=I;switch(R){case Lr:v(O,I,j,ee);break;case Nt:C(O,I,j,ee);break;case Po:O==null&&w(I,j,ee,pe);break;case ze:U(O,I,j,ee,X,se,pe,k,$);break;default:le&1?S(O,I,j,ee,X,se,pe,k,$):le&6?B(O,I,j,ee,X,se,pe,k,$):(le&64||le&128)&&R.process(O,I,j,ee,X,se,pe,k,$,ye)}re!=null&&X&&Pi(re,O&&O.ref,se,I||O,!I)},v=(O,I,j,ee)=>{if(O==null)r(I.el=l(I.children),j,ee);else{const X=I.el=O.el;I.children!==O.children&&u(X,I.children)}},C=(O,I,j,ee)=>{O==null?r(I.el=a(I.children||""),j,ee):I.el=O.el},w=(O,I,j,ee)=>{[O.el,O.anchor]=h(O.children,I,j,ee,O.el,O.anchor)},g=({el:O,anchor:I},j,ee)=>{let X;for(;O&&O!==I;)X=f(O),r(O,j,ee),O=X;r(I,j,ee)},z=({el:O,anchor:I})=>{let j;for(;O&&O!==I;)j=f(O),o(O),O=j;o(I)},S=(O,I,j,ee,X,se,pe,k,$)=>{I.type==="svg"?pe="svg":I.type==="math"&&(pe="mathml"),O==null?x(I,j,ee,X,se,pe,k,$):E(O,I,X,se,pe,k,$)},x=(O,I,j,ee,X,se,pe,k)=>{let $,R;const{props:re,shapeFlag:le,transition:oe,dirs:V}=O;if($=O.el=i(O.type,se,re&&re.is,re),le&8?c($,O.children):le&16&&N(O.children,$,null,ee,X,Nu(O,se),pe,k),V&&_r(O,null,ee,"created"),L($,O,O.scopeId,pe,ee),re){for(const Se in re)Se!=="value"&&!hs(Se)&&s($,Se,null,re[Se],se,ee);"value"in re&&s($,"value",null,re.value,se),(R=re.onVnodeBeforeMount)&&hn(R,ee,O)}V&&_r(O,null,ee,"beforeMount");const Y=rg(X,oe);Y&&oe.beforeEnter($),r($,I,j),((R=re&&re.onVnodeMounted)||Y||V)&&Mt(()=>{R&&hn(R,ee,O),Y&&oe.enter($),V&&_r(O,null,ee,"mounted")},X)},L=(O,I,j,ee,X)=>{if(j&&p(O,j),ee)for(let se=0;se<ee.length;se++)p(O,ee[se]);if(X){let se=X.subTree;if(I===se||sl(se.type)&&(se.ssContent===I||se.ssFallback===I)){const pe=X.vnode;L(O,pe,pe.scopeId,pe.slotScopeIds,X.parent)}}},N=(O,I,j,ee,X,se,pe,k,$=0)=>{for(let R=$;R<O.length;R++){const re=O[R]=k?eo(O[R]):_n(O[R]);_(null,re,I,j,ee,X,se,pe,k)}},E=(O,I,j,ee,X,se,pe)=>{const k=I.el=O.el;let{patchFlag:$,dynamicChildren:R,dirs:re}=I;$|=O.patchFlag&16;const le=O.props||Je,oe=I.props||Je;let V;if(j&&zo(j,!1),(V=oe.onVnodeBeforeUpdate)&&hn(V,j,I,O),re&&_r(I,O,j,"beforeUpdate"),j&&zo(j,!0),(le.innerHTML&&oe.innerHTML==null||le.textContent&&oe.textContent==null)&&c(k,""),R?F(O.dynamicChildren,R,k,j,ee,Nu(I,X),se):pe||ue(O,I,k,null,j,ee,Nu(I,X),se,!1),$>0){if($&16)G(k,le,oe,j,X);else if($&2&&le.class!==oe.class&&s(k,"class",null,oe.class,X),$&4&&s(k,"style",le.style,oe.style,X),$&8){const Y=I.dynamicProps;for(let Se=0;Se<Y.length;Se++){const M=Y[Se],H=le[M],q=oe[M];(q!==H||M==="value")&&s(k,M,H,q,X,j)}}$&1&&O.children!==I.children&&c(k,I.children)}else!pe&&R==null&&G(k,le,oe,j,X);((V=oe.onVnodeUpdated)||re)&&Mt(()=>{V&&hn(V,j,I,O),re&&_r(I,O,j,"updated")},ee)},F=(O,I,j,ee,X,se,pe)=>{for(let k=0;k<I.length;k++){const $=O[k],R=I[k],re=$.el&&($.type===ze||!Qn($,R)||$.shapeFlag&70)?d($.el):j;_($,R,re,null,ee,X,se,pe,!0)}},G=(O,I,j,ee,X)=>{if(I!==j){if(I!==Je)for(const se in I)!hs(se)&&!(se in j)&&s(O,se,I[se],null,X,ee);for(const se in j){if(hs(se))continue;const pe=j[se],k=I[se];pe!==k&&se!=="value"&&s(O,se,k,pe,X,ee)}"value"in j&&s(O,"value",I.value,j.value,X)}},U=(O,I,j,ee,X,se,pe,k,$)=>{const R=I.el=O?O.el:l(""),re=I.anchor=O?O.anchor:l("");let{patchFlag:le,dynamicChildren:oe,slotScopeIds:V}=I;V&&(k=k?k.concat(V):V),O==null?(r(R,j,ee),r(re,j,ee),N(I.children||[],j,re,X,se,pe,k,$)):le>0&&le&64&&oe&&O.dynamicChildren?(F(O.dynamicChildren,oe,j,X,se,pe,k),(I.key!=null||X&&I===X.subTree)&&Bd(O,I,!0)):ue(O,I,j,re,X,se,pe,k,$)},B=(O,I,j,ee,X,se,pe,k,$)=>{I.slotScopeIds=k,O==null?I.shapeFlag&512?X.ctx.activate(I,j,ee,pe,$):Q(I,j,ee,X,se,pe,$):fe(O,I,$)},Q=(O,I,j,ee,X,se,pe)=>{const k=O.component=yg(O,ee,X);if(qi(O)&&(k.ctx.renderer=ye),vg(k,!1,pe),k.asyncDep){if(X&&X.registerDep(k,K,pe),!O.el){const $=k.subTree=b(Nt);C(null,$,I,j)}}else K(k,O,I,j,X,se,pe)},fe=(O,I,j)=>{const ee=I.component=O.component;if(Yb(O,I,j))if(ee.asyncDep&&!ee.asyncResolved){te(ee,I,j);return}else ee.next=I,ee.update();else I.el=O.el,ee.vnode=I},K=(O,I,j,ee,X,se,pe)=>{const k=()=>{if(O.isMounted){let{next:le,bu:oe,u:V,parent:Y,vnode:Se}=O;{const _e=og(O);if(_e){le&&(le.el=Se.el,te(O,le,pe)),_e.asyncDep.then(()=>{O.isUnmounted||k()});return}}let M=le,H;zo(O,!1),le?(le.el=Se.el,te(O,le,pe)):le=Se,oe&&_s(oe),(H=le.props&&le.props.onVnodeBeforeUpdate)&&hn(H,Y,le,Se),zo(O,!0);const q=Na(O),ne=O.subTree;O.subTree=q,_(ne,q,d(ne.el),Z(ne),O,X,se),le.el=q.el,M===null&&Jl(O,q.el),V&&Mt(V,X),(H=le.props&&le.props.onVnodeUpdated)&&Mt(()=>hn(H,Y,le,Se),X)}else{let le;const{el:oe,props:V}=I,{bm:Y,m:Se,parent:M,root:H,type:q}=O,ne=ao(I);if(zo(O,!1),Y&&_s(Y),!ne&&(le=V&&V.onVnodeBeforeMount)&&hn(le,M,I),zo(O,!0),oe&&Ge){const _e=()=>{O.subTree=Na(O),Ge(oe,O.subTree,O,X,null)};ne&&q.__asyncHydrate?q.__asyncHydrate(oe,O,_e):_e()}else{H.ce&&H.ce._injectChildStyle(q);const _e=O.subTree=Na(O);_(null,_e,j,ee,O,X,se),I.el=_e.el}if(Se&&Mt(Se,X),!ne&&(le=V&&V.onVnodeMounted)){const _e=I;Mt(()=>hn(le,M,_e),X)}(I.shapeFlag&256||M&&ao(M.vnode)&&M.vnode.shapeFlag&256)&&O.a&&Mt(O.a,X),O.isMounted=!0,I=j=ee=null}};O.scope.on();const $=O.effect=new ki(k);O.scope.off();const R=O.update=$.run.bind($),re=O.job=$.runIfDirty.bind($);re.i=O,re.id=O.uid,$.scheduler=()=>Ld(re),zo(O,!0),R()},te=(O,I,j)=>{I.component=O;const ee=O.vnode.props;O.vnode=I,O.next=null,Rb(O,I.props,ee,j),Hb(O,I.children,j),po(),Lm(O),ho()},ue=(O,I,j,ee,X,se,pe,k,$=!1)=>{const R=O&&O.children,re=O?O.shapeFlag:0,le=I.children,{patchFlag:oe,shapeFlag:V}=I;if(oe>0){if(oe&128){it(R,le,j,ee,X,se,pe,k,$);return}else if(oe&256){Ne(R,le,j,ee,X,se,pe,k,$);return}}V&8?(re&16&&Be(R,X,se),le!==R&&c(j,le)):re&16?V&16?it(R,le,j,ee,X,se,pe,k,$):Be(R,X,se,!0):(re&8&&c(j,""),V&16&&N(le,j,ee,X,se,pe,k,$))},Ne=(O,I,j,ee,X,se,pe,k,$)=>{O=O||fs,I=I||fs;const R=O.length,re=I.length,le=Math.min(R,re);let oe;for(oe=0;oe<le;oe++){const V=I[oe]=$?eo(I[oe]):_n(I[oe]);_(O[oe],V,j,null,X,se,pe,k,$)}R>re?Be(O,X,se,!0,!1,le):N(I,j,ee,X,se,pe,k,$,le)},it=(O,I,j,ee,X,se,pe,k,$)=>{let R=0;const re=I.length;let le=O.length-1,oe=re-1;for(;R<=le&&R<=oe;){const V=O[R],Y=I[R]=$?eo(I[R]):_n(I[R]);if(Qn(V,Y))_(V,Y,j,null,X,se,pe,k,$);else break;R++}for(;R<=le&&R<=oe;){const V=O[le],Y=I[oe]=$?eo(I[oe]):_n(I[oe]);if(Qn(V,Y))_(V,Y,j,null,X,se,pe,k,$);else break;le--,oe--}if(R>le){if(R<=oe){const V=oe+1,Y=V<re?I[V].el:ee;for(;R<=oe;)_(null,I[R]=$?eo(I[R]):_n(I[R]),j,Y,X,se,pe,k,$),R++}}else if(R>oe)for(;R<=le;)He(O[R],X,se,!0),R++;else{const V=R,Y=R,Se=new Map;for(R=Y;R<=oe;R++){const Re=I[R]=$?eo(I[R]):_n(I[R]);Re.key!=null&&Se.set(Re.key,R)}let M,H=0;const q=oe-Y+1;let ne=!1,_e=0;const Ee=new Array(q);for(R=0;R<q;R++)Ee[R]=0;for(R=V;R<=le;R++){const Re=O[R];if(H>=q){He(Re,X,se,!0);continue}let nt;if(Re.key!=null)nt=Se.get(Re.key);else for(M=Y;M<=oe;M++)if(Ee[M-Y]===0&&Qn(Re,I[M])){nt=M;break}nt===void 0?He(Re,X,se,!0):(Ee[nt-Y]=R+1,nt>=_e?_e=nt:ne=!0,_(Re,I[nt],j,null,X,se,pe,k,$),H++)}const Me=ne?Ub(Ee):fs;for(M=Me.length-1,R=q-1;R>=0;R--){const Re=Y+R,nt=I[Re],Pe=Re+1<re?I[Re+1].el:ee;Ee[R]===0?_(null,nt,j,Pe,X,se,pe,k,$):ne&&(M<0||R!==Me[M]?Ve(nt,j,Pe,2):M--)}}},Ve=(O,I,j,ee,X=null)=>{const{el:se,type:pe,transition:k,children:$,shapeFlag:R}=O;if(R&6){Ve(O.component.subTree,I,j,ee);return}if(R&128){O.suspense.move(I,j,ee);return}if(R&64){pe.move(O,I,j,ye);return}if(pe===ze){r(se,I,j);for(let le=0;le<$.length;le++)Ve($[le],I,j,ee);r(O.anchor,I,j);return}if(pe===Po){g(O,I,j);return}if(ee!==2&&R&1&&k)if(ee===0)k.beforeEnter(se),r(se,I,j),Mt(()=>k.enter(se),X);else{const{leave:le,delayLeave:oe,afterLeave:V}=k,Y=()=>r(se,I,j),Se=()=>{le(se,()=>{Y(),V&&V()})};oe?oe(se,Y,Se):Se()}else r(se,I,j)},He=(O,I,j,ee=!1,X=!1)=>{const{type:se,props:pe,ref:k,children:$,dynamicChildren:R,shapeFlag:re,patchFlag:le,dirs:oe,cacheIndex:V}=O;if(le===-2&&(X=!1),k!=null&&Pi(k,null,j,O,!0),V!=null&&(I.renderCache[V]=void 0),re&256){I.ctx.deactivate(O);return}const Y=re&1&&oe,Se=!ao(O);let M;if(Se&&(M=pe&&pe.onVnodeBeforeUnmount)&&hn(M,I,O),re&6)dt(O.component,j,ee);else{if(re&128){O.suspense.unmount(j,ee);return}Y&&_r(O,null,I,"beforeUnmount"),re&64?O.type.remove(O,I,j,ye,ee):R&&!R.hasOnce&&(se!==ze||le>0&&le&64)?Be(R,I,j,!1,!0):(se===ze&&le&384||!X&&re&16)&&Be($,I,j),ee&&at(O)}(Se&&(M=pe&&pe.onVnodeUnmounted)||Y)&&Mt(()=>{M&&hn(M,I,O),Y&&_r(O,null,I,"unmounted")},j)},at=O=>{const{type:I,el:j,anchor:ee,transition:X}=O;if(I===ze){lt(j,ee);return}if(I===Po){z(O);return}const se=()=>{o(j),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(O.shapeFlag&1&&X&&!X.persisted){const{leave:pe,delayLeave:k}=X,$=()=>pe(j,se);k?k(O.el,se,$):$()}else se()},lt=(O,I)=>{let j;for(;O!==I;)j=f(O),o(O),O=j;o(I)},dt=(O,I,j)=>{const{bum:ee,scope:X,job:se,subTree:pe,um:k,m:$,a:R}=O;ol($),ol(R),ee&&_s(ee),X.stop(),se&&(se.flags|=8,He(pe,O,I,j)),k&&Mt(k,I),Mt(()=>{O.isUnmounted=!0},I),I&&I.pendingBranch&&!I.isUnmounted&&O.asyncDep&&!O.asyncResolved&&O.suspenseId===I.pendingId&&(I.deps--,I.deps===0&&I.resolve())},Be=(O,I,j,ee=!1,X=!1,se=0)=>{for(let pe=se;pe<O.length;pe++)He(O[pe],I,j,ee,X)},Z=O=>{if(O.shapeFlag&6)return Z(O.component.subTree);if(O.shapeFlag&128)return O.suspense.next();const I=f(O.anchor||O.el),j=I&&I[S_];return j?f(j):I};let me=!1;const ce=(O,I,j)=>{O==null?I._vnode&&He(I._vnode,null,null,!0):_(I._vnode||null,O,I,null,null,null,j),I._vnode=O,me||(me=!0,Lm(),nl(),me=!1)},ye={p:_,um:He,m:Ve,r:at,mt:Q,mc:N,pc:ue,pbc:F,n:Z,o:e};let Ue,Ge;return t&&([Ue,Ge]=t(ye)),{render:ce,hydrate:Ue,createApp:Nb(ce,Ue)}}function Nu({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 zo({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 l=o[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[s]=eo(o[s]),l.el=i.el),!n&&l.patchFlag!==-2&&Bd(i,l)),l.type===Lr&&(l.el=i.el)}}function Ub(e){const t=e.slice(),n=[0];let r,o,s,i,l;const a=e.length;for(r=0;r<a;r++){const u=e[r];if(u!==0){if(o=n[n.length-1],e[o]<u){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<u?s=l+1:i=l;u<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 ol(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 Ki(e,null,t)}function jb(e,t){return Ki(e,null,{flush:"post"})}function lg(e,t){return Ki(e,null,{flush:"sync"})}function Tn(e,t,n){return Ki(e,t,n)}function Ki(e,t,n=Je){const{immediate:r,deep:o,flush:s,once:i}=n,l=ht({},n),a=t&&r||!t&&s!=="post";let u;if(Cs){if(s==="sync"){const p=ig();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!a){const p=()=>{};return p.stop=Mn,p.resume=Mn,p.pause=Mn,p}}const c=Ft;l.call=(p,h,_)=>Un(p,c,h,_);let d=!1;s==="post"?l.scheduler=p=>{Mt(p,c&&c.suspense)}:s!=="sync"&&(d=!0,l.scheduler=(p,h)=>{h?p():Ld(p)}),l.augmentJob=p=>{t&&(p.flags|=4),d&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const f=Dv(e,t,l);return Cs&&(u?u.push(f):a&&f()),f}function Wb(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=Do(this),l=Ki(o,s.bind(r),n);return i(),l}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 Bb(e,t,n=Je){const r=cn(),o=Wt(t),s=yn(t),i=cg(e,o),l=h_((a,u)=>{let c,d=Je,f;return lg(()=>{const p=e[o];an(c,p)&&(c=p,u())}),{get(){return a(),n.get?n.get(c):c},set(p){const h=n.set?n.set(p):p;if(!an(h,c)&&!(d!==Je&&an(p,d)))return;const _=r.vnode.props;_&&(t in _||o in _||s in _)&&(`onUpdate:${t}`in _||`onUpdate:${o}`in _||`onUpdate:${s}`in _)||(c=p,u()),r.emit(`update:${t}`,h),an(p,h)&&an(p,d)&&!an(h,f)&&u(),d=p,f=h}}});return l[Symbol.iterator]=()=>{let a=0;return{next(){return a<2?{value:a++?i||Je:l,done:!1}:{done:!0}}}},l}const cg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Wt(t)}Modifiers`]||e[`${yn(t)}Modifiers`];function qb(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(c=>yt(c)?c.trim():c)),i.number&&(o=n.map(Xa)));let l,a=r[l=li(t)]||r[l=li(Wt(t))];!a&&s&&(a=r[l=li(yn(t))]),a&&Un(a,e,6,o);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Un(u,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={},l=!1;if(!Oe(e)){const a=u=>{const c=dg(u,t,!0);c&&(l=!0,ht(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!s&&!l?(pt(e)&&r.set(e,null),null):(be(s)?s.forEach(a=>i[a]=null):ht(i,s),pt(e)&&r.set(e,i),i)}function Xl(e,t){return!e||!Wi(t)?!1:(t=t.slice(2).replace(/Once$/,""),st(e,t[0].toLowerCase()+t.slice(1))||st(e,yn(t))||st(e,t))}function Na(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:l,emit:a,render:u,renderCache:c,props:d,data:f,setupState:p,ctx:h,inheritAttrs:_}=e,v=Oi(e);let C,w;try{if(n.shapeFlag&4){const z=o||r,S=z;C=_n(u.call(S,z,c,d,p,f,h)),w=l}else{const z=t;C=_n(z.length>1?z(d,{attrs:l,slots:i,emit:a}):z(d,null)),w=t.props?l:Kb(l)}}catch(z){pi.length=0,Vo(z,e,1),C=b(Nt)}let g=C;if(w&&_!==!1){const z=Object.keys(w),{shapeFlag:S}=g;z.length&&S&7&&(s&&z.some(Cd)&&(w=Zb(w,s)),g=Cr(g,w,!1,!0))}return n.dirs&&(g=Cr(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Dr(g,n.transition),C=g,Oi(v),C}function Gb(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Rr(o)){if(o.type!==Nt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Kb=e=>{let t;for(const n in e)(n==="class"||n==="style"||Wi(n))&&((t||(t={}))[n]=e[n]);return t},Zb=(e,t)=>{const n={};for(const r in e)(!Cd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Yb(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:l,patchFlag:a}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?qm(r,i,u):!!i;if(a&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const f=c[d];if(i[f]!==r[f]&&!Xl(u,f))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?qm(r,i,u):!0:!!i;return!1}function qm(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]&&!Xl(n,s))return!0}return!1}function Jl({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 sl=e=>e.__isSuspense;let Pc=0;const Xb={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,l,a,u){if(e==null)Qb(t,n,r,o,s,i,l,a,u);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}e0(e,t,n,r,o,i,l,a,u)}},hydrate:t0,normalize:n0},Jb=Xb;function Li(e,t){const n=e.props&&e.props[t];Oe(n)&&n()}function Qb(e,t,n,r,o,s,i,l,a){const{p:u,o:{createElement:c}}=a,d=c("div"),f=e.suspense=mg(e,o,r,t,d,n,s,i,l,a);u(null,f.pendingBranch=e.ssContent,d,null,r,f,s,i),f.deps>0?(Li(e,"onPending"),Li(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,s,i),ys(f,e.ssFallback)):f.resolve(!1,!0)}function e0(e,t,n,r,o,s,i,l,{p:a,um:u,o:{createElement:c}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:v,isHydrating:C}=d;if(_)d.pendingBranch=f,Qn(f,_)?(a(_,f,d.hiddenContainer,null,o,d,s,i,l),d.deps<=0?d.resolve():v&&(C||(a(h,p,n,r,o,null,s,i,l),ys(d,p)))):(d.pendingId=Pc++,C?(d.isHydrating=!1,d.activeBranch=_):u(_,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=c("div"),v?(a(null,f,d.hiddenContainer,null,o,d,s,i,l),d.deps<=0?d.resolve():(a(h,p,n,r,o,null,s,i,l),ys(d,p))):h&&Qn(f,h)?(a(h,f,n,r,o,d,s,i,l),d.resolve(!0)):(a(null,f,d.hiddenContainer,null,o,d,s,i,l),d.deps<=0&&d.resolve()));else if(h&&Qn(f,h))a(h,f,n,r,o,d,s,i,l),ys(d,f);else if(Li(t,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Pc++,a(null,f,d.hiddenContainer,null,o,d,s,i,l),d.deps<=0)d.resolve();else{const{timeout:w,pendingId:g}=d;w>0?setTimeout(()=>{d.pendingId===g&&d.fallback(p)},w):w===0&&d.fallback(p)}}function mg(e,t,n,r,o,s,i,l,a,u,c=!1){const{p:d,m:f,um:p,n:h,o:{parentNode:_,remove:v}}=u;let C;const w=r0(e);w&&t&&t.pendingBranch&&(C=t.pendingId,t.deps++);const g=e.props?Ja(e.props.timeout):void 0,z=s,S={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:Pc++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(x=!1,L=!1){const{vnode:N,activeBranch:E,pendingBranch:F,pendingId:G,effects:U,parentComponent:B,container:Q}=S;let fe=!1;S.isHydrating?S.isHydrating=!1:x||(fe=E&&F.transition&&F.transition.mode==="out-in",fe&&(E.transition.afterLeave=()=>{G===S.pendingId&&(f(F,Q,s===z?h(E):s,0),Ai(U))}),E&&(_(E.el)===Q&&(s=h(E)),p(E,B,S,!0)),fe||f(F,Q,s,0)),ys(S,F),S.pendingBranch=null,S.isInFallback=!1;let K=S.parent,te=!1;for(;K;){if(K.pendingBranch){K.effects.push(...U),te=!0;break}K=K.parent}!te&&!fe&&Ai(U),S.effects=[],w&&t&&t.pendingBranch&&C===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),Li(N,"onResolve")},fallback(x){if(!S.pendingBranch)return;const{vnode:L,activeBranch:N,parentComponent:E,container:F,namespace:G}=S;Li(L,"onFallback");const U=h(N),B=()=>{S.isInFallback&&(d(null,x,F,U,E,null,G,l,a),ys(S,x))},Q=x.transition&&x.transition.mode==="out-in";Q&&(N.transition.afterLeave=B),S.isInFallback=!0,p(N,E,null,!0),Q||B()},move(x,L,N){S.activeBranch&&f(S.activeBranch,x,L,N),S.container=x},next(){return S.activeBranch&&h(S.activeBranch)},registerDep(x,L,N){const E=!!S.pendingBranch;E&&S.deps++;const F=x.vnode.el;x.asyncDep.catch(G=>{Vo(G,x,0)}).then(G=>{if(x.isUnmounted||S.isUnmounted||S.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:U}=x;Dc(x,G,!1),F&&(U.el=F);const B=!F&&x.subTree.el;L(x,U,_(F||x.subTree.el),F?null:h(x.subTree),S,i,N),B&&v(B),Jl(x,U.el),E&&--S.deps===0&&S.resolve()})},unmount(x,L){S.isUnmounted=!0,S.activeBranch&&p(S.activeBranch,n,x,L),S.pendingBranch&&p(S.pendingBranch,n,x,L)}};return S}function t0(e,t,n,r,o,s,i,l,a){const u=t.suspense=mg(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,l,!0),c=a(e,u.pendingBranch=t.ssContent,n,u,s,i);return u.deps===0&&u.resolve(!1,!0),c}function n0(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Gm(r?n.default:n),e.ssFallback=r?Gm(n.fallback):b(Nt)}function Gm(e){let t;if(Oe(e)){const n=No&&e._c;n&&(e._d=!1,A()),e=e(),n&&(e._d=!0,t=en,pg())}return be(e)&&(e=Gb(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):Ai(e)}function ys(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,Jl(r,o))}function r0(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ze=Symbol.for("v-fgt"),Lr=Symbol.for("v-txt"),Nt=Symbol.for("v-cmt"),Po=Symbol.for("v-stc"),pi=[];let en=null;function A(e=!1){pi.push(en=e?null:[])}function pg(){pi.pop(),en=pi[pi.length-1]||null}let No=1;function Ic(e,t=!1){No+=e,e<0&&en&&t&&(en.hasOnce=!0)}function hg(e){return e.dynamicChildren=No>0?en||fs:null,pg(),No>0&&en&&en.push(e),e}function D(e,t,n,r,o,s){return hg(m(e,t,n,r,o,s,!0))}function ve(e,t,n,r,o){return hg(b(e,t,n,r,o,!0))}function Rr(e){return e?e.__v_isVNode===!0:!1}function Qn(e,t){return e.type===t.type&&e.key===t.key}function o0(e){}const _g=({key:e})=>e??null,Da=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?yt(e)||bt(e)||Oe(e)?{i:Vt,r:e,k:t,f:!!n}:e:null);function m(e,t=null,n=null,r=0,o=null,s=e===ze?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_g(t),ref:t&&Da(t),scopeId:Bl,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:Vt};return l?(qd(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=yt(n)?8:16),No>0&&!i&&en&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&en.push(a),a}const b=s0;function s0(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===V_)&&(e=Nt),Rr(e)){const l=Cr(e,t,!0);return n&&qd(l,n),No>0&&!s&&en&&(l.shapeFlag&6?en[en.indexOf(e)]=l:en.push(l)),l.patchFlag=-2,l}if(f0(e)&&(e=e.__vccOpts),t){t=gg(t);let{class:l,style:a}=t;l&&!yt(l)&&(t.class=Te(l)),pt(a)&&(Ul(a)&&!be(a)&&(a=ht({},a)),t.style=fo(a))}const i=yt(e)?1:sl(e)?128:x_(e)?64:pt(e)?4:Oe(e)?2:0;return m(e,t,n,r,o,i,s,!0)}function gg(e){return e?Ul(e)||G_(e)?ht({},e):e:null}function Cr(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:l,transition:a}=e,u=t?cs(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&_g(u),ref:t&&t.ref?n&&s?be(s)?s.concat(Da(t)):[s,Da(t)]:Da(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,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:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Cr(e.ssContent),ssFallback:e.ssFallback&&Cr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&Dr(c,a.clone(c)),c}function Rt(e=" ",t=0){return b(Lr,null,e,t)}function i0(e,t){const n=b(Po,null,e);return n.staticCount=t,n}function ie(e="",t=!1){return t?(A(),ve(Nt,null,e)):b(Nt,null,e)}function _n(e){return e==null||typeof e=="boolean"?b(Nt):be(e)?b(ze,null,e.slice()):Rr(e)?eo(e):b(Lr,null,String(e))}function eo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Cr(e)}function qd(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),qd(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!G_(t)?t._ctx=Vt:o===3&&Vt&&(Vt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Oe(t)?(t={default:t,_ctx:Vt},n=32):(t=String(t),r&64?(n=16,t=[Rt(t)]):n=8);e.children=t,e.shapeFlag|=n}function cs(...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=Te([t.class,r.class]));else if(o==="style")t.style=fo([t.style,r.style]);else if(Wi(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 a0=j_();let l0=0;function yg(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||a0,s={uid:l0++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new kd(!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=qb.bind(null,s),e.ce&&e.ce(s),s}let Ft=null;const cn=()=>Ft||Vt;let il,Lc;{const e=Nl(),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)}};il=t("__VUE_INSTANCE_SETTERS__",n=>Ft=n),Lc=t("__VUE_SSR_SETTERS__",n=>Cs=n)}const Do=e=>{const t=Ft;return il(e),e.scope.on(),()=>{e.scope.off(),il(t)}},Nc=()=>{Ft&&Ft.scope.off(),il(null)};function zg(e){return e.vnode.shapeFlag&4}let Cs=!1;function vg(e,t=!1,n=!1){t&&Lc(t);const{props:r,children:o}=e.vnode,s=zg(e);Db(e,r,s,t),Vb(e,o,n);const i=s?u0(e,t):void 0;return t&&Lc(!1),i}function u0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Tc);const{setup:r}=n;if(r){po();const o=e.setupContext=r.length>1?Cg(e):null,s=Do(e),i=Is(r,e,0,[e.props,o]),l=Sd(i);if(ho(),s(),(l||e.sp)&&!ao(e)&&Rd(e),l){if(i.then(Nc,Nc),t)return i.then(a=>{Dc(e,a,t)}).catch(a=>{Vo(a,e,0)});e.asyncDep=i}else Dc(e,i,t)}else bg(e,t)}function Dc(e,t,n){Oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pt(t)&&(e.setupState=Id(t)),bg(e,n)}let al,Rc;function c0(e){al=e,Rc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,hb))}}const d0=()=>!al;function bg(e,t,n){const r=e.type;if(!e.render){if(!t&&al&&!r.render){const o=r.template||jd(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,u=ht(ht({isCustomElement:s,delimiters:l},i),a);r.render=al(o,u)}}e.render=r.render||Mn,Rc&&Rc(e)}{const o=Do(e);po();try{Ab(e)}finally{ho(),o()}}}const m0={get(e,t){return Zt(e,"get",""),e[t]}};function Cg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,m0),slots:e.slots,emit:e.emit,expose:t}}function Zi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Id(jl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mi)return mi[n](e)},has(t,n){return n in t||n in mi}})):e.proxy}function Mc(e,t=!0){return Oe(e)?e.displayName||e.name:e.name||t&&e.__name}function f0(e){return Oe(e)&&"__vccOpts"in e}const Ut=(e,t)=>Pv(e,t,Cs);function yr(e,t,n){const r=arguments.length;return r===2?pt(t)&&!be(t)?Rr(t)?b(e,null,[t]):b(e,t):b(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Rr(n)&&(n=[n]),b(e,t,n))}function p0(){}function h0(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 No>0&&en&&en.push(e),!0}const Sg="3.5.13",_0=Mn,g0=Hv,y0=rs,z0=w_,v0={createComponentInstance:yg,setupComponent:vg,renderComponentRoot:Na,setCurrentRenderingInstance:Oi,isVNode:Rr,normalizeVNode:_n,getComponentPublicInstance:Zi,ensureValidVNode:Ud,pushWarningContext:Rv,popWarningContext:Mv},b0=v0,C0=null,w0=null,S0=null;/**
|
||
* @vue/runtime-dom v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Fc;const Km=typeof window<"u"&&window.trustedTypes;if(Km)try{Fc=Km.createPolicy("vue",{createHTML:e=>e})}catch{}const xg=Fc?e=>Fc.createHTML(e):e=>e,x0="http://www.w3.org/2000/svg",k0="http://www.w3.org/1998/Math/MathML",Ar=typeof document<"u"?document:null,Zm=Ar&&Ar.createElement("template"),E0={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(x0,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{Zm.innerHTML=xg(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=Zm.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},jr="transition",js="animation",ws=Symbol("_vtc"),kg={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=ht({},Dd,kg),T0=e=>(e.displayName="Transition",e.props=Eg,e),Tg=T0((e,{slots:t})=>yr($_,Ag(e),t)),vo=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ym=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function Ag(e){const t={};for(const U in e)U in kg||(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:l=`${n}-enter-to`,appearFromClass:a=s,appearActiveClass:u=i,appearToClass:c=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=A0(o),_=h&&h[0],v=h&&h[1],{onBeforeEnter:C,onEnter:w,onEnterCancelled:g,onLeave:z,onLeaveCancelled:S,onBeforeAppear:x=C,onAppear:L=w,onAppearCancelled:N=g}=t,E=(U,B,Q,fe)=>{U._enterCancelled=fe,Zr(U,B?c:l),Zr(U,B?u:i),Q&&Q()},F=(U,B)=>{U._isLeaving=!1,Zr(U,d),Zr(U,p),Zr(U,f),B&&B()},G=U=>(B,Q)=>{const fe=U?L:w,K=()=>E(B,U,Q);vo(fe,[B,K]),Xm(()=>{Zr(B,U?a:s),fr(B,U?c:l),Ym(fe)||Jm(B,r,_,K)})};return ht(t,{onBeforeEnter(U){vo(C,[U]),fr(U,s),fr(U,i)},onBeforeAppear(U){vo(x,[U]),fr(U,a),fr(U,u)},onEnter:G(!1),onAppear:G(!0),onLeave(U,B){U._isLeaving=!0;const Q=()=>F(U,B);fr(U,d),U._enterCancelled?(fr(U,f),Vc()):(Vc(),fr(U,f)),Xm(()=>{U._isLeaving&&(Zr(U,d),fr(U,p),Ym(z)||Jm(U,r,v,Q))}),vo(z,[U,Q])},onEnterCancelled(U){E(U,!1,void 0,!0),vo(g,[U])},onAppearCancelled(U){E(U,!0,void 0,!0),vo(N,[U])},onLeaveCancelled(U){F(U),vo(S,[U])}})}function A0(e){if(e==null)return null;if(pt(e))return[Du(e.enter),Du(e.leave)];{const t=Du(e);return[t,t]}}function Du(e){return Ja(e)}function fr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ws]||(e[ws]=new Set)).add(t)}function Zr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ws];n&&(n.delete(t),n.size||(e[ws]=void 0))}function Xm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $0=0;function Jm(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:l,propCount:a}=$g(e,t);if(!i)return r();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,f),s()},f=p=>{p.target===e&&++c>=a&&d()};setTimeout(()=>{c<a&&d()},l+1),e.addEventListener(u,f)}function $g(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${jr}Delay`),s=r(`${jr}Duration`),i=Qm(o,s),l=r(`${js}Delay`),a=r(`${js}Duration`),u=Qm(l,a);let c=null,d=0,f=0;t===jr?i>0&&(c=jr,d=i,f=s.length):t===js?u>0&&(c=js,d=u,f=a.length):(d=Math.max(i,u),c=d>0?i>u?jr:js:null,f=c?c===jr?s.length:a.length:0);const p=c===jr&&/\b(transform|all)(,|$)/.test(r(`${jr}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:p}}function Qm(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>ef(n)+ef(e[r])))}function ef(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Vc(){return document.body.offsetHeight}function O0(e,t,n){const r=e[ws];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ll=Symbol("_vod"),Og=Symbol("_vsh"),Ni={beforeMount(e,{value:t},{transition:n}){e[ll]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ws(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),Ws(e,!0),r.enter(e)):r.leave(e,()=>{Ws(e,!1)}):Ws(e,t))},beforeUnmount(e,{value:t}){Ws(e,t)}};function Ws(e,t){e.style.display=t?e[ll]:"none",e[Og]=!t}function P0(){Ni.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Pg=Symbol("");function I0(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=>ul(s,o))},r=()=>{const o=e(t.proxy);t.ce?ul(t.ce,o):Hc(t.subTree,o),n(o)};Md(()=>{Ai(r)}),Ls(()=>{Tn(r,Mn,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Gi(()=>o.disconnect())})}function Hc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Hc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)ul(e.el,t);else if(e.type===ze)e.children.forEach(n=>Hc(n,t));else if(e.type===Po){let{el:n,anchor:r}=e;for(;n&&(ul(n,t),n!==r);)n=n.nextSibling}}function ul(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[Pg]=r}}const L0=/(^|;)\s*display\s*:/;function N0(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 l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Ra(r,l,"")}else for(const i in t)n[i]==null&&Ra(r,i,"");for(const i in n)i==="display"&&(s=!0),Ra(r,i,n[i])}else if(o){if(t!==n){const i=r[Pg];i&&(n+=";"+i),r.cssText=n,s=L0.test(n)}}else t&&e.removeAttribute("style");ll in e&&(e[ll]=s?r.display:"",e[Og]&&(r.display="none"))}const tf=/\s*!important$/;function Ra(e,t,n){if(be(n))n.forEach(r=>Ra(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=D0(e,t);tf.test(n)?e.setProperty(yn(r),n.replace(tf,""),"important"):e[r]=n}}const nf=["Webkit","Moz","ms"],Ru={};function D0(e,t){const n=Ru[t];if(n)return n;let r=Wt(t);if(r!=="filter"&&r in e)return Ru[t]=r;r=Bi(r);for(let o=0;o<nf.length;o++){const s=nf[o]+r;if(s in e)return Ru[t]=s}return t}const rf="http://www.w3.org/1999/xlink";function of(e,t,n,r,o,s=Q1(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(rf,t.slice(6,t.length)):e.setAttributeNS(rf,t,n):n==null||s&&!Zh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":rr(n)?String(n):n)}function sf(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?xg(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const l=s==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Zh(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function Pr(e,t,n,r){e.addEventListener(t,n,r)}function R0(e,t,n,r){e.removeEventListener(t,n,r)}const af=Symbol("_vei");function M0(e,t,n,r,o=null){const s=e[af]||(e[af]={}),i=s[t];if(r&&i)i.value=r;else{const[l,a]=F0(t);if(r){const u=s[t]=U0(r,o);Pr(e,l,u,a)}else i&&(R0(e,l,i,a),s[t]=void 0)}}const lf=/(?:Once|Passive|Capture)$/;function F0(e){let t;if(lf.test(e)){t={};let r;for(;r=e.match(lf);)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 Mu=0;const V0=Promise.resolve(),H0=()=>Mu||(V0.then(()=>Mu=0),Mu=Date.now());function U0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Un(j0(r,n.value),t,5,[r])};return n.value=e,n.attached=H0(),n}function j0(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 uf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,W0=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?O0(e,r,i):t==="style"?N0(e,n,r):Wi(t)?Cd(t)||M0(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):B0(e,t,r,i))?(sf(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&of(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!yt(r))?sf(e,Wt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),of(e,t,r,i))};function B0(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&uf(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 uf(t)&&yt(n)?!1:t in e}const cf={};/*! #__NO_SIDE_EFFECTS__ */function Ig(e,t,n){const r=Fr(e,t);Il(r)&&ht(r,t);class o extends Ql{constructor(i){super(r,i,n)}}return o.def=r,o}/*! #__NO_SIDE_EFFECTS__ */const q0=(e,t)=>Ig(e,t,Wg),G0=typeof HTMLElement<"u"?HTMLElement:class{};class Ql extends G0{constructor(t,n={},r=dl){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!==dl?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 Ql){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,Ho(()=>{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 l;if(s&&!be(s))for(const a in s){const u=s[a];(u===Number||u&&u.type===Number)&&(a in this._props&&(this._props[a]=Ja(this._props[a])),(l||(l=Object.create(null)))[Wt(a)]=!0)}this._numberProps=l,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(Wt))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):cf;const o=Wt(t);n&&this._numberProps&&this._numberProps[o]&&(r=Ja(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===cf?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(){jg(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=b(this._def,ht(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,Il(i[0])?ht({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],l=o.parentNode;if(i)for(const a of i){if(n&&a.nodeType===1){const u=n+"-s",c=document.createTreeWalker(a,1);a.setAttribute(u,"");let d;for(;d=c.nextNode();)d.setAttribute(u,"")}l.insertBefore(a,o)}else for(;o.firstChild;)l.insertBefore(o.firstChild,o);l.removeChild(o)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function Lg(e){const t=cn(),n=t&&t.ce;return n||null}function K0(){const e=Lg();return e&&e.shadowRoot}function Z0(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 Ng=new WeakMap,Dg=new WeakMap,cl=Symbol("_moveCb"),df=Symbol("_enterCb"),Y0=e=>(delete e.props.mode,e),X0=Y0({name:"TransitionGroup",props:ht({},Eg,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=cn(),r=Nd();let o,s;return Kl(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!nC(o[0].el,n.vnode.el,i))return;o.forEach(Q0),o.forEach(eC);const l=o.filter(tC);Vc(),l.forEach(a=>{const u=a.el,c=u.style;fr(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[cl]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u[cl]=null,Zr(u,i))};u.addEventListener("transitionend",d)})}),()=>{const i=Xe(e),l=Ag(i);let a=i.tag||ze;if(o=[],s)for(let u=0;u<s.length;u++){const c=s[u];c.el&&c.el instanceof Element&&(o.push(c),Dr(c,bs(c,l,r,n)),Ng.set(c,c.el.getBoundingClientRect()))}s=t.default?ql(t.default()):[];for(let u=0;u<s.length;u++){const c=s[u];c.key!=null&&Dr(c,bs(c,l,r,n))}return b(a,null,s)}}}),J0=X0;function Q0(e){const t=e.el;t[cl]&&t[cl](),t[df]&&t[df]()}function eC(e){Dg.set(e,e.el.getBoundingClientRect())}function tC(e){const t=Ng.get(e),n=Dg.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 nC(e,t,n){const r=e.cloneNode(),o=e[ws];o&&o.forEach(l=>{l.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),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 mo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return be(t)?n=>_s(t,n):t};function rC(e){e.target.composing=!0}function mf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Hn=Symbol("_assign"),bn={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Hn]=mo(o);const s=r||o.props&&o.props.type==="number";Pr(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),s&&(l=Xa(l)),e[Hn](l)}),n&&Pr(e,"change",()=>{e.value=e.value.trim()}),t||(Pr(e,"compositionstart",rC),Pr(e,"compositionend",mf),Pr(e,"change",mf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[Hn]=mo(i),e.composing)return;const l=(s||e.type==="number")&&!/^0\d/.test(e.value)?Xa(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===a)||(e.value=a))}},Gd={deep:!0,created(e,t,n){e[Hn]=mo(n),Pr(e,"change",()=>{const r=e._modelValue,o=Ss(e),s=e.checked,i=e[Hn];if(be(r)){const l=Dl(r,o),a=l!==-1;if(s&&!a)i(r.concat(o));else if(!s&&a){const u=[...r];u.splice(l,1),i(u)}}else if(Fo(r)){const l=new Set(r);s?l.add(o):l.delete(o),i(l)}else i(Rg(e,s))})},mounted:ff,beforeUpdate(e,t,n){e[Hn]=mo(n),ff(e,t,n)}};function ff(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(be(t))o=Dl(t,r.props.value)>-1;else if(Fo(t))o=t.has(r.props.value);else{if(t===n)return;o=uo(t,Rg(e,!0))}e.checked!==o&&(e.checked=o)}const Kd={created(e,{value:t},n){e.checked=uo(t,n.props.value),e[Hn]=mo(n),Pr(e,"change",()=>{e[Hn](Ss(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Hn]=mo(r),t!==n&&(e.checked=uo(t,r.props.value))}},Zd={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Fo(t);Pr(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Xa(Ss(i)):Ss(i));e[Hn](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,Ho(()=>{e._assigning=!1})}),e[Hn]=mo(r)},mounted(e,{value:t}){pf(e,t)},beforeUpdate(e,t,n){e[Hn]=mo(n)},updated(e,{value:t}){e._assigning||pf(e,t)}};function pf(e,t){const n=e.multiple,r=be(t);if(!(n&&!r&&!Fo(t))){for(let o=0,s=e.options.length;o<s;o++){const i=e.options[o],l=Ss(i);if(n)if(r){const a=typeof l;a==="string"||a==="number"?i.selected=t.some(u=>String(u)===String(l)):i.selected=Dl(t,l)>-1}else i.selected=t.has(l);else if(uo(Ss(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ss(e){return"_value"in e?e._value:e.value}function Rg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Mg={created(e,t,n){ha(e,t,n,null,"created")},mounted(e,t,n){ha(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ha(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ha(e,t,n,r,"updated")}};function Fg(e,t){switch(e){case"SELECT":return Zd;case"TEXTAREA":return bn;default:switch(t){case"checkbox":return Gd;case"radio":return Kd;default:return bn}}}function ha(e,t,n,r,o){const i=Fg(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}function oC(){bn.getSSRProps=({value:e})=>({value:e}),Kd.getSSRProps=({value:e},t)=>{if(t.props&&uo(t.props.value,e))return{checked:!0}},Gd.getSSRProps=({value:e},t)=>{if(be(e)){if(t.props&&Dl(e,t.props.value)>-1)return{checked:!0}}else if(Fo(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Mg.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Fg(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const sC=["ctrl","shift","alt","meta"],iC={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)=>sC.some(n=>e[`${n}Key`]&&!t.includes(n))},wt=(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 l=iC[t[i]];if(l&&l(o,t))return}return e(o,...s)})},aC={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||aC[i]===s))return e(o)})},Vg=ht({patchProp:W0},E0);let hi,hf=!1;function Hg(){return hi||(hi=eg(Vg))}function Ug(){return hi=hf?hi:tg(Vg),hf=!0,hi}const jg=(...e)=>{Hg().render(...e)},lC=(...e)=>{Ug().hydrate(...e)},dl=(...e)=>{const t=Hg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=qg(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},Wg=(...e)=>{const t=Ug().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=qg(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 qg(e){return yt(e)?document.querySelector(e):e}let _f=!1;const uC=()=>{_f||(_f=!0,oC(),P0())};/**
|
||
* vue v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const cC=()=>{},dC=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:$_,BaseTransitionPropsValidators:Dd,Comment:Nt,DeprecationTypes:S0,EffectScope:kd,ErrorCodes:Vv,ErrorTypeStrings:g0,Fragment:ze,KeepAlive:db,ReactiveEffect:ki,Static:Po,Suspense:Jb,Teleport:Bn,Text:Lr,TrackOpTypes:Iv,Transition:Tg,TransitionGroup:J0,TriggerOpTypes:Lv,VueElement:Ql,assertNumber:Fv,callWithAsyncErrorHandling:Un,callWithErrorHandling:Is,camelize:Wt,capitalize:Bi,cloneVNode:Cr,compatUtils:w0,compile:cC,computed:Ut,createApp:dl,createBlock:ve,createCommentVNode:ie,createElementBlock:D,createElementVNode:m,createHydrationRenderer:tg,createPropsRestProxy:Eb,createRenderer:eg,createSSRApp:Wg,createSlots:Uo,createStaticVNode:i0,createTextVNode:Rt,createVNode:b,customRef:h_,defineAsyncComponent:ub,defineComponent:Fr,defineCustomElement:Ig,defineEmits:gb,defineExpose:yb,defineModel:bb,defineOptions:zb,defineProps:_b,defineSSRCustomElement:q0,defineSlots:vb,devtools:y0,effect:nv,effectScope:Rl,getCurrentInstance:cn,getCurrentScope:Ed,getCurrentWatcher:Nv,getTransitionRawChildren:ql,guardReactiveProps:gg,h:yr,handleError:Vo,hasInjectionContext:W_,hydrate:lC,hydrateOnIdle:rb,hydrateOnInteraction:ab,hydrateOnMediaQuery:ib,hydrateOnVisible:sb,initCustomFormatter:p0,initDirectivesForSSR:uC,inject:Vn,isMemoSame:wg,isProxy:Ul,isReactive:vr,isReadonly:co,isRef:bt,isRuntimeOnly:d0,isShallow:En,isVNode:Rr,markRaw:jl,mergeDefaults:xb,mergeModels:kb,mergeProps:cs,nextTick:Ho,normalizeClass:Te,normalizeProps:Qs,normalizeStyle:fo,onActivated:P_,onBeforeMount:N_,onBeforeUnmount:Zl,onBeforeUpdate:Md,onDeactivated:I_,onErrorCaptured:F_,onMounted:Ls,onRenderTracked:M_,onRenderTriggered:R_,onScopeDispose:Jh,onServerPrefetch:D_,onUnmounted:Gi,onUpdated:Kl,onWatcherCleanup:y_,openBlock:A,popScopeId:Bv,provide:fi,proxyRefs:Id,pushScopeId:Wv,queuePostFlushCb:Ai,reactive:Ps,readonly:Pd,ref:Fn,registerRuntimeCompiler:c0,render:jg,renderList:Ct,renderSlot:mt,resolveComponent:T,resolveDirective:Vd,resolveDynamicComponent:Yl,resolveFilter:C0,resolveTransitionHooks:bs,setBlockTracking:Ic,setDevtoolsHook:z0,setTransitionHooks:Dr,shallowReactive:Od,shallowReadonly:Cv,shallowRef:Wl,ssrContextKey:sg,ssrUtils:b0,stop:rv,toDisplayString:y,toHandlerKey:li,toHandlers:pb,toRaw:Xe,toRef:$v,toRefs:__,toValue:xv,transformVNodeArgs:o0,triggerRef:Sv,unref:zn,useAttrs:Sb,useCssModule:Z0,useCssVars:I0,useHost:Lg,useId:Zv,useModel:Bb,useSSRContext:ig,useShadowRoot:K0,useSlots:wb,useTemplateRef:Yv,useTransitionState:Nd,vModelCheckbox:Gd,vModelDynamic:Mg,vModelRadio:Kd,vModelSelect:Zd,vModelText:bn,vShow:Ni,version:Sg,warn:_0,watch:Tn,watchEffect:ag,watchPostEffect:jb,watchSyncEffect:lg,withAsyncContext:Tb,withCtx:P,withDefaults:Cb,withDirectives:Bt,withKeys:gn,withMemo:h0,withModifiers:wt,withScopeId:qv},Symbol.toStringTag,{value:"Module"})),ae=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},mC={name:"BaseModal",props:{show:Boolean},emits:["close"],watch:{show(e){const{classList:t}=document.querySelector("html");e?t.add("is-clipped"):t.remove("is-clipped")}}},fC={key:0,class:"modal is-active"},pC={class:"modal-content"},hC={class:"card"},_C={class:"card-content"},gC={class:"card-footer is-clipped"};function yC(e,t,n,r,o,s){return A(),ve(Tg,{name:"fade"},{default:P(()=>[n.show?(A(),D("div",fC,[m("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),m("div",pC,[m("div",hC,[m("div",_C,[mt(e.$slots,"content",{},void 0,!0)]),m("footer",gC,[mt(e.$slots,"footer",{},void 0,!0)])])])])):ie("",!0)]),_:3})}const qt=ae(mC,[["render",yC],["__scopeId","data-v-12610569"]]);/*!
|
||
* pinia v2.3.0
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let Gg;const eu=e=>Gg=e,Kg=Symbol();function Uc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var _i;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(_i||(_i={}));function zC(){const e=Rl(!0),t=e.run(()=>Fn({}));let n=[],r=[];const o=jl({install(s){eu(o),o._a=s,s.provide(Kg,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 Zg=()=>{};function gf(e,t,n,r=Zg){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&Ed()&&Jh(o),o}function Ko(e,...t){e.slice().forEach(n=>{n(...t)})}const vC=e=>e(),yf=Symbol(),Fu=Symbol();function jc(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];Uc(o)&&Uc(r)&&e.hasOwnProperty(n)&&!bt(r)&&!vr(r)?e[n]=jc(o,r):e[n]=r}return e}const bC=Symbol();function CC(e){return!Uc(e)||!e.hasOwnProperty(bC)}const{assign:Yr}=Object;function wC(e){return!!(bt(e)&&e.effect)}function SC(e,t,n,r){const{state:o,actions:s,getters:i}=t,l=n.state.value[e];let a;function u(){l||(n.state.value[e]=o?o():{});const c=__(n.state.value[e]);return Yr(c,s,Object.keys(i||{}).reduce((d,f)=>(d[f]=jl(Ut(()=>{eu(n);const p=n._s.get(e);return i[f].call(p,p)})),d),{}))}return a=Yg(e,u,t,n,r,!0),a}function Yg(e,t,n={},r,o,s){let i;const l=Yr({actions:{}},n),a={deep:!0};let u,c,d=[],f=[],p;const h=r.state.value[e];!s&&!h&&(r.state.value[e]={}),Fn({});let _;function v(N){let E;u=c=!1,typeof N=="function"?(N(r.state.value[e]),E={type:_i.patchFunction,storeId:e,events:p}):(jc(r.state.value[e],N),E={type:_i.patchObject,payload:N,storeId:e,events:p});const F=_=Symbol();Ho().then(()=>{_===F&&(u=!0)}),c=!0,Ko(d,E,r.state.value[e])}const C=s?function(){const{state:E}=n,F=E?E():{};this.$patch(G=>{Yr(G,F)})}:Zg;function w(){i.stop(),d=[],f=[],r._s.delete(e)}const g=(N,E="")=>{if(yf in N)return N[Fu]=E,N;const F=function(){eu(r);const G=Array.from(arguments),U=[],B=[];function Q(te){U.push(te)}function fe(te){B.push(te)}Ko(f,{args:G,name:F[Fu],store:S,after:Q,onError:fe});let K;try{K=N.apply(this&&this.$id===e?this:S,G)}catch(te){throw Ko(B,te),te}return K instanceof Promise?K.then(te=>(Ko(U,te),te)).catch(te=>(Ko(B,te),Promise.reject(te))):(Ko(U,K),K)};return F[yf]=!0,F[Fu]=E,F},z={_p:r,$id:e,$onAction:gf.bind(null,f),$patch:v,$reset:C,$subscribe(N,E={}){const F=gf(d,N,E.detached,()=>G()),G=i.run(()=>Tn(()=>r.state.value[e],U=>{(E.flush==="sync"?c:u)&&N({storeId:e,type:_i.direct,events:p},U)},Yr({},a,E)));return F},$dispose:w},S=Ps(z);r._s.set(e,S);const L=(r._a&&r._a.runWithContext||vC)(()=>r._e.run(()=>(i=Rl()).run(()=>t({action:g}))));for(const N in L){const E=L[N];if(bt(E)&&!wC(E)||vr(E))s||(h&&CC(E)&&(bt(E)?E.value=h[N]:jc(E,h[N])),r.state.value[e][N]=E);else if(typeof E=="function"){const F=g(E,N);L[N]=F,l.actions[N]=E}}return Yr(S,L),Yr(Xe(S),L),Object.defineProperty(S,"$state",{get:()=>r.state.value[e],set:N=>{v(E=>{Yr(E,N)})}}),r._p.forEach(N=>{Yr(S,i.run(()=>N({store:S,app:r._a,pinia:r,options:l})))}),h&&s&&n.hydrate&&n.hydrate(S.$state,h),u=!0,c=!0,S}/*! #__NO_SIDE_EFFECTS__ */function qn(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(l,a){const u=W_();return l=l||(u?Vn(Kg,null):null),l&&eu(l),l=Gg,l._s.has(r)||(s?Yg(r,t,o,l):SC(r,o,l)),l._s.get(r)}return i.$id=r,i}const Yd=qn("RemotesStore",{state:()=>({pairing:{}})});function Xg(e,t){return function(){return e.apply(t,arguments)}}const{toString:xC}=Object.prototype,{getPrototypeOf:Xd}=Object,tu=(e=>t=>{const n=xC.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),lr=e=>(e=e.toLowerCase(),t=>tu(t)===e),nu=e=>t=>typeof t===e,{isArray:Ns}=Array,Di=nu("undefined");function kC(e){return e!==null&&!Di(e)&&e.constructor!==null&&!Di(e.constructor)&&An(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Jg=lr("ArrayBuffer");function EC(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Jg(e.buffer),t}const TC=nu("string"),An=nu("function"),Qg=nu("number"),ru=e=>e!==null&&typeof e=="object",AC=e=>e===!0||e===!1,Ma=e=>{if(tu(e)!=="object")return!1;const t=Xd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$C=lr("Date"),OC=lr("File"),PC=lr("Blob"),IC=lr("FileList"),LC=e=>ru(e)&&An(e.pipe),NC=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||An(e.append)&&((t=tu(e))==="formdata"||t==="object"&&An(e.toString)&&e.toString()==="[object FormData]"))},DC=lr("URLSearchParams"),[RC,MC,FC,VC]=["ReadableStream","Request","Response","Headers"].map(lr),HC=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Ns(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 l;for(r=0;r<i;r++)l=s[r],t.call(null,e[l],l,e)}}function ey(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 To=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ty=e=>!Di(e)&&e!==To;function Wc(){const{caseless:e}=ty(this)&&this||{},t={},n=(r,o)=>{const s=e&&ey(t,o)||o;Ma(t[s])&&Ma(r)?t[s]=Wc(t[s],r):Ma(r)?t[s]=Wc({},r):Ns(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Yi(arguments[r],n);return t}const UC=(e,t,n,{allOwnKeys:r}={})=>(Yi(t,(o,s)=>{n&&An(o)?e[s]=Xg(o,n):e[s]=o},{allOwnKeys:r}),e),jC=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),WC=(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)},BC=(e,t,n,r)=>{let o,s,i;const l={};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))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Xd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},qC=(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},GC=e=>{if(!e)return null;if(Ns(e))return e;let t=e.length;if(!Qg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},KC=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xd(Uint8Array)),ZC=(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])}},YC=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},XC=lr("HTMLFormElement"),JC=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),zf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),QC=lr("RegExp"),ny=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Yi(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},ew=e=>{ny(e,(t,n)=>{if(An(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(An(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+"'")})}})},tw=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return Ns(e)?r(e):r(String(e).split(t)),n},nw=()=>{},rw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Vu="abcdefghijklmnopqrstuvwxyz",vf="0123456789",ry={DIGIT:vf,ALPHA:Vu,ALPHA_DIGIT:Vu+Vu.toUpperCase()+vf},ow=(e=16,t=ry.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function sw(e){return!!(e&&An(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const iw=e=>{const t=new Array(10),n=(r,o)=>{if(ru(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=Ns(r)?[]:{};return Yi(r,(i,l)=>{const a=n(i,o+1);!Di(a)&&(s[l]=a)}),t[o]=void 0,s}}return r};return n(e,0)},aw=lr("AsyncFunction"),lw=e=>e&&(ru(e)||An(e))&&An(e.then)&&An(e.catch),oy=((e,t)=>e?setImmediate:t?((n,r)=>(To.addEventListener("message",({source:o,data:s})=>{o===To&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),To.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",An(To.postMessage)),uw=typeof queueMicrotask<"u"?queueMicrotask.bind(To):typeof process<"u"&&process.nextTick||oy,J={isArray:Ns,isArrayBuffer:Jg,isBuffer:kC,isFormData:NC,isArrayBufferView:EC,isString:TC,isNumber:Qg,isBoolean:AC,isObject:ru,isPlainObject:Ma,isReadableStream:RC,isRequest:MC,isResponse:FC,isHeaders:VC,isUndefined:Di,isDate:$C,isFile:OC,isBlob:PC,isRegExp:QC,isFunction:An,isStream:LC,isURLSearchParams:DC,isTypedArray:KC,isFileList:IC,forEach:Yi,merge:Wc,extend:UC,trim:HC,stripBOM:jC,inherits:WC,toFlatObject:BC,kindOf:tu,kindOfTest:lr,endsWith:qC,toArray:GC,forEachEntry:ZC,matchAll:YC,isHTMLForm:XC,hasOwnProperty:zf,hasOwnProp:zf,reduceDescriptors:ny,freezeMethods:ew,toObjectSet:tw,toCamelCase:JC,noop:nw,toFiniteNumber:rw,findKey:ey,global:To,isContextDefined:ty,ALPHABET:ry,generateString:ow,isSpecCompliantForm:sw,toJSONObject:iw,isAsyncFn:aw,isThenable:lw,setImmediate:oy,asap:uw};function We(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(We,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 sy=We.prototype,iy={};["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=>{iy[e]={value:e}});Object.defineProperties(We,iy);Object.defineProperty(sy,"isAxiosError",{value:!0});We.from=(e,t,n,r,o,s)=>{const i=Object.create(sy);return J.toFlatObject(e,i,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),We.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const cw=null;function Bc(e){return J.isPlainObject(e)||J.isArray(e)}function ay(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=ay(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function dw(e){return J.isArray(e)&&!e.some(Bc)}const mw=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function ou(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(_,v){return!J.isUndefined(v[_])});const r=n.metaTokens,o=n.visitor||c,s=n.dots,i=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(J.isDate(h))return h.toISOString();if(!a&&J.isBlob(h))throw new We("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(h)||J.isTypedArray(h)?a&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,_,v){let C=h;if(h&&!v&&typeof h=="object"){if(J.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(J.isArray(h)&&dw(h)||(J.isFileList(h)||J.endsWith(_,"[]"))&&(C=J.toArray(h)))return _=ay(_),C.forEach(function(g,z){!(J.isUndefined(g)||g===null)&&t.append(i===!0?bf([_],z,s):i===null?_:_+"[]",u(g))}),!1}return Bc(h)?!0:(t.append(bf(v,_,s),u(h)),!1)}const d=[],f=Object.assign(mw,{defaultVisitor:c,convertValue:u,isVisitable:Bc});function p(h,_){if(!J.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));d.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])}),d.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Cf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Jd(e,t){this._pairs=[],e&&ou(e,this,t)}const ly=Jd.prototype;ly.append=function(t,n){this._pairs.push([t,n])};ly.toString=function(t){const n=t?function(r){return t.call(this,r,Cf)}:Cf;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function fw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function uy(e,t,n){if(!t)return e;const r=n&&n.encode||fw;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 Jd(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class wf{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 cy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pw=typeof URLSearchParams<"u"?URLSearchParams:Jd,hw=typeof FormData<"u"?FormData:null,_w=typeof Blob<"u"?Blob:null,gw={isBrowser:!0,classes:{URLSearchParams:pw,FormData:hw,Blob:_w},protocols:["http","https","file","blob","url","data"]},Qd=typeof window<"u"&&typeof document<"u",qc=typeof navigator=="object"&&navigator||void 0,yw=Qd&&(!qc||["ReactNative","NativeScript","NS"].indexOf(qc.product)<0),zw=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vw=Qd&&window.location.href||"http://localhost",bw=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Qd,hasStandardBrowserEnv:yw,hasStandardBrowserWebWorkerEnv:zw,navigator:qc,origin:vw},Symbol.toStringTag,{value:"Module"})),Xt={...bw,...gw};function Cw(e,t){return ou(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 ww(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Sw(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 dy(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),a=s>=n.length;return i=!i&&J.isArray(o)?o.length:i,a?(J.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!l):((!o[i]||!J.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&J.isArray(o[i])&&(o[i]=Sw(o[i])),!l)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,(r,o)=>{t(ww(r),o,n,0)}),n}return null}function xw(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 Xi={transitional:cy,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(dy(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 l;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Cw(t,this.formSerializer).toString();if((l=J.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return ou(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),xw(t)):t}],transformResponse:[function(t){const n=this.transitional||Xi.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(l){if(i)throw l.name==="SyntaxError"?We.from(l,We.ERR_BAD_RESPONSE,this,null,this.response):l}}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=>{Xi.headers[e]={}});const kw=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"]),Ew=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]&&kw[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Sf=Symbol("internals");function Bs(e){return e&&String(e).trim().toLowerCase()}function Fa(e){return e===!1||e==null?e:J.isArray(e)?e.map(Fa):String(e)}function Tw(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 Aw=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Hu(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 $w(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ow(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 vn{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(l,a,u){const c=Bs(a);if(!c)throw new Error("header name must be a non-empty string");const d=J.findKey(o,c);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||a]=Fa(l))}const i=(l,a)=>J.forEach(l,(u,c)=>s(u,c,a));if(J.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(J.isString(t)&&(t=t.trim())&&!Aw(t))i(Ew(t),n);else if(J.isHeaders(t))for(const[l,a]of t.entries())s(a,l,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 Tw(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||Hu(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 l=J.findKey(r,i);l&&(!n||Hu(r,r[l],l,n))&&(delete r[l],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||Hu(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]=Fa(o),delete n[s];return}const l=t?$w(s):String(s).trim();l!==s&&delete n[s],n[l]=Fa(o),r[l]=!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[Sf]=this[Sf]={accessors:{}}).accessors,o=this.prototype;function s(i){const l=Bs(i);r[l]||(Ow(o,i),r[l]=!0)}return J.isArray(t)?t.forEach(s):s(t),this}}vn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(vn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(vn);function Uu(e,t){const n=this||Xi,r=t||n,o=vn.from(r.headers);let s=r.data;return J.forEach(e,function(l){s=l.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function my(e){return!!(e&&e.__CANCEL__)}function Ds(e,t,n){We.call(this,e??"canceled",We.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Ds,We,{__CANCEL__:!0});function fy(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new We("Request failed with status code "+n.status,[We.ERR_BAD_REQUEST,We.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Pw(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Iw(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(a){const u=Date.now(),c=r[s];i||(i=u),n[o]=a,r[o]=u;let d=s,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const p=c&&u-c;return p?Math.round(f*1e3/p):void 0}}function Lw(e,t){let n=0,r=1e3/t,o,s;const i=(u,c=Date.now())=>{n=c,o=null,s&&(clearTimeout(s),s=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),d=c-n;d>=r?i(u,c):(o=u,s||(s=setTimeout(()=>{s=null,i(o)},r-d)))},()=>o&&i(o)]}const ml=(e,t,n=3)=>{let r=0;const o=Iw(50,250);return Lw(s=>{const i=s.loaded,l=s.lengthComputable?s.total:void 0,a=i-r,u=o(a),c=i<=l;r=i;const d={loaded:i,total:l,progress:l?i/l:void 0,bytes:a,rate:u||void 0,estimated:u&&l&&c?(l-i)/u:void 0,event:s,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},xf=(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)),Nw=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,Dw=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 Rw(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Mw(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function py(e,t){return e&&!Rw(t)?Mw(e,t):t}const Ef=e=>e instanceof vn?{...e}:e;function Ro(e,t){t=t||{};const n={};function r(u,c,d,f){return J.isPlainObject(u)&&J.isPlainObject(c)?J.merge.call({caseless:f},u,c):J.isPlainObject(c)?J.merge({},c):J.isArray(c)?c.slice():c}function o(u,c,d,f){if(J.isUndefined(c)){if(!J.isUndefined(u))return r(void 0,u,d,f)}else return r(u,c,d,f)}function s(u,c){if(!J.isUndefined(c))return r(void 0,c)}function i(u,c){if(J.isUndefined(c)){if(!J.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function l(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const a={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:l,headers:(u,c,d)=>o(Ef(u),Ef(c),d,!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=a[c]||o,f=d(e[c],t[c],c);J.isUndefined(f)&&d!==l||(n[c]=f)}),n}const hy=e=>{const t=Ro({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:l}=t;t.headers=i=vn.from(i),t.url=uy(py(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let a;if(J.isFormData(n)){if(Xt.hasStandardBrowserEnv||Xt.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((a=i.getContentType())!==!1){const[u,...c]=a?a.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...c].join("; "))}}if(Xt.hasStandardBrowserEnv&&(r&&J.isFunction(r)&&(r=r(t)),r||r!==!1&&Nw(t.url))){const u=o&&s&&Dw.read(s);u&&i.set(o,u)}return t},Fw=typeof XMLHttpRequest<"u",Vw=Fw&&function(e){return new Promise(function(n,r){const o=hy(e);let s=o.data;const i=vn.from(o.headers).normalize();let{responseType:l,onUploadProgress:a,onDownloadProgress:u}=o,c,d,f,p,h;function _(){p&&p(),h&&h(),o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}let v=new XMLHttpRequest;v.open(o.method.toUpperCase(),o.url,!0),v.timeout=o.timeout;function C(){if(!v)return;const g=vn.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),S={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:g,config:e,request:v};fy(function(L){n(L),_()},function(L){r(L),_()},S),v=null}"onloadend"in v?v.onloadend=C:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(C)},v.onabort=function(){v&&(r(new We("Request aborted",We.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new We("Network Error",We.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let z=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const S=o.transitional||cy;o.timeoutErrorMessage&&(z=o.timeoutErrorMessage),r(new We(z,S.clarifyTimeoutError?We.ETIMEDOUT:We.ECONNABORTED,e,v)),v=null},s===void 0&&i.setContentType(null),"setRequestHeader"in v&&J.forEach(i.toJSON(),function(z,S){v.setRequestHeader(S,z)}),J.isUndefined(o.withCredentials)||(v.withCredentials=!!o.withCredentials),l&&l!=="json"&&(v.responseType=o.responseType),u&&([f,h]=ml(u,!0),v.addEventListener("progress",f)),a&&v.upload&&([d,p]=ml(a),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(c=g=>{v&&(r(!g||g.type?new Ds(null,e,v):g),v.abort(),v=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c)));const w=Pw(o.url);if(w&&Xt.protocols.indexOf(w)===-1){r(new We("Unsupported protocol "+w+":",We.ERR_BAD_REQUEST,e));return}v.send(s||null)})},Hw=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(u){if(!o){o=!0,l();const c=u instanceof Error?u:this.reason;r.abort(c instanceof We?c:new Ds(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{i=null,s(new We(`timeout ${t} of ms exceeded`,We.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(s):u.removeEventListener("abort",s)}),e=null)};e.forEach(u=>u.addEventListener("abort",s));const{signal:a}=r;return a.unsubscribe=()=>J.asap(l),a}},Uw=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},jw=async function*(e,t){for await(const n of Ww(e))yield*Uw(n,t)},Ww=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()}},Tf=(e,t,n,r)=>{const o=jw(e,t);let s=0,i,l=a=>{i||(i=!0,r&&r(a))};return new ReadableStream({async pull(a){try{const{done:u,value:c}=await o.next();if(u){l(),a.close();return}let d=c.byteLength;if(n){let f=s+=d;n(f)}a.enqueue(new Uint8Array(c))}catch(u){throw l(u),u}},cancel(a){return l(a),o.return()}},{highWaterMark:2})},su=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",_y=su&&typeof ReadableStream=="function",Bw=su&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),gy=(e,...t)=>{try{return!!e(...t)}catch{return!1}},qw=_y&&gy(()=>{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}),Af=64*1024,Gc=_y&&gy(()=>J.isReadableStream(new Response("").body)),fl={stream:Gc&&(e=>e.body)};su&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!fl[t]&&(fl[t]=J.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new We(`Response type '${t}' is not supported`,We.ERR_NOT_SUPPORT,r)})})})(new Response);const Gw=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 Bw(e)).byteLength},Kw=async(e,t)=>{const n=J.toFiniteNumber(e.getContentLength());return n??Gw(t)},Zw=su&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:s,timeout:i,onDownloadProgress:l,onUploadProgress:a,responseType:u,headers:c,withCredentials:d="same-origin",fetchOptions:f}=hy(e);u=u?(u+"").toLowerCase():"text";let p=Hw([o,s&&s.toAbortSignal()],i),h;const _=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let v;try{if(a&&qw&&n!=="get"&&n!=="head"&&(v=await Kw(c,r))!==0){let S=new Request(t,{method:"POST",body:r,duplex:"half"}),x;if(J.isFormData(r)&&(x=S.headers.get("content-type"))&&c.setContentType(x),S.body){const[L,N]=xf(v,ml(kf(a)));r=Tf(S.body,Af,L,N)}}J.isString(d)||(d=d?"include":"omit");const C="credentials"in Request.prototype;h=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:C?d:void 0});let w=await fetch(h);const g=Gc&&(u==="stream"||u==="response");if(Gc&&(l||g&&_)){const S={};["status","statusText","headers"].forEach(E=>{S[E]=w[E]});const x=J.toFiniteNumber(w.headers.get("content-length")),[L,N]=l&&xf(x,ml(kf(l),!0))||[];w=new Response(Tf(w.body,Af,L,()=>{N&&N(),_&&_()}),S)}u=u||"text";let z=await fl[J.findKey(fl,u)||"text"](w,e);return!g&&_&&_(),await new Promise((S,x)=>{fy(S,x,{data:z,headers:vn.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 We("Network Error",We.ERR_NETWORK,e,h),{cause:C.cause||C}):We.from(C,C&&C.code,e,h)}}),Kc={http:cw,xhr:Vw,fetch:Zw};J.forEach(Kc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const $f=e=>`- ${e}`,Yw=e=>J.isFunction(e)||e===null||e===!1,yy={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,!Yw(n)&&(r=Kc[(i=String(n)).toLowerCase()],r===void 0))throw new We(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+s]=r}if(!r){const s=Object.entries(o).map(([l,a])=>`adapter ${l} `+(a===!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 We("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Kc};function ju(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ds(null,e)}function Of(e){return ju(e),e.headers=vn.from(e.headers),e.data=Uu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),yy.getAdapter(e.adapter||Xi.adapter)(e).then(function(r){return ju(e),r.data=Uu.call(e,e.transformResponse,r),r.headers=vn.from(r.headers),r},function(r){return my(r)||(ju(e),r&&r.response&&(r.response.data=Uu.call(e,e.transformResponse,r.response),r.response.headers=vn.from(r.response.headers))),Promise.reject(r)})}const zy="1.7.9",iu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{iu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Pf={};iu.transitional=function(t,n,r){function o(s,i){return"[Axios v"+zy+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,l)=>{if(t===!1)throw new We(o(i," has been removed"+(n?" in "+n:"")),We.ERR_DEPRECATED);return n&&!Pf[i]&&(Pf[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,l):!0}};iu.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Xw(e,t,n){if(typeof e!="object")throw new We("options must be an object",We.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 l=e[s],a=l===void 0||i(l,s,e);if(a!==!0)throw new We("option "+s+" must be "+a,We.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new We("Unknown option "+s,We.ERR_BAD_OPTION)}}const Va={assertOptions:Xw,validators:iu},mr=Va.validators;class Io{constructor(t){this.defaults=t,this.interceptors={request:new wf,response:new wf}}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=Ro(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Va.assertOptions(r,{silentJSONParsing:mr.transitional(mr.boolean),forcedJSONParsing:mr.transitional(mr.boolean),clarifyTimeoutError:mr.transitional(mr.boolean)},!1),o!=null&&(J.isFunction(o)?n.paramsSerializer={serialize:o}:Va.assertOptions(o,{encode:mr.function,serialize:mr.function},!0)),Va.assertOptions(n,{baseUrl:mr.spelling("baseURL"),withXsrfToken:mr.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=vn.concat(i,s);const l=[];let a=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(a=a&&_.synchronous,l.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let c,d=0,f;if(!a){const h=[Of.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,u),f=h.length,c=Promise.resolve(n);d<f;)c=c.then(h[d++],h[d++]);return c}f=l.length;let p=n;for(d=0;d<f;){const h=l[d++],_=l[d++];try{p=h(p)}catch(v){_.call(this,v);break}}try{c=Of.call(this,p)}catch(h){return Promise.reject(h)}for(d=0,f=u.length;d<f;)c=c.then(u[d++],u[d++]);return c}getUri(t){t=Ro(this.defaults,t);const n=py(t.baseURL,t.url);return uy(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){Io.prototype[t]=function(n,r){return this.request(Ro(r||{},{method:t,url:n,data:(r||{}).data}))}});J.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,l){return this.request(Ro(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Io.prototype[t]=n(),Io.prototype[t+"Form"]=n(!0)});class em{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(l=>{r.subscribe(l),s=l}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,l){r.reason||(r.reason=new Ds(s,i,l),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 em(function(o){t=o}),cancel:t}}}function Jw(e){return function(n){return e.apply(null,n)}}function Qw(e){return J.isObject(e)&&e.isAxiosError===!0}const Zc={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(Zc).forEach(([e,t])=>{Zc[t]=e});function vy(e){const t=new Io(e),n=Xg(Io.prototype.request,t);return J.extend(n,Io.prototype,t,{allOwnKeys:!0}),J.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return vy(Ro(e,o))},n}const de=vy(Xi);de.Axios=Io;de.CanceledError=Ds;de.CancelToken=em;de.isCancel=my;de.VERSION=zy;de.toFormData=ou;de.AxiosError=We;de.Cancel=de.CanceledError;de.all=function(t){return Promise.all(t)};de.spread=Jw;de.isAxiosError=Qw;de.mergeConfig=Ro;de.AxiosHeaders=vn;de.formToJSON=e=>dy(J.isHTMLForm(e)?new FormData(e):e);de.getAdapter=yy.getAdapter;de.HttpStatusCode=Zc;de.default=de;/*!
|
||
* shared v9.14.2
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const pl=typeof window<"u",_o=(e,t=!1)=>t?Symbol.for(e):Symbol(e),eS=(e,t,n)=>tS({l:e,k:t,s:n}),tS=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Dt=e=>typeof e=="number"&&isFinite(e),nS=e=>Cy(e)==="[object Date]",hl=e=>Cy(e)==="[object RegExp]",au=e=>Qe(e)&&Object.keys(e).length===0,tn=Object.assign,rS=Object.create,ft=(e=null)=>rS(e);let If;const tm=()=>If||(If=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ft());function Lf(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const oS=Object.prototype.hasOwnProperty;function er(e,t){return oS.call(e,t)}const Ht=Array.isArray,Ot=e=>typeof e=="function",we=e=>typeof e=="string",xt=e=>typeof e=="boolean",rt=e=>e!==null&&typeof e=="object",sS=e=>rt(e)&&Ot(e.then)&&Ot(e.catch),by=Object.prototype.toString,Cy=e=>by.call(e),Qe=e=>{if(!rt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},iS=e=>e==null?"":Ht(e)||Qe(e)&&e.toString===by?JSON.stringify(e,null,2):String(e);function aS(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function lu(e){let t=e;return()=>++t}function lS(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const _a=e=>!rt(e)||Ht(e);function Ha(e,t){if(_a(e)||_a(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])?[]:ft()),_a(o[s])||_a(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 uS(e,t,n){return{line:e,column:t,offset:n}}function _l(e,t,n){return{start:e,end:t}}const cS=/\{([0-9a-zA-Z]+)\}/g;function wy(e,...t){return t.length===1&&dS(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(cS,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Sy=Object.assign,Nf=e=>typeof e=="string",dS=e=>e!==null&&typeof e=="object";function xy(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const nm={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},mS={[nm.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function fS(e,t,...n){const r=wy(mS[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},pS={[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 Rs(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=wy((o||pS)[e]||"",...s||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=r,l}function hS(e){throw e}const kr=" ",_S="\r",on=`
|
||
`,gS="\u2028",yS="\u2029";function zS(e){const t=e;let n=0,r=1,o=1,s=0;const i=L=>t[L]===_S&&t[L+1]===on,l=L=>t[L]===on,a=L=>t[L]===yS,u=L=>t[L]===gS,c=L=>i(L)||l(L)||a(L)||u(L),d=()=>n,f=()=>r,p=()=>o,h=()=>s,_=L=>i(L)||a(L)||u(L)?on:t[L],v=()=>_(n),C=()=>_(n+s);function w(){return s=0,c(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 x(){const L=n+s;for(;L!==n;)w();s=0}return{index:d,line:f,column:p,peekOffset:h,charAt:_,currentChar:v,currentPeek:C,next:w,peek:g,reset:z,resetPeek:S,skipToPeek:x}}const Wr=void 0,vS=".",Df="'",bS="tokenizer";function CS(e,t={}){const n=t.location!==!1,r=zS(e),o=()=>r.index(),s=()=>uS(r.line(),r.column(),r.index()),i=s(),l=o(),a={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>a,{onError:c}=t;function d(k,$,R,...re){const le=u();if($.column+=R,$.offset+=R,c){const oe=n?_l(le.startLoc,$):null,V=Rs(k,oe,{domain:bS,args:re});c(V)}}function f(k,$,R){k.endLoc=s(),k.currentType=$;const re={type:$};return n&&(re.loc=_l(k.startLoc,k.endLoc)),R!=null&&(re.value=R),re}const p=k=>f(k,14);function h(k,$){return k.currentChar()===$?(k.next(),$):(d(Le.EXPECTED_TOKEN,s(),0,$),"")}function _(k){let $="";for(;k.currentPeek()===kr||k.currentPeek()===on;)$+=k.currentPeek(),k.peek();return $}function v(k){const $=_(k);return k.skipToPeek(),$}function C(k){if(k===Wr)return!1;const $=k.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$===95}function w(k){if(k===Wr)return!1;const $=k.charCodeAt(0);return $>=48&&$<=57}function g(k,$){const{currentType:R}=$;if(R!==2)return!1;_(k);const re=C(k.currentPeek());return k.resetPeek(),re}function z(k,$){const{currentType:R}=$;if(R!==2)return!1;_(k);const re=k.currentPeek()==="-"?k.peek():k.currentPeek(),le=w(re);return k.resetPeek(),le}function S(k,$){const{currentType:R}=$;if(R!==2)return!1;_(k);const re=k.currentPeek()===Df;return k.resetPeek(),re}function x(k,$){const{currentType:R}=$;if(R!==8)return!1;_(k);const re=k.currentPeek()===".";return k.resetPeek(),re}function L(k,$){const{currentType:R}=$;if(R!==9)return!1;_(k);const re=C(k.currentPeek());return k.resetPeek(),re}function N(k,$){const{currentType:R}=$;if(!(R===8||R===12))return!1;_(k);const re=k.currentPeek()===":";return k.resetPeek(),re}function E(k,$){const{currentType:R}=$;if(R!==10)return!1;const re=()=>{const oe=k.currentPeek();return oe==="{"?C(k.peek()):oe==="@"||oe==="%"||oe==="|"||oe===":"||oe==="."||oe===kr||!oe?!1:oe===on?(k.peek(),re()):U(k,!1)},le=re();return k.resetPeek(),le}function F(k){_(k);const $=k.currentPeek()==="|";return k.resetPeek(),$}function G(k){const $=_(k),R=k.currentPeek()==="%"&&k.peek()==="{";return k.resetPeek(),{isModulo:R,hasSpace:$.length>0}}function U(k,$=!0){const R=(le=!1,oe="",V=!1)=>{const Y=k.currentPeek();return Y==="{"?oe==="%"?!1:le:Y==="@"||!Y?oe==="%"?!0:le:Y==="%"?(k.peek(),R(le,"%",!0)):Y==="|"?oe==="%"||V?!0:!(oe===kr||oe===on):Y===kr?(k.peek(),R(!0,kr,V)):Y===on?(k.peek(),R(!0,on,V)):!0},re=R();return $&&k.resetPeek(),re}function B(k,$){const R=k.currentChar();return R===Wr?Wr:$(R)?(k.next(),R):null}function Q(k){const $=k.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36}function fe(k){return B(k,Q)}function K(k){const $=k.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36||$===45}function te(k){return B(k,K)}function ue(k){const $=k.charCodeAt(0);return $>=48&&$<=57}function Ne(k){return B(k,ue)}function it(k){const $=k.charCodeAt(0);return $>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102}function Ve(k){return B(k,it)}function He(k){let $="",R="";for(;$=Ne(k);)R+=$;return R}function at(k){v(k);const $=k.currentChar();return $!=="%"&&d(Le.EXPECTED_TOKEN,s(),0,$),k.next(),"%"}function lt(k){let $="";for(;;){const R=k.currentChar();if(R==="{"||R==="}"||R==="@"||R==="|"||!R)break;if(R==="%")if(U(k))$+=R,k.next();else break;else if(R===kr||R===on)if(U(k))$+=R,k.next();else{if(F(k))break;$+=R,k.next()}else $+=R,k.next()}return $}function dt(k){v(k);let $="",R="";for(;$=te(k);)R+=$;return k.currentChar()===Wr&&d(Le.UNTERMINATED_CLOSING_BRACE,s(),0),R}function Be(k){v(k);let $="";return k.currentChar()==="-"?(k.next(),$+=`-${He(k)}`):$+=He(k),k.currentChar()===Wr&&d(Le.UNTERMINATED_CLOSING_BRACE,s(),0),$}function Z(k){return k!==Df&&k!==on}function me(k){v(k),h(k,"'");let $="",R="";for(;$=B(k,Z);)$==="\\"?R+=ce(k):R+=$;const re=k.currentChar();return re===on||re===Wr?(d(Le.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),re===on&&(k.next(),h(k,"'")),R):(h(k,"'"),R)}function ce(k){const $=k.currentChar();switch($){case"\\":case"'":return k.next(),`\\${$}`;case"u":return ye(k,$,4);case"U":return ye(k,$,6);default:return d(Le.UNKNOWN_ESCAPE_SEQUENCE,s(),0,$),""}}function ye(k,$,R){h(k,$);let re="";for(let le=0;le<R;le++){const oe=Ve(k);if(!oe){d(Le.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${$}${re}${k.currentChar()}`);break}re+=oe}return`\\${$}${re}`}function Ue(k){return k!=="{"&&k!=="}"&&k!==kr&&k!==on}function Ge(k){v(k);let $="",R="";for(;$=B(k,Ue);)R+=$;return R}function O(k){let $="",R="";for(;$=fe(k);)R+=$;return R}function I(k){const $=R=>{const re=k.currentChar();return re==="{"||re==="%"||re==="@"||re==="|"||re==="("||re===")"||!re||re===kr?R:(R+=re,k.next(),$(R))};return $("")}function j(k){v(k);const $=h(k,"|");return v(k),$}function ee(k,$){let R=null;switch(k.currentChar()){case"{":return $.braceNest>=1&&d(Le.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),k.next(),R=f($,2,"{"),v(k),$.braceNest++,R;case"}":return $.braceNest>0&&$.currentType===2&&d(Le.EMPTY_PLACEHOLDER,s(),0),k.next(),R=f($,3,"}"),$.braceNest--,$.braceNest>0&&v(k),$.inLinked&&$.braceNest===0&&($.inLinked=!1),R;case"@":return $.braceNest>0&&d(Le.UNTERMINATED_CLOSING_BRACE,s(),0),R=X(k,$)||p($),$.braceNest=0,R;default:{let le=!0,oe=!0,V=!0;if(F(k))return $.braceNest>0&&d(Le.UNTERMINATED_CLOSING_BRACE,s(),0),R=f($,1,j(k)),$.braceNest=0,$.inLinked=!1,R;if($.braceNest>0&&($.currentType===5||$.currentType===6||$.currentType===7))return d(Le.UNTERMINATED_CLOSING_BRACE,s(),0),$.braceNest=0,se(k,$);if(le=g(k,$))return R=f($,5,dt(k)),v(k),R;if(oe=z(k,$))return R=f($,6,Be(k)),v(k),R;if(V=S(k,$))return R=f($,7,me(k)),v(k),R;if(!le&&!oe&&!V)return R=f($,13,Ge(k)),d(Le.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,R.value),v(k),R;break}}return R}function X(k,$){const{currentType:R}=$;let re=null;const le=k.currentChar();switch((R===8||R===9||R===12||R===10)&&(le===on||le===kr)&&d(Le.INVALID_LINKED_FORMAT,s(),0),le){case"@":return k.next(),re=f($,8,"@"),$.inLinked=!0,re;case".":return v(k),k.next(),f($,9,".");case":":return v(k),k.next(),f($,10,":");default:return F(k)?(re=f($,1,j(k)),$.braceNest=0,$.inLinked=!1,re):x(k,$)||N(k,$)?(v(k),X(k,$)):L(k,$)?(v(k),f($,12,O(k))):E(k,$)?(v(k),le==="{"?ee(k,$)||re:f($,11,I(k))):(R===8&&d(Le.INVALID_LINKED_FORMAT,s(),0),$.braceNest=0,$.inLinked=!1,se(k,$))}}function se(k,$){let R={type:14};if($.braceNest>0)return ee(k,$)||p($);if($.inLinked)return X(k,$)||p($);switch(k.currentChar()){case"{":return ee(k,$)||p($);case"}":return d(Le.UNBALANCED_CLOSING_BRACE,s(),0),k.next(),f($,3,"}");case"@":return X(k,$)||p($);default:{if(F(k))return R=f($,1,j(k)),$.braceNest=0,$.inLinked=!1,R;const{isModulo:le,hasSpace:oe}=G(k);if(le)return oe?f($,0,lt(k)):f($,4,at(k));if(U(k))return f($,0,lt(k));break}}return R}function pe(){const{currentType:k,offset:$,startLoc:R,endLoc:re}=a;return a.lastType=k,a.lastOffset=$,a.lastStartLoc=R,a.lastEndLoc=re,a.offset=o(),a.startLoc=s(),r.currentChar()===Wr?f(a,14):se(r,a)}return{nextToken:pe,currentOffset:o,currentPosition:s,context:u}}const wS="parser",SS=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function xS(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 kS(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function o(g,z,S,x,...L){const N=g.currentPosition();if(N.offset+=x,N.column+=x,n){const E=t?_l(S,N):null,F=Rs(z,E,{domain:wS,args:L});n(F)}}function s(g,z,S,x,...L){const N=g.currentPosition();if(N.offset+=x,N.column+=x,r){const E=t?_l(S,N):null;r(fS(z,E,L))}}function i(g,z,S){const x={type:g};return t&&(x.start=z,x.end=z,x.loc={start:S,end:S}),x}function l(g,z,S,x){t&&(g.end=z,g.loc&&(g.loc.end=S))}function a(g,z){const S=g.context(),x=i(3,S.offset,S.startLoc);return x.value=z,l(x,g.currentOffset(),g.currentPosition()),x}function u(g,z){const S=g.context(),{lastOffset:x,lastStartLoc:L}=S,N=i(5,x,L);return N.index=parseInt(z,10),g.nextToken(),l(N,g.currentOffset(),g.currentPosition()),N}function c(g,z,S){const x=g.context(),{lastOffset:L,lastStartLoc:N}=x,E=i(4,L,N);return E.key=z,S===!0&&(E.modulo=!0),g.nextToken(),l(E,g.currentOffset(),g.currentPosition()),E}function d(g,z){const S=g.context(),{lastOffset:x,lastStartLoc:L}=S,N=i(9,x,L);return N.value=z.replace(SS,xS),g.nextToken(),l(N,g.currentOffset(),g.currentPosition()),N}function f(g){const z=g.nextToken(),S=g.context(),{lastOffset:x,lastStartLoc:L}=S,N=i(8,x,L);return z.type!==12?(o(g,Le.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),N.value="",l(N,x,L),{nextConsumeToken:z,node:N}):(z.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Gn(z)),N.value=z.value||"",l(N,g.currentOffset(),g.currentPosition()),{node:N})}function p(g,z){const S=g.context(),x=i(7,S.offset,S.startLoc);return x.value=z,l(x,g.currentOffset(),g.currentPosition()),x}function h(g){const z=g.context(),S=i(6,z.offset,z.startLoc);let x=g.nextToken();if(x.type===9){const L=f(g);S.modifier=L.node,x=L.nextConsumeToken||g.nextToken()}switch(x.type!==10&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Gn(x)),x=g.nextToken(),x.type===2&&(x=g.nextToken()),x.type){case 11:x.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Gn(x)),S.key=p(g,x.value||"");break;case 5:x.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Gn(x)),S.key=c(g,x.value||"");break;case 6:x.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Gn(x)),S.key=u(g,x.value||"");break;case 7:x.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Gn(x)),S.key=d(g,x.value||"");break;default:{o(g,Le.UNEXPECTED_EMPTY_LINKED_KEY,z.lastStartLoc,0);const L=g.context(),N=i(7,L.offset,L.startLoc);return N.value="",l(N,L.offset,L.startLoc),S.key=N,l(S,L.offset,L.startLoc),{nextConsumeToken:x,node:S}}}return l(S,g.currentOffset(),g.currentPosition()),{node:S}}function _(g){const z=g.context(),S=z.currentType===1?g.currentOffset():z.offset,x=z.currentType===1?z.endLoc:z.startLoc,L=i(2,S,x);L.items=[];let N=null,E=null;do{const U=N||g.nextToken();switch(N=null,U.type){case 0:U.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Gn(U)),L.items.push(a(g,U.value||""));break;case 6:U.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Gn(U)),L.items.push(u(g,U.value||""));break;case 4:E=!0;break;case 5:U.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Gn(U)),L.items.push(c(g,U.value||"",!!E)),E&&(s(g,nm.USE_MODULO_SYNTAX,z.lastStartLoc,0,Gn(U)),E=null);break;case 7:U.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,Gn(U)),L.items.push(d(g,U.value||""));break;case 8:{const B=h(g);L.items.push(B.node),N=B.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 l(L,F,G),L}function v(g,z,S,x){const L=g.context();let N=x.items.length===0;const E=i(1,z,S);E.cases=[],E.cases.push(x);do{const F=_(g);N||(N=F.items.length===0),E.cases.push(F)}while(L.currentType!==14);return N&&o(g,Le.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),l(E,g.currentOffset(),g.currentPosition()),E}function C(g){const z=g.context(),{offset:S,startLoc:x}=z,L=_(g);return z.currentType===14?L:v(g,S,x,L)}function w(g){const z=CS(g,Sy({},e)),S=z.context(),x=i(0,S.offset,S.startLoc);return t&&x.loc&&(x.loc.source=g),x.body=C(z),e.onCacheKey&&(x.cacheKey=e.onCacheKey(g)),S.currentType!==14&&o(z,Le.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,g[S.offset]||""),l(x,z.currentOffset(),z.currentPosition()),x}return{parse:w}}function Gn(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 ES(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Rf(e,t){for(let n=0;n<e.length;n++)rm(e[n],t)}function rm(e,t){switch(e.type){case 1:Rf(e.cases,t),t.helper("plural");break;case 2:Rf(e.items,t);break;case 6:{rm(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 TS(e,t={}){const n=ES(e);n.helper("normalize"),e.body&&rm(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function AS(e){const t=e.body;return t.type===2?Mf(t):t.cases.forEach(n=>Mf(n)),e}function Mf(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=xy(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 $S="minifier";function os(e){switch(e.t=e.type,e.type){case 0:{const t=e;os(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++)os(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++)os(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;os(t.key),t.k=t.key,delete t.key,t.modifier&&(os(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 Rs(Le.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:$S,args:[e.type]})}delete e.type}const OS="parser";function PS(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:s}=t,i=t.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:s,indentLevel:0};i&&e.loc&&(l.source=e.loc.source);const a=()=>l;function u(v,C){l.code+=v}function c(v,C=!0){const w=C?o:"";u(s?w+" ".repeat(v):w)}function d(v=!0){const C=++l.indentLevel;v&&c(C)}function f(v=!0){const C=--l.indentLevel;v&&c(C)}function p(){c(l.indentLevel)}return{context:a,push:u,indent:d,deindent:f,newline:p,helper:v=>`_${v}`,needIndent:()=>l.needIndent}}function IS(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),xs(e,t.key),t.modifier?(e.push(", "),xs(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function LS(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&&(xs(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function NS(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&&(xs(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function DS(e,t){t.body?xs(e,t.body):e.push("null")}function xs(e,t){const{helper:n}=e;switch(t.type){case 0:DS(e,t);break;case 1:NS(e,t);break;case 2:LS(e,t);break;case 6:IS(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 Rs(Le.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:OS,args:[t.type]})}}const RS=(e,t={})=>{const n=Nf(t.mode)?t.mode:"normal",r=Nf(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
||
`,i=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],a=PS(e,{mode:n,filename:r,sourceMap:o,breakLineCode:s,needIndent:i});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),l.length>0&&(a.push(`const { ${xy(l.map(d=>`${d}: _${d}`),", ")} } = ctx`),a.newline()),a.push("return "),xs(a,e),a.deindent(i),a.push("}"),delete e.helpers;const{code:u,map:c}=a.context();return{ast:e,code:u,map:c?c.toJSON():void 0}};function MS(e,t={}){const n=Sy({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,l=kS(n).parse(e);return r?(s&&AS(l),o&&os(l),{ast:l,code:""}):(TS(l,n),RS(l,n))}/*!
|
||
* core-base v9.14.2
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function FS(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(tm().__INTLIFY_PROD_DEVTOOLS__=!1)}const go=[];go[0]={w:[0],i:[3,0],"[":[4],o:[7]};go[1]={w:[1],".":[2],"[":[4],o:[7]};go[2]={w:[2],i:[3,0],0:[3,0]};go[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};go[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};go[5]={"'":[4,0],o:8,l:[5,0]};go[6]={'"':[4,0],o:8,l:[6,0]};const VS=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function HS(e){return VS.test(e)}function US(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 jS(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 WS(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:HS(t)?US(t):"*"+t}function BS(e){const t=[];let n=-1,r=0,o=0,s,i,l,a,u,c,d;const f=[];f[0]=()=>{i===void 0?i=l:i+=l},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=WS(i),i===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,l="\\"+h,f[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(a=jS(s),d=go[r],u=d[a]||d.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=f[u[1]],c&&(l=s,c()===!1))))return;if(r===7)return t}}const Ff=new Map;function qS(e,t){return rt(e)?e[t]:null}function GS(e,t){if(!rt(e))return null;let n=Ff.get(t);if(n||(n=BS(t),n&&Ff.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||Ot(o))return null;o=i,s++}return o}const KS=e=>e,ZS=e=>"",YS="text",XS=e=>e.length===0?"":aS(e),JS=iS;function Vf(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function QS(e){const t=Dt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Dt(e.named.count)||Dt(e.named.n))?Dt(e.named.count)?e.named.count:Dt(e.named.n)?e.named.n:t:t}function ex(e,t){t.count||(t.count=e),t.n||(t.n=e)}function tx(e={}){const t=e.locale,n=QS(e),r=rt(e.pluralRules)&&we(t)&&Ot(e.pluralRules[t])?e.pluralRules[t]:Vf,o=rt(e.pluralRules)&&we(t)&&Ot(e.pluralRules[t])?Vf:void 0,s=C=>C[r(n,C.length,o)],i=e.list||[],l=C=>i[C],a=e.named||ft();Dt(e.pluralIndex)&&ex(n,a);const u=C=>a[C];function c(C){const w=Ot(e.messages)?e.messages(C):rt(e.messages)?e.messages[C]:!1;return w||(e.parent?e.parent.message(C):ZS)}const d=C=>e.modifiers?e.modifiers[C]:KS,f=Qe(e.processor)&&Ot(e.processor.normalize)?e.processor.normalize:XS,p=Qe(e.processor)&&Ot(e.processor.interpolate)?e.processor.interpolate:JS,h=Qe(e.processor)&&we(e.processor.type)?e.processor.type:YS,v={list:l,named:u,plural:s,linked:(C,...w)=>{const[g,z]=w;let S="text",x="";w.length===1?rt(g)?(x=g.modifier||x,S=g.type||S):we(g)&&(x=g||x):w.length===2&&(we(g)&&(x=g||x),we(z)&&(S=z||S));const L=c(C)(v),N=S==="vnode"&&Ht(L)&&x?L[0]:L;return x?d(x)(N,S):N},message:c,type:h,interpolate:p,normalize:f,values:tn(ft(),i,a)};return v}let Ri=null;function nx(e){Ri=e}function rx(e,t,n){Ri&&Ri.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ox=sx("function:translate");function sx(e){return t=>Ri&&Ri.emit(e,t)}const ky=nm.__EXTEND_POINT__,bo=lu(ky),ix={NOT_FOUND_KEY:ky,FALLBACK_TO_TRANSLATE:bo(),CANNOT_FORMAT_NUMBER:bo(),FALLBACK_TO_NUMBER_FORMAT:bo(),CANNOT_FORMAT_DATE:bo(),FALLBACK_TO_DATE_FORMAT:bo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:bo(),__EXTEND_POINT__:bo()},Ey=Le.__EXTEND_POINT__,Co=lu(Ey),zr={INVALID_ARGUMENT:Ey,INVALID_DATE_ARGUMENT:Co(),INVALID_ISO_DATE_ARGUMENT:Co(),NOT_SUPPORT_NON_STRING_MESSAGE:Co(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Co(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Co(),NOT_SUPPORT_LOCALE_TYPE:Co(),__EXTEND_POINT__:Co()};function Ir(e){return Rs(e,null,void 0)}function om(e,t){return t.locale!=null?Hf(t.locale):Hf(e.locale)}let Wu;function Hf(e){if(we(e))return e;if(Ot(e)){if(e.resolvedOnce&&Wu!=null)return Wu;if(e.constructor.name==="Function"){const t=e();if(sS(t))throw Ir(zr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Wu=t}else throw Ir(zr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ir(zr.NOT_SUPPORT_LOCALE_TYPE)}function ax(e,t,n){return[...new Set([n,...Ht(t)?t:rt(t)?Object.keys(t):we(t)?[t]:[n]])]}function Ty(e,t,n){const r=we(n)?n:gl,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Ht(i);)i=Uf(s,i,t);const l=Ht(t)||!Qe(t)?t:t.default?t.default:null;i=we(l)?[l]:l,Ht(i)&&Uf(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Uf(e,t,n){let r=!0;for(let o=0;o<t.length&&xt(r);o++){const s=t[o];we(s)&&(r=lx(e,t[o],n))}return r}function lx(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=ux(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function ux(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),(Ht(n)||Qe(n))&&n[o]&&(r=n[o])}return r}const cx="9.14.2",uu=-1,gl="en-US",jf="",Wf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function dx(){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)?Wf(e):t==="vnode"&&rt(e)&&"__v_isVNode"in e?Wf(e.children):e}}let Ay;function mx(e){Ay=e}let $y;function fx(e){$y=e}let Oy;function px(e){Oy=e}let Py=null;const hx=e=>{Py=e},_x=()=>Py;let Iy=null;const Bf=e=>{Iy=e},gx=()=>Iy;let qf=0;function yx(e={}){const t=Ot(e.onWarn)?e.onWarn:lS,n=we(e.version)?e.version:cx,r=we(e.locale)||Ot(e.locale)?e.locale:gl,o=Ot(r)?gl:r,s=Ht(e.fallbackLocale)||Qe(e.fallbackLocale)||we(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Qe(e.messages)?e.messages:Bu(o),l=Qe(e.datetimeFormats)?e.datetimeFormats:Bu(o),a=Qe(e.numberFormats)?e.numberFormats:Bu(o),u=tn(ft(),e.modifiers,dx()),c=e.pluralRules||ft(),d=Ot(e.missing)?e.missing:null,f=xt(e.missingWarn)||hl(e.missingWarn)?e.missingWarn:!0,p=xt(e.fallbackWarn)||hl(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,_=!!e.unresolving,v=Ot(e.postTranslation)?e.postTranslation:null,C=Qe(e.processor)?e.processor:null,w=xt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter,z=Ot(e.messageCompiler)?e.messageCompiler:Ay,S=Ot(e.messageResolver)?e.messageResolver:$y||qS,x=Ot(e.localeFallbacker)?e.localeFallbacker:Oy||ax,L=rt(e.fallbackContext)?e.fallbackContext:void 0,N=e,E=rt(N.__datetimeFormatters)?N.__datetimeFormatters:new Map,F=rt(N.__numberFormatters)?N.__numberFormatters:new Map,G=rt(N.__meta)?N.__meta:{};qf++;const U={version:n,cid:qf,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:c,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:_,postTranslation:v,processor:C,warnHtmlMessage:w,escapeParameter:g,messageCompiler:z,messageResolver:S,localeFallbacker:x,fallbackContext:L,onWarn:t,__meta:G};return U.datetimeFormats=l,U.numberFormats=a,U.__datetimeFormatters=E,U.__numberFormatters=F,__INTLIFY_PROD_DEVTOOLS__&&rx(U,n,G),U}const Bu=e=>({[e]:ft()});function sm(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const l=s(e,n,t,o);return we(l)?l:t}else return t}function qs(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function zx(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function vx(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(zx(e,t[r]))return!0;return!1}function qu(e){return n=>bx(n,e)}function bx(e,t){const n=wx(t);if(n==null)throw Mi(0);if(im(n)===1){const s=xx(n);return e.plural(s.reduce((i,l)=>[...i,Gf(e,l)],[]))}else return Gf(e,n)}const Cx=["b","body"];function wx(e){return yo(e,Cx)}const Sx=["c","cases"];function xx(e){return yo(e,Sx,[])}function Gf(e,t){const n=Ex(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Ax(t).reduce((o,s)=>[...o,Yc(e,s)],[]);return e.normalize(r)}}const kx=["s","static"];function Ex(e){return yo(e,kx)}const Tx=["i","items"];function Ax(e){return yo(e,Tx,[])}function Yc(e,t){const n=im(t);switch(n){case 3:return ga(t,n);case 9:return ga(t,n);case 4:{const r=t;if(er(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(er(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Mi(n)}case 5:{const r=t;if(er(r,"i")&&Dt(r.i))return e.interpolate(e.list(r.i));if(er(r,"index")&&Dt(r.index))return e.interpolate(e.list(r.index));throw Mi(n)}case 6:{const r=t,o=Ix(r),s=Nx(r);return e.linked(Yc(e,s),o?Yc(e,o):void 0,e.type)}case 7:return ga(t,n);case 8:return ga(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const $x=["t","type"];function im(e){return yo(e,$x)}const Ox=["v","value"];function ga(e,t){const n=yo(e,Ox);if(n)return n;throw Mi(t)}const Px=["m","modifier"];function Ix(e){return yo(e,Px)}const Lx=["k","key"];function Nx(e){const t=yo(e,Lx);if(t)return t;throw Mi(6)}function yo(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(er(e,o)&&e[o]!=null)return e[o]}return n}function Mi(e){return new Error(`unhandled node type: ${e}`)}const Dx=e=>e;let ya=ft();function ks(e){return rt(e)&&im(e)===0&&(er(e,"b")||er(e,"body"))}function Rx(e,t={}){let n=!1;const r=t.onError||hS;return t.onError=o=>{n=!0,r(o)},{...MS(e,t),detectError:n}}function Mx(e,t){if(we(e)){xt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Dx)(e),o=ya[r];if(o)return o;const{ast:s,detectError:i}=Rx(e,{...t,location:!1,jit:!0}),l=qu(s);return i?l:ya[r]=l}else{const n=e.cacheKey;if(n){const r=ya[n];return r||(ya[n]=qu(e))}else return qu(e)}}const Kf=()=>"",Nn=e=>Ot(e);function Zf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:l}=e,[a,u]=Xc(...t),c=xt(u.missingWarn)?u.missingWarn:e.missingWarn,d=xt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,f=xt(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,h=we(u.default)||xt(u.default)?xt(u.default)?s?a:()=>a:u.default:n?s?a:()=>a:"",_=n||h!=="",v=om(e,u);f&&Fx(u);let[C,w,g]=p?[a,v,l[v]||ft()]:Ly(e,a,v,i,d,c),z=C,S=a;if(!p&&!(we(z)||ks(z)||Nn(z))&&_&&(z=h,S=z),!p&&(!(we(z)||ks(z)||Nn(z))||!we(w)))return o?uu:a;let x=!1;const L=()=>{x=!0},N=Nn(z)?z:Ny(e,a,w,z,S,L);if(x)return z;const E=Ux(e,w,g,u),F=tx(E),G=Vx(e,N,F),U=r?r(G,a):G;if(__INTLIFY_PROD_DEVTOOLS__){const B={timestamp:Date.now(),key:we(a)?a:Nn(z)?z.key:"",locale:w||(Nn(z)?z.locale:""),format:we(z)?z:Nn(z)?z.source:"",message:U};B.meta=tn({},e.__meta,_x()||{}),ox(B)}return U}function Fx(e){Ht(e.list)?e.list=e.list.map(t=>we(t)?Lf(t):t):rt(e.named)&&Object.keys(e.named).forEach(t=>{we(e.named[t])&&(e.named[t]=Lf(e.named[t]))})}function Ly(e,t,n,r,o,s){const{messages:i,onWarn:l,messageResolver:a,localeFallbacker:u}=e,c=u(e,r,n);let d=ft(),f,p=null;const h="translate";for(let _=0;_<c.length&&(f=c[_],d=i[f]||ft(),(p=a(d,t))===null&&(p=d[t]),!(we(p)||ks(p)||Nn(p)));_++)if(!vx(f,c)){const v=sm(e,t,f,s,h);v!==t&&(p=v)}return[p,f,d]}function Ny(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:l}=e;if(Nn(r)){const u=r;return u.locale=u.locale||n,u.key=u.key||t,u}if(i==null){const u=()=>r;return u.locale=n,u.key=t,u}const a=i(r,Hx(e,n,o,r,l,s));return a.locale=n,a.key=t,a.source=r,a}function Vx(e,t,n){return t(n)}function Xc(...e){const[t,n,r]=e,o=ft();if(!we(t)&&!Dt(t)&&!Nn(t)&&!ks(t))throw Ir(zr.INVALID_ARGUMENT);const s=Dt(t)?String(t):(Nn(t),t);return Dt(n)?o.plural=n:we(n)?o.default=n:Qe(n)&&!au(n)?o.named=n:Ht(n)&&(o.list=n),Dt(r)?o.plural=r:we(r)?o.default=r:Qe(r)&&tn(o,r),[s,o]}function Hx(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>eS(t,n,i)}}function Ux(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:l,fallbackWarn:a,missingWarn:u,fallbackContext:c}=e,f={locale:t,modifiers:o,pluralRules:s,messages:p=>{let h=i(n,p);if(h==null&&c){const[,,_]=Ly(c,p,t,l,a,u);h=i(_,p)}if(we(h)||ks(h)){let _=!1;const C=Ny(e,p,t,h,p,()=>{_=!0});return _?Kf:C}else return Nn(h)?h:Kf}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),Dt(r.plural)&&(f.pluralIndex=r.plural),f}function Yf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:l}=e,[a,u,c,d]=Jc(...t),f=xt(c.missingWarn)?c.missingWarn:e.missingWarn;xt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const p=!!c.part,h=om(e,c),_=i(e,o,h);if(!we(a)||a==="")return new Intl.DateTimeFormat(h,d).format(u);let v={},C,w=null;const g="datetime format";for(let x=0;x<_.length&&(C=_[x],v=n[C]||{},w=v[a],!Qe(w));x++)sm(e,a,C,f,g);if(!Qe(w)||!we(C))return r?uu:a;let z=`${C}__${a}`;au(d)||(z=`${z}__${JSON.stringify(d)}`);let S=l.get(z);return S||(S=new Intl.DateTimeFormat(C,tn({},w,d)),l.set(z,S)),p?S.formatToParts(u):S.format(u)}const Dy=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Jc(...e){const[t,n,r,o]=e,s=ft();let i=ft(),l;if(we(t)){const a=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw Ir(zr.INVALID_ISO_DATE_ARGUMENT);const u=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();l=new Date(u);try{l.toISOString()}catch{throw Ir(zr.INVALID_ISO_DATE_ARGUMENT)}}else if(nS(t)){if(isNaN(t.getTime()))throw Ir(zr.INVALID_DATE_ARGUMENT);l=t}else if(Dt(t))l=t;else throw Ir(zr.INVALID_ARGUMENT);return we(n)?s.key=n:Qe(n)&&Object.keys(n).forEach(a=>{Dy.includes(a)?i[a]=n[a]:s[a]=n[a]}),we(r)?s.locale=r:Qe(r)&&(i=r),Qe(o)&&(i=o),[s.key||"",l,s,i]}function Xf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Jf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:l}=e,[a,u,c,d]=Qc(...t),f=xt(c.missingWarn)?c.missingWarn:e.missingWarn;xt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const p=!!c.part,h=om(e,c),_=i(e,o,h);if(!we(a)||a==="")return new Intl.NumberFormat(h,d).format(u);let v={},C,w=null;const g="number format";for(let x=0;x<_.length&&(C=_[x],v=n[C]||{},w=v[a],!Qe(w));x++)sm(e,a,C,f,g);if(!Qe(w)||!we(C))return r?uu:a;let z=`${C}__${a}`;au(d)||(z=`${z}__${JSON.stringify(d)}`);let S=l.get(z);return S||(S=new Intl.NumberFormat(C,tn({},w,d)),l.set(z,S)),p?S.formatToParts(u):S.format(u)}const Ry=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Qc(...e){const[t,n,r,o]=e,s=ft();let i=ft();if(!Dt(t))throw Ir(zr.INVALID_ARGUMENT);const l=t;return we(n)?s.key=n:Qe(n)&&Object.keys(n).forEach(a=>{Ry.includes(a)?i[a]=n[a]:s[a]=n[a]}),we(r)?s.locale=r:Qe(r)&&(i=r),Qe(o)&&(i=o),[s.key||"",l,s,i]}function Qf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}FS();/*!
|
||
* vue-i18n v9.14.2
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const jx="9.14.2";function Wx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(tm().__INTLIFY_PROD_DEVTOOLS__=!1)}const My=ix.__EXTEND_POINT__,Er=lu(My);Er(),Er(),Er(),Er(),Er(),Er(),Er(),Er(),Er();const Fy=zr.__EXTEND_POINT__,mn=lu(Fy),jn={UNEXPECTED_RETURN_TYPE:Fy,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 or(e,...t){return Rs(e,null,void 0)}const ed=_o("__translateVNode"),td=_o("__datetimeParts"),nd=_o("__numberParts"),Bx=_o("__setPluralRules"),qx=_o("__injectWithOption"),rd=_o("__dispose");function Fi(e){if(!rt(e))return e;for(const t in e)if(er(e,t))if(!t.includes("."))rt(e[t])&&Fi(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]]=ft()),!rt(o[n[i]])){s=!0;break}o=o[n[i]]}s||(o[n[r]]=e[t],delete e[t]),rt(o[n[r]])&&Fi(o[n[r]])}return e}function Vy(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Qe(n)?n:Ht(r)?ft():{[e]:ft()};if(Ht(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:u}=l;a?(i[a]=i[a]||ft(),Ha(u,i[a])):Ha(u,i)}else we(l)&&Ha(JSON.parse(l),i)}),o==null&&s)for(const l in i)er(i,l)&&Fi(i[l]);return i}function Hy(e){return e.type}function Gx(e,t,n){let r=rt(t.messages)?t.messages:ft();"__i18nGlobal"in n&&(r=Vy(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 ep(e){return b(Lr,null,e,0)}const tp="__INTLIFY_META__",np=()=>[],Kx=()=>!1;let rp=0;function op(e){return(t,n,r,o)=>e(n,r,cn()||void 0,o)}const Zx=()=>{const e=cn();let t=null;return e&&(t=Hy(e)[tp])?{[tp]:t}:null};function Uy(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,i=pl?Fn:Wl,l=!!e.translateExistCompatible;let a=xt(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&a?n.locale.value:we(e.locale)?e.locale:gl),c=i(n&&a?n.fallbackLocale.value:we(e.fallbackLocale)||Ht(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),d=i(Vy(u.value,e)),f=i(Qe(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),p=i(Qe(e.numberFormats)?e.numberFormats:{[u.value]:{}});let h=n?n.missingWarn:xt(e.missingWarn)||hl(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:xt(e.fallbackWarn)||hl(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:xt(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,w=Ot(e.missing)?e.missing:null,g=Ot(e.missing)?op(e.missing):null,z=Ot(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:xt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const L=n?n.modifiers:Qe(e.modifiers)?e.modifiers:{};let N=e.pluralRules||n&&n.pluralRules,E;E=(()=>{o&&Bf(null);const V={version:jx,locale:u.value,fallbackLocale:c.value,messages:d.value,modifiers:L,pluralRules:N,missing:g===null?void 0:g,missingWarn:h,fallbackWarn:_,fallbackFormat:C,unresolving:!0,postTranslation:z===null?void 0:z,warnHtmlMessage:S,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};V.datetimeFormats=f.value,V.numberFormats=p.value,V.__datetimeFormatters=Qe(E)?E.__datetimeFormatters:void 0,V.__numberFormatters=Qe(E)?E.__numberFormatters:void 0;const Y=yx(V);return o&&Bf(Y),Y})(),qs(E,u.value,c.value);function G(){return[u.value,c.value,d.value,f.value,p.value]}const U=Ut({get:()=>u.value,set:V=>{u.value=V,E.locale=u.value}}),B=Ut({get:()=>c.value,set:V=>{c.value=V,E.fallbackLocale=c.value,qs(E,u.value,V)}}),Q=Ut(()=>d.value),fe=Ut(()=>f.value),K=Ut(()=>p.value);function te(){return Ot(z)?z:null}function ue(V){z=V,E.postTranslation=V}function Ne(){return w}function it(V){V!==null&&(g=op(V)),w=V,E.missing=g}const Ve=(V,Y,Se,M,H,q)=>{G();let ne;try{__INTLIFY_PROD_DEVTOOLS__,o||(E.fallbackContext=n?gx():void 0),ne=V(E)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(E.fallbackContext=void 0)}if(Se!=="translate exists"&&Dt(ne)&&ne===uu||Se==="translate exists"&&!ne){const[_e,Ee]=Y();return n&&v?M(n):H(_e)}else{if(q(ne))return ne;throw or(jn.UNEXPECTED_RETURN_TYPE)}};function He(...V){return Ve(Y=>Reflect.apply(Zf,null,[Y,...V]),()=>Xc(...V),"translate",Y=>Reflect.apply(Y.t,Y,[...V]),Y=>Y,Y=>we(Y))}function at(...V){const[Y,Se,M]=V;if(M&&!rt(M))throw or(jn.INVALID_ARGUMENT);return He(Y,Se,tn({resolvedMessage:!0},M||{}))}function lt(...V){return Ve(Y=>Reflect.apply(Yf,null,[Y,...V]),()=>Jc(...V),"datetime format",Y=>Reflect.apply(Y.d,Y,[...V]),()=>jf,Y=>we(Y))}function dt(...V){return Ve(Y=>Reflect.apply(Jf,null,[Y,...V]),()=>Qc(...V),"number format",Y=>Reflect.apply(Y.n,Y,[...V]),()=>jf,Y=>we(Y))}function Be(V){return V.map(Y=>we(Y)||Dt(Y)||xt(Y)?ep(String(Y)):Y)}const me={normalize:Be,interpolate:V=>V,type:"vnode"};function ce(...V){return Ve(Y=>{let Se;const M=Y;try{M.processor=me,Se=Reflect.apply(Zf,null,[M,...V])}finally{M.processor=null}return Se},()=>Xc(...V),"translate",Y=>Y[ed](...V),Y=>[ep(Y)],Y=>Ht(Y))}function ye(...V){return Ve(Y=>Reflect.apply(Jf,null,[Y,...V]),()=>Qc(...V),"number format",Y=>Y[nd](...V),np,Y=>we(Y)||Ht(Y))}function Ue(...V){return Ve(Y=>Reflect.apply(Yf,null,[Y,...V]),()=>Jc(...V),"datetime format",Y=>Y[td](...V),np,Y=>we(Y)||Ht(Y))}function Ge(V){N=V,E.pluralRules=N}function O(V,Y){return Ve(()=>{if(!V)return!1;const Se=we(Y)?Y:u.value,M=ee(Se),H=E.messageResolver(M,V);return l?H!=null:ks(H)||Nn(H)||we(H)},()=>[V],"translate exists",Se=>Reflect.apply(Se.te,Se,[V,Y]),Kx,Se=>xt(Se))}function I(V){let Y=null;const Se=Ty(E,c.value,u.value);for(let M=0;M<Se.length;M++){const H=d.value[Se[M]]||{},q=E.messageResolver(H,V);if(q!=null){Y=q;break}}return Y}function j(V){const Y=I(V);return Y??(n?n.tm(V)||{}:{})}function ee(V){return d.value[V]||{}}function X(V,Y){if(s){const Se={[V]:Y};for(const M in Se)er(Se,M)&&Fi(Se[M]);Y=Se[V]}d.value[V]=Y,E.messages=d.value}function se(V,Y){d.value[V]=d.value[V]||{};const Se={[V]:Y};if(s)for(const M in Se)er(Se,M)&&Fi(Se[M]);Y=Se[V],Ha(Y,d.value[V]),E.messages=d.value}function pe(V){return f.value[V]||{}}function k(V,Y){f.value[V]=Y,E.datetimeFormats=f.value,Xf(E,V,Y)}function $(V,Y){f.value[V]=tn(f.value[V]||{},Y),E.datetimeFormats=f.value,Xf(E,V,Y)}function R(V){return p.value[V]||{}}function re(V,Y){p.value[V]=Y,E.numberFormats=p.value,Qf(E,V,Y)}function le(V,Y){p.value[V]=tn(p.value[V]||{},Y),E.numberFormats=p.value,Qf(E,V,Y)}rp++,n&&pl&&(Tn(n.locale,V=>{a&&(u.value=V,E.locale=V,qs(E,u.value,c.value))}),Tn(n.fallbackLocale,V=>{a&&(c.value=V,E.fallbackLocale=V,qs(E,u.value,c.value))}));const oe={id:rp,locale:U,fallbackLocale:B,get inheritLocale(){return a},set inheritLocale(V){a=V,V&&n&&(u.value=n.locale.value,c.value=n.fallbackLocale.value,qs(E,u.value,c.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:Q,get modifiers(){return L},get pluralRules(){return N||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn(V){h=V,E.missingWarn=h},get fallbackWarn(){return _},set fallbackWarn(V){_=V,E.fallbackWarn=_},get fallbackRoot(){return v},set fallbackRoot(V){v=V},get fallbackFormat(){return C},set fallbackFormat(V){C=V,E.fallbackFormat=C},get warnHtmlMessage(){return S},set warnHtmlMessage(V){S=V,E.warnHtmlMessage=V},get escapeParameter(){return x},set escapeParameter(V){x=V,E.escapeParameter=V},t:He,getLocaleMessage:ee,setLocaleMessage:X,mergeLocaleMessage:se,getPostTranslationHandler:te,setPostTranslationHandler:ue,getMissingHandler:Ne,setMissingHandler:it,[Bx]:Ge};return oe.datetimeFormats=fe,oe.numberFormats=K,oe.rt=at,oe.te=O,oe.tm=j,oe.d=lt,oe.n=dt,oe.getDateTimeFormat=pe,oe.setDateTimeFormat=k,oe.mergeDateTimeFormat=$,oe.getNumberFormat=R,oe.setNumberFormat=re,oe.mergeNumberFormat=le,oe[qx]=r,oe[ed]=ce,oe[td]=Ue,oe[nd]=ye,oe}const am={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Yx({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},ft())}function jy(e){return ze}const Xx=Fr({name:"i18n-t",props:tn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Dt(e)||!isNaN(e)}},am),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||lm({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(d=>d!=="_"),i=ft();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=we(e.plural)?+e.plural:e.plural);const l=Yx(t,s),a=o[ed](e.keypath,l,i),u=tn(ft(),r),c=we(e.tag)||rt(e.tag)?e.tag:jy();return yr(c,u,a)}}}),sp=Xx;function Jx(e){return Ht(e)&&!we(e[0])}function Wy(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i={part:!0};let l=ft();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),l=Object.keys(e.format).reduce((f,p)=>n.includes(p)?tn(ft(),f,{[p]:e.format[p]}):f,ft()));const a=r(e.value,i,l);let u=[i.key];Ht(a)?u=a.map((f,p)=>{const h=o[f.type],_=h?h({[f.type]:f.value,index:p,parts:a}):[f.value];return Jx(_)&&(_[0].key=`${f.type}-${p}`),_}):we(a)&&(u=[a]);const c=tn(ft(),s),d=we(e.tag)||rt(e.tag)?e.tag:jy();return yr(d,c,u)}}const Qx=Fr({name:"i18n-n",props:tn({value:{type:Number,required:!0},format:{type:[String,Object]}},am),setup(e,t){const n=e.i18n||lm({useScope:e.scope,__useComponent:!0});return Wy(e,t,Ry,(...r)=>n[nd](...r))}}),ip=Qx,ek=Fr({name:"i18n-d",props:tn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},am),setup(e,t){const n=e.i18n||lm({useScope:e.scope,__useComponent:!0});return Wy(e,t,Dy,(...r)=>n[td](...r))}}),ap=ek;function tk(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 nk(e){const t=i=>{const{instance:l,modifiers:a,value:u}=i;if(!l||!l.$)throw or(jn.UNEXPECTED_ERROR);const c=tk(e,l.$),d=lp(u);return[Reflect.apply(c.t,c,[...up(d)]),c]};return{created:(i,l)=>{const[a,u]=t(l);pl&&e.global===u&&(i.__i18nWatcher=Tn(u.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=u,i.textContent=a},unmounted:i=>{pl&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const a=i.__composer,u=lp(l);i.textContent=Reflect.apply(a.t,a,[...up(u)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function lp(e){if(we(e))return{path:e};if(Qe(e)){if(!("path"in e))throw or(jn.REQUIRED_VALUE,"path");return e}else throw or(jn.INVALID_VALUE)}function up(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},l=r||{};return we(n)&&(i.locale=n),Dt(o)&&(i.plural=o),Dt(s)&&(i.plural=s),[t,l,i]}function rk(e,t,...n){const r=Qe(n[0])?n[0]:{},o=!!r.useI18nComponentName;(xt(r.globalInstall)?r.globalInstall:!0)&&([o?"i18n":sp.name,"I18nT"].forEach(i=>e.component(i,sp)),[ip.name,"I18nN"].forEach(i=>e.component(i,ip)),[ap.name,"I18nD"].forEach(i=>e.component(i,ap))),e.directive("t",nk(t))}const ok=_o("global-vue-i18n");function sk(e={},t){const n=xt(e.globalInjection)?e.globalInjection:!0,r=!0,o=new Map,[s,i]=ik(e),l=_o("");function a(d){return o.get(d)||null}function u(d,f){o.set(d,f)}function c(d){o.delete(d)}{const d={get mode(){return"composition"},get allowComposition(){return r},async install(f,...p){if(f.__VUE_I18N_SYMBOL__=l,f.provide(f.__VUE_I18N_SYMBOL__,d),Qe(p[0])){const v=p[0];d.__composerExtend=v.__composerExtend,d.__vueI18nExtend=v.__vueI18nExtend}let h=null;n&&(h=pk(f,d.global)),rk(f,d,...p);const _=f.unmount;f.unmount=()=>{h&&h(),d.dispose(),_()}},get global(){return i},dispose(){s.stop()},__instances:o,__getInstance:a,__setInstance:u,__deleteInstance:c};return d}}function lm(e={}){const t=cn();if(t==null)throw or(jn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw or(jn.NOT_INSTALLED);const n=ak(t),r=uk(n),o=Hy(t),s=lk(e,o);if(s==="global")return Gx(r,e,o),r;if(s==="parent"){let a=ck(n,t,e.__useComponent);return a==null&&(a=r),a}const i=n;let l=i.__getInstance(t);if(l==null){const a=tn({},e);"__i18n"in o&&(a.__i18n=o.__i18n),r&&(a.__root=r),l=Uy(a),i.__composerExtend&&(l[rd]=i.__composerExtend(l)),mk(i,t,l),i.__setInstance(t,l)}return l}function ik(e,t,n){const r=Rl();{const o=r.run(()=>Uy(e));if(o==null)throw or(jn.UNEXPECTED_ERROR);return[r,o]}}function ak(e){{const t=Vn(e.isCE?ok:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw or(e.isCE?jn.NOT_INSTALLED_WITH_PROVIDE:jn.UNEXPECTED_ERROR);return t}}function lk(e,t){return au(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function uk(e){return e.mode==="composition"?e.global:e.global.__composer}function ck(e,t,n=!1){let r=null;const o=t.root;let s=dk(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 dk(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function mk(e,t,n){Ls(()=>{},t),Gi(()=>{const r=n;e.__deleteInstance(t);const o=r[rd];o&&(o(),delete r[rd])},t)}const fk=["locale","fallbackLocale","availableLocales"],cp=["t","rt","d","n","tm","te"];function pk(e,t){const n=Object.create(null);return fk.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw or(jn.UNEXPECTED_ERROR);const i=bt(s.value)?{get(){return s.value.value},set(l){s.value.value=l}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,cp.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw or(jn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,cp.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Wx();mx(Mx);fx(GS);px(Ty);if(__INTLIFY_PROD_DEVTOOLS__){const e=tm();e.__INTLIFY__=!0,nx(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Gu=e=>e&&typeof e=="object"&&!Array.isArray(e),od=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Gu(e)&&Gu(n))for(const r in n)Gu(n[r])?(e[r]||Object.assign(e,{[r]:{}}),od(e[r],n[r])):Object.assign(e,{[r]:n[r]});return od(e,...t)},hk=od({},{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"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"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"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange"])}},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. 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"])}}},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"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"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"])},save:e=>{const{normalize:t}=e;return t(["Save"])},title:e=>{const{normalize:t}=e;return t(["Queue"])}},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. 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"])}}},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(["L’ajout d’un podcast inclut la création d’une liste de lecture RSS, qui permettra à OwnTone de gérer l’abonnement au podcast."])},placeholder: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 l’album"])},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 d’attente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},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 l’album"])},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 l’album"])},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 l’album"])},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 d’un 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"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"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 n’apparaissent 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 n’apparaissent 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 n’apparaî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 n’apparaissent 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 n’apparaissent 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 d’attente 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 l’historique"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])},title:e=>{const{normalize:t}=e;return t(["File d’attente"])}},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 l’album"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’artiste"]),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 d’illustrations suivants :"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Afficher les illustrations dans la liste d’albums"])},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 qu’elle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage d’enceinte et vérification d’appareil"])},"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 d’albums 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 l’un des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont l’étiquette de genre est "classique contemporain" sera affiché.'])},"show-composer-genres":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 d’utilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom d’utilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session n’expire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["L’option Last.fm n’est pas présente."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["L’option Spotify n’est 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. L’accès à l’API de Spotify permet l’analyse de votre bibliothèque Spotify. Les champs d’application 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 l’accès à l’API"])},"grant-access":e=>{const{normalize:t}=e;return t(["Accordez l’accès à l’API de Spotify"])},reauthorize:e=>{const{normalize:t}=e;return t(["Veuillez autoriser à nouveau l’accès à l’API pour accorder à OwnTone les droits d’accè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 d’utilisateur"])}},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 l’album"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’artiste"]),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 l’historique"])},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 l’ordre"])},"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"])}}},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 d’attente 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 d’attente"]),t([n(r("count"))," pistes ajoutées à la file d’attente"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["La file d’attente est vide"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Aujourd’hui"])},"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(["更多"])},name: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(["隐藏历史"])},save:e=>{const{normalize:t}=e;return t(["保存"])},title: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付费帐户。访问 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(["显示/隐藏歌词"])}}},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(["更多"])},name: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(["隱藏歷史"])},save:e=>{const{normalize:t}=e;return t(["儲存"])},title: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付費帳戶。訪問 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(["顯示/隱藏歌詞"])}}},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"))," 信道"])])}}}}),cu=sk({availableLocales:"zh-TW",fallbackLocale:"en",fallbackWarn:!1,legacy:!1,locale:navigator.language,messages:hk,missingWarn:!1}),gr=qn("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=qn("PlayerStore",{state:()=>({consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,repeat:"off",shuffle:!1,state:"stop",volume:0})}),sr=qn("QueueStore",{state:()=>({count:0,items:[],version:0}),getters:{current(e){const t=On();return e.items.find(n=>n.id===t.item_id)??{}}}}),{t:ss}=cu.global;de.interceptors.response.use(e=>e,e=>(e.request.status&&e.request.responseURL&&gr().add({text:ss("server.request-failed",{cause:e.request.statusText,status:e.request.status,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)));const W={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=>(gr().add({text:ss("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_add_next(e){let t=0;const{current:n}=sr();return n!=null&&n.id&&(t=n.position+1),de.post(`./api/queue/items/add?uris=${e}&position=${t}`).then(r=>(gr().add({text:ss("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=>(gr().add({text:ss("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}=sr();return n!=null&&n.id&&(t.position=n.position+1),de.post("./api/queue/items/add",null,{params:t}).then(r=>(gr().add({text:ss("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=>(gr().add({text:ss("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")}},_k={name:"ModalDialogRemotePairing",components:{BaseModal:qt},props:{show:Boolean},emits:["close"],setup(){return{remoteStore:Yd()}},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(){W.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},gk=["textContent"],yk=["textContent"],zk={class:"field"},vk={class:"control"},bk=["placeholder"],Ck=["textContent"],wk=["textContent"];function Sk(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[4]||(t[4]=a=>e.$emit("close"))},{content:P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("dialog.remote-pairing.title"))},null,8,gk),m("form",{onSubmit:t[1]||(t[1]=wt((...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a),["prevent"]))},[m("label",{class:"label",textContent:y(s.pairing.remote)},null,8,yk),m("div",zk,[m("div",vk,[Bt(m("input",{ref:"pin_field","onUpdate:modelValue":t[0]||(t[0]=a=>o.pairing_req.pin=a),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,bk),[[bn,o.pairing_req.pin]])])])],32)]),footer:P(()=>[m("a",{class:"card-footer-item has-text-danger",onClick:t[2]||(t[2]=a=>e.$emit("close"))},[b(i,{class:"icon",name:"cancel",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.remote-pairing.cancel"))},null,8,Ck)]),m("a",{class:"card-footer-item",onClick:t[3]||(t[3]=(...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a))},[b(i,{class:"icon",name:"cellphone",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.remote-pairing.pair"))},null,8,wk)])]),_:1},8,["show"])}const xk=ae(_k,[["render",Sk]]),kk={name:"ControlSwitch",props:{modelValue:Boolean},emits:["update:modelValue"]},Ek={class:"field"},Tk={class:"toggle"},Ak={class:"control is-flex is-align-content-center"},$k=["checked"],Ok={key:0,class:"help notification"};function Pk(e,t,n,r,o,s){return A(),D("div",Ek,[m("label",Tk,[m("div",Ak,[m("input",{checked:n.modelValue,type:"checkbox",class:"toggle-checkbox",onChange:t[0]||(t[0]=i=>e.$emit("update:modelValue",!n.modelValue))},null,40,$k),t[1]||(t[1]=m("div",{class:"toggle-switch"},null,-1)),mt(e.$slots,"label",{},void 0,!0),mt(e.$slots,"info",{},void 0,!0)])]),e.$slots.help?(A(),D("p",Ok,[mt(e.$slots,"help",{},void 0,!0)])):ie("",!0)])}const jo=ae(kk,[["render",Pk],["__scopeId","data-v-4eeaf528"]]),Ik={name:"ModalDialog",components:{BaseModal:qt},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"],watch:{show(){const{classList:e}=document.querySelector("html");this.show?e.add("is-clipped"):e.remove("is-clipped")}}},Lk=["textContent"],Nk=["textContent"],Dk=["textContent"],Rk=["textContent"];function Mk(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[3]||(t[3]=a=>e.$emit("close"))},{content:P(()=>[n.title?(A(),D("p",{key:0,class:"title is-4",textContent:y(n.title)},null,8,Lk)):ie("",!0),mt(e.$slots,"modal-content")]),footer:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[0]||(t[0]=a=>e.$emit("close"))},[b(i,{class:"icon",name:"cancel",size:"16"}),m("span",{class:"is-size-7",textContent:y(n.close_action)},null,8,Nk)]),n.delete_action?(A(),D("a",{key:0,class:"card-footer-item has-background-danger",onClick:t[1]||(t[1]=a=>e.$emit("delete"))},[b(i,{class:"icon",name:"delete",size:"16"}),m("span",{class:"is-size-7",textContent:y(n.delete_action)},null,8,Dk)])):ie("",!0),n.ok_action?(A(),D("a",{key:1,class:"card-footer-item",onClick:t[2]||(t[2]=a=>e.$emit("ok"))},[b(i,{class:"icon",name:"check",size:"16"}),m("span",{class:"is-size-7",textContent:y(n.ok_action)},null,8,Rk)])):ie("",!0)]),_:3},8,["show"])}const um=ae(Ik,[["render",Mk]]),du=qn("LibraryStore",{state:()=>({albums:0,artists:0,db_playtime:0,songs:0,rss:{},started_at:"01",updated_at:"01",update_dialog_scan_kind:"",updating:!1})}),Pt=qn("ServicesStore",{state:()=>({lastfm:{},spotify:{}})}),Fk={name:"ModalDialogUpdate",components:{ControlSwitch:jo,ModalDialog:um},props:{show:Boolean},emits:["close"],setup(){return{libraryStore:du(),servicesStore:Pt()}},data(){return{rescan_metadata:!1}},computed:{rss(){return this.libraryStore.rss},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}},methods:{close(){this.libraryStore.update_dialog_scan_kind="",this.$emit("close")},update_library(){this.rescan_metadata?W.library_rescan(this.libraryStore.update_dialog_scan_kind):W.library_update(this.libraryStore.update_dialog_scan_kind)}}},Vk={key:0},Hk={key:0,class:"field"},Uk=["textContent"],jk={class:"control"},Wk={class:"select is-small"},Bk=["textContent"],qk=["textContent"],Gk=["textContent"],Kk=["textContent"],Zk=["textContent"],Yk={key:1},Xk=["textContent"];function Jk(e,t,n,r,o,s){const i=T("control-switch"),l=T("modal-dialog");return A(),ve(l,{show:n.show,title:e.$t("dialog.update.title"),ok_action:r.libraryStore.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":P(()=>[r.libraryStore.updating?(A(),D("div",Yk,[m("p",{class:"mb-3",textContent:y(e.$t("dialog.update.progress"))},null,8,Xk)])):(A(),D("div",Vk,[s.spotify_enabled||s.rss.tracks>0?(A(),D("div",Hk,[m("label",{class:"label",textContent:y(e.$t("dialog.update.info"))},null,8,Uk),m("div",jk,[m("div",Wk,[Bt(m("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>r.libraryStore.update_dialog_scan_kind=a)},[m("option",{value:"",textContent:y(e.$t("dialog.update.all"))},null,8,Bk),m("option",{value:"files",textContent:y(e.$t("dialog.update.local"))},null,8,qk),s.spotify_enabled?(A(),D("option",{key:0,value:"spotify",textContent:y(e.$t("dialog.update.spotify"))},null,8,Gk)):ie("",!0),s.rss.tracks>0?(A(),D("option",{key:1,value:"rss",textContent:y(e.$t("dialog.update.feeds"))},null,8,Kk)):ie("",!0)],512),[[Zd,r.libraryStore.update_dialog_scan_kind]])])])])):ie("",!0),b(i,{modelValue:o.rescan_metadata,"onUpdate:modelValue":t[1]||(t[1]=a=>o.rescan_metadata=a)},{label:P(()=>[m("span",{textContent:y(e.$t("dialog.update.rescan-metadata"))},null,8,Zk)]),_:1},8,["modelValue"])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const Qk=ae(Fk,[["render",Jk]]),wn=qn("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})}),eE={name:"ControlLink",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)}}},tE=["href"];function nE(e,t,n,r,o,s){return A(),D("a",{href:s.href,onClick:t[0]||(t[0]=wt((...i)=>s.open&&s.open(...i),["stop","prevent"]))},[mt(e.$slots,"default")],8,tE)}const By=ae(eE,[["render",nE]]),rE={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}}},oE=["value","disabled","max"];function sE(e,t,n,r,o,s){return A(),D("input",{value:n.value,disabled:n.disabled,class:Te(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:fo({"--ratio":s.ratio,"--cursor":e.$filters.cursor(n.cursor)}),onInput:t[0]||(t[0]=i=>e.$emit("update:value",i.target.valueAsNumber))},null,46,oE)}const mu=ae(rE,[["render",sE],["__scopeId","data-v-041bfbfa"]]);var iE="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",aE="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",lE="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",uE="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",cE="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",dE="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",mE="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",fE="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",Ji="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",pE="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",hE="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",_E="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",gE="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",yE="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",zE="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",vE="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",bE="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",CE="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",wE="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",SE="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",xE="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",kE="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",EE="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",TE="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",AE="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",$E="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",OE="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",PE="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",IE="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",LE="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",NE="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",DE="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",RE="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",ME="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",FE="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",VE="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",HE="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",UE="M14,19H18V5H14M6,19H10V5H6V19Z",jE="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",WE="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",BE="M8,5.14V19.14L19,12.14L8,5.14Z",qE="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",GE="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",KE="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",ZE="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",YE="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",XE="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",JE="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",QE="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",e2="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",t2="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",n2="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",r2="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",o2="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",s2="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",i2="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",a2="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",l2="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",u2="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",c2="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",d2="M18,18H6V6H18V18Z",m2="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",f2="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",p2="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 h2={name:"ControlVolume",components:{ControlSlider:mu},setup(){return{player:On()}},data(){return{cursor:Ji,old_volume:0}},computed:{icon(){return this.player.volume>0?"volume-high":"volume-off"}},watch:{"player.volume"(){this.player.volume>0&&(this.old_volume=this.player.volume)}},methods:{changeVolume(e){W.player_volume(this.player.volume)},toggle(){this.player.volume=this.player.volume>0?0:this.old_volume,this.changeVolume()}}},_2={class:"media is-align-items-center mb-0"},g2={class:"media-left"},y2={class:"media-content"},z2=["textContent"];function v2(e,t,n,r,o,s){const i=T("mdicon"),l=T("control-slider");return A(),D("div",_2,[m("div",g2,[m("a",{class:"button is-small",onClick:t[0]||(t[0]=(...a)=>s.toggle&&s.toggle(...a))},[b(i,{class:"icon",name:s.icon},null,8,["name"])])]),m("div",y2,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("navigation.volume"))},null,8,z2),b(l,{value:r.player.volume,"onUpdate:value":t[1]||(t[1]=a=>r.player.volume=a),cursor:o.cursor,max:100,onChange:s.changeVolume},null,8,["value","cursor","onChange"])])])}const b2=ae(h2,[["render",v2]]),C2={name:"ControlOutputVolume",components:{ControlSlider:mu},props:{output:{required:!0,type:Object}},data(){return{cursor:Ji,volume:this.output.selected?this.output.volume:0}},computed:{icon(){return this.output.type.startsWith("AirPlay")?"cast-variant":this.output.type==="Chromecast"?"cast":this.output.type==="fifo"?"pipe":"server"}},watch:{output(){this.volume=this.output.volume}},methods:{changeVolume(){W.player_output_volume(this.output.id,this.volume)},toggle(){const e={selected:!this.output.selected};W.output_update(this.output.id,e)}}},w2={class:"media is-align-items-center mb-0"},S2={class:"media-left"},x2={class:"media-content"},k2=["textContent"];function E2(e,t,n,r,o,s){const i=T("mdicon"),l=T("control-slider");return A(),D("div",w2,[m("div",S2,[m("a",{class:Te(["button is-small",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...a)=>s.toggle&&s.toggle(...a))},[b(i,{class:"icon",name:s.icon,title:n.output.type},null,8,["name","title"])],2)]),m("div",x2,[m("div",{class:Te(["is-size-7 is-uppercase",{"has-text-grey-light":!n.output.selected}]),textContent:y(n.output.name)},null,10,k2),b(l,{value:o.volume,"onUpdate:value":t[1]||(t[1]=a=>o.volume=a),disabled:!n.output.selected,max:100,cursor:o.cursor,onChange:s.changeVolume},null,8,["value","disabled","cursor","onChange"])])])}const T2=ae(C2,[["render",E2]]),A2={name:"ControlPlayerBack",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:On(),queueStore:sr()}},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||W.player_seek(this.offset*-1)}}},$2=["disabled"];function O2(e,t,n,r,o,s){const i=T("mdicon");return s.visible?(A(),D("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...l)=>s.seek&&s.seek(...l))},[b(i,{class:"icon",name:"rewind-10",title:e.$t("player.button.seek-backward")},null,8,["title"])],8,$2)):ie("",!0)}const P2=ae(A2,[["render",O2]]),I2={name:"ControlPlayerConsume",setup(){return{playerStore:On()}},computed:{is_consume(){return this.playerStore.consume}},methods:{toggle(){W.player_consume(!this.is_consume)}}};function L2(e,t,n,r,o,s){const i=T("mdicon");return A(),D("a",{class:Te({"is-info":s.is_consume}),onClick:t[0]||(t[0]=(...l)=>s.toggle&&s.toggle(...l))},[b(i,{class:"icon",name:"fire",size:"16",title:e.$t("player.button.consume")},null,8,["title"])],2)}const N2=ae(I2,[["render",L2]]),D2={name:"ControlPlayerForward",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:On(),queueStore:sr()}},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||W.player_seek(this.offset)}}},R2=["disabled"];function M2(e,t,n,r,o,s){const i=T("mdicon");return s.visible?(A(),D("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...l)=>s.seek&&s.seek(...l))},[b(i,{class:"icon",name:"fast-forward-30",title:e.$t("player.button.seek-forward")},null,8,["title"])],8,R2)):ie("",!0)}const F2=ae(D2,[["render",M2]]),fu=qn("LyricsStore",{state:()=>({content:[],pane:!1})}),V2={name:"ControlPlayerLyrics",setup(){return{lyricsStore:fu()}},computed:{icon(){return this.is_active?"script-text-play":"script-text-outline"},is_active(){return this.lyricsStore.pane}},methods:{toggle(){this.lyricsStore.pane=!this.lyricsStore.pane}}};function H2(e,t,n,r,o,s){const i=T("mdicon");return A(),D("a",{class:Te({"is-info":s.is_active}),onClick:t[0]||(t[0]=(...l)=>s.toggle&&s.toggle(...l))},[b(i,{class:"icon",name:s.icon,size:16,title:e.$t("player.button.toggle-lyrics")},null,8,["name","title"])],2)}const U2=ae(V2,[["render",H2]]),j2={name:"ControlPlayerNext",computed:{disabled(){var e;return((e=sr())==null?void 0:e.count)<=0}},methods:{play_next(){this.disabled||W.player_next()}}},W2=["disabled"];function B2(e,t,n,r,o,s){const i=T("mdicon");return A(),D("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...l)=>s.play_next&&s.play_next(...l))},[b(i,{class:"icon",name:"skip-forward",title:e.$t("player.button.skip-forward")},null,8,["title"])],8,W2)}const q2=ae(j2,[["render",B2]]),G2={name:"ControlPlayerPlay",props:{show_disabled_message:Boolean},setup(){return{notificationsStore:gr(),playerStore:On(),queueStore:sr()}},computed:{disabled(){var e;return((e=this.queueStore)==null?void 0:e.count)<=0},icon(){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(){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?W.player_pause():this.is_playing&&!this.is_pause_allowed?W.player_stop():W.player_play()}}},K2=["disabled"];function Z2(e,t,n,r,o,s){const i=T("mdicon");return A(),D("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...l)=>s.toggle&&s.toggle(...l))},[b(i,{class:"icon",name:s.icon,title:e.$t(`player.button.${s.icon}`)},null,8,["name","title"])],8,K2)}const Y2=ae(G2,[["render",Z2]]),X2={name:"ControlPlayerPrevious",setup(){return{queueStore:sr()}},computed:{disabled(){return this.queueStore.count<=0}},methods:{play_previous(){this.disabled||W.player_previous()}}},J2=["disabled"];function Q2(e,t,n,r,o,s){const i=T("mdicon");return A(),D("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...l)=>s.play_previous&&s.play_previous(...l))},[b(i,{class:"icon",name:"skip-backward",title:e.$t("player.button.skip-backward")},null,8,["title"])],8,J2)}const eT=ae(X2,[["render",Q2]]),tT={name:"ControlPlayerRepeat",setup(){return{playerStore:On()}},computed:{icon(){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(){this.is_repeat_all?W.player_repeat("single"):this.is_repeat_single?W.player_repeat("off"):W.player_repeat("all")}}};function nT(e,t,n,r,o,s){const i=T("mdicon");return A(),D("a",{class:Te({"is-info":!s.is_repeat_off}),onClick:t[0]||(t[0]=(...l)=>s.toggle&&s.toggle(...l))},[b(i,{class:"icon",name:s.icon,size:16,title:e.$t(`player.button.${s.icon}`)},null,8,["name","title"])],2)}const rT=ae(tT,[["render",nT]]),oT={name:"ControlPlayerShuffle",setup(){return{playerStore:On()}},computed:{icon(){return this.is_shuffle?"shuffle":"shuffle-disabled"},is_shuffle(){return this.playerStore.shuffle}},methods:{toggle(){W.player_shuffle(!this.is_shuffle)}}};function sT(e,t,n,r,o,s){const i=T("mdicon");return A(),D("a",{class:Te({"is-info":s.is_shuffle}),onClick:t[0]||(t[0]=(...l)=>s.toggle&&s.toggle(...l))},[b(i,{class:"icon",name:s.icon,size:16,title:e.$t(`player.button.${s.icon}`)},null,8,["name","title"])],2)}const iT=ae(oT,[["render",sT]]),Gs={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{}}},aT={name:"ControlStreamVolume",components:{ControlSlider:mu},emits:["change","mute"],data(){return{cursor:Ji,loading:!1,playing:!1,volume:10}},mounted(){this.setupAudio()},unmounted(){this.closeAudio()},methods:{changeVolume(){Gs.setVolume(this.volume/100)},closeAudio(){Gs.stop(),this.playing=!1},playChannel(){this.playing||(this.loading=!0,Gs.play("/stream.mp3"),Gs.setVolume(this.volume/100))},setupAudio(){const e=Gs.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())}}},lT={class:"media is-align-items-center mb-0"},uT={class:"media-left"},cT={class:"media-content is-align-items-center"},dT=["textContent"],mT={href:"stream.mp3",class:"ml-2",target:"_blank"};function fT(e,t,n,r,o,s){const i=T("mdicon"),l=T("control-slider");return A(),D("div",lT,[m("div",uT,[m("a",{class:Te(["button is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[0]||(t[0]=(...a)=>s.togglePlay&&s.togglePlay(...a))},[b(i,{class:"icon",name:"broadcast"})],2)]),m("div",cT,[m("div",{class:Te(["is-flex",{"has-text-grey-light":!o.playing}])},[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("navigation.stream"))},null,8,dT),m("a",mT,[b(i,{class:"icon is-small",name:"open-in-new"})])],2),b(l,{value:o.volume,"onUpdate:value":t[1]||(t[1]=a=>o.volume=a),cursor:o.cursor,disabled:!o.playing,max:100,onChange:s.changeVolume},null,8,["value","cursor","disabled","onChange"])])])}const pT=ae(aT,[["render",fT]]),cm=qn("OutputsStore",{state:()=>({outputs:[]})}),hT={name:"NavbarBottom",components:{ControlLink:By,ControlOutputVolume:T2,ControlMainVolume:b2,ControlPlayerBack:P2,ControlPlayerConsume:N2,ControlPlayerForward:F2,ControlPlayerLyrics:U2,ControlPlayerNext:q2,ControlPlayerPlay:Y2,ControlPlayerPrevious:eT,ControlPlayerRepeat:rT,ControlPlayerShuffle:iT,ControlStreamVolume:pT},setup(){return{notificationsStore:gr(),outputsStore:cm(),queueStore:sr(),uiStore:wn()}},computed:{is_now_playing_page(){return this.$route.name==="now-playing"},current(){return this.queueStore.current}}},_T={class:"navbar-brand is-flex-grow-1"},gT={class:"is-text-clipped"},yT=["textContent"],zT=["textContent"],vT=["textContent"],bT={class:"dropdown-menu"},CT={class:"dropdown-content"},wT={class:"dropdown-item pt-0"},ST={class:"dropdown-item is-flex is-justify-content-center"},xT={class:"buttons has-addons"};function kT(e,t,n,r,o,s){const i=T("mdicon"),l=T("control-link"),a=T("control-player-previous"),u=T("control-player-back"),c=T("control-player-play"),d=T("control-player-forward"),f=T("control-player-next"),p=T("control-main-volume"),h=T("control-output-volume"),_=T("control-stream-volume"),v=T("control-player-repeat"),C=T("control-player-shuffle"),w=T("control-player-consume"),g=T("control-player-lyrics");return A(),D("nav",{class:Te(["navbar is-fixed-bottom",{"is-dark":!s.is_now_playing_page}])},[m("div",_T,[b(l,{class:"navbar-item",to:{name:"queue"}},{default:P(()=>[b(i,{class:"icon",name:"playlist-play"})]),_:1}),s.is_now_playing_page?(A(),D(ze,{key:0},[b(a,{class:"navbar-item ml-auto"}),b(u,{class:"navbar-item",offset:1e4}),b(c,{class:"navbar-item",show_disabled_message:""}),b(d,{class:"navbar-item",offset:3e4}),b(f,{class:"navbar-item mr-auto"})],64)):(A(),D(ze,{key:1},[b(l,{to:{name:"now-playing"},exact:"",class:"navbar-item is-justify-content-flex-start is-expanded is-clipped is-size-7"},{default:P(()=>[m("div",gT,[m("strong",{textContent:y(s.current.title)},null,8,yT),t[1]||(t[1]=m("br",null,null,-1)),m("span",{textContent:y(s.current.artist)},null,8,zT),s.current.album?(A(),D("span",{key:0,textContent:y(e.$t("navigation.now-playing",{album:s.current.album}))},null,8,vT)):ie("",!0)])]),_:1}),b(c,{class:"navbar-item",show_disabled_message:""})],64)),m("a",{class:"navbar-item",onClick:t[0]||(t[0]=z=>r.uiStore.show_player_menu=!r.uiStore.show_player_menu)},[b(i,{class:"icon",name:r.uiStore.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])]),m("div",{class:Te(["dropdown is-up is-right",{"is-active":r.uiStore.show_player_menu}])},[m("div",bT,[m("div",CT,[m("div",wT,[b(p),(A(!0),D(ze,null,Ct(r.outputsStore.outputs,z=>(A(),ve(h,{key:z.id,output:z},null,8,["output"]))),128)),b(_)]),t[2]||(t[2]=m("hr",{class:"dropdown-divider"},null,-1)),m("div",ST,[m("div",xT,[b(v,{class:"button"}),b(C,{class:"button"}),b(w,{class:"button"}),b(g,{class:"button"})])])])])],2)])],2)}const ET=ae(hT,[["render",kT],["__scopeId","data-v-35a381b3"]]),dm=qn("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)}}}),ur=qn("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))??{}}}}),TT={name:"NavbarTop",components:{ControlLink:By},setup(){return{searchStore:dm(),servicesStore:Pt(),settingsStore:ur(),uiStore:wn()}},data(){return{show_settings_menu:!1}},computed:{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.uiStore.show_update_dialog=!0,this.show_settings_menu=!1,this.uiStore.show_burger_menu=!1}}},AT={class:"navbar-brand is-flex-grow-1"},$T={class:"dropdown-menu"},OT={class:"dropdown-content"},PT={class:"icon-text"},IT=["textContent"],LT={class:"icon-text"},NT=["textContent"],DT=["textContent"],RT=["textContent"],MT=["textContent"],FT=["textContent"],VT={class:"icon-text"},HT=["textContent"],UT={class:"icon-text"},jT=["textContent"],WT={class:"icon-text"},BT=["textContent"],qT={class:"icon-text"},GT=["textContent"],KT={class:"icon-text"},ZT=["textContent"],YT=["textContent"];function XT(e,t,n,r,o,s){const i=T("mdicon"),l=T("control-link");return A(),D("nav",{class:"navbar is-light is-fixed-top",style:fo(s.zindex)},[m("div",AT,[r.settingsStore.show_menu_item_playlists?(A(),ve(l,{key:0,class:"navbar-item",to:{name:"playlists"}},{default:P(()=>[b(i,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):ie("",!0),r.settingsStore.show_menu_item_music?(A(),ve(l,{key:1,class:"navbar-item",to:{name:"music"}},{default:P(()=>[b(i,{class:"icon",name:"music",size:"16"})]),_:1})):ie("",!0),r.settingsStore.show_menu_item_podcasts?(A(),ve(l,{key:2,class:"navbar-item",to:{name:"podcasts"}},{default:P(()=>[b(i,{class:"icon",name:"microphone",size:"16"})]),_:1})):ie("",!0),r.settingsStore.show_menu_item_audiobooks?(A(),ve(l,{key:3,class:"navbar-item",to:{name:"audiobooks"}},{default:P(()=>[b(i,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):ie("",!0),r.settingsStore.show_menu_item_radio?(A(),ve(l,{key:4,class:"navbar-item",to:{name:"radio"}},{default:P(()=>[b(i,{class:"icon",name:"radio",size:"16"})]),_:1})):ie("",!0),r.settingsStore.show_menu_item_files?(A(),ve(l,{key:5,class:"navbar-item",to:{name:"files"}},{default:P(()=>[b(i,{class:"icon",name:"folder-open",size:"16"})]),_:1})):ie("",!0),r.settingsStore.show_menu_item_search?(A(),ve(l,{key:6,class:"navbar-item",to:{name:r.searchStore.search_source}},{default:P(()=>[b(i,{class:"icon",name:"magnify",size:"16"})]),_:1},8,["to"])):ie("",!0),m("a",{class:"navbar-item ml-auto",onClick:t[0]||(t[0]=a=>r.uiStore.show_burger_menu=!r.uiStore.show_burger_menu)},[b(i,{class:"icon",name:r.uiStore.show_burger_menu?"close":"menu"},null,8,["name"])]),m("div",{class:Te(["dropdown is-right",{"is-active":r.uiStore.show_burger_menu}])},[m("div",$T,[m("div",OT,[b(l,{class:"dropdown-item",to:{name:"playlists"}},{default:P(()=>[m("span",PT,[b(i,{class:"icon",name:"music-box-multiple",size:"16"})]),m("b",{textContent:y(e.$t("navigation.playlists"))},null,8,IT)]),_:1}),b(l,{class:"dropdown-item",to:{name:"music"}},{default:P(()=>[m("span",LT,[b(i,{class:"icon",name:"music",size:"16"})]),m("b",{textContent:y(e.$t("navigation.music"))},null,8,NT)]),_:1}),b(l,{class:"dropdown-item",to:{name:"music-artists"}},{default:P(()=>[m("span",{class:"pl-5",textContent:y(e.$t("navigation.artists"))},null,8,DT)]),_:1}),b(l,{class:"dropdown-item",to:{name:"music-albums"}},{default:P(()=>[m("span",{class:"pl-5",textContent:y(e.$t("navigation.albums"))},null,8,RT)]),_:1}),b(l,{class:"dropdown-item",to:{name:"music-genres"}},{default:P(()=>[m("span",{class:"pl-5",textContent:y(e.$t("navigation.genres"))},null,8,MT)]),_:1}),s.spotify_enabled?(A(),ve(l,{key:0,class:"dropdown-item",to:{name:"music-spotify"}},{default:P(()=>[m("span",{class:"pl-5",textContent:y(e.$t("navigation.spotify"))},null,8,FT)]),_:1})):ie("",!0),b(l,{class:"dropdown-item",to:{name:"podcasts"}},{default:P(()=>[m("span",VT,[b(i,{class:"icon",name:"microphone",size:"16"})]),m("b",{textContent:y(e.$t("navigation.podcasts"))},null,8,HT)]),_:1}),b(l,{class:"dropdown-item",to:{name:"audiobooks"}},{default:P(()=>[m("span",UT,[b(i,{class:"icon",name:"book-open-variant",size:"16"})]),m("b",{textContent:y(e.$t("navigation.audiobooks"))},null,8,jT)]),_:1}),b(l,{class:"dropdown-item",to:{name:"radio"}},{default:P(()=>[m("span",WT,[b(i,{class:"icon",name:"radio",size:"16"})]),m("b",{textContent:y(e.$t("navigation.radio"))},null,8,BT)]),_:1}),b(l,{class:"dropdown-item",to:{name:"files"}},{default:P(()=>[m("span",qT,[b(i,{class:"icon",name:"folder-open",size:"16"})]),m("b",{textContent:y(e.$t("navigation.files"))},null,8,GT)]),_:1}),b(l,{class:"dropdown-item",to:{name:r.searchStore.search_source}},{default:P(()=>[m("span",KT,[b(i,{class:"icon",name:"magnify",size:"16"})]),m("b",{textContent:y(e.$t("navigation.search"))},null,8,ZT)]),_:1},8,["to"]),t[3]||(t[3]=m("hr",{class:"my-3"},null,-1)),b(l,{class:"dropdown-item",to:{name:"settings-webinterface"}},{default:P(()=>[Rt(y(e.$t("navigation.settings")),1)]),_:1}),m("a",{class:"dropdown-item",onClick:t[1]||(t[1]=wt(a=>s.open_update_dialog(),["stop","prevent"])),textContent:y(e.$t("navigation.update-library"))},null,8,YT),b(l,{class:"dropdown-item",to:{name:"about"}},{default:P(()=>[Rt(y(e.$t("navigation.about")),1)]),_:1})])])],2)]),Bt(m("div",{class:"is-overlay",onClick:t[2]||(t[2]=a=>o.show_settings_menu=!1)},null,512),[[Ni,o.show_settings_menu]])],4)}const JT=ae(TT,[["render",XT]]),QT={name:"NotificationList",setup(){return{notificationsStore:gr()}},computed:{notifications(){return this.notificationsStore.list}},methods:{remove(e){this.notificationsStore.remove(e)}}},eA={key:0,class:"notifications"},tA={class:"columns is-centered"},nA={class:"column is-half"},rA=["onClick"],oA=["textContent"];function sA(e,t,n,r,o,s){return s.notifications.length>0?(A(),D("section",eA,[m("div",tA,[m("div",nA,[(A(!0),D(ze,null,Ct(s.notifications,i=>(A(),D("div",{key:i.id,class:Te(["notification",i.type?`is-${i.type}`:""])},[m("button",{class:"delete",onClick:l=>s.remove(i)},null,8,rA),m("div",{class:"text",textContent:y(i.text)},null,8,oA)],2))),128))])])])):ie("",!0)}const iA=ae(QT,[["render",sA],["__scopeId","data-v-a896a8d3"]]);var qy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Gy(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 Ky={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(qy,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 l=this,a,u=!1,c=!1,d=document.createElement("div");d.addEventListener("open",function(p){l.onopen(p)}),d.addEventListener("close",function(p){l.onclose(p)}),d.addEventListener("connecting",function(p){l.onconnecting(p)}),d.addEventListener("message",function(p){l.onmessage(p)}),d.addEventListener("error",function(p){l.onerror(p)}),this.addEventListener=d.addEventListener.bind(d),this.removeEventListener=d.removeEventListener.bind(d),this.dispatchEvent=d.dispatchEvent.bind(d);function f(p,h){var _=document.createEvent("CustomEvent");return _.initCustomEvent(p,!1,!1,h),_}this.open=function(p){if(a=new WebSocket(l.url,r||[]),p){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else d.dispatchEvent(f("connecting")),this.reconnectAttempts=0;(l.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",l.url);var h=a,_=setTimeout(function(){(l.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",l.url),c=!0,h.close(),c=!1},l.timeoutInterval);a.onopen=function(v){clearTimeout(_),(l.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",l.url),l.protocol=a.protocol,l.readyState=WebSocket.OPEN,l.reconnectAttempts=0;var C=f("open");C.isReconnect=p,p=!1,d.dispatchEvent(C)},a.onclose=function(v){if(clearTimeout(w),a=null,u)l.readyState=WebSocket.CLOSED,d.dispatchEvent(f("close"));else{l.readyState=WebSocket.CONNECTING;var C=f("connecting");C.code=v.code,C.reason=v.reason,C.wasClean=v.wasClean,d.dispatchEvent(C),!p&&!c&&((l.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",l.url),d.dispatchEvent(f("close")));var w=l.reconnectInterval*Math.pow(l.reconnectDecay,l.reconnectAttempts);setTimeout(function(){l.reconnectAttempts++,l.open(!0)},w>l.maxReconnectInterval?l.maxReconnectInterval:w)}},a.onmessage=function(v){(l.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",l.url,v.data);var C=f("message");C.data=v.data,d.dispatchEvent(C)},a.onerror=function(v){(l.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",l.url,v),d.dispatchEvent(f("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(p){if(a)return(l.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",l.url,p),a.send(p);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(p,h){typeof p>"u"&&(p=1e3),u=!0,a&&a.close(p,h)},this.refresh=function(){a&&a.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})})(Ky);var aA=Ky.exports;const lA=pu(aA),Mo=qn("ConfigurationStore",{state:()=>({buildoptions:[],version:"",websocket_port:0})}),uA={name:"App",components:{ModalDialogRemotePairing:xk,ModalDialogUpdate:Qk,NavbarBottom:ET,NavbarTop:JT,NotificationList:iA},setup(){return{configurationStore:Mo(),libraryStore:du(),lyricsStore:fu(),notificationsStore:gr(),outputsStore:cm(),playerStore:On(),queueStore:sr(),remotesStore:Yd(),servicesStore:Pt(),settingsStore:ur(),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(){W.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 lA(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(){W.lastfm().then(({data:e})=>{this.servicesStore.lastfm=e})},update_library_stats(){W.library_stats().then(({data:e})=>{this.libraryStore.$state=e}),W.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?W.library_track(e.track_id).then(({data:t})=>{this.lyricsStore.lyrics=t.lyrics}):this.lyricsStore.$reset()},update_outputs(){W.outputs().then(({data:e})=>{this.outputsStore.outputs=e.outputs})},update_pairing(){W.pairing().then(({data:e})=>{this.remotesStore.$state=e,this.pairing_active=e.active})},update_player_status(){W.player_status().then(({data:e})=>{this.playerStore.$state=e,this.update_lyrics()})},update_queue(){W.queue().then(({data:e})=>{this.queueStore.$state=e,this.update_lyrics()})},update_settings(){W.settings().then(({data:e})=>{this.settingsStore.$state=e})},update_spotify(){W.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/>"};function cA(e,t,n,r,o,s){const i=T("navbar-top"),l=T("vue-progress-bar"),a=T("router-view"),u=T("modal-dialog-remote-pairing"),c=T("modal-dialog-update"),d=T("notification-list"),f=T("navbar-bottom");return A(),D(ze,null,[b(i),b(l,{class:"has-background-info"}),b(a,null,{default:P(({Component:p})=>[(A(),ve(Yl(p)))]),_:1}),b(u,{show:o.pairing_active,onClose:t[0]||(t[0]=p=>o.pairing_active=!1)},null,8,["show"]),b(c,{show:s.show_update_dialog,onClose:t[1]||(t[1]=p=>s.show_update_dialog=!1)},null,8,["show"]),Bt(b(d,null,null,512),[[Ni,!s.show_burger_menu]]),b(f),Bt(m("div",{class:"overlay-fullscreen",onClick:t[2]||(t[2]=p=>s.show_burger_menu=s.show_player_menu=!1)},null,512),[[Ni,s.show_burger_menu||s.show_player_menu]])],64)}const dA=ae(uA,[["render",cA]]),Zy=function(){return document.ontouchstart!==null?"click":"touchstart"},yl="__vue_click_away__",Yy=function(e,t,n){Xy(e);let r=n.context,o=t.value,s=!1;setTimeout(function(){s=!0},0),e[yl]=function(i){if((!e||!e.contains(i.target))&&o&&s&&typeof o=="function")return o.call(r,i)},document.addEventListener(Zy(),e[yl],!1)},Xy=function(e){document.removeEventListener(Zy(),e[yl],!1),delete e[yl]},mA=function(e,t,n){t.value!==t.oldValue&&Yy(e,t,n)},fA={install:function(e){e.directive("click-away",pA)}},pA={mounted:Yy,updated:mA,unmounted:Xy};var pr=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(pr||{});const hA=typeof window<"u"&&window!==null,_A=vA(),gA=Object.prototype.propertyIsEnumerable,dp=Object.getOwnPropertySymbols;function gi(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function yA(e){return typeof e=="object"?e===null:typeof e!="function"}function zA(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function vA(){return hA&&"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 bA(e,...t){if(!gi(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof dp!="function")return e;for(const n of t){const r=dp(n);for(const o of r)gA.call(n,o)&&(e[o]=n[o])}return e}function Jy(e,...t){let n=0;for(yA(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(gi(t[n])){for(const r of Object.keys(t[n]))zA(r)&&(gi(e[r])&&gi(t[n][r])?Jy(e[r],t[n][r]):e[r]=t[n][r]);bA(e,t[n])}return e}const mp="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",CA="",wA={rootMargin:"0px",threshold:0},Zo="data-lazy-timeout-id";class SA{constructor(t){this.options={loading:mp,error:CA,observerOptions:wA,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(t)}config(t={}){Jy(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:o,error:s,lifecycle:i,delay:l}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(pr.LOADING,i,t),t.setAttribute("src",o||mp),_A||(this.loadImages(t,r,s,i),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,s,i,l)}update(t,n){var l;if(!t)return;(l=this._realObserver(t))==null||l.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(pr.LOADED,o,t)},()=>{var s;t.onload=null,this._lifecycle(pr.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 l;const i=this.options.observerOptions;this._images.set(t,new IntersectionObserver(a=>{Array.prototype.forEach.call(a,u=>{s&&s>0?this._delayedIntersectionCallback(t,u,s,n,r,o):this._intersectionCallback(t,u,n,r,o)})},i)),(l=this._realObserver(t))==null||l.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(Zo))return;const l=setTimeout(()=>{this._intersectionCallback(t,n,o,s,i),n.target.removeAttribute(Zo)},r);n.target.setAttribute(Zo,String(l))}else n.target.hasAttribute(Zo)&&(clearTimeout(Number(n.target.getAttribute(Zo))),n.target.removeAttribute(Zo))}_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 gi(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 pr.LOADING:r==null||r.setAttribute("lazy",pr.LOADING),n!=null&&n.loading&&n.loading(r);break;case pr.LOADED:r==null||r.setAttribute("lazy",pr.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case pr.ERROR:r==null||r.setAttribute("lazy",pr.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 xA={install(e,t){const n=new SA(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 Qy={exports:{}};const ez=Gy(dC);(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 l in o)r.d(i,l,(function(a){return o[a]}).bind(null,l));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(l,a){s=[],o=a,i=typeof o=="function"?o.apply(n,s):o,i!==void 0&&(t.exports=i)})(typeof self<"u"?self:this,function(){function l(){var a=Object.getOwnPropertyDescriptor(document,"currentScript");if(!a&&"currentScript"in document&&document.currentScript||a&&a.get!==l&&document.currentScript)return document.currentScript;try{throw new Error}catch(z){var u=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,c=/@([^@]*):(\d+):(\d+)\s*$/ig,d=u.exec(z.stack)||c.exec(z.stack),f=d&&d[1]||!1,p=d&&d[2]||!1,h=document.location.href.replace(document.location.hash,""),_,v,C,w=document.getElementsByTagName("script");f===h&&(_=document.documentElement.outerHTML,v=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),C=_.replace(v,"$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 l})},"8bbf":function(t,n){t.exports=ez},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 l=r("8bbf");function a(h,_,v,C,w,g){return Object(l.openBlock)(),Object(l.createBlock)("div",{style:C.finalStyle},null,4)}var u=typeof window<"u",c={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var _=u?Object(l.inject)("RADON_LOADING_BAR"):{percent:0,options:{canSuccess:!0,show:!1,color:"rgb(19, 91, 55)",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},location:"top",autoRevert:!0,inverse:!1}},v=Object(l.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:v}}};c.render=a;var d=c;function f(h,_){for(var v=1,C,w;v<arguments.length;++v){w=arguments[v];for(C in w)Object.prototype.hasOwnProperty.call(w,C)&&(h[C]=w[C])}return h}var p={install:function(_,v){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,v),g=Object(l.reactive)({percent:0,options:w});_.provide("RADON_LOADING_BAR",g);var z={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(x){var L=this;x||(x=3e3),g.percent=0,g.options.show=!0,g.options.canSuccess=!0,this.state.cut=1e4/Math.floor(x),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(x){g.options.show=!0,g.options.canSuccess=!0,g.percent=Math.floor(x)},get:function(){return Math.floor(g.percent)},increase:function(x){g.percent=Math.min(99,g.percent+Math.floor(x))},decrease:function(x){g.percent=g.percent-Math.floor(x)},hide:function(){var x=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){g.options.show=!1,Object(l.nextTick)(function(){setTimeout(function(){g.percent=0},100),g.options.autoRevert&&setTimeout(function(){x.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(x){g.options.failedColor=x},setColor:function(x){g.options.color=x},setLocation:function(x){g.options.location=x},setTransition:function(x){g.options.transition=x},tempFailColor:function(x){this.state.tFailColor=g.options.failedColor,g.options.failedColor=x},tempColor:function(x){this.state.tColor=g.options.color,g.options.color=x},tempLocation:function(x){this.state.tLocation=g.options.location,g.options.location=x},tempTransition:function(x){this.state.tTransition=g.options.transition,g.options.transition=x},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(x){for(var L in x.func){var N=x.func[L];switch(N.call){case"color":switch(N.modifier){case"set":this.setColor(N.argument);break;case"temp":this.tempColor(N.argument);break}break;case"fail":switch(N.modifier){case"set":this.setFailColor(N.argument);break;case"temp":this.tempFailColor(N.argument);break}break;case"location":switch(N.modifier){case"set":this.setLocation(N.argument);break;case"temp":this.tempLocation(N.argument);break}break;case"transition":switch(N.modifier){case"set":this.setTransition(N.argument);break;case"temp":this.tempTransition(N.argument);break}break}}}};_.component("vue-progress-bar",d),_.config.globalProperties.$Progress=z}};n.default=p}})})(Qy);var kA=Qy.exports;const EA=pu(kA);class Wo extends Error{}class TA extends Wo{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class AA extends Wo{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $A extends Wo{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ds extends Wo{}class tz extends Wo{constructor(t){super(`Invalid unit ${t}`)}}class Kt extends Wo{}class Br extends Wo{constructor(){super("Zone is an abstract class")}}const ge="numeric",ir="short",$n="long",zl={year:ge,month:ge,day:ge},nz={year:ge,month:ir,day:ge},OA={year:ge,month:ir,day:ge,weekday:ir},rz={year:ge,month:$n,day:ge},oz={year:ge,month:$n,day:ge,weekday:$n},sz={hour:ge,minute:ge},iz={hour:ge,minute:ge,second:ge},az={hour:ge,minute:ge,second:ge,timeZoneName:ir},lz={hour:ge,minute:ge,second:ge,timeZoneName:$n},uz={hour:ge,minute:ge,hourCycle:"h23"},cz={hour:ge,minute:ge,second:ge,hourCycle:"h23"},dz={hour:ge,minute:ge,second:ge,hourCycle:"h23",timeZoneName:ir},mz={hour:ge,minute:ge,second:ge,hourCycle:"h23",timeZoneName:$n},fz={year:ge,month:ge,day:ge,hour:ge,minute:ge},pz={year:ge,month:ge,day:ge,hour:ge,minute:ge,second:ge},hz={year:ge,month:ir,day:ge,hour:ge,minute:ge},_z={year:ge,month:ir,day:ge,hour:ge,minute:ge,second:ge},PA={year:ge,month:ir,day:ge,weekday:ir,hour:ge,minute:ge},gz={year:ge,month:$n,day:ge,hour:ge,minute:ge,timeZoneName:ir},yz={year:ge,month:$n,day:ge,hour:ge,minute:ge,second:ge,timeZoneName:ir},zz={year:ge,month:$n,day:ge,weekday:$n,hour:ge,minute:ge,timeZoneName:$n},vz={year:ge,month:$n,day:ge,weekday:$n,hour:ge,minute:ge,second:ge,timeZoneName:$n};class Qi{get type(){throw new Br}get name(){throw new Br}get ianaName(){return this.name}get isUniversal(){throw new Br}offsetName(t,n){throw new Br}formatOffset(t,n){throw new Br}offset(t){throw new Br}equals(t){throw new Br}get isValid(){throw new Br}}let Ku=null;class hu extends Qi{static get instance(){return Ku===null&&(Ku=new hu),Ku}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return Az(t,n,r)}formatOffset(t,n){return yi(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let Ua={};function IA(e){return Ua[e]||(Ua[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"})),Ua[e]}const LA={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function NA(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,s,i,l,a,u,c]=r;return[i,o,s,l,a,u,c]}function DA(e,t){const n=e.formatToParts(t),r=[];for(let o=0;o<n.length;o++){const{type:s,value:i}=n[o],l=LA[s];s==="era"?r[l]=i:De(l)||(r[l]=parseInt(i,10))}return r}let za={};class Mr extends Qi{static create(t){return za[t]||(za[t]=new Mr(t)),za[t]}static resetCache(){za={},Ua={}}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=Mr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return Az(t,n,r,this.name)}formatOffset(t,n){return yi(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=IA(this.name);let[o,s,i,l,a,u,c]=r.formatToParts?DA(r,n):NA(r,n);l==="BC"&&(o=-Math.abs(o)+1);const f=gu({year:o,month:s,day:i,hour:a===24?0:a,minute:u,second:c,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 fp={};function RA(e,t={}){const n=JSON.stringify([e,t]);let r=fp[n];return r||(r=new Intl.ListFormat(e,t),fp[n]=r),r}let sd={};function id(e,t={}){const n=JSON.stringify([e,t]);let r=sd[n];return r||(r=new Intl.DateTimeFormat(e,t),sd[n]=r),r}let ad={};function MA(e,t={}){const n=JSON.stringify([e,t]);let r=ad[n];return r||(r=new Intl.NumberFormat(e,t),ad[n]=r),r}let ld={};function FA(e,t={}){const{base:n,...r}=t,o=JSON.stringify([e,r]);let s=ld[o];return s||(s=new Intl.RelativeTimeFormat(e,t),ld[o]=s),s}let ni=null;function VA(){return ni||(ni=new Intl.DateTimeFormat().resolvedOptions().locale,ni)}let pp={};function HA(e){let t=pp[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,pp[e]=t}return t}function UA(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=id(e).resolvedOptions(),o=e}catch{const a=e.substring(0,n);r=id(a).resolvedOptions(),o=a}const{numberingSystem:s,calendar:i}=r;return[o,s,i]}}function jA(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function WA(e){const t=[];for(let n=1;n<=12;n++){const r=Ae.utc(2009,n,1);t.push(e(r))}return t}function BA(e){const t=[];for(let n=1;n<=7;n++){const r=Ae.utc(2016,11,13+n);t.push(e(r))}return t}function va(e,t,n,r){const o=e.listingMode();return o==="error"?null:o==="en"?n(t):r(t)}function qA(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 GA{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 l={useGrouping:!1,...r};r.padTo>0&&(l.minimumIntegerDigits=r.padTo),this.inf=MA(t,l)}}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):_m(t,3);return Lt(n,this.padTo)}}}class KA{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),l=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;t.offset!==0&&Mr.create(l).valid?(o=l,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=id(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 ZA{constructor(t,n,r){this.opts={style:"long",...r},!n&&Ez()&&(this.rtf=FA(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):y$(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const YA={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,l=i||(s?"en-US":VA()),a=n||At.defaultNumberingSystem,u=r||At.defaultOutputCalendar,c=ud(o)||At.defaultWeekSettings;return new ct(l,a,u,c,i)}static resetCache(){ni=null,sd={},ad={},ld={}}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,l,a]=UA(t);this.locale=i,this.numberingSystem=n||l||null,this.outputCalendar=r||a||null,this.weekSettings=o,this.intl=jA(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=qA(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,ud(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 va(this,t,Pz,()=>{const r=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=WA(s=>this.extract(s,r,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1){return va(this,t,Nz,()=>{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]=BA(s=>this.extract(s,r,"weekday"))),this.weekdaysCache[o][t]})}meridiems(){return va(this,void 0,()=>Dz,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Ae.utc(2016,11,13,9),Ae.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return va(this,t,Rz,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[Ae.utc(-40,1,1),Ae.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(l=>l.type.toLowerCase()===r);return i?i.value:null}numberFormatter(t={}){return new GA(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new KA(t,this.intl,n)}relFormatter(t={}){return new ZA(this.intl,this.isEnglish(),t)}listFormatter(t={}){return RA(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:Tz()?HA(this.locale):YA}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 Zu=null;class un extends Qi{static get utcInstance(){return Zu===null&&(Zu=new un(0)),Zu}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(yu(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${yi(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${yi(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return yi(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 XA extends Qi{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 oo(e,t){if(De(e)||e===null)return t;if(e instanceof Qi)return e;if(r$(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?hu.instance:n==="utc"||n==="gmt"?un.utcInstance:un.parseSpecifier(n)||Mr.create(e)}else return lo(e)?un.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new XA(e)}const mm={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},hp={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]},JA=mm.hanidec.replace(/[\[|\]]/g,"").split("");function QA(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(mm.hanidec)!==-1)t+=JA.indexOf(e[n]);else for(const o in hp){const[s,i]=hp[o];r>=s&&r<=i&&(t+=r-s)}}return parseInt(t,10)}else return t}let is={};function e$(){is={}}function Kn({numberingSystem:e},t=""){const n=e||"latn";return is[n]||(is[n]={}),is[n][t]||(is[n][t]=new RegExp(`${mm[n]}${t}`)),is[n][t]}let _p=()=>Date.now(),gp="system",yp=null,zp=null,vp=null,bp=60,Cp,wp=null;class At{static get now(){return _p}static set now(t){_p=t}static set defaultZone(t){gp=t}static get defaultZone(){return oo(gp,hu.instance)}static get defaultLocale(){return yp}static set defaultLocale(t){yp=t}static get defaultNumberingSystem(){return zp}static set defaultNumberingSystem(t){zp=t}static get defaultOutputCalendar(){return vp}static set defaultOutputCalendar(t){vp=t}static get defaultWeekSettings(){return wp}static set defaultWeekSettings(t){wp=ud(t)}static get twoDigitCutoffYear(){return bp}static set twoDigitCutoffYear(t){bp=t%100}static get throwOnInvalid(){return Cp}static set throwOnInvalid(t){Cp=t}static resetCaches(){ct.resetCache(),Mr.resetCache(),Ae.resetCache(),e$()}}class tr{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const bz=[0,31,59,90,120,151,181,212,243,273,304,334],Cz=[0,31,60,91,121,152,182,213,244,274,305,335];function Dn(e,t){return new tr("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function fm(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 wz(e,t,n){return n+(ea(e)?Cz:bz)[t-1]}function Sz(e,t){const n=ea(e)?Cz:bz,r=n.findIndex(s=>s<t),o=t-n[r];return{month:r+1,day:o}}function pm(e,t){return(e-t+7)%7+1}function vl(e,t=4,n=1){const{year:r,month:o,day:s}=e,i=wz(r,o,s),l=pm(fm(r,o,s),n);let a=Math.floor((i-l+14-t)/7),u;return a<1?(u=r-1,a=Vi(u,t,n)):a>Vi(r,t,n)?(u=r+1,a=1):u=r,{weekYear:u,weekNumber:a,weekday:l,...zu(e)}}function Sp(e,t=4,n=1){const{weekYear:r,weekNumber:o,weekday:s}=e,i=pm(fm(r,1,t),n),l=zs(r);let a=o*7+s-i-7+t,u;a<1?(u=r-1,a+=zs(u)):a>l?(u=r+1,a-=zs(r)):u=r;const{month:c,day:d}=Sz(u,a);return{year:u,month:c,day:d,...zu(e)}}function Yu(e){const{year:t,month:n,day:r}=e,o=wz(t,n,r);return{year:t,ordinal:o,...zu(e)}}function xp(e){const{year:t,ordinal:n}=e,{month:r,day:o}=Sz(t,n);return{year:t,month:r,day:o,...zu(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 ds("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 t$(e,t=4,n=1){const r=_u(e.weekYear),o=Rn(e.weekNumber,1,Vi(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 n$(e){const t=_u(e.year),n=Rn(e.ordinal,1,zs(e.year));return t?n?!1:Dn("ordinal",e.ordinal):Dn("year",e.year)}function xz(e){const t=_u(e.year),n=Rn(e.month,1,12),r=Rn(e.day,1,bl(e.year,e.month));return t?n?r?!1:Dn("day",e.day):Dn("month",e.month):Dn("year",e.year)}function kz(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),l=Rn(r,0,59),a=Rn(o,0,999);return s?i?l?a?!1:Dn("millisecond",o):Dn("second",r):Dn("minute",n):Dn("hour",t)}function De(e){return typeof e>"u"}function lo(e){return typeof e=="number"}function _u(e){return typeof e=="number"&&e%1===0}function r$(e){return typeof e=="string"}function o$(e){return Object.prototype.toString.call(e)==="[object Date]"}function Ez(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Tz(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function s$(e){return Array.isArray(e)?e:[e]}function Ep(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 i$(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function Es(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ud(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 _u(e)&&e>=t&&e<=n}function a$(e,t){return e-t*Math.floor(e/t)}function Lt(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function to(e){if(!(De(e)||e===null||e===""))return parseInt(e,10)}function wo(e){if(!(De(e)||e===null||e===""))return parseFloat(e)}function hm(e){if(!(De(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function _m(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function ea(e){return e%4===0&&(e%100!==0||e%400===0)}function zs(e){return ea(e)?366:365}function bl(e,t){const n=a$(t-1,12)+1,r=e+(t-n)/12;return n===2?ea(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function gu(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 Tp(e,t,n){return-pm(fm(e,1,t),n)+t-1}function Vi(e,t=4,n=1){const r=Tp(e,t,n),o=Tp(e+1,t,n);return(zs(e)-r+o)/7}function cd(e){return e>99?e:e>At.twoDigitCutoffYear?1900+e:2e3+e}function Az(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},l=new Intl.DateTimeFormat(n,i).formatToParts(o).find(a=>a.type.toLowerCase()==="timezonename");return l?l.value:null}function yu(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 $z(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new Kt(`Invalid unit value ${e}`);return t}function Cl(e,t){const n={};for(const r in e)if(Es(e,r)){const o=e[r];if(o==null)continue;n[t(r)]=$z(o)}return n}function yi(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}${Lt(n,2)}:${Lt(r,2)}`;case"narrow":return`${o}${n}${r>0?`:${r}`:""}`;case"techie":return`${o}${Lt(n,2)}${Lt(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function zu(e){return i$(e,["hour","minute","second","millisecond"])}const l$=["January","February","March","April","May","June","July","August","September","October","November","December"],Oz=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],u$=["J","F","M","A","M","J","J","A","S","O","N","D"];function Pz(e){switch(e){case"narrow":return[...u$];case"short":return[...Oz];case"long":return[...l$];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 Iz=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Lz=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],c$=["M","T","W","T","F","S","S"];function Nz(e){switch(e){case"narrow":return[...c$];case"short":return[...Lz];case"long":return[...Iz];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Dz=["AM","PM"],d$=["Before Christ","Anno Domini"],m$=["BC","AD"],f$=["B","A"];function Rz(e){switch(e){case"narrow":return[...f$];case"short":return[...m$];case"long":return[...d$];default:return null}}function p$(e){return Dz[e.hour<12?0:1]}function h$(e,t){return Nz(t)[e.weekday-1]}function _$(e,t){return Pz(t)[e.month-1]}function g$(e,t){return Rz(t)[e.year<0?0:1]}function y$(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 d=e==="days";switch(t){case 1:return d?"tomorrow":`next ${o[e][0]}`;case-1:return d?"yesterday":`last ${o[e][0]}`;case 0:return d?"today":`this ${o[e][0]}`}}const i=Object.is(t,-0)||t<0,l=Math.abs(t),a=l===1,u=o[e],c=r?a?u[1]:u[2]||u[1]:a?o[e][0]:e;return i?`${l} ${c} ago`:`in ${l} ${c}`}function Ap(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const z$={D:zl,DD:nz,DDD:rz,DDDD:oz,t:sz,tt:iz,ttt:az,tttt:lz,T:uz,TT:cz,TTT:dz,TTTT:mz,f:fz,ff:hz,fff:gz,ffff:zz,F:pz,FF:_z,FFF:yz,FFFF:vz};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 l=t.charAt(i);l==="'"?(r.length>0&&s.push({literal:o||/^\s+$/.test(r),val:r}),n=null,r="",o=!o):o||l===n?r+=l:(r.length>0&&s.push({literal:/^\s+$/.test(r),val:r}),r=l,n=l)}return r.length>0&&s.push({literal:o||/^\s+$/.test(r),val:r}),s}static macroTokenToFormatOpts(t){return z$[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 Lt(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):"",l=()=>r?p$(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(p,h)=>r?_$(t,p):s(h?{month:p}:{month:p,day:"numeric"},"month"),u=(p,h)=>r?h$(t,p):s(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),c=p=>{const h=Jt.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},d=p=>r?g$(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 l();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 u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("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 a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("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 a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("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 d("short");case"GG":return d("long");case"GGGGG":return d("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 c(p)}};return Ap(Jt.parseFormat(n),f)}formatDurationFromString(t,n){const r=a=>{switch(a[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=a=>u=>{const c=r(u);return c?this.num(a.get(c),u.length):u},s=Jt.parseFormat(n),i=s.reduce((a,{literal:u,val:c})=>u?a:a.concat(c),[]),l=t.shiftTo(...i.map(r).filter(a=>a));return Ap(s,o(l))}}const Mz=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ms(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function Fs(...e){return t=>e.reduce(([n,r,o],s)=>{const[i,l,a]=s(t,o);return[{...n,...i},l||r,a]},[{},null,1]).slice(0,2)}function Vs(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 Fz(...e){return(t,n)=>{const r={};let o;for(o=0;o<e.length;o++)r[e[o]]=to(t[n+o]);return[r,null,n+o]}}const Vz=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,v$=`(?:${Vz.source}?(?:\\[(${Mz.source})\\])?)?`,gm=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Hz=RegExp(`${gm.source}${v$}`),ym=RegExp(`(?:T${Hz.source})?`),b$=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,C$=/(\d{4})-?W(\d\d)(?:-?(\d))?/,w$=/(\d{4})-?(\d{3})/,S$=Fz("weekYear","weekNumber","weekDay"),x$=Fz("year","ordinal"),k$=/(\d{4})-(\d\d)-(\d\d)/,Uz=RegExp(`${gm.source} ?(?:${Vz.source}|(${Mz.source}))?`),E$=RegExp(`(?: ${Uz.source})?`);function vs(e,t,n){const r=e[t];return De(r)?n:to(r)}function T$(e,t){return[{year:vs(e,t),month:vs(e,t+1,1),day:vs(e,t+2,1)},null,t+3]}function Hs(e,t){return[{hours:vs(e,t,0),minutes:vs(e,t+1,0),seconds:vs(e,t+2,0),milliseconds:hm(e[t+3])},null,t+4]}function ta(e,t){const n=!e[t]&&!e[t+1],r=yu(e[t+1],e[t+2]),o=n?null:un.instance(r);return[{},o,t+3]}function na(e,t){const n=e[t]?Mr.create(e[t]):null;return[{},n,t+1]}const A$=RegExp(`^T?${gm.source}$`),$$=/^-?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 O$(e){const[t,n,r,o,s,i,l,a,u]=e,c=t[0]==="-",d=a&&a[0]==="-",f=(p,h=!1)=>p!==void 0&&(h||p&&c)?-p:p;return[{years:f(wo(n)),months:f(wo(r)),weeks:f(wo(o)),days:f(wo(s)),hours:f(wo(i)),minutes:f(wo(l)),seconds:f(wo(a),a==="-0"),milliseconds:f(hm(u),d)}]}const P$={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 zm(e,t,n,r,o,s,i){const l={year:t.length===2?cd(to(t)):to(t),month:Oz.indexOf(n)+1,day:to(r),hour:to(o),minute:to(s)};return i&&(l.second=to(i)),e&&(l.weekday=e.length>3?Iz.indexOf(e)+1:Lz.indexOf(e)+1),l}const I$=/^(?:(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 L$(e){const[,t,n,r,o,s,i,l,a,u,c,d]=e,f=zm(t,o,r,n,s,i,l);let p;return a?p=P$[a]:u?p=0:p=yu(c,d),[f,new un(p)]}function N$(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const D$=/^(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$/,R$=/^(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$/,M$=/^(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,l]=e;return[zm(t,o,r,n,s,i,l),un.utcInstance]}function F$(e){const[,t,n,r,o,s,i,l]=e;return[zm(t,l,n,r,o,s,i),un.utcInstance]}const V$=Ms(b$,ym),H$=Ms(C$,ym),U$=Ms(w$,ym),j$=Ms(Hz),jz=Fs(T$,Hs,ta,na),W$=Fs(S$,Hs,ta,na),B$=Fs(x$,Hs,ta,na),q$=Fs(Hs,ta,na);function G$(e){return Vs(e,[V$,jz],[H$,W$],[U$,B$],[j$,q$])}function K$(e){return Vs(N$(e),[I$,L$])}function Z$(e){return Vs(e,[D$,$p],[R$,$p],[M$,F$])}function Y$(e){return Vs(e,[$$,O$])}const X$=Fs(Hs);function J$(e){return Vs(e,[A$,X$])}const Q$=Ms(k$,E$),eO=Ms(Uz),tO=Fs(Hs,ta,na);function nO(e){return Vs(e,[Q$,jz],[eO,tO])}const Op="Invalid Duration",Wz={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}},rO={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},...Wz},In=146097/400,Yo=146097/4800,oO={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:Yo/7,days:Yo,hours:Yo*24,minutes:Yo*24*60,seconds:Yo*24*60*60,milliseconds:Yo*24*60*60*1e3},...Wz},Ao=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],sO=Ao.slice(0).reverse();function qr(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 Bz(e,t){let n=t.milliseconds??0;for(const r of sO.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function Pp(e,t){const n=Bz(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],l=Math.floor(s/i);t[o]+=l*n,t[r]-=l*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 iO(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?oO:rO;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:Cl(t,Ke.normalizeUnit),loc:ct.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(lo(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]=Y$(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]=J$(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 tr?t:new tr(t,n);if(At.throwOnInvalid)throw new $A(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 tz(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):Op}toHuman(t={}){if(!this.isValid)return Op;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+=_m(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},Ae.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?Bz(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)(Es(n.values,o)||Es(this.values,o))&&(r[o]=n.get(o)+this.get(o));return qr(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]=$z(t(this.values[r],r));return qr(this,{values:n},!0)}get(t){return this[Ke.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...Cl(t,Ke.normalizeUnit)};return qr(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 qr(this,i)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Pp(this.matrix,t),qr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=iO(this.normalize().shiftToAll().toObject());return qr(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 l=0;for(const u in r)l+=this.matrix[u][i]*r[u],r[u]=0;lo(o[i])&&(l+=o[i]);const a=Math.trunc(l);n[i]=a,r[i]=(l*1e3-a*1e3)/1e3}else lo(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 Pp(this.matrix,n),qr(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 qr(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 Xo="Invalid Interval";function aO(e,t){return!e||!e.isValid?Tt.invalid("missing or invalid start"):!t||!t.isValid?Tt.invalid("missing or invalid end"):t<e?Tt.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 Tt{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 tr?t:new tr(t,n);if(At.throwOnInvalid)throw new AA(r);return new Tt({invalid:r})}static fromDateTimes(t,n){const r=Ks(t),o=Ks(n),s=aO(r,o);return s??new Tt({start:r,end:o})}static after(t,n){const r=Ke.fromDurationLike(n),o=Ks(t);return Tt.fromDateTimes(o,o.plus(r))}static before(t,n){const r=Ke.fromDurationLike(n),o=Ks(t);return Tt.fromDateTimes(o.minus(r),o)}static fromISO(t,n){const[r,o]=(t||"").split("/",2);if(r&&o){let s,i;try{s=Ae.fromISO(r,n),i=s.isValid}catch{i=!1}let l,a;try{l=Ae.fromISO(o,n),a=l.isValid}catch{a=!1}if(i&&a)return Tt.fromDateTimes(s,l);if(i){const u=Ke.fromISO(o,n);if(u.isValid)return Tt.after(s,u)}else if(a){const u=Ke.fromISO(r,n);if(u.isValid)return Tt.before(l,u)}}return Tt.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?Tt.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Ks).filter(i=>this.contains(i)).sort((i,l)=>i.toMillis()-l.toMillis()),r=[];let{s:o}=this,s=0;for(;o<this.e;){const i=n[s]||this.e,l=+i>+this.e?this.e:i;r.push(Tt.fromDateTimes(o,l)),o=l,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 l=this.start.plus(n.mapUnits(a=>a*o));s=+l>+this.e?this.e:l,i.push(Tt.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:Tt.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 Tt.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(a=>[{time:a.s,type:"s"},{time:a.e,type:"e"}]),i=Array.prototype.concat(...s),l=i.sort((a,u)=>a.time-u.time);for(const a of l)r+=a.type==="s"?1:-1,r===1?n=a.time:(n&&+n!=+a.time&&o.push(Tt.fromDateTimes(n,a.time)),n=null);return Tt.merge(o)}difference(...t){return Tt.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Xo}[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=zl,n={}){return this.isValid?Jt.create(this.s.loc.clone(n),t).formatInterval(this):Xo}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Xo}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Xo}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Xo}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Xo}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):Ke.invalid(this.invalidReason)}mapEndpoints(t){return Tt.fromDateTimes(t(this.s),t(this.e))}}class ba{static hasDST(t=At.defaultZone){const n=Ae.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Mr.isValidZone(t)}static normalizeZone(t){return oo(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:Ez(),localeWeek:Tz()}}}function Ip(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 lO(e,t,n){const r=[["years",(a,u)=>u.year-a.year],["quarters",(a,u)=>u.quarter-a.quarter+(u.year-a.year)*4],["months",(a,u)=>u.month-a.month+(u.year-a.year)*12],["weeks",(a,u)=>{const c=Ip(a,u);return(c-c%7)/7}],["days",Ip]],o={},s=e;let i,l;for(const[a,u]of r)n.indexOf(a)>=0&&(i=a,o[a]=u(e,t),l=s.plus(o),l>t?(o[a]--,e=s.plus(o),e>t&&(l=e,o[a]--,e=s.plus(o))):e=l);return[e,o,l,i]}function uO(e,t,n,r){let[o,s,i,l]=lO(e,t,n);const a=t-o,u=n.filter(d=>["hours","minutes","seconds","milliseconds"].indexOf(d)>=0);u.length===0&&(i<t&&(i=o.plus({[l]:1})),i!==o&&(s[l]=(s[l]||0)+a/(i-o)));const c=Ke.fromObject(s,r);return u.length>0?Ke.fromMillis(a,r).shiftTo(...u).plus(c):c}const cO="missing Intl.DateTimeFormat.formatToParts support";function ot(e,t=n=>n){return{regex:e,deser:([n])=>t(QA(n))}}const dO=" ",qz=`[ ${dO}]`,Gz=new RegExp(qz,"g");function mO(e){return e.replace(/\./g,"\\.?").replace(Gz,qz)}function Lp(e){return e.replace(/\./g,"").replace(Gz," ").toLowerCase()}function Zn(e,t){return e===null?null:{regex:RegExp(e.map(mO).join("|")),deser:([n])=>e.findIndex(r=>Lp(n)===Lp(r))+t}}function Np(e,t){return{regex:e,deser:([,n,r])=>yu(n,r),groups:t}}function Ca(e){return{regex:e,deser:([t])=>t}}function fO(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function pO(e,t){const n=Kn(t),r=Kn(t,"{2}"),o=Kn(t,"{3}"),s=Kn(t,"{4}"),i=Kn(t,"{6}"),l=Kn(t,"{1,2}"),a=Kn(t,"{1,3}"),u=Kn(t,"{1,6}"),c=Kn(t,"{1,9}"),d=Kn(t,"{2,4}"),f=Kn(t,"{4,6}"),p=v=>({regex:RegExp(fO(v.val)),deser:([C])=>C,literal:!0}),_=(v=>{if(e.literal)return p(v);switch(v.val){case"G":return Zn(t.eras("short"),0);case"GG":return Zn(t.eras("long"),0);case"y":return ot(u);case"yy":return ot(d,cd);case"yyyy":return ot(s);case"yyyyy":return ot(f);case"yyyyyy":return ot(i);case"M":return ot(l);case"MM":return ot(r);case"MMM":return Zn(t.months("short",!0),1);case"MMMM":return Zn(t.months("long",!0),1);case"L":return ot(l);case"LL":return ot(r);case"LLL":return Zn(t.months("short",!1),1);case"LLLL":return Zn(t.months("long",!1),1);case"d":return ot(l);case"dd":return ot(r);case"o":return ot(a);case"ooo":return ot(o);case"HH":return ot(r);case"H":return ot(l);case"hh":return ot(r);case"h":return ot(l);case"mm":return ot(r);case"m":return ot(l);case"q":return ot(l);case"qq":return ot(r);case"s":return ot(l);case"ss":return ot(r);case"S":return ot(a);case"SSS":return ot(o);case"u":return Ca(c);case"uu":return Ca(l);case"uuu":return ot(n);case"a":return Zn(t.meridiems(),0);case"kkkk":return ot(s);case"kk":return ot(d,cd);case"W":return ot(l);case"WW":return ot(r);case"E":case"c":return ot(n);case"EEE":return Zn(t.weekdays("short",!1),1);case"EEEE":return Zn(t.weekdays("long",!1),1);case"ccc":return Zn(t.weekdays("short",!0),1);case"cccc":return Zn(t.weekdays("long",!0),1);case"Z":case"ZZ":return Np(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return Np(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return Ca(/[a-z_+-/]{1,256}?/i);case" ":return Ca(/[^\S\n\r]/);default:return p(v)}})(e)||{invalidReason:cO};return _.token=e,_}const hO={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 _O(e,t,n){const{type:r,value:o}=e;if(r==="literal"){const a=/^\s+$/.test(o);return{literal:!a,val:a?" ":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 l=hO[i];if(typeof l=="object"&&(l=l[s]),l)return{literal:!1,val:l}}function gO(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function yO(e,t,n){const r=e.match(t);if(r){const o={};let s=1;for(const i in n)if(Es(n,i)){const l=n[i],a=l.groups?l.groups+1:1;!l.literal&&l.token&&(o[l.token.val[0]]=l.deser(r.slice(s,s+a))),s+=a}return[r,o]}else return[r,{}]}function zO(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=Mr.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=hm(e.u)),[Object.keys(e).reduce((s,i)=>{const l=t(i);return l&&(s[l]=e[i]),s},{}),n,r]}let Xu=null;function vO(){return Xu||(Xu=Ae.fromMillis(1555555555555)),Xu}function bO(e,t){if(e.literal)return e;const n=Jt.macroTokenToFormatOpts(e.val),r=Xz(n,t);return r==null||r.includes(void 0)?e:r}function Kz(e,t){return Array.prototype.concat(...e.map(n=>bO(n,t)))}class Zz{constructor(t,n){if(this.locale=t,this.format=n,this.tokens=Kz(Jt.parseFormat(n),t),this.units=this.tokens.map(r=>pO(r,t)),this.disqualifyingUnit=this.units.find(r=>r.invalidReason),!this.disqualifyingUnit){const[r,o]=gO(this.units);this.regex=RegExp(r,"i"),this.handlers=o}}explainFromTokens(t){if(this.isValid){const[n,r]=yO(t,this.regex,this.handlers),[o,s,i]=r?zO(r):[null,null,void 0];if(Es(r,"a")&&Es(r,"H"))throw new ds("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 Yz(e,t,n){return new Zz(e,n).explainFromTokens(t)}function CO(e,t,n){const{result:r,zone:o,specificOffset:s,invalidReason:i}=Yz(e,t,n);return[r,o,s,i]}function Xz(e,t){if(!e)return null;const r=Jt.create(t,e).dtFormatter(vO()),o=r.formatToParts(),s=r.resolvedOptions();return o.map(i=>_O(i,e,s))}const Ju="Invalid DateTime",wO=864e13;function ri(e){return new tr("unsupported zone",`the zone "${e.name}" is not supported`)}function Qu(e){return e.weekData===null&&(e.weekData=vl(e.c)),e.weekData}function ec(e){return e.localWeekData===null&&(e.localWeekData=vl(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function So(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Ae({...n,...t,old:n})}function Jz(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 wa(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 ja(e,t,n){return Jz(gu(e),t,n)}function Dp(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,bl(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"),l=gu(s);let[a,u]=Jz(l,n,e.zone);return i!==0&&(a+=i,u=e.zone.offset(a)),{ts:a,o:u}}function Jo(e,t,n,r,o,s){const{setZone:i,zone:l}=n;if(e&&Object.keys(e).length!==0||t){const a=t||l,u=Ae.fromObject(e,{...n,zone:a,specificOffset:s});return i?u:u.setZone(l)}else return Ae.invalid(new tr("unparsable",`the input "${o}" can't be parsed as ${r}`))}function Sa(e,t,n=!0){return e.isValid?Jt.create(ct.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function tc(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Lt(e.c.year,n?6:4),t?(r+="-",r+=Lt(e.c.month),r+="-",r+=Lt(e.c.day)):(r+=Lt(e.c.month),r+=Lt(e.c.day)),r}function Rp(e,t,n,r,o,s){let i=Lt(e.c.hour);return t?(i+=":",i+=Lt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=":")):i+=Lt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=Lt(e.c.second),(e.c.millisecond!==0||!r)&&(i+=".",i+=Lt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!s?i+="Z":e.o<0?(i+="-",i+=Lt(Math.trunc(-e.o/60)),i+=":",i+=Lt(Math.trunc(-e.o%60))):(i+="+",i+=Lt(Math.trunc(e.o/60)),i+=":",i+=Lt(Math.trunc(e.o%60)))),s&&(i+="["+e.zone.ianaName+"]"),i}const Qz={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},SO={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},xO={ordinal:1,hour:0,minute:0,second:0,millisecond:0},e1=["year","month","day","hour","minute","second","millisecond"],kO=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],EO=["year","ordinal","hour","minute","second","millisecond"];function TO(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 tz(e);return t}function Mp(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return TO(e)}}function AO(e){return Ba[e]||(Wa===void 0&&(Wa=At.now()),Ba[e]=e.offset(Wa)),Ba[e]}function Fp(e,t){const n=oo(t.zone,At.defaultZone);if(!n.isValid)return Ae.invalid(ri(n));const r=ct.fromObject(t);let o,s;if(De(e.year))o=At.now();else{for(const a of e1)De(e[a])&&(e[a]=Qz[a]);const i=xz(e)||kz(e);if(i)return Ae.invalid(i);const l=AO(n);[o,s]=ja(e,l,n)}return new Ae({ts:o,zone:n,loc:r,o:s})}function Vp(e,t,n){const r=De(n.round)?!0:n.round,o=(i,l)=>(i=_m(i,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(i,l)),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 l=s(i);if(Math.abs(l)>=1)return o(l,i)}return o(e>t?-0:0,n.units[n.units.length-1])}function Hp(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 Wa,Ba={};class Ae{constructor(t){const n=t.zone||At.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new tr("invalid input"):null)||(n.isValid?null:ri(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 l=lo(t.o)&&!t.old?t.o:n.offset(this.ts);o=wa(this.ts,l),r=Number.isNaN(o.year)?new tr("invalid input"):null,o=r?null:o,s=r?null:l}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 Ae({})}static local(){const[t,n]=Hp(arguments),[r,o,s,i,l,a,u]=n;return Fp({year:r,month:o,day:s,hour:i,minute:l,second:a,millisecond:u},t)}static utc(){const[t,n]=Hp(arguments),[r,o,s,i,l,a,u]=n;return t.zone=un.utcInstance,Fp({year:r,month:o,day:s,hour:i,minute:l,second:a,millisecond:u},t)}static fromJSDate(t,n={}){const r=o$(t)?t.valueOf():NaN;if(Number.isNaN(r))return Ae.invalid("invalid input");const o=oo(n.zone,At.defaultZone);return o.isValid?new Ae({ts:r,zone:o,loc:ct.fromObject(n)}):Ae.invalid(ri(o))}static fromMillis(t,n={}){if(lo(t))return t<-864e13||t>wO?Ae.invalid("Timestamp out of range"):new Ae({ts:t,zone:oo(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(lo(t))return new Ae({ts:t*1e3,zone:oo(n.zone,At.defaultZone),loc:ct.fromObject(n)});throw new Kt("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=oo(n.zone,At.defaultZone);if(!r.isValid)return Ae.invalid(ri(r));const o=ct.fromObject(n),s=Cl(t,Mp),{minDaysInFirstWeek:i,startOfWeek:l}=kp(s,o),a=At.now(),u=De(n.specificOffset)?r.offset(a):n.specificOffset,c=!De(s.ordinal),d=!De(s.year),f=!De(s.month)||!De(s.day),p=d||f,h=s.weekYear||s.weekNumber;if((p||c)&&h)throw new ds("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&c)throw new ds("Can't mix ordinal dates with month/day");const _=h||s.weekday&&!p;let v,C,w=wa(a,u);_?(v=kO,C=SO,w=vl(w,i,l)):c?(v=EO,C=xO,w=Yu(w)):(v=e1,C=Qz);let g=!1;for(const F of v){const G=s[F];De(G)?g?s[F]=C[F]:s[F]=w[F]:g=!0}const z=_?t$(s,i,l):c?n$(s):xz(s),S=z||kz(s);if(S)return Ae.invalid(S);const x=_?Sp(s,i,l):c?xp(s):s,[L,N]=ja(x,u,r),E=new Ae({ts:L,zone:r,o:N,loc:o});return s.weekday&&p&&t.weekday!==E.weekday?Ae.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${E.toISO()}`):E.isValid?E:Ae.invalid(E.invalid)}static fromISO(t,n={}){const[r,o]=G$(t);return Jo(r,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,o]=K$(t);return Jo(r,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,o]=Z$(t);return Jo(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}),[l,a,u,c]=CO(i,t,n);return c?Ae.invalid(c):Jo(l,a,r,`format ${n}`,t,u)}static fromString(t,n,r={}){return Ae.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,o]=nO(t);return Jo(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 tr?t:new tr(t,n);if(At.throwOnInvalid)throw new TA(r);return new Ae({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=Xz(t,ct.fromObject(n));return r?r.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return Kz(Jt.parseFormat(t),ct.fromObject(n)).map(o=>o.val).join("")}static resetCache(){Wa=void 0,Ba={}}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?Qu(this).weekYear:NaN}get weekNumber(){return this.isValid?Qu(this).weekNumber:NaN}get weekday(){return this.isValid?Qu(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?ec(this).weekday:NaN}get localWeekNumber(){return this.isValid?ec(this).weekNumber:NaN}get localWeekYear(){return this.isValid?ec(this).weekYear:NaN}get ordinal(){return this.isValid?Yu(this.c).ordinal:NaN}get monthShort(){return this.isValid?ba.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ba.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ba.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ba.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=gu(this.c),o=this.zone.offset(r-t),s=this.zone.offset(r+t),i=this.zone.offset(r-o*n),l=this.zone.offset(r-s*n);if(i===l)return[this];const a=r-i*n,u=r-l*n,c=wa(a,i),d=wa(u,l);return c.hour===d.hour&&c.minute===d.minute&&c.second===d.second&&c.millisecond===d.millisecond?[So(this,{ts:a}),So(this,{ts:u})]:[this]}get isInLeapYear(){return ea(this.year)}get daysInMonth(){return bl(this.year,this.month)}get daysInYear(){return this.isValid?zs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Vi(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Vi(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=oo(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]=ja(i,s,t)}return So(this,{ts:o,zone:t})}else return Ae.invalid(ri(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return So(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=Cl(t,Mp),{minDaysInFirstWeek:r,startOfWeek:o}=kp(n,this.loc),s=!De(n.weekYear)||!De(n.weekNumber)||!De(n.weekday),i=!De(n.ordinal),l=!De(n.year),a=!De(n.month)||!De(n.day),u=l||a,c=n.weekYear||n.weekNumber;if((u||i)&&c)throw new ds("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&i)throw new ds("Can't mix ordinal dates with month/day");let d;s?d=Sp({...vl(this.c,r,o),...n},r,o):De(n.ordinal)?(d={...this.toObject(),...n},De(n.day)&&(d.day=Math.min(bl(d.year,d.month),d.day))):d=xp({...Yu(this.c),...n});const[f,p]=ja(d,this.o,this.zone);return So(this,{ts:f,o:p})}plus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t);return So(this,Dp(this,n))}minus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t).negate();return So(this,Dp(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):Ju}toLocaleString(t=zl,n={}){return this.isValid?Jt.create(this.loc.clone(n),t).formatDateTime(this):Ju}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 l=tc(this,i);return l+="T",l+=Rp(this,i,n,r,o,s),l}toISODate({format:t="extended"}={}){return this.isValid?tc(this,t==="extended"):null}toISOWeekDate(){return Sa(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":"")+Rp(this,i==="extended",n,t,r,s):null}toRFC2822(){return Sa(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Sa(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?tc(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")),Sa(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ju}[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=s$(n).map(Ke.normalizeUnit),i=t.valueOf()>this.valueOf(),l=i?this:t,a=i?t:this,u=uO(l,a,s,o);return i?u.negate():u}diffNow(t="milliseconds",n={}){return this.diff(Ae.now(),t,n)}until(t){return this.isValid?Tt.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||Ae.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),Vp(n,this.plus(r),{...t,numeric:"always",units:o,unit:s})}toRelativeCalendar(t={}){return this.isValid?Vp(t.base||Ae.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Ae.isDateTime))throw new Kt("min requires all arguments be DateTimes");return Ep(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Ae.isDateTime))throw new Kt("max requires all arguments be DateTimes");return Ep(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 Yz(i,t,n)}static fromStringExplain(t,n,r={}){return Ae.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 Zz(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:l,zone:a,specificOffset:u,invalidReason:c}=n.explainFromTokens(t);return c?Ae.invalid(c):Jo(l,a,r,`format ${n.format}`,t,u)}static get DATE_SHORT(){return zl}static get DATE_MED(){return nz}static get DATE_MED_WITH_WEEKDAY(){return OA}static get DATE_FULL(){return rz}static get DATE_HUGE(){return oz}static get TIME_SIMPLE(){return sz}static get TIME_WITH_SECONDS(){return iz}static get TIME_WITH_SHORT_OFFSET(){return az}static get TIME_WITH_LONG_OFFSET(){return lz}static get TIME_24_SIMPLE(){return uz}static get TIME_24_WITH_SECONDS(){return cz}static get TIME_24_WITH_SHORT_OFFSET(){return dz}static get TIME_24_WITH_LONG_OFFSET(){return mz}static get DATETIME_SHORT(){return fz}static get DATETIME_SHORT_WITH_SECONDS(){return pz}static get DATETIME_MED(){return hz}static get DATETIME_MED_WITH_SECONDS(){return _z}static get DATETIME_MED_WITH_WEEKDAY(){return PA}static get DATETIME_FULL(){return gz}static get DATETIME_FULL_WITH_SECONDS(){return yz}static get DATETIME_HUGE(){return zz}static get DATETIME_HUGE_WITH_SECONDS(){return vz}}function Ks(e){if(Ae.isDateTime(e))return e;if(e&&e.valueOf&&lo(e.valueOf()))return Ae.fromJSDate(e);if(e&&typeof e=="object")return Ae.fromObject(e);throw new Kt(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:nc,locale:rc}=cu.global,$O={channels(e){return e===1?nc("filter.mono"):e===2?nc("filter.stereo"):e?nc("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 Ae.fromISO(e).setLocale(rc.value).toLocaleString(Ae.DATE_FULL)},datetime(e){return Ae.fromISO(e).setLocale(rc.value).toLocaleString(Ae.DATETIME_MED)},durationInDays(e){const t=Math.floor(e/60);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(rc.value)},timeFromNow(e){const t=Ae.now().diff(Ae.fromISO(e));return this.durationInDays(t.as("seconds"))}},OO={mdiAccountMusic:iE,mdiAlbum:aE,mdiArrowCollapseDown:uE,mdiBookOpenPageVariant:cE,mdiBookOpenVariant:dE,mdiBookshelf:mE,mdiBroadcast:fE,mdiCancel:Ji,mdiCast:pE,mdiCastVariant:hE,mdiCellphone:_E,mdiCheck:gE,mdiChevronDown:yE,mdiChevronLeft:zE,mdiChevronUp:vE,mdiClose:bE,mdiContentSave:CE,mdiDelete:wE,mdiDeleteEmpty:SE,mdiDotsHorizontal:xE,mdiDotsVertical:kE,mdiDragHorizontal:EE,mdiFastForward30:TE,mdiFileMusic:AE,mdiFileOutline:$E,mdiFire:OE,mdiFolder:PE,mdiFolderOpen:IE,mdiHistory:LE,mdiLoading:NE,mdiMagnify:DE,mdiMenu:RE,mdiMicrophone:ME,mdiMusic:FE,mdiMusicBoxMultiple:VE,mdiOpenInNew:HE,mdiPause:UE,mdiPencil:jE,mdiPipe:WE,mdiPlay:BE,mdiPlaylistPlay:qE,mdiPlaylistPlus:GE,mdiRadio:KE,mdiRadioTower:ZE,mdiRefresh:YE,mdiRepeat:XE,mdiRepeatOff:JE,mdiRepeatOnce:QE,mdiRewind10:e2,mdiRss:t2,mdiScriptTextOutline:n2,mdiScriptTextPlay:r2,mdiServer:o2,mdiShuffle:s2,mdiShuffleDisabled:i2,mdiSkipBackward:a2,mdiSkipForward:l2,mdiSpeaker:u2,mdiSpotify:c2,mdiStop:d2,mdiVolumeHigh:m2,mdiVolumeOff:f2,mdiWeb:p2},PO={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}},IO=e=>e.charAt(0).toUpperCase()+e.slice(1),LO=e=>e.split("-").map(IO).join(""),NO=(e,t,n)=>{const r=e[`mdi${LO(t.name)}`]||lE,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}}},DO=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),RO=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:PO,...t,render:e(r)})}}),MO=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:o}=NO(e,this,this.$attrs);return yr("span",{...n,class:DO(this,this)},[yr("svg",r,[this.title?yr("title",[this.title]):void 0,yr("path",o)])])},FO=RO(MO);/*!
|
||
* vue-router v4.5.0
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const as=typeof document<"u";function t1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function VO(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&t1(e.default)}const ut=Object.assign;function oc(e,t){const n={};for(const r in t){const o=t[r];n[r]=ar(o)?o.map(e):e(o)}return n}const zi=()=>{},ar=Array.isArray,n1=/#/g,HO=/&/g,UO=/\//g,jO=/=/g,WO=/\?/g,r1=/\+/g,BO=/%5B/g,qO=/%5D/g,o1=/%5E/g,GO=/%60/g,s1=/%7B/g,KO=/%7C/g,i1=/%7D/g,ZO=/%20/g;function vm(e){return encodeURI(""+e).replace(KO,"|").replace(BO,"[").replace(qO,"]")}function YO(e){return vm(e).replace(s1,"{").replace(i1,"}").replace(o1,"^")}function dd(e){return vm(e).replace(r1,"%2B").replace(ZO,"+").replace(n1,"%23").replace(HO,"%26").replace(GO,"`").replace(s1,"{").replace(i1,"}").replace(o1,"^")}function XO(e){return dd(e).replace(jO,"%3D")}function JO(e){return vm(e).replace(n1,"%23").replace(WO,"%3F")}function QO(e){return e==null?"":JO(e).replace(UO,"%2F")}function Hi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const e8=/\/$/,t8=e=>e.replace(e8,"");function sc(e,t,n="/"){let r,o={},s="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(r=t.slice(0,a),s=t.slice(a+1,l>-1?l:t.length),o=e(s)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=s8(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:Hi(i)}}function n8(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Up(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function r8(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Ts(t.matched[r],n.matched[o])&&a1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ts(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function a1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!o8(e[n],t[n]))return!1;return!0}function o8(e,t){return ar(e)?jp(e,t):ar(t)?jp(t,e):e===t}function jp(e,t){return ar(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function s8(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,l;for(i=0;i<r.length;i++)if(l=r[i],l!==".")if(l==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Gr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ui;(function(e){e.pop="pop",e.push="push"})(Ui||(Ui={}));var vi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(vi||(vi={}));function i8(e){if(!e)if(as){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),t8(e)}const a8=/^[^#]+#/;function l8(e,t){return e.replace(a8,"#")+t}function u8(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 vu=()=>({left:window.scrollX,top:window.scrollY});function c8(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=u8(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 Wp(e,t){return(history.state?history.state.position-t:-1)+e}const md=new Map;function d8(e,t){md.set(e,t)}function m8(e){const t=md.get(e);return md.delete(e),t}let f8=()=>location.protocol+"//"+location.host;function l1(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let l=o.includes(e.slice(s))?e.slice(s).length:1,a=o.slice(l);return a[0]!=="/"&&(a="/"+a),Up(a,"")}return Up(n,e)+r+o}function p8(e,t,n,r){let o=[],s=[],i=null;const l=({state:f})=>{const p=l1(e,location),h=n.value,_=t.value;let v=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}v=_?f.position-_.position:0}else r(p);o.forEach(C=>{C(n.value,h,{delta:v,type:Ui.pop,direction:v?v>0?vi.forward:vi.back:vi.unknown})})};function a(){i=n.value}function u(f){o.push(f);const p=()=>{const h=o.indexOf(f);h>-1&&o.splice(h,1)};return s.push(p),p}function c(){const{history:f}=window;f.state&&f.replaceState(ut({},f.state,{scroll:vu()}),"")}function d(){for(const f of s)f();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:a,listen:u,destroy:d}}function Bp(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?vu():null}}function h8(e){const{history:t,location:n}=window,r={value:l1(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(a,u,c){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:f8()+e+a;try{t[c?"replaceState":"pushState"](u,"",f),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](f)}}function i(a,u){const c=ut({},t.state,Bp(o.value.back,a,o.value.forward,!0),u,{position:o.value.position});s(a,c,!0),r.value=a}function l(a,u){const c=ut({},o.value,t.state,{forward:a,scroll:vu()});s(c.current,c,!0);const d=ut({},Bp(r.value,a,null),{position:c.position+1},u);s(a,d,!1),r.value=a}return{location:r,state:o,push:l,replace:i}}function _8(e){e=i8(e);const t=h8(e),n=p8(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:l8.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 g8(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),_8(e)}function y8(e){return typeof e=="string"||e&&typeof e=="object"}function u1(e){return typeof e=="string"||typeof e=="symbol"}const c1=Symbol("");var qp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(qp||(qp={}));function As(e,t){return ut(new Error,{type:e,[c1]:!0},t)}function Tr(e,t){return e instanceof Error&&c1 in e&&(t==null||!!(e.type&t))}const Gp="[^/]+?",z8={sensitive:!1,strict:!1,start:!0,end:!0},v8=/[.+*?^${}()[\]/\\]/g;function b8(e,t){const n=ut({},z8,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let d=0;d<u.length;d++){const f=u[d];let p=40+(n.sensitive?.25:0);if(f.type===0)d||(o+="/"),o+=f.value.replace(v8,"\\$&"),p+=40;else if(f.type===1){const{value:h,repeatable:_,optional:v,regexp:C}=f;s.push({name:h,repeatable:_,optional:v});const w=C||Gp;if(w!==Gp){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})`;d||(g=v&&u.length<2?`(?:/${g})`:"/"+g),v&&(g+="?"),o+=g,p+=20,v&&(p+=-8),_&&(p+=-20),w===".*"&&(p+=-50)}c.push(p)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function l(u){const c=u.match(i),d={};if(!c)return null;for(let f=1;f<c.length;f++){const p=c[f]||"",h=s[f-1];d[h.name]=p&&h.repeatable?p.split("/"):p}return d}function a(u){let c="",d=!1;for(const f of e){(!d||!c.endsWith("/"))&&(c+="/"),d=!1;for(const p of f)if(p.type===0)c+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:v}=p,C=h in u?u[h]:"";if(ar(C)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const w=ar(C)?C.join("/"):C;if(!w)if(v)f.length<2&&(c.endsWith("/")?c=c.slice(0,-1):d=!0);else throw new Error(`Missing required param "${h}"`);c+=w}}return c||"/"}return{re:i,score:r,keys:s,parse:l,stringify:a}}function C8(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 d1(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=C8(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Kp(r))return 1;if(Kp(o))return-1}return o.length-r.length}function Kp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const w8={type:0,value:""},S8=/[a-zA-Z0-9_]/;function x8(e){if(!e)return[[]];if(e==="/")return[[w8]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let l=0,a,u="",c="";function d(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:a==="/"?(u&&d(),i()):a===":"?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:a==="("?n=2:S8.test(a)?f():(d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+a:n=3:c+=a;break;case 3:d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),d(),i(),o}function k8(e,t,n){const r=b8(x8(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 E8(e,t){const n=[],r=new Map;t=Jp({strict:!1,end:!0,sensitive:!1},t);function o(d){return r.get(d)}function s(d,f,p){const h=!p,_=Yp(d);_.aliasOf=p&&p.record;const v=Jp(t,d),C=[_];if("alias"in d){const z=typeof d.alias=="string"?[d.alias]:d.alias;for(const S of z)C.push(Yp(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 x=f.record.path,L=x[x.length-1]==="/"?"":"/";z.path=f.record.path+(S&&L+S)}if(w=k8(z,f,v),p?p.alias.push(w):(g=g||w,g!==w&&g.alias.push(w),h&&d.name&&!Xp(w)&&i(d.name)),m1(w)&&a(w),_.children){const x=_.children;for(let L=0;L<x.length;L++)s(x[L],w,p&&p.children[L])}p=p||w}return g?()=>{i(g)}:zi}function i(d){if(u1(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function a(d){const f=$8(d,n);n.splice(f,0,d),d.record.name&&!Xp(d)&&r.set(d.record.name,d)}function u(d,f){let p,h={},_,v;if("name"in d&&d.name){if(p=r.get(d.name),!p)throw As(1,{location:d});v=p.record.name,h=ut(Zp(f.params,p.keys.filter(g=>!g.optional).concat(p.parent?p.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),d.params&&Zp(d.params,p.keys.map(g=>g.name))),_=p.stringify(h)}else if(d.path!=null)_=d.path,p=n.find(g=>g.re.test(_)),p&&(h=p.parse(_),v=p.record.name);else{if(p=f.name?r.get(f.name):n.find(g=>g.re.test(f.path)),!p)throw As(1,{location:d,currentLocation:f});v=p.record.name,h=ut({},f.params,d.params),_=p.stringify(h)}const C=[];let w=p;for(;w;)C.unshift(w.record),w=w.parent;return{name:v,path:_,params:h,matched:C,meta:A8(C)}}e.forEach(d=>s(d));function c(){n.length=0,r.clear()}return{addRoute:s,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:l,getRecordMatcher:o}}function Zp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Yp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:T8(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 T8(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 Xp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function A8(e){return e.reduce((t,n)=>ut(t,n.meta),{})}function Jp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function $8(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;d1(e,t[s])<0?r=s:n=s+1}const o=O8(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function O8(e){let t=e;for(;t=t.parent;)if(m1(t)&&d1(e,t)===0)return t}function m1({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function P8(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(r1," "),i=s.indexOf("="),l=Hi(i<0?s:s.slice(0,i)),a=i<0?null:Hi(s.slice(i+1));if(l in t){let u=t[l];ar(u)||(u=t[l]=[u]),u.push(a)}else t[l]=a}return t}function Qp(e){let t="";for(let n in e){const r=e[n];if(n=XO(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(ar(r)?r.map(s=>s&&dd(s)):[r&&dd(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function I8(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ar(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const L8=Symbol(""),eh=Symbol(""),bm=Symbol(""),f1=Symbol(""),fd=Symbol("");function Zs(){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 no(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((l,a)=>{const u=f=>{f===!1?a(As(4,{from:n,to:t})):f instanceof Error?a(f):y8(f)?a(As(2,{from:t,to:f})):(i&&r.enterCallbacks[o]===i&&typeof f=="function"&&i.push(f),l())},c=s(()=>e.call(r&&r.instances[o],t,n,u));let d=Promise.resolve(c);e.length<3&&(d=d.then(u)),d.catch(f=>a(f))})}function ic(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(t1(a)){const c=(a.__vccOpts||a)[t];c&&s.push(no(c,n,r,i,l,o))}else{let u=a();s.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=VO(c)?c.default:c;i.mods[l]=c,i.components[l]=d;const p=(d.__vccOpts||d)[t];return p&&no(p,n,r,i,l,o)()}))}}return s}function th(e){const t=Vn(bm),n=Vn(f1),r=Ut(()=>{const a=zn(e.to);return t.resolve(a)}),o=Ut(()=>{const{matched:a}=r.value,{length:u}=a,c=a[u-1],d=n.matched;if(!c||!d.length)return-1;const f=d.findIndex(Ts.bind(null,c));if(f>-1)return f;const p=nh(a[u-2]);return u>1&&nh(c)===p&&d[d.length-1].path!==p?d.findIndex(Ts.bind(null,a[u-2])):f}),s=Ut(()=>o.value>-1&&F8(n.params,r.value.params)),i=Ut(()=>o.value>-1&&o.value===n.matched.length-1&&a1(n.params,r.value.params));function l(a={}){if(M8(a)){const u=t[zn(e.replace)?"replace":"push"](zn(e.to)).catch(zi);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Ut(()=>r.value.href),isActive:s,isExactActive:i,navigate:l}}function N8(e){return e.length===1?e[0]:e}const D8=Fr({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:th,setup(e,{slots:t}){const n=Ps(th(e)),{options:r}=Vn(bm),o=Ut(()=>({[rh(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[rh(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&N8(t.default(n));return e.custom?s:yr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),R8=D8;function M8(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 F8(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(!ar(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function nh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const rh=(e,t,n)=>e??t??n,V8=Fr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Vn(fd),o=Ut(()=>e.route||r.value),s=Vn(eh,0),i=Ut(()=>{let u=zn(s);const{matched:c}=o.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),l=Ut(()=>o.value.matched[i.value]);fi(eh,Ut(()=>i.value+1)),fi(L8,l),fi(fd,o);const a=Fn();return Tn(()=>[a.value,l.value,e.name],([u,c,d],[f,p,h])=>{c&&(c.instances[d]=u,p&&p!==c&&u&&u===f&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!Ts(c,p)||!f)&&(c.enterCallbacks[d]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,d=l.value,f=d&&d.components[c];if(!f)return oh(n.default,{Component:f,route:u});const p=d.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,v=yr(f,ut({},h,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(d.instances[c]=null)},ref:a}));return oh(n.default,{Component:v,route:u})||v}}});function oh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const H8=V8;function U8(e){const t=E8(e.routes,e),n=e.parseQuery||P8,r=e.stringifyQuery||Qp,o=e.history,s=Zs(),i=Zs(),l=Zs(),a=Wl(Gr);let u=Gr;as&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=oc.bind(null,Z=>""+Z),d=oc.bind(null,QO),f=oc.bind(null,Hi);function p(Z,me){let ce,ye;return u1(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 v(Z){return!!t.getRecordMatcher(Z)}function C(Z,me){if(me=ut({},me||a.value),typeof Z=="string"){const I=sc(n,Z,me.path),j=t.resolve({path:I.path},me),ee=o.createHref(I.fullPath);return ut(I,j,{params:f(j.params),hash:Hi(I.hash),redirectedFrom:void 0,href:ee})}let ce;if(Z.path!=null)ce=ut({},Z,{path:sc(n,Z.path,me.path).path});else{const I=ut({},Z.params);for(const j in I)I[j]==null&&delete I[j];ce=ut({},Z,{params:d(I)}),me.params=d(me.params)}const ye=t.resolve(ce,me),Ue=Z.hash||"";ye.params=c(f(ye.params));const Ge=n8(r,ut({},Z,{hash:YO(Ue),path:ye.path})),O=o.createHref(Ge);return ut({fullPath:Ge,hash:Ue,query:r===Qp?I8(Z.query):Z.query||{}},ye,{redirectedFrom:void 0,href:O})}function w(Z){return typeof Z=="string"?sc(n,Z,a.value.path):ut({},Z)}function g(Z,me){if(u!==Z)return As(8,{from:me,to:Z})}function z(Z){return L(Z)}function S(Z){return z(ut(w(Z),{replace:!0}))}function x(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=u=C(Z),ye=a.value,Ue=Z.state,Ge=Z.force,O=Z.replace===!0,I=x(ce);if(I)return L(ut(w(I),{state:typeof I=="object"?ut({},Ue,I.state):Ue,force:Ge,replace:O}),me||ce);const j=ce;j.redirectedFrom=me;let ee;return!Ge&&r8(r,ye,ce)&&(ee=As(16,{to:j,from:ye}),Ve(ye,ye,!0,!1)),(ee?Promise.resolve(ee):F(j,ye)).catch(X=>Tr(X)?Tr(X,2)?X:it(X):ue(X,j,ye)).then(X=>{if(X){if(Tr(X,2))return L(ut({replace:O},w(X.to),{state:typeof X.to=="object"?ut({},Ue,X.to.state):Ue,force:Ge}),me||j)}else X=U(j,ye,!0,O,Ue);return G(j,ye,X),X})}function N(Z,me){const ce=g(Z,me);return ce?Promise.reject(ce):Promise.resolve()}function E(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]=j8(Z,me);ce=ic(ye.reverse(),"beforeRouteLeave",Z,me);for(const I of ye)I.leaveGuards.forEach(j=>{ce.push(no(j,Z,me))});const O=N.bind(null,Z,me);return ce.push(O),Be(ce).then(()=>{ce=[];for(const I of s.list())ce.push(no(I,Z,me));return ce.push(O),Be(ce)}).then(()=>{ce=ic(Ue,"beforeRouteUpdate",Z,me);for(const I of Ue)I.updateGuards.forEach(j=>{ce.push(no(j,Z,me))});return ce.push(O),Be(ce)}).then(()=>{ce=[];for(const I of Ge)if(I.beforeEnter)if(ar(I.beforeEnter))for(const j of I.beforeEnter)ce.push(no(j,Z,me));else ce.push(no(I.beforeEnter,Z,me));return ce.push(O),Be(ce)}).then(()=>(Z.matched.forEach(I=>I.enterCallbacks={}),ce=ic(Ge,"beforeRouteEnter",Z,me,E),ce.push(O),Be(ce))).then(()=>{ce=[];for(const I of i.list())ce.push(no(I,Z,me));return ce.push(O),Be(ce)}).catch(I=>Tr(I,8)?I:Promise.reject(I))}function G(Z,me,ce){l.list().forEach(ye=>E(()=>ye(Z,me,ce)))}function U(Z,me,ce,ye,Ue){const Ge=g(Z,me);if(Ge)return Ge;const O=me===Gr,I=as?history.state:{};ce&&(ye||O?o.replace(Z.fullPath,ut({scroll:O&&I&&I.scroll},Ue)):o.push(Z.fullPath,Ue)),a.value=Z,Ve(Z,me,ce,O),it()}let B;function Q(){B||(B=o.listen((Z,me,ce)=>{if(!dt.listening)return;const ye=C(Z),Ue=x(ye);if(Ue){L(ut(Ue,{replace:!0,force:!0}),ye).catch(zi);return}u=ye;const Ge=a.value;as&&d8(Wp(Ge.fullPath,ce.delta),vu()),F(ye,Ge).catch(O=>Tr(O,12)?O:Tr(O,2)?(L(ut(w(O.to),{force:!0}),ye).then(I=>{Tr(I,20)&&!ce.delta&&ce.type===Ui.pop&&o.go(-1,!1)}).catch(zi),Promise.reject()):(ce.delta&&o.go(-ce.delta,!1),ue(O,ye,Ge))).then(O=>{O=O||U(ye,Ge,!1),O&&(ce.delta&&!Tr(O,8)?o.go(-ce.delta,!1):ce.type===Ui.pop&&Tr(O,20)&&o.go(-1,!1)),G(ye,Ge,O)}).catch(zi)}))}let fe=Zs(),K=Zs(),te;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 te&&a.value!==Gr?Promise.resolve():new Promise((Z,me)=>{fe.add([Z,me])})}function it(Z){return te||(te=!Z,Q(),fe.list().forEach(([me,ce])=>Z?ce(Z):me()),fe.reset()),Z}function Ve(Z,me,ce,ye){const{scrollBehavior:Ue}=e;if(!as||!Ue)return Promise.resolve();const Ge=!ce&&m8(Wp(Z.fullPath,0))||(ye||!ce)&&history.state&&history.state.scroll||null;return Ho().then(()=>Ue(Z,me,Ge)).then(O=>O&&c8(O)).catch(O=>ue(O,Z,me))}const He=Z=>o.go(Z);let at;const lt=new Set,dt={currentRoute:a,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:_,resolve:C,options:e,push:z,replace:S,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:s.add,beforeResolve:i.add,afterEach:l.add,onError:K.add,isReady:Ne,install(Z){const me=this;Z.component("RouterLink",R8),Z.component("RouterView",H8),Z.config.globalProperties.$router=me,Object.defineProperty(Z.config.globalProperties,"$route",{enumerable:!0,get:()=>zn(a)}),as&&!at&&a.value===Gr&&(at=!0,z(o.location).catch(Ue=>{}));const ce={};for(const Ue in Gr)Object.defineProperty(ce,Ue,{get:()=>a.value[Ue],enumerable:!0});Z.provide(bm,me),Z.provide(f1,Od(ce)),Z.provide(fd,a);const ye=Z.unmount;lt.add(Z),Z.unmount=function(){lt.delete(Z),lt.size<1&&(u=Gr,B&&B(),B=null,a.value=Gr,at=!1,te=!1),ye()}}};function Be(Z){return Z.reduce((me,ce)=>me.then(()=>E(ce)),Promise.resolve())}return dt}function j8(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const l=t.matched[i];l&&(e.matched.find(u=>Ts(u,l))?r.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(u=>Ts(u,a))||o.push(a))}return[n,r,o]}const W8={name:"PageAbout",setup(){return{configurationStore:Mo(),libraryStore:du(),uiStore:wn()}},computed:{configuration(){return this.configurationStore.$state},library(){return this.libraryStore.$state}},methods:{showUpdateDialog(){this.uiStore.show_update_dialog=!0}}},B8={class:"section"},q8={class:"container"},G8={class:"columns is-centered"},K8={class:"column is-four-fifths"},Z8={class:"content"},Y8={class:"level"},X8={class:"level-left"},J8={class:"level-item"},Q8=["textContent"],eP={class:"level-right"},tP={key:0},nP=["textContent"],rP={key:1},oP=["textContent"],sP={class:"media"},iP=["textContent"],aP=["textContent"],lP={class:"media"},uP=["textContent"],cP=["textContent"],dP={class:"media"},mP=["textContent"],fP=["textContent"],pP={class:"media"},hP=["textContent"],_P=["textContent"],gP={class:"media"},yP=["textContent"],zP=["textContent"],vP={class:"media"},bP=["textContent"],CP={class:"media-right"},wP=["textContent"],SP=["textContent"],xP={class:"media"},kP=["textContent"],EP={class:"media-right"},TP=["textContent"],AP=["textContent"],$P={class:"section"},OP={class:"container"},PP={class:"columns is-centered"},IP={class:"column is-four-fifths"},LP={class:"content has-text-centered-mobile"},NP=["textContent"],DP=["textContent"],RP=["textContent"];function MP(e,t,n,r,o,s){const i=T("i18n-t");return A(),D(ze,null,[m("section",B8,[m("div",q8,[m("div",G8,[m("div",K8,[m("div",Z8,[m("nav",Y8,[m("div",X8,[m("div",J8,[m("p",{class:"title is-4",textContent:y(e.$t("page.about.library"))},null,8,Q8)])]),m("div",eP,[s.library.updating?(A(),D("div",tP,[m("a",{class:"button is-small is-loading",textContent:y(e.$t("page.about.update"))},null,8,nP)])):(A(),D("div",rP,[m("a",{class:"button is-small",onClick:t[0]||(t[0]=l=>s.showUpdateDialog()),textContent:y(e.$t("page.about.update"))},null,8,oP)]))])]),m("div",sP,[m("div",{class:"media-content has-text-weight-bold",textContent:y(e.$t("page.about.name"))},null,8,iP),m("div",{class:"media-right",textContent:y(s.configuration.library_name)},null,8,aP)]),m("div",lP,[m("div",{class:"media-content has-text-weight-bold",textContent:y(e.$t("page.about.artists"))},null,8,uP),m("div",{class:"media-right",textContent:y(e.$filters.number(s.library.artists))},null,8,cP)]),m("div",dP,[m("div",{class:"media-content has-text-weight-bold",textContent:y(e.$t("page.about.albums"))},null,8,mP),m("div",{media:"media-right",textContent:y(e.$filters.number(s.library.albums))},null,8,fP)]),m("div",pP,[m("div",{class:"media-content has-text-weight-bold",textContent:y(e.$t("page.about.tracks"))},null,8,hP),m("div",{class:"media-right",textContent:y(e.$filters.number(s.library.songs))},null,8,_P)]),m("div",gP,[m("div",{class:"media-content has-text-weight-bold",textContent:y(e.$t("page.about.total-playtime"))},null,8,yP),m("div",{class:"media-right",textContent:y(e.$filters.durationInDays(s.library.db_playtime))},null,8,zP)]),m("div",vP,[m("div",{class:"media-content has-text-weight-bold",textContent:y(e.$t("page.about.updated"))},null,8,bP),m("div",CP,[m("span",{textContent:y(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(s.library.updated_at)}))},null,8,wP),t[1]||(t[1]=Rt(" (")),m("span",{class:"has-text-grey",textContent:y(e.$filters.datetime(s.library.updated_at))},null,8,SP),t[2]||(t[2]=Rt(") "))])]),m("div",xP,[m("div",{class:"media-content has-text-weight-bold",textContent:y(e.$t("page.about.uptime"))},null,8,kP),m("div",EP,[m("span",{textContent:y(e.$filters.timeFromNow(s.library.started_at,!0))},null,8,TP),t[3]||(t[3]=Rt(" (")),m("span",{class:"has-text-grey",textContent:y(e.$filters.datetime(s.library.started_at))},null,8,AP),t[4]||(t[4]=Rt(") "))])])])])])])]),m("section",$P,[m("div",OP,[m("div",PP,[m("div",IP,[m("div",LP,[m("p",{class:"is-size-7",textContent:y(e.$t("page.about.version",{version:s.configuration.version}))},null,8,NP),m("p",{class:"is-size-7",textContent:y(e.$t("page.about.compiled-with",{options:s.configuration.buildoptions.join(", ")}))},null,8,DP),b(i,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:P(()=>t[5]||(t[5]=[m("a",{href:"https://bulma.io"},"Bulma",-1)])),mdi:P(()=>t[6]||(t[6]=[m("a",{href:"https://pictogrammers.com/library/mdi/"}," Material Design Icons ",-1)])),vuejs:P(()=>t[7]||(t[7]=[m("a",{href:"https://vuejs.org/"},"Vue.js",-1)])),axios:P(()=>t[8]||(t[8]=[m("a",{href:"https://github.com/axios/axios"},"axios",-1)])),others:P(()=>[m("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:y(e.$t("page.about.more"))},null,8,RP)]),_:1})])])])])])],64)}const FP=ae(W8,[["render",MP]]),VP={},HP={class:"hero is-light is-bold"},UP={class:"hero-body"},jP={class:"container"},WP={class:"columns is-centered"},BP={class:"column is-four-fifths"},qP={class:"columns is-flex-direction-row-reverse"},GP={class:"column fd-has-cover"},KP={class:"column m-auto is-three-fifths has-text-centered-mobile"},ZP={class:"section pt-0"},YP={class:"container"},XP={class:"columns is-centered"},JP={class:"column is-four-fifths"};function QP(e,t){return A(),D(ze,null,[m("section",HP,[m("div",UP,[m("div",jP,[m("div",WP,[m("div",BP,[m("div",qP,[m("div",GP,[mt(e.$slots,"heading-right")]),m("div",KP,[mt(e.$slots,"heading-left")])])])])])])]),m("section",ZP,[m("div",YP,[m("div",XP,[m("div",JP,[mt(e.$slots,"content"),mt(e.$slots,"footer")])])])])],64)}const bu=ae(VP,[["render",QP]]),eI=e=>{let t=0;for(const n of e)t=n.charCodeAt(0)+((t<<5)-t);return(t&16777215).toString(16)},tI=e=>[.2126,.7152,.0722].reduce((t,n,r)=>t+ +`0x${e.slice(r*2,r*2+2)}`*n,0)/255,nI=e=>{const t=eI(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="${tI(t)>.5?"#000000":"#FFFFFF"}">
|
||
${e.caption}
|
||
</text>
|
||
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},rI={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 nI({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function oI(e,t,n,r,o,s){const i=Vd("lazy");return A(),D("figure",null,[Bt(m("img",{onClick:t[0]||(t[0]=l=>e.$emit("click"))},null,512),[[i,{src:n.url,lifecycle:o.lifecycle}]])])}const Hr=ae(rI,[["render",oI]]),{t:xa,locale:sI}=cu.global,p1="NO_INDEX",iI=(e,t)=>e-t,aI=(e,t)=>e.localeCompare(t,sI.value),lI=(e,t)=>new Date(e)-new Date(t)||(e?t?0:1:-1),uI=e=>e.map(({field:t,type:n,order:r=1})=>{switch(n){case String:return(o,s)=>aI(o[t],s[t])*r;case Number:return(o,s)=>iI(o[t],s[t])*r;case Date:return(o,s)=>lI(o[t],s[t])*r;default:return()=>0}}),cI=(e="")=>{const t=e.charAt(0);return t.match(new RegExp("\\p{Letter}","gu"))?t.toUpperCase():t.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},dI=e=>{},mI=[{difference:NaN,text:()=>xa("grouped-list.undefined")},{difference:864e5,text:()=>xa("grouped-list.today")},{difference:6048e5,text:()=>xa("grouped-list.last-week")},{difference:2592e6,text:()=>xa("grouped-list.last-month")},{difference:1/0,text:e=>e.getFullYear()}],fI=e=>{var r;const t=new Date(e),n=new Date-t;return(r=mI.find(o=>isNaN(n)||n<o.difference))==null?void 0:r.text(t)},pI=({field:e,type:t}={})=>{switch(t){case String:return n=>cI(n[e]);case Number:return n=>n[e];case Date:return n=>fI(n[e]);case"Digits":return n=>dI(n[e]);default:return()=>p1}};class ke{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(a=>n.every(u=>u(a)));this.count=o.length;const s=uI(t),i=o.sort((a,u)=>s.reduce((c,d)=>c||d(a,u),0)),l=pI(r);return this.itemsGrouped=i.reduce((a,u)=>{const c=l(u);return a.set(c,[...a.get(c)||[],u]),a},new Map),this.indices=Array.from(this.itemsGrouped.keys()),this}*generate(){for(const[t,n]of this.itemsGrouped.entries()){t!==p1&&(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 h1={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(v){_.resolve(v)},function(v){_.reject(v)}),h=_.promise}else window.Promise&&(h=new window.Promise(f));return h?new s(h,p):null},l=function(){var f=Array.prototype.slice.call(arguments),p=f[0],h=f.slice(1);return p=p||{},h.forEach(function(_){for(var v in _)_.hasOwnProperty(v)&&(p[v]=_[v])}),p},a=function(f,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var v=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(v)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},u=function(f,p){var h=new XMLHttpRequest,_=function(v,C){function w(x){v&&v(x),p&&p(null,x)}function g(){C&&C(h),p&&p(h,null)}var z=f.type||"GET";if(h.open(z,a(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var x=null;try{x=h.responseText?JSON.parse(h.responseText):""}catch(L){console.error(L)}h.status>=200&&h.status<300?w(x):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()})},c=function(f,p,h,_){var v={},C=null;typeof p=="object"?(v=p,C=h):typeof p=="function"&&(C=p);var w=f.type||"GET";return w!=="GET"&&f.postData&&!_?f.postData=l(f.postData,v):f.params=l(f.params,v),u(f,C)},d=function(){};return d.prototype={constructor:t},d.prototype.getGeneric=function(f,p){var h={url:f};return c(h,p)},d.prototype.getMe=function(f,p){var h={url:n+"/me"};return c(h,f,p)},d.prototype.getMySavedTracks=function(f,p){var h={url:n+"/me/tracks"};return c(h,f,p)},d.prototype.addToMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:f};return c(_,p,h)},d.prototype.removeFromMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:f};return c(_,p,h)},d.prototype.containsMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks/contains",params:{ids:f.join(",")}};return c(_,p,h)},d.prototype.getMySavedAlbums=function(f,p){var h={url:n+"/me/albums"};return c(h,f,p)},d.prototype.addToMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"PUT",postData:f};return c(_,p,h)},d.prototype.removeFromMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:f};return c(_,p,h)},d.prototype.containsMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums/contains",params:{ids:f.join(",")}};return c(_,p,h)},d.prototype.getMyTopArtists=function(f,p){var h={url:n+"/me/top/artists"};return c(h,f,p)},d.prototype.getMyTopTracks=function(f,p){var h={url:n+"/me/top/tracks"};return c(h,f,p)},d.prototype.getMyRecentlyPlayedTracks=function(f,p){var h={url:n+"/me/player/recently-played"};return c(h,f,p)},d.prototype.followUsers=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"user"}};return c(h,p)},d.prototype.followArtists=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"artist"}};return c(h,p)},d.prototype.followPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers",type:"PUT",postData:{}};return c(_,p,h)},d.prototype.unfollowUsers=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"user"}};return c(h,p)},d.prototype.unfollowArtists=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"artist"}};return c(h,p)},d.prototype.unfollowPlaylist=function(f,p){var h={url:n+"/playlists/"+f+"/followers",type:"DELETE"};return c(h,p)},d.prototype.isFollowingUsers=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"user"}};return c(h,p)},d.prototype.isFollowingArtists=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"artist"}};return c(h,p)},d.prototype.areFollowingPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return c(_,h)},d.prototype.getFollowedArtists=function(f,p){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return c(h,f,p)},d.prototype.getUser=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)};return c(_,p,h)},d.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),c(_,p,h)},d.prototype.getPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f};return c(_,p,h)},d.prototype.getPlaylistTracks=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks"};return c(_,p,h)},d.prototype.getPlaylistCoverImage=function(f,p){var h={url:n+"/playlists/"+f+"/images"};return c(h,p)},d.prototype.createPlaylist=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)+"/playlists",type:"POST",postData:p};return c(_,p,h)},d.prototype.changePlaylistDetails=function(f,p,h){var _={url:n+"/playlists/"+f,type:"PUT",postData:p};return c(_,p,h)},d.prototype.addTracksToPlaylist=function(f,p,h,_){var v={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:p}};return c(v,h,_,!0)},d.prototype.replaceTracksInPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{uris:p}};return c(_,{},h)},d.prototype.reorderTracksInPlaylist=function(f,p,h,_,v){var C={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return c(C,_,v)},d.prototype.removeTracksFromPlaylist=function(f,p,h){var _=p.map(function(C){return typeof C=="string"?{uri:C}:C}),v={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:_}};return c(v,{},h)},d.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,p,h,_){var v=p.map(function(w){return typeof w=="string"?{uri:w}:w}),C={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:v,snapshot_id:h}};return c(C,{},_)},d.prototype.removeTracksFromPlaylistInPositions=function(f,p,h,_){var v={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return c(v,{},_)},d.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 c(_,{},h)},d.prototype.getAlbum=function(f,p,h){var _={url:n+"/albums/"+f};return c(_,p,h)},d.prototype.getAlbumTracks=function(f,p,h){var _={url:n+"/albums/"+f+"/tracks"};return c(_,p,h)},d.prototype.getAlbums=function(f,p,h){var _={url:n+"/albums/",params:{ids:f.join(",")}};return c(_,p,h)},d.prototype.getTrack=function(f,p,h){var _={};return _.url=n+"/tracks/"+f,c(_,p,h)},d.prototype.getTracks=function(f,p,h){var _={url:n+"/tracks/",params:{ids:f.join(",")}};return c(_,p,h)},d.prototype.getArtist=function(f,p,h){var _={url:n+"/artists/"+f};return c(_,p,h)},d.prototype.getArtists=function(f,p,h){var _={url:n+"/artists/",params:{ids:f.join(",")}};return c(_,p,h)},d.prototype.getArtistAlbums=function(f,p,h){var _={url:n+"/artists/"+f+"/albums"};return c(_,p,h)},d.prototype.getArtistTopTracks=function(f,p,h,_){var v={url:n+"/artists/"+f+"/top-tracks",params:{country:p}};return c(v,h,_)},d.prototype.getArtistRelatedArtists=function(f,p,h){var _={url:n+"/artists/"+f+"/related-artists"};return c(_,p,h)},d.prototype.getFeaturedPlaylists=function(f,p){var h={url:n+"/browse/featured-playlists"};return c(h,f,p)},d.prototype.getNewReleases=function(f,p){var h={url:n+"/browse/new-releases"};return c(h,f,p)},d.prototype.getCategories=function(f,p){var h={url:n+"/browse/categories"};return c(h,f,p)},d.prototype.getCategory=function(f,p,h){var _={url:n+"/browse/categories/"+f};return c(_,p,h)},d.prototype.getCategoryPlaylists=function(f,p,h){var _={url:n+"/browse/categories/"+f+"/playlists"};return c(_,p,h)},d.prototype.search=function(f,p,h,_){var v={url:n+"/search/",params:{q:f,type:p.join(",")}};return c(v,h,_)},d.prototype.searchAlbums=function(f,p,h){return this.search(f,["album"],p,h)},d.prototype.searchArtists=function(f,p,h){return this.search(f,["artist"],p,h)},d.prototype.searchTracks=function(f,p,h){return this.search(f,["track"],p,h)},d.prototype.searchPlaylists=function(f,p,h){return this.search(f,["playlist"],p,h)},d.prototype.searchShows=function(f,p,h){return this.search(f,["show"],p,h)},d.prototype.searchEpisodes=function(f,p,h){return this.search(f,["episode"],p,h)},d.prototype.getAudioFeaturesForTrack=function(f,p){var h={};return h.url=n+"/audio-features/"+f,c(h,{},p)},d.prototype.getAudioFeaturesForTracks=function(f,p){var h={url:n+"/audio-features",params:{ids:f}};return c(h,{},p)},d.prototype.getAudioAnalysisForTrack=function(f,p){var h={};return h.url=n+"/audio-analysis/"+f,c(h,{},p)},d.prototype.getRecommendations=function(f,p){var h={url:n+"/recommendations"};return c(h,f,p)},d.prototype.getAvailableGenreSeeds=function(f){var p={url:n+"/recommendations/available-genre-seeds"};return c(p,{},f)},d.prototype.getMyDevices=function(f){var p={url:n+"/me/player/devices"};return c(p,{},f)},d.prototype.getMyCurrentPlaybackState=function(f,p){var h={url:n+"/me/player"};return c(h,f,p)},d.prototype.getMyCurrentPlayingTrack=function(f,p){var h={url:n+"/me/player/currently-playing"};return c(h,f,p)},d.prototype.transferMyPlayback=function(f,p,h){var _=p||{};_.device_ids=f;var v={type:"PUT",url:n+"/me/player",postData:_};return c(v,p,h)},d.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 v={type:"PUT",url:n+"/me/player/play",params:h,postData:_},C=typeof f=="function"?f:{};return c(v,C,p)},d.prototype.queue=function(f,p,h){p=p||{};var _="device_id"in p?{uri:f,device_id:p.device_id}:{uri:f},v={type:"POST",url:n+"/me/player/queue",params:_};return c(v,p,h)},d.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 c(_,f,p)},d.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 c(_,f,p)},d.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 c(_,f,p)},d.prototype.seek=function(f,p,h){p=p||{};var _={position_ms:f};"device_id"in p&&(_.device_id=p.device_id);var v={type:"PUT",url:n+"/me/player/seek",params:_};return c(v,p,h)},d.prototype.setRepeat=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var v={type:"PUT",url:n+"/me/player/repeat",params:_};return c(v,p,h)},d.prototype.setVolume=function(f,p,h){p=p||{};var _={volume_percent:f};"device_id"in p&&(_.device_id=p.device_id);var v={type:"PUT",url:n+"/me/player/volume",params:_};return c(v,p,h)},d.prototype.setShuffle=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var v={type:"PUT",url:n+"/me/player/shuffle",params:_};return c(v,p,h)},d.prototype.getShow=function(f,p,h){var _={};return _.url=n+"/shows/"+f,c(_,p,h)},d.prototype.getShows=function(f,p,h){var _={url:n+"/shows/",params:{ids:f.join(",")}};return c(_,p,h)},d.prototype.getMySavedShows=function(f,p){var h={url:n+"/me/shows"};return c(h,f,p)},d.prototype.addToMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"PUT",postData:f};return c(_,p,h)},d.prototype.removeFromMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:f};return c(_,p,h)},d.prototype.containsMySavedShows=function(f,p,h){var _={url:n+"/me/shows/contains",params:{ids:f.join(",")}};return c(_,p,h)},d.prototype.getShowEpisodes=function(f,p,h){var _={url:n+"/shows/"+f+"/episodes"};return c(_,p,h)},d.prototype.getEpisode=function(f,p,h){var _={};return _.url=n+"/episodes/"+f,c(_,p,h)},d.prototype.getEpisodes=function(f,p,h){var _={url:n+"/episodes/",params:{ids:f.join(",")}};return c(_,p,h)},d.prototype.getAccessToken=function(){return r},d.prototype.setAccessToken=function(f){r=f},d.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+")},d}();e.exports=t})(h1);var hI=h1.exports;const cr=pu(hI),_I={name:"ModalDialogTrack",components:{BaseModal:qt},props:{item:{required:!0,type:Object},show:Boolean},emits:["close","play-count-changed"],setup(){return{servicesStore:Pt()}},data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"&&this.item.media_kind!=="podcast"){const e=new cr;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(){W.library_track_update(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){W.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"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},gI=["textContent"],yI=["textContent"],zI={key:0,class:"buttons"},vI=["textContent"],bI=["textContent"],CI={key:1,class:"mb-3"},wI=["textContent"],SI={class:"title is-6"},xI=["textContent"],kI={key:2,class:"mb-3"},EI=["textContent"],TI={class:"title is-6"},AI=["textContent"],$I={key:3,class:"mb-3"},OI=["textContent"],PI=["textContent"],II={key:4,class:"mb-3"},LI=["textContent"],NI=["textContent"],DI={key:5,class:"mb-3"},RI=["textContent"],MI=["textContent"],FI={key:6,class:"mb-3"},VI=["textContent"],HI={class:"title is-6"},UI=["textContent"],jI={key:7,class:"mb-3"},WI=["textContent"],BI=["textContent"],qI={key:8,class:"mb-3"},GI=["textContent"],KI=["textContent"],ZI={class:"mb-3"},YI=["textContent"],XI=["textContent"],JI={class:"mb-3"},QI=["textContent"],eL=["textContent"],tL={key:9,class:"mb-3"},nL=["textContent"],rL={class:"title is-6"},oL=["textContent"],sL=["textContent"],iL=["textContent"],aL=["textContent"],lL={class:"mb-3"},uL=["textContent"],cL=["textContent"],dL=["textContent"],mL=["textContent"],fL={key:10,class:"mb-3"},pL=["textContent"],hL=["textContent"],_L=["textContent"],gL=["textContent"],yL=["textContent"];function zL(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[8]||(t[8]=a=>e.$emit("close"))},{content:P(()=>[m("p",{class:"title is-4",textContent:y(n.item.title)},null,8,gI),m("p",{class:"subtitle",textContent:y(n.item.artist)},null,8,yI),n.item.media_kind==="podcast"?(A(),D("div",zI,[n.item.play_count>0?(A(),D("a",{key:0,class:"button is-small",onClick:t[0]||(t[0]=(...a)=>s.mark_new&&s.mark_new(...a)),textContent:y(e.$t("dialog.track.mark-as-new"))},null,8,vI)):ie("",!0),n.item.play_count===0?(A(),D("a",{key:1,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>s.mark_played&&s.mark_played(...a)),textContent:y(e.$t("dialog.track.mark-as-played"))},null,8,bI)):ie("",!0)])):ie("",!0),n.item.album?(A(),D("div",CI,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.album"))},null,8,wI),m("div",SI,[m("a",{onClick:t[2]||(t[2]=(...a)=>s.open_album&&s.open_album(...a)),textContent:y(n.item.album)},null,8,xI)])])):ie("",!0),n.item.album_artist&&n.item.media_kind!=="audiobook"?(A(),D("div",kI,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.album-artist"))},null,8,EI),m("div",TI,[m("a",{onClick:t[3]||(t[3]=(...a)=>s.open_album_artist&&s.open_album_artist(...a)),textContent:y(n.item.album_artist)},null,8,AI)])])):ie("",!0),n.item.composer?(A(),D("div",$I,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.composer"))},null,8,OI),m("div",{class:"title is-6",textContent:y(n.item.composer)},null,8,PI)])):ie("",!0),n.item.date_released?(A(),D("div",II,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.release-date"))},null,8,LI),m("div",{class:"title is-6",textContent:y(e.$filters.date(n.item.date_released))},null,8,NI)])):n.item.year?(A(),D("div",DI,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.year"))},null,8,RI),m("div",{class:"title is-6",textContent:y(n.item.year)},null,8,MI)])):ie("",!0),n.item.genre?(A(),D("div",FI,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.genre"))},null,8,VI),m("div",HI,[m("a",{onClick:t[4]||(t[4]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:y(n.item.genre)},null,8,UI)])])):ie("",!0),n.item.disc_number?(A(),D("div",jI,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.position"))},null,8,WI),m("div",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,BI)])):ie("",!0),n.item.length_ms?(A(),D("div",qI,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.duration"))},null,8,GI),m("div",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,KI)])):ie("",!0),m("div",ZI,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.path"))},null,8,YI),m("div",{class:"title is-6",textContent:y(n.item.path)},null,8,XI)]),m("div",JI,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.type"))},null,8,QI),m("div",{class:"title is-6",textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,eL)]),n.item.samplerate?(A(),D("div",tL,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.quality"))},null,8,nL),m("div",rL,[m("span",{textContent:y(n.item.type)},null,8,oL),n.item.samplerate?(A(),D("span",{key:0,textContent:y(e.$t("dialog.track.samplerate",{rate:n.item.samplerate}))},null,8,sL)):ie("",!0),n.item.channels?(A(),D("span",{key:1,textContent:y(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,iL)):ie("",!0),n.item.bitrate?(A(),D("span",{key:2,textContent:y(e.$t("dialog.track.bitrate",{rate:n.item.bitrate}))},null,8,aL)):ie("",!0)])])):ie("",!0),m("div",lL,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.added-on"))},null,8,uL),m("div",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,cL)]),m("div",null,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.rating"))},null,8,dL),m("div",{class:"title is-6",textContent:y(e.$t("dialog.track.rating-value",{rating:Math.floor(n.item.rating/10)}))},null,8,mL)]),n.item.comment?(A(),D("div",fL,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.track.comment"))},null,8,pL),m("div",{class:"title is-6",textContent:y(n.item.comment)},null,8,hL)])):ie("",!0)]),footer:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.add"))},null,8,_L)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.add-next"))},null,8,gL)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.play"))},null,8,yL)])]),_:1},8,["show"])}const vL=ae(_I,[["render",zL]]),bL={name:"ListTracks",components:{ModalDialogTrack:vL},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?W.player_play_uri(this.uris,!1,this.items.items.indexOf(e)):this.expression?W.player_play_expression(this.expression,!1,this.items.items.indexOf(e)):W.player_play_uri(e.uri,!1)}}},CL={key:0,class:"py-5"},wL=["id","textContent"],SL=["onClick"],xL={class:"media-content"},kL=["textContent"],EL=["textContent"],TL=["textContent"],AL=["max","value"],$L={class:"media-right"},OL=["onClick"];function PL(e,t,n,r,o,s){const i=T("mdicon"),l=T("modal-dialog-track");return A(),D(ze,null,[(A(!0),D(ze,null,Ct(n.items,a=>(A(),D(ze,{key:a.itemId},[a.isItem?(A(),D("div",{key:1,class:Te(["media is-align-items-center is-clickable mb-0",{"with-progress":n.show_progress}]),onClick:u=>s.play(a.item)},[n.show_icon?(A(),ve(i,{key:0,class:"media-left icon",name:"file-outline"})):ie("",!0),m("div",xL,[m("div",{class:Te(["is-size-6 has-text-weight-bold",{"has-text-grey":a.item.media_kind==="podcast"&&a.item.play_count>0}]),textContent:y(a.item.title)},null,10,kL),m("div",{class:"is-size-7 has-text-weight-bold has-text-grey",textContent:y(a.item.artist)},null,8,EL),m("div",{class:"is-size-7 has-text-grey",textContent:y(a.item.album)},null,8,TL),n.show_progress&&a.item.seek_ms>0?(A(),D("progress",{key:0,class:"progress is-info",max:a.item.length_ms,value:a.item.seek_ms},null,8,AL)):ie("",!0)]),m("div",$L,[m("a",{onClick:wt(u=>s.open_dialog(a.item),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,OL)])],10,SL)):(A(),D("div",CL,[m("span",{id:`index_${a.index}`,class:"tag is-small has-text-weight-bold",textContent:y(a.index)},null,8,wL)]))],64))),128)),(A(),ve(Bn,{to:"#app"},[b(l,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=a=>o.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=a=>e.$emit("play-count-changed"))},null,8,["item","show"])]))],64)}const Cn=ae(bL,[["render",PL],["__scopeId","data-v-9eed5a6d"]]),IL={name:"ModalDialogAlbum",components:{BaseModal:qt,CoverArtwork:Hr},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(){W.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"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},LL={class:"title is-4"},NL=["textContent"],DL={key:0,class:"buttons"},RL=["textContent"],ML=["textContent"],FL={key:1,class:"mb-3"},VL=["textContent"],HL={class:"title is-6"},UL=["textContent"],jL={key:2,class:"mb-3"},WL=["textContent"],BL=["textContent"],qL={key:3,class:"mb-3"},GL=["textContent"],KL=["textContent"],ZL={class:"mb-3"},YL=["textContent"],XL=["textContent"],JL={class:"mb-3"},QL=["textContent"],e3=["textContent"],t3={class:"mb-3"},n3=["textContent"],r3=["textContent"],o3={class:"mb-3"},s3=["textContent"],i3=["textContent"],a3=["textContent"],l3=["textContent"],u3=["textContent"];function c3(e,t,n,r,o,s){const i=T("cover-artwork"),l=T("mdicon"),a=T("base-modal");return A(),ve(a,{show:n.show,onClose:t[7]||(t[7]=u=>e.$emit("close"))},{content:P(()=>[m("div",LL,[m("a",{onClick:t[0]||(t[0]=(...u)=>s.open&&s.open(...u)),textContent:y(n.item.name)},null,8,NL)]),b(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-3"},null,8,["url","artist","album"]),s.media_kind_resolved==="podcast"?(A(),D("div",DL,[m("a",{class:"button is-small",onClick:t[1]||(t[1]=(...u)=>s.mark_played&&s.mark_played(...u)),textContent:y(e.$t("dialog.album.mark-as-played"))},null,8,RL),n.item.data_kind==="url"?(A(),D("a",{key:0,class:"button is-small",onClick:t[2]||(t[2]=u=>e.$emit("remove-podcast")),textContent:y(e.$t("dialog.album.remove-podcast"))},null,8,ML)):ie("",!0)])):ie("",!0),n.item.artist?(A(),D("div",FL,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.album.artist"))},null,8,VL),m("div",HL,[m("a",{onClick:t[3]||(t[3]=(...u)=>s.open_artist&&s.open_artist(...u)),textContent:y(n.item.artist)},null,8,UL)])])):ie("",!0),n.item.date_released?(A(),D("div",jL,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.album.release-date"))},null,8,WL),m("div",{class:"title is-6",textContent:y(e.$filters.date(n.item.date_released))},null,8,BL)])):n.item.year?(A(),D("div",qL,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.album.year"))},null,8,GL),m("div",{class:"title is-6",textContent:y(n.item.year)},null,8,KL)])):ie("",!0),m("div",ZL,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.album.tracks"))},null,8,YL),m("div",{class:"title is-6",textContent:y(n.item.track_count)},null,8,XL)]),m("div",JL,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.album.duration"))},null,8,QL),m("div",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,e3)]),m("div",t3,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.album.type"))},null,8,n3),m("div",{class:"title is-6",textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,r3)]),m("div",o3,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.album.added-on"))},null,8,s3),m("div",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,i3)])]),footer:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...u)=>s.queue_add&&s.queue_add(...u))},[b(l,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.add"))},null,8,a3)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...u)=>s.queue_add_next&&s.queue_add_next(...u))},[b(l,{class:"icon",name:"playlist-play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.add-next"))},null,8,l3)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...u)=>s.play&&s.play(...u))},[b(l,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.play"))},null,8,u3)])]),_:1},8,["show"])}const Cu=ae(IL,[["render",c3]]),sh={load(e){return Promise.all([W.library_album(e.params.id),W.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new ke(t[1].data,{criteria:[{field:"disc_number",type:Number}],index:{field:"disc_number",type:Number}}),e.tracks.indices.length<2&&e.tracks.group()}},d3={name:"PageAlbum",components:{ContentWithHero:bu,CoverArtwork:Hr,ListTracks:Cn,ModalDialogAlbum:Cu},beforeRouteEnter(e,t,n){sh.load(e).then(r=>{n(o=>sh.set(o,r))})},data(){return{album:{},show_details_modal:!1,tracks:new ke}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},play(){W.player_play_uri(this.album.uri,!0)}}},m3=["textContent"],f3={class:"subtitle is-6"},p3=["textContent"],h3={class:"buttons is-centered-mobile mt-5"},_3=["textContent"],g3=["textContent"];function y3(e,t,n,r,o,s){const i=T("mdicon"),l=T("cover-artwork"),a=T("list-tracks"),u=T("modal-dialog-album"),c=T("content-with-hero");return A(),D("div",null,[b(c,null,{"heading-left":P(()=>[m("div",{class:"title is-5",textContent:y(o.album.name)},null,8,m3),m("div",f3,[m("a",{onClick:t[0]||(t[0]=(...d)=>s.open_artist&&s.open_artist(...d)),textContent:y(o.album.artist)},null,8,p3)]),m("div",h3,[m("a",{class:"button has-background-light is-small is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[b(i,{class:"icon",name:"shuffle",size:"16"}),m("span",{textContent:y(e.$t("page.album.shuffle"))},null,8,_3)]),m("a",{class:"button is-small has-background-light is-rounded",onClick:t[2]||(t[2]=d=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":P(()=>[b(l,{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]=d=>o.show_details_modal=!0)},null,8,["url","artist","album"])]),content:P(()=>[m("div",{class:"is-size-7 is-uppercase has-text-centered-mobile my-5",textContent:y(e.$t("page.album.track-count",{count:o.album.track_count}))},null,8,g3),b(a,{items:o.tracks,uris:o.album.uri},null,8,["items","uris"]),b(u,{item:o.album,show:o.show_details_modal,onClose:t[4]||(t[4]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const z3=ae(d3,[["render",y3]]),v3={name:"ModalDialogTrackSpotify",components:{BaseModal:qt},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"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},b3=["textContent"],C3=["textContent"],w3={class:"mb-3"},S3=["textContent"],x3={class:"title is-6"},k3=["textContent"],E3={class:"mb-3"},T3=["textContent"],A3={class:"title is-6"},$3=["textContent"],O3={class:"mb-3"},P3=["textContent"],I3=["textContent"],L3={class:"mb-3"},N3=["textContent"],D3=["textContent"],R3={class:"mb-3"},M3=["textContent"],F3=["textContent"],V3={class:"mb-3"},H3=["textContent"],U3=["textContent"],j3=["textContent"],W3=["textContent"],B3=["textContent"];function q3(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[5]||(t[5]=a=>e.$emit("close"))},{content:P(()=>[m("p",{class:"title is-4",textContent:y(n.item.name)},null,8,b3),m("p",{class:"subtitle",textContent:y(n.item.artists[0].name)},null,8,C3),m("div",w3,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.track.album"))},null,8,S3),m("div",x3,[m("a",{onClick:t[0]||(t[0]=(...a)=>s.open_album&&s.open_album(...a)),textContent:y(n.item.album.name)},null,8,k3)])]),m("div",E3,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.track.album-artist"))},null,8,T3),m("div",A3,[m("a",{onClick:t[1]||(t[1]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:y(n.item.artists[0].name)},null,8,$3)])]),m("div",O3,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.track.release-date"))},null,8,P3),m("div",{class:"title is-6",textContent:y(e.$filters.date(n.item.album.release_date))},null,8,I3)]),m("div",L3,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.track.position"))},null,8,N3),m("div",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,D3)]),m("div",R3,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.track.duration"))},null,8,M3),m("div",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.duration_ms))},null,8,F3)]),m("div",V3,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.track.path"))},null,8,H3),m("div",{class:"title is-6",textContent:y(n.item.uri)},null,8,U3)])]),footer:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.add"))},null,8,j3)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.add-next"))},null,8,W3)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.play"))},null,8,B3)])]),_:1},8,["show"])}const G3=ae(v3,[["render",q3]]),K3={name:"ListTracksSpotify",components:{ModalDialogTrackSpotify:G3},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&&W.player_play_uri(this.context_uri||e.uri,!1,e.position||0)}}},Z3=["onClick"],Y3=["textContent"],X3=["textContent"],J3=["textContent"],Q3={key:0,class:"is-size-7 has-text-grey"},eN=["textContent"],tN=["textContent"],nN={class:"media-right"},rN=["onClick"];function oN(e,t,n,r,o,s){const i=T("mdicon"),l=T("modal-dialog-track-spotify");return A(),D(ze,null,[(A(!0),D(ze,null,Ct(n.items,a=>{var u;return A(),D("div",{key:a.id,class:"media is-align-items-center mb-0"},[m("div",{class:Te(["media-content",{"is-clickable":a.is_playable,"is-not-allowed":!a.is_playable}]),onClick:c=>s.play(a)},[m("div",{class:Te(["is-size-6 has-text-weight-bold",{"has-text-grey-light":!a.is_playable}]),textContent:y(a.name)},null,10,Y3),m("div",{class:Te(["is-size-7 has-text-weight-bold",{"has-text-grey":a.is_playable,"has-text-grey-light":!a.is_playable}]),textContent:y(a.artists[0].name)},null,10,X3),m("div",{class:"is-size-7 has-text-grey",textContent:y(a.album.name)},null,8,J3),a.is_playable?ie("",!0):(A(),D("div",Q3,[t[1]||(t[1]=Rt(" (")),m("span",{textContent:y(e.$t("list.spotify.not-playable-track"))},null,8,eN),(u=a.restrictions)!=null&&u.reason?(A(),D("span",{key:0,textContent:y(e.$t("list.spotify.restriction-reason",{reason:a.restrictions.reason}))},null,8,tN)):ie("",!0),t[2]||(t[2]=Rt(") "))]))],10,Z3),m("div",nN,[m("a",{onClick:wt(c=>s.open_dialog(a),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,rN)])])}),128)),(A(),ve(Bn,{to:"#app"},[b(l,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=a=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const wl=ae(K3,[["render",oN],["__scopeId","data-v-b9587ebb"]]),sN={name:"ModalDialogAlbumSpotify",components:{BaseModal:qt,CoverArtwork:Hr},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"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},iN={class:"title is-4"},aN=["textContent"],lN={class:"mb-3"},uN=["textContent"],cN={class:"title is-6"},dN=["textContent"],mN={class:"mb-3"},fN=["textContent"],pN=["textContent"],hN={class:"mb-3"},_N=["textContent"],gN=["textContent"],yN=["textContent"],zN=["textContent"],vN=["textContent"];function bN(e,t,n,r,o,s){const i=T("cover-artwork"),l=T("mdicon"),a=T("base-modal");return A(),ve(a,{show:n.show,onClose:t[5]||(t[5]=u=>e.$emit("close"))},{content:P(()=>[m("div",iN,[m("a",{onClick:t[0]||(t[0]=(...u)=>s.open&&s.open(...u)),textContent:y(n.item.name)},null,8,aN)]),b(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-3",onLoad:s.artwork_loaded,onError:s.artwork_error},null,8,["url","artist","album","onLoad","onError"]),m("div",lN,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.album.album-artist"))},null,8,uN),m("div",cN,[m("a",{onClick:t[1]||(t[1]=(...u)=>s.open_artist&&s.open_artist(...u)),textContent:y(n.item.artists[0].name)},null,8,dN)])]),m("div",mN,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.album.release-date"))},null,8,fN),m("div",{class:"title is-6",textContent:y(e.$filters.date(n.item.release_date))},null,8,pN)]),m("div",hN,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.album.type"))},null,8,_N),m("div",{class:"title is-6",textContent:y(n.item.album_type)},null,8,gN)])]),footer:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...u)=>s.queue_add&&s.queue_add(...u))},[b(l,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.add"))},null,8,yN)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...u)=>s.queue_add_next&&s.queue_add_next(...u))},[b(l,{class:"icon",name:"playlist-play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.add-next"))},null,8,zN)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...u)=>s.play&&s.play(...u))},[b(l,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.play"))},null,8,vN)])]),_:1},8,["show"])}const _1=ae(sN,[["render",bN]]),ih={load(e){const t=new cr;return t.setAccessToken(Pt().spotify.webapi_token),t.getAlbum(e.params.id,{market:Pt().spotify.webapi_country})},set(e,t){e.album=t}},CN={name:"PageAlbumSpotify",components:{ContentWithHero:bu,CoverArtwork:Hr,ListTracksSpotify:wl,ModalDialogAlbumSpotify:_1},beforeRouteEnter(e,t,n){ih.load(e).then(r=>{n(o=>ih.set(o,r))})},setup(){return{servicesStore:Pt()}},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,W.player_play_uri(this.album.uri,!0)}}},wN=["textContent"],SN={class:"subtitle is-6"},xN=["textContent"],kN={class:"buttons is-centered-mobile mt-5"},EN=["textContent"],TN=["textContent"];function AN(e,t,n,r,o,s){const i=T("mdicon"),l=T("cover-artwork"),a=T("list-tracks-spotify"),u=T("modal-dialog-album-spotify"),c=T("content-with-hero");return A(),D("div",null,[b(c,null,{"heading-left":P(()=>[m("div",{class:"title is-5",textContent:y(o.album.name)},null,8,wN),m("div",SN,[m("a",{onClick:t[0]||(t[0]=(...d)=>s.open_artist&&s.open_artist(...d)),textContent:y(o.album.artists[0].name)},null,8,xN)]),m("div",kN,[m("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[b(i,{class:"icon",name:"shuffle",size:"16"}),m("span",{textContent:y(e.$t("page.spotify.album.shuffle"))},null,8,EN)]),m("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":P(()=>[b(l,{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]=d=>o.show_details_modal=!0)},null,8,["url","artist","album"])]),content:P(()=>[m("div",{class:"is-size-7 is-uppercase has-text-centered-mobile mt-5",textContent:y(e.$t("page.spotify.album.track-count",{count:o.album.tracks.total}))},null,8,TN),b(a,{items:s.tracks,context_uri:o.album.uri},null,8,["items","context_uri"]),b(u,{item:o.album,show:o.show_details_modal,onClose:t[4]||(t[4]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const $N=ae(CN,[["render",AN]]),ON={name:"ContentWithHeading",data(){return{hidden:!0}},computed:{icon(){return this.hidden?"chevron-down":"chevron-up"}}},PN={class:"section"},IN={class:"container"},LN={class:"columns is-centered"},NN={class:"column is-four-fifths"},DN={key:0,ref:"options"},RN={class:"buttons is-centered"},MN={class:"level is-clipped"},FN={class:"level-left is-flex-shrink-1"},VN={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},HN={class:"level-right has-text-centered-mobile"},UN={class:"mt-4"};function jN(e,t,n,r,o,s){const i=T("mdicon");return A(),D("section",PN,[m("div",IN,[m("div",LN,[m("div",NN,[e.$slots.options?(A(),D("section",DN,[m("div",{class:Te({"is-hidden":o.hidden})},[mt(e.$slots,"options")],2),m("div",RN,[m("button",{class:"button is-small",onClick:t[0]||(t[0]=l=>o.hidden=!o.hidden)},[b(i,{class:"icon",name:s.icon,size:"16"},null,8,["name"])])])],512)):ie("",!0),m("div",null,[m("nav",MN,[m("div",FN,[m("div",VN,[m("div",null,[mt(e.$slots,"heading-left")])])]),m("div",HN,[mt(e.$slots,"heading-right")])]),mt(e.$slots,"content"),m("div",UN,[mt(e.$slots,"footer")])])])])])])}const et=ae(ON,[["render",jN]]),WN={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)}}},BN={class:"dropdown-trigger"},qN=["textContent"],GN={id:"dropdown",class:"dropdown-menu",role:"menu"},KN={class:"dropdown-content"},ZN=["onClick","textContent"];function YN(e,t,n,r,o,s){const i=T("mdicon"),l=Vd("click-away");return Bt((A(),D("div",{class:Te(["dropdown",{"is-active":o.active}])},[m("div",BN,[m("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:t[0]||(t[0]=a=>o.active=!o.active)},[m("span",{textContent:y(s.option.name)},null,8,qN),b(i,{class:"icon",name:"chevron-down",size:"16"})])]),m("div",GN,[m("div",KN,[(A(!0),D(ze,null,Ct(n.options,a=>(A(),D("a",{key:a.id,class:Te(["dropdown-item",{"is-active":n.value===a.id}]),onClick:u=>s.select(a),textContent:y(a.name)},null,10,ZN))),128))])])],2)),[[l,s.deactivate]])}const Bo=ae(WN,[["render",YN]]),XN={name:"IndexButtonList",props:{indices:{required:!0,type:Array}}},JN={class:"buttons is-centered mb-4"};function QN(e,t,n,r,o,s){const i=T("router-link");return A(),D("section",null,[m("nav",JN,[(A(!0),D(ze,null,Ct(n.indices,l=>(A(),ve(i,{key:l,class:"button is-small is-square",to:{hash:`#index_${l}`,query:e.$route.query}},{default:P(()=>[Rt(y(l),1)]),_:2},1032,["to"]))),128))])])}const dr=ae(XN,[["render",QN],["__scopeId","data-v-5b2fecfc"]]),e6={name:"ListAlbums",components:{CoverArtwork:Hr,ModalDialog:um,ModalDialogAlbum:Cu},props:{items:{required:!0,type:Object},media_kind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],setup(){return{settingsStore:ur()}},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(){W.library_album_tracks(this.selected_item.id,{limit:1}).then(({data:e})=>{W.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,W.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},t6={key:0,class:"py-5"},n6=["id","textContent"],r6=["onClick"],o6={class:"media-content"},s6=["textContent"],i6=["textContent"],a6=["textContent"],l6={class:"media-right"},u6=["onClick"],c6=["textContent"],d6={class:"is-size-7"},m6=["textContent"],f6=["textContent"];function p6(e,t,n,r,o,s){const i=T("cover-artwork"),l=T("mdicon"),a=T("modal-dialog-album"),u=T("modal-dialog");return A(),D(ze,null,[(A(!0),D(ze,null,Ct(n.items,c=>(A(),D(ze,{key:c.itemId},[c.isItem?(A(),D("div",{key:1,class:"media is-align-items-center is-clickable mb-0",onClick:d=>s.open(c.item)},[r.settingsStore.show_cover_artwork_in_album_lists?(A(),ve(i,{key:0,url:c.item.artwork_url,artist:c.item.artist,album:c.item.name,class:"media-left fd-has-shadow fd-cover fd-cover-small-image"},null,8,["url","artist","album"])):ie("",!0),m("div",o6,[m("div",{class:"is-size-6 has-text-weight-bold",textContent:y(c.item.name)},null,8,s6),m("div",{class:"is-size-7 has-text-grey has-text-weight-bold",textContent:y(c.item.artist)},null,8,i6),c.item.date_released&&c.item.media_kind==="music"?(A(),D("div",{key:0,class:"is-size-7 has-text-grey",textContent:y(e.$filters.date(c.item.date_released))},null,8,a6)):ie("",!0)]),m("div",l6,[m("a",{onClick:wt(d=>s.open_dialog(c.item),["prevent","stop"])},[b(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,u6)])],8,r6)):(A(),D("div",t6,[m("span",{id:`index_${c.index}`,class:"tag is-small has-text-weight-bold",textContent:y(c.index)},null,8,n6)]))],64))),128)),(A(),ve(Bn,{to:"#app"},[b(a,{item:o.selected_item,media_kind:n.media_kind,show:o.show_details_modal,onClose:t[0]||(t[0]=c=>o.show_details_modal=!1),onRemovePodcast:t[1]||(t[1]=c=>s.open_remove_podcast_dialog()),onPlayCountChanged:t[2]||(t[2]=c=>s.play_count_changed())},null,8,["item","media_kind","show"]),b(u,{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]=c=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":P(()=>[m("p",{textContent:y(e.$t("list.albums.info-1"))},null,8,c6),m("p",d6,[t[4]||(t[4]=Rt(" (")),m("span",{textContent:y(e.$t("list.albums.info-2"))},null,8,m6),m("b",{textContent:y(o.rss_playlist_to_remove.name)},null,8,f6),t[5]||(t[5]=Rt(") "))])]),_:1},8,["close_action","delete_action","show","title","onDelete"])]))],64)}const kn=ae(e6,[["render",p6]]),h6={name:"TabsMusic",setup(){return{servicesStore:Pt()}},computed:{spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},_6={class:"section fd-tabs-section"},g6={class:"container"},y6={class:"columns is-centered"},z6={class:"column is-four-fifths"},v6={class:"tabs is-centered is-small"},b6=["onClick","onKeypress"],C6=["textContent"],w6=["onClick","onKeypress"],S6=["textContent"],x6=["onClick","onKeypress"],k6=["textContent"],E6=["onClick","onKeypress"],T6=["textContent"],A6=["onClick","onKeypress"],$6=["textContent"],O6=["onClick","onKeypress"],P6=["textContent"];function I6(e,t,n,r,o,s){const i=T("mdicon"),l=T("router-link");return A(),D("section",_6,[m("div",g6,[m("div",y6,[m("div",z6,[m("div",v6,[m("ul",null,[b(l,{to:{name:"music-history"},custom:""},{default:P(({navigate:a,isActive:u})=>[m("li",{class:Te({"is-active":u})},[m("a",{onClick:a,onKeypress:gn(a,["enter"])},[b(i,{class:"icon is-small",name:"history",size:"16"}),m("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.history"))},null,8,C6)],40,b6)],2)]),_:1}),b(l,{to:{name:"music-artists"},custom:""},{default:P(({navigate:a,isActive:u})=>[m("li",{class:Te({"is-active":u})},[m("a",{onClick:a,onKeypress:gn(a,["enter"])},[b(i,{class:"icon is-small",name:"account-music",size:"16"}),m("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.artists"))},null,8,S6)],40,w6)],2)]),_:1}),b(l,{to:{name:"music-albums"},custom:""},{default:P(({navigate:a,isActive:u})=>[m("li",{class:Te({"is-active":u})},[m("a",{onClick:a,onKeypress:gn(a,["enter"])},[b(i,{class:"icon is-small",name:"album",size:"16"}),m("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.albums"))},null,8,k6)],40,x6)],2)]),_:1}),b(l,{to:{name:"music-genres"},custom:""},{default:P(({navigate:a,isActive:u})=>[m("li",{class:Te({"is-active":u})},[m("a",{onClick:a,onKeypress:gn(a,["enter"])},[b(i,{class:"icon is-small",name:"speaker",size:"16"}),m("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.genres"))},null,8,T6)],40,E6)],2)]),_:1}),b(l,{to:{name:"music-composers"},custom:""},{default:P(({navigate:a,isActive:u})=>[m("li",{class:Te({"is-active":u})},[m("a",{onClick:a,onKeypress:gn(a,["enter"])},[b(i,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),m("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.composers"))},null,8,$6)],40,A6)],2)]),_:1}),s.spotify_enabled?(A(),ve(l,{key:0,to:{name:"music-spotify"},custom:""},{default:P(({navigate:a,isActive:u})=>[m("li",{class:Te({"is-active":u})},[m("a",{onClick:a,onKeypress:gn(a,["enter"])},[b(i,{class:"icon is-small",name:"spotify",size:"16"}),m("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.spotify"))},null,8,P6)],40,O6)],2)]),_:1})):ie("",!0)])])])])])])}const Sr=ae(h6,[["render",I6]]),ah={load(e){return W.library_albums("music")},set(e,t){e.albums_list=new ke(t.data)}},L6={name:"PageAlbums",components:{ContentWithHeading:et,ControlDropdown:Bo,ControlSwitch:jo,IndexButtonList:dr,ListAlbums:kn,TabsMusic:Sr},beforeRouteEnter(e,t,n){ah.load(e).then(r=>{n(o=>ah.set(o,r))})},setup(){return{uiStore:wn(),servicesStore:Pt()}},data(){return{albums_list:new ke,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.uiStore.albums_sort);return e.filters=[t=>!this.uiStore.hide_singles||t.track_count>2,t=>!this.uiStore.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e)},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},N6={class:"columns"},D6={class:"column"},R6=["textContent"],M6=["textContent"],F6=["textContent"],V6=["textContent"],H6=["textContent"],U6={class:"column"},j6=["textContent"],W6=["textContent"],B6=["textContent"];function q6(e,t,n,r,o,s){const i=T("tabs-music"),l=T("index-button-list"),a=T("control-switch"),u=T("control-dropdown"),c=T("list-albums"),d=T("content-with-heading");return A(),D("div",null,[b(i),b(d,null,{options:P(()=>[b(l,{indices:s.albums.indices},null,8,["indices"]),m("div",N6,[m("div",D6,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.albums.filter"))},null,8,R6),b(a,{modelValue:r.uiStore.hide_singles,"onUpdate:modelValue":t[0]||(t[0]=f=>r.uiStore.hide_singles=f)},{label:P(()=>[m("span",{textContent:y(e.$t("page.albums.hide-singles"))},null,8,M6)]),help:P(()=>[m("span",{textContent:y(e.$t("page.albums.hide-singles-help"))},null,8,F6)]),_:1},8,["modelValue"]),s.spotify_enabled?(A(),ve(a,{key:0,modelValue:r.uiStore.hide_spotify,"onUpdate:modelValue":t[1]||(t[1]=f=>r.uiStore.hide_spotify=f)},{label:P(()=>[m("span",{textContent:y(e.$t("page.albums.hide-spotify"))},null,8,V6)]),help:P(()=>[m("span",{textContent:y(e.$t("page.albums.hide-spotify-help"))},null,8,H6)]),_:1},8,["modelValue"])):ie("",!0)]),m("div",U6,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.albums.sort.title"))},null,8,j6),b(u,{value:r.uiStore.albums_sort,"onUpdate:value":t[2]||(t[2]=f=>r.uiStore.albums_sort=f),options:o.groupings},null,8,["value","options"])])])]),"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(e.$t("page.albums.title"))},null,8,W6),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.albums.count",{count:s.albums.count}))},null,8,B6)]),content:P(()=>[b(c,{items:s.albums},null,8,["items"])]),_:1})])}const G6=ae(L6,[["render",q6]]),K6={name:"ModalDialogArtist",components:{BaseModal:qt},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"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},Z6={class:"title is-4"},Y6=["textContent"],X6={class:"mb-3"},J6=["textContent"],Q6=["textContent"],e4={class:"mb-3"},t4=["textContent"],n4=["textContent"],r4={class:"mb-3"},o4=["textContent"],s4=["textContent"],i4={class:"mb-3"},a4=["textContent"],l4=["textContent"],u4=["textContent"],c4=["textContent"],d4=["textContent"];function m4(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[4]||(t[4]=a=>e.$emit("close"))},{content:P(()=>[m("div",Z6,[m("a",{onClick:t[0]||(t[0]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,Y6)]),m("div",X6,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.artist.albums"))},null,8,J6),m("div",{class:"title is-6",textContent:y(n.item.album_count)},null,8,Q6)]),m("div",e4,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.artist.tracks"))},null,8,t4),m("div",{class:"title is-6",textContent:y(n.item.track_count)},null,8,n4)]),m("div",r4,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.artist.type"))},null,8,o4),m("div",{class:"title is-6",textContent:y(e.$t(`data.kind.${n.item.data_kind}`))},null,8,s4)]),m("div",i4,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.artist.added-on"))},null,8,a4),m("div",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,l4)])]),footer:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.add"))},null,8,u4)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.add-next"))},null,8,c4)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.play"))},null,8,d4)])]),_:1},8,["show"])}const wu=ae(K6,[["render",m4]]),lh={load(e){return Promise.all([W.library_artist(e.params.id),W.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums_list=new ke(t[1].data)}},f4={name:"PageArtist",components:{ContentWithHeading:et,ControlDropdown:Bo,ControlSwitch:jo,ListAlbums:kn,ModalDialogArtist:wu},beforeRouteEnter(e,t,n){lh.load(e).then(r=>{n(o=>lh.set(o,r))})},setup(){return{servicesStore:Pt(),uiStore:wn()}},data(){return{albums_list:new ke,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.uiStore.artist_albums_sort);return e.filters=[t=>!this.uiStore.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(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(){W.player_play_uri(this.albums.items.map(e=>e.uri).join(),!0)}}},p4={class:"columns"},h4={class:"column"},_4=["textContent"],g4=["textContent"],y4=["textContent"],z4={class:"column"},v4=["textContent"],b4=["textContent"],C4={class:"is-size-7 is-uppercase"},w4=["textContent"],S4=["textContent"],x4={class:"buttons is-centered"},k4=["textContent"];function E4(e,t,n,r,o,s){const i=T("control-switch"),l=T("control-dropdown"),a=T("mdicon"),u=T("list-albums"),c=T("modal-dialog-artist"),d=T("content-with-heading");return A(),D("div",null,[b(d,null,{options:P(()=>[m("div",p4,[m("div",h4,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.artist.filter"))},null,8,_4),s.spotify_enabled?(A(),ve(i,{key:0,modelValue:r.uiStore.hide_spotify,"onUpdate:modelValue":t[0]||(t[0]=f=>r.uiStore.hide_spotify=f)},{label:P(()=>[m("span",{textContent:y(e.$t("page.artist.hide-spotify"))},null,8,g4)]),help:P(()=>[m("span",{textContent:y(e.$t("page.artist.hide-spotify-help"))},null,8,y4)]),_:1},8,["modelValue"])):ie("",!0)]),m("div",z4,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.artist.sort.title"))},null,8,v4),b(l,{value:r.uiStore.artist_albums_sort,"onUpdate:value":t[1]||(t[1]=f=>r.uiStore.artist_albums_sort=f),options:o.groupings},null,8,["value","options"])])])]),"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(o.artist.name)},null,8,b4),m("div",C4,[m("span",{textContent:y(e.$t("page.artist.album-count",{count:s.albums.count}))},null,8,w4),t[6]||(t[6]=m("span",null," | ",-1)),m("a",{onClick:t[2]||(t[2]=(...f)=>s.open_tracks&&s.open_tracks(...f)),textContent:y(e.$t("page.artist.track-count",{count:s.track_count}))},null,8,S4)])]),"heading-right":P(()=>[m("div",x4,[m("a",{class:"button is-small is-light is-rounded",onClick:t[3]||(t[3]=f=>o.show_details_modal=!0)},[b(a,{class:"icon",name:"dots-horizontal",size:"16"})]),m("a",{class:"button is-small is-dark is-rounded",onClick:t[4]||(t[4]=(...f)=>s.play&&s.play(...f))},[b(a,{class:"icon",name:"shuffle",size:"16"}),m("span",{textContent:y(e.$t("page.artist.shuffle"))},null,8,k4)])])]),content:P(()=>[b(u,{items:s.albums},null,8,["items"]),b(c,{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 T4=ae(f4,[["render",E4]]),A4={name:"ListAlbumsSpotify",components:{CoverArtwork:Hr,ModalDialogAlbumSpotify:_1},props:{items:{required:!0,type:Object}},setup(){return{settingsStore:ur()}},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}}},$4=["onClick"],O4={key:0,class:"media-left"},P4={class:"media-content"},I4=["textContent"],L4=["textContent"],N4=["textContent"],D4={class:"media-right"},R4=["onClick"];function M4(e,t,n,r,o,s){const i=T("cover-artwork"),l=T("mdicon"),a=T("modal-dialog-album-spotify");return A(),D(ze,null,[(A(!0),D(ze,null,Ct(n.items,u=>{var c;return A(),D("div",{key:u.id,class:"media is-align-items-center is-clickable mb-0",onClick:d=>s.open(u)},[r.settingsStore.show_cover_artwork_in_album_lists?(A(),D("div",O4,[b(i,{url:s.artwork_url(u),artist:u.artist,album:u.name,class:"fd-has-shadow fd-cover fd-cover-small-image"},null,8,["url","artist","album"])])):ie("",!0),m("div",P4,[m("div",{class:"is-size-6 has-text-weight-bold",textContent:y(u.name)},null,8,I4),m("div",{class:"is-size-7 has-text-weight-bold has-text-grey",textContent:y((c=u.artists[0])==null?void 0:c.name)},null,8,L4),m("div",{class:"is-size-7 has-text-grey",textContent:y(e.$filters.date(u.release_date))},null,8,N4)]),m("div",D4,[m("a",{onClick:wt(d=>s.open_dialog(u),["prevent","stop"])},[b(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,R4)])],8,$4)}),128)),(A(),ve(Bn,{to:"#app"},[b(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=u=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const ji=ae(A4,[["render",M4]]),F4={name:"ModalDialogArtistSpotify",components:{BaseModal:qt},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"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},V4={class:"title is-4"},H4=["textContent"],U4={class:"mb-3"},j4=["textContent"],W4=["textContent"],B4={class:"mb-3"},q4=["textContent"],G4=["textContent"],K4=["textContent"],Z4=["textContent"],Y4=["textContent"];function X4(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[4]||(t[4]=a=>e.$emit("close"))},{content:P(()=>[m("div",V4,[m("a",{onClick:t[0]||(t[0]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,H4)]),m("div",U4,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.artist.popularity"))},null,8,j4),m("div",{class:"title is-6",textContent:y([n.item.popularity,n.item.followers.total].join(" / "))},null,8,W4)]),m("div",B4,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.artist.genres"))},null,8,q4),m("div",{class:"title is-6",textContent:y(n.item.genres.join(", "))},null,8,G4)])]),footer:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.add"))},null,8,K4)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.add-next"))},null,8,Z4)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.play"))},null,8,Y4)])]),_:1},8,["show"])}const g1=ae(F4,[["render",X4]]);function J4(e){return e.scrollHeight}function Q4(e){return e.scrollWidth}function eD(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function tD(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const nD=m("div",{class:"loading"},"Loading...",-1),rD=m("div",{class:"no-more"},"No more.",-1),oD=m("div",{class:"no-results"},"No results.",-1),sD=m("div",{class:"error"},"Error.",-1),Cm=Fr({__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 l(){Ho(()=>{var g,z;n.position==="top"?eD((g=n.container)!=null?g:document.documentElement,i):n.position==="left"&&tD((z=n.container)!=null?z:document.documentElement,i)})}function a(g,z){return g===0?s.value?(c(),"no-results"):(u(),"no-more"):g!==void 0&&z!==void 0&&g<z?(u(),"no-more"):(s.value=!1,l(),v(),"loading")}function u(){s.value=!1,h("no-more"),l()}function c(){s.value=!1,h("no-results"),l()}function d(){s.value=!1,h("error"),l()}function f(){s.value=!0,h("loading"),v()}function p(){h("loading"),v()}function h(g){o.value=g}function _(){r.value&&w.unobserve(r.value)}function v(){r.value&&w.observe(r.value)}function C(){return new IntersectionObserver(([g])=>{var z,S;g.isIntersecting&&(n.position==="top"?i=J4((z=n.container)!=null?z:document.documentElement):n.position==="left"&&(i=Q4((S=n.container)!=null?S:document.documentElement)),_(),n.load({loaded:a,noMore:u,noResults:c,error:d},{isFirstLoad:s.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let w;return typeof IntersectionObserver<"u"&&ag(()=>{w&&_(),w=C(),v()},{flush:"post"}),Tn(()=>n.isInitial,g=>{g&&f()}),Tn(s,g=>{g||t("update:isInitial",!1)}),(g,z)=>(A(),D("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[zn(o)==="loading"?mt(g.$slots,"loading",Qs(cs({key:0},{isFirstLoad:zn(s)})),()=>[nD]):zn(o)==="no-more"?mt(g.$slots,"no-more",Qs(cs({key:1},{retry:p})),()=>[rD]):zn(o)==="no-results"?mt(g.$slots,"no-results",Qs(cs({key:2},{retry:p})),()=>[oD]):zn(o)==="error"?mt(g.$slots,"error",Qs(cs({key:3},{retry:p})),()=>[sD]):ie("",!0)],512))}}),pd=50,uh={load(e){const t=new cr;return t.setAccessToken(Pt().spotify.webapi_token),Promise.all([t.getArtist(e.params.id),t.getArtistAlbums(e.params.id,{include_groups:"album,single",limit:pd,market:Pt().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())}},iD={name:"PageArtistSpotify",components:{ContentWithHeading:et,ListAlbumsSpotify:ji,ModalDialogArtistSpotify:g1,VueEternalLoading:Cm},beforeRouteEnter(e,t,n){uh.load(e).then(r=>{n(o=>uh.set(o,r))})},setup(){return{servicesStore:Pt()}},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 cr;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{include_groups:"album,single",limit:pd,offset:this.offset}).then(n=>{this.append_albums(n),e(n.items.length,pd)})},play(){this.show_album_details_modal=!1,W.player_play_uri(this.artist.uri,!0)}}},aD=["textContent"],lD=["textContent"],uD={class:"buttons is-centered"},cD=["textContent"],dD={class:"columns is-centered"},mD={class:"column has-text-centered"};function fD(e,t,n,r,o,s){const i=T("mdicon"),l=T("list-albums-spotify"),a=T("VueEternalLoading"),u=T("modal-dialog-artist-spotify"),c=T("content-with-heading");return A(),D("div",null,[b(c,null,{"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(o.artist.name)},null,8,aD),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.spotify.artist.album-count",{count:o.total}))},null,8,lD)]),"heading-right":P(()=>[m("div",uD,[m("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})]),m("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[b(i,{class:"icon",name:"shuffle",size:"16"}),m("span",{textContent:y(e.$t("page.spotify.artist.shuffle"))},null,8,cD)])])]),content:P(()=>[b(l,{items:o.albums},null,8,["items"]),o.offset<o.total?(A(),ve(a,{key:0,load:s.load_next},{loading:P(()=>[m("div",dD,[m("div",mD,[b(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":P(()=>t[3]||(t[3]=[m("br",null,null,-1)])),"no-results":P(()=>t[4]||(t[4]=[m("br",null,null,-1)])),_:1},8,["load"])):ie("",!0),b(u,{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 pD=ae(iD,[["render",fD]]),ch={load(e){return Promise.all([W.library_artist(e.params.id),W.library_artist_tracks(e.params.id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new ke(t[1].data.tracks)}},hD={name:"PageArtistTracks",components:{ContentWithHeading:et,ControlDropdown:Bo,ControlSwitch:jo,IndexButtonList:dr,ListTracks:Cn,ModalDialogArtist:wu},beforeRouteEnter(e,t,n){ch.load(e).then(r=>{n(o=>ch.set(o,r))})},setup(){return{servicesStore:Pt(),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 ke}},computed:{album_count(){return new Set([...this.tracks].filter(e=>e.isItem).map(e=>e.item.album_id)).size},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.uiStore.artist_tracks_sort);return e.filters=[t=>!this.uiStore.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(){W.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(),!0)}}},_D={class:"columns"},gD={class:"column"},yD=["textContent"],zD=["textContent"],vD=["textContent"],bD={class:"column"},CD=["textContent"],wD=["textContent"],SD={class:"is-size-7 is-uppercase"},xD=["textContent"],kD=["textContent"],ED={class:"buttons is-centered"},TD=["textContent"];function AD(e,t,n,r,o,s){const i=T("index-button-list"),l=T("control-switch"),a=T("control-dropdown"),u=T("mdicon"),c=T("list-tracks"),d=T("modal-dialog-artist"),f=T("content-with-heading");return A(),D("div",null,[b(f,null,{options:P(()=>[b(i,{indices:s.tracks.indices},null,8,["indices"]),m("div",_D,[m("div",gD,[m("p",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.artist.filter"))},null,8,yD),s.spotify_enabled?(A(),ve(l,{key:0,modelValue:r.uiStore.hide_spotify,"onUpdate:modelValue":t[0]||(t[0]=p=>r.uiStore.hide_spotify=p)},{label:P(()=>[m("span",{textContent:y(e.$t("page.artist.hide-spotify"))},null,8,zD)]),help:P(()=>[m("span",{textContent:y(e.$t("page.artist.hide-spotify-help"))},null,8,vD)]),_:1},8,["modelValue"])):ie("",!0)]),m("div",bD,[m("p",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.artist.sort.title"))},null,8,CD),b(a,{value:r.uiStore.artist_tracks_sort,"onUpdate:value":t[1]||(t[1]=p=>r.uiStore.artist_tracks_sort=p),options:o.groupings},null,8,["value","options"])])])]),"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(o.artist.name)},null,8,wD),m("div",SD,[m("a",{onClick:t[2]||(t[2]=(...p)=>s.open_artist&&s.open_artist(...p)),textContent:y(e.$t("page.artist.album-count",{count:s.album_count}))},null,8,xD),t[6]||(t[6]=m("span",null," | ",-1)),m("span",{textContent:y(e.$t("page.artist.track-count",{count:s.tracks.count}))},null,8,kD)])]),"heading-right":P(()=>[m("div",ED,[m("a",{class:"button is-small is-light is-rounded",onClick:t[3]||(t[3]=p=>o.show_details_modal=!0)},[b(u,{class:"icon",name:"dots-horizontal",size:"16"})]),m("a",{class:"button is-small is-dark is-rounded",onClick:t[4]||(t[4]=(...p)=>s.play&&s.play(...p))},[b(u,{class:"icon",name:"shuffle",size:"16"}),m("span",{textContent:y(e.$t("page.artist.shuffle"))},null,8,TD)])])]),content:P(()=>[b(c,{items:s.tracks,uris:s.track_uris},null,8,["items","uris"]),b(d,{item:o.artist,show:o.show_details_modal,onClose:t[5]||(t[5]=p=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const $D=ae(hD,[["render",AD]]),OD={name:"ListArtists",components:{ModalDialogArtist:wu},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}}},PD={key:0,class:"py-5"},ID={class:"media-content"},LD=["id","textContent"],ND=["onClick"],DD={class:"media-content"},RD=["textContent"],MD={class:"media-right"},FD=["onClick"];function VD(e,t,n,r,o,s){const i=T("mdicon"),l=T("modal-dialog-artist");return A(),D(ze,null,[(A(!0),D(ze,null,Ct(n.items,a=>(A(),D(ze,{key:a.itemId},[a.isItem?(A(),D("div",{key:1,class:"media is-align-items-center is-clickable mb-0",onClick:u=>s.open(a.item)},[m("div",DD,[m("p",{class:"title is-6",textContent:y(a.item.name)},null,8,RD)]),m("div",MD,[m("a",{onClick:wt(u=>s.open_dialog(a.item),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,FD)])],8,ND)):(A(),D("div",PD,[m("div",ID,[m("span",{id:`index_${a.index}`,class:"tag is-small has-text-weight-bold",textContent:y(a.index)},null,8,LD)])]))],64))),128)),(A(),ve(Bn,{to:"#app"},[b(l,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=a=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Sl=ae(OD,[["render",VD]]),dh={load(e){return W.library_artists("music")},set(e,t){e.artists_list=new ke(t.data)}},HD={name:"PageArtists",components:{ContentWithHeading:et,ControlDropdown:Bo,ControlSwitch:jo,IndexButtonList:dr,ListArtists:Sl,TabsMusic:Sr},beforeRouteEnter(e,t,n){dh.load(e).then(r=>{n(o=>dh.set(o,r))})},setup(){return{servicesStore:Pt(),uiStore:wn()}},data(){return{artists_list:new ke,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.uiStore.artists_sort);return e.filters=[t=>!this.uiStore.hide_singles||t.track_count>t.album_count*2,t=>!this.uiStore.hide_spotify||t.data_kind!=="spotify"],this.artists_list.group(e)},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},UD={class:"columns"},jD={class:"column"},WD=["textContent"],BD=["textContent"],qD=["textContent"],GD={key:0,class:"field"},KD=["textContent"],ZD=["textContent"],YD={class:"column"},XD=["textContent"],JD=["textContent"],QD=["textContent"];function e5(e,t,n,r,o,s){const i=T("tabs-music"),l=T("index-button-list"),a=T("control-switch"),u=T("control-dropdown"),c=T("list-artists"),d=T("content-with-heading");return A(),D("div",null,[b(i),b(d,null,{options:P(()=>[b(l,{indices:s.artists.indices},null,8,["indices"]),m("div",UD,[m("div",jD,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.artists.filter"))},null,8,WD),b(a,{modelValue:r.uiStore.hide_singles,"onUpdate:modelValue":t[0]||(t[0]=f=>r.uiStore.hide_singles=f)},{label:P(()=>[m("span",{textContent:y(e.$t("page.artists.hide-singles"))},null,8,BD)]),help:P(()=>[m("span",{textContent:y(e.$t("page.artists.hide-singles-help"))},null,8,qD)]),_:1},8,["modelValue"]),s.spotify_enabled?(A(),D("div",GD,[b(a,{modelValue:r.uiStore.hide_spotify,"onUpdate:modelValue":t[1]||(t[1]=f=>r.uiStore.hide_spotify=f)},{label:P(()=>[m("span",{textContent:y(e.$t("page.artists.hide-spotify"))},null,8,KD)]),help:P(()=>[m("span",{textContent:y(e.$t("page.artists.hide-spotify-help"))},null,8,ZD)]),_:1},8,["modelValue"])])):ie("",!0)]),m("div",YD,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.artists.sort.title"))},null,8,XD),b(u,{value:r.uiStore.artists_sort,"onUpdate:value":t[2]||(t[2]=f=>r.uiStore.artists_sort=f),options:o.groupings},null,8,["value","options"])])])]),"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(e.$t("page.artists.title"))},null,8,JD),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.artists.count",{count:s.artists.count}))},null,8,QD)]),content:P(()=>[b(c,{items:s.artists},null,8,["items"])]),_:1})])}const t5=ae(HD,[["render",e5]]),mh={load(e){return Promise.all([W.library_album(e.params.id),W.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new ke(t[1].data)}},n5={name:"PageAudiobooksAlbum",components:{ContentWithHero:bu,CoverArtwork:Hr,ListTracks:Cn,ModalDialogAlbum:Cu},beforeRouteEnter(e,t,n){mh.load(e).then(r=>{n(o=>mh.set(o,r))})},data(){return{album:{},show_details_modal:!1,tracks:new ke}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},play(){W.player_play_uri(this.album.uri,!1)}}},r5=["textContent"],o5={class:"subtitle is-6"},s5=["textContent"],i5={class:"buttons is-centered-mobile mt-5"},a5=["textContent"],l5=["textContent"];function u5(e,t,n,r,o,s){const i=T("mdicon"),l=T("cover-artwork"),a=T("list-tracks"),u=T("modal-dialog-album"),c=T("content-with-hero");return A(),D("div",null,[b(c,null,{"heading-left":P(()=>[m("div",{class:"title is-5",textContent:y(o.album.name)},null,8,r5),m("div",o5,[m("a",{onClick:t[0]||(t[0]=(...d)=>s.open_artist&&s.open_artist(...d)),textContent:y(o.album.artist)},null,8,s5)]),m("div",i5,[m("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{textContent:y(e.$t("page.audiobooks.album.play"))},null,8,a5)]),m("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":P(()=>[b(l,{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]=d=>o.show_details_modal=!0)},null,8,["url","artist","album"])]),content:P(()=>[m("div",{class:"is-size-7 is-uppercase has-text-centered-mobile mt-5",textContent:y(e.$t("page.audiobooks.album.track-count",{count:o.album.track_count}))},null,8,l5),b(a,{items:o.tracks,show_progress:!0,uris:o.album.uri},null,8,["items","uris"]),b(u,{item:o.album,show:o.show_details_modal,media_kind:"audiobook",onClose:t[4]||(t[4]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const c5=ae(n5,[["render",u5]]),d5={name:"TabsAudiobooks"},m5={class:"section fd-tabs-section"},f5={class:"container"},p5={class:"columns is-centered"},h5={class:"column is-four-fifths"},_5={class:"tabs is-centered is-small"},g5=["onClick","onKeypress"],y5=["textContent"],z5=["onClick","onKeypress"],v5=["textContent"],b5=["onClick","onKeypress"],C5=["textContent"];function w5(e,t,n,r,o,s){const i=T("mdicon"),l=T("router-link");return A(),D("section",m5,[m("div",f5,[m("div",p5,[m("div",h5,[m("div",_5,[m("ul",null,[b(l,{to:{name:"audiobooks-artists"},custom:""},{default:P(({navigate:a,isActive:u})=>[m("li",{class:Te({"is-active":u})},[m("a",{onClick:a,onKeypress:gn(a,["enter"])},[b(i,{class:"icon is-small",name:"account-music",size:"16"}),m("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.authors"))},null,8,y5)],40,g5)],2)]),_:1}),b(l,{to:{name:"audiobooks-albums"},custom:""},{default:P(({navigate:a,isActive:u})=>[m("li",{class:Te({"is-active":u})},[m("a",{onClick:a,onKeypress:gn(a,["enter"])},[b(i,{class:"icon is-small",name:"album",size:"16"}),m("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,v5)],40,z5)],2)]),_:1}),b(l,{to:{name:"audiobooks-genres"},custom:""},{default:P(({navigate:a,isActive:u})=>[m("li",{class:Te({"is-active":u})},[m("a",{onClick:a,onKeypress:gn(a,["enter"])},[b(i,{class:"icon is-small",name:"speaker",size:"16"}),m("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.genres"))},null,8,C5)],40,b5)],2)]),_:1})])])])])])])}const wm=ae(d5,[["render",w5]]),fh={load(e){return W.library_albums("audiobook")},set(e,t){e.albums=new ke(t.data,{index:{field:"name_sort",type:String}})}},S5={name:"PageAudiobooksAlbums",components:{ContentWithHeading:et,IndexButtonList:dr,ListAlbums:kn,TabsAudiobooks:wm},beforeRouteEnter(e,t,n){fh.load(e).then(r=>{n(o=>fh.set(o,r))})},data(){return{albums:new ke}}},x5=["textContent"],k5=["textContent"];function E5(e,t,n,r,o,s){const i=T("tabs-audiobooks"),l=T("index-button-list"),a=T("list-albums"),u=T("content-with-heading");return A(),D("div",null,[b(i),b(u,null,{options:P(()=>[b(l,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.audiobooks.albums.title"))},null,8,x5),m("p",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.audiobooks.albums.count",{count:o.albums.count}))},null,8,k5)]),content:P(()=>[b(a,{items:o.albums},null,8,["items"])]),_:1})])}const T5=ae(S5,[["render",E5]]),ph={load(e){return Promise.all([W.library_artist(e.params.id),W.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums=new ke(t[1].data)}},A5={name:"PageAudiobooksArtist",components:{ContentWithHeading:et,ListAlbums:kn,ModalDialogArtist:wu},beforeRouteEnter(e,t,n){ph.load(e).then(r=>{n(o=>ph.set(o,r))})},data(){return{albums:new ke,artist:{},show_details_modal:!1}},methods:{play(){W.player_play_uri(this.albums.items.map(e=>e.uri).join(),!1)}}},$5=["textContent"],O5=["textContent"],P5={class:"buttons is-centered"},I5=["textContent"];function L5(e,t,n,r,o,s){const i=T("mdicon"),l=T("list-albums"),a=T("modal-dialog-artist"),u=T("content-with-heading");return A(),D("div",null,[b(u,null,{"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(o.artist.name)},null,8,$5),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.audiobooks.artist.album-count",{count:o.artist.album_count}))},null,8,O5)]),"heading-right":P(()=>[m("div",P5,[m("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=c=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})]),m("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...c)=>s.play&&s.play(...c))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{textContent:y(e.$t("page.audiobooks.artist.play"))},null,8,I5)])])]),content:P(()=>[b(l,{items:o.albums},null,8,["items"]),b(a,{item:o.artist,show:o.show_details_modal,onClose:t[2]||(t[2]=c=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const N5=ae(A5,[["render",L5]]),hh={load(e){return W.library_artists("audiobook")},set(e,t){e.artists=new ke(t.data,{index:{field:"name_sort",type:String}})}},D5={name:"PageAudiobooksArtists",components:{ContentWithHeading:et,IndexButtonList:dr,ListArtists:Sl,TabsAudiobooks:wm},beforeRouteEnter(e,t,n){hh.load(e).then(r=>{n(o=>hh.set(o,r))})},data(){return{artists:new ke}}},R5=["textContent"],M5=["textContent"];function F5(e,t,n,r,o,s){const i=T("tabs-audiobooks"),l=T("index-button-list"),a=T("list-artists"),u=T("content-with-heading");return A(),D("div",null,[b(i),b(u,null,{options:P(()=>[b(l,{indices:o.artists.indices},null,8,["indices"])]),"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(e.$t("page.audiobooks.artists.title"))},null,8,R5),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,M5)]),content:P(()=>[b(a,{items:o.artists},null,8,["items"])]),_:1})])}const V5=ae(D5,[["render",F5]]),H5={name:"ModalDialogGenre",components:{BaseModal:qt},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"),W.player_play_expression(this.expression,!1)},queue_add(){this.$emit("close"),W.queue_expression_add(this.expression)},queue_add_next(){this.$emit("close"),W.queue_expression_add_next(this.expression)}}},U5={class:"title is-4"},j5=["textContent"],W5={class:"mb-3"},B5=["textContent"],q5=["textContent"],G5={class:"mb-3"},K5=["textContent"],Z5=["textContent"],Y5={class:"mb-3"},X5=["textContent"],J5=["textContent"],Q5=["textContent"],eR=["textContent"],tR=["textContent"];function nR(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[4]||(t[4]=a=>e.$emit("close"))},{content:P(()=>[m("div",U5,[m("a",{onClick:t[0]||(t[0]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,j5)]),m("div",W5,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.genre.albums"))},null,8,B5),m("div",{class:"title is-6",textContent:y(n.item.album_count)},null,8,q5)]),m("div",G5,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.genre.tracks"))},null,8,K5),m("div",{class:"title is-6",textContent:y(n.item.track_count)},null,8,Z5)]),m("div",Y5,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.genre.duration"))},null,8,X5),m("div",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,J5)])]),footer:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.add"))},null,8,Q5)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.add-next"))},null,8,eR)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.play"))},null,8,tR)])]),_:1},8,["show"])}const Sm=ae(H5,[["render",nR]]),rR={name:"ListGenres",components:{ModalDialogGenre:Sm},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}}},oR={key:0,class:"py-5"},sR={class:"media-content"},iR=["id","textContent"],aR=["onClick"],lR={class:"media-content"},uR=["textContent"],cR={class:"media-right"},dR=["onClick"];function mR(e,t,n,r,o,s){const i=T("mdicon"),l=T("modal-dialog-genre");return A(),D(ze,null,[(A(!0),D(ze,null,Ct(n.items,a=>(A(),D(ze,{key:a.itemId},[a.isItem?(A(),D("div",{key:1,class:"media is-align-items-center is-clickable mb-0",onClick:u=>s.open(a.item)},[m("div",lR,[m("p",{class:"title is-6",textContent:y(a.item.name)},null,8,uR)]),m("div",cR,[m("a",{onClick:wt(u=>s.open_dialog(a.item),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,dR)])],8,aR)):(A(),D("div",oR,[m("div",sR,[m("span",{id:`index_${a.index}`,class:"tag is-small has-text-weight-bold",textContent:y(a.index)},null,8,iR)])]))],64))),128)),(A(),ve(Bn,{to:"#app"},[b(l,{item:o.selected_item,media_kind:n.media_kind,show:o.show_details_modal,onClose:t[0]||(t[0]=a=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]))],64)}const y1=ae(rR,[["render",mR]]),_h={load(e){return W.library_genres("audiobook")},set(e,t){e.genres=new ke(t.data.genres,{index:{field:"name_sort",type:String}})}},fR={name:"PageAudiobooksGenres",components:{ContentWithHeading:et,IndexButtonList:dr,ListGenres:y1,TabsAudiobooks:wm},beforeRouteEnter(e,t,n){_h.load(e).then(r=>{n(o=>_h.set(o,r))})},data(){return{genres:new ke}}},pR=["textContent"],hR=["textContent"];function _R(e,t,n,r,o,s){const i=T("tabs-audiobooks"),l=T("index-button-list"),a=T("list-genres"),u=T("content-with-heading");return A(),D("div",null,[b(i),b(u,null,{options:P(()=>[b(l,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(e.$t("page.genres.title"))},null,8,pR),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.genres.count",{count:o.genres.total}))},null,8,hR)]),content:P(()=>[b(a,{items:o.genres,media_kind:"audiobook"},null,8,["items"])]),_:1})])}const gR=ae(fR,[["render",_R]]),yR={name:"ModalDialogComposer",components:{BaseModal:qt},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"),W.player_play_expression(`composer is "${this.item.name}" and media_kind is music`,!1)},queue_add(){this.$emit("close"),W.queue_expression_add(`composer is "${this.item.name}" and media_kind is music`)},queue_add_next(){this.$emit("close"),W.queue_expression_add_next(`composer is "${this.item.name}" and media_kind is music`)}}},zR={class:"title is-4"},vR=["textContent"],bR={class:"mb-3"},CR=["textContent"],wR={class:"title is-6"},SR=["textContent"],xR={class:"mb-3"},kR=["textContent"],ER={class:"title is-6"},TR=["textContent"],AR={class:"mb-3"},$R=["textContent"],OR=["textContent"],PR=["textContent"],IR=["textContent"],LR=["textContent"];function NR(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[6]||(t[6]=a=>e.$emit("close"))},{content:P(()=>[m("div",zR,[m("a",{onClick:t[0]||(t[0]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:y(n.item.name)},null,8,vR)]),m("div",bR,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.composer.albums"))},null,8,CR),m("div",wR,[m("a",{onClick:t[1]||(t[1]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:y(n.item.album_count)},null,8,SR)])]),m("div",xR,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.composer.tracks"))},null,8,kR),m("div",ER,[m("a",{onClick:t[2]||(t[2]=(...a)=>s.open_tracks&&s.open_tracks(...a)),textContent:y(n.item.track_count)},null,8,TR)])]),m("div",AR,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.composer.duration"))},null,8,$R),m("div",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,OR)])]),footer:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.add"))},null,8,PR)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.add-next"))},null,8,IR)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.play"))},null,8,LR)])]),_:1},8,["show"])}const xm=ae(yR,[["render",NR]]),gh={load(e){return Promise.all([W.library_composer(e.params.name),W.library_composer_albums(e.params.name)])},set(e,t){e.composer=t[0].data,e.albums=new ke(t[1].data.albums)}},DR={name:"PageComposerAlbums",components:{ContentWithHeading:et,ListAlbums:kn,ModalDialogComposer:xm},beforeRouteEnter(e,t,n){gh.load(e).then(r=>{n(o=>gh.set(o,r))})},data(){return{albums:new ke,composer:{},show_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){W.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!0)}}},RR=["textContent"],MR={class:"is-size-7 is-uppercase"},FR=["textContent"],VR=["textContent"],HR={class:"buttons is-centered"},UR=["textContent"];function jR(e,t,n,r,o,s){const i=T("mdicon"),l=T("list-albums"),a=T("modal-dialog-composer"),u=T("content-with-heading");return A(),D("div",null,[b(u,null,{"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(o.composer.name)},null,8,RR),m("div",MR,[m("span",{textContent:y(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,FR),t[4]||(t[4]=m("span",null," | ",-1)),m("a",{onClick:t[0]||(t[0]=(...c)=>s.open_tracks&&s.open_tracks(...c)),textContent:y(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,VR)])]),"heading-right":P(()=>[m("div",HR,[m("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=c=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})]),m("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...c)=>s.play&&s.play(...c))},[b(i,{class:"icon",name:"shuffle",size:"16"}),m("span",{textContent:y(e.$t("page.composer.shuffle"))},null,8,UR)])])]),content:P(()=>[b(l,{items:o.albums},null,8,["items"]),b(a,{item:o.composer,show:o.show_details_modal,onClose:t[3]||(t[3]=c=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const WR=ae(DR,[["render",jR]]),yh={load(e){return Promise.all([W.library_composer(e.params.name),W.library_composer_tracks(e.params.name)])},set(e,t){e.composer=t[0].data,e.tracks_list=new ke(t[1].data.tracks)}},BR={name:"PageComposerTracks",components:{ContentWithHeading:et,ControlDropdown:Bo,IndexButtonList:dr,ListTracks:Cn,ModalDialogComposer:xm},beforeRouteEnter(e,t,n){yh.load(e).then(r=>{n(o=>yh.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 ke}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.uiStore.composer_tracks_sort);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(){W.player_play_expression(this.expression,!0)}}},qR={class:"columns"},GR={class:"column"},KR=["textContent"],ZR=["textContent"],YR={class:"is-size-7 is-uppercase"},XR=["textContent"],JR=["textContent"],QR={class:"buttons is-centered"},eM=["textContent"];function tM(e,t,n,r,o,s){const i=T("index-button-list"),l=T("control-dropdown"),a=T("mdicon"),u=T("list-tracks"),c=T("modal-dialog-composer"),d=T("content-with-heading");return A(),D("div",null,[b(d,null,{options:P(()=>[b(i,{indices:s.tracks.indices},null,8,["indices"]),m("div",qR,[m("div",GR,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.artist.sort.title"))},null,8,KR),b(l,{value:r.uiStore.composer_tracks_sort,"onUpdate:value":t[0]||(t[0]=f=>r.uiStore.composer_tracks_sort=f),options:o.groupings},null,8,["value","options"])])])]),"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(o.composer.name)},null,8,ZR),m("div",YR,[m("a",{onClick:t[1]||(t[1]=(...f)=>s.open_albums&&s.open_albums(...f)),textContent:y(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,XR),t[5]||(t[5]=m("span",null," | ",-1)),m("span",{textContent:y(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,JR)])]),"heading-right":P(()=>[m("div",QR,[m("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>o.show_details_modal=!0)},[b(a,{class:"icon",name:"dots-horizontal",size:"16"})]),m("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...f)=>s.play&&s.play(...f))},[b(a,{class:"icon",name:"shuffle",size:"16"}),m("span",{textContent:y(e.$t("page.composer.shuffle"))},null,8,eM)])])]),content:P(()=>[b(u,{items:s.tracks,expression:s.expression},null,8,["items","expression"]),b(c,{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 nM=ae(BR,[["render",tM]]),rM={name:"ListComposers",components:{ModalDialogComposer:xm},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}}},oM={key:0,class:"py-5"},sM={class:"media-content"},iM=["id","textContent"],aM=["onClick"],lM={class:"media-content"},uM=["textContent"],cM={class:"media-right"},dM=["onClick"];function mM(e,t,n,r,o,s){const i=T("mdicon"),l=T("modal-dialog-composer");return A(),D(ze,null,[(A(!0),D(ze,null,Ct(n.items,a=>(A(),D(ze,{key:a.itemId},[a.isItem?(A(),D("div",{key:1,class:"media is-align-items-center is-clickable mb-0",onClick:u=>s.open(a.item)},[m("div",lM,[m("p",{class:"title is-6",textContent:y(a.item.name)},null,8,uM)]),m("div",cM,[m("a",{onClick:wt(u=>s.open_dialog(a.item),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,dM)])],8,aM)):(A(),D("div",oM,[m("div",sM,[m("span",{id:`index_${a.index}`,class:"tag is-small has-text-weight-bold",textContent:y(a.index)},null,8,iM)])]))],64))),128)),(A(),ve(Bn,{to:"#app"},[b(l,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=a=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const hd=ae(rM,[["render",mM]]),zh={load(e){return W.library_composers("music")},set(e,t){e.composers=new ke(t.data,{index:{field:"name_sort",type:String}})}},fM={name:"PageComposers",components:{ContentWithHeading:et,IndexButtonList:dr,ListComposers:hd,TabsMusic:Sr},beforeRouteEnter(e,t,n){zh.load(e).then(r=>{n(o=>zh.set(o,r))})},data(){return{composers:new ke}}},pM=["textContent"],hM=["textContent"];function _M(e,t,n,r,o,s){const i=T("tabs-music"),l=T("index-button-list"),a=T("list-composers"),u=T("content-with-heading");return A(),D("div",null,[b(i),b(u,null,{options:P(()=>[b(l,{indices:o.composers.indices},null,8,["indices"])]),"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(e.$t("page.composers.title"))},null,8,pM),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.composers.count",{count:o.composers.total}))},null,8,hM)]),content:P(()=>[b(a,{items:o.composers},null,8,["items"])]),_:1})])}const gM=ae(fM,[["render",_M]]),yM={name:"ModalDialogDirectory",components:{BaseModal:qt},props:{item:{required:!0,type:String},show:Boolean},emits:["close"],methods:{play(){this.$emit("close"),W.player_play_expression(`path starts with "${this.item}" order by path asc`,!1)},queue_add(){this.$emit("close"),W.queue_expression_add(`path starts with "${this.item}" order by path asc`)},queue_add_next(){this.$emit("close"),W.queue_expression_add_next(`path starts with "${this.item}" order by path asc`)}}},zM=["textContent"],vM=["textContent"],bM=["textContent"],CM=["textContent"];function wM(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[3]||(t[3]=a=>e.$emit("close"))},{content:P(()=>[m("p",{class:"title is-4",textContent:y(n.item)},null,8,zM)]),footer:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[0]||(t[0]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.add"))},null,8,vM)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.add-next"))},null,8,bM)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.play"))},null,8,CM)])]),_:1},8,["show"])}const z1=ae(yM,[["render",wM]]),SM={name:"ListDirectories",components:{ModalDialogDirectory:z1},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())}}},xM={key:0,class:"media is-align-items-center mb-0"},kM={class:"media-content"},EM={class:"breadcrumb"},TM=["onClick"],AM=["textContent"],$M={class:"media-right"},OM=["onClick"],PM={class:"media-content"},IM=["textContent"],LM={class:"media-right"},NM=["onClick"];function DM(e,t,n,r,o,s){const i=T("mdicon"),l=T("modal-dialog-directory");return A(),D(ze,null,[e.$route.query.directory?(A(),D("div",xM,[b(i,{class:"icon media-left is-clickable",name:"chevron-left",onClick:s.open_parent},null,8,["onClick"]),m("div",kM,[m("nav",EM,[m("ul",null,[(A(!0),D(ze,null,Ct(s.directories,a=>(A(),D("li",{key:a.index},[m("a",{onClick:u=>s.open(a)},[m("span",{textContent:y(a.name)},null,8,AM)],8,TM)]))),128))])])]),m("div",$M,[mt(e.$slots,"actions")])])):ie("",!0),(A(!0),D(ze,null,Ct(n.items,a=>(A(),D("div",{key:a.path,class:"media is-align-items-center is-clickable mb-0",onClick:u=>s.open(a)},[b(i,{class:"media-left icon",name:"folder"}),m("div",PM,[m("p",{class:"title is-6",textContent:y(a.name)},null,8,IM)]),m("div",LM,[m("a",{onClick:wt(u=>s.open_dialog(a),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,NM)])],8,OM))),128)),(A(),ve(Bn,{to:"#app"},[b(l,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=a=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const RM=ae(SM,[["render",DM]]),MM={name:"ModalDialogPlaylist",components:{BaseModal:qt},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"),W.player_play_uri(this.uris||this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.uris||this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.uris||this.item.uri)}}},FM={class:"title is-4"},VM=["textContent"],HM={class:"mb-3"},UM=["textContent"],jM=["textContent"],WM={class:"mb-3"},BM=["textContent"],qM=["textContent"],GM={key:0,class:"mb-3"},KM=["textContent"],ZM=["textContent"],YM=["textContent"],XM=["textContent"],JM=["textContent"];function QM(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[4]||(t[4]=a=>e.$emit("close"))},Uo({content:P(()=>[m("div",FM,[m("a",{onClick:t[0]||(t[0]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,VM)]),m("div",HM,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.playlist.path"))},null,8,UM),m("div",{class:"title is-6",textContent:y(n.item.path)},null,8,jM)]),m("div",WM,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.playlist.type"))},null,8,BM),m("div",{class:"title is-6",textContent:y(e.$t(`playlist.type.${n.item.type}`))},null,8,qM)]),n.item.folder?ie("",!0):(A(),D("div",GM,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.playlist.tracks"))},null,8,KM),m("div",{class:"title is-6",textContent:y(n.item.item_count)},null,8,ZM)]))]),_:2},[n.item.folder?void 0:{name:"footer",fn:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.add"))},null,8,YM)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.add-next"))},null,8,XM)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.play"))},null,8,JM)])]),key:"0"}]),1032,["show"])}const v1=ae(MM,[["render",QM]]),e7={name:"ListPlaylists",components:{ModalDialogPlaylist:v1},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{icon(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}}},t7=["onClick"],n7={class:"media-content"},r7=["textContent"],o7={class:"media-right"},s7=["onClick"];function i7(e,t,n,r,o,s){const i=T("mdicon"),l=T("modal-dialog-playlist");return A(),D(ze,null,[(A(!0),D(ze,null,Ct(n.items,a=>(A(),D("div",{key:a.itemId,class:"media is-align-items-center is-clickable mb-0",onClick:u=>s.open(a.item)},[b(i,{class:"media-left icon",name:s.icon(a.item)},null,8,["name"]),m("div",n7,[m("p",{class:"title is-6",textContent:y(a.item.name)},null,8,r7)]),m("div",o7,[m("a",{onClick:wt(u=>s.open_dialog(a.item),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,s7)])],8,t7))),128)),(A(),ve(Bn,{to:"#app"},[b(l,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=a=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const xl=ae(e7,[["render",i7]]),ka={load(e){return e.query.directory?W.library_files(e.query.directory):Promise.resolve()},set(e,t){t?e.directories=t.data.directories.map(n=>e.transform(n.path)):Mo().directories?e.directories=Mo().directories.map(n=>e.transform(n)):W.config().then(n=>{e.directories=n.data.directories.map(r=>e.transform(r))}),e.playlists=new ke(t==null?void 0:t.data.playlists),e.tracks=new ke(t==null?void 0:t.data.tracks)}},a7={name:"PageFiles",components:{ContentWithHeading:et,ListDirectories:RM,ListPlaylists:xl,ListTracks:Cn,ModalDialogDirectory:z1},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:Mo()}},data(){return{directories:[],playlists:new ke,show_details_modal:!1,tracks:new ke}},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(){W.player_play_expression(this.play_expression,!1)},transform(e){return{name:e.slice(e.lastIndexOf("/")+1),path:e}}}},l7=["textContent"],u7={class:"buttons is-centered"},c7=["textContent"];function d7(e,t,n,r,o,s){const i=T("mdicon"),l=T("list-directories"),a=T("list-playlists"),u=T("list-tracks"),c=T("modal-dialog-directory"),d=T("content-with-heading");return A(),D("div",null,[b(d,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(s.name)},null,8,l7)]),"heading-right":P(()=>[m("div",u7,[m("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})]),m("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{textContent:y(e.$t("page.files.play"))},null,8,c7)])])]),content:P(()=>[b(l,{items:o.directories},null,8,["items"]),b(a,{items:o.playlists},null,8,["items"]),b(u,{expression:s.play_expression,items:o.tracks,show_icon:!0},null,8,["expression","items"]),b(c,{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 m7=ae(a7,[["render",d7]]),vh={load(e){return Promise.all([W.library_genre(e.params.name,e.query.media_kind),W.library_genre_albums(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data.genres.items.shift(),e.albums=new ke(t[1].data.albums,{index:{field:"name_sort",type:String}})}},f7={name:"PageGenreAlbums",components:{ContentWithHeading:et,IndexButtonList:dr,ListAlbums:kn,ModalDialogGenre:Sm},beforeRouteEnter(e,t,n){vh.load(e).then(r=>{n(o=>vh.set(o,r))})},data(){return{albums:new ke,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(){W.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}},p7=["textContent"],h7={class:"is-size-7 is-uppercase"},_7=["textContent"],g7=["textContent"],y7={class:"buttons is-centered"},z7=["textContent"];function v7(e,t,n,r,o,s){const i=T("index-button-list"),l=T("mdicon"),a=T("list-albums"),u=T("modal-dialog-genre"),c=T("content-with-heading");return A(),D("div",null,[b(c,null,{options:P(()=>[b(i,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(o.genre.name)},null,8,p7),m("div",h7,[m("span",{textContent:y(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,_7),t[4]||(t[4]=m("span",null," | ",-1)),m("a",{onClick:t[0]||(t[0]=(...d)=>s.open_tracks&&s.open_tracks(...d)),textContent:y(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,g7)])]),"heading-right":P(()=>[m("div",y7,[m("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=d=>o.show_details_modal=!0)},[b(l,{class:"icon",name:"dots-horizontal",size:"16"})]),m("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...d)=>s.play&&s.play(...d))},[b(l,{class:"icon",name:"shuffle",size:"16"}),m("span",{textContent:y(e.$t("page.genre.shuffle"))},null,8,z7)])])]),content:P(()=>[b(a,{items:o.albums},null,8,["items"]),b(u,{item:o.genre,media_kind:o.media_kind,show:o.show_details_modal,onClose:t[3]||(t[3]=d=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const b7=ae(f7,[["render",v7]]),bh={load(e){return Promise.all([W.library_genre(e.params.name,e.query.media_kind),W.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 ke(t[1].data.tracks)}},C7={name:"PageGenreTracks",components:{ContentWithHeading:et,ControlDropdown:Bo,IndexButtonList:dr,ListTracks:Cn,ModalDialogGenre:Sm},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 ke}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.uiStore.genre_tracks_sort);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(){W.player_play_expression(this.expression,!0)}}},w7={class:"columns"},S7={class:"column"},x7=["textContent"],k7=["textContent"],E7={class:"is-size-7 is-uppercase"},T7=["textContent"],A7=["textContent"],$7={class:"buttons is-centered"},O7=["textContent"];function P7(e,t,n,r,o,s){const i=T("index-button-list"),l=T("control-dropdown"),a=T("mdicon"),u=T("list-tracks"),c=T("modal-dialog-genre"),d=T("content-with-heading");return A(),D("div",null,[b(d,null,{options:P(()=>[b(i,{indices:s.tracks.indices},null,8,["indices"]),m("div",w7,[m("div",S7,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.genre.sort.title"))},null,8,x7),b(l,{value:r.uiStore.genre_tracks_sort,"onUpdate:value":t[0]||(t[0]=f=>r.uiStore.genre_tracks_sort=f),options:o.groupings},null,8,["value","options"])])])]),"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(o.genre.name)},null,8,k7),m("div",E7,[m("a",{onClick:t[1]||(t[1]=(...f)=>s.open_genre&&s.open_genre(...f)),textContent:y(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,T7),t[5]||(t[5]=m("span",null," | ",-1)),m("span",{textContent:y(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,A7)])]),"heading-right":P(()=>[m("div",$7,[m("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>o.show_details_modal=!0)},[b(a,{class:"icon",name:"dots-horizontal",size:"16"})]),m("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...f)=>s.play&&s.play(...f))},[b(a,{class:"icon",name:"shuffle",size:"16"}),m("span",{textContent:y(e.$t("page.genre.shuffle"))},null,8,O7)])])]),content:P(()=>[b(u,{items:s.tracks,expression:s.expression},null,8,["items","expression"]),b(c,{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 I7=ae(C7,[["render",P7]]),Ch={load(e){return W.library_genres("music")},set(e,t){e.genres=new ke(t.data.genres,{index:{field:"name_sort",type:String}})}},L7={name:"PageGenres",components:{ContentWithHeading:et,IndexButtonList:dr,ListGenres:y1,TabsMusic:Sr},beforeRouteEnter(e,t,n){Ch.load(e).then(r=>{n(o=>Ch.set(o,r))})},data(){return{genres:new ke}}},N7=["textContent"],D7=["textContent"];function R7(e,t,n,r,o,s){const i=T("tabs-music"),l=T("index-button-list"),a=T("list-genres"),u=T("content-with-heading");return A(),D("div",null,[b(i),b(u,null,{options:P(()=>[b(l,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(e.$t("page.genres.title"))},null,8,N7),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.genres.count",{count:o.genres.total}))},null,8,D7)]),content:P(()=>[b(a,{items:o.genres,media_kind:"music"},null,8,["items"])]),_:1})])}const M7=ae(L7,[["render",R7]]),wh={load(e){return Promise.all([W.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"}),W.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 ke(t[0].data.albums),e.tracks=new ke(t[1].data.tracks)}},F7={name:"PageMusic",components:{ContentWithHeading:et,ListAlbums:kn,ListTracks:Cn,TabsMusic:Sr},beforeRouteEnter(e,t,n){wh.load(e).then(r=>{n(o=>wh.set(o,r))})},data(){return{albums:[],tracks:{items:[]},selected_track:{}}}},V7=["textContent"],H7={class:"level"},U7={class:"level-item"},j7=["textContent"],W7={class:"level"},B7={class:"level-item"};function q7(e,t,n,r,o,s){const i=T("tabs-music"),l=T("list-albums"),a=T("router-link"),u=T("content-with-heading"),c=T("list-tracks");return A(),D("div",null,[b(i),b(u,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-added.title"))},null,8,V7)]),content:P(()=>[b(l,{items:o.albums},null,8,["items"])]),footer:P(()=>[m("nav",H7,[m("p",U7,[b(a,{class:"button is-small is-rounded",to:{name:"music-recently-added"}},{default:P(()=>[Rt(y(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1}),b(u,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-played.title"))},null,8,j7)]),content:P(()=>[b(c,{items:o.tracks},null,8,["items"])]),footer:P(()=>[m("nav",W7,[m("p",B7,[b(a,{class:"button is-small is-rounded",to:{name:"music-recently-played"}},{default:P(()=>[Rt(y(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1})])}const G7=ae(F7,[["render",q7]]),Sh={load(e){const t=ur().recently_added_limit;return W.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 ke(t.data.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})}},K7={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:et,ListAlbums:kn,TabsMusic:Sr},beforeRouteEnter(e,t,n){Sh.load(e).then(r=>{n(o=>Sh.set(o,r))})},setup(){return{settingsStore:ur()}},data(){return{albums:new ke}}},Z7=["textContent"];function Y7(e,t,n,r,o,s){const i=T("tabs-music"),l=T("list-albums"),a=T("content-with-heading");return A(),D("div",null,[b(i),b(a,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-added.title"))},null,8,Z7)]),content:P(()=>[b(l,{items:o.albums},null,8,["items"])]),_:1})])}const X7=ae(K7,[["render",Y7]]),xh={load(e){return W.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 ke(t.data.tracks)}},J7={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:et,ListTracks:Cn,TabsMusic:Sr},beforeRouteEnter(e,t,n){xh.load(e).then(r=>{n(o=>xh.set(o,r))})},data(){return{tracks:{}}}},Q7=["textContent"];function eF(e,t,n,r,o,s){const i=T("tabs-music"),l=T("list-tracks"),a=T("content-with-heading");return A(),D("div",null,[b(i),b(a,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-played.title"))},null,8,Q7)]),content:P(()=>[b(l,{items:o.tracks},null,8,["items"])]),_:1})])}const tF=ae(J7,[["render",eF]]),nF={name:"ModalDialogPlaylistSpotify",components:{BaseModal:qt},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"),W.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),W.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),W.queue_add_next(this.item.uri)}}},rF={class:"title is-4"},oF=["textContent"],sF={class:"mb-3"},iF=["textContent"],aF=["textContent"],lF={class:"mb-3"},uF=["textContent"],cF=["textContent"],dF={class:"mb-3"},mF=["textContent"],fF=["textContent"],pF=["textContent"],hF=["textContent"],_F=["textContent"];function gF(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[4]||(t[4]=a=>e.$emit("close"))},{content:P(()=>[m("div",rF,[m("a",{onClick:t[0]||(t[0]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,oF)]),m("div",sF,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.playlist.owner"))},null,8,iF),m("div",{class:"title is-6",textContent:y(n.item.owner.display_name)},null,8,aF)]),m("div",lF,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.playlist.tracks"))},null,8,uF),m("div",{class:"title is-6",textContent:y(n.item.tracks.total)},null,8,cF)]),m("div",dF,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.spotify.playlist.path"))},null,8,mF),m("div",{class:"title is-6",textContent:y(n.item.uri)},null,8,fF)])]),footer:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.add"))},null,8,pF)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.add-next"))},null,8,hF)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.play"))},null,8,_F)])]),_:1},8,["show"])}const b1=ae(nF,[["render",gF]]),yF={name:"ListPlaylistsSpotify",components:{ModalDialogPlaylistSpotify:b1},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}}},zF=["onClick"],vF={class:"media-content"},bF=["textContent"],CF=["textContent"],wF={class:"media-right"},SF=["onClick"];function xF(e,t,n,r,o,s){const i=T("mdicon"),l=T("modal-dialog-playlist-spotify");return A(),D(ze,null,[(A(!0),D(ze,null,Ct(n.items,a=>(A(),D("div",{key:a.id,class:"media is-align-items-center is-clickable mb-0",onClick:u=>s.open(a)},[m("div",vF,[m("div",{class:"is-size-6 has-text-weight-bold",textContent:y(a.name)},null,8,bF),m("div",{class:"is-size-7 has-text-weight-bold has-text-grey",textContent:y(a.owner.display_name)},null,8,CF)]),m("div",wF,[m("a",{onClick:wt(u=>s.open_dialog(a),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,SF)])],8,zF))),128)),(A(),ve(Bn,{to:"#app"},[b(l,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=a=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const kl=ae(yF,[["render",xF]]),kh={load(e){return W.spotify().then(({data:t})=>{const n=new cr;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}},kF={name:"PageMusicSpotify",components:{ContentWithHeading:et,ListAlbumsSpotify:ji,ListPlaylistsSpotify:kl,TabsMusic:Sr},beforeRouteEnter(e,t,n){kh.load(e).then(r=>{n(o=>kh.set(o,r))})},data(){return{playlists:[],albums:[]}}},EF=["textContent"],TF={class:"level"},AF={class:"level-item"},$F=["textContent"],OF={class:"level"},PF={class:"level-item"};function IF(e,t,n,r,o,s){const i=T("tabs-music"),l=T("list-albums-spotify"),a=T("router-link"),u=T("content-with-heading"),c=T("list-playlists-spotify");return A(),D("div",null,[b(i),b(u,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.new-releases"))},null,8,EF)]),content:P(()=>[b(l,{items:o.albums},null,8,["items"])]),footer:P(()=>[m("nav",TF,[m("p",AF,[b(a,{to:{name:"music-spotify-new-releases"},class:"button is-small is-rounded"},{default:P(()=>[Rt(y(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1}),b(u,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.featured-playlists"))},null,8,$F)]),content:P(()=>[b(c,{items:o.playlists},null,8,["items"])]),footer:P(()=>[m("nav",OF,[m("p",PF,[b(a,{to:{name:"music-spotify-featured-playlists"},class:"button is-small is-rounded"},{default:P(()=>[Rt(y(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1})])}const LF=ae(kF,[["render",IF]]),Eh={load(e){return W.spotify().then(({data:t})=>{const n=new cr;return n.setAccessToken(t.webapi_token),n.getFeaturedPlaylists({country:t.webapi_country,limit:50})})},set(e,t){e.playlists=t.playlists.items}},NF={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:et,ListPlaylistsSpotify:kl,TabsMusic:Sr},beforeRouteEnter(e,t,n){Eh.load(e).then(r=>{n(o=>Eh.set(o,r))})},data(){return{playlists:[]}}},DF=["textContent"];function RF(e,t,n,r,o,s){const i=T("tabs-music"),l=T("list-playlists-spotify"),a=T("content-with-heading");return A(),D("div",null,[b(i),b(a,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.featured-playlists"))},null,8,DF)]),content:P(()=>[b(l,{items:o.playlists},null,8,["items"])]),_:1})])}const MF=ae(NF,[["render",RF]]),Th={load(e){return W.spotify().then(({data:t})=>{const n=new cr;return n.setAccessToken(t.webapi_token),n.getNewReleases({country:t.webapi_country,limit:50})})},set(e,t){e.albums=t.albums.items}},FF={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:et,ListAlbumsSpotify:ji,TabsMusic:Sr},beforeRouteEnter(e,t,n){Th.load(e).then(r=>{n(o=>Th.set(o,r))})},data(){return{albums:[]}}},VF=["textContent"];function HF(e,t,n,r,o,s){const i=T("tabs-music"),l=T("list-albums-spotify"),a=T("content-with-heading");return A(),D("div",null,[b(i),b(a,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.new-releases"))},null,8,VF)]),content:P(()=>[b(l,{items:o.albums},null,8,["items"])]),_:1})])}const UF=ae(FF,[["render",HF]]),jF={name:"LyricsPane",setup(){return{lyricsStore:fu(),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:l}=n.exec(r).groups;if(o){const a={text:o,time:s*60+Number(i)+ +`.${l||0}`};t.push(a)}}),t.forEach((r,o,s)=>{const i=(s[o+1].time-r.time||3)/r.text.length;let l=0;r.words=r.text.match(/\S+\s*/gu).map(a=>{const u=a.length*i;return l+=u,{duration:u,delay:l,text:a}})})}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,l=0;for(;l<=s;){i=l+s>>1;const a=n[i].time,u=(e=n[i+1])==null?void 0:e.time;if(a<=t&&(u>t||!u))break;a<t?l=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))}}},WF=["textContent"],BF={key:1};function qF(e,t,n,r,o,s){return A(),D("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))},[(A(!0),D(ze,null,Ct(s.lyrics,(i,l)=>(A(),D(ze,{key:l},[l===s.verse_index?(A(),D("div",{key:0,class:Te({"is-highlighted":s.is_playing})},[(A(!0),D(ze,null,Ct(i.words,a=>(A(),D("span",{key:a,class:"has-text-weight-bold is-size-5"},[m("span",{style:fo({"animation-duration":`${a.delay}s`}),textContent:y(a.text)},null,12,WF)]))),128))],2)):(A(),D("div",BF,y(i.text),1))],64))),128))],544)}const GF=ae(jF,[["render",qF],["__scopeId","data-v-e04e7f3f"]]),KF={name:"ModalDialogQueueItem",components:{BaseModal:qt},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],setup(){return{servicesStore:Pt()}},data(){return{spotify_track:{}}},watch:{item(){var e;if(((e=this.item)==null?void 0:e.data_kind)==="spotify"){const t=new cr;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"),W.player_play({item_id:this.item.id})},remove(){this.$emit("close"),W.queue_remove(this.item.id)}}},ZF=["textContent"],YF=["textContent"],XF={key:0,class:"mb-3"},JF=["textContent"],QF={class:"title is-6"},eV=["textContent"],tV={key:1,class:"mb-3"},nV=["textContent"],rV={class:"title is-6"},oV=["textContent"],sV={key:2,class:"mb-3"},iV=["textContent"],aV=["textContent"],lV={key:3,class:"mb-3"},uV=["textContent"],cV=["textContent"],dV={key:4,class:"mb-3"},mV=["textContent"],fV={class:"title is-6"},pV=["textContent"],hV={key:5,class:"mb-3"},_V=["textContent"],gV=["textContent"],yV={key:6,class:"mb-3"},zV=["textContent"],vV=["textContent"],bV={class:"mb-3"},CV=["textContent"],wV=["textContent"],SV={class:"mb-3"},xV=["textContent"],kV={class:"title is-6"},EV=["textContent"],TV={key:7,class:"mb-3"},AV=["textContent"],$V={class:"title is-6"},OV=["textContent"],PV=["textContent"],IV=["textContent"],LV=["textContent"],NV=["textContent"],DV=["textContent"];function RV(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[5]||(t[5]=a=>e.$emit("close"))},{content:P(()=>[m("div",{class:"title is-4",textContent:y(n.item.title)},null,8,ZF),m("div",{class:"subtitle",textContent:y(n.item.artist)},null,8,YF),n.item.album?(A(),D("div",XF,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.queue-item.album"))},null,8,JF),m("div",QF,[m("a",{onClick:t[0]||(t[0]=(...a)=>s.open_album&&s.open_album(...a)),textContent:y(n.item.album)},null,8,eV)])])):ie("",!0),n.item.album_artist?(A(),D("div",tV,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.queue-item.album-artist"))},null,8,nV),m("div",rV,[m("a",{onClick:t[1]||(t[1]=(...a)=>s.open_album_artist&&s.open_album_artist(...a)),textContent:y(n.item.album_artist)},null,8,oV)])])):ie("",!0),n.item.composer?(A(),D("div",sV,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.queue-item.composer"))},null,8,iV),m("div",{class:"title is-6",textContent:y(n.item.composer)},null,8,aV)])):ie("",!0),n.item.year?(A(),D("div",lV,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.queue-item.year"))},null,8,uV),m("div",{class:"title is-6",textContent:y(n.item.year)},null,8,cV)])):ie("",!0),n.item.genre?(A(),D("div",dV,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.queue-item.genre"))},null,8,mV),m("div",fV,[m("a",{onClick:t[2]||(t[2]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:y(n.item.genre)},null,8,pV)])])):ie("",!0),n.item.disc_number?(A(),D("div",hV,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.queue-item.position"))},null,8,_V),m("div",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,gV)])):ie("",!0),n.item.length_ms?(A(),D("div",yV,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.queue-item.duration"))},null,8,zV),m("div",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,vV)])):ie("",!0),m("div",bV,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.queue-item.path"))},null,8,CV),m("div",{class:"title is-6",textContent:y(n.item.path)},null,8,wV)]),m("div",SV,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.queue-item.type"))},null,8,xV),m("div",kV,[m("span",{textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,EV)])]),n.item.samplerate?(A(),D("div",TV,[m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("dialog.queue-item.quality"))},null,8,AV),m("div",$V,[m("span",{textContent:y(n.item.type)},null,8,OV),n.item.samplerate?(A(),D("span",{key:0,textContent:y(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,PV)):ie("",!0),n.item.channels?(A(),D("span",{key:1,textContent:y(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,IV)):ie("",!0),n.item.bitrate?(A(),D("span",{key:2,textContent:y(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,LV)):ie("",!0)])])):ie("",!0)]),footer:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.remove&&s.remove(...a))},[b(i,{class:"icon",name:"delete",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.queue-item.remove"))},null,8,NV)]),m("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.queue-item.play"))},null,8,DV)])]),_:1},8,["show"])}const C1=ae(KF,[["render",RV]]),Kr=1e3,MV={name:"PageNowPlaying",components:{ControlSlider:mu,CoverArtwork:Hr,LyricsPane:GF,ModalDialogQueueItem:C1},setup(){return{lyricsStore:fu(),playerStore:On(),queueStore:sr(),settingsStore:ur()}},data(){return{INTERVAL:Kr,cursor:Ji,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*Kr)},track_progress:{get(){return Math.floor(this.playerStore.item_progress_ms/Kr)},set(e){this.playerStore.item_progress_ms=e*Kr}},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/Kr)},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,Kr))}},created(){W.player_status().then(({data:e})=>{this.playerStore.$state=e,this.playerStore.state==="play"&&(this.interval_id=window.setInterval(this.tick,Kr))})},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||W.player_seek_to_pos(this.track_progress*Kr)},start_dragging(){this.is_dragged=!0},tick(){this.is_dragged||(this.track_progress+=1)}}},FV={class:"hero is-full-height"},VV={class:"hero-body is-flex is-align-items-center"},HV={class:"container has-text-centered"},UV={key:0,class:"mx-auto",style:{"max-width":"32rem"}},jV={class:"is-flex is-justify-content-space-between"},WV=["textContent"],BV=["textContent"],qV=["textContent"],GV=["textContent"],KV=["textContent"],ZV=["textContent"],YV=["textContent"],XV={key:1},JV=["textContent"],QV=["textContent"];function e9(e,t,n,r,o,s){const i=T("cover-artwork"),l=T("lyrics-pane"),a=T("control-slider"),u=T("modal-dialog-queue-item");return A(),D("div",FV,[m("div",VV,[m("div",HV,[s.track.id?(A(),D("div",UV,[b(i,{url:s.track.artwork_url,artist:s.track.artist,album:s.track.album,class:Te(["is-clickable fd-has-shadow fd-cover-big-image",{"is-masked":r.lyricsStore.pane}]),onClick:t[0]||(t[0]=c=>s.open_dialog(s.track))},null,8,["url","artist","album","class"]),r.lyricsStore.pane?(A(),ve(l,{key:0})):ie("",!0),b(a,{value:s.track_progress,"onUpdate:value":t[1]||(t[1]=c=>s.track_progress=c),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"]),m("div",jV,[m("p",{class:"subtitle is-7",textContent:y(s.track_elapsed_time)},null,8,WV),m("p",{class:"subtitle is-7",textContent:y(s.track_total_time)},null,8,BV)]),m("p",{class:"title is-5",textContent:y(s.track.title)},null,8,qV),m("p",{class:"title is-6",textContent:y(s.track.artist)},null,8,GV),s.composer?(A(),D("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:y(s.composer)},null,8,KV)):ie("",!0),s.track.album?(A(),D("p",{key:2,class:"subtitle is-6",textContent:y(s.track.album)},null,8,ZV)):ie("",!0),r.settingsStore.show_filepath_now_playing?(A(),D("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:y(s.track.path)},null,8,YV)):ie("",!0)])):(A(),D("div",XV,[m("p",{class:"title is-5",textContent:y(e.$t("page.now-playing.title"))},null,8,JV),m("p",{class:"subtitle",textContent:y(e.$t("page.now-playing.info"))},null,8,QV)]))]),b(u,{show:o.show_details_modal,item:o.selected_item,onClose:t[2]||(t[2]=c=>o.show_details_modal=!1)},null,8,["show","item"])])])}const t9=ae(MV,[["render",e9]]),Ea={load(e){return Promise.all([W.library_playlist(e.params.id),W.library_playlist_folder(e.params.id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new ke(t[1].data)}},n9={name:"PagePlaylistFolder",components:{ContentWithHeading:et,ListPlaylists:xl},beforeRouteEnter(e,t,n){Ea.load(e).then(r=>{n(o=>Ea.set(o,r))})},beforeRouteUpdate(e,t,n){Ea.load(e).then(r=>{Ea.set(this,r),n()})},setup(){return{configurationStore:Mo()}},data(){return{playlist:{},playlists_list:new ke}},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}}},r9=["textContent"],o9=["textContent"];function s9(e,t,n,r,o,s){const i=T("list-playlists"),l=T("content-with-heading");return A(),D("div",null,[b(l,null,{"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(o.playlist.id===0?e.$t("page.playlists.title"):o.playlist.name)},null,8,r9),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.playlists.count",{count:s.playlists.count}))},null,8,o9)]),content:P(()=>[b(i,{items:s.playlists},null,8,["items"])]),_:1})])}const i9=ae(n9,[["render",s9]]),Ah={load(e){return Promise.all([W.library_playlist(e.params.id),W.library_playlist_tracks(e.params.id)])},set(e,t){e.playlist=t[0].data,e.tracks=new ke(t[1].data)}},a9={name:"PagePlaylistTracks",components:{ContentWithHeading:et,ListTracks:Cn,ModalDialogPlaylist:v1},beforeRouteEnter(e,t,n){Ah.load(e).then(r=>{n(o=>Ah.set(o,r))})},data(){return{playlist:{},show_details_modal:!1,tracks:new ke}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join():this.playlist.uri}},methods:{play(){W.player_play_uri(this.uris,!0)}}},l9=["textContent"],u9=["textContent"],c9={class:"buttons is-centered"},d9=["textContent"];function m9(e,t,n,r,o,s){const i=T("mdicon"),l=T("list-tracks"),a=T("modal-dialog-playlist"),u=T("content-with-heading");return A(),D("div",null,[b(u,null,{"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(o.playlist.name)},null,8,l9),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.playlist.track-count",{count:o.tracks.count}))},null,8,u9)]),"heading-right":P(()=>[m("div",c9,[m("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=c=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})]),m("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...c)=>s.play&&s.play(...c))},[b(i,{class:"icon",name:"shuffle",size:"16"}),m("span",{textContent:y(e.$t("page.playlist.shuffle"))},null,8,d9)])])]),content:P(()=>[b(l,{items:o.tracks,uris:s.uris},null,8,["items","uris"]),b(a,{item:o.playlist,show:o.show_details_modal,uris:s.uris,onClose:t[2]||(t[2]=c=>o.show_details_modal=!1)},null,8,["item","show","uris"])]),_:1})])}const f9=ae(a9,[["render",m9]]),_d=50,$h={load(e){const t=new cr;return t.setAccessToken(Pt().spotify.webapi_token),Promise.all([t.getPlaylist(e.params.id),t.getPlaylistTracks(e.params.id,{limit:_d,market:Pt().$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())}},p9={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:et,ListTracksSpotify:wl,ModalDialogPlaylistSpotify:b1,VueEternalLoading:Cm},beforeRouteEnter(e,t,n){$h.load(e).then(r=>{n(o=>$h.set(o,r))})},setup(){return{servicesStore:Pt()}},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 cr;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:_d,market:this.servicesStore.spotify.webapi_country,offset:this.offset}).then(n=>{this.append_tracks(n),e(n.items.length,_d)})},play(){this.show_details_modal=!1,W.player_play_uri(this.playlist.uri,!0)}}},h9=["textContent"],_9=["textContent"],g9={class:"buttons is-centered"},y9=["textContent"],z9={class:"columns is-centered"},v9={class:"column has-text-centered"};function b9(e,t,n,r,o,s){const i=T("mdicon"),l=T("list-tracks-spotify"),a=T("VueEternalLoading"),u=T("modal-dialog-playlist-spotify"),c=T("content-with-heading");return A(),D("div",null,[b(c,null,{"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(o.playlist.name)},null,8,h9),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.spotify.playlist.count",{count:o.playlist.tracks.total}))},null,8,_9)]),"heading-right":P(()=>[m("div",g9,[m("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_playlist_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})]),m("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[b(i,{class:"icon",name:"shuffle",size:"16"}),m("span",{textContent:y(e.$t("page.spotify.playlist.shuffle"))},null,8,y9)])])]),content:P(()=>[b(l,{items:o.tracks,context_uri:o.playlist.uri},null,8,["items","context_uri"]),o.offset<o.total?(A(),ve(a,{key:0,load:s.load_next},{loading:P(()=>[m("div",z9,[m("div",v9,[b(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":P(()=>t[3]||(t[3]=[m("br",null,null,-1)])),_:1},8,["load"])):ie("",!0),b(u,{item:o.playlist,show:o.show_playlist_details_modal,onClose:t[2]||(t[2]=d=>o.show_playlist_details_modal=!1)},null,8,["item","show"])]),_:1})])}const C9=ae(p9,[["render",b9]]),Oh={load(e){return Promise.all([W.library_album(e.params.id),W.library_podcast_episodes(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new ke(t[1].data.tracks)}},w9={name:"PagePodcast",components:{ContentWithHero:bu,CoverArtwork:Hr,ListTracks:Cn,ModalDialog:um,ModalDialogAlbum:Cu},beforeRouteEnter(e,t,n){Oh.load(e).then(r=>{n(o=>Oh.set(o,r))})},data(){return{album:{},rss_playlist_to_remove:{},show_details_modal:!1,show_remove_podcast_modal:!1,tracks:new ke}},methods:{open_remove_podcast_dialog(){W.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(){W.player_play_uri(this.album.uri,!1)},reload_tracks(){W.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new ke(e.tracks)})},remove_podcast(){this.show_remove_podcast_modal=!1,W.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({name:"podcasts"})})}}},S9=["textContent"],x9={class:"buttons is-centered-mobile mt-5"},k9=["textContent"],E9=["textContent"],T9=["textContent"],A9={class:"is-size-7"},$9=["textContent"],O9=["textContent"];function P9(e,t,n,r,o,s){const i=T("mdicon"),l=T("cover-artwork"),a=T("list-tracks"),u=T("modal-dialog-album"),c=T("modal-dialog"),d=T("content-with-hero");return A(),D("div",null,[b(d,null,{"heading-left":P(()=>[m("div",{class:"title is-5",textContent:y(o.album.name)},null,8,S9),t[5]||(t[5]=m("div",{class:"subtitle is-6"},[m("br")],-1)),m("div",x9,[m("a",{class:"button is-small is-dark is-rounded",onClick:t[0]||(t[0]=(...f)=>s.play&&s.play(...f))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{textContent:y(e.$t("page.podcast.play"))},null,8,k9)]),m("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":P(()=>[b(l,{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:P(()=>[m("div",{class:"is-size-7 is-uppercase has-text-centered-mobile my-5",textContent:y(e.$t("page.podcast.track-count",{count:o.album.track_count}))},null,8,E9),b(a,{items:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_tracks},null,8,["items","onPlayCountChanged"]),b(u,{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"]),b(c,{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":P(()=>[m("p",{textContent:y(e.$t("page.podcast.remove-info-1"))},null,8,T9),m("p",A9,[t[6]||(t[6]=Rt(" (")),m("span",{textContent:y(e.$t("page.podcast.remove-info-2"))},null,8,$9),m("b",{textContent:y(o.rss_playlist_to_remove.name)},null,8,O9),t[7]||(t[7]=Rt(") "))])]),_:1},8,["show","title","close_action","delete_action","onDelete"])]),_:1})])}const I9=ae(w9,[["render",P9]]),L9={name:"ModalDialogAddRss",components:{BaseModal:qt},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,W.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}}},N9=["textContent"],D9={class:"field"},R9={class:"control has-icons-left"},M9=["placeholder","disabled"],F9=["textContent"],V9={class:"card-footer-item has-text-dark"},H9=["textContent"],U9=["textContent"],j9=["textContent"];function W9(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[4]||(t[4]=a=>e.$emit("close"))},Uo({content:P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("dialog.add.rss.title"))},null,8,N9),m("div",D9,[m("p",R9,[Bt(m("input",{ref:"url_field","onUpdate:modelValue":t[0]||(t[0]=a=>o.url=a),class:"input",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:o.loading,onInput:t[1]||(t[1]=(...a)=>s.check_url&&s.check_url(...a))},null,40,M9),[[bn,o.url]]),b(i,{class:"icon is-left",name:"rss",size:"16"})]),m("p",{class:"help",textContent:y(e.$t("dialog.add.rss.help"))},null,8,F9)])]),_:2},[o.loading?{name:"footer",fn:P(()=>[m("a",V9,[b(i,{class:"icon",name:"web",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.processing"))},null,8,H9)])]),key:"0"}:{name:"footer",fn:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=a=>e.$emit("close"))},[b(i,{class:"icon",name:"cancel",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.cancel"))},null,8,U9)]),m("a",{class:Te([{"is-disabled":o.disabled},"card-footer-item"]),onClick:t[3]||(t[3]=(...a)=>s.add_stream&&s.add_stream(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.add"))},null,8,j9)],2)]),key:"1"}]),1032,["show"])}const B9=ae(L9,[["render",W9]]),Ph={load(e){return Promise.all([W.library_albums("podcast"),W.library_podcasts_new_episodes()])},set(e,t){e.albums=new ke(t[0].data),e.tracks=new ke(t[1].data.tracks)}},q9={name:"PagePodcasts",components:{ContentWithHeading:et,ListAlbums:kn,ListTracks:Cn,ModalDialogAddRss:B9},beforeRouteEnter(e,t,n){Ph.load(e).then(r=>{n(o=>Ph.set(o,r))})},setup(){return{libraryStore:du(),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=>{W.library_track_update(e.id,{play_count:"increment"})}),this.tracks.items={}},open_add_podcast_dialog(){this.show_url_modal=!0},reload_new_episodes(){W.library_podcasts_new_episodes().then(({data:e})=>{this.tracks=new ke(e.tracks)})},reload_podcasts(){W.library_albums("podcast").then(({data:e})=>{this.albums=new ke(e),this.reload_new_episodes()})},update_rss(){this.libraryStore.update_dialog_scan_kind="rss",this.uiStore.show_update_dialog=!0}}},G9=["textContent"],K9={class:"buttons is-centered"},Z9=["textContent"],Y9=["textContent"],X9=["textContent"],J9={class:"buttons is-centered"},Q9=["textContent"],eH=["textContent"];function tH(e,t,n,r,o,s){const i=T("mdicon"),l=T("list-tracks"),a=T("content-with-heading"),u=T("list-albums"),c=T("modal-dialog-add-rss");return A(),D("div",null,[o.tracks.items.length>0?(A(),ve(a,{key:0},{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.podcasts.new-episodes"))},null,8,G9)]),"heading-right":P(()=>[m("div",K9,[m("a",{class:"button is-small",onClick:t[0]||(t[0]=(...d)=>s.mark_all_played&&s.mark_all_played(...d))},[b(i,{class:"icon",name:"pencil",size:"16"}),m("span",{textContent:y(e.$t("page.podcasts.mark-all-played"))},null,8,Z9)])])]),content:P(()=>[b(l,{items:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_new_episodes},null,8,["items","onPlayCountChanged"])]),_:1})):ie("",!0),b(a,null,{"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(e.$t("page.podcasts.title"))},null,8,Y9),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.podcasts.count",{count:o.albums.total}))},null,8,X9)]),"heading-right":P(()=>[m("div",J9,[s.rss.tracks>0?(A(),D("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...d)=>s.update_rss&&s.update_rss(...d))},[b(i,{class:"icon",name:"refresh",size:"16"}),m("span",{textContent:y(e.$t("page.podcasts.update"))},null,8,Q9)])):ie("",!0),m("a",{class:"button is-small",onClick:t[2]||(t[2]=(...d)=>s.open_add_podcast_dialog&&s.open_add_podcast_dialog(...d))},[b(i,{class:"icon",name:"rss",size:"16"}),m("span",{textContent:y(e.$t("page.podcasts.add"))},null,8,eH)])])]),content:P(()=>[b(u,{items:o.albums,onPlayCountChanged:t[3]||(t[3]=d=>s.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=d=>s.reload_podcasts())},null,8,["items"]),b(c,{show:o.show_url_modal,onClose:t[5]||(t[5]=d=>o.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=d=>s.reload_podcasts())},null,8,["show"])]),_:1})])}const nH=ae(q9,[["render",tH]]),rH={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(){W.player_play({item_id:this.item.id})}}},oH={key:0,class:"media-left"},sH={class:"media-content"},iH=["textContent"],aH=["textContent"],lH=["textContent"],uH={class:"media-right"};function cH(e,t,n,r,o,s){const i=T("mdicon");return s.is_next||!n.show_only_next_items?(A(),D("div",{key:0,class:"media is-align-items-center is-clickable mb-0",onClick:t[0]||(t[0]=(...l)=>s.play&&s.play(...l))},[n.edit_mode?(A(),D("div",oH,[b(i,{class:"icon has-text-grey is-movable",name:"drag-horizontal",size:"18"})])):ie("",!0),m("div",sH,[m("div",{class:Te(["is-size-6 has-text-weight-bold",{"has-text-primary":n.item.id===s.player.item_id,"has-text-grey-light":!s.is_next}]),textContent:y(n.item.title)},null,10,iH),m("div",{class:Te(["is-size-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,aH),m("div",{class:Te(["is-size-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,lH)]),m("div",uH,[mt(e.$slots,"actions",{},void 0,!0)])])):ie("",!0)}const dH=ae(rH,[["render",cH],["__scopeId","data-v-daeb2acf"]]),mH={name:"ModalDialogAddUrlStream",components:{BaseModal:qt},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,W.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,W.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},fH=["textContent"],pH={class:"field"},hH={class:"control has-icons-left"},_H=["placeholder","disabled"],gH={class:"card-footer-item has-text-dark"},yH=["textContent"],zH=["textContent"],vH=["textContent"],bH=["textContent"];function CH(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[6]||(t[6]=a=>e.$emit("close"))},Uo({content:P(()=>[m("form",{onSubmit:t[2]||(t[2]=wt((...a)=>s.play&&s.play(...a),["prevent"]))},[m("p",{class:"title is-4",textContent:y(e.$t("dialog.add.stream.title"))},null,8,fH),m("div",pH,[m("p",hH,[Bt(m("input",{ref:"url_field","onUpdate:modelValue":t[0]||(t[0]=a=>o.url=a),class:"input",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:o.loading,onInput:t[1]||(t[1]=(...a)=>s.check_url&&s.check_url(...a))},null,40,_H),[[bn,o.url]]),b(i,{class:"icon is-left",name:"web",size:"16"})])])],32)]),_:2},[o.loading?{name:"footer",fn:P(()=>[m("a",gH,[b(i,{class:"icon",name:"web",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.loading"))},null,8,yH)])]),key:"0"}:{name:"footer",fn:P(()=>[m("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[b(i,{class:"icon",name:"cancel",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.cancel"))},null,8,zH)]),m("a",{class:Te([{"is-disabled":o.disabled},"card-footer-item has-text-dark"]),onClick:t[4]||(t[4]=(...a)=>s.add_stream&&s.add_stream(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.add"))},null,8,vH)],2),m("a",{class:Te([{"is-disabled":o.disabled},"card-footer-item has-text-dark"]),onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.play"))},null,8,bH)],2)]),key:"1"}]),1032,["show"])}const wH=ae(mH,[["render",CH]]),SH={name:"ModalDialogPlaylistSave",components:{BaseModal:qt},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,W.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1})}}},xH=["textContent"],kH={class:"field"},EH={class:"control has-icons-left"},TH=["placeholder","disabled"],AH={class:"card-footer-item has-text-dark"},$H=["textContent"],OH=["textContent"],PH=["textContent"];function IH(e,t,n,r,o,s){const i=T("mdicon"),l=T("base-modal");return A(),ve(l,{show:n.show,onClose:t[5]||(t[5]=a=>e.$emit("close"))},Uo({content:P(()=>[m("form",{onSubmit:t[2]||(t[2]=wt((...a)=>s.save&&s.save(...a),["prevent"]))},[m("p",{class:"title is-4",textContent:y(e.$t("dialog.playlist.save.title"))},null,8,xH),m("div",kH,[m("p",EH,[Bt(m("input",{ref:"playlist_name_field","onUpdate:modelValue":t[0]||(t[0]=a=>o.playlist_name=a),class:"input",type:"text",pattern:".+",required:"",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:o.loading,onInput:t[1]||(t[1]=(...a)=>s.check_name&&s.check_name(...a))},null,40,TH),[[bn,o.playlist_name]]),b(i,{class:"icon is-left",name:"file-music",size:"16"})])])],32)]),_:2},[o.loading?{name:"footer",fn:P(()=>[m("a",AH,[b(i,{class:"icon",name:"web",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.saving"))},null,8,$H)])]),key:"0"}:{name:"footer",fn:P(()=>[m("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[b(i,{class:"icon",name:"cancel",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.cancel"))},null,8,OH)]),m("a",{class:Te([{"is-disabled":o.disabled},"card-footer-item has-text-weight-bold"]),onClick:t[4]||(t[4]=(...a)=>s.save&&s.save(...a))},[b(i,{class:"icon",name:"content-save",size:"16"}),m("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.save"))},null,8,PH)],2)]),key:"1"}]),1032,["show"])}const LH=ae(SH,[["render",IH]]);var w1={exports:{}};/**!
|
||
* Sortable 1.14.0
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function Ih(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 wr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ih(Object(n),!0).forEach(function(r){NH(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ih(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function qa(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?qa=function(t){return typeof t}:qa=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qa(e)}function NH(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 DH(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 RH(e,t){if(e==null)return{};var n=DH(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 MH(e){return FH(e)||VH(e)||HH(e)||UH()}function FH(e){if(Array.isArray(e))return gd(e)}function VH(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HH(e,t){if(e){if(typeof e=="string")return gd(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 gd(e,t)}}function gd(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 UH(){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 jH="1.14.0";function Nr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Ur=Nr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),ra=Nr(/Edge/i),Lh=Nr(/firefox/i),bi=Nr(/safari/i)&&!Nr(/chrome/i)&&!Nr(/android/i),S1=Nr(/iP(ad|od|hone)/i),WH=Nr(/chrome/i)&&Nr(/android/i),x1={capture:!1,passive:!1};function Ze(e,t,n){e.addEventListener(t,n,!Ur&&x1)}function qe(e,t,n){e.removeEventListener(t,n,!Ur&&x1)}function El(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 BH(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Jn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&El(e,t):El(e,t))||r&&e===n)return e;if(e===n)break}while(e=BH(e))}return null}var Nh=/\s+/g;function St(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Nh," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Nh," ")}}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 Lo(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 k1(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 br(){var e=document.scrollingElement;return e||document.documentElement}function vt(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var s,i,l,a,u,c,d;if(e!==window&&e.parentNode&&e!==br()?(s=e.getBoundingClientRect(),i=s.top,l=s.left,a=s.bottom,u=s.right,c=s.height,d=s.width):(i=0,l=0,a=window.innerHeight,u=window.innerWidth,c=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!Ur))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")),l-=f.left+parseInt(Ce(o,"border-left-width")),a=i+s.height,u=l+s.width;break}while(o=o.parentNode);if(r&&e!==window){var p=Lo(o||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,l/=h,d/=h,c/=_,a=i+c,u=l+d)}return{top:i,left:l,bottom:a,right:u,width:d,height:c}}}function Dh(e,t,n){for(var r=io(e,!0),o=vt(e)[t];r;){var s=vt(r)[n],i=void 0;if(i=o>=s,!i)return r;if(r===br())break;r=io(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)&&Jn(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&&!El(n,t));)n=n.previousElementSibling;return n||null}function $t(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Ie.clone&&(!t||El(e,t))&&n++;return n}function Rh(e){var t=0,n=0,r=br();if(e)do{var o=Lo(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 qH(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 io(e,t){if(!e||!e.getBoundingClientRect)return br();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 br();if(r||t)return n;r=!0}}while(n=n.parentNode);return br()}function GH(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function ac(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 Ci;function E1(e,t){return function(){if(!Ci){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),Ci=setTimeout(function(){Ci=void 0},t)}}}function KH(){clearTimeout(Ci),Ci=void 0}function T1(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Em(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 Mh(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 lc(e){Ce(e,"position",""),Ce(e,"top",""),Ce(e,"left",""),Ce(e,"width",""),Ce(e,"height","")}var Qt="Sortable"+new Date().getTime();function ZH(){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:vt(o)});var s=wr({},e[e.length-1].rect);if(o.thisAnimationDuration){var i=Lo(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(qH(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(l){var a=0,u=l.target,c=u.fromRect,d=vt(u),f=u.prevFromRect,p=u.prevToRect,h=l.rect,_=Lo(u,!0);_&&(d.top-=_.f,d.left-=_.e),u.toRect=d,u.thisAnimationDuration&&ac(f,d)&&!ac(c,d)&&(h.top-d.top)/(h.left-d.left)===(c.top-d.top)/(c.left-d.left)&&(a=XH(h,f,p,o.options)),ac(d,c)||(u.prevFromRect=c,u.prevToRect=d,a||(a=o.options.animation),o.animate(u,h,d,a)),a&&(s=!0,i=Math.max(i,a),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},a),u.thisAnimationDuration=a)}),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 l=Lo(this.el),a=l&&l.a,u=l&&l.d,c=(o.left-s.left)/(a||1),d=(o.top-s.top)/(u||1);r.animatingX=!!c,r.animatingY=!!d,Ce(r,"transform","translate3d("+c+"px,"+d+"px,0)"),this.forRepaintDummy=YH(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 YH(e){return e.offsetWidth}function XH(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 Qo=[],uc={initializeByDefault:!0},oa={mount:function(t){for(var n in uc)uc.hasOwnProperty(n)&&!(n in t)&&(t[n]=uc[n]);Qo.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Qo.push(t)},pluginEvent:function(t,n,r){var o=this;this.eventCanceled=!1,r.cancel=function(){o.eventCanceled=!0};var s=t+"Global";Qo.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][s]&&n[i.pluginName][s](wr({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](wr({sortable:n},r)))})},initializePlugins:function(t,n,r,o){Qo.forEach(function(l){var a=l.pluginName;if(!(!t.options[a]&&!l.initializeByDefault)){var u=new l(t,n,t.options);u.sortable=t,u.options=t.options,t[a]=u,Wn(r,u.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 Qo.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 Qo.forEach(function(s){t[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[n]=="function"&&(o=s.optionListeners[n].call(t[s.pluginName],r))}),o}};function oi(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,s=e.cloneEl,i=e.toEl,l=e.fromEl,a=e.oldIndex,u=e.newIndex,c=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[Qt],!!t){var _,v=t.options,C="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!Ur&&!ra?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=i||n,_.from=l||n,_.item=o||n,_.clone=s,_.oldIndex=a,_.newIndex=u,_.oldDraggableIndex=c,_.newDraggableIndex=d,_.originalEvent=f,_.pullMode=p?p.lastPutMode:void 0;var w=wr(wr({},h),oa.getEventProperties(r,t));for(var g in w)_[g]=w[g];n&&n.dispatchEvent(_),v[C]&&v[C].call(t,_)}}var JH=["evt"],fn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,s=RH(r,JH);oa.pluginEvent.bind(Ie)(t,n,wr({dragEl:he,parentEl:kt,ghostEl:je,rootEl:zt,nextEl:Eo,lastDownEl:Ga,cloneEl:Et,cloneHidden:so,dragStarted:si,putSortable:jt,activeSortable:Ie.active,originalEvent:o,oldIndex:ms,oldDraggableIndex:wi,newIndex:xn,newDraggableIndex:ro,hideGhostForTarget:P1,unhideGhostForTarget:I1,cloneNowHidden:function(){so=!0},cloneNowShown:function(){so=!1},dispatchSortableEvent:function(l){rn({sortable:n,name:l,originalEvent:o})}},s))};function rn(e){oi(wr({putSortable:jt,cloneEl:Et,targetEl:he,rootEl:zt,oldIndex:ms,oldDraggableIndex:wi,newIndex:xn,newDraggableIndex:ro},e))}var he,kt,je,zt,Eo,Ga,Et,so,ms,xn,wi,ro,Ta,jt,ls=!1,Tl=!1,Al=[],xo,Yn,cc,dc,Fh,Vh,si,es,Si,xi=!1,Aa=!1,Ka,Gt,mc=[],yd=!1,$l=[],Su=typeof document<"u",$a=S1,Hh=ra||Ur?"cssFloat":"float",QH=Su&&!WH&&!S1&&"draggable"in document.createElement("div"),A1=function(){if(Su){if(Ur)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),$1=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),l=s&&Ce(s),a=i&&Ce(i),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+vt(s).width,c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+vt(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&&l.float&&l.float!=="none"){var d=l.float==="left"?"left":"right";return i&&(a.clear==="both"||a.clear===d)?"vertical":"horizontal"}return s&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=o&&r[Hh]==="none"||i&&r[Hh]==="none"&&u+c>o)?"vertical":"horizontal"},eU=function(t,n,r){var o=r?t.left:t.top,s=r?t.right:t.bottom,i=r?t.width:t.height,l=r?n.left:n.top,a=r?n.right:n.bottom,u=r?n.width:n.height;return o===l||s===a||o+i/2===l+u/2},tU=function(t,n){var r;return Al.some(function(o){var s=o[Qt].options.emptyInsertThreshold;if(!(!s||km(o))){var i=vt(o),l=t>=i.left-s&&t<=i.right+s,a=n>=i.top-s&&n<=i.bottom+s;if(l&&a)return r=o}}),r},O1=function(t){function n(s,i){return function(l,a,u,c){var d=l.options.group.name&&a.options.group.name&&l.options.group.name===a.options.group.name;if(s==null&&(i||d))return!0;if(s==null||s===!1)return!1;if(i&&s==="clone")return s;if(typeof s=="function")return n(s(l,a,u,c),i)(l,a,u,c);var f=(i?l:a).options.group.name;return s===!0||typeof s=="string"&&s===f||s.join&&s.indexOf(f)>-1}}var r={},o=t.group;(!o||qa(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},P1=function(){!A1&&je&&Ce(je,"display","none")},I1=function(){!A1&&je&&Ce(je,"display","")};Su&&document.addEventListener("click",function(e){if(Tl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Tl=!1,!1},!0);var ko=function(t){if(he){t=t.touches?t.touches[0]:t;var n=tU(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)}}},nU=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 $1(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,l){i.setData("Text",l.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};oa.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);O1(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:QH,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)),Al.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Wn(this,ZH())}Ie.prototype={constructor:Ie,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(es=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,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,a=(l||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,c=o.filter;if(cU(r),!he&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||o.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&bi&&a&&a.tagName.toUpperCase()==="SELECT")&&(a=Jn(a,o.draggable,r,!1),!(a&&a.animated)&&Ga!==a)){if(ms=$t(a),wi=$t(a,o.draggable),typeof c=="function"){if(c.call(this,t,a,this)){rn({sortable:n,rootEl:u,name:"filter",targetEl:a,toEl:r,fromEl:r}),fn("filter",n,{evt:t}),s&&t.cancelable&&t.preventDefault();return}}else if(c&&(c=c.split(",").some(function(d){if(d=Jn(u,d.trim(),r,!1),d)return rn({sortable:n,rootEl:d,name:"filter",targetEl:a,fromEl:r,toEl:r}),fn("filter",n,{evt:t}),!0}),c)){s&&t.cancelable&&t.preventDefault();return}o.handle&&!Jn(u,o.handle,r,!1)||this._prepareDragStart(t,l,a)}}},_prepareDragStart:function(t,n,r){var o=this,s=o.el,i=o.options,l=s.ownerDocument,a;if(r&&!he&&r.parentNode===s){var u=vt(r);if(zt=s,he=r,kt=he.parentNode,Eo=he.nextSibling,Ga=r,Ta=i.group,Ie.dragged=he,xo={target:he,clientX:(n||t).clientX,clientY:(n||t).clientY},Fh=xo.clientX-u.left,Vh=xo.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,he.style["will-change"]="all",a=function(){if(fn("delayEnded",o,{evt:t}),Ie.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!Lh&&o.nativeDraggable&&(he.draggable=!0),o._triggerDragStart(t,n),rn({sortable:o,name:"choose",originalEvent:t}),St(he,i.chosenClass,!0)},i.ignore.split(",").forEach(function(c){k1(he,c.trim(),fc)}),Ze(l,"dragover",ko),Ze(l,"mousemove",ko),Ze(l,"touchmove",ko),Ze(l,"mouseup",o._onDrop),Ze(l,"touchend",o._onDrop),Ze(l,"touchcancel",o._onDrop),Lh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,he.draggable=!0),fn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(ra||Ur))){if(Ie.eventCanceled){this._onDrop();return}Ze(l,"mouseup",o._disableDelayedDrag),Ze(l,"touchend",o._disableDelayedDrag),Ze(l,"touchcancel",o._disableDelayedDrag),Ze(l,"mousemove",o._delayedDragTouchMoveHandler),Ze(l,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&&Ze(l,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(a,i.delay)}else a()}},_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&&fc(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(zt,"dragstart",this._onDragStart));try{document.selection?Za(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(ls=!1,zt&&he){fn("dragStarted",this,{evt:n}),this.nativeDraggable&&Ze(document,"dragover",nU);var r=this.options;!t&&St(he,r.dragClass,!1),St(he,r.ghostClass,!0),Ie.active=this,t&&this._appendGhost(),rn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Yn){this._lastX=Yn.clientX,this._lastY=Yn.clientY,P1();for(var t=document.elementFromPoint(Yn.clientX,Yn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Yn.clientX,Yn.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:Yn.clientX,clientY:Yn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);I1()}},_onTouchMove:function(t){if(xo){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,s=t.touches?t.touches[0]:t,i=je&&Lo(je,!0),l=je&&i&&i.a,a=je&&i&&i.d,u=$a&&Gt&&Rh(Gt),c=(s.clientX-xo.clientX+o.x)/(l||1)+(u?u[0]-mc[0]:0)/(l||1),d=(s.clientY-xo.clientY+o.y)/(a||1)+(u?u[1]-mc[1]:0)/(a||1);if(!Ie.active&&!ls){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+=c-(cc||0),i.f+=d-(dc||0)):i={a:1,b:0,c:0,d:1,e:c,f:d};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),cc=c,dc=d,Yn=s}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!je){var t=this.options.fallbackOnBody?document.body:zt,n=vt(he,!0,$a,!0,t),r=this.options;if($a){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=br()),n.top+=Gt.scrollTop,n.left+=Gt.scrollLeft):Gt=br(),mc=Rh(Gt)}je=he.cloneNode(!0),St(je,r.ghostClass,!1),St(je,r.fallbackClass,!0),St(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",$a?"absolute":"fixed"),Ce(je,"zIndex","100000"),Ce(je,"pointerEvents","none"),Ie.ghost=je,t.appendChild(je),Ce(je,"transform-origin",Fh/parseInt(je.style.width)*100+"% "+Vh/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||(Et=Em(he),Et.draggable=!1,Et.style["will-change"]="",this._hideClone(),St(Et,this.options.chosenClass,!1),Ie.clone=Et),r.cloneId=Za(function(){fn("clone",r),!Ie.eventCanceled&&(r.options.removeCloneOnHide||zt.insertBefore(Et,he),r._hideClone(),rn({sortable:r,name:"clone"}))}),!n&&St(he,s.dragClass,!0),n?(Tl=!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)")),ls=!0,r._dragStartId=Za(r._dragStarted.bind(r,n,t)),Ze(document,"selectstart",r),si=!0,bi&&Ce(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,o,s,i,l=this.options,a=l.group,u=Ie.active,c=Ta===a,d=l.sort,f=jt||u,p,h=this,_=!1;if(yd)return;function v(ue,Ne){fn(ue,h,wr({evt:t,isOwner:c,axis:p?"vertical":"horizontal",revert:i,dragRect:o,targetRect:s,canSort:d,fromSortable:f,target:r,completed:w,onMove:function(Ve,He){return Oa(zt,n,he,o,Ve,vt(Ve),t,He)},changed:g},Ne))}function C(){v("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function w(ue){return v("dragOverCompleted",{insertion:ue}),ue&&(c?u._hideClone():u._showClone(h),h!==f&&(St(he,jt?jt.options.ghostClass:u.options.ghostClass,!1),St(he,l.ghostClass,!0)),jt!==h&&h!==Ie.active?jt=h:h===Ie.active&&jt&&(jt=null),f===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){v("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(r===he&&!he.animated||r===n&&!r.animated)&&(es=null),!l.dragoverBubble&&!t.rootEl&&r!==document&&(he.parentNode[Qt]._isOutsideThisEl(t.target),!ue&&ko(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function g(){xn=$t(he),ro=$t(he,l.draggable),rn({sortable:h,name:"change",toEl:n,newIndex:xn,newDraggableIndex:ro,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Jn(r,l.draggable,n,!0),v("dragOver"),Ie.eventCanceled)return _;if(he.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return w(!1);if(Tl=!1,u&&!l.disabled&&(c?d||(i=kt!==zt):jt===this||(this.lastPutMode=Ta.checkPull(this,u,he,t))&&a.checkPut(this,u,he,t))){if(p=this._getDirection(t,r)==="vertical",o=vt(he),v("dragOverValid"),Ie.eventCanceled)return _;if(i)return kt=zt,C(),this._hideClone(),v("revert"),Ie.eventCanceled||(Eo?zt.insertBefore(he,Eo):zt.appendChild(he)),w(!0);var z=km(n,l.draggable);if(!z||iU(t,p,this)&&!z.animated){if(z===he)return w(!1);if(z&&n===t.target&&(r=z),r&&(s=vt(r)),Oa(zt,n,he,o,r,s,t,!!r)!==!1)return C(),n.appendChild(he),kt=n,g(),w(!0)}else if(z&&sU(t,p,this)){var S=$s(n,0,l,!0);if(S===he)return w(!1);if(r=S,s=vt(r),Oa(zt,n,he,o,r,s,t,!1)!==!1)return C(),n.insertBefore(he,S),kt=n,g(),w(!0)}else if(r.parentNode===n){s=vt(r);var x=0,L,N=he.parentNode!==n,E=!eU(he.animated&&he.toRect||o,r.animated&&r.toRect||s,p),F=p?"top":"left",G=Dh(r,"top","top")||Dh(he,"top","top"),U=G?G.scrollTop:void 0;es!==r&&(L=s[F],xi=!1,Aa=!E&&l.invertSwap||N),x=aU(t,r,s,p,E?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,Aa,es===r);var B;if(x!==0){var Q=$t(he);do Q-=x,B=kt.children[Q];while(B&&(Ce(B,"display")==="none"||B===je))}if(x===0||B===r)return w(!1);es=r,Si=x;var fe=r.nextElementSibling,K=!1;K=x===1;var te=Oa(zt,n,he,o,r,s,t,K);if(te!==!1)return(te===1||te===-1)&&(K=te===1),yd=!0,setTimeout(oU,30),C(),K&&!fe?n.appendChild(he):r.parentNode.insertBefore(he,K?fe:r),G&&T1(G,0,U-G.scrollTop),kt=he.parentNode,L!==void 0&&!Aa&&(Ka=Math.abs(L-vt(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",ko),qe(document,"mousemove",ko),qe(document,"touchmove",ko)},_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(xn=$t(he),ro=$t(he,r.draggable),fn("drop",this,{evt:t}),kt=he&&he.parentNode,xn=$t(he),ro=$t(he,r.draggable),Ie.eventCanceled){this._nulling();return}ls=!1,Aa=!1,xi=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),zd(this.cloneId),zd(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&&(si&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),je&&je.parentNode&&je.parentNode.removeChild(je),(zt===kt||jt&&jt.lastPutMode!=="clone")&&Et&&Et.parentNode&&Et.parentNode.removeChild(Et),he&&(this.nativeDraggable&&qe(he,"dragend",this),fc(he),he.style["will-change"]="",si&&!ls&&St(he,jt?jt.options.ghostClass:this.options.ghostClass,!1),St(he,this.options.chosenClass,!1),rn({sortable:this,name:"unchoose",toEl:kt,newIndex:null,newDraggableIndex:null,originalEvent:t}),zt!==kt?(xn>=0&&(rn({rootEl:kt,name:"add",toEl:kt,fromEl:zt,originalEvent:t}),rn({sortable:this,name:"remove",toEl:kt,originalEvent:t}),rn({rootEl:kt,name:"sort",toEl:kt,fromEl:zt,originalEvent:t}),rn({sortable:this,name:"sort",toEl:kt,originalEvent:t})),jt&&jt.save()):xn!==ms&&xn>=0&&(rn({sortable:this,name:"update",toEl:kt,originalEvent:t}),rn({sortable:this,name:"sort",toEl:kt,originalEvent:t})),Ie.active&&((xn==null||xn===-1)&&(xn=ms,ro=wi),rn({sortable:this,name:"end",toEl:kt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){fn("nulling",this),zt=he=kt=je=Eo=Et=Ga=so=xo=Yn=si=xn=ro=ms=wi=es=Si=jt=Ta=Ie.dragged=Ie.ghost=Ie.clone=Ie.active=null,$l.forEach(function(t){t.checked=!0}),$l.length=cc=dc=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":he&&(this._onDragOver(t),rU(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],Jn(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||uU(n));return t},sort:function(t,n){var r={},o=this.el;this.toArray().forEach(function(s,i){var l=o.children[i];Jn(l,this.options.draggable,o,!1)&&(r[s]=l)},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 Jn(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=oa.modifyOption(this,t,n);typeof o<"u"?r[t]=o:r[t]=n,t==="group"&&O1(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(),Al.splice(Al.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!so){if(fn("hideClone",this),Ie.eventCanceled)return;Ce(Et,"display","none"),this.options.removeCloneOnHide&&Et.parentNode&&Et.parentNode.removeChild(Et),so=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(so){if(fn("showClone",this),Ie.eventCanceled)return;he.parentNode==zt&&!this.options.group.revertClone?zt.insertBefore(Et,he):Eo?zt.insertBefore(Et,Eo):zt.appendChild(Et),this.options.group.revertClone&&this.animate(he,Et),Ce(Et,"display",""),so=!1}}};function rU(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Oa(e,t,n,r,o,s,i,l){var a,u=e[Qt],c=u.options.onMove,d;return window.CustomEvent&&!Ur&&!ra?a=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(a=document.createEvent("Event"),a.initEvent("move",!0,!0)),a.to=t,a.from=e,a.dragged=n,a.draggedRect=r,a.related=o||t,a.relatedRect=s||vt(t),a.willInsertAfter=l,a.originalEvent=i,e.dispatchEvent(a),c&&(d=c.call(u,a,i)),d}function fc(e){e.draggable=!1}function oU(){yd=!1}function sU(e,t,n){var r=vt($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 iU(e,t,n){var r=vt(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 aU(e,t,n,r,o,s,i,l){var a=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!i){if(l&&Ka<u*o){if(!xi&&(Si===1?a>c+u*s/2:a<d-u*s/2)&&(xi=!0),xi)f=!0;else if(Si===1?a<c+Ka:a>d-Ka)return-Si}else if(a>c+u*(1-o)/2&&a<d-u*(1-o)/2)return lU(t)}return f=f||i,f&&(a<c+u*s/2||a>d-u*s/2)?a>c+u/2?1:-1:0}function lU(e){return $t(he)<$t(e)?1:-1}function uU(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 cU(e){$l.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&$l.push(r)}}function Za(e){return setTimeout(e,0)}function zd(e){return clearTimeout(e)}Su&&Ze(document,"touchmove",function(e){(Ie.active||ls)&&e.cancelable&&e.preventDefault()});Ie.utils={on:Ze,off:qe,css:Ce,find:k1,is:function(t,n){return!!Jn(t,n,t,!1)},extend:GH,throttle:E1,closest:Jn,toggleClass:St,clone:Em,index:$t,nextTick:Za,cancelNextTick:zd,detectDirection:$1,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=wr(wr({},Ie.utils),r.utils)),oa.mount(r)})};Ie.create=function(e,t){return new Ie(e,t)};Ie.version=jH;var It=[],ii,vd,bd=!1,pc,hc,Ol,ai;function dU(){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)),Uh(),Ya(),KH()},nulling:function(){Ol=vd=ii=bd=ai=pc=hc=null,It.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,l=document.elementFromPoint(s,i);if(Ol=n,r||this.options.forceAutoScrollFallback||ra||Ur||bi){_c(n,this.options,l,r);var a=io(l,!0);bd&&(!ai||s!==pc||i!==hc)&&(ai&&Uh(),ai=setInterval(function(){var u=io(document.elementFromPoint(s,i),!0);u!==a&&(a=u,Ya()),_c(n,o.options,u,r)},10),pc=s,hc=i)}else{if(!this.options.bubbleScroll||io(l,!0)===br()){Ya();return}_c(n,this.options,io(l,!1),!1)}}},Wn(e,{pluginName:"scroll",initializeByDefault:!0})}function Ya(){It.forEach(function(e){clearInterval(e.pid)}),It=[]}function Uh(){clearInterval(ai)}var _c=E1(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,l=t.scrollSpeed,a=br(),u=!1,c;vd!==n&&(vd=n,Ya(),ii=t.scroll,c=t.scrollFn,ii===!0&&(ii=io(n,!0)));var d=0,f=ii;do{var p=f,h=vt(p),_=h.top,v=h.bottom,C=h.left,w=h.right,g=h.width,z=h.height,S=void 0,x=void 0,L=p.scrollWidth,N=p.scrollHeight,E=Ce(p),F=p.scrollLeft,G=p.scrollTop;p===a?(S=g<L&&(E.overflowX==="auto"||E.overflowX==="scroll"||E.overflowX==="visible"),x=z<N&&(E.overflowY==="auto"||E.overflowY==="scroll"||E.overflowY==="visible")):(S=g<L&&(E.overflowX==="auto"||E.overflowX==="scroll"),x=z<N&&(E.overflowY==="auto"||E.overflowY==="scroll"));var U=S&&(Math.abs(w-o)<=i&&F+g<L)-(Math.abs(C-o)<=i&&!!F),B=x&&(Math.abs(v-s)<=i&&G+z<N)-(Math.abs(_-s)<=i&&!!G);if(!It[d])for(var Q=0;Q<=d;Q++)It[Q]||(It[Q]={});(It[d].vx!=U||It[d].vy!=B||It[d].el!==p)&&(It[d].el=p,It[d].vx=U,It[d].vy=B,clearInterval(It[d].pid),(U!=0||B!=0)&&(u=!0,It[d].pid=setInterval((function(){r&&this.layer===0&&Ie.active._onTouchMove(Ol);var fe=It[this.layer].vy?It[this.layer].vy*l:0,K=It[this.layer].vx?It[this.layer].vx*l:0;typeof c=="function"&&c.call(Ie.dragged.parentNode[Qt],K,fe,e,Ol,It[this.layer].el)!=="continue"||T1(It[this.layer].el,K,fe)}).bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==a&&(f=io(f,!1)));bd=u}},30),L1=function(t){var n=t.originalEvent,r=t.putSortable,o=t.dragEl,s=t.activeSortable,i=t.dispatchSortableEvent,l=t.hideGhostForTarget,a=t.unhideGhostForTarget;if(n){var u=r||s;l();var c=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,d=document.elementFromPoint(c.clientX,c.clientY);a(),u&&!u.el.contains(d)&&(i("spill"),this.onSpill({dragEl:o,putSortable:r}))}};function Tm(){}Tm.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:L1};Wn(Tm,{pluginName:"revertOnSpill"});function Am(){}Am.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:L1};Wn(Am,{pluginName:"removeOnSpill"});var Ln;function mU(){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,l=n.changed,a=n.cancel;if(i.options.swap){var u=this.sortable.el,c=this.options;if(o&&o!==u){var d=Ln;s(o)!==!1?(St(o,c.swapClass,!0),Ln=o):Ln=null,d&&d!==Ln&&St(d,c.swapClass,!1)}l(),r(!0),a()}},drop:function(n){var r=n.activeSortable,o=n.putSortable,s=n.dragEl,i=o||this.sortable,l=this.options;Ln&&St(Ln,l.swapClass,!1),Ln&&(l.swap||o&&o.options.swap)&&s!==Ln&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),fU(s,Ln),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){Ln=null}},Wn(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Ln}}})}function fU(e,t){var n=e.parentNode,r=t.parentNode,o,s;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(o=$t(e),s=$t(t),n.isEqualNode(r)&&o<s&&s++,n.insertBefore(t,n.children[o]),r.insertBefore(e,r.children[s]))}var Fe=[],Sn=[],Ys,Xn,Xs=!1,pn=!1,ts=!1,_t,Js,Pa;function pU(){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&&Xn===t?Fe.forEach(function(l,a){i+=(a?", ":"")+l.textContent}):i=s.textContent,o.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;_t=r},delayEnded:function(){this.isMultiDrag=~Fe.indexOf(_t)},setupClone:function(n){var r=n.sortable,o=n.cancel;if(this.isMultiDrag){for(var s=0;s<Fe.length;s++)Sn.push(Em(Fe[s])),Sn[s].sortableIndex=Fe[s].sortableIndex,Sn[s].draggable=!1,Sn[s].style["will-change"]="",St(Sn[s],this.options.selectedClass,!1),Fe[s]===_t&&St(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&&Xn===r&&(jh(!0,o),s("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,o=n.rootEl,s=n.cancel;this.isMultiDrag&&(jh(!1,o),Sn.forEach(function(i){Ce(i,"display","")}),r(),Pa=!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(),Pa=!0,s())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Xn&&Xn.multiDrag._deselectMultiDrag(),Fe.forEach(function(r){r.sortableIndex=$t(r)}),Fe=Fe.sort(function(r,o){return r.sortableIndex-o.sortableIndex}),ts=!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!==_t&&Ce(i,"position","absolute")});var s=vt(_t,!1,!0,!0);Fe.forEach(function(i){i!==_t&&Mh(i,s)}),pn=!0,Xs=!0}o.animateAll(function(){pn=!1,Xs=!1,r.options.animation&&Fe.forEach(function(i){lc(i)}),r.options.sort&&Ia()})}},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(l){s.addAnimationState({target:l,rect:pn?vt(l):i}),lc(l),l.fromRect=i,r.removeAnimationState(l)}),pn=!1,hU(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(n){var r=n.sortable,o=n.isOwner,s=n.insertion,i=n.activeSortable,l=n.parentEl,a=n.putSortable,u=this.options;if(s){if(o&&i._hideClone(),Xs=!1,u.animation&&Fe.length>1&&(pn||!o&&!i.options.sort&&!a)){var c=vt(_t,!1,!0,!0);Fe.forEach(function(f){f!==_t&&(Mh(f,c),l.appendChild(f))}),pn=!0}if(!o)if(pn||Ia(),Fe.length>1){var d=Pa;i._showClone(r),i.options.animation&&!Pa&&d&&Sn.forEach(function(f){i.addAnimationState({target:f,rect:Js}),f.fromRect=Js,f.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,s=n.activeSortable;if(Fe.forEach(function(l){l.thisAnimationDuration=null}),s.options.animation&&!o&&s.multiDrag.isMultiDrag){Js=Wn({},r);var i=Lo(_t,!0);Js.top-=i.f,Js.left-=i.e}},dragOverAnimationComplete:function(){pn&&(pn=!1,Ia())},drop:function(n){var r=n.originalEvent,o=n.rootEl,s=n.parentEl,i=n.sortable,l=n.dispatchSortableEvent,a=n.oldIndex,u=n.putSortable,c=u||this.sortable;if(r){var d=this.options,f=s.children;if(!ts)if(d.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),St(_t,d.selectedClass,!~Fe.indexOf(_t)),~Fe.indexOf(_t))Fe.splice(Fe.indexOf(_t),1),Ys=null,oi({sortable:i,rootEl:o,name:"deselect",targetEl:_t,originalEvt:r});else{if(Fe.push(_t),oi({sortable:i,rootEl:o,name:"select",targetEl:_t,originalEvt:r}),r.shiftKey&&Ys&&i.el.contains(Ys)){var p=$t(Ys),h=$t(_t);if(~p&&~h&&p!==h){var _,v;for(h>p?(v=p,_=h):(v=h,_=p+1);v<_;v++)~Fe.indexOf(f[v])||(St(f[v],d.selectedClass,!0),Fe.push(f[v]),oi({sortable:i,rootEl:o,name:"select",targetEl:f[v],originalEvt:r}))}}else Ys=_t;Xn=c}if(ts&&this.isMultiDrag){if(pn=!1,(s[Qt].options.sort||s!==o)&&Fe.length>1){var C=vt(_t),w=$t(_t,":not(."+this.options.selectedClass+")");if(!Xs&&d.animation&&(_t.thisAnimationDuration=null),c.captureAnimationState(),!Xs&&(d.animation&&(_t.fromRect=C,Fe.forEach(function(z){if(z.thisAnimationDuration=null,z!==_t){var S=pn?vt(z):C;z.fromRect=S,c.addAnimationState({target:z,rect:S})}})),Ia(),Fe.forEach(function(z){f[w]?s.insertBefore(z,f[w]):s.appendChild(z),w++}),a===$t(_t))){var g=!1;Fe.forEach(function(z){if(z.sortableIndex!==$t(z)){g=!0;return}}),g&&l("update")}Fe.forEach(function(z){lc(z)}),c.animateAll()}Xn=c}(o===s||u&&u.lastPutMode!=="clone")&&Sn.forEach(function(z){z.parentNode&&z.parentNode.removeChild(z)})}},nullingGlobal:function(){this.isMultiDrag=ts=!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 ts<"u"&&ts)&&Xn===this.sortable&&!(n&&Jn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Fe.length;){var r=Fe[0];St(r,this.options.selectedClass,!1),Fe.shift(),oi({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)||(Xn&&Xn!==r&&(Xn.multiDrag._deselectMultiDrag(),Xn=r),St(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||(St(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!==_t?i=-1:pn?i=$t(s,":not(."+n.options.selectedClass+")"):i=$t(s),o.push({multiDragElement:s,index:i})}),{items:MH(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 hU(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 jh(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 Ia(){Fe.forEach(function(e){e!==_t&&e.parentNode&&e.parentNode.removeChild(e)})}Ie.mount(new dU);Ie.mount(Am,Tm);const _U=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:pU,Sortable:Ie,Swap:mU,default:Ie},Symbol.toStringTag,{value:"Module"})),gU=Gy(_U);(function(e,t){(function(r,o){e.exports=o(ez,gU)})(typeof self<"u"?self:qy,function(n,r){return function(o){var s={};function i(l){if(s[l])return s[l].exports;var a=s[l]={i:l,l:!1,exports:{}};return o[l].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=o,i.c=s,i.d=function(l,a,u){i.o(l,a)||Object.defineProperty(l,a,{enumerable:!0,get:u})},i.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},i.t=function(l,a){if(a&1&&(l=i(l)),a&8||a&4&&typeof l=="object"&&l&&l.__esModule)return l;var u=Object.create(null);if(i.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:l}),a&2&&typeof l!="string")for(var c in l)i.d(u,c,(function(d){return l[d]}).bind(null,c));return u},i.n=function(l){var a=l&&l.__esModule?function(){return l.default}:function(){return l};return i.d(a,"a",a),a},i.o=function(l,a){return Object.prototype.hasOwnProperty.call(l,a)},i.p="",i(i.s="fb15")}({"00ee":function(o,s,i){var l=i("b622"),a=l("toStringTag"),u={};u[a]="z",o.exports=String(u)==="[object z]"},"0366":function(o,s,i){var l=i("1c0b");o.exports=function(a,u,c){if(l(a),u===void 0)return a;switch(c){case 0:return function(){return a.call(u)};case 1:return function(d){return a.call(u,d)};case 2:return function(d,f){return a.call(u,d,f)};case 3:return function(d,f,p){return a.call(u,d,f,p)}}return function(){return a.apply(u,arguments)}}},"057f":function(o,s,i){var l=i("fc6a"),a=i("241c").f,u={}.toString,c=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(f){try{return a(f)}catch{return c.slice()}};o.exports.f=function(p){return c&&u.call(p)=="[object Window]"?d(p):a(l(p))}},"06cf":function(o,s,i){var l=i("83ab"),a=i("d1e7"),u=i("5c6c"),c=i("fc6a"),d=i("c04e"),f=i("5135"),p=i("0cfb"),h=Object.getOwnPropertyDescriptor;s.f=l?h:function(v,C){if(v=c(v),C=d(C,!0),p)try{return h(v,C)}catch{}if(f(v,C))return u(!a.f.call(v,C),v[C])}},"0cfb":function(o,s,i){var l=i("83ab"),a=i("d039"),u=i("cc12");o.exports=!l&&!a(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,s,i){var l=i("23e7"),a=i("d58f").left,u=i("a640"),c=i("ae40"),d=u("reduce"),f=c("reduce",{1:0});l({target:"Array",proto:!0,forced:!d||!f},{reduce:function(h){return a(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(o,s,i){var l=i("c6b6"),a=i("9263");o.exports=function(u,c){var d=u.exec;if(typeof d=="function"){var f=d.call(u,c);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(l(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return a.call(u,c)}},"159b":function(o,s,i){var l=i("da84"),a=i("fdbc"),u=i("17c2"),c=i("9112");for(var d in a){var f=l[d],p=f&&f.prototype;if(p&&p.forEach!==u)try{c(p,"forEach",u)}catch{p.forEach=u}}},"17c2":function(o,s,i){var l=i("b727").forEach,a=i("a640"),u=i("ae40"),c=a("forEach"),d=u("forEach");o.exports=!c||!d?function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,s,i){var l=i("d066");o.exports=l("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 l=i("b622"),a=l("iterator"),u=!1;try{var c=0,d={next:function(){return{done:!!c++}},return:function(){u=!0}};d[a]=function(){return this},Array.from(d,function(){throw 2})}catch{}o.exports=function(f,p){if(!p&&!u)return!1;var h=!1;try{var _={};_[a]=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 l=i("d039"),a=i("b622"),u=i("2d00"),c=a("species");o.exports=function(d){return u>=51||!l(function(){var f=[],p=f.constructor={};return p[c]=function(){return{foo:1}},f[d](Boolean).foo!==1})}},"23cb":function(o,s,i){var l=i("a691"),a=Math.max,u=Math.min;o.exports=function(c,d){var f=l(c);return f<0?a(f+d,0):u(f,d)}},"23e7":function(o,s,i){var l=i("da84"),a=i("06cf").f,u=i("9112"),c=i("6eeb"),d=i("ce4e"),f=i("e893"),p=i("94ca");o.exports=function(h,_){var v=h.target,C=h.global,w=h.stat,g,z,S,x,L,N;if(C?z=l:w?z=l[v]||d(v,{}):z=(l[v]||{}).prototype,z)for(S in _){if(L=_[S],h.noTargetGet?(N=a(z,S),x=N&&N.value):x=z[S],g=p(C?S:v+(w?".":"#")+S,h.forced),!g&&x!==void 0){if(typeof L==typeof x)continue;f(L,x)}(h.sham||x&&x.sham)&&u(L,"sham",!0),c(z,S,L,h)}}},"241c":function(o,s,i){var l=i("ca84"),a=i("7839"),u=a.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(d){return l(d,u)}},"25f0":function(o,s,i){var l=i("6eeb"),a=i("825a"),u=i("d039"),c=i("ad6d"),d="toString",f=RegExp.prototype,p=f[d],h=u(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),_=p.name!=d;(h||_)&&l(RegExp.prototype,d,function(){var C=a(this),w=String(C.source),g=C.flags,z=String(g===void 0&&C instanceof RegExp&&!("flags"in f)?c.call(C):g);return"/"+w+"/"+z},{unsafe:!0})},"2ca0":function(o,s,i){var l=i("23e7"),a=i("06cf").f,u=i("50c4"),c=i("5a34"),d=i("1d80"),f=i("ab13"),p=i("c430"),h="".startsWith,_=Math.min,v=f("startsWith"),C=!p&&!v&&!!function(){var w=a(String.prototype,"startsWith");return w&&!w.writable}();l({target:"String",proto:!0,forced:!C&&!v},{startsWith:function(g){var z=String(d(this));c(g);var S=u(_(arguments.length>1?arguments[1]:void 0,z.length)),x=String(g);return h?h.call(z,x,S):z.slice(S,S+x.length)===x}})},"2d00":function(o,s,i){var l=i("da84"),a=i("342f"),u=l.process,c=u&&u.versions,d=c&&c.v8,f,p;d?(f=d.split("."),p=f[0]+f[1]):a&&(f=a.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=a.match(/Chrome\/(\d+)/),f&&(p=f[1]))),o.exports=p&&+p},"342f":function(o,s,i){var l=i("d066");o.exports=l("navigator","userAgent")||""},"35a1":function(o,s,i){var l=i("f5df"),a=i("3f8c"),u=i("b622"),c=u("iterator");o.exports=function(d){if(d!=null)return d[c]||d["@@iterator"]||a[l(d)]}},"37e8":function(o,s,i){var l=i("83ab"),a=i("9bf2"),u=i("825a"),c=i("df75");o.exports=l?Object.defineProperties:function(f,p){u(f);for(var h=c(p),_=h.length,v=0,C;_>v;)a.f(f,C=h[v++],p[C]);return f}},"3bbe":function(o,s,i){var l=i("861d");o.exports=function(a){if(!l(a)&&a!==null)throw TypeError("Can't set "+String(a)+" as a prototype");return a}},"3ca3":function(o,s,i){var l=i("6547").charAt,a=i("69f3"),u=i("7dd0"),c="String Iterator",d=a.set,f=a.getterFor(c);u(String,"String",function(p){d(this,{type:c,string:String(p),index:0})},function(){var h=f(this),_=h.string,v=h.index,C;return v>=_.length?{value:void 0,done:!0}:(C=l(_,v),h.index+=C.length,{value:C,done:!1})})},"3f8c":function(o,s){o.exports={}},4160:function(o,s,i){var l=i("23e7"),a=i("17c2");l({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},"428f":function(o,s,i){var l=i("da84");o.exports=l},"44ad":function(o,s,i){var l=i("d039"),a=i("c6b6"),u="".split;o.exports=l(function(){return!Object("z").propertyIsEnumerable(0)})?function(c){return a(c)=="String"?u.call(c,""):Object(c)}:Object},"44d2":function(o,s,i){var l=i("b622"),a=i("7c73"),u=i("9bf2"),c=l("unscopables"),d=Array.prototype;d[c]==null&&u.f(d,c,{configurable:!0,value:a(null)}),o.exports=function(f){d[c][f]=!0}},"44e7":function(o,s,i){var l=i("861d"),a=i("c6b6"),u=i("b622"),c=u("match");o.exports=function(d){var f;return l(d)&&((f=d[c])!==void 0?!!f:a(d)=="RegExp")}},4930:function(o,s,i){var l=i("d039");o.exports=!!Object.getOwnPropertySymbols&&!l(function(){return!String(Symbol())})},"4d64":function(o,s,i){var l=i("fc6a"),a=i("50c4"),u=i("23cb"),c=function(d){return function(f,p,h){var _=l(f),v=a(_.length),C=u(h,v),w;if(d&&p!=p){for(;v>C;)if(w=_[C++],w!=w)return!0}else for(;v>C;C++)if((d||C in _)&&_[C]===p)return d||C||0;return!d&&-1}};o.exports={includes:c(!0),indexOf:c(!1)}},"4de4":function(o,s,i){var l=i("23e7"),a=i("b727").filter,u=i("1dde"),c=i("ae40"),d=u("filter"),f=c("filter");l({target:"Array",proto:!0,forced:!d||!f},{filter:function(h){return a(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,s,i){var l=i("0366"),a=i("7b0b"),u=i("9bdd"),c=i("e95a"),d=i("50c4"),f=i("8418"),p=i("35a1");o.exports=function(_){var v=a(_),C=typeof this=="function"?this:Array,w=arguments.length,g=w>1?arguments[1]:void 0,z=g!==void 0,S=p(v),x=0,L,N,E,F,G,U;if(z&&(g=l(g,w>2?arguments[2]:void 0,2)),S!=null&&!(C==Array&&c(S)))for(F=S.call(v),G=F.next,N=new C;!(E=G.call(F)).done;x++)U=z?u(F,g,[E.value,x],!0):E.value,f(N,x,U);else for(L=d(v.length),N=new C(L);L>x;x++)U=z?g(v[x],x):v[x],f(N,x,U);return N.length=x,N}},"4fad":function(o,s,i){var l=i("23e7"),a=i("6f53").entries;l({target:"Object",stat:!0},{entries:function(c){return a(c)}})},"50c4":function(o,s,i){var l=i("a691"),a=Math.min;o.exports=function(u){return u>0?a(l(u),9007199254740991):0}},5135:function(o,s){var i={}.hasOwnProperty;o.exports=function(l,a){return i.call(l,a)}},5319:function(o,s,i){var l=i("d784"),a=i("825a"),u=i("7b0b"),c=i("50c4"),d=i("a691"),f=i("1d80"),p=i("8aa5"),h=i("14c3"),_=Math.max,v=Math.min,C=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,z=function(S){return S===void 0?S:String(S)};l("replace",2,function(S,x,L,N){var E=N.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,F=N.REPLACE_KEEPS_$0,G=E?"$":"$0";return[function(Q,fe){var K=f(this),te=Q==null?void 0:Q[S];return te!==void 0?te.call(Q,K,fe):x.call(String(K),Q,fe)},function(B,Q){if(!E&&F||typeof Q=="string"&&Q.indexOf(G)===-1){var fe=L(x,B,this,Q);if(fe.done)return fe.value}var K=a(B),te=String(this),ue=typeof Q=="function";ue||(Q=String(Q));var Ne=K.global;if(Ne){var it=K.unicode;K.lastIndex=0}for(var Ve=[];;){var He=h(K,te);if(He===null||(Ve.push(He),!Ne))break;var at=String(He[0]);at===""&&(K.lastIndex=p(te,c(K.lastIndex),it))}for(var lt="",dt=0,Be=0;Be<Ve.length;Be++){He=Ve[Be];for(var Z=String(He[0]),me=_(v(d(He.index),te.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,te);Ue!==void 0&&Ge.push(Ue);var O=String(Q.apply(void 0,Ge))}else O=U(Z,te,me,ce,Ue,Q);me>=dt&&(lt+=te.slice(dt,me)+O,dt=me+Z.length)}return lt+te.slice(dt)}];function U(B,Q,fe,K,te,ue){var Ne=fe+B.length,it=K.length,Ve=g;return te!==void 0&&(te=u(te),Ve=w),x.call(ue,Ve,function(He,at){var lt;switch(at.charAt(0)){case"$":return"$";case"&":return B;case"`":return Q.slice(0,fe);case"'":return Q.slice(Ne);case"<":lt=te[at.slice(1,-1)];break;default:var dt=+at;if(dt===0)return He;if(dt>it){var Be=C(dt/10);return Be===0?He:Be<=it?K[Be-1]===void 0?at.charAt(1):K[Be-1]+at.charAt(1):He}lt=K[dt-1]}return lt===void 0?"":lt})}})},5692:function(o,s,i){var l=i("c430"),a=i("c6cd");(o.exports=function(u,c){return a[u]||(a[u]=c!==void 0?c:{})})("versions",[]).push({version:"3.6.5",mode:l?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,s,i){var l=i("d066"),a=i("241c"),u=i("7418"),c=i("825a");o.exports=l("Reflect","ownKeys")||function(f){var p=a.f(c(f)),h=u.f;return h?p.concat(h(f)):p}},"5a34":function(o,s,i){var l=i("44e7");o.exports=function(a){if(l(a))throw TypeError("The method doesn't accept regular expressions");return a}},"5c6c":function(o,s){o.exports=function(i,l){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:l}}},"5db7":function(o,s,i){var l=i("23e7"),a=i("a2bf"),u=i("7b0b"),c=i("50c4"),d=i("1c0b"),f=i("65f0");l({target:"Array",proto:!0},{flatMap:function(h){var _=u(this),v=c(_.length),C;return d(h),C=f(_,0),C.length=a(C,_,_,v,0,1,h,arguments.length>1?arguments[1]:void 0),C}})},6547:function(o,s,i){var l=i("a691"),a=i("1d80"),u=function(c){return function(d,f){var p=String(a(d)),h=l(f),_=p.length,v,C;return h<0||h>=_?c?"":void 0:(v=p.charCodeAt(h),v<55296||v>56319||h+1===_||(C=p.charCodeAt(h+1))<56320||C>57343?c?p.charAt(h):v:c?p.slice(h,h+2):(v-55296<<10)+(C-56320)+65536)}};o.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(o,s,i){var l=i("861d"),a=i("e8b5"),u=i("b622"),c=u("species");o.exports=function(d,f){var p;return a(d)&&(p=d.constructor,typeof p=="function"&&(p===Array||a(p.prototype))?p=void 0:l(p)&&(p=p[c],p===null&&(p=void 0))),new(p===void 0?Array:p)(f===0?0:f)}},"69f3":function(o,s,i){var l=i("7f9a"),a=i("da84"),u=i("861d"),c=i("9112"),d=i("5135"),f=i("f772"),p=i("d012"),h=a.WeakMap,_,v,C,w=function(E){return C(E)?v(E):_(E,{})},g=function(E){return function(F){var G;if(!u(F)||(G=v(F)).type!==E)throw TypeError("Incompatible receiver, "+E+" required");return G}};if(l){var z=new h,S=z.get,x=z.has,L=z.set;_=function(E,F){return L.call(z,E,F),F},v=function(E){return S.call(z,E)||{}},C=function(E){return x.call(z,E)}}else{var N=f("state");p[N]=!0,_=function(E,F){return c(E,N,F),F},v=function(E){return d(E,N)?E[N]:{}},C=function(E){return d(E,N)}}o.exports={set:_,get:v,has:C,enforce:w,getterFor:g}},"6eeb":function(o,s,i){var l=i("da84"),a=i("9112"),u=i("5135"),c=i("ce4e"),d=i("8925"),f=i("69f3"),p=f.get,h=f.enforce,_=String(String).split("String");(o.exports=function(v,C,w,g){var z=g?!!g.unsafe:!1,S=g?!!g.enumerable:!1,x=g?!!g.noTargetGet:!1;if(typeof w=="function"&&(typeof C=="string"&&!u(w,"name")&&a(w,"name",C),h(w).source=_.join(typeof C=="string"?C:"")),v===l){S?v[C]=w:c(C,w);return}else z?!x&&v[C]&&(S=!0):delete v[C];S?v[C]=w:a(v,C,w)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||d(this)})},"6f53":function(o,s,i){var l=i("83ab"),a=i("df75"),u=i("fc6a"),c=i("d1e7").f,d=function(f){return function(p){for(var h=u(p),_=a(h),v=_.length,C=0,w=[],g;v>C;)g=_[C++],(!l||c.call(h,g))&&w.push(f?[g,h[g]]:h[g]);return w}};o.exports={entries:d(!0),values:d(!1)}},"73d9":function(o,s,i){var l=i("44d2");l("flatMap")},7418:function(o,s){s.f=Object.getOwnPropertySymbols},"746f":function(o,s,i){var l=i("428f"),a=i("5135"),u=i("e538"),c=i("9bf2").f;o.exports=function(d){var f=l.Symbol||(l.Symbol={});a(f,d)||c(f,d,{value:u.f(d)})}},7839:function(o,s){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,s,i){var l=i("1d80");o.exports=function(a){return Object(l(a))}},"7c73":function(o,s,i){var l=i("825a"),a=i("37e8"),u=i("7839"),c=i("d012"),d=i("1be4"),f=i("cc12"),p=i("f772"),h=">",_="<",v="prototype",C="script",w=p("IE_PROTO"),g=function(){},z=function(E){return _+C+h+E+_+"/"+C+h},S=function(E){E.write(z("")),E.close();var F=E.parentWindow.Object;return E=null,F},x=function(){var E=f("iframe"),F="java"+C+":",G;return E.style.display="none",d.appendChild(E),E.src=String(F),G=E.contentWindow.document,G.open(),G.write(z("document.F=Object")),G.close(),G.F},L,N=function(){try{L=document.domain&&new ActiveXObject("htmlfile")}catch{}N=L?S(L):x();for(var E=u.length;E--;)delete N[v][u[E]];return N()};c[w]=!0,o.exports=Object.create||function(F,G){var U;return F!==null?(g[v]=l(F),U=new g,g[v]=null,U[w]=F):U=N(),G===void 0?U:a(U,G)}},"7dd0":function(o,s,i){var l=i("23e7"),a=i("9ed3"),u=i("e163"),c=i("d2bb"),d=i("d44e"),f=i("9112"),p=i("6eeb"),h=i("b622"),_=i("c430"),v=i("3f8c"),C=i("ae93"),w=C.IteratorPrototype,g=C.BUGGY_SAFARI_ITERATORS,z=h("iterator"),S="keys",x="values",L="entries",N=function(){return this};o.exports=function(E,F,G,U,B,Q,fe){a(G,F,U);var K=function(Be){if(Be===B&&Ve)return Ve;if(!g&&Be in Ne)return Ne[Be];switch(Be){case S:return function(){return new G(this,Be)};case x:return function(){return new G(this,Be)};case L:return function(){return new G(this,Be)}}return function(){return new G(this)}},te=F+" Iterator",ue=!1,Ne=E.prototype,it=Ne[z]||Ne["@@iterator"]||B&&Ne[B],Ve=!g&&it||K(B),He=F=="Array"&&Ne.entries||it,at,lt,dt;if(He&&(at=u(He.call(new E)),w!==Object.prototype&&at.next&&(!_&&u(at)!==w&&(c?c(at,w):typeof at[z]!="function"&&f(at,z,N)),d(at,te,!0,!0),_&&(v[te]=N))),B==x&&it&&it.name!==x&&(ue=!0,Ve=function(){return it.call(this)}),(!_||fe)&&Ne[z]!==Ve&&f(Ne,z,Ve),v[F]=Ve,B)if(lt={values:K(x),keys:Q?Ve:K(S),entries:K(L)},fe)for(dt in lt)(g||ue||!(dt in Ne))&&p(Ne,dt,lt[dt]);else l({target:F,proto:!0,forced:g||ue},lt);return lt}},"7f9a":function(o,s,i){var l=i("da84"),a=i("8925"),u=l.WeakMap;o.exports=typeof u=="function"&&/native code/.test(a(u))},"825a":function(o,s,i){var l=i("861d");o.exports=function(a){if(!l(a))throw TypeError(String(a)+" is not an object");return a}},"83ab":function(o,s,i){var l=i("d039");o.exports=!l(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,s,i){var l=i("c04e"),a=i("9bf2"),u=i("5c6c");o.exports=function(c,d,f){var p=l(d);p in c?a.f(c,p,u(0,f)):c[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 l,a,u;(function(c,d){a=[],l=d,u=typeof l=="function"?l.apply(s,a):l,u!==void 0&&(o.exports=u)})(typeof self<"u"?self:this,function(){function c(){var d=Object.getOwnPropertyDescriptor(document,"currentScript");if(!d&&"currentScript"in document&&document.currentScript||d&&d.get!==c&&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,v=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,"+(v-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),z=w.replace(g,"$1").trim());for(var x=0;x<S.length;x++)if(S[x].readyState==="interactive"||S[x].src===_||_===C&&S[x].innerHTML&&S[x].innerHTML.trim()===z)return S[x];return null}}return c})},8925:function(o,s,i){var l=i("c6cd"),a=Function.toString;typeof l.inspectSource!="function"&&(l.inspectSource=function(u){return a.call(u)}),o.exports=l.inspectSource},"8aa5":function(o,s,i){var l=i("6547").charAt;o.exports=function(a,u,c){return u+(c?l(a,u).length:1)}},"8bbf":function(o,s){o.exports=n},"90e3":function(o,s){var i=0,l=Math.random();o.exports=function(a){return"Symbol("+String(a===void 0?"":a)+")_"+(++i+l).toString(36)}},9112:function(o,s,i){var l=i("83ab"),a=i("9bf2"),u=i("5c6c");o.exports=l?function(c,d,f){return a.f(c,d,u(1,f))}:function(c,d,f){return c[d]=f,c}},9263:function(o,s,i){var l=i("ad6d"),a=i("9f7f"),u=RegExp.prototype.exec,c=String.prototype.replace,d=u,f=function(){var v=/a/,C=/b*/g;return u.call(v,"a"),u.call(C,"a"),v.lastIndex!==0||C.lastIndex!==0}(),p=a.UNSUPPORTED_Y||a.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=f||h||p;_&&(d=function(C){var w=this,g,z,S,x,L=p&&w.sticky,N=l.call(w),E=w.source,F=0,G=C;return L&&(N=N.replace("y",""),N.indexOf("g")===-1&&(N+="g"),G=String(C).slice(w.lastIndex),w.lastIndex>0&&(!w.multiline||w.multiline&&C[w.lastIndex-1]!==`
|
||
`)&&(E="(?: "+E+")",G=" "+G,F++),z=new RegExp("^(?:"+E+")",N)),h&&(z=new RegExp("^"+E+"$(?!\\s)",N)),f&&(g=w.lastIndex),S=u.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&&c.call(S[0],z,function(){for(x=1;x<arguments.length-2;x++)arguments[x]===void 0&&(S[x]=void 0)}),S}),o.exports=d},"94ca":function(o,s,i){var l=i("d039"),a=/#|\.prototype\./,u=function(h,_){var v=d[c(h)];return v==p?!0:v==f?!1:typeof _=="function"?l(_):!!_},c=u.normalize=function(h){return String(h).replace(a,".").toLowerCase()},d=u.data={},f=u.NATIVE="N",p=u.POLYFILL="P";o.exports=u},"99af":function(o,s,i){var l=i("23e7"),a=i("d039"),u=i("e8b5"),c=i("861d"),d=i("7b0b"),f=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),v=i("b622"),C=i("2d00"),w=v("isConcatSpreadable"),g=9007199254740991,z="Maximum allowed index exceeded",S=C>=51||!a(function(){var E=[];return E[w]=!1,E.concat()[0]!==E}),x=_("concat"),L=function(E){if(!c(E))return!1;var F=E[w];return F!==void 0?!!F:u(E)},N=!S||!x;l({target:"Array",proto:!0,forced:N},{concat:function(F){var G=d(this),U=h(G,0),B=0,Q,fe,K,te,ue;for(Q=-1,K=arguments.length;Q<K;Q++)if(ue=Q===-1?G:arguments[Q],L(ue)){if(te=f(ue.length),B+te>g)throw TypeError(z);for(fe=0;fe<te;fe++,B++)fe in ue&&p(U,B,ue[fe])}else{if(B>=g)throw TypeError(z);p(U,B++,ue)}return U.length=B,U}})},"9bdd":function(o,s,i){var l=i("825a");o.exports=function(a,u,c,d){try{return d?u(l(c)[0],c[1]):u(c)}catch(p){var f=a.return;throw f!==void 0&&l(f.call(a)),p}}},"9bf2":function(o,s,i){var l=i("83ab"),a=i("0cfb"),u=i("825a"),c=i("c04e"),d=Object.defineProperty;s.f=l?d:function(p,h,_){if(u(p),h=c(h,!0),u(_),a)try{return d(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 l=i("ae93").IteratorPrototype,a=i("7c73"),u=i("5c6c"),c=i("d44e"),d=i("3f8c"),f=function(){return this};o.exports=function(p,h,_){var v=h+" Iterator";return p.prototype=a(l,{next:u(1,_)}),c(p,v,!1,!0),d[v]=f,p}},"9f7f":function(o,s,i){var l=i("d039");function a(u,c){return RegExp(u,c)}s.UNSUPPORTED_Y=l(function(){var u=a("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),s.BROKEN_CARET=l(function(){var u=a("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(o,s,i){var l=i("e8b5"),a=i("50c4"),u=i("0366"),c=function(d,f,p,h,_,v,C,w){for(var g=_,z=0,S=C?u(C,w,3):!1,x;z<h;){if(z in p){if(x=S?S(p[z],z,f):p[z],v>0&&l(x))g=c(d,f,x,a(x.length),g,v-1)-1;else{if(g>=9007199254740991)throw TypeError("Exceed the acceptable array length");d[g]=x}g++}z++}return g};o.exports=c},a352:function(o,s){o.exports=r},a434:function(o,s,i){var l=i("23e7"),a=i("23cb"),u=i("a691"),c=i("50c4"),d=i("7b0b"),f=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),v=h("splice"),C=_("splice",{ACCESSORS:!0,0:0,1:2}),w=Math.max,g=Math.min,z=9007199254740991,S="Maximum allowed length exceeded";l({target:"Array",proto:!0,forced:!v||!C},{splice:function(L,N){var E=d(this),F=c(E.length),G=a(L,F),U=arguments.length,B,Q,fe,K,te,ue;if(U===0?B=Q=0:U===1?(B=0,Q=F-G):(B=U-2,Q=g(w(u(N),0),F-G)),F+B-Q>z)throw TypeError(S);for(fe=f(E,Q),K=0;K<Q;K++)te=G+K,te in E&&p(fe,K,E[te]);if(fe.length=Q,B<Q){for(K=G;K<F-Q;K++)te=K+Q,ue=K+B,te in E?E[ue]=E[te]:delete E[ue];for(K=F;K>F-Q+B;K--)delete E[K-1]}else if(B>Q)for(K=F-Q;K>G;K--)te=K+Q-1,ue=K+B-1,te in E?E[ue]=E[te]:delete E[ue];for(K=0;K<B;K++)E[K+G]=arguments[K+2];return E.length=F-Q+B,fe}})},a4d3:function(o,s,i){var l=i("23e7"),a=i("da84"),u=i("d066"),c=i("c430"),d=i("83ab"),f=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),v=i("e8b5"),C=i("861d"),w=i("825a"),g=i("7b0b"),z=i("fc6a"),S=i("c04e"),x=i("5c6c"),L=i("7c73"),N=i("df75"),E=i("241c"),F=i("057f"),G=i("7418"),U=i("06cf"),B=i("9bf2"),Q=i("d1e7"),fe=i("9112"),K=i("6eeb"),te=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"),Be=i("b727").forEach,Z=ue("hidden"),me="Symbol",ce="prototype",ye=Ve("toPrimitive"),Ue=dt.set,Ge=dt.getterFor(me),O=Object[ce],I=a.Symbol,j=u("JSON","stringify"),ee=U.f,X=B.f,se=F.f,pe=Q.f,k=te("symbols"),$=te("op-symbols"),R=te("string-to-symbol-registry"),re=te("symbol-to-string-registry"),le=te("wks"),oe=a.QObject,V=!oe||!oe[ce]||!oe[ce].findChild,Y=d&&h(function(){return L(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a!=7})?function(Pe,xe,$e){var Ye=ee(O,xe);Ye&&delete O[xe],X(Pe,xe,$e),Ye&&Pe!==O&&X(O,xe,Ye)}:X,Se=function(Pe,xe){var $e=k[Pe]=L(I[ce]);return Ue($e,{type:me,tag:Pe,description:xe}),d||($e.description=xe),$e},M=p?function(Pe){return typeof Pe=="symbol"}:function(Pe){return Object(Pe)instanceof I},H=function(xe,$e,Ye){xe===O&&H($,$e,Ye),w(xe);var tt=S($e,!0);return w(Ye),_(k,tt)?(Ye.enumerable?(_(xe,Z)&&xe[Z][tt]&&(xe[Z][tt]=!1),Ye=L(Ye,{enumerable:x(0,!1)})):(_(xe,Z)||X(xe,Z,x(1,{})),xe[Z][tt]=!0),Y(xe,tt,Ye)):X(xe,tt,Ye)},q=function(xe,$e){w(xe);var Ye=z($e),tt=N(Ye).concat(Re(Ye));return Be(tt,function(dn){(!d||_e.call(Ye,dn))&&H(xe,dn,Ye[dn])}),xe},ne=function(xe,$e){return $e===void 0?L(xe):q(L(xe),$e)},_e=function(xe){var $e=S(xe,!0),Ye=pe.call(this,$e);return this===O&&_(k,$e)&&!_($,$e)?!1:Ye||!_(this,$e)||!_(k,$e)||_(this,Z)&&this[Z][$e]?Ye:!0},Ee=function(xe,$e){var Ye=z(xe),tt=S($e,!0);if(!(Ye===O&&_(k,tt)&&!_($,tt))){var dn=ee(Ye,tt);return dn&&_(k,tt)&&!(_(Ye,Z)&&Ye[Z][tt])&&(dn.enumerable=!0),dn}},Me=function(xe){var $e=se(z(xe)),Ye=[];return Be($e,function(tt){!_(k,tt)&&!_(Ne,tt)&&Ye.push(tt)}),Ye},Re=function(xe){var $e=xe===O,Ye=se($e?$:z(xe)),tt=[];return Be(Ye,function(dn){_(k,dn)&&(!$e||_(O,dn))&&tt.push(k[dn])}),tt};if(f||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor");var xe=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),$e=it(xe),Ye=function(tt){this===O&&Ye.call($,tt),_(this,Z)&&_(this[Z],$e)&&(this[Z][$e]=!1),Y(this,$e,x(1,tt))};return d&&V&&Y(O,$e,{configurable:!0,set:Ye}),Se($e,xe)},K(I[ce],"toString",function(){return Ge(this).tag}),K(I,"withoutSetter",function(Pe){return Se(it(Pe),Pe)}),Q.f=_e,B.f=H,U.f=Ee,E.f=F.f=Me,G.f=Re,He.f=function(Pe){return Se(Ve(Pe),Pe)},d&&(X(I[ce],"description",{configurable:!0,get:function(){return Ge(this).description}}),c||K(O,"propertyIsEnumerable",_e,{unsafe:!0}))),l({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:I}),Be(N(le),function(Pe){at(Pe)}),l({target:me,stat:!0,forced:!f},{for:function(Pe){var xe=String(Pe);if(_(R,xe))return R[xe];var $e=I(xe);return R[xe]=$e,re[$e]=xe,$e},keyFor:function(xe){if(!M(xe))throw TypeError(xe+" is not a symbol");if(_(re,xe))return re[xe]},useSetter:function(){V=!0},useSimple:function(){V=!1}}),l({target:"Object",stat:!0,forced:!f,sham:!d},{create:ne,defineProperty:H,defineProperties:q,getOwnPropertyDescriptor:Ee}),l({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Me,getOwnPropertySymbols:Re}),l({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=I();return j([Pe])!="[null]"||j({a:Pe})!="{}"||j(Object(Pe))!="{}"});l({target:"JSON",stat:!0,forced:nt},{stringify:function(xe,$e,Ye){for(var tt=[xe],dn=1,ku;arguments.length>dn;)tt.push(arguments[dn++]);if(ku=$e,!(!C($e)&&xe===void 0||M(xe)))return v($e)||($e=function(F1,sa){if(typeof ku=="function"&&(sa=ku.call(this,F1,sa)),!M(sa))return sa}),tt[1]=$e,j.apply(null,tt)}})}I[ce][ye]||fe(I[ce],ye,I[ce].valueOf),lt(I,me),Ne[Z]=!0},a630:function(o,s,i){var l=i("23e7"),a=i("4df4"),u=i("1c7e"),c=!u(function(d){Array.from(d)});l({target:"Array",stat:!0,forced:c},{from:a})},a640:function(o,s,i){var l=i("d039");o.exports=function(a,u){var c=[][a];return!!c&&l(function(){c.call(null,u||function(){throw 1},1)})}},a691:function(o,s){var i=Math.ceil,l=Math.floor;o.exports=function(a){return isNaN(a=+a)?0:(a>0?l:i)(a)}},ab13:function(o,s,i){var l=i("b622"),a=l("match");o.exports=function(u){var c=/./;try{"/./"[u](c)}catch{try{return c[a]=!1,"/./"[u](c)}catch{}}return!1}},ac1f:function(o,s,i){var l=i("23e7"),a=i("9263");l({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},ad6d:function(o,s,i){var l=i("825a");o.exports=function(){var a=l(this),u="";return a.global&&(u+="g"),a.ignoreCase&&(u+="i"),a.multiline&&(u+="m"),a.dotAll&&(u+="s"),a.unicode&&(u+="u"),a.sticky&&(u+="y"),u}},ae40:function(o,s,i){var l=i("83ab"),a=i("d039"),u=i("5135"),c=Object.defineProperty,d={},f=function(p){throw p};o.exports=function(p,h){if(u(d,p))return d[p];h||(h={});var _=[][p],v=u(h,"ACCESSORS")?h.ACCESSORS:!1,C=u(h,0)?h[0]:f,w=u(h,1)?h[1]:void 0;return d[p]=!!_&&!a(function(){if(v&&!l)return!0;var g={length:-1};v?c(g,1,{enumerable:!0,get:f}):g[1]=1,_.call(g,C,w)})}},ae93:function(o,s,i){var l=i("e163"),a=i("9112"),u=i("5135"),c=i("b622"),d=i("c430"),f=c("iterator"),p=!1,h=function(){return this},_,v,C;[].keys&&(C=[].keys(),"next"in C?(v=l(l(C)),v!==Object.prototype&&(_=v)):p=!0),_==null&&(_={}),!d&&!u(_,f)&&a(_,f,h),o.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(o,s,i){var l=i("00ee"),a=i("f5df");o.exports=l?{}.toString:function(){return"[object "+a(this)+"]"}},b0c0:function(o,s,i){var l=i("83ab"),a=i("9bf2").f,u=Function.prototype,c=u.toString,d=/^\s*function ([^ (]*)/,f="name";l&&!(f in u)&&a(u,f,{configurable:!0,get:function(){try{return c.call(this).match(d)[1]}catch{return""}}})},b622:function(o,s,i){var l=i("da84"),a=i("5692"),u=i("5135"),c=i("90e3"),d=i("4930"),f=i("fdbf"),p=a("wks"),h=l.Symbol,_=f?h:h&&h.withoutSetter||c;o.exports=function(v){return u(p,v)||(d&&u(h,v)?p[v]=h[v]:p[v]=_("Symbol."+v)),p[v]}},b64b:function(o,s,i){var l=i("23e7"),a=i("7b0b"),u=i("df75"),c=i("d039"),d=c(function(){u(1)});l({target:"Object",stat:!0,forced:d},{keys:function(p){return u(a(p))}})},b727:function(o,s,i){var l=i("0366"),a=i("44ad"),u=i("7b0b"),c=i("50c4"),d=i("65f0"),f=[].push,p=function(h){var _=h==1,v=h==2,C=h==3,w=h==4,g=h==6,z=h==5||g;return function(S,x,L,N){for(var E=u(S),F=a(E),G=l(x,L,3),U=c(F.length),B=0,Q=N||d,fe=_?Q(S,U):v?Q(S,0):void 0,K,te;U>B;B++)if((z||B in F)&&(K=F[B],te=G(K,B,E),h)){if(_)fe[B]=te;else if(te)switch(h){case 3:return!0;case 5:return K;case 6:return B;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 l=i("861d");o.exports=function(a,u){if(!l(a))return a;var c,d;if(u&&typeof(c=a.toString)=="function"&&!l(d=c.call(a))||typeof(c=a.valueOf)=="function"&&!l(d=c.call(a))||!u&&typeof(c=a.toString)=="function"&&!l(d=c.call(a)))return d;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(l){return i.call(l).slice(8,-1)}},c6cd:function(o,s,i){var l=i("da84"),a=i("ce4e"),u="__core-js_shared__",c=l[u]||a(u,{});o.exports=c},c740:function(o,s,i){var l=i("23e7"),a=i("b727").findIndex,u=i("44d2"),c=i("ae40"),d="findIndex",f=!0,p=c(d);d in[]&&Array(1)[d](function(){f=!1}),l({target:"Array",proto:!0,forced:f||!p},{findIndex:function(_){return a(this,_,arguments.length>1?arguments[1]:void 0)}}),u(d)},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 l=i("23e7"),a=i("4d64").indexOf,u=i("a640"),c=i("ae40"),d=[].indexOf,f=!!d&&1/[1].indexOf(1,-0)<0,p=u("indexOf"),h=c("indexOf",{ACCESSORS:!0,1:0});l({target:"Array",proto:!0,forced:f||!p||!h},{indexOf:function(v){return f?d.apply(this,arguments)||0:a(this,v,arguments.length>1?arguments[1]:void 0)}})},ca84:function(o,s,i){var l=i("5135"),a=i("fc6a"),u=i("4d64").indexOf,c=i("d012");o.exports=function(d,f){var p=a(d),h=0,_=[],v;for(v in p)!l(c,v)&&l(p,v)&&_.push(v);for(;f.length>h;)l(p,v=f[h++])&&(~u(_,v)||_.push(v));return _}},caad:function(o,s,i){var l=i("23e7"),a=i("4d64").includes,u=i("44d2"),c=i("ae40"),d=c("indexOf",{ACCESSORS:!0,1:0});l({target:"Array",proto:!0,forced:!d},{includes:function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(o,s,i){var l=i("da84"),a=i("861d"),u=l.document,c=a(u)&&a(u.createElement);o.exports=function(d){return c?u.createElement(d):{}}},ce4e:function(o,s,i){var l=i("da84"),a=i("9112");o.exports=function(u,c){try{a(l,u,c)}catch{l[u]=c}return c}},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 l=i("428f"),a=i("da84"),u=function(c){return typeof c=="function"?c:void 0};o.exports=function(c,d){return arguments.length<2?u(l[c])||u(a[c]):l[c]&&l[c][d]||a[c]&&a[c][d]}},d1e7:function(o,s,i){var l={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,u=a&&!l.call({1:2},1);s.f=u?function(d){var f=a(this,d);return!!f&&f.enumerable}:l},d28b:function(o,s,i){var l=i("746f");l("iterator")},d2bb:function(o,s,i){var l=i("825a"),a=i("3bbe");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,c={},d;try{d=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,d.call(c,[]),u=c instanceof Array}catch{}return function(p,h){return l(p),a(h),u?d.call(p,h):p.__proto__=h,p}}():void 0)},d3b7:function(o,s,i){var l=i("00ee"),a=i("6eeb"),u=i("b041");l||a(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(o,s,i){var l=i("9bf2").f,a=i("5135"),u=i("b622"),c=u("toStringTag");o.exports=function(d,f,p){d&&!a(d=p?d:d.prototype,c)&&l(d,c,{configurable:!0,value:f})}},d58f:function(o,s,i){var l=i("1c0b"),a=i("7b0b"),u=i("44ad"),c=i("50c4"),d=function(f){return function(p,h,_,v){l(h);var C=a(p),w=u(C),g=c(C.length),z=f?g-1:0,S=f?-1:1;if(_<2)for(;;){if(z in w){v=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&&(v=h(v,w[z],z,C));return v}};o.exports={left:d(!1),right:d(!0)}},d784:function(o,s,i){i("ac1f");var l=i("6eeb"),a=i("d039"),u=i("b622"),c=i("9263"),d=i("9112"),f=u("species"),p=!a(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"}(),_=u("replace"),v=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),C=!a(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 x=u(w),L=!a(function(){var B={};return B[x]=function(){return 7},""[w](B)!=7}),N=L&&!a(function(){var B=!1,Q=/a/;return w==="split"&&(Q={},Q.constructor={},Q.constructor[f]=function(){return Q},Q.flags="",Q[x]=/./[x]),Q.exec=function(){return B=!0,null},Q[x](""),!B});if(!L||!N||w==="replace"&&!(p&&h&&!v)||w==="split"&&!C){var E=/./[x],F=z(x,""[w],function(B,Q,fe,K,te){return Q.exec===c?L&&!te?{done:!0,value:E.call(Q,fe,K)}:{done:!0,value:B.call(fe,Q,K)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:v}),G=F[0],U=F[1];l(String.prototype,w,G),l(RegExp.prototype,x,g==2?function(B,Q){return U.call(B,this,Q)}:function(B){return U.call(B,this)})}S&&d(RegExp.prototype[x],"sham",!0)}},d81d:function(o,s,i){var l=i("23e7"),a=i("b727").map,u=i("1dde"),c=i("ae40"),d=u("map"),f=c("map");l({target:"Array",proto:!0,forced:!d||!f},{map:function(h){return a(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(o,s,i){(function(l){var a=function(u){return u&&u.Math==Math&&u};o.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof l=="object"&&l)||Function("return this")()}).call(this,i("c8ba"))},dbb4:function(o,s,i){var l=i("23e7"),a=i("83ab"),u=i("56ef"),c=i("fc6a"),d=i("06cf"),f=i("8418");l({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(h){for(var _=c(h),v=d.f,C=u(_),w={},g=0,z,S;C.length>g;)S=v(_,z=C[g++]),S!==void 0&&f(w,z,S);return w}})},dbf1:function(o,s,i){(function(l){i.d(s,"a",function(){return u});function a(){return typeof window<"u"?window.console:l.console}var u=a()}).call(this,i("c8ba"))},ddb0:function(o,s,i){var l=i("da84"),a=i("fdbc"),u=i("e260"),c=i("9112"),d=i("b622"),f=d("iterator"),p=d("toStringTag"),h=u.values;for(var _ in a){var v=l[_],C=v&&v.prototype;if(C){if(C[f]!==h)try{c(C,f,h)}catch{C[f]=h}if(C[p]||c(C,p,_),a[_]){for(var w in u)if(C[w]!==u[w])try{c(C,w,u[w])}catch{C[w]=u[w]}}}}},df75:function(o,s,i){var l=i("ca84"),a=i("7839");o.exports=Object.keys||function(c){return l(c,a)}},e01a:function(o,s,i){var l=i("23e7"),a=i("83ab"),u=i("da84"),c=i("5135"),d=i("861d"),f=i("9bf2").f,p=i("e893"),h=u.Symbol;if(a&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},v=function(){var x=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof v?new h(x):x===void 0?h():h(x);return x===""&&(_[L]=!0),L};p(v,h);var C=v.prototype=h.prototype;C.constructor=v;var w=C.toString,g=String(h("test"))=="Symbol(test)",z=/^Symbol\((.*)\)[^)]+$/;f(C,"description",{configurable:!0,get:function(){var x=d(this)?this.valueOf():this,L=w.call(x);if(c(_,x))return"";var N=g?L.slice(7,-1):L.replace(z,"$1");return N===""?void 0:N}}),l({global:!0,forced:!0},{Symbol:v})}},e163:function(o,s,i){var l=i("5135"),a=i("7b0b"),u=i("f772"),c=i("e177"),d=u("IE_PROTO"),f=Object.prototype;o.exports=c?Object.getPrototypeOf:function(p){return p=a(p),l(p,d)?p[d]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?f:null}},e177:function(o,s,i){var l=i("d039");o.exports=!l(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},e260:function(o,s,i){var l=i("fc6a"),a=i("44d2"),u=i("3f8c"),c=i("69f3"),d=i("7dd0"),f="Array Iterator",p=c.set,h=c.getterFor(f);o.exports=d(Array,"Array",function(_,v){p(this,{type:f,target:l(_),index:0,kind:v})},function(){var _=h(this),v=_.target,C=_.kind,w=_.index++;return!v||w>=v.length?(_.target=void 0,{value:void 0,done:!0}):C=="keys"?{value:w,done:!1}:C=="values"?{value:v[w],done:!1}:{value:[w,v[w]],done:!1}},"values"),u.Arguments=u.Array,a("keys"),a("values"),a("entries")},e439:function(o,s,i){var l=i("23e7"),a=i("d039"),u=i("fc6a"),c=i("06cf").f,d=i("83ab"),f=a(function(){c(1)}),p=!d||f;l({target:"Object",stat:!0,forced:p,sham:!d},{getOwnPropertyDescriptor:function(_,v){return c(u(_),v)}})},e538:function(o,s,i){var l=i("b622");s.f=l},e893:function(o,s,i){var l=i("5135"),a=i("56ef"),u=i("06cf"),c=i("9bf2");o.exports=function(d,f){for(var p=a(f),h=c.f,_=u.f,v=0;v<p.length;v++){var C=p[v];l(d,C)||h(d,C,_(f,C))}}},e8b5:function(o,s,i){var l=i("c6b6");o.exports=Array.isArray||function(u){return l(u)=="Array"}},e95a:function(o,s,i){var l=i("b622"),a=i("3f8c"),u=l("iterator"),c=Array.prototype;o.exports=function(d){return d!==void 0&&(a.Array===d||c[u]===d)}},f5df:function(o,s,i){var l=i("00ee"),a=i("c6b6"),u=i("b622"),c=u("toStringTag"),d=a(function(){return arguments}())=="Arguments",f=function(p,h){try{return p[h]}catch{}};o.exports=l?a:function(p){var h,_,v;return p===void 0?"Undefined":p===null?"Null":typeof(_=f(h=Object(p),c))=="string"?_:d?a(h):(v=a(h))=="Object"&&typeof h.callee=="function"?"Arguments":v}},f772:function(o,s,i){var l=i("5692"),a=i("90e3"),u=l("keys");o.exports=function(c){return u[c]||(u[c]=a(c))}},fb15:function(o,s,i){if(i.r(s),typeof window<"u"){var l=window.document.currentScript;{var a=i("8875");l=a(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:a})}var u=l&&l.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(i.p=u[1])}i("99af"),i("4de4"),i("4160"),i("c975"),i("d81d"),i("a434"),i("159b"),i("a4d3"),i("e439"),i("dbb4"),i("b64b");function c(M,H,q){return H in M?Object.defineProperty(M,H,{value:q,enumerable:!0,configurable:!0,writable:!0}):M[H]=q,M}function d(M,H){var q=Object.keys(M);if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(M);H&&(ne=ne.filter(function(_e){return Object.getOwnPropertyDescriptor(M,_e).enumerable})),q.push.apply(q,ne)}return q}function f(M){for(var H=1;H<arguments.length;H++){var q=arguments[H]!=null?arguments[H]:{};H%2?d(Object(q),!0).forEach(function(ne){c(M,ne,q[ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(q)):d(Object(q)).forEach(function(ne){Object.defineProperty(M,ne,Object.getOwnPropertyDescriptor(q,ne))})}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=[],ne=!0,_e=!1,Ee=void 0;try{for(var Me=M[Symbol.iterator](),Re;!(ne=(Re=Me.next()).done)&&(q.push(Re.value),!(H&&q.length===H));ne=!0);}catch(nt){_e=!0,Ee=nt}finally{try{!ne&&Me.return!=null&&Me.return()}finally{if(_e)throw Ee}}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,ne=new Array(H);q<H;q++)ne[q]=M[q];return ne}function v(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)||v(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 x(M){return g(M)||z(M)||v(M)||S()}var L=i("a352"),N=i.n(L);function E(M){M.parentElement!==null&&M.parentElement.removeChild(M)}function F(M,H,q){var ne=q===0?M.children[0]:M.children[q-1].nextSibling;M.insertBefore(H,ne)}var G=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function U(M){var H=Object.create(null);return function(ne){var _e=H[ne];return _e||(H[ne]=M(ne))}}var B=/-(\w)/g,Q=U(function(M){return M.replace(B,function(H,q){return q.toUpperCase()})});i("5db7"),i("73d9");var fe=["Start","Add","Remove","Update","End"],K=["Choose","Unchoose","Sort","Filter","Clone"],te=["Move"],ue=[te,fe,K].flatMap(function(M){return M}).map(function(M){return"on".concat(M)}),Ne={manage:te,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 ne=w(q,2),_e=ne[0],Ee=ne[1];return H[_e]=Ee,H},{})}function Be(M){var H=M.$attrs,q=M.componentData,ne=q===void 0?{}:q,_e=dt(Object.entries(H).filter(function(Ee){var Me=w(Ee,2),Re=Me[0];return Me[1],lt(Re)}));return f(f({},_e),ne)}function Z(M){var H=M.$attrs,q=M.callBackBuilder,ne=dt(me(H));Object.entries(q).forEach(function(Ee){var Me=w(Ee,2),Re=Me[0],nt=Me[1];Ne[Re].forEach(function(Pe){ne["on".concat(Pe)]=nt(Pe)})});var _e="[data-draggable]".concat(ne.draggable||"");return f(f({},ne),{},{draggable:_e})}function me(M){return Object.entries(M).filter(function(H){var q=w(H,2),ne=q[0];return q[1],!lt(ne)}).map(function(H){var q=w(H,2),ne=q[0],_e=q[1];return[Q(ne),_e]}).filter(function(H){var q=w(H,2),ne=q[0];return q[1],!it(ne)})}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 ne=H[q];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(M,ne.key,ne)}}function Ue(M,H,q){return ye(M.prototype,H),M}var Ge=function(H){var q=H.el;return q},O=function(H,q){return H.__draggable_context=q},I=function(H){return H.__draggable_context},j=function(){function M(H){var q=H.nodes,ne=q.header,_e=q.default,Ee=q.footer,Me=H.root,Re=H.realList;ce(this,M),this.defaultNodes=_e,this.children=[].concat(x(ne),x(_e),x(Ee)),this.externalComponent=Me.externalComponent,this.rootTransition=Me.transition,this.tag=Me.tag,this.realList=Re}return Ue(M,[{key:"render",value:function(q,ne){var _e=this.tag,Ee=this.children,Me=this._isRootComponent,Re=Me?{default:function(){return Ee}}:Ee;return q(_e,ne,Re)}},{key:"updated",value:function(){var q=this.defaultNodes,ne=this.realList;q.forEach(function(_e,Ee){O(Ge(_e),{element:ne[Ee],index:Ee})})}},{key:"getUnderlyingVm",value:function(q){return I(q)}},{key:"getVmIndexFromDomIndex",value:function(q,ne){var _e=this.defaultNodes,Ee=_e.length,Me=ne.children,Re=Me.item(q);if(Re===null)return Ee;var nt=I(Re);if(nt)return nt.index;if(Ee===0)return 0;var Pe=Ge(_e[0]),xe=x(Me).findIndex(function($e){return $e===Pe});return q<xe?0:Ee}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),M}(),ee=i("8bbf");function X(M,H){var q=M[H];return q?q():[]}function se(M){var H=M.$slots,q=M.realList,ne=M.getKey,_e=q||[],Ee=["header","footer"].map(function($e){return X(H,$e)}),Me=w(Ee,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($e,Ye){return Pe({element:$e,index:Ye}).map(function(tt){return tt.key=ne($e),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(ee.resolveComponent)(M):H?ee.TransitionGroup:M}}function k(M){var H=M.$slots,q=M.tag,ne=M.realList,_e=M.getKey,Ee=se({$slots:H,realList:ne,getKey:_e}),Me=pe(q);return new j({nodes:Ee,root:Me,realList:ne})}function $(M,H){var q=this;Object(ee.nextTick)(function(){return q.$emit(M.toLowerCase(),H)})}function R(M){var H=this;return function(q,ne){if(H.realList!==null)return H["onDrag".concat(M)](q,ne)}}function re(M){var H=this,q=R.call(this,M);return function(ne,_e){q.call(H,ne,_e),$.call(H,M,ne)}}var le=null,oe={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(x([].concat(x(Ne.manageAndEmit),x(Ne.emit)).map(function(M){return M.toLowerCase()}))),Y=Object(ee.defineComponent)({name:"draggable",inheritAttrs:!1,props:oe,emits:V,data:function(){return{error:!1}},render:function(){try{this.error=!1;var H=this.$slots,q=this.$attrs,ne=this.tag,_e=this.componentData,Ee=this.realList,Me=this.getKey,Re=k({$slots:H,tag:ne,realList:Ee,getKey:Me});this.componentStructure=Re;var nt=Be({$attrs:q,componentData:_e});return Re.render(ee.h,nt)}catch(Pe){return this.error=!0,Object(ee.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,ne=this.$el,_e=this.componentStructure;_e.updated();var Ee=Z({$attrs:q,callBackBuilder:{manageAndEmit:function(nt){return re.call(H,nt)},emit:function(nt){return $.bind(H,nt)},manage:function(nt){return R.call(H,nt)}}}),Me=ne.nodeType===1?ne:ne.parentElement;this._sortable=new N.a(Me,Ee),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(ne){var _e=w(ne,2),Ee=_e[0],Me=_e[1];q.option(Ee,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(ee.nextTick)(function(){return q.$emit("change",H)})},alterList:function(H){if(this.list){H(this.list);return}var q=x(this.modelValue);H(q),this.$emit("update:modelValue",q)},spliceList:function(){var H=arguments,q=function(_e){return _e.splice.apply(_e,x(H))};this.alterList(q)},updatePosition:function(H,q){var ne=function(Ee){return Ee.splice(q,0,Ee.splice(H,1)[0])};this.alterList(ne)},getRelatedContextFromMoveEvent:function(H){var q=H.to,ne=H.related,_e=this.getUnderlyingPotencialDraggableComponent(q);if(!_e)return{component:_e};var Ee=_e.realList,Me={list:Ee,component:_e};if(q!==ne&&Ee){var Re=_e.getUnderlyingVm(ne)||{};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),le=H.item},onDragAdd:function(H){var q=H.item._underlying_vm_;if(q!==void 0){E(H.item);var ne=this.getVmIndexFromDomIndex(H.newIndex);this.spliceList(ne,0,q);var _e={element:q,newIndex:ne};this.emitChanges({added:_e})}},onDragRemove:function(H){if(F(this.$el,H.item,H.oldIndex),H.pullMode==="clone"){E(H.clone);return}var q=this.context,ne=q.index,_e=q.element;this.spliceList(ne,1);var Ee={element:_e,oldIndex:ne};this.emitChanges({removed:Ee})},onDragUpdate:function(H){E(H.item),F(H.from,H.item,H.oldIndex);var q=this.context.index,ne=this.getVmIndexFromDomIndex(H.newIndex);this.updatePosition(q,ne);var _e={element:this.context.element,oldIndex:q,newIndex:ne};this.emitChanges({moved:_e})},computeFutureIndex:function(H,q){if(!H.element)return 0;var ne=x(q.to.children).filter(function(Re){return Re.style.display!=="none"}),_e=ne.indexOf(q.related),Ee=H.component.getVmIndexFromDomIndex(_e),Me=ne.indexOf(le)!==-1;return Me||!q.willInsertAfter?Ee:Ee+1},onDragMove:function(H,q){var ne=this.move,_e=this.realList;if(!ne||!_e)return!0;var Ee=this.getRelatedContextFromMoveEvent(H),Me=this.computeFutureIndex(Ee,H),Re=f(f({},this.context),{},{futureIndex:Me}),nt=f(f({},H),{},{relatedContext:Ee,draggedContext:Re});return ne(nt,q)},onDragEnd:function(){le=null}}}),Se=Y;s.default=Se},fb6a:function(o,s,i){var l=i("23e7"),a=i("861d"),u=i("e8b5"),c=i("23cb"),d=i("50c4"),f=i("fc6a"),p=i("8418"),h=i("b622"),_=i("1dde"),v=i("ae40"),C=_("slice"),w=v("slice",{ACCESSORS:!0,0:0,1:2}),g=h("species"),z=[].slice,S=Math.max;l({target:"Array",proto:!0,forced:!C||!w},{slice:function(L,N){var E=f(this),F=d(E.length),G=c(L,F),U=c(N===void 0?F:N,F),B,Q,fe;if(u(E)&&(B=E.constructor,typeof B=="function"&&(B===Array||u(B.prototype))?B=void 0:a(B)&&(B=B[g],B===null&&(B=void 0)),B===Array||B===void 0))return z.call(E,G,U);for(Q=new(B===void 0?Array:B)(S(U-G,0)),fe=0;G<U;G++,fe++)G in E&&p(Q,fe,E[G]);return Q.length=fe,Q}})},fc6a:function(o,s,i){var l=i("44ad"),a=i("1d80");o.exports=function(u){return l(a(u))}},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 l=i("4930");o.exports=l&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(w1);var yU=w1.exports;const zU=pu(yU),vU={name:"PageQueue",components:{ContentWithHeading:et,ListItemQueueItem:dH,ModalDialogAddUrlStream:wH,ModalDialogPlaylistSave:LH,ModalDialogQueueItem:C1,draggable:zU},setup(){return{configurationStore:Mo(),playerStore:On(),queueStore:sr(),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&&W.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(){W.queue_clear()},remove(e){W.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}}},bU=["textContent"],CU=["textContent"],wU={class:"buttons is-centered"},SU=["textContent"],xU=["textContent"],kU=["disabled"],EU=["textContent"],TU=["disabled"],AU=["textContent"],$U=["disabled"],OU=["textContent"],PU=["onClick"],IU=["onClick"];function LU(e,t,n,r,o,s){const i=T("mdicon"),l=T("list-item-queue-item"),a=T("draggable"),u=T("modal-dialog-queue-item"),c=T("modal-dialog-add-url-stream"),d=T("modal-dialog-playlist-save"),f=T("content-with-heading");return A(),D("div",null,[b(f,null,{"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(e.$t("page.queue.title"))},null,8,bU),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.queue.count",{count:s.queue.count}))},null,8,CU)]),"heading-right":P(()=>[m("div",wU,[m("button",{class:Te(["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))},[b(i,{class:"icon",name:"arrow-collapse-down",size:"16"}),m("span",{textContent:y(e.$t("page.queue.hide-previous"))},null,8,SU)],2),m("button",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>s.open_add_stream_dialog&&s.open_add_stream_dialog(...p))},[b(i,{class:"icon",name:"web",size:"16"}),m("span",{textContent:y(e.$t("page.queue.add-stream"))},null,8,xU)]),m("button",{class:Te(["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)},[b(i,{class:"icon",name:"pencil",size:"16"}),m("span",{textContent:y(e.$t("page.queue.edit"))},null,8,EU)],10,kU),m("button",{class:"button is-small",disabled:s.queue_items.length===0,onClick:t[3]||(t[3]=(...p)=>s.queue_clear&&s.queue_clear(...p))},[b(i,{class:"icon",name:"delete-empty",size:"16"}),m("span",{textContent:y(e.$t("page.queue.clear"))},null,8,AU)],8,TU),s.is_queue_save_allowed?(A(),D("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))},[b(i,{class:"icon",name:"content-save",size:"16"}),m("span",{textContent:y(e.$t("page.queue.save"))},null,8,OU)],8,$U)):ie("",!0)])]),content:P(()=>[b(a,{modelValue:s.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>s.queue_items=p),"item-key":"id",onEnd:s.move_item},{item:P(({element:p,index:h})=>[b(l,{item:p,position:h,current_position:s.current_position,show_only_next_items:s.show_only_next_items,edit_mode:o.edit_mode},{actions:P(()=>[o.edit_mode?ie("",!0):(A(),D("a",{key:0,onClick:wt(_=>s.open_dialog(p),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,PU)),p.id!==s.player.item_id&&o.edit_mode?(A(),D("a",{key:1,onClick:wt(_=>s.remove(p),["prevent","stop"])},[b(i,{class:"icon has-text-grey",name:"delete",size:"18"})],8,IU)):ie("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),b(u,{show:o.show_details_modal,item:o.selected_item,onClose:t[6]||(t[6]=p=>o.show_details_modal=!1)},null,8,["show","item"]),b(c,{show:o.show_url_modal,onClose:t[7]||(t[7]=p=>o.show_url_modal=!1)},null,8,["show"]),s.is_queue_save_allowed?(A(),ve(d,{key:0,show:o.show_pls_save_modal,onClose:t[8]||(t[8]=p=>o.show_pls_save_modal=!1)},null,8,["show"])):ie("",!0)]),_:1})])}const NU=ae(vU,[["render",LU]]),Wh={load(e){return W.library_radio_streams()},set(e,t){e.tracks=new ke(t.data.tracks)}},DU={name:"PageRadioStreams",components:{ContentWithHeading:et,ListTracks:Cn},beforeRouteEnter(e,t,n){Wh.load(e).then(r=>{n(o=>Wh.set(o,r))})},data(){return{tracks:new ke}}},RU=["textContent"],MU=["textContent"];function FU(e,t,n,r,o,s){const i=T("list-tracks"),l=T("content-with-heading");return A(),D("div",null,[b(l,null,{"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(e.$t("page.radio.title"))},null,8,RU),m("div",{class:"is-size-7 is-uppercase",textContent:y(e.$t("page.radio.count",{count:o.tracks.total}))},null,8,MU)]),content:P(()=>[b(i,{items:o.tracks},null,8,["items"])]),_:1})])}const VU=ae(DU,[["render",FU]]),HU={name:"TabsSearch",emits:["search-library","search-spotify"],setup(){return{servicesStore:Pt()}},computed:{spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},UU={key:0,class:"section"},jU={class:"container"},WU={class:"columns is-centered"},BU={class:"column is-four-fifths"},qU={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},GU=["textContent"],KU=["textContent"];function ZU(e,t,n,r,o,s){const i=T("mdicon");return s.spotify_enabled?(A(),D("section",UU,[m("div",jU,[m("div",WU,[m("div",BU,[m("div",qU,[m("ul",null,[m("li",{class:Te({"is-active":e.$route.name==="search-library"})},[m("a",{onClick:t[0]||(t[0]=l=>e.$emit("search-library"))},[b(i,{class:"icon is-small",name:"bookshelf",size:"16"}),m("span",{textContent:y(e.$t("page.search.tabs.library"))},null,8,GU)])],2),m("li",{class:Te({"is-active":e.$route.name==="search-spotify"})},[m("a",{onClick:t[1]||(t[1]=l=>e.$emit("search-spotify"))},[b(i,{class:"icon is-small",name:"spotify",size:"16"}),m("span",{textContent:y(e.$t("page.search.tabs.spotify"))},null,8,KU)])],2)])])])])])])):ie("",!0)}const N1=ae(HU,[["render",ZU]]),gc=3,yc=["track","artist","album","composer","playlist","audiobook","podcast"],YU={name:"PageSearchLibrary",components:{ContentWithHeading:et,ListAlbums:kn,ListArtists:Sl,ListComposers:hd,ListPlaylists:xl,ListTracks:Cn,TabsSearch:N1},setup(){return{searchStore:dm()}},data(){return{components:{album:kn.name,artist:Sl.name,audiobook:kn.name,composer:hd.name,playlist:xl.name,podcast:kn.name,track:Cn.name},results:new Map,search_limit:{},search_query:"",search_types:yc}},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=gc,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=yc,this.search_limit=gc,this.search()},remove_search(e){this.searchStore.remove(e)},reset(){this.results.clear(),this.search_types.forEach(e=>{this.results.set(e,new ke)})},search(e){if(e&&(this.search_types=yc,this.search_limit=gc),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}`,W.search(r).then(({data:o})=>{this.results.set(e,new ke(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}}},XU={class:"section pb-0"},JU={class:"container"},QU={class:"columns is-centered"},ej={class:"column is-four-fifths"},tj={class:"field"},nj={class:"control has-icons-left"},rj=["placeholder"],oj=["textContent"],sj={class:"field is-grouped is-grouped-multiline mt-4"},ij={class:"tags has-addons"},aj=["onClick","textContent"],lj=["onClick"],uj=["textContent"],cj={key:0,class:"level"},dj={class:"level-item"},mj=["onClick","textContent"],fj={key:1,class:"has-text-centered-mobile"},pj=["textContent"];function hj(e,t,n,r,o,s){const i=T("mdicon"),l=T("i18n-t"),a=T("tabs-search"),u=T("content-with-heading");return A(),D(ze,null,[m("section",XU,[m("div",JU,[m("div",QU,[m("div",ej,[m("form",{onSubmit:t[1]||(t[1]=wt((...c)=>s.search&&s.search(...c),["prevent"]))},[m("div",tj,[m("p",nj,[Bt(m("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=c=>o.search_query=c),class:"input is-rounded",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,rj),[[bn,o.search_query]]),b(i,{class:"icon is-left",name:"magnify",size:"16"})]),b(l,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:P(()=>t[2]||(t[2]=[m("code",null,"query:",-1)])),help:P(()=>[m("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:y(e.$t("page.search.expression"))},null,8,oj)]),_:1})])],32),m("div",sj,[(A(!0),D(ze,null,Ct(s.recent_searches,c=>(A(),D("div",{key:c,class:"control"},[m("div",ij,[m("a",{class:"tag",onClick:d=>s.open_search(c),textContent:y(c)},null,8,aj),m("a",{class:"tag is-delete",onClick:d=>s.remove_search(c)},null,8,lj)])]))),128))])])])])]),b(a,{onSearchLibrary:s.search,onSearchSpotify:s.search_spotify},null,8,["onSearchLibrary","onSearchSpotify"]),(A(!0),D(ze,null,Ct(o.results,([c,d])=>(A(),ve(u,{key:c},Uo({"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t(`page.search.${c}s`))},null,8,uj)]),content:P(()=>[(A(),ve(Yl(o.components[c]),{items:d},null,8,["items"]))]),_:2},[s.expanded?void 0:{name:"footer",fn:P(()=>[s.show_all_button(d)?(A(),D("nav",cj,[m("p",dj,[m("a",{class:"button is-small is-rounded",onClick:f=>s.expand(c),textContent:y(e.$t(`page.search.show-${c}s`,d.total,{count:e.$filters.number(d.total)}))},null,8,mj)])])):ie("",!0),d.total?ie("",!0):(A(),D("p",fj,[m("i",{textContent:y(e.$t("page.search.no-results"))},null,8,pj)]))]),key:"0"}]),1024))),128))],64)}const _j=ae(YU,[["render",hj]]),gj={name:"ListArtistsSpotify",components:{ModalDialogArtistSpotify:g1},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}}},yj=["onClick"],zj=["textContent"],vj={class:"media-right"},bj=["onClick"];function Cj(e,t,n,r,o,s){const i=T("mdicon"),l=T("modal-dialog-artist-spotify");return A(),D(ze,null,[(A(!0),D(ze,null,Ct(n.items,a=>(A(),D("div",{key:a.id,class:"media is-align-items-center mb-0"},[m("div",{class:"media-content is-clickable",onClick:u=>s.open(a)},[m("p",{class:"title is-6",textContent:y(a.name)},null,8,zj)],8,yj),m("div",vj,[m("a",{onClick:wt(u=>s.open_dialog(a),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,bj)])]))),128)),(A(),ve(Bn,{to:"#app"},[b(l,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=a=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Bh=ae(gj,[["render",Cj]]),zc=3,vc=50,bc=["track","artist","album","playlist"],wj={name:"PageSearchSpotify",components:{ContentWithHeading:et,ListAlbumsSpotify:ji,ListArtistsSpotify:Bh,ListPlaylistsSpotify:kl,ListTracksSpotify:wl,TabsSearch:N1,VueEternalLoading:Cm},setup(){return{searchStore:dm()}},data(){return{components:{album:ji.name,artist:Bh.name,playlist:kl.name,track:wl.name},results:new Map,search_parameters:{},search_query:"",search_types:bc}},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=zc,this.search()},methods:{expand(e){this.search_query=this.searchStore.search_query,this.search_types=[e],this.search_parameters.limit=vc,this.search_parameters.offset=0,this.search()},open_search(e){this.search_query=e,this.search_types=bc,this.search_parameters.limit=zc,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=bc,this.search_parameters.limit=zc),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 W.spotify().then(({data:e})=>{this.search_parameters.market=e.webapi_country;const t=new cr;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=vc,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,vc)})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},Sj={class:"section pb-0"},xj={class:"container"},kj={class:"columns is-centered"},Ej={class:"column is-four-fifths"},Tj={class:"field"},Aj={class:"control has-icons-left"},$j=["placeholder"],Oj={class:"field is-grouped is-grouped-multiline mt-4"},Pj={class:"tags has-addons"},Ij=["onClick","textContent"],Lj=["onClick"],Nj=["textContent"],Dj={class:"columns is-centered"},Rj={class:"column has-text-centered"},Mj={key:0,class:"level"},Fj={class:"level-item"},Vj=["onClick","textContent"],Hj={key:1,class:"has-text-centered-mobile"},Uj=["textContent"];function jj(e,t,n,r,o,s){const i=T("mdicon"),l=T("tabs-search"),a=T("VueEternalLoading"),u=T("content-with-heading");return A(),D(ze,null,[m("section",Sj,[m("div",xj,[m("div",kj,[m("div",Ej,[m("form",{onSubmit:t[1]||(t[1]=wt((...c)=>s.search&&s.search(...c),["prevent"]))},[m("div",Tj,[m("p",Aj,[Bt(m("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=c=>o.search_query=c),class:"input is-rounded",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,$j),[[bn,o.search_query]]),b(i,{class:"icon is-left",name:"magnify",size:"16"})])])],32),m("div",Oj,[(A(!0),D(ze,null,Ct(s.recent_searches,c=>(A(),D("div",{key:c,class:"control"},[m("div",Pj,[m("a",{class:"tag",onClick:d=>s.open_search(c),textContent:y(c)},null,8,Ij),m("a",{class:"tag is-delete",onClick:d=>s.remove_search(c)},null,8,Lj)])]))),128))])])])])]),b(l,{onSearchLibrary:s.search_library,onSearchSpotify:s.search},null,8,["onSearchLibrary","onSearchSpotify"]),(A(!0),D(ze,null,Ct(o.results,([c,d])=>(A(),ve(u,{key:c},Uo({"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t(`page.spotify.search.${c}s`))},null,8,Nj)]),content:P(()=>[(A(),ve(Yl(o.components[c]),{items:d.items},null,8,["items"])),s.expanded?(A(),ve(a,{key:0,load:s.search_next},{loading:P(()=>[m("div",Dj,[m("div",Rj,[b(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":P(()=>t[2]||(t[2]=[m("br",null,null,-1)])),_:1},8,["load"])):ie("",!0)]),_:2},[s.expanded?void 0:{name:"footer",fn:P(()=>[s.show_all_button(d)?(A(),D("nav",Mj,[m("p",Fj,[m("a",{class:"button is-small is-rounded",onClick:f=>s.expand(c),textContent:y(e.$t(`page.spotify.search.show-${c}s`,d.total,{count:e.$filters.number(d.total)}))},null,8,Vj)])])):ie("",!0),d.total?ie("",!0):(A(),D("p",Hj,[m("i",{textContent:y(e.$t("page.spotify.search.no-results"))},null,8,Uj)]))]),key:"0"}]),1024))),128))],64)}const Wj=ae(wj,[["render",jj]]),Bj={name:"SettingsCheckbox",components:{ControlSwitch:jo},props:{category:{required:!0,type:String},name:{required:!0,type:String}},setup(){return{settingsStore:ur()}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{isError(){return this.statusUpdate==="error"},isSuccess(){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:{clearStatus(){this.is_error&&(this.setting.value=!this.setting.value),this.statusUpdate=""},update(){this.timerId=-1;const e={category:this.category,name:this.name,value:this.setting.value};W.settings_update(this.category,e).then(()=>{this.settingsStore.update(e),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error"}).finally(()=>{this.timerId=window.setTimeout(this.clearStatus,this.timerDelay)})}}};function qj(e,t,n,r,o,s){const i=T("mdicon"),l=T("control-switch");return A(),ve(l,{modelValue:s.setting.value,"onUpdate:modelValue":[t[0]||(t[0]=a=>s.setting.value=a),s.update]},{label:P(()=>[mt(e.$slots,"label")]),info:P(()=>[s.isSuccess?(A(),ve(i,{key:0,class:"icon has-text-info",name:"check",size:"16"})):ie("",!0),s.isError?(A(),ve(i,{key:1,class:"icon has-text-danger",name:"close",size:"16"})):ie("",!0)]),_:3},8,["modelValue","onUpdate:modelValue"])}const D1=ae(Bj,[["render",qj]]),Gj={name:"TabsSettings"},Kj={class:"section fd-tabs-section"},Zj={class:"container"},Yj={class:"columns is-centered"},Xj={class:"column is-four-fifths"},Jj={class:"tabs is-centered is-small"},Qj=["onClick","onKeypress"],eW=["textContent"],tW=["onClick","onKeypress"],nW=["textContent"],rW=["onClick","onKeypress"],oW=["textContent"],sW=["onClick","onKeypress"],iW=["textContent"];function aW(e,t,n,r,o,s){const i=T("router-link");return A(),D("section",Kj,[m("div",Zj,[m("div",Yj,[m("div",Xj,[m("div",Jj,[m("ul",null,[b(i,{to:{name:"settings-webinterface"},custom:""},{default:P(({navigate:l,isActive:a})=>[m("li",{class:Te({"is-active":a})},[m("a",{onClick:l,onKeypress:gn(l,["enter"])},[m("span",{textContent:y(e.$t("page.settings.tabs.general"))},null,8,eW)],40,Qj)],2)]),_:1}),b(i,{to:{name:"settings-remotes-outputs"},custom:""},{default:P(({navigate:l,isActive:a})=>[m("li",{class:Te({"is-active":a})},[m("a",{onClick:l,onKeypress:gn(l,["enter"])},[m("span",{textContent:y(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,nW)],40,tW)],2)]),_:1}),b(i,{to:{name:"settings-artwork"},custom:""},{default:P(({navigate:l,isActive:a})=>[m("li",{class:Te({"is-active":a})},[m("a",{onClick:l,onKeypress:gn(l,["enter"])},[m("span",{textContent:y(e.$t("page.settings.tabs.artwork"))},null,8,oW)],40,rW)],2)]),_:1}),b(i,{to:{name:"settings-online-services"},custom:""},{default:P(({navigate:l,isActive:a})=>[m("li",{class:Te({"is-active":a})},[m("a",{onClick:l,onKeypress:gn(l,["enter"])},[m("span",{textContent:y(e.$t("page.settings.tabs.online-services"))},null,8,iW)],40,sW)],2)]),_:1})])])])])])])}const xu=ae(Gj,[["render",aW]]),lW={name:"PageSettingsArtwork",components:{ContentWithHeading:et,SettingsCheckbox:D1,TabsSettings:xu},setup(){return{servicesStore:Pt()}},computed:{spotify(){return this.servicesStore.spotify}}},uW=["textContent"],cW=["textContent"],dW=["textContent"],mW=["textContent"],fW=["textContent"],pW=["textContent"],hW={href:"https://www.spotify.com/",target:"_blank"},_W={class:"icon"},gW=["textContent"],yW={href:"https://www.discogs.com/",target:"_blank"},zW={class:"icon"},vW=["textContent"],bW={href:"https://coverartarchive.org/",target:"_blank"},CW={class:"icon"};function wW(e,t,n,r,o,s){const i=T("tabs-settings"),l=T("settings-checkbox"),a=T("mdicon"),u=T("content-with-heading");return A(),D("div",null,[b(i),b(u,null,{"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(e.$t("page.settings.artwork.title"))},null,8,uW)]),content:P(()=>[m("div",{class:"content",textContent:y(e.$t("page.settings.artwork.explanation-1"))},null,8,cW),b(l,{category:"artwork",name:"streamurl_ignore"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.artwork.streaming"))},null,8,dW)]),_:1}),b(l,{category:"artwork",name:"show_cover_artwork_in_album_lists"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.artwork.show-coverart"))},null,8,mW)]),_:1}),m("div",{class:"content",textContent:y(e.$t("page.settings.artwork.explanation-2"))},null,8,fW),s.spotify.spotify_logged_in?(A(),ve(l,{key:0,category:"artwork",name:"use_artwork_source_spotify"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.artwork.spotify"))},null,8,pW),m("a",hW,[m("span",_W,[b(a,{name:"open-in-new",size:"16"})])])]),_:1})):ie("",!0),b(l,{category:"artwork",name:"use_artwork_source_discogs"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.artwork.discogs"))},null,8,gW),m("a",yW,[m("span",zW,[b(a,{name:"open-in-new",size:"16"})])])]),_:1}),b(l,{category:"artwork",name:"use_artwork_source_coverartarchive"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.artwork.coverartarchive"))},null,8,vW),m("a",bW,[m("span",CW,[b(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const SW=ae(lW,[["render",wW]]),xW={name:"PageSettingsOnlineServices",components:{ContentWithHeading:et,TabsSettings:xu},setup(){return{servicesStore:Pt()}},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(){W.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(){W.lastfm_logout()},logout_spotify(){W.spotify_logout()}}},kW=["textContent"],EW={key:0,class:"notification help"},TW=["textContent"],AW={key:1},$W=["textContent"],OW={class:"notification help"},PW=["textContent"],IW=["textContent"],LW={key:0},NW=["textContent"],DW=["textContent"],RW={key:1,class:"help is-danger"},MW=["textContent"],FW=["textContent"],VW={key:2,class:"field"},HW={class:"control"},UW=["href","textContent"],jW={key:3,class:"field"},WW={class:"control"},BW=["textContent"],qW=["textContent"],GW={key:0,class:"notification is-size-7"},KW=["textContent"],ZW={key:1},YW=["textContent"],XW={key:0},JW=["textContent"],QW={key:1},eB={class:"field is-grouped"},tB={class:"control"},nB=["placeholder"],rB=["textContent"],oB={class:"control"},sB=["placeholder"],iB=["textContent"],aB={class:"control"},lB=["textContent"],uB=["textContent"],cB=["textContent"];function dB(e,t,n,r,o,s){const i=T("tabs-settings"),l=T("content-with-heading");return A(),D("div",null,[b(i),b(l,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.settings.services.spotify.title"))},null,8,kW)]),content:P(()=>[s.spotify.spotify_installed?ie("",!0):(A(),D("div",EW,[m("p",{textContent:y(e.$t("page.settings.services.spotify.no-support"))},null,8,TW)])),s.spotify.spotify_installed?(A(),D("div",AW,[m("div",null,[m("p",{class:"content",textContent:y(e.$t("page.settings.services.spotify.grant-access"))},null,8,$W),m("div",OW,[m("p",{textContent:y(e.$t("page.settings.services.spotify.requirements"))},null,8,PW),m("p",{textContent:y(s.spotify_required_scope.join(", "))},null,8,IW)]),s.spotify.webapi_token_valid?(A(),D("p",LW,[m("span",{textContent:y(e.$t("page.settings.services.spotify.user"))},null,8,NW),m("code",{textContent:y(s.spotify.webapi_user)},null,8,DW)])):ie("",!0),s.spotify_missing_scope.length>0?(A(),D("p",RW,[m("span",{textContent:y(e.$t("page.settings.services.spotify.reauthorize"))},null,8,MW),m("code",{textContent:y(s.spotify_missing_scope.join())},null,8,FW)])):ie("",!0),!s.spotify.webapi_token_valid||s.spotify_missing_scope.length>0?(A(),D("div",VW,[m("div",HW,[m("a",{class:"button",href:s.spotify.oauth_uri,textContent:y(e.$t("page.settings.services.spotify.authorize"))},null,8,UW)])])):ie("",!0),s.spotify.webapi_token_valid?(A(),D("div",jW,[m("div",WW,[m("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...a)=>s.logout_spotify&&s.logout_spotify(...a)),textContent:y(e.$t("page.settings.services.logout"))},null,8,BW)])])):ie("",!0)])])):ie("",!0)]),_:1}),b(l,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.settings.services.lastfm.title"))},null,8,qW)]),content:P(()=>[s.lastfm.enabled?ie("",!0):(A(),D("div",GW,[m("p",{textContent:y(e.$t("page.settings.services.lastfm.no-support"))},null,8,KW)])),s.lastfm.enabled?(A(),D("div",ZW,[m("p",{class:"content",textContent:y(e.$t("page.settings.services.lastfm.grant-access"))},null,8,YW),s.lastfm.scrobbling_enabled?(A(),D("div",XW,[m("a",{class:"button is-danger",onClick:t[1]||(t[1]=(...a)=>s.logoutLastfm&&s.logoutLastfm(...a)),textContent:y(e.$t("page.settings.services.logout"))},null,8,JW)])):ie("",!0),s.lastfm.scrobbling_enabled?ie("",!0):(A(),D("div",QW,[m("form",{onSubmit:t[4]||(t[4]=wt((...a)=>s.login_lastfm&&s.login_lastfm(...a),["prevent"]))},[m("div",eB,[m("div",tB,[Bt(m("input",{"onUpdate:modelValue":t[2]||(t[2]=a=>o.lastfm_login.user=a),class:"input",type:"text",placeholder:e.$t("page.settings.services.username")},null,8,nB),[[bn,o.lastfm_login.user]]),m("p",{class:"help is-danger",textContent:y(o.lastfm_login.errors.user)},null,8,rB)]),m("div",oB,[Bt(m("input",{"onUpdate:modelValue":t[3]||(t[3]=a=>o.lastfm_login.password=a),class:"input",type:"password",placeholder:e.$t("page.settings.services.password")},null,8,sB),[[bn,o.lastfm_login.password]]),m("p",{class:"help is-danger",textContent:y(o.lastfm_login.errors.password)},null,8,iB)]),m("div",aB,[m("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.services.login"))},null,8,lB)])]),m("p",{class:"help is-danger",textContent:y(o.lastfm_login.errors.error)},null,8,uB),m("p",{class:"help",textContent:y(e.$t("page.settings.services.lastfm.info"))},null,8,cB)],32)]))])):ie("",!0)]),_:1})])}const mB=ae(xW,[["render",dB]]),fB={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:et,ControlSwitch:jo,TabsSettings:xu},setup(){return{outputsStore:cm(),remotesStore:Yd()}},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{outputs(){return this.outputsStore.outputs},pairing(){return this.remotesStore.pairing}},methods:{kickoff_pairing(){W.pairing_kickoff(this.pairing_req)},kickoff_verification(e){W.output_update(e,this.verification_req)},toggleOutput(e){W.output_toggle(e)}}},pB=["textContent"],hB={key:0},_B={class:"label has-text-weight-normal content"},gB=["textContent"],yB=["textContent"],zB={class:"field is-grouped"},vB={class:"control"},bB=["placeholder"],CB={class:"control"},wB=["textContent"],SB={key:1},xB=["textContent"],kB=["textContent"],EB=["textContent"],TB=["textContent"],AB=["onSubmit"],$B={class:"field is-grouped"},OB={class:"control"},PB=["placeholder"],IB={class:"control"},LB=["textContent"];function NB(e,t,n,r,o,s){const i=T("tabs-settings"),l=T("content-with-heading"),a=T("control-switch");return A(),D("div",null,[b(i),b(l,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.settings.devices.pairing"))},null,8,pB)]),content:P(()=>[s.pairing.active?(A(),D("div",hB,[m("form",{onSubmit:t[1]||(t[1]=wt((...u)=>s.kickoff_pairing&&s.kickoff_pairing(...u),["prevent"]))},[m("label",_B,[m("span",{textContent:y(e.$t("page.settings.devices.pairing-request"))},null,8,gB),m("b",{textContent:y(s.pairing.remote)},null,8,yB)]),m("div",zB,[m("div",vB,[Bt(m("input",{"onUpdate:modelValue":t[0]||(t[0]=u=>o.pairing_req.pin=u),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,bB),[[bn,o.pairing_req.pin]])]),m("div",CB,[m("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.devices.send"))},null,8,wB)])])],32)])):(A(),D("div",SB,[m("p",{textContent:y(e.$t("page.settings.devices.no-active-pairing"))},null,8,xB)]))]),_:1}),b(l,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.settings.devices.speaker-pairing"))},null,8,kB)]),content:P(()=>[m("p",{class:"content",textContent:y(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,EB),(A(!0),D(ze,null,Ct(s.outputs,u=>(A(),D("div",{key:u.id},[b(a,{modelValue:u.selected,"onUpdate:modelValue":[c=>u.selected=c,c=>s.toggleOutput(u.id)]},{label:P(()=>[m("span",{textContent:y(u.name)},null,8,TB)]),_:2},1032,["modelValue","onUpdate:modelValue"]),u.needs_auth_key?(A(),D("form",{key:0,class:"mb-5",onSubmit:wt(c=>s.kickoff_verification(u.id),["prevent"])},[m("div",$B,[m("div",OB,[Bt(m("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,PB),[[bn,o.verification_req.pin]])]),m("div",IB,[m("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.devices.verify"))},null,8,LB)])])],40,AB)):ie("",!0)]))),128))]),_:1})])}const DB=ae(fB,[["render",NB]]),RB={name:"SettingsIntfield",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:ur()}},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};W.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)})}}},MB=["disabled"],FB={class:"field"},VB={class:"label has-text-weight-normal"},HB=["textContent"],UB={class:"control"},jB=["placeholder","value"],WB={key:0,class:"help"};function BB(e,t,n,r,o,s){return A(),D("fieldset",{disabled:n.disabled},[m("div",FB,[m("label",VB,[mt(e.$slots,"label"),m("i",{class:Te(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:y(s.info)},null,10,HB)]),m("div",UB,[m("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,jB)]),e.$slots.info?(A(),D("p",WB,[mt(e.$slots,"info")])):ie("",!0)])],8,MB)}const qB=ae(RB,[["render",BB]]),GB={name:"SettingsTextfield",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:ur()}},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};W.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)})}}},KB=["disabled"],ZB={class:"field"},YB={class:"label has-text-weight-normal"},XB=["textContent"],JB={class:"control"},QB=["placeholder","value"],eq={key:0,class:"help"};function tq(e,t,n,r,o,s){return A(),D("fieldset",{disabled:n.disabled},[m("div",ZB,[m("label",YB,[mt(e.$slots,"label"),m("i",{class:Te(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:y(s.info)},null,10,XB)]),m("div",JB,[m("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,QB)]),e.$slots.info?(A(),D("p",eq,[mt(e.$slots,"info")])):ie("",!0)])],8,KB)}const nq=ae(GB,[["render",tq]]),rq={name:"PageSettingsWebinterface",components:{ContentWithHeading:et,ControlDropdown:Bo,SettingsCheckbox:D1,SettingsIntfield:qB,SettingsTextfield:nq,TabsSettings:xu},setup(){return{settingsStore:ur()}},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}`)}))}}}},oq=["textContent"],sq=["textContent"],iq=["textContent"],aq=["textContent"],lq=["textContent"],uq=["textContent"],cq=["textContent"],dq=["textContent"],mq=["textContent"],fq=["textContent"],pq=["textContent"],hq=["textContent"],_q=["textContent"],gq=["textContent"],yq=["textContent"],zq=["textContent"],vq=["textContent"],bq=["textContent"],Cq=["textContent"],wq=["textContent"],Sq=["textContent"];function xq(e,t,n,r,o,s){const i=T("tabs-settings"),l=T("control-dropdown"),a=T("content-with-heading"),u=T("settings-checkbox"),c=T("settings-textfield"),d=T("settings-intfield");return A(),D("div",null,[b(i),b(a,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.settings.general.language"))},null,8,oq)]),content:P(()=>[b(l,{value:s.locale,"onUpdate:value":t[0]||(t[0]=f=>s.locale=f),options:s.locales},null,8,["value","options"])]),_:1}),b(a,null,{"heading-left":P(()=>[m("p",{class:"title is-4 is-spaced",textContent:y(e.$t("page.settings.general.navigation-items"))},null,8,sq)]),content:P(()=>[m("p",{class:"content",textContent:y(e.$t("page.settings.general.navigation-item-selection"))},null,8,iq),m("div",{class:"notification is-size-7",textContent:y(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,aq),b(u,{category:"webinterface",name:"show_menu_item_playlists"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.general.playlists"))},null,8,lq)]),_:1}),b(u,{category:"webinterface",name:"show_menu_item_music"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.general.music"))},null,8,uq)]),_:1}),b(u,{category:"webinterface",name:"show_menu_item_podcasts"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.general.podcasts"))},null,8,cq)]),_:1}),b(u,{category:"webinterface",name:"show_menu_item_audiobooks"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.general.audiobooks"))},null,8,dq)]),_:1}),b(u,{category:"webinterface",name:"show_menu_item_radio"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.general.radio"))},null,8,mq)]),_:1}),b(u,{category:"webinterface",name:"show_menu_item_files"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.general.files"))},null,8,fq)]),_:1}),b(u,{category:"webinterface",name:"show_menu_item_search"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.general.search"))},null,8,pq)]),_:1})]),_:1}),b(a,null,{"heading-left":P(()=>[m("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.now-playing-page"))},null,8,hq)]),content:P(()=>[b(u,{category:"webinterface",name:"show_composer_now_playing"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.general.show-composer"))},null,8,_q)]),info:P(()=>[m("span",{textContent:y(e.$t("page.settings.general.show-composer-info"))},null,8,gq)]),_:1}),b(c,{category:"webinterface",name:"show_composer_for_genre",disabled:!r.settingsStore.show_composer_now_playing,placeholder:e.$t("page.settings.general.genres")},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.general.show-composer-genres"))},null,8,yq)]),info:P(()=>[m("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,zq),m("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,vq),m("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,bq)]),_:1},8,["disabled","placeholder"]),b(u,{category:"webinterface",name:"show_filepath_now_playing"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.general.show-path"))},null,8,Cq)]),_:1})]),_:1}),b(a,null,{"heading-left":P(()=>[m("p",{class:"title is-4",textContent:y(e.$t("page.settings.general.recently-added-page"))},null,8,wq)]),content:P(()=>[b(d,{category:"webinterface",name:"recently_added_limit"},{label:P(()=>[m("span",{textContent:y(e.$t("page.settings.general.recently-added-page-info"))},null,8,Sq)]),_:1})]),_:1})])}const kq=ae(rq,[["render",xq]]),qh=100,R1=U8({history:g8(),routes:[{path:"/:all(.*)*",redirect:"/"},{component:FP,name:"about",path:"/about"},{component:z3,meta:{show_progress:!0},name:"music-album",path:"/music/albums/:id"},{component:$N,meta:{show_progress:!0},name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:G6,meta:{has_index:!0,show_progress:!0},name:"music-albums",path:"/music/albums"},{component:T4,meta:{has_index:!0,show_progress:!0},name:"music-artist",path:"/music/artists/:id"},{component:pD,meta:{show_progress:!0},name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:t5,meta:{has_index:!0,show_progress:!0},name:"music-artists",path:"/music/artists"},{component:$D,meta:{has_index:!0,show_progress:!0},name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:c5,meta:{show_progress:!0},name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:T5,meta:{has_index:!0,show_progress:!0},name:"audiobooks-albums",path:"/audiobooks/albums"},{component:N5,meta:{show_progress:!0},name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:V5,meta:{has_index:!0,show_progress:!0},name:"audiobooks-artists",path:"/audiobooks/artists"},{component:gR,meta:{has_index:!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:G7,meta:{show_progress:!0},name:"music-history",path:"/music/history"},{component:X7,meta:{show_progress:!0},name:"music-recently-added",path:"/music/recently-added"},{component:tF,meta:{show_progress:!0},name:"music-recently-played",path:"/music/recently-played"},{component:LF,meta:{show_progress:!0},name:"music-spotify",path:"/music/spotify"},{component:MF,meta:{show_progress:!0},name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:UF,meta:{show_progress:!0},name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:WR,meta:{show_progress:!0},name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:nM,meta:{show_progress:!0},name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:gM,meta:{has_index:!0,show_progress:!0},name:"music-composers",path:"/music/composers"},{component:m7,meta:{show_progress:!0},name:"files",path:"/files"},{component:b7,meta:{has_index:!0,show_progress:!0},name:"genre-albums",path:"/genres/:name/albums"},{component:I7,meta:{has_index:!0,show_progress:!0},name:"genre-tracks",path:"/genres/:name/tracks"},{component:M7,meta:{has_index:!0,show_progress:!0},name:"music-genres",path:"/music/genres"},{component:t9,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:i9,meta:{show_progress:!0},name:"playlist-folder",path:"/playlists/:id"},{component:f9,meta:{show_progress:!0},name:"playlist",path:"/playlists/:id/tracks"},{component:C9,meta:{show_progress:!0},name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:I9,meta:{show_progress:!0},name:"podcast",path:"/podcasts/:id"},{component:nH,meta:{show_progress:!0},name:"podcasts",path:"/podcasts"},{component:VU,meta:{show_progress:!0},name:"radio",path:"/radio"},{component:NU,name:"queue",path:"/"},{component:_j,name:"search-library",path:"/search/library"},{component:Wj,name:"search-spotify",path:"/search/spotify"},{component:kq,name:"settings-webinterface",path:"/settings/webinterface"},{component:SW,name:"settings-artwork",path:"/settings/artwork"},{component:mB,name:"settings-online-services",path:"/settings/online-services"},{component:DB,name:"settings-remotes-outputs",path:"/settings/remotes-outputs"}],scrollBehavior(e,t,n){return n?new Promise((o,s)=>{setTimeout(()=>{o(n)},0)}):e.path===t.path&&e.hash?{behavior:"smooth",el:e.hash,top:qh}:e.hash?new Promise((o,s)=>{setTimeout(()=>{o({el:e.hash,top:qh})},0)}):{left:0,top:0}}});R1.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 M1=dl(dA).use(zC()).use(R1).use(EA).use(fA).use(xA,{log:!1}).use(FO,{icons:OO}).use(cu);M1.config.globalProperties.$filters=$O;M1.mount("#app");
|