2 lines
1.3 MiB
JavaScript
2 lines
1.3 MiB
JavaScript
/*! For license information please see Image.js.LICENSE.txt */
|
|||
|
|
(()=>{var __webpack_modules__={94148(e,t,r){"use strict";var n=r(65606);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function o(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=function(e){if("object"!==i(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===i(t)?t:String(t)}var u,l,c=r(69597).codes,f=c.ERR_AMBIGUOUS_ARGUMENT,h=c.ERR_INVALID_ARG_TYPE,d=c.ERR_INVALID_ARG_VALUE,p=c.ERR_INVALID_RETURN_VALUE,m=c.ERR_MISSING_ARGS,g=r(3918),b=r(40537).inspect,y=r(40537).types,_=y.isPromise,v=y.isRegExp,w=r(11514)(),x=r(9394)(),k=r(38075)("RegExp.prototype.test");function B(){var e=r(82299);u=e.isDeepEqual,l=e.isDeepStrictEqual}new Map;var E=!1,S=e.exports=P,A={};function C(e){if(e.message instanceof Error)throw e.message;throw new g(e)}function I(e,t,r,n){if(!r){var i=!1;if(0===t)i=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var a=new g({actual:r,expected:!0,message:n,operator:"==",stackStartFn:e});throw a.generatedMessage=i,a}}function P(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];I.apply(void 0,[P,t.length].concat(t))}S.fail=function e(t,r,i,a,o){var s,u=arguments.length;if(0===u?s="Failed":1===u?(i=t,t=void 0):(!1===E&&(E=!0,(n.emitWarning?n.emitWarning:console.warn.bind(console))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")),2===u&&(a="!=")),i instanceof Error)throw i;var l={actual:t,expected:r,operator:void 0===a?"fail":a,stackStartFn:o||e};void 0!==i&&(l.message=i);var c=new g(l);throw s&&(c.message=s,c.generatedMessage=!0),c},S.AssertionError=g,S.ok=P,S.equal=function e(t,r,n){if(arguments.length<2)throw new m("actual","expected");t!=r&&C({actual:t,expected:r,message:n,operator:"==",stackStartFn:e})},S.notEqual=function e(t,r,n){if(arguments.length<2)throw new m("actual","expected");t==r&&C({actual:t,expected:r,message:n,operator:"!=",stackStartFn:e})},S.deepEqual=function e(t,r,n){if(arguments.length<2)throw new m("actual","expected");void 0===u&&B(),u(t,r)||C({actual:t,expected:r,message:n,operator:"deepEqual",stackStartFn:e})},S.notDeepEqual=function e(t,r,n){if(arguments.length<2)throw new m("actual","expected");void 0===u&&B(),u(t,r)&&C({actual:t,expected:r,message:n,operator:"notDeepEqual",stackStartFn:e})},S.deepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new m("actual","expected");void 0===u&&B(),l(t,r)||C({actual:t,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:e})},S.notDeepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new m("actual","expected");void 0===u&&B(),l(t,r)&&C({actual:t,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:e})},S.strictEqual=function e(t,r,n){if(arguments.length<2)throw new m("actual","expected");x(t,r)||C({actual:t,expected:r,message:n,operator:"strictEqual",stackStartFn:e})},S.notStrictEqual=function e(t,r,n){if(arguments.length<2)throw new m("actual","expected");x(t,r)&&C({actual:t,expected:r,message:n,operator:"notStrictEqual",stackStartFn:e})};var T=o(function e(t,r,n){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r.forEach(function(e){e in t&&(void 0!==n&&"string"==typeof n[e]&&v(t[e])&&k(t[e],n[e])?i[e]=n[e]:i[e]=t[e])})});function M(e,t,r,n){if("function"!=typeof t){if(v(t))return k(t,e);if(2===arguments.length)throw new h("expected",["Function","RegExp"],t);if("object"!==i(e)||null===e){var a=new g({a
|