/*! * vconsole-stats-plugin v0.0.4 (https://github.com/smackgg/vconsole-stats) * Copyright 2020, Smackgg * MIT license */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("vconsole-stats-plugin",[],t):"object"==typeof exports?exports["vconsole-stats-plugin"]=t():e["vconsole-stats-plugin"]=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){var o;e.exports=((o=function(){function e(e){return r.appendChild(e.dom),e}function t(e){for(var t=0;ti+1e3&&(l.update(1e3*s/(e-i),100),i=e,s=0,u)){var t=performance.memory;u.update(t.usedJSHeapSize/1048576,t.jsHeapSizeLimit/1048576)}return e},update:function(){a=this.end()},domElement:r,setMode:t}}).Panel=function(e,t,n){var o=1/0,r=0,a=Math.round,i=a(window.devicePixelRatio||1),s=80*i,l=48*i,c=3*i,u=2*i,f=3*i,d=15*i,p=74*i,h=30*i,v=document.createElement("canvas");v.width=s,v.height=l,v.style.cssText="width:80px;height:48px";var m=v.getContext("2d");return m.font="bold "+9*i+"px Helvetica,Arial,sans-serif",m.textBaseline="top",m.fillStyle=n,m.fillRect(0,0,s,l),m.fillStyle=t,m.fillText(e,c,u),m.fillRect(f,d,p,h),m.fillStyle=n,m.globalAlpha=.9,m.fillRect(f,d,p,h),{dom:v,update:function(l,b){o=Math.min(o,l),r=Math.max(r,l),m.fillStyle=n,m.globalAlpha=1,m.fillRect(0,0,s,d),m.fillStyle=t,m.fillText(a(l)+" "+e+" ("+a(o)+"-"+a(r)+")",c,u),m.drawImage(v,f+i,d,p-i,h,f,d,p-i,h),m.fillRect(f+p-i,d,i,h),m.fillStyle=n,m.globalAlpha=.9,m.fillRect(f+p-i,d,i,a((1-l/b)*h))}}},o)},function(e,t,n){"use strict";n.r(t);n(2);var o=n(0),r=n.n(o);function a(e,t){for(var n=0;n\n

\n \n : Frames rendered in the last second. The higher the number the better.\n

\n

\n \n : Milliseconds needed to render a frame. The lower the number the better..\n

\n

\n \n : MB MBytes of allocated memory. (Run Chrome with --enable-precise-memory-info).\n

\n ')})),t.on("addTool",(function(t){t([{name:"Show Stats",onClick:e.show},{name:"Close Stats",onClick:e.close}])})),this.vConsole.addPlugin(t),t}}])&&a(t.prototype,n),o&&a(t,o),e}();window.VConsoleStatsPlugin=i,t.default=i},function(e,t,n){var o=n(3);"string"==typeof o&&(o=[[e.i,o,""]]);n(5)(o,{});o.locals&&(e.exports=o.locals)},function(e,t,n){(t=n(4)(!1)).push([e.i,".vc-stats-button {\n margin: 10px 10px;\n background-color: #fbf9fe;\n padding: 2px 4px;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var r=(i=o,s=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),a=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([r]).join("\n")}var i,s,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(o)for(var a=0;a=0&&l.splice(t,1)}function p(e){var t=document.createElement("style");return t.type="text/css",f(e,t),t}function h(e,t){var n,o,r;if(t.singleton){var a=s++;n=i||(i=p(t)),o=b.bind(null,n,a,!1),r=b.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return t.rel="stylesheet",f(e,t),t}(t),o=g.bind(null,n),r=function(){d(n),n.href&&URL.revokeObjectURL(n.href)}):(n=p(t),o=y.bind(null,n),r=function(){d(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");void 0===(t=t||{}).singleton&&(t.singleton=r()),void 0===t.insertAt&&(t.insertAt="bottom");var o=u(e);return c(o,t),function(e){for(var r=[],a=0;a