From 4fa4d7ca7a1694e0325acda829ebea3b966e4aae Mon Sep 17 00:00:00 2001 From: RemixDev Date: Tue, 10 Nov 2020 13:57:53 +0100 Subject: [PATCH] Added support for link.tospotify.com urls --- public/js/bundle.js | 8 ++++---- src/utils/utils.js | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/public/js/bundle.js b/public/js/bundle.js index 22147fb..39d8795 100644 --- a/public/js/bundle.js +++ b/public/js/bundle.js @@ -3,13 +3,13 @@ * (c) 2014-2020 Evan You * Released under the MIT License. */ -var e=Object.freeze({});function t(e){return null==e}function a(e){return null!=e}function n(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function r(e){return null!==e&&"object"==typeof e}var s=Object.prototype.toString;function o(e){return"[object Object]"===s.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function c(e){return a(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function d(e){return null==e?"":Array.isArray(e)||o(e)&&e.toString===s?JSON.stringify(e,null,2):String(e)}function u(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var a=Object.create(null),n=e.split(","),i=0;i-1)return e.splice(a,1)}}var g=Object.prototype.hasOwnProperty;function v(e,t){return g.call(e,t)}function b(e){var t=Object.create(null);return function(a){return t[a]||(t[a]=e(a))}}var y=/-(\w)/g,k=b((function(e){return e.replace(y,(function(e,t){return t?t.toUpperCase():""}))})),w=b((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),_=/\B([A-Z])/g,A=b((function(e){return e.replace(_,"-$1").toLowerCase()}));var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function a(a){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,a):e.call(t)}return a._length=e.length,a};function C(e,t){t=t||0;for(var a=e.length-t,n=new Array(a);a--;)n[a]=e[a+t];return n}function z(e,t){for(var a in t)e[a]=t[a];return e}function S(e){for(var t={},a=0;a0,Y=H&&H.indexOf("edge/")>0,Q=(H&&H.indexOf("android"),H&&/iphone|ipad|ipod|ios/.test(H)||"ios"===G),J=(H&&/chrome\/\d+/.test(H),H&&/phantomjs/.test(H),H&&H.match(/firefox\/(\d+)/)),Z={}.watch,X=!1;if(q)try{var ee={};Object.defineProperty(ee,"passive",{get:function(){X=!0}}),window.addEventListener("test-passive",null,ee)}catch(e){}var te=function(){return void 0===E&&(E=!q&&!V&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),E},ae=q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ne(e){return"function"==typeof e&&/native code/.test(e.toString())}var ie,re="undefined"!=typeof Symbol&&ne(Symbol)&&"undefined"!=typeof Reflect&&ne(Reflect.ownKeys);ie="undefined"!=typeof Set&&ne(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var se=T,oe=0,le=function(){this.id=oe++,this.subs=[]};le.prototype.addSub=function(e){this.subs.push(e)},le.prototype.removeSub=function(e){f(this.subs,e)},le.prototype.depend=function(){le.target&&le.target.addDep(this)},le.prototype.notify=function(){for(var e=this.subs.slice(),t=0,a=e.length;t-1)if(r&&!v(i,"default"))s=!1;else if(""===s||s===A(e)){var l=je(String,i.type);(l<0||o0&&(ct((o=dt(o,(r||"")+"_"+s))[0])&&ct(c)&&(d[l]=fe(c.text+o[0].text),o.shift()),d.push.apply(d,o)):i(o)?ct(c)?d[l]=fe(c.text+o):""!==o&&d.push(fe(o)):ct(o)&&ct(c)?d[l]=fe(c.text+o.text):(n(e._isVList)&&a(o.tag)&&t(o.key)&&a(r)&&(o.key="__vlist"+r+"_"+s+"__"),d.push(o)));return d}function ut(e,t){if(e){for(var a=Object.create(null),n=re?Reflect.ownKeys(e):Object.keys(e),i=0;i0,s=t?!!t.$stable:!r,o=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&n&&n!==e&&o===n.$key&&!r&&!n.$hasNormal)return n;for(var l in i={},t)t[l]&&"$"!==l[0]&&(i[l]=ft(a,l,t[l]))}else i={};for(var c in a)c in i||(i[c]=gt(a,c));return t&&Object.isExtensible(t)&&(t._normalized=i),j(i,"$stable",s),j(i,"$key",o),j(i,"$hasNormal",r),i}function ft(e,t,a){var n=function(){var e=arguments.length?a.apply(null,arguments):a({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:lt(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return a.proxy&&Object.defineProperty(e,t,{get:n,enumerable:!0,configurable:!0}),n}function gt(e,t){return function(){return e[t]}}function vt(e,t){var n,i,s,o,l;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,s=e.length;idocument.createEvent("Event").timeStamp&&(ca=function(){return da.now()})}function ua(){var e,t;for(la=ca(),sa=!0,aa.sort((function(e,t){return e.id-t.id})),oa=0;oaoa&&aa[a].id>e.id;)a--;aa.splice(a+1,0,e)}else aa.push(e);ra||(ra=!0,Xe(ua))}}(this)},ma.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||r(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Oe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},ma.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ma.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},ma.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||f(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var ha={enumerable:!0,configurable:!0,get:T,set:T};function fa(e,t,a){ha.get=function(){return this[t][a]},ha.set=function(e){this[t][a]=e},Object.defineProperty(e,a,ha)}function ga(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var a=e.$options.propsData||{},n=e._props={},i=e.$options._propKeys=[];e.$parent&&we(!1);var r=function(r){i.push(r);var s=$e(r,t,a,e);xe(n,r,s),r in e||fa(e,"_props",r)};for(var s in t)r(s);we(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var a in t)e[a]="function"!=typeof t[a]?T:x(t[a],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;o(t=e._data="function"==typeof t?function(e,t){de();try{return e.call(t,t)}catch(e){return Oe(e,t,"data()"),{}}finally{ue()}}(t,e):t||{})||(t={});var a=Object.keys(t),n=e.$options.props,i=(e.$options.methods,a.length);for(;i--;){var r=a[i];n&&v(n,r)||R(r)||fa(e,"_data",r)}Ae(t,!0)}(e):Ae(e._data={},!0),t.computed&&function(e,t){var a=e._computedWatchers=Object.create(null),n=te();for(var i in t){var r=t[i],s="function"==typeof r?r:r.get;n||(a[i]=new ma(e,s||T,T,va)),i in e||ba(e,i,r)}}(e,t.computed),t.watch&&t.watch!==Z&&function(e,t){for(var a in t){var n=t[a];if(Array.isArray(n))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(a=e,"[object RegExp]"===s.call(a)&&e.test(t));var a}function Ta(e,t){var a=e.cache,n=e.keys,i=e._vnode;for(var r in a){var s=a[r];if(s){var o=za(s.componentOptions);o&&!t(o)&&Ma(a,r,n,i)}}}function Ma(e,t,a,n){var i=e[t];!i||n&&i.tag===n.tag||i.componentInstance.$destroy(),e[t]=null,f(a,t)}!function(t){t.prototype._init=function(t){var a=this;a._uid=_a++,a._isVue=!0,t&&t._isComponent?function(e,t){var a=e.$options=Object.create(e.constructor.options),n=t._parentVnode;a.parent=t.parent,a._parentVnode=n;var i=n.componentOptions;a.propsData=i.propsData,a._parentListeners=i.listeners,a._renderChildren=i.children,a._componentTag=i.tag,t.render&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns)}(a,t):a.$options=Le(Aa(a.constructor),t||{},a),a._renderProxy=a,a._self=a,function(e){var t=e.$options,a=t.parent;if(a&&!t.abstract){for(;a.$options.abstract&&a.$parent;)a=a.$parent;a.$children.push(e)}e.$parent=a,e.$root=a?a.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(a),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Yt(e,t)}(a),function(t){t._vnode=null,t._staticTrees=null;var a=t.$options,n=t.$vnode=a._parentVnode,i=n&&n.context;t.$slots=pt(a._renderChildren,i),t.$scopedSlots=e,t._c=function(e,a,n,i){return jt(t,e,a,n,i,!1)},t.$createElement=function(e,a,n,i){return jt(t,e,a,n,i,!0)};var r=n&&n.data;xe(t,"$attrs",r&&r.attrs||e,null,!0),xe(t,"$listeners",a._parentListeners||e,null,!0)}(a),ta(a,"beforeCreate"),function(e){var t=ut(e.$options.inject,e);t&&(we(!1),Object.keys(t).forEach((function(a){xe(e,a,t[a])})),we(!0))}(a),ga(a),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(a),ta(a,"created"),a.$options.el&&a.$mount(a.$options.el)}}(xa),function(e){var t={get:function(){return this._data}},a={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",a),e.prototype.$set=Ce,e.prototype.$delete=ze,e.prototype.$watch=function(e,t,a){var n=this;if(o(t))return wa(n,e,t,a);(a=a||{}).user=!0;var i=new ma(n,e,t,a);if(a.immediate)try{t.call(n,i.value)}catch(e){Oe(e,n,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(xa),function(e){var t=/^hook:/;e.prototype.$on=function(e,a){var n=this;if(Array.isArray(e))for(var i=0,r=e.length;i1?C(a):a;for(var n=C(arguments,1),i='event handler for "'+e+'"',r=0,s=a.length;rparseInt(this.max)&&Ma(s,o[0],o,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return $}};Object.defineProperty(e,"config",t),e.util={warn:se,extend:z,mergeOptions:Le,defineReactive:xe},e.set=Ce,e.delete=ze,e.nextTick=Xe,e.observable=function(e){return Ae(e),e},e.options=Object.create(null),L.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,z(e.options.components,Pa),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var a=C(arguments,1);return a.unshift(this),"function"==typeof e.install?e.install.apply(e,a):"function"==typeof e&&e.apply(null,a),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Le(this.options,e),this}}(e),Ca(e),function(e){L.forEach((function(t){e[t]=function(e,a){return a?("component"===t&&o(a)&&(a.name=a.name||e,a=this.options._base.extend(a)),"directive"===t&&"function"==typeof a&&(a={bind:a,update:a}),this.options[t+"s"][e]=a,a):this.options[t+"s"][e]}}))}(e)}(xa),Object.defineProperty(xa.prototype,"$isServer",{get:te}),Object.defineProperty(xa.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xa,"FunctionalRenderContext",{value:Dt}),xa.version="2.6.12";var Da=p("style,class"),Na=p("input,textarea,option,select,progress"),La=function(e,t,a){return"value"===a&&Na(e)&&"button"!==t||"selected"===a&&"option"===e||"checked"===a&&"input"===e||"muted"===a&&"video"===e},Ua=p("contenteditable,draggable,spellcheck"),$a=p("events,caret,typing,plaintext-only"),Ia=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ra="http://www.w3.org/1999/xlink",ja=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Oa=function(e){return ja(e)?e.slice(6,e.length):""},Ea=function(e){return null==e||!1===e};function Ba(e){for(var t=e.data,n=e,i=e;a(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=qa(i.data,t));for(;a(n=n.parent);)n&&n.data&&(t=qa(t,n.data));return function(e,t){if(a(e)||a(t))return Va(e,Ga(t));return""}(t.staticClass,t.class)}function qa(e,t){return{staticClass:Va(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function Va(e,t){return e?t?e+" "+t:e:t||""}function Ga(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,r=e.length;i-1?vn(e,t,a):Ia(t)?Ea(a)?e.removeAttribute(t):(a="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,a)):Ua(t)?e.setAttribute(t,function(e,t){return Ea(t)||"false"===t?"false":"contenteditable"===e&&$a(t)?t:"true"}(t,a)):ja(t)?Ea(a)?e.removeAttributeNS(Ra,Oa(t)):e.setAttributeNS(Ra,t,a):vn(e,t,a)}function vn(e,t,a){if(Ea(a))e.removeAttribute(t);else{if(W&&!K&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==a&&!e.__ieph){var n=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",n)};e.addEventListener("input",n),e.__ieph=!0}e.setAttribute(t,a)}}var bn={create:fn,update:fn};function yn(e,n){var i=n.elm,r=n.data,s=e.data;if(!(t(r.staticClass)&&t(r.class)&&(t(s)||t(s.staticClass)&&t(s.class)))){var o=Ba(n),l=i._transitionClasses;a(l)&&(o=Va(o,Ga(l))),o!==i._prevClass&&(i.setAttribute("class",o),i._prevClass=o)}}var kn,wn,_n,An,xn,Cn,zn={create:yn,update:yn},Sn=/[\w).+\-_$\]]/;function Tn(e){var t,a,n,i,r,s=!1,o=!1,l=!1,c=!1,d=0,u=0,p=0,m=0;for(n=0;n=0&&" "===(f=e.charAt(h));h--);f&&Sn.test(f)||(c=!0)}}else void 0===i?(m=n+1,i=e.slice(0,n).trim()):g();function g(){(r||(r=[])).push(e.slice(m,n).trim()),m=n+1}if(void 0===i?i=e.slice(0,n).trim():0!==m&&g(),r)for(n=0;n-1?{exp:e.slice(0,An),key:'"'+e.slice(An+1)+'"'}:{exp:e,key:null};wn=e,An=xn=Cn=0;for(;!Gn();)Hn(_n=Vn())?Kn(_n):91===_n&&Wn(_n);return{exp:e.slice(0,xn),key:e.slice(xn+1,Cn)}}(e);return null===a.key?e+"="+t:"$set("+a.exp+", "+a.key+", "+t+")"}function Vn(){return wn.charCodeAt(++An)}function Gn(){return An>=kn}function Hn(e){return 34===e||39===e}function Wn(e){var t=1;for(xn=An;!Gn();)if(Hn(e=Vn()))Kn(e);else if(91===e&&t++,93===e&&t--,0===t){Cn=An;break}}function Kn(e){for(var t=e;!Gn()&&(e=Vn())!==t;);}var Yn;function Qn(e,t,a){var n=Yn;return function i(){var r=t.apply(null,arguments);null!==r&&Xn(e,i,a,n)}}var Jn=Ge&&!(J&&Number(J[1])<=53);function Zn(e,t,a,n){if(Jn){var i=la,r=t;t=r._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return r.apply(this,arguments)}}Yn.addEventListener(e,t,X?{capture:a,passive:n}:a)}function Xn(e,t,a,n){(n||Yn).removeEventListener(e,t._wrapper||t,a)}function ei(e,n){if(!t(e.data.on)||!t(n.data.on)){var i=n.data.on||{},r=e.data.on||{};Yn=n.elm,function(e){if(a(e.__r)){var t=W?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}a(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(i),rt(i,r,Zn,Xn,Qn,n.context),Yn=void 0}}var ti,ai={create:ei,update:ei};function ni(e,n){if(!t(e.data.domProps)||!t(n.data.domProps)){var i,r,s=n.elm,o=e.data.domProps||{},l=n.data.domProps||{};for(i in a(l.__ob__)&&(l=n.data.domProps=z({},l)),o)i in l||(s[i]="");for(i in l){if(r=l[i],"textContent"===i||"innerHTML"===i){if(n.children&&(n.children.length=0),r===o[i])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===i&&"PROGRESS"!==s.tagName){s._value=r;var c=t(r)?"":String(r);ii(s,c)&&(s.value=c)}else if("innerHTML"===i&&Ka(s.tagName)&&t(s.innerHTML)){(ti=ti||document.createElement("div")).innerHTML=""+r+"";for(var d=ti.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;d.firstChild;)s.appendChild(d.firstChild)}else if(r!==o[i])try{s[i]=r}catch(e){}}}}function ii(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var a=!0;try{a=document.activeElement!==e}catch(e){}return a&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(a(i)){if(i.number)return u(n)!==u(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ri={create:ni,update:ni},si=b((function(e){var t={},a=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var n=e.split(a);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function oi(e){var t=li(e.style);return e.staticStyle?z(e.staticStyle,t):t}function li(e){return Array.isArray(e)?S(e):"string"==typeof e?si(e):e}var ci,di=/^--/,ui=/\s*!important$/,pi=function(e,t,a){if(di.test(t))e.style.setProperty(t,a);else if(ui.test(a))e.style.setProperty(A(t),a.replace(ui,""),"important");else{var n=hi(t);if(Array.isArray(a))for(var i=0,r=a.length;i-1?t.split(vi).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var a=" "+(e.getAttribute("class")||"")+" ";a.indexOf(" "+t+" ")<0&&e.setAttribute("class",(a+t).trim())}}function yi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(vi).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var a=" "+(e.getAttribute("class")||"")+" ",n=" "+t+" ";a.indexOf(n)>=0;)a=a.replace(n," ");(a=a.trim())?e.setAttribute("class",a):e.removeAttribute("class")}}function ki(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&z(t,wi(e.name||"v")),z(t,e),t}return"string"==typeof e?wi(e):void 0}}var wi=b((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),_i=q&&!K,Ai="transition",xi="transitionend",Ci="animation",zi="animationend";_i&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ai="WebkitTransition",xi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ci="WebkitAnimation",zi="webkitAnimationEnd"));var Si=q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ti(e){Si((function(){Si(e)}))}function Mi(e,t){var a=e._transitionClasses||(e._transitionClasses=[]);a.indexOf(t)<0&&(a.push(t),bi(e,t))}function Fi(e,t){e._transitionClasses&&f(e._transitionClasses,t),yi(e,t)}function Pi(e,t,a){var n=Ni(e,t),i=n.type,r=n.timeout,s=n.propCount;if(!i)return a();var o="transition"===i?xi:zi,l=0,c=function(){e.removeEventListener(o,d),a()},d=function(t){t.target===e&&++l>=s&&c()};setTimeout((function(){l0&&(a="transition",d=s,u=r.length):"animation"===t?c>0&&(a="animation",d=c,u=l.length):u=(a=(d=Math.max(s,c))>0?s>c?"transition":"animation":null)?"transition"===a?r.length:l.length:0,{type:a,timeout:d,propCount:u,hasTransform:"transition"===a&&Di.test(n[Ai+"Property"])}}function Li(e,t){for(;e.length1}function Oi(e,t){!0!==t.data.show&&$i(t)}var Ei=function(e){var r,s,o={},l=e.modules,c=e.nodeOps;for(r=0;rh?y(e,t(i[v+1])?null:i[v+1].elm,i,m,v,r):m>v&&w(n,p,h)}(p,f,v,r,d):a(v)?(a(e.text)&&c.setTextContent(p,""),y(p,null,v,0,v.length-1,r)):a(f)?w(f,0,f.length-1):a(e.text)&&c.setTextContent(p,""):e.text!==i.text&&c.setTextContent(p,i.text),a(h)&&a(m=h.hook)&&a(m=m.postpatch)&&m(e,i)}}}function C(e,t,i){if(n(i)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,s.selected!==r&&(s.selected=r);else if(P(Hi(s),n))return void(e.selectedIndex!==o&&(e.selectedIndex=o));i||(e.selectedIndex=-1)}}function Gi(e,t){return t.every((function(t){return!P(t,e)}))}function Hi(e){return"_value"in e?e._value:e.value}function Wi(e){e.target.composing=!0}function Ki(e){e.target.composing&&(e.target.composing=!1,Yi(e.target,"input"))}function Yi(e,t){var a=document.createEvent("HTMLEvents");a.initEvent(t,!0,!0),e.dispatchEvent(a)}function Qi(e){return!e.componentInstance||e.data&&e.data.transition?e:Qi(e.componentInstance._vnode)}var Ji={model:Bi,show:{bind:function(e,t,a){var n=t.value,i=(a=Qi(a)).data&&a.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;n&&i?(a.data.show=!0,$i(a,(function(){e.style.display=r}))):e.style.display=n?r:"none"},update:function(e,t,a){var n=t.value;!n!=!t.oldValue&&((a=Qi(a)).data&&a.data.transition?(a.data.show=!0,n?$i(a,(function(){e.style.display=e.__vOriginalDisplay})):Ii(a,(function(){e.style.display="none"}))):e.style.display=n?e.__vOriginalDisplay:"none")},unbind:function(e,t,a,n,i){i||(e.style.display=e.__vOriginalDisplay)}}},Zi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Xi(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Xi(Gt(t.children)):e}function er(e){var t={},a=e.$options;for(var n in a.propsData)t[n]=e[n];var i=a._parentListeners;for(var r in i)t[k(r)]=i[r];return t}function tr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ar=function(e){return e.tag||Vt(e)},nr=function(e){return"show"===e.name},ir={name:"transition",props:Zi,abstract:!0,render:function(e){var t=this,a=this.$slots.default;if(a&&(a=a.filter(ar)).length){var n=this.mode,r=a[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;var s=Xi(r);if(!s)return r;if(this._leaving)return tr(e,r);var o="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?o+"comment":o+s.tag:i(s.key)?0===String(s.key).indexOf(o)?s.key:o+s.key:s.key;var l=(s.data||(s.data={})).transition=er(this),c=this._vnode,d=Xi(c);if(s.data.directives&&s.data.directives.some(nr)&&(s.data.show=!0),d&&d.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(s,d)&&!Vt(d)&&(!d.componentInstance||!d.componentInstance._vnode.isComment)){var u=d.data.transition=z({},l);if("out-in"===n)return this._leaving=!0,st(u,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),tr(e,r);if("in-out"===n){if(Vt(s))return c;var p,m=function(){p()};st(l,"afterEnter",m),st(l,"enterCancelled",m),st(u,"delayLeave",(function(e){p=e}))}}return r}}},rr=z({tag:String,moveClass:String},Zi);function sr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function or(e){e.data.newPos=e.elm.getBoundingClientRect()}function lr(e){var t=e.data.pos,a=e.data.newPos,n=t.left-a.left,i=t.top-a.top;if(n||i){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate("+n+"px,"+i+"px)",r.transitionDuration="0s"}}delete rr.mode;var cr={Transition:ir,TransitionGroup:{props:rr,beforeMount:function(){var e=this,t=this._update;this._update=function(a,n){var i=Jt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,a,n)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",a=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],r=this.children=[],s=er(this),o=0;o-1?Ja[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Ja[e]=/HTMLUnknownElement/.test(t.toString())},z(xa.options.directives,Ji),z(xa.options.components,cr),xa.prototype.__patch__=q?Ei:T,xa.prototype.$mount=function(e,t){return function(e,t,a){var n;return e.$el=t,e.$options.render||(e.$options.render=he),ta(e,"beforeMount"),n=function(){e._update(e._render(),a)},new ma(e,n,T,{before:function(){e._isMounted&&!e._isDestroyed&&ta(e,"beforeUpdate")}},!0),a=!1,null==e.$vnode&&(e._isMounted=!0,ta(e,"mounted")),e}(this,e=e&&q?Xa(e):void 0,t)},q&&setTimeout((function(){$.devtools&&ae&&ae.emit("init",xa)}),0);var dr=/\{\{((?:.|\r?\n)+?)\}\}/g,ur=/[-.*+?^${}()|[\]\/\\]/g,pr=b((function(e){var t=e[0].replace(ur,"\\$&"),a=e[1].replace(ur,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+a,"g")}));var mr={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var a=jn(e,"class");a&&(e.staticClass=JSON.stringify(a));var n=Rn(e,"class",!1);n&&(e.classBinding=n)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var hr,fr={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var a=jn(e,"style");a&&(e.staticStyle=JSON.stringify(si(a)));var n=Rn(e,"style",!1);n&&(e.styleBinding=n)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},gr=function(e){return(hr=hr||document.createElement("div")).innerHTML=e,hr.textContent},vr=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),br=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),yr=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),kr=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,wr=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_r="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+I.source+"]*",Ar="((?:"+_r+"\\:)?"+_r+")",xr=new RegExp("^<"+Ar),Cr=/^\s*(\/?)>/,zr=new RegExp("^<\\/"+Ar+"[^>]*>"),Sr=/^]+>/i,Tr=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Nr=/&(?:lt|gt|quot|amp|#39);/g,Lr=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ur=p("pre,textarea",!0),$r=function(e,t){return e&&Ur(e)&&"\n"===t[0]};function Ir(e,t){var a=t?Lr:Nr;return e.replace(a,(function(e){return Dr[e]}))}var Rr,jr,Or,Er,Br,qr,Vr,Gr,Hr=/^@|^v-on:/,Wr=/^v-|^@|^:|^#/,Kr=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Yr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Qr=/^\(|\)$/g,Jr=/^\[.*\]$/,Zr=/:(.*)$/,Xr=/^:|^\.|^v-bind:/,es=/\.[^.\]]+(?=[^\]]*$)/g,ts=/^v-slot(:|$)|^#/,as=/[\r\n]/,ns=/\s+/g,is=b(gr);function rs(e,t,a){return{type:1,tag:e,attrsList:t,attrsMap:ps(t),rawAttrsMap:{},parent:a,children:[]}}function ss(e,t){Rr=t.warn||Fn,qr=t.isPreTag||M,Vr=t.mustUseProp||M,Gr=t.getTagNamespace||M;t.isReservedTag;Or=Pn(t.modules,"transformNode"),Er=Pn(t.modules,"preTransformNode"),Br=Pn(t.modules,"postTransformNode"),jr=t.delimiters;var a,n,i=[],r=!1!==t.preserveWhitespace,s=t.whitespace,o=!1,l=!1;function c(e){if(d(e),o||e.processed||(e=os(e,t)),i.length||e===a||a.if&&(e.elseif||e.else)&&cs(a,{exp:e.elseif,block:e}),n&&!e.forbidden)if(e.elseif||e.else)s=e,(c=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(n.children))&&c.if&&cs(c,{exp:s.elseif,block:s});else{if(e.slotScope){var r=e.slotTarget||'"default"';(n.scopedSlots||(n.scopedSlots={}))[r]=e}n.children.push(e),e.parent=n}var s,c;e.children=e.children.filter((function(e){return!e.slotScope})),d(e),e.pre&&(o=!1),qr(e.tag)&&(l=!1);for(var u=0;u]*>)","i")),p=e.replace(u,(function(e,a,n){return c=n.length,Fr(d)||"noscript"===d||(a=a.replace(//g,"$1").replace(//g,"$1")),$r(d,a)&&(a=a.slice(1)),t.chars&&t.chars(a),""}));l+=e.length-p.length,e=p,z(d,l-c,l)}else{var m=e.indexOf("<");if(0===m){if(Tr.test(e)){var h=e.indexOf("--\x3e");if(h>=0){t.shouldKeepComment&&t.comment(e.substring(4,h),l,l+h+3),A(h+3);continue}}if(Mr.test(e)){var f=e.indexOf("]>");if(f>=0){A(f+2);continue}}var g=e.match(Sr);if(g){A(g[0].length);continue}var v=e.match(zr);if(v){var b=l;A(v[0].length),z(v[1],b,l);continue}var y=x();if(y){C(y),$r(y.tagName,e)&&A(1);continue}}var k=void 0,w=void 0,_=void 0;if(m>=0){for(w=e.slice(m);!(zr.test(w)||xr.test(w)||Tr.test(w)||Mr.test(w)||(_=w.indexOf("<",1))<0);)m+=_,w=e.slice(m);k=e.substring(0,m)}m<0&&(k=e),k&&A(k.length),t.chars&&k&&t.chars(k,l-k.length,l)}if(e===a){t.chars&&t.chars(e);break}}function A(t){l+=t,e=e.substring(t)}function x(){var t=e.match(xr);if(t){var a,n,i={tagName:t[1],attrs:[],start:l};for(A(t[0].length);!(a=e.match(Cr))&&(n=e.match(wr)||e.match(kr));)n.start=l,A(n[0].length),n.end=l,i.attrs.push(n);if(a)return i.unarySlash=a[1],A(a[0].length),i.end=l,i}}function C(e){var a=e.tagName,l=e.unarySlash;r&&("p"===n&&yr(a)&&z(n),o(a)&&n===a&&z(a));for(var c=s(a)||!!l,d=e.attrs.length,u=new Array(d),p=0;p=0&&i[s].lowerCasedTag!==o;s--);else s=0;if(s>=0){for(var c=i.length-1;c>=s;c--)t.end&&t.end(i[c].tag,a,r);i.length=s,n=s&&i[s-1].tag}else"br"===o?t.start&&t.start(e,[],!0,a,r):"p"===o&&(t.start&&t.start(e,[],!1,a,r),t.end&&t.end(e,a,r))}z()}(e,{warn:Rr,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,r,s,d,u){var p=n&&n.ns||Gr(e);W&&"svg"===p&&(r=function(e){for(var t=[],a=0;al&&(o.push(r=e.slice(l,i)),s.push(JSON.stringify(r)));var c=Tn(n[1].trim());s.push("_s("+c+")"),o.push({"@binding":c}),l=i+n[0].length}return l-1"+("true"===r?":("+t+")":":_q("+t+","+r+")")),In(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+s+");if(Array.isArray($$a)){var $$v="+(n?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+qn(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+qn(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+qn(t,"$$c")+"}",null,!0)}(e,n,i);else if("input"===r&&"radio"===s)!function(e,t,a){var n=a&&a.number,i=Rn(e,"value")||"null";Dn(e,"checked","_q("+t+","+(i=n?"_n("+i+")":i)+")"),In(e,"change",qn(t,i),null,!0)}(e,n,i);else if("input"===r||"textarea"===r)!function(e,t,a){var n=e.attrsMap.type,i=a||{},r=i.lazy,s=i.number,o=i.trim,l=!r&&"range"!==n,c=r?"change":"range"===n?"__r":"input",d="$event.target.value";o&&(d="$event.target.value.trim()");s&&(d="_n("+d+")");var u=qn(t,d);l&&(u="if($event.target.composing)return;"+u);Dn(e,"value","("+t+")"),In(e,c,u,null,!0),(o||s)&&In(e,"blur","$forceUpdate()")}(e,n,i);else if(!$.isReservedTag(r))return Bn(e,n,i),!1;return!0},text:function(e,t){t.value&&Dn(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Dn(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:vr,mustUseProp:La,canBeLeftOpenTag:br,isReservedTag:Ya,getTagNamespace:Qa,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(gs)},ks=b((function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function ws(e,t){e&&(vs=ks(t.staticKeys||""),bs=t.isReservedTag||M,_s(e),As(e,!1))}function _s(e){if(e.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||m(e.tag)||!bs(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(vs)))}(e),1===e.type){if(!bs(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,a=e.children.length;t|^function(?:\s+[\w$]+)?\s*\(/,Cs=/\([^)]*?\);*$/,zs=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ss={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ts={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ms=function(e){return"if("+e+")return null;"},Fs={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ms("$event.target !== $event.currentTarget"),ctrl:Ms("!$event.ctrlKey"),shift:Ms("!$event.shiftKey"),alt:Ms("!$event.altKey"),meta:Ms("!$event.metaKey"),left:Ms("'button' in $event && $event.button !== 0"),middle:Ms("'button' in $event && $event.button !== 1"),right:Ms("'button' in $event && $event.button !== 2")};function Ps(e,t){var a=t?"nativeOn:":"on:",n="",i="";for(var r in e){var s=Ds(e[r]);e[r]&&e[r].dynamic?i+=r+","+s+",":n+='"'+r+'":'+s+","}return n="{"+n.slice(0,-1)+"}",i?a+"_d("+n+",["+i.slice(0,-1)+"])":a+n}function Ds(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Ds(e)})).join(",")+"]";var t=zs.test(e.value),a=xs.test(e.value),n=zs.test(e.value.replace(Cs,""));if(e.modifiers){var i="",r="",s=[];for(var o in e.modifiers)if(Fs[o])r+=Fs[o],Ss[o]&&s.push(o);else if("exact"===o){var l=e.modifiers;r+=Ms(["ctrl","shift","alt","meta"].filter((function(e){return!l[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else s.push(o);return s.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ns).join("&&")+")return null;"}(s)),r&&(i+=r),"function($event){"+i+(t?"return "+e.value+"($event)":a?"return ("+e.value+")($event)":n?"return "+e.value:e.value)+"}"}return t||a?e.value:"function($event){"+(n?"return "+e.value:e.value)+"}"}function Ns(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var a=Ss[e],n=Ts[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(a)+",$event.key,"+JSON.stringify(n)+")"}var Ls={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(a){return"_b("+a+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:T},Us=function(e){this.options=e,this.warn=e.warn||Fn,this.transforms=Pn(e.modules,"transformCode"),this.dataGenFns=Pn(e.modules,"genData"),this.directives=z(z({},Ls),e.directives);var t=e.isReservedTag||M;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function $s(e,t){var a=new Us(t);return{render:"with(this){return "+(e?Is(e,a):'_c("div")')+"}",staticRenderFns:a.staticRenderFns}}function Is(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Rs(e,t);if(e.once&&!e.onceProcessed)return js(e,t);if(e.for&&!e.forProcessed)return Bs(e,t);if(e.if&&!e.ifProcessed)return Os(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var a=e.slotName||'"default"',n=Hs(e,t),i="_t("+a+(n?","+n:""),r=e.attrs||e.dynamicAttrs?Ys((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}}))):null,s=e.attrsMap["v-bind"];!r&&!s||n||(i+=",null");r&&(i+=","+r);s&&(i+=(r?"":",null")+","+s);return i+")"}(e,t);var a;if(e.component)a=function(e,t,a){var n=t.inlineTemplate?null:Hs(t,a,!0);return"_c("+e+","+qs(t,a)+(n?","+n:"")+")"}(e.component,e,t);else{var n;(!e.plain||e.pre&&t.maybeComponent(e))&&(n=qs(e,t));var i=e.inlineTemplate?null:Hs(e,t,!0);a="_c('"+e.tag+"'"+(n?","+n:"")+(i?","+i:"")+")"}for(var r=0;r>>0}(s):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(a+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var r=function(e,t){var a=e.children[0];if(a&&1===a.type){var n=$s(a,t.options);return"inlineTemplate:{render:function(){"+n.render+"},staticRenderFns:["+n.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);r&&(a+=r+",")}return a=a.replace(/,$/,"")+"}",e.dynamicAttrs&&(a="_b("+a+',"'+e.tag+'",'+Ys(e.dynamicAttrs)+")"),e.wrapData&&(a=e.wrapData(a)),e.wrapListeners&&(a=e.wrapListeners(a)),a}function Vs(e){return 1===e.type&&("slot"===e.tag||e.children.some(Vs))}function Gs(e,t){var a=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!a)return Os(e,t,Gs,"null");if(e.for&&!e.forProcessed)return Bs(e,t,Gs);var n="_empty_"===e.slotScope?"":String(e.slotScope),i="function("+n+"){return "+("template"===e.tag?e.if&&a?"("+e.if+")?"+(Hs(e,t)||"undefined")+":undefined":Hs(e,t)||"undefined":Is(e,t))+"}",r=n?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+r+"}"}function Hs(e,t,a,n,i){var r=e.children;if(r.length){var s=r[0];if(1===r.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var o=a?t.maybeComponent(s)?",1":",0":"";return""+(n||Is)(s,t)+o}var l=a?function(e,t){for(var a=0,n=0;n':'
',eo.innerHTML.indexOf(" ")>0}var no=!!q&&ao(!1),ro=!!q&&ao(!0),so=b((function(e){var t=Xa(e);return t&&t.innerHTML})),oo=xa.prototype.$mount;function lo(e,t){void 0===t&&(t={});var a=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===a&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}xa.prototype.$mount=function(e,t){if((e=e&&Xa(e))===document.body||e===document.documentElement)return this;var a=this.$options;if(!a.render){var n=a.template;if(n)if("string"==typeof n)"#"===n.charAt(0)&&(n=so(n));else{if(!n.nodeType)return this;n=n.innerHTML}else e&&(n=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(n){var i=to(n,{outputSourceRange:!1,shouldDecodeNewlines:no,shouldDecodeNewlinesForHref:ro,delimiters:a.delimiters,comments:a.comments},this),r=i.render,s=i.staticRenderFns;a.render=r,a.staticRenderFns=s}}return oo.call(this,e,t)},xa.compile=to;lo("/* fallback */\n\n@font-face {\n font-family: 'Material Icons';\n\n font-style: normal;\n\n font-weight: 400;\n\n src: url('../../fonts/icons/MaterialIcons-Regular.eot'); /* For IE6-8 */\n\n src: url('../../fonts/icons/MaterialIcons-Regular.woff2') format('woff2'),\r\n\t\turl('../../fonts/icons/MaterialIcons-Regular.woff') format('woff'),\r\n\t\turl('../../fonts/icons/MaterialIcons-Regular.ttf') format('truetype');\n}\n\n.material-icons {\n font-family: 'Material Icons';\n font-weight: normal;\n font-style: normal;\n font-size: 24px;\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n font-feature-settings: 'liga';\n -webkit-font-smoothing: antialiased;\n}\n\n.material-icons.explicit-icon {\n margin-right: 0.3125em;\n margin-left: -3px;\n color: hsl(240, 5%, 59%);\n}\n\n.material-icons.explicit-icon.explicit-icon--right {\n margin-right: 0px;\n margin-left: 0.3125em;\n}\n\n.material-icons.disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.material-icons.mirrored {\n transform: scaleX(-1);\n}\r\n");lo("/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hmIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hvIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hnIqOjjg.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hoIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hkIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hlIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hrIqM.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Udc1UAw.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0ddc1UAw.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Vdc1UAw.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0adc1UAw.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Wdc1UAw.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Xdc1UAw.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Zdc0.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhmIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhvIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhnIqOjjg.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhoIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhkIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhlIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhrIqM.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhmIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhvIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhnIqOjjg.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhoIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhkIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhlIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhrIqM.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hmIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hvIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hnIqOjjg.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hoIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hkIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hlIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hrIqM.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OX-hpOqc.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OVuhpOqc.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OXuhpOqc.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OUehpOqc.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OXehpOqc.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OXOhpOqc.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OUuhp.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFWJ0bbck.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFUZ0bbck.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFWZ0bbck.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFVp0bbck.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFWp0bbck.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFW50bbck.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFVZ0b.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOX-hpOqc.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOVuhpOqc.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOXuhpOqc.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOUehpOqc.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOXehpOqc.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOXOhpOqc.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOUuhp.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOX-hpOqc.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOVuhpOqc.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOXuhpOqc.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOUehpOqc.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOXehpOqc.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOXOhpOqc.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOUuhp.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOX-hpOqc.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOVuhpOqc.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOXuhpOqc.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOUehpOqc.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOXehpOqc.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOXOhpOqc.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOUuhp.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\r\n");lo("a {\n color: dodgerblue;\n}\n\n.container {\n width: 100%;\n}\n\n@media (min-width: 640px) {\n .container {\n max-width: 640px;\n }\n}\n\n@media (min-width: 768px) {\n .container {\n max-width: 768px;\n }\n}\n\n@media (min-width: 1024px) {\n .container {\n max-width: 1024px;\n }\n}\n\n@media (min-width: 1280px) {\n .container {\n max-width: 1280px;\n }\n}\n\n.space-y-5 > :not(template) ~ :not(template) {\n --space-y-reverse: 0;\n margin-top: calc(1.25rem * calc(1 - var(--space-y-reverse)));\n margin-bottom: calc(1.25rem * var(--space-y-reverse));\n}\n\n.bg-black {\n --bg-opacity: 1;\n background-color: #000;\n background-color: rgba(0, 0, 0, var(--bg-opacity));\n}\n\n.bg-red-600 {\n --bg-opacity: 1;\n background-color: #e53e3e;\n background-color: rgba(229, 62, 62, var(--bg-opacity));\n}\n\n.bg-grayscale-200 {\n --bg-opacity: 1;\n background-color: hsl(0, 0%, 20%);\n background-color: rgba(51, 51, 51, var(--bg-opacity));\n}\n\n.bg-primary {\n --bg-opacity: 1;\n background-color: hsl(210, 100%, 52%);\n background-color: rgba(10.20000000000001, 132.59999999999988, 255, var(--bg-opacity));\n}\n\n.bg-background-main {\n background-color: var(--main-background);\n}\n\n.bg-panels-bg {\n background-color: var(--panels-background);\n}\n\n.hover\\:bg-primary:hover {\n --bg-opacity: 1;\n background-color: hsl(210, 100%, 52%);\n background-color: rgba(10.20000000000001, 132.59999999999988, 255, var(--bg-opacity));\n}\n\n.hover\\:bg-background-main:hover {\n background-color: var(--main-background);\n}\n\n.bg-opacity-50 {\n --bg-opacity: 0.5;\n}\n\n.border-transparent {\n border-color: transparent;\n}\n\n.border-grayscale-500 {\n --border-opacity: 1;\n border-color: hsl(0, 0%, 50%);\n border-color: rgba(127.5, 127.5, 127.5, var(--border-opacity));\n}\n\n.rounded {\n border-radius: 0.25rem;\n}\n\n.rounded-xl {\n border-radius: 0.75rem;\n}\n\n.rounded-full {\n border-radius: 9999px;\n}\n\n.border-solid {\n border-style: solid;\n}\n\n.border-0 {\n border-width: 0;\n}\n\n.border {\n border-width: 1px;\n}\n\n.border-t {\n border-top-width: 1px;\n}\n\n.first\\:border-t-0:first-child {\n border-top-width: 0;\n}\n\n.cursor-default {\n cursor: default;\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.block {\n display: block;\n}\n\n.inline-block {\n display: inline-block;\n}\n\n.flex {\n display: flex;\n}\n\n.inline-flex {\n display: inline-flex;\n}\n\n.table {\n display: table;\n}\n\n.grid {\n display: grid;\n}\n\n.hidden {\n display: none;\n}\n\n.flex-col {\n flex-direction: column;\n}\n\n.place-items-center {\n place-items: center;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.justify-evenly {\n justify-content: space-evenly;\n}\n\n.flex-1 {\n flex: 1 1 0%;\n}\n\n.flex-shrink {\n flex-shrink: 1;\n}\n\n.float-none {\n float: none;\n}\n\n.font-sans {\n font-family: Open Sans, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n}\n\n.h-3 {\n height: 0.75rem;\n}\n\n.h-6 {\n height: 1.5rem;\n}\n\n.h-12 {\n height: 3rem;\n}\n\n.h-16 {\n height: 4rem;\n}\n\n.h-32 {\n height: 8rem;\n}\n\n.h-40 {\n height: 10rem;\n}\n\n.h-full {\n height: 100%;\n}\n\n.h-screen {\n height: 100vh;\n}\n\n.text-xs {\n font-size: 0.75rem;\n}\n\n.text-base {\n font-size: 1rem;\n}\n\n.text-lg {\n font-size: 1.125rem;\n}\n\n.text-xl {\n font-size: 1.25rem;\n}\n\n.text-2xl {\n font-size: 1.5rem;\n}\n\n.text-3xl {\n font-size: 1.875rem;\n}\n\n.text-4xl {\n font-size: 2.25rem;\n}\n\n.text-5xl {\n font-size: 3rem;\n}\n\n.m-0 {\n margin: 0;\n}\n\n.m-1 {\n margin: 0.25rem;\n}\n\n.my-4 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n\n.my-5 {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n}\n\n.mb-1 {\n margin-bottom: 0.25rem;\n}\n\n.ml-1 {\n margin-left: 0.25rem;\n}\n\n.mr-2 {\n margin-right: 0.5rem;\n}\n\n.mb-2 {\n margin-bottom: 0.5rem;\n}\n\n.ml-2 {\n margin-left: 0.5rem;\n}\n\n.mb-3 {\n margin-bottom: 0.75rem;\n}\n\n.mt-4 {\n margin-top: 1rem;\n}\n\n.mr-4 {\n margin-right: 1rem;\n}\n\n.mb-4 {\n margin-bottom: 1rem;\n}\n\n.mt-5 {\n margin-top: 1.25rem;\n}\n\n.mb-5 {\n margin-bottom: 1.25rem;\n}\n\n.ml-5 {\n margin-left: 1.25rem;\n}\n\n.mt-6 {\n margin-top: 1.5rem;\n}\n\n.mb-6 {\n margin-bottom: 1.5rem;\n}\n\n.mb-8 {\n margin-bottom: 2rem;\n}\n\n.ml-auto {\n margin-left: auto;\n}\n\n.-mt-16 {\n margin-top: -4rem;\n}\n\n.-ml-20 {\n margin-left: -5rem;\n}\n\n.opacity-0 {\n opacity: 0;\n}\n\n.opacity-100 {\n opacity: 1;\n}\n\n.overflow-hidden {\n overflow: hidden;\n}\n\n.p-0 {\n padding: 0;\n}\n\n.p-1 {\n padding: 0.25rem;\n}\n\n.p-2 {\n padding: 0.5rem;\n}\n\n.p-3 {\n padding: 0.75rem;\n}\n\n.px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.py-5 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n\n.py-6 {\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n}\n\n.pr-2 {\n padding-right: 0.5rem;\n}\n\n.pb-3 {\n padding-bottom: 0.75rem;\n}\n\n.absolute {\n position: absolute;\n}\n\n.relative {\n position: relative;\n}\n\n.sticky {\n position: -webkit-sticky;\n position: sticky;\n}\n\n.top-0 {\n top: 0;\n}\n\n.right-0 {\n right: 0;\n}\n\n.left-0 {\n left: 0;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-white {\n --text-opacity: 1;\n color: #fff;\n color: rgba(255, 255, 255, var(--text-opacity));\n}\n\n.text-grayscale-870 {\n --text-opacity: 1;\n color: hsl(0, 0%, 87%);\n color: rgba(221.85, 221.85, 221.85, var(--text-opacity));\n}\n\n.text-primary {\n --text-opacity: 1;\n color: hsl(210, 100%, 52%);\n color: rgba(10.20000000000001, 132.59999999999988, 255, var(--text-opacity));\n}\n\n.text-foreground {\n color: var(--foreground);\n}\n\n.hover\\:text-primary:hover {\n --text-opacity: 1;\n color: hsl(210, 100%, 52%);\n color: rgba(10.20000000000001, 132.59999999999988, 255, var(--text-opacity));\n}\n\n.group:hover .group-hover\\:text-primary {\n --text-opacity: 1;\n color: hsl(210, 100%, 52%);\n color: rgba(10.20000000000001, 132.59999999999988, 255, var(--text-opacity));\n}\n\n.capitalize {\n text-transform: capitalize;\n}\n\n.no-underline {\n text-decoration: none;\n}\n\n.hover\\:underline:hover {\n text-decoration: underline;\n}\n\n.visible {\n visibility: visible;\n}\n\n.invisible {\n visibility: hidden;\n}\n\n.whitespace-no-wrap {\n white-space: nowrap;\n}\n\n.break-words {\n word-wrap: break-word;\n overflow-wrap: break-word;\n}\n\n.w-3 {\n width: 0.75rem;\n}\n\n.w-4 {\n width: 1rem;\n}\n\n.w-6 {\n width: 1.5rem;\n}\n\n.w-8 {\n width: 2rem;\n}\n\n.w-16 {\n width: 4rem;\n}\n\n.w-32 {\n width: 8rem;\n}\n\n.w-40 {\n width: 10rem;\n}\n\n.w-64 {\n width: 16rem;\n}\n\n.w-full {\n width: 100%;\n}\n\n.w-screen {\n width: 100vw;\n}\n\n.z-10 {\n z-index: 10;\n}\n\n.z-50 {\n z-index: 50;\n}\n\n.transform {\n --transform-translate-x: 0;\n --transform-translate-y: 0;\n --transform-rotate: 0;\n --transform-skew-x: 0;\n --transform-skew-y: 0;\n --transform-scale-x: 1;\n --transform-scale-y: 1;\n transform: translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y));\n}\n\n.transition-all {\n transition-property: all;\n}\n\n.transition {\n transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;\n}\n\n.transition-colors {\n transition-property: background-color, border-color, color, fill, stroke;\n}\n\n.transition-opacity {\n transition-property: opacity;\n}\n\n.ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n.ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.duration-150 {\n transition-duration: 150ms;\n}\n\n.duration-200 {\n transition-duration: 200ms;\n}\n\n.duration-500 {\n transition-duration: 500ms;\n}\n\n@-webkit-keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n@-webkit-keyframes ping {\n 75%, 100% {\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@keyframes ping {\n 75%, 100% {\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@keyframes pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@-webkit-keyframes bounce {\n 0%, 100% {\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n@keyframes bounce {\n 0%, 100% {\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n:root {\n font-size: 16px;\n --main-scroll: hsl(0, 0%, 30%);\n --panels-scroll: hsl(180, 2%, 17%);\n --toast-background: hsla(240, 12%, 16%, 0.85);\n --toast-secondary: hsla(240, 12%, 16%, 0.15);\n --toast-text: hsla(0, 0%, 100%, 0.85);\n --primary-color: hsl(210, 100%, 52%);\n --primary-text: hsl(0, 0%, 87%);\n --secondary-color: hsl(46, 100%, 57%);\n}\n\n:root[data-theme='light'] {\n --main-background: #fff;\n --secondary-background: hsl(0, 0%, 93%);\n --foreground: hsl(0, 0%, 20%);\n --panels-background: hsl(216, 4%, 78%);\n --table-bg: #fff;\n --table-zebra: hsl(0, 0%, 90%);\n --table-highlight: hsl(0, 0%, 84%);\n}\n\n:root[data-theme='dark'] {\n --main-background: hsl(240, 10%, 8%);\n --secondary-background: hsl(240, 12%, 16%);\n --foreground: hsl(0, 0%, 93%);\n --panels-background: hsl(240, 15%, 12%);\n --table-bg: hsl(240, 10%, 8%);\n --table-zebra: hsl(240, 15%, 11%);\n --table-highlight: hsl(240, 10%, 22%);\n}\n\n:root[data-theme='purple'] {\n --main-background: hsl(261, 74%, 6%);\n --secondary-background: hsl(257, 61%, 10%);\n --foreground: hsl(0, 0%, 93%);\n --panels-background: hsl(257, 70%, 9%);\n --table-bg: hsl(261, 74%, 6%);\n --table-zebra: hsl(257, 61%, 10%);\n --table-highlight: hsl(257, 66%, 27%);\n}\n\n* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\n\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd {\n margin: 0;\n border: 0;\n padding: 0;\n vertical-align: baseline;\n font: inherit;\n font-size: 100%;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\n/* Taken from Tailwind Preflight */\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button;\n -moz-appearance: button;\n appearance: button;\n}\n\ninput[type='text'],\ninput[type='password'],\ninput[type='number'],\ninput[type='search'],\ninput[type='checkbox'],\nselect {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n\nbutton,\n[role='button'] {\n cursor: pointer;\n}\n\np {\n word-break: break-word;\n}\n\n*,\n::before,\n::after {\n border-width: 0;\n border-style: solid;\n}\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\ninput[type='text'],\ninput[type='password'],\ninput[type='number'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n margin-bottom: 8px;\n border: 0px solid black;\n border-radius: 4px;\n background-color: var(--secondary-background);\n padding: 0px 8px;\n width: calc(100% - 16px);\n line-height: 36px;\n color: var(--foreground);\n}\n\ninput[type='checkbox'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n display: inline-block;\n position: relative;\n opacity: 0.5;\n margin: 3px;\n border: 2px solid gray;\n border-radius: 2px;\n background-color: none;\n padding: 7px;\n}\n\ninput[type='checkbox']:checked {\n opacity: 1;\n margin: 3px;\n border: 0px solid var(--primary-color);\n border-radius: 2px;\n background-color: var(--primary-color);\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='18' viewBox='3 3 18 18' width='18'%3E%3Cpath fill='%23ffffff' d='M 10,17 5,12 6.41,10.59 10,14.17 17.59,6.58 19,8 Z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E\");\n background-position: center center;\n padding: 9px;\n color: var(--primary-text);\n}\n\nselect {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n margin-bottom: 8px;\n border: 0px solid black;\n border-radius: 4px;\n background-clip: border-box;\n background-color: var(--secondary-background);\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath style='fill%3A%23000000%3Bfill-opacity%3A0.25' d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E\");\n background-position: calc(100% - 8px) center;\n background-repeat: no-repeat;\n background-size: 24px;\n padding: 0px 40px 0px 8px;\n width: 100%;\n line-height: 36px;\n color: var(--foreground);\n}\n\n.clickable {\n cursor: pointer !important;\n}\n\n.coverart {\n background-color: var(--secondary-background);\n}\n\n.table {\n width: 100%;\n -webkit-border-horizontal-spacing: 0px;\n -webkit-border-vertical-spacing: 0px;\n /* === Tracks Table === */\n /* === Tracklist Table === */\n /* === Charts Table === */\n}\n\n.table tbody tr:not(.table__row-no-highlight):hover {\n background: var(--table-highlight);\n cursor: default;\n}\n\n.table tr {\n transition: background-color 175ms ease-in-out;\n background: var(--table-bg);\n}\n\n.table tr:nth-child(even) {\n transition: background-color 175ms ease-in-out;\n background: var(--table-zebra);\n}\n\n.table tr:not(:last-child) {\n border-bottom: 1px solid var(--table-highlight);\n}\n\n.table td,\n .table th {\n vertical-align: middle;\n}\n\n.table th .sortable {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.table th .sort-asc::after,\n .table th .sort-desc::after {\n padding-left: 3px;\n line-height: 0.7em;\n font-size: 0.7em;\n}\n\n.table th .sort-asc::after {\n content: '\\25b2';\n}\n\n.table th .sort-desc::after {\n content: '\\25bc';\n}\n\n.table td {\n padding: 7px 10px;\n}\n\n.table td:first-child {\n padding: 7px 10px 7px 20px;\n}\n\n.table td:last-child {\n padding: 7px 20px 7px 10px;\n}\n\n.table td img {\n vertical-align: middle;\n}\n\n.table--tracks {\n border-collapse: collapse;\n}\n\n.table--tracks thead {\n border-bottom: 2px solid var(--table-highlight);\n}\n\n.table--tracks tr:first-child td:first-child {\n border-top-left-radius: 3px;\n}\n\n.table--tracks tr:first-child td:last-child {\n border-top-right-radius: 3px;\n}\n\n.table--tracks tr:last-child td:first-child {\n border-bottom-left-radius: 3px;\n}\n\n.table--tracks tr:last-child td:last-child {\n border-bottom-right-radius: 3px;\n}\n\n.table--tracklist thead {\n border-bottom: 2px solid var(--table-highlight);\n text-transform: capitalize;\n}\n\n.table--tracklist th {\n padding: 7px 10px;\n height: 45px;\n}\n\n.table--tracklist th:first-child {\n padding: 7px 10px 7px 20px;\n}\n\n.table--tracklist th:last-child {\n padding: 7px 20px 7px 10px;\n}\n\n.table--tracklist td {\n height: 35px;\n}\n\n.table--charts td {\n height: 35px;\n}\n\n.table .table__icon {\n box-sizing: content-box;\n width: 32px;\n}\n\n.table .table__icon--big {\n width: 48px;\n text-align: center;\n}\n\n.table .table__cell--x-small {\n width: 0.32%;\n}\n\n.table .table__cell--small {\n width: 3.2%;\n}\n\n.table .table__cell--medium {\n width: 28.7%;\n}\n\n.table .table__cell--large {\n width: 50%;\n}\n\n.table .table__cell--left {\n text-align: left;\n}\n\n.table .table__cell--center {\n text-align: center;\n}\n\n.table .table__cell--right {\n text-align: right;\n}\n\n.table .table__cell-content.table__cell-content--vertical-center {\n display: flex;\n align-items: center;\n}\n\n.track_row > td > img {\n width: 32px;\n height: 32px;\n}\n\n.track_row > td > a > img {\n width: 56px;\n height: 56px;\n}\n\n.table--tracklist .clickable:hover,\n.table--charts .clickable:hover {\n text-decoration: underline;\n}\n\n.release-grid {\n grid-gap: 1rem;\n gap: 1rem;\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));\n}\n\n.settings-group {\n border-top-width: 1px;\n --border-opacity: 1;\n border-color: hsl(0, 0%, 50%);\n border-color: rgba(127.5, 127.5, 127.5, var(--border-opacity));\n}\n\n.settings-group__header {\n display: inline-flex;\n align-items: center;\n padding-top: 2rem;\n padding-bottom: 2rem;\n font-size: 1.5rem;\n}\n\n.settings-group__header i.material-icons {\n margin-right: 1rem;\n}\n\n.settings-container {\n display: flex;\n}\n\n.settings-container__half {\n width: 50%;\n}\n\n.settings-container__third {\n width: 33%;\n}\n\n.settings-container__third--only-checkbox {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n}\n\n.settings-container__half > *,\n .settings-container__third > * {\n margin-bottom: 1rem;\n}\n\n.with-checkbox {\n display: flex;\n align-items: center;\n}\n\n.with-checkbox [type='checkbox'] {\n cursor: pointer;\n}\n\n.with-checkbox .checkbox-text {\n margin-left: 10px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n/* Input group */\n\n.input-group .input-group-text {\n margin-bottom: 0.5rem;\n}\n\n.release {\n display: inline-block;\n width: 156px;\n}\n\n@media (min-width: 640px) {\n}\n\n@media (min-width: 768px) {\n}\n\n@media (min-width: 1024px) {\n}\n\n@media (min-width: 1280px) {\n}\n");lo("/* Button */\n\n.btn {\n position: relative;\n height: 2rem;\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n padding-top: 0;\n padding-bottom: 0;\n font-size: 0.875rem;\n font-weight: 600;\n text-transform: uppercase;\n border-width: 1px;\n border-color: transparent;\n border-style: solid;\n border-radius: 0.25rem;\n --text-opacity: 1;\n color: hsl(0, 0%, 90%);\n color: rgba(229.5, 229.5, 229.5, var(--text-opacity));\n font-family: inherit;\n transition: transform 50ms ease-in-out;\n}\n\n.btn:active {\n transform: scale(0.98);\n}\n\n.btn[disabled] {\n --text-opacity: 1;\n color: #e2e8f0;\n color: rgba(226, 232, 240, var(--text-opacity));\n --bg-opacity: 1;\n background-color: #718096;\n background-color: rgba(113, 128, 150, var(--bg-opacity));\n opacity: 0.75;\n cursor: not-allowed;\n}\n\n.btn-only-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 3rem;\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n padding-top: 0;\n padding-bottom: 0;\n min-width: 24px;\n}\n\n.btn-primary {\n --bg-opacity: 1;\n background-color: hsl(210, 100%, 52%);\n background-color: rgba(10.20000000000001, 132.59999999999988, 255, var(--bg-opacity));\n}\n\n.btn-primary:hover {\n --bg-opacity: 1;\n background-color: #3182ce;\n background-color: rgba(49, 130, 206, var(--bg-opacity));\n border-color: var(--foreground);\n}\n\n/* Section tabs */\n\n.section-tabs {\n display: flex;\n margin-top: 1rem;\n margin-bottom: 1.5rem;\n list-style-type: none;\n cursor: pointer;\n}\n\n.section-tabs__tab {\n flex: 1 1 0%;\n padding: 0.75rem;\n font-size: 1.25rem;\n text-align: center;\n text-transform: capitalize;\n border-top-width: 4px;\n border-bottom-right-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n border-color: var(--foreground);\n background-color: var(--main-background);\n}\n\n.section-tabs__tab.active {\n --text-opacity: 1;\n color: hsl(210, 100%, 52%);\n color: rgba(10.20000000000001, 132.59999999999988, 255, var(--text-opacity));\n --border-opacity: 1;\n border-color: hsl(210, 100%, 52%);\n border-color: rgba(10.20000000000001, 132.59999999999988, 255, var(--border-opacity));\n background-color: var(--main-background);\n}\n\n.section-tabs__tab:hover {\n --text-opacity: 1;\n color: hsl(210, 100%, 52%);\n color: rgba(10.20000000000001, 132.59999999999988, 255, var(--text-opacity));\n --border-opacity: 1;\n border-color: hsl(210, 100%, 52%);\n border-color: rgba(10.20000000000001, 132.59999999999988, 255, var(--border-opacity));\n background-color: var(--secondary-background);\n --bg-opacity: 0.25;\n}\n\n/* Image header */\n\n.image-header header {\n background-size: cover;\n padding-top: 14rem;\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n padding-bottom: 0.5rem;\n border-top-left-radius: 0.5rem;\n border-top-right-radius: 0.5rem;\n background-position: 0% 35%;\n}\n\n/* Fixed footer */\n\n.fixed-footer footer {\n position: -webkit-sticky;\n position: sticky;\n align-items: center;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n bottom: 0;\n height: 4rem;\n width: 100%;\n margin-top: 1.5rem;\n}\r\n");lo(".changing-theme {\n transition: all 200ms ease-in-out;\n}\n\n[v-cloak] {\n display: none;\n}\r\n");lo(".primary-text {\n margin-bottom: 0.25rem;\n transition-property: background-color, border-color, color, fill, stroke;\n transition-duration: 200ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.primary-text:hover {\n --text-opacity: 1;\n color: hsl(210, 100%, 52%);\n color: rgba(10.20000000000001, 132.59999999999988, 255, var(--text-opacity));\n}\n\n.secondary-text {\n margin-bottom: 0.25rem;\n font-size: 0.875rem;\n opacity: 0.75;\n}\r\n");var co=("undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function uo(e,t){if(void 0===t&&(t=[]),null===e||"object"!=typeof e)return e;var a,n=(a=function(t){return t.original===e},t.filter(a)[0]);if(n)return n.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(a){i[a]=uo(e[a],t)})),i}function po(e,t){Object.keys(e).forEach((function(a){return t(e[a],a)}))}function mo(e){return null!==e&&"object"==typeof e}var ho=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var a=e.state;this.state=("function"==typeof a?a():a)||{}},fo={namespaced:{configurable:!0}};fo.namespaced.get=function(){return!!this._rawModule.namespaced},ho.prototype.addChild=function(e,t){this._children[e]=t},ho.prototype.removeChild=function(e){delete this._children[e]},ho.prototype.getChild=function(e){return this._children[e]},ho.prototype.hasChild=function(e){return e in this._children},ho.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},ho.prototype.forEachChild=function(e){po(this._children,e)},ho.prototype.forEachGetter=function(e){this._rawModule.getters&&po(this._rawModule.getters,e)},ho.prototype.forEachAction=function(e){this._rawModule.actions&&po(this._rawModule.actions,e)},ho.prototype.forEachMutation=function(e){this._rawModule.mutations&&po(this._rawModule.mutations,e)},Object.defineProperties(ho.prototype,fo);var go,vo=function(e){this.register([],e,!1)};function bo(e,t,a){if(t.update(a),a.modules)for(var n in a.modules){if(!t.getChild(n))return;bo(e.concat(n),t.getChild(n),a.modules[n])}}vo.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},vo.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,a){return e+((t=t.getChild(a)).namespaced?a+"/":"")}),"")},vo.prototype.update=function(e){bo([],this.root,e)},vo.prototype.register=function(e,t,a){var n=this;void 0===a&&(a=!0);var i=new ho(t,a);0===e.length?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i);t.modules&&po(t.modules,(function(t,i){n.register(e.concat(i),t,a)}))},vo.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),a=e[e.length-1],n=t.getChild(a);n&&n.runtime&&t.removeChild(a)},vo.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),a=e[e.length-1];return t.hasChild(a)};var yo=function(e){var t=this;void 0===e&&(e={}),!go&&"undefined"!=typeof window&&window.Vue&&So(window.Vue);var a=e.plugins;void 0===a&&(a=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new vo(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new go,this._makeLocalGettersCache=Object.create(null);var i=this,r=this.dispatch,s=this.commit;this.dispatch=function(e,t){return r.call(i,e,t)},this.commit=function(e,t,a){return s.call(i,e,t,a)},this.strict=n;var o=this._modules.root.state;xo(this,o,[],this._modules.root),Ao(this,o),a.forEach((function(e){return e(t)})),(void 0!==e.devtools?e.devtools:go.config.devtools)&&function(e){co&&(e._devtoolHook=co,co.emit("vuex:init",e),co.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){co.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){co.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},ko={state:{configurable:!0}};function wo(e,t,a){return t.indexOf(e)<0&&(a&&a.prepend?t.unshift(e):t.push(e)),function(){var a=t.indexOf(e);a>-1&&t.splice(a,1)}}function _o(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var a=e.state;xo(e,a,[],e._modules.root,!0),Ao(e,a,t)}function Ao(e,t,a){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,r={};po(i,(function(t,a){r[a]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,a,{get:function(){return e._vm[a]},enumerable:!0})}));var s=go.config.silent;go.config.silent=!0,e._vm=new go({data:{$$state:t},computed:r}),go.config.silent=s,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(e),n&&(a&&e._withCommit((function(){n._data.$$state=null})),go.nextTick((function(){return n.$destroy()})))}function xo(e,t,a,n,i){var r=!a.length,s=e._modules.getNamespace(a);if(n.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=n),!r&&!i){var o=Co(t,a.slice(0,-1)),l=a[a.length-1];e._withCommit((function(){go.set(o,l,n.state)}))}var c=n.context=function(e,t,a){var n=""===t,i={dispatch:n?e.dispatch:function(a,n,i){var r=zo(a,n,i),s=r.payload,o=r.options,l=r.type;return o&&o.root||(l=t+l),e.dispatch(l,s)},commit:n?e.commit:function(a,n,i){var r=zo(a,n,i),s=r.payload,o=r.options,l=r.type;o&&o.root||(l=t+l),e.commit(l,s,o)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var a={},n=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var r=i.slice(n);Object.defineProperty(a,r,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=a}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return Co(e.state,a)}}}),i}(e,s,a);n.forEachMutation((function(t,a){!function(e,t,a,n){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){a.call(e,n.state,t)}))}(e,s+a,t,c)})),n.forEachAction((function(t,a){var n=t.root?a:s+a,i=t.handler||t;!function(e,t,a,n){(e._actions[t]||(e._actions[t]=[])).push((function(t){var i,r=a.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return(i=r)&&"function"==typeof i.then||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}(e,n,i,c)})),n.forEachGetter((function(t,a){!function(e,t,a,n){if(e._wrappedGetters[t])return;e._wrappedGetters[t]=function(e){return a(n.state,n.getters,e.state,e.getters)}}(e,s+a,t,c)})),n.forEachChild((function(n,r){xo(e,t,a.concat(r),n,i)}))}function Co(e,t){return t.reduce((function(e,t){return e[t]}),e)}function zo(e,t,a){return mo(e)&&e.type&&(a=t,t=e,e=e.type),{type:e,payload:t,options:a}}function So(e){go&&e===go|| +var e=Object.freeze({});function t(e){return null==e}function a(e){return null!=e}function n(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function r(e){return null!==e&&"object"==typeof e}var s=Object.prototype.toString;function o(e){return"[object Object]"===s.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function c(e){return a(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function d(e){return null==e?"":Array.isArray(e)||o(e)&&e.toString===s?JSON.stringify(e,null,2):String(e)}function u(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var a=Object.create(null),n=e.split(","),i=0;i-1)return e.splice(a,1)}}var g=Object.prototype.hasOwnProperty;function v(e,t){return g.call(e,t)}function b(e){var t=Object.create(null);return function(a){return t[a]||(t[a]=e(a))}}var y=/-(\w)/g,k=b((function(e){return e.replace(y,(function(e,t){return t?t.toUpperCase():""}))})),w=b((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),_=/\B([A-Z])/g,A=b((function(e){return e.replace(_,"-$1").toLowerCase()}));var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function a(a){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,a):e.call(t)}return a._length=e.length,a};function C(e,t){t=t||0;for(var a=e.length-t,n=new Array(a);a--;)n[a]=e[a+t];return n}function z(e,t){for(var a in t)e[a]=t[a];return e}function S(e){for(var t={},a=0;a0,Y=H&&H.indexOf("edge/")>0,Q=(H&&H.indexOf("android"),H&&/iphone|ipad|ipod|ios/.test(H)||"ios"===G),J=(H&&/chrome\/\d+/.test(H),H&&/phantomjs/.test(H),H&&H.match(/firefox\/(\d+)/)),Z={}.watch,X=!1;if(q)try{var ee={};Object.defineProperty(ee,"passive",{get:function(){X=!0}}),window.addEventListener("test-passive",null,ee)}catch(e){}var te=function(){return void 0===E&&(E=!q&&!V&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),E},ae=q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ne(e){return"function"==typeof e&&/native code/.test(e.toString())}var ie,re="undefined"!=typeof Symbol&&ne(Symbol)&&"undefined"!=typeof Reflect&&ne(Reflect.ownKeys);ie="undefined"!=typeof Set&&ne(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var se=T,oe=0,le=function(){this.id=oe++,this.subs=[]};le.prototype.addSub=function(e){this.subs.push(e)},le.prototype.removeSub=function(e){f(this.subs,e)},le.prototype.depend=function(){le.target&&le.target.addDep(this)},le.prototype.notify=function(){for(var e=this.subs.slice(),t=0,a=e.length;t-1)if(r&&!v(i,"default"))s=!1;else if(""===s||s===A(e)){var l=je(String,i.type);(l<0||o0&&(ct((o=dt(o,(r||"")+"_"+s))[0])&&ct(c)&&(d[l]=fe(c.text+o[0].text),o.shift()),d.push.apply(d,o)):i(o)?ct(c)?d[l]=fe(c.text+o):""!==o&&d.push(fe(o)):ct(o)&&ct(c)?d[l]=fe(c.text+o.text):(n(e._isVList)&&a(o.tag)&&t(o.key)&&a(r)&&(o.key="__vlist"+r+"_"+s+"__"),d.push(o)));return d}function ut(e,t){if(e){for(var a=Object.create(null),n=re?Reflect.ownKeys(e):Object.keys(e),i=0;i0,s=t?!!t.$stable:!r,o=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&n&&n!==e&&o===n.$key&&!r&&!n.$hasNormal)return n;for(var l in i={},t)t[l]&&"$"!==l[0]&&(i[l]=ft(a,l,t[l]))}else i={};for(var c in a)c in i||(i[c]=gt(a,c));return t&&Object.isExtensible(t)&&(t._normalized=i),j(i,"$stable",s),j(i,"$key",o),j(i,"$hasNormal",r),i}function ft(e,t,a){var n=function(){var e=arguments.length?a.apply(null,arguments):a({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:lt(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return a.proxy&&Object.defineProperty(e,t,{get:n,enumerable:!0,configurable:!0}),n}function gt(e,t){return function(){return e[t]}}function vt(e,t){var n,i,s,o,l;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,s=e.length;idocument.createEvent("Event").timeStamp&&(ca=function(){return da.now()})}function ua(){var e,t;for(la=ca(),sa=!0,aa.sort((function(e,t){return e.id-t.id})),oa=0;oaoa&&aa[a].id>e.id;)a--;aa.splice(a+1,0,e)}else aa.push(e);ra||(ra=!0,Xe(ua))}}(this)},ma.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||r(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Oe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},ma.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ma.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},ma.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||f(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var ha={enumerable:!0,configurable:!0,get:T,set:T};function fa(e,t,a){ha.get=function(){return this[t][a]},ha.set=function(e){this[t][a]=e},Object.defineProperty(e,a,ha)}function ga(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var a=e.$options.propsData||{},n=e._props={},i=e.$options._propKeys=[];e.$parent&&we(!1);var r=function(r){i.push(r);var s=$e(r,t,a,e);xe(n,r,s),r in e||fa(e,"_props",r)};for(var s in t)r(s);we(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var a in t)e[a]="function"!=typeof t[a]?T:x(t[a],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;o(t=e._data="function"==typeof t?function(e,t){de();try{return e.call(t,t)}catch(e){return Oe(e,t,"data()"),{}}finally{ue()}}(t,e):t||{})||(t={});var a=Object.keys(t),n=e.$options.props,i=(e.$options.methods,a.length);for(;i--;){var r=a[i];n&&v(n,r)||R(r)||fa(e,"_data",r)}Ae(t,!0)}(e):Ae(e._data={},!0),t.computed&&function(e,t){var a=e._computedWatchers=Object.create(null),n=te();for(var i in t){var r=t[i],s="function"==typeof r?r:r.get;n||(a[i]=new ma(e,s||T,T,va)),i in e||ba(e,i,r)}}(e,t.computed),t.watch&&t.watch!==Z&&function(e,t){for(var a in t){var n=t[a];if(Array.isArray(n))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(a=e,"[object RegExp]"===s.call(a)&&e.test(t));var a}function Ta(e,t){var a=e.cache,n=e.keys,i=e._vnode;for(var r in a){var s=a[r];if(s){var o=za(s.componentOptions);o&&!t(o)&&Ma(a,r,n,i)}}}function Ma(e,t,a,n){var i=e[t];!i||n&&i.tag===n.tag||i.componentInstance.$destroy(),e[t]=null,f(a,t)}!function(t){t.prototype._init=function(t){var a=this;a._uid=_a++,a._isVue=!0,t&&t._isComponent?function(e,t){var a=e.$options=Object.create(e.constructor.options),n=t._parentVnode;a.parent=t.parent,a._parentVnode=n;var i=n.componentOptions;a.propsData=i.propsData,a._parentListeners=i.listeners,a._renderChildren=i.children,a._componentTag=i.tag,t.render&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns)}(a,t):a.$options=Le(Aa(a.constructor),t||{},a),a._renderProxy=a,a._self=a,function(e){var t=e.$options,a=t.parent;if(a&&!t.abstract){for(;a.$options.abstract&&a.$parent;)a=a.$parent;a.$children.push(e)}e.$parent=a,e.$root=a?a.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(a),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Yt(e,t)}(a),function(t){t._vnode=null,t._staticTrees=null;var a=t.$options,n=t.$vnode=a._parentVnode,i=n&&n.context;t.$slots=pt(a._renderChildren,i),t.$scopedSlots=e,t._c=function(e,a,n,i){return jt(t,e,a,n,i,!1)},t.$createElement=function(e,a,n,i){return jt(t,e,a,n,i,!0)};var r=n&&n.data;xe(t,"$attrs",r&&r.attrs||e,null,!0),xe(t,"$listeners",a._parentListeners||e,null,!0)}(a),ta(a,"beforeCreate"),function(e){var t=ut(e.$options.inject,e);t&&(we(!1),Object.keys(t).forEach((function(a){xe(e,a,t[a])})),we(!0))}(a),ga(a),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(a),ta(a,"created"),a.$options.el&&a.$mount(a.$options.el)}}(xa),function(e){var t={get:function(){return this._data}},a={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",a),e.prototype.$set=Ce,e.prototype.$delete=ze,e.prototype.$watch=function(e,t,a){var n=this;if(o(t))return wa(n,e,t,a);(a=a||{}).user=!0;var i=new ma(n,e,t,a);if(a.immediate)try{t.call(n,i.value)}catch(e){Oe(e,n,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(xa),function(e){var t=/^hook:/;e.prototype.$on=function(e,a){var n=this;if(Array.isArray(e))for(var i=0,r=e.length;i1?C(a):a;for(var n=C(arguments,1),i='event handler for "'+e+'"',r=0,s=a.length;rparseInt(this.max)&&Ma(s,o[0],o,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return $}};Object.defineProperty(e,"config",t),e.util={warn:se,extend:z,mergeOptions:Le,defineReactive:xe},e.set=Ce,e.delete=ze,e.nextTick=Xe,e.observable=function(e){return Ae(e),e},e.options=Object.create(null),L.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,z(e.options.components,Pa),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var a=C(arguments,1);return a.unshift(this),"function"==typeof e.install?e.install.apply(e,a):"function"==typeof e&&e.apply(null,a),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Le(this.options,e),this}}(e),Ca(e),function(e){L.forEach((function(t){e[t]=function(e,a){return a?("component"===t&&o(a)&&(a.name=a.name||e,a=this.options._base.extend(a)),"directive"===t&&"function"==typeof a&&(a={bind:a,update:a}),this.options[t+"s"][e]=a,a):this.options[t+"s"][e]}}))}(e)}(xa),Object.defineProperty(xa.prototype,"$isServer",{get:te}),Object.defineProperty(xa.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xa,"FunctionalRenderContext",{value:Dt}),xa.version="2.6.12";var Da=p("style,class"),Na=p("input,textarea,option,select,progress"),La=function(e,t,a){return"value"===a&&Na(e)&&"button"!==t||"selected"===a&&"option"===e||"checked"===a&&"input"===e||"muted"===a&&"video"===e},Ua=p("contenteditable,draggable,spellcheck"),$a=p("events,caret,typing,plaintext-only"),Ia=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ra="http://www.w3.org/1999/xlink",ja=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Oa=function(e){return ja(e)?e.slice(6,e.length):""},Ea=function(e){return null==e||!1===e};function Ba(e){for(var t=e.data,n=e,i=e;a(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=qa(i.data,t));for(;a(n=n.parent);)n&&n.data&&(t=qa(t,n.data));return function(e,t){if(a(e)||a(t))return Va(e,Ga(t));return""}(t.staticClass,t.class)}function qa(e,t){return{staticClass:Va(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function Va(e,t){return e?t?e+" "+t:e:t||""}function Ga(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,r=e.length;i-1?vn(e,t,a):Ia(t)?Ea(a)?e.removeAttribute(t):(a="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,a)):Ua(t)?e.setAttribute(t,function(e,t){return Ea(t)||"false"===t?"false":"contenteditable"===e&&$a(t)?t:"true"}(t,a)):ja(t)?Ea(a)?e.removeAttributeNS(Ra,Oa(t)):e.setAttributeNS(Ra,t,a):vn(e,t,a)}function vn(e,t,a){if(Ea(a))e.removeAttribute(t);else{if(W&&!K&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==a&&!e.__ieph){var n=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",n)};e.addEventListener("input",n),e.__ieph=!0}e.setAttribute(t,a)}}var bn={create:fn,update:fn};function yn(e,n){var i=n.elm,r=n.data,s=e.data;if(!(t(r.staticClass)&&t(r.class)&&(t(s)||t(s.staticClass)&&t(s.class)))){var o=Ba(n),l=i._transitionClasses;a(l)&&(o=Va(o,Ga(l))),o!==i._prevClass&&(i.setAttribute("class",o),i._prevClass=o)}}var kn,wn,_n,An,xn,Cn,zn={create:yn,update:yn},Sn=/[\w).+\-_$\]]/;function Tn(e){var t,a,n,i,r,s=!1,o=!1,l=!1,c=!1,d=0,u=0,p=0,m=0;for(n=0;n=0&&" "===(f=e.charAt(h));h--);f&&Sn.test(f)||(c=!0)}}else void 0===i?(m=n+1,i=e.slice(0,n).trim()):g();function g(){(r||(r=[])).push(e.slice(m,n).trim()),m=n+1}if(void 0===i?i=e.slice(0,n).trim():0!==m&&g(),r)for(n=0;n-1?{exp:e.slice(0,An),key:'"'+e.slice(An+1)+'"'}:{exp:e,key:null};wn=e,An=xn=Cn=0;for(;!Gn();)Hn(_n=Vn())?Kn(_n):91===_n&&Wn(_n);return{exp:e.slice(0,xn),key:e.slice(xn+1,Cn)}}(e);return null===a.key?e+"="+t:"$set("+a.exp+", "+a.key+", "+t+")"}function Vn(){return wn.charCodeAt(++An)}function Gn(){return An>=kn}function Hn(e){return 34===e||39===e}function Wn(e){var t=1;for(xn=An;!Gn();)if(Hn(e=Vn()))Kn(e);else if(91===e&&t++,93===e&&t--,0===t){Cn=An;break}}function Kn(e){for(var t=e;!Gn()&&(e=Vn())!==t;);}var Yn;function Qn(e,t,a){var n=Yn;return function i(){var r=t.apply(null,arguments);null!==r&&Xn(e,i,a,n)}}var Jn=Ge&&!(J&&Number(J[1])<=53);function Zn(e,t,a,n){if(Jn){var i=la,r=t;t=r._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return r.apply(this,arguments)}}Yn.addEventListener(e,t,X?{capture:a,passive:n}:a)}function Xn(e,t,a,n){(n||Yn).removeEventListener(e,t._wrapper||t,a)}function ei(e,n){if(!t(e.data.on)||!t(n.data.on)){var i=n.data.on||{},r=e.data.on||{};Yn=n.elm,function(e){if(a(e.__r)){var t=W?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}a(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(i),rt(i,r,Zn,Xn,Qn,n.context),Yn=void 0}}var ti,ai={create:ei,update:ei};function ni(e,n){if(!t(e.data.domProps)||!t(n.data.domProps)){var i,r,s=n.elm,o=e.data.domProps||{},l=n.data.domProps||{};for(i in a(l.__ob__)&&(l=n.data.domProps=z({},l)),o)i in l||(s[i]="");for(i in l){if(r=l[i],"textContent"===i||"innerHTML"===i){if(n.children&&(n.children.length=0),r===o[i])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===i&&"PROGRESS"!==s.tagName){s._value=r;var c=t(r)?"":String(r);ii(s,c)&&(s.value=c)}else if("innerHTML"===i&&Ka(s.tagName)&&t(s.innerHTML)){(ti=ti||document.createElement("div")).innerHTML=""+r+"";for(var d=ti.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;d.firstChild;)s.appendChild(d.firstChild)}else if(r!==o[i])try{s[i]=r}catch(e){}}}}function ii(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var a=!0;try{a=document.activeElement!==e}catch(e){}return a&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(a(i)){if(i.number)return u(n)!==u(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ri={create:ni,update:ni},si=b((function(e){var t={},a=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var n=e.split(a);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function oi(e){var t=li(e.style);return e.staticStyle?z(e.staticStyle,t):t}function li(e){return Array.isArray(e)?S(e):"string"==typeof e?si(e):e}var ci,di=/^--/,ui=/\s*!important$/,pi=function(e,t,a){if(di.test(t))e.style.setProperty(t,a);else if(ui.test(a))e.style.setProperty(A(t),a.replace(ui,""),"important");else{var n=hi(t);if(Array.isArray(a))for(var i=0,r=a.length;i-1?t.split(vi).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var a=" "+(e.getAttribute("class")||"")+" ";a.indexOf(" "+t+" ")<0&&e.setAttribute("class",(a+t).trim())}}function yi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(vi).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var a=" "+(e.getAttribute("class")||"")+" ",n=" "+t+" ";a.indexOf(n)>=0;)a=a.replace(n," ");(a=a.trim())?e.setAttribute("class",a):e.removeAttribute("class")}}function ki(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&z(t,wi(e.name||"v")),z(t,e),t}return"string"==typeof e?wi(e):void 0}}var wi=b((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),_i=q&&!K,Ai="transition",xi="transitionend",Ci="animation",zi="animationend";_i&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ai="WebkitTransition",xi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ci="WebkitAnimation",zi="webkitAnimationEnd"));var Si=q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ti(e){Si((function(){Si(e)}))}function Mi(e,t){var a=e._transitionClasses||(e._transitionClasses=[]);a.indexOf(t)<0&&(a.push(t),bi(e,t))}function Fi(e,t){e._transitionClasses&&f(e._transitionClasses,t),yi(e,t)}function Pi(e,t,a){var n=Ni(e,t),i=n.type,r=n.timeout,s=n.propCount;if(!i)return a();var o="transition"===i?xi:zi,l=0,c=function(){e.removeEventListener(o,d),a()},d=function(t){t.target===e&&++l>=s&&c()};setTimeout((function(){l0&&(a="transition",d=s,u=r.length):"animation"===t?c>0&&(a="animation",d=c,u=l.length):u=(a=(d=Math.max(s,c))>0?s>c?"transition":"animation":null)?"transition"===a?r.length:l.length:0,{type:a,timeout:d,propCount:u,hasTransform:"transition"===a&&Di.test(n[Ai+"Property"])}}function Li(e,t){for(;e.length1}function Oi(e,t){!0!==t.data.show&&$i(t)}var Ei=function(e){var r,s,o={},l=e.modules,c=e.nodeOps;for(r=0;rh?y(e,t(i[v+1])?null:i[v+1].elm,i,m,v,r):m>v&&w(n,p,h)}(p,f,v,r,d):a(v)?(a(e.text)&&c.setTextContent(p,""),y(p,null,v,0,v.length-1,r)):a(f)?w(f,0,f.length-1):a(e.text)&&c.setTextContent(p,""):e.text!==i.text&&c.setTextContent(p,i.text),a(h)&&a(m=h.hook)&&a(m=m.postpatch)&&m(e,i)}}}function C(e,t,i){if(n(i)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,s.selected!==r&&(s.selected=r);else if(P(Hi(s),n))return void(e.selectedIndex!==o&&(e.selectedIndex=o));i||(e.selectedIndex=-1)}}function Gi(e,t){return t.every((function(t){return!P(t,e)}))}function Hi(e){return"_value"in e?e._value:e.value}function Wi(e){e.target.composing=!0}function Ki(e){e.target.composing&&(e.target.composing=!1,Yi(e.target,"input"))}function Yi(e,t){var a=document.createEvent("HTMLEvents");a.initEvent(t,!0,!0),e.dispatchEvent(a)}function Qi(e){return!e.componentInstance||e.data&&e.data.transition?e:Qi(e.componentInstance._vnode)}var Ji={model:Bi,show:{bind:function(e,t,a){var n=t.value,i=(a=Qi(a)).data&&a.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;n&&i?(a.data.show=!0,$i(a,(function(){e.style.display=r}))):e.style.display=n?r:"none"},update:function(e,t,a){var n=t.value;!n!=!t.oldValue&&((a=Qi(a)).data&&a.data.transition?(a.data.show=!0,n?$i(a,(function(){e.style.display=e.__vOriginalDisplay})):Ii(a,(function(){e.style.display="none"}))):e.style.display=n?e.__vOriginalDisplay:"none")},unbind:function(e,t,a,n,i){i||(e.style.display=e.__vOriginalDisplay)}}},Zi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Xi(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Xi(Gt(t.children)):e}function er(e){var t={},a=e.$options;for(var n in a.propsData)t[n]=e[n];var i=a._parentListeners;for(var r in i)t[k(r)]=i[r];return t}function tr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ar=function(e){return e.tag||Vt(e)},nr=function(e){return"show"===e.name},ir={name:"transition",props:Zi,abstract:!0,render:function(e){var t=this,a=this.$slots.default;if(a&&(a=a.filter(ar)).length){var n=this.mode,r=a[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;var s=Xi(r);if(!s)return r;if(this._leaving)return tr(e,r);var o="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?o+"comment":o+s.tag:i(s.key)?0===String(s.key).indexOf(o)?s.key:o+s.key:s.key;var l=(s.data||(s.data={})).transition=er(this),c=this._vnode,d=Xi(c);if(s.data.directives&&s.data.directives.some(nr)&&(s.data.show=!0),d&&d.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(s,d)&&!Vt(d)&&(!d.componentInstance||!d.componentInstance._vnode.isComment)){var u=d.data.transition=z({},l);if("out-in"===n)return this._leaving=!0,st(u,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),tr(e,r);if("in-out"===n){if(Vt(s))return c;var p,m=function(){p()};st(l,"afterEnter",m),st(l,"enterCancelled",m),st(u,"delayLeave",(function(e){p=e}))}}return r}}},rr=z({tag:String,moveClass:String},Zi);function sr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function or(e){e.data.newPos=e.elm.getBoundingClientRect()}function lr(e){var t=e.data.pos,a=e.data.newPos,n=t.left-a.left,i=t.top-a.top;if(n||i){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate("+n+"px,"+i+"px)",r.transitionDuration="0s"}}delete rr.mode;var cr={Transition:ir,TransitionGroup:{props:rr,beforeMount:function(){var e=this,t=this._update;this._update=function(a,n){var i=Jt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,a,n)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",a=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],r=this.children=[],s=er(this),o=0;o-1?Ja[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Ja[e]=/HTMLUnknownElement/.test(t.toString())},z(xa.options.directives,Ji),z(xa.options.components,cr),xa.prototype.__patch__=q?Ei:T,xa.prototype.$mount=function(e,t){return function(e,t,a){var n;return e.$el=t,e.$options.render||(e.$options.render=he),ta(e,"beforeMount"),n=function(){e._update(e._render(),a)},new ma(e,n,T,{before:function(){e._isMounted&&!e._isDestroyed&&ta(e,"beforeUpdate")}},!0),a=!1,null==e.$vnode&&(e._isMounted=!0,ta(e,"mounted")),e}(this,e=e&&q?Xa(e):void 0,t)},q&&setTimeout((function(){$.devtools&&ae&&ae.emit("init",xa)}),0);var dr=/\{\{((?:.|\r?\n)+?)\}\}/g,ur=/[-.*+?^${}()|[\]\/\\]/g,pr=b((function(e){var t=e[0].replace(ur,"\\$&"),a=e[1].replace(ur,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+a,"g")}));var mr={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var a=jn(e,"class");a&&(e.staticClass=JSON.stringify(a));var n=Rn(e,"class",!1);n&&(e.classBinding=n)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var hr,fr={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var a=jn(e,"style");a&&(e.staticStyle=JSON.stringify(si(a)));var n=Rn(e,"style",!1);n&&(e.styleBinding=n)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},gr=function(e){return(hr=hr||document.createElement("div")).innerHTML=e,hr.textContent},vr=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),br=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),yr=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),kr=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,wr=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_r="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+I.source+"]*",Ar="((?:"+_r+"\\:)?"+_r+")",xr=new RegExp("^<"+Ar),Cr=/^\s*(\/?)>/,zr=new RegExp("^<\\/"+Ar+"[^>]*>"),Sr=/^]+>/i,Tr=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Nr=/&(?:lt|gt|quot|amp|#39);/g,Lr=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ur=p("pre,textarea",!0),$r=function(e,t){return e&&Ur(e)&&"\n"===t[0]};function Ir(e,t){var a=t?Lr:Nr;return e.replace(a,(function(e){return Dr[e]}))}var Rr,jr,Or,Er,Br,qr,Vr,Gr,Hr=/^@|^v-on:/,Wr=/^v-|^@|^:|^#/,Kr=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Yr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Qr=/^\(|\)$/g,Jr=/^\[.*\]$/,Zr=/:(.*)$/,Xr=/^:|^\.|^v-bind:/,es=/\.[^.\]]+(?=[^\]]*$)/g,ts=/^v-slot(:|$)|^#/,as=/[\r\n]/,ns=/\s+/g,is=b(gr);function rs(e,t,a){return{type:1,tag:e,attrsList:t,attrsMap:ps(t),rawAttrsMap:{},parent:a,children:[]}}function ss(e,t){Rr=t.warn||Fn,qr=t.isPreTag||M,Vr=t.mustUseProp||M,Gr=t.getTagNamespace||M;t.isReservedTag;Or=Pn(t.modules,"transformNode"),Er=Pn(t.modules,"preTransformNode"),Br=Pn(t.modules,"postTransformNode"),jr=t.delimiters;var a,n,i=[],r=!1!==t.preserveWhitespace,s=t.whitespace,o=!1,l=!1;function c(e){if(d(e),o||e.processed||(e=os(e,t)),i.length||e===a||a.if&&(e.elseif||e.else)&&cs(a,{exp:e.elseif,block:e}),n&&!e.forbidden)if(e.elseif||e.else)s=e,(c=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(n.children))&&c.if&&cs(c,{exp:s.elseif,block:s});else{if(e.slotScope){var r=e.slotTarget||'"default"';(n.scopedSlots||(n.scopedSlots={}))[r]=e}n.children.push(e),e.parent=n}var s,c;e.children=e.children.filter((function(e){return!e.slotScope})),d(e),e.pre&&(o=!1),qr(e.tag)&&(l=!1);for(var u=0;u]*>)","i")),p=e.replace(u,(function(e,a,n){return c=n.length,Fr(d)||"noscript"===d||(a=a.replace(//g,"$1").replace(//g,"$1")),$r(d,a)&&(a=a.slice(1)),t.chars&&t.chars(a),""}));l+=e.length-p.length,e=p,z(d,l-c,l)}else{var m=e.indexOf("<");if(0===m){if(Tr.test(e)){var h=e.indexOf("--\x3e");if(h>=0){t.shouldKeepComment&&t.comment(e.substring(4,h),l,l+h+3),A(h+3);continue}}if(Mr.test(e)){var f=e.indexOf("]>");if(f>=0){A(f+2);continue}}var g=e.match(Sr);if(g){A(g[0].length);continue}var v=e.match(zr);if(v){var b=l;A(v[0].length),z(v[1],b,l);continue}var y=x();if(y){C(y),$r(y.tagName,e)&&A(1);continue}}var k=void 0,w=void 0,_=void 0;if(m>=0){for(w=e.slice(m);!(zr.test(w)||xr.test(w)||Tr.test(w)||Mr.test(w)||(_=w.indexOf("<",1))<0);)m+=_,w=e.slice(m);k=e.substring(0,m)}m<0&&(k=e),k&&A(k.length),t.chars&&k&&t.chars(k,l-k.length,l)}if(e===a){t.chars&&t.chars(e);break}}function A(t){l+=t,e=e.substring(t)}function x(){var t=e.match(xr);if(t){var a,n,i={tagName:t[1],attrs:[],start:l};for(A(t[0].length);!(a=e.match(Cr))&&(n=e.match(wr)||e.match(kr));)n.start=l,A(n[0].length),n.end=l,i.attrs.push(n);if(a)return i.unarySlash=a[1],A(a[0].length),i.end=l,i}}function C(e){var a=e.tagName,l=e.unarySlash;r&&("p"===n&&yr(a)&&z(n),o(a)&&n===a&&z(a));for(var c=s(a)||!!l,d=e.attrs.length,u=new Array(d),p=0;p=0&&i[s].lowerCasedTag!==o;s--);else s=0;if(s>=0){for(var c=i.length-1;c>=s;c--)t.end&&t.end(i[c].tag,a,r);i.length=s,n=s&&i[s-1].tag}else"br"===o?t.start&&t.start(e,[],!0,a,r):"p"===o&&(t.start&&t.start(e,[],!1,a,r),t.end&&t.end(e,a,r))}z()}(e,{warn:Rr,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,r,s,d,u){var p=n&&n.ns||Gr(e);W&&"svg"===p&&(r=function(e){for(var t=[],a=0;al&&(o.push(r=e.slice(l,i)),s.push(JSON.stringify(r)));var c=Tn(n[1].trim());s.push("_s("+c+")"),o.push({"@binding":c}),l=i+n[0].length}return l-1"+("true"===r?":("+t+")":":_q("+t+","+r+")")),In(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+s+");if(Array.isArray($$a)){var $$v="+(n?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+qn(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+qn(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+qn(t,"$$c")+"}",null,!0)}(e,n,i);else if("input"===r&&"radio"===s)!function(e,t,a){var n=a&&a.number,i=Rn(e,"value")||"null";Dn(e,"checked","_q("+t+","+(i=n?"_n("+i+")":i)+")"),In(e,"change",qn(t,i),null,!0)}(e,n,i);else if("input"===r||"textarea"===r)!function(e,t,a){var n=e.attrsMap.type,i=a||{},r=i.lazy,s=i.number,o=i.trim,l=!r&&"range"!==n,c=r?"change":"range"===n?"__r":"input",d="$event.target.value";o&&(d="$event.target.value.trim()");s&&(d="_n("+d+")");var u=qn(t,d);l&&(u="if($event.target.composing)return;"+u);Dn(e,"value","("+t+")"),In(e,c,u,null,!0),(o||s)&&In(e,"blur","$forceUpdate()")}(e,n,i);else if(!$.isReservedTag(r))return Bn(e,n,i),!1;return!0},text:function(e,t){t.value&&Dn(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Dn(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:vr,mustUseProp:La,canBeLeftOpenTag:br,isReservedTag:Ya,getTagNamespace:Qa,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(gs)},ks=b((function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function ws(e,t){e&&(vs=ks(t.staticKeys||""),bs=t.isReservedTag||M,_s(e),As(e,!1))}function _s(e){if(e.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||m(e.tag)||!bs(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(vs)))}(e),1===e.type){if(!bs(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,a=e.children.length;t|^function(?:\s+[\w$]+)?\s*\(/,Cs=/\([^)]*?\);*$/,zs=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ss={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ts={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ms=function(e){return"if("+e+")return null;"},Fs={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ms("$event.target !== $event.currentTarget"),ctrl:Ms("!$event.ctrlKey"),shift:Ms("!$event.shiftKey"),alt:Ms("!$event.altKey"),meta:Ms("!$event.metaKey"),left:Ms("'button' in $event && $event.button !== 0"),middle:Ms("'button' in $event && $event.button !== 1"),right:Ms("'button' in $event && $event.button !== 2")};function Ps(e,t){var a=t?"nativeOn:":"on:",n="",i="";for(var r in e){var s=Ds(e[r]);e[r]&&e[r].dynamic?i+=r+","+s+",":n+='"'+r+'":'+s+","}return n="{"+n.slice(0,-1)+"}",i?a+"_d("+n+",["+i.slice(0,-1)+"])":a+n}function Ds(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Ds(e)})).join(",")+"]";var t=zs.test(e.value),a=xs.test(e.value),n=zs.test(e.value.replace(Cs,""));if(e.modifiers){var i="",r="",s=[];for(var o in e.modifiers)if(Fs[o])r+=Fs[o],Ss[o]&&s.push(o);else if("exact"===o){var l=e.modifiers;r+=Ms(["ctrl","shift","alt","meta"].filter((function(e){return!l[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else s.push(o);return s.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ns).join("&&")+")return null;"}(s)),r&&(i+=r),"function($event){"+i+(t?"return "+e.value+"($event)":a?"return ("+e.value+")($event)":n?"return "+e.value:e.value)+"}"}return t||a?e.value:"function($event){"+(n?"return "+e.value:e.value)+"}"}function Ns(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var a=Ss[e],n=Ts[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(a)+",$event.key,"+JSON.stringify(n)+")"}var Ls={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(a){return"_b("+a+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:T},Us=function(e){this.options=e,this.warn=e.warn||Fn,this.transforms=Pn(e.modules,"transformCode"),this.dataGenFns=Pn(e.modules,"genData"),this.directives=z(z({},Ls),e.directives);var t=e.isReservedTag||M;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function $s(e,t){var a=new Us(t);return{render:"with(this){return "+(e?Is(e,a):'_c("div")')+"}",staticRenderFns:a.staticRenderFns}}function Is(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Rs(e,t);if(e.once&&!e.onceProcessed)return js(e,t);if(e.for&&!e.forProcessed)return Bs(e,t);if(e.if&&!e.ifProcessed)return Os(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var a=e.slotName||'"default"',n=Hs(e,t),i="_t("+a+(n?","+n:""),r=e.attrs||e.dynamicAttrs?Ys((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}}))):null,s=e.attrsMap["v-bind"];!r&&!s||n||(i+=",null");r&&(i+=","+r);s&&(i+=(r?"":",null")+","+s);return i+")"}(e,t);var a;if(e.component)a=function(e,t,a){var n=t.inlineTemplate?null:Hs(t,a,!0);return"_c("+e+","+qs(t,a)+(n?","+n:"")+")"}(e.component,e,t);else{var n;(!e.plain||e.pre&&t.maybeComponent(e))&&(n=qs(e,t));var i=e.inlineTemplate?null:Hs(e,t,!0);a="_c('"+e.tag+"'"+(n?","+n:"")+(i?","+i:"")+")"}for(var r=0;r>>0}(s):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(a+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var r=function(e,t){var a=e.children[0];if(a&&1===a.type){var n=$s(a,t.options);return"inlineTemplate:{render:function(){"+n.render+"},staticRenderFns:["+n.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);r&&(a+=r+",")}return a=a.replace(/,$/,"")+"}",e.dynamicAttrs&&(a="_b("+a+',"'+e.tag+'",'+Ys(e.dynamicAttrs)+")"),e.wrapData&&(a=e.wrapData(a)),e.wrapListeners&&(a=e.wrapListeners(a)),a}function Vs(e){return 1===e.type&&("slot"===e.tag||e.children.some(Vs))}function Gs(e,t){var a=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!a)return Os(e,t,Gs,"null");if(e.for&&!e.forProcessed)return Bs(e,t,Gs);var n="_empty_"===e.slotScope?"":String(e.slotScope),i="function("+n+"){return "+("template"===e.tag?e.if&&a?"("+e.if+")?"+(Hs(e,t)||"undefined")+":undefined":Hs(e,t)||"undefined":Is(e,t))+"}",r=n?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+r+"}"}function Hs(e,t,a,n,i){var r=e.children;if(r.length){var s=r[0];if(1===r.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var o=a?t.maybeComponent(s)?",1":",0":"";return""+(n||Is)(s,t)+o}var l=a?function(e,t){for(var a=0,n=0;n':'
',eo.innerHTML.indexOf(" ")>0}var no=!!q&&ao(!1),ro=!!q&&ao(!0),so=b((function(e){var t=Xa(e);return t&&t.innerHTML})),oo=xa.prototype.$mount;function lo(e,t){void 0===t&&(t={});var a=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===a&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}xa.prototype.$mount=function(e,t){if((e=e&&Xa(e))===document.body||e===document.documentElement)return this;var a=this.$options;if(!a.render){var n=a.template;if(n)if("string"==typeof n)"#"===n.charAt(0)&&(n=so(n));else{if(!n.nodeType)return this;n=n.innerHTML}else e&&(n=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(n){var i=to(n,{outputSourceRange:!1,shouldDecodeNewlines:no,shouldDecodeNewlinesForHref:ro,delimiters:a.delimiters,comments:a.comments},this),r=i.render,s=i.staticRenderFns;a.render=r,a.staticRenderFns=s}}return oo.call(this,e,t)},xa.compile=to;lo("/* fallback */\n\n@font-face {\n font-family: 'Material Icons';\n\n font-style: normal;\n\n font-weight: 400;\n\n src: url('../../fonts/icons/MaterialIcons-Regular.eot'); /* For IE6-8 */\n\n src: url('../../fonts/icons/MaterialIcons-Regular.woff2') format('woff2'),\n\t\turl('../../fonts/icons/MaterialIcons-Regular.woff') format('woff'),\n\t\turl('../../fonts/icons/MaterialIcons-Regular.ttf') format('truetype');\n}\n\n.material-icons {\n font-family: 'Material Icons';\n font-weight: normal;\n font-style: normal;\n font-size: 24px;\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n font-feature-settings: 'liga';\n -webkit-font-smoothing: antialiased;\n}\n\n.material-icons.explicit-icon {\n margin-right: 0.3125em;\n margin-left: -3px;\n color: hsl(240, 5%, 59%);\n}\n\n.material-icons.explicit-icon.explicit-icon--right {\n margin-right: 0px;\n margin-left: 0.3125em;\n}\n\n.material-icons.disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.material-icons.mirrored {\n transform: scaleX(-1);\n}\n");lo("/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hmIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hvIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hnIqOjjg.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hoIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hkIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hlIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWyV9hrIqM.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Udc1UAw.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0ddc1UAw.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Vdc1UAw.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0adc1UAw.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Wdc1UAw.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Xdc1UAw.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Zdc0.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhmIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhvIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhnIqOjjg.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhoIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhkIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhlIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKXGUdhrIqM.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhmIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhvIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhnIqOjjg.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhoIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhkIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhlIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKWiUNhrIqM.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hmIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hvIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hnIqOjjg.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hoIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hkIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hlIqOjjg.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: italic;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/memnYaGs126MiZpBA-UFUKW-U9hrIqM.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OX-hpOqc.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OVuhpOqc.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OXuhpOqc.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OUehpOqc.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OXehpOqc.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OXOhpOqc.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 300;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OUuhp.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFWJ0bbck.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFUZ0bbck.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFWZ0bbck.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFVp0bbck.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFWp0bbck.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFW50bbck.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 400;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem8YaGs126MiZpBA-UFVZ0b.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOX-hpOqc.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOVuhpOqc.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOXuhpOqc.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOUehpOqc.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOXehpOqc.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOXOhpOqc.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 600;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOUuhp.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOX-hpOqc.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOVuhpOqc.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOXuhpOqc.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOUehpOqc.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOXehpOqc.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOXOhpOqc.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 700;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOUuhp.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* cyrillic-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOX-hpOqc.woff2') format('woff2');\n\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n/* cyrillic */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOVuhpOqc.woff2') format('woff2');\n\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n/* greek-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOXuhpOqc.woff2') format('woff2');\n\n unicode-range: U+1F00-1FFF;\n}\n\n/* greek */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOUehpOqc.woff2') format('woff2');\n\n unicode-range: U+0370-03FF;\n}\n\n/* vietnamese */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOXehpOqc.woff2') format('woff2');\n\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n\n/* latin-ext */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOXOhpOqc.woff2') format('woff2');\n\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* latin */\n\n@font-face {\n font-family: 'Open Sans';\n\n font-style: normal;\n\n font-weight: 800;\n\n font-display: swap;\n\n src: url('../../fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOUuhp.woff2') format('woff2');\n\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n");lo("a {\n color: dodgerblue;\n}\n\n.container {\n width: 100%;\n}\n\n@media (min-width: 640px) {\n .container {\n max-width: 640px;\n }\n}\n\n@media (min-width: 768px) {\n .container {\n max-width: 768px;\n }\n}\n\n@media (min-width: 1024px) {\n .container {\n max-width: 1024px;\n }\n}\n\n@media (min-width: 1280px) {\n .container {\n max-width: 1280px;\n }\n}\n\n.space-y-5 > :not(template) ~ :not(template) {\n --space-y-reverse: 0;\n margin-top: calc(1.25rem * calc(1 - var(--space-y-reverse)));\n margin-bottom: calc(1.25rem * var(--space-y-reverse));\n}\n\n.bg-black {\n --bg-opacity: 1;\n background-color: #000;\n background-color: rgba(0, 0, 0, var(--bg-opacity));\n}\n\n.bg-red-600 {\n --bg-opacity: 1;\n background-color: #e53e3e;\n background-color: rgba(229, 62, 62, var(--bg-opacity));\n}\n\n.bg-grayscale-200 {\n --bg-opacity: 1;\n background-color: hsl(0, 0%, 20%);\n background-color: rgba(51, 51, 51, var(--bg-opacity));\n}\n\n.bg-primary {\n --bg-opacity: 1;\n background-color: hsl(210, 100%, 52%);\n background-color: rgba(10.20000000000001, 132.59999999999988, 255, var(--bg-opacity));\n}\n\n.bg-background-main {\n background-color: var(--main-background);\n}\n\n.bg-panels-bg {\n background-color: var(--panels-background);\n}\n\n.hover\\:bg-primary:hover {\n --bg-opacity: 1;\n background-color: hsl(210, 100%, 52%);\n background-color: rgba(10.20000000000001, 132.59999999999988, 255, var(--bg-opacity));\n}\n\n.hover\\:bg-background-main:hover {\n background-color: var(--main-background);\n}\n\n.bg-opacity-50 {\n --bg-opacity: 0.5;\n}\n\n.border-transparent {\n border-color: transparent;\n}\n\n.border-grayscale-500 {\n --border-opacity: 1;\n border-color: hsl(0, 0%, 50%);\n border-color: rgba(127.5, 127.5, 127.5, var(--border-opacity));\n}\n\n.rounded {\n border-radius: 0.25rem;\n}\n\n.rounded-xl {\n border-radius: 0.75rem;\n}\n\n.rounded-full {\n border-radius: 9999px;\n}\n\n.border-solid {\n border-style: solid;\n}\n\n.border-0 {\n border-width: 0;\n}\n\n.border {\n border-width: 1px;\n}\n\n.border-t {\n border-top-width: 1px;\n}\n\n.first\\:border-t-0:first-child {\n border-top-width: 0;\n}\n\n.cursor-default {\n cursor: default;\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.block {\n display: block;\n}\n\n.inline-block {\n display: inline-block;\n}\n\n.flex {\n display: flex;\n}\n\n.inline-flex {\n display: inline-flex;\n}\n\n.table {\n display: table;\n}\n\n.grid {\n display: grid;\n}\n\n.hidden {\n display: none;\n}\n\n.flex-col {\n flex-direction: column;\n}\n\n.place-items-center {\n place-items: center;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.justify-evenly {\n justify-content: space-evenly;\n}\n\n.flex-1 {\n flex: 1 1 0%;\n}\n\n.flex-shrink {\n flex-shrink: 1;\n}\n\n.float-none {\n float: none;\n}\n\n.font-sans {\n font-family: Open Sans, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n}\n\n.h-3 {\n height: 0.75rem;\n}\n\n.h-6 {\n height: 1.5rem;\n}\n\n.h-12 {\n height: 3rem;\n}\n\n.h-16 {\n height: 4rem;\n}\n\n.h-32 {\n height: 8rem;\n}\n\n.h-40 {\n height: 10rem;\n}\n\n.h-full {\n height: 100%;\n}\n\n.h-screen {\n height: 100vh;\n}\n\n.text-xs {\n font-size: 0.75rem;\n}\n\n.text-base {\n font-size: 1rem;\n}\n\n.text-lg {\n font-size: 1.125rem;\n}\n\n.text-xl {\n font-size: 1.25rem;\n}\n\n.text-2xl {\n font-size: 1.5rem;\n}\n\n.text-3xl {\n font-size: 1.875rem;\n}\n\n.text-4xl {\n font-size: 2.25rem;\n}\n\n.text-5xl {\n font-size: 3rem;\n}\n\n.m-0 {\n margin: 0;\n}\n\n.m-1 {\n margin: 0.25rem;\n}\n\n.my-4 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n\n.my-5 {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n}\n\n.mb-1 {\n margin-bottom: 0.25rem;\n}\n\n.ml-1 {\n margin-left: 0.25rem;\n}\n\n.mr-2 {\n margin-right: 0.5rem;\n}\n\n.mb-2 {\n margin-bottom: 0.5rem;\n}\n\n.ml-2 {\n margin-left: 0.5rem;\n}\n\n.mb-3 {\n margin-bottom: 0.75rem;\n}\n\n.mt-4 {\n margin-top: 1rem;\n}\n\n.mr-4 {\n margin-right: 1rem;\n}\n\n.mb-4 {\n margin-bottom: 1rem;\n}\n\n.mt-5 {\n margin-top: 1.25rem;\n}\n\n.mb-5 {\n margin-bottom: 1.25rem;\n}\n\n.ml-5 {\n margin-left: 1.25rem;\n}\n\n.mt-6 {\n margin-top: 1.5rem;\n}\n\n.mb-6 {\n margin-bottom: 1.5rem;\n}\n\n.mb-8 {\n margin-bottom: 2rem;\n}\n\n.ml-auto {\n margin-left: auto;\n}\n\n.-mt-16 {\n margin-top: -4rem;\n}\n\n.-ml-20 {\n margin-left: -5rem;\n}\n\n.opacity-0 {\n opacity: 0;\n}\n\n.opacity-100 {\n opacity: 1;\n}\n\n.overflow-hidden {\n overflow: hidden;\n}\n\n.p-0 {\n padding: 0;\n}\n\n.p-1 {\n padding: 0.25rem;\n}\n\n.p-2 {\n padding: 0.5rem;\n}\n\n.p-3 {\n padding: 0.75rem;\n}\n\n.px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.py-5 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n\n.py-6 {\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n}\n\n.pr-2 {\n padding-right: 0.5rem;\n}\n\n.pb-3 {\n padding-bottom: 0.75rem;\n}\n\n.absolute {\n position: absolute;\n}\n\n.relative {\n position: relative;\n}\n\n.sticky {\n position: -webkit-sticky;\n position: sticky;\n}\n\n.top-0 {\n top: 0;\n}\n\n.right-0 {\n right: 0;\n}\n\n.left-0 {\n left: 0;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-white {\n --text-opacity: 1;\n color: #fff;\n color: rgba(255, 255, 255, var(--text-opacity));\n}\n\n.text-grayscale-870 {\n --text-opacity: 1;\n color: hsl(0, 0%, 87%);\n color: rgba(221.85, 221.85, 221.85, var(--text-opacity));\n}\n\n.text-primary {\n --text-opacity: 1;\n color: hsl(210, 100%, 52%);\n color: rgba(10.20000000000001, 132.59999999999988, 255, var(--text-opacity));\n}\n\n.text-foreground {\n color: var(--foreground);\n}\n\n.hover\\:text-primary:hover {\n --text-opacity: 1;\n color: hsl(210, 100%, 52%);\n color: rgba(10.20000000000001, 132.59999999999988, 255, var(--text-opacity));\n}\n\n.group:hover .group-hover\\:text-primary {\n --text-opacity: 1;\n color: hsl(210, 100%, 52%);\n color: rgba(10.20000000000001, 132.59999999999988, 255, var(--text-opacity));\n}\n\n.capitalize {\n text-transform: capitalize;\n}\n\n.no-underline {\n text-decoration: none;\n}\n\n.hover\\:underline:hover {\n text-decoration: underline;\n}\n\n.visible {\n visibility: visible;\n}\n\n.invisible {\n visibility: hidden;\n}\n\n.whitespace-no-wrap {\n white-space: nowrap;\n}\n\n.break-words {\n word-wrap: break-word;\n overflow-wrap: break-word;\n}\n\n.w-3 {\n width: 0.75rem;\n}\n\n.w-4 {\n width: 1rem;\n}\n\n.w-6 {\n width: 1.5rem;\n}\n\n.w-8 {\n width: 2rem;\n}\n\n.w-16 {\n width: 4rem;\n}\n\n.w-32 {\n width: 8rem;\n}\n\n.w-40 {\n width: 10rem;\n}\n\n.w-64 {\n width: 16rem;\n}\n\n.w-full {\n width: 100%;\n}\n\n.w-screen {\n width: 100vw;\n}\n\n.z-10 {\n z-index: 10;\n}\n\n.z-50 {\n z-index: 50;\n}\n\n.transform {\n --transform-translate-x: 0;\n --transform-translate-y: 0;\n --transform-rotate: 0;\n --transform-skew-x: 0;\n --transform-skew-y: 0;\n --transform-scale-x: 1;\n --transform-scale-y: 1;\n transform: translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y));\n}\n\n.transition-all {\n transition-property: all;\n}\n\n.transition {\n transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;\n}\n\n.transition-colors {\n transition-property: background-color, border-color, color, fill, stroke;\n}\n\n.transition-opacity {\n transition-property: opacity;\n}\n\n.ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n.ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.duration-150 {\n transition-duration: 150ms;\n}\n\n.duration-200 {\n transition-duration: 200ms;\n}\n\n.duration-500 {\n transition-duration: 500ms;\n}\n\n@-webkit-keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n@-webkit-keyframes ping {\n 75%, 100% {\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@keyframes ping {\n 75%, 100% {\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@keyframes pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@-webkit-keyframes bounce {\n 0%, 100% {\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n@keyframes bounce {\n 0%, 100% {\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n:root {\n font-size: 16px;\n --main-scroll: hsl(0, 0%, 30%);\n --panels-scroll: hsl(180, 2%, 17%);\n --toast-background: hsla(240, 12%, 16%, 0.85);\n --toast-secondary: hsla(240, 12%, 16%, 0.15);\n --toast-text: hsla(0, 0%, 100%, 0.85);\n --primary-color: hsl(210, 100%, 52%);\n --primary-text: hsl(0, 0%, 87%);\n --secondary-color: hsl(46, 100%, 57%);\n}\n\n:root[data-theme='light'] {\n --main-background: #fff;\n --secondary-background: hsl(0, 0%, 93%);\n --foreground: hsl(0, 0%, 20%);\n --panels-background: hsl(216, 4%, 78%);\n --table-bg: #fff;\n --table-zebra: hsl(0, 0%, 90%);\n --table-highlight: hsl(0, 0%, 84%);\n}\n\n:root[data-theme='dark'] {\n --main-background: hsl(240, 10%, 8%);\n --secondary-background: hsl(240, 12%, 16%);\n --foreground: hsl(0, 0%, 93%);\n --panels-background: hsl(240, 15%, 12%);\n --table-bg: hsl(240, 10%, 8%);\n --table-zebra: hsl(240, 15%, 11%);\n --table-highlight: hsl(240, 10%, 22%);\n}\n\n:root[data-theme='purple'] {\n --main-background: hsl(261, 74%, 6%);\n --secondary-background: hsl(257, 61%, 10%);\n --foreground: hsl(0, 0%, 93%);\n --panels-background: hsl(257, 70%, 9%);\n --table-bg: hsl(261, 74%, 6%);\n --table-zebra: hsl(257, 61%, 10%);\n --table-highlight: hsl(257, 66%, 27%);\n}\n\n* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\n\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd {\n margin: 0;\n border: 0;\n padding: 0;\n vertical-align: baseline;\n font: inherit;\n font-size: 100%;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\n/* Taken from Tailwind Preflight */\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button;\n -moz-appearance: button;\n appearance: button;\n}\n\ninput[type='text'],\ninput[type='password'],\ninput[type='number'],\ninput[type='search'],\ninput[type='checkbox'],\nselect {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n\nbutton,\n[role='button'] {\n cursor: pointer;\n}\n\np {\n word-break: break-word;\n}\n\n*,\n::before,\n::after {\n border-width: 0;\n border-style: solid;\n}\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\ninput[type='text'],\ninput[type='password'],\ninput[type='number'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n margin-bottom: 8px;\n border: 0px solid black;\n border-radius: 4px;\n background-color: var(--secondary-background);\n padding: 0px 8px;\n width: calc(100% - 16px);\n line-height: 36px;\n color: var(--foreground);\n}\n\ninput[type='checkbox'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n display: inline-block;\n position: relative;\n opacity: 0.5;\n margin: 3px;\n border: 2px solid gray;\n border-radius: 2px;\n background-color: none;\n padding: 7px;\n}\n\ninput[type='checkbox']:checked {\n opacity: 1;\n margin: 3px;\n border: 0px solid var(--primary-color);\n border-radius: 2px;\n background-color: var(--primary-color);\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='18' viewBox='3 3 18 18' width='18'%3E%3Cpath fill='%23ffffff' d='M 10,17 5,12 6.41,10.59 10,14.17 17.59,6.58 19,8 Z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E\");\n background-position: center center;\n padding: 9px;\n color: var(--primary-text);\n}\n\nselect {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n margin-bottom: 8px;\n border: 0px solid black;\n border-radius: 4px;\n background-clip: border-box;\n background-color: var(--secondary-background);\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath style='fill%3A%23000000%3Bfill-opacity%3A0.25' d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E\");\n background-position: calc(100% - 8px) center;\n background-repeat: no-repeat;\n background-size: 24px;\n padding: 0px 40px 0px 8px;\n width: 100%;\n line-height: 36px;\n color: var(--foreground);\n}\n\n.clickable {\n cursor: pointer !important;\n}\n\n.coverart {\n background-color: var(--secondary-background);\n}\n\n.table {\n width: 100%;\n -webkit-border-horizontal-spacing: 0px;\n -webkit-border-vertical-spacing: 0px;\n /* === Tracks Table === */\n /* === Tracklist Table === */\n /* === Charts Table === */\n}\n\n.table tbody tr:not(.table__row-no-highlight):hover {\n background: var(--table-highlight);\n cursor: default;\n}\n\n.table tr {\n transition: background-color 175ms ease-in-out;\n background: var(--table-bg);\n}\n\n.table tr:nth-child(even) {\n transition: background-color 175ms ease-in-out;\n background: var(--table-zebra);\n}\n\n.table tr:not(:last-child) {\n border-bottom: 1px solid var(--table-highlight);\n}\n\n.table td,\n .table th {\n vertical-align: middle;\n}\n\n.table th .sortable {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.table th .sort-asc::after,\n .table th .sort-desc::after {\n padding-left: 3px;\n line-height: 0.7em;\n font-size: 0.7em;\n}\n\n.table th .sort-asc::after {\n content: '\\25b2';\n}\n\n.table th .sort-desc::after {\n content: '\\25bc';\n}\n\n.table td {\n padding: 7px 10px;\n}\n\n.table td:first-child {\n padding: 7px 10px 7px 20px;\n}\n\n.table td:last-child {\n padding: 7px 20px 7px 10px;\n}\n\n.table td img {\n vertical-align: middle;\n}\n\n.table--tracks {\n border-collapse: collapse;\n}\n\n.table--tracks thead {\n border-bottom: 2px solid var(--table-highlight);\n}\n\n.table--tracks tr:first-child td:first-child {\n border-top-left-radius: 3px;\n}\n\n.table--tracks tr:first-child td:last-child {\n border-top-right-radius: 3px;\n}\n\n.table--tracks tr:last-child td:first-child {\n border-bottom-left-radius: 3px;\n}\n\n.table--tracks tr:last-child td:last-child {\n border-bottom-right-radius: 3px;\n}\n\n.table--tracklist thead {\n border-bottom: 2px solid var(--table-highlight);\n text-transform: capitalize;\n}\n\n.table--tracklist th {\n padding: 7px 10px;\n height: 45px;\n}\n\n.table--tracklist th:first-child {\n padding: 7px 10px 7px 20px;\n}\n\n.table--tracklist th:last-child {\n padding: 7px 20px 7px 10px;\n}\n\n.table--tracklist td {\n height: 35px;\n}\n\n.table--charts td {\n height: 35px;\n}\n\n.table .table__icon {\n box-sizing: content-box;\n width: 32px;\n}\n\n.table .table__icon--big {\n width: 48px;\n text-align: center;\n}\n\n.table .table__cell--x-small {\n width: 0.32%;\n}\n\n.table .table__cell--small {\n width: 3.2%;\n}\n\n.table .table__cell--medium {\n width: 28.7%;\n}\n\n.table .table__cell--large {\n width: 50%;\n}\n\n.table .table__cell--left {\n text-align: left;\n}\n\n.table .table__cell--center {\n text-align: center;\n}\n\n.table .table__cell--right {\n text-align: right;\n}\n\n.table .table__cell-content.table__cell-content--vertical-center {\n display: flex;\n align-items: center;\n}\n\n.track_row > td > img {\n width: 32px;\n height: 32px;\n}\n\n.track_row > td > a > img {\n width: 56px;\n height: 56px;\n}\n\n.table--tracklist .clickable:hover,\n.table--charts .clickable:hover {\n text-decoration: underline;\n}\n\n.release-grid {\n grid-gap: 1rem;\n gap: 1rem;\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));\n}\n\n.settings-group {\n border-top-width: 1px;\n --border-opacity: 1;\n border-color: hsl(0, 0%, 50%);\n border-color: rgba(127.5, 127.5, 127.5, var(--border-opacity));\n}\n\n.settings-group__header {\n display: inline-flex;\n align-items: center;\n padding-top: 2rem;\n padding-bottom: 2rem;\n font-size: 1.5rem;\n}\n\n.settings-group__header i.material-icons {\n margin-right: 1rem;\n}\n\n.settings-container {\n display: flex;\n}\n\n.settings-container__half {\n width: 50%;\n}\n\n.settings-container__third {\n width: 33%;\n}\n\n.settings-container__third--only-checkbox {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n}\n\n.settings-container__half > *,\n .settings-container__third > * {\n margin-bottom: 1rem;\n}\n\n.with-checkbox {\n display: flex;\n align-items: center;\n}\n\n.with-checkbox [type='checkbox'] {\n cursor: pointer;\n}\n\n.with-checkbox .checkbox-text {\n margin-left: 10px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n/* Input group */\n\n.input-group .input-group-text {\n margin-bottom: 0.5rem;\n}\n\n.release {\n display: inline-block;\n width: 156px;\n}\n\n@media (min-width: 640px) {\n}\n\n@media (min-width: 768px) {\n}\n\n@media (min-width: 1024px) {\n}\n\n@media (min-width: 1280px) {\n}\n");lo("/* Button */\n\n.btn {\n position: relative;\n height: 2rem;\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n padding-top: 0;\n padding-bottom: 0;\n font-size: 0.875rem;\n font-weight: 600;\n text-transform: uppercase;\n border-width: 1px;\n border-color: transparent;\n border-style: solid;\n border-radius: 0.25rem;\n --text-opacity: 1;\n color: hsl(0, 0%, 90%);\n color: rgba(229.5, 229.5, 229.5, var(--text-opacity));\n font-family: inherit;\n transition: transform 50ms ease-in-out;\n}\n\n.btn:active {\n transform: scale(0.98);\n}\n\n.btn[disabled] {\n --text-opacity: 1;\n color: #e2e8f0;\n color: rgba(226, 232, 240, var(--text-opacity));\n --bg-opacity: 1;\n background-color: #718096;\n background-color: rgba(113, 128, 150, var(--bg-opacity));\n opacity: 0.75;\n cursor: not-allowed;\n}\n\n.btn-only-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 3rem;\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n padding-top: 0;\n padding-bottom: 0;\n min-width: 24px;\n}\n\n.btn-primary {\n --bg-opacity: 1;\n background-color: hsl(210, 100%, 52%);\n background-color: rgba(10.20000000000001, 132.59999999999988, 255, var(--bg-opacity));\n}\n\n.btn-primary:hover {\n --bg-opacity: 1;\n background-color: #3182ce;\n background-color: rgba(49, 130, 206, var(--bg-opacity));\n border-color: var(--foreground);\n}\n\n/* Section tabs */\n\n.section-tabs {\n display: flex;\n margin-top: 1rem;\n margin-bottom: 1.5rem;\n list-style-type: none;\n cursor: pointer;\n}\n\n.section-tabs__tab {\n flex: 1 1 0%;\n padding: 0.75rem;\n font-size: 1.25rem;\n text-align: center;\n text-transform: capitalize;\n border-top-width: 4px;\n border-bottom-right-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n border-color: var(--foreground);\n background-color: var(--main-background);\n}\n\n.section-tabs__tab.active {\n --text-opacity: 1;\n color: hsl(210, 100%, 52%);\n color: rgba(10.20000000000001, 132.59999999999988, 255, var(--text-opacity));\n --border-opacity: 1;\n border-color: hsl(210, 100%, 52%);\n border-color: rgba(10.20000000000001, 132.59999999999988, 255, var(--border-opacity));\n background-color: var(--main-background);\n}\n\n.section-tabs__tab:hover {\n --text-opacity: 1;\n color: hsl(210, 100%, 52%);\n color: rgba(10.20000000000001, 132.59999999999988, 255, var(--text-opacity));\n --border-opacity: 1;\n border-color: hsl(210, 100%, 52%);\n border-color: rgba(10.20000000000001, 132.59999999999988, 255, var(--border-opacity));\n background-color: var(--secondary-background);\n --bg-opacity: 0.25;\n}\n\n/* Image header */\n\n.image-header header {\n background-size: cover;\n padding-top: 14rem;\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n padding-bottom: 0.5rem;\n border-top-left-radius: 0.5rem;\n border-top-right-radius: 0.5rem;\n background-position: 0% 35%;\n}\n\n/* Fixed footer */\n\n.fixed-footer footer {\n position: -webkit-sticky;\n position: sticky;\n align-items: center;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n bottom: 0;\n height: 4rem;\n width: 100%;\n margin-top: 1.5rem;\n}\n");lo(".changing-theme {\n transition: all 200ms ease-in-out;\n}\n\n[v-cloak] {\n display: none;\n}\n");lo(".primary-text {\n margin-bottom: 0.25rem;\n transition-property: background-color, border-color, color, fill, stroke;\n transition-duration: 200ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.primary-text:hover {\n --text-opacity: 1;\n color: hsl(210, 100%, 52%);\n color: rgba(10.20000000000001, 132.59999999999988, 255, var(--text-opacity));\n}\n\n.secondary-text {\n margin-bottom: 0.25rem;\n font-size: 0.875rem;\n opacity: 0.75;\n}\n");var co=("undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function uo(e,t){if(void 0===t&&(t=[]),null===e||"object"!=typeof e)return e;var a,n=(a=function(t){return t.original===e},t.filter(a)[0]);if(n)return n.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(a){i[a]=uo(e[a],t)})),i}function po(e,t){Object.keys(e).forEach((function(a){return t(e[a],a)}))}function mo(e){return null!==e&&"object"==typeof e}var ho=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var a=e.state;this.state=("function"==typeof a?a():a)||{}},fo={namespaced:{configurable:!0}};fo.namespaced.get=function(){return!!this._rawModule.namespaced},ho.prototype.addChild=function(e,t){this._children[e]=t},ho.prototype.removeChild=function(e){delete this._children[e]},ho.prototype.getChild=function(e){return this._children[e]},ho.prototype.hasChild=function(e){return e in this._children},ho.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},ho.prototype.forEachChild=function(e){po(this._children,e)},ho.prototype.forEachGetter=function(e){this._rawModule.getters&&po(this._rawModule.getters,e)},ho.prototype.forEachAction=function(e){this._rawModule.actions&&po(this._rawModule.actions,e)},ho.prototype.forEachMutation=function(e){this._rawModule.mutations&&po(this._rawModule.mutations,e)},Object.defineProperties(ho.prototype,fo);var go,vo=function(e){this.register([],e,!1)};function bo(e,t,a){if(t.update(a),a.modules)for(var n in a.modules){if(!t.getChild(n))return;bo(e.concat(n),t.getChild(n),a.modules[n])}}vo.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},vo.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,a){return e+((t=t.getChild(a)).namespaced?a+"/":"")}),"")},vo.prototype.update=function(e){bo([],this.root,e)},vo.prototype.register=function(e,t,a){var n=this;void 0===a&&(a=!0);var i=new ho(t,a);0===e.length?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i);t.modules&&po(t.modules,(function(t,i){n.register(e.concat(i),t,a)}))},vo.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),a=e[e.length-1],n=t.getChild(a);n&&n.runtime&&t.removeChild(a)},vo.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),a=e[e.length-1];return t.hasChild(a)};var yo=function(e){var t=this;void 0===e&&(e={}),!go&&"undefined"!=typeof window&&window.Vue&&So(window.Vue);var a=e.plugins;void 0===a&&(a=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new vo(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new go,this._makeLocalGettersCache=Object.create(null);var i=this,r=this.dispatch,s=this.commit;this.dispatch=function(e,t){return r.call(i,e,t)},this.commit=function(e,t,a){return s.call(i,e,t,a)},this.strict=n;var o=this._modules.root.state;xo(this,o,[],this._modules.root),Ao(this,o),a.forEach((function(e){return e(t)})),(void 0!==e.devtools?e.devtools:go.config.devtools)&&function(e){co&&(e._devtoolHook=co,co.emit("vuex:init",e),co.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){co.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){co.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},ko={state:{configurable:!0}};function wo(e,t,a){return t.indexOf(e)<0&&(a&&a.prepend?t.unshift(e):t.push(e)),function(){var a=t.indexOf(e);a>-1&&t.splice(a,1)}}function _o(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var a=e.state;xo(e,a,[],e._modules.root,!0),Ao(e,a,t)}function Ao(e,t,a){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,r={};po(i,(function(t,a){r[a]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,a,{get:function(){return e._vm[a]},enumerable:!0})}));var s=go.config.silent;go.config.silent=!0,e._vm=new go({data:{$$state:t},computed:r}),go.config.silent=s,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(e),n&&(a&&e._withCommit((function(){n._data.$$state=null})),go.nextTick((function(){return n.$destroy()})))}function xo(e,t,a,n,i){var r=!a.length,s=e._modules.getNamespace(a);if(n.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=n),!r&&!i){var o=Co(t,a.slice(0,-1)),l=a[a.length-1];e._withCommit((function(){go.set(o,l,n.state)}))}var c=n.context=function(e,t,a){var n=""===t,i={dispatch:n?e.dispatch:function(a,n,i){var r=zo(a,n,i),s=r.payload,o=r.options,l=r.type;return o&&o.root||(l=t+l),e.dispatch(l,s)},commit:n?e.commit:function(a,n,i){var r=zo(a,n,i),s=r.payload,o=r.options,l=r.type;o&&o.root||(l=t+l),e.commit(l,s,o)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var a={},n=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var r=i.slice(n);Object.defineProperty(a,r,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=a}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return Co(e.state,a)}}}),i}(e,s,a);n.forEachMutation((function(t,a){!function(e,t,a,n){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){a.call(e,n.state,t)}))}(e,s+a,t,c)})),n.forEachAction((function(t,a){var n=t.root?a:s+a,i=t.handler||t;!function(e,t,a,n){(e._actions[t]||(e._actions[t]=[])).push((function(t){var i,r=a.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return(i=r)&&"function"==typeof i.then||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}(e,n,i,c)})),n.forEachGetter((function(t,a){!function(e,t,a,n){if(e._wrappedGetters[t])return;e._wrappedGetters[t]=function(e){return a(n.state,n.getters,e.state,e.getters)}}(e,s+a,t,c)})),n.forEachChild((function(n,r){xo(e,t,a.concat(r),n,i)}))}function Co(e,t){return t.reduce((function(e,t){return e[t]}),e)}function zo(e,t,a){return mo(e)&&e.type&&(a=t,t=e,e=e.type),{type:e,payload:t,options:a}}function So(e){go&&e===go|| /*! * vuex v3.5.1 * (c) 2020 Evan You * @license MIT */ -function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:a});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[a].concat(e.init):a,t.call(this,e)}}function a(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(go=e)}ko.state.get=function(){return this._vm._data.$$state},ko.state.set=function(e){},yo.prototype.commit=function(e,t,a){var n=this,i=zo(e,t,a),r=i.type,s=i.payload,o={type:r,payload:s},l=this._mutations[r];l&&(this._withCommit((function(){l.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(o,n.state)})))},yo.prototype.dispatch=function(e,t){var a=this,n=zo(e,t),i=n.type,r=n.payload,s={type:i,payload:r},o=this._actions[i];if(o){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,a.state)}))}catch(e){}var l=o.length>1?Promise.all(o.map((function(e){return e(r)}))):o[0](r);return new Promise((function(e,t){l.then((function(t){try{a._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,a.state)}))}catch(e){}e(t)}),(function(e){try{a._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,a.state,e)}))}catch(e){}t(e)}))}))}},yo.prototype.subscribe=function(e,t){return wo(e,this._subscribers,t)},yo.prototype.subscribeAction=function(e,t){return wo("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},yo.prototype.watch=function(e,t,a){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,a)},yo.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},yo.prototype.registerModule=function(e,t,a){void 0===a&&(a={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),xo(this,this.state,e,this._modules.get(e),a.preserveState),Ao(this,this.state)},yo.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var a=Co(t.state,e.slice(0,-1));go.delete(a,e[e.length-1])})),_o(this)},yo.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},yo.prototype.hotUpdate=function(e){this._modules.update(e),_o(this,!0)},yo.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(yo.prototype,ko);var To=No((function(e,t){var a={};return Do(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){var t=this.$store.state,a=this.$store.getters;if(e){var n=Lo(this.$store,"mapState",e);if(!n)return;t=n.context.state,a=n.context.getters}return"function"==typeof i?i.call(this,t,a):t[i]},a[n].vuex=!0})),a})),Mo=No((function(e,t){var a={};return Do(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){for(var t=[],a=arguments.length;a--;)t[a]=arguments[a];var n=this.$store.commit;if(e){var r=Lo(this.$store,"mapMutations",e);if(!r)return;n=r.context.commit}return"function"==typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),a})),Fo=No((function(e,t){var a={};return Do(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,a[n]=function(){if(!e||Lo(this.$store,"mapGetters",e))return this.$store.getters[i]},a[n].vuex=!0})),a})),Po=No((function(e,t){var a={};return Do(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){for(var t=[],a=arguments.length;a--;)t[a]=arguments[a];var n=this.$store.dispatch;if(e){var r=Lo(this.$store,"mapActions",e);if(!r)return;n=r.context.dispatch}return"function"==typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),a}));function Do(e){return function(e){return Array.isArray(e)||mo(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function No(e){return function(t,a){return"string"!=typeof t?(a=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,a)}}function Lo(e,t,a){return e._modulesNamespaceMap[a]}function Uo(e,t,a){var n=a?e.groupCollapsed:e.group;try{n.call(e,t)}catch(a){e.log(t)}}function $o(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function Io(){var e=new Date;return" @ "+Ro(e.getHours(),2)+":"+Ro(e.getMinutes(),2)+":"+Ro(e.getSeconds(),2)+"."+Ro(e.getMilliseconds(),3)}function Ro(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e}var jo={Store:yo,install:So,version:"3.5.1",mapState:To,mapMutations:Mo,mapGetters:Fo,mapActions:Po,createNamespacedHelpers:function(e){return{mapState:To.bind(null,e),mapGetters:Fo.bind(null,e),mapMutations:Mo.bind(null,e),mapActions:Po.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var a=e.filter;void 0===a&&(a=function(e,t,a){return!0});var n=e.transformer;void 0===n&&(n=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var r=e.actionFilter;void 0===r&&(r=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var o=e.logMutations;void 0===o&&(o=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var d=uo(e.state);void 0!==c&&(o&&e.subscribe((function(e,r){var s=uo(r);if(a(e,d,s)){var o=Io(),l=i(e),u="mutation "+e.type+o;Uo(c,u,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",n(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",n(s)),$o(c)}d=s})),l&&e.subscribeAction((function(e,a){if(r(e,a)){var n=Io(),i=s(e),o="action "+e.type+n;Uo(c,o,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),$o(c)}})))}}};var Oo={state:{currentCommit:null,latestCommit:null,updateAvailable:!1,deemixVersion:null},getters:{getAboutInfo:e=>e},actions:{setAboutInfo({commit:e},t){e("SET_CURRENT_COMMIT",t.currentCommit),e("SET_LATEST_COMMIT",t.latestCommit),e("SET_UPDATE_AVAILABLE",t.updateAvailable),e("SET_DEEMIX_VERSION",t.deemixVersion)}},mutations:{SET_CURRENT_COMMIT:(e,t)=>{e.currentCommit=t},SET_LATEST_COMMIT:(e,t)=>{e.latestCommit=t},SET_UPDATE_AVAILABLE:(e,t)=>{e.updateAvailable=t},SET_DEEMIX_VERSION:(e,t)=>{e.deemixVersion=t}}};const Eo=()=>({arl:localStorage.getItem("arl")||"",status:null,user:{id:null,name:"",picture:""},clientMode:!1});var Bo={state:Eo(),getters:{getARL:e=>e.arl,getUser:e=>e.user,getClientMode:e=>e.clientMode,isLoggedIn:e=>!!e.arl},actions:{login({commit:e,dispatch:t},a){const{arl:n,user:i,status:r}=a;t("setARL",{arl:n}),e("SET_USER",i),e("SET_STATUS",r)},logout({commit:e}){localStorage.removeItem("arl"),e("RESET_LOGIN")},setARL({commit:e},t){let{arl:a,saveOnLocalStorage:n}=t;n=void 0===n||n,e("SET_ARL",a),n&&localStorage.setItem("arl",a)},removeARL({commit:e}){e("SET_ARL",""),localStorage.removeItem("arl")},setUser({commit:e},t){e("SET_USER",t)},setClientMode({commit:e},t){e("SET_CLIENT_MODE",t)}},mutations:{SET_ARL(e,t){e.arl=t},SET_STATUS(e,t){e.status=t},SET_USER(e,t){e.user=t},SET_CLIENT_MODE(e,t){e.clientMode=t},RESET_LOGIN(e){let t=e.clientMode;Object.assign(e,Eo()),e.clientMode=t}}};var qo={state:{artist:"",bitrate:"",cover:"",downloaded:0,errors:[],failed:0,id:"",progress:0,silent:!0,size:0,title:"",type:"",uuid:""},getters:{getErrors:e=>e},actions:{setErrors({commit:e},t){e("SET_ERRORS",t)}},mutations:{SET_ERRORS(e,t){for(const a in e)if(e.hasOwnProperty(a)){const n=t[a];e[a]=n}}}};xa.use(jo);var Vo=new jo.Store({modules:{about:Oo,login:Bo,errors:qo},strict:!1});const Go=io.connect(window.location.href);Go.on("init_update",(e=>{Vo.dispatch("setAboutInfo",e)}));var Ho=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="BaseLoadingPlaceholder.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(e,t){var a=t._c;return a("div",{directives:[{name:"show",rawName:"v-show",value:!t.props.hidden,expression:"!props.hidden"}],staticClass:"flex justify-center items-center flex-col flex-1 h-full",class:t.props.additionalClasses},[a("span",{staticClass:"mb-5"},[t._v(t._s(t.props.text||"Loading..."))]),t._v(" "),t._m(0)])},staticRenderFns:[function(e,t){var a=t._c;return a("div",{staticClass:"lds-ring"},[a("div"),t._v(" "),a("div"),t._v(" "),a("div"),t._v(" "),a("div")])}]},(function(e){e&&e("data-v-20045564_0",{source:".lds-ring[data-v-20045564]{display:inline-block;position:relative;width:80px;height:80px}.lds-ring div[data-v-20045564]{box-sizing:border-box;display:block;position:absolute;width:64px;height:64px;margin:8px;border:8px solid #fff;border-radius:50%;animation:lds-ring-data-v-20045564 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#fff transparent transparent transparent}.lds-ring div[data-v-20045564]:nth-child(1){animation-delay:-.45s}.lds-ring div[data-v-20045564]:nth-child(2){animation-delay:-.3s}.lds-ring div[data-v-20045564]:nth-child(3){animation-delay:-.15s}@keyframes lds-ring-data-v-20045564{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}",map:void 0,media:void 0})}),{},"data-v-20045564",!0,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));function Wo(e,t=null){if(!e)throw new Error("No URL given to sendAddToQueue function!");Go.emit("addToQueue",{url:e,bitrate:t},(()=>{}))}var Ko={sendAddToQueue:Wo};function Yo(e){let t=e.toLowerCase();if(t.startsWith("http")){if(t.indexOf("deezer.com")>=0||t.indexOf("deezer.page.link")>=0||t.indexOf("open.spotify.com")>=0)return!0}else if(t.startsWith("spotify:"))return!0;return!1}function Qo(e){let t,a;return t=Math.floor(e/60),a=e-60*t,a<10&&(a="0"+a),t+":"+a}function Jo(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}function Zo(e,t,a){var n;return function(){var i=this,r=arguments,s=function(){n=null,a||e.apply(i,r)},o=a&&!n;clearTimeout(n),n=setTimeout(s,t),o&&e.apply(i,r)}}function Xo(e){const t=document.createElement("input");document.body.appendChild(t),t.setAttribute("type","text"),t.setAttribute("value",e),t.select(),t.setSelectionRange(0,99999),document.execCommand("copy"),t.remove()}function el(e,...t){for(const a of t){let t=/\./.test(a)?a.split(".").reduce(((e,t)=>{if(e)return e[t]}),e):e[a];if(void 0!==t)return t}return null}var tl={isValidURL:Yo,convertDuration:Qo,convertDurationSeparated:function(e){let t,a,n;return a=Math.floor(e/60),t=Math.floor(a/60),n=e-60*a,a-=60*t,[t,a,n]},numberWithDots:Jo,debounce:Zo};const al=[{objName:"flac",label:"FLAC",value:9},{objName:"320kbps",label:"MP3 320kbps",value:3},{objName:"128kbps",label:"MP3 128kbps",value:1},{objName:"realityAudioHQ",label:"360 Reality Audio [HQ]",value:15},{objName:"realityAudioMQ",label:"360 Reality Audio [MQ]",value:14},{objName:"realityAudioLQ",label:"360 Reality Audio [LQ]",value:13}];var nl=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="TheContextMenu.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.menuOpen,expression:"menuOpen"}],ref:"contextMenu",staticClass:"context-menu",style:{top:e.yPos,left:e.xPos}},e._l(e.sortedOptions,(function(t){return a("button",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"option.show"}],key:t.label,staticClass:"btn menu-option",on:{click:function(e){return e.preventDefault(),t.action(e)}}},[a("span",{staticClass:"menu-option__text"},[e._v(e._s(t.label))])])})),0)},staticRenderFns:[]},(function(e){e&&e("data-v-b75ae3cc_0",{source:".context-menu[data-v-b75ae3cc]{position:absolute;top:0;left:0;min-width:100px;border-radius:7px;background:var(--secondary-background);box-shadow:4px 10px 18px 0 rgba(0,0,0,.15);overflow:hidden;z-index:10000}.menu-option[data-v-b75ae3cc]{display:flex;align-items:center;width:100%;height:40px;padding-left:10px;padding-right:10px;color:var(--foreground);cursor:pointer}.menu-option[data-v-b75ae3cc]:hover{background:var(--table-highlight);filter:brightness(150%)}.menu-option__text[data-v-b75ae3cc]{text-transform:capitalize}button[data-v-b75ae3cc]{color:var(--primary-text);color:unset;background-color:var(--primary-color);background-color:unset;min-width:unset;position:unset;border:unset;border-radius:unset;font-family:unset;font-weight:unset;font-size:unset;padding:unset;margin-right:unset;height:unset;text-transform:unset;cursor:unset;transition:unset}button[data-v-b75ae3cc]:focus{outline:0}button[data-v-b75ae3cc]:active{background-color:unset;transform:unset}button[data-v-b75ae3cc]:hover{background:unset;border:unset}",map:void 0,media:void 0})}),{data:()=>({menuOpen:!1,xPos:0,yPos:0,deezerHref:"",generalHref:"",imgSrc:""}),computed:{options(){const e={cut:{label:this.$t("globals.cut"),show:!1,position:1,action:()=>{document.execCommand("Cut")}},copy:{label:this.$t("globals.copy"),show:!1,position:2,action:()=>{document.execCommand("Copy")}},copyLink:{label:this.$t("globals.copyLink"),show:!1,position:3,action:()=>{Xo(this.generalHref)}},copyImageLink:{label:this.$t("globals.copyImageLink"),show:!1,position:4,action:()=>{Xo(this.imgSrc)}},copyDeezerLink:{label:this.$t("globals.copyDeezerLink"),show:!1,position:5,action:()=>{Xo(this.deezerHref)}},paste:{label:this.$t("globals.paste"),show:!1,position:6,action:()=>{clipboard in navigator?navigator.clipboard.readText().then((e=>{document.execCommand("insertText",void 0,e)})):document.execCommand("paste")}}};let t=Object.values(e).length+1;return al.forEach(((a,n)=>{e[a.objName]={label:""+this.$t("globals.download",{thing:a.label}),show:!1,position:t+n,action:Wo.bind(null,this.deezerHref,a.value)}})),e},sortedOptions(){return Object.values(this.options).sort(((e,t)=>e.position{this.menuOpen=!1,this.options.copyLink.show=!1,this.options.copyDeezerLink.show=!1,this.options.copyImageLink.show=!1,al.forEach((e=>{this.options[e.objName].show=!1}))})).catch((e=>{console.error(e)}))},positionMenu(e,t){this.xPos=e+"px",this.yPos=t+"px",this.$nextTick().then((()=>{const{innerHeight:a,innerWidth:n}=window,i=e+this.$refs.contextMenu.getBoundingClientRect().width,r=t+this.$refs.contextMenu.getBoundingClientRect().height;if(i>n){const t=i-n+15;this.xPos=e-t+"px"}if(r>a){const e=r-a+15;this.yPos=t-e+"px"}}))},showDeezerOptions(){this.options.copyDeezerLink.show=!0,al.forEach((e=>{this.options[e.objName].show=!0}))}}},"data-v-b75ae3cc",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}})),il=new xa;async function rl(e,t,{duration:a=1e3,easing:n=sl,interval:i=13}={}){const r=e.volume,s=t-r;if(!(s&&a&&n&&i))return e.volume=t,Promise.resolve();const o=Math.floor(a/i);let l=1;return new Promise((t=>{const a=setInterval((()=>{e.volume=r+n(l/o)*s,++l===o&&(clearInterval(a),t())}),i)}))}function sl(e){return.5-Math.cos(e*Math.PI)/2}var ol=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="TheTrackPreview.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("audio",{ref:"preview",attrs:{id:"preview-track"},on:{canplay:e.onCanPlay,timeupdate:e.onTimeUpdate}},[a("source",{attrs:{id:"preview-track_source",src:"",type:"audio/mpeg"}})])},staticRenderFns:[]},0,{data:()=>({previewStopped:!1}),mounted(){this.$refs.preview.volume=1,this.$router.beforeEach(((e,t,a)=>{this.stopStackedTabsPreview(),a()})),il.$on("trackPreview:playPausePreview",this.playPausePreview),il.$on("trackPreview:previewMouseEnter",this.previewMouseEnter),il.$on("trackPreview:previewMouseLeave",this.previewMouseLeave)},methods:{async onCanPlay(){await this.$refs.preview.play(),this.previewStopped=!1,await rl(this.$refs.preview,window.vol.preview_max_volume/100,{duration:500})},async onTimeUpdate(){if(isNaN(this.$refs.preview.duration))return;let e=this.$refs.preview.duration;isFinite(e)||(e=30),e-this.$refs.preview.currentTime>=1||this.previewStopped||(await rl(this.$refs.preview,0,{duration:800}),this.previewStopped=!0,document.querySelectorAll("a[playing] > .preview_controls").forEach((e=>{e.style.opacity=0})),document.querySelectorAll("*").forEach((e=>{e.removeAttribute("playing")})),document.querySelectorAll(".preview_controls, .preview_playlist_controls").forEach((e=>{e.textContent="play_arrow"})))},async playPausePreview(e){e.preventDefault(),e.stopPropagation();const{currentTarget:t}=e;var a="I"==t.tagName?t:t.querySelector("i");t.hasAttribute("playing")?this.$refs.preview.paused?(this.$refs.preview.play(),this.previewStopped=!1,a.innerText="pause",await rl(this.$refs.preview,window.vol.preview_max_volume/100,{duration:500})):(this.previewStopped=!0,a.innerText="play_arrow",await rl(this.$refs.preview,0,{duration:250}),this.$refs.preview.pause()):(document.querySelectorAll("*").forEach((e=>{e.removeAttribute("playing")})),t.setAttribute("playing",!0),document.querySelectorAll(".preview_controls, .preview_playlist_controls").forEach((e=>{e.textContent="play_arrow"})),document.querySelectorAll(".preview_controls").forEach((e=>{e.style.opacity=0})),a.innerText="pause",a.style.opacity=1,this.previewStopped=!1,await rl(this.$refs.preview,0,{duration:250}),this.$refs.preview.pause(),document.getElementById("preview-track_source").src=t.getAttribute("data-preview"),this.$refs.preview.load())},async stopStackedTabsPreview(){let e=Array.prototype.slice.call(document.querySelectorAll(".preview_playlist_controls[playing]"));0!==e.length&&(await rl(this.$refs.preview,0,{duration:250}),this.$refs.preview.pause(),this.previewStopped=!0,e.forEach((e=>{e.removeAttribute("playing"),e.innerText="play_arrow"})))},previewMouseEnter(e){e.currentTarget.style.opacity=1},previewMouseLeave(e){const{currentTarget:t}=e,a=t.parentElement.hasAttribute("playing");(a&&this.previewStopped||!a)&&(t.style.opacity=0)}}},undefined,!1);var ll=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="TheQualityModal.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],ref:"modal",staticClass:"smallmodal",attrs:{id:"modal_quality"},on:{click:function(t){return e.tryToDownloadTrack(t)}}},[a("div",{staticClass:"smallmodal-content"},[a("button",{staticClass:"btn btn-primary quality-button",attrs:{"data-quality-value":"9"}},[e._v("\n\t\t\t"+e._s(e.$t("globals.download",{thing:"FLAC"}))+"\n\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary quality-button",attrs:{"data-quality-value":"3"}},[e._v("\n\t\t\t"+e._s(e.$t("globals.download",{thing:"MP3 320kbps"}))+"\n\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary quality-button",attrs:{"data-quality-value":"1"}},[e._v("\n\t\t\t"+e._s(e.$t("globals.download",{thing:"MP3 128kbps"}))+"\n\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary quality-button",attrs:{"data-quality-value":"15"}},[e._v("\n\t\t\t"+e._s(e.$t("globals.download",{thing:"360 Reality Audio [HQ]"}))+"\n\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary quality-button",attrs:{"data-quality-value":"14"}},[e._v("\n\t\t\t"+e._s(e.$t("globals.download",{thing:"360 Reality Audio [MQ]"}))+"\n\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary quality-button",attrs:{"data-quality-value":"13"}},[e._v("\n\t\t\t"+e._s(e.$t("globals.download",{thing:"360 Reality Audio [LQ]"}))+"\n\t\t")])])])},staticRenderFns:[]},(function(e){e&&e("data-v-e99efdea_0",{source:".smallmodal{position:fixed;z-index:1250;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,.4);animation-duration:.3s}.smallmodal-content{--modal-content-width:95%;background-color:transparent;margin:auto;width:var(--modal-content-width);position:relative;top:50%;transform:translateY(-50%)}@media only screen and (min-width:601px){.smallmodal-content{--modal-content-width:85%}}@media only screen and (min-width:993px){.smallmodal-content{--modal-content-width:70%}}.smallmodal-content button{width:100%;margin-bottom:8px}",map:void 0,media:void 0})}),{data:()=>({open:!1,url:""}),mounted(){this.$root.$on("QualityModal:open",this.openModal),this.$refs.modal.addEventListener("webkitAnimationEnd",this.handleAnimationEnd)},methods:{tryToDownloadTrack(e){const{target:t}=e;this.$refs.modal.classList.add("animated","fadeOut"),t.matches(".quality-button")&&Ko.sendAddToQueue(this.url,t.dataset.qualityValue)},openModal(e){this.url=e,this.open=!0,this.$refs.modal.classList.add("animated","fadeIn")},handleAnimationEnd(e){const{animationName:t}=e;this.$refs.modal.classList.remove("animated",t),"fadeIn"!==t&&(this.open=!1)}}},undefined,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));var cl=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="TheSidebar.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("aside",{ref:"sidebar",staticClass:"top-0 left-0 flex flex-col w-64 h-screen bg-panels-bg text-foreground",attrs:{id:"sidebar",role:"navigation","aria-label":"sidebar"}},[e._l(e.links,(function(t){return a("router-link",{key:t.id,staticClass:"relative flex items-center h-16 no-underline group main_tablinks hover:bg-background-main text-foreground",class:{"bg-background-main":e.activeTablink===t.name},attrs:{tag:"a",id:t.id,"aria-label":t.ariaLabel,to:{name:t.routerName}},nativeOn:{click:function(a){e.activeTablink=t.name}}},[a("i",{staticClass:"p-2 text-3xl material-icons side_icon group-hover:text-primary",class:{"text-primary":e.activeTablink===t.name}},[e._v("\n\t\t\t"+e._s(t.icon)+"\n\t\t")]),e._v(" "),a("span",{staticClass:"ml-5 overflow-hidden capitalize whitespace-no-wrap main_tablinks_text",staticStyle:{"letter-spacing":"1.3px"}},[e._v("\n\t\t\t"+e._s(e.$t(t.label))+"\n\t\t")]),e._v(" "),"about"===t.name&&e.updateAvailable?a("span",{staticClass:"w-3 h-3 bg-red-600 rounded-full",attrs:{id:"update-notification"}}):e._e()])})),e._v(" "),a("span",{staticClass:"flex h-12 mt-5",attrs:{id:"theme_selector",role:"link","aria-label":"theme selector"}},[a("i",{staticClass:"p-2 text-3xl transition-all duration-500 cursor-default material-icons side_icon side_icon--theme"},[e._v("\n\t\t\tbrush\n\t\t")]),e._v(" "),a("div",{staticClass:"relative flex items-center w-full justify-evenly",attrs:{id:"theme_togglers"}},e._l(e.themes,(function(t){return a("div",{key:t,staticClass:"w-6 h-6 border rounded-full cursor-pointer theme_toggler border-grayscale-500",class:[{"theme_toggler--active":e.activeTheme===t},"theme_toggler--"+t],on:{click:function(a){return e.changeTheme(t)}}})})),0)]),e._v(" "),a("div",{class:{online:e.appOnline,offline:!e.appOnline},attrs:{id:"network-status"}},[e.appOnline?a("i",{staticClass:"material-icons"},[e._v("wifi")]):a("i",{staticClass:"material-icons"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[a("path",{attrs:{d:"M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}}),e._v(" "),a("path",{attrs:{d:"M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4c-1.29-1.29-2.84-2.13-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24C7.81 10.89 6.27 11.73 5 13v.01L6.99 15c1.36-1.36 3.14-2.04 4.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3c-1.65-1.66-4.34-1.66-6 0z"}})])])])],2)},staticRenderFns:[]},(function(e){e&&e("data-v-2a652e15_0",{source:"#sidebar.slim[data-v-2a652e15]{width:46px}#sidebar.slim .main_tablinks_text[data-v-2a652e15]{display:none}#sidebar.slim #theme_selector[data-v-2a652e15],#sidebar.slim #theme_togglers[data-v-2a652e15]{display:inline-grid;grid-gap:8px}#network-status[data-v-2a652e15]{display:flex;justify-content:center;align-items:center;position:relative;margin-top:auto;bottom:0}#network-status.online i.material-icons[data-v-2a652e15]{color:#159957}#network-status.offline i.material-icons svg[data-v-2a652e15]{fill:red;width:1em;height:1em}#update-notification[data-v-2a652e15]{position:absolute;left:30px;top:12px}.theme_toggler[data-v-2a652e15]{transition:border .2s ease-in-out}.theme_toggler--active[data-v-2a652e15]{border-width:3px}.theme_toggler--light[data-v-2a652e15]{background-color:#fff}.theme_toggler--dark[data-v-2a652e15]{background-color:#141414}.theme_toggler--purple[data-v-2a652e15]{background:#460eaf}",map:void 0,media:void 0})}),{data:()=>({appOnline:null,activeTheme:"light",themes:["purple","dark","light"],activeTablink:"home",updateAvailable:!1,links:[{id:"main_home_tablink",name:"home",ariaLabel:"home",routerName:"Home",icon:"home",label:"sidebar.home"},{id:"main_search_tablink",name:"search",ariaLabel:"search",routerName:"Search",icon:"search",label:"sidebar.search"},{id:"main_charts_tablink",name:"charts",ariaLabel:"charts",routerName:"Charts",icon:"show_chart",label:"sidebar.charts"},{id:"main_favorites_tablink",name:"favorites",ariaLabel:"favorites",routerName:"Favorites",icon:"star",label:"sidebar.favorites"},{id:"main_analyzer_tablink",name:"analyzer",ariaLabel:"link analyzer",routerName:"Link Analyzer",icon:"link",label:"sidebar.linkAnalyzer"},{id:"main_settings_tablink",name:"settings",ariaLabel:"settings",routerName:"Settings",icon:"settings",label:"sidebar.settings"},{id:"main_about_tablink",name:"about",ariaLabel:"info",routerName:"About",icon:"info",label:"sidebar.about"}]}),mounted(){this.appOnline=navigator.onLine,window.addEventListener("online",(()=>{this.appOnline=!0})),window.addEventListener("offline",(()=>{this.appOnline=!1})),this.activeTheme=localStorage.getItem("selectedTheme")||"dark",this.$router.afterEach(((e,t)=>{const a=this.links.find((t=>t.routerName===e.name));a&&(this.activeTablink=a.name)})),Go.on("updateAvailable",(()=>{this.updateAvailable=!0})),"true"===localStorage.getItem("slimSidebar")&&this.$refs.sidebar.classList.add("slim")},methods:{changeTheme(e){if(e===this.activeTheme)return;this.activeTheme=e,document.documentElement.setAttribute("data-theme",e),localStorage.setItem("selectedTheme",e);const t=document.querySelectorAll("*");t.forEach((e=>{e.classList.add("changing-theme")})),document.documentElement.addEventListener("transitionend",(function e(){t.forEach((e=>{e.classList.remove("changing-theme")})),document.documentElement.removeEventListener("transitionend",e)}))}}},"data-v-2a652e15",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));var dl=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="TheSearchBar.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("header",{attrs:{id:"search","aria-label":"searchbar"}},[e._m(0),e._v(" "),a("input",{ref:"searchbar",staticClass:"w-full",attrs:{id:"searchbar",autocomplete:"off",type:"search",name:"searchbar",value:"",placeholder:e.$t("searchbar"),autofocus:""},on:{keyup:function(t){return e.handleSearchBarKeyup(t)}}})])},staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"search__icon"},[a("i",{staticClass:"material-icons"},[e._v("search")])])}]},(function(e){e&&e("data-v-71c3049b_0",{source:"input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;width:28px;height:28px;background-color:var(--foreground);-webkit-mask-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='28' viewBox='0 0 24 24' width='28'%3E%%3Cpath fill='%23ffffff' d='M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z'/%3E3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='28' viewBox='0 0 24 24' width='28'%3E%%3Cpath fill='%23ffffff' d='M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z'/%3E3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E\")}#search{background-color:var(--secondary-background);padding:0 1em;display:flex;align-items:center;border:1px solid transparent;transition:border .2s ease-in-out;border-radius:15px;margin:10px 10px 20px 10px}#search .search__icon{width:2rem;height:2rem}#search .search__icon i{font-size:2rem;color:var(--foreground)}#search .search__icon i::selection{background:0 0}#search #searchbar{height:45px;padding-left:.5em;border:0;border-radius:0;background-color:var(--secondary-background);color:var(--foreground);font-size:1.2rem;font-family:'Open Sans';font-weight:300;margin-bottom:0}#search #searchbar:focus{outline:0}#search #searchbar::-webkit-search-cancel-button{appearance:none;width:28px;height:28px;background-color:var(--foreground);mask-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='28' viewBox='0 0 24 24' width='28'%3E%%3Cpath fill='%23ffffff' d='M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z'/%3E3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E\")}#search #searchbar:-webkit-autofill,#search #searchbar:-webkit-autofill:active,#search #searchbar:-webkit-autofill:focus,#search #searchbar:-webkit-autofill:hover{box-shadow:0 0 0 45px var(--secondary-background) inset!important}#search:focus-within{border:1px solid var(--foreground)}",map:void 0,media:void 0})}),{data:()=>({lastTextSearch:""}),created(){const e=e=>{70===e.keyCode&&e.ctrlKey&&(e.preventDefault(),this.$refs.searchbar.focus())},t=e=>{"Backspace"==e.key&&e.ctrlKey&&e.shiftKey&&(this.$refs.searchbar.value="",this.$refs.searchbar.focus())};document.addEventListener("keydown",e),document.addEventListener("keyup",t),this.$on("hook:destroyed",(()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}))},methods:{test(){console.log("test passato")},async handleSearchBarKeyup(e){if(!(13===e.keyCode))return;let t=this.$refs.searchbar.value;if(""===t)return;let a=Yo(t),n=e.ctrlKey,i="Link Analyzer"===this.$route.name,r="Search"===this.$route.name,s=t===this.lastTextSearch;if(a)n?this.$root.$emit("QualityModal:open",t):i?Go.emit("analyzeLink",t):Wo(t);else{if(r&&s)return;r||await this.$router.push({name:"Search"}),s||(this.$root.$emit("updateSearchLoadingState",!0),this.lastTextSearch=t),this.$root.$emit("mainSearch:showNewResults",t)}}}},undefined,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));var ul=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="TheContent.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("main",{ref:"content",attrs:{id:"content","aria-label":"main content"},on:{scroll:function(t){"Search"===e.$route.name&&e.handleContentScroll(t)}}},[a("div",{attrs:{id:"container"}},[a("BaseLoadingPlaceholder",{attrs:{text:"Searching...",hidden:!e.loading}}),e._v(" "),e.showBackButton?a("BackButton",{staticClass:"sticky -ml-20",staticStyle:{top:"1rem"}}):e._e(),e._v(" "),a("keep-alive",[e.$route.meta.notKeepAlive?e._e():a("router-view",{directives:[{name:"show",rawName:"v-show",value:!e.loading,expression:"!loading"}],key:e.$route.fullPath,class:{"-mt-16":e.showBackButton},attrs:{"perform-scrolled-search":e.performScrolledSearch}})],1),e._v(" "),e.$route.meta.notKeepAlive?a("router-view",{directives:[{name:"show",rawName:"v-show",value:!e.loading,expression:"!loading"}],key:e.$route.fullPath,class:{"-mt-16":e.showBackButton},attrs:{"perform-scrolled-search":e.performScrolledSearch}}):e._e()],1)])},staticRenderFns:[]},(function(e){e&&e("data-v-62225107_0",{source:"#container{--container-width:95%;margin:0 auto;max-width:1280px;width:var(--container-width);transform:scale(1)}@media only screen and (min-width:601px){#container{--container-width:85%}}@media only screen and (min-width:993px){#container{--container-width:70%}}main{background-color:var(--main-background);padding-right:5px;width:100%;height:calc(100vh - 93px);overflow-y:scroll;overflow-x:hidden}main::-webkit-scrollbar{width:10px}main::-webkit-scrollbar-track{background:var(--main-background)}main::-webkit-scrollbar-thumb{background:var(--main-scroll);border-radius:4px;width:6px;padding:0 2px}",map:void 0,media:void 0})}),{components:{BaseLoadingPlaceholder:Ho,BackButton:function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="BackButton.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("button",{staticClass:"btn-primary border-transparent border-solid flex items-center justify-center p-1 m-0 w-16 h-16 rounded-full z-10",on:{click:function(t){return e.$router.back()}}},[a("i",{staticClass:"material-icons mirrored text-4xl text-white"},[e._v("forward")])])},staticRenderFns:[]},(function(e){e&&e("data-v-74f206d4_0",{source:"button[data-v-74f206d4]{transition:background .2s ease-in-out}",map:void 0,media:void 0})}),{},"data-v-74f206d4",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}))},data:()=>({performScrolledSearch:!1,loading:!1}),computed:{showBackButton(){return-1!==["Tracklist","Artist","Album","Playlist","Spotify Playlist"].indexOf(this.$route.name)}},mounted(){this.$root.$on("updateSearchLoadingState",(e=>{this.loading=e})),this.$router.beforeEach(((e,t,a)=>{this.$refs.content.scrollTo(0,0),a()}))},methods:{handleContentScroll:Zo((async function(){this.$refs.content.scrollTop+this.$refs.content.clientHeight.download-bar{display:flex;align-items:center;height:24px}.download-object>.download-bar>.queue_icon{cursor:default;margin-left:8px}.download-object>.download-bar>.progress{margin:0}#download_list:not(.slim) .download-line{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#download_list.slim>.download-object .download-info{display:block}#download_list.slim>.download-object .download-info img{display:none}#download_list.slim>.download-object .download-info .download-line{display:inline-block}#download_list.slim>.download-object .download-info .download-slim-separator{display:inline-block}#download_list.slim>.download-object .download-info-data{width:calc(80% - 16px);display:inline-block;padding-left:0}#download_list.slim>.download-object .download-info-status{width:20%;display:inline-block;float:right}.progress{position:relative;height:4px;display:block;width:100%;background-color:var(--secondary-background);border-radius:2px;margin:.5rem 0 1rem 0;overflow:hidden}.progress .determinate{position:absolute;top:0;left:0;bottom:0;background-color:var(--primary-color);transition:width .3s linear}.progress .converting{background-color:var(--secondary-color);transition:none!important}.progress .indeterminate{background-color:var(--primary-color)}.progress .indeterminate::before{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:indeterminate 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.progress .indeterminate::after{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:indeterminate-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation-delay:1.15s}@keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}100%{left:100%;right:-90%}}@keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}100%{left:107%;right:-8%}}",map:void 0,media:void 0})}),{data:()=>({isLoading:!1}),props:{queueItem:Object},computed:{hasFails(){return this.queueItem.failed>=1},allFailed(){let e=!1;return"download finished"===this.queueItem.status&&(e=this.queueItem.failed===this.queueItem.size),e},finishedWithFails(){return"download finished"===this.queueItem.status&&this.hasFails},isDeterminateStatus(){return-1!==pl.indexOf(this.queueItem.status)},barClass(){return{converting:"converting"===this.queueItem.status,indeterminate:!this.isDeterminateStatus,determinate:this.isDeterminateStatus}},barStyle(){let e=0,t="var(--primary-color)";return t=this.hasFails?"hsl(33, 100%, 47%)":"hsl(150, 76%, 34%)",this.allFailed&&(t="hsl(360, 100%, 35%)"),"download finished"===this.queueItem.status&&(e=100),"downloading"===this.queueItem.status&&(e=this.queueItem.progress),"converting"===this.queueItem.status&&(e=100-this.queueItem.conversion),{width:e+"%",backgroundColor:t}},resultIconText(){let e="delete_forever";return"download finished"===this.queueItem.status&&(e=this.hasFails?this.queueItem.failed>=this.queueItem.size?"error":"warning":"done"),e}},methods:{onResultIconClick(){this.isDeterminateStatus?(this.finishedWithFails&&this.$emit("show-errors",this.queueItem),"downloading"===this.queueItem.status&&(this.isLoading=!0,this.$emit("remove-item",this.queueItem.uuid))):(this.isLoading=!0,this.$emit("remove-item",this.queueItem.uuid))}}},undefined,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}})),hl="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var fl=function(e,t,a){return e(a={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&a.path)}},a.exports),a.exports}((function(e){ +function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:a});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[a].concat(e.init):a,t.call(this,e)}}function a(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(go=e)}ko.state.get=function(){return this._vm._data.$$state},ko.state.set=function(e){},yo.prototype.commit=function(e,t,a){var n=this,i=zo(e,t,a),r=i.type,s=i.payload,o={type:r,payload:s},l=this._mutations[r];l&&(this._withCommit((function(){l.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(o,n.state)})))},yo.prototype.dispatch=function(e,t){var a=this,n=zo(e,t),i=n.type,r=n.payload,s={type:i,payload:r},o=this._actions[i];if(o){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,a.state)}))}catch(e){}var l=o.length>1?Promise.all(o.map((function(e){return e(r)}))):o[0](r);return new Promise((function(e,t){l.then((function(t){try{a._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,a.state)}))}catch(e){}e(t)}),(function(e){try{a._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,a.state,e)}))}catch(e){}t(e)}))}))}},yo.prototype.subscribe=function(e,t){return wo(e,this._subscribers,t)},yo.prototype.subscribeAction=function(e,t){return wo("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},yo.prototype.watch=function(e,t,a){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,a)},yo.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},yo.prototype.registerModule=function(e,t,a){void 0===a&&(a={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),xo(this,this.state,e,this._modules.get(e),a.preserveState),Ao(this,this.state)},yo.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var a=Co(t.state,e.slice(0,-1));go.delete(a,e[e.length-1])})),_o(this)},yo.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},yo.prototype.hotUpdate=function(e){this._modules.update(e),_o(this,!0)},yo.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(yo.prototype,ko);var To=No((function(e,t){var a={};return Do(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){var t=this.$store.state,a=this.$store.getters;if(e){var n=Lo(this.$store,"mapState",e);if(!n)return;t=n.context.state,a=n.context.getters}return"function"==typeof i?i.call(this,t,a):t[i]},a[n].vuex=!0})),a})),Mo=No((function(e,t){var a={};return Do(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){for(var t=[],a=arguments.length;a--;)t[a]=arguments[a];var n=this.$store.commit;if(e){var r=Lo(this.$store,"mapMutations",e);if(!r)return;n=r.context.commit}return"function"==typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),a})),Fo=No((function(e,t){var a={};return Do(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,a[n]=function(){if(!e||Lo(this.$store,"mapGetters",e))return this.$store.getters[i]},a[n].vuex=!0})),a})),Po=No((function(e,t){var a={};return Do(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){for(var t=[],a=arguments.length;a--;)t[a]=arguments[a];var n=this.$store.dispatch;if(e){var r=Lo(this.$store,"mapActions",e);if(!r)return;n=r.context.dispatch}return"function"==typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),a}));function Do(e){return function(e){return Array.isArray(e)||mo(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function No(e){return function(t,a){return"string"!=typeof t?(a=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,a)}}function Lo(e,t,a){return e._modulesNamespaceMap[a]}function Uo(e,t,a){var n=a?e.groupCollapsed:e.group;try{n.call(e,t)}catch(a){e.log(t)}}function $o(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function Io(){var e=new Date;return" @ "+Ro(e.getHours(),2)+":"+Ro(e.getMinutes(),2)+":"+Ro(e.getSeconds(),2)+"."+Ro(e.getMilliseconds(),3)}function Ro(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e}var jo={Store:yo,install:So,version:"3.5.1",mapState:To,mapMutations:Mo,mapGetters:Fo,mapActions:Po,createNamespacedHelpers:function(e){return{mapState:To.bind(null,e),mapGetters:Fo.bind(null,e),mapMutations:Mo.bind(null,e),mapActions:Po.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var a=e.filter;void 0===a&&(a=function(e,t,a){return!0});var n=e.transformer;void 0===n&&(n=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var r=e.actionFilter;void 0===r&&(r=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var o=e.logMutations;void 0===o&&(o=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var d=uo(e.state);void 0!==c&&(o&&e.subscribe((function(e,r){var s=uo(r);if(a(e,d,s)){var o=Io(),l=i(e),u="mutation "+e.type+o;Uo(c,u,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",n(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",n(s)),$o(c)}d=s})),l&&e.subscribeAction((function(e,a){if(r(e,a)){var n=Io(),i=s(e),o="action "+e.type+n;Uo(c,o,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),$o(c)}})))}}};var Oo={state:{currentCommit:null,latestCommit:null,updateAvailable:!1,deemixVersion:null},getters:{getAboutInfo:e=>e},actions:{setAboutInfo({commit:e},t){e("SET_CURRENT_COMMIT",t.currentCommit),e("SET_LATEST_COMMIT",t.latestCommit),e("SET_UPDATE_AVAILABLE",t.updateAvailable),e("SET_DEEMIX_VERSION",t.deemixVersion)}},mutations:{SET_CURRENT_COMMIT:(e,t)=>{e.currentCommit=t},SET_LATEST_COMMIT:(e,t)=>{e.latestCommit=t},SET_UPDATE_AVAILABLE:(e,t)=>{e.updateAvailable=t},SET_DEEMIX_VERSION:(e,t)=>{e.deemixVersion=t}}};const Eo=()=>({arl:localStorage.getItem("arl")||"",status:null,user:{id:null,name:"",picture:""},clientMode:!1});var Bo={state:Eo(),getters:{getARL:e=>e.arl,getUser:e=>e.user,getClientMode:e=>e.clientMode,isLoggedIn:e=>!!e.arl},actions:{login({commit:e,dispatch:t},a){const{arl:n,user:i,status:r}=a;t("setARL",{arl:n}),e("SET_USER",i),e("SET_STATUS",r)},logout({commit:e}){localStorage.removeItem("arl"),e("RESET_LOGIN")},setARL({commit:e},t){let{arl:a,saveOnLocalStorage:n}=t;n=void 0===n||n,e("SET_ARL",a),n&&localStorage.setItem("arl",a)},removeARL({commit:e}){e("SET_ARL",""),localStorage.removeItem("arl")},setUser({commit:e},t){e("SET_USER",t)},setClientMode({commit:e},t){e("SET_CLIENT_MODE",t)}},mutations:{SET_ARL(e,t){e.arl=t},SET_STATUS(e,t){e.status=t},SET_USER(e,t){e.user=t},SET_CLIENT_MODE(e,t){e.clientMode=t},RESET_LOGIN(e){let t=e.clientMode;Object.assign(e,Eo()),e.clientMode=t}}};var qo={state:{artist:"",bitrate:"",cover:"",downloaded:0,errors:[],failed:0,id:"",progress:0,silent:!0,size:0,title:"",type:"",uuid:""},getters:{getErrors:e=>e},actions:{setErrors({commit:e},t){e("SET_ERRORS",t)}},mutations:{SET_ERRORS(e,t){for(const a in e)if(e.hasOwnProperty(a)){const n=t[a];e[a]=n}}}};xa.use(jo);var Vo=new jo.Store({modules:{about:Oo,login:Bo,errors:qo},strict:!1});const Go=io.connect(window.location.href);Go.on("init_update",(e=>{Vo.dispatch("setAboutInfo",e)}));var Ho=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="BaseLoadingPlaceholder.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(e,t){var a=t._c;return a("div",{directives:[{name:"show",rawName:"v-show",value:!t.props.hidden,expression:"!props.hidden"}],staticClass:"flex justify-center items-center flex-col flex-1 h-full",class:t.props.additionalClasses},[a("span",{staticClass:"mb-5"},[t._v(t._s(t.props.text||"Loading..."))]),t._v(" "),t._m(0)])},staticRenderFns:[function(e,t){var a=t._c;return a("div",{staticClass:"lds-ring"},[a("div"),t._v(" "),a("div"),t._v(" "),a("div"),t._v(" "),a("div")])}]},(function(e){e&&e("data-v-07f63f2b_0",{source:".lds-ring[data-v-07f63f2b]{display:inline-block;position:relative;width:80px;height:80px}.lds-ring div[data-v-07f63f2b]{box-sizing:border-box;display:block;position:absolute;width:64px;height:64px;margin:8px;border:8px solid #fff;border-radius:50%;animation:lds-ring-data-v-07f63f2b 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#fff transparent transparent transparent}.lds-ring div[data-v-07f63f2b]:nth-child(1){animation-delay:-.45s}.lds-ring div[data-v-07f63f2b]:nth-child(2){animation-delay:-.3s}.lds-ring div[data-v-07f63f2b]:nth-child(3){animation-delay:-.15s}@keyframes lds-ring-data-v-07f63f2b{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}",map:void 0,media:void 0})}),{},"data-v-07f63f2b",!0,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));function Wo(e,t=null){if(!e)throw new Error("No URL given to sendAddToQueue function!");Go.emit("addToQueue",{url:e,bitrate:t},(()=>{}))}var Ko={sendAddToQueue:Wo};function Yo(e){let t=e.toLowerCase();if(t.startsWith("http")){if(t.indexOf("deezer.com")>=0||t.indexOf("deezer.page.link")>=0||t.indexOf("open.spotify.com")>=0||t.indexOf("link.tospotify.com")>=0)return!0}else if(t.startsWith("spotify:"))return!0;return!1}function Qo(e){let t,a;return t=Math.floor(e/60),a=e-60*t,a<10&&(a="0"+a),t+":"+a}function Jo(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}function Zo(e,t,a){var n;return function(){var i=this,r=arguments,s=function(){n=null,a||e.apply(i,r)},o=a&&!n;clearTimeout(n),n=setTimeout(s,t),o&&e.apply(i,r)}}function Xo(e){const t=document.createElement("input");document.body.appendChild(t),t.setAttribute("type","text"),t.setAttribute("value",e),t.select(),t.setSelectionRange(0,99999),document.execCommand("copy"),t.remove()}function el(e,...t){for(const a of t){let t=/\./.test(a)?a.split(".").reduce(((e,t)=>{if(e)return e[t]}),e):e[a];if(void 0!==t)return t}return null}var tl={isValidURL:Yo,convertDuration:Qo,convertDurationSeparated:function(e){let t,a,n;return a=Math.floor(e/60),t=Math.floor(a/60),n=e-60*a,a-=60*t,[t,a,n]},numberWithDots:Jo,debounce:Zo};const al=[{objName:"flac",label:"FLAC",value:9},{objName:"320kbps",label:"MP3 320kbps",value:3},{objName:"128kbps",label:"MP3 128kbps",value:1},{objName:"realityAudioHQ",label:"360 Reality Audio [HQ]",value:15},{objName:"realityAudioMQ",label:"360 Reality Audio [MQ]",value:14},{objName:"realityAudioLQ",label:"360 Reality Audio [LQ]",value:13}];var nl=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="TheContextMenu.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.menuOpen,expression:"menuOpen"}],ref:"contextMenu",staticClass:"context-menu",style:{top:e.yPos,left:e.xPos}},e._l(e.sortedOptions,(function(t){return a("button",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"option.show"}],key:t.label,staticClass:"btn menu-option",on:{click:function(e){return e.preventDefault(),t.action(e)}}},[a("span",{staticClass:"menu-option__text"},[e._v(e._s(t.label))])])})),0)},staticRenderFns:[]},(function(e){e&&e("data-v-3f12318e_0",{source:".context-menu[data-v-3f12318e]{position:absolute;top:0;left:0;min-width:100px;border-radius:7px;background:var(--secondary-background);box-shadow:4px 10px 18px 0 rgba(0,0,0,.15);overflow:hidden;z-index:10000}.menu-option[data-v-3f12318e]{display:flex;align-items:center;width:100%;height:40px;padding-left:10px;padding-right:10px;color:var(--foreground);cursor:pointer}.menu-option[data-v-3f12318e]:hover{background:var(--table-highlight);filter:brightness(150%)}.menu-option__text[data-v-3f12318e]{text-transform:capitalize}button[data-v-3f12318e]{color:var(--primary-text);color:unset;background-color:var(--primary-color);background-color:unset;min-width:unset;position:unset;border:unset;border-radius:unset;font-family:unset;font-weight:unset;font-size:unset;padding:unset;margin-right:unset;height:unset;text-transform:unset;cursor:unset;transition:unset}button[data-v-3f12318e]:focus{outline:0}button[data-v-3f12318e]:active{background-color:unset;transform:unset}button[data-v-3f12318e]:hover{background:unset;border:unset}",map:void 0,media:void 0})}),{data:()=>({menuOpen:!1,xPos:0,yPos:0,deezerHref:"",generalHref:"",imgSrc:""}),computed:{options(){const e={cut:{label:this.$t("globals.cut"),show:!1,position:1,action:()=>{document.execCommand("Cut")}},copy:{label:this.$t("globals.copy"),show:!1,position:2,action:()=>{document.execCommand("Copy")}},copyLink:{label:this.$t("globals.copyLink"),show:!1,position:3,action:()=>{Xo(this.generalHref)}},copyImageLink:{label:this.$t("globals.copyImageLink"),show:!1,position:4,action:()=>{Xo(this.imgSrc)}},copyDeezerLink:{label:this.$t("globals.copyDeezerLink"),show:!1,position:5,action:()=>{Xo(this.deezerHref)}},paste:{label:this.$t("globals.paste"),show:!1,position:6,action:()=>{clipboard in navigator?navigator.clipboard.readText().then((e=>{document.execCommand("insertText",void 0,e)})):document.execCommand("paste")}}};let t=Object.values(e).length+1;return al.forEach(((a,n)=>{e[a.objName]={label:""+this.$t("globals.download",{thing:a.label}),show:!1,position:t+n,action:Wo.bind(null,this.deezerHref,a.value)}})),e},sortedOptions(){return Object.values(this.options).sort(((e,t)=>e.position{this.menuOpen=!1,this.options.copyLink.show=!1,this.options.copyDeezerLink.show=!1,this.options.copyImageLink.show=!1,al.forEach((e=>{this.options[e.objName].show=!1}))})).catch((e=>{console.error(e)}))},positionMenu(e,t){this.xPos=e+"px",this.yPos=t+"px",this.$nextTick().then((()=>{const{innerHeight:a,innerWidth:n}=window,i=e+this.$refs.contextMenu.getBoundingClientRect().width,r=t+this.$refs.contextMenu.getBoundingClientRect().height;if(i>n){const t=i-n+15;this.xPos=e-t+"px"}if(r>a){const e=r-a+15;this.yPos=t-e+"px"}}))},showDeezerOptions(){this.options.copyDeezerLink.show=!0,al.forEach((e=>{this.options[e.objName].show=!0}))}}},"data-v-3f12318e",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}})),il=new xa;async function rl(e,t,{duration:a=1e3,easing:n=sl,interval:i=13}={}){const r=e.volume,s=t-r;if(!(s&&a&&n&&i))return e.volume=t,Promise.resolve();const o=Math.floor(a/i);let l=1;return new Promise((t=>{const a=setInterval((()=>{e.volume=r+n(l/o)*s,++l===o&&(clearInterval(a),t())}),i)}))}function sl(e){return.5-Math.cos(e*Math.PI)/2}var ol=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="TheTrackPreview.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("audio",{ref:"preview",attrs:{id:"preview-track"},on:{canplay:e.onCanPlay,timeupdate:e.onTimeUpdate}},[a("source",{attrs:{id:"preview-track_source",src:"",type:"audio/mpeg"}})])},staticRenderFns:[]},0,{data:()=>({previewStopped:!1}),mounted(){this.$refs.preview.volume=1,this.$router.beforeEach(((e,t,a)=>{this.stopStackedTabsPreview(),a()})),il.$on("trackPreview:playPausePreview",this.playPausePreview),il.$on("trackPreview:previewMouseEnter",this.previewMouseEnter),il.$on("trackPreview:previewMouseLeave",this.previewMouseLeave)},methods:{async onCanPlay(){await this.$refs.preview.play(),this.previewStopped=!1,await rl(this.$refs.preview,window.vol.preview_max_volume/100,{duration:500})},async onTimeUpdate(){if(isNaN(this.$refs.preview.duration))return;let e=this.$refs.preview.duration;isFinite(e)||(e=30),e-this.$refs.preview.currentTime>=1||this.previewStopped||(await rl(this.$refs.preview,0,{duration:800}),this.previewStopped=!0,document.querySelectorAll("a[playing] > .preview_controls").forEach((e=>{e.style.opacity=0})),document.querySelectorAll("*").forEach((e=>{e.removeAttribute("playing")})),document.querySelectorAll(".preview_controls, .preview_playlist_controls").forEach((e=>{e.textContent="play_arrow"})))},async playPausePreview(e){e.preventDefault(),e.stopPropagation();const{currentTarget:t}=e;var a="I"==t.tagName?t:t.querySelector("i");t.hasAttribute("playing")?this.$refs.preview.paused?(this.$refs.preview.play(),this.previewStopped=!1,a.innerText="pause",await rl(this.$refs.preview,window.vol.preview_max_volume/100,{duration:500})):(this.previewStopped=!0,a.innerText="play_arrow",await rl(this.$refs.preview,0,{duration:250}),this.$refs.preview.pause()):(document.querySelectorAll("*").forEach((e=>{e.removeAttribute("playing")})),t.setAttribute("playing",!0),document.querySelectorAll(".preview_controls, .preview_playlist_controls").forEach((e=>{e.textContent="play_arrow"})),document.querySelectorAll(".preview_controls").forEach((e=>{e.style.opacity=0})),a.innerText="pause",a.style.opacity=1,this.previewStopped=!1,await rl(this.$refs.preview,0,{duration:250}),this.$refs.preview.pause(),document.getElementById("preview-track_source").src=t.getAttribute("data-preview"),this.$refs.preview.load())},async stopStackedTabsPreview(){let e=Array.prototype.slice.call(document.querySelectorAll(".preview_playlist_controls[playing]"));0!==e.length&&(await rl(this.$refs.preview,0,{duration:250}),this.$refs.preview.pause(),this.previewStopped=!0,e.forEach((e=>{e.removeAttribute("playing"),e.innerText="play_arrow"})))},previewMouseEnter(e){e.currentTarget.style.opacity=1},previewMouseLeave(e){const{currentTarget:t}=e,a=t.parentElement.hasAttribute("playing");(a&&this.previewStopped||!a)&&(t.style.opacity=0)}}},undefined,!1);var ll=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="TheQualityModal.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],ref:"modal",staticClass:"smallmodal",attrs:{id:"modal_quality"},on:{click:function(t){return e.tryToDownloadTrack(t)}}},[a("div",{staticClass:"smallmodal-content"},[a("button",{staticClass:"btn btn-primary quality-button",attrs:{"data-quality-value":"9"}},[e._v("\n\t\t\t"+e._s(e.$t("globals.download",{thing:"FLAC"}))+"\n\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary quality-button",attrs:{"data-quality-value":"3"}},[e._v("\n\t\t\t"+e._s(e.$t("globals.download",{thing:"MP3 320kbps"}))+"\n\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary quality-button",attrs:{"data-quality-value":"1"}},[e._v("\n\t\t\t"+e._s(e.$t("globals.download",{thing:"MP3 128kbps"}))+"\n\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary quality-button",attrs:{"data-quality-value":"15"}},[e._v("\n\t\t\t"+e._s(e.$t("globals.download",{thing:"360 Reality Audio [HQ]"}))+"\n\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary quality-button",attrs:{"data-quality-value":"14"}},[e._v("\n\t\t\t"+e._s(e.$t("globals.download",{thing:"360 Reality Audio [MQ]"}))+"\n\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary quality-button",attrs:{"data-quality-value":"13"}},[e._v("\n\t\t\t"+e._s(e.$t("globals.download",{thing:"360 Reality Audio [LQ]"}))+"\n\t\t")])])])},staticRenderFns:[]},(function(e){e&&e("data-v-711cd010_0",{source:".smallmodal{position:fixed;z-index:1250;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,.4);animation-duration:.3s}.smallmodal-content{--modal-content-width:95%;background-color:transparent;margin:auto;width:var(--modal-content-width);position:relative;top:50%;transform:translateY(-50%)}@media only screen and (min-width:601px){.smallmodal-content{--modal-content-width:85%}}@media only screen and (min-width:993px){.smallmodal-content{--modal-content-width:70%}}.smallmodal-content button{width:100%;margin-bottom:8px}",map:void 0,media:void 0})}),{data:()=>({open:!1,url:""}),mounted(){this.$root.$on("QualityModal:open",this.openModal),this.$refs.modal.addEventListener("webkitAnimationEnd",this.handleAnimationEnd)},methods:{tryToDownloadTrack(e){const{target:t}=e;this.$refs.modal.classList.add("animated","fadeOut"),t.matches(".quality-button")&&Ko.sendAddToQueue(this.url,t.dataset.qualityValue)},openModal(e){this.url=e,this.open=!0,this.$refs.modal.classList.add("animated","fadeIn")},handleAnimationEnd(e){const{animationName:t}=e;this.$refs.modal.classList.remove("animated",t),"fadeIn"!==t&&(this.open=!1)}}},undefined,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));var cl=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="TheSidebar.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("aside",{ref:"sidebar",staticClass:"top-0 left-0 flex flex-col w-64 h-screen bg-panels-bg text-foreground",attrs:{id:"sidebar",role:"navigation","aria-label":"sidebar"}},[e._l(e.links,(function(t){return a("router-link",{key:t.id,staticClass:"relative flex items-center h-16 no-underline group main_tablinks hover:bg-background-main text-foreground",class:{"bg-background-main":e.activeTablink===t.name},attrs:{tag:"a",id:t.id,"aria-label":t.ariaLabel,to:{name:t.routerName}},nativeOn:{click:function(a){e.activeTablink=t.name}}},[a("i",{staticClass:"p-2 text-3xl material-icons side_icon group-hover:text-primary",class:{"text-primary":e.activeTablink===t.name}},[e._v("\n\t\t\t"+e._s(t.icon)+"\n\t\t")]),e._v(" "),a("span",{staticClass:"ml-5 overflow-hidden capitalize whitespace-no-wrap main_tablinks_text",staticStyle:{"letter-spacing":"1.3px"}},[e._v("\n\t\t\t"+e._s(e.$t(t.label))+"\n\t\t")]),e._v(" "),"about"===t.name&&e.updateAvailable?a("span",{staticClass:"w-3 h-3 bg-red-600 rounded-full",attrs:{id:"update-notification"}}):e._e()])})),e._v(" "),a("span",{staticClass:"flex h-12 mt-5",attrs:{id:"theme_selector",role:"link","aria-label":"theme selector"}},[a("i",{staticClass:"p-2 text-3xl transition-all duration-500 cursor-default material-icons side_icon side_icon--theme"},[e._v("\n\t\t\tbrush\n\t\t")]),e._v(" "),a("div",{staticClass:"relative flex items-center w-full justify-evenly",attrs:{id:"theme_togglers"}},e._l(e.themes,(function(t){return a("div",{key:t,staticClass:"w-6 h-6 border rounded-full cursor-pointer theme_toggler border-grayscale-500",class:[{"theme_toggler--active":e.activeTheme===t},"theme_toggler--"+t],on:{click:function(a){return e.changeTheme(t)}}})})),0)]),e._v(" "),a("div",{class:{online:e.appOnline,offline:!e.appOnline},attrs:{id:"network-status"}},[e.appOnline?a("i",{staticClass:"material-icons"},[e._v("wifi")]):a("i",{staticClass:"material-icons"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[a("path",{attrs:{d:"M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}}),e._v(" "),a("path",{attrs:{d:"M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4c-1.29-1.29-2.84-2.13-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24C7.81 10.89 6.27 11.73 5 13v.01L6.99 15c1.36-1.36 3.14-2.04 4.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3c-1.65-1.66-4.34-1.66-6 0z"}})])])])],2)},staticRenderFns:[]},(function(e){e&&e("data-v-6d2675e5_0",{source:"#sidebar.slim[data-v-6d2675e5]{width:46px}#sidebar.slim .main_tablinks_text[data-v-6d2675e5]{display:none}#sidebar.slim #theme_selector[data-v-6d2675e5],#sidebar.slim #theme_togglers[data-v-6d2675e5]{display:inline-grid;grid-gap:8px}#network-status[data-v-6d2675e5]{display:flex;justify-content:center;align-items:center;position:relative;margin-top:auto;bottom:0}#network-status.online i.material-icons[data-v-6d2675e5]{color:#159957}#network-status.offline i.material-icons svg[data-v-6d2675e5]{fill:red;width:1em;height:1em}#update-notification[data-v-6d2675e5]{position:absolute;left:30px;top:12px}.theme_toggler[data-v-6d2675e5]{transition:border .2s ease-in-out}.theme_toggler--active[data-v-6d2675e5]{border-width:3px}.theme_toggler--light[data-v-6d2675e5]{background-color:#fff}.theme_toggler--dark[data-v-6d2675e5]{background-color:#141414}.theme_toggler--purple[data-v-6d2675e5]{background:#460eaf}",map:void 0,media:void 0})}),{data:()=>({appOnline:null,activeTheme:"light",themes:["purple","dark","light"],activeTablink:"home",updateAvailable:!1,links:[{id:"main_home_tablink",name:"home",ariaLabel:"home",routerName:"Home",icon:"home",label:"sidebar.home"},{id:"main_search_tablink",name:"search",ariaLabel:"search",routerName:"Search",icon:"search",label:"sidebar.search"},{id:"main_charts_tablink",name:"charts",ariaLabel:"charts",routerName:"Charts",icon:"show_chart",label:"sidebar.charts"},{id:"main_favorites_tablink",name:"favorites",ariaLabel:"favorites",routerName:"Favorites",icon:"star",label:"sidebar.favorites"},{id:"main_analyzer_tablink",name:"analyzer",ariaLabel:"link analyzer",routerName:"Link Analyzer",icon:"link",label:"sidebar.linkAnalyzer"},{id:"main_settings_tablink",name:"settings",ariaLabel:"settings",routerName:"Settings",icon:"settings",label:"sidebar.settings"},{id:"main_about_tablink",name:"about",ariaLabel:"info",routerName:"About",icon:"info",label:"sidebar.about"}]}),mounted(){this.appOnline=navigator.onLine,window.addEventListener("online",(()=>{this.appOnline=!0})),window.addEventListener("offline",(()=>{this.appOnline=!1})),this.activeTheme=localStorage.getItem("selectedTheme")||"dark",this.$router.afterEach(((e,t)=>{const a=this.links.find((t=>t.routerName===e.name));a&&(this.activeTablink=a.name)})),Go.on("updateAvailable",(()=>{this.updateAvailable=!0})),"true"===localStorage.getItem("slimSidebar")&&this.$refs.sidebar.classList.add("slim")},methods:{changeTheme(e){if(e===this.activeTheme)return;this.activeTheme=e,document.documentElement.setAttribute("data-theme",e),localStorage.setItem("selectedTheme",e);const t=document.querySelectorAll("*");t.forEach((e=>{e.classList.add("changing-theme")})),document.documentElement.addEventListener("transitionend",(function e(){t.forEach((e=>{e.classList.remove("changing-theme")})),document.documentElement.removeEventListener("transitionend",e)}))}}},"data-v-6d2675e5",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));var dl=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="TheSearchBar.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("header",{attrs:{id:"search","aria-label":"searchbar"}},[e._m(0),e._v(" "),a("input",{ref:"searchbar",staticClass:"w-full",attrs:{id:"searchbar",autocomplete:"off",type:"search",name:"searchbar",value:"",placeholder:e.$t("searchbar"),autofocus:""},on:{keyup:function(t){return e.handleSearchBarKeyup(t)}}})])},staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"search__icon"},[a("i",{staticClass:"material-icons"},[e._v("search")])])}]},(function(e){e&&e("data-v-433b1911_0",{source:"input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;width:28px;height:28px;background-color:var(--foreground);-webkit-mask-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='28' viewBox='0 0 24 24' width='28'%3E%%3Cpath fill='%23ffffff' d='M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z'/%3E3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='28' viewBox='0 0 24 24' width='28'%3E%%3Cpath fill='%23ffffff' d='M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z'/%3E3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E\")}#search{background-color:var(--secondary-background);padding:0 1em;display:flex;align-items:center;border:1px solid transparent;transition:border .2s ease-in-out;border-radius:15px;margin:10px 10px 20px 10px}#search .search__icon{width:2rem;height:2rem}#search .search__icon i{font-size:2rem;color:var(--foreground)}#search .search__icon i::selection{background:0 0}#search #searchbar{height:45px;padding-left:.5em;border:0;border-radius:0;background-color:var(--secondary-background);color:var(--foreground);font-size:1.2rem;font-family:'Open Sans';font-weight:300;margin-bottom:0}#search #searchbar:focus{outline:0}#search #searchbar::-webkit-search-cancel-button{appearance:none;width:28px;height:28px;background-color:var(--foreground);mask-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='28' viewBox='0 0 24 24' width='28'%3E%%3Cpath fill='%23ffffff' d='M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z'/%3E3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E\")}#search #searchbar:-webkit-autofill,#search #searchbar:-webkit-autofill:active,#search #searchbar:-webkit-autofill:focus,#search #searchbar:-webkit-autofill:hover{box-shadow:0 0 0 45px var(--secondary-background) inset!important}#search:focus-within{border:1px solid var(--foreground)}",map:void 0,media:void 0})}),{data:()=>({lastTextSearch:""}),created(){const e=e=>{70===e.keyCode&&e.ctrlKey&&(e.preventDefault(),this.$refs.searchbar.focus())},t=e=>{"Backspace"==e.key&&e.ctrlKey&&e.shiftKey&&(this.$refs.searchbar.value="",this.$refs.searchbar.focus())};document.addEventListener("keydown",e),document.addEventListener("keyup",t),this.$on("hook:destroyed",(()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}))},methods:{test(){console.log("test passato")},async handleSearchBarKeyup(e){if(!(13===e.keyCode))return;let t=this.$refs.searchbar.value;if(""===t)return;let a=Yo(t),n=e.ctrlKey,i="Link Analyzer"===this.$route.name,r="Search"===this.$route.name,s=t===this.lastTextSearch;if(a)n?this.$root.$emit("QualityModal:open",t):i?Go.emit("analyzeLink",t):Wo(t);else{if(r&&s)return;r||await this.$router.push({name:"Search"}),s||(this.$root.$emit("updateSearchLoadingState",!0),this.lastTextSearch=t),this.$root.$emit("mainSearch:showNewResults",t)}}}},undefined,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));var ul=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="TheContent.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("main",{ref:"content",attrs:{id:"content","aria-label":"main content"},on:{scroll:function(t){"Search"===e.$route.name&&e.handleContentScroll(t)}}},[a("div",{attrs:{id:"container"}},[a("BaseLoadingPlaceholder",{attrs:{text:"Searching...",hidden:!e.loading}}),e._v(" "),e.showBackButton?a("BackButton",{staticClass:"sticky -ml-20",staticStyle:{top:"1rem"}}):e._e(),e._v(" "),a("keep-alive",[e.$route.meta.notKeepAlive?e._e():a("router-view",{directives:[{name:"show",rawName:"v-show",value:!e.loading,expression:"!loading"}],key:e.$route.fullPath,class:{"-mt-16":e.showBackButton},attrs:{"perform-scrolled-search":e.performScrolledSearch}})],1),e._v(" "),e.$route.meta.notKeepAlive?a("router-view",{directives:[{name:"show",rawName:"v-show",value:!e.loading,expression:"!loading"}],key:e.$route.fullPath,class:{"-mt-16":e.showBackButton},attrs:{"perform-scrolled-search":e.performScrolledSearch}}):e._e()],1)])},staticRenderFns:[]},(function(e){e&&e("data-v-28a23a49_0",{source:"#container{--container-width:95%;margin:0 auto;max-width:1280px;width:var(--container-width);transform:scale(1)}@media only screen and (min-width:601px){#container{--container-width:85%}}@media only screen and (min-width:993px){#container{--container-width:70%}}main{background-color:var(--main-background);padding-right:5px;width:100%;height:calc(100vh - 93px);overflow-y:scroll;overflow-x:hidden}main::-webkit-scrollbar{width:10px}main::-webkit-scrollbar-track{background:var(--main-background)}main::-webkit-scrollbar-thumb{background:var(--main-scroll);border-radius:4px;width:6px;padding:0 2px}",map:void 0,media:void 0})}),{components:{BaseLoadingPlaceholder:Ho,BackButton:function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="BackButton.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("button",{staticClass:"btn-primary border-transparent border-solid flex items-center justify-center p-1 m-0 w-16 h-16 rounded-full z-10",on:{click:function(t){return e.$router.back()}}},[a("i",{staticClass:"material-icons mirrored text-4xl text-white"},[e._v("forward")])])},staticRenderFns:[]},(function(e){e&&e("data-v-5753fbea_0",{source:"button[data-v-5753fbea]{transition:background .2s ease-in-out}",map:void 0,media:void 0})}),{},"data-v-5753fbea",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}))},data:()=>({performScrolledSearch:!1,loading:!1}),computed:{showBackButton(){return-1!==["Tracklist","Artist","Album","Playlist","Spotify Playlist"].indexOf(this.$route.name)}},mounted(){this.$root.$on("updateSearchLoadingState",(e=>{this.loading=e})),this.$router.beforeEach(((e,t,a)=>{this.$refs.content.scrollTo(0,0),a()}))},methods:{handleContentScroll:Zo((async function(){this.$refs.content.scrollTop+this.$refs.content.clientHeight.download-bar{display:flex;align-items:center;height:24px}.download-object>.download-bar>.queue_icon{cursor:default;margin-left:8px}.download-object>.download-bar>.progress{margin:0}#download_list:not(.slim) .download-line{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#download_list.slim>.download-object .download-info{display:block}#download_list.slim>.download-object .download-info img{display:none}#download_list.slim>.download-object .download-info .download-line{display:inline-block}#download_list.slim>.download-object .download-info .download-slim-separator{display:inline-block}#download_list.slim>.download-object .download-info-data{width:calc(80% - 16px);display:inline-block;padding-left:0}#download_list.slim>.download-object .download-info-status{width:20%;display:inline-block;float:right}.progress{position:relative;height:4px;display:block;width:100%;background-color:var(--secondary-background);border-radius:2px;margin:.5rem 0 1rem 0;overflow:hidden}.progress .determinate{position:absolute;top:0;left:0;bottom:0;background-color:var(--primary-color);transition:width .3s linear}.progress .converting{background-color:var(--secondary-color);transition:none!important}.progress .indeterminate{background-color:var(--primary-color)}.progress .indeterminate::before{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:indeterminate 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.progress .indeterminate::after{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:indeterminate-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation-delay:1.15s}@keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}100%{left:100%;right:-90%}}@keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}100%{left:107%;right:-8%}}",map:void 0,media:void 0})}),{data:()=>({isLoading:!1}),props:{queueItem:Object},computed:{hasFails(){return this.queueItem.failed>=1},allFailed(){let e=!1;return"download finished"===this.queueItem.status&&(e=this.queueItem.failed===this.queueItem.size),e},finishedWithFails(){return"download finished"===this.queueItem.status&&this.hasFails},isDeterminateStatus(){return-1!==pl.indexOf(this.queueItem.status)},barClass(){return{converting:"converting"===this.queueItem.status,indeterminate:!this.isDeterminateStatus,determinate:this.isDeterminateStatus}},barStyle(){let e=0,t="var(--primary-color)";return t=this.hasFails?"hsl(33, 100%, 47%)":"hsl(150, 76%, 34%)",this.allFailed&&(t="hsl(360, 100%, 35%)"),"download finished"===this.queueItem.status&&(e=100),"downloading"===this.queueItem.status&&(e=this.queueItem.progress),"converting"===this.queueItem.status&&(e=100-this.queueItem.conversion),{width:e+"%",backgroundColor:t}},resultIconText(){let e="delete_forever";return"download finished"===this.queueItem.status&&(e=this.hasFails?this.queueItem.failed>=this.queueItem.size?"error":"warning":"done"),e}},methods:{onResultIconClick(){this.isDeterminateStatus?(this.finishedWithFails&&this.$emit("show-errors",this.queueItem),"downloading"===this.queueItem.status&&(this.isLoading=!0,this.$emit("remove-item",this.queueItem.uuid))):(this.isLoading=!0,this.$emit("remove-item",this.queueItem.uuid))}}},undefined,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}})),hl="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var fl=function(e,t,a){return e(a={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&a.path)}},a.exports),a.exports}((function(e){ /*! * Toastify js 1.9.3 * https://github.com/apvarun/toastify-js @@ -17,7 +17,7 @@ function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:a});else * * Copyright (C) 2018 Varun A P */ -!function(t,a){e.exports?e.exports=a():t.Toastify=a()}(hl,(function(e){var t=function(e){return new t.lib.init(e)};function a(e,t){return t.offset[e]?isNaN(t.offset[e])?t.offset[e]:t.offset[e]+"px":"0px"}function n(e,t){return!(!e||"string"!=typeof t)&&!!(e.className&&e.className.trim().split(/\s+/gi).indexOf(t)>-1)}return t.lib=t.prototype={toastify:"1.9.3",constructor:t,init:function(e){return e||(e={}),this.options={},this.toastElement=null,this.options.text=e.text||"Hi there!",this.options.node=e.node,this.options.duration=0===e.duration?0:e.duration||3e3,this.options.selector=e.selector,this.options.callback=e.callback||function(){},this.options.destination=e.destination,this.options.newWindow=e.newWindow||!1,this.options.close=e.close||!1,this.options.gravity="bottom"===e.gravity?"toastify-bottom":"toastify-top",this.options.positionLeft=e.positionLeft||!1,this.options.position=e.position||"",this.options.backgroundColor=e.backgroundColor,this.options.avatar=e.avatar||"",this.options.className=e.className||"",this.options.stopOnFocus=void 0===e.stopOnFocus||e.stopOnFocus,this.options.onClick=e.onClick,this.options.offset=e.offset||{x:0,y:0},this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var e=document.createElement("div");if(e.className="toastify on "+this.options.className,this.options.position?e.className+=" toastify-"+this.options.position:!0===this.options.positionLeft?(e.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):e.className+=" toastify-right",e.className+=" "+this.options.gravity,this.options.backgroundColor&&(e.style.background=this.options.backgroundColor),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)e.appendChild(this.options.node);else if(e.innerHTML=this.options.text,""!==this.options.avatar){var t=document.createElement("img");t.src=this.options.avatar,t.className="toastify-avatar","left"==this.options.position||!0===this.options.positionLeft?e.appendChild(t):e.insertAdjacentElement("afterbegin",t)}if(!0===this.options.close){var n=document.createElement("span");n.innerHTML="✖",n.className="toast-close",n.addEventListener("click",function(e){e.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var i=window.innerWidth>0?window.innerWidth:screen.width;("left"==this.options.position||!0===this.options.positionLeft)&&i>360?e.insertAdjacentElement("afterbegin",n):e.appendChild(n)}if(this.options.stopOnFocus&&this.options.duration>0){var r=this;e.addEventListener("mouseover",(function(t){window.clearTimeout(e.timeOutValue)})),e.addEventListener("mouseleave",(function(){e.timeOutValue=window.setTimeout((function(){r.removeElement(e)}),r.options.duration)}))}if(void 0!==this.options.destination&&e.addEventListener("click",function(e){e.stopPropagation(),!0===this.options.newWindow?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),"function"==typeof this.options.onClick&&void 0===this.options.destination&&e.addEventListener("click",function(e){e.stopPropagation(),this.options.onClick()}.bind(this)),"object"==typeof this.options.offset){var s=a("x",this.options),o=a("y",this.options),l="left"==this.options.position?s:"-"+s,c="toastify-top"==this.options.gravity?o:"-"+o;e.style.transform="translate("+l+","+c+")"}return e},showToast:function(){var e;if(this.toastElement=this.buildToast(),!(e=void 0===this.options.selector?document.body:document.getElementById(this.options.selector)))throw"Root element is not defined";return e.insertBefore(this.toastElement,e.firstChild),t.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(e){e.className=e.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),e.parentNode&&e.parentNode.removeChild(e),this.options.callback.call(e),t.reposition()}.bind(this),400)}},t.reposition=function(){for(var e,t={top:15,bottom:15},a={top:15,bottom:15},i={top:15,bottom:15},r=document.getElementsByClassName("toastify"),s=0;s0?window.innerWidth:screen.width)<=360?(r[s].style[e]=i[e]+"px",i[e]+=o+15):!0===n(r[s],"toastify-left")?(r[s].style[e]=t[e]+"px",t[e]+=o+15):(r[s].style[e]=a[e]+"px",a[e]+=o+15)}return this},t.lib.init.prototype=t.lib,t}))}));lo("/*!\n * Toastify js 1.9.3\n * https://github.com/apvarun/toastify-js\n * @license MIT licensed\n *\n * Copyright (C) 2018 Varun A P\n */\n\n.toastify {\n padding: 12px 20px;\n color: #ffffff;\n display: inline-block;\n box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3);\n background: linear-gradient(135deg, #73a5ff, #5477f5);\n position: fixed;\n opacity: 0;\n transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);\n border-radius: 2px;\n cursor: pointer;\n text-decoration: none;\n max-width: calc(50% - 20px);\n z-index: 2147483647;\n}\n\n.toastify.on {\n opacity: 1;\n}\n\n.toast-close {\n opacity: 0.4;\n padding: 0 5px;\n}\n\n.toastify-right {\n right: 15px;\n}\n\n.toastify-left {\n left: 15px;\n}\n\n.toastify-top {\n top: -150px;\n}\n\n.toastify-bottom {\n bottom: -150px;\n}\n\n.toastify-rounded {\n border-radius: 25px;\n}\n\n.toastify-avatar {\n width: 1.5em;\n height: 1.5em;\n margin: -7px 5px;\n border-radius: 2px;\n}\n\n.toastify-center {\n margin-left: auto;\n margin-right: auto;\n left: 0;\n right: 0;\n max-width: -webkit-fit-content;\n max-width: fit-content;\n max-width: -moz-fit-content;\n}\n\n@media only screen and (max-width: 360px) {\n .toastify-right, .toastify-left {\n margin-left: auto;\n margin-right: auto;\n left: 0;\n right: 0;\n max-width: -webkit-fit-content;\n max-width: -moz-fit-content;\n max-width: fit-content;\n }\n}\n");lo(".toast-icon {\n display: inline-block;\n margin-right: 0.5rem;\n}\n\n.circle-loader {\n display: inline-block;\n width: 1rem;\n height: 1rem;\n border: 2px solid var(--primary-color);\n border-radius: 50%;\n border-bottom: 2px solid var(--secondary-background);\n -webkit-animation: spin 1s linear infinite;\n animation: spin 1s linear infinite;\n}\n\n.toastify {\n display: flex;\n align-items: center;\n box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(0, 0, 0, 0.3);\n background: var(--toast-background);\n color: var(--toast-text);\n}\n\n.toastify .circle-loader {\n border-bottom-color: var(--toast-secondary);\n}\r\n");const gl={gravity:"bottom",position:"left"};let vl={};const bl=function(e,t=null,a=!0,n=null){if(vl[n]){let i=vl[n],r=document.querySelectorAll(`div.toastify[toast_id=${n}]`);e&&r.forEach((t=>{t.querySelectorAll(".toast-message").forEach((t=>{t.innerHTML=e}))})),t&&(t="loading"==t?'
':`${t}`,r.forEach((e=>{e.querySelectorAll(".toast-icon").forEach((e=>{e.innerHTML=t}))}))),null!==a&&a&&(r.forEach((e=>{e.classList.add("dismissable")})),setTimeout((()=>{i.hideToast(),delete vl[n]}),3e3))}else{let i=fl({...gl,text:`${t=null==t?"":"loading"==t?'
':`${t}`}
${e}`,duration:a?3e3:0,className:a?"dismissable":"",onClick:function(){let e=!0;if(n){let t=document.querySelector(`div.toastify[toast_id=${n}]`).classList;t&&(e=-1!=Array.prototype.slice.call(t).indexOf("dismissable"))}i&&e&&(i.hideToast(),n&&delete vl[n])},offset:{x:"true"===localStorage.getItem("slimSidebar")?"3rem":"14rem"}}).showToast();n&&(vl[n]=i,i.toastElement.setAttribute("toast_id",n))}};Go.on("toast",(e=>{const{msg:t,icon:a,dismiss:n,id:i}=e;bl(t,a||null,void 0===n||n,i||null)}));var yl=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="App.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"app"}},[a("div",{staticClass:"app-container"},[a("TheSidebar"),e._v(" "),a("div",{staticClass:"content-container"},[a("TheSearchBar"),e._v(" "),a("TheContent")],1),e._v(" "),a("TheDownloadBar")],1),e._v(" "),a("BaseLoadingPlaceholder",{attrs:{text:"Connecting to the server...",hidden:e.isSocketConnected,additionalClasses:"absolute top-0 left-0 w-screen h-screen bg-black bg-opacity-50 z-50"}}),e._v(" "),a("TheTrackPreview"),e._v(" "),a("TheQualityModal"),e._v(" "),a("TheContextMenu")],1)},staticRenderFns:[]},(function(e){e&&e("data-v-10c22928_0",{source:".app-container{display:flex}.content-container{width:100%;display:flex;flex-direction:column}",map:void 0,media:void 0})}),{data:()=>({isSocketConnected:!1}),components:{TheSidebar:cl,TheSearchBar:dl,TheDownloadBar:function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="TheDownloadBar.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{ref:"container",staticClass:"block bg-panels-bg text-foreground h-screen",class:{"tab-hidden":!e.isExpanded,"w-8":!e.isExpanded},attrs:{id:"download_tab_container","data-label":e.$t("downloads"),"aria-label":"downloads"},on:{transitionend:function(t){e.$refs.container.style.transition=""}}},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpanded,expression:"isExpanded"}],staticClass:"absolute w-4 h-full bg-grayscale-200",staticStyle:{cursor:"ew-resize"},on:{mousedown:function(t){return t.preventDefault(),e.startDrag(t)}}}),e._v(" "),a("i",{ref:"toggler",staticClass:"m-1 text-2xl cursor-pointer material-icons",class:{"ml-1":!e.isExpanded,"ml-5":e.isExpanded},attrs:{id:"toggle_download_tab",title:e.$t("globals.toggle_download_tab_hint")},on:{click:function(t){return t.preventDefault(),e.toggleDownloadTab(t)}}}),e._v(" "),a("div",{staticClass:"absolute top-0 right-0 transition-all duration-200 ease-in-out",class:{"opacity-0 invisible":!e.isExpanded,"opacity-100 visible":e.isExpanded}},[e.clientMode?a("i",{staticClass:"m-1 text-2xl cursor-pointer material-icons",attrs:{title:e.$t("globals.open_downloads_folder")},on:{click:e.openDownloadsFolder}},[e._v("\n\t\t\tfolder_open\n\t\t")]):e._e(),e._v(" "),a("i",{staticClass:"m-1 text-2xl cursor-pointer material-icons",attrs:{title:e.$t("globals.clean_queue_hint")},on:{click:e.cleanQueue}},[e._v("\n\t\t\tclear_all\n\t\t")]),e._v(" "),a("i",{staticClass:"m-1 text-2xl cursor-pointer material-icons",attrs:{title:e.$t("globals.cancel_queue_hint")},on:{click:e.cancelQueue}},[e._v("\n\t\t\tdelete_sweep\n\t\t")])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpanded,expression:"isExpanded"}],ref:"list",staticClass:"w-full pr-2",attrs:{id:"download_list"}},e._l(e.queueList,(function(t){return a("QueueItem",{key:t.uuid,attrs:{"queue-item":t},on:{"show-errors":e.showErrorsTab,"remove-item":e.onRemoveItem}})})),1)])},staticRenderFns:[]},(function(e){e&&e("data-v-26a07528_0",{source:"#toggle_download_tab[data-v-26a07528]{width:25px;height:25px}#toggle_download_tab[data-v-26a07528]::before{font-family:'Material Icons';font-style:normal;font-weight:400;content:'chevron_right'}#download_tab_container.tab-hidden #toggle_download_tab[data-v-26a07528]::before{content:'chevron_left'}#download_tab_container.tab-hidden[data-v-26a07528]::after{content:attr(data-label);display:flex;align-items:center;text-transform:capitalize;writing-mode:vertical-rl;line-height:2rem}#download_list[data-v-26a07528]{height:calc(100% - 32px);padding-left:28px;overflow-y:scroll}#download_list[data-v-26a07528]::-webkit-scrollbar{width:10px}#download_list[data-v-26a07528]::-webkit-scrollbar-track{background:var(--panels-background)}#download_list[data-v-26a07528]::-webkit-scrollbar-thumb{background:var(--panels-scroll);border-radius:4px;width:6px;padding:0 2px}",map:void 0,media:void 0})}),{components:{QueueItem:ml},data:()=>({cachedTabWidth:parseInt(localStorage.getItem("downloadTabWidth"))||300,queue:[],queueList:{},queueComplete:[],isExpanded:"true"===localStorage.getItem("downloadTabOpen")}),computed:{...Fo({clientMode:"getClientMode"})},created(){const e=e=>{e.ctrlKey&&"b"===e.key&&this.toggleDownloadTab()};document.addEventListener("keyup",e),this.$on("hook:destroyed",(()=>{document.removeEventListener("keyup",e)}))},mounted(){Go.on("startDownload",this.startDownload),Go.on("startConversion",this.startConversion),Go.on("init_downloadQueue",this.initQueue),Go.on("addedToQueue",this.addToQueue),Go.on("updateQueue",this.updateQueue),Go.on("removedFromQueue",this.removeFromQueue),Go.on("finishDownload",this.finishDownload),Go.on("removedAllDownloads",this.removeAllDownloads),Go.on("removedFinishedDownloads",this.removedFinishedDownloads),"true"===localStorage.getItem("slimDownloads")&&this.$refs.list.classList.add("slim"),this.isExpanded&&this.setTabWidth(this.cachedTabWidth),document.addEventListener("mouseup",(()=>{document.removeEventListener("mousemove",this.handleDrag)})),window.addEventListener("beforeunload",(()=>{localStorage.setItem("downloadTabWidth",this.cachedTabWidth)}))},methods:{...Po(["setErrors"]),onRemoveItem(e){Go.emit("removeFromQueue",e)},setTabWidth(e){void 0===e?(this.$refs.container.style.width="",this.$refs.list.style.width=""):(this.$refs.container.style.width=e+"px",this.$refs.list.style.width=e+"px")},initQueue(e){const{queue:t,queueComplete:a,currentItem:n,queueList:i,restored:r}=e;a.length&&a.forEach((e=>{i[e].silent=!0,this.addToQueue(i[e])})),n&&(i[n].silent=!0,this.addToQueue(i[n],!0)),t.forEach((e=>{i[e].silent=!0,this.addToQueue(i[e])})),r&&(bl(this.$t("toasts.queueRestored"),"done",!0,"restoring_queue"),Go.emit("queueRestored"))},addToQueue(e,t=!1){if(Array.isArray(e)){if(e.length>1)return e.forEach(((e,t)=>{e.silent=!0,this.addToQueue(e)})),void bl(this.$t("toasts.addedMoreToQueue",{n:e.length}),"playlist_add_check");e=e[0]}this.$set(e,"current",t),this.$set(this.queueList,e.uuid,e);if(e.downloaded+e.failed==e.size){const t=-1==this.queueComplete.indexOf(e.uuid);this.$set(this.queueList[e.uuid],"status","download finished"),t&&this.queueComplete.push(e.uuid)}else{-1==this.queue.indexOf(e.uuid)&&this.queue.push(e.uuid)}(e.progress>0&&e.progress<100||t)&&this.startDownload(e.uuid),e.silent||bl(this.$t("toasts.addedToQueue",{item:e.title}),"playlist_add_check")},updateQueue(e){const{uuid:t,downloaded:a,failed:n,progress:i,conversion:r,error:s,data:o,errid:l}=e;t&&this.queue.indexOf(t)>-1&&(a&&this.queueList[t].downloaded++,n&&(this.queueList[t].failed++,this.queueList[t].errors.push({message:s,data:o,errid:l})),i&&(this.queueList[t].progress=i),r&&(this.queueList[t].conversion=r))},removeFromQueue(e){let t=this.queue.indexOf(e);t>-1&&(this.$delete(this.queue,t),this.$delete(this.queueList,e))},removeAllDownloads(e){if(this.queueComplete=[],e){this.queue=[e];let t=this.queueList[e];this.queueList={},this.queueList[e]=t}else this.queue=[],this.queueList={}},removedFinishedDownloads(){this.queueComplete.forEach((e=>{this.$delete(this.queueList,e)})),this.queueComplete=[]},toggleDownloadTab(){this.setTabWidth(),this.$refs.container.style.transition="all 250ms ease-in-out",this.isExpanded=!this.isExpanded,this.isExpanded&&this.setTabWidth(this.cachedTabWidth),localStorage.setItem("downloadTabOpen",this.isExpanded)},cleanQueue(){Go.emit("removeFinishedDownloads")},cancelQueue(){Go.emit("cancelAllDownloads")},openDownloadsFolder(){Go.emit("openDownloadsFolder")},handleDrag(e){let t=window.innerWidth-e.pageX+2;t<250?t=250:t>500&&(t=500),this.cachedTabWidth=t,this.setTabWidth(t)},startDrag(){document.addEventListener("mousemove",this.handleDrag)},startDownload(e){this.$set(this.queueList[e],"status","downloading")},finishDownload(e){if(!(this.queue.indexOf(e)>-1))return;this.$set(this.queueList[e],"status","download finished"),bl(this.$t("toasts.finishDownload",{item:this.queueList[e].title}),"done");let t=this.queue.indexOf(e);t>-1&&(this.queue.splice(t,1),this.queueComplete.push(e)),this.queue.length<=0&&bl(this.$t("toasts.allDownloaded"),"done_all")},startConversion(e){this.$set(this.queueList[e],"status","converting"),this.$set(this.queueList[e],"conversion",0)},async showErrorsTab(e){await this.setErrors(e),this.$router.push({name:"Errors"})}}},"data-v-26a07528",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}})),TheTrackPreview:ol,TheQualityModal:ll,BaseLoadingPlaceholder:Ho,TheContextMenu:nl,TheContent:ul},mounted(){Go.on("connect",(()=>{this.isSocketConnected=!0}))}},undefined,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}})),kl=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"]; +!function(t,a){e.exports?e.exports=a():t.Toastify=a()}(hl,(function(e){var t=function(e){return new t.lib.init(e)};function a(e,t){return t.offset[e]?isNaN(t.offset[e])?t.offset[e]:t.offset[e]+"px":"0px"}function n(e,t){return!(!e||"string"!=typeof t)&&!!(e.className&&e.className.trim().split(/\s+/gi).indexOf(t)>-1)}return t.lib=t.prototype={toastify:"1.9.3",constructor:t,init:function(e){return e||(e={}),this.options={},this.toastElement=null,this.options.text=e.text||"Hi there!",this.options.node=e.node,this.options.duration=0===e.duration?0:e.duration||3e3,this.options.selector=e.selector,this.options.callback=e.callback||function(){},this.options.destination=e.destination,this.options.newWindow=e.newWindow||!1,this.options.close=e.close||!1,this.options.gravity="bottom"===e.gravity?"toastify-bottom":"toastify-top",this.options.positionLeft=e.positionLeft||!1,this.options.position=e.position||"",this.options.backgroundColor=e.backgroundColor,this.options.avatar=e.avatar||"",this.options.className=e.className||"",this.options.stopOnFocus=void 0===e.stopOnFocus||e.stopOnFocus,this.options.onClick=e.onClick,this.options.offset=e.offset||{x:0,y:0},this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var e=document.createElement("div");if(e.className="toastify on "+this.options.className,this.options.position?e.className+=" toastify-"+this.options.position:!0===this.options.positionLeft?(e.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):e.className+=" toastify-right",e.className+=" "+this.options.gravity,this.options.backgroundColor&&(e.style.background=this.options.backgroundColor),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)e.appendChild(this.options.node);else if(e.innerHTML=this.options.text,""!==this.options.avatar){var t=document.createElement("img");t.src=this.options.avatar,t.className="toastify-avatar","left"==this.options.position||!0===this.options.positionLeft?e.appendChild(t):e.insertAdjacentElement("afterbegin",t)}if(!0===this.options.close){var n=document.createElement("span");n.innerHTML="✖",n.className="toast-close",n.addEventListener("click",function(e){e.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var i=window.innerWidth>0?window.innerWidth:screen.width;("left"==this.options.position||!0===this.options.positionLeft)&&i>360?e.insertAdjacentElement("afterbegin",n):e.appendChild(n)}if(this.options.stopOnFocus&&this.options.duration>0){var r=this;e.addEventListener("mouseover",(function(t){window.clearTimeout(e.timeOutValue)})),e.addEventListener("mouseleave",(function(){e.timeOutValue=window.setTimeout((function(){r.removeElement(e)}),r.options.duration)}))}if(void 0!==this.options.destination&&e.addEventListener("click",function(e){e.stopPropagation(),!0===this.options.newWindow?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),"function"==typeof this.options.onClick&&void 0===this.options.destination&&e.addEventListener("click",function(e){e.stopPropagation(),this.options.onClick()}.bind(this)),"object"==typeof this.options.offset){var s=a("x",this.options),o=a("y",this.options),l="left"==this.options.position?s:"-"+s,c="toastify-top"==this.options.gravity?o:"-"+o;e.style.transform="translate("+l+","+c+")"}return e},showToast:function(){var e;if(this.toastElement=this.buildToast(),!(e=void 0===this.options.selector?document.body:document.getElementById(this.options.selector)))throw"Root element is not defined";return e.insertBefore(this.toastElement,e.firstChild),t.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(e){e.className=e.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),e.parentNode&&e.parentNode.removeChild(e),this.options.callback.call(e),t.reposition()}.bind(this),400)}},t.reposition=function(){for(var e,t={top:15,bottom:15},a={top:15,bottom:15},i={top:15,bottom:15},r=document.getElementsByClassName("toastify"),s=0;s0?window.innerWidth:screen.width)<=360?(r[s].style[e]=i[e]+"px",i[e]+=o+15):!0===n(r[s],"toastify-left")?(r[s].style[e]=t[e]+"px",t[e]+=o+15):(r[s].style[e]=a[e]+"px",a[e]+=o+15)}return this},t.lib.init.prototype=t.lib,t}))}));lo("/*!\n * Toastify js 1.9.3\n * https://github.com/apvarun/toastify-js\n * @license MIT licensed\n *\n * Copyright (C) 2018 Varun A P\n */\n\n.toastify {\n padding: 12px 20px;\n color: #ffffff;\n display: inline-block;\n box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3);\n background: linear-gradient(135deg, #73a5ff, #5477f5);\n position: fixed;\n opacity: 0;\n transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);\n border-radius: 2px;\n cursor: pointer;\n text-decoration: none;\n max-width: calc(50% - 20px);\n z-index: 2147483647;\n}\n\n.toastify.on {\n opacity: 1;\n}\n\n.toast-close {\n opacity: 0.4;\n padding: 0 5px;\n}\n\n.toastify-right {\n right: 15px;\n}\n\n.toastify-left {\n left: 15px;\n}\n\n.toastify-top {\n top: -150px;\n}\n\n.toastify-bottom {\n bottom: -150px;\n}\n\n.toastify-rounded {\n border-radius: 25px;\n}\n\n.toastify-avatar {\n width: 1.5em;\n height: 1.5em;\n margin: -7px 5px;\n border-radius: 2px;\n}\n\n.toastify-center {\n margin-left: auto;\n margin-right: auto;\n left: 0;\n right: 0;\n max-width: -webkit-fit-content;\n max-width: fit-content;\n max-width: -moz-fit-content;\n}\n\n@media only screen and (max-width: 360px) {\n .toastify-right, .toastify-left {\n margin-left: auto;\n margin-right: auto;\n left: 0;\n right: 0;\n max-width: -webkit-fit-content;\n max-width: -moz-fit-content;\n max-width: fit-content;\n }\n}\n");lo(".toast-icon {\n display: inline-block;\n margin-right: 0.5rem;\n}\n\n.circle-loader {\n display: inline-block;\n width: 1rem;\n height: 1rem;\n border: 2px solid var(--primary-color);\n border-radius: 50%;\n border-bottom: 2px solid var(--secondary-background);\n -webkit-animation: spin 1s linear infinite;\n animation: spin 1s linear infinite;\n}\n\n.toastify {\n display: flex;\n align-items: center;\n box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(0, 0, 0, 0.3);\n background: var(--toast-background);\n color: var(--toast-text);\n}\n\n.toastify .circle-loader {\n border-bottom-color: var(--toast-secondary);\n}\n");const gl={gravity:"bottom",position:"left"};let vl={};const bl=function(e,t=null,a=!0,n=null){if(vl[n]){let i=vl[n],r=document.querySelectorAll(`div.toastify[toast_id=${n}]`);e&&r.forEach((t=>{t.querySelectorAll(".toast-message").forEach((t=>{t.innerHTML=e}))})),t&&(t="loading"==t?'
':`${t}`,r.forEach((e=>{e.querySelectorAll(".toast-icon").forEach((e=>{e.innerHTML=t}))}))),null!==a&&a&&(r.forEach((e=>{e.classList.add("dismissable")})),setTimeout((()=>{i.hideToast(),delete vl[n]}),3e3))}else{let i=fl({...gl,text:`${t=null==t?"":"loading"==t?'
':`${t}`}
${e}`,duration:a?3e3:0,className:a?"dismissable":"",onClick:function(){let e=!0;if(n){let t=document.querySelector(`div.toastify[toast_id=${n}]`).classList;t&&(e=-1!=Array.prototype.slice.call(t).indexOf("dismissable"))}i&&e&&(i.hideToast(),n&&delete vl[n])},offset:{x:"true"===localStorage.getItem("slimSidebar")?"3rem":"14rem"}}).showToast();n&&(vl[n]=i,i.toastElement.setAttribute("toast_id",n))}};Go.on("toast",(e=>{const{msg:t,icon:a,dismiss:n,id:i}=e;bl(t,a||null,void 0===n||n,i||null)}));var yl=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="App.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"app"}},[a("div",{staticClass:"app-container"},[a("TheSidebar"),e._v(" "),a("div",{staticClass:"content-container"},[a("TheSearchBar"),e._v(" "),a("TheContent")],1),e._v(" "),a("TheDownloadBar")],1),e._v(" "),a("BaseLoadingPlaceholder",{attrs:{text:"Connecting to the server...",hidden:e.isSocketConnected,additionalClasses:"absolute top-0 left-0 w-screen h-screen bg-black bg-opacity-50 z-50"}}),e._v(" "),a("TheTrackPreview"),e._v(" "),a("TheQualityModal"),e._v(" "),a("TheContextMenu")],1)},staticRenderFns:[]},(function(e){e&&e("data-v-33a8f871_0",{source:".app-container{display:flex}.content-container{width:100%;display:flex;flex-direction:column}",map:void 0,media:void 0})}),{data:()=>({isSocketConnected:!1}),components:{TheSidebar:cl,TheSearchBar:dl,TheDownloadBar:function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="TheDownloadBar.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{ref:"container",staticClass:"block bg-panels-bg text-foreground h-screen",class:{"tab-hidden":!e.isExpanded,"w-8":!e.isExpanded},attrs:{id:"download_tab_container","data-label":e.$t("downloads"),"aria-label":"downloads"},on:{transitionend:function(t){e.$refs.container.style.transition=""}}},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpanded,expression:"isExpanded"}],staticClass:"absolute w-4 h-full bg-grayscale-200",staticStyle:{cursor:"ew-resize"},on:{mousedown:function(t){return t.preventDefault(),e.startDrag(t)}}}),e._v(" "),a("i",{ref:"toggler",staticClass:"m-1 text-2xl cursor-pointer material-icons",class:{"ml-1":!e.isExpanded,"ml-5":e.isExpanded},attrs:{id:"toggle_download_tab",title:e.$t("globals.toggle_download_tab_hint")},on:{click:function(t){return t.preventDefault(),e.toggleDownloadTab(t)}}}),e._v(" "),a("div",{staticClass:"absolute top-0 right-0 transition-all duration-200 ease-in-out",class:{"opacity-0 invisible":!e.isExpanded,"opacity-100 visible":e.isExpanded}},[e.clientMode?a("i",{staticClass:"m-1 text-2xl cursor-pointer material-icons",attrs:{title:e.$t("globals.open_downloads_folder")},on:{click:e.openDownloadsFolder}},[e._v("\n\t\t\tfolder_open\n\t\t")]):e._e(),e._v(" "),a("i",{staticClass:"m-1 text-2xl cursor-pointer material-icons",attrs:{title:e.$t("globals.clean_queue_hint")},on:{click:e.cleanQueue}},[e._v("\n\t\t\tclear_all\n\t\t")]),e._v(" "),a("i",{staticClass:"m-1 text-2xl cursor-pointer material-icons",attrs:{title:e.$t("globals.cancel_queue_hint")},on:{click:e.cancelQueue}},[e._v("\n\t\t\tdelete_sweep\n\t\t")])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpanded,expression:"isExpanded"}],ref:"list",staticClass:"w-full pr-2",attrs:{id:"download_list"}},e._l(e.queueList,(function(t){return a("QueueItem",{key:t.uuid,attrs:{"queue-item":t},on:{"show-errors":e.showErrorsTab,"remove-item":e.onRemoveItem}})})),1)])},staticRenderFns:[]},(function(e){e&&e("data-v-52168ee2_0",{source:"#toggle_download_tab[data-v-52168ee2]{width:25px;height:25px}#toggle_download_tab[data-v-52168ee2]::before{font-family:'Material Icons';font-style:normal;font-weight:400;content:'chevron_right'}#download_tab_container.tab-hidden #toggle_download_tab[data-v-52168ee2]::before{content:'chevron_left'}#download_tab_container.tab-hidden[data-v-52168ee2]::after{content:attr(data-label);display:flex;align-items:center;text-transform:capitalize;writing-mode:vertical-rl;line-height:2rem}#download_list[data-v-52168ee2]{height:calc(100% - 32px);padding-left:28px;overflow-y:scroll}#download_list[data-v-52168ee2]::-webkit-scrollbar{width:10px}#download_list[data-v-52168ee2]::-webkit-scrollbar-track{background:var(--panels-background)}#download_list[data-v-52168ee2]::-webkit-scrollbar-thumb{background:var(--panels-scroll);border-radius:4px;width:6px;padding:0 2px}",map:void 0,media:void 0})}),{components:{QueueItem:ml},data:()=>({cachedTabWidth:parseInt(localStorage.getItem("downloadTabWidth"))||300,queue:[],queueList:{},queueComplete:[],isExpanded:"true"===localStorage.getItem("downloadTabOpen")}),computed:{...Fo({clientMode:"getClientMode"})},created(){const e=e=>{e.ctrlKey&&"b"===e.key&&this.toggleDownloadTab()};document.addEventListener("keyup",e),this.$on("hook:destroyed",(()=>{document.removeEventListener("keyup",e)}))},mounted(){Go.on("startDownload",this.startDownload),Go.on("startConversion",this.startConversion),Go.on("init_downloadQueue",this.initQueue),Go.on("addedToQueue",this.addToQueue),Go.on("updateQueue",this.updateQueue),Go.on("removedFromQueue",this.removeFromQueue),Go.on("finishDownload",this.finishDownload),Go.on("removedAllDownloads",this.removeAllDownloads),Go.on("removedFinishedDownloads",this.removedFinishedDownloads),"true"===localStorage.getItem("slimDownloads")&&this.$refs.list.classList.add("slim"),this.isExpanded&&this.setTabWidth(this.cachedTabWidth),document.addEventListener("mouseup",(()=>{document.removeEventListener("mousemove",this.handleDrag)})),window.addEventListener("beforeunload",(()=>{localStorage.setItem("downloadTabWidth",this.cachedTabWidth)}))},methods:{...Po(["setErrors"]),onRemoveItem(e){Go.emit("removeFromQueue",e)},setTabWidth(e){void 0===e?(this.$refs.container.style.width="",this.$refs.list.style.width=""):(this.$refs.container.style.width=e+"px",this.$refs.list.style.width=e+"px")},initQueue(e){const{queue:t,queueComplete:a,currentItem:n,queueList:i,restored:r}=e;a.length&&a.forEach((e=>{i[e].silent=!0,this.addToQueue(i[e])})),n&&(i[n].silent=!0,this.addToQueue(i[n],!0)),t.forEach((e=>{i[e].silent=!0,this.addToQueue(i[e])})),r&&(bl(this.$t("toasts.queueRestored"),"done",!0,"restoring_queue"),Go.emit("queueRestored"))},addToQueue(e,t=!1){if(Array.isArray(e)){if(e.length>1)return e.forEach(((e,t)=>{e.silent=!0,this.addToQueue(e)})),void bl(this.$t("toasts.addedMoreToQueue",{n:e.length}),"playlist_add_check");e=e[0]}this.$set(e,"current",t),this.$set(this.queueList,e.uuid,e);if(e.downloaded+e.failed==e.size){const t=-1==this.queueComplete.indexOf(e.uuid);this.$set(this.queueList[e.uuid],"status","download finished"),t&&this.queueComplete.push(e.uuid)}else{-1==this.queue.indexOf(e.uuid)&&this.queue.push(e.uuid)}(e.progress>0&&e.progress<100||t)&&this.startDownload(e.uuid),e.silent||bl(this.$t("toasts.addedToQueue",{item:e.title}),"playlist_add_check")},updateQueue(e){const{uuid:t,downloaded:a,failed:n,progress:i,conversion:r,error:s,data:o,errid:l}=e;t&&this.queue.indexOf(t)>-1&&(a&&this.queueList[t].downloaded++,n&&(this.queueList[t].failed++,this.queueList[t].errors.push({message:s,data:o,errid:l})),i&&(this.queueList[t].progress=i),r&&(this.queueList[t].conversion=r))},removeFromQueue(e){let t=this.queue.indexOf(e);t>-1&&(this.$delete(this.queue,t),this.$delete(this.queueList,e))},removeAllDownloads(e){if(this.queueComplete=[],e){this.queue=[e];let t=this.queueList[e];this.queueList={},this.queueList[e]=t}else this.queue=[],this.queueList={}},removedFinishedDownloads(){this.queueComplete.forEach((e=>{this.$delete(this.queueList,e)})),this.queueComplete=[]},toggleDownloadTab(){this.setTabWidth(),this.$refs.container.style.transition="all 250ms ease-in-out",this.isExpanded=!this.isExpanded,this.isExpanded&&this.setTabWidth(this.cachedTabWidth),localStorage.setItem("downloadTabOpen",this.isExpanded)},cleanQueue(){Go.emit("removeFinishedDownloads")},cancelQueue(){Go.emit("cancelAllDownloads")},openDownloadsFolder(){Go.emit("openDownloadsFolder")},handleDrag(e){let t=window.innerWidth-e.pageX+2;t<250?t=250:t>500&&(t=500),this.cachedTabWidth=t,this.setTabWidth(t)},startDrag(){document.addEventListener("mousemove",this.handleDrag)},startDownload(e){this.$set(this.queueList[e],"status","downloading")},finishDownload(e){if(!(this.queue.indexOf(e)>-1))return;this.$set(this.queueList[e],"status","download finished"),bl(this.$t("toasts.finishDownload",{item:this.queueList[e].title}),"done");let t=this.queue.indexOf(e);t>-1&&(this.queue.splice(t,1),this.queueComplete.push(e)),this.queue.length<=0&&bl(this.$t("toasts.allDownloaded"),"done_all")},startConversion(e){this.$set(this.queueList[e],"status","converting"),this.$set(this.queueList[e],"conversion",0)},async showErrorsTab(e){await this.setErrors(e),this.$router.push({name:"Errors"})}}},"data-v-52168ee2",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}})),TheTrackPreview:ol,TheQualityModal:ll,BaseLoadingPlaceholder:Ho,TheContextMenu:nl,TheContent:ul},mounted(){Go.on("connect",(()=>{this.isSocketConnected=!0}))}},undefined,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}})),kl=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"]; /*! * vue-i18n v8.22.1 * (c) 2020 kazuya kawaguchi @@ -27,4 +27,4 @@ function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:a});else * vue-router v3.4.8 * (c) 2020 Evan You * @license MIT - */function vc(e,t){for(var a in t)e[a]=t[a];return e}var bc=/[!'()*]/g,yc=function(e){return"%"+e.charCodeAt(0).toString(16)},kc=/%2C/g,wc=function(e){return encodeURIComponent(e).replace(bc,yc).replace(kc,",")};function _c(e){try{return decodeURIComponent(e)}catch(e){}return e}var Ac=function(e){return null==e||"object"==typeof e?e:String(e)};function xc(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var a=e.replace(/\+/g," ").split("="),n=_c(a.shift()),i=a.length>0?_c(a.join("=")):null;void 0===t[n]?t[n]=i:Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]})),t):t}function Cc(e){var t=e?Object.keys(e).map((function(t){var a=e[t];if(void 0===a)return"";if(null===a)return wc(t);if(Array.isArray(a)){var n=[];return a.forEach((function(e){void 0!==e&&(null===e?n.push(wc(t)):n.push(wc(t)+"="+wc(e)))})),n.join("&")}return wc(t)+"="+wc(a)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var zc=/\/?$/;function Sc(e,t,a,n){var i=n&&n.options.stringifyQuery,r=t.query||{};try{r=Tc(r)}catch(e){}var s={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:r,params:t.params||{},fullPath:Pc(t,i),matched:e?Fc(e):[]};return a&&(s.redirectedFrom=Pc(a,i)),Object.freeze(s)}function Tc(e){if(Array.isArray(e))return e.map(Tc);if(e&&"object"==typeof e){var t={};for(var a in e)t[a]=Tc(e[a]);return t}return e}var Mc=Sc(null,{path:"/"});function Fc(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function Pc(e,t){var a=e.path,n=e.query;void 0===n&&(n={});var i=e.hash;return void 0===i&&(i=""),(a||"/")+(t||Cc)(n)+i}function Dc(e,t){return t===Mc?e===t:!!t&&(e.path&&t.path?e.path.replace(zc,"")===t.path.replace(zc,"")&&e.hash===t.hash&&Nc(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&Nc(e.query,t.query)&&Nc(e.params,t.params)))}function Nc(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var a=Object.keys(e).sort(),n=Object.keys(t).sort();return a.length===n.length&&a.every((function(a,i){var r=e[a];if(n[i]!==a)return!1;var s=t[a];return null==r||null==s?r===s:"object"==typeof r&&"object"==typeof s?Nc(r,s):String(r)===String(s)}))}function Lc(e){for(var t=0;t=0&&(t=e.slice(n),e=e.slice(0,n));var i=e.indexOf("?");return i>=0&&(a=e.slice(i+1),e=e.slice(0,i)),{path:e,query:a,hash:t}}(i.path||""),c=t&&t.path||"/",d=l.path?Ic(l.path,c,a||i.append):c,u=function(e,t,a){void 0===t&&(t={});var n,i=a||xc;try{n=i(e||"")}catch(e){n={}}for(var r in t){var s=t[r];n[r]=Array.isArray(s)?s.map(Ac):Ac(s)}return n}(l.query,i.query,n&&n.options.parseQuery),p=i.hash||l.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:d,query:u,hash:p}}var rd,sd=function(){},od={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(e){var t=this,a=this.$router,n=this.$route,i=a.resolve(this.to,n,this.append),r=i.location,s=i.route,o=i.href,l={},c=a.options.linkActiveClass,d=a.options.linkExactActiveClass,u=null==c?"router-link-active":c,p=null==d?"router-link-exact-active":d,m=null==this.activeClass?u:this.activeClass,h=null==this.exactActiveClass?p:this.exactActiveClass,f=s.redirectedFrom?Sc(null,id(s.redirectedFrom),null,a):s;l[h]=Dc(n,f),l[m]=this.exact?l[h]:function(e,t){return 0===e.path.replace(zc,"/").indexOf(t.path.replace(zc,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var a in t)if(!(a in e))return!1;return!0}(e.query,t.query)}(n,f);var g=l[h]?this.ariaCurrentValue:null,v=function(e){ld(e)&&(t.replace?a.replace(r,sd):a.push(r,sd))},b={click:ld};Array.isArray(this.event)?this.event.forEach((function(e){b[e]=v})):b[this.event]=v;var y={class:l},k=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:o,route:s,navigate:v,isActive:l[m],isExactActive:l[h]});if(k){if(1===k.length)return k[0];if(k.length>1||!k.length)return 0===k.length?e():e("span",{},k)}if("a"===this.tag)y.on=b,y.attrs={href:o,"aria-current":g};else{var w=cd(this.$slots.default);if(w){w.isStatic=!1;var _=w.data=vc({},w.data);for(var A in _.on=_.on||{},_.on){var x=_.on[A];A in b&&(_.on[A]=Array.isArray(x)?x:[x])}for(var C in b)C in _.on?_.on[C].push(b[C]):_.on[C]=v;var z=w.data.attrs=vc({},w.data.attrs);z.href=o,z["aria-current"]=g}else y.on=b}return e(this.tag,y,this.$slots.default)}};function ld(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function cd(e){if(e)for(var t,a=0;a-1&&(o.params[p]=a.params[p]);return o.path=nd(d.path,o.params),l(d,o,s)}if(o.path){o.params={};for(var m=0;m=e.length?a():e[i]?t(e[i],(function(){n(i+1)})):n(i+1)};n(0)}var $d={redirected:2,aborted:4,cancelled:8,duplicated:16};function Id(e,t){return jd(e,t,$d.redirected,'Redirected when going from "'+e.fullPath+'" to "'+function(e){if("string"==typeof e)return e;if("path"in e)return e.path;var t={};return Od.forEach((function(a){a in e&&(t[a]=e[a])})),JSON.stringify(t,null,2)}(t)+'" via a navigation guard.')}function Rd(e,t){return jd(e,t,$d.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function jd(e,t,a,n){var i=new Error(n);return i._isRouter=!0,i.from=e,i.to=t,i.type=a,i}var Od=["params","query","hash"];function Ed(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function Bd(e,t){return Ed(e)&&e._isRouter&&(null==t||e.type===t)}function qd(e){return function(t,a,n){var i=!1,r=0,s=null;Vd(e,(function(e,t,a,o){if("function"==typeof e&&void 0===e.cid){i=!0,r++;var l,c=Wd((function(t){var i;((i=t).__esModule||Hd&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:rd.extend(t),a.components[o]=t,--r<=0&&n()})),d=Wd((function(e){var t="Failed to resolve async component "+o+": "+e;s||(s=Ed(e)?e:new Error(t),n(s))}));try{l=e(c,d)}catch(e){d(e)}if(l)if("function"==typeof l.then)l.then(c,d);else{var u=l.component;u&&"function"==typeof u.then&&u.then(c,d)}}})),i||n()}}function Vd(e,t){return Gd(e.map((function(e){return Object.keys(e.components).map((function(a){return t(e.components[a],e.instances[a],e,a)}))})))}function Gd(e){return Array.prototype.concat.apply([],e)}var Hd="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Wd(e){var t=!1;return function(){for(var a=[],n=arguments.length;n--;)a[n]=arguments[n];if(!t)return t=!0,e.apply(this,a)}}var Kd=function(e,t){this.router=e,this.base=function(e){if(!e)if(dd){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=Mc,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Yd(e,t,a,n){var i=Vd(e,(function(e,n,i,r){var s=function(e,t){"function"!=typeof e&&(e=rd.extend(e));return e.options[t]}(e,t);if(s)return Array.isArray(s)?s.map((function(e){return a(e,n,i,r)})):a(s,n,i,r)}));return Gd(n?i.reverse():i)}function Qd(e,t){if(t)return function(){return e.apply(t,arguments)}}Kd.prototype.listen=function(e){this.cb=e},Kd.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Kd.prototype.onError=function(e){this.errorCbs.push(e)},Kd.prototype.transitionTo=function(e,t,a){var n,i=this;try{n=this.router.match(e,this.current)}catch(e){throw this.errorCbs.forEach((function(t){t(e)})),e}var r=this.current;this.confirmTransition(n,(function(){i.updateRoute(n),t&&t(n),i.ensureURL(),i.router.afterHooks.forEach((function(e){e&&e(n,r)})),i.ready||(i.ready=!0,i.readyCbs.forEach((function(e){e(n)})))}),(function(e){a&&a(e),e&&!i.ready&&(Bd(e,$d.redirected)&&r===Mc||(i.ready=!0,i.readyErrorCbs.forEach((function(t){t(e)}))))}))},Kd.prototype.confirmTransition=function(e,t,a){var n=this,i=this.current;this.pending=e;var r=function(e){!Bd(e)&&Ed(e)&&(n.errorCbs.length?n.errorCbs.forEach((function(t){t(e)})):console.error(e)),a&&a(e)},s=e.matched.length-1,o=i.matched.length-1;if(Dc(e,i)&&s===o&&e.matched[s]===i.matched[o])return this.ensureURL(),r(function(e,t){var a=jd(e,t,$d.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return a.name="NavigationDuplicated",a}(i,e));var l=function(e,t){var a,n=Math.max(e.length,t.length);for(a=0;a0)){var t=this.router,a=t.options.scrollBehavior,n=Dd&&a;n&&this.listeners.push(_d());var i=function(){var a=e.current,i=Zd(e.base);e.current===Mc&&i===e._startLocation||e.transitionTo(i,(function(e){n&&Ad(t,e,a,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,a){var n=this,i=this.current;this.transitionTo(e,(function(e){Nd(Rc(n.base+e.fullPath)),Ad(n.router,e,i,!1),t&&t(e)}),a)},t.prototype.replace=function(e,t,a){var n=this,i=this.current;this.transitionTo(e,(function(e){Ld(Rc(n.base+e.fullPath)),Ad(n.router,e,i,!1),t&&t(e)}),a)},t.prototype.ensureURL=function(e){if(Zd(this.base)!==this.current.fullPath){var t=Rc(this.base+this.current.fullPath);e?Nd(t):Ld(t)}},t.prototype.getCurrentLocation=function(){return Zd(this.base)},t}(Kd);function Zd(e){var t=window.location.pathname;return e&&0===t.toLowerCase().indexOf(e.toLowerCase())&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Xd=function(e){function t(t,a,n){e.call(this,t,a),n&&function(e){var t=Zd(e);if(!/^\/#/.test(t))return window.location.replace(Rc(e+"/#"+t)),!0}(this.base)||eu()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,a=Dd&&t;a&&this.listeners.push(_d());var n=function(){var t=e.current;eu()&&e.transitionTo(tu(),(function(n){a&&Ad(e.router,n,t,!0),Dd||iu(n.fullPath)}))},i=Dd?"popstate":"hashchange";window.addEventListener(i,n),this.listeners.push((function(){window.removeEventListener(i,n)}))}},t.prototype.push=function(e,t,a){var n=this,i=this.current;this.transitionTo(e,(function(e){nu(e.fullPath),Ad(n.router,e,i,!1),t&&t(e)}),a)},t.prototype.replace=function(e,t,a){var n=this,i=this.current;this.transitionTo(e,(function(e){iu(e.fullPath),Ad(n.router,e,i,!1),t&&t(e)}),a)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;tu()!==t&&(e?nu(t):iu(t))},t.prototype.getCurrentLocation=function(){return tu()},t}(Kd);function eu(){var e=tu();return"/"===e.charAt(0)||(iu("/"+e),!1)}function tu(){var e=window.location.href,t=e.indexOf("#");return t<0?"":e=e.slice(t+1)}function au(e){var t=window.location.href,a=t.indexOf("#");return(a>=0?t.slice(0,a):t)+"#"+e}function nu(e){Dd?Nd(au(e)):window.location.hash=e}function iu(e){Dd?Ld(au(e)):window.location.replace(au(e))}var ru=function(e){function t(t,a){e.call(this,t,a),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,a){var n=this;this.transitionTo(e,(function(e){n.stack=n.stack.slice(0,n.index+1).concat(e),n.index++,t&&t(e)}),a)},t.prototype.replace=function(e,t,a){var n=this;this.transitionTo(e,(function(e){n.stack=n.stack.slice(0,n.index).concat(e),t&&t(e)}),a)},t.prototype.go=function(e){var t=this,a=this.index+e;if(!(a<0||a>=this.stack.length)){var n=this.stack[a];this.confirmTransition(n,(function(){var e=t.current;t.index=a,t.updateRoute(n),t.router.afterHooks.forEach((function(t){t&&t(n,e)}))}),(function(e){Bd(e,$d.duplicated)&&(t.index=a)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Kd),su=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=hd(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Dd&&!1!==e.fallback,this.fallback&&(t="hash"),dd||(t="abstract"),this.mode=t,t){case"history":this.history=new Jd(this,e.base);break;case"hash":this.history=new Xd(this,e.base,this.fallback);break;case"abstract":this.history=new ru(this,e.base)}},ou={currentRoute:{configurable:!0}};function lu(e,t){return e.push(t),function(){var a=e.indexOf(t);a>-1&&e.splice(a,1)}}su.prototype.match=function(e,t,a){return this.matcher.match(e,t,a)},ou.currentRoute.get=function(){return this.history&&this.history.current},su.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var a=t.apps.indexOf(e);a>-1&&t.apps.splice(a,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var a=this.history;if(a instanceof Jd||a instanceof Xd){var n=function(e){a.setupListeners(),function(e){var n=a.current,i=t.options.scrollBehavior;Dd&&i&&"fullPath"in e&&Ad(t,e,n,!1)}(e)};a.transitionTo(a.getCurrentLocation(),n,n)}a.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},su.prototype.beforeEach=function(e){return lu(this.beforeHooks,e)},su.prototype.beforeResolve=function(e){return lu(this.resolveHooks,e)},su.prototype.afterEach=function(e){return lu(this.afterHooks,e)},su.prototype.onReady=function(e,t){this.history.onReady(e,t)},su.prototype.onError=function(e){this.history.onError(e)},su.prototype.push=function(e,t,a){var n=this;if(!t&&!a&&"undefined"!=typeof Promise)return new Promise((function(t,a){n.history.push(e,t,a)}));this.history.push(e,t,a)},su.prototype.replace=function(e,t,a){var n=this;if(!t&&!a&&"undefined"!=typeof Promise)return new Promise((function(t,a){n.history.replace(e,t,a)}));this.history.replace(e,t,a)},su.prototype.go=function(e){this.history.go(e)},su.prototype.back=function(){this.go(-1)},su.prototype.forward=function(){this.go(1)},su.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},su.prototype.resolve=function(e,t,a){var n=id(e,t=t||this.history.current,a,this),i=this.match(n,t),r=i.redirectedFrom||i.fullPath;return{location:n,route:i,href:function(e,t,a){var n="hash"===a?"#"+t:t;return e?Rc(e+"/"+n):n}(this.history.base,r,this.mode),normalizedTo:n,resolved:i}},su.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==Mc&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(su.prototype,ou),su.install=function e(t){if(!e.installed||rd!==t){e.installed=!0,rd=t;var a=function(e){return void 0!==e},n=function(e,t){var n=e.$options._parentVnode;a(n)&&a(n=n.data)&&a(n=n.registerRouteInstance)&&n(e,t)};t.mixin({beforeCreate:function(){a(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",Uc),t.component("RouterLink",od);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},su.version="3.4.8",su.isNavigationFailure=Bd,su.NavigationFailureType=$d,dd&&window.Vue&&window.Vue.use(su);var cu=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="About.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"about_tab"}},[a("h1",{staticClass:"mb-8 text-5xl capitalize"},[e._v(e._s(e.$t("sidebar.about")))]),e._v(" "),a("ul",[a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.updates.currentWebuiVersion"))+":\n\t\t\t"),a("span",[e._v(e._s("1.3.1"))])]),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.updates.currentVersion"))+":\n\t\t\t"),a("span",[e._v(e._s(e.current||e.$t("about.updates.versionNotAvailable")))])]),e._v(" "),a("li",[e._v(e._s(e.$t("about.updates.deemixVersion"))+": "+e._s(e.deemixVersion))]),e._v(" "),e.updateAvailable&&e.latest?a("li",[e._v(e._s(e.$t("about.updates.updateAvailable",{version:e.latest})))]):e._e()]),e._v(" "),a("ul",[a("li",{domProps:{innerHTML:e._s(e.$t("about.usesLibrary"))}}),e._v(" "),a("li",{domProps:{innerHTML:e._s(e.$t("about.thanks"))}}),e._v(" "),a("i18n",{attrs:{path:"about.upToDate.text",tag:"li"}},[a("a",{attrs:{place:"newsChannel",href:"https://t.me/RemixDevNews",target:"_blank"}},[e._v(e._s(e.$t("about.upToDate.newsChannel")))])])],1),e._v(" "),a("h2",[e._v(e._s(e.$t("about.titles.usefulLinks")))]),e._v(" "),a("ul",{staticClass:"no-dots"},[a("li",[a("a",{attrs:{href:"https://www.reddit.com/r/deemix",target:"_blank"}},[e._v("🤖 "+e._s(e.$t("about.officialSubreddit")))])]),e._v(" "),a("li",[a("a",{attrs:{href:"https://t.me/RemixDevNews",target:"_blank"}},[e._v("📰 "+e._s(e.$t("about.newsChannel")))])])]),e._v(" "),a("h2",[e._v("\n\t\t"+e._s(e.$t("about.titles.bugReports"))+"\n\t\t"),a("span",{staticClass:"subheading"},[e._v("\n\t\t\t"+e._s(e.$t("about.subtitles.bugReports"))+"\n\t\t")])]),e._v(" "),a("ul",[a("i18n",{attrs:{path:"about.questions.text",tag:"li"}},[a("a",{attrs:{place:"subreddit",href:"https://www.reddit.com/r/deemix",target:"_blank"}},[e._v(e._s(e.$t("about.questions.subreddit")))])]),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.beforeReporting"))+"\n\t\t")]),e._v(" "),a("li",{domProps:{innerHTML:e._s(e.$t("about.beSure"))}}),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.duplicateReports"))+"\n\t\t")]),e._v(" "),a("li",{domProps:{innerHTML:e._s(e.$t("about.dontOpenIssues"))}})],1),e._v(" "),a("h2",[e._v("\n\t\t"+e._s(e.$t("about.titles.contributing"))+"\n\t\t"),a("span",{staticClass:"subheading"},[e._v("\n\t\t\t"+e._s(e.$t("about.subtitles.contributing"))+"\n\t\t")])]),e._v(" "),a("ul",[a("i18n",{attrs:{path:"about.newUI.text",tag:"li"}},[a("span",{attrs:{place:"repo"}},[e._v(e._s(e.$t("about.newUI.repo")))])]),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.acceptFeatures"))+"\n\t\t")]),e._v(" "),a("i18n",{attrs:{path:"about.contributeWebUI.text",tag:"li"}},[a("span",{attrs:{place:"webui"}},[e._v(e._s(e.$t("about.contributeWebUI.webui")))])]),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.otherLanguages"))+"\n\t\t")]),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.understandingCode"))+"\n\t\t")])],1),e._v(" "),a("h2",[e._v("\n\t\t"+e._s(e.$t("about.titles.donations"))+"\n\t\t"),a("span",{staticClass:"subheading"},[e._v("\n\t\t\t"+e._s(e.$t("about.subtitles.donations"))+"\n\t\t")])]),e._v(" "),a("ul",[a("li",{domProps:{innerHTML:e._s(e.$t("about.itsFree"))}}),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.notObligated"))+"\n\t\t")])]),e._v(" "),a("ul",[a("li",[a("i",{domProps:{innerHTML:e._s(e.paypal)}}),e._v(" "),a("strong",[e._v("PayPal:")]),e._v(" "),a("a",{attrs:{href:"https://paypal.me/RemixDev",target:"_blank"}},[e._v("PayPal.me/RemixDev")])]),e._v(" "),a("li",[a("i",{staticClass:"ethereum",domProps:{innerHTML:e._s(e.ethereum)}}),e._v(" "),a("strong",[e._v("Ethereum:")]),e._v(" 0x1d2aa67e671485CD4062289772B662e0A6Ff976c\n\t\t")])]),e._v(" "),a("h2",[e._v(e._s(e.$t("about.titles.license")))]),e._v(" "),e._m(0),e._v(" "),a("i18n",{attrs:{path:"about.lincensedUnder.text",tag:"p"}},[a("a",{attrs:{place:"gpl3",rel:"license",href:"https://www.gnu.org/licenses/gpl-3.0.en.html",target:"_blank"}},[e._v(e._s(e.$t("about.lincensedUnder.gpl3")))])])],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("p",[t("a",{attrs:{rel:"license",href:"https://www.gnu.org/licenses/gpl-3.0.en.html",target:"_blank"}},[t("img",{staticStyle:{"border-width":"0"},attrs:{alt:"GNU General Public License",src:"https://www.gnu.org/graphics/gplv3-127x51.png"}})])])}]},(function(e){e&&e("data-v-a0a452d0_0",{source:"@charset \"UTF-8\";a[data-v-a0a452d0],li[data-v-a0a452d0],p[data-v-a0a452d0]{letter-spacing:.4px;font-size:20px;line-height:1.2}i[data-v-a0a452d0]{vertical-align:middle}i[data-v-a0a452d0] svg{fill:#fff;width:20px}.ethereum[data-v-a0a452d0] svg{fill:var(--foreground)}[data-v-a0a452d0]:link{text-decoration:none}#about_tab[data-v-a0a452d0]{margin-bottom:40px}h2[data-v-a0a452d0]{text-transform:capitalize}h2[data-v-a0a452d0]:not(.page_heading){font-size:2rem;border-bottom:1px solid rgba(51,51,51,.25);padding-top:2rem;padding-bottom:1rem}h2 .subheading[data-v-a0a452d0]{display:block;font-size:.5em;margin-top:.5em;font-weight:400;opacity:.8;text-transform:none}p[data-v-a0a452d0]{margin:0!important}ul li[data-v-a0a452d0]{margin-bottom:7px}h2+ul[data-v-a0a452d0]{margin-top:1rem}ul+ul[data-v-a0a452d0]{margin-top:1.25rem}ul.no-dots[data-v-a0a452d0]{list-style-type:none}ul[data-v-a0a452d0]:not(.no-dots){list-style-type:none}ul:not(.no-dots) li[data-v-a0a452d0]{position:relative}ul:not(.no-dots) li[data-v-a0a452d0]::before{content:'—';position:absolute;left:-30px;opacity:.25}",map:void 0,media:void 0})}),{data:()=>({paypal:'\r\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n',ethereum:'',current:null,latest:null,updateAvailable:!1,deemixVersion:null}),computed:{...Fo(["getAboutInfo"])},methods:{initUpdate(e){const{currentCommit:t,latestCommit:a,updateAvailable:n,deemixVersion:i}=e;this.current=t,this.latest=a,this.updateAvailable=n,this.deemixVersion=i}},mounted(){this.initUpdate(this.getAboutInfo)}},"data-v-a0a452d0",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));var du=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="InfoArl.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("settings.login.arl.question")))]),e._v(" "),e._m(0),e._v(" "),a("h3",{staticClass:"mt-6 text-3xl"},[e._v("Chrome (Easy way)")]),e._v(" "),e._m(1),e._v(" "),a("h3",{staticClass:"mt-6 text-3xl"},[e._v("Chrome")]),e._v(" "),e._m(2),e._v(" "),e._m(3),e._v(" "),a("h3",{staticClass:"mt-6 text-3xl"},[e._v("Firefox")]),e._v(" "),e._m(4)])},staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v("\n\t\tDeezer keeps track of login session by using a cookie called ARL."),a("br"),e._v("\n\t\tdeemix uses that cookie to get the metadata that it needs to download the tracks from Deezer."),a("br"),e._v("\n\t\tARLs last for 3 months, after that Deezer asks you to log in again. The same method is used in deemix"),a("br"),e._v("\n\t\tFollowing one of the guides below you can get your own account ARL.\n\t")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"mb-2 text-base"},[a("li",[e._v("Open Chrome")]),e._v(" "),a("li",[e._v("Go to www.deezer.com and log into your account")]),e._v(" "),a("li",[e._v('Click on the little "lock" icon next the URL')]),e._v(" "),a("li",[e._v("Click on Cookies > deezer.com > cookies > arl")]),e._v(" "),a("li",[e._v("Select the string next to Content, and Copy")]),e._v(" "),a("li",[e._v("That's your ARL, now you can use it in the app")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"mb-2 text-base"},[a("li",[e._v("Open Chrome")]),e._v(" "),a("li",[e._v("Go to www.deezer.com and log into your account")]),e._v(" "),a("li",[e._v("After logging in press F12 to open up Developer Tools")]),e._v(" "),a("li",[e._v("Go under the Application tab (if you don't see it click the double arrow)")]),e._v(" "),a("li",[e._v("Open the cookie dropdown")]),e._v(" "),a("li",[e._v("Select www.deezer.com")]),e._v(" "),a("li",[e._v("Find the `arl` cookie (It should be 192 chars long) ")]),e._v(" "),a("li",[e._v("That's your ARL, now you can use it in the app")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v("Here's a "),a("a",{attrs:{href:"https://youtu.be/O6PRT47_yds",target:"_blank"}},[e._v("video guide")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"mb-2 text-base"},[a("li",[e._v("Open Firefox")]),e._v(" "),a("li",[e._v("Go to www.deezer.com and log into your account")]),e._v(" "),a("li",[e._v("Afer logging in press F12 to open up Developer Tools")]),e._v(" "),a("li",[e._v("Go under the Storage tab (if you don't see it click the double arrow)")]),e._v(" "),a("li",[e._v("Open the cookie dropdown")]),e._v(" "),a("li",[e._v("Select www.deezer.com")]),e._v(" "),a("li",[e._v("Find the `arl` cookie (It should be 192 chars long)")]),e._v(" "),a("li",[e._v("Make sure only copy the value and not the entire cookie")]),e._v(" "),a("li",[e._v("That's your ARL, now you can use it in the app")])])}]},0,{},undefined,!1);var uu=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="InfoSpotifyFeatures.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("settings.spotify.question")))]),e._v(" "),a("p",{staticClass:"mb-2 text-base"},[e._v('\n\t\t"Spotify Features" is a set of features that lets you convert Spotify tracks and albums links into Deezer ones.\n\t\tIf you provide a Spotify Playlist link the app will autmatically convert all the links of the tracks inside it into deezer tracks.\n\t\tEnabling this set of features will let you see your public Spotify playlists in the favorites tab as well.\n\t')]),e._v(" "),a("p",{staticClass:"mb-2 text-base"},[e._v("For security reasons you will need to provide your own Client ID and Secret")]),e._v(" "),a("h2",{staticClass:"mt-6 text-3xl"},[e._v("How do I get my Client ID and Secret?")]),e._v(" "),e._m(0),e._v(" "),e._m(1),e._v(" "),e._m(2),e._v(" "),e._m(3),e._v(" "),a("p",{staticClass:"mb-2 text-base"},[e._v("Now you can copy-paste those results in the appropriate fields in the settings.")]),e._v(" "),a("h2",{staticClass:"mt-6 text-3xl"},[e._v("How do I get my Spotify Username?")]),e._v(" "),e._m(4)])},staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v("Connect to "),a("a",{attrs:{href:"https://developer.spotify.com/dashboard",target:"_blank"}},[e._v("Spotify for Developers's Dashboard")]),e._v(" and login with your Spotify account.")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v('\n\t\tClick on "Create an App".'),a("br"),e._v(" "),a("img",{attrs:{src:"https://i.imgur.com/YFz7rHj.png",alt:"Create an App button on Spotify for Developers's Dashboard"}})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v('\n\t\tFill out the "App name" and "App description" fields and check both checkboxes. Then click on the "Create" button.'),a("br"),e._v(" "),a("img",{attrs:{src:"https://i.imgur.com/A9cvDkK.png",alt:"Create an app form"}})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v('\n\t\tNow you can see the Client ID. If you click on "Show Client Secret" the client secret will be revealed.'),a("br"),e._v(" "),a("img",{attrs:{src:"https://i.imgur.com/foEfIhO.png",alt:"Screen of client ID and Secret"}})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v("You can get your Spotify Username from the "),a("a",{attrs:{href:"https://www.spotify.com/it/account/overview/",target:"_blank"}},[e._v("Overview page on Spotify's Website")]),e._v(".")])}]},0,{},undefined,!1),pu="object"==typeof global&&global&&global.Object===Object&&global,mu="object"==typeof self&&self&&self.Object===Object&&self,hu=pu||mu||Function("return this")(),fu=hu.Symbol,gu=Object.prototype,vu=gu.hasOwnProperty,bu=gu.toString,yu=fu?fu.toStringTag:void 0;var ku=Object.prototype.toString;var wu=fu?fu.toStringTag:void 0;function _u(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":wu&&wu in Object(e)?function(e){var t=vu.call(e,yu),a=e[yu];try{e[yu]=void 0;var n=!0}catch(e){}var i=bu.call(e);return n&&(t?e[yu]=a:delete e[yu]),i}(e):function(e){return ku.call(e)}(e)}function Au(e){return null!=e&&"object"==typeof e}function xu(e){return"symbol"==typeof e||Au(e)&&"[object Symbol]"==_u(e)}function Cu(e,t){for(var a=-1,n=null==e?0:e.length,i=Array(n);++a-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function Qu(e){return null!=e&&Yu(e.length)&&!Du(e)}var Ju=Object.prototype;function Zu(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ju)}function Xu(e){return Au(e)&&"[object Arguments]"==_u(e)}var ep=Object.prototype,tp=ep.hasOwnProperty,ap=ep.propertyIsEnumerable,np=Xu(function(){return arguments}())?Xu:function(e){return Au(e)&&tp.call(e,"callee")&&!ap.call(e,"callee")};var ip="object"==typeof exports&&exports&&!exports.nodeType&&exports,rp=ip&&"object"==typeof module&&module&&!module.nodeType&&module,sp=rp&&rp.exports===ip?hu.Buffer:void 0,op=(sp?sp.isBuffer:void 0)||function(){return!1},lp={};function cp(e){return function(t){return e(t)}}lp["[object Float32Array]"]=lp["[object Float64Array]"]=lp["[object Int8Array]"]=lp["[object Int16Array]"]=lp["[object Int32Array]"]=lp["[object Uint8Array]"]=lp["[object Uint8ClampedArray]"]=lp["[object Uint16Array]"]=lp["[object Uint32Array]"]=!0,lp["[object Arguments]"]=lp["[object Array]"]=lp["[object ArrayBuffer]"]=lp["[object Boolean]"]=lp["[object DataView]"]=lp["[object Date]"]=lp["[object Error]"]=lp["[object Function]"]=lp["[object Map]"]=lp["[object Number]"]=lp["[object Object]"]=lp["[object RegExp]"]=lp["[object Set]"]=lp["[object String]"]=lp["[object WeakMap]"]=!1;var dp="object"==typeof exports&&exports&&!exports.nodeType&&exports,up=dp&&"object"==typeof module&&module&&!module.nodeType&&module,pp=up&&up.exports===dp&&pu.process,mp=function(){try{var e=up&&up.require&&up.require("util").types;return e||pp&&pp.binding&&pp.binding("util")}catch(e){}}(),hp=mp&&mp.isTypedArray,fp=hp?cp(hp):function(e){return Au(e)&&Yu(e.length)&&!!lp[_u(e)]},gp=Object.prototype.hasOwnProperty;function vp(e,t){var a=zu(e),n=!a&&np(e),i=!a&&!n&&op(e),r=!a&&!n&&!i&&fp(e),s=a||n||i||r,o=s?function(e,t){for(var a=-1,n=Array(e);++a-1},Np.prototype.set=function(e,t){var a=this.__data__,n=Pp(a,e);return n<0?(++this.size,a.push([e,t])):a[n][1]=t,this};var Lp=Vu(hu,"Map");function Up(e,t){var a,n,i=e.__data__;return("string"==(n=typeof(a=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==a:null===a)?i["string"==typeof t?"string":"hash"]:i.map}function $p(e){var t=-1,a=null==e?0:e.length;for(this.clear();++to))return!1;var c=r.get(e);if(c&&r.get(t))return c==t;var d=-1,u=!0,p=2&a?new sm:void 0;for(r.set(e,t),r.set(t,e);++dt||r&&s&&l&&!o&&!c||n&&s&&l||!a&&l||!i)return 1;if(!n&&!r&&!c&&e=o?l:l*("desc"==a[n]?-1:1)}return e.index-t.index}(e,t,a)}))}function Dm(e,t,a,n){return null==e?[]:(zu(t)||(t=null==t?[]:[t]),zu(a=n?void 0:a)||(a=null==a?[]:[a]),Pm(e,t,a))}var Nm=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="Artist.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"relative image-header",attrs:{id:"artist_tab"}},[a("header",{staticClass:"flex items-center",style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[a("h1",{staticClass:"m-0"},[e._v(e._s(e.title))]),e._v(" "),a("div",{staticClass:"grid w-16 h-16 ml-auto rounded-full cursor-pointer bg-primary text-grayscale-870 place-items-center",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[a("i",{staticClass:"text-4xl material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),a("div",{staticClass:"my-4"},e._l(e.body,(function(t,n){return a("button",{key:n,staticClass:"mr-2 btn bg-background-main",class:{"btn-primary":n===e.currentTab},attrs:{href:"#artist_"+n},on:{click:function(t){return e.changeTab(n)}}},[e._v("\n\t\t\t"+e._s(e.$tc("globals.listTabs."+n,2))+"\n\t\t")])})),0),e._v(" "),a("table",{staticClass:"table"},[a("thead",[a("tr",e._l(e.head,(function(t){return a("th",{class:{"sort-asc":t.sortKey==e.sortKey&&"asc"==e.sortOrder,"sort-desc":t.sortKey==e.sortKey&&"desc"==e.sortOrder,sortable:t.sortKey,clickable:t.sortKey},style:{width:t.width?t.width:"auto"},on:{click:function(a){t.sortKey&&e.sortBy(t.sortKey)}}},[e._v("\n\t\t\t\t\t"+e._s(t.title)+"\n\t\t\t\t")])})),0)]),e._v(" "),a("tbody",e._l(e.showTable,(function(t){return a("tr",{key:t.id},[a("router-link",{staticClass:"flex items-center clickable",attrs:{tag:"td",to:{name:"Album",params:{id:t.id}}}},[a("img",{staticClass:"rounded coverart",staticStyle:{"margin-right":"16px",width:"56px",height:"56px"},attrs:{src:t.cover_small}}),e._v(" "),t.explicit_lyrics?a("i",{staticClass:"material-icons explicit-icon"},[e._v(" explicit ")]):e._e(),e._v("\n\t\t\t\t\t"+e._s(t.title)+"\n\t\t\t\t\t"),e.checkNewRelease(t.release_date)?a("i",{staticClass:"material-icons",staticStyle:{color:"#ff7300"}},[e._v("\n\t\t\t\t\t\tfiber_new\n\t\t\t\t\t")]):e._e()]),e._v(" "),a("td",[e._v(e._s(t.release_date))]),e._v(" "),a("td",[e._v(e._s(t.nb_song))]),e._v(" "),a("td",{staticClass:"clickable",attrs:{"data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[a("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v(" file_download ")])])],1)})),0)])])},staticRenderFns:[]},0,{data:()=>({currentTab:"",sortKey:"release_date",sortOrder:"desc",title:"",image:"",type:"",link:"",head:null,body:null}),computed:{showTable(){return this.body?"nb_song"==this.sortKey?Dm(this.body[this.currentTab],(function(e){return new Number(e.nb_song)}),this.sortOrder):Dm(this.body[this.currentTab],this.sortKey,this.sortOrder):[]}},mounted(){Go.on("show_artist",this.showArtist),il.$on("artistTab:updateSelected",this.updateSelected),il.$on("artistTab:changeTab",this.changeTab)},methods:{reset(){this.title="Loading...",this.image="",this.type="",this.currentTab="",this.sortKey="release_date",this.sortOrder="desc",this.link="",this.head=[],this.body=null},addToQueue(e){e.stopPropagation(),Ko.sendAddToQueue(e.currentTarget.dataset.link)},sortBy(e){e==this.sortKey?this.sortOrder="asc"==this.sortOrder?"desc":"asc":(this.sortKey=e,this.sortOrder="asc")},changeTab(e){this.currentTab=e},updateSelected(){},checkNewRelease(e){let t=new Date,a=new Date(e);return a.setDate(a.getDate()+3),t.setHours(0,0,0,0),t.getTime()<=a.getTime()},showArtist(e){this.reset();const{name:t,picture_xl:a,id:n,releases:i}=e;this.title=t,this.image=a,this.type="Artist",this.link="https://www.deezer.com/artist/"+n,""===this.currentTab&&(this.currentTab=Object.keys(i)[0]),this.sortKey="release_date",this.sortOrder="desc",this.head=[{title:this.$tc("globals.listTabs.title",1),sortKey:"title"},{title:this.$t("globals.listTabs.releaseDate"),sortKey:"release_date"},{title:this.$tc("globals.listTabs.track",2),sortKey:"nb_song"},{title:"",width:"32px"}],Mm(i)?this.body=null:this.body=i}}},undefined,!1);let Lm={},Um=!1;function $m(){return Um?Lm:(Go.emit("get_charts_data"),new Promise(((e,t)=>{Go.on("init_charts",(t=>{Lm=t,Um=!0,Go.off("init_charts"),e(t)}))})))}var Im=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="PreviewControls.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("i",{staticClass:"absolute top-0 right-0 flex items-center justify-center w-full h-full text-center transition-opacity duration-200 ease-in-out bg-black bg-opacity-50 rounded opacity-0 material-icons preview_controls",attrs:{title:e.$t("globals.play_hint")},on:{mouseenter:e.previewMouseEnter,mouseleave:e.previewMouseLeave}},[e._v("\n\tplay_arrow\n")])},staticRenderFns:[]},0,{methods:{previewMouseEnter(e){il.$emit("trackPreview:previewMouseEnter",e)},previewMouseLeave(e){il.$emit("trackPreview:previewMouseLeave",e)}}},undefined,!1);var Rm=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="Charts.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("charts.title")))]),e._v(" "),""===e.country?a("div",[a("div",{staticClass:"release-grid"},e._l(e.countries,(function(t){return a("div",{key:t.id,staticClass:"w-40 h-40 release clickable",attrs:{role:"button","aria-label":t.title,"data-title":t.title,"data-id":t.id},on:{click:e.getTrackList}},[a("img",{staticClass:"w-full rounded coverart",attrs:{src:t.picture_medium}})])})),0)]):a("div",[a("button",{staticClass:"btn btn-primary",on:{click:e.onChangeCountry}},[e._v(e._s(e.$t("charts.changeCountry")))]),e._v(" "),a("button",{staticClass:"btn btn-primary",attrs:{"data-link":"https://www.deezer.com/playlist/"+e.id},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[e._v("\n\t\t\t"+e._s(e.$t("charts.download"))+"\n\t\t")]),e._v(" "),a("table",{staticClass:"table table--charts"},[a("tbody",e._l(e.chart,(function(t){return a("tr",{staticClass:"track_row"},[a("td",{staticClass:"p-3 text-center cursor-default",class:{first:1===t.position}},[e._v("\n\t\t\t\t\t\t"+e._s(t.position)+"\n\t\t\t\t\t")]),e._v(" "),a("td",{staticClass:"table__icon table__icon--big"},[a("span",{staticClass:"relative inline-block rounded cursor-pointer",attrs:{"data-preview":t.preview},on:{click:e.playPausePreview}},[t.preview?a("PreviewControls"):e._e(),e._v(" "),a("img",{staticClass:"rounded coverart",attrs:{src:t.album.cover_small}})],1)]),e._v(" "),a("td",{staticClass:"table__cell--large"},[e._v("\n\t\t\t\t\t\t"+e._s(t.title+(t.title_version&&-1==t.title.indexOf(t.title_version)?" "+t.title_version:""))+"\n\t\t\t\t\t")]),e._v(" "),a("router-link",{staticClass:"table__cell table__cell--medium table__cell--center clickable",attrs:{tag:"td",to:{name:"Artist",params:{id:t.artist.id}}}},[e._v("\n\t\t\t\t\t\t"+e._s(t.artist.name)+"\n\t\t\t\t\t")]),e._v(" "),a("router-link",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{tag:"td",to:{name:"Album",params:{id:t.album.id}}}},[e._v("\n\t\t\t\t\t\t"+e._s(t.album.title)+"\n\t\t\t\t\t")]),e._v(" "),a("td",{staticClass:"table__cell--small table__cell--center"},[e._v("\n\t\t\t\t\t\t"+e._s(e.convertDuration(t.duration))+"\n\t\t\t\t\t")]),e._v(" "),a("td",{staticClass:"cursor-pointer group",attrs:{"data-link":t.link,role:"button","aria-label":"download"},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[a("i",{staticClass:"transition-colors duration-150 ease-in-out material-icons group-hover:text-primary",attrs:{title:e.$t("globals.download_hint")}},[e._v("\n\t\t\t\t\t\t\tget_app\n\t\t\t\t\t\t")])])],1)})),0)])])])},staticRenderFns:[]},0,{components:{PreviewControls:Im},data:()=>({country:"",id:0,countries:[],chart:[]}),computed:{worldwideRelease(){return this.countries.filter((e=>"Worldwide"===e.title))[0]}},async created(){Go.on("setChartTracks",this.setTracklist),this.$on("hook:destroyed",(()=>{Go.off("setChartTracks")}));let e,t=await $m();t=t.filter((t=>("Worldwide"===t.title&&(e=t),"Worldwide"!==t.title))),t.unshift(e),this.initCharts(t)},methods:{convertDuration:Qo,playPausePreview(e){il.$emit("trackPreview:playPausePreview",e)},addToQueue(e){e.stopPropagation(),Wo(e.currentTarget.dataset.link)},getTrackList(e){document.getElementById("content").scrollTo(0,0);const{currentTarget:{dataset:{title:t}},currentTarget:{dataset:{id:a}}}=e;this.country=t,localStorage.setItem("chart",this.country),this.id=a,Go.emit("getChartTracks",this.id)},setTracklist(e){this.chart=e},onChangeCountry(){this.country="",this.id=0},initCharts(e){if(this.countries=e,this.country=localStorage.getItem("chart")||"",!this.country)return;let t=0;for(;t{Go.on("init_favorites",(t=>{Om=t,Em=!0,Go.off("init_favorites"),e(t)}))})))}var qm=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="CoverContainer.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"relative cover-container group"},[a("img",{staticClass:"block w-full opacity-100 coverart",class:{rounded:e.isRounded,"rounded-full":e.isCircle},attrs:{"aria-hidden":"true",src:e.cover}}),e._v(" "),a("button",e._g({staticClass:"absolute p-0 text-center bg-black border-0 rounded-full opacity-0 download_overlay hover:bg-primary",attrs:{role:"button","aria-label":"download","data-link":e.link,tabindex:"0"}},e.$listeners),[a("i",{staticClass:"text-white cursor-pointer material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])])},staticRenderFns:[]},(function(e){e&&e("data-v-3e6c40e4_0",{source:".cover-container[data-v-3e6c40e4]{width:156px;height:156px;margin-bottom:10px}.cover-container .coverart[data-v-3e6c40e4]{backface-visibility:hidden;transition:.5s ease;height:auto}.cover-container .download_overlay[data-v-3e6c40e4]{top:50%;left:50%;transform:translate(-50%,-50%);transition:.5s ease;opacity:0;min-width:2rem;height:2.75rem;text-align:center}.cover-container .download_overlay i[data-v-3e6c40e4]{padding:.625rem}.cover-container .download_overlay[data-v-3e6c40e4]:focus{opacity:1}.cover-container:hover .coverart[data-v-3e6c40e4]{opacity:.75}.cover-container:hover .download_overlay[data-v-3e6c40e4]{opacity:1;border:0}",map:void 0,media:void 0})}),{inheritAttrs:!1,props:{cover:{type:String,reqired:!0},isRounded:{type:Boolean,required:!1},isCircle:{type:Boolean,required:!1},link:{type:String,reqired:!0}}},"data-v-3e6c40e4",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));var Vm=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="Favorites.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h1",{staticClass:"mb-8 text-5xl"},[e._v("\n\t\t"+e._s(e.$t("favorites.title"))+"\n\t\t"),a("div",{ref:"reloadButton",staticClass:"inline-block clickable reload-button",attrs:{role:"button","aria-label":"reload"},on:{click:e.reloadTabs}},[a("i",{staticClass:"material-icons"},[e._v("sync")])])]),e._v(" "),a("ul",{staticClass:"section-tabs"},e._l(e.tabs,(function(t){return a("li",{key:t,staticClass:"section-tabs__tab favorites_tablinks",class:{active:e.activeTab===t},on:{click:function(a){e.activeTab=t}}},[e._v("\n\t\t\t"+e._s(e.$tc("globals.listTabs."+t,2))+"\n\t\t")])})),0),e._v(" "),e.activeTabEmpty?e._e():a("button",{staticClass:"btn btn-primary",staticStyle:{"margin-bottom":"2rem"},on:{click:e.downloadAllOfType}},[e._v("\n\t\t"+e._s(e.$t("globals.download",{thing:e.$tc("globals.listTabs."+e.activeTab+"N",e.getTabLenght())}))+"\n\t")]),e._v(" "),a("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"playlist"===e.activeTab}},[0==e.playlists.length?a("div",[a("h1",[e._v(e._s(e.$t("favorites.noPlaylists")))])]):e._e(),e._v(" "),e.playlists.length>0||e.spotifyPlaylists>0?a("div",{staticClass:"release-grid"},[e._l(e.playlists,(function(t){return a("div",{key:t.id,staticClass:"release"},[a("router-link",{staticClass:"cursor-pointer",attrs:{tag:"div",to:{name:"Playlist",params:{id:t.id}}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.picture_medium,link:t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}}),e._v(" "),a("p",{staticClass:"primary-text"},[e._v(e._s(t.title))])],1),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.creator.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t\t")])],1)})),e._v(" "),e._l(e.spotifyPlaylists,(function(t){return a("div",{key:t.id,staticClass:"release"},[a("router-link",{staticClass:"cursor-pointer",attrs:{tag:"div",to:{name:"Spotify Playlist",params:{id:t.id}}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.picture_medium,link:t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}}),e._v(" "),a("p",{staticClass:"primary-text"},[e._v(e._s(t.title))])],1),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.creator.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t\t")])],1)}))],2):e._e()]),e._v(" "),a("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"album"===e.activeTab}},[0==e.albums.length?a("div",[a("h1",[e._v(e._s(e.$t("favorites.noAlbums")))])]):e._e(),e._v(" "),e.albums.length>0?a("div",{staticClass:"release-grid"},e._l(e.albums,(function(t){return a("router-link",{key:t.id,staticClass:"release clickable",attrs:{tag:"div",to:{name:"Album",params:{id:t.id}}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.cover_medium,link:t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}}),e._v(" "),a("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v(e._s(""+e.$t("globals.by",{artist:t.artist.name})))])],1)})),1):e._e()]),e._v(" "),a("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"artist"===e.activeTab}},[0==e.artists.length?a("div",[a("h1",[e._v(e._s(e.$t("favorites.noArtists")))])]):e._e(),e._v(" "),e.artists.length>0?a("div",{staticClass:"release-grid"},e._l(e.artists,(function(t){return a("router-link",{key:t.id,staticClass:"release clickable",attrs:{tag:"div",to:{name:"Artist",params:{id:t.id}}}},[a("CoverContainer",{attrs:{"is-circle":"",cover:t.picture_medium,link:t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}}),e._v(" "),a("p",{staticClass:"primary-text"},[e._v(e._s(t.name))])],1)})),1):e._e()]),e._v(" "),a("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"track"===e.activeTab}},[0==e.tracks.length?a("div",[a("h1",[e._v(e._s(e.$t("favorites.noTracks")))])]):e._e(),e._v(" "),e.tracks.length>0?a("table",{staticClass:"table"},e._l(e.tracks,(function(t){return a("tr",{staticClass:"track_row"},[a("td",{staticClass:"p-3 text-center cursor-default",class:{first:1===t.position}},[e._v("\n\t\t\t\t\t"+e._s(t.position)+"\n\t\t\t\t")]),e._v(" "),a("td",[a("span",{staticClass:"relative inline-block rounded cursor-pointer",attrs:{"data-preview":t.preview},on:{click:e.playPausePreview}},[t.preview?a("PreviewControls"):e._e(),e._v(" "),a("img",{staticClass:"rounded coverart",attrs:{src:t.album.cover_small}})],1)]),e._v(" "),a("td",{staticClass:"table__cell--large"},[e._v("\n\t\t\t\t\t"+e._s(t.title+(t.title_version&&-1==t.title.indexOf(t.title_version)?" "+t.title_version:""))+"\n\t\t\t\t")]),e._v(" "),a("router-link",{staticClass:"table__cell table__cell--medium table__cell--center clickable",attrs:{tag:"td",to:{name:"Artist",params:{id:t.artist.id}}}},[e._v("\n\t\t\t\t\t"+e._s(t.artist.name)+"\n\t\t\t\t")]),e._v(" "),a("router-link",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{tag:"td",to:{name:"Album",params:{id:t.album.id}}}},[e._v("\n\t\t\t\t\t"+e._s(t.album.title)+"\n\t\t\t\t")]),e._v(" "),a("td",{staticClass:"table__cell--small"},[e._v("\n\t\t\t\t\t"+e._s(e.convertDuration(t.duration))+"\n\t\t\t\t")]),e._v(" "),a("td",{staticClass:"cursor-pointer group",attrs:{"data-link":t.link,role:"button","aria-label":"download"},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[a("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[a("i",{staticClass:"transition-colors duration-150 ease-in-out material-icons group-hover:text-primary",attrs:{title:e.$t("globals.download_hint")}},[e._v("\n\t\t\t\t\t\t\tget_app\n\t\t\t\t\t\t")])])])],1)})),0):e._e()])])},staticRenderFns:[]},(function(e){e&&e("data-v-26d194a8_0",{source:".favorites_tabcontent[data-v-26d194a8]{display:none}.favorites_tabcontent--active[data-v-26d194a8]{display:block}.reload-button.spin i[data-v-26d194a8]{animation:spin .5s infinite ease-out reverse}",map:void 0,media:void 0})}),{components:{PreviewControls:Im,CoverContainer:qm},data:()=>({tracks:[],albums:[],artists:[],playlists:[],spotifyPlaylists:[],activeTab:"playlist",tabs:["playlist","album","artist","track"]}),computed:{activeTabEmpty(){return 0===this.getActiveRelease().length}},async created(){const e=await Bm();0!==Object.entries(e).length&&this.setFavorites(e)},mounted(){Go.on("updated_userFavorites",this.updated_userFavorites),Go.on("updated_userSpotifyPlaylists",this.updated_userSpotifyPlaylists),Go.on("updated_userPlaylists",this.updated_userPlaylists),Go.on("updated_userAlbums",this.updated_userAlbums),Go.on("updated_userArtist",this.updated_userArtist),Go.on("updated_userTracks",this.updated_userTracks),this.$on("hook:destroyed",(()=>{Go.off("updated_userFavorites"),Go.off("updated_userSpotifyPlaylists"),Go.off("updated_userPlaylists"),Go.off("updated_userAlbums"),Go.off("updated_userArtist"),Go.off("updated_userTracks")}))},methods:{playPausePreview(e){il.$emit("trackPreview:playPausePreview",e)},convertDuration:Qo,downloadAllOfType(){try{let e=this.getActiveRelease();if("track"===this.activeTab){Wo(this.getLovedTracksPlaylist().link)}else Wo(function(e){let t=[];return e.forEach((e=>{t.push(e.link)})),t.join(";")}(e))}catch(e){console.error(e.message)}},addToQueue(e){Wo(e.currentTarget.dataset.link)},updated_userSpotifyPlaylists(e){this.spotifyPlaylists=e},updated_userPlaylists(e){this.playlists=e},updated_userAlbums(e){this.albums=e},updated_userArtist(e){this.artists=e},updated_userTracks(e){this.tracks=e},reloadTabs(){this.$refs.reloadButton.classList.add("spin"),Go.emit("update_userFavorites"),localStorage.getItem("spotifyUser")&&Go.emit("update_userSpotifyPlaylists",localStorage.getItem("spotifyUser"))},updated_userFavorites(e){this.setFavorites(e),this.$refs.reloadButton.addEventListener("animationiteration",(()=>{this.$refs.reloadButton.classList.remove("spin"),bl(this.$t("toasts.refreshFavs"),"done",!0)}),{once:!0})},setFavorites(e){const{tracks:t,albums:a,artists:n,playlists:i}=e;this.tracks=t,this.albums=a,this.artists=n,this.playlists=i},getActiveRelease(e=this.activeTab){let t;switch(e){case"playlist":t=this.playlists;break;case"album":t=this.albums;break;case"artist":t=this.artists;break;case"track":t=this.tracks}return t},getTabLenght(e=this.activeTab){return this[e+"s"].length},getLovedTracksPlaylist(){let e=this.playlists.filter((e=>e.is_loved_track));if(0!==e.length)return e[0];throw new Error("No loved tracks playlist!")}}},"data-v-26d194a8",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));let Gm={},Hm=!1;function Wm(){return Hm?Gm:(Go.emit("get_home_data"),new Promise(((e,t)=>{Go.on("init_home",(t=>{Gm=t,Hm=!0,Go.off("init_home"),e(t)}))})))}var Km=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="Home.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"home_tab"}},[a("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("globals.welcome")))]),e._v(" "),e.isLoggedIn?e._e():a("section",{ref:"notLogged",staticClass:"py-6 border-0 border-t border-solid border-grayscale-500"},[a("p",{staticClass:"mb-4",attrs:{id:"home_not_logged_text"}},[e._v(e._s(e.$t("home.needTologin")))]),e._v(" "),a("router-link",{staticClass:"btn btn-primary",attrs:{tag:"button",name:"button",to:{name:"Settings"}}},[e._v("\n\t\t\t"+e._s(e.$t("home.openSettings"))+"\n\t\t")])],1),e._v(" "),e.playlists.length?a("section",{staticClass:"py-6 border-0 border-t border-solid border-grayscale-500"},[a("h2",{staticClass:"mb-6 text-3xl"},[e._v(e._s(e.$t("home.sections.popularPlaylists")))]),e._v(" "),a("div",{staticClass:"release-grid"},e._l(e.playlists,(function(t){return a("router-link",{key:t.id,staticClass:"release clickable",attrs:{tag:"div",to:{name:"Playlist",params:{id:t.id}},tabindex:"0"},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.$router.push({name:"Playlist",params:{id:t.id}})}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.picture_medium,link:t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}}),e._v(" "),a("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.user.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t\t")])],1)})),1)]):e._e(),e._v(" "),e.albums.length?a("section",{staticClass:"py-6 border-0 border-t border-solid border-grayscale-500"},[a("h2",{staticClass:"mb-6 text-3xl"},[e._v(e._s(e.$t("home.sections.popularAlbums")))]),e._v(" "),a("div",{staticClass:"release-grid"},e._l(e.albums,(function(t){return a("router-link",{key:t.id,staticClass:"release clickable",attrs:{tag:"div",to:{name:"Album",params:{id:t.id}},"data-id":t.id,tabindex:"0"},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.$router.push({name:"Album",params:{id:t.id}})}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.cover_medium,link:t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}}),e._v(" "),a("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v(e._s(""+e.$t("globals.by",{artist:t.artist.name})))])],1)})),1)]):e._e()])},staticRenderFns:[]},0,{components:{CoverContainer:qm},data:()=>({playlists:[],albums:[]}),async created(){const e=await Wm();this.initHome(e)},computed:{...Fo(["isLoggedIn"])},methods:{addToQueue(e){Wo(e.currentTarget.dataset.link)},initHome(e){const{playlists:{data:t},albums:{data:a}}=e;this.playlists=t,this.albums=a}}},undefined,!1);const Ym={AF:"Afghanistan",AX:"Åland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia, Plurinational State of",BQ:"Bonaire, Sint Eustatius and Saba",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, the Democratic Republic of the",CK:"Cook Islands",CR:"Costa Rica",CI:"Côte d'Ivoire",HR:"Croatia",CU:"Cuba",CW:"Curaçao",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran, Islamic Republic of",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea, Democratic People's Republic of",KR:"Korea, Republic of",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia, the Former Yugoslav Republic of",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestine, State of",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",BL:"Saint Barthélemy",SH:"Saint Helena, Ascension and Tristan da Cunha",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",MF:"Saint Martin (French part)",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SX:"Sint Maarten (Dutch part)",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",SS:"South Sudan",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan, Province of China",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela, Bolivarian Republic of",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe"};var Qm=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="LinkAnalyzer.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"image-header",attrs:{id:"analyzer_tab"}},[a("h1",{staticClass:"mb-8 text-5xl capitalize"},[e._v(e._s(e.$t("sidebar.linkAnalyzer")))]),e._v(" "),""===e.link?a("div",[a("p",[e._v("\n\t\t\t"+e._s(e.$t("linkAnalyzer.info"))+"\n\t\t")]),e._v(" "),a("p",[e._v("\n\t\t\t"+e._s(e.$t("linkAnalyzer.useful"))+"\n\t\t")])]):"error"===e.link?a("div",[a("h2",[e._v(e._s(e.$t("linkAnalyzer.linkNotSupported")))]),e._v(" "),a("p",[e._v(e._s(e.$t("linkAnalyzer.linkNotSupportedYet")))])]):a("div",[a("header",{staticClass:"flex items-center",style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[a("div",[a("h1",{staticClass:"m-0"},[e._v(e._s(e.title))]),e._v(" "),"track"===e.type?a("h2",{staticClass:"m-0 mb-3 text-lg"},[a("i18n",{attrs:{path:"globals.by",tag:"span"}},[a("router-link",{staticClass:"clickable",attrs:{tag:"span",place:"artist",to:{name:"Artist",params:{id:e.data.artist.id}}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.data.artist.name)+"\n\t\t\t\t\t\t")])],1),e._v("\n\t\t\t\t\t•\n\t\t\t\t\t"),a("i18n",{attrs:{path:"globals.in",tag:"span"}},[a("router-link",{staticClass:"clickable",attrs:{tag:"span",place:"album",to:{name:"Album",params:{id:e.data.album.id}}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.data.album.title)+"\n\t\t\t\t\t\t")])],1)],1):"album"===e.type?a("h2",{staticClass:"m-0 mb-3 text-lg"},[a("i18n",{attrs:{path:"globals.by",tag:"span"}},[a("router-link",{staticClass:"clickable",attrs:{tag:"span",place:"artist",to:{name:"Artist",params:{id:e.data.artist.id}}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.data.artist.name)+"\n\t\t\t\t\t\t")])],1),e._v("\n\t\t\t\t\t"+e._s(" • "+e.$tc("globals.listTabs.trackN",e.data.nb_tracks))+"\n\t\t\t\t")],1):e._e()]),e._v(" "),a("div",{staticClass:"grid w-16 h-16 ml-auto rounded-full cursor-pointer bg-primary text-grayscale-870 place-items-center",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(t){return t.preventDefault(),e.openQualityModal(t)},click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[a("i",{staticClass:"text-4xl material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),a("table",{staticClass:"table"},[e.data.id?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.id")))]),e._v(" "),a("td",[e._v(e._s(e.data.id))])]):e._e(),e._v(" "),e.data.isrc?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.isrc")))]),e._v(" "),a("td",[e._v(e._s(e.data.isrc))])]):e._e(),e._v(" "),e.data.upc?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.upc")))]),e._v(" "),a("td",[e._v(e._s(e.data.upc))])]):e._e(),e._v(" "),e.data.duration?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.duration")))]),e._v(" "),a("td",[e._v(e._s(e.convertDuration(e.data.duration)))])]):e._e(),e._v(" "),e.data.disk_number?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.diskNumber")))]),e._v(" "),a("td",[e._v(e._s(e.data.disk_number))])]):e._e(),e._v(" "),e.data.track_position?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.trackNumber")))]),e._v(" "),a("td",[e._v(e._s(e.data.track_position))])]):e._e(),e._v(" "),e.data.release_date?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.releaseDate")))]),e._v(" "),a("td",[e._v(e._s(e.data.release_date))])]):e._e(),e._v(" "),e.data.bpm?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.bpm")))]),e._v(" "),a("td",[e._v(e._s(e.data.bpm))])]):e._e(),e._v(" "),e.data.label?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.label")))]),e._v(" "),a("td",[e._v(e._s(e.data.label))])]):e._e(),e._v(" "),e.data.record_type?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.recordType")))]),e._v(" "),a("td",[e._v(e._s(e.$tc("globals.listTabs."+e.data.record_type,1)))])]):e._e(),e._v(" "),e.data.genres&&e.data.genres.data.length?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.genres")))]),e._v(" "),a("td",[e._v(e._s(e.data.genres.data.map((function(e){return e.name})).join("; ")))])]):e._e()]),e._v(" "),"album"==e.type?a("div",[a("router-link",{staticClass:"btn btn-primary",attrs:{tag:"button",name:"button",to:{name:"Album",params:{id:e.id}}}},[e._v("\n\t\t\t\t"+e._s(e.$t("linkAnalyzer.table.tracklist"))+"\n\t\t\t")])],1):e._e(),e._v(" "),e.countries.length?a("div",e._l(e.countries,(function(t){return a("p",[e._v(e._s(t[0])+" - "+e._s(t[1]))])})),0):e._e()])])},staticRenderFns:[]},0,{data:()=>({link:"",title:"",subtitle:"",image:"",data:{},type:"",id:"0",countries:[]}),methods:{convertDuration:Qo,reset(){this.title="Loading...",this.subtitle="",this.image="",this.data={},this.type="",this.link="",this.countries=[]},showTrack(e){this.reset();const{title:t,title_version:a,album:{cover_xl:n},link:i,available_countries:r,id:s}=e;this.title=t+(a&&-1==t.indexOf(a)?" "+a:""),this.image=n,this.type="track",this.link=i,this.id=s,r.forEach((e=>{let t=[],a=[...e].map((e=>e.charCodeAt()+127397));t.push(String.fromCodePoint(...a)),t.push(Ym[e]),this.countries.push(t)})),this.data=e},showAlbum(e){this.reset();const{title:t,cover_xl:a,link:n,id:i}=e;this.title=t,this.image=a,this.type="album",this.link=n,this.data=e,this.id=i},notSupported(){this.link="error"},addToQueue(e){Wo(e.currentTarget.dataset.link)}},mounted(){il.$on("linkAnalyzerTab:reset",this.reset),Go.on("analyze_track",this.showTrack),Go.on("analyze_album",this.showAlbum),Go.on("analyze_notSupported",this.notSupported)}},undefined,!1);const Jm=e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase();var Zm=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="TopResult.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"flex flex-col items-center justify-center"},[a("router-link",{staticClass:"cursor-pointer",attrs:{tag:"div",to:{name:e.upperCaseFirstLowerCaseRest(e.$attrs.info.type),params:{id:e.$attrs.info.id}}}},[a("CoverContainer",{staticClass:"w-40 h-40",attrs:{"is-rounded":"artist"!==e.$attrs.info.type,"is-circle":"artist"===e.$attrs.info.type,cover:e.$attrs.info.picture,link:e.$attrs.info.link},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}}),e._v(" "),a("p",{staticClass:"mt-4 mb-1 text-xl text-center transition-colors duration-200 ease-in-out hover:text-primary"},[e._v("\n\t\t\t"+e._s(e.$attrs.info.title)+"\n\t\t")])],1),e._v(" "),a("p",{staticClass:"mb-3 text-center secondary-text"},[e._v("\n\t\t"+e._s(e.fansNumber)+"\n\t")]),e._v(" "),a("span",{staticClass:"p-1 px-2 text-xs text-center capitalize bg-primary rounded-xl"},[e._v("\n\t\t"+e._s(e.$tc("globals.listTabs."+e.$attrs.info.type,1))+"\n\t")])],1)},staticRenderFns:[]},0,{components:{CoverContainer:qm},methods:{upperCaseFirstLowerCaseRest:Jm},computed:{fansNumber(){let e;try{e=this.$n(this.$attrs.info.nb_fan)}catch(t){e=this.$n(this.$attrs.info.nb_fan,{locale:"en"})}return"artist"==this.$attrs.info.type?this.$t("search.fans",{n:e}):this.$t("globals.by",{artist:this.$attrs.info.artist})+" - "+this.$tc("globals.listTabs.trackN",this.$attrs.info.nb_song)}}},undefined,!1);function Xm(e,t){if(e.hasLoaded){const{data:a}=e,n=[];for(const e of a){let a=t(e);n.push(a)}return{data:n,hasLoaded:e.hasLoaded}}return null}function eh(e){let t=el(e,"explicit_lyrics","EXPLICIT_LYRICS");return"string"==typeof t&&(t="0"!==t),{trackTitle:el(e,"title","SNG_TITLE"),trackTitleVersion:el(e,"title_version","VERSION"),trackPreview:el(e,"preview"),trackDuration:el(e,"duration","DURATION"),trackLink:el(e,"link")||"https://www.deezer.com/track/"+e.SNG_ID,isTrackExplicit:t,artistID:el(e,"artist.id","ART_ID"),artistName:el(e,"artist.name","ART_NAME"),albumID:el(e,"album.id","ALB_ID"),albumTitle:el(e,"album.title","ALB_TITLE"),albumPicture:el(e,"album.cover_small")||`https://e-cdns-images.dzcdn.net/images/cover/${e.ALB_PICTURE}/32x32-000000-80-0-0.jpg`}}function th(e){let t=el(e,"explicit_lyrics","EXPLICIT_ALBUM_CONTENT.EXPLICIT_LYRICS_STATUS");return"number"==typeof t&&(t=1===t),{albumID:el(e,"id","ALB_ID"),albumTitle:el(e,"title","ALB_TITLE"),albumCoverMedium:el(e,"cover_medium")||`https://e-cdns-images.dzcdn.net/images/cover/${e.ALB_PICTURE}/156x156-000000-80-0-0.jpg`,albumLink:el(e,"link")||"https://deezer.com/album/"+e.ALB_ID,albumTracks:el(e,"nb_tracks","NUMBER_TRACK"),isAlbumExplicit:t,artistName:el(e,"artist.name","ART_NAME")}}function ah(e){return{artistID:el(e,"id","ART_ID"),artistName:el(e,"name","ART_NAME"),artistPictureMedium:el(e,"picture_medium")||`https://e-cdns-images.dzcdn.net/images/artist/${e.ART_PICTURE}/156x156-000000-80-0-0.jpg`,artistLink:el(e,"link")||"https://deezer.com/artist/"+e.ART_ID,artistAlbumsNumber:el(e,"nb_album","NB_FAN")}}function nh(e){return{playlistID:el(e,"id","PLAYLIST_ID"),playlistTitle:el(e,"title","TITLE"),playlistPictureMedium:el(e,"picture_medium")||`https://e-cdns-images.dzcdn.net/images/${e.PICTURE_TYPE}/${e.PLAYLIST_PICTURE}/156x156-000000-80-0-0.jpg`,playlistLink:el(e,"link")||"https://deezer.com/playlist/"+e.PLAYLIST_ID,playlistTracksNumber:el(e,"nb_tracks","NB_SONG"),artistName:el(e,"user.name")}}var ih=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="ResultsTracks.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[e.isLoading?a("BaseLoadingPlaceholder"):[0===e.viewInfo.data.length?a("div",[a("h1",[e._v(e._s(e.$t("search.noResultsTrack")))])]):a("table",{staticClass:"table w-full table--tracks"},[e.wantHeaders?a("thead",[a("tr",{staticClass:"capitalize"},[a("th",{staticClass:"h-12 pb-3",attrs:{colspan:"2"}},[e._v(e._s(e.$tc("globals.listTabs.title",1)))]),e._v(" "),a("th",{staticClass:"h-12 pb-3"},[e._v(e._s(e.$tc("globals.listTabs.artist",1)))]),e._v(" "),a("th",{staticClass:"h-12 pb-3"},[e._v(e._s(e.$tc("globals.listTabs.album",1)))]),e._v(" "),a("th",{staticClass:"h-12 pb-3"},[a("i",{staticClass:"material-icons"},[e._v("timer")])]),e._v(" "),a("th",{staticClass:"h-12 pb-3",staticStyle:{width:"3.5rem"}})])]):e._e(),e._v(" "),a("tbody",e._l(e.viewInfo.data.slice(0,e.itemsToShow),(function(t){return a("tr",{key:t.trackLink},[a("td",{staticClass:"table__icon table__icon--big"},[a("span",{staticClass:"relative inline-block rounded cursor-pointer",attrs:{"data-preview":t.trackPreview},on:{click:function(t){return e.playPausePreview(t)}}},[t.trackPreview?a("PreviewControls"):e._e(),e._v(" "),a("img",{staticClass:"rounded coverart",attrs:{src:t.albumPicture}})],1)]),e._v(" "),a("td",{staticClass:"table__cell table__cell--large"},[a("div",{staticClass:"break-words table__cell-content table__cell-content--vertical-center"},[t.isTrackExplicit?a("i",{staticClass:"material-icons explicit-icon"},[e._v("explicit")]):e._e(),e._v("\n\t\t\t\t\t\t\t"+e._s(e.formatTitle(t))+"\n\t\t\t\t\t\t")])]),e._v(" "),a("router-link",{staticClass:"break-words table__cell table__cell--medium table__cell--center",attrs:{tag:"td",to:{name:"Artist",params:{id:t.artistID}}}},[a("span",{staticClass:"cursor-pointer hover:underline"},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.artistName)+"\n\t\t\t\t\t\t")])]),e._v(" "),a("router-link",{staticClass:"break-words table__cell table__cell--medium table__cell--center",attrs:{tag:"td",to:{name:"Album",params:{id:t.albumID}}}},[a("span",{staticClass:"cursor-pointer hover:underline"},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.albumTitle)+"\n\t\t\t\t\t\t")])]),e._v(" "),a("td",{staticClass:"table__cell table__cell--small table__cell--center"},[e._v("\n\t\t\t\t\t\t"+e._s(e.convertDuration(t.trackDuration))+"\n\t\t\t\t\t")]),e._v(" "),a("td",{staticClass:"cursor-pointer table__cell--center group",attrs:{"data-link":t.trackLink,"aria-label":"download"},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[a("i",{staticClass:"transition-colors duration-150 ease-in-out material-icons group-hover:text-primary",attrs:{title:e.$t("globals.download_hint")}},[e._v("\n\t\t\t\t\t\t\tget_app\n\t\t\t\t\t\t")])])],1)})),0)])]],2)},staticRenderFns:[]},0,{components:{BaseLoadingPlaceholder:Ho,PreviewControls:Im},props:{viewInfo:{validator:function(e){let t=Object.is(e,null),a="[object Object]"===Object.prototype.toString.call(e);return t||a},required:!0},itemsToShow:{type:Number,required:!1},wantHeaders:{type:Boolean,required:!1,default:!1}},computed:{isLoading(){return!this.viewInfo||!this.viewInfo.hasLoaded}},methods:{convertDuration:Qo,formatTitle:function(e){const t=e.trackTitleVersion&&-1===e.trackTitle.indexOf(e.trackTitleVersion);return`${e.trackTitle}${t?" "+e.trackTitleVersion:""}`},playPausePreview(e){il.$emit("trackPreview:playPausePreview",e)}}},undefined,!1);var rh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="ResultsAlbums.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[e.isLoading?a("BaseLoadingPlaceholder"):[0===e.viewInfo.data.length?a("div",[a("h1",[e._v(e._s(e.$t("search.noResultsAlbum")))])]):a("div",{staticClass:"release-grid"},e._l(e.viewInfo.data.slice(0,e.itemsToShow),(function(t){return a("div",{key:t.albumID,staticClass:"w-40 release"},[a("router-link",{staticClass:"cursor-pointer",attrs:{tag:"div",to:{name:"Album",params:{id:t.albumID}}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.albumCoverMedium,link:t.albumLink},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}}),e._v(" "),a("span",{staticClass:"primary-text"},[t.isAlbumExplicit?a("i",{staticClass:"material-icons explicit-icon",staticStyle:{"font-size":"1.0625rem !important"}},[e._v("\n\t\t\t\t\t\t\texplicit\n\t\t\t\t\t\t")]):e._e(),e._v("\n\t\t\t\t\t\t"+e._s(t.albumTitle)+"\n\t\t\t\t\t")])],1),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.artistName})+" - "+e.$tc("globals.listTabs.trackN",t.albumTracks))+"\n\t\t\t\t")])],1)})),0)]],2)},staticRenderFns:[]},0,{components:{BaseLoadingPlaceholder:Ho,CoverContainer:qm},props:{viewInfo:{validator:function(e){let t=Object.is(e,null),a="[object Object]"===Object.prototype.toString.call(e);return t||a},required:!0},itemsToShow:{type:Number,required:!1},wantHeaders:{type:Boolean,required:!1,default:!1}},computed:{isLoading(){return!this.viewInfo||!this.viewInfo.hasLoaded}}},undefined,!1);var sh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="ResultsArtists.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[e.isLoading?a("BaseLoadingPlaceholder"):[0===e.viewInfo.data.length?a("div",[a("h1",[e._v(e._s(e.$t("search.noResultsArtist")))])]):a("div",{staticClass:"release-grid"},e._l(e.viewInfo.data.slice(0,e.itemsToShow),(function(t){return a("div",{key:t.artistID,staticClass:"w-40 release"},[a("router-link",{staticClass:"cursor-pointer",attrs:{tag:"div",to:{name:"Artist",params:{id:t.artistID}}}},[a("CoverContainer",{attrs:{"is-circle":"",cover:t.artistPictureMedium,link:t.artistLink},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}}),e._v(" "),a("span",{staticClass:"primary-text"},[e._v("\n\t\t\t\t\t\t"+e._s(t.artistName)+"\n\t\t\t\t\t")])],1)],1)})),0)]],2)},staticRenderFns:[]},0,{components:{BaseLoadingPlaceholder:Ho,CoverContainer:qm},props:{viewInfo:{validator:function(e){let t=Object.is(e,null),a="[object Object]"===Object.prototype.toString.call(e);return t||a},required:!0},itemsToShow:{type:Number,required:!1},wantHeaders:{type:Boolean,required:!1,default:!1}},computed:{isLoading(){return!this.viewInfo||!this.viewInfo.hasLoaded}}},undefined,!1);var oh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="ResultsPlaylists.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[e.isLoading?a("BaseLoadingPlaceholder"):[0===e.viewInfo.data.length?a("div",[a("h1",[e._v(e._s(e.$t("search.noResultsPlaylist")))])]):a("div",{staticClass:"release-grid"},e._l(e.viewInfo.data.slice(0,e.itemsToShow),(function(t){return a("div",{key:t.playlistID,staticClass:"w-40 release"},[a("router-link",{staticClass:"cursor-pointer",attrs:{tag:"div",to:{name:"Playlist",params:{id:t.playlistID}}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.playlistPictureMedium,link:t.playlistLink},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}}),e._v(" "),a("span",{staticClass:"primary-text"},[e._v("\n\t\t\t\t\t\t"+e._s(t.playlistTitle)+"\n\t\t\t\t\t")])],1),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.artistName})+" - "+e.$tc("globals.listTabs.trackN",t.playlistTracksNumber))+"\n\t\t\t\t")])],1)})),0)]],2)},staticRenderFns:[]},0,{components:{BaseLoadingPlaceholder:Ho,CoverContainer:qm},props:{viewInfo:{validator:function(e){let t=Object.is(e,null),a="[object Object]"===Object.prototype.toString.call(e);return t||a},required:!0},itemsToShow:{type:Number,required:!1},wantHeaders:{type:Boolean,required:!1,default:!1}},computed:{isLoading(){return!this.viewInfo||!this.viewInfo.hasLoaded}}},undefined,!1);var lh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="ResultsAll.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[e.thereAreResults?e._l(e.viewInfo.ORDER,(function(t){return a("section",{key:t,staticClass:"float-none py-5 border-t border-grayscale-500 first:border-t-0"},[e.checkSectionResults(t)?[a("h2",{staticClass:"mb-6 capitalize",class:{"text-4xl text-center":"TOP_RESULT"===t,"inline-block cursor-pointer text-3xl hover:text-primary transition-colors duration-200 ease-in-out":"TOP_RESULT"!==t},on:{click:function(a){return e.$emit("change-search-tab",t)}}},[e._v("\n\t\t\t\t\t"+e._s(e.$tc("globals.listTabs."+t.toLowerCase(),2))+"\n\t\t\t\t")]),e._v(" "),"TOP_RESULT"===t?a("TopResult",{attrs:{info:e.viewInfo.TOP_RESULT[0]},on:{"add-to-queue":function(t){return e.$emit("add-to-queue",t)}}}):"TRACK"===t?a("ResultsTracks",{attrs:{viewInfo:e.formatSearchResults(e.viewInfo.TRACK,e.formatSingleTrack),itemsToShow:6},on:{"add-to-queue":function(t){return e.$emit("add-to-queue",t)}}}):"ALBUM"==t?a("ResultsAlbums",{attrs:{viewInfo:e.formatSearchResults(e.viewInfo.ALBUM,e.formatAlbums),itemsToShow:6},on:{"add-to-queue":function(t){return e.$emit("add-to-queue",t)}}}):"PLAYLIST"==t?a("ResultsPlaylists",{attrs:{viewInfo:e.formatSearchResults(e.viewInfo.PLAYLIST,e.formatPlaylist),itemsToShow:6},on:{"add-to-queue":function(t){return e.$emit("add-to-queue",t)}}}):"ARTIST"===t?a("ResultsArtists",{attrs:{viewInfo:e.formatSearchResults(e.viewInfo.ARTIST,e.formatArtist),itemsToShow:6},on:{"add-to-queue":function(t){return e.$emit("add-to-queue",t)}}}):e._e()]:e._e()],2)})):a("div",[a("h1",[e._v(e._s(e.$t("search.noResults")))])])],2)},staticRenderFns:[]},0,{components:{TopResult:Zm,ResultsTracks:ih,ResultsAlbums:rh,ResultsArtists:sh,ResultsPlaylists:oh},props:{viewInfo:{type:Object,required:!1}},computed:{thereAreResults(){return!!this.viewInfo&&!this.viewInfo.ORDER.every((e=>"TOP_RESULT"===e?0===this.viewInfo[e].length:0===this.viewInfo[e].data.length))}},methods:{convertDuration:Qo,upperCaseFirstLowerCaseRest:Jm,formatSearchResults:Xm,formatSingleTrack:eh,formatAlbums:th,formatArtist:ah,formatPlaylist:nh,checkSectionResults(e){return"TOP_RESULT"===e?!!this.viewInfo.TOP_RESULT[0]:!!this.viewInfo[e].data[0]}}},undefined,!1);const ch={data:[],next:0,total:0,hasLoaded:!1};var dh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="Search.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"search_tab"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:!e.showSearchTab,expression:"!showSearchTab"}]},[a("h2",[e._v(e._s(e.$t("search.startSearching")))]),e._v(" "),a("p",[e._v(e._s(e.$t("search.description")))])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.showSearchTab,expression:"showSearchTab"}]},[a("ul",{staticClass:"section-tabs"},e._l(e.tabs,(function(t){return a("li",{key:t.name,staticClass:"section-tabs__tab",class:{active:e.currentTab.name===t.name},on:{click:function(a){e.currentTab=t}}},[e._v("\n\t\t\t\t"+e._s(t.name)+"\n\t\t\t")])})),0),e._v(" "),a("keep-alive",[a(e.currentTab.component,{tag:"component",attrs:{viewInfo:e.getViewInfo(),"want-headers":""},on:{"add-to-queue":e.addToQueue,"change-search-tab":e.changeSearchTab}})],1)],1)])},staticRenderFns:[]},0,{components:{BaseLoadingPlaceholder:Ho},props:{performScrolledSearch:{type:Boolean,required:!1}},data(){const e=this.$t.bind(this),t=this.$tc.bind(this);return{currentTab:{name:"",searchType:"",component:{},viewInfo:"",formatFunc:()=>{}},tabs:[{name:e("globals.listTabs.all"),searchType:"all",component:lh,viewInfo:"allTab"},{name:t("globals.listTabs.track",2),searchType:"track",component:ih,viewInfo:"trackTab",formatFunc:eh},{name:t("globals.listTabs.album",2),searchType:"album",component:rh,viewInfo:"albumTab",formatFunc:th},{name:t("globals.listTabs.artist",2),searchType:"artist",component:sh,viewInfo:"artistTab",formatFunc:ah},{name:t("globals.listTabs.playlist",2),searchType:"playlist",component:oh,viewInfo:"playlistTab",formatFunc:nh}],results:{query:"",allTab:{ORDER:[],TOP_RESULT:[],ALBUM:{hasLoaded:!1},ARTIST:{hasLoaded:!1},TRACK:{hasLoaded:!1},PLAYLIST:{hasLoaded:!1}},trackTab:{...ch},albumTab:{...ch},artistTab:{...ch},playlistTab:{...ch}}}},computed:{showSearchTab(){return""!==this.results.query},loadedTabs(){const e=[];for(const t in this.results)if(this.results.hasOwnProperty(t)){this.results[t].hasLoaded&&e.push(t.replace(/Tab/g,""))}return e}},created(){this.currentTab=this.tabs[0]},mounted(){this.$root.$on("mainSearch:showNewResults",this.checkIfPerformNewMainSearch),this.$root.$on("mainSearch:updateResults",this.checkIfUpdateResults),Go.on("mainSearch",this.saveMainSearchResult),Go.on("search",this.handleSearch)},methods:{numberWithDots:Jo,convertDuration:Qo,addToQueue(e){Wo(e.currentTarget.dataset.link)},getViewInfo(){return"all"===this.currentTab.searchType?this.results.allTab:Xm(this.results[this.currentTab.viewInfo],this.currentTab.formatFunc)},changeSearchTab(e){e=e.toLowerCase();const t=this.tabs.find((t=>t.searchType===e));t?(window.scrollTo(0,0),this.currentTab=t):console.error(`No tab ${e} found`)},checkIfPerformNewMainSearch(e){e!==this.results.query&&this.performNewMainSearch(e)},performNewMainSearch(e){Go.emit("mainSearch",{term:e}),this.$root.$emit("updateSearchLoadingState",!0),this.currentTab=this.tabs[0]},checkIfUpdateResults(e){e===this.results.query&&"all"!==this.currentTab.searchType&&(this.results[this.currentTab.searchType+"Tab"]={...ch},this.search(this.currentTab.searchType))},search(e){Go.emit("search",{term:this.results.query,type:e,start:this.results[e+"Tab"].next,nb:30})},scrolledSearch(){if("all"===this.currentTab.searchType)return;const e=this.currentTab.searchType+"Tab";this.results[e].next{Go.on("init_settings",((t,a,n)=>{uh=t,ph=n,mh=a,Go.off("init_settings"),e({settingsData:uh,defaultSettingsData:ph,spotifyCredentials:mh})}))}))}const fh={it:'\n \n \n \n \n \n',en:'\n \n \n \n \n \n',es:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',de:'\n \n \n \n',fr:'\n \n \n \n \n \n',id:'\n \n \n \n \n',pt:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',pt_br:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',ru:'\n \n \n \n \n \n',tr:'\n \n \n \n \n \n \n',vn:'\n \n \n \n \n \n \n \n \n \n',hr:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',ar:'\r\n\r\n \r\n \r\n \r\n image/svg+xml\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n',ko:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',ph:'\n \n \n \n \n \n \n \n',zh_tw:'\n \n \n \n \n \n \n \n \n \n \n \n \n',pl:'\n \n \n \n \n'};var gh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="Settings.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"fixed-footer"},[a("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("settings.title")))]),e._v(" "),e.isLoggedIn?a("div",{ref:"loggedInInfo",attrs:{id:"logged_in_info"}},[a("img",{ref:"userpicture",staticClass:"w-32 h-32 rounded-full",attrs:{id:"settings_picture",src:e.pictureHref,alt:"Profile Picture"}}),e._v(" "),a("i18n",{attrs:{path:"settings.login.loggedIn",tag:"p"}},[a("strong",{ref:"username",attrs:{place:"username",id:"settings_username"}},[e._v(e._s(e.user.name||"not logged"))])]),e._v(" "),a("button",{staticClass:"btn btn-primary",on:{click:e.logout}},[e._v("\n\t\t\t"+e._s(e.$t("settings.login.logout"))+"\n\t\t")]),e._v(" "),e.accounts.length?a("select",{directives:[{name:"model",rawName:"v-model",value:e.accountNum,expression:"accountNum"}],attrs:{id:"family_account"},on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.accountNum=t.target.multiple?a:a[0]},e.changeAccount]}},e._l(e.accounts,(function(t,n){return a("option",{key:t,domProps:{value:n.toString()}},[e._v("\n\t\t\t\t"+e._s(t.BLOG_NAME)+"\n\t\t\t")])})),0):e._e()],1):e._e(),e._v(" "),a("div",{staticClass:"settings-group"},[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("person")]),e._v(e._s(e.$t("settings.login.title")))]),e._v(" "),a("div",{staticClass:"my-5 space-y-5"},[a("div",{staticClass:"flex items-center"},[a("input",{ref:"loginInput",attrs:{autocomplete:"off",type:"password",id:"login_input_arl",placeholder:"ARL"},domProps:{value:e.arl}}),e._v(" "),a("button",{staticClass:"ml-2 btn btn-primary btn-only-icon",on:{click:e.copyARLtoClipboard}},[a("i",{staticClass:"material-icons"},[e._v("assignment")])])]),e._v(" "),a("RouterLink",{attrs:{to:{name:"ARL"}}},[e._v("\n\t\t\t\t"+e._s(e.$t("settings.login.arl.question"))+"\n\t\t\t")]),e._v(" "),e.clientMode?a("a",{attrs:{href:"#"},on:{click:e.appLogin}},[e._v("\n\t\t\t\t"+e._s(e.$t("settings.login.login"))+"\n\t\t\t")]):e._e(),e._v(" "),a("button",{staticClass:"btn btn-primary",staticStyle:{width:"100%"},on:{click:e.login}},[e._v("\n\t\t\t\t"+e._s(e.$t("settings.login.arl.update"))+"\n\t\t\t")])],1)]),e._v(" "),a("div",{staticClass:"settings-group"},[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("language")]),e._v(e._s(e.$t("settings.languages")))]),e._v(" "),a("div",{staticClass:"my-5"},e._l(e.locales,(function(t){return a("span",{key:t,staticClass:"inline-flex items-center locale-flag",class:{"locale-flag--current":e.currentLocale===t},attrs:{title:t},domProps:{innerHTML:e._s(e.flags[t])},on:{click:function(a){return e.changeLocale(t)}}})})),0)]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("web")]),e._v("\n\t\t\t\t"+e._s(e.$t("settings.appearance.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.changeSlimDownloads,expression:"changeSlimDownloads"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.changeSlimDownloads)?e._i(e.changeSlimDownloads,null)>-1:e.changeSlimDownloads},on:{change:function(t){var a=e.changeSlimDownloads,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&(e.changeSlimDownloads=a.concat([null])):r>-1&&(e.changeSlimDownloads=a.slice(0,r).concat(a.slice(r+1)))}else e.changeSlimDownloads=i}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.appearance.slimDownloadTab")))])]),e._v(" "),a("label",{staticClass:"mb-4 with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.changeSlimSidebar,expression:"changeSlimSidebar"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.changeSlimSidebar)?e._i(e.changeSlimSidebar,null)>-1:e.changeSlimSidebar},on:{change:function(t){var a=e.changeSlimSidebar,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&(e.changeSlimSidebar=a.concat([null])):r>-1&&(e.changeSlimSidebar=a.slice(0,r).concat(a.slice(r+1)))}else e.changeSlimSidebar=i}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.appearance.slimSidebar")))])])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("folder")]),e._v(e._s(e.$t("settings.downloadPath.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("div",{staticClass:"flex items-center"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.downloadLocation,expression:"settings.downloadLocation"}],attrs:{autocomplete:"off",type:"text"},domProps:{value:e.settings.downloadLocation},on:{input:function(t){t.target.composing||e.$set(e.settings,"downloadLocation",t.target.value)}}}),e._v(" "),e.clientMode?a("button",{staticClass:"ml-2 btn btn-primary btn-only-icon",on:{click:e.selectDownloadFolder}},[a("i",{staticClass:"material-icons"},[e._v("folder")])]):e._e()])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("font_download")]),e._v(e._s(e.$t("settings.templates.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("p",[e._v(e._s(e.$t("settings.templates.tracknameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tracknameTemplate,expression:"settings.tracknameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.tracknameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"tracknameTemplate",t.target.value)}}}),e._v(" "),a("p",[e._v(e._s(e.$t("settings.templates.albumTracknameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.albumTracknameTemplate,expression:"settings.albumTracknameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.albumTracknameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"albumTracknameTemplate",t.target.value)}}}),e._v(" "),a("p",[e._v(e._s(e.$t("settings.templates.playlistTracknameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.playlistTracknameTemplate,expression:"settings.playlistTracknameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.playlistTracknameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"playlistTracknameTemplate",t.target.value)}}})]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("create_new_folder")]),e._v(e._s(e.$t("settings.folders.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("div",{staticClass:"settings-container"},[a("div",{staticClass:"settings-container__third"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createPlaylistFolder,expression:"settings.createPlaylistFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createPlaylistFolder)?e._i(e.settings.createPlaylistFolder,null)>-1:e.settings.createPlaylistFolder},on:{change:function(t){var a=e.settings.createPlaylistFolder,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createPlaylistFolder",a.concat([null])):r>-1&&e.$set(e.settings,"createPlaylistFolder",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createPlaylistFolder",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.folders.createPlaylistFolder")))])]),e._v(" "),e.settings.createPlaylistFolder?a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.folders.playlistNameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.playlistNameTemplate,expression:"settings.playlistNameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.playlistNameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"playlistNameTemplate",t.target.value)}}})]):e._e()]),e._v(" "),a("div",{staticClass:"settings-container__third"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createArtistFolder,expression:"settings.createArtistFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createArtistFolder)?e._i(e.settings.createArtistFolder,null)>-1:e.settings.createArtistFolder},on:{change:function(t){var a=e.settings.createArtistFolder,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createArtistFolder",a.concat([null])):r>-1&&e.$set(e.settings,"createArtistFolder",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createArtistFolder",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.folders.createArtistFolder")))])]),e._v(" "),e.settings.createArtistFolder?a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.folders.artistNameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.artistNameTemplate,expression:"settings.artistNameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.artistNameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"artistNameTemplate",t.target.value)}}})]):e._e()]),e._v(" "),a("div",{staticClass:"settings-container__third"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createAlbumFolder,expression:"settings.createAlbumFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createAlbumFolder)?e._i(e.settings.createAlbumFolder,null)>-1:e.settings.createAlbumFolder},on:{change:function(t){var a=e.settings.createAlbumFolder,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createAlbumFolder",a.concat([null])):r>-1&&e.$set(e.settings,"createAlbumFolder",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createAlbumFolder",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.folders.createAlbumFolder")))])]),e._v(" "),e.settings.createAlbumFolder?a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.folders.albumNameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.albumNameTemplate,expression:"settings.albumNameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.albumNameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"albumNameTemplate",t.target.value)}}})]):e._e()])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createCDFolder,expression:"settings.createCDFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createCDFolder)?e._i(e.settings.createCDFolder,null)>-1:e.settings.createCDFolder},on:{change:function(t){var a=e.settings.createCDFolder,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createCDFolder",a.concat([null])):r>-1&&e.$set(e.settings,"createCDFolder",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createCDFolder",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.folders.createCDFolder")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createStructurePlaylist,expression:"settings.createStructurePlaylist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createStructurePlaylist)?e._i(e.settings.createStructurePlaylist,null)>-1:e.settings.createStructurePlaylist},on:{change:function(t){var a=e.settings.createStructurePlaylist,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createStructurePlaylist",a.concat([null])):r>-1&&e.$set(e.settings,"createStructurePlaylist",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createStructurePlaylist",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.folders.createStructurePlaylist")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createSingleFolder,expression:"settings.createSingleFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createSingleFolder)?e._i(e.settings.createSingleFolder,null)>-1:e.settings.createSingleFolder},on:{change:function(t){var a=e.settings.createSingleFolder,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createSingleFolder",a.concat([null])):r>-1&&e.$set(e.settings,"createSingleFolder",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createSingleFolder",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.folders.createSingleFolder")))])])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("title")]),e._v(e._s(e.$t("settings.trackTitles.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("div",{staticClass:"settings-container"},[a("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.padTracks,expression:"settings.padTracks"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.padTracks)?e._i(e.settings.padTracks,null)>-1:e.settings.padTracks},on:{change:function(t){var a=e.settings.padTracks,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"padTracks",a.concat([null])):r>-1&&e.$set(e.settings,"padTracks",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"padTracks",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.trackTitles.padTracks")))])])]),e._v(" "),a("div",{staticClass:"settings-container__third"},[a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.trackTitles.paddingSize")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.paddingSize,expression:"settings.paddingSize"}],attrs:{max:"10",type:"number"},domProps:{value:e.settings.paddingSize},on:{input:function(t){t.target.composing||e.$set(e.settings,"paddingSize",t.target.value)}}})])]),e._v(" "),a("div",{staticClass:"settings-container__third"},[a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.trackTitles.illegalCharacterReplacer")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.illegalCharacterReplacer,expression:"settings.illegalCharacterReplacer"}],attrs:{type:"text"},domProps:{value:e.settings.illegalCharacterReplacer},on:{input:function(t){t.target.composing||e.$set(e.settings,"illegalCharacterReplacer",t.target.value)}}})])])])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("album")]),e._v(e._s(e.$t("settings.covers.title")))])]},proxy:!0}])},[e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.saveArtwork,expression:"settings.saveArtwork"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.saveArtwork)?e._i(e.settings.saveArtwork,null)>-1:e.settings.saveArtwork},on:{change:function(t){var a=e.settings.saveArtwork,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"saveArtwork",a.concat([null])):r>-1&&e.$set(e.settings,"saveArtwork",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"saveArtwork",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.covers.saveArtwork")))])]),e._v(" "),e.settings.saveArtwork?a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.covers.coverImageTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.coverImageTemplate,expression:"settings.coverImageTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.coverImageTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"coverImageTemplate",t.target.value)}}})]):e._e(),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.saveArtworkArtist,expression:"settings.saveArtworkArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.saveArtworkArtist)?e._i(e.settings.saveArtworkArtist,null)>-1:e.settings.saveArtworkArtist},on:{change:function(t){var a=e.settings.saveArtworkArtist,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"saveArtworkArtist",a.concat([null])):r>-1&&e.$set(e.settings,"saveArtworkArtist",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"saveArtworkArtist",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.covers.saveArtworkArtist")))])]),e._v(" "),e.settings.saveArtworkArtist?a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.covers.artistImageTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.artistImageTemplate,expression:"settings.artistImageTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.artistImageTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"artistImageTemplate",t.target.value)}}})]):e._e(),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.covers.localArtworkSize")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.localArtworkSize,expression:"settings.localArtworkSize",modifiers:{number:!0}}],attrs:{type:"number",min:"100",max:"10000",step:"100"},domProps:{value:e.settings.localArtworkSize},on:{input:function(t){t.target.composing||e.$set(e.settings,"localArtworkSize",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),e.settings.localArtworkSize>1200?a("p",{staticClass:"input-group-text",staticStyle:{opacity:"0.75",color:"#ffcc22"}},[e._v("\n\t\t\t\t⚠️ "+e._s(e.$t("settings.covers.imageSizeWarning"))+"\n\t\t\t")]):e._e()]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.covers.embeddedArtworkSize")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.embeddedArtworkSize,expression:"settings.embeddedArtworkSize",modifiers:{number:!0}}],attrs:{type:"number",min:"100",max:"10000",step:"100"},domProps:{value:e.settings.embeddedArtworkSize},on:{input:function(t){t.target.composing||e.$set(e.settings,"embeddedArtworkSize",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),e.settings.embeddedArtworkSize>1200?a("p",{staticClass:"input-group-text",staticStyle:{opacity:"0.75",color:"#ffcc22"}},[e._v("\n\t\t\t\t⚠️ "+e._s(e.$t("settings.covers.imageSizeWarning"))+"\n\t\t\t")]):e._e()]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.title")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.localArtworkFormat,expression:"settings.localArtworkFormat"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"localArtworkFormat",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"jpg"}},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.jpg")))]),e._v(" "),a("option",{attrs:{value:"png"}},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.png")))]),e._v(" "),a("option",{attrs:{value:"jpg,png"}},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.both")))])])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.embeddedArtworkPNG,expression:"settings.embeddedArtworkPNG"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.embeddedArtworkPNG)?e._i(e.settings.embeddedArtworkPNG,null)>-1:e.settings.embeddedArtworkPNG},on:{change:function(t){var a=e.settings.embeddedArtworkPNG,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"embeddedArtworkPNG",a.concat([null])):r>-1&&e.$set(e.settings,"embeddedArtworkPNG",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"embeddedArtworkPNG",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.covers.embeddedArtworkPNG")))])]),e._v(" "),e.settings.embeddedArtworkPNG?a("p",{staticStyle:{opacity:"0.75",color:"#ffcc22"}},[e._v("\n\t\t\t⚠️ "+e._s(e.$t("settings.covers.embeddedPNGWarning"))+"\n\t\t")]):e._e(),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.coverDescriptionUTF8,expression:"settings.tags.coverDescriptionUTF8"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.coverDescriptionUTF8)?e._i(e.settings.tags.coverDescriptionUTF8,null)>-1:e.settings.tags.coverDescriptionUTF8},on:{change:function(t){var a=e.settings.tags.coverDescriptionUTF8,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"coverDescriptionUTF8",a.concat([null])):r>-1&&e.$set(e.settings.tags,"coverDescriptionUTF8",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"coverDescriptionUTF8",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.covers.coverDescriptionUTF8")))])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.covers.jpegImageQuality")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.jpegImageQuality,expression:"settings.jpegImageQuality",modifiers:{number:!0}}],attrs:{type:"number",min:"1",max:"100"},domProps:{value:e.settings.jpegImageQuality},on:{input:function(t){t.target.composing||e.$set(e.settings,"jpegImageQuality",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}})])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons",staticStyle:{width:"1em",height:"1em"}},[e._v("bookmarks")]),e._v(e._s(e.$t("settings.tags.head"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("div",{staticClass:"settings-container"},[a("div",{staticClass:"settings-container__half"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.title,expression:"settings.tags.title"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.title)?e._i(e.settings.tags.title,null)>-1:e.settings.tags.title},on:{change:function(t){var a=e.settings.tags.title,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"title",a.concat([null])):r>-1&&e.$set(e.settings.tags,"title",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"title",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.title")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.artist,expression:"settings.tags.artist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.artist)?e._i(e.settings.tags.artist,null)>-1:e.settings.tags.artist},on:{change:function(t){var a=e.settings.tags.artist,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"artist",a.concat([null])):r>-1&&e.$set(e.settings.tags,"artist",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"artist",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.artist")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.album,expression:"settings.tags.album"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.album)?e._i(e.settings.tags.album,null)>-1:e.settings.tags.album},on:{change:function(t){var a=e.settings.tags.album,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"album",a.concat([null])):r>-1&&e.$set(e.settings.tags,"album",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"album",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.album")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.cover,expression:"settings.tags.cover"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.cover)?e._i(e.settings.tags.cover,null)>-1:e.settings.tags.cover},on:{change:function(t){var a=e.settings.tags.cover,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"cover",a.concat([null])):r>-1&&e.$set(e.settings.tags,"cover",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"cover",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.cover")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.trackNumber,expression:"settings.tags.trackNumber"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.trackNumber)?e._i(e.settings.tags.trackNumber,null)>-1:e.settings.tags.trackNumber},on:{change:function(t){var a=e.settings.tags.trackNumber,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"trackNumber",a.concat([null])):r>-1&&e.$set(e.settings.tags,"trackNumber",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"trackNumber",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.trackNumber")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.trackTotal,expression:"settings.tags.trackTotal"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.trackTotal)?e._i(e.settings.tags.trackTotal,null)>-1:e.settings.tags.trackTotal},on:{change:function(t){var a=e.settings.tags.trackTotal,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"trackTotal",a.concat([null])):r>-1&&e.$set(e.settings.tags,"trackTotal",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"trackTotal",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.trackTotal")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.discNumber,expression:"settings.tags.discNumber"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.discNumber)?e._i(e.settings.tags.discNumber,null)>-1:e.settings.tags.discNumber},on:{change:function(t){var a=e.settings.tags.discNumber,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"discNumber",a.concat([null])):r>-1&&e.$set(e.settings.tags,"discNumber",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"discNumber",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.discNumber")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.discTotal,expression:"settings.tags.discTotal"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.discTotal)?e._i(e.settings.tags.discTotal,null)>-1:e.settings.tags.discTotal},on:{change:function(t){var a=e.settings.tags.discTotal,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"discTotal",a.concat([null])):r>-1&&e.$set(e.settings.tags,"discTotal",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"discTotal",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.discTotal")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.albumArtist,expression:"settings.tags.albumArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.albumArtist)?e._i(e.settings.tags.albumArtist,null)>-1:e.settings.tags.albumArtist},on:{change:function(t){var a=e.settings.tags.albumArtist,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"albumArtist",a.concat([null])):r>-1&&e.$set(e.settings.tags,"albumArtist",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"albumArtist",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.albumArtist")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.genre,expression:"settings.tags.genre"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.genre)?e._i(e.settings.tags.genre,null)>-1:e.settings.tags.genre},on:{change:function(t){var a=e.settings.tags.genre,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"genre",a.concat([null])):r>-1&&e.$set(e.settings.tags,"genre",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"genre",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.genre")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.year,expression:"settings.tags.year"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.year)?e._i(e.settings.tags.year,null)>-1:e.settings.tags.year},on:{change:function(t){var a=e.settings.tags.year,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"year",a.concat([null])):r>-1&&e.$set(e.settings.tags,"year",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"year",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.year")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.date,expression:"settings.tags.date"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.date)?e._i(e.settings.tags.date,null)>-1:e.settings.tags.date},on:{change:function(t){var a=e.settings.tags.date,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"date",a.concat([null])):r>-1&&e.$set(e.settings.tags,"date",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"date",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.date")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.explicit,expression:"settings.tags.explicit"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.explicit)?e._i(e.settings.tags.explicit,null)>-1:e.settings.tags.explicit},on:{change:function(t){var a=e.settings.tags.explicit,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"explicit",a.concat([null])):r>-1&&e.$set(e.settings.tags,"explicit",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"explicit",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.explicit")))])])]),e._v(" "),a("div",{staticClass:"settings-container__half"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.isrc,expression:"settings.tags.isrc"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.isrc)?e._i(e.settings.tags.isrc,null)>-1:e.settings.tags.isrc},on:{change:function(t){var a=e.settings.tags.isrc,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"isrc",a.concat([null])):r>-1&&e.$set(e.settings.tags,"isrc",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"isrc",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.isrc")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.length,expression:"settings.tags.length"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.length)?e._i(e.settings.tags.length,null)>-1:e.settings.tags.length},on:{change:function(t){var a=e.settings.tags.length,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"length",a.concat([null])):r>-1&&e.$set(e.settings.tags,"length",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"length",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.length")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.barcode,expression:"settings.tags.barcode"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.barcode)?e._i(e.settings.tags.barcode,null)>-1:e.settings.tags.barcode},on:{change:function(t){var a=e.settings.tags.barcode,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"barcode",a.concat([null])):r>-1&&e.$set(e.settings.tags,"barcode",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"barcode",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.barcode")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.bpm,expression:"settings.tags.bpm"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.bpm)?e._i(e.settings.tags.bpm,null)>-1:e.settings.tags.bpm},on:{change:function(t){var a=e.settings.tags.bpm,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"bpm",a.concat([null])):r>-1&&e.$set(e.settings.tags,"bpm",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"bpm",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.bpm")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.replayGain,expression:"settings.tags.replayGain"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.replayGain)?e._i(e.settings.tags.replayGain,null)>-1:e.settings.tags.replayGain},on:{change:function(t){var a=e.settings.tags.replayGain,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"replayGain",a.concat([null])):r>-1&&e.$set(e.settings.tags,"replayGain",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"replayGain",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.replayGain")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.label,expression:"settings.tags.label"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.label)?e._i(e.settings.tags.label,null)>-1:e.settings.tags.label},on:{change:function(t){var a=e.settings.tags.label,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"label",a.concat([null])):r>-1&&e.$set(e.settings.tags,"label",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"label",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.label")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.lyrics,expression:"settings.tags.lyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.lyrics)?e._i(e.settings.tags.lyrics,null)>-1:e.settings.tags.lyrics},on:{change:function(t){var a=e.settings.tags.lyrics,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"lyrics",a.concat([null])):r>-1&&e.$set(e.settings.tags,"lyrics",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"lyrics",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.lyrics")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.syncedLyrics,expression:"settings.tags.syncedLyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.syncedLyrics)?e._i(e.settings.tags.syncedLyrics,null)>-1:e.settings.tags.syncedLyrics},on:{change:function(t){var a=e.settings.tags.syncedLyrics,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"syncedLyrics",a.concat([null])):r>-1&&e.$set(e.settings.tags,"syncedLyrics",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"syncedLyrics",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.syncedLyrics")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.copyright,expression:"settings.tags.copyright"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.copyright)?e._i(e.settings.tags.copyright,null)>-1:e.settings.tags.copyright},on:{change:function(t){var a=e.settings.tags.copyright,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"copyright",a.concat([null])):r>-1&&e.$set(e.settings.tags,"copyright",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"copyright",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.copyright")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.composer,expression:"settings.tags.composer"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.composer)?e._i(e.settings.tags.composer,null)>-1:e.settings.tags.composer},on:{change:function(t){var a=e.settings.tags.composer,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"composer",a.concat([null])):r>-1&&e.$set(e.settings.tags,"composer",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"composer",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.composer")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.involvedPeople,expression:"settings.tags.involvedPeople"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.involvedPeople)?e._i(e.settings.tags.involvedPeople,null)>-1:e.settings.tags.involvedPeople},on:{change:function(t){var a=e.settings.tags.involvedPeople,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"involvedPeople",a.concat([null])):r>-1&&e.$set(e.settings.tags,"involvedPeople",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"involvedPeople",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.involvedPeople")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.source,expression:"settings.tags.source"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.source)?e._i(e.settings.tags.source,null)>-1:e.settings.tags.source},on:{change:function(t){var a=e.settings.tags.source,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"source",a.concat([null])):r>-1&&e.$set(e.settings.tags,"source",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"source",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.source")))])])])])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("get_app")]),e._v(e._s(e.$t("settings.downloads.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.downloads.queueConcurrency")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.queueConcurrency,expression:"settings.queueConcurrency",modifiers:{number:!0}}],attrs:{type:"number",min:"1"},domProps:{value:e.settings.queueConcurrency},on:{input:function(t){t.target.composing||e.$set(e.settings,"queueConcurrency",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.downloads.maxBitrate.title")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.maxBitrate,expression:"settings.maxBitrate"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"maxBitrate",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"9"}},[e._v(e._s(e.$t("settings.downloads.maxBitrate.9")))]),e._v(" "),a("option",{attrs:{value:"3"}},[e._v(e._s(e.$t("settings.downloads.maxBitrate.3")))]),e._v(" "),a("option",{attrs:{value:"1"}},[e._v(e._s(e.$t("settings.downloads.maxBitrate.1")))])])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.downloads.overwriteFile.title")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.overwriteFile,expression:"settings.overwriteFile"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"overwriteFile",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"y"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.y")))]),e._v(" "),a("option",{attrs:{value:"n"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.n")))]),e._v(" "),a("option",{attrs:{value:"e"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.e")))]),e._v(" "),a("option",{attrs:{value:"b"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.b")))]),e._v(" "),a("option",{attrs:{value:"t"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.t")))])])]),e._v(" "),a("div",{staticClass:"settings-container"},[a("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.fallbackBitrate,expression:"settings.fallbackBitrate"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.fallbackBitrate)?e._i(e.settings.fallbackBitrate,null)>-1:e.settings.fallbackBitrate},on:{change:function(t){var a=e.settings.fallbackBitrate,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"fallbackBitrate",a.concat([null])):r>-1&&e.$set(e.settings,"fallbackBitrate",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"fallbackBitrate",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.fallbackBitrate")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.fallbackSearch,expression:"settings.fallbackSearch"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.fallbackSearch)?e._i(e.settings.fallbackSearch,null)>-1:e.settings.fallbackSearch},on:{change:function(t){var a=e.settings.fallbackSearch,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"fallbackSearch",a.concat([null])):r>-1&&e.$set(e.settings,"fallbackSearch",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"fallbackSearch",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.fallbackSearch")))])])]),e._v(" "),a("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.logErrors,expression:"settings.logErrors"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.logErrors)?e._i(e.settings.logErrors,null)>-1:e.settings.logErrors},on:{change:function(t){var a=e.settings.logErrors,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"logErrors",a.concat([null])):r>-1&&e.$set(e.settings,"logErrors",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"logErrors",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.logErrors")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.logSearched,expression:"settings.logSearched"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.logSearched)?e._i(e.settings.logSearched,null)>-1:e.settings.logSearched},on:{change:function(t){var a=e.settings.logSearched,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"logSearched",a.concat([null])):r>-1&&e.$set(e.settings,"logSearched",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"logSearched",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.logSearched")))])])]),e._v(" "),a("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.syncedLyrics,expression:"settings.syncedLyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.syncedLyrics)?e._i(e.settings.syncedLyrics,null)>-1:e.settings.syncedLyrics},on:{change:function(t){var a=e.settings.syncedLyrics,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"syncedLyrics",a.concat([null])):r>-1&&e.$set(e.settings,"syncedLyrics",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"syncedLyrics",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.syncedLyrics")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createM3U8File,expression:"settings.createM3U8File"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createM3U8File)?e._i(e.settings.createM3U8File,null)>-1:e.settings.createM3U8File},on:{change:function(t){var a=e.settings.createM3U8File,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createM3U8File",a.concat([null])):r>-1&&e.$set(e.settings,"createM3U8File",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createM3U8File",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.createM3U8File")))])])])]),e._v(" "),e.settings.createM3U8File?a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.downloads.playlistFilenameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.playlistFilenameTemplate,expression:"settings.playlistFilenameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.playlistFilenameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"playlistFilenameTemplate",t.target.value)}}})]):e._e(),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.saveDownloadQueue,expression:"settings.saveDownloadQueue"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.saveDownloadQueue)?e._i(e.settings.saveDownloadQueue,null)>-1:e.settings.saveDownloadQueue},on:{change:function(t){var a=e.settings.saveDownloadQueue,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"saveDownloadQueue",a.concat([null])):r>-1&&e.$set(e.settings,"saveDownloadQueue",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"saveDownloadQueue",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.saveDownloadQueue")))])])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("list")]),e._v(e._s(e.$t("settings.other.title")))])]},proxy:!0}])},[e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.savePlaylistAsCompilation,expression:"settings.tags.savePlaylistAsCompilation"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.savePlaylistAsCompilation)?e._i(e.settings.tags.savePlaylistAsCompilation,null)>-1:e.settings.tags.savePlaylistAsCompilation},on:{change:function(t){var a=e.settings.tags.savePlaylistAsCompilation,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"savePlaylistAsCompilation",a.concat([null])):r>-1&&e.$set(e.settings.tags,"savePlaylistAsCompilation",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"savePlaylistAsCompilation",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.savePlaylistAsCompilation")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.useNullSeparator,expression:"settings.tags.useNullSeparator"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.useNullSeparator)?e._i(e.settings.tags.useNullSeparator,null)>-1:e.settings.tags.useNullSeparator},on:{change:function(t){var a=e.settings.tags.useNullSeparator,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"useNullSeparator",a.concat([null])):r>-1&&e.$set(e.settings.tags,"useNullSeparator",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"useNullSeparator",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.useNullSeparator")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.saveID3v1,expression:"settings.tags.saveID3v1"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.saveID3v1)?e._i(e.settings.tags.saveID3v1,null)>-1:e.settings.tags.saveID3v1},on:{change:function(t){var a=e.settings.tags.saveID3v1,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"saveID3v1",a.concat([null])):r>-1&&e.$set(e.settings.tags,"saveID3v1",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"saveID3v1",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.saveID3v1")))])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.title")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.multiArtistSeparator,expression:"settings.tags.multiArtistSeparator"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings.tags,"multiArtistSeparator",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"nothing"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.nothing")))]),e._v(" "),a("option",{attrs:{value:"default"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.default")))]),e._v(" "),a("option",{attrs:{value:"andFeat"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.andFeat")))]),e._v(" "),a("option",{attrs:{value:" & "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:" & "})))]),e._v(" "),a("option",{attrs:{value:","}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:","})))]),e._v(" "),a("option",{attrs:{value:", "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:", "})))]),e._v(" "),a("option",{attrs:{value:"/"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:"/"})))]),e._v(" "),a("option",{attrs:{value:" / "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:" / "})))]),e._v(" "),a("option",{attrs:{value:";"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:";"})))]),e._v(" "),a("option",{attrs:{value:"; "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:"; "})))])])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.singleAlbumArtist,expression:"settings.tags.singleAlbumArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.singleAlbumArtist)?e._i(e.settings.tags.singleAlbumArtist,null)>-1:e.settings.tags.singleAlbumArtist},on:{change:function(t){var a=e.settings.tags.singleAlbumArtist,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"singleAlbumArtist",a.concat([null])):r>-1&&e.$set(e.settings.tags,"singleAlbumArtist",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"singleAlbumArtist",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.singleAlbumArtist")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.albumVariousArtists,expression:"settings.albumVariousArtists"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.albumVariousArtists)?e._i(e.settings.albumVariousArtists,null)>-1:e.settings.albumVariousArtists},on:{change:function(t){var a=e.settings.albumVariousArtists,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"albumVariousArtists",a.concat([null])):r>-1&&e.$set(e.settings,"albumVariousArtists",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"albumVariousArtists",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.albumVariousArtists")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.removeAlbumVersion,expression:"settings.removeAlbumVersion"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.removeAlbumVersion)?e._i(e.settings.removeAlbumVersion,null)>-1:e.settings.removeAlbumVersion},on:{change:function(t){var a=e.settings.removeAlbumVersion,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"removeAlbumVersion",a.concat([null])):r>-1&&e.$set(e.settings,"removeAlbumVersion",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"removeAlbumVersion",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.removeAlbumVersion")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.removeDuplicateArtists,expression:"settings.removeDuplicateArtists"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.removeDuplicateArtists)?e._i(e.settings.removeDuplicateArtists,null)>-1:e.settings.removeDuplicateArtists},on:{change:function(t){var a=e.settings.removeDuplicateArtists,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"removeDuplicateArtists",a.concat([null])):r>-1&&e.$set(e.settings,"removeDuplicateArtists",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"removeDuplicateArtists",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.removeDuplicateArtists")))])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.dateFormat.title")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.dateFormat,expression:"settings.dateFormat"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"dateFormat",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"Y-M-D"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.year")+"-"+e.$t("settings.other.dateFormat.month")+"-"+e.$t("settings.other.dateFormat.day"))+"\n\t\t\t\t")]),e._v(" "),a("option",{attrs:{value:"Y-D-M"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.year")+"-"+e.$t("settings.other.dateFormat.day")+"-"+e.$t("settings.other.dateFormat.month"))+"\n\t\t\t\t")]),e._v(" "),a("option",{attrs:{value:"D-M-Y"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.day")+"-"+e.$t("settings.other.dateFormat.month")+"-"+e.$t("settings.other.dateFormat.year"))+"\n\t\t\t\t")]),e._v(" "),a("option",{attrs:{value:"M-D-Y"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.month")+"-"+e.$t("settings.other.dateFormat.day")+"-"+e.$t("settings.other.dateFormat.year"))+"\n\t\t\t\t")]),e._v(" "),a("option",{attrs:{value:"Y"}},[e._v(e._s(e.$t("settings.other.dateFormat.year")))])])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.featuredToTitle.title")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.featuredToTitle,expression:"settings.featuredToTitle"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"featuredToTitle",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"0"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.0")))]),e._v(" "),a("option",{attrs:{value:"1"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.1")))]),e._v(" "),a("option",{attrs:{value:"3"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.3")))]),e._v(" "),a("option",{attrs:{value:"2"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.2")))])])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.titleCasing")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.titleCasing,expression:"settings.titleCasing"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"titleCasing",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"nothing"}},[e._v(e._s(e.$t("settings.other.casing.nothing")))]),e._v(" "),a("option",{attrs:{value:"lower"}},[e._v(e._s(e.$t("settings.other.casing.lower")))]),e._v(" "),a("option",{attrs:{value:"upper"}},[e._v(e._s(e.$t("settings.other.casing.upper")))]),e._v(" "),a("option",{attrs:{value:"start"}},[e._v(e._s(e.$t("settings.other.casing.start")))]),e._v(" "),a("option",{attrs:{value:"sentence"}},[e._v(e._s(e.$t("settings.other.casing.sentence")))])])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.artistCasing")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.artistCasing,expression:"settings.artistCasing"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"artistCasing",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"nothing"}},[e._v(e._s(e.$t("settings.other.casing.nothing")))]),e._v(" "),a("option",{attrs:{value:"lower"}},[e._v(e._s(e.$t("settings.other.casing.lower")))]),e._v(" "),a("option",{attrs:{value:"upper"}},[e._v(e._s(e.$t("settings.other.casing.upper")))]),e._v(" "),a("option",{attrs:{value:"start"}},[e._v(e._s(e.$t("settings.other.casing.start")))]),e._v(" "),a("option",{attrs:{value:"sentence"}},[e._v(e._s(e.$t("settings.other.casing.sentence")))])])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.previewVolume")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.number",value:e.previewVolume.preview_max_volume,expression:"previewVolume.preview_max_volume",modifiers:{number:!0}}],staticClass:"slider",attrs:{type:"range",min:"0",max:"100",step:"1"},domProps:{value:e.previewVolume.preview_max_volume},on:{change:e.updateMaxVolume,__r:function(t){e.$set(e.previewVolume,"preview_max_volume",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),a("span",[e._v(e._s(e.previewVolume.preview_max_volume)+"%")])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.executeCommand.title")))]),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v(e._s(e.$t("settings.other.executeCommand.description")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.executeCommand,expression:"settings.executeCommand"}],attrs:{type:"text"},domProps:{value:e.settings.executeCommand},on:{input:function(t){t.target.composing||e.$set(e.settings,"executeCommand",t.target.value)}}})])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("svg",{staticClass:"w-6 h-6 mr-4",staticStyle:{fill:"#1db954"},attrs:{"enable-background":"new 0 0 24 24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"m12 24c6.624 0 12-5.376 12-12s-5.376-12-12-12-12 5.376-12 12 5.376 12 12 12zm4.872-6.344v.001c-.807 0-3.356-2.828-10.52-1.36-.189.049-.436.126-.576.126-.915 0-1.09-1.369-.106-1.578 3.963-.875 8.013-.798 11.467 1.268.824.526.474 1.543-.265 1.543zm1.303-3.173c-.113-.03-.08.069-.597-.203-3.025-1.79-7.533-2.512-11.545-1.423-.232.063-.358.126-.576.126-1.071 0-1.355-1.611-.188-1.94 4.716-1.325 9.775-.552 13.297 1.543.392.232.547.533.547.953-.005.522-.411.944-.938.944zm-13.627-7.485c4.523-1.324 11.368-.906 15.624 1.578 1.091.629.662 2.22-.498 2.22l-.001-.001c-.252 0-.407-.063-.625-.189-3.443-2.056-9.604-2.549-13.59-1.436-.175.048-.393.125-.625.125-.639 0-1.127-.499-1.127-1.142 0-.657.407-1.029.842-1.155z"}})]),e._v("\n\t\t\t\t"+e._s(e.$t("settings.spotify.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("RouterLink",{attrs:{to:{name:"Spotify Features"}}},[e._v("\n\t\t\t"+e._s(e.$t("settings.spotify.question"))+"\n\t\t")]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.spotify.clientID")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.clientId,expression:"spotifyFeatures.clientId"}],attrs:{type:"text"},domProps:{value:e.spotifyFeatures.clientId},on:{input:function(t){t.target.composing||e.$set(e.spotifyFeatures,"clientId",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.spotify.clientSecret")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.clientSecret,expression:"spotifyFeatures.clientSecret"}],attrs:{type:"password"},domProps:{value:e.spotifyFeatures.clientSecret},on:{input:function(t){t.target.composing||e.$set(e.spotifyFeatures,"clientSecret",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.spotify.username")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyUser,expression:"spotifyUser"}],attrs:{type:"text"},domProps:{value:e.spotifyUser},on:{input:function(t){t.target.composing||(e.spotifyUser=t.target.value)}}})])],1),e._v(" "),a("footer",{staticClass:"bg-background-main"},[a("button",{staticClass:"mr-2 btn btn-primary",on:{click:e.resetSettings}},[e._v(e._s(e.$t("settings.reset")))]),e._v(" "),a("button",{staticClass:"btn btn-primary",on:{click:e.saveSettings}},[e._v(e._s(e.$t("settings.save")))])])],1)},staticRenderFns:[]},(function(e){e&&e("data-v-4cb4224c_0",{source:"#logged_in_info{height:250px;display:flex;flex-direction:column;justify-content:space-evenly;align-items:center}.locale-flag{width:60px;justify-content:center;cursor:pointer}.locale-flag:not(:last-child){margin-right:10px}.locale-flag.locale-flag--current svg{filter:brightness(1)}.locale-flag svg{width:40px!important;height:40px!important;filter:brightness(.5)}",map:void 0,media:void 0})}),{components:{BaseAccordion:function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="BaseAccordion.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(e,t){var a=t._c;return a("details",{class:[t.data.staticClass,{"with-arrow":t.props.withArrow}]},[a("summary",{staticClass:"cursor-pointer"},[t._t("title",[t._v("Setting")])],2),t._v(" "),a("div",{staticClass:"my-5 space-y-5"},[t._t("default")],2)])},staticRenderFns:[]},(function(e){e&&e("data-v-08721366_0",{source:"details>summary::-webkit-details-marker{display:none}details.with-arrow>summary::-webkit-details-marker{display:initial;vertical-align:super}",map:void 0,media:void 0})}),{props:{withArrow:{type:Boolean,default:!0}}},undefined,!0,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}))},data(){return{flags:fh,currentLocale:this.$i18n.locale,locales:this.$i18n.availableLocales,settings:{tags:{}},lastSettings:{},spotifyFeatures:{},lastCredentials:{},defaultSettings:{},lastUser:"",spotifyUser:"",slimDownloads:!1,slimSidebar:!1,previewVolume:window.vol,accountNum:0,accounts:[]}},computed:{...Fo({arl:"getARL",user:"getUser",isLoggedIn:"isLoggedIn",clientMode:"getClientMode"}),needToWait(){return 0===Object.keys(this.getSettings).length},changeSlimDownloads:{get(){return this.slimDownloads},set(e){this.slimDownloads=e,document.getElementById("download_list").classList.toggle("slim",e),localStorage.setItem("slimDownloads",e)}},changeSlimSidebar:{get(){return this.slimSidebar},set(e){this.slimSidebar=e,document.getElementById("sidebar").classList.toggle("slim",e),Array.from(document.getElementsByClassName("toastify")).forEach((t=>{t.style.transform=`translate(${e?"3rem":"14rem"}, 0)`})),localStorage.setItem("slimSidebar",e)}},pictureHref(){return`https://e-cdns-images.dzcdn.net/images/user/${this.user.picture}/125x125-000000-80-0-0.jpg`}},async mounted(){const{settingsData:e,defaultSettingsData:t,spotifyCredentials:a}=await hh();this.defaultSettings=t,this.initSettings(e,a);let n=localStorage.getItem("accountNum");n&&(this.accountNum=n);let i=localStorage.getItem("spotifyUser");i&&(this.lastUser=i,this.spotifyUser=i,Go.emit("update_userSpotifyPlaylists",i)),this.changeSlimDownloads="true"===localStorage.getItem("slimDownloads"),this.changeSlimSidebar="true"===localStorage.getItem("slimSidebar");let r=parseInt(localStorage.getItem("previewVolume"));isNaN(r)&&(r=80,localStorage.setItem("previewVolume",r)),window.vol.preview_max_volume=r,Go.on("updateSettings",this.updateSettings),Go.on("accountChanged",this.accountChanged),Go.on("familyAccounts",this.initAccounts),Go.on("downloadFolderSelected",this.downloadFolderSelected),Go.on("applogin_arl",this.loggedInViaDeezer),this.$on("hook:destroyed",(()=>{Go.off("updateSettings"),Go.off("accountChanged"),Go.off("familyAccounts"),Go.off("downloadFolderSelected"),Go.off("applogin_arl")}))},methods:{...Po({dispatchARL:"setARL"}),revertSettings(){this.settings=JSON.parse(JSON.stringify(this.lastSettings))},revertCredentials(){this.spotifyCredentials=JSON.parse(JSON.stringify(this.lastCredentials)),this.spotifyUser=(" "+this.lastUser).slice(1)},copyARLtoClipboard(){let e=this.$refs.loginInput;e.setAttribute("type","text"),e.select(),e.setSelectionRange(0,99999),document.execCommand("copy"),e.setAttribute("type","password"),bl(this.$t("settings.toasts.ARLcopied"),"assignment")},changeLocale(e){this.$i18n.locale=e,this.currentLocale=e,localStorage.setItem("locale",e)},updateMaxVolume(){localStorage.setItem("previewVolume",this.previewVolume.preview_max_volume)},saveSettings(){this.lastSettings=JSON.parse(JSON.stringify(this.settings)),this.lastCredentials=JSON.parse(JSON.stringify(this.spotifyFeatures));let e=!1;this.lastUser!=this.spotifyUser&&(this.lastUser=(" "+this.spotifyUser).slice(1),localStorage.setItem("spotifyUser",this.lastUser),e=!0),Go.emit("saveSettings",this.lastSettings,this.lastCredentials,!!e&&this.lastUser)},selectDownloadFolder(){Go.emit("selectDownloadFolder")},downloadFolderSelected(e){this.$set(this.settings,"downloadLocation",e)},loadSettings(e){this.lastSettings=JSON.parse(JSON.stringify(e)),this.settings=JSON.parse(JSON.stringify(e))},loadCredentials(e){this.lastCredentials=JSON.parse(JSON.stringify(e)),this.spotifyFeatures=JSON.parse(JSON.stringify(e))},loggedInViaDeezer(e){this.dispatchARL({arl:e}),Go.emit("login",e,!0,this.accountNum)},login(){let e=this.$refs.loginInput.value.trim();e&&e!==this.arl&&Go.emit("login",e,!0,this.accountNum)},appLogin(e){Go.emit("applogin")},changeAccount(){Go.emit("changeAccount",this.accountNum)},accountChanged(e,t){this.$refs.username.innerText=e.name,this.$refs.userpicture.src=`https://e-cdns-images.dzcdn.net/images/user/${e.picture}/125x125-000000-80-0-0.jpg`,this.accountNum=t,localStorage.setItem("accountNum",this.accountNum)},initAccounts(e){this.accounts=e},logout(){Go.emit("logout")},initSettings(e,t){this.loadSettings(e),this.loadCredentials(t),bl(this.$t("settings.toasts.init"),"settings")},updateSettings(e,t){this.loadSettings(e),this.loadCredentials(t),bl(this.$t("settings.toasts.update"),"settings")},resetSettings(){this.settings=JSON.parse(JSON.stringify(this.defaultSettings))}}},undefined,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));var vh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="Tracklist.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{ref:"root",staticClass:"relative fixed-footer bg-background-main image-header"},[a("header",{style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[a("h1",{staticClass:"flex items-center m-0 text-5xl"},[e._v("\n\t\t\t"+e._s(e.title)+" "),e.explicit?a("i",{staticClass:"material-icons explicit-icon explicit-icon--right"},[e._v("explicit")]):e._e()]),e._v(" "),a("h2",{staticClass:"m-0 mb-3 text-lg"},[e.metadata?a("p",[e._v(e._s(e.metadata))]):e._e(),e._v(" "),e.release_date?a("p",[e._v(e._s(e.release_date))]):e._e()])]),e._v(" "),a("table",{staticClass:"table table--tracklist"},[a("thead",[a("tr",[e._m(0),e._v(" "),a("th",[e._v("#")]),e._v(" "),a("th",[e._v(e._s(e.$tc("globals.listTabs.title",1)))]),e._v(" "),a("th",[e._v(e._s(e.$tc("globals.listTabs.artist",1)))]),e._v(" "),"playlist"===e.type?a("th",[e._v(e._s(e.$tc("globals.listTabs.album",1)))]):e._e(),e._v(" "),e._m(1),e._v(" "),a("th",{staticClass:"table__icon table__cell--center clickable"},[a("input",{staticClass:"selectAll",attrs:{type:"checkbox"},on:{click:e.toggleAll}})])])]),e._v(" "),a("tbody",["spotifyPlaylist"!==e.type?[e._l(e.body,(function(t,n){return["track"==t.type?a("tr",{on:{click:function(a){return e.selectRow(n,t)}}},[a("td",{staticClass:"table__cell--x-small table__cell--center"},[a("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[a("i",e._g({staticClass:"material-icons",class:{preview_playlist_controls:t.preview,"cursor-pointer":t.preview,disabled:!t.preview},attrs:{"data-preview":t.preview,title:e.$t("globals.play_hint")}},{click:!!t.preview&&e.playPausePreview}),[e._v("\n\t\t\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t\t\t")])])]),e._v(" "),a("td",{staticClass:"table__cell--small table__cell--center track_position"},[e._v("\n\t\t\t\t\t\t\t"+e._s("album"===e.type?t.track_position:e.body.indexOf(t)+1)+"\n\t\t\t\t\t\t")]),e._v(" "),a("td",{staticClass:"table__cell--large table__cell--with-icon"},[a("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[t.explicit_lyrics?a("i",{staticClass:"material-icons explicit-icon"},[e._v(" explicit ")]):e._e(),e._v("\n\t\t\t\t\t\t\t\t"+e._s(t.title+(t.title_version&&-1==t.title.indexOf(t.title_version)?" "+t.title_version:""))+"\n\t\t\t\t\t\t\t")])]),e._v(" "),a("router-link",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{tag:"td",to:{name:"Artist",params:{id:t.artist.id}}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.artist.name)+"\n\t\t\t\t\t\t")]),e._v(" "),"playlist"===e.type?a("router-link",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{tag:"td",to:{name:"Album",params:{id:t.album.id}}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.album.title)+"\n\t\t\t\t\t\t")]):e._e(),e._v(" "),a("td",{staticClass:"table__cell--center",class:{"table__cell--small":"album"===e.type,"table__cell--x-small":"playlist"===e.type}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.convertDuration(t.duration))+"\n\t\t\t\t\t\t")]),e._v(" "),a("td",{staticClass:"table__icon table__cell--center"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:function(a){var n=t.selected,i=a.target,r=!!i.checked;if(Array.isArray(n)){var s=e._i(n,null);i.checked?s<0&&e.$set(t,"selected",n.concat([null])):s>-1&&e.$set(t,"selected",n.slice(0,s).concat(n.slice(s+1)))}else e.$set(t,"selected",r)}}})])],1):"disc_separator"==t.type?a("tr",{staticClass:"table__row-no-highlight",staticStyle:{opacity:"0.54"}},[e._m(2,!0),e._v(" "),a("td",{staticClass:"table__cell--center"},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.number)+"\n\t\t\t\t\t\t")]),e._v(" "),a("td",{attrs:{colspan:"4"}})]):e._e()]}))]:e._l(e.body,(function(t,n){return a("tr",[a("td",[t.preview_url?a("i",{staticClass:"material-icons",class:{preview_playlist_controls:t.preview_url,"cursor-pointer":t.preview_url},attrs:{"data-preview":t.preview_url,title:e.$t("globals.play_hint")},on:{click:e.playPausePreview}},[e._v("\n\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t")]):a("i",{staticClass:"material-icons disabled"},[e._v("play_arrow")])]),e._v(" "),a("td",[e._v(e._s(n+1))]),e._v(" "),a("td",{staticClass:"flex items-center"},[t.explicit?a("i",{staticClass:"material-icons explicit-icon"},[e._v("explicit")]):e._e(),e._v("\n\t\t\t\t\t\t"+e._s(t.name)+"\n\t\t\t\t\t")]),e._v(" "),a("td",[e._v(e._s(t.artists[0].name))]),e._v(" "),a("td",[e._v(e._s(t.album.name))]),e._v(" "),a("td",[e._v(e._s(e.convertDuration(Math.floor(t.duration_ms/1e3))))]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:function(a){var n=t.selected,i=a.target,r=!!i.checked;if(Array.isArray(n)){var s=e._i(n,null);i.checked?s<0&&e.$set(t,"selected",n.concat([null])):s>-1&&e.$set(t,"selected",n.slice(0,s).concat(n.slice(s+1)))}else e.$set(t,"selected",r)}}})])])}))],2)]),e._v(" "),e.label?a("span",{staticStyle:{opacity:"0.4","margin-top":"8px",display:"inline-block","font-size":"13px"}},[e._v(e._s(e.label))]):e._e(),e._v(" "),a("footer",{staticClass:"bg-background-main"},[a("button",{staticClass:"mr-2 btn btn-primary",attrs:{"data-link":e.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[e._v("\n\t\t\t"+e._s(""+e.$t("globals.download",{thing:e.$tc("globals.listTabs."+e.type,1)}))+"\n\t\t")]),e._v(" "),a("button",{staticClass:"flex items-center btn btn-primary",attrs:{"data-link":e.selectedLinks()},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[e._v("\n\t\t\t"+e._s(e.$t("tracklist.downloadSelection"))),a("i",{staticClass:"ml-2 material-icons"},[e._v("file_download")])])])])},staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",[a("i",{staticClass:"material-icons"},[e._v("music_note")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",[a("i",{staticClass:"material-icons"},[e._v("timer")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("td",[a("div",{staticClass:"table__cell-content table__cell-content--vertical-center",staticStyle:{opacity:"0.54"}},[a("i",{staticClass:"material-icons"},[e._v("album")])])])}]},0,{data:()=>({title:"",metadata:"",release_date:"",label:"",explicit:!1,image:"",type:"empty",link:"",body:[]}),mounted(){il.$on("tracklistTab:selectRow",this.selectRow),Go.on("show_album",this.showAlbum),Go.on("show_playlist",this.showPlaylist),Go.on("show_spotifyplaylist",this.showSpotifyPlaylist)},methods:{playPausePreview(e){il.$emit("trackPreview:playPausePreview",e)},reset(){this.title="Loading...",this.image="",this.metadata="",this.label="",this.release_date="",this.explicit=!1,this.type="empty",this.body=[]},addToQueue(e){Ko.sendAddToQueue(e.currentTarget.dataset.link)},toggleAll(e){this.body.forEach((t=>{"track"==t.type&&(t.selected=e.currentTarget.checked)}))},selectedLinks(){var e=[];return this.body&&this.body.forEach((t=>{"track"==t.type&&t.selected&&e.push("spotifyPlaylist"==this.type?t.uri:t.link)})),e.join(";")},convertDuration:tl.convertDuration,showAlbum(e){this.reset();const{id:t,title:a,explicit_lyrics:n,label:i,artist:{name:r},tracks:s,tracks:{length:o},release_date:l,cover_xl:c}=e;this.type="album",this.link="https://www.deezer.com/album/"+t,this.title=a,this.explicit=n,this.label=i,this.metadata=`${r} • ${this.$tc("globals.listTabs.trackN",o)}`,this.release_date=l.substring(0,10),this.image=c,Mm(s)?this.body=null:this.body=s},showPlaylist(e){this.reset();const{id:t,title:a,picture_xl:n,creation_date:i,creator:{name:r},tracks:s,tracks:{length:o}}=e;this.type="playlist",this.link="https://www.deezer.com/playlist/"+t,this.title=a,this.image=n,this.release_date=i.substring(0,10),this.metadata=`${this.$t("globals.by",{artist:r})} • ${this.$tc("globals.listTabs.trackN",o)}`,Mm(s)?this.body=null:this.body=s},showSpotifyPlaylist(e){this.reset();const{uri:t,name:a,images:n,images:{length:i},owner:{display_name:r},tracks:s,tracks:{length:o}}=e;this.type="spotifyPlaylist",this.link=t,this.title=a,this.image=i?n[0].url:"https://e-cdns-images.dzcdn.net/images/cover/d41d8cd98f00b204e9800998ecf8427e/1000x1000-000000-80-0-0.jpg",this.release_date="",this.metadata=`${this.$t("globals.by",{artist:r})} • ${this.$tc("globals.listTabs.trackN",o)}`,Mm(s)?this.body=null:this.body=s},selectRow(e,t){t.selected=!t.selected}}},undefined,!1);xa.use(su);const bh=new su({mode:"history",routes:[{path:"/",name:"Home",component:Km,meta:{notKeepAlive:!0}},{path:"/tracklist/:type/:id",name:"Tracklist",component:vh},{path:"/artist/:id",name:"Artist",component:Nm},{path:"/album/:id",name:"Album",component:vh},{path:"/playlist/:id",name:"Playlist",component:vh},{path:"/spotify-playlist/:id",name:"Spotify Playlist",component:vh},{path:"/charts",name:"Charts",component:Rm,meta:{notKeepAlive:!0}},{path:"/favorites",name:"Favorites",component:Vm,meta:{notKeepAlive:!0}},{path:"/errors",name:"Errors",component:jm},{path:"/link-analyzer",name:"Link Analyzer",component:Qm},{path:"/about",name:"About",component:cu},{path:"/info-arl",name:"ARL",component:du},{path:"/info-spotify",name:"Spotify Features",component:uu},{path:"/settings",name:"Settings",component:gh},{path:"/search",name:"Search",component:dh},{path:"*",component:Km}],scrollBehavior:(e,t,a)=>({x:0,y:0})});bh.beforeEach(((e,t,a)=>{let n=null;switch(e.name){case"Artist":n={type:"artist",id:e.params.id};break;case"Tracklist":n={type:e.params.type,id:e.params.id};break;case"Album":n={type:"album",id:e.params.id};break;case"Playlist":n={type:"playlist",id:e.params.id};break;case"Spotify Playlist":n={type:"spotifyplaylist",id:e.params.id}}n&&Go.emit("getTracklist",n),a()})),window.vol={preview_max_volume:100},document.addEventListener("DOMContentLoaded",(function(){new xa({store:Vo,router:bh,i18n:gc,render:e=>e(yl)}).$mount("#app")})),window.addEventListener("pywebviewready",(function(){Vo.dispatch("setClientMode",!0),document.addEventListener("keyup",(e=>{e.altKey&&"ArrowLeft"===e.key&&bh.back(),e.altKey&&"ArrowRight"===e.key&&bh.forward()}))})),document.addEventListener("paste",(e=>{if("input"===e.target.localName)return;let t=e.clipboardData.getData("Text");if(Yo(t))"Link Analyzer"===bh.currentRoute.name?Go.emit("analyzeLink",t):Wo(t);else{let e=document.querySelector("#searchbar");e.select(),e.setSelectionRange(0,99999)}})),Go.on("message",(function(e){console.log(e)})),Go.on("logging_in",(function(){bl(gc.t("toasts.loggingIn"),"loading",!1,"login-toast")})),Go.on("init_autologin",(function(){let e=localStorage.getItem("arl"),t=localStorage.getItem("accountNum");e&&(e=e.trim(),0!=t?Go.emit("login",e,!0,t):Go.emit("login",e))})),Go.on("logged_in",(function(e){const{status:t,user:a}=e;switch(t){case 1:case 3:bl(gc.t("toasts.loggedIn"),"done",!0,"login-toast"),Vo.dispatch("login",e);break;case 2:bl(gc.t("toasts.alreadyLogged"),"done",!0,"login-toast"),Vo.dispatch("setUser",a);break;case 0:bl(gc.t("toasts.loginFailed"),"close",!0,"login-toast"),Vo.dispatch("removeARL");break;case-1:return void bl(gc.t("toasts.deezerNotAvailable"),"close",!0,"login-toast")}})),Go.on("logged_out",(function(){bl(gc.t("toasts.loggedOut"),"done",!0,"login-toast"),Vo.dispatch("logout")})),Go.on("restoringQueue",(function(){bl(gc.t("toasts.restoringQueue"),"loading",!1,"restoring_queue")})),Go.on("cancellingCurrentItem",(function(e){bl(gc.t("toasts.cancellingCurrentItem"),"loading",!1,"cancelling_"+e)})),Go.on("currentItemCancelled",(function(e){bl(gc.t("toasts.currentItemCancelled"),"done",!0,"cancelling_"+e)})),Go.on("startAddingArtist",(function(e){bl(gc.t("toasts.startAddingArtist",{artist:e.name}),"loading",!1,"artist_"+e.id)})),Go.on("finishAddingArtist",(function(e){bl(gc.t("toasts.finishAddingArtist",{artist:e.name}),"done",!0,"artist_"+e.id)})),Go.on("startConvertingSpotifyPlaylist",(function(e){bl(gc.t("toasts.startConvertingSpotifyPlaylist"),"loading",!1,"spotifyplaylist_"+e)})),Go.on("finishConvertingSpotifyPlaylist",(function(e){bl(gc.t("toasts.finishConvertingSpotifyPlaylist"),"done",!0,"spotifyplaylist_"+e)})),Go.on("errorMessage",(function(e){bl(e,"error")})),Go.on("queueError",(function(e){e.errid?bl(e.link+" - "+gc.t("errors.ids."+e.errid),"error"):bl(e.link+" - "+e.error,"error")})),Go.on("alreadyInQueue",(function(e){bl(gc.t("toasts.alreadyInQueue",{item:e.title}),"playlist_add_check")})),Go.on("loginNeededToDownload",(function(e){bl(gc.t("toasts.loginNeededToDownload"),"report")})),Go.on("startGeneratingItems",(function(e){bl(gc.t("toasts.startGeneratingItems",{n:e.total}),"loading",!1,"batch_"+e.uuid)})),Go.on("finishGeneratingItems",(function(e){bl(gc.t("toasts.finishGeneratingItems",{n:e.total}),"done",!0,"batch_"+e.uuid)})); + */function vc(e,t){for(var a in t)e[a]=t[a];return e}var bc=/[!'()*]/g,yc=function(e){return"%"+e.charCodeAt(0).toString(16)},kc=/%2C/g,wc=function(e){return encodeURIComponent(e).replace(bc,yc).replace(kc,",")};function _c(e){try{return decodeURIComponent(e)}catch(e){}return e}var Ac=function(e){return null==e||"object"==typeof e?e:String(e)};function xc(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var a=e.replace(/\+/g," ").split("="),n=_c(a.shift()),i=a.length>0?_c(a.join("=")):null;void 0===t[n]?t[n]=i:Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]})),t):t}function Cc(e){var t=e?Object.keys(e).map((function(t){var a=e[t];if(void 0===a)return"";if(null===a)return wc(t);if(Array.isArray(a)){var n=[];return a.forEach((function(e){void 0!==e&&(null===e?n.push(wc(t)):n.push(wc(t)+"="+wc(e)))})),n.join("&")}return wc(t)+"="+wc(a)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var zc=/\/?$/;function Sc(e,t,a,n){var i=n&&n.options.stringifyQuery,r=t.query||{};try{r=Tc(r)}catch(e){}var s={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:r,params:t.params||{},fullPath:Pc(t,i),matched:e?Fc(e):[]};return a&&(s.redirectedFrom=Pc(a,i)),Object.freeze(s)}function Tc(e){if(Array.isArray(e))return e.map(Tc);if(e&&"object"==typeof e){var t={};for(var a in e)t[a]=Tc(e[a]);return t}return e}var Mc=Sc(null,{path:"/"});function Fc(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function Pc(e,t){var a=e.path,n=e.query;void 0===n&&(n={});var i=e.hash;return void 0===i&&(i=""),(a||"/")+(t||Cc)(n)+i}function Dc(e,t){return t===Mc?e===t:!!t&&(e.path&&t.path?e.path.replace(zc,"")===t.path.replace(zc,"")&&e.hash===t.hash&&Nc(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&Nc(e.query,t.query)&&Nc(e.params,t.params)))}function Nc(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var a=Object.keys(e).sort(),n=Object.keys(t).sort();return a.length===n.length&&a.every((function(a,i){var r=e[a];if(n[i]!==a)return!1;var s=t[a];return null==r||null==s?r===s:"object"==typeof r&&"object"==typeof s?Nc(r,s):String(r)===String(s)}))}function Lc(e){for(var t=0;t=0&&(t=e.slice(n),e=e.slice(0,n));var i=e.indexOf("?");return i>=0&&(a=e.slice(i+1),e=e.slice(0,i)),{path:e,query:a,hash:t}}(i.path||""),c=t&&t.path||"/",d=l.path?Ic(l.path,c,a||i.append):c,u=function(e,t,a){void 0===t&&(t={});var n,i=a||xc;try{n=i(e||"")}catch(e){n={}}for(var r in t){var s=t[r];n[r]=Array.isArray(s)?s.map(Ac):Ac(s)}return n}(l.query,i.query,n&&n.options.parseQuery),p=i.hash||l.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:d,query:u,hash:p}}var rd,sd=function(){},od={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(e){var t=this,a=this.$router,n=this.$route,i=a.resolve(this.to,n,this.append),r=i.location,s=i.route,o=i.href,l={},c=a.options.linkActiveClass,d=a.options.linkExactActiveClass,u=null==c?"router-link-active":c,p=null==d?"router-link-exact-active":d,m=null==this.activeClass?u:this.activeClass,h=null==this.exactActiveClass?p:this.exactActiveClass,f=s.redirectedFrom?Sc(null,id(s.redirectedFrom),null,a):s;l[h]=Dc(n,f),l[m]=this.exact?l[h]:function(e,t){return 0===e.path.replace(zc,"/").indexOf(t.path.replace(zc,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var a in t)if(!(a in e))return!1;return!0}(e.query,t.query)}(n,f);var g=l[h]?this.ariaCurrentValue:null,v=function(e){ld(e)&&(t.replace?a.replace(r,sd):a.push(r,sd))},b={click:ld};Array.isArray(this.event)?this.event.forEach((function(e){b[e]=v})):b[this.event]=v;var y={class:l},k=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:o,route:s,navigate:v,isActive:l[m],isExactActive:l[h]});if(k){if(1===k.length)return k[0];if(k.length>1||!k.length)return 0===k.length?e():e("span",{},k)}if("a"===this.tag)y.on=b,y.attrs={href:o,"aria-current":g};else{var w=cd(this.$slots.default);if(w){w.isStatic=!1;var _=w.data=vc({},w.data);for(var A in _.on=_.on||{},_.on){var x=_.on[A];A in b&&(_.on[A]=Array.isArray(x)?x:[x])}for(var C in b)C in _.on?_.on[C].push(b[C]):_.on[C]=v;var z=w.data.attrs=vc({},w.data.attrs);z.href=o,z["aria-current"]=g}else y.on=b}return e(this.tag,y,this.$slots.default)}};function ld(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function cd(e){if(e)for(var t,a=0;a-1&&(o.params[p]=a.params[p]);return o.path=nd(d.path,o.params),l(d,o,s)}if(o.path){o.params={};for(var m=0;m=e.length?a():e[i]?t(e[i],(function(){n(i+1)})):n(i+1)};n(0)}var $d={redirected:2,aborted:4,cancelled:8,duplicated:16};function Id(e,t){return jd(e,t,$d.redirected,'Redirected when going from "'+e.fullPath+'" to "'+function(e){if("string"==typeof e)return e;if("path"in e)return e.path;var t={};return Od.forEach((function(a){a in e&&(t[a]=e[a])})),JSON.stringify(t,null,2)}(t)+'" via a navigation guard.')}function Rd(e,t){return jd(e,t,$d.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function jd(e,t,a,n){var i=new Error(n);return i._isRouter=!0,i.from=e,i.to=t,i.type=a,i}var Od=["params","query","hash"];function Ed(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function Bd(e,t){return Ed(e)&&e._isRouter&&(null==t||e.type===t)}function qd(e){return function(t,a,n){var i=!1,r=0,s=null;Vd(e,(function(e,t,a,o){if("function"==typeof e&&void 0===e.cid){i=!0,r++;var l,c=Wd((function(t){var i;((i=t).__esModule||Hd&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:rd.extend(t),a.components[o]=t,--r<=0&&n()})),d=Wd((function(e){var t="Failed to resolve async component "+o+": "+e;s||(s=Ed(e)?e:new Error(t),n(s))}));try{l=e(c,d)}catch(e){d(e)}if(l)if("function"==typeof l.then)l.then(c,d);else{var u=l.component;u&&"function"==typeof u.then&&u.then(c,d)}}})),i||n()}}function Vd(e,t){return Gd(e.map((function(e){return Object.keys(e.components).map((function(a){return t(e.components[a],e.instances[a],e,a)}))})))}function Gd(e){return Array.prototype.concat.apply([],e)}var Hd="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Wd(e){var t=!1;return function(){for(var a=[],n=arguments.length;n--;)a[n]=arguments[n];if(!t)return t=!0,e.apply(this,a)}}var Kd=function(e,t){this.router=e,this.base=function(e){if(!e)if(dd){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=Mc,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Yd(e,t,a,n){var i=Vd(e,(function(e,n,i,r){var s=function(e,t){"function"!=typeof e&&(e=rd.extend(e));return e.options[t]}(e,t);if(s)return Array.isArray(s)?s.map((function(e){return a(e,n,i,r)})):a(s,n,i,r)}));return Gd(n?i.reverse():i)}function Qd(e,t){if(t)return function(){return e.apply(t,arguments)}}Kd.prototype.listen=function(e){this.cb=e},Kd.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Kd.prototype.onError=function(e){this.errorCbs.push(e)},Kd.prototype.transitionTo=function(e,t,a){var n,i=this;try{n=this.router.match(e,this.current)}catch(e){throw this.errorCbs.forEach((function(t){t(e)})),e}var r=this.current;this.confirmTransition(n,(function(){i.updateRoute(n),t&&t(n),i.ensureURL(),i.router.afterHooks.forEach((function(e){e&&e(n,r)})),i.ready||(i.ready=!0,i.readyCbs.forEach((function(e){e(n)})))}),(function(e){a&&a(e),e&&!i.ready&&(Bd(e,$d.redirected)&&r===Mc||(i.ready=!0,i.readyErrorCbs.forEach((function(t){t(e)}))))}))},Kd.prototype.confirmTransition=function(e,t,a){var n=this,i=this.current;this.pending=e;var r=function(e){!Bd(e)&&Ed(e)&&(n.errorCbs.length?n.errorCbs.forEach((function(t){t(e)})):console.error(e)),a&&a(e)},s=e.matched.length-1,o=i.matched.length-1;if(Dc(e,i)&&s===o&&e.matched[s]===i.matched[o])return this.ensureURL(),r(function(e,t){var a=jd(e,t,$d.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return a.name="NavigationDuplicated",a}(i,e));var l=function(e,t){var a,n=Math.max(e.length,t.length);for(a=0;a0)){var t=this.router,a=t.options.scrollBehavior,n=Dd&&a;n&&this.listeners.push(_d());var i=function(){var a=e.current,i=Zd(e.base);e.current===Mc&&i===e._startLocation||e.transitionTo(i,(function(e){n&&Ad(t,e,a,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,a){var n=this,i=this.current;this.transitionTo(e,(function(e){Nd(Rc(n.base+e.fullPath)),Ad(n.router,e,i,!1),t&&t(e)}),a)},t.prototype.replace=function(e,t,a){var n=this,i=this.current;this.transitionTo(e,(function(e){Ld(Rc(n.base+e.fullPath)),Ad(n.router,e,i,!1),t&&t(e)}),a)},t.prototype.ensureURL=function(e){if(Zd(this.base)!==this.current.fullPath){var t=Rc(this.base+this.current.fullPath);e?Nd(t):Ld(t)}},t.prototype.getCurrentLocation=function(){return Zd(this.base)},t}(Kd);function Zd(e){var t=window.location.pathname;return e&&0===t.toLowerCase().indexOf(e.toLowerCase())&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Xd=function(e){function t(t,a,n){e.call(this,t,a),n&&function(e){var t=Zd(e);if(!/^\/#/.test(t))return window.location.replace(Rc(e+"/#"+t)),!0}(this.base)||eu()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,a=Dd&&t;a&&this.listeners.push(_d());var n=function(){var t=e.current;eu()&&e.transitionTo(tu(),(function(n){a&&Ad(e.router,n,t,!0),Dd||iu(n.fullPath)}))},i=Dd?"popstate":"hashchange";window.addEventListener(i,n),this.listeners.push((function(){window.removeEventListener(i,n)}))}},t.prototype.push=function(e,t,a){var n=this,i=this.current;this.transitionTo(e,(function(e){nu(e.fullPath),Ad(n.router,e,i,!1),t&&t(e)}),a)},t.prototype.replace=function(e,t,a){var n=this,i=this.current;this.transitionTo(e,(function(e){iu(e.fullPath),Ad(n.router,e,i,!1),t&&t(e)}),a)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;tu()!==t&&(e?nu(t):iu(t))},t.prototype.getCurrentLocation=function(){return tu()},t}(Kd);function eu(){var e=tu();return"/"===e.charAt(0)||(iu("/"+e),!1)}function tu(){var e=window.location.href,t=e.indexOf("#");return t<0?"":e=e.slice(t+1)}function au(e){var t=window.location.href,a=t.indexOf("#");return(a>=0?t.slice(0,a):t)+"#"+e}function nu(e){Dd?Nd(au(e)):window.location.hash=e}function iu(e){Dd?Ld(au(e)):window.location.replace(au(e))}var ru=function(e){function t(t,a){e.call(this,t,a),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,a){var n=this;this.transitionTo(e,(function(e){n.stack=n.stack.slice(0,n.index+1).concat(e),n.index++,t&&t(e)}),a)},t.prototype.replace=function(e,t,a){var n=this;this.transitionTo(e,(function(e){n.stack=n.stack.slice(0,n.index).concat(e),t&&t(e)}),a)},t.prototype.go=function(e){var t=this,a=this.index+e;if(!(a<0||a>=this.stack.length)){var n=this.stack[a];this.confirmTransition(n,(function(){var e=t.current;t.index=a,t.updateRoute(n),t.router.afterHooks.forEach((function(t){t&&t(n,e)}))}),(function(e){Bd(e,$d.duplicated)&&(t.index=a)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Kd),su=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=hd(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Dd&&!1!==e.fallback,this.fallback&&(t="hash"),dd||(t="abstract"),this.mode=t,t){case"history":this.history=new Jd(this,e.base);break;case"hash":this.history=new Xd(this,e.base,this.fallback);break;case"abstract":this.history=new ru(this,e.base)}},ou={currentRoute:{configurable:!0}};function lu(e,t){return e.push(t),function(){var a=e.indexOf(t);a>-1&&e.splice(a,1)}}su.prototype.match=function(e,t,a){return this.matcher.match(e,t,a)},ou.currentRoute.get=function(){return this.history&&this.history.current},su.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var a=t.apps.indexOf(e);a>-1&&t.apps.splice(a,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var a=this.history;if(a instanceof Jd||a instanceof Xd){var n=function(e){a.setupListeners(),function(e){var n=a.current,i=t.options.scrollBehavior;Dd&&i&&"fullPath"in e&&Ad(t,e,n,!1)}(e)};a.transitionTo(a.getCurrentLocation(),n,n)}a.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},su.prototype.beforeEach=function(e){return lu(this.beforeHooks,e)},su.prototype.beforeResolve=function(e){return lu(this.resolveHooks,e)},su.prototype.afterEach=function(e){return lu(this.afterHooks,e)},su.prototype.onReady=function(e,t){this.history.onReady(e,t)},su.prototype.onError=function(e){this.history.onError(e)},su.prototype.push=function(e,t,a){var n=this;if(!t&&!a&&"undefined"!=typeof Promise)return new Promise((function(t,a){n.history.push(e,t,a)}));this.history.push(e,t,a)},su.prototype.replace=function(e,t,a){var n=this;if(!t&&!a&&"undefined"!=typeof Promise)return new Promise((function(t,a){n.history.replace(e,t,a)}));this.history.replace(e,t,a)},su.prototype.go=function(e){this.history.go(e)},su.prototype.back=function(){this.go(-1)},su.prototype.forward=function(){this.go(1)},su.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},su.prototype.resolve=function(e,t,a){var n=id(e,t=t||this.history.current,a,this),i=this.match(n,t),r=i.redirectedFrom||i.fullPath;return{location:n,route:i,href:function(e,t,a){var n="hash"===a?"#"+t:t;return e?Rc(e+"/"+n):n}(this.history.base,r,this.mode),normalizedTo:n,resolved:i}},su.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==Mc&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(su.prototype,ou),su.install=function e(t){if(!e.installed||rd!==t){e.installed=!0,rd=t;var a=function(e){return void 0!==e},n=function(e,t){var n=e.$options._parentVnode;a(n)&&a(n=n.data)&&a(n=n.registerRouteInstance)&&n(e,t)};t.mixin({beforeCreate:function(){a(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",Uc),t.component("RouterLink",od);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},su.version="3.4.8",su.isNavigationFailure=Bd,su.NavigationFailureType=$d,dd&&window.Vue&&window.Vue.use(su);var cu=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="About.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"about_tab"}},[a("h1",{staticClass:"mb-8 text-5xl capitalize"},[e._v(e._s(e.$t("sidebar.about")))]),e._v(" "),a("ul",[a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.updates.currentWebuiVersion"))+":\n\t\t\t"),a("span",[e._v(e._s("1.3.1"))])]),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.updates.currentVersion"))+":\n\t\t\t"),a("span",[e._v(e._s(e.current||e.$t("about.updates.versionNotAvailable")))])]),e._v(" "),a("li",[e._v(e._s(e.$t("about.updates.deemixVersion"))+": "+e._s(e.deemixVersion))]),e._v(" "),e.updateAvailable&&e.latest?a("li",[e._v(e._s(e.$t("about.updates.updateAvailable",{version:e.latest})))]):e._e()]),e._v(" "),a("ul",[a("li",{domProps:{innerHTML:e._s(e.$t("about.usesLibrary"))}}),e._v(" "),a("li",{domProps:{innerHTML:e._s(e.$t("about.thanks"))}}),e._v(" "),a("i18n",{attrs:{path:"about.upToDate.text",tag:"li"}},[a("a",{attrs:{place:"newsChannel",href:"https://t.me/RemixDevNews",target:"_blank"}},[e._v(e._s(e.$t("about.upToDate.newsChannel")))])])],1),e._v(" "),a("h2",[e._v(e._s(e.$t("about.titles.usefulLinks")))]),e._v(" "),a("ul",{staticClass:"no-dots"},[a("li",[a("a",{attrs:{href:"https://www.reddit.com/r/deemix",target:"_blank"}},[e._v("🤖 "+e._s(e.$t("about.officialSubreddit")))])]),e._v(" "),a("li",[a("a",{attrs:{href:"https://t.me/RemixDevNews",target:"_blank"}},[e._v("📰 "+e._s(e.$t("about.newsChannel")))])])]),e._v(" "),a("h2",[e._v("\n\t\t"+e._s(e.$t("about.titles.bugReports"))+"\n\t\t"),a("span",{staticClass:"subheading"},[e._v("\n\t\t\t"+e._s(e.$t("about.subtitles.bugReports"))+"\n\t\t")])]),e._v(" "),a("ul",[a("i18n",{attrs:{path:"about.questions.text",tag:"li"}},[a("a",{attrs:{place:"subreddit",href:"https://www.reddit.com/r/deemix",target:"_blank"}},[e._v(e._s(e.$t("about.questions.subreddit")))])]),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.beforeReporting"))+"\n\t\t")]),e._v(" "),a("li",{domProps:{innerHTML:e._s(e.$t("about.beSure"))}}),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.duplicateReports"))+"\n\t\t")]),e._v(" "),a("li",{domProps:{innerHTML:e._s(e.$t("about.dontOpenIssues"))}})],1),e._v(" "),a("h2",[e._v("\n\t\t"+e._s(e.$t("about.titles.contributing"))+"\n\t\t"),a("span",{staticClass:"subheading"},[e._v("\n\t\t\t"+e._s(e.$t("about.subtitles.contributing"))+"\n\t\t")])]),e._v(" "),a("ul",[a("i18n",{attrs:{path:"about.newUI.text",tag:"li"}},[a("span",{attrs:{place:"repo"}},[e._v(e._s(e.$t("about.newUI.repo")))])]),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.acceptFeatures"))+"\n\t\t")]),e._v(" "),a("i18n",{attrs:{path:"about.contributeWebUI.text",tag:"li"}},[a("span",{attrs:{place:"webui"}},[e._v(e._s(e.$t("about.contributeWebUI.webui")))])]),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.otherLanguages"))+"\n\t\t")]),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.understandingCode"))+"\n\t\t")])],1),e._v(" "),a("h2",[e._v("\n\t\t"+e._s(e.$t("about.titles.donations"))+"\n\t\t"),a("span",{staticClass:"subheading"},[e._v("\n\t\t\t"+e._s(e.$t("about.subtitles.donations"))+"\n\t\t")])]),e._v(" "),a("ul",[a("li",{domProps:{innerHTML:e._s(e.$t("about.itsFree"))}}),e._v(" "),a("li",[e._v("\n\t\t\t"+e._s(e.$t("about.notObligated"))+"\n\t\t")])]),e._v(" "),a("ul",[a("li",[a("i",{domProps:{innerHTML:e._s(e.paypal)}}),e._v(" "),a("strong",[e._v("PayPal:")]),e._v(" "),a("a",{attrs:{href:"https://paypal.me/RemixDev",target:"_blank"}},[e._v("PayPal.me/RemixDev")])]),e._v(" "),a("li",[a("i",{staticClass:"ethereum",domProps:{innerHTML:e._s(e.ethereum)}}),e._v(" "),a("strong",[e._v("Ethereum:")]),e._v(" 0x1d2aa67e671485CD4062289772B662e0A6Ff976c\n\t\t")])]),e._v(" "),a("h2",[e._v(e._s(e.$t("about.titles.license")))]),e._v(" "),e._m(0),e._v(" "),a("i18n",{attrs:{path:"about.lincensedUnder.text",tag:"p"}},[a("a",{attrs:{place:"gpl3",rel:"license",href:"https://www.gnu.org/licenses/gpl-3.0.en.html",target:"_blank"}},[e._v(e._s(e.$t("about.lincensedUnder.gpl3")))])])],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("p",[t("a",{attrs:{rel:"license",href:"https://www.gnu.org/licenses/gpl-3.0.en.html",target:"_blank"}},[t("img",{staticStyle:{"border-width":"0"},attrs:{alt:"GNU General Public License",src:"https://www.gnu.org/graphics/gplv3-127x51.png"}})])])}]},(function(e){e&&e("data-v-7bb0b29a_0",{source:"@charset \"UTF-8\";a[data-v-7bb0b29a],li[data-v-7bb0b29a],p[data-v-7bb0b29a]{letter-spacing:.4px;font-size:20px;line-height:1.2}i[data-v-7bb0b29a]{vertical-align:middle}i[data-v-7bb0b29a] svg{fill:#fff;width:20px}.ethereum[data-v-7bb0b29a] svg{fill:var(--foreground)}[data-v-7bb0b29a]:link{text-decoration:none}#about_tab[data-v-7bb0b29a]{margin-bottom:40px}h2[data-v-7bb0b29a]{text-transform:capitalize}h2[data-v-7bb0b29a]:not(.page_heading){font-size:2rem;border-bottom:1px solid rgba(51,51,51,.25);padding-top:2rem;padding-bottom:1rem}h2 .subheading[data-v-7bb0b29a]{display:block;font-size:.5em;margin-top:.5em;font-weight:400;opacity:.8;text-transform:none}p[data-v-7bb0b29a]{margin:0!important}ul li[data-v-7bb0b29a]{margin-bottom:7px}h2+ul[data-v-7bb0b29a]{margin-top:1rem}ul+ul[data-v-7bb0b29a]{margin-top:1.25rem}ul.no-dots[data-v-7bb0b29a]{list-style-type:none}ul[data-v-7bb0b29a]:not(.no-dots){list-style-type:none}ul:not(.no-dots) li[data-v-7bb0b29a]{position:relative}ul:not(.no-dots) li[data-v-7bb0b29a]::before{content:'—';position:absolute;left:-30px;opacity:.25}",map:void 0,media:void 0})}),{data:()=>({paypal:'\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',ethereum:'',current:null,latest:null,updateAvailable:!1,deemixVersion:null}),computed:{...Fo(["getAboutInfo"])},methods:{initUpdate(e){const{currentCommit:t,latestCommit:a,updateAvailable:n,deemixVersion:i}=e;this.current=t,this.latest=a,this.updateAvailable=n,this.deemixVersion=i}},mounted(){this.initUpdate(this.getAboutInfo)}},"data-v-7bb0b29a",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));var du=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="InfoArl.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("settings.login.arl.question")))]),e._v(" "),e._m(0),e._v(" "),a("h3",{staticClass:"mt-6 text-3xl"},[e._v("Chrome (Easy way)")]),e._v(" "),e._m(1),e._v(" "),a("h3",{staticClass:"mt-6 text-3xl"},[e._v("Chrome")]),e._v(" "),e._m(2),e._v(" "),e._m(3),e._v(" "),a("h3",{staticClass:"mt-6 text-3xl"},[e._v("Firefox")]),e._v(" "),e._m(4)])},staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v("\n\t\tDeezer keeps track of login session by using a cookie called ARL."),a("br"),e._v("\n\t\tdeemix uses that cookie to get the metadata that it needs to download the tracks from Deezer."),a("br"),e._v("\n\t\tARLs last for 3 months, after that Deezer asks you to log in again. The same method is used in deemix"),a("br"),e._v("\n\t\tFollowing one of the guides below you can get your own account ARL.\n\t")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"mb-2 text-base"},[a("li",[e._v("Open Chrome")]),e._v(" "),a("li",[e._v("Go to www.deezer.com and log into your account")]),e._v(" "),a("li",[e._v('Click on the little "lock" icon next the URL')]),e._v(" "),a("li",[e._v("Click on Cookies > deezer.com > cookies > arl")]),e._v(" "),a("li",[e._v("Select the string next to Content, and Copy")]),e._v(" "),a("li",[e._v("That's your ARL, now you can use it in the app")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"mb-2 text-base"},[a("li",[e._v("Open Chrome")]),e._v(" "),a("li",[e._v("Go to www.deezer.com and log into your account")]),e._v(" "),a("li",[e._v("After logging in press F12 to open up Developer Tools")]),e._v(" "),a("li",[e._v("Go under the Application tab (if you don't see it click the double arrow)")]),e._v(" "),a("li",[e._v("Open the cookie dropdown")]),e._v(" "),a("li",[e._v("Select www.deezer.com")]),e._v(" "),a("li",[e._v("Find the `arl` cookie (It should be 192 chars long) ")]),e._v(" "),a("li",[e._v("That's your ARL, now you can use it in the app")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v("Here's a "),a("a",{attrs:{href:"https://youtu.be/O6PRT47_yds",target:"_blank"}},[e._v("video guide")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"mb-2 text-base"},[a("li",[e._v("Open Firefox")]),e._v(" "),a("li",[e._v("Go to www.deezer.com and log into your account")]),e._v(" "),a("li",[e._v("Afer logging in press F12 to open up Developer Tools")]),e._v(" "),a("li",[e._v("Go under the Storage tab (if you don't see it click the double arrow)")]),e._v(" "),a("li",[e._v("Open the cookie dropdown")]),e._v(" "),a("li",[e._v("Select www.deezer.com")]),e._v(" "),a("li",[e._v("Find the `arl` cookie (It should be 192 chars long)")]),e._v(" "),a("li",[e._v("Make sure only copy the value and not the entire cookie")]),e._v(" "),a("li",[e._v("That's your ARL, now you can use it in the app")])])}]},0,{},undefined,!1);var uu=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="InfoSpotifyFeatures.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("settings.spotify.question")))]),e._v(" "),a("p",{staticClass:"mb-2 text-base"},[e._v('\n\t\t"Spotify Features" is a set of features that lets you convert Spotify tracks and albums links into Deezer ones.\n\t\tIf you provide a Spotify Playlist link the app will autmatically convert all the links of the tracks inside it into deezer tracks.\n\t\tEnabling this set of features will let you see your public Spotify playlists in the favorites tab as well.\n\t')]),e._v(" "),a("p",{staticClass:"mb-2 text-base"},[e._v("For security reasons you will need to provide your own Client ID and Secret")]),e._v(" "),a("h2",{staticClass:"mt-6 text-3xl"},[e._v("How do I get my Client ID and Secret?")]),e._v(" "),e._m(0),e._v(" "),e._m(1),e._v(" "),e._m(2),e._v(" "),e._m(3),e._v(" "),a("p",{staticClass:"mb-2 text-base"},[e._v("Now you can copy-paste those results in the appropriate fields in the settings.")]),e._v(" "),a("h2",{staticClass:"mt-6 text-3xl"},[e._v("How do I get my Spotify Username?")]),e._v(" "),e._m(4)])},staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v("Connect to "),a("a",{attrs:{href:"https://developer.spotify.com/dashboard",target:"_blank"}},[e._v("Spotify for Developers's Dashboard")]),e._v(" and login with your Spotify account.")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v('\n\t\tClick on "Create an App".'),a("br"),e._v(" "),a("img",{attrs:{src:"https://i.imgur.com/YFz7rHj.png",alt:"Create an App button on Spotify for Developers's Dashboard"}})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v('\n\t\tFill out the "App name" and "App description" fields and check both checkboxes. Then click on the "Create" button.'),a("br"),e._v(" "),a("img",{attrs:{src:"https://i.imgur.com/A9cvDkK.png",alt:"Create an app form"}})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v('\n\t\tNow you can see the Client ID. If you click on "Show Client Secret" the client secret will be revealed.'),a("br"),e._v(" "),a("img",{attrs:{src:"https://i.imgur.com/foEfIhO.png",alt:"Screen of client ID and Secret"}})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mb-2 text-base"},[e._v("You can get your Spotify Username from the "),a("a",{attrs:{href:"https://www.spotify.com/it/account/overview/",target:"_blank"}},[e._v("Overview page on Spotify's Website")]),e._v(".")])}]},0,{},undefined,!1),pu="object"==typeof global&&global&&global.Object===Object&&global,mu="object"==typeof self&&self&&self.Object===Object&&self,hu=pu||mu||Function("return this")(),fu=hu.Symbol,gu=Object.prototype,vu=gu.hasOwnProperty,bu=gu.toString,yu=fu?fu.toStringTag:void 0;var ku=Object.prototype.toString;var wu=fu?fu.toStringTag:void 0;function _u(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":wu&&wu in Object(e)?function(e){var t=vu.call(e,yu),a=e[yu];try{e[yu]=void 0;var n=!0}catch(e){}var i=bu.call(e);return n&&(t?e[yu]=a:delete e[yu]),i}(e):function(e){return ku.call(e)}(e)}function Au(e){return null!=e&&"object"==typeof e}function xu(e){return"symbol"==typeof e||Au(e)&&"[object Symbol]"==_u(e)}function Cu(e,t){for(var a=-1,n=null==e?0:e.length,i=Array(n);++a-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function Qu(e){return null!=e&&Yu(e.length)&&!Du(e)}var Ju=Object.prototype;function Zu(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ju)}function Xu(e){return Au(e)&&"[object Arguments]"==_u(e)}var ep=Object.prototype,tp=ep.hasOwnProperty,ap=ep.propertyIsEnumerable,np=Xu(function(){return arguments}())?Xu:function(e){return Au(e)&&tp.call(e,"callee")&&!ap.call(e,"callee")};var ip="object"==typeof exports&&exports&&!exports.nodeType&&exports,rp=ip&&"object"==typeof module&&module&&!module.nodeType&&module,sp=rp&&rp.exports===ip?hu.Buffer:void 0,op=(sp?sp.isBuffer:void 0)||function(){return!1},lp={};function cp(e){return function(t){return e(t)}}lp["[object Float32Array]"]=lp["[object Float64Array]"]=lp["[object Int8Array]"]=lp["[object Int16Array]"]=lp["[object Int32Array]"]=lp["[object Uint8Array]"]=lp["[object Uint8ClampedArray]"]=lp["[object Uint16Array]"]=lp["[object Uint32Array]"]=!0,lp["[object Arguments]"]=lp["[object Array]"]=lp["[object ArrayBuffer]"]=lp["[object Boolean]"]=lp["[object DataView]"]=lp["[object Date]"]=lp["[object Error]"]=lp["[object Function]"]=lp["[object Map]"]=lp["[object Number]"]=lp["[object Object]"]=lp["[object RegExp]"]=lp["[object Set]"]=lp["[object String]"]=lp["[object WeakMap]"]=!1;var dp="object"==typeof exports&&exports&&!exports.nodeType&&exports,up=dp&&"object"==typeof module&&module&&!module.nodeType&&module,pp=up&&up.exports===dp&&pu.process,mp=function(){try{var e=up&&up.require&&up.require("util").types;return e||pp&&pp.binding&&pp.binding("util")}catch(e){}}(),hp=mp&&mp.isTypedArray,fp=hp?cp(hp):function(e){return Au(e)&&Yu(e.length)&&!!lp[_u(e)]},gp=Object.prototype.hasOwnProperty;function vp(e,t){var a=zu(e),n=!a&&np(e),i=!a&&!n&&op(e),r=!a&&!n&&!i&&fp(e),s=a||n||i||r,o=s?function(e,t){for(var a=-1,n=Array(e);++a-1},Np.prototype.set=function(e,t){var a=this.__data__,n=Pp(a,e);return n<0?(++this.size,a.push([e,t])):a[n][1]=t,this};var Lp=Vu(hu,"Map");function Up(e,t){var a,n,i=e.__data__;return("string"==(n=typeof(a=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==a:null===a)?i["string"==typeof t?"string":"hash"]:i.map}function $p(e){var t=-1,a=null==e?0:e.length;for(this.clear();++to))return!1;var c=r.get(e);if(c&&r.get(t))return c==t;var d=-1,u=!0,p=2&a?new sm:void 0;for(r.set(e,t),r.set(t,e);++dt||r&&s&&l&&!o&&!c||n&&s&&l||!a&&l||!i)return 1;if(!n&&!r&&!c&&e=o?l:l*("desc"==a[n]?-1:1)}return e.index-t.index}(e,t,a)}))}function Dm(e,t,a,n){return null==e?[]:(zu(t)||(t=null==t?[]:[t]),zu(a=n?void 0:a)||(a=null==a?[]:[a]),Pm(e,t,a))}var Nm=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="Artist.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"relative image-header",attrs:{id:"artist_tab"}},[a("header",{staticClass:"flex items-center",style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[a("h1",{staticClass:"m-0"},[e._v(e._s(e.title))]),e._v(" "),a("div",{staticClass:"grid w-16 h-16 ml-auto rounded-full cursor-pointer bg-primary text-grayscale-870 place-items-center",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[a("i",{staticClass:"text-4xl material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),a("div",{staticClass:"my-4"},e._l(e.body,(function(t,n){return a("button",{key:n,staticClass:"mr-2 btn bg-background-main",class:{"btn-primary":n===e.currentTab},attrs:{href:"#artist_"+n},on:{click:function(t){return e.changeTab(n)}}},[e._v("\n\t\t\t"+e._s(e.$tc("globals.listTabs."+n,2))+"\n\t\t")])})),0),e._v(" "),a("table",{staticClass:"table"},[a("thead",[a("tr",e._l(e.head,(function(t){return a("th",{class:{"sort-asc":t.sortKey==e.sortKey&&"asc"==e.sortOrder,"sort-desc":t.sortKey==e.sortKey&&"desc"==e.sortOrder,sortable:t.sortKey,clickable:t.sortKey},style:{width:t.width?t.width:"auto"},on:{click:function(a){t.sortKey&&e.sortBy(t.sortKey)}}},[e._v("\n\t\t\t\t\t"+e._s(t.title)+"\n\t\t\t\t")])})),0)]),e._v(" "),a("tbody",e._l(e.showTable,(function(t){return a("tr",{key:t.id},[a("router-link",{staticClass:"flex items-center clickable",attrs:{tag:"td",to:{name:"Album",params:{id:t.id}}}},[a("img",{staticClass:"rounded coverart",staticStyle:{"margin-right":"16px",width:"56px",height:"56px"},attrs:{src:t.cover_small}}),e._v(" "),t.explicit_lyrics?a("i",{staticClass:"material-icons explicit-icon"},[e._v(" explicit ")]):e._e(),e._v("\n\t\t\t\t\t"+e._s(t.title)+"\n\t\t\t\t\t"),e.checkNewRelease(t.release_date)?a("i",{staticClass:"material-icons",staticStyle:{color:"#ff7300"}},[e._v("\n\t\t\t\t\t\tfiber_new\n\t\t\t\t\t")]):e._e()]),e._v(" "),a("td",[e._v(e._s(t.release_date))]),e._v(" "),a("td",[e._v(e._s(t.nb_song))]),e._v(" "),a("td",{staticClass:"clickable",attrs:{"data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[a("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v(" file_download ")])])],1)})),0)])])},staticRenderFns:[]},0,{data:()=>({currentTab:"",sortKey:"release_date",sortOrder:"desc",title:"",image:"",type:"",link:"",head:null,body:null}),computed:{showTable(){return this.body?"nb_song"==this.sortKey?Dm(this.body[this.currentTab],(function(e){return new Number(e.nb_song)}),this.sortOrder):Dm(this.body[this.currentTab],this.sortKey,this.sortOrder):[]}},mounted(){Go.on("show_artist",this.showArtist),il.$on("artistTab:updateSelected",this.updateSelected),il.$on("artistTab:changeTab",this.changeTab)},methods:{reset(){this.title="Loading...",this.image="",this.type="",this.currentTab="",this.sortKey="release_date",this.sortOrder="desc",this.link="",this.head=[],this.body=null},addToQueue(e){e.stopPropagation(),Ko.sendAddToQueue(e.currentTarget.dataset.link)},sortBy(e){e==this.sortKey?this.sortOrder="asc"==this.sortOrder?"desc":"asc":(this.sortKey=e,this.sortOrder="asc")},changeTab(e){this.currentTab=e},updateSelected(){},checkNewRelease(e){let t=new Date,a=new Date(e);return a.setDate(a.getDate()+3),t.setHours(0,0,0,0),t.getTime()<=a.getTime()},showArtist(e){this.reset();const{name:t,picture_xl:a,id:n,releases:i}=e;this.title=t,this.image=a,this.type="Artist",this.link="https://www.deezer.com/artist/"+n,""===this.currentTab&&(this.currentTab=Object.keys(i)[0]),this.sortKey="release_date",this.sortOrder="desc",this.head=[{title:this.$tc("globals.listTabs.title",1),sortKey:"title"},{title:this.$t("globals.listTabs.releaseDate"),sortKey:"release_date"},{title:this.$tc("globals.listTabs.track",2),sortKey:"nb_song"},{title:"",width:"32px"}],Mm(i)?this.body=null:this.body=i}}},undefined,!1);let Lm={},Um=!1;function $m(){return Um?Lm:(Go.emit("get_charts_data"),new Promise(((e,t)=>{Go.on("init_charts",(t=>{Lm=t,Um=!0,Go.off("init_charts"),e(t)}))})))}var Im=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="PreviewControls.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("i",{staticClass:"absolute top-0 right-0 flex items-center justify-center w-full h-full text-center transition-opacity duration-200 ease-in-out bg-black bg-opacity-50 rounded opacity-0 material-icons preview_controls",attrs:{title:e.$t("globals.play_hint")},on:{mouseenter:e.previewMouseEnter,mouseleave:e.previewMouseLeave}},[e._v("\n\tplay_arrow\n")])},staticRenderFns:[]},0,{methods:{previewMouseEnter(e){il.$emit("trackPreview:previewMouseEnter",e)},previewMouseLeave(e){il.$emit("trackPreview:previewMouseLeave",e)}}},undefined,!1);var Rm=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="Charts.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("charts.title")))]),e._v(" "),""===e.country?a("div",[a("div",{staticClass:"release-grid"},e._l(e.countries,(function(t){return a("div",{key:t.id,staticClass:"w-40 h-40 release clickable",attrs:{role:"button","aria-label":t.title,"data-title":t.title,"data-id":t.id},on:{click:e.getTrackList}},[a("img",{staticClass:"w-full rounded coverart",attrs:{src:t.picture_medium}})])})),0)]):a("div",[a("button",{staticClass:"btn btn-primary",on:{click:e.onChangeCountry}},[e._v(e._s(e.$t("charts.changeCountry")))]),e._v(" "),a("button",{staticClass:"btn btn-primary",attrs:{"data-link":"https://www.deezer.com/playlist/"+e.id},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[e._v("\n\t\t\t"+e._s(e.$t("charts.download"))+"\n\t\t")]),e._v(" "),a("table",{staticClass:"table table--charts"},[a("tbody",e._l(e.chart,(function(t){return a("tr",{staticClass:"track_row"},[a("td",{staticClass:"p-3 text-center cursor-default",class:{first:1===t.position}},[e._v("\n\t\t\t\t\t\t"+e._s(t.position)+"\n\t\t\t\t\t")]),e._v(" "),a("td",{staticClass:"table__icon table__icon--big"},[a("span",{staticClass:"relative inline-block rounded cursor-pointer",attrs:{"data-preview":t.preview},on:{click:e.playPausePreview}},[t.preview?a("PreviewControls"):e._e(),e._v(" "),a("img",{staticClass:"rounded coverart",attrs:{src:t.album.cover_small}})],1)]),e._v(" "),a("td",{staticClass:"table__cell--large"},[e._v("\n\t\t\t\t\t\t"+e._s(t.title+(t.title_version&&-1==t.title.indexOf(t.title_version)?" "+t.title_version:""))+"\n\t\t\t\t\t")]),e._v(" "),a("router-link",{staticClass:"table__cell table__cell--medium table__cell--center clickable",attrs:{tag:"td",to:{name:"Artist",params:{id:t.artist.id}}}},[e._v("\n\t\t\t\t\t\t"+e._s(t.artist.name)+"\n\t\t\t\t\t")]),e._v(" "),a("router-link",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{tag:"td",to:{name:"Album",params:{id:t.album.id}}}},[e._v("\n\t\t\t\t\t\t"+e._s(t.album.title)+"\n\t\t\t\t\t")]),e._v(" "),a("td",{staticClass:"table__cell--small table__cell--center"},[e._v("\n\t\t\t\t\t\t"+e._s(e.convertDuration(t.duration))+"\n\t\t\t\t\t")]),e._v(" "),a("td",{staticClass:"cursor-pointer group",attrs:{"data-link":t.link,role:"button","aria-label":"download"},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[a("i",{staticClass:"transition-colors duration-150 ease-in-out material-icons group-hover:text-primary",attrs:{title:e.$t("globals.download_hint")}},[e._v("\n\t\t\t\t\t\t\tget_app\n\t\t\t\t\t\t")])])],1)})),0)])])])},staticRenderFns:[]},0,{components:{PreviewControls:Im},data:()=>({country:"",id:0,countries:[],chart:[]}),computed:{worldwideRelease(){return this.countries.filter((e=>"Worldwide"===e.title))[0]}},async created(){Go.on("setChartTracks",this.setTracklist),this.$on("hook:destroyed",(()=>{Go.off("setChartTracks")}));let e,t=await $m();t=t.filter((t=>("Worldwide"===t.title&&(e=t),"Worldwide"!==t.title))),t.unshift(e),this.initCharts(t)},methods:{convertDuration:Qo,playPausePreview(e){il.$emit("trackPreview:playPausePreview",e)},addToQueue(e){e.stopPropagation(),Wo(e.currentTarget.dataset.link)},getTrackList(e){document.getElementById("content").scrollTo(0,0);const{currentTarget:{dataset:{title:t}},currentTarget:{dataset:{id:a}}}=e;this.country=t,localStorage.setItem("chart",this.country),this.id=a,Go.emit("getChartTracks",this.id)},setTracklist(e){this.chart=e},onChangeCountry(){this.country="",this.id=0},initCharts(e){if(this.countries=e,this.country=localStorage.getItem("chart")||"",!this.country)return;let t=0;for(;t{Go.on("init_favorites",(t=>{Om=t,Em=!0,Go.off("init_favorites"),e(t)}))})))}var qm=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="CoverContainer.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"relative cover-container group"},[a("img",{staticClass:"block w-full opacity-100 coverart",class:{rounded:e.isRounded,"rounded-full":e.isCircle},attrs:{"aria-hidden":"true",src:e.cover}}),e._v(" "),a("button",e._g({staticClass:"absolute p-0 text-center bg-black border-0 rounded-full opacity-0 download_overlay hover:bg-primary",attrs:{role:"button","aria-label":"download","data-link":e.link,tabindex:"0"}},e.$listeners),[a("i",{staticClass:"text-white cursor-pointer material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])])},staticRenderFns:[]},(function(e){e&&e("data-v-5a73b889_0",{source:".cover-container[data-v-5a73b889]{width:156px;height:156px;margin-bottom:10px}.cover-container .coverart[data-v-5a73b889]{backface-visibility:hidden;transition:.5s ease;height:auto}.cover-container .download_overlay[data-v-5a73b889]{top:50%;left:50%;transform:translate(-50%,-50%);transition:.5s ease;opacity:0;min-width:2rem;height:2.75rem;text-align:center}.cover-container .download_overlay i[data-v-5a73b889]{padding:.625rem}.cover-container .download_overlay[data-v-5a73b889]:focus{opacity:1}.cover-container:hover .coverart[data-v-5a73b889]{opacity:.75}.cover-container:hover .download_overlay[data-v-5a73b889]{opacity:1;border:0}",map:void 0,media:void 0})}),{inheritAttrs:!1,props:{cover:{type:String,reqired:!0},isRounded:{type:Boolean,required:!1},isCircle:{type:Boolean,required:!1},link:{type:String,reqired:!0}}},"data-v-5a73b889",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));var Vm=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="Favorites.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h1",{staticClass:"mb-8 text-5xl"},[e._v("\n\t\t"+e._s(e.$t("favorites.title"))+"\n\t\t"),a("div",{ref:"reloadButton",staticClass:"inline-block clickable reload-button",attrs:{role:"button","aria-label":"reload"},on:{click:e.reloadTabs}},[a("i",{staticClass:"material-icons"},[e._v("sync")])])]),e._v(" "),a("ul",{staticClass:"section-tabs"},e._l(e.tabs,(function(t){return a("li",{key:t,staticClass:"section-tabs__tab favorites_tablinks",class:{active:e.activeTab===t},on:{click:function(a){e.activeTab=t}}},[e._v("\n\t\t\t"+e._s(e.$tc("globals.listTabs."+t,2))+"\n\t\t")])})),0),e._v(" "),e.activeTabEmpty?e._e():a("button",{staticClass:"btn btn-primary",staticStyle:{"margin-bottom":"2rem"},on:{click:e.downloadAllOfType}},[e._v("\n\t\t"+e._s(e.$t("globals.download",{thing:e.$tc("globals.listTabs."+e.activeTab+"N",e.getTabLenght())}))+"\n\t")]),e._v(" "),a("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"playlist"===e.activeTab}},[0==e.playlists.length?a("div",[a("h1",[e._v(e._s(e.$t("favorites.noPlaylists")))])]):e._e(),e._v(" "),e.playlists.length>0||e.spotifyPlaylists>0?a("div",{staticClass:"release-grid"},[e._l(e.playlists,(function(t){return a("div",{key:t.id,staticClass:"release"},[a("router-link",{staticClass:"cursor-pointer",attrs:{tag:"div",to:{name:"Playlist",params:{id:t.id}}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.picture_medium,link:t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}}),e._v(" "),a("p",{staticClass:"primary-text"},[e._v(e._s(t.title))])],1),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.creator.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t\t")])],1)})),e._v(" "),e._l(e.spotifyPlaylists,(function(t){return a("div",{key:t.id,staticClass:"release"},[a("router-link",{staticClass:"cursor-pointer",attrs:{tag:"div",to:{name:"Spotify Playlist",params:{id:t.id}}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.picture_medium,link:t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}}),e._v(" "),a("p",{staticClass:"primary-text"},[e._v(e._s(t.title))])],1),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.creator.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t\t")])],1)}))],2):e._e()]),e._v(" "),a("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"album"===e.activeTab}},[0==e.albums.length?a("div",[a("h1",[e._v(e._s(e.$t("favorites.noAlbums")))])]):e._e(),e._v(" "),e.albums.length>0?a("div",{staticClass:"release-grid"},e._l(e.albums,(function(t){return a("router-link",{key:t.id,staticClass:"release clickable",attrs:{tag:"div",to:{name:"Album",params:{id:t.id}}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.cover_medium,link:t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}}),e._v(" "),a("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v(e._s(""+e.$t("globals.by",{artist:t.artist.name})))])],1)})),1):e._e()]),e._v(" "),a("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"artist"===e.activeTab}},[0==e.artists.length?a("div",[a("h1",[e._v(e._s(e.$t("favorites.noArtists")))])]):e._e(),e._v(" "),e.artists.length>0?a("div",{staticClass:"release-grid"},e._l(e.artists,(function(t){return a("router-link",{key:t.id,staticClass:"release clickable",attrs:{tag:"div",to:{name:"Artist",params:{id:t.id}}}},[a("CoverContainer",{attrs:{"is-circle":"",cover:t.picture_medium,link:t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}}),e._v(" "),a("p",{staticClass:"primary-text"},[e._v(e._s(t.name))])],1)})),1):e._e()]),e._v(" "),a("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"track"===e.activeTab}},[0==e.tracks.length?a("div",[a("h1",[e._v(e._s(e.$t("favorites.noTracks")))])]):e._e(),e._v(" "),e.tracks.length>0?a("table",{staticClass:"table"},e._l(e.tracks,(function(t){return a("tr",{staticClass:"track_row"},[a("td",{staticClass:"p-3 text-center cursor-default",class:{first:1===t.position}},[e._v("\n\t\t\t\t\t"+e._s(t.position)+"\n\t\t\t\t")]),e._v(" "),a("td",[a("span",{staticClass:"relative inline-block rounded cursor-pointer",attrs:{"data-preview":t.preview},on:{click:e.playPausePreview}},[t.preview?a("PreviewControls"):e._e(),e._v(" "),a("img",{staticClass:"rounded coverart",attrs:{src:t.album.cover_small}})],1)]),e._v(" "),a("td",{staticClass:"table__cell--large"},[e._v("\n\t\t\t\t\t"+e._s(t.title+(t.title_version&&-1==t.title.indexOf(t.title_version)?" "+t.title_version:""))+"\n\t\t\t\t")]),e._v(" "),a("router-link",{staticClass:"table__cell table__cell--medium table__cell--center clickable",attrs:{tag:"td",to:{name:"Artist",params:{id:t.artist.id}}}},[e._v("\n\t\t\t\t\t"+e._s(t.artist.name)+"\n\t\t\t\t")]),e._v(" "),a("router-link",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{tag:"td",to:{name:"Album",params:{id:t.album.id}}}},[e._v("\n\t\t\t\t\t"+e._s(t.album.title)+"\n\t\t\t\t")]),e._v(" "),a("td",{staticClass:"table__cell--small"},[e._v("\n\t\t\t\t\t"+e._s(e.convertDuration(t.duration))+"\n\t\t\t\t")]),e._v(" "),a("td",{staticClass:"cursor-pointer group",attrs:{"data-link":t.link,role:"button","aria-label":"download"},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[a("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[a("i",{staticClass:"transition-colors duration-150 ease-in-out material-icons group-hover:text-primary",attrs:{title:e.$t("globals.download_hint")}},[e._v("\n\t\t\t\t\t\t\tget_app\n\t\t\t\t\t\t")])])])],1)})),0):e._e()])])},staticRenderFns:[]},(function(e){e&&e("data-v-5e42ebfa_0",{source:".favorites_tabcontent[data-v-5e42ebfa]{display:none}.favorites_tabcontent--active[data-v-5e42ebfa]{display:block}.reload-button.spin i[data-v-5e42ebfa]{animation:spin .5s infinite ease-out reverse}",map:void 0,media:void 0})}),{components:{PreviewControls:Im,CoverContainer:qm},data:()=>({tracks:[],albums:[],artists:[],playlists:[],spotifyPlaylists:[],activeTab:"playlist",tabs:["playlist","album","artist","track"]}),computed:{activeTabEmpty(){return 0===this.getActiveRelease().length}},async created(){const e=await Bm();0!==Object.entries(e).length&&this.setFavorites(e)},mounted(){Go.on("updated_userFavorites",this.updated_userFavorites),Go.on("updated_userSpotifyPlaylists",this.updated_userSpotifyPlaylists),Go.on("updated_userPlaylists",this.updated_userPlaylists),Go.on("updated_userAlbums",this.updated_userAlbums),Go.on("updated_userArtist",this.updated_userArtist),Go.on("updated_userTracks",this.updated_userTracks),this.$on("hook:destroyed",(()=>{Go.off("updated_userFavorites"),Go.off("updated_userSpotifyPlaylists"),Go.off("updated_userPlaylists"),Go.off("updated_userAlbums"),Go.off("updated_userArtist"),Go.off("updated_userTracks")}))},methods:{playPausePreview(e){il.$emit("trackPreview:playPausePreview",e)},convertDuration:Qo,downloadAllOfType(){try{let e=this.getActiveRelease();if("track"===this.activeTab){Wo(this.getLovedTracksPlaylist().link)}else Wo(function(e){let t=[];return e.forEach((e=>{t.push(e.link)})),t.join(";")}(e))}catch(e){console.error(e.message)}},addToQueue(e){Wo(e.currentTarget.dataset.link)},updated_userSpotifyPlaylists(e){this.spotifyPlaylists=e},updated_userPlaylists(e){this.playlists=e},updated_userAlbums(e){this.albums=e},updated_userArtist(e){this.artists=e},updated_userTracks(e){this.tracks=e},reloadTabs(){this.$refs.reloadButton.classList.add("spin"),Go.emit("update_userFavorites"),localStorage.getItem("spotifyUser")&&Go.emit("update_userSpotifyPlaylists",localStorage.getItem("spotifyUser"))},updated_userFavorites(e){this.setFavorites(e),this.$refs.reloadButton.addEventListener("animationiteration",(()=>{this.$refs.reloadButton.classList.remove("spin"),bl(this.$t("toasts.refreshFavs"),"done",!0)}),{once:!0})},setFavorites(e){const{tracks:t,albums:a,artists:n,playlists:i}=e;this.tracks=t,this.albums=a,this.artists=n,this.playlists=i},getActiveRelease(e=this.activeTab){let t;switch(e){case"playlist":t=this.playlists;break;case"album":t=this.albums;break;case"artist":t=this.artists;break;case"track":t=this.tracks}return t},getTabLenght(e=this.activeTab){return this[e+"s"].length},getLovedTracksPlaylist(){let e=this.playlists.filter((e=>e.is_loved_track));if(0!==e.length)return e[0];throw new Error("No loved tracks playlist!")}}},"data-v-5e42ebfa",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));let Gm={},Hm=!1;function Wm(){return Hm?Gm:(Go.emit("get_home_data"),new Promise(((e,t)=>{Go.on("init_home",(t=>{Gm=t,Hm=!0,Go.off("init_home"),e(t)}))})))}var Km=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="Home.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"home_tab"}},[a("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("globals.welcome")))]),e._v(" "),e.isLoggedIn?e._e():a("section",{ref:"notLogged",staticClass:"py-6 border-0 border-t border-solid border-grayscale-500"},[a("p",{staticClass:"mb-4",attrs:{id:"home_not_logged_text"}},[e._v(e._s(e.$t("home.needTologin")))]),e._v(" "),a("router-link",{staticClass:"btn btn-primary",attrs:{tag:"button",name:"button",to:{name:"Settings"}}},[e._v("\n\t\t\t"+e._s(e.$t("home.openSettings"))+"\n\t\t")])],1),e._v(" "),e.playlists.length?a("section",{staticClass:"py-6 border-0 border-t border-solid border-grayscale-500"},[a("h2",{staticClass:"mb-6 text-3xl"},[e._v(e._s(e.$t("home.sections.popularPlaylists")))]),e._v(" "),a("div",{staticClass:"release-grid"},e._l(e.playlists,(function(t){return a("router-link",{key:t.id,staticClass:"release clickable",attrs:{tag:"div",to:{name:"Playlist",params:{id:t.id}},tabindex:"0"},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.$router.push({name:"Playlist",params:{id:t.id}})}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.picture_medium,link:t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}}),e._v(" "),a("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.user.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t\t")])],1)})),1)]):e._e(),e._v(" "),e.albums.length?a("section",{staticClass:"py-6 border-0 border-t border-solid border-grayscale-500"},[a("h2",{staticClass:"mb-6 text-3xl"},[e._v(e._s(e.$t("home.sections.popularAlbums")))]),e._v(" "),a("div",{staticClass:"release-grid"},e._l(e.albums,(function(t){return a("router-link",{key:t.id,staticClass:"release clickable",attrs:{tag:"div",to:{name:"Album",params:{id:t.id}},"data-id":t.id,tabindex:"0"},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.$router.push({name:"Album",params:{id:t.id}})}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.cover_medium,link:t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}}),e._v(" "),a("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v(e._s(""+e.$t("globals.by",{artist:t.artist.name})))])],1)})),1)]):e._e()])},staticRenderFns:[]},0,{components:{CoverContainer:qm},data:()=>({playlists:[],albums:[]}),async created(){const e=await Wm();this.initHome(e)},computed:{...Fo(["isLoggedIn"])},methods:{addToQueue(e){Wo(e.currentTarget.dataset.link)},initHome(e){const{playlists:{data:t},albums:{data:a}}=e;this.playlists=t,this.albums=a}}},undefined,!1);const Ym={AF:"Afghanistan",AX:"Åland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia, Plurinational State of",BQ:"Bonaire, Sint Eustatius and Saba",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, the Democratic Republic of the",CK:"Cook Islands",CR:"Costa Rica",CI:"Côte d'Ivoire",HR:"Croatia",CU:"Cuba",CW:"Curaçao",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran, Islamic Republic of",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea, Democratic People's Republic of",KR:"Korea, Republic of",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia, the Former Yugoslav Republic of",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestine, State of",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",BL:"Saint Barthélemy",SH:"Saint Helena, Ascension and Tristan da Cunha",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",MF:"Saint Martin (French part)",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SX:"Sint Maarten (Dutch part)",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",SS:"South Sudan",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan, Province of China",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela, Bolivarian Republic of",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe"};var Qm=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="LinkAnalyzer.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"image-header",attrs:{id:"analyzer_tab"}},[a("h1",{staticClass:"mb-8 text-5xl capitalize"},[e._v(e._s(e.$t("sidebar.linkAnalyzer")))]),e._v(" "),""===e.link?a("div",[a("p",[e._v("\n\t\t\t"+e._s(e.$t("linkAnalyzer.info"))+"\n\t\t")]),e._v(" "),a("p",[e._v("\n\t\t\t"+e._s(e.$t("linkAnalyzer.useful"))+"\n\t\t")])]):"error"===e.link?a("div",[a("h2",[e._v(e._s(e.$t("linkAnalyzer.linkNotSupported")))]),e._v(" "),a("p",[e._v(e._s(e.$t("linkAnalyzer.linkNotSupportedYet")))])]):a("div",[a("header",{staticClass:"flex items-center",style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[a("div",[a("h1",{staticClass:"m-0"},[e._v(e._s(e.title))]),e._v(" "),"track"===e.type?a("h2",{staticClass:"m-0 mb-3 text-lg"},[a("i18n",{attrs:{path:"globals.by",tag:"span"}},[a("router-link",{staticClass:"clickable",attrs:{tag:"span",place:"artist",to:{name:"Artist",params:{id:e.data.artist.id}}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.data.artist.name)+"\n\t\t\t\t\t\t")])],1),e._v("\n\t\t\t\t\t•\n\t\t\t\t\t"),a("i18n",{attrs:{path:"globals.in",tag:"span"}},[a("router-link",{staticClass:"clickable",attrs:{tag:"span",place:"album",to:{name:"Album",params:{id:e.data.album.id}}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.data.album.title)+"\n\t\t\t\t\t\t")])],1)],1):"album"===e.type?a("h2",{staticClass:"m-0 mb-3 text-lg"},[a("i18n",{attrs:{path:"globals.by",tag:"span"}},[a("router-link",{staticClass:"clickable",attrs:{tag:"span",place:"artist",to:{name:"Artist",params:{id:e.data.artist.id}}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.data.artist.name)+"\n\t\t\t\t\t\t")])],1),e._v("\n\t\t\t\t\t"+e._s(" • "+e.$tc("globals.listTabs.trackN",e.data.nb_tracks))+"\n\t\t\t\t")],1):e._e()]),e._v(" "),a("div",{staticClass:"grid w-16 h-16 ml-auto rounded-full cursor-pointer bg-primary text-grayscale-870 place-items-center",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(t){return t.preventDefault(),e.openQualityModal(t)},click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[a("i",{staticClass:"text-4xl material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),a("table",{staticClass:"table"},[e.data.id?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.id")))]),e._v(" "),a("td",[e._v(e._s(e.data.id))])]):e._e(),e._v(" "),e.data.isrc?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.isrc")))]),e._v(" "),a("td",[e._v(e._s(e.data.isrc))])]):e._e(),e._v(" "),e.data.upc?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.upc")))]),e._v(" "),a("td",[e._v(e._s(e.data.upc))])]):e._e(),e._v(" "),e.data.duration?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.duration")))]),e._v(" "),a("td",[e._v(e._s(e.convertDuration(e.data.duration)))])]):e._e(),e._v(" "),e.data.disk_number?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.diskNumber")))]),e._v(" "),a("td",[e._v(e._s(e.data.disk_number))])]):e._e(),e._v(" "),e.data.track_position?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.trackNumber")))]),e._v(" "),a("td",[e._v(e._s(e.data.track_position))])]):e._e(),e._v(" "),e.data.release_date?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.releaseDate")))]),e._v(" "),a("td",[e._v(e._s(e.data.release_date))])]):e._e(),e._v(" "),e.data.bpm?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.bpm")))]),e._v(" "),a("td",[e._v(e._s(e.data.bpm))])]):e._e(),e._v(" "),e.data.label?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.label")))]),e._v(" "),a("td",[e._v(e._s(e.data.label))])]):e._e(),e._v(" "),e.data.record_type?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.recordType")))]),e._v(" "),a("td",[e._v(e._s(e.$tc("globals.listTabs."+e.data.record_type,1)))])]):e._e(),e._v(" "),e.data.genres&&e.data.genres.data.length?a("tr",[a("td",[e._v(e._s(e.$t("linkAnalyzer.table.genres")))]),e._v(" "),a("td",[e._v(e._s(e.data.genres.data.map((function(e){return e.name})).join("; ")))])]):e._e()]),e._v(" "),"album"==e.type?a("div",[a("router-link",{staticClass:"btn btn-primary",attrs:{tag:"button",name:"button",to:{name:"Album",params:{id:e.id}}}},[e._v("\n\t\t\t\t"+e._s(e.$t("linkAnalyzer.table.tracklist"))+"\n\t\t\t")])],1):e._e(),e._v(" "),e.countries.length?a("div",e._l(e.countries,(function(t){return a("p",[e._v(e._s(t[0])+" - "+e._s(t[1]))])})),0):e._e()])])},staticRenderFns:[]},0,{data:()=>({link:"",title:"",subtitle:"",image:"",data:{},type:"",id:"0",countries:[]}),methods:{convertDuration:Qo,reset(){this.title="Loading...",this.subtitle="",this.image="",this.data={},this.type="",this.link="",this.countries=[]},showTrack(e){this.reset();const{title:t,title_version:a,album:{cover_xl:n},link:i,available_countries:r,id:s}=e;this.title=t+(a&&-1==t.indexOf(a)?" "+a:""),this.image=n,this.type="track",this.link=i,this.id=s,r.forEach((e=>{let t=[],a=[...e].map((e=>e.charCodeAt()+127397));t.push(String.fromCodePoint(...a)),t.push(Ym[e]),this.countries.push(t)})),this.data=e},showAlbum(e){this.reset();const{title:t,cover_xl:a,link:n,id:i}=e;this.title=t,this.image=a,this.type="album",this.link=n,this.data=e,this.id=i},notSupported(){this.link="error"},addToQueue(e){Wo(e.currentTarget.dataset.link)}},mounted(){il.$on("linkAnalyzerTab:reset",this.reset),Go.on("analyze_track",this.showTrack),Go.on("analyze_album",this.showAlbum),Go.on("analyze_notSupported",this.notSupported)}},undefined,!1);const Jm=e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase();var Zm=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="TopResult.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"flex flex-col items-center justify-center"},[a("router-link",{staticClass:"cursor-pointer",attrs:{tag:"div",to:{name:e.upperCaseFirstLowerCaseRest(e.$attrs.info.type),params:{id:e.$attrs.info.id}}}},[a("CoverContainer",{staticClass:"w-40 h-40",attrs:{"is-rounded":"artist"!==e.$attrs.info.type,"is-circle":"artist"===e.$attrs.info.type,cover:e.$attrs.info.picture,link:e.$attrs.info.link},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}}),e._v(" "),a("p",{staticClass:"mt-4 mb-1 text-xl text-center transition-colors duration-200 ease-in-out hover:text-primary"},[e._v("\n\t\t\t"+e._s(e.$attrs.info.title)+"\n\t\t")])],1),e._v(" "),a("p",{staticClass:"mb-3 text-center secondary-text"},[e._v("\n\t\t"+e._s(e.fansNumber)+"\n\t")]),e._v(" "),a("span",{staticClass:"p-1 px-2 text-xs text-center capitalize bg-primary rounded-xl"},[e._v("\n\t\t"+e._s(e.$tc("globals.listTabs."+e.$attrs.info.type,1))+"\n\t")])],1)},staticRenderFns:[]},0,{components:{CoverContainer:qm},methods:{upperCaseFirstLowerCaseRest:Jm},computed:{fansNumber(){let e;try{e=this.$n(this.$attrs.info.nb_fan)}catch(t){e=this.$n(this.$attrs.info.nb_fan,{locale:"en"})}return"artist"==this.$attrs.info.type?this.$t("search.fans",{n:e}):this.$t("globals.by",{artist:this.$attrs.info.artist})+" - "+this.$tc("globals.listTabs.trackN",this.$attrs.info.nb_song)}}},undefined,!1);function Xm(e,t){if(e.hasLoaded){const{data:a}=e,n=[];for(const e of a){let a=t(e);n.push(a)}return{data:n,hasLoaded:e.hasLoaded}}return null}function eh(e){let t=el(e,"explicit_lyrics","EXPLICIT_LYRICS");return"string"==typeof t&&(t="0"!==t),{trackTitle:el(e,"title","SNG_TITLE"),trackTitleVersion:el(e,"title_version","VERSION"),trackPreview:el(e,"preview"),trackDuration:el(e,"duration","DURATION"),trackLink:el(e,"link")||"https://www.deezer.com/track/"+e.SNG_ID,isTrackExplicit:t,artistID:el(e,"artist.id","ART_ID"),artistName:el(e,"artist.name","ART_NAME"),albumID:el(e,"album.id","ALB_ID"),albumTitle:el(e,"album.title","ALB_TITLE"),albumPicture:el(e,"album.cover_small")||`https://e-cdns-images.dzcdn.net/images/cover/${e.ALB_PICTURE}/32x32-000000-80-0-0.jpg`}}function th(e){let t=el(e,"explicit_lyrics","EXPLICIT_ALBUM_CONTENT.EXPLICIT_LYRICS_STATUS");return"number"==typeof t&&(t=1===t),{albumID:el(e,"id","ALB_ID"),albumTitle:el(e,"title","ALB_TITLE"),albumCoverMedium:el(e,"cover_medium")||`https://e-cdns-images.dzcdn.net/images/cover/${e.ALB_PICTURE}/156x156-000000-80-0-0.jpg`,albumLink:el(e,"link")||"https://deezer.com/album/"+e.ALB_ID,albumTracks:el(e,"nb_tracks","NUMBER_TRACK"),isAlbumExplicit:t,artistName:el(e,"artist.name","ART_NAME")}}function ah(e){return{artistID:el(e,"id","ART_ID"),artistName:el(e,"name","ART_NAME"),artistPictureMedium:el(e,"picture_medium")||`https://e-cdns-images.dzcdn.net/images/artist/${e.ART_PICTURE}/156x156-000000-80-0-0.jpg`,artistLink:el(e,"link")||"https://deezer.com/artist/"+e.ART_ID,artistAlbumsNumber:el(e,"nb_album","NB_FAN")}}function nh(e){return{playlistID:el(e,"id","PLAYLIST_ID"),playlistTitle:el(e,"title","TITLE"),playlistPictureMedium:el(e,"picture_medium")||`https://e-cdns-images.dzcdn.net/images/${e.PICTURE_TYPE}/${e.PLAYLIST_PICTURE}/156x156-000000-80-0-0.jpg`,playlistLink:el(e,"link")||"https://deezer.com/playlist/"+e.PLAYLIST_ID,playlistTracksNumber:el(e,"nb_tracks","NB_SONG"),artistName:el(e,"user.name")}}var ih=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="ResultsTracks.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[e.isLoading?a("BaseLoadingPlaceholder"):[0===e.viewInfo.data.length?a("div",[a("h1",[e._v(e._s(e.$t("search.noResultsTrack")))])]):a("table",{staticClass:"table w-full table--tracks"},[e.wantHeaders?a("thead",[a("tr",{staticClass:"capitalize"},[a("th",{staticClass:"h-12 pb-3",attrs:{colspan:"2"}},[e._v(e._s(e.$tc("globals.listTabs.title",1)))]),e._v(" "),a("th",{staticClass:"h-12 pb-3"},[e._v(e._s(e.$tc("globals.listTabs.artist",1)))]),e._v(" "),a("th",{staticClass:"h-12 pb-3"},[e._v(e._s(e.$tc("globals.listTabs.album",1)))]),e._v(" "),a("th",{staticClass:"h-12 pb-3"},[a("i",{staticClass:"material-icons"},[e._v("timer")])]),e._v(" "),a("th",{staticClass:"h-12 pb-3",staticStyle:{width:"3.5rem"}})])]):e._e(),e._v(" "),a("tbody",e._l(e.viewInfo.data.slice(0,e.itemsToShow),(function(t){return a("tr",{key:t.trackLink},[a("td",{staticClass:"table__icon table__icon--big"},[a("span",{staticClass:"relative inline-block rounded cursor-pointer",attrs:{"data-preview":t.trackPreview},on:{click:function(t){return e.playPausePreview(t)}}},[t.trackPreview?a("PreviewControls"):e._e(),e._v(" "),a("img",{staticClass:"rounded coverart",attrs:{src:t.albumPicture}})],1)]),e._v(" "),a("td",{staticClass:"table__cell table__cell--large"},[a("div",{staticClass:"break-words table__cell-content table__cell-content--vertical-center"},[t.isTrackExplicit?a("i",{staticClass:"material-icons explicit-icon"},[e._v("explicit")]):e._e(),e._v("\n\t\t\t\t\t\t\t"+e._s(e.formatTitle(t))+"\n\t\t\t\t\t\t")])]),e._v(" "),a("router-link",{staticClass:"break-words table__cell table__cell--medium table__cell--center",attrs:{tag:"td",to:{name:"Artist",params:{id:t.artistID}}}},[a("span",{staticClass:"cursor-pointer hover:underline"},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.artistName)+"\n\t\t\t\t\t\t")])]),e._v(" "),a("router-link",{staticClass:"break-words table__cell table__cell--medium table__cell--center",attrs:{tag:"td",to:{name:"Album",params:{id:t.albumID}}}},[a("span",{staticClass:"cursor-pointer hover:underline"},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.albumTitle)+"\n\t\t\t\t\t\t")])]),e._v(" "),a("td",{staticClass:"table__cell table__cell--small table__cell--center"},[e._v("\n\t\t\t\t\t\t"+e._s(e.convertDuration(t.trackDuration))+"\n\t\t\t\t\t")]),e._v(" "),a("td",{staticClass:"cursor-pointer table__cell--center group",attrs:{"data-link":t.trackLink,"aria-label":"download"},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[a("i",{staticClass:"transition-colors duration-150 ease-in-out material-icons group-hover:text-primary",attrs:{title:e.$t("globals.download_hint")}},[e._v("\n\t\t\t\t\t\t\tget_app\n\t\t\t\t\t\t")])])],1)})),0)])]],2)},staticRenderFns:[]},0,{components:{BaseLoadingPlaceholder:Ho,PreviewControls:Im},props:{viewInfo:{validator:function(e){let t=Object.is(e,null),a="[object Object]"===Object.prototype.toString.call(e);return t||a},required:!0},itemsToShow:{type:Number,required:!1},wantHeaders:{type:Boolean,required:!1,default:!1}},computed:{isLoading(){return!this.viewInfo||!this.viewInfo.hasLoaded}},methods:{convertDuration:Qo,formatTitle:function(e){const t=e.trackTitleVersion&&-1===e.trackTitle.indexOf(e.trackTitleVersion);return`${e.trackTitle}${t?" "+e.trackTitleVersion:""}`},playPausePreview(e){il.$emit("trackPreview:playPausePreview",e)}}},undefined,!1);var rh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="ResultsAlbums.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[e.isLoading?a("BaseLoadingPlaceholder"):[0===e.viewInfo.data.length?a("div",[a("h1",[e._v(e._s(e.$t("search.noResultsAlbum")))])]):a("div",{staticClass:"release-grid"},e._l(e.viewInfo.data.slice(0,e.itemsToShow),(function(t){return a("div",{key:t.albumID,staticClass:"w-40 release"},[a("router-link",{staticClass:"cursor-pointer",attrs:{tag:"div",to:{name:"Album",params:{id:t.albumID}}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.albumCoverMedium,link:t.albumLink},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}}),e._v(" "),a("span",{staticClass:"primary-text"},[t.isAlbumExplicit?a("i",{staticClass:"material-icons explicit-icon",staticStyle:{"font-size":"1.0625rem !important"}},[e._v("\n\t\t\t\t\t\t\texplicit\n\t\t\t\t\t\t")]):e._e(),e._v("\n\t\t\t\t\t\t"+e._s(t.albumTitle)+"\n\t\t\t\t\t")])],1),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.artistName})+" - "+e.$tc("globals.listTabs.trackN",t.albumTracks))+"\n\t\t\t\t")])],1)})),0)]],2)},staticRenderFns:[]},0,{components:{BaseLoadingPlaceholder:Ho,CoverContainer:qm},props:{viewInfo:{validator:function(e){let t=Object.is(e,null),a="[object Object]"===Object.prototype.toString.call(e);return t||a},required:!0},itemsToShow:{type:Number,required:!1},wantHeaders:{type:Boolean,required:!1,default:!1}},computed:{isLoading(){return!this.viewInfo||!this.viewInfo.hasLoaded}}},undefined,!1);var sh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="ResultsArtists.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[e.isLoading?a("BaseLoadingPlaceholder"):[0===e.viewInfo.data.length?a("div",[a("h1",[e._v(e._s(e.$t("search.noResultsArtist")))])]):a("div",{staticClass:"release-grid"},e._l(e.viewInfo.data.slice(0,e.itemsToShow),(function(t){return a("div",{key:t.artistID,staticClass:"w-40 release"},[a("router-link",{staticClass:"cursor-pointer",attrs:{tag:"div",to:{name:"Artist",params:{id:t.artistID}}}},[a("CoverContainer",{attrs:{"is-circle":"",cover:t.artistPictureMedium,link:t.artistLink},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}}),e._v(" "),a("span",{staticClass:"primary-text"},[e._v("\n\t\t\t\t\t\t"+e._s(t.artistName)+"\n\t\t\t\t\t")])],1)],1)})),0)]],2)},staticRenderFns:[]},0,{components:{BaseLoadingPlaceholder:Ho,CoverContainer:qm},props:{viewInfo:{validator:function(e){let t=Object.is(e,null),a="[object Object]"===Object.prototype.toString.call(e);return t||a},required:!0},itemsToShow:{type:Number,required:!1},wantHeaders:{type:Boolean,required:!1,default:!1}},computed:{isLoading(){return!this.viewInfo||!this.viewInfo.hasLoaded}}},undefined,!1);var oh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="ResultsPlaylists.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[e.isLoading?a("BaseLoadingPlaceholder"):[0===e.viewInfo.data.length?a("div",[a("h1",[e._v(e._s(e.$t("search.noResultsPlaylist")))])]):a("div",{staticClass:"release-grid"},e._l(e.viewInfo.data.slice(0,e.itemsToShow),(function(t){return a("div",{key:t.playlistID,staticClass:"w-40 release"},[a("router-link",{staticClass:"cursor-pointer",attrs:{tag:"div",to:{name:"Playlist",params:{id:t.playlistID}}}},[a("CoverContainer",{attrs:{"is-rounded":"",cover:t.playlistPictureMedium,link:t.playlistLink},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}}),e._v(" "),a("span",{staticClass:"primary-text"},[e._v("\n\t\t\t\t\t\t"+e._s(t.playlistTitle)+"\n\t\t\t\t\t")])],1),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.artistName})+" - "+e.$tc("globals.listTabs.trackN",t.playlistTracksNumber))+"\n\t\t\t\t")])],1)})),0)]],2)},staticRenderFns:[]},0,{components:{BaseLoadingPlaceholder:Ho,CoverContainer:qm},props:{viewInfo:{validator:function(e){let t=Object.is(e,null),a="[object Object]"===Object.prototype.toString.call(e);return t||a},required:!0},itemsToShow:{type:Number,required:!1},wantHeaders:{type:Boolean,required:!1,default:!1}},computed:{isLoading(){return!this.viewInfo||!this.viewInfo.hasLoaded}}},undefined,!1);var lh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="ResultsAll.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[e.thereAreResults?e._l(e.viewInfo.ORDER,(function(t){return a("section",{key:t,staticClass:"float-none py-5 border-t border-grayscale-500 first:border-t-0"},[e.checkSectionResults(t)?[a("h2",{staticClass:"mb-6 capitalize",class:{"text-4xl text-center":"TOP_RESULT"===t,"inline-block cursor-pointer text-3xl hover:text-primary transition-colors duration-200 ease-in-out":"TOP_RESULT"!==t},on:{click:function(a){return e.$emit("change-search-tab",t)}}},[e._v("\n\t\t\t\t\t"+e._s(e.$tc("globals.listTabs."+t.toLowerCase(),2))+"\n\t\t\t\t")]),e._v(" "),"TOP_RESULT"===t?a("TopResult",{attrs:{info:e.viewInfo.TOP_RESULT[0]},on:{"add-to-queue":function(t){return e.$emit("add-to-queue",t)}}}):"TRACK"===t?a("ResultsTracks",{attrs:{viewInfo:e.formatSearchResults(e.viewInfo.TRACK,e.formatSingleTrack),itemsToShow:6},on:{"add-to-queue":function(t){return e.$emit("add-to-queue",t)}}}):"ALBUM"==t?a("ResultsAlbums",{attrs:{viewInfo:e.formatSearchResults(e.viewInfo.ALBUM,e.formatAlbums),itemsToShow:6},on:{"add-to-queue":function(t){return e.$emit("add-to-queue",t)}}}):"PLAYLIST"==t?a("ResultsPlaylists",{attrs:{viewInfo:e.formatSearchResults(e.viewInfo.PLAYLIST,e.formatPlaylist),itemsToShow:6},on:{"add-to-queue":function(t){return e.$emit("add-to-queue",t)}}}):"ARTIST"===t?a("ResultsArtists",{attrs:{viewInfo:e.formatSearchResults(e.viewInfo.ARTIST,e.formatArtist),itemsToShow:6},on:{"add-to-queue":function(t){return e.$emit("add-to-queue",t)}}}):e._e()]:e._e()],2)})):a("div",[a("h1",[e._v(e._s(e.$t("search.noResults")))])])],2)},staticRenderFns:[]},0,{components:{TopResult:Zm,ResultsTracks:ih,ResultsAlbums:rh,ResultsArtists:sh,ResultsPlaylists:oh},props:{viewInfo:{type:Object,required:!1}},computed:{thereAreResults(){return!!this.viewInfo&&!this.viewInfo.ORDER.every((e=>"TOP_RESULT"===e?0===this.viewInfo[e].length:0===this.viewInfo[e].data.length))}},methods:{convertDuration:Qo,upperCaseFirstLowerCaseRest:Jm,formatSearchResults:Xm,formatSingleTrack:eh,formatAlbums:th,formatArtist:ah,formatPlaylist:nh,checkSectionResults(e){return"TOP_RESULT"===e?!!this.viewInfo.TOP_RESULT[0]:!!this.viewInfo[e].data[0]}}},undefined,!1);const ch={data:[],next:0,total:0,hasLoaded:!1};var dh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="Search.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"search_tab"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:!e.showSearchTab,expression:"!showSearchTab"}]},[a("h2",[e._v(e._s(e.$t("search.startSearching")))]),e._v(" "),a("p",[e._v(e._s(e.$t("search.description")))])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.showSearchTab,expression:"showSearchTab"}]},[a("ul",{staticClass:"section-tabs"},e._l(e.tabs,(function(t){return a("li",{key:t.name,staticClass:"section-tabs__tab",class:{active:e.currentTab.name===t.name},on:{click:function(a){e.currentTab=t}}},[e._v("\n\t\t\t\t"+e._s(t.name)+"\n\t\t\t")])})),0),e._v(" "),a("keep-alive",[a(e.currentTab.component,{tag:"component",attrs:{viewInfo:e.getViewInfo(),"want-headers":""},on:{"add-to-queue":e.addToQueue,"change-search-tab":e.changeSearchTab}})],1)],1)])},staticRenderFns:[]},0,{components:{BaseLoadingPlaceholder:Ho},props:{performScrolledSearch:{type:Boolean,required:!1}},data(){const e=this.$t.bind(this),t=this.$tc.bind(this);return{currentTab:{name:"",searchType:"",component:{},viewInfo:"",formatFunc:()=>{}},tabs:[{name:e("globals.listTabs.all"),searchType:"all",component:lh,viewInfo:"allTab"},{name:t("globals.listTabs.track",2),searchType:"track",component:ih,viewInfo:"trackTab",formatFunc:eh},{name:t("globals.listTabs.album",2),searchType:"album",component:rh,viewInfo:"albumTab",formatFunc:th},{name:t("globals.listTabs.artist",2),searchType:"artist",component:sh,viewInfo:"artistTab",formatFunc:ah},{name:t("globals.listTabs.playlist",2),searchType:"playlist",component:oh,viewInfo:"playlistTab",formatFunc:nh}],results:{query:"",allTab:{ORDER:[],TOP_RESULT:[],ALBUM:{hasLoaded:!1},ARTIST:{hasLoaded:!1},TRACK:{hasLoaded:!1},PLAYLIST:{hasLoaded:!1}},trackTab:{...ch},albumTab:{...ch},artistTab:{...ch},playlistTab:{...ch}}}},computed:{showSearchTab(){return""!==this.results.query},loadedTabs(){const e=[];for(const t in this.results)if(this.results.hasOwnProperty(t)){this.results[t].hasLoaded&&e.push(t.replace(/Tab/g,""))}return e}},created(){this.currentTab=this.tabs[0]},mounted(){this.$root.$on("mainSearch:showNewResults",this.checkIfPerformNewMainSearch),this.$root.$on("mainSearch:updateResults",this.checkIfUpdateResults),Go.on("mainSearch",this.saveMainSearchResult),Go.on("search",this.handleSearch)},methods:{numberWithDots:Jo,convertDuration:Qo,addToQueue(e){Wo(e.currentTarget.dataset.link)},getViewInfo(){return"all"===this.currentTab.searchType?this.results.allTab:Xm(this.results[this.currentTab.viewInfo],this.currentTab.formatFunc)},changeSearchTab(e){e=e.toLowerCase();const t=this.tabs.find((t=>t.searchType===e));t?(window.scrollTo(0,0),this.currentTab=t):console.error(`No tab ${e} found`)},checkIfPerformNewMainSearch(e){e!==this.results.query&&this.performNewMainSearch(e)},performNewMainSearch(e){Go.emit("mainSearch",{term:e}),this.$root.$emit("updateSearchLoadingState",!0),this.currentTab=this.tabs[0]},checkIfUpdateResults(e){e===this.results.query&&"all"!==this.currentTab.searchType&&(this.results[this.currentTab.searchType+"Tab"]={...ch},this.search(this.currentTab.searchType))},search(e){Go.emit("search",{term:this.results.query,type:e,start:this.results[e+"Tab"].next,nb:30})},scrolledSearch(){if("all"===this.currentTab.searchType)return;const e=this.currentTab.searchType+"Tab";this.results[e].next{Go.on("init_settings",((t,a,n)=>{uh=t,ph=n,mh=a,Go.off("init_settings"),e({settingsData:uh,defaultSettingsData:ph,spotifyCredentials:mh})}))}))}const fh={it:'\n \n \n \n \n \n',en:'\n \n \n \n \n \n',es:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',de:'\n \n \n \n',fr:'\n \n \n \n \n \n',id:'\n \n \n \n \n',pt:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',pt_br:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',ru:'\n \n \n \n \n \n',tr:'\n \n \n \n \n \n \n',vn:'\n \n \n \n \n \n \n \n \n \n',hr:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',ar:'\n\n \n \n \n image/svg+xml\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',ko:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',ph:'\n \n \n \n \n \n \n \n',zh_tw:'\n \n \n \n \n \n \n \n \n \n \n \n \n',pl:'\n \n \n \n \n'};var gh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="Settings.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"fixed-footer"},[a("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("settings.title")))]),e._v(" "),e.isLoggedIn?a("div",{ref:"loggedInInfo",attrs:{id:"logged_in_info"}},[a("img",{ref:"userpicture",staticClass:"w-32 h-32 rounded-full",attrs:{id:"settings_picture",src:e.pictureHref,alt:"Profile Picture"}}),e._v(" "),a("i18n",{attrs:{path:"settings.login.loggedIn",tag:"p"}},[a("strong",{ref:"username",attrs:{place:"username",id:"settings_username"}},[e._v(e._s(e.user.name||"not logged"))])]),e._v(" "),a("button",{staticClass:"btn btn-primary",on:{click:e.logout}},[e._v("\n\t\t\t"+e._s(e.$t("settings.login.logout"))+"\n\t\t")]),e._v(" "),e.accounts.length?a("select",{directives:[{name:"model",rawName:"v-model",value:e.accountNum,expression:"accountNum"}],attrs:{id:"family_account"},on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.accountNum=t.target.multiple?a:a[0]},e.changeAccount]}},e._l(e.accounts,(function(t,n){return a("option",{key:t,domProps:{value:n.toString()}},[e._v("\n\t\t\t\t"+e._s(t.BLOG_NAME)+"\n\t\t\t")])})),0):e._e()],1):e._e(),e._v(" "),a("div",{staticClass:"settings-group"},[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("person")]),e._v(e._s(e.$t("settings.login.title")))]),e._v(" "),a("div",{staticClass:"my-5 space-y-5"},[a("div",{staticClass:"flex items-center"},[a("input",{ref:"loginInput",attrs:{autocomplete:"off",type:"password",id:"login_input_arl",placeholder:"ARL"},domProps:{value:e.arl}}),e._v(" "),a("button",{staticClass:"ml-2 btn btn-primary btn-only-icon",on:{click:e.copyARLtoClipboard}},[a("i",{staticClass:"material-icons"},[e._v("assignment")])])]),e._v(" "),a("RouterLink",{attrs:{to:{name:"ARL"}}},[e._v("\n\t\t\t\t"+e._s(e.$t("settings.login.arl.question"))+"\n\t\t\t")]),e._v(" "),e.clientMode?a("a",{attrs:{href:"#"},on:{click:e.appLogin}},[e._v("\n\t\t\t\t"+e._s(e.$t("settings.login.login"))+"\n\t\t\t")]):e._e(),e._v(" "),a("button",{staticClass:"btn btn-primary",staticStyle:{width:"100%"},on:{click:e.login}},[e._v("\n\t\t\t\t"+e._s(e.$t("settings.login.arl.update"))+"\n\t\t\t")])],1)]),e._v(" "),a("div",{staticClass:"settings-group"},[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("language")]),e._v(e._s(e.$t("settings.languages")))]),e._v(" "),a("div",{staticClass:"my-5"},e._l(e.locales,(function(t){return a("span",{key:t,staticClass:"inline-flex items-center locale-flag",class:{"locale-flag--current":e.currentLocale===t},attrs:{title:t},domProps:{innerHTML:e._s(e.flags[t])},on:{click:function(a){return e.changeLocale(t)}}})})),0)]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("web")]),e._v("\n\t\t\t\t"+e._s(e.$t("settings.appearance.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.changeSlimDownloads,expression:"changeSlimDownloads"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.changeSlimDownloads)?e._i(e.changeSlimDownloads,null)>-1:e.changeSlimDownloads},on:{change:function(t){var a=e.changeSlimDownloads,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&(e.changeSlimDownloads=a.concat([null])):r>-1&&(e.changeSlimDownloads=a.slice(0,r).concat(a.slice(r+1)))}else e.changeSlimDownloads=i}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.appearance.slimDownloadTab")))])]),e._v(" "),a("label",{staticClass:"mb-4 with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.changeSlimSidebar,expression:"changeSlimSidebar"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.changeSlimSidebar)?e._i(e.changeSlimSidebar,null)>-1:e.changeSlimSidebar},on:{change:function(t){var a=e.changeSlimSidebar,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&(e.changeSlimSidebar=a.concat([null])):r>-1&&(e.changeSlimSidebar=a.slice(0,r).concat(a.slice(r+1)))}else e.changeSlimSidebar=i}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.appearance.slimSidebar")))])])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("folder")]),e._v(e._s(e.$t("settings.downloadPath.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("div",{staticClass:"flex items-center"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.downloadLocation,expression:"settings.downloadLocation"}],attrs:{autocomplete:"off",type:"text"},domProps:{value:e.settings.downloadLocation},on:{input:function(t){t.target.composing||e.$set(e.settings,"downloadLocation",t.target.value)}}}),e._v(" "),e.clientMode?a("button",{staticClass:"ml-2 btn btn-primary btn-only-icon",on:{click:e.selectDownloadFolder}},[a("i",{staticClass:"material-icons"},[e._v("folder")])]):e._e()])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("font_download")]),e._v(e._s(e.$t("settings.templates.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("p",[e._v(e._s(e.$t("settings.templates.tracknameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tracknameTemplate,expression:"settings.tracknameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.tracknameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"tracknameTemplate",t.target.value)}}}),e._v(" "),a("p",[e._v(e._s(e.$t("settings.templates.albumTracknameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.albumTracknameTemplate,expression:"settings.albumTracknameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.albumTracknameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"albumTracknameTemplate",t.target.value)}}}),e._v(" "),a("p",[e._v(e._s(e.$t("settings.templates.playlistTracknameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.playlistTracknameTemplate,expression:"settings.playlistTracknameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.playlistTracknameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"playlistTracknameTemplate",t.target.value)}}})]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("create_new_folder")]),e._v(e._s(e.$t("settings.folders.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("div",{staticClass:"settings-container"},[a("div",{staticClass:"settings-container__third"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createPlaylistFolder,expression:"settings.createPlaylistFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createPlaylistFolder)?e._i(e.settings.createPlaylistFolder,null)>-1:e.settings.createPlaylistFolder},on:{change:function(t){var a=e.settings.createPlaylistFolder,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createPlaylistFolder",a.concat([null])):r>-1&&e.$set(e.settings,"createPlaylistFolder",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createPlaylistFolder",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.folders.createPlaylistFolder")))])]),e._v(" "),e.settings.createPlaylistFolder?a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.folders.playlistNameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.playlistNameTemplate,expression:"settings.playlistNameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.playlistNameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"playlistNameTemplate",t.target.value)}}})]):e._e()]),e._v(" "),a("div",{staticClass:"settings-container__third"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createArtistFolder,expression:"settings.createArtistFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createArtistFolder)?e._i(e.settings.createArtistFolder,null)>-1:e.settings.createArtistFolder},on:{change:function(t){var a=e.settings.createArtistFolder,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createArtistFolder",a.concat([null])):r>-1&&e.$set(e.settings,"createArtistFolder",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createArtistFolder",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.folders.createArtistFolder")))])]),e._v(" "),e.settings.createArtistFolder?a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.folders.artistNameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.artistNameTemplate,expression:"settings.artistNameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.artistNameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"artistNameTemplate",t.target.value)}}})]):e._e()]),e._v(" "),a("div",{staticClass:"settings-container__third"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createAlbumFolder,expression:"settings.createAlbumFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createAlbumFolder)?e._i(e.settings.createAlbumFolder,null)>-1:e.settings.createAlbumFolder},on:{change:function(t){var a=e.settings.createAlbumFolder,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createAlbumFolder",a.concat([null])):r>-1&&e.$set(e.settings,"createAlbumFolder",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createAlbumFolder",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.folders.createAlbumFolder")))])]),e._v(" "),e.settings.createAlbumFolder?a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.folders.albumNameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.albumNameTemplate,expression:"settings.albumNameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.albumNameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"albumNameTemplate",t.target.value)}}})]):e._e()])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createCDFolder,expression:"settings.createCDFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createCDFolder)?e._i(e.settings.createCDFolder,null)>-1:e.settings.createCDFolder},on:{change:function(t){var a=e.settings.createCDFolder,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createCDFolder",a.concat([null])):r>-1&&e.$set(e.settings,"createCDFolder",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createCDFolder",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.folders.createCDFolder")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createStructurePlaylist,expression:"settings.createStructurePlaylist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createStructurePlaylist)?e._i(e.settings.createStructurePlaylist,null)>-1:e.settings.createStructurePlaylist},on:{change:function(t){var a=e.settings.createStructurePlaylist,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createStructurePlaylist",a.concat([null])):r>-1&&e.$set(e.settings,"createStructurePlaylist",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createStructurePlaylist",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.folders.createStructurePlaylist")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createSingleFolder,expression:"settings.createSingleFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createSingleFolder)?e._i(e.settings.createSingleFolder,null)>-1:e.settings.createSingleFolder},on:{change:function(t){var a=e.settings.createSingleFolder,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createSingleFolder",a.concat([null])):r>-1&&e.$set(e.settings,"createSingleFolder",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createSingleFolder",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.folders.createSingleFolder")))])])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("title")]),e._v(e._s(e.$t("settings.trackTitles.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("div",{staticClass:"settings-container"},[a("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.padTracks,expression:"settings.padTracks"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.padTracks)?e._i(e.settings.padTracks,null)>-1:e.settings.padTracks},on:{change:function(t){var a=e.settings.padTracks,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"padTracks",a.concat([null])):r>-1&&e.$set(e.settings,"padTracks",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"padTracks",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.trackTitles.padTracks")))])])]),e._v(" "),a("div",{staticClass:"settings-container__third"},[a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.trackTitles.paddingSize")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.paddingSize,expression:"settings.paddingSize"}],attrs:{max:"10",type:"number"},domProps:{value:e.settings.paddingSize},on:{input:function(t){t.target.composing||e.$set(e.settings,"paddingSize",t.target.value)}}})])]),e._v(" "),a("div",{staticClass:"settings-container__third"},[a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.trackTitles.illegalCharacterReplacer")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.illegalCharacterReplacer,expression:"settings.illegalCharacterReplacer"}],attrs:{type:"text"},domProps:{value:e.settings.illegalCharacterReplacer},on:{input:function(t){t.target.composing||e.$set(e.settings,"illegalCharacterReplacer",t.target.value)}}})])])])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("album")]),e._v(e._s(e.$t("settings.covers.title")))])]},proxy:!0}])},[e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.saveArtwork,expression:"settings.saveArtwork"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.saveArtwork)?e._i(e.settings.saveArtwork,null)>-1:e.settings.saveArtwork},on:{change:function(t){var a=e.settings.saveArtwork,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"saveArtwork",a.concat([null])):r>-1&&e.$set(e.settings,"saveArtwork",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"saveArtwork",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.covers.saveArtwork")))])]),e._v(" "),e.settings.saveArtwork?a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.covers.coverImageTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.coverImageTemplate,expression:"settings.coverImageTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.coverImageTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"coverImageTemplate",t.target.value)}}})]):e._e(),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.saveArtworkArtist,expression:"settings.saveArtworkArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.saveArtworkArtist)?e._i(e.settings.saveArtworkArtist,null)>-1:e.settings.saveArtworkArtist},on:{change:function(t){var a=e.settings.saveArtworkArtist,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"saveArtworkArtist",a.concat([null])):r>-1&&e.$set(e.settings,"saveArtworkArtist",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"saveArtworkArtist",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.covers.saveArtworkArtist")))])]),e._v(" "),e.settings.saveArtworkArtist?a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.covers.artistImageTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.artistImageTemplate,expression:"settings.artistImageTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.artistImageTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"artistImageTemplate",t.target.value)}}})]):e._e(),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.covers.localArtworkSize")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.localArtworkSize,expression:"settings.localArtworkSize",modifiers:{number:!0}}],attrs:{type:"number",min:"100",max:"10000",step:"100"},domProps:{value:e.settings.localArtworkSize},on:{input:function(t){t.target.composing||e.$set(e.settings,"localArtworkSize",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),e.settings.localArtworkSize>1200?a("p",{staticClass:"input-group-text",staticStyle:{opacity:"0.75",color:"#ffcc22"}},[e._v("\n\t\t\t\t⚠️ "+e._s(e.$t("settings.covers.imageSizeWarning"))+"\n\t\t\t")]):e._e()]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.covers.embeddedArtworkSize")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.embeddedArtworkSize,expression:"settings.embeddedArtworkSize",modifiers:{number:!0}}],attrs:{type:"number",min:"100",max:"10000",step:"100"},domProps:{value:e.settings.embeddedArtworkSize},on:{input:function(t){t.target.composing||e.$set(e.settings,"embeddedArtworkSize",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),e.settings.embeddedArtworkSize>1200?a("p",{staticClass:"input-group-text",staticStyle:{opacity:"0.75",color:"#ffcc22"}},[e._v("\n\t\t\t\t⚠️ "+e._s(e.$t("settings.covers.imageSizeWarning"))+"\n\t\t\t")]):e._e()]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.title")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.localArtworkFormat,expression:"settings.localArtworkFormat"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"localArtworkFormat",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"jpg"}},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.jpg")))]),e._v(" "),a("option",{attrs:{value:"png"}},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.png")))]),e._v(" "),a("option",{attrs:{value:"jpg,png"}},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.both")))])])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.embeddedArtworkPNG,expression:"settings.embeddedArtworkPNG"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.embeddedArtworkPNG)?e._i(e.settings.embeddedArtworkPNG,null)>-1:e.settings.embeddedArtworkPNG},on:{change:function(t){var a=e.settings.embeddedArtworkPNG,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"embeddedArtworkPNG",a.concat([null])):r>-1&&e.$set(e.settings,"embeddedArtworkPNG",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"embeddedArtworkPNG",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.covers.embeddedArtworkPNG")))])]),e._v(" "),e.settings.embeddedArtworkPNG?a("p",{staticStyle:{opacity:"0.75",color:"#ffcc22"}},[e._v("\n\t\t\t⚠️ "+e._s(e.$t("settings.covers.embeddedPNGWarning"))+"\n\t\t")]):e._e(),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.coverDescriptionUTF8,expression:"settings.tags.coverDescriptionUTF8"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.coverDescriptionUTF8)?e._i(e.settings.tags.coverDescriptionUTF8,null)>-1:e.settings.tags.coverDescriptionUTF8},on:{change:function(t){var a=e.settings.tags.coverDescriptionUTF8,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"coverDescriptionUTF8",a.concat([null])):r>-1&&e.$set(e.settings.tags,"coverDescriptionUTF8",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"coverDescriptionUTF8",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.covers.coverDescriptionUTF8")))])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.covers.jpegImageQuality")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.jpegImageQuality,expression:"settings.jpegImageQuality",modifiers:{number:!0}}],attrs:{type:"number",min:"1",max:"100"},domProps:{value:e.settings.jpegImageQuality},on:{input:function(t){t.target.composing||e.$set(e.settings,"jpegImageQuality",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}})])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons",staticStyle:{width:"1em",height:"1em"}},[e._v("bookmarks")]),e._v(e._s(e.$t("settings.tags.head"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("div",{staticClass:"settings-container"},[a("div",{staticClass:"settings-container__half"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.title,expression:"settings.tags.title"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.title)?e._i(e.settings.tags.title,null)>-1:e.settings.tags.title},on:{change:function(t){var a=e.settings.tags.title,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"title",a.concat([null])):r>-1&&e.$set(e.settings.tags,"title",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"title",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.title")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.artist,expression:"settings.tags.artist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.artist)?e._i(e.settings.tags.artist,null)>-1:e.settings.tags.artist},on:{change:function(t){var a=e.settings.tags.artist,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"artist",a.concat([null])):r>-1&&e.$set(e.settings.tags,"artist",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"artist",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.artist")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.album,expression:"settings.tags.album"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.album)?e._i(e.settings.tags.album,null)>-1:e.settings.tags.album},on:{change:function(t){var a=e.settings.tags.album,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"album",a.concat([null])):r>-1&&e.$set(e.settings.tags,"album",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"album",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.album")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.cover,expression:"settings.tags.cover"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.cover)?e._i(e.settings.tags.cover,null)>-1:e.settings.tags.cover},on:{change:function(t){var a=e.settings.tags.cover,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"cover",a.concat([null])):r>-1&&e.$set(e.settings.tags,"cover",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"cover",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.cover")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.trackNumber,expression:"settings.tags.trackNumber"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.trackNumber)?e._i(e.settings.tags.trackNumber,null)>-1:e.settings.tags.trackNumber},on:{change:function(t){var a=e.settings.tags.trackNumber,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"trackNumber",a.concat([null])):r>-1&&e.$set(e.settings.tags,"trackNumber",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"trackNumber",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.trackNumber")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.trackTotal,expression:"settings.tags.trackTotal"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.trackTotal)?e._i(e.settings.tags.trackTotal,null)>-1:e.settings.tags.trackTotal},on:{change:function(t){var a=e.settings.tags.trackTotal,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"trackTotal",a.concat([null])):r>-1&&e.$set(e.settings.tags,"trackTotal",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"trackTotal",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.trackTotal")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.discNumber,expression:"settings.tags.discNumber"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.discNumber)?e._i(e.settings.tags.discNumber,null)>-1:e.settings.tags.discNumber},on:{change:function(t){var a=e.settings.tags.discNumber,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"discNumber",a.concat([null])):r>-1&&e.$set(e.settings.tags,"discNumber",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"discNumber",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.discNumber")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.discTotal,expression:"settings.tags.discTotal"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.discTotal)?e._i(e.settings.tags.discTotal,null)>-1:e.settings.tags.discTotal},on:{change:function(t){var a=e.settings.tags.discTotal,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"discTotal",a.concat([null])):r>-1&&e.$set(e.settings.tags,"discTotal",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"discTotal",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.discTotal")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.albumArtist,expression:"settings.tags.albumArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.albumArtist)?e._i(e.settings.tags.albumArtist,null)>-1:e.settings.tags.albumArtist},on:{change:function(t){var a=e.settings.tags.albumArtist,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"albumArtist",a.concat([null])):r>-1&&e.$set(e.settings.tags,"albumArtist",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"albumArtist",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.albumArtist")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.genre,expression:"settings.tags.genre"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.genre)?e._i(e.settings.tags.genre,null)>-1:e.settings.tags.genre},on:{change:function(t){var a=e.settings.tags.genre,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"genre",a.concat([null])):r>-1&&e.$set(e.settings.tags,"genre",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"genre",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.genre")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.year,expression:"settings.tags.year"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.year)?e._i(e.settings.tags.year,null)>-1:e.settings.tags.year},on:{change:function(t){var a=e.settings.tags.year,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"year",a.concat([null])):r>-1&&e.$set(e.settings.tags,"year",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"year",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.year")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.date,expression:"settings.tags.date"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.date)?e._i(e.settings.tags.date,null)>-1:e.settings.tags.date},on:{change:function(t){var a=e.settings.tags.date,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"date",a.concat([null])):r>-1&&e.$set(e.settings.tags,"date",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"date",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.date")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.explicit,expression:"settings.tags.explicit"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.explicit)?e._i(e.settings.tags.explicit,null)>-1:e.settings.tags.explicit},on:{change:function(t){var a=e.settings.tags.explicit,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"explicit",a.concat([null])):r>-1&&e.$set(e.settings.tags,"explicit",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"explicit",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.explicit")))])])]),e._v(" "),a("div",{staticClass:"settings-container__half"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.isrc,expression:"settings.tags.isrc"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.isrc)?e._i(e.settings.tags.isrc,null)>-1:e.settings.tags.isrc},on:{change:function(t){var a=e.settings.tags.isrc,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"isrc",a.concat([null])):r>-1&&e.$set(e.settings.tags,"isrc",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"isrc",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.isrc")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.length,expression:"settings.tags.length"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.length)?e._i(e.settings.tags.length,null)>-1:e.settings.tags.length},on:{change:function(t){var a=e.settings.tags.length,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"length",a.concat([null])):r>-1&&e.$set(e.settings.tags,"length",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"length",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.length")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.barcode,expression:"settings.tags.barcode"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.barcode)?e._i(e.settings.tags.barcode,null)>-1:e.settings.tags.barcode},on:{change:function(t){var a=e.settings.tags.barcode,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"barcode",a.concat([null])):r>-1&&e.$set(e.settings.tags,"barcode",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"barcode",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.barcode")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.bpm,expression:"settings.tags.bpm"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.bpm)?e._i(e.settings.tags.bpm,null)>-1:e.settings.tags.bpm},on:{change:function(t){var a=e.settings.tags.bpm,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"bpm",a.concat([null])):r>-1&&e.$set(e.settings.tags,"bpm",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"bpm",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.bpm")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.replayGain,expression:"settings.tags.replayGain"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.replayGain)?e._i(e.settings.tags.replayGain,null)>-1:e.settings.tags.replayGain},on:{change:function(t){var a=e.settings.tags.replayGain,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"replayGain",a.concat([null])):r>-1&&e.$set(e.settings.tags,"replayGain",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"replayGain",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.replayGain")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.label,expression:"settings.tags.label"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.label)?e._i(e.settings.tags.label,null)>-1:e.settings.tags.label},on:{change:function(t){var a=e.settings.tags.label,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"label",a.concat([null])):r>-1&&e.$set(e.settings.tags,"label",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"label",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.label")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.lyrics,expression:"settings.tags.lyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.lyrics)?e._i(e.settings.tags.lyrics,null)>-1:e.settings.tags.lyrics},on:{change:function(t){var a=e.settings.tags.lyrics,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"lyrics",a.concat([null])):r>-1&&e.$set(e.settings.tags,"lyrics",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"lyrics",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.lyrics")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.syncedLyrics,expression:"settings.tags.syncedLyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.syncedLyrics)?e._i(e.settings.tags.syncedLyrics,null)>-1:e.settings.tags.syncedLyrics},on:{change:function(t){var a=e.settings.tags.syncedLyrics,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"syncedLyrics",a.concat([null])):r>-1&&e.$set(e.settings.tags,"syncedLyrics",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"syncedLyrics",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.syncedLyrics")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.copyright,expression:"settings.tags.copyright"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.copyright)?e._i(e.settings.tags.copyright,null)>-1:e.settings.tags.copyright},on:{change:function(t){var a=e.settings.tags.copyright,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"copyright",a.concat([null])):r>-1&&e.$set(e.settings.tags,"copyright",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"copyright",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.copyright")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.composer,expression:"settings.tags.composer"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.composer)?e._i(e.settings.tags.composer,null)>-1:e.settings.tags.composer},on:{change:function(t){var a=e.settings.tags.composer,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"composer",a.concat([null])):r>-1&&e.$set(e.settings.tags,"composer",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"composer",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.composer")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.involvedPeople,expression:"settings.tags.involvedPeople"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.involvedPeople)?e._i(e.settings.tags.involvedPeople,null)>-1:e.settings.tags.involvedPeople},on:{change:function(t){var a=e.settings.tags.involvedPeople,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"involvedPeople",a.concat([null])):r>-1&&e.$set(e.settings.tags,"involvedPeople",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"involvedPeople",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.involvedPeople")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.source,expression:"settings.tags.source"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.source)?e._i(e.settings.tags.source,null)>-1:e.settings.tags.source},on:{change:function(t){var a=e.settings.tags.source,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"source",a.concat([null])):r>-1&&e.$set(e.settings.tags,"source",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"source",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.tags.source")))])])])])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("get_app")]),e._v(e._s(e.$t("settings.downloads.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.downloads.queueConcurrency")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.queueConcurrency,expression:"settings.queueConcurrency",modifiers:{number:!0}}],attrs:{type:"number",min:"1"},domProps:{value:e.settings.queueConcurrency},on:{input:function(t){t.target.composing||e.$set(e.settings,"queueConcurrency",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.downloads.maxBitrate.title")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.maxBitrate,expression:"settings.maxBitrate"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"maxBitrate",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"9"}},[e._v(e._s(e.$t("settings.downloads.maxBitrate.9")))]),e._v(" "),a("option",{attrs:{value:"3"}},[e._v(e._s(e.$t("settings.downloads.maxBitrate.3")))]),e._v(" "),a("option",{attrs:{value:"1"}},[e._v(e._s(e.$t("settings.downloads.maxBitrate.1")))])])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.downloads.overwriteFile.title")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.overwriteFile,expression:"settings.overwriteFile"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"overwriteFile",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"y"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.y")))]),e._v(" "),a("option",{attrs:{value:"n"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.n")))]),e._v(" "),a("option",{attrs:{value:"e"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.e")))]),e._v(" "),a("option",{attrs:{value:"b"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.b")))]),e._v(" "),a("option",{attrs:{value:"t"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.t")))])])]),e._v(" "),a("div",{staticClass:"settings-container"},[a("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.fallbackBitrate,expression:"settings.fallbackBitrate"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.fallbackBitrate)?e._i(e.settings.fallbackBitrate,null)>-1:e.settings.fallbackBitrate},on:{change:function(t){var a=e.settings.fallbackBitrate,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"fallbackBitrate",a.concat([null])):r>-1&&e.$set(e.settings,"fallbackBitrate",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"fallbackBitrate",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.fallbackBitrate")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.fallbackSearch,expression:"settings.fallbackSearch"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.fallbackSearch)?e._i(e.settings.fallbackSearch,null)>-1:e.settings.fallbackSearch},on:{change:function(t){var a=e.settings.fallbackSearch,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"fallbackSearch",a.concat([null])):r>-1&&e.$set(e.settings,"fallbackSearch",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"fallbackSearch",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.fallbackSearch")))])])]),e._v(" "),a("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.logErrors,expression:"settings.logErrors"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.logErrors)?e._i(e.settings.logErrors,null)>-1:e.settings.logErrors},on:{change:function(t){var a=e.settings.logErrors,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"logErrors",a.concat([null])):r>-1&&e.$set(e.settings,"logErrors",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"logErrors",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.logErrors")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.logSearched,expression:"settings.logSearched"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.logSearched)?e._i(e.settings.logSearched,null)>-1:e.settings.logSearched},on:{change:function(t){var a=e.settings.logSearched,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"logSearched",a.concat([null])):r>-1&&e.$set(e.settings,"logSearched",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"logSearched",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.logSearched")))])])]),e._v(" "),a("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.syncedLyrics,expression:"settings.syncedLyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.syncedLyrics)?e._i(e.settings.syncedLyrics,null)>-1:e.settings.syncedLyrics},on:{change:function(t){var a=e.settings.syncedLyrics,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"syncedLyrics",a.concat([null])):r>-1&&e.$set(e.settings,"syncedLyrics",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"syncedLyrics",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.syncedLyrics")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createM3U8File,expression:"settings.createM3U8File"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createM3U8File)?e._i(e.settings.createM3U8File,null)>-1:e.settings.createM3U8File},on:{change:function(t){var a=e.settings.createM3U8File,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"createM3U8File",a.concat([null])):r>-1&&e.$set(e.settings,"createM3U8File",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"createM3U8File",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.createM3U8File")))])])])]),e._v(" "),e.settings.createM3U8File?a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.downloads.playlistFilenameTemplate")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.playlistFilenameTemplate,expression:"settings.playlistFilenameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.playlistFilenameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"playlistFilenameTemplate",t.target.value)}}})]):e._e(),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.saveDownloadQueue,expression:"settings.saveDownloadQueue"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.saveDownloadQueue)?e._i(e.settings.saveDownloadQueue,null)>-1:e.settings.saveDownloadQueue},on:{change:function(t){var a=e.settings.saveDownloadQueue,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"saveDownloadQueue",a.concat([null])):r>-1&&e.$set(e.settings,"saveDownloadQueue",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"saveDownloadQueue",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.saveDownloadQueue")))])])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("i",{staticClass:"material-icons"},[e._v("list")]),e._v(e._s(e.$t("settings.other.title")))])]},proxy:!0}])},[e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.savePlaylistAsCompilation,expression:"settings.tags.savePlaylistAsCompilation"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.savePlaylistAsCompilation)?e._i(e.settings.tags.savePlaylistAsCompilation,null)>-1:e.settings.tags.savePlaylistAsCompilation},on:{change:function(t){var a=e.settings.tags.savePlaylistAsCompilation,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"savePlaylistAsCompilation",a.concat([null])):r>-1&&e.$set(e.settings.tags,"savePlaylistAsCompilation",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"savePlaylistAsCompilation",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.savePlaylistAsCompilation")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.useNullSeparator,expression:"settings.tags.useNullSeparator"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.useNullSeparator)?e._i(e.settings.tags.useNullSeparator,null)>-1:e.settings.tags.useNullSeparator},on:{change:function(t){var a=e.settings.tags.useNullSeparator,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"useNullSeparator",a.concat([null])):r>-1&&e.$set(e.settings.tags,"useNullSeparator",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"useNullSeparator",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.useNullSeparator")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.saveID3v1,expression:"settings.tags.saveID3v1"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.saveID3v1)?e._i(e.settings.tags.saveID3v1,null)>-1:e.settings.tags.saveID3v1},on:{change:function(t){var a=e.settings.tags.saveID3v1,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"saveID3v1",a.concat([null])):r>-1&&e.$set(e.settings.tags,"saveID3v1",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"saveID3v1",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.saveID3v1")))])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.title")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.multiArtistSeparator,expression:"settings.tags.multiArtistSeparator"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings.tags,"multiArtistSeparator",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"nothing"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.nothing")))]),e._v(" "),a("option",{attrs:{value:"default"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.default")))]),e._v(" "),a("option",{attrs:{value:"andFeat"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.andFeat")))]),e._v(" "),a("option",{attrs:{value:" & "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:" & "})))]),e._v(" "),a("option",{attrs:{value:","}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:","})))]),e._v(" "),a("option",{attrs:{value:", "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:", "})))]),e._v(" "),a("option",{attrs:{value:"/"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:"/"})))]),e._v(" "),a("option",{attrs:{value:" / "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:" / "})))]),e._v(" "),a("option",{attrs:{value:";"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:";"})))]),e._v(" "),a("option",{attrs:{value:"; "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:"; "})))])])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.singleAlbumArtist,expression:"settings.tags.singleAlbumArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.singleAlbumArtist)?e._i(e.settings.tags.singleAlbumArtist,null)>-1:e.settings.tags.singleAlbumArtist},on:{change:function(t){var a=e.settings.tags.singleAlbumArtist,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings.tags,"singleAlbumArtist",a.concat([null])):r>-1&&e.$set(e.settings.tags,"singleAlbumArtist",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings.tags,"singleAlbumArtist",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.singleAlbumArtist")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.albumVariousArtists,expression:"settings.albumVariousArtists"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.albumVariousArtists)?e._i(e.settings.albumVariousArtists,null)>-1:e.settings.albumVariousArtists},on:{change:function(t){var a=e.settings.albumVariousArtists,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"albumVariousArtists",a.concat([null])):r>-1&&e.$set(e.settings,"albumVariousArtists",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"albumVariousArtists",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.albumVariousArtists")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.removeAlbumVersion,expression:"settings.removeAlbumVersion"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.removeAlbumVersion)?e._i(e.settings.removeAlbumVersion,null)>-1:e.settings.removeAlbumVersion},on:{change:function(t){var a=e.settings.removeAlbumVersion,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"removeAlbumVersion",a.concat([null])):r>-1&&e.$set(e.settings,"removeAlbumVersion",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"removeAlbumVersion",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.removeAlbumVersion")))])]),e._v(" "),a("label",{staticClass:"with-checkbox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.removeDuplicateArtists,expression:"settings.removeDuplicateArtists"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.removeDuplicateArtists)?e._i(e.settings.removeDuplicateArtists,null)>-1:e.settings.removeDuplicateArtists},on:{change:function(t){var a=e.settings.removeDuplicateArtists,n=t.target,i=!!n.checked;if(Array.isArray(a)){var r=e._i(a,null);n.checked?r<0&&e.$set(e.settings,"removeDuplicateArtists",a.concat([null])):r>-1&&e.$set(e.settings,"removeDuplicateArtists",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.settings,"removeDuplicateArtists",i)}}}),e._v(" "),a("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.other.removeDuplicateArtists")))])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.dateFormat.title")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.dateFormat,expression:"settings.dateFormat"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"dateFormat",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"Y-M-D"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.year")+"-"+e.$t("settings.other.dateFormat.month")+"-"+e.$t("settings.other.dateFormat.day"))+"\n\t\t\t\t")]),e._v(" "),a("option",{attrs:{value:"Y-D-M"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.year")+"-"+e.$t("settings.other.dateFormat.day")+"-"+e.$t("settings.other.dateFormat.month"))+"\n\t\t\t\t")]),e._v(" "),a("option",{attrs:{value:"D-M-Y"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.day")+"-"+e.$t("settings.other.dateFormat.month")+"-"+e.$t("settings.other.dateFormat.year"))+"\n\t\t\t\t")]),e._v(" "),a("option",{attrs:{value:"M-D-Y"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.month")+"-"+e.$t("settings.other.dateFormat.day")+"-"+e.$t("settings.other.dateFormat.year"))+"\n\t\t\t\t")]),e._v(" "),a("option",{attrs:{value:"Y"}},[e._v(e._s(e.$t("settings.other.dateFormat.year")))])])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.featuredToTitle.title")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.featuredToTitle,expression:"settings.featuredToTitle"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"featuredToTitle",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"0"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.0")))]),e._v(" "),a("option",{attrs:{value:"1"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.1")))]),e._v(" "),a("option",{attrs:{value:"3"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.3")))]),e._v(" "),a("option",{attrs:{value:"2"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.2")))])])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.titleCasing")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.titleCasing,expression:"settings.titleCasing"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"titleCasing",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"nothing"}},[e._v(e._s(e.$t("settings.other.casing.nothing")))]),e._v(" "),a("option",{attrs:{value:"lower"}},[e._v(e._s(e.$t("settings.other.casing.lower")))]),e._v(" "),a("option",{attrs:{value:"upper"}},[e._v(e._s(e.$t("settings.other.casing.upper")))]),e._v(" "),a("option",{attrs:{value:"start"}},[e._v(e._s(e.$t("settings.other.casing.start")))]),e._v(" "),a("option",{attrs:{value:"sentence"}},[e._v(e._s(e.$t("settings.other.casing.sentence")))])])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.artistCasing")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.artistCasing,expression:"settings.artistCasing"}],on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"artistCasing",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"nothing"}},[e._v(e._s(e.$t("settings.other.casing.nothing")))]),e._v(" "),a("option",{attrs:{value:"lower"}},[e._v(e._s(e.$t("settings.other.casing.lower")))]),e._v(" "),a("option",{attrs:{value:"upper"}},[e._v(e._s(e.$t("settings.other.casing.upper")))]),e._v(" "),a("option",{attrs:{value:"start"}},[e._v(e._s(e.$t("settings.other.casing.start")))]),e._v(" "),a("option",{attrs:{value:"sentence"}},[e._v(e._s(e.$t("settings.other.casing.sentence")))])])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.previewVolume")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.number",value:e.previewVolume.preview_max_volume,expression:"previewVolume.preview_max_volume",modifiers:{number:!0}}],staticClass:"slider",attrs:{type:"range",min:"0",max:"100",step:"1"},domProps:{value:e.previewVolume.preview_max_volume},on:{change:e.updateMaxVolume,__r:function(t){e.$set(e.previewVolume,"preview_max_volume",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),a("span",[e._v(e._s(e.previewVolume.preview_max_volume)+"%")])]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.other.executeCommand.title")))]),e._v(" "),a("p",{staticClass:"secondary-text"},[e._v(e._s(e.$t("settings.other.executeCommand.description")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.executeCommand,expression:"settings.executeCommand"}],attrs:{type:"text"},domProps:{value:e.settings.executeCommand},on:{input:function(t){t.target.composing||e.$set(e.settings,"executeCommand",t.target.value)}}})])]),e._v(" "),a("BaseAccordion",{staticClass:"settings-group",scopedSlots:e._u([{key:"title",fn:function(){return[a("h3",{staticClass:"settings-group__header"},[a("svg",{staticClass:"w-6 h-6 mr-4",staticStyle:{fill:"#1db954"},attrs:{"enable-background":"new 0 0 24 24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"m12 24c6.624 0 12-5.376 12-12s-5.376-12-12-12-12 5.376-12 12 5.376 12 12 12zm4.872-6.344v.001c-.807 0-3.356-2.828-10.52-1.36-.189.049-.436.126-.576.126-.915 0-1.09-1.369-.106-1.578 3.963-.875 8.013-.798 11.467 1.268.824.526.474 1.543-.265 1.543zm1.303-3.173c-.113-.03-.08.069-.597-.203-3.025-1.79-7.533-2.512-11.545-1.423-.232.063-.358.126-.576.126-1.071 0-1.355-1.611-.188-1.94 4.716-1.325 9.775-.552 13.297 1.543.392.232.547.533.547.953-.005.522-.411.944-.938.944zm-13.627-7.485c4.523-1.324 11.368-.906 15.624 1.578 1.091.629.662 2.22-.498 2.22l-.001-.001c-.252 0-.407-.063-.625-.189-3.443-2.056-9.604-2.549-13.59-1.436-.175.048-.393.125-.625.125-.639 0-1.127-.499-1.127-1.142 0-.657.407-1.029.842-1.155z"}})]),e._v("\n\t\t\t\t"+e._s(e.$t("settings.spotify.title"))+"\n\t\t\t")])]},proxy:!0}])},[e._v(" "),a("RouterLink",{attrs:{to:{name:"Spotify Features"}}},[e._v("\n\t\t\t"+e._s(e.$t("settings.spotify.question"))+"\n\t\t")]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.spotify.clientID")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.clientId,expression:"spotifyFeatures.clientId"}],attrs:{type:"text"},domProps:{value:e.spotifyFeatures.clientId},on:{input:function(t){t.target.composing||e.$set(e.spotifyFeatures,"clientId",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.spotify.clientSecret")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.clientSecret,expression:"spotifyFeatures.clientSecret"}],attrs:{type:"password"},domProps:{value:e.spotifyFeatures.clientSecret},on:{input:function(t){t.target.composing||e.$set(e.spotifyFeatures,"clientSecret",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"input-group"},[a("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.spotify.username")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyUser,expression:"spotifyUser"}],attrs:{type:"text"},domProps:{value:e.spotifyUser},on:{input:function(t){t.target.composing||(e.spotifyUser=t.target.value)}}})])],1),e._v(" "),a("footer",{staticClass:"bg-background-main"},[a("button",{staticClass:"mr-2 btn btn-primary",on:{click:e.resetSettings}},[e._v(e._s(e.$t("settings.reset")))]),e._v(" "),a("button",{staticClass:"btn btn-primary",on:{click:e.saveSettings}},[e._v(e._s(e.$t("settings.save")))])])],1)},staticRenderFns:[]},(function(e){e&&e("data-v-45de7035_0",{source:"#logged_in_info{height:250px;display:flex;flex-direction:column;justify-content:space-evenly;align-items:center}.locale-flag{width:60px;justify-content:center;cursor:pointer}.locale-flag:not(:last-child){margin-right:10px}.locale-flag.locale-flag--current svg{filter:brightness(1)}.locale-flag svg{width:40px!important;height:40px!important;filter:brightness(.5)}",map:void 0,media:void 0})}),{components:{BaseAccordion:function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="BaseAccordion.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(a,n){return e.call(n),t(a,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:function(e,t){var a=t._c;return a("details",{class:[t.data.staticClass,{"with-arrow":t.props.withArrow}]},[a("summary",{staticClass:"cursor-pointer"},[t._t("title",[t._v("Setting")])],2),t._v(" "),a("div",{staticClass:"my-5 space-y-5"},[t._t("default")],2)])},staticRenderFns:[]},(function(e){e&&e("data-v-2439145e_0",{source:"details>summary::-webkit-details-marker{display:none}details.with-arrow>summary::-webkit-details-marker{display:initial;vertical-align:super}",map:void 0,media:void 0})}),{props:{withArrow:{type:Boolean,default:!0}}},undefined,!0,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}))},data(){return{flags:fh,currentLocale:this.$i18n.locale,locales:this.$i18n.availableLocales,settings:{tags:{}},lastSettings:{},spotifyFeatures:{},lastCredentials:{},defaultSettings:{},lastUser:"",spotifyUser:"",slimDownloads:!1,slimSidebar:!1,previewVolume:window.vol,accountNum:0,accounts:[]}},computed:{...Fo({arl:"getARL",user:"getUser",isLoggedIn:"isLoggedIn",clientMode:"getClientMode"}),needToWait(){return 0===Object.keys(this.getSettings).length},changeSlimDownloads:{get(){return this.slimDownloads},set(e){this.slimDownloads=e,document.getElementById("download_list").classList.toggle("slim",e),localStorage.setItem("slimDownloads",e)}},changeSlimSidebar:{get(){return this.slimSidebar},set(e){this.slimSidebar=e,document.getElementById("sidebar").classList.toggle("slim",e),Array.from(document.getElementsByClassName("toastify")).forEach((t=>{t.style.transform=`translate(${e?"3rem":"14rem"}, 0)`})),localStorage.setItem("slimSidebar",e)}},pictureHref(){return`https://e-cdns-images.dzcdn.net/images/user/${this.user.picture}/125x125-000000-80-0-0.jpg`}},async mounted(){const{settingsData:e,defaultSettingsData:t,spotifyCredentials:a}=await hh();this.defaultSettings=t,this.initSettings(e,a);let n=localStorage.getItem("accountNum");n&&(this.accountNum=n);let i=localStorage.getItem("spotifyUser");i&&(this.lastUser=i,this.spotifyUser=i,Go.emit("update_userSpotifyPlaylists",i)),this.changeSlimDownloads="true"===localStorage.getItem("slimDownloads"),this.changeSlimSidebar="true"===localStorage.getItem("slimSidebar");let r=parseInt(localStorage.getItem("previewVolume"));isNaN(r)&&(r=80,localStorage.setItem("previewVolume",r)),window.vol.preview_max_volume=r,Go.on("updateSettings",this.updateSettings),Go.on("accountChanged",this.accountChanged),Go.on("familyAccounts",this.initAccounts),Go.on("downloadFolderSelected",this.downloadFolderSelected),Go.on("applogin_arl",this.loggedInViaDeezer),this.$on("hook:destroyed",(()=>{Go.off("updateSettings"),Go.off("accountChanged"),Go.off("familyAccounts"),Go.off("downloadFolderSelected"),Go.off("applogin_arl")}))},methods:{...Po({dispatchARL:"setARL"}),revertSettings(){this.settings=JSON.parse(JSON.stringify(this.lastSettings))},revertCredentials(){this.spotifyCredentials=JSON.parse(JSON.stringify(this.lastCredentials)),this.spotifyUser=(" "+this.lastUser).slice(1)},copyARLtoClipboard(){let e=this.$refs.loginInput;e.setAttribute("type","text"),e.select(),e.setSelectionRange(0,99999),document.execCommand("copy"),e.setAttribute("type","password"),bl(this.$t("settings.toasts.ARLcopied"),"assignment")},changeLocale(e){this.$i18n.locale=e,this.currentLocale=e,localStorage.setItem("locale",e)},updateMaxVolume(){localStorage.setItem("previewVolume",this.previewVolume.preview_max_volume)},saveSettings(){this.lastSettings=JSON.parse(JSON.stringify(this.settings)),this.lastCredentials=JSON.parse(JSON.stringify(this.spotifyFeatures));let e=!1;this.lastUser!=this.spotifyUser&&(this.lastUser=(" "+this.spotifyUser).slice(1),localStorage.setItem("spotifyUser",this.lastUser),e=!0),Go.emit("saveSettings",this.lastSettings,this.lastCredentials,!!e&&this.lastUser)},selectDownloadFolder(){Go.emit("selectDownloadFolder")},downloadFolderSelected(e){this.$set(this.settings,"downloadLocation",e)},loadSettings(e){this.lastSettings=JSON.parse(JSON.stringify(e)),this.settings=JSON.parse(JSON.stringify(e))},loadCredentials(e){this.lastCredentials=JSON.parse(JSON.stringify(e)),this.spotifyFeatures=JSON.parse(JSON.stringify(e))},loggedInViaDeezer(e){this.dispatchARL({arl:e}),Go.emit("login",e,!0,this.accountNum)},login(){let e=this.$refs.loginInput.value.trim();e&&e!==this.arl&&Go.emit("login",e,!0,this.accountNum)},appLogin(e){Go.emit("applogin")},changeAccount(){Go.emit("changeAccount",this.accountNum)},accountChanged(e,t){this.$refs.username.innerText=e.name,this.$refs.userpicture.src=`https://e-cdns-images.dzcdn.net/images/user/${e.picture}/125x125-000000-80-0-0.jpg`,this.accountNum=t,localStorage.setItem("accountNum",this.accountNum)},initAccounts(e){this.accounts=e},logout(){Go.emit("logout")},initSettings(e,t){this.loadSettings(e),this.loadCredentials(t),bl(this.$t("settings.toasts.init"),"settings")},updateSettings(e,t){this.loadSettings(e),this.loadCredentials(t),bl(this.$t("settings.toasts.update"),"settings")},resetSettings(){this.settings=JSON.parse(JSON.stringify(this.defaultSettings))}}},undefined,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],a=e.styles||(e.styles={}),n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=n?i.media||"default":e,s=a[r]||(a[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let a=i.source,o=s.ids.length;if(s.ids.push(e),i.map&&(a+="\n/*# sourceURL="+i.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),n&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),n&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(n&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(a),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(a),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));var vh=function(e,t,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};return l.__file="Tracklist.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n,l}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{ref:"root",staticClass:"relative fixed-footer bg-background-main image-header"},[a("header",{style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[a("h1",{staticClass:"flex items-center m-0 text-5xl"},[e._v("\n\t\t\t"+e._s(e.title)+" "),e.explicit?a("i",{staticClass:"material-icons explicit-icon explicit-icon--right"},[e._v("explicit")]):e._e()]),e._v(" "),a("h2",{staticClass:"m-0 mb-3 text-lg"},[e.metadata?a("p",[e._v(e._s(e.metadata))]):e._e(),e._v(" "),e.release_date?a("p",[e._v(e._s(e.release_date))]):e._e()])]),e._v(" "),a("table",{staticClass:"table table--tracklist"},[a("thead",[a("tr",[e._m(0),e._v(" "),a("th",[e._v("#")]),e._v(" "),a("th",[e._v(e._s(e.$tc("globals.listTabs.title",1)))]),e._v(" "),a("th",[e._v(e._s(e.$tc("globals.listTabs.artist",1)))]),e._v(" "),"playlist"===e.type?a("th",[e._v(e._s(e.$tc("globals.listTabs.album",1)))]):e._e(),e._v(" "),e._m(1),e._v(" "),a("th",{staticClass:"table__icon table__cell--center clickable"},[a("input",{staticClass:"selectAll",attrs:{type:"checkbox"},on:{click:e.toggleAll}})])])]),e._v(" "),a("tbody",["spotifyPlaylist"!==e.type?[e._l(e.body,(function(t,n){return["track"==t.type?a("tr",{on:{click:function(a){return e.selectRow(n,t)}}},[a("td",{staticClass:"table__cell--x-small table__cell--center"},[a("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[a("i",e._g({staticClass:"material-icons",class:{preview_playlist_controls:t.preview,"cursor-pointer":t.preview,disabled:!t.preview},attrs:{"data-preview":t.preview,title:e.$t("globals.play_hint")}},{click:!!t.preview&&e.playPausePreview}),[e._v("\n\t\t\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t\t\t")])])]),e._v(" "),a("td",{staticClass:"table__cell--small table__cell--center track_position"},[e._v("\n\t\t\t\t\t\t\t"+e._s("album"===e.type?t.track_position:e.body.indexOf(t)+1)+"\n\t\t\t\t\t\t")]),e._v(" "),a("td",{staticClass:"table__cell--large table__cell--with-icon"},[a("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[t.explicit_lyrics?a("i",{staticClass:"material-icons explicit-icon"},[e._v(" explicit ")]):e._e(),e._v("\n\t\t\t\t\t\t\t\t"+e._s(t.title+(t.title_version&&-1==t.title.indexOf(t.title_version)?" "+t.title_version:""))+"\n\t\t\t\t\t\t\t")])]),e._v(" "),a("router-link",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{tag:"td",to:{name:"Artist",params:{id:t.artist.id}}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.artist.name)+"\n\t\t\t\t\t\t")]),e._v(" "),"playlist"===e.type?a("router-link",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{tag:"td",to:{name:"Album",params:{id:t.album.id}}}},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.album.title)+"\n\t\t\t\t\t\t")]):e._e(),e._v(" "),a("td",{staticClass:"table__cell--center",class:{"table__cell--small":"album"===e.type,"table__cell--x-small":"playlist"===e.type}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.convertDuration(t.duration))+"\n\t\t\t\t\t\t")]),e._v(" "),a("td",{staticClass:"table__icon table__cell--center"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:function(a){var n=t.selected,i=a.target,r=!!i.checked;if(Array.isArray(n)){var s=e._i(n,null);i.checked?s<0&&e.$set(t,"selected",n.concat([null])):s>-1&&e.$set(t,"selected",n.slice(0,s).concat(n.slice(s+1)))}else e.$set(t,"selected",r)}}})])],1):"disc_separator"==t.type?a("tr",{staticClass:"table__row-no-highlight",staticStyle:{opacity:"0.54"}},[e._m(2,!0),e._v(" "),a("td",{staticClass:"table__cell--center"},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.number)+"\n\t\t\t\t\t\t")]),e._v(" "),a("td",{attrs:{colspan:"4"}})]):e._e()]}))]:e._l(e.body,(function(t,n){return a("tr",[a("td",[t.preview_url?a("i",{staticClass:"material-icons",class:{preview_playlist_controls:t.preview_url,"cursor-pointer":t.preview_url},attrs:{"data-preview":t.preview_url,title:e.$t("globals.play_hint")},on:{click:e.playPausePreview}},[e._v("\n\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t")]):a("i",{staticClass:"material-icons disabled"},[e._v("play_arrow")])]),e._v(" "),a("td",[e._v(e._s(n+1))]),e._v(" "),a("td",{staticClass:"flex items-center"},[t.explicit?a("i",{staticClass:"material-icons explicit-icon"},[e._v("explicit")]):e._e(),e._v("\n\t\t\t\t\t\t"+e._s(t.name)+"\n\t\t\t\t\t")]),e._v(" "),a("td",[e._v(e._s(t.artists[0].name))]),e._v(" "),a("td",[e._v(e._s(t.album.name))]),e._v(" "),a("td",[e._v(e._s(e.convertDuration(Math.floor(t.duration_ms/1e3))))]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:function(a){var n=t.selected,i=a.target,r=!!i.checked;if(Array.isArray(n)){var s=e._i(n,null);i.checked?s<0&&e.$set(t,"selected",n.concat([null])):s>-1&&e.$set(t,"selected",n.slice(0,s).concat(n.slice(s+1)))}else e.$set(t,"selected",r)}}})])])}))],2)]),e._v(" "),e.label?a("span",{staticStyle:{opacity:"0.4","margin-top":"8px",display:"inline-block","font-size":"13px"}},[e._v(e._s(e.label))]):e._e(),e._v(" "),a("footer",{staticClass:"bg-background-main"},[a("button",{staticClass:"mr-2 btn btn-primary",attrs:{"data-link":e.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[e._v("\n\t\t\t"+e._s(""+e.$t("globals.download",{thing:e.$tc("globals.listTabs."+e.type,1)}))+"\n\t\t")]),e._v(" "),a("button",{staticClass:"flex items-center btn btn-primary",attrs:{"data-link":e.selectedLinks()},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[e._v("\n\t\t\t"+e._s(e.$t("tracklist.downloadSelection"))),a("i",{staticClass:"ml-2 material-icons"},[e._v("file_download")])])])])},staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",[a("i",{staticClass:"material-icons"},[e._v("music_note")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",[a("i",{staticClass:"material-icons"},[e._v("timer")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("td",[a("div",{staticClass:"table__cell-content table__cell-content--vertical-center",staticStyle:{opacity:"0.54"}},[a("i",{staticClass:"material-icons"},[e._v("album")])])])}]},0,{data:()=>({title:"",metadata:"",release_date:"",label:"",explicit:!1,image:"",type:"empty",link:"",body:[]}),mounted(){il.$on("tracklistTab:selectRow",this.selectRow),Go.on("show_album",this.showAlbum),Go.on("show_playlist",this.showPlaylist),Go.on("show_spotifyplaylist",this.showSpotifyPlaylist)},methods:{playPausePreview(e){il.$emit("trackPreview:playPausePreview",e)},reset(){this.title="Loading...",this.image="",this.metadata="",this.label="",this.release_date="",this.explicit=!1,this.type="empty",this.body=[]},addToQueue(e){Ko.sendAddToQueue(e.currentTarget.dataset.link)},toggleAll(e){this.body.forEach((t=>{"track"==t.type&&(t.selected=e.currentTarget.checked)}))},selectedLinks(){var e=[];return this.body&&this.body.forEach((t=>{"track"==t.type&&t.selected&&e.push("spotifyPlaylist"==this.type?t.uri:t.link)})),e.join(";")},convertDuration:tl.convertDuration,showAlbum(e){this.reset();const{id:t,title:a,explicit_lyrics:n,label:i,artist:{name:r},tracks:s,tracks:{length:o},release_date:l,cover_xl:c}=e;this.type="album",this.link="https://www.deezer.com/album/"+t,this.title=a,this.explicit=n,this.label=i,this.metadata=`${r} • ${this.$tc("globals.listTabs.trackN",o)}`,this.release_date=l.substring(0,10),this.image=c,Mm(s)?this.body=null:this.body=s},showPlaylist(e){this.reset();const{id:t,title:a,picture_xl:n,creation_date:i,creator:{name:r},tracks:s,tracks:{length:o}}=e;this.type="playlist",this.link="https://www.deezer.com/playlist/"+t,this.title=a,this.image=n,this.release_date=i.substring(0,10),this.metadata=`${this.$t("globals.by",{artist:r})} • ${this.$tc("globals.listTabs.trackN",o)}`,Mm(s)?this.body=null:this.body=s},showSpotifyPlaylist(e){this.reset();const{uri:t,name:a,images:n,images:{length:i},owner:{display_name:r},tracks:s,tracks:{length:o}}=e;this.type="spotifyPlaylist",this.link=t,this.title=a,this.image=i?n[0].url:"https://e-cdns-images.dzcdn.net/images/cover/d41d8cd98f00b204e9800998ecf8427e/1000x1000-000000-80-0-0.jpg",this.release_date="",this.metadata=`${this.$t("globals.by",{artist:r})} • ${this.$tc("globals.listTabs.trackN",o)}`,Mm(s)?this.body=null:this.body=s},selectRow(e,t){t.selected=!t.selected}}},undefined,!1);xa.use(su);const bh=new su({mode:"history",routes:[{path:"/",name:"Home",component:Km,meta:{notKeepAlive:!0}},{path:"/tracklist/:type/:id",name:"Tracklist",component:vh},{path:"/artist/:id",name:"Artist",component:Nm},{path:"/album/:id",name:"Album",component:vh},{path:"/playlist/:id",name:"Playlist",component:vh},{path:"/spotify-playlist/:id",name:"Spotify Playlist",component:vh},{path:"/charts",name:"Charts",component:Rm,meta:{notKeepAlive:!0}},{path:"/favorites",name:"Favorites",component:Vm,meta:{notKeepAlive:!0}},{path:"/errors",name:"Errors",component:jm},{path:"/link-analyzer",name:"Link Analyzer",component:Qm},{path:"/about",name:"About",component:cu},{path:"/info-arl",name:"ARL",component:du},{path:"/info-spotify",name:"Spotify Features",component:uu},{path:"/settings",name:"Settings",component:gh},{path:"/search",name:"Search",component:dh},{path:"*",component:Km}],scrollBehavior:(e,t,a)=>({x:0,y:0})});bh.beforeEach(((e,t,a)=>{let n=null;switch(e.name){case"Artist":n={type:"artist",id:e.params.id};break;case"Tracklist":n={type:e.params.type,id:e.params.id};break;case"Album":n={type:"album",id:e.params.id};break;case"Playlist":n={type:"playlist",id:e.params.id};break;case"Spotify Playlist":n={type:"spotifyplaylist",id:e.params.id}}n&&Go.emit("getTracklist",n),a()})),window.vol={preview_max_volume:100},document.addEventListener("DOMContentLoaded",(function(){new xa({store:Vo,router:bh,i18n:gc,render:e=>e(yl)}).$mount("#app")})),window.addEventListener("pywebviewready",(function(){Vo.dispatch("setClientMode",!0),document.addEventListener("keyup",(e=>{e.altKey&&"ArrowLeft"===e.key&&bh.back(),e.altKey&&"ArrowRight"===e.key&&bh.forward()}))})),document.addEventListener("paste",(e=>{if("input"===e.target.localName)return;let t=e.clipboardData.getData("Text");if(Yo(t))"Link Analyzer"===bh.currentRoute.name?Go.emit("analyzeLink",t):Wo(t);else{let e=document.querySelector("#searchbar");e.select(),e.setSelectionRange(0,99999)}})),Go.on("message",(function(e){console.log(e)})),Go.on("logging_in",(function(){bl(gc.t("toasts.loggingIn"),"loading",!1,"login-toast")})),Go.on("init_autologin",(function(){let e=localStorage.getItem("arl"),t=localStorage.getItem("accountNum");e&&(e=e.trim(),0!=t?Go.emit("login",e,!0,t):Go.emit("login",e))})),Go.on("logged_in",(function(e){const{status:t,user:a}=e;switch(t){case 1:case 3:bl(gc.t("toasts.loggedIn"),"done",!0,"login-toast"),Vo.dispatch("login",e);break;case 2:bl(gc.t("toasts.alreadyLogged"),"done",!0,"login-toast"),Vo.dispatch("setUser",a);break;case 0:bl(gc.t("toasts.loginFailed"),"close",!0,"login-toast"),Vo.dispatch("removeARL");break;case-1:return void bl(gc.t("toasts.deezerNotAvailable"),"close",!0,"login-toast")}})),Go.on("logged_out",(function(){bl(gc.t("toasts.loggedOut"),"done",!0,"login-toast"),Vo.dispatch("logout")})),Go.on("restoringQueue",(function(){bl(gc.t("toasts.restoringQueue"),"loading",!1,"restoring_queue")})),Go.on("cancellingCurrentItem",(function(e){bl(gc.t("toasts.cancellingCurrentItem"),"loading",!1,"cancelling_"+e)})),Go.on("currentItemCancelled",(function(e){bl(gc.t("toasts.currentItemCancelled"),"done",!0,"cancelling_"+e)})),Go.on("startAddingArtist",(function(e){bl(gc.t("toasts.startAddingArtist",{artist:e.name}),"loading",!1,"artist_"+e.id)})),Go.on("finishAddingArtist",(function(e){bl(gc.t("toasts.finishAddingArtist",{artist:e.name}),"done",!0,"artist_"+e.id)})),Go.on("startConvertingSpotifyPlaylist",(function(e){bl(gc.t("toasts.startConvertingSpotifyPlaylist"),"loading",!1,"spotifyplaylist_"+e)})),Go.on("finishConvertingSpotifyPlaylist",(function(e){bl(gc.t("toasts.finishConvertingSpotifyPlaylist"),"done",!0,"spotifyplaylist_"+e)})),Go.on("errorMessage",(function(e){bl(e,"error")})),Go.on("queueError",(function(e){e.errid?bl(e.link+" - "+gc.t("errors.ids."+e.errid),"error"):bl(e.link+" - "+e.error,"error")})),Go.on("alreadyInQueue",(function(e){bl(gc.t("toasts.alreadyInQueue",{item:e.title}),"playlist_add_check")})),Go.on("loginNeededToDownload",(function(e){bl(gc.t("toasts.loginNeededToDownload"),"report")})),Go.on("startGeneratingItems",(function(e){bl(gc.t("toasts.startGeneratingItems",{n:e.total}),"loading",!1,"batch_"+e.uuid)})),Go.on("finishGeneratingItems",(function(e){bl(gc.t("toasts.finishGeneratingItems",{n:e.total}),"done",!0,"batch_"+e.uuid)})); diff --git a/src/utils/utils.js b/src/utils/utils.js index 7e77cf3..8e1230f 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -24,7 +24,8 @@ export function isValidURL(text) { if ( lowerCaseText.indexOf('deezer.com') >= 0 || lowerCaseText.indexOf('deezer.page.link') >= 0 || - lowerCaseText.indexOf('open.spotify.com') >= 0 + lowerCaseText.indexOf('open.spotify.com') >= 0 || + lowerCaseText.indexOf('link.tospotify.com') >= 0 ) { return true }