@stellar/stellar-base 11.0.0 → 11.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/stellar-base.js +617 -385
- package/dist/stellar-base.min.js +1 -1
- package/lib/account.js +2 -3
- package/lib/address.js +2 -3
- package/lib/asset.js +2 -3
- package/lib/auth.js +1 -1
- package/lib/claimant.js +2 -3
- package/lib/contract.js +2 -3
- package/lib/events.js +1 -1
- package/lib/fee_bump_transaction.js +3 -4
- package/lib/generated/curr_generated.js +243 -17
- package/lib/generated/next_generated.js +243 -17
- package/lib/keypair.js +2 -3
- package/lib/liquidity_pool_asset.js +2 -3
- package/lib/liquidity_pool_id.js +2 -3
- package/lib/memo.js +2 -3
- package/lib/muxed_account.js +2 -3
- package/lib/numbers/int128.js +3 -4
- package/lib/numbers/int256.js +3 -4
- package/lib/numbers/sc_int.js +2 -2
- package/lib/numbers/uint128.js +3 -4
- package/lib/numbers/uint256.js +3 -4
- package/lib/numbers/xdr_large_int.js +2 -3
- package/lib/operation.js +3 -4
- package/lib/signerkey.js +2 -3
- package/lib/soroban.js +2 -3
- package/lib/sorobandata_builder.js +2 -3
- package/lib/strkey.js +2 -3
- package/lib/transaction.js +3 -4
- package/lib/transaction_base.js +2 -3
- package/lib/transaction_builder.js +2 -3
- package/package.json +17 -17
- package/types/curr.d.ts +371 -12
- package/types/next.d.ts +371 -12
package/dist/stellar-base.js
CHANGED
|
@@ -2,22 +2,22 @@ var StellarBase;
|
|
|
2
2
|
/******/ (() => { // webpackBootstrap
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 3740:
|
|
6
6
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7
7
|
|
|
8
|
-
/* provided dependency */ var console = __webpack_require__(
|
|
8
|
+
/* provided dependency */ var console = __webpack_require__(6763);
|
|
9
9
|
/*! For license information please see xdr.js.LICENSE.txt */
|
|
10
|
-
!function(t,e){ true?module.exports=e():0}(this,(()=>(()=>{var t={899:(t,e,r)=>{const n=r(10);t.exports=n},10:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Array:()=>j,Bool:()=>O,Double:()=>$,Enum:()=>X,Float:()=>T,Hyper:()=>A,Int:()=>B,LargeInt:()=>I,Opaque:()=>M,Option:()=>F,Quadruple:()=>L,Reference:()=>k,String:()=>N,Struct:()=>q,Union:()=>G,UnsignedHyper:()=>R,UnsignedInt:()=>U,VarArray:()=>z,VarOpaque:()=>D,Void:()=>P,XdrReader:()=>u,XdrWriter:()=>c,config:()=>rt});class n extends TypeError{constructor(t){super(`XDR Write Error: ${t}`)}}class i extends TypeError{constructor(t){super(`XDR Read Error: ${t}`)}}class o extends TypeError{constructor(t){super(`XDR Type Definition Error: ${t}`)}}class s extends o{constructor(){super("method not implemented, it should be overloaded in the descendant class.")}}var f=r(764).lW;class u{constructor(t){if(!f.isBuffer(t)){if(!(t instanceof Array||Array.isArray(t)||ArrayBuffer.isView(t)))throw new i(`source invalid: ${t}`);t=f.from(t)}this._buffer=t,this._length=t.length,this._index=0}_buffer;_length;_index;get eof(){return this._index===this._length}advance(t){const e=this._index;if(this._index+=t,this._length<this._index)throw new i("attempt to read outside the boundary of the buffer");const r=4-(t%4||4);if(r>0){for(let t=0;t<r;t++)if(0!==this._buffer[this._index+t])throw new i("invalid padding");this._index+=r}return e}rewind(){this._index=0}read(t){const e=this.advance(t);return this._buffer.subarray(e,e+t)}readInt32BE(){return this._buffer.readInt32BE(this.advance(4))}readUInt32BE(){return this._buffer.readUInt32BE(this.advance(4))}readBigInt64BE(){return this._buffer.readBigInt64BE(this.advance(8))}readBigUInt64BE(){return this._buffer.readBigUInt64BE(this.advance(8))}readFloatBE(){return this._buffer.readFloatBE(this.advance(4))}readDoubleBE(){return this._buffer.readDoubleBE(this.advance(8))}ensureInputConsumed(){if(this._index!==this._length)throw new i("invalid XDR contract typecast - source buffer not entirely consumed")}}var a=r(764).lW;const h=8192;class c{constructor(t){"number"==typeof t?t=a.allocUnsafe(t):t instanceof a||(t=a.allocUnsafe(h)),this._buffer=t,this._length=t.length}_buffer;_length;_index=0;alloc(t){const e=this._index;return this._index+=t,this._length<this._index&&this.resize(this._index),e}resize(t){const e=Math.ceil(t/h)*h,r=a.allocUnsafe(e);this._buffer.copy(r,0,0,this._length),this._buffer=r,this._length=e}finalize(){return this._buffer.subarray(0,this._index)}toArray(){return[...this.finalize()]}write(t,e){if("string"==typeof t){const r=this.alloc(e);this._buffer.write(t,r,"utf8")}else{t instanceof a||(t=a.from(t));const r=this.alloc(e);t.copy(this._buffer,r,0,e)}const r=4-(e%4||4);if(r>0){const t=this.alloc(r);this._buffer.fill(0,t,this._index)}}writeInt32BE(t){const e=this.alloc(4);this._buffer.writeInt32BE(t,e)}writeUInt32BE(t){const e=this.alloc(4);this._buffer.writeUInt32BE(t,e)}writeBigInt64BE(t){const e=this.alloc(8);this._buffer.writeBigInt64BE(t,e)}writeBigUInt64BE(t){const e=this.alloc(8);this._buffer.writeBigUInt64BE(t,e)}writeFloatBE(t){const e=this.alloc(4);this._buffer.writeFloatBE(t,e)}writeDoubleBE(t){const e=this.alloc(8);this._buffer.writeDoubleBE(t,e)}static bufferChunkSize=h}var l=r(764).lW;class p{toXDR(t="raw"){if(!this.write)return this.constructor.toXDR(this,t);const e=new c;return this.write(this,e),y(e.finalize(),t)}fromXDR(t,e="raw"){if(!this.read)return this.constructor.fromXDR(t,e);const r=new u(m(t,e)),n=this.read(r);return r.ensureInputConsumed(),n}validateXDR(t,e="raw"){try{return this.fromXDR(t,e),!0}catch(t){return!1}}static toXDR(t,e="raw"){const r=new c;return this.write(t,r),y(r.finalize(),e)}static fromXDR(t,e="raw"){const r=new u(m(t,e)),n=this.read(r);return r.ensureInputConsumed(),n}static validateXDR(t,e="raw"){try{return this.fromXDR(t,e),!0}catch(t){return!1}}}class d extends p{static read(t){throw new s}static write(t,e){throw new s}static isValid(t){return!1}}class g extends p{isValid(t){return!1}}class w extends TypeError{constructor(t){super(`Invalid format ${t}, must be one of "raw", "hex", "base64"`)}}function y(t,e){switch(e){case"raw":return t;case"hex":return t.toString("hex");case"base64":return t.toString("base64");default:throw new w(e)}}function m(t,e){switch(e){case"raw":return t;case"hex":return l.from(t,"hex");case"base64":return l.from(t,"base64");default:throw new w(e)}}const b=2147483647,_=-2147483648;class B extends d{static read(t){return t.readInt32BE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");if((0|t)!==t)throw new n("invalid i32 value");e.writeInt32BE(t)}static isValid(t){return"number"==typeof t&&(0|t)===t&&(t>=_&&t<=b)}}function E(t,e,r){if("bigint"!=typeof t)throw new TypeError("Expected bigint 'value', got "+typeof t);const n=e/r;if(1===n)return[t];if(r<32||r>128||2!==n&&4!==n&&8!==n)throw new TypeError(`invalid bigint (${t}) and slice size (${e} -> ${r}) combination`);const i=BigInt(r),o=new Array(n);for(let e=0;e<n;e++)o[e]=BigInt.asIntN(r,t),t>>=i;return o}function v(t,e){if(e)return[0n,(1n<<BigInt(t))-1n];const r=1n<<BigInt(t-1);return[0n-r,r-1n]}B.MAX_VALUE=b,B.MIN_VALUE=2147483648;class I extends d{constructor(t){super(),this._value=function(t,e,r){t instanceof Array?t.length&&t[0]instanceof Array&&(t=t[0]):t=[t];const n=e/t.length;switch(n){case 32:case 64:case 128:case 256:break;default:throw new RangeError(`expected slices to fit in 32/64/128/256 bits, got ${t}`)}try{for(let e=0;e<t.length;e++)"bigint"!=typeof t[e]&&(t[e]=BigInt(t[e].valueOf()))}catch(e){throw new TypeError(`expected bigint-like values, got: ${t} (${e})`)}if(r&&1===t.length&&t[0]<0n)throw new RangeError(`expected a positive value, got: ${t}`);let i=BigInt.asUintN(n,t[0]);for(let e=1;e<t.length;e++)i|=BigInt.asUintN(n,t[e])<<BigInt(e*n);r||(i=BigInt.asIntN(e,i));const[o,s]=v(e,r);if(i>=o&&i<=s)return i;throw new TypeError(`bigint values [${t}] for ${function(t,e){return`${e?"u":"i"}${t}`}(e,r)} out of range [${o}, ${s}]: ${i}`)}(t,this.size,this.unsigned)}get unsigned(){throw new s}get size(){throw new s}slice(t){return E(this._value,this.size,t)}toString(){return this._value.toString()}toJSON(){return{_value:this._value.toString()}}toBigInt(){return BigInt(this._value)}static read(t){const{size:e}=this.prototype;return 64===e?new this(t.readBigUInt64BE()):new this(...Array.from({length:e/64},(()=>t.readBigUInt64BE())).reverse())}static write(t,e){if(t instanceof this)t=t._value;else if("bigint"!=typeof t||t>this.MAX_VALUE||t<this.MIN_VALUE)throw new n(`${t} is not a ${this.name}`);const{unsigned:r,size:i}=this.prototype;if(64===i)r?e.writeBigUInt64BE(t):e.writeBigInt64BE(t);else for(const n of E(t,i,64).reverse())r?e.writeBigUInt64BE(n):e.writeBigInt64BE(n)}static isValid(t){return"bigint"==typeof t||t instanceof this}static fromString(t){return new this(t)}static MAX_VALUE=0n;static MIN_VALUE=0n;static defineIntBoundaries(){const[t,e]=v(this.prototype.size,this.prototype.unsigned);this.MIN_VALUE=t,this.MAX_VALUE=e}}class A extends I{constructor(...t){super(t)}get low(){return Number(0xffffffffn&this._value)<<0}get high(){return Number(this._value>>32n)>>0}get size(){return 64}get unsigned(){return!1}static fromBits(t,e){return new this(t,e)}}A.defineIntBoundaries();const x=4294967295;class U extends d{static read(t){return t.readUInt32BE()}static write(t,e){if("number"!=typeof t||!(t>=0&&t<=x)||t%1!=0)throw new n("invalid u32 value");e.writeUInt32BE(t)}static isValid(t){return"number"==typeof t&&t%1==0&&(t>=0&&t<=x)}}U.MAX_VALUE=x,U.MIN_VALUE=0;class R extends I{constructor(...t){super(t)}get low(){return Number(0xffffffffn&this._value)<<0}get high(){return Number(this._value>>32n)>>0}get size(){return 64}get unsigned(){return!0}static fromBits(t,e){return new this(t,e)}}R.defineIntBoundaries();class T extends d{static read(t){return t.readFloatBE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");e.writeFloatBE(t)}static isValid(t){return"number"==typeof t}}class $ extends d{static read(t){return t.readDoubleBE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");e.writeDoubleBE(t)}static isValid(t){return"number"==typeof t}}class L extends d{static read(){throw new o("quadruple not supported")}static write(){throw new o("quadruple not supported")}static isValid(){return!1}}class O extends d{static read(t){const e=B.read(t);switch(e){case 0:return!1;case 1:return!0;default:throw new i(`got ${e} when trying to read a bool`)}}static write(t,e){const r=t?1:0;B.write(r,e)}static isValid(t){return"boolean"==typeof t}}var S=r(764).lW;class N extends g{constructor(t=U.MAX_VALUE){super(),this._maxLength=t}read(t){const e=U.read(t);if(e>this._maxLength)throw new i(`saw ${e} length String, max allowed is ${this._maxLength}`);return t.read(e)}readString(t){return this.read(t).toString("utf8")}write(t,e){const r="string"==typeof t?S.byteLength(t,"utf8"):t.length;if(r>this._maxLength)throw new n(`got ${t.length} bytes, max allowed is ${this._maxLength}`);U.write(r,e),e.write(t,r)}isValid(t){return"string"==typeof t?S.byteLength(t,"utf8")<=this._maxLength:!!(t instanceof Array||S.isBuffer(t))&&t.length<=this._maxLength}}var V=r(764).lW;class M extends g{constructor(t){super(),this._length=t}read(t){return t.read(this._length)}write(t,e){const{length:r}=t;if(r!==this._length)throw new n(`got ${t.length} bytes, expected ${this._length}`);e.write(t,r)}isValid(t){return V.isBuffer(t)&&t.length===this._length}}var C=r(764).lW;class D extends g{constructor(t=U.MAX_VALUE){super(),this._maxLength=t}read(t){const e=U.read(t);if(e>this._maxLength)throw new i(`saw ${e} length VarOpaque, max allowed is ${this._maxLength}`);return t.read(e)}write(t,e){const{length:r}=t;if(t.length>this._maxLength)throw new n(`got ${t.length} bytes, max allowed is ${this._maxLength}`);U.write(r,e),e.write(t,r)}isValid(t){return C.isBuffer(t)&&t.length<=this._maxLength}}class j extends g{constructor(t,e){super(),this._childType=t,this._length=e}read(t){const e=new r.g.Array(this._length);for(let r=0;r<this._length;r++)e[r]=this._childType.read(t);return e}write(t,e){if(!(t instanceof r.g.Array))throw new n("value is not array");if(t.length!==this._length)throw new n(`got array of size ${t.length}, expected ${this._length}`);for(const r of t)this._childType.write(r,e)}isValid(t){if(!(t instanceof r.g.Array)||t.length!==this._length)return!1;for(const e of t)if(!this._childType.isValid(e))return!1;return!0}}class z extends g{constructor(t,e=U.MAX_VALUE){super(),this._childType=t,this._maxLength=e}read(t){const e=U.read(t);if(e>this._maxLength)throw new i(`saw ${e} length VarArray, max allowed is ${this._maxLength}`);const r=new Array(e);for(let n=0;n<e;n++)r[n]=this._childType.read(t);return r}write(t,e){if(!(t instanceof Array))throw new n("value is not array");if(t.length>this._maxLength)throw new n(`got array of size ${t.length}, max allowed is ${this._maxLength}`);U.write(t.length,e);for(const r of t)this._childType.write(r,e)}isValid(t){if(!(t instanceof Array)||t.length>this._maxLength)return!1;for(const e of t)if(!this._childType.isValid(e))return!1;return!0}}class F extends d{constructor(t){super(),this._childType=t}read(t){if(O.read(t))return this._childType.read(t)}write(t,e){const r=null!=t;O.write(r,e),r&&this._childType.write(t,e)}isValid(t){return null==t||this._childType.isValid(t)}}class P extends d{static read(){}static write(t){if(void 0!==t)throw new n("trying to write value to a void slot")}static isValid(t){return void 0===t}}class X extends d{constructor(t,e){super(),this.name=t,this.value=e}static read(t){const e=B.read(t),r=this._byValue[e];if(void 0===r)throw new i(`unknown ${this.enumName} member for value ${e}`);return r}static write(t,e){if(!(t instanceof this))throw new n(`unknown ${t} is not a ${this.enumName}`);B.write(t.value,e)}static isValid(t){return t instanceof this}static members(){return this._members}static values(){return Object.values(this._members)}static fromName(t){const e=this._members[t];if(!e)throw new TypeError(`${t} is not a member of ${this.enumName}`);return e}static fromValue(t){const e=this._byValue[t];if(void 0===e)throw new TypeError(`${t} is not a value of any member of ${this.enumName}`);return e}static create(t,e,r){const n=class extends X{};n.enumName=e,t.results[e]=n,n._members={},n._byValue={};for(const[t,e]of Object.entries(r)){const r=new n(t,e);n._members[t]=r,n._byValue[e]=r,n[t]=()=>r}return n}}class k extends d{resolve(){throw new o('"resolve" method should be implemented in the descendant class')}}class q extends d{constructor(t){super(),this._attributes=t||{}}static read(t){const e={};for(const[r,n]of this._fields)e[r]=n.read(t);return new this(e)}static write(t,e){if(!(t instanceof this))throw new n(`${t} is not a ${this.structName}`);for(const[r,n]of this._fields){const i=t._attributes[r];n.write(i,e)}}static isValid(t){return t instanceof this}static create(t,e,r){const n=class extends q{};n.structName=e,t.results[e]=n;const i=new Array(r.length);for(let e=0;e<r.length;e++){const o=r[e],s=o[0];let f=o[1];f instanceof k&&(f=f.resolve(t)),i[e]=[s,f],n.prototype[s]=W(s)}return n._fields=i,n}}function W(t){return function(e){return void 0!==e&&(this._attributes[t]=e),this._attributes[t]}}class G extends g{constructor(t,e){super(),this.set(t,e)}set(t,e){"string"==typeof t&&(t=this.constructor._switchOn.fromName(t)),this._switch=t;const r=this.constructor.armForSwitch(this._switch);this._arm=r,this._armType=r===P?P:this.constructor._arms[r],this._value=e}get(t=this._arm){if(this._arm!==P&&this._arm!==t)throw new TypeError(`${t} not set`);return this._value}switch(){return this._switch}arm(){return this._arm}armType(){return this._armType}value(){return this._value}static armForSwitch(t){const e=this._switches.get(t);if(void 0!==e)return e;if(this._defaultArm)return this._defaultArm;throw new TypeError(`Bad union switch: ${t}`)}static armTypeForArm(t){return t===P?P:this._arms[t]}static read(t){const e=this._switchOn.read(t),r=this.armForSwitch(e),n=r===P?P:this._arms[r];let i;return i=void 0!==n?n.read(t):r.read(t),new this(e,i)}static write(t,e){if(!(t instanceof this))throw new n(`${t} is not a ${this.unionName}`);this._switchOn.write(t.switch(),e),t.armType().write(t.value(),e)}static isValid(t){return t instanceof this}static create(t,e,r){const n=class extends G{};n.unionName=e,t.results[e]=n,r.switchOn instanceof k?n._switchOn=r.switchOn.resolve(t):n._switchOn=r.switchOn,n._switches=new Map,n._arms={};let i=r.defaultArm;i instanceof k&&(i=i.resolve(t)),n._defaultArm=i;for(const[t,e]of r.switches){const r="string"==typeof t?n._switchOn.fromName(t):t;n._switches.set(r,e)}if(void 0!==n._switchOn.values)for(const t of n._switchOn.values())n[t.name]=function(e){return new n(t,e)},n.prototype[t.name]=function(e){return this.set(t,e)};if(r.arms)for(const[e,i]of Object.entries(r.arms))n._arms[e]=i instanceof k?i.resolve(t):i,i!==P&&(n.prototype[e]=function(){return this.get(e)});return n}}class Y extends k{constructor(t){super(),this.name=t}resolve(t){return t.definitions[this.name].resolve(t)}}class H extends k{constructor(t,e,r=!1){super(),this.childReference=t,this.length=e,this.variable=r}resolve(t){let e=this.childReference,r=this.length;return e instanceof k&&(e=e.resolve(t)),r instanceof k&&(r=r.resolve(t)),this.variable?new z(e,r):new j(e,r)}}class J extends k{constructor(t){super(),this.childReference=t,this.name=t.name}resolve(t){let e=this.childReference;return e instanceof k&&(e=e.resolve(t)),new F(e)}}class Q extends k{constructor(t,e){super(),this.sizedType=t,this.length=e}resolve(t){let e=this.length;return e instanceof k&&(e=e.resolve(t)),new this.sizedType(e)}}class Z{constructor(t,e,r){this.constructor=t,this.name=e,this.config=r}resolve(t){return this.name in t.results?t.results[this.name]:this.constructor(t,this.name,this.config)}}function K(t,e,r){return r instanceof k&&(r=r.resolve(t)),t.results[e]=r,r}function tt(t,e,r){return t.results[e]=r,r}class et{constructor(t){this._destination=t,this._definitions={}}enum(t,e){const r=new Z(X.create,t,e);this.define(t,r)}struct(t,e){const r=new Z(q.create,t,e);this.define(t,r)}union(t,e){const r=new Z(G.create,t,e);this.define(t,r)}typedef(t,e){const r=new Z(K,t,e);this.define(t,r)}const(t,e){const r=new Z(tt,t,e);this.define(t,r)}void(){return P}bool(){return O}int(){return B}hyper(){return A}uint(){return U}uhyper(){return R}float(){return T}double(){return $}quadruple(){return L}string(t){return new Q(N,t)}opaque(t){return new Q(M,t)}varOpaque(t){return new Q(D,t)}array(t,e){return new H(t,e)}varArray(t,e){return new H(t,e,!0)}option(t){return new J(t)}define(t,e){if(void 0!==this._destination[t])throw new o(`${t} is already defined`);this._definitions[t]=e}lookup(t){return new Y(t)}resolve(){for(const t of Object.values(this._definitions))t.resolve({definitions:this._definitions,results:this._destination})}}function rt(t,e={}){if(t){const r=new et(e);t(r),r.resolve()}return e}},742:(t,e)=>{"use strict";e.byteLength=function(t){var e=f(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,o=f(t),s=o[0],u=o[1],a=new i(function(t,e,r){return 3*(e+r)/4-r}(0,s,u)),h=0,c=u>0?s-4:s;for(r=0;r<c;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],a[h++]=e>>16&255,a[h++]=e>>8&255,a[h++]=255&e;2===u&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,a[h++]=255&e);1===u&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,a[h++]=e>>8&255,a[h++]=255&e);return a},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=16383,f=0,a=n-i;f<a;f+=s)o.push(u(t,f,f+s>a?a:f+s));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function f(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,n){for(var i,o,s=[],f=e;f<n;f+=3)i=(t[f]<<16&16711680)+(t[f+1]<<8&65280)+(255&t[f+2]),s.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},764:(t,e,r)=>{"use strict";const n=r(742),i=r(645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.lW=u,e.h2=50;const s=2147483647;function f(t){if(t>s)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,u.prototype),e}function u(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return c(t)}return a(t,e,r)}function a(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|g(t,e);let n=f(r);const i=n.write(t,e);i!==r&&(n=n.slice(0,i));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(H(t,Uint8Array)){const e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return l(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(H(t,ArrayBuffer)||t&&H(t.buffer,ArrayBuffer))return p(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(H(t,SharedArrayBuffer)||t&&H(t.buffer,SharedArrayBuffer)))return p(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,e,r);const i=function(t){if(u.isBuffer(t)){const e=0|d(t.length),r=f(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||J(t.length)?f(0):l(t);if("Buffer"===t.type&&Array.isArray(t.data))return l(t.data)}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return h(t),f(t<0?0:0|d(t))}function l(t){const e=t.length<0?0:0|d(t.length),r=f(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function p(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,u.prototype),n}function d(t){if(t>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function g(t,e){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||H(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return W(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return G(t).length;default:if(i)return n?-1:W(t).length;e=(""+e).toLowerCase(),i=!0}}function w(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return $(this,e,r);case"utf8":case"utf-8":return x(this,e,r);case"ascii":return R(this,e,r);case"latin1":case"binary":return T(this,e,r);case"base64":return A(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),J(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:b(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):b(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,r,n,i){let o,s=1,f=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,f/=2,u/=2,r/=2}function a(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){let n=-1;for(o=r;o<f;o++)if(a(t,o)===a(e,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===u)return n*s}else-1!==n&&(o-=o-n),n=-1}else for(r+u>f&&(r=f-u),o=r;o>=0;o--){let r=!0;for(let n=0;n<u;n++)if(a(t,o+n)!==a(e,n)){r=!1;break}if(r)return o}return-1}function _(t,e,r,n){r=Number(r)||0;const i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;const o=e.length;let s;for(n>o/2&&(n=o/2),s=0;s<n;++s){const n=parseInt(e.substr(2*s,2),16);if(J(n))return s;t[r+s]=n}return s}function B(t,e,r,n){return Y(W(e,t.length-r),t,r,n)}function E(t,e,r,n){return Y(function(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function v(t,e,r,n){return Y(G(e),t,r,n)}function I(t,e,r,n){return Y(function(t,e){let r,n,i;const o=[];for(let s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function A(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function x(t,e,r){r=Math.min(t.length,r);const n=[];let i=e;for(;i<r;){const e=t[i];let o=null,s=e>239?4:e>223?3:e>191?2:1;if(i+s<=r){let r,n,f,u;switch(s){case 1:e<128&&(o=e);break;case 2:r=t[i+1],128==(192&r)&&(u=(31&e)<<6|63&r,u>127&&(o=u));break;case 3:r=t[i+1],n=t[i+2],128==(192&r)&&128==(192&n)&&(u=(15&e)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:r=t[i+1],n=t[i+2],f=t[i+3],128==(192&r)&&128==(192&n)&&128==(192&f)&&(u=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&f,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=s}return function(t){const e=t.length;if(e<=U)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=U));return r}(n)}u.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(t,e,r){return a(t,e,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(t,e,r){return function(t,e,r){return h(t),t<=0?f(t):void 0!==e?"string"==typeof r?f(t).fill(e,r):f(t).fill(e):f(t)}(t,e,r)},u.allocUnsafe=function(t){return c(t)},u.allocUnsafeSlow=function(t){return c(t)},u.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==u.prototype},u.compare=function(t,e){if(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),H(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=u.allocUnsafe(e);let i=0;for(r=0;r<t.length;++r){let e=t[r];if(H(e,Uint8Array))i+e.length>n.length?(u.isBuffer(e)||(e=u.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else{if(!u.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,i)}i+=e.length}return n},u.byteLength=g,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)y(this,e,e+1);return this},u.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},u.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},u.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?x(this,0,t):w.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){let t="";const r=e.h2;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(t,e,r,n,i){if(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;let o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0);const f=Math.min(o,s),a=this.slice(n,i),h=t.slice(e,r);for(let t=0;t<f;++t)if(a[t]!==h[t]){o=a[t],s=h[t];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return _(this,t,e,r);case"utf8":case"utf-8":return B(this,t,e,r);case"ascii":case"latin1":case"binary":return E(this,t,e,r);case"base64":return v(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const U=4096;function R(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function T(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function $(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=e;n<r;++n)i+=Q[t[n]];return i}function L(t,e,r){const n=t.slice(e,r);let i="";for(let t=0;t<n.length-1;t+=2)i+=String.fromCharCode(n[t]+256*n[t+1]);return i}function O(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function S(t,e,r,n,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function N(t,e,r,n,i){P(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,r}function V(t,e,r,n,i){P(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=s,s>>=8,t[r+2]=s,s>>=8,t[r+1]=s,s>>=8,t[r]=s,r+8}function M(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function C(t,e,r,n,o){return e=+e,r>>>=0,o||M(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function D(t,e,r,n,o){return e=+e,r>>>=0,o||M(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);const n=this.subarray(t,e);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=this[t+--e],i=1;for(;e>0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(t,e){return t>>>=0,e||O(t,1,this.length),this[t]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,e){return t>>>=0,e||O(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,e){return t>>>=0,e||O(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,e){return t>>>=0,e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,e){return t>>>=0,e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readBigUInt64LE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,i=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))})),u.prototype.readBigUInt64BE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],i=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)})),u.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=e,i=1,o=this[t+--n];for(;n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return t>>>=0,e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){t>>>=0,e||O(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){t>>>=0,e||O(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return t>>>=0,e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return t>>>=0,e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readBigInt64LE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),u.prototype.readBigInt64BE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),u.prototype.readFloatLE=function(t,e){return t>>>=0,e||O(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return t>>>=0,e||O(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return t>>>=0,e||O(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return t>>>=0,e||O(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){S(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){S(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,1,255,0),this[e]=255&t,e+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigUInt64LE=Z((function(t,e=0){return N(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Z((function(t,e=0){return V(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);S(this,t,e,r,n-1,-n)}let i=0,o=1,s=0;for(this[e]=255&t;++i<r&&(o*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/o>>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);S(this,t,e,r,n-1,-n)}let i=r-1,o=1,s=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/o>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigInt64LE=Z((function(t,e=0){return N(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Z((function(t,e=0){return V(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(t,e,r){return C(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return C(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return D(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return D(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);const i=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),i},u.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){const e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{const o=u.isBuffer(t)?t:u.from(t,n),s=o.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=o[i%s]}return this};const j={};function z(t,e,r){j[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function F(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function P(t,e,r,n,i,o){if(t>r||t<e){const n="bigint"==typeof e?"n":"";let i;throw i=o>3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new j.ERR_OUT_OF_RANGE("value",i,t)}!function(t,e,r){X(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||k(e,t.length-(r+1))}(n,i,o)}function X(t,e){if("number"!=typeof t)throw new j.ERR_INVALID_ARG_TYPE(e,"number",t)}function k(t,e,r){if(Math.floor(t)!==t)throw X(t,r),new j.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new j.ERR_BUFFER_OUT_OF_BOUNDS;throw new j.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}z("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),z("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),z("ERR_OUT_OF_RANGE",(function(t,e,r){let n=`The value of "${t}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=F(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=F(i)),i+="n"),n+=` It must be ${e}. Received ${i}`,n}),RangeError);const q=/[^+/0-9A-Za-z-_]/g;function W(t,e){let r;e=e||1/0;const n=t.length;let i=null;const o=[];for(let s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function G(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Y(t,e,r,n){let i;for(i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function H(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function J(t){return t!=t}const Q=function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)e[n+i]=t[r]+t[i]}return e}();function Z(t){return"undefined"==typeof BigInt?K:t}function K(){throw new Error("BigInt not supported")}},645:(t,e)=>{e.read=function(t,e,r,n,i){var o,s,f=8*i-n-1,u=(1<<f)-1,a=u>>1,h=-7,c=r?i-1:0,l=r?-1:1,p=t[e+c];for(c+=l,o=p&(1<<-h)-1,p>>=-h,h+=f;h>0;o=256*o+t[e+c],c+=l,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=256*s+t[e+c],c+=l,h-=8);if(0===o)o=1-a;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=a}return(p?-1:1)*s*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var s,f,u,a=8*o-i-1,h=(1<<a)-1,c=h>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),(e+=s+c>=1?l/u:l*Math.pow(2,1-c))*u>=2&&(s++,u/=2),s+c>=h?(f=0,s=h):s+c>=1?(f=(e*u-1)*Math.pow(2,i),s+=c):(f=e*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=255&f,p+=d,f/=256,i-=8);for(s=s<<i|f,a+=i;a>0;t[r+p]=255&s,p+=d,s/=256,a-=8);t[r+p-d]|=128*g}}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}return r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(899)})()));
|
|
10
|
+
!function(t,e){ true?module.exports=e():0}(this,(()=>(()=>{var t={616:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(287);n.hp.alloc(1).subarray(0,1)instanceof n.hp||(n.hp.prototype.subarray=function(t,e){const r=Uint8Array.prototype.subarray.call(this,t,e);return Object.setPrototypeOf(r,n.hp.prototype),r});const i=n.hp},281:(t,e,r)=>{const n=r(164);t.exports=n},164:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Array:()=>j,Bool:()=>O,Double:()=>$,Enum:()=>X,Float:()=>T,Hyper:()=>I,Int:()=>B,LargeInt:()=>A,Opaque:()=>M,Option:()=>F,Quadruple:()=>L,Reference:()=>k,String:()=>N,Struct:()=>q,Union:()=>Y,UnsignedHyper:()=>R,UnsignedInt:()=>U,VarArray:()=>z,VarOpaque:()=>D,Void:()=>P,XdrReader:()=>u,XdrWriter:()=>c,config:()=>rt});class n extends TypeError{constructor(t){super(`XDR Write Error: ${t}`)}}class i extends TypeError{constructor(t){super(`XDR Read Error: ${t}`)}}class o extends TypeError{constructor(t){super(`XDR Type Definition Error: ${t}`)}}class s extends o{constructor(){super("method not implemented, it should be overloaded in the descendant class.")}}var f=r(616).A;class u{constructor(t){if(!f.isBuffer(t)){if(!(t instanceof Array||Array.isArray(t)||ArrayBuffer.isView(t)))throw new i(`source invalid: ${t}`);t=f.from(t)}this._buffer=t,this._length=t.length,this._index=0}_buffer;_length;_index;get eof(){return this._index===this._length}advance(t){const e=this._index;if(this._index+=t,this._length<this._index)throw new i("attempt to read outside the boundary of the buffer");const r=4-(t%4||4);if(r>0){for(let t=0;t<r;t++)if(0!==this._buffer[this._index+t])throw new i("invalid padding");this._index+=r}return e}rewind(){this._index=0}read(t){const e=this.advance(t);return this._buffer.subarray(e,e+t)}readInt32BE(){return this._buffer.readInt32BE(this.advance(4))}readUInt32BE(){return this._buffer.readUInt32BE(this.advance(4))}readBigInt64BE(){return this._buffer.readBigInt64BE(this.advance(8))}readBigUInt64BE(){return this._buffer.readBigUInt64BE(this.advance(8))}readFloatBE(){return this._buffer.readFloatBE(this.advance(4))}readDoubleBE(){return this._buffer.readDoubleBE(this.advance(8))}ensureInputConsumed(){if(this._index!==this._length)throw new i("invalid XDR contract typecast - source buffer not entirely consumed")}}var a=r(616).A;const h=8192;class c{constructor(t){"number"==typeof t?t=a.allocUnsafe(t):t instanceof a||(t=a.allocUnsafe(h)),this._buffer=t,this._length=t.length}_buffer;_length;_index=0;alloc(t){const e=this._index;return this._index+=t,this._length<this._index&&this.resize(this._index),e}resize(t){const e=Math.ceil(t/h)*h,r=a.allocUnsafe(e);this._buffer.copy(r,0,0,this._length),this._buffer=r,this._length=e}finalize(){return this._buffer.subarray(0,this._index)}toArray(){return[...this.finalize()]}write(t,e){if("string"==typeof t){const r=this.alloc(e);this._buffer.write(t,r,"utf8")}else{t instanceof a||(t=a.from(t));const r=this.alloc(e);t.copy(this._buffer,r,0,e)}const r=4-(e%4||4);if(r>0){const t=this.alloc(r);this._buffer.fill(0,t,this._index)}}writeInt32BE(t){const e=this.alloc(4);this._buffer.writeInt32BE(t,e)}writeUInt32BE(t){const e=this.alloc(4);this._buffer.writeUInt32BE(t,e)}writeBigInt64BE(t){const e=this.alloc(8);this._buffer.writeBigInt64BE(t,e)}writeBigUInt64BE(t){const e=this.alloc(8);this._buffer.writeBigUInt64BE(t,e)}writeFloatBE(t){const e=this.alloc(4);this._buffer.writeFloatBE(t,e)}writeDoubleBE(t){const e=this.alloc(8);this._buffer.writeDoubleBE(t,e)}static bufferChunkSize=h}var l=r(616).A;class p{toXDR(t="raw"){if(!this.write)return this.constructor.toXDR(this,t);const e=new c;return this.write(this,e),y(e.finalize(),t)}fromXDR(t,e="raw"){if(!this.read)return this.constructor.fromXDR(t,e);const r=new u(m(t,e)),n=this.read(r);return r.ensureInputConsumed(),n}validateXDR(t,e="raw"){try{return this.fromXDR(t,e),!0}catch(t){return!1}}static toXDR(t,e="raw"){const r=new c;return this.write(t,r),y(r.finalize(),e)}static fromXDR(t,e="raw"){const r=new u(m(t,e)),n=this.read(r);return r.ensureInputConsumed(),n}static validateXDR(t,e="raw"){try{return this.fromXDR(t,e),!0}catch(t){return!1}}}class d extends p{static read(t){throw new s}static write(t,e){throw new s}static isValid(t){return!1}}class g extends p{isValid(t){return!1}}class w extends TypeError{constructor(t){super(`Invalid format ${t}, must be one of "raw", "hex", "base64"`)}}function y(t,e){switch(e){case"raw":return t;case"hex":return t.toString("hex");case"base64":return t.toString("base64");default:throw new w(e)}}function m(t,e){switch(e){case"raw":return t;case"hex":return l.from(t,"hex");case"base64":return l.from(t,"base64");default:throw new w(e)}}const b=2147483647,_=-2147483648;class B extends d{static read(t){return t.readInt32BE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");if((0|t)!==t)throw new n("invalid i32 value");e.writeInt32BE(t)}static isValid(t){return"number"==typeof t&&(0|t)===t&&(t>=_&&t<=b)}}function E(t,e,r){if("bigint"!=typeof t)throw new TypeError("Expected bigint 'value', got "+typeof t);const n=e/r;if(1===n)return[t];if(r<32||r>128||2!==n&&4!==n&&8!==n)throw new TypeError(`invalid bigint (${t}) and slice size (${e} -> ${r}) combination`);const i=BigInt(r),o=new Array(n);for(let e=0;e<n;e++)o[e]=BigInt.asIntN(r,t),t>>=i;return o}function v(t,e){if(e)return[0n,(1n<<BigInt(t))-1n];const r=1n<<BigInt(t-1);return[0n-r,r-1n]}B.MAX_VALUE=b,B.MIN_VALUE=2147483648;class A extends d{constructor(t){super(),this._value=function(t,e,r){t instanceof Array?t.length&&t[0]instanceof Array&&(t=t[0]):t=[t];const n=e/t.length;switch(n){case 32:case 64:case 128:case 256:break;default:throw new RangeError(`expected slices to fit in 32/64/128/256 bits, got ${t}`)}try{for(let e=0;e<t.length;e++)"bigint"!=typeof t[e]&&(t[e]=BigInt(t[e].valueOf()))}catch(e){throw new TypeError(`expected bigint-like values, got: ${t} (${e})`)}if(r&&1===t.length&&t[0]<0n)throw new RangeError(`expected a positive value, got: ${t}`);let i=BigInt.asUintN(n,t[0]);for(let e=1;e<t.length;e++)i|=BigInt.asUintN(n,t[e])<<BigInt(e*n);r||(i=BigInt.asIntN(e,i));const[o,s]=v(e,r);if(i>=o&&i<=s)return i;throw new TypeError(`bigint values [${t}] for ${function(t,e){return`${e?"u":"i"}${t}`}(e,r)} out of range [${o}, ${s}]: ${i}`)}(t,this.size,this.unsigned)}get unsigned(){throw new s}get size(){throw new s}slice(t){return E(this._value,this.size,t)}toString(){return this._value.toString()}toJSON(){return{_value:this._value.toString()}}toBigInt(){return BigInt(this._value)}static read(t){const{size:e}=this.prototype;return 64===e?new this(t.readBigUInt64BE()):new this(...Array.from({length:e/64},(()=>t.readBigUInt64BE())).reverse())}static write(t,e){if(t instanceof this)t=t._value;else if("bigint"!=typeof t||t>this.MAX_VALUE||t<this.MIN_VALUE)throw new n(`${t} is not a ${this.name}`);const{unsigned:r,size:i}=this.prototype;if(64===i)r?e.writeBigUInt64BE(t):e.writeBigInt64BE(t);else for(const n of E(t,i,64).reverse())r?e.writeBigUInt64BE(n):e.writeBigInt64BE(n)}static isValid(t){return"bigint"==typeof t||t instanceof this}static fromString(t){return new this(t)}static MAX_VALUE=0n;static MIN_VALUE=0n;static defineIntBoundaries(){const[t,e]=v(this.prototype.size,this.prototype.unsigned);this.MIN_VALUE=t,this.MAX_VALUE=e}}class I extends A{constructor(...t){super(t)}get low(){return Number(0xffffffffn&this._value)<<0}get high(){return Number(this._value>>32n)>>0}get size(){return 64}get unsigned(){return!1}static fromBits(t,e){return new this(t,e)}}I.defineIntBoundaries();const x=4294967295;class U extends d{static read(t){return t.readUInt32BE()}static write(t,e){if("number"!=typeof t||!(t>=0&&t<=x)||t%1!=0)throw new n("invalid u32 value");e.writeUInt32BE(t)}static isValid(t){return"number"==typeof t&&t%1==0&&(t>=0&&t<=x)}}U.MAX_VALUE=x,U.MIN_VALUE=0;class R extends A{constructor(...t){super(t)}get low(){return Number(0xffffffffn&this._value)<<0}get high(){return Number(this._value>>32n)>>0}get size(){return 64}get unsigned(){return!0}static fromBits(t,e){return new this(t,e)}}R.defineIntBoundaries();class T extends d{static read(t){return t.readFloatBE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");e.writeFloatBE(t)}static isValid(t){return"number"==typeof t}}class $ extends d{static read(t){return t.readDoubleBE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");e.writeDoubleBE(t)}static isValid(t){return"number"==typeof t}}class L extends d{static read(){throw new o("quadruple not supported")}static write(){throw new o("quadruple not supported")}static isValid(){return!1}}class O extends d{static read(t){const e=B.read(t);switch(e){case 0:return!1;case 1:return!0;default:throw new i(`got ${e} when trying to read a bool`)}}static write(t,e){const r=t?1:0;B.write(r,e)}static isValid(t){return"boolean"==typeof t}}var S=r(616).A;class N extends g{constructor(t=U.MAX_VALUE){super(),this._maxLength=t}read(t){const e=U.read(t);if(e>this._maxLength)throw new i(`saw ${e} length String, max allowed is ${this._maxLength}`);return t.read(e)}readString(t){return this.read(t).toString("utf8")}write(t,e){const r="string"==typeof t?S.byteLength(t,"utf8"):t.length;if(r>this._maxLength)throw new n(`got ${t.length} bytes, max allowed is ${this._maxLength}`);U.write(r,e),e.write(t,r)}isValid(t){return"string"==typeof t?S.byteLength(t,"utf8")<=this._maxLength:!!(t instanceof Array||S.isBuffer(t))&&t.length<=this._maxLength}}var V=r(616).A;class M extends g{constructor(t){super(),this._length=t}read(t){return t.read(this._length)}write(t,e){const{length:r}=t;if(r!==this._length)throw new n(`got ${t.length} bytes, expected ${this._length}`);e.write(t,r)}isValid(t){return V.isBuffer(t)&&t.length===this._length}}var C=r(616).A;class D extends g{constructor(t=U.MAX_VALUE){super(),this._maxLength=t}read(t){const e=U.read(t);if(e>this._maxLength)throw new i(`saw ${e} length VarOpaque, max allowed is ${this._maxLength}`);return t.read(e)}write(t,e){const{length:r}=t;if(t.length>this._maxLength)throw new n(`got ${t.length} bytes, max allowed is ${this._maxLength}`);U.write(r,e),e.write(t,r)}isValid(t){return C.isBuffer(t)&&t.length<=this._maxLength}}class j extends g{constructor(t,e){super(),this._childType=t,this._length=e}read(t){const e=new r.g.Array(this._length);for(let r=0;r<this._length;r++)e[r]=this._childType.read(t);return e}write(t,e){if(!(t instanceof r.g.Array))throw new n("value is not array");if(t.length!==this._length)throw new n(`got array of size ${t.length}, expected ${this._length}`);for(const r of t)this._childType.write(r,e)}isValid(t){if(!(t instanceof r.g.Array)||t.length!==this._length)return!1;for(const e of t)if(!this._childType.isValid(e))return!1;return!0}}class z extends g{constructor(t,e=U.MAX_VALUE){super(),this._childType=t,this._maxLength=e}read(t){const e=U.read(t);if(e>this._maxLength)throw new i(`saw ${e} length VarArray, max allowed is ${this._maxLength}`);const r=new Array(e);for(let n=0;n<e;n++)r[n]=this._childType.read(t);return r}write(t,e){if(!(t instanceof Array))throw new n("value is not array");if(t.length>this._maxLength)throw new n(`got array of size ${t.length}, max allowed is ${this._maxLength}`);U.write(t.length,e);for(const r of t)this._childType.write(r,e)}isValid(t){if(!(t instanceof Array)||t.length>this._maxLength)return!1;for(const e of t)if(!this._childType.isValid(e))return!1;return!0}}class F extends d{constructor(t){super(),this._childType=t}read(t){if(O.read(t))return this._childType.read(t)}write(t,e){const r=null!=t;O.write(r,e),r&&this._childType.write(t,e)}isValid(t){return null==t||this._childType.isValid(t)}}class P extends d{static read(){}static write(t){if(void 0!==t)throw new n("trying to write value to a void slot")}static isValid(t){return void 0===t}}class X extends d{constructor(t,e){super(),this.name=t,this.value=e}static read(t){const e=B.read(t),r=this._byValue[e];if(void 0===r)throw new i(`unknown ${this.enumName} member for value ${e}`);return r}static write(t,e){if(!(t instanceof this))throw new n(`unknown ${t} is not a ${this.enumName}`);B.write(t.value,e)}static isValid(t){return t instanceof this}static members(){return this._members}static values(){return Object.values(this._members)}static fromName(t){const e=this._members[t];if(!e)throw new TypeError(`${t} is not a member of ${this.enumName}`);return e}static fromValue(t){const e=this._byValue[t];if(void 0===e)throw new TypeError(`${t} is not a value of any member of ${this.enumName}`);return e}static create(t,e,r){const n=class extends X{};n.enumName=e,t.results[e]=n,n._members={},n._byValue={};for(const[t,e]of Object.entries(r)){const r=new n(t,e);n._members[t]=r,n._byValue[e]=r,n[t]=()=>r}return n}}class k extends d{resolve(){throw new o('"resolve" method should be implemented in the descendant class')}}class q extends d{constructor(t){super(),this._attributes=t||{}}static read(t){const e={};for(const[r,n]of this._fields)e[r]=n.read(t);return new this(e)}static write(t,e){if(!(t instanceof this))throw new n(`${t} is not a ${this.structName}`);for(const[r,n]of this._fields){const i=t._attributes[r];n.write(i,e)}}static isValid(t){return t instanceof this}static create(t,e,r){const n=class extends q{};n.structName=e,t.results[e]=n;const i=new Array(r.length);for(let e=0;e<r.length;e++){const o=r[e],s=o[0];let f=o[1];f instanceof k&&(f=f.resolve(t)),i[e]=[s,f],n.prototype[s]=G(s)}return n._fields=i,n}}function G(t){return function(e){return void 0!==e&&(this._attributes[t]=e),this._attributes[t]}}class Y extends g{constructor(t,e){super(),this.set(t,e)}set(t,e){"string"==typeof t&&(t=this.constructor._switchOn.fromName(t)),this._switch=t;const r=this.constructor.armForSwitch(this._switch);this._arm=r,this._armType=r===P?P:this.constructor._arms[r],this._value=e}get(t=this._arm){if(this._arm!==P&&this._arm!==t)throw new TypeError(`${t} not set`);return this._value}switch(){return this._switch}arm(){return this._arm}armType(){return this._armType}value(){return this._value}static armForSwitch(t){const e=this._switches.get(t);if(void 0!==e)return e;if(this._defaultArm)return this._defaultArm;throw new TypeError(`Bad union switch: ${t}`)}static armTypeForArm(t){return t===P?P:this._arms[t]}static read(t){const e=this._switchOn.read(t),r=this.armForSwitch(e),n=r===P?P:this._arms[r];let i;return i=void 0!==n?n.read(t):r.read(t),new this(e,i)}static write(t,e){if(!(t instanceof this))throw new n(`${t} is not a ${this.unionName}`);this._switchOn.write(t.switch(),e),t.armType().write(t.value(),e)}static isValid(t){return t instanceof this}static create(t,e,r){const n=class extends Y{};n.unionName=e,t.results[e]=n,r.switchOn instanceof k?n._switchOn=r.switchOn.resolve(t):n._switchOn=r.switchOn,n._switches=new Map,n._arms={};let i=r.defaultArm;i instanceof k&&(i=i.resolve(t)),n._defaultArm=i;for(const[t,e]of r.switches){const r="string"==typeof t?n._switchOn.fromName(t):t;n._switches.set(r,e)}if(void 0!==n._switchOn.values)for(const t of n._switchOn.values())n[t.name]=function(e){return new n(t,e)},n.prototype[t.name]=function(e){return this.set(t,e)};if(r.arms)for(const[e,i]of Object.entries(r.arms))n._arms[e]=i instanceof k?i.resolve(t):i,i!==P&&(n.prototype[e]=function(){return this.get(e)});return n}}class W extends k{constructor(t){super(),this.name=t}resolve(t){return t.definitions[this.name].resolve(t)}}class H extends k{constructor(t,e,r=!1){super(),this.childReference=t,this.length=e,this.variable=r}resolve(t){let e=this.childReference,r=this.length;return e instanceof k&&(e=e.resolve(t)),r instanceof k&&(r=r.resolve(t)),this.variable?new z(e,r):new j(e,r)}}class J extends k{constructor(t){super(),this.childReference=t,this.name=t.name}resolve(t){let e=this.childReference;return e instanceof k&&(e=e.resolve(t)),new F(e)}}class Q extends k{constructor(t,e){super(),this.sizedType=t,this.length=e}resolve(t){let e=this.length;return e instanceof k&&(e=e.resolve(t)),new this.sizedType(e)}}class Z{constructor(t,e,r){this.constructor=t,this.name=e,this.config=r}resolve(t){return this.name in t.results?t.results[this.name]:this.constructor(t,this.name,this.config)}}function K(t,e,r){return r instanceof k&&(r=r.resolve(t)),t.results[e]=r,r}function tt(t,e,r){return t.results[e]=r,r}class et{constructor(t){this._destination=t,this._definitions={}}enum(t,e){const r=new Z(X.create,t,e);this.define(t,r)}struct(t,e){const r=new Z(q.create,t,e);this.define(t,r)}union(t,e){const r=new Z(Y.create,t,e);this.define(t,r)}typedef(t,e){const r=new Z(K,t,e);this.define(t,r)}const(t,e){const r=new Z(tt,t,e);this.define(t,r)}void(){return P}bool(){return O}int(){return B}hyper(){return I}uint(){return U}uhyper(){return R}float(){return T}double(){return $}quadruple(){return L}string(t){return new Q(N,t)}opaque(t){return new Q(M,t)}varOpaque(t){return new Q(D,t)}array(t,e){return new H(t,e)}varArray(t,e){return new H(t,e,!0)}option(t){return new J(t)}define(t,e){if(void 0!==this._destination[t])throw new o(`${t} is already defined`);this._definitions[t]=e}lookup(t){return new W(t)}resolve(){for(const t of Object.values(this._definitions))t.resolve({definitions:this._definitions,results:this._destination})}}function rt(t,e={}){if(t){const r=new et(e);t(r),r.resolve()}return e}},526:(t,e)=>{"use strict";e.byteLength=function(t){var e=f(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,o=f(t),s=o[0],u=o[1],a=new i(function(t,e,r){return 3*(e+r)/4-r}(0,s,u)),h=0,c=u>0?s-4:s;for(r=0;r<c;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],a[h++]=e>>16&255,a[h++]=e>>8&255,a[h++]=255&e;2===u&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,a[h++]=255&e);1===u&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,a[h++]=e>>8&255,a[h++]=255&e);return a},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=16383,f=0,a=n-i;f<a;f+=s)o.push(u(t,f,f+s>a?a:f+s));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function f(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,n){for(var i,o,s=[],f=e;f<n;f+=3)i=(t[f]<<16&16711680)+(t[f+1]<<8&65280)+(255&t[f+2]),s.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},287:(t,e,r)=>{"use strict";const n=r(526),i=r(251),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.hp=u,e.IS=50;const s=2147483647;function f(t){if(t>s)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,u.prototype),e}function u(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return c(t)}return a(t,e,r)}function a(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|g(t,e);let n=f(r);const i=n.write(t,e);i!==r&&(n=n.slice(0,i));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(H(t,Uint8Array)){const e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return l(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(H(t,ArrayBuffer)||t&&H(t.buffer,ArrayBuffer))return p(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(H(t,SharedArrayBuffer)||t&&H(t.buffer,SharedArrayBuffer)))return p(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,e,r);const i=function(t){if(u.isBuffer(t)){const e=0|d(t.length),r=f(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||J(t.length)?f(0):l(t);if("Buffer"===t.type&&Array.isArray(t.data))return l(t.data)}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return h(t),f(t<0?0:0|d(t))}function l(t){const e=t.length<0?0:0|d(t.length),r=f(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function p(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,u.prototype),n}function d(t){if(t>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function g(t,e){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||H(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return G(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Y(t).length;default:if(i)return n?-1:G(t).length;e=(""+e).toLowerCase(),i=!0}}function w(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return $(this,e,r);case"utf8":case"utf-8":return x(this,e,r);case"ascii":return R(this,e,r);case"latin1":case"binary":return T(this,e,r);case"base64":return I(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),J(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:b(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):b(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,r,n,i){let o,s=1,f=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,f/=2,u/=2,r/=2}function a(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){let n=-1;for(o=r;o<f;o++)if(a(t,o)===a(e,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===u)return n*s}else-1!==n&&(o-=o-n),n=-1}else for(r+u>f&&(r=f-u),o=r;o>=0;o--){let r=!0;for(let n=0;n<u;n++)if(a(t,o+n)!==a(e,n)){r=!1;break}if(r)return o}return-1}function _(t,e,r,n){r=Number(r)||0;const i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;const o=e.length;let s;for(n>o/2&&(n=o/2),s=0;s<n;++s){const n=parseInt(e.substr(2*s,2),16);if(J(n))return s;t[r+s]=n}return s}function B(t,e,r,n){return W(G(e,t.length-r),t,r,n)}function E(t,e,r,n){return W(function(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function v(t,e,r,n){return W(Y(e),t,r,n)}function A(t,e,r,n){return W(function(t,e){let r,n,i;const o=[];for(let s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function I(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function x(t,e,r){r=Math.min(t.length,r);const n=[];let i=e;for(;i<r;){const e=t[i];let o=null,s=e>239?4:e>223?3:e>191?2:1;if(i+s<=r){let r,n,f,u;switch(s){case 1:e<128&&(o=e);break;case 2:r=t[i+1],128==(192&r)&&(u=(31&e)<<6|63&r,u>127&&(o=u));break;case 3:r=t[i+1],n=t[i+2],128==(192&r)&&128==(192&n)&&(u=(15&e)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:r=t[i+1],n=t[i+2],f=t[i+3],128==(192&r)&&128==(192&n)&&128==(192&f)&&(u=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&f,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=s}return function(t){const e=t.length;if(e<=U)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=U));return r}(n)}u.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(t,e,r){return a(t,e,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(t,e,r){return function(t,e,r){return h(t),t<=0?f(t):void 0!==e?"string"==typeof r?f(t).fill(e,r):f(t).fill(e):f(t)}(t,e,r)},u.allocUnsafe=function(t){return c(t)},u.allocUnsafeSlow=function(t){return c(t)},u.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==u.prototype},u.compare=function(t,e){if(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),H(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=u.allocUnsafe(e);let i=0;for(r=0;r<t.length;++r){let e=t[r];if(H(e,Uint8Array))i+e.length>n.length?(u.isBuffer(e)||(e=u.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else{if(!u.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,i)}i+=e.length}return n},u.byteLength=g,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)y(this,e,e+1);return this},u.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},u.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},u.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?x(this,0,t):w.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){let t="";const r=e.IS;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(t,e,r,n,i){if(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;let o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0);const f=Math.min(o,s),a=this.slice(n,i),h=t.slice(e,r);for(let t=0;t<f;++t)if(a[t]!==h[t]){o=a[t],s=h[t];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return _(this,t,e,r);case"utf8":case"utf-8":return B(this,t,e,r);case"ascii":case"latin1":case"binary":return E(this,t,e,r);case"base64":return v(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const U=4096;function R(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function T(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function $(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=e;n<r;++n)i+=Q[t[n]];return i}function L(t,e,r){const n=t.slice(e,r);let i="";for(let t=0;t<n.length-1;t+=2)i+=String.fromCharCode(n[t]+256*n[t+1]);return i}function O(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function S(t,e,r,n,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function N(t,e,r,n,i){P(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,r}function V(t,e,r,n,i){P(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=s,s>>=8,t[r+2]=s,s>>=8,t[r+1]=s,s>>=8,t[r]=s,r+8}function M(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function C(t,e,r,n,o){return e=+e,r>>>=0,o||M(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function D(t,e,r,n,o){return e=+e,r>>>=0,o||M(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);const n=this.subarray(t,e);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=this[t+--e],i=1;for(;e>0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(t,e){return t>>>=0,e||O(t,1,this.length),this[t]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,e){return t>>>=0,e||O(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,e){return t>>>=0,e||O(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,e){return t>>>=0,e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,e){return t>>>=0,e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readBigUInt64LE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,i=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))})),u.prototype.readBigUInt64BE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],i=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)})),u.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=e,i=1,o=this[t+--n];for(;n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return t>>>=0,e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){t>>>=0,e||O(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){t>>>=0,e||O(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return t>>>=0,e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return t>>>=0,e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readBigInt64LE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),u.prototype.readBigInt64BE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),u.prototype.readFloatLE=function(t,e){return t>>>=0,e||O(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return t>>>=0,e||O(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return t>>>=0,e||O(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return t>>>=0,e||O(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){S(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){S(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,1,255,0),this[e]=255&t,e+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigUInt64LE=Z((function(t,e=0){return N(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Z((function(t,e=0){return V(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);S(this,t,e,r,n-1,-n)}let i=0,o=1,s=0;for(this[e]=255&t;++i<r&&(o*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/o>>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);S(this,t,e,r,n-1,-n)}let i=r-1,o=1,s=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/o>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigInt64LE=Z((function(t,e=0){return N(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Z((function(t,e=0){return V(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(t,e,r){return C(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return C(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return D(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return D(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);const i=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),i},u.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){const e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{const o=u.isBuffer(t)?t:u.from(t,n),s=o.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=o[i%s]}return this};const j={};function z(t,e,r){j[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function F(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function P(t,e,r,n,i,o){if(t>r||t<e){const n="bigint"==typeof e?"n":"";let i;throw i=o>3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new j.ERR_OUT_OF_RANGE("value",i,t)}!function(t,e,r){X(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||k(e,t.length-(r+1))}(n,i,o)}function X(t,e){if("number"!=typeof t)throw new j.ERR_INVALID_ARG_TYPE(e,"number",t)}function k(t,e,r){if(Math.floor(t)!==t)throw X(t,r),new j.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new j.ERR_BUFFER_OUT_OF_BOUNDS;throw new j.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}z("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),z("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),z("ERR_OUT_OF_RANGE",(function(t,e,r){let n=`The value of "${t}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=F(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=F(i)),i+="n"),n+=` It must be ${e}. Received ${i}`,n}),RangeError);const q=/[^+/0-9A-Za-z-_]/g;function G(t,e){let r;e=e||1/0;const n=t.length;let i=null;const o=[];for(let s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function Y(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function W(t,e,r,n){let i;for(i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function H(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function J(t){return t!=t}const Q=function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)e[n+i]=t[r]+t[i]}return e}();function Z(t){return"undefined"==typeof BigInt?K:t}function K(){throw new Error("BigInt not supported")}},251:(t,e)=>{e.read=function(t,e,r,n,i){var o,s,f=8*i-n-1,u=(1<<f)-1,a=u>>1,h=-7,c=r?i-1:0,l=r?-1:1,p=t[e+c];for(c+=l,o=p&(1<<-h)-1,p>>=-h,h+=f;h>0;o=256*o+t[e+c],c+=l,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=256*s+t[e+c],c+=l,h-=8);if(0===o)o=1-a;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=a}return(p?-1:1)*s*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var s,f,u,a=8*o-i-1,h=(1<<a)-1,c=h>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),(e+=s+c>=1?l/u:l*Math.pow(2,1-c))*u>=2&&(s++,u/=2),s+c>=h?(f=0,s=h):s+c>=1?(f=(e*u-1)*Math.pow(2,i),s+=c):(f=e*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=255&f,p+=d,f/=256,i-=8);for(s=s<<i|f,a+=i;a>0;t[r+p]=255&s,p+=d,s/=256,a-=8);t[r+p-d]|=128*g}}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}return r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(281)})()));
|
|
11
11
|
//# sourceMappingURL=xdr.js.map
|
|
12
12
|
|
|
13
13
|
/***/ }),
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 4148:
|
|
16
16
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17
17
|
|
|
18
18
|
"use strict";
|
|
19
|
-
/* provided dependency */ var process = __webpack_require__(
|
|
20
|
-
/* provided dependency */ var console = __webpack_require__(
|
|
19
|
+
/* provided dependency */ var process = __webpack_require__(5606);
|
|
20
|
+
/* provided dependency */ var console = __webpack_require__(6763);
|
|
21
21
|
// Currently in sync with Node.js lib/assert.js
|
|
22
22
|
// https://github.com/nodejs/node/commit/2a51ae424a513ec9a6aa3466baa0cc1d55dd4f3b
|
|
23
23
|
|
|
@@ -49,22 +49,22 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
49
49
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
50
50
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
51
51
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
52
|
-
var _require = __webpack_require__(
|
|
52
|
+
var _require = __webpack_require__(9597),
|
|
53
53
|
_require$codes = _require.codes,
|
|
54
54
|
ERR_AMBIGUOUS_ARGUMENT = _require$codes.ERR_AMBIGUOUS_ARGUMENT,
|
|
55
55
|
ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,
|
|
56
56
|
ERR_INVALID_ARG_VALUE = _require$codes.ERR_INVALID_ARG_VALUE,
|
|
57
57
|
ERR_INVALID_RETURN_VALUE = _require$codes.ERR_INVALID_RETURN_VALUE,
|
|
58
58
|
ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS;
|
|
59
|
-
var AssertionError = __webpack_require__(
|
|
60
|
-
var _require2 = __webpack_require__(
|
|
59
|
+
var AssertionError = __webpack_require__(3918);
|
|
60
|
+
var _require2 = __webpack_require__(537),
|
|
61
61
|
inspect = _require2.inspect;
|
|
62
|
-
var _require$types = (__webpack_require__(
|
|
62
|
+
var _require$types = (__webpack_require__(537).types),
|
|
63
63
|
isPromise = _require$types.isPromise,
|
|
64
64
|
isRegExp = _require$types.isRegExp;
|
|
65
|
-
var objectAssign = __webpack_require__(
|
|
66
|
-
var objectIs = __webpack_require__(
|
|
67
|
-
var RegExpPrototypeTest = __webpack_require__(
|
|
65
|
+
var objectAssign = __webpack_require__(1514)();
|
|
66
|
+
var objectIs = __webpack_require__(9394)();
|
|
67
|
+
var RegExpPrototypeTest = __webpack_require__(8075)('RegExp.prototype.test');
|
|
68
68
|
var errorCache = new Map();
|
|
69
69
|
var isDeepEqual;
|
|
70
70
|
var isDeepStrictEqual;
|
|
@@ -72,7 +72,7 @@ var parseExpressionAt;
|
|
|
72
72
|
var findNodeAround;
|
|
73
73
|
var decoder;
|
|
74
74
|
function lazyLoadComparison() {
|
|
75
|
-
var comparison = __webpack_require__(
|
|
75
|
+
var comparison = __webpack_require__(2299);
|
|
76
76
|
isDeepEqual = comparison.isDeepEqual;
|
|
77
77
|
isDeepStrictEqual = comparison.isDeepStrictEqual;
|
|
78
78
|
}
|
|
@@ -611,11 +611,11 @@ assert.strict.strict = assert.strict;
|
|
|
611
611
|
|
|
612
612
|
/***/ }),
|
|
613
613
|
|
|
614
|
-
/***/
|
|
614
|
+
/***/ 3918:
|
|
615
615
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
616
616
|
|
|
617
617
|
"use strict";
|
|
618
|
-
/* provided dependency */ var process = __webpack_require__(
|
|
618
|
+
/* provided dependency */ var process = __webpack_require__(5606);
|
|
619
619
|
// Currently in sync with Node.js lib/internal/assert/assertion_error.js
|
|
620
620
|
// https://github.com/nodejs/node/commit/0817840f775032169ddd70c85ac059f18ffcc81c
|
|
621
621
|
|
|
@@ -640,9 +640,9 @@ function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[nat
|
|
|
640
640
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
641
641
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
642
642
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
643
|
-
var _require = __webpack_require__(
|
|
643
|
+
var _require = __webpack_require__(537),
|
|
644
644
|
inspect = _require.inspect;
|
|
645
|
-
var _require2 = __webpack_require__(
|
|
645
|
+
var _require2 = __webpack_require__(9597),
|
|
646
646
|
ERR_INVALID_ARG_TYPE = _require2.codes.ERR_INVALID_ARG_TYPE;
|
|
647
647
|
|
|
648
648
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith
|
|
@@ -1064,7 +1064,7 @@ module.exports = AssertionError;
|
|
|
1064
1064
|
|
|
1065
1065
|
/***/ }),
|
|
1066
1066
|
|
|
1067
|
-
/***/
|
|
1067
|
+
/***/ 9597:
|
|
1068
1068
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1069
1069
|
|
|
1070
1070
|
"use strict";
|
|
@@ -1171,7 +1171,7 @@ function includes(str, search, start) {
|
|
|
1171
1171
|
}
|
|
1172
1172
|
createErrorType('ERR_AMBIGUOUS_ARGUMENT', 'The "%s" argument is ambiguous. %s', TypeError);
|
|
1173
1173
|
createErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) {
|
|
1174
|
-
if (assert === undefined) assert = __webpack_require__(
|
|
1174
|
+
if (assert === undefined) assert = __webpack_require__(4148);
|
|
1175
1175
|
assert(typeof name === 'string', "'name' must be a string");
|
|
1176
1176
|
|
|
1177
1177
|
// determiner: 'must be' or 'must not be'
|
|
@@ -1197,7 +1197,7 @@ createErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) {
|
|
|
1197
1197
|
}, TypeError);
|
|
1198
1198
|
createErrorType('ERR_INVALID_ARG_VALUE', function (name, value) {
|
|
1199
1199
|
var reason = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'is invalid';
|
|
1200
|
-
if (util === undefined) util = __webpack_require__(
|
|
1200
|
+
if (util === undefined) util = __webpack_require__(537);
|
|
1201
1201
|
var inspected = util.inspect(value);
|
|
1202
1202
|
if (inspected.length > 128) {
|
|
1203
1203
|
inspected = "".concat(inspected.slice(0, 128), "...");
|
|
@@ -1217,7 +1217,7 @@ createErrorType('ERR_MISSING_ARGS', function () {
|
|
|
1217
1217
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
1218
1218
|
args[_key] = arguments[_key];
|
|
1219
1219
|
}
|
|
1220
|
-
if (assert === undefined) assert = __webpack_require__(
|
|
1220
|
+
if (assert === undefined) assert = __webpack_require__(4148);
|
|
1221
1221
|
assert(args.length > 0, 'At least one arg needs to be specified');
|
|
1222
1222
|
var msg = 'The ';
|
|
1223
1223
|
var len = args.length;
|
|
@@ -1242,7 +1242,7 @@ module.exports.codes = codes;
|
|
|
1242
1242
|
|
|
1243
1243
|
/***/ }),
|
|
1244
1244
|
|
|
1245
|
-
/***/
|
|
1245
|
+
/***/ 2299:
|
|
1246
1246
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1247
1247
|
|
|
1248
1248
|
"use strict";
|
|
@@ -1273,18 +1273,18 @@ var arrayFromMap = function arrayFromMap(map) {
|
|
|
1273
1273
|
});
|
|
1274
1274
|
return array;
|
|
1275
1275
|
};
|
|
1276
|
-
var objectIs = Object.is ? Object.is : __webpack_require__(
|
|
1276
|
+
var objectIs = Object.is ? Object.is : __webpack_require__(7653);
|
|
1277
1277
|
var objectGetOwnPropertySymbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols : function () {
|
|
1278
1278
|
return [];
|
|
1279
1279
|
};
|
|
1280
|
-
var numberIsNaN = Number.isNaN ? Number.isNaN : __webpack_require__(
|
|
1280
|
+
var numberIsNaN = Number.isNaN ? Number.isNaN : __webpack_require__(4133);
|
|
1281
1281
|
function uncurryThis(f) {
|
|
1282
1282
|
return f.call.bind(f);
|
|
1283
1283
|
}
|
|
1284
1284
|
var hasOwnProperty = uncurryThis(Object.prototype.hasOwnProperty);
|
|
1285
1285
|
var propertyIsEnumerable = uncurryThis(Object.prototype.propertyIsEnumerable);
|
|
1286
1286
|
var objectToString = uncurryThis(Object.prototype.toString);
|
|
1287
|
-
var _require$types = (__webpack_require__(
|
|
1287
|
+
var _require$types = (__webpack_require__(537).types),
|
|
1288
1288
|
isAnyArrayBuffer = _require$types.isAnyArrayBuffer,
|
|
1289
1289
|
isArrayBufferView = _require$types.isArrayBufferView,
|
|
1290
1290
|
isDate = _require$types.isDate,
|
|
@@ -1824,7 +1824,28 @@ module.exports = {
|
|
|
1824
1824
|
|
|
1825
1825
|
/***/ }),
|
|
1826
1826
|
|
|
1827
|
-
/***/
|
|
1827
|
+
/***/ 3626:
|
|
1828
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1829
|
+
|
|
1830
|
+
"use strict";
|
|
1831
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1832
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1833
|
+
/* harmony export */ });
|
|
1834
|
+
/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8287);
|
|
1835
|
+
// See https://github.com/stellar/js-xdr/issues/117
|
|
1836
|
+
|
|
1837
|
+
if (!(buffer__WEBPACK_IMPORTED_MODULE_0__.Buffer.alloc(1).subarray(0, 1) instanceof buffer__WEBPACK_IMPORTED_MODULE_0__.Buffer)) {
|
|
1838
|
+
buffer__WEBPACK_IMPORTED_MODULE_0__.Buffer.prototype.subarray = function subarray(start, end) {
|
|
1839
|
+
var result = Uint8Array.prototype.subarray.call(this, start, end);
|
|
1840
|
+
Object.setPrototypeOf(result, buffer__WEBPACK_IMPORTED_MODULE_0__.Buffer.prototype);
|
|
1841
|
+
return result;
|
|
1842
|
+
};
|
|
1843
|
+
}
|
|
1844
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (buffer__WEBPACK_IMPORTED_MODULE_0__.Buffer);
|
|
1845
|
+
|
|
1846
|
+
/***/ }),
|
|
1847
|
+
|
|
1848
|
+
/***/ 7687:
|
|
1828
1849
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
1829
1850
|
|
|
1830
1851
|
"use strict";
|
|
@@ -1895,7 +1916,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1895
1916
|
});
|
|
1896
1917
|
|
|
1897
1918
|
// EXTERNAL MODULE: ./node_modules/@stellar/js-xdr/dist/xdr.js
|
|
1898
|
-
var xdr = __webpack_require__(
|
|
1919
|
+
var xdr = __webpack_require__(3740);
|
|
1899
1920
|
;// CONCATENATED MODULE: ./src/generated/curr_generated.js
|
|
1900
1921
|
// Automatically generated by xdrgen
|
|
1901
1922
|
// DO NOT EDIT or your changes may be overwritten
|
|
@@ -2383,7 +2404,7 @@ var types = xdr.config(function (xdr) {
|
|
|
2383
2404
|
// const MASK_ACCOUNT_FLAGS_V17 = 0xF;
|
|
2384
2405
|
//
|
|
2385
2406
|
// ===========================================================================
|
|
2386
|
-
xdr["const"]("MASK_ACCOUNT_FLAGS_V17",
|
|
2407
|
+
xdr["const"]("MASK_ACCOUNT_FLAGS_V17", 0xF);
|
|
2387
2408
|
|
|
2388
2409
|
// === xdr source ============================================================
|
|
2389
2410
|
//
|
|
@@ -3225,15 +3246,79 @@ var types = xdr.config(function (xdr) {
|
|
|
3225
3246
|
|
|
3226
3247
|
// === xdr source ============================================================
|
|
3227
3248
|
//
|
|
3228
|
-
// struct
|
|
3249
|
+
// struct ContractCodeCostInputs {
|
|
3229
3250
|
// ExtensionPoint ext;
|
|
3251
|
+
// uint32 nInstructions;
|
|
3252
|
+
// uint32 nFunctions;
|
|
3253
|
+
// uint32 nGlobals;
|
|
3254
|
+
// uint32 nTableEntries;
|
|
3255
|
+
// uint32 nTypes;
|
|
3256
|
+
// uint32 nDataSegments;
|
|
3257
|
+
// uint32 nElemSegments;
|
|
3258
|
+
// uint32 nImports;
|
|
3259
|
+
// uint32 nExports;
|
|
3260
|
+
// uint32 nDataSegmentBytes;
|
|
3261
|
+
// };
|
|
3262
|
+
//
|
|
3263
|
+
// ===========================================================================
|
|
3264
|
+
xdr.struct("ContractCodeCostInputs", [["ext", xdr.lookup("ExtensionPoint")], ["nInstructions", xdr.lookup("Uint32")], ["nFunctions", xdr.lookup("Uint32")], ["nGlobals", xdr.lookup("Uint32")], ["nTableEntries", xdr.lookup("Uint32")], ["nTypes", xdr.lookup("Uint32")], ["nDataSegments", xdr.lookup("Uint32")], ["nElemSegments", xdr.lookup("Uint32")], ["nImports", xdr.lookup("Uint32")], ["nExports", xdr.lookup("Uint32")], ["nDataSegmentBytes", xdr.lookup("Uint32")]]);
|
|
3265
|
+
|
|
3266
|
+
// === xdr source ============================================================
|
|
3267
|
+
//
|
|
3268
|
+
// struct
|
|
3269
|
+
// {
|
|
3270
|
+
// ExtensionPoint ext;
|
|
3271
|
+
// ContractCodeCostInputs costInputs;
|
|
3272
|
+
// }
|
|
3273
|
+
//
|
|
3274
|
+
// ===========================================================================
|
|
3275
|
+
xdr.struct("ContractCodeEntryV1", [["ext", xdr.lookup("ExtensionPoint")], ["costInputs", xdr.lookup("ContractCodeCostInputs")]]);
|
|
3276
|
+
|
|
3277
|
+
// === xdr source ============================================================
|
|
3278
|
+
//
|
|
3279
|
+
// union switch (int v)
|
|
3280
|
+
// {
|
|
3281
|
+
// case 0:
|
|
3282
|
+
// void;
|
|
3283
|
+
// case 1:
|
|
3284
|
+
// struct
|
|
3285
|
+
// {
|
|
3286
|
+
// ExtensionPoint ext;
|
|
3287
|
+
// ContractCodeCostInputs costInputs;
|
|
3288
|
+
// } v1;
|
|
3289
|
+
// }
|
|
3290
|
+
//
|
|
3291
|
+
// ===========================================================================
|
|
3292
|
+
xdr.union("ContractCodeEntryExt", {
|
|
3293
|
+
switchOn: xdr["int"](),
|
|
3294
|
+
switchName: "v",
|
|
3295
|
+
switches: [[0, xdr["void"]()], [1, "v1"]],
|
|
3296
|
+
arms: {
|
|
3297
|
+
v1: xdr.lookup("ContractCodeEntryV1")
|
|
3298
|
+
}
|
|
3299
|
+
});
|
|
3300
|
+
|
|
3301
|
+
// === xdr source ============================================================
|
|
3302
|
+
//
|
|
3303
|
+
// struct ContractCodeEntry {
|
|
3304
|
+
// union switch (int v)
|
|
3305
|
+
// {
|
|
3306
|
+
// case 0:
|
|
3307
|
+
// void;
|
|
3308
|
+
// case 1:
|
|
3309
|
+
// struct
|
|
3310
|
+
// {
|
|
3311
|
+
// ExtensionPoint ext;
|
|
3312
|
+
// ContractCodeCostInputs costInputs;
|
|
3313
|
+
// } v1;
|
|
3314
|
+
// } ext;
|
|
3230
3315
|
//
|
|
3231
3316
|
// Hash hash;
|
|
3232
3317
|
// opaque code<>;
|
|
3233
3318
|
// };
|
|
3234
3319
|
//
|
|
3235
3320
|
// ===========================================================================
|
|
3236
|
-
xdr.struct("ContractCodeEntry", [["ext", xdr.lookup("
|
|
3321
|
+
xdr.struct("ContractCodeEntry", [["ext", xdr.lookup("ContractCodeEntryExt")], ["hash", xdr.lookup("Hash")], ["code", xdr.varOpaque()]]);
|
|
3237
3322
|
|
|
3238
3323
|
// === xdr source ============================================================
|
|
3239
3324
|
//
|
|
@@ -4428,10 +4513,69 @@ var types = xdr.config(function (xdr) {
|
|
|
4428
4513
|
|
|
4429
4514
|
// === xdr source ============================================================
|
|
4430
4515
|
//
|
|
4431
|
-
// struct
|
|
4516
|
+
// struct SorobanTransactionMetaExtV1
|
|
4432
4517
|
// {
|
|
4433
4518
|
// ExtensionPoint ext;
|
|
4434
4519
|
//
|
|
4520
|
+
// // The following are the components of the overall Soroban resource fee
|
|
4521
|
+
// // charged for the transaction.
|
|
4522
|
+
// // The following relation holds:
|
|
4523
|
+
// // `resourceFeeCharged = totalNonRefundableResourceFeeCharged + totalRefundableResourceFeeCharged`
|
|
4524
|
+
// // where `resourceFeeCharged` is the overall fee charged for the
|
|
4525
|
+
// // transaction. Also, `resourceFeeCharged` <= `sorobanData.resourceFee`
|
|
4526
|
+
// // i.e.we never charge more than the declared resource fee.
|
|
4527
|
+
// // The inclusion fee for charged the Soroban transaction can be found using
|
|
4528
|
+
// // the following equation:
|
|
4529
|
+
// // `result.feeCharged = resourceFeeCharged + inclusionFeeCharged`.
|
|
4530
|
+
//
|
|
4531
|
+
// // Total amount (in stroops) that has been charged for non-refundable
|
|
4532
|
+
// // Soroban resources.
|
|
4533
|
+
// // Non-refundable resources are charged based on the usage declared in
|
|
4534
|
+
// // the transaction envelope (such as `instructions`, `readBytes` etc.) and
|
|
4535
|
+
// // is charged regardless of the success of the transaction.
|
|
4536
|
+
// int64 totalNonRefundableResourceFeeCharged;
|
|
4537
|
+
// // Total amount (in stroops) that has been charged for refundable
|
|
4538
|
+
// // Soroban resource fees.
|
|
4539
|
+
// // Currently this comprises the rent fee (`rentFeeCharged`) and the
|
|
4540
|
+
// // fee for the events and return value.
|
|
4541
|
+
// // Refundable resources are charged based on the actual resources usage.
|
|
4542
|
+
// // Since currently refundable resources are only used for the successful
|
|
4543
|
+
// // transactions, this will be `0` for failed transactions.
|
|
4544
|
+
// int64 totalRefundableResourceFeeCharged;
|
|
4545
|
+
// // Amount (in stroops) that has been charged for rent.
|
|
4546
|
+
// // This is a part of `totalNonRefundableResourceFeeCharged`.
|
|
4547
|
+
// int64 rentFeeCharged;
|
|
4548
|
+
// };
|
|
4549
|
+
//
|
|
4550
|
+
// ===========================================================================
|
|
4551
|
+
xdr.struct("SorobanTransactionMetaExtV1", [["ext", xdr.lookup("ExtensionPoint")], ["totalNonRefundableResourceFeeCharged", xdr.lookup("Int64")], ["totalRefundableResourceFeeCharged", xdr.lookup("Int64")], ["rentFeeCharged", xdr.lookup("Int64")]]);
|
|
4552
|
+
|
|
4553
|
+
// === xdr source ============================================================
|
|
4554
|
+
//
|
|
4555
|
+
// union SorobanTransactionMetaExt switch (int v)
|
|
4556
|
+
// {
|
|
4557
|
+
// case 0:
|
|
4558
|
+
// void;
|
|
4559
|
+
// case 1:
|
|
4560
|
+
// SorobanTransactionMetaExtV1 v1;
|
|
4561
|
+
// };
|
|
4562
|
+
//
|
|
4563
|
+
// ===========================================================================
|
|
4564
|
+
xdr.union("SorobanTransactionMetaExt", {
|
|
4565
|
+
switchOn: xdr["int"](),
|
|
4566
|
+
switchName: "v",
|
|
4567
|
+
switches: [[0, xdr["void"]()], [1, "v1"]],
|
|
4568
|
+
arms: {
|
|
4569
|
+
v1: xdr.lookup("SorobanTransactionMetaExtV1")
|
|
4570
|
+
}
|
|
4571
|
+
});
|
|
4572
|
+
|
|
4573
|
+
// === xdr source ============================================================
|
|
4574
|
+
//
|
|
4575
|
+
// struct SorobanTransactionMeta
|
|
4576
|
+
// {
|
|
4577
|
+
// SorobanTransactionMetaExt ext;
|
|
4578
|
+
//
|
|
4435
4579
|
// ContractEvent events<>; // custom events populated by the
|
|
4436
4580
|
// // contracts themselves.
|
|
4437
4581
|
// SCVal returnValue; // return value of the host fn invocation
|
|
@@ -4443,7 +4587,7 @@ var types = xdr.config(function (xdr) {
|
|
|
4443
4587
|
// };
|
|
4444
4588
|
//
|
|
4445
4589
|
// ===========================================================================
|
|
4446
|
-
xdr.struct("SorobanTransactionMeta", [["ext", xdr.lookup("
|
|
4590
|
+
xdr.struct("SorobanTransactionMeta", [["ext", xdr.lookup("SorobanTransactionMetaExt")], ["events", xdr.varArray(xdr.lookup("ContractEvent"), 2147483647)], ["returnValue", xdr.lookup("ScVal")], ["diagnosticEvents", xdr.varArray(xdr.lookup("DiagnosticEvent"), 2147483647)]]);
|
|
4447
4591
|
|
|
4448
4592
|
// === xdr source ============================================================
|
|
4449
4593
|
//
|
|
@@ -4549,11 +4693,40 @@ var types = xdr.config(function (xdr) {
|
|
|
4549
4693
|
|
|
4550
4694
|
// === xdr source ============================================================
|
|
4551
4695
|
//
|
|
4552
|
-
// struct
|
|
4696
|
+
// struct LedgerCloseMetaExtV1
|
|
4553
4697
|
// {
|
|
4554
|
-
// // We forgot to add an ExtensionPoint in v0 but at least
|
|
4555
|
-
// // we can add one now in v1.
|
|
4556
4698
|
// ExtensionPoint ext;
|
|
4699
|
+
// int64 sorobanFeeWrite1KB;
|
|
4700
|
+
// };
|
|
4701
|
+
//
|
|
4702
|
+
// ===========================================================================
|
|
4703
|
+
xdr.struct("LedgerCloseMetaExtV1", [["ext", xdr.lookup("ExtensionPoint")], ["sorobanFeeWrite1Kb", xdr.lookup("Int64")]]);
|
|
4704
|
+
|
|
4705
|
+
// === xdr source ============================================================
|
|
4706
|
+
//
|
|
4707
|
+
// union LedgerCloseMetaExt switch (int v)
|
|
4708
|
+
// {
|
|
4709
|
+
// case 0:
|
|
4710
|
+
// void;
|
|
4711
|
+
// case 1:
|
|
4712
|
+
// LedgerCloseMetaExtV1 v1;
|
|
4713
|
+
// };
|
|
4714
|
+
//
|
|
4715
|
+
// ===========================================================================
|
|
4716
|
+
xdr.union("LedgerCloseMetaExt", {
|
|
4717
|
+
switchOn: xdr["int"](),
|
|
4718
|
+
switchName: "v",
|
|
4719
|
+
switches: [[0, xdr["void"]()], [1, "v1"]],
|
|
4720
|
+
arms: {
|
|
4721
|
+
v1: xdr.lookup("LedgerCloseMetaExtV1")
|
|
4722
|
+
}
|
|
4723
|
+
});
|
|
4724
|
+
|
|
4725
|
+
// === xdr source ============================================================
|
|
4726
|
+
//
|
|
4727
|
+
// struct LedgerCloseMetaV1
|
|
4728
|
+
// {
|
|
4729
|
+
// LedgerCloseMetaExt ext;
|
|
4557
4730
|
//
|
|
4558
4731
|
// LedgerHeaderHistoryEntry ledgerHeader;
|
|
4559
4732
|
//
|
|
@@ -4583,7 +4756,7 @@ var types = xdr.config(function (xdr) {
|
|
|
4583
4756
|
// };
|
|
4584
4757
|
//
|
|
4585
4758
|
// ===========================================================================
|
|
4586
|
-
xdr.struct("LedgerCloseMetaV1", [["ext", xdr.lookup("
|
|
4759
|
+
xdr.struct("LedgerCloseMetaV1", [["ext", xdr.lookup("LedgerCloseMetaExt")], ["ledgerHeader", xdr.lookup("LedgerHeaderHistoryEntry")], ["txSet", xdr.lookup("GeneralizedTransactionSet")], ["txProcessing", xdr.varArray(xdr.lookup("TransactionResultMeta"), 2147483647)], ["upgradesProcessing", xdr.varArray(xdr.lookup("UpgradeEntryMeta"), 2147483647)], ["scpInfo", xdr.varArray(xdr.lookup("ScpHistoryEntry"), 2147483647)], ["totalByteSizeOfBucketList", xdr.lookup("Uint64")], ["evictedTemporaryLedgerKeys", xdr.varArray(xdr.lookup("LedgerKey"), 2147483647)], ["evictedPersistentLedgerEntries", xdr.varArray(xdr.lookup("LedgerEntry"), 2147483647)]]);
|
|
4587
4760
|
|
|
4588
4761
|
// === xdr source ============================================================
|
|
4589
4762
|
//
|
|
@@ -9997,8 +10170,9 @@ var types = xdr.config(function (xdr) {
|
|
|
9997
10170
|
// InvokeVmFunction = 13,
|
|
9998
10171
|
// // Cost of computing a keccak256 hash from bytes.
|
|
9999
10172
|
// ComputeKeccak256Hash = 14,
|
|
10000
|
-
// // Cost of
|
|
10001
|
-
//
|
|
10173
|
+
// // Cost of decoding an ECDSA signature computed from a 256-bit prime modulus
|
|
10174
|
+
// // curve (e.g. secp256k1 and secp256r1)
|
|
10175
|
+
// DecodeEcdsaCurve256Sig = 15,
|
|
10002
10176
|
// // Cost of recovering an ECDSA secp256k1 key from a signature.
|
|
10003
10177
|
// RecoverEcdsaSecp256k1Key = 16,
|
|
10004
10178
|
// // Cost of int256 addition (`+`) and subtraction (`-`) operations
|
|
@@ -10012,7 +10186,55 @@ var types = xdr.config(function (xdr) {
|
|
|
10012
10186
|
// // Cost of int256 shift (`shl`, `shr`) operation
|
|
10013
10187
|
// Int256Shift = 21,
|
|
10014
10188
|
// // Cost of drawing random bytes using a ChaCha20 PRNG
|
|
10015
|
-
// ChaCha20DrawBytes = 22
|
|
10189
|
+
// ChaCha20DrawBytes = 22,
|
|
10190
|
+
//
|
|
10191
|
+
// // Cost of parsing wasm bytes that only encode instructions.
|
|
10192
|
+
// ParseWasmInstructions = 23,
|
|
10193
|
+
// // Cost of parsing a known number of wasm functions.
|
|
10194
|
+
// ParseWasmFunctions = 24,
|
|
10195
|
+
// // Cost of parsing a known number of wasm globals.
|
|
10196
|
+
// ParseWasmGlobals = 25,
|
|
10197
|
+
// // Cost of parsing a known number of wasm table entries.
|
|
10198
|
+
// ParseWasmTableEntries = 26,
|
|
10199
|
+
// // Cost of parsing a known number of wasm types.
|
|
10200
|
+
// ParseWasmTypes = 27,
|
|
10201
|
+
// // Cost of parsing a known number of wasm data segments.
|
|
10202
|
+
// ParseWasmDataSegments = 28,
|
|
10203
|
+
// // Cost of parsing a known number of wasm element segments.
|
|
10204
|
+
// ParseWasmElemSegments = 29,
|
|
10205
|
+
// // Cost of parsing a known number of wasm imports.
|
|
10206
|
+
// ParseWasmImports = 30,
|
|
10207
|
+
// // Cost of parsing a known number of wasm exports.
|
|
10208
|
+
// ParseWasmExports = 31,
|
|
10209
|
+
// // Cost of parsing a known number of data segment bytes.
|
|
10210
|
+
// ParseWasmDataSegmentBytes = 32,
|
|
10211
|
+
//
|
|
10212
|
+
// // Cost of instantiating wasm bytes that only encode instructions.
|
|
10213
|
+
// InstantiateWasmInstructions = 33,
|
|
10214
|
+
// // Cost of instantiating a known number of wasm functions.
|
|
10215
|
+
// InstantiateWasmFunctions = 34,
|
|
10216
|
+
// // Cost of instantiating a known number of wasm globals.
|
|
10217
|
+
// InstantiateWasmGlobals = 35,
|
|
10218
|
+
// // Cost of instantiating a known number of wasm table entries.
|
|
10219
|
+
// InstantiateWasmTableEntries = 36,
|
|
10220
|
+
// // Cost of instantiating a known number of wasm types.
|
|
10221
|
+
// InstantiateWasmTypes = 37,
|
|
10222
|
+
// // Cost of instantiating a known number of wasm data segments.
|
|
10223
|
+
// InstantiateWasmDataSegments = 38,
|
|
10224
|
+
// // Cost of instantiating a known number of wasm element segments.
|
|
10225
|
+
// InstantiateWasmElemSegments = 39,
|
|
10226
|
+
// // Cost of instantiating a known number of wasm imports.
|
|
10227
|
+
// InstantiateWasmImports = 40,
|
|
10228
|
+
// // Cost of instantiating a known number of wasm exports.
|
|
10229
|
+
// InstantiateWasmExports = 41,
|
|
10230
|
+
// // Cost of instantiating a known number of data segment bytes.
|
|
10231
|
+
// InstantiateWasmDataSegmentBytes = 42,
|
|
10232
|
+
//
|
|
10233
|
+
// // Cost of decoding a bytes array representing an uncompressed SEC-1 encoded
|
|
10234
|
+
// // point on a 256-bit elliptic curve
|
|
10235
|
+
// Sec1DecodePointUncompressed = 43,
|
|
10236
|
+
// // Cost of verifying an ECDSA Secp256r1 signature
|
|
10237
|
+
// VerifyEcdsaSecp256r1Sig = 44
|
|
10016
10238
|
// };
|
|
10017
10239
|
//
|
|
10018
10240
|
// ===========================================================================
|
|
@@ -10032,14 +10254,36 @@ var types = xdr.config(function (xdr) {
|
|
|
10032
10254
|
vmCachedInstantiation: 12,
|
|
10033
10255
|
invokeVmFunction: 13,
|
|
10034
10256
|
computeKeccak256Hash: 14,
|
|
10035
|
-
|
|
10257
|
+
decodeEcdsaCurve256Sig: 15,
|
|
10036
10258
|
recoverEcdsaSecp256k1Key: 16,
|
|
10037
10259
|
int256AddSub: 17,
|
|
10038
10260
|
int256Mul: 18,
|
|
10039
10261
|
int256Div: 19,
|
|
10040
10262
|
int256Pow: 20,
|
|
10041
10263
|
int256Shift: 21,
|
|
10042
|
-
chaCha20DrawBytes: 22
|
|
10264
|
+
chaCha20DrawBytes: 22,
|
|
10265
|
+
parseWasmInstructions: 23,
|
|
10266
|
+
parseWasmFunctions: 24,
|
|
10267
|
+
parseWasmGlobals: 25,
|
|
10268
|
+
parseWasmTableEntries: 26,
|
|
10269
|
+
parseWasmTypes: 27,
|
|
10270
|
+
parseWasmDataSegments: 28,
|
|
10271
|
+
parseWasmElemSegments: 29,
|
|
10272
|
+
parseWasmImports: 30,
|
|
10273
|
+
parseWasmExports: 31,
|
|
10274
|
+
parseWasmDataSegmentBytes: 32,
|
|
10275
|
+
instantiateWasmInstructions: 33,
|
|
10276
|
+
instantiateWasmFunctions: 34,
|
|
10277
|
+
instantiateWasmGlobals: 35,
|
|
10278
|
+
instantiateWasmTableEntries: 36,
|
|
10279
|
+
instantiateWasmTypes: 37,
|
|
10280
|
+
instantiateWasmDataSegments: 38,
|
|
10281
|
+
instantiateWasmElemSegments: 39,
|
|
10282
|
+
instantiateWasmImports: 40,
|
|
10283
|
+
instantiateWasmExports: 41,
|
|
10284
|
+
instantiateWasmDataSegmentBytes: 42,
|
|
10285
|
+
sec1DecodePointUncompressed: 43,
|
|
10286
|
+
verifyEcdsaSecp256r1Sig: 44
|
|
10043
10287
|
});
|
|
10044
10288
|
|
|
10045
10289
|
// === xdr source ============================================================
|
|
@@ -10072,15 +10316,18 @@ var types = xdr.config(function (xdr) {
|
|
|
10072
10316
|
// // Number of snapshots to use when calculating average BucketList size
|
|
10073
10317
|
// uint32 bucketListSizeWindowSampleSize;
|
|
10074
10318
|
//
|
|
10319
|
+
// // How often to sample the BucketList size for the average, in ledgers
|
|
10320
|
+
// uint32 bucketListWindowSamplePeriod;
|
|
10321
|
+
//
|
|
10075
10322
|
// // Maximum number of bytes that we scan for eviction per ledger
|
|
10076
|
-
//
|
|
10323
|
+
// uint32 evictionScanSize;
|
|
10077
10324
|
//
|
|
10078
10325
|
// // Lowest BucketList level to be scanned to evict entries
|
|
10079
10326
|
// uint32 startingEvictionScanLevel;
|
|
10080
10327
|
// };
|
|
10081
10328
|
//
|
|
10082
10329
|
// ===========================================================================
|
|
10083
|
-
xdr.struct("StateArchivalSettings", [["maxEntryTtl", xdr.lookup("Uint32")], ["minTemporaryTtl", xdr.lookup("Uint32")], ["minPersistentTtl", xdr.lookup("Uint32")], ["persistentRentRateDenominator", xdr.lookup("Int64")], ["tempRentRateDenominator", xdr.lookup("Int64")], ["maxEntriesToArchive", xdr.lookup("Uint32")], ["bucketListSizeWindowSampleSize", xdr.lookup("Uint32")], ["evictionScanSize", xdr.lookup("
|
|
10330
|
+
xdr.struct("StateArchivalSettings", [["maxEntryTtl", xdr.lookup("Uint32")], ["minTemporaryTtl", xdr.lookup("Uint32")], ["minPersistentTtl", xdr.lookup("Uint32")], ["persistentRentRateDenominator", xdr.lookup("Int64")], ["tempRentRateDenominator", xdr.lookup("Int64")], ["maxEntriesToArchive", xdr.lookup("Uint32")], ["bucketListSizeWindowSampleSize", xdr.lookup("Uint32")], ["bucketListWindowSamplePeriod", xdr.lookup("Uint32")], ["evictionScanSize", xdr.lookup("Uint32")], ["startingEvictionScanLevel", xdr.lookup("Uint32")]]);
|
|
10084
10331
|
|
|
10085
10332
|
// === xdr source ============================================================
|
|
10086
10333
|
//
|
|
@@ -10207,7 +10454,7 @@ var types = xdr.config(function (xdr) {
|
|
|
10207
10454
|
|
|
10208
10455
|
/* harmony default export */ const src_xdr = (curr_generated);
|
|
10209
10456
|
// EXTERNAL MODULE: ./node_modules/sha.js/index.js
|
|
10210
|
-
var sha_js = __webpack_require__(
|
|
10457
|
+
var sha_js = __webpack_require__(2802);
|
|
10211
10458
|
;// CONCATENATED MODULE: ./src/hashing.js
|
|
10212
10459
|
|
|
10213
10460
|
function hashing_hash(data) {
|
|
@@ -10216,7 +10463,7 @@ function hashing_hash(data) {
|
|
|
10216
10463
|
return hasher.digest();
|
|
10217
10464
|
}
|
|
10218
10465
|
;// CONCATENATED MODULE: ./src/signing.js
|
|
10219
|
-
/* provided dependency */ var Buffer = __webpack_require__(
|
|
10466
|
+
/* provided dependency */ var Buffer = __webpack_require__(3626)["A"];
|
|
10220
10467
|
// This module provides the signing functionality used by the stellar network
|
|
10221
10468
|
// The code below may look a little strange... this is because we try to provide
|
|
10222
10469
|
// the most efficient signing method possible. First, we try to load the
|
|
@@ -10282,7 +10529,7 @@ function checkFastSigningBrowser() {
|
|
|
10282
10529
|
// fallback to `tweetnacl` if we're in the browser or
|
|
10283
10530
|
// if there was a failure installing `sodium-native`
|
|
10284
10531
|
// eslint-disable-next-line
|
|
10285
|
-
var nacl = __webpack_require__(
|
|
10532
|
+
var nacl = __webpack_require__(8947);
|
|
10286
10533
|
actualMethods.generate = function (secretKey) {
|
|
10287
10534
|
var secretKeyUint8 = new Uint8Array(secretKey);
|
|
10288
10535
|
var naclKeys = nacl.sign.keyPair.fromSeed(secretKeyUint8);
|
|
@@ -10314,10 +10561,10 @@ var trimEnd = function trimEnd(input, _char) {
|
|
|
10314
10561
|
return isNumber ? Number(str) : str;
|
|
10315
10562
|
};
|
|
10316
10563
|
// EXTERNAL MODULE: ./node_modules/tweetnacl/nacl-fast.js
|
|
10317
|
-
var nacl_fast = __webpack_require__(
|
|
10564
|
+
var nacl_fast = __webpack_require__(8947);
|
|
10318
10565
|
var nacl_fast_default = /*#__PURE__*/__webpack_require__.n(nacl_fast);
|
|
10319
10566
|
// EXTERNAL MODULE: ./node_modules/base32.js/base32.js
|
|
10320
|
-
var base32 = __webpack_require__(
|
|
10567
|
+
var base32 = __webpack_require__(5360);
|
|
10321
10568
|
;// CONCATENATED MODULE: ./src/util/checksum.js
|
|
10322
10569
|
function verifyChecksum(expected, actual) {
|
|
10323
10570
|
if (expected.length !== actual.length) {
|
|
@@ -10334,12 +10581,12 @@ function verifyChecksum(expected, actual) {
|
|
|
10334
10581
|
return true;
|
|
10335
10582
|
}
|
|
10336
10583
|
;// CONCATENATED MODULE: ./src/strkey.js
|
|
10337
|
-
/* provided dependency */ var strkey_Buffer = __webpack_require__(
|
|
10584
|
+
/* provided dependency */ var strkey_Buffer = __webpack_require__(3626)["A"];
|
|
10338
10585
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10339
10586
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10340
10587
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
10341
10588
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
10342
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
10589
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
10343
10590
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10344
10591
|
/* eslint no-bitwise: ["error", {"allow": ["<<", ">>", "^", "&", "&="]}] */
|
|
10345
10592
|
|
|
@@ -10379,7 +10626,7 @@ var StrKey = /*#__PURE__*/function () {
|
|
|
10379
10626
|
function StrKey() {
|
|
10380
10627
|
_classCallCheck(this, StrKey);
|
|
10381
10628
|
}
|
|
10382
|
-
_createClass(StrKey, null, [{
|
|
10629
|
+
return _createClass(StrKey, null, [{
|
|
10383
10630
|
key: "encodeEd25519PublicKey",
|
|
10384
10631
|
value:
|
|
10385
10632
|
/**
|
|
@@ -10599,7 +10846,6 @@ var StrKey = /*#__PURE__*/function () {
|
|
|
10599
10846
|
return strkeyTypes[address[0]];
|
|
10600
10847
|
}
|
|
10601
10848
|
}]);
|
|
10602
|
-
return StrKey;
|
|
10603
10849
|
}();
|
|
10604
10850
|
|
|
10605
10851
|
/**
|
|
@@ -10730,12 +10976,12 @@ function calculateChecksum(payload) {
|
|
|
10730
10976
|
return checksum;
|
|
10731
10977
|
}
|
|
10732
10978
|
;// CONCATENATED MODULE: ./src/keypair.js
|
|
10733
|
-
/* provided dependency */ var keypair_Buffer = __webpack_require__(
|
|
10979
|
+
/* provided dependency */ var keypair_Buffer = __webpack_require__(3626)["A"];
|
|
10734
10980
|
function keypair_typeof(o) { "@babel/helpers - typeof"; return keypair_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, keypair_typeof(o); }
|
|
10735
10981
|
function keypair_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10736
10982
|
function keypair_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, keypair_toPropertyKey(descriptor.key), descriptor); } }
|
|
10737
10983
|
function keypair_createClass(Constructor, protoProps, staticProps) { if (protoProps) keypair_defineProperties(Constructor.prototype, protoProps); if (staticProps) keypair_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
10738
|
-
function keypair_toPropertyKey(t) { var i = keypair_toPrimitive(t, "string"); return "symbol" == keypair_typeof(i) ? i :
|
|
10984
|
+
function keypair_toPropertyKey(t) { var i = keypair_toPrimitive(t, "string"); return "symbol" == keypair_typeof(i) ? i : i + ""; }
|
|
10739
10985
|
function keypair_toPrimitive(t, r) { if ("object" != keypair_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != keypair_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10740
10986
|
/* eslint no-bitwise: ["error", {"allow": ["^"]}] */
|
|
10741
10987
|
|
|
@@ -10794,7 +11040,7 @@ var Keypair = /*#__PURE__*/function () {
|
|
|
10794
11040
|
* @param {string} secret secret key (ex. `SDAKFNYEIAORZKKCYRILFQKLLOCNPL5SWJ3YY5NM3ZH6GJSZGXHZEPQS`)
|
|
10795
11041
|
* @returns {Keypair}
|
|
10796
11042
|
*/
|
|
10797
|
-
keypair_createClass(Keypair, [{
|
|
11043
|
+
return keypair_createClass(Keypair, [{
|
|
10798
11044
|
key: "xdrAccountId",
|
|
10799
11045
|
value: function xdrAccountId() {
|
|
10800
11046
|
return new src_xdr.AccountId.publicKeyTypeEd25519(this._publicKey);
|
|
@@ -11033,15 +11279,14 @@ var Keypair = /*#__PURE__*/function () {
|
|
|
11033
11279
|
return this.fromRawEd25519Seed(secret);
|
|
11034
11280
|
}
|
|
11035
11281
|
}]);
|
|
11036
|
-
return Keypair;
|
|
11037
11282
|
}();
|
|
11038
11283
|
;// CONCATENATED MODULE: ./src/asset.js
|
|
11039
|
-
/* provided dependency */ var asset_Buffer = __webpack_require__(
|
|
11284
|
+
/* provided dependency */ var asset_Buffer = __webpack_require__(3626)["A"];
|
|
11040
11285
|
function asset_typeof(o) { "@babel/helpers - typeof"; return asset_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, asset_typeof(o); }
|
|
11041
11286
|
function asset_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11042
11287
|
function asset_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, asset_toPropertyKey(descriptor.key), descriptor); } }
|
|
11043
11288
|
function asset_createClass(Constructor, protoProps, staticProps) { if (protoProps) asset_defineProperties(Constructor.prototype, protoProps); if (staticProps) asset_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11044
|
-
function asset_toPropertyKey(t) { var i = asset_toPrimitive(t, "string"); return "symbol" == asset_typeof(i) ? i :
|
|
11289
|
+
function asset_toPropertyKey(t) { var i = asset_toPrimitive(t, "string"); return "symbol" == asset_typeof(i) ? i : i + ""; }
|
|
11045
11290
|
function asset_toPrimitive(t, r) { if ("object" != asset_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != asset_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11046
11291
|
|
|
11047
11292
|
|
|
@@ -11085,7 +11330,7 @@ var Asset = /*#__PURE__*/function () {
|
|
|
11085
11330
|
* Returns an asset object for the native asset.
|
|
11086
11331
|
* @Return {Asset}
|
|
11087
11332
|
*/
|
|
11088
|
-
asset_createClass(Asset, [{
|
|
11333
|
+
return asset_createClass(Asset, [{
|
|
11089
11334
|
key: "toXDRObject",
|
|
11090
11335
|
value:
|
|
11091
11336
|
/**
|
|
@@ -11339,7 +11584,6 @@ var Asset = /*#__PURE__*/function () {
|
|
|
11339
11584
|
return asciiCompare(assetA.getIssuer(), assetB.getIssuer());
|
|
11340
11585
|
}
|
|
11341
11586
|
}]);
|
|
11342
|
-
return Asset;
|
|
11343
11587
|
}();
|
|
11344
11588
|
|
|
11345
11589
|
/**
|
|
@@ -11356,7 +11600,7 @@ function asciiCompare(a, b) {
|
|
|
11356
11600
|
return asset_Buffer.compare(asset_Buffer.from(a, 'ascii'), asset_Buffer.from(b, 'ascii'));
|
|
11357
11601
|
}
|
|
11358
11602
|
;// CONCATENATED MODULE: ./src/get_liquidity_pool_id.js
|
|
11359
|
-
/* provided dependency */ var get_liquidity_pool_id_Buffer = __webpack_require__(
|
|
11603
|
+
/* provided dependency */ var get_liquidity_pool_id_Buffer = __webpack_require__(3626)["A"];
|
|
11360
11604
|
|
|
11361
11605
|
|
|
11362
11606
|
|
|
@@ -11408,12 +11652,12 @@ function getLiquidityPoolId(liquidityPoolType) {
|
|
|
11408
11652
|
return hashing_hash(payload);
|
|
11409
11653
|
}
|
|
11410
11654
|
;// CONCATENATED MODULE: ./src/transaction_base.js
|
|
11411
|
-
/* provided dependency */ var transaction_base_Buffer = __webpack_require__(
|
|
11655
|
+
/* provided dependency */ var transaction_base_Buffer = __webpack_require__(3626)["A"];
|
|
11412
11656
|
function transaction_base_typeof(o) { "@babel/helpers - typeof"; return transaction_base_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, transaction_base_typeof(o); }
|
|
11413
11657
|
function transaction_base_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11414
11658
|
function transaction_base_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, transaction_base_toPropertyKey(descriptor.key), descriptor); } }
|
|
11415
11659
|
function transaction_base_createClass(Constructor, protoProps, staticProps) { if (protoProps) transaction_base_defineProperties(Constructor.prototype, protoProps); if (staticProps) transaction_base_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11416
|
-
function transaction_base_toPropertyKey(t) { var i = transaction_base_toPrimitive(t, "string"); return "symbol" == transaction_base_typeof(i) ? i :
|
|
11660
|
+
function transaction_base_toPropertyKey(t) { var i = transaction_base_toPrimitive(t, "string"); return "symbol" == transaction_base_typeof(i) ? i : i + ""; }
|
|
11417
11661
|
function transaction_base_toPrimitive(t, r) { if ("object" != transaction_base_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != transaction_base_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11418
11662
|
|
|
11419
11663
|
|
|
@@ -11438,7 +11682,7 @@ var TransactionBase = /*#__PURE__*/function () {
|
|
|
11438
11682
|
* @type {Array.<xdr.DecoratedSignature>}
|
|
11439
11683
|
* @readonly
|
|
11440
11684
|
*/
|
|
11441
|
-
transaction_base_createClass(TransactionBase, [{
|
|
11685
|
+
return transaction_base_createClass(TransactionBase, [{
|
|
11442
11686
|
key: "signatures",
|
|
11443
11687
|
get: function get() {
|
|
11444
11688
|
return this._signatures;
|
|
@@ -11649,7 +11893,6 @@ var TransactionBase = /*#__PURE__*/function () {
|
|
|
11649
11893
|
return this.toEnvelope().toXDR().toString('base64');
|
|
11650
11894
|
}
|
|
11651
11895
|
}]);
|
|
11652
|
-
return TransactionBase;
|
|
11653
11896
|
}();
|
|
11654
11897
|
;// CONCATENATED MODULE: ./node_modules/bignumber.js/bignumber.mjs
|
|
11655
11898
|
/*
|
|
@@ -14627,7 +14870,7 @@ function _defineProperty(obj, key, value) { key = liquidity_pool_asset_toPropert
|
|
|
14627
14870
|
function liquidity_pool_asset_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14628
14871
|
function liquidity_pool_asset_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, liquidity_pool_asset_toPropertyKey(descriptor.key), descriptor); } }
|
|
14629
14872
|
function liquidity_pool_asset_createClass(Constructor, protoProps, staticProps) { if (protoProps) liquidity_pool_asset_defineProperties(Constructor.prototype, protoProps); if (staticProps) liquidity_pool_asset_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14630
|
-
function liquidity_pool_asset_toPropertyKey(t) { var i = liquidity_pool_asset_toPrimitive(t, "string"); return "symbol" == liquidity_pool_asset_typeof(i) ? i :
|
|
14873
|
+
function liquidity_pool_asset_toPropertyKey(t) { var i = liquidity_pool_asset_toPrimitive(t, "string"); return "symbol" == liquidity_pool_asset_typeof(i) ? i : i + ""; }
|
|
14631
14874
|
function liquidity_pool_asset_toPrimitive(t, r) { if ("object" != liquidity_pool_asset_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != liquidity_pool_asset_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14632
14875
|
|
|
14633
14876
|
|
|
@@ -14667,7 +14910,7 @@ var LiquidityPoolAsset = /*#__PURE__*/function () {
|
|
|
14667
14910
|
* @param {xdr.ChangeTrustAsset} ctAssetXdr - The asset XDR object.
|
|
14668
14911
|
* @returns {LiquidityPoolAsset}
|
|
14669
14912
|
*/
|
|
14670
|
-
liquidity_pool_asset_createClass(LiquidityPoolAsset, [{
|
|
14913
|
+
return liquidity_pool_asset_createClass(LiquidityPoolAsset, [{
|
|
14671
14914
|
key: "toXDRObject",
|
|
14672
14915
|
value:
|
|
14673
14916
|
/**
|
|
@@ -14738,14 +14981,13 @@ var LiquidityPoolAsset = /*#__PURE__*/function () {
|
|
|
14738
14981
|
throw new Error("Invalid asset type: ".concat(assetType.name));
|
|
14739
14982
|
}
|
|
14740
14983
|
}]);
|
|
14741
|
-
return LiquidityPoolAsset;
|
|
14742
14984
|
}();
|
|
14743
14985
|
;// CONCATENATED MODULE: ./src/claimant.js
|
|
14744
14986
|
function claimant_typeof(o) { "@babel/helpers - typeof"; return claimant_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, claimant_typeof(o); }
|
|
14745
14987
|
function claimant_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14746
14988
|
function claimant_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, claimant_toPropertyKey(descriptor.key), descriptor); } }
|
|
14747
14989
|
function claimant_createClass(Constructor, protoProps, staticProps) { if (protoProps) claimant_defineProperties(Constructor.prototype, protoProps); if (staticProps) claimant_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14748
|
-
function claimant_toPropertyKey(t) { var i = claimant_toPrimitive(t, "string"); return "symbol" == claimant_typeof(i) ? i :
|
|
14990
|
+
function claimant_toPropertyKey(t) { var i = claimant_toPrimitive(t, "string"); return "symbol" == claimant_typeof(i) ? i : i + ""; }
|
|
14749
14991
|
function claimant_toPrimitive(t, r) { if ("object" != claimant_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != claimant_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14750
14992
|
|
|
14751
14993
|
|
|
@@ -14780,7 +15022,7 @@ var Claimant = /*#__PURE__*/function () {
|
|
|
14780
15022
|
* Returns an unconditional claim predicate
|
|
14781
15023
|
* @Return {xdr.ClaimPredicate}
|
|
14782
15024
|
*/
|
|
14783
|
-
claimant_createClass(Claimant, [{
|
|
15025
|
+
return claimant_createClass(Claimant, [{
|
|
14784
15026
|
key: "toXDRObject",
|
|
14785
15027
|
value:
|
|
14786
15028
|
/**
|
|
@@ -14926,14 +15168,13 @@ var Claimant = /*#__PURE__*/function () {
|
|
|
14926
15168
|
}
|
|
14927
15169
|
}
|
|
14928
15170
|
}]);
|
|
14929
|
-
return Claimant;
|
|
14930
15171
|
}();
|
|
14931
15172
|
;// CONCATENATED MODULE: ./src/liquidity_pool_id.js
|
|
14932
15173
|
function liquidity_pool_id_typeof(o) { "@babel/helpers - typeof"; return liquidity_pool_id_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, liquidity_pool_id_typeof(o); }
|
|
14933
15174
|
function liquidity_pool_id_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14934
15175
|
function liquidity_pool_id_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, liquidity_pool_id_toPropertyKey(descriptor.key), descriptor); } }
|
|
14935
15176
|
function liquidity_pool_id_createClass(Constructor, protoProps, staticProps) { if (protoProps) liquidity_pool_id_defineProperties(Constructor.prototype, protoProps); if (staticProps) liquidity_pool_id_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14936
|
-
function liquidity_pool_id_toPropertyKey(t) { var i = liquidity_pool_id_toPrimitive(t, "string"); return "symbol" == liquidity_pool_id_typeof(i) ? i :
|
|
15177
|
+
function liquidity_pool_id_toPropertyKey(t) { var i = liquidity_pool_id_toPrimitive(t, "string"); return "symbol" == liquidity_pool_id_typeof(i) ? i : i + ""; }
|
|
14937
15178
|
function liquidity_pool_id_toPrimitive(t, r) { if ("object" != liquidity_pool_id_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != liquidity_pool_id_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14938
15179
|
|
|
14939
15180
|
|
|
@@ -14961,7 +15202,7 @@ var LiquidityPoolId = /*#__PURE__*/function () {
|
|
|
14961
15202
|
* @param {xdr.TrustLineAsset} tlAssetXdr - The asset XDR object.
|
|
14962
15203
|
* @returns {LiquidityPoolId}
|
|
14963
15204
|
*/
|
|
14964
|
-
liquidity_pool_id_createClass(LiquidityPoolId, [{
|
|
15205
|
+
return liquidity_pool_id_createClass(LiquidityPoolId, [{
|
|
14965
15206
|
key: "toXDRObject",
|
|
14966
15207
|
value:
|
|
14967
15208
|
/**
|
|
@@ -15022,7 +15263,6 @@ var LiquidityPoolId = /*#__PURE__*/function () {
|
|
|
15022
15263
|
throw new Error("Invalid asset type: ".concat(assetType.name));
|
|
15023
15264
|
}
|
|
15024
15265
|
}]);
|
|
15025
|
-
return LiquidityPoolId;
|
|
15026
15266
|
}();
|
|
15027
15267
|
;// CONCATENATED MODULE: ./src/operations/manage_sell_offer.js
|
|
15028
15268
|
|
|
@@ -15108,7 +15348,7 @@ function createPassiveSellOffer(opts) {
|
|
|
15108
15348
|
return new src_xdr.Operation(opAttributes);
|
|
15109
15349
|
}
|
|
15110
15350
|
;// CONCATENATED MODULE: ./src/util/decode_encode_muxed_account.js
|
|
15111
|
-
/* provided dependency */ var decode_encode_muxed_account_Buffer = __webpack_require__(
|
|
15351
|
+
/* provided dependency */ var decode_encode_muxed_account_Buffer = __webpack_require__(3626)["A"];
|
|
15112
15352
|
|
|
15113
15353
|
|
|
15114
15354
|
|
|
@@ -15552,7 +15792,7 @@ function inflation() {
|
|
|
15552
15792
|
return new src_xdr.Operation(opAttributes);
|
|
15553
15793
|
}
|
|
15554
15794
|
;// CONCATENATED MODULE: ./src/operations/manage_data.js
|
|
15555
|
-
/* provided dependency */ var manage_data_Buffer = __webpack_require__(
|
|
15795
|
+
/* provided dependency */ var manage_data_Buffer = __webpack_require__(3626)["A"];
|
|
15556
15796
|
|
|
15557
15797
|
|
|
15558
15798
|
/**
|
|
@@ -15801,7 +16041,7 @@ function payment(opts) {
|
|
|
15801
16041
|
return new src_xdr.Operation(opAttributes);
|
|
15802
16042
|
}
|
|
15803
16043
|
;// CONCATENATED MODULE: ./src/operations/set_options.js
|
|
15804
|
-
/* provided dependency */ var set_options_Buffer = __webpack_require__(
|
|
16044
|
+
/* provided dependency */ var set_options_Buffer = __webpack_require__(3626)["A"];
|
|
15805
16045
|
/* eslint-disable no-param-reassign */
|
|
15806
16046
|
|
|
15807
16047
|
|
|
@@ -15986,7 +16226,7 @@ function endSponsoringFutureReserves() {
|
|
|
15986
16226
|
return new src_xdr.Operation(opAttributes);
|
|
15987
16227
|
}
|
|
15988
16228
|
;// CONCATENATED MODULE: ./src/operations/revoke_sponsorship.js
|
|
15989
|
-
/* provided dependency */ var revoke_sponsorship_Buffer = __webpack_require__(
|
|
16229
|
+
/* provided dependency */ var revoke_sponsorship_Buffer = __webpack_require__(3626)["A"];
|
|
15990
16230
|
|
|
15991
16231
|
|
|
15992
16232
|
|
|
@@ -16505,7 +16745,7 @@ function address_typeof(o) { "@babel/helpers - typeof"; return address_typeof =
|
|
|
16505
16745
|
function address_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16506
16746
|
function address_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, address_toPropertyKey(descriptor.key), descriptor); } }
|
|
16507
16747
|
function address_createClass(Constructor, protoProps, staticProps) { if (protoProps) address_defineProperties(Constructor.prototype, protoProps); if (staticProps) address_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16508
|
-
function address_toPropertyKey(t) { var i = address_toPrimitive(t, "string"); return "symbol" == address_typeof(i) ? i :
|
|
16748
|
+
function address_toPropertyKey(t) { var i = address_toPrimitive(t, "string"); return "symbol" == address_typeof(i) ? i : i + ""; }
|
|
16509
16749
|
function address_toPrimitive(t, r) { if ("object" != address_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != address_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16510
16750
|
|
|
16511
16751
|
|
|
@@ -16543,7 +16783,7 @@ var Address = /*#__PURE__*/function () {
|
|
|
16543
16783
|
* @param {string} address - The address to parse. ex. `GB3KJPLFUYN5VL6R3GU3EGCGVCKFDSD7BEDX42HWG5BWFKB3KQGJJRMA`
|
|
16544
16784
|
* @returns {Address}
|
|
16545
16785
|
*/
|
|
16546
|
-
address_createClass(Address, [{
|
|
16786
|
+
return address_createClass(Address, [{
|
|
16547
16787
|
key: "toString",
|
|
16548
16788
|
value:
|
|
16549
16789
|
/**
|
|
@@ -16662,10 +16902,9 @@ var Address = /*#__PURE__*/function () {
|
|
|
16662
16902
|
}
|
|
16663
16903
|
}
|
|
16664
16904
|
}]);
|
|
16665
|
-
return Address;
|
|
16666
16905
|
}();
|
|
16667
16906
|
;// CONCATENATED MODULE: ./src/operations/invoke_host_function.js
|
|
16668
|
-
/* provided dependency */ var invoke_host_function_Buffer = __webpack_require__(
|
|
16907
|
+
/* provided dependency */ var invoke_host_function_Buffer = __webpack_require__(3626)["A"];
|
|
16669
16908
|
function invoke_host_function_slicedToArray(arr, i) { return invoke_host_function_arrayWithHoles(arr) || invoke_host_function_iterableToArrayLimit(arr, i) || invoke_host_function_unsupportedIterableToArray(arr, i) || invoke_host_function_nonIterableRest(); }
|
|
16670
16909
|
function invoke_host_function_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
16671
16910
|
function invoke_host_function_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return invoke_host_function_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return invoke_host_function_arrayLikeToArray(o, minLen); }
|
|
@@ -16980,7 +17219,7 @@ function operation_typeof(o) { "@babel/helpers - typeof"; return operation_typeo
|
|
|
16980
17219
|
function operation_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16981
17220
|
function operation_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, operation_toPropertyKey(descriptor.key), descriptor); } }
|
|
16982
17221
|
function operation_createClass(Constructor, protoProps, staticProps) { if (protoProps) operation_defineProperties(Constructor.prototype, protoProps); if (staticProps) operation_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16983
|
-
function operation_toPropertyKey(t) { var i = operation_toPrimitive(t, "string"); return "symbol" == operation_typeof(i) ? i :
|
|
17222
|
+
function operation_toPropertyKey(t) { var i = operation_toPrimitive(t, "string"); return "symbol" == operation_typeof(i) ? i : i + ""; }
|
|
16984
17223
|
function operation_toPrimitive(t, r) { if ("object" != operation_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != operation_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16985
17224
|
/* eslint-disable no-bitwise */
|
|
16986
17225
|
|
|
@@ -17081,7 +17320,7 @@ var Operation = /*#__PURE__*/function () {
|
|
|
17081
17320
|
function Operation() {
|
|
17082
17321
|
operation_classCallCheck(this, Operation);
|
|
17083
17322
|
}
|
|
17084
|
-
operation_createClass(Operation, null, [{
|
|
17323
|
+
return operation_createClass(Operation, null, [{
|
|
17085
17324
|
key: "setSourceAccount",
|
|
17086
17325
|
value: function setSourceAccount(opAttributes, opts) {
|
|
17087
17326
|
if (opts.source) {
|
|
@@ -17539,7 +17778,6 @@ var Operation = /*#__PURE__*/function () {
|
|
|
17539
17778
|
return xdrObject;
|
|
17540
17779
|
}
|
|
17541
17780
|
}]);
|
|
17542
|
-
return Operation;
|
|
17543
17781
|
}();
|
|
17544
17782
|
function extractRevokeSponshipDetails(attrs, result) {
|
|
17545
17783
|
switch (attrs["switch"]().name) {
|
|
@@ -17685,12 +17923,12 @@ Operation.invokeContractFunction = invokeContractFunction;
|
|
|
17685
17923
|
Operation.createCustomContract = createCustomContract;
|
|
17686
17924
|
Operation.uploadContractWasm = uploadContractWasm;
|
|
17687
17925
|
;// CONCATENATED MODULE: ./src/memo.js
|
|
17688
|
-
/* provided dependency */ var memo_Buffer = __webpack_require__(
|
|
17926
|
+
/* provided dependency */ var memo_Buffer = __webpack_require__(3626)["A"];
|
|
17689
17927
|
function memo_typeof(o) { "@babel/helpers - typeof"; return memo_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, memo_typeof(o); }
|
|
17690
17928
|
function memo_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17691
17929
|
function memo_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, memo_toPropertyKey(descriptor.key), descriptor); } }
|
|
17692
17930
|
function memo_createClass(Constructor, protoProps, staticProps) { if (protoProps) memo_defineProperties(Constructor.prototype, protoProps); if (staticProps) memo_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17693
|
-
function memo_toPropertyKey(t) { var i = memo_toPrimitive(t, "string"); return "symbol" == memo_typeof(i) ? i :
|
|
17931
|
+
function memo_toPropertyKey(t) { var i = memo_toPrimitive(t, "string"); return "symbol" == memo_typeof(i) ? i : i + ""; }
|
|
17694
17932
|
function memo_toPrimitive(t, r) { if ("object" != memo_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != memo_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17695
17933
|
|
|
17696
17934
|
|
|
@@ -17756,7 +17994,7 @@ var Memo = /*#__PURE__*/function () {
|
|
|
17756
17994
|
/**
|
|
17757
17995
|
* Contains memo type: `MemoNone`, `MemoID`, `MemoText`, `MemoHash` or `MemoReturn`
|
|
17758
17996
|
*/
|
|
17759
|
-
memo_createClass(Memo, [{
|
|
17997
|
+
return memo_createClass(Memo, [{
|
|
17760
17998
|
key: "type",
|
|
17761
17999
|
get: function get() {
|
|
17762
18000
|
return this._type;
|
|
@@ -17948,15 +18186,14 @@ var Memo = /*#__PURE__*/function () {
|
|
|
17948
18186
|
throw new Error('Unknown type');
|
|
17949
18187
|
}
|
|
17950
18188
|
}]);
|
|
17951
|
-
return Memo;
|
|
17952
18189
|
}();
|
|
17953
18190
|
;// CONCATENATED MODULE: ./src/transaction.js
|
|
17954
|
-
/* provided dependency */ var transaction_Buffer = __webpack_require__(
|
|
18191
|
+
/* provided dependency */ var transaction_Buffer = __webpack_require__(3626)["A"];
|
|
17955
18192
|
function transaction_typeof(o) { "@babel/helpers - typeof"; return transaction_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, transaction_typeof(o); }
|
|
17956
18193
|
function transaction_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17957
18194
|
function transaction_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, transaction_toPropertyKey(descriptor.key), descriptor); } }
|
|
17958
18195
|
function transaction_createClass(Constructor, protoProps, staticProps) { if (protoProps) transaction_defineProperties(Constructor.prototype, protoProps); if (staticProps) transaction_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17959
|
-
function transaction_toPropertyKey(t) { var i = transaction_toPrimitive(t, "string"); return "symbol" == transaction_typeof(i) ? i :
|
|
18196
|
+
function transaction_toPropertyKey(t) { var i = transaction_toPrimitive(t, "string"); return "symbol" == transaction_typeof(i) ? i : i + ""; }
|
|
17960
18197
|
function transaction_toPrimitive(t, r) { if ("object" != transaction_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != transaction_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17961
18198
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
17962
18199
|
function _possibleConstructorReturn(self, call) { if (call && (transaction_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
@@ -17993,7 +18230,6 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Objec
|
|
|
17993
18230
|
* @extends TransactionBase
|
|
17994
18231
|
*/
|
|
17995
18232
|
var Transaction = /*#__PURE__*/function (_TransactionBase) {
|
|
17996
|
-
_inherits(Transaction, _TransactionBase);
|
|
17997
18233
|
function Transaction(envelope, networkPassphrase) {
|
|
17998
18234
|
var _this;
|
|
17999
18235
|
transaction_classCallCheck(this, Transaction);
|
|
@@ -18078,7 +18314,8 @@ var Transaction = /*#__PURE__*/function (_TransactionBase) {
|
|
|
18078
18314
|
* @property {string} 64 bit unix timestamp
|
|
18079
18315
|
* @readonly
|
|
18080
18316
|
*/
|
|
18081
|
-
|
|
18317
|
+
_inherits(Transaction, _TransactionBase);
|
|
18318
|
+
return transaction_createClass(Transaction, [{
|
|
18082
18319
|
key: "timeBounds",
|
|
18083
18320
|
get: function get() {
|
|
18084
18321
|
return this._timeBounds;
|
|
@@ -18312,15 +18549,14 @@ var Transaction = /*#__PURE__*/function (_TransactionBase) {
|
|
|
18312
18549
|
return balanceId.toXDR('hex');
|
|
18313
18550
|
}
|
|
18314
18551
|
}]);
|
|
18315
|
-
return Transaction;
|
|
18316
18552
|
}(TransactionBase);
|
|
18317
18553
|
;// CONCATENATED MODULE: ./src/fee_bump_transaction.js
|
|
18318
|
-
/* provided dependency */ var fee_bump_transaction_Buffer = __webpack_require__(
|
|
18554
|
+
/* provided dependency */ var fee_bump_transaction_Buffer = __webpack_require__(3626)["A"];
|
|
18319
18555
|
function fee_bump_transaction_typeof(o) { "@babel/helpers - typeof"; return fee_bump_transaction_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, fee_bump_transaction_typeof(o); }
|
|
18320
18556
|
function fee_bump_transaction_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18321
18557
|
function fee_bump_transaction_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, fee_bump_transaction_toPropertyKey(descriptor.key), descriptor); } }
|
|
18322
18558
|
function fee_bump_transaction_createClass(Constructor, protoProps, staticProps) { if (protoProps) fee_bump_transaction_defineProperties(Constructor.prototype, protoProps); if (staticProps) fee_bump_transaction_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18323
|
-
function fee_bump_transaction_toPropertyKey(t) { var i = fee_bump_transaction_toPrimitive(t, "string"); return "symbol" == fee_bump_transaction_typeof(i) ? i :
|
|
18559
|
+
function fee_bump_transaction_toPropertyKey(t) { var i = fee_bump_transaction_toPrimitive(t, "string"); return "symbol" == fee_bump_transaction_typeof(i) ? i : i + ""; }
|
|
18324
18560
|
function fee_bump_transaction_toPrimitive(t, r) { if ("object" != fee_bump_transaction_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != fee_bump_transaction_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18325
18561
|
function fee_bump_transaction_callSuper(t, o, e) { return o = fee_bump_transaction_getPrototypeOf(o), fee_bump_transaction_possibleConstructorReturn(t, fee_bump_transaction_isNativeReflectConstruct() ? Reflect.construct(o, e || [], fee_bump_transaction_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
18326
18562
|
function fee_bump_transaction_possibleConstructorReturn(self, call) { if (call && (fee_bump_transaction_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return fee_bump_transaction_assertThisInitialized(self); }
|
|
@@ -18352,7 +18588,6 @@ function fee_bump_transaction_setPrototypeOf(o, p) { fee_bump_transaction_setPro
|
|
|
18352
18588
|
* @extends TransactionBase
|
|
18353
18589
|
*/
|
|
18354
18590
|
var FeeBumpTransaction = /*#__PURE__*/function (_TransactionBase) {
|
|
18355
|
-
fee_bump_transaction_inherits(FeeBumpTransaction, _TransactionBase);
|
|
18356
18591
|
function FeeBumpTransaction(envelope, networkPassphrase) {
|
|
18357
18592
|
var _this;
|
|
18358
18593
|
fee_bump_transaction_classCallCheck(this, FeeBumpTransaction);
|
|
@@ -18380,7 +18615,8 @@ var FeeBumpTransaction = /*#__PURE__*/function (_TransactionBase) {
|
|
|
18380
18615
|
* @type {Transaction}
|
|
18381
18616
|
* @readonly
|
|
18382
18617
|
*/
|
|
18383
|
-
|
|
18618
|
+
fee_bump_transaction_inherits(FeeBumpTransaction, _TransactionBase);
|
|
18619
|
+
return fee_bump_transaction_createClass(FeeBumpTransaction, [{
|
|
18384
18620
|
key: "innerTransaction",
|
|
18385
18621
|
get: function get() {
|
|
18386
18622
|
return this._innerTransaction;
|
|
@@ -18441,14 +18677,13 @@ var FeeBumpTransaction = /*#__PURE__*/function (_TransactionBase) {
|
|
|
18441
18677
|
return new src_xdr.TransactionEnvelope.envelopeTypeTxFeeBump(envelope);
|
|
18442
18678
|
}
|
|
18443
18679
|
}]);
|
|
18444
|
-
return FeeBumpTransaction;
|
|
18445
18680
|
}(TransactionBase);
|
|
18446
18681
|
;// CONCATENATED MODULE: ./src/account.js
|
|
18447
18682
|
function account_typeof(o) { "@babel/helpers - typeof"; return account_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, account_typeof(o); }
|
|
18448
18683
|
function account_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18449
18684
|
function account_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, account_toPropertyKey(descriptor.key), descriptor); } }
|
|
18450
18685
|
function account_createClass(Constructor, protoProps, staticProps) { if (protoProps) account_defineProperties(Constructor.prototype, protoProps); if (staticProps) account_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18451
|
-
function account_toPropertyKey(t) { var i = account_toPrimitive(t, "string"); return "symbol" == account_typeof(i) ? i :
|
|
18686
|
+
function account_toPropertyKey(t) { var i = account_toPrimitive(t, "string"); return "symbol" == account_typeof(i) ? i : i + ""; }
|
|
18452
18687
|
function account_toPrimitive(t, r) { if ("object" != account_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != account_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18453
18688
|
|
|
18454
18689
|
|
|
@@ -18491,7 +18726,7 @@ var Account = /*#__PURE__*/function () {
|
|
|
18491
18726
|
* `GB3KJPLFUYN5VL6R3GU3EGCGVCKFDSD7BEDX42HWG5BWFKB3KQGJJRMA`.
|
|
18492
18727
|
* @returns {string}
|
|
18493
18728
|
*/
|
|
18494
|
-
account_createClass(Account, [{
|
|
18729
|
+
return account_createClass(Account, [{
|
|
18495
18730
|
key: "accountId",
|
|
18496
18731
|
value: function accountId() {
|
|
18497
18732
|
return this._accountId;
|
|
@@ -18516,14 +18751,13 @@ var Account = /*#__PURE__*/function () {
|
|
|
18516
18751
|
this.sequence = this.sequence.plus(1);
|
|
18517
18752
|
}
|
|
18518
18753
|
}]);
|
|
18519
|
-
return Account;
|
|
18520
18754
|
}();
|
|
18521
18755
|
;// CONCATENATED MODULE: ./src/muxed_account.js
|
|
18522
18756
|
function muxed_account_typeof(o) { "@babel/helpers - typeof"; return muxed_account_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, muxed_account_typeof(o); }
|
|
18523
18757
|
function muxed_account_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18524
18758
|
function muxed_account_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, muxed_account_toPropertyKey(descriptor.key), descriptor); } }
|
|
18525
18759
|
function muxed_account_createClass(Constructor, protoProps, staticProps) { if (protoProps) muxed_account_defineProperties(Constructor.prototype, protoProps); if (staticProps) muxed_account_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18526
|
-
function muxed_account_toPropertyKey(t) { var i = muxed_account_toPrimitive(t, "string"); return "symbol" == muxed_account_typeof(i) ? i :
|
|
18760
|
+
function muxed_account_toPropertyKey(t) { var i = muxed_account_toPrimitive(t, "string"); return "symbol" == muxed_account_typeof(i) ? i : i + ""; }
|
|
18527
18761
|
function muxed_account_toPrimitive(t, r) { if ("object" != muxed_account_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != muxed_account_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18528
18762
|
|
|
18529
18763
|
|
|
@@ -18591,7 +18825,7 @@ var MuxedAccount = /*#__PURE__*/function () {
|
|
|
18591
18825
|
*
|
|
18592
18826
|
* @return {MuxedAccount}
|
|
18593
18827
|
*/
|
|
18594
|
-
muxed_account_createClass(MuxedAccount, [{
|
|
18828
|
+
return muxed_account_createClass(MuxedAccount, [{
|
|
18595
18829
|
key: "baseAccount",
|
|
18596
18830
|
value:
|
|
18597
18831
|
/**
|
|
@@ -18670,7 +18904,6 @@ var MuxedAccount = /*#__PURE__*/function () {
|
|
|
18670
18904
|
return new MuxedAccount(new Account(gAddress, sequenceNum), id);
|
|
18671
18905
|
}
|
|
18672
18906
|
}]);
|
|
18673
|
-
return MuxedAccount;
|
|
18674
18907
|
}();
|
|
18675
18908
|
;// CONCATENATED MODULE: ./src/sorobandata_builder.js
|
|
18676
18909
|
function sorobandata_builder_typeof(o) { "@babel/helpers - typeof"; return sorobandata_builder_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, sorobandata_builder_typeof(o); }
|
|
@@ -18678,7 +18911,7 @@ function sorobandata_builder_classCallCheck(instance, Constructor) { if (!(insta
|
|
|
18678
18911
|
function sorobandata_builder_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, sorobandata_builder_toPropertyKey(descriptor.key), descriptor); } }
|
|
18679
18912
|
function sorobandata_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) sorobandata_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) sorobandata_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18680
18913
|
function sorobandata_builder_defineProperty(obj, key, value) { key = sorobandata_builder_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
18681
|
-
function sorobandata_builder_toPropertyKey(t) { var i = sorobandata_builder_toPrimitive(t, "string"); return "symbol" == sorobandata_builder_typeof(i) ? i :
|
|
18914
|
+
function sorobandata_builder_toPropertyKey(t) { var i = sorobandata_builder_toPrimitive(t, "string"); return "symbol" == sorobandata_builder_typeof(i) ? i : i + ""; }
|
|
18682
18915
|
function sorobandata_builder_toPrimitive(t, r) { if ("object" != sorobandata_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != sorobandata_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18683
18916
|
|
|
18684
18917
|
|
|
@@ -18744,7 +18977,7 @@ var SorobanDataBuilder = /*#__PURE__*/function () {
|
|
|
18744
18977
|
* @param {Uint8Array|Buffer|string} data raw input to decode
|
|
18745
18978
|
* @returns {xdr.SorobanTransactionData}
|
|
18746
18979
|
*/
|
|
18747
|
-
sorobandata_builder_createClass(SorobanDataBuilder, [{
|
|
18980
|
+
return sorobandata_builder_createClass(SorobanDataBuilder, [{
|
|
18748
18981
|
key: "setResourceFee",
|
|
18749
18982
|
value:
|
|
18750
18983
|
/**
|
|
@@ -18883,14 +19116,13 @@ var SorobanDataBuilder = /*#__PURE__*/function () {
|
|
|
18883
19116
|
return src_xdr.SorobanTransactionData.fromXDR(data, typeof data === 'string' ? 'base64' : 'raw');
|
|
18884
19117
|
}
|
|
18885
19118
|
}]);
|
|
18886
|
-
return SorobanDataBuilder;
|
|
18887
19119
|
}();
|
|
18888
19120
|
;// CONCATENATED MODULE: ./src/signerkey.js
|
|
18889
19121
|
function signerkey_typeof(o) { "@babel/helpers - typeof"; return signerkey_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, signerkey_typeof(o); }
|
|
18890
19122
|
function signerkey_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18891
19123
|
function signerkey_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, signerkey_toPropertyKey(descriptor.key), descriptor); } }
|
|
18892
19124
|
function signerkey_createClass(Constructor, protoProps, staticProps) { if (protoProps) signerkey_defineProperties(Constructor.prototype, protoProps); if (staticProps) signerkey_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18893
|
-
function signerkey_toPropertyKey(t) { var i = signerkey_toPrimitive(t, "string"); return "symbol" == signerkey_typeof(i) ? i :
|
|
19125
|
+
function signerkey_toPropertyKey(t) { var i = signerkey_toPrimitive(t, "string"); return "symbol" == signerkey_typeof(i) ? i : i + ""; }
|
|
18894
19126
|
function signerkey_toPrimitive(t, r) { if ("object" != signerkey_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != signerkey_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18895
19127
|
|
|
18896
19128
|
|
|
@@ -18908,7 +19140,7 @@ var SignerKey = /*#__PURE__*/function () {
|
|
|
18908
19140
|
function SignerKey() {
|
|
18909
19141
|
signerkey_classCallCheck(this, SignerKey);
|
|
18910
19142
|
}
|
|
18911
|
-
signerkey_createClass(SignerKey, null, [{
|
|
19143
|
+
return signerkey_createClass(SignerKey, null, [{
|
|
18912
19144
|
key: "decodeAddress",
|
|
18913
19145
|
value:
|
|
18914
19146
|
/**
|
|
@@ -18981,7 +19213,6 @@ var SignerKey = /*#__PURE__*/function () {
|
|
|
18981
19213
|
return encodeCheck(strkeyType, raw);
|
|
18982
19214
|
}
|
|
18983
19215
|
}]);
|
|
18984
|
-
return SignerKey;
|
|
18985
19216
|
}();
|
|
18986
19217
|
;// CONCATENATED MODULE: ./src/transaction_builder.js
|
|
18987
19218
|
function transaction_builder_typeof(o) { "@babel/helpers - typeof"; return transaction_builder_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, transaction_builder_typeof(o); }
|
|
@@ -18997,7 +19228,7 @@ function transaction_builder_defineProperty(obj, key, value) { key = transaction
|
|
|
18997
19228
|
function transaction_builder_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18998
19229
|
function transaction_builder_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, transaction_builder_toPropertyKey(descriptor.key), descriptor); } }
|
|
18999
19230
|
function transaction_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) transaction_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) transaction_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19000
|
-
function transaction_builder_toPropertyKey(t) { var i = transaction_builder_toPrimitive(t, "string"); return "symbol" == transaction_builder_typeof(i) ? i :
|
|
19231
|
+
function transaction_builder_toPropertyKey(t) { var i = transaction_builder_toPrimitive(t, "string"); return "symbol" == transaction_builder_typeof(i) ? i : i + ""; }
|
|
19001
19232
|
function transaction_builder_toPrimitive(t, r) { if ("object" != transaction_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != transaction_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19002
19233
|
|
|
19003
19234
|
|
|
@@ -19169,7 +19400,7 @@ var TransactionBuilder = /*#__PURE__*/function () {
|
|
|
19169
19400
|
*
|
|
19170
19401
|
* @todo This cannot clone {@link FeeBumpTransaction}s, yet.
|
|
19171
19402
|
*/
|
|
19172
|
-
transaction_builder_createClass(TransactionBuilder, [{
|
|
19403
|
+
return transaction_builder_createClass(TransactionBuilder, [{
|
|
19173
19404
|
key: "addOperation",
|
|
19174
19405
|
value:
|
|
19175
19406
|
/**
|
|
@@ -19718,7 +19949,6 @@ var TransactionBuilder = /*#__PURE__*/function () {
|
|
|
19718
19949
|
return new Transaction(envelope, networkPassphrase);
|
|
19719
19950
|
}
|
|
19720
19951
|
}]);
|
|
19721
|
-
return TransactionBuilder;
|
|
19722
19952
|
}();
|
|
19723
19953
|
|
|
19724
19954
|
/**
|
|
@@ -19759,14 +19989,14 @@ function soroban_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
19759
19989
|
function soroban_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19760
19990
|
function soroban_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, soroban_toPropertyKey(descriptor.key), descriptor); } }
|
|
19761
19991
|
function soroban_createClass(Constructor, protoProps, staticProps) { if (protoProps) soroban_defineProperties(Constructor.prototype, protoProps); if (staticProps) soroban_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19762
|
-
function soroban_toPropertyKey(t) { var i = soroban_toPrimitive(t, "string"); return "symbol" == soroban_typeof(i) ? i :
|
|
19992
|
+
function soroban_toPropertyKey(t) { var i = soroban_toPrimitive(t, "string"); return "symbol" == soroban_typeof(i) ? i : i + ""; }
|
|
19763
19993
|
function soroban_toPrimitive(t, r) { if ("object" != soroban_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != soroban_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19764
19994
|
/* Helper class to assist with formatting and parsing token amounts. */
|
|
19765
19995
|
var Soroban = /*#__PURE__*/function () {
|
|
19766
19996
|
function Soroban() {
|
|
19767
19997
|
soroban_classCallCheck(this, Soroban);
|
|
19768
19998
|
}
|
|
19769
|
-
soroban_createClass(Soroban, null, [{
|
|
19999
|
+
return soroban_createClass(Soroban, null, [{
|
|
19770
20000
|
key: "formatTokenAmount",
|
|
19771
20001
|
value:
|
|
19772
20002
|
/**
|
|
@@ -19837,14 +20067,13 @@ var Soroban = /*#__PURE__*/function () {
|
|
|
19837
20067
|
return shifted.toString();
|
|
19838
20068
|
}
|
|
19839
20069
|
}]);
|
|
19840
|
-
return Soroban;
|
|
19841
20070
|
}();
|
|
19842
20071
|
;// CONCATENATED MODULE: ./src/contract.js
|
|
19843
20072
|
function contract_typeof(o) { "@babel/helpers - typeof"; return contract_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, contract_typeof(o); }
|
|
19844
20073
|
function contract_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19845
20074
|
function contract_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, contract_toPropertyKey(descriptor.key), descriptor); } }
|
|
19846
20075
|
function contract_createClass(Constructor, protoProps, staticProps) { if (protoProps) contract_defineProperties(Constructor.prototype, protoProps); if (staticProps) contract_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19847
|
-
function contract_toPropertyKey(t) { var i = contract_toPrimitive(t, "string"); return "symbol" == contract_typeof(i) ? i :
|
|
20076
|
+
function contract_toPropertyKey(t) { var i = contract_toPrimitive(t, "string"); return "symbol" == contract_typeof(i) ? i : i + ""; }
|
|
19848
20077
|
function contract_toPrimitive(t, r) { if ("object" != contract_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != contract_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19849
20078
|
|
|
19850
20079
|
|
|
@@ -19880,7 +20109,7 @@ var Contract = /*#__PURE__*/function () {
|
|
|
19880
20109
|
* `CA3D5KRYM6CB7OWQ6TWYRR3Z4T7GNZLKERYNZGGA5SOAOPIFY6YQGAXE`.
|
|
19881
20110
|
* @returns {string}
|
|
19882
20111
|
*/
|
|
19883
|
-
contract_createClass(Contract, [{
|
|
20112
|
+
return contract_createClass(Contract, [{
|
|
19884
20113
|
key: "contractId",
|
|
19885
20114
|
value: function contractId() {
|
|
19886
20115
|
return StrKey.encodeContract(this._id);
|
|
@@ -19945,14 +20174,13 @@ var Contract = /*#__PURE__*/function () {
|
|
|
19945
20174
|
}));
|
|
19946
20175
|
}
|
|
19947
20176
|
}]);
|
|
19948
|
-
return Contract;
|
|
19949
20177
|
}();
|
|
19950
20178
|
;// CONCATENATED MODULE: ./src/numbers/uint128.js
|
|
19951
20179
|
function uint128_typeof(o) { "@babel/helpers - typeof"; return uint128_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, uint128_typeof(o); }
|
|
19952
20180
|
function uint128_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19953
20181
|
function uint128_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, uint128_toPropertyKey(descriptor.key), descriptor); } }
|
|
19954
20182
|
function uint128_createClass(Constructor, protoProps, staticProps) { if (protoProps) uint128_defineProperties(Constructor.prototype, protoProps); if (staticProps) uint128_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19955
|
-
function uint128_toPropertyKey(t) { var i = uint128_toPrimitive(t, "string"); return "symbol" == uint128_typeof(i) ? i :
|
|
20183
|
+
function uint128_toPropertyKey(t) { var i = uint128_toPrimitive(t, "string"); return "symbol" == uint128_typeof(i) ? i : i + ""; }
|
|
19956
20184
|
function uint128_toPrimitive(t, r) { if ("object" != uint128_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != uint128_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19957
20185
|
function uint128_callSuper(t, o, e) { return o = uint128_getPrototypeOf(o), uint128_possibleConstructorReturn(t, uint128_isNativeReflectConstruct() ? Reflect.construct(o, e || [], uint128_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
19958
20186
|
function uint128_possibleConstructorReturn(self, call) { if (call && (uint128_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return uint128_assertThisInitialized(self); }
|
|
@@ -19963,7 +20191,6 @@ function uint128_inherits(subClass, superClass) { if (typeof superClass !== "fun
|
|
|
19963
20191
|
function uint128_setPrototypeOf(o, p) { uint128_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return uint128_setPrototypeOf(o, p); }
|
|
19964
20192
|
|
|
19965
20193
|
var Uint128 = /*#__PURE__*/function (_LargeInt) {
|
|
19966
|
-
uint128_inherits(Uint128, _LargeInt);
|
|
19967
20194
|
/**
|
|
19968
20195
|
* Construct an unsigned 128-bit integer that can be XDR-encoded.
|
|
19969
20196
|
*
|
|
@@ -19977,7 +20204,8 @@ var Uint128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
19977
20204
|
}
|
|
19978
20205
|
return uint128_callSuper(this, Uint128, [args]);
|
|
19979
20206
|
}
|
|
19980
|
-
|
|
20207
|
+
uint128_inherits(Uint128, _LargeInt);
|
|
20208
|
+
return uint128_createClass(Uint128, [{
|
|
19981
20209
|
key: "unsigned",
|
|
19982
20210
|
get: function get() {
|
|
19983
20211
|
return true;
|
|
@@ -19988,7 +20216,6 @@ var Uint128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
19988
20216
|
return 128;
|
|
19989
20217
|
}
|
|
19990
20218
|
}]);
|
|
19991
|
-
return Uint128;
|
|
19992
20219
|
}(xdr.LargeInt);
|
|
19993
20220
|
Uint128.defineIntBoundaries();
|
|
19994
20221
|
;// CONCATENATED MODULE: ./src/numbers/uint256.js
|
|
@@ -19996,7 +20223,7 @@ function uint256_typeof(o) { "@babel/helpers - typeof"; return uint256_typeof =
|
|
|
19996
20223
|
function uint256_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19997
20224
|
function uint256_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, uint256_toPropertyKey(descriptor.key), descriptor); } }
|
|
19998
20225
|
function uint256_createClass(Constructor, protoProps, staticProps) { if (protoProps) uint256_defineProperties(Constructor.prototype, protoProps); if (staticProps) uint256_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19999
|
-
function uint256_toPropertyKey(t) { var i = uint256_toPrimitive(t, "string"); return "symbol" == uint256_typeof(i) ? i :
|
|
20226
|
+
function uint256_toPropertyKey(t) { var i = uint256_toPrimitive(t, "string"); return "symbol" == uint256_typeof(i) ? i : i + ""; }
|
|
20000
20227
|
function uint256_toPrimitive(t, r) { if ("object" != uint256_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != uint256_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20001
20228
|
function uint256_callSuper(t, o, e) { return o = uint256_getPrototypeOf(o), uint256_possibleConstructorReturn(t, uint256_isNativeReflectConstruct() ? Reflect.construct(o, e || [], uint256_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20002
20229
|
function uint256_possibleConstructorReturn(self, call) { if (call && (uint256_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return uint256_assertThisInitialized(self); }
|
|
@@ -20007,7 +20234,6 @@ function uint256_inherits(subClass, superClass) { if (typeof superClass !== "fun
|
|
|
20007
20234
|
function uint256_setPrototypeOf(o, p) { uint256_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return uint256_setPrototypeOf(o, p); }
|
|
20008
20235
|
|
|
20009
20236
|
var Uint256 = /*#__PURE__*/function (_LargeInt) {
|
|
20010
|
-
uint256_inherits(Uint256, _LargeInt);
|
|
20011
20237
|
/**
|
|
20012
20238
|
* Construct an unsigned 256-bit integer that can be XDR-encoded.
|
|
20013
20239
|
*
|
|
@@ -20021,7 +20247,8 @@ var Uint256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20021
20247
|
}
|
|
20022
20248
|
return uint256_callSuper(this, Uint256, [args]);
|
|
20023
20249
|
}
|
|
20024
|
-
|
|
20250
|
+
uint256_inherits(Uint256, _LargeInt);
|
|
20251
|
+
return uint256_createClass(Uint256, [{
|
|
20025
20252
|
key: "unsigned",
|
|
20026
20253
|
get: function get() {
|
|
20027
20254
|
return true;
|
|
@@ -20032,7 +20259,6 @@ var Uint256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20032
20259
|
return 256;
|
|
20033
20260
|
}
|
|
20034
20261
|
}]);
|
|
20035
|
-
return Uint256;
|
|
20036
20262
|
}(xdr.LargeInt);
|
|
20037
20263
|
Uint256.defineIntBoundaries();
|
|
20038
20264
|
;// CONCATENATED MODULE: ./src/numbers/int128.js
|
|
@@ -20040,7 +20266,7 @@ function int128_typeof(o) { "@babel/helpers - typeof"; return int128_typeof = "f
|
|
|
20040
20266
|
function int128_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
20041
20267
|
function int128_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, int128_toPropertyKey(descriptor.key), descriptor); } }
|
|
20042
20268
|
function int128_createClass(Constructor, protoProps, staticProps) { if (protoProps) int128_defineProperties(Constructor.prototype, protoProps); if (staticProps) int128_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20043
|
-
function int128_toPropertyKey(t) { var i = int128_toPrimitive(t, "string"); return "symbol" == int128_typeof(i) ? i :
|
|
20269
|
+
function int128_toPropertyKey(t) { var i = int128_toPrimitive(t, "string"); return "symbol" == int128_typeof(i) ? i : i + ""; }
|
|
20044
20270
|
function int128_toPrimitive(t, r) { if ("object" != int128_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != int128_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20045
20271
|
function int128_callSuper(t, o, e) { return o = int128_getPrototypeOf(o), int128_possibleConstructorReturn(t, int128_isNativeReflectConstruct() ? Reflect.construct(o, e || [], int128_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20046
20272
|
function int128_possibleConstructorReturn(self, call) { if (call && (int128_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return int128_assertThisInitialized(self); }
|
|
@@ -20051,7 +20277,6 @@ function int128_inherits(subClass, superClass) { if (typeof superClass !== "func
|
|
|
20051
20277
|
function int128_setPrototypeOf(o, p) { int128_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return int128_setPrototypeOf(o, p); }
|
|
20052
20278
|
|
|
20053
20279
|
var Int128 = /*#__PURE__*/function (_LargeInt) {
|
|
20054
|
-
int128_inherits(Int128, _LargeInt);
|
|
20055
20280
|
/**
|
|
20056
20281
|
* Construct a signed 128-bit integer that can be XDR-encoded.
|
|
20057
20282
|
*
|
|
@@ -20065,7 +20290,8 @@ var Int128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20065
20290
|
}
|
|
20066
20291
|
return int128_callSuper(this, Int128, [args]);
|
|
20067
20292
|
}
|
|
20068
|
-
|
|
20293
|
+
int128_inherits(Int128, _LargeInt);
|
|
20294
|
+
return int128_createClass(Int128, [{
|
|
20069
20295
|
key: "unsigned",
|
|
20070
20296
|
get: function get() {
|
|
20071
20297
|
return false;
|
|
@@ -20076,7 +20302,6 @@ var Int128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20076
20302
|
return 128;
|
|
20077
20303
|
}
|
|
20078
20304
|
}]);
|
|
20079
|
-
return Int128;
|
|
20080
20305
|
}(xdr.LargeInt);
|
|
20081
20306
|
Int128.defineIntBoundaries();
|
|
20082
20307
|
;// CONCATENATED MODULE: ./src/numbers/int256.js
|
|
@@ -20084,7 +20309,7 @@ function int256_typeof(o) { "@babel/helpers - typeof"; return int256_typeof = "f
|
|
|
20084
20309
|
function int256_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
20085
20310
|
function int256_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, int256_toPropertyKey(descriptor.key), descriptor); } }
|
|
20086
20311
|
function int256_createClass(Constructor, protoProps, staticProps) { if (protoProps) int256_defineProperties(Constructor.prototype, protoProps); if (staticProps) int256_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20087
|
-
function int256_toPropertyKey(t) { var i = int256_toPrimitive(t, "string"); return "symbol" == int256_typeof(i) ? i :
|
|
20312
|
+
function int256_toPropertyKey(t) { var i = int256_toPrimitive(t, "string"); return "symbol" == int256_typeof(i) ? i : i + ""; }
|
|
20088
20313
|
function int256_toPrimitive(t, r) { if ("object" != int256_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != int256_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20089
20314
|
function int256_callSuper(t, o, e) { return o = int256_getPrototypeOf(o), int256_possibleConstructorReturn(t, int256_isNativeReflectConstruct() ? Reflect.construct(o, e || [], int256_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20090
20315
|
function int256_possibleConstructorReturn(self, call) { if (call && (int256_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return int256_assertThisInitialized(self); }
|
|
@@ -20095,7 +20320,6 @@ function int256_inherits(subClass, superClass) { if (typeof superClass !== "func
|
|
|
20095
20320
|
function int256_setPrototypeOf(o, p) { int256_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return int256_setPrototypeOf(o, p); }
|
|
20096
20321
|
|
|
20097
20322
|
var Int256 = /*#__PURE__*/function (_LargeInt) {
|
|
20098
|
-
int256_inherits(Int256, _LargeInt);
|
|
20099
20323
|
/**
|
|
20100
20324
|
* Construct a signed 256-bit integer that can be XDR-encoded.
|
|
20101
20325
|
*
|
|
@@ -20109,7 +20333,8 @@ var Int256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20109
20333
|
}
|
|
20110
20334
|
return int256_callSuper(this, Int256, [args]);
|
|
20111
20335
|
}
|
|
20112
|
-
|
|
20336
|
+
int256_inherits(Int256, _LargeInt);
|
|
20337
|
+
return int256_createClass(Int256, [{
|
|
20113
20338
|
key: "unsigned",
|
|
20114
20339
|
get: function get() {
|
|
20115
20340
|
return false;
|
|
@@ -20120,7 +20345,6 @@ var Int256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20120
20345
|
return 256;
|
|
20121
20346
|
}
|
|
20122
20347
|
}]);
|
|
20123
|
-
return Int256;
|
|
20124
20348
|
}(xdr.LargeInt);
|
|
20125
20349
|
Int256.defineIntBoundaries();
|
|
20126
20350
|
;// CONCATENATED MODULE: ./src/numbers/xdr_large_int.js
|
|
@@ -20129,7 +20353,7 @@ function xdr_large_int_classCallCheck(instance, Constructor) { if (!(instance in
|
|
|
20129
20353
|
function xdr_large_int_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, xdr_large_int_toPropertyKey(descriptor.key), descriptor); } }
|
|
20130
20354
|
function xdr_large_int_createClass(Constructor, protoProps, staticProps) { if (protoProps) xdr_large_int_defineProperties(Constructor.prototype, protoProps); if (staticProps) xdr_large_int_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20131
20355
|
function xdr_large_int_defineProperty(obj, key, value) { key = xdr_large_int_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
20132
|
-
function xdr_large_int_toPropertyKey(t) { var i = xdr_large_int_toPrimitive(t, "string"); return "symbol" == xdr_large_int_typeof(i) ? i :
|
|
20356
|
+
function xdr_large_int_toPropertyKey(t) { var i = xdr_large_int_toPrimitive(t, "string"); return "symbol" == xdr_large_int_typeof(i) ? i : i + ""; }
|
|
20133
20357
|
function xdr_large_int_toPrimitive(t, r) { if ("object" != xdr_large_int_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != xdr_large_int_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20134
20358
|
/* eslint no-bitwise: ["error", {"allow": [">>"]}] */
|
|
20135
20359
|
|
|
@@ -20204,7 +20428,7 @@ var XdrLargeInt = /*#__PURE__*/function () {
|
|
|
20204
20428
|
* @returns {number}
|
|
20205
20429
|
* @throws {RangeError} if the value can't fit into a Number
|
|
20206
20430
|
*/
|
|
20207
|
-
xdr_large_int_createClass(XdrLargeInt, [{
|
|
20431
|
+
return xdr_large_int_createClass(XdrLargeInt, [{
|
|
20208
20432
|
key: "toNumber",
|
|
20209
20433
|
value: function toNumber() {
|
|
20210
20434
|
var bi = this["int"].toBigInt();
|
|
@@ -20384,13 +20608,12 @@ var XdrLargeInt = /*#__PURE__*/function () {
|
|
|
20384
20608
|
return scvType.slice(3).toLowerCase();
|
|
20385
20609
|
}
|
|
20386
20610
|
}]);
|
|
20387
|
-
return XdrLargeInt;
|
|
20388
20611
|
}();
|
|
20389
20612
|
;// CONCATENATED MODULE: ./src/numbers/sc_int.js
|
|
20390
20613
|
function sc_int_typeof(o) { "@babel/helpers - typeof"; return sc_int_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, sc_int_typeof(o); }
|
|
20391
20614
|
function sc_int_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, sc_int_toPropertyKey(descriptor.key), descriptor); } }
|
|
20392
20615
|
function sc_int_createClass(Constructor, protoProps, staticProps) { if (protoProps) sc_int_defineProperties(Constructor.prototype, protoProps); if (staticProps) sc_int_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20393
|
-
function sc_int_toPropertyKey(t) { var i = sc_int_toPrimitive(t, "string"); return "symbol" == sc_int_typeof(i) ? i :
|
|
20616
|
+
function sc_int_toPropertyKey(t) { var i = sc_int_toPrimitive(t, "string"); return "symbol" == sc_int_typeof(i) ? i : i + ""; }
|
|
20394
20617
|
function sc_int_toPrimitive(t, r) { if ("object" != sc_int_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != sc_int_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20395
20618
|
function sc_int_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
20396
20619
|
function sc_int_callSuper(t, o, e) { return o = sc_int_getPrototypeOf(o), sc_int_possibleConstructorReturn(t, sc_int_isNativeReflectConstruct() ? Reflect.construct(o, e || [], sc_int_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
@@ -20474,7 +20697,6 @@ function sc_int_setPrototypeOf(o, p) { sc_int_setPrototypeOf = Object.setPrototy
|
|
|
20474
20697
|
* @throws {SyntaxError} if a string `value` can't be parsed as a big integer
|
|
20475
20698
|
*/
|
|
20476
20699
|
var ScInt = /*#__PURE__*/function (_XdrLargeInt) {
|
|
20477
|
-
sc_int_inherits(ScInt, _XdrLargeInt);
|
|
20478
20700
|
function ScInt(value, opts) {
|
|
20479
20701
|
var _opts$type;
|
|
20480
20702
|
sc_int_classCallCheck(this, ScInt);
|
|
@@ -20501,6 +20723,7 @@ var ScInt = /*#__PURE__*/function (_XdrLargeInt) {
|
|
|
20501
20723
|
}
|
|
20502
20724
|
return sc_int_callSuper(this, ScInt, [type, value]);
|
|
20503
20725
|
}
|
|
20726
|
+
sc_int_inherits(ScInt, _XdrLargeInt);
|
|
20504
20727
|
return sc_int_createClass(ScInt);
|
|
20505
20728
|
}(XdrLargeInt);
|
|
20506
20729
|
function nearestBigIntSize(bigI) {
|
|
@@ -20560,7 +20783,7 @@ function scValToBigInt(scv) {
|
|
|
20560
20783
|
}
|
|
20561
20784
|
}
|
|
20562
20785
|
;// CONCATENATED MODULE: ./src/scval.js
|
|
20563
|
-
/* provided dependency */ var scval_Buffer = __webpack_require__(
|
|
20786
|
+
/* provided dependency */ var scval_Buffer = __webpack_require__(3626)["A"];
|
|
20564
20787
|
function scval_slicedToArray(arr, i) { return scval_arrayWithHoles(arr) || scval_iterableToArrayLimit(arr, i) || scval_unsupportedIterableToArray(arr, i) || scval_nonIterableRest(); }
|
|
20565
20788
|
function scval_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
20566
20789
|
function scval_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return scval_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return scval_arrayLikeToArray(o, minLen); }
|
|
@@ -20933,7 +21156,7 @@ function events_typeof(o) { "@babel/helpers - typeof"; return events_typeof = "f
|
|
|
20933
21156
|
function events_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
20934
21157
|
function events_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? events_ownKeys(Object(t), !0).forEach(function (r) { events_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : events_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20935
21158
|
function events_defineProperty(obj, key, value) { key = events_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
20936
|
-
function events_toPropertyKey(t) { var i = events_toPrimitive(t, "string"); return "symbol" == events_typeof(i) ? i :
|
|
21159
|
+
function events_toPropertyKey(t) { var i = events_toPrimitive(t, "string"); return "symbol" == events_typeof(i) ? i : i + ""; }
|
|
20937
21160
|
function events_toPrimitive(t, r) { if ("object" != events_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != events_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20938
21161
|
|
|
20939
21162
|
|
|
@@ -20973,9 +21196,9 @@ function extractEvent(event) {
|
|
|
20973
21196
|
});
|
|
20974
21197
|
}
|
|
20975
21198
|
;// CONCATENATED MODULE: ./src/auth.js
|
|
20976
|
-
/* provided dependency */ var auth_Buffer = __webpack_require__(
|
|
21199
|
+
/* provided dependency */ var auth_Buffer = __webpack_require__(3626)["A"];
|
|
20977
21200
|
function auth_typeof(o) { "@babel/helpers - typeof"; return auth_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, auth_typeof(o); }
|
|
20978
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == auth_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw
|
|
21201
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == auth_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(auth_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
20979
21202
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
20980
21203
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
20981
21204
|
|
|
@@ -21461,7 +21684,7 @@ function walkHelper(node, depth, callback, parent) {
|
|
|
21461
21684
|
|
|
21462
21685
|
/***/ }),
|
|
21463
21686
|
|
|
21464
|
-
/***/
|
|
21687
|
+
/***/ 5360:
|
|
21465
21688
|
/***/ ((__unused_webpack_module, exports) => {
|
|
21466
21689
|
|
|
21467
21690
|
"use strict";
|
|
@@ -21781,7 +22004,7 @@ exports.base32hex = base32hex;
|
|
|
21781
22004
|
|
|
21782
22005
|
/***/ }),
|
|
21783
22006
|
|
|
21784
|
-
/***/
|
|
22007
|
+
/***/ 7526:
|
|
21785
22008
|
/***/ ((__unused_webpack_module, exports) => {
|
|
21786
22009
|
|
|
21787
22010
|
"use strict";
|
|
@@ -21939,11 +22162,11 @@ function fromByteArray (uint8) {
|
|
|
21939
22162
|
|
|
21940
22163
|
/***/ }),
|
|
21941
22164
|
|
|
21942
|
-
/***/
|
|
22165
|
+
/***/ 8287:
|
|
21943
22166
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
21944
22167
|
|
|
21945
22168
|
"use strict";
|
|
21946
|
-
/* provided dependency */ var console = __webpack_require__(
|
|
22169
|
+
/* provided dependency */ var console = __webpack_require__(6763);
|
|
21947
22170
|
/*!
|
|
21948
22171
|
* The buffer module from node.js, for the browser.
|
|
21949
22172
|
*
|
|
@@ -21954,8 +22177,8 @@ function fromByteArray (uint8) {
|
|
|
21954
22177
|
|
|
21955
22178
|
|
|
21956
22179
|
|
|
21957
|
-
const base64 = __webpack_require__(
|
|
21958
|
-
const ieee754 = __webpack_require__(
|
|
22180
|
+
const base64 = __webpack_require__(7526)
|
|
22181
|
+
const ieee754 = __webpack_require__(251)
|
|
21959
22182
|
const customInspectSymbol =
|
|
21960
22183
|
(typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation
|
|
21961
22184
|
? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation
|
|
@@ -24054,15 +24277,15 @@ function BufferBigIntNotDefined () {
|
|
|
24054
24277
|
|
|
24055
24278
|
/***/ }),
|
|
24056
24279
|
|
|
24057
|
-
/***/
|
|
24280
|
+
/***/ 8075:
|
|
24058
24281
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24059
24282
|
|
|
24060
24283
|
"use strict";
|
|
24061
24284
|
|
|
24062
24285
|
|
|
24063
|
-
var GetIntrinsic = __webpack_require__(
|
|
24286
|
+
var GetIntrinsic = __webpack_require__(453);
|
|
24064
24287
|
|
|
24065
|
-
var callBind = __webpack_require__(
|
|
24288
|
+
var callBind = __webpack_require__(487);
|
|
24066
24289
|
|
|
24067
24290
|
var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
|
|
24068
24291
|
|
|
@@ -24077,33 +24300,24 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
24077
24300
|
|
|
24078
24301
|
/***/ }),
|
|
24079
24302
|
|
|
24080
|
-
/***/
|
|
24303
|
+
/***/ 487:
|
|
24081
24304
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24082
24305
|
|
|
24083
24306
|
"use strict";
|
|
24084
24307
|
|
|
24085
24308
|
|
|
24086
|
-
var bind = __webpack_require__(
|
|
24087
|
-
var GetIntrinsic = __webpack_require__(
|
|
24088
|
-
var setFunctionLength = __webpack_require__(
|
|
24309
|
+
var bind = __webpack_require__(6743);
|
|
24310
|
+
var GetIntrinsic = __webpack_require__(453);
|
|
24311
|
+
var setFunctionLength = __webpack_require__(6897);
|
|
24089
24312
|
|
|
24090
|
-
var $TypeError = __webpack_require__(
|
|
24313
|
+
var $TypeError = __webpack_require__(9675);
|
|
24091
24314
|
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
24092
24315
|
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
24093
24316
|
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
24094
24317
|
|
|
24095
|
-
var $defineProperty =
|
|
24318
|
+
var $defineProperty = __webpack_require__(655);
|
|
24096
24319
|
var $max = GetIntrinsic('%Math.max%');
|
|
24097
24320
|
|
|
24098
|
-
if ($defineProperty) {
|
|
24099
|
-
try {
|
|
24100
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
24101
|
-
} catch (e) {
|
|
24102
|
-
// IE 8 has a broken defineProperty
|
|
24103
|
-
$defineProperty = null;
|
|
24104
|
-
}
|
|
24105
|
-
}
|
|
24106
|
-
|
|
24107
24321
|
module.exports = function callBind(originalFunction) {
|
|
24108
24322
|
if (typeof originalFunction !== 'function') {
|
|
24109
24323
|
throw new $TypeError('a function is required');
|
|
@@ -24129,12 +24343,12 @@ if ($defineProperty) {
|
|
|
24129
24343
|
|
|
24130
24344
|
/***/ }),
|
|
24131
24345
|
|
|
24132
|
-
/***/
|
|
24346
|
+
/***/ 6763:
|
|
24133
24347
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24134
24348
|
|
|
24135
24349
|
/*global window, global*/
|
|
24136
|
-
var util = __webpack_require__(
|
|
24137
|
-
var assert = __webpack_require__(
|
|
24350
|
+
var util = __webpack_require__(537)
|
|
24351
|
+
var assert = __webpack_require__(4148)
|
|
24138
24352
|
function now() { return new Date().getTime() }
|
|
24139
24353
|
|
|
24140
24354
|
var slice = Array.prototype.slice
|
|
@@ -24223,30 +24437,18 @@ function consoleAssert(expression) {
|
|
|
24223
24437
|
|
|
24224
24438
|
/***/ }),
|
|
24225
24439
|
|
|
24226
|
-
/***/
|
|
24440
|
+
/***/ 41:
|
|
24227
24441
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24228
24442
|
|
|
24229
24443
|
"use strict";
|
|
24230
24444
|
|
|
24231
24445
|
|
|
24232
|
-
var
|
|
24233
|
-
|
|
24234
|
-
var GetIntrinsic = __webpack_require__(6604);
|
|
24235
|
-
|
|
24236
|
-
var $defineProperty = hasPropertyDescriptors && GetIntrinsic('%Object.defineProperty%', true);
|
|
24237
|
-
if ($defineProperty) {
|
|
24238
|
-
try {
|
|
24239
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
24240
|
-
} catch (e) {
|
|
24241
|
-
// IE 8 has a broken defineProperty
|
|
24242
|
-
$defineProperty = false;
|
|
24243
|
-
}
|
|
24244
|
-
}
|
|
24446
|
+
var $defineProperty = __webpack_require__(655);
|
|
24245
24447
|
|
|
24246
|
-
var $SyntaxError = __webpack_require__(
|
|
24247
|
-
var $TypeError = __webpack_require__(
|
|
24448
|
+
var $SyntaxError = __webpack_require__(8068);
|
|
24449
|
+
var $TypeError = __webpack_require__(9675);
|
|
24248
24450
|
|
|
24249
|
-
var gopd = __webpack_require__(
|
|
24451
|
+
var gopd = __webpack_require__(5795);
|
|
24250
24452
|
|
|
24251
24453
|
/** @type {import('.')} */
|
|
24252
24454
|
module.exports = function defineDataProperty(
|
|
@@ -24299,24 +24501,24 @@ module.exports = function defineDataProperty(
|
|
|
24299
24501
|
|
|
24300
24502
|
/***/ }),
|
|
24301
24503
|
|
|
24302
|
-
/***/
|
|
24504
|
+
/***/ 8452:
|
|
24303
24505
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24304
24506
|
|
|
24305
24507
|
"use strict";
|
|
24306
24508
|
|
|
24307
24509
|
|
|
24308
|
-
var keys = __webpack_require__(
|
|
24510
|
+
var keys = __webpack_require__(1189);
|
|
24309
24511
|
var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
|
|
24310
24512
|
|
|
24311
24513
|
var toStr = Object.prototype.toString;
|
|
24312
24514
|
var concat = Array.prototype.concat;
|
|
24313
|
-
var defineDataProperty = __webpack_require__(
|
|
24515
|
+
var defineDataProperty = __webpack_require__(41);
|
|
24314
24516
|
|
|
24315
24517
|
var isFunction = function (fn) {
|
|
24316
24518
|
return typeof fn === 'function' && toStr.call(fn) === '[object Function]';
|
|
24317
24519
|
};
|
|
24318
24520
|
|
|
24319
|
-
var supportsDescriptors = __webpack_require__(
|
|
24521
|
+
var supportsDescriptors = __webpack_require__(592)();
|
|
24320
24522
|
|
|
24321
24523
|
var defineProperty = function (object, name, value, predicate) {
|
|
24322
24524
|
if (name in object) {
|
|
@@ -24354,7 +24556,31 @@ module.exports = defineProperties;
|
|
|
24354
24556
|
|
|
24355
24557
|
/***/ }),
|
|
24356
24558
|
|
|
24357
|
-
/***/
|
|
24559
|
+
/***/ 655:
|
|
24560
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24561
|
+
|
|
24562
|
+
"use strict";
|
|
24563
|
+
|
|
24564
|
+
|
|
24565
|
+
var GetIntrinsic = __webpack_require__(453);
|
|
24566
|
+
|
|
24567
|
+
/** @type {import('.')} */
|
|
24568
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
|
|
24569
|
+
if ($defineProperty) {
|
|
24570
|
+
try {
|
|
24571
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
24572
|
+
} catch (e) {
|
|
24573
|
+
// IE 8 has a broken defineProperty
|
|
24574
|
+
$defineProperty = false;
|
|
24575
|
+
}
|
|
24576
|
+
}
|
|
24577
|
+
|
|
24578
|
+
module.exports = $defineProperty;
|
|
24579
|
+
|
|
24580
|
+
|
|
24581
|
+
/***/ }),
|
|
24582
|
+
|
|
24583
|
+
/***/ 1237:
|
|
24358
24584
|
/***/ ((module) => {
|
|
24359
24585
|
|
|
24360
24586
|
"use strict";
|
|
@@ -24366,7 +24592,7 @@ module.exports = EvalError;
|
|
|
24366
24592
|
|
|
24367
24593
|
/***/ }),
|
|
24368
24594
|
|
|
24369
|
-
/***/
|
|
24595
|
+
/***/ 9383:
|
|
24370
24596
|
/***/ ((module) => {
|
|
24371
24597
|
|
|
24372
24598
|
"use strict";
|
|
@@ -24378,7 +24604,7 @@ module.exports = Error;
|
|
|
24378
24604
|
|
|
24379
24605
|
/***/ }),
|
|
24380
24606
|
|
|
24381
|
-
/***/
|
|
24607
|
+
/***/ 9290:
|
|
24382
24608
|
/***/ ((module) => {
|
|
24383
24609
|
|
|
24384
24610
|
"use strict";
|
|
@@ -24390,7 +24616,7 @@ module.exports = RangeError;
|
|
|
24390
24616
|
|
|
24391
24617
|
/***/ }),
|
|
24392
24618
|
|
|
24393
|
-
/***/
|
|
24619
|
+
/***/ 9538:
|
|
24394
24620
|
/***/ ((module) => {
|
|
24395
24621
|
|
|
24396
24622
|
"use strict";
|
|
@@ -24402,7 +24628,7 @@ module.exports = ReferenceError;
|
|
|
24402
24628
|
|
|
24403
24629
|
/***/ }),
|
|
24404
24630
|
|
|
24405
|
-
/***/
|
|
24631
|
+
/***/ 8068:
|
|
24406
24632
|
/***/ ((module) => {
|
|
24407
24633
|
|
|
24408
24634
|
"use strict";
|
|
@@ -24414,7 +24640,7 @@ module.exports = SyntaxError;
|
|
|
24414
24640
|
|
|
24415
24641
|
/***/ }),
|
|
24416
24642
|
|
|
24417
|
-
/***/
|
|
24643
|
+
/***/ 9675:
|
|
24418
24644
|
/***/ ((module) => {
|
|
24419
24645
|
|
|
24420
24646
|
"use strict";
|
|
@@ -24426,7 +24652,7 @@ module.exports = TypeError;
|
|
|
24426
24652
|
|
|
24427
24653
|
/***/ }),
|
|
24428
24654
|
|
|
24429
|
-
/***/
|
|
24655
|
+
/***/ 5345:
|
|
24430
24656
|
/***/ ((module) => {
|
|
24431
24657
|
|
|
24432
24658
|
"use strict";
|
|
@@ -24438,13 +24664,13 @@ module.exports = URIError;
|
|
|
24438
24664
|
|
|
24439
24665
|
/***/ }),
|
|
24440
24666
|
|
|
24441
|
-
/***/
|
|
24667
|
+
/***/ 2682:
|
|
24442
24668
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24443
24669
|
|
|
24444
24670
|
"use strict";
|
|
24445
24671
|
|
|
24446
24672
|
|
|
24447
|
-
var isCallable = __webpack_require__(
|
|
24673
|
+
var isCallable = __webpack_require__(9600);
|
|
24448
24674
|
|
|
24449
24675
|
var toStr = Object.prototype.toString;
|
|
24450
24676
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -24508,7 +24734,7 @@ module.exports = forEach;
|
|
|
24508
24734
|
|
|
24509
24735
|
/***/ }),
|
|
24510
24736
|
|
|
24511
|
-
/***/
|
|
24737
|
+
/***/ 9353:
|
|
24512
24738
|
/***/ ((module) => {
|
|
24513
24739
|
|
|
24514
24740
|
"use strict";
|
|
@@ -24600,20 +24826,20 @@ module.exports = function bind(that) {
|
|
|
24600
24826
|
|
|
24601
24827
|
/***/ }),
|
|
24602
24828
|
|
|
24603
|
-
/***/
|
|
24829
|
+
/***/ 6743:
|
|
24604
24830
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24605
24831
|
|
|
24606
24832
|
"use strict";
|
|
24607
24833
|
|
|
24608
24834
|
|
|
24609
|
-
var implementation = __webpack_require__(
|
|
24835
|
+
var implementation = __webpack_require__(9353);
|
|
24610
24836
|
|
|
24611
24837
|
module.exports = Function.prototype.bind || implementation;
|
|
24612
24838
|
|
|
24613
24839
|
|
|
24614
24840
|
/***/ }),
|
|
24615
24841
|
|
|
24616
|
-
/***/
|
|
24842
|
+
/***/ 453:
|
|
24617
24843
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24618
24844
|
|
|
24619
24845
|
"use strict";
|
|
@@ -24621,13 +24847,13 @@ module.exports = Function.prototype.bind || implementation;
|
|
|
24621
24847
|
|
|
24622
24848
|
var undefined;
|
|
24623
24849
|
|
|
24624
|
-
var $Error = __webpack_require__(
|
|
24625
|
-
var $EvalError = __webpack_require__(
|
|
24626
|
-
var $RangeError = __webpack_require__(
|
|
24627
|
-
var $ReferenceError = __webpack_require__(
|
|
24628
|
-
var $SyntaxError = __webpack_require__(
|
|
24629
|
-
var $TypeError = __webpack_require__(
|
|
24630
|
-
var $URIError = __webpack_require__(
|
|
24850
|
+
var $Error = __webpack_require__(9383);
|
|
24851
|
+
var $EvalError = __webpack_require__(1237);
|
|
24852
|
+
var $RangeError = __webpack_require__(9290);
|
|
24853
|
+
var $ReferenceError = __webpack_require__(9538);
|
|
24854
|
+
var $SyntaxError = __webpack_require__(8068);
|
|
24855
|
+
var $TypeError = __webpack_require__(9675);
|
|
24856
|
+
var $URIError = __webpack_require__(5345);
|
|
24631
24857
|
|
|
24632
24858
|
var $Function = Function;
|
|
24633
24859
|
|
|
@@ -24667,8 +24893,8 @@ var ThrowTypeError = $gOPD
|
|
|
24667
24893
|
}())
|
|
24668
24894
|
: throwTypeError;
|
|
24669
24895
|
|
|
24670
|
-
var hasSymbols = __webpack_require__(
|
|
24671
|
-
var hasProto = __webpack_require__(
|
|
24896
|
+
var hasSymbols = __webpack_require__(4039)();
|
|
24897
|
+
var hasProto = __webpack_require__(24)();
|
|
24672
24898
|
|
|
24673
24899
|
var getProto = Object.getPrototypeOf || (
|
|
24674
24900
|
hasProto
|
|
@@ -24840,8 +25066,8 @@ var LEGACY_ALIASES = {
|
|
|
24840
25066
|
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
24841
25067
|
};
|
|
24842
25068
|
|
|
24843
|
-
var bind = __webpack_require__(
|
|
24844
|
-
var hasOwn = __webpack_require__(
|
|
25069
|
+
var bind = __webpack_require__(6743);
|
|
25070
|
+
var hasOwn = __webpack_require__(9957);
|
|
24845
25071
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
24846
25072
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
24847
25073
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
@@ -24980,13 +25206,13 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
24980
25206
|
|
|
24981
25207
|
/***/ }),
|
|
24982
25208
|
|
|
24983
|
-
/***/
|
|
25209
|
+
/***/ 5795:
|
|
24984
25210
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24985
25211
|
|
|
24986
25212
|
"use strict";
|
|
24987
25213
|
|
|
24988
25214
|
|
|
24989
|
-
var GetIntrinsic = __webpack_require__(
|
|
25215
|
+
var GetIntrinsic = __webpack_require__(453);
|
|
24990
25216
|
|
|
24991
25217
|
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
|
|
24992
25218
|
|
|
@@ -25004,32 +25230,21 @@ module.exports = $gOPD;
|
|
|
25004
25230
|
|
|
25005
25231
|
/***/ }),
|
|
25006
25232
|
|
|
25007
|
-
/***/
|
|
25233
|
+
/***/ 592:
|
|
25008
25234
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25009
25235
|
|
|
25010
25236
|
"use strict";
|
|
25011
25237
|
|
|
25012
25238
|
|
|
25013
|
-
var
|
|
25014
|
-
|
|
25015
|
-
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
25239
|
+
var $defineProperty = __webpack_require__(655);
|
|
25016
25240
|
|
|
25017
25241
|
var hasPropertyDescriptors = function hasPropertyDescriptors() {
|
|
25018
|
-
|
|
25019
|
-
try {
|
|
25020
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
25021
|
-
return true;
|
|
25022
|
-
} catch (e) {
|
|
25023
|
-
// IE 8 has a broken defineProperty
|
|
25024
|
-
return false;
|
|
25025
|
-
}
|
|
25026
|
-
}
|
|
25027
|
-
return false;
|
|
25242
|
+
return !!$defineProperty;
|
|
25028
25243
|
};
|
|
25029
25244
|
|
|
25030
25245
|
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
25031
25246
|
// node v0.6 has a bug where array lengths can be Set but not Defined
|
|
25032
|
-
if (
|
|
25247
|
+
if (!$defineProperty) {
|
|
25033
25248
|
return null;
|
|
25034
25249
|
}
|
|
25035
25250
|
try {
|
|
@@ -25045,33 +25260,37 @@ module.exports = hasPropertyDescriptors;
|
|
|
25045
25260
|
|
|
25046
25261
|
/***/ }),
|
|
25047
25262
|
|
|
25048
|
-
/***/
|
|
25263
|
+
/***/ 24:
|
|
25049
25264
|
/***/ ((module) => {
|
|
25050
25265
|
|
|
25051
25266
|
"use strict";
|
|
25052
25267
|
|
|
25053
25268
|
|
|
25054
25269
|
var test = {
|
|
25270
|
+
__proto__: null,
|
|
25055
25271
|
foo: {}
|
|
25056
25272
|
};
|
|
25057
25273
|
|
|
25058
25274
|
var $Object = Object;
|
|
25059
25275
|
|
|
25276
|
+
/** @type {import('.')} */
|
|
25060
25277
|
module.exports = function hasProto() {
|
|
25061
|
-
|
|
25278
|
+
// @ts-expect-error: TS errors on an inherited property for some reason
|
|
25279
|
+
return { __proto__: test }.foo === test.foo
|
|
25280
|
+
&& !(test instanceof $Object);
|
|
25062
25281
|
};
|
|
25063
25282
|
|
|
25064
25283
|
|
|
25065
25284
|
/***/ }),
|
|
25066
25285
|
|
|
25067
|
-
/***/
|
|
25286
|
+
/***/ 4039:
|
|
25068
25287
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25069
25288
|
|
|
25070
25289
|
"use strict";
|
|
25071
25290
|
|
|
25072
25291
|
|
|
25073
25292
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
25074
|
-
var hasSymbolSham = __webpack_require__(
|
|
25293
|
+
var hasSymbolSham = __webpack_require__(1333);
|
|
25075
25294
|
|
|
25076
25295
|
module.exports = function hasNativeSymbols() {
|
|
25077
25296
|
if (typeof origSymbol !== 'function') { return false; }
|
|
@@ -25085,7 +25304,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
25085
25304
|
|
|
25086
25305
|
/***/ }),
|
|
25087
25306
|
|
|
25088
|
-
/***/
|
|
25307
|
+
/***/ 1333:
|
|
25089
25308
|
/***/ ((module) => {
|
|
25090
25309
|
|
|
25091
25310
|
"use strict";
|
|
@@ -25135,13 +25354,13 @@ module.exports = function hasSymbols() {
|
|
|
25135
25354
|
|
|
25136
25355
|
/***/ }),
|
|
25137
25356
|
|
|
25138
|
-
/***/
|
|
25357
|
+
/***/ 9092:
|
|
25139
25358
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25140
25359
|
|
|
25141
25360
|
"use strict";
|
|
25142
25361
|
|
|
25143
25362
|
|
|
25144
|
-
var hasSymbols = __webpack_require__(
|
|
25363
|
+
var hasSymbols = __webpack_require__(1333);
|
|
25145
25364
|
|
|
25146
25365
|
/** @type {import('.')} */
|
|
25147
25366
|
module.exports = function hasToStringTagShams() {
|
|
@@ -25151,7 +25370,7 @@ module.exports = function hasToStringTagShams() {
|
|
|
25151
25370
|
|
|
25152
25371
|
/***/ }),
|
|
25153
25372
|
|
|
25154
|
-
/***/
|
|
25373
|
+
/***/ 9957:
|
|
25155
25374
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25156
25375
|
|
|
25157
25376
|
"use strict";
|
|
@@ -25159,7 +25378,7 @@ module.exports = function hasToStringTagShams() {
|
|
|
25159
25378
|
|
|
25160
25379
|
var call = Function.prototype.call;
|
|
25161
25380
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
25162
|
-
var bind = __webpack_require__(
|
|
25381
|
+
var bind = __webpack_require__(6743);
|
|
25163
25382
|
|
|
25164
25383
|
/** @type {import('.')} */
|
|
25165
25384
|
module.exports = bind.call(call, $hasOwn);
|
|
@@ -25167,7 +25386,7 @@ module.exports = bind.call(call, $hasOwn);
|
|
|
25167
25386
|
|
|
25168
25387
|
/***/ }),
|
|
25169
25388
|
|
|
25170
|
-
/***/
|
|
25389
|
+
/***/ 251:
|
|
25171
25390
|
/***/ ((__unused_webpack_module, exports) => {
|
|
25172
25391
|
|
|
25173
25392
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
@@ -25259,7 +25478,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
25259
25478
|
|
|
25260
25479
|
/***/ }),
|
|
25261
25480
|
|
|
25262
|
-
/***/
|
|
25481
|
+
/***/ 6698:
|
|
25263
25482
|
/***/ ((module) => {
|
|
25264
25483
|
|
|
25265
25484
|
if (typeof Object.create === 'function') {
|
|
@@ -25293,14 +25512,14 @@ if (typeof Object.create === 'function') {
|
|
|
25293
25512
|
|
|
25294
25513
|
/***/ }),
|
|
25295
25514
|
|
|
25296
|
-
/***/
|
|
25515
|
+
/***/ 7244:
|
|
25297
25516
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25298
25517
|
|
|
25299
25518
|
"use strict";
|
|
25300
25519
|
|
|
25301
25520
|
|
|
25302
|
-
var hasToStringTag = __webpack_require__(
|
|
25303
|
-
var callBound = __webpack_require__(
|
|
25521
|
+
var hasToStringTag = __webpack_require__(9092)();
|
|
25522
|
+
var callBound = __webpack_require__(8075);
|
|
25304
25523
|
|
|
25305
25524
|
var $toString = callBound('Object.prototype.toString');
|
|
25306
25525
|
|
|
@@ -25334,7 +25553,7 @@ module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArgum
|
|
|
25334
25553
|
|
|
25335
25554
|
/***/ }),
|
|
25336
25555
|
|
|
25337
|
-
/***/
|
|
25556
|
+
/***/ 9600:
|
|
25338
25557
|
/***/ ((module) => {
|
|
25339
25558
|
|
|
25340
25559
|
"use strict";
|
|
@@ -25443,7 +25662,7 @@ module.exports = reflectApply
|
|
|
25443
25662
|
|
|
25444
25663
|
/***/ }),
|
|
25445
25664
|
|
|
25446
|
-
/***/
|
|
25665
|
+
/***/ 8184:
|
|
25447
25666
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25448
25667
|
|
|
25449
25668
|
"use strict";
|
|
@@ -25452,7 +25671,7 @@ module.exports = reflectApply
|
|
|
25452
25671
|
var toStr = Object.prototype.toString;
|
|
25453
25672
|
var fnToStr = Function.prototype.toString;
|
|
25454
25673
|
var isFnRegex = /^\s*(?:function)?\*/;
|
|
25455
|
-
var hasToStringTag = __webpack_require__(
|
|
25674
|
+
var hasToStringTag = __webpack_require__(9092)();
|
|
25456
25675
|
var getProto = Object.getPrototypeOf;
|
|
25457
25676
|
var getGeneratorFunc = function () { // eslint-disable-line consistent-return
|
|
25458
25677
|
if (!hasToStringTag) {
|
|
@@ -25489,7 +25708,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
25489
25708
|
|
|
25490
25709
|
/***/ }),
|
|
25491
25710
|
|
|
25492
|
-
/***/
|
|
25711
|
+
/***/ 3003:
|
|
25493
25712
|
/***/ ((module) => {
|
|
25494
25713
|
|
|
25495
25714
|
"use strict";
|
|
@@ -25504,18 +25723,18 @@ module.exports = function isNaN(value) {
|
|
|
25504
25723
|
|
|
25505
25724
|
/***/ }),
|
|
25506
25725
|
|
|
25507
|
-
/***/
|
|
25726
|
+
/***/ 4133:
|
|
25508
25727
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25509
25728
|
|
|
25510
25729
|
"use strict";
|
|
25511
25730
|
|
|
25512
25731
|
|
|
25513
|
-
var callBind = __webpack_require__(
|
|
25514
|
-
var define = __webpack_require__(
|
|
25732
|
+
var callBind = __webpack_require__(487);
|
|
25733
|
+
var define = __webpack_require__(8452);
|
|
25515
25734
|
|
|
25516
|
-
var implementation = __webpack_require__(
|
|
25517
|
-
var getPolyfill = __webpack_require__(
|
|
25518
|
-
var shim = __webpack_require__(
|
|
25735
|
+
var implementation = __webpack_require__(3003);
|
|
25736
|
+
var getPolyfill = __webpack_require__(6642);
|
|
25737
|
+
var shim = __webpack_require__(2464);
|
|
25519
25738
|
|
|
25520
25739
|
var polyfill = callBind(getPolyfill(), Number);
|
|
25521
25740
|
|
|
@@ -25532,13 +25751,13 @@ module.exports = polyfill;
|
|
|
25532
25751
|
|
|
25533
25752
|
/***/ }),
|
|
25534
25753
|
|
|
25535
|
-
/***/
|
|
25754
|
+
/***/ 6642:
|
|
25536
25755
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25537
25756
|
|
|
25538
25757
|
"use strict";
|
|
25539
25758
|
|
|
25540
25759
|
|
|
25541
|
-
var implementation = __webpack_require__(
|
|
25760
|
+
var implementation = __webpack_require__(3003);
|
|
25542
25761
|
|
|
25543
25762
|
module.exports = function getPolyfill() {
|
|
25544
25763
|
if (Number.isNaN && Number.isNaN(NaN) && !Number.isNaN('a')) {
|
|
@@ -25550,14 +25769,14 @@ module.exports = function getPolyfill() {
|
|
|
25550
25769
|
|
|
25551
25770
|
/***/ }),
|
|
25552
25771
|
|
|
25553
|
-
/***/
|
|
25772
|
+
/***/ 2464:
|
|
25554
25773
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25555
25774
|
|
|
25556
25775
|
"use strict";
|
|
25557
25776
|
|
|
25558
25777
|
|
|
25559
|
-
var define = __webpack_require__(
|
|
25560
|
-
var getPolyfill = __webpack_require__(
|
|
25778
|
+
var define = __webpack_require__(8452);
|
|
25779
|
+
var getPolyfill = __webpack_require__(6642);
|
|
25561
25780
|
|
|
25562
25781
|
/* http://www.ecma-international.org/ecma-262/6.0/#sec-number.isnan */
|
|
25563
25782
|
|
|
@@ -25574,13 +25793,13 @@ module.exports = function shimNumberIsNaN() {
|
|
|
25574
25793
|
|
|
25575
25794
|
/***/ }),
|
|
25576
25795
|
|
|
25577
|
-
/***/
|
|
25796
|
+
/***/ 5680:
|
|
25578
25797
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25579
25798
|
|
|
25580
25799
|
"use strict";
|
|
25581
25800
|
|
|
25582
25801
|
|
|
25583
|
-
var whichTypedArray = __webpack_require__(
|
|
25802
|
+
var whichTypedArray = __webpack_require__(5767);
|
|
25584
25803
|
|
|
25585
25804
|
/** @type {import('.')} */
|
|
25586
25805
|
module.exports = function isTypedArray(value) {
|
|
@@ -25590,7 +25809,7 @@ module.exports = function isTypedArray(value) {
|
|
|
25590
25809
|
|
|
25591
25810
|
/***/ }),
|
|
25592
25811
|
|
|
25593
|
-
/***/
|
|
25812
|
+
/***/ 9211:
|
|
25594
25813
|
/***/ ((module) => {
|
|
25595
25814
|
|
|
25596
25815
|
"use strict";
|
|
@@ -25617,18 +25836,18 @@ module.exports = function is(a, b) {
|
|
|
25617
25836
|
|
|
25618
25837
|
/***/ }),
|
|
25619
25838
|
|
|
25620
|
-
/***/
|
|
25839
|
+
/***/ 7653:
|
|
25621
25840
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25622
25841
|
|
|
25623
25842
|
"use strict";
|
|
25624
25843
|
|
|
25625
25844
|
|
|
25626
|
-
var define = __webpack_require__(
|
|
25627
|
-
var callBind = __webpack_require__(
|
|
25845
|
+
var define = __webpack_require__(8452);
|
|
25846
|
+
var callBind = __webpack_require__(487);
|
|
25628
25847
|
|
|
25629
|
-
var implementation = __webpack_require__(
|
|
25630
|
-
var getPolyfill = __webpack_require__(
|
|
25631
|
-
var shim = __webpack_require__(
|
|
25848
|
+
var implementation = __webpack_require__(9211);
|
|
25849
|
+
var getPolyfill = __webpack_require__(9394);
|
|
25850
|
+
var shim = __webpack_require__(6576);
|
|
25632
25851
|
|
|
25633
25852
|
var polyfill = callBind(getPolyfill(), Object);
|
|
25634
25853
|
|
|
@@ -25643,13 +25862,13 @@ module.exports = polyfill;
|
|
|
25643
25862
|
|
|
25644
25863
|
/***/ }),
|
|
25645
25864
|
|
|
25646
|
-
/***/
|
|
25865
|
+
/***/ 9394:
|
|
25647
25866
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25648
25867
|
|
|
25649
25868
|
"use strict";
|
|
25650
25869
|
|
|
25651
25870
|
|
|
25652
|
-
var implementation = __webpack_require__(
|
|
25871
|
+
var implementation = __webpack_require__(9211);
|
|
25653
25872
|
|
|
25654
25873
|
module.exports = function getPolyfill() {
|
|
25655
25874
|
return typeof Object.is === 'function' ? Object.is : implementation;
|
|
@@ -25658,14 +25877,14 @@ module.exports = function getPolyfill() {
|
|
|
25658
25877
|
|
|
25659
25878
|
/***/ }),
|
|
25660
25879
|
|
|
25661
|
-
/***/
|
|
25880
|
+
/***/ 6576:
|
|
25662
25881
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25663
25882
|
|
|
25664
25883
|
"use strict";
|
|
25665
25884
|
|
|
25666
25885
|
|
|
25667
|
-
var getPolyfill = __webpack_require__(
|
|
25668
|
-
var define = __webpack_require__(
|
|
25886
|
+
var getPolyfill = __webpack_require__(9394);
|
|
25887
|
+
var define = __webpack_require__(8452);
|
|
25669
25888
|
|
|
25670
25889
|
module.exports = function shimObjectIs() {
|
|
25671
25890
|
var polyfill = getPolyfill();
|
|
@@ -25680,7 +25899,7 @@ module.exports = function shimObjectIs() {
|
|
|
25680
25899
|
|
|
25681
25900
|
/***/ }),
|
|
25682
25901
|
|
|
25683
|
-
/***/
|
|
25902
|
+
/***/ 8875:
|
|
25684
25903
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25685
25904
|
|
|
25686
25905
|
"use strict";
|
|
@@ -25691,7 +25910,7 @@ if (!Object.keys) {
|
|
|
25691
25910
|
// modified from https://github.com/es-shims/es5-shim
|
|
25692
25911
|
var has = Object.prototype.hasOwnProperty;
|
|
25693
25912
|
var toStr = Object.prototype.toString;
|
|
25694
|
-
var isArgs = __webpack_require__(
|
|
25913
|
+
var isArgs = __webpack_require__(1093); // eslint-disable-line global-require
|
|
25695
25914
|
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
25696
25915
|
var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');
|
|
25697
25916
|
var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');
|
|
@@ -25810,17 +26029,17 @@ module.exports = keysShim;
|
|
|
25810
26029
|
|
|
25811
26030
|
/***/ }),
|
|
25812
26031
|
|
|
25813
|
-
/***/
|
|
26032
|
+
/***/ 1189:
|
|
25814
26033
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25815
26034
|
|
|
25816
26035
|
"use strict";
|
|
25817
26036
|
|
|
25818
26037
|
|
|
25819
26038
|
var slice = Array.prototype.slice;
|
|
25820
|
-
var isArgs = __webpack_require__(
|
|
26039
|
+
var isArgs = __webpack_require__(1093);
|
|
25821
26040
|
|
|
25822
26041
|
var origKeys = Object.keys;
|
|
25823
|
-
var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(
|
|
26042
|
+
var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(8875);
|
|
25824
26043
|
|
|
25825
26044
|
var originalKeys = Object.keys;
|
|
25826
26045
|
|
|
@@ -25850,7 +26069,7 @@ module.exports = keysShim;
|
|
|
25850
26069
|
|
|
25851
26070
|
/***/ }),
|
|
25852
26071
|
|
|
25853
|
-
/***/
|
|
26072
|
+
/***/ 1093:
|
|
25854
26073
|
/***/ ((module) => {
|
|
25855
26074
|
|
|
25856
26075
|
"use strict";
|
|
@@ -25875,16 +26094,16 @@ module.exports = function isArguments(value) {
|
|
|
25875
26094
|
|
|
25876
26095
|
/***/ }),
|
|
25877
26096
|
|
|
25878
|
-
/***/
|
|
26097
|
+
/***/ 8403:
|
|
25879
26098
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25880
26099
|
|
|
25881
26100
|
"use strict";
|
|
25882
26101
|
|
|
25883
26102
|
|
|
25884
26103
|
// modified from https://github.com/es-shims/es6-shim
|
|
25885
|
-
var objectKeys = __webpack_require__(
|
|
25886
|
-
var hasSymbols = __webpack_require__(
|
|
25887
|
-
var callBound = __webpack_require__(
|
|
26104
|
+
var objectKeys = __webpack_require__(1189);
|
|
26105
|
+
var hasSymbols = __webpack_require__(1333)();
|
|
26106
|
+
var callBound = __webpack_require__(8075);
|
|
25888
26107
|
var toObject = Object;
|
|
25889
26108
|
var $push = callBound('Array.prototype.push');
|
|
25890
26109
|
var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');
|
|
@@ -25929,13 +26148,13 @@ module.exports = function assign(target, source1) {
|
|
|
25929
26148
|
|
|
25930
26149
|
/***/ }),
|
|
25931
26150
|
|
|
25932
|
-
/***/
|
|
26151
|
+
/***/ 1514:
|
|
25933
26152
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25934
26153
|
|
|
25935
26154
|
"use strict";
|
|
25936
26155
|
|
|
25937
26156
|
|
|
25938
|
-
var implementation = __webpack_require__(
|
|
26157
|
+
var implementation = __webpack_require__(8403);
|
|
25939
26158
|
|
|
25940
26159
|
var lacksProperEnumerationOrder = function () {
|
|
25941
26160
|
if (!Object.assign) {
|
|
@@ -25992,7 +26211,31 @@ module.exports = function getPolyfill() {
|
|
|
25992
26211
|
|
|
25993
26212
|
/***/ }),
|
|
25994
26213
|
|
|
25995
|
-
/***/
|
|
26214
|
+
/***/ 6578:
|
|
26215
|
+
/***/ ((module) => {
|
|
26216
|
+
|
|
26217
|
+
"use strict";
|
|
26218
|
+
|
|
26219
|
+
|
|
26220
|
+
/** @type {import('.')} */
|
|
26221
|
+
module.exports = [
|
|
26222
|
+
'Float32Array',
|
|
26223
|
+
'Float64Array',
|
|
26224
|
+
'Int8Array',
|
|
26225
|
+
'Int16Array',
|
|
26226
|
+
'Int32Array',
|
|
26227
|
+
'Uint8Array',
|
|
26228
|
+
'Uint8ClampedArray',
|
|
26229
|
+
'Uint16Array',
|
|
26230
|
+
'Uint32Array',
|
|
26231
|
+
'BigInt64Array',
|
|
26232
|
+
'BigUint64Array'
|
|
26233
|
+
];
|
|
26234
|
+
|
|
26235
|
+
|
|
26236
|
+
/***/ }),
|
|
26237
|
+
|
|
26238
|
+
/***/ 5606:
|
|
25996
26239
|
/***/ ((module) => {
|
|
25997
26240
|
|
|
25998
26241
|
// shim for using process in browser
|
|
@@ -26183,12 +26426,12 @@ process.umask = function() { return 0; };
|
|
|
26183
26426
|
|
|
26184
26427
|
/***/ }),
|
|
26185
26428
|
|
|
26186
|
-
/***/
|
|
26429
|
+
/***/ 2861:
|
|
26187
26430
|
/***/ ((module, exports, __webpack_require__) => {
|
|
26188
26431
|
|
|
26189
26432
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
26190
26433
|
/* eslint-disable node/no-deprecated-api */
|
|
26191
|
-
var buffer = __webpack_require__(
|
|
26434
|
+
var buffer = __webpack_require__(8287)
|
|
26192
26435
|
var Buffer = buffer.Buffer
|
|
26193
26436
|
|
|
26194
26437
|
// alternative to using Object.keys for old browsers
|
|
@@ -26255,23 +26498,21 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
26255
26498
|
|
|
26256
26499
|
/***/ }),
|
|
26257
26500
|
|
|
26258
|
-
/***/
|
|
26501
|
+
/***/ 6897:
|
|
26259
26502
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26260
26503
|
|
|
26261
26504
|
"use strict";
|
|
26262
26505
|
|
|
26263
26506
|
|
|
26264
|
-
var GetIntrinsic = __webpack_require__(
|
|
26265
|
-
var define = __webpack_require__(
|
|
26266
|
-
var hasDescriptors = __webpack_require__(
|
|
26267
|
-
var gOPD = __webpack_require__(
|
|
26507
|
+
var GetIntrinsic = __webpack_require__(453);
|
|
26508
|
+
var define = __webpack_require__(41);
|
|
26509
|
+
var hasDescriptors = __webpack_require__(592)();
|
|
26510
|
+
var gOPD = __webpack_require__(5795);
|
|
26268
26511
|
|
|
26269
|
-
var $TypeError = __webpack_require__(
|
|
26512
|
+
var $TypeError = __webpack_require__(9675);
|
|
26270
26513
|
var $floor = GetIntrinsic('%Math.floor%');
|
|
26271
26514
|
|
|
26272
|
-
/** @
|
|
26273
|
-
|
|
26274
|
-
/** @type {<T extends Func = Func>(fn: T, length: number, loose?: boolean) => T} */
|
|
26515
|
+
/** @type {import('.')} */
|
|
26275
26516
|
module.exports = function setFunctionLength(fn, length) {
|
|
26276
26517
|
if (typeof fn !== 'function') {
|
|
26277
26518
|
throw new $TypeError('`fn` is not a function');
|
|
@@ -26307,10 +26548,10 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
26307
26548
|
|
|
26308
26549
|
/***/ }),
|
|
26309
26550
|
|
|
26310
|
-
/***/
|
|
26551
|
+
/***/ 392:
|
|
26311
26552
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26312
26553
|
|
|
26313
|
-
var Buffer = (__webpack_require__(
|
|
26554
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26314
26555
|
|
|
26315
26556
|
// prototype class for hash functions
|
|
26316
26557
|
function Hash (blockSize, finalSize) {
|
|
@@ -26395,7 +26636,7 @@ module.exports = Hash
|
|
|
26395
26636
|
|
|
26396
26637
|
/***/ }),
|
|
26397
26638
|
|
|
26398
|
-
/***/
|
|
26639
|
+
/***/ 2802:
|
|
26399
26640
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26400
26641
|
|
|
26401
26642
|
var exports = module.exports = function SHA (algorithm) {
|
|
@@ -26407,17 +26648,17 @@ var exports = module.exports = function SHA (algorithm) {
|
|
|
26407
26648
|
return new Algorithm()
|
|
26408
26649
|
}
|
|
26409
26650
|
|
|
26410
|
-
exports.sha = __webpack_require__(
|
|
26411
|
-
exports.sha1 = __webpack_require__(
|
|
26412
|
-
exports.sha224 = __webpack_require__(
|
|
26413
|
-
exports.sha256 = __webpack_require__(
|
|
26414
|
-
exports.sha384 = __webpack_require__(
|
|
26415
|
-
exports.sha512 = __webpack_require__(
|
|
26651
|
+
exports.sha = __webpack_require__(7816)
|
|
26652
|
+
exports.sha1 = __webpack_require__(3737)
|
|
26653
|
+
exports.sha224 = __webpack_require__(6710)
|
|
26654
|
+
exports.sha256 = __webpack_require__(4107)
|
|
26655
|
+
exports.sha384 = __webpack_require__(2827)
|
|
26656
|
+
exports.sha512 = __webpack_require__(2890)
|
|
26416
26657
|
|
|
26417
26658
|
|
|
26418
26659
|
/***/ }),
|
|
26419
26660
|
|
|
26420
|
-
/***/
|
|
26661
|
+
/***/ 7816:
|
|
26421
26662
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26422
26663
|
|
|
26423
26664
|
/*
|
|
@@ -26428,9 +26669,9 @@ exports.sha512 = __webpack_require__(3352)
|
|
|
26428
26669
|
* operation was added.
|
|
26429
26670
|
*/
|
|
26430
26671
|
|
|
26431
|
-
var inherits = __webpack_require__(
|
|
26432
|
-
var Hash = __webpack_require__(
|
|
26433
|
-
var Buffer = (__webpack_require__(
|
|
26672
|
+
var inherits = __webpack_require__(6698)
|
|
26673
|
+
var Hash = __webpack_require__(392)
|
|
26674
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26434
26675
|
|
|
26435
26676
|
var K = [
|
|
26436
26677
|
0x5a827999, 0x6ed9eba1, 0x8f1bbcdc | 0, 0xca62c1d6 | 0
|
|
@@ -26518,7 +26759,7 @@ module.exports = Sha
|
|
|
26518
26759
|
|
|
26519
26760
|
/***/ }),
|
|
26520
26761
|
|
|
26521
|
-
/***/
|
|
26762
|
+
/***/ 3737:
|
|
26522
26763
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26523
26764
|
|
|
26524
26765
|
/*
|
|
@@ -26530,9 +26771,9 @@ module.exports = Sha
|
|
|
26530
26771
|
* See http://pajhome.org.uk/crypt/md5 for details.
|
|
26531
26772
|
*/
|
|
26532
26773
|
|
|
26533
|
-
var inherits = __webpack_require__(
|
|
26534
|
-
var Hash = __webpack_require__(
|
|
26535
|
-
var Buffer = (__webpack_require__(
|
|
26774
|
+
var inherits = __webpack_require__(6698)
|
|
26775
|
+
var Hash = __webpack_require__(392)
|
|
26776
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26536
26777
|
|
|
26537
26778
|
var K = [
|
|
26538
26779
|
0x5a827999, 0x6ed9eba1, 0x8f1bbcdc | 0, 0xca62c1d6 | 0
|
|
@@ -26624,7 +26865,7 @@ module.exports = Sha1
|
|
|
26624
26865
|
|
|
26625
26866
|
/***/ }),
|
|
26626
26867
|
|
|
26627
|
-
/***/
|
|
26868
|
+
/***/ 6710:
|
|
26628
26869
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26629
26870
|
|
|
26630
26871
|
/**
|
|
@@ -26635,10 +26876,10 @@ module.exports = Sha1
|
|
|
26635
26876
|
*
|
|
26636
26877
|
*/
|
|
26637
26878
|
|
|
26638
|
-
var inherits = __webpack_require__(
|
|
26639
|
-
var Sha256 = __webpack_require__(
|
|
26640
|
-
var Hash = __webpack_require__(
|
|
26641
|
-
var Buffer = (__webpack_require__(
|
|
26879
|
+
var inherits = __webpack_require__(6698)
|
|
26880
|
+
var Sha256 = __webpack_require__(4107)
|
|
26881
|
+
var Hash = __webpack_require__(392)
|
|
26882
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26642
26883
|
|
|
26643
26884
|
var W = new Array(64)
|
|
26644
26885
|
|
|
@@ -26684,7 +26925,7 @@ module.exports = Sha224
|
|
|
26684
26925
|
|
|
26685
26926
|
/***/ }),
|
|
26686
26927
|
|
|
26687
|
-
/***/
|
|
26928
|
+
/***/ 4107:
|
|
26688
26929
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26689
26930
|
|
|
26690
26931
|
/**
|
|
@@ -26695,9 +26936,9 @@ module.exports = Sha224
|
|
|
26695
26936
|
*
|
|
26696
26937
|
*/
|
|
26697
26938
|
|
|
26698
|
-
var inherits = __webpack_require__(
|
|
26699
|
-
var Hash = __webpack_require__(
|
|
26700
|
-
var Buffer = (__webpack_require__(
|
|
26939
|
+
var inherits = __webpack_require__(6698)
|
|
26940
|
+
var Hash = __webpack_require__(392)
|
|
26941
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26701
26942
|
|
|
26702
26943
|
var K = [
|
|
26703
26944
|
0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5,
|
|
@@ -26826,13 +27067,13 @@ module.exports = Sha256
|
|
|
26826
27067
|
|
|
26827
27068
|
/***/ }),
|
|
26828
27069
|
|
|
26829
|
-
/***/
|
|
27070
|
+
/***/ 2827:
|
|
26830
27071
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26831
27072
|
|
|
26832
|
-
var inherits = __webpack_require__(
|
|
26833
|
-
var SHA512 = __webpack_require__(
|
|
26834
|
-
var Hash = __webpack_require__(
|
|
26835
|
-
var Buffer = (__webpack_require__(
|
|
27073
|
+
var inherits = __webpack_require__(6698)
|
|
27074
|
+
var SHA512 = __webpack_require__(2890)
|
|
27075
|
+
var Hash = __webpack_require__(392)
|
|
27076
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26836
27077
|
|
|
26837
27078
|
var W = new Array(160)
|
|
26838
27079
|
|
|
@@ -26890,12 +27131,12 @@ module.exports = Sha384
|
|
|
26890
27131
|
|
|
26891
27132
|
/***/ }),
|
|
26892
27133
|
|
|
26893
|
-
/***/
|
|
27134
|
+
/***/ 2890:
|
|
26894
27135
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26895
27136
|
|
|
26896
|
-
var inherits = __webpack_require__(
|
|
26897
|
-
var Hash = __webpack_require__(
|
|
26898
|
-
var Buffer = (__webpack_require__(
|
|
27137
|
+
var inherits = __webpack_require__(6698)
|
|
27138
|
+
var Hash = __webpack_require__(392)
|
|
27139
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26899
27140
|
|
|
26900
27141
|
var K = [
|
|
26901
27142
|
0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd,
|
|
@@ -27157,7 +27398,7 @@ module.exports = Sha512
|
|
|
27157
27398
|
|
|
27158
27399
|
/***/ }),
|
|
27159
27400
|
|
|
27160
|
-
/***/
|
|
27401
|
+
/***/ 8947:
|
|
27161
27402
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
27162
27403
|
|
|
27163
27404
|
(function(nacl) {
|
|
@@ -29539,7 +29780,7 @@ nacl.setPRNG = function(fn) {
|
|
|
29539
29780
|
});
|
|
29540
29781
|
} else if (true) {
|
|
29541
29782
|
// Node.js.
|
|
29542
|
-
crypto = __webpack_require__(
|
|
29783
|
+
crypto = __webpack_require__(1281);
|
|
29543
29784
|
if (crypto && crypto.randomBytes) {
|
|
29544
29785
|
nacl.setPRNG(function(x, n) {
|
|
29545
29786
|
var i, v = crypto.randomBytes(n);
|
|
@@ -29555,7 +29796,7 @@ nacl.setPRNG = function(fn) {
|
|
|
29555
29796
|
|
|
29556
29797
|
/***/ }),
|
|
29557
29798
|
|
|
29558
|
-
/***/
|
|
29799
|
+
/***/ 1135:
|
|
29559
29800
|
/***/ ((module) => {
|
|
29560
29801
|
|
|
29561
29802
|
module.exports = function isBuffer(arg) {
|
|
@@ -29576,10 +29817,10 @@ module.exports = function isBuffer(arg) {
|
|
|
29576
29817
|
|
|
29577
29818
|
|
|
29578
29819
|
|
|
29579
|
-
var isArgumentsObject = __webpack_require__(
|
|
29580
|
-
var isGeneratorFunction = __webpack_require__(
|
|
29581
|
-
var whichTypedArray = __webpack_require__(
|
|
29582
|
-
var isTypedArray = __webpack_require__(
|
|
29820
|
+
var isArgumentsObject = __webpack_require__(7244);
|
|
29821
|
+
var isGeneratorFunction = __webpack_require__(8184);
|
|
29822
|
+
var whichTypedArray = __webpack_require__(5767);
|
|
29823
|
+
var isTypedArray = __webpack_require__(5680);
|
|
29583
29824
|
|
|
29584
29825
|
function uncurryThis(f) {
|
|
29585
29826
|
return f.call.bind(f);
|
|
@@ -29909,11 +30150,11 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
29909
30150
|
|
|
29910
30151
|
/***/ }),
|
|
29911
30152
|
|
|
29912
|
-
/***/
|
|
30153
|
+
/***/ 537:
|
|
29913
30154
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
29914
30155
|
|
|
29915
|
-
/* provided dependency */ var process = __webpack_require__(
|
|
29916
|
-
/* provided dependency */ var console = __webpack_require__(
|
|
30156
|
+
/* provided dependency */ var process = __webpack_require__(5606);
|
|
30157
|
+
/* provided dependency */ var console = __webpack_require__(6763);
|
|
29917
30158
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
29918
30159
|
//
|
|
29919
30160
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -30461,7 +30702,7 @@ function isPrimitive(arg) {
|
|
|
30461
30702
|
}
|
|
30462
30703
|
exports.isPrimitive = isPrimitive;
|
|
30463
30704
|
|
|
30464
|
-
exports.isBuffer = __webpack_require__(
|
|
30705
|
+
exports.isBuffer = __webpack_require__(1135);
|
|
30465
30706
|
|
|
30466
30707
|
function objectToString(o) {
|
|
30467
30708
|
return Object.prototype.toString.call(o);
|
|
@@ -30505,7 +30746,7 @@ exports.log = function() {
|
|
|
30505
30746
|
* prototype.
|
|
30506
30747
|
* @param {function} superCtor Constructor function to inherit prototype from.
|
|
30507
30748
|
*/
|
|
30508
|
-
exports.inherits = __webpack_require__(
|
|
30749
|
+
exports.inherits = __webpack_require__(6698);
|
|
30509
30750
|
|
|
30510
30751
|
exports._extend = function(origin, add) {
|
|
30511
30752
|
// Don't do anything if add isn't an object
|
|
@@ -30633,20 +30874,21 @@ exports.callbackify = callbackify;
|
|
|
30633
30874
|
|
|
30634
30875
|
/***/ }),
|
|
30635
30876
|
|
|
30636
|
-
/***/
|
|
30877
|
+
/***/ 5767:
|
|
30637
30878
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
30638
30879
|
|
|
30639
30880
|
"use strict";
|
|
30640
30881
|
|
|
30641
30882
|
|
|
30642
|
-
var forEach = __webpack_require__(
|
|
30643
|
-
var availableTypedArrays = __webpack_require__(
|
|
30644
|
-
var callBind = __webpack_require__(
|
|
30645
|
-
var callBound = __webpack_require__(
|
|
30646
|
-
var gOPD = __webpack_require__(
|
|
30883
|
+
var forEach = __webpack_require__(2682);
|
|
30884
|
+
var availableTypedArrays = __webpack_require__(9209);
|
|
30885
|
+
var callBind = __webpack_require__(487);
|
|
30886
|
+
var callBound = __webpack_require__(8075);
|
|
30887
|
+
var gOPD = __webpack_require__(5795);
|
|
30647
30888
|
|
|
30889
|
+
/** @type {(O: object) => string} */
|
|
30648
30890
|
var $toString = callBound('Object.prototype.toString');
|
|
30649
|
-
var hasToStringTag = __webpack_require__(
|
|
30891
|
+
var hasToStringTag = __webpack_require__(9092)();
|
|
30650
30892
|
|
|
30651
30893
|
var g = typeof globalThis === 'undefined' ? __webpack_require__.g : globalThis;
|
|
30652
30894
|
var typedArrays = availableTypedArrays();
|
|
@@ -30654,7 +30896,8 @@ var typedArrays = availableTypedArrays();
|
|
|
30654
30896
|
var $slice = callBound('String.prototype.slice');
|
|
30655
30897
|
var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
|
|
30656
30898
|
|
|
30657
|
-
|
|
30899
|
+
/** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */
|
|
30900
|
+
var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
|
|
30658
30901
|
for (var i = 0; i < array.length; i += 1) {
|
|
30659
30902
|
if (array[i] === value) {
|
|
30660
30903
|
return i;
|
|
@@ -30663,9 +30906,8 @@ var $indexOf = callBound('Array.prototype.indexOf', true) || /** @type {(array:
|
|
|
30663
30906
|
return -1;
|
|
30664
30907
|
};
|
|
30665
30908
|
|
|
30666
|
-
/** @typedef {
|
|
30667
|
-
/** @
|
|
30668
|
-
/** @type {{ [k in `\$${TypedArrayName}`]?: (receiver: TypedArray) => string | typeof Uint8Array.prototype.slice.call | typeof Uint8Array.prototype.set.call } & { __proto__: null }} */
|
|
30909
|
+
/** @typedef {(receiver: import('.').TypedArray) => string | typeof Uint8Array.prototype.slice.call | typeof Uint8Array.prototype.set.call} Getter */
|
|
30910
|
+
/** @type {{ [k in `\$${import('.').TypedArrayName}`]?: Getter } & { __proto__: null }} */
|
|
30669
30911
|
var cache = { __proto__: null };
|
|
30670
30912
|
if (hasToStringTag && gOPD && getPrototypeOf) {
|
|
30671
30913
|
forEach(typedArrays, function (typedArray) {
|
|
@@ -30694,13 +30936,14 @@ if (hasToStringTag && gOPD && getPrototypeOf) {
|
|
|
30694
30936
|
});
|
|
30695
30937
|
}
|
|
30696
30938
|
|
|
30697
|
-
/** @type {import('.')} */
|
|
30939
|
+
/** @type {(value: object) => false | import('.').TypedArrayName} */
|
|
30698
30940
|
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
30699
|
-
/** @type {ReturnType<tryAllTypedArrays>} */ var found = false;
|
|
30941
|
+
/** @type {ReturnType<typeof tryAllTypedArrays>} */ var found = false;
|
|
30700
30942
|
forEach(
|
|
30701
30943
|
// eslint-disable-next-line no-extra-parens
|
|
30702
|
-
/** @type {Record<`\$${TypedArrayName}`,
|
|
30703
|
-
/** @type {(getter:
|
|
30944
|
+
/** @type {Record<`\$${TypedArrayName}`, Getter>} */ /** @type {any} */ (cache),
|
|
30945
|
+
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
30946
|
+
function (getter, typedArray) {
|
|
30704
30947
|
if (!found) {
|
|
30705
30948
|
try {
|
|
30706
30949
|
// @ts-expect-error TODO: fix
|
|
@@ -30714,16 +30957,16 @@ var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
|
30714
30957
|
return found;
|
|
30715
30958
|
};
|
|
30716
30959
|
|
|
30717
|
-
/** @type {import('.')} */
|
|
30960
|
+
/** @type {(value: object) => false | import('.').TypedArrayName} */
|
|
30718
30961
|
var trySlices = function tryAllSlices(value) {
|
|
30719
|
-
/** @type {ReturnType<tryAllSlices>} */ var found = false;
|
|
30962
|
+
/** @type {ReturnType<typeof tryAllSlices>} */ var found = false;
|
|
30720
30963
|
forEach(
|
|
30721
30964
|
// eslint-disable-next-line no-extra-parens
|
|
30722
|
-
/** @type {any} */ (cache),
|
|
30723
|
-
/** @type {(getter: typeof cache, name: `\$${TypedArrayName}`) => void} */ function (getter, name) {
|
|
30965
|
+
/** @type {Record<`\$${TypedArrayName}`, Getter>} */ /** @type {any} */ (cache),
|
|
30966
|
+
/** @type {(getter: typeof cache, name: `\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {
|
|
30724
30967
|
if (!found) {
|
|
30725
30968
|
try {
|
|
30726
|
-
|
|
30969
|
+
// @ts-expect-error TODO: fix
|
|
30727
30970
|
getter(value);
|
|
30728
30971
|
found = $slice(name, 1);
|
|
30729
30972
|
} catch (e) { /**/ }
|
|
@@ -30737,6 +30980,7 @@ var trySlices = function tryAllSlices(value) {
|
|
|
30737
30980
|
module.exports = function whichTypedArray(value) {
|
|
30738
30981
|
if (!value || typeof value !== 'object') { return false; }
|
|
30739
30982
|
if (!hasToStringTag) {
|
|
30983
|
+
/** @type {string} */
|
|
30740
30984
|
var tag = $slice($toString(value), 8, -1);
|
|
30741
30985
|
if ($indexOf(typedArrays, tag) > -1) {
|
|
30742
30986
|
return tag;
|
|
@@ -30754,32 +30998,20 @@ module.exports = function whichTypedArray(value) {
|
|
|
30754
30998
|
|
|
30755
30999
|
/***/ }),
|
|
30756
31000
|
|
|
30757
|
-
/***/
|
|
31001
|
+
/***/ 1281:
|
|
30758
31002
|
/***/ (() => {
|
|
30759
31003
|
|
|
30760
31004
|
/* (ignored) */
|
|
30761
31005
|
|
|
30762
31006
|
/***/ }),
|
|
30763
31007
|
|
|
30764
|
-
/***/
|
|
31008
|
+
/***/ 9209:
|
|
30765
31009
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
30766
31010
|
|
|
30767
31011
|
"use strict";
|
|
30768
31012
|
|
|
30769
31013
|
|
|
30770
|
-
var
|
|
30771
|
-
'BigInt64Array',
|
|
30772
|
-
'BigUint64Array',
|
|
30773
|
-
'Float32Array',
|
|
30774
|
-
'Float64Array',
|
|
30775
|
-
'Int16Array',
|
|
30776
|
-
'Int32Array',
|
|
30777
|
-
'Int8Array',
|
|
30778
|
-
'Uint16Array',
|
|
30779
|
-
'Uint32Array',
|
|
30780
|
-
'Uint8Array',
|
|
30781
|
-
'Uint8ClampedArray'
|
|
30782
|
-
];
|
|
31014
|
+
var possibleNames = __webpack_require__(6578);
|
|
30783
31015
|
|
|
30784
31016
|
var g = typeof globalThis === 'undefined' ? __webpack_require__.g : globalThis;
|
|
30785
31017
|
|
|
@@ -30900,7 +31132,7 @@ module.exports = function availableTypedArrays() {
|
|
|
30900
31132
|
/******/ // startup
|
|
30901
31133
|
/******/ // Load entry module and return exports
|
|
30902
31134
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
30903
|
-
/******/ var __webpack_exports__ = __webpack_require__(
|
|
31135
|
+
/******/ var __webpack_exports__ = __webpack_require__(7687);
|
|
30904
31136
|
/******/ StellarBase = __webpack_exports__;
|
|
30905
31137
|
/******/
|
|
30906
31138
|
/******/ })()
|