frp/assets/static/index.js

25 lines
838 KiB
JavaScript
Raw Normal View History

2017-03-28 01:08:04 +08:00
webpackJsonp([0],[function(e,t){function i(e){if(null==e||"object"!=typeof e)return e;var t=e,n=O.call(e);if("[object Array]"===n){t=[];for(var o=0,r=e.length;o<r;o++)t[o]=i(e[o])}else if(E[n])t=e.constructor.from(e);else if(!z[n]&&!D(e)&&!M(e)){t={};for(var a in e)e.hasOwnProperty(a)&&(t[a]=i(e[a]))}return t}function n(e,t,o){if(!A(t)||!A(e))return o?i(t):e;for(var r in t)if(t.hasOwnProperty(r)){var a=e[r],s=t[r];!A(s)||!A(a)||b(s)||b(a)||M(s)||M(a)||S(s)||S(a)||D(s)||D(a)?!o&&r in e||(e[r]=i(t[r],!0)):n(a,s,o)}return e}function o(e,t){for(var i=e[0],o=1,r=e.length;o<r;o++)i=n(i,e[o],t);return i}function r(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function a(e,t,i){for(var n in t)t.hasOwnProperty(n)&&(i?null!=t[n]:null==e[n])&&(e[n]=t[n]);return e}function s(){return document.createElement("canvas")}function l(){return P||(P=U.createCanvas().getContext("2d")),P}function c(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i}return-1}function u(e,t){function i(){}var n=e.prototype;i.prototype=t.prototype,e.prototype=new i;for(var o in n)e.prototype[o]=n[o];e.prototype.constructor=e,e.superClass=t}function h(e,t,i){e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,a(e,t,i)}function d(e){if(e)return"string"!=typeof e&&"number"==typeof e.length}function p(e,t,i){if(e&&t)if(e.forEach&&e.forEach===N)e.forEach(t,i);else if(e.length===+e.length)for(var n=0,o=e.length;n<o;n++)t.call(i,e[n],n,e);else for(var r in e)e.hasOwnProperty(r)&&t.call(i,e[r],r,e)}function f(e,t,i){if(e&&t){if(e.map&&e.map===G)return e.map(t,i);for(var n=[],o=0,r=e.length;o<r;o++)n.push(t.call(i,e[o],o,e));return n}}function g(e,t,i,n){if(e&&t){if(e.reduce&&e.reduce===F)return e.reduce(t,i,n);for(var o=0,r=e.length;o<r;o++)i=t.call(n,i,e[o],o,e);return i}}function m(e,t,i){if(e&&t){if(e.filter&&e.filter===V)return e.filter(t,i);for(var n=[],o=0,r=e.length;o<r;o++)t.call(i,e[o],o,e)&&n.push(e[o]);return n}}function v(e,t,i){if(e&&t)for(var n=0,o=e.length;n<o;n++)if(t.call(i,e[n],n,e))return e[n]}function y(e,t){var i=B.call(arguments,2);return function(){return e.apply(t,i.concat(B.call(arguments)))}}function x(e){var t=B.call(arguments,1);return function(){return e.apply(this,t.concat(B.call(arguments)))}}function b(e){return"[object Array]"===O.call(e)}function _(e){return"function"==typeof e}function w(e){return"[object String]"===O.call(e)}function A(e){var t=typeof e;return"function"===t||!!e&&"object"==t}function S(e){return!!z[O.call(e)]}function M(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}function k(e){return e!==e}function T(e){for(var t=0,i=arguments.length;t<i;t++)if(null!=arguments[t])return arguments[t]}function I(){return Function.call.apply(B,arguments)}function C(e,t){if(!e)throw new Error(t)}function L(e){e[H]=!0}function D(e){return e[H]}var P,z={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},E={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},O=Object.prototype.toString,R=Array.prototype,N=R.forEach,V=R.filter,B=R.slice,G=R.map,F=R.reduce,H="__ec_primitive__",U={inherits:u,mixin:h,clone:i,merge:n,mergeAll:o,extend:r,defaults:a,getContext:l,createCanvas:s,indexOf:c,slice:I,find:v,isArrayLike:d,each:p,map:f,reduce:g,filter:m,bind:y,curry:x,isArray:b,isString:w,isObject:A,isFunction:_,isBuiltInObject:S,isDom:M,eqNaN:k,retrieve:T,assert:C,setAsPrimitive:L,noop:function(){}};e.exports=U},function(e,t,i){(function(t){function n(e){return function(t,i,n){t=t&&t.toLowerCase(),N.prototype[e].call(this,t,i,n)}}function o(){N.call(this)}function r(e,t,i){function n(e,t){return e.prio-t.prio}i=i||{},"string"==typeof t&&(t=$[t]),this.id,this.group,this._dom=e;var r=this._zr=E.init(e,{renderer:i.renderer||"canvas",devicePixelR
2017-03-27 02:21:37 +08:00
* ECharts, a javascript interactive chart library.
*
* Copyright (c) 2015, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/echarts/blob/master/LICENSE.txt
*/
2017-03-28 01:08:04 +08:00
var w=i(13),A=i(447),S=i(230),M=i(22),k=i(448),T=i(12),I=i(14),C=i(90),L=i(30),D=i(2),P=i(5),z=i(51),E=i(180),O=i(0),R=i(27),N=i(39),V=i(100),B=O.each,G=T.parseClassType,F="__flagInMainProcess",H="__optionUpdated",U=/^[a-zA-Z0-9_]+$/;o.prototype.on=n("on"),o.prototype.off=n("off"),o.prototype.one=n("one"),O.mixin(o,N);var j=r.prototype;j._onframe=function(){if(this[H]){var e=this[H].silent;this[F]=!0,W.prepareAndUpdate.call(this),this[F]=!1,this[H]=!1,c.call(this,e),u.call(this,e)}},j.getDom=function(){return this._dom},j.getZr=function(){return this._zr},j.setOption=function(e,t,i){__DEV__&&O.assert(!this[F],"`setOption` should not be called during main process.");var n;if(O.isObject(t)&&(i=t.lazyUpdate,n=t.silent,t=t.notMerge),this[F]=!0,!this._model||t){var o=new k(this._api),r=this._theme;(this._model=new A(null,null,r,o)).init(null,null,r,o)}this.__lastOnlyGraphic=!(!e||!e.graphic),O.each(e,function(e,t){"graphic"!==t&&(this.__lastOnlyGraphic=!1)},this),this._model.setOption(e,J,this.__lastOnlyGraphic),i?(this[H]={silent:n},this[F]=!1):(W.prepareAndUpdate.call(this),this._zr.flush(),this[H]=!1,this[F]=!1,c.call(this,n),u.call(this,n))},j.setTheme=function(){console.log("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},j.getModel=function(){return this._model},j.getOption=function(){return this._model&&this._model.getOption()},j.getWidth=function(){return this._zr.getWidth()},j.getHeight=function(){return this._zr.getHeight()},j.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},j.getRenderedCanvas=function(e){if(w.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr,i=t.storage.getDisplayList();return O.each(i,function(e){e.stopAnimation(!0)}),t.painter.getRenderedCanvas(e)}},j.getDataURL=function(e){e=e||{};var t=e.excludeComponents,i=this._model,n=[],o=this;B(t,function(e){i.eachComponent({mainType:e},function(e){var t=o._componentsMap[e.__viewId];t.group.ignore||(n.push(t),t.group.ignore=!0)})});var r=this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return B(n,function(e){e.group.ignore=!1}),r},j.getConnectedDataURL=function(e){if(w.canvasSupported){var t=this.group,i=Math.min,n=Math.max,o=1/0;if(ie[t]){var r=o,a=o,s=-o,l=-o,c=[],u=e&&e.pixelRatio||1;O.each(te,function(o,u){if(o.group===t){var h=o.getRenderedCanvas(O.clone(e)),d=o.getDom().getBoundingClientRect();r=i(d.left,r),a=i(d.top,a),s=n(d.right,s),l=n(d.bottom,l),c.push({dom:h,left:d.left,top:d.top})}}),r*=u,a*=u,s*=u,l*=u;var h=s-r,d=l-a,p=O.createCanvas();p.width=h,p.height=d;var f=E.init(p);return B(c,function(e){var t=new D.Image({style:{x:e.left*u-r,y:e.top*u-a,image:e.dom}});f.add(t)}),f.refreshImmediately(),p.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},j.convertToPixel=O.curry(a,"convertToPixel"),j.convertFromPixel=O.curry(a,"convertFromPixel"),j.containPixel=function(e,t){var i,n=this._model;return e=P.parseFinder(n,e),O.each(e,function(e,n){n.indexOf("Models")>=0&&O.each(e,function(e){var o=e.coordinateSystem;if(o&&o.containPoint)i|=!!o.containPoint(t);else if("seriesModels"===n){var r=this._chartsMap[e.__viewId];r&&r.containPoint?i|=r.containPoint(t,e):__DEV__&&console.warn(n+": "+(r?"The found component do not support containPoint.":"No view mapping to the found component."))}else __DEV__&&console.warn(n+": containPoint is not supported")},this)},this),!!i},j.getVisual=function(e,t){var i=this._model;e=P.parseFinder(i,e,{defaultMainType:"series"});var n=e.seriesModel;__DEV__&&(n||console.warn("There is no specified seires model"));var o=n.getData(),r=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?o.indexOfRawIndex(e.dataIndex):null;return null!=r?o.getItemVisual(r,t):o.getVisual(t)},j.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},j.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var W={update:function(e){var t=this._model,i=this._api,n=this._coordSysMgr,o=this._zr;if(t){t.restoreData(),n.create(
2017-03-27 02:21:37 +08:00
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/
var o=i(171),r=i(13),a=i(0),s=i(505),l=i(508),c=i(509),u=i(516),h=!r.canvasSupported,d={canvas:i(507)},p={},f={};f.version="3.4.0",f.init=function(e,t){var i=new g(o(),e,t);return p[i.id]=i,i},f.dispose=function(e){if(e)e.dispose();else{for(var t in p)p.hasOwnProperty(t)&&p[t].dispose();p={}}return f},f.getInstance=function(e){return p[e]},f.registerPainter=function(e,t){d[e]=t};var g=function(e,t,i){i=i||{},this.dom=t,this.id=e;var n=this,o=new l,p=i.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");p="vml"}else p&&d[p]||(p="canvas");var f=new d[p](t,o,i);this.storage=o,this.painter=f;var g=r.node?null:new u(f.getViewportRoot());this.handler=new s(o,f,g,f.root),this.animation=new c({stage:{update:a.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=o.delFromMap,v=o.addToMap;o.delFromMap=function(e){var t=o.get(e);m.call(o,e),t&&t.removeSelfFromZr(n)},o.addToMap=function(e){v.call(o,e),e.addSelfToZr(n)}};g.prototype={constructor:g,getId:function(){return this.id},add:function(e){this.storage.addRoot(e),this._needsRefresh=!0},remove:function(e){this.storage.delRoot(e),this._needsRefresh=!0},configLayer:function(e,t){this.painter.configLayer(e,t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){this._needsRefresh&&this.refreshImmediately(),this._needsRefreshHover&&this.refreshHoverImmediately()},addHover:function(e,t){this.painter.addHover&&(this.painter.addHover(e,t),this.refreshHover())},removeHover:function(e){this.painter.removeHover&&(this.painter.removeHover(e),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(e,t){return this.painter.pathToImage(e,t)},setCursorStyle:function(e){this.handler.setCursorStyle(e)},on:function(e,t,i){this.handler.on(e,t,i)},off:function(e,t){this.handler.off(e,t)},trigger:function(e,t){this.handler.trigger(e,t)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,n(this.id)}},e.exports=f},function(e,t,i){"use strict";var n=i(17),o=i(496),r=i(484),a=i.n(r),s=i(487),l=i.n(s),c=i(488),u=i.n(c),h=i(485),d=i.n(h),p=i(486),f=i.n(p);n.default.use(o.a),t.a=new o.a({routes:[{path:"/",name:"Overview",component:a.a},{path:"/proxies/tcp",name:"ProxiesTcp",component:l.a},{path:"/proxies/udp",name:"ProxiesUdp",component:u.a},{path:"/proxies/http",name:"ProxiesHttp",component:d.a},{path:"/proxies/https",name:"ProxiesHttps",component:f.a}]})},function(e,t,i){var n=i(219);"string"==typeof n&&(n=[[e.i,n,""]]);i(160)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){var n=i(220);"string"==typeof n&&(n=[[e.i,n,""]]);i(160)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){i(498);var n=i(37)(i(208),i(490),null,null);e.exports=n.exports},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function i(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnProp
2017-03-27 02:21:37 +08:00
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
2017-03-28 01:08:04 +08:00
var J=i(217),Q=i(480),K=i(481);t.Buffer=r,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,r.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=n(),r.poolSize=8192,r._augment=function(e){return e.__proto__=r.prototype,e},r.from=function(e,t,i){return a(null,e,t,i)},r.TYPED_ARRAY_SUPPORT&&(r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0})),r.alloc=function(e,t,i){return l(null,e,t,i)},r.allocUnsafe=function(e){return c(null,e)},r.allocUnsafeSlow=function(e){return c(null,e)},r.isBuffer=function(e){return!(null==e||!e._isBuffer)},r.compare=function(e,t){if(!r.isBuffer(e)||!r.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,o=0,a=Math.min(i,n);o<a;++o)if(e[o]!==t[o]){i=e[o],n=t[o];break}return i<n?-1:n<i?1:0},r.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},r.concat=function(e,t){if(!K(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return r.alloc(0);var i;if(void 0===t)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var n=r.allocUnsafe(t),o=0;for(i=0;i<e.length;++i){var a=e[i];if(!r.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},r.byteLength=m,r.prototype._isBuffer=!0,r.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},r.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},r.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},r.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?I(this,0,e):v.apply(this,arguments)},r.prototype.equals=function(e){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===r.compare(this,e)},r.prototype.inspect=function(){var e="",i=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(e+=" ... ")),"<Buffer "+e+">"},r.prototype.compare=function(e,t,i,n,o){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||i>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var a=o-n,s=i-t,l=Math.min(a,s),c=this.slice(n,o),u=e.slice(t,i),h=0;h<l;++h)if(c[h]!==u[h]){a=c[h],s=u[h];break}return a<s?-1:s<a?1:0},r.prototype.includes=function(e,t,i){return this.indexOf(e,t,i)!==-1},r.prototype.indexOf=function(e,t,i){return x(this,e,t,i,!0)},r.prototype.lastIndexOf=function(e,t,i){return x(this,e,t,i,!1)},r.prototype.write=function(e,t,i,n){if(void 0===t)n="utf8",i=this.length,t=0;else if(void 0===i&&"string"==typeof t)n=t,i=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(i)?(i|=0,void 0===n&&(n="utf8")):(n=i,i=void 0)}var o=this.length-t;if((void 0===i||i>o)&&(i=o),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var r=!1;;)switch(n){case"hex":return _(this,e,t,i);case"utf