From 5ab8c9ff6ccfa9f34eb4bcde0f158e3be4f096b3 Mon Sep 17 00:00:00 2001 From: Roberto Tonino Date: Wed, 11 Aug 2021 15:25:24 +0200 Subject: [PATCH] build: v1.8.5 --- package.json | 2 +- public/js/bundle.js | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 838728e..034ca16 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "deemix-webui", - "version": "1.8.4", + "version": "1.8.5", "scripts": { "clean": "rimraf public/js/bundle.js public/js/bundle.temp.js public/js/bundle.js.map", "clean-temp": "rimraf public/js/bundle.temp.js", diff --git a/public/js/bundle.js b/public/js/bundle.js index 89b4454..638a0f7 100644 --- a/public/js/bundle.js +++ b/public/js/bundle.js @@ -2,9 +2,9 @@ * Vue.js v2.6.14 * (c) 2014-2021 Evan You * Released under the MIT License. - */var emptyObject=Object.freeze({});function isUndef(e){return e==null}function isDef(e){return e!=null}function isTrue(e){return e===!0}function isFalse(e){return e===!1}function isPrimitive(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function isObject$4(e){return e!==null&&typeof e=="object"}var _toString=Object.prototype.toString;function toRawType(e){return _toString.call(e).slice(8,-1)}function isPlainObject$2(e){return _toString.call(e)==="[object Object]"}function isRegExp(e){return _toString.call(e)==="[object RegExp]"}function isValidArrayIndex(e){var a=parseFloat(String(e));return a>=0&&Math.floor(a)===a&&isFinite(e)}function isPromise$1(e){return isDef(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function toString$3(e){return e==null?"":Array.isArray(e)||isPlainObject$2(e)&&e.toString===_toString?JSON.stringify(e,null,2):String(e)}function toNumber$1(e){var a=parseFloat(e);return isNaN(a)?e:a}function makeMap(e,a){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var hasOwnProperty$b=Object.prototype.hasOwnProperty;function hasOwn$2(e,a){return hasOwnProperty$b.call(e,a)}function cached$2(e){var a=Object.create(null);return function(r){var i=a[r];return i||(a[r]=e(r))}}var camelizeRE=/-(\w)/g,camelize=cached$2(function(e){return e.replace(camelizeRE,function(a,n){return n?n.toUpperCase():""})}),capitalize=cached$2(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),hyphenateRE=/\B([A-Z])/g,hyphenate=cached$2(function(e){return e.replace(hyphenateRE,"-$1").toLowerCase()});function polyfillBind(e,a){function n(r){var i=arguments.length;return i?i>1?e.apply(a,arguments):e.call(a,r):e.call(a)}return n._length=e.length,n}function nativeBind(e,a){return e.bind(a)}var bind$1=Function.prototype.bind?nativeBind:polyfillBind;function toArray(e,a){a=a||0;for(var n=e.length-a,r=new Array(n);n--;)r[n]=e[n+a];return r}function extend$2(e,a){for(var n in a)e[n]=a[n];return e}function toObject(e){for(var a={},n=0;n0,isEdge=UA&&UA.indexOf("edge/")>0;UA&&UA.indexOf("android")>0;var isIOS=UA&&/iphone|ipad|ipod|ios/.test(UA)||weexPlatform==="ios";UA&&/chrome\/\d+/.test(UA),UA&&/phantomjs/.test(UA);var isFF=UA&&UA.match(/firefox\/(\d+)/),nativeWatch={}.watch,supportsPassive=!1;if(inBrowser$1)try{var opts={};Object.defineProperty(opts,"passive",{get:function(){supportsPassive=!0}}),window.addEventListener("test-passive",null,opts)}catch(e){}var _isServer,isServerRendering=function(){return _isServer===void 0&&(!inBrowser$1&&!inWeex&&typeof global!="undefined"?_isServer=global.process&&global.process.env.VUE_ENV==="server":_isServer=!1),_isServer},devtools=inBrowser$1&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function isNative$1(e){return typeof e=="function"&&/native code/.test(e.toString())}var hasSymbol$2=typeof Symbol!="undefined"&&isNative$1(Symbol)&&typeof Reflect!="undefined"&&isNative$1(Reflect.ownKeys),_Set;typeof Set!="undefined"&&isNative$1(Set)?_Set=Set:_Set=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(n){return this.set[n]===!0},e.prototype.add=function(n){this.set[n]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var warn$1=noop$2,uid=0,Dep=function(){this.id=uid++,this.subs=[]};Dep.prototype.addSub=function(a){this.subs.push(a)},Dep.prototype.removeSub=function(a){remove$1(this.subs,a)},Dep.prototype.depend=function(){Dep.target&&Dep.target.addDep(this)},Dep.prototype.notify=function(){for(var a=this.subs.slice(),n=0,r=a.length;n-1){if(s&&!hasOwn$2(i,"default"))l=!1;else if(l===""||l===hyphenate(e)){var o=getTypeIndex(String,i.type);(o<0||c0&&(i=normalizeArrayChildren(i,(a||"")+"_"+r),isTextNode(i[0])&&isTextNode(l)&&(n[s]=createTextVNode(l.text+i[0].text),i.shift()),n.push.apply(n,i)):isPrimitive(i)?isTextNode(l)?n[s]=createTextVNode(l.text+i):i!==""&&n.push(createTextVNode(i)):isTextNode(i)&&isTextNode(l)?n[s]=createTextVNode(l.text+i.text):(isTrue(e._isVList)&&isDef(i.tag)&&isUndef(i.key)&&isDef(a)&&(i.key="__vlist"+a+"_"+r+"__"),n.push(i)));return n}function initProvide(e){var a=e.$options.provide;a&&(e._provided=typeof a=="function"?a.call(e):a)}function initInjections(e){var a=resolveInject(e.$options.inject,e);a&&(toggleObserving(!1),Object.keys(a).forEach(function(n){defineReactive$$1(e,n,a[n])}),toggleObserving(!0))}function resolveInject(e,a){if(e){for(var n=Object.create(null),r=hasSymbol$2?Reflect.ownKeys(e):Object.keys(e),i=0;i0,s=e?!!e.$stable:!i,l=e&&e.$key;if(!e)r={};else{if(e._normalized)return e._normalized;if(s&&n&&n!==emptyObject&&l===n.$key&&!i&&!n.$hasNormal)return n;r={};for(var c in e)e[c]&&c[0]!=="$"&&(r[c]=normalizeScopedSlot(a,c,e[c]))}for(var o in a)o in r||(r[o]=proxyNormalSlot(a,o));return e&&Object.isExtensible(e)&&(e._normalized=r),def$1(r,"$stable",s),def$1(r,"$key",l),def$1(r,"$hasNormal",i),r}function normalizeScopedSlot(e,a,n){var r=function(){var i=arguments.length?n.apply(null,arguments):n({});i=i&&typeof i=="object"&&!Array.isArray(i)?[i]:normalizeChildren(i);var s=i&&i[0];return i&&(!s||i.length===1&&s.isComment&&!isAsyncPlaceholder(s))?void 0:i};return n.proxy&&Object.defineProperty(e,a,{get:r,enumerable:!0,configurable:!0}),r}function proxyNormalSlot(e,a){return function(){return e[a]}}function renderList(e,a){var n,r,i,s,l;if(Array.isArray(e)||typeof e=="string")for(n=new Array(e.length),r=0,i=e.length;r1?toArray(i):i;for(var s=toArray(arguments,1),l='event handler for "'+n+'"',c=0,o=i.length;cdocument.createEvent("Event").timeStamp&&(getNow=function(){return performance.now()})}function flushSchedulerQueue(){currentFlushTimestamp=getNow(),flushing=!0;var e,a;for(queue.sort(function(i,s){return i.id-s.id}),index$1=0;index$1index$1&&queue[n].id>e.id;)n--;queue.splice(n+1,0,e)}waiting||(waiting=!0,nextTick(flushSchedulerQueue))}}var uid$2=0,Watcher=function(a,n,r,i,s){this.vm=a,s&&(a._watcher=this),a._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++uid$2,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new _Set,this.newDepIds=new _Set,this.expression="",typeof n=="function"?this.getter=n:(this.getter=parsePath$1(n),this.getter||(this.getter=noop$2)),this.value=this.lazy?void 0:this.get()};Watcher.prototype.get=function(){pushTarget(this);var a,n=this.vm;try{a=this.getter.call(n,n)}catch(r){if(this.user)handleError(r,n,'getter for watcher "'+this.expression+'"');else throw r}finally{this.deep&&traverse$1(a),popTarget(),this.cleanupDeps()}return a},Watcher.prototype.addDep=function(a){var n=a.id;this.newDepIds.has(n)||(this.newDepIds.add(n),this.newDeps.push(a),this.depIds.has(n)||a.addSub(this))},Watcher.prototype.cleanupDeps=function(){for(var a=this.deps.length;a--;){var n=this.deps[a];this.newDepIds.has(n.id)||n.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},Watcher.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():queueWatcher(this)},Watcher.prototype.run=function(){if(this.active){var a=this.get();if(a!==this.value||isObject$4(a)||this.deep){var n=this.value;if(this.value=a,this.user){var r='callback for watcher "'+this.expression+'"';invokeWithErrorHandling(this.cb,this.vm,[a,n],this.vm,r)}else this.cb.call(this.vm,a,n)}}},Watcher.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Watcher.prototype.depend=function(){for(var a=this.deps.length;a--;)this.deps[a].depend()},Watcher.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||remove$1(this.vm._watchers,this);for(var a=this.deps.length;a--;)this.deps[a].removeSub(this);this.active=!1}};var sharedPropertyDefinition={enumerable:!0,configurable:!0,get:noop$2,set:noop$2};function proxy$1(e,a,n){sharedPropertyDefinition.get=function(){return this[a][n]},sharedPropertyDefinition.set=function(i){this[a][n]=i},Object.defineProperty(e,n,sharedPropertyDefinition)}function initState(e){e._watchers=[];var a=e.$options;a.props&&initProps(e,a.props),a.methods&&initMethods(e,a.methods),a.data?initData(e):observe$1(e._data={},!0),a.computed&&initComputed(e,a.computed),a.watch&&a.watch!==nativeWatch&&initWatch(e,a.watch)}function initProps(e,a){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],s=!e.$parent;s||toggleObserving(!1);var l=function(o){i.push(o);var u=validateProp(o,a,n,e);defineReactive$$1(r,o,u),o in e||proxy$1(e,"_props",o)};for(var c in a)l(c);toggleObserving(!0)}function initData(e){var a=e.$options.data;a=e._data=typeof a=="function"?getData(a,e):a||{},isPlainObject$2(a)||(a={});var n=Object.keys(a),r=e.$options.props;e.$options.methods;for(var i=n.length;i--;){var s=n[i];r&&hasOwn$2(r,s)||isReserved(s)||proxy$1(e,"_data",s)}observe$1(a,!0)}function getData(e,a){pushTarget();try{return e.call(a,a)}catch(n){return handleError(n,a,"data()"),{}}finally{popTarget()}}var computedWatcherOptions={lazy:!0};function initComputed(e,a){var n=e._computedWatchers=Object.create(null),r=isServerRendering();for(var i in a){var s=a[i],l=typeof s=="function"?s:s.get;r||(n[i]=new Watcher(e,l||noop$2,noop$2,computedWatcherOptions)),i in e||defineComputed(e,i,s)}}function defineComputed(e,a,n){var r=!isServerRendering();typeof n=="function"?(sharedPropertyDefinition.get=r?createComputedGetter(a):createGetterInvoker(n),sharedPropertyDefinition.set=noop$2):(sharedPropertyDefinition.get=n.get?r&&n.cache!==!1?createComputedGetter(a):createGetterInvoker(n.get):noop$2,sharedPropertyDefinition.set=n.set||noop$2),Object.defineProperty(e,a,sharedPropertyDefinition)}function createComputedGetter(e){return function(){var n=this._computedWatchers&&this._computedWatchers[e];if(n)return n.dirty&&n.evaluate(),Dep.target&&n.depend(),n.value}}function createGetterInvoker(e){return function(){return e.call(this,this)}}function initMethods(e,a){e.$options.props;for(var n in a)e[n]=typeof a[n]!="function"?noop$2:bind$1(a[n],e)}function initWatch(e,a){for(var n in a){var r=a[n];if(Array.isArray(r))for(var i=0;i-1)return this;var r=toArray(arguments,1);return r.unshift(this),typeof a.install=="function"?a.install.apply(a,r):typeof a=="function"&&a.apply(null,r),n.push(a),this}}function initMixin$1(e){e.mixin=function(a){return this.options=mergeOptions(this.options,a),this}}function initExtend(e){e.cid=0;var a=1;e.extend=function(n){n=n||{};var r=this,i=r.cid,s=n._Ctor||(n._Ctor={});if(s[i])return s[i];var l=n.name||r.options.name,c=function(u){this._init(u)};return c.prototype=Object.create(r.prototype),c.prototype.constructor=c,c.cid=a++,c.options=mergeOptions(r.options,n),c.super=r,c.options.props&&initProps$1(c),c.options.computed&&initComputed$1(c),c.extend=r.extend,c.mixin=r.mixin,c.use=r.use,ASSET_TYPES.forEach(function(o){c[o]=r[o]}),l&&(c.options.components[l]=c),c.superOptions=r.options,c.extendOptions=n,c.sealedOptions=extend$2({},c.options),s[i]=c,c}}function initProps$1(e){var a=e.options.props;for(var n in a)proxy$1(e.prototype,"_props",n)}function initComputed$1(e){var a=e.options.computed;for(var n in a)defineComputed(e.prototype,n,a[n])}function initAssetRegisters(e){ASSET_TYPES.forEach(function(a){e[a]=function(n,r){return r?(a==="component"&&isPlainObject$2(r)&&(r.name=r.name||n,r=this.options._base.extend(r)),a==="directive"&&typeof r=="function"&&(r={bind:r,update:r}),this.options[a+"s"][n]=r,r):this.options[a+"s"][n]}})}function getComponentName(e){return e&&(e.Ctor.options.name||e.tag)}function matches(e,a){return Array.isArray(e)?e.indexOf(a)>-1:typeof e=="string"?e.split(",").indexOf(a)>-1:isRegExp(e)?e.test(a):!1}function pruneCache(e,a){var n=e.cache,r=e.keys,i=e._vnode;for(var s in n){var l=n[s];if(l){var c=l.name;c&&!a(c)&&pruneCacheEntry(n,s,r,i)}}}function pruneCacheEntry(e,a,n,r){var i=e[a];i&&(!r||i.tag!==r.tag)&&i.componentInstance.$destroy(),e[a]=null,remove$1(n,a)}var patternTypes=[String,RegExp,Array],KeepAlive={name:"keep-alive",abstract:!0,props:{include:patternTypes,exclude:patternTypes,max:[String,Number]},methods:{cacheVNode:function(){var a=this,n=a.cache,r=a.keys,i=a.vnodeToCache,s=a.keyToCache;if(i){var l=i.tag,c=i.componentInstance,o=i.componentOptions;n[s]={name:getComponentName(o),tag:l,componentInstance:c},r.push(s),this.max&&r.length>parseInt(this.max)&&pruneCacheEntry(n,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var a in this.cache)pruneCacheEntry(this.cache,a,this.keys)},mounted:function(){var a=this;this.cacheVNode(),this.$watch("include",function(n){pruneCache(a,function(r){return matches(n,r)})}),this.$watch("exclude",function(n){pruneCache(a,function(r){return!matches(n,r)})})},updated:function(){this.cacheVNode()},render:function(){var a=this.$slots.default,n=getFirstComponentChild(a),r=n&&n.componentOptions;if(r){var i=getComponentName(r),s=this,l=s.include,c=s.exclude;if(l&&(!i||!matches(l,i))||c&&i&&matches(c,i))return n;var o=this,u=o.cache,d=o.keys,f=n.key==null?r.Ctor.cid+(r.tag?"::"+r.tag:""):n.key;u[f]?(n.componentInstance=u[f].componentInstance,remove$1(d,f),d.push(f)):(this.vnodeToCache=n,this.keyToCache=f),n.data.keepAlive=!0}return n||a&&a[0]}},builtInComponents={KeepAlive};function initGlobalAPI(e){var a={};a.get=function(){return config},Object.defineProperty(e,"config",a),e.util={warn:warn$1,extend:extend$2,mergeOptions,defineReactive:defineReactive$$1},e.set=set$1,e.delete=del,e.nextTick=nextTick,e.observable=function(n){return observe$1(n),n},e.options=Object.create(null),ASSET_TYPES.forEach(function(n){e.options[n+"s"]=Object.create(null)}),e.options._base=e,extend$2(e.options.components,builtInComponents),initUse(e),initMixin$1(e),initExtend(e),initAssetRegisters(e)}initGlobalAPI(Vue$2),Object.defineProperty(Vue$2.prototype,"$isServer",{get:isServerRendering}),Object.defineProperty(Vue$2.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Vue$2,"FunctionalRenderContext",{value:FunctionalRenderContext}),Vue$2.version="2.6.14";var isReservedAttr=makeMap("style,class"),acceptValue=makeMap("input,textarea,option,select,progress"),mustUseProp=function(e,a,n){return n==="value"&&acceptValue(e)&&a!=="button"||n==="selected"&&e==="option"||n==="checked"&&e==="input"||n==="muted"&&e==="video"},isEnumeratedAttr=makeMap("contenteditable,draggable,spellcheck"),isValidContentEditableValue=makeMap("events,caret,typing,plaintext-only"),convertEnumeratedValue=function(e,a){return isFalsyAttrValue(a)||a==="false"?"false":e==="contenteditable"&&isValidContentEditableValue(a)?a:"true"},isBooleanAttr=makeMap("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,truespeed,typemustmatch,visible"),xlinkNS="http://www.w3.org/1999/xlink",isXlink=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},getXlinkProp=function(e){return isXlink(e)?e.slice(6,e.length):""},isFalsyAttrValue=function(e){return e==null||e===!1};function genClassForVnode(e){for(var a=e.data,n=e,r=e;isDef(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(a=mergeClassData(r.data,a));for(;isDef(n=n.parent);)n&&n.data&&(a=mergeClassData(a,n.data));return renderClass(a.staticClass,a.class)}function mergeClassData(e,a){return{staticClass:concat(e.staticClass,a.staticClass),class:isDef(e.class)?[e.class,a.class]:a.class}}function renderClass(e,a){return isDef(e)||isDef(a)?concat(e,stringifyClass(a)):""}function concat(e,a){return e?a?e+" "+a:e:a||""}function stringifyClass(e){return Array.isArray(e)?stringifyArray(e):isObject$4(e)?stringifyObject(e):typeof e=="string"?e:""}function stringifyArray(e){for(var a="",n,r=0,i=e.length;r-1?unknownElementCache[e]=a.constructor===window.HTMLUnknownElement||a.constructor===window.HTMLElement:unknownElementCache[e]=/HTMLUnknownElement/.test(a.toString())}var isTextInputType=makeMap("text,number,password,search,email,tel,url");function query(e){if(typeof e=="string"){var a=document.querySelector(e);return a||document.createElement("div")}else return e}function createElement$1(e,a){var n=document.createElement(e);return e!=="select"||a.data&&a.data.attrs&&a.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function createElementNS(e,a){return document.createElementNS(namespaceMap[e],a)}function createTextNode(e){return document.createTextNode(e)}function createComment(e){return document.createComment(e)}function insertBefore(e,a,n){e.insertBefore(a,n)}function removeChild(e,a){e.removeChild(a)}function appendChild(e,a){e.appendChild(a)}function parentNode(e){return e.parentNode}function nextSibling(e){return e.nextSibling}function tagName(e){return e.tagName}function setTextContent(e,a){e.textContent=a}function setStyleScope(e,a){e.setAttribute(a,"")}var nodeOps=Object.freeze({createElement:createElement$1,createElementNS,createTextNode,createComment,insertBefore,removeChild,appendChild,parentNode,nextSibling,tagName,setTextContent,setStyleScope}),ref$1={create:function(a,n){registerRef(n)},update:function(a,n){a.data.ref!==n.data.ref&&(registerRef(a,!0),registerRef(n))},destroy:function(a){registerRef(a,!0)}};function registerRef(e,a){var n=e.data.ref;if(!!isDef(n)){var r=e.context,i=e.componentInstance||e.elm,s=r.$refs;a?Array.isArray(s[n])?remove$1(s[n],i):s[n]===i&&(s[n]=void 0):e.data.refInFor?Array.isArray(s[n])?s[n].indexOf(i)<0&&s[n].push(i):s[n]=[i]:s[n]=i}}var emptyNode=new VNode("",{},[]),hooks=["create","activate","update","remove","destroy"];function sameVnode(e,a){return e.key===a.key&&e.asyncFactory===a.asyncFactory&&(e.tag===a.tag&&e.isComment===a.isComment&&isDef(e.data)===isDef(a.data)&&sameInputType(e,a)||isTrue(e.isAsyncPlaceholder)&&isUndef(a.asyncFactory.error))}function sameInputType(e,a){if(e.tag!=="input")return!0;var n,r=isDef(n=e.data)&&isDef(n=n.attrs)&&n.type,i=isDef(n=a.data)&&isDef(n=n.attrs)&&n.type;return r===i||isTextInputType(r)&&isTextInputType(i)}function createKeyToOldIdx(e,a,n){var r,i,s={};for(r=a;r<=n;++r)i=e[r].key,isDef(i)&&(s[i]=r);return s}function createPatchFunction(e){var a,n,r={},i=e.modules,s=e.nodeOps;for(a=0;aN?(H=isUndef(k[U+1])?null:k[U+1].elm,A(g,H,k,M,U,x)):M>U&&z(b,D,N)}function $(g,b,k,x){for(var C=k;C-1?baseSetAttr(e,a,n):isBooleanAttr(a)?isFalsyAttrValue(n)?e.removeAttribute(a):(n=a==="allowfullscreen"&&e.tagName==="EMBED"?"true":a,e.setAttribute(a,n)):isEnumeratedAttr(a)?e.setAttribute(a,convertEnumeratedValue(a,n)):isXlink(a)?isFalsyAttrValue(n)?e.removeAttributeNS(xlinkNS,getXlinkProp(a)):e.setAttributeNS(xlinkNS,a,n):baseSetAttr(e,a,n)}function baseSetAttr(e,a,n){if(isFalsyAttrValue(n))e.removeAttribute(a);else{if(isIE&&!isIE9&&e.tagName==="TEXTAREA"&&a==="placeholder"&&n!==""&&!e.__ieph){var r=function(i){i.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(a,n)}}var attrs={create:updateAttrs,update:updateAttrs};function updateClass(e,a){var n=a.elm,r=a.data,i=e.data;if(!(isUndef(r.staticClass)&&isUndef(r.class)&&(isUndef(i)||isUndef(i.staticClass)&&isUndef(i.class)))){var s=genClassForVnode(a),l=n._transitionClasses;isDef(l)&&(s=concat(s,stringifyClass(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var klass={create:updateClass,update:updateClass},validDivisionCharRE=/[\w).+\-_$\]]/;function parseFilters(e){var a=!1,n=!1,r=!1,i=!1,s=0,l=0,c=0,o=0,u,d,f,h,m;for(f=0;f=0&&(y=e.charAt(v),y===" ");v--);(!y||!validDivisionCharRE.test(y))&&(i=!0)}}h===void 0?h=e.slice(0,f).trim():o!==0&&_();function _(){(m||(m=[])).push(e.slice(o,f).trim()),o=f+1}if(m)for(f=0;f-1?{exp:e.slice(0,index$1$1),key:'"'+e.slice(index$1$1+1)+'"'}:{exp:e,key:null};for(str=e,index$1$1=expressionPos=expressionEndPos=0;!eof();)chr=next(),isStringStart(chr)?parseString(chr):chr===91&&parseBracket(chr);return{exp:e.slice(0,expressionPos),key:e.slice(expressionPos+1,expressionEndPos)}}function next(){return str.charCodeAt(++index$1$1)}function eof(){return index$1$1>=len}function isStringStart(e){return e===34||e===39}function parseBracket(e){var a=1;for(expressionPos=index$1$1;!eof();){if(e=next(),isStringStart(e)){parseString(e);continue}if(e===91&&a++,e===93&&a--,a===0){expressionEndPos=index$1$1;break}}}function parseString(e){for(var a=e;!eof()&&(e=next(),e!==a););}var RANGE_TOKEN="__r",CHECKBOX_RADIO_TOKEN="__c";function model(e,a,n){var r=a.value,i=a.modifiers,s=e.tag,l=e.attrsMap.type;if(e.component)return genComponentModel(e,r,i),!1;if(s==="select")genSelect(e,r,i);else if(s==="input"&&l==="checkbox")genCheckboxModel(e,r,i);else if(s==="input"&&l==="radio")genRadioModel(e,r,i);else if(s==="input"||s==="textarea")genDefaultModel(e,r,i);else if(!config.isReservedTag(s))return genComponentModel(e,r,i),!1;return!0}function genCheckboxModel(e,a,n){var r=n&&n.number,i=getBindingAttr(e,"value")||"null",s=getBindingAttr(e,"true-value")||"true",l=getBindingAttr(e,"false-value")||"false";addProp(e,"checked","Array.isArray("+a+")?_i("+a+","+i+")>-1"+(s==="true"?":("+a+")":":_q("+a+","+s+")")),addHandler(e,"change","var $$a="+a+",$$el=$event.target,$$c=$$el.checked?("+s+"):("+l+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+genAssignmentCode(a,"$$a.concat([$$v])")+")}else{$$i>-1&&("+genAssignmentCode(a,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+genAssignmentCode(a,"$$c")+"}",null,!0)}function genRadioModel(e,a,n){var r=n&&n.number,i=getBindingAttr(e,"value")||"null";i=r?"_n("+i+")":i,addProp(e,"checked","_q("+a+","+i+")"),addHandler(e,"change",genAssignmentCode(a,i),null,!0)}function genSelect(e,a,n){var r=n&&n.number,i='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 '+(r?"_n(val)":"val")+"})",s="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",l="var $$selectedVal = "+i+";";l=l+" "+genAssignmentCode(a,s),addHandler(e,"change",l,null,!0)}function genDefaultModel(e,a,n){var r=e.attrsMap.type,i=n||{},s=i.lazy,l=i.number,c=i.trim,o=!s&&r!=="range",u=s?"change":r==="range"?RANGE_TOKEN:"input",d="$event.target.value";c&&(d="$event.target.value.trim()"),l&&(d="_n("+d+")");var f=genAssignmentCode(a,d);o&&(f="if($event.target.composing)return;"+f),addProp(e,"value","("+a+")"),addHandler(e,u,f,null,!0),(c||l)&&addHandler(e,"blur","$forceUpdate()")}function normalizeEvents(e){if(isDef(e[RANGE_TOKEN])){var a=isIE?"change":"input";e[a]=[].concat(e[RANGE_TOKEN],e[a]||[]),delete e[RANGE_TOKEN]}isDef(e[CHECKBOX_RADIO_TOKEN])&&(e.change=[].concat(e[CHECKBOX_RADIO_TOKEN],e.change||[]),delete e[CHECKBOX_RADIO_TOKEN])}var target$1$1;function createOnceHandler$1(e,a,n){var r=target$1$1;return function i(){var s=a.apply(null,arguments);s!==null&&remove$2(e,i,n,r)}}var useMicrotaskFix=isUsingMicroTask&&!(isFF&&Number(isFF[1])<=53);function add$1(e,a,n,r){if(useMicrotaskFix){var i=currentFlushTimestamp,s=a;a=s._wrapper=function(l){if(l.target===l.currentTarget||l.timeStamp>=i||l.timeStamp<=0||l.target.ownerDocument!==document)return s.apply(this,arguments)}}target$1$1.addEventListener(e,a,supportsPassive?{capture:n,passive:r}:n)}function remove$2(e,a,n,r){(r||target$1$1).removeEventListener(e,a._wrapper||a,n)}function updateDOMListeners(e,a){if(!(isUndef(e.data.on)&&isUndef(a.data.on))){var n=a.data.on||{},r=e.data.on||{};target$1$1=a.elm,normalizeEvents(n),updateListeners(n,r,add$1,remove$2,createOnceHandler$1,a.context),target$1$1=void 0}}var events={create:updateDOMListeners,update:updateDOMListeners},svgContainer;function updateDOMProps(e,a){if(!(isUndef(e.data.domProps)&&isUndef(a.data.domProps))){var n,r,i=a.elm,s=e.data.domProps||{},l=a.data.domProps||{};isDef(l.__ob__)&&(l=a.data.domProps=extend$2({},l));for(n in s)n in l||(i[n]="");for(n in l){if(r=l[n],n==="textContent"||n==="innerHTML"){if(a.children&&(a.children.length=0),r===s[n])continue;i.childNodes.length===1&&i.removeChild(i.childNodes[0])}if(n==="value"&&i.tagName!=="PROGRESS"){i._value=r;var c=isUndef(r)?"":String(r);shouldUpdateValue(i,c)&&(i.value=c)}else if(n==="innerHTML"&&isSVG(i.tagName)&&isUndef(i.innerHTML)){svgContainer=svgContainer||document.createElement("div"),svgContainer.innerHTML=""+r+"";for(var o=svgContainer.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;o.firstChild;)i.appendChild(o.firstChild)}else if(r!==s[n])try{i[n]=r}catch(u){}}}}function shouldUpdateValue(e,a){return!e.composing&&(e.tagName==="OPTION"||isNotInFocusAndDirty(e,a)||isDirtyWithModifiers(e,a))}function isNotInFocusAndDirty(e,a){var n=!0;try{n=document.activeElement!==e}catch(r){}return n&&e.value!==a}function isDirtyWithModifiers(e,a){var n=e.value,r=e._vModifiers;if(isDef(r)){if(r.number)return toNumber$1(n)!==toNumber$1(a);if(r.trim)return n.trim()!==a.trim()}return n!==a}var domProps={create:updateDOMProps,update:updateDOMProps},parseStyleText=cached$2(function(e){var a={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(i){if(i){var s=i.split(r);s.length>1&&(a[s[0].trim()]=s[1].trim())}}),a});function normalizeStyleData(e){var a=normalizeStyleBinding(e.style);return e.staticStyle?extend$2(e.staticStyle,a):a}function normalizeStyleBinding(e){return Array.isArray(e)?toObject(e):typeof e=="string"?parseStyleText(e):e}function getStyle(e,a){var n={},r;if(a)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(r=normalizeStyleData(i.data))&&extend$2(n,r);(r=normalizeStyleData(e.data))&&extend$2(n,r);for(var s=e;s=s.parent;)s.data&&(r=normalizeStyleData(s.data))&&extend$2(n,r);return n}var cssVarRE=/^--/,importantRE=/\s*!important$/,setProp=function(e,a,n){if(cssVarRE.test(a))e.style.setProperty(a,n);else if(importantRE.test(n))e.style.setProperty(hyphenate(a),n.replace(importantRE,""),"important");else{var r=normalize(a);if(Array.isArray(n))for(var i=0,s=n.length;i-1?a.split(whitespaceRE).forEach(function(r){return e.classList.add(r)}):e.classList.add(a);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+a+" ")<0&&e.setAttribute("class",(n+a).trim())}}function removeClass(e,a){if(!(!a||!(a=a.trim())))if(e.classList)a.indexOf(" ")>-1?a.split(whitespaceRE).forEach(function(i){return e.classList.remove(i)}):e.classList.remove(a),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+a+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function resolveTransition(e){if(!!e){if(typeof e=="object"){var a={};return e.css!==!1&&extend$2(a,autoCssTransition(e.name||"v")),extend$2(a,e),a}else if(typeof e=="string")return autoCssTransition(e)}}var autoCssTransition=cached$2(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),hasTransition=inBrowser$1&&!isIE9,TRANSITION="transition",ANIMATION="animation",transitionProp="transition",transitionEndEvent="transitionend",animationProp="animation",animationEndEvent="animationend";hasTransition&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(transitionProp="WebkitTransition",transitionEndEvent="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(animationProp="WebkitAnimation",animationEndEvent="webkitAnimationEnd"));var raf=inBrowser$1?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function nextFrame(e){raf(function(){raf(e)})}function addTransitionClass(e,a){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(a)<0&&(n.push(a),addClass(e,a))}function removeTransitionClass(e,a){e._transitionClasses&&remove$1(e._transitionClasses,a),removeClass(e,a)}function whenTransitionEnds(e,a,n){var r=getTransitionInfo(e,a),i=r.type,s=r.timeout,l=r.propCount;if(!i)return n();var c=i===TRANSITION?transitionEndEvent:animationEndEvent,o=0,u=function(){e.removeEventListener(c,d),n()},d=function(f){f.target===e&&++o>=l&&u()};setTimeout(function(){o0&&(u=TRANSITION,d=s,f=i.length):a===ANIMATION?o>0&&(u=ANIMATION,d=o,f=c.length):(d=Math.max(s,o),u=d>0?s>o?TRANSITION:ANIMATION:null,f=u?u===TRANSITION?i.length:c.length:0);var h=u===TRANSITION&&transformRE.test(n[transitionProp+"Property"]);return{type:u,timeout:d,propCount:f,hasTransform:h}}function getTimeout(e,a){for(;e.length1}function _enter(e,a){a.data.show!==!0&&enter(a)}var transition=inBrowser$1?{create:_enter,activate:_enter,remove:function(a,n){a.data.show!==!0?leave(a,n):n()}}:{},platformModules=[attrs,klass,events,domProps,style,transition],modules=platformModules.concat(baseModules),patch=createPatchFunction({nodeOps,modules});isIE9&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&trigger(e,"input")});var directive={inserted:function(a,n,r,i){r.tag==="select"?(i.elm&&!i.elm._vOptions?mergeVNodeHook(r,"postpatch",function(){directive.componentUpdated(a,n,r)}):setSelected(a,n,r.context),a._vOptions=[].map.call(a.options,getValue$1)):(r.tag==="textarea"||isTextInputType(a.type))&&(a._vModifiers=n.modifiers,n.modifiers.lazy||(a.addEventListener("compositionstart",onCompositionStart),a.addEventListener("compositionend",onCompositionEnd),a.addEventListener("change",onCompositionEnd),isIE9&&(a.vmodel=!0)))},componentUpdated:function(a,n,r){if(r.tag==="select"){setSelected(a,n,r.context);var i=a._vOptions,s=a._vOptions=[].map.call(a.options,getValue$1);if(s.some(function(c,o){return!looseEqual$1(c,i[o])})){var l=a.multiple?n.value.some(function(c){return hasNoMatchingOption(c,s)}):n.value!==n.oldValue&&hasNoMatchingOption(n.value,s);l&&trigger(a,"change")}}}};function setSelected(e,a,n){actuallySetSelected(e,a),(isIE||isEdge)&&setTimeout(function(){actuallySetSelected(e,a)},0)}function actuallySetSelected(e,a,n){var r=a.value,i=e.multiple;if(!(i&&!Array.isArray(r))){for(var s,l,c=0,o=e.options.length;c-1,l.selected!==s&&(l.selected=s);else if(looseEqual$1(getValue$1(l),r)){e.selectedIndex!==c&&(e.selectedIndex=c);return}i||(e.selectedIndex=-1)}}function hasNoMatchingOption(e,a){return a.every(function(n){return!looseEqual$1(n,e)})}function getValue$1(e){return"_value"in e?e._value:e.value}function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){!e.target.composing||(e.target.composing=!1,trigger(e.target,"input"))}function trigger(e,a){var n=document.createEvent("HTMLEvents");n.initEvent(a,!0,!0),e.dispatchEvent(n)}function locateNode(e){return e.componentInstance&&(!e.data||!e.data.transition)?locateNode(e.componentInstance._vnode):e}var show={bind:function(a,n,r){var i=n.value;r=locateNode(r);var s=r.data&&r.data.transition,l=a.__vOriginalDisplay=a.style.display==="none"?"":a.style.display;i&&s?(r.data.show=!0,enter(r,function(){a.style.display=l})):a.style.display=i?l:"none"},update:function(a,n,r){var i=n.value,s=n.oldValue;if(!i!=!s){r=locateNode(r);var l=r.data&&r.data.transition;l?(r.data.show=!0,i?enter(r,function(){a.style.display=a.__vOriginalDisplay}):leave(r,function(){a.style.display="none"})):a.style.display=i?a.__vOriginalDisplay:"none"}},unbind:function(a,n,r,i,s){s||(a.style.display=a.__vOriginalDisplay)}},platformDirectives={model:directive,show},transitionProps={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 getRealChild(e){var a=e&&e.componentOptions;return a&&a.Ctor.options.abstract?getRealChild(getFirstComponentChild(a.children)):e}function extractTransitionData(e){var a={},n=e.$options;for(var r in n.propsData)a[r]=e[r];var i=n._parentListeners;for(var s in i)a[camelize(s)]=i[s];return a}function placeholder(e,a){if(/\d-keep-alive$/.test(a.tag))return e("keep-alive",{props:a.componentOptions.propsData})}function hasParentTransition(e){for(;e=e.parent;)if(e.data.transition)return!0}function isSameChild(e,a){return a.key===e.key&&a.tag===e.tag}var isNotTextNode=function(e){return e.tag||isAsyncPlaceholder(e)},isVShowDirective=function(e){return e.name==="show"},Transition={name:"transition",props:transitionProps,abstract:!0,render:function(a){var n=this,r=this.$slots.default;if(!!r&&(r=r.filter(isNotTextNode),!!r.length)){var i=this.mode,s=r[0];if(hasParentTransition(this.$vnode))return s;var l=getRealChild(s);if(!l)return s;if(this._leaving)return placeholder(a,s);var c="__transition-"+this._uid+"-";l.key=l.key==null?l.isComment?c+"comment":c+l.tag:isPrimitive(l.key)?String(l.key).indexOf(c)===0?l.key:c+l.key:l.key;var o=(l.data||(l.data={})).transition=extractTransitionData(this),u=this._vnode,d=getRealChild(u);if(l.data.directives&&l.data.directives.some(isVShowDirective)&&(l.data.show=!0),d&&d.data&&!isSameChild(l,d)&&!isAsyncPlaceholder(d)&&!(d.componentInstance&&d.componentInstance._vnode.isComment)){var f=d.data.transition=extend$2({},o);if(i==="out-in")return this._leaving=!0,mergeVNodeHook(f,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()}),placeholder(a,s);if(i==="in-out"){if(isAsyncPlaceholder(l))return u;var h,m=function(){h()};mergeVNodeHook(o,"afterEnter",m),mergeVNodeHook(o,"enterCancelled",m),mergeVNodeHook(f,"delayLeave",function(v){h=v})}}return s}}},props=extend$2({tag:String,moveClass:String},transitionProps);delete props.mode;var TransitionGroup={props,beforeMount:function(){var a=this,n=this._update;this._update=function(r,i){var s=setActiveInstance(a);a.__patch__(a._vnode,a.kept,!1,!0),a._vnode=a.kept,s(),n.call(a,r,i)}},render:function(a){for(var n=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),i=this.prevChildren=this.children,s=this.$slots.default||[],l=this.children=[],c=extractTransitionData(this),o=0;os&&(i.push(o=e.slice(s,c)),r.push(JSON.stringify(o)));var u=parseFilters(l[1].trim());r.push("_s("+u+")"),i.push({"@binding":u}),s=c+l[0].length}return s\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,dynamicArgAttribute=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ncname="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+unicodeRegExp.source+"]*",qnameCapture="((?:"+ncname+"\\:)?"+ncname+")",startTagOpen=new RegExp("^<"+qnameCapture),startTagClose=/^\s*(\/?)>/,endTag=new RegExp("^<\\/"+qnameCapture+"[^>]*>"),doctype=/^]+>/i,comment=/^",""":'"',"&":"&"," ":` + */var emptyObject=Object.freeze({});function isUndef(e){return e==null}function isDef(e){return e!=null}function isTrue(e){return e===!0}function isFalse(e){return e===!1}function isPrimitive(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function isObject$4(e){return e!==null&&typeof e=="object"}var _toString=Object.prototype.toString;function toRawType(e){return _toString.call(e).slice(8,-1)}function isPlainObject$2(e){return _toString.call(e)==="[object Object]"}function isRegExp(e){return _toString.call(e)==="[object RegExp]"}function isValidArrayIndex(e){var a=parseFloat(String(e));return a>=0&&Math.floor(a)===a&&isFinite(e)}function isPromise$1(e){return isDef(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function toString$3(e){return e==null?"":Array.isArray(e)||isPlainObject$2(e)&&e.toString===_toString?JSON.stringify(e,null,2):String(e)}function toNumber$1(e){var a=parseFloat(e);return isNaN(a)?e:a}function makeMap(e,a){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var hasOwnProperty$b=Object.prototype.hasOwnProperty;function hasOwn$2(e,a){return hasOwnProperty$b.call(e,a)}function cached$2(e){var a=Object.create(null);return function(r){var i=a[r];return i||(a[r]=e(r))}}var camelizeRE=/-(\w)/g,camelize=cached$2(function(e){return e.replace(camelizeRE,function(a,n){return n?n.toUpperCase():""})}),capitalize=cached$2(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),hyphenateRE=/\B([A-Z])/g,hyphenate=cached$2(function(e){return e.replace(hyphenateRE,"-$1").toLowerCase()});function polyfillBind(e,a){function n(r){var i=arguments.length;return i?i>1?e.apply(a,arguments):e.call(a,r):e.call(a)}return n._length=e.length,n}function nativeBind(e,a){return e.bind(a)}var bind$1=Function.prototype.bind?nativeBind:polyfillBind;function toArray(e,a){a=a||0;for(var n=e.length-a,r=new Array(n);n--;)r[n]=e[n+a];return r}function extend$2(e,a){for(var n in a)e[n]=a[n];return e}function toObject(e){for(var a={},n=0;n0,isEdge=UA&&UA.indexOf("edge/")>0;UA&&UA.indexOf("android")>0;var isIOS=UA&&/iphone|ipad|ipod|ios/.test(UA)||weexPlatform==="ios";UA&&/chrome\/\d+/.test(UA),UA&&/phantomjs/.test(UA);var isFF=UA&&UA.match(/firefox\/(\d+)/),nativeWatch={}.watch,supportsPassive=!1;if(inBrowser$1)try{var opts={};Object.defineProperty(opts,"passive",{get:function(){supportsPassive=!0}}),window.addEventListener("test-passive",null,opts)}catch(e){}var _isServer,isServerRendering=function(){return _isServer===void 0&&(!inBrowser$1&&!inWeex&&typeof global!="undefined"?_isServer=global.process&&global.process.env.VUE_ENV==="server":_isServer=!1),_isServer},devtools=inBrowser$1&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function isNative$1(e){return typeof e=="function"&&/native code/.test(e.toString())}var hasSymbol$2=typeof Symbol!="undefined"&&isNative$1(Symbol)&&typeof Reflect!="undefined"&&isNative$1(Reflect.ownKeys),_Set;typeof Set!="undefined"&&isNative$1(Set)?_Set=Set:_Set=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(n){return this.set[n]===!0},e.prototype.add=function(n){this.set[n]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var warn$1=noop$2,uid=0,Dep=function(){this.id=uid++,this.subs=[]};Dep.prototype.addSub=function(a){this.subs.push(a)},Dep.prototype.removeSub=function(a){remove$1(this.subs,a)},Dep.prototype.depend=function(){Dep.target&&Dep.target.addDep(this)},Dep.prototype.notify=function(){for(var a=this.subs.slice(),n=0,r=a.length;n-1){if(s&&!hasOwn$2(i,"default"))l=!1;else if(l===""||l===hyphenate(e)){var o=getTypeIndex(String,i.type);(o<0||c0&&(i=normalizeArrayChildren(i,(a||"")+"_"+r),isTextNode(i[0])&&isTextNode(l)&&(n[s]=createTextVNode(l.text+i[0].text),i.shift()),n.push.apply(n,i)):isPrimitive(i)?isTextNode(l)?n[s]=createTextVNode(l.text+i):i!==""&&n.push(createTextVNode(i)):isTextNode(i)&&isTextNode(l)?n[s]=createTextVNode(l.text+i.text):(isTrue(e._isVList)&&isDef(i.tag)&&isUndef(i.key)&&isDef(a)&&(i.key="__vlist"+a+"_"+r+"__"),n.push(i)));return n}function initProvide(e){var a=e.$options.provide;a&&(e._provided=typeof a=="function"?a.call(e):a)}function initInjections(e){var a=resolveInject(e.$options.inject,e);a&&(toggleObserving(!1),Object.keys(a).forEach(function(n){defineReactive$$1(e,n,a[n])}),toggleObserving(!0))}function resolveInject(e,a){if(e){for(var n=Object.create(null),r=hasSymbol$2?Reflect.ownKeys(e):Object.keys(e),i=0;i0,s=e?!!e.$stable:!i,l=e&&e.$key;if(!e)r={};else{if(e._normalized)return e._normalized;if(s&&n&&n!==emptyObject&&l===n.$key&&!i&&!n.$hasNormal)return n;r={};for(var c in e)e[c]&&c[0]!=="$"&&(r[c]=normalizeScopedSlot(a,c,e[c]))}for(var o in a)o in r||(r[o]=proxyNormalSlot(a,o));return e&&Object.isExtensible(e)&&(e._normalized=r),def$1(r,"$stable",s),def$1(r,"$key",l),def$1(r,"$hasNormal",i),r}function normalizeScopedSlot(e,a,n){var r=function(){var i=arguments.length?n.apply(null,arguments):n({});i=i&&typeof i=="object"&&!Array.isArray(i)?[i]:normalizeChildren(i);var s=i&&i[0];return i&&(!s||i.length===1&&s.isComment&&!isAsyncPlaceholder(s))?void 0:i};return n.proxy&&Object.defineProperty(e,a,{get:r,enumerable:!0,configurable:!0}),r}function proxyNormalSlot(e,a){return function(){return e[a]}}function renderList(e,a){var n,r,i,s,l;if(Array.isArray(e)||typeof e=="string")for(n=new Array(e.length),r=0,i=e.length;r1?toArray(i):i;for(var s=toArray(arguments,1),l='event handler for "'+n+'"',c=0,o=i.length;cdocument.createEvent("Event").timeStamp&&(getNow=function(){return performance.now()})}function flushSchedulerQueue(){currentFlushTimestamp=getNow(),flushing=!0;var e,a;for(queue.sort(function(i,s){return i.id-s.id}),index$1=0;index$1index$1&&queue[n].id>e.id;)n--;queue.splice(n+1,0,e)}waiting||(waiting=!0,nextTick(flushSchedulerQueue))}}var uid$2=0,Watcher=function(a,n,r,i,s){this.vm=a,s&&(a._watcher=this),a._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++uid$2,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new _Set,this.newDepIds=new _Set,this.expression="",typeof n=="function"?this.getter=n:(this.getter=parsePath$1(n),this.getter||(this.getter=noop$2)),this.value=this.lazy?void 0:this.get()};Watcher.prototype.get=function(){pushTarget(this);var a,n=this.vm;try{a=this.getter.call(n,n)}catch(r){if(this.user)handleError(r,n,'getter for watcher "'+this.expression+'"');else throw r}finally{this.deep&&traverse$1(a),popTarget(),this.cleanupDeps()}return a},Watcher.prototype.addDep=function(a){var n=a.id;this.newDepIds.has(n)||(this.newDepIds.add(n),this.newDeps.push(a),this.depIds.has(n)||a.addSub(this))},Watcher.prototype.cleanupDeps=function(){for(var a=this.deps.length;a--;){var n=this.deps[a];this.newDepIds.has(n.id)||n.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},Watcher.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():queueWatcher(this)},Watcher.prototype.run=function(){if(this.active){var a=this.get();if(a!==this.value||isObject$4(a)||this.deep){var n=this.value;if(this.value=a,this.user){var r='callback for watcher "'+this.expression+'"';invokeWithErrorHandling(this.cb,this.vm,[a,n],this.vm,r)}else this.cb.call(this.vm,a,n)}}},Watcher.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Watcher.prototype.depend=function(){for(var a=this.deps.length;a--;)this.deps[a].depend()},Watcher.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||remove$1(this.vm._watchers,this);for(var a=this.deps.length;a--;)this.deps[a].removeSub(this);this.active=!1}};var sharedPropertyDefinition={enumerable:!0,configurable:!0,get:noop$2,set:noop$2};function proxy$1(e,a,n){sharedPropertyDefinition.get=function(){return this[a][n]},sharedPropertyDefinition.set=function(i){this[a][n]=i},Object.defineProperty(e,n,sharedPropertyDefinition)}function initState(e){e._watchers=[];var a=e.$options;a.props&&initProps(e,a.props),a.methods&&initMethods(e,a.methods),a.data?initData(e):observe$1(e._data={},!0),a.computed&&initComputed(e,a.computed),a.watch&&a.watch!==nativeWatch&&initWatch(e,a.watch)}function initProps(e,a){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],s=!e.$parent;s||toggleObserving(!1);var l=function(o){i.push(o);var u=validateProp(o,a,n,e);defineReactive$$1(r,o,u),o in e||proxy$1(e,"_props",o)};for(var c in a)l(c);toggleObserving(!0)}function initData(e){var a=e.$options.data;a=e._data=typeof a=="function"?getData(a,e):a||{},isPlainObject$2(a)||(a={});var n=Object.keys(a),r=e.$options.props;e.$options.methods;for(var i=n.length;i--;){var s=n[i];r&&hasOwn$2(r,s)||isReserved(s)||proxy$1(e,"_data",s)}observe$1(a,!0)}function getData(e,a){pushTarget();try{return e.call(a,a)}catch(n){return handleError(n,a,"data()"),{}}finally{popTarget()}}var computedWatcherOptions={lazy:!0};function initComputed(e,a){var n=e._computedWatchers=Object.create(null),r=isServerRendering();for(var i in a){var s=a[i],l=typeof s=="function"?s:s.get;r||(n[i]=new Watcher(e,l||noop$2,noop$2,computedWatcherOptions)),i in e||defineComputed(e,i,s)}}function defineComputed(e,a,n){var r=!isServerRendering();typeof n=="function"?(sharedPropertyDefinition.get=r?createComputedGetter(a):createGetterInvoker(n),sharedPropertyDefinition.set=noop$2):(sharedPropertyDefinition.get=n.get?r&&n.cache!==!1?createComputedGetter(a):createGetterInvoker(n.get):noop$2,sharedPropertyDefinition.set=n.set||noop$2),Object.defineProperty(e,a,sharedPropertyDefinition)}function createComputedGetter(e){return function(){var n=this._computedWatchers&&this._computedWatchers[e];if(n)return n.dirty&&n.evaluate(),Dep.target&&n.depend(),n.value}}function createGetterInvoker(e){return function(){return e.call(this,this)}}function initMethods(e,a){e.$options.props;for(var n in a)e[n]=typeof a[n]!="function"?noop$2:bind$1(a[n],e)}function initWatch(e,a){for(var n in a){var r=a[n];if(Array.isArray(r))for(var i=0;i-1)return this;var r=toArray(arguments,1);return r.unshift(this),typeof a.install=="function"?a.install.apply(a,r):typeof a=="function"&&a.apply(null,r),n.push(a),this}}function initMixin$1(e){e.mixin=function(a){return this.options=mergeOptions(this.options,a),this}}function initExtend(e){e.cid=0;var a=1;e.extend=function(n){n=n||{};var r=this,i=r.cid,s=n._Ctor||(n._Ctor={});if(s[i])return s[i];var l=n.name||r.options.name,c=function(u){this._init(u)};return c.prototype=Object.create(r.prototype),c.prototype.constructor=c,c.cid=a++,c.options=mergeOptions(r.options,n),c.super=r,c.options.props&&initProps$1(c),c.options.computed&&initComputed$1(c),c.extend=r.extend,c.mixin=r.mixin,c.use=r.use,ASSET_TYPES.forEach(function(o){c[o]=r[o]}),l&&(c.options.components[l]=c),c.superOptions=r.options,c.extendOptions=n,c.sealedOptions=extend$2({},c.options),s[i]=c,c}}function initProps$1(e){var a=e.options.props;for(var n in a)proxy$1(e.prototype,"_props",n)}function initComputed$1(e){var a=e.options.computed;for(var n in a)defineComputed(e.prototype,n,a[n])}function initAssetRegisters(e){ASSET_TYPES.forEach(function(a){e[a]=function(n,r){return r?(a==="component"&&isPlainObject$2(r)&&(r.name=r.name||n,r=this.options._base.extend(r)),a==="directive"&&typeof r=="function"&&(r={bind:r,update:r}),this.options[a+"s"][n]=r,r):this.options[a+"s"][n]}})}function getComponentName(e){return e&&(e.Ctor.options.name||e.tag)}function matches(e,a){return Array.isArray(e)?e.indexOf(a)>-1:typeof e=="string"?e.split(",").indexOf(a)>-1:isRegExp(e)?e.test(a):!1}function pruneCache(e,a){var n=e.cache,r=e.keys,i=e._vnode;for(var s in n){var l=n[s];if(l){var c=l.name;c&&!a(c)&&pruneCacheEntry(n,s,r,i)}}}function pruneCacheEntry(e,a,n,r){var i=e[a];i&&(!r||i.tag!==r.tag)&&i.componentInstance.$destroy(),e[a]=null,remove$1(n,a)}var patternTypes=[String,RegExp,Array],KeepAlive={name:"keep-alive",abstract:!0,props:{include:patternTypes,exclude:patternTypes,max:[String,Number]},methods:{cacheVNode:function(){var a=this,n=a.cache,r=a.keys,i=a.vnodeToCache,s=a.keyToCache;if(i){var l=i.tag,c=i.componentInstance,o=i.componentOptions;n[s]={name:getComponentName(o),tag:l,componentInstance:c},r.push(s),this.max&&r.length>parseInt(this.max)&&pruneCacheEntry(n,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var a in this.cache)pruneCacheEntry(this.cache,a,this.keys)},mounted:function(){var a=this;this.cacheVNode(),this.$watch("include",function(n){pruneCache(a,function(r){return matches(n,r)})}),this.$watch("exclude",function(n){pruneCache(a,function(r){return!matches(n,r)})})},updated:function(){this.cacheVNode()},render:function(){var a=this.$slots.default,n=getFirstComponentChild(a),r=n&&n.componentOptions;if(r){var i=getComponentName(r),s=this,l=s.include,c=s.exclude;if(l&&(!i||!matches(l,i))||c&&i&&matches(c,i))return n;var o=this,u=o.cache,d=o.keys,f=n.key==null?r.Ctor.cid+(r.tag?"::"+r.tag:""):n.key;u[f]?(n.componentInstance=u[f].componentInstance,remove$1(d,f),d.push(f)):(this.vnodeToCache=n,this.keyToCache=f),n.data.keepAlive=!0}return n||a&&a[0]}},builtInComponents={KeepAlive};function initGlobalAPI(e){var a={};a.get=function(){return config},Object.defineProperty(e,"config",a),e.util={warn:warn$1,extend:extend$2,mergeOptions,defineReactive:defineReactive$$1},e.set=set$1,e.delete=del,e.nextTick=nextTick,e.observable=function(n){return observe$1(n),n},e.options=Object.create(null),ASSET_TYPES.forEach(function(n){e.options[n+"s"]=Object.create(null)}),e.options._base=e,extend$2(e.options.components,builtInComponents),initUse(e),initMixin$1(e),initExtend(e),initAssetRegisters(e)}initGlobalAPI(Vue$2),Object.defineProperty(Vue$2.prototype,"$isServer",{get:isServerRendering}),Object.defineProperty(Vue$2.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Vue$2,"FunctionalRenderContext",{value:FunctionalRenderContext}),Vue$2.version="2.6.14";var isReservedAttr=makeMap("style,class"),acceptValue=makeMap("input,textarea,option,select,progress"),mustUseProp=function(e,a,n){return n==="value"&&acceptValue(e)&&a!=="button"||n==="selected"&&e==="option"||n==="checked"&&e==="input"||n==="muted"&&e==="video"},isEnumeratedAttr=makeMap("contenteditable,draggable,spellcheck"),isValidContentEditableValue=makeMap("events,caret,typing,plaintext-only"),convertEnumeratedValue=function(e,a){return isFalsyAttrValue(a)||a==="false"?"false":e==="contenteditable"&&isValidContentEditableValue(a)?a:"true"},isBooleanAttr=makeMap("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,truespeed,typemustmatch,visible"),xlinkNS="http://www.w3.org/1999/xlink",isXlink=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},getXlinkProp=function(e){return isXlink(e)?e.slice(6,e.length):""},isFalsyAttrValue=function(e){return e==null||e===!1};function genClassForVnode(e){for(var a=e.data,n=e,r=e;isDef(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(a=mergeClassData(r.data,a));for(;isDef(n=n.parent);)n&&n.data&&(a=mergeClassData(a,n.data));return renderClass(a.staticClass,a.class)}function mergeClassData(e,a){return{staticClass:concat(e.staticClass,a.staticClass),class:isDef(e.class)?[e.class,a.class]:a.class}}function renderClass(e,a){return isDef(e)||isDef(a)?concat(e,stringifyClass(a)):""}function concat(e,a){return e?a?e+" "+a:e:a||""}function stringifyClass(e){return Array.isArray(e)?stringifyArray(e):isObject$4(e)?stringifyObject(e):typeof e=="string"?e:""}function stringifyArray(e){for(var a="",n,r=0,i=e.length;r-1?unknownElementCache[e]=a.constructor===window.HTMLUnknownElement||a.constructor===window.HTMLElement:unknownElementCache[e]=/HTMLUnknownElement/.test(a.toString())}var isTextInputType=makeMap("text,number,password,search,email,tel,url");function query(e){if(typeof e=="string"){var a=document.querySelector(e);return a||document.createElement("div")}else return e}function createElement$1(e,a){var n=document.createElement(e);return e!=="select"||a.data&&a.data.attrs&&a.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function createElementNS(e,a){return document.createElementNS(namespaceMap[e],a)}function createTextNode(e){return document.createTextNode(e)}function createComment(e){return document.createComment(e)}function insertBefore(e,a,n){e.insertBefore(a,n)}function removeChild(e,a){e.removeChild(a)}function appendChild(e,a){e.appendChild(a)}function parentNode(e){return e.parentNode}function nextSibling(e){return e.nextSibling}function tagName(e){return e.tagName}function setTextContent(e,a){e.textContent=a}function setStyleScope(e,a){e.setAttribute(a,"")}var nodeOps=Object.freeze({createElement:createElement$1,createElementNS,createTextNode,createComment,insertBefore,removeChild,appendChild,parentNode,nextSibling,tagName,setTextContent,setStyleScope}),ref$1={create:function(a,n){registerRef(n)},update:function(a,n){a.data.ref!==n.data.ref&&(registerRef(a,!0),registerRef(n))},destroy:function(a){registerRef(a,!0)}};function registerRef(e,a){var n=e.data.ref;if(!!isDef(n)){var r=e.context,i=e.componentInstance||e.elm,s=r.$refs;a?Array.isArray(s[n])?remove$1(s[n],i):s[n]===i&&(s[n]=void 0):e.data.refInFor?Array.isArray(s[n])?s[n].indexOf(i)<0&&s[n].push(i):s[n]=[i]:s[n]=i}}var emptyNode=new VNode("",{},[]),hooks=["create","activate","update","remove","destroy"];function sameVnode(e,a){return e.key===a.key&&e.asyncFactory===a.asyncFactory&&(e.tag===a.tag&&e.isComment===a.isComment&&isDef(e.data)===isDef(a.data)&&sameInputType(e,a)||isTrue(e.isAsyncPlaceholder)&&isUndef(a.asyncFactory.error))}function sameInputType(e,a){if(e.tag!=="input")return!0;var n,r=isDef(n=e.data)&&isDef(n=n.attrs)&&n.type,i=isDef(n=a.data)&&isDef(n=n.attrs)&&n.type;return r===i||isTextInputType(r)&&isTextInputType(i)}function createKeyToOldIdx(e,a,n){var r,i,s={};for(r=a;r<=n;++r)i=e[r].key,isDef(i)&&(s[i]=r);return s}function createPatchFunction(e){var a,n,r={},i=e.modules,s=e.nodeOps;for(a=0;aD?(H=isUndef(k[U+1])?null:k[U+1].elm,A(g,H,k,M,U,x)):M>U&&T(b,N,D)}function $(g,b,k,x){for(var C=k;C-1?baseSetAttr(e,a,n):isBooleanAttr(a)?isFalsyAttrValue(n)?e.removeAttribute(a):(n=a==="allowfullscreen"&&e.tagName==="EMBED"?"true":a,e.setAttribute(a,n)):isEnumeratedAttr(a)?e.setAttribute(a,convertEnumeratedValue(a,n)):isXlink(a)?isFalsyAttrValue(n)?e.removeAttributeNS(xlinkNS,getXlinkProp(a)):e.setAttributeNS(xlinkNS,a,n):baseSetAttr(e,a,n)}function baseSetAttr(e,a,n){if(isFalsyAttrValue(n))e.removeAttribute(a);else{if(isIE&&!isIE9&&e.tagName==="TEXTAREA"&&a==="placeholder"&&n!==""&&!e.__ieph){var r=function(i){i.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(a,n)}}var attrs={create:updateAttrs,update:updateAttrs};function updateClass(e,a){var n=a.elm,r=a.data,i=e.data;if(!(isUndef(r.staticClass)&&isUndef(r.class)&&(isUndef(i)||isUndef(i.staticClass)&&isUndef(i.class)))){var s=genClassForVnode(a),l=n._transitionClasses;isDef(l)&&(s=concat(s,stringifyClass(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var klass={create:updateClass,update:updateClass},validDivisionCharRE=/[\w).+\-_$\]]/;function parseFilters(e){var a=!1,n=!1,r=!1,i=!1,s=0,l=0,c=0,o=0,u,d,f,h,m;for(f=0;f=0&&(y=e.charAt(v),y===" ");v--);(!y||!validDivisionCharRE.test(y))&&(i=!0)}}h===void 0?h=e.slice(0,f).trim():o!==0&&_();function _(){(m||(m=[])).push(e.slice(o,f).trim()),o=f+1}if(m)for(f=0;f-1?{exp:e.slice(0,index$1$1),key:'"'+e.slice(index$1$1+1)+'"'}:{exp:e,key:null};for(str=e,index$1$1=expressionPos=expressionEndPos=0;!eof();)chr=next(),isStringStart(chr)?parseString(chr):chr===91&&parseBracket(chr);return{exp:e.slice(0,expressionPos),key:e.slice(expressionPos+1,expressionEndPos)}}function next(){return str.charCodeAt(++index$1$1)}function eof(){return index$1$1>=len}function isStringStart(e){return e===34||e===39}function parseBracket(e){var a=1;for(expressionPos=index$1$1;!eof();){if(e=next(),isStringStart(e)){parseString(e);continue}if(e===91&&a++,e===93&&a--,a===0){expressionEndPos=index$1$1;break}}}function parseString(e){for(var a=e;!eof()&&(e=next(),e!==a););}var RANGE_TOKEN="__r",CHECKBOX_RADIO_TOKEN="__c";function model(e,a,n){var r=a.value,i=a.modifiers,s=e.tag,l=e.attrsMap.type;if(e.component)return genComponentModel(e,r,i),!1;if(s==="select")genSelect(e,r,i);else if(s==="input"&&l==="checkbox")genCheckboxModel(e,r,i);else if(s==="input"&&l==="radio")genRadioModel(e,r,i);else if(s==="input"||s==="textarea")genDefaultModel(e,r,i);else if(!config.isReservedTag(s))return genComponentModel(e,r,i),!1;return!0}function genCheckboxModel(e,a,n){var r=n&&n.number,i=getBindingAttr(e,"value")||"null",s=getBindingAttr(e,"true-value")||"true",l=getBindingAttr(e,"false-value")||"false";addProp(e,"checked","Array.isArray("+a+")?_i("+a+","+i+")>-1"+(s==="true"?":("+a+")":":_q("+a+","+s+")")),addHandler(e,"change","var $$a="+a+",$$el=$event.target,$$c=$$el.checked?("+s+"):("+l+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+genAssignmentCode(a,"$$a.concat([$$v])")+")}else{$$i>-1&&("+genAssignmentCode(a,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+genAssignmentCode(a,"$$c")+"}",null,!0)}function genRadioModel(e,a,n){var r=n&&n.number,i=getBindingAttr(e,"value")||"null";i=r?"_n("+i+")":i,addProp(e,"checked","_q("+a+","+i+")"),addHandler(e,"change",genAssignmentCode(a,i),null,!0)}function genSelect(e,a,n){var r=n&&n.number,i='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 '+(r?"_n(val)":"val")+"})",s="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",l="var $$selectedVal = "+i+";";l=l+" "+genAssignmentCode(a,s),addHandler(e,"change",l,null,!0)}function genDefaultModel(e,a,n){var r=e.attrsMap.type,i=n||{},s=i.lazy,l=i.number,c=i.trim,o=!s&&r!=="range",u=s?"change":r==="range"?RANGE_TOKEN:"input",d="$event.target.value";c&&(d="$event.target.value.trim()"),l&&(d="_n("+d+")");var f=genAssignmentCode(a,d);o&&(f="if($event.target.composing)return;"+f),addProp(e,"value","("+a+")"),addHandler(e,u,f,null,!0),(c||l)&&addHandler(e,"blur","$forceUpdate()")}function normalizeEvents(e){if(isDef(e[RANGE_TOKEN])){var a=isIE?"change":"input";e[a]=[].concat(e[RANGE_TOKEN],e[a]||[]),delete e[RANGE_TOKEN]}isDef(e[CHECKBOX_RADIO_TOKEN])&&(e.change=[].concat(e[CHECKBOX_RADIO_TOKEN],e.change||[]),delete e[CHECKBOX_RADIO_TOKEN])}var target$1$1;function createOnceHandler$1(e,a,n){var r=target$1$1;return function i(){var s=a.apply(null,arguments);s!==null&&remove$2(e,i,n,r)}}var useMicrotaskFix=isUsingMicroTask&&!(isFF&&Number(isFF[1])<=53);function add$1(e,a,n,r){if(useMicrotaskFix){var i=currentFlushTimestamp,s=a;a=s._wrapper=function(l){if(l.target===l.currentTarget||l.timeStamp>=i||l.timeStamp<=0||l.target.ownerDocument!==document)return s.apply(this,arguments)}}target$1$1.addEventListener(e,a,supportsPassive?{capture:n,passive:r}:n)}function remove$2(e,a,n,r){(r||target$1$1).removeEventListener(e,a._wrapper||a,n)}function updateDOMListeners(e,a){if(!(isUndef(e.data.on)&&isUndef(a.data.on))){var n=a.data.on||{},r=e.data.on||{};target$1$1=a.elm,normalizeEvents(n),updateListeners(n,r,add$1,remove$2,createOnceHandler$1,a.context),target$1$1=void 0}}var events={create:updateDOMListeners,update:updateDOMListeners},svgContainer;function updateDOMProps(e,a){if(!(isUndef(e.data.domProps)&&isUndef(a.data.domProps))){var n,r,i=a.elm,s=e.data.domProps||{},l=a.data.domProps||{};isDef(l.__ob__)&&(l=a.data.domProps=extend$2({},l));for(n in s)n in l||(i[n]="");for(n in l){if(r=l[n],n==="textContent"||n==="innerHTML"){if(a.children&&(a.children.length=0),r===s[n])continue;i.childNodes.length===1&&i.removeChild(i.childNodes[0])}if(n==="value"&&i.tagName!=="PROGRESS"){i._value=r;var c=isUndef(r)?"":String(r);shouldUpdateValue(i,c)&&(i.value=c)}else if(n==="innerHTML"&&isSVG(i.tagName)&&isUndef(i.innerHTML)){svgContainer=svgContainer||document.createElement("div"),svgContainer.innerHTML=""+r+"";for(var o=svgContainer.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;o.firstChild;)i.appendChild(o.firstChild)}else if(r!==s[n])try{i[n]=r}catch(u){}}}}function shouldUpdateValue(e,a){return!e.composing&&(e.tagName==="OPTION"||isNotInFocusAndDirty(e,a)||isDirtyWithModifiers(e,a))}function isNotInFocusAndDirty(e,a){var n=!0;try{n=document.activeElement!==e}catch(r){}return n&&e.value!==a}function isDirtyWithModifiers(e,a){var n=e.value,r=e._vModifiers;if(isDef(r)){if(r.number)return toNumber$1(n)!==toNumber$1(a);if(r.trim)return n.trim()!==a.trim()}return n!==a}var domProps={create:updateDOMProps,update:updateDOMProps},parseStyleText=cached$2(function(e){var a={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(i){if(i){var s=i.split(r);s.length>1&&(a[s[0].trim()]=s[1].trim())}}),a});function normalizeStyleData(e){var a=normalizeStyleBinding(e.style);return e.staticStyle?extend$2(e.staticStyle,a):a}function normalizeStyleBinding(e){return Array.isArray(e)?toObject(e):typeof e=="string"?parseStyleText(e):e}function getStyle(e,a){var n={},r;if(a)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(r=normalizeStyleData(i.data))&&extend$2(n,r);(r=normalizeStyleData(e.data))&&extend$2(n,r);for(var s=e;s=s.parent;)s.data&&(r=normalizeStyleData(s.data))&&extend$2(n,r);return n}var cssVarRE=/^--/,importantRE=/\s*!important$/,setProp=function(e,a,n){if(cssVarRE.test(a))e.style.setProperty(a,n);else if(importantRE.test(n))e.style.setProperty(hyphenate(a),n.replace(importantRE,""),"important");else{var r=normalize(a);if(Array.isArray(n))for(var i=0,s=n.length;i-1?a.split(whitespaceRE).forEach(function(r){return e.classList.add(r)}):e.classList.add(a);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+a+" ")<0&&e.setAttribute("class",(n+a).trim())}}function removeClass(e,a){if(!(!a||!(a=a.trim())))if(e.classList)a.indexOf(" ")>-1?a.split(whitespaceRE).forEach(function(i){return e.classList.remove(i)}):e.classList.remove(a),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+a+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function resolveTransition(e){if(!!e){if(typeof e=="object"){var a={};return e.css!==!1&&extend$2(a,autoCssTransition(e.name||"v")),extend$2(a,e),a}else if(typeof e=="string")return autoCssTransition(e)}}var autoCssTransition=cached$2(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),hasTransition=inBrowser$1&&!isIE9,TRANSITION="transition",ANIMATION="animation",transitionProp="transition",transitionEndEvent="transitionend",animationProp="animation",animationEndEvent="animationend";hasTransition&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(transitionProp="WebkitTransition",transitionEndEvent="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(animationProp="WebkitAnimation",animationEndEvent="webkitAnimationEnd"));var raf=inBrowser$1?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function nextFrame(e){raf(function(){raf(e)})}function addTransitionClass(e,a){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(a)<0&&(n.push(a),addClass(e,a))}function removeTransitionClass(e,a){e._transitionClasses&&remove$1(e._transitionClasses,a),removeClass(e,a)}function whenTransitionEnds(e,a,n){var r=getTransitionInfo(e,a),i=r.type,s=r.timeout,l=r.propCount;if(!i)return n();var c=i===TRANSITION?transitionEndEvent:animationEndEvent,o=0,u=function(){e.removeEventListener(c,d),n()},d=function(f){f.target===e&&++o>=l&&u()};setTimeout(function(){o0&&(u=TRANSITION,d=s,f=i.length):a===ANIMATION?o>0&&(u=ANIMATION,d=o,f=c.length):(d=Math.max(s,o),u=d>0?s>o?TRANSITION:ANIMATION:null,f=u?u===TRANSITION?i.length:c.length:0);var h=u===TRANSITION&&transformRE.test(n[transitionProp+"Property"]);return{type:u,timeout:d,propCount:f,hasTransform:h}}function getTimeout(e,a){for(;e.length1}function _enter(e,a){a.data.show!==!0&&enter(a)}var transition=inBrowser$1?{create:_enter,activate:_enter,remove:function(a,n){a.data.show!==!0?leave(a,n):n()}}:{},platformModules=[attrs,klass,events,domProps,style,transition],modules=platformModules.concat(baseModules),patch=createPatchFunction({nodeOps,modules});isIE9&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&trigger(e,"input")});var directive={inserted:function(a,n,r,i){r.tag==="select"?(i.elm&&!i.elm._vOptions?mergeVNodeHook(r,"postpatch",function(){directive.componentUpdated(a,n,r)}):setSelected(a,n,r.context),a._vOptions=[].map.call(a.options,getValue$1)):(r.tag==="textarea"||isTextInputType(a.type))&&(a._vModifiers=n.modifiers,n.modifiers.lazy||(a.addEventListener("compositionstart",onCompositionStart),a.addEventListener("compositionend",onCompositionEnd),a.addEventListener("change",onCompositionEnd),isIE9&&(a.vmodel=!0)))},componentUpdated:function(a,n,r){if(r.tag==="select"){setSelected(a,n,r.context);var i=a._vOptions,s=a._vOptions=[].map.call(a.options,getValue$1);if(s.some(function(c,o){return!looseEqual$1(c,i[o])})){var l=a.multiple?n.value.some(function(c){return hasNoMatchingOption(c,s)}):n.value!==n.oldValue&&hasNoMatchingOption(n.value,s);l&&trigger(a,"change")}}}};function setSelected(e,a,n){actuallySetSelected(e,a),(isIE||isEdge)&&setTimeout(function(){actuallySetSelected(e,a)},0)}function actuallySetSelected(e,a,n){var r=a.value,i=e.multiple;if(!(i&&!Array.isArray(r))){for(var s,l,c=0,o=e.options.length;c-1,l.selected!==s&&(l.selected=s);else if(looseEqual$1(getValue$1(l),r)){e.selectedIndex!==c&&(e.selectedIndex=c);return}i||(e.selectedIndex=-1)}}function hasNoMatchingOption(e,a){return a.every(function(n){return!looseEqual$1(n,e)})}function getValue$1(e){return"_value"in e?e._value:e.value}function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){!e.target.composing||(e.target.composing=!1,trigger(e.target,"input"))}function trigger(e,a){var n=document.createEvent("HTMLEvents");n.initEvent(a,!0,!0),e.dispatchEvent(n)}function locateNode(e){return e.componentInstance&&(!e.data||!e.data.transition)?locateNode(e.componentInstance._vnode):e}var show={bind:function(a,n,r){var i=n.value;r=locateNode(r);var s=r.data&&r.data.transition,l=a.__vOriginalDisplay=a.style.display==="none"?"":a.style.display;i&&s?(r.data.show=!0,enter(r,function(){a.style.display=l})):a.style.display=i?l:"none"},update:function(a,n,r){var i=n.value,s=n.oldValue;if(!i!=!s){r=locateNode(r);var l=r.data&&r.data.transition;l?(r.data.show=!0,i?enter(r,function(){a.style.display=a.__vOriginalDisplay}):leave(r,function(){a.style.display="none"})):a.style.display=i?a.__vOriginalDisplay:"none"}},unbind:function(a,n,r,i,s){s||(a.style.display=a.__vOriginalDisplay)}},platformDirectives={model:directive,show},transitionProps={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 getRealChild(e){var a=e&&e.componentOptions;return a&&a.Ctor.options.abstract?getRealChild(getFirstComponentChild(a.children)):e}function extractTransitionData(e){var a={},n=e.$options;for(var r in n.propsData)a[r]=e[r];var i=n._parentListeners;for(var s in i)a[camelize(s)]=i[s];return a}function placeholder(e,a){if(/\d-keep-alive$/.test(a.tag))return e("keep-alive",{props:a.componentOptions.propsData})}function hasParentTransition(e){for(;e=e.parent;)if(e.data.transition)return!0}function isSameChild(e,a){return a.key===e.key&&a.tag===e.tag}var isNotTextNode=function(e){return e.tag||isAsyncPlaceholder(e)},isVShowDirective=function(e){return e.name==="show"},Transition={name:"transition",props:transitionProps,abstract:!0,render:function(a){var n=this,r=this.$slots.default;if(!!r&&(r=r.filter(isNotTextNode),!!r.length)){var i=this.mode,s=r[0];if(hasParentTransition(this.$vnode))return s;var l=getRealChild(s);if(!l)return s;if(this._leaving)return placeholder(a,s);var c="__transition-"+this._uid+"-";l.key=l.key==null?l.isComment?c+"comment":c+l.tag:isPrimitive(l.key)?String(l.key).indexOf(c)===0?l.key:c+l.key:l.key;var o=(l.data||(l.data={})).transition=extractTransitionData(this),u=this._vnode,d=getRealChild(u);if(l.data.directives&&l.data.directives.some(isVShowDirective)&&(l.data.show=!0),d&&d.data&&!isSameChild(l,d)&&!isAsyncPlaceholder(d)&&!(d.componentInstance&&d.componentInstance._vnode.isComment)){var f=d.data.transition=extend$2({},o);if(i==="out-in")return this._leaving=!0,mergeVNodeHook(f,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()}),placeholder(a,s);if(i==="in-out"){if(isAsyncPlaceholder(l))return u;var h,m=function(){h()};mergeVNodeHook(o,"afterEnter",m),mergeVNodeHook(o,"enterCancelled",m),mergeVNodeHook(f,"delayLeave",function(v){h=v})}}return s}}},props=extend$2({tag:String,moveClass:String},transitionProps);delete props.mode;var TransitionGroup={props,beforeMount:function(){var a=this,n=this._update;this._update=function(r,i){var s=setActiveInstance(a);a.__patch__(a._vnode,a.kept,!1,!0),a._vnode=a.kept,s(),n.call(a,r,i)}},render:function(a){for(var n=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),i=this.prevChildren=this.children,s=this.$slots.default||[],l=this.children=[],c=extractTransitionData(this),o=0;os&&(i.push(o=e.slice(s,c)),r.push(JSON.stringify(o)));var u=parseFilters(l[1].trim());r.push("_s("+u+")"),i.push({"@binding":u}),s=c+l[0].length}return s\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,dynamicArgAttribute=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ncname="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+unicodeRegExp.source+"]*",qnameCapture="((?:"+ncname+"\\:)?"+ncname+")",startTagOpen=new RegExp("^<"+qnameCapture),startTagClose=/^\s*(\/?)>/,endTag=new RegExp("^<\\/"+qnameCapture+"[^>]*>"),doctype=/^]+>/i,comment=/^",""":'"',"&":"&"," ":` `," ":" ","'":"'"},encodedAttr=/&(?:lt|gt|quot|amp|#39);/g,encodedAttrWithNewLines=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,isIgnoreNewlineTag=makeMap("pre,textarea",!0),shouldIgnoreFirstNewline=function(e,a){return e&&isIgnoreNewlineTag(e)&&a[0]===` -`};function decodeAttr(e,a){var n=a?encodedAttrWithNewLines:encodedAttr;return e.replace(n,function(r){return decodingMap[r]})}function parseHTML(e,a){for(var n=[],r=a.expectHTML,i=a.isUnaryTag||no,s=a.canBeLeftOpenTag||no,l=0,c,o;e;){if(c=e,!o||!isPlainTextElement(o)){var u=e.indexOf("<");if(u===0){if(comment.test(e)){var d=e.indexOf("-->");if(d>=0){a.shouldKeepComment&&a.comment(e.substring(4,d),l,l+d+3),$(d+3);continue}}if(conditionalComment.test(e)){var f=e.indexOf("]>");if(f>=0){$(f+2);continue}}var h=e.match(doctype);if(h){$(h[0].length);continue}var m=e.match(endTag);if(m){var v=l;$(m[0].length),E(m[1],v,l);continue}var y=P();if(y){j(y),shouldIgnoreFirstNewline(y.tagName,e)&&$(1);continue}}var _=void 0,w=void 0,A=void 0;if(u>=0){for(w=e.slice(u);!endTag.test(w)&&!startTagOpen.test(w)&&!comment.test(w)&&!conditionalComment.test(w)&&(A=w.indexOf("<",1),!(A<0));)u+=A,w=e.slice(u);_=e.substring(0,u)}u<0&&(_=e),_&&$(_.length),a.chars&&_&&a.chars(_,l-_.length,l)}else{var S=0,z=o.toLowerCase(),F=reCache[z]||(reCache[z]=new RegExp("([\\s\\S]*?)(]*>)","i")),T=e.replace(F,function(I,g,b){return S=b.length,!isPlainTextElement(z)&&z!=="noscript"&&(g=g.replace(//g,"$1").replace(//g,"$1")),shouldIgnoreFirstNewline(z,g)&&(g=g.slice(1)),a.chars&&a.chars(g),""});l+=e.length-T.length,e=T,E(z,l-S,l)}if(e===c){a.chars&&a.chars(e);break}}E();function $(I){l+=I,e=e.substring(I)}function P(){var I=e.match(startTagOpen);if(I){var g={tagName:I[1],attrs:[],start:l};$(I[0].length);for(var b,k;!(b=e.match(startTagClose))&&(k=e.match(dynamicArgAttribute)||e.match(attribute));)k.start=l,$(k[0].length),k.end=l,g.attrs.push(k);if(b)return g.unarySlash=b[1],$(b[0].length),g.end=l,g}}function j(I){var g=I.tagName,b=I.unarySlash;r&&(o==="p"&&isNonPhrasingTag(g)&&E(o),s(g)&&o===g&&E(g));for(var k=i(g)||!!b,x=I.attrs.length,C=new Array(x),D=0;D=0&&n[k].lowerCasedTag!==x;k--);else k=0;if(k>=0){for(var C=n.length-1;C>=k;C--)a.end&&a.end(n[C].tag,g,b);n.length=k,o=k&&n[k-1].tag}else x==="br"?a.start&&a.start(I,[],!0,g,b):x==="p"&&(a.start&&a.start(I,[],!1,g,b),a.end&&a.end(I,g,b))}}var onRE=/^@|^v-on:/,dirRE=/^v-|^@|^:|^#/,forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,forIteratorRE=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,stripParensRE=/^\(|\)$/g,dynamicArgRE=/^\[.*\]$/,argRE=/:(.*)$/,bindRE=/^:|^\.|^v-bind:/,modifierRE=/\.[^.\]]+(?=[^\]]*$)/g,slotRE=/^v-slot(:|$)|^#/,lineBreakRE=/[\r\n]/,whitespaceRE$1=/[ \f\t\r\n]+/g,decodeHTMLCached=cached$2(he.decode),emptySlotScopeToken="_empty_",warn$2,delimiters,transforms,preTransforms,postTransforms,platformIsPreTag,platformMustUseProp,platformGetTagNamespace;function createASTElement(e,a,n){return{type:1,tag:e,attrsList:a,attrsMap:makeAttrsMap(a),rawAttrsMap:{},parent:n,children:[]}}function parse$2(e,a){warn$2=a.warn||baseWarn,platformIsPreTag=a.isPreTag||no,platformMustUseProp=a.mustUseProp||no,platformGetTagNamespace=a.getTagNamespace||no,a.isReservedTag,transforms=pluckModuleFunction(a.modules,"transformNode"),preTransforms=pluckModuleFunction(a.modules,"preTransformNode"),postTransforms=pluckModuleFunction(a.modules,"postTransformNode"),delimiters=a.delimiters;var n=[],r=a.preserveWhitespace!==!1,i=a.whitespace,s,l,c=!1,o=!1;function u(f){if(d(f),!c&&!f.processed&&(f=processElement(f,a)),!n.length&&f!==s&&s.if&&(f.elseif||f.else)&&addIfCondition(s,{exp:f.elseif,block:f}),l&&!f.forbidden)if(f.elseif||f.else)processIfConditions(f,l);else{if(f.slotScope){var h=f.slotTarget||'"default"';(l.scopedSlots||(l.scopedSlots={}))[h]=f}l.children.push(f),f.parent=l}f.children=f.children.filter(function(v){return!v.slotScope}),d(f),f.pre&&(c=!1),platformIsPreTag(f.tag)&&(o=!1);for(var m=0;m|^function(?:\s+[\w$]+)?\s*\(/,fnInvokeRE=/\([^)]*?\);*$/,simplePathRE=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,keyCodes={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},keyNames={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"]},genGuard=function(e){return"if("+e+")return null;"},modifierCode={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:genGuard("$event.target !== $event.currentTarget"),ctrl:genGuard("!$event.ctrlKey"),shift:genGuard("!$event.shiftKey"),alt:genGuard("!$event.altKey"),meta:genGuard("!$event.metaKey"),left:genGuard("'button' in $event && $event.button !== 0"),middle:genGuard("'button' in $event && $event.button !== 1"),right:genGuard("'button' in $event && $event.button !== 2")};function genHandlers(e,a){var n=a?"nativeOn:":"on:",r="",i="";for(var s in e){var l=genHandler(e[s]);e[s]&&e[s].dynamic?i+=s+","+l+",":r+='"'+s+'":'+l+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function genHandler(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(d){return genHandler(d)}).join(",")+"]";var a=simplePathRE.test(e.value),n=fnExpRE.test(e.value),r=simplePathRE.test(e.value.replace(fnInvokeRE,""));if(e.modifiers){var i="",s="",l=[];for(var c in e.modifiers)if(modifierCode[c])s+=modifierCode[c],keyCodes[c]&&l.push(c);else if(c==="exact"){var o=e.modifiers;s+=genGuard(["ctrl","shift","alt","meta"].filter(function(d){return!o[d]}).map(function(d){return"$event."+d+"Key"}).join("||"))}else l.push(c);l.length&&(i+=genKeyFilter(l)),s&&(i+=s);var u=a?"return "+e.value+".apply(null, arguments)":n?"return ("+e.value+").apply(null, arguments)":r?"return "+e.value:e.value;return"function($event){"+i+u+"}"}else return a||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function genKeyFilter(e){return"if(!$event.type.indexOf('key')&&"+e.map(genFilterCode).join("&&")+")return null;"}function genFilterCode(e){var a=parseInt(e,10);if(a)return"$event.keyCode!=="+a;var n=keyCodes[e],r=keyNames[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}function on(e,a){e.wrapListeners=function(n){return"_g("+n+","+a.value+")"}}function bind$1$1(e,a){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+a.value+","+(a.modifiers&&a.modifiers.prop?"true":"false")+(a.modifiers&&a.modifiers.sync?",true":"")+")"}}var baseDirectives={on,bind:bind$1$1,cloak:noop$2},CodegenState=function(a){this.options=a,this.warn=a.warn||baseWarn,this.transforms=pluckModuleFunction(a.modules,"transformCode"),this.dataGenFns=pluckModuleFunction(a.modules,"genData"),this.directives=extend$2(extend$2({},baseDirectives),a.directives);var n=a.isReservedTag||no;this.maybeComponent=function(r){return!!r.component||!n(r.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function generate(e,a){var n=new CodegenState(a),r=e?e.tag==="script"?"null":genElement(e,n):'_c("div")';return{render:"with(this){return "+r+"}",staticRenderFns:n.staticRenderFns}}function genElement(e,a){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return genStatic(e,a);if(e.once&&!e.onceProcessed)return genOnce(e,a);if(e.for&&!e.forProcessed)return genFor(e,a);if(e.if&&!e.ifProcessed)return genIf(e,a);if(e.tag==="template"&&!e.slotTarget&&!a.pre)return genChildren(e,a)||"void 0";if(e.tag==="slot")return genSlot(e,a);var n;if(e.component)n=genComponent(e.component,e,a);else{var r;(!e.plain||e.pre&&a.maybeComponent(e))&&(r=genData$2(e,a));var i=e.inlineTemplate?null:genChildren(e,a,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var s=0;s>>0}function containsSlotChild(e){return e.type===1?e.tag==="slot"?!0:e.children.some(containsSlotChild):!1}function genScopedSlot(e,a){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return genIf(e,a,genScopedSlot,"null");if(e.for&&!e.forProcessed)return genFor(e,a,genScopedSlot);var r=e.slotScope===emptySlotScopeToken?"":String(e.slotScope),i="function("+r+"){return "+(e.tag==="template"?e.if&&n?"("+e.if+")?"+(genChildren(e,a)||"undefined")+":undefined":genChildren(e,a)||"undefined":genElement(e,a))+"}",s=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+s+"}"}function genChildren(e,a,n,r,i){var s=e.children;if(s.length){var l=s[0];if(s.length===1&&l.for&&l.tag!=="template"&&l.tag!=="slot"){var c=n?a.maybeComponent(l)?",1":",0":"";return""+(r||genElement)(l,a)+c}var o=n?getNormalizationType(s,a.maybeComponent):0,u=i||genNode;return"["+s.map(function(d){return u(d,a)}).join(",")+"]"+(o?","+o:"")}}function getNormalizationType(e,a){for(var n=0,r=0;r");if(d>=0){a.shouldKeepComment&&a.comment(e.substring(4,d),l,l+d+3),$(d+3);continue}}if(conditionalComment.test(e)){var f=e.indexOf("]>");if(f>=0){$(f+2);continue}}var h=e.match(doctype);if(h){$(h[0].length);continue}var m=e.match(endTag);if(m){var v=l;$(m[0].length),E(m[1],v,l);continue}var y=P();if(y){j(y),shouldIgnoreFirstNewline(y.tagName,e)&&$(1);continue}}var _=void 0,w=void 0,A=void 0;if(u>=0){for(w=e.slice(u);!endTag.test(w)&&!startTagOpen.test(w)&&!comment.test(w)&&!conditionalComment.test(w)&&(A=w.indexOf("<",1),!(A<0));)u+=A,w=e.slice(u);_=e.substring(0,u)}u<0&&(_=e),_&&$(_.length),a.chars&&_&&a.chars(_,l-_.length,l)}else{var S=0,T=o.toLowerCase(),F=reCache[T]||(reCache[T]=new RegExp("([\\s\\S]*?)(]*>)","i")),z=e.replace(F,function(R,g,b){return S=b.length,!isPlainTextElement(T)&&T!=="noscript"&&(g=g.replace(//g,"$1").replace(//g,"$1")),shouldIgnoreFirstNewline(T,g)&&(g=g.slice(1)),a.chars&&a.chars(g),""});l+=e.length-z.length,e=z,E(T,l-S,l)}if(e===c){a.chars&&a.chars(e);break}}E();function $(R){l+=R,e=e.substring(R)}function P(){var R=e.match(startTagOpen);if(R){var g={tagName:R[1],attrs:[],start:l};$(R[0].length);for(var b,k;!(b=e.match(startTagClose))&&(k=e.match(dynamicArgAttribute)||e.match(attribute));)k.start=l,$(k[0].length),k.end=l,g.attrs.push(k);if(b)return g.unarySlash=b[1],$(b[0].length),g.end=l,g}}function j(R){var g=R.tagName,b=R.unarySlash;r&&(o==="p"&&isNonPhrasingTag(g)&&E(o),s(g)&&o===g&&E(g));for(var k=i(g)||!!b,x=R.attrs.length,C=new Array(x),N=0;N=0&&n[k].lowerCasedTag!==x;k--);else k=0;if(k>=0){for(var C=n.length-1;C>=k;C--)a.end&&a.end(n[C].tag,g,b);n.length=k,o=k&&n[k-1].tag}else x==="br"?a.start&&a.start(R,[],!0,g,b):x==="p"&&(a.start&&a.start(R,[],!1,g,b),a.end&&a.end(R,g,b))}}var onRE=/^@|^v-on:/,dirRE=/^v-|^@|^:|^#/,forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,forIteratorRE=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,stripParensRE=/^\(|\)$/g,dynamicArgRE=/^\[.*\]$/,argRE=/:(.*)$/,bindRE=/^:|^\.|^v-bind:/,modifierRE=/\.[^.\]]+(?=[^\]]*$)/g,slotRE=/^v-slot(:|$)|^#/,lineBreakRE=/[\r\n]/,whitespaceRE$1=/[ \f\t\r\n]+/g,decodeHTMLCached=cached$2(he.decode),emptySlotScopeToken="_empty_",warn$2,delimiters,transforms,preTransforms,postTransforms,platformIsPreTag,platformMustUseProp,platformGetTagNamespace;function createASTElement(e,a,n){return{type:1,tag:e,attrsList:a,attrsMap:makeAttrsMap(a),rawAttrsMap:{},parent:n,children:[]}}function parse$2(e,a){warn$2=a.warn||baseWarn,platformIsPreTag=a.isPreTag||no,platformMustUseProp=a.mustUseProp||no,platformGetTagNamespace=a.getTagNamespace||no,a.isReservedTag,transforms=pluckModuleFunction(a.modules,"transformNode"),preTransforms=pluckModuleFunction(a.modules,"preTransformNode"),postTransforms=pluckModuleFunction(a.modules,"postTransformNode"),delimiters=a.delimiters;var n=[],r=a.preserveWhitespace!==!1,i=a.whitespace,s,l,c=!1,o=!1;function u(f){if(d(f),!c&&!f.processed&&(f=processElement(f,a)),!n.length&&f!==s&&s.if&&(f.elseif||f.else)&&addIfCondition(s,{exp:f.elseif,block:f}),l&&!f.forbidden)if(f.elseif||f.else)processIfConditions(f,l);else{if(f.slotScope){var h=f.slotTarget||'"default"';(l.scopedSlots||(l.scopedSlots={}))[h]=f}l.children.push(f),f.parent=l}f.children=f.children.filter(function(v){return!v.slotScope}),d(f),f.pre&&(c=!1),platformIsPreTag(f.tag)&&(o=!1);for(var m=0;m|^function(?:\s+[\w$]+)?\s*\(/,fnInvokeRE=/\([^)]*?\);*$/,simplePathRE=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,keyCodes={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},keyNames={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"]},genGuard=function(e){return"if("+e+")return null;"},modifierCode={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:genGuard("$event.target !== $event.currentTarget"),ctrl:genGuard("!$event.ctrlKey"),shift:genGuard("!$event.shiftKey"),alt:genGuard("!$event.altKey"),meta:genGuard("!$event.metaKey"),left:genGuard("'button' in $event && $event.button !== 0"),middle:genGuard("'button' in $event && $event.button !== 1"),right:genGuard("'button' in $event && $event.button !== 2")};function genHandlers(e,a){var n=a?"nativeOn:":"on:",r="",i="";for(var s in e){var l=genHandler(e[s]);e[s]&&e[s].dynamic?i+=s+","+l+",":r+='"'+s+'":'+l+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function genHandler(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(d){return genHandler(d)}).join(",")+"]";var a=simplePathRE.test(e.value),n=fnExpRE.test(e.value),r=simplePathRE.test(e.value.replace(fnInvokeRE,""));if(e.modifiers){var i="",s="",l=[];for(var c in e.modifiers)if(modifierCode[c])s+=modifierCode[c],keyCodes[c]&&l.push(c);else if(c==="exact"){var o=e.modifiers;s+=genGuard(["ctrl","shift","alt","meta"].filter(function(d){return!o[d]}).map(function(d){return"$event."+d+"Key"}).join("||"))}else l.push(c);l.length&&(i+=genKeyFilter(l)),s&&(i+=s);var u=a?"return "+e.value+".apply(null, arguments)":n?"return ("+e.value+").apply(null, arguments)":r?"return "+e.value:e.value;return"function($event){"+i+u+"}"}else return a||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function genKeyFilter(e){return"if(!$event.type.indexOf('key')&&"+e.map(genFilterCode).join("&&")+")return null;"}function genFilterCode(e){var a=parseInt(e,10);if(a)return"$event.keyCode!=="+a;var n=keyCodes[e],r=keyNames[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}function on(e,a){e.wrapListeners=function(n){return"_g("+n+","+a.value+")"}}function bind$1$1(e,a){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+a.value+","+(a.modifiers&&a.modifiers.prop?"true":"false")+(a.modifiers&&a.modifiers.sync?",true":"")+")"}}var baseDirectives={on,bind:bind$1$1,cloak:noop$2},CodegenState=function(a){this.options=a,this.warn=a.warn||baseWarn,this.transforms=pluckModuleFunction(a.modules,"transformCode"),this.dataGenFns=pluckModuleFunction(a.modules,"genData"),this.directives=extend$2(extend$2({},baseDirectives),a.directives);var n=a.isReservedTag||no;this.maybeComponent=function(r){return!!r.component||!n(r.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function generate(e,a){var n=new CodegenState(a),r=e?e.tag==="script"?"null":genElement(e,n):'_c("div")';return{render:"with(this){return "+r+"}",staticRenderFns:n.staticRenderFns}}function genElement(e,a){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return genStatic(e,a);if(e.once&&!e.onceProcessed)return genOnce(e,a);if(e.for&&!e.forProcessed)return genFor(e,a);if(e.if&&!e.ifProcessed)return genIf(e,a);if(e.tag==="template"&&!e.slotTarget&&!a.pre)return genChildren(e,a)||"void 0";if(e.tag==="slot")return genSlot(e,a);var n;if(e.component)n=genComponent(e.component,e,a);else{var r;(!e.plain||e.pre&&a.maybeComponent(e))&&(r=genData$2(e,a));var i=e.inlineTemplate?null:genChildren(e,a,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var s=0;s>>0}function containsSlotChild(e){return e.type===1?e.tag==="slot"?!0:e.children.some(containsSlotChild):!1}function genScopedSlot(e,a){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return genIf(e,a,genScopedSlot,"null");if(e.for&&!e.forProcessed)return genFor(e,a,genScopedSlot);var r=e.slotScope===emptySlotScopeToken?"":String(e.slotScope),i="function("+r+"){return "+(e.tag==="template"?e.if&&n?"("+e.if+")?"+(genChildren(e,a)||"undefined")+":undefined":genChildren(e,a)||"undefined":genElement(e,a))+"}",s=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+s+"}"}function genChildren(e,a,n,r,i){var s=e.children;if(s.length){var l=s[0];if(s.length===1&&l.for&&l.tag!=="template"&&l.tag!=="slot"){var c=n?a.maybeComponent(l)?",1":",0":"";return""+(r||genElement)(l,a)+c}var o=n?getNormalizationType(s,a.maybeComponent):0,u=i||genNode;return"["+s.map(function(d){return u(d,a)}).join(",")+"]"+(o?","+o:"")}}function getNormalizationType(e,a){for(var n=0,r=0;r`:`
`,div.innerHTML.indexOf(" ")>0}var shouldDecodeNewlines=inBrowser$1?getShouldDecode(!1):!1,shouldDecodeNewlinesForHref=inBrowser$1?getShouldDecode(!0):!1,idToTemplate=cached$2(function(e){var a=query(e);return a&&a.innerHTML}),mount=Vue$2.prototype.$mount;Vue$2.prototype.$mount=function(e,a){if(e=e&&query(e),e===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if(typeof r=="string")r.charAt(0)==="#"&&(r=idToTemplate(r));else if(r.nodeType)r=r.innerHTML;else return this;else e&&(r=getOuterHTML(e));if(r){var i=compileToFunctions(r,{outputSourceRange:!1,shouldDecodeNewlines,shouldDecodeNewlinesForHref,delimiters:n.delimiters,comments:n.comments},this),s=i.render,l=i.staticRenderFns;n.render=s,n.staticRenderFns=l}}return mount.call(this,e,a)};function getOuterHTML(e){if(e.outerHTML)return e.outerHTML;var a=document.createElement("div");return a.appendChild(e.cloneNode(!0)),a.innerHTML}Vue$2.compile=compileToFunctions;var toString$2=function(e){return Object.prototype.toString.call(e)};function isNative(e){return typeof e=="function"&&/native code/.test(e.toString())}var hasSymbol$1=typeof Symbol!="undefined"&&isNative(Symbol)&&typeof Reflect!="undefined"&&isNative(Reflect.ownKeys),noopFn=function(e){return e};function proxy(e,a,n){var r=n.get,i=n.set;Object.defineProperty(e,a,{enumerable:!0,configurable:!0,get:r||noopFn,set:i||noopFn})}function def(e,a,n,r){Object.defineProperty(e,a,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function hasOwn$1(e,a){return Object.hasOwnProperty.call(e,a)}function assert$1(e,a){if(!e)throw new Error("[vue-composition-api] "+a)}function isArray$3(e){return Array.isArray(e)}var objectToString$1=Object.prototype.toString,toTypeString=function(e){return objectToString$1.call(e)},isMap=function(e){return toTypeString(e)==="[object Map]"},isSet=function(e){return toTypeString(e)==="[object Set]"};function isObject$3(e){return e!==null&&typeof e=="object"}function isPlainObject$1(e){return toString$2(e)==="[object Object]"}function isFunction$2(e){return typeof e=="function"}function logError(e,a,n){if(typeof window!="undefined"&&typeof console!="undefined")console.error(e);else throw e}var vueDependency=void 0;try{var requiredVue=require("vue");requiredVue&&isVue(requiredVue)?vueDependency=requiredVue:requiredVue&&"default"in requiredVue&&isVue(requiredVue.default)&&(vueDependency=requiredVue.default)}catch(e){}var vueConstructor=null,currentInstance=null,PluginInstalledFlag="__composition_api_installed__";function isVue(e){return e&&isFunction$2(e)&&e.name==="Vue"}function isVueRegistered(e){return hasOwn$1(e,PluginInstalledFlag)}function getVueConstructor(){return vueConstructor}function getRegisteredVueOrDefault(){var e=vueConstructor||vueDependency;return e}function setVueConstructor(e){vueConstructor=e,Object.defineProperty(e,PluginInstalledFlag,{configurable:!0,writable:!0,value:!0})}function setCurrentInstance(e){currentInstance=e}function getCurrentVue2Instance(){return currentInstance}function getCurrentInstance(){return currentInstance?toVue3ComponentInstance(currentInstance):null}var instanceMapCache=new WeakMap;function toVue3ComponentInstance(e){if(instanceMapCache.has(e))return instanceMapCache.get(e);var a={proxy:e,update:e.$forceUpdate,uid:e._uid,emit:e.$emit.bind(e),parent:null,root:null},n=["data","props","attrs","refs","vnode","slots"];return n.forEach(function(r){proxy(a,r,{get:function(){return e["$"+r]}})}),proxy(a,"isMounted",{get:function(){return e._isMounted}}),proxy(a,"isUnmounted",{get:function(){return e._isDestroyed}}),proxy(a,"isDeactivated",{get:function(){return e._inactive}}),proxy(a,"emitted",{get:function(){return e._events}}),instanceMapCache.set(e,a),e.$parent&&(a.parent=toVue3ComponentInstance(e.$parent)),e.$root&&(a.root=toVue3ComponentInstance(e.$root)),a}function currentVMInFn(e,a){return a=a||getCurrentInstance(),a==null?void 0:a.proxy}function defineComponentInstance(e,a){a===void 0&&(a={});var n=e.config.silent;e.config.silent=!0;var r=new e(a);return e.config.silent=n,r}function isComponentInstance(e){var a=getVueConstructor();return a&&e instanceof a}function createSlotProxy(e,a){return function(){for(var n=[],r=0;r=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(e,a){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,s=[],l;try{for(;(a===void 0||a-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(c){l={error:c}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s}function __spreadArray(e,a){for(var n=0,r=a.length,i=e.length;n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(e,a){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,s=[],l;try{for(;(a===void 0||a-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(c){l={error:c}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s}function __spreadArray(e,a){for(var n=0,r=a.length,i=e.length;n=0&&(a=e.slice(r),e=e.slice(0,r));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:a}}function cleanPath(e){return e.replace(/\/\//g,"/")}var isarray=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},pathToRegexp_1=pathToRegexp,parse_1=parse,compile_1=compile,tokensToFunction_1=tokensToFunction,tokensToRegExp_1=tokensToRegExp,PATH_REGEXP=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function parse(e,a){for(var n=[],r=0,i=0,s="",l=a&&a.delimiter||"/",c;(c=PATH_REGEXP.exec(e))!=null;){var o=c[0],u=c[1],d=c.index;if(s+=e.slice(i,d),i=d+o.length,u){s+=u[1];continue}var f=e[i],h=c[2],m=c[3],v=c[4],y=c[5],_=c[6],w=c[7];s&&(n.push(s),s="");var A=h!=null&&f!=null&&f!==h,S=_==="+"||_==="*",z=_==="?"||_==="*",F=c[2]||l,T=v||y;n.push({name:m||r++,prefix:h||"",delimiter:F,optional:z,repeat:S,partial:A,asterisk:!!w,pattern:T?escapeGroup(T):w?".*":"[^"+escapeString(F)+"]+?"})}return i1||!F.length)return F.length===0?a():a("span",{},F)}if(this.tag==="a")z.on=S,z.attrs={href:o,"aria-current":w};else{var T=findAnchor(this.$slots.default);if(T){T.isStatic=!1;var $=T.data=extend({},T.data);$.on=$.on||{};for(var P in $.on){var j=$.on[P];P in S&&($.on[P]=Array.isArray(j)?j:[j])}for(var E in S)E in $.on?$.on[E].push(S[E]):$.on[E]=A;var I=T.data.attrs=extend({},T.data.attrs);I.href=o,I["aria-current"]=w}else z.on=S}return a(this.tag,z,this.$slots.default)}};function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){var a=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(a))return}return e.preventDefault&&e.preventDefault(),!0}}function findAnchor(e){if(e){for(var a,n=0;n-1&&(_.params[z]=v.params[z]);return _.path=fillParams(A.path,_.params),h(A,_,y)}else if(_.path){_.params={};for(var F=0;F=e.length?n():e[i]?a(e[i],function(){r(i+1)}):r(i+1)};r(0)}var NavigationFailureType={redirected:2,aborted:4,cancelled:8,duplicated:16};function createNavigationRedirectedError(e,a){return createRouterError(e,a,NavigationFailureType.redirected,'Redirected when going from "'+e.fullPath+'" to "'+stringifyRoute(a)+'" via a navigation guard.')}function createNavigationDuplicatedError(e,a){var n=createRouterError(e,a,NavigationFailureType.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return n.name="NavigationDuplicated",n}function createNavigationCancelledError(e,a){return createRouterError(e,a,NavigationFailureType.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+a.fullPath+'" with a new navigation.')}function createNavigationAbortedError(e,a){return createRouterError(e,a,NavigationFailureType.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+a.fullPath+'" via a navigation guard.')}function createRouterError(e,a,n,r){var i=new Error(r);return i._isRouter=!0,i.from=e,i.to=a,i.type=n,i}var propertiesToLog=["params","query","hash"];function stringifyRoute(e){if(typeof e=="string")return e;if("path"in e)return e.path;var a={};return propertiesToLog.forEach(function(n){n in e&&(a[n]=e[n])}),JSON.stringify(a,null,2)}function isError(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function isNavigationFailure(e,a){return isError(e)&&e._isRouter&&(a==null||e.type===a)}function resolveAsyncComponents(e){return function(a,n,r){var i=!1,s=0,l=null;flatMapComponents(e,function(c,o,u,d){if(typeof c=="function"&&c.cid===void 0){i=!0,s++;var f=once(function(y){isESModule(y)&&(y=y.default),c.resolved=typeof y=="function"?y:_Vue.extend(y),u.components[d]=y,s--,s<=0&&r()}),h=once(function(y){var _="Failed to resolve async component "+d+": "+y;l||(l=isError(y)?y:new Error(_),r(l))}),m;try{m=c(f,h)}catch(y){h(y)}if(m)if(typeof m.then=="function")m.then(f,h);else{var v=m.component;v&&typeof v.then=="function"&&v.then(f,h)}}}),i||r()}}function flatMapComponents(e,a){return flatten(e.map(function(n){return Object.keys(n.components).map(function(r){return a(n.components[r],n.instances[r],n,r)})}))}function flatten(e){return Array.prototype.concat.apply([],e)}var hasSymbol=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function isESModule(e){return e.__esModule||hasSymbol&&e[Symbol.toStringTag]==="Module"}function once(e){var a=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!a)return a=!0,e.apply(this,n)}}var History=function(a,n){this.router=a,this.base=normalizeBase(n),this.current=START,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};History.prototype.listen=function(a){this.cb=a},History.prototype.onReady=function(a,n){this.ready?a():(this.readyCbs.push(a),n&&this.readyErrorCbs.push(n))},History.prototype.onError=function(a){this.errorCbs.push(a)},History.prototype.transitionTo=function(a,n,r){var i=this,s;try{s=this.router.match(a,this.current)}catch(c){throw this.errorCbs.forEach(function(o){o(c)}),c}var l=this.current;this.confirmTransition(s,function(){i.updateRoute(s),n&&n(s),i.ensureURL(),i.router.afterHooks.forEach(function(c){c&&c(s,l)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(c){c(s)}))},function(c){r&&r(c),c&&!i.ready&&(!isNavigationFailure(c,NavigationFailureType.redirected)||l!==START)&&(i.ready=!0,i.readyErrorCbs.forEach(function(o){o(c)}))})},History.prototype.confirmTransition=function(a,n,r){var i=this,s=this.current;this.pending=a;var l=function(y){!isNavigationFailure(y)&&isError(y)&&(i.errorCbs.length?i.errorCbs.forEach(function(_){_(y)}):console.error(y)),r&&r(y)},c=a.matched.length-1,o=s.matched.length-1;if(isSameRoute(a,s)&&c===o&&a.matched[c]===s.matched[o])return this.ensureURL(),l(createNavigationDuplicatedError(s,a));var u=resolveQueue(this.current.matched,a.matched),d=u.updated,f=u.deactivated,h=u.activated,m=[].concat(extractLeaveGuards(f),this.router.beforeHooks,extractUpdateHooks(d),h.map(function(y){return y.beforeEnter}),resolveAsyncComponents(h)),v=function(y,_){if(i.pending!==a)return l(createNavigationCancelledError(s,a));try{y(a,s,function(w){w===!1?(i.ensureURL(!0),l(createNavigationAbortedError(s,a))):isError(w)?(i.ensureURL(!0),l(w)):typeof w=="string"||typeof w=="object"&&(typeof w.path=="string"||typeof w.name=="string")?(l(createNavigationRedirectedError(s,a)),typeof w=="object"&&w.replace?i.replace(w):i.push(w)):_(w)})}catch(w){l(w)}};runQueue(m,v,function(){var y=extractEnterGuards(h),_=y.concat(i.router.resolveHooks);runQueue(_,v,function(){if(i.pending!==a)return l(createNavigationCancelledError(s,a));i.pending=null,n(a),i.router.app&&i.router.app.$nextTick(function(){handleRouteEntered(a)})})})},History.prototype.updateRoute=function(a){this.current=a,this.cb&&this.cb(a)},History.prototype.setupListeners=function(){},History.prototype.teardown=function(){this.listeners.forEach(function(a){a()}),this.listeners=[],this.current=START,this.pending=null};function normalizeBase(e){if(!e)if(inBrowser){var a=document.querySelector("base");e=a&&a.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return e.charAt(0)!=="/"&&(e="/"+e),e.replace(/\/$/,"")}function resolveQueue(e,a){var n,r=Math.max(e.length,a.length);for(n=0;n0)){var i=this.router,s=i.options.scrollBehavior,l=supportsPushState&&s;l&&this.listeners.push(setupScroll());var c=function(){var o=r.current,u=getLocation(r.base);r.current===START&&u===r._startLocation||r.transitionTo(u,function(d){l&&handleScroll(i,d,o,!0)})};window.addEventListener("popstate",c),this.listeners.push(function(){window.removeEventListener("popstate",c)})}},a.prototype.go=function(r){window.history.go(r)},a.prototype.push=function(r,i,s){var l=this,c=this,o=c.current;this.transitionTo(r,function(u){pushState(cleanPath(l.base+u.fullPath)),handleScroll(l.router,u,o,!1),i&&i(u)},s)},a.prototype.replace=function(r,i,s){var l=this,c=this,o=c.current;this.transitionTo(r,function(u){replaceState(cleanPath(l.base+u.fullPath)),handleScroll(l.router,u,o,!1),i&&i(u)},s)},a.prototype.ensureURL=function(r){if(getLocation(this.base)!==this.current.fullPath){var i=cleanPath(this.base+this.current.fullPath);r?pushState(i):replaceState(i)}},a.prototype.getCurrentLocation=function(){return getLocation(this.base)},a}(History);function getLocation(e){var a=window.location.pathname,n=a.toLowerCase(),r=e.toLowerCase();return e&&(n===r||n.indexOf(cleanPath(r+"/"))===0)&&(a=a.slice(e.length)),(a||"/")+window.location.search+window.location.hash}var HashHistory=function(e){function a(n,r,i){e.call(this,n,r),!(i&&checkFallback(this.base))&&ensureSlash()}return e&&(a.__proto__=e),a.prototype=Object.create(e&&e.prototype),a.prototype.constructor=a,a.prototype.setupListeners=function(){var r=this;if(!(this.listeners.length>0)){var i=this.router,s=i.options.scrollBehavior,l=supportsPushState&&s;l&&this.listeners.push(setupScroll());var c=function(){var u=r.current;!ensureSlash()||r.transitionTo(getHash(),function(d){l&&handleScroll(r.router,d,u,!0),supportsPushState||replaceHash(d.fullPath)})},o=supportsPushState?"popstate":"hashchange";window.addEventListener(o,c),this.listeners.push(function(){window.removeEventListener(o,c)})}},a.prototype.push=function(r,i,s){var l=this,c=this,o=c.current;this.transitionTo(r,function(u){pushHash(u.fullPath),handleScroll(l.router,u,o,!1),i&&i(u)},s)},a.prototype.replace=function(r,i,s){var l=this,c=this,o=c.current;this.transitionTo(r,function(u){replaceHash(u.fullPath),handleScroll(l.router,u,o,!1),i&&i(u)},s)},a.prototype.go=function(r){window.history.go(r)},a.prototype.ensureURL=function(r){var i=this.current.fullPath;getHash()!==i&&(r?pushHash(i):replaceHash(i))},a.prototype.getCurrentLocation=function(){return getHash()},a}(History);function checkFallback(e){var a=getLocation(e);if(!/^\/#/.test(a))return window.location.replace(cleanPath(e+"/#"+a)),!0}function ensureSlash(){var e=getHash();return e.charAt(0)==="/"?!0:(replaceHash("/"+e),!1)}function getHash(){var e=window.location.href,a=e.indexOf("#");return a<0?"":(e=e.slice(a+1),e)}function getUrl(e){var a=window.location.href,n=a.indexOf("#"),r=n>=0?a.slice(0,n):a;return r+"#"+e}function pushHash(e){supportsPushState?pushState(getUrl(e)):window.location.hash=e}function replaceHash(e){supportsPushState?replaceState(getUrl(e)):window.location.replace(getUrl(e))}var AbstractHistory=function(e){function a(n,r){e.call(this,n,r),this.stack=[],this.index=-1}return e&&(a.__proto__=e),a.prototype=Object.create(e&&e.prototype),a.prototype.constructor=a,a.prototype.push=function(r,i,s){var l=this;this.transitionTo(r,function(c){l.stack=l.stack.slice(0,l.index+1).concat(c),l.index++,i&&i(c)},s)},a.prototype.replace=function(r,i,s){var l=this;this.transitionTo(r,function(c){l.stack=l.stack.slice(0,l.index).concat(c),i&&i(c)},s)},a.prototype.go=function(r){var i=this,s=this.index+r;if(!(s<0||s>=this.stack.length)){var l=this.stack[s];this.confirmTransition(l,function(){var c=i.current;i.index=s,i.updateRoute(l),i.router.afterHooks.forEach(function(o){o&&o(l,c)})},function(c){isNavigationFailure(c,NavigationFailureType.duplicated)&&(i.index=s)})}},a.prototype.getCurrentLocation=function(){var r=this.stack[this.stack.length-1];return r?r.fullPath:"/"},a.prototype.ensureURL=function(){},a}(History),VueRouter=function(a){a===void 0&&(a={}),this.app=null,this.apps=[],this.options=a,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=createMatcher(a.routes||[],this);var n=a.mode||"hash";switch(this.fallback=n==="history"&&!supportsPushState&&a.fallback!==!1,this.fallback&&(n="hash"),inBrowser||(n="abstract"),this.mode=n,n){case"history":this.history=new HTML5History(this,a.base);break;case"hash":this.history=new HashHistory(this,a.base,this.fallback);break;case"abstract":this.history=new AbstractHistory(this,a.base);break}},prototypeAccessors={currentRoute:{configurable:!0}};VueRouter.prototype.match=function(a,n,r){return this.matcher.match(a,n,r)},prototypeAccessors.currentRoute.get=function(){return this.history&&this.history.current},VueRouter.prototype.init=function(a){var n=this;if(this.apps.push(a),a.$once("hook:destroyed",function(){var l=n.apps.indexOf(a);l>-1&&n.apps.splice(l,1),n.app===a&&(n.app=n.apps[0]||null),n.app||n.history.teardown()}),!this.app){this.app=a;var r=this.history;if(r instanceof HTML5History||r instanceof HashHistory){var i=function(l){var c=r.current,o=n.options.scrollBehavior,u=supportsPushState&&o;u&&"fullPath"in l&&handleScroll(n,l,c,!1)},s=function(l){r.setupListeners(),i(l)};r.transitionTo(r.getCurrentLocation(),s,s)}r.listen(function(l){n.apps.forEach(function(c){c._route=l})})}},VueRouter.prototype.beforeEach=function(a){return registerHook(this.beforeHooks,a)},VueRouter.prototype.beforeResolve=function(a){return registerHook(this.resolveHooks,a)},VueRouter.prototype.afterEach=function(a){return registerHook(this.afterHooks,a)},VueRouter.prototype.onReady=function(a,n){this.history.onReady(a,n)},VueRouter.prototype.onError=function(a){this.history.onError(a)},VueRouter.prototype.push=function(a,n,r){var i=this;if(!n&&!r&&typeof Promise!="undefined")return new Promise(function(s,l){i.history.push(a,s,l)});this.history.push(a,n,r)},VueRouter.prototype.replace=function(a,n,r){var i=this;if(!n&&!r&&typeof Promise!="undefined")return new Promise(function(s,l){i.history.replace(a,s,l)});this.history.replace(a,n,r)},VueRouter.prototype.go=function(a){this.history.go(a)},VueRouter.prototype.back=function(){this.go(-1)},VueRouter.prototype.forward=function(){this.go(1)},VueRouter.prototype.getMatchedComponents=function(a){var n=a?a.matched?a:this.resolve(a).route:this.currentRoute;return n?[].concat.apply([],n.matched.map(function(r){return Object.keys(r.components).map(function(i){return r.components[i]})})):[]},VueRouter.prototype.resolve=function(a,n,r){n=n||this.history.current;var i=normalizeLocation(a,n,r,this),s=this.match(i,n),l=s.redirectedFrom||s.fullPath,c=this.history.base,o=createHref(c,l,this.mode);return{location:i,route:s,href:o,normalizedTo:i,resolved:s}},VueRouter.prototype.getRoutes=function(){return this.matcher.getRoutes()},VueRouter.prototype.addRoute=function(a,n){this.matcher.addRoute(a,n),this.history.current!==START&&this.history.transitionTo(this.history.getCurrentLocation())},VueRouter.prototype.addRoutes=function(a){this.matcher.addRoutes(a),this.history.current!==START&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(VueRouter.prototype,prototypeAccessors);function registerHook(e,a){return e.push(a),function(){var n=e.indexOf(a);n>-1&&e.splice(n,1)}}function createHref(e,a,n){var r=n==="hash"?"#"+a:a;return e?cleanPath(e+"/"+r):r}VueRouter.install=install,VueRouter.version="3.5.2",VueRouter.isNavigationFailure=isNavigationFailure,VueRouter.NavigationFailureType=NavigationFailureType,VueRouter.START_LOCATION=START,inBrowser&&window.Vue&&window.Vue.use(VueRouter);var VueRouter$1=VueRouter;const isOnline=ref(navigator.onLine);window.addEventListener("online",()=>{isOnline.value=!0}),window.addEventListener("offline",()=>{isOnline.value=!1});const useOnline=()=>({isOnline});var paypal=`\r + */function extend(e,a){for(var n in a)e[n]=a[n];return e}var encodeReserveRE=/[!'()*]/g,encodeReserveReplacer=function(e){return"%"+e.charCodeAt(0).toString(16)},commaRE=/%2C/g,encode=function(e){return encodeURIComponent(e).replace(encodeReserveRE,encodeReserveReplacer).replace(commaRE,",")};function decode(e){try{return decodeURIComponent(e)}catch(a){}return e}function resolveQuery(e,a,n){a===void 0&&(a={});var r=n||parseQuery,i;try{i=r(e||"")}catch(c){i={}}for(var s in a){var l=a[s];i[s]=Array.isArray(l)?l.map(castQueryParamValue):castQueryParamValue(l)}return i}var castQueryParamValue=function(e){return e==null||typeof e=="object"?e:String(e)};function parseQuery(e){var a={};return e=e.trim().replace(/^(\?|#|&)/,""),e&&e.split("&").forEach(function(n){var r=n.replace(/\+/g," ").split("="),i=decode(r.shift()),s=r.length>0?decode(r.join("=")):null;a[i]===void 0?a[i]=s:Array.isArray(a[i])?a[i].push(s):a[i]=[a[i],s]}),a}function stringifyQuery(e){var a=e?Object.keys(e).map(function(n){var r=e[n];if(r===void 0)return"";if(r===null)return encode(n);if(Array.isArray(r)){var i=[];return r.forEach(function(s){s!==void 0&&(s===null?i.push(encode(n)):i.push(encode(n)+"="+encode(s)))}),i.join("&")}return encode(n)+"="+encode(r)}).filter(function(n){return n.length>0}).join("&"):null;return a?"?"+a:""}var trailingSlashRE=/\/?$/;function createRoute(e,a,n,r){var i=r&&r.options.stringifyQuery,s=a.query||{};try{s=clone(s)}catch(c){}var l={name:a.name||e&&e.name,meta:e&&e.meta||{},path:a.path||"/",hash:a.hash||"",query:s,params:a.params||{},fullPath:getFullPath(a,i),matched:e?formatMatch(e):[]};return n&&(l.redirectedFrom=getFullPath(n,i)),Object.freeze(l)}function clone(e){if(Array.isArray(e))return e.map(clone);if(e&&typeof e=="object"){var a={};for(var n in e)a[n]=clone(e[n]);return a}else return e}var START=createRoute(null,{path:"/"});function formatMatch(e){for(var a=[];e;)a.unshift(e),e=e.parent;return a}function getFullPath(e,a){var n=e.path,r=e.query;r===void 0&&(r={});var i=e.hash;i===void 0&&(i="");var s=a||stringifyQuery;return(n||"/")+s(r)+i}function isSameRoute(e,a,n){return a===START?e===a:a?e.path&&a.path?e.path.replace(trailingSlashRE,"")===a.path.replace(trailingSlashRE,"")&&(n||e.hash===a.hash&&isObjectEqual(e.query,a.query)):e.name&&a.name?e.name===a.name&&(n||e.hash===a.hash&&isObjectEqual(e.query,a.query)&&isObjectEqual(e.params,a.params)):!1:!1}function isObjectEqual(e,a){if(e===void 0&&(e={}),a===void 0&&(a={}),!e||!a)return e===a;var n=Object.keys(e).sort(),r=Object.keys(a).sort();return n.length!==r.length?!1:n.every(function(i,s){var l=e[i],c=r[s];if(c!==i)return!1;var o=a[i];return l==null||o==null?l===o:typeof l=="object"&&typeof o=="object"?isObjectEqual(l,o):String(l)===String(o)})}function isIncludedRoute(e,a){return e.path.replace(trailingSlashRE,"/").indexOf(a.path.replace(trailingSlashRE,"/"))===0&&(!a.hash||e.hash===a.hash)&&queryIncludes(e.query,a.query)}function queryIncludes(e,a){for(var n in a)if(!(n in e))return!1;return!0}function handleRouteEntered(e){for(var a=0;a=0&&(a=e.slice(r),e=e.slice(0,r));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:a}}function cleanPath(e){return e.replace(/\/\//g,"/")}var isarray=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},pathToRegexp_1=pathToRegexp,parse_1=parse,compile_1=compile,tokensToFunction_1=tokensToFunction,tokensToRegExp_1=tokensToRegExp,PATH_REGEXP=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function parse(e,a){for(var n=[],r=0,i=0,s="",l=a&&a.delimiter||"/",c;(c=PATH_REGEXP.exec(e))!=null;){var o=c[0],u=c[1],d=c.index;if(s+=e.slice(i,d),i=d+o.length,u){s+=u[1];continue}var f=e[i],h=c[2],m=c[3],v=c[4],y=c[5],_=c[6],w=c[7];s&&(n.push(s),s="");var A=h!=null&&f!=null&&f!==h,S=_==="+"||_==="*",T=_==="?"||_==="*",F=c[2]||l,z=v||y;n.push({name:m||r++,prefix:h||"",delimiter:F,optional:T,repeat:S,partial:A,asterisk:!!w,pattern:z?escapeGroup(z):w?".*":"[^"+escapeString(F)+"]+?"})}return i1||!F.length)return F.length===0?a():a("span",{},F)}if(this.tag==="a")T.on=S,T.attrs={href:o,"aria-current":w};else{var z=findAnchor(this.$slots.default);if(z){z.isStatic=!1;var $=z.data=extend({},z.data);$.on=$.on||{};for(var P in $.on){var j=$.on[P];P in S&&($.on[P]=Array.isArray(j)?j:[j])}for(var E in S)E in $.on?$.on[E].push(S[E]):$.on[E]=A;var R=z.data.attrs=extend({},z.data.attrs);R.href=o,R["aria-current"]=w}else T.on=S}return a(this.tag,T,this.$slots.default)}};function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){var a=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(a))return}return e.preventDefault&&e.preventDefault(),!0}}function findAnchor(e){if(e){for(var a,n=0;n-1&&(_.params[T]=v.params[T]);return _.path=fillParams(A.path,_.params),h(A,_,y)}else if(_.path){_.params={};for(var F=0;F=e.length?n():e[i]?a(e[i],function(){r(i+1)}):r(i+1)};r(0)}var NavigationFailureType={redirected:2,aborted:4,cancelled:8,duplicated:16};function createNavigationRedirectedError(e,a){return createRouterError(e,a,NavigationFailureType.redirected,'Redirected when going from "'+e.fullPath+'" to "'+stringifyRoute(a)+'" via a navigation guard.')}function createNavigationDuplicatedError(e,a){var n=createRouterError(e,a,NavigationFailureType.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return n.name="NavigationDuplicated",n}function createNavigationCancelledError(e,a){return createRouterError(e,a,NavigationFailureType.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+a.fullPath+'" with a new navigation.')}function createNavigationAbortedError(e,a){return createRouterError(e,a,NavigationFailureType.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+a.fullPath+'" via a navigation guard.')}function createRouterError(e,a,n,r){var i=new Error(r);return i._isRouter=!0,i.from=e,i.to=a,i.type=n,i}var propertiesToLog=["params","query","hash"];function stringifyRoute(e){if(typeof e=="string")return e;if("path"in e)return e.path;var a={};return propertiesToLog.forEach(function(n){n in e&&(a[n]=e[n])}),JSON.stringify(a,null,2)}function isError(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function isNavigationFailure(e,a){return isError(e)&&e._isRouter&&(a==null||e.type===a)}function resolveAsyncComponents(e){return function(a,n,r){var i=!1,s=0,l=null;flatMapComponents(e,function(c,o,u,d){if(typeof c=="function"&&c.cid===void 0){i=!0,s++;var f=once(function(y){isESModule(y)&&(y=y.default),c.resolved=typeof y=="function"?y:_Vue.extend(y),u.components[d]=y,s--,s<=0&&r()}),h=once(function(y){var _="Failed to resolve async component "+d+": "+y;l||(l=isError(y)?y:new Error(_),r(l))}),m;try{m=c(f,h)}catch(y){h(y)}if(m)if(typeof m.then=="function")m.then(f,h);else{var v=m.component;v&&typeof v.then=="function"&&v.then(f,h)}}}),i||r()}}function flatMapComponents(e,a){return flatten(e.map(function(n){return Object.keys(n.components).map(function(r){return a(n.components[r],n.instances[r],n,r)})}))}function flatten(e){return Array.prototype.concat.apply([],e)}var hasSymbol=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function isESModule(e){return e.__esModule||hasSymbol&&e[Symbol.toStringTag]==="Module"}function once(e){var a=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!a)return a=!0,e.apply(this,n)}}var History=function(a,n){this.router=a,this.base=normalizeBase(n),this.current=START,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};History.prototype.listen=function(a){this.cb=a},History.prototype.onReady=function(a,n){this.ready?a():(this.readyCbs.push(a),n&&this.readyErrorCbs.push(n))},History.prototype.onError=function(a){this.errorCbs.push(a)},History.prototype.transitionTo=function(a,n,r){var i=this,s;try{s=this.router.match(a,this.current)}catch(c){throw this.errorCbs.forEach(function(o){o(c)}),c}var l=this.current;this.confirmTransition(s,function(){i.updateRoute(s),n&&n(s),i.ensureURL(),i.router.afterHooks.forEach(function(c){c&&c(s,l)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(c){c(s)}))},function(c){r&&r(c),c&&!i.ready&&(!isNavigationFailure(c,NavigationFailureType.redirected)||l!==START)&&(i.ready=!0,i.readyErrorCbs.forEach(function(o){o(c)}))})},History.prototype.confirmTransition=function(a,n,r){var i=this,s=this.current;this.pending=a;var l=function(y){!isNavigationFailure(y)&&isError(y)&&(i.errorCbs.length?i.errorCbs.forEach(function(_){_(y)}):console.error(y)),r&&r(y)},c=a.matched.length-1,o=s.matched.length-1;if(isSameRoute(a,s)&&c===o&&a.matched[c]===s.matched[o])return this.ensureURL(),l(createNavigationDuplicatedError(s,a));var u=resolveQueue(this.current.matched,a.matched),d=u.updated,f=u.deactivated,h=u.activated,m=[].concat(extractLeaveGuards(f),this.router.beforeHooks,extractUpdateHooks(d),h.map(function(y){return y.beforeEnter}),resolveAsyncComponents(h)),v=function(y,_){if(i.pending!==a)return l(createNavigationCancelledError(s,a));try{y(a,s,function(w){w===!1?(i.ensureURL(!0),l(createNavigationAbortedError(s,a))):isError(w)?(i.ensureURL(!0),l(w)):typeof w=="string"||typeof w=="object"&&(typeof w.path=="string"||typeof w.name=="string")?(l(createNavigationRedirectedError(s,a)),typeof w=="object"&&w.replace?i.replace(w):i.push(w)):_(w)})}catch(w){l(w)}};runQueue(m,v,function(){var y=extractEnterGuards(h),_=y.concat(i.router.resolveHooks);runQueue(_,v,function(){if(i.pending!==a)return l(createNavigationCancelledError(s,a));i.pending=null,n(a),i.router.app&&i.router.app.$nextTick(function(){handleRouteEntered(a)})})})},History.prototype.updateRoute=function(a){this.current=a,this.cb&&this.cb(a)},History.prototype.setupListeners=function(){},History.prototype.teardown=function(){this.listeners.forEach(function(a){a()}),this.listeners=[],this.current=START,this.pending=null};function normalizeBase(e){if(!e)if(inBrowser){var a=document.querySelector("base");e=a&&a.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return e.charAt(0)!=="/"&&(e="/"+e),e.replace(/\/$/,"")}function resolveQueue(e,a){var n,r=Math.max(e.length,a.length);for(n=0;n0)){var i=this.router,s=i.options.scrollBehavior,l=supportsPushState&&s;l&&this.listeners.push(setupScroll());var c=function(){var o=r.current,u=getLocation(r.base);r.current===START&&u===r._startLocation||r.transitionTo(u,function(d){l&&handleScroll(i,d,o,!0)})};window.addEventListener("popstate",c),this.listeners.push(function(){window.removeEventListener("popstate",c)})}},a.prototype.go=function(r){window.history.go(r)},a.prototype.push=function(r,i,s){var l=this,c=this,o=c.current;this.transitionTo(r,function(u){pushState(cleanPath(l.base+u.fullPath)),handleScroll(l.router,u,o,!1),i&&i(u)},s)},a.prototype.replace=function(r,i,s){var l=this,c=this,o=c.current;this.transitionTo(r,function(u){replaceState(cleanPath(l.base+u.fullPath)),handleScroll(l.router,u,o,!1),i&&i(u)},s)},a.prototype.ensureURL=function(r){if(getLocation(this.base)!==this.current.fullPath){var i=cleanPath(this.base+this.current.fullPath);r?pushState(i):replaceState(i)}},a.prototype.getCurrentLocation=function(){return getLocation(this.base)},a}(History);function getLocation(e){var a=window.location.pathname,n=a.toLowerCase(),r=e.toLowerCase();return e&&(n===r||n.indexOf(cleanPath(r+"/"))===0)&&(a=a.slice(e.length)),(a||"/")+window.location.search+window.location.hash}var HashHistory=function(e){function a(n,r,i){e.call(this,n,r),!(i&&checkFallback(this.base))&&ensureSlash()}return e&&(a.__proto__=e),a.prototype=Object.create(e&&e.prototype),a.prototype.constructor=a,a.prototype.setupListeners=function(){var r=this;if(!(this.listeners.length>0)){var i=this.router,s=i.options.scrollBehavior,l=supportsPushState&&s;l&&this.listeners.push(setupScroll());var c=function(){var u=r.current;!ensureSlash()||r.transitionTo(getHash(),function(d){l&&handleScroll(r.router,d,u,!0),supportsPushState||replaceHash(d.fullPath)})},o=supportsPushState?"popstate":"hashchange";window.addEventListener(o,c),this.listeners.push(function(){window.removeEventListener(o,c)})}},a.prototype.push=function(r,i,s){var l=this,c=this,o=c.current;this.transitionTo(r,function(u){pushHash(u.fullPath),handleScroll(l.router,u,o,!1),i&&i(u)},s)},a.prototype.replace=function(r,i,s){var l=this,c=this,o=c.current;this.transitionTo(r,function(u){replaceHash(u.fullPath),handleScroll(l.router,u,o,!1),i&&i(u)},s)},a.prototype.go=function(r){window.history.go(r)},a.prototype.ensureURL=function(r){var i=this.current.fullPath;getHash()!==i&&(r?pushHash(i):replaceHash(i))},a.prototype.getCurrentLocation=function(){return getHash()},a}(History);function checkFallback(e){var a=getLocation(e);if(!/^\/#/.test(a))return window.location.replace(cleanPath(e+"/#"+a)),!0}function ensureSlash(){var e=getHash();return e.charAt(0)==="/"?!0:(replaceHash("/"+e),!1)}function getHash(){var e=window.location.href,a=e.indexOf("#");return a<0?"":(e=e.slice(a+1),e)}function getUrl(e){var a=window.location.href,n=a.indexOf("#"),r=n>=0?a.slice(0,n):a;return r+"#"+e}function pushHash(e){supportsPushState?pushState(getUrl(e)):window.location.hash=e}function replaceHash(e){supportsPushState?replaceState(getUrl(e)):window.location.replace(getUrl(e))}var AbstractHistory=function(e){function a(n,r){e.call(this,n,r),this.stack=[],this.index=-1}return e&&(a.__proto__=e),a.prototype=Object.create(e&&e.prototype),a.prototype.constructor=a,a.prototype.push=function(r,i,s){var l=this;this.transitionTo(r,function(c){l.stack=l.stack.slice(0,l.index+1).concat(c),l.index++,i&&i(c)},s)},a.prototype.replace=function(r,i,s){var l=this;this.transitionTo(r,function(c){l.stack=l.stack.slice(0,l.index).concat(c),i&&i(c)},s)},a.prototype.go=function(r){var i=this,s=this.index+r;if(!(s<0||s>=this.stack.length)){var l=this.stack[s];this.confirmTransition(l,function(){var c=i.current;i.index=s,i.updateRoute(l),i.router.afterHooks.forEach(function(o){o&&o(l,c)})},function(c){isNavigationFailure(c,NavigationFailureType.duplicated)&&(i.index=s)})}},a.prototype.getCurrentLocation=function(){var r=this.stack[this.stack.length-1];return r?r.fullPath:"/"},a.prototype.ensureURL=function(){},a}(History),VueRouter=function(a){a===void 0&&(a={}),this.app=null,this.apps=[],this.options=a,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=createMatcher(a.routes||[],this);var n=a.mode||"hash";switch(this.fallback=n==="history"&&!supportsPushState&&a.fallback!==!1,this.fallback&&(n="hash"),inBrowser||(n="abstract"),this.mode=n,n){case"history":this.history=new HTML5History(this,a.base);break;case"hash":this.history=new HashHistory(this,a.base,this.fallback);break;case"abstract":this.history=new AbstractHistory(this,a.base);break}},prototypeAccessors={currentRoute:{configurable:!0}};VueRouter.prototype.match=function(a,n,r){return this.matcher.match(a,n,r)},prototypeAccessors.currentRoute.get=function(){return this.history&&this.history.current},VueRouter.prototype.init=function(a){var n=this;if(this.apps.push(a),a.$once("hook:destroyed",function(){var l=n.apps.indexOf(a);l>-1&&n.apps.splice(l,1),n.app===a&&(n.app=n.apps[0]||null),n.app||n.history.teardown()}),!this.app){this.app=a;var r=this.history;if(r instanceof HTML5History||r instanceof HashHistory){var i=function(l){var c=r.current,o=n.options.scrollBehavior,u=supportsPushState&&o;u&&"fullPath"in l&&handleScroll(n,l,c,!1)},s=function(l){r.setupListeners(),i(l)};r.transitionTo(r.getCurrentLocation(),s,s)}r.listen(function(l){n.apps.forEach(function(c){c._route=l})})}},VueRouter.prototype.beforeEach=function(a){return registerHook(this.beforeHooks,a)},VueRouter.prototype.beforeResolve=function(a){return registerHook(this.resolveHooks,a)},VueRouter.prototype.afterEach=function(a){return registerHook(this.afterHooks,a)},VueRouter.prototype.onReady=function(a,n){this.history.onReady(a,n)},VueRouter.prototype.onError=function(a){this.history.onError(a)},VueRouter.prototype.push=function(a,n,r){var i=this;if(!n&&!r&&typeof Promise!="undefined")return new Promise(function(s,l){i.history.push(a,s,l)});this.history.push(a,n,r)},VueRouter.prototype.replace=function(a,n,r){var i=this;if(!n&&!r&&typeof Promise!="undefined")return new Promise(function(s,l){i.history.replace(a,s,l)});this.history.replace(a,n,r)},VueRouter.prototype.go=function(a){this.history.go(a)},VueRouter.prototype.back=function(){this.go(-1)},VueRouter.prototype.forward=function(){this.go(1)},VueRouter.prototype.getMatchedComponents=function(a){var n=a?a.matched?a:this.resolve(a).route:this.currentRoute;return n?[].concat.apply([],n.matched.map(function(r){return Object.keys(r.components).map(function(i){return r.components[i]})})):[]},VueRouter.prototype.resolve=function(a,n,r){n=n||this.history.current;var i=normalizeLocation(a,n,r,this),s=this.match(i,n),l=s.redirectedFrom||s.fullPath,c=this.history.base,o=createHref(c,l,this.mode);return{location:i,route:s,href:o,normalizedTo:i,resolved:s}},VueRouter.prototype.getRoutes=function(){return this.matcher.getRoutes()},VueRouter.prototype.addRoute=function(a,n){this.matcher.addRoute(a,n),this.history.current!==START&&this.history.transitionTo(this.history.getCurrentLocation())},VueRouter.prototype.addRoutes=function(a){this.matcher.addRoutes(a),this.history.current!==START&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(VueRouter.prototype,prototypeAccessors);function registerHook(e,a){return e.push(a),function(){var n=e.indexOf(a);n>-1&&e.splice(n,1)}}function createHref(e,a,n){var r=n==="hash"?"#"+a:a;return e?cleanPath(e+"/"+r):r}VueRouter.install=install,VueRouter.version="3.5.2",VueRouter.isNavigationFailure=isNavigationFailure,VueRouter.NavigationFailureType=NavigationFailureType,VueRouter.START_LOCATION=START,inBrowser&&window.Vue&&window.Vue.use(VueRouter);var VueRouter$1=VueRouter;const isOnline=ref(navigator.onLine);window.addEventListener("online",()=>{isOnline.value=!0}),window.addEventListener("offline",()=>{isOnline.value=!1});const useOnline=()=>({isOnline});var paypal=`\r \r \r @@ -2993,7 +2993,7 @@ a { `+e._s(e.$t("about.appStatus."+(e.isOnline?"online":"offline")))+` `)])]),e._v(" "),n("ul",[n("li",[e._v(` `+e._s(e.$t("about.updates.currentWebuiVersion"))+`: - `),n("span",[e._v(e._s("1.8.4"))])]),e._v(" "),n("li",[e._v(` + `),n("span",[e._v(e._s("1.8.5"))])]),e._v(" "),n("li",[e._v(` `+e._s(e.$t("about.updates.currentVersion"))+`: `),n("span",[e._v(e._s(e.current||e.$t("about.updates.versionNotAvailable")))])]),e._v(" "),n("li",[e._v(e._s(e.$t("about.updates.deemixVersion"))+": "+e._s(e.deemixVersion))]),e._v(" "),e.updateAvailable&&e.latest?n("li",[e._v(e._s(e.$t("about.updates.updateAvailable",{version:e.latest})))]):e._e()]),e._v(" "),n("ul",[n("li",{domProps:{innerHTML:e._s(e.$t("about.usesLibrary"))}}),e._v(" "),n("li",{domProps:{innerHTML:e._s(e.$t("about.thanks"))}}),e._v(" "),n("i18n",{attrs:{path:"about.upToDate.text",tag:"li"},scopedSlots:e._u([{key:"newsChannel",fn:function(){return[n("a",{attrs:{href:"https://t.me/RemixDevNews",target:"_blank"}},[e._v(e._s(e.$t("about.upToDate.newsChannel")))])]},proxy:!0}])})],1),e._v(" "),n("h2",[e._v(e._s(e.$t("about.titles.usefulLinks")))]),e._v(" "),n("ul",{staticClass:"no-dots"},[n("li",[n("a",{attrs:{href:"https://git.freezer.life/RemixDev/deemix-js",target:"_blank"}},[e._v("\u{1F680} "+e._s(e.$t("about.officialRepo")))])]),e._v(" "),n("li",[n("a",{attrs:{href:"https://gitlab.com/RemixDev/deemix-webui",target:"_blank"}},[e._v(" \u{1F4BB} "+e._s(e.$t("about.officialWebuiRepo"))+" ")])]),e._v(" "),n("li",[n("a",{attrs:{href:"https://www.reddit.com/r/deemix",target:"_blank"}},[e._v("\u{1F916} "+e._s(e.$t("about.officialSubreddit")))])]),e._v(" "),n("li",[n("a",{attrs:{href:"https://t.me/RemixDevNews",target:"_blank"}},[e._v("\u{1F4F0} "+e._s(e.$t("about.newsChannel")))])])]),e._v(" "),n("h2",[e._v(` `+e._s(e.$t("about.titles.bugReports"))+` @@ -3020,7 +3020,7 @@ a { `)])]),e._v(" "),n("ul",[n("li",{domProps:{innerHTML:e._s(e.$t("about.itsFree"))}}),e._v(" "),n("li",[e._v(` `+e._s(e.$t("about.notObligated"))+` `)])]),e._v(" "),n("ul",[n("li",[n("i",{domProps:{innerHTML:e._s(e.paypal)}}),e._v(" "),n("strong",[e._v("PayPal:")]),e._v(" "),n("a",{attrs:{href:"https://paypal.me/RemixDev",target:"_blank"}},[e._v("PayPal.me/RemixDev")])]),e._v(" "),n("li",[n("i",{staticClass:"ethereum",domProps:{innerHTML:e._s(e.ethereum)}}),e._v(" "),n("strong",[e._v("Ethereum:")]),e._v(` 0x1d2aa67e671485CD4062289772B662e0A6Ff976c - `)])]),e._v(" "),n("h2",[e._v(e._s(e.$t("about.titles.license")))]),e._v(" "),e._m(0),e._v(" "),n("i18n",{attrs:{path:"about.lincensedUnder.text",tag:"p"},scopedSlots:e._u([{key:"gpl3",fn:function(){return[n("a",{attrs:{rel:"license",href:"https://www.gnu.org/licenses/gpl-3.0.en.html",target:"_blank"}},[e._v(e._s(e.$t("about.lincensedUnder.gpl3")))])]},proxy:!0}])})],1)},__vue_staticRenderFns__$m=[function(){var e=this,a=e.$createElement,n=e._self._c||a;return 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"}})])])}];const __vue_inject_styles__$m=function(e){!e||e("data-v-3720de8b_0",{source:`@charset "UTF-8";a[data-v-3720de8b],li[data-v-3720de8b],p[data-v-3720de8b]{letter-spacing:.4px;font-size:20px;line-height:1.2}i[data-v-3720de8b]{vertical-align:middle}i[data-v-3720de8b] svg{fill:#fff;width:20px}.ethereum[data-v-3720de8b] svg{fill:var(--foreground)}[data-v-3720de8b]:link{text-decoration:none}#about_tab[data-v-3720de8b]{margin-bottom:40px}h2[data-v-3720de8b]{text-transform:capitalize}h2[data-v-3720de8b]:not(.page_heading){font-size:2rem;border-bottom:1px solid rgba(51,51,51,.25);padding-top:2rem;padding-bottom:1rem}h2 .subheading[data-v-3720de8b]{display:block;font-size:.5em;margin-top:.5em;font-weight:400;opacity:.8;text-transform:none}p[data-v-3720de8b]{margin:0!important}ul li[data-v-3720de8b]{margin-bottom:7px}h2+ul[data-v-3720de8b]{margin-top:1rem}ul+ul[data-v-3720de8b]{margin-top:1.25rem}ul.no-dots[data-v-3720de8b]{list-style-type:none}ul[data-v-3720de8b]:not(.no-dots){list-style-type:none}ul:not(.no-dots) li[data-v-3720de8b]{position:relative}ul:not(.no-dots) li[data-v-3720de8b]::before{content:'\u2014';position:absolute;left:-30px;opacity:.25}`,map:void 0,media:void 0})},__vue_scope_id__$m="data-v-3720de8b",__vue_module_identifier__$4=void 0,__vue_is_functional_template__$m=!1;function __vue_normalize__$m(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};o.__file="About.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r;{let u;if(a&&(u=function(d){a.call(this,l(d))}),u!==void 0)if(o.functional){const d=o.render;o.render=function(h,m){return u.call(m),d(h,m)}}else{const d=o.beforeCreate;o.beforeCreate=d?[].concat(d,u):[u]}}return o}function __vue_create_injector__$4(){const e=document.head||document.getElementsByTagName("head")[0],a=__vue_create_injector__$4.styles||(__vue_create_injector__$4.styles={}),n=typeof navigator!="undefined"&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(i,s){if(document.querySelector('style[data-vue-ssr-id~="'+i+'"]'))return;const l=n?s.media||"default":i,c=a[l]||(a[l]={ids:[],parts:[],element:void 0});if(!c.ids.includes(i)){let o=s.source,u=c.ids.length;if(c.ids.push(i),s.map&&(o+=` + `)])]),e._v(" "),n("h2",[e._v(e._s(e.$t("about.titles.license")))]),e._v(" "),e._m(0),e._v(" "),n("i18n",{attrs:{path:"about.lincensedUnder.text",tag:"p"},scopedSlots:e._u([{key:"gpl3",fn:function(){return[n("a",{attrs:{rel:"license",href:"https://www.gnu.org/licenses/gpl-3.0.en.html",target:"_blank"}},[e._v(e._s(e.$t("about.lincensedUnder.gpl3")))])]},proxy:!0}])})],1)},__vue_staticRenderFns__$m=[function(){var e=this,a=e.$createElement,n=e._self._c||a;return 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"}})])])}];const __vue_inject_styles__$m=function(e){!e||e("data-v-491a8aea_0",{source:`@charset "UTF-8";a[data-v-491a8aea],li[data-v-491a8aea],p[data-v-491a8aea]{letter-spacing:.4px;font-size:20px;line-height:1.2}i[data-v-491a8aea]{vertical-align:middle}i[data-v-491a8aea] svg{fill:#fff;width:20px}.ethereum[data-v-491a8aea] svg{fill:var(--foreground)}[data-v-491a8aea]:link{text-decoration:none}#about_tab[data-v-491a8aea]{margin-bottom:40px}h2[data-v-491a8aea]{text-transform:capitalize}h2[data-v-491a8aea]:not(.page_heading){font-size:2rem;border-bottom:1px solid rgba(51,51,51,.25);padding-top:2rem;padding-bottom:1rem}h2 .subheading[data-v-491a8aea]{display:block;font-size:.5em;margin-top:.5em;font-weight:400;opacity:.8;text-transform:none}p[data-v-491a8aea]{margin:0!important}ul li[data-v-491a8aea]{margin-bottom:7px}h2+ul[data-v-491a8aea]{margin-top:1rem}ul+ul[data-v-491a8aea]{margin-top:1.25rem}ul.no-dots[data-v-491a8aea]{list-style-type:none}ul[data-v-491a8aea]:not(.no-dots){list-style-type:none}ul:not(.no-dots) li[data-v-491a8aea]{position:relative}ul:not(.no-dots) li[data-v-491a8aea]::before{content:'\u2014';position:absolute;left:-30px;opacity:.25}`,map:void 0,media:void 0})},__vue_scope_id__$m="data-v-491a8aea",__vue_module_identifier__$4=void 0,__vue_is_functional_template__$m=!1;function __vue_normalize__$m(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};o.__file="About.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r;{let u;if(a&&(u=function(d){a.call(this,l(d))}),u!==void 0)if(o.functional){const d=o.render;o.render=function(h,m){return u.call(m),d(h,m)}}else{const d=o.beforeCreate;o.beforeCreate=d?[].concat(d,u):[u]}}return o}function __vue_create_injector__$4(){const e=document.head||document.getElementsByTagName("head")[0],a=__vue_create_injector__$4.styles||(__vue_create_injector__$4.styles={}),n=typeof navigator!="undefined"&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(i,s){if(document.querySelector('style[data-vue-ssr-id~="'+i+'"]'))return;const l=n?s.media||"default":i,c=a[l]||(a[l]={ids:[],parts:[],element:void 0});if(!c.ids.includes(i)){let o=s.source,u=c.ids.length;if(c.ids.push(i),s.map&&(o+=` /*# sourceURL=`+s.map.sources[0]+" */",o+=` /*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(s.map))))+" */"),n&&(c.element=c.element||document.querySelector("style[data-group="+l+"]")),!c.element){const d=c.element=document.createElement("style");d.type="text/css",s.media&&d.setAttribute("media",s.media),n&&(d.setAttribute("data-group",l),d.setAttribute("data-next-index","0")),e.appendChild(d)}if(n&&(u=parseInt(c.element.getAttribute("data-next-index")),c.element.setAttribute("data-next-index",u+1)),c.element.styleSheet)c.parts.push(o),c.element.styleSheet.cssText=c.parts.filter(Boolean).join(` `);else{const d=document.createTextNode(o),f=c.element.childNodes;f[u]&&c.element.removeChild(f[u]),f.length?c.element.insertBefore(d,f[u]):c.element.appendChild(d)}}}}var About=__vue_normalize__$m({render:__vue_render__$m,staticRenderFns:__vue_staticRenderFns__$m},__vue_inject_styles__$m,__vue_script__$m,__vue_scope_id__$m,__vue_is_functional_template__$m,__vue_module_identifier__$4,__vue_create_injector__$4),script$l={};const __vue_script__$l=script$l;var __vue_render__$l=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",[n("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("settings.login.arl.question")))]),e._v(" "),e._m(0),e._v(" "),n("h3",{staticClass:"mt-6 text-3xl"},[e._v("Chrome (Easy way)")]),e._v(" "),e._m(1),e._v(" "),n("h3",{staticClass:"mt-6 text-3xl"},[e._v("Chrome")]),e._v(" "),e._m(2),e._v(" "),e._m(3),e._v(" "),n("h3",{staticClass:"mt-6 text-3xl"},[e._v("Firefox")]),e._v(" "),e._m(4)])},__vue_staticRenderFns__$l=[function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("p",{staticClass:"mb-2 text-base"},[e._v(` @@ -3044,7 +3044,7 @@ a { Now you can see the Client ID. If you click on "Show Client Secret" the client secret will be revealed.`),n("br"),e._v(" "),n("img",{attrs:{src:"https://i.imgur.com/foEfIhO.png",alt:"Screen of client ID and Secret"}})])},function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("p",{staticClass:"mb-2 text-base"},[e._v(` You can get your Spotify Username from the `),n("a",{attrs:{href:"https://www.spotify.com/it/account/overview/",target:"_blank"}},[e._v("Overview page on Spotify's Website")]),e._v(`. - `)])}];const __vue_inject_styles__$k=void 0,__vue_scope_id__$k=void 0,__vue_is_functional_template__$k=!1;function __vue_normalize__$k(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};return o.__file="InfoSpotifyFeatures.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r,o}var InfoSpotifyFeatures=__vue_normalize__$k({render:__vue_render__$k,staticRenderFns:__vue_staticRenderFns__$k},__vue_inject_styles__$k,__vue_script__$k,__vue_scope_id__$k,__vue_is_functional_template__$k),freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal$1=freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")(),root$1=root,Symbol$1=root$1.Symbol,Symbol$2=Symbol$1,objectProto$c=Object.prototype,hasOwnProperty$9=objectProto$c.hasOwnProperty,nativeObjectToString$1=objectProto$c.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(e){var a=hasOwnProperty$9.call(e,symToStringTag$1),n=e[symToStringTag$1];try{e[symToStringTag$1]=void 0;var r=!0}catch(s){}var i=nativeObjectToString$1.call(e);return r&&(a?e[symToStringTag$1]=n:delete e[symToStringTag$1]),i}var objectProto$b=Object.prototype,nativeObjectToString=objectProto$b.toString;function objectToString(e){return nativeObjectToString.call(e)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(e)?getRawTag(e):objectToString(e)}function isObjectLike(e){return e!=null&&typeof e=="object"}var symbolTag$1="[object Symbol]";function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&baseGetTag(e)==symbolTag$1}function arrayMap(e,a){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n-1}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(e,a){var n=typeof e;return a=a??MAX_SAFE_INTEGER$1,!!a&&(n=="number"||n!="symbol"&&reIsUint.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=MAX_SAFE_INTEGER}function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}var objectProto$9=Object.prototype;function isPrototype(e){var a=e&&e.constructor,n=typeof a=="function"&&a.prototype||objectProto$9;return e===n}function baseTimes(e,a){for(var n=-1,r=Array(e);++n-1}function listCacheSet(e,a){var n=this.__data__,r=assocIndexOf(n,e);return r<0?(++this.size,n.push([e,a])):n[r][1]=a,this}function ListCache(e){var a=-1,n=e==null?0:e.length;for(this.clear();++ac))return!1;var u=s.get(e),d=s.get(a);if(u&&d)return u==a&&d==e;var f=-1,h=!0,m=n&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(s.set(e,a),s.set(a,e);++f=a||$<0||f&&P>=s}function w(){var T=now$1();if(_(T))return A(T);c=setTimeout(w,y(T))}function A(T){return c=void 0,h&&r?m(T):(r=i=void 0,l)}function S(){c!==void 0&&clearTimeout(c),u=0,r=o=i=c=void 0}function z(){return c===void 0?l:A(now$1())}function F(){var T=now$1(),$=_(T);if(r=arguments,i=this,o=T,$){if(c===void 0)return v(o);if(f)return clearTimeout(c),c=setTimeout(w,a),m(o)}return c===void 0&&(c=setTimeout(w,a)),l}return F.cancel=S,F.flush=z,F}function arrayIncludesWith(e,a,n){for(var r=-1,i=e==null?0:e.length;++ra||s&&l&&o&&!c&&!u||r&&l&&o||!n&&o||!i)return 1;if(!r&&!s&&!u&&e=c)return o;var u=n[r];return o*(u=="desc"?-1:1)}}return e.index-a.index}function baseOrderBy(e,a,n){a.length?a=arrayMap(a,function(s){return isArray$1(s)?function(l){return baseGet(l,s.length===1?s[0]:s)}:s}):a=[identity];var r=-1;a=arrayMap(a,baseUnary(baseIteratee));var i=baseMap(e,function(s,l,c){var o=arrayMap(a,function(u){return u(s)});return{criteria:o,index:++r,value:s}});return baseSortBy(i,function(s,l){return compareMultiple(s,l,n)})}function orderBy(e,a,n,r){return e==null?[]:(isArray$1(a)||(a=a==null?[]:[a]),n=r?void 0:n,isArray$1(n)||(n=n==null?[]:[n]),baseOrderBy(e,a,n))}var INFINITY=1/0,createSet=Set$2&&1/setToArray(new Set$2([,-0]))[1]==INFINITY?function(e){return new Set$2(e)}:noop,createSet$1=createSet,LARGE_ARRAY_SIZE=200;function baseUniq(e,a,n){var r=-1,i=arrayIncludes,s=e.length,l=!0,c=[],o=c;if(n)l=!1,i=arrayIncludesWith;else if(s>=LARGE_ARRAY_SIZE){var u=a?null:createSet$1(e);if(u)return setToArray(u);l=!1,i=cacheHas,o=new SetCache}else o=a?[]:c;e:for(;++rn.artistReleases[n.currentTab])}),r=computed(()=>a.root.$router.currentRoute.params.id),i=ref(!1);getArtistData(unref(r)).then(l=>{i.value=!0;const c={data:[l],hasLoaded:unref(i)},{data:[{artistName:o,artistPictureXL:u,artistReleases:d}]}=standardizeData(c,formatArtistData);Object.assign(n,{artistName:o,artistPicture:u,artistReleases:d,currentTab:Object.keys(d)[0]})}).catch(l=>console.error(l));const s=computed(()=>{if(!unref(i))return[];let l=n.sortKey;return l==="releaseTracksNumber"&&(l=c=>Number(c.releaseTracksNumber)),orderBy(n.currentRelease,l,n.sortOrder)});return{...toRefs(n),downloadLink:computed(()=>`https://www.deezer.com/artist/${unref(r)}`),headerStyle:computed(()=>({backgroundImage:`linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url(${n.artistPicture})`})),sortedData:s,sendAddToQueue,checkNewRelease}},data(){const e=this.$t.bind(this),a=this.$tc.bind(this);return{head:[{title:a("globals.listTabs.title",1),sortKey:"releaseTitle"},{title:e("globals.listTabs.releaseDate"),sortKey:"releaseDate"},{title:a("globals.listTabs.track",2),sortKey:"releaseTracksNumber"},{title:"",width:null}]}},methods:{sortBy(e){e===this.sortKey?this.sortOrder=this.sortOrder==="asc"?"desc":"asc":(this.sortKey=e,this.sortOrder="asc")}}});const __vue_script__$j=script$j;var __vue_render__$j=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"relative image-header"},[n("header",{staticClass:"flex items-center",style:e.headerStyle},[n("h1",{staticClass:"m-0"},[e._v(e._s(e.artistName))]),e._v(" "),n("div",{staticClass:"grid w-16 h-16 ml-auto rounded-full cursor-pointer bg-primary text-grayscale-870 place-items-center",attrs:{"aria-label":"download",role:"button","data-cm-link":e.downloadLink},on:{click:function(r){return r.stopPropagation(),e.sendAddToQueue(e.downloadLink)}}},[n("i",{staticClass:"text-4xl material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("BaseTabs",e._l(e.artistReleases,function(r,i){return n("BaseTab",{key:i,class:{active:e.currentTab===i},on:{click:function(s){e.currentTab=i}}},[e._v(` + `)])}];const __vue_inject_styles__$k=void 0,__vue_scope_id__$k=void 0,__vue_is_functional_template__$k=!1;function __vue_normalize__$k(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};return o.__file="InfoSpotifyFeatures.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r,o}var InfoSpotifyFeatures=__vue_normalize__$k({render:__vue_render__$k,staticRenderFns:__vue_staticRenderFns__$k},__vue_inject_styles__$k,__vue_script__$k,__vue_scope_id__$k,__vue_is_functional_template__$k),freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal$1=freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")(),root$1=root,Symbol$1=root$1.Symbol,Symbol$2=Symbol$1,objectProto$c=Object.prototype,hasOwnProperty$9=objectProto$c.hasOwnProperty,nativeObjectToString$1=objectProto$c.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(e){var a=hasOwnProperty$9.call(e,symToStringTag$1),n=e[symToStringTag$1];try{e[symToStringTag$1]=void 0;var r=!0}catch(s){}var i=nativeObjectToString$1.call(e);return r&&(a?e[symToStringTag$1]=n:delete e[symToStringTag$1]),i}var objectProto$b=Object.prototype,nativeObjectToString=objectProto$b.toString;function objectToString(e){return nativeObjectToString.call(e)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(e)?getRawTag(e):objectToString(e)}function isObjectLike(e){return e!=null&&typeof e=="object"}var symbolTag$1="[object Symbol]";function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&baseGetTag(e)==symbolTag$1}function arrayMap(e,a){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n-1}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(e,a){var n=typeof e;return a=a??MAX_SAFE_INTEGER$1,!!a&&(n=="number"||n!="symbol"&&reIsUint.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=MAX_SAFE_INTEGER}function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}var objectProto$9=Object.prototype;function isPrototype(e){var a=e&&e.constructor,n=typeof a=="function"&&a.prototype||objectProto$9;return e===n}function baseTimes(e,a){for(var n=-1,r=Array(e);++n-1}function listCacheSet(e,a){var n=this.__data__,r=assocIndexOf(n,e);return r<0?(++this.size,n.push([e,a])):n[r][1]=a,this}function ListCache(e){var a=-1,n=e==null?0:e.length;for(this.clear();++ac))return!1;var u=s.get(e),d=s.get(a);if(u&&d)return u==a&&d==e;var f=-1,h=!0,m=n&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(s.set(e,a),s.set(a,e);++f=a||$<0||f&&P>=s}function w(){var z=now$1();if(_(z))return A(z);c=setTimeout(w,y(z))}function A(z){return c=void 0,h&&r?m(z):(r=i=void 0,l)}function S(){c!==void 0&&clearTimeout(c),u=0,r=o=i=c=void 0}function T(){return c===void 0?l:A(now$1())}function F(){var z=now$1(),$=_(z);if(r=arguments,i=this,o=z,$){if(c===void 0)return v(o);if(f)return clearTimeout(c),c=setTimeout(w,a),m(o)}return c===void 0&&(c=setTimeout(w,a)),l}return F.cancel=S,F.flush=T,F}function arrayIncludesWith(e,a,n){for(var r=-1,i=e==null?0:e.length;++ra||s&&l&&o&&!c&&!u||r&&l&&o||!n&&o||!i)return 1;if(!r&&!s&&!u&&e=c)return o;var u=n[r];return o*(u=="desc"?-1:1)}}return e.index-a.index}function baseOrderBy(e,a,n){a.length?a=arrayMap(a,function(s){return isArray$1(s)?function(l){return baseGet(l,s.length===1?s[0]:s)}:s}):a=[identity];var r=-1;a=arrayMap(a,baseUnary(baseIteratee));var i=baseMap(e,function(s,l,c){var o=arrayMap(a,function(u){return u(s)});return{criteria:o,index:++r,value:s}});return baseSortBy(i,function(s,l){return compareMultiple(s,l,n)})}function orderBy(e,a,n,r){return e==null?[]:(isArray$1(a)||(a=a==null?[]:[a]),n=r?void 0:n,isArray$1(n)||(n=n==null?[]:[n]),baseOrderBy(e,a,n))}var INFINITY=1/0,createSet=Set$2&&1/setToArray(new Set$2([,-0]))[1]==INFINITY?function(e){return new Set$2(e)}:noop,createSet$1=createSet,LARGE_ARRAY_SIZE=200;function baseUniq(e,a,n){var r=-1,i=arrayIncludes,s=e.length,l=!0,c=[],o=c;if(n)l=!1,i=arrayIncludesWith;else if(s>=LARGE_ARRAY_SIZE){var u=a?null:createSet$1(e);if(u)return setToArray(u);l=!1,i=cacheHas,o=new SetCache}else o=a?[]:c;e:for(;++rn.artistReleases[n.currentTab])}),r=computed(()=>a.root.$router.currentRoute.params.id),i=ref(!1);getArtistData(unref(r)).then(l=>{i.value=!0;const c={data:[l],hasLoaded:unref(i)},{data:[{artistName:o,artistPictureXL:u,artistReleases:d}]}=standardizeData(c,formatArtistData);Object.assign(n,{artistName:o,artistPicture:u,artistReleases:d,currentTab:Object.keys(d)[0]})}).catch(l=>console.error(l));const s=computed(()=>{if(!unref(i))return[];let l=n.sortKey;return l==="releaseTracksNumber"&&(l=c=>Number(c.releaseTracksNumber)),orderBy(n.currentRelease,l,n.sortOrder)});return{...toRefs(n),downloadLink:computed(()=>`https://www.deezer.com/artist/${unref(r)}`),headerStyle:computed(()=>({backgroundImage:`linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url(${n.artistPicture})`})),sortedData:s,sendAddToQueue,checkNewRelease}},data(){const e=this.$t.bind(this),a=this.$tc.bind(this);return{head:[{title:a("globals.listTabs.title",1),sortKey:"releaseTitle"},{title:e("globals.listTabs.releaseDate"),sortKey:"releaseDate"},{title:a("globals.listTabs.track",2),sortKey:"releaseTracksNumber"},{title:"",width:null}]}},methods:{sortBy(e){e===this.sortKey?this.sortOrder=this.sortOrder==="asc"?"desc":"asc":(this.sortKey=e,this.sortOrder="asc")}}});const __vue_script__$j=script$j;var __vue_render__$j=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"relative image-header"},[n("header",{staticClass:"flex items-center",style:e.headerStyle},[n("h1",{staticClass:"m-0"},[e._v(e._s(e.artistName))]),e._v(" "),n("div",{staticClass:"grid w-16 h-16 ml-auto rounded-full cursor-pointer bg-primary text-grayscale-870 place-items-center",attrs:{"aria-label":"download",role:"button","data-cm-link":e.downloadLink},on:{click:function(r){return r.stopPropagation(),e.sendAddToQueue(e.downloadLink)}}},[n("i",{staticClass:"text-4xl material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("BaseTabs",e._l(e.artistReleases,function(r,i){return n("BaseTab",{key:i,class:{active:e.currentTab===i},on:{click:function(s){e.currentTab=i}}},[e._v(` `+e._s(e.$tc("globals.listTabs."+i,2))+` `)])}),1),e._v(" "),n("table",{staticClass:"table"},[n("thead",[n("tr",e._l(e.head,function(r){return n("th",{key:r.title,staticClass:"uppercase-first-letter",class:{"sort-asc":r.sortKey===e.sortKey&&e.sortOrder=="asc","sort-desc":r.sortKey===e.sortKey&&e.sortOrder=="desc",sortable:r.sortKey,clickable:r.sortKey},style:{width:r.width?r.width:"auto"},on:{click:function(i){r.sortKey&&e.sortBy(r.sortKey)}}},[e._v(` `+e._s(r.title)+` @@ -3073,7 +3073,7 @@ a { `)])])],1)}),0)])])])},__vue_staticRenderFns__$h=[];const __vue_inject_styles__$h=void 0,__vue_scope_id__$h=void 0,__vue_is_functional_template__$h=!1;function __vue_normalize__$h(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};return o.__file="Charts.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r,o}var Charts=__vue_normalize__$h({render:__vue_render__$h,staticRenderFns:__vue_staticRenderFns__$h},__vue_inject_styles__$h,__vue_script__$h,__vue_scope_id__$h,__vue_is_functional_template__$h),script$g={computed:{...mapGetters(["getErrors"]),title(){return`${this.getErrors.artist} - ${this.getErrors.title}`},errors(){return this.getErrors.errors}}};const __vue_script__$g=script$g;var __vue_render__$g=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",[n("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("errors.title",{name:e.title})))]),e._v(" "),n("table",{staticClass:"table table--tracklist"},[n("tr",[n("th",[e._v("ID")]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.artist",1)))]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.title",1)))]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.error",1)))])]),e._v(" "),e._l(e.errors,function(r){return n("tr",{key:r.data.id},[n("td",[e._v(e._s(r.data.id))]),e._v(" "),n("td",[e._v(e._s(r.data.artist))]),e._v(" "),n("td",[e._v(e._s(r.data.title))]),e._v(" "),n("td",[e._v(e._s(r.errid?e.$t("errors.ids."+r.errid):r.message))])])})],2)])},__vue_staticRenderFns__$g=[];const __vue_inject_styles__$g=void 0,__vue_scope_id__$g=void 0,__vue_is_functional_template__$g=!1;function __vue_normalize__$g(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};return o.__file="Errors.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r,o}var Errors=__vue_normalize__$g({render:__vue_render__$g,staticRenderFns:__vue_staticRenderFns__$g},__vue_inject_styles__$g,__vue_script__$g,__vue_scope_id__$g,__vue_is_functional_template__$g),script$f={inheritAttrs:!1,props:{cover:{type:String,required:!0},isRounded:{type:Boolean,required:!1},isCircle:{type:Boolean,required:!1},link:{type:String,required:!0}}};const __vue_script__$f=script$f;var __vue_render__$f=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"relative cover-container group"},[n("img",{staticClass:"block w-full opacity-100 coverart",class:{rounded:e.isRounded,"rounded-full":e.isCircle},attrs:{"aria-hidden":"true",src:e.cover}}),e._v(" "),n("button",e._g({staticClass:"absolute p-0 text-center bg-black border-0 rounded-full opacity-0 download_overlay hover:bg-primary",attrs:{role:"button","aria-label":"download","data-link":e.link,tabindex:"0"}},e.$listeners),[n("i",{staticClass:"text-white cursor-pointer material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])])},__vue_staticRenderFns__$f=[];const __vue_inject_styles__$f=function(e){!e||e("data-v-c57a88ba_0",{source:".cover-container[data-v-c57a88ba]{width:156px;height:156px;margin-bottom:10px}.cover-container .coverart[data-v-c57a88ba]{backface-visibility:hidden;transition:.5s ease;height:auto}.cover-container .download_overlay[data-v-c57a88ba]{top:50%;left:50%;transform:translate(-50%,-50%);transition:.5s ease;opacity:0;min-width:2rem;height:2.75rem;text-align:center}.cover-container .download_overlay i[data-v-c57a88ba]{padding:.625rem}.cover-container .download_overlay[data-v-c57a88ba]:focus{opacity:1}.cover-container:hover .coverart[data-v-c57a88ba]{opacity:.75}.cover-container:hover .download_overlay[data-v-c57a88ba]{opacity:1;border:0}",map:void 0,media:void 0})},__vue_scope_id__$f="data-v-c57a88ba",__vue_module_identifier__$3=void 0,__vue_is_functional_template__$f=!1;function __vue_normalize__$f(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};o.__file="CoverContainer.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r;{let u;if(a&&(u=function(d){a.call(this,l(d))}),u!==void 0)if(o.functional){const d=o.render;o.render=function(h,m){return u.call(m),d(h,m)}}else{const d=o.beforeCreate;o.beforeCreate=d?[].concat(d,u):[u]}}return o}function __vue_create_injector__$3(){const e=document.head||document.getElementsByTagName("head")[0],a=__vue_create_injector__$3.styles||(__vue_create_injector__$3.styles={}),n=typeof navigator!="undefined"&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(i,s){if(document.querySelector('style[data-vue-ssr-id~="'+i+'"]'))return;const l=n?s.media||"default":i,c=a[l]||(a[l]={ids:[],parts:[],element:void 0});if(!c.ids.includes(i)){let o=s.source,u=c.ids.length;if(c.ids.push(i),s.map&&(o+=` /*# sourceURL=`+s.map.sources[0]+" */",o+=` /*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(s.map))))+" */"),n&&(c.element=c.element||document.querySelector("style[data-group="+l+"]")),!c.element){const d=c.element=document.createElement("style");d.type="text/css",s.media&&d.setAttribute("media",s.media),n&&(d.setAttribute("data-group",l),d.setAttribute("data-next-index","0")),e.appendChild(d)}if(n&&(u=parseInt(c.element.getAttribute("data-next-index")),c.element.setAttribute("data-next-index",u+1)),c.element.styleSheet)c.parts.push(o),c.element.styleSheet.cssText=c.parts.filter(Boolean).join(` -`);else{const d=document.createTextNode(o),f=c.element.childNodes;f[u]&&c.element.removeChild(f[u]),f.length?c.element.insertBefore(d,f[u]):c.element.appendChild(d)}}}}var CoverContainer=__vue_normalize__$f({render:__vue_render__$f,staticRenderFns:__vue_staticRenderFns__$f},__vue_inject_styles__$f,__vue_script__$f,__vue_scope_id__$f,__vue_is_functional_template__$f,__vue_module_identifier__$3,__vue_create_injector__$3);let settingsData={},defaultSettingsData={},spotifyCredentials={};async function getSettingsData(){const e=await fetchData("getSettings"),{settings:a,defaultSettings:n,spotifySettings:r}=e;return settingsData=a,defaultSettingsData=n,spotifyCredentials=r||{},{settingsData,defaultSettingsData,spotifyCredentials}}function getInitialPreviewVolume(){let e=parseInt(localStorage.getItem("previewVolume"));return isNaN(e)&&(e=80,localStorage.setItem("previewVolume",e.toString())),e}function checkInitialSlimDownloads(){return localStorage.getItem("slimDownloads")==="true"}function checkInitialSlimSidebar(){return localStorage.getItem("slimSidebar")==="true"}const state$2=()=>({currentCommit:null,latestCommit:null,updateAvailable:!1,deemixVersion:null,previewVolume:getInitialPreviewVolume(),hasSlimDownloads:checkInitialSlimDownloads(),hasSlimSidebar:checkInitialSlimSidebar()}),actions$2={setAppInfo({commit:e},a){e("SET_CURRENT_COMMIT",a.currentCommit),e("SET_LATEST_COMMIT",a.latestCommit),e("SET_UPDATE_AVAILABLE",a.updateAvailable),e("SET_DEEMIX_VERSION",a.deemixVersion)},setPreviewVolume({commit:e},a){e("SET_PREVIEW_VOLUME",a),localStorage.setItem("previewVolume",a.toString())},setSlimDownloads({commit:e},a){e("SET_SLIM_DOWNLOADS",a),localStorage.setItem("slimDownloads",a.toString())},setSlimSidebar({commit:e},a){e("SET_SLIM_SIDEBAR",a),localStorage.setItem("slimSidebar",a.toString()),Array.from(document.getElementsByClassName("toastify")).forEach(n=>{n.style.transform=`translate(${a?"3rem":"14rem"}, 0)`})}},getters$2={getAppInfo:e=>e,getPreviewVolume:e=>e.previewVolume,getSlimDownloads:e=>e.hasSlimDownloads,getSlimSidebar:e=>e.hasSlimSidebar},mutations$2={SET_CURRENT_COMMIT(e,a){e.currentCommit=a},SET_LATEST_COMMIT(e,a){e.latestCommit=a},SET_UPDATE_AVAILABLE(e,a){e.updateAvailable=a},SET_DEEMIX_VERSION(e,a){e.deemixVersion=a},SET_PREVIEW_VOLUME(e,a){e.previewVolume=a},SET_SLIM_DOWNLOADS(e,a){e.hasSlimDownloads=a},SET_SLIM_SIDEBAR(e,a){e.hasSlimSidebar=a}};var appInfo={state:state$2,getters:getters$2,actions:actions$2,mutations:mutations$2};const getDefaultState=()=>({arl:localStorage.getItem("arl")||"",accessToken:localStorage.getItem("accessToken")||"",status:null,user:{id:null,name:"",picture:""},spotifyUser:{id:localStorage.getItem("spotifyUser"),name:null,picture:null},clientMode:!1}),state$1=()=>getDefaultState(),actions$1={login({commit:e,dispatch:a},n){const{arl:r,user:i,status:s}=n;a("setARL",{arl:r}),e("SET_USER",i),e("SET_STATUS",s)},logout({commit:e}){localStorage.removeItem("arl"),localStorage.removeItem("accessToken"),e("RESET_LOGIN")},setARL({commit:e},a){let{saveOnLocalStorage:n}=a;const{arl:r}=a;n=typeof n=="undefined"?!0:n,e("SET_ARL",r),n&&localStorage.setItem("arl",r)},setAccessToken({commit:e},a){let{saveOnLocalStorage:n}=a;const{accessToken:r}=a;n=typeof n=="undefined"?!0:n,e("SET_ACCESS_TOKEN",r),n&&localStorage.setItem("accessToken",r)},removeARL({commit:e}){e("SET_ARL",""),localStorage.removeItem("arl")},removeAccessToken({commit:e}){e("SET_ACCESS_TOKEN",""),localStorage.removeItem("accessToken")},setUser({commit:e},a){e("SET_USER",a)},setClientMode({commit:e},a){e("SET_CLIENT_MODE",a)}},getters$1={getARL:e=>e.arl,getAccessToken:e=>e.accessToken,getUser:e=>e.user,getSpotifyUser:e=>e.spotifyUser,getClientMode:e=>e.clientMode,isLoggedIn:e=>!!e.arl,isLoggedWithSpotify:e=>!!e.spotifyUser.id},mutations$1={SET_ARL(e,a){e.arl=a},SET_ACCESS_TOKEN(e,a){e.accessToken=a},SET_STATUS(e,a){e.status=a},SET_USER(e,a){e.user=a},SET_CLIENT_MODE(e,a){e.clientMode=a},RESET_LOGIN(e){const a=e.clientMode;Object.assign(e,getDefaultState()),e.clientMode=a},SET_SPOTIFY_USER_ID(e,a){console.log("setting spotify user",{newSpotifyUserId:a}),e.spotifyUser={...e.spotifyUser,id:a}}};var login={state:state$1,getters:getters$1,actions:actions$1,mutations:mutations$1};const state=()=>({artist:"",bitrate:"",cover:"",downloaded:0,errors:[],failed:0,id:"",progress:0,silent:!0,size:0,title:"",type:"",uuid:""}),actions={setErrors({commit:e},a){e("SET_ERRORS",a)}},getters={getErrors:e=>e},mutations={SET_ERRORS(e,a){for(const n in e)e.hasOwnProperty(n)&&(e[n]=a[n])}};var errors={state,getters,actions,mutations};Vue$2.use(Vuex);var store=new Vuex.Store({modules:{appInfo,login,errors},strict:!1});const favoriteArtists=ref([]),favoriteAlbums=ref([]),favoriteSpotifyPlaylists=ref([]),favoritePlaylists=ref([]),favoriteTracks=ref([]),isRefreshingFavorites=ref(!1),setAllFavorites=e=>{const{tracks:a,albums:n,artists:r,playlists:i}=e;isRefreshingFavorites.value=!1,favoriteArtists.value=r,favoriteAlbums.value=n,favoritePlaylists.value=i,favoriteTracks.value=a},refreshFavorites=({isInitial:e=!1})=>{e||(isRefreshingFavorites.value=!0),fetchData("getUserFavorites").then(setAllFavorites).catch(console.error),store.getters.isLoggedWithSpotify?fetchData("getUserSpotifyPlaylists",{spotifyUser:store.getters.getSpotifyUser.id}).then(a=>{if(a.error==="spotifyNotEnabled"){favoriteSpotifyPlaylists.value=[];return}favoriteSpotifyPlaylists.value=a}).catch(console.error):favoriteSpotifyPlaylists.value=[]},useFavorites=()=>({favoriteArtists,favoriteAlbums,favoriteSpotifyPlaylists,favoritePlaylists,favoriteTracks,isRefreshingFavorites,refreshFavorites});var script$e=defineComponent({components:{PreviewControls,CoverContainer,BaseTabs,BaseTab},setup(e,a){const n=reactive({activeTab:"playlist",tabs:["playlist","album","artist","track"]}),{favoriteArtists:r,favoriteAlbums:i,favoriteSpotifyPlaylists:s,favoritePlaylists:l,favoriteTracks:c,isRefreshingFavorites:o,refreshFavorites:u}=useFavorites();return u({isInitial:!0}),watch(o,(d,f)=>{!(f&&!d)||toast(a.root.$t("toasts.refreshFavs"),"done",!0)}),{...toRefs(n),tracks:c,albums:i,artists:r,playlists:l,spotifyPlaylists:s,refreshFavorites:u,isRefreshingFavorites:o}},computed:{activeTabEmpty(){return this.getActiveRelease()?.length===0}},methods:{playPausePreview,convertDuration,downloadAllOfType(){try{const e=this.getActiveRelease();if(this.activeTab==="track"){const a=this.getLovedTracksPlaylist();sendAddToQueue(a.link)}else sendAddToQueue(aggregateDownloadLinks(e))}catch(e){console.error(e.message)}},addToQueue(e){sendAddToQueue(e.currentTarget.dataset.link)},getActiveRelease(e=this.activeTab){let a;switch(e){case"playlist":a=this.playlists;break;case"album":a=this.albums;break;case"artist":a=this.artists;break;case"track":a=this.tracks;break}return a},getTabLength(e=this.activeTab){let a=this[`${e}s`]?.length;return e==="playlist"&&(a+=this.spotifyPlaylists.length),a||0},getLovedTracksPlaylist(){const e=this.playlists.filter(a=>a.is_loved_track);if(e.length!==0)return e[0];throw new Error("No loved tracks playlist!")}}});const __vue_script__$e=script$e;var __vue_render__$e=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",[n("h1",{staticClass:"mb-8 text-5xl"},[e._v(` +`);else{const d=document.createTextNode(o),f=c.element.childNodes;f[u]&&c.element.removeChild(f[u]),f.length?c.element.insertBefore(d,f[u]):c.element.appendChild(d)}}}}var CoverContainer=__vue_normalize__$f({render:__vue_render__$f,staticRenderFns:__vue_staticRenderFns__$f},__vue_inject_styles__$f,__vue_script__$f,__vue_scope_id__$f,__vue_is_functional_template__$f,__vue_module_identifier__$3,__vue_create_injector__$3);let settingsData={},defaultSettingsData={},spotifyCredentials={};async function getSettingsData(){const e=await fetchData("getSettings"),{settings:a,defaultSettings:n,spotifySettings:r}=e;return settingsData=a,defaultSettingsData=n,spotifyCredentials=r||{},{settingsData,defaultSettingsData,spotifyCredentials}}function getInitialPreviewVolume(){let e=parseInt(localStorage.getItem("previewVolume"));return isNaN(e)&&(e=80,localStorage.setItem("previewVolume",e.toString())),e}function checkInitialSlimDownloads(){return localStorage.getItem("slimDownloads")==="true"}function checkInitialSlimSidebar(){return localStorage.getItem("slimSidebar")==="true"}const state$2=()=>({currentCommit:null,latestCommit:null,updateAvailable:!1,deemixVersion:null,previewVolume:getInitialPreviewVolume(),hasSlimDownloads:checkInitialSlimDownloads(),hasSlimSidebar:checkInitialSlimSidebar()}),actions$2={setAppInfo({commit:e},a){e("SET_CURRENT_COMMIT",a.currentCommit),e("SET_LATEST_COMMIT",a.latestCommit),e("SET_UPDATE_AVAILABLE",a.updateAvailable),e("SET_DEEMIX_VERSION",a.deemixVersion)},setPreviewVolume({commit:e},a){e("SET_PREVIEW_VOLUME",a),localStorage.setItem("previewVolume",a.toString())},setSlimDownloads({commit:e},a){e("SET_SLIM_DOWNLOADS",a),localStorage.setItem("slimDownloads",a.toString())},setSlimSidebar({commit:e},a){e("SET_SLIM_SIDEBAR",a),localStorage.setItem("slimSidebar",a.toString()),Array.from(document.getElementsByClassName("toastify")).forEach(n=>{n.style.transform=`translate(${a?"3rem":"14rem"}, 0)`})}},getters$2={getAppInfo:e=>e,getPreviewVolume:e=>e.previewVolume,getSlimDownloads:e=>e.hasSlimDownloads,getSlimSidebar:e=>e.hasSlimSidebar},mutations$2={SET_CURRENT_COMMIT(e,a){e.currentCommit=a},SET_LATEST_COMMIT(e,a){e.latestCommit=a},SET_UPDATE_AVAILABLE(e,a){e.updateAvailable=a},SET_DEEMIX_VERSION(e,a){e.deemixVersion=a},SET_PREVIEW_VOLUME(e,a){e.previewVolume=a},SET_SLIM_DOWNLOADS(e,a){e.hasSlimDownloads=a},SET_SLIM_SIDEBAR(e,a){e.hasSlimSidebar=a}};var appInfo={state:state$2,getters:getters$2,actions:actions$2,mutations:mutations$2};const SPOTIFY_STATUS={DISABLED:"DISABLED",ENABLED:"ENABLED"},getDefaultState=()=>({arl:localStorage.getItem("arl")||"",accessToken:localStorage.getItem("accessToken")||"",status:null,user:{id:null,name:"",picture:""},spotifyUser:{id:localStorage.getItem("spotifyUser"),name:null,picture:null},spotifyStatus:SPOTIFY_STATUS.DISABLED,clientMode:!1}),state$1=()=>getDefaultState(),actions$1={login({commit:e,dispatch:a},n){const{arl:r,user:i,status:s}=n;a("setARL",{arl:r}),e("SET_USER",i),e("SET_STATUS",s)},logout({commit:e}){localStorage.removeItem("arl"),localStorage.removeItem("accessToken"),e("RESET_LOGIN")},setARL({commit:e},a){let{saveOnLocalStorage:n}=a;const{arl:r}=a;n=typeof n=="undefined"?!0:n,e("SET_ARL",r),n&&localStorage.setItem("arl",r)},setAccessToken({commit:e},a){let{saveOnLocalStorage:n}=a;const{accessToken:r}=a;n=typeof n=="undefined"?!0:n,e("SET_ACCESS_TOKEN",r),n&&localStorage.setItem("accessToken",r)},removeARL({commit:e}){e("SET_ARL",""),localStorage.removeItem("arl")},removeAccessToken({commit:e}){e("SET_ACCESS_TOKEN",""),localStorage.removeItem("accessToken")},setUser({commit:e},a){e("SET_USER",a)},setClientMode({commit:e},a){e("SET_CLIENT_MODE",a)},setSpotifyStatus({commit:e},a){e("SET_SPOTIFY_STATUS",a)},setSpotifyUserId({commit:e},a){e("SET_SPOTIFY_USER_ID",a)},refreshSpotifyStatus({commit:e}){return fetchData("spotifyStatus").then(a=>{e("SET_SPOTIFY_STATUS",a.spotifyEnabled?SPOTIFY_STATUS.ENABLED:SPOTIFY_STATUS.DISABLED)})}},getters$1={getARL:e=>e.arl,getAccessToken:e=>e.accessToken,getUser:e=>e.user,getSpotifyUser:e=>e.spotifyUser,getClientMode:e=>e.clientMode,isLoggedIn:e=>!!e.arl,isLoggedWithSpotify:e=>!!e.spotifyUser.id&&e.spotifyStatus===SPOTIFY_STATUS.ENABLED},mutations$1={SET_ARL(e,a){e.arl=a},SET_ACCESS_TOKEN(e,a){e.accessToken=a},SET_STATUS(e,a){e.status=a},SET_USER(e,a){e.user=a},SET_CLIENT_MODE(e,a){e.clientMode=a},RESET_LOGIN(e){const a=e.clientMode;Object.assign(e,getDefaultState()),e.clientMode=a},SET_SPOTIFY_STATUS(e,a){e.spotifyStatus=a},SET_SPOTIFY_USER_ID(e,a){e.spotifyUser={...e.spotifyUser,id:a}}};var login={state:state$1,getters:getters$1,actions:actions$1,mutations:mutations$1};const state=()=>({artist:"",bitrate:"",cover:"",downloaded:0,errors:[],failed:0,id:"",progress:0,silent:!0,size:0,title:"",type:"",uuid:""}),actions={setErrors({commit:e},a){e("SET_ERRORS",a)}},getters={getErrors:e=>e},mutations={SET_ERRORS(e,a){for(const n in e)e.hasOwnProperty(n)&&(e[n]=a[n])}};var errors={state,getters,actions,mutations};Vue$2.use(Vuex);var store=new Vuex.Store({modules:{appInfo,login,errors},strict:!1});const favoriteArtists=ref([]),favoriteAlbums=ref([]),favoriteSpotifyPlaylists=ref([]),favoritePlaylists=ref([]),favoriteTracks=ref([]),isLoggedWithSpotify=computed(()=>store.getters.isLoggedWithSpotify),isRefreshingFavorites=ref(!1),setAllFavorites=e=>{const{tracks:a,albums:n,artists:r,playlists:i}=e;isRefreshingFavorites.value=!1,favoriteArtists.value=r,favoriteAlbums.value=n,favoritePlaylists.value=i,favoriteTracks.value=a},setSpotifyPlaylists=e=>{if(e.error==="spotifyNotEnabled"){favoriteSpotifyPlaylists.value=[],store.dispatch("setSpotifyStatus",SPOTIFY_STATUS.DISABLED).catch(console.error);return}favoriteSpotifyPlaylists.value=e},refreshFavorites=async({isInitial:e=!1})=>{if(e||(isRefreshingFavorites.value=!0),await store.dispatch("refreshSpotifyStatus"),fetchData("getUserFavorites").then(setAllFavorites).catch(console.error),isLoggedWithSpotify.value){const a=store.getters.getSpotifyUser.id;fetchData("getUserSpotifyPlaylists",{spotifyUser:a}).then(setSpotifyPlaylists).catch(console.error)}else favoriteSpotifyPlaylists.value=[]},useFavorites=()=>({favoriteArtists,favoriteAlbums,favoriteSpotifyPlaylists,favoritePlaylists,favoriteTracks,isRefreshingFavorites,refreshFavorites});var script$e=defineComponent({components:{PreviewControls,CoverContainer,BaseTabs,BaseTab},setup(e,a){const n=reactive({activeTab:"playlist",tabs:["playlist","album","artist","track"]}),{favoriteArtists:r,favoriteAlbums:i,favoriteSpotifyPlaylists:s,favoritePlaylists:l,favoriteTracks:c,isRefreshingFavorites:o,refreshFavorites:u}=useFavorites();return u({isInitial:!0}).catch(console.error),watch(o,(d,f)=>{!(f&&!d)||toast(a.root.$t("toasts.refreshFavs"),"done",!0)}),{...toRefs(n),tracks:c,albums:i,artists:r,playlists:l,spotifyPlaylists:s,refreshFavorites:u,isRefreshingFavorites:o}},computed:{activeTabEmpty(){return this.getActiveRelease()?.length===0}},methods:{playPausePreview,convertDuration,downloadAllOfType(){try{const e=this.getActiveRelease();if(this.activeTab==="track"){const a=this.getLovedTracksPlaylist();sendAddToQueue(a.link)}else sendAddToQueue(aggregateDownloadLinks(e))}catch(e){console.error(e.message)}},addToQueue(e){sendAddToQueue(e.currentTarget.dataset.link)},getActiveRelease(e=this.activeTab){let a;switch(e){case"playlist":a=this.playlists;break;case"album":a=this.albums;break;case"artist":a=this.artists;break;case"track":a=this.tracks;break}return a},getTabLength(e=this.activeTab){let a=this[`${e}s`]?.length;return e==="playlist"&&(a+=this.spotifyPlaylists.length),a||0},getLovedTracksPlaylist(){const e=this.playlists.filter(a=>a.is_loved_track);if(e.length!==0)return e[0];throw new Error("No loved tracks playlist!")}}});const __vue_script__$e=script$e;var __vue_render__$e=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",[n("h1",{staticClass:"mb-8 text-5xl"},[e._v(` `+e._s(e.$t("favorites.title"))+` `),n("div",{ref:"reloadButton",staticClass:"inline-block clickable",attrs:{"aria-label":"reload",role:"button"},on:{click:e.refreshFavorites}},[n("i",{staticClass:"material-icons",class:{spin:e.isRefreshingFavorites}},[e._v("sync")])])]),e._v(" "),n("BaseTabs",e._l(e.tabs,function(r){return n("BaseTab",{key:r,class:{active:e.activeTab===r},on:{click:function(i){e.activeTab=r}}},[e._v(` `+e._s(e.$tc("globals.listTabs."+r,2))+` @@ -3148,7 +3148,7 @@ a { `+e._s(e.$t("globals.by",{artist:r.artistName})+" - "+e.$tc("globals.listTabs.trackN",r.playlistTracksNumber))+` `)])],1)}),0)]],2)},__vue_staticRenderFns__$6=[];const __vue_inject_styles__$6=void 0,__vue_scope_id__$6=void 0,__vue_is_functional_template__$6=!1;function __vue_normalize__$6(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};return o.__file="ResultsPlaylists.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r,o}var ResultsPlaylists=__vue_normalize__$6({render:__vue_render__$6,staticRenderFns:__vue_staticRenderFns__$6},__vue_inject_styles__$6,__vue_script__$6,__vue_scope_id__$6,__vue_is_functional_template__$6),script$5={components:{TopResult,ResultsTracks,ResultsAlbums,ResultsArtists,ResultsPlaylists},props:{viewInfo:{type:Object,required:!0}},computed:{thereAreResults(){return!this.viewInfo?!1:!this.viewInfo.ORDER.every(n=>n==="TOP_RESULT"?this.viewInfo[n].length===0:this.viewInfo[n].data.length===0)}},methods:{convertDuration,upperCaseFirstLowerCaseRest,standardizeData,formatSingleTrack,formatAlbums,formatArtist,formatPlaylist,checkSectionResults(e){return e==="TOP_RESULT"?!!this.viewInfo.TOP_RESULT[0]:!!this.viewInfo[e].data[0]}}};const __vue_script__$5=script$5;var __vue_render__$5=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("section",[e.thereAreResults?e._l(e.viewInfo.ORDER,function(r){return n("section",{key:r,staticClass:"float-none py-5 border-t border-grayscale-500 first:border-t-0"},[e.checkSectionResults(r)?[n("h2",{staticClass:"mb-6 capitalize",class:{"text-4xl text-center":r==="TOP_RESULT","inline-block cursor-pointer text-3xl hover:text-primary transition-colors duration-200 ease-in-out":r!=="TOP_RESULT"},on:{click:function(i){return e.$emit("change-search-tab",r)}}},[e._v(` `+e._s(e.$tc("globals.listTabs."+r.toLowerCase(),2))+` - `)]),e._v(" "),r==="TOP_RESULT"?n("TopResult",{attrs:{info:e.viewInfo.TOP_RESULT[0]},on:{"add-to-queue":function(i){return e.$emit("add-to-queue",i)}}}):r==="TRACK"?n("ResultsTracks",{attrs:{"view-info":e.standardizeData(e.viewInfo.TRACK,e.formatSingleTrack)},on:{"add-to-queue":function(i){return e.$emit("add-to-queue",i)}}}):r==="ALBUM"?n("ResultsAlbums",{attrs:{"view-info":e.standardizeData(e.viewInfo.ALBUM,e.formatAlbums)},on:{"add-to-queue":function(i){return e.$emit("add-to-queue",i)}}}):r==="PLAYLIST"?n("ResultsPlaylists",{attrs:{"view-info":e.standardizeData(e.viewInfo.PLAYLIST,e.formatPlaylist)},on:{"add-to-queue":function(i){return e.$emit("add-to-queue",i)}}}):r==="ARTIST"?n("ResultsArtists",{attrs:{"view-info":e.standardizeData(e.viewInfo.ARTIST,e.formatArtist)},on:{"add-to-queue":function(i){return e.$emit("add-to-queue",i)}}}):e._e()]:e._e()],2)}):n("div",[n("h1",[e._v(e._s(e.$t("search.noResults")))])])],2)},__vue_staticRenderFns__$5=[];const __vue_inject_styles__$5=void 0,__vue_scope_id__$5=void 0,__vue_is_functional_template__$5=!1;function __vue_normalize__$5(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};return o.__file="ResultsAll.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r,o}var ResultsAll=__vue_normalize__$5({render:__vue_render__$5,staticRenderFns:__vue_staticRenderFns__$5},__vue_inject_styles__$5,__vue_script__$5,__vue_scope_id__$5,__vue_is_functional_template__$5);const searchResult=ref({});function performMainSearch(e){fetchData("mainSearch",{term:e}).then(a=>{searchResult.value=a})}function useMainSearch(){return{searchResult,performMainSearch}}const result=ref({});function performSearch({term:e,type:a,start:n=0,nb:r=30}){fetchData("search",{term:e,type:a,start:n,nb:r}).then(i=>{result.value=i})}function useSearch(){return{result,performSearch}}const resetObj={data:[],next:0,total:0,hasLoaded:!1},lastTab=ref(null);var script$4=defineComponent({components:{BaseLoadingPlaceholder,BaseTabs,BaseTab},props:{performScrolledSearch:{type:Boolean,required:!1}},setup(e,a){const n=reactive({currentTab:{name:"",searchType:"",component:{},viewInfo:"",formatFunc:()=>{}},results:{query:"",allTab:{ORDER:[],TOP_RESULT:[],ALBUM:{hasLoaded:!1},ARTIST:{hasLoaded:!1},TRACK:{hasLoaded:!1},PLAYLIST:{hasLoaded:!1}},trackTab:{...resetObj},albumTab:{...resetObj},artistTab:{...resetObj},playlistTab:{...resetObj}},tabs:[{name:a.root.$i18n.t("globals.listTabs.all"),searchType:"all",component:ResultsAll,viewInfo:"allTab"},{name:a.root.$i18n.tc("globals.listTabs.track",2),searchType:"track",component:ResultsTracks,viewInfo:"trackTab",formatFunc:formatSingleTrack},{name:a.root.$i18n.tc("globals.listTabs.album",2),searchType:"album",component:ResultsAlbums,viewInfo:"albumTab",formatFunc:formatAlbums},{name:a.root.$i18n.tc("globals.listTabs.artist",2),searchType:"artist",component:ResultsArtists,viewInfo:"artistTab",formatFunc:formatArtist},{name:a.root.$i18n.tc("globals.listTabs.playlist",2),searchType:"playlist",component:ResultsPlaylists,viewInfo:"playlistTab",formatFunc:formatPlaylist}]}),{searchResult:r,performMainSearch:i}=useMainSearch(),{result:s,performSearch:l}=useSearch(),c=computed(()=>a.root.$route.query.term),o=computed(()=>n.results.query===""),u=ref(!1),d=computed(()=>Object.keys(r.value).length!==0),f=computed(()=>r.value.QUERY!==c.value);d.value&&!f.value&&onMounted(()=>{h(r.value)}),c.value&&(!d.value||f.value)&&(i(c.value),u.value=!0);function h(m){u.value=!1,n.results.query=m.QUERY,n.results.allTab=m,n.results.allTab.TRACK.hasLoaded=!0,n.results.allTab.ALBUM.hasLoaded=!0,n.results.allTab.ARTIST.hasLoaded=!0,n.results.allTab.PLAYLIST.hasLoaded=!0,lastTab.value&&lastTab.value.searchType!=="all"?(n.currentTab=lastTab.value,l({term:m.QUERY,type:n.currentTab.searchType})):n.currentTab=n.tabs.find(v=>v.searchType==="all")}return watch(r,h),watch(s,m=>{const{next:v,total:y,type:_,data:w}=m,A=`${_}Tab`;let S=y;if(v&&(S=parseInt(v.match(/index=(\d*)/)[1])),n.results[A].total!==y&&(n.results[A].total=y),n.results[A].next!==S){n.results[A].next=S;const z=n.results[A].data.concat(w),F=uniqWith(z,(T,$)=>T.id===$.id);n.results[A].data=F}n.results[A].hasLoaded=!0}),n.currentTab=n.tabs.find(m=>m.searchType==="all"),{...toRefs(n),isSearching:u,isQueryEmpty:o,searchResult:r,performMainSearch:i,performSearch:l}},computed:{loadedTabs(){const e=[];for(const a in this.results)this.results.hasOwnProperty(a)&&a!=="query"&&this.results[a].hasLoaded&&e.push(a.replace(/Tab/g,""));return e}},watch:{performScrolledSearch(e){!e||this.scrolledSearch(e)},currentTab(e){this.isTabLoaded(e)||this.performSearch({term:this.results.query,type:e.searchType,start:this.results[`${e.searchType}Tab`].next})}},methods:{numberWithDots,convertDuration,addToQueue(e){sendAddToQueue(e.currentTarget.dataset.link)},getViewInfo(){return this.currentTab.searchType==="all"?this.results.allTab:standardizeData(this.results[this.currentTab.viewInfo],this.currentTab.formatFunc)},changeSearchTab(e){e=e.toLowerCase();const a=this.tabs.find(n=>n.searchType===e);if(!a){console.error(`No tab ${e} found`);return}window.scrollTo(0,0),this.currentTab=a,lastTab.value=a},scrolledSearch(){if(this.currentTab.searchType==="all")return;const e=`${this.currentTab.searchType}Tab`;this.results[e].next{searchResult.value=a})}function useMainSearch(){return{searchResult,performMainSearch}}const result=ref({});function performSearch({term:e,type:a,start:n=0,nb:r=30}){fetchData("search",{term:e,type:a,start:n,nb:r}).then(i=>{result.value=i})}function useSearch(){return{result,performSearch}}const resetObj={data:[],next:0,total:0,hasLoaded:!1},lastTab=ref(null);var script$4=defineComponent({components:{BaseLoadingPlaceholder,BaseTabs,BaseTab},props:{performScrolledSearch:{type:Boolean,required:!1}},setup(e,a){const n=reactive({currentTab:{name:"",searchType:"",component:{},viewInfo:"",formatFunc:()=>{}},results:{query:"",allTab:{ORDER:[],TOP_RESULT:[],ALBUM:{hasLoaded:!1},ARTIST:{hasLoaded:!1},TRACK:{hasLoaded:!1},PLAYLIST:{hasLoaded:!1}},trackTab:{...resetObj},albumTab:{...resetObj},artistTab:{...resetObj},playlistTab:{...resetObj}},tabs:[{name:a.root.$i18n.t("globals.listTabs.all"),searchType:"all",component:ResultsAll,viewInfo:"allTab"},{name:a.root.$i18n.tc("globals.listTabs.track",2),searchType:"track",component:ResultsTracks,viewInfo:"trackTab",formatFunc:formatSingleTrack},{name:a.root.$i18n.tc("globals.listTabs.album",2),searchType:"album",component:ResultsAlbums,viewInfo:"albumTab",formatFunc:formatAlbums},{name:a.root.$i18n.tc("globals.listTabs.artist",2),searchType:"artist",component:ResultsArtists,viewInfo:"artistTab",formatFunc:formatArtist},{name:a.root.$i18n.tc("globals.listTabs.playlist",2),searchType:"playlist",component:ResultsPlaylists,viewInfo:"playlistTab",formatFunc:formatPlaylist}]}),{searchResult:r,performMainSearch:i}=useMainSearch(),{result:s,performSearch:l}=useSearch(),c=computed(()=>a.root.$route.query.term),o=computed(()=>n.results.query===""),u=ref(!1),d=computed(()=>Object.keys(r.value).length!==0),f=computed(()=>r.value.QUERY!==c.value);d.value&&!f.value&&onMounted(()=>{h(r.value)}),c.value&&(!d.value||f.value)&&(i(c.value),u.value=!0);function h(m){u.value=!1,n.results.query=m.QUERY,n.results.allTab=m,n.results.allTab.TRACK.hasLoaded=!0,n.results.allTab.ALBUM.hasLoaded=!0,n.results.allTab.ARTIST.hasLoaded=!0,n.results.allTab.PLAYLIST.hasLoaded=!0,lastTab.value&&lastTab.value.searchType!=="all"?(n.currentTab=lastTab.value,l({term:m.QUERY,type:n.currentTab.searchType})):n.currentTab=n.tabs.find(v=>v.searchType==="all")}return watch(r,h),watch(s,m=>{const{next:v,total:y,type:_,data:w}=m,A=`${_}Tab`;let S=y;if(v&&(S=parseInt(v.match(/index=(\d*)/)[1])),n.results[A].total!==y&&(n.results[A].total=y),n.results[A].next!==S){n.results[A].next=S;const T=n.results[A].data.concat(w),F=uniqWith(T,(z,$)=>z.id===$.id);n.results[A].data=F}n.results[A].hasLoaded=!0}),n.currentTab=n.tabs.find(m=>m.searchType==="all"),{...toRefs(n),isSearching:u,isQueryEmpty:o,searchResult:r,performMainSearch:i,performSearch:l}},computed:{loadedTabs(){const e=[];for(const a in this.results)this.results.hasOwnProperty(a)&&a!=="query"&&this.results[a].hasLoaded&&e.push(a.replace(/Tab/g,""));return e}},watch:{performScrolledSearch(e){!e||this.scrolledSearch(e)},currentTab(e){this.isTabLoaded(e)||this.performSearch({term:this.results.query,type:e.searchType,start:this.results[`${e.searchType}Tab`].next})}},methods:{numberWithDots,convertDuration,addToQueue(e){sendAddToQueue(e.currentTarget.dataset.link)},getViewInfo(){return this.currentTab.searchType==="all"?this.results.allTab:standardizeData(this.results[this.currentTab.viewInfo],this.currentTab.formatFunc)},changeSearchTab(e){e=e.toLowerCase();const a=this.tabs.find(n=>n.searchType===e);if(!a){console.error(`No tab ${e} found`);return}window.scrollTo(0,0),this.currentTab=a,lastTab.value=a},scrolledSearch(){if(this.currentTab.searchType==="all")return;const e=`${this.currentTab.searchType}Tab`;this.results[e].nextsummary::marker{display:none}details.with-arrow>summary::marker{display:initial;vertical-align:var(--arrow-v-align,super)}",map:void 0,media:void 0})},__vue_scope_id__$3=void 0,__vue_module_identifier__$1=void 0,__vue_is_functional_template__$3=!0;function __vue_normalize__$3(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};o.__file="BaseAccordion.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r;{let u;if(a&&(u=function(d){a.call(this,l(d))}),u!==void 0)if(o.functional){const d=o.render;o.render=function(h,m){return u.call(m),d(h,m)}}else{const d=o.beforeCreate;o.beforeCreate=d?[].concat(d,u):[u]}}return o}function __vue_create_injector__$1(){const e=document.head||document.getElementsByTagName("head")[0],a=__vue_create_injector__$1.styles||(__vue_create_injector__$1.styles={}),n=typeof navigator!="undefined"&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(i,s){if(document.querySelector('style[data-vue-ssr-id~="'+i+'"]'))return;const l=n?s.media||"default":i,c=a[l]||(a[l]={ids:[],parts:[],element:void 0});if(!c.ids.includes(i)){let o=s.source,u=c.ids.length;if(c.ids.push(i),s.map&&(o+=` /*# sourceURL=`+s.map.sources[0]+" */",o+=` @@ -4867,7 +4867,7 @@ a { -`;const flags={it,en:gb,es,de,fr,id,pt,pt_br:br,ru,tr,vn,hr,ar,ko,ph,zh_tw:tw,pl},getFormItem=e=>a=>{const n=e.elements.namedItem(a);return{[a]:n.value}};var script$1={components:{BaseAccordion,TemplateVariablesList},setup(){const{areLogsActive:e,saveLogsSettings:a}=useLogs();return{areLogsActive:e,saveLogsSettings:a}},data(){return{flags,currentLocale:this.$i18n.locale,locales:this.$i18n.availableLocales,settings:{tags:{}},lastSettings:{},spotifyFeatures:{},lastCredentials:{},defaultSettings:{},lastUser:"",spotifyUser:"",accountNum:0,accounts:[],trackTemplateVariables}},computed:{...mapGetters({arl:"getARL",accessToken:"getAccessToken",user:"getUser",isLoggedIn:"isLoggedIn",clientMode:"getClientMode",previewVolume:"getPreviewVolume",hasSlimDownloads:"getSlimDownloads",hasSlimSidebar:"getSlimSidebar"}),needToWait(){return Object.keys(this.getSettings).length===0},modelVolume:{get(){return this.previewVolume},set:debounce(function(e){this.setPreviewVolume(e)},20)},modelSlimDownloads:{get(){return this.hasSlimDownloads},set(e){this.setSlimDownloads(e)}},modelSlimSidebar:{get(){return this.hasSlimSidebar},set(e){this.setSlimSidebar(e)}},pictureHref(){return`https://e-cdns-images.dzcdn.net/images/user/${this.user.picture}/125x125-000000-80-0-0.jpg`}},async mounted(){const{settingsData:e,defaultSettingsData:a,spotifyCredentials:n}=await getSettingsData();this.defaultSettings=a,this.initSettings(e,n);const r=localStorage.getItem("accountNum");r&&(this.accountNum=r);const i=localStorage.getItem("spotifyUser");i&&(this.lastUser=i,this.spotifyUser=i,socket.emit("update_userSpotifyPlaylists",i)),socket.on("updateSettings",this.updateSettings),socket.on("familyAccounts",this.initAccounts),this.clientMode&&(window.api.receive("downloadFolderSelected",this.downloadFolderSelected),window.api.receive("applogin_arl",this.loggedInViaDeezer)),this.$on("hook:destroyed",()=>{socket.off("updateSettings"),socket.off("familyAccounts")})},methods:{...mapActions({dispatchARL:"setARL",dispatchAccessTocken:"setAccessToken",dispatchUser:"setUser",removeARL:"removeARL",setPreviewVolume:"setPreviewVolume",setSlimDownloads:"setSlimDownloads",setSlimSidebar:"setSlimSidebar",dispatchLogout:"logout",dispatchLogin:"login"}),...mapMutations({setSpotifyUserId:"SET_SPOTIFY_USER_ID"}),onTemplateVariableClick(e){copyToClipboard(e),toast(`Copied ${e} to clipboard!`)},revertSettings(){this.settings=JSON.parse(JSON.stringify(this.lastSettings))},revertCredentials(){this.spotifyCredentials=JSON.parse(JSON.stringify(this.lastCredentials)),this.spotifyUser=(" "+this.lastUser).slice(1)},copyARLtoClipboard(){const e=this.$refs.loginInput;e.setAttribute("type","text"),e.select(),e.setSelectionRange(0,99999),document.execCommand("copy"),e.setAttribute("type","password"),toast(this.$t("settings.toasts.ARLcopied"),"assignment")},changeLocale(e){this.$i18n.locale=e,this.currentLocale=e,localStorage.setItem("locale",e)},saveSettings(){this.saveLogsSettings(),this.lastSettings=JSON.parse(JSON.stringify(this.settings)),this.lastCredentials=JSON.parse(JSON.stringify(this.spotifyFeatures));let e=!1;this.lastUser!==this.spotifyUser&&(this.lastUser=(" "+this.spotifyUser).slice(1),localStorage.setItem("spotifyUser",this.lastUser),this.setSpotifyUserId(this.lastUser),e=!0),socket.emit("saveSettings",{settings:this.lastSettings,spotifySettings:this.lastCredentials,spotifyUser:e?this.lastUser:!1})},selectDownloadFolder(){window.api.send("selectDownloadFolder",this.settings.downloadLocation)},downloadFolderSelected(e){this.$set(this.settings,"downloadLocation",e)},loadSettings(e){this.lastSettings=JSON.parse(JSON.stringify(e)),this.settings=JSON.parse(JSON.stringify(e))},loadCredentials(e){this.lastCredentials=JSON.parse(JSON.stringify(e)),this.spotifyFeatures=JSON.parse(JSON.stringify(e))},loggedInViaDeezer(e){this.dispatchARL({arl:e})},async login(e,a=!1){toast(this.$t("toasts.loggingIn"),"loading",!1,"login-toast");const n=await fetchData("login-arl",{arl:e,force:a,child:this.accountNum},"POST"),{status:r,user:i}=n;switch(r){case 1:case 3:toast(this.$t("toasts.loggedIn"),"done",!0,"login-toast"),this.dispatchLogin(n);break;case 2:toast(this.$t("toasts.alreadyLogged"),"done",!0,"login-toast"),this.dispatchUser(i);break;case 0:toast(this.$t("toasts.loginFailed"),"close",!0,"login-toast"),this.removeARL();break;case-1:toast(this.$t("toasts.deezerNotAvailable"),"close",!0,"login-toast")}},loginButton(){const e=this.$refs.loginInput.value.trim();e&&e!==this.arl&&this.login(e,!0)},async loginWithCredentials(){const e=getFormItem(this.$refs.loginWithCredentialsForm),{email:a}=e("email"),{password:n}=e("password"),{accessToken:r,arl:i}=await postToServer("loginWithCredentials",{email:a,password:n,accessToken:this.accessToken});r!==this.accessToken&&this.dispatchAccessTocken({accessToken:r}),i&&this.login(i)},appLogin(){window.api.send("applogin")},async changeAccount(){const[e,a]=await fetchData("changeAccount",this.accountNum);this.accountChanged(e,a)},accountChanged(e,a){this.$refs.username.innerText=e.name,this.$refs.userpicture.src=`https://e-cdns-images.dzcdn.net/images/user/${e.picture}/125x125-000000-80-0-0.jpg`,this.accountNum=a,localStorage.setItem("accountNum",this.accountNum)},initAccounts(e){this.accounts=e},async logout(){const e=await postToServer("logout");console.log(e),e.logged_out&&(toast(this.$t("toasts.loggedOut"),"done",!0,"login-toast"),this.dispatchLogout())},initSettings(e,a){this.loadSettings(e),this.loadCredentials(a),toast(this.$t("settings.toasts.init"),"settings")},updateSettings(e){const{settings:a,spotifySettings:n}=e;this.loadSettings(a),this.loadCredentials(n),toast(this.$t("settings.toasts.update"),"settings")},resetToDefault(){!confirm(this.$t("settings.resetMessage"))||(this.settings=JSON.parse(JSON.stringify(this.defaultSettings)),toast(this.$t("settings.toasts.reset"),"settings"))}}};const __vue_script__$1=script$1;var __vue_render__$1=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"fixed-footer"},[n("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("settings.title")))]),e._v(" "),e.isLoggedIn?n("div",{ref:"loggedInInfo",attrs:{id:"logged_in_info"}},[n("img",{ref:"userpicture",staticClass:"w-32 h-32 rounded-full",attrs:{id:"settings_picture",src:e.pictureHref,alt:"Profile Picture"}}),e._v(" "),n("i18n",{attrs:{path:"settings.login.loggedIn",tag:"p"},scopedSlots:e._u([{key:"username",fn:function(){return[n("strong",{ref:"username",attrs:{id:"settings_username"}},[e._v(e._s(e.user.name||"not logged"))])]},proxy:!0}],null,!1,2821744753)}),e._v(" "),n("button",{staticClass:"btn btn-primary",on:{click:e.logout}},[e._v(` +`;const flags={it,en:gb,es,de,fr,id,pt,pt_br:br,ru,tr,vn,hr,ar,ko,ph,zh_tw:tw,pl},getFormItem=e=>a=>{const n=e.elements.namedItem(a);return{[a]:n.value}};var script$1={components:{BaseAccordion,TemplateVariablesList},setup(){const{areLogsActive:e,saveLogsSettings:a}=useLogs();return{areLogsActive:e,saveLogsSettings:a}},data(){return{flags,currentLocale:this.$i18n.locale,locales:this.$i18n.availableLocales,settings:{tags:{}},lastSettings:{},spotifyFeatures:{},lastCredentials:{},defaultSettings:{},lastUser:"",spotifyUser:"",accountNum:0,accounts:[],trackTemplateVariables}},computed:{...mapGetters({arl:"getARL",accessToken:"getAccessToken",user:"getUser",isLoggedIn:"isLoggedIn",clientMode:"getClientMode",previewVolume:"getPreviewVolume",hasSlimDownloads:"getSlimDownloads",hasSlimSidebar:"getSlimSidebar"}),needToWait(){return Object.keys(this.getSettings).length===0},modelVolume:{get(){return this.previewVolume},set:debounce(function(e){this.setPreviewVolume(e)},20)},modelSlimDownloads:{get(){return this.hasSlimDownloads},set(e){this.setSlimDownloads(e)}},modelSlimSidebar:{get(){return this.hasSlimSidebar},set(e){this.setSlimSidebar(e)}},pictureHref(){return`https://e-cdns-images.dzcdn.net/images/user/${this.user.picture}/125x125-000000-80-0-0.jpg`}},async mounted(){const{settingsData:e,defaultSettingsData:a,spotifyCredentials:n}=await getSettingsData();this.defaultSettings=a,this.initSettings(e,n);const r=localStorage.getItem("accountNum");r&&(this.accountNum=r);const i=localStorage.getItem("spotifyUser");i&&(this.lastUser=i,this.spotifyUser=i,socket.emit("update_userSpotifyPlaylists",i)),socket.on("updateSettings",this.updateSettings),socket.on("familyAccounts",this.initAccounts),this.clientMode&&(window.api.receive("downloadFolderSelected",this.downloadFolderSelected),window.api.receive("applogin_arl",this.loggedInViaDeezer)),this.$on("hook:destroyed",()=>{socket.off("updateSettings"),socket.off("familyAccounts")})},methods:{...mapActions({dispatchARL:"setARL",dispatchAccessTocken:"setAccessToken",dispatchUser:"setUser",removeARL:"removeARL",setPreviewVolume:"setPreviewVolume",setSlimDownloads:"setSlimDownloads",setSlimSidebar:"setSlimSidebar",dispatchLogout:"logout",dispatchLogin:"login",setSpotifyUserId:"setSpotifyUserId",refreshSpotifyStatus:"refreshSpotifyStatus"}),onTemplateVariableClick(e){copyToClipboard(e),toast(`Copied ${e} to clipboard!`)},revertSettings(){this.settings=JSON.parse(JSON.stringify(this.lastSettings))},revertCredentials(){this.spotifyCredentials=JSON.parse(JSON.stringify(this.lastCredentials)),this.spotifyUser=(" "+this.lastUser).slice(1)},copyARLtoClipboard(){const e=this.$refs.loginInput;e.setAttribute("type","text"),e.select(),e.setSelectionRange(0,99999),document.execCommand("copy"),e.setAttribute("type","password"),toast(this.$t("settings.toasts.ARLcopied"),"assignment")},changeLocale(e){this.$i18n.locale=e,this.currentLocale=e,localStorage.setItem("locale",e)},saveSettings(){this.saveLogsSettings(),this.lastSettings=JSON.parse(JSON.stringify(this.settings)),this.lastCredentials=JSON.parse(JSON.stringify(this.spotifyFeatures));let e=!1;this.lastUser!==this.spotifyUser&&(this.lastUser=(" "+this.spotifyUser).slice(1),localStorage.setItem("spotifyUser",this.lastUser),this.setSpotifyUserId(this.lastUser),e=!0),socket.emit("saveSettings",{settings:this.lastSettings,spotifySettings:this.lastCredentials,spotifyUser:e?this.lastUser:!1})},selectDownloadFolder(){window.api.send("selectDownloadFolder",this.settings.downloadLocation)},downloadFolderSelected(e){this.$set(this.settings,"downloadLocation",e)},loadSettings(e){this.lastSettings=JSON.parse(JSON.stringify(e)),this.settings=JSON.parse(JSON.stringify(e))},loadCredentials(e){this.lastCredentials=JSON.parse(JSON.stringify(e)),this.spotifyFeatures=JSON.parse(JSON.stringify(e))},loggedInViaDeezer(e){this.dispatchARL({arl:e})},async login(e,a=!1){toast(this.$t("toasts.loggingIn"),"loading",!1,"login-toast");const n=await fetchData("login-arl",{arl:e,force:a,child:this.accountNum},"POST"),{status:r,user:i}=n;switch(r){case 1:case 3:toast(this.$t("toasts.loggedIn"),"done",!0,"login-toast"),this.dispatchLogin(n);break;case 2:toast(this.$t("toasts.alreadyLogged"),"done",!0,"login-toast"),this.dispatchUser(i);break;case 0:toast(this.$t("toasts.loginFailed"),"close",!0,"login-toast"),this.removeARL();break;case-1:toast(this.$t("toasts.deezerNotAvailable"),"close",!0,"login-toast")}},loginButton(){const e=this.$refs.loginInput.value.trim();e&&e!==this.arl&&this.login(e,!0)},async loginWithCredentials(){const e=getFormItem(this.$refs.loginWithCredentialsForm),{email:a}=e("email"),{password:n}=e("password"),{accessToken:r,arl:i}=await postToServer("loginWithCredentials",{email:a,password:n,accessToken:this.accessToken});r!==this.accessToken&&this.dispatchAccessTocken({accessToken:r}),i&&this.login(i)},appLogin(){window.api.send("applogin")},async changeAccount(){const[e,a]=await fetchData("changeAccount",this.accountNum);this.accountChanged(e,a)},accountChanged(e,a){this.$refs.username.innerText=e.name,this.$refs.userpicture.src=`https://e-cdns-images.dzcdn.net/images/user/${e.picture}/125x125-000000-80-0-0.jpg`,this.accountNum=a,localStorage.setItem("accountNum",this.accountNum)},initAccounts(e){this.accounts=e},async logout(){const e=await postToServer("logout");console.log(e),e.logged_out&&(toast(this.$t("toasts.loggedOut"),"done",!0,"login-toast"),this.dispatchLogout())},initSettings(e,a){this.loadSettings(e),this.loadCredentials(a),toast(this.$t("settings.toasts.init"),"settings")},updateSettings(e){const{settings:a,spotifySettings:n}=e;this.loadSettings(a),this.loadCredentials(n),toast(this.$t("settings.toasts.update"),"settings"),this.refreshSpotifyStatus()},resetToDefault(){!confirm(this.$t("settings.resetMessage"))||(this.settings=JSON.parse(JSON.stringify(this.defaultSettings)),toast(this.$t("settings.toasts.reset"),"settings"))}}};const __vue_script__$1=script$1;var __vue_render__$1=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"fixed-footer"},[n("h1",{staticClass:"mb-8 text-5xl"},[e._v(e._s(e.$t("settings.title")))]),e._v(" "),e.isLoggedIn?n("div",{ref:"loggedInInfo",attrs:{id:"logged_in_info"}},[n("img",{ref:"userpicture",staticClass:"w-32 h-32 rounded-full",attrs:{id:"settings_picture",src:e.pictureHref,alt:"Profile Picture"}}),e._v(" "),n("i18n",{attrs:{path:"settings.login.loggedIn",tag:"p"},scopedSlots:e._u([{key:"username",fn:function(){return[n("strong",{ref:"username",attrs:{id:"settings_username"}},[e._v(e._s(e.user.name||"not logged"))])]},proxy:!0}],null,!1,2821744753)}),e._v(" "),n("button",{staticClass:"btn btn-primary",on:{click:e.logout}},[e._v(` `+e._s(e.$t("settings.login.logout"))+` `)]),e._v(" "),e.accounts.length>1?n("select",{directives:[{name:"model",rawName:"v-model",value:e.accountNum,expression:"accountNum"}],attrs:{id:"family_account"},on:{change:[function(r){var i=Array.prototype.filter.call(r.target.options,function(s){return s.selected}).map(function(s){var l="_value"in s?s._value:s.value;return l});e.accountNum=r.target.multiple?i:i[0]},e.changeAccount]}},e._l(e.accounts,function(r,i){return n("option",{key:r,domProps:{value:i.toString()}},[e._v(` `+e._s(r.name)+` @@ -4908,7 +4908,7 @@ a { `+e._s(e.$t("settings.spotify.title"))+` `)])]},proxy:!0}])},[e._v(" "),n("RouterLink",{attrs:{to:{name:"Spotify Features"}}},[e._v(` `+e._s(e.$t("settings.spotify.question"))+` - `)]),e._v(" "),n("div",{staticClass:"input-group"},[n("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.spotify.clientID")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.clientId,expression:"spotifyFeatures.clientId"}],attrs:{type:"text"},domProps:{value:e.spotifyFeatures.clientId},on:{input:function(r){r.target.composing||e.$set(e.spotifyFeatures,"clientId",r.target.value)}}})]),e._v(" "),n("div",{staticClass:"input-group"},[n("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.spotify.clientSecret")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.clientSecret,expression:"spotifyFeatures.clientSecret"}],attrs:{type:"password"},domProps:{value:e.spotifyFeatures.clientSecret},on:{input:function(r){r.target.composing||e.$set(e.spotifyFeatures,"clientSecret",r.target.value)}}})]),e._v(" "),n("div",{staticClass:"input-group"},[n("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.spotify.username")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyUser,expression:"spotifyUser"}],attrs:{type:"text"},domProps:{value:e.spotifyUser},on:{input:function(r){r.target.composing||(e.spotifyUser=r.target.value)}}})]),e._v(" "),n("label",{staticClass:"with-checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.fallbackSearch,expression:"spotifyFeatures.fallbackSearch"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.spotifyFeatures.fallbackSearch)?e._i(e.spotifyFeatures.fallbackSearch,null)>-1:e.spotifyFeatures.fallbackSearch},on:{change:function(r){var i=e.spotifyFeatures.fallbackSearch,s=r.target,l=!!s.checked;if(Array.isArray(i)){var c=null,o=e._i(i,c);s.checked?o<0&&e.$set(e.spotifyFeatures,"fallbackSearch",i.concat([c])):o>-1&&e.$set(e.spotifyFeatures,"fallbackSearch",i.slice(0,o).concat(i.slice(o+1)))}else e.$set(e.spotifyFeatures,"fallbackSearch",l)}}}),e._v(" "),n("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.fallbackSearch")))])])],1),e._v(" "),n("footer",{staticClass:"bg-background-main"},[n("button",{staticClass:"mr-2 btn btn-primary",on:{click:e.resetToDefault}},[e._v(e._s(e.$t("settings.reset")))]),e._v(" "),n("button",{staticClass:"btn btn-primary",on:{click:e.saveSettings}},[e._v(e._s(e.$t("settings.save")))])])],1)},__vue_staticRenderFns__$1=[function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("label",[n("span",[e._v("E-mail")]),e._v(" "),n("input",{attrs:{type:"text",name:"email"}})])},function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("label",[n("span",[e._v("Password")]),e._v(" "),n("input",{attrs:{type:"password",name:"password"}})])}];const __vue_inject_styles__$1=function(e){!e||e("data-v-7e734fa2_0",{source:"#logged_in_info[data-v-7e734fa2]{display:flex;align-items:center;flex-direction:column;justify-content:space-evenly;height:250px}.locale-flag[data-v-7e734fa2]{justify-content:center;cursor:pointer;width:60px}.locale-flag[data-v-7e734fa2]:not(:last-child){margin-right:10px}.locale-flag.locale-flag--current[data-v-7e734fa2] svg{filter:brightness(1)!important}.locale-flag[data-v-7e734fa2] svg{width:40px!important;height:40px!important;filter:brightness(.5)}.settings-group[data-v-7e734fa2]{border-top-width:1px;border-color:gray}.settings-group__header[data-v-7e734fa2]{display:inline-flex;align-items:center;padding-top:2rem;padding-bottom:2rem;font-size:1.5rem}.settings-group__header i.material-icons[data-v-7e734fa2]{margin-right:1rem}.settings-container[data-v-7e734fa2]{display:flex}.settings-container__half[data-v-7e734fa2]{width:50%}.settings-container__third[data-v-7e734fa2]{width:33%}.settings-container__third--only-checkbox[data-v-7e734fa2]{display:flex;align-items:start;flex-direction:column;justify-content:center}.settings-container__half>*[data-v-7e734fa2],.settings-container__third>*[data-v-7e734fa2]{margin-bottom:1rem}.with-checkbox[data-v-7e734fa2]{display:flex;align-items:center}.with-checkbox [type=checkbox][data-v-7e734fa2]{cursor:pointer}.with-checkbox .checkbox-text[data-v-7e734fa2]{margin-left:10px;cursor:pointer;user-select:none}.input-group .input-group-text[data-v-7e734fa2]{margin-bottom:.5rem}",map:void 0,media:void 0})},__vue_scope_id__$1="data-v-7e734fa2",__vue_module_identifier__=void 0,__vue_is_functional_template__$1=!1;function __vue_normalize__$1(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};o.__file="Settings.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r;{let u;if(a&&(u=function(d){a.call(this,l(d))}),u!==void 0)if(o.functional){const d=o.render;o.render=function(h,m){return u.call(m),d(h,m)}}else{const d=o.beforeCreate;o.beforeCreate=d?[].concat(d,u):[u]}}return o}function __vue_create_injector__(){const e=document.head||document.getElementsByTagName("head")[0],a=__vue_create_injector__.styles||(__vue_create_injector__.styles={}),n=typeof navigator!="undefined"&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(i,s){if(document.querySelector('style[data-vue-ssr-id~="'+i+'"]'))return;const l=n?s.media||"default":i,c=a[l]||(a[l]={ids:[],parts:[],element:void 0});if(!c.ids.includes(i)){let o=s.source,u=c.ids.length;if(c.ids.push(i),s.map&&(o+=` + `)]),e._v(" "),n("div",{staticClass:"input-group"},[n("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.spotify.clientID")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.clientId,expression:"spotifyFeatures.clientId"}],attrs:{type:"text"},domProps:{value:e.spotifyFeatures.clientId},on:{input:function(r){r.target.composing||e.$set(e.spotifyFeatures,"clientId",r.target.value)}}})]),e._v(" "),n("div",{staticClass:"input-group"},[n("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.spotify.clientSecret")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.clientSecret,expression:"spotifyFeatures.clientSecret"}],attrs:{type:"password"},domProps:{value:e.spotifyFeatures.clientSecret},on:{input:function(r){r.target.composing||e.$set(e.spotifyFeatures,"clientSecret",r.target.value)}}})]),e._v(" "),n("div",{staticClass:"input-group"},[n("p",{staticClass:"input-group-text"},[e._v(e._s(e.$t("settings.spotify.username")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyUser,expression:"spotifyUser"}],attrs:{type:"text"},domProps:{value:e.spotifyUser},on:{input:function(r){r.target.composing||(e.spotifyUser=r.target.value)}}})]),e._v(" "),n("label",{staticClass:"with-checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.fallbackSearch,expression:"spotifyFeatures.fallbackSearch"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.spotifyFeatures.fallbackSearch)?e._i(e.spotifyFeatures.fallbackSearch,null)>-1:e.spotifyFeatures.fallbackSearch},on:{change:function(r){var i=e.spotifyFeatures.fallbackSearch,s=r.target,l=!!s.checked;if(Array.isArray(i)){var c=null,o=e._i(i,c);s.checked?o<0&&e.$set(e.spotifyFeatures,"fallbackSearch",i.concat([c])):o>-1&&e.$set(e.spotifyFeatures,"fallbackSearch",i.slice(0,o).concat(i.slice(o+1)))}else e.$set(e.spotifyFeatures,"fallbackSearch",l)}}}),e._v(" "),n("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("settings.downloads.fallbackSearch")))])])],1),e._v(" "),n("footer",{staticClass:"bg-background-main"},[n("button",{staticClass:"mr-2 btn btn-primary",on:{click:e.resetToDefault}},[e._v(e._s(e.$t("settings.reset")))]),e._v(" "),n("button",{staticClass:"btn btn-primary",on:{click:e.saveSettings}},[e._v(e._s(e.$t("settings.save")))])])],1)},__vue_staticRenderFns__$1=[function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("label",[n("span",[e._v("E-mail")]),e._v(" "),n("input",{attrs:{type:"text",name:"email"}})])},function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("label",[n("span",[e._v("Password")]),e._v(" "),n("input",{attrs:{type:"password",name:"password"}})])}];const __vue_inject_styles__$1=function(e){!e||e("data-v-d1ff23ba_0",{source:"#logged_in_info[data-v-d1ff23ba]{display:flex;align-items:center;flex-direction:column;justify-content:space-evenly;height:250px}.locale-flag[data-v-d1ff23ba]{justify-content:center;cursor:pointer;width:60px}.locale-flag[data-v-d1ff23ba]:not(:last-child){margin-right:10px}.locale-flag.locale-flag--current[data-v-d1ff23ba] svg{filter:brightness(1)!important}.locale-flag[data-v-d1ff23ba] svg{width:40px!important;height:40px!important;filter:brightness(.5)}.settings-group[data-v-d1ff23ba]{border-top-width:1px;border-color:gray}.settings-group__header[data-v-d1ff23ba]{display:inline-flex;align-items:center;padding-top:2rem;padding-bottom:2rem;font-size:1.5rem}.settings-group__header i.material-icons[data-v-d1ff23ba]{margin-right:1rem}.settings-container[data-v-d1ff23ba]{display:flex}.settings-container__half[data-v-d1ff23ba]{width:50%}.settings-container__third[data-v-d1ff23ba]{width:33%}.settings-container__third--only-checkbox[data-v-d1ff23ba]{display:flex;align-items:start;flex-direction:column;justify-content:center}.settings-container__half>*[data-v-d1ff23ba],.settings-container__third>*[data-v-d1ff23ba]{margin-bottom:1rem}.with-checkbox[data-v-d1ff23ba]{display:flex;align-items:center}.with-checkbox [type=checkbox][data-v-d1ff23ba]{cursor:pointer}.with-checkbox .checkbox-text[data-v-d1ff23ba]{margin-left:10px;cursor:pointer;user-select:none}.input-group .input-group-text[data-v-d1ff23ba]{margin-bottom:.5rem}",map:void 0,media:void 0})},__vue_scope_id__$1="data-v-d1ff23ba",__vue_module_identifier__=void 0,__vue_is_functional_template__$1=!1;function __vue_normalize__$1(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};o.__file="Settings.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r;{let u;if(a&&(u=function(d){a.call(this,l(d))}),u!==void 0)if(o.functional){const d=o.render;o.render=function(h,m){return u.call(m),d(h,m)}}else{const d=o.beforeCreate;o.beforeCreate=d?[].concat(d,u):[u]}}return o}function __vue_create_injector__(){const e=document.head||document.getElementsByTagName("head")[0],a=__vue_create_injector__.styles||(__vue_create_injector__.styles={}),n=typeof navigator!="undefined"&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(i,s){if(document.querySelector('style[data-vue-ssr-id~="'+i+'"]'))return;const l=n?s.media||"default":i,c=a[l]||(a[l]={ids:[],parts:[],element:void 0});if(!c.ids.includes(i)){let o=s.source,u=c.ids.length;if(c.ids.push(i),s.map&&(o+=` /*# sourceURL=`+s.map.sources[0]+" */",o+=` /*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(s.map))))+" */"),n&&(c.element=c.element||document.querySelector("style[data-group="+l+"]")),!c.element){const d=c.element=document.createElement("style");d.type="text/css",s.media&&d.setAttribute("media",s.media),n&&(d.setAttribute("data-group",l),d.setAttribute("data-next-index","0")),e.appendChild(d)}if(n&&(u=parseInt(c.element.getAttribute("data-next-index")),c.element.setAttribute("data-next-index",u+1)),c.element.styleSheet)c.parts.push(o),c.element.styleSheet.cssText=c.parts.filter(Boolean).join(` `);else{const d=document.createTextNode(o),f=c.element.childNodes;f[u]&&c.element.removeChild(f[u]),f.length?c.element.insertBefore(d,f[u]):c.element.appendChild(d)}}}}var Settings=__vue_normalize__$1({render:__vue_render__$1,staticRenderFns:__vue_staticRenderFns__$1},__vue_inject_styles__$1,__vue_script__$1,__vue_scope_id__$1,__vue_is_functional_template__$1,__vue_module_identifier__,__vue_create_injector__),script={data(){return{title:"",metadata:"",release_date:"",label:"",explicit:!1,image:"",type:"empty",link:"",body:[]}},mounted(){EventBus.$on("showAlbum",this.showAlbum),EventBus.$on("showPlaylist",this.showPlaylist),EventBus.$on("showSpotifyPlaylist",this.showSpotifyPlaylist)},methods:{playPausePreview,reset(){this.title="Loading...",this.image="",this.metadata="",this.label="",this.release_date="",this.explicit=!1,this.type="empty",this.body=[]},addToQueue(e){sendAddToQueue(e.currentTarget.dataset.link)},toggleAll(e){this.body.forEach(a=>{a.type==="track"&&(a.selected=e.currentTarget.checked)})},selectedLinks(){const e=[];return this.body&&this.body.forEach(a=>{a.type==="track"&&a.selected&&e.push(this.type==="spotifyPlaylist"?a.uri:a.link)}),e.join(";")},convertDuration:Utils.convertDuration,showAlbum(e){this.reset();const{id:a,title:n,explicit_lyrics:r,label:i,artist:{name:s},tracks:l,tracks:{length:c},release_date:o,cover_xl:u}=e;this.type="album",this.link=`https://www.deezer.com/album/${a}`,this.title=n,this.explicit=r,this.label=i,this.metadata=`${s} \u2022 ${this.$tc("globals.listTabs.trackN",c)}`,this.release_date=o.substring(0,10),this.image=u,isEmpty(l)?this.body=null:this.body=l},showPlaylist(e){this.reset();const{id:a,title:n,picture_xl:r,creation_date:i,creator:{name:s},tracks:l,tracks:{length:c}}=e;this.type="playlist",this.link=`https://www.deezer.com/playlist/${a}`,this.title=n,this.image=r,this.release_date=i.substring(0,10),this.metadata=`${this.$t("globals.by",{artist:s})} \u2022 ${this.$tc("globals.listTabs.trackN",c)}`,isEmpty(l)?this.body=null:this.body=l},showSpotifyPlaylist(e){this.reset();const{uri:a,name:n,images:r,images:{length:i},owner:{display_name:s},tracks:l,tracks:{length:c}}=e;this.type="spotifyPlaylist",this.link=a,this.title=n,this.image=i?r[0].url:"https://e-cdns-images.dzcdn.net/images/cover/d41d8cd98f00b204e9800998ecf8427e/1000x1000-000000-80-0-0.jpg",this.release_date="",this.metadata=`${this.$t("globals.by",{artist:s})} \u2022 ${this.$tc("globals.listTabs.trackN",c)}`,isEmpty(l)?this.body=null:this.body=l},selectRow(e,a){a.selected=!a.selected}}};const __vue_script__=script;var __vue_render__=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{ref:"root",staticClass:"relative fixed-footer bg-background-main image-header"},[n("header",{style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[n("h1",{staticClass:"flex items-center m-0 text-5xl"},[e._v(` @@ -4933,5 +4933,5 @@ a { `)]),e._v(" "),n("td",[e._v(e._s(r.artists[0].name))]),e._v(" "),n("td",[e._v(e._s(r.album.name))]),e._v(" "),n("td",[e._v(e._s(e.convertDuration(Math.floor(r.duration_ms/1e3))))]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:r.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(r.selected)?e._i(r.selected,null)>-1:r.selected},on:{change:function(s){var l=r.selected,c=s.target,o=!!c.checked;if(Array.isArray(l)){var u=null,d=e._i(l,u);c.checked?d<0&&e.$set(r,"selected",l.concat([u])):d>-1&&e.$set(r,"selected",l.slice(0,d).concat(l.slice(d+1)))}else e.$set(r,"selected",o)}}})])])})],2)]),e._v(" "),e.label?n("span",{staticStyle:{opacity:"0.4","margin-top":"8px",display:"inline-block","font-size":"13px"}},[e._v(e._s(e.label))]):e._e(),e._v(" "),n("footer",{staticClass:"bg-background-main"},[n("button",{staticClass:"mr-2 btn btn-primary",attrs:{"data-link":e.link},on:{click:function(r){return r.stopPropagation(),e.addToQueue.apply(null,arguments)}}},[e._v(` `+e._s(""+e.$t("globals.download",{thing:e.$tc("globals.listTabs."+e.type,1)}))+` `)]),e._v(" "),n("button",{staticClass:"flex items-center btn btn-primary",attrs:{"data-link":e.selectedLinks()},on:{click:function(r){return r.stopPropagation(),e.addToQueue.apply(null,arguments)}}},[e._v(` - `+e._s(e.$t("tracklist.downloadSelection"))),n("i",{staticClass:"ml-2 material-icons"},[e._v("file_download")])])])])},__vue_staticRenderFns__=[function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("th",[n("i",{staticClass:"material-icons"},[e._v("music_note")])])},function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("th",[n("i",{staticClass:"material-icons"},[e._v("timer")])])},function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("td",[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center",staticStyle:{opacity:"0.54"}},[n("i",{staticClass:"material-icons"},[e._v("album")])])])}];const __vue_inject_styles__=void 0,__vue_scope_id__=void 0,__vue_is_functional_template__=!1;function __vue_normalize__(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};return o.__file="Tracklist.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r,o}var Tracklist=__vue_normalize__({render:__vue_render__,staticRenderFns:__vue_staticRenderFns__},__vue_inject_styles__,__vue_script__,__vue_scope_id__,__vue_is_functional_template__);Vue$2.use(VueRouter$1);const routes=[{path:window.location.pathname,name:"Home",component:Home,meta:{notKeepAlive:!0}},{path:"/tracklist/:type/:id",name:"Tracklist",component:Tracklist},{path:"/artist/:id",name:"Artist",component:Artist,meta:{notKeepAlive:!0}},{path:"/album/:id",name:"Album",component:Tracklist},{path:"/playlist/:id",name:"Playlist",component:Tracklist},{path:"/spotify-playlist/:id",name:"Spotify Playlist",component:Tracklist},{path:"/charts",name:"Charts",component:Charts,meta:{notKeepAlive:!0}},{path:"/favorites",name:"Favorites",component:Favorites,meta:{notKeepAlive:!0}},{path:"/errors",name:"Errors",component:Errors},{path:"/logs",name:"Logs",component:Logs},{path:"/link-analyzer",name:"Link Analyzer",component:LinkAnalyzer},{path:"/about",name:"About",component:About},{path:"/info-arl",name:"ARL",component:InfoArl},{path:"/info-spotify",name:"Spotify Features",component:InfoSpotifyFeatures},{path:"/settings",name:"Settings",component:Settings},{path:"/search",name:"Search",component:Search,meta:{notKeepAlive:!0}},{path:"*",component:Home}],router=new VueRouter$1({mode:"history",routes,scrollBehavior(){return{x:0,y:0}}});router.beforeEach((e,a,n)=>{switch(e.name){case"Tracklist":{console.warn("This should never happen.");break}case"Album":{const r={type:"album",id:e.params.id};fetchData("getTracklist",r).then(i=>{EventBus.$emit("showAlbum",i)});break}case"Playlist":{const r={type:"playlist",id:e.params.id};fetchData("getTracklist",r).then(i=>{EventBus.$emit("showPlaylist",i)});break}case"Spotify Playlist":{const r={type:"spotifyplaylist",id:e.params.id};fetchData("getTracklist",r).then(i=>{EventBus.$emit("showSpotifyPlaylist",i)});break}}n()});async function startApp(){new Vue$2({store,router,i18n,render:r=>r(App)}).$mount("#app");const e=await(await fetch("connect")).json();e.deezerAvailable||document.getElementById("deezer_not_available").classList.remove("hide"),store.dispatch("setAppInfo",e.update).catch(console.error);let a=localStorage.getItem("arl");const n=localStorage.getItem("accessToken");if(e.autologin){console.info("Autologin");const r=localStorage.getItem("accountNum");async function i(s,l){toast(i18n.t("toasts.loggingIn"),"loading",!1,"login-toast"),s=s.trim();let c;return l!==0?c=await fetchData("login-arl",{arl:s,force:!0,child:l||0},"POST"):c=await fetchData("login-arl",{arl:s},"POST"),c}if(a){let s=await i(a,r);if(s.status===0&&n){const{arl:l}=await postToServer("loginWithCredentials",{accessToken:n});l&&l!==a&&(a=l,store.dispatch("setARL",{arl:a})),s=await i(l,r)}loggedIn(s)}}else loggedIn({status:3,user:e.currentUser,arl:a})}function initClient(){store.dispatch("setClientMode",!0),setClientModeKeyBindings()}document.addEventListener("DOMContentLoaded",startApp),window.api&&initClient(),document.addEventListener("paste",e=>{if(e.target.localName==="input")return;let a=e.clipboardData.getData("Text");if(isValidURL(a))router.currentRoute.name==="Link Analyzer"?socket.emit("analyzeLink",a):(a.includes(` + `+e._s(e.$t("tracklist.downloadSelection"))),n("i",{staticClass:"ml-2 material-icons"},[e._v("file_download")])])])])},__vue_staticRenderFns__=[function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("th",[n("i",{staticClass:"material-icons"},[e._v("music_note")])])},function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("th",[n("i",{staticClass:"material-icons"},[e._v("timer")])])},function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("td",[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center",staticStyle:{opacity:"0.54"}},[n("i",{staticClass:"material-icons"},[e._v("album")])])])}];const __vue_inject_styles__=void 0,__vue_scope_id__=void 0,__vue_is_functional_template__=!1;function __vue_normalize__(e,a,n,r,i,s,l,c){const o=(typeof n=="function"?n.options:n)||{};return o.__file="Tracklist.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,i&&(o.functional=!0)),o._scopeId=r,o}var Tracklist=__vue_normalize__({render:__vue_render__,staticRenderFns:__vue_staticRenderFns__},__vue_inject_styles__,__vue_script__,__vue_scope_id__,__vue_is_functional_template__);Vue$2.use(VueRouter$1);const routes=[{path:window.location.pathname,name:"Home",component:Home,meta:{notKeepAlive:!0}},{path:"/tracklist/:type/:id",name:"Tracklist",component:Tracklist},{path:"/artist/:id",name:"Artist",component:Artist,meta:{notKeepAlive:!0}},{path:"/album/:id",name:"Album",component:Tracklist},{path:"/playlist/:id",name:"Playlist",component:Tracklist},{path:"/spotify-playlist/:id",name:"Spotify Playlist",component:Tracklist},{path:"/charts",name:"Charts",component:Charts,meta:{notKeepAlive:!0}},{path:"/favorites",name:"Favorites",component:Favorites,meta:{notKeepAlive:!0}},{path:"/errors",name:"Errors",component:Errors},{path:"/logs",name:"Logs",component:Logs},{path:"/link-analyzer",name:"Link Analyzer",component:LinkAnalyzer},{path:"/about",name:"About",component:About},{path:"/info-arl",name:"ARL",component:InfoArl},{path:"/info-spotify",name:"Spotify Features",component:InfoSpotifyFeatures},{path:"/settings",name:"Settings",component:Settings},{path:"/search",name:"Search",component:Search,meta:{notKeepAlive:!0}},{path:"*",component:Home}],router=new VueRouter$1({mode:"history",routes,scrollBehavior(){return{x:0,y:0}}});router.beforeEach((e,a,n)=>{switch(e.name){case"Tracklist":{console.warn("This should never happen.");break}case"Album":{const r={type:"album",id:e.params.id};fetchData("getTracklist",r).then(i=>{EventBus.$emit("showAlbum",i)});break}case"Playlist":{const r={type:"playlist",id:e.params.id};fetchData("getTracklist",r).then(i=>{EventBus.$emit("showPlaylist",i)});break}case"Spotify Playlist":{const r={type:"spotifyplaylist",id:e.params.id};fetchData("getTracklist",r).then(i=>{EventBus.$emit("showSpotifyPlaylist",i)});break}}n()});async function startApp(){new Vue$2({store,router,i18n,render:i=>i(App)}).$mount("#app");const e=await(await fetch("connect")).json(),a=e.spotifyEnabled?SPOTIFY_STATUS.ENABLED:SPOTIFY_STATUS.DISABLED;e.deezerAvailable||document.getElementById("deezer_not_available").classList.remove("hide"),store.dispatch("setAppInfo",e.update).catch(console.error),store.dispatch("setSpotifyStatus",a).catch(console.error);let n=localStorage.getItem("arl");const r=localStorage.getItem("accessToken");if(e.autologin){console.info("Autologin");const i=localStorage.getItem("accountNum");async function s(l,c){toast(i18n.t("toasts.loggingIn"),"loading",!1,"login-toast"),l=l.trim();let o;return c!==0?o=await fetchData("login-arl",{arl:l,force:!0,child:c||0},"POST"):o=await fetchData("login-arl",{arl:l},"POST"),o}if(n){let l=await s(n,i);if(l.status===0&&r){const{arl:c}=await postToServer("loginWithCredentials",{accessToken:r});c&&c!==n&&(n=c,store.dispatch("setARL",{arl:n})),l=await s(c,i)}loggedIn(l)}}else loggedIn({status:3,user:e.currentUser,arl:n})}function initClient(){store.dispatch("setClientMode",!0),setClientModeKeyBindings()}document.addEventListener("DOMContentLoaded",startApp),window.api&&initClient(),document.addEventListener("paste",e=>{if(e.target.localName==="input")return;let a=e.clipboardData.getData("Text");if(isValidURL(a))router.currentRoute.name==="Link Analyzer"?socket.emit("analyzeLink",a):(a.includes(` `)&&(a=a.replace(/\n/g,";")),sendAddToQueue(a));else{const n=document.querySelector("#searchbar");n.select(),n.setSelectionRange(0,99999)}});function setClientModeKeyBindings(){document.addEventListener("keyup",e=>{e.altKey&&e.key==="ArrowLeft"&&router.back(),e.altKey&&e.key==="ArrowRight"&&router.forward()})}socket.on("message",function(e){console.log(e)});function loggedIn(e){const{status:a,user:n}=e;switch(a){case 1:case 3:toast(i18n.t("toasts.loggedIn"),"done",!0,"login-toast"),store.dispatch("login",e);break;case 2:toast(i18n.t("toasts.alreadyLogged"),"done",!0,"login-toast"),store.dispatch("setUser",n);break;case 0:toast(i18n.t("toasts.loginFailed"),"close",!0,"login-toast"),store.dispatch("removeARL");break;case-1:toast(i18n.t("toasts.deezerNotAvailable"),"close",!0,"login-toast")}}socket.on("restoringQueue",function(){toast(i18n.t("toasts.restoringQueue"),"loading",!1,"restoring_queue")}),socket.on("cancellingCurrentItem",function(e){toast(i18n.t("toasts.cancellingCurrentItem"),"loading",!1,"cancelling_"+e)}),socket.on("currentItemCancelled",function(e){toast(i18n.t("toasts.currentItemCancelled"),"done",!0,"cancelling_"+e)}),socket.on("startAddingArtist",function(e){toast(i18n.t("toasts.startAddingArtist",{artist:e.name}),"loading",!1,"artist_"+e.id)}),socket.on("finishAddingArtist",function(e){toast(i18n.t("toasts.finishAddingArtist",{artist:e.name}),"done",!0,"artist_"+e.id)}),socket.on("startConvertingSpotifyPlaylist",function(e){toast(i18n.t("toasts.startConvertingSpotifyPlaylist"),"loading",!1,"spotifyplaylist_"+e)}),socket.on("finishConvertingSpotifyPlaylist",function(e){toast(i18n.t("toasts.finishConvertingSpotifyPlaylist"),"done",!0,"spotifyplaylist_"+e)}),socket.on("errorMessage",function(e){toast(e,"error")}),socket.on("queueError",function(e){e.errid?toast(e.link+" - "+i18n.t(`errors.ids.${e.errid}`),"error"):toast(e.link+" - "+e.error,"error")}),socket.on("alreadyInQueue",function(e){toast(i18n.t("toasts.alreadyInQueue",{item:e.title}),"playlist_add_check")}),socket.on("loginNeededToDownload",function(){toast(i18n.t("toasts.loginNeededToDownload"),"report")}),socket.on("startGeneratingItems",function(e){toast(i18n.t("toasts.startGeneratingItems",{n:e.total}),"loading",!1,"batch_"+e.uuid)}),socket.on("finishGeneratingItems",function(e){toast(i18n.t("toasts.finishGeneratingItems",{n:e.total}),"done",!0,"batch_"+e.uuid)});