Skip to content

Instantly share code, notes, and snippets.

@kelsny
Created December 10, 2022 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kelsny/d44bf7b0fb46842c1b8466827ad190cb to your computer and use it in GitHub Desktop.
Save kelsny/d44bf7b0fb46842c1b8466827ad190cb to your computer and use it in GitHub Desktop.
(()=>{var e={"./node_modules/call-bind/callBound.js":(e,t,r)=>{var n=r("./node_modules/get-intrinsic/index.js"),o=r("./node_modules/call-bind/index.js"),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o(r):r}},"./node_modules/call-bind/index.js":(e,t,r)=>{var n=r("./node_modules/function-bind/index.js"),o=r("./node_modules/get-intrinsic/index.js"),i=o("%Function.prototype.apply%"),s=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||n.call(s,i),a=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){var t=u(n,s,arguments);if(a&&l){var r=a(t,"length");r.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var p=function(){return u(n,i,arguments)};l?l(e.exports,"apply",{value:p}):e.exports.apply=p},"./node_modules/deep-equal/index.js":(e,t,r)=>{var n=r("./node_modules/object-keys/index.js"),o=r("./node_modules/is-arguments/index.js"),i=r("./node_modules/object-is/index.js"),s=r("./node_modules/is-regex/index.js"),u=r("./node_modules/regexp.prototype.flags/index.js"),a=r("./node_modules/isarray/index.js"),l=r("./node_modules/is-date-object/index.js"),c=r("./node_modules/which-boxed-primitive/index.js"),p=r("./node_modules/get-intrinsic/index.js"),f=r("./node_modules/call-bind/callBound.js"),y=r("./node_modules/which-collection/index.js"),d=r("./node_modules/es-get-iterator/index.js"),h=r("./node_modules/side-channel/index.js"),m=r("./node_modules/which-typed-array/index.js"),g=r("./node_modules/object.assign/index.js"),v=f("Date.prototype.getTime"),b=Object.getPrototypeOf,j=f("Object.prototype.toString"),_=p("%Set%",!0),w=f("Map.prototype.has",!0),x=f("Map.prototype.get",!0),S=f("Map.prototype.size",!0),O=f("Set.prototype.add",!0),P=f("Set.prototype.delete",!0),A=f("Set.prototype.has",!0),k=f("Set.prototype.size",!0);function E(e,t,r,n){for(var o,i=d(e);(o=i.next())&&!o.done;)if(N(t,o.value,r,n))return P(e,o.value),!0;return!1}function I(e){return void 0===e?null:"object"!=typeof e?"symbol"!=typeof e&&("string"!=typeof e&&"number"!=typeof e||+e==+e):void 0}function R(e,t,r,n,o,i){var s=I(r);if(null!=s)return s;var u=x(t,s),a=g({},o,{strict:!1});return!(void 0===u&&!w(t,s)||!N(n,u,a,i))&&!w(e,s)&&N(n,u,a,i)}function T(e,t,r){var n=I(r);return null!=n?n:A(t,n)&&!A(e,n)}function M(e,t,r,n,o,i){for(var s,u,a=d(e);(s=a.next())&&!s.done;)if(N(r,u=s.value,o,i)&&N(n,x(t,u),o,i))return P(e,u),!0;return!1}function N(e,t,r,p){var f=r||{};if(f.strict?i(e,t):e===t)return!0;if(c(e)!==c(t))return!1;if(!e||!t||"object"!=typeof e&&"object"!=typeof t)return f.strict?i(e,t):e==t;var h,P=p.has(e),I=p.has(t);if(P&&I){if(p.get(e)===p.get(t))return!0}else h={};return P||p.set(e,h),I||p.set(t,h),function(e,t,r,i){var c,p;if(typeof e!=typeof t)return!1;if(null==e||null==t)return!1;if(j(e)!==j(t))return!1;if(o(e)!==o(t))return!1;if(a(e)!==a(t))return!1;var f=e instanceof Error,h=t instanceof Error;if(f!==h)return!1;if((f||h)&&(e.name!==t.name||e.message!==t.message))return!1;var P=s(e),I=s(t);if(P!==I)return!1;if((P||I)&&(e.source!==t.source||u(e)!==u(t)))return!1;var B=l(e),U=l(t);if(B!==U)return!1;if((B||U)&&v(e)!==v(t))return!1;if(r.strict&&b&&b(e)!==b(t))return!1;if(m(e)!==m(t))return!1;var W=F(e),$=F(t);if(W!==$)return!1;if(W||$){if(e.length!==t.length)return!1;for(c=0;c<e.length;c++)if(e[c]!==t[c])return!1;return!0}if(typeof e!=typeof t)return!1;var D=n(e),C=n(t);if(D.length!==C.length)return!1;for(D.sort(),C.sort(),c=D.length-1;c>=0;c--)if(D[c]!=C[c])return!1;for(c=D.length-1;c>=0;c--)if(!N(e[p=D[c]],t[p],r,i))return!1;var L=y(e),q=y(t);return L===q&&("Set"===L||"Set"===q?function(e,t,r,n){if(k(e)!==k(t))return!1;for(var o,i,s,u=d(e),a=d(t);(o=u.next())&&!o.done;)if(o.value&&"object"==typeof o.value)s||(s=new _),O(s,o.value);else if(!A(t,o.value)){if(r.strict)return!1;if(!T(e,t,o.value))return!1;s||(s=new _),O(s,o.value)}if(s){for(;(i=a.next())&&!i.done;)if(i.value&&"object"==typeof i.value){if(!E(s,i.value,r.strict,n))return!1}else if(!r.strict&&!A(e,i.value)&&!E(s,i.value,r.strict,n))return!1;return 0===k(s)}return!0}(e,t,r,i):"Map"!==L||function(e,t,r,n){if(S(e)!==S(t))return!1;for(var o,i,s,u,a,l,c=d(e),p=d(t);(o=c.next())&&!o.done;)if(u=o.value[0],a=o.value[1],u&&"object"==typeof u)s||(s=new _),O(s,u);else if(void 0===(l=x(t,u))&&!w(t,u)||!N(a,l,r,n)){if(r.strict)return!1;if(!R(e,t,u,a,r,n))return!1;s||(s=new _),O(s,u)}if(s){for(;(i=p.next())&&!i.done;)if(u=i.value[0],l=i.value[1],u&&"object"==typeof u){if(!M(s,e,u,l,r,n))return!1}else if(!(r.strict||e.has(u)&&N(x(e,u),l,r,n)||M(s,e,u,l,g({},r,{strict:!1}),n)))return!1;return 0===k(s)}return!0}(e,t,r,i))}(e,t,f,p)}function F(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0]||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))}e.exports=function(e,t,r){return N(e,t,r,h())}},"./node_modules/define-properties/index.js":(e,t,r)=>{var n=r("./node_modules/object-keys/index.js"),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,s=Array.prototype.concat,u=Object.defineProperty,a=r("./node_modules/has-property-descriptors/index.js")(),l=u&&a,c=function(e,t,r,n){var o;(!(t in e)||"function"==typeof(o=n)&&"[object Function]"===i.call(o)&&n())&&(l?u(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},p=function(e,t){var r=arguments.length>2?arguments[2]:{},i=n(t);o&&(i=s.call(i,Object.getOwnPropertySymbols(t)));for(var u=0;u<i.length;u+=1)c(e,i[u],t[i[u]],r[i[u]])};p.supportsDescriptors=!!l,e.exports=p},"./node_modules/for-each/index.js":(e,t,r)=>{var n=r("./node_modules/is-callable/index.js"),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty,s=function(e,t,r){for(var n=0,o=e.length;n<o;n++)i.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))},u=function(e,t,r){for(var n=0,o=e.length;n<o;n++)null==r?t(e.charAt(n),n,e):t.call(r,e.charAt(n),n,e)},a=function(e,t,r){for(var n in e)i.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))};e.exports=function(e,t,r){if(!n(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=r),"[object Array]"===o.call(e)?s(e,t,i):"string"==typeof e?u(e,t,i):a(e,t,i)}},"./node_modules/function-bind/implementation.js":e=>{var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||n.call(i)!==o)throw new TypeError(t+i);for(var s,u=r.call(arguments,1),a=function(){if(this instanceof s){var t=i.apply(this,u.concat(r.call(arguments)));return Object(t)===t?t:this}return i.apply(e,u.concat(r.call(arguments)))},l=Math.max(0,i.length-u.length),c=[],p=0;p<l;p++)c.push("$"+p);if(s=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(a),i.prototype){var f=function(){};f.prototype=i.prototype,s.prototype=new f,f.prototype=null}return s}},"./node_modules/function-bind/index.js":(e,t,r)=>{var n=r("./node_modules/function-bind/implementation.js");e.exports=Function.prototype.bind||n},"./node_modules/functions-have-names/index.js":e=>{var t=function(){return"string"==typeof function(){}.name},r=Object.getOwnPropertyDescriptor;if(r)try{r([],"length")}catch(e){r=null}t.functionsHaveConfigurableNames=function(){if(!t()||!r)return!1;var e=r((function(){}),"name");return!!e&&!!e.configurable};var n=Function.prototype.bind;t.boundFunctionsHaveNames=function(){return t()&&"function"==typeof n&&""!==function(){}.bind().name},e.exports=t},"./node_modules/get-intrinsic/index.js":(e,t,r)=>{var n,o=SyntaxError,i=Function,s=TypeError,u=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},a=Object.getOwnPropertyDescriptor;if(a)try{a({},"")}catch(e){a=null}var l=function(){throw new s},c=a?function(){try{return l}catch(e){try{return a(arguments,"callee").get}catch(e){return l}}}():l,p=r("./node_modules/has-symbols/index.js")(),f=Object.getPrototypeOf||function(e){return e.__proto__},y={},d="undefined"==typeof Uint8Array?n:f(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":p?f([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?f(f([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p?f((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p?f((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?f(""[Symbol.iterator]()):n,"%Symbol%":p?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":d,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=u("async function () {}");else if("%GeneratorFunction%"===t)r=u("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=u("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(r=f(o.prototype))}return h[t]=r,r},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=r("./node_modules/function-bind/index.js"),b=r("./node_modules/has/src/index.js"),j=v.call(Function.call,Array.prototype.concat),_=v.call(Function.apply,Array.prototype.splice),w=v.call(Function.call,String.prototype.replace),x=v.call(Function.call,String.prototype.slice),S=v.call(Function.call,RegExp.prototype.exec),O=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,A=function(e){var t=x(e,0,1),r=x(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return w(e,O,(function(e,t,r,o){n[n.length]=r?w(o,P,"$1"):t||e})),n},k=function(e,t){var r,n=e;if(b(g,n)&&(n="%"+(r=g[n])[0]+"%"),b(h,n)){var i=h[n];if(i===y&&(i=m(n)),void 0===i&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');if(null===S(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=A(e),n=r.length>0?r[0]:"",i=k("%"+n+"%",t),u=i.name,l=i.value,c=!1,p=i.alias;p&&(n=p[0],_(r,j([0,1],p)));for(var f=1,y=!0;f<r.length;f+=1){var d=r[f],m=x(d,0,1),g=x(d,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&y||(c=!0),b(h,u="%"+(n+="."+d)+"%"))l=h[u];else if(null!=l){if(!(d in l)){if(!t)throw new s("base intrinsic for "+e+" exists, but the property is not available.");return}if(a&&f+1>=r.length){var v=a(l,d);l=(y=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:l[d]}else y=b(l,d),l=l[d];y&&!c&&(h[u]=l)}}return l}},"./node_modules/has-bigints/index.js":e=>{var t="undefined"!=typeof BigInt&&BigInt;e.exports=function(){return"function"==typeof t&&"function"==typeof BigInt&&"bigint"==typeof t(42)&&"bigint"==typeof BigInt(42)}},"./node_modules/has-property-descriptors/index.js":(e,t,r)=>{var n=r("./node_modules/get-intrinsic/index.js")("%Object.defineProperty%",!0),o=function(){if(n)try{return n({},"a",{value:1}),!0}catch(e){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},"./node_modules/has-symbols/index.js":(e,t,r)=>{var n="undefined"!=typeof Symbol&&Symbol,o=r("./node_modules/has-symbols/shams.js");e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},"./node_modules/has-symbols/shams.js":e=>{e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},"./node_modules/has-tostringtag/shams.js":(e,t,r)=>{var n=r("./node_modules/has-symbols/shams.js");e.exports=function(){return n()&&!!Symbol.toStringTag}},"./node_modules/has/src/index.js":(e,t,r)=>{var n=r("./node_modules/function-bind/index.js");e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},"./node_modules/is-arguments/index.js":(e,t,r)=>{var n=r("./node_modules/has-tostringtag/shams.js")(),o=r("./node_modules/call-bind/callBound.js")("Object.prototype.toString"),i=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},s=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},u=function(){return i(arguments)}();i.isLegacyArguments=s,e.exports=u?i:s},"./node_modules/is-bigint/index.js":(e,t,r)=>{if(r("./node_modules/has-bigints/index.js")()){var n=BigInt.prototype.valueOf;e.exports=function(e){return null!=e&&"boolean"!=typeof e&&"string"!=typeof e&&"number"!=typeof e&&"symbol"!=typeof e&&"function"!=typeof e&&("bigint"==typeof e||function(e){try{return n.call(e),!0}catch(e){}return!1}(e))}}else e.exports=function(e){return!1}},"./node_modules/is-boolean-object/index.js":(e,t,r)=>{var n=r("./node_modules/call-bind/callBound.js"),o=n("Boolean.prototype.toString"),i=n("Object.prototype.toString"),s=r("./node_modules/has-tostringtag/shams.js")();e.exports=function(e){return"boolean"==typeof e||null!==e&&"object"==typeof e&&(s&&Symbol.toStringTag in e?function(e){try{return o(e),!0}catch(e){return!1}}(e):"[object Boolean]"===i(e))}},"./node_modules/is-callable/index.js":e=>{var t,r,n=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},o((function(){throw 42}),null,t)}catch(e){e!==r&&(o=null)}else o=null;var i=/^\s*class\b/,s=function(e){try{var t=n.call(e);return i.test(t)}catch(e){return!1}},u=function(e){try{return!s(e)&&(n.call(e),!0)}catch(e){return!1}},a=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),p=function(){return!1};if("object"==typeof document){var f=document.all;a.call(f)===a.call(document.all)&&(p=function(e){if((c||!e)&&(void 0===e||"object"==typeof e))try{var t=a.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=o?function(e){if(p(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{o(e,null,t)}catch(e){if(e!==r)return!1}return!s(e)&&u(e)}:function(e){if(p(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(l)return u(e);if(s(e))return!1;var t=a.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&u(e)}},"./node_modules/is-date-object/index.js":(e,t,r)=>{var n=Date.prototype.getDay,o=Object.prototype.toString,i=r("./node_modules/has-tostringtag/shams.js")();e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},"./node_modules/is-map/index.js":e=>{var t,r="function"==typeof Map&&Map.prototype?Map:null,n="function"==typeof Set&&Set.prototype?Set:null;r||(t=function(e){return!1});var o=r?Map.prototype.has:null,i=n?Set.prototype.has:null;t||o||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(o.call(e),i)try{i.call(e)}catch(e){return!0}return e instanceof r}catch(e){}return!1}},"./node_modules/is-number-object/index.js":(e,t,r)=>{var n=Number.prototype.toString,o=Object.prototype.toString,i=r("./node_modules/has-tostringtag/shams.js")();e.exports=function(e){return"number"==typeof e||"object"==typeof e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object Number]"===o.call(e))}},"./node_modules/is-regex/index.js":(e,t,r)=>{var n,o,i,s,u=r("./node_modules/call-bind/callBound.js"),a=r("./node_modules/has-tostringtag/shams.js")();if(a){n=u("Object.prototype.hasOwnProperty"),o=u("RegExp.prototype.exec"),i={};var l=function(){throw i};s={toString:l,valueOf:l},"symbol"==typeof Symbol.toPrimitive&&(s[Symbol.toPrimitive]=l)}var c=u("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor;e.exports=a?function(e){if(!e||"object"!=typeof e)return!1;var t=p(e,"lastIndex");if(!t||!n(t,"value"))return!1;try{o(e,s)}catch(e){return e===i}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===c(e)}},"./node_modules/is-set/index.js":e=>{var t,r="function"==typeof Map&&Map.prototype?Map:null,n="function"==typeof Set&&Set.prototype?Set:null;n||(t=function(e){return!1});var o=r?Map.prototype.has:null,i=n?Set.prototype.has:null;t||i||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(i.call(e),o)try{o.call(e)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},"./node_modules/is-string/index.js":(e,t,r)=>{var n=String.prototype.valueOf,o=Object.prototype.toString,i=r("./node_modules/has-tostringtag/shams.js")();e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object String]"===o.call(e))}},"./node_modules/is-symbol/index.js":(e,t,r)=>{var n=Object.prototype.toString;if(r("./node_modules/has-symbols/index.js")()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==n.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},"./node_modules/is-typed-array/index.js":(e,t,r)=>{var n=r("./node_modules/for-each/index.js"),o=r("./node_modules/available-typed-arrays/index.js"),i=r("./node_modules/call-bind/callBound.js"),s=i("Object.prototype.toString"),u=r("./node_modules/has-tostringtag/shams.js")(),a="undefined"==typeof globalThis?r.g:globalThis,l=o(),c=i("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},p=i("String.prototype.slice"),f={},y=r("./node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js"),d=Object.getPrototypeOf;u&&y&&d&&n(l,(function(e){var t=new a[e];if(Symbol.toStringTag in t){var r=d(t),n=y(r,Symbol.toStringTag);if(!n){var o=d(r);n=y(o,Symbol.toStringTag)}f[e]=n.get}})),e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!u||!(Symbol.toStringTag in e)){var t=p(s(e),8,-1);return c(l,t)>-1}return!!y&&function(e){var t=!1;return n(f,(function(r,n){if(!t)try{t=r.call(e)===n}catch(e){}})),t}(e)}},"./node_modules/is-weakmap/index.js":e=>{var t,r="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,n="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;r||(t=function(e){return!1});var o=r?r.prototype.has:null,i=n?n.prototype.has:null;t||o||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(o.call(e,o),i)try{i.call(e,i)}catch(e){return!0}return e instanceof r}catch(e){}return!1}},"./node_modules/is-weakset/index.js":(e,t,r)=>{var n=r("./node_modules/get-intrinsic/index.js"),o=r("./node_modules/call-bind/callBound.js"),i=n("%WeakSet%",!0),s=o("WeakSet.prototype.has",!0);if(s){var u=o("WeakMap.prototype.has",!0);e.exports=function(e){if(!e||"object"!=typeof e)return!1;try{if(s(e,s),u)try{u(e,u)}catch(e){return!0}return e instanceof i}catch(e){}return!1}}else e.exports=function(e){return!1}},"./node_modules/isarray/index.js":e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},"./node_modules/object-inspect/index.js":(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,s=n&&Map.prototype.forEach,u="function"==typeof Set&&Set.prototype,a=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=u&&a&&"function"==typeof a.get?a.get:null,c=u&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,h=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,j=String.prototype.toUpperCase,_=String.prototype.toLowerCase,w=RegExp.prototype.test,x=Array.prototype.concat,S=Array.prototype.join,O=Array.prototype.slice,P=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,I="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,M=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function N(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||w.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-P(-e):P(e);if(n!==e){var o=String(n),i=v.call(t,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var F=r("?4f7e"),B=F.custom,U=L(B)?B:null;function W(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function $(e){return b.call(String(e),/"/g,"&quot;")}function D(e){return!("[object Array]"!==G(e)||R&&"object"==typeof e&&R in e)}function C(e){return!("[object RegExp]"!==G(e)||R&&"object"==typeof e&&R in e)}function L(e){if(I)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,n,o){var u=r||{};if(z(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(z(u,"maxStringLength")&&("number"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!z(u,"customInspect")||u.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(z(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(z(u,"numericSeparator")&&"boolean"!=typeof u.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=u.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return K(t,u);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var j=String(t);return h?N(t,j):j}if("bigint"==typeof t){var w=String(t)+"n";return h?N(t,w):w}var P=void 0===u.depth?5:u.depth;if(void 0===n&&(n=0),n>=P&&P>0&&"object"==typeof t)return D(t)?"[Array]":"[Object]";var k=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=S.call(Array(e.indent+1)," ")}return{base:r,prev:S.call(Array(t+1),r)}}(u,n);if(void 0===o)o=[];else if(H(o,t)>=0)return"[Circular]";function B(t,r,i){if(r&&(o=O.call(o)).push(r),i){var s={depth:u.depth};return z(u,"quoteStyle")&&(s.quoteStyle=u.quoteStyle),e(t,s,n+1,o)}return e(t,u,n+1,o)}if("function"==typeof t&&!C(t)){var q=function(e){if(e.name)return e.name;var t=g.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),V=Z(t,B);return"[Function"+(q?": "+q:" (anonymous)")+"]"+(V.length>0?" { "+S.call(V,", ")+" }":"")}if(L(t)){var ee=I?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!=typeof t||I?ee:J(ee)}if(function(e){return!(!e||"object"!=typeof e)&&("undefined"!=typeof HTMLElement&&e instanceof HTMLElement||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)}(t)){for(var te="<"+_.call(String(t.nodeName)),re=t.attributes||[],ne=0;ne<re.length;ne++)te+=" "+re[ne].name+"="+W($(re[ne].value),"double",u);return te+=">",t.childNodes&&t.childNodes.length&&(te+="..."),te+"</"+_.call(String(t.nodeName))+">"}if(D(t)){if(0===t.length)return"[]";var oe=Z(t,B);return k&&!function(e){for(var t=0;t<e.length;t++)if(H(e[t],"\n")>=0)return!1;return!0}(oe)?"["+Q(oe,k)+"]":"[ "+S.call(oe,", ")+" ]"}if(function(e){return!("[object Error]"!==G(e)||R&&"object"==typeof e&&R in e)}(t)){var ie=Z(t,B);return"cause"in Error.prototype||!("cause"in t)||T.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(ie,", ")+" }":"{ ["+String(t)+"] "+S.call(x.call("[cause]: "+B(t.cause),ie),", ")+" }"}if("object"==typeof t&&a){if(U&&"function"==typeof t[U]&&F)return F(t,{depth:P-n});if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return s.call(t,(function(e,r){se.push(B(r,t,!0)+" => "+B(e,t))})),X("Map",i.call(t),se,k)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ue=[];return c.call(t,(function(e){ue.push(B(e,t))})),X("Set",l.call(t),ue,k)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Y("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Y("WeakSet");if(function(e){if(!y||!e||"object"!=typeof e)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return Y("WeakRef");if(function(e){return!("[object Number]"!==G(e)||R&&"object"==typeof e&&R in e)}(t))return J(B(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return J(B(A.call(t)));if(function(e){return!("[object Boolean]"!==G(e)||R&&"object"==typeof e&&R in e)}(t))return J(d.call(t));if(function(e){return!("[object String]"!==G(e)||R&&"object"==typeof e&&R in e)}(t))return J(B(String(t)));if(!function(e){return!("[object Date]"!==G(e)||R&&"object"==typeof e&&R in e)}(t)&&!C(t)){var ae=Z(t,B),le=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,ce=t instanceof Object?"":"null prototype",pe=!le&&R&&Object(t)===t&&R in t?v.call(G(t),8,-1):ce?"Object":"",fe=(le||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(pe||ce?"["+S.call(x.call([],pe||[],ce||[]),": ")+"] ":"");return 0===ae.length?fe+"{}":k?fe+"{"+Q(ae,k)+"}":fe+"{ "+S.call(ae,", ")+" }"}return String(t)};var q=Object.prototype.hasOwnProperty||function(e){return e in this};function z(e,t){return q.call(e,t)}function G(e){return h.call(e)}function H(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function K(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return K(v.call(e,0,t.maxStringLength),t)+n}return W(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,V),"single",t)}function V(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+j.call(t.toString(16))}function J(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function X(e,t,r,n){return e+" ("+t+") {"+(n?Q(r,n):S.call(r,", "))+"}"}function Q(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+S.call(e,","+r)+"\n"+t.prev}function Z(e,t){var r=D(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=z(e,o)?t(e[o],e):""}var i,s="function"==typeof k?k(e):[];if(I){i={};for(var u=0;u<s.length;u++)i["$"+s[u]]=s[u]}for(var a in e)z(e,a)&&(r&&String(Number(a))===a&&a<e.length||I&&i["$"+a]instanceof Symbol||(w.call(/[^\w$]/,a)?n.push(t(a,e)+": "+t(e[a],e)):n.push(a+": "+t(e[a],e))));if("function"==typeof k)for(var l=0;l<s.length;l++)T.call(e,s[l])&&n.push("["+t(s[l])+"]: "+t(e[s[l]],e));return n}},"./node_modules/object-is/implementation.js":e=>{var t=function(e){return e!=e};e.exports=function(e,r){return 0===e&&0===r?1/e==1/r:e===r||!(!t(e)||!t(r))}},"./node_modules/object-is/index.js":(e,t,r)=>{var n=r("./node_modules/define-properties/index.js"),o=r("./node_modules/call-bind/index.js"),i=r("./node_modules/object-is/implementation.js"),s=r("./node_modules/object-is/polyfill.js"),u=r("./node_modules/object-is/shim.js"),a=o(s(),Object);n(a,{getPolyfill:s,implementation:i,shim:u}),e.exports=a},"./node_modules/object-is/polyfill.js":(e,t,r)=>{var n=r("./node_modules/object-is/implementation.js");e.exports=function(){return"function"==typeof Object.is?Object.is:n}},"./node_modules/object-is/shim.js":(e,t,r)=>{var n=r("./node_modules/object-is/polyfill.js"),o=r("./node_modules/define-properties/index.js");e.exports=function(){var e=n();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},"./node_modules/object-keys/implementation.js":(e,t,r)=>{var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,s=r("./node_modules/object-keys/isArguments.js"),u=Object.prototype.propertyIsEnumerable,a=!u.call({toString:null},"toString"),l=u.call((function(){}),"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],p=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},y=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{p(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();n=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===i.call(e),n=s(e),u=t&&"[object String]"===i.call(e),f=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var d=l&&r;if(u&&e.length>0&&!o.call(e,0))for(var h=0;h<e.length;++h)f.push(String(h));if(n&&e.length>0)for(var m=0;m<e.length;++m)f.push(String(m));else for(var g in e)d&&"prototype"===g||!o.call(e,g)||f.push(String(g));if(a)for(var v=function(e){if("undefined"==typeof window||!y)return p(e);try{return p(e)}catch(e){return!1}}(e),b=0;b<c.length;++b)v&&"constructor"===c[b]||!o.call(e,c[b])||f.push(c[b]);return f}}e.exports=n},"./node_modules/object-keys/index.js":(e,t,r)=>{var n=Array.prototype.slice,o=r("./node_modules/object-keys/isArguments.js"),i=Object.keys,s=i?function(e){return i(e)}:r("./node_modules/object-keys/implementation.js"),u=Object.keys;s.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?u(n.call(e)):u(e)})}else Object.keys=s;return Object.keys||s},e.exports=s},"./node_modules/object-keys/isArguments.js":e=>{var t=Object.prototype.toString;e.exports=function(e){var r=t.call(e),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),n}},"./node_modules/object.assign/implementation.js":(e,t,r)=>{var n=r("./node_modules/object-keys/index.js"),o=r("./node_modules/has-symbols/shams.js")(),i=r("./node_modules/call-bind/callBound.js"),s=Object,u=i("Array.prototype.push"),a=i("Object.prototype.propertyIsEnumerable"),l=o?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var r=s(e);if(1===arguments.length)return r;for(var i=1;i<arguments.length;++i){var c=s(arguments[i]),p=n(c),f=o&&(Object.getOwnPropertySymbols||l);if(f)for(var y=f(c),d=0;d<y.length;++d){var h=y[d];a(c,h)&&u(p,h)}for(var m=0;m<p.length;++m){var g=p[m];if(a(c,g)){var v=c[g];r[g]=v}}}return r}},"./node_modules/object.assign/index.js":(e,t,r)=>{var n=r("./node_modules/define-properties/index.js"),o=r("./node_modules/call-bind/index.js"),i=r("./node_modules/object.assign/implementation.js"),s=r("./node_modules/object.assign/polyfill.js"),u=r("./node_modules/object.assign/shim.js"),a=o.apply(s()),l=function(e,t){return a(Object,arguments)};n(l,{getPolyfill:s,implementation:i,shim:u}),e.exports=l},"./node_modules/object.assign/polyfill.js":(e,t,r)=>{var n=r("./node_modules/object.assign/implementation.js");e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var o=Object.assign({},r),i="";for(var s in o)i+=s;return e!==i}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?n:Object.assign:n}},"./node_modules/object.assign/shim.js":(e,t,r)=>{var n=r("./node_modules/define-properties/index.js"),o=r("./node_modules/object.assign/polyfill.js");e.exports=function(){var e=o();return n(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},"./node_modules/reflect-metadata/Reflect.js":(e,t,r)=>{var n;!function(e){!function(t){var n="object"==typeof r.g?r.g:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),o=i(e);function i(e,t){return function(r,n){"function"!=typeof e[r]&&Object.defineProperty(e,r,{configurable:!0,writable:!0,value:n}),t&&t(r,n)}}void 0===n.Reflect?n.Reflect=e:o=i(n.Reflect,o),function(e){var t=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,n=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",i="function"==typeof Object.create,s={__proto__:[]}instanceof Array,u=!i&&!s,a={create:i?function(){return U(Object.create(null))}:s?function(){return U({__proto__:null})}:function(){return U({})},has:u?function(e,r){return t.call(e,r)}:function(e,t){return t in e},get:u?function(e,r){return t.call(e,r)?e[r]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),c="object"==typeof process&&process.env&&"true"===process.env.REFLECT_METADATA_USE_MAP_POLYFILL,p=c||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var e={},t=[],r=function(){function e(e,t,r){this._index=0,this._keys=e,this._values=t,this._selector=r}return e.prototype["@@iterator"]=function(){return this},e.prototype[o]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var r=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var r=this._find(e,!0);return this._values[r]=t,this},t.prototype.delete=function(t){var r=this._find(t,!1);if(r>=0){for(var n=this._keys.length,o=r+1;o<n;o++)this._keys[o-1]=this._keys[o],this._values[o-1]=this._values[o];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new r(this._keys,this._values,n)},t.prototype.values=function(){return new r(this._keys,this._values,i)},t.prototype.entries=function(){return new r(this._keys,this._values,s)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[o]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function n(e,t){return e}function i(e,t){return t}function s(e,t){return[e,t]}}():Map,f=c||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?function(){function e(){this._map=new p}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[o]=function(){return this.keys()},e}():Set,y=new(c||"function"!=typeof WeakMap?function(){var e=a.create(),r=n();return function(){function e(){this._key=n()}return e.prototype.has=function(e){var t=o(e,!1);return void 0!==t&&a.has(t,this._key)},e.prototype.get=function(e){var t=o(e,!1);return void 0!==t?a.get(t,this._key):void 0},e.prototype.set=function(e,t){return o(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=o(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=n()},e}();function n(){var t;do{t="@@WeakMap@@"+s()}while(a.has(e,t));return e[t]=!0,t}function o(e,n){if(!t.call(e,r)){if(!n)return;Object.defineProperty(e,r,{value:a.create()})}return e[r]}function i(e,t){for(var r=0;r<t;++r)e[r]=255*Math.random()|0;return e}function s(){var e=function(e){return"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(e)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(e)):i(new Uint8Array(e),e):i(new Array(e),e)}(16);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",r=0;r<16;++r){var n=e[r];4!==r&&6!==r&&8!==r||(t+="-"),n<16&&(t+="0"),t+=n.toString(16).toLowerCase()}return t}}():WeakMap);function d(e,t,r){var n=y.get(e);if(x(n)){if(!r)return;n=new p,y.set(e,n)}var o=n.get(t);if(x(o)){if(!r)return;o=new p,n.set(t,o)}return o}function h(e,t,r){if(m(e,t,r))return!0;var n=B(t);return!S(n)&&h(e,n,r)}function m(e,t,r){var n=d(t,r,!1);return!x(n)&&function(e){return!!e}(n.has(e))}function g(e,t,r){if(m(e,t,r))return v(e,t,r);var n=B(t);return S(n)?void 0:g(e,n,r)}function v(e,t,r){var n=d(t,r,!1);if(!x(n))return n.get(e)}function b(e,t,r,n){d(r,n,!0).set(e,t)}function j(e,t){var r=_(e,t),n=B(e);if(null===n)return r;var o=j(n,t);if(o.length<=0)return r;if(r.length<=0)return o;for(var i=new f,s=[],u=0,a=r;u<a.length;u++){var l=a[u];i.has(l)||(i.add(l),s.push(l))}for(var c=0,p=o;c<p.length;c++)l=p[c],i.has(l)||(i.add(l),s.push(l));return s}function _(e,t){var r=[],n=d(e,t,!1);if(x(n))return r;for(var o=T(n.keys()),i=0;;){var s=N(o);if(!s)return r.length=i,r;var u=M(s);try{r[i]=u}catch(e){try{F(o)}finally{throw e}}i++}}function w(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function x(e){return void 0===e}function S(e){return null===e}function O(e){return"object"==typeof e?null!==e:"function"==typeof e}function P(e,t){switch(w(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var r=3===t?"string":5===t?"number":"default",o=R(e,n);if(void 0!==o){var i=o.call(e,r);if(O(i))throw new TypeError;return i}return function(e,t){if("string"===t){var r=e.toString;if(E(r)&&!O(o=r.call(e)))return o;if(E(n=e.valueOf)&&!O(o=n.call(e)))return o}else{var n;if(E(n=e.valueOf)&&!O(o=n.call(e)))return o;var o,i=e.toString;if(E(i)&&!O(o=i.call(e)))return o}throw new TypeError}(e,"default"===r?"number":r)}function A(e){var t=P(e,3);return function(e){return"symbol"==typeof e}(t)?t:function(e){return""+e}(t)}function k(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function E(e){return"function"==typeof e}function I(e){return"function"==typeof e}function R(e,t){var r=e[t];if(null!=r){if(!E(r))throw new TypeError;return r}}function T(e){var t=R(e,o);if(!E(t))throw new TypeError;var r=t.call(e);if(!O(r))throw new TypeError;return r}function M(e){return e.value}function N(e){var t=e.next();return!t.done&&t}function F(e){var t=e.return;t&&t.call(e)}function B(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===l)return t;if(t!==l)return t;var r=e.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return t;var o=n.constructor;return"function"!=typeof o||o===e?t:o}function U(e){return e.__=void 0,delete e.__,e}e("decorate",(function(e,t,r,n){if(x(r)){if(!k(e))throw new TypeError;if(!I(t))throw new TypeError;return function(e,t){for(var r=e.length-1;r>=0;--r){var n=(0,e[r])(t);if(!x(n)&&!S(n)){if(!I(n))throw new TypeError;t=n}}return t}(e,t)}if(!k(e))throw new TypeError;if(!O(t))throw new TypeError;if(!O(n)&&!x(n)&&!S(n))throw new TypeError;return S(n)&&(n=void 0),function(e,t,r,n){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,r,n);if(!x(i)&&!S(i)){if(!O(i))throw new TypeError;n=i}}return n}(e,t,r=A(r),n)})),e("metadata",(function(e,t){return function(r,n){if(!O(r))throw new TypeError;if(!x(n)&&!function(e){switch(w(e)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;b(e,t,r,n)}})),e("defineMetadata",(function(e,t,r,n){if(!O(r))throw new TypeError;return x(n)||(n=A(n)),b(e,t,r,n)})),e("hasMetadata",(function(e,t,r){if(!O(t))throw new TypeError;return x(r)||(r=A(r)),h(e,t,r)})),e("hasOwnMetadata",(function(e,t,r){if(!O(t))throw new TypeError;return x(r)||(r=A(r)),m(e,t,r)})),e("getMetadata",(function(e,t,r){if(!O(t))throw new TypeError;return x(r)||(r=A(r)),g(e,t,r)})),e("getOwnMetadata",(function(e,t,r){if(!O(t))throw new TypeError;return x(r)||(r=A(r)),v(e,t,r)})),e("getMetadataKeys",(function(e,t){if(!O(e))throw new TypeError;return x(t)||(t=A(t)),j(e,t)})),e("getOwnMetadataKeys",(function(e,t){if(!O(e))throw new TypeError;return x(t)||(t=A(t)),_(e,t)})),e("deleteMetadata",(function(e,t,r){if(!O(t))throw new TypeError;x(r)||(r=A(r));var n=d(t,r,!1);if(x(n))return!1;if(!n.delete(e))return!1;if(n.size>0)return!0;var o=y.get(t);return o.delete(r),o.size>0||y.delete(t),!0}))}(o)}()}(n||(n={}))},"./node_modules/regexp.prototype.flags/implementation.js":(e,t,r)=>{var n=r("./node_modules/functions-have-names/index.js").functionsHaveConfigurableNames(),o=Object,i=TypeError;e.exports=function(){if(null!=this&&this!==o(this))throw new i("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e},n&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})},"./node_modules/regexp.prototype.flags/index.js":(e,t,r)=>{var n=r("./node_modules/define-properties/index.js"),o=r("./node_modules/call-bind/index.js"),i=r("./node_modules/regexp.prototype.flags/implementation.js"),s=r("./node_modules/regexp.prototype.flags/polyfill.js"),u=r("./node_modules/regexp.prototype.flags/shim.js"),a=o(s());n(a,{getPolyfill:s,implementation:i,shim:u}),e.exports=a},"./node_modules/regexp.prototype.flags/polyfill.js":(e,t,r)=>{var n=r("./node_modules/regexp.prototype.flags/implementation.js"),o=r("./node_modules/define-properties/index.js").supportsDescriptors,i=Object.getOwnPropertyDescriptor;e.exports=function(){if(o&&"gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",r={};if(Object.defineProperty(r,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(r,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return n}},"./node_modules/regexp.prototype.flags/shim.js":(e,t,r)=>{var n=r("./node_modules/define-properties/index.js").supportsDescriptors,o=r("./node_modules/regexp.prototype.flags/polyfill.js"),i=Object.getOwnPropertyDescriptor,s=Object.defineProperty,u=TypeError,a=Object.getPrototypeOf,l=/a/;e.exports=function(){if(!n||!a)throw new u("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=a(l),r=i(t,"flags");return r&&r.get===e||s(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},"./node_modules/side-channel/index.js":(e,t,r)=>{var n=r("./node_modules/get-intrinsic/index.js"),o=r("./node_modules/call-bind/callBound.js"),i=r("./node_modules/object-inspect/index.js"),s=n("%TypeError%"),u=n("%WeakMap%",!0),a=n("%Map%",!0),l=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),p=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),y=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),h=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new s("Side channel does not contain "+i(e))},get:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return l(e,n)}else if(a){if(t)return f(t,n)}else if(r)return function(e,t){var r=h(e,t);return r&&r.value}(r,n)},has:function(n){if(u&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(a){if(t)return d(t,n)}else if(r)return function(e,t){return!!h(e,t)}(r,n);return!1},set:function(n,o){u&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new u),c(e,n,o)):a?(t||(t=new a),y(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=h(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}},"./node_modules/which-boxed-primitive/index.js":(e,t,r)=>{var n=r("./node_modules/is-string/index.js"),o=r("./node_modules/is-number-object/index.js"),i=r("./node_modules/is-boolean-object/index.js"),s=r("./node_modules/is-symbol/index.js"),u=r("./node_modules/is-bigint/index.js");e.exports=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e?null:n(e)?"String":o(e)?"Number":i(e)?"Boolean":s(e)?"Symbol":u(e)?"BigInt":void 0}},"./node_modules/which-typed-array/index.js":(e,t,r)=>{var n=r("./node_modules/for-each/index.js"),o=r("./node_modules/available-typed-arrays/index.js"),i=r("./node_modules/call-bind/callBound.js"),s=i("Object.prototype.toString"),u=r("./node_modules/has-tostringtag/shams.js")(),a="undefined"==typeof globalThis?r.g:globalThis,l=o(),c=i("String.prototype.slice"),p={},f=r("./node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js"),y=Object.getPrototypeOf;u&&f&&y&&n(l,(function(e){if("function"==typeof a[e]){var t=new a[e];if(Symbol.toStringTag in t){var r=y(t),n=f(r,Symbol.toStringTag);if(!n){var o=y(r);n=f(o,Symbol.toStringTag)}p[e]=n.get}}}));var d=r("./node_modules/is-typed-array/index.js");e.exports=function(e){return!!d(e)&&(u&&Symbol.toStringTag in e?function(e){var t=!1;return n(p,(function(r,n){if(!t)try{var o=r.call(e);o===n&&(t=o)}catch(e){}})),t}(e):c(s(e),8,-1))}},"?4f7e":()=>{},"./node_modules/available-typed-arrays/index.js":(e,t,r)=>{var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],o="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof o[n[t]]&&(e[e.length]=n[t]);return e}},"./node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js":(e,t,r)=>{var n=r("./node_modules/get-intrinsic/index.js")("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},"./node_modules/es-get-iterator/index.js":(e,t,r)=>{var n=r("./node_modules/is-arguments/index.js");if(r("./node_modules/has-symbols/index.js")()||r("./node_modules/has-symbols/shams.js")()){var o=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[o]?e[o]():n(e)?Array.prototype[o].call(e):void 0}}else{var i=r("./node_modules/isarray/index.js"),s=r("./node_modules/is-string/index.js"),u=r("./node_modules/get-intrinsic/index.js"),a=u("%Map%",!0),l=u("%Set%",!0),c=r("./node_modules/call-bind/callBound.js"),p=c("Array.prototype.push"),f=c("String.prototype.charCodeAt"),y=c("String.prototype.slice"),d=function(e){var t=0;return{next:function(){var r,n=t>=e.length;return n||(r=e[t],t+=1),{done:n,value:r}}}},h=function(e,t){if(i(e)||n(e))return d(e);if(s(e)){var r=0;return{next:function(){var t=function(e,t){if(t+1>=e.length)return t+1;var r=f(e,t);if(r<55296||r>56319)return t+1;var n=f(e,t+1);return n<56320||n>57343?t+1:t+2}(e,r),n=y(e,r,t);return r=t,{done:t>e.length,value:n}}}}return t&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(a||l){var m=r("./node_modules/is-map/index.js"),g=r("./node_modules/is-set/index.js"),v=c("Map.prototype.forEach",!0),b=c("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var j=c("Map.prototype.iterator",!0),_=c("Set.prototype.iterator",!0),w=function(e){var t=!1;return{next:function(){try{return{done:t,value:t?void 0:e.next()}}catch(e){return t=!0,{done:!0,value:void 0}}}}};var x=c("Map.prototype.@@iterator",!0)||c("Map.prototype._es6-shim iterator_",!0),S=c("Set.prototype.@@iterator",!0)||c("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(m(e)){if(j)return w(j(e));if(x)return x(e);if(v){var t=[];return v(e,(function(e,r){p(t,[r,e])})),d(t)}}if(g(e)){if(_)return w(_(e));if(S)return S(e);if(b){var r=[];return b(e,(function(e){p(r,e)})),d(r)}}}(e)||h(e)}}else e.exports=function(e){if(null!=e)return h(e,!0)}}},"./node_modules/which-collection/index.js":(e,t,r)=>{var n=r("./node_modules/is-map/index.js"),o=r("./node_modules/is-set/index.js"),i=r("./node_modules/is-weakmap/index.js"),s=r("./node_modules/is-weakset/index.js");e.exports=function(e){if(e&&"object"==typeof e){if(n(e))return"Map";if(o(e))return"Set";if(i(e))return"WeakMap";if(s(e))return"WeakSet"}return!1}},"./dist/iter/Iter.js":(e,t,r)=>{r.r(t),r.d(t,{Iter:()=>h});var n,o=r("./node_modules/deep-equal/index.js"),i=r("./dist/option/index.js"),s=r("./dist/result/Result.js"),u=r("./dist/utils/namespaced.js"),a=r("./dist/utils/resolvable.js"),l=r("./dist/iter/helpers/cloned.js"),c=r("./dist/iter/helpers/toIter.js"),p=r("./dist/iter/helpers/toNumber.js"),f=function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},y=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},d=function(e,t){return function(r,n){t(r,n,e)}};let h=n=class{#e;#t=!1;#r={called:!1,dead:!1};constructor(e){this.#e=e}next(){if(this.#t)throw new ReferenceError("this iterator has been consumed and cannot be used");if(this.#r.dead)return i.None;const{value:e,done:t}=this.#e.next();return this.#r.called&&void 0===e&&(this.#r.dead=!0),t?i.None:(0,i.Some)(e)}next_if(e){const t=this.peek();return t.is_none()?i.None:e.call(void 0,t.unwrap())?this.next():i.None}next_if_eq(e){return this.next_if((t=>o(t,e)))}advance_by(e){if(e<0||!Number.isInteger(e))throw new TypeError("n is not a nonnegative integer");for(let t,r=0;r<e;r++,t=this.next())if(t?.is_none())return(0,s.Err)(r);return(0,s.Ok)(void 0)}all(e){let t=this.next();for(;t.is_some();){if(!e.call(void 0,t.unwrap()))return!1;t=this.next()}return!0}any(e){let t=this.next();for(;t.is_some();){if(e.call(void 0,t.unwrap()))return!0;t=this.next()}return!1}chain(e){return this.#t=!0,e.#t=!0,new n({next:function(){const{value:t,done:r}=this.#e.next();return r?e.#e.next():{value:t,done:r}}.bind(this)})}cloned(){const[e,t]=(0,l.cloned)(this.#e);return this.#e=function*(){for(;;){const r=e(0);if(r===t)break;yield r}}(),new n(function*(){for(;;){const r=e(1);if(r===t)break;yield structuredClone(r)}}())}cmp(e){return this.cmp_by(e,((e,t)=>+e-+t))}cmp_by(e,t){let r,n;for(;!r?.is_none()&&!n?.is_none();){if(r=this.next(),n=e.next(),r.is_none()||n.is_none())return r.is_some()?1:n.is_some()?-1:0;const o=t.call(void 0,r.unwrap(),n.unwrap());if(0!==o)return this.#t=!0,e.#t=!0,Number.isNaN(o)?0:Math.sign(o)}return this.#t=!0,e.#t=!0,0}collect(){const e=[];let t;for(;!t?.is_none();)t=this.next(),t.is_some()&&e.push(t.unwrap());return this.#t=!0,e}collect_into(e){return e.push(...this.collect()),e}copied(){return this.cloned()}count(){return this.collect().length}cycle(){return this.#t=!0,new n(function*(){for(;;){this.#t=!1;const e=this.cloned();let t;for(;!(t=e.#e.next()).done;)yield t.value;this.#t=!0}}.call(this))}enumerate(){return this.#t=!0,new n(function*(){let e,t=0;do{this.#t=!1,e=this.next(),this.#t=!0,e.is_some()&&(yield[t++,e.unwrap()])}while(e.is_some())}.call(this))}eq(e){return this.eq_by(e,o)}eq_by(e,t){let r,n;for(;!r?.is_none()&&!n?.is_none();){if(r=this.next(),n=e.next(),r.is_none()||n.is_none())return r.is_none()&&n.is_none();if(!t.call(void 0,r.unwrap(),n.unwrap()))return!1}return this.#t=!0,e.#t=!0,!(!r?.is_none()||!n?.is_none())}filter(e){return this.#t=!0,new n(function*(){let t;do{for(this.#t=!1,t=this.next();t.is_some()&&!e.call(void 0,t.unwrap());)t=this.next();t.is_some()&&(yield t.unwrap()),this.#t=!0}while(t.is_some())}.call(this))}filter_map(e){return this.#t=!0,new n(function*(){let t;do{if(this.#t=!1,t=this.next(),t.is_some()){const r=e.call(void 0,t.unwrap());r.is_some()&&(yield r.unwrap())}this.#t=!0}while(t.is_some())}.call(this))}find(e){return this.filter(e).next()}find_map(e){return this.filter_map(e).next()}flat_map(e){return this.map(e).flatten()}flatten(){return this.#t=!0,new n(function*(){let e;do{if(this.#t=!1,e=this.next(),this.#t=!0,e.is_some()){if(!e.unwrap()||"object"!=typeof e.unwrap())throw new TypeError("unable to flatten this value");const t=(0,c.toIter)(e.unwrap());let r;do{r=t.next(),r.is_some()&&(yield r.unwrap())}while(r.is_some())}}while(e.is_some())}.call(this))}fold(e,t){let r;this.#t=!0;do{this.#t=!1,r=this.next(),this.#t=!0,r.is_some()&&(e=t.call(void 0,e,r.unwrap()))}while(r.is_some());return e}for_each(e){let t;this.#t=!0;do{this.#t=!1,t=this.next(),this.#t=!0,t.is_some()&&e.call(void 0,t.unwrap())}while(t.is_some())}fuse(){return this.#r.called=!0,this}ge(e){return[0,1].includes(this.cmp(e))}gt(e){return 1===this.cmp(e)}inspect(e){return this.#t=!0,new n(function*(){let t;do{this.#t=!1,t=this.next(),t.is_some()&&(e.call(void 0,t.unwrap()),yield t.unwrap()),this.#t=!0}while(t.is_some())}.call(this))}intersperse(e){this.#t=!0;let t=!1;return new n(function*(){let r;do{this.#t=!1,r=this.next(),this.#t=!0,r.is_some()&&(t&&(yield structuredClone(e)),yield r.unwrap(),t=!0)}while(r.is_some())}.call(this))}intersperse_with(e){this.#t=!0;let t=!1;return new n(function*(){let r;do{this.#t=!1,r=this.next(),this.#t=!0,r.is_some()&&(t&&(yield e.call(void 0)),yield r.unwrap(),t=!0)}while(r.is_some())}.call(this))}is_partitioned(e){let t,r=!1;do{if(t=this.next(),t.is_some()){const n=e.call(void 0,t.unwrap());if(n||(r=!0),r&&n)return!1}}while(t.is_some());return this.#t=!0,!0}is_sorted(){return this.collect().every(((e,t,r)=>!(t+1 in r)||e<=r[t+1]))}is_sorted_by(e){return this.collect().every(((t,r,n)=>!(r+1 in n)||e.call(void 0,t,n[r+1])))}is_sorted_by_key(e){const t=this.collect(),r=t.map(e);return t.every(((e,t,n)=>!(t+1 in n)||r[t]<=r[t+1]))}last(){let e=i.None,t=i.None;do{[e,t]=[t,this.next()]}while(t.is_some());return e}le(e){return[-1,0].includes(this.cmp(e))}lt(e){return-1===this.cmp(e)}map(e){return this.#t=!0,new n(function*(){let t;do{this.#t=!1,t=this.next(),t.is_some()&&(yield e.call(void 0,t.unwrap())),this.#t=!0}while(t.is_some())}.call(this))}map_while(e){return this.#t=!0,new n(function*(){let t;do{if(this.#t=!1,t=this.next(),t.is_some()){const r=e.call(void 0,t.unwrap());if(r.is_none())return;yield r.unwrap()}this.#t=!0}while(t.is_some())}.call(this))}max(){const e=this.collect();return Math.max(...e)}max_by(e){const t=this.collect();return t.sort(e),t.length?(0,i.Some)(t[0]):i.None}max_by_key(e){const t=this.collect(),r=t.map(e),n=Math.max(...r),o=r.length-r.reverse().findIndex((e=>e===n))-1;return o in t?(0,i.Some)(t[o]):i.None}min(){const e=this.collect();return Math.min(...e)}min_by(e){const t=this.collect();return t.sort(e),t.length?(0,i.Some)(t[t.length-1]):i.None}min_by_key(e){const t=this.collect(),r=t.map(e),n=Math.min(...r),o=r.length-r.reverse().findIndex((e=>e===n))-1;return o in t?(0,i.Some)(t[o]):i.None}ne(e){return!this.eq(e)}next_chunk(e){if(e<0||!Number.isInteger(e))throw new TypeError("n is not a nonnegative integer");const t=[];for(let r=0;r<e;r++){const e=this.next();if(e.is_none())return(0,s.Err)((0,c.toIter)(t));t.push(e.unwrap())}return(0,s.Ok)(t)}nth(e){if(e<0||!Number.isInteger(e))throw new TypeError("n is not a nonnegative integer");for(let t=0;t<e-1;t++)this.next();return this.next()}partition(e){const t=[[],[]];let r;do{r=this.next(),r.is_some()&&t[+!e.call(void 0,r.unwrap())].push(r.unwrap())}while(r.is_some());return this.#t=!0,t}peek(){const e=this.#e.next(),t=this.#e;return this.#e=function*(){if(e.done)return;let r;for(yield e.value;!r?.done;)yield(r=t.next()).value}.call(this),e.done?i.None:(0,i.Some)(e.value)}position(e){let t,r=0;do{if(this.#t=!1,t=this.next(),this.#t=!0,t.is_none())return i.None;if(e.call(void 0,t.unwrap()))return(0,i.Some)(r);r++}while(t.is_some());return i.None}product(){return this.fold(1,((e,t)=>e*(0,p.toNumber)(t)))}reduce(e){const t=this.next();if(t.is_none())return i.None;let r,n=t.unwrap();do{this.#t=!1,r=this.next(),this.#t=!0,r.is_some()&&(n=e.call(void 0,n,r.unwrap()))}while(r.is_some());return(0,i.Some)(n)}scan(e,t){return this.#t=!0,new n(function*(){let r;do{if(this.#t=!1,r=this.next(),this.#t=!0,r.is_some()){const n={state:e},o=t.call(void 0,n,r.unwrap());if(o.is_none())return;yield o.unwrap(),e=n.state}}while(r.is_some())}.call(this))}skip(e){if(e<0||!Number.isInteger(e))throw new TypeError("n is not a nonnegative integer");return this.#t=!0,new n(function*(){for(this.#t=!1;e--;)this.next();let t;do{this.#t=!1,t=this.next(),this.#t=!0,t.is_some()&&(yield t.unwrap())}while(t.is_some())}.call(this))}skip_while(e){return this.#t=!0,new n(function*(){this.#t=!1;let t,r=this.#e.next();for(;!r.done&&e.call(void 0,r.value);)r=this.#e.next();yield r.value;do{this.#t=!1,t=this.next(),this.#t=!0,t.is_some()&&(yield t.unwrap())}while(t.is_some())}.call(this))}step_by(e){if(e<=0||!Number.isInteger(e))throw new TypeError("n is not a positive integer");return this.#t=!0,new n(function*(){let t;do{if(this.#t=!1,t=this.next(),t.is_none())return;let r=e;for(;--r;)this.next();this.#t=!0,yield t.unwrap()}while(t.is_some())}.call(this))}sum(){return this.fold(0,((e,t)=>e+(0,p.toNumber)(t)))}take(e){if(e<0||!Number.isInteger(e))throw new TypeError("n is not a nonnegative integer");return this.#t=!0,new n(function*(){let t;this.#t=!1;do{if(!e--)return;this.#t=!1,t=this.next(),this.#t=!0,t.is_some()&&(yield t.unwrap())}while(t.is_some())}.call(this))}take_while(e){return this.#t=!0,new n(function*(){let t;this.#t=!1;do{if(this.#t=!1,t=this.next(),this.#t=!0,t.is_some()){if(!e.call(void 0,t.unwrap()))return;yield t.unwrap()}}while(t.is_some())}.call(this))}unzip(){return this.collect().reduce(((e,t)=>{const[r,n]=t;return[e[0].concat(r),e[1].concat(n)]}),[[],[]])}zip(e){return this.#t=!0,e.#t=!0,new n({next:function(){const t=this.#e.next(),r=e.#e.next();return t.done||r.done?{value:void 0,done:!0}:{value:[t.value,r.value],done:!1}}.bind(this)})}};f([d(0,(0,a.ResolveTo)(n)),y("design:type",Function),y("design:paramtypes",[h]),y("design:returntype",void 0)],h.prototype,"chain",null),f([d(0,(0,a.ResolveTo)(n)),y("design:type",Function),y("design:paramtypes",[h]),y("design:returntype",void 0)],h.prototype,"cmp",null),f([d(0,(0,a.ResolveTo)(n)),y("design:type",Function),y("design:paramtypes",[h,Function]),y("design:returntype",void 0)],h.prototype,"cmp_by",null),f([d(0,(0,a.ResolveTo)(n)),y("design:type",Function),y("design:paramtypes",[h]),y("design:returntype",void 0)],h.prototype,"eq",null),f([d(0,(0,a.ResolveTo)(n)),y("design:type",Function),y("design:paramtypes",[h,Function]),y("design:returntype",void 0)],h.prototype,"eq_by",null),f([d(0,(0,a.ResolveTo)(n)),y("design:type",Function),y("design:paramtypes",[h]),y("design:returntype",void 0)],h.prototype,"ge",null),f([d(0,(0,a.ResolveTo)(n)),y("design:type",Function),y("design:paramtypes",[h]),y("design:returntype",void 0)],h.prototype,"gt",null),f([d(0,(0,a.ResolveTo)(n)),y("design:type",Function),y("design:paramtypes",[h]),y("design:returntype",void 0)],h.prototype,"le",null),f([d(0,(0,a.ResolveTo)(n)),y("design:type",Function),y("design:paramtypes",[h]),y("design:returntype",void 0)],h.prototype,"lt",null),f([d(0,(0,a.ResolveTo)(n)),y("design:type",Function),y("design:paramtypes",[h]),y("design:returntype",void 0)],h.prototype,"ne",null),f([d(0,(0,a.ResolveTo)(n)),y("design:type",Function),y("design:paramtypes",[h]),y("design:returntype",void 0)],h.prototype,"zip",null),h=n=f([(0,a.UseResolvables)(),(0,u.Namespaced)("Iter<T>",{errors:!0}),y("design:paramtypes",[Object])],h)},"./dist/iter/helpers/cloned.js":(e,t,r)=>{function n(e){const t=[[],[]],r=Symbol();return[n=>{if(0!==t[n].length)return t[n].shift();const o=e.next();return o.done?r:(t[1-n].push(o.value),o.value)},r]}r.r(t),r.d(t,{cloned:()=>n})},"./dist/iter/helpers/toIter.js":(e,t,r)=>{r.r(t),r.d(t,{toIter:()=>i});var n=r("./dist/iter/Iter.js");const o=new TypeError("unable to convert this value to Iter<T>");function i(e){if(!e||"object"!=typeof e)throw o;if(e instanceof n.Iter)return e;if(Symbol.iterator in e&&"function"==typeof Reflect.get(e,Symbol.iterator))return new n.Iter(Reflect.get(e,Symbol.iterator).call(e));if("next"in e&&"function"==typeof Reflect.get(e,"next")){const t=Reflect.get(e,"next").bind(e);return new n.Iter(function*(){let e;do{e=t(),e.done||(yield e.value)}while(!e.done)}())}throw o}},"./dist/iter/helpers/toNumber.js":(e,t,r)=>{r.r(t),r.d(t,{toNumber:()=>o});const n=new TypeError("unable to convert this value to a number");function o(e){if(null==e||"string"==typeof e)throw n;if("number"==typeof e)return e;if("object"==typeof e){if("valueOf"in e&&"function"==typeof Reflect.get(e,"valueOf"))return Reflect.get(e,"valueOf")();if(Symbol.toPrimitive in e&&"function"==typeof Reflect.get(e,Symbol.toPrimitive))return Reflect.get(e,Symbol.toPrimitive)()}throw n}},"./dist/iter/index.js":(e,t,r)=>{r.r(t),r.d(t,{empty:()=>i,from_fn:()=>s,from_generator:()=>u,iter:()=>o,once:()=>a,once_with:()=>l,repeat:()=>c,repeat_with:()=>p,successors:()=>f,zip:()=>y});var n=r("./dist/iter/helpers/toIter.js");const o=e=>(0,n.toIter)(e??[]),i=()=>o(),s=e=>(0,n.toIter)({next(){const t=e.call(void 0);return t.is_none()?{value:void 0,done:!0}:{value:t.unwrap(),done:!1}}}),u=e=>(0,n.toIter)(e),a=e=>(0,n.toIter)([e]),l=e=>(0,n.toIter)(function*(){yield e.call(void 0)}()),c=e=>(0,n.toIter)(function*(){for(;;)yield structuredClone(e)}()),p=e=>(0,n.toIter)(function*(){for(;;)yield e.call(void 0)}()),f=(e,t)=>(0,n.toIter)(function*(){if(e.is_none())return;let r=e;do{yield r.unwrap(),r=t.call(void 0,r.unwrap())}while(r.is_some())}()),y=(e,t)=>(0,n.toIter)(e).zip(t)},"./dist/macros/env.js":(e,t,r)=>{r.r(t),r.d(t,{env:()=>n});const n=e=>{if("undefined"!=typeof process)return process.env[e]}},"./dist/macros/index.js":(e,t,r)=>{r.r(t),r.d(t,{env:()=>n.env});var n=r("./dist/macros/env.js")},"./dist/option/Option.js":(e,t,r)=>{r.r(t),r.d(t,{None:()=>c,Some:()=>p});var n,o=r("./node_modules/deep-equal/index.js"),i=r("./dist/iter/helpers/toIter.js"),s=r("./dist/result/Result.js"),u=r("./dist/utils/namespaced.js"),a=r("./dist/utils/unenumerable.js");let l=n=class{#n;#o;constructor(...e){0===e.length?(this.#n=!0,this.#o=void 0):(this.#n=!1,this.#o=e[0]),(0,a.unenumerable)(this,["filter","is_some_and"])}and(e){return this.#n?c:e}and_then(e){return this.#n?c:e.call(void 0,this.#o)}cloned(){return this.#n?new n:new n(structuredClone(this.#o))}copied(){return this.cloned()}contains(e){return!this.#n&&o(this.#o,e,{strict:!0})}expect(e){if(this.#n)throw new Error(e);return this.#o}filter=function(e){return this.#n?c:e.call(void 0,this.#o)?new n(this.#o):c};flatten(){if(this.#n)return c;if(this.#o instanceof n)return new n(this.#o.#o);throw new TypeError("cannot flatten a value that is not an option")}get_or_insert(e){return this.#n&&(this.#n=!1,this.#o=e),this.#o}get_or_insert_with(e){return this.get_or_insert(e.call(void 0))}insert(e){return this.#n=!1,this.#o=e,this.#o}inspect(e){return this.#n||e.call(void 0,this.#o),this}is_none(){return this.#n}is_some(){return!this.#n}is_some_and=function(e){return!this.#n&&e.call(void 0,this.#o)};iter(){return this.#n?(0,i.toIter)([]):(0,i.toIter)([this.#o])}map(e){return this.#n?c:new n(e.call(void 0,this.#o))}map_or(e,t){return this.#n?e:t.call(void 0,this.#o)}map_or_else(e,t){return this.#n?e.call(void 0):t.call(void 0,this.#o)}ok_or(e){return this.#n?(0,s.Err)(e):(0,s.Ok)(this.#o)}ok_or_else(e){return this.#n?(0,s.Err)(e.call(void 0)):(0,s.Ok)(this.#o)}or(e){return this.#n?e.#n?c:new n(e.#o):new n(this.#o)}or_else(e){return this.#n?e.call(void 0):new n(this.#o)}replace(e){const t=this.#n,r=this.#o;return this.#n=!1,this.#o=e,t?c:new n(r)}take(){const e=this.#n,t=this.#o;return this.#n=!0,this.#o=void 0,e?c:new n(t)}transpose(){if(this.#n)return(0,s.Ok)(c);const e=this.#o;return e.is_err()?(0,s.Err)(e.unwrap_err()):(0,s.Ok)(p(e.unwrap()))}unwrap(){if(this.#n)throw new Error("called on a `None` value");return this.#o}unwrap_or(e){return this.#n?e:this.#o}unwrap_or_else(e){return this.#n?e.call(void 0):this.#o}unwrap_unchecked(){return this.#o}unzip(){if(this.#n)return[c,c];const[e,t]=this.#o;return[new n(e),new n(t)]}xor(e){return this.#n&&!e.#n?new n(e.#o):!this.#n&&e.#n?new n(this.#o):c}zip(e){return this.#n||e.#n?c:new n([this.#o,e.#o])}zip_with(e,t){return this.#n||e.#n?c:new n(t.call(void 0,this.#o,e.#o))}static{Reflect.deleteProperty(this,"name"),Object.defineProperty(this,"name",{value:"Option",writable:!1,enumerable:!1,configurable:!0})}};l=n=function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s}([(0,u.Namespaced)("Option<T>",{errors:!0}),function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}("design:paramtypes",[Object])],l),Symbol();const c=new l,p=e=>new l(e)},"./dist/option/index.js":(e,t,r)=>{r.r(t),r.d(t,{None:()=>n.None,Some:()=>n.Some});var n=r("./dist/option/Option.js")},"./dist/result/Result.js":(e,t,r)=>{r.r(t),r.d(t,{Err:()=>l,Ok:()=>a});var n=r("./node_modules/deep-equal/index.js"),o=r("./dist/iter/helpers/toIter.js"),i=r("./dist/option/Option.js"),s=r("./dist/utils/namespaced.js");let u=class{#i;constructor(e){this.#i=e}and(e){return"err"in this.#i?l(this.#i.err):e}and_then(e){return"err"in this.#i?l(this.#i.err):e.call(void 0)}cloned(){return"err"in this.#i?l(structuredClone(this.#i.err)):a(structuredClone(this.#i.value))}contains(e){return"value"in this.#i&&n(e,this.#i.value,{strict:!0})}contains_err(e){return"err"in this.#i&&n(e,this.#i.err,{strict:!0})}copied(){return this.cloned()}err(){return"err"in this.#i?(0,i.Some)(this.#i.err):i.None}expect(e){if("err"in this.#i)throw new Error(e);return this.#i.value}expect_err(e){if("value"in this.#i)throw new Error(e);return this.#i.err}flatten(){if("err"in this.#i)return l(this.#i.err);const e=this.#i.value;return"err"in e.#i?l(e.#i.err):a(e.#i.value)}inspect(e){return"value"in this.#i&&e.call(void 0,this.#i.value),this}inspect_err(e){return"err"in this.#i&&e.call(void 0,this.#i.err),this}into_err(){if("err"in this.#i)return l(this.#i.err);throw new Error("called on an `Ok` value")}into_ok(){if("err"in this.#i)throw new Error("called on an `Err` value");return a(this.#i.value)}into_ok_or_err(){return"err"in this.#i?this.#i.err:this.#i.value}is_err(){return"err"in this.#i}is_err_and(e){return"err"in this.#i&&e.call(void 0,this.#i.err)}is_ok(){return"value"in this.#i}is_ok_and(e){return"value"in this.#i&&e.call(void 0,this.#i.value)}iter(){return"err"in this.#i?(0,o.toIter)([]):(0,o.toIter)([this.#i.value])}map(e){return"err"in this.#i?l(this.#i.err):a(e.call(void 0,this.#i.value))}map_err(e){return"err"in this.#i?l(e.call(void 0,this.#i.err)):a(this.#i.value)}map_or(e,t){return"err"in this.#i?e:t.call(void 0,this.#i.value)}map_or_else(e,t){return"err"in this.#i?e.call(void 0,this.#i.err):t.call(void 0,this.#i.value)}ok(){return"err"in this.#i?i.None:(0,i.Some)(this.#i.value)}or(e){return"err"in this.#i?e:a(this.#i.value)}or_else(e){return"err"in this.#i?e.call(void 0,this.#i.err):a(this.#i.value)}transpose(){return"err"in this.#i?(0,i.Some)(l(this.#i.err)):this.#i.value.is_none()?i.None:(0,i.Some)(a(this.#i.value.unwrap()))}unwrap(){if("err"in this.#i)throw new Error("called on an `Err` value");return this.#i.value}unwrap_err(){if("err"in this.#i)return this.#i.err;throw new Error("called on an `Ok` value")}unwrap_err_unchecked(){return this.#i.err}unwrap_or(e){return"err"in this.#i?e:this.#i.value}unwrap_or_else(e){return"err"in this.#i?e.call(void 0,this.#i.err):this.#i.value}unwrap_unchecked(){return this.#i.value}static{Reflect.deleteProperty(this,"name"),Object.defineProperty(this,"name",{value:"Result",writable:!1,enumerable:!1,configurable:!0})}};u=function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s}([(0,s.Namespaced)("Result<T, E>",{errors:!0}),function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}("design:paramtypes",[Object])],u),Symbol();const a=e=>new u({value:e}),l=e=>new u({err:e})},"./dist/result/index.js":(e,t,r)=>{r.r(t),r.d(t,{Err:()=>n.Err,Ok:()=>n.Ok});var n=r("./dist/result/Result.js")},"./dist/utils/getParamNames.js":(e,t,r)=>{r.r(t),r.d(t,{getParamNames:()=>i});const n=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,o=/([^\s,]+)/g;function i(e){const t=e.toString().replace(n,"");return Array.from(t.slice(t.indexOf("(")+1,t.indexOf(")")).match(o)??[])}},"./dist/utils/namespaced.js":(e,t,r)=>{r.r(t),r.d(t,{Namespaced:()=>i,NamespacedErrors:()=>s});var n=r("./dist/utils/getParamNames.js");const o=new Map;function i(e,t){return t?.errors?r=>{o.set(r,e);const n=(i=t.errors,["*","all",!0].includes(i)?Object.getOwnPropertyNames(r.prototype).filter((e=>"constructor"!==e&&"function"==typeof r.prototype[e])):t.errors);var i;for(const e of n)Object.defineProperty(r.prototype,e,s()(r.prototype,e,Object.getOwnPropertyDescriptor(r.prototype,e)))}:t=>{o.set(t,e)}}function s(){return(e,t,r)=>{const i=r.value;if("function"!=typeof i)throw new TypeError;return r.value=function(...r){try{return i.apply(this,r)}catch(r){throw r instanceof Error?(r.message=`${o.get(e.constructor)}::${String(t)}(${(0,n.getParamNames)(i).join(", ")}) ~ ${r.message}`,r):r}},r}}},"./dist/utils/resolvable.js":(e,t,r)=>{r.r(t),r.d(t,{ResolveTo:()=>a,UseResolvables:()=>l}),r("./node_modules/reflect-metadata/Reflect.js");var n=r("./dist/iter/helpers/toIter.js"),o=r("./dist/iter/helpers/toNumber.js"),i=r("./dist/iter/Iter.js");const s="IteratorResolvable",u="NumberResolvable";function a(e){const t=new Map([[i.Iter,s],[Number,u]]).get(e);return(e,r,n)=>{Reflect.defineMetadata(t,(Reflect.getOwnMetadata(t,e,r)??[]).concat(n),e,r)}}function l(){const e=new Map([[s,n.toIter],[u,o.toNumber]]);return t=>{const r=Object.getOwnPropertyNames(t.prototype).filter((e=>"constructor"!==e&&"function"==typeof t.prototype[e]));for(const n of r){const r=Object.getOwnPropertyDescriptor(t.prototype,n),o=r.value;Object.defineProperty(t.prototype,n,{...r,value:function(...r){for(const o of Reflect.getOwnMetadataKeys(t.prototype,n)){const i=Reflect.getOwnMetadata(o,t.prototype,n);if(Array.isArray(i))for(const t of i)r[t]=e.get(o)?.(r[t])??r[t]}return o.apply(this,r)}})}return t}}},"./dist/utils/unenumerable.js":(e,t,r)=>{function n(e,t){t.forEach((t=>{const r=Object.getOwnPropertyDescriptor(e,t);r.enumerable=!1,Object.defineProperty(e,t,r)}))}r.r(t),r.d(t,{unenumerable:()=>n})}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{r.r(n),r.d(n,{iter:()=>e,macros:()=>t,option:()=>o,result:()=>i});var e=r("./dist/iter/index.js"),t=r("./dist/macros/index.js"),o=r("./dist/option/index.js"),i=r("./dist/result/index.js");module.exports.iter=e,module.exports.macros=t,module.exports.option=o,module.exports.result=i})()})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment