frp/assets/static/index.js

21 lines
1.2 MiB
JavaScript
Raw Normal View History

2018-05-16 02:51:02 +08:00
webpackJsonp([0],[function(e,t){function i(e,t){$[e]=t}function o(e){if(null==e||"object"!=typeof e)return e;var t=e,i=F.call(e);if("[object Array]"===i){t=[];for(var n=0,r=e.length;n<r;n++)t[n]=o(e[n])}else if(V[i]){var a=e.constructor;if(e.constructor.from)t=a.from(e);else{t=new a(e.length);for(var n=0,r=e.length;n<r;n++)t[n]=o(e[n])}}else if(!B[i]&&!z(e)&&!M(e)){t={};for(var l in e)e.hasOwnProperty(l)&&(t[l]=o(e[l]))}return t}function n(e,t,i){if(!S(t)||!S(e))return i?o(t):e;for(var r in t)if(t.hasOwnProperty(r)){var a=e[r],l=t[r];!S(l)||!S(a)||_(l)||_(a)||M(l)||M(a)||k(l)||k(a)||z(l)||z(a)?!i&&r in e||(e[r]=o(t[r],!0)):n(a,l,i)}return e}function r(e,t){for(var i=e[0],o=1,r=e.length;o<r;o++)i=n(i,e[o],t);return i}function a(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function l(e,t,i){for(var o in t)t.hasOwnProperty(o)&&(i?null!=t[o]:null==e[o])&&(e[o]=t[o]);return e}function s(){return Z||(Z=Y().getContext("2d")),Z}function c(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var i=0,o=e.length;i<o;i++)if(e[i]===t)return i}return-1}function u(e,t){function i(){}var o=e.prototype;i.prototype=t.prototype,e.prototype=new i;for(var n in o)e.prototype[n]=o[n];e.prototype.constructor=e,e.superClass=t}function d(e,t,i){e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,l(e,t,i)}function h(e){if(e)return"string"!=typeof e&&"number"==typeof e.length}function p(e,t,i){if(e&&t)if(e.forEach&&e.forEach===G)e.forEach(t,i);else if(e.length===+e.length)for(var o=0,n=e.length;o<n;o++)t.call(i,e[o],o,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===U)return e.map(t,i);for(var o=[],n=0,r=e.length;n<r;n++)o.push(t.call(i,e[n],n,e));return o}}function g(e,t,i,o){if(e&&t){if(e.reduce&&e.reduce===q)return e.reduce(t,i,o);for(var n=0,r=e.length;n<r;n++)i=t.call(o,i,e[n],n,e);return i}}function m(e,t,i){if(e&&t){if(e.filter&&e.filter===W)return e.filter(t,i);for(var o=[],n=0,r=e.length;n<r;n++)t.call(i,e[n],n,e)&&o.push(e[n]);return o}}function v(e,t,i){if(e&&t)for(var o=0,n=e.length;o<n;o++)if(t.call(i,e[o],o,e))return e[o]}function b(e,t){var i=j.call(arguments,2);return function(){return e.apply(t,i.concat(j.call(arguments)))}}function x(e){var t=j.call(arguments,1);return function(){return e.apply(this,t.concat(j.call(arguments)))}}function _(e){return"[object Array]"===F.call(e)}function y(e){return"function"==typeof e}function w(e){return"[object String]"===F.call(e)}function S(e){var t=typeof e;return"function"===t||!!e&&"object"==t}function k(e){return!!B[F.call(e)]}function M(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}function A(e){return e!==e}function C(e){for(var t=0,i=arguments.length;t<i;t++)if(null!=arguments[t])return arguments[t]}function T(e,t){return null!=e?e:t}function I(e,t,i){return null!=e?e:null!=t?t:i}function L(){return Function.call.apply(j,arguments)}function E(e){if("number"==typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function P(e,t){if(!e)throw new Error(t)}function D(e){e[X]=!0}function z(e){return e[X]}function O(e){e&&p(e,function(e,t){this.set(t,e)},this)}function R(e){return new O(e)}function N(){}var B={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},V={"[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},F=Object.prototype.toString,H=Array.prototype,G=H.forEach,W=H.filter,j=H.slice,U=H.map,q=H.reduce,$={},Y=function(){return $.createCanvas()};$.createCanvas=function(){return document.createElement("canvas")};var Z,X="__ec_primitive__";O.prototype={constructor:O,get:function(e){return this["_ec_"+e]},set:function(e,t){return this["_ec_"+e]=t,t},each:function(e,t){void 0!==t&&(e=b(e,t));for(var i in this)this.hasOwn
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
*/
2018-05-16 02:51:02 +08:00
var X=i(312),K=i(625),J=i(626);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=o(),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 s(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,o=t.length,n=0,a=Math.min(i,o);n<a;++n)if(e[n]!==t[n]){i=e[n],o=t[n];break}return i<o?-1:o<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(!J(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 o=r.allocUnsafe(t),n=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(o,n),n+=a.length}return o},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)b(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)b(this,t,t+3),b(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)b(this,t,t+7),b(this,t+1,t+6),b(this,t+2,t+5),b(this,t+3,t+4);return this},r.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?T(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,o,n){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===o&&(o=0),void 0===n&&(n=this.length),t<0||i>e.length||o<0||n>this.length)throw new RangeError("out of range index");if(o>=n&&t>=i)return 0;if(o>=n)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,o>>>=0,n>>>=0,this===e)return 0;for(var a=n-o,l=i-t,s=Math.min(a,l),c=this.slice(o,n),u=e.slice(t,i),d=0;d<s;++d)if(c[d]!==u[d]){a=c[d],l=u[d];break}return a<l?-1:l<a?1:0},r.prototype.includes=function(e,t,i){return-1!==this.indexOf(e,t,i)},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,o){if(void 0===t)o="utf8",i=this.length,t=0;else if(void 0===i&&"string"==typeof t)o=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===o&&(o="utf8")):(o=i,i=void 0)}var n=this.length-t;if((void 0===i||i>n)&&(i=n),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var r=!1;;)switch(o){case"hex":return y(this,e,t,i);case"utf8
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/
function o(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var i="on"+e,o=i in document;if(!o){var a=document.createElement("div");a.setAttribute(i,"return;"),o="function"==typeof a[i]}return!o&&n&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}var n,r=i(628);r.canUseDOM&&(n=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},function(e,t,i){"use strict";function o(e){var t=0,i=0,o=0,n=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),o=t*a,n=i*a,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||n)&&e.deltaMode&&(1==e.deltaMode?(o*=l,n*=l):(o*=s,n*=s)),o&&!t&&(t=o<1?-1:1),n&&!i&&(i=n<1?-1:1),{spinX:t,spinY:i,pixelX:o,pixelY:n}}var n=i(629),r=i(630),a=10,l=40,s=800;o.getEventType=function(){return n.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=o},,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function i(e){return parseFloat(e)||0}function o(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return t.reduce(function(t,o){return t+i(e["border-"+o+"-width"])},0)}function n(e){for(var t=["top","right","bottom","left"],o={},n=0,r=t;n<r.length;n+=1){var a=r[n],l=e["padding-"+a];o[a]=i(l)}return o}function r(e){var t=e.getBBox();return u(0,0,t.width,t.height)}function a(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return w;var a=y(e).getComputedStyle(e),s=n(a),c=s.left+s.right,d=s.top+s.bottom,h=i(a.width),p=i(a.height);if("border-box"===a.boxSizing&&(Math.round(h+c)!==t&&(h-=o(a,"left","right")+c),Math.round(p+d)!==r&&(p-=o(a,"top","bottom")+d)),!l(e)){var f=Math.round(h+c)-t,g=Math.round(p+d)-r;1!==Math.abs(f)&&(h-=f),1!==Math.abs(g)&&(p-=g)}return u(s.left,s.top,h,p)}function l(e){return e===y(e).document.documentElement}function s(e){return h?S(e)?r(e):a(e):w}function c(e){var t=e.x,i=e.y,o=e.width,n=e.height,r="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(r.prototype);return _(a,{x:t,y:i,width:o,height:n,top:i,right:t+o,bottom:n+i,left:t}),a}function u(e,t,i,o){return{x:e,y:t,width:i,height:o}}var d=function(){function e(e,t){var i=-1;return e.some(function(e,o){return e[0]===t&&(i=o,!0)}),i}return"undefined"!=typeof Map?Map:function(){function t(){this.__entries__=[]}var i={size:{configurable:!0}};return i.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var i=e(this.__entries__,t),o=this.__entries__[i];return o&&o[1]},t.prototype.set=function(t,i){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=i:this.__entries__.push([t,i])},t.prototype.delete=function(t){var i=this.__entries__,o=e(i,t);~o&&i.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){var i=this;void 0===t&&(t=null);for(var o=0,n=i.__entries__;o<n.length;o+=1){var r=n[o];e.call(t,r[1],r[0])}},Object.defineProperties(t.prototype,i),t}()}(),h="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,p=function(){return void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")()}(),f=function(){return"function"==typeof requestAnimationFrame?requestAnimationFrame.bind(p):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),g=2,m=function(e,t){function i(){r&&(r=!1,e()),a&&n()}function o(){f(i)}function n(){var e=Date.now();if(r){if(e-l<g)return;a=!0}else r=!0,a=!1,setTimeout(o,t);l=e}var r=!1,a=!1,l=0;return n},v=["top","right","bottom","left","width","height","size","weight"],b="undefined"!=typeof MutationObserver,x=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.r