40 lines
394 KiB
JavaScript
40 lines
394 KiB
JavaScript
/*!
|
||
* 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),v=p("key,ref,slot,slot-scope,is");function h(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)})),x=/\B([A-Z])/g,k=_((function(t){return t.replace(x,"-$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 S(t){for(var e={},n=0;n<t.length;n++)t[n]&&T(e,t[n]);return e}function $(t,e,n){}var E=function(t,e,n){return!1},N=function(t){return t};function D(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 D(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 D(t[n],e[n])}))}catch(t){return!1}}function L(t,e){for(var n=0;n<t.length;n++)if(D(t[n],e))return n;return-1}function P(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var O=["component","directive","filter"],j=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],I={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:E,isReservedAttr:E,isUnknownElement:E,getTagNamespace:$,parsePlatformTagName:N,mustUseProp:E,async:!0,_lifecycleHooks:j},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 R(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function F(t,e,n,a){Object.defineProperty(t,e,{value:n,enumerable:!!a,writable:!0,configurable:!0})}var B=new RegExp("[^"+M.source+".$_\\d]");var q,U="__proto__"in{},H="undefined"!=typeof window,z="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,V=z&&WXEnvironment.platform.toLowerCase(),Q=H&&window.navigator.userAgent.toLowerCase(),W=Q&&/msie|trident/.test(Q),G=Q&&Q.indexOf("msie 9.0")>0,K=Q&&Q.indexOf("edge/")>0,Y=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===V),J=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.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===q&&(q=!H&&!z&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),q},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=$,ot=0,lt=function(){this.id=ot++,this.subs=[]};lt.prototype.addSub=function(t){this.subs.push(t)},lt.prototype.removeSub=function(t){h(this.subs,t)},lt.prototype.depend=function(){lt.target&<.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 vt=function(t){void 0===t&&(t="");var e=new pt;return e.text=t,e.isComment=!0,e};function ht(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];F(_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 xt=function(t){this.value=t,this.dep=new lt,this.vmCount=0,F(t,"__ob__",this),Array.isArray(t)?(U?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];F(t,r,e[r])}}(t,_t,yt),this.observeArray(t)):this.walk(t)};function kt(t,e){var n;if(r(t)&&!(t instanceof pt))return g(t,"__ob__")&&t.__ob__ instanceof xt?n=t.__ob__:bt&&!et()&&(Array.isArray(t)||o(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new xt(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&&kt(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)&&St(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&&kt(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 St(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)&&St(e)}xt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Ct(t,e[n])},xt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)kt(t[e])};var $t=I.optionMergeStrategies;function Et(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)&&Et(a,i):At(t,n,i));return t}function Nt(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?Et(a,i):i}:e?t?function(){return Et("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Dt(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}$t.data=function(t,e,n){return n?Nt(t,e,n):e&&"function"!=typeof e?t:Nt(t,e)},j.forEach((function(t){$t[t]=Dt})),O.forEach((function(t){$t[t+"s"]=Lt})),$t.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},$t.props=$t.methods=$t.inject=$t.computed=function(t,e,n,a){if(!t)return e;var i=Object.create(null);return T(i,t),e&&T(i,e),i},$t.provide=Nt;var Pt=function(t,e){return void 0===e?t:e};function Ot(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=Ot(t,e.extends,n)),e.mixins))for(var a=0,i=e.mixins.length;a<i;a++)t=Ot(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=$t[a]||Pt;s[a]=i(t[a],e[a],n,a)}return s}function jt(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 It(t,e,n,a){var i=e[t],r=!g(n,t),s=n[t],o=Ft(Boolean,i.type);if(o>-1)if(r&&!g(i,"default"))s=!1;else if(""===s||s===k(t)){var l=Ft(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),kt(s),wt(c)}return s}function Mt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Rt(t,e){return Mt(t)===Mt(e)}function Ft(t,e){if(!Array.isArray(e))return Rt(e,t)?0:-1;for(var n=0,a=e.length;n<a;n++)if(Rt(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){Ut(t,a,"errorCaptured hook")}}Ut(t,e,n)}finally{dt()}}function qt(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 Ut(t,e,n){if(I.errorHandler)try{return I.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Ht(e)}Ht(t)}function Ht(t,e,n){if(!H&&!z||"undefined"==typeof console)throw t;console.error(t)}var zt,Vt=!1,Qt=[],Wt=!1;function Gt(){Wt=!1;var t=Qt.slice(0);Qt.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&at(Promise)){var Kt=Promise.resolve();zt=function(){Kt.then(Gt),Y&&setTimeout($)},Vt=!0}else if(W||"undefined"==typeof MutationObserver||!at(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())zt="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}),zt=function(){Yt=(Yt+1)%2,Xt.data=String(Yt)},Vt=!0}function Zt(t,e){var n;if(Qt.push((function(){if(t)try{t.call(e)}catch(t){Bt(t,e,"nextTick")}else n&&n(e)})),Wt||(Wt=!0,zt()),!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 qt(a,null,arguments,e,"v-on handler");for(var i=a.slice(),r=0;r<i.length;r++)qt(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),h(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)?[ht(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]=ht(u.text+l[0].text),l.shift()),d.push.apply(d,l)):i(l)?le(u)?d[c]=ht(u.text+l):""!==l&&d.push(ht(l)):le(l)&&le(u)?d[c]=ht(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]=ve(n,c));return e&&Object.isExtensible(e)&&(e._normalized=i),F(i,"$stable",s),F(i,"$key",o),F(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 ve(t,e){return function(){return t[e]}}function he(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 jt(this.$options,"filters",t)||N}function _e(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function ye(t,e,n,a,i){var r=I.keyCodes[e]||n;return i&&a&&!I.keyCodes[e]?_e(i,a):r?_e(r,t):a?k(a)!==e:void 0}function be(t,e,n,a,i){if(n)if(r(n)){var s;Array.isArray(n)&&(n=S(n));var o=function(r){if("class"===r||"style"===r||v(r))s=t;else{var o=t.attrs&&t.attrs.type;s=a||I.mustUseProp(e,o,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=b(r),c=k(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||ke(a=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),a}function xe(t,e,n){return ke(t,"__once__"+e+(n?"_"+n:""),!0),t}function ke(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 Se(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 $e(t,e){return"string"==typeof t?e+t:t}function Ee(t){t._o=xe,t._n=d,t._s=u,t._l=he,t._t=me,t._q=D,t._i=L,t._m=we,t._f=ge,t._k=ye,t._b=be,t._v=ht,t._e=vt,t._u=Te,t._g=Ae,t._d=Se,t._p=$e}function Ne(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 De(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]}Ee(Ne.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,We)).$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],v=e.$options.props;u[f]=It(f,v,n,e)}wt(!0),e.$options.propsData=n}a=a||t;var h=e.$options._parentListeners;e.$options._parentListeners=a,Qe(e,a,h),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())}},Oe=Object.keys(Pe);function je(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=Fe;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 h(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)})),v=P((function(e){n(t.errorComp)&&(t.error=!0,p(!0))})),m=t(f,v);return r(m)&&(c(m)?e(t.resolved)&&m.then(f,v):c(m.component)&&(m.component.then(f,v),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)&&v(null)}),m.timeout)))),l=!1,t.loading?t.loadingComp:t.resolved}}(p=i,d)))return function(t,e,n,a,i){var r=vt();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=k(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]=It(u,c,a||t);else n(i.attrs)&&Le(l,i.attrs),n(i.props)&&Le(l,i.props);var d=new Ne(i,l,s,r,e),p=o.render.call(null,d._c,d);if(p instanceof pt)return De(p,i,d.parent,o);if(Array.isArray(p)){for(var f=oe(p)||[],v=new Array(f.length),h=0;h<f.length;h++)v[h]=De(f[h],i,d.parent,o);return v}}(i,f,s,o,l);var v=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<Oe.length;n++){var a=Oe[n],i=e[a],r=Pe[a];i===r||i&&i._merged||(e[a]=i?Ie(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:v,tag:u,children:l},p)}}}function Ie(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 vt();n(s)&&n(s.is)&&(i=s.is);if(!i)return vt();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||I.getTagNamespace(i),c=I.isReservedTag(i)?new pt(I.parsePlatformTagName(i),s,o,void 0,void 0,t):s&&s.pre||!n(d=jt(t.$options,"components",i))?new pt(i,s,o,void 0,void 0,t):je(d,s,t,o,i)}else c=je(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):vt()}(t,s,o,l,c)}var Re,Fe=null;function Be(t,e){return(t.__esModule||rt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),r(t)?e.extend(t):t}function qe(t){return t.isComment&&t.asyncFactory}function Ue(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var a=t[e];if(n(a)&&(n(a.componentOptions)||qe(a)))return a}}function He(t,e){Re.$on(t,e)}function ze(t,e){Re.$off(t,e)}function Ve(t,e){var n=Re;return function a(){var i=e.apply(null,arguments);null!==i&&n.$off(t,a)}}function Qe(t,e,n){Re=t,ie(e,n||{},He,ze,Ve,t),Re=void 0}var We=null;function Ge(t){var e=We;return We=t,function(){We=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++)qt(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&&!W){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&&I.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=$)),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||h(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:$,set:$};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=It(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]?$: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)||R(r)||pn(t,"_data",r)}kt(e,!0)}(t):kt(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||$,$,vn)),i in t||hn(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 vn={lazy:!0};function hn(t,e,n){var a=!et();"function"==typeof n?(dn.get=a?mn(e):gn(n),dn.set=$):(dn.get=n.get?a&&!1!==n.cache?mn(e):gn(n.get):$,dn.set=n.set||$),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=Ot(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function wn(t){this._init(t)}function xn(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=Ot(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)hn(t.prototype,n,e[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,O.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 kn(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=kn(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,h(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=Ot(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&&Qe(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++)qt(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||h(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){Ee(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{Fe=e,t=a.call(e._renderProxy,e.$createElement)}catch(n){Bt(n,e,"render"),t=e._vnode}finally{Fe=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof pt||(t=vt()),t.parent=i,t}}(wn);var Sn=[String,RegExp,Array],$n={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Sn,exclude:Sn,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=Ue(t),n=e&&e.componentOptions;if(n){var a=kn(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,h(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 I}};Object.defineProperty(t,"config",e),t.util={warn:st,extend:T,mergeOptions:Ot,defineReactive:Ct},t.set=At,t.delete=Tt,t.nextTick=Zt,t.observable=function(t){return kt(t),t},t.options=Object.create(null),O.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,T(t.options.components,$n),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=Ot(this.options,t),this}}(t),xn(t),function(t){O.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:Ne}),wn.version="2.6.11";var En=p("style,class"),Nn=p("input,textarea,option,select,progress"),Dn=function(t,e,n){return"value"===n&&Nn(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"),On=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"),jn="http://www.w3.org/1999/xlink",In=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Mn=function(t){return In(t)?t.slice(6,t.length):""},Rn=function(t){return null==t||!1===t};function Fn(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 qn(t,Un(e));return""}(e.staticClass,e.class)}function Bn(t,e){return{staticClass:qn(t.staticClass,e.staticClass),class:n(t.class)?[t.class,e.class]:e.class}}function qn(t,e){return t?e?t+" "+e:t:e||""}function Un(t){return Array.isArray(t)?function(t){for(var e,a="",i=0,r=t.length;i<r;i++)n(e=Un(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"},zn=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),Qn=function(t){return zn(t)||Vn(t)};function Wn(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])?h(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=jt(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(W||K)&&c.value!==l.value&&pa(o,"value",c.value),l)e(c[r])&&(In(r)?o.removeAttributeNS(jn,Mn(r)):Ln(r)||o.removeAttribute(r))}}function pa(t,e,n){t.tagName.indexOf("-")>-1?fa(t,e,n):On(e)?Rn(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 Rn(e)||"false"===e?"false":"contenteditable"===t&&Pn(e)?e:"true"}(e,n)):In(e)?Rn(n)?t.removeAttributeNS(jn,Mn(e)):t.setAttributeNS(jn,e,n):fa(t,e,n)}function fa(t,e,n){if(Rn(n))t.removeAttribute(e);else{if(W&&!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 va={create:da,update:da};function ha(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=Fn(a),l=i._transitionClasses;n(l)&&(o=qn(o,Un(l))),o!==i._prevClass&&(i.setAttribute("class",o),i._prevClass=o)}}var ma,ga,_a,ya,ba,wa,xa={create:ha,update:ha},ka=/[\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 v=a-1,h=void 0;v>=0&&" "===(h=t.charAt(v));v--);h&&ka.test(h)||(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 Sa(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function $a(t,e,n,a,i){(t.props||(t.props=[])).push(Ma({name:e,value:n,dynamic:i},a)),t.plain=!1}function Ea(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 Na(t,e,n,a){t.attrsMap[e]=n,t.attrsList.push(Ma({name:e,value:n},a))}function Da(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 Oa(t,e,n){var a=ja(t,":"+e)||ja(t,"v-bind:"+e);if(null!=a)return Ca(a);if(!1!==n){var i=ja(t,e);if(null!=i)return JSON.stringify(i)}}function ja(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 Ia(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 Ra(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=Fa(e,r);t.model={value:"("+e+")",expression:JSON.stringify(e),callback:"function ($$v) {"+s+"}"}}function Fa(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(;!qa();)Ua(_a=Ba())?za(_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 qa(){return ya>=ma}function Ua(t){return 34===t||39===t}function Ha(t){var e=1;for(ba=ya;!qa();)if(Ua(t=Ba()))za(t);else if(91===t&&e++,93===t&&e--,0===e){wa=ya;break}}function za(t){for(var e=t;!qa()&&(t=Ba())!==e;);}var Va;function Qa(t,e,n){var a=Va;return function i(){var r=e.apply(null,arguments);null!==r&&Ka(t,i,n,a)}}var Wa=Vt&&!(J&&Number(J[1])<=53);function Ga(t,e,n,a){if(Wa){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=W?"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,Qa,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)?S(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(k(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 vi(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 hi(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",xi="animationend";_i&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(yi="WebkitTransition",bi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(wi="WebkitAnimation",xi="webkitAnimationEnd"));var ki=H?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Ci(t){ki((function(){ki(t)}))}function Ai(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),vi(t,e))}function Ti(t,e){t._transitionClasses&&h(t._transitionClasses,e),hi(t,e)}function Si(t,e,n){var a=Ei(t,e),i=a.type,r=a.timeout,s=a.propCount;if(!i)return n();var o="transition"===i?bi:xi,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 $i=/\b(transform|all)(,|$)/;function Ei(t,e){var n,a=window.getComputedStyle(t),i=(a[yi+"Delay"]||"").split(", "),r=(a[yi+"Duration"]||"").split(", "),s=Ni(i,r),o=(a[wi+"Delay"]||"").split(", "),l=(a[wi+"Duration"]||"").split(", "),c=Ni(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&&$i.test(a[yi+"Property"])}}function Ni(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Di(e)+Di(t[n])})))}function Di(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,v=s.appearToClass,h=s.appearActiveClass,m=s.beforeEnter,g=s.enter,_=s.afterEnter,y=s.enterCancelled,b=s.beforeAppear,w=s.appear,x=s.afterAppear,k=s.appearCancelled,C=s.duration,A=We,T=We.$vnode;T&&T.parent;)A=T.context,T=T.parent;var S=!A._isMounted||!t.isRootInsert;if(!S||w||""===w){var $=S&&f?f:c,E=S&&h?h:p,N=S&&v?v:u,D=S&&b||m,L=S&&"function"==typeof w?w:g,O=S&&x||_,j=S&&k||y,I=d(r(C)?C.enter:C),M=!1!==o&&!G,R=ji(L),F=i._enterCb=P((function(){M&&(Ti(i,N),Ti(i,E)),F.cancelled?(M&&Ti(i,$),j&&j(i)):O&&O(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,F)})),D&&D(i),M&&(Ai(i,$),Ai(i,E),Ci((function(){Ti(i,$),F.cancelled||(Ai(i,N),R||(Oi(I)?setTimeout(F,I):Si(i,l,F)))}))),t.data.show&&(a&&a(),L&&L(i,F)),M||R||F()}}}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,v=s.leave,h=s.afterLeave,m=s.leaveCancelled,g=s.delayLeave,_=s.duration,y=!1!==o&&!G,b=ji(v),w=d(r(_)?_.leave:_),x=i._leaveCb=P((function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),y&&(Ti(i,u),Ti(i,p)),x.cancelled?(y&&Ti(i,c),m&&m(i)):(a(),h&&h(i)),i._leaveCb=null}));g?g(k):k()}function k(){x.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),x.cancelled||(Ai(i,u),b||(Oi(w)?setTimeout(x,w):Si(i,l,x)))}))),v&&v(i,x),y||b||x())}}function Oi(t){return"number"==typeof t&&!isNaN(t)}function ji(t){if(e(t))return!1;var a=t.fns;return n(a)?ji(Array.isArray(a)?a[0]:a):(t._length||t.length)>1}function Ii(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),v(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}v(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),h(t,p,e),n(d)&&g(t,e),v(i,t.elm,r)):a(t.isComment)?(t.elm=c.createComment(t.text),v(i,t.elm,r)):(t.elm=c.createTextNode(t.text),v(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 v(t,e,a){n(t)&&(n(a)?c.parentNode(a)===t&&c.insertBefore(t,e,a):c.appendChild(t,e))}function h(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=We)&&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)?(x(i),b(i)):u(i.elm))}}function x(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)&&x(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 k(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)?S(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,v=i.data;n(v)&&n(f=v.hook)&&n(f=f.prepatch)&&f(t,i);var h=t.children,g=i.children;if(n(v)&&m(i)){for(f=0;f<o.update.length;++f)o.update[f](t,i);n(f=v.hook)&&n(f=f.update)&&f(t,i)}e(i.text)?n(h)&&n(g)?h!==g&&function(t,a,i,r,s){for(var o,l,u,p=0,f=0,v=a.length-1,h=a[0],m=a[v],g=i.length-1,_=i[0],b=i[g],x=!s;p<=v&&f<=g;)e(h)?h=a[++p]:e(m)?m=a[--v]:na(h,_)?(C(h,_,r,i,f),h=a[++p],_=i[++f]):na(m,b)?(C(m,b,r,i,g),m=a[--v],b=i[--g]):na(h,b)?(C(h,b,r,i,g),x&&c.insertBefore(t,h.elm,c.nextSibling(m.elm)),h=a[++p],b=i[--g]):na(m,_)?(C(m,_,r,i,f),x&&c.insertBefore(t,m.elm,h.elm),m=a[--v],_=i[++f]):(e(o)&&(o=aa(a,p,v)),e(l=n(_.key)?o[_.key]:k(_,a,p,v))?d(_,r,t,h.elm,!1,i,f):na(u=a[l],_)?(C(u,_,r,i,f),a[l]=void 0,x&&c.insertBefore(t,u.elm,h.elm)):d(_,r,t,h.elm,!1,i,f),_=i[++f]);p>v?y(t,e(i[g+1])?null:i[g+1].elm,i,f,g,r):f>g&&w(a,p,v)}(p,h,g,r,u):n(g)?(n(t.text)&&c.setTextContent(p,""),y(p,null,g,0,g.length-1,r)):n(h)?w(h,0,h.length-1):n(t.text)&&c.setTextContent(p,""):t.text!==i.text&&c.setTextContent(p,i.text),n(v)&&n(f=v.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 S(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||!S(d,c[p],i,r)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else h(e,c,i);if(n(l)){var v=!1;for(var m in l)if(!T(m)){v=!0,g(e,i);break}!v&&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)&&S(t,i,p))return A(i,p,!0),t;l=t,t=new pt(c.tagName(l).toLowerCase(),{},[],void 0,l)}var v=t.elm,h=c.parentNode(v);if(d(i,p,v._leaveCb?null:h,c.nextSibling(v)),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 x=0;x<o.create.length;++x)o.create[x](ta,g);var k=g.data.hook.insert;if(k.merged)for(var T=1;T<k.fns.length;T++)k.fns[T]()}else Zn(g);g=g.parent}n(h)?w([t],0,0):n(t.tag)&&b(t)}}return A(i,p,u),i.elm}n(t)&&b(t)}}({nodeOps:Jn,modules:[va,xa,Xa,ei,pi,H?{create:Ii,activate:Ii,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 Ri={inserted:function(t,e,n,a){"select"===n.tag?(a.elm&&!a.elm._vOptions?re(n,"postpatch",(function(){Ri.componentUpdated(t,e,n)})):Fi(t,e,n.context),t._vOptions=[].map.call(t.options,Ui)):("textarea"===n.tag||Kn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Hi),t.addEventListener("compositionend",zi),t.addEventListener("change",zi),G&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Fi(t,e,n.context);var a=t._vOptions,i=t._vOptions=[].map.call(t.options,Ui);if(i.some((function(t,e){return!D(t,a[e])})))(t.multiple?e.value.some((function(t){return qi(t,i)})):e.value!==e.oldValue&&qi(e.value,i))&&Vi(t,"change")}}};function Fi(t,e,n){Bi(t,e),(W||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,Ui(s))>-1,s.selected!==r&&(s.selected=r);else if(D(Ui(s),a))return void(t.selectedIndex!==o&&(t.selectedIndex=o));i||(t.selectedIndex=-1)}}function qi(t,e){return e.every((function(e){return!D(e,t)}))}function Ui(t){return"_value"in t?t._value:t.value}function Hi(t){t.target.composing=!0}function zi(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 Qi(t){return!t.componentInstance||t.data&&t.data.transition?t:Qi(t.componentInstance._vnode)}var Wi={model:Ri,show:{bind:function(t,e,n){var a=e.value,i=(n=Qi(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=Qi(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(Ue(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||qe(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)&&!qe(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(qe(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){hi(n,t)})),vi(n,e),n.style.display="none",this.$el.appendChild(n);var a=Ei(n);return this.$el.removeChild(n),this._hasMove=a.hasTransform}}}};wn.config.mustUseProp=Dn,wn.config.isReservedTag=Qn,wn.config.isReservedAttr=En,wn.config.getTagNamespace=Wn,wn.config.isUnknownElement=function(t){if(!H)return!0;if(Qn(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,Wi),T(wn.options.components,rr),wn.prototype.__patch__=H?Mi:$,wn.prototype.$mount=function(t,e){return function(t,e,n){var a;return t.$el=e,t.$options.render||(t.$options.render=vt),Je(t,"beforeMount"),a=function(){t._update(t._render(),n)},new un(t,a,$,{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(){I.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=ja(t,"class");n&&(t.staticClass=JSON.stringify(n));var a=Oa(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=ja(t,"style");n&&(t.staticStyle=JSON.stringify(ni(n)));var a=Oa(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"),vr=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),hr=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*(\/?)>/,xr=new RegExp("^<\\/"+yr+"[^>]*>"),kr=/^<!DOCTYPE [^>]+>/i,Cr=/^<!\--/,Ar=/^<!\[/,Tr=p("script,style,textarea",!0),Sr={},$r={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},Er=/&(?:lt|gt|quot|amp|#39);/g,Nr=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Dr=p("pre,textarea",!0),Lr=function(t,e){return t&&Dr(t)&&"\n"===e[0]};function Pr(t,e){var n=e?Nr:Er;return t.replace(n,(function(t){return $r[t]}))}var Or,jr,Ir,Mr,Rr,Fr,Br,qr,Ur=/^@|^v-on:/,Hr=/^v-|^@|^:|^#/,zr=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Vr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Qr=/^\(|\)$/g,Wr=/^\[.*\]$/,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){Or=e.warn||Ta,Fr=e.isPreTag||E,Br=e.mustUseProp||E,qr=e.getTagNamespace||E;e.isReservedTag;Ir=Sa(e.modules,"transformNode"),Mr=Sa(e.modules,"preTransformNode"),Rr=Sa(e.modules,"postTransformNode"),jr=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),Fr(t.tag)&&(l=!1);for(var d=0;d<Rr.length;d++)Rr[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||E,o=e.canBeLeftOpenTag||E,l=0;t;){if(n=t,a&&Tr(a)){var c=0,u=a.toLowerCase(),d=Sr[u]||(Sr[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 v=t.indexOf("--\x3e");if(v>=0){e.shouldKeepComment&&e.comment(t.substring(4,v),l,l+v+3),k(v+3);continue}}if(Ar.test(t)){var h=t.indexOf("]>");if(h>=0){k(h+2);continue}}var m=t.match(kr);if(m){k(m[0].length);continue}var g=t.match(xr);if(g){var _=l;k(g[0].length),T(g[1],_,l);continue}var y=C();if(y){A(y),Lr(y.tagName,t)&&k(1);continue}}var b=void 0,w=void 0,x=void 0;if(f>=0){for(w=t.slice(f);!(xr.test(w)||br.test(w)||Cr.test(w)||Ar.test(w)||(x=w.indexOf("<",1))<0);)f+=x,w=t.slice(f);b=t.substring(0,f)}f<0&&(b=t),b&&k(b.length),e.chars&&b&&e.chars(b,l-b.length,l)}if(t===n){e.chars&&e.chars(t);break}}function k(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(k(e[0].length);!(n=t.match(wr))&&(a=t.match(gr)||t.match(mr));)a.start=l,k(a[0].length),a.end=l,i.attrs.push(a);if(n)return i.unarySlash=n[1],k(n[0].length),i.end=l,i}}function A(t){var n=t.tagName,l=t.unarySlash;r&&("p"===a&&hr(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],v=f[3]||f[4]||f[5]||"",h="a"===n&&"href"===f[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;d[p]={name:f[1],value:Pr(v,h)}}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:Or,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||qr(t);W&&"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,v=es(t,r,a);p&&(v.ns=p),"style"!==(f=v).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||et()||(v.forbidden=!0);for(var h=0;h<Mr.length;h++)v=Mr[h](v,e)||v;o||(!function(t){null!=ja(t,"v-pre")&&(t.pre=!0)}(v),v.pre&&(o=!0)),Fr(v.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)}(v):v.processed||(is(v),function(t){var e=ja(t,"v-if");if(e)t.if=e,rs(t,{exp:e,block:t});else{null!=ja(t,"v-else")&&(t.else=!0);var n=ja(t,"v-else-if");n&&(t.elseif=n)}}(v),function(t){null!=ja(t,"v-once")&&(t.once=!0)}(v)),n||(n=v),s?c(v):(a=v,i.push(v))},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&&(!W||"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,jr))?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=Oa(n=t,"key"))&&(n.key=a),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=Oa(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=ja(t,"scope"),t.slotScope=e||ja(t,"slot-scope")):(e=ja(t,"slot-scope"))&&(t.slotScope=e);var n=Oa(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Ea(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=Ia(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=Ia(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=Oa(t,"name"))}(t),function(t){var e;(e=Oa(t,"is"))&&(t.component=e);null!=ja(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var i=0;i<Ir.length;i++)t=Ir[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=Wr.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=Fa(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]),k(a)!==b(a)&&Pa(t,"update:"+k(a),o,null,!1,0,c[e])))),s&&s.prop||!t.component&&Br(t.tag,t.attrsMap.type,a)?$a(t,a,r,c[e],l):Ea(t,a,r,c[e],l);else if(Ur.test(a))a=a.replace(Ur,""),(l=Wr.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)),Wr.test(d)&&(d=d.slice(1,-1),l=!0)),Da(t,a,i,r,d,l,s,c[e])}else Ea(t,a,JSON.stringify(r),c[e]),!t.component&&"muted"===a&&Br(t.tag,t.attrsMap.type,a)&&$a(t,a,"true",c[e])}(t),t}function is(t){var e;if(e=ja(t,"v-for")){var n=function(t){var e=t.match(zr);if(!e)return;var n={};n.for=e[2].trim();var a=e[1].trim().replace(Qr,""),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"),Wr.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=Oa(t,"type")),a.type||n||!a["v-bind"]||(n="("+a["v-bind"]+").type"),n){var i=ja(t,"v-if",!0),r=i?"&&("+i+")":"",s=null!=ja(t,"v-else",!0),o=ja(t,"v-else-if",!0),l=ds(t);is(l),Na(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);ja(c,"v-for",!0),Na(c,"type","radio"),as(c,e),rs(l,{exp:"("+n+")==='radio'"+r,block:c});var u=ds(t);return ja(u,"v-for",!0),Na(u,":type",n),as(u,e),rs(l,{exp:i,block:u}),s?l.else=!0:o&&(l.elseif=o),l}}}}];var fs,vs,hs={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 Ra(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+" "+Fa(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=Oa(t,"value")||"null",r=Oa(t,"true-value")||"true",s=Oa(t,"false-value")||"false";$a(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&&("+Fa(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Fa(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Fa(e,"$$c")+"}",null,!0)}(t,a,i);else if("input"===r&&"radio"===s)!function(t,e,n){var a=n&&n.number,i=Oa(t,"value")||"null";$a(t,"checked","_q("+e+","+(i=a?"_n("+i+")":i)+")"),Pa(t,"change",Fa(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=Fa(e,u);l&&(d="if($event.target.composing)return;"+d);$a(t,"value","("+e+")"),Pa(t,c,d,null,!0),(o||s)&&Pa(t,"blur","$forceUpdate()")}(t,a,i);else if(!I.isReservedTag(r))return Ra(t,a,i),!1;return!0},text:function(t,e){e.value&&$a(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&$a(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:fr,mustUseProp:Dn,canBeLeftOpenTag:vr,isReservedTag:Qn,getTagNamespace:Wn,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||""),vs=e.isReservedTag||E,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)||!vs(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(!vs(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]},xs={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"]},ks=function(t){return"if("+t+")return null;"},Cs={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ks("$event.target !== $event.currentTarget"),ctrl:ks("!$event.ctrlKey"),shift:ks("!$event.shiftKey"),alt:ks("!$event.altKey"),meta:ks("!$event.metaKey"),left:ks("'button' in $event && $event.button !== 0"),middle:ks("'button' in $event && $event.button !== 1"),right:ks("'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+=ks(["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(Ss).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 Ss(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=ws[t],a=xs[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(a)+")"}var $s={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:$},Es=function(t){this.options=t,this.warn=t.warn||Ta,this.transforms=Sa(t.modules,"transformCode"),this.dataGenFns=Sa(t.modules,"genData"),this.directives=T(T({},$s),t.directives);var e=t.isReservedTag||E;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ns(t,e){var n=new Es(e);return{render:"with(this){return "+(t?Ds(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ds(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 js(t,e);if(t.if&&!t.ifProcessed)return Os(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',a=Fs(t,e),i="_t("+n+(a?","+a:""),r=t.attrs||t.dynamicAttrs?Us((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:Fs(e,n,!0);return"_c("+t+","+Is(e,n)+(a?","+a:"")+")"}(t.component,t,e);else{var a;(!t.plain||t.pre&&e.maybeComponent(t))&&(a=Is(t,e));var i=t.inlineTemplate?null:Fs(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 Fs(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 "+Ds(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 Os(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("+Ds(t,e)+","+e.onceId+++","+n+")":Ds(t,e)}return Ls(t,e)}function Os(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):Ds(t,n)}}(t.ifConditions.slice(),e,n,a)}function js(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||Ds)(t,e)+"})"}function Is(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:"+Us(t.attrs)+","),t.props&&(n+="domProps:"+Us(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 Rs(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=Ns(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+'",'+Us(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 Rs(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Os(t,e,Rs,"null");if(t.for&&!t.forProcessed)return js(t,e,Rs);var a="_empty_"===t.slotScope?"":String(t.slotScope),i="function("+a+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Fs(t,e)||"undefined")+":undefined":Fs(t,e)||"undefined":Ds(t,e))+"}",r=a?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+i+r+"}"}function Fs(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||Ds)(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||qs;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 qs(t,e){return 1===t.type?Ds(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 Us(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 zs(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),$}}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=zs(s.render,l),o.staticRenderFns=s.staticRenderFns.map((function(t){return zs(t,l)})),e[r]=o}}var Qs,Ws,Gs=(Qs=function(t,e){var n=ns(t.trim(),e);!1!==e.optimize&&gs(n,e);var a=Ns(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=Qs(e.trim(),a);return o.errors=i,o.tips=r,o}return{compile:e,compileToFunctions:Vs(e)}})(hs).compileToFunctions;function Ks(t){return(Ws=Ws||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Ws.innerHTML.indexOf(" ")>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;var to="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function eo(t,e){return t(e={exports:{}},e.exports),e.exports}var no=eo((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:to,(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={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},h=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!v(t)&&!h(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||v(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 x=
|
||
/*!
|
||
* 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,v,h,m,g,_,y,b="sizzle"+1*new Date,w=t.document,x=0,k=0,C=lt(),A=lt(),T=lt(),S=lt(),$=function(t,e){return t===e&&(d=!0),0},E={}.hasOwnProperty,N=[],D=N.pop,L=N.push,P=N.push,O=N.slice,j=function(t,e){for(var n=0,a=t.length;n<a;n++)if(t[n]===e)return n;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",R="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\["+M+"*("+R+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+M+"*\\]",B=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",q=new RegExp(M+"+","g"),U=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),H=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),V=new RegExp(M+"|>"),Q=new RegExp(B),W=new RegExp("^"+R+"$"),G={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+F),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("^(?:"+I+")$","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(N=O.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(t){P={apply:N.length?function(t,e){L.apply(t,O.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,v,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,h)){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&&!S[t+" "]&&(!m||!m.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(g=t,_=e,1===w&&(V.test(t)||z.test(t))){for((_=tt.test(t)&>(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(at,it):e.setAttribute("id",u=b)),o=(v=s(t)).length;o--;)v[o]=(u?"#"+u:":scope")+" "+yt(v[o]);g=v.join(",")}try{return P.apply(a,_.querySelectorAll(g)),a}catch(e){S(t,!0)}finally{u===b&&e.removeAttribute("id")}}}return l(t.replace(U,"$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 vt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function ht(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?(v=(f=s).documentElement,h=!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 v.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 v.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&&h){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&&h){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&&h)return e.getElementsByClassName(t)},g=[],m=[],(n.qsa=X.test(f.querySelectorAll))&&(ut((function(t){var e;v.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|"+I+")"),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"),v.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=X.test(_=v.matches||v.webkitMatchesSelector||v.mozMatchesSelector||v.oMatchesSelector||v.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(v.compareDocumentPosition),y=e||X.test(v.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},$=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?j(u,t)-j(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?j(u,t)-j(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&&h&&!S[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){S(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&&E.call(a.attrHandle,e.toLowerCase())?i(t,e,!h):void 0;return void 0!==r?r:n.attributes||!h?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($),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&&Q.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(q," ")+" ").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,v,h=r!==s?"nextSibling":"previousSibling",m=e.parentNode,g=o&&e.nodeName.toLowerCase(),_=!l&&!o,y=!1;if(m){if(r){for(;h;){for(p=e;p=p[h];)if(o?p.nodeName.toLowerCase()===g:1===p.nodeType)return!1;v=h="only"===t&&!v&&"nextSibling"}return!0}if(v=[s?m.firstChild:m.lastChild],s&&_){for(y=(f=(c=(u=(d=(p=m)[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===x&&c[1])&&c[2],p=f&&m.childNodes[f];p=++f&&p&&p[h]||(y=f=0)||v.pop();)if(1===p.nodeType&&++y&&p===e){u[t]=[x,f,y];break}}else if(_&&(y=f=(c=(u=(d=(p=e)[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===x&&c[1]),!1===y)for(;(p=++f&&p&&p[h]||(y=f=0)||v.pop())&&((o?p.nodeName.toLowerCase()!==g:1!==p.nodeType)||!++y||(_&&((u=(d=p[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]=[x,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=j(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(U,"$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 W.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=h?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===v},focus:function(t){return t===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:ht(!1),disabled:ht(!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]=vt(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=k++;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=[x,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]===x&&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 xt(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 kt(t,e,n,a,i,r){return a&&!a[b]&&(a=kt(a)),i&&!i[b]&&(i=kt(i,r)),ct((function(r,s,o,l){var c,u,d,p=[],f=[],v=s.length,h=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?h:xt(h,p,t,o,l),g=n?i||(r?t:v||a)?[]:s:m;if(n&&n(m,g,o,l),a)for(c=xt(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?j(r,d):p[u])>-1&&(r[c]=!(s[c]=d))}}else g=xt(g===s?g.splice(v,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 j(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 kt(l>1&&wt(p),l>1&&yt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(U,"$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=z.exec(o))&&(n=i.shift(),r.push({value:n,type:i[0].replace(U," ")}),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,v,m,g=0,_="0",y=r&&[],b=[],w=c,k=r||i&&a.find.TAG("*",u),C=x+=null==w?1:Math.random()||.1,A=k.length;for(u&&(c=s==f||s||u);_!==A&&null!=(d=k[_]);_++){if(i&&d){for(v=0,s||d.ownerDocument==f||(p(d),o=!h);m=t[v++];)if(m(d,s||f,o)){l.push(d);break}u&&(x=C)}n&&((d=!m&&d)&&g--,r&&y.push(d))}if(g+=_,n&&_!==g){for(v=0;m=e[v++];)m(y,b,s,o);if(r){if(g>0)for(;_--;)y[_]||b[_]||(b[_]=D.call(l));b=xt(b)}P.apply(l,b),u&&!r&&b.length>0&&g+e.length>1&&ot.uniqueSort(l)}return u&&(x=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&&h&&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)&>(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,!h,n,!e||tt.test(t)&>(e.parentNode)||e),n},n.sortStable=b.split("").sort($).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(I,(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=x,b.expr=x.selectors,b.expr[":"]=b.expr.pseudos,b.uniqueSort=b.unique=x.uniqueSort,b.text=x.getText,b.isXMLDoc=x.isXML,b.contains=x.contains,b.escapeSelector=x.escape;var k=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 S=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function $(t,e,n){return v(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($(this,t||[],!1))},not:function(t){return this.pushStack($(this,t||[],!0))},is:function(t){return!!$(this,"string"==typeof t&&A.test(t)?b(t):t||[],!1).length}});var E,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(b.fn.init=function(t,e,n){var a,i;if(!t)return this;if(n=n||E,"string"==typeof t){if(!(a="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:N.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)),S.test(a[1])&&b.isPlainObject(e))for(a in e)v(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):v(t)?void 0!==n.ready?n.ready(t):t(b):b.makeArray(t,this)}).prototype=b.fn,E=b(m);var D=/^(?: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 k(t,"parentNode")},parentsUntil:function(t,e,n){return k(t,"parentNode",n)},next:function(t){return P(t,"nextSibling")},prev:function(t){return P(t,"previousSibling")},nextAll:function(t){return k(t,"nextSibling")},prevAll:function(t){return k(t,"previousSibling")},nextUntil:function(t,e,n){return k(t,"nextSibling",n)},prevUntil:function(t,e,n){return k(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),D.test(t)&&i.reverse()),this.pushStack(i)}}));var O=/[^\x20\t\r\n\f]+/g;function j(t){return t}function I(t){throw t}function M(t,e,n,a){var i;try{t&&v(i=t.promise)?i.call(t).done(e).fail(n):t&&v(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(O)||[],(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){v(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=v(t[a[4]])&&t[a[4]];r[a[1]]((function(){var t=i&&i.apply(this,arguments);t&&v(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,v(c)?i?c.call(t,s(r,n,j,i),s(r,n,I,i)):(r++,c.call(t,s(r,n,j,i),s(r,n,I,i),s(r,n,j,n.notifyWith))):(a!==j&&(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!==I&&(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,v(i)?i:j,t.notifyWith)),n[1][3].add(s(0,t,v(e)?e:j)),n[2][3].add(s(0,t,v(a)?a:I))})).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()||v(r[n]&&r[n].then)))return s.then();for(;n--;)M(r[n],o(n),s.reject);return s.promise()}});var R=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;b.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&R.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},b.readyException=function(e){t.setTimeout((function(){throw e}))};var F=b.Deferred();function B(){m.removeEventListener("DOMContentLoaded",B),t.removeEventListener("load",B),b.ready()}b.fn.ready=function(t){return F.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||F.resolveWith(m,[b]))}}),b.ready.then=F.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?t.setTimeout(b.ready):(m.addEventListener("DOMContentLoaded",B),t.addEventListener("load",B));var q=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)q(t,e,o,n[o],!0,r,s);else if(void 0!==a&&(i=!0,v(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},U=/^-ms-/,H=/-([a-z])/g;function z(t,e){return e.toUpperCase()}function V(t){return t.replace(U,"ms-").replace(H,z)}var Q=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function W(){this.expando=b.expando+W.uid++}W.uid=1,W.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Q(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(O)||[]).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 W,K=new W,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)})):q(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 vt(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 ht(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,v=t.length;f<v;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=vt(d.appendChild(r),"script"),c&&ht(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 xt(){return!1}function kt(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=xt;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,v,h,m=G.get(t);if(Q(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(O)||[""]).length;c--;)f=h=(o=bt.exec(e[c])||[])[1],v=(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:h,data:a,handler:n,guid:n.guid,selector:i,needsContext:i&&b.expr.match.needsContext.test(i),namespace:v.join(".")},r),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,a,v,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,v,h,m=G.hasData(t)&&G.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(O)||[""]).length;c--;)if(f=h=(o=bt.exec(e[c])||[])[1],v=(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("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)u=p[r],!i&&h!==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,v,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:v(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:xt,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:xt,isPropagationStopped:xt,isImmediatePropagationStopped:xt,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,kt),!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=xt),this.each((function(){b.event.remove(this,t,n,e)}))}});var Tt=/<script|<style|<link/i,St=/checked\s*(?:[^=]|=\s*.checked.)/i,$t=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Et(t,e){return T(t,"table")&&T(11!==e.nodeType?e:e.firstChild,"tr")&&b(t).children("tbody")[0]||t}function Nt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Dt(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 Ot(t,e,n,a){e=r(e);var i,s,o,l,c,u,d=0,p=t.length,h=p-1,m=e[0],g=v(m);if(g||p>1&&"string"==typeof m&&!f.checkClone&&St.test(m))return t.each((function(i){var r=t.eq(i);g&&(e[0]=m.call(this,i,r.html())),Ot(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(vt(i,"script"),Nt)).length;d<p;d++)c=i,d!==h&&(c=b.clone(c,!0,!0),l&&b.merge(o,vt(c,"script"))),n.call(t[d],c,d);if(l)for(u=o[o.length-1].ownerDocument,b.map(o,Dt),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($t,""),c,u))}return t}function jt(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(vt(a)),a.parentNode&&(n&&at(a)&&ht(vt(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=vt(o),a=0,i=(r=vt(t)).length;a<i;a++)Pt(r[a],s[a]);if(e)if(n)for(r=r||vt(t),s=s||vt(o),a=0,i=r.length;a<i;a++)Lt(r[a],s[a]);else Lt(t,o);return(s=vt(o,"script")).length>0&&ht(s,!l&&vt(t,"script")),o},cleanData:function(t){for(var e,n,a,i=b.event.special,r=0;void 0!==(n=t[r]);r++)if(Q(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 jt(this,t,!0)},remove:function(t){return jt(this,t)},text:function(t){return q(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 Ot(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Et(this,t).appendChild(t)}))},prepend:function(){return Ot(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Et(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Ot(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Ot(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(vt(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 q(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(vt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Ot(this,arguments,(function(e){var n=this.parentNode;b.inArray(this,t)<0&&(b.cleanData(vt(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 It=new RegExp("^("+Z+")(?!px)[a-z%]+$","i"),Mt=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},Rt=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},Ft=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()&&It.test(s)&&Ft.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 qt(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 Ut=["Webkit","Moz","ms"],Ht=m.createElement("div").style,zt={};function Vt(t){var e=b.cssProps[t]||zt[t];return e||(t in Ht?t:zt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Ut.length;n--;)if((t=Ut[n]+e)in Ht)return t}(t)||t)}var Qt=/^(none|table(?!-c[ea]).+)/,Wt=/^--/,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(It.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=Wt.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 Wt.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!Qt.test(b.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?Xt(t,e,a):Rt(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=qt(f.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Bt(t,"marginLeft"))||t.getBoundingClientRect().left-Rt(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 q(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 v(a.stop)&&(b._queueHooks(c.elem,c.opts.queue).stop=a.stop.bind(a)),a;return b.map(u,ce,c),v(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){v(t)?(e=t,t=["*"]):t=t.match(O);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={},v=t.style,h=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===(h?"hide":"show")){if("show"!==i||!m||void 0===m[a])continue;h=!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=[v.overflow,v.overflowX,v.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(){v.display=c})),null==c&&(u=v.display,c="none"===u?"":u)),v.display="inline-block")),n.overflow&&(v.overflow="hidden",p.always((function(){v.overflow=n.overflow[0],v.overflowX=n.overflow[1],v.overflowY=n.overflow[2]}))),l=!1,f)l||(m?"hidden"in m&&(h=m.hidden):m=G.access(t,"fxshow",{display:c}),r&&(m.hidden=!h),h&&ct([t],!0),p.done((function(){for(a in h||ct([t]),G.remove(t,"fxshow"),f)b.style(t,a,f[a])}))),l=ce(h?m[a]:0,a,p),a in m||(m[a]=l.start,h&&(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||v(t)&&t,duration:t,easing:n&&e||e&&!v(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(){v(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 q(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(O);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,ve=/^(?:a|area)$/i;function he(t){return(t.match(O)||[]).join(" ")}function me(t){return t.getAttribute&&t.getAttribute("class")||""}function ge(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(O)||[]}b.fn.extend({prop:function(t,e){return q(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)||ve.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(v(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&&" "+he(i)+" "){for(s=0;r=e[s++];)a.indexOf(" "+r+" ")<0&&(a+=r+" ");i!==(o=he(a))&&n.setAttribute("class",o)}return this},removeClass:function(t){var e,n,a,i,r,s,o,l=0;if(v(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&&" "+he(i)+" "){for(s=0;r=e[s++];)for(;a.indexOf(" "+r+" ")>-1;)a=a.replace(" "+r+" "," ");i!==(o=he(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):v(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&&(" "+he(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=v(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:he(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&&!h(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&&Q(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)||!Q(a)||c&&v(a[_])&&!h(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,xe={guid:Date.now()},ke=/\?/;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,Se=/^(?:input|select|textarea|keygen)/i;function $e(t,e,n,a){var i;if(Array.isArray(e))b.each(e,(function(e,i){n||Ce.test(t)?a(t,i):$e(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,a)}));else if(n||"object"!==y(e))a(t,e);else for(i in e)$e(t+"["+i+"]",e[i],n,a)}b.param=function(t,e){var n,a=[],i=function(t,e){var n=v(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)$e(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")&&Se.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 Ee=/%20/g,Ne=/#.*$/,De=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pe=/^(?:GET|HEAD)$/,Oe=/^\/\//,je={},Ie={},Me="*/".concat("*"),Re=m.createElement("a");function Fe(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var a,i=0,r=e.toLowerCase().match(O)||[];if(v(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===Ie;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 qe(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}Re.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?qe(qe(t,b.ajaxSettings),e):qe(b.ajaxSettings,t)},ajaxPrefilter:Fe(je),ajaxTransport:Fe(Ie),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),v=f.context||f,h=f.context&&(v.nodeType||v.jquery)?b(v):b.event,g=b.Deferred(),_=b.Callbacks("once memory"),y=f.statusCode||{},w={},x={},k="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=x[t.toLowerCase()]=x[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||k;return a&&a.abort(e),A(0,e),this}};if(g.promise(C),f.url=((e||f.url||we.href)+"").replace(Oe,we.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(O)||[""],null==f.crossDomain){l=m.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Re.protocol+"//"+Re.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(je,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(Ne,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Ee,"+")):(p=f.url.slice(i.length),f.data&&(f.processData||"string"==typeof f.data)&&(i+=(ke.test(i)?"&":"?")+f.data,delete f.data),!1===f.cache&&(i=i.replace(De,"$1"),p=(ke.test(i)?"&":"?")+"_="+xe.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(v,C,f)||c))return C.abort();if(k="abort",_.add(f.complete),C.done(f.success),C.fail(f.error),a=Be(Ie,f,n,C)){if(C.readyState=1,u&&h.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,x,k=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&&((x=C.getResponseHeader("Last-Modified"))&&(b.lastModified[i]=x),(x=C.getResponseHeader("etag"))&&(b.etag[i]=x)),204===e||"HEAD"===f.type?k="nocontent":304===e?k="notmodified":(k=w.state,p=w.data,d=!(m=w.error))):(m=k,!e&&k||(k="error",e<0&&(e=0))),C.status=e,C.statusText=(n||k)+"",d?g.resolveWith(v,[p,k,C]):g.rejectWith(v,[C,k,m]),C.statusCode(y),y=void 0,u&&h.trigger(d?"ajaxSuccess":"ajaxError",[C,f,d?p:m]),_.fireWith(v,[C,k]),u&&(h.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 v(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]&&(v(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 v(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=v(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 Ue={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(Ue[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 ze,Ve=[],Qe=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ve.pop()||b.expando+"_"+xe.guid++;return this[t]=!0,t}}),b.ajaxPrefilter("json jsonp",(function(e,n,a){var i,r,s,o=!1!==e.jsonp&&(Qe.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qe.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(Qe,"$1"+i):!1!==e.jsonp&&(e.url+=(ke.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&&v(r)&&r(s[0]),s=r=void 0})),"script"})),f.createHTMLDocument=((ze=m.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===ze.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=S.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=he(t.slice(o)),t=t.slice(0,o)),v(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),v(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 q(this,(function(t,a,i){var r;if(h(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]=qt(f.pixelPosition,(function(t,n){if(n)return n=Bt(t,e),It.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 q(this,(function(e,n,i){var r;return h(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 We=/^[\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),v(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=v,b.isWindow=h,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(We,"")};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 ao,ro=!0;var so={init:function(){ao=document.getElementById("preview-track"),ao.volume=1,ao.addEventListener("canplay",(function(){ro=!1})),ao.addEventListener("timeupdate",(function(){ao.currentTime>ao.duration-1&&(ro=!0)}))},stopStackedTabsPreview:function(){no(".preview_playlist_controls").filter((function(){return no(this).attr("playing")})).length>0&&(no(ao).animate({volume:0},800),ro=!0,no(".preview_playlist_controls").removeAttr("playing"),no(".preview_playlist_controls").text("play_arrow"))},previewMouseEnter:function(t){no(t.currentTarget).css({opacity:1})},previewMouseLeave:function(t){const{currentTarget:e}=t;(no(e).parent().attr("playing")&&ro||!no(e).parent().attr("playing"))&&no(e).css({opacity:0},200)},playPausePreview:function(t){t.preventDefault();const{currentTarget:e}=event;var n="I"==e.tagName?no(e):no(e).children("i");no(e).attr("playing")?ao.paused?(ao.play(),ro=!1,n.text("pause"),no(ao).animate({volume:vol.preview_max_volume/100},500)):(ro=!0,n.text("play_arrow"),no(ao).animate({volume:0},250,"swing",()=>{ao.pause()})):(no("*").removeAttr("playing"),no(e).attr("playing",!0),no(".preview_controls").text("play_arrow"),no(".preview_playlist_controls").text("play_arrow"),no(".preview_controls").css({opacity:0}),n.text("pause"),n.css({opacity:1}),ro=!1,no(ao).animate({volume:0},250,"swing",()=>{ao.pause(),no("#preview-track_source").prop("src",no(e).data("preview")),ao.load()}))}};const oo=io.connect(window.location.href);oo.on("connect",()=>{document.getElementById("start_app_placeholder").classList.add("loading_placeholder--hidden")});var lo=new wn;function co(t,e){const{currentTarget:{dataset:{id:n}}}=e;switch(t){case"artist":lo.$emit("artistTab:reset");break;case"album":case"playlist":case"spotifyplaylist":lo.$emit("tracklistTab:reset")}oo.emit("getTracklist",{type:t,id:n}),po(t,n)}function uo(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&&(lo.$emit("settingsTab:revertSettings"),lo.$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)&&lo.$emit("mainSearch:checkLoadMoreContent",window.search_selected)}function po(t,e,n=!1){0===window.windows_stack.length?window.windows_stack.push({tab:window.main_selected}):n||("artist"===window.currentStack.type&&lo.$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",so.stopStackedTabsPreview()}function fo(){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?(lo.$emit("artistTab:reset"),a&&lo.$emit("artistTab:changeTab",a)):lo.$emit("tracklistTab:reset"),oo.emit("getTracklist",{type:e,id:n}),po(e,n,!0)}so.stopStackedTabsPreview()}function vo(){uo(document.getElementById("main_home_tablink"),"main","home_tab"),Array.prototype.slice.call(document.getElementsByClassName("back-button")).forEach(t=>{t.addEventListener("click",fo)})}window.search_selected="",window.main_selected="",window.windows_stack=[],window.currentStack={};const ho={name:"the-sidebar",data:()=>({appOnline:null,activeTheme:"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&&uo(n,"main",a)}}};var mo=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{attrs:{id:"sidebar",role:"navigation"},on:{click:t.handleSidebarClick}},[t._m(0),t._v(" "),t._m(1),t._v(" "),t._m(2),t._v(" "),t._m(3),t._v(" "),t._m(4),t._v(" "),t._m(5),t._v(" "),t._m(6),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"}},[n("div",{staticClass:"theme_toggler theme_toggler--purple",class:{"theme_toggler--active":"purple"===t.activeTheme},on:{click:function(e){return t.changeTheme("purple")}}}),t._v(" "),n("div",{staticClass:"theme_toggler theme_toggler--dark",class:{"theme_toggler--active":"dark"===t.activeTheme},on:{click:function(e){return t.changeTheme("dark")}}}),t._v(" "),n("div",{staticClass:"theme_toggler theme_toggler--light",class:{"theme_toggler--active":"light"===t.activeTheme},on:{click:function(e){return t.changeTheme("light")}}})])]),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"}})])])])])};mo._withStripped=!0;var go=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:mo,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"main_tablinks",attrs:{id:"main_home_tablink",role:"link","aria-label":"home"}},[e("i",{staticClass:"material-icons side_icon"},[this._v("home")]),this._v(" "),e("span",{staticClass:"main_tablinks_text"},[this._v("Home")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"main_tablinks",attrs:{id:"main_search_tablink",role:"link","aria-label":"search"}},[e("i",{staticClass:"material-icons side_icon"},[this._v("search")]),this._v(" "),e("span",{staticClass:"main_tablinks_text"},[this._v("Search")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"main_tablinks",attrs:{id:"main_charts_tablink",role:"link","aria-label":"charts"}},[e("i",{staticClass:"material-icons side_icon"},[this._v("bubble_chart")]),this._v(" "),e("span",{staticClass:"main_tablinks_text"},[this._v("Charts")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"main_tablinks",attrs:{id:"main_favorites_tablink",role:"link","aria-label":"favorites"}},[e("i",{staticClass:"material-icons side_icon"},[this._v("album")]),this._v(" "),e("span",{staticClass:"main_tablinks_text"},[this._v("Favorites")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"main_tablinks",attrs:{id:"main_analyzer_tablink",role:"link","aria-label":"link analyzer"}},[e("i",{staticClass:"material-icons side_icon"},[this._v("link")]),this._v(" "),e("span",{staticClass:"main_tablinks_text"},[this._v("Link Analyzer")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"main_tablinks",attrs:{id:"main_settings_tablink",role:"link","aria-label":"settings"}},[e("i",{staticClass:"material-icons side_icon"},[this._v("settings")]),this._v(" "),e("span",{staticClass:"main_tablinks_text"},[this._v("Settings")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"main_tablinks",attrs:{id:"main_about_tablink",role:"link","aria-label":"info"}},[e("i",{staticClass:"material-icons side_icon"},[this._v("info")]),this._v(" "),e("span",{staticClass:"main_tablinks_text"},[this._v("About")])])}]},(function(t){t&&t("data-v-3224c55a_0",{source:"\n#network-status[data-v-3224c55a] {\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tmargin-top: auto;\r\n\tbottom: 0;\n}\n#network-status.online i.material-icons[data-v-3224c55a] {\r\n\tcolor: hsl(151, 100%, 31%);\n}\n#network-status.offline i.material-icons svg[data-v-3224c55a] {\r\n\tfill: red;\r\n\twidth: 1em;\r\n\theight: 1em;\n}\r\n",map:{version:3,sources:["C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\components\\TheSidebar.vue"],names:[],mappings:";AAkEA;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>\r\n\t<aside id="sidebar" role="navigation" @click="handleSidebarClick">\r\n\t\t<span id="main_home_tablink" class="main_tablinks" role="link" aria-label="home">\r\n\t\t\t<i class="material-icons side_icon">home</i>\r\n\t\t\t<span class="main_tablinks_text">Home</span>\r\n\t\t</span>\r\n\t\t<span id="main_search_tablink" class="main_tablinks" role="link" aria-label="search">\r\n\t\t\t<i class="material-icons side_icon">search</i>\r\n\t\t\t<span class="main_tablinks_text">Search</span>\r\n\t\t</span>\r\n\t\t<span id="main_charts_tablink" class="main_tablinks" role="link" aria-label="charts">\r\n\t\t\t<i class="material-icons side_icon">bubble_chart</i>\r\n\t\t\t<span class="main_tablinks_text">Charts</span>\r\n\t\t</span>\r\n\t\t<span id="main_favorites_tablink" class="main_tablinks" role="link" aria-label="favorites">\r\n\t\t\t<i class="material-icons side_icon">album</i>\r\n\t\t\t<span class="main_tablinks_text">Favorites</span>\r\n\t\t</span>\r\n\t\t<span id="main_analyzer_tablink" class="main_tablinks" role="link" aria-label="link analyzer">\r\n\t\t\t<i class="material-icons side_icon">link</i>\r\n\t\t\t<span class="main_tablinks_text">Link Analyzer</span>\r\n\t\t</span>\r\n\t\t<span id="main_settings_tablink" class="main_tablinks" role="link" aria-label="settings">\r\n\t\t\t<i class="material-icons side_icon">settings</i>\r\n\t\t\t<span class="main_tablinks_text">Settings</span>\r\n\t\t</span>\r\n\t\t<span id="main_about_tablink" class="main_tablinks" role="link" aria-label="info">\r\n\t\t\t<i class="material-icons side_icon">info</i>\r\n\t\t\t<span class="main_tablinks_text">About</span>\r\n\t\t</span>\r\n\t\t<span id="theme_selector" class="main_tablinks" role="link" aria-label="theme selector">\r\n\t\t\t<i class="material-icons side_icon side_icon--theme">palette</i>\r\n\t\t\t<div id="theme_togglers">\r\n\t\t\t\t<div\r\n\t\t\t\t\tclass="theme_toggler theme_toggler--purple"\r\n\t\t\t\t\t:class="{ \'theme_toggler--active\': activeTheme === \'purple\' }"\r\n\t\t\t\t\t@click="changeTheme(\'purple\')"\r\n\t\t\t\t/>\r\n\t\t\t\t<div\r\n\t\t\t\t\tclass="theme_toggler theme_toggler--dark"\r\n\t\t\t\t\t:class="{ \'theme_toggler--active\': activeTheme === \'dark\' }"\r\n\t\t\t\t\t@click="changeTheme(\'dark\')"\r\n\t\t\t\t/>\r\n\t\t\t\t<div\r\n\t\t\t\t\tclass="theme_toggler theme_toggler--light"\r\n\t\t\t\t\t:class="{ \'theme_toggler--active\': activeTheme === \'light\' }"\r\n\t\t\t\t\t@click="changeTheme(\'light\')"\r\n\t\t\t\t/>\r\n\t\t\t</div>\r\n\t\t</span>\r\n\t\t<div id="network-status" :class="{ online: appOnline, offline: !appOnline }">\r\n\t\t\t<i v-if="appOnline" class="material-icons">wifi</i>\r\n\t\t\t<i v-else class="material-icons">\r\n\t\t\t\t\x3c!-- wifi_off icon not working, maybe need to include it? --\x3e\r\n\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\r\n\t\t\t\t\t<path d="M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none" />\r\n\t\t\t\t\t<path\r\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"\r\n\t\t\t\t\t/>\r\n\t\t\t\t</svg>\r\n\t\t\t</i>\r\n\t\t</div>\r\n\t</aside>\r\n</template>\r\n\r\n<style scoped>\r\n#network-status {\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tmargin-top: auto;\r\n\tbottom: 0;\r\n}\r\n\r\n#network-status.online i.material-icons {\r\n\tcolor: hsl(151, 100%, 31%);\r\n}\r\n\r\n#network-status.offline i.material-icons svg {\r\n\tfill: red;\r\n\twidth: 1em;\r\n\theight: 1em;\r\n}\r\n</style>\r\n\r\n<script>\r\nimport { changeTab } from \'@/js/tabs.js\'\r\n\r\nexport default {\r\n\tname: \'the-sidebar\',\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tappOnline: null,\r\n\t\t\tactiveTheme: \'light\'\r\n\t\t}\r\n\t},\r\n\tmounted() {\r\n\t\t/* === Online status handling === */\r\n\t\tthis.appOnline = navigator.onLine\r\n\r\n\t\twindow.addEventListener(\'online\', () => {\r\n\t\t\tthis.appOnline = true\r\n\t\t})\r\n\r\n\t\twindow.addEventListener(\'offline\', () => {\r\n\t\t\tthis.appOnline = false\r\n\t\t})\r\n\r\n\t\t/* === Current theme handling === */\r\n\t\tthis.activeTheme = localStorage.getItem(\'selectedTheme\') || \'light\'\r\n\t},\r\n\tmethods: {\r\n\t\tchangeTheme(newTheme) {\r\n\t\t\tif (newTheme === this.activeTheme) return\r\n\r\n\t\t\tthis.activeTheme = newTheme\r\n\t\t\tdocument.documentElement.setAttribute(\'data-theme\', newTheme)\r\n\t\t\tlocalStorage.setItem(\'selectedTheme\', newTheme)\r\n\r\n\t\t\t// Animating everything to have a smoother theme switch\r\n\t\t\tdocument.querySelectorAll(\'*\').forEach(el => {\r\n\t\t\t\tel.style.transition = \'all 200ms ease-in-out\'\r\n\t\t\t})\r\n\r\n\t\t\tdocument.documentElement.addEventListener(\'transitionend\', function transitionHandler() {\r\n\t\t\t\tdocument.querySelectorAll(\'*\').forEach(el => {\r\n\t\t\t\t\tel.style.transition = \'\'\r\n\t\t\t\t})\r\n\r\n\t\t\t\tdocument.documentElement.removeEventListener(\'transitionend\', transitionHandler)\r\n\t\t\t})\r\n\t\t},\r\n\t\t/**\r\n\t\t * Handles click Event on the sidebar and changes tab\r\n\t\t * according to clicked icon.\r\n\t\t * Uses event delegation\r\n\t\t * @param\t\t{Event}\t\tevent\r\n\t\t */\r\n\t\thandleSidebarClick(event) {\r\n\t\t\tconst { target } = event\r\n\r\n\t\t\tconst wantToChangeTab = target.matches(\'.main_tablinks\') || target.parentElement.matches(\'.main_tablinks\')\r\n\r\n\t\t\tif (!wantToChangeTab) return\r\n\r\n\t\t\tlet sidebarEl = target.matches(\'.main_tablinks\') ? target : target.parentElement\r\n\t\t\tlet targetID = sidebarEl.id\r\n\t\t\tlet selectedTab = null\r\n\r\n\t\t\tswitch (targetID) {\r\n\t\t\t\tcase \'main_search_tablink\':\r\n\t\t\t\t\tselectedTab = \'search_tab\'\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase \'main_home_tablink\':\r\n\t\t\t\t\tselectedTab = \'home_tab\'\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase \'main_charts_tablink\':\r\n\t\t\t\t\tselectedTab = \'charts_tab\'\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase \'main_favorites_tablink\':\r\n\t\t\t\t\tselectedTab = \'favorites_tab\'\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase \'main_analyzer_tablink\':\r\n\t\t\t\t\tselectedTab = \'analyzer_tab\'\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase \'main_settings_tablink\':\r\n\t\t\t\t\tselectedTab = \'settings_tab\'\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase \'main_about_tablink\':\r\n\t\t\t\t\tselectedTab = \'about_tab\'\r\n\t\t\t\t\tbreak\r\n\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tbreak\r\n\t\t\t}\r\n\r\n\t\t\tif (!selectedTab) return\r\n\r\n\t\t\tchangeTab(sidebarEl, \'main\', selectedTab)\r\n\t\t}\r\n\t}\r\n}\r\n<\/script>\r\n\r\n']},media:void 0})}),ho,"data-v-3224c55a",!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)}}}})),_o="object"==typeof global&&global&&global.Object===Object&&global,yo="object"==typeof self&&self&&self.Object===Object&&self,bo=_o||yo||Function("return this")(),wo=bo.Symbol,xo=Object.prototype,ko=xo.hasOwnProperty,Co=xo.toString,Ao=wo?wo.toStringTag:void 0;var To=Object.prototype.toString;var So=wo?wo.toStringTag:void 0;function $o(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":So&&So in Object(t)?function(t){var e=ko.call(t,Ao),n=t[Ao];try{t[Ao]=void 0;var a=!0}catch(t){}var i=Co.call(t);return a&&(e?t[Ao]=n:delete t[Ao]),i}(t):function(t){return To.call(t)}(t)}function Eo(t){return null!=t&&"object"==typeof t}function No(t){return"symbol"==typeof t||Eo(t)&&"[object Symbol]"==$o(t)}function Do(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 Lo=Array.isArray,Po=wo?wo.prototype:void 0,Oo=Po?Po.toString:void 0;function jo(t){if("string"==typeof t)return t;if(Lo(t))return Do(t,jo)+"";if(No(t))return Oo?Oo.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Io(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Mo(t){return t}function Ro(t){if(!Io(t))return!1;var e=$o(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}var Fo=bo["__core-js_shared__"],Bo=function(){var t=/[^.]+$/.exec(Fo&&Fo.keys&&Fo.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var qo=Function.prototype.toString;function Uo(t){if(null!=t){try{return qo.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var Ho=/^\[object .+?Constructor\]$/,zo=Function.prototype,Vo=Object.prototype,Qo=zo.toString,Wo=Vo.hasOwnProperty,Go=RegExp("^"+Qo.call(Wo).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ko(t){return!(!Io(t)||(e=t,Bo&&Bo in e))&&(Ro(t)?Go:Ho).test(Uo(t));var e}function Yo(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Ko(n)?n:void 0}var Jo=Yo(bo,"WeakMap"),Xo=/^(?:0|[1-9]\d*)$/;function Zo(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Xo.test(t))&&t>-1&&t%1==0&&t<e}function tl(t,e){return t===e||t!=t&&e!=e}function el(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function nl(t){return null!=t&&el(t.length)&&!Ro(t)}var al=Object.prototype;function il(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||al)}function rl(t){return Eo(t)&&"[object Arguments]"==$o(t)}var sl=Object.prototype,ol=sl.hasOwnProperty,ll=sl.propertyIsEnumerable,cl=rl(function(){return arguments}())?rl:function(t){return Eo(t)&&ol.call(t,"callee")&&!ll.call(t,"callee")};var ul="object"==typeof exports&&exports&&!exports.nodeType&&exports,dl=ul&&"object"==typeof module&&module&&!module.nodeType&&module,pl=dl&&dl.exports===ul?bo.Buffer:void 0,fl=(pl?pl.isBuffer:void 0)||function(){return!1},vl={};function hl(t){return function(e){return t(e)}}vl["[object Float32Array]"]=vl["[object Float64Array]"]=vl["[object Int8Array]"]=vl["[object Int16Array]"]=vl["[object Int32Array]"]=vl["[object Uint8Array]"]=vl["[object Uint8ClampedArray]"]=vl["[object Uint16Array]"]=vl["[object Uint32Array]"]=!0,vl["[object Arguments]"]=vl["[object Array]"]=vl["[object ArrayBuffer]"]=vl["[object Boolean]"]=vl["[object DataView]"]=vl["[object Date]"]=vl["[object Error]"]=vl["[object Function]"]=vl["[object Map]"]=vl["[object Number]"]=vl["[object Object]"]=vl["[object RegExp]"]=vl["[object Set]"]=vl["[object String]"]=vl["[object WeakMap]"]=!1;var ml="object"==typeof exports&&exports&&!exports.nodeType&&exports,gl=ml&&"object"==typeof module&&module&&!module.nodeType&&module,_l=gl&&gl.exports===ml&&_o.process,yl=function(){try{var t=gl&&gl.require&&gl.require("util").types;return t||_l&&_l.binding&&_l.binding("util")}catch(t){}}(),bl=yl&&yl.isTypedArray,wl=bl?hl(bl):function(t){return Eo(t)&&el(t.length)&&!!vl[$o(t)]},xl=Object.prototype.hasOwnProperty;function kl(t,e){var n=Lo(t),a=!n&&cl(t),i=!n&&!a&&fl(t),r=!n&&!a&&!i&&wl(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&&!xl.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Zo(c,l))||o.push(c);return o}var Cl,Al,Tl=(Cl=Object.keys,Al=Object,function(t){return Cl(Al(t))}),Sl=Object.prototype.hasOwnProperty;function $l(t){if(!il(t))return Tl(t);var e=[];for(var n in Object(t))Sl.call(t,n)&&"constructor"!=n&&e.push(n);return e}function El(t){return nl(t)?kl(t):$l(t)}var Nl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Dl=/^\w*$/;function Ll(t,e){if(Lo(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!No(t))||(Dl.test(t)||!Nl.test(t)||null!=e&&t in Object(e))}var Pl=Yo(Object,"create");var Ol=Object.prototype.hasOwnProperty;var jl=Object.prototype.hasOwnProperty;function Il(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 Ml(t,e){for(var n=t.length;n--;)if(tl(t[n][0],e))return n;return-1}Il.prototype.clear=function(){this.__data__=Pl?Pl(null):{},this.size=0},Il.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Il.prototype.get=function(t){var e=this.__data__;if(Pl){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Ol.call(e,t)?e[t]:void 0},Il.prototype.has=function(t){var e=this.__data__;return Pl?void 0!==e[t]:jl.call(e,t)},Il.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Pl&&void 0===e?"__lodash_hash_undefined__":e,this};var Rl=Array.prototype.splice;function Fl(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])}}Fl.prototype.clear=function(){this.__data__=[],this.size=0},Fl.prototype.delete=function(t){var e=this.__data__,n=Ml(e,t);return!(n<0)&&(n==e.length-1?e.pop():Rl.call(e,n,1),--this.size,!0)},Fl.prototype.get=function(t){var e=this.__data__,n=Ml(e,t);return n<0?void 0:e[n][1]},Fl.prototype.has=function(t){return Ml(this.__data__,t)>-1},Fl.prototype.set=function(t,e){var n=this.__data__,a=Ml(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this};var Bl=Yo(bo,"Map");function ql(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 Ul(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])}}Ul.prototype.clear=function(){this.size=0,this.__data__={hash:new Il,map:new(Bl||Fl),string:new Il}},Ul.prototype.delete=function(t){var e=ql(this,t).delete(t);return this.size-=e?1:0,e},Ul.prototype.get=function(t){return ql(this,t).get(t)},Ul.prototype.has=function(t){return ql(this,t).has(t)},Ul.prototype.set=function(t,e){var n=ql(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this};function Hl(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(Hl.Cache||Ul),n}Hl.Cache=Ul;var zl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Vl=/\\(\\)?/g,Ql=function(t){var e=Hl(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(zl,(function(t,n,a,i){e.push(a?i.replace(Vl,"$1"):n||t)})),e}));function Wl(t,e){return Lo(t)?t:Ll(t,e)?[t]:Ql(function(t){return null==t?"":jo(t)}(t))}function Gl(t){if("string"==typeof t||No(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Kl(t,e){for(var n=0,a=(e=Wl(e,t)).length;null!=t&&n<a;)t=t[Gl(e[n++])];return n&&n==a?t:void 0}function Yl(t){var e=this.__data__=new Fl(t);this.size=e.size}Yl.prototype.clear=function(){this.__data__=new Fl,this.size=0},Yl.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Yl.prototype.get=function(t){return this.__data__.get(t)},Yl.prototype.has=function(t){return this.__data__.has(t)},Yl.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Fl){var a=n.__data__;if(!Bl||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new Ul(a)}return n.set(t,e),this.size=n.size,this};var Jl=Object.prototype.propertyIsEnumerable,Xl=Object.getOwnPropertySymbols,Zl=Xl?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}(Xl(t),(function(e){return Jl.call(t,e)})))}:function(){return[]};function tc(t){return function(t,e,n){var a=e(t);return Lo(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,El,Zl)}var ec=Yo(bo,"DataView"),nc=Yo(bo,"Promise"),ac=Yo(bo,"Set"),ic=Uo(ec),rc=Uo(Bl),sc=Uo(nc),oc=Uo(ac),lc=Uo(Jo),cc=$o;(ec&&"[object DataView]"!=cc(new ec(new ArrayBuffer(1)))||Bl&&"[object Map]"!=cc(new Bl)||nc&&"[object Promise]"!=cc(nc.resolve())||ac&&"[object Set]"!=cc(new ac)||Jo&&"[object WeakMap]"!=cc(new Jo))&&(cc=function(t){var e=$o(t),n="[object Object]"==e?t.constructor:void 0,a=n?Uo(n):"";if(a)switch(a){case ic:return"[object DataView]";case rc:return"[object Map]";case sc:return"[object Promise]";case oc:return"[object Set]";case lc:return"[object WeakMap]"}return e});var uc=cc,dc=bo.Uint8Array;function pc(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Ul;++e<n;)this.add(t[e])}function fc(t,e){for(var n=-1,a=null==t?0:t.length;++n<a;)if(e(t[n],n,t))return!0;return!1}pc.prototype.add=pc.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},pc.prototype.has=function(t){return this.__data__.has(t)};function vc(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 pc:void 0;for(r.set(t,e),r.set(e,t);++u<o;){var f=t[u],v=e[u];if(a)var h=s?a(v,f,u,e,t,r):a(f,v,u,t,e,r);if(void 0!==h){if(h)continue;d=!1;break}if(p){if(!fc(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!==v&&!i(f,v,n,a,r)){d=!1;break}}return r.delete(t),r.delete(e),d}function hc(t){var e=-1,n=Array(t.size);return t.forEach((function(t,a){n[++e]=[a,t]})),n}function mc(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var gc=wo?wo.prototype:void 0,_c=gc?gc.valueOf:void 0;var yc=Object.prototype.hasOwnProperty;var bc=Object.prototype.hasOwnProperty;function wc(t,e,n,a,i,r){var s=Lo(t),o=Lo(e),l=s?"[object Array]":uc(t),c=o?"[object Array]":uc(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&&fl(t)){if(!fl(e))return!1;s=!0,u=!1}if(p&&!u)return r||(r=new Yl),s||wl(t)?vc(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 dc(t),new dc(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return tl(+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=hc;case"[object Set]":var l=1&a;if(o||(o=mc),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=vc(o(t),o(e),a,i,r,s);return s.delete(t),u;case"[object Symbol]":if(_c)return _c.call(t)==_c.call(e)}return!1}(t,e,l,n,a,i,r);if(!(1&n)){var f=u&&bc.call(t,"__wrapped__"),v=d&&bc.call(e,"__wrapped__");if(f||v){var h=f?t.value():t,m=v?e.value():e;return r||(r=new Yl),i(h,m,n,a,r)}}return!!p&&(r||(r=new Yl),function(t,e,n,a,i,r){var s=1&n,o=tc(t),l=o.length;if(l!=tc(e).length&&!s)return!1;for(var c=l;c--;){var u=o[c];if(!(s?u in e:yc.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 v=t[u=o[c]],h=e[u];if(a)var m=s?a(h,v,u,e,t,r):a(v,h,u,t,e,r);if(!(void 0===m?v===h||i(v,h,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 xc(t,e,n,a,i){return t===e||(null==t||null==e||!Eo(t)&&!Eo(e)?t!=t&&e!=e:wc(t,e,n,a,xc,i))}function kc(t){return t==t&&!Io(t)}function Cc(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}function Ac(t){var e=function(t){for(var e=El(t),n=e.length;n--;){var a=e[n],i=t[a];e[n]=[a,i,kc(i)]}return e}(t);return 1==e.length&&e[0][2]?Cc(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 Yl;if(a)var p=a(c,u,l,t,e,d);if(!(void 0===p?xc(u,c,3,a,d):p))return!1}}return!0}(n,t,e)}}function Tc(t,e){return null!=t&&e in Object(t)}function Sc(t,e){return null!=t&&function(t,e,n){for(var a=-1,i=(e=Wl(e,t)).length,r=!1;++a<i;){var s=Gl(e[a]);if(!(r=null!=t&&n(t,s)))break;t=t[s]}return r||++a!=i?r:!!(i=null==t?0:t.length)&&el(i)&&Zo(s,i)&&(Lo(t)||cl(t))}(t,e,Tc)}function $c(t,e){return Ll(t)&&kc(e)?Cc(Gl(t),e):function(n){var a=function(t,e,n){var a=null==t?void 0:Kl(t,e);return void 0===a?n:a}(n,t);return void 0===a&&a===e?Sc(n,t):xc(e,a,3)}}function Ec(t){return Ll(t)?(e=Gl(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return Kl(e,t)}}(t);var e}function Nc(t){return"function"==typeof t?t:null==t?Mo:"object"==typeof t?Lo(t)?$c(t[0],t[1]):Ac(t):Ec(t)}var Dc,Lc=function(t,e,n){for(var a=-1,i=Object(t),r=n(t),s=r.length;s--;){var o=r[Dc?s:++a];if(!1===e(i[o],o,i))break}return t};var Pc=function(t,e){return function(n,a){if(null==n)return n;if(!nl(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&&Lc(t,e,El)}));var Oc=Object.prototype.hasOwnProperty;function jc(t){if(null==t)return!0;if(nl(t)&&(Lo(t)||"string"==typeof t||"function"==typeof t.splice||fl(t)||wl(t)||cl(t)))return!t.length;var e=uc(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(il(t))return!$l(t).length;for(var n in t)if(Oc.call(t,n))return!1;return!0}function Ic(t,e){if(t!==e){var n=void 0!==t,a=null===t,i=t==t,r=No(t),s=void 0!==e,o=null===e,l=e==e,c=No(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 Mc(t,e,n){var a=-1;return e=Do(e.length?e:[Mo],hl(Nc)),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=nl(t)?Array(t.length):[];return Pc(t,(function(t,i,r){a[++n]=e(t,i,r)})),a}(t,(function(t,n,i){return{criteria:Do(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=Ic(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 Rc={sendAddToQueue:function(t,e=null){""!=t&&oo.emit("addToQueue",{url:t,bitrate:e},()=>{})}};const Fc={name:"artist-tab",data:()=>({currentTab:"",sortKey:"release_date",sortOrder:"desc",title:"",image:"",type:"",link:"",head:null,body:null}),methods:{albumView:co.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(),Rc.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:"Title",sortKey:"title"},{title:"Release Date",sortKey:"release_date"},{title:"",width:"32px"}],jc(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?[]:(Lo(e)||(e=null==e?[]:[e]),Lo(n=a?void 0:n)||(n=null==n?[]:[n]),Mc(t,e,n))):[];var t,e,n,a}},mounted(){oo.on("show_artist",this.showArtist),lo.$on("artistTab:reset",this.reset),lo.$on("artistTab:updateSelected",this.updateSelected),lo.$on("artistTab:changeTab",this.changeTab)}};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:"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,i){return[n("button",{class:"selective"+(a==t.currentTab?" active":""),attrs:{href:"#artist_"+a},on:{click:function(e){return t.changeTab(a)}}},[t._v("\n\t\t\t\t"+t._s(a)+"\n\t\t\t")])]}))],2),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",[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(" "),t._m(0)])};Bc._withStripped=!0;var qc=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:Bc,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("footer",[e("button",{staticClass:"back-button"},[this._v("Back")])])}]},(function(t){t&&t("data-v-ff444e9e_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",map:{version:3,sources:[],names:[],mappings:"",file:"ArtistTab.vue"},media:void 0})}),Fc,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 Uc(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 Hc(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 zc={isValidURL:Uc,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:Hc,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 Vc={name:"tracklist-tab",data:()=>({title:"",metadata:"",release_date:"",label:"",explicit:!1,image:"",type:"",link:"",body:[]}),methods:{artistView:co.bind(null,"artist"),albumView:co.bind(null,"album"),playPausePreview:so.playPausePreview,reset(){this.title="Loading...",this.image="",this.metadata="",this.label="",this.release_date="",this.explicit=!1,this.type="",this.body=[]},addToQueue(t){Rc.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("Spotify Playlist"==this.type?e.uri:e.link)}),t.join(";")},convertDuration:zc.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} • ${o} songs`,this.release_date=l.substring(0,10),this.image=c,jc(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=`by ${r} • ${o} songs`,jc(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="Spotify Playlist",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=`by ${r} • ${o} songs`,jc(s)?this.body=null:this.body=s}},mounted(){lo.$on("tracklistTab:reset",this.reset),oo.on("show_album",this.showAlbum),oo.on("show_playlist",this.showPlaylist),oo.on("show_spotifyplaylist",this.showSpotifyPlaylist)}};var Qc=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.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("Song")]),t._v(" "),n("th",[t._v("Artist")]),t._v(" "),"Playlist"==t.type?n("th",[t._v("Album")]):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",["Spotify Playlist"!==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("play_arrow")]):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\tDownload "+t._s(t.type)+"\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\tDownload selection"),n("i",{staticClass:"material-icons"},[t._v("file_download")])]),t._v(" "),n("button",{staticClass:"back-button"},[t._v("Back")])])])};Qc._withStripped=!0;var Wc=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:Qc,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-fff96fee_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",map:{version:3,sources:[],names:[],mappings:"",file:"TracklistTab.vue"},media:void 0})}),Vc,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 Gc={name:"the-charts-tab",data:()=>({country:"",id:0,countries:[],chart:[]}),methods:{artistView:co.bind(null,"artist"),albumView:co.bind(null,"album"),playPausePreview:so.playPausePreview,previewMouseEnter:so.previewMouseEnter,previewMouseLeave:so.previewMouseLeave,convertDuration:zc.convertDuration,addToQueue(t){t.stopPropagation(),Rc.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,oo.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,oo.emit("getChartTracks",this.id)):(this.country="",localStorage.setItem("chart",this.country))}},mounted(){oo.on("init_charts",this.initCharts),oo.on("setChartTracks",this.setTracklist)}};var Kc=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("Charts")]),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("Change Country")]),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\tDownload Chart\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)])])])};Kc._withStripped=!0;var Yc=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:Kc,staticRenderFns:[]},(function(t){t&&t("data-v-2873fc72_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheChartsTab.vue"},media:void 0})}),Gc,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)}}}})),Jc=eo((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()}(to,(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="✖",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}))}));let Xc={};const Zc=function(t,e=null,n=!0,a=null){if(Xc[a]){let i=Xc[a],r=no(`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 Xc[a]}),3e3)}else{let i=Jc({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&&(Xc[a]=i,no(i.toastElement).attr("toast_id",a))}};oo.on("toast",t=>{const{msg:e,icon:n,dismiss:a,id:i}=t;Zc(e,n||null,void 0===a||a,i||null)});const tu={name:"the-favorites-tab",data:()=>({tracks:[],albums:[],artists:[],playlists:[],spotifyPlaylists:[]}),methods:{artistView:co.bind(null,"artist"),albumView:co.bind(null,"album"),playlistView:co.bind(null,"playlist"),spotifyPlaylistView:co.bind(null,"spotifyplaylist"),playPausePreview:so.playPausePreview,previewMouseEnter:so.previewMouseEnter,previewMouseLeave:so.previewMouseLeave,convertDuration:zc.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&&uo(e,"favorites",a)},addToQueue(t){t.stopPropagation(),Rc.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"),oo.emit("update_userFavorites"),localStorage.getItem("spotifyUser")&&oo.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"),Zc("Refresh completed!","done",!0)},{once:!0})},initFavorites(t){this.updated_userFavorites(t),document.getElementById("favorites_playlist_tab").click()}},mounted(){oo.on("init_favorites",this.initFavorites),oo.on("updated_userFavorites",this.updated_userFavorites),oo.on("updated_userSpotifyPlaylists",this.updated_userSpotifyPlaylists),oo.on("updated_userPlaylists",this.updated_userPlaylists),oo.on("updated_userAlbums",this.updated_userAlbums),oo.on("updated_userArtist",this.updated_userArtist),oo.on("updated_userTracks",this.updated_userTracks)}};var eu=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\tFavorites\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(" "),t._m(0),t._v(" "),n("div",{staticClass:"favorites_tabcontent",attrs:{id:"playlist_favorites"}},[0==t.playlists.length?n("div",[n("h1",[t._v("No Playlists found")])]):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(t._s("by "+e.creator.name+" - "+e.nb_tracks+" tracks"))])])})),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(t._s("by "+e.creator.name+" - "+e.nb_tracks+" tracks"))])])}))],2):t._e()]),t._v(" "),n("div",{staticClass:"favorites_tabcontent",attrs:{id:"album_favorites"}},[0==t.albums.length?n("div",[n("h1",[t._v("No Favorite Albums found")])]):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("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("No Favorite Artist found")])]):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("No Favorite Tracks found")])]):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(1,!0)])])})),0):t._e()])])};eu._withStripped=!0;var nu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:eu,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"section-tabs"},[e("div",{staticClass:"section-tabs__tab favorites_tablinks",attrs:{id:"favorites_playlist_tab"}},[this._v("Playlists")]),this._v(" "),e("div",{staticClass:"section-tabs__tab favorites_tablinks",attrs:{id:"favorites_album_tab"}},[this._v("Albums")]),this._v(" "),e("div",{staticClass:"section-tabs__tab favorites_tablinks",attrs:{id:"favorites_artist_tab"}},[this._v("Artists")]),this._v(" "),e("div",{staticClass:"section-tabs__tab favorites_tablinks",attrs:{id:"favorites_track_tab"}},[this._v("Tracks")])])},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-2fda8eec_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheFavoritesTab.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-errors-tab",data:()=>({title:"",errors:[]}),methods:{reset(){this.title="",this.errors=[]},showErrors(t,e){this.title=t.artist+" - "+t.title,this.errors=t.errors,uo(e,"main","errors_tab")}},mounted(){lo.$on("showTabErrors",this.showErrors),this.$root.$on("showTabErrors",this.showErrors)}};var iu=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("Errors for "+t._s(t.title))]),t._v(" "),n("table",[t._m(0),t._v(" "),t._l(t.errors,(function(e){return n("tr",[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.message))])])}))],2)])};iu._withStripped=!0;var ru=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:iu,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("th",[this._v("ID")]),this._v(" "),e("th",[this._v("Artist")]),this._v(" "),e("th",[this._v("Title")]),this._v(" "),e("th",[this._v("Error")])])}]},(function(t){t&&t("data-v-0e1c7d66_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})}),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-home-tab",data:()=>({playlists:[],albums:[]}),methods:{artistView:co.bind(null,"artist"),albumView:co.bind(null,"album"),playlistView:co.bind(null,"playlist"),openSettings(){document.getElementById("main_settings_tablink").click()},addToQueue(t){Rc.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"),oo.on("init_home",this.initHome)}};var ou=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("Welcome to deemix")]),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("You need to log into your deezer account before you can start downloading.")]),t._v(" "),n("button",{attrs:{type:"button",name:"button"},on:{click:t.openSettings}},[t._v("Open Settings")])]),t._v(" "),t.playlists.length?n("section",{staticClass:"home_section"},[n("h3",{staticClass:"section_heading"},[t._v("Popular playlists")]),t._v(" "),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(t._s("by "+e.user.name+" - "+e.nb_tracks+" tracks"))])])})),0)]):t._e(),t._v(" "),t.albums.length?n("section",{staticClass:"home_section"},[n("h3",{staticClass:"section_heading"},[t._v("Most streamed albums")]),t._v(" "),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("by "+e.artist.name))])])})),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="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:ou,staticRenderFns:[]},(function(t){t&&t("data-v-2db2eb6d_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheHomeTab.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)}}}}));const cu={name:"the-link-analyzer-tab",data:()=>({title:"",subtitle:"",image:"",data:{},type:"",link:"",id:"0",countries:[]}),methods:{artistView:co.bind(null,"artist"),albumView:co.bind(null,"album"),convertDuration:zc.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(zc.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(){lo.$on("linkAnalyzerTab:reset",this.reset),oo.on("analyze_track",this.showTrack),oo.on("analyze_album",this.showAlbum),oo.on("analyze_notSupported",this.notSupported)}};var uu=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"},[t._v("Link Analyzer")]),t._v(" "),""==t.link?n("div",[t._m(0)]):"error"==t.link?n("div",[n("h2",[t._v("This link is not supported")]),t._v(" "),n("p",[t._v("Seems like this link is not yet supported, try analyzing another one.")])]):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",[t._v("\n\t\t\t\t\tby "),n("span",{staticClass:"clickable",attrs:{"data-id":t.data.artist.id},on:{click:t.artistView}},[t._v(t._s(t.data.artist.name))]),t._v(" • in\n\t\t\t\t\t"),n("span",{staticClass:"clickable",attrs:{"data-id":t.data.album.id},on:{click:t.albumView}},[t._v(t._s(t.data.album.title))])]):"album"==t.type?n("h2",[t._v("\n\t\t\t\t\tby "),n("span",{staticClass:"clickable",attrs:{"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.data.nb_tracks)+" tracks\n\t\t\t\t")]):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("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("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("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("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("Disk Number")]),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("Track Number")]),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("Release Date")]),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("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("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("Record Type")]),t._v(" "),n("td",[t._v(t._s(t.data.record_type))])]):t._e(),t._v(" "),t.data.genres&&t.data.genres.data.length?n("tr",[n("td",[t._v("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("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()])])};uu._withStripped=!0;var du=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:uu,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("p",[this._v("\n\t\t\tYou can use this section to find out more information about the link you are trying to download"),e("br"),this._v("This is\n\t\t\tusefull if you're trying to download some tracks that are not available in your country and want to know where\n\t\t\tthey are available\n\t\t")])}]},(function(t){t&&t("data-v-662a3717_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheLinkAnalyzerTab.vue"},media:void 0})}),cu,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)}}}})),pu=function(t,e){e._c;return e._m(0)};pu._withStripped=!0;var fu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:pu,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://notabug.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 "),n("a",{attrs:{href:"http://linktr.ee/scarvimane",target:"_blank"}},[e._v("scarvimane")]),e._v(" for\n\t\tmaking 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://notabug.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://notabug.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);const vu={name:"the-settings-tab",data:()=>({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"),Zc("ARL copied to clipboard","assignment")},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),oo.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")&&oo.emit("login",t,!0,this.accountNum)},changeAccount(){oo.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(){oo.emit("logout")},initSettings(t,e,n){this.loadSettings(t,e,n),Zc("Settings loaded!","settings")},updateSettings(t,e){this.loadSettings(t,e),Zc("Settings updated!","settings")},resetSettings(){this.settings={...this.defaultSettings}}},mounted(){lo.$on("settingsTab:revertSettings",this.revertSettings),lo.$on("settingsTab:revertCredentials",this.revertCredentials),this.$refs.loggedInInfo.classList.add("hide"),localStorage.getItem("arl")&&(this.$refs.loginInput.value=localStorage.getItem("arl").trim()),localStorage.getItem("accountNum")&&(this.accountNum=localStorage.getItem("accountNum"));let t=localStorage.getItem("spotifyUser");t&&(this.lastUser=t,this.spotifyUser=t,oo.emit("update_userSpotifyPlaylists",t)),this.changeSlimDownloads="true"===localStorage.getItem("slimDownloads");let e=parseInt(localStorage.getItem("previewVolume"));isNaN(e)&&(e=80,localStorage.setItem("previewVolume",e)),window.vol.preview_max_volume=e,oo.on("init_settings",this.initSettings),oo.on("updateSettings",this.updateSettings),oo.on("accountChanged",this.accountChanged),oo.on("familyAccounts",this.initAccounts)}};var hu=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("Settings")]),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("p",[t._v("You are logged in as "),n("strong",{ref:"username",attrs:{id:"settings_username"}})]),t._v(" "),n("button",{attrs:{id:"settings_btn_logout"},on:{click:t.logout}},[t._v("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()]),t._v(" "),n("div",{staticClass:"settings-group"},[t._m(0),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://notabug.org/RemixDevs/DeezloaderRemix/wiki/Login+via+userToken",target:"_blank"}},[t._v("\n\t\t\tHow do I get my own ARL?\n\t\t")]),t._v(" "),n("button",{staticStyle:{width:"100%"},attrs:{id:"settings_btn_updateArl"},on:{click:t.login}},[t._v("Update ARL")])]),t._v(" "),n("div",{staticClass:"settings-group"},[t._m(1),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("Slim download tab")])])]),t._v(" "),n("div",{staticClass:"settings-group"},[t._m(2),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"},[t._m(3),t._v(" "),n("p",[t._v("Trackname template")]),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("Album track template")]),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("Playlist track template")]),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"},[t._m(4),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("Create folder for playlist")])]),t._v(" "),t.settings.createPlaylistFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Playlist folder template")]),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("Create folder for artist")])]),t._v(" "),t.settings.createArtistFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Artist folder template")]),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("Create folder for album")])]),t._v(" "),t.settings.createAlbumFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Album folder template")]),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("Create folder for CDs")])]),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("Create folder structure for playlists")])]),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("Create folder structure for singles")])])]),t._v(" "),n("div",{staticClass:"settings-group"},[t._m(5),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("Pad tracks")])])]),t._v(" "),n("div",{staticClass:"settings-container__third"},[n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Overwrite padding size")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.paddingSize,expression:"settings.paddingSize"}],attrs:{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("Illegal Character replacer")]),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"},[t._m(6),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Concurrent Downloads")]),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("Preferred Bitrate")]),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("FLAC 1411kbps")]),t._v(" "),n("option",{attrs:{value:"3"}},[t._v("MP3 320kbps")]),t._v(" "),n("option",{attrs:{value:"1"}},[t._v("MP3 128kbps")])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Should I overwrite the files?")]),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("Yes, overwrite the file")]),t._v(" "),n("option",{attrs:{value:"n"}},[t._v("No, don't overwrite the file")]),t._v(" "),n("option",{attrs:{value:"t"}},[t._v("Overwrite only the tags")])])]),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("Bitrate fallback")])]),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("Search fallback")])])]),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("Create log file for errors")])]),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("Create log file for searched tracks")])])]),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("Create .lyr files (Sync Lyrics)")])]),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("Create playlist file")])])])]),t._v(" "),t.settings.createM3U8File?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Playlist filename template")]),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("Save download queue when closing the app")])])]),t._v(" "),n("div",{staticClass:"settings-group"},[t._m(7),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("Save covers")])]),t._v(" "),t.settings.saveArtwork?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Cover name template")]),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("Save artist image")])]),t._v(" "),t.settings.saveArtworkArtist?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Artist image name template")]),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("Local artwork size")]),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("Embedded artwork size")]),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("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.PNGcovers,expression:"settings.PNGcovers"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.PNGcovers)?t._i(t.settings.PNGcovers,null)>-1:t.settings.PNGcovers},on:{change:function(e){var n=t.settings.PNGcovers,a=e.target,i=!!a.checked;if(Array.isArray(n)){var r=t._i(n,null);a.checked?r<0&&t.$set(t.settings,"PNGcovers",n.concat([null])):r>-1&&t.$set(t.settings,"PNGcovers",n.slice(0,r).concat(n.slice(r+1)))}else t.$set(t.settings,"PNGcovers",i)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v("Save images as png")])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("JPEG image quality")]),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"},[t._m(8),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("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("Artists")])]),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("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("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("Track Number")])]),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("Track Total")])]),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("Disc Number")])]),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("Disc Total")])]),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("Album Artist")])]),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("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("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("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("Explicit Lyrics")])]),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("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("Track 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("Album Barcode (UPC)")])]),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("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("Replay Gain")])]),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("Album 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("Unsynchronized 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("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("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("Involved People")])])])])]),t._v(" "),n("div",{staticClass:"settings-group"},[t._m(9),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("Save playlists as compilation")])]),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("Use null separator")])]),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("Save ID3v1 as well")])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("How would you like to separate your artists?")]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.multitagSeparator,expression:"settings.tags.multitagSeparator"}],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,"multitagSeparator",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"default"}},[t._v("Using standard specification")]),t._v(" "),n("option",{attrs:{value:"andFeat"}},[t._v("Using & and feat.")]),t._v(" "),n("option",{attrs:{value:" & "}},[t._v('Using " & "')]),t._v(" "),n("option",{attrs:{value:","}},[t._v('Using ","')]),t._v(" "),n("option",{attrs:{value:", "}},[t._v('Using ", "')]),t._v(" "),n("option",{attrs:{value:"/"}},[t._v('Using "/"')]),t._v(" "),n("option",{attrs:{value:" / "}},[t._v('Using "/ "')]),t._v(" "),n("option",{attrs:{value:";"}},[t._v('Using ";"')]),t._v(" "),n("option",{attrs:{value:"; "}},[t._v('Using "; "')])])]),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('Keep "Various Artists" in the Album Artists')])]),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('Remove "album version" from track title')])]),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("Remove combinations of artists")])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Date format for FLAC files")]),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("YYYY-MM-DD")]),t._v(" "),n("option",{attrs:{value:"Y-D-M"}},[t._v("YYYY-DD-MM")]),t._v(" "),n("option",{attrs:{value:"D-M-Y"}},[t._v("DD-MM-YYYY")]),t._v(" "),n("option",{attrs:{value:"M-D-Y"}},[t._v("MM-DD-YYYY")]),t._v(" "),n("option",{attrs:{value:"Y"}},[t._v("YYYY")])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("What should I do with featured artists?")]),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("Nothing")]),t._v(" "),n("option",{attrs:{value:"1"}},[t._v("Remove it from the title")]),t._v(" "),n("option",{attrs:{value:"3"}},[t._v("Remove it from the title and the album title")]),t._v(" "),n("option",{attrs:{value:"2"}},[t._v("Move it to the title")])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Title casing")]),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("Keep unchanged")]),t._v(" "),n("option",{attrs:{value:"lower"}},[t._v("lowercase")]),t._v(" "),n("option",{attrs:{value:"upper"}},[t._v("UPPERCASE")]),t._v(" "),n("option",{attrs:{value:"start"}},[t._v("Start Of Each Word")]),t._v(" "),n("option",{attrs:{value:"sentence"}},[t._v("Like a sentence")])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Artist casing")]),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("Keep unchanged")]),t._v(" "),n("option",{attrs:{value:"lower"}},[t._v("lowercase")]),t._v(" "),n("option",{attrs:{value:"upper"}},[t._v("UPPERCASE")]),t._v(" "),n("option",{attrs:{value:"start"}},[t._v("Start Of Each Word")]),t._v(" "),n("option",{attrs:{value:"sentence"}},[t._v("Like a sentence")])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("Preview Volume")]),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("Command to execute after download")]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("Leave blank for no action")]),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\tSpotify Features\n\t\t")]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v("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("Spotify Client Secret")]),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("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("Reset to Default")]),t._v(" "),n("button",{on:{click:t.saveSettings}},[t._v("Save")])])])};hu._withStripped=!0;var mu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:hu,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[e("i",{staticClass:"material-icons"},[this._v("person")]),this._v("Login\n\t\t")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[e("i",{staticClass:"material-icons"},[this._v("web")]),this._v("Appearance\n\t\t")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[e("i",{staticClass:"material-icons"},[this._v("folder")]),this._v("Download Path\n\t\t")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[e("i",{staticClass:"material-icons"},[this._v("font_download")]),this._v("Templates\n\t\t")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[e("i",{staticClass:"material-icons"},[this._v("create_new_folder")]),this._v("Folders\n\t\t")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[e("i",{staticClass:"material-icons"},[this._v("title")]),this._v("Track titles\n\t\t")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[e("i",{staticClass:"material-icons"},[this._v("get_app")]),this._v("Downloads\n\t\t")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[e("i",{staticClass:"material-icons"},[this._v("album")]),this._v("Album covers\n\t\t")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[e("i",{staticClass:"material-icons",staticStyle:{width:"1em",height:"1em"}},[this._v("bookmarks")]),this._v("Which tags to save\n\t\t")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[e("i",{staticClass:"material-icons"},[this._v("list")]),this._v("Other")])}]},(function(t){t&&t("data-v-01240ad0_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheSettingsTab.vue"},media:void 0})}),vu,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 gu={props:{text:{type:String,required:!1,default:"Loading..."},id:{type:String,required:!1}}};var _u=function(t,e){var n=e._c;return n("div",{staticClass:"loading_placeholder",attrs:{id:e.props.id}},[n("span",{staticClass:"loading_placeholder__text"},[e._v(e._s(e.props.text))]),e._v(" "),e._m(0)])};_u._withStripped=!0;var yu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:_u,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,gu,void 0,!0);const bu={name:"the-main-search-tab",components:{BaseLoadingPlaceholder:yu},data:()=>({names:{TOP_RESULT:"Top Result",TRACK:"Tracks",ARTIST:"Artists",ALBUM:"Albums",PLAYLIST:"Playlists"},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(){lo.$on("mainSearch:checkLoadMoreContent",this.checkLoadMoreContent),this.$root.$on("mainSearch:showNewResults",this.showNewResults),oo.on("mainSearch",this.handleMainSearch),oo.on("search",this.handleSearch)},methods:{artistView:co.bind(null,"artist"),albumView:co.bind(null,"album"),playlistView:co.bind(null,"playlist"),playPausePreview:so.playPausePreview,previewMouseEnter:so.previewMouseEnter,previewMouseLeave:so.previewMouseLeave,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&&uo(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",oo.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){Rc.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},numberWithDots:zc.numberWithDots,convertDuration:zc.convertDuration,search(t){oo.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&&oo.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 wu=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("Start searching!")]),t._v(" "),n("p",[t._v("\n\t\t\tYou can search a track, a whole album, an artist, a playlist.... everything! You can also paste a Deezer link\n\t\t")])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:""!==t.results.query,expression:"results.query !== ''"}]},[t._m(0),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.names[e])+"\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.numberWithDots(t.results.allTab.TOP_RESULT[0].nb_fan)+" fans":"by "+t.results.allTab.TOP_RESULT[0].artist+" - "+t.results.allTab.TOP_RESULT[0].nb_song+" tracks")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("span",{staticClass:"tag"},[t._v(t._s(t.results.allTab.TOP_RESULT[0].type.charAt(0).toUpperCase()+t.results.allTab.TOP_RESULT[0].type.substring(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.numberWithDots(e.NB_FAN)+" fans"))])])})),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+" - "+e.NUMBER_TRACK+" tracks"))])])})),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(e.NB_SONG+" tracks"))])])})),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("No results")])]):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("No Tracks found")])]):t._e():n("base-loading-placeholder"),t._v(" "),t.results.trackTab.data.length>0?n("table",{staticClass:"table table--tracks"},[t._m(1),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("No Albums found")])]):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("by "+e.artist.name+" - "+e.nb_tracks+" 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("No Artists found")])]):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(e.nb_album+" releases"))])])})),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("No Playlists found")])]):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(t._s("by "+e.user.name+" - "+e.nb_tracks+" tracks"))])])})),0):t._e()],1)])])])};wu._withStripped=!0;const xu={components:{ArtistTab:qc,TheChartsTab:Yc,TheFavoritesTab:nu,TheErrorsTab:ru,TheHomeTab:lu,TheLinkAnalyzerTab:du,TheAboutTab:fu,TheSettingsTab:mu,TheMainSearch:function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:wu,staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"section-tabs"},[n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_all_tab"}},[t._v("All")]),t._v(" "),n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_track_tab"}},[t._v("Tracks")]),t._v(" "),n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_album_tab"}},[t._v("Album")]),t._v(" "),n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_artist_tab"}},[t._v("Artist")]),t._v(" "),n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_playlist_tab"}},[t._v("Playlist")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",{attrs:{colspan:"2"}},[t._v("Title")]),t._v(" "),n("th",[t._v("Artists")]),t._v(" "),n("th",[t._v("Album")]),t._v(" "),n("th",[n("i",{staticClass:"material-icons"},[t._v("\n\t\t\t\t\t\t\t\t\ttimer\n\t\t\t\t\t\t\t\t")])]),t._v(" "),n("th",{staticStyle:{width:"56px"}})])])}]},(function(t){t&&t("data-v-4200fab7_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\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheMainSearch.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)}}}})),TracklistTab:Wc},data:()=>({newScrolled:null}),methods:{handleContentScroll:Hc((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 ku=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)])};ku._withStripped=!0;var Cu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:ku,staticRenderFns:[]},(function(t){t&&t("data-v-10d0343e_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})}),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)}}}}));const Au={methods:{handleSearchBarKeyup(t){if(13!==t.keyCode)return;let e=this.$refs.searchbar.value;if(Uc(e))t.ctrlKey?this.$root.$emit("QualityModal:open",e):"analyzer_tab"===main_selected?(lo.$emit("linkAnalyzerTab:reset"),oo.emit("analyzeLink",e)):Rc.sendAddToQueue(e);else{if(""===e)return;this.$root.$emit("mainSearch:showNewResults",e,main_selected)}}}};var Tu=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:"Search what you want (or just paste a link)",autofocus:""},on:{keyup:function(e){return t.handleSearchBarKeyup(e)}}})])};Tu._withStripped=!0;const Su={components:{TheContent:Cu,TheSearchBar:function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:Tu,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-5eb34f93_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})}),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)}}}}))}};var $u=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(" "),this._m(0)],1)};$u._withStripped=!0;var Eu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:$u,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"loading_placeholder loading_placeholder--hidden",attrs:{id:"search_placeholder"}},[e("span",{staticClass:"loading_placeholder__text"},[this._v("Searching...")]),this._v(" "),e("div",{staticClass:"lds-ring"},[e("div"),this._v(" "),e("div"),this._v(" "),e("div"),this._v(" "),e("div")])])}]},(function(t){t&&t("data-v-6a691310_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheMiddleSection.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)}}}}));const Nu={data:()=>({cachedTabWidth:parseInt(localStorage.getItem("downloadTabWidth"))||300,queue:[],queueList:{},queueComplete:[]}),mounted(){oo.on("startDownload",this.startDownload),oo.on("init_downloadQueue",this.initQueue),oo.on("addedToQueue",this.addToQueue),oo.on("updateQueue",this.updateQueue),oo.on("removedFromQueue",this.removeFromQueue),oo.on("finishDownload",this.finishDownload),oo.on("removedAllDownloads",this.removeAllDownloads),oo.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=no(e).data("uuid");switch(n){case"remove":oo.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||no(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),no("#bar_"+t.uuid).css("width",t.progress+"%"),t.failed>=1&&0==no("#download_"+t.uuid+" .queue_failed").length&&no("#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=no("#download_"+t.uuid).find(".queue_icon");if(0==t.failed)e.text("done");else{let n=no("#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||Zc(t.title+" added to queue","playlist_add_check")},updateQueue(t){const{uuid:e,downloaded:n,failed:a,progress:i,error:r,data:s}=t;e&&this.queue.indexOf(e)>-1&&(n&&(this.queueList[e].downloaded++,no("#download_"+e+" .queue_downloaded").text(this.queueList[e].downloaded+this.queueList[e].failed)),a&&(this.queueList[e].failed++,no("#download_"+e+" .queue_downloaded").text(this.queueList[e].downloaded+this.queueList[e].failed),1==this.queueList[e].failed&&0==no("#download_"+e+" .queue_failed").length?no("#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>'):no("#download_"+e+" .queue_failed").text(this.queueList[e].failed),this.queueList[e].errors.push({message:r,data:s})),i&&(this.queueList[e].progress=i,no("#bar_"+e).css("width",i+"%")))},removeFromQueue(t){let e=this.queue.indexOf(t);e>-1&&(this.queue.splice(e,1),no("#download_"+this.queueList[t].uuid).remove(),delete this.queueList[t])},removeAllDownloads(t){if(this.queueComplete=[],""==t)this.queue=[],this.queueList={},no(listEl).html("");else{this.queue=[t];let e=this.queueList[t];this.queueList={},this.queueList[t]=e,no(".download_object").each((function(e){no(this).attr("id")!="download_"+t&&no(this).remove()}))}},removedFinishedDownloads(){this.queueComplete.forEach(t=>{no("#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(){oo.emit("removeFinishedDownloads")},cancelQueue(){oo.emit("cancelAllDownloads")},finishDownload(t){if(this.queue.indexOf(t)>-1){Zc(this.queueList[t].title+" finished downloading.","done"),no("#bar_"+t).css("width","100%");let e=no("#download_"+t).find(".queue_icon");if(0==this.queueList[t].failed)e.text("done");else{let n=no("#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&&Zc("All downloads completed!","done_all")}},openDownloadsFolder(){window.clientMode&&oo.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){no("#bar_"+t).removeClass("indeterminate").addClass("determinate")},showErrorsTab(t){this.$root.$emit("showTabErrors",t.data.item,t.target)}}};var Du=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"},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}})])};Du._withStripped=!0;const Lu={components:{TheMiddleSection:Eu,TheDownloadTab:function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:Du,staticRenderFns:[]},(function(t){t&&t("data-v-d195967e_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheDownloadTab.vue"},media:void 0})}),Nu,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 Pu=function(){var t=this.$createElement,e=this._self._c||t;return e("main",{attrs:{id:"main_content"}},[e("TheMiddleSection"),this._v(" "),e("TheDownloadTab")],1)};Pu._withStripped=!0;var Ou=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:Pu,staticRenderFns:[]},(function(t){t&&t("data-v-ad947ec0_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})}),Lu,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 ju={data:()=>({previewStopped:!1}),methods:{async onCanPlay(){await this.$refs.previewEl.play(),this.previewStopped=!1,no(this.$refs.previewEl).animate({volume:vol.preview_max_volume/100},500)},onTimeUpdate(){isNaN(this.$refs.previewEl.duration)||this.$refs.previewEl.currentTime<=this.$refs.previewEl.duration-1||(no(this.$refs.previewEl).animate({volume:0},800),this.previewStopped=!0,no("a[playing] > .preview_controls").css({opacity:0}),no("*").removeAttr("playing"),no(".preview_controls").text("play_arrow"),no(".preview_playlist_controls").text("play_arrow"))}}};var Iu=function(){var t=this.$createElement,e=this._self._c||t;return e("audio",{ref:"previewEl",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 Mu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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-dd0600f8_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheTrackPreview.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)}}}}));const Ru={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")&&Rc.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 Fu=function(){var t=this,e=t.$createElement;return(t._self._c||e)("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)}}},[t._m(0)])};Fu._withStripped=!0;const Bu={components:{TheSidebar:go,TheMainContent:Ou,TheTrackPreview:Mu,TheQualityModal:function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:Fu,staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"smallmodal-content"},[n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"9"}},[t._v("Download FLAC")]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"3"}},[t._v("Download MP3 320kbps")]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"1"}},[t._v("Download MP3 128kbps")]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"15"}},[t._v("Download 360 Reality Audio [HQ]")]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"14"}},[t._v("Download 360 Reality Audio [MQ]")]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"13"}},[t._v("Download 360 Reality Audio [LQ]")])])}]},(function(t){t&&t("data-v-2f72a1e5_0",{source:"\n.smallmodal {\r\n\tposition: fixed;\r\n\tz-index: 1250;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\toverflow: auto;\r\n\tbackground-color: hsla(0, 0%, 0%, 0.4);\r\n\tanimation-duration: 0.3s;\n}\n.smallmodal-content {\r\n\tbackground-color: transparent;\r\n\tmargin: auto;\r\n\twidth: var(--modal-content-width);\r\n\tposition: relative;\r\n\ttop: 50%;\r\n\ttransform: translateY(-50%);\n}\n.smallmodal-content button {\r\n\twidth: 100%;\r\n\tmargin-bottom: 8px;\n}\r\n",map:{version:3,sources:["C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\components\\TheQualityModal.vue"],names:[],mappings:";AAaA;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>\r\n\t<div id="modal_quality" class="smallmodal" v-show="open" @click="tryToDownloadTrack($event)" ref="modal">\r\n\t\t<div class="smallmodal-content">\r\n\t\t\t<button class="quality-button" data-quality-value="9">Download FLAC</button>\r\n\t\t\t<button class="quality-button" data-quality-value="3">Download MP3 320kbps</button>\r\n\t\t\t<button class="quality-button" data-quality-value="1">Download MP3 128kbps</button>\r\n\t\t\t<button class="quality-button" data-quality-value="15">Download 360 Reality Audio [HQ]</button>\r\n\t\t\t<button class="quality-button" data-quality-value="14">Download 360 Reality Audio [MQ]</button>\r\n\t\t\t<button class="quality-button" data-quality-value="13">Download 360 Reality Audio [LQ]</button>\r\n\t\t</div>\r\n\t</div>\r\n</template>\r\n<style>\r\n.smallmodal {\r\n\tposition: fixed;\r\n\tz-index: 1250;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\toverflow: auto;\r\n\tbackground-color: hsla(0, 0%, 0%, 0.4);\r\n\tanimation-duration: 0.3s;\r\n}\r\n\r\n.smallmodal-content {\r\n\tbackground-color: transparent;\r\n\tmargin: auto;\r\n\twidth: var(--modal-content-width);\r\n\tposition: relative;\r\n\ttop: 50%;\r\n\ttransform: translateY(-50%);\r\n}\r\n\r\n.smallmodal-content button {\r\n\twidth: 100%;\r\n\tmargin-bottom: 8px;\r\n}\r\n</style>\r\n<script>\r\nimport Downloads from \'@/js/downloads.js\'\r\n\r\nexport default {\r\n\tdata: () => ({\r\n\t\topen: false,\r\n\t\turl: \'\'\r\n\t}),\r\n\tmounted() {\r\n\t\tthis.$root.$on(\'QualityModal:open\', this.openModal)\r\n\r\n\t\tthis.$refs.modal.addEventListener(\'webkitAnimationEnd\', this.handleAnimationEnd)\r\n\t},\r\n\tmethods: {\r\n\t\ttryToDownloadTrack(event) {\r\n\t\t\tconst { target } = event\r\n\r\n\t\t\tthis.$refs.modal.classList.add(\'animated\', \'fadeOut\')\r\n\r\n\t\t\t// If true, the click did not happen on a button but outside\r\n\t\t\tif (!target.matches(\'.quality-button\')) return\r\n\r\n\t\t\tDownloads.sendAddToQueue(this.url, target.dataset.qualityValue)\r\n\t\t},\r\n\t\topenModal(link) {\r\n\t\t\tthis.url = link\r\n\t\t\tthis.open = true\r\n\t\t\tthis.$refs.modal.classList.add(\'animated\', \'fadeIn\')\r\n\t\t},\r\n\t\thandleAnimationEnd(event) {\r\n\t\t\tconst { animationName } = event\r\n\r\n\t\t\tthis.$refs.modal.classList.remove(\'animated\', animationName)\r\n\r\n\t\t\tif (animationName === \'fadeIn\') return\r\n\r\n\t\t\tthis.open = false\r\n\t\t}\r\n\t}\r\n}\r\n<\/script>']},media:void 0})}),Ru,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:yu}};var qu=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)};qu._withStripped=!0;var Uu=function(t,e,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\js\\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:qu,staticRenderFns:[]},(function(t){t&&t("data-v-06d964ae_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})}),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)}}}}));window.vol={preview_max_volume:100},document.addEventListener("DOMContentLoaded",(function(){window.App=new wn({render:t=>t(Uu)}).$mount("#app"),vo(),so.init()})),window.addEventListener("pywebviewready",(function(){window.clientMode=!0,document.querySelector("#open_downloads_folder").classList.remove("hide")})),oo.on("message",(function(t){console.log(t)})),oo.on("logging_in",(function(){Zc("Logging in","loading",!1,"login-toast")})),oo.on("init_autologin",(function(){let t=localStorage.getItem("arl"),e=localStorage.getItem("accountNum");t&&(t=t.trim(),0!=e?oo.emit("login",t,!0,e):oo.emit("login",t))})),oo.on("logged_in",(function(t){switch(t.status){case 1:case 3:Zc("Logged in","done",!0,"login-toast"),t.arl&&(localStorage.setItem("arl",t.arl),no("#login_input_arl").val(t.arl)),no("#open_login_prompt").hide(),t.user&&(no("#settings_username").text(t.user.name),no("#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:Zc("Already logged in","done",!0,"login-toast"),t.user&&(no("#settings_username").text(t.user.name),no("#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:Zc("Couldn't log in","close",!0,"login-toast"),localStorage.removeItem("arl"),no("#login_input_arl").val(""),no("#open_login_prompt").show(),document.getElementById("logged_in_info").classList.add("hide"),no("#settings_username").text("Not Logged"),no("#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")}})),oo.on("logged_out",(function(){Zc("Logged out","done",!0,"login-toast"),localStorage.removeItem("arl"),no("#login_input_arl").val(""),no("#open_login_prompt").show(),document.getElementById("logged_in_info").classList.add("hide"),no("#settings_username").text("Not Logged"),no("#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")})),oo.on("cancellingCurrentItem",(function(t){Zc("Cancelling current item.","loading",!1,"cancelling_"+t)})),oo.on("currentItemCancelled",(function(t){Zc("Current item cancelled.","done",!0,"cancelling_"+t)})),oo.on("startAddingArtist",(function(t){Zc(`Adding ${t.name} albums to queue`,"loading",!1,"artist_"+t.id)})),oo.on("finishAddingArtist",(function(t){Zc(`Added ${t.name} albums to queue`,"done",!0,"artist_"+t.id)})),oo.on("startConvertingSpotifyPlaylist",(function(t){Zc("Converting spotify tracks to deezer tracks","loading",!1,"spotifyplaylist_"+t)})),oo.on("finishConvertingSpotifyPlaylist",(function(t){Zc("Spotify playlist converted","done",!0,"spotifyplaylist_"+t)})),oo.on("errorMessage",(function(t){Zc(t,"error")})),oo.on("alreadyInQueue",(function(t){Zc(t.title+" is already in queue!","playlist_add_check")}));
|