mangadex_at_home/src/main/resources/webui/js/app.0c79c898.js
2020-08-03 09:53:15 -05:00

2 lines
102 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(t){function e(e){for(var r,o,i=e[0],l=e[1],c=e[2],d=0,u=[];d<i.length;d++)o=i[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&u.push(a[o][0]),a[o]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(t[r]=l[r]);p&&p(e);while(u.length)u.shift()();return n.push.apply(n,c||[]),s()}function s(){for(var t,e=0;e<n.length;e++){for(var s=n[e],r=!0,o=1;o<s.length;o++){var i=s[o];0!==a[i]&&(r=!1)}r&&(n.splice(e--,1),t=l(l.s=s[0]))}return t}var r={},o={app:0},a={app:0},n=[];function i(t){return l.p+"js/"+({}[t]||t)+"."+{"chunk-7577183e":"18dbd756"}[t]+".js"}function l(e){if(r[e])return r[e].exports;var s=r[e]={i:e,l:!1,exports:{}};return t[e].call(s.exports,s,s.exports,l),s.l=!0,s.exports}l.e=function(t){var e=[],s={"chunk-7577183e":1};o[t]?e.push(o[t]):0!==o[t]&&s[t]&&e.push(o[t]=new Promise((function(e,s){for(var r="css/"+({}[t]||t)+"."+{"chunk-7577183e":"6dc57fe0"}[t]+".css",a=l.p+r,n=document.getElementsByTagName("link"),i=0;i<n.length;i++){var c=n[i],d=c.getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(d===r||d===a))return e()}var u=document.getElementsByTagName("style");for(i=0;i<u.length;i++){c=u[i],d=c.getAttribute("data-href");if(d===r||d===a)return e()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=e,p.onerror=function(e){var r=e&&e.target&&e.target.src||a,n=new Error("Loading CSS chunk "+t+" failed.\n("+r+")");n.code="CSS_CHUNK_LOAD_FAILED",n.request=r,delete o[t],p.parentNode.removeChild(p),s(n)},p.href=a;var g=document.getElementsByTagName("head")[0];g.appendChild(p)})).then((function(){o[t]=0})));var r=a[t];if(0!==r)if(r)e.push(r[2]);else{var n=new Promise((function(e,s){r=a[t]=[e,s]}));e.push(r[2]=n);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,l.nc&&d.setAttribute("nonce",l.nc),d.src=i(t);var u=new Error;c=function(e){d.onerror=d.onload=null,clearTimeout(p);var s=a[t];if(0!==s){if(s){var r=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;u.message="Loading chunk "+t+" failed.\n("+r+": "+o+")",u.name="ChunkLoadError",u.type=r,u.request=o,s[1](u)}a[t]=void 0}};var p=setTimeout((function(){c({type:"timeout",target:d})}),12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(e)},l.m=t,l.c=r,l.d=function(t,e,s){l.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},l.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.t=function(t,e){if(1&e&&(t=l(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(l.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)l.d(s,r,function(e){return t[e]}.bind(null,r));return s},l.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return l.d(e,"a",e),e},l.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},l.p="",l.oe=function(t){throw console.error(t),t};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],d=c.push.bind(c);c.push=e,c=c.slice();for(var u=0;u<c.length;u++)e(c[u]);var p=d;n.push([0,"chunk-vendors"]),s()})({0:function(t,e,s){t.exports=s("56d7")},"0134":function(t,e,s){},1959:function(t,e,s){"use strict";var r=s("dbf5"),o=s.n(r);o.a},4360:function(t,e,s){"use strict";s("4160"),s("caad"),s("d81d"),s("a434"),s("b64b"),s("d3b7"),s("25f0"),s("159b");var r=s("a026"),o=s("2f62"),a=s("5fb0"),n=s("c1df"),i=s.n(n);r["default"].use(o["a"]);var l={options:{current:"light",hasBgImage:!1,bgImage:"https://images3.alphacoders.com/819/thumb-1920-819294.png",showAppBar:!0,lockGrid:!1,exp_showSlider:!1,exp_connectGraphs:!1,exp_showConsole:!1,exp_consoleGrid:!1,exp_showAbout:!1,exp_showClientSettings:!1,superSecret:!1},themes:{backgroundAlpha:240,custom:{backgroundColor:"#efeff0",textColor:"#202020",primary:"#fbfbfe",secondary:"#fafafa",active:"#e7e7e7",accent:"#717175ff",accent1:"#96969eB4",accent2:"#5e5e624D",green:"#00e000",red:"#e00000",yellow:"#e0e000"},light:{backgroundAlpha:"f0",backgroundColor:"#efeff0",textColor:"#202020",primary:"#fbfbfe",secondary:"#fafafa",active:"#4b4b4b",accent:"#e0e0e0",accent1:"rgba(150,150,158, 0.3)",accent2:"rgba(94,94,98,0.7)",green:"#00e000",red:"#e00000",yellow:"#e0e000"},dark:{backgroundColor:"#353536",textColor:"#f6f6f6",primary:"#505053",secondary:"#454547",active:"#e7e7e7",accent:"#606065",accent1:"rgba(200,200,210,0.3)",accent2:"rgba(200,200,210,0.7)",green:"#00e000",red:"#e00000",yellow:"#e0e000"},midnight:{backgroundColor:"#000",textColor:"#d0d0d0",primary:"#191919",secondary:"#212122",active:"#cbcbcb",accent:"#6b6b6d",accent1:"rgba(255,255,255,0.3)",accent2:"rgba(95,95,100,0.7)",green:"#00a000",red:"#a00000",yellow:"#a0a000"},eyekiller:{backgroundColor:"#26ff00",textColor:"#000000",primary:"#ee00ff",secondary:"#ffc800",active:"#4b4b4b",accent:"#00aeff",accent1:"rgba(255,0,0,0.3)",accent2:"rgba(0,32,255,0.7)",green:"#00ff00",red:"#ff0000",yellow:"#ffff00"}},data:{datasets:{},socket:null,stats:[],updateInterval:2e3,maxStorePoints:1801},layout:{grid:[],charts:[],tempoptions:{title:{text:"title"},legend:{show:!0}},temppieoptions:{title:{text:"title"},legend:{show:!0}}},console:{grid:[{x:0,y:0,w:10,h:8,i:0,c:1},{x:10,y:0,w:14,h:8,i:1,c:2},{x:0,y:8,w:24,h:10,i:2,c:0}],data:[],maxLines:1e3}},c=[{x:0,y:0,w:24,h:8,i:0},{x:0,y:8,w:5,h:8,i:1},{x:5,y:8,w:11,h:8,i:2},{x:16,y:8,w:8,h:8,i:3}],d=[{type:"graph",title:{left:"center",text:"Requests"},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{formatter:"number"}}},legend:{left:"center",show:!0,top:30,data:["Requests","Hits","Misses"]},yAxis:[{type:"value",name:"Req/s",scale:!0,offset:0,axisLabel:{unit:2},splitLine:{show:!1}},{type:"value",name:"Hits/s",scale:!0,offset:0,axisLabel:{unit:2},splitLine:{show:!1}},{type:"value",name:"Misses/s",scale:!0,offset:80,axisLabel:{unit:2},splitLine:{show:!1}}],series:[{name:"Requests",type:"line",data:null,dataId:"Change in Requests Served",yAxisIndex:0,showSymbol:!1,itemStyle:{colorId:"text"}},{name:"Hits",type:"line",data:null,dataId:"Change in Hits",yAxisIndex:1,showSymbol:!1,itemStyle:{colorId:"green"}},{name:"Misses",type:"line",data:null,dataId:"Change in Misses",yAxisIndex:2,showSymbol:!1,itemStyle:{colorId:"red"}}]},{type:"pie",title:{left:"center",text:"Reliability"},legend:{orient:"vertical",left:0,top:4,show:!0,data:["Hits","Misses","Cached"]},series:[{type:"pie",avoidLabelOverlap:!0,label:{show:!1},labelLine:{show:!1},data:[{value:0,name:"Hits",dataId:"Hits",itemStyle:{colorId:"green"}},{value:0,name:"Misses",dataId:"Misses",itemStyle:{colorId:"red"}},{value:0,name:"Cached",dataId:"Browser Cached",itemStyle:{colorId:"accent1"}}]}]},{type:"graph",title:{left:"center",text:"Bytes Sent"},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{formatter:"number"}}},legend:{left:"center",top:30,data:["Total","Change"]},yAxis:[{type:"value",name:"Total",scale:!0,axisLabel:{unit:1},splitLine:{show:!1}},{type:"value",name:"Change/s",scale:!0,axisLabel:{unit:1},splitLine:{show:!1}}],series:[{name:"Total",dataId:"Bytes Sent",type:"line",sampling:"average",showSymbol:!1,itemStyle:{colorId:"text"}},{name:"Change",dataId:"Change in Bytes Sent",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{colorId:"yellow"}}]},{type:"graph",title:{left:"center",text:"Cache Size"},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{formatter:"number"}}},legend:{left:"center",top:30,data:["Total","Change"]},yAxis:[{type:"value",name:"Total",scale:!0,axisLabel:{unit:1},splitLine:{show:!1}},{type:"value",name:"Change/s",scale:!0,axisLabel:{unit:1},splitLine:{show:!1}}],series:[{name:"Total",dataId:"Cache Size",type:"line",sampling:"average",showSymbol:!1,itemStyle:{colorId:"text"}},{name:"Change",dataId:"Change in Cache Size",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{colorId:"yellow"}}]}],u={current:function(t){return t.themes[t.options.current]},themes:function(t){return t.themes},options:function(t){return t.options},hasBgImage:function(t){return t.options.hasBgImage},bgImg:function(t){return t.options.bgImage},showAppBar:function(t){return t.options.showAppBar},alpha:function(t){return t.options.hasBgImage?t.themes.backgroundAlpha.toString(16):""},data:function(t){return t.data},getDataset:function(t){return function(e){return t.data.datasets[e]}},getLastValueOfDataset:function(t){return function(e){return t.data.datasets[e]&&t.data.datasets[e][t.data.datasets[e].length-1]?t.data.datasets[e][t.data.datasets[e].length-1][1]:0}},layout:function(t){return t.layout},console:function(t){return t.console}},p={setTheme:function(t,e){t.options.current=e,localStorage.theme=e,document.body.style.backgroundColor=t.themes[t.options.current].backgroundColor},setAlpha:function(t,e){t.themes.backgroundAlpha=e},setCustom:function(t,e){t.themes.custom=e},resetCustom:function(t){t.themes.custom={backgroundColor:"#efeff0",textColor:"#202020",primary:"#fbfbfe",secondary:"#fafafa",active:"#4b4b4b",accent:"#717175ff",accent1:"#96969eB4",accent2:"#5e5e624D",green:"#00e000",red:"#e00000",yellow:"#e0e000"}},setStats:function(t,e){t.data.stats=e},setDatasets:function(t,e){t.data.datasets=e},updateDatasets:function(t,e){var s=JSON.parse(e),r=t.data.datasets,o=Object.keys(s)[0],n=Object.keys(s[o]),l=new Date(i()(o)+0);n.forEach((function(e){r[e]||(r[e]=[],r[e+"_c"]=[]);var n=r[e].length>0?r[e][r[e].length-1]:null;r[e].push([l,s[o][e]]),null!=n?r[e+"_c"].push([l,Object(a["f"])((s[o][e]-n[1])/(i()(o)-i()(n[0]))*1e3,4)]):r[e+"_c"].push([l,0]),r[e].length>t.data.maxStorePoints&&(r[e].shift(),r[e+"_c"].shift())}))},pushStats:function(t,e){t.data.stats.push(e),t.data.stats.length>t.data.maxStorePoints&&t.data.stats.splice(0,t.data.stats.length-t.data.maxStorePoints)},spliceStats:function(t,e){t.data.stats.splice(e[0],0,e[1]),t.data.stats.length>t.data.maxStorePoints&&t.data.stats.splice(0,t.data.stats.length-t.data.maxStorePoints)},resetStats:function(t){t.data={date:[],bytesSent:[],bytesSentChange:[],sizeDisk:[],sizeDiskChange:[],reqServ:[],reqServChange:[],hits:[],hitsChange:[],misses:[],missesChange:[],cached:[],cachedChange:[],stats:[],updateInterval:t.data.updateInterval,maxStorePoints:t.data.maxStorePoints},localStorage.stats=""},resetLayout:function(t){t.layout.grid=c.map((function(t){return{x:t.x,y:t.y,w:t.w,h:t.h,i:3-t.i}})),t.layout.charts=d.map((function(t){return Object(a["c"])(t)})),localStorage.dashboardLayout=JSON.stringify(t.layout.grid),localStorage.dashboardCharts=JSON.stringify(t.layout.charts)},setLayout:function(t,e){t.layout.grid=e},setConsoleLayout:function(t,e){t.console.grid=e},setChart:function(t,e){t.layout.charts=e},addLayoutContainer:function(t,e){var s=t.layout.grid.length,r=[];t.layout.grid.forEach((function(t){return r.push(t.i)}));for(var o=0;o<r.length;o++)if(!r.includes(o)){s=o;break}t.layout.grid.push({x:0,y:0,w:8,h:8,i:s}),t.layout.charts.push(e),localStorage.dashboardCharts=JSON.stringify(t.layout.charts.map((function(t){return Object(a["e"])(t,t.type)}))),localStorage.dashboardLayout=JSON.stringify(l.layout.grid)},removeLayoutContainer:function(t,e){t.layout.grid.splice(e,1),t.layout.charts.splice(e,1),localStorage.dashboardCharts=JSON.stringify(t.layout.charts.map((function(t){return Object(a["e"])(t,t.type)}))),localStorage.dashboardLayout=JSON.stringify(l.layout.grid)},setHasBg:function(t,e){t.options.hasBgImage=e,localStorage.hasBackground=t.options.hasBgImage},setBgUrl:function(t,e){t.options.bgImage=e,localStorage.backgroundURL=t.options.bgImage},setRefresh:function(t,e){(isNaN(e)||""===e)&&(e=0),t.data.updateInterval=Math.max(parseInt(e),500),localStorage.refreshRate=t.data.updateInterval},setTempOptions:function(t,e){t.layout.tempoptions=e},setTempPieOptions:function(t,e){t.layout.temppieoptions=e},showAppBar:function(t,e){t.options.showAppBar=e,localStorage.showAppBar=t.options.showAppBar},setMaxStorePoints:function(t,e){(isNaN(e)||""===e)&&(e=0),t.data.maxStorePoints=Math.max(parseInt(e),181),localStorage.maxDataPoints=t.data.maxStorePoints},setConsoleData:function(t,e){t.console.data=e},pushConsoleLine:function(t,e){t.console.data.push(e),t.console.data.length>t.console.maxLines&&t.console.data.splice(0,t.console.data.length-t.console.maxLines),localStorage.consoleLines=JSON.stringify(t.console.data)},setMaxConsoleLines:function(t,e){t.console.maxLines=e},setOption:function(t,e){t.options[e[0]]=e[1]}};e["a"]=new o["a"].Store({state:l,mutations:p,getters:u})},4678:function(t,e,s){var r={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function o(t){var e=a(t);return s(e)}function a(t){if(!s.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}o.keys=function(){return Object.keys(r)},o.resolve=a,t.exports=o,o.id="4678"},"56d7":function(t,e,s){"use strict";s.r(e);s("4160"),s("d81d"),s("b64b"),s("d3b7"),s("159b"),s("e260"),s("e6cf"),s("cca6"),s("a79d");var r=s("a026"),o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("v-app",{staticStyle:{background:"rgba(0,0,0,0)"}},[t.$vuetify.breakpoint.mdAndDown||t.$store.getters.showAppBar?s("v-app-bar",{style:{background:t.$store.getters.current.primary+t.$store.getters.alpha},attrs:{app:"","clipped-left":!t.$vuetify.breakpoint.mdAndDown,"hide-on-scroll":t.$vuetify.breakpoint.mdAndDown,floating:""}},[s("v-app-bar-nav-icon",{staticClass:"hidden-lg-and-up",style:{color:t.$store.getters.current.textColor},on:{click:function(e){e.stopPropagation(),t.drawer=!t.drawer}}}),s("v-img",{staticClass:"shrink mr-4",attrs:{alt:"MD Logo",contain:"",src:"https://mangadex.org/images/misc/navbar.svg?3",transition:"scale-transition"}}),s("h1",{staticClass:"hidden-sm-and-down",style:{color:t.$store.getters.current.textColor}},[t._v("MD@Home Client Interface")]),s("h2",{staticClass:"hidden-md-and-up",style:{color:t.$store.getters.current.textColor}},[t._v("MD@H Client")]),s("v-spacer")],1):t._e(),s("v-navigation-drawer",{style:{background:t.$store.getters.current.primary+t.$store.getters.alpha},attrs:{"expand-on-hover":!t.$vuetify.breakpoint.mdAndDown,"mini-variant":!t.$vuetify.breakpoint.mdAndDown,permanent:!t.$vuetify.breakpoint.mdAndDown,app:"",clipped:t.$store.getters.showAppBar,floating:""},model:{value:t.drawer,callback:function(e){t.drawer=e},expression:"drawer"}},[s("v-list",{staticClass:"pt-2",attrs:{dense:"",nav:"",dark:t.$store.getters.current.isDark}},[s("v-list-item",[s("v-list-item-icon",[s("v-icon",{style:{color:t.$store.getters.current.textColor+"!important"}},[t._v("mdi-format-list-bulleted")])],1),s("v-list-item-content",[s("v-list-item-title",{style:{color:t.$store.getters.current.textColor+"!important"}},[t._v("Menu ")])],1)],1),s("div",{staticStyle:{width:"100%",height:"1px"},style:{backgroundColor:t.$store.getters.current.accent2}}),t._l(t.items,(function(e){return s("v-list-item",{key:e.title,staticClass:"mt-1",attrs:{to:{path:e.route},link:""}},[s("v-list-item-icon",[s("v-icon",{style:{color:t.$store.getters.current.textColor+"!important"}},[t._v(t._s(e.icon))])],1),s("v-list-item-content",[s("v-list-item-title",{style:{color:t.$store.getters.current.textColor+"!important"}},[t._v(t._s(e.title)+" ")])],1)],1)}))],2)],1),t.$store.getters.hasBgImage?s("v-img",{style:{position:"fixed",top:0,left:0,width:"100%",height:"100%"},attrs:{src:t.$store.getters.bgImg}}):t._e(),s("v-main",[s("v-fade-transition",[t.$vuetify.breakpoint.mdAndDown?t._e():s("overlay-scrollbars",{staticStyle:{height:"100%"},attrs:{options:{className:t.$store.getters.current.isDark?"os-theme-light":"os-theme-dark",paddingAbsolute:!0,scrollbars:{autoHide:"scroll"}}}},[s("router-view")],1),t.$vuetify.breakpoint.mdAndDown?s("router-view"):t._e()],1)],1)],1)},a=[],n=s("4360"),i=s("f309");r["default"].use(i["a"]);var l=new i["a"]({theme:{dark:!1,options:{customProperties:!0},themes:{light:{backgroundColor:"#efeff0",textColor:"#202020",primary:"#fbfbfe",secondary:"#fafafa",active:"#e7e7e7",accent:"#717175ff",accent1:"#96969eB4",accent2:"#5e5e624D",green:"#00e000",red:"#e00000",yellow:"#e0e000"}}}}),c=s("5fb0"),d={name:"App",timers:{pullData:{time:n["a"].getters.data.updateInterval,autostart:!0,repeat:!0}},data:function(){return{drawer:null,items:[{title:"Dashboard",icon:"mdi-view-dashboard",route:"/"},{title:"Console",icon:"mdi-console",route:"/cons"},{title:"Settings",icon:"mdi-cog-outline",route:"/opts"},{title:"Client Info",icon:"mdi-information-outline",route:"/info"}]}},methods:{pullData:function(){this.updateData()},updateNav:function(){var t=[{title:"Dashboard",icon:"mdi-view-dashboard",route:"/"}];n["a"].getters.options.exp_showConsole&&t.push({title:"Console",icon:"mdi-console",route:"/cons"}),t.push({title:"Settings",icon:"mdi-cog-outline",route:"/opts"}),n["a"].getters.options.exp_showAbout&&t.push({title:"Client Info",icon:"mdi-information-outline",route:"/info"}),this.items=t}},mounted:function(){document.body.style.backgroundColor=n["a"].getters.current.backgroundColor,l.framework.theme.dark=Object(c["h"])(n["a"].getters.current.secondary)<50,this.timers.pullData.time=n["a"].getters.data.updateInterval,this.$timer.restart("pullData"),this.updateNav()},computed:{refresh:function(){return n["a"].getters.data.updateInterval},console:function(){return n["a"].getters.options.exp_showConsole},about:function(){return n["a"].getters.options.exp_showAbout}},watch:{refresh:function(){this.timers.pullData.time=n["a"].getters.data.updateInterval,this.$timer.restart("pullData")},console:function(){this.updateNav()},about:function(){this.updateNav()}}},u=d,p=s("2877"),g=s("6544"),h=s.n(g),m=s("7496"),f=s("40dc"),v=s("5bc1"),b=s("0789"),y=s("132d"),x=s("adda"),C=s("8860"),w=s("da13"),$=s("5d23"),k=s("34c3"),S=s("f6c4"),_=s("f774"),A=s("2fa4"),j=Object(p["a"])(u,o,a,!1,null,null,null),D=j.exports;h()(j,{VApp:m["a"],VAppBar:f["a"],VAppBarNavIcon:v["a"],VFadeTransition:b["d"],VIcon:y["a"],VImg:x["a"],VList:C["a"],VListItem:w["a"],VListItemContent:$["a"],VListItemIcon:k["a"],VListItemTitle:$["b"],VMain:S["a"],VNavigationDrawer:_["a"],VSpacer:A["a"]});var I=function(){var t=this,e=this,s=e.$createElement,r=e._self._c||s;return r("v-container",{style:{color:e.$store.getters.current.textColor},attrs:{fluid:""}},[r("v-container",{staticClass:"pt-0 pb-0",style:{backgroundColor:e.$store.getters.current.secondary+e.$store.getters.alpha},attrs:{fluid:""}},[r("v-row",[r("v-col",[r("h1",{staticClass:"pl-1"},[e._v("Dashboard")])]),r("v-col",[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-btn",{staticStyle:{position:"absolute",right:"0","margin-right":"28px","margin-top":"5px"},style:{color:e.$store.getters.current.textColor},attrs:{color:e.$store.getters.current.accent,tile:""},on:{click:e.showModal}},[r("v-icon",{attrs:{left:""}},[e._v("mdi-plus")]),e._v(" Add Graph ")],1),e.$vuetify.breakpoint.mdAndDown?r("v-btn",{staticStyle:{position:"absolute",right:"0","margin-right":"28px","margin-top":"5px"},style:{color:e.$store.getters.current.textColor},attrs:{color:e.$store.getters.current.accent,tile:""},on:{click:e.showModal}},[r("v-icon",[e._v("mdi-plus")])],1):e._e()],1)],1)],1),e.$vuetify.breakpoint.smAndDown?e._e():r("div",{ref:"grid",staticStyle:{position:"relative",width:"calc(100% + 24px)",left:"-12px"}}),e.$vuetify.breakpoint.smAndDown?r("v-row",e._l(e.$store.getters.layout.charts,(function(t,s){return r("v-col",{key:s,staticClass:"pb-0",attrs:{cols:"12"}},[r("v-container",{class:e.$store.getters.options.lockGrid?"pa-0":"pa-4",staticStyle:{height:"300px",width:"100%",position:"relative"},style:{backgroundColor:e.$store.getters.current.secondary+e.$store.getters.alpha},attrs:{fluid:""}},[r("chart",{staticStyle:{height:"100%",width:"100%"},attrs:{autoresize:"",options:t}}),e.$store.getters.options.lockGrid?e._e():r("v-icon",{style:{position:"absolute",color:e.$store.getters.current.textColor+"!important",top:"2px",right:"2px"},attrs:{dense:"",small:""},on:{click:function(t){return e.$store.commit("removeLayoutContainer",s)}}},[e._v("mdi-close ")])],1)],1)})),1):e._e(),r("div",[r("modal",{attrs:{name:"createGraph",styles:{backgroundColor:e.$store.getters.current.secondary,minHeight:"75%"},width:e.$vuetify.breakpoint.smAndDown?"100%":"90%",height:"auto",scrollable:!0}},[r("v-container",{attrs:{fluid:""}},[r("h3",[e._v("Create Graph")]),r("v-btn",{staticStyle:{right:"12px",top:"12px"},attrs:{absolute:"",small:"",icon:"",color:e.$store.getters.current.textColor},on:{click:function(t){return e.$modal.hide("createGraph")}}},[r("v-icon",[e._v("mdi-close")])],1),r("div",{staticClass:"mt-2 mb-2",staticStyle:{width:"100%",height:"1px"},style:{backgroundColor:e.$store.getters.current.accent2}}),r("v-row",{class:e.$vuetify.breakpoint.mdAndDown?"mb-12":""},[r("v-col",{staticStyle:{position:"relative"},attrs:{cols:e.$vuetify.breakpoint.mdAndDown?12:4}},[e.$vuetify.breakpoint.mdAndDown?r("chart",{key:e.prevreload,staticStyle:{width:"100%"},attrs:{autoresize:"",options:e.$store.getters.layout.tempoptions}}):e._e(),r("v-row",{staticClass:"mr-3",attrs:{dense:""}},[r("v-col",{staticClass:"pa-0",attrs:{cols:"3"}},[r("v-subheader",{staticClass:"pl-2",style:{color:e.$store.getters.current.textColor}},[e._v(" Title ")])],1),r("v-col",{staticClass:"pa-0 pl-1",attrs:{cols:"9"}},[e.graph?r("v-text-field",{staticClass:"pt-1",attrs:{dense:"",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50},model:{value:e.$store.getters.layout.tempoptions.title.text,callback:function(t){e.$set(e.$store.getters.layout.tempoptions.title,"text",t)},expression:"$store.getters.layout.tempoptions.title.text"}}):e._e(),e.graph?e._e():r("v-text-field",{staticClass:"pt-1",attrs:{dense:"",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50},model:{value:e.$store.getters.layout.temppieoptions.title.text,callback:function(t){e.$set(e.$store.getters.layout.temppieoptions.title,"text",t)},expression:"$store.getters.layout.temppieoptions.title.text"}})],1)],1),r("v-row",{staticClass:"mr-3",attrs:{dense:""}},[r("v-col",{staticClass:"pa-0",attrs:{cols:"3"}},[r("v-subheader",{staticClass:"pl-2",style:{color:e.$store.getters.current.textColor}},[e._v(" Legend ")])],1),r("v-col",{staticClass:"pa-0",attrs:{cols:"9"}},[e.graph?r("v-checkbox",{staticClass:"mt-2",attrs:{color:e.$store.getters.current.accent2,value:!0,dense:""},model:{value:e.$store.getters.layout.tempoptions.legend.show,callback:function(t){e.$set(e.$store.getters.layout.tempoptions.legend,"show",t)},expression:"$store.getters.layout.tempoptions.legend.show"}}):e._e(),e.graph?e._e():r("v-checkbox",{staticClass:"mt-2",attrs:{color:e.$store.getters.current.accent2,value:!0,dense:""},model:{value:e.$store.getters.layout.temppieoptions.legend.show,callback:function(t){e.$set(e.$store.getters.layout.temppieoptions.legend,"show",t)},expression:"$store.getters.layout.temppieoptions.legend.show"}})],1)],1),r("v-row",{attrs:{dense:""}},[r("v-col",{staticClass:"pa-0",attrs:{cols:"3"}},[r("v-subheader",{staticClass:"pl-2",style:{color:e.$store.getters.current.textColor}},[e._v(" Type ")])],1),r("v-col",{staticClass:"pl-0",attrs:{cols:"9"}},[r("v-btn-toggle",{staticClass:"mt-2",attrs:{dense:"",mandatory:"",tile:"",dark:e.getLightness(e.$store.getters.current.secondary)<50}},[r("v-btn",{style:{color:e.$store.getters.current.textColor},attrs:{color:e.$store.getters.current.accent,small:""},model:{value:e.graph,callback:function(t){e.graph=t},expression:"graph"}},[e._v(" Graph ")]),r("v-btn",{style:{color:e.$store.getters.current.textColor},attrs:{color:e.$store.getters.current.accent,small:""}},[e._v(" Pie ")])],1)],1)],1),r("v-fade-transition",{attrs:{"leave-absolute":"","hide-on-leave":""}},[e.graph?r("div",[r("v-btn",{staticClass:"mt-2",staticStyle:{width:"100%",height:"14px","padding-top":"2px","padding-bottom":"2px"},style:{color:e.$store.getters.current.textColor},attrs:{color:e.$store.getters.current.accent,elevation:"0",tile:"",small:""},on:{click:function(){return t.showyaxis=!t.showyaxis}}},[e.showyaxis?r("v-icon",[e._v("mdi-chevron-up")]):e._e(),e.showyaxis?e._e():r("v-icon",[e._v("mdi-chevron-down")]),e._v(" Y-axis ")],1),r("v-expand-transition",[e.showyaxis?r("div",e._l(e.$store.getters.layout.tempoptions.yAxis,(function(t,s){return r("div",{key:s,class:e.$vuetify.breakpoint.mdAndDown?"mt-3":"mt-1"},[s>0?r("div",{staticClass:"mt-2 mb-2",staticStyle:{width:"100%",height:"1px"},style:{backgroundColor:e.$store.getters.current.accent2}}):e._e(),r("v-row",{staticClass:"mr-3",attrs:{dense:""}},[r("v-col",{staticClass:"pa-0",attrs:{cols:"2"}},[r("v-btn",{staticClass:"mt-2",style:{color:e.$store.getters.current.textColor},attrs:{small:"",icon:"",color:e.$store.getters.current.accent},on:{click:function(t){return e.addAxis(s)}}},[r("v-icon",[e._v("mdi-plus")])],1),e.$store.getters.layout.tempoptions.yAxis.length>1?r("v-btn",{staticClass:"mt-2",style:{color:e.$store.getters.current.textColor},attrs:{small:"",icon:"",color:e.$store.getters.current.accent},on:{click:function(t){return e.removeAxis(s)}}},[r("v-icon",[e._v("mdi-minus")])],1):e._e()],1),r("v-col",{staticClass:"pa-0"},[r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pa-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pl-1",style:{color:e.$store.getters.current.textColor}},[e._v(" Name ")])],1),r("v-col",{staticClass:"pa-0",attrs:{cols:e.$vuetify.breakpoint.mdAndDown?12:8}},[r("v-text-field",{staticStyle:{"padding-top":"6px"},attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Name":"",dense:"",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50},model:{value:t.name,callback:function(s){e.$set(t,"name",s)},expression:"line.name"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pa-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pl-1",style:{color:e.$store.getters.current.textColor}},[e._v(" Units ")])],1),r("v-col",{staticClass:"pa-0",attrs:{cols:e.$vuetify.breakpoint.mdAndDown?12:8}},[r("v-select",{staticStyle:{"padding-top":"6px"},attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Units":"",dense:"",items:e.units,value:t.axisLabel?t.axisLabel.unit:0,"item-text":"name","item-value":"idx","item-color":"active",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){return e.setYAxisUnits(t,s)}}})],1)],1)],1)],1)],1)})),0):e._e()]),r("v-btn",{staticClass:"mt-2",staticStyle:{width:"100%",height:"14px","padding-top":"2px","padding-bottom":"2px"},style:{color:e.$store.getters.current.textColor},attrs:{color:e.$store.getters.current.accent,elevation:"0",tile:"",small:""},on:{click:function(){return t.showdatasets=!t.showdatasets}}},[e.showdatasets?r("v-icon",[e._v("mdi-chevron-up")]):e._e(),e.showdatasets?e._e():r("v-icon",[e._v("mdi-chevron-down")]),e._v(" Datasets ")],1),r("v-expand-transition",[e.showdatasets?r("div",e._l(e.$store.getters.layout.tempoptions.series,(function(t,s){return r("div",{key:s,class:e.$vuetify.breakpoint.mdAndDown?"mt-3":"mt-1"},[s>0?r("div",{staticClass:"mt-2 mb-2",staticStyle:{width:"100%",height:"1px"},style:{backgroundColor:e.$store.getters.current.accent2}}):e._e(),r("v-row",{staticClass:"mr-3",attrs:{dense:""}},[r("v-col",{staticClass:"pa-0",attrs:{cols:"2"}},[r("v-btn",{style:{color:e.$store.getters.current.textColor,marginTop:"10px"},attrs:{small:"",icon:"",color:e.$store.getters.current.accent},on:{click:function(t){return e.addSet(s)}}},[r("v-icon",[e._v("mdi-plus")])],1),e.$store.getters.layout.tempoptions.series.length>1?r("v-btn",{style:{color:e.$store.getters.current.textColor,marginTop:"10px"},attrs:{small:"",icon:"",color:e.$store.getters.current.accent},on:{click:function(t){return e.removeSet(s)}}},[r("v-icon",[e._v("mdi-minus")])],1):e._e()],1),r("v-col",{staticClass:"pa-0"},[r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pa-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pl-1",style:{color:e.$store.getters.current.textColor}},[e._v(" Name ")])],1),r("v-col",{staticClass:"pa-0",attrs:{cols:e.$vuetify.breakpoint.mdAndDown?12:8}},[r("v-text-field",{staticStyle:{"padding-top":"6px"},attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Name":"",dense:"",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{input:function(t){return e.$store.getters.layout.tempoptions.legend.data[s]=t}},model:{value:t.name,callback:function(s){e.$set(t,"name",s)},expression:"line.name"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pa-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pl-1",style:{color:e.$store.getters.current.textColor}},[e._v(" Type ")])],1),r("v-col",{staticClass:"pa-0",attrs:{cols:e.$vuetify.breakpoint.mdAndDown?12:8}},[r("v-select",{staticStyle:{"padding-top":"6px"},attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Type":"",dense:"",items:e.graphTypes,"item-value":"val","item-text":"name","item-color":"active",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50},model:{value:t.type,callback:function(s){e.$set(t,"type",s)},expression:"line.type"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pa-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pl-1",style:{color:e.$store.getters.current.textColor}},[e._v(" Dataset ")])],1),r("v-col",{staticClass:"pa-0",attrs:{cols:e.$vuetify.breakpoint.mdAndDown?12:8}},[r("v-select",{staticStyle:{"padding-top":"6px"},attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Dataset":"",dense:"",items:e.datasets,"item-value":"data","item-text":"name","item-color":"active",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(s){return e.datasets.forEach((function(e){s===e.data&&(t.dataId=e.name)}))}},model:{value:t.data,callback:function(s){e.$set(t,"data",s)},expression:"line.data"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pa-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pl-1",style:{color:e.$store.getters.current.textColor}},[e._v(" Y-Axis ")])],1),r("v-col",{staticClass:"pa-0",attrs:{cols:e.$vuetify.breakpoint.mdAndDown?12:8}},[r("v-select",{staticStyle:{"padding-top":"6px"},attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Y-Axis":"",dense:"",items:e.$store.getters.layout.tempoptions.yAxis.map((function(t,e){return{idx:e,data:t}})),value:t.yAxisIndex?t.yAxisIndex:0,"item-text":"data.name","item-value":"idx","item-color":"active",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){return e.setYAxis(t,s)}}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pa-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pl-1",style:{color:e.$store.getters.current.textColor}},[e._v(" Color ")])],1),r("v-col",{staticClass:"pa-0",attrs:{cols:e.$vuetify.breakpoint.mdAndDown?12:8}},[r("v-hover",{scopedSlots:e._u([{key:"default",fn:function(s){var o=s.hover;return[r("div",{staticStyle:{position:"relative",width:"100%",height:"30px",border:"2px solid","margin-top":"9px"},style:{backgroundColor:t.itemStyle.color,borderColor:e.$store.getters.current.textColor}},[r("v-scroll-x-transition",[o?r("v-color-picker",{staticStyle:{position:"absolute","z-index":"99999",top:"-260px",left:"calc(100% + 2px)"},style:{backgroundColor:e.$store.getters.current.secondary},attrs:{elevation:"3","hide-mode-switch":""},model:{value:t.itemStyle.color,callback:function(s){e.$set(t.itemStyle,"color",s)},expression:"line.itemStyle.color"}}):e._e()],1)],1)]}}],null,!0)})],1)],1)],1)],1)],1)})),0):e._e()])],1):e._e()]),r("v-fade-transition",{attrs:{"leave-absolute":"","hide-on-leave":""}},[e.graph?e._e():r("div",e._l(e.$store.getters.layout.temppieoptions.series[0].data,(function(t,s){return r("div",{key:s},[s>0?r("div",{staticClass:"mt-2 mb-2",staticStyle:{width:"100%",height:"1px"},style:{backgroundColor:e.$store.getters.current.accent2}}):e._e(),r("v-row",{staticClass:"mr-3",attrs:{dense:""}},[r("v-col",{staticClass:"pa-0",attrs:{cols:"2"}},[r("v-btn",{style:{color:e.$store.getters.current.textColor,marginTop:"10px"},attrs:{small:"",icon:"",color:e.$store.getters.current.accent},on:{click:function(t){return e.addPieSet(s)}}},[r("v-icon",[e._v("mdi-plus")])],1),e.$store.getters.layout.temppieoptions.series[0].data.length>1?r("v-btn",{style:{color:e.$store.getters.current.textColor,marginTop:"10px"},attrs:{small:"",icon:"",color:e.$store.getters.current.accent},on:{click:function(t){return e.removePieSet(s)}}},[r("v-icon",[e._v("mdi-minus")])],1):e._e()],1),r("v-col",{staticClass:"pa-0"},[r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pa-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pl-1",style:{color:e.$store.getters.current.textColor}},[e._v(" Name ")])],1),r("v-col",{staticClass:"pa-0",attrs:{cols:e.$vuetify.breakpoint.mdAndDown?12:8}},[r("v-text-field",{staticStyle:{"padding-top":"6px"},attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Name":"",dense:"",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{input:function(t){return e.$store.getters.layout.temppieoptions.legend.data[s]=t}},model:{value:t.name,callback:function(s){e.$set(t,"name",s)},expression:"line.name"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pa-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pl-1",style:{color:e.$store.getters.current.textColor}},[e._v(" Dataset ")])],1),r("v-col",{staticClass:"pa-0",attrs:{cols:e.$vuetify.breakpoint.mdAndDown?12:8}},[r("v-select",{staticStyle:{"padding-top":"6px"},attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Dataset":"",dense:"",items:Object.keys(e.$store.getters.data.datasets).map((function(t){return{name:e.translate(t),data:e.$store.getters.data.datasets[t]}})),"item-value":function(t){return t.data[t.data.length-1][1]},"item-text":"name","item-color":"active",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(s){return Object.keys(e.$store.getters.data.datasets).forEach((function(r){s===e.$store.getters.data.datasets[r][e.$store.getters.data.datasets[r].length-1][1]&&(t.dataId=e.translate(r))}))}},model:{value:t.value,callback:function(s){e.$set(t,"value",s)},expression:"line.value"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pa-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pl-1",style:{color:e.$store.getters.current.textColor}},[e._v(" Color ")])],1),r("v-col",{staticClass:"pa-0",attrs:{cols:e.$vuetify.breakpoint.mdAndDown?12:8}},[r("v-hover",{scopedSlots:e._u([{key:"default",fn:function(s){var o=s.hover;return[r("div",{staticStyle:{position:"relative",width:"100%",height:"30px",border:"2px solid","margin-top":"9px"},style:{backgroundColor:t.itemStyle.color,borderColor:e.$store.getters.current.textColor}},[r("v-scroll-x-transition",[o?r("v-color-picker",{staticStyle:{position:"absolute","z-index":"99999",top:"-260px",left:"calc(100% + 2px)"},style:{backgroundColor:e.$store.getters.current.secondary},attrs:{elevation:"3","hide-mode-switch":""},model:{value:t.itemStyle.color,callback:function(s){e.$set(t.itemStyle,"color",s)},expression:"line.itemStyle.color"}}):e._e()],1)],1)]}}],null,!0)})],1)],1)],1)],1)],1)})),0)])],1),e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{attrs:{cols:"8"}},[r("chart",{key:e.prevreload,staticStyle:{width:"100%",left:"0"},attrs:{autoresize:"",options:e.graph?e.$store.getters.layout.tempoptions:e.$store.getters.layout.temppieoptions}})],1)],1),r("v-btn",{style:{color:e.$store.getters.current.textColor,right:"12px",bottom:"12px"},attrs:{absolute:"",tile:"",color:e.$store.getters.current.accent},on:{click:function(){e.$store.commit("addLayoutContainer",e.construct(e.exportgraph(e.graph?e.$store.getters.layout.tempoptions:e.$store.getters.layout.temppieoptions,e.graph?"graph":"pie"))),e.$modal.hide("createGraph")}}},[e._v(" Add Graph ")])],1)],1)],1)],1)},L=[],O=(s("a434"),s("b0c0"),s("b680"),s("ac1f"),s("5319"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("grid-layout",{staticStyle:{width:"100%"},attrs:{layout:t.store.getters.layout.grid,"col-num":24,"row-height":30,margin:[12,12],"is-draggable":!t.store.getters.options.lockGrid,"is-resizable":!t.store.getters.options.lockGrid,"vertical-compact":!0},on:{"update:layout":function(e){return t.$set(t.store.getters.layout,"grid",e)},"layout-updated":t.saveGridChanges}},t._l(t.store.getters.layout.grid,(function(e,r){return s("grid-item",{key:e.i,style:{backgroundColor:t.store.getters.current.secondary+t.store.getters.alpha},attrs:{x:e.x,y:e.y,w:e.w,h:e.h,i:e.i,"drag-allow-from":".vue-draggable-handle","drag-ignore-from":".no-drag"}},[s("v-container",{class:t.store.getters.options.lockGrid?"pa-0":"pa-4",staticStyle:{width:"100%",height:"100%"},attrs:{fluid:""}},[s("chart",{staticClass:"no-drag",staticStyle:{height:"100%",width:"100%"},attrs:{group:"pie"===t.store.getters.layout.charts[t.getIndex(e.i)].type?"":"testing",autoresize:"",options:t.store.getters.layout.charts[t.getIndex(e.i)]}})],1),t.store.getters.options.lockGrid?t._e():s("v-fade-transition",[s("v-hover",{scopedSlots:t._u([{key:"default",fn:function(e){var r=e.hover;return[s("v-icon",{staticClass:"vue-draggable-handle",style:{position:"absolute",color:r?t.store.getters.current.textColor:t.store.getters.current.accent2+"!important",left:"calc(50% - 5px)",width:"10px",top:"1px"},attrs:{dense:"",small:""}},[t._v("mdi-drag-horizontal-variant ")])]}}],null,!0)})],1),t.store.getters.options.lockGrid?t._e():s("v-fade-transition",[s("v-hover",{scopedSlots:t._u([{key:"default",fn:function(e){var o=e.hover;return[s("v-icon",{style:{position:"absolute",color:o?t.store.getters.current.textColor:t.store.getters.current.accent2+"!important",top:"2px",right:"2px"},attrs:{dense:"",small:""},on:{click:function(e){return t.store.commit("removeLayoutContainer",r)}}},[t._v("mdi-close ")])]}}],null,!0)})],1),t.store.getters.options.lockGrid?t._e():s("v-fade-transition",[s("v-hover",{scopedSlots:t._u([{key:"default",fn:function(e){var r=e.hover;return[s("v-icon",{staticClass:"vue-resizable-handle pa-0",style:{position:"absolute",color:r?t.store.getters.current.textColor:t.store.getters.current.accent2+"!important",bottom:"2px",right:"2px",zIndex:1},attrs:{dense:"",small:""}},[t._v("mdi-resize-bottom-right ")])]}}],null,!0)})],1)],1)})),1)}),M=[],B={name:"dashGrid",components:{chart:function(){return s.e("chunk-7577183e").then(s.bind(null,"70e0"))}},data:function(){return{store:n["a"],vuetify:l}},methods:{saveGridChanges:function(){localStorage.dashboardLayout=JSON.stringify(n["a"].getters.layout.grid)},getIndex:function(t){var e=0;return n["a"].getters.layout.grid.forEach((function(s,r){t===s.i&&(e=r)})),e}},mounted:function(){},computed:{update:function(){return n["a"].getters.data.stats}},watch:{update:function(){n["a"].getters.layout.charts.forEach((function(t){"pie"===t.type&&t.series[0].data.forEach((function(t){t.dataId&&(t.value=n["a"].getters.getLastValueOfDataset(Object(c["m"])(t.dataId,!0)))}))}))}}},V=B,T=(s("d048"),s("a523")),N=s("ce87"),P=Object(p["a"])(V,O,M,!1,null,null,null),z=P.exports;h()(P,{VContainer:T["a"],VFadeTransition:b["d"],VHover:N["a"],VIcon:y["a"]});var G=r["default"].extend(z),E={name:"Dashboard",components:{chart:function(){return s.e("chunk-7577183e").then(s.bind(null,"70e0"))}},data:function(){return{graph:!0,showdatasets:!0,showyaxis:!0,prevreload:0,units:[{idx:0,name:"None",arr:[]},{idx:1,name:"Data",arr:c["d"]},{idx:2,name:"Number",arr:c["k"]}],datasets:Object.keys(n["a"].getters.data.datasets).map((function(t){return Object(c["m"])(t)})).sort().map((function(t){return{name:t,data:n["a"].getters.data.datasets[Object(c["m"])(t,!0)]}})),graphTypes:[{name:"Line",val:"line"},{name:"Bar",val:"bar"}],instance:null}},mounted:function(){var t=this;n["a"].getters.options.superSecret&&(this.units=[{idx:0,name:"None",arr:[]},{idx:1,name:"Data",arr:c["d"]},{idx:2,name:"Number",arr:c["k"]},{idx:3,name:"Biscuit",arr:c["b"]}]),this.$nextTick((function(){t.instance=new G,t.instance.$mount(),t.$refs.grid.appendChild(t.instance.$el)}))},beforeDestroy:function(){this.instance.$destroy()},methods:{construct:function(t){return Object(c["c"])(t)},showModal:function(){this.uniqpieindex=0,this.uniqindex=0,this.axisindex=0,n["a"].commit("setTempOptions",Object(c["c"])({type:"graph",title:{left:"center",text:"Title"},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{formatter:"number"}}},legend:{left:"center",show:!0,top:35,data:["Item"]},yAxis:[{type:"value",name:"Axis",scale:!0,offset:0,axisLabel:{unit:2},splitLine:{show:!1}}],series:[{name:"Item",type:"line",data:null,dataId:this.datasets[0].name,yAxisIndex:0,showSymbol:!1,itemStyle:{colorId:"text"}}]})),n["a"].commit("setTempPieOptions",Object(c["c"])({type:"pie",title:{left:"center",text:"Title"},legend:{orient:"vertical",left:0,top:10,show:!0,data:["Item"]},series:[{type:"pie",avoidLabelOverlap:!0,label:{show:!1},labelLine:{show:!1},data:[{value:0,name:"Item",dataId:this.datasets[0].name,itemStyle:{colorId:"text"}}]}]})),this.$modal.show("createGraph")},addSet:function(t){for(var e="0123456789abcdef",s="#",r=0;r<6;r++)s+=e.substr(Math.floor(Math.random()*e.length),1);var o={name:"item "+this.uniqindex++,type:"line",data:this.datasets[0].data,dataId:this.datasets[0].name,yAxisIndex:0,showSymbol:!1,itemStyle:{color:s}};n["a"].getters.layout.tempoptions.series.splice(t+1,0,o),n["a"].getters.layout.tempoptions.legend.data.splice(t+1,0,o.name),this.prevreload=!this.prevreload},removeSet:function(t){n["a"].getters.layout.tempoptions.series.splice(t,1),n["a"].getters.layout.tempoptions.legend.data.splice(t,1),this.prevreload=!this.prevreload},addPieSet:function(t){for(var e="0123456789abcdef",s="#",r=0;r<6;r++)s+=e.substr(Math.floor(Math.random()*e.length),1);var o={name:"item "+this.uniqpieindex++,value:n["a"].getters.getLastValueOfDataset(Object(c["m"])(this.datasets[0].name,!0)),dataId:this.datasets[0].name,itemStyle:{color:s}};n["a"].getters.layout.temppieoptions.series[0].data.splice(t+1,0,o),n["a"].getters.layout.temppieoptions.legend.data.splice(t+1,0,o.name),this.prevreload=!this.prevreload},removePieSet:function(t){n["a"].getters.layout.temppieoptions.series[0].data.splice(t,1),n["a"].getters.layout.temppieoptions.legend.data.splice(t,1),this.prevreload=!this.prevreload},setYAxis:function(t,e){n["a"].getters.layout.tempoptions.series[e].yAxisIndex=t,this.prevreload=!this.prevreload},setYAxisUnits:function(t,e){var s=this;n["a"].getters.layout.tempoptions.yAxis[e].axisLabel=0===t?{formatter:null,unit:0}:{formatter:function(e){return Object(c["g"])(e,s.units[t].arr)},unit:t},this.prevreload=!this.prevreload},addAxis:function(t){n["a"].getters.layout.tempoptions.yAxis.splice(t+1,0,{type:"value",name:"axis "+this.axisindex++,offset:80*(n["a"].getters.layout.tempoptions.yAxis.length-1),scale:!0,max:function(t){return t.max.toFixed(5).replace(/\.?0*$/,"")},min:function(t){return t.min.toFixed(5).replace(/\.?0*$/,"")},axisLine:{lineStyle:{color:n["a"].getters.current.textColor}},axisLabel:{formatter:null,unit:0},splitLine:{show:!1}}),this.prevreload=!this.prevreload},removeAxis:function(t){n["a"].getters.layout.tempoptions.yAxis.splice(t,1),this.prevreload=!this.prevreload},exportgraph:function(t,e){return Object(c["e"])(t,e)},addData:function(){return Object(c["a"])()},getLightness:function(t){return Object(c["h"])(t)},translate:function(t,e){return Object(c["m"])(t,e)},log:function(t){console.log(t)}},computed:{g:function(){return this.graph}},watch:{g:function(){this.prevreload=!this.prevreload}}},R=E,H=s("8336"),J=s("a609"),q=s("ac7c"),F=s("62ad"),U=s("03a4"),Z=s("0fd9"),W=s("b974"),Y=s("e0c7"),K=s("8654"),X=Object(p["a"])(R,I,L,!1,null,null,null),Q=X.exports;h()(X,{VBtn:H["a"],VBtnToggle:J["a"],VCheckbox:q["a"],VCol:F["a"],VColorPicker:U["a"],VContainer:T["a"],VExpandTransition:b["a"],VFadeTransition:b["d"],VHover:N["a"],VIcon:y["a"],VRow:Z["a"],VScrollXTransition:b["f"],VSelect:W["a"],VSubheader:Y["a"],VTextField:K["a"]});var tt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("v-container",{staticStyle:{height:"100%"},style:{color:t.$store.getters.current.textColor},attrs:{fluid:""}},[s("v-container",{staticClass:"pt-0 pb-0",style:{backgroundColor:t.$store.getters.current.secondary+t.$store.getters.alpha},attrs:{fluid:""}},[s("v-row",[s("v-col",[s("h1",{staticClass:"pl-1"},[t._v("Console")])]),s("v-col",[s("v-btn",{staticStyle:{position:"absolute",right:"0","margin-right":"28px","margin-top":"5px"},style:{color:t.$store.getters.current.textColor},attrs:{color:t.$store.getters.current.accent1,elevation:"0",tile:""}},[t._v("Disconnected ")])],1)],1)],1),s("grid-layout",{staticStyle:{width:"calc(100% + 24px)",left:"-12px"},attrs:{layout:t.$store.getters.console.grid,"col-num":24,"row-height":30,margin:[12,12],"is-draggable":t.$store.getters.options.exp_consoleGrid,"is-resizable":t.$store.getters.options.exp_consoleGrid,"vertical-compact":!1},on:{"update:layout":function(e){return t.$set(t.$store.getters.console,"grid",e)},"layout-updated":function(){t.localStorage.consoleLayout=JSON.stringify(t.$store.getters.console.grid)},"layout-ready":function(){return t.$nextTick((function(){return t.$refs.term[0].fit()}))}}},t._l(t.$store.getters.console.grid,(function(e,r){return s("grid-item",{key:r,style:{backgroundColor:t.$store.getters.current.secondary+t.$store.getters.alpha},attrs:{x:e.x,y:e.y,w:e.w,h:e.h,i:e.i,"drag-allow-from":".vue-draggable-handle","drag-ignore-from":".no-drag"},on:{resize:function(e){return t.$refs.term[0].fit()},resized:function(){return t.$nextTick((function(){return t.$refs.term[0].fit()}))}}},[s("v-container",{class:t.$store.getters.options.exp_consoleGrid?"pa-4":"pa-0",staticStyle:{position:"absolute",height:"100%",width:"100%"},attrs:{fluid:""}},[0===e.c?s("xterm",{ref:"term",refInFor:!0,staticStyle:{width:"100%",height:"100%","background-color":"black"}}):t._e(),1===e.c?s("div",{style:{color:t.$store.getters.current.textColor}},[s("v-row",[s("v-col",[s("h3",[t._v("Some Buttons")])]),s("v-col",[s("h3",[t._v("Some Buttons")])]),s("v-col",[s("h3",[t._v("Some Buttons")])]),s("v-col",[s("h3",[t._v("Some Buttons")])]),s("v-col",[s("h3",[t._v("Some Buttons")])])],1)],1):t._e(),2===e.c?s("div",{style:{color:t.$store.getters.current.textColor}},[s("v-container",{attrs:{fluid:""}},[s("v-row",{attrs:{dense:""}},[s("v-col",[s("h3",[t._v("Some Status")])]),s("v-col",[s("h5",[t._v("Probably Online")])])],1),s("v-row",{attrs:{dense:""}},[s("v-col",[s("h3",[t._v("Another Status")])]),s("v-col",[s("h5",[t._v("Maybe Online")])])],1)],1)],1):t._e()],1),t.$store.getters.options.exp_consoleGrid?s("div",[s("v-fade-transition",[s("v-hover",{scopedSlots:t._u([{key:"default",fn:function(e){var r=e.hover;return[s("v-icon",{staticClass:"vue-draggable-handle",style:{position:"absolute",color:r?t.$store.getters.current.textColor:t.$store.getters.current.accent,left:"calc(50% - 5px)",width:"10px"},attrs:{dense:"",small:""}},[t._v("mdi-drag-horizontal-variant ")])]}}],null,!0)})],1),s("v-fade-transition",[s("v-hover",{scopedSlots:t._u([{key:"default",fn:function(e){var r=e.hover;return[s("v-icon",{style:{position:"absolute",color:r?t.$store.getters.current.textColor:t.$store.getters.current.accent,top:"2px",right:"2px"},attrs:{dense:"",small:""}},[t._v("mdi-close ")])]}}],null,!0)})],1),s("v-fade-transition",[s("v-hover",{scopedSlots:t._u([{key:"default",fn:function(e){var r=e.hover;return[s("v-icon",{staticClass:"vue-resizable-handle pa-0",style:{position:"absolute",color:r?t.$store.getters.current.textColor:t.$store.getters.current.accent,bottom:"2px",right:"2px",zIndex:1},attrs:{dense:"",small:""}},[t._v("mdi-resize-bottom-right ")])]}}],null,!0)})],1)],1):t._e()],1)})),1)],1)},et=[],st=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{ref:"term",attrs:{id:t.genid}})},rt=[],ot=(s("caad"),s("2532"),s("fcf3")),at=s("47d0"),nt=(s("abb2"),{name:"xterm",props:["lines"],data:function(){return{genid:"term",term:null,fitaddon:new at["FitAddon"],currentLine:0}},beforeMount:function(){for(var t="",e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",s=0;s<20;s++)t+=e.charAt(Math.floor(Math.random()*e.length));this.genid=t,this.term=new ot["Terminal"]({disableStdin:!1,cursorBlink:!0,cursorStyle:"underline",fontSize:15,fastScrollModifier:"shift",fastScrollSensitivity:5}),this.term.loadAddon(this.fitaddon)},mounted:function(){var t=this;this.currentLine=n["a"].getters.console.data.length,this.term.open(this.$refs.term.$el),window.addEventListener("resize",this.fit),this.$nextTick((function(){return t.fitaddon.fit()})),this.runFakeTerminal(),n["a"].getters.console.data.forEach((function(e){return t.writeMessage(e)}))},beforeDestroy:function(){clearInterval(this),this.term.dispose(),window.removeEventListener("resize",this.fit)},methods:{fit:function(){this.fitaddon.fit()},writeMessage:function(t){var e=t.substr(0,20),s=t.substr(20,5),r=t.substr(26),o="",a="";switch(r.includes("hit cache")||r.includes("cached and served")||r.includes("being served")||r.includes("completed")?a="":r.includes("missed cache")?a="":r.includes("exception")?a="":r.includes("succeeded")||r.includes("committed")?a="":(r.includes("errored")||r.includes("failed")||r.includes("aborted"))&&(a=""),s){case"ERROR":o="";break;case"WARN ":o="";break;case"DEBUG":o="";break}this.term.writeln(e+o+s+" "+a+r+"")},runFakeTerminal:function(){this.term._initialized||(this.term._initialized=!0,this.term.writeln("Welcome to the Web UI console"),this.term.writeln("Anti was super lazy and didnt bother to actually implement a console sync"),this.term.writeln("Go ping him (please don't) to do some more work and stop reading manga"),this.term.writeln(""))},prompt:function(t){t.write("\r\n> ")}},computed:{terchanged:function(){return n["a"].getters.console.data}},watch:{terchanged:function(){for(var t=!1,e=this.currentLine;e<n["a"].getters.console.data.length;e++)this.writeMessage(n["a"].getters.console.data[e]),t=!0;t||this.writeMessage(n["a"].getters.console.data[n["a"].getters.console.data.length-1]),this.currentLine=n["a"].getters.console.data.length}}}),it=nt,lt=(s("a950"),Object(p["a"])(it,st,rt,!1,null,null,null)),ct=lt.exports,dt={name:"Console",components:{Xterm:ct},data:function(){return{localStorage:localStorage}}},ut=dt,pt=Object(p["a"])(ut,tt,et,!1,null,"972e8ab0",null),gt=pt.exports;h()(pt,{VBtn:H["a"],VCol:F["a"],VContainer:T["a"],VFadeTransition:b["d"],VHover:N["a"],VIcon:y["a"],VRow:Z["a"]});var ht=function(){var t=this,e=this,s=e.$createElement,r=e._self._c||s;return r("v-container",{staticStyle:{position:"relative","z-index":"1"},style:{color:e.$store.getters.current.textColor},attrs:{fluid:""}},[r("v-container",{style:{backgroundColor:e.$store.getters.current.secondary+e.$store.getters.alpha},attrs:{fluid:""}},[r("h1",{staticClass:"pl-1"},[e._v("Settings")])]),r("v-container",{staticClass:"pa-3 pb-9 mt-3",style:{backgroundColor:e.$store.getters.current.secondary+e.$store.getters.alpha},attrs:{fluid:""}},[r("h3",[e._v("Web Settings")]),r("div",{staticClass:"mt-2 mb-2",staticStyle:{width:"100%",height:"1px"},style:{backgroundColor:e.$store.getters.current.accent2}}),r("h4",[e._v("Display")]),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{style:{color:e.$store.getters.current.textColor}},[e._v("Theme ")])],1),r("v-col",{staticClass:"pt-2 pb-0",attrs:{cols:"12",md:"8"}},[r("v-select",{attrs:{dense:"",label:e.$vuetify.breakpoint.mdAndDown?"Theme":"",items:e.items,"item-value":"val","item-text":"disp",value:e.$store.state.options.current,"item-color":"active",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){e.$store.commit("setTheme",t),e.$vuetify.theme.themes.light=e.$store.getters.current,e.$vuetify.theme.dark=e.getLightness(e.$store.getters.current.secondary)<50}}})],1)],1),r("v-expand-transition",["custom"===e.$store.getters.options.current&&e.$store.getters.options.superSecret?r("div",{staticStyle:{position:"relative"}},[e._l(Object.keys(e.$store.getters.themes.custom),(function(t,s){return r("div",{key:s},[r("v-row",{staticClass:"pl-3",attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{style:{color:e.$store.getters.current.textColor}},[e._v(e._s(t)+" ")])],1),r("v-col",{staticClass:"pt-02 pb-0",attrs:{cols:"12",md:"8"}},[r("v-hover",{scopedSlots:e._u([{key:"default",fn:function(s){var o=s.hover;return[r("div",{staticStyle:{position:"relative",width:"150px",height:"30px",border:"2px solid"},style:{backgroundColor:e.$store.getters.themes.custom[t],borderColor:e.$store.getters.current.textColor}},[r("v-scroll-x-transition",[o?r("v-color-picker",{staticClass:"textColor--text",staticStyle:{position:"absolute",left:"148px","z-index":"9999"},style:{backgroundColor:e.$store.getters.current.secondary,color:e.$store.getters.current.textColor+"!important"},attrs:{elevation:"3"},on:{input:function(){return e.localStorage.exp_customTheme=JSON.stringify(e.$store.getters.themes.custom)}},model:{value:e.$store.getters.themes.custom[t],callback:function(s){e.$set(e.$store.getters.themes.custom,t,s)},expression:"$store.getters.themes.custom[item]"}}):e._e()],1)],1)]}}],null,!0)})],1)],1)],1)})),r("v-btn",{staticStyle:{position:"absolute",right:"30px",bottom:"2px"},style:{color:e.$store.getters.current.textColor},attrs:{color:e.$store.getters.current.accent},on:{click:function(t){return e.$store.commit("resetCustom")}}},[e._v(" Reset ")])],2):e._e()]),e.$vuetify.breakpoint.mdAndDown?e._e():r("v-row",{attrs:{dense:""}},[r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Show App Bar ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-switch",{attrs:{color:e.$store.getters.current.active,dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){return e.$store.commit("showAppBar",e.showbar)}},model:{value:e.showbar,callback:function(t){e.showbar=t},expression:"showbar"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Background Image ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-switch",{attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Background Image":"",color:e.$store.getters.current.active,dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){return e.$store.commit("setHasBg",e.hasBgImage)}},model:{value:e.hasBgImage,callback:function(t){e.hasBgImage=t},expression:"hasBgImage"}})],1)],1),r("v-expand-transition",[e.hasBgImage?r("div",{staticClass:"pl-3"},[r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{style:{color:e.$store.getters.current.textColor}},[e._v("Image URL ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-text-field",{attrs:{dense:"",label:e.$vuetify.breakpoint.mdAndDown?"Image URL":"",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){return e.$store.commit("setBgUrl",e.bgimg)}},model:{value:e.bgimg,callback:function(t){e.bgimg=t},expression:"bgimg"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{style:{color:e.$store.getters.current.textColor}},[e._v("Transparency ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-slider",{staticClass:"pt-1",attrs:{min:"0",max:"255",label:e.$vuetify.breakpoint.mdAndDown?"Transparency":"","track-color":e.$store.getters.current.accent,"thumb-color":e.$store.getters.current.textColor,"track-fill-color":e.$store.getters.current.active,dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{input:function(t){e.localStorage.backgroundAlpha=e.$store.getters.themes.backgroundAlpha}},model:{value:e.$store.getters.themes.backgroundAlpha,callback:function(t){e.$set(e.$store.getters.themes,"backgroundAlpha",t)},expression:"$store.getters.themes.backgroundAlpha"}})],1)],1)],1):e._e()]),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Lock Dashboard ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-switch",{attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Lock Dashboard":"",color:e.$store.getters.current.active+"!important",dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){e.localStorage.lockGrid=e.$store.getters.options.lockGrid}},model:{value:e.$store.getters.options.lockGrid,callback:function(t){e.$set(e.$store.getters.options,"lockGrid",t)},expression:"$store.getters.options.lockGrid"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-3",style:{color:e.$store.getters.current.textColor}},[e._v("Dashboard ")])],1),r("v-col",{staticClass:"pt-2 pb-0",attrs:{cols:"12",md:"8"}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-btn",{style:{color:e.$store.getters.current.textColor},attrs:{color:e.$store.getters.current.accent},on:{click:function(t){return e.$store.commit("resetLayout")}}},[e._v(" Reset ")]),e.$vuetify.breakpoint.mdAndDown?r("v-btn",{style:{color:e.$store.getters.current.textColor},attrs:{color:e.$store.getters.current.accent},on:{click:function(t){return e.$store.commit("resetLayout")}}},[e._v(" Reset Dashboard ")]):e._e()],1)],1),r("h4",{staticClass:"mt-3"},[e._v("Data")]),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Data Refresh Rate ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-text-field",{attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Data Refresh Rate":"",dark:e.getLightness(e.$store.getters.current.secondary)<50,"error-messages":e.referr[0],color:"textColor",suffix:"ms"},on:{input:function(t){e.checkNan(t,0),e.$store.commit("setRefresh",t)},focusout:function(){return t.updateInterval=e.$store.getters.data.updateInterval}},model:{value:e.updateInterval,callback:function(t){e.updateInterval=t},expression:"updateInterval"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Max Data Points ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-text-field",{attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Max Data Points":"",color:"textColor",dark:e.getLightness(e.$store.getters.current.secondary)<50,"error-messages":e.referr[1]},on:{input:function(t){e.checkNan(t,1),e.$store.commit("setMaxStorePoints",t)},focusout:function(){return t.maxpoints=e.$store.getters.data.maxStorePoints}},model:{value:e.maxpoints,callback:function(t){e.maxpoints=t},expression:"maxpoints"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-2",style:{color:e.$store.getters.current.textColor}},[e._v("Stats ")])],1),r("v-col",{staticClass:"pt-2 pb-0",attrs:{cols:"12",md:"8"}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-btn",{style:{color:e.$store.getters.current.textColor},attrs:{color:e.$store.getters.current.accent},on:{click:function(t){return e.$store.commit("resetStats")}}},[e._v(" Reset ")]),e.$vuetify.breakpoint.mdAndDown?r("v-btn",{style:{color:e.$store.getters.current.textColor},attrs:{color:e.$store.getters.current.accent},on:{click:function(t){return e.$store.commit("resetStats")}}},[e._v(" Reset Stats ")]):e._e()],1)],1),r("v-expand-transition",[e.$store.getters.options.superSecret?r("div",[r("h4",{staticClass:"mt-3"},[e._v("Experimental & WIP")]),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v(" Console Page ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-switch",{attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Console Page":"",color:e.$store.getters.current.active,dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){e.localStorage.exp_showConsole=e.$store.getters.options.exp_showConsole}},model:{value:e.$store.getters.options.exp_showConsole,callback:function(t){e.$set(e.$store.getters.options,"exp_showConsole",t)},expression:"$store.getters.options.exp_showConsole"}})],1)],1),r("v-expand-transition",[e.$store.getters.options.exp_showConsole?r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v(" Console Grid ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-switch",{attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Console Grid":"",color:e.$store.getters.current.active,dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){e.localStorage.exp_consoleGrid=e.$store.getters.options.exp_consoleGrid}},model:{value:e.$store.getters.options.exp_consoleGrid,callback:function(t){e.$set(e.$store.getters.options,"exp_consoleGrid",t)},expression:"$store.getters.options.exp_consoleGrid"}})],1)],1):e._e()],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v(" About Page ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-switch",{attrs:{label:e.$vuetify.breakpoint.mdAndDown?"About Page":"",color:e.$store.getters.current.active,dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){e.localStorage.exp_showAbout=e.$store.getters.options.exp_showAbout}},model:{value:e.$store.getters.options.exp_showAbout,callback:function(t){e.$set(e.$store.getters.options,"exp_showAbout",t)},expression:"$store.getters.options.exp_showAbout"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v(" Client Settings ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-switch",{attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Client Settings":"",color:e.$store.getters.current.active,dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){e.localStorage.exp_showClientSettings=e.$store.getters.options.exp_showClientSettings}},model:{value:e.$store.getters.options.exp_showClientSettings,callback:function(t){e.$set(e.$store.getters.options,"exp_showClientSettings",t)},expression:"$store.getters.options.exp_showClientSettings"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v(" Connect Dashboard Graphs ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-switch",{attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Connect Dashboard Graphs":"",color:e.$store.getters.current.active,dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){e.localStorage.exp_connectGraphs=e.$store.getters.options.exp_connectGraphs}},model:{value:e.$store.getters.options.exp_connectGraphs,callback:function(t){e.$set(e.$store.getters.options,"exp_connectGraphs",t)},expression:"$store.getters.options.exp_connectGraphs"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v(" Show Graph Zoom Sliders ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-switch",{attrs:{label:e.$vuetify.breakpoint.mdAndDown?"Show Graph Zoom Sliders":"",color:e.$store.getters.current.active,dark:e.getLightness(e.$store.getters.current.secondary)<50},on:{change:function(t){e.localStorage.exp_showSlider=e.$store.getters.options.exp_showSlider}},model:{value:e.$store.getters.options.exp_showSlider,callback:function(t){e.$set(e.$store.getters.options,"exp_showSlider",t)},expression:"$store.getters.options.exp_showSlider"}})],1)],1)],1):e._e()])],1),e.$store.getters.options.exp_showClientSettings?r("v-container",{staticClass:"pa-5 mt-3",style:{backgroundColor:e.$store.getters.current.secondary+e.$store.getters.alpha},attrs:{fluid:""}},[r("h3",[e._v("Client Settings (Currently only for creating new settings)")]),r("div",{staticClass:"mt-2 mb-2",staticStyle:{width:"100%",height:"1px"},style:{backgroundColor:e.$store.getters.current.accent2}}),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Client Secret ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-text-field",{attrs:{"error-messages":e.configerrors[0],label:e.$vuetify.breakpoint.mdAndDown?"Client Secret":"",dark:e.getLightness(e.$store.getters.current.secondary)<50,color:"textColor"},model:{value:e.configvals[0],callback:function(t){e.$set(e.configvals,0,t)},expression:"configvals[0]"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Client Host IP ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-text-field",{attrs:{"error-messages":e.configerrors[1],label:e.$vuetify.breakpoint.mdAndDown?"Client Host IP":"",dark:e.getLightness(e.$store.getters.current.secondary)<50,color:"textColor"},model:{value:e.configvals[1],callback:function(t){e.$set(e.configvals,1,t)},expression:"configvals[1]"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Client Port ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-text-field",{attrs:{"error-messages":e.configerrors[2],label:e.$vuetify.breakpoint.mdAndDown?"Client Port":"",dark:e.getLightness(e.$store.getters.current.secondary)<50,color:"textColor"},model:{value:e.configvals[2],callback:function(t){e.$set(e.configvals,2,t)},expression:"configvals[2]"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Max Shutdown Wait Time ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"6"}},[r("v-text-field",{attrs:{"error-messages":e.configerrors[3],label:e.$vuetify.breakpoint.mdAndDown?"Max Shutdown Wait Time":"",dark:e.getLightness(e.$store.getters.current.secondary)<50,color:"textColor"},model:{value:e.msw,callback:function(t){e.msw=t},expression:"msw"}})],1),r("v-col",{staticClass:"pt-6 pb-0",attrs:{cols:"4",md:"2"}},[r("span",[e._v(e._s(e.mswtprev))])])],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Max Threads ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"12",md:"8"}},[r("v-text-field",{attrs:{"error-messages":e.configerrors[4],label:e.$vuetify.breakpoint.mdAndDown?"Max Threads":"",dark:e.getLightness(e.$store.getters.current.secondary)<50,color:"textColor"},model:{value:e.configvals[3],callback:function(t){e.$set(e.configvals,3,t)},expression:"configvals[3]"}})],1)],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Max Cache Size ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"8",md:"6"}},[r("v-text-field",{attrs:{"error-messages":e.configerrors[5],label:e.$vuetify.breakpoint.mdAndDown?"Max Cache Size":"",dark:e.getLightness(e.$store.getters.current.secondary)<50,color:"textColor"},model:{value:e.mcs,callback:function(t){e.mcs=t},expression:"mcs"}})],1),r("v-col",{staticClass:"pt-6 pb-0",attrs:{cols:"4",md:"2"}},[r("span",[e._v(e._s(e.mcsprev))])])],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Max Hourly Bandwith ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"8",md:"6"}},[r("v-text-field",{attrs:{"error-messages":e.configerrors[6],label:e.$vuetify.breakpoint.mdAndDown?"Max Hourly Bandwith":"",dark:e.getLightness(e.$store.getters.current.secondary)<50,color:"textColor"},model:{value:e.mhb,callback:function(t){e.mhb=t},expression:"mhb"}})],1),r("v-col",{staticClass:"pt-6 pb-0",attrs:{cols:"4",md:"2"}},[r("span",[e._v(e._s(e.mhbprev))])])],1),r("v-row",{attrs:{dense:""}},[e.$vuetify.breakpoint.mdAndDown?e._e():r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"4"}},[r("v-subheader",{staticClass:"pt-5",style:{color:e.$store.getters.current.textColor}},[e._v("Max Burst Speed ")])],1),r("v-col",{staticClass:"pt-0 pb-0",attrs:{cols:"8",md:"6"}},[r("v-text-field",{attrs:{"error-messages":e.configerrors[7],label:e.$vuetify.breakpoint.mdAndDown?"Max Burst Speed":"",dark:e.getLightness(e.$store.getters.current.secondary)<50,color:"textColor"},model:{value:e.mbs,callback:function(t){e.mbs=t},expression:"mbs"}})],1),r("v-col",{staticClass:"pt-6 pb-0",attrs:{cols:"4",md:"2"}},[r("span",[e._v(e._s(e.mbsprev))])])],1),r("v-container",{attrs:{fluid:""}},[r("h3",[e._v("Config Result")]),r("v-container",{staticStyle:{"background-color":"#000000",color:"#fff"},attrs:{fluid:""}},[r("p",{staticClass:"mb-0",staticStyle:{"font-family":"monospace"}},[e._v(" {"),r("br"),e._v(' "client_secret": "'+e._s(e.configvals[0])+'",'),r("br"),e._v(' "client_hostname": "'+e._s(e.configvals[1])+'",'),r("br"),e._v(' "client_port": "'+e._s(e.configvals[2])+'",'),r("br"),e._v(' "threads": "'+e._s(e.configvals[3])+'",'),r("br"),e._v(' "graceful_shutdown_wait_seconds": "'+e._s(e.configvals[4])+'",'),r("br"),e._v(' "max_cache_size_in_mebibytes": "'+e._s(e.configvals[5])+'",'),r("br"),e._v(' "max_kilobits_per_second": "'+e._s(e.configvals[6])+'",'),r("br"),e._v(' "max_mebibytes_per_hour": "'+e._s(e.configvals[7])+'",'),r("br"),e._v(" } ")])])],1)],1):e._e(),r("v-hover",{scopedSlots:e._u([{key:"default",fn:function(t){var s=t.hover;return[r("v-btn",{staticStyle:{"z-index":"1000"},style:{position:"absolute",top:"18px",right:"18px",color:e.$store.getters.options.superSecret?e.$store.getters.current.textColor:e.$store.getters.current.secondary},attrs:{small:"",tile:"",elevation:s||e.$store.getters.options.superSecret?1:0,color:e.$store.getters.options.superSecret?e.$store.getters.current.accent:"#00000000"},on:{click:function(){e.dosuperSecret(),e.localStorage.superSecret=e.$store.getters.options.superSecret}}},[e._v(" "+e._s(e.superSecretText)+" ")])]}}])}),e.$store.getters.options.superSecret?r("v-btn",{staticStyle:{"z-index":"1000"},style:{position:"absolute",top:"50px",right:"18px",color:e.$store.getters.options.superSecret?e.$store.getters.current.textColor:e.$store.getters.current.secondary},attrs:{small:"",tile:"",elevation:1,color:e.$store.getters.current.accent},on:{click:function(){e.$store.commit("setOption",["superSecret",!1]),t.superSecretText="",e.localStorage.superSecret=e.$store.getters.options.superSecret}}},[e._v(" Close EXP options ")]):e._e()],1)},mt=[],ft=(s("c975"),["AHHH!!!! YOU FOUND ME!!!","You pushed it....","I-It's not like i m-mind being p-p-pressed","Your pointer is dirty :(","How could you...","Was I that bad at hiding?","I hope you're not trying to find all the messages...","What even is a button?","Do buttons normally talk?","I'm different...","↑ ↓ ↑ ↓ ← → ← → A B A B START","I'm a potato","Heh... Made you click!","PLUSSSSSS ULTRAAAAAAA!!!!!"]),vt={name:"Options",methods:{checkNan:function(t,e){isNaN(t)?this.referr[e]="That is not a number!":this.referr[e]=""},changetext:function(){var t=ft[Math.floor(Math.random()*ft.length)];while(this.superSecretText===t)t=ft[Math.floor(Math.random()*ft.length)];this.superSecretText=t},dosuperSecret:function(){n["a"].commit("setOption",["superSecret",!0]),this.superSecret=!0,n["a"].getters.options.superSecret&&(this.items=[{disp:"Light",val:"light"},{disp:"Dark",val:"dark"},{disp:"Midnight",val:"midnight"},{disp:"I want to die",val:"eyekiller"},{disp:"Custom",val:"custom"}]),this.changetext()},getLightness:function(t){return Object(c["h"])(t)},log:function(t){return console.log(t)}},mounted:function(){("custom"===n["a"].getters.options.current||n["a"].getters.options.superSecret)&&(this.items=[{disp:"Light",val:"light"},{disp:"Dark",val:"dark"},{disp:"Midnight",val:"midnight"},{disp:"I want to die",val:"eyekiller"},{disp:"Custom",val:"custom"}]),n["a"].getters.options.superSecret&&this.changetext()},data:function(){return{items:[{disp:"Light",val:"light"},{disp:"Dark",val:"dark"},{disp:"Midnight",val:"midnight"},{disp:"I want to die",val:"eyekiller"}],mcsprev:"1.049 mb",mcs:1048576,mhbprev:"1.049 mb",mhb:1048576,mbsprev:"1 kps",mbs:1e3,mswtprev:"1 m",msw:60,configvals:["iiesenpaithisisoursecret","0.0.0.0",44300,16,60,1,1,1],configerrors:["","","","","","","",""],hasBgImage:n["a"].getters.hasBgImage,bgimg:n["a"].getters.bgImg,updateInterval:n["a"].getters.data.updateInterval,maxpoints:n["a"].getters.data.maxStorePoints,referr:["",""],showbar:n["a"].getters.showAppBar,localStorage:localStorage,superSecretClickCount:5,superSecret:!1,superSecretText:""}},computed:{hasbg:function(){return n["a"].getters.hasBgImage},bgurl:function(){return n["a"].getters.bgImg},showAppBar:function(){return n["a"].getters.showAppBar},maxbs:function(){return this.mbs},maxhb:function(){return this.mhb},maxcs:function(){return this.mcs},maxsw:function(){return this.msw},configval:function(){return this.configvals},custbg:function(){return n["a"].getters.themes.custom.backgroundColor}},watch:{hasbg:function(){this.hasBgImage=n["a"].getters.hasBgImage},bgurl:function(){this.bgimg=n["a"].getters.bgImg},showAppBar:function(){},maxbs:function(){if(""!==this.mbs){var t=["bps","kbps","mbps","gbps","tbps","pbps","ebps","zbps","ybps"];if(isNaN(this.mbs)){for(var e in t)if(-1!==this.mbs.indexOf(t[e])){var s=parseFloat(this.mbs.replace(t[e],""));for(var r in t){var o=Math.pow(10,3*parseInt(r));s*Math.pow(10,3*parseInt(e))>=o&&(this.mbsprev=(s*Math.pow(10,3*parseInt(e))/o).toPrecision(4)+" "+t[r])}this.configvals[6]=s*Math.pow(10,3*parseInt(e))/1e3}}else{var a=parseInt(this.mbs);for(var n in t){var i=Math.pow(10,3*parseInt(n));a>=i&&(this.mbsprev=(a/i).toPrecision(4)+" "+t[n])}this.configvals[6]=Math.round(a/1e3)}this.configvals[6]<1?this.configerrors[7]="That size is too small!":this.configerrors[7]=""}else this.mbsprev="0 bits/s"},maxhb:function(){if(""===this.mcs)return this.configvals[7]=0,void(this.mcsprev="0 bytes");var t=["b","kb","mb","gb","tb","pb","eb","zb","yb"];if(isNaN(this.mhb)){for(var e in t)if(-1!==this.mhb.indexOf(t[e])){var s=parseFloat(this.mhb.replace(t[e],""));for(var r in t){var o=Math.pow(10,3*parseInt(r));s*Math.pow(10,3*parseInt(e))>=o&&(this.mhbprev=(s*Math.pow(10,3*parseInt(e))/o).toPrecision(4)+" "+t[r])}this.configvals[7]=Math.round(s*Math.pow(10,3*parseInt(e))/1048576)}}else{var a=parseInt(this.mhb);if(0===a)return void(this.mhbprev="0 bytes");for(var n in t){var i=Math.pow(10,3*parseInt(n));a>=i&&(this.mhbprev=(a/i).toPrecision(4)+" "+t[n])}this.configvals[7]=Math.round(a/1048576)}this.configvals[7]<1?this.configerrors[6]="That size is too small!":this.configerrors[6]=""},maxcs:function(){if(""===this.mcs)return this.configvals[5]=0,void(this.mcsprev="0 bytes");var t=["b","kb","mb","gb","tb","pb","eb","zb","yb"];if(isNaN(this.mcs)){for(var e in t)if(-1!==this.mcs.indexOf(t[e])){var s=parseFloat(this.mcs.replace(t[e],""));for(var r in t){var o=Math.pow(10,3*parseInt(r));s*Math.pow(10,3*parseInt(e))>=o&&(this.mcsprev=(s*Math.pow(10,3*parseInt(e))/o).toPrecision(4)+" "+t[r])}this.configvals[5]=Math.round(s*Math.pow(10,3*parseInt(e))/1048576)}}else{var a=parseInt(this.mcs);for(var n in t){var i=Math.pow(10,3*parseInt(n));a>=i&&(this.mcsprev=(a/i).toPrecision(4)+" "+t[n])}this.configvals[5]=Math.round(a/1048576)}this.configvals[5]<1?this.configerrors[5]="That size is too small!":this.configerrors[5]=""},maxsw:function(){if(""===this.msw)return this.configvals[4]=0,void(this.mswtprev="0 seconds");var t=["s","m","h","d"],e=[1,60,3600,86400];if(isNaN(this.msw)){for(var s in t)if(-1!==this.msw.indexOf(t[s])){var r=parseFloat(this.msw.replace(t[s],""));for(var o in e){var a=e[o];r*e[s]>=a&&(this.mswtprev=(r*e[s]/a).toPrecision(4)+" "+t[o])}this.configvals[4]=Math.round(r*e[s])}}else{var n=parseInt(this.msw);for(var i in e){var l=e[i];n>=l&&(this.mswtprev=(n/l).toPrecision(4)+" "+t[i])}this.configvals[4]=Math.round(n)}},configval:function(){-1!==this.configval[0].indexOf(" ")?this.configerrors[0]="Secret can't have spaces!":this.configerrors[0]="",-1!==this.configval[1].indexOf(" ")?this.configerrors[1]="IP can't have spaces!":this.configerrors[1]="",isNaN(this.configval[2])?this.configerrors[2]="Port can't have spaces!":this.configerrors[2]="",this.configval[3]<4?this.configerrors[4]="Max threads can't be less than 4!":isNaN(this.configval[3])?this.configerrors[4]="Max threads should be a number!":this.configerrors[4]=""},custbg:function(){document.body.style.backgroundColor=n["a"].getters.current.backgroundColor}}},bt=vt,yt=(s("1959"),s("ba0d")),xt=s("b73d"),Ct=Object(p["a"])(bt,ht,mt,!1,null,null,null),wt=Ct.exports;h()(Ct,{VBtn:H["a"],VCol:F["a"],VColorPicker:U["a"],VContainer:T["a"],VExpandTransition:b["a"],VHover:N["a"],VRow:Z["a"],VScrollXTransition:b["f"],VSelect:W["a"],VSlider:yt["a"],VSubheader:Y["a"],VSwitch:xt["a"],VTextField:K["a"]});var $t=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("v-container",{style:{color:t.$store.getters.current.textColor},attrs:{fluid:""}},[s("v-container",{style:{backgroundColor:t.$store.getters.current.secondary+t.$store.getters.alpha},attrs:{fluid:""}},[s("h1",{staticClass:"pl-1"},[t._v("Info")])]),s("v-container",{staticClass:"mt-3",style:{backgroundColor:t.$store.getters.current.secondary+t.$store.getters.alpha},attrs:{fluid:""}},t._l(t.infoList,(function(e,r){return s("div",{key:r,staticStyle:{width:"50%"}},[s("h3",[t._v(t._s(e.name))]),s("v-row",{attrs:{dense:""}},[s("v-col",[s("p",[t._v(t._s(e.shortValue))])]),e.longValue?s("v-col",[s("p",[t._v(t._s(e.longValue+(e.unitLabel?" "+e.unitLabel:"")))])]):t._e()],1)],1)})),0),s("v-container",{staticClass:"mt-3",style:{backgroundColor:t.$store.getters.current.secondary+t.$store.getters.alpha},attrs:{fluid:""}},[t._l(t.serverResponse,(function(e,r){return s("div",{key:r,staticStyle:{width:"50%"}},[s("h3",[t._v(t._s(e.name))]),s("v-row",{attrs:{dense:""}},[s("v-col",[s("p",[t._v(t._s(e.value))])])],1)],1)})),s("v-select",{attrs:{label:t.$vuetify.breakpoint.mdAndDown?"Theme":"",items:[{disp:"Minute",val:60},{disp:"Hour",val:3600},{disp:"Day",val:86400}],"item-value":"val","item-text":"disp","item-color":"active",color:"textColor"},model:{value:t.timeframe,callback:function(e){t.timeframe=e},expression:"timeframe"}}),s("h3",[t._v("average hits per hour")]),s("v-row",{attrs:{dense:""}},[s("v-col",[s("p",[t._v(t._s(t.averagePerTime(t.$store.getters.getDataset("cache_hits_c"))))])])],1)],2)],1)},kt=[],St={name:"About",data:function(){return{rel:0,infoList:[{name:"Client Version (Temporary fake data)",shortValue:"1.0.0",longValue:"latest: x.x.x"},{name:"Total Hits",unitLabel:"hits",longValue:n["a"].getters.getLastValueOfDataset("cache_hits"),shortValue:Object(c["g"])(n["a"].getters.getLastValueOfDataset("cache_hits"),c["k"])},{name:"Total Misses",unitLabel:"misses",longValue:n["a"].getters.getLastValueOfDataset("cache_misses"),shortValue:Object(c["g"])(n["a"].getters.getLastValueOfDataset("cache_misses"),c["k"])},{name:"Total Data Sent",unitLabel:"bytes",longValue:n["a"].getters.getLastValueOfDataset("bytes_sent"),shortValue:Object(c["g"])(n["a"].getters.getLastValueOfDataset("bytes_sent"),c["d"])},{name:"Total Requests Served",unitLabel:"requests",longValue:n["a"].getters.getLastValueOfDataset("requests_served"),shortValue:Object(c["g"])(n["a"].getters.getLastValueOfDataset("requests_served"),c["k"])},{name:"Cache Size",unitLabel:"bytes",longValue:n["a"].getters.getLastValueOfDataset("bytes_on_disk"),shortValue:Object(c["g"])(n["a"].getters.getLastValueOfDataset("bytes_on_disk"),c["d"])}],serverResponse:[{name:"Some Client Setting",value:"Whatever that setting was set to"},{name:"Some Client Setting",value:"Whatever that setting was set to"},{name:"Some Client Setting",value:"Whatever that setting was set to"},{name:"Some Client Setting",value:"Whatever that setting was set to"},{name:"Some Client Setting",value:"Whatever that setting was set to"},{name:"Some Client Setting",value:"Whatever that setting was set to"}],timeframe:3600}},methods:{translate:function(t){return Object(c["m"])(t)},averagePerTime:function(t,e){var s=0;return t.forEach((function(t){return s+=parseFloat(t[1])})),Object(c["f"])(s/t.length*this.timeframe,2)}}},_t=St,At=Object(p["a"])(_t,$t,kt,!1,null,"c35f57c6",null),jt=At.exports;h()(At,{VCol:F["a"],VContainer:T["a"],VRow:Z["a"],VSelect:W["a"]});var Dt=s("8c4f"),It=[{path:"/",component:Q},{path:"/cons",component:gt},{path:"/opts",component:wt},{path:"/info",component:jt}];r["default"].use(Dt["a"]);var Lt=new Dt["a"]({routes:It}),Ot=(s("ef97"),s("94b1"),s("c037"),s("007d"),s("627c"),s("d28f"),s("b11c"),s("0a6d"),s("4f22")),Mt=s("9483");Object(Mt["a"])("".concat("","service-worker.js"),{ready:function(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered:function(){console.log("Service worker has been registered.")},cached:function(){console.log("Content has been cached for offline use.")},updatefound:function(){console.log("New content is downloading.")},updated:function(){console.log("New content is available; please refresh.")},offline:function(){console.log("No internet connection found. App is running in offline mode.")},error:function(t){console.error("Error during service worker registration:",t)}});var Bt=s("1881"),Vt=s.n(Bt),Tt=s("c1df"),Nt=s.n(Tt),Pt=s("10a7"),zt=(s("52b6"),s("7be8")),Gt=s.n(zt);if(r["default"].component("overlay-scrollbars",Pt["a"]),r["default"].use(Vt.a,{dynamic:!0,dynamicDefaults:{clickToClose:!0}}),r["default"].use(Gt.a),r["default"].use(Ot["a"]),r["default"].config.productionTip=!1,r["default"].mixin({methods:{updateData:function(){fetch("api/stats").catch((function(t){return console.warn("Response Error: "+t),null})).then((function(t){return t.json().catch((function(t){return console.warn("Response Error: "+t),null}))})).then((function(t){null!==t&&(n["a"].commit("pushStats",t),n["a"].commit("updateDatasets",t),localStorage.stats=JSON.stringify(n["a"].getters.data.stats))})).catch((function(t){console.log(t)}))}}}),localStorage.refreshRate&&n["a"].commit("setRefresh",parseInt(localStorage.refreshRate)),localStorage.stats&&n["a"].getters.data.stats.length<1){n["a"].commit("setStats",JSON.parse(localStorage.stats));var Et=!1;n["a"].getters.data.stats.forEach((function(t,e){e>0&&Nt()(Object.keys(t)[0])<Nt()(Object.keys(n["a"].getters.data.stats[e-1])[0])&&(Et=!0)})),Et&&Object(c["l"])(),Object(c["j"])(n["a"].getters.data.updateInterval,n["a"].getters.data.updateInterval/5),n["a"].commit("setDatasets",Object(c["i"])(JSON.stringify(n["a"].getters.data.stats)))}if(fetch("api/pastStats").then((function(t){return t.json().catch((function(t){return console.warn("Response Error: "+t),null}))})).then((function(t){null!==t&&Object.keys(t).forEach((function(e){n["a"].commit("pushStats",JSON.parse('{"'+e+'": '+JSON.stringify(t[e])+"}"))}))})).catch((function(t){return console.log(t)})),localStorage.hasBackground&&n["a"].commit("setOption",["hasBgImage","true"===localStorage.hasBackground]),localStorage.showAppBar&&n["a"].commit("setOption",["showAppBar","true"===localStorage.showAppBar]),localStorage.theme&&"undefined"!==localStorage.theme?n["a"].commit("setTheme",localStorage.theme):n["a"].commit("setTheme","light"),localStorage.exp_customTheme&&n["a"].commit("setCustom",JSON.parse(localStorage.exp_customTheme)),localStorage.backgroundAlpha&&n["a"].commit("setAlpha",parseInt(localStorage.backgroundAlpha)),localStorage.backgroundURL&&n["a"].commit("setOption",["bgImage",localStorage.backgroundURL]),localStorage.consoleLines&&n["a"].commit("setConsoleData",JSON.parse(localStorage.consoleLines)),localStorage.lockGrid&&n["a"].commit("setOption",["lockGrid","true"===localStorage.lockGrid]),localStorage.exp_connectGraphs&&n["a"].commit("setOption",["exp_connectGraphs","true"===localStorage.exp_connectGraphs]),localStorage.exp_showAbout&&n["a"].commit("setOption",["exp_showAbout","true"===localStorage.exp_showAbout]),localStorage.exp_showConsole&&n["a"].commit("setOption",["exp_showConsole","true"===localStorage.exp_showConsole]),localStorage.exp_consoleGrid&&n["a"].commit("setOption",["exp_consoleGrid","true"===localStorage.exp_consoleGrid]),localStorage.exp_showClientSettings&&n["a"].commit("setOption",["exp_showClientSettings","true"===localStorage.exp_showClientSettings]),localStorage.superSecret&&n["a"].commit("setOption",["superSecret","true"===localStorage.superSecret]),localStorage.dashboardLayout)try{n["a"].commit("setLayout",JSON.parse(localStorage.dashboardLayout)),n["a"].commit("setChart",JSON.parse(localStorage.dashboardCharts).map((function(t){return Object(c["c"])(t)})))}catch(Rt){n["a"].commit("resetLayout"),console.warn("There was an error reading the saved layout:"),console.warn(Rt),console.warn("Using default layout")}else n["a"].commit("resetLayout");new r["default"]({render:function(t){return t(D)},router:Lt,store:n["a"],vuetify:l}).$mount("#app")},"5fb0":function(t,e,s){"use strict";s.d(e,"d",(function(){return i})),s.d(e,"k",(function(){return l})),s.d(e,"b",(function(){return c})),s.d(e,"g",(function(){return d})),s.d(e,"m",(function(){return g})),s.d(e,"h",(function(){return h})),s.d(e,"c",(function(){return m})),s.d(e,"e",(function(){return f})),s.d(e,"i",(function(){return v})),s.d(e,"l",(function(){return b})),s.d(e,"j",(function(){return y})),s.d(e,"f",(function(){return x})),s.d(e,"a",(function(){return C}));s("99af"),s("4160"),s("d81d"),s("a434"),s("b0c0"),s("b680"),s("b64b"),s("ac1f"),s("5319"),s("159b");var r=s("4360"),o=s("c1df"),a=s.n(o),n={requests_served:"Requests Served",requests_served_c:"Change in Requests Served",cache_hits:"Hits",cache_hits_c:"Change in Hits",cache_misses:"Misses",cache_misses_c:"Change in Misses",browser_cached:"Browser Cached",browser_cached_c:"Change in Browser Cached",bytes_sent:"Bytes Sent",bytes_sent_c:"Change in Bytes Sent",bytes_on_disk:"Cache Size",bytes_on_disk_c:"Change in Cache Size"},i=["YB","ZB","EB","PB","TB","GB","MB","KB","B"],l=["d","n","o","S","s","Q","q","t","B","M","K",""],c=["YottaBiscuits","ZettaBiscuits","ExaBiscuits","PetaBiscuits","TeraBiscuits","GigaBiscuits","MegaBiscuits","KiloBiscuits","Biscuits"],d=function(t,e,s){for(var r=Math.abs(parseFloat(t)),o=parseFloat(t)>0?1:-1,a=0;a<e.length;a++){var n=Math.pow(10,3*(e.length-a-1));if(r>=n)return x(r/n*o,s)+" "+e[a]}return x(r*o,s)},u=[[],i,l,c];function p(t){switch(t){case"background":return r["a"].getters.current.backgroundColor;case"text":return r["a"].getters.current.textColor;case"primary":return r["a"].getters.current.primary;case"secondary":return r["a"].getters.current.secondary;case"active":return r["a"].getters.current.active;case"accent":return r["a"].getters.current.accent;case"accent1":return r["a"].getters.current.accent1;case"accent2":return r["a"].getters.current.accent2;case"red":return r["a"].getters.current.red;case"green":return r["a"].getters.current.green;case"yellow":return r["a"].getters.current.yellow;default:}}var g=function(t,e){var s;return e?(Object.keys(n).forEach((function(e){n[e]===t&&(s=e)})),s||t):(s=n[t],s||t)},h=function(t){var e="0x"+t[1]+t[2],s="0x"+t[3]+t[4],r="0x"+t[5]+t[6];e/=255,s/=255,r/=255;var o=(Math.max(e,s,r)+Math.min(e,s,r))/2;return o=+(100*o).toFixed(1),o},m=function(t){var e=JSON.parse(JSON.stringify(t));if("graph"===t.type){e.title.textStyle={color:r["a"].getters.current.textColor},e.backgroundColor=r["a"].getters.current.secondary,e.title.top=4,e.toolbox={orient:"horizontal",top:2,right:0,iconStyle:{color:r["a"].getters.current.accent2,borderColor:"#00000000"},emphasis:{iconStyle:{textPosition:"left",color:r["a"].getters.current.textColor,textBackgroundColor:r["a"].getters.current.secondary,borderColor:"#00000000"}},feature:{dataZoom:{show:!0,yAxisIndex:"none",icon:{zoom:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",back:"M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z"},title:{zoom:"Zoom",back:"Undo"}},restore:{title:"Restore",icon:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"},saveAsImage:{show:!0,title:"Save",icon:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"}}};var s=0;return e.yAxis.forEach((function(t){s+=t.offset?t.offset:0})),e.grid={right:30+s,left:30,bottom:r["a"].getters.options.exp_showSlider?40:10,top:60,containLabel:!0},e.legend.inactiveColor=r["a"].getters.current.accent2,e.legend.textStyle={color:r["a"].getters.current.textColor},e.xAxis={type:"time",axisLine:{lineStyle:{color:r["a"].getters.current.textColor}},splitLine:{lineStyle:{color:r["a"].getters.current.accent1}},axisLabel:{formatter:function(t){return a()(t).format("MMM D|h:mma").replace("|","\n")},splitNumber:10,showMaxLabel:!0,showMinLabel:!0}},e.yAxis.forEach((function(t){t.axisLine={lineStyle:{color:r["a"].getters.current.textColor}},t.axisLabel.formatter=function(e){return d(e,u[t.axisLabel.unit],2)}})),e.tooltip={trigger:"axis",axisPointer:{type:"cross",label:{color:r["a"].getters.current.secondary}},textStyle:{color:r["a"].getters.current.secondary},backgroundColor:r["a"].getters.current.textColor+"f0"},e.tooltip.axisPointer.label.formatter=function(t){return"x"===t.axisDimension&&t.seriesData[0]&&t.seriesData[0].data?a()(t.seriesData[0].data[0]).format("MMM D, h:mm:ssa"):d(t.value,u[e.yAxis[t.axisIndex].axisLabel.unit],4)},e.series.forEach((function(t){t.dataId&&(t.data=r["a"].getters.getDataset(g(t.dataId,!0))),t.areaStyle={opacity:.05},t.itemStyle.colorId&&(t.itemStyle.color=p(t.itemStyle.colorId))})),e.dataZoom=[{type:"inside"},{show:r["a"].getters.options.exp_showSlider,type:"slider",handleSize:"100%",fillerColor:r["a"].getters.current.accent1,handleStyle:{color:r["a"].getters.current.textColor},dataBackground:{lineStyle:{color:r["a"].getters.current.textColor},areaStyle:{color:r["a"].getters.current.accent}},textStyle:{color:r["a"].getters.current.textColor}}],r["a"].watch((function(t){return t.options.exp_showSlider}),(function(){e.dataZoom[1].show=r["a"].getters.options.exp_showSlider,e.grid.bottom=r["a"].getters.options.exp_showSlider?40:10})),r["a"].watch((function(t){return t.options.current}),(function(t){e.dataZoom[1].fillerColor=r["a"].getters.themes[t].accent1,e.dataZoom[1].textStyle.color=r["a"].getters.themes[t].textColor,e.dataZoom[1].dataBackground.areaStyle.color=r["a"].getters.themes[t].accent,e.dataZoom[1].dataBackground.lineStyle.color=r["a"].getters.themes[t].textColor,e.dataZoom[1].handleStyle.color=r["a"].getters.themes[t].textColor,e.series.forEach((function(t){t.itemStyle.colorId&&(t.itemStyle.color=p(t.itemStyle.colorId))})),e.yAxis.forEach((function(e){e.axisLine.lineStyle.color=r["a"].getters.themes[t].textColor})),e.xAxis.splitLine.lineStyle.color=r["a"].getters.themes[t].accent1,e.xAxis.axisLine.lineStyle.color=r["a"].getters.themes[t].textColor,e.tooltip.axisPointer.label.color=r["a"].getters.themes[t].secondary,e.tooltip.textStyle.color=r["a"].getters.themes[t].secondary,e.tooltip.backgroundColor=r["a"].getters.themes[t].textColor+"f0",e.legend.inactiveColor=r["a"].getters.themes[t].accent2,e.legend.textStyle.color=r["a"].getters.themes[t].textColor,e.toolbox.iconStyle.color=r["a"].getters.themes[t].accent2,e.toolbox.emphasis.iconStyle.color=r["a"].getters.themes[t].textColor,e.toolbox.emphasis.iconStyle.textBackgroundColor=r["a"].getters.themes[t].secondary,e.title.textStyle.color=r["a"].getters.themes[t].textColor,e.backgroundColor=r["a"].getters.themes[t].secondary})),e}return"pie"===t.type?(e.title.textStyle={color:r["a"].getters.current.textColor},e.backgroundColor=r["a"].getters.current.secondary,e.toolbox={orient:"vertical",top:2,right:0,iconStyle:{color:r["a"].getters.current.accent2,borderColor:"#00000000"},emphasis:{iconStyle:{textPosition:"left",color:r["a"].getters.current.textColor,textBackgroundColor:r["a"].getters.current.secondary,borderColor:"#00000000"}},feature:{saveAsImage:{show:!0,title:"Save",icon:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"}}},e.title.top=4,e.legend.inactiveColor=r["a"].getters.current.accent2,e.legend.textStyle={color:r["a"].getters.current.textColor},e.tooltip={trigger:"item",formatter:" {b}<br/>{c} ({d}%)",textStyle:{color:r["a"].getters.current.secondary},backgroundColor:r["a"].getters.current.textColor+"f0"},e.series[0].data.forEach((function(t){t.dataId&&(t.value=r["a"].getters.getLastValueOfDataset(g(t.dataId,!0))),t.itemStyle.colorId&&(t.itemStyle.color=p(t.itemStyle.colorId))})),r["a"].watch((function(t){return t.options.current}),(function(t){e.series[0].data.forEach((function(t){t.itemStyle.colorId&&(t.itemStyle.color=p(t.itemStyle.colorId))})),e.tooltip.textStyle.color=r["a"].getters.themes[t].secondary,e.tooltip.backgroundColor=r["a"].getters.themes[t].textColor+"f0",e.legend.inactiveColor=r["a"].getters.themes[t].accent2,e.legend.textStyle.color=r["a"].getters.themes[t].textColor,e.toolbox.iconStyle.color=r["a"].getters.themes[t].accent2,e.toolbox.emphasis.iconStyle.color=r["a"].getters.themes[t].textColor,e.toolbox.emphasis.iconStyle.textBackgroundColor=r["a"].getters.themes[t].secondary,e.title.textStyle.color=r["a"].getters.themes[t].textColor,e.backgroundColor=r["a"].getters.themes[t].secondary})),e):{}},f=function(t,e){if("graph"===e){var s={type:e,title:{left:"center",text:t.title.text},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{formatter:"number"}}},legend:{left:t.legend.left,show:t.legend.show,top:t.legend.top,data:t.legend.data},yAxis:t.yAxis.map((function(t){return{type:"value",name:t.name,scale:!0,offset:t.offset?t.offset:0,axisLabel:{unit:t.axisLabel.unit},splitLine:{show:!1}}})),series:t.series.map((function(t){return{name:t.name,type:t.type,data:null,dataId:t.dataId,yAxisIndex:t.yAxisIndex,showSymbol:!1,itemStyle:{color:t.itemStyle.color,colorId:t.colorId}}}))};return s}if("pie"===e){var r={type:e,title:{left:"center",text:t.title.text},legend:{orient:"vertical",left:t.legend.left,show:t.legend.show,top:t.legend.top,data:t.legend.data},series:[{type:"pie",avoidLabelOverlap:!0,label:{show:!1},labelLine:{show:!1},data:t.series[0].data.map((function(t){return{name:t.name,value:0,dataId:t.dataId,itemStyle:{color:t.itemStyle.color}}}))}]};return r}},v=function(t){var e=JSON.parse(t),s=Object.keys(e[0][Object.keys(e[0])[0]]),r={};return s.forEach((function(t){r[t]=[],r[t+"_c"]=[]})),e.forEach((function(t,s){var o=s>0?Object.keys(e[s-1])[0]:null,n=s>0?e[s-1]:null,i=Object.keys(t)[0],l=Object.keys(t[i]),c=new Date(a()(i)+0);l.forEach((function(e){r[e].push([c,t[i][e]]),null!=o?r[e+"_c"].push([c,x((t[i][e]-n[o][e])/(a()(i)-a()(o))*1e3,4)]):r[e+"_c"].push([c,0])}))})),r},b=function(){var t=r["a"].getters.data.stats;function e(t){if(t.length<=1)return t;for(var s=[],r=[],o=t.pop(),n=t.length,i=0;i<n;i++)a()(Object.keys(t[i])[0])<=a()(Object.keys(o)[0])?s.push(t[i]):r.push(t[i]);return[].concat(e(s),o,e(r))}r["a"].commit("setStats",e(t)),localStorage.stats=JSON.stringify(r["a"].getters.data.stats)},y=function(t,e){for(var s=r["a"].getters.data.stats.map((function(t){return t})),o=function(o){var n=s[o],i=o<s.length-1?s[o+1]:null,l=Object.keys(n)[0],c=i?Object.keys(i)[0]:null,d={};if(i&&a()(c)-a()(l)-t>e){var u=Object.keys(n[l]);u.forEach((function(e){var s=(a()(c)-a()(l))/t;a()(c)-a()(l)-t>r["a"].getters.data.updateInterval*r["a"].getters.data.maxStorePoints?d[e]=parseInt(n[l][e]+(i[c][e]-n[l][e])/s*((a()(c).subtract(r["a"].getters.data.updateInterval*r["a"].getters.data.maxStorePoints,"ms")-a()(l))/t)):d[e]=parseInt(n[l][e]+(i[c][e]-n[l][e])/s)})),a()(c)-a()(l)-t>r["a"].getters.data.updateInterval*r["a"].getters.data.maxStorePoints?s.splice(o+1,0,JSON.parse('{"'+new Date(a()(c).subtract(r["a"].getters.data.updateInterval*r["a"].getters.data.maxStorePoints,"ms")+0).toISOString()+'": '+JSON.stringify(d)+',"interpolated" : "true"}')):s.splice(o+1,0,JSON.parse('{"'+new Date(a()(l).add(t,"ms")+0).toISOString()+'": '+JSON.stringify(d)+',"interpolated" : "true"}'))}},n=0;n<s.length;n++)o(n);s.length>r["a"].getters.data.maxStorePoints&&s.splice(0,s.length-r["a"].getters.data.maxStorePoints),r["a"].commit("setStats",s),localStorage.stats=JSON.stringify(r["a"].getters.data.stats)},x=function(t,e){return t.toFixed(e||2).replace(/\.?0*$/,"")},C=function(){var t={cache_hits:Math.floor(100*Math.random()),cache_misses:Math.floor(100*Math.random()),browser_cached:Math.floor(100*Math.random()),bytes_sent:Math.floor(100*Math.random()),requests_served:Math.floor(100*Math.random()),bytes_on_disk:Math.floor(100*Math.random())},e=(new Date).toISOString(),s='{"'+e+'" :'+JSON.stringify(t)+"}";r["a"].commit("pushStats",JSON.parse(s)),localStorage.stats=JSON.stringify(r["a"].getters.data.stats),r["a"].commit("updateDatasets",s)}},a950:function(t,e,s){"use strict";var r=s("0134"),o=s.n(r);o.a},ab65:function(t,e,s){},d048:function(t,e,s){"use strict";var r=s("ab65"),o=s.n(r);o.a},dbf5:function(t,e,s){}});
//# sourceMappingURL=app.0c79c898.js.map