UNPKG

devexpress-richedit

Version:

DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.

2 lines 1.22 MB
/*! For license information please see pdfkit.min.js.LICENSE.txt */ !function(){var t={29849:function(t,e,r){"use strict";function n(t,e,r,n,i){var o={};Object.keys(n).forEach((function(t){o[t]=n[t]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=r.slice().reverse().reduce((function(r,n){return n&&n(t,e,r)||r}),o);var s=Object.prototype.hasOwnProperty.call(o,"get")||Object.prototype.hasOwnProperty.call(o,"set");return i&&void 0!==o.initializer&&!s&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),s&&(delete o.writable,delete o.initializer,delete o.value),void 0===o.initializer&&(Object.defineProperty(t,e,o),o=null),o}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function s(t){if(Array.isArray(t))return t}function a(t){if(Array.isArray(t))return i(t)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t){this.wrapped=t}function l(t){var e,r;function n(e,r){try{var o=t[e](r),s=o.value,a=s instanceof u;Promise.resolve(a?s.wrapped:s).then((function(t){a?n("next",t):i(o.done?"return":"normal",t)}),(function(t){n("throw",t)}))}catch(t){i("throw",t)}}function i(t,i){switch(t){case"return":e.resolve({value:i,done:!0});break;case"throw":e.reject(i);break;default:e.resolve({value:i,done:!1})}(e=e.next)?n(e.key,e.arg):r=null}this._invoke=function(t,i){return new Promise((function(o,s){var a={key:t,arg:i,resolve:o,reject:s,next:null};r?r=r.next=a:(e=r=a,n(t,i))}))},"function"!=typeof t.return&&(this.return=void 0)}function f(t,e){var r={},n=!1;function i(r,i){return n=!0,i=new Promise((function(e){e(t[r](i))})),{done:!1,value:e(i)}}return"function"==typeof Symbol&&Symbol.iterator&&(r[Symbol.iterator]=function(){return this}),r.next=function(t){return n?(n=!1,t):i("next",t)},"function"==typeof t.throw&&(r.throw=function(t){if(n)throw n=!1,t;return i("throw",t)}),"function"==typeof t.return&&(r.return=function(t){return i("return",t)}),r}function h(t){var e;if("function"==typeof Symbol){if(Symbol.asyncIterator&&null!=(e=t[Symbol.asyncIterator]))return e.call(t);if(Symbol.iterator&&null!=(e=t[Symbol.iterator]))return e.call(t)}throw new TypeError("Object is not async iterable")}function d(t,e,r,n,i,o,s){try{var a=t[o](s),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,i)}function p(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function s(t){d(o,n,i,s,a,"next",t)}function a(t){d(o,n,i,s,a,"throw",t)}s(void 0)}))}}function g(t){return new u(t)}function y(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function b(t,e){if(e.set)return"__destrObj"in e||(e.__destrObj={set value(r){e.set.call(t,r)}}),e.__destrObj;if(!e.writable)throw new TypeError("attempted to set read only private field");return e}function v(t,e){return e.get?e.get.call(t):e.value}function m(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}function x(t,e){if(t!==e)throw new TypeError("Private static access of wrong provenance")}function _(t){throw new Error('Class "'+t+'" cannot be referenced in computed property keys.')}function A(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}function C(t,e){return b(t,A(t,e,"set"))}function k(t,e){return v(t,A(t,e,"get"))}function E(t,e,r){y(t,e),e.set(t,r)}function P(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}r.r(e),r.d(e,{__decorate:function(){return ne},__metadata:function(){return oe},__param:function(){return ie},_instanceof:function(){return Bt},_throw:function(){return Qt},applyDecoratedDescriptor:function(){return n},arrayLikeToArray:function(){return i},arrayWithHoles:function(){return s},arrayWithoutHoles:function(){return a},assertThisInitialized:function(){return c},asyncGenerator:function(){return l},asyncGeneratorDelegate:function(){return f},asyncIterator:function(){return h},asyncToGenerator:function(){return p},awaitAsyncGenerator:function(){return g},awaitValue:function(){return u},checkPrivateRedeclaration:function(){return y},classApplyDescriptorDestructureSet:function(){return b},classApplyDescriptorGet:function(){return v},classApplyDescriptorSet:function(){return m},classCallCheck:function(){return w},classCheckPrivateStaticAccess:function(){return x},classCheckPrivateStaticFieldDescriptor:function(){return S},classNameTDZError:function(){return _},classPrivateFieldDestructureSet:function(){return C},classPrivateFieldGet:function(){return k},classPrivateFieldInit:function(){return E},classPrivateFieldLooseBase:function(){return P},classPrivateFieldLooseKey:function(){return I},classPrivateFieldSet:function(){return T},classPrivateMethodGet:function(){return R},classPrivateMethodInit:function(){return M},classPrivateMethodSet:function(){return D},classStaticPrivateFieldDestructureSet:function(){return F},classStaticPrivateFieldSpecGet:function(){return N},classStaticPrivateFieldSpecSet:function(){return L},construct:function(){return W},createClass:function(){return V},createSuper:function(){return Y},decorate:function(){return nt},defaults:function(){return vt},defineEnumerableProperties:function(){return mt},defineProperty:function(){return wt},extends:function(){return xt},get:function(){return Ct},getPrototypeOf:function(){return H},inherits:function(){return kt},inheritsLoose:function(){return Et},initializerDefineProperty:function(){return Pt},initializerWarningHelper:function(){return Ot},interopRequireDefault:function(){return It},interopRequireWildcard:function(){return Rt},isNativeFunction:function(){return Mt},isNativeReflectConstruct:function(){return X},iterableToArray:function(){return J},iterableToArrayLimit:function(){return Dt},iterableToArrayLimitLoose:function(){return Ft},jsx:function(){return Nt},newArrowCheck:function(){return Lt},nonIterableRest:function(){return Q},nonIterableSpread:function(){return jt},objectSpread:function(){return zt},objectSpreadProps:function(){return Ut},objectWithoutProperties:function(){return Gt},objectWithoutPropertiesLoose:function(){return Wt},possibleConstructorReturn:function(){return K},readOnlyError:function(){return Vt},set:function(){return qt},setPrototypeOf:function(){return z},skipFirstGeneratorNext:function(){return Ht},slicedToArray:function(){return Zt},slicedToArrayLoose:function(){return Kt},superPropBase:function(){return _t},taggedTemplateLiteral:function(){return Yt},taggedTemplateLiteralLoose:function(){return Jt},toArray:function(){return tt},toConsumableArray:function(){return $t},toPrimitive:function(){return et},toPropertyKey:function(){return rt},typeOf:function(){return Z},unsupportedIterableToArray:function(){return $},wrapAsyncGenerator:function(){return te},wrapNativeSuper:function(){return re}}),"function"==typeof Symbol&&Symbol.asyncIterator&&(l.prototype[Symbol.asyncIterator]=function(){return this}),l.prototype.next=function(t){return this._invoke("next",t)},l.prototype.throw=function(t){return this._invoke("throw",t)},l.prototype.return=function(t){return this._invoke("return",t)};var O,B=0;function I(t){return"__private_"+B+++"_"+t}function T(t,e,r){return m(t,A(t,e,"set"),r),r}function R(t,e,r){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return r}function M(t,e){y(t,e),e.add(t)}function D(){throw new TypeError("attempted to reassign private method")}function F(t,e,r){return x(t,e),x(r,"set"),b(t,r)}function N(t,e,r){return x(t,e),x(r,"get"),v(t,r)}function L(t,e,r,n){return x(t,e),x(r,"set"),m(t,r,n),n}function j(t,e){return j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},j(t,e)}function z(t,e){return j(t,e)}function U(t,e,r){return U=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var i=new(Function.bind.apply(t,n));return r&&z(i,r.prototype),i},U.apply(null,arguments)}function W(t,e,r){return U.apply(null,arguments)}function G(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function V(t,e,r){return e&&G(t.prototype,e),r&&G(t,r),t}function X(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function q(t){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},q(t)}function H(t){return q(t)}function Z(t){return t&&t.constructor===Symbol?"symbol":typeof t}function K(t,e){return!e||"object"!==Z(e)&&"function"!=typeof e?c(t):e}function Y(t){var e=X();return function(){var r,n=H(t);if(e){var i=H(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return K(this,r)}}function J(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Q(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $(t,e){if(t){if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}function tt(t){return s(t)||J(t)||$(t,o)||Q()}function et(t,e){if("object"!==Z(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function rt(t){var e=et(t,"string");return"symbol"===Z(e)?e:String(e)}function nt(t,e,r){var n,i,o,s=e((function(t){!function(t,e){["method","field"].forEach((function(r){e.forEach((function(e){e.kind===r&&"own"===e.placement&&ct(t,e)}))}))}(t,a.elements)}),r),a=function(t,e){var r=[],n=[],i={static:[],prototype:[],own:[]};if(t.forEach((function(t){ut(t,i)})),t.forEach((function(t){if(!st(t))return r.push(t);var e=function(t,e){for(var r=[],n=[],i=t.decorators,o=i.length-1;o>=0;o--){var s=e[t.placement];s.splice(s.indexOf(t.key),1);var a=lt(t),c=dt((0,i[o])(a)||a);ut(t=c.element,e),c.finisher&&n.push(c.finisher);var u=c.extras;if(u){for(var l=0;l<u.length;l++)ut(u[l],e);r.push.apply(r,u)}}return{element:t,finishers:n,extras:r}}(t,i);r.push(e.element),r.push.apply(r,e.extras),n.push.apply(n,e.finishers)})),!e)return{elements:r,finishers:n};var o=function(t,e){for(var r=[],n=e.length-1;n>=0;n--){var i=pt(t),o=gt((0,e[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){t=o.elements;for(var s=0;s<t.length-1;s++)for(var a=s+1;a<t.length;a++)if(t[s].key===t[a].key&&t[s].placement===t[a].placement)throw new TypeError("Duplicated element ("+t[s].key+")")}}return{elements:t,finishers:r}}(r,e);return n.push.apply(n,o.finishers),o.finishers=n,o}(function(t){for(var e=[],r=function(t){return"method"===t.kind&&t.key===o.key&&t.placement===o.placement},n=0;n<t.length;n++){var i,o=t[n];if("method"===o.kind&&(i=e.find(r)))if(at(o.descriptor)||at(i.descriptor)){if(st(o)||st(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(st(o)){if(st(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}ot(o,i)}else e.push(o)}return e}(s.d.map(it)),t);return n=s.F,i=a.elements,o=n.prototype,["method","field"].forEach((function(t){i.forEach((function(e){var r=e.placement;e.kind!==t||"static"!==r&&"prototype"!==r||ct("static"===r?n:o,e)}))})),function(t,e){for(var r=0;r<e.length;r++){var n=(0,e[r])(t);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");t=n}}return t}(s.F,a.finishers)}function it(t){var e,r=rt(t.key);"method"===t.kind?(e={value:t.value,writable:!0,configurable:!0,enumerable:!1},Object.defineProperty(t.value,"name",{value:"symbol"===_typeof(r)?"":r,configurable:!0})):"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===t.kind?"field":"method",key:r,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(n.decorators=t.decorators),"field"===t.kind&&(n.initializer=t.value),n}function ot(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function st(t){return t.decorators&&t.decorators.length}function at(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function ct(t,e){var r=e.descriptor;if("field"===e.kind){var n=e.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(t)}}Object.defineProperty(t,e.key,r)}function ut(t,e,r){var n=e[t.placement];if(!r&&-1!==n.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");n.push(t.key)}function lt(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e}function ft(t){if(void 0!==t)return tt(t).map((function(t){var e=ht(t);return yt(t,"finisher","An element descriptor"),yt(t,"extras","An element descriptor"),e}))}function ht(t){var e=String(t.kind);if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var r=rt(t.key),n=String(t.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=t.descriptor;yt(t,"elements","An element descriptor");var o={kind:e,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==e?yt(t,"initializer","A method descriptor"):(yt(i,"get","The property descriptor of a field descriptor"),yt(i,"set","The property descriptor of a field descriptor"),yt(i,"value","The property descriptor of a field descriptor"),o.initializer=t.initializer),o}function dt(t){return{element:ht(t),finisher:bt(t,"finisher"),extras:ft(t.extras)}}function pt(t){var e={kind:"class",elements:t.map(lt)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e}function gt(t){var e=String(t.kind);if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');yt(t,"key","A class descriptor"),yt(t,"placement","A class descriptor"),yt(t,"descriptor","A class descriptor"),yt(t,"initializer","A class descriptor"),yt(t,"extras","A class descriptor");var r=bt(t,"finisher");return{elements:ft(t.elements),finisher:r}}function yt(t,e,r){if(void 0!==t[e])throw new TypeError(r+" can't have a ."+e+" property.")}function bt(t,e){var r=t[e];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+e+"' to be a function");return r}function vt(t,e){for(var r=Object.getOwnPropertyNames(e),n=0;n<r.length;n++){var i=r[n],o=Object.getOwnPropertyDescriptor(e,i);o&&o.configurable&&void 0===t[i]&&Object.defineProperty(t,i,o)}return t}function mt(t,e){for(var r in e){(o=e[r]).configurable=o.enumerable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,r,o)}if(Object.getOwnPropertySymbols)for(var n=Object.getOwnPropertySymbols(e),i=0;i<n.length;i++){var o,s=n[i];(o=e[s]).configurable=o.enumerable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,s,o)}return t}function wt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function St(){return St=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},St.apply(this,arguments)}function xt(){return St.apply(this,arguments)}function _t(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=H(t)););return t}function At(t,e,r){return At="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=_t(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(r||t):i.value}},At(t,e,r)}function Ct(t,e,r){return At(t,e,r)}function kt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&z(t,e)}function Et(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Pt(t,e,r,n){r&&Object.defineProperty(t,e,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function Ot(t,e){throw new Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and set to use loose mode. To use proposal-class-properties in spec mode with decorators, wait for the next major version of decorators in stage 2.")}function Bt(t,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function It(t){return t&&t.__esModule?t:{default:t}}function Tt(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return Tt=function(){return t},t}function Rt(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=Tt();if(e&&e.has(t))return e.get(t);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=n?Object.getOwnPropertyDescriptor(t,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=t[i]}return r.default=t,e&&e.set(t,r),r}function Mt(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function Dt(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o=[],s=!0,a=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);s=!0);}catch(t){a=!0,i=t}finally{try{s||null==r.return||r.return()}finally{if(a)throw i}}return o}}function Ft(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=r){var n=[];for(r=r.call(t),_step;!(_step=r.next()).done&&(n.push(_step.value),!e||n.length!==e););return n}}function Nt(t,e,r,n){O||(O="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var i=t&&t.defaultProps,o=arguments.length-3;if(e||0===o||(e={children:void 0}),e&&i)for(var s in i)void 0===e[s]&&(e[s]=i[s]);else e||(e=i||{});if(1===o)e.children=n;else if(o>1){for(var a=new Array(o),c=0;c<o;c++)a[c]=arguments[c+3];e.children=a}return{$$typeof:O,type:t,key:void 0===r?null:""+r,ref:null,props:e,_owner:null}}function Lt(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}function jt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){wt(t,e,r[e])}))}return t}function Ut(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})),t}function Wt(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}function Gt(t,e){if(null==t)return{};var r,n,i=Wt(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function Vt(t){throw new Error('"'+t+'" is read-only')}function Xt(t,e,r,n){return Xt="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(t,e,r,n){var i,o=_t(t,e);if(o){if((i=Object.getOwnPropertyDescriptor(o,e)).set)return i.set.call(n,r),!0;if(!i.writable)return!1}if(i=Object.getOwnPropertyDescriptor(n,e)){if(!i.writable)return!1;i.value=r,Object.defineProperty(n,e,i)}else wt(n,e,r);return!0},Xt(t,e,r,n)}function qt(t,e,r,n,i){if(!Xt(t,e,r,n||t)&&i)throw new Error("failed to set property");return r}function Ht(t){return function(){var e=t.apply(this,arguments);return e.next(),e}}function Zt(t,e){return s(t)||J(t)||$(t,e)||Q()}function Kt(t,e){return s(t)||Ft(t,e)||$(t,e)||Q()}function Yt(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function Jt(t,e){return e||(e=t.slice(0)),t.raw=e,t}function Qt(t){throw t}function $t(t){return a(t)||J(t)||$(t)||jt()}function te(t){return function(){return new l(t.apply(this,arguments))}}function ee(t){var e="function"==typeof Map?new Map:void 0;return ee=function(t){if(null===t||!Mt(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return W(t,arguments,H(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),z(r,t)},ee(t)}function re(t){return ee(t)}function ne(t,e,r,n){var i,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,r,s):i(e,r))||s);return o>3&&s&&Object.defineProperty(e,r,s),s}function ie(t,e){return function(r,n){e(r,n,t)}}function oe(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError},80867:function(t,e,r){"use strict";var n=r(93385)("ArrayBuffer.prototype.byteLength",!0),i=r(23349);t.exports=function(t){return i(t)?n?n(t):t.byteLength:NaN}},82526:function(t,e,r){"use strict";var n=r(96456);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,s=void 0,s=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===i(s)?s:String(s)),n)}var o,s}function s(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var a,c,u=r(13829).codes,l=u.ERR_AMBIGUOUS_ARGUMENT,f=u.ERR_INVALID_ARG_TYPE,h=u.ERR_INVALID_ARG_VALUE,d=u.ERR_INVALID_RETURN_VALUE,p=u.ERR_MISSING_ARGS,g=r(49128),y=r(42781).inspect,b=r(42781).types,v=b.isPromise,m=b.isRegExp,w=r(57479)(),S=r(84127)(),x=r(93385)("RegExp.prototype.test");new Map;function _(){var t=r(19118);a=t.isDeepEqual,c=t.isDeepStrictEqual}var A=!1,C=t.exports=O,k={};function E(t){if(t.message instanceof Error)throw t.message;throw new g(t)}function P(t,e,r,n){if(!r){var i=!1;if(0===e)i=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var o=new g({actual:r,expected:!0,message:n,operator:"==",stackStartFn:t});throw o.generatedMessage=i,o}}function O(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];P.apply(void 0,[O,e.length].concat(e))}C.fail=function t(e,r,i,o,s){var a,c=arguments.length;if(0===c)a="Failed";else if(1===c)i=e,e=void 0;else{if(!1===A)A=!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===c&&(o="!=")}if(i instanceof Error)throw i;var u={actual:e,expected:r,operator:void 0===o?"fail":o,stackStartFn:s||t};void 0!==i&&(u.message=i);var l=new g(u);throw a&&(l.message=a,l.generatedMessage=!0),l},C.AssertionError=g,C.ok=O,C.equal=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");e!=r&&E({actual:e,expected:r,message:n,operator:"==",stackStartFn:t})},C.notEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");e==r&&E({actual:e,expected:r,message:n,operator:"!=",stackStartFn:t})},C.deepEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===a&&_(),a(e,r)||E({actual:e,expected:r,message:n,operator:"deepEqual",stackStartFn:t})},C.notDeepEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===a&&_(),a(e,r)&&E({actual:e,expected:r,message:n,operator:"notDeepEqual",stackStartFn:t})},C.deepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===a&&_(),c(e,r)||E({actual:e,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:t})},C.notDeepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===a&&_();c(e,r)&&E({actual:e,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:t})},C.strictEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");S(e,r)||E({actual:e,expected:r,message:n,operator:"strictEqual",stackStartFn:t})},C.notStrictEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");S(e,r)&&E({actual:e,expected:r,message:n,operator:"notStrictEqual",stackStartFn:t})};var B=s((function t(e,r,n){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r.forEach((function(t){t in e&&(void 0!==n&&"string"==typeof n[t]&&m(e[t])&&x(e[t],n[t])?i[t]=n[t]:i[t]=e[t])}))}));function I(t,e,r,n){if("function"!=typeof e){if(m(e))return x(e,t);if(2===arguments.length)throw new f("expected",["Function","RegExp"],e);if("object"!==i(t)||null===t){var o=new g({actual:t,expected:e,message:r,operator:"deepStrictEqual",stackStartFn:n});throw o.operator=n.name,o}var s=Object.keys(e);if(e instanceof Error)s.push("name","message");else if(0===s.length)throw new h("error",e,"may not be an empty object");return void 0===a&&_(),s.forEach((function(i){"string"==typeof t[i]&&m(e[i])&&x(e[i],t[i])||function(t,e,r,n,i,o){if(!(r in t)||!c(t[r],e[r])){if(!n){var s=new B(t,i),a=new B(e,i,t),u=new g({actual:s,expected:a,operator:"deepStrictEqual",stackStartFn:o});throw u.actual=t,u.expected=e,u.operator=o.name,u}E({actual:t,expected:e,message:n,operator:o.name,stackStartFn:o})}}(t,e,i,r,s,n)})),!0}return void 0!==e.prototype&&t instanceof e||!Error.isPrototypeOf(e)&&!0===e.call({},t)}function T(t){if("function"!=typeof t)throw new f("fn","Function",t);try{t()}catch(t){return t}return k}function R(t){return v(t)||null!==t&&"object"===i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function M(t){return Promise.resolve().then((function(){var e;if("function"==typeof t){if(!R(e=t()))throw new d("instance of Promise","promiseFn",e)}else{if(!R(t))throw new f("promiseFn",["Function","Promise"],t);e=t}return Promise.resolve().then((function(){return e})).then((function(){return k})).catch((function(t){return t}))}))}function D(t,e,r,n){if("string"==typeof r){if(4===arguments.length)throw new f("error",["Object","Error","Function","RegExp"],r);if("object"===i(e)&&null!==e){if(e.message===r)throw new l("error/message",'The error message "'.concat(e.message,'" is identical to the message.'))}else if(e===r)throw new l("error/message",'The error "'.concat(e,'" is identical to the message.'));n=r,r=void 0}else if(null!=r&&"object"!==i(r)&&"function"!=typeof r)throw new f("error",["Object","Error","Function","RegExp"],r);if(e===k){var o="";r&&r.name&&(o+=" (".concat(r.name,")")),o+=n?": ".concat(n):".";var s="rejects"===t.name?"rejection":"exception";E({actual:void 0,expected:r,operator:t.name,message:"Missing expected ".concat(s).concat(o),stackStartFn:t})}if(r&&!I(e,r,n,t))throw e}function F(t,e,r,n){if(e!==k){if("string"==typeof r&&(n=r,r=void 0),!r||I(e,r)){var i=n?": ".concat(n):".",o="doesNotReject"===t.name?"rejection":"exception";E({actual:e,expected:r,operator:t.name,message:"Got unwanted ".concat(o).concat(i,"\n")+'Actual message: "'.concat(e&&e.message,'"'),stackStartFn:t})}throw e}}function N(t,e,r,n,o){if(!m(e))throw new f("regexp","RegExp",e);var s="match"===o;if("string"!=typeof t||x(e,t)!==s){if(r instanceof Error)throw r;var a=!r;r=r||("string"!=typeof t?'The "string" argument must be of type string. Received type '+"".concat(i(t)," (").concat(y(t),")"):(s?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(y(e),". Input:\n\n").concat(y(t),"\n"));var c=new g({actual:t,expected:e,message:r,operator:o,stackStartFn:n});throw c.generatedMessage=a,c}}function L(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];P.apply(void 0,[L,e.length].concat(e))}C.throws=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];D.apply(void 0,[t,T(e)].concat(n))},C.rejects=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return M(e).then((function(e){return D.apply(void 0,[t,e].concat(n))}))},C.doesNotThrow=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];F.apply(void 0,[t,T(e)].concat(n))},C.doesNotReject=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return M(e).then((function(e){return F.apply(void 0,[t,e].concat(n))}))},C.ifError=function t(e){if(null!=e){var r="ifError got unwanted exception: ";"object"===i(e)&&"string"==typeof e.message?0===e.message.length&&e.constructor?r+=e.constructor.name:r+=e.message:r+=y(e);var n=new g({actual:e,expected:null,operator:"ifError",message:r,stackStartFn:t}),o=e.stack;if("string"==typeof o){var s=o.split("\n");s.shift();for(var a=n.stack.split("\n"),c=0;c<s.length;c++){var u=a.indexOf(s[c]);if(-1!==u){a=a.slice(0,u);break}}n.stack="".concat(a.join("\n"),"\n").concat(s.join("\n"))}throw n}},C.match=function t(e,r,n){N(e,r,n,t,"match")},C.doesNotMatch=function t(e,r,n){N(e,r,n,t,"doesNotMatch")},C.strict=w(L,C,{equal:C.strictEqual,deepEqual:C.deepStrictEqual,notEqual:C.notStrictEqual,notDeepEqual:C.notDeepStrictEqual}),C.strict.strict=C.strict},49128:function(t,e,r){"use strict";var n=r(96456);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){s(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function s(t,e,r){return(e=c(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,c(n.key),n)}}function c(t){var e=function(t,e){if("object"!==y(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===y(e)?e:String(e)}function u(t,e){if(e&&("object"===y(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return l(t)}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){var e="function"==typeof Map?new Map:void 0;return f=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return h(t,arguments,g(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),p(n,t)},f(t)}function h(t,e,r){return h=d()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var i=new(Function.bind.apply(t,n));return r&&p(i,r.prototype),i},h.apply(null,arguments)}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function p(t,e){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},p(t,e)}function g(t){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}var b=r(42781).inspect,v=r(13829).codes.ERR_INVALID_ARG_TYPE;function m(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}var w="",S="",x="",_="",A={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function C(t){var e=Object.keys(t),r=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){r[e]=t[e]})),Object.defineProperty(r,"message",{value:t.message}),r}function k(t){return b(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function E(t,e,r){var i="",o="",s=0,a="",c=!1,u=k(t),l=u.split("\n"),f=k(e).split("\n"),h=0,d="";if("strictEqual"===r&&"object"===y(t)&&"object"===y(e)&&null!==t&&null!==e&&(r="strictEqualObject"),1===l.length&&1===f.length&&l[0]!==f[0]){var p=l[0].length+f[0].length;if(p<=10){if(!("object"===y(t)&&null!==t||"object"===y(e)&&null!==e||0===t&&0===e))return"".concat(A[r],"\n\n")+"".concat(l[0]," !== ").concat(f[0],"\n")}else if("strictEqualObject"!==r){if(p<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;l[0][h]===f[0][h];)h++;h>2&&(d="\n ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var r=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+t.substring(0,r-t.length)}(" ",h),"^"),h=0)}}}for(var g=l[l.length-1],b=f[f.length-1];g===b&&(h++<2?a="\n ".concat(g).concat(a):i=g,l.pop(),f.pop(),0!==l.length&&0!==f.length);)g=l[l.length-1],b=f[f.length-1];var v=Math.max(l.length,f.length);if(0===v){var C=u.split("\n");if(C.length>30)for(C[26]="".concat(w,"...").concat(_);C.length>27;)C.pop();return"".concat(A.notIdentical,"\n\n").concat(C.join("\n"),"\n")}h>3&&(a="\n".concat(w,"...").concat(_).concat(a),c=!0),""!==i&&(a="\n ".concat(i).concat(a),i="");var E=0,P=A[r]+"\n".concat(S,"+ actual").concat(_," ").concat(x,"- expected").concat(_),O=" ".concat(w,"...").concat(_," Lines skipped");for(h=0;h<v;h++){var B=h-s;if(l.length<h+1)B>1&&h>2&&(B>4?(o+="\n".concat(w,"...").concat(_),c=!0):B>3&&(o+="\n ".concat(f[h-2]),E++),o+="\n ".concat(f[h-1]),E++),s=h,i+="\n".concat(x,"-").concat(_," ").concat(f[h]),E++;else if(f.length<h+1)B>1&&h>2&&(B>4?(o+="\n".concat(w,"...").concat(_),c=!0):B>3&&(o+="\n ".concat(l[h-2]),E++),o+="\n ".concat(l[h-1]),E++),s=h,o+="\n".concat(S,"+").concat(_," ").concat(l[h]),E++;else{var I=f[h],T=l[h],R=T!==I&&(!m(T,",")||T.slice(0,-1)!==I);R&&m(I,",")&&I.slice(0,-1)===T&&(R=!1,T+=","),R?(B>1&&h>2&&(B>4?(o+="\n".concat(w,"...").concat(_),c=!0):B>3&&(o+="\n ".concat(l[h-2]),E++),o+="\n ".concat(l[h-1]),E++),s=h,o+="\n".concat(S,"+").concat(_," ").concat(T),i+="\n".concat(x,"-").concat(_," ").concat(I),E+=2):(o+=i,i="",1!==B&&0!==h||(o+="\n ".concat(T),E++))}if(E>20&&h<v-2)return"".concat(P).concat(O,"\n").concat(o,"\n").concat(w,"...").concat(_).concat(i,"\n")+"".concat(w,"...").concat(_)}return"".concat(P).concat(c?O:"","\n").concat(o).concat(i).concat(a).concat(d)}var P=function(t,e){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}(m,t);var r,i,s,c,f,h=(r=m,i=d(),function(){var t,e=g(r);if(i){var n=g(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return u(this,t)});function m(t){var e;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,m),"object"!==y(t)||null===t)throw new v("options","Object",t);var r=t.message,i=t.operator,o=t.stackStartFn,s=t.actual,a=t.expected,c=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=r)e=h.call(this,String(r));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(w="",S="",_="",x=""):(w="",S="",_="",x="")),"object"===y(s)&&null!==s&&"object"===y(a)&&null!==a&&"stack"in s&&s instanceof Error&&"stack"in a&&a instanceof Error&&(s=C(s),a=C(a)),"deepStrictEqual"===i||"strictEqual"===i)e=h.call(this,E(s,a,i));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var f=A[i],d=k(s).split("\n");if("notStrictEqual"===i&&"object"===y(s)&&null!==s&&(f=A.notStrictEqualObject),d.length>30)for(d[26]="".concat(w,"...").concat(_);d.length>27;)d.pop();e=1===d.length?h.call(this,"".concat(f," ").concat(d[0])):h.call(this,"".concat(f,"\n\n").concat(d.join("\n"),"\n"))}else{var p=k(s),g="",b=A[i];"notDeepEqual"===i||"notEqual"===i?(p="".concat(A[i],"\n\n").concat(p)).length>1024&&(p="".concat(p.slice(0,1021),"...")):(g="".concat(k(a)),p.length>512&&(p="".concat(p.slice(0,509),"...")),g.length>512&&(g="".concat(g.slice(0,509),"...")),"deepEqual"===i||"equal"===i?p="".concat(b,"\n\n").concat(p,"\n\nshould equal\n\n"):g=" ".concat(i," ").concat(g)),e=h.call(this,"".concat(p).concat(g))}return Error.stackTraceLimit=c,e.generatedMessage=!r,Object.defineProperty(l(e),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),e.code="ERR_ASSERTION",e.actual=s,e.expected=a,e.operator=i,Error.captureStackTrace&&Error.captureStackTrace(l(e),o),e.stack,e.name="AssertionError",u(e)}return s=m,(c=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:e,value:function(t,e){return b(this,o(o({},e),{},{customInspect:!1,depth:0}))}}])&&a(s.prototype,c),f&&a(s,f),Object.defineProperty(s,"prototype",{writable:!1}),m}(f(Error),b.custom);t.exports=P},13829:function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(o=i.key,s=void 0,s=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===n(s)?s:String(s)),i)}var o,s}function o(t,e){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},o(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,i=a(t);if(e){var o=a(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,r)}}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}var c,u,l={};function f(t,e,r){r||(r=Error);var n=function(r){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&o(t,e)}(l,r);var n,a,c,u=s(l);function l(r,n,i){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),o=u.call(this,function(t,r,n){return"string"==typeof e?e:e(t,r,n)}(r,n,i)),o.code=t,o}return n=l,a&&i(n.prototype,a),c&&i(n,c),Object.defineProperty(n,"prototype",{writable:!1}),n}(r);l[t]=n}function h(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}f("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),f("ERR_INVALID_ARG_TYPE",(function(t,e,i){var o,s,a,u;if(void 0===c&&(c=r(82526)),c("string"==typeof t,"'name' must be a string"),"string"==typeof e&&(s="not ",e.substr(!a||a<0?0:+a,s.length)===s)?(o="must not be",e=e.replace(/^not /,"")):o="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))u="The ".concat(t," ").concat(o," ").concat(h(e,"type"));else{var l=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";u='The "'.concat(t,'" ').concat(l," ").concat(o," ").concat(h(e,"type"))}return u+=". Received type ".concat(n(i))}),TypeError),f("ERR_INVALID_ARG_VALUE",(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===u&&(u=r(42781));var i=u.inspect(e);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(i)}),TypeError,RangeError),f("ERR_INVALID_RETURN_VALUE",(function(t,e,r){var i;return i=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(i,".")}),TypeError),f("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];void 0===c&&(c=r(82526)),c(e.length>0,"At least one arg needs to be specified");var i="The ",o=e.length;switch(e=e.map((function(t){return'"'.concat(t,'"')})),o){case 1:i+="".concat(e[0]," argument");break;case 2:i+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:i+=e.slice(0,o-1).join(", "),i+=", and ".concat(e[o-1]," arguments")}return"".concat(i," must be specified")}),TypeError),t.exports.codes=l},19118:function(t,e,r){"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,s,a=[],c=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){u=!0,i=t}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var s=void 0!==/a/g.flags,a=function(t){var e=[];return t.forEach((function(t){return e.push(t)})),e},c=function(t){var e=[];return t.forEach((function(t,r){return e.push([r,t])})),e},u=Object.is?Object.is:r(6757),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},f=Number.isNaN?Number.isNaN:r(36935);function h(t){return t.call.bind(t)}var d=h(Object.prototype.hasOwnProperty),p=h(Object.prototype.propertyIsEnumerable),g=h(Object.prototype.toString),y=r(42781).types,b=y.isAnyArrayBuffer,v=y.isArrayBufferView,m=y.isDate,w=y.isMap,S=y.isRegExp,x=y.isSet,_=y.isNativeError,A=y.isBoxedPrimitive,C=y.isNumberObject,k=y.isStringObject,E=y.isBooleanObject,P=y.isBigIntObject,O=y.isSymbolObject,B=y.isFloat32Array,I=y.isFloat64Array;function T(t){if(0===t.length||t.length>10)return!0;for(var e=0;e<t.length;e++){var r=t.charCodeAt(e);if(r<48||r>57)return!0}return 10===t.length&&t>=Math.pow(2,32)}function R(t){return Object.keys(t).filter(T).concat(l(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function M(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0}var D=0,F=1,N=2,L=3;function j(t,e,r,n){if(t===e)return 0!==t||(!r||u(t,e));if(r){if("object"!==o(t))return"number"==typeof t&&f(t)&&f(e);if("object"!==o(e)||null===t||null===e)return!1;if(Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1}else{if(null===t||"object"!==o(t))return(null===e||"object"!==o(e))&&t==e;if(null===e||"object"!==o(e))return!1}var i,a,c,l,h=g(t);if(h!==g(e))return!1;if(Array.isArray(t)){if(t.length!==e.length)return!1;var d=R(t),p=R(e);return d.length===p.length&&U(t,e,r,n,F,d)}if("[object Object]"===h&&(!w(t)&&w(e)||!x(t)&&x(e)))return!1;if(m(t)){if(!m(e)||Date.prototype.getTime.call(t)!==Date.prototype.getTime.call(e))return!1}else if(S(t)){if(!S(e)||(c=t,l=e,!(s?c.source===l.source&&c.flags===l.flags:RegExp.prototype.toString.call(c)===RegExp.prototype.toString.call(l))))return!1}else if(_(t)||t instanceof Error){if(t.message!==e.message||t.name!==e.name)return!1}else{if(v(t)){if(r||!B(t)&&!I(t)){if(!function(t,e){return t.byteLength===e.byteLength&&0===M(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}(t,e))return!1}else if(!function(t,e){if(t.byteLength!==e.byteLength)return!1;for(var r=0;r<t.byteLength;r++)if(t[r]!==e[r])return!1;return!0}(t,e))return!1;var y=R(t),T=R(e);return y.length===T.length&&U(t,e,r,n,D,y)}if(x(t))return!(!x(e)||t.size!==e.size)&&U(t,e,r,n,N);if(w(t))return!(!w(e)||t.size!==e.size)&&U(t,e,r,n,L);if(b(t)){if(a=e,(i=t).byteLength!==a.byteLength||0!==M(new Uint8Array(i),new Uint8Array(a)))return!1}else if(A(t)&&!function(t,e){return C(t)?C(e)&&u(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e)):k(t)?k(e)&&String.prototype.valueOf