mirror of
https://github.com/fatedier/frp.git
synced 2024-12-14 02:09:13 +08:00
1 line
1.3 MiB
JavaScript
1 line
1.3 MiB
JavaScript
|
webpackJsonp([0],[function(e,t){function i(e,t){q[e]=t}function n(e){if(null==e||"object"!=typeof e)return e;var t=e,i=F.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]&&!O(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)||y(l)||y(a)||M(l)||M(a)||k(l)||k(a)||O(l)||O(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 Z||(Z=Y().getContext("2d")),Z}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 d(e,t,i){e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,l(e,t,i)}function p(e){if(e)return"string"!=typeof e&&"number"==typeof e.length}function h(e,t,i){if(e&&t)if(e.forEach&&e.forEach===W)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===$)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===U)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===j)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 b(e,t){var i=G.call(arguments,2);return function(){return e.apply(t,i.concat(G.call(arguments)))}}function x(e){var t=G.call(arguments,1);return function(){return e.apply(this,t.concat(G.call(arguments)))}}function y(e){return"[object Array]"===F.call(e)}function _(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(G,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 O(e){return e[X]}function z(e){e&&h(e,function(e,t){this.set(t,e)},this)}function R(e){return new z(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,W=H.forEach,j=H.filter,G=H.slice,$=H.map,U=H.reduce,q={},Y=function(){return q.createCanvas()};q.createCanvas=function(){return document.createElement("canvas")};var Z,X="__ec_primitive__";z.prototype={constructor:z,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
|