Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@swc/helpers

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc/helpers - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

lib/index.js

@@ -1,1 +0,1 @@

!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=20)}([function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return n}));function n(e){return e&&e.constructor===Symbol?"symbol":function(e){return e&&e.constructor===Symbol?"symbol":typeof e}(e)}},function(e,t,r){"use strict";function n(e){this.wrapped=e}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return o}));var n=r(7);function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e}},function(e,t,r){"use strict";function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf1(e)}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";function n(e,t){return n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_setPrototypeOf1(e,t)}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return o}));var n=r(4);function o(e){var t,r,o=function(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?i(t.key,t.arg):r=null};function i(t,r){try{var u=e[t](r),c=u.value,a=(f=c,null!=(l=n)&&"undefined"!=typeof Symbol&&l[Symbol.hasInstance]?l[Symbol.hasInstance](f):f instanceof l);Promise.resolve(a?c.wrapped:c).then((function(e){a?i("next",e):o(u.done?"return":"normal",e)}),(function(e){i("throw",e)}))}catch(e){o("throw",e)}var f,l}this._invoke=function(e,n){return new Promise((function(o,u){var c={key:e,arg:n,resolve:o,reject:u,next:null};r?r=r.next=c:(t=r=c,i(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(o.prototype[Symbol.asyncIterator]=function(){return this}),o.prototype.next=function(e){return this._invoke("next",e)},o.prototype.throw=function(e){return this._invoke("throw",e)},o.prototype.return=function(e){return this._invoke("return",e)}},function(e,t,r){"use strict";function n(){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(e){return!1}}function o(e,t,r){return(o=n()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&_setPrototypeOf(o,r.prototype),o}).apply(null,arguments)}r.r(t),r.d(t,"default",(function(){return o}))},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return u}));var n=r(0),o=r(1),i=r(2);function u(e){return n(e)||o(e)||i()}},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return i}));var n=r(3),o=r(15);function i(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)}},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return o}));var n=r(3);function o(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},function(e,t,r){"use strict";function n(e){return-1!==Function.toString.call(e).indexOf("[native code]")}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";function n(e,t){for(var r,n=[],o=e[Symbol.iterator]();!(r=o.next()).done&&(n.push(r.value),!t||n.length!==t););return n}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to spread non-iterable instance")}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";function n(e,t,r,n,o){var i={};return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}r.r(t),r.d(t,"applyDecoratedDescriptor",(function(){return n})),r.d(t,"arrayWithHoles",(function(){return o.default})),r.d(t,"arrayWithoutHoles",(function(){return i.default})),r.d(t,"assertThisInitialized",(function(){return u.default})),r.d(t,"asyncGenerator",(function(){return c.default})),r.d(t,"asyncGeneratorDelegate",(function(){return a})),r.d(t,"asyncIterator",(function(){return f})),r.d(t,"asyncToGenerator",(function(){return s})),r.d(t,"awaitAsyncGenerator",(function(){return p})),r.d(t,"awaitValue",(function(){return y.default})),r.d(t,"classCallCheck",(function(){return v})),r.d(t,"classNameTDZError",(function(){return b})),r.d(t,"classPrivateFieldGet",(function(){return h})),r.d(t,"classPrivateFieldLooseBase",(function(){return m})),r.d(t,"classPrivateFieldSet",(function(){return w})),r.d(t,"classPrivateMethodGet",(function(){return g})),r.d(t,"classPrivateMethodSet",(function(){return O})),r.d(t,"classStaticPrivateFieldSpecGet",(function(){return P})),r.d(t,"classStaticPrivateFieldSpecSet",(function(){return j})),r.d(t,"construct",(function(){return S.default})),r.d(t,"createClass",(function(){return E})),r.d(t,"decorate",(function(){return _})),r.d(t,"defaults",(function(){return B})),r.d(t,"defineEnumerableProperties",(function(){return $})),r.d(t,"defineProperty",(function(){return K.default})),r.d(t,"extends",(function(){return V})),r.d(t,"get",(function(){return J})),r.d(t,"getPrototypeOf",(function(){return Q.default})),r.d(t,"inherits",(function(){return X})),r.d(t,"inheritsLoose",(function(){return Y})),r.d(t,"initializerDefineProperty",(function(){return ee})),r.d(t,"initializerWarningHelper",(function(){return te})),r.d(t,"_instanceof",(function(){return re})),r.d(t,"interopRequireDefault",(function(){return ne})),r.d(t,"interopRequireWildcard",(function(){return oe})),r.d(t,"isNativeFunction",(function(){return ie.default})),r.d(t,"iterableToArray",(function(){return ue.default})),r.d(t,"iterableToArrayLimit",(function(){return ce})),r.d(t,"iterableToArrayLimitLoose",(function(){return fe.default})),r.d(t,"jsx",(function(){return le})),r.d(t,"newArrowCheck",(function(){return se})),r.d(t,"nonIterableRest",(function(){return de.default})),r.d(t,"nonIterableSpread",(function(){return pe.default})),r.d(t,"objectSpread",(function(){return ve})),r.d(t,"objectWithoutProperties",(function(){return he})),r.d(t,"objectWithoutPropertiesLoose",(function(){return me.default})),r.d(t,"possibleConstructorReturn",(function(){return Oe})),r.d(t,"readOnlyError",(function(){return Pe})),r.d(t,"set",(function(){return Ee})),r.d(t,"setPrototypeOf",(function(){return Te.default})),r.d(t,"skipFirstGeneratorNext",(function(){return xe})),r.d(t,"slicedToArray",(function(){return ze})),r.d(t,"slicedToArrayLoose",(function(){return Le})),r.d(t,"superPropBase",(function(){return Me.default})),r.d(t,"taggedTemplateLiteral",(function(){return Ce})),r.d(t,"taggedTemplateLiteralLoose",(function(){return Ge})),r.d(t,"_throw",(function(){return Ne})),r.d(t,"toArray",(function(){return We.default})),r.d(t,"toConsumableArray",(function(){return $e})),r.d(t,"toPrimitive",(function(){return Ke.default})),r.d(t,"toPropertyKey",(function(){return Ve.default})),r.d(t,"typeOf",(function(){return Ze.default})),r.d(t,"wrapAsyncGenerator",(function(){return Qe})),r.d(t,"wrapNativeSuper",(function(){return tt}));var o=r(0),i=r(9),u=r(10),c=r(11);function a(e,t){var r=function(r,n){return o=!0,n=new Promise((function(t){t(e[r](n))})),{done:!1,value:t(n)}},n={},o=!1;return"function"==typeof Symbol&&Symbol.iterator&&(n[Symbol.iterator]=function(){return this}),n.next=function(e){return o?(o=!1,e):r("next",e)},"function"==typeof e.throw&&(n.throw=function(e){if(o)throw o=!1,e;return r("throw",e)}),"function"==typeof e.return&&(n.return=function(e){return r("return",e)}),n}function f(e){var t;if("function"==typeof Symbol){if(Symbol.asyncIterator&&null!=(t=e[Symbol.asyncIterator]))return t.call(e);if(Symbol.iterator&&null!=(t=e[Symbol.iterator]))return t.call(e)}throw new TypeError("Object is not async iterable")}function l(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(e){return void r(e)}c.done?t(a):Promise.resolve(a).then(n,o)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function u(e){l(i,n,o,u,c,"next",e)}function c(e){l(i,n,o,u,c,"throw",e)}u(void 0)}))}}var d=r(4);function p(e){return new d(e)}var y=r(4);function v(e,t){if(r=e,!(null!=(n=t)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](r):r instanceof n))throw new TypeError("Cannot call a class as a function");var r,n}function b(e){throw new Error('Class "'+e+'" cannot be referenced in computed property keys.')}function h(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e).value}function m(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}function w(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");var n=t.get(e);if(!n.writable)throw new TypeError("attempted to set read only private field");return n.value=r,r}function g(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}function O(){throw new TypeError("attempted to reassign private method")}function P(e,t,r){if(e!==t)throw new TypeError("Private static access of wrong provenance");return r.value}function j(e,t,r,n){if(e!==t)throw new TypeError("Private static access of wrong provenance");if(!r.writable)throw new TypeError("attempted to set read only private field");return r.value=n,n}var S=r(12);function k(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,n.key,n)}}function E(e,t,r){return t&&k(e.prototype,t),r&&k(e,r),e}var T=r(13),x=r(14);function _(e,t,r){var n,o,i,u=t((function(e){!function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&R(e,t)}))}))}(e,c.elements)}),r),c=function(e,t){var r=[],n=[],o={static:[],prototype:[],own:[]};if(e.forEach((function(e){F(e,o)})),e.forEach((function(e){if(!z(e))return r.push(e);var t=function(e,t){for(var r=[],n=[],o=e.decorators,i=o.length-1;i>=0;i--){var u=t[e.placement];u.splice(u.indexOf(e.key),1);var c=L(e),a=G(o[i](c)||c);F(e=a.element,t),a.finisher&&n.push(a.finisher);var f=a.extras;if(f){for(var l=0;l<f.length;l++)F(f[l],t);r.push.apply(r,f)}}return{element:e,finishers:n,extras:r}}(e,o);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)})),!t)return{elements:r,finishers:n};var i=function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var o=N(e),i=W(t[n](o)||o);if(void 0!==i.finisher&&r.push(i.finisher),void 0!==i.elements){e=i.elements;for(var u=0;u<e.length-1;u++)for(var c=u+1;c<e.length;c++)if(e[u].key===e[c].key&&e[u].placement===e[c].placement)throw new TypeError("Duplicated element ("+e[u].key+")")}}return{elements:e,finishers:r}}(r,t);return n.push.apply(n,i.finishers),i.finishers=n,i}(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===i.key&&e.placement===i.placement},n=0;n<e.length;n++){var o,i=e[n];if("method"===i.kind&&(o=t.find(r)))if(I(i.descriptor)||I(o.descriptor)){if(z(i)||z(o))throw new ReferenceError("Duplicated methods ("+i.key+") can't be decorated.");o.descriptor=i.descriptor}else{if(z(i)){if(z(o))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+i.key+").");o.decorators=i.decorators}D(i,o)}else t.push(i)}return t}(u.d.map(A)),e);return n=u.F,o=c.elements,i=n.prototype,["method","field"].forEach((function(e){o.forEach((function(t){var r=t.placement;t.kind!==e||"static"!==r&&"prototype"!==r||R("static"===r?n:i,t)}))})),function(e,t){for(var r=0;r<t.length;r++){var n=t[r](e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e}(u.F,c.finishers)}function A(e){var t,r=x(e.key);"method"===e.kind?(t={value:e.value,writable:!0,configurable:!0,enumerable:!1},Object.defineProperty(e.value,"name",{value:"symbol"===_typeof(r)?"":r,configurable:!0})):"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function D(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function z(e){return e.decorators&&e.decorators.length}function I(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function R(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)}function F(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)}function L(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t}function M(e){if(void 0!==e)return T(e).map((function(e){var t=C(e);return H(e,"finisher","An element descriptor"),H(e,"extras","An element descriptor"),t}))}function C(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=x(e.key),n=String(e.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 o=e.descriptor;H(e,"elements","An element descriptor");var i={kind:t,key:r,placement:n,descriptor:Object.assign({},o)};return"field"!==t?H(e,"initializer","A method descriptor"):(H(o,"get","The property descriptor of a field descriptor"),H(o,"set","The property descriptor of a field descriptor"),H(o,"value","The property descriptor of a field descriptor"),i.initializer=e.initializer),i}function G(e){return{element:C(e),finisher:q(e,"finisher"),extras:M(e.extras)}}function N(e){var t={kind:"class",elements:e.map(L)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t}function W(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');H(e,"key","A class descriptor"),H(e,"placement","A class descriptor"),H(e,"descriptor","A class descriptor"),H(e,"initializer","A class descriptor"),H(e,"extras","A class descriptor");var r=q(e,"finisher");return{elements:M(e.elements),finisher:r}}function H(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}function q(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function B(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var o=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function $(e,t){for(var r in t){(i=t[r]).configurable=i.enumerable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r,i)}if(Object.getOwnPropertySymbols)for(var n=Object.getOwnPropertySymbols(t),o=0;o<n.length;o++){var i,u=n[o];(i=t[u]).configurable=i.enumerable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,u,i)}return e}var K=r(5);function V(){return(V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var Z=r(6);function J(e,t,r){return(J="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=Z(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(r):o.value}})(e,t,r||e)}var Q=r(7),U=r(8);function X(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U(e,t)}function Y(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ee(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function te(e,t){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 re(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):function(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}(e,t)}function ne(e){return e&&e.__esModule?e:{default:e}}function oe(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}var ie=r(16),ue=r(1);function ce(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var u,c=e[Symbol.iterator]();!(n=(u=c.next()).done)&&(r.push(u.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}var ae,fe=r(17);function le(e,t,r,n){ae||(ae="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),t&&o)for(var u in o)void 0===t[u]&&(t[u]=o[u]);else t||(t=o||{});if(1===i)t.children=n;else if(i>1){for(var c=new Array(i),a=0;a<i;a++)c[a]=arguments[a+3];t.children=c}return{$$typeof:ae,type:e,key:void 0===r?null:""+r,ref:null,props:t,_owner:null}}function se(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}var de=r(2),pe=r(18),ye=r(5);function ve(e){for(var t=function(t){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){ye(e,t,r[t])}))},r=1;r<arguments.length;r++)t(r);return e}var be=r(19);function he(e,t){if(null==e)return{};var r,n,o=be(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var me=r(19),we=r(10),ge=r(3);function Oe(e,t){return!t||"object"!==ge(t)&&"function"!=typeof t?we(e):t}function Pe(e){throw new Error('"'+e+'" is read-only')}var je=r(5),Se=r(6);function ke(e,t,r,n){return(ke="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,t,r,n){var o,i=Se(e,t);if(i){if((o=Object.getOwnPropertyDescriptor(i,t)).set)return o.set.call(n,r),!0;if(!o.writable)return!1}if(o=Object.getOwnPropertyDescriptor(n,t)){if(!o.writable)return!1;o.value=r,Object.defineProperty(n,t,o)}else je(n,t,r);return!0})(e,t,r,n)}function Ee(e,t,r,n,o){if(!ke(e,t,r,n||e)&&o)throw new Error("failed to set property");return r}var Te=r(8);function xe(e){return function(){var t=e.apply(this,arguments);return t.next(),t}}var _e=r(0),Ae=r(1),De=r(2);function ze(e,t){return _e(e)||Ae(e,t)||De()}var Ie=r(0),Re=r(17),Fe=r(2);function Le(e,t){return Ie(e)||Re(e,t)||Fe()}var Me=r(6);function Ce(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ge(e,t){return t||(t=e.slice(0)),e.raw=t,e}function Ne(e){throw e}var We=r(13),He=r(9),qe=r(1),Be=r(18);function $e(e){return He(e)||qe(e)||Be()}var Ke=r(15),Ve=r(14),Ze=r(3),Je=r(11);function Qe(e){return function(){return new Je(e.apply(this,arguments))}}var Ue=r(12),Xe=r(16),Ye=r(7),et=r(8);function tt(e){var t="function"==typeof Map?new Map:void 0;return tt=function(e){var r=function(){return Ue(e,arguments,Ye(this).constructor)};if(null===e||!Xe(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),et(r,e)},_wrapNativeSuper1(e)}}]);
!function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=0)}([function(e,r,t){"use strict";function n(e,r,t,n,o){var i={};return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=t.slice().reverse().reduce((function(t,n){return n(e,r,t)||t}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,r,i),i=null),i}function o(e){if(Array.isArray(e))return e}function i(e){if(Array.isArray(e)){for(var r=0,t=new Array(e.length);r<e.length;r++)t[r]=e[r];return t}}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){this.wrapped=e}function a(e){var r,t,n=function(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?o(r.key,r.arg):t=null};function o(r,t){try{var i=e[r](t),u=i.value,a=(f=u,null!=(l=c)&&"undefined"!=typeof Symbol&&l[Symbol.hasInstance]?l[Symbol.hasInstance](f):f instanceof l);Promise.resolve(a?u.wrapped:u).then((function(e){a?o("next",e):n(i.done?"return":"normal",e)}),(function(e){o("throw",e)}))}catch(e){n("throw",e)}var f,l}this._invoke=function(e,n){return new Promise((function(i,u){var c={key:e,arg:n,resolve:i,reject:u,next:null};t?t=t.next=c:(r=t=c,o(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}function f(e,r){var t=function(t,n){return o=!0,n=new Promise((function(r){r(e[t](n))})),{done:!1,value:r(n)}},n={},o=!1;return"function"==typeof Symbol&&Symbol.iterator&&(n[Symbol.iterator]=function(){return this}),n.next=function(e){return o?(o=!1,e):t("next",e)},"function"==typeof e.throw&&(n.throw=function(e){if(o)throw o=!1,e;return t("throw",e)}),"function"==typeof e.return&&(n.return=function(e){return t("return",e)}),n}function l(e){var r;if("function"==typeof Symbol){if(Symbol.asyncIterator&&null!=(r=e[Symbol.asyncIterator]))return r.call(e);if(Symbol.iterator&&null!=(r=e[Symbol.iterator]))return r.call(e)}throw new TypeError("Object is not async iterable")}function s(e,r,t,n,o,i,u){try{var c=e[i](u),a=c.value}catch(e){return void t(e)}c.done?r(a):Promise.resolve(a).then(n,o)}function p(e){return function(){var r=this,t=arguments;return new Promise((function(n,o){var i=e.apply(r,t);function u(e){s(i,n,o,u,c,"next",e)}function c(e){s(i,n,o,u,c,"throw",e)}u(void 0)}))}}function d(e){return new c(e)}function y(e,r){if(t=e,!(null!=(n=r)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](t):t instanceof n))throw new TypeError("Cannot call a class as a function");var t,n}function b(e){throw new Error('Class "'+e+'" cannot be referenced in computed property keys.')}function v(e,r){if(!r.has(e))throw new TypeError("attempted to get private field on non-instance");return r.get(e).value}function h(e,r){if(!Object.prototype.hasOwnProperty.call(e,r))throw new TypeError("attempted to use private field on non-instance");return e}function m(e,r,t){if(!r.has(e))throw new TypeError("attempted to set private field on non-instance");var n=r.get(e);if(!n.writable)throw new TypeError("attempted to set read only private field");return n.value=t,t}function w(e,r,t){if(!r.has(e))throw new TypeError("attempted to get private field on non-instance");return t}function g(){throw new TypeError("attempted to reassign private method")}function O(e,r,t){if(e!==r)throw new TypeError("Private static access of wrong provenance");return t.value}function P(e,r,t,n){if(e!==r)throw new TypeError("Private static access of wrong provenance");if(!t.writable)throw new TypeError("attempted to set read only private field");return t.value=n,n}function j(){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(e){return!1}}function S(e,r,t){return(S=j()?Reflect.construct:function(e,r,t){var n=[null];n.push.apply(n,r);var o=new(Function.bind.apply(e,n));return t&&_setPrototypeOf(o,t.prototype),o}).apply(null,arguments)}function k(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E(e,r,t){return r&&k(e.prototype,r),t&&k(e,t),e}function T(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function x(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _(e){return o(e)||T(e)||x()}t.r(r),t.d(r,"applyDecoratedDescriptor",(function(){return n})),t.d(r,"arrayWithHoles",(function(){return o})),t.d(r,"arrayWithoutHoles",(function(){return i})),t.d(r,"assertThisInitialized",(function(){return u})),t.d(r,"asyncGenerator",(function(){return a})),t.d(r,"asyncGeneratorDelegate",(function(){return f})),t.d(r,"asyncIterator",(function(){return l})),t.d(r,"asyncToGenerator",(function(){return p})),t.d(r,"awaitAsyncGenerator",(function(){return d})),t.d(r,"awaitValue",(function(){return c})),t.d(r,"classCallCheck",(function(){return y})),t.d(r,"classNameTDZError",(function(){return b})),t.d(r,"classPrivateFieldGet",(function(){return v})),t.d(r,"classPrivateFieldLooseBase",(function(){return h})),t.d(r,"classPrivateFieldSet",(function(){return m})),t.d(r,"classPrivateMethodGet",(function(){return w})),t.d(r,"classPrivateMethodSet",(function(){return g})),t.d(r,"classStaticPrivateFieldSpecGet",(function(){return O})),t.d(r,"classStaticPrivateFieldSpecSet",(function(){return P})),t.d(r,"construct",(function(){return S})),t.d(r,"createClass",(function(){return E})),t.d(r,"decorate",(function(){return R})),t.d(r,"defaults",(function(){return J})),t.d(r,"defineEnumerableProperties",(function(){return Q})),t.d(r,"defineProperty",(function(){return U})),t.d(r,"extends",(function(){return X})),t.d(r,"get",(function(){return re})),t.d(r,"getPrototypeOf",(function(){return Y})),t.d(r,"inherits",(function(){return ne})),t.d(r,"inheritsLoose",(function(){return oe})),t.d(r,"initializerDefineProperty",(function(){return ie})),t.d(r,"initializerWarningHelper",(function(){return ue})),t.d(r,"_instanceof",(function(){return ce})),t.d(r,"interopRequireDefault",(function(){return ae})),t.d(r,"interopRequireWildcard",(function(){return fe})),t.d(r,"isNativeFunction",(function(){return le})),t.d(r,"iterableToArray",(function(){return T})),t.d(r,"iterableToArrayLimit",(function(){return se})),t.d(r,"iterableToArrayLimitLoose",(function(){return pe})),t.d(r,"jsx",(function(){return de})),t.d(r,"newArrowCheck",(function(){return ye})),t.d(r,"nonIterableRest",(function(){return x})),t.d(r,"nonIterableSpread",(function(){return be})),t.d(r,"objectSpread",(function(){return ve})),t.d(r,"objectWithoutProperties",(function(){return me})),t.d(r,"objectWithoutPropertiesLoose",(function(){return he})),t.d(r,"possibleConstructorReturn",(function(){return we})),t.d(r,"readOnlyError",(function(){return ge})),t.d(r,"set",(function(){return Pe})),t.d(r,"setPrototypeOf",(function(){return te})),t.d(r,"skipFirstGeneratorNext",(function(){return je})),t.d(r,"slicedToArray",(function(){return Se})),t.d(r,"slicedToArrayLoose",(function(){return ke})),t.d(r,"superPropBase",(function(){return ee})),t.d(r,"taggedTemplateLiteral",(function(){return Ee})),t.d(r,"taggedTemplateLiteralLoose",(function(){return Te})),t.d(r,"_throw",(function(){return xe})),t.d(r,"toArray",(function(){return _})),t.d(r,"toConsumableArray",(function(){return _e})),t.d(r,"toPrimitive",(function(){return z})),t.d(r,"toPropertyKey",(function(){return I})),t.d(r,"typeOf",(function(){return D})),t.d(r,"wrapAsyncGenerator",(function(){return Ae})),t.d(r,"wrapNativeSuper",(function(){return De})),"function"==typeof Symbol&&Symbol.asyncIterator&&(a.prototype[Symbol.asyncIterator]=function(){return this}),a.prototype.next=function(e){return this._invoke("next",e)},a.prototype.throw=function(e){return this._invoke("throw",e)},a.prototype.return=function(e){return this._invoke("return",e)};var A;function D(e){return e&&e.constructor===Symbol?"symbol":function(e){return e&&e.constructor===Symbol?"symbol":typeof e}(e)}function z(e,r){if("object"!==D(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!==D(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}function I(e){var r=z(e,"string");return"symbol"===D(r)?r:String(r)}function R(e,r,t){var n,o,i,u=r((function(e){!function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&G(e,r)}))}))}(e,c.elements)}),t),c=function(e,r){var t=[],n=[],o={static:[],prototype:[],own:[]};if(e.forEach((function(e){N(e,o)})),e.forEach((function(e){if(!M(e))return t.push(e);var r=function(e,r){for(var t=[],n=[],o=e.decorators,i=o.length-1;i>=0;i--){var u=r[e.placement];u.splice(u.indexOf(e.key),1);var c=W(e),a=B(o[i](c)||c);N(e=a.element,r),a.finisher&&n.push(a.finisher);var f=a.extras;if(f){for(var l=0;l<f.length;l++)N(f[l],r);t.push.apply(t,f)}}return{element:e,finishers:n,extras:t}}(e,o);t.push(r.element),t.push.apply(t,r.extras),n.push.apply(n,r.finishers)})),!r)return{elements:t,finishers:n};var i=function(e,r){for(var t=[],n=r.length-1;n>=0;n--){var o=$(e),i=K(r[n](o)||o);if(void 0!==i.finisher&&t.push(i.finisher),void 0!==i.elements){e=i.elements;for(var u=0;u<e.length-1;u++)for(var c=u+1;c<e.length;c++)if(e[u].key===e[c].key&&e[u].placement===e[c].placement)throw new TypeError("Duplicated element ("+e[u].key+")")}}return{elements:e,finishers:t}}(t,r);return n.push.apply(n,i.finishers),i.finishers=n,i}(function(e){for(var r=[],t=function(e){return"method"===e.kind&&e.key===i.key&&e.placement===i.placement},n=0;n<e.length;n++){var o,i=e[n];if("method"===i.kind&&(o=r.find(t)))if(C(i.descriptor)||C(o.descriptor)){if(M(i)||M(o))throw new ReferenceError("Duplicated methods ("+i.key+") can't be decorated.");o.descriptor=i.descriptor}else{if(M(i)){if(M(o))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+i.key+").");o.decorators=i.decorators}L(i,o)}else r.push(i)}return r}(u.d.map(F)),e);return n=u.F,o=c.elements,i=n.prototype,["method","field"].forEach((function(e){o.forEach((function(r){var t=r.placement;r.kind!==e||"static"!==t&&"prototype"!==t||G("static"===t?n:i,r)}))})),function(e,r){for(var t=0;t<r.length;t++){var n=r[t](e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e}(u.F,c.finishers)}function F(e){var r,t=I(e.key);"method"===e.kind?(r={value:e.value,writable:!0,configurable:!0,enumerable:!1},Object.defineProperty(e.value,"name",{value:"symbol"===_typeof(t)?"":t,configurable:!0})):"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function L(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function M(e){return e.decorators&&e.decorators.length}function C(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function G(e,r){var t=r.descriptor;if("field"===r.kind){var n=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,r.key,t)}function N(e,r,t){var n=r[e.placement];if(!t&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)}function W(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r}function H(e){if(void 0!==e)return _(e).map((function(e){var r=q(e);return V(e,"finisher","An element descriptor"),V(e,"extras","An element descriptor"),r}))}function q(e){var r=String(e.kind);if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=I(e.key),n=String(e.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 o=e.descriptor;V(e,"elements","An element descriptor");var i={kind:r,key:t,placement:n,descriptor:Object.assign({},o)};return"field"!==r?V(e,"initializer","A method descriptor"):(V(o,"get","The property descriptor of a field descriptor"),V(o,"set","The property descriptor of a field descriptor"),V(o,"value","The property descriptor of a field descriptor"),i.initializer=e.initializer),i}function B(e){return{element:q(e),finisher:Z(e,"finisher"),extras:H(e.extras)}}function $(e){var r={kind:"class",elements:e.map(W)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r}function K(e){var r=String(e.kind);if("class"!==r)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');V(e,"key","A class descriptor"),V(e,"placement","A class descriptor"),V(e,"descriptor","A class descriptor"),V(e,"initializer","A class descriptor"),V(e,"extras","A class descriptor");var t=Z(e,"finisher");return{elements:H(e.elements),finisher:t}}function V(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}function Z(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}function J(e,r){for(var t=Object.getOwnPropertyNames(r),n=0;n<t.length;n++){var o=t[n],i=Object.getOwnPropertyDescriptor(r,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function Q(e,r){for(var t in r){(i=r[t]).configurable=i.enumerable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,t,i)}if(Object.getOwnPropertySymbols)for(var n=Object.getOwnPropertySymbols(r),o=0;o<n.length;o++){var i,u=n[o];(i=r[u]).configurable=i.enumerable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,u,i)}return e}function U(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function X(){return(X=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function Y(e){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf1(e)}function ee(e,r){for(;!Object.prototype.hasOwnProperty.call(e,r)&&null!==(e=Y(e)););return e}function re(e,r,t){return(re="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,r,t){var n=ee(e,r);if(n){var o=Object.getOwnPropertyDescriptor(n,r);return o.get?o.get.call(t):o.value}})(e,r,t||e)}function te(e,r){return te=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e},_setPrototypeOf1(e,r)}function ne(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&te(e,r)}function oe(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r}function ie(e,r,t,n){t&&Object.defineProperty(e,r,{enumerable:t.enumerable,configurable:t.configurable,writable:t.writable,value:t.initializer?t.initializer.call(n):void 0})}function ue(e,r){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 ce(e,r){return null!=r&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?r[Symbol.hasInstance](e):function(e,r){return null!=r&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?r[Symbol.hasInstance](e):e instanceof r}(e,r)}function ae(e){return e&&e.__esModule?e:{default:e}}function fe(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,t):{};n.get||n.set?Object.defineProperty(r,t,n):r[t]=e[t]}return r.default=e,r}function le(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function se(e,r){var t=[],n=!0,o=!1,i=void 0;try{for(var u,c=e[Symbol.iterator]();!(n=(u=c.next()).done)&&(t.push(u.value),!r||t.length!==r);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return t}function pe(e,r){for(var t,n=[],o=e[Symbol.iterator]();!(t=o.next()).done&&(n.push(t.value),!r||n.length!==r););return n}function de(e,r,t,n){A||(A="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(r||0===i||(r={children:void 0}),r&&o)for(var u in o)void 0===r[u]&&(r[u]=o[u]);else r||(r=o||{});if(1===i)r.children=n;else if(i>1){for(var c=new Array(i),a=0;a<i;a++)c[a]=arguments[a+3];r.children=c}return{$$typeof:A,type:e,key:void 0===t?null:""+t,ref:null,props:r,_owner:null}}function ye(e,r){if(e!==r)throw new TypeError("Cannot instantiate an arrow function")}function be(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function ve(e){for(var r=function(r){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),n.forEach((function(r){U(e,r,t[r])}))},t=1;t<arguments.length;t++)r(t);return e}function he(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}function me(e,r){if(null==e)return{};var t,n,o=he(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function we(e,r){return!r||"object"!==D(r)&&"function"!=typeof r?u(e):r}function ge(e){throw new Error('"'+e+'" is read-only')}function Oe(e,r,t,n){return(Oe="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,n){var o,i=ee(e,r);if(i){if((o=Object.getOwnPropertyDescriptor(i,r)).set)return o.set.call(n,t),!0;if(!o.writable)return!1}if(o=Object.getOwnPropertyDescriptor(n,r)){if(!o.writable)return!1;o.value=t,Object.defineProperty(n,r,o)}else U(n,r,t);return!0})(e,r,t,n)}function Pe(e,r,t,n,o){if(!Oe(e,r,t,n||e)&&o)throw new Error("failed to set property");return t}function je(e){return function(){var r=e.apply(this,arguments);return r.next(),r}}function Se(e,r){return o(e)||T(e)||x()}function ke(e,r){return o(e)||pe(e,r)||x()}function Ee(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}function Te(e,r){return r||(r=e.slice(0)),e.raw=r,e}function xe(e){throw e}function _e(e){return i(e)||T(e)||be()}function Ae(e){return function(){return new a(e.apply(this,arguments))}}function De(e){var r="function"==typeof Map?new Map:void 0;return De=function(e){var t=function(){return S(e,arguments,Y(this).constructor)};if(null===e||!le(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),te(t,e)},_wrapNativeSuper1(e)}}]);
{
"name": "@swc/helpers",
"version": "0.2.1",
"version": "0.2.2",
"description": "",

@@ -5,0 +5,0 @@ "esnext": "src/index.js",

@@ -1,2 +0,2 @@

const AwaitValue = require('./_await_value');
import AwaitValue from './_await_value';

@@ -3,0 +3,0 @@ export default function AsyncGenerator(gen) {

@@ -1,2 +0,2 @@

const AwaitValue = require('./_await_value');
import AwaitValue from './_await_value';

@@ -3,0 +3,0 @@ export default function _awaitAsyncGenerator(value) {

@@ -1,3 +0,3 @@

const toArray = require('./_to_array');
const toPropertyKey = require('./_to_property_key');
import toArray from './_to_array';
import toPropertyKey from './_to_property_key';

@@ -4,0 +4,0 @@ export default function _decorate(decorators, factory, superClass) {

@@ -1,2 +0,2 @@

const superPropBase = require('./_super_prop_base');
import superPropBase from './_super_prop_base';

@@ -3,0 +3,0 @@ export default function _get(target, property, receiver) {

@@ -1,2 +0,2 @@

const setPrototypeOf = require('./_set_prototype_of')
import setPrototypeOf from './_set_prototype_of';

@@ -3,0 +3,0 @@ export default function _inherits(subClass, superClass) {

@@ -1,2 +0,2 @@

const defineProperty = require('./_define_property');
import defineProperty from './_define_property';

@@ -3,0 +3,0 @@ export default function _objectSpread(target) {

@@ -1,2 +0,2 @@

const objectWithoutPropertiesLoose = require('./_object_without_properties_loose');
import objectWithoutPropertiesLoose from './_object_without_properties_loose';

@@ -3,0 +3,0 @@ export default function _objectWithoutProperties(source, excluded) {

@@ -1,3 +0,3 @@

const assertThisInitialized = require('./_assert_this_initialized');
const _typeof = require('./_type_of');
import assertThisInitialized from './_assert_this_initialized';
import _typeof from './_type_of';

@@ -4,0 +4,0 @@ export default function _possibleConstructorReturn(self, call) {

@@ -1,3 +0,3 @@

const defineProperty = require('./_define_property');
const superPropBase = require('./_super_prop_base');
import defineProperty from './_define_property';
import superPropBase from './_super_prop_base';

@@ -4,0 +4,0 @@ function set(target, property, value, receiver) {

@@ -1,4 +0,4 @@

const arrayWithHoles = require('./_array_with_holes');
const iterableToArrayLimitLoose = require('./_iterable_to_array_limit_loose');
const nonIterableRest = require('./_non_iterable_rest');
import arrayWithHoles from './_array_with_holes';
import iterableToArrayLimitLoose from './_iterable_to_array_limit_loose';
import nonIterableRest from './_non_iterable_rest';

@@ -5,0 +5,0 @@ export default function _slicedToArrayLoose(arr, i) {

@@ -1,4 +0,4 @@

const arrayWithHoles = require('./_array_with_holes');
const iterableToArrayLimit = require('./_iterable_to_array');
const nonIterableRest = require('./_non_iterable_rest');
import arrayWithHoles from './_array_with_holes';
import iterableToArrayLimit from './_iterable_to_array';
import nonIterableRest from './_non_iterable_rest';

@@ -5,0 +5,0 @@ export default function _slicedToArray(arr, i) {

@@ -1,2 +0,2 @@

const getPrototypeOf = require('./_get_prototype_of');
import getPrototypeOf from './_get_prototype_of';

@@ -3,0 +3,0 @@ export default function _superPropBase(object, property) {

@@ -1,4 +0,4 @@

const arrayWithHoles = require('./_array_with_holes');
const iterableToArray = require('./_iterable_to_array');
const nonIterableRest = require('./_non_iterable_rest');
import arrayWithHoles from './_array_with_holes';
import iterableToArray from './_iterable_to_array';
import nonIterableRest from './_non_iterable_rest';

@@ -5,0 +5,0 @@ export default function _toArray(arr) {

@@ -1,4 +0,4 @@

const arrayWithoutHoles = require('./_array_without_holes');
const iterableToArray = require('./_iterable_to_array');
const nonIterableSpread = require('./_non_iterable_spread');
import arrayWithoutHoles from './_array_without_holes';
import iterableToArray from './_iterable_to_array';
import nonIterableSpread from './_non_iterable_spread';

@@ -5,0 +5,0 @@ export default function _toConsumableArray(arr) {

@@ -1,2 +0,2 @@

const _typeof = require('./_type_of');
import _typeof from './_type_of';

@@ -3,0 +3,0 @@ export default function _toPrimitive(input, hint) {

@@ -1,3 +0,3 @@

const _typeof = require('./_type_of');
const toPrimitive = require('./_to_primitive');
import _typeof from './_type_of';
import toPrimitive from './_to_primitive';

@@ -4,0 +4,0 @@ export default function _toPropertyKey(arg) {

@@ -1,2 +0,2 @@

const AsyncGenerator = require('./_async_generator');
import AsyncGenerator from './_async_generator';

@@ -3,0 +3,0 @@ export default function _wrapAsyncGenerator(fn) {

@@ -1,5 +0,5 @@

const construct = require('./_construct');
const isNativeFunction = require('./_is_native_function');
const getPrototypeOf = require('./_get_prototype_of');
const setPrototypeOf = require('./_set_prototype_of');
import construct from './_construct';
import isNativeFunction from './_is_native_function';
import getPrototypeOf from './_get_prototype_of';
import setPrototypeOf from './_set_prototype_of';

@@ -6,0 +6,0 @@ export default function _wrapNativeSuper(Class) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc