@credenza3/passport-evm 0.2.15 → 0.2.16
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/dist/{App-Cr6VD6df.js → App-C5YpYymI.js} +18 -18
- package/dist/{App-Cr6VD6df.js.map → App-C5YpYymI.js.map} +1 -1
- package/dist/{Button-DM2mshI-.js → Button-CgH5SEMt.js} +4 -4
- package/dist/{Button-DM2mshI-.js.map → Button-CgH5SEMt.js.map} +1 -1
- package/dist/{ButtonBack-otOBxyhm.js → ButtonBack-DSjBtEim.js} +4 -4
- package/dist/{ButtonBack-otOBxyhm.js.map → ButtonBack-DSjBtEim.js.map} +1 -1
- package/dist/{ButtonLink-DdkyW6UH.js → ButtonLink-D4vxifQx.js} +3 -3
- package/dist/{ButtonLink-DdkyW6UH.js.map → ButtonLink-D4vxifQx.js.map} +1 -1
- package/dist/{ConfirmAccount-D-yQ5kf2.js → ConfirmAccount-D-Psso2y.js} +9 -9
- package/dist/{ConfirmAccount-D-yQ5kf2.js.map → ConfirmAccount-D-Psso2y.js.map} +1 -1
- package/dist/{ContentHeader-yEGO8i6j.js → ContentHeader-C27HOz9e.js} +3 -3
- package/dist/{ContentHeader-yEGO8i6j.js.map → ContentHeader-C27HOz9e.js.map} +1 -1
- package/dist/{Error-NChFqGBT.js → Error-D1bln6zR.js} +5 -5
- package/dist/{Error-NChFqGBT.js.map → Error-D1bln6zR.js.map} +1 -1
- package/dist/{Input-DZj3Qj-n.js → Input-CWXtcpAS.js} +4 -4
- package/dist/{Input-DZj3Qj-n.js.map → Input-CWXtcpAS.js.map} +1 -1
- package/dist/{Label-D8cc_Ruk.js → Label-C6T9z-7X.js} +3 -3
- package/dist/{Label-D8cc_Ruk.js.map → Label-C6T9z-7X.js.map} +1 -1
- package/dist/{Loader-B-YyFNIZ.js → Loader-CYsj9IGD.js} +3 -3
- package/dist/{Loader-B-YyFNIZ.js.map → Loader-CYsj9IGD.js.map} +1 -1
- package/dist/{Login-CTrNVHVw.js → Login-CcedFmfH.js} +9 -9
- package/dist/{Login-CTrNVHVw.js.map → Login-CcedFmfH.js.map} +1 -1
- package/dist/{Logout-CXBHnpw7.js → Logout-DOgyzFES.js} +6 -6
- package/dist/{Logout-CXBHnpw7.js.map → Logout-DOgyzFES.js.map} +1 -1
- package/dist/{Nav-Cr9PNYvH.js → Nav-DOAenKWf.js} +5 -5
- package/dist/{Nav-Cr9PNYvH.js.map → Nav-DOAenKWf.js.map} +1 -1
- package/dist/{PassportId-CWVGIloj.js → PassportId-C0OV6Fcq.js} +6 -6
- package/dist/{PassportId-CWVGIloj.js.map → PassportId-C0OV6Fcq.js.map} +1 -1
- package/dist/{Payment-CT0OPhHK.js → Payment-DZm4sERy.js} +147 -144
- package/dist/Payment-DZm4sERy.js.map +1 -0
- package/dist/{PaymentResult-t52a3o97.js → PaymentResult-CLf13Vy-.js} +4 -4
- package/dist/{PaymentResult-t52a3o97.js.map → PaymentResult-CLf13Vy-.js.map} +1 -1
- package/dist/{Profile-D5MYXt-3.js → Profile-Br-ac0cx.js} +7 -7
- package/dist/{Profile-D5MYXt-3.js.map → Profile-Br-ac0cx.js.map} +1 -1
- package/dist/{ProgressVideo-jNSI7qda.js → ProgressVideo-DFF788Nn.js} +5 -5
- package/dist/{ProgressVideo-jNSI7qda.js.map → ProgressVideo-DFF788Nn.js.map} +1 -1
- package/dist/{RichAlert-Bqj9XlBF.js → RichAlert-BSfWE1-i.js} +6 -6
- package/dist/{RichAlert-Bqj9XlBF.js.map → RichAlert-BSfWE1-i.js.map} +1 -1
- package/dist/{Scanner-CVGsVag-.js → Scanner-PSdH3zih.js} +6 -6
- package/dist/{Scanner-CVGsVag-.js.map → Scanner-PSdH3zih.js.map} +1 -1
- package/dist/{SendTokens-civUV4zC.js → SendTokens-lbzymXV_.js} +7 -7
- package/dist/{SendTokens-civUV4zC.js.map → SendTokens-lbzymXV_.js.map} +1 -1
- package/dist/{Sign-Ce60RADN.js → Sign-QW4pPUF_.js} +6 -6
- package/dist/{Sign-Ce60RADN.js.map → Sign-QW4pPUF_.js.map} +1 -1
- package/dist/{Stripe.service-oXsybcus.js → Stripe.service-zo6A45C_.js} +3 -3
- package/dist/{Stripe.service-oXsybcus.js.map → Stripe.service-zo6A45C_.js.map} +1 -1
- package/dist/{UpdateProfile-CoUeMS1r.js → UpdateProfile-WbCNEoKL.js} +10 -10
- package/dist/{UpdateProfile-CoUeMS1r.js.map → UpdateProfile-WbCNEoKL.js.map} +1 -1
- package/dist/{UserInfo-xJVmkkkH.js → UserInfo-DWsm1xnj.js} +4 -4
- package/dist/{UserInfo-xJVmkkkH.js.map → UserInfo-DWsm1xnj.js.map} +1 -1
- package/dist/{Wallet-D6R6CjFq.js → Wallet-1zJpt9D_.js} +7 -7
- package/dist/{Wallet-D6R6CjFq.js.map → Wallet-1zJpt9D_.js.map} +1 -1
- package/dist/{each-D1y4pI2R.js → each-CjHuO3IT.js} +2 -2
- package/dist/{each-D1y4pI2R.js.map → each-CjHuO3IT.js.map} +1 -1
- package/dist/{html-CpZ2yh53.js → html-CdOfKbEs.js} +3 -3
- package/dist/{html-CpZ2yh53.js.map → html-CdOfKbEs.js.map} +1 -1
- package/dist/{index-BjcW8vls.js → index-XUicxtaa.js} +281 -279
- package/dist/{index-BjcW8vls.js.map → index-XUicxtaa.js.map} +1 -1
- package/dist/{index-client-3un-JMX3.js → index-client-C_weF8oa.js} +2 -2
- package/dist/{index-client-3un-JMX3.js.map → index-client-C_weF8oa.js.map} +1 -1
- package/dist/{input-BlDCJfWz.js → input-Oey-WEAC.js} +3 -3
- package/dist/{input-BlDCJfWz.js.map → input-Oey-WEAC.js.map} +1 -1
- package/dist/{legacy-BnQw8ZSv.js → legacy-BJ_CHyzI.js} +2 -2
- package/dist/{legacy-BnQw8ZSv.js.map → legacy-BJ_CHyzI.js.map} +1 -1
- package/dist/passport.es.js +1 -1
- package/dist/passport.umd.js +50 -50
- package/dist/passport.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/Payment-CT0OPhHK.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const OS = "0.2.
|
|
1
|
+
const OS = "0.2.16", TS = {
|
|
2
2
|
version: OS
|
|
3
3
|
}, z2 = !1;
|
|
4
4
|
var xS = Array.isArray, NS = Array.prototype.indexOf, yG = Array.from, vG = Object.defineProperty, oh = Object.getOwnPropertyDescriptor, PS = Object.getOwnPropertyDescriptors, MS = Object.prototype, BS = Array.prototype, l_ = Object.getPrototypeOf, j2 = Object.isExtensible;
|
|
@@ -2395,7 +2395,7 @@ function MC(e, t) {
|
|
|
2395
2395
|
return r + n;
|
|
2396
2396
|
}
|
|
2397
2397
|
var ai, ee, Tr, fe, Ho, Li, r1, n1, i1, s1;
|
|
2398
|
-
const
|
|
2398
|
+
const t6 = class tc {
|
|
2399
2399
|
// Use this when changing this file to get some typing info,
|
|
2400
2400
|
// but then switch to any to mask the internal type
|
|
2401
2401
|
//constructor(guard: any, value: bigint, format: _FixedFormat) {
|
|
@@ -2696,7 +2696,7 @@ const t5 = class tc {
|
|
|
2696
2696
|
ai = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), Tr = /* @__PURE__ */ new WeakMap(), fe = /* @__PURE__ */ new WeakSet(), Ho = function(e) {
|
|
2697
2697
|
I(this.format === e.format, "incompatible format; use fixedNumber.toFormat", "other", e);
|
|
2698
2698
|
}, Li = function(e, t) {
|
|
2699
|
-
return e = ll(e, v(this, ai), t), new
|
|
2699
|
+
return e = ll(e, v(this, ai), t), new t6(Xa, e, v(this, ai));
|
|
2700
2700
|
}, r1 = function(e, t) {
|
|
2701
2701
|
return j(this, fe, Ho).call(this, e), j(this, fe, Li).call(this, v(this, ee) + v(e, ee), t);
|
|
2702
2702
|
}, n1 = function(e, t) {
|
|
@@ -2710,7 +2710,7 @@ ai = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), Tr = /*
|
|
|
2710
2710
|
value: this
|
|
2711
2711
|
}), j(this, fe, Ho).call(this, e), j(this, fe, Li).call(this, v(this, ee) * v(this, Tr) / v(e, ee), t);
|
|
2712
2712
|
};
|
|
2713
|
-
let Mg =
|
|
2713
|
+
let Mg = t6;
|
|
2714
2714
|
function BC(e) {
|
|
2715
2715
|
let t = e.toString(16);
|
|
2716
2716
|
for (; t.length < 2; )
|
|
@@ -2726,7 +2726,7 @@ function Z2(e, t, r) {
|
|
|
2726
2726
|
function X2(e, t, r, n) {
|
|
2727
2727
|
const i = [];
|
|
2728
2728
|
for (; r < t + 1 + n; ) {
|
|
2729
|
-
const s =
|
|
2729
|
+
const s = e6(e, r);
|
|
2730
2730
|
i.push(s.result), r += s.consumed, D(r <= t + 1 + n, "child data too short", "BUFFER_OVERRUN", {
|
|
2731
2731
|
buffer: e,
|
|
2732
2732
|
length: n,
|
|
@@ -2735,7 +2735,7 @@ function X2(e, t, r, n) {
|
|
|
2735
2735
|
}
|
|
2736
2736
|
return { consumed: 1 + n, result: i };
|
|
2737
2737
|
}
|
|
2738
|
-
function
|
|
2738
|
+
function e6(e, t) {
|
|
2739
2739
|
D(e.length !== 0, "data too short", "BUFFER_OVERRUN", {
|
|
2740
2740
|
buffer: e,
|
|
2741
2741
|
length: 0,
|
|
@@ -2772,7 +2772,7 @@ function e5(e, t) {
|
|
|
2772
2772
|
return { consumed: 1, result: BC(e[t]) };
|
|
2773
2773
|
}
|
|
2774
2774
|
function Tu(e) {
|
|
2775
|
-
const t = Y(e, "data"), r =
|
|
2775
|
+
const t = Y(e, "data"), r = e6(t, 0);
|
|
2776
2776
|
return I(r.consumed === t.length, "unexpected junk after rlp payload", "data", e), r.result;
|
|
2777
2777
|
}
|
|
2778
2778
|
function t3(e) {
|
|
@@ -2781,11 +2781,11 @@ function t3(e) {
|
|
|
2781
2781
|
t.unshift(e & 255), e >>= 8;
|
|
2782
2782
|
return t;
|
|
2783
2783
|
}
|
|
2784
|
-
function
|
|
2784
|
+
function r6(e) {
|
|
2785
2785
|
if (Array.isArray(e)) {
|
|
2786
2786
|
let n = [];
|
|
2787
2787
|
if (e.forEach(function(s) {
|
|
2788
|
-
n = n.concat(
|
|
2788
|
+
n = n.concat(r6(s));
|
|
2789
2789
|
}), n.length <= 55)
|
|
2790
2790
|
return n.unshift(192 + n.length), n;
|
|
2791
2791
|
const i = t3(n.length);
|
|
@@ -2802,11 +2802,11 @@ function r5(e) {
|
|
|
2802
2802
|
const e3 = "0123456789abcdef";
|
|
2803
2803
|
function Xi(e) {
|
|
2804
2804
|
let t = "0x";
|
|
2805
|
-
for (const r of
|
|
2805
|
+
for (const r of r6(e))
|
|
2806
2806
|
t += e3[r >> 4], t += e3[r & 15];
|
|
2807
2807
|
return t;
|
|
2808
2808
|
}
|
|
2809
|
-
const
|
|
2809
|
+
const n6 = [
|
|
2810
2810
|
"wei",
|
|
2811
2811
|
"kwei",
|
|
2812
2812
|
"mwei",
|
|
@@ -2818,7 +2818,7 @@ const n5 = [
|
|
|
2818
2818
|
function Cv(e, t) {
|
|
2819
2819
|
let r = 18;
|
|
2820
2820
|
if (typeof t == "string") {
|
|
2821
|
-
const n =
|
|
2821
|
+
const n = n6.indexOf(t);
|
|
2822
2822
|
I(n >= 0, "invalid unit", "unit", t), r = 3 * n;
|
|
2823
2823
|
} else t != null && (r = ft(t, "unit"));
|
|
2824
2824
|
return Mg.fromValue(e, r, { decimals: r, width: 512 }).toString();
|
|
@@ -2827,15 +2827,15 @@ function kv(e, t) {
|
|
|
2827
2827
|
I(typeof e == "string", "value must be a string", "value", e);
|
|
2828
2828
|
let r = 18;
|
|
2829
2829
|
if (typeof t == "string") {
|
|
2830
|
-
const n =
|
|
2830
|
+
const n = n6.indexOf(t);
|
|
2831
2831
|
I(n >= 0, "invalid unit", "unit", t), r = 3 * n;
|
|
2832
2832
|
} else t != null && (r = ft(t, "unit"));
|
|
2833
2833
|
return Mg.fromString(e, { decimals: r, width: 512 }).value;
|
|
2834
2834
|
}
|
|
2835
|
-
function
|
|
2835
|
+
function i6(e) {
|
|
2836
2836
|
return Cv(e, 18);
|
|
2837
2837
|
}
|
|
2838
|
-
function
|
|
2838
|
+
function s6(e) {
|
|
2839
2839
|
return kv(e, 18);
|
|
2840
2840
|
}
|
|
2841
2841
|
function Iv(e) {
|
|
@@ -2850,12 +2850,12 @@ function Iv(e) {
|
|
|
2850
2850
|
r.substring(22, 34)
|
|
2851
2851
|
].join("-");
|
|
2852
2852
|
}
|
|
2853
|
-
const kr = 32, o1 = new Uint8Array(kr), UC = ["then"], Df = {},
|
|
2853
|
+
const kr = 32, o1 = new Uint8Array(kr), UC = ["then"], Df = {}, o6 = /* @__PURE__ */ new WeakMap();
|
|
2854
2854
|
function zo(e) {
|
|
2855
|
-
return
|
|
2855
|
+
return o6.get(e);
|
|
2856
2856
|
}
|
|
2857
2857
|
function r3(e, t) {
|
|
2858
|
-
|
|
2858
|
+
o6.set(e, t);
|
|
2859
2859
|
}
|
|
2860
2860
|
function Vu(e, t) {
|
|
2861
2861
|
const r = new Error(`deferred error during ABI decoding triggered accessing ${e}`);
|
|
@@ -2994,7 +2994,7 @@ const LC = class fl extends Array {
|
|
|
2994
2994
|
};
|
|
2995
2995
|
hl = /* @__PURE__ */ new WeakMap();
|
|
2996
2996
|
let Yc = LC;
|
|
2997
|
-
function
|
|
2997
|
+
function a6(e) {
|
|
2998
2998
|
const t = [], r = function(n, i) {
|
|
2999
2999
|
if (Array.isArray(i))
|
|
3000
3000
|
for (let s in i) {
|
|
@@ -3062,8 +3062,8 @@ class c1 {
|
|
|
3062
3062
|
Ms = /* @__PURE__ */ new WeakMap(), Ls = /* @__PURE__ */ new WeakMap(), pl = /* @__PURE__ */ new WeakSet(), Np = function(e) {
|
|
3063
3063
|
return v(this, Ms).push(e), E(this, Ls, v(this, Ls) + e.length), e.length;
|
|
3064
3064
|
};
|
|
3065
|
-
var Vr, qr, jo, Uc, Jo, ch, u1,
|
|
3066
|
-
const DC = class
|
|
3065
|
+
var Vr, qr, jo, Uc, Jo, ch, u1, c6;
|
|
3066
|
+
const DC = class u6 {
|
|
3067
3067
|
constructor(t, r, n) {
|
|
3068
3068
|
B(this, ch), O(this, "allowLoose"), B(this, Vr), B(this, qr), B(this, jo), B(this, Uc), B(this, Jo), tt(this, { allowLoose: !!r }), E(this, Vr, De(t)), E(this, jo, 0), E(this, Uc, null), E(this, Jo, n ?? 1024), E(this, qr, 0);
|
|
3069
3069
|
}
|
|
@@ -3081,12 +3081,12 @@ const DC = class u5 {
|
|
|
3081
3081
|
}
|
|
3082
3082
|
// Create a sub-reader with the same underlying data, but offset
|
|
3083
3083
|
subReader(t) {
|
|
3084
|
-
const r = new
|
|
3084
|
+
const r = new u6(v(this, Vr).slice(v(this, qr) + t), this.allowLoose, v(this, Jo));
|
|
3085
3085
|
return E(r, Uc, this), r;
|
|
3086
3086
|
}
|
|
3087
3087
|
// Read bytes
|
|
3088
3088
|
readBytes(t, r) {
|
|
3089
|
-
let n = j(this, ch,
|
|
3089
|
+
let n = j(this, ch, c6).call(this, 0, t, !!r);
|
|
3090
3090
|
return j(this, ch, u1).call(this, t), E(this, qr, v(this, qr) + n.length), n.slice(0, t);
|
|
3091
3091
|
}
|
|
3092
3092
|
// Read a numeric values
|
|
@@ -3110,7 +3110,7 @@ Vr = /* @__PURE__ */ new WeakMap(), qr = /* @__PURE__ */ new WeakMap(), jo = /*
|
|
|
3110
3110
|
dataLength: this.dataLength
|
|
3111
3111
|
}
|
|
3112
3112
|
});
|
|
3113
|
-
},
|
|
3113
|
+
}, c6 = function(e, t, r) {
|
|
3114
3114
|
let n = Math.ceil(t / kr) * kr;
|
|
3115
3115
|
return v(this, qr) + n > v(this, Vr).length && (this.allowLoose && r && v(this, qr) + t <= v(this, Vr).length ? n = t : D(!1, "data out-of-bounds", "BUFFER_OVERRUN", {
|
|
3116
3116
|
buffer: De(v(this, Vr)),
|
|
@@ -3129,7 +3129,7 @@ function Rv(e, ...t) {
|
|
|
3129
3129
|
if (t.length > 0 && !t.includes(e.length))
|
|
3130
3130
|
throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`);
|
|
3131
3131
|
}
|
|
3132
|
-
function
|
|
3132
|
+
function l6(e) {
|
|
3133
3133
|
if (typeof e != "function" || typeof e.create != "function")
|
|
3134
3134
|
throw new Error("Hash should be wrapped by utils.wrapConstructor");
|
|
3135
3135
|
Kr(e.outputLen), Kr(e.blockLen);
|
|
@@ -3140,7 +3140,7 @@ function Zc(e, t = !0) {
|
|
|
3140
3140
|
if (t && e.finished)
|
|
3141
3141
|
throw new Error("Hash#digest() has already been called");
|
|
3142
3142
|
}
|
|
3143
|
-
function
|
|
3143
|
+
function h6(e, t) {
|
|
3144
3144
|
Rv(e);
|
|
3145
3145
|
const r = t.outputLen;
|
|
3146
3146
|
if (e.length < r)
|
|
@@ -3148,7 +3148,7 @@ function h5(e, t) {
|
|
|
3148
3148
|
}
|
|
3149
3149
|
const Wm = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
|
|
3150
3150
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
3151
|
-
const
|
|
3151
|
+
const f6 = (e) => e instanceof Uint8Array, Pp = (e) => new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4)), Mp = (e) => new DataView(e.buffer, e.byteOffset, e.byteLength), Zn = (e, t) => e << 32 - t | e >>> t, $C = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
|
|
3152
3152
|
if (!$C)
|
|
3153
3153
|
throw new Error("Non little-endian hardware is not supported");
|
|
3154
3154
|
const GC = async () => {
|
|
@@ -3167,7 +3167,7 @@ function HC(e) {
|
|
|
3167
3167
|
return new Uint8Array(new TextEncoder().encode(e));
|
|
3168
3168
|
}
|
|
3169
3169
|
function Xc(e) {
|
|
3170
|
-
if (typeof e == "string" && (e = HC(e)), !
|
|
3170
|
+
if (typeof e == "string" && (e = HC(e)), !f6(e))
|
|
3171
3171
|
throw new Error(`expected Uint8Array, got ${typeof e}`);
|
|
3172
3172
|
return e;
|
|
3173
3173
|
}
|
|
@@ -3175,7 +3175,7 @@ function zC(...e) {
|
|
|
3175
3175
|
const t = new Uint8Array(e.reduce((n, i) => n + i.length, 0));
|
|
3176
3176
|
let r = 0;
|
|
3177
3177
|
return e.forEach((n) => {
|
|
3178
|
-
if (!
|
|
3178
|
+
if (!f6(n))
|
|
3179
3179
|
throw new Error("Uint8Array expected");
|
|
3180
3180
|
t.set(n, r), r += n.length;
|
|
3181
3181
|
}), t;
|
|
@@ -3187,7 +3187,7 @@ class Ov {
|
|
|
3187
3187
|
}
|
|
3188
3188
|
}
|
|
3189
3189
|
const jC = {}.toString;
|
|
3190
|
-
function
|
|
3190
|
+
function p6(e, t) {
|
|
3191
3191
|
if (t !== void 0 && jC.call(t) !== "[object Object]")
|
|
3192
3192
|
throw new Error("Options should be object or undefined");
|
|
3193
3193
|
return Object.assign(e, t);
|
|
@@ -3201,9 +3201,9 @@ function WC(e = 32) {
|
|
|
3201
3201
|
return Wm.getRandomValues(new Uint8Array(e));
|
|
3202
3202
|
throw new Error("crypto.getRandomValues must be defined");
|
|
3203
3203
|
}
|
|
3204
|
-
class
|
|
3204
|
+
class d6 extends Ov {
|
|
3205
3205
|
constructor(t, r) {
|
|
3206
|
-
super(), this.finished = !1, this.destroyed = !1,
|
|
3206
|
+
super(), this.finished = !1, this.destroyed = !1, l6(t);
|
|
3207
3207
|
const n = Xc(r);
|
|
3208
3208
|
if (this.iHash = t.create(), typeof this.iHash.update != "function")
|
|
3209
3209
|
throw new Error("Expected instance of class which extends utils.Hash");
|
|
@@ -3236,11 +3236,11 @@ class d5 extends Ov {
|
|
|
3236
3236
|
this.destroyed = !0, this.oHash.destroy(), this.iHash.destroy();
|
|
3237
3237
|
}
|
|
3238
3238
|
}
|
|
3239
|
-
const Ug = (e, t, r) => new
|
|
3240
|
-
Ug.create = (e, t) => new
|
|
3239
|
+
const Ug = (e, t, r) => new d6(e, t).update(r).digest();
|
|
3240
|
+
Ug.create = (e, t) => new d6(e, t);
|
|
3241
3241
|
function VC(e, t, r, n) {
|
|
3242
|
-
|
|
3243
|
-
const i =
|
|
3242
|
+
l6(e);
|
|
3243
|
+
const i = p6({ dkLen: 32, asyncTick: 10 }, n), { c: s, dkLen: o, asyncTick: a } = i;
|
|
3244
3244
|
if (Kr(s), Kr(o), Kr(a), s < 1)
|
|
3245
3245
|
throw new Error("PBKDF2: iterations (c) should be >= 1");
|
|
3246
3246
|
const c = Xc(t), u = Xc(r), l = new Uint8Array(o), h = Ug.create(e, c), f = h._cloneInto().update(u);
|
|
@@ -3292,7 +3292,7 @@ class xv extends Ov {
|
|
|
3292
3292
|
return this.length += t.length, this.roundClean(), this;
|
|
3293
3293
|
}
|
|
3294
3294
|
digestInto(t) {
|
|
3295
|
-
Zc(this),
|
|
3295
|
+
Zc(this), h6(t, this), this.finished = !0;
|
|
3296
3296
|
const { buffer: r, view: n, blockLen: i, isLE: s } = this;
|
|
3297
3297
|
let { pos: o } = this;
|
|
3298
3298
|
r[o++] = 128, this.buffer.subarray(o).fill(0), this.padOffset > i - o && (this.process(n, 0), o = 0);
|
|
@@ -3429,25 +3429,25 @@ class ZC extends xv {
|
|
|
3429
3429
|
}
|
|
3430
3430
|
}
|
|
3431
3431
|
const xu = /* @__PURE__ */ Bg(() => new ZC()), Ff = /* @__PURE__ */ BigInt(2 ** 32 - 1), l1 = /* @__PURE__ */ BigInt(32);
|
|
3432
|
-
function
|
|
3432
|
+
function g6(e, t = !1) {
|
|
3433
3433
|
return t ? { h: Number(e & Ff), l: Number(e >> l1 & Ff) } : { h: Number(e >> l1 & Ff) | 0, l: Number(e & Ff) | 0 };
|
|
3434
3434
|
}
|
|
3435
|
-
function
|
|
3435
|
+
function m6(e, t = !1) {
|
|
3436
3436
|
let r = new Uint32Array(e.length), n = new Uint32Array(e.length);
|
|
3437
3437
|
for (let i = 0; i < e.length; i++) {
|
|
3438
|
-
const { h: s, l: o } =
|
|
3438
|
+
const { h: s, l: o } = g6(e[i], t);
|
|
3439
3439
|
[r[i], n[i]] = [s, o];
|
|
3440
3440
|
}
|
|
3441
3441
|
return [r, n];
|
|
3442
3442
|
}
|
|
3443
|
-
const XC = (e, t) => BigInt(e >>> 0) << l1 | BigInt(t >>> 0), tk = (e, t, r) => e >>> r, ek = (e, t, r) => e << 32 - r | t >>> r, rk = (e, t, r) => e >>> r | t << 32 - r, nk = (e, t, r) => e << 32 - r | t >>> r, ik = (e, t, r) => e << 64 - r | t >>> r - 32, sk = (e, t, r) => e >>> r - 32 | t << 64 - r, ok = (e, t) => t, ak = (e, t) => e,
|
|
3443
|
+
const XC = (e, t) => BigInt(e >>> 0) << l1 | BigInt(t >>> 0), tk = (e, t, r) => e >>> r, ek = (e, t, r) => e << 32 - r | t >>> r, rk = (e, t, r) => e >>> r | t << 32 - r, nk = (e, t, r) => e << 32 - r | t >>> r, ik = (e, t, r) => e << 64 - r | t >>> r - 32, sk = (e, t, r) => e >>> r - 32 | t << 64 - r, ok = (e, t) => t, ak = (e, t) => e, y6 = (e, t, r) => e << r | t >>> 32 - r, v6 = (e, t, r) => t << r | e >>> 32 - r, w6 = (e, t, r) => t << r - 32 | e >>> 64 - r, b6 = (e, t, r) => e << r - 32 | t >>> 64 - r;
|
|
3444
3444
|
function ck(e, t, r, n) {
|
|
3445
3445
|
const i = (t >>> 0) + (n >>> 0);
|
|
3446
3446
|
return { h: e + r + (i / 2 ** 32 | 0) | 0, l: i | 0 };
|
|
3447
3447
|
}
|
|
3448
3448
|
const uk = (e, t, r) => (e >>> 0) + (t >>> 0) + (r >>> 0), lk = (e, t, r, n) => t + r + n + (e / 2 ** 32 | 0) | 0, hk = (e, t, r, n) => (e >>> 0) + (t >>> 0) + (r >>> 0) + (n >>> 0), fk = (e, t, r, n, i) => t + r + n + i + (e / 2 ** 32 | 0) | 0, pk = (e, t, r, n, i) => (e >>> 0) + (t >>> 0) + (r >>> 0) + (n >>> 0) + (i >>> 0), dk = (e, t, r, n, i, s) => t + r + n + i + s + (e / 2 ** 32 | 0) | 0, _t = {
|
|
3449
|
-
fromBig:
|
|
3450
|
-
split:
|
|
3449
|
+
fromBig: g6,
|
|
3450
|
+
split: m6,
|
|
3451
3451
|
toBig: XC,
|
|
3452
3452
|
shrSH: tk,
|
|
3453
3453
|
shrSL: ek,
|
|
@@ -3457,10 +3457,10 @@ const uk = (e, t, r) => (e >>> 0) + (t >>> 0) + (r >>> 0), lk = (e, t, r, n) =>
|
|
|
3457
3457
|
rotrBL: sk,
|
|
3458
3458
|
rotr32H: ok,
|
|
3459
3459
|
rotr32L: ak,
|
|
3460
|
-
rotlSH:
|
|
3461
|
-
rotlSL:
|
|
3462
|
-
rotlBH:
|
|
3463
|
-
rotlBL:
|
|
3460
|
+
rotlSH: y6,
|
|
3461
|
+
rotlSL: v6,
|
|
3462
|
+
rotlBH: w6,
|
|
3463
|
+
rotlBL: b6,
|
|
3464
3464
|
add: ck,
|
|
3465
3465
|
add3L: uk,
|
|
3466
3466
|
add3H: lk,
|
|
@@ -3597,7 +3597,7 @@ function vk() {
|
|
|
3597
3597
|
throw new Error("unable to locate global object");
|
|
3598
3598
|
}
|
|
3599
3599
|
const s3 = vk(), o3 = s3.crypto || s3.msCrypto;
|
|
3600
|
-
function
|
|
3600
|
+
function _6(e) {
|
|
3601
3601
|
switch (e) {
|
|
3602
3602
|
case "sha256":
|
|
3603
3603
|
return xu.create();
|
|
@@ -3621,34 +3621,34 @@ function _k(e) {
|
|
|
3621
3621
|
const t = new Uint8Array(e);
|
|
3622
3622
|
return o3.getRandomValues(t), t;
|
|
3623
3623
|
}
|
|
3624
|
-
let
|
|
3625
|
-
const
|
|
3624
|
+
let A6 = !1;
|
|
3625
|
+
const E6 = function(e, t, r) {
|
|
3626
3626
|
return wk(e, t).update(r).digest();
|
|
3627
3627
|
};
|
|
3628
|
-
let
|
|
3628
|
+
let S6 = E6;
|
|
3629
3629
|
function os(e, t, r) {
|
|
3630
3630
|
const n = Y(t, "key"), i = Y(r, "data");
|
|
3631
|
-
return V(
|
|
3631
|
+
return V(S6(e, n, i));
|
|
3632
3632
|
}
|
|
3633
|
-
os._ =
|
|
3633
|
+
os._ = E6;
|
|
3634
3634
|
os.lock = function() {
|
|
3635
|
-
|
|
3635
|
+
A6 = !0;
|
|
3636
3636
|
};
|
|
3637
3637
|
os.register = function(e) {
|
|
3638
|
-
if (
|
|
3638
|
+
if (A6)
|
|
3639
3639
|
throw new Error("computeHmac is locked");
|
|
3640
|
-
|
|
3640
|
+
S6 = e;
|
|
3641
3641
|
};
|
|
3642
3642
|
Object.freeze(os);
|
|
3643
|
-
const [
|
|
3643
|
+
const [C6, k6, I6] = [[], [], []], Ak = /* @__PURE__ */ BigInt(0), qu = /* @__PURE__ */ BigInt(1), Ek = /* @__PURE__ */ BigInt(2), Sk = /* @__PURE__ */ BigInt(7), Ck = /* @__PURE__ */ BigInt(256), kk = /* @__PURE__ */ BigInt(113);
|
|
3644
3644
|
for (let e = 0, t = qu, r = 1, n = 0; e < 24; e++) {
|
|
3645
|
-
[r, n] = [n, (2 * r + 3 * n) % 5],
|
|
3645
|
+
[r, n] = [n, (2 * r + 3 * n) % 5], C6.push(2 * (5 * n + r)), k6.push((e + 1) * (e + 2) / 2 % 64);
|
|
3646
3646
|
let i = Ak;
|
|
3647
3647
|
for (let s = 0; s < 7; s++)
|
|
3648
3648
|
t = (t << qu ^ (t >> Sk) * kk) % Ck, t & Ek && (i ^= qu << (qu << /* @__PURE__ */ BigInt(s)) - qu);
|
|
3649
|
-
|
|
3649
|
+
I6.push(i);
|
|
3650
3650
|
}
|
|
3651
|
-
const [Ik, Rk] = /* @__PURE__ */
|
|
3651
|
+
const [Ik, Rk] = /* @__PURE__ */ m6(I6, !0), a3 = (e, t, r) => r > 32 ? w6(e, t, r) : y6(e, t, r), c3 = (e, t, r) => r > 32 ? b6(e, t, r) : v6(e, t, r);
|
|
3652
3652
|
function Ok(e, t = 24) {
|
|
3653
3653
|
const r = new Uint32Array(10);
|
|
3654
3654
|
for (let n = 24 - t; n < 24; n++) {
|
|
@@ -3661,7 +3661,7 @@ function Ok(e, t = 24) {
|
|
|
3661
3661
|
}
|
|
3662
3662
|
let i = e[2], s = e[3];
|
|
3663
3663
|
for (let o = 0; o < 24; o++) {
|
|
3664
|
-
const a =
|
|
3664
|
+
const a = k6[o], c = a3(i, s, a), u = c3(i, s, a), l = C6[o];
|
|
3665
3665
|
i = e[l], s = e[l + 1], e[l] = c, e[l + 1] = u;
|
|
3666
3666
|
}
|
|
3667
3667
|
for (let o = 0; o < 50; o += 10) {
|
|
@@ -3723,7 +3723,7 @@ class Pv extends Ov {
|
|
|
3723
3723
|
return Kr(t), this.xofInto(new Uint8Array(t));
|
|
3724
3724
|
}
|
|
3725
3725
|
digestInto(t) {
|
|
3726
|
-
if (
|
|
3726
|
+
if (h6(t, this), this.finished)
|
|
3727
3727
|
throw new Error("digest() was already called");
|
|
3728
3728
|
return this.writeInto(t), this.destroy(), t;
|
|
3729
3729
|
}
|
|
@@ -3739,37 +3739,37 @@ class Pv extends Ov {
|
|
|
3739
3739
|
}
|
|
3740
3740
|
}
|
|
3741
3741
|
const Tk = (e, t, r) => Bg(() => new Pv(t, e, r)), xk = /* @__PURE__ */ Tk(1, 136, 256 / 8);
|
|
3742
|
-
let
|
|
3743
|
-
const
|
|
3742
|
+
let R6 = !1;
|
|
3743
|
+
const O6 = function(e) {
|
|
3744
3744
|
return xk(e);
|
|
3745
3745
|
};
|
|
3746
|
-
let
|
|
3746
|
+
let T6 = O6;
|
|
3747
3747
|
function Qt(e) {
|
|
3748
3748
|
const t = Y(e, "data");
|
|
3749
|
-
return V(
|
|
3749
|
+
return V(T6(t));
|
|
3750
3750
|
}
|
|
3751
|
-
Qt._ =
|
|
3751
|
+
Qt._ = O6;
|
|
3752
3752
|
Qt.lock = function() {
|
|
3753
|
-
|
|
3753
|
+
R6 = !0;
|
|
3754
3754
|
};
|
|
3755
3755
|
Qt.register = function(e) {
|
|
3756
|
-
if (
|
|
3756
|
+
if (R6)
|
|
3757
3757
|
throw new TypeError("keccak256 is locked");
|
|
3758
|
-
|
|
3758
|
+
T6 = e;
|
|
3759
3759
|
};
|
|
3760
3760
|
Object.freeze(Qt);
|
|
3761
|
-
const Nk = /* @__PURE__ */ new Uint8Array([7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8]),
|
|
3762
|
-
let Mv = [
|
|
3761
|
+
const Nk = /* @__PURE__ */ new Uint8Array([7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8]), x6 = /* @__PURE__ */ Uint8Array.from({ length: 16 }, (e, t) => t), Pk = /* @__PURE__ */ x6.map((e) => (9 * e + 5) % 16);
|
|
3762
|
+
let Mv = [x6], Bv = [Pk];
|
|
3763
3763
|
for (let e = 0; e < 4; e++)
|
|
3764
3764
|
for (let t of [Mv, Bv])
|
|
3765
3765
|
t.push(t[e].map((r) => Nk[r]));
|
|
3766
|
-
const
|
|
3766
|
+
const N6 = /* @__PURE__ */ [
|
|
3767
3767
|
[11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8],
|
|
3768
3768
|
[12, 13, 11, 15, 6, 9, 9, 7, 12, 15, 11, 13, 7, 8, 7, 7],
|
|
3769
3769
|
[13, 15, 14, 11, 7, 7, 6, 8, 13, 14, 13, 12, 5, 5, 6, 9],
|
|
3770
3770
|
[14, 11, 12, 14, 8, 6, 5, 5, 15, 12, 15, 14, 9, 9, 8, 6],
|
|
3771
3771
|
[15, 12, 13, 13, 9, 5, 8, 6, 14, 11, 12, 11, 8, 6, 5, 5]
|
|
3772
|
-
].map((e) => new Uint8Array(e)), Mk = /* @__PURE__ */ Mv.map((e, t) => e.map((r) =>
|
|
3772
|
+
].map((e) => new Uint8Array(e)), Mk = /* @__PURE__ */ Mv.map((e, t) => e.map((r) => N6[t][r])), Bk = /* @__PURE__ */ Bv.map((e, t) => e.map((r) => N6[t][r])), Uk = /* @__PURE__ */ new Uint32Array([
|
|
3773
3773
|
0,
|
|
3774
3774
|
1518500249,
|
|
3775
3775
|
1859775393,
|
|
@@ -3822,60 +3822,60 @@ class Dk extends xv {
|
|
|
3822
3822
|
}
|
|
3823
3823
|
}
|
|
3824
3824
|
const Fk = /* @__PURE__ */ Bg(() => new Dk());
|
|
3825
|
-
let
|
|
3826
|
-
const
|
|
3825
|
+
let P6 = !1;
|
|
3826
|
+
const M6 = function(e) {
|
|
3827
3827
|
return Fk(e);
|
|
3828
3828
|
};
|
|
3829
|
-
let
|
|
3829
|
+
let B6 = M6;
|
|
3830
3830
|
function as(e) {
|
|
3831
3831
|
const t = Y(e, "data");
|
|
3832
|
-
return V(
|
|
3832
|
+
return V(B6(t));
|
|
3833
3833
|
}
|
|
3834
|
-
as._ =
|
|
3834
|
+
as._ = M6;
|
|
3835
3835
|
as.lock = function() {
|
|
3836
|
-
|
|
3836
|
+
P6 = !0;
|
|
3837
3837
|
};
|
|
3838
3838
|
as.register = function(e) {
|
|
3839
|
-
if (
|
|
3839
|
+
if (P6)
|
|
3840
3840
|
throw new TypeError("ripemd160 is locked");
|
|
3841
|
-
|
|
3841
|
+
B6 = e;
|
|
3842
3842
|
};
|
|
3843
3843
|
Object.freeze(as);
|
|
3844
|
-
let
|
|
3845
|
-
const
|
|
3844
|
+
let U6 = !1;
|
|
3845
|
+
const L6 = function(e, t, r, n, i) {
|
|
3846
3846
|
return bk(e, t, r, n, i);
|
|
3847
3847
|
};
|
|
3848
|
-
let
|
|
3848
|
+
let D6 = L6;
|
|
3849
3849
|
function Jn(e, t, r, n, i) {
|
|
3850
3850
|
const s = Y(e, "password"), o = Y(t, "salt");
|
|
3851
|
-
return V(
|
|
3851
|
+
return V(D6(s, o, r, n, i));
|
|
3852
3852
|
}
|
|
3853
|
-
Jn._ =
|
|
3853
|
+
Jn._ = L6;
|
|
3854
3854
|
Jn.lock = function() {
|
|
3855
|
-
|
|
3855
|
+
U6 = !0;
|
|
3856
3856
|
};
|
|
3857
3857
|
Jn.register = function(e) {
|
|
3858
|
-
if (
|
|
3858
|
+
if (U6)
|
|
3859
3859
|
throw new Error("pbkdf2 is locked");
|
|
3860
|
-
|
|
3860
|
+
D6 = e;
|
|
3861
3861
|
};
|
|
3862
3862
|
Object.freeze(Jn);
|
|
3863
|
-
let
|
|
3864
|
-
const $
|
|
3863
|
+
let F6 = !1;
|
|
3864
|
+
const $6 = function(e) {
|
|
3865
3865
|
return new Uint8Array(_k(e));
|
|
3866
3866
|
};
|
|
3867
|
-
let
|
|
3867
|
+
let G6 = $6;
|
|
3868
3868
|
function Qr(e) {
|
|
3869
|
-
return
|
|
3869
|
+
return G6(e);
|
|
3870
3870
|
}
|
|
3871
|
-
Qr._ = $
|
|
3871
|
+
Qr._ = $6;
|
|
3872
3872
|
Qr.lock = function() {
|
|
3873
|
-
|
|
3873
|
+
F6 = !0;
|
|
3874
3874
|
};
|
|
3875
3875
|
Qr.register = function(e) {
|
|
3876
|
-
if (
|
|
3876
|
+
if (F6)
|
|
3877
3877
|
throw new Error("randomBytes is locked");
|
|
3878
|
-
|
|
3878
|
+
G6 = e;
|
|
3879
3879
|
};
|
|
3880
3880
|
Object.freeze(Qr);
|
|
3881
3881
|
const Dt = (e, t) => e << t | e >>> 32 - t;
|
|
@@ -3892,8 +3892,8 @@ function Lc(e, t, r, n, i) {
|
|
|
3892
3892
|
for (let a = 0; a < i; a++, s += 16, t += 16)
|
|
3893
3893
|
l3(r, o, e, t, r, s), a > 0 && (o += 16), l3(r, s, e, t += 16, r, o);
|
|
3894
3894
|
}
|
|
3895
|
-
function
|
|
3896
|
-
const n =
|
|
3895
|
+
function H6(e, t, r) {
|
|
3896
|
+
const n = p6({
|
|
3897
3897
|
dkLen: 32,
|
|
3898
3898
|
asyncTick: 10,
|
|
3899
3899
|
maxmem: 1073742848
|
|
@@ -3922,12 +3922,12 @@ function H5(e, t, r) {
|
|
|
3922
3922
|
}
|
|
3923
3923
|
return { N: i, r: s, p: o, dkLen: a, blockSize32: f, V: y, B32: w, B: g, tmp: _, blockMixCb: C, asyncTick: c };
|
|
3924
3924
|
}
|
|
3925
|
-
function
|
|
3925
|
+
function z6(e, t, r, n, i) {
|
|
3926
3926
|
const s = Tv(xu, e, r, { c: 1, dkLen: t });
|
|
3927
3927
|
return r.fill(0), n.fill(0), i.fill(0), s;
|
|
3928
3928
|
}
|
|
3929
3929
|
function $k(e, t, r) {
|
|
3930
|
-
const { N: n, r: i, p: s, dkLen: o, blockSize32: a, V: c, B32: u, B: l, tmp: h, blockMixCb: f } =
|
|
3930
|
+
const { N: n, r: i, p: s, dkLen: o, blockSize32: a, V: c, B32: u, B: l, tmp: h, blockMixCb: f } = H6(e, t, r);
|
|
3931
3931
|
for (let d = 0; d < s; d++) {
|
|
3932
3932
|
const g = a * d;
|
|
3933
3933
|
for (let w = 0; w < a; w++)
|
|
@@ -3942,10 +3942,10 @@ function $k(e, t, r) {
|
|
|
3942
3942
|
Lc(h, 0, u, g, i), f();
|
|
3943
3943
|
}
|
|
3944
3944
|
}
|
|
3945
|
-
return
|
|
3945
|
+
return z6(e, o, l, c, h);
|
|
3946
3946
|
}
|
|
3947
3947
|
async function Gk(e, t, r) {
|
|
3948
|
-
const { N: n, r: i, p: s, dkLen: o, blockSize32: a, V: c, B32: u, B: l, tmp: h, blockMixCb: f, asyncTick: d } =
|
|
3948
|
+
const { N: n, r: i, p: s, dkLen: o, blockSize32: a, V: c, B32: u, B: l, tmp: h, blockMixCb: f, asyncTick: d } = H6(e, t, r);
|
|
3949
3949
|
for (let g = 0; g < s; g++) {
|
|
3950
3950
|
const w = a * g;
|
|
3951
3951
|
for (let _ = 0; _ < a; _++)
|
|
@@ -3960,79 +3960,79 @@ async function Gk(e, t, r) {
|
|
|
3960
3960
|
Lc(h, 0, u, w, i), f();
|
|
3961
3961
|
});
|
|
3962
3962
|
}
|
|
3963
|
-
return
|
|
3963
|
+
return z6(e, o, l, c, h);
|
|
3964
3964
|
}
|
|
3965
|
-
let
|
|
3966
|
-
const
|
|
3965
|
+
let j6 = !1, W6 = !1;
|
|
3966
|
+
const V6 = async function(e, t, r, n, i, s, o) {
|
|
3967
3967
|
return await Gk(e, t, { N: r, r: n, p: i, dkLen: s, onProgress: o });
|
|
3968
|
-
},
|
|
3968
|
+
}, q6 = function(e, t, r, n, i, s) {
|
|
3969
3969
|
return $k(e, t, { N: r, r: n, p: i, dkLen: s });
|
|
3970
3970
|
};
|
|
3971
|
-
let
|
|
3971
|
+
let K6 = V6, J6 = q6;
|
|
3972
3972
|
async function cs(e, t, r, n, i, s, o) {
|
|
3973
3973
|
const a = Y(e, "passwd"), c = Y(t, "salt");
|
|
3974
|
-
return V(await
|
|
3974
|
+
return V(await K6(a, c, r, n, i, s, o));
|
|
3975
3975
|
}
|
|
3976
|
-
cs._ =
|
|
3976
|
+
cs._ = V6;
|
|
3977
3977
|
cs.lock = function() {
|
|
3978
|
-
|
|
3978
|
+
W6 = !0;
|
|
3979
3979
|
};
|
|
3980
3980
|
cs.register = function(e) {
|
|
3981
|
-
if (
|
|
3981
|
+
if (W6)
|
|
3982
3982
|
throw new Error("scrypt is locked");
|
|
3983
|
-
|
|
3983
|
+
K6 = e;
|
|
3984
3984
|
};
|
|
3985
3985
|
Object.freeze(cs);
|
|
3986
3986
|
function us(e, t, r, n, i, s) {
|
|
3987
3987
|
const o = Y(e, "passwd"), a = Y(t, "salt");
|
|
3988
|
-
return V(
|
|
3988
|
+
return V(J6(o, a, r, n, i, s));
|
|
3989
3989
|
}
|
|
3990
|
-
us._ =
|
|
3990
|
+
us._ = q6;
|
|
3991
3991
|
us.lock = function() {
|
|
3992
|
-
|
|
3992
|
+
j6 = !0;
|
|
3993
3993
|
};
|
|
3994
3994
|
us.register = function(e) {
|
|
3995
|
-
if (
|
|
3995
|
+
if (j6)
|
|
3996
3996
|
throw new Error("scryptSync is locked");
|
|
3997
|
-
|
|
3997
|
+
J6 = e;
|
|
3998
3998
|
};
|
|
3999
3999
|
Object.freeze(us);
|
|
4000
|
-
const
|
|
4001
|
-
return
|
|
4002
|
-
},
|
|
4003
|
-
return
|
|
4000
|
+
const Q6 = function(e) {
|
|
4001
|
+
return _6("sha256").update(e).digest();
|
|
4002
|
+
}, Y6 = function(e) {
|
|
4003
|
+
return _6("sha512").update(e).digest();
|
|
4004
4004
|
};
|
|
4005
|
-
let
|
|
4005
|
+
let Z6 = Q6, X6 = Y6, t5 = !1, e5 = !1;
|
|
4006
4006
|
function mr(e) {
|
|
4007
4007
|
const t = Y(e, "data");
|
|
4008
|
-
return V(
|
|
4008
|
+
return V(Z6(t));
|
|
4009
4009
|
}
|
|
4010
|
-
mr._ =
|
|
4010
|
+
mr._ = Q6;
|
|
4011
4011
|
mr.lock = function() {
|
|
4012
|
-
|
|
4012
|
+
t5 = !0;
|
|
4013
4013
|
};
|
|
4014
4014
|
mr.register = function(e) {
|
|
4015
|
-
if (
|
|
4015
|
+
if (t5)
|
|
4016
4016
|
throw new Error("sha256 is locked");
|
|
4017
|
-
|
|
4017
|
+
Z6 = e;
|
|
4018
4018
|
};
|
|
4019
4019
|
Object.freeze(mr);
|
|
4020
4020
|
function Nu(e) {
|
|
4021
4021
|
const t = Y(e, "data");
|
|
4022
|
-
return V(
|
|
4022
|
+
return V(X6(t));
|
|
4023
4023
|
}
|
|
4024
|
-
Nu._ =
|
|
4024
|
+
Nu._ = Y6;
|
|
4025
4025
|
Nu.lock = function() {
|
|
4026
|
-
|
|
4026
|
+
e5 = !0;
|
|
4027
4027
|
};
|
|
4028
4028
|
Nu.register = function(e) {
|
|
4029
|
-
if (
|
|
4029
|
+
if (e5)
|
|
4030
4030
|
throw new Error("sha512 is locked");
|
|
4031
|
-
|
|
4031
|
+
X6 = e;
|
|
4032
4032
|
};
|
|
4033
4033
|
Object.freeze(mr);
|
|
4034
4034
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
4035
|
-
const
|
|
4035
|
+
const r5 = BigInt(0), Lg = BigInt(1), Hk = BigInt(2), Dg = (e) => e instanceof Uint8Array, zk = /* @__PURE__ */ Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, "0"));
|
|
4036
4036
|
function tu(e) {
|
|
4037
4037
|
if (!Dg(e))
|
|
4038
4038
|
throw new Error("Uint8Array expected");
|
|
@@ -4041,7 +4041,7 @@ function tu(e) {
|
|
|
4041
4041
|
t += zk[e[r]];
|
|
4042
4042
|
return t;
|
|
4043
4043
|
}
|
|
4044
|
-
function
|
|
4044
|
+
function n5(e) {
|
|
4045
4045
|
const t = e.toString(16);
|
|
4046
4046
|
return t.length & 1 ? `0${t}` : t;
|
|
4047
4047
|
}
|
|
@@ -4080,7 +4080,7 @@ function Dv(e, t) {
|
|
|
4080
4080
|
return ru(e, t).reverse();
|
|
4081
4081
|
}
|
|
4082
4082
|
function jk(e) {
|
|
4083
|
-
return eu(
|
|
4083
|
+
return eu(n5(e));
|
|
4084
4084
|
}
|
|
4085
4085
|
function Pn(e, t, r) {
|
|
4086
4086
|
let n;
|
|
@@ -4123,15 +4123,15 @@ function Vk(e) {
|
|
|
4123
4123
|
}
|
|
4124
4124
|
function qk(e) {
|
|
4125
4125
|
let t;
|
|
4126
|
-
for (t = 0; e >
|
|
4126
|
+
for (t = 0; e > r5; e >>= Lg, t += 1)
|
|
4127
4127
|
;
|
|
4128
4128
|
return t;
|
|
4129
4129
|
}
|
|
4130
4130
|
function Kk(e, t) {
|
|
4131
4131
|
return e >> BigInt(t) & Lg;
|
|
4132
4132
|
}
|
|
4133
|
-
const Jk = (e, t, r) => e | (r ? Lg :
|
|
4134
|
-
function
|
|
4133
|
+
const Jk = (e, t, r) => e | (r ? Lg : r5) << BigInt(t), Fv = (e) => (Hk << BigInt(e - 1)) - Lg, Vm = (e) => new Uint8Array(e), h3 = (e) => Uint8Array.from(e);
|
|
4134
|
+
function i5(e, t, r) {
|
|
4135
4135
|
if (typeof e != "number" || e < 2)
|
|
4136
4136
|
throw new Error("hashLen must be a number");
|
|
4137
4137
|
if (typeof t != "number" || t < 2)
|
|
@@ -4199,14 +4199,14 @@ const Yk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4199
4199
|
bytesToNumberBE: sa,
|
|
4200
4200
|
bytesToNumberLE: Lv,
|
|
4201
4201
|
concatBytes: Dh,
|
|
4202
|
-
createHmacDrbg:
|
|
4202
|
+
createHmacDrbg: i5,
|
|
4203
4203
|
ensureBytes: Pn,
|
|
4204
4204
|
equalBytes: Wk,
|
|
4205
4205
|
hexToBytes: eu,
|
|
4206
4206
|
hexToNumber: Uv,
|
|
4207
4207
|
numberToBytesBE: ru,
|
|
4208
4208
|
numberToBytesLE: Dv,
|
|
4209
|
-
numberToHexUnpadded:
|
|
4209
|
+
numberToHexUnpadded: n5,
|
|
4210
4210
|
numberToVarBytesBE: jk,
|
|
4211
4211
|
utf8ToBytes: Vk,
|
|
4212
4212
|
validateObject: yf
|
|
@@ -4345,14 +4345,14 @@ function sI(e, t) {
|
|
|
4345
4345
|
const r = new Array(t.length), n = t.reduce((s, o, a) => e.is0(o) ? s : (r[a] = s, e.mul(s, o)), e.ONE), i = e.inv(n);
|
|
4346
4346
|
return t.reduceRight((s, o, a) => e.is0(o) ? s : (r[a] = e.mul(s, r[a]), e.mul(s, o)), i), r;
|
|
4347
4347
|
}
|
|
4348
|
-
function
|
|
4348
|
+
function s5(e, t) {
|
|
4349
4349
|
const r = t !== void 0 ? t : e.toString(2).length, n = Math.ceil(r / 8);
|
|
4350
4350
|
return { nBitLength: r, nByteLength: n };
|
|
4351
4351
|
}
|
|
4352
4352
|
function oI(e, t, r = !1, n = {}) {
|
|
4353
4353
|
if (e <= Je)
|
|
4354
4354
|
throw new Error(`Expected Field ORDER > 0, got ${e}`);
|
|
4355
|
-
const { nBitLength: i, nByteLength: s } =
|
|
4355
|
+
const { nBitLength: i, nByteLength: s } = s5(e, t);
|
|
4356
4356
|
if (s > 2048)
|
|
4357
4357
|
throw new Error("Field lengths over 2048 bytes are not supported");
|
|
4358
4358
|
const o = eI(e), a = Object.freeze({
|
|
@@ -4398,18 +4398,18 @@ function oI(e, t, r = !1, n = {}) {
|
|
|
4398
4398
|
});
|
|
4399
4399
|
return Object.freeze(a);
|
|
4400
4400
|
}
|
|
4401
|
-
function
|
|
4401
|
+
function o5(e) {
|
|
4402
4402
|
if (typeof e != "bigint")
|
|
4403
4403
|
throw new Error("field order must be bigint");
|
|
4404
4404
|
const t = e.toString(2).length;
|
|
4405
4405
|
return Math.ceil(t / 8);
|
|
4406
4406
|
}
|
|
4407
|
-
function
|
|
4408
|
-
const t =
|
|
4407
|
+
function a5(e) {
|
|
4408
|
+
const t = o5(e);
|
|
4409
4409
|
return t + Math.ceil(t / 2);
|
|
4410
4410
|
}
|
|
4411
4411
|
function aI(e, t, r = !1) {
|
|
4412
|
-
const n = e.length, i =
|
|
4412
|
+
const n = e.length, i = o5(t), s = a5(t);
|
|
4413
4413
|
if (n < 16 || n < s || n > 1024)
|
|
4414
4414
|
throw new Error(`expected ${s}-1024 bytes of input, got ${n}`);
|
|
4415
4415
|
const o = r ? sa(e) : Lv(e), a = Nr(o, t - Ce) + Ce;
|
|
@@ -4482,7 +4482,7 @@ function uI(e, t) {
|
|
|
4482
4482
|
}
|
|
4483
4483
|
};
|
|
4484
4484
|
}
|
|
4485
|
-
function
|
|
4485
|
+
function c5(e) {
|
|
4486
4486
|
return nI(e.Fp), yf(e, {
|
|
4487
4487
|
n: "bigint",
|
|
4488
4488
|
h: "bigint",
|
|
@@ -4492,14 +4492,14 @@ function c6(e) {
|
|
|
4492
4492
|
nBitLength: "isSafeInteger",
|
|
4493
4493
|
nByteLength: "isSafeInteger"
|
|
4494
4494
|
}), Object.freeze({
|
|
4495
|
-
...
|
|
4495
|
+
...s5(e.n, e.nBitLength),
|
|
4496
4496
|
...e,
|
|
4497
4497
|
p: e.Fp.ORDER
|
|
4498
4498
|
});
|
|
4499
4499
|
}
|
|
4500
4500
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
4501
4501
|
function lI(e) {
|
|
4502
|
-
const t =
|
|
4502
|
+
const t = c5(e);
|
|
4503
4503
|
yf(t, {
|
|
4504
4504
|
a: "field",
|
|
4505
4505
|
b: "field"
|
|
@@ -4825,7 +4825,7 @@ function pI(e) {
|
|
|
4825
4825
|
};
|
|
4826
4826
|
}
|
|
4827
4827
|
function dI(e) {
|
|
4828
|
-
const t =
|
|
4828
|
+
const t = c5(e);
|
|
4829
4829
|
return yf(t, {
|
|
4830
4830
|
hash: "hash",
|
|
4831
4831
|
hmac: "function",
|
|
@@ -4950,7 +4950,7 @@ function gI(e) {
|
|
|
4950
4950
|
* (groupLen + ceil(groupLen / 2)) with modulo bias being negligible.
|
|
4951
4951
|
*/
|
|
4952
4952
|
randomPrivateKey: () => {
|
|
4953
|
-
const z =
|
|
4953
|
+
const z = a5(t.n);
|
|
4954
4954
|
return aI(t.randomBytes(z), t.n);
|
|
4955
4955
|
},
|
|
4956
4956
|
/**
|
|
@@ -5022,7 +5022,7 @@ function gI(e) {
|
|
|
5022
5022
|
const q = { lowS: t.lowS, prehash: !1 }, rt = { lowS: t.lowS, prehash: !1 };
|
|
5023
5023
|
function ct(z, Q, nt = q) {
|
|
5024
5024
|
const { seed: at, k2sig: lt } = J(z, Q, nt), ht = t;
|
|
5025
|
-
return
|
|
5025
|
+
return i5(ht.hash.outputLen, ht.nByteLength, ht.hmac)(at, lt);
|
|
5026
5026
|
}
|
|
5027
5027
|
u.BASE._setWindowSize(8);
|
|
5028
5028
|
function St(z, Q, nt, at = rt) {
|
|
@@ -5082,14 +5082,14 @@ function yI(e, t) {
|
|
|
5082
5082
|
return Object.freeze({ ...r(t), create: r });
|
|
5083
5083
|
}
|
|
5084
5084
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
5085
|
-
const
|
|
5085
|
+
const u5 = BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"), g3 = BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"), vI = BigInt(1), p1 = BigInt(2), m3 = (e, t) => (e + t / p1) / t;
|
|
5086
5086
|
function wI(e) {
|
|
5087
|
-
const t =
|
|
5087
|
+
const t = u5, r = BigInt(3), n = BigInt(6), i = BigInt(11), s = BigInt(22), o = BigInt(23), a = BigInt(44), c = BigInt(88), u = e * e * e % t, l = u * u * e % t, h = tn(l, r, t) * l % t, f = tn(h, r, t) * l % t, d = tn(f, p1, t) * u % t, g = tn(d, i, t) * d % t, w = tn(g, s, t) * g % t, y = tn(w, a, t) * w % t, _ = tn(y, c, t) * y % t, C = tn(_, a, t) * w % t, R = tn(C, r, t) * l % t, x = tn(R, o, t) * g % t, T = tn(x, n, t) * u % t, L = tn(T, p1, t);
|
|
5088
5088
|
if (!d1.eql(d1.sqr(L), e))
|
|
5089
5089
|
throw new Error("Cannot find square root");
|
|
5090
5090
|
return L;
|
|
5091
5091
|
}
|
|
5092
|
-
const d1 = oI(
|
|
5092
|
+
const d1 = oI(u5, void 0, void 0, { sqrt: wI }), Ss = yI({
|
|
5093
5093
|
a: BigInt(0),
|
|
5094
5094
|
b: BigInt(7),
|
|
5095
5095
|
Fp: d1,
|
|
@@ -5119,7 +5119,7 @@ const d1 = oI(u6, void 0, void 0, { sqrt: wI }), Ss = yI({
|
|
|
5119
5119
|
}, xu);
|
|
5120
5120
|
BigInt(0);
|
|
5121
5121
|
Ss.ProjectivePoint;
|
|
5122
|
-
const Ca = "0x0000000000000000000000000000000000000000", Rd = "0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
5122
|
+
const Ca = "0x0000000000000000000000000000000000000000", Rd = "0x0000000000000000000000000000000000000000000000000000000000000000", l5 = BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"), h5 = BigInt("1000000000000000000"), f5 = BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), p5 = BigInt("0x8000000000000000000000000000000000000000000000000000000000000000") * BigInt(-1), d5 = BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), g5 = "Ξ", $v = `Ethereum Signed Message:
|
|
5123
5123
|
`, y3 = BigInt(0), v3 = BigInt(1), w3 = BigInt(2), b3 = BigInt(27), _3 = BigInt(28), Hf = BigInt(35), Ua = {};
|
|
5124
5124
|
function A3(e) {
|
|
5125
5125
|
return vn(Fe(e), 32);
|
|
@@ -5517,7 +5517,7 @@ const _I = class rc {
|
|
|
5517
5517
|
};
|
|
5518
5518
|
Cs = /* @__PURE__ */ new WeakMap();
|
|
5519
5519
|
let gi = _I;
|
|
5520
|
-
function
|
|
5520
|
+
function m5() {
|
|
5521
5521
|
os.lock(), Qt.lock(), Jn.lock(), Qr.lock(), as.lock(), cs.lock(), us.lock(), mr.lock(), Nu.lock(), Qr.lock();
|
|
5522
5522
|
}
|
|
5523
5523
|
const AI = BigInt(0), EI = BigInt(36);
|
|
@@ -5537,7 +5537,7 @@ for (let e = 0; e < 10; e++)
|
|
|
5537
5537
|
for (let e = 0; e < 26; e++)
|
|
5538
5538
|
Gv[String.fromCharCode(65 + e)] = String(10 + e);
|
|
5539
5539
|
const S3 = 15;
|
|
5540
|
-
function
|
|
5540
|
+
function y5(e) {
|
|
5541
5541
|
e = e.toUpperCase(), e = e.substring(4) + e.substring(0, 2) + "00";
|
|
5542
5542
|
let t = e.split("").map((n) => Gv[n]).join("");
|
|
5543
5543
|
for (; t.length >= S3; ) {
|
|
@@ -5571,7 +5571,7 @@ function At(e) {
|
|
|
5571
5571
|
return I(!e.match(/([A-F].*[a-f])|([a-f].*[A-F])/) || t === e, "bad address checksum", "address", e), t;
|
|
5572
5572
|
}
|
|
5573
5573
|
if (e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)) {
|
|
5574
|
-
I(e.substring(2, 4) ===
|
|
5574
|
+
I(e.substring(2, 4) === y5(e), "bad icap checksum", "address", e);
|
|
5575
5575
|
let t = CI(e.substring(4)).toString(16);
|
|
5576
5576
|
for (; t.length < 40; )
|
|
5577
5577
|
t = "0" + t;
|
|
@@ -5579,25 +5579,25 @@ function At(e) {
|
|
|
5579
5579
|
}
|
|
5580
5580
|
I(!1, "invalid address", "address", e);
|
|
5581
5581
|
}
|
|
5582
|
-
function
|
|
5582
|
+
function v5(e) {
|
|
5583
5583
|
let t = BigInt(At(e)).toString(36).toUpperCase();
|
|
5584
5584
|
for (; t.length < 30; )
|
|
5585
5585
|
t = "0" + t;
|
|
5586
|
-
return "XE" +
|
|
5586
|
+
return "XE" + y5("XE00" + t) + t;
|
|
5587
5587
|
}
|
|
5588
5588
|
function Fg(e) {
|
|
5589
5589
|
const t = At(e.from);
|
|
5590
5590
|
let r = st(e.nonce, "tx.nonce").toString(16);
|
|
5591
5591
|
return r === "0" ? r = "0x" : r.length % 2 ? r = "0x0" + r : r = "0x" + r, At(Jt(Qt(Xi([t, r])), 12));
|
|
5592
5592
|
}
|
|
5593
|
-
function
|
|
5593
|
+
function w5(e, t, r) {
|
|
5594
5594
|
const n = At(e), i = Y(t, "salt"), s = Y(r, "initCodeHash");
|
|
5595
5595
|
return I(i.length === 32, "salt must be 32 bytes", "salt", t), I(s.length === 32, "initCodeHash must be 32 bytes", "initCodeHash", r), At(Jt(Qt(Pt(["0xff", n, i, s])), 12));
|
|
5596
5596
|
}
|
|
5597
5597
|
function $g(e) {
|
|
5598
5598
|
return e && typeof e.getAddress == "function";
|
|
5599
5599
|
}
|
|
5600
|
-
function
|
|
5600
|
+
function b5(e) {
|
|
5601
5601
|
try {
|
|
5602
5602
|
return At(e), !0;
|
|
5603
5603
|
} catch {
|
|
@@ -6396,7 +6396,7 @@ class RI extends ss {
|
|
|
6396
6396
|
return this.coder.decode(t);
|
|
6397
6397
|
}
|
|
6398
6398
|
}
|
|
6399
|
-
function
|
|
6399
|
+
function _5(e, t, r) {
|
|
6400
6400
|
let n = [];
|
|
6401
6401
|
if (Array.isArray(r))
|
|
6402
6402
|
n = r;
|
|
@@ -6427,7 +6427,7 @@ function _6(e, t, r) {
|
|
|
6427
6427
|
let a = e.appendWriter(i);
|
|
6428
6428
|
return a += e.appendWriter(s), a;
|
|
6429
6429
|
}
|
|
6430
|
-
function
|
|
6430
|
+
function A5(e, t) {
|
|
6431
6431
|
let r = [], n = [], i = e.subReader(0);
|
|
6432
6432
|
return t.forEach((s) => {
|
|
6433
6433
|
let o = null;
|
|
@@ -6472,7 +6472,7 @@ class OI extends ss {
|
|
|
6472
6472
|
let s = [];
|
|
6473
6473
|
for (let o = 0; o < n.length; o++)
|
|
6474
6474
|
s.push(this.coder);
|
|
6475
|
-
return
|
|
6475
|
+
return _5(t, s, n);
|
|
6476
6476
|
}
|
|
6477
6477
|
decode(t) {
|
|
6478
6478
|
let r = this.length;
|
|
@@ -6480,7 +6480,7 @@ class OI extends ss {
|
|
|
6480
6480
|
let n = [];
|
|
6481
6481
|
for (let i = 0; i < r; i++)
|
|
6482
6482
|
n.push(new RI(this.coder));
|
|
6483
|
-
return
|
|
6483
|
+
return A5(t, n);
|
|
6484
6484
|
}
|
|
6485
6485
|
}
|
|
6486
6486
|
class TI extends ss {
|
|
@@ -6498,7 +6498,7 @@ class TI extends ss {
|
|
|
6498
6498
|
return !!t.readValue();
|
|
6499
6499
|
}
|
|
6500
6500
|
}
|
|
6501
|
-
class
|
|
6501
|
+
class E5 extends ss {
|
|
6502
6502
|
constructor(t, r) {
|
|
6503
6503
|
super(t, t, r, !0);
|
|
6504
6504
|
}
|
|
@@ -6514,7 +6514,7 @@ class E6 extends ss {
|
|
|
6514
6514
|
return t.readBytes(t.readIndex(), !0);
|
|
6515
6515
|
}
|
|
6516
6516
|
}
|
|
6517
|
-
class xI extends
|
|
6517
|
+
class xI extends E5 {
|
|
6518
6518
|
constructor(t) {
|
|
6519
6519
|
super("bytes", t);
|
|
6520
6520
|
}
|
|
@@ -6575,7 +6575,7 @@ class DI extends ss {
|
|
|
6575
6575
|
return this.signed && (r = Qc(r, this.size * 8)), r;
|
|
6576
6576
|
}
|
|
6577
6577
|
}
|
|
6578
|
-
class FI extends
|
|
6578
|
+
class FI extends E5 {
|
|
6579
6579
|
constructor(t) {
|
|
6580
6580
|
super("string", t);
|
|
6581
6581
|
}
|
|
@@ -6615,10 +6615,10 @@ class Bp extends ss {
|
|
|
6615
6615
|
}
|
|
6616
6616
|
encode(t, r) {
|
|
6617
6617
|
const n = dr.dereference(r, "tuple");
|
|
6618
|
-
return
|
|
6618
|
+
return _5(t, this.coders, n);
|
|
6619
6619
|
}
|
|
6620
6620
|
decode(t) {
|
|
6621
|
-
return
|
|
6621
|
+
return A5(t, this.coders);
|
|
6622
6622
|
}
|
|
6623
6623
|
}
|
|
6624
6624
|
function Kn(e) {
|
|
@@ -6677,7 +6677,7 @@ function HI(e) {
|
|
|
6677
6677
|
let t = 0;
|
|
6678
6678
|
return () => e[t++];
|
|
6679
6679
|
}
|
|
6680
|
-
function
|
|
6680
|
+
function S5(e) {
|
|
6681
6681
|
return HI(GI(zI(e)));
|
|
6682
6682
|
}
|
|
6683
6683
|
function zI(e) {
|
|
@@ -6708,13 +6708,13 @@ function Fh(e, t = 0) {
|
|
|
6708
6708
|
}
|
|
6709
6709
|
return r;
|
|
6710
6710
|
}
|
|
6711
|
-
function
|
|
6711
|
+
function C5(e) {
|
|
6712
6712
|
return $h(() => {
|
|
6713
6713
|
let t = Fh(e);
|
|
6714
6714
|
if (t.length) return t;
|
|
6715
6715
|
});
|
|
6716
6716
|
}
|
|
6717
|
-
function
|
|
6717
|
+
function k5(e) {
|
|
6718
6718
|
let t = [];
|
|
6719
6719
|
for (; ; ) {
|
|
6720
6720
|
let r = e();
|
|
@@ -6737,7 +6737,7 @@ function $h(e) {
|
|
|
6737
6737
|
}
|
|
6738
6738
|
return t;
|
|
6739
6739
|
}
|
|
6740
|
-
function
|
|
6740
|
+
function I5(e, t, r) {
|
|
6741
6741
|
let n = Array(e).fill().map(() => []);
|
|
6742
6742
|
for (let i = 0; i < t; i++)
|
|
6743
6743
|
WI(e, r).forEach((s, o) => n[o].push(s));
|
|
@@ -6745,7 +6745,7 @@ function I6(e, t, r) {
|
|
|
6745
6745
|
}
|
|
6746
6746
|
function VI(e, t) {
|
|
6747
6747
|
let r = 1 + t(), n = t(), i = $h(t);
|
|
6748
|
-
return
|
|
6748
|
+
return I5(i.length, 1 + e, t).flatMap((s, o) => {
|
|
6749
6749
|
let [a, ...c] = s;
|
|
6750
6750
|
return Array(i[o]).fill().map((u, l) => {
|
|
6751
6751
|
let h = l * n;
|
|
@@ -6755,7 +6755,7 @@ function VI(e, t) {
|
|
|
6755
6755
|
}
|
|
6756
6756
|
function qI(e, t) {
|
|
6757
6757
|
let r = 1 + t();
|
|
6758
|
-
return
|
|
6758
|
+
return I5(r, 1 + e, t).map((n) => [n[0], n.slice(1)]);
|
|
6759
6759
|
}
|
|
6760
6760
|
function KI(e) {
|
|
6761
6761
|
let t = [], r = Fh(e);
|
|
@@ -6779,7 +6779,7 @@ function KI(e) {
|
|
|
6779
6779
|
function JI(e) {
|
|
6780
6780
|
return e.toString(16).toUpperCase().padStart(2, "0");
|
|
6781
6781
|
}
|
|
6782
|
-
function
|
|
6782
|
+
function R5(e) {
|
|
6783
6783
|
return `{${JI(e)}}`;
|
|
6784
6784
|
}
|
|
6785
6785
|
function QI(e) {
|
|
@@ -6804,18 +6804,18 @@ function YI(e, t) {
|
|
|
6804
6804
|
return n;
|
|
6805
6805
|
}
|
|
6806
6806
|
var ZI = "AEUDTAHBCFQATQDRADAAcgAgADQAFAAsABQAHwAOACQADQARAAoAFwAHABIACAAPAAUACwAFAAwABAAQAAMABwAEAAoABQAIAAIACgABAAQAFAALAAIACwABAAIAAQAHAAMAAwAEAAsADAAMAAwACgANAA0AAwAKAAkABAAdAAYAZwDSAdsDJgC0CkMB8xhZAqfoC190UGcThgBurwf7PT09Pb09AjgJum8OjDllxHYUKXAPxzq6tABAxgK8ysUvWAgMPT09PT09PSs6LT2HcgWXWwFLoSMEEEl5RFVMKvO0XQ8ExDdJMnIgsj26PTQyy8FfEQ8AY8IPAGcEbwRwBHEEcgRzBHQEdQR2BHcEeA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8FXs7u6jIvwchsEP2BpIhW3G8uWNwa3HmjfH/ZjhhCWvluAcF+nMf14ClKg5hGgtPLJ98ueNAkc5Hs2WZlk2QHvfreCK1CCGO6nMZVSb99VM/ajr8WHTte9JSmkXq/i/U943HEbdzW6Re/S88dKgg8pGOLlAeNiqrcLkUR3/aClFpMXcOUP3rmETcWSfMXZE3TUOi8i+fqRnTYLflVx/Vb/6GJ7eIRZUA6k3RYR3iFSK9c4iDdNwJuZL2FKz/IK5VimcNWEqdXjSoxSgmF0UPlDoUlNrPcM7ftmA8Y9gKiqKEHuWN+AZRIwtVSxye2Kf8rM3lhJ5XcBXU9n4v0Oy1RU2M+4qM8AQPVwse8ErNSob5oFPWxuqZnVzo1qB/IBxkM3EVUKFUUlO3e51259GgNcJbCmlvrdjtoTW7rChm1wyCKzpCTwozUUEOIcWLneRLgMXh+SjGSFkAllzbGS5HK7LlfCMRNRDSvbQPjcXaenNYxCvu2Qyznz6StuxVj66SgI0T8B6/sfHAJYZaZ78thjOSIFumNWLQbeZixDCCC+v0YBtkxiBB3jefHqZ/dFHU+crbj6OvS1x/JDD7vlm7zOVPwpUC01nhxZuY/63E7g";
|
|
6807
|
-
const Gh = 44032, Od = 4352, Td = 4449, xd = 4519,
|
|
6807
|
+
const Gh = 44032, Od = 4352, Td = 4449, xd = 4519, O5 = 19, T5 = 21, iu = 28, Nd = T5 * iu, XI = O5 * Nd, tR = Gh + XI, eR = Od + O5, rR = Td + T5, nR = xd + iu;
|
|
6808
6808
|
function yl(e) {
|
|
6809
6809
|
return e >> 24 & 255;
|
|
6810
6810
|
}
|
|
6811
|
-
function
|
|
6811
|
+
function x5(e) {
|
|
6812
6812
|
return e & 16777215;
|
|
6813
6813
|
}
|
|
6814
6814
|
let g1, R3, m1, Up;
|
|
6815
6815
|
function iR() {
|
|
6816
|
-
let e =
|
|
6817
|
-
g1 = new Map(
|
|
6818
|
-
for (let [t, r] of
|
|
6816
|
+
let e = S5(ZI);
|
|
6817
|
+
g1 = new Map(C5(e).flatMap((t, r) => t.map((n) => [n, r + 1 << 24]))), R3 = new Set(Fh(e)), m1 = /* @__PURE__ */ new Map(), Up = /* @__PURE__ */ new Map();
|
|
6818
|
+
for (let [t, r] of k5(e)) {
|
|
6819
6819
|
if (!R3.has(t) && r.length == 2) {
|
|
6820
6820
|
let [n, i] = r, s = Up.get(n);
|
|
6821
6821
|
s || (s = /* @__PURE__ */ new Map(), Up.set(n, s)), s.set(i, t);
|
|
@@ -6823,20 +6823,20 @@ function iR() {
|
|
|
6823
6823
|
m1.set(t, r.reverse());
|
|
6824
6824
|
}
|
|
6825
6825
|
}
|
|
6826
|
-
function
|
|
6826
|
+
function N5(e) {
|
|
6827
6827
|
return e >= Gh && e < tR;
|
|
6828
6828
|
}
|
|
6829
6829
|
function sR(e, t) {
|
|
6830
6830
|
if (e >= Od && e < eR && t >= Td && t < rR)
|
|
6831
6831
|
return Gh + (e - Od) * Nd + (t - Td) * iu;
|
|
6832
|
-
if (
|
|
6832
|
+
if (N5(e) && t > xd && t < nR && (e - Gh) % iu == 0)
|
|
6833
6833
|
return e + (t - xd);
|
|
6834
6834
|
{
|
|
6835
6835
|
let r = Up.get(e);
|
|
6836
6836
|
return r && (r = r.get(t), r) ? r : -1;
|
|
6837
6837
|
}
|
|
6838
6838
|
}
|
|
6839
|
-
function
|
|
6839
|
+
function P5(e) {
|
|
6840
6840
|
g1 || iR();
|
|
6841
6841
|
let t = [], r = [], n = !1;
|
|
6842
6842
|
function i(s) {
|
|
@@ -6847,7 +6847,7 @@ function P6(e) {
|
|
|
6847
6847
|
for (; ; ) {
|
|
6848
6848
|
if (s < 128)
|
|
6849
6849
|
t.push(s);
|
|
6850
|
-
else if (
|
|
6850
|
+
else if (N5(s)) {
|
|
6851
6851
|
let o = s - Gh, a = o / Nd | 0, c = o % Nd / iu | 0, u = o % iu;
|
|
6852
6852
|
i(Od + a), i(Td + c), u > 0 && i(xd + u);
|
|
6853
6853
|
} else {
|
|
@@ -6878,7 +6878,7 @@ function P6(e) {
|
|
|
6878
6878
|
function oR(e) {
|
|
6879
6879
|
let t = [], r = [], n = -1, i = 0;
|
|
6880
6880
|
for (let s of e) {
|
|
6881
|
-
let o = yl(s), a =
|
|
6881
|
+
let o = yl(s), a = x5(s);
|
|
6882
6882
|
if (n == -1)
|
|
6883
6883
|
o == 0 ? n = a : t.push(a);
|
|
6884
6884
|
else if (i > 0 && i >= o)
|
|
@@ -6890,13 +6890,13 @@ function oR(e) {
|
|
|
6890
6890
|
}
|
|
6891
6891
|
return n >= 0 && t.push(n, ...r), t;
|
|
6892
6892
|
}
|
|
6893
|
-
function
|
|
6894
|
-
return
|
|
6893
|
+
function M5(e) {
|
|
6894
|
+
return P5(e).map(x5);
|
|
6895
6895
|
}
|
|
6896
6896
|
function aR(e) {
|
|
6897
|
-
return oR(
|
|
6897
|
+
return oR(P5(e));
|
|
6898
6898
|
}
|
|
6899
|
-
const O3 = 45,
|
|
6899
|
+
const O3 = 45, B5 = ".", U5 = 65039, L5 = 1, Pd = (e) => Array.from(e);
|
|
6900
6900
|
function Hh(e, t) {
|
|
6901
6901
|
return e.P.has(t) || e.Q.has(t);
|
|
6902
6902
|
}
|
|
@@ -6906,13 +6906,13 @@ class cR extends Array {
|
|
|
6906
6906
|
}
|
|
6907
6907
|
// free tagging system
|
|
6908
6908
|
}
|
|
6909
|
-
let y1,
|
|
6909
|
+
let y1, D5, Yo, v1, F5, Dc, Jm, ic, Co, T3, w1;
|
|
6910
6910
|
function Hv() {
|
|
6911
6911
|
if (y1) return;
|
|
6912
|
-
let e =
|
|
6912
|
+
let e = S5($I);
|
|
6913
6913
|
const t = () => Fh(e), r = () => new Set(t()), n = (l, h) => h.forEach((f) => l.add(f));
|
|
6914
|
-
y1 = new Map(
|
|
6915
|
-
let i =
|
|
6914
|
+
y1 = new Map(k5(e)), D5 = r(), Yo = t(), v1 = new Set(t().map((l) => Yo[l])), Yo = new Set(Yo), F5 = r(), r();
|
|
6915
|
+
let i = C5(e), s = e();
|
|
6916
6916
|
const o = () => {
|
|
6917
6917
|
let l = /* @__PURE__ */ new Set();
|
|
6918
6918
|
return t().forEach((h) => n(l, i[h])), n(l, t()), l;
|
|
@@ -6952,8 +6952,8 @@ function Hv() {
|
|
|
6952
6952
|
for (let h of l.Q) u(h);
|
|
6953
6953
|
}
|
|
6954
6954
|
for (let l of Co)
|
|
6955
|
-
!ic.has(l) && !c.has(l) && ic.set(l,
|
|
6956
|
-
n(Co,
|
|
6955
|
+
!ic.has(l) && !c.has(l) && ic.set(l, L5);
|
|
6956
|
+
n(Co, M5(Co)), T3 = KI(e).map((l) => cR.from(l)).sort(YI), w1 = /* @__PURE__ */ new Map();
|
|
6957
6957
|
for (let l of T3) {
|
|
6958
6958
|
let h = [w1];
|
|
6959
6959
|
for (let f of l) {
|
|
@@ -6961,14 +6961,14 @@ function Hv() {
|
|
|
6961
6961
|
let w = g.get(f);
|
|
6962
6962
|
return w || (w = /* @__PURE__ */ new Map(), g.set(f, w)), w;
|
|
6963
6963
|
});
|
|
6964
|
-
f ===
|
|
6964
|
+
f === U5 ? h.push(...d) : h = d;
|
|
6965
6965
|
}
|
|
6966
6966
|
for (let f of h)
|
|
6967
6967
|
f.V = l;
|
|
6968
6968
|
}
|
|
6969
6969
|
}
|
|
6970
6970
|
function zv(e) {
|
|
6971
|
-
return ($
|
|
6971
|
+
return ($5(e) ? "" : `${jv(Gg([e]))} `) + R5(e);
|
|
6972
6972
|
}
|
|
6973
6973
|
function jv(e) {
|
|
6974
6974
|
return `"${e}"`;
|
|
@@ -6996,21 +6996,21 @@ function hR(e) {
|
|
|
6996
6996
|
}
|
|
6997
6997
|
if (i == n) throw uh(`trailing ${r}`);
|
|
6998
6998
|
}
|
|
6999
|
-
function Gg(e, t = 1 / 0, r =
|
|
6999
|
+
function Gg(e, t = 1 / 0, r = R5) {
|
|
7000
7000
|
let n = [];
|
|
7001
7001
|
fR(e[0]) && n.push("◌"), e.length > t && (t >>= 1, e = [...e.slice(0, t), 8230, ...e.slice(-t)]);
|
|
7002
7002
|
let i = 0, s = e.length;
|
|
7003
7003
|
for (let o = 0; o < s; o++) {
|
|
7004
7004
|
let a = e[o];
|
|
7005
|
-
$
|
|
7005
|
+
$5(a) && (n.push(nu(e.slice(i, o))), n.push(r(a)), i = o + 1);
|
|
7006
7006
|
}
|
|
7007
7007
|
return n.push(nu(e.slice(i, s))), n.join("");
|
|
7008
7008
|
}
|
|
7009
7009
|
function fR(e) {
|
|
7010
7010
|
return Hv(), Yo.has(e);
|
|
7011
7011
|
}
|
|
7012
|
-
function $
|
|
7013
|
-
return Hv(),
|
|
7012
|
+
function $5(e) {
|
|
7013
|
+
return Hv(), F5.has(e);
|
|
7014
7014
|
}
|
|
7015
7015
|
function pR(e) {
|
|
7016
7016
|
return yR(dR(e, aR, bR));
|
|
@@ -7019,7 +7019,7 @@ function dR(e, t, r) {
|
|
|
7019
7019
|
if (!e) return [];
|
|
7020
7020
|
Hv();
|
|
7021
7021
|
let n = 0;
|
|
7022
|
-
return e.split(
|
|
7022
|
+
return e.split(B5).map((i) => {
|
|
7023
7023
|
let s = QI(i), o = {
|
|
7024
7024
|
input: s,
|
|
7025
7025
|
offset: n
|
|
@@ -7060,7 +7060,7 @@ function gR(e, t) {
|
|
|
7060
7060
|
let r, n = [];
|
|
7061
7061
|
for (let i of t) {
|
|
7062
7062
|
let s = ic.get(i);
|
|
7063
|
-
if (s ===
|
|
7063
|
+
if (s === L5) return;
|
|
7064
7064
|
if (s) {
|
|
7065
7065
|
let o = s.M.get(i);
|
|
7066
7066
|
if (r = r ? r.filter((a) => o.has(a)) : Pd(o), !r.length) return;
|
|
@@ -7078,7 +7078,7 @@ function mR(e) {
|
|
|
7078
7078
|
for (let r of e) {
|
|
7079
7079
|
let n = t.filter((i) => Hh(i, r));
|
|
7080
7080
|
if (!n.length)
|
|
7081
|
-
throw Dc.some((i) => Hh(i, r)) ?
|
|
7081
|
+
throw Dc.some((i) => Hh(i, r)) ? H5(t[0], r) : G5(r);
|
|
7082
7082
|
if (t = n, n.length == 1) break;
|
|
7083
7083
|
}
|
|
7084
7084
|
return t;
|
|
@@ -7090,12 +7090,12 @@ function yR(e) {
|
|
|
7090
7090
|
throw new Error(e.length == 1 ? i : `Invalid label ${jv(Gg(t, 63))}: ${i}`);
|
|
7091
7091
|
}
|
|
7092
7092
|
return nu(n);
|
|
7093
|
-
}).join(
|
|
7093
|
+
}).join(B5);
|
|
7094
7094
|
}
|
|
7095
|
-
function
|
|
7095
|
+
function G5(e) {
|
|
7096
7096
|
return new Error(`disallowed character: ${zv(e)}`);
|
|
7097
7097
|
}
|
|
7098
|
-
function
|
|
7098
|
+
function H5(e, t) {
|
|
7099
7099
|
let r = zv(t), n = Dc.find((i) => i.P.has(t));
|
|
7100
7100
|
return n && (r = `${n.N} ${r}`), new Error(`illegal mixture: ${e.N} + ${r}`);
|
|
7101
7101
|
}
|
|
@@ -7105,9 +7105,9 @@ function uh(e) {
|
|
|
7105
7105
|
function vR(e, t) {
|
|
7106
7106
|
for (let r of t)
|
|
7107
7107
|
if (!Hh(e, r))
|
|
7108
|
-
throw
|
|
7108
|
+
throw H5(e, r);
|
|
7109
7109
|
if (e.M) {
|
|
7110
|
-
let r =
|
|
7110
|
+
let r = M5(t);
|
|
7111
7111
|
for (let n = 1, i = r.length; n < i; n++)
|
|
7112
7112
|
if (v1.has(r[n])) {
|
|
7113
7113
|
let s = n + 1;
|
|
@@ -7135,15 +7135,15 @@ function wR(e, t, r) {
|
|
|
7135
7135
|
let a = y1.get(o);
|
|
7136
7136
|
if (a)
|
|
7137
7137
|
i.push(...a);
|
|
7138
|
-
else if (!
|
|
7139
|
-
throw
|
|
7138
|
+
else if (!D5.has(o))
|
|
7139
|
+
throw G5(o);
|
|
7140
7140
|
}
|
|
7141
7141
|
}
|
|
7142
7142
|
}
|
|
7143
7143
|
return i.length && n.push(t(i)), n;
|
|
7144
7144
|
}
|
|
7145
7145
|
function bR(e) {
|
|
7146
|
-
return e.filter((t) => t !=
|
|
7146
|
+
return e.filter((t) => t != U5);
|
|
7147
7147
|
}
|
|
7148
7148
|
function _R(e, t) {
|
|
7149
7149
|
let r = w1, n, i = e.length;
|
|
@@ -7153,8 +7153,8 @@ function _R(e, t) {
|
|
|
7153
7153
|
}
|
|
7154
7154
|
return n;
|
|
7155
7155
|
}
|
|
7156
|
-
const
|
|
7157
|
-
|
|
7156
|
+
const z5 = new Uint8Array(32);
|
|
7157
|
+
z5.fill(0);
|
|
7158
7158
|
function x3(e) {
|
|
7159
7159
|
return I(e.length !== 0, "invalid ENS name; empty component", "comp", e), e;
|
|
7160
7160
|
}
|
|
@@ -7176,7 +7176,7 @@ function Vv(e) {
|
|
|
7176
7176
|
I(!1, `invalid ENS name (${t.message})`, "name", e);
|
|
7177
7177
|
}
|
|
7178
7178
|
}
|
|
7179
|
-
function
|
|
7179
|
+
function j5(e) {
|
|
7180
7180
|
try {
|
|
7181
7181
|
return Wv(e).length !== 0;
|
|
7182
7182
|
} catch {
|
|
@@ -7185,7 +7185,7 @@ function j6(e) {
|
|
|
7185
7185
|
}
|
|
7186
7186
|
function zh(e) {
|
|
7187
7187
|
I(typeof e == "string", "invalid ENS name; not a string", "name", e), I(e.length, "invalid ENS name (empty label)", "name", e);
|
|
7188
|
-
let t =
|
|
7188
|
+
let t = z5;
|
|
7189
7189
|
const r = Wv(e);
|
|
7190
7190
|
for (; r.length; )
|
|
7191
7191
|
t = Qt(Pt([t, Qt(r.pop())]));
|
|
@@ -7896,12 +7896,12 @@ function zg(e) {
|
|
|
7896
7896
|
e
|
|
7897
7897
|
]));
|
|
7898
7898
|
}
|
|
7899
|
-
function
|
|
7899
|
+
function W5(e, t) {
|
|
7900
7900
|
const r = zg(e);
|
|
7901
7901
|
return vf(r, t);
|
|
7902
7902
|
}
|
|
7903
7903
|
const LR = new RegExp("^bytes([0-9]+)$"), DR = new RegExp("^(u?int)([0-9]*)$"), FR = new RegExp("^(.*)\\[([0-9]*)\\]$");
|
|
7904
|
-
function
|
|
7904
|
+
function V5(e, t, r) {
|
|
7905
7905
|
switch (e) {
|
|
7906
7906
|
case "address":
|
|
7907
7907
|
return Y(r ? vn(t, 32) : At(t));
|
|
@@ -7926,7 +7926,7 @@ function V6(e, t, r) {
|
|
|
7926
7926
|
I(s === t.length, `invalid array length for ${e}`, "value", t);
|
|
7927
7927
|
const o = [];
|
|
7928
7928
|
return t.forEach(function(a) {
|
|
7929
|
-
o.push(
|
|
7929
|
+
o.push(V5(i, a, !0));
|
|
7930
7930
|
}), Y(Pt(o));
|
|
7931
7931
|
}
|
|
7932
7932
|
I(!1, "invalid type", "type", e);
|
|
@@ -7935,23 +7935,23 @@ function jg(e, t) {
|
|
|
7935
7935
|
I(e.length === t.length, "wrong number of values; expected ${ types.length }", "values", t);
|
|
7936
7936
|
const r = [];
|
|
7937
7937
|
return e.forEach(function(n, i) {
|
|
7938
|
-
r.push(
|
|
7938
|
+
r.push(V5(n, t[i]));
|
|
7939
7939
|
}), V(Pt(r));
|
|
7940
7940
|
}
|
|
7941
|
-
function
|
|
7941
|
+
function q5(e, t) {
|
|
7942
7942
|
return Qt(jg(e, t));
|
|
7943
7943
|
}
|
|
7944
|
-
function
|
|
7944
|
+
function K5(e, t) {
|
|
7945
7945
|
return mr(jg(e, t));
|
|
7946
7946
|
}
|
|
7947
|
-
const
|
|
7948
|
-
|
|
7949
|
-
const $R = BigInt(-1),
|
|
7947
|
+
const J5 = new Uint8Array(32);
|
|
7948
|
+
J5.fill(0);
|
|
7949
|
+
const $R = BigInt(-1), Q5 = BigInt(0), Y5 = BigInt(1), GR = BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
|
7950
7950
|
function HR(e) {
|
|
7951
7951
|
const t = Y(e), r = t.length % 32;
|
|
7952
|
-
return r ? Pt([t,
|
|
7952
|
+
return r ? Pt([t, J5.slice(r)]) : V(t);
|
|
7953
7953
|
}
|
|
7954
|
-
const zR = bn(
|
|
7954
|
+
const zR = bn(Y5, 32), jR = bn(Q5, 32), P3 = {
|
|
7955
7955
|
name: "string",
|
|
7956
7956
|
version: "string",
|
|
7957
7957
|
chainId: "uint256",
|
|
@@ -7994,7 +7994,7 @@ function b1(e) {
|
|
|
7994
7994
|
if (t) {
|
|
7995
7995
|
const r = t[1] === "", n = parseInt(t[2]);
|
|
7996
7996
|
I(n % 8 === 0 && n !== 0 && n <= 256 && t[2] === String(n), "invalid numeric width", "type", e);
|
|
7997
|
-
const i = ji(GR, r ? n - 1 : n), s = r ? (i +
|
|
7997
|
+
const i = ji(GR, r ? n - 1 : n), s = r ? (i + Y5) * $R : Q5;
|
|
7998
7998
|
return function(o) {
|
|
7999
7999
|
const a = st(o, "value");
|
|
8000
8000
|
return I(a >= s && a <= i, `value out-of-bounds for ${e}`, "value", a), bn(r ? mf(a, 256) : a, 32);
|
|
@@ -8046,7 +8046,7 @@ function Dp(e) {
|
|
|
8046
8046
|
}
|
|
8047
8047
|
} : { base: e };
|
|
8048
8048
|
}
|
|
8049
|
-
var Fp, Gs, Tl, _1,
|
|
8049
|
+
var Fp, Gs, Tl, _1, Z5;
|
|
8050
8050
|
const VR = class kn {
|
|
8051
8051
|
/**
|
|
8052
8052
|
* Create a new **TypedDataEncoder** for %%types%%.
|
|
@@ -8101,7 +8101,7 @@ const VR = class kn {
|
|
|
8101
8101
|
*/
|
|
8102
8102
|
getEncoder(t) {
|
|
8103
8103
|
let r = v(this, Tl).get(t);
|
|
8104
|
-
return r || (r = j(this, _1,
|
|
8104
|
+
return r || (r = j(this, _1, Z5).call(this, t), v(this, Tl).set(t, r)), r;
|
|
8105
8105
|
}
|
|
8106
8106
|
/**
|
|
8107
8107
|
* Return the full type for %%name%%.
|
|
@@ -8258,7 +8258,7 @@ const VR = class kn {
|
|
|
8258
8258
|
};
|
|
8259
8259
|
}
|
|
8260
8260
|
};
|
|
8261
|
-
Fp = /* @__PURE__ */ new WeakMap(), Gs = /* @__PURE__ */ new WeakMap(), Tl = /* @__PURE__ */ new WeakMap(), _1 = /* @__PURE__ */ new WeakSet(),
|
|
8261
|
+
Fp = /* @__PURE__ */ new WeakMap(), Gs = /* @__PURE__ */ new WeakMap(), Tl = /* @__PURE__ */ new WeakMap(), _1 = /* @__PURE__ */ new WeakSet(), Z5 = function(e) {
|
|
8262
8262
|
{
|
|
8263
8263
|
const n = b1(e);
|
|
8264
8264
|
if (n)
|
|
@@ -8287,7 +8287,7 @@ Fp = /* @__PURE__ */ new WeakMap(), Gs = /* @__PURE__ */ new WeakMap(), Tl = /*
|
|
|
8287
8287
|
I(!1, `unknown type: ${e}`, "type", e);
|
|
8288
8288
|
};
|
|
8289
8289
|
let ua = VR;
|
|
8290
|
-
function
|
|
8290
|
+
function X5(e, t, r, n) {
|
|
8291
8291
|
return vf(ua.hash(e, t, r), n);
|
|
8292
8292
|
}
|
|
8293
8293
|
function Ir(e) {
|
|
@@ -16969,7 +16969,7 @@ const tA = {
|
|
|
16969
16969
|
EnsResolver: Ud,
|
|
16970
16970
|
ErrorDescription: Xv,
|
|
16971
16971
|
ErrorFragment: hr,
|
|
16972
|
-
EtherSymbol:
|
|
16972
|
+
EtherSymbol: g5,
|
|
16973
16973
|
EtherscanPlugin: rm,
|
|
16974
16974
|
EtherscanProvider: hw,
|
|
16975
16975
|
EventFragment: dn,
|
|
@@ -17000,13 +17000,13 @@ const tA = {
|
|
|
17000
17000
|
LangEn: mi,
|
|
17001
17001
|
Log: Ra,
|
|
17002
17002
|
LogDescription: Yv,
|
|
17003
|
-
MaxInt256:
|
|
17004
|
-
MaxUint256:
|
|
17003
|
+
MaxInt256: d5,
|
|
17004
|
+
MaxUint256: f5,
|
|
17005
17005
|
MessagePrefix: $v,
|
|
17006
|
-
MinInt256:
|
|
17006
|
+
MinInt256: p5,
|
|
17007
17007
|
Mnemonic: eo,
|
|
17008
17008
|
MulticoinProviderPlugin: sw,
|
|
17009
|
-
N:
|
|
17009
|
+
N: l5,
|
|
17010
17010
|
NamedFragment: Mu,
|
|
17011
17011
|
Network: Pe,
|
|
17012
17012
|
NetworkPlugin: hs,
|
|
@@ -17035,7 +17035,7 @@ const tA = {
|
|
|
17035
17035
|
VoidSigner: tm,
|
|
17036
17036
|
Wallet: Z8,
|
|
17037
17037
|
WebSocketProvider: nm,
|
|
17038
|
-
WeiPerEther:
|
|
17038
|
+
WeiPerEther: h5,
|
|
17039
17039
|
Wordlist: ww,
|
|
17040
17040
|
WordlistOwl: sm,
|
|
17041
17041
|
WordlistOwlA: X8,
|
|
@@ -17047,7 +17047,7 @@ const tA = {
|
|
|
17047
17047
|
assertArgumentCount: Og,
|
|
17048
17048
|
assertNormalize: Tg,
|
|
17049
17049
|
assertPrivate: bi,
|
|
17050
|
-
checkResultErrors:
|
|
17050
|
+
checkResultErrors: a6,
|
|
17051
17051
|
computeAddress: ka,
|
|
17052
17052
|
computeHmac: os,
|
|
17053
17053
|
concat: Pt,
|
|
@@ -17071,7 +17071,7 @@ const tA = {
|
|
|
17071
17071
|
encryptKeystoreJson: am,
|
|
17072
17072
|
encryptKeystoreJsonSync: om,
|
|
17073
17073
|
ensNormalize: Vv,
|
|
17074
|
-
formatEther:
|
|
17074
|
+
formatEther: i6,
|
|
17075
17075
|
formatUnits: Cv,
|
|
17076
17076
|
fromTwos: Qc,
|
|
17077
17077
|
getAccountPath: Q8,
|
|
@@ -17079,17 +17079,17 @@ const tA = {
|
|
|
17079
17079
|
getBigInt: st,
|
|
17080
17080
|
getBytes: Y,
|
|
17081
17081
|
getBytesCopy: De,
|
|
17082
|
-
getCreate2Address:
|
|
17082
|
+
getCreate2Address: w5,
|
|
17083
17083
|
getCreateAddress: Fg,
|
|
17084
17084
|
getDefaultProvider: B8,
|
|
17085
|
-
getIcapAddress:
|
|
17085
|
+
getIcapAddress: v5,
|
|
17086
17086
|
getIndexedAccountPath: Y8,
|
|
17087
17087
|
getNumber: ft,
|
|
17088
17088
|
getUint: Ou,
|
|
17089
17089
|
hashMessage: zg,
|
|
17090
17090
|
hexlify: V,
|
|
17091
17091
|
id: Kn,
|
|
17092
|
-
isAddress:
|
|
17092
|
+
isAddress: b5,
|
|
17093
17093
|
isAddressable: $g,
|
|
17094
17094
|
isBytesLike: Ru,
|
|
17095
17095
|
isCallException: df,
|
|
@@ -17097,13 +17097,13 @@ const tA = {
|
|
|
17097
17097
|
isError: Ie,
|
|
17098
17098
|
isHexString: Yt,
|
|
17099
17099
|
isKeystoreJson: Gd,
|
|
17100
|
-
isValidName:
|
|
17100
|
+
isValidName: j5,
|
|
17101
17101
|
keccak256: Qt,
|
|
17102
|
-
lock:
|
|
17102
|
+
lock: m5,
|
|
17103
17103
|
makeError: ne,
|
|
17104
17104
|
mask: ji,
|
|
17105
17105
|
namehash: zh,
|
|
17106
|
-
parseEther:
|
|
17106
|
+
parseEther: s6,
|
|
17107
17107
|
parseUnits: kv,
|
|
17108
17108
|
pbkdf2: Jn,
|
|
17109
17109
|
randomBytes: Qr,
|
|
@@ -17117,8 +17117,8 @@ const tA = {
|
|
|
17117
17117
|
sha512: Nu,
|
|
17118
17118
|
showThrottleMessage: fs,
|
|
17119
17119
|
solidityPacked: jg,
|
|
17120
|
-
solidityPackedKeccak256:
|
|
17121
|
-
solidityPackedSha256:
|
|
17120
|
+
solidityPackedKeccak256: q5,
|
|
17121
|
+
solidityPackedSha256: K5,
|
|
17122
17122
|
stripZerosLeft: z_,
|
|
17123
17123
|
toBeArray: Fe,
|
|
17124
17124
|
toBeHex: bn,
|
|
@@ -17130,8 +17130,8 @@ const tA = {
|
|
|
17130
17130
|
toUtf8CodePoints: q_,
|
|
17131
17131
|
toUtf8String: Zi,
|
|
17132
17132
|
uuidV4: Iv,
|
|
17133
|
-
verifyMessage:
|
|
17134
|
-
verifyTypedData:
|
|
17133
|
+
verifyMessage: W5,
|
|
17134
|
+
verifyTypedData: X5,
|
|
17135
17135
|
version: Rg,
|
|
17136
17136
|
wordlists: tA,
|
|
17137
17137
|
zeroPadBytes: gf,
|
|
@@ -17160,7 +17160,7 @@ const tA = {
|
|
|
17160
17160
|
EnsResolver: Ud,
|
|
17161
17161
|
ErrorDescription: Xv,
|
|
17162
17162
|
ErrorFragment: hr,
|
|
17163
|
-
EtherSymbol:
|
|
17163
|
+
EtherSymbol: g5,
|
|
17164
17164
|
EtherscanPlugin: rm,
|
|
17165
17165
|
EtherscanProvider: hw,
|
|
17166
17166
|
EventFragment: dn,
|
|
@@ -17191,13 +17191,13 @@ const tA = {
|
|
|
17191
17191
|
LangEn: mi,
|
|
17192
17192
|
Log: Ra,
|
|
17193
17193
|
LogDescription: Yv,
|
|
17194
|
-
MaxInt256:
|
|
17195
|
-
MaxUint256:
|
|
17194
|
+
MaxInt256: d5,
|
|
17195
|
+
MaxUint256: f5,
|
|
17196
17196
|
MessagePrefix: $v,
|
|
17197
|
-
MinInt256:
|
|
17197
|
+
MinInt256: p5,
|
|
17198
17198
|
Mnemonic: eo,
|
|
17199
17199
|
MulticoinProviderPlugin: sw,
|
|
17200
|
-
N:
|
|
17200
|
+
N: l5,
|
|
17201
17201
|
NamedFragment: Mu,
|
|
17202
17202
|
Network: Pe,
|
|
17203
17203
|
NetworkPlugin: hs,
|
|
@@ -17226,7 +17226,7 @@ const tA = {
|
|
|
17226
17226
|
VoidSigner: tm,
|
|
17227
17227
|
Wallet: Z8,
|
|
17228
17228
|
WebSocketProvider: nm,
|
|
17229
|
-
WeiPerEther:
|
|
17229
|
+
WeiPerEther: h5,
|
|
17230
17230
|
Wordlist: ww,
|
|
17231
17231
|
WordlistOwl: sm,
|
|
17232
17232
|
WordlistOwlA: X8,
|
|
@@ -17238,7 +17238,7 @@ const tA = {
|
|
|
17238
17238
|
assertArgumentCount: Og,
|
|
17239
17239
|
assertNormalize: Tg,
|
|
17240
17240
|
assertPrivate: bi,
|
|
17241
|
-
checkResultErrors:
|
|
17241
|
+
checkResultErrors: a6,
|
|
17242
17242
|
computeAddress: ka,
|
|
17243
17243
|
computeHmac: os,
|
|
17244
17244
|
concat: Pt,
|
|
@@ -17263,7 +17263,7 @@ const tA = {
|
|
|
17263
17263
|
encryptKeystoreJsonSync: om,
|
|
17264
17264
|
ensNormalize: Vv,
|
|
17265
17265
|
ethers: QT,
|
|
17266
|
-
formatEther:
|
|
17266
|
+
formatEther: i6,
|
|
17267
17267
|
formatUnits: Cv,
|
|
17268
17268
|
fromTwos: Qc,
|
|
17269
17269
|
getAccountPath: Q8,
|
|
@@ -17271,17 +17271,17 @@ const tA = {
|
|
|
17271
17271
|
getBigInt: st,
|
|
17272
17272
|
getBytes: Y,
|
|
17273
17273
|
getBytesCopy: De,
|
|
17274
|
-
getCreate2Address:
|
|
17274
|
+
getCreate2Address: w5,
|
|
17275
17275
|
getCreateAddress: Fg,
|
|
17276
17276
|
getDefaultProvider: B8,
|
|
17277
|
-
getIcapAddress:
|
|
17277
|
+
getIcapAddress: v5,
|
|
17278
17278
|
getIndexedAccountPath: Y8,
|
|
17279
17279
|
getNumber: ft,
|
|
17280
17280
|
getUint: Ou,
|
|
17281
17281
|
hashMessage: zg,
|
|
17282
17282
|
hexlify: V,
|
|
17283
17283
|
id: Kn,
|
|
17284
|
-
isAddress:
|
|
17284
|
+
isAddress: b5,
|
|
17285
17285
|
isAddressable: $g,
|
|
17286
17286
|
isBytesLike: Ru,
|
|
17287
17287
|
isCallException: df,
|
|
@@ -17289,13 +17289,13 @@ const tA = {
|
|
|
17289
17289
|
isError: Ie,
|
|
17290
17290
|
isHexString: Yt,
|
|
17291
17291
|
isKeystoreJson: Gd,
|
|
17292
|
-
isValidName:
|
|
17292
|
+
isValidName: j5,
|
|
17293
17293
|
keccak256: Qt,
|
|
17294
|
-
lock:
|
|
17294
|
+
lock: m5,
|
|
17295
17295
|
makeError: ne,
|
|
17296
17296
|
mask: ji,
|
|
17297
17297
|
namehash: zh,
|
|
17298
|
-
parseEther:
|
|
17298
|
+
parseEther: s6,
|
|
17299
17299
|
parseUnits: kv,
|
|
17300
17300
|
pbkdf2: Jn,
|
|
17301
17301
|
randomBytes: Qr,
|
|
@@ -17309,8 +17309,8 @@ const tA = {
|
|
|
17309
17309
|
sha512: Nu,
|
|
17310
17310
|
showThrottleMessage: fs,
|
|
17311
17311
|
solidityPacked: jg,
|
|
17312
|
-
solidityPackedKeccak256:
|
|
17313
|
-
solidityPackedSha256:
|
|
17312
|
+
solidityPackedKeccak256: q5,
|
|
17313
|
+
solidityPackedSha256: K5,
|
|
17314
17314
|
stripZerosLeft: z_,
|
|
17315
17315
|
toBeArray: Fe,
|
|
17316
17316
|
toBeHex: bn,
|
|
@@ -17322,8 +17322,8 @@ const tA = {
|
|
|
17322
17322
|
toUtf8CodePoints: q_,
|
|
17323
17323
|
toUtf8String: Zi,
|
|
17324
17324
|
uuidV4: Iv,
|
|
17325
|
-
verifyMessage:
|
|
17326
|
-
verifyTypedData:
|
|
17325
|
+
verifyMessage: W5,
|
|
17326
|
+
verifyTypedData: X5,
|
|
17327
17327
|
version: Rg,
|
|
17328
17328
|
wordlists: tA,
|
|
17329
17329
|
zeroPadBytes: gf,
|
|
@@ -18615,7 +18615,7 @@ Cw.write = function(e, t, r, n, i, s) {
|
|
|
18615
18615
|
}
|
|
18616
18616
|
})(uA);
|
|
18617
18617
|
const no = uA.Buffer;
|
|
18618
|
-
var lm = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
18618
|
+
var lm = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c8998226-bf98-4126-a326-157c78704794", DOTNET_NOLOGO: "1", USER: "runner", npm_config_always_auth: "true", npm_config_user_agent: "pnpm/10.14.0 npm/? node/v20.19.4 linux x64", CI: "true", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_c8998226-bf98-4126-a326-157c78704794", PIPX_HOME: "/opt/pipx", RUNNER_ENVIRONMENT: "github-hosted", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.4/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", HOME: "/home/runner", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", RUNNER_TEMP: "/home/runner/work/_temp", npm_package_json: "/home/runner/work/passport/passport/packages/passport-evm/package.json", GITHUB_REPOSITORY_OWNER: "credenza-web3", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", npm_package_engines_node: ">=20.10.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", GITHUB_RETENTION_DAYS: "90", GRADLE_HOME: "/usr/share/gradle-8.14.3", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GITHUB_REPOSITORY_OWNER_ID: "93208388", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", npm_config__credenza3_registry: "https://registry.npmjs.org/", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1755", npm_config_engine_strict: "true", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", ImageVersion: "20250728.1.0", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", LOGNAME: "runner", RUNNER_OS: "Linux", SWIFT_PATH: "/usr/share/swift/usr/bin", pnpm_config_verify_deps_before_run: "false", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GITHUB_WORKFLOW: "Publish @credenza3/passport-evm", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.11/x64", JOURNAL_STREAM: "9:12572", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.5/x64", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "16720798145", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_BASE_REF: "", GITHUB_REF_TYPE: "branch", GITHUB_WORKFLOW_SHA: "817b2111c865eb6ee7443031687f629d0236505f", ImageOS: "ubuntu24", ENABLE_RUNNER_TRACING: "true", GITHUB_ACTION_REPOSITORY: "", GITHUB_WORKFLOW_REF: "credenza-web3/passport/.github/workflows/publish-evm.yml@refs/heads/main", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.14.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/passport/passport/packages/passport-evm/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.14.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/passport/passport/node_modules/.bin:/home/runner/work/passport/passport/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.14.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/passport/passport/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.19.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", INVOCATION_ID: "e3c6bf027dd94e87b5a7a9944952303e", NODE: "/opt/hostedtoolcache/node/20.19.4/x64/bin/node", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", RUNNER_TRACKING_ID: "github_963b1c9d-0a8c-4b5f-9434-b2370184bc81", TURBO_HASH: "088ecfdeb5ebe556", npm_package_name: "@credenza3/passport-evm", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GITHUB_ACTION: "__run_2", GITHUB_RUN_NUMBER: "67", GITHUB_TRIGGERING_ACTOR: "mikeavvad", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "credenza-web3/passport", RUNNER_NAME: "GitHub Actions 1000000444", XDG_CONFIG_HOME: "/home/runner/.config", npm_lifecycle_script: "vite build", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", DEBIAN_FRONTEND: "noninteractive", GITHUB_ACTION_REF: "", GITHUB_ACTIONS: "true", GITHUB_REPOSITORY_ID: "493155814", NODE_PATH: "/home/runner/work/passport/passport/node_modules/.pnpm/vite@6.3.5_@types+node@24.0.3_jiti@2.4.2_lightningcss@1.29.1_sass@1.89.2_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/vite@6.3.5_@types+node@24.0.3_jiti@2.4.2_lightningcss@1.29.1_sass@1.89.2_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/vite@6.3.5_@types+node@24.0.3_jiti@2.4.2_lightningcss@1.29.1_sass@1.89.2_yaml@2.8.0/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.14.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.14.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.14.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/turbo@1.13.3/node_modules/turbo/bin/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/turbo@1.13.3/node_modules/turbo/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/turbo@1.13.3/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.14.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.14.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.14.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", SHELL: "/bin/bash", npm_package_version: "0.2.16", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build", GITHUB_REF_PROTECTED: "false", ACCEPT_EULA: "Y", GITHUB_JOB: "publish-gpr", GITHUB_WORKSPACE: "/home/runner/work/passport/passport", TURBO_INVOCATION_DIR: "/home/runner/work/passport/passport", npm_package_engines_pnpm: ">=9", GITHUB_RUN_ATTEMPT: "1", GITHUB_SHA: "817b2111c865eb6ee7443031687f629d0236505f", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_ACTOR: "mikeavvad", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR_ID: "87299315", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_c8998226-bf98-4126-a326-157c78704794", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/passport/passport/packages/passport-evm", RUNNER_WORKSPACE: "/home/runner/work/passport", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.14.0/node_modules/pnpm/bin/pnpm.cjs", ANDROID_HOME: "/usr/local/lib/android/sdk", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_EVENT_NAME: "push", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_c8998226-bf98-4126-a326-157c78704794", GITHUB_SERVER_URL: "https://github.com", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", HOMEBREW_NO_AUTO_UPDATE: "1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/passport/passport/packages/passport-evm", npm_config__jsr_registry: "https://npm.jsr.io/", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", CHROME_BIN: "/usr/bin/google-chrome", SGX_AESM_ADDR: "1", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_c8998226-bf98-4126-a326-157c78704794", INIT_CWD: "/home/runner/work/passport/passport/packages/passport-evm", NODE_ENV: "production" }, X;
|
|
18619
18619
|
if (typeof window > "u") {
|
|
18620
18620
|
var db = {
|
|
18621
18621
|
hostname: ""
|
|
@@ -34456,7 +34456,9 @@ const DF = async () => {
|
|
|
34456
34456
|
const r = await (await ce.evm.getEthersProvider()).getSigner(), { erc1155MinAbi: n } = await import("./abi-DIVtyi6o.js");
|
|
34457
34457
|
for (const i of e) {
|
|
34458
34458
|
if (i.directive.type !== "erc1155") continue;
|
|
34459
|
-
const s = i.directive.value.token_id, o = i.directive.resource_id, c = await new _n.Contract(o, n, r).uri(s.toString())
|
|
34459
|
+
const s = i.directive.value.token_id, o = i.directive.resource_id, c = await new _n.Contract(o, n, r).uri(s.toString());
|
|
34460
|
+
if (!c) continue;
|
|
34461
|
+
const l = await (await fetch(c)).json();
|
|
34460
34462
|
i.metadata = l;
|
|
34461
34463
|
}
|
|
34462
34464
|
};
|
|
@@ -35914,7 +35916,7 @@ const j$ = async () => {
|
|
|
35914
35916
|
if (t && fr.set(t), e && Hn.set(e), ea)
|
|
35915
35917
|
ea && ea.style.removeProperty("display");
|
|
35916
35918
|
else {
|
|
35917
|
-
const r = (await import("./App-
|
|
35919
|
+
const r = (await import("./App-C5YpYymI.js").then((n) => n.A)).default;
|
|
35918
35920
|
ih = new r({ target: document.body }), ea = document.getElementById("cpui");
|
|
35919
35921
|
}
|
|
35920
35922
|
}, q$ = () => {
|
|
@@ -35923,7 +35925,7 @@ const j$ = async () => {
|
|
|
35923
35925
|
if (ra)
|
|
35924
35926
|
Js == null || Js.$set({ styles: e, navConfig: t }), ra && ra.style.removeProperty("display");
|
|
35925
35927
|
else {
|
|
35926
|
-
const r = (await import("./Nav-
|
|
35928
|
+
const r = (await import("./Nav-DOAenKWf.js")).default;
|
|
35927
35929
|
Js = new r({
|
|
35928
35930
|
target: document.body,
|
|
35929
35931
|
props: { styles: e, navConfig: t }
|
|
@@ -36983,4 +36985,4 @@ export {
|
|
|
36983
36985
|
oH as y,
|
|
36984
36986
|
WG as z
|
|
36985
36987
|
};
|
|
36986
|
-
//# sourceMappingURL=index-
|
|
36988
|
+
//# sourceMappingURL=index-XUicxtaa.js.map
|