From c24b3cce76cc21751d18ed88054ded734cfe33a1 Mon Sep 17 00:00:00 2001 From: Roberto Tonino Date: Tue, 22 Sep 2020 18:27:18 +0200 Subject: [PATCH] build: version 0.2.0, chore: updated README --- COMPILE-UI.md | 6 +++--- README.md | 25 +++++++++++-------------- package.json | 4 ++-- public/js/bundle.js | 12 ++++++------ src/components/TheAboutTab.vue | 2 ++ 5 files changed, 24 insertions(+), 25 deletions(-) diff --git a/COMPILE-UI.md b/COMPILE-UI.md index c89e334..32ce8d8 100644 --- a/COMPILE-UI.md +++ b/COMPILE-UI.md @@ -35,11 +35,11 @@ $ npm run dev ``` you will have 3 tasks running at the same time: -- the [Python](https://www.python.org/) server +- the server - the [rollup](https://rollupjs.org/guide/en/) watcher pointing to the configured `.js` file and ready to re-bundle - the [SASS](https://sass-lang.com/) compiler watching for `.scss` files changes -Note that in development mode 2 more files, `bundle.js.map` and `style.css.map`, will be created in the public folder. These files will be deleted when running the build command, so you don't need to worry about them. +Note that in development mode 2 more files (`bundle.js.map` and `style.css.map`) will be created in the public folder. These files will be deleted when running the build command, so you don't need to worry about them. **You can now go to http://127.0.0.1:6595 and see the app running.** @@ -51,7 +51,7 @@ However, if you need to edit the `public/index.html` file you'll have to kill th ### Adding files -If you want to add new super-awesome `.js` files, just add them. Deemix uses ES6 synthax, so you'll probably need to export some functions or variables from your new file. Files that will export and import nothing will be ignored by the bundler (rollup). +If you want to add new super-awesome `.js` or `.vue` files, just add them. Deemix uses ES6 synthax, so you'll probably need to export some functions or variables from your new file. Files that will export and import nothing will be ignored by the bundler (rollup). If you want to add new mega-awesome `.scss` (style) files, you need to import them in the main `style.scss` file. The `.scss` files **must** all start with an underscore _, except for the `style.scss` file. diff --git a/README.md b/README.md index 4ca56e9..d44050e 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,20 @@ # deemix-webui -This is just the WebUI for deemix, it should be used with deemix-pyweb or something like that +This is just the WebUI for deemix, it should be used with deemix-pyweb or something like that. +If you are a web developer and want to contribute to this project, please read the [COMPILE-UI](COMPILE-UI.md) file. + +## Related projects + +You can find more informations about deemix at https://deemix.app/ + +- [deemix](https://codeberg.org/RemixDev/deemix) +- [deemix-pyweb](https://codeberg.org/RemixDev/deemix-pyweb) +- [deemix-tools](https://codeberg.org/RemixDev/deemix-tools) ## What's left to do? -- [ ] Use Vue app-wide - - [X] Rewrite the app in Single File Components way - - [ ] Implement routing for the whole app using Vue Router ⚒ - - [ ] Implement Vuex store for FE caching - - [ ] Remove jQuery +- [ ] Completely remove jQuery - [ ] Improve artist/tracklist tabs displaying -- [ ] Implement custom contextmenu ⚒ - - [X] Copy and paste functions - - [X] Copy Link where possible - - [X] Download Quality - - [X] Copy Image URL where possible - - [ ] Resolve cut/copy/paste compatibility issues - [ ] Make i18n async (https://kazupon.github.io/vue-i18n/guide/lazy-loading.html) - Use ES2020 async imports, if possible - [ ] Make the UI look coherent @@ -33,8 +32,6 @@ This is just the WebUI for deemix, it should be used with deemix-pyweb or someth - [ ] Block selection where it's not needed (keep only titles artists albums labels and useful data) - There's a SASS mixin for this. Need to use it in the proper classes - [ ] Better feedback for socket.io possible errors -- [X] Remove images size limit and add warning if > 1200 -- ? # License diff --git a/package.json b/package.json index 039468d..458690f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "deemix", - "version": "1.3.7", + "name": "deemix-webui", + "version": "0.2.0", "homepage": "https://codeberg.org/RemixDev/deemix-webui/src/master/README.md", "repository": { "type": "git", diff --git a/public/js/bundle.js b/public/js/bundle.js index dea9c72..b38e53e 100644 --- a/public/js/bundle.js +++ b/public/js/bundle.js @@ -3,7 +3,7 @@ * (c) 2014-2020 Evan You * Released under the MIT License. */ -var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function a(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function r(e){return null!==e&&"object"==typeof e}var s=Object.prototype.toString;function o(e){return"[object Object]"===s.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function c(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function u(e){return null==e?"":Array.isArray(e)||o(e)&&e.toString===s?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),a=e.split(","),i=0;i-1)return e.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function v(e,t){return g.call(e,t)}function b(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var y=/-(\w)/g,_=b((function(e){return e.replace(y,(function(e,t){return t?t.toUpperCase():""}))})),k=b((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),A=/\B([A-Z])/g,w=b((function(e){return e.replace(A,"-$1").toLowerCase()}));var C=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var a=arguments.length;return a?a>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function x(e,t){t=t||0;for(var n=e.length-t,a=new Array(n);n--;)a[n]=e[n+t];return a}function T(e,t){for(var n in t)e[n]=t[n];return e}function S(e){for(var t={},n=0;n0,Y=W&&W.indexOf("edge/")>0,J=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===H),X=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/)),Z={}.watch,ee=!1;if(V)try{var te={};Object.defineProperty(te,"passive",{get:function(){ee=!0}}),window.addEventListener("test-passive",null,te)}catch(e){}var ne=function(){return void 0===q&&(q=!V&&!G&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),q},ae=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ie(e){return"function"==typeof e&&/native code/.test(e.toString())}var re,se="undefined"!=typeof Symbol&&ie(Symbol)&&"undefined"!=typeof Reflect&&ie(Reflect.ownKeys);re="undefined"!=typeof Set&&ie(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var oe=z,le=0,ce=function(){this.id=le++,this.subs=[]};ce.prototype.addSub=function(e){this.subs.push(e)},ce.prototype.removeSub=function(e){f(this.subs,e)},ce.prototype.depend=function(){ce.target&&ce.target.addDep(this)},ce.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(r&&!v(i,"default"))s=!1;else if(""===s||s===w(e)){var l=Oe(String,i.type);(l<0||o0&&(ct((l=e(l,(s||"")+"_"+o))[0])&&ct(u)&&(d[c]=ge(u.text+l[0].text),l.shift()),d.push.apply(d,l)):i(l)?ct(u)?d[c]=ge(u.text+l):""!==l&&d.push(ge(l)):ct(l)&&ct(u)?d[c]=ge(u.text+l.text):(a(r._isVList)&&n(l.tag)&&t(l.key)&&n(s)&&(l.key="__vlist"+s+"_"+o+"__"),d.push(l)));return d}(e):void 0}function ct(e){return n(e)&&n(e.text)&&!1===e.isComment}function ut(e,t){if(e){for(var n=Object.create(null),a=se?Reflect.ownKeys(e):Object.keys(e),i=0;i0,s=t?!!t.$stable:!r,o=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&a&&a!==e&&o===a.$key&&!r&&!a.$hasNormal)return a;for(var l in i={},t)t[l]&&"$"!==l[0]&&(i[l]=mt(n,l,t[l]))}else i={};for(var c in n)c in i||(i[c]=ft(n,c));return t&&Object.isExtensible(t)&&(t._normalized=i),O(i,"$stable",s),O(i,"$key",o),O(i,"$hasNormal",r),i}function mt(e,t,n){var a=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:lt(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:a,enumerable:!0,configurable:!0}),a}function ft(e,t){return function(){return e[t]}}function gt(e,t){var a,i,s,o,l;if(Array.isArray(e)||"string"==typeof e)for(a=new Array(e.length),i=0,s=e.length;idocument.createEvent("Event").timeStamp&&(on=function(){return ln.now()})}function cn(){var e,t;for(sn=on(),an=!0,Zt.sort((function(e,t){return e.id-t.id})),rn=0;rnrn&&Zt[n].id>e.id;)n--;Zt.splice(n+1,0,e)}else Zt.push(e);nn||(nn=!0,et(cn))}}(this)},dn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||r(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Be(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},dn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},dn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},dn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||f(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:z,set:z};function hn(e,t,n){pn.get=function(){return this[t][n]},pn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pn)}function mn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},a=e._props={},i=e.$options._propKeys=[];e.$parent&&Ae(!1);var r=function(r){i.push(r);var s=Ee(r,t,n,e);xe(a,r,s),r in e||hn(e,"_props",r)};for(var s in t)r(s);Ae(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?z:C(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;o(t=e._data="function"==typeof t?function(e,t){de();try{return e.call(t,t)}catch(e){return Be(e,t,"data()"),{}}finally{pe()}}(t,e):t||{})||(t={});var n=Object.keys(t),a=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var r=n[i];a&&v(a,r)||F(r)||hn(e,"_data",r)}Ce(t,!0)}(e):Ce(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),a=ne();for(var i in t){var r=t[i],s="function"==typeof r?r:r.get;a||(n[i]=new dn(e,s||z,z,fn)),i in e||gn(e,i,r)}}(e,t.computed),t.watch&&t.watch!==Z&&function(e,t){for(var n in t){var a=t[n];if(Array.isArray(a))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===s.call(n)&&e.test(t));var n}function Tn(e,t){var n=e.cache,a=e.keys,i=e._vnode;for(var r in n){var s=n[r];if(s){var o=Cn(s.componentOptions);o&&!t(o)&&Sn(n,r,a,i)}}}function Sn(e,t,n,a){var i=e[t];!i||a&&i.tag===a.tag||i.componentInstance.$destroy(),e[t]=null,f(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=_n++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),a=t._parentVnode;n.parent=t.parent,n._parentVnode=a;var i=a.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=Re(kn(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Wt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,a=t.$vnode=n._parentVnode,i=a&&a.context;t.$slots=dt(n._renderChildren,i),t.$scopedSlots=e,t._c=function(e,n,a,i){return jt(t,e,n,a,i,!1)},t.$createElement=function(e,n,a,i){return jt(t,e,n,a,i,!0)};var r=a&&a.data;xe(t,"$attrs",r&&r.attrs||e,null,!0),xe(t,"$listeners",n._parentListeners||e,null,!0)}(n),Xt(n,"beforeCreate"),function(e){var t=ut(e.$options.inject,e);t&&(Ae(!1),Object.keys(t).forEach((function(n){xe(e,n,t[n])})),Ae(!0))}(n),mn(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),Xt(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(An),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Te,e.prototype.$delete=Se,e.prototype.$watch=function(e,t,n){if(o(t))return yn(this,e,t,n);(n=n||{}).user=!0;var a=new dn(this,e,t,n);if(n.immediate)try{t.call(this,a.value)}catch(e){Be(e,this,'callback for immediate watcher "'+a.expression+'"')}return function(){a.teardown()}}}(An),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var a=this;if(Array.isArray(e))for(var i=0,r=e.length;i1?x(n):n;for(var a=x(arguments,1),i='event handler for "'+e+'"',r=0,s=n.length;rparseInt(this.max)&&Sn(s,o[0],o,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return E}};Object.defineProperty(e,"config",t),e.util={warn:oe,extend:T,mergeOptions:Re,defineReactive:xe},e.set=Te,e.delete=Se,e.nextTick=et,e.observable=function(e){return Ce(e),e},e.options=Object.create(null),R.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,T(e.options.components,Mn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=x(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Re(this.options,e),this}}(e),wn(e),function(e){R.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&o(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(An),Object.defineProperty(An.prototype,"$isServer",{get:ne}),Object.defineProperty(An.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(An,"FunctionalRenderContext",{value:$t}),An.version="2.6.12";var Dn=p("style,class"),$n=p("input,textarea,option,select,progress"),Nn=function(e,t,n){return"value"===n&&$n(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Pn=p("contenteditable,draggable,spellcheck"),Ln=p("events,caret,typing,plaintext-only"),Rn=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"),In="http://www.w3.org/1999/xlink",En=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},jn=function(e){return En(e)?e.slice(6,e.length):""},Fn=function(e){return null==e||!1===e};function On(e){for(var t=e.data,a=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Bn(i.data,t));for(;n(a=a.parent);)a&&a.data&&(t=Bn(t,a.data));return function(e,t){if(n(e)||n(t))return qn(e,Un(t));return""}(t.staticClass,t.class)}function Bn(e,t){return{staticClass:qn(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function qn(e,t){return e?t?e+" "+t:e:t||""}function Un(e){return Array.isArray(e)?function(e){for(var t,a="",i=0,r=e.length;i-1?ma(e,t,n):Rn(t)?Fn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Pn(t)?e.setAttribute(t,function(e,t){return Fn(t)||"false"===t?"false":"contenteditable"===e&&Ln(t)?t:"true"}(t,n)):En(t)?Fn(n)?e.removeAttributeNS(In,jn(t)):e.setAttributeNS(In,t,n):ma(e,t,n)}function ma(e,t,n){if(Fn(n))e.removeAttribute(t);else{if(Q&&!K&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var a=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",a)};e.addEventListener("input",a),e.__ieph=!0}e.setAttribute(t,n)}}var fa={create:pa,update:pa};function ga(e,a){var i=a.elm,r=a.data,s=e.data;if(!(t(r.staticClass)&&t(r.class)&&(t(s)||t(s.staticClass)&&t(s.class)))){var o=On(a),l=i._transitionClasses;n(l)&&(o=qn(o,Un(l))),o!==i._prevClass&&(i.setAttribute("class",o),i._prevClass=o)}}var va,ba,ya,_a,ka,Aa,wa={create:ga,update:ga},Ca=/[\w).+\-_$\]]/;function xa(e){var t,n,a,i,r,s=!1,o=!1,l=!1,c=!1,u=0,d=0,p=0,h=0;for(a=0;a=0&&" "===(f=e.charAt(m));m--);f&&Ca.test(f)||(c=!0)}}else void 0===i?(h=a+1,i=e.slice(0,a).trim()):g();function g(){(r||(r=[])).push(e.slice(h,a).trim()),h=a+1}if(void 0===i?i=e.slice(0,a).trim():0!==h&&g(),r)for(a=0;a-1?{exp:e.slice(0,_a),key:'"'+e.slice(_a+1)+'"'}:{exp:e,key:null};ba=e,_a=ka=Aa=0;for(;!qa();)Ua(ya=Ba())?Ga(ya):91===ya&&Va(ya);return{exp:e.slice(0,ka),key:e.slice(ka+1,Aa)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ba(){return ba.charCodeAt(++_a)}function qa(){return _a>=va}function Ua(e){return 34===e||39===e}function Va(e){var t=1;for(ka=_a;!qa();)if(Ua(e=Ba()))Ga(e);else if(91===e&&t++,93===e&&t--,0===t){Aa=_a;break}}function Ga(e){for(var t=e;!qa()&&(e=Ba())!==t;);}var Ha;function Wa(e,t,n){var a=Ha;return function i(){var r=t.apply(null,arguments);null!==r&&Ya(e,i,n,a)}}var Qa=He&&!(X&&Number(X[1])<=53);function Ka(e,t,n,a){if(Qa){var i=sn,r=t;t=r._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return r.apply(this,arguments)}}Ha.addEventListener(e,t,ee?{capture:n,passive:a}:n)}function Ya(e,t,n,a){(a||Ha).removeEventListener(e,t._wrapper||t,n)}function Ja(e,a){if(!t(e.data.on)||!t(a.data.on)){var i=a.data.on||{},r=e.data.on||{};Ha=a.elm,function(e){if(n(e.__r)){var t=Q?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}n(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(i),rt(i,r,Ka,Ya,Wa,a.context),Ha=void 0}}var Xa,Za={create:Ja,update:Ja};function ei(e,a){if(!t(e.data.domProps)||!t(a.data.domProps)){var i,r,s=a.elm,o=e.data.domProps||{},l=a.data.domProps||{};for(i in n(l.__ob__)&&(l=a.data.domProps=T({},l)),o)i in l||(s[i]="");for(i in l){if(r=l[i],"textContent"===i||"innerHTML"===i){if(a.children&&(a.children.length=0),r===o[i])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===i&&"PROGRESS"!==s.tagName){s._value=r;var c=t(r)?"":String(r);ti(s,c)&&(s.value=c)}else if("innerHTML"===i&&Hn(s.tagName)&&t(s.innerHTML)){(Xa=Xa||document.createElement("div")).innerHTML=""+r+"";for(var u=Xa.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;u.firstChild;)s.appendChild(u.firstChild)}else if(r!==o[i])try{s[i]=r}catch(e){}}}}function ti(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var a=e.value,i=e._vModifiers;if(n(i)){if(i.number)return d(a)!==d(t);if(i.trim)return a.trim()!==t.trim()}return a!==t}(e,t))}var ni={create:ei,update:ei},ai=b((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var a=e.split(n);a.length>1&&(t[a[0].trim()]=a[1].trim())}})),t}));function ii(e){var t=ri(e.style);return e.staticStyle?T(e.staticStyle,t):t}function ri(e){return Array.isArray(e)?S(e):"string"==typeof e?ai(e):e}var si,oi=/^--/,li=/\s*!important$/,ci=function(e,t,n){if(oi.test(t))e.style.setProperty(t,n);else if(li.test(n))e.style.setProperty(w(t),n.replace(li,""),"important");else{var a=di(t);if(Array.isArray(n))for(var i=0,r=n.length;i-1?t.split(mi).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function gi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(mi).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",a=" "+t+" ";n.indexOf(a)>=0;)n=n.replace(a," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function vi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&T(t,bi(e.name||"v")),T(t,e),t}return"string"==typeof e?bi(e):void 0}}var bi=b((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),yi=V&&!K,_i="transition",ki="transitionend",Ai="animation",wi="animationend";yi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(_i="WebkitTransition",ki="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ai="WebkitAnimation",wi="webkitAnimationEnd"));var Ci=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function xi(e){Ci((function(){Ci(e)}))}function Ti(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),fi(e,t))}function Si(e,t){e._transitionClasses&&f(e._transitionClasses,t),gi(e,t)}function zi(e,t,n){var a=Di(e,t),i=a.type,r=a.timeout,s=a.propCount;if(!i)return n();var o="transition"===i?ki:wi,l=0,c=function(){e.removeEventListener(o,u),n()},u=function(t){t.target===e&&++l>=s&&c()};setTimeout((function(){l0&&(n="transition",u=s,d=r.length):"animation"===t?c>0&&(n="animation",u=c,d=l.length):d=(n=(u=Math.max(s,c))>0?s>c?"transition":"animation":null)?"transition"===n?r.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:"transition"===n&&Mi.test(a[_i+"Property"])}}function $i(e,t){for(;e.length1}function Ei(e,t){!0!==t.data.show&&Pi(t)}var ji=function(e){var r,s,o={},l=e.modules,c=e.nodeOps;for(r=0;rm?y(e,t(i[v+1])?null:i[v+1].elm,i,h,v,r):h>v&&k(a,p,m)}(p,f,v,r,u):n(v)?(n(e.text)&&c.setTextContent(p,""),y(p,null,v,0,v.length-1,r)):n(f)?k(f,0,f.length-1):n(e.text)&&c.setTextContent(p,""):e.text!==i.text&&c.setTextContent(p,i.text),n(m)&&n(h=m.hook)&&n(h=h.postpatch)&&h(e,i)}}}function x(e,t,i){if(a(i)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,s.selected!==r&&(s.selected=r);else if(N(Ui(s),a))return void(e.selectedIndex!==o&&(e.selectedIndex=o));i||(e.selectedIndex=-1)}}function qi(e,t){return t.every((function(t){return!N(t,e)}))}function Ui(e){return"_value"in e?e._value:e.value}function Vi(e){e.target.composing=!0}function Gi(e){e.target.composing&&(e.target.composing=!1,Hi(e.target,"input"))}function Hi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Wi(e){return!e.componentInstance||e.data&&e.data.transition?e:Wi(e.componentInstance._vnode)}var Qi={model:Fi,show:{bind:function(e,t,n){var a=t.value,i=(n=Wi(n)).data&&n.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;a&&i?(n.data.show=!0,Pi(n,(function(){e.style.display=r}))):e.style.display=a?r:"none"},update:function(e,t,n){var a=t.value;!a!=!t.oldValue&&((n=Wi(n)).data&&n.data.transition?(n.data.show=!0,a?Pi(n,(function(){e.style.display=e.__vOriginalDisplay})):Li(n,(function(){e.style.display="none"}))):e.style.display=a?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,a,i){i||(e.style.display=e.__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 Yi(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Yi(Ut(t.children)):e}function Ji(e){var t={},n=e.$options;for(var a in n.propsData)t[a]=e[a];var i=n._parentListeners;for(var r in i)t[_(r)]=i[r];return t}function Xi(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Zi=function(e){return e.tag||qt(e)},er=function(e){return"show"===e.name},tr={name:"transition",props:Ki,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Zi)).length){var a=this.mode,r=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;var s=Yi(r);if(!s)return r;if(this._leaving)return Xi(e,r);var o="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?o+"comment":o+s.tag:i(s.key)?0===String(s.key).indexOf(o)?s.key:o+s.key:s.key;var l=(s.data||(s.data={})).transition=Ji(this),c=this._vnode,u=Yi(c);if(s.data.directives&&s.data.directives.some(er)&&(s.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(s,u)&&!qt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=T({},l);if("out-in"===a)return this._leaving=!0,st(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Xi(e,r);if("in-out"===a){if(qt(s))return c;var p,h=function(){p()};st(l,"afterEnter",h),st(l,"enterCancelled",h),st(d,"delayLeave",(function(e){p=e}))}}return r}}},nr=T({tag:String,moveClass:String},Ki);function ar(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ir(e){e.data.newPos=e.elm.getBoundingClientRect()}function rr(e){var t=e.data.pos,n=e.data.newPos,a=t.left-n.left,i=t.top-n.top;if(a||i){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate("+a+"px,"+i+"px)",r.transitionDuration="0s"}}delete nr.mode;var sr={Transition:tr,TransitionGroup:{props:nr,beforeMount:function(){var e=this,t=this._update;this._update=function(n,a){var i=Kt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,a)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),a=this.prevChildren=this.children,i=this.$slots.default||[],r=this.children=[],s=Ji(this),o=0;o-1?Kn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Kn[e]=/HTMLUnknownElement/.test(t.toString())},T(An.options.directives,Qi),T(An.options.components,sr),An.prototype.__patch__=V?ji:z,An.prototype.$mount=function(e,t){return function(e,t,n){var a;return e.$el=t,e.$options.render||(e.$options.render=fe),Xt(e,"beforeMount"),a=function(){e._update(e._render(),n)},new dn(e,a,z,{before:function(){e._isMounted&&!e._isDestroyed&&Xt(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Xt(e,"mounted")),e}(this,e=e&&V?Jn(e):void 0,t)},V&&setTimeout((function(){E.devtools&&ae&&ae.emit("init",An)}),0);var or=/\{\{((?:.|\r?\n)+?)\}\}/g,lr=/[-.*+?^${}()|[\]\/\\]/g,cr=b((function(e){var t=e[0].replace(lr,"\\$&"),n=e[1].replace(lr,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var ur={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Ia(e,"class");n&&(e.staticClass=JSON.stringify(n));var a=Ra(e,"class",!1);a&&(e.classBinding=a)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var dr,pr={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Ia(e,"style");n&&(e.staticStyle=JSON.stringify(ai(n)));var a=Ra(e,"style",!1);a&&(e.styleBinding=a)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},hr=function(e){return(dr=dr||document.createElement("div")).innerHTML=e,dr.textContent},mr=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),fr=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"),vr=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,br=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,yr="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+j.source+"]*",_r="((?:"+yr+"\\:)?"+yr+")",kr=new RegExp("^<"+_r),Ar=/^\s*(\/?)>/,wr=new RegExp("^<\\/"+_r+"[^>]*>"),Cr=/^]+>/i,xr=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Dr=/&(?:lt|gt|quot|amp|#39);/g,$r=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Nr=p("pre,textarea",!0),Pr=function(e,t){return e&&Nr(e)&&"\n"===t[0]};function Lr(e,t){var n=t?$r:Dr;return e.replace(n,(function(e){return Mr[e]}))}var Rr,Ir,Er,jr,Fr,Or,Br,qr,Ur=/^@|^v-on:/,Vr=/^v-|^@|^:|^#/,Gr=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Hr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wr=/^\(|\)$/g,Qr=/^\[.*\]$/,Kr=/:(.*)$/,Yr=/^:|^\.|^v-bind:/,Jr=/\.[^.\]]+(?=[^\]]*$)/g,Xr=/^v-slot(:|$)|^#/,Zr=/[\r\n]/,es=/\s+/g,ts=b(hr);function ns(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:cs(t),rawAttrsMap:{},parent:n,children:[]}}function as(e,t){Rr=t.warn||Sa,Or=t.isPreTag||M,Br=t.mustUseProp||M,qr=t.getTagNamespace||M;t.isReservedTag;Er=za(t.modules,"transformNode"),jr=za(t.modules,"preTransformNode"),Fr=za(t.modules,"postTransformNode"),Ir=t.delimiters;var n,a,i=[],r=!1!==t.preserveWhitespace,s=t.whitespace,o=!1,l=!1;function c(e){if(u(e),o||e.processed||(e=is(e,t)),i.length||e===n||n.if&&(e.elseif||e.else)&&ss(n,{exp:e.elseif,block:e}),a&&!e.forbidden)if(e.elseif||e.else)s=e,(c=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(a.children))&&c.if&&ss(c,{exp:s.elseif,block:s});else{if(e.slotScope){var r=e.slotTarget||'"default"';(a.scopedSlots||(a.scopedSlots={}))[r]=e}a.children.push(e),e.parent=a}var s,c;e.children=e.children.filter((function(e){return!e.slotScope})),u(e),e.pre&&(o=!1),Or(e.tag)&&(l=!1);for(var d=0;d]*>)","i")),p=e.replace(d,(function(e,n,a){return c=a.length,Sr(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),Pr(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));l+=e.length-p.length,e=p,T(u,l-c,l)}else{var h=e.indexOf("<");if(0===h){if(xr.test(e)){var m=e.indexOf("--\x3e");if(m>=0){t.shouldKeepComment&&t.comment(e.substring(4,m),l,l+m+3),w(m+3);continue}}if(Tr.test(e)){var f=e.indexOf("]>");if(f>=0){w(f+2);continue}}var g=e.match(Cr);if(g){w(g[0].length);continue}var v=e.match(wr);if(v){var b=l;w(v[0].length),T(v[1],b,l);continue}var y=C();if(y){x(y),Pr(y.tagName,e)&&w(1);continue}}var _=void 0,k=void 0,A=void 0;if(h>=0){for(k=e.slice(h);!(wr.test(k)||kr.test(k)||xr.test(k)||Tr.test(k)||(A=k.indexOf("<",1))<0);)h+=A,k=e.slice(h);_=e.substring(0,h)}h<0&&(_=e),_&&w(_.length),t.chars&&_&&t.chars(_,l-_.length,l)}if(e===n){t.chars&&t.chars(e);break}}function w(t){l+=t,e=e.substring(t)}function C(){var t=e.match(kr);if(t){var n,a,i={tagName:t[1],attrs:[],start:l};for(w(t[0].length);!(n=e.match(Ar))&&(a=e.match(br)||e.match(vr));)a.start=l,w(a[0].length),a.end=l,i.attrs.push(a);if(n)return i.unarySlash=n[1],w(n[0].length),i.end=l,i}}function x(e){var n=e.tagName,l=e.unarySlash;r&&("p"===a&&gr(n)&&T(a),o(n)&&a===n&&T(n));for(var c=s(n)||!!l,u=e.attrs.length,d=new Array(u),p=0;p=0&&i[s].lowerCasedTag!==o;s--);else s=0;if(s>=0){for(var c=i.length-1;c>=s;c--)t.end&&t.end(i[c].tag,n,r);i.length=s,a=s&&i[s-1].tag}else"br"===o?t.start&&t.start(e,[],!0,n,r):"p"===o&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}T()}(e,{warn:Rr,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,r,s,u,d){var p=a&&a.ns||qr(e);Q&&"svg"===p&&(r=function(e){for(var t=[],n=0;nl&&(o.push(r=e.slice(l,i)),s.push(JSON.stringify(r)));var c=xa(a[1].trim());s.push("_s("+c+")"),o.push({"@binding":c}),l=i+a[0].length}return l-1"+("true"===r?":("+t+")":":_q("+t+","+r+")")),La(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+s+");if(Array.isArray($$a)){var $$v="+(a?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Oa(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Oa(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Oa(t,"$$c")+"}",null,!0)}(e,a,i);else if("input"===r&&"radio"===s)!function(e,t,n){var a=n&&n.number,i=Ra(e,"value")||"null";Ma(e,"checked","_q("+t+","+(i=a?"_n("+i+")":i)+")"),La(e,"change",Oa(t,i),null,!0)}(e,a,i);else if("input"===r||"textarea"===r)!function(e,t,n){var a=e.attrsMap.type,i=n||{},r=i.lazy,s=i.number,o=i.trim,l=!r&&"range"!==a,c=r?"change":"range"===a?"__r":"input",u="$event.target.value";o&&(u="$event.target.value.trim()");s&&(u="_n("+u+")");var d=Oa(t,u);l&&(d="if($event.target.composing)return;"+d);Ma(e,"value","("+t+")"),La(e,c,d,null,!0),(o||s)&&La(e,"blur","$forceUpdate()")}(e,a,i);else if(!E.isReservedTag(r))return Fa(e,a,i),!1;return!0},text:function(e,t){t.value&&Ma(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Ma(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:mr,mustUseProp:Nn,canBeLeftOpenTag:fr,isReservedTag:Wn,getTagNamespace:Qn,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(hs)},vs=b((function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function bs(e,t){e&&(ms=vs(t.staticKeys||""),fs=t.isReservedTag||M,function e(t){if(t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||h(e.tag)||!fs(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(ms)))}(t),1===t.type){if(!fs(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,a=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,_s=/\([^)]*?\);*$/,ks=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,As={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ws={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"]},Cs=function(e){return"if("+e+")return null;"},xs={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Cs("$event.target !== $event.currentTarget"),ctrl:Cs("!$event.ctrlKey"),shift:Cs("!$event.shiftKey"),alt:Cs("!$event.altKey"),meta:Cs("!$event.metaKey"),left:Cs("'button' in $event && $event.button !== 0"),middle:Cs("'button' in $event && $event.button !== 1"),right:Cs("'button' in $event && $event.button !== 2")};function Ts(e,t){var n=t?"nativeOn:":"on:",a="",i="";for(var r in e){var s=Ss(e[r]);e[r]&&e[r].dynamic?i+=r+","+s+",":a+='"'+r+'":'+s+","}return a="{"+a.slice(0,-1)+"}",i?n+"_d("+a+",["+i.slice(0,-1)+"])":n+a}function Ss(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Ss(e)})).join(",")+"]";var t=ks.test(e.value),n=ys.test(e.value),a=ks.test(e.value.replace(_s,""));if(e.modifiers){var i="",r="",s=[];for(var o in e.modifiers)if(xs[o])r+=xs[o],As[o]&&s.push(o);else if("exact"===o){var l=e.modifiers;r+=Cs(["ctrl","shift","alt","meta"].filter((function(e){return!l[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else s.push(o);return s.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(zs).join("&&")+")return null;"}(s)),r&&(i+=r),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":a?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(a?"return "+e.value:e.value)+"}"}function zs(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=As[e],a=ws[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(a)+")"}var Ms={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:z},Ds=function(e){this.options=e,this.warn=e.warn||Sa,this.transforms=za(e.modules,"transformCode"),this.dataGenFns=za(e.modules,"genData"),this.directives=T(T({},Ms),e.directives);var t=e.isReservedTag||M;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function $s(e,t){var n=new Ds(t);return{render:"with(this){return "+(e?Ns(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ns(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ps(e,t);if(e.once&&!e.onceProcessed)return Ls(e,t);if(e.for&&!e.forProcessed)return Is(e,t);if(e.if&&!e.ifProcessed)return Rs(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',a=Os(e,t),i="_t("+n+(a?","+a:""),r=e.attrs||e.dynamicAttrs?Us((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:_(e.name),value:e.value,dynamic:e.dynamic}}))):null,s=e.attrsMap["v-bind"];!r&&!s||a||(i+=",null");r&&(i+=","+r);s&&(i+=(r?"":",null")+","+s);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var a=t.inlineTemplate?null:Os(t,n,!0);return"_c("+e+","+Es(t,n)+(a?","+a:"")+")"}(e.component,e,t);else{var a;(!e.plain||e.pre&&t.maybeComponent(e))&&(a=Es(e,t));var i=e.inlineTemplate?null:Os(e,t,!0);n="_c('"+e.tag+"'"+(a?","+a:"")+(i?","+i:"")+")"}for(var r=0;r>>0}(s):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var r=function(e,t){var n=e.children[0];if(n&&1===n.type){var a=$s(n,t.options);return"inlineTemplate:{render:function(){"+a.render+"},staticRenderFns:["+a.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);r&&(n+=r+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Us(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function js(e){return 1===e.type&&("slot"===e.tag||e.children.some(js))}function Fs(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Rs(e,t,Fs,"null");if(e.for&&!e.forProcessed)return Is(e,t,Fs);var a="_empty_"===e.slotScope?"":String(e.slotScope),i="function("+a+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Os(e,t)||"undefined")+":undefined":Os(e,t)||"undefined":Ns(e,t))+"}",r=a?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+r+"}"}function Os(e,t,n,a,i){var r=e.children;if(r.length){var s=r[0];if(1===r.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var o=n?t.maybeComponent(s)?",1":",0":"";return""+(a||Ns)(s,t)+o}var l=n?function(e,t){for(var n=0,a=0;a':'
',Qs.innerHTML.indexOf(" ")>0}var Js=!!V&&Ys(!1),Xs=!!V&&Ys(!0),Zs=b((function(e){var t=Jn(e);return t&&t.innerHTML})),eo=An.prototype.$mount;An.prototype.$mount=function(e,t){if((e=e&&Jn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var a=n.template;if(a)if("string"==typeof a)"#"===a.charAt(0)&&(a=Zs(a));else{if(!a.nodeType)return this;a=a.innerHTML}else e&&(a=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(a){var i=Ks(a,{outputSourceRange:!1,shouldDecodeNewlines:Js,shouldDecodeNewlinesForHref:Xs,delimiters:n.delimiters,comments:n.comments},this),r=i.render,s=i.staticRenderFns;n.render=r,n.staticRenderFns=s}}return eo.call(this,e,t)},An.compile=Ks;const to={data(){const e=this.$t.bind(this);this.$tc.bind(this);return{appOnline:null,activeTheme:"light",themes:["purple","dark","light"],activeTablink:"home",links:[{id:"main_home_tablink",name:"home",ariaLabel:"home",routerName:"Home",icon:"home",label:e("sidebar.home")},{id:"main_search_tablink",name:"search",ariaLabel:"search",routerName:"Search",icon:"search",label:e("sidebar.search")},{id:"main_charts_tablink",name:"charts",ariaLabel:"charts",routerName:"Charts",icon:"show_chart",label:e("sidebar.charts")},{id:"main_favorites_tablink",name:"favorites",ariaLabel:"favorites",routerName:"Favorites",icon:"star",label:e("sidebar.favorites")},{id:"main_analyzer_tablink",name:"analyzer",ariaLabel:"link analyzer",routerName:"Link Analyzer",icon:"link",label:e("sidebar.linkAnalyzer")},{id:"main_settings_tablink",name:"settings",ariaLabel:"settings",routerName:"Settings",icon:"settings",label:e("sidebar.settings")},{id:"main_about_tablink",name:"about",ariaLabel:"info",routerName:"About",icon:"info",label:e("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((e,t)=>{const n=this.links.find(t=>t.routerName===e.name);n&&(this.activeTablink=n.name)})},methods:{changeTheme(e){if(e===this.activeTheme)return;this.activeTheme=e,document.documentElement.setAttribute("data-theme",e),localStorage.setItem("selectedTheme",e);const t=document.querySelectorAll("*");t.forEach(e=>{e.classList.add("changing-theme")}),document.documentElement.addEventListener("transitionend",(function e(){t.forEach(e=>{e.classList.remove("changing-theme")}),document.documentElement.removeEventListener("transitionend",e)}))}}};var no=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("aside",{attrs:{id:"sidebar",role:"navigation"}},[e._l(e.links,(function(t){return n("router-link",{key:t.id,staticClass:"main_tablinks",class:{active:e.activeTablink===t.name},attrs:{tag:"span",role:"link",id:t.id,"aria-label":t.ariaLabel,to:{name:t.routerName}},nativeOn:{click:function(n){e.activeTablink=t.name}}},[n("i",{staticClass:"material-icons side_icon"},[e._v(e._s(t.icon))]),e._v(" "),n("span",{staticClass:"main_tablinks_text"},[e._v(e._s(t.label))])])})),e._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"theme_selector",role:"link","aria-label":"theme selector"}},[n("i",{staticClass:"material-icons side_icon side_icon--theme"},[e._v("palette")]),e._v(" "),n("div",{attrs:{id:"theme_togglers"}},e._l(e.themes,(function(t){return n("div",{key:t,staticClass:"theme_toggler",class:[{"theme_toggler--active":e.activeTheme===t},"theme_toggler--"+t],on:{click:function(n){return e.changeTheme(t)}}})})),0)]),e._v(" "),n("div",{class:{online:e.appOnline,offline:!e.appOnline},attrs:{id:"network-status"}},[e.appOnline?n("i",{staticClass:"material-icons"},[e._v("wifi")]):n("i",{staticClass:"material-icons"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}}),e._v(" "),n("path",{attrs:{d:"M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4c-1.29-1.29-2.84-2.13-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24C7.81 10.89 6.27 11.73 5 13v.01L6.99 15c1.36-1.36 3.14-2.04 4.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3c-1.65-1.66-4.34-1.66-6 0z"}})])])])],2)};no._withStripped=!0;var ao=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheSidebar.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:no,staticRenderFns:[]},(function(e){e&&e("data-v-4ec3adf4_0",{source:"\n#network-status[data-v-4ec3adf4] {\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tmargin-top: auto;\r\n\tbottom: 0;\n}\n#network-status.online i.material-icons[data-v-4ec3adf4] {\r\n\tcolor: hsl(151, 100%, 31%);\n}\n#network-status.offline i.material-icons svg[data-v-4ec3adf4] {\r\n\tfill: red;\r\n\twidth: 1em;\r\n\theight: 1em;\n}\r\n",map:{version:3,sources:["C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheSidebar.vue"],names:[],mappings:";AA8CA;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:["\r\n\r\n\r\n\r\n