diff --git a/README.md b/README.md index 39c22f3..33420f4 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,14 @@ You can find more informations about deemix at https://deemix.app/ - [deemix-pyweb](https://codeberg.org/RemixDev/deemix-pyweb) - [deemix-tools](https://codeberg.org/RemixDev/deemix-tools) +# "Hidden" features + +- `CTRL+SHIFT+Backspace` deletes all the search bar content +- `CTRL+F` focuses the search bar +- `ALT+Left` goes back to the previous page, if present (like would happen in the browser) +- `ALT+Right` goes forward to the next page, if present (like would happen in the browser) +- Custom context menu: on certain elements, like download buttons or album covers, when opening the context menu, a custom one with more options will appear instead of the default one + # License This program is free software: you can redistribute it and/or modify diff --git a/public/js/bundle.js b/public/js/bundle.js index 3ed11e3..7380cc6 100644 --- a/public/js/bundle.js +++ b/public/js/bundle.js @@ -3,12 +3,12 @@ * (c) 2014-2020 Evan You * Released under the MIT License. */ -var t=Object.freeze({});function e(t){return null==t}function a(t){return null!=t}function n(t){return!0===t}function i(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function r(t){return null!==t&&"object"==typeof t}var s=Object.prototype.toString;function o(t){return"[object Object]"===s.call(t)}function l(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function c(t){return a(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function d(t){return null==t?"":Array.isArray(t)||o(t)&&t.toString===s?JSON.stringify(t,null,2):String(t)}function u(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var a=Object.create(null),n=t.split(","),i=0;i-1)return t.splice(a,1)}}var f=Object.prototype.hasOwnProperty;function v(t,e){return f.call(t,e)}function b(t){var e=Object.create(null);return function(a){return e[a]||(e[a]=t(a))}}var y=/-(\w)/g,_=b((function(t){return t.replace(y,(function(t,e){return e?e.toUpperCase():""}))})),k=b((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),A=/\B([A-Z])/g,w=b((function(t){return t.replace(A,"-$1").toLowerCase()}));var C=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function a(a){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,a):t.call(e)}return a._length=t.length,a};function x(t,e){e=e||0;for(var a=t.length-e,n=new Array(a);a--;)n[a]=t[a+e];return n}function T(t,e){for(var a in e)t[a]=e[a];return t}function S(t){for(var e={},a=0;a0,Q=W&&W.indexOf("edge/")>0,Y=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===G),J=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/)),Z={}.watch,X=!1;if(U)try{var tt={};Object.defineProperty(tt,"passive",{get:function(){X=!0}}),window.addEventListener("test-passive",null,tt)}catch(t){}var et=function(){return void 0===B&&(B=!U&&!V&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),B},at=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function nt(t){return"function"==typeof t&&/native code/.test(t.toString())}var it,rt="undefined"!=typeof Symbol&&nt(Symbol)&&"undefined"!=typeof Reflect&&nt(Reflect.ownKeys);it="undefined"!=typeof Set&&nt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var st=z,ot=0,lt=function(){this.id=ot++,this.subs=[]};lt.prototype.addSub=function(t){this.subs.push(t)},lt.prototype.removeSub=function(t){g(this.subs,t)},lt.prototype.depend=function(){lt.target&<.target.addDep(this)},lt.prototype.notify=function(){for(var t=this.subs.slice(),e=0,a=t.length;e-1)if(r&&!v(i,"default"))s=!1;else if(""===s||s===w(t)){var l=jt(String,i.type);(l<0||o0&&(le((l=t(l,(s||"")+"_"+o))[0])&&le(d)&&(u[c]=gt(d.text+l[0].text),l.shift()),u.push.apply(u,l)):i(l)?le(d)?u[c]=gt(d.text+l):""!==l&&u.push(gt(l)):le(l)&&le(d)?u[c]=gt(d.text+l.text):(n(r._isVList)&&a(l.tag)&&e(l.key)&&a(s)&&(l.key="__vlist"+s+"_"+o+"__"),u.push(l)));return u}(t):void 0}function le(t){return a(t)&&a(t.text)&&!1===t.isComment}function ce(t,e){if(t){for(var a=Object.create(null),n=rt?Reflect.ownKeys(t):Object.keys(t),i=0;i0,s=e?!!e.$stable:!r,o=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&n&&n!==t&&o===n.$key&&!r&&!n.$hasNormal)return n;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=he(a,l,e[l]))}else i={};for(var c in a)c in i||(i[c]=me(a,c));return e&&Object.isExtensible(e)&&(e._normalized=i),j(i,"$stable",s),j(i,"$key",o),j(i,"$hasNormal",r),i}function he(t,e,a){var n=function(){var t=arguments.length?a.apply(null,arguments):a({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:oe(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return a.proxy&&Object.defineProperty(t,e,{get:n,enumerable:!0,configurable:!0}),n}function me(t,e){return function(){return t[e]}}function ge(t,e){var n,i,s,o,l;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,s=t.length;idocument.createEvent("Event").timeStamp&&(ra=function(){return sa.now()})}function oa(){var t,e;for(ia=ra(),aa=!0,Ze.sort((function(t,e){return t.id-e.id})),na=0;nana&&Ze[a].id>t.id;)a--;Ze.splice(a+1,0,t)}else Ze.push(t);ea||(ea=!0,Xt(oa))}}(this)},ca.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||r(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Ot(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},ca.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ca.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},ca.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var da={enumerable:!0,configurable:!0,get:z,set:z};function ua(t,e,a){da.get=function(){return this[e][a]},da.set=function(t){this[e][a]=t},Object.defineProperty(t,a,da)}function pa(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var a=t.$options.propsData||{},n=t._props={},i=t.$options._propKeys=[];t.$parent&&kt(!1);var r=function(r){i.push(r);var s=It(r,e,a,t);Ct(n,r,s),r in t||ua(t,"_props",r)};for(var s in e)r(s);kt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var a in e)t[a]="function"!=typeof e[a]?z:C(e[a],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;o(e=t._data="function"==typeof e?function(t,e){dt();try{return t.call(e,e)}catch(t){return Ot(t,e,"data()"),{}}finally{ut()}}(e,t):e||{})||(e={});var a=Object.keys(e),n=t.$options.props,i=(t.$options.methods,a.length);for(;i--;){var r=a[i];n&&v(n,r)||E(r)||ua(t,"_data",r)}wt(e,!0)}(t):wt(t._data={},!0),e.computed&&function(t,e){var a=t._computedWatchers=Object.create(null),n=et();for(var i in e){var r=e[i],s="function"==typeof r?r:r.get;n||(a[i]=new ca(t,s||z,z,ha)),i in t||ma(t,i,r)}}(t,e.computed),e.watch&&e.watch!==Z&&function(t,e){for(var a in e){var n=e[a];if(Array.isArray(n))for(var i=0;i-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(a=t,"[object RegExp]"===s.call(a)&&t.test(e));var a}function Ca(t,e){var a=t.cache,n=t.keys,i=t._vnode;for(var r in a){var s=a[r];if(s){var o=Aa(s.componentOptions);o&&!e(o)&&xa(a,r,n,i)}}}function xa(t,e,a,n){var i=t[e];!i||n&&i.tag===n.tag||i.componentInstance.$destroy(),t[e]=null,g(a,e)}!function(e){e.prototype._init=function(e){var a=this;a._uid=ba++,a._isVue=!0,e&&e._isComponent?function(t,e){var a=t.$options=Object.create(t.constructor.options),n=e._parentVnode;a.parent=e.parent,a._parentVnode=n;var i=n.componentOptions;a.propsData=i.propsData,a._parentListeners=i.listeners,a._renderChildren=i.children,a._componentTag=i.tag,e.render&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns)}(a,e):a.$options=Lt(ya(a.constructor),e||{},a),a._renderProxy=a,a._self=a,function(t){var e=t.$options,a=e.parent;if(a&&!e.abstract){for(;a.$options.abstract&&a.$parent;)a=a.$parent;a.$children.push(t)}t.$parent=a,t.$root=a?a.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(a),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&We(t,e)}(a),function(e){e._vnode=null,e._staticTrees=null;var a=e.$options,n=e.$vnode=a._parentVnode,i=n&&n.context;e.$slots=de(a._renderChildren,i),e.$scopedSlots=t,e._c=function(t,a,n,i){return Fe(e,t,a,n,i,!1)},e.$createElement=function(t,a,n,i){return Fe(e,t,a,n,i,!0)};var r=n&&n.data;Ct(e,"$attrs",r&&r.attrs||t,null,!0),Ct(e,"$listeners",a._parentListeners||t,null,!0)}(a),Je(a,"beforeCreate"),function(t){var e=ce(t.$options.inject,t);e&&(kt(!1),Object.keys(e).forEach((function(a){Ct(t,a,e[a])})),kt(!0))}(a),pa(a),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(a),Je(a,"created"),a.$options.el&&a.$mount(a.$options.el)}}(_a),function(t){var e={get:function(){return this._data}},a={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",a),t.prototype.$set=xt,t.prototype.$delete=Tt,t.prototype.$watch=function(t,e,a){if(o(e))return va(this,t,e,a);(a=a||{}).user=!0;var n=new ca(this,t,e,a);if(a.immediate)try{e.call(this,n.value)}catch(t){Ot(t,this,'callback for immediate watcher "'+n.expression+'"')}return function(){n.teardown()}}}(_a),function(t){var e=/^hook:/;t.prototype.$on=function(t,a){var n=this;if(Array.isArray(t))for(var i=0,r=t.length;i1?x(a):a;for(var n=x(arguments,1),i='event handler for "'+t+'"',r=0,s=a.length;rparseInt(this.max)&&xa(s,o[0],o,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return I}};Object.defineProperty(t,"config",e),t.util={warn:st,extend:T,mergeOptions:Lt,defineReactive:Ct},t.set=xt,t.delete=Tt,t.nextTick=Xt,t.observable=function(t){return wt(t),t},t.options=Object.create(null),L.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,T(t.options.components,Sa),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var a=x(arguments,1);return a.unshift(this),"function"==typeof t.install?t.install.apply(t,a):"function"==typeof t&&t.apply(null,a),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Lt(this.options,t),this}}(t),ka(t),function(t){L.forEach((function(e){t[e]=function(t,a){return a?("component"===e&&o(a)&&(a.name=a.name||t,a=this.options._base.extend(a)),"directive"===e&&"function"==typeof a&&(a={bind:a,update:a}),this.options[e+"s"][t]=a,a):this.options[e+"s"][t]}}))}(t)}(_a),Object.defineProperty(_a.prototype,"$isServer",{get:et}),Object.defineProperty(_a.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(_a,"FunctionalRenderContext",{value:Pe}),_a.version="2.6.12";var za=p("style,class"),Ma=p("input,textarea,option,select,progress"),Pa=function(t,e,a){return"value"===a&&Ma(t)&&"button"!==e||"selected"===a&&"option"===t||"checked"===a&&"input"===t||"muted"===a&&"video"===t},Da=p("contenteditable,draggable,spellcheck"),$a=p("events,caret,typing,plaintext-only"),Na=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),La="http://www.w3.org/1999/xlink",Ra=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ia=function(t){return Ra(t)?t.slice(6,t.length):""},Fa=function(t){return null==t||!1===t};function Ea(t){for(var e=t.data,n=t,i=t;a(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=ja(i.data,e));for(;a(n=n.parent);)n&&n.data&&(e=ja(e,n.data));return function(t,e){if(a(t)||a(e))return Oa(t,Ba(e));return""}(e.staticClass,e.class)}function ja(t,e){return{staticClass:Oa(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Oa(t,e){return t?e?t+" "+e:t:e||""}function Ba(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i-1?hn(t,e,a):Na(e)?Fa(a)?t.removeAttribute(e):(a="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,a)):Da(e)?t.setAttribute(e,function(t,e){return Fa(e)||"false"===e?"false":"contenteditable"===t&&$a(e)?e:"true"}(e,a)):Ra(e)?Fa(a)?t.removeAttributeNS(La,Ia(e)):t.setAttributeNS(La,e,a):hn(t,e,a)}function hn(t,e,a){if(Fa(a))t.removeAttribute(e);else{if(H&&!K&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==a&&!t.__ieph){var n=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,a)}}var mn={create:un,update:un};function gn(t,n){var i=n.elm,r=n.data,s=t.data;if(!(e(r.staticClass)&&e(r.class)&&(e(s)||e(s.staticClass)&&e(s.class)))){var o=Ea(n),l=i._transitionClasses;a(l)&&(o=Oa(o,Ba(l))),o!==i._prevClass&&(i.setAttribute("class",o),i._prevClass=o)}}var fn,vn,bn,yn,_n,kn,An={create:gn,update:gn},wn=/[\w).+\-_$\]]/;function Cn(t){var e,a,n,i,r,s=!1,o=!1,l=!1,c=!1,d=0,u=0,p=0,h=0;for(n=0;n=0&&" "===(g=t.charAt(m));m--);g&&wn.test(g)||(c=!0)}}else void 0===i?(h=n+1,i=t.slice(0,n).trim()):f();function f(){(r||(r=[])).push(t.slice(h,n).trim()),h=n+1}if(void 0===i?i=t.slice(0,n).trim():0!==h&&f(),r)for(n=0;n-1?{exp:t.slice(0,yn),key:'"'+t.slice(yn+1)+'"'}:{exp:t,key:null};vn=t,yn=_n=kn=0;for(;!Bn();)qn(bn=On())?Vn(bn):91===bn&&Un(bn);return{exp:t.slice(0,_n),key:t.slice(_n+1,kn)}}(t);return null===a.key?t+"="+e:"$set("+a.exp+", "+a.key+", "+e+")"}function On(){return vn.charCodeAt(++yn)}function Bn(){return yn>=fn}function qn(t){return 34===t||39===t}function Un(t){var e=1;for(_n=yn;!Bn();)if(qn(t=On()))Vn(t);else if(91===t&&e++,93===t&&e--,0===e){kn=yn;break}}function Vn(t){for(var e=t;!Bn()&&(t=On())!==e;);}var Gn;function Wn(t,e,a){var n=Gn;return function i(){var r=e.apply(null,arguments);null!==r&&Qn(t,i,a,n)}}var Hn=Gt&&!(J&&Number(J[1])<=53);function Kn(t,e,a,n){if(Hn){var i=ia,r=e;e=r._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return r.apply(this,arguments)}}Gn.addEventListener(t,e,X?{capture:a,passive:n}:a)}function Qn(t,e,a,n){(n||Gn).removeEventListener(t,e._wrapper||e,a)}function Yn(t,n){if(!e(t.data.on)||!e(n.data.on)){var i=n.data.on||{},r=t.data.on||{};Gn=n.elm,function(t){if(a(t.__r)){var e=H?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}a(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(i),ie(i,r,Kn,Qn,Wn,n.context),Gn=void 0}}var Jn,Zn={create:Yn,update:Yn};function Xn(t,n){if(!e(t.data.domProps)||!e(n.data.domProps)){var i,r,s=n.elm,o=t.data.domProps||{},l=n.data.domProps||{};for(i in a(l.__ob__)&&(l=n.data.domProps=T({},l)),o)i in l||(s[i]="");for(i in l){if(r=l[i],"textContent"===i||"innerHTML"===i){if(n.children&&(n.children.length=0),r===o[i])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===i&&"PROGRESS"!==s.tagName){s._value=r;var c=e(r)?"":String(r);ti(s,c)&&(s.value=c)}else if("innerHTML"===i&&Va(s.tagName)&&e(s.innerHTML)){(Jn=Jn||document.createElement("div")).innerHTML=""+r+"";for(var d=Jn.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;d.firstChild;)s.appendChild(d.firstChild)}else if(r!==o[i])try{s[i]=r}catch(t){}}}}function ti(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var a=!0;try{a=document.activeElement!==t}catch(t){}return a&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(a(i)){if(i.number)return u(n)!==u(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var ei={create:Xn,update:Xn},ai=b((function(t){var e={},a=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var n=t.split(a);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function ni(t){var e=ii(t.style);return t.staticStyle?T(t.staticStyle,e):e}function ii(t){return Array.isArray(t)?S(t):"string"==typeof t?ai(t):t}var ri,si=/^--/,oi=/\s*!important$/,li=function(t,e,a){if(si.test(e))t.style.setProperty(e,a);else if(oi.test(a))t.style.setProperty(w(e),a.replace(oi,""),"important");else{var n=di(e);if(Array.isArray(a))for(var i=0,r=a.length;i-1?e.split(hi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var a=" "+(t.getAttribute("class")||"")+" ";a.indexOf(" "+e+" ")<0&&t.setAttribute("class",(a+e).trim())}}function gi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(hi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var a=" "+(t.getAttribute("class")||"")+" ",n=" "+e+" ";a.indexOf(n)>=0;)a=a.replace(n," ");(a=a.trim())?t.setAttribute("class",a):t.removeAttribute("class")}}function fi(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&T(e,vi(t.name||"v")),T(e,t),e}return"string"==typeof t?vi(t):void 0}}var vi=b((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),bi=U&&!K,yi="transition",_i="transitionend",ki="animation",Ai="animationend";bi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(yi="WebkitTransition",_i="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ki="WebkitAnimation",Ai="webkitAnimationEnd"));var wi=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Ci(t){wi((function(){wi(t)}))}function xi(t,e){var a=t._transitionClasses||(t._transitionClasses=[]);a.indexOf(e)<0&&(a.push(e),mi(t,e))}function Ti(t,e){t._transitionClasses&&g(t._transitionClasses,e),gi(t,e)}function Si(t,e,a){var n=Mi(t,e),i=n.type,r=n.timeout,s=n.propCount;if(!i)return a();var o="transition"===i?_i:Ai,l=0,c=function(){t.removeEventListener(o,d),a()},d=function(e){e.target===t&&++l>=s&&c()};setTimeout((function(){l0&&(a="transition",d=s,u=r.length):"animation"===e?c>0&&(a="animation",d=c,u=l.length):u=(a=(d=Math.max(s,c))>0?s>c?"transition":"animation":null)?"transition"===a?r.length:l.length:0,{type:a,timeout:d,propCount:u,hasTransform:"transition"===a&&zi.test(n[yi+"Property"])}}function Pi(t,e){for(;t.length1}function Ii(t,e){!0!==e.data.show&&$i(e)}var Fi=function(t){var r,s,o={},l=t.modules,c=t.nodeOps;for(r=0;rm?y(t,e(i[v+1])?null:i[v+1].elm,i,h,v,r):h>v&&k(n,p,m)}(p,g,v,r,d):a(v)?(a(t.text)&&c.setTextContent(p,""),y(p,null,v,0,v.length-1,r)):a(g)?k(g,0,g.length-1):a(t.text)&&c.setTextContent(p,""):t.text!==i.text&&c.setTextContent(p,i.text),a(m)&&a(h=m.hook)&&a(h=h.postpatch)&&h(t,i)}}}function x(t,e,i){if(n(i)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,s.selected!==r&&(s.selected=r);else if(D(qi(s),n))return void(t.selectedIndex!==o&&(t.selectedIndex=o));i||(t.selectedIndex=-1)}}function Bi(t,e){return e.every((function(e){return!D(e,t)}))}function qi(t){return"_value"in t?t._value:t.value}function Ui(t){t.target.composing=!0}function Vi(t){t.target.composing&&(t.target.composing=!1,Gi(t.target,"input"))}function Gi(t,e){var a=document.createEvent("HTMLEvents");a.initEvent(e,!0,!0),t.dispatchEvent(a)}function Wi(t){return!t.componentInstance||t.data&&t.data.transition?t:Wi(t.componentInstance._vnode)}var Hi={model:Ei,show:{bind:function(t,e,a){var n=e.value,i=(a=Wi(a)).data&&a.data.transition,r=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;n&&i?(a.data.show=!0,$i(a,(function(){t.style.display=r}))):t.style.display=n?r:"none"},update:function(t,e,a){var n=e.value;!n!=!e.oldValue&&((a=Wi(a)).data&&a.data.transition?(a.data.show=!0,n?$i(a,(function(){t.style.display=t.__vOriginalDisplay})):Ni(a,(function(){t.style.display="none"}))):t.style.display=n?t.__vOriginalDisplay:"none")},unbind:function(t,e,a,n,i){i||(t.style.display=t.__vOriginalDisplay)}}},Ki={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 Qi(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Qi(qe(e.children)):t}function Yi(t){var e={},a=t.$options;for(var n in a.propsData)e[n]=t[n];var i=a._parentListeners;for(var r in i)e[_(r)]=i[r];return e}function Ji(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Zi=function(t){return t.tag||Be(t)},Xi=function(t){return"show"===t.name},tr={name:"transition",props:Ki,abstract:!0,render:function(t){var e=this,a=this.$slots.default;if(a&&(a=a.filter(Zi)).length){var n=this.mode,r=a[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var s=Qi(r);if(!s)return r;if(this._leaving)return Ji(t,r);var o="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?o+"comment":o+s.tag:i(s.key)?0===String(s.key).indexOf(o)?s.key:o+s.key:s.key;var l=(s.data||(s.data={})).transition=Yi(this),c=this._vnode,d=Qi(c);if(s.data.directives&&s.data.directives.some(Xi)&&(s.data.show=!0),d&&d.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(s,d)&&!Be(d)&&(!d.componentInstance||!d.componentInstance._vnode.isComment)){var u=d.data.transition=T({},l);if("out-in"===n)return this._leaving=!0,re(u,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ji(t,r);if("in-out"===n){if(Be(s))return c;var p,h=function(){p()};re(l,"afterEnter",h),re(l,"enterCancelled",h),re(u,"delayLeave",(function(t){p=t}))}}return r}}},er=T({tag:String,moveClass:String},Ki);function ar(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function nr(t){t.data.newPos=t.elm.getBoundingClientRect()}function ir(t){var e=t.data.pos,a=t.data.newPos,n=e.left-a.left,i=e.top-a.top;if(n||i){t.data.moved=!0;var r=t.elm.style;r.transform=r.WebkitTransform="translate("+n+"px,"+i+"px)",r.transitionDuration="0s"}}delete er.mode;var rr={Transition:tr,TransitionGroup:{props:er,beforeMount:function(){var t=this,e=this._update;this._update=function(a,n){var i=Ke(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,a,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",a=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],r=this.children=[],s=Yi(this),o=0;o-1?Ha[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ha[t]=/HTMLUnknownElement/.test(e.toString())},T(_a.options.directives,Hi),T(_a.options.components,rr),_a.prototype.__patch__=U?Fi:z,_a.prototype.$mount=function(t,e){return function(t,e,a){var n;return t.$el=e,t.$options.render||(t.$options.render=mt),Je(t,"beforeMount"),n=function(){t._update(t._render(),a)},new ca(t,n,z,{before:function(){t._isMounted&&!t._isDestroyed&&Je(t,"beforeUpdate")}},!0),a=!1,null==t.$vnode&&(t._isMounted=!0,Je(t,"mounted")),t}(this,t=t&&U?Qa(t):void 0,e)},U&&setTimeout((function(){I.devtools&&at&&at.emit("init",_a)}),0);var sr=/\{\{((?:.|\r?\n)+?)\}\}/g,or=/[-.*+?^${}()|[\]\/\\]/g,lr=b((function(t){var e=t[0].replace(or,"\\$&"),a=t[1].replace(or,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+a,"g")}));var cr={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var a=Rn(t,"class");a&&(t.staticClass=JSON.stringify(a));var n=Ln(t,"class",!1);n&&(t.classBinding=n)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var dr,ur={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var a=Rn(t,"style");a&&(t.staticStyle=JSON.stringify(ai(a)));var n=Ln(t,"style",!1);n&&(t.styleBinding=n)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},pr=function(t){return(dr=dr||document.createElement("div")).innerHTML=t,dr.textContent},hr=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),mr=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),gr=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),fr=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,vr=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,br="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+F.source+"]*",yr="((?:"+br+"\\:)?"+br+")",_r=new RegExp("^<"+yr),kr=/^\s*(\/?)>/,Ar=new RegExp("^<\\/"+yr+"[^>]*>"),wr=/^]+>/i,Cr=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Mr=/&(?:lt|gt|quot|amp|#39);/g,Pr=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Dr=p("pre,textarea",!0),$r=function(t,e){return t&&Dr(t)&&"\n"===e[0]};function Nr(t,e){var a=e?Pr:Mr;return t.replace(a,(function(t){return zr[t]}))}var Lr,Rr,Ir,Fr,Er,jr,Or,Br,qr=/^@|^v-on:/,Ur=/^v-|^@|^:|^#/,Vr=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Gr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wr=/^\(|\)$/g,Hr=/^\[.*\]$/,Kr=/:(.*)$/,Qr=/^:|^\.|^v-bind:/,Yr=/\.[^.\]]+(?=[^\]]*$)/g,Jr=/^v-slot(:|$)|^#/,Zr=/[\r\n]/,Xr=/\s+/g,ts=b(pr);function es(t,e,a){return{type:1,tag:t,attrsList:e,attrsMap:ls(e),rawAttrsMap:{},parent:a,children:[]}}function as(t,e){Lr=e.warn||Tn,jr=e.isPreTag||M,Or=e.mustUseProp||M,Br=e.getTagNamespace||M;e.isReservedTag;Ir=Sn(e.modules,"transformNode"),Fr=Sn(e.modules,"preTransformNode"),Er=Sn(e.modules,"postTransformNode"),Rr=e.delimiters;var a,n,i=[],r=!1!==e.preserveWhitespace,s=e.whitespace,o=!1,l=!1;function c(t){if(d(t),o||t.processed||(t=ns(t,e)),i.length||t===a||a.if&&(t.elseif||t.else)&&rs(a,{exp:t.elseif,block:t}),n&&!t.forbidden)if(t.elseif||t.else)s=t,(c=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(n.children))&&c.if&&rs(c,{exp:s.elseif,block:s});else{if(t.slotScope){var r=t.slotTarget||'"default"';(n.scopedSlots||(n.scopedSlots={}))[r]=t}n.children.push(t),t.parent=n}var s,c;t.children=t.children.filter((function(t){return!t.slotScope})),d(t),t.pre&&(o=!1),jr(t.tag)&&(l=!1);for(var u=0;u]*>)","i")),p=t.replace(u,(function(t,a,n){return c=n.length,Tr(d)||"noscript"===d||(a=a.replace(//g,"$1").replace(//g,"$1")),$r(d,a)&&(a=a.slice(1)),e.chars&&e.chars(a),""}));l+=t.length-p.length,t=p,T(d,l-c,l)}else{var h=t.indexOf("<");if(0===h){if(Cr.test(t)){var m=t.indexOf("--\x3e");if(m>=0){e.shouldKeepComment&&e.comment(t.substring(4,m),l,l+m+3),w(m+3);continue}}if(xr.test(t)){var g=t.indexOf("]>");if(g>=0){w(g+2);continue}}var f=t.match(wr);if(f){w(f[0].length);continue}var v=t.match(Ar);if(v){var b=l;w(v[0].length),T(v[1],b,l);continue}var y=C();if(y){x(y),$r(y.tagName,t)&&w(1);continue}}var _=void 0,k=void 0,A=void 0;if(h>=0){for(k=t.slice(h);!(Ar.test(k)||_r.test(k)||Cr.test(k)||xr.test(k)||(A=k.indexOf("<",1))<0);)h+=A,k=t.slice(h);_=t.substring(0,h)}h<0&&(_=t),_&&w(_.length),e.chars&&_&&e.chars(_,l-_.length,l)}if(t===a){e.chars&&e.chars(t);break}}function w(e){l+=e,t=t.substring(e)}function C(){var e=t.match(_r);if(e){var a,n,i={tagName:e[1],attrs:[],start:l};for(w(e[0].length);!(a=t.match(kr))&&(n=t.match(vr)||t.match(fr));)n.start=l,w(n[0].length),n.end=l,i.attrs.push(n);if(a)return i.unarySlash=a[1],w(a[0].length),i.end=l,i}}function x(t){var a=t.tagName,l=t.unarySlash;r&&("p"===n&&gr(a)&&T(n),o(a)&&n===a&&T(a));for(var c=s(a)||!!l,d=t.attrs.length,u=new Array(d),p=0;p=0&&i[s].lowerCasedTag!==o;s--);else s=0;if(s>=0){for(var c=i.length-1;c>=s;c--)e.end&&e.end(i[c].tag,a,r);i.length=s,n=s&&i[s-1].tag}else"br"===o?e.start&&e.start(t,[],!0,a,r):"p"===o&&(e.start&&e.start(t,[],!1,a,r),e.end&&e.end(t,a,r))}T()}(t,{warn:Lr,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,r,s,d,u){var p=n&&n.ns||Br(t);H&&"svg"===p&&(r=function(t){for(var e=[],a=0;al&&(o.push(r=t.slice(l,i)),s.push(JSON.stringify(r)));var c=Cn(n[1].trim());s.push("_s("+c+")"),o.push({"@binding":c}),l=i+n[0].length}return l-1"+("true"===r?":("+e+")":":_q("+e+","+r+")")),Nn(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+s+");if(Array.isArray($$a)){var $$v="+(n?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+jn(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+jn(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+jn(e,"$$c")+"}",null,!0)}(t,n,i);else if("input"===r&&"radio"===s)!function(t,e,a){var n=a&&a.number,i=Ln(t,"value")||"null";zn(t,"checked","_q("+e+","+(i=n?"_n("+i+")":i)+")"),Nn(t,"change",jn(e,i),null,!0)}(t,n,i);else if("input"===r||"textarea"===r)!function(t,e,a){var n=t.attrsMap.type,i=a||{},r=i.lazy,s=i.number,o=i.trim,l=!r&&"range"!==n,c=r?"change":"range"===n?"__r":"input",d="$event.target.value";o&&(d="$event.target.value.trim()");s&&(d="_n("+d+")");var u=jn(e,d);l&&(u="if($event.target.composing)return;"+u);zn(t,"value","("+e+")"),Nn(t,c,u,null,!0),(o||s)&&Nn(t,"blur","$forceUpdate()")}(t,n,i);else if(!I.isReservedTag(r))return En(t,n,i),!1;return!0},text:function(t,e){e.value&&zn(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&zn(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:hr,mustUseProp:Pa,canBeLeftOpenTag:mr,isReservedTag:Ga,getTagNamespace:Wa,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(ps)},fs=b((function(t){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function vs(t,e){t&&(hs=fs(e.staticKeys||""),ms=e.isReservedTag||M,function t(e){if(e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||h(t.tag)||!ms(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(hs)))}(e),1===e.type){if(!ms(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var a=0,n=e.children.length;a|^function(?:\s+[\w$]+)?\s*\(/,ys=/\([^)]*?\);*$/,_s=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ks={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},As={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"]},ws=function(t){return"if("+t+")return null;"},Cs={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ws("$event.target !== $event.currentTarget"),ctrl:ws("!$event.ctrlKey"),shift:ws("!$event.shiftKey"),alt:ws("!$event.altKey"),meta:ws("!$event.metaKey"),left:ws("'button' in $event && $event.button !== 0"),middle:ws("'button' in $event && $event.button !== 1"),right:ws("'button' in $event && $event.button !== 2")};function xs(t,e){var a=e?"nativeOn:":"on:",n="",i="";for(var r in t){var s=Ts(t[r]);t[r]&&t[r].dynamic?i+=r+","+s+",":n+='"'+r+'":'+s+","}return n="{"+n.slice(0,-1)+"}",i?a+"_d("+n+",["+i.slice(0,-1)+"])":a+n}function Ts(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return Ts(t)})).join(",")+"]";var e=_s.test(t.value),a=bs.test(t.value),n=_s.test(t.value.replace(ys,""));if(t.modifiers){var i="",r="",s=[];for(var o in t.modifiers)if(Cs[o])r+=Cs[o],ks[o]&&s.push(o);else if("exact"===o){var l=t.modifiers;r+=ws(["ctrl","shift","alt","meta"].filter((function(t){return!l[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else s.push(o);return s.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(Ss).join("&&")+")return null;"}(s)),r&&(i+=r),"function($event){"+i+(e?"return "+t.value+"($event)":a?"return ("+t.value+")($event)":n?"return "+t.value:t.value)+"}"}return e||a?t.value:"function($event){"+(n?"return "+t.value:t.value)+"}"}function Ss(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var a=ks[t],n=As[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(a)+",$event.key,"+JSON.stringify(n)+")"}var zs={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(a){return"_b("+a+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:z},Ms=function(t){this.options=t,this.warn=t.warn||Tn,this.transforms=Sn(t.modules,"transformCode"),this.dataGenFns=Sn(t.modules,"genData"),this.directives=T(T({},zs),t.directives);var e=t.isReservedTag||M;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ps(t,e){var a=new Ms(e);return{render:"with(this){return "+(t?Ds(t,a):'_c("div")')+"}",staticRenderFns:a.staticRenderFns}}function Ds(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return $s(t,e);if(t.once&&!t.onceProcessed)return Ns(t,e);if(t.for&&!t.forProcessed)return Rs(t,e);if(t.if&&!t.ifProcessed)return Ls(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var a=t.slotName||'"default"',n=js(t,e),i="_t("+a+(n?","+n:""),r=t.attrs||t.dynamicAttrs?qs((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:_(t.name),value:t.value,dynamic:t.dynamic}}))):null,s=t.attrsMap["v-bind"];!r&&!s||n||(i+=",null");r&&(i+=","+r);s&&(i+=(r?"":",null")+","+s);return i+")"}(t,e);var a;if(t.component)a=function(t,e,a){var n=e.inlineTemplate?null:js(e,a,!0);return"_c("+t+","+Is(e,a)+(n?","+n:"")+")"}(t.component,t,e);else{var n;(!t.plain||t.pre&&e.maybeComponent(t))&&(n=Is(t,e));var i=t.inlineTemplate?null:js(t,e,!0);a="_c('"+t.tag+"'"+(n?","+n:"")+(i?","+i:"")+")"}for(var r=0;r>>0}(s):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(a+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var r=function(t,e){var a=t.children[0];if(a&&1===a.type){var n=Ps(a,e.options);return"inlineTemplate:{render:function(){"+n.render+"},staticRenderFns:["+n.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);r&&(a+=r+",")}return a=a.replace(/,$/,"")+"}",t.dynamicAttrs&&(a="_b("+a+',"'+t.tag+'",'+qs(t.dynamicAttrs)+")"),t.wrapData&&(a=t.wrapData(a)),t.wrapListeners&&(a=t.wrapListeners(a)),a}function Fs(t){return 1===t.type&&("slot"===t.tag||t.children.some(Fs))}function Es(t,e){var a=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!a)return Ls(t,e,Es,"null");if(t.for&&!t.forProcessed)return Rs(t,e,Es);var n="_empty_"===t.slotScope?"":String(t.slotScope),i="function("+n+"){return "+("template"===t.tag?t.if&&a?"("+t.if+")?"+(js(t,e)||"undefined")+":undefined":js(t,e)||"undefined":Ds(t,e))+"}",r=n?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+i+r+"}"}function js(t,e,a,n,i){var r=t.children;if(r.length){var s=r[0];if(1===r.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var o=a?e.maybeComponent(s)?",1":",0":"";return""+(n||Ds)(s,e)+o}var l=a?function(t,e){for(var a=0,n=0;n':'
',Hs.innerHTML.indexOf(" ")>0}var Ys=!!U&&Qs(!1),Js=!!U&&Qs(!0),Zs=b((function(t){var e=Qa(t);return e&&e.innerHTML})),Xs=_a.prototype.$mount;_a.prototype.$mount=function(t,e){if((t=t&&Qa(t))===document.body||t===document.documentElement)return this;var a=this.$options;if(!a.render){var n=a.template;if(n)if("string"==typeof n)"#"===n.charAt(0)&&(n=Zs(n));else{if(!n.nodeType)return this;n=n.innerHTML}else t&&(n=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(n){var i=Ks(n,{outputSourceRange:!1,shouldDecodeNewlines:Ys,shouldDecodeNewlinesForHref:Js,delimiters:a.delimiters,comments:a.comments},this),r=i.render,s=i.staticRenderFns;a.render=r,a.staticRenderFns=s}}return Xs.call(this,t,e)},_a.compile=Ks;const to={data:()=>({appOnline:null,activeTheme:"light",themes:["purple","dark","light"],activeTablink:"home",links:[{id:"main_home_tablink",name:"home",ariaLabel:"home",routerName:"Home",icon:"home",label:"sidebar.home"},{id:"main_search_tablink",name:"search",ariaLabel:"search",routerName:"Search",icon:"search",label:"sidebar.search"},{id:"main_charts_tablink",name:"charts",ariaLabel:"charts",routerName:"Charts",icon:"show_chart",label:"sidebar.charts"},{id:"main_favorites_tablink",name:"favorites",ariaLabel:"favorites",routerName:"Favorites",icon:"star",label:"sidebar.favorites"},{id:"main_analyzer_tablink",name:"analyzer",ariaLabel:"link analyzer",routerName:"Link Analyzer",icon:"link",label:"sidebar.linkAnalyzer"},{id:"main_settings_tablink",name:"settings",ariaLabel:"settings",routerName:"Settings",icon:"settings",label:"sidebar.settings"},{id:"main_about_tablink",name:"about",ariaLabel:"info",routerName:"About",icon:"info",label:"sidebar.about"}]}),mounted(){this.appOnline=navigator.onLine,window.addEventListener("online",()=>{this.appOnline=!0}),window.addEventListener("offline",()=>{this.appOnline=!1}),this.activeTheme=localStorage.getItem("selectedTheme")||"light",this.$router.afterEach((t,e)=>{const a=this.links.find(e=>e.routerName===t.name);a&&(this.activeTablink=a.name)})},methods:{changeTheme(t){if(t===this.activeTheme)return;this.activeTheme=t,document.documentElement.setAttribute("data-theme",t),localStorage.setItem("selectedTheme",t);const e=document.querySelectorAll("*");e.forEach(t=>{t.classList.add("changing-theme")}),document.documentElement.addEventListener("transitionend",(function t(){e.forEach(t=>{t.classList.remove("changing-theme")}),document.documentElement.removeEventListener("transitionend",t)}))}}};var eo=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("aside",{attrs:{id:"sidebar",role:"navigation","aria-label":"sidebar"}},[t._l(t.links,(function(e){return a("router-link",{key:e.id,staticClass:"main_tablinks",class:{active:t.activeTablink===e.name},attrs:{tag:"a",id:e.id,"aria-label":e.ariaLabel,to:{name:e.routerName}},nativeOn:{click:function(a){t.activeTablink=e.name}}},[a("i",{staticClass:"material-icons side_icon"},[t._v(t._s(e.icon))]),t._v(" "),a("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t(e.label)))])])})),t._v(" "),a("span",{staticClass:"main_tablinks",attrs:{id:"theme_selector",role:"link","aria-label":"theme selector"}},[a("i",{staticClass:"material-icons side_icon side_icon--theme"},[t._v("palette")]),t._v(" "),a("div",{attrs:{id:"theme_togglers"}},t._l(t.themes,(function(e){return a("div",{key:e,staticClass:"theme_toggler",class:[{"theme_toggler--active":t.activeTheme===e},"theme_toggler--"+e],on:{click:function(a){return t.changeTheme(e)}}})})),0)]),t._v(" "),a("div",{class:{online:t.appOnline,offline:!t.appOnline},attrs:{id:"network-status"}},[t.appOnline?a("i",{staticClass:"material-icons"},[t._v("wifi")]):a("i",{staticClass:"material-icons"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[a("path",{attrs:{d:"M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}}),t._v(" "),a("path",{attrs:{d:"M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4c-1.29-1.29-2.84-2.13-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24C7.81 10.89 6.27 11.73 5 13v.01L6.99 15c1.36-1.36 3.14-2.04 4.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3c-1.65-1.66-4.34-1.66-6 0z"}})])])])],2)};eo._withStripped=!0;var ao=function(t,e,a,n,i,r,s,o){const l=("function"==typeof a?a.options:a)||{};l.__file="/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheSidebar.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=n;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(a,n){return t.call(n),e(a,n)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:eo,staticRenderFns:[]},(function(t){t&&t("data-v-30501dfa_0",{source:"\n#network-status[data-v-30501dfa] {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tposition: relative;\n\tmargin-top: auto;\n\tbottom: 0;\n}\n#network-status.online i.material-icons[data-v-30501dfa] {\n\tcolor: hsl(151, 100%, 31%);\n}\n#network-status.offline i.material-icons svg[data-v-30501dfa] {\n\tfill: red;\n\twidth: 1em;\n\theight: 1em;\n}\n",map:{version:3,sources:["/mnt/Dati/Programmazione/DeezloaderStuff/deemix/deemix-pyweb/webui/src/components/TheSidebar.vue"],names:[],mappings:";AA6CA;CACA,aAAA;CACA,uBAAA;CACA,mBAAA;CACA,kBAAA;CACA,gBAAA;CACA,SAAA;AACA;AAEA;CACA,0BAAA;AACA;AAEA;CACA,SAAA;CACA,UAAA;CACA,WAAA;AACA",file:"TheSidebar.vue",sourcesContent:["\n\n\n\n