deemixer/public/js/bundle.js
2020-07-23 17:46:35 +02:00

45 lines
442 KiB
JavaScript
Raw Blame History

/*!
* Vue.js v2.6.11
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
var t=Object.freeze({});function e(t){return null==t}function n(t){return null!=t}function a(t){return!0===t}function i(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function r(t){return null!==t&&"object"==typeof t}var s=Object.prototype.toString;function o(t){return"[object Object]"===s.call(t)}function l(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function c(t){return n(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function u(t){return null==t?"":Array.isArray(t)||o(t)&&t.toString===s?JSON.stringify(t,null,2):String(t)}function d(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var n=Object.create(null),a=t.split(","),i=0;i<a.length;i++)n[a[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var f=p("slot,component",!0),h=p("key,ref,slot,slot-scope,is");function v(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function g(t,e){return m.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var y=/-(\w)/g,b=_((function(t){return t.replace(y,(function(t,e){return e?e.toUpperCase():""}))})),w=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),k=/\B([A-Z])/g,x=_((function(t){return t.replace(k,"-$1").toLowerCase()}));var C=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var a=arguments.length;return a?a>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function A(t,e){e=e||0;for(var n=t.length-e,a=new Array(n);n--;)a[n]=t[n+e];return a}function T(t,e){for(var n in e)t[n]=e[n];return t}function $(t){for(var e={},n=0;n<t.length;n++)t[n]&&T(e,t[n]);return e}function S(t,e,n){}var N=function(t,e,n){return!1},D=function(t){return t};function E(t,e){if(t===e)return!0;var n=r(t),a=r(e);if(!n||!a)return!n&&!a&&String(t)===String(e);try{var i=Array.isArray(t),s=Array.isArray(e);if(i&&s)return t.length===e.length&&t.every((function(t,n){return E(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||s)return!1;var o=Object.keys(t),l=Object.keys(e);return o.length===l.length&&o.every((function(n){return E(t[n],e[n])}))}catch(t){return!1}}function L(t,e){for(var n=0;n<t.length;n++)if(E(t[n],e))return n;return-1}function P(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var I=["component","directive","filter"],F=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],O={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:N,isReservedAttr:N,isUnknownElement:N,getTagNamespace:S,parsePlatformTagName:D,mustUseProp:N,async:!0,_lifecycleHooks:F},M=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function j(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function R(t,e,n,a){Object.defineProperty(t,e,{value:n,enumerable:!!a,writable:!0,configurable:!0})}var B=new RegExp("[^"+M.source+".$_\\d]");var z,q="__proto__"in{},H="undefined"!=typeof window,U="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,V=U&&WXEnvironment.platform.toLowerCase(),W=H&&window.navigator.userAgent.toLowerCase(),Q=W&&/msie|trident/.test(W),G=W&&W.indexOf("msie 9.0")>0,K=W&&W.indexOf("edge/")>0,Y=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===V),J=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/)),X={}.watch,Z=!1;if(H)try{var tt={};Object.defineProperty(tt,"passive",{get:function(){Z=!0}}),window.addEventListener("test-passive",null,tt)}catch(t){}var et=function(){return void 0===z&&(z=!H&&!U&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),z},nt=H&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"==typeof t&&/native code/.test(t.toString())}var it,rt="undefined"!=typeof Symbol&&at(Symbol)&&"undefined"!=typeof Reflect&&at(Reflect.ownKeys);it="undefined"!=typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var st=S,ot=0,lt=function(){this.id=ot++,this.subs=[]};lt.prototype.addSub=function(t){this.subs.push(t)},lt.prototype.removeSub=function(t){v(this.subs,t)},lt.prototype.depend=function(){lt.target&&lt.target.addDep(this)},lt.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},lt.target=null;var ct=[];function ut(t){ct.push(t),lt.target=t}function dt(){ct.pop(),lt.target=ct[ct.length-1]}var pt=function(t,e,n,a,i,r,s,o){this.tag=t,this.data=e,this.children=n,this.text=a,this.elm=i,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=o,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ft={child:{configurable:!0}};ft.child.get=function(){return this.componentInstance},Object.defineProperties(pt.prototype,ft);var ht=function(t){void 0===t&&(t="");var e=new pt;return e.text=t,e.isComment=!0,e};function vt(t){return new pt(void 0,void 0,void 0,String(t))}function mt(t){var e=new pt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var gt=Array.prototype,_t=Object.create(gt);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=gt[t];R(_t,t,(function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];var i,r=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&s.observeArray(i),s.dep.notify(),r}))}));var yt=Object.getOwnPropertyNames(_t),bt=!0;function wt(t){bt=t}var kt=function(t){this.value=t,this.dep=new lt,this.vmCount=0,R(t,"__ob__",this),Array.isArray(t)?(q?function(t,e){t.__proto__=e}(t,_t):function(t,e,n){for(var a=0,i=n.length;a<i;a++){var r=n[a];R(t,r,e[r])}}(t,_t,yt),this.observeArray(t)):this.walk(t)};function xt(t,e){var n;if(r(t)&&!(t instanceof pt))return g(t,"__ob__")&&t.__ob__ instanceof kt?n=t.__ob__:bt&&!et()&&(Array.isArray(t)||o(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new kt(t)),e&&n&&n.vmCount++,n}function Ct(t,e,n,a,i){var r=new lt,s=Object.getOwnPropertyDescriptor(t,e);if(!s||!1!==s.configurable){var o=s&&s.get,l=s&&s.set;o&&!l||2!==arguments.length||(n=t[e]);var c=!i&&xt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=o?o.call(t):n;return lt.target&&(r.depend(),c&&(c.dep.depend(),Array.isArray(e)&&$t(e))),e},set:function(e){var a=o?o.call(t):n;e===a||e!=e&&a!=a||o&&!l||(l?l.call(t,e):n=e,c=!i&&xt(e),r.notify())}})}}function At(t,e,n){if(Array.isArray(t)&&l(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var a=t.__ob__;return t._isVue||a&&a.vmCount?n:a?(Ct(a.value,e,n),a.dep.notify(),n):(t[e]=n,n)}function Tt(t,e){if(Array.isArray(t)&&l(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||g(t,e)&&(delete t[e],n&&n.dep.notify())}}function $t(t){for(var e=void 0,n=0,a=t.length;n<a;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&$t(e)}kt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Ct(t,e[n])},kt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)xt(t[e])};var St=O.optionMergeStrategies;function Nt(t,e){if(!e)return t;for(var n,a,i,r=rt?Reflect.ownKeys(e):Object.keys(e),s=0;s<r.length;s++)"__ob__"!==(n=r[s])&&(a=t[n],i=e[n],g(t,n)?a!==i&&o(a)&&o(i)&&Nt(a,i):At(t,n,i));return t}function Dt(t,e,n){return n?function(){var a="function"==typeof e?e.call(n,n):e,i="function"==typeof t?t.call(n,n):t;return a?Nt(a,i):i}:e?t?function(){return Nt("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Et(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Lt(t,e,n,a){var i=Object.create(t||null);return e?T(i,e):i}St.data=function(t,e,n){return n?Dt(t,e,n):e&&"function"!=typeof e?t:Dt(t,e)},F.forEach((function(t){St[t]=Et})),I.forEach((function(t){St[t+"s"]=Lt})),St.watch=function(t,e,n,a){if(t===X&&(t=void 0),e===X&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var r in T(i,t),e){var s=i[r],o=e[r];s&&!Array.isArray(s)&&(s=[s]),i[r]=s?s.concat(o):Array.isArray(o)?o:[o]}return i},St.props=St.methods=St.inject=St.computed=function(t,e,n,a){if(!t)return e;var i=Object.create(null);return T(i,t),e&&T(i,e),i},St.provide=Dt;var Pt=function(t,e){return void 0===e?t:e};function It(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var a,i,r={};if(Array.isArray(n))for(a=n.length;a--;)"string"==typeof(i=n[a])&&(r[b(i)]={type:null});else if(o(n))for(var s in n)i=n[s],r[b(s)]=o(i)?i:{type:i};t.props=r}}(e),function(t,e){var n=t.inject;if(n){var a=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)a[n[i]]={from:n[i]};else if(o(n))for(var r in n){var s=n[r];a[r]=o(s)?T({from:r},s):{from:s}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var a=e[n];"function"==typeof a&&(e[n]={bind:a,update:a})}}(e),!e._base&&(e.extends&&(t=It(t,e.extends,n)),e.mixins))for(var a=0,i=e.mixins.length;a<i;a++)t=It(t,e.mixins[a],n);var r,s={};for(r in t)l(r);for(r in e)g(t,r)||l(r);function l(a){var i=St[a]||Pt;s[a]=i(t[a],e[a],n,a)}return s}function Ft(t,e,n,a){if("string"==typeof n){var i=t[e];if(g(i,n))return i[n];var r=b(n);if(g(i,r))return i[r];var s=w(r);return g(i,s)?i[s]:i[n]||i[r]||i[s]}}function Ot(t,e,n,a){var i=e[t],r=!g(n,t),s=n[t],o=Rt(Boolean,i.type);if(o>-1)if(r&&!g(i,"default"))s=!1;else if(""===s||s===x(t)){var l=Rt(String,i.type);(l<0||o<l)&&(s=!0)}if(void 0===s){s=function(t,e,n){if(!g(e,"default"))return;var a=e.default;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof a&&"Function"!==Mt(e.type)?a.call(t):a}(a,i,t);var c=bt;wt(!0),xt(s),wt(c)}return s}function Mt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function jt(t,e){return Mt(t)===Mt(e)}function Rt(t,e){if(!Array.isArray(e))return jt(e,t)?0:-1;for(var n=0,a=e.length;n<a;n++)if(jt(e[n],t))return n;return-1}function Bt(t,e,n){ut();try{if(e)for(var a=e;a=a.$parent;){var i=a.$options.errorCaptured;if(i)for(var r=0;r<i.length;r++)try{if(!1===i[r].call(a,t,e,n))return}catch(t){qt(t,a,"errorCaptured hook")}}qt(t,e,n)}finally{dt()}}function zt(t,e,n,a,i){var r;try{(r=n?t.apply(e,n):t.call(e))&&!r._isVue&&c(r)&&!r._handled&&(r.catch((function(t){return Bt(t,a,i+" (Promise/async)")})),r._handled=!0)}catch(t){Bt(t,a,i)}return r}function qt(t,e,n){if(O.errorHandler)try{return O.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Ht(e)}Ht(t)}function Ht(t,e,n){if(!H&&!U||"undefined"==typeof console)throw t;console.error(t)}var Ut,Vt=!1,Wt=[],Qt=!1;function Gt(){Qt=!1;var t=Wt.slice(0);Wt.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&at(Promise)){var Kt=Promise.resolve();Ut=function(){Kt.then(Gt),Y&&setTimeout(S)},Vt=!0}else if(Q||"undefined"==typeof MutationObserver||!at(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ut="undefined"!=typeof setImmediate&&at(setImmediate)?function(){setImmediate(Gt)}:function(){setTimeout(Gt,0)};else{var Yt=1,Jt=new MutationObserver(Gt),Xt=document.createTextNode(String(Yt));Jt.observe(Xt,{characterData:!0}),Ut=function(){Yt=(Yt+1)%2,Xt.data=String(Yt)},Vt=!0}function Zt(t,e){var n;if(Wt.push((function(){if(t)try{t.call(e)}catch(t){Bt(t,e,"nextTick")}else n&&n(e)})),Qt||(Qt=!0,Ut()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}var te=new it;function ee(t){!function t(e,n){var a,i,s=Array.isArray(e);if(!s&&!r(e)||Object.isFrozen(e)||e instanceof pt)return;if(e.__ob__){var o=e.__ob__.dep.id;if(n.has(o))return;n.add(o)}if(s)for(a=e.length;a--;)t(e[a],n);else for(i=Object.keys(e),a=i.length;a--;)t(e[i[a]],n)}(t,te),te.clear()}var ne=_((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),a="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=a?t.slice(1):t,once:n,capture:a,passive:e}}));function ae(t,e){function n(){var t=arguments,a=n.fns;if(!Array.isArray(a))return zt(a,null,arguments,e,"v-on handler");for(var i=a.slice(),r=0;r<i.length;r++)zt(i[r],null,t,e,"v-on handler")}return n.fns=t,n}function ie(t,n,i,r,s,o){var l,c,u,d;for(l in t)c=t[l],u=n[l],d=ne(l),e(c)||(e(u)?(e(c.fns)&&(c=t[l]=ae(c,o)),a(d.once)&&(c=t[l]=s(d.name,c,d.capture)),i(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,t[l]=u));for(l in n)e(t[l])&&r((d=ne(l)).name,n[l],d.capture)}function re(t,i,r){var s;t instanceof pt&&(t=t.data.hook||(t.data.hook={}));var o=t[i];function l(){r.apply(this,arguments),v(s.fns,l)}e(o)?s=ae([l]):n(o.fns)&&a(o.merged)?(s=o).fns.push(l):s=ae([o,l]),s.merged=!0,t[i]=s}function se(t,e,a,i,r){if(n(e)){if(g(e,a))return t[a]=e[a],r||delete e[a],!0;if(g(e,i))return t[a]=e[i],r||delete e[i],!0}return!1}function oe(t){return i(t)?[vt(t)]:Array.isArray(t)?function t(r,s){var o,l,c,u,d=[];for(o=0;o<r.length;o++)e(l=r[o])||"boolean"==typeof l||(c=d.length-1,u=d[c],Array.isArray(l)?l.length>0&&(le((l=t(l,(s||"")+"_"+o))[0])&&le(u)&&(d[c]=vt(u.text+l[0].text),l.shift()),d.push.apply(d,l)):i(l)?le(u)?d[c]=vt(u.text+l):""!==l&&d.push(vt(l)):le(l)&&le(u)?d[c]=vt(u.text+l.text):(a(r._isVList)&&n(l.tag)&&e(l.key)&&n(s)&&(l.key="__vlist"+s+"_"+o+"__"),d.push(l)));return d}(t):void 0}function le(t){return n(t)&&n(t.text)&&!1===t.isComment}function ce(t,e){if(t){for(var n=Object.create(null),a=rt?Reflect.ownKeys(t):Object.keys(t),i=0;i<a.length;i++){var r=a[i];if("__ob__"!==r){for(var s=t[r].from,o=e;o;){if(o._provided&&g(o._provided,s)){n[r]=o._provided[s];break}o=o.$parent}if(!o&&"default"in t[r]){var l=t[r].default;n[r]="function"==typeof l?l.call(e):l}}}return n}}function ue(t,e){if(!t||!t.length)return{};for(var n={},a=0,i=t.length;a<i;a++){var r=t[a],s=r.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,r.context!==e&&r.fnContext!==e||!s||null==s.slot)(n.default||(n.default=[])).push(r);else{var o=s.slot,l=n[o]||(n[o]=[]);"template"===r.tag?l.push.apply(l,r.children||[]):l.push(r)}}for(var c in n)n[c].every(de)&&delete n[c];return n}function de(t){return t.isComment&&!t.asyncFactory||" "===t.text}function pe(e,n,a){var i,r=Object.keys(n).length>0,s=e?!!e.$stable:!r,o=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&a&&a!==t&&o===a.$key&&!r&&!a.$hasNormal)return a;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=fe(n,l,e[l]))}else i={};for(var c in n)c in i||(i[c]=he(n,c));return e&&Object.isExtensible(e)&&(e._normalized=i),R(i,"$stable",s),R(i,"$key",o),R(i,"$hasNormal",r),i}function fe(t,e,n){var a=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:oe(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:a,enumerable:!0,configurable:!0}),a}function he(t,e){return function(){return t[e]}}function ve(t,e){var a,i,s,o,l;if(Array.isArray(t)||"string"==typeof t)for(a=new Array(t.length),i=0,s=t.length;i<s;i++)a[i]=e(t[i],i);else if("number"==typeof t)for(a=new Array(t),i=0;i<t;i++)a[i]=e(i+1,i);else if(r(t))if(rt&&t[Symbol.iterator]){a=[];for(var c=t[Symbol.iterator](),u=c.next();!u.done;)a.push(e(u.value,a.length)),u=c.next()}else for(o=Object.keys(t),a=new Array(o.length),i=0,s=o.length;i<s;i++)l=o[i],a[i]=e(t[l],l,i);return n(a)||(a=[]),a._isVList=!0,a}function me(t,e,n,a){var i,r=this.$scopedSlots[t];r?(n=n||{},a&&(n=T(T({},a),n)),i=r(n)||e):i=this.$slots[t]||e;var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function ge(t){return Ft(this.$options,"filters",t)||D}function _e(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function ye(t,e,n,a,i){var r=O.keyCodes[e]||n;return i&&a&&!O.keyCodes[e]?_e(i,a):r?_e(r,t):a?x(a)!==e:void 0}function be(t,e,n,a,i){if(n)if(r(n)){var s;Array.isArray(n)&&(n=$(n));var o=function(r){if("class"===r||"style"===r||h(r))s=t;else{var o=t.attrs&&t.attrs.type;s=a||O.mustUseProp(e,o,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=b(r),c=x(r);l in s||c in s||(s[r]=n[r],i&&((t.on||(t.on={}))["update:"+r]=function(t){n[r]=t}))};for(var l in n)o(l)}else;return t}function we(t,e){var n=this._staticTrees||(this._staticTrees=[]),a=n[t];return a&&!e||xe(a=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),a}function ke(t,e,n){return xe(t,"__once__"+e+(n?"_"+n:""),!0),t}function xe(t,e,n){if(Array.isArray(t))for(var a=0;a<t.length;a++)t[a]&&"string"!=typeof t[a]&&Ce(t[a],e+"_"+a,n);else Ce(t,e,n)}function Ce(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ae(t,e){if(e)if(o(e)){var n=t.on=t.on?T({},t.on):{};for(var a in e){var i=n[a],r=e[a];n[a]=i?[].concat(i,r):r}}else;return t}function Te(t,e,n,a){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var r=t[i];Array.isArray(r)?Te(r,e,n):r&&(r.proxy&&(r.fn.proxy=!0),e[r.key]=r.fn)}return a&&(e.$key=a),e}function $e(t,e){for(var n=0;n<e.length;n+=2){var a=e[n];"string"==typeof a&&a&&(t[e[n]]=e[n+1])}return t}function Se(t,e){return"string"==typeof t?e+t:t}function Ne(t){t._o=ke,t._n=d,t._s=u,t._l=ve,t._t=me,t._q=E,t._i=L,t._m=we,t._f=ge,t._k=ye,t._b=be,t._v=vt,t._e=ht,t._u=Te,t._g=Ae,t._d=$e,t._p=Se}function De(e,n,i,r,s){var o,l=this,c=s.options;g(r,"_uid")?(o=Object.create(r))._original=r:(o=r,r=r._original);var u=a(c._compiled),d=!u;this.data=e,this.props=n,this.children=i,this.parent=r,this.listeners=e.on||t,this.injections=ce(c.inject,r),this.slots=function(){return l.$slots||pe(e.scopedSlots,l.$slots=ue(i,r)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return pe(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=pe(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,a){var i=Me(o,t,e,n,a,d);return i&&!Array.isArray(i)&&(i.fnScopeId=c._scopeId,i.fnContext=r),i}:this._c=function(t,e,n,a){return Me(o,t,e,n,a,d)}}function Ee(t,e,n,a,i){var r=mt(t);return r.fnContext=n,r.fnOptions=a,e.slot&&((r.data||(r.data={})).slot=e.slot),r}function Le(t,e){for(var n in e)t[b(n)]=e[n]}Ne(De.prototype);var Pe={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var a=t;Pe.prepatch(a,a)}else{(t.componentInstance=function(t,e){var a={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;n(i)&&(a.render=i.render,a.staticRenderFns=i.staticRenderFns);return new t.componentOptions.Ctor(a)}(t,Qe)).$mount(e?t.elm:void 0,e)}},prepatch:function(e,n){var a=n.componentOptions;!function(e,n,a,i,r){var s=i.data.scopedSlots,o=e.$scopedSlots,l=!!(s&&!s.$stable||o!==t&&!o.$stable||s&&e.$scopedSlots.$key!==s.$key),c=!!(r||e.$options._renderChildren||l);e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i);if(e.$options._renderChildren=r,e.$attrs=i.data.attrs||t,e.$listeners=a||t,n&&e.$options.props){wt(!1);for(var u=e._props,d=e.$options._propKeys||[],p=0;p<d.length;p++){var f=d[p],h=e.$options.props;u[f]=Ot(f,h,n,e)}wt(!0),e.$options.propsData=n}a=a||t;var v=e.$options._parentListeners;e.$options._parentListeners=a,We(e,a,v),c&&(e.$slots=ue(r,i.context),e.$forceUpdate())}(n.componentInstance=e.componentInstance,a.propsData,a.listeners,n,a.children)},insert:function(t){var e,n=t.context,a=t.componentInstance;a._isMounted||(a._isMounted=!0,Je(a,"mounted")),t.data.keepAlive&&(n._isMounted?((e=a)._inactive=!1,Ze.push(e)):Ye(a,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(n&&(e._directInactive=!0,Ke(e)))return;if(!e._inactive){e._inactive=!0;for(var a=0;a<e.$children.length;a++)t(e.$children[a]);Je(e,"deactivated")}}(e,!0):e.$destroy())}},Ie=Object.keys(Pe);function Fe(i,s,o,l,u){if(!e(i)){var d=o.$options._base;if(r(i)&&(i=d.extend(i)),"function"==typeof i){var p;if(e(i.cid)&&void 0===(i=function(t,i){if(a(t.error)&&n(t.errorComp))return t.errorComp;if(n(t.resolved))return t.resolved;var s=Re;s&&n(t.owners)&&-1===t.owners.indexOf(s)&&t.owners.push(s);if(a(t.loading)&&n(t.loadingComp))return t.loadingComp;if(s&&!n(t.owners)){var o=t.owners=[s],l=!0,u=null,d=null;s.$on("hook:destroyed",(function(){return v(o,s)}));var p=function(t){for(var e=0,n=o.length;e<n;e++)o[e].$forceUpdate();t&&(o.length=0,null!==u&&(clearTimeout(u),u=null),null!==d&&(clearTimeout(d),d=null))},f=P((function(e){t.resolved=Be(e,i),l?o.length=0:p(!0)})),h=P((function(e){n(t.errorComp)&&(t.error=!0,p(!0))})),m=t(f,h);return r(m)&&(c(m)?e(t.resolved)&&m.then(f,h):c(m.component)&&(m.component.then(f,h),n(m.error)&&(t.errorComp=Be(m.error,i)),n(m.loading)&&(t.loadingComp=Be(m.loading,i),0===m.delay?t.loading=!0:u=setTimeout((function(){u=null,e(t.resolved)&&e(t.error)&&(t.loading=!0,p(!1))}),m.delay||200)),n(m.timeout)&&(d=setTimeout((function(){d=null,e(t.resolved)&&h(null)}),m.timeout)))),l=!1,t.loading?t.loadingComp:t.resolved}}(p=i,d)))return function(t,e,n,a,i){var r=ht();return r.asyncFactory=t,r.asyncMeta={data:e,context:n,children:a,tag:i},r}(p,s,o,l,u);s=s||{},bn(i),n(s.model)&&function(t,e){var a=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[a]=e.model.value;var r=e.on||(e.on={}),s=r[i],o=e.model.callback;n(s)?(Array.isArray(s)?-1===s.indexOf(o):s!==o)&&(r[i]=[o].concat(s)):r[i]=o}(i.options,s);var f=function(t,a,i){var r=a.options.props;if(!e(r)){var s={},o=t.attrs,l=t.props;if(n(o)||n(l))for(var c in r){var u=x(c);se(s,l,c,u,!0)||se(s,o,c,u,!1)}return s}}(s,i);if(a(i.options.functional))return function(e,a,i,r,s){var o=e.options,l={},c=o.props;if(n(c))for(var u in c)l[u]=Ot(u,c,a||t);else n(i.attrs)&&Le(l,i.attrs),n(i.props)&&Le(l,i.props);var d=new De(i,l,s,r,e),p=o.render.call(null,d._c,d);if(p instanceof pt)return Ee(p,i,d.parent,o);if(Array.isArray(p)){for(var f=oe(p)||[],h=new Array(f.length),v=0;v<f.length;v++)h[v]=Ee(f[v],i,d.parent,o);return h}}(i,f,s,o,l);var h=s.on;if(s.on=s.nativeOn,a(i.options.abstract)){var m=s.slot;s={},m&&(s.slot=m)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Ie.length;n++){var a=Ie[n],i=e[a],r=Pe[a];i===r||i&&i._merged||(e[a]=i?Oe(r,i):r)}}(s);var g=i.options.name||u;return new pt("vue-component-"+i.cid+(g?"-"+g:""),s,void 0,void 0,void 0,o,{Ctor:i,propsData:f,listeners:h,tag:u,children:l},p)}}}function Oe(t,e){var n=function(n,a){t(n,a),e(n,a)};return n._merged=!0,n}function Me(t,s,o,l,c,u){return(Array.isArray(o)||i(o))&&(c=l,l=o,o=void 0),a(u)&&(c=2),function(t,i,s,o,l){if(n(s)&&n(s.__ob__))return ht();n(s)&&n(s.is)&&(i=s.is);if(!i)return ht();Array.isArray(o)&&"function"==typeof o[0]&&((s=s||{}).scopedSlots={default:o[0]},o.length=0);2===l?o=oe(o):1===l&&(o=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(o));var c,u;if("string"==typeof i){var d;u=t.$vnode&&t.$vnode.ns||O.getTagNamespace(i),c=O.isReservedTag(i)?new pt(O.parsePlatformTagName(i),s,o,void 0,void 0,t):s&&s.pre||!n(d=Ft(t.$options,"components",i))?new pt(i,s,o,void 0,void 0,t):Fe(d,s,t,o,i)}else c=Fe(i,s,t,o);return Array.isArray(c)?c:n(c)?(n(u)&&function t(i,r,s){i.ns=r,"foreignObject"===i.tag&&(r=void 0,s=!0);if(n(i.children))for(var o=0,l=i.children.length;o<l;o++){var c=i.children[o];n(c.tag)&&(e(c.ns)||a(s)&&"svg"!==c.tag)&&t(c,r,s)}}(c,u),n(s)&&function(t){r(t.style)&&ee(t.style);r(t.class)&&ee(t.class)}(s),c):ht()}(t,s,o,l,c)}var je,Re=null;function Be(t,e){return(t.__esModule||rt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),r(t)?e.extend(t):t}function ze(t){return t.isComment&&t.asyncFactory}function qe(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var a=t[e];if(n(a)&&(n(a.componentOptions)||ze(a)))return a}}function He(t,e){je.$on(t,e)}function Ue(t,e){je.$off(t,e)}function Ve(t,e){var n=je;return function a(){var i=e.apply(null,arguments);null!==i&&n.$off(t,a)}}function We(t,e,n){je=t,ie(e,n||{},He,Ue,Ve,t),je=void 0}var Qe=null;function Ge(t){var e=Qe;return Qe=t,function(){Qe=e}}function Ke(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Ye(t,e){if(e){if(t._directInactive=!1,Ke(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Ye(t.$children[n]);Je(t,"activated")}}function Je(t,e){ut();var n=t.$options[e],a=e+" hook";if(n)for(var i=0,r=n.length;i<r;i++)zt(n[i],t,null,t,a);t._hasHookEvent&&t.$emit("hook:"+e),dt()}var Xe=[],Ze=[],tn={},en=!1,nn=!1,an=0;var rn=0,sn=Date.now;if(H&&!Q){var on=window.performance;on&&"function"==typeof on.now&&sn()>document.createEvent("Event").timeStamp&&(sn=function(){return on.now()})}function ln(){var t,e;for(rn=sn(),nn=!0,Xe.sort((function(t,e){return t.id-e.id})),an=0;an<Xe.length;an++)(t=Xe[an]).before&&t.before(),e=t.id,tn[e]=null,t.run();var n=Ze.slice(),a=Xe.slice();an=Xe.length=Ze.length=0,tn={},en=nn=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Ye(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],a=n.vm;a._watcher===n&&a._isMounted&&!a._isDestroyed&&Je(a,"updated")}}(a),nt&&O.devtools&&nt.emit("flush")}var cn=0,un=function(t,e,n,a,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),a?(this.deep=!!a.deep,this.user=!!a.user,this.lazy=!!a.lazy,this.sync=!!a.sync,this.before=a.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++cn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new it,this.newDepIds=new it,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!B.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=S)),this.value=this.lazy?void 0:this.get()};un.prototype.get=function(){var t;ut(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Bt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ee(t),dt(),this.cleanupDeps()}return t},un.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},un.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},un.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==tn[e]){if(tn[e]=!0,nn){for(var n=Xe.length-1;n>an&&Xe[n].id>t.id;)n--;Xe.splice(n+1,0,t)}else Xe.push(t);en||(en=!0,Zt(ln))}}(this)},un.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||r(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Bt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},un.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},un.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},un.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var dn={enumerable:!0,configurable:!0,get:S,set:S};function pn(t,e,n){dn.get=function(){return this[e][n]},dn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,dn)}function fn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},a=t._props={},i=t.$options._propKeys=[];t.$parent&&wt(!1);var r=function(r){i.push(r);var s=Ot(r,e,n,t);Ct(a,r,s),r in t||pn(t,"_props",r)};for(var s in e)r(s);wt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?S:C(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;o(e=t._data="function"==typeof e?function(t,e){ut();try{return t.call(e,e)}catch(t){return Bt(t,e,"data()"),{}}finally{dt()}}(e,t):e||{})||(e={});var n=Object.keys(e),a=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var r=n[i];a&&g(a,r)||j(r)||pn(t,"_data",r)}xt(e,!0)}(t):xt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),a=et();for(var i in e){var r=e[i],s="function"==typeof r?r:r.get;a||(n[i]=new un(t,s||S,S,hn)),i in t||vn(t,i,r)}}(t,e.computed),e.watch&&e.watch!==X&&function(t,e){for(var n in e){var a=e[n];if(Array.isArray(a))for(var i=0;i<a.length;i++)_n(t,n,a[i]);else _n(t,n,a)}}(t,e.watch)}var hn={lazy:!0};function vn(t,e,n){var a=!et();"function"==typeof n?(dn.get=a?mn(e):gn(n),dn.set=S):(dn.get=n.get?a&&!1!==n.cache?mn(e):gn(n.get):S,dn.set=n.set||S),Object.defineProperty(t,e,dn)}function mn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),lt.target&&e.depend(),e.value}}function gn(t){return function(){return t.call(this,this)}}function _n(t,e,n,a){return o(n)&&(a=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,a)}var yn=0;function bn(t){var e=t.options;if(t.super){var n=bn(t.super);if(n!==t.superOptions){t.superOptions=n;var a=function(t){var e,n=t.options,a=t.sealedOptions;for(var i in n)n[i]!==a[i]&&(e||(e={}),e[i]=n[i]);return e}(t);a&&T(t.extendOptions,a),(e=t.options=It(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function wn(t){this._init(t)}function kn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,a=n.cid,i=t._Ctor||(t._Ctor={});if(i[a])return i[a];var r=t.name||n.options.name,s=function(t){this._init(t)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=e++,s.options=It(n.options,t),s.super=n,s.options.props&&function(t){var e=t.options.props;for(var n in e)pn(t.prototype,"_props",n)}(s),s.options.computed&&function(t){var e=t.options.computed;for(var n in e)vn(t.prototype,n,e[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,I.forEach((function(t){s[t]=n[t]})),r&&(s.options.components[r]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=T({},s.options),i[a]=s,s}}function xn(t){return t&&(t.Ctor.options.name||t.tag)}function Cn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===s.call(n)&&t.test(e));var n}function An(t,e){var n=t.cache,a=t.keys,i=t._vnode;for(var r in n){var s=n[r];if(s){var o=xn(s.componentOptions);o&&!e(o)&&Tn(n,r,a,i)}}}function Tn(t,e,n,a){var i=t[e];!i||a&&i.tag===a.tag||i.componentInstance.$destroy(),t[e]=null,v(n,e)}!function(e){e.prototype._init=function(e){var n=this;n._uid=yn++,n._isVue=!0,e&&e._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),a=e._parentVnode;n.parent=e.parent,n._parentVnode=a;var i=a.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(n,e):n.$options=It(bn(n.constructor),e||{},n),n._renderProxy=n,n._self=n,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&We(t,e)}(n),function(e){e._vnode=null,e._staticTrees=null;var n=e.$options,a=e.$vnode=n._parentVnode,i=a&&a.context;e.$slots=ue(n._renderChildren,i),e.$scopedSlots=t,e._c=function(t,n,a,i){return Me(e,t,n,a,i,!1)},e.$createElement=function(t,n,a,i){return Me(e,t,n,a,i,!0)};var r=a&&a.data;Ct(e,"$attrs",r&&r.attrs||t,null,!0),Ct(e,"$listeners",n._parentListeners||t,null,!0)}(n),Je(n,"beforeCreate"),function(t){var e=ce(t.$options.inject,t);e&&(wt(!1),Object.keys(e).forEach((function(n){Ct(t,n,e[n])})),wt(!0))}(n),fn(n),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(n),Je(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(wn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=At,t.prototype.$delete=Tt,t.prototype.$watch=function(t,e,n){if(o(e))return _n(this,t,e,n);(n=n||{}).user=!0;var a=new un(this,t,e,n);if(n.immediate)try{e.call(this,a.value)}catch(t){Bt(t,this,'callback for immediate watcher "'+a.expression+'"')}return function(){a.teardown()}}}(wn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var a=this;if(Array.isArray(t))for(var i=0,r=t.length;i<r;i++)a.$on(t[i],n);else(a._events[t]||(a._events[t]=[])).push(n),e.test(t)&&(a._hasHookEvent=!0);return a},t.prototype.$once=function(t,e){var n=this;function a(){n.$off(t,a),e.apply(n,arguments)}return a.fn=e,n.$on(t,a),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var a=0,i=t.length;a<i;a++)n.$off(t[a],e);return n}var r,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var o=s.length;o--;)if((r=s[o])===e||r.fn===e){s.splice(o,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?A(n):n;for(var a=A(arguments,1),i='event handler for "'+t+'"',r=0,s=n.length;r<s;r++)zt(n[r],e,a,e,i)}return e}}(wn),function(t){t.prototype._update=function(t,e){var n=this,a=n.$el,i=n._vnode,r=Ge(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),r(),a&&(a.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Je(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||v(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Je(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(wn),function(t){Ne(t.prototype),t.prototype.$nextTick=function(t){return Zt(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,a=n.render,i=n._parentVnode;i&&(e.$scopedSlots=pe(i.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=i;try{Re=e,t=a.call(e._renderProxy,e.$createElement)}catch(n){Bt(n,e,"render"),t=e._vnode}finally{Re=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof pt||(t=ht()),t.parent=i,t}}(wn);var $n=[String,RegExp,Array],Sn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:$n,exclude:$n,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Tn(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){An(t,(function(t){return Cn(e,t)}))})),this.$watch("exclude",(function(e){An(t,(function(t){return!Cn(e,t)}))}))},render:function(){var t=this.$slots.default,e=qe(t),n=e&&e.componentOptions;if(n){var a=xn(n),i=this.include,r=this.exclude;if(i&&(!a||!Cn(i,a))||r&&a&&Cn(r,a))return e;var s=this.cache,o=this.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;s[l]?(e.componentInstance=s[l].componentInstance,v(o,l),o.push(l)):(s[l]=e,o.push(l),this.max&&o.length>parseInt(this.max)&&Tn(s,o[0],o,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return O}};Object.defineProperty(t,"config",e),t.util={warn:st,extend:T,mergeOptions:It,defineReactive:Ct},t.set=At,t.delete=Tt,t.nextTick=Zt,t.observable=function(t){return xt(t),t},t.options=Object.create(null),I.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,T(t.options.components,Sn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=A(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=It(this.options,t),this}}(t),kn(t),function(t){I.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&o(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(wn),Object.defineProperty(wn.prototype,"$isServer",{get:et}),Object.defineProperty(wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wn,"FunctionalRenderContext",{value:De}),wn.version="2.6.11";var Nn=p("style,class"),Dn=p("input,textarea,option,select,progress"),En=function(t,e,n){return"value"===n&&Dn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Ln=p("contenteditable,draggable,spellcheck"),Pn=p("events,caret,typing,plaintext-only"),In=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"),Fn="http://www.w3.org/1999/xlink",On=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Mn=function(t){return On(t)?t.slice(6,t.length):""},jn=function(t){return null==t||!1===t};function Rn(t){for(var e=t.data,a=t,i=t;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Bn(i.data,e));for(;n(a=a.parent);)a&&a.data&&(e=Bn(e,a.data));return function(t,e){if(n(t)||n(e))return zn(t,qn(e));return""}(e.staticClass,e.class)}function Bn(t,e){return{staticClass:zn(t.staticClass,e.staticClass),class:n(t.class)?[t.class,e.class]:e.class}}function zn(t,e){return t?e?t+" "+e:t:e||""}function qn(t){return Array.isArray(t)?function(t){for(var e,a="",i=0,r=t.length;i<r;i++)n(e=qn(t[i]))&&""!==e&&(a&&(a+=" "),a+=e);return a}(t):r(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Hn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Un=p("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Vn=p("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Wn=function(t){return Un(t)||Vn(t)};function Qn(t){return Vn(t)?"svg":"math"===t?"math":void 0}var Gn=Object.create(null);var Kn=p("text,number,password,search,email,tel,url");function Yn(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var Jn=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Hn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Xn={create:function(t,e){Zn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Zn(t,!0),Zn(e))},destroy:function(t){Zn(t,!0)}};function Zn(t,e){var a=t.data.ref;if(n(a)){var i=t.context,r=t.componentInstance||t.elm,s=i.$refs;e?Array.isArray(s[a])?v(s[a],r):s[a]===r&&(s[a]=void 0):t.data.refInFor?Array.isArray(s[a])?s[a].indexOf(r)<0&&s[a].push(r):s[a]=[r]:s[a]=r}}var ta=new pt("",{},[]),ea=["create","activate","update","remove","destroy"];function na(t,i){return t.key===i.key&&(t.tag===i.tag&&t.isComment===i.isComment&&n(t.data)===n(i.data)&&function(t,e){if("input"!==t.tag)return!0;var a,i=n(a=t.data)&&n(a=a.attrs)&&a.type,r=n(a=e.data)&&n(a=a.attrs)&&a.type;return i===r||Kn(i)&&Kn(r)}(t,i)||a(t.isAsyncPlaceholder)&&t.asyncFactory===i.asyncFactory&&e(i.asyncFactory.error))}function aa(t,e,a){var i,r,s={};for(i=e;i<=a;++i)n(r=t[i].key)&&(s[r]=i);return s}var ia={create:ra,update:ra,destroy:function(t){ra(t,ta)}};function ra(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,a,i,r=t===ta,s=e===ta,o=oa(t.data.directives,t.context),l=oa(e.data.directives,e.context),c=[],u=[];for(n in l)a=o[n],i=l[n],a?(i.oldValue=a.value,i.oldArg=a.arg,ca(i,"update",e,t),i.def&&i.def.componentUpdated&&u.push(i)):(ca(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n<c.length;n++)ca(c[n],"inserted",e,t)};r?re(e,"insert",d):d()}u.length&&re(e,"postpatch",(function(){for(var n=0;n<u.length;n++)ca(u[n],"componentUpdated",e,t)}));if(!r)for(n in o)l[n]||ca(o[n],"unbind",t,t,s)}(t,e)}var sa=Object.create(null);function oa(t,e){var n,a,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)(a=t[n]).modifiers||(a.modifiers=sa),i[la(a)]=a,a.def=Ft(e.$options,"directives",a.name);return i}function la(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function ca(t,e,n,a,i){var r=t.def&&t.def[e];if(r)try{r(n.elm,t,n,a,i)}catch(a){Bt(a,n.context,"directive "+t.name+" "+e+" hook")}}var ua=[Xn,ia];function da(t,a){var i=a.componentOptions;if(!(n(i)&&!1===i.Ctor.options.inheritAttrs||e(t.data.attrs)&&e(a.data.attrs))){var r,s,o=a.elm,l=t.data.attrs||{},c=a.data.attrs||{};for(r in n(c.__ob__)&&(c=a.data.attrs=T({},c)),c)s=c[r],l[r]!==s&&pa(o,r,s);for(r in(Q||K)&&c.value!==l.value&&pa(o,"value",c.value),l)e(c[r])&&(On(r)?o.removeAttributeNS(Fn,Mn(r)):Ln(r)||o.removeAttribute(r))}}function pa(t,e,n){t.tagName.indexOf("-")>-1?fa(t,e,n):In(e)?jn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Ln(e)?t.setAttribute(e,function(t,e){return jn(e)||"false"===e?"false":"contenteditable"===t&&Pn(e)?e:"true"}(e,n)):On(e)?jn(n)?t.removeAttributeNS(Fn,Mn(e)):t.setAttributeNS(Fn,e,n):fa(t,e,n)}function fa(t,e,n){if(jn(n))t.removeAttribute(e);else{if(Q&&!G&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var a=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",a)};t.addEventListener("input",a),t.__ieph=!0}t.setAttribute(e,n)}}var ha={create:da,update:da};function va(t,a){var i=a.elm,r=a.data,s=t.data;if(!(e(r.staticClass)&&e(r.class)&&(e(s)||e(s.staticClass)&&e(s.class)))){var o=Rn(a),l=i._transitionClasses;n(l)&&(o=zn(o,qn(l))),o!==i._prevClass&&(i.setAttribute("class",o),i._prevClass=o)}}var ma,ga,_a,ya,ba,wa,ka={create:va,update:va},xa=/[\w).+\-_$\]]/;function Ca(t){var e,n,a,i,r,s=!1,o=!1,l=!1,c=!1,u=0,d=0,p=0,f=0;for(a=0;a<t.length;a++)if(n=e,e=t.charCodeAt(a),s)39===e&&92!==n&&(s=!1);else if(o)34===e&&92!==n&&(o=!1);else if(l)96===e&&92!==n&&(l=!1);else if(c)47===e&&92!==n&&(c=!1);else if(124!==e||124===t.charCodeAt(a+1)||124===t.charCodeAt(a-1)||u||d||p){switch(e){case 34:o=!0;break;case 39:s=!0;break;case 96:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===e){for(var h=a-1,v=void 0;h>=0&&" "===(v=t.charAt(h));h--);v&&xa.test(v)||(c=!0)}}else void 0===i?(f=a+1,i=t.slice(0,a).trim()):m();function m(){(r||(r=[])).push(t.slice(f,a).trim()),f=a+1}if(void 0===i?i=t.slice(0,a).trim():0!==f&&m(),r)for(a=0;a<r.length;a++)i=Aa(i,r[a]);return i}function Aa(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var a=e.slice(0,n),i=e.slice(n+1);return'_f("'+a+'")('+t+(")"!==i?","+i:i)}function Ta(t,e){console.error("[Vue compiler]: "+t)}function $a(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function Sa(t,e,n,a,i){(t.props||(t.props=[])).push(Ma({name:e,value:n,dynamic:i},a)),t.plain=!1}function Na(t,e,n,a,i){(i?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Ma({name:e,value:n,dynamic:i},a)),t.plain=!1}function Da(t,e,n,a){t.attrsMap[e]=n,t.attrsList.push(Ma({name:e,value:n},a))}function Ea(t,e,n,a,i,r,s,o){(t.directives||(t.directives=[])).push(Ma({name:e,rawName:n,value:a,arg:i,isDynamicArg:r,modifiers:s},o)),t.plain=!1}function La(t,e,n){return n?"_p("+e+',"'+t+'")':t+e}function Pa(e,n,a,i,r,s,o,l){var c;(i=i||t).right?l?n="("+n+")==='click'?'contextmenu':("+n+")":"click"===n&&(n="contextmenu",delete i.right):i.middle&&(l?n="("+n+")==='click'?'mouseup':("+n+")":"click"===n&&(n="mouseup")),i.capture&&(delete i.capture,n=La("!",n,l)),i.once&&(delete i.once,n=La("~",n,l)),i.passive&&(delete i.passive,n=La("&",n,l)),i.native?(delete i.native,c=e.nativeEvents||(e.nativeEvents={})):c=e.events||(e.events={});var u=Ma({value:a.trim(),dynamic:l},o);i!==t&&(u.modifiers=i);var d=c[n];Array.isArray(d)?r?d.unshift(u):d.push(u):c[n]=d?r?[u,d]:[d,u]:u,e.plain=!1}function Ia(t,e,n){var a=Fa(t,":"+e)||Fa(t,"v-bind:"+e);if(null!=a)return Ca(a);if(!1!==n){var i=Fa(t,e);if(null!=i)return JSON.stringify(i)}}function Fa(t,e,n){var a;if(null!=(a=t.attrsMap[e]))for(var i=t.attrsList,r=0,s=i.length;r<s;r++)if(i[r].name===e){i.splice(r,1);break}return n&&delete t.attrsMap[e],a}function Oa(t,e){for(var n=t.attrsList,a=0,i=n.length;a<i;a++){var r=n[a];if(e.test(r.name))return n.splice(a,1),r}}function Ma(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function ja(t,e,n){var a=n||{},i=a.number,r="$$v";a.trim&&(r="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(r="_n("+r+")");var s=Ra(e,r);t.model={value:"("+e+")",expression:JSON.stringify(e),callback:"function ($$v) {"+s+"}"}}function Ra(t,e){var n=function(t){if(t=t.trim(),ma=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<ma-1)return(ya=t.lastIndexOf("."))>-1?{exp:t.slice(0,ya),key:'"'+t.slice(ya+1)+'"'}:{exp:t,key:null};ga=t,ya=ba=wa=0;for(;!za();)qa(_a=Ba())?Ua(_a):91===_a&&Ha(_a);return{exp:t.slice(0,ba),key:t.slice(ba+1,wa)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Ba(){return ga.charCodeAt(++ya)}function za(){return ya>=ma}function qa(t){return 34===t||39===t}function Ha(t){var e=1;for(ba=ya;!za();)if(qa(t=Ba()))Ua(t);else if(91===t&&e++,93===t&&e--,0===e){wa=ya;break}}function Ua(t){for(var e=t;!za()&&(t=Ba())!==e;);}var Va;function Wa(t,e,n){var a=Va;return function i(){var r=e.apply(null,arguments);null!==r&&Ka(t,i,n,a)}}var Qa=Vt&&!(J&&Number(J[1])<=53);function Ga(t,e,n,a){if(Qa){var i=rn,r=e;e=r._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return r.apply(this,arguments)}}Va.addEventListener(t,e,Z?{capture:n,passive:a}:n)}function Ka(t,e,n,a){(a||Va).removeEventListener(t,e._wrapper||e,n)}function Ya(t,a){if(!e(t.data.on)||!e(a.data.on)){var i=a.data.on||{},r=t.data.on||{};Va=a.elm,function(t){if(n(t.__r)){var e=Q?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}n(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(i),ie(i,r,Ga,Ka,Wa,a.context),Va=void 0}}var Ja,Xa={create:Ya,update:Ya};function Za(t,a){if(!e(t.data.domProps)||!e(a.data.domProps)){var i,r,s=a.elm,o=t.data.domProps||{},l=a.data.domProps||{};for(i in n(l.__ob__)&&(l=a.data.domProps=T({},l)),o)i in l||(s[i]="");for(i in l){if(r=l[i],"textContent"===i||"innerHTML"===i){if(a.children&&(a.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=e(r)?"":String(r);ti(s,c)&&(s.value=c)}else if("innerHTML"===i&&Vn(s.tagName)&&e(s.innerHTML)){(Ja=Ja||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var u=Ja.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;u.firstChild;)s.appendChild(u.firstChild)}else if(r!==o[i])try{s[i]=r}catch(t){}}}}function ti(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var a=t.value,i=t._vModifiers;if(n(i)){if(i.number)return d(a)!==d(e);if(i.trim)return a.trim()!==e.trim()}return a!==e}(t,e))}var ei={create:Za,update:Za},ni=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var a=t.split(n);a.length>1&&(e[a[0].trim()]=a[1].trim())}})),e}));function ai(t){var e=ii(t.style);return t.staticStyle?T(t.staticStyle,e):e}function ii(t){return Array.isArray(t)?$(t):"string"==typeof t?ni(t):t}var ri,si=/^--/,oi=/\s*!important$/,li=function(t,e,n){if(si.test(e))t.style.setProperty(e,n);else if(oi.test(n))t.style.setProperty(x(e),n.replace(oi,""),"important");else{var a=ui(e);if(Array.isArray(n))for(var i=0,r=n.length;i<r;i++)t.style[a]=n[i];else t.style[a]=n}},ci=["Webkit","Moz","ms"],ui=_((function(t){if(ri=ri||document.createElement("div").style,"filter"!==(t=b(t))&&t in ri)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<ci.length;n++){var a=ci[n]+e;if(a in ri)return a}}));function di(t,a){var i=a.data,r=t.data;if(!(e(i.staticStyle)&&e(i.style)&&e(r.staticStyle)&&e(r.style))){var s,o,l=a.elm,c=r.staticStyle,u=r.normalizedStyle||r.style||{},d=c||u,p=ii(a.data.style)||{};a.data.normalizedStyle=n(p.__ob__)?T({},p):p;var f=function(t,e){var n,a={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=ai(i.data))&&T(a,n);(n=ai(t.data))&&T(a,n);for(var r=t;r=r.parent;)r.data&&(n=ai(r.data))&&T(a,n);return a}(a,!0);for(o in d)e(f[o])&&li(l,o,"");for(o in f)(s=f[o])!==d[o]&&li(l,o,null==s?"":s)}}var pi={create:di,update:di},fi=/\s+/;function hi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(fi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function vi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(fi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",a=" "+e+" ";n.indexOf(a)>=0;)n=n.replace(a," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function mi(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&T(e,gi(t.name||"v")),T(e,t),e}return"string"==typeof t?gi(t):void 0}}var gi=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),_i=H&&!G,yi="transition",bi="transitionend",wi="animation",ki="animationend";_i&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(yi="WebkitTransition",bi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(wi="WebkitAnimation",ki="webkitAnimationEnd"));var xi=H?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Ci(t){xi((function(){xi(t)}))}function Ai(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),hi(t,e))}function Ti(t,e){t._transitionClasses&&v(t._transitionClasses,e),vi(t,e)}function $i(t,e,n){var a=Ni(t,e),i=a.type,r=a.timeout,s=a.propCount;if(!i)return n();var o="transition"===i?bi:ki,l=0,c=function(){t.removeEventListener(o,u),n()},u=function(e){e.target===t&&++l>=s&&c()};setTimeout((function(){l<s&&c()}),r+1),t.addEventListener(o,u)}var Si=/\b(transform|all)(,|$)/;function Ni(t,e){var n,a=window.getComputedStyle(t),i=(a[yi+"Delay"]||"").split(", "),r=(a[yi+"Duration"]||"").split(", "),s=Di(i,r),o=(a[wi+"Delay"]||"").split(", "),l=(a[wi+"Duration"]||"").split(", "),c=Di(o,l),u=0,d=0;return"transition"===e?s>0&&(n="transition",u=s,d=r.length):"animation"===e?c>0&&(n="animation",u=c,d=l.length):d=(n=(u=Math.max(s,c))>0?s>c?"transition":"animation":null)?"transition"===n?r.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:"transition"===n&&Si.test(a[yi+"Property"])}}function Di(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Ei(e)+Ei(t[n])})))}function Ei(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Li(t,a){var i=t.elm;n(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var s=mi(t.data.transition);if(!e(s)&&!n(i._enterCb)&&1===i.nodeType){for(var o=s.css,l=s.type,c=s.enterClass,u=s.enterToClass,p=s.enterActiveClass,f=s.appearClass,h=s.appearToClass,v=s.appearActiveClass,m=s.beforeEnter,g=s.enter,_=s.afterEnter,y=s.enterCancelled,b=s.beforeAppear,w=s.appear,k=s.afterAppear,x=s.appearCancelled,C=s.duration,A=Qe,T=Qe.$vnode;T&&T.parent;)A=T.context,T=T.parent;var $=!A._isMounted||!t.isRootInsert;if(!$||w||""===w){var S=$&&f?f:c,N=$&&v?v:p,D=$&&h?h:u,E=$&&b||m,L=$&&"function"==typeof w?w:g,I=$&&k||_,F=$&&x||y,O=d(r(C)?C.enter:C),M=!1!==o&&!G,j=Fi(L),R=i._enterCb=P((function(){M&&(Ti(i,D),Ti(i,N)),R.cancelled?(M&&Ti(i,S),F&&F(i)):I&&I(i),i._enterCb=null}));t.data.show||re(t,"insert",(function(){var e=i.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),L&&L(i,R)})),E&&E(i),M&&(Ai(i,S),Ai(i,N),Ci((function(){Ti(i,S),R.cancelled||(Ai(i,D),j||(Ii(O)?setTimeout(R,O):$i(i,l,R)))}))),t.data.show&&(a&&a(),L&&L(i,R)),M||j||R()}}}function Pi(t,a){var i=t.elm;n(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var s=mi(t.data.transition);if(e(s)||1!==i.nodeType)return a();if(!n(i._leaveCb)){var o=s.css,l=s.type,c=s.leaveClass,u=s.leaveToClass,p=s.leaveActiveClass,f=s.beforeLeave,h=s.leave,v=s.afterLeave,m=s.leaveCancelled,g=s.delayLeave,_=s.duration,y=!1!==o&&!G,b=Fi(h),w=d(r(_)?_.leave:_),k=i._leaveCb=P((function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),y&&(Ti(i,u),Ti(i,p)),k.cancelled?(y&&Ti(i,c),m&&m(i)):(a(),v&&v(i)),i._leaveCb=null}));g?g(x):x()}function x(){k.cancelled||(!t.data.show&&i.parentNode&&((i.parentNode._pending||(i.parentNode._pending={}))[t.key]=t),f&&f(i),y&&(Ai(i,c),Ai(i,p),Ci((function(){Ti(i,c),k.cancelled||(Ai(i,u),b||(Ii(w)?setTimeout(k,w):$i(i,l,k)))}))),h&&h(i,k),y||b||k())}}function Ii(t){return"number"==typeof t&&!isNaN(t)}function Fi(t){if(e(t))return!1;var a=t.fns;return n(a)?Fi(Array.isArray(a)?a[0]:a):(t._length||t.length)>1}function Oi(t,e){!0!==e.data.show&&Li(e)}var Mi=function(t){var r,s,o={},l=t.modules,c=t.nodeOps;for(r=0;r<ea.length;++r)for(o[ea[r]]=[],s=0;s<l.length;++s)n(l[s][ea[r]])&&o[ea[r]].push(l[s][ea[r]]);function u(t){var e=c.parentNode(t);n(e)&&c.removeChild(e,t)}function d(t,e,i,r,s,l,u){if(n(t.elm)&&n(l)&&(t=l[u]=mt(t)),t.isRootInsert=!s,!function(t,e,i,r){var s=t.data;if(n(s)){var l=n(t.componentInstance)&&s.keepAlive;if(n(s=s.hook)&&n(s=s.init)&&s(t,!1),n(t.componentInstance))return f(t,e),h(i,t.elm,r),a(l)&&function(t,e,a,i){var r,s=t;for(;s.componentInstance;)if(s=s.componentInstance._vnode,n(r=s.data)&&n(r=r.transition)){for(r=0;r<o.activate.length;++r)o.activate[r](ta,s);e.push(s);break}h(a,t.elm,i)}(t,e,i,r),!0}}(t,e,i,r)){var d=t.data,p=t.children,m=t.tag;n(m)?(t.elm=t.ns?c.createElementNS(t.ns,m):c.createElement(m,t),_(t),v(t,p,e),n(d)&&g(t,e),h(i,t.elm,r)):a(t.isComment)?(t.elm=c.createComment(t.text),h(i,t.elm,r)):(t.elm=c.createTextNode(t.text),h(i,t.elm,r))}}function f(t,e){n(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,m(t)?(g(t,e),_(t)):(Zn(t),e.push(t))}function h(t,e,a){n(t)&&(n(a)?c.parentNode(a)===t&&c.insertBefore(t,e,a):c.appendChild(t,e))}function v(t,e,n){if(Array.isArray(e))for(var a=0;a<e.length;++a)d(e[a],n,t.elm,null,!0,e,a);else i(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function m(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return n(t.tag)}function g(t,e){for(var a=0;a<o.create.length;++a)o.create[a](ta,t);n(r=t.data.hook)&&(n(r.create)&&r.create(ta,t),n(r.insert)&&e.push(t))}function _(t){var e;if(n(e=t.fnScopeId))c.setStyleScope(t.elm,e);else for(var a=t;a;)n(e=a.context)&&n(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),a=a.parent;n(e=Qe)&&e!==t.context&&e!==t.fnContext&&n(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function y(t,e,n,a,i,r){for(;a<=i;++a)d(n[a],r,t,e,!1,n,a)}function b(t){var e,a,i=t.data;if(n(i))for(n(e=i.hook)&&n(e=e.destroy)&&e(t),e=0;e<o.destroy.length;++e)o.destroy[e](t);if(n(e=t.children))for(a=0;a<t.children.length;++a)b(t.children[a])}function w(t,e,a){for(;e<=a;++e){var i=t[e];n(i)&&(n(i.tag)?(k(i),b(i)):u(i.elm))}}function k(t,e){if(n(e)||n(t.data)){var a,i=o.remove.length+1;for(n(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&u(t)}return n.listeners=e,n}(t.elm,i),n(a=t.componentInstance)&&n(a=a._vnode)&&n(a.data)&&k(a,e),a=0;a<o.remove.length;++a)o.remove[a](t,e);n(a=t.data.hook)&&n(a=a.remove)?a(t,e):e()}else u(t.elm)}function x(t,e,a,i){for(var r=a;r<i;r++){var s=e[r];if(n(s)&&na(t,s))return r}}function C(t,i,r,s,l,u){if(t!==i){n(i.elm)&&n(s)&&(i=s[l]=mt(i));var p=i.elm=t.elm;if(a(t.isAsyncPlaceholder))n(i.asyncFactory.resolved)?$(t.elm,i,r):i.isAsyncPlaceholder=!0;else if(a(i.isStatic)&&a(t.isStatic)&&i.key===t.key&&(a(i.isCloned)||a(i.isOnce)))i.componentInstance=t.componentInstance;else{var f,h=i.data;n(h)&&n(f=h.hook)&&n(f=f.prepatch)&&f(t,i);var v=t.children,g=i.children;if(n(h)&&m(i)){for(f=0;f<o.update.length;++f)o.update[f](t,i);n(f=h.hook)&&n(f=f.update)&&f(t,i)}e(i.text)?n(v)&&n(g)?v!==g&&function(t,a,i,r,s){for(var o,l,u,p=0,f=0,h=a.length-1,v=a[0],m=a[h],g=i.length-1,_=i[0],b=i[g],k=!s;p<=h&&f<=g;)e(v)?v=a[++p]:e(m)?m=a[--h]:na(v,_)?(C(v,_,r,i,f),v=a[++p],_=i[++f]):na(m,b)?(C(m,b,r,i,g),m=a[--h],b=i[--g]):na(v,b)?(C(v,b,r,i,g),k&&c.insertBefore(t,v.elm,c.nextSibling(m.elm)),v=a[++p],b=i[--g]):na(m,_)?(C(m,_,r,i,f),k&&c.insertBefore(t,m.elm,v.elm),m=a[--h],_=i[++f]):(e(o)&&(o=aa(a,p,h)),e(l=n(_.key)?o[_.key]:x(_,a,p,h))?d(_,r,t,v.elm,!1,i,f):na(u=a[l],_)?(C(u,_,r,i,f),a[l]=void 0,k&&c.insertBefore(t,u.elm,v.elm)):d(_,r,t,v.elm,!1,i,f),_=i[++f]);p>h?y(t,e(i[g+1])?null:i[g+1].elm,i,f,g,r):f>g&&w(a,p,h)}(p,v,g,r,u):n(g)?(n(t.text)&&c.setTextContent(p,""),y(p,null,g,0,g.length-1,r)):n(v)?w(v,0,v.length-1):n(t.text)&&c.setTextContent(p,""):t.text!==i.text&&c.setTextContent(p,i.text),n(h)&&n(f=h.hook)&&n(f=f.postpatch)&&f(t,i)}}}function A(t,e,i){if(a(i)&&n(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var T=p("attrs,class,staticClass,staticStyle,key");function $(t,e,i,r){var s,o=e.tag,l=e.data,c=e.children;if(r=r||l&&l.pre,e.elm=t,a(e.isComment)&&n(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(n(l)&&(n(s=l.hook)&&n(s=s.init)&&s(e,!0),n(s=e.componentInstance)))return f(e,i),!0;if(n(o)){if(n(c))if(t.hasChildNodes())if(n(s=l)&&n(s=s.domProps)&&n(s=s.innerHTML)){if(s!==t.innerHTML)return!1}else{for(var u=!0,d=t.firstChild,p=0;p<c.length;p++){if(!d||!$(d,c[p],i,r)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else v(e,c,i);if(n(l)){var h=!1;for(var m in l)if(!T(m)){h=!0,g(e,i);break}!h&&l.class&&ee(l.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,i,r,s){if(!e(i)){var l,u=!1,p=[];if(e(t))u=!0,d(i,p);else{var f=n(t.nodeType);if(!f&&na(t,i))C(t,i,p,null,null,s);else{if(f){if(1===t.nodeType&&t.hasAttribute("data-server-rendered")&&(t.removeAttribute("data-server-rendered"),r=!0),a(r)&&$(t,i,p))return A(i,p,!0),t;l=t,t=new pt(c.tagName(l).toLowerCase(),{},[],void 0,l)}var h=t.elm,v=c.parentNode(h);if(d(i,p,h._leaveCb?null:v,c.nextSibling(h)),n(i.parent))for(var g=i.parent,_=m(i);g;){for(var y=0;y<o.destroy.length;++y)o.destroy[y](g);if(g.elm=i.elm,_){for(var k=0;k<o.create.length;++k)o.create[k](ta,g);var x=g.data.hook.insert;if(x.merged)for(var T=1;T<x.fns.length;T++)x.fns[T]()}else Zn(g);g=g.parent}n(v)?w([t],0,0):n(t.tag)&&b(t)}}return A(i,p,u),i.elm}n(t)&&b(t)}}({nodeOps:Jn,modules:[ha,ka,Xa,ei,pi,H?{create:Oi,activate:Oi,remove:function(t,e){!0!==t.data.show?Pi(t,e):e()}}:{}].concat(ua)});G&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Vi(t,"input")}));var ji={inserted:function(t,e,n,a){"select"===n.tag?(a.elm&&!a.elm._vOptions?re(n,"postpatch",(function(){ji.componentUpdated(t,e,n)})):Ri(t,e,n.context),t._vOptions=[].map.call(t.options,qi)):("textarea"===n.tag||Kn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Hi),t.addEventListener("compositionend",Ui),t.addEventListener("change",Ui),G&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Ri(t,e,n.context);var a=t._vOptions,i=t._vOptions=[].map.call(t.options,qi);if(i.some((function(t,e){return!E(t,a[e])})))(t.multiple?e.value.some((function(t){return zi(t,i)})):e.value!==e.oldValue&&zi(e.value,i))&&Vi(t,"change")}}};function Ri(t,e,n){Bi(t,e),(Q||K)&&setTimeout((function(){Bi(t,e)}),0)}function Bi(t,e,n){var a=e.value,i=t.multiple;if(!i||Array.isArray(a)){for(var r,s,o=0,l=t.options.length;o<l;o++)if(s=t.options[o],i)r=L(a,qi(s))>-1,s.selected!==r&&(s.selected=r);else if(E(qi(s),a))return void(t.selectedIndex!==o&&(t.selectedIndex=o));i||(t.selectedIndex=-1)}}function zi(t,e){return e.every((function(e){return!E(e,t)}))}function qi(t){return"_value"in t?t._value:t.value}function Hi(t){t.target.composing=!0}function Ui(t){t.target.composing&&(t.target.composing=!1,Vi(t.target,"input"))}function Vi(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Wi(t){return!t.componentInstance||t.data&&t.data.transition?t:Wi(t.componentInstance._vnode)}var Qi={model:ji,show:{bind:function(t,e,n){var a=e.value,i=(n=Wi(n)).data&&n.data.transition,r=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;a&&i?(n.data.show=!0,Li(n,(function(){t.style.display=r}))):t.style.display=a?r:"none"},update:function(t,e,n){var a=e.value;!a!=!e.oldValue&&((n=Wi(n)).data&&n.data.transition?(n.data.show=!0,a?Li(n,(function(){t.style.display=t.__vOriginalDisplay})):Pi(n,(function(){t.style.display="none"}))):t.style.display=a?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,a,i){i||(t.style.display=t.__vOriginalDisplay)}}},Gi={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 Ki(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ki(qe(e.children)):t}function Yi(t){var e={},n=t.$options;for(var a in n.propsData)e[a]=t[a];var i=n._parentListeners;for(var r in i)e[b(r)]=i[r];return e}function Ji(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Xi=function(t){return t.tag||ze(t)},Zi=function(t){return"show"===t.name},tr={name:"transition",props:Gi,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Xi)).length){var a=this.mode,r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var s=Ki(r);if(!s)return r;if(this._leaving)return Ji(t,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=Yi(this),c=this._vnode,u=Ki(c);if(s.data.directives&&s.data.directives.some(Zi)&&(s.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(s,u)&&!ze(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=T({},l);if("out-in"===a)return this._leaving=!0,re(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ji(t,r);if("in-out"===a){if(ze(s))return c;var p,f=function(){p()};re(l,"afterEnter",f),re(l,"enterCancelled",f),re(d,"delayLeave",(function(t){p=t}))}}return r}}},er=T({tag:String,moveClass:String},Gi);function nr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ar(t){t.data.newPos=t.elm.getBoundingClientRect()}function ir(t){var e=t.data.pos,n=t.data.newPos,a=e.left-n.left,i=e.top-n.top;if(a||i){t.data.moved=!0;var r=t.elm.style;r.transform=r.WebkitTransform="translate("+a+"px,"+i+"px)",r.transitionDuration="0s"}}delete er.mode;var rr={Transition:tr,TransitionGroup:{props:er,beforeMount:function(){var t=this,e=this._update;this._update=function(n,a){var i=Ge(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,a)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),a=this.prevChildren=this.children,i=this.$slots.default||[],r=this.children=[],s=Yi(this),o=0;o<i.length;o++){var l=i[o];l.tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(r.push(l),n[l.key]=l,(l.data||(l.data={})).transition=s)}if(a){for(var c=[],u=[],d=0;d<a.length;d++){var p=a[d];p.data.transition=s,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?c.push(p):u.push(p)}this.kept=t(e,null,c),this.removed=u}return t(e,null,r)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(nr),t.forEach(ar),t.forEach(ir),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,a=n.style;Ai(n,e),a.transform=a.WebkitTransform=a.transitionDuration="",n.addEventListener(bi,n._moveCb=function t(a){a&&a.target!==n||a&&!/transform$/.test(a.propertyName)||(n.removeEventListener(bi,t),n._moveCb=null,Ti(n,e))})}})))},methods:{hasMove:function(t,e){if(!_i)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){vi(n,t)})),hi(n,e),n.style.display="none",this.$el.appendChild(n);var a=Ni(n);return this.$el.removeChild(n),this._hasMove=a.hasTransform}}}};wn.config.mustUseProp=En,wn.config.isReservedTag=Wn,wn.config.isReservedAttr=Nn,wn.config.getTagNamespace=Qn,wn.config.isUnknownElement=function(t){if(!H)return!0;if(Wn(t))return!1;if(t=t.toLowerCase(),null!=Gn[t])return Gn[t];var e=document.createElement(t);return t.indexOf("-")>-1?Gn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Gn[t]=/HTMLUnknownElement/.test(e.toString())},T(wn.options.directives,Qi),T(wn.options.components,rr),wn.prototype.__patch__=H?Mi:S,wn.prototype.$mount=function(t,e){return function(t,e,n){var a;return t.$el=e,t.$options.render||(t.$options.render=ht),Je(t,"beforeMount"),a=function(){t._update(t._render(),n)},new un(t,a,S,{before:function(){t._isMounted&&!t._isDestroyed&&Je(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Je(t,"mounted")),t}(this,t=t&&H?Yn(t):void 0,e)},H&&setTimeout((function(){O.devtools&&nt&&nt.emit("init",wn)}),0);var sr=/\{\{((?:.|\r?\n)+?)\}\}/g,or=/[-.*+?^${}()|[\]\/\\]/g,lr=_((function(t){var e=t[0].replace(or,"\\$&"),n=t[1].replace(or,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var cr={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Fa(t,"class");n&&(t.staticClass=JSON.stringify(n));var a=Ia(t,"class",!1);a&&(t.classBinding=a)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var ur,dr={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Fa(t,"style");n&&(t.staticStyle=JSON.stringify(ni(n)));var a=Ia(t,"style",!1);a&&(t.styleBinding=a)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},pr=function(t){return(ur=ur||document.createElement("div")).innerHTML=t,ur.textContent},fr=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),hr=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),vr=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"),mr=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,gr=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_r="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+M.source+"]*",yr="((?:"+_r+"\\:)?"+_r+")",br=new RegExp("^<"+yr),wr=/^\s*(\/?)>/,kr=new RegExp("^<\\/"+yr+"[^>]*>"),xr=/^<!DOCTYPE [^>]+>/i,Cr=/^<!\--/,Ar=/^<!\[/,Tr=p("script,style,textarea",!0),$r={},Sr={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},Nr=/&(?:lt|gt|quot|amp|#39);/g,Dr=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Er=p("pre,textarea",!0),Lr=function(t,e){return t&&Er(t)&&"\n"===e[0]};function Pr(t,e){var n=e?Dr:Nr;return t.replace(n,(function(t){return Sr[t]}))}var Ir,Fr,Or,Mr,jr,Rr,Br,zr,qr=/^@|^v-on:/,Hr=/^v-|^@|^:|^#/,Ur=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Vr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wr=/^\(|\)$/g,Qr=/^\[.*\]$/,Gr=/:(.*)$/,Kr=/^:|^\.|^v-bind:/,Yr=/\.[^.\]]+(?=[^\]]*$)/g,Jr=/^v-slot(:|$)|^#/,Xr=/[\r\n]/,Zr=/\s+/g,ts=_(pr);function es(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:ls(e),rawAttrsMap:{},parent:n,children:[]}}function ns(t,e){Ir=e.warn||Ta,Rr=e.isPreTag||N,Br=e.mustUseProp||N,zr=e.getTagNamespace||N;e.isReservedTag;Or=$a(e.modules,"transformNode"),Mr=$a(e.modules,"preTransformNode"),jr=$a(e.modules,"postTransformNode"),Fr=e.delimiters;var n,a,i=[],r=!1!==e.preserveWhitespace,s=e.whitespace,o=!1,l=!1;function c(t){if(u(t),o||t.processed||(t=as(t,e)),i.length||t===n||n.if&&(t.elseif||t.else)&&rs(n,{exp:t.elseif,block:t}),a&&!t.forbidden)if(t.elseif||t.else)s=t,(c=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(a.children))&&c.if&&rs(c,{exp:s.elseif,block:s});else{if(t.slotScope){var r=t.slotTarget||'"default"';(a.scopedSlots||(a.scopedSlots={}))[r]=t}a.children.push(t),t.parent=a}var s,c;t.children=t.children.filter((function(t){return!t.slotScope})),u(t),t.pre&&(o=!1),Rr(t.tag)&&(l=!1);for(var d=0;d<jr.length;d++)jr[d](t,e)}function u(t){if(!l)for(var e;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return function(t,e){for(var n,a,i=[],r=e.expectHTML,s=e.isUnaryTag||N,o=e.canBeLeftOpenTag||N,l=0;t;){if(n=t,a&&Tr(a)){var c=0,u=a.toLowerCase(),d=$r[u]||($r[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),p=t.replace(d,(function(t,n,a){return c=a.length,Tr(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Lr(u,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));l+=t.length-p.length,t=p,T(u,l-c,l)}else{var f=t.indexOf("<");if(0===f){if(Cr.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h),l,l+h+3),x(h+3);continue}}if(Ar.test(t)){var v=t.indexOf("]>");if(v>=0){x(v+2);continue}}var m=t.match(xr);if(m){x(m[0].length);continue}var g=t.match(kr);if(g){var _=l;x(g[0].length),T(g[1],_,l);continue}var y=C();if(y){A(y),Lr(y.tagName,t)&&x(1);continue}}var b=void 0,w=void 0,k=void 0;if(f>=0){for(w=t.slice(f);!(kr.test(w)||br.test(w)||Cr.test(w)||Ar.test(w)||(k=w.indexOf("<",1))<0);)f+=k,w=t.slice(f);b=t.substring(0,f)}f<0&&(b=t),b&&x(b.length),e.chars&&b&&e.chars(b,l-b.length,l)}if(t===n){e.chars&&e.chars(t);break}}function x(e){l+=e,t=t.substring(e)}function C(){var e=t.match(br);if(e){var n,a,i={tagName:e[1],attrs:[],start:l};for(x(e[0].length);!(n=t.match(wr))&&(a=t.match(gr)||t.match(mr));)a.start=l,x(a[0].length),a.end=l,i.attrs.push(a);if(n)return i.unarySlash=n[1],x(n[0].length),i.end=l,i}}function A(t){var n=t.tagName,l=t.unarySlash;r&&("p"===a&&vr(n)&&T(a),o(n)&&a===n&&T(n));for(var c=s(n)||!!l,u=t.attrs.length,d=new Array(u),p=0;p<u;p++){var f=t.attrs[p],h=f[3]||f[4]||f[5]||"",v="a"===n&&"href"===f[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;d[p]={name:f[1],value:Pr(h,v)}}c||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:t.start,end:t.end}),a=n),e.start&&e.start(n,d,c,t.start,t.end)}function T(t,n,r){var s,o;if(null==n&&(n=l),null==r&&(r=l),t)for(o=t.toLowerCase(),s=i.length-1;s>=0&&i[s].lowerCasedTag!==o;s--);else s=0;if(s>=0){for(var c=i.length-1;c>=s;c--)e.end&&e.end(i[c].tag,n,r);i.length=s,a=s&&i[s-1].tag}else"br"===o?e.start&&e.start(t,[],!0,n,r):"p"===o&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}T()}(t,{warn:Ir,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,r,s,u,d){var p=a&&a.ns||zr(t);Q&&"svg"===p&&(r=function(t){for(var e=[],n=0;n<t.length;n++){var a=t[n];cs.test(a.name)||(a.name=a.name.replace(us,""),e.push(a))}return e}(r));var f,h=es(t,r,a);p&&(h.ns=p),"style"!==(f=h).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||et()||(h.forbidden=!0);for(var v=0;v<Mr.length;v++)h=Mr[v](h,e)||h;o||(!function(t){null!=Fa(t,"v-pre")&&(t.pre=!0)}(h),h.pre&&(o=!0)),Rr(h.tag)&&(l=!0),o?function(t){var e=t.attrsList,n=e.length;if(n)for(var a=t.attrs=new Array(n),i=0;i<n;i++)a[i]={name:e[i].name,value:JSON.stringify(e[i].value)},null!=e[i].start&&(a[i].start=e[i].start,a[i].end=e[i].end);else t.pre||(t.plain=!0)}(h):h.processed||(is(h),function(t){var e=Fa(t,"v-if");if(e)t.if=e,rs(t,{exp:e,block:t});else{null!=Fa(t,"v-else")&&(t.else=!0);var n=Fa(t,"v-else-if");n&&(t.elseif=n)}}(h),function(t){null!=Fa(t,"v-once")&&(t.once=!0)}(h)),n||(n=h),s?c(h):(a=h,i.push(h))},end:function(t,e,n){var r=i[i.length-1];i.length-=1,a=i[i.length-1],c(r)},chars:function(t,e,n){if(a&&(!Q||"textarea"!==a.tag||a.attrsMap.placeholder!==t)){var i,c,u,d=a.children;if(t=l||t.trim()?"script"===(i=a).tag||"style"===i.tag?t:ts(t):d.length?s?"condense"===s&&Xr.test(t)?"":" ":r?" ":"":"")l||"condense"!==s||(t=t.replace(Zr," ")),!o&&" "!==t&&(c=function(t,e){var n=e?lr(e):sr;if(n.test(t)){for(var a,i,r,s=[],o=[],l=n.lastIndex=0;a=n.exec(t);){(i=a.index)>l&&(o.push(r=t.slice(l,i)),s.push(JSON.stringify(r)));var c=Ca(a[1].trim());s.push("_s("+c+")"),o.push({"@binding":c}),l=i+a[0].length}return l<t.length&&(o.push(r=t.slice(l)),s.push(JSON.stringify(r))),{expression:s.join("+"),tokens:o}}}(t,Fr))?u={type:2,expression:c.expression,tokens:c.tokens,text:t}:" "===t&&d.length&&" "===d[d.length-1].text||(u={type:3,text:t}),u&&d.push(u)}},comment:function(t,e,n){if(a){var i={type:3,text:t,isComment:!0};a.children.push(i)}}}),n}function as(t,e){var n,a;(a=Ia(n=t,"key"))&&(n.key=a),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=Ia(t,"ref");e&&(t.ref=e,t.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=Fa(t,"scope"),t.slotScope=e||Fa(t,"slot-scope")):(e=Fa(t,"slot-scope"))&&(t.slotScope=e);var n=Ia(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Na(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot")));if("template"===t.tag){var a=Oa(t,Jr);if(a){var i=ss(a),r=i.name,s=i.dynamic;t.slotTarget=r,t.slotTargetDynamic=s,t.slotScope=a.value||"_empty_"}}else{var o=Oa(t,Jr);if(o){var l=t.scopedSlots||(t.scopedSlots={}),c=ss(o),u=c.name,d=c.dynamic,p=l[u]=es("template",[],t);p.slotTarget=u,p.slotTargetDynamic=d,p.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=p,!0})),p.slotScope=o.value||"_empty_",t.children=[],t.plain=!1}}}(t),function(t){"slot"===t.tag&&(t.slotName=Ia(t,"name"))}(t),function(t){var e;(e=Ia(t,"is"))&&(t.component=e);null!=Fa(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var i=0;i<Or.length;i++)t=Or[i](t,e)||t;return function(t){var e,n,a,i,r,s,o,l,c=t.attrsList;for(e=0,n=c.length;e<n;e++)if(a=i=c[e].name,r=c[e].value,Hr.test(a))if(t.hasBindings=!0,(s=os(a.replace(Hr,"")))&&(a=a.replace(Yr,"")),Kr.test(a))a=a.replace(Kr,""),r=Ca(r),(l=Qr.test(a))&&(a=a.slice(1,-1)),s&&(s.prop&&!l&&"innerHtml"===(a=b(a))&&(a="innerHTML"),s.camel&&!l&&(a=b(a)),s.sync&&(o=Ra(r,"$event"),l?Pa(t,'"update:"+('+a+")",o,null,!1,0,c[e],!0):(Pa(t,"update:"+b(a),o,null,!1,0,c[e]),x(a)!==b(a)&&Pa(t,"update:"+x(a),o,null,!1,0,c[e])))),s&&s.prop||!t.component&&Br(t.tag,t.attrsMap.type,a)?Sa(t,a,r,c[e],l):Na(t,a,r,c[e],l);else if(qr.test(a))a=a.replace(qr,""),(l=Qr.test(a))&&(a=a.slice(1,-1)),Pa(t,a,r,s,!1,0,c[e],l);else{var u=(a=a.replace(Hr,"")).match(Gr),d=u&&u[1];l=!1,d&&(a=a.slice(0,-(d.length+1)),Qr.test(d)&&(d=d.slice(1,-1),l=!0)),Ea(t,a,i,r,d,l,s,c[e])}else Na(t,a,JSON.stringify(r),c[e]),!t.component&&"muted"===a&&Br(t.tag,t.attrsMap.type,a)&&Sa(t,a,"true",c[e])}(t),t}function is(t){var e;if(e=Fa(t,"v-for")){var n=function(t){var e=t.match(Ur);if(!e)return;var n={};n.for=e[2].trim();var a=e[1].trim().replace(Wr,""),i=a.match(Vr);i?(n.alias=a.replace(Vr,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=a;return n}(e);n&&T(t,n)}}function rs(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function ss(t){var e=t.name.replace(Jr,"");return e||"#"!==t.name[0]&&(e="default"),Qr.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function os(t){var e=t.match(Yr);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function ls(t){for(var e={},n=0,a=t.length;n<a;n++)e[t[n].name]=t[n].value;return e}var cs=/^xmlns:NS\d+/,us=/^NS\d+:/;function ds(t){return es(t.tag,t.attrsList.slice(),t.parent)}var ps=[cr,dr,{preTransformNode:function(t,e){if("input"===t.tag){var n,a=t.attrsMap;if(!a["v-model"])return;if((a[":type"]||a["v-bind:type"])&&(n=Ia(t,"type")),a.type||n||!a["v-bind"]||(n="("+a["v-bind"]+").type"),n){var i=Fa(t,"v-if",!0),r=i?"&&("+i+")":"",s=null!=Fa(t,"v-else",!0),o=Fa(t,"v-else-if",!0),l=ds(t);is(l),Da(l,"type","checkbox"),as(l,e),l.processed=!0,l.if="("+n+")==='checkbox'"+r,rs(l,{exp:l.if,block:l});var c=ds(t);Fa(c,"v-for",!0),Da(c,"type","radio"),as(c,e),rs(l,{exp:"("+n+")==='radio'"+r,block:c});var u=ds(t);return Fa(u,"v-for",!0),Da(u,":type",n),as(u,e),rs(l,{exp:i,block:u}),s?l.else=!0:o&&(l.elseif=o),l}}}}];var fs,hs,vs={expectHTML:!0,modules:ps,directives:{model:function(t,e,n){var a=e.value,i=e.modifiers,r=t.tag,s=t.attrsMap.type;if(t.component)return ja(t,a,i),!1;if("select"===r)!function(t,e,n){var a='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";a=a+" "+Ra(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Pa(t,"change",a,null,!0)}(t,a,i);else if("input"===r&&"checkbox"===s)!function(t,e,n){var a=n&&n.number,i=Ia(t,"value")||"null",r=Ia(t,"true-value")||"true",s=Ia(t,"false-value")||"false";Sa(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===r?":("+e+")":":_q("+e+","+r+")")),Pa(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+s+");if(Array.isArray($$a)){var $$v="+(a?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Ra(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Ra(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Ra(e,"$$c")+"}",null,!0)}(t,a,i);else if("input"===r&&"radio"===s)!function(t,e,n){var a=n&&n.number,i=Ia(t,"value")||"null";Sa(t,"checked","_q("+e+","+(i=a?"_n("+i+")":i)+")"),Pa(t,"change",Ra(e,i),null,!0)}(t,a,i);else if("input"===r||"textarea"===r)!function(t,e,n){var a=t.attrsMap.type,i=n||{},r=i.lazy,s=i.number,o=i.trim,l=!r&&"range"!==a,c=r?"change":"range"===a?"__r":"input",u="$event.target.value";o&&(u="$event.target.value.trim()");s&&(u="_n("+u+")");var d=Ra(e,u);l&&(d="if($event.target.composing)return;"+d);Sa(t,"value","("+e+")"),Pa(t,c,d,null,!0),(o||s)&&Pa(t,"blur","$forceUpdate()")}(t,a,i);else if(!O.isReservedTag(r))return ja(t,a,i),!1;return!0},text:function(t,e){e.value&&Sa(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Sa(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:fr,mustUseProp:En,canBeLeftOpenTag:hr,isReservedTag:Wn,getTagNamespace:Qn,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(ps)},ms=_((function(t){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function gs(t,e){t&&(fs=ms(e.staticKeys||""),hs=e.isReservedTag||N,function t(e){if(e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||f(t.tag)||!hs(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(fs)))}(e),1===e.type){if(!hs(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,a=e.children.length;n<a;n++){var i=e.children[n];t(i),i.static||(e.static=!1)}if(e.ifConditions)for(var r=1,s=e.ifConditions.length;r<s;r++){var o=e.ifConditions[r].block;t(o),o.static||(e.static=!1)}}}(t),function t(e,n){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=n),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var a=0,i=e.children.length;a<i;a++)t(e.children[a],n||!!e.for);if(e.ifConditions)for(var r=1,s=e.ifConditions.length;r<s;r++)t(e.ifConditions[r].block,n)}}(t,!1))}var _s=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,ys=/\([^)]*?\);*$/,bs=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ws={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ks={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"]},xs=function(t){return"if("+t+")return null;"},Cs={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:xs("$event.target !== $event.currentTarget"),ctrl:xs("!$event.ctrlKey"),shift:xs("!$event.shiftKey"),alt:xs("!$event.altKey"),meta:xs("!$event.metaKey"),left:xs("'button' in $event && $event.button !== 0"),middle:xs("'button' in $event && $event.button !== 1"),right:xs("'button' in $event && $event.button !== 2")};function As(t,e){var n=e?"nativeOn:":"on:",a="",i="";for(var r in t){var s=Ts(t[r]);t[r]&&t[r].dynamic?i+=r+","+s+",":a+='"'+r+'":'+s+","}return a="{"+a.slice(0,-1)+"}",i?n+"_d("+a+",["+i.slice(0,-1)+"])":n+a}function Ts(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return Ts(t)})).join(",")+"]";var e=bs.test(t.value),n=_s.test(t.value),a=bs.test(t.value.replace(ys,""));if(t.modifiers){var i="",r="",s=[];for(var o in t.modifiers)if(Cs[o])r+=Cs[o],ws[o]&&s.push(o);else if("exact"===o){var l=t.modifiers;r+=xs(["ctrl","shift","alt","meta"].filter((function(t){return!l[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else s.push(o);return s.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map($s).join("&&")+")return null;"}(s)),r&&(i+=r),"function($event){"+i+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":a?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(a?"return "+t.value:t.value)+"}"}function $s(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=ws[t],a=ks[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(a)+")"}var Ss={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:S},Ns=function(t){this.options=t,this.warn=t.warn||Ta,this.transforms=$a(t.modules,"transformCode"),this.dataGenFns=$a(t.modules,"genData"),this.directives=T(T({},Ss),t.directives);var e=t.isReservedTag||N;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ds(t,e){var n=new Ns(e);return{render:"with(this){return "+(t?Es(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Es(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ls(t,e);if(t.once&&!t.onceProcessed)return Ps(t,e);if(t.for&&!t.forProcessed)return Fs(t,e);if(t.if&&!t.ifProcessed)return Is(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',a=Rs(t,e),i="_t("+n+(a?","+a:""),r=t.attrs||t.dynamicAttrs?qs((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:b(t.name),value:t.value,dynamic:t.dynamic}}))):null,s=t.attrsMap["v-bind"];!r&&!s||a||(i+=",null");r&&(i+=","+r);s&&(i+=(r?"":",null")+","+s);return i+")"}(t,e);var n;if(t.component)n=function(t,e,n){var a=e.inlineTemplate?null:Rs(e,n,!0);return"_c("+t+","+Os(e,n)+(a?","+a:"")+")"}(t.component,t,e);else{var a;(!t.plain||t.pre&&e.maybeComponent(t))&&(a=Os(t,e));var i=t.inlineTemplate?null:Rs(t,e,!0);n="_c('"+t.tag+"'"+(a?","+a:"")+(i?","+i:"")+")"}for(var r=0;r<e.transforms.length;r++)n=e.transforms[r](t,n);return n}return Rs(t,e)||"void 0"}function Ls(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return "+Es(t,e)+"}"),e.pre=n,"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function Ps(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Is(t,e);if(t.staticInFor){for(var n="",a=t.parent;a;){if(a.for){n=a.key;break}a=a.parent}return n?"_o("+Es(t,e)+","+e.onceId+++","+n+")":Es(t,e)}return Ls(t,e)}function Is(t,e,n,a){return t.ifProcessed=!0,function t(e,n,a,i){if(!e.length)return i||"_e()";var r=e.shift();return r.exp?"("+r.exp+")?"+s(r.block)+":"+t(e,n,a,i):""+s(r.block);function s(t){return a?a(t,n):t.once?Ps(t,n):Es(t,n)}}(t.ifConditions.slice(),e,n,a)}function Fs(t,e,n,a){var i=t.for,r=t.alias,s=t.iterator1?","+t.iterator1:"",o=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(a||"_l")+"(("+i+"),function("+r+s+o+"){return "+(n||Es)(t,e)+"})"}function Os(t,e){var n="{",a=function(t,e){var n=t.directives;if(!n)return;var a,i,r,s,o="directives:[",l=!1;for(a=0,i=n.length;a<i;a++){r=n[a],s=!0;var c=e.directives[r.name];c&&(s=!!c(t,r,e.warn)),s&&(l=!0,o+='{name:"'+r.name+'",rawName:"'+r.rawName+'"'+(r.value?",value:("+r.value+"),expression:"+JSON.stringify(r.value):"")+(r.arg?",arg:"+(r.isDynamicArg?r.arg:'"'+r.arg+'"'):"")+(r.modifiers?",modifiers:"+JSON.stringify(r.modifiers):"")+"},")}if(l)return o.slice(0,-1)+"]"}(t,e);a&&(n+=a+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var i=0;i<e.dataGenFns.length;i++)n+=e.dataGenFns[i](t);if(t.attrs&&(n+="attrs:"+qs(t.attrs)+","),t.props&&(n+="domProps:"+qs(t.props)+","),t.events&&(n+=As(t.events,!1)+","),t.nativeEvents&&(n+=As(t.nativeEvents,!0)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e,n){var a=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||Ms(n)})),i=!!t.if;if(!a)for(var r=t.parent;r;){if(r.slotScope&&"_empty_"!==r.slotScope||r.for){a=!0;break}r.if&&(i=!0),r=r.parent}var s=Object.keys(e).map((function(t){return js(e[t],n)})).join(",");return"scopedSlots:_u(["+s+"]"+(a?",null,true":"")+(!a&&i?",null,false,"+function(t){var e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(s):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var r=function(t,e){var n=t.children[0];if(n&&1===n.type){var a=Ds(n,e.options);return"inlineTemplate:{render:function(){"+a.render+"},staticRenderFns:["+a.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);r&&(n+=r+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+qs(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Ms(t){return 1===t.type&&("slot"===t.tag||t.children.some(Ms))}function js(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Is(t,e,js,"null");if(t.for&&!t.forProcessed)return Fs(t,e,js);var a="_empty_"===t.slotScope?"":String(t.slotScope),i="function("+a+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Rs(t,e)||"undefined")+":undefined":Rs(t,e)||"undefined":Es(t,e))+"}",r=a?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+i+r+"}"}function Rs(t,e,n,a,i){var r=t.children;if(r.length){var s=r[0];if(1===r.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var o=n?e.maybeComponent(s)?",1":",0":"";return""+(a||Es)(s,e)+o}var l=n?function(t,e){for(var n=0,a=0;a<t.length;a++){var i=t[a];if(1===i.type){if(Bs(i)||i.ifConditions&&i.ifConditions.some((function(t){return Bs(t.block)}))){n=2;break}(e(i)||i.ifConditions&&i.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}(r,e.maybeComponent):0,c=i||zs;return"["+r.map((function(t){return c(t,e)})).join(",")+"]"+(l?","+l:"")}}function Bs(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function zs(t,e){return 1===t.type?Es(t,e):3===t.type&&t.isComment?function(t){return"_e("+JSON.stringify(t.text)+")"}(t):function(t){return"_v("+(2===t.type?t.expression:Hs(JSON.stringify(t.text)))+")"}(t)}function qs(t){for(var e="",n="",a=0;a<t.length;a++){var i=t[a],r=Hs(i.value);i.dynamic?n+=i.name+","+r+",":e+='"'+i.name+'":'+r+","}return e="{"+e.slice(0,-1)+"}",n?"_d("+e+",["+n.slice(0,-1)+"])":e}function Hs(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b");function Us(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),S}}function Vs(t){var e=Object.create(null);return function(n,a,i){(a=T({},a)).warn;delete a.warn;var r=a.delimiters?String(a.delimiters)+n:n;if(e[r])return e[r];var s=t(n,a),o={},l=[];return o.render=Us(s.render,l),o.staticRenderFns=s.staticRenderFns.map((function(t){return Us(t,l)})),e[r]=o}}var Ws,Qs,Gs=(Ws=function(t,e){var n=ns(t.trim(),e);!1!==e.optimize&&gs(n,e);var a=Ds(n,e);return{ast:n,render:a.render,staticRenderFns:a.staticRenderFns}},function(t){function e(e,n){var a=Object.create(t),i=[],r=[];if(n)for(var s in n.modules&&(a.modules=(t.modules||[]).concat(n.modules)),n.directives&&(a.directives=T(Object.create(t.directives||null),n.directives)),n)"modules"!==s&&"directives"!==s&&(a[s]=n[s]);a.warn=function(t,e,n){(n?r:i).push(t)};var o=Ws(e.trim(),a);return o.errors=i,o.tips=r,o}return{compile:e,compileToFunctions:Vs(e)}})(vs).compileToFunctions;function Ks(t){return(Qs=Qs||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Qs.innerHTML.indexOf("&#10;")>0}var Ys=!!H&&Ks(!1),Js=!!H&&Ks(!0),Xs=_((function(t){var e=Yn(t);return e&&e.innerHTML})),Zs=wn.prototype.$mount;wn.prototype.$mount=function(t,e){if((t=t&&Yn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var a=n.template;if(a)if("string"==typeof a)"#"===a.charAt(0)&&(a=Xs(a));else{if(!a.nodeType)return this;a=a.innerHTML}else t&&(a=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(a){var i=Gs(a,{outputSourceRange:!1,shouldDecodeNewlines:Ys,shouldDecodeNewlinesForHref:Js,delimiters:n.delimiters,comments:n.comments},this),r=i.render,s=i.staticRenderFns;n.render=r,n.staticRenderFns=s}}return Zs.call(this,t,e)},wn.compile=Gs;const to=io.connect(window.location.href);to.on("connect",()=>{document.getElementById("start_app_placeholder").classList.add("loading_placeholder--hidden")});var eo=new wn;function no(t,e){const{currentTarget:{dataset:{id:n}}}=e;switch(t){case"artist":eo.$emit("artistTab:reset");break;case"album":case"playlist":case"spotifyplaylist":eo.$emit("tracklistTab:reset")}to.emit("getTracklist",{type:t,id:n}),ro(t,n)}function ao(t,e,n){window.windows_stack=[],window.currentStack={};const a=document.getElementsByClassName(e+"_tabcontent");for(let t=0;t<a.length;t++)a[t].style.display="none";const i=document.getElementsByClassName(e+"_tablinks");for(let t=0;t<i.length;t++)i[t].classList.remove("active");"settings_tab"===n&&"settings_tab"!==window.main_selected&&(eo.$emit("settingsTab:revertSettings"),eo.$emit("settingsTab:revertCredentials")),document.getElementById(n).style.display="block","main"===e?window.main_selected=n:"search"===e&&(window.search_selected=n),t.classList.add("active"),"search_tab"===window.main_selected&&-1!==["track_search","album_search","artist_search","playlist_search"].indexOf(window.search_selected)&&eo.$emit("mainSearch:checkLoadMoreContent",window.search_selected)}function ro(t,e,n=!1){0===window.windows_stack.length?window.windows_stack.push({tab:window.main_selected}):n||("artist"===window.currentStack.type&&eo.$emit("artistTab:updateSelected"),window.windows_stack.push(window.currentStack)),window.tab="artist"===t?"artist_tab":"tracklist_tab",window.currentStack={type:t,id:e};let a=document.getElementsByClassName("main_tabcontent");for(let t=0;t<a.length;t++)a[t].style.display="none";document.getElementById(window.tab).style.display="block",eo.$emit("trackPreview:stopStackedTabsPreview")}function so(){if(1==window.windows_stack.length)document.getElementById(`main_${window.main_selected}link`).click();else{let t=window.windows_stack.pop(),{type:e,id:n,selected:a}=t;"artist"===e?(eo.$emit("artistTab:reset"),a&&eo.$emit("artistTab:changeTab",a)):eo.$emit("tracklistTab:reset"),to.emit("getTracklist",{type:e,id:n}),ro(e,n,!0)}eo.$emit("trackPreview:stopStackedTabsPreview")}function oo(){ao(document.getElementById("main_home_tablink"),"main","home_tab"),Array.prototype.slice.call(document.getElementsByClassName("back-button")).forEach(t=>{t.addEventListener("click",so)})}window.search_selected="",window.main_selected="",window.windows_stack=[],window.currentStack={};const lo={name:"the-sidebar",data:()=>({appOnline:null,activeTheme:"light",themes:["purple","dark","light"]}),mounted(){this.appOnline=navigator.onLine,window.addEventListener("online",()=>{this.appOnline=!0}),window.addEventListener("offline",()=>{this.appOnline=!1}),this.activeTheme=localStorage.getItem("selectedTheme")||"light"},methods:{changeTheme(t){t!==this.activeTheme&&(this.activeTheme=t,document.documentElement.setAttribute("data-theme",t),localStorage.setItem("selectedTheme",t),document.querySelectorAll("*").forEach(t=>{t.style.transition="all 200ms ease-in-out"}),document.documentElement.addEventListener("transitionend",(function t(){document.querySelectorAll("*").forEach(t=>{t.style.transition=""}),document.documentElement.removeEventListener("transitionend",t)})))},handleSidebarClick(t){const{target:e}=t;if(!(e.matches(".main_tablinks")||e.parentElement.matches(".main_tablinks")))return;let n=e.matches(".main_tablinks")?e:e.parentElement,a=null;switch(n.id){case"main_search_tablink":a="search_tab";break;case"main_home_tablink":a="home_tab";break;case"main_charts_tablink":a="charts_tab";break;case"main_favorites_tablink":a="favorites_tab";break;case"main_analyzer_tablink":a="analyzer_tab";break;case"main_settings_tablink":a="settings_tab";break;case"main_about_tablink":a="about_tab"}a&&ao(n,"main",a)}}};var co=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{attrs:{id:"sidebar",role:"navigation"},on:{click:t.handleSidebarClick}},[n("span",{staticClass:"main_tablinks",attrs:{id:"main_home_tablink",role:"link","aria-label":"home"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("home")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.home")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"main_search_tablink",role:"link","aria-label":"search"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("search")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.search")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"main_charts_tablink",role:"link","aria-label":"charts"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("bubble_chart")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.charts")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"main_favorites_tablink",role:"link","aria-label":"favorites"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("album")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.favorites")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"main_analyzer_tablink",role:"link","aria-label":"link analyzer"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("link")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.linkAnalyzer")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"main_settings_tablink",role:"link","aria-label":"settings"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("settings")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.settings")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"main_about_tablink",role:"link","aria-label":"info"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("info")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.about")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"theme_selector",role:"link","aria-label":"theme selector"}},[n("i",{staticClass:"material-icons side_icon side_icon--theme"},[t._v("palette")]),t._v(" "),n("div",{attrs:{id:"theme_togglers"}},t._l(t.themes,(function(e){return n("div",{key:e,staticClass:"theme_toggler ",class:[{"theme_toggler--active":t.activeTheme===e},"theme_toggler--"+e],on:{click:function(n){return t.changeTheme(e)}}})})),0)]),t._v(" "),n("div",{class:{online:t.appOnline,offline:!t.appOnline},attrs:{id:"network-status"}},[t.appOnline?n("i",{staticClass:"material-icons"},[t._v("wifi")]):n("i",{staticClass:"material-icons"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}}),t._v(" "),n("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"}})])])])])};co._withStripped=!0;var uo=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheSidebar.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:co,staticRenderFns:[]},(function(t){t&&t("data-v-7d8957a2_0",{source:"\n#network-status[data-v-7d8957a2] {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tposition: relative;\n\tmargin-top: auto;\n\tbottom: 0;\n}\n#network-status.online i.material-icons[data-v-7d8957a2] {\n\tcolor: hsl(151, 100%, 31%);\n}\n#network-status.offline i.material-icons svg[data-v-7d8957a2] {\n\tfill: red;\n\twidth: 1em;\n\theight: 1em;\n}\n",map:{version:3,sources:["/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheSidebar.vue"],names:[],mappings:";AA0DA;CACA,aAAA;CACA,uBAAA;CACA,mBAAA;CACA,kBAAA;CACA,gBAAA;CACA,SAAA;AACA;AAEA;CACA,0BAAA;AACA;AAEA;CACA,SAAA;CACA,UAAA;CACA,WAAA;AACA",file:"TheSidebar.vue",sourcesContent:['<template>\n\t<aside id="sidebar" role="navigation" @click="handleSidebarClick">\n\t\t<span id="main_home_tablink" class="main_tablinks" role="link" aria-label="home">\n\t\t\t<i class="material-icons side_icon">home</i>\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.home\') }}</span>\n\t\t</span>\n\t\t<span id="main_search_tablink" class="main_tablinks" role="link" aria-label="search">\n\t\t\t<i class="material-icons side_icon">search</i>\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.search\') }}</span>\n\t\t</span>\n\t\t<span id="main_charts_tablink" class="main_tablinks" role="link" aria-label="charts">\n\t\t\t<i class="material-icons side_icon">bubble_chart</i>\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.charts\') }}</span>\n\t\t</span>\n\t\t<span id="main_favorites_tablink" class="main_tablinks" role="link" aria-label="favorites">\n\t\t\t<i class="material-icons side_icon">album</i>\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.favorites\') }}</span>\n\t\t</span>\n\t\t<span id="main_analyzer_tablink" class="main_tablinks" role="link" aria-label="link analyzer">\n\t\t\t<i class="material-icons side_icon">link</i>\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.linkAnalyzer\') }}</span>\n\t\t</span>\n\t\t<span id="main_settings_tablink" class="main_tablinks" role="link" aria-label="settings">\n\t\t\t<i class="material-icons side_icon">settings</i>\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.settings\') }}</span>\n\t\t</span>\n\t\t<span id="main_about_tablink" class="main_tablinks" role="link" aria-label="info">\n\t\t\t<i class="material-icons side_icon">info</i>\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.about\') }}</span>\n\t\t</span>\n\t\t<span id="theme_selector" class="main_tablinks" role="link" aria-label="theme selector">\n\t\t\t<i class="material-icons side_icon side_icon--theme">palette</i>\n\t\t\t<div id="theme_togglers">\n\t\t\t\t<div\n\t\t\t\t\tv-for="theme of themes"\n\t\t\t\t\t:key="theme"\n\t\t\t\t\tclass="theme_toggler "\n\t\t\t\t\t:class="[{ \'theme_toggler--active\': activeTheme === theme }, `theme_toggler--${theme}`]"\n\t\t\t\t\t@click="changeTheme(theme)"\n\t\t\t\t></div>\n\t\t\t</div>\n\t\t</span>\n\t\t<div id="network-status" :class="{ online: appOnline, offline: !appOnline }">\n\t\t\t<i v-if="appOnline" class="material-icons">wifi</i>\n\t\t\t<i v-else class="material-icons">\n\t\t\t\t\x3c!-- wifi_off icon not working, maybe need to include it? --\x3e\n\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n\t\t\t\t\t<path d="M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none" />\n\t\t\t\t\t<path\n\t\t\t\t\t\td="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"\n\t\t\t\t\t/>\n\t\t\t\t</svg>\n\t\t\t</i>\n\t\t</div>\n\t</aside>\n</template>\n\n<style scoped>\n#network-status {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tposition: relative;\n\tmargin-top: auto;\n\tbottom: 0;\n}\n\n#network-status.online i.material-icons {\n\tcolor: hsl(151, 100%, 31%);\n}\n\n#network-status.offline i.material-icons svg {\n\tfill: red;\n\twidth: 1em;\n\theight: 1em;\n}\n</style>\n\n<script>\nimport { changeTab } from \'@js/tabs.js\'\n\nexport default {\n\tname: \'the-sidebar\',\n\tdata: () => ({\n\t\tappOnline: null,\n\t\tactiveTheme: \'light\',\n\t\tthemes: [\'purple\', \'dark\', \'light\']\n\t}),\n\tmounted() {\n\t\t/* === Online status handling === */\n\t\tthis.appOnline = navigator.onLine\n\n\t\twindow.addEventListener(\'online\', () => {\n\t\t\tthis.appOnline = true\n\t\t})\n\n\t\twindow.addEventListener(\'offline\', () => {\n\t\t\tthis.appOnline = false\n\t\t})\n\n\t\t/* === Current theme handling === */\n\t\tthis.activeTheme = localStorage.getItem(\'selectedTheme\') || \'light\'\n\t},\n\tmethods: {\n\t\tchangeTheme(newTheme) {\n\t\t\tif (newTheme === this.activeTheme) return\n\n\t\t\tthis.activeTheme = newTheme\n\t\t\tdocument.documentElement.setAttribute(\'data-theme\', newTheme)\n\t\t\tlocalStorage.setItem(\'selectedTheme\', newTheme)\n\n\t\t\t// Animating everything to have a smoother theme switch\n\t\t\tdocument.querySelectorAll(\'*\').forEach(el => {\n\t\t\t\tel.style.transition = \'all 200ms ease-in-out\'\n\t\t\t})\n\n\t\t\tdocument.documentElement.addEventListener(\'transitionend\', function transitionHandler() {\n\t\t\t\tdocument.querySelectorAll(\'*\').forEach(el => {\n\t\t\t\t\tel.style.transition = \'\'\n\t\t\t\t})\n\n\t\t\t\tdocument.documentElement.removeEventListener(\'transitionend\', transitionHandler)\n\t\t\t})\n\t\t},\n\t\t/**\n\t\t * Handles click Event on the sidebar and changes tab\n\t\t * according to clicked icon.\n\t\t * Uses event delegation\n\t\t * @param\t\t{Event}\t\tevent\n\t\t */\n\t\thandleSidebarClick(event) {\n\t\t\tconst { target } = event\n\n\t\t\tconst wantToChangeTab = target.matches(\'.main_tablinks\') || target.parentElement.matches(\'.main_tablinks\')\n\n\t\t\tif (!wantToChangeTab) return\n\n\t\t\tlet sidebarEl = target.matches(\'.main_tablinks\') ? target : target.parentElement\n\t\t\tlet targetID = sidebarEl.id\n\t\t\tlet selectedTab = null\n\n\t\t\tswitch (targetID) {\n\t\t\t\tcase \'main_search_tablink\':\n\t\t\t\t\tselectedTab = \'search_tab\'\n\t\t\t\t\tbreak\n\t\t\t\tcase \'main_home_tablink\':\n\t\t\t\t\tselectedTab = \'home_tab\'\n\t\t\t\t\tbreak\n\t\t\t\tcase \'main_charts_tablink\':\n\t\t\t\t\tselectedTab = \'charts_tab\'\n\t\t\t\t\tbreak\n\t\t\t\tcase \'main_favorites_tablink\':\n\t\t\t\t\tselectedTab = \'favorites_tab\'\n\t\t\t\t\tbreak\n\t\t\t\tcase \'main_analyzer_tablink\':\n\t\t\t\t\tselectedTab = \'analyzer_tab\'\n\t\t\t\t\tbreak\n\t\t\t\tcase \'main_settings_tablink\':\n\t\t\t\t\tselectedTab = \'settings_tab\'\n\t\t\t\t\tbreak\n\t\t\t\tcase \'main_about_tablink\':\n\t\t\t\t\tselectedTab = \'about_tab\'\n\t\t\t\t\tbreak\n\n\t\t\t\tdefault:\n\t\t\t\t\tbreak\n\t\t\t}\n\n\t\t\tif (!selectedTab) return\n\n\t\t\tchangeTab(sidebarEl, \'main\', selectedTab)\n\t\t}\n\t}\n}\n<\/script>\n\n']},media:void 0})}),lo,"data-v-7d8957a2",!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}})),po="object"==typeof global&&global&&global.Object===Object&&global,fo="object"==typeof self&&self&&self.Object===Object&&self,ho=po||fo||Function("return this")(),vo=ho.Symbol,mo=Object.prototype,go=mo.hasOwnProperty,_o=mo.toString,yo=vo?vo.toStringTag:void 0;var bo=Object.prototype.toString;var wo=vo?vo.toStringTag:void 0;function ko(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":wo&&wo in Object(t)?function(t){var e=go.call(t,yo),n=t[yo];try{t[yo]=void 0;var a=!0}catch(t){}var i=_o.call(t);return a&&(e?t[yo]=n:delete t[yo]),i}(t):function(t){return bo.call(t)}(t)}function xo(t){return null!=t&&"object"==typeof t}function Co(t){return"symbol"==typeof t||xo(t)&&"[object Symbol]"==ko(t)}function Ao(t,e){for(var n=-1,a=null==t?0:t.length,i=Array(a);++n<a;)i[n]=e(t[n],n,t);return i}var To=Array.isArray,$o=vo?vo.prototype:void 0,So=$o?$o.toString:void 0;function No(t){if("string"==typeof t)return t;if(To(t))return Ao(t,No)+"";if(Co(t))return So?So.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Do(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Eo(t){return t}function Lo(t){if(!Do(t))return!1;var e=ko(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}var Po=ho["__core-js_shared__"],Io=function(){var t=/[^.]+$/.exec(Po&&Po.keys&&Po.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var Fo=Function.prototype.toString;function Oo(t){if(null!=t){try{return Fo.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var Mo=/^\[object .+?Constructor\]$/,jo=Function.prototype,Ro=Object.prototype,Bo=jo.toString,zo=Ro.hasOwnProperty,qo=RegExp("^"+Bo.call(zo).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ho(t){return!(!Do(t)||(e=t,Io&&Io in e))&&(Lo(t)?qo:Mo).test(Oo(t));var e}function Uo(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Ho(n)?n:void 0}var Vo=Uo(ho,"WeakMap"),Wo=/^(?:0|[1-9]\d*)$/;function Qo(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Wo.test(t))&&t>-1&&t%1==0&&t<e}function Go(t,e){return t===e||t!=t&&e!=e}function Ko(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Yo(t){return null!=t&&Ko(t.length)&&!Lo(t)}var Jo=Object.prototype;function Xo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jo)}function Zo(t){return xo(t)&&"[object Arguments]"==ko(t)}var tl=Object.prototype,el=tl.hasOwnProperty,nl=tl.propertyIsEnumerable,al=Zo(function(){return arguments}())?Zo:function(t){return xo(t)&&el.call(t,"callee")&&!nl.call(t,"callee")};var il="object"==typeof exports&&exports&&!exports.nodeType&&exports,rl=il&&"object"==typeof module&&module&&!module.nodeType&&module,sl=rl&&rl.exports===il?ho.Buffer:void 0,ol=(sl?sl.isBuffer:void 0)||function(){return!1},ll={};function cl(t){return function(e){return t(e)}}ll["[object Float32Array]"]=ll["[object Float64Array]"]=ll["[object Int8Array]"]=ll["[object Int16Array]"]=ll["[object Int32Array]"]=ll["[object Uint8Array]"]=ll["[object Uint8ClampedArray]"]=ll["[object Uint16Array]"]=ll["[object Uint32Array]"]=!0,ll["[object Arguments]"]=ll["[object Array]"]=ll["[object ArrayBuffer]"]=ll["[object Boolean]"]=ll["[object DataView]"]=ll["[object Date]"]=ll["[object Error]"]=ll["[object Function]"]=ll["[object Map]"]=ll["[object Number]"]=ll["[object Object]"]=ll["[object RegExp]"]=ll["[object Set]"]=ll["[object String]"]=ll["[object WeakMap]"]=!1;var ul="object"==typeof exports&&exports&&!exports.nodeType&&exports,dl=ul&&"object"==typeof module&&module&&!module.nodeType&&module,pl=dl&&dl.exports===ul&&po.process,fl=function(){try{var t=dl&&dl.require&&dl.require("util").types;return t||pl&&pl.binding&&pl.binding("util")}catch(t){}}(),hl=fl&&fl.isTypedArray,vl=hl?cl(hl):function(t){return xo(t)&&Ko(t.length)&&!!ll[ko(t)]},ml=Object.prototype.hasOwnProperty;function gl(t,e){var n=To(t),a=!n&&al(t),i=!n&&!a&&ol(t),r=!n&&!a&&!i&&vl(t),s=n||a||i||r,o=s?function(t,e){for(var n=-1,a=Array(t);++n<t;)a[n]=e(n);return a}(t.length,String):[],l=o.length;for(var c in t)!e&&!ml.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Qo(c,l))||o.push(c);return o}var _l,yl,bl=(_l=Object.keys,yl=Object,function(t){return _l(yl(t))}),wl=Object.prototype.hasOwnProperty;function kl(t){if(!Xo(t))return bl(t);var e=[];for(var n in Object(t))wl.call(t,n)&&"constructor"!=n&&e.push(n);return e}function xl(t){return Yo(t)?gl(t):kl(t)}var Cl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Al=/^\w*$/;function Tl(t,e){if(To(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Co(t))||(Al.test(t)||!Cl.test(t)||null!=e&&t in Object(e))}var $l=Uo(Object,"create");var Sl=Object.prototype.hasOwnProperty;var Nl=Object.prototype.hasOwnProperty;function Dl(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}function El(t,e){for(var n=t.length;n--;)if(Go(t[n][0],e))return n;return-1}Dl.prototype.clear=function(){this.__data__=$l?$l(null):{},this.size=0},Dl.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Dl.prototype.get=function(t){var e=this.__data__;if($l){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Sl.call(e,t)?e[t]:void 0},Dl.prototype.has=function(t){var e=this.__data__;return $l?void 0!==e[t]:Nl.call(e,t)},Dl.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=$l&&void 0===e?"__lodash_hash_undefined__":e,this};var Ll=Array.prototype.splice;function Pl(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}Pl.prototype.clear=function(){this.__data__=[],this.size=0},Pl.prototype.delete=function(t){var e=this.__data__,n=El(e,t);return!(n<0)&&(n==e.length-1?e.pop():Ll.call(e,n,1),--this.size,!0)},Pl.prototype.get=function(t){var e=this.__data__,n=El(e,t);return n<0?void 0:e[n][1]},Pl.prototype.has=function(t){return El(this.__data__,t)>-1},Pl.prototype.set=function(t,e){var n=this.__data__,a=El(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this};var Il=Uo(ho,"Map");function Fl(t,e){var n,a,i=t.__data__;return("string"==(a=typeof(n=e))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Ol(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}Ol.prototype.clear=function(){this.size=0,this.__data__={hash:new Dl,map:new(Il||Pl),string:new Dl}},Ol.prototype.delete=function(t){var e=Fl(this,t).delete(t);return this.size-=e?1:0,e},Ol.prototype.get=function(t){return Fl(this,t).get(t)},Ol.prototype.has=function(t){return Fl(this,t).has(t)},Ol.prototype.set=function(t,e){var n=Fl(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this};function Ml(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var a=arguments,i=e?e.apply(this,a):a[0],r=n.cache;if(r.has(i))return r.get(i);var s=t.apply(this,a);return n.cache=r.set(i,s)||r,s};return n.cache=new(Ml.Cache||Ol),n}Ml.Cache=Ol;var jl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Rl=/\\(\\)?/g,Bl=function(t){var e=Ml(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(jl,(function(t,n,a,i){e.push(a?i.replace(Rl,"$1"):n||t)})),e}));function zl(t,e){return To(t)?t:Tl(t,e)?[t]:Bl(function(t){return null==t?"":No(t)}(t))}function ql(t){if("string"==typeof t||Co(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Hl(t,e){for(var n=0,a=(e=zl(e,t)).length;null!=t&&n<a;)t=t[ql(e[n++])];return n&&n==a?t:void 0}function Ul(t){var e=this.__data__=new Pl(t);this.size=e.size}Ul.prototype.clear=function(){this.__data__=new Pl,this.size=0},Ul.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Ul.prototype.get=function(t){return this.__data__.get(t)},Ul.prototype.has=function(t){return this.__data__.has(t)},Ul.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Pl){var a=n.__data__;if(!Il||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new Ol(a)}return n.set(t,e),this.size=n.size,this};var Vl=Object.prototype.propertyIsEnumerable,Wl=Object.getOwnPropertySymbols,Ql=Wl?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,a=null==t?0:t.length,i=0,r=[];++n<a;){var s=t[n];e(s,n,t)&&(r[i++]=s)}return r}(Wl(t),(function(e){return Vl.call(t,e)})))}:function(){return[]};function Gl(t){return function(t,e,n){var a=e(t);return To(t)?a:function(t,e){for(var n=-1,a=e.length,i=t.length;++n<a;)t[i+n]=e[n];return t}(a,n(t))}(t,xl,Ql)}var Kl=Uo(ho,"DataView"),Yl=Uo(ho,"Promise"),Jl=Uo(ho,"Set"),Xl=Oo(Kl),Zl=Oo(Il),tc=Oo(Yl),ec=Oo(Jl),nc=Oo(Vo),ac=ko;(Kl&&"[object DataView]"!=ac(new Kl(new ArrayBuffer(1)))||Il&&"[object Map]"!=ac(new Il)||Yl&&"[object Promise]"!=ac(Yl.resolve())||Jl&&"[object Set]"!=ac(new Jl)||Vo&&"[object WeakMap]"!=ac(new Vo))&&(ac=function(t){var e=ko(t),n="[object Object]"==e?t.constructor:void 0,a=n?Oo(n):"";if(a)switch(a){case Xl:return"[object DataView]";case Zl:return"[object Map]";case tc:return"[object Promise]";case ec:return"[object Set]";case nc:return"[object WeakMap]"}return e});var ic=ac,rc=ho.Uint8Array;function sc(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Ol;++e<n;)this.add(t[e])}function oc(t,e){for(var n=-1,a=null==t?0:t.length;++n<a;)if(e(t[n],n,t))return!0;return!1}sc.prototype.add=sc.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},sc.prototype.has=function(t){return this.__data__.has(t)};function lc(t,e,n,a,i,r){var s=1&n,o=t.length,l=e.length;if(o!=l&&!(s&&l>o))return!1;var c=r.get(t);if(c&&r.get(e))return c==e;var u=-1,d=!0,p=2&n?new sc:void 0;for(r.set(t,e),r.set(e,t);++u<o;){var f=t[u],h=e[u];if(a)var v=s?a(h,f,u,e,t,r):a(f,h,u,t,e,r);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!oc(e,(function(t,e){if(s=e,!p.has(s)&&(f===t||i(f,t,n,a,r)))return p.push(e);var s}))){d=!1;break}}else if(f!==h&&!i(f,h,n,a,r)){d=!1;break}}return r.delete(t),r.delete(e),d}function cc(t){var e=-1,n=Array(t.size);return t.forEach((function(t,a){n[++e]=[a,t]})),n}function uc(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var dc=vo?vo.prototype:void 0,pc=dc?dc.valueOf:void 0;var fc=Object.prototype.hasOwnProperty;var hc=Object.prototype.hasOwnProperty;function vc(t,e,n,a,i,r){var s=To(t),o=To(e),l=s?"[object Array]":ic(t),c=o?"[object Array]":ic(e),u="[object Object]"==(l="[object Arguments]"==l?"[object Object]":l),d="[object Object]"==(c="[object Arguments]"==c?"[object Object]":c),p=l==c;if(p&&ol(t)){if(!ol(e))return!1;s=!0,u=!1}if(p&&!u)return r||(r=new Ul),s||vl(t)?lc(t,e,n,a,i,r):function(t,e,n,a,i,r,s){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!r(new rc(t),new rc(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Go(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var o=cc;case"[object Set]":var l=1&a;if(o||(o=uc),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;a|=2,s.set(t,e);var u=lc(o(t),o(e),a,i,r,s);return s.delete(t),u;case"[object Symbol]":if(pc)return pc.call(t)==pc.call(e)}return!1}(t,e,l,n,a,i,r);if(!(1&n)){var f=u&&hc.call(t,"__wrapped__"),h=d&&hc.call(e,"__wrapped__");if(f||h){var v=f?t.value():t,m=h?e.value():e;return r||(r=new Ul),i(v,m,n,a,r)}}return!!p&&(r||(r=new Ul),function(t,e,n,a,i,r){var s=1&n,o=Gl(t),l=o.length;if(l!=Gl(e).length&&!s)return!1;for(var c=l;c--;){var u=o[c];if(!(s?u in e:fc.call(e,u)))return!1}var d=r.get(t);if(d&&r.get(e))return d==e;var p=!0;r.set(t,e),r.set(e,t);for(var f=s;++c<l;){var h=t[u=o[c]],v=e[u];if(a)var m=s?a(v,h,u,e,t,r):a(h,v,u,t,e,r);if(!(void 0===m?h===v||i(h,v,n,a,r):m)){p=!1;break}f||(f="constructor"==u)}if(p&&!f){var g=t.constructor,_=e.constructor;g==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof _&&_ instanceof _||(p=!1)}return r.delete(t),r.delete(e),p}(t,e,n,a,i,r))}function mc(t,e,n,a,i){return t===e||(null==t||null==e||!xo(t)&&!xo(e)?t!=t&&e!=e:vc(t,e,n,a,mc,i))}function gc(t){return t==t&&!Do(t)}function _c(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}function yc(t){var e=function(t){for(var e=xl(t),n=e.length;n--;){var a=e[n],i=t[a];e[n]=[a,i,gc(i)]}return e}(t);return 1==e.length&&e[0][2]?_c(e[0][0],e[0][1]):function(n){return n===t||function(t,e,n,a){var i=n.length,r=i,s=!a;if(null==t)return!r;for(t=Object(t);i--;){var o=n[i];if(s&&o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++i<r;){var l=(o=n[i])[0],c=t[l],u=o[1];if(s&&o[2]){if(void 0===c&&!(l in t))return!1}else{var d=new Ul;if(a)var p=a(c,u,l,t,e,d);if(!(void 0===p?mc(u,c,3,a,d):p))return!1}}return!0}(n,t,e)}}function bc(t,e){return null!=t&&e in Object(t)}function wc(t,e){return null!=t&&function(t,e,n){for(var a=-1,i=(e=zl(e,t)).length,r=!1;++a<i;){var s=ql(e[a]);if(!(r=null!=t&&n(t,s)))break;t=t[s]}return r||++a!=i?r:!!(i=null==t?0:t.length)&&Ko(i)&&Qo(s,i)&&(To(t)||al(t))}(t,e,bc)}function kc(t,e){return Tl(t)&&gc(e)?_c(ql(t),e):function(n){var a=function(t,e,n){var a=null==t?void 0:Hl(t,e);return void 0===a?n:a}(n,t);return void 0===a&&a===e?wc(n,t):mc(e,a,3)}}function xc(t){return Tl(t)?(e=ql(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return Hl(e,t)}}(t);var e}function Cc(t){return"function"==typeof t?t:null==t?Eo:"object"==typeof t?To(t)?kc(t[0],t[1]):yc(t):xc(t)}var Ac,Tc=function(t,e,n){for(var a=-1,i=Object(t),r=n(t),s=r.length;s--;){var o=r[Ac?s:++a];if(!1===e(i[o],o,i))break}return t};var $c=function(t,e){return function(n,a){if(null==n)return n;if(!Yo(n))return t(n,a);for(var i=n.length,r=e?i:-1,s=Object(n);(e?r--:++r<i)&&!1!==a(s[r],r,s););return n}}((function(t,e){return t&&Tc(t,e,xl)}));var Sc=Object.prototype.hasOwnProperty;function Nc(t){if(null==t)return!0;if(Yo(t)&&(To(t)||"string"==typeof t||"function"==typeof t.splice||ol(t)||vl(t)||al(t)))return!t.length;var e=ic(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(Xo(t))return!kl(t).length;for(var n in t)if(Sc.call(t,n))return!1;return!0}function Dc(t,e){if(t!==e){var n=void 0!==t,a=null===t,i=t==t,r=Co(t),s=void 0!==e,o=null===e,l=e==e,c=Co(e);if(!o&&!c&&!r&&t>e||r&&s&&l&&!o&&!c||a&&s&&l||!n&&l||!i)return 1;if(!a&&!r&&!c&&t<e||c&&n&&i&&!a&&!r||o&&n&&i||!s&&i||!l)return-1}return 0}function Ec(t,e,n){var a=-1;return e=Ao(e.length?e:[Eo],cl(Cc)),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(function(t,e){var n=-1,a=Yo(t)?Array(t.length):[];return $c(t,(function(t,i,r){a[++n]=e(t,i,r)})),a}(t,(function(t,n,i){return{criteria:Ao(e,(function(e){return e(t)})),index:++a,value:t}})),(function(t,e){return function(t,e,n){for(var a=-1,i=t.criteria,r=e.criteria,s=i.length,o=n.length;++a<s;){var l=Dc(i[a],r[a]);if(l)return a>=o?l:l*("desc"==n[a]?-1:1)}return t.index-e.index}(t,e,n)}))}var Lc={sendAddToQueue:function(t,e=null){""!=t&&to.emit("addToQueue",{url:t,bitrate:e},()=>{})}};const Pc={name:"artist-tab",data:()=>({currentTab:"",sortKey:"release_date",sortOrder:"desc",title:"",image:"",type:"",link:"",head:null,body:null}),methods:{albumView:no.bind(null,"album"),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(t){t.stopPropagation(),Lc.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},sortBy(t){t==this.sortKey?this.sortOrder="asc"==this.sortOrder?"desc":"asc":(this.sortKey=t,this.sortOrder="asc")},changeTab(t){this.currentTab=t},getCurrentTab(){return this.currentTab},updateSelected(){window.currentStack.selected=this.currentTab},checkNewRelease(t){let e=new Date,n=new Date(t);return n.setDate(n.getDate()+3),e.setHours(0,0,0,0),e.getTime()<=n.getTime()},showArtist(t){const{name:e,picture_xl:n,id:a,releases:i}=t;this.title=e,this.image=n,this.type="Artist",this.link="https://www.deezer.com/artist/"+a,""===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:"",width:"32px"}],Nc(i)?this.body=null:this.body=i}},computed:{showTable(){return this.body?(t=this.body[this.currentTab],e=this.sortKey,n=this.sortOrder,null==t?[]:(To(e)||(e=null==e?[]:[e]),To(n=a?void 0:n)||(n=null==n?[]:[n]),Ec(t,e,n))):[];var t,e,n,a}},mounted(){to.on("show_artist",this.showArtist),eo.$on("artistTab:reset",this.reset),eo.$on("artistTab:updateSelected",this.updateSelected),eo.$on("artistTab:changeTab",this.changeTab)}};var Ic=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main_tabcontent fixed_footer image_header",attrs:{id:"artist_tab"}},[n("header",{staticClass:"inline-flex",style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+t.image+"')"}},[n("h1",[t._v(t._s(t.title))]),t._v(" "),n("div",{staticClass:"fab right",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("div",{staticClass:"tab"},t._l(t.body,(function(e,a){return n("button",{key:a,staticClass:"selective",class:{active:a===t.currentTab},attrs:{href:"#artist_"+a},on:{click:function(e){return t.changeTab(a)}}},[t._v("\n\t\t\t"+t._s(t.$tc("globals.listTabs."+a,2))+"\n\t\t")])})),0),t._v(" "),n("table",{staticClass:"table"},[n("thead",[n("tr",t._l(t.head,(function(e){return n("th",{class:{"sort-asc":e.sortKey==t.sortKey&&"asc"==t.sortOrder,"sort-desc":e.sortKey==t.sortKey&&"desc"==t.sortOrder,sortable:e.sortKey,clickable:e.sortKey},style:{width:e.width?e.width:"auto"},on:{click:function(n){e.sortKey&&t.sortBy(e.sortKey)}}},[t._v("\n\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t")])})),0)]),t._v(" "),n("tbody",t._l(t.showTable,(function(e){return n("tr",{key:e.id},[n("td",{staticClass:"inline-flex clickable",attrs:{"data-id":e.id},on:{click:t.albumView}},[n("img",{staticClass:"rounded coverart",staticStyle:{"margin-right":"16px",width:"56px",height:"56px"},attrs:{src:e.cover_small}}),t._v(" "),e.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[t._v("\n\t\t\t\t\t\texplicit\n\t\t\t\t\t")]):t._e(),t._v("\n\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t"),t.checkNewRelease(e.release_date)?n("i",{staticClass:"material-icons",staticStyle:{color:"#FF7300"}},[t._v("\n\t\t\t\t\t\tfiber_new\n\t\t\t\t\t")]):t._e()]),t._v(" "),n("td",[t._v(t._s(e.release_date))]),t._v(" "),n("td",{staticClass:"clickable",attrs:{"data-link":e.link},on:{click:function(e){return e.stopPropagation(),t.addToQueue(e)},contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)}}},[n("i",{staticClass:"material-icons"},[t._v("\n\t\t\t\t\t\tfile_download\n\t\t\t\t\t")])])])})),0)]),t._v(" "),n("footer",[n("button",{staticClass:"back-button"},[t._v(t._s(t.$t("globals.back")))])])])};Ic._withStripped=!0;var Fc=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/ArtistTab.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Ic,staticRenderFns:[]},(function(t){t&&t("data-v-f4144b7a_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"ArtistTab.vue"},media:void 0})}),Pc,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));function Oc(t){let e=t.toLowerCase();if(e.startsWith("http")){if(e.indexOf("deezer.com")>=0||e.indexOf("open.spotify.com")>=0)return!0}else if(e.startsWith("spotify:"))return!0;return!1}function Mc(t,e,n){var a;return function(){var i=this,r=arguments,s=function(){a=null,n||t.apply(i,r)},o=n&&!a;clearTimeout(a),a=setTimeout(s,e),o&&t.apply(i,r)}}var jc={isValidURL:Oc,convertDuration:function(t){let e,n;return e=Math.floor(t/60),n=t-60*e,n<10&&(n="0"+n),e+":"+n},convertDurationSeparated:function(t){let e,n,a;return n=Math.floor(t/60),e=Math.floor(n/60),a=t-60*n,n-=60*e,[e,n,a]},numberWithDots:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")},debounce:Mc,COUNTRIES:{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"}};const Rc={name:"tracklist-tab",data:()=>({title:"",metadata:"",release_date:"",label:"",explicit:!1,image:"",type:"empty",link:"",body:[]}),methods:{artistView:no.bind(null,"artist"),albumView:no.bind(null,"album"),playPausePreview(t){eo.$emit("trackPreview:playPausePreview",t)},reset(){this.title="Loading...",this.image="",this.metadata="",this.label="",this.release_date="",this.explicit=!1,this.type="empty",this.body=[]},addToQueue(t){Lc.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},toggleAll(t){this.body.forEach(e=>{"track"==e.type&&(e.selected=t.currentTarget.checked)})},selectedLinks(){var t=[];return this.body&&this.body.forEach(e=>{"track"==e.type&&e.selected&&t.push("spotifyPlaylist"==this.type?e.uri:e.link)}),t.join(";")},convertDuration:jc.convertDuration,showAlbum(t){const{id:e,title:n,explicit_lyrics:a,label:i,artist:{name:r},tracks:s,tracks:{length:o},release_date:l,cover_xl:c}=t;this.type="album",this.link="https://www.deezer.com/album/"+e,this.title=n,this.explicit=a,this.label=i,this.metadata=`${r}${this.$tc("globals.listTabs.trackN",o)}`,this.release_date=l.substring(0,10),this.image=c,Nc(s)?this.body=null:this.body=s},showPlaylist(t){const{id:e,title:n,picture_xl:a,creation_date:i,creator:{name:r},tracks:s,tracks:{length:o}}=t;this.type="playlist",this.link="https://www.deezer.com/playlist/"+e,this.title=n,this.image=a,this.release_date=i.substring(0,10),this.metadata=`${this.$t("globals.by",[r])}${this.$tc("globals.listTabs.trackN",o)}`,Nc(s)?this.body=null:this.body=s},showSpotifyPlaylist(t){const{uri:e,name:n,images:a,images:{length:i},owner:{display_name:r},tracks:s,tracks:{length:o}}=t;this.type="spotifyPlaylist",this.link=e,this.title=n,this.image=i?a[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",[r])}${this.$tc("globals.listTabs.trackN",o)}`,Nc(s)?this.body=null:this.body=s}},mounted(){eo.$on("tracklistTab:reset",this.reset),to.on("show_album",this.showAlbum),to.on("show_playlist",this.showPlaylist),to.on("show_spotifyplaylist",this.showSpotifyPlaylist)}};var Bc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main_tabcontent fixed_footer image_header",attrs:{id:"tracklist_tab"}},[n("header",{style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+t.image+"')"}},[n("h1",{staticClass:"inline-flex"},[t._v("\n\t\t\t"+t._s(t.title)+" "),t.explicit?n("i",{staticClass:"material-icons explicit_icon explicit_icon--right"},[t._v("explicit")]):t._e()]),t._v(" "),n("h2",{staticClass:"inline-flex"},[t.metadata?n("span",[t._v(t._s(t.metadata))]):t._e(),t._v(" "),t.release_date?n("span",{staticClass:"right"},[t._v(t._s(t.release_date))]):t._e()])]),t._v(" "),n("table",{staticClass:"table table--tracklist"},[n("thead",[n("tr",[t._m(0),t._v(" "),n("th",[t._v("#")]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.title",1)))]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.artist",1)))]),t._v(" "),"playlist"===t.type?n("th",[t._v(t._s(t.$tc("globals.listTabs.album",1)))]):t._e(),t._v(" "),t._m(1),t._v(" "),n("th",{staticClass:"table__icon table__cell--center clickable"},[n("input",{staticClass:"selectAll",attrs:{type:"checkbox"},on:{click:t.toggleAll}})])])]),t._v(" "),n("tbody",["spotifyPlaylist"!==t.type?[t._l(t.body,(function(e){return["track"==e.type?n("tr",[n("td",{staticClass:"table__cell--x-small table__cell--center"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[n("i",t._g({staticClass:"material-icons",class:{preview_playlist_controls:e.preview,disabled:!e.preview},attrs:{"data-preview":e.preview}},{click:!!e.preview&&t.playPausePreview}),[t._v("\n\t\t\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t\t\t")])])]),t._v(" "),n("td",{staticClass:"table__cell--small table__cell--center track_position"},[t._v("\n\t\t\t\t\t\t\t"+t._s("album"===t.type?e.track_position:t.body.indexOf(e)+1)+"\n\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--large table__cell--with-icon"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[e.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[t._v("\n\t\t\t\t\t\t\t\t\texplicit\n\t\t\t\t\t\t\t\t")]):t._e(),t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.title+(e.title_version&&-1==e.title.indexOf(e.title_version)?" "+e.title_version:""))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{"data-id":e.artist.id},on:{click:t.artistView}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.artist.name)+"\n\t\t\t\t\t\t")]),t._v(" "),"playlist"==t.type?n("td",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{"data-id":e.album.id},on:{click:t.albumView}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.album.title)+"\n\t\t\t\t\t\t")]):t._e(),t._v(" "),n("td",{staticClass:"table__cell--center",class:{"table__cell--small":"album"===t.type,"table__cell--x-small":"playlist"===t.type}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.convertDuration(e.duration))+"\n\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__icon table__cell--center"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.selected)?t._i(e.selected,null)>-1:e.selected},on:{change:function(n){var a=e.selected,i=n.target,r=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&t.$set(e,"selected",a.concat([null])):s>-1&&t.$set(e,"selected",a.slice(0,s).concat(a.slice(s+1)))}else t.$set(e,"selected",r)}}})])]):"disc_separator"==e.type?n("tr",{staticClass:"table__row-no-highlight",staticStyle:{opacity:"0.54"}},[t._m(2,!0),t._v(" "),n("td",{staticClass:"table__cell--center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.number)+"\n\t\t\t\t\t\t")]),t._v(" "),n("td",{attrs:{colspan:"4"}})]):t._e()]}))]:t._l(t.body,(function(e,a){return n("tr",[n("td",[e.preview_url?n("i",{class:"material-icons"+(e.preview_url?" preview_playlist_controls":""),attrs:{"data-preview":e.preview_url},on:{click:t.playPausePreview}},[t._v("\n\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t")]):n("i",{staticClass:"material-icons disabled"},[t._v("play_arrow")])]),t._v(" "),n("td",[t._v(t._s(a+1))]),t._v(" "),n("td",{staticClass:"inline-flex"},[e.explicit?n("i",{staticClass:"material-icons explicit_icon"},[t._v("explicit")]):t._e(),t._v("\n\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t")]),t._v(" "),n("td",[t._v(t._s(e.artists[0].name))]),t._v(" "),n("td",[t._v(t._s(e.album.name))]),t._v(" "),n("td",[t._v(t._s(t.convertDuration(Math.floor(e.duration_ms/1e3))))]),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.selected)?t._i(e.selected,null)>-1:e.selected},on:{change:function(n){var a=e.selected,i=n.target,r=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&t.$set(e,"selected",a.concat([null])):s>-1&&t.$set(e,"selected",a.slice(0,s).concat(a.slice(s+1)))}else t.$set(e,"selected",r)}}})])])}))],2)]),t._v(" "),t.label?n("span",{staticStyle:{opacity:"0.40","margin-top":"8px",display:"inline-block","font-size":"13px"}},[t._v(t._s(t.label))]):t._e(),t._v(" "),n("footer",[n("button",{attrs:{"data-link":t.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[t._v("\n\t\t\t"+t._s(""+t.$t("globals.download",[t.$tc("globals.listTabs."+t.type,1)]))+"\n\t\t")]),t._v(" "),n("button",{staticClass:"with_icon",attrs:{"data-link":t.selectedLinks()},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[t._v("\n\t\t\t"+t._s(t.$t("tracklist.downloadSelection"))),n("i",{staticClass:"material-icons"},[t._v("file_download")])]),t._v(" "),n("button",{staticClass:"back-button"},[t._v(t._s(t.$t("globals.back")))])])])};Bc._withStripped=!0;var zc=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TracklistTab.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Bc,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("i",{staticClass:"material-icons"},[this._v("music_note")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("i",{staticClass:"material-icons"},[this._v("timer")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("td",[e("div",{staticClass:"table__cell-content table__cell-content--vertical-center",staticStyle:{opacity:"0.54"}},[e("i",{staticClass:"material-icons"},[this._v("album")])])])}]},(function(t){t&&t("data-v-989edf76_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TracklistTab.vue"},media:void 0})}),Rc,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const qc={name:"the-charts-tab",data:()=>({country:"",id:0,countries:[],chart:[]}),methods:{artistView:no.bind(null,"artist"),albumView:no.bind(null,"album"),playPausePreview(t){eo.$emit("trackPreview:playPausePreview",t)},previewMouseEnter(t){eo.$emit("trackPreview:previewMouseEnter",t)},previewMouseLeave(t){eo.$emit("trackPreview:previewMouseLeave",t)},convertDuration:jc.convertDuration,addToQueue(t){t.stopPropagation(),Lc.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},getTrackList(t){document.getElementById("content").scrollTo(0,0);const{currentTarget:{dataset:{title:e}},currentTarget:{dataset:{id:n}}}=t;this.country=e,localStorage.setItem("chart",this.country),this.id=n,to.emit("getChartTracks",this.id)},setTracklist(t){this.chart=t},changeCountry(){this.country="",this.id=0},initCharts(t){if(this.countries=t,this.country=localStorage.getItem("chart")||"",!this.country)return;let e=0;for(;e<this.countries.length&&this.countries[e].title!=this.country;e++);e!==this.countries.length?(this.id=this.countries[e].id,to.emit("getChartTracks",this.id)):(this.country="",localStorage.setItem("chart",this.country))}},mounted(){to.on("init_charts",this.initCharts),to.on("setChartTracks",this.setTracklist)}};var Hc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main_tabcontent",attrs:{id:"charts_tab"}},[n("h2",{staticClass:"page_heading"},[t._v(t._s(t.$t("charts.title")))]),t._v(" "),""===t.country?n("div",{attrs:{id:"charts_selection"}},[n("div",{staticClass:"release_grid charts_grid"},[t._l(t.countries,(function(e){return["Worldwide"===e.title?n("div",{key:e.id,staticClass:"release clickable",attrs:{role:"button","aria-label":e.title,"data-title":e.title,"data-id":e.id},on:{click:t.getTrackList}},[n("img",{staticClass:"rounded coverart",attrs:{src:e.picture_medium}})]):t._e()]})),t._v(" "),t._l(t.countries,(function(e){return["Worldwide"!==e.title?n("div",{key:e.id,staticClass:"release clickable",attrs:{role:"button","aria-label":e.title,"data-title":e.title,"data-id":e.id},on:{click:t.getTrackList}},[n("img",{staticClass:"rounded coverart",attrs:{src:e.picture_medium}})]):t._e()]}))],2)]):n("div",{attrs:{id:"charts_table"}},[n("button",{on:{click:t.changeCountry}},[t._v(t._s(t.$t("charts.changeCountry")))]),t._v(" "),n("button",{attrs:{"data-link":"https://www.deezer.com/playlist/"+t.id},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[t._v("\n\t\t\t"+t._s(t.$t("charts.download"))+"\n\t\t")]),t._v(" "),n("table",{staticClass:"table table--charts"},[n("tbody",t._l(t.chart,(function(e){return n("tr",{staticClass:"track_row"},[n("td",{staticClass:"top-tracks-position",class:{first:1===e.position}},[t._v("\n\t\t\t\t\t\t"+t._s(e.position)+"\n\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__icon table__icon--big"},[n("a",{staticClass:"rounded",class:{"single-cover":e.preview},attrs:{href:"#","data-preview":e.preview},on:{click:t.playPausePreview}},[e.preview?n("i",{staticClass:"material-icons preview_controls",on:{mouseenter:t.previewMouseEnter,mouseleave:t.previewMouseLeave}},[t._v("\n\t\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t\t")]):t._e(),t._v(" "),n("img",{staticClass:"rounded coverart",attrs:{src:e.album.cover_small}})])]),t._v(" "),n("td",{staticClass:"table__cell--large breakline"},[t._v("\n\t\t\t\t\t\t"+t._s(e.title+(e.title_version&&-1==e.title.indexOf(e.title_version)?" "+e.title_version:""))+"\n\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.artist.id},on:{click:t.artistView}},[t._v("\n\t\t\t\t\t\t"+t._s(e.artist.name)+"\n\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.album.id},on:{click:t.albumView}},[t._v("\n\t\t\t\t\t\t"+t._s(e.album.title)+"\n\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--small table__cell--center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.convertDuration(e.duration))+"\n\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--download",attrs:{"data-link":e.link,role:"button","aria-label":"download"},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])])})),0)])])])};Hc._withStripped=!0;var Uc=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheChartsTab.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Hc,staticRenderFns:[]},(function(t){t&&t("data-v-76fb11d6_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheChartsTab.vue"},media:void 0})}),qc,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}})),Vc="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Wc(t,e){return t(e={exports:{}},e.exports),e.exports}var Qc=Wc((function(t){
/*!
* Toastify js 1.8.0
* https://github.com/apvarun/toastify-js
* @license MIT licensed
*
* Copyright (C) 2018 Varun A P
*/
!function(e,n){t.exports?t.exports=n():e.Toastify=n()}(Vc,(function(t){var e=function(t){return new e.lib.init(t)};function n(t,e){return!(!t||"string"!=typeof e)&&!!(t.className&&t.className.trim().split(/\s+/gi).indexOf(e)>-1)}return e.lib=e.prototype={toastify:"1.8.0",constructor:e,init:function(t){return t||(t={}),this.options={},this.toastElement=null,this.options.text=t.text||"Hi there!",this.options.node=t.node,this.options.duration=0===t.duration?0:t.duration||3e3,this.options.selector=t.selector,this.options.callback=t.callback||function(){},this.options.destination=t.destination,this.options.newWindow=t.newWindow||!1,this.options.close=t.close||!1,this.options.gravity="bottom"===t.gravity?"toastify-bottom":"toastify-top",this.options.positionLeft=t.positionLeft||!1,this.options.position=t.position||"",this.options.backgroundColor=t.backgroundColor,this.options.avatar=t.avatar||"",this.options.className=t.className||"",this.options.stopOnFocus=void 0===t.stopOnFocus||t.stopOnFocus,this.options.onClick=t.onClick,this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var t=document.createElement("div");if(t.className="toastify on "+this.options.className,this.options.position?t.className+=" toastify-"+this.options.position:!0===this.options.positionLeft?(t.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):t.className+=" toastify-right",t.className+=" "+this.options.gravity,this.options.backgroundColor&&(t.style.background=this.options.backgroundColor),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)t.appendChild(this.options.node);else if(t.innerHTML=this.options.text,""!==this.options.avatar){var e=document.createElement("img");e.src=this.options.avatar,e.className="toastify-avatar","left"==this.options.position||!0===this.options.positionLeft?t.appendChild(e):t.insertAdjacentElement("beforeend",e)}if(!0===this.options.close){var n=document.createElement("span");n.innerHTML="&#10006;",n.className="toast-close",n.addEventListener("click",function(t){t.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var a=window.innerWidth>0?window.innerWidth:screen.width;("left"==this.options.position||!0===this.options.positionLeft)&&a>360?t.insertAdjacentElement("afterbegin",n):t.appendChild(n)}if(this.options.stopOnFocus&&this.options.duration>0){const e=this;t.addEventListener("mouseover",(function(e){window.clearTimeout(t.timeOutValue)})),t.addEventListener("mouseleave",(function(){t.timeOutValue=window.setTimeout((function(){e.removeElement(t)}),e.options.duration)}))}return void 0!==this.options.destination&&t.addEventListener("click",function(t){t.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&&t.addEventListener("click",function(t){t.stopPropagation(),this.options.onClick()}.bind(this)),t},showToast:function(){var t;if(this.toastElement=this.buildToast(),!(t=void 0===this.options.selector?document.body:document.getElementById(this.options.selector)))throw"Root element is not defined";return t.insertBefore(this.toastElement,t.firstChild),e.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(t){t.className=t.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),t.parentNode&&t.parentNode.removeChild(t),this.options.callback.call(t),e.reposition()}.bind(this),400)}},e.reposition=function(){for(var t,e={top:15,bottom:15},a={top:15,bottom:15},i={top:15,bottom:15},r=document.getElementsByClassName("toastify"),s=0;s<r.length;s++){t=!0===n(r[s],"toastify-top")?"toastify-top":"toastify-bottom";var o=r[s].offsetHeight;t=t.substr(9,t.length-1);(window.innerWidth>0?window.innerWidth:screen.width)<=360?(r[s].style[t]=i[t]+"px",i[t]+=o+15):!0===n(r[s],"toastify-left")?(r[s].style[t]=e[t]+"px",e[t]+=o+15):(r[s].style[t]=a[t]+"px",a[t]+=o+15)}return this},e.lib.init.prototype=e.lib,e}))})),Gc=Wc((function(t){
/*!
* jQuery JavaScript Library v3.5.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2020-05-04T22:49Z
*/
!function(e,n){t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}}("undefined"!=typeof window?window:Vc,(function(t,e){var n=[],a=Object.getPrototypeOf,i=n.slice,r=n.flat?function(t){return n.flat.call(t)}:function(t){return n.concat.apply([],t)},s=n.push,o=n.indexOf,l={},c=l.toString,u=l.hasOwnProperty,d=u.toString,p=d.call(Object),f={},h=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},v=function(t){return null!=t&&t===t.window},m=t.document,g={type:!0,src:!0,nonce:!0,noModule:!0};function _(t,e,n){var a,i,r=(n=n||m).createElement("script");if(r.text=t,e)for(a in g)(i=e[a]||e.getAttribute&&e.getAttribute(a))&&r.setAttribute(a,i);n.head.appendChild(r).parentNode.removeChild(r)}function y(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?l[c.call(t)]||"object":typeof t}var b=function(t,e){return new b.fn.init(t,e)};function w(t){var e=!!t&&"length"in t&&t.length,n=y(t);return!h(t)&&!v(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}b.fn=b.prototype={jquery:"3.5.1",constructor:b,length:0,toArray:function(){return i.call(this)},get:function(t){return null==t?i.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=b.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return b.each(this,t)},map:function(t){return this.pushStack(b.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(b.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(b.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},b.extend=b.fn.extend=function(){var t,e,n,a,i,r,s=arguments[0]||{},o=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[o]||{},o++),"object"==typeof s||h(s)||(s={}),o===l&&(s=this,o--);o<l;o++)if(null!=(t=arguments[o]))for(e in t)a=t[e],"__proto__"!==e&&s!==a&&(c&&a&&(b.isPlainObject(a)||(i=Array.isArray(a)))?(n=s[e],r=i&&!Array.isArray(n)?[]:i||b.isPlainObject(n)?n:{},i=!1,s[e]=b.extend(c,r,a)):void 0!==a&&(s[e]=a));return s},b.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==c.call(t))&&(!(e=a(t))||"function"==typeof(n=u.call(e,"constructor")&&e.constructor)&&d.call(n)===p)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){_(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,a=0;if(w(t))for(n=t.length;a<n&&!1!==e.call(t[a],a,t[a]);a++);else for(a in t)if(!1===e.call(t[a],a,t[a]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(w(Object(t))?b.merge(n,"string"==typeof t?[t]:t):s.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:o.call(e,t,n)},merge:function(t,e){for(var n=+e.length,a=0,i=t.length;a<n;a++)t[i++]=e[a];return t.length=i,t},grep:function(t,e,n){for(var a=[],i=0,r=t.length,s=!n;i<r;i++)!e(t[i],i)!==s&&a.push(t[i]);return a},map:function(t,e,n){var a,i,s=0,o=[];if(w(t))for(a=t.length;s<a;s++)null!=(i=e(t[s],s,n))&&o.push(i);else for(s in t)null!=(i=e(t[s],s,n))&&o.push(i);return r(o)},guid:1,support:f}),"function"==typeof Symbol&&(b.fn[Symbol.iterator]=n[Symbol.iterator]),b.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){l["[object "+e+"]"]=e.toLowerCase()}));var k=
/*!
* Sizzle CSS Selector Engine v2.3.5
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2020-03-14
*/
function(t){var e,n,a,i,r,s,o,l,c,u,d,p,f,h,v,m,g,_,y,b="sizzle"+1*new Date,w=t.document,k=0,x=0,C=lt(),A=lt(),T=lt(),$=lt(),S=function(t,e){return t===e&&(d=!0),0},N={}.hasOwnProperty,D=[],E=D.pop,L=D.push,P=D.push,I=D.slice,F=function(t,e){for(var n=0,a=t.length;n<a;n++)if(t[n]===e)return n;return-1},O="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",j="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",R="\\["+M+"*("+j+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+M+"*\\]",B=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",z=new RegExp(M+"+","g"),q=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),H=new RegExp("^"+M+"*,"+M+"*"),U=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),V=new RegExp(M+"|>"),W=new RegExp(B),Q=new RegExp("^"+j+"$"),G={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},at=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"<22>":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){p()},st=bt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(D=I.call(w.childNodes),w.childNodes),D[w.childNodes.length].nodeType}catch(t){P={apply:D.length?function(t,e){L.apply(t,I.call(e))}:function(t,e){for(var n=t.length,a=0;t[n++]=e[a++];);t.length=n-1}}}function ot(t,e,a,i){var r,o,c,u,d,h,g,_=e&&e.ownerDocument,w=e?e.nodeType:9;if(a=a||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return a;if(!i&&(p(e),e=e||f,v)){if(11!==w&&(d=Z.exec(t)))if(r=d[1]){if(9===w){if(!(c=e.getElementById(r)))return a;if(c.id===r)return a.push(c),a}else if(_&&(c=_.getElementById(r))&&y(e,c)&&c.id===r)return a.push(c),a}else{if(d[2])return P.apply(a,e.getElementsByTagName(t)),a;if((r=d[3])&&n.getElementsByClassName&&e.getElementsByClassName)return P.apply(a,e.getElementsByClassName(r)),a}if(n.qsa&&!$[t+" "]&&(!m||!m.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(g=t,_=e,1===w&&(V.test(t)||U.test(t))){for((_=tt.test(t)&&gt(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(at,it):e.setAttribute("id",u=b)),o=(h=s(t)).length;o--;)h[o]=(u?"#"+u:":scope")+" "+yt(h[o]);g=h.join(",")}try{return P.apply(a,_.querySelectorAll(g)),a}catch(e){$(t,!0)}finally{u===b&&e.removeAttribute("id")}}}return l(t.replace(q,"$1"),e,a,i)}function lt(){var t=[];return function e(n,i){return t.push(n+" ")>a.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function ct(t){return t[b]=!0,t}function ut(t){var e=f.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function dt(t,e){for(var n=t.split("|"),i=n.length;i--;)a.attrHandle[n[i]]=e}function pt(t,e){var n=e&&t,a=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(a)return a;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function vt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ct((function(e){return e=+e,ct((function(n,a){for(var i,r=t([],n.length,e),s=r.length;s--;)n[i=r[s]]&&(n[i]=!(a[i]=n[i]))}))}))}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=ot.support={},r=ot.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!K.test(e||n&&n.nodeName||"HTML")},p=ot.setDocument=function(t){var e,i,s=t?t.ownerDocument||t:w;return s!=f&&9===s.nodeType&&s.documentElement?(h=(f=s).documentElement,v=!r(f),w!=f&&(i=f.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",rt,!1):i.attachEvent&&i.attachEvent("onunload",rt)),n.scope=ut((function(t){return h.appendChild(t).appendChild(f.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=ut((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ut((function(t){return t.appendChild(f.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=X.test(f.getElementsByClassName),n.getById=ut((function(t){return h.appendChild(t).id=b,!f.getElementsByName||!f.getElementsByName(b).length})),n.getById?(a.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},a.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n=e.getElementById(t);return n?[n]:[]}}):(a.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},a.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n,a,i,r=e.getElementById(t);if(r){if((n=r.getAttributeNode("id"))&&n.value===t)return[r];for(i=e.getElementsByName(t),a=0;r=i[a++];)if((n=r.getAttributeNode("id"))&&n.value===t)return[r]}return[]}}),a.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,a=[],i=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[i++];)1===n.nodeType&&a.push(n);return a}return r},a.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&v)return e.getElementsByClassName(t)},g=[],m=[],(n.qsa=X.test(f.querySelectorAll))&&(ut((function(t){var e;h.appendChild(t).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+O+")"),t.querySelectorAll("[id~="+b+"-]").length||m.push("~="),(e=f.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ut((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=f.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=X.test(_=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ut((function(t){n.disconnectedMatch=_.call(t,"*"),_.call(t,"[s!='']:x"),g.push("!=",B)})),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),e=X.test(h.compareDocumentPosition),y=e||X.test(h.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,a=e&&e.parentNode;return t===a||!(!a||1!==a.nodeType||!(n.contains?n.contains(a):t.compareDocumentPosition&&16&t.compareDocumentPosition(a)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},S=e?function(t,e){if(t===e)return d=!0,0;var a=!t.compareDocumentPosition-!e.compareDocumentPosition;return a||(1&(a=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===a?t==f||t.ownerDocument==w&&y(w,t)?-1:e==f||e.ownerDocument==w&&y(w,e)?1:u?F(u,t)-F(u,e):0:4&a?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,a=0,i=t.parentNode,r=e.parentNode,s=[t],o=[e];if(!i||!r)return t==f?-1:e==f?1:i?-1:r?1:u?F(u,t)-F(u,e):0;if(i===r)return pt(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)o.unshift(n);for(;s[a]===o[a];)a++;return a?pt(s[a],o[a]):s[a]==w?-1:o[a]==w?1:0},f):f},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if(p(t),n.matchesSelector&&v&&!$[e+" "]&&(!g||!g.test(e))&&(!m||!m.test(e)))try{var a=_.call(t,e);if(a||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return a}catch(t){$(e,!0)}return ot(e,f,null,[t]).length>0},ot.contains=function(t,e){return(t.ownerDocument||t)!=f&&p(t),y(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!=f&&p(t);var i=a.attrHandle[e.toLowerCase()],r=i&&N.call(a.attrHandle,e.toLowerCase())?i(t,e,!v):void 0;return void 0!==r?r:n.attributes||!v?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},ot.escape=function(t){return(t+"").replace(at,it)},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,a=[],i=0,r=0;if(d=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort(S),d){for(;e=t[r++];)e===t[r]&&(i=a.push(r));for(;i--;)t.splice(a[i],1)}return u=null,t},i=ot.getText=function(t){var e,n="",a=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[a++];)n+=i(e);return n},(a=ot.selectors={cacheLength:50,createPseudo:ct,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&W.test(n)&&(e=s(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=C[t+" "];return e||(e=new RegExp("(^|"+M+")"+t+"("+M+"|$)"))&&C(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(a){var i=ot.attr(a,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(z," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,a,i){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),o="of-type"===e;return 1===a&&0===i?function(t){return!!t.parentNode}:function(e,n,l){var c,u,d,p,f,h,v=r!==s?"nextSibling":"previousSibling",m=e.parentNode,g=o&&e.nodeName.toLowerCase(),_=!l&&!o,y=!1;if(m){if(r){for(;v;){for(p=e;p=p[v];)if(o?p.nodeName.toLowerCase()===g:1===p.nodeType)return!1;h=v="only"===t&&!h&&"nextSibling"}return!0}if(h=[s?m.firstChild:m.lastChild],s&&_){for(y=(f=(c=(u=(d=(p=m)[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===k&&c[1])&&c[2],p=f&&m.childNodes[f];p=++f&&p&&p[v]||(y=f=0)||h.pop();)if(1===p.nodeType&&++y&&p===e){u[t]=[k,f,y];break}}else if(_&&(y=f=(c=(u=(d=(p=e)[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===k&&c[1]),!1===y)for(;(p=++f&&p&&p[v]||(y=f=0)||h.pop())&&((o?p.nodeName.toLowerCase()!==g:1!==p.nodeType)||!++y||(_&&((u=(d=p[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]=[k,y]),p!==e)););return(y-=i)===a||y%a==0&&y/a>=0}}},PSEUDO:function(t,e){var n,i=a.pseudos[t]||a.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return i[b]?i(e):i.length>1?(n=[t,t,"",e],a.setFilters.hasOwnProperty(t.toLowerCase())?ct((function(t,n){for(var a,r=i(t,e),s=r.length;s--;)t[a=F(t,r[s])]=!(n[a]=r[s])})):function(t){return i(t,0,n)}):i}},pseudos:{not:ct((function(t){var e=[],n=[],a=o(t.replace(q,"$1"));return a[b]?ct((function(t,e,n,i){for(var r,s=a(t,null,i,[]),o=t.length;o--;)(r=s[o])&&(t[o]=!(e[o]=r))})):function(t,i,r){return e[0]=t,a(e,null,r,n),e[0]=null,!n.pop()}})),has:ct((function(t){return function(e){return ot(t,e).length>0}})),contains:ct((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||i(e)).indexOf(t)>-1}})),lang:ct((function(t){return Q.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=v?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:vt(!1),disabled:vt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!a.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt((function(){return[0]})),last:mt((function(t,e){return[e-1]})),eq:mt((function(t,e,n){return[n<0?n+e:n]})),even:mt((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:mt((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:mt((function(t,e,n){for(var a=n<0?n+e:n>e?e:n;--a>=0;)t.push(a);return t})),gt:mt((function(t,e,n){for(var a=n<0?n+e:n;++a<e;)t.push(a);return t}))}}).pseudos.nth=a.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})a.pseudos[e]=ft(e);for(e in{submit:!0,reset:!0})a.pseudos[e]=ht(e);function _t(){}function yt(t){for(var e=0,n=t.length,a="";e<n;e++)a+=t[e].value;return a}function bt(t,e,n){var a=e.dir,i=e.next,r=i||a,s=n&&"parentNode"===r,o=x++;return e.first?function(e,n,i){for(;e=e[a];)if(1===e.nodeType||s)return t(e,n,i);return!1}:function(e,n,l){var c,u,d,p=[k,o];if(l){for(;e=e[a];)if((1===e.nodeType||s)&&t(e,n,l))return!0}else for(;e=e[a];)if(1===e.nodeType||s)if(u=(d=e[b]||(e[b]={}))[e.uniqueID]||(d[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[a]||e;else{if((c=u[r])&&c[0]===k&&c[1]===o)return p[2]=c[2];if(u[r]=p,p[2]=t(e,n,l))return!0}return!1}}function wt(t){return t.length>1?function(e,n,a){for(var i=t.length;i--;)if(!t[i](e,n,a))return!1;return!0}:t[0]}function kt(t,e,n,a,i){for(var r,s=[],o=0,l=t.length,c=null!=e;o<l;o++)(r=t[o])&&(n&&!n(r,a,i)||(s.push(r),c&&e.push(o)));return s}function xt(t,e,n,a,i,r){return a&&!a[b]&&(a=xt(a)),i&&!i[b]&&(i=xt(i,r)),ct((function(r,s,o,l){var c,u,d,p=[],f=[],h=s.length,v=r||function(t,e,n){for(var a=0,i=e.length;a<i;a++)ot(t,e[a],n);return n}(e||"*",o.nodeType?[o]:o,[]),m=!t||!r&&e?v:kt(v,p,t,o,l),g=n?i||(r?t:h||a)?[]:s:m;if(n&&n(m,g,o,l),a)for(c=kt(g,f),a(c,[],o,l),u=c.length;u--;)(d=c[u])&&(g[f[u]]=!(m[f[u]]=d));if(r){if(i||t){if(i){for(c=[],u=g.length;u--;)(d=g[u])&&c.push(m[u]=d);i(null,g=[],c,l)}for(u=g.length;u--;)(d=g[u])&&(c=i?F(r,d):p[u])>-1&&(r[c]=!(s[c]=d))}}else g=kt(g===s?g.splice(h,g.length):g),i?i(null,s,g,l):P.apply(s,g)}))}function Ct(t){for(var e,n,i,r=t.length,s=a.relative[t[0].type],o=s||a.relative[" "],l=s?1:0,u=bt((function(t){return t===e}),o,!0),d=bt((function(t){return F(e,t)>-1}),o,!0),p=[function(t,n,a){var i=!s&&(a||n!==c)||((e=n).nodeType?u(t,n,a):d(t,n,a));return e=null,i}];l<r;l++)if(n=a.relative[t[l].type])p=[bt(wt(p),n)];else{if((n=a.filter[t[l].type].apply(null,t[l].matches))[b]){for(i=++l;i<r&&!a.relative[t[i].type];i++);return xt(l>1&&wt(p),l>1&&yt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(q,"$1"),n,l<i&&Ct(t.slice(l,i)),i<r&&Ct(t=t.slice(i)),i<r&&yt(t))}p.push(n)}return wt(p)}return _t.prototype=a.filters=a.pseudos,a.setFilters=new _t,s=ot.tokenize=function(t,e){var n,i,r,s,o,l,c,u=A[t+" "];if(u)return e?0:u.slice(0);for(o=t,l=[],c=a.preFilter;o;){for(s in n&&!(i=H.exec(o))||(i&&(o=o.slice(i[0].length)||o),l.push(r=[])),n=!1,(i=U.exec(o))&&(n=i.shift(),r.push({value:n,type:i[0].replace(q," ")}),o=o.slice(n.length)),a.filter)!(i=G[s].exec(o))||c[s]&&!(i=c[s](i))||(n=i.shift(),r.push({value:n,type:s,matches:i}),o=o.slice(n.length));if(!n)break}return e?o.length:o?ot.error(t):A(t,l).slice(0)},o=ot.compile=function(t,e){var n,i=[],r=[],o=T[t+" "];if(!o){for(e||(e=s(t)),n=e.length;n--;)(o=Ct(e[n]))[b]?i.push(o):r.push(o);(o=T(t,function(t,e){var n=e.length>0,i=t.length>0,r=function(r,s,o,l,u){var d,h,m,g=0,_="0",y=r&&[],b=[],w=c,x=r||i&&a.find.TAG("*",u),C=k+=null==w?1:Math.random()||.1,A=x.length;for(u&&(c=s==f||s||u);_!==A&&null!=(d=x[_]);_++){if(i&&d){for(h=0,s||d.ownerDocument==f||(p(d),o=!v);m=t[h++];)if(m(d,s||f,o)){l.push(d);break}u&&(k=C)}n&&((d=!m&&d)&&g--,r&&y.push(d))}if(g+=_,n&&_!==g){for(h=0;m=e[h++];)m(y,b,s,o);if(r){if(g>0)for(;_--;)y[_]||b[_]||(b[_]=E.call(l));b=kt(b)}P.apply(l,b),u&&!r&&b.length>0&&g+e.length>1&&ot.uniqueSort(l)}return u&&(k=C,c=w),y};return n?ct(r):r}(r,i))).selector=t}return o},l=ot.select=function(t,e,n,i){var r,l,c,u,d,p="function"==typeof t&&t,f=!i&&s(t=p.selector||t);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===e.nodeType&&v&&a.relative[l[1].type]){if(!(e=(a.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return n;p&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(r=G.needsContext.test(t)?0:l.length;r--&&(c=l[r],!a.relative[u=c.type]);)if((d=a.find[u])&&(i=d(c.matches[0].replace(et,nt),tt.test(l[0].type)&&gt(e.parentNode)||e))){if(l.splice(r,1),!(t=i.length&&yt(l)))return P.apply(n,i),n;break}}return(p||o(t,f))(i,e,!v,n,!e||tt.test(t)&&gt(e.parentNode)||e),n},n.sortStable=b.split("").sort(S).join("")===b,n.detectDuplicates=!!d,p(),n.sortDetached=ut((function(t){return 1&t.compareDocumentPosition(f.createElement("fieldset"))})),ut((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||dt("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ut((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||dt("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ut((function(t){return null==t.getAttribute("disabled")}))||dt(O,(function(t,e,n){var a;if(!n)return!0===t[e]?e.toLowerCase():(a=t.getAttributeNode(e))&&a.specified?a.value:null})),ot}(t);b.find=k,b.expr=k.selectors,b.expr[":"]=b.expr.pseudos,b.uniqueSort=b.unique=k.uniqueSort,b.text=k.getText,b.isXMLDoc=k.isXML,b.contains=k.contains,b.escapeSelector=k.escape;var x=function(t,e,n){for(var a=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&b(t).is(n))break;a.push(t)}return a},C=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},A=b.expr.match.needsContext;function T(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var $=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function S(t,e,n){return h(e)?b.grep(t,(function(t,a){return!!e.call(t,a,t)!==n})):e.nodeType?b.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?b.grep(t,(function(t){return o.call(e,t)>-1!==n})):b.filter(e,t,n)}b.filter=function(t,e,n){var a=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===a.nodeType?b.find.matchesSelector(a,t)?[a]:[]:b.find.matches(t,b.grep(e,(function(t){return 1===t.nodeType})))},b.fn.extend({find:function(t){var e,n,a=this.length,i=this;if("string"!=typeof t)return this.pushStack(b(t).filter((function(){for(e=0;e<a;e++)if(b.contains(i[e],this))return!0})));for(n=this.pushStack([]),e=0;e<a;e++)b.find(t,i[e],n);return a>1?b.uniqueSort(n):n},filter:function(t){return this.pushStack(S(this,t||[],!1))},not:function(t){return this.pushStack(S(this,t||[],!0))},is:function(t){return!!S(this,"string"==typeof t&&A.test(t)?b(t):t||[],!1).length}});var N,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(b.fn.init=function(t,e,n){var a,i;if(!t)return this;if(n=n||N,"string"==typeof t){if(!(a="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:D.exec(t))||!a[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(a[1]){if(e=e instanceof b?e[0]:e,b.merge(this,b.parseHTML(a[1],e&&e.nodeType?e.ownerDocument||e:m,!0)),$.test(a[1])&&b.isPlainObject(e))for(a in e)h(this[a])?this[a](e[a]):this.attr(a,e[a]);return this}return(i=m.getElementById(a[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):h(t)?void 0!==n.ready?n.ready(t):t(b):b.makeArray(t,this)}).prototype=b.fn,N=b(m);var E=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function P(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}b.fn.extend({has:function(t){var e=b(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(b.contains(this,e[t]))return!0}))},closest:function(t,e){var n,a=0,i=this.length,r=[],s="string"!=typeof t&&b(t);if(!A.test(t))for(;a<i;a++)for(n=this[a];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&b.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?b.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?o.call(b(t),this[0]):o.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(b.uniqueSort(b.merge(this.get(),b(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),b.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return x(t,"parentNode")},parentsUntil:function(t,e,n){return x(t,"parentNode",n)},next:function(t){return P(t,"nextSibling")},prev:function(t){return P(t,"previousSibling")},nextAll:function(t){return x(t,"nextSibling")},prevAll:function(t){return x(t,"previousSibling")},nextUntil:function(t,e,n){return x(t,"nextSibling",n)},prevUntil:function(t,e,n){return x(t,"previousSibling",n)},siblings:function(t){return C((t.parentNode||{}).firstChild,t)},children:function(t){return C(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(T(t,"template")&&(t=t.content||t),b.merge([],t.childNodes))}},(function(t,e){b.fn[t]=function(n,a){var i=b.map(this,e,n);return"Until"!==t.slice(-5)&&(a=n),a&&"string"==typeof a&&(i=b.filter(a,i)),this.length>1&&(L[t]||b.uniqueSort(i),E.test(t)&&i.reverse()),this.pushStack(i)}}));var I=/[^\x20\t\r\n\f]+/g;function F(t){return t}function O(t){throw t}function M(t,e,n,a){var i;try{t&&h(i=t.promise)?i.call(t).done(e).fail(n):t&&h(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(a))}catch(t){n.apply(void 0,[t])}}b.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return b.each(t.match(I)||[],(function(t,n){e[n]=!0})),e}(t):b.extend({},t);var e,n,a,i,r=[],s=[],o=-1,l=function(){for(i=i||t.once,a=e=!0;s.length;o=-1)for(n=s.shift();++o<r.length;)!1===r[o].apply(n[0],n[1])&&t.stopOnFalse&&(o=r.length,n=!1);t.memory||(n=!1),e=!1,i&&(r=n?[]:"")},c={add:function(){return r&&(n&&!e&&(o=r.length-1,s.push(n)),function e(n){b.each(n,(function(n,a){h(a)?t.unique&&c.has(a)||r.push(a):a&&a.length&&"string"!==y(a)&&e(a)}))}(arguments),n&&!e&&l()),this},remove:function(){return b.each(arguments,(function(t,e){for(var n;(n=b.inArray(e,r,n))>-1;)r.splice(n,1),n<=o&&o--})),this},has:function(t){return t?b.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return i=s=[],r=n="",this},disabled:function(){return!r},lock:function(){return i=s=[],n||e||(r=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!a}};return c},b.extend({Deferred:function(e){var n=[["notify","progress",b.Callbacks("memory"),b.Callbacks("memory"),2],["resolve","done",b.Callbacks("once memory"),b.Callbacks("once memory"),0,"resolved"],["reject","fail",b.Callbacks("once memory"),b.Callbacks("once memory"),1,"rejected"]],a="pending",i={state:function(){return a},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return b.Deferred((function(e){b.each(n,(function(n,a){var i=h(t[a[4]])&&t[a[4]];r[a[1]]((function(){var t=i&&i.apply(this,arguments);t&&h(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[a[0]+"With"](this,i?[t]:arguments)}))})),t=null})).promise()},then:function(e,a,i){var r=0;function s(e,n,a,i){return function(){var o=this,l=arguments,c=function(){var t,c;if(!(e<r)){if((t=a.apply(o,l))===n.promise())throw new TypeError("Thenable self-resolution");c=t&&("object"==typeof t||"function"==typeof t)&&t.then,h(c)?i?c.call(t,s(r,n,F,i),s(r,n,O,i)):(r++,c.call(t,s(r,n,F,i),s(r,n,O,i),s(r,n,F,n.notifyWith))):(a!==F&&(o=void 0,l=[t]),(i||n.resolveWith)(o,l))}},u=i?c:function(){try{c()}catch(t){b.Deferred.exceptionHook&&b.Deferred.exceptionHook(t,u.stackTrace),e+1>=r&&(a!==O&&(o=void 0,l=[t]),n.rejectWith(o,l))}};e?u():(b.Deferred.getStackHook&&(u.stackTrace=b.Deferred.getStackHook()),t.setTimeout(u))}}return b.Deferred((function(t){n[0][3].add(s(0,t,h(i)?i:F,t.notifyWith)),n[1][3].add(s(0,t,h(e)?e:F)),n[2][3].add(s(0,t,h(a)?a:O))})).promise()},promise:function(t){return null!=t?b.extend(t,i):i}},r={};return b.each(n,(function(t,e){var s=e[2],o=e[5];i[e[1]]=s.add,o&&s.add((function(){a=o}),n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),s.add(e[3].fire),r[e[0]]=function(){return r[e[0]+"With"](this===r?void 0:this,arguments),this},r[e[0]+"With"]=s.fireWith})),i.promise(r),e&&e.call(r,r),r},when:function(t){var e=arguments.length,n=e,a=Array(n),r=i.call(arguments),s=b.Deferred(),o=function(t){return function(n){a[t]=this,r[t]=arguments.length>1?i.call(arguments):n,--e||s.resolveWith(a,r)}};if(e<=1&&(M(t,s.done(o(n)).resolve,s.reject,!e),"pending"===s.state()||h(r[n]&&r[n].then)))return s.then();for(;n--;)M(r[n],o(n),s.reject);return s.promise()}});var j=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;b.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&j.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},b.readyException=function(e){t.setTimeout((function(){throw e}))};var R=b.Deferred();function B(){m.removeEventListener("DOMContentLoaded",B),t.removeEventListener("load",B),b.ready()}b.fn.ready=function(t){return R.then(t).catch((function(t){b.readyException(t)})),this},b.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--b.readyWait:b.isReady)||(b.isReady=!0,!0!==t&&--b.readyWait>0||R.resolveWith(m,[b]))}}),b.ready.then=R.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?t.setTimeout(b.ready):(m.addEventListener("DOMContentLoaded",B),t.addEventListener("load",B));var z=function(t,e,n,a,i,r,s){var o=0,l=t.length,c=null==n;if("object"===y(n))for(o in i=!0,n)z(t,e,o,n[o],!0,r,s);else if(void 0!==a&&(i=!0,h(a)||(s=!0),c&&(s?(e.call(t,a),e=null):(c=e,e=function(t,e,n){return c.call(b(t),n)})),e))for(;o<l;o++)e(t[o],n,s?a:a.call(t[o],o,e(t[o],n)));return i?t:c?e.call(t):l?e(t[0],n):r},q=/^-ms-/,H=/-([a-z])/g;function U(t,e){return e.toUpperCase()}function V(t){return t.replace(q,"ms-").replace(H,U)}var W=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Q(){this.expando=b.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(t){var e=t[this.expando];return e||(e={},W(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var a,i=this.cache(t);if("string"==typeof e)i[V(e)]=n;else for(a in e)i[V(a)]=e[a];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][V(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,a=t[this.expando];if(void 0!==a){if(void 0!==e){n=(e=Array.isArray(e)?e.map(V):(e=V(e))in a?[e]:e.match(I)||[]).length;for(;n--;)delete a[e[n]]}(void 0===e||b.isEmptyObject(a))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!b.isEmptyObject(e)}};var G=new Q,K=new Q,Y=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function X(t,e,n){var a;if(void 0===n&&1===t.nodeType)if(a="data-"+e.replace(J,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(a))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Y.test(t)?JSON.parse(t):t)}(n)}catch(t){}K.set(t,e,n)}else n=void 0;return n}b.extend({hasData:function(t){return K.hasData(t)||G.hasData(t)},data:function(t,e,n){return K.access(t,e,n)},removeData:function(t,e){K.remove(t,e)},_data:function(t,e,n){return G.access(t,e,n)},_removeData:function(t,e){G.remove(t,e)}}),b.fn.extend({data:function(t,e){var n,a,i,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(i=K.get(r),1===r.nodeType&&!G.get(r,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(a=s[n].name).indexOf("data-")&&(a=V(a.slice(5)),X(r,a,i[a]));G.set(r,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each((function(){K.set(this,t)})):z(this,(function(e){var n;if(r&&void 0===e)return void 0!==(n=K.get(r,t))||void 0!==(n=X(r,t))?n:void 0;this.each((function(){K.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){K.remove(this,t)}))}}),b.extend({queue:function(t,e,n){var a;if(t)return e=(e||"fx")+"queue",a=G.get(t,e),n&&(!a||Array.isArray(n)?a=G.access(t,e,b.makeArray(n)):a.push(n)),a||[]},dequeue:function(t,e){e=e||"fx";var n=b.queue(t,e),a=n.length,i=n.shift(),r=b._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),a--),i&&("fx"===e&&n.unshift("inprogress"),delete r.stop,i.call(t,(function(){b.dequeue(t,e)}),r)),!a&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return G.get(t,n)||G.access(t,n,{empty:b.Callbacks("once memory").add((function(){G.remove(t,[e+"queue",n])}))})}}),b.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?b.queue(this[0],t):void 0===e?this:this.each((function(){var n=b.queue(this,t,e);b._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&b.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){b.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,a=1,i=b.Deferred(),r=this,s=this.length,o=function(){--a||i.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=G.get(r[s],t+"queueHooks"))&&n.empty&&(a++,n.empty.add(o));return o(),i.promise(e)}});var Z=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,tt=new RegExp("^(?:([+-])=|)("+Z+")([a-z%]*)$","i"),et=["Top","Right","Bottom","Left"],nt=m.documentElement,at=function(t){return b.contains(t.ownerDocument,t)},it={composed:!0};nt.getRootNode&&(at=function(t){return b.contains(t.ownerDocument,t)||t.getRootNode(it)===t.ownerDocument});var rt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&at(t)&&"none"===b.css(t,"display")};function st(t,e,n,a){var i,r,s=20,o=a?function(){return a.cur()}:function(){return b.css(t,e,"")},l=o(),c=n&&n[3]||(b.cssNumber[e]?"":"px"),u=t.nodeType&&(b.cssNumber[e]||"px"!==c&&+l)&&tt.exec(b.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)b.style(t,e,u+c),(1-r)*(1-(r=o()/l||.5))<=0&&(s=0),u/=r;u*=2,b.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],a&&(a.unit=c,a.start=u,a.end=i)),i}var ot={};function lt(t){var e,n=t.ownerDocument,a=t.nodeName,i=ot[a];return i||(e=n.body.appendChild(n.createElement(a)),i=b.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),ot[a]=i,i)}function ct(t,e){for(var n,a,i=[],r=0,s=t.length;r<s;r++)(a=t[r]).style&&(n=a.style.display,e?("none"===n&&(i[r]=G.get(a,"display")||null,i[r]||(a.style.display="")),""===a.style.display&&rt(a)&&(i[r]=lt(a))):"none"!==n&&(i[r]="none",G.set(a,"display",n)));for(r=0;r<s;r++)null!=i[r]&&(t[r].style.display=i[r]);return t}b.fn.extend({show:function(){return ct(this,!0)},hide:function(){return ct(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){rt(this)?b(this).show():b(this).hide()}))}});var ut=/^(?:checkbox|radio)$/i,dt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pt=/^$|^module$|\/(?:java|ecma)script/i;!function(){var t=m.createDocumentFragment().appendChild(m.createElement("div")),e=m.createElement("input");e.setAttribute("type","radio"),e.setAttribute("checked","checked"),e.setAttribute("name","t"),t.appendChild(e),f.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",f.option=!!t.lastChild}();var ft={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ht(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&T(t,e)?b.merge([t],n):n}function vt(t,e){for(var n=0,a=t.length;n<a;n++)G.set(t[n],"globalEval",!e||G.get(e[n],"globalEval"))}ft.tbody=ft.tfoot=ft.colgroup=ft.caption=ft.thead,ft.th=ft.td,f.option||(ft.optgroup=ft.option=[1,"<select multiple='multiple'>","</select>"]);var mt=/<|&#?\w+;/;function gt(t,e,n,a,i){for(var r,s,o,l,c,u,d=e.createDocumentFragment(),p=[],f=0,h=t.length;f<h;f++)if((r=t[f])||0===r)if("object"===y(r))b.merge(p,r.nodeType?[r]:r);else if(mt.test(r)){for(s=s||d.appendChild(e.createElement("div")),o=(dt.exec(r)||["",""])[1].toLowerCase(),l=ft[o]||ft._default,s.innerHTML=l[1]+b.htmlPrefilter(r)+l[2],u=l[0];u--;)s=s.lastChild;b.merge(p,s.childNodes),(s=d.firstChild).textContent=""}else p.push(e.createTextNode(r));for(d.textContent="",f=0;r=p[f++];)if(a&&b.inArray(r,a)>-1)i&&i.push(r);else if(c=at(r),s=ht(d.appendChild(r),"script"),c&&vt(s),n)for(u=0;r=s[u++];)pt.test(r.type||"")&&n.push(r);return d}var _t=/^key/,yt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,bt=/^([^.]*)(?:\.(.+)|)/;function wt(){return!0}function kt(){return!1}function xt(t,e){return t===function(){try{return m.activeElement}catch(t){}}()==("focus"===e)}function Ct(t,e,n,a,i,r){var s,o;if("object"==typeof e){for(o in"string"!=typeof n&&(a=a||n,n=void 0),e)Ct(t,o,n,a,e[o],r);return t}if(null==a&&null==i?(i=n,a=n=void 0):null==i&&("string"==typeof n?(i=a,a=void 0):(i=a,a=n,n=void 0)),!1===i)i=kt;else if(!i)return t;return 1===r&&(s=i,(i=function(t){return b().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=b.guid++)),t.each((function(){b.event.add(this,e,i,a,n)}))}function At(t,e,n){n?(G.set(t,e,!1),b.event.add(t,e,{namespace:!1,handler:function(t){var a,r,s=G.get(this,e);if(1&t.isTrigger&&this[e]){if(s.length)(b.event.special[e]||{}).delegateType&&t.stopPropagation();else if(s=i.call(arguments),G.set(this,e,s),a=n(this,e),this[e](),s!==(r=G.get(this,e))||a?G.set(this,e,!1):r={},s!==r)return t.stopImmediatePropagation(),t.preventDefault(),r.value}else s.length&&(G.set(this,e,{value:b.event.trigger(b.extend(s[0],b.Event.prototype),s.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===G.get(t,e)&&b.event.add(t,e,wt)}b.event={global:{},add:function(t,e,n,a,i){var r,s,o,l,c,u,d,p,f,h,v,m=G.get(t);if(W(t))for(n.handler&&(n=(r=n).handler,i=r.selector),i&&b.find.matchesSelector(nt,i),n.guid||(n.guid=b.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return void 0!==b&&b.event.triggered!==e.type?b.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(I)||[""]).length;c--;)f=v=(o=bt.exec(e[c])||[])[1],h=(o[2]||"").split(".").sort(),f&&(d=b.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,d=b.event.special[f]||{},u=b.extend({type:f,origType:v,data:a,handler:n,guid:n.guid,selector:i,needsContext:i&&b.expr.match.needsContext.test(i),namespace:h.join(".")},r),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,a,h,s)||t.addEventListener&&t.addEventListener(f,s)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,u):p.push(u),b.event.global[f]=!0)},remove:function(t,e,n,a,i){var r,s,o,l,c,u,d,p,f,h,v,m=G.hasData(t)&&G.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(I)||[""]).length;c--;)if(f=v=(o=bt.exec(e[c])||[])[1],h=(o[2]||"").split(".").sort(),f){for(d=b.event.special[f]||{},p=l[f=(a?d.delegateType:d.bindType)||f]||[],o=o[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)u=p[r],!i&&v!==u.origType||n&&n.guid!==u.guid||o&&!o.test(u.namespace)||a&&a!==u.selector&&("**"!==a||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(t,u));s&&!p.length&&(d.teardown&&!1!==d.teardown.call(t,h,m.handle)||b.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)b.event.remove(t,f+e[c],n,a,!0);b.isEmptyObject(l)&&G.remove(t,"handle events")}},dispatch:function(t){var e,n,a,i,r,s,o=new Array(arguments.length),l=b.event.fix(t),c=(G.get(this,"events")||Object.create(null))[l.type]||[],u=b.event.special[l.type]||{};for(o[0]=l,e=1;e<arguments.length;e++)o[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(s=b.event.handlers.call(this,l,c),e=0;(i=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(r=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(a=((b.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,o))&&!1===(l.result=a)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,a,i,r,s,o=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(r=[],s={},n=0;n<l;n++)void 0===s[i=(a=e[n]).selector+" "]&&(s[i]=a.needsContext?b(i,this).index(c)>-1:b.find(i,this,null,[c]).length),s[i]&&r.push(a);r.length&&o.push({elem:c,handlers:r})}return c=this,l<e.length&&o.push({elem:c,handlers:e.slice(l)}),o},addProp:function(t,e){Object.defineProperty(b.Event.prototype,t,{enumerable:!0,configurable:!0,get:h(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[b.expando]?t:new b.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return ut.test(e.type)&&e.click&&T(e,"input")&&At(e,"click",wt),!1},trigger:function(t){var e=this||t;return ut.test(e.type)&&e.click&&T(e,"input")&&At(e,"click"),!0},_default:function(t){var e=t.target;return ut.test(e.type)&&e.click&&T(e,"input")&&G.get(e,"click")||T(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},b.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},b.Event=function(t,e){if(!(this instanceof b.Event))return new b.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?wt:kt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&b.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[b.expando]=!0},b.Event.prototype={constructor:b.Event,isDefaultPrevented:kt,isPropagationStopped:kt,isImmediatePropagationStopped:kt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=wt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=wt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=wt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},b.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&_t.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&yt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},b.event.addProp),b.each({focus:"focusin",blur:"focusout"},(function(t,e){b.event.special[t]={setup:function(){return At(this,t,xt),!1},trigger:function(){return At(this,t),!0},delegateType:e}})),b.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){b.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,a=this,i=t.relatedTarget,r=t.handleObj;return i&&(i===a||b.contains(a,i))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}})),b.fn.extend({on:function(t,e,n,a){return Ct(this,t,e,n,a)},one:function(t,e,n,a){return Ct(this,t,e,n,a,1)},off:function(t,e,n){var a,i;if(t&&t.preventDefault&&t.handleObj)return a=t.handleObj,b(t.delegateTarget).off(a.namespace?a.origType+"."+a.namespace:a.origType,a.selector,a.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=kt),this.each((function(){b.event.remove(this,t,n,e)}))}});var Tt=/<script|<style|<link/i,$t=/checked\s*(?:[^=]|=\s*.checked.)/i,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Nt(t,e){return T(t,"table")&&T(11!==e.nodeType?e:e.firstChild,"tr")&&b(t).children("tbody")[0]||t}function Dt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Et(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Lt(t,e){var n,a,i,r,s,o;if(1===e.nodeType){if(G.hasData(t)&&(o=G.get(t).events))for(i in G.remove(e,"handle events"),o)for(n=0,a=o[i].length;n<a;n++)b.event.add(e,i,o[i][n]);K.hasData(t)&&(r=K.access(t),s=b.extend({},r),K.set(e,s))}}function Pt(t,e){var n=e.nodeName.toLowerCase();"input"===n&&ut.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function It(t,e,n,a){e=r(e);var i,s,o,l,c,u,d=0,p=t.length,v=p-1,m=e[0],g=h(m);if(g||p>1&&"string"==typeof m&&!f.checkClone&&$t.test(m))return t.each((function(i){var r=t.eq(i);g&&(e[0]=m.call(this,i,r.html())),It(r,e,n,a)}));if(p&&(s=(i=gt(e,t[0].ownerDocument,!1,t,a)).firstChild,1===i.childNodes.length&&(i=s),s||a)){for(l=(o=b.map(ht(i,"script"),Dt)).length;d<p;d++)c=i,d!==v&&(c=b.clone(c,!0,!0),l&&b.merge(o,ht(c,"script"))),n.call(t[d],c,d);if(l)for(u=o[o.length-1].ownerDocument,b.map(o,Et),d=0;d<l;d++)c=o[d],pt.test(c.type||"")&&!G.access(c,"globalEval")&&b.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?b._evalUrl&&!c.noModule&&b._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):_(c.textContent.replace(St,""),c,u))}return t}function Ft(t,e,n){for(var a,i=e?b.filter(e,t):t,r=0;null!=(a=i[r]);r++)n||1!==a.nodeType||b.cleanData(ht(a)),a.parentNode&&(n&&at(a)&&vt(ht(a,"script")),a.parentNode.removeChild(a));return t}b.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var a,i,r,s,o=t.cloneNode(!0),l=at(t);if(!(f.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||b.isXMLDoc(t)))for(s=ht(o),a=0,i=(r=ht(t)).length;a<i;a++)Pt(r[a],s[a]);if(e)if(n)for(r=r||ht(t),s=s||ht(o),a=0,i=r.length;a<i;a++)Lt(r[a],s[a]);else Lt(t,o);return(s=ht(o,"script")).length>0&&vt(s,!l&&ht(t,"script")),o},cleanData:function(t){for(var e,n,a,i=b.event.special,r=0;void 0!==(n=t[r]);r++)if(W(n)){if(e=n[G.expando]){if(e.events)for(a in e.events)i[a]?b.event.remove(n,a):b.removeEvent(n,a,e.handle);n[G.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),b.fn.extend({detach:function(t){return Ft(this,t,!0)},remove:function(t){return Ft(this,t)},text:function(t){return z(this,(function(t){return void 0===t?b.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return It(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Nt(this,t).appendChild(t)}))},prepend:function(){return It(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Nt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return It(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return It(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(b.cleanData(ht(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return b.clone(this,t,e)}))},html:function(t){return z(this,(function(t){var e=this[0]||{},n=0,a=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Tt.test(t)&&!ft[(dt.exec(t)||["",""])[1].toLowerCase()]){t=b.htmlPrefilter(t);try{for(;n<a;n++)1===(e=this[n]||{}).nodeType&&(b.cleanData(ht(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return It(this,arguments,(function(e){var n=this.parentNode;b.inArray(this,t)<0&&(b.cleanData(ht(this)),n&&n.replaceChild(e,this))}),t)}}),b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){b.fn[t]=function(t){for(var n,a=[],i=b(t),r=i.length-1,o=0;o<=r;o++)n=o===r?this:this.clone(!0),b(i[o])[e](n),s.apply(a,n.get());return this.pushStack(a)}}));var Ot=new RegExp("^("+Z+")(?!px)[a-z%]+$","i"),Mt=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},jt=function(t,e,n){var a,i,r={};for(i in e)r[i]=t.style[i],t.style[i]=e[i];for(i in a=n.call(t),e)t.style[i]=r[i];return a},Rt=new RegExp(et.join("|"),"i");function Bt(t,e,n){var a,i,r,s,o=t.style;return(n=n||Mt(t))&&(""!==(s=n.getPropertyValue(e)||n[e])||at(t)||(s=b.style(t,e)),!f.pixelBoxStyles()&&Ot.test(s)&&Rt.test(e)&&(a=o.width,i=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=n.width,o.width=a,o.minWidth=i,o.maxWidth=r)),void 0!==s?s+"":s}function zt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",nt.appendChild(c).appendChild(u);var e=t.getComputedStyle(u);a="1%"!==e.top,l=12===n(e.marginLeft),u.style.right="60%",s=36===n(e.right),i=36===n(e.width),u.style.position="absolute",r=12===n(u.offsetWidth/3),nt.removeChild(c),u=null}}function n(t){return Math.round(parseFloat(t))}var a,i,r,s,o,l,c=m.createElement("div"),u=m.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===u.style.backgroundClip,b.extend(f,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),a},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),r},reliableTrDimensions:function(){var e,n,a,i;return null==o&&(e=m.createElement("table"),n=m.createElement("tr"),a=m.createElement("div"),e.style.cssText="position:absolute;left:-11111px",n.style.height="1px",a.style.height="9px",nt.appendChild(e).appendChild(n).appendChild(a),i=t.getComputedStyle(n),o=parseInt(i.height)>3,nt.removeChild(e)),o}}))}();var qt=["Webkit","Moz","ms"],Ht=m.createElement("div").style,Ut={};function Vt(t){var e=b.cssProps[t]||Ut[t];return e||(t in Ht?t:Ut[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=qt.length;n--;)if((t=qt[n]+e)in Ht)return t}(t)||t)}var Wt=/^(none|table(?!-c[ea]).+)/,Qt=/^--/,Gt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:"0",fontWeight:"400"};function Yt(t,e,n){var a=tt.exec(e);return a?Math.max(0,a[2]-(n||0))+(a[3]||"px"):e}function Jt(t,e,n,a,i,r){var s="width"===e?1:0,o=0,l=0;if(n===(a?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=b.css(t,n+et[s],!0,i)),a?("content"===n&&(l-=b.css(t,"padding"+et[s],!0,i)),"margin"!==n&&(l-=b.css(t,"border"+et[s]+"Width",!0,i))):(l+=b.css(t,"padding"+et[s],!0,i),"padding"!==n?l+=b.css(t,"border"+et[s]+"Width",!0,i):o+=b.css(t,"border"+et[s]+"Width",!0,i));return!a&&r>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-o-.5))||0),l}function Xt(t,e,n){var a=Mt(t),i=(!f.boxSizingReliable()||n)&&"border-box"===b.css(t,"boxSizing",!1,a),r=i,s=Bt(t,e,a),o="offset"+e[0].toUpperCase()+e.slice(1);if(Ot.test(s)){if(!n)return s;s="auto"}return(!f.boxSizingReliable()&&i||!f.reliableTrDimensions()&&T(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===b.css(t,"display",!1,a))&&t.getClientRects().length&&(i="border-box"===b.css(t,"boxSizing",!1,a),(r=o in t)&&(s=t[o])),(s=parseFloat(s)||0)+Jt(t,e,n||(i?"border":"content"),r,a,s)+"px"}function Zt(t,e,n,a,i){return new Zt.prototype.init(t,e,n,a,i)}b.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Bt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,a){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,r,s,o=V(e),l=Qt.test(e),c=t.style;if(l||(e=Vt(o)),s=b.cssHooks[e]||b.cssHooks[o],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(t,!1,a))?i:c[e];"string"===(r=typeof n)&&(i=tt.exec(n))&&i[1]&&(n=st(t,e,i),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=i&&i[3]||(b.cssNumber[o]?"":"px")),f.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,a))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,a){var i,r,s,o=V(e);return Qt.test(e)||(e=Vt(o)),(s=b.cssHooks[e]||b.cssHooks[o])&&"get"in s&&(i=s.get(t,!0,n)),void 0===i&&(i=Bt(t,e,a)),"normal"===i&&e in Kt&&(i=Kt[e]),""===n||n?(r=parseFloat(i),!0===n||isFinite(r)?r||0:i):i}}),b.each(["height","width"],(function(t,e){b.cssHooks[e]={get:function(t,n,a){if(n)return!Wt.test(b.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?Xt(t,e,a):jt(t,Gt,(function(){return Xt(t,e,a)}))},set:function(t,n,a){var i,r=Mt(t),s=!f.scrollboxSize()&&"absolute"===r.position,o=(s||a)&&"border-box"===b.css(t,"boxSizing",!1,r),l=a?Jt(t,e,a,o,r):0;return o&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-Jt(t,e,"border",!1,r)-.5)),l&&(i=tt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=b.css(t,e)),Yt(0,n,l)}}})),b.cssHooks.marginLeft=zt(f.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Bt(t,"marginLeft"))||t.getBoundingClientRect().left-jt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),b.each({margin:"",padding:"",border:"Width"},(function(t,e){b.cssHooks[t+e]={expand:function(n){for(var a=0,i={},r="string"==typeof n?n.split(" "):[n];a<4;a++)i[t+et[a]+e]=r[a]||r[a-2]||r[0];return i}},"margin"!==t&&(b.cssHooks[t+e].set=Yt)})),b.fn.extend({css:function(t,e){return z(this,(function(t,e,n){var a,i,r={},s=0;if(Array.isArray(e)){for(a=Mt(t),i=e.length;s<i;s++)r[e[s]]=b.css(t,e[s],!1,a);return r}return void 0!==n?b.style(t,e,n):b.css(t,e)}),t,e,arguments.length>1)}}),b.Tween=Zt,Zt.prototype={constructor:Zt,init:function(t,e,n,a,i,r){this.elem=t,this.prop=n,this.easing=i||b.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=a,this.unit=r||(b.cssNumber[n]?"":"px")},cur:function(){var t=Zt.propHooks[this.prop];return t&&t.get?t.get(this):Zt.propHooks._default.get(this)},run:function(t){var e,n=Zt.propHooks[this.prop];return this.options.duration?this.pos=e=b.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Zt.propHooks._default.set(this),this}},Zt.prototype.init.prototype=Zt.prototype,Zt.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=b.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){b.fx.step[t.prop]?b.fx.step[t.prop](t):1!==t.elem.nodeType||!b.cssHooks[t.prop]&&null==t.elem.style[Vt(t.prop)]?t.elem[t.prop]=t.now:b.style(t.elem,t.prop,t.now+t.unit)}}},Zt.propHooks.scrollTop=Zt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},b.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},b.fx=Zt.prototype.init,b.fx.step={};var te,ee,ne,ae,ie=/^(?:toggle|show|hide)$/,re=/queueHooks$/;function se(){ee&&(!1===m.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(se):t.setTimeout(se,b.fx.interval),b.fx.tick())}function oe(){return t.setTimeout((function(){te=void 0})),te=Date.now()}function le(t,e){var n,a=0,i={height:t};for(e=e?1:0;a<4;a+=2-e)i["margin"+(n=et[a])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function ce(t,e,n){for(var a,i=(ue.tweeners[e]||[]).concat(ue.tweeners["*"]),r=0,s=i.length;r<s;r++)if(a=i[r].call(n,e,t))return a}function ue(t,e,n){var a,i,r=0,s=ue.prefilters.length,o=b.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var e=te||oe(),n=Math.max(0,c.startTime+c.duration-e),a=1-(n/c.duration||0),r=0,s=c.tweens.length;r<s;r++)c.tweens[r].run(a);return o.notifyWith(t,[c,a,n]),a<1&&s?n:(s||o.notifyWith(t,[c,1,0]),o.resolveWith(t,[c]),!1)},c=o.promise({elem:t,props:b.extend({},e),opts:b.extend(!0,{specialEasing:{},easing:b.easing._default},n),originalProperties:e,originalOptions:n,startTime:te||oe(),duration:n.duration,tweens:[],createTween:function(e,n){var a=b.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(a),a},stop:function(e){var n=0,a=e?c.tweens.length:0;if(i)return this;for(i=!0;n<a;n++)c.tweens[n].run(1);return e?(o.notifyWith(t,[c,1,0]),o.resolveWith(t,[c,e])):o.rejectWith(t,[c,e]),this}}),u=c.props;for(!function(t,e){var n,a,i,r,s;for(n in t)if(i=e[a=V(n)],r=t[n],Array.isArray(r)&&(i=r[1],r=t[n]=r[0]),n!==a&&(t[a]=r,delete t[n]),(s=b.cssHooks[a])&&"expand"in s)for(n in r=s.expand(r),delete t[a],r)n in t||(t[n]=r[n],e[n]=i);else e[a]=i}(u,c.opts.specialEasing);r<s;r++)if(a=ue.prefilters[r].call(c,t,u,c.opts))return h(a.stop)&&(b._queueHooks(c.elem,c.opts.queue).stop=a.stop.bind(a)),a;return b.map(u,ce,c),h(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),b.fx.timer(b.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}b.Animation=b.extend(ue,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return st(n.elem,t,tt.exec(e),n),n}]},tweener:function(t,e){h(t)?(e=t,t=["*"]):t=t.match(I);for(var n,a=0,i=t.length;a<i;a++)n=t[a],ue.tweeners[n]=ue.tweeners[n]||[],ue.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var a,i,r,s,o,l,c,u,d="width"in e||"height"in e,p=this,f={},h=t.style,v=t.nodeType&&rt(t),m=G.get(t,"fxshow");for(a in n.queue||(null==(s=b._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,o=s.empty.fire,s.empty.fire=function(){s.unqueued||o()}),s.unqueued++,p.always((function(){p.always((function(){s.unqueued--,b.queue(t,"fx").length||s.empty.fire()}))}))),e)if(i=e[a],ie.test(i)){if(delete e[a],r=r||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!m||void 0===m[a])continue;v=!0}f[a]=m&&m[a]||b.style(t,a)}if((l=!b.isEmptyObject(e))||!b.isEmptyObject(f))for(a in d&&1===t.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=G.get(t,"display")),"none"===(u=b.css(t,"display"))&&(c?u=c:(ct([t],!0),c=t.style.display||c,u=b.css(t,"display"),ct([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===b.css(t,"float")&&(l||(p.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,f)l||(m?"hidden"in m&&(v=m.hidden):m=G.access(t,"fxshow",{display:c}),r&&(m.hidden=!v),v&&ct([t],!0),p.done((function(){for(a in v||ct([t]),G.remove(t,"fxshow"),f)b.style(t,a,f[a])}))),l=ce(v?m[a]:0,a,p),a in m||(m[a]=l.start,v&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?ue.prefilters.unshift(t):ue.prefilters.push(t)}}),b.speed=function(t,e,n){var a=t&&"object"==typeof t?b.extend({},t):{complete:n||!n&&e||h(t)&&t,duration:t,easing:n&&e||e&&!h(e)&&e};return b.fx.off?a.duration=0:"number"!=typeof a.duration&&(a.duration in b.fx.speeds?a.duration=b.fx.speeds[a.duration]:a.duration=b.fx.speeds._default),null!=a.queue&&!0!==a.queue||(a.queue="fx"),a.old=a.complete,a.complete=function(){h(a.old)&&a.old.call(this),a.queue&&b.dequeue(this,a.queue)},a},b.fn.extend({fadeTo:function(t,e,n,a){return this.filter(rt).css("opacity",0).show().end().animate({opacity:e},t,n,a)},animate:function(t,e,n,a){var i=b.isEmptyObject(t),r=b.speed(e,n,a),s=function(){var e=ue(this,b.extend({},t),r);(i||G.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(t,e,n){var a=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,i=null!=t&&t+"queueHooks",r=b.timers,s=G.get(this);if(i)s[i]&&s[i].stop&&a(s[i]);else for(i in s)s[i]&&s[i].stop&&re.test(i)&&a(s[i]);for(i=r.length;i--;)r[i].elem!==this||null!=t&&r[i].queue!==t||(r[i].anim.stop(n),e=!1,r.splice(i,1));!e&&n||b.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=G.get(this),a=n[t+"queue"],i=n[t+"queueHooks"],r=b.timers,s=a?a.length:0;for(n.finish=!0,b.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<s;e++)a[e]&&a[e].finish&&a[e].finish.call(this);delete n.finish}))}}),b.each(["toggle","show","hide"],(function(t,e){var n=b.fn[e];b.fn[e]=function(t,a,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(le(e,!0),t,a,i)}})),b.each({slideDown:le("show"),slideUp:le("hide"),slideToggle:le("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){b.fn[t]=function(t,n,a){return this.animate(e,t,n,a)}})),b.timers=[],b.fx.tick=function(){var t,e=0,n=b.timers;for(te=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||b.fx.stop(),te=void 0},b.fx.timer=function(t){b.timers.push(t),b.fx.start()},b.fx.interval=13,b.fx.start=function(){ee||(ee=!0,se())},b.fx.stop=function(){ee=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fn.delay=function(e,n){return e=b.fx&&b.fx.speeds[e]||e,n=n||"fx",this.queue(n,(function(n,a){var i=t.setTimeout(n,e);a.stop=function(){t.clearTimeout(i)}}))},ne=m.createElement("input"),ae=m.createElement("select").appendChild(m.createElement("option")),ne.type="checkbox",f.checkOn=""!==ne.value,f.optSelected=ae.selected,(ne=m.createElement("input")).value="t",ne.type="radio",f.radioValue="t"===ne.value;var de,pe=b.expr.attrHandle;b.fn.extend({attr:function(t,e){return z(this,b.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){b.removeAttr(this,t)}))}}),b.extend({attr:function(t,e,n){var a,i,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?b.prop(t,e,n):(1===r&&b.isXMLDoc(t)||(i=b.attrHooks[e.toLowerCase()]||(b.expr.match.bool.test(e)?de:void 0)),void 0!==n?null===n?void b.removeAttr(t,e):i&&"set"in i&&void 0!==(a=i.set(t,n,e))?a:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(a=i.get(t,e))?a:null==(a=b.find.attr(t,e))?void 0:a)},attrHooks:{type:{set:function(t,e){if(!f.radioValue&&"radio"===e&&T(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,a=0,i=e&&e.match(I);if(i&&1===t.nodeType)for(;n=i[a++];)t.removeAttribute(n)}}),de={set:function(t,e,n){return!1===e?b.removeAttr(t,n):t.setAttribute(n,n),n}},b.each(b.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=pe[e]||b.find.attr;pe[e]=function(t,e,a){var i,r,s=e.toLowerCase();return a||(r=pe[s],pe[s]=i,i=null!=n(t,e,a)?s:null,pe[s]=r),i}}));var fe=/^(?:input|select|textarea|button)$/i,he=/^(?:a|area)$/i;function ve(t){return(t.match(I)||[]).join(" ")}function me(t){return t.getAttribute&&t.getAttribute("class")||""}function ge(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(I)||[]}b.fn.extend({prop:function(t,e){return z(this,b.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[b.propFix[t]||t]}))}}),b.extend({prop:function(t,e,n){var a,i,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&b.isXMLDoc(t)||(e=b.propFix[e]||e,i=b.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(a=i.set(t,n,e))?a:t[e]=n:i&&"get"in i&&null!==(a=i.get(t,e))?a:t[e]},propHooks:{tabIndex:{get:function(t){var e=b.find.attr(t,"tabindex");return e?parseInt(e,10):fe.test(t.nodeName)||he.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(b.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),b.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){b.propFix[this.toLowerCase()]=this})),b.fn.extend({addClass:function(t){var e,n,a,i,r,s,o,l=0;if(h(t))return this.each((function(e){b(this).addClass(t.call(this,e,me(this)))}));if((e=ge(t)).length)for(;n=this[l++];)if(i=me(n),a=1===n.nodeType&&" "+ve(i)+" "){for(s=0;r=e[s++];)a.indexOf(" "+r+" ")<0&&(a+=r+" ");i!==(o=ve(a))&&n.setAttribute("class",o)}return this},removeClass:function(t){var e,n,a,i,r,s,o,l=0;if(h(t))return this.each((function(e){b(this).removeClass(t.call(this,e,me(this)))}));if(!arguments.length)return this.attr("class","");if((e=ge(t)).length)for(;n=this[l++];)if(i=me(n),a=1===n.nodeType&&" "+ve(i)+" "){for(s=0;r=e[s++];)for(;a.indexOf(" "+r+" ")>-1;)a=a.replace(" "+r+" "," ");i!==(o=ve(a))&&n.setAttribute("class",o)}return this},toggleClass:function(t,e){var n=typeof t,a="string"===n||Array.isArray(t);return"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):h(t)?this.each((function(n){b(this).toggleClass(t.call(this,n,me(this),e),e)})):this.each((function(){var e,i,r,s;if(a)for(i=0,r=b(this),s=ge(t);e=s[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==n||((e=me(this))&&G.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":G.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,a=0;for(e=" "+t+" ";n=this[a++];)if(1===n.nodeType&&(" "+ve(me(n))+" ").indexOf(e)>-1)return!0;return!1}});var _e=/\r/g;b.fn.extend({val:function(t){var e,n,a,i=this[0];return arguments.length?(a=h(t),this.each((function(n){var i;1===this.nodeType&&(null==(i=a?t.call(this,n,b(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=b.map(i,(function(t){return null==t?"":t+""}))),(e=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=b.valHooks[i.type]||b.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(_e,""):null==n?"":n:void 0}}),b.extend({valHooks:{option:{get:function(t){var e=b.find.attr(t,"value");return null!=e?e:ve(b.text(t))}},select:{get:function(t){var e,n,a,i=t.options,r=t.selectedIndex,s="select-one"===t.type,o=s?null:[],l=s?r+1:i.length;for(a=r<0?l:s?r:0;a<l;a++)if(((n=i[a]).selected||a===r)&&!n.disabled&&(!n.parentNode.disabled||!T(n.parentNode,"optgroup"))){if(e=b(n).val(),s)return e;o.push(e)}return o},set:function(t,e){for(var n,a,i=t.options,r=b.makeArray(e),s=i.length;s--;)((a=i[s]).selected=b.inArray(b.valHooks.option.get(a),r)>-1)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),b.each(["radio","checkbox"],(function(){b.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=b.inArray(b(t).val(),e)>-1}},f.checkOn||(b.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),f.focusin="onfocusin"in t;var ye=/^(?:focusinfocus|focusoutblur)$/,be=function(t){t.stopPropagation()};b.extend(b.event,{trigger:function(e,n,a,i){var r,s,o,l,c,d,p,f,g=[a||m],_=u.call(e,"type")?e.type:e,y=u.call(e,"namespace")?e.namespace.split("."):[];if(s=f=o=a=a||m,3!==a.nodeType&&8!==a.nodeType&&!ye.test(_+b.event.triggered)&&(_.indexOf(".")>-1&&(y=_.split("."),_=y.shift(),y.sort()),c=_.indexOf(":")<0&&"on"+_,(e=e[b.expando]?e:new b.Event(_,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=a),n=null==n?[e]:b.makeArray(n,[e]),p=b.event.special[_]||{},i||!p.trigger||!1!==p.trigger.apply(a,n))){if(!i&&!p.noBubble&&!v(a)){for(l=p.delegateType||_,ye.test(l+_)||(s=s.parentNode);s;s=s.parentNode)g.push(s),o=s;o===(a.ownerDocument||m)&&g.push(o.defaultView||o.parentWindow||t)}for(r=0;(s=g[r++])&&!e.isPropagationStopped();)f=s,e.type=r>1?l:p.bindType||_,(d=(G.get(s,"events")||Object.create(null))[e.type]&&G.get(s,"handle"))&&d.apply(s,n),(d=c&&s[c])&&d.apply&&W(s)&&(e.result=d.apply(s,n),!1===e.result&&e.preventDefault());return e.type=_,i||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(g.pop(),n)||!W(a)||c&&h(a[_])&&!v(a)&&((o=a[c])&&(a[c]=null),b.event.triggered=_,e.isPropagationStopped()&&f.addEventListener(_,be),a[_](),e.isPropagationStopped()&&f.removeEventListener(_,be),b.event.triggered=void 0,o&&(a[c]=o)),e.result}},simulate:function(t,e,n){var a=b.extend(new b.Event,n,{type:t,isSimulated:!0});b.event.trigger(a,null,e)}}),b.fn.extend({trigger:function(t,e){return this.each((function(){b.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return b.event.trigger(t,e,n,!0)}}),f.focusin||b.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){b.event.simulate(e,t.target,b.event.fix(t))};b.event.special[e]={setup:function(){var a=this.ownerDocument||this.document||this,i=G.access(a,e);i||a.addEventListener(t,n,!0),G.access(a,e,(i||0)+1)},teardown:function(){var a=this.ownerDocument||this.document||this,i=G.access(a,e)-1;i?G.access(a,e,i):(a.removeEventListener(t,n,!0),G.remove(a,e))}}}));var we=t.location,ke={guid:Date.now()},xe=/\?/;b.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+e),n};var Ce=/\[\]$/,Ae=/\r?\n/g,Te=/^(?:submit|button|image|reset|file)$/i,$e=/^(?:input|select|textarea|keygen)/i;function Se(t,e,n,a){var i;if(Array.isArray(e))b.each(e,(function(e,i){n||Ce.test(t)?a(t,i):Se(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,a)}));else if(n||"object"!==y(e))a(t,e);else for(i in e)Se(t+"["+i+"]",e[i],n,a)}b.param=function(t,e){var n,a=[],i=function(t,e){var n=h(e)?e():e;a[a.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!b.isPlainObject(t))b.each(t,(function(){i(this.name,this.value)}));else for(n in t)Se(n,t[n],e,i);return a.join("&")},b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=b.prop(this,"elements");return t?b.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!b(this).is(":disabled")&&$e.test(this.nodeName)&&!Te.test(t)&&(this.checked||!ut.test(t))})).map((function(t,e){var n=b(this).val();return null==n?null:Array.isArray(n)?b.map(n,(function(t){return{name:e.name,value:t.replace(Ae,"\r\n")}})):{name:e.name,value:n.replace(Ae,"\r\n")}})).get()}});var Ne=/%20/g,De=/#.*$/,Ee=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pe=/^(?:GET|HEAD)$/,Ie=/^\/\//,Fe={},Oe={},Me="*/".concat("*"),je=m.createElement("a");function Re(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var a,i=0,r=e.toLowerCase().match(I)||[];if(h(n))for(;a=r[i++];)"+"===a[0]?(a=a.slice(1)||"*",(t[a]=t[a]||[]).unshift(n)):(t[a]=t[a]||[]).push(n)}}function Be(t,e,n,a){var i={},r=t===Oe;function s(o){var l;return i[o]=!0,b.each(t[o]||[],(function(t,o){var c=o(e,n,a);return"string"!=typeof c||r||i[c]?r?!(l=c):void 0:(e.dataTypes.unshift(c),s(c),!1)})),l}return s(e.dataTypes[0])||!i["*"]&&s("*")}function ze(t,e){var n,a,i=b.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:a||(a={}))[n]=e[n]);return a&&b.extend(!0,t,a),t}je.href=we.href,b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:we.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(we.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Me,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ze(ze(t,b.ajaxSettings),e):ze(b.ajaxSettings,t)},ajaxPrefilter:Re(Fe),ajaxTransport:Re(Oe),ajax:function(e,n){"object"==typeof e&&(n=e,e=void 0),n=n||{};var a,i,r,s,o,l,c,u,d,p,f=b.ajaxSetup({},n),h=f.context||f,v=f.context&&(h.nodeType||h.jquery)?b(h):b.event,g=b.Deferred(),_=b.Callbacks("once memory"),y=f.statusCode||{},w={},k={},x="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Le.exec(r);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?r:null},setRequestHeader:function(t,e){return null==c&&(t=k[t.toLowerCase()]=k[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==c&&(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)C.always(t[C.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||x;return a&&a.abort(e),A(0,e),this}};if(g.promise(C),f.url=((e||f.url||we.href)+"").replace(Ie,we.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(I)||[""],null==f.crossDomain){l=m.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=je.protocol+"//"+je.host!=l.protocol+"//"+l.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=b.param(f.data,f.traditional)),Be(Fe,f,n,C),c)return C;for(d in(u=b.event&&f.global)&&0==b.active++&&b.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Pe.test(f.type),i=f.url.replace(De,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Ne,"+")):(p=f.url.slice(i.length),f.data&&(f.processData||"string"==typeof f.data)&&(i+=(xe.test(i)?"&":"?")+f.data,delete f.data),!1===f.cache&&(i=i.replace(Ee,"$1"),p=(xe.test(i)?"&":"?")+"_="+ke.guid+++p),f.url=i+p),f.ifModified&&(b.lastModified[i]&&C.setRequestHeader("If-Modified-Since",b.lastModified[i]),b.etag[i]&&C.setRequestHeader("If-None-Match",b.etag[i])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Me+"; q=0.01":""):f.accepts["*"]),f.headers)C.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(h,C,f)||c))return C.abort();if(x="abort",_.add(f.complete),C.done(f.success),C.fail(f.error),a=Be(Oe,f,n,C)){if(C.readyState=1,u&&v.trigger("ajaxSend",[C,f]),c)return C;f.async&&f.timeout>0&&(o=t.setTimeout((function(){C.abort("timeout")}),f.timeout));try{c=!1,a.send(w,A)}catch(t){if(c)throw t;A(-1,t)}}else A(-1,"No Transport");function A(e,n,s,l){var d,p,m,w,k,x=n;c||(c=!0,o&&t.clearTimeout(o),a=void 0,r=l||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,s&&(w=function(t,e,n){for(var a,i,r,s,o=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===a&&(a=t.mimeType||e.getResponseHeader("Content-Type"));if(a)for(i in o)if(o[i]&&o[i].test(a)){l.unshift(i);break}if(l[0]in n)r=l[0];else{for(i in n){if(!l[0]||t.converters[i+" "+l[0]]){r=i;break}s||(s=i)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),n[r]}(f,C,s)),!d&&b.inArray("script",f.dataTypes)>-1&&(f.converters["text script"]=function(){}),w=function(t,e,n,a){var i,r,s,o,l,c={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(r=u.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&a&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=c[l+" "+r]||c["* "+r]))for(i in c)if((o=i.split(" "))[1]===r&&(s=c[l+" "+o[0]]||c["* "+o[0]])){!0===s?s=c[i]:!0!==c[i]&&(r=o[0],u.unshift(o[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(f,w,C,d),d?(f.ifModified&&((k=C.getResponseHeader("Last-Modified"))&&(b.lastModified[i]=k),(k=C.getResponseHeader("etag"))&&(b.etag[i]=k)),204===e||"HEAD"===f.type?x="nocontent":304===e?x="notmodified":(x=w.state,p=w.data,d=!(m=w.error))):(m=x,!e&&x||(x="error",e<0&&(e=0))),C.status=e,C.statusText=(n||x)+"",d?g.resolveWith(h,[p,x,C]):g.rejectWith(h,[C,x,m]),C.statusCode(y),y=void 0,u&&v.trigger(d?"ajaxSuccess":"ajaxError",[C,f,d?p:m]),_.fireWith(h,[C,x]),u&&(v.trigger("ajaxComplete",[C,f]),--b.active||b.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,n){return b.get(t,e,n,"json")},getScript:function(t,e){return b.get(t,void 0,e,"script")}}),b.each(["get","post"],(function(t,e){b[e]=function(t,n,a,i){return h(n)&&(i=i||a,a=n,n=void 0),b.ajax(b.extend({url:t,type:e,dataType:i,data:n,success:a},b.isPlainObject(t)&&t))}})),b.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),b._evalUrl=function(t,e,n){return b.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){b.globalEval(t,e,n)}})},b.fn.extend({wrapAll:function(t){var e;return this[0]&&(h(t)&&(t=t.call(this[0])),e=b(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return h(t)?this.each((function(e){b(this).wrapInner(t.call(this,e))})):this.each((function(){var e=b(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=h(t);return this.each((function(n){b(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){b(this).replaceWith(this.childNodes)})),this}}),b.expr.pseudos.hidden=function(t){return!b.expr.pseudos.visible(t)},b.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},b.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var qe={0:200,1223:204},He=b.ajaxSettings.xhr();f.cors=!!He&&"withCredentials"in He,f.ajax=He=!!He,b.ajaxTransport((function(e){var n,a;if(f.cors||He&&!e.crossDomain)return{send:function(i,r){var s,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)o[s]=e.xhrFields[s];for(s in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)o.setRequestHeader(s,i[s]);n=function(t){return function(){n&&(n=a=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===t?o.abort():"error"===t?"number"!=typeof o.status?r(0,"error"):r(o.status,o.statusText):r(qe[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=n(),a=o.onerror=o.ontimeout=n("error"),void 0!==o.onabort?o.onabort=a:o.onreadystatechange=function(){4===o.readyState&&t.setTimeout((function(){n&&a()}))},n=n("abort");try{o.send(e.hasContent&&e.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}})),b.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return b.globalEval(t),t}}}),b.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),b.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(a,i){e=b("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),m.head.appendChild(e[0])},abort:function(){n&&n()}}}));var Ue,Ve=[],We=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ve.pop()||b.expando+"_"+ke.guid++;return this[t]=!0,t}}),b.ajaxPrefilter("json jsonp",(function(e,n,a){var i,r,s,o=!1!==e.jsonp&&(We.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&We.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=h(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(We,"$1"+i):!1!==e.jsonp&&(e.url+=(xe.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||b.error(i+" was not called"),s[0]},e.dataTypes[0]="json",r=t[i],t[i]=function(){s=arguments},a.always((function(){void 0===r?b(t).removeProp(i):t[i]=r,e[i]&&(e.jsonpCallback=n.jsonpCallback,Ve.push(i)),s&&h(r)&&r(s[0]),s=r=void 0})),"script"})),f.createHTMLDocument=((Ue=m.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ue.childNodes.length),b.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(f.createHTMLDocument?((a=(e=m.implementation.createHTMLDocument("")).createElement("base")).href=m.location.href,e.head.appendChild(a)):e=m),r=!n&&[],(i=$.exec(t))?[e.createElement(i[1])]:(i=gt([t],e,r),r&&r.length&&b(r).remove(),b.merge([],i.childNodes)));var a,i,r},b.fn.load=function(t,e,n){var a,i,r,s=this,o=t.indexOf(" ");return o>-1&&(a=ve(t.slice(o)),t=t.slice(0,o)),h(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),s.length>0&&b.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done((function(t){r=arguments,s.html(a?b("<div>").append(b.parseHTML(t)).find(a):t)})).always(n&&function(t,e){s.each((function(){n.apply(this,r||[t.responseText,e,t])}))}),this},b.expr.pseudos.animated=function(t){return b.grep(b.timers,(function(e){return t===e.elem})).length},b.offset={setOffset:function(t,e,n){var a,i,r,s,o,l,c=b.css(t,"position"),u=b(t),d={};"static"===c&&(t.style.position="relative"),o=u.offset(),r=b.css(t,"top"),l=b.css(t,"left"),("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1?(s=(a=u.position()).top,i=a.left):(s=parseFloat(r)||0,i=parseFloat(l)||0),h(e)&&(e=e.call(t,n,b.extend({},o))),null!=e.top&&(d.top=e.top-o.top+s),null!=e.left&&(d.left=e.left-o.left+i),"using"in e?e.using.call(t,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),u.css(d))}},b.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){b.offset.setOffset(this,t,e)}));var e,n,a=this[0];return a?a.getClientRects().length?(e=a.getBoundingClientRect(),n=a.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,a=this[0],i={top:0,left:0};if("fixed"===b.css(a,"position"))e=a.getBoundingClientRect();else{for(e=this.offset(),n=a.ownerDocument,t=a.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===b.css(t,"position");)t=t.parentNode;t&&t!==a&&1===t.nodeType&&((i=b(t).offset()).top+=b.css(t,"borderTopWidth",!0),i.left+=b.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-b.css(a,"marginTop",!0),left:e.left-i.left-b.css(a,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===b.css(t,"position");)t=t.offsetParent;return t||nt}))}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;b.fn[t]=function(a){return z(this,(function(t,a,i){var r;if(v(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===i)return r?r[e]:t[a];r?r.scrollTo(n?r.pageXOffset:i,n?i:r.pageYOffset):t[a]=i}),t,a,arguments.length)}})),b.each(["top","left"],(function(t,e){b.cssHooks[e]=zt(f.pixelPosition,(function(t,n){if(n)return n=Bt(t,e),Ot.test(n)?b(t).position()[e]+"px":n}))})),b.each({Height:"height",Width:"width"},(function(t,e){b.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,a){b.fn[a]=function(i,r){var s=arguments.length&&(n||"boolean"!=typeof i),o=n||(!0===i||!0===r?"margin":"border");return z(this,(function(e,n,i){var r;return v(e)?0===a.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?b.css(e,n,o):b.style(e,n,i,o)}),e,s?i:void 0,s)}}))})),b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){b.fn[e]=function(t){return this.on(e,t)}})),b.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,a){return this.on(e,t,n,a)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),b.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){b.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var Qe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;b.proxy=function(t,e){var n,a,r;if("string"==typeof e&&(n=t[e],e=t,t=n),h(t))return a=i.call(arguments,2),(r=function(){return t.apply(e||this,a.concat(i.call(arguments)))}).guid=t.guid=t.guid||b.guid++,r},b.holdReady=function(t){t?b.readyWait++:b.ready(!0)},b.isArray=Array.isArray,b.parseJSON=JSON.parse,b.nodeName=T,b.isFunction=h,b.isWindow=v,b.camelCase=V,b.type=y,b.now=Date.now,b.isNumeric=function(t){var e=b.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},b.trim=function(t){return null==t?"":(t+"").replace(Qe,"")};var Ge=t.jQuery,Ke=t.$;return b.noConflict=function(e){return t.$===b&&(t.$=Ke),e&&t.jQuery===b&&(t.jQuery=Ge),b},void 0===e&&(t.jQuery=t.$=b),b}))}));let Kc={};const Yc=function(t,e=null,n=!0,a=null){if(Kc[a]){let i=Kc[a],r=Gc(`div.toastify[toast_id=${a}]`);t&&r.find(".toast-message").html(t),e&&(e="loading"==e?'<div class="circle-loader"></div>':`<i class="material-icons">${e}</i>`,r.find(".toast-icon").html(e)),null!==n&&n&&setTimeout((function(){i.hideToast(),delete Kc[a]}),3e3)}else{let i=Qc({text:`<span class="toast-icon">${e=null==e?"":"loading"==e?'<div class="circle-loader"></div>':`<i class="material-icons">${e}</i>`}</span><span class="toast-message">${t}</toast>`,duration:n?3e3:0,gravity:"bottom",position:"left"}).showToast();a&&(Kc[a]=i,Gc(i.toastElement).attr("toast_id",a))}};to.on("toast",t=>{const{msg:e,icon:n,dismiss:a,id:i}=t;Yc(e,n||null,void 0===a||a,i||null)});const Jc={name:"the-favorites-tab",data:()=>({tracks:[],albums:[],artists:[],playlists:[],spotifyPlaylists:[]}),methods:{artistView:no.bind(null,"artist"),albumView:no.bind(null,"album"),playlistView:no.bind(null,"playlist"),spotifyPlaylistView:no.bind(null,"spotifyplaylist"),playPausePreview(t){EventBus.$emit("trackPreview:playPausePreview",t)},previewMouseEnter(t){EventBus.$emit("trackPreview:previewMouseEnter",t)},previewMouseLeave(t){EventBus.$emit("trackPreview:previewMouseLeave",t)},convertDuration:jc.convertDuration,handleFavoritesTabClick(t){const{target:e,target:{id:n}}=t;let a=null;switch(n){case"favorites_playlist_tab":a="playlist_favorites";break;case"favorites_album_tab":a="album_favorites";break;case"favorites_artist_tab":a="artist_favorites";break;case"favorites_track_tab":a="track_favorites"}a&&ao(e,"favorites",a)},addToQueue(t){t.stopPropagation(),Lc.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},updated_userSpotifyPlaylists(t){this.spotifyPlaylists=t},updated_userPlaylists(t){this.playlists=t},updated_userAlbums(t){this.albums=t},updated_userArtist(t){this.artists=t},updated_userTracks(t){this.tracks=t},reloadTabs(){this.$refs.reloadButton.classList.add("spin"),to.emit("update_userFavorites"),localStorage.getItem("spotifyUser")&&to.emit("update_userSpotifyPlaylists",localStorage.getItem("spotifyUser"))},updated_userFavorites(t){const{tracks:e,albums:n,artists:a,playlists:i}=t;this.tracks=e,this.albums=n,this.artists=a,this.playlists=i,this.$refs.reloadButton.addEventListener("animationiteration",()=>{this.$refs.reloadButton.classList.remove("spin"),Yc(this.$t("toasts.refreshFavs"),"done",!0)},{once:!0})},initFavorites(t){this.updated_userFavorites(t),document.getElementById("favorites_playlist_tab").click()}},mounted(){to.on("init_favorites",this.initFavorites),to.on("updated_userFavorites",this.updated_userFavorites),to.on("updated_userSpotifyPlaylists",this.updated_userSpotifyPlaylists),to.on("updated_userPlaylists",this.updated_userPlaylists),to.on("updated_userAlbums",this.updated_userAlbums),to.on("updated_userArtist",this.updated_userArtist),to.on("updated_userTracks",this.updated_userTracks)}};var Xc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main_tabcontent",attrs:{id:"favorites_tab"},on:{click:t.handleFavoritesTabClick}},[n("h2",{staticClass:"page_heading"},[t._v("\n\t\t"+t._s(t.$t("favorites.title"))+"\n\t\t"),n("div",{ref:"reloadButton",staticClass:"clickable reload-button reload-button--inline",attrs:{role:"button","aria-label":"reload"},on:{click:t.reloadTabs}},[n("i",{staticClass:"material-icons"},[t._v("sync")])])]),t._v(" "),n("div",{staticClass:"section-tabs"},[n("div",{staticClass:"section-tabs__tab favorites_tablinks",attrs:{id:"favorites_playlist_tab"}},[t._v("\n\t\t\t"+t._s(t.$tc("globals.listTabs.playlist",2))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"section-tabs__tab favorites_tablinks",attrs:{id:"favorites_album_tab"}},[t._v("\n\t\t\t"+t._s(t.$tc("globals.listTabs.album",2))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"section-tabs__tab favorites_tablinks",attrs:{id:"favorites_artist_tab"}},[t._v("\n\t\t\t"+t._s(t.$tc("globals.listTabs.artist",2))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"section-tabs__tab favorites_tablinks",attrs:{id:"favorites_track_tab"}},[t._v("\n\t\t\t"+t._s(t.$tc("globals.listTabs.track",2))+"\n\t\t")])]),t._v(" "),n("div",{staticClass:"favorites_tabcontent",attrs:{id:"playlist_favorites"}},[0==t.playlists.length?n("div",[n("h1",[t._v(t._s(t.$t("favorites.noPlaylists")))])]):t._e(),t._v(" "),t.playlists.length>0||t.spotifyPlaylists>0?n("div",{staticClass:"release_grid"},[t._l(t.playlists,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.playlistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.picture_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("globals.by",[e.creator.name])+" - "+t.$tc("globals.listTabs.trackN",e.nb_tracks))+"\n\t\t\t\t")])])})),t._v(" "),t._l(t.spotifyPlaylists,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.spotifyPlaylistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.picture_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("globals.by",[e.creator.name])+" - "+t.$tc("globals.listTabs.trackN",e.nb_tracks))+"\n\t\t\t\t")])])}))],2):t._e()]),t._v(" "),n("div",{staticClass:"favorites_tabcontent",attrs:{id:"album_favorites"}},[0==t.albums.length?n("div",[n("h1",[t._v(t._s(t.$t("favorites.noAlbums")))])]):t._e(),t._v(" "),t.albums.length>0?n("div",{staticClass:"release_grid"},t._l(t.albums,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.albumView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.cover_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(""+t.$t("globals.by",[e.artist.name])))])])})),0):t._e()]),t._v(" "),n("div",{staticClass:"favorites_tabcontent",attrs:{id:"artist_favorites"}},[0==t.artists.length?n("div",[n("h1",[t._v(t._s(t.$t("favorites.noArtists")))])]):t._e(),t._v(" "),t.artists.length>0?n("div",{staticClass:"release_grid"},t._l(t.artists,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.artistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"circle coverart",attrs:{"aria-hidden":"true",src:e.picture_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.name))])])})),0):t._e()]),t._v(" "),n("div",{staticClass:"favorites_tabcontent",attrs:{id:"track_favorites"}},[0==t.tracks.length?n("div",[n("h1",[t._v(t._s(t.$t("favorites.noTracks")))])]):t._e(),t._v(" "),t.tracks.length>0?n("table",{staticClass:"table"},t._l(t.tracks,(function(e){return n("tr",{staticClass:"track_row"},[n("td",{staticClass:"top-tracks-position",class:{first:1===e.position}},[t._v("\n\t\t\t\t\t"+t._s(e.position)+"\n\t\t\t\t")]),t._v(" "),n("td",[n("a",{staticClass:"rounded",class:{"single-cover":!!e.preview},attrs:{href:"#","data-preview":e.preview},on:{click:t.playPausePreview}},[e.preview?n("i",{staticClass:"material-icons preview_controls",on:{mouseenter:t.previewMouseEnter,mouseleave:t.previewMouseLeave}},[t._v("\n\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t")]):t._e(),t._v(" "),n("img",{staticClass:"rounded coverart",attrs:{src:e.album.cover_small}})])]),t._v(" "),n("td",{staticClass:"table__cell--large breakline"},[t._v("\n\t\t\t\t\t"+t._s(e.title+(e.title_version&&-1==e.title.indexOf(e.title_version)?" "+e.title_version:""))+"\n\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.artist.id},on:{click:t.artistView}},[t._v("\n\t\t\t\t\t"+t._s(e.artist.name)+"\n\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.album.id},on:{click:t.albumView}},[t._v("\n\t\t\t\t\t"+t._s(e.album.title)+"\n\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--small"},[t._v("\n\t\t\t\t\t"+t._s(t.convertDuration(e.duration))+"\n\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--download clickable",attrs:{"data-link":e.link,role:"button","aria-label":"download"},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[t._m(0,!0)])])})),0):t._e()])])};Xc._withStripped=!0;var Zc=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheFavoritesTab.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Xc,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[e("i",{staticClass:"material-icons"},[this._v("get_app")])])}]},(function(t){t&&t("data-v-9e50f96c_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheFavoritesTab.vue"},media:void 0})}),Jc,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const tu={name:"the-errors-tab",data:()=>({title:"",errors:[]}),methods:{reset(){this.title="",this.errors=[]},showErrors(t,e){this.title=t.artist+" - "+t.title,this.errors=t.errors,ao(e,"main","errors_tab")}},mounted(){eo.$on("showTabErrors",this.showErrors),this.$root.$on("showTabErrors",this.showErrors)}};var eu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main_tabcontent",attrs:{id:"errors_tab"}},[n("h1",[t._v(t._s(t.$t("errors.title",[t.title])))]),t._v(" "),n("table",{staticClass:"table table--tracklist"},[n("tr",[n("th",[t._v("ID")]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.artist",1)))]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.title",1)))]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.error",1)))])]),t._v(" "),t._l(t.errors,(function(e){return n("tr",{key:e.data.id},[n("td",[t._v(t._s(e.data.id))]),t._v(" "),n("td",[t._v(t._s(e.data.artist))]),t._v(" "),n("td",[t._v(t._s(e.data.title))]),t._v(" "),n("td",[t._v(t._s(e.errid?t.$t("errors.ids."+e.errid):e.message))])])}))],2)])};eu._withStripped=!0;var nu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheErrorsTab.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:eu,staticRenderFns:[]},(function(t){t&&t("data-v-71253e94_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheErrorsTab.vue"},media:void 0})}),tu,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const au={name:"the-home-tab",data:()=>({playlists:[],albums:[]}),methods:{artistView:no.bind(null,"artist"),albumView:no.bind(null,"album"),playlistView:no.bind(null,"playlist"),openSettings(){document.getElementById("main_settings_tablink").click()},addToQueue(t){Lc.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},initHome(t){const{playlists:{data:e},albums:{data:n}}=t;this.playlists=e,this.albums=n}},mounted(){localStorage.getItem("arl")&&this.$refs.notLogged.classList.add("hide"),to.on("init_home",this.initHome)}};var iu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main_tabcontent",attrs:{id:"home_tab"}},[n("h2",{staticClass:"page_heading"},[t._v(t._s(t.$t("globals.welcome")))]),t._v(" "),n("section",{ref:"notLogged",staticClass:"home_section",attrs:{id:"home_not_logged_in"}},[n("p",{attrs:{id:"home_not_logged_text"}},[t._v(t._s(t.$t("home.needTologin")))]),t._v(" "),n("button",{attrs:{type:"button",name:"button"},on:{click:t.openSettings}},[t._v(t._s(t.$t("home.openSettings")))])]),t._v(" "),t.playlists.length?n("section",{staticClass:"home_section"},[n("h3",{staticClass:"section_heading"},[t._v(t._s(t.$t("home.sections.popularPlaylists")))]),t._v(" "),n("div",{staticClass:"release_grid"},t._l(t.playlists,(function(e){return n("div",{key:e.id,staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.playlistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.picture_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("globals.by",[e.user.name])+" - "+t.$tc("globals.listTabs.trackN",e.nb_tracks))+"\n\t\t\t\t")])])})),0)]):t._e(),t._v(" "),t.albums.length?n("section",{staticClass:"home_section"},[n("h3",{staticClass:"section_heading"},[t._v(t._s(t.$t("home.sections.popularAlbums")))]),t._v(" "),n("div",{staticClass:"release_grid"},t._l(t.albums,(function(e){return n("div",{key:e.id,staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.albumView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.cover_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(""+t.$t("globals.by",[e.artist.name])))])])})),0)]):t._e()])};iu._withStripped=!0;var ru=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheHomeTab.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:iu,staticRenderFns:[]},(function(t){t&&t("data-v-ded89c74_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheHomeTab.vue"},media:void 0})}),au,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const su={name:"the-link-analyzer-tab",data:()=>({title:"",subtitle:"",image:"",data:{},type:"",link:"",id:"0",countries:[]}),methods:{artistView:no.bind(null,"artist"),albumView:no.bind(null,"album"),convertDuration:jc.convertDuration,reset(){this.title="Loading...",this.subtitle="",this.image="",this.data={},this.type="",this.link="",this.countries=[]},showTrack(t){const{title:e,title_version:n,album:{cover_xl:a},link:i,available_countries:r,id:s}=t;this.title=e+(n&&-1==e.indexOf(n)?" "+n:""),this.image=a,this.type="track",this.link=i,this.id=s,r.forEach(t=>{let e=[],n=[...t].map(t=>t.charCodeAt()+127397);e.push(String.fromCodePoint(...n)),e.push(jc.COUNTRIES[t]),this.countries.push(e)}),this.data=t},showAlbum(t){const{title:e,cover_xl:n,link:a,id:i}=t;this.title=e,this.image=n,this.type="album",this.link=a,this.data=t,this.id=i},notSupported(){this.link="error"}},mounted(){eo.$on("linkAnalyzerTab:reset",this.reset),to.on("analyze_track",this.showTrack),to.on("analyze_album",this.showAlbum),to.on("analyze_notSupported",this.notSupported)}};var ou=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main_tabcontent image_header",attrs:{id:"analyzer_tab"}},[n("h2",{staticClass:"page_heading page_heading--capitalize"},[t._v(t._s(t.$t("sidebar.linkAnalyzer")))]),t._v(" "),""==t.link?n("div",[n("p",[t._v("\n\t\t\t"+t._s(t.$t("linkAnalyzer.info"))+"\n\t\t")]),t._v(" "),n("p",[t._v("\n\t\t\t"+t._s(t.$t("linkAnalyzer.useful"))+"\n\t\t")])]):"error"==t.link?n("div",[n("h2",[t._v(t._s(t.$t("linkAnalyzer.linkNotSupported")))]),t._v(" "),n("p",[t._v(t._s(t.$t("linkAnalyzer.linkNotSupportedYet")))])]):n("div",[n("header",{staticClass:"inline-flex",style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+t.image+"')"}},[n("div",[n("h1",[t._v(t._s(t.title))]),t._v(" "),"track"==t.type?n("h2",[n("i18n",{attrs:{path:"globals.by",tag:"span"}},[n("span",{staticClass:"clickable",attrs:{place:"0","data-id":t.data.artist.id},on:{click:t.artistView}},[t._v(t._s(t.data.artist.name))])]),t._v("\n\t\t\t\t\t •\n\t\t\t\t\t"),n("i18n",{attrs:{path:"globals.in",tag:"span"}},[n("span",{staticClass:"clickable",attrs:{place:"0","data-id":t.data.album.id},on:{click:t.albumView}},[t._v(t._s(t.data.album.title))])])],1):"album"==t.type?n("h2",[n("i18n",{attrs:{path:"globals.by",tag:"span"}},[n("span",{staticClass:"clickable",attrs:{place:"0","data-id":t.data.artist.id},on:{click:t.artistView}},[t._v(t._s(t.data.artist.name))])]),t._v("\n\t\t\t\t\t"+t._s(" • "+t.$tc("globals.listTabs.trackN",t.data.nb_tracks))+"\n\t\t\t\t")],1):t._e()]),t._v(" "),n("div",{staticClass:"fab right",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("table",{staticClass:"table"},[t.data.id?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.id")))]),t._v(" "),n("td",[t._v(t._s(t.data.id))])]):t._e(),t._v(" "),t.data.isrc?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.isrc")))]),t._v(" "),n("td",[t._v(t._s(t.data.isrc))])]):t._e(),t._v(" "),t.data.upc?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.upc")))]),t._v(" "),n("td",[t._v(t._s(t.data.upc))])]):t._e(),t._v(" "),t.data.duration?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.duration")))]),t._v(" "),n("td",[t._v(t._s(t.convertDuration(t.data.duration)))])]):t._e(),t._v(" "),t.data.disk_number?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.diskNumber")))]),t._v(" "),n("td",[t._v(t._s(t.data.disk_number))])]):t._e(),t._v(" "),t.data.track_position?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.trackNumber")))]),t._v(" "),n("td",[t._v(t._s(t.data.track_position))])]):t._e(),t._v(" "),t.data.release_date?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.releaseDate")))]),t._v(" "),n("td",[t._v(t._s(t.data.release_date))])]):t._e(),t._v(" "),t.data.bpm?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.bpm")))]),t._v(" "),n("td",[t._v(t._s(t.data.bpm))])]):t._e(),t._v(" "),t.data.label?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.label")))]),t._v(" "),n("td",[t._v(t._s(t.data.label))])]):t._e(),t._v(" "),t.data.record_type?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.recordType")))]),t._v(" "),n("td",[t._v(t._s(t.$tc("globals.listTabs."+t.data.record_type,1)))])]):t._e(),t._v(" "),t.data.genres&&t.data.genres.data.length?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.genres")))]),t._v(" "),n("td",[t._v(t._s(t.data.genres.data.map((function(t){return t.name})).join("; ")))])]):t._e()]),t._v(" "),"album"==t.type?n("div",[n("button",{attrs:{"data-id":t.id},on:{click:t.albumView}},[t._v(t._s(t.$t("linkAnalyzer.table.tracklist")))])]):t._e(),t._v(" "),t.countries.length?n("div",t._l(t.countries,(function(e){return n("p",[t._v(t._s(e[0])+" - "+t._s(e[1]))])})),0):t._e()])])};ou._withStripped=!0;var lu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheLinkAnalyzerTab.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:ou,staticRenderFns:[]},(function(t){t&&t("data-v-dc5ba9a6_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheLinkAnalyzerTab.vue"},media:void 0})}),su,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}})),cu=function(t,e){e._c;return e._m(0)};cu._withStripped=!0;var uu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheAboutTab.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a,l}({render:cu,staticRenderFns:[function(t,e){var n=e._c;return n("div",{staticClass:"main_tabcontent",attrs:{id:"about_tab"}},[n("h2",{staticClass:"page_heading"},[e._v("About")]),e._v(" "),n("p",[e._v("\n\t\tThis app uses the "),n("a",{attrs:{href:"https://deemix.app",target:"_blank"}},[e._v("deemix")]),e._v(" library, you can use this\n\t\tlibrary to make your own UI for deemix."),n("br"),e._v("\n\t\tHere's the "),n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix",target:"_blank"}},[e._v("official repo")]),e._v(" for the\n\t\tlibrary.\n\t")]),e._v(" "),n("p",[e._v("\n\t\tThanks to rtonno, uhwot and lollilol for helping me with this project."),n("br"),e._v("\n\t\tAlso thanks to BasCurtiz and scarvimane for making the icon.\n\t")]),e._v(" "),n("p",[e._v("\n\t\tStay up to date with the updates by following the "),n("a",{attrs:{href:"https://t.me/RemixDevNews",target:"_blank"}},[e._v("news channel")]),e._v(" on Telegram.\n\t")]),e._v(" "),n("br"),e._v(" "),n("h1",[e._v("Bug Reports")]),e._v(" "),n("p",[e._v("\n\t\tIf you have questions or problems with the app, search for a solution in the\n\t\t"),n("a",{attrs:{href:"https://www.reddit.com/r/deemix",target:"_blank"}},[e._v("subreddit")]),e._v(" first and then, if you don't\n\t\tfind anything\n\t\tyou can make a post with your issue on the subreddit.\n\t")]),e._v(" "),n("p",[e._v("\n\t\tBefore reporting a bug make sure you're running the latest version of the app and that the thing you\n\t\twant\n\t\tto report is actually a bug and not something that's wrong only on your end."),n("br"),e._v("\n\t\tMake sure the bug is reproducible on another machines and also "),n("b",[e._v("DO NOT")]),e._v(" report a bug if it's been\n\t\talready reported.\n\t")]),e._v(" "),n("p",[n("b",[e._v("DO NOT")]),e._v(" open issues for asking questions, there is a subreddit for that.\n\t")]),e._v(" "),n("br"),e._v(" "),n("h2",[e._v("Donations")]),e._v(" "),n("h3",[e._v("You want to contribute to this project? You can do that "),n("b",[e._v("in different ways!")])]),e._v(" "),n("p",[e._v("\n\t\tIf you're fluent in python you could try to make a new UI for the app using the base library, or fix\n\t\tbugs in the library with a pull request on the "),n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix",target:"_blank"}},[e._v("repo")]),e._v("."),n("br"),e._v("\n\t\tI accept features as well, but no complex things, as they can be implementend directly in the app and\n\t\tnot the library.")]),e._v(" "),n("p",[e._v("\n\t\tIf you're fluent in another programming language you could try to port deemix into other programming\n\t\tlanguages!"),n("br"),e._v("\n\t\tYou need help understanding the code? Just hit RemixDev up on Telegram or Reddit.")]),e._v(" "),n("p",[e._v("If you know JavaScript, HTML or CSS you could contribute to the "),n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix-webui",target:"_blank"}},[e._v("webui")]),e._v(".")]),e._v(" "),n("p",[e._v("\n\t\tIf you find some bugs you can report them in the repo, just make sure your bug isn't something that\n\t\tonly\n\t\taffects you and it can be reproducible by other users as well."),n("br"),e._v("\n\t\tDuplicate bug reports will be closed, so keep an eye out on that.")]),e._v(" "),n("hr"),e._v(" "),n("h3",[e._v("You want to contribute monetarily? You could make a donation!")]),e._v(" "),n("p",[e._v("\n\t\tIf you can donate you can do that with this links."),n("br"),e._v("\n\t\tYou shoud remember that "),n("b",[e._v("this is a free project")]),e._v(" and "),n("b",[e._v("you should support the artists you\n\t\t\tlove")]),e._v("\n\t\tbefore supporting the developers."),n("br"),e._v("\n\t\tDon't feel obligated to donate, I appreciate you anyway!")]),e._v(" "),n("p",[n("b",[e._v("PayPal:")]),e._v(" "),n("a",{attrs:{href:"https://paypal.me/RemixDev",target:"_blank"}},[e._v("PayPal.me/RemixDev")]),n("br"),e._v(" "),n("b",[e._v("Bitcoin:")]),e._v(" 1sdNymSJrMBWyHM4u2m9uco5nv6uV4Qs1"),n("br"),e._v(" "),n("b",[e._v("Ethereum:")]),e._v(" 0x1d2aa67e671485CD4062289772B662e0A6Ff976c\n\t")]),e._v(" "),n("br"),e._v(" "),n("h2",[e._v("License")]),e._v(" "),n("p",[n("a",{attrs:{rel:"license",href:"https://www.gnu.org/licenses/gpl-3.0.en.html",target:"_blank"}},[n("img",{staticStyle:{"border-width":"0"},attrs:{alt:"GNU General Public License",src:"https://www.gnu.org/graphics/gplv3-127x51.png"}})]),n("br"),e._v("\n\t\tThis work is licensed under a "),n("a",{attrs:{rel:"license",href:"https://www.gnu.org/licenses/gpl-3.0.en.html",target:"_blank"}},[e._v("GNU General Public License 3.0")]),e._v(".\n\t")])])}]},0,{},void 0,!0),du={it:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3 2">\n<rect width="1" height="2" fill="#009246"/>\n<rect width="1" height="2" x="1" fill="#fff"/>\n<rect width="1" height="2" x="2" fill="#ce2b37"/>\n</svg>',en:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30">\n<clipPath id="t">\n<path d="M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z"/>\n</clipPath>\n<path d="M0,0 v30 h60 v-30 z" fill="#00247d"/>\n<path d="M0,0 L60,30 M60,0 L0,30" stroke="#fff" stroke-width="6"/>\n<path d="M0,0 L60,30 M60,0 L0,30" clip-path="url(#t)" stroke="#cf142b" stroke-width="4"/>\n<path d="M30,0 v30 M0,15 h60" stroke="#fff" stroke-width="10"/>\n<path d="M30,0 v30 M0,15 h60" stroke="#cf142b" stroke-width="6"/>\n</svg>'};const pu={name:"the-settings-tab",data:()=>({flags:du,currentLocale:"en",locales:[],settings:{tags:{}},lastSettings:{},spotifyFeatures:{},lastCredentials:{},defaultSettings:{},lastUser:"",spotifyUser:"",slimDownloads:!1,previewVolume:window.vol,accountNum:0,accounts:[]}),computed:{changeSlimDownloads:{get(){return this.slimDownloads},set(t){this.slimDownloads=t,document.getElementById("download_list").classList.toggle("slim",t),localStorage.setItem("slimDownloads",t)}}},methods:{revertSettings(){this.settings={...this.lastSettings}},revertCredentials(){this.spotifyCredentials={...this.lastCredentials},this.spotifyUser=(" "+this.lastUser).slice(1)},copyARLtoClipboard(){let t=this.$refs.loginInput;t.setAttribute("type","text"),t.select(),t.setSelectionRange(0,99999),document.execCommand("copy"),t.setAttribute("type","password"),Yc(this.$t("settings.toasts.ARLcopied"),"assignment")},changeLocale(t){this.$i18n.locale=t,this.currentLocale=t,localStorage.setItem("locale",t)},updateMaxVolume(){localStorage.setItem("previewVolume",this.previewVolume.preview_max_volume)},saveSettings(){this.lastSettings={...this.settings},this.lastCredentials={...this.spotifyFeatures};let t=!1;this.lastUser!=this.spotifyUser&&(this.lastUser=(" "+this.spotifyUser).slice(1),localStorage.setItem("spotifyUser",this.lastUser),t=!0),to.emit("saveSettings",this.lastSettings,this.lastCredentials,!!t&&this.lastUser)},loadSettings(t,e,n=null){n&&(this.defaultSettings={...n}),this.lastSettings={...t},this.lastCredentials={...e},this.settings=t,this.spotifyFeatures=e},login(){let t=this.$refs.loginInput.value.trim();""!=t&&t!=localStorage.getItem("arl")&&to.emit("login",t,!0,this.accountNum)},changeAccount(){to.emit("changeAccount",this.accountNum)},accountChanged(t,e){this.$refs.username.innerText=t.name,this.$refs.userpicture.src=`https://e-cdns-images.dzcdn.net/images/user/${t.picture}/125x125-000000-80-0-0.jpg`,this.accountNum=e,localStorage.setItem("accountNum",this.accountNum)},initAccounts(t){this.accounts=t},logout(){to.emit("logout")},initSettings(t,e,n){this.loadSettings(t,e,n),Yc(this.$t("settings.toasts.init"),"settings")},updateSettings(t,e){this.loadSettings(t,e),Yc(this.$t("settings.toasts.update"),"settings")},resetSettings(){this.settings={...this.defaultSettings}}},mounted(){this.locales=this.$i18n.availableLocales,eo.$on("settingsTab:revertSettings",this.revertSettings),eo.$on("settingsTab:revertCredentials",this.revertCredentials),this.$refs.loggedInInfo.classList.add("hide");let t=localStorage.getItem("locale");t&&(this.$i18n.locale=t,this.currentLocale=t);let e=localStorage.getItem("arl");e&&(this.$refs.loginInput.value=e.trim());let n=localStorage.getItem("accountNum");n&&(this.accountNum=n);let a=localStorage.getItem("spotifyUser");a&&(this.lastUser=a,this.spotifyUser=a,to.emit("update_userSpotifyPlaylists",a)),this.changeSlimDownloads="true"===localStorage.getItem("slimDownloads");let i=parseInt(localStorage.getItem("previewVolume"));isNaN(i)&&(i=80,localStorage.setItem("previewVolume",i)),window.vol.preview_max_volume=i,to.on("init_settings",this.initSettings),to.on("updateSettings",this.updateSettings),to.on("accountChanged",this.accountChanged),to.on("familyAccounts",this.initAccounts)}};var fu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main_tabcontent fixed_footer",attrs:{id:"settings_tab"}},[n("h2",{staticClass:"page_heading"},[t._v(t._s(t.$t("settings.title")))]),t._v(" "),n("div",{ref:"loggedInInfo",attrs:{id:"logged_in_info"}},[n("img",{ref:"userpicture",staticClass:"circle",attrs:{id:"settings_picture",src:"",alt:"Profile Picture"}}),t._v(" "),n("i18n",{attrs:{path:"settings.login.loggedIn",tag:"p"}},[n("strong",{ref:"username",attrs:{place:"username",id:"settings_username"}})]),t._v(" "),n("button",{attrs:{id:"settings_btn_logout"},on:{click:t.logout}},[t._v(t._s(t.$t("settings.login.logout")))]),t._v(" "),t.accounts.length?n("select",{directives:[{name:"model",rawName:"v-model",value:t.accountNum,expression:"accountNum"}],attrs:{id:"family_account"},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.accountNum=e.target.multiple?n:n[0]},t.changeAccount]}},t._l(t.accounts,(function(e,a){return n("option",{domProps:{value:a.toString()}},[t._v(t._s(e.BLOG_NAME))])})),0):t._e()],1),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("person")]),t._v(t._s(t.$t("settings.login.title"))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"inline-flex"},[n("input",{ref:"loginInput",attrs:{autocomplete:"off",type:"password",id:"login_input_arl",placeholder:"ARL"}}),t._v(" "),n("button",{attrs:{id:"settings_btn_copyArl"},on:{click:t.copyARLtoClipboard}},[n("i",{staticClass:"material-icons"},[t._v("assignment")])])]),t._v(" "),n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix/wiki/Getting-your-own-ARL",target:"_blank"}},[t._v("\n\t\t\t"+t._s(t.$t("settings.login.arl.question"))+"\n\t\t")]),t._v(" "),n("button",{staticStyle:{width:"100%"},attrs:{id:"settings_btn_updateArl"},on:{click:t.login}},[t._v("\n\t\t\t"+t._s(t.$t("settings.login.arl.update"))+"\n\t\t")])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("language")]),t._v(t._s(t.$t("settings.languages"))+"\n\t\t")]),t._v(" "),n("div",t._l(t.locales,(function(e){return n("span",{key:e,staticClass:"locale-flag",class:{"locale-flag--current":t.currentLocale===e},domProps:{innerHTML:t._s(t.flags[e])},on:{click:function(n){return t.changeLocale(e)}}})})),0)]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("web")]),t._v(t._s(t.$t("settings.appearance.title"))+"\n\t\t")]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeSlimDownloads,expression:"changeSlimDownloads"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.changeSlimDownloads)?t._i(t.changeSlimDownloads,null)>-1:t.changeSlimDownloads},on:{change:function(e){var n=t.changeSlimDownloads,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&(t.changeSlimDownloads=n.concat([null])):r>-1&&(t.changeSlimDownloads=n.slice(0,r).concat(n.slice(r+1)))}else t.changeSlimDownloads=i}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.appearance.slimDownloadTab")))])])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("folder")]),t._v(t._s(t.$t("settings.downloadPath.title"))+"\n\t\t")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.downloadLocation,expression:"settings.downloadLocation"}],attrs:{type:"text"},domProps:{value:t.settings.downloadLocation},on:{input:function(e){e.target.composing||t.$set(t.settings,"downloadLocation",e.target.value)}}})]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("font_download")]),t._v(t._s(t.$t("settings.templates.title"))+"\n\t\t")]),t._v(" "),n("p",[t._v(t._s(t.$t("settings.templates.tracknameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tracknameTemplate,expression:"settings.tracknameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.tracknameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"tracknameTemplate",e.target.value)}}}),t._v(" "),n("p",[t._v(t._s(t.$t("settings.templates.albumTracknameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.albumTracknameTemplate,expression:"settings.albumTracknameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.albumTracknameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"albumTracknameTemplate",e.target.value)}}}),t._v(" "),n("p",[t._v(t._s(t.$t("settings.templates.playlistTracknameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.playlistTracknameTemplate,expression:"settings.playlistTracknameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.playlistTracknameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"playlistTracknameTemplate",e.target.value)}}})]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("create_new_folder")]),t._v(t._s(t.$t("settings.folders.title"))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"settings-container"},[n("div",{staticClass:"settings-container__third"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createPlaylistFolder,expression:"settings.createPlaylistFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createPlaylistFolder)?t._i(t.settings.createPlaylistFolder,null)>-1:t.settings.createPlaylistFolder},on:{change:function(e){var n=t.settings.createPlaylistFolder,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"createPlaylistFolder",n.concat([null])):r>-1&&t.$set(t.settings,"createPlaylistFolder",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"createPlaylistFolder",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.folders.createPlaylistFolder")))])]),t._v(" "),t.settings.createPlaylistFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.folders.playlistNameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.playlistNameTemplate,expression:"settings.playlistNameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.playlistNameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"playlistNameTemplate",e.target.value)}}})]):t._e()]),t._v(" "),n("div",{staticClass:"settings-container__third"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createArtistFolder,expression:"settings.createArtistFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createArtistFolder)?t._i(t.settings.createArtistFolder,null)>-1:t.settings.createArtistFolder},on:{change:function(e){var n=t.settings.createArtistFolder,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"createArtistFolder",n.concat([null])):r>-1&&t.$set(t.settings,"createArtistFolder",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"createArtistFolder",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.folders.createArtistFolder")))])]),t._v(" "),t.settings.createArtistFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.folders.artistNameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.artistNameTemplate,expression:"settings.artistNameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.artistNameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"artistNameTemplate",e.target.value)}}})]):t._e()]),t._v(" "),n("div",{staticClass:"settings-container__third"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createAlbumFolder,expression:"settings.createAlbumFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createAlbumFolder)?t._i(t.settings.createAlbumFolder,null)>-1:t.settings.createAlbumFolder},on:{change:function(e){var n=t.settings.createAlbumFolder,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"createAlbumFolder",n.concat([null])):r>-1&&t.$set(t.settings,"createAlbumFolder",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"createAlbumFolder",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.folders.createAlbumFolder")))])]),t._v(" "),t.settings.createAlbumFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.folders.albumNameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.albumNameTemplate,expression:"settings.albumNameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.albumNameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"albumNameTemplate",e.target.value)}}})]):t._e()])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createCDFolder,expression:"settings.createCDFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createCDFolder)?t._i(t.settings.createCDFolder,null)>-1:t.settings.createCDFolder},on:{change:function(e){var n=t.settings.createCDFolder,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"createCDFolder",n.concat([null])):r>-1&&t.$set(t.settings,"createCDFolder",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"createCDFolder",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.folders.createCDFolder")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createStructurePlaylist,expression:"settings.createStructurePlaylist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createStructurePlaylist)?t._i(t.settings.createStructurePlaylist,null)>-1:t.settings.createStructurePlaylist},on:{change:function(e){var n=t.settings.createStructurePlaylist,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"createStructurePlaylist",n.concat([null])):r>-1&&t.$set(t.settings,"createStructurePlaylist",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"createStructurePlaylist",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.folders.createStructurePlaylist")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createSingleFolder,expression:"settings.createSingleFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createSingleFolder)?t._i(t.settings.createSingleFolder,null)>-1:t.settings.createSingleFolder},on:{change:function(e){var n=t.settings.createSingleFolder,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"createSingleFolder",n.concat([null])):r>-1&&t.$set(t.settings,"createSingleFolder",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"createSingleFolder",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.folders.createSingleFolder")))])])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("title")]),t._v(t._s(t.$t("settings.trackTitles.title"))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"settings-container"},[n("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.padTracks,expression:"settings.padTracks"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.padTracks)?t._i(t.settings.padTracks,null)>-1:t.settings.padTracks},on:{change:function(e){var n=t.settings.padTracks,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"padTracks",n.concat([null])):r>-1&&t.$set(t.settings,"padTracks",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"padTracks",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.trackTitles.padTracks")))])])]),t._v(" "),n("div",{staticClass:"settings-container__third"},[n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.trackTitles.paddingSize")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.paddingSize,expression:"settings.paddingSize"}],attrs:{max:"10",type:"number"},domProps:{value:t.settings.paddingSize},on:{input:function(e){e.target.composing||t.$set(t.settings,"paddingSize",e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"settings-container__third"},[n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.trackTitles.illegalCharacterReplacer")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.illegalCharacterReplacer,expression:"settings.illegalCharacterReplacer"}],attrs:{type:"text"},domProps:{value:t.settings.illegalCharacterReplacer},on:{input:function(e){e.target.composing||t.$set(t.settings,"illegalCharacterReplacer",e.target.value)}}})])])])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("get_app")]),t._v(t._s(t.$t("settings.downloads.title"))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.downloads.queueConcurrency")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.settings.queueConcurrency,expression:"settings.queueConcurrency",modifiers:{number:!0}}],attrs:{type:"number"},domProps:{value:t.settings.queueConcurrency},on:{input:function(e){e.target.composing||t.$set(t.settings,"queueConcurrency",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.downloads.maxBitrate.title")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.maxBitrate,expression:"settings.maxBitrate"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"maxBitrate",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"9"}},[t._v(t._s(t.$t("settings.downloads.maxBitrate.9")))]),t._v(" "),n("option",{attrs:{value:"3"}},[t._v(t._s(t.$t("settings.downloads.maxBitrate.3")))]),t._v(" "),n("option",{attrs:{value:"1"}},[t._v(t._s(t.$t("settings.downloads.maxBitrate.1")))])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.downloads.overwriteFile.title")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.overwriteFile,expression:"settings.overwriteFile"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"overwriteFile",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"y"}},[t._v(t._s(t.$t("settings.downloads.overwriteFile.y")))]),t._v(" "),n("option",{attrs:{value:"n"}},[t._v(t._s(t.$t("settings.downloads.overwriteFile.n")))]),t._v(" "),n("option",{attrs:{value:"t"}},[t._v(t._s(t.$t("settings.downloads.overwriteFile.t")))])])]),t._v(" "),n("div",{staticClass:"settings-container"},[n("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.fallbackBitrate,expression:"settings.fallbackBitrate"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.fallbackBitrate)?t._i(t.settings.fallbackBitrate,null)>-1:t.settings.fallbackBitrate},on:{change:function(e){var n=t.settings.fallbackBitrate,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"fallbackBitrate",n.concat([null])):r>-1&&t.$set(t.settings,"fallbackBitrate",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"fallbackBitrate",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.fallbackBitrate")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.fallbackSearch,expression:"settings.fallbackSearch"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.fallbackSearch)?t._i(t.settings.fallbackSearch,null)>-1:t.settings.fallbackSearch},on:{change:function(e){var n=t.settings.fallbackSearch,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"fallbackSearch",n.concat([null])):r>-1&&t.$set(t.settings,"fallbackSearch",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"fallbackSearch",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.fallbackSearch")))])])]),t._v(" "),n("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.logErrors,expression:"settings.logErrors"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.logErrors)?t._i(t.settings.logErrors,null)>-1:t.settings.logErrors},on:{change:function(e){var n=t.settings.logErrors,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"logErrors",n.concat([null])):r>-1&&t.$set(t.settings,"logErrors",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"logErrors",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.logErrors")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.logSearched,expression:"settings.logSearched"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.logSearched)?t._i(t.settings.logSearched,null)>-1:t.settings.logSearched},on:{change:function(e){var n=t.settings.logSearched,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"logSearched",n.concat([null])):r>-1&&t.$set(t.settings,"logSearched",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"logSearched",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.logSearched")))])])]),t._v(" "),n("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.syncedLyrics,expression:"settings.syncedLyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.syncedLyrics)?t._i(t.settings.syncedLyrics,null)>-1:t.settings.syncedLyrics},on:{change:function(e){var n=t.settings.syncedLyrics,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"syncedLyrics",n.concat([null])):r>-1&&t.$set(t.settings,"syncedLyrics",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"syncedLyrics",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.syncedLyrics")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createM3U8File,expression:"settings.createM3U8File"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createM3U8File)?t._i(t.settings.createM3U8File,null)>-1:t.settings.createM3U8File},on:{change:function(e){var n=t.settings.createM3U8File,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"createM3U8File",n.concat([null])):r>-1&&t.$set(t.settings,"createM3U8File",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"createM3U8File",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.createM3U8File")))])])])]),t._v(" "),t.settings.createM3U8File?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.downloads.playlistFilenameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.playlistFilenameTemplate,expression:"settings.playlistFilenameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.playlistFilenameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"playlistFilenameTemplate",e.target.value)}}})]):t._e(),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.saveDownloadQueue,expression:"settings.saveDownloadQueue"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.saveDownloadQueue)?t._i(t.settings.saveDownloadQueue,null)>-1:t.settings.saveDownloadQueue},on:{change:function(e){var n=t.settings.saveDownloadQueue,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"saveDownloadQueue",n.concat([null])):r>-1&&t.$set(t.settings,"saveDownloadQueue",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"saveDownloadQueue",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.saveDownloadQueue")))])])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("album")]),t._v(t._s(t.$t("settings.covers.title"))+"\n\t\t")]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.saveArtwork,expression:"settings.saveArtwork"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.saveArtwork)?t._i(t.settings.saveArtwork,null)>-1:t.settings.saveArtwork},on:{change:function(e){var n=t.settings.saveArtwork,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"saveArtwork",n.concat([null])):r>-1&&t.$set(t.settings,"saveArtwork",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"saveArtwork",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.covers.saveArtwork")))])]),t._v(" "),t.settings.saveArtwork?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.covers.coverImageTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.coverImageTemplate,expression:"settings.coverImageTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.coverImageTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"coverImageTemplate",e.target.value)}}})]):t._e(),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.saveArtworkArtist,expression:"settings.saveArtworkArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.saveArtworkArtist)?t._i(t.settings.saveArtworkArtist,null)>-1:t.settings.saveArtworkArtist},on:{change:function(e){var n=t.settings.saveArtworkArtist,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"saveArtworkArtist",n.concat([null])):r>-1&&t.$set(t.settings,"saveArtworkArtist",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"saveArtworkArtist",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.covers.saveArtworkArtist")))])]),t._v(" "),t.settings.saveArtworkArtist?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.covers.artistImageTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.artistImageTemplate,expression:"settings.artistImageTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.artistImageTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"artistImageTemplate",e.target.value)}}})]):t._e(),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.covers.localArtworkSize")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.settings.localArtworkSize,expression:"settings.localArtworkSize",modifiers:{number:!0}}],attrs:{type:"number",min:"100",max:"1800",step:"100"},domProps:{value:t.settings.localArtworkSize},on:{input:function(e){e.target.composing||t.$set(t.settings,"localArtworkSize",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.covers.embeddedArtworkSize")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.settings.embeddedArtworkSize,expression:"settings.embeddedArtworkSize",modifiers:{number:!0}}],attrs:{type:"number",min:"100",max:"1800",step:"100"},domProps:{value:t.settings.embeddedArtworkSize},on:{input:function(e){e.target.composing||t.$set(t.settings,"embeddedArtworkSize",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.covers.localArtworkFormat.title")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.localArtworkFormat,expression:"settings.localArtworkFormat"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"localArtworkFormat",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"jpg"}},[t._v(t._s(t.$t("settings.covers.localArtworkFormat.jpg")))]),t._v(" "),n("option",{attrs:{value:"png"}},[t._v(t._s(t.$t("settings.covers.localArtworkFormat.png")))]),t._v(" "),n("option",{attrs:{value:"jpg,png"}},[t._v(t._s(t.$t("settings.covers.localArtworkFormat.both")))])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.covers.jpegImageQuality")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.settings.jpegImageQuality,expression:"settings.jpegImageQuality",modifiers:{number:!0}}],attrs:{type:"number",min:"1",max:"100"},domProps:{value:t.settings.jpegImageQuality},on:{input:function(e){e.target.composing||t.$set(t.settings,"jpegImageQuality",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons",staticStyle:{width:"1em",height:"1em"}},[t._v("bookmarks")]),t._v(t._s(t.$t("settings.tags.head"))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"settings-container"},[n("div",{staticClass:"settings-container__half"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.title,expression:"settings.tags.title"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.title)?t._i(t.settings.tags.title,null)>-1:t.settings.tags.title},on:{change:function(e){var n=t.settings.tags.title,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"title",n.concat([null])):r>-1&&t.$set(t.settings.tags,"title",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"title",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.title")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.artist,expression:"settings.tags.artist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.artist)?t._i(t.settings.tags.artist,null)>-1:t.settings.tags.artist},on:{change:function(e){var n=t.settings.tags.artist,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"artist",n.concat([null])):r>-1&&t.$set(t.settings.tags,"artist",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"artist",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.artist")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.album,expression:"settings.tags.album"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.album)?t._i(t.settings.tags.album,null)>-1:t.settings.tags.album},on:{change:function(e){var n=t.settings.tags.album,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"album",n.concat([null])):r>-1&&t.$set(t.settings.tags,"album",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"album",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.album")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.cover,expression:"settings.tags.cover"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.cover)?t._i(t.settings.tags.cover,null)>-1:t.settings.tags.cover},on:{change:function(e){var n=t.settings.tags.cover,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"cover",n.concat([null])):r>-1&&t.$set(t.settings.tags,"cover",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"cover",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.cover")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.trackNumber,expression:"settings.tags.trackNumber"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.trackNumber)?t._i(t.settings.tags.trackNumber,null)>-1:t.settings.tags.trackNumber},on:{change:function(e){var n=t.settings.tags.trackNumber,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"trackNumber",n.concat([null])):r>-1&&t.$set(t.settings.tags,"trackNumber",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"trackNumber",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.trackNumber")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.trackTotal,expression:"settings.tags.trackTotal"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.trackTotal)?t._i(t.settings.tags.trackTotal,null)>-1:t.settings.tags.trackTotal},on:{change:function(e){var n=t.settings.tags.trackTotal,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"trackTotal",n.concat([null])):r>-1&&t.$set(t.settings.tags,"trackTotal",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"trackTotal",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.trackTotal")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.discNumber,expression:"settings.tags.discNumber"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.discNumber)?t._i(t.settings.tags.discNumber,null)>-1:t.settings.tags.discNumber},on:{change:function(e){var n=t.settings.tags.discNumber,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"discNumber",n.concat([null])):r>-1&&t.$set(t.settings.tags,"discNumber",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"discNumber",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.discNumber")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.discTotal,expression:"settings.tags.discTotal"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.discTotal)?t._i(t.settings.tags.discTotal,null)>-1:t.settings.tags.discTotal},on:{change:function(e){var n=t.settings.tags.discTotal,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"discTotal",n.concat([null])):r>-1&&t.$set(t.settings.tags,"discTotal",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"discTotal",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.discTotal")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.albumArtist,expression:"settings.tags.albumArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.albumArtist)?t._i(t.settings.tags.albumArtist,null)>-1:t.settings.tags.albumArtist},on:{change:function(e){var n=t.settings.tags.albumArtist,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"albumArtist",n.concat([null])):r>-1&&t.$set(t.settings.tags,"albumArtist",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"albumArtist",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.albumArtist")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.genre,expression:"settings.tags.genre"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.genre)?t._i(t.settings.tags.genre,null)>-1:t.settings.tags.genre},on:{change:function(e){var n=t.settings.tags.genre,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"genre",n.concat([null])):r>-1&&t.$set(t.settings.tags,"genre",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"genre",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.genre")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.year,expression:"settings.tags.year"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.year)?t._i(t.settings.tags.year,null)>-1:t.settings.tags.year},on:{change:function(e){var n=t.settings.tags.year,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"year",n.concat([null])):r>-1&&t.$set(t.settings.tags,"year",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"year",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.year")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.date,expression:"settings.tags.date"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.date)?t._i(t.settings.tags.date,null)>-1:t.settings.tags.date},on:{change:function(e){var n=t.settings.tags.date,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"date",n.concat([null])):r>-1&&t.$set(t.settings.tags,"date",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"date",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.date")))])])]),t._v(" "),n("div",{staticClass:"settings-container__half"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.explicit,expression:"settings.tags.explicit"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.explicit)?t._i(t.settings.tags.explicit,null)>-1:t.settings.tags.explicit},on:{change:function(e){var n=t.settings.tags.explicit,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"explicit",n.concat([null])):r>-1&&t.$set(t.settings.tags,"explicit",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"explicit",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.explicit")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.isrc,expression:"settings.tags.isrc"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.isrc)?t._i(t.settings.tags.isrc,null)>-1:t.settings.tags.isrc},on:{change:function(e){var n=t.settings.tags.isrc,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"isrc",n.concat([null])):r>-1&&t.$set(t.settings.tags,"isrc",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"isrc",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.isrc")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.length,expression:"settings.tags.length"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.length)?t._i(t.settings.tags.length,null)>-1:t.settings.tags.length},on:{change:function(e){var n=t.settings.tags.length,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"length",n.concat([null])):r>-1&&t.$set(t.settings.tags,"length",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"length",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.length")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.barcode,expression:"settings.tags.barcode"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.barcode)?t._i(t.settings.tags.barcode,null)>-1:t.settings.tags.barcode},on:{change:function(e){var n=t.settings.tags.barcode,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"barcode",n.concat([null])):r>-1&&t.$set(t.settings.tags,"barcode",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"barcode",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.barcode")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.bpm,expression:"settings.tags.bpm"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.bpm)?t._i(t.settings.tags.bpm,null)>-1:t.settings.tags.bpm},on:{change:function(e){var n=t.settings.tags.bpm,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"bpm",n.concat([null])):r>-1&&t.$set(t.settings.tags,"bpm",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"bpm",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.bpm")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.replayGain,expression:"settings.tags.replayGain"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.replayGain)?t._i(t.settings.tags.replayGain,null)>-1:t.settings.tags.replayGain},on:{change:function(e){var n=t.settings.tags.replayGain,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"replayGain",n.concat([null])):r>-1&&t.$set(t.settings.tags,"replayGain",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"replayGain",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.replayGain")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.label,expression:"settings.tags.label"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.label)?t._i(t.settings.tags.label,null)>-1:t.settings.tags.label},on:{change:function(e){var n=t.settings.tags.label,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"label",n.concat([null])):r>-1&&t.$set(t.settings.tags,"label",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"label",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.label")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.lyrics,expression:"settings.tags.lyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.lyrics)?t._i(t.settings.tags.lyrics,null)>-1:t.settings.tags.lyrics},on:{change:function(e){var n=t.settings.tags.lyrics,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"lyrics",n.concat([null])):r>-1&&t.$set(t.settings.tags,"lyrics",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"lyrics",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.lyrics")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.copyright,expression:"settings.tags.copyright"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.copyright)?t._i(t.settings.tags.copyright,null)>-1:t.settings.tags.copyright},on:{change:function(e){var n=t.settings.tags.copyright,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"copyright",n.concat([null])):r>-1&&t.$set(t.settings.tags,"copyright",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"copyright",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.copyright")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.composer,expression:"settings.tags.composer"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.composer)?t._i(t.settings.tags.composer,null)>-1:t.settings.tags.composer},on:{change:function(e){var n=t.settings.tags.composer,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"composer",n.concat([null])):r>-1&&t.$set(t.settings.tags,"composer",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"composer",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.composer")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.involvedPeople,expression:"settings.tags.involvedPeople"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.involvedPeople)?t._i(t.settings.tags.involvedPeople,null)>-1:t.settings.tags.involvedPeople},on:{change:function(e){var n=t.settings.tags.involvedPeople,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"involvedPeople",n.concat([null])):r>-1&&t.$set(t.settings.tags,"involvedPeople",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"involvedPeople",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.involvedPeople")))])])])])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("list")]),t._v(t._s(t.$t("settings.other.title"))+"\n\t\t")]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.savePlaylistAsCompilation,expression:"settings.tags.savePlaylistAsCompilation"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.savePlaylistAsCompilation)?t._i(t.settings.tags.savePlaylistAsCompilation,null)>-1:t.settings.tags.savePlaylistAsCompilation},on:{change:function(e){var n=t.settings.tags.savePlaylistAsCompilation,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"savePlaylistAsCompilation",n.concat([null])):r>-1&&t.$set(t.settings.tags,"savePlaylistAsCompilation",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"savePlaylistAsCompilation",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.savePlaylistAsCompilation")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.useNullSeparator,expression:"settings.tags.useNullSeparator"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.useNullSeparator)?t._i(t.settings.tags.useNullSeparator,null)>-1:t.settings.tags.useNullSeparator},on:{change:function(e){var n=t.settings.tags.useNullSeparator,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"useNullSeparator",n.concat([null])):r>-1&&t.$set(t.settings.tags,"useNullSeparator",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"useNullSeparator",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.useNullSeparator")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.saveID3v1,expression:"settings.tags.saveID3v1"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.saveID3v1)?t._i(t.settings.tags.saveID3v1,null)>-1:t.settings.tags.saveID3v1},on:{change:function(e){var n=t.settings.tags.saveID3v1,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"saveID3v1",n.concat([null])):r>-1&&t.$set(t.settings.tags,"saveID3v1",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"saveID3v1",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.saveID3v1")))])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.title")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.multiArtistSeparator,expression:"settings.tags.multiArtistSeparator"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings.tags,"multiArtistSeparator",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"nothing"}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.nothing")))]),t._v(" "),n("option",{attrs:{value:"default"}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.default")))]),t._v(" "),n("option",{attrs:{value:"andFeat"}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.andFeat")))]),t._v(" "),n("option",{attrs:{value:" & "}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",[" & "])))]),t._v(" "),n("option",{attrs:{value:","}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",[","])))]),t._v(" "),n("option",{attrs:{value:", "}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",[", "])))]),t._v(" "),n("option",{attrs:{value:"/"}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",["/"])))]),t._v(" "),n("option",{attrs:{value:" / "}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",[" / "])))]),t._v(" "),n("option",{attrs:{value:";"}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",[";"])))]),t._v(" "),n("option",{attrs:{value:"; "}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",["; "])))])])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.singleAlbumArtist,expression:"settings.tags.singleAlbumArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.singleAlbumArtist)?t._i(t.settings.tags.singleAlbumArtist,null)>-1:t.settings.tags.singleAlbumArtist},on:{change:function(e){var n=t.settings.tags.singleAlbumArtist,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings.tags,"singleAlbumArtist",n.concat([null])):r>-1&&t.$set(t.settings.tags,"singleAlbumArtist",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings.tags,"singleAlbumArtist",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.singleAlbumArtist")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.albumVariousArtists,expression:"settings.albumVariousArtists"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.albumVariousArtists)?t._i(t.settings.albumVariousArtists,null)>-1:t.settings.albumVariousArtists},on:{change:function(e){var n=t.settings.albumVariousArtists,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"albumVariousArtists",n.concat([null])):r>-1&&t.$set(t.settings,"albumVariousArtists",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"albumVariousArtists",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.albumVariousArtists")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.removeAlbumVersion,expression:"settings.removeAlbumVersion"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.removeAlbumVersion)?t._i(t.settings.removeAlbumVersion,null)>-1:t.settings.removeAlbumVersion},on:{change:function(e){var n=t.settings.removeAlbumVersion,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"removeAlbumVersion",n.concat([null])):r>-1&&t.$set(t.settings,"removeAlbumVersion",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"removeAlbumVersion",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.removeAlbumVersion")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.removeDuplicateArtists,expression:"settings.removeDuplicateArtists"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.removeDuplicateArtists)?t._i(t.settings.removeDuplicateArtists,null)>-1:t.settings.removeDuplicateArtists},on:{change:function(e){var n=t.settings.removeDuplicateArtists,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"removeDuplicateArtists",n.concat([null])):r>-1&&t.$set(t.settings,"removeDuplicateArtists",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"removeDuplicateArtists",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.removeDuplicateArtists")))])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.dateFormat.title")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.dateFormat,expression:"settings.dateFormat"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"dateFormat",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"Y-M-D"}},[t._v(t._s(t.$t("settings.other.dateFormat.year")+"-"+t.$t("settings.other.dateFormat.month")+"-"+t.$t("settings.other.dateFormat.day")))]),t._v(" "),n("option",{attrs:{value:"Y-D-M"}},[t._v(t._s(t.$t("settings.other.dateFormat.year")+"-"+t.$t("settings.other.dateFormat.day")+"-"+t.$t("settings.other.dateFormat.month")))]),t._v(" "),n("option",{attrs:{value:"D-M-Y"}},[t._v(t._s(t.$t("settings.other.dateFormat.day")+"-"+t.$t("settings.other.dateFormat.month")+"-"+t.$t("settings.other.dateFormat.year")))]),t._v(" "),n("option",{attrs:{value:"M-D-Y"}},[t._v(t._s(t.$t("settings.other.dateFormat.month")+"-"+t.$t("settings.other.dateFormat.day")+"-"+t.$t("settings.other.dateFormat.year")))]),t._v(" "),n("option",{attrs:{value:"Y"}},[t._v(t._s(t.$t("settings.other.dateFormat.year")))])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.featuredToTitle.title")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.featuredToTitle,expression:"settings.featuredToTitle"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"featuredToTitle",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"0"}},[t._v(t._s(t.$t("settings.other.featuredToTitle.0")))]),t._v(" "),n("option",{attrs:{value:"1"}},[t._v(t._s(t.$t("settings.other.featuredToTitle.1")))]),t._v(" "),n("option",{attrs:{value:"3"}},[t._v(t._s(t.$t("settings.other.featuredToTitle.3")))]),t._v(" "),n("option",{attrs:{value:"2"}},[t._v(t._s(t.$t("settings.other.featuredToTitle.2")))])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.titleCasing")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.titleCasing,expression:"settings.titleCasing"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"titleCasing",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"nothing"}},[t._v(t._s(t.$t("settings.other.casing.nothing")))]),t._v(" "),n("option",{attrs:{value:"lower"}},[t._v(t._s(t.$t("settings.other.casing.lower")))]),t._v(" "),n("option",{attrs:{value:"upper"}},[t._v(t._s(t.$t("settings.other.casing.upper")))]),t._v(" "),n("option",{attrs:{value:"start"}},[t._v(t._s(t.$t("settings.other.casing.start")))]),t._v(" "),n("option",{attrs:{value:"sentence"}},[t._v(t._s(t.$t("settings.other.casing.sentence")))])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.artistCasing")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.artistCasing,expression:"settings.artistCasing"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"artistCasing",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"nothing"}},[t._v(t._s(t.$t("settings.other.casing.nothing")))]),t._v(" "),n("option",{attrs:{value:"lower"}},[t._v(t._s(t.$t("settings.other.casing.lower")))]),t._v(" "),n("option",{attrs:{value:"upper"}},[t._v(t._s(t.$t("settings.other.casing.upper")))]),t._v(" "),n("option",{attrs:{value:"start"}},[t._v(t._s(t.$t("settings.other.casing.start")))]),t._v(" "),n("option",{attrs:{value:"sentence"}},[t._v(t._s(t.$t("settings.other.casing.sentence")))])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.previewVolume")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.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:t.previewVolume.preview_max_volume},on:{change:t.updateMaxVolume,__r:function(e){t.$set(t.previewVolume,"preview_max_volume",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),n("span",[t._v(t._s(t.previewVolume.preview_max_volume)+"%")])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.executeCommand.title")))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(t.$t("settings.other.executeCommand.description")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.executeCommand,expression:"settings.executeCommand"}],attrs:{type:"text"},domProps:{value:t.settings.executeCommand},on:{input:function(e){e.target.composing||t.$set(t.settings,"executeCommand",e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("svg",{attrs:{id:"spotify_icon","enable-background":"new 0 0 24 24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[n("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"}})]),t._v("\n\t\t\t"+t._s(t.$t("settings.spotify.title"))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.spotify.clientID")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.spotifyFeatures.clientId,expression:"spotifyFeatures.clientId"}],attrs:{type:"text"},domProps:{value:t.spotifyFeatures.clientId},on:{input:function(e){e.target.composing||t.$set(t.spotifyFeatures,"clientId",e.target.value)}}})]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.spotify.clientSecret")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.spotifyFeatures.clientSecret,expression:"spotifyFeatures.clientSecret"}],attrs:{type:"password"},domProps:{value:t.spotifyFeatures.clientSecret},on:{input:function(e){e.target.composing||t.$set(t.spotifyFeatures,"clientSecret",e.target.value)}}})]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.spotify.username")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.spotifyUser,expression:"spotifyUser"}],attrs:{type:"text"},domProps:{value:t.spotifyUser},on:{input:function(e){e.target.composing||(t.spotifyUser=e.target.value)}}})])]),t._v(" "),n("footer",[n("button",{on:{click:t.resetSettings}},[t._v(t._s(t.$t("settings.reset")))]),t._v(" "),n("button",{on:{click:t.saveSettings}},[t._v(t._s(t.$t("settings.save")))])])])};fu._withStripped=!0;var hu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheSettingsTab.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:fu,staticRenderFns:[]},(function(t){t&&t("data-v-34672627_0",{source:".locale-flag {\n width: 60px;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.locale-flag:not(:last-child) {\n margin-right: 10px;\n}\n.locale-flag.locale-flag--current svg {\n filter: brightness(1);\n}\n.locale-flag svg {\n width: 40px;\n height: 40px;\n filter: brightness(0.5);\n}\n\n/*# sourceMappingURL=TheSettingsTab.vue.map */",map:{version:3,sources:["/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheSettingsTab.vue","TheSettingsTab.vue"],names:[],mappings:"AAojBA;EACA,WAAA;EACA,oBAAA;EACA,uBAAA;EACA,mBAAA;EACA,eAAA;AAAA;AALA;IAQA,kBAAA;AAAA;AARA;IAaA,qBAAA;AAAA;AAbA;IAkBA,WAAA;IACA,YAAA;IACA,uBAAA;AAAA;;ACzjBA,6CAA6C",file:"TheSettingsTab.vue",sourcesContent:[null,".locale-flag {\n width: 60px;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n cursor: pointer; }\n .locale-flag:not(:last-child) {\n margin-right: 10px; }\n .locale-flag.locale-flag--current svg {\n filter: brightness(1); }\n .locale-flag svg {\n width: 40px;\n height: 40px;\n filter: brightness(0.5); }\n\n/*# sourceMappingURL=TheSettingsTab.vue.map */"]},media:void 0})}),pu,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const vu={props:{text:{type:String,required:!1,default:"Loading..."},id:{type:String,required:!1},hidden:{type:Boolean,required:!1,default:!1}}};var mu=function(t,e){var n=e._c;return n("div",{staticClass:"loading_placeholder",class:{"loading_placeholder--hidden":e.props.hidden},attrs:{id:e.props.id}},[n("span",{staticClass:"loading_placeholder__text"},[e._v(e._s(e.props.text))]),e._v(" "),e._m(0)])};mu._withStripped=!0;var gu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/BaseLoadingPlaceholder.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a,l}({render:mu,staticRenderFns:[function(t,e){var n=e._c;return n("div",{staticClass:"lds-ring"},[n("div"),e._v(" "),n("div"),e._v(" "),n("div"),e._v(" "),n("div")])}]},0,vu,void 0,!0);const _u={name:"the-main-search-tab",components:{BaseLoadingPlaceholder:gu},data:()=>({results:{query:"",allTab:{ORDER:[],TOP_RESULT:[],ALBUM:{},ARTIST:{},TRACK:{},PLAYLIST:{}},trackTab:{data:[],next:0,total:0,loaded:!1},albumTab:{data:[],next:0,total:0,loaded:!1},artistTab:{data:[],next:0,total:0,loaded:!1},playlistTab:{data:[],next:0,total:0,loaded:!1}}}),props:{scrolledSearchType:{type:String,required:!1}},mounted(){eo.$on("mainSearch:checkLoadMoreContent",this.checkLoadMoreContent),this.$root.$on("mainSearch:showNewResults",this.showNewResults),to.on("mainSearch",this.handleMainSearch),to.on("search",this.handleSearch)},methods:{artistView:no.bind(null,"artist"),albumView:no.bind(null,"album"),playlistView:no.bind(null,"playlist"),playPausePreview(t){eo.$emit("trackPreview:playPausePreview",t)},previewMouseEnter(t){eo.$emit("trackPreview:previewMouseEnter",t)},previewMouseLeave(t){eo.$emit("trackPreview:previewMouseLeave",t)},handleSearchTabClick(t){const{target:e,target:{id:n}}=t;let a=null;switch(n){case"search_all_tab":a="main_search";break;case"search_track_tab":a="track_search";break;case"search_album_tab":a="album_search";break;case"search_artist_tab":a="artist_search";break;case"search_playlist_tab":a="playlist_search"}a&&ao(e,"search",a)},handleClickTopResult(t){switch(this.results.allTab.TOP_RESULT[0].type){case"artist":this.artistView(t);break;case"album":this.albumView(t);break;case"playlist":this.playlistView(t)}},showNewResults(t,e){t!==this.results.query||"search_tab"==e?(document.getElementById("search_tab_content").style.display="none",to.emit("mainSearch",{term:t}),document.getElementById("content").style.display="none",document.getElementById("search_placeholder").classList.toggle("loading_placeholder--hidden")):(document.getElementById("search_tab_content").style.display="block",document.getElementById("main_search_tablink").click())},checkLoadMoreContent(t){0===this.results[t.split("_")[0]+"Tab"].data.length&&this.search(t.split("_")[0])},changeSearchTab(t){if("TOP_RESULT"===t)return;let e;switch(t){case"TRACK":e="search_track_tab";break;case"ALBUM":e="search_album_tab";break;case"ARTIST":e="search_artist_tab";break;case"PLAYLIST":e="search_playlist_tab"}document.getElementById(e).click()},addToQueue(t){Lc.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},numberWithDots:jc.numberWithDots,convertDuration:jc.convertDuration,search(t){to.emit("search",{term:this.results.query,type:t,start:this.results[t+"Tab"].next,nb:30})},scrolledSearch(t){let e=t+"Tab";this.results[e].next<this.results[e].total&&to.emit("search",{term:this.results.query,type:t,start:this.results[e].next,nb:30})},handleMainSearch(t){document.getElementById("content").style.display="",document.getElementById("search_placeholder").classList.toggle("loading_placeholder--hidden");let e={data:[],next:0,total:0,loaded:!1};this.results.allTab=t,this.results.trackTab={...e},this.results.albumTab={...e},this.results.artistTab={...e},this.results.playlistTab={...e},""==this.results.query&&document.getElementById("search_all_tab").click(),this.results.query=t.QUERY,document.getElementById("search_tab_content").style.display="block",document.getElementById("main_search_tablink").click()},handleSearch(t){const{next:e,total:n,type:a,data:i}=t;let r=a+"Tab",s=0;s=e?parseInt(e.match(/index=(\d*)/)[1]):n,this.results[r].total!=n&&(this.results[r].total=n),this.results[r].next!=s&&(this.results[r].next=s,this.results[r].data=this.results[r].data.concat(i)),this.results[r].loaded=!0}},watch:{scrolledSearchType(t){t&&this.scrolledSearch(t)}}};var yu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main_tabcontent",attrs:{id:"search_tab"},on:{click:t.handleSearchTabClick}},[n("div",{class:{hide:""!=t.results.query}},[n("h2",[t._v(t._s(t.$t("search.startSearching")))]),t._v(" "),n("p",[t._v(t._s(t.$t("search.description")))])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:""!==t.results.query,expression:"results.query !== ''"}]},[n("ul",{staticClass:"section-tabs"},[n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_all_tab"}},[t._v(t._s(t.$t("globals.listTabs.all")))]),t._v(" "),n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_track_tab"}},[t._v(t._s(t.$tc("globals.listTabs.track",2)))]),t._v(" "),n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_album_tab"}},[t._v(t._s(t.$tc("globals.listTabs.album",2)))]),t._v(" "),n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_artist_tab"}},[t._v(t._s(t.$tc("globals.listTabs.artist",2)))]),t._v(" "),n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_playlist_tab"}},[t._v(t._s(t.$tc("globals.listTabs.playlist",2)))])]),t._v(" "),n("div",{attrs:{id:"search_tab_content"}},[n("div",{staticClass:"search_tabcontent",attrs:{id:"main_search"}},[t._l(t.results.allTab.ORDER,(function(e){return["TOP_RESULT"!=e&&t.results.allTab[e].data.length>0||t.results.allTab[e].length>0?n("section",{staticClass:"search_section"},[n("h2",{staticClass:"search_header",class:{top_result_header:"TOP_RESULT"===e},on:{click:function(n){return t.changeSearchTab(e)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$tc("globals.listTabs."+e.toLowerCase(),2))+"\n\t\t\t\t\t\t")]),t._v(" "),"TOP_RESULT"==e?n("div",{staticClass:"top_result clickable",attrs:{"data-id":t.results.allTab.TOP_RESULT[0].id},on:{click:t.handleClickTopResult}},[n("div",{staticClass:"cover_container"},[n("img",{class:("artist"==t.results.allTab.TOP_RESULT[0].type?"circle":"rounded")+" coverart",attrs:{"aria-hidden":"true",src:t.results.allTab.TOP_RESULT[0].picture}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.results.allTab.TOP_RESULT[0].link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("div",{staticClass:"info_box"},[n("p",{staticClass:"primary-text"},[t._v(t._s(t.results.allTab.TOP_RESULT[0].title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s("artist"==t.results.allTab.TOP_RESULT[0].type?t.$t("search.fans",[t.$n(t.results.allTab.TOP_RESULT[0].nb_fan)]):t.$t("globals.by",[t.results.allTab.TOP_RESULT[0].artist])+" - "+t.$tc("globals.listTabs.trackN",t.results.allTab.TOP_RESULT[0].nb_song))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("span",{staticClass:"tag"},[t._v(t._s(t.$tc("globals.listTabs."+t.results.allTab.TOP_RESULT[0].type,1)))])])]):"TRACK"==e?n("div",[n("table",{staticClass:"table table--tracks"},[n("tbody",t._l(t.results.allTab.TRACK.data.slice(0,6),(function(e){return n("tr",[n("td",{staticClass:"table__icon",attrs:{"aria-hidden":"true"}},[n("img",{staticClass:"rounded coverart",attrs:{src:"https://e-cdns-images.dzcdn.net/images/cover/"+e.ALB_PICTURE+"/32x32-000000-80-0-0.jpg"}})]),t._v(" "),n("td",{staticClass:"table__cell table__cell--large breakline"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[1==e.EXPLICIT_LYRICS?n("i",{staticClass:"material-icons explicit_icon"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\texplicit\n\t\t\t\t\t\t\t\t\t\t\t\t")]):t._e(),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.SNG_TITLE+(e.VERSION?" "+e.VERSION:""))+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),n("td",{staticClass:"table__cell table__cell--medium table__cell--center breakline"},t._l(e.ARTISTS,(function(e){return n("span",{staticClass:"clickable",attrs:{"data-id":e.ART_ID},on:{click:t.artistView}},[t._v(t._s(e.ART_NAME)+"\n\t\t\t\t\t\t\t\t\t\t\t")])})),0),t._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.ALB_ID},on:{click:t.albumView}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.ALB_TITLE)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell table__cell--center"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.convertDuration(e.DURATION))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--download table__cell--center clickable",attrs:{"data-link":"https://www.deezer.com/track/"+e.SNG_ID,role:"button","aria-label":"download"},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tget_app\n\t\t\t\t\t\t\t\t\t\t\t")])])])})),0)])]):"ARTIST"==e?n("div",{staticClass:"release_grid firstrow_only"},t._l(t.results.allTab.ARTIST.data.slice(0,10),(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.ART_ID},on:{click:t.artistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"circle coverart",attrs:{"aria-hidden":"true",src:"https://e-cdns-images.dzcdn.net/images/artist/"+e.ART_PICTURE+"/156x156-000000-80-0-0.jpg"}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":"https://deezer.com/artist/"+e.ART_ID},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.ART_NAME))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(t.$t("search.fans",[t.$n(e.NB_FAN)])))])])})),0):"ALBUM"==e?n("div",{staticClass:"release_grid firstrow_only"},t._l(t.results.allTab.ALBUM.data.slice(0,10),(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.ALB_ID},on:{click:t.albumView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:"https://e-cdns-images.dzcdn.net/images/cover/"+e.ALB_PICTURE+"/156x156-000000-80-0-0.jpg"}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":"https://deezer.com/album/"+e.ALB_ID},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text inline-flex"},[-1!=[1,4].indexOf(e.EXPLICIT_ALBUM_CONTENT.EXPLICIT_LYRICS_STATUS)?n("i",{staticClass:"material-icons explicit_icon"},[t._v("explicit")]):t._e(),t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.ALB_TITLE)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(e.ART_NAME+" - "+t.$tc("globals.listTabs.trackN",e.NUMBER_TRACK)))])])})),0):"PLAYLIST"==e?n("div",{staticClass:"release_grid firstrow_only"},t._l(t.results.allTab.PLAYLIST.data.slice(0,10),(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.PLAYLIST_ID},on:{click:t.playlistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:"https://e-cdns-images.dzcdn.net/images/"+e.PICTURE_TYPE+"/"+e.PLAYLIST_PICTURE+"/156x156-000000-80-0-0.jpg"}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":"https://deezer.com/playlist/"+e.PLAYLIST_ID},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.TITLE))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(t.$tc("globals.listTabs.trackN",e.NB_SONG)))])])})),0):t._e()]):t._e()]})),t._v(" "),t.results.allTab.ORDER.every((function(e){return"TOP_RESULT"==e?0==t.results.allTab[e].length:0==t.results.allTab[e].data.length}))?n("div",[n("h1",[t._v(t._s(t.$t("search.noResults")))])]):t._e()],2),t._v(" "),n("div",{staticClass:"search_tabcontent",attrs:{id:"track_search"}},[t.results.trackTab.loaded?0==t.results.trackTab.data.length?n("div",[n("h1",[t._v(t._s(t.$t("search.noResultsTrack")))])]):t._e():n("base-loading-placeholder"),t._v(" "),t.results.trackTab.data.length>0?n("table",{staticClass:"table table--tracks"},[n("thead",[n("tr",[n("th",{attrs:{colspan:"2"}},[t._v(t._s(t.$tc("globals.listTabs.title",1)))]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.artist",1)))]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.album",1)))]),t._v(" "),t._m(0),t._v(" "),n("th",{staticStyle:{width:"56px"}})])]),t._v(" "),n("tbody",t._l(t.results.trackTab.data,(function(e){return n("tr",[n("td",{staticClass:"table__icon table__icon--big"},[n("a",{class:"rounded"+(e.preview?" single-cover":""),attrs:{href:"#","data-preview":e.preview},on:{click:t.playPausePreview}},[e.preview?n("i",{staticClass:"material-icons preview_controls",on:{mouseenter:t.previewMouseEnter,mouseleave:t.previewMouseLeave}},[t._v("\n\t\t\t\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),n("img",{staticClass:"rounded coverart",attrs:{src:e.album.cover_small}})])]),t._v(" "),n("td",{staticClass:"table__cell table__cell--large breakline"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[e.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[t._v("\n\t\t\t\t\t\t\t\t\t\texplicit\n\t\t\t\t\t\t\t\t\t")]):t._e(),t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.title+(e.title_version&&-1==e.title.indexOf(e.title_version)?" "+e.title_version:""))+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),n("td",{staticClass:"table__cell table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.artist.id},on:{click:t.artistView}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.artist.name)+"\n\t\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.album.id},on:{click:t.albumView}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.album.title)+"\n\t\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell table__cell--small table__cell--center"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.convertDuration(e.duration))+"\n\t\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--download table__cell--center clickable",attrs:{"data-link":e.link,role:"button","aria-label":"download"},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("\n\t\t\t\t\t\t\t\t\tget_app\n\t\t\t\t\t\t\t\t")])])])})),0)]):t._e()],1),t._v(" "),n("div",{staticClass:"search_tabcontent",attrs:{id:"album_search"}},[t.results.albumTab.loaded?0==t.results.albumTab.data.length?n("div",[n("h1",[t._v(t._s(t.$t("search.noResultsAlbum")))])]):t._e():n("base-loading-placeholder"),t._v(" "),t.results.albumTab.data.length>0?n("div",{staticClass:"release_grid"},t._l(t.results.albumTab.data,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.albumView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.cover_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text inline-flex"},[e.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[t._v("explicit")]):t._e(),t._v("\n\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(t.$t("globals.by",[e.artist.name])+" - "+t.$tc("globals.listTabs.trackN",e.nb_tracks)))])])})),0):t._e()],1),t._v(" "),n("div",{staticClass:"search_tabcontent",attrs:{id:"artist_search"}},[t.results.artistTab.loaded?0==t.results.artistTab.data.length?n("div",[n("h1",[t._v(t._s(t.$t("search.noResultsArtist")))])]):t._e():n("base-loading-placeholder"),t._v(" "),t.results.artistTab.data.length>0?n("div",{staticClass:"release_grid"},t._l(t.results.artistTab.data,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.artistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"circle coverart",attrs:{"aria-hidden":"true",src:e.picture_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.name))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(t.$tc("globals.listTabs.releaseN",e.nb_album)))])])})),0):t._e()],1),t._v(" "),n("div",{staticClass:"search_tabcontent",attrs:{id:"playlist_search"}},[t.results.playlistTab.loaded?0==t.results.playlistTab.data.length?n("div",[n("h1",[t._v(t._s(t.$t("search.noResultsPlaylist")))])]):t._e():n("base-loading-placeholder"),t._v(" "),t.results.playlistTab.data.length>0?n("div",{staticClass:"release_grid"},t._l(t.results.playlistTab.data,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.playlistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.picture_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons"},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("globals.by",[e.user.name])+" - "+t.$tc("globals.listTabs.trackN",e.nb_tracks))+"\n\t\t\t\t\t\t")])])})),0):t._e()],1)])])])};yu._withStripped=!0;const bu={components:{ArtistTab:Fc,TheChartsTab:Uc,TheFavoritesTab:Zc,TheErrorsTab:nu,TheHomeTab:ru,TheLinkAnalyzerTab:lu,TheAboutTab:uu,TheSettingsTab:hu,TheMainSearch:function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheMainSearch.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:yu,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("i",{staticClass:"material-icons"},[this._v("\n\t\t\t\t\t\t\t\t\ttimer\n\t\t\t\t\t\t\t\t")])])}]},(function(t){t&&t("data-v-c52e166c_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheMainSearch.vue"},media:void 0})}),_u,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}})),TracklistTab:zc},data:()=>({newScrolled:null}),methods:{handleContentScroll:Mc((async function(){this.$refs.content.scrollTop+this.$refs.content.clientHeight<this.$refs.content.scrollHeight||"search_tab"===main_selected&&-1!==["track_search","album_search","artist_search","playlist_search"].indexOf(window.search_selected)&&(this.newScrolled=window.search_selected.split("_")[0],await this.$nextTick(),this.newScrolled=null)}),100)}};var wu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{ref:"content",attrs:{id:"content"},on:{scroll:t.handleContentScroll}},[n("div",{attrs:{id:"container"}},[n("ArtistTab"),t._v(" "),n("TheChartsTab"),t._v(" "),n("TheFavoritesTab"),t._v(" "),n("TheErrorsTab"),t._v(" "),n("TheHomeTab"),t._v(" "),n("TheLinkAnalyzerTab"),t._v(" "),n("TheAboutTab"),t._v(" "),n("TheSettingsTab"),t._v(" "),n("TheMainSearch",{attrs:{"scrolled-search-type":t.newScrolled}}),t._v(" "),n("TracklistTab")],1)])};wu._withStripped=!0;var ku=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheContent.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:wu,staticRenderFns:[]},(function(t){t&&t("data-v-ee6b9b76_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheContent.vue"},media:void 0})}),bu,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const xu={methods:{handleSearchBarKeyup(t){if(13!==t.keyCode)return;let e=this.$refs.searchbar.value;if(Oc(e))t.ctrlKey?this.$root.$emit("QualityModal:open",e):"analyzer_tab"===main_selected?(eo.$emit("linkAnalyzerTab:reset"),to.emit("analyzeLink",e)):Lc.sendAddToQueue(e);else{if(""===e)return;this.$root.$emit("mainSearch:showNewResults",e,main_selected)}}}};var Cu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("header",{attrs:{id:"search"}},[t._m(0),t._v(" "),n("input",{ref:"searchbar",attrs:{id:"searchbar",autocomplete:"off",type:"search",name:"searchbar",value:"",placeholder:t.$t("searchbar"),autofocus:""},on:{keyup:function(e){return t.handleSearchBarKeyup(e)}}})])};Cu._withStripped=!0;const Au={components:{TheContent:ku,TheSearchBar:function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheSearchBar.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Cu,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"search__icon"},[e("i",{staticClass:"material-icons"},[this._v("search")])])}]},(function(t){t&&t("data-v-2d25a1ce_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheSearchBar.vue"},media:void 0})}),xu,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}})),BaseLoadingPlaceholder:gu}};var Tu=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"middle_section"}},[e("TheSearchBar"),this._v(" "),e("TheContent"),this._v(" "),e("BaseLoadingPlaceholder",{attrs:{id:"search_placeholder",text:"Searching...",hidden:!0}})],1)};Tu._withStripped=!0;var $u=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheMiddleSection.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Tu,staticRenderFns:[]},(function(t){t&&t("data-v-f99db1a8_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheMiddleSection.vue"},media:void 0})}),Au,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const Su={data:()=>({cachedTabWidth:parseInt(localStorage.getItem("downloadTabWidth"))||300,queue:[],queueList:{},queueComplete:[]}),mounted(){to.on("startDownload",this.startDownload),to.on("init_downloadQueue",this.initQueue),to.on("addedToQueue",this.addToQueue),to.on("updateQueue",this.updateQueue),to.on("removedFromQueue",this.removeFromQueue),to.on("finishDownload",this.finishDownload),to.on("removedAllDownloads",this.removeAllDownloads),to.on("removedFinishedDownloads",this.removedFinishedDownloads),"true"===localStorage.getItem("slimDownloads")&&this.$refs.list.classList.add("slim"),"true"===localStorage.getItem("downloadTabOpen")&&(this.$refs.container.classList.remove("tab_hidden"),this.setTabWidth(this.cachedTabWidth)),document.addEventListener("mouseup",()=>{document.removeEventListener("mousemove",this.handleDrag)}),window.addEventListener("beforeunload",()=>{localStorage.setItem("downloadTabWidth",this.cachedTabWidth)})},methods:{setTabWidth(t){void 0===t?(this.$refs.container.style.width="",this.$refs.list.style.width=""):(this.$refs.container.style.width=t+"px",this.$refs.list.style.width=t+"px")},handleListClick(t){const{target:e}=t;if(!e.matches(".queue_icon[data-uuid]"))return;let n=e.innerText,a=Gc(e).data("uuid");switch(n){case"remove":to.emit("removeFromQueue",a)}},initQueue(t){const{queue:e,queueComplete:n,currentItem:a,queueList:i}=t;n.length&&n.forEach(t=>{i[t].init=!0,this.addToQueue(i[t])}),a&&(i[a].init=!0,this.addToQueue(i[a],!0)),e.forEach(t=>{i[t].init=!0,this.addToQueue(i[t])})},addToQueue(t,e=!1){this.queueList[t.uuid]=t,t.downloaded+t.failed==t.size?-1==this.queueComplete.indexOf(t.uuid)&&this.queueComplete.push(t.uuid):-1==this.queue.indexOf(t.uuid)&&this.queue.push(t.uuid);let n=document.getElementById("download_"+t.uuid);if(void 0!==n&&null!=n||Gc(this.$refs.list).append(`<div class="download_object" id="download_${t.uuid}" data-deezerid="${t.id}">\n\t\t\t\t\t\t<div class="download_info">\n\t\t\t\t\t\t\t<img width="75px" class="rounded coverart" src="${t.cover}" alt="Cover ${t.title}"/>\n\t\t\t\t\t\t\t<div class="download_info_data">\n\t\t\t\t\t\t\t\t<span class="download_line">${t.title}</span> <span class="download_slim_separator"> - </span>\n\t\t\t\t\t\t\t\t<span class="secondary-text">${t.artist}</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="download_info_status">\n\t\t\t\t\t\t\t\t<span class="download_line"><span class="queue_downloaded">${t.downloaded+t.failed}</span>/${t.size}</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="download_bar">\n\t\t\t\t\t\t\t<div class="progress"><div id="bar_${t.uuid}" class="indeterminate"></div></div>\n\t\t\t\t\t\t\t<i class="material-icons queue_icon" data-uuid="${t.uuid}">remove</i>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>`),(t.progress>0||e)&&this.startDownload(t.uuid),Gc("#bar_"+t.uuid).css("width",t.progress+"%"),t.failed>=1&&0==Gc("#download_"+t.uuid+" .queue_failed").length&&Gc("#download_"+t.uuid+" .download_info_status").append(`<span class="secondary-text inline-flex"><span class="download_slim_separator">(</span><span class="queue_failed_button inline-flex"><span class="queue_failed">${t.failed}</span><i class="material-icons">error_outline</i></span><span class="download_slim_separator">)</span></span>`),t.downloaded+t.failed==t.size){let e=Gc("#download_"+t.uuid).find(".queue_icon");if(0==t.failed)e.text("done");else{let n=Gc("#download_"+t.uuid).find(".queue_failed_button");e.addClass("clickable"),n.addClass("clickable"),e.bind("click",{item:t},this.showErrorsTab),n.bind("click",{item:t},this.showErrorsTab),t.failed>=t.size?e.text("error"):e.text("warning")}}t.init||Yc(this.$t("toasts.addedToQueue",[t.title]),"playlist_add_check")},updateQueue(t){const{uuid:e,downloaded:n,failed:a,progress:i,error:r,data:s,errid:o}=t;e&&this.queue.indexOf(e)>-1&&(n&&(this.queueList[e].downloaded++,Gc("#download_"+e+" .queue_downloaded").text(this.queueList[e].downloaded+this.queueList[e].failed)),a&&(this.queueList[e].failed++,Gc("#download_"+e+" .queue_downloaded").text(this.queueList[e].downloaded+this.queueList[e].failed),1==this.queueList[e].failed&&0==Gc("#download_"+e+" .queue_failed").length?Gc("#download_"+e+" .download_info_status").append('<span class="secondary-text inline-flex"><span class="download_slim_separator">(</span><span class="queue_failed_button inline-flex"><span class="queue_failed">1</span> <i class="material-icons">error_outline</i></span><span class="download_slim_separator">)</span></span>'):Gc("#download_"+e+" .queue_failed").text(this.queueList[e].failed),this.queueList[e].errors.push({message:r,data:s,errid:o})),i&&(this.queueList[e].progress=i,Gc("#bar_"+e).css("width",i+"%")))},removeFromQueue(t){let e=this.queue.indexOf(t);e>-1&&(this.queue.splice(e,1),Gc("#download_"+this.queueList[t].uuid).remove(),delete this.queueList[t])},removeAllDownloads(t){if(this.queueComplete=[],""==t)this.queue=[],this.queueList={},Gc(listEl).html("");else{this.queue=[t];let e=this.queueList[t];this.queueList={},this.queueList[t]=e,Gc(".download_object").each((function(e){Gc(this).attr("id")!="download_"+t&&Gc(this).remove()}))}},removedFinishedDownloads(){this.queueComplete.forEach(t=>{Gc("#download_"+t).remove()}),this.queueComplete=[]},toggleDownloadTab(t){this.setTabWidth(),this.$refs.container.style.transition="all 250ms ease-in-out";let e=this.$refs.container.classList.toggle("tab_hidden");e||this.setTabWidth(this.cachedTabWidth),localStorage.setItem("downloadTabOpen",!e)},cleanQueue(){to.emit("removeFinishedDownloads")},cancelQueue(){to.emit("cancelAllDownloads")},finishDownload(t){if(this.queue.indexOf(t)>-1){Yc(this.$t("toasts.finishDownload",[this.queueList[t].title]),"done"),Gc("#bar_"+t).css("width","100%");let e=Gc("#download_"+t).find(".queue_icon");if(0==this.queueList[t].failed)e.text("done");else{let n=Gc("#download_"+t).find(".queue_failed_button");e.addClass("clickable"),n.addClass("clickable"),e.bind("click",{item:this.queueList[t]},this.showErrorsTab),n.bind("click",{item:this.queueList[t]},this.showErrorsTab),this.queueList[t].failed>=this.queueList[t].size?e.text("error"):e.text("warning")}let n=this.queue.indexOf(t);n>-1&&(this.queue.splice(n,1),this.queueComplete.push(t)),this.queue.length<=0&&Yc(this.$t("toasts.allDownloaded"),"done_all")}},openDownloadsFolder(){window.clientMode&&to.emit("openDownloadsFolder")},handleDrag(t){let e=window.innerWidth-t.pageX+2;e<250?e=250:e>500&&(e=500),this.cachedTabWidth=e,this.setTabWidth(e)},startDrag(){document.addEventListener("mousemove",this.handleDrag)},startDownload(t){Gc("#bar_"+t).removeClass("indeterminate").addClass("determinate")},showErrorsTab(t){this.$root.$emit("showTabErrors",t.data.item,t.target)}}};var Nu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"container",staticClass:"tab_hidden",attrs:{id:"download_tab_container","data-label":t.$t("downloads")},on:{transitionend:function(e){t.$refs.container.style.transition=""}}},[n("div",{ref:"dragHandler",attrs:{id:"download_tab_drag_handler"},on:{mousedown:function(e){return e.preventDefault(),t.startDrag(e)}}}),t._v(" "),n("i",{ref:"toggler",staticClass:"material-icons download_bar_icon",attrs:{id:"toggle_download_tab"},on:{click:function(e){return e.preventDefault(),t.toggleDownloadTab(e)}}}),t._v(" "),n("div",{attrs:{id:"queue_buttons"}},[n("i",{staticClass:"material-icons download_bar_icon hide",attrs:{id:"open_downloads_folder"},on:{click:t.openDownloadsFolder}},[t._v("\n\t\t\tfolder_open\n\t\t")]),t._v(" "),n("i",{staticClass:"material-icons download_bar_icon",attrs:{id:"clean_queue"},on:{click:t.cleanQueue}},[t._v("clear_all")]),t._v(" "),n("i",{staticClass:"material-icons download_bar_icon",attrs:{id:"cancel_queue"},on:{click:t.cancelQueue}},[t._v("delete_sweep")])]),t._v(" "),n("div",{ref:"list",attrs:{id:"download_list"},on:{click:t.handleListClick}})])};Nu._withStripped=!0;const Du={components:{TheMiddleSection:$u,TheDownloadTab:function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheDownloadTab.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Nu,staticRenderFns:[]},(function(t){t&&t("data-v-d8551b9a_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheDownloadTab.vue"},media:void 0})}),Su,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}))}};var Eu=function(){var t=this.$createElement,e=this._self._c||t;return e("main",{attrs:{id:"main_content"}},[e("TheMiddleSection"),this._v(" "),e("TheDownloadTab")],1)};Eu._withStripped=!0;var Lu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheMainContent.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Eu,staticRenderFns:[]},(function(t){t&&t("data-v-0fdd7c5c_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheMainContent.vue"},media:void 0})}),Du,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const Pu={data:()=>({previewStopped:!1}),mounted(){this.$refs.preview.volume=1,eo.$on("trackPreview:playPausePreview",this.playPausePreview),eo.$on("trackPreview:stopStackedTabsPreview",this.stopStackedTabsPreview),eo.$on("trackPreview:previewMouseEnter",this.previewMouseEnter),eo.$on("trackPreview:previewMouseLeave",this.previewMouseLeave)},methods:{async onCanPlay(){await this.$refs.preview.play(),this.previewStopped=!1,Gc(this.$refs.preview).animate({volume:vol.preview_max_volume/100},500)},onTimeUpdate(){isNaN(this.$refs.preview.duration)||this.$refs.preview.currentTime<=this.$refs.preview.duration-1||(Gc(this.$refs.preview).animate({volume:0},800),this.previewStopped=!0,Gc("a[playing] > .preview_controls").css({opacity:0}),Gc("*").removeAttr("playing"),Gc(".preview_controls").text("play_arrow"),Gc(".preview_playlist_controls").text("play_arrow"))},playPausePreview(t){t.preventDefault();const{currentTarget:e}=event;var n="I"==e.tagName?Gc(e):Gc(e).children("i");Gc(e).attr("playing")?this.$refs.preview.paused?(this.$refs.preview.play(),this.previewStopped=!1,n.text("pause"),Gc(this.$refs.preview).animate({volume:vol.preview_max_volume/100},500)):(this.previewStopped=!0,n.text("play_arrow"),Gc(this.$refs.preview).animate({volume:0},250,"swing",()=>{this.$refs.preview.pause()})):(Gc("*").removeAttr("playing"),Gc(e).attr("playing",!0),Gc(".preview_controls").text("play_arrow"),Gc(".preview_playlist_controls").text("play_arrow"),Gc(".preview_controls").css({opacity:0}),n.text("pause"),n.css({opacity:1}),this.previewStopped=!1,Gc(this.$refs.preview).animate({volume:0},250,"swing",()=>{this.$refs.preview.pause(),Gc("#preview-track_source").prop("src",Gc(e).data("preview")),this.$refs.preview.load()}))},stopStackedTabsPreview(){Gc(".preview_playlist_controls").filter((function(){return Gc(this).attr("playing")})).length>0&&(Gc(this.$refs.preview).animate({volume:0},800),this.previewStopped=!0,Gc(".preview_playlist_controls").removeAttr("playing"),Gc(".preview_playlist_controls").text("play_arrow"))},previewMouseEnter(t){Gc(t.currentTarget).css({opacity:1})},previewMouseLeave(t){const{currentTarget:e}=t;(Gc(e).parent().attr("playing")&&this.previewStopped||!Gc(e).parent().attr("playing"))&&Gc(e).css({opacity:0},200)}}};var Iu=function(){var t=this.$createElement,e=this._self._c||t;return e("audio",{ref:"preview",attrs:{id:"preview-track"},on:{canplay:this.onCanPlay,timeupdate:this.onTimeUpdate}},[e("source",{attrs:{id:"preview-track_source",src:"",type:"audio/mpeg"}})])};Iu._withStripped=!0;var Fu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheTrackPreview.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Iu,staticRenderFns:[]},(function(t){t&&t("data-v-8f174056_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheTrackPreview.vue"},media:void 0})}),Pu,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const Ou={data:()=>({open:!1,url:""}),mounted(){this.$root.$on("QualityModal:open",this.openModal),this.$refs.modal.addEventListener("webkitAnimationEnd",this.handleAnimationEnd)},methods:{tryToDownloadTrack(t){const{target:e}=t;this.$refs.modal.classList.add("animated","fadeOut"),e.matches(".quality-button")&&Lc.sendAddToQueue(this.url,e.dataset.qualityValue)},openModal(t){this.url=t,this.open=!0,this.$refs.modal.classList.add("animated","fadeIn")},handleAnimationEnd(t){const{animationName:e}=t;this.$refs.modal.classList.remove("animated",e),"fadeIn"!==e&&(this.open=!1)}}};var Mu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],ref:"modal",staticClass:"smallmodal",attrs:{id:"modal_quality"},on:{click:function(e){return t.tryToDownloadTrack(e)}}},[n("div",{staticClass:"smallmodal-content"},[n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"9"}},[t._v(t._s(t.$t("globals.download",["FLAC"])))]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"3"}},[t._v(t._s(t.$t("globals.download",["MP3 320kbps"])))]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"1"}},[t._v(t._s(t.$t("globals.download",["MP3 128kbps"])))]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"15"}},[t._v("\n\t\t\t"+t._s(t.$t("globals.download",["360 Reality Audio [HQ]"]))+"\n\t\t")]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"14"}},[t._v("\n\t\t\t"+t._s(t.$t("globals.download",["360 Reality Audio [MQ]"]))+"\n\t\t")]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"13"}},[t._v("\n\t\t\t"+t._s(t.$t("globals.download",["360 Reality Audio [LQ]"]))+"\n\t\t")])])])};Mu._withStripped=!0;const ju={components:{TheSidebar:uo,TheMainContent:Lu,TheTrackPreview:Fu,TheQualityModal:function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheQualityModal.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Mu,staticRenderFns:[]},(function(t){t&&t("data-v-788426bc_0",{source:"\n.smallmodal {\n\tposition: fixed;\n\tz-index: 1250;\n\tleft: 0;\n\ttop: 0;\n\twidth: 100%;\n\theight: 100%;\n\toverflow: auto;\n\tbackground-color: hsla(0, 0%, 0%, 0.4);\n\tanimation-duration: 0.3s;\n}\n.smallmodal-content {\n\tbackground-color: transparent;\n\tmargin: auto;\n\twidth: var(--modal-content-width);\n\tposition: relative;\n\ttop: 50%;\n\ttransform: translateY(-50%);\n}\n.smallmodal-content button {\n\twidth: 100%;\n\tmargin-bottom: 8px;\n}\n",map:{version:3,sources:["/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheQualityModal.vue"],names:[],mappings:";AAmBA;CACA,eAAA;CACA,aAAA;CACA,OAAA;CACA,MAAA;CACA,WAAA;CACA,YAAA;CACA,cAAA;CACA,sCAAA;CACA,wBAAA;AACA;AAEA;CACA,6BAAA;CACA,YAAA;CACA,iCAAA;CACA,kBAAA;CACA,QAAA;CACA,2BAAA;AACA;AAEA;CACA,WAAA;CACA,kBAAA;AACA",file:"TheQualityModal.vue",sourcesContent:["<template>\n\t<div id=\"modal_quality\" class=\"smallmodal\" v-show=\"open\" @click=\"tryToDownloadTrack($event)\" ref=\"modal\">\n\t\t<div class=\"smallmodal-content\">\n\t\t\t<button class=\"quality-button\" data-quality-value=\"9\">{{ $t('globals.download', ['FLAC']) }}</button>\n\t\t\t<button class=\"quality-button\" data-quality-value=\"3\">{{ $t('globals.download', ['MP3 320kbps']) }}</button>\n\t\t\t<button class=\"quality-button\" data-quality-value=\"1\">{{ $t('globals.download', ['MP3 128kbps']) }}</button>\n\t\t\t<button class=\"quality-button\" data-quality-value=\"15\">\n\t\t\t\t{{ $t('globals.download', ['360 Reality Audio [HQ]']) }}\n\t\t\t</button>\n\t\t\t<button class=\"quality-button\" data-quality-value=\"14\">\n\t\t\t\t{{ $t('globals.download', ['360 Reality Audio [MQ]']) }}\n\t\t\t</button>\n\t\t\t<button class=\"quality-button\" data-quality-value=\"13\">\n\t\t\t\t{{ $t('globals.download', ['360 Reality Audio [LQ]']) }}\n\t\t\t</button>\n\t\t</div>\n\t</div>\n</template>\n<style>\n.smallmodal {\n\tposition: fixed;\n\tz-index: 1250;\n\tleft: 0;\n\ttop: 0;\n\twidth: 100%;\n\theight: 100%;\n\toverflow: auto;\n\tbackground-color: hsla(0, 0%, 0%, 0.4);\n\tanimation-duration: 0.3s;\n}\n\n.smallmodal-content {\n\tbackground-color: transparent;\n\tmargin: auto;\n\twidth: var(--modal-content-width);\n\tposition: relative;\n\ttop: 50%;\n\ttransform: translateY(-50%);\n}\n\n.smallmodal-content button {\n\twidth: 100%;\n\tmargin-bottom: 8px;\n}\n</style>\n<script>\nimport Downloads from '@/utils/downloads'\n\nexport default {\n\tdata: () => ({\n\t\topen: false,\n\t\turl: ''\n\t}),\n\tmounted() {\n\t\tthis.$root.$on('QualityModal:open', this.openModal)\n\n\t\tthis.$refs.modal.addEventListener('webkitAnimationEnd', this.handleAnimationEnd)\n\t},\n\tmethods: {\n\t\ttryToDownloadTrack(event) {\n\t\t\tconst { target } = event\n\n\t\t\tthis.$refs.modal.classList.add('animated', 'fadeOut')\n\n\t\t\t// If true, the click did not happen on a button but outside\n\t\t\tif (!target.matches('.quality-button')) return\n\n\t\t\tDownloads.sendAddToQueue(this.url, target.dataset.qualityValue)\n\t\t},\n\t\topenModal(link) {\n\t\t\tthis.url = link\n\t\t\tthis.open = true\n\t\t\tthis.$refs.modal.classList.add('animated', 'fadeIn')\n\t\t},\n\t\thandleAnimationEnd(event) {\n\t\t\tconst { animationName } = event\n\n\t\t\tthis.$refs.modal.classList.remove('animated', animationName)\n\n\t\t\tif (animationName === 'fadeIn') return\n\n\t\t\tthis.open = false\n\t\t}\n\t}\n}\n<\/script>\n"]},media:void 0})}),Ou,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}})),BaseLoadingPlaceholder:gu}};var Ru=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{height:"inherit"}},[e("BaseLoadingPlaceholder",{attrs:{id:"start_app_placeholder",text:"Connecting to the server..."}}),this._v(" "),e("TheSidebar"),this._v(" "),e("TheMainContent"),this._v(" "),e("TheTrackPreview"),this._v(" "),e("TheQualityModal")],1)};Ru._withStripped=!0;var Bu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/App.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Ru,staticRenderFns:[]},(function(t){t&&t("data-v-cb7c7144_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"App.vue"},media:void 0})}),ju,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,i){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const r=a?i.media||"default":t,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=i.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",i.media&&t.setAttribute("media",i.media),a&&(t.setAttribute("data-group",r),t.setAttribute("data-next-index","0")),e.appendChild(t)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}})),zu=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"];
/*!
* vue-i18n v8.18.2
* (c) 2020 kazuya kawaguchi
* Released under the MIT License.
*/function qu(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}var Hu=Array.isArray;function Uu(t){return null!==t&&"object"==typeof t}function Vu(t){return"string"==typeof t}var Wu=Object.prototype.toString;function Qu(t){return"[object Object]"===Wu.call(t)}function Gu(t){return null==t}function Ku(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=null,a=null;return 1===t.length?Uu(t[0])||Array.isArray(t[0])?a=t[0]:"string"==typeof t[0]&&(n=t[0]):2===t.length&&("string"==typeof t[0]&&(n=t[0]),(Uu(t[1])||Array.isArray(t[1]))&&(a=t[1])),{locale:n,params:a}}function Yu(t){return JSON.parse(JSON.stringify(t))}function Ju(t,e){return!!~t.indexOf(e)}var Xu=Object.prototype.hasOwnProperty;function Zu(t,e){return Xu.call(t,e)}function td(t){for(var e=arguments,n=Object(t),a=1;a<arguments.length;a++){var i=e[a];if(null!=i){var r=void 0;for(r in i)Zu(i,r)&&(Uu(i[r])?n[r]=td(n[r],i[r]):n[r]=i[r])}}return n}function ed(t,e){if(t===e)return!0;var n=Uu(t),a=Uu(e);if(!n||!a)return!n&&!a&&String(t)===String(e);try{var i=Array.isArray(t),r=Array.isArray(e);if(i&&r)return t.length===e.length&&t.every((function(t,n){return ed(t,e[n])}));if(i||r)return!1;var s=Object.keys(t),o=Object.keys(e);return s.length===o.length&&s.every((function(n){return ed(t[n],e[n])}))}catch(t){return!1}}var nd={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n){if(t.i18n instanceof Ed){if(t.__i18n)try{var e={};t.__i18n.forEach((function(t){e=td(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(t){}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Qu(t.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ed?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18n)try{var a={};t.__i18n.forEach((function(t){a=td(a,JSON.parse(t))})),t.i18n.messages=a}catch(t){}var i=t.i18n.sharedMessages;i&&Qu(i)&&(t.i18n.messages=td(t.i18n.messages,i)),this._i18n=new Ed(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ed?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Ed&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n?(t.i18n instanceof Ed||Qu(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ed||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Ed)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}},ad={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,a=e.parent,i=e.props,r=e.slots,s=a.$i18n;if(s){var o=i.path,l=i.locale,c=i.places,u=r(),d=s.i(o,l,function(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}(u)||c?function(t,e){var n=e?function(t){return Array.isArray(t)?t.reduce(rd,{}):Object.assign({},t)}(e):{};if(!t)return n;var a=(t=t.filter((function(t){return t.tag||""!==t.text.trim()}))).every(sd);return t.reduce(a?id:rd,n)}(u.default,c):u),p=i.tag&&!0!==i.tag||!1===i.tag?i.tag:"span";return p?t(p,n,d):d}}};function id(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function rd(t,e,n){return t[n]=e,t}function sd(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var od,ld={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,a=e.parent,i=e.data,r=a.$i18n;if(!r)return null;var s=null,o=null;Vu(n.format)?s=n.format:Uu(n.format)&&(n.format.key&&(s=n.format.key),o=Object.keys(n.format).reduce((function(t,e){var a;return Ju(zu,e)?Object.assign({},t,((a={})[e]=n.format[e],a)):t}),null));var l=n.locale||r.locale,c=r._ntp(n.value,l,s,o),u=c.map((function(t,e){var n,a=i.scopedSlots&&i.scopedSlots[t.type];return a?a(((n={})[t.type]=t.value,n.index=e,n.parts=c,n)):t.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?t(d,{attrs:i.attrs,class:i.class,staticClass:i.staticClass},u):u}};function cd(t,e,n){pd(t,n)&&fd(t,e,n)}function ud(t,e,n,a){if(pd(t,n)){var i=n.context.$i18n;(function(t,e){var n=e.context;return t._locale===n.$i18n.locale})(t,n)&&ed(e.value,e.oldValue)&&ed(t._localeMessage,i.getLocaleMessage(i.locale))||fd(t,e,n)}}function dd(t,e,n,a){if(n.context){var i=n.context.$i18n||{};e.modifiers.preserve||i.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}else qu("Vue instance does not exists in VNode context")}function pd(t,e){var n=e.context;return n?!!n.$i18n||(qu("VueI18n instance does not exists in Vue instance"),!1):(qu("Vue instance does not exists in VNode context"),!1)}function fd(t,e,n){var a,i,r=function(t){var e,n,a,i;Vu(t)?e=t:Qu(t)&&(e=t.path,n=t.locale,a=t.args,i=t.choice);return{path:e,locale:n,args:a,choice:i}}(e.value),s=r.path,o=r.locale,l=r.args,c=r.choice;if(s||o||l)if(s){var u=n.context;t._vt=t.textContent=null!=c?(a=u.$i18n).tc.apply(a,[s,c].concat(hd(o,l))):(i=u.$i18n).t.apply(i,[s].concat(hd(o,l))),t._locale=u.$i18n.locale,t._localeMessage=u.$i18n.getLocaleMessage(u.$i18n.locale)}else qu("`path` is required in v-t directive");else qu("value type not supported")}function hd(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||Qu(e))&&n.push(e),n}function vd(t){vd.installed=!0;(od=t).version&&Number(od.version.split(".")[0]);!function(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var a=this.$i18n;return a._t.apply(a,[t,a.locale,a._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],a=arguments.length-2;a-- >0;)n[a]=arguments[a+2];var i=this.$i18n;return i._tc.apply(i,[t,i.locale,i._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],a=arguments.length-1;a-- >0;)n[a]=arguments[a+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],a=arguments.length-1;a-- >0;)n[a]=arguments[a+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}(od),od.mixin(nd),od.directive("t",{bind:cd,update:ud,unbind:dd}),od.component(ad.name,ad),od.component(ld.name,ld),od.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var md=function(){this._caches=Object.create(null)};md.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,a="";for(;n<t.length;){var i=t[n++];if("{"===i){a&&e.push({type:"text",value:a}),a="";var r="";for(i=t[n++];void 0!==i&&"}"!==i;)r+=i,i=t[n++];var s="}"===i,o=gd.test(r)?"list":s&&_d.test(r)?"named":"unknown";e.push({value:r,type:o})}else"%"===i?"{"!==t[n]&&(a+=i):a+=i}return a&&e.push({type:"text",value:a}),e}(t),this._caches[t]=n),function(t,e){var n=[],a=0,i=Array.isArray(e)?"list":Uu(e)?"named":"unknown";if("unknown"===i)return n;for(;a<t.length;){var r=t[a];switch(r.type){case"text":n.push(r.value);break;case"list":n.push(e[parseInt(r.value,10)]);break;case"named":"named"===i&&n.push(e[r.value])}a++}return n}(n,e)};var gd=/^(?:\d)+/,_d=/^(?:\w)+/;var yd=[];yd[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},yd[1]={ws:[1],".":[2],"[":[4],eof:[7]},yd[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},yd[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},yd[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},yd[5]={"'":[4,0],eof:8,else:[5,0]},yd[6]={'"':[4,0],eof:8,else:[6,0]};var bd=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function wd(t){if(null==t)return"eof";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function kd(t){var e,n=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(e=n,bd.test(e)?function(t){var e=t.charCodeAt(0);return e!==t.charCodeAt(t.length-1)||34!==e&&39!==e?t:t.slice(1,-1)}(n):"*"+n)}var xd=function(){this._cache=Object.create(null)};xd.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=function(t){var e,n,a,i,r,s,o,l=[],c=-1,u=0,d=0,p=[];function f(){var e=t[c+1];if(5===u&&"'"===e||6===u&&'"'===e)return c++,a="\\"+e,p[0](),!0}for(p[1]=function(){void 0!==n&&(l.push(n),n=void 0)},p[0]=function(){void 0===n?n=a:n+=a},p[2]=function(){p[0](),d++},p[3]=function(){if(d>0)d--,u=4,p[0]();else{if(d=0,void 0===n)return!1;if(!1===(n=kd(n)))return!1;p[1]()}};null!==u;)if(c++,"\\"!==(e=t[c])||!f()){if(i=wd(e),8===(r=(o=yd[u])[i]||o.else||8))return;if(u=r[0],(s=p[r[1]])&&(a=void 0===(a=r[2])?e:a,!1===s()))return;if(7===u)return l}}(t))&&(this._cache[t]=e),e||[]},xd.prototype.getPathValue=function(t,e){if(!Uu(t))return null;var n=this.parsePath(e);if(0===n.length)return null;for(var a=n.length,i=t,r=0;r<a;){var s=i[n[r]];if(void 0===s)return null;i=s,r++}return i};var Cd,Ad=/<\/?[\w\s="/.':;#-\/]+>/,Td=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,$d=/^@(?:\.([a-z]+))?:/,Sd=/[()]/g,Nd={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Dd=new md,Ed=function(t){var e=this;void 0===t&&(t={}),!od&&"undefined"!=typeof window&&window.Vue&&vd(window.Vue);var n=t.locale||"en-US",a=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),i=t.messages||{},r=t.dateTimeFormats||{},s=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Dd,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new xd,this._dataListeners=[],this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this.getChoiceIndex=function(t,n){var a=Object.getPrototypeOf(e);if(a&&a.getChoiceIndex)return a.getChoiceIndex.call(e,t,n);var i,r;return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):(i=t,r=n,i=Math.abs(i),2===r?i?i>1?1:0:1:i?Math.min(i,2):0)},this._exist=function(t,n){return!(!t||!n)&&(!Gu(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])})),this._initVM({locale:n,fallbackLocale:a,messages:i,dateTimeFormats:r,numberFormats:s})},Ld={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};Ed.prototype._checkLocaleMessage=function(t,e,n){var a=function(t,e,n,i){if(Qu(n))Object.keys(n).forEach((function(r){var s=n[r];Qu(s)?(i.push(r),i.push("."),a(t,e,s,i),i.pop(),i.pop()):(i.push(r),a(t,e,s,i),i.pop())}));else if(Array.isArray(n))n.forEach((function(n,r){Qu(n)?(i.push("["+r+"]"),i.push("."),a(t,e,n,i),i.pop(),i.pop()):(i.push("["+r+"]"),a(t,e,n,i),i.pop())}));else if(Vu(n)){if(Ad.test(n)){var r="Detected HTML in message '"+n+"' of keypath '"+i.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?qu(r):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(r)}}};a(e,t,n,[])},Ed.prototype._initVM=function(t){var e=od.config.silent;od.config.silent=!0,this._vm=new od({data:t}),od.config.silent=e},Ed.prototype.destroyVM=function(){this._vm.$destroy()},Ed.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},Ed.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)t.splice(n,1)}}(this._dataListeners,t)},Ed.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var e=t._dataListeners.length;e--;)od.nextTick((function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()}))}),{deep:!0})},Ed.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},Ed.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Ld.vm.get=function(){return this._vm},Ld.messages.get=function(){return Yu(this._getMessages())},Ld.dateTimeFormats.get=function(){return Yu(this._getDateTimeFormats())},Ld.numberFormats.get=function(){return Yu(this._getNumberFormats())},Ld.availableLocales.get=function(){return Object.keys(this.messages).sort()},Ld.locale.get=function(){return this._vm.locale},Ld.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Ld.fallbackLocale.get=function(){return this._vm.fallbackLocale},Ld.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Ld.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Ld.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Ld.missing.get=function(){return this._missing},Ld.missing.set=function(t){this._missing=t},Ld.formatter.get=function(){return this._formatter},Ld.formatter.set=function(t){this._formatter=t},Ld.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Ld.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Ld.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Ld.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Ld.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Ld.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Ld.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Ld.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var a=this._getMessages();Object.keys(a).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,a[t])}))}},Ld.postTranslation.get=function(){return this._postTranslation},Ld.postTranslation.set=function(t){this._postTranslation=t},Ed.prototype._getMessages=function(){return this._vm.messages},Ed.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Ed.prototype._getNumberFormats=function(){return this._vm.numberFormats},Ed.prototype._warnDefault=function(t,e,n,a,i,r){if(!Gu(n))return n;if(this._missing){var s=this._missing.apply(null,[t,e,a,i]);if(Vu(s))return s}if(this._formatFallbackMessages){var o=Ku.apply(void 0,i);return this._render(e,r,o.params,e)}return e},Ed.prototype._isFallbackRoot=function(t){return!t&&!Gu(this._root)&&this._fallbackRoot},Ed.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Ed.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Ed.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Ed.prototype._interpolate=function(t,e,n,a,i,r,s){if(!e)return null;var o,l=this._path.getPathValue(e,n);if(Array.isArray(l)||Qu(l))return l;if(Gu(l)){if(!Qu(e))return null;if(!Vu(o=e[n]))return null}else{if(!Vu(l))return null;o=l}return(o.indexOf("@:")>=0||o.indexOf("@.")>=0)&&(o=this._link(t,e,o,a,"raw",r,s)),this._render(o,i,r,n)},Ed.prototype._link=function(t,e,n,a,i,r,s){var o=n,l=o.match(Td);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],d=u.match($d),p=d[0],f=d[1],h=u.replace(p,"").replace(Sd,"");if(Ju(s,h))return o;s.push(h);var v=this._interpolate(t,e,h,a,"raw"===i?"string":i,"raw"===i?void 0:r,s);if(this._isFallbackRoot(v)){if(!this._root)throw Error("unexpected error");var m=this._root.$i18n;v=m._translate(m._getMessages(),m.locale,m.fallbackLocale,h,a,i,r)}v=this._warnDefault(t,h,v,a,Array.isArray(r)?r:[r],i),this._modifiers.hasOwnProperty(f)?v=this._modifiers[f](v):Nd.hasOwnProperty(f)&&(v=Nd[f](v)),s.pop(),o=v?o.replace(u,v):o}return o},Ed.prototype._render=function(t,e,n,a){var i=this._formatter.interpolate(t,n,a);return i||(i=Dd.interpolate(t,n,a)),"string"!==e||Vu(i)?i:i.join("")},Ed.prototype._appendItemToChain=function(t,e,n){var a=!1;return Ju(t,e)||(a=!0,e&&(a="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(a=n[e]))),a},Ed.prototype._appendLocaleToChain=function(t,e,n){var a,i=e.split("-");do{var r=i.join("-");a=this._appendItemToChain(t,r,n),i.splice(-1,1)}while(i.length&&!0===a);return a},Ed.prototype._appendBlockToChain=function(t,e,n){for(var a=!0,i=0;i<e.length&&"boolean"==typeof a;i++){var r=e[i];Vu(r)&&(a=this._appendLocaleToChain(t,r,n))}return a},Ed.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[t];if(!n){e||(e=this.fallbackLocale),n=[];for(var a,i=[t];Hu(i);)i=this._appendBlockToChain(n,i,e);(i=Vu(a=Hu(e)?e:Uu(e)?e.default?e.default:null:e)?[a]:a)&&this._appendBlockToChain(n,i,null),this._localeChainCache[t]=n}return n},Ed.prototype._translate=function(t,e,n,a,i,r,s){for(var o,l=this._getLocaleChain(e,n),c=0;c<l.length;c++){var u=l[c];if(!Gu(o=this._interpolate(u,t[u],a,i,r,s,[a])))return o}return null},Ed.prototype._t=function(t,e,n,a){for(var i,r=[],s=arguments.length-4;s-- >0;)r[s]=arguments[s+4];if(!t)return"";var o=Ku.apply(void 0,r),l=o.locale||e,c=this._translate(n,l,this.fallbackLocale,t,a,"string",o.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(i=this._root).$t.apply(i,[t].concat(r))}return c=this._warnDefault(l,t,c,a,r,"string"),this._postTranslation&&null!=c&&(c=this._postTranslation(c,t)),c},Ed.prototype.t=function(t){for(var e,n=[],a=arguments.length-1;a-- >0;)n[a]=arguments[a+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Ed.prototype._i=function(t,e,n,a,i){var r=this._translate(n,e,this.fallbackLocale,t,a,"raw",i);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,i)}return this._warnDefault(e,t,r,a,[i],"raw")},Ed.prototype.i=function(t,e,n){return t?(Vu(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Ed.prototype._tc=function(t,e,n,a,i){for(var r,s=[],o=arguments.length-5;o-- >0;)s[o]=arguments[o+5];if(!t)return"";void 0===i&&(i=1);var l={count:i,n:i},c=Ku.apply(void 0,s);return c.params=Object.assign(l,c.params),s=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((r=this)._t.apply(r,[t,e,n,a].concat(s)),i)},Ed.prototype.fetchChoice=function(t,e){if(!t&&!Vu(t))return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},Ed.prototype.tc=function(t,e){for(var n,a=[],i=arguments.length-2;i-- >0;)a[i]=arguments[i+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(a))},Ed.prototype._te=function(t,e,n){for(var a=[],i=arguments.length-3;i-- >0;)a[i]=arguments[i+3];var r=Ku.apply(void 0,a).locale||e;return this._exist(n[r],t)},Ed.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Ed.prototype.getLocaleMessage=function(t){return Yu(this._vm.messages[t]||{})},Ed.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Ed.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,td({},this._vm.messages[t]||{},e))},Ed.prototype.getDateTimeFormat=function(t){return Yu(this._vm.dateTimeFormats[t]||{})},Ed.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Ed.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,td(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Ed.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var a=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(a)&&delete this._dateTimeFormatters[a]}},Ed.prototype._localizeDateTime=function(t,e,n,a,i){for(var r=e,s=a[r],o=this._getLocaleChain(e,n),l=0;l<o.length;l++){var c=o[l];if(r=c,!Gu(s=a[c])&&!Gu(s[i]))break}if(Gu(s)||Gu(s[i]))return null;var u=s[i],d=r+"__"+i,p=this._dateTimeFormatters[d];return p||(p=this._dateTimeFormatters[d]=new Intl.DateTimeFormat(r,u)),p.format(t)},Ed.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var a=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return a||""},Ed.prototype.d=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var a=this.locale,i=null;return 1===e.length?Vu(e[0])?i=e[0]:Uu(e[0])&&(e[0].locale&&(a=e[0].locale),e[0].key&&(i=e[0].key)):2===e.length&&(Vu(e[0])&&(i=e[0]),Vu(e[1])&&(a=e[1])),this._d(t,a,i)},Ed.prototype.getNumberFormat=function(t){return Yu(this._vm.numberFormats[t]||{})},Ed.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Ed.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,td(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Ed.prototype._clearNumberFormat=function(t,e){for(var n in e){var a=t+"__"+n;this._numberFormatters.hasOwnProperty(a)&&delete this._numberFormatters[a]}},Ed.prototype._getNumberFormatter=function(t,e,n,a,i,r){for(var s=e,o=a[s],l=this._getLocaleChain(e,n),c=0;c<l.length;c++){var u=l[c];if(s=u,!Gu(o=a[u])&&!Gu(o[i]))break}if(Gu(o)||Gu(o[i]))return null;var d,p=o[i];if(r)d=new Intl.NumberFormat(s,Object.assign({},p,r));else{var f=s+"__"+i;(d=this._numberFormatters[f])||(d=this._numberFormatters[f]=new Intl.NumberFormat(s,p))}return d},Ed.prototype._n=function(t,e,n,a){if(!Ed.availabilities.numberFormat)return"";if(!n)return(a?new Intl.NumberFormat(e,a):new Intl.NumberFormat(e)).format(t);var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,a),r=i&&i.format(t);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},a))}return r||""},Ed.prototype.n=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var a=this.locale,i=null,r=null;return 1===e.length?Vu(e[0])?i=e[0]:Uu(e[0])&&(e[0].locale&&(a=e[0].locale),e[0].key&&(i=e[0].key),r=Object.keys(e[0]).reduce((function(t,n){var a;return Ju(zu,n)?Object.assign({},t,((a={})[n]=e[0][n],a)):t}),null)):2===e.length&&(Vu(e[0])&&(i=e[0]),Vu(e[1])&&(a=e[1])),this._n(t,a,i,r)},Ed.prototype._ntp=function(t,e,n,a){if(!Ed.availabilities.numberFormat)return[];if(!n)return(a?new Intl.NumberFormat(e,a):new Intl.NumberFormat(e)).formatToParts(t);var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,a),r=i&&i.formatToParts(t);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,a)}return r||[]},Object.defineProperties(Ed.prototype,Ld),Object.defineProperty(Ed,"availabilities",{get:function(){if(!Cd){var t="undefined"!=typeof Intl;Cd={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return Cd}}),Ed.install=vd,Ed.version="8.18.2";wn.use(Ed);document.querySelector("html").setAttribute("lang","en");const Pd=new Ed({locale:"en",fallbackLocale:"en",messages:{it:{globals:{welcome:"Benvenuto su deemix",back:"indietro",loading:"caricamento",download:"Scarica {0}",by:"di {0}",in:"in {0}",listTabs:{all:"tutto",top_result:"risultato migliore",album:"album",artist:"artista | artisti",single:"singolo | singoli",title:"titolo | titoli",track:"traccia | tracce",trackN:"0 tracce | {n} traccia | {n} tracce",releaseN:"0 dischi | {n} disco | {n} dischi",playlist:"playlist",compile:"compilation",ep:"ep",spotifyPlaylist:"playlist spotify",releaseDate:"data di rilascio",error:"errore",empty:""}},charts:{title:"Classifiche",changeCountry:"Cambia Paese",download:"Scarica Classifica"},errors:{title:"Errori riguardanti {0}",ids:{invalidURL:"URL non riconosciuto",unsupportedURL:"URL non ancora supportato",ISRCnotOnDeezer:"Questo ISRC non è disponibile su Deezer",notYourPrivatePlaylist:"Non puoi scaricare le playlist private degli altri.",spotifyDisabled:"Spotify Features non è impostato correttamente.",trackNotOnDeezer:"Traccia non trovata su Deezer!",albumNotOnDeezer:"Album non trovato su Deezer!",notOnDeezer:"Traccia non disponibile su Deezer!",notEncoded:"Traccia non ancora codificata!",notEncodedNoAlternative:"Traccia non ancora codificata e nessuna alternativa trovata!",wrongBitrate:"Traccia non trovata con il bitrate specificato.",wrongBitrateNoAlternative:"Traccia non trovata con il bitrate specificato e nessuna alternativa trovata!",no360RA:"Traccia non disponibile in Reality Audio 360.",notAvailable:"Traccia non presente sui server di Deezer!",notAvailableNoAlternative:"Traccia non presente sui server di Deezer e nessuna alternativa trovata!"}},favorites:{title:"Preferiti",noPlaylists:"Nessuna Playlist preferita trovata",noAlbums:"Nessun Album preferito trovato",noArtists:"Nessun Artista preferito trovato",noTracks:"Nessuna Traccia preferito trovata"},home:{needTologin:"Devi accedere al tuo account Deezer, fino a quel momento non potrai scaricare nulla.",openSettings:"Apri le impostazioni",sections:{popularPlaylists:"Playlyst Popolari",popularAlbums:"Album più riprodotti"}},linkAnalyzer:{info:"Puoi utilizzare questa sezione per avere più informazioni riguardanti il link che stai cercando di scaricare.",useful:"Ciò può esserti utile se stai cercando di scaricare tracce che non sono disponibili nel tuo Paese e vuoi sapere in quale Paese sono invece disponibili, per esempio.",linkNotSupported:"Questo link non è ancora supportato",linkNotSupportedYet:"Sembra che questo link non sia ancora supportato, prova ad analizzarne un altro.",table:{id:"ID",isrc:"ISRC",upc:"UPC",duration:"Durata",diskNumber:"Numero Disco",trackNumber:"Numero Traccia",releaseDate:"Data di rilascio",bpm:"BPM",label:"Etichetta",recordType:"Tipologia di registrazione",genres:"Generi",tracklist:"Lista tracce"}},search:{startSearching:"Inizia a cercare!",description:"Puoi cercare una traccia, un intero album, un artista, una playlist.... quello che vuoi! Puoi anche incollare un link di Deezer",fans:"{0} fan",noResults:"Nessun risultato",noResultsTrack:"Nessuna traccia trovata",noResultsAlbum:"Nessun album trovato",noResultsArtist:"Nessun artista trovato",noResultsPlaylist:"Nessuna playlist trovata"},searchbar:"Cerca qualsiasi cosa (o incolla semplicemente un link)",downloads:"download",toasts:{addedToQueue:"{0} aggiunto alla coda",alreadyInQueue:"{0} è già nella coda!",finishDownload:"{0} ha finito di scaricarsi.",allDownloaded:"Tutti i download completati!",refreshFavs:"Preferiti ricaricati!",loggingIn:"Effettuando il login",loggedIn:"Login effettuato",alreadyLogged:"Sei già loggato",loginFailed:"Impossibile loggarsi",loggedOut:"Disconnesso",cancellingCurrentItem:"Cancellando download corrente.",currentItemCancelled:"Download corrente cancellato.",startAddingArtist:"Aggiungendo gli album di {0} alla coda",finishAddingArtist:"Aggiunto gli album di {0} alla coda",startConvertingSpotifyPlaylist:"Convertendo le tracce da spotify a deezer",finishConvertingSpotifyPlaylist:"Playlist di spotify convertita"},settings:{title:"Impostazioni",languages:"Lingue",login:{title:"Login",loggedIn:"Sei loggato come {username}",arl:{question:"Come ottengo il mio ARL?",update:"Aggiorna ARL"},logout:"Disconnettiti"},appearance:{title:"Aspetto",slimDownloadTab:"Tab dei download slim"},downloadPath:{title:"Cartella di download"},templates:{title:"Template",tracknameTemplate:"Template nome traccia",albumTracknameTemplate:"Template nome traccia negli Album",playlistTracknameTemplate:"Template nome traccia nelle Playlist"},folders:{title:"Cartelle",createPlaylistFolder:"Crea cartelle per le Playlist",playlistNameTemplate:"Template nome della cartella Playlist",createArtistFolder:"Crea cartelle per gli Artisti",artistNameTemplate:"Template nome della cartella Artista",createAlbumFolder:"Crea cartelle per gli Album",albumNameTemplate:"Template nome della cartella Album",createCDFolder:"Crea cartelle per i CD",createStructurePlaylist:"Crea la struttura di cartelle per le Playlist",createSingleFolder:"Crea la struttura di cartelle per le tracce singole"},trackTitles:{title:"Titoli tracce",padTracks:"Aggiungi zeri ai numeri di traccia",paddingSize:"Sovrascrivi il numero di zeri da aggiungere",illegalCharacterReplacer:"Rimpiazza caratteri illegali con"},downloads:{title:"Download",queueConcurrency:"Download Concorrenti",maxBitrate:{title:"Bitrate preferito",9:"FLAC 1411kbps",3:"MP3 320kbps",1:"MP3 128kbps"},overwriteFile:{title:"Dovrei sovrascrivere i file già scaricati?",y:"Si, sovrascrivi i file",n:"No, non sovrascrivere i file",t:"Sovrascrivi solo i tag"},fallbackBitrate:"Ripiega a bitrate più bassi",fallbackSearch:"Ripiega alla ricerca",logErrors:"Crea file di log per gli errori",logSearched:"Crea file di log per le alternative",syncedLyrics:"Crea il file .lyr (Testi Sincronizzati)",createM3U8File:"Crea il file playlist",playlistFilenameTemplate:"Template nome del file playlist",saveDownloadQueue:"Salva la coda di download quando chiudi l'app"},covers:{title:"Copertine",saveArtwork:"Salva copertina album",coverImageTemplate:"Template nome copertina Album",saveArtworkArtist:"Salva copertina artista",artistImageTemplate:"Template nome copertina artista",localArtworkSize:"Dimensioni copertine locali",embeddedArtworkSize:"Dimensioni copertine incorporate",localArtworkFormat:{title:"Come vuoi salvare le copertine locali?",jpg:"In jpeg",png:"In png",both:"Sia in jpeg che in png"},jpegImageQuality:"Qualità immagine JPEG"},tags:{head:"Quali tag salvare",title:"Titolo",artist:"Artista",album:"Album",cover:"Copertina",trackNumber:"Numero Traccia",trackTotal:"Tracce Totali",discNumber:"Numero Disco",discTotal:"Dischi Totali",albumArtist:"Artista dell'album",genre:"Genere",year:"Anno",date:"Data",explicit:"Testo Esplicito",isrc:"ISRC",length:"Durata Traccia",barcode:"Barcode dell'album (UPC)",bpm:"BPM",replayGain:"Guadagno Brano",label:"Casa Discografica",lyrics:"Testo non Sincronizzato",copyright:"Copyright",composer:"Compositori",involvedPeople:"Persone Coinvolte"},other:{title:"Altro",savePlaylistAsCompilation:"Salva le playlist come Compilation",useNullSeparator:"Usa il carattere NULL come separatore",saveID3v1:"Salva anche il ID3v1",multiArtistSeparator:{title:"Come vuoi separare gli artisti?",nothing:"Salva solo l'artista principale",default:"Usando la specificazione standard",andFeat:"Usando & e feat.",using:'Usando "{0}"'},singleAlbumArtist:"Salva solo l'artista dell'album principale",albumVariousArtists:'Lascia "Artisti Vari" negli artisti dell\'album',removeAlbumVersion:'Rimuovi "Album Version" dal titolo del brano',removeDuplicateArtists:"Rimuovi le combinazioni di artisti",dateFormat:{title:"Formato della data per i file FLAC",year:"AAAA",month:"MM",day:"GG"},featuredToTitle:{title:"Cosa dovrei fare con i feat?",0:"Niente",1:"Rimuovili dal titolo",3:"Rimuovili dal titolo e dal nome dell'album",2:"Spostali sul titolo"},titleCasing:"Capitalizzazione Titoli",artistCasing:"Capitalizzazione Artisti",casing:{nothing:"Non cambiare",lower:"TUTTO MAIUSCOLO",upper:"tutto minuscolo",start:"Prima Lettera Maiuscola",sentence:"Come una frase"},previewVolume:"Volume Anteprime",executeCommand:{title:"Comando da eseguire dopo il download",description:"Lascia vuoto per nessuna azione"}},spotify:{title:"Spotify Features",clientID:"Spotify clientID",clientSecret:"Spotify Client Secret",username:"Spotify username"},reset:"Reimposta Default",save:"Salva",toasts:{init:"Impostazioni caricate!",update:"Impostazioni aggiornate!",ARLcopied:"ARL copiato negli appunti"}},sidebar:{home:"home",search:"ricerca",charts:"classifiche",favorites:"preferiti",linkAnalyzer:"analizza link",settings:"impostazioni",about:"info"},tracklist:{downloadSelection:"Scarica selezionati"}},en:{globals:{welcome:"Welcome to deemix",back:"back",loading:"loading",download:"Download {0}",by:"by {0}",in:"in {0}",listTabs:{empty:"",all:"all",top_result:"top result",album:"album | albums",artist:"artist | artists",single:"single | singles",title:"title | titles",track:"track | tracks",trackN:"0 tracks | {n} track | {n} tracks",releaseN:"0 releases | {n} release | {n} releases",playlist:"playlist | playlists",compile:"compilation | compilations",ep:"ep | eps",spotifyPlaylist:"spotify playlist | spotify playlists",releaseDate:"release date",error:"error"}},charts:{title:"Charts",changeCountry:"Change Country",download:"Download Chart"},errors:{title:"Errors for {0}",ids:{invalidURL:"URL not recognized",unsupportedURL:"URL not supported yet",ISRCnotOnDeezer:"Track ISRC is not available on deezer",notYourPrivatePlaylist:"You can't download others private playlists.",spotifyDisabled:"Spotify Features is not setted up correctly.",trackNotOnDeezer:"Track not found on deezer!",albumNotOnDeezer:"Album not found on deezer!",notOnDeezer:"Track not available on Deezer!",notEncoded:"Track not yet encoded!",notEncodedNoAlternative:"Track not yet encoded and no alternative found!",wrongBitrate:"Track not found at desired bitrate.",wrongBitrateNoAlternative:"Track not found at desired bitrate and no alternative found!",no360RA:"Track is not available in Reality Audio 360.",notAvailable:"Track not available on deezer's servers!",notAvailableNoAlternative:"Track not available on deezer's servers and no alternative found!"}},favorites:{title:"Favorites",noPlaylists:"No Playlists found",noAlbums:"No Favorite Albums found",noArtists:"No Favorite Artists found",noTracks:"No Favorite Tracks found"},home:{needTologin:"You need to log into your Deezer account before you can start downloading.",openSettings:"Open Settings",sections:{popularPlaylists:"Popular playlists",popularAlbums:"Most streamed albums"}},linkAnalyzer:{info:"You can use this section to find out more information about the link you are trying to download.",useful:"This is useful if you're trying to download some tracks that are not available in your country and want to know where they are available, for instance.",linkNotSupported:"This link is not yet supported",linkNotSupportedYet:"Seems like this link is not yet supported, try analyzing another one.",table:{id:"ID",isrc:"ISRC",upc:"UPC",duration:"Duration",diskNumber:"Disk Number",trackNumber:"Track Number",releaseDate:"Release Date",bpm:"BPM",label:"Label",recordType:"Record Type",genres:"Genres",tracklist:"Tracklist"}},search:{startSearching:"Start searching!",description:"You can search a track, a whole album, an artist, a playlist.... everything! You can also paste a Deezer link",fans:"{0} fans",noResults:"No results",noResultsTrack:"No Tracks found",noResultsAlbum:"No Albums found",noResultsArtist:"No Artists found",noResultsPlaylist:"No Playlists found"},searchbar:"Search anything you want (or just paste a link)",downloads:"downloads",toasts:{addedToQueue:"{0} added to queue",alreadyInQueue:"{0} is already in queue!",finishDownload:"{0} finished downloading.",allDownloaded:"All downloads completed!",refreshFavs:"Refresh completed!",loggingIn:"Logging in",loggedIn:"Logged in",alreadyLogged:"Already logged in",loginFailed:"Couldn't log in",loggedOut:"Logged out",cancellingCurrentItem:"Cancelling current item.",currentItemCancelled:"Current item cancelled.",startAddingArtist:"Adding {0} albums to queue",finishAddingArtist:"Added {0} albums to queue",startConvertingSpotifyPlaylist:"Converting spotify tracks to deezer tracks",finishConvertingSpotifyPlaylist:"Spotify playlist converted"},settings:{title:"Settings",languages:"Languages",login:{title:"Login",loggedIn:"You are logged in as {username}",arl:{question:"How do I get my own ARL?",update:"Update ARL"},logout:"Logout"},appearance:{title:"Appearance",slimDownloadTab:"Slim download tab"},downloadPath:{title:"Download Path"},templates:{title:"Templates",tracknameTemplate:"Trackname template",albumTracknameTemplate:"Album track template",playlistTracknameTemplate:"Playlist track template"},folders:{title:"Folders",createPlaylistFolder:"Create folder for playlists",playlistNameTemplate:"Playlist folder template",createArtistFolder:"Create folder for artist",artistNameTemplate:"Artist folder template",createAlbumFolder:"Create folder for album",albumNameTemplate:"Album folder template",createCDFolder:"Create folder for CDs",createStructurePlaylist:"Create folder structure for playlists",createSingleFolder:"Create folder structure for singles"},trackTitles:{title:"Track titles",padTracks:"Pad tracks",paddingSize:"Overwrite padding size",illegalCharacterReplacer:"Illegal Character replacer"},downloads:{title:"Downloads",queueConcurrency:"Concurrent Downloads",maxBitrate:{title:"Preferred Bitrate",9:"FLAC 1411kbps",3:"MP3 320kbps",1:"MP3 128kbps"},overwriteFile:{title:"Should I overwrite the files?",y:"Yes, overwrite the file",n:"No, don't overwrite the file",t:"Overwrite only the tags"},fallbackBitrate:"Bitrate fallback",fallbackSearch:"Search fallback",logErrors:"Create log files for errors",logSearched:"Create log files for searched tracks",createM3U8File:"Create playlist file",syncedLyrics:"Create .lyr files (Sync Lyrics)",playlistFilenameTemplate:"Playlist filename template",saveDownloadQueue:"Save download queue when closing the app"},covers:{title:"Album covers",saveArtwork:"Save Covers",coverImageTemplate:"Cover name template",saveArtworkArtist:"Save artist image",artistImageTemplate:"Artist image template",localArtworkSize:"Local artwork size",embeddedArtworkSize:"Embedded artwork size",localArtworkFormat:{title:"What format do you want the local artwork to be?",jpg:"A jpeg image",png:"A png image",both:"Both a jpeg and a png"},jpegImageQuality:"JPEG image quality"},tags:{head:"Which tags to save",title:"Title",artist:"Artist",album:"Album",cover:"Cover",trackNumber:"Track Number",trackTotal:"Track Total",discNumber:"Disc Number",discTotal:"Disc Total",albumArtist:"Album Artist",genre:"Genre",year:"Year",date:"Date",explicit:"Explicit Lyrics",isrc:"ISRC",length:"Track Length",barcode:"Album Barcode (UPC)",bpm:"BPM",replayGain:"Replay Gain",label:"Album Label",lyrics:"Unsynchronized Lyrics",copyright:"Copyright",composer:"Composer",involvedPeople:"Involved People"},other:{title:"Other",savePlaylistAsCompilation:"Save playlists as compilation",useNullSeparator:"Use null separator",saveID3v1:"Save ID3v1 as well",multiArtistSeparator:{title:"How would you like to separate your artists?",nothing:"Save only the main artist",default:"Using standard specification",andFeat:"Using & and feat.",using:'Using "{0}"'},singleAlbumArtist:"Save only the main album artist",albumVariousArtists:'Keep "Various Artists" in the Album Artists',removeAlbumVersion:'Remove "Album Version" from track title',removeDuplicateArtists:"Remove combinations of artists",dateFormat:{title:"Date format for FLAC files",year:"YYYY",month:"MM",day:"DD"},featuredToTitle:{title:"What should I do with featured artists?",0:"Nothing",1:"Remove it from the title",3:"Remove it from the title and the album title",2:"Move it to the title"},titleCasing:"Title casing",artistCasing:"Artist casing",casing:{nothing:"Keep unchanged",lower:"lowercase",upper:"UPPERCASE",start:"Start Of Each Word",sentence:"Like a sentence"},previewVolume:"Preview Volume",executeCommand:{title:"Command to execute after download",description:"Leave blank for no action"}},spotify:{title:"Spotify Features",clientID:"Spotify clientID",clientSecret:"Spotify Client Secret",username:"Spotify username"},reset:"Reset to Default",save:"Save",toasts:{init:"Settings loaded!",update:"Settings updated!",ARLcopied:"ARL copied to clipboard"}},sidebar:{home:"home",search:"search",charts:"charts",favorites:"favorites",linkAnalyzer:"link analyzer",settings:"settings",about:"about"},tracklist:{downloadSelection:"Download selection"}}}});window.vol={preview_max_volume:100},document.addEventListener("DOMContentLoaded",(function(){new wn({i18n:Pd,render:t=>t(Bu)}).$mount("#app"),oo()})),window.addEventListener("pywebviewready",(function(){window.clientMode=!0,document.querySelector("#open_downloads_folder").classList.remove("hide")})),to.on("message",(function(t){console.log(t)})),to.on("logging_in",(function(){Yc(Pd.t("toasts.loggingIn"),"loading",!1,"login-toast")})),to.on("init_autologin",(function(){let t=localStorage.getItem("arl"),e=localStorage.getItem("accountNum");t&&(t=t.trim(),0!=e?to.emit("login",t,!0,e):to.emit("login",t))})),to.on("logged_in",(function(t){switch(t.status){case 1:case 3:Yc(Pd.t("toasts.loggedIn"),"done",!0,"login-toast"),t.arl&&(localStorage.setItem("arl",t.arl),Gc("#login_input_arl").val(t.arl)),Gc("#open_login_prompt").hide(),t.user&&(Gc("#settings_username").text(t.user.name),Gc("#settings_picture").attr("src",`https://e-cdns-images.dzcdn.net/images/user/${t.user.picture}/125x125-000000-80-0-0.jpg`),document.getElementById("logged_in_info").classList.remove("hide")),document.getElementById("home_not_logged_in").classList.add("hide");break;case 2:Yc(Pd.t("toasts.alreadyLogged"),"done",!0,"login-toast"),t.user&&(Gc("#settings_username").text(t.user.name),Gc("#settings_picture").attr("src",`https://e-cdns-images.dzcdn.net/images/user/${t.user.picture}/125x125-000000-80-0-0.jpg`),document.getElementById("logged_in_info").classList.remove("hide")),document.getElementById("home_not_logged_in").classList.add("hide");break;case 0:Yc(Pd.t("toasts.loginFailed"),"close",!0,"login-toast"),localStorage.removeItem("arl"),Gc("#login_input_arl").val(""),Gc("#open_login_prompt").show(),document.getElementById("logged_in_info").classList.add("hide"),Gc("#settings_username").text("Not Logged"),Gc("#settings_picture").attr("src","https://e-cdns-images.dzcdn.net/images/user/125x125-000000-80-0-0.jpg"),document.getElementById("home_not_logged_in").classList.remove("hide")}})),to.on("logged_out",(function(){Yc(Pd.t("toasts.loggedOut"),"done",!0,"login-toast"),localStorage.removeItem("arl"),Gc("#login_input_arl").val(""),Gc("#open_login_prompt").show(),document.getElementById("logged_in_info").classList.add("hide"),Gc("#settings_username").text("Not Logged"),Gc("#settings_picture").attr("src","https://e-cdns-images.dzcdn.net/images/user/125x125-000000-80-0-0.jpg"),document.getElementById("home_not_logged_in").classList.remove("hide")})),to.on("cancellingCurrentItem",(function(t){Yc(Pd.t("toasts.cancellingCurrentItem"),"loading",!1,"cancelling_"+t)})),to.on("currentItemCancelled",(function(t){Yc(Pd.t("toasts.currentItemCancelled"),"done",!0,"cancelling_"+t)})),to.on("startAddingArtist",(function(t){Yc(Pd.t("toasts.startAddingArtist",[t.name]),"loading",!1,"artist_"+t.id)})),to.on("finishAddingArtist",(function(t){Yc(Pd.t("toasts.finishAddingArtist",[t.name]),"done",!0,"artist_"+t.id)})),to.on("startConvertingSpotifyPlaylist",(function(t){Yc(Pd.t("toasts.startConvertingSpotifyPlaylist"),"loading",!1,"spotifyplaylist_"+t)})),to.on("finishConvertingSpotifyPlaylist",(function(t){Yc(Pd.t("toasts.finishConvertingSpotifyPlaylist"),"done",!0,"spotifyplaylist_"+t)})),to.on("errorMessage",(function(t){Yc(t,"error")})),to.on("queueError",(function(t){t.errid?Yc(Pd.t("errors.ids."+t.errid),"error"):Yc(t.error,"error")})),to.on("alreadyInQueue",(function(t){Yc(Pd.t("toasts.alreadyInQueue",[t.title]),"playlist_add_check")}));