2022-08-02 15:24:19 +02:00
|
|
|
(function(t,e){"use strict";if(typeof define==="function"&&define.amd){define(e)}else if(typeof exports==="object"){module.exports=e()}else{t.returnExports=e()}})(this,function(){var t=Array;var e=t.prototype;var r=Object;var n=r.prototype;var i=Function;var a=i.prototype;var o=String;var f=o.prototype;var u=Number;var l=u.prototype;var s=e.slice;var c=e.splice;var v=e.push;var p=e.unshift;var h=e.concat;var y=e.join;var d=a.call;var g=a.apply;var b=Math.max;var w=Math.min;var T=Math.floor;var m=Math.abs;var S=Math.pow;var D=Math.round;var x=Math.log;var E=Math.LOG10E;var O=Math.log10||function log10(t){return x(t)*E};var I=n.toString;var j=typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol";var N;var F=Function.prototype.toString,U=/^\s*class /,$=function isES6ClassFn(t){try{var e=F.call(t);var r=e.replace(/\/\/.*\n/g,"");var n=r.replace(/\/\*[.\s\S]*\*\//g,"");var i=n.replace(/\n/gm," ").replace(/ {2}/g," ");return U.test(i)}catch(a){return false}},M=function tryFunctionObject(t){try{if($(t)){return false}F.call(t);return true}catch(e){return false}},C="[object Function]",P="[object GeneratorFunction]",N=function isCallable(t){if(!t){return false}if(typeof t!=="function"&&typeof t!=="object"){return false}if(j){return M(t)}if($(t)){return false}var e=I.call(t);return e===C||e===P};var k;var R=RegExp.prototype.exec,A=function tryRegexExec(t){try{R.call(t);return true}catch(e){return false}},J="[object RegExp]";k=function isRegex(t){if(typeof t!=="object"){return false}return j?A(t):I.call(t)===J};var Y;var z=String.prototype.valueOf,Z=function tryStringObject(t){try{z.call(t);return true}catch(e){return false}},G="[object String]";Y=function isString(t){if(typeof t==="string"){return true}if(typeof t!=="object"){return false}return j?Z(t):I.call(t)===G};var H=r.defineProperty&&function(){try{var t={};r.defineProperty(t,"x",{enumerable:false,value:t});for(var e in t){return false}return t.x===t}catch(n){return false}}();var W=function(t){var e;if(H){e=function(t,e,n,i){if(!i&&e in t){return}r.defineProperty(t,e,{configurable:true,enumerable:false,writable:true,value:n})}}else{e=function(t,e,r,n){if(!n&&e in t){return}t[e]=r}}return function defineProperties(r,n,i){for(var a in n){if(t.call(n,a)){e(r,a,n[a],i)}}}}(n.hasOwnProperty);if(r.defineProperty&&H){var B=function(){};var L={};var X={toString:L};r.defineProperty(B,"prototype",{value:X,writable:false});if((new B).toString!==L){var q=r.defineProperty;var K=r.getOwnPropertyDescriptor;W(r,{defineProperty:function defineProperty(t,e,r){var n=o(e);if(typeof t==="function"&&n==="prototype"){var i=K(t,n);if(i.writable&&!r.writable&&"value"in r){try{t[n]=r.value}catch(a){}}return q(t,n,{configurable:"configurable"in r?r.configurable:i.configurable,enumerable:"enumerable"in r?r.enumerable:i.enumerable,writable:r.writable})}return q(t,n,r)}},true)}}var Q=function isPrimitive(t){var e=typeof t;return t===null||e!=="object"&&e!=="function"};var V=u.isNaN||function isActualNaN(t){return t!==t};var _={ToInteger:function ToInteger(t){var e=+t;if(V(e)){e=0}else if(e!==0&&e!==1/0&&e!==-(1/0)){e=(e>0||-1)*T(m(e))}return e},ToPrimitive:function ToPrimitive(t){var e,r,n;if(Q(t)){return t}r=t.valueOf;if(N(r)){e=r.call(t);if(Q(e)){return e}}n=t.toString;if(N(n)){e=n.call(t);if(Q(e)){return e}}throw new TypeError},ToObject:function(t){if(t==null){throw new TypeError("can't convert "+t+" to object")}return r(t)},ToUint32:function ToUint32(t){return t>>>0}};var tt=function Empty(){};W(a,{bind:function bind(t){var e=this;if(!N(e)){throw new TypeError("Function.prototype.bind called on incompatible "+e)}var n=s.call(arguments,1);var a;var o=function(){if(this instanceof a){var i=g.call(e,this,h.call(n,s.call(arguments)));if(r(i)===i){return i}return this}return g.call(e,t,h.call(n,s.call(arguments)))};var f=b(0,e.length-n.length);var u=[];for(var l=0;l<f;l++){v.call(u,"$"+l)}a=i("binder","return function ("+y.call(u,",")+"){ return binder.apply(this, arguments); }")(o);if(e.prototype){tt.prototype=e.prototype;a.prototype=new tt;tt.prototype=null}return a}});var et=d.bind(n.hasOwn
|