frp/assets/static/index.js

7 lines
921 KiB
JavaScript
Raw Normal View History

2018-01-18 08:26:30 +01:00
webpackJsonp([0],[function(e,t){function i(e,t){Y[e]=t}function n(e){if(null==e||"object"!=typeof e)return e;var t=e,i=G.call(e);if("[object Array]"===i){t=[];for(var o=0,r=e.length;o<r;o++)t[o]=n(e[o])}else if(V[i]){var a=e.constructor;if(e.constructor.from)t=a.from(e);else{t=new a(e.length);for(var o=0,r=e.length;o<r;o++)t[o]=n(e[o])}}else if(!B[i]&&!E(e)&&!M(e)){t={};for(var l in e)e.hasOwnProperty(l)&&(t[l]=n(e[l]))}return t}function o(e,t,i){if(!S(t)||!S(e))return i?n(t):e;for(var r in t)if(t.hasOwnProperty(r)){var a=e[r],l=t[r];!S(l)||!S(a)||b(l)||b(a)||M(l)||M(a)||A(l)||A(a)||E(l)||E(a)?!i&&r in e||(e[r]=n(t[r],!0)):o(a,l,i)}return e}function r(e,t){for(var i=e[0],n=1,r=e.length;n<r;n++)i=o(i,e[n],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 n in t)t.hasOwnProperty(n)&&(i?null!=t[n]:null==e[n])&&(e[n]=t[n]);return e}function s(){return q||(q=X().getContext("2d")),q}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,l(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===F)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===j)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===Z)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===W)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 x(e,t){var i=U.call(arguments,2);return function(){return e.apply(t,i.concat(U.call(arguments)))}}function y(e){var t=U.call(arguments,1);return function(){return e.apply(this,t.concat(U.call(arguments)))}}function b(e){return"[object Array]"===G.call(e)}function _(e){return"function"==typeof e}function w(e){return"[object String]"===G.call(e)}function S(e){var t=typeof e;return"function"===t||!!e&&"object"==t}function A(e){return!!B[G.call(e)]}function M(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}function k(e){return e!==e}function I(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 C(e,t,i){return null!=e?e:null!=t?t:i}function L(){return Function.call.apply(U,arguments)}function D(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 z(e){e[Q]=!0}function E(e){return e[Q]}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},G=Object.prototype.toString,H=Array.prototype,F=H.forEach,W=H.filter,U=H.slice,j=H.map,Z=H.reduce,Y={},X=function(){return Y.createCanvas()};Y.createCanvas=function(){return document.createElement("canvas")};var q,Q="__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=x(e,t));for(var i in this)this.hasOwn
2017-03-26 20:21:37 +02:00
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
2018-01-18 08:26:30 +01:00
var Q=i(279),J=i(587),K=i(588);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 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,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)x(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)x(this,t,t+3),x(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)x(this,t,t+7),x(this,t+1,t+6),x(this,t+2,t+5),x(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,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,l=i-t,s=Math.min(a,l),c=this.slice(n,o),u=e.slice(t,i),h=0;h<s;++h)if(c[h]!==u[h]){a=c[h],l=u[h];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 y(this,e,t,i,!0)},r.prototype.lastIndexOf=function(e,t,i){return y(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"utf8