@wormhole-foundation/wormhole-connect 0.3.19-beta.1-development → 0.3.19-beta.3-development
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/assets/{ccip-CC5KdnX-.js → ccip-B8sh0red.js} +1 -1
- package/dist/assets/cosmos-CZk6ggNU.js +37 -0
- package/dist/assets/{cosmwasm-D6dc3HhR.js → cosmwasm-BRgXJAEm.js} +3 -3
- package/dist/assets/{ens-validation.es6-JeiZhPFM.js → ens-validation.es6-CEldkK56.js} +1 -1
- package/dist/assets/{evm-scnxy1Tm.js → evm-B3YdeaCI.js} +4 -4
- package/dist/assets/{index-DcrZhJuV.js → index-1ZJmfQkw.js} +2 -2
- package/dist/assets/{index-CfFB0O_w.js → index-2haya2pd.js} +1 -1
- package/dist/assets/{index-DdlsdoUO.js → index-BSZP2fsz.js} +1 -1
- package/dist/assets/{index-CYsDCGyL.js → index-BUfxN-fw.js} +1 -1
- package/dist/assets/index-CoAwWRVw.js +3 -0
- package/dist/assets/{index-CZGBtcJ2.js → index-moDeJTxm.js} +1 -1
- package/dist/assets/{index.es-CkKy_bC0.js → index.es-CXmj0UJy.js} +2 -2
- package/dist/assets/{solana-DJERwdo1.js → solana-ClUmAbQX.js} +2 -2
- package/dist/assets/{solanaEmbed.esm-CYzxDEiX.js → solanaEmbed.esm-BpCHncZo.js} +1 -1
- package/dist/assets/{unsignedTransaction-Bbs3hbtB.js → unsignedTransaction-C5QlrOSq.js} +1 -1
- package/dist/main.js +10 -10
- package/dist/src/components/TokensModal.d.ts.map +1 -1
- package/dist/src/telemetry/types.d.ts +1 -0
- package/dist/src/telemetry/types.d.ts.map +1 -1
- package/dist/src/views/Bridge/Send.d.ts.map +1 -1
- package/lib/{algorand-BEj3eMlU.js → algorand-BDR3KPTJ.js} +1 -1
- package/lib/{algorand-Cn2ASQM8.mjs → algorand-CNPRWbNB.mjs} +4 -4
- package/lib/{aptos-B4K8HU4y.mjs → aptos-BPs26BCC.mjs} +1 -1
- package/lib/{aptos-C5usxwjg.js → aptos-Br9Q1n2N.js} +1 -1
- package/lib/{aptos-r2dqWkwd.mjs → aptos-t3uXFwih.mjs} +4 -4
- package/lib/{aptos-CgcrUUs6.js → aptos-tCZHrDAP.js} +2 -2
- package/lib/{browser-CqNEk73A.mjs → browser-33Nc32cs.mjs} +2 -2
- package/lib/{browser-9qSlzcs1.js → browser-Cz60hQ-L.js} +1 -1
- package/lib/{ccip-Cg8GiGjJ.mjs → ccip-CE49B2YD.mjs} +1 -1
- package/lib/{ccip-DiTkor0v.js → ccip-CtmuOQGX.js} +1 -1
- package/lib/{chain-BS9tnRQF.js → chain-BT07YJHt.js} +1 -1
- package/lib/{chain-CNimQoal.mjs → chain-CbwtJlkc.mjs} +1 -1
- package/lib/{cosmos-kdBLlX5J.mjs → cosmos-LlwNYP69.mjs} +6 -6
- package/lib/cosmos-t65H2NQC.js +37 -0
- package/lib/{cosmwasm-BdmGrQe2.mjs → cosmwasm-CbTKetWD.mjs} +6 -6
- package/lib/{cosmwasm-t4y0gzD9.js → cosmwasm-CiJ3I3AY.js} +2 -2
- package/lib/{create-BC4-6NQa.js → create-Chqnlpoq.js} +1 -1
- package/lib/{create-Bh45gqri.mjs → create-HNw0Emrd.mjs} +1 -1
- package/lib/{ens-validation.es6-B5lcZ1z0.js → ens-validation.es6-BaZUabxu.js} +1 -1
- package/lib/{ens-validation.es6-BBk1nSK3.mjs → ens-validation.es6-CyEOHc9J.mjs} +2 -2
- package/lib/{evm-ByfaloPB.js → evm-3AGyBI-h.js} +2 -2
- package/lib/{evm-Cplwt-Uu.js → evm-CNC7JHe1.js} +4 -4
- package/lib/{evm-CI9jvgpD.mjs → evm-CjvzIUCn.mjs} +6 -6
- package/lib/{evm-BdLUkbt8.mjs → evm-lHNM4jqm.mjs} +6 -6
- package/lib/{index-CitMOybO.js → index-0t31FGKV.js} +1 -1
- package/lib/{index-CeYAnGJU.js → index-35qsyZLz.js} +1 -1
- package/lib/{index-Bjg2w3Jp.mjs → index-B6m0ovID.mjs} +2 -2
- package/lib/{index-DuPl6mJy.mjs → index-B9L2kltl.mjs} +4 -4
- package/lib/{index-D3leTI6y.js → index-B9gw1I6s.js} +1 -1
- package/lib/{index-tFdU3m1V.js → index-BBtf8VGl.js} +1 -1
- package/lib/{index-LbkpxbxU.js → index-BCSt_UXY.js} +1 -1
- package/lib/{index-dgxqH4Al.mjs → index-BCnyHegg.mjs} +4 -4
- package/lib/{index-DHNJ7dTI.mjs → index-BH5gBrJu.mjs} +3 -3
- package/lib/{index-BTJEpkGu.mjs → index-BS1tjK_Z.mjs} +5 -5
- package/lib/{index-DKqdtMJw.mjs → index-BWsL77BI.mjs} +3 -3
- package/lib/{index-v5JYqN5T.js → index-Bfw-brA6.js} +1 -1
- package/lib/{index-JCeZURsa.mjs → index-Bk7wdRtH.mjs} +3 -3
- package/lib/index-Bp0NhDcb.js +3 -0
- package/lib/{index-D2283Eib.js → index-BpuXk_6h.js} +1 -1
- package/lib/{index-RHlQCTsY.js → index-BqGvvv6N.js} +1 -1
- package/lib/{index-_ey36AjY.mjs → index-C4kvGnSA.mjs} +2 -2
- package/lib/{index-Vqfiz4gq.js → index-CACyup9A.js} +1 -1
- package/lib/{index-DULgLsXD.mjs → index-CGLAoOXl.mjs} +4 -4
- package/lib/{index-DWqHObYQ.js → index-CO9tmWap.js} +1 -1
- package/lib/{index-DO9Aqf4O.js → index-CYap2RXm.js} +1 -1
- package/lib/{index-6SYLbVVC.mjs → index-CbCfazgA.mjs} +5 -5
- package/lib/{index-DjJSdBO_.mjs → index-CdSy2Lfd.mjs} +101 -91
- package/lib/{index-B11tXNbe.mjs → index-CjyrCdi_.mjs} +72 -72
- package/lib/{index-W5vGD3Jp.js → index-Cofatf_w.js} +1 -1
- package/lib/{index-D10P63La.mjs → index-CokIAiMa.mjs} +4 -4
- package/lib/{index-CLqwNevH.mjs → index-Cp5np38p.mjs} +1 -1
- package/lib/{index-BAfpfiMg.mjs → index-D1dHZqit.mjs} +4 -4
- package/lib/{index-CyoAaX76.js → index-DCPwTd_i.js} +1 -1
- package/lib/{index-Cms5l5e9.mjs → index-DGRaAUXo.mjs} +2 -2
- package/lib/{index-DonnLcua.mjs → index-DJzhcNDU.mjs} +6 -6
- package/lib/{index-BskUJ6-F.js → index-DPNt5r2L.js} +1 -1
- package/lib/{index-DVzNMQU2.mjs → index-DRTx-Ru8.mjs} +4 -4
- package/lib/{index-D4polzlG.mjs → index-DVH-ZIP6.mjs} +4 -4
- package/lib/{index-D05MUiKM.js → index-DVVJw5ml.js} +1 -1
- package/lib/{index-DC95G-Xg.js → index-Dbwiqljw.js} +1 -1
- package/lib/{index-DJoVr9ew.mjs → index-DfJLd65b.mjs} +4 -4
- package/lib/{index-DkHNYEwj.js → index-DrncQYMG.js} +1 -1
- package/lib/{index-ClpF6w41.mjs → index-DvUq-nIQ.mjs} +5 -5
- package/lib/{index-Cpfo_13K.js → index-Tl7zYqHL.js} +9 -9
- package/lib/{index-CZM1nqSC.js → index-UOSBfEgg.js} +1 -1
- package/lib/{index-CiNv_vqX.js → index-abvwfKBf.js} +1 -1
- package/lib/{index-Cc-SRhQH.mjs → index-dJMYtBle.mjs} +4 -4
- package/lib/{index--XOWHvs8.js → index-l_e-RUun.js} +1 -1
- package/lib/{index-L-oyxcKw.mjs → index-zKUpU-3R.mjs} +4 -4
- package/lib/{index-BdZfdhLf.js → index-ztQgUCWf.js} +1 -1
- package/lib/{index.es-D641bRIm.js → index.es-494n2GDU.js} +2 -2
- package/lib/{index.es-CE_sbvG3.mjs → index.es-DnXnnX-i.mjs} +4 -4
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/lib/{libsodium-wrappers-DLsfT6wH.mjs → libsodium-wrappers-9p7NdjLu.mjs} +1 -1
- package/lib/{libsodium-wrappers-Dv4avoYQ.js → libsodium-wrappers-Dechaffz.js} +1 -1
- package/lib/{sei-BgefK64I.js → sei-DORxBQd-.js} +1 -1
- package/lib/{sei-DSmG2Vzd.mjs → sei-SWKTnPTF.mjs} +2 -2
- package/lib/{solana-cDD0Ny2l.js → solana-Bd9eRY8E.js} +2 -2
- package/lib/{solana--NAZIp_H.mjs → solana-DvbMa7B_.mjs} +3 -3
- package/lib/{solana-D-xykBVb.js → solana-KhBV5LOd.js} +1 -1
- package/lib/{solana-DGHdzU4Y.mjs → solana-T2pgCVfU.mjs} +6 -6
- package/lib/{solanaEmbed.esm-CvJOxxKf.mjs → solanaEmbed.esm-8eZSo5K2.mjs} +2 -2
- package/lib/{solanaEmbed.esm-SQGeqX2v.js → solanaEmbed.esm-CnKFJhsj.js} +1 -1
- package/lib/src/components/TokensModal.d.ts.map +1 -1
- package/lib/src/telemetry/types.d.ts +1 -0
- package/lib/src/telemetry/types.d.ts.map +1 -1
- package/lib/src/views/Bridge/Send.d.ts.map +1 -1
- package/lib/{sui-CitobCk-.js → sui-B382sZz0.js} +1 -1
- package/lib/{sui-CabK_MAW.mjs → sui-CjRGl9Gg.mjs} +1 -1
- package/lib/{sui-CnL17qoE.mjs → sui-DDu4a1uc.mjs} +4 -4
- package/lib/{sui-Bn1nWU88.js → sui-DwH1wYGH.js} +2 -2
- package/lib/{unsignedTransaction-Bl6mVw94.mjs → unsignedTransaction-BbAfXtog.mjs} +2 -2
- package/lib/{unsignedTransaction-wkSutsdc.js → unsignedTransaction-mu6HJcHt.js} +1 -1
- package/package.json +1 -1
- package/dist/assets/cosmos-CKUC0334.js +0 -37
- package/dist/assets/index-DTubKMVE.js +0 -3
- package/lib/cosmos-DAYdruCU.js +0 -37
- package/lib/index-DTYdWw1E.js +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as P,
|
|
1
|
+
import { o as P, d as Z, q as Ye, bV as Ze, as as it } from "./index-CdSy2Lfd.mjs";
|
|
2
2
|
var Je = {}, Qe = { exports: {} }, je = {};
|
|
3
3
|
(function(o) {
|
|
4
4
|
o.fetch = n(P.fetch) && n(P.ReadableStream), o.writableStream = n(P.WritableStream), o.abortController = n(P.AbortController);
|
|
@@ -33,13 +33,13 @@ var Je = {}, Qe = { exports: {} }, je = {};
|
|
|
33
33
|
}
|
|
34
34
|
r = null;
|
|
35
35
|
})(je);
|
|
36
|
-
var
|
|
36
|
+
var qe = {}, We = je, ft = Ye, et = Ze, Ae = qe.readyStates = {
|
|
37
37
|
UNSENT: 0,
|
|
38
38
|
OPENED: 1,
|
|
39
39
|
HEADERS_RECEIVED: 2,
|
|
40
40
|
LOADING: 3,
|
|
41
41
|
DONE: 4
|
|
42
|
-
}, $e =
|
|
42
|
+
}, $e = qe.IncomingMessage = function(o, r, h, f) {
|
|
43
43
|
var n = this;
|
|
44
44
|
if (et.Readable.call(n), n._mode = h, n.headers = {}, n.rawHeaders = [], n.trailers = {}, n.rawTrailers = [], n.on("end", function() {
|
|
45
45
|
Z.process.nextTick(function() {
|
|
@@ -147,11 +147,11 @@ $e.prototype._onXHRProgress = function(o) {
|
|
|
147
147
|
}
|
|
148
148
|
r._xhr.readyState === Ae.DONE && r._mode !== "ms-stream" && (o(!0), r.push(null));
|
|
149
149
|
};
|
|
150
|
-
var he = je, ht = Ye
|
|
150
|
+
var he = je, ht = Ye, tt = qe, ke = Ze, ut = tt.IncomingMessage, Ke = tt.readyStates;
|
|
151
151
|
function ct(o, r) {
|
|
152
152
|
return he.fetch && r ? "fetch" : he.mozchunkedarraybuffer ? "moz-chunked-arraybuffer" : he.msstream ? "ms-stream" : he.arraybuffer && o ? "arraybuffer" : "text";
|
|
153
153
|
}
|
|
154
|
-
var
|
|
154
|
+
var S = Qe.exports = function(o) {
|
|
155
155
|
var r = this;
|
|
156
156
|
ke.Writable.call(r), r._opts = o, r._body = [], r._headers = {}, o.auth && r.setHeader("Authorization", "Basic " + Z.Buffer.from(o.auth).toString("base64")), Object.keys(o.headers).forEach(function(n) {
|
|
157
157
|
r.setHeader(n, o.headers[n]);
|
|
@@ -171,23 +171,23 @@ var I = Qe.exports = function(o) {
|
|
|
171
171
|
r._onFinish();
|
|
172
172
|
});
|
|
173
173
|
};
|
|
174
|
-
ht(
|
|
175
|
-
|
|
174
|
+
ht(S, ke.Writable);
|
|
175
|
+
S.prototype.setHeader = function(o, r) {
|
|
176
176
|
var h = this, f = o.toLowerCase();
|
|
177
177
|
pt.indexOf(f) === -1 && (h._headers[f] = {
|
|
178
178
|
name: o,
|
|
179
179
|
value: r
|
|
180
180
|
});
|
|
181
181
|
};
|
|
182
|
-
|
|
182
|
+
S.prototype.getHeader = function(o) {
|
|
183
183
|
var r = this._headers[o.toLowerCase()];
|
|
184
184
|
return r ? r.value : null;
|
|
185
185
|
};
|
|
186
|
-
|
|
186
|
+
S.prototype.removeHeader = function(o) {
|
|
187
187
|
var r = this;
|
|
188
188
|
delete r._headers[o.toLowerCase()];
|
|
189
189
|
};
|
|
190
|
-
|
|
190
|
+
S.prototype._onFinish = function() {
|
|
191
191
|
var o = this;
|
|
192
192
|
if (!o._destroyed) {
|
|
193
193
|
var r = o._opts;
|
|
@@ -267,43 +267,43 @@ function lt(o) {
|
|
|
267
267
|
return !1;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
|
|
270
|
+
S.prototype._onXHRProgress = function() {
|
|
271
271
|
var o = this;
|
|
272
272
|
o._resetTimers(!1), !(!lt(o._xhr) || o._destroyed) && (o._response || o._connect(), o._response._onXHRProgress(o._resetTimers.bind(o)));
|
|
273
273
|
};
|
|
274
|
-
|
|
274
|
+
S.prototype._connect = function() {
|
|
275
275
|
var o = this;
|
|
276
276
|
o._destroyed || (o._response = new ut(o._xhr, o._fetchResponse, o._mode, o._resetTimers.bind(o)), o._response.on("error", function(r) {
|
|
277
277
|
o.emit("error", r);
|
|
278
278
|
}), o.emit("response", o._response));
|
|
279
279
|
};
|
|
280
|
-
|
|
280
|
+
S.prototype._write = function(o, r, h) {
|
|
281
281
|
var f = this;
|
|
282
282
|
f._body.push(o), h();
|
|
283
283
|
};
|
|
284
|
-
|
|
284
|
+
S.prototype._resetTimers = function(o) {
|
|
285
285
|
var r = this;
|
|
286
286
|
P.clearTimeout(r._socketTimer), r._socketTimer = null, o ? (P.clearTimeout(r._fetchTimer), r._fetchTimer = null) : r._socketTimeout && (r._socketTimer = P.setTimeout(function() {
|
|
287
287
|
r.emit("timeout");
|
|
288
288
|
}, r._socketTimeout));
|
|
289
289
|
};
|
|
290
|
-
|
|
290
|
+
S.prototype.abort = S.prototype.destroy = function(o) {
|
|
291
291
|
var r = this;
|
|
292
292
|
r._destroyed = !0, r._resetTimers(!0), r._response && (r._response._destroyed = !0), r._xhr ? r._xhr.abort() : r._fetchAbortController && r._fetchAbortController.abort(), o && r.emit("error", o);
|
|
293
293
|
};
|
|
294
|
-
|
|
294
|
+
S.prototype.end = function(o, r, h) {
|
|
295
295
|
var f = this;
|
|
296
296
|
typeof o == "function" && (h = o, o = void 0), ke.Writable.prototype.end.call(f, o, r, h);
|
|
297
297
|
};
|
|
298
|
-
|
|
298
|
+
S.prototype.setTimeout = function(o, r) {
|
|
299
299
|
var h = this;
|
|
300
300
|
r && h.once("timeout", r), h._socketTimeout = o, h._resetTimers(!1);
|
|
301
301
|
};
|
|
302
|
-
|
|
302
|
+
S.prototype.flushHeaders = function() {
|
|
303
303
|
};
|
|
304
|
-
|
|
304
|
+
S.prototype.setNoDelay = function() {
|
|
305
305
|
};
|
|
306
|
-
|
|
306
|
+
S.prototype.setSocketKeepAlive = function() {
|
|
307
307
|
};
|
|
308
308
|
var pt = [
|
|
309
309
|
"accept-charset",
|
|
@@ -398,14 +398,14 @@ var gt = {
|
|
|
398
398
|
509: "Bandwidth Limit Exceeded",
|
|
399
399
|
510: "Not Extended",
|
|
400
400
|
511: "Network Authentication Required"
|
|
401
|
-
}, He = { exports: {} },
|
|
401
|
+
}, He = { exports: {} }, xe = { exports: {} };
|
|
402
402
|
/*! https://mths.be/punycode v1.4.1 by @mathias */
|
|
403
|
-
|
|
403
|
+
xe.exports;
|
|
404
404
|
(function(o, r) {
|
|
405
405
|
(function(h) {
|
|
406
406
|
var f = r && !r.nodeType && r, n = o && !o.nodeType && o, g = typeof P == "object" && P;
|
|
407
407
|
(g.global === g || g.window === g || g.self === g) && (h = g);
|
|
408
|
-
var u, a = 2147483647, v = 36, T = 1, C = 26, m = 38, A = 700, te = 72, ae = 128,
|
|
408
|
+
var u, a = 2147483647, v = 36, T = 1, C = 26, m = 38, A = 700, te = 72, ae = 128, I = "-", Oe = /^xn--/, Ee = /[^\x20-\x7E]/, Ue = /[\x2E\u3002\uFF0E\uFF61]/g, Le = {
|
|
409
409
|
overflow: "Overflow: input needs wider integers to process",
|
|
410
410
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
411
411
|
"invalid-input": "Invalid input"
|
|
@@ -448,25 +448,25 @@ qe.exports;
|
|
|
448
448
|
return M(b + (pe + 1) * i / (i + m));
|
|
449
449
|
}
|
|
450
450
|
function we(i) {
|
|
451
|
-
var p = [], y = i.length, b, w = 0, U = ae,
|
|
452
|
-
for (R = i.lastIndexOf(
|
|
451
|
+
var p = [], y = i.length, b, w = 0, U = ae, x = te, R, N, B, G, L, H, k, V, Q;
|
|
452
|
+
for (R = i.lastIndexOf(I), R < 0 && (R = 0), N = 0; N < R; ++N)
|
|
453
453
|
i.charCodeAt(N) >= 128 && J("not-basic"), p.push(i.charCodeAt(N));
|
|
454
454
|
for (B = R > 0 ? R + 1 : 0; B < y; ) {
|
|
455
|
-
for (G = w, L = 1, H = v; B >= y && J("invalid-input"), k = oe(i.charCodeAt(B++)), (k >= v || k > M((a - w) / L)) && J("overflow"), w += k * L, V = H <=
|
|
455
|
+
for (G = w, L = 1, H = v; B >= y && J("invalid-input"), k = oe(i.charCodeAt(B++)), (k >= v || k > M((a - w) / L)) && J("overflow"), w += k * L, V = H <= x ? T : H >= x + C ? C : H - x, !(k < V); H += v)
|
|
456
456
|
Q = v - V, L > M(a / Q) && J("overflow"), L *= Q;
|
|
457
|
-
b = p.length + 1,
|
|
457
|
+
b = p.length + 1, x = ne(w - G, b, G == 0), M(w / b) > a - U && J("overflow"), U += M(w / b), w %= b, p.splice(w++, 0, U);
|
|
458
458
|
}
|
|
459
459
|
return ue(p);
|
|
460
460
|
}
|
|
461
461
|
function Re(i) {
|
|
462
|
-
var p, y, b, w, U,
|
|
463
|
-
for (i = Te(i), k = i.length, p = ae, y = 0, U = te,
|
|
464
|
-
L = i[
|
|
465
|
-
for (b = w = H.length, w && H.push(
|
|
466
|
-
for (R = a,
|
|
467
|
-
L = i[
|
|
468
|
-
for (V = b + 1, R - p > M((a - y) / V) && J("overflow"), y += (R - p) * V, p = R,
|
|
469
|
-
if (L = i[
|
|
462
|
+
var p, y, b, w, U, x, R, N, B, G, L, H = [], k, V, Q, me;
|
|
463
|
+
for (i = Te(i), k = i.length, p = ae, y = 0, U = te, x = 0; x < k; ++x)
|
|
464
|
+
L = i[x], L < 128 && H.push(re(L));
|
|
465
|
+
for (b = w = H.length, w && H.push(I); b < k; ) {
|
|
466
|
+
for (R = a, x = 0; x < k; ++x)
|
|
467
|
+
L = i[x], L >= p && L < R && (R = L);
|
|
468
|
+
for (V = b + 1, R - p > M((a - y) / V) && J("overflow"), y += (R - p) * V, p = R, x = 0; x < k; ++x)
|
|
469
|
+
if (L = i[x], L < p && ++y > a && J("overflow"), L == p) {
|
|
470
470
|
for (N = y, B = v; G = B <= U ? T : B >= U + C ? C : B - U, !(N < G); B += v)
|
|
471
471
|
me = N - G, Q = v - G, H.push(
|
|
472
472
|
re(ce(G + me % Q, 0))
|
|
@@ -482,7 +482,7 @@ qe.exports;
|
|
|
482
482
|
return Oe.test(p) ? we(p.slice(4).toLowerCase()) : p;
|
|
483
483
|
});
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function Se(i) {
|
|
486
486
|
return be(i, function(p) {
|
|
487
487
|
return Ee.test(p) ? "xn--" + Re(p) : p;
|
|
488
488
|
});
|
|
@@ -507,7 +507,7 @@ qe.exports;
|
|
|
507
507
|
},
|
|
508
508
|
decode: we,
|
|
509
509
|
encode: Re,
|
|
510
|
-
toASCII:
|
|
510
|
+
toASCII: Se,
|
|
511
511
|
toUnicode: Pe
|
|
512
512
|
}, f && n)
|
|
513
513
|
if (o.exports == f)
|
|
@@ -518,8 +518,8 @@ qe.exports;
|
|
|
518
518
|
else
|
|
519
519
|
h.punycode = u;
|
|
520
520
|
})(P);
|
|
521
|
-
})(
|
|
522
|
-
var _t =
|
|
521
|
+
})(xe, xe.exports);
|
|
522
|
+
var _t = xe.exports;
|
|
523
523
|
(function(o, r) {
|
|
524
524
|
Object.defineProperty(r, "__esModule", { value: !0 });
|
|
525
525
|
var h = _t, f = it;
|
|
@@ -539,8 +539,8 @@ var _t = qe.exports;
|
|
|
539
539
|
isNullOrUndefined: function(e) {
|
|
540
540
|
return e == null;
|
|
541
541
|
}
|
|
542
|
-
}, v = g.default, T = a, C = ne, m = Re, A = Pe, te = we, ae =
|
|
543
|
-
function
|
|
542
|
+
}, v = g.default, T = a, C = ne, m = Re, A = Pe, te = we, ae = I;
|
|
543
|
+
function I() {
|
|
544
544
|
this.protocol = null, this.slashes = null, this.auth = null, this.host = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.query = null, this.pathname = null, this.path = null, this.href = null;
|
|
545
545
|
}
|
|
546
546
|
var Oe = /^([a-z0-9.+-]+:)/i, Ee = /:[0-9]*$/, Ue = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Le = ["<", ">", '"', "`", " ", "\r", `
|
|
@@ -563,12 +563,12 @@ var _t = qe.exports;
|
|
|
563
563
|
"file:": !0
|
|
564
564
|
}, ce = u.default;
|
|
565
565
|
function ne(e, s, t) {
|
|
566
|
-
if (e && T.isObject(e) && e instanceof
|
|
566
|
+
if (e && T.isObject(e) && e instanceof I)
|
|
567
567
|
return e;
|
|
568
|
-
var l = new
|
|
568
|
+
var l = new I();
|
|
569
569
|
return l.parse(e, s, t), l;
|
|
570
570
|
}
|
|
571
|
-
|
|
571
|
+
I.prototype.parse = function(e, s, t) {
|
|
572
572
|
if (!T.isString(e))
|
|
573
573
|
throw new TypeError("Parameter 'url' must be a string, not " + typeof e);
|
|
574
574
|
var l = e.indexOf("?"), _ = l !== -1 && l < e.indexOf("#") ? "?" : "#", D = e.split(_), j = /\\/g;
|
|
@@ -579,17 +579,17 @@ var _t = qe.exports;
|
|
|
579
579
|
if (W)
|
|
580
580
|
return this.path = c, this.href = c, this.pathname = W[1], W[2] ? (this.search = W[2], s ? this.query = ce.parse(this.search.substr(1)) : this.query = this.search.substr(1)) : s && (this.search = "", this.query = {}), this;
|
|
581
581
|
}
|
|
582
|
-
var
|
|
583
|
-
if (
|
|
584
|
-
|
|
585
|
-
var fe =
|
|
586
|
-
this.protocol = fe, c = c.substr(
|
|
582
|
+
var q = Oe.exec(c);
|
|
583
|
+
if (q) {
|
|
584
|
+
q = q[0];
|
|
585
|
+
var fe = q.toLowerCase();
|
|
586
|
+
this.protocol = fe, c = c.substr(q.length);
|
|
587
587
|
}
|
|
588
|
-
if (t ||
|
|
588
|
+
if (t || q || c.match(/^\/\/[^@\/]+@[^@\/]+/)) {
|
|
589
589
|
var ve = c.substr(0, 2) === "//";
|
|
590
|
-
ve && !(
|
|
590
|
+
ve && !(q && ue[q]) && (c = c.substr(2), this.slashes = !0);
|
|
591
591
|
}
|
|
592
|
-
if (!ue[
|
|
592
|
+
if (!ue[q] && (ve || q && !oe[q])) {
|
|
593
593
|
for (var F = -1, O = 0; O < ie.length; O++) {
|
|
594
594
|
var ee = c.indexOf(ie[O]);
|
|
595
595
|
ee !== -1 && (F === -1 || ee < F) && (F = ee);
|
|
@@ -606,7 +606,7 @@ var _t = qe.exports;
|
|
|
606
606
|
for (var d = this.hostname.split(/\./), O = 0, E = d.length; O < E; O++) {
|
|
607
607
|
var K = d[O];
|
|
608
608
|
if (K && !K.match(de)) {
|
|
609
|
-
for (var z = "", X = 0,
|
|
609
|
+
for (var z = "", X = 0, Ie = K.length; X < Ie; X++)
|
|
610
610
|
K.charCodeAt(X) > 127 ? z += "x" : z += K[X];
|
|
611
611
|
if (!z.match(de)) {
|
|
612
612
|
var se = d.slice(0, O), Y = d.slice(O + 1), le = K.match(be);
|
|
@@ -637,9 +637,9 @@ var _t = qe.exports;
|
|
|
637
637
|
return this.href = this.format(), this;
|
|
638
638
|
};
|
|
639
639
|
function we(e) {
|
|
640
|
-
return T.isString(e) && (e = ne(e)), e instanceof
|
|
640
|
+
return T.isString(e) && (e = ne(e)), e instanceof I ? e.format() : I.prototype.format.call(e);
|
|
641
641
|
}
|
|
642
|
-
|
|
642
|
+
I.prototype.format = function() {
|
|
643
643
|
var e = this.auth || "";
|
|
644
644
|
e && (e = encodeURIComponent(e), e = e.replace(/%3A/i, ":"), e += "@");
|
|
645
645
|
var s = this.protocol || "", t = this.pathname || "", l = this.hash || "", _ = !1, D = "";
|
|
@@ -652,18 +652,18 @@ var _t = qe.exports;
|
|
|
652
652
|
function Re(e, s) {
|
|
653
653
|
return ne(e, !1, !0).resolve(s);
|
|
654
654
|
}
|
|
655
|
-
|
|
655
|
+
I.prototype.resolve = function(e) {
|
|
656
656
|
return this.resolveObject(ne(e, !1, !0)).format();
|
|
657
657
|
};
|
|
658
658
|
function Pe(e, s) {
|
|
659
659
|
return e ? ne(e, !1, !0).resolveObject(s) : s;
|
|
660
660
|
}
|
|
661
|
-
|
|
661
|
+
I.prototype.resolveObject = function(e) {
|
|
662
662
|
if (T.isString(e)) {
|
|
663
|
-
var s = new
|
|
663
|
+
var s = new I();
|
|
664
664
|
s.parse(e, !1, !0), e = s;
|
|
665
665
|
}
|
|
666
|
-
for (var t = new
|
|
666
|
+
for (var t = new I(), l = Object.keys(this), _ = 0; _ < l.length; _++) {
|
|
667
667
|
var D = l[_];
|
|
668
668
|
t[D] = this[D];
|
|
669
669
|
}
|
|
@@ -678,8 +678,8 @@ var _t = qe.exports;
|
|
|
678
678
|
}
|
|
679
679
|
if (e.protocol && e.protocol !== t.protocol) {
|
|
680
680
|
if (!oe[e.protocol]) {
|
|
681
|
-
for (var
|
|
682
|
-
var ve =
|
|
681
|
+
for (var q = Object.keys(e), fe = 0; fe < q.length; fe++) {
|
|
682
|
+
var ve = q[fe];
|
|
683
683
|
t[ve] = e[ve];
|
|
684
684
|
}
|
|
685
685
|
return t.href = t.format(), t;
|
|
@@ -711,12 +711,12 @@ var _t = qe.exports;
|
|
|
711
711
|
}
|
|
712
712
|
if (!d.length)
|
|
713
713
|
return t.pathname = null, t.search ? t.path = "/" + t.search : t.path = null, t.href = t.format(), t;
|
|
714
|
-
for (var X = d.slice(-1)[0],
|
|
714
|
+
for (var X = d.slice(-1)[0], Ie = (t.host || e.host || d.length > 1) && (X === "." || X === "..") || X === "", se = 0, Y = d.length; Y >= 0; Y--)
|
|
715
715
|
X = d[Y], X === "." ? d.splice(Y, 1) : X === ".." ? (d.splice(Y, 1), se++) : se && (d.splice(Y, 1), se--);
|
|
716
716
|
if (!$ && !ge)
|
|
717
717
|
for (; se--; se)
|
|
718
718
|
d.unshift("..");
|
|
719
|
-
$ && d[0] !== "" && (!d[0] || d[0].charAt(0) !== "/") && d.unshift(""),
|
|
719
|
+
$ && d[0] !== "" && (!d[0] || d[0].charAt(0) !== "/") && d.unshift(""), Ie && d.join("/").substr(-1) !== "/" && d.push("");
|
|
720
720
|
var le = d[0] === "" || d[0] && d[0].charAt(0) === "/";
|
|
721
721
|
if (K) {
|
|
722
722
|
t.hostname = t.host = le ? "" : d.length ? d.shift() : "";
|
|
@@ -724,11 +724,11 @@ var _t = qe.exports;
|
|
|
724
724
|
z && (t.auth = z.shift(), t.host = t.hostname = z.shift());
|
|
725
725
|
}
|
|
726
726
|
return $ = $ || t.host && d.length, $ && !le && d.unshift(""), d.length ? t.pathname = d.join("/") : (t.pathname = null, t.path = null), (!T.isNull(t.pathname) || !T.isNull(t.search)) && (t.path = (t.pathname ? t.pathname : "") + (t.search ? t.search : "")), t.auth = e.auth || t.auth, t.slashes = t.slashes || e.slashes, t.href = t.format(), t;
|
|
727
|
-
},
|
|
727
|
+
}, I.prototype.parseHost = function() {
|
|
728
728
|
var e = this.host, s = Ee.exec(e);
|
|
729
729
|
s && (s = s[0], s !== ":" && (this.port = s.substr(1)), e = e.substr(0, e.length - s.length)), e && (this.hostname = e);
|
|
730
730
|
};
|
|
731
|
-
function
|
|
731
|
+
function Se(e, s) {
|
|
732
732
|
for (var t = 0, l = e.length - 1; l >= 0; l--) {
|
|
733
733
|
var _ = e[l];
|
|
734
734
|
_ === "." ? e.splice(l, 1) : _ === ".." ? (e.splice(l, 1), t++) : t && (e.splice(l, 1), t--);
|
|
@@ -747,7 +747,7 @@ var _t = qe.exports;
|
|
|
747
747
|
continue;
|
|
748
748
|
e = l + "/" + e, s = l.charAt(0) === "/";
|
|
749
749
|
}
|
|
750
|
-
return e =
|
|
750
|
+
return e = Se(p(e.split("/"), function(_) {
|
|
751
751
|
return !!_;
|
|
752
752
|
}), !s).join("/"), (s ? "/" : "") + e || ".";
|
|
753
753
|
}
|
|
@@ -782,7 +782,7 @@ var _t = qe.exports;
|
|
|
782
782
|
), U = (
|
|
783
783
|
/** @type {resolveImport}*/
|
|
784
784
|
m
|
|
785
|
-
),
|
|
785
|
+
), x = (
|
|
786
786
|
/** @type {UrlImport}*/
|
|
787
787
|
ae
|
|
788
788
|
), R = y.URL, N = y.URLSearchParams, B = /%/g, G = /\\/g, L = /\n/g, H = /\r/g, k = /\t/g, V = 47;
|
|
@@ -859,15 +859,15 @@ var _t = qe.exports;
|
|
|
859
859
|
return b(s);
|
|
860
860
|
if (typeof t != "object" || t === null)
|
|
861
861
|
throw new TypeError('The "options" argument must be of type object.');
|
|
862
|
-
var j = (l = t.auth) != null ? l : !0, c = (_ = t.fragment) != null ? _ : !0, W = (D = t.search) != null ? D : !0,
|
|
863
|
-
return j || (
|
|
862
|
+
var j = (l = t.auth) != null ? l : !0, c = (_ = t.fragment) != null ? _ : !0, W = (D = t.search) != null ? D : !0, q = new R(s.toString());
|
|
863
|
+
return j || (q.username = "", q.password = ""), c || (q.hash = ""), W || (q.search = ""), q.toString();
|
|
864
864
|
}
|
|
865
865
|
), Ve = {
|
|
866
866
|
format: Xe,
|
|
867
867
|
parse: w,
|
|
868
868
|
resolve: U,
|
|
869
869
|
resolveObject: A,
|
|
870
|
-
Url:
|
|
870
|
+
Url: x,
|
|
871
871
|
URL: R,
|
|
872
872
|
URLSearchParams: N,
|
|
873
873
|
domainToASCII: De,
|
|
@@ -875,11 +875,11 @@ var _t = qe.exports;
|
|
|
875
875
|
pathToFileURL: Ge,
|
|
876
876
|
fileURLToPath: ze
|
|
877
877
|
};
|
|
878
|
-
r.URL = R, r.URLSearchParams = N, r.Url =
|
|
878
|
+
r.URL = R, r.URLSearchParams = N, r.Url = x, r.default = Ve, r.domainToASCII = De, r.domainToUnicode = Be, r.fileURLToPath = ze, r.format = Xe, r.parse = w, r.pathToFileURL = Ge, r.resolve = U, r.resolveObject = A, r = o.exports = Ve;
|
|
879
879
|
})(He, He.exports);
|
|
880
880
|
var rt = He.exports;
|
|
881
881
|
(function(o) {
|
|
882
|
-
var r = dt, h =
|
|
882
|
+
var r = dt, h = qe, f = mt, n = gt, g = rt, u = o;
|
|
883
883
|
u.request = function(a, v) {
|
|
884
884
|
typeof a == "string" ? a = g.parse(a) : a = f(a);
|
|
885
885
|
var T = P.location.protocol.search(/^https?:$/) === -1 ? "http:" : "", C = a.protocol || T, m = a.hostname || a.host, A = a.port, te = a.path || "/";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const me=Symbol(),se=Object.getPrototypeOf,G=new WeakMap,he=e=>e&&(G.has(e)?G.get(e):se(e)===Object.prototype||se(e)===Array.prototype),ge=e=>he(e)&&e[me]||null,ne=(e,t=!0)=>{G.set(e,t)};var H={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1,REACT_APP_CONNECT_VERSION:"0.3.19-beta.1-development"};const F=e=>typeof e=="object"&&e!==null,A=new WeakMap,x=new WeakSet,be=(e=Object.is,t=(n,g)=>new Proxy(n,g),s=n=>F(n)&&!x.has(n)&&(Array.isArray(n)||!(Symbol.iterator in n))&&!(n instanceof WeakMap)&&!(n instanceof WeakSet)&&!(n instanceof Error)&&!(n instanceof Number)&&!(n instanceof Date)&&!(n instanceof String)&&!(n instanceof RegExp)&&!(n instanceof ArrayBuffer),r=n=>{switch(n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:throw n}},l=new WeakMap,c=(n,g,I=r)=>{const v=l.get(n);if((v==null?void 0:v[0])===g)return v[1];const w=Array.isArray(n)?[]:Object.create(Object.getPrototypeOf(n));return ne(w,!0),l.set(n,[g,w]),Reflect.ownKeys(n).forEach(k=>{if(Object.getOwnPropertyDescriptor(w,k))return;const L=Reflect.get(n,k),M={value:L,enumerable:!0,configurable:!0};if(x.has(L))ne(L,!1);else if(L instanceof Promise)delete M.value,M.get=()=>I(L);else if(A.has(L)){const[b,q]=A.get(L);M.value=c(b,q(),I)}Object.defineProperty(w,k,M)}),Object.preventExtensions(w)},m=new WeakMap,f=[1,1],W=n=>{if(!F(n))throw new Error("object required");const g=m.get(n);if(g)return g;let I=f[0];const v=new Set,w=(a,i=++f[0])=>{I!==i&&(I=i,v.forEach(o=>o(a,i)))};let k=f[1];const L=(a=++f[1])=>(k!==a&&!v.size&&(k=a,b.forEach(([i])=>{const o=i[1](a);o>I&&(I=o)})),I),M=a=>(i,o)=>{const h=[...i];h[1]=[a,...h[1]],w(h,o)},b=new Map,q=(a,i)=>{if((H?"production":void 0)!=="production"&&b.has(a))throw new Error("prop listener already exists");if(v.size){const o=i[3](M(a));b.set(a,[i,o])}else b.set(a,[i])},te=a=>{var i;const o=b.get(a);o&&(b.delete(a),(i=o[1])==null||i.call(o))},pe=a=>(v.add(a),v.size===1&&b.forEach(([o,h],N)=>{if((H?"production":void 0)!=="production"&&h)throw new Error("remove already exists");const R=o[3](M(N));b.set(N,[o,R])}),()=>{v.delete(a),v.size===0&&b.forEach(([o,h],N)=>{h&&(h(),b.set(N,[o]))})}),J=Array.isArray(n)?[]:Object.create(Object.getPrototypeOf(n)),$=t(J,{deleteProperty(a,i){const o=Reflect.get(a,i);te(i);const h=Reflect.deleteProperty(a,i);return h&&w(["delete",[i],o]),h},set(a,i,o,h){const N=Reflect.has(a,i),R=Reflect.get(a,i,h);if(N&&(e(R,o)||m.has(o)&&e(R,m.get(o))))return!0;te(i),F(o)&&(o=ge(o)||o);let V=o;if(o instanceof Promise)o.then(C=>{o.status="fulfilled",o.value=C,w(["resolve",[i],C])}).catch(C=>{o.status="rejected",o.reason=C,w(["reject",[i],C])});else{!A.has(o)&&s(o)&&(V=W(o));const C=!x.has(V)&&A.get(V);C&&q(i,C)}return Reflect.set(a,i,V,h),w(["set",[i],o,R]),!0}});m.set(n,$);const fe=[J,L,c,pe];return A.set($,fe),Reflect.ownKeys(n).forEach(a=>{const i=Object.getOwnPropertyDescriptor(n,a);"value"in i&&($[a]=n[a],delete i.value,delete i.writable),Object.defineProperty(J,a,i)}),$})=>[W,A,x,e,t,s,r,l,c,m,f],[ye]=be();function j(e={}){return ye(e)}function D(e,t,s){const r=A.get(e);(H?"production":void 0)!=="production"&&!r&&console.warn("Please use proxy object");let l;const c=[],m=r[3];let f=!1;const n=m(g=>{c.push(g),l||(l=Promise.resolve().then(()=>{l=void 0,f&&t(c.splice(0))}))});return f=!0,()=>{f=!1,n()}}function ve(e,t){const s=A.get(e);(H?"production":void 0)!=="production"&&!s&&console.warn("Please use proxy object");const[r,l,c]=s;return c(r,l(),t)}const d=j({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),ee={state:d,subscribe(e){return D(d,()=>e(d))},push(e,t){e!==d.view&&(d.view=e,t&&(d.data=t),d.history.push(e))},reset(e){d.view=e,d.history=[e]},replace(e){d.history.length>1&&(d.history[d.history.length-1]=e,d.view=e)},goBack(){if(d.history.length>1){d.history.pop();const[e]=d.history.slice(-1);d.view=e}},setData(e){d.data=e}},u={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?!!(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return u.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return u.isMobile()&&(e.includes("iphone")||e.includes("ipad"))},isHttpUrl(e){return e.startsWith("http://")||e.startsWith("https://")},isArray(e){return Array.isArray(e)&&e.length>0},formatNativeUrl(e,t,s){if(u.isHttpUrl(e))return this.formatUniversalUrl(e,t,s);let r=e;r.includes("://")||(r=e.replaceAll("/","").replaceAll(":",""),r=`${r}://`),r.endsWith("/")||(r=`${r}/`),this.setWalletConnectDeepLink(r,s);const l=encodeURIComponent(t);return`${r}wc?uri=${l}`},formatUniversalUrl(e,t,s){if(!u.isHttpUrl(e))return this.formatNativeUrl(e,t,s);let r=e;r.endsWith("/")||(r=`${r}/`),this.setWalletConnectDeepLink(r,s);const l=encodeURIComponent(t);return`${r}wc?uri=${l}`},async wait(e){return new Promise(t=>{setTimeout(t,e)})},openHref(e,t){window.open(e,t,"noreferrer noopener")},setWalletConnectDeepLink(e,t){try{localStorage.setItem(u.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:t}))}catch{console.info("Unable to set WalletConnect deep link")}},setWalletConnectAndroidDeepLink(e){try{const[t]=e.split("?");localStorage.setItem(u.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}))}catch{console.info("Unable to set WalletConnect android deep link")}},removeWalletConnectDeepLink(){try{localStorage.removeItem(u.WALLETCONNECT_DEEPLINK_CHOICE)}catch{console.info("Unable to remove WalletConnect deep link")}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(u.WCM_VERSION,"2.6.2")}catch{console.info("Unable to set Web3Modal version in storage")}},getWalletRouterData(){var e;const t=(e=ee.state.data)==null?void 0:e.Wallet;if(!t)throw new Error('Missing "Wallet" view data');return t}},we=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),p=j({enabled:we,userSessionId:"",events:[],connectedWalletId:void 0}),ue={state:p,subscribe(e){return D(p.events,()=>e(ve(p.events[p.events.length-1])))},initialize(){p.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(p.userSessionId=crypto.randomUUID())},setConnectedWalletId(e){p.connectedWalletId=e},click(e){if(p.enabled){const t={type:"CLICK",name:e.name,userSessionId:p.userSessionId,timestamp:Date.now(),data:e};p.events.push(t)}},track(e){if(p.enabled){const t={type:"TRACK",name:e.name,userSessionId:p.userSessionId,timestamp:Date.now(),data:e};p.events.push(t)}},view(e){if(p.enabled){const t={type:"VIEW",name:e.name,userSessionId:p.userSessionId,timestamp:Date.now(),data:e};p.events.push(t)}}},O=j({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),y={state:O,subscribe(e){return D(O,()=>e(O))},setChains(e){O.chains=e},setWalletConnectUri(e){O.walletConnectUri=e},setIsCustomDesktop(e){O.isCustomDesktop=e},setIsCustomMobile(e){O.isCustomMobile=e},setIsDataLoaded(e){O.isDataLoaded=e},setIsUiLoaded(e){O.isUiLoaded=e},setIsAuth(e){O.isAuth=e}},B=j({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),P={state:B,subscribe(e){return D(B,()=>e(B))},setConfig(e){var t,s;ue.initialize(),y.setChains(e.chains),y.setIsAuth(!!e.enableAuthMode),y.setIsCustomMobile(!!((t=e.mobileWallets)!=null&&t.length)),y.setIsCustomDesktop(!!((s=e.desktopWallets)!=null&&s.length)),u.setModalVersionInStorage(),Object.assign(B,e)}};var Ie=Object.defineProperty,oe=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,re=(e,t,s)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Le=(e,t)=>{for(var s in t||(t={}))Oe.call(t,s)&&re(e,s,t[s]);if(oe)for(var s of oe(t))Ee.call(t,s)&&re(e,s,t[s]);return e};const Q="https://explorer-api.walletconnect.com",X="wcm",Y="js-2.6.2";async function K(e,t){const s=Le({sdkType:X,sdkVersion:Y},t),r=new URL(e,Q);return r.searchParams.append("projectId",P.state.projectId),Object.entries(s).forEach(([l,c])=>{c&&r.searchParams.append(l,String(c))}),(await fetch(r)).json()}const U={async getDesktopListings(e){return K("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return K("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return K("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return K("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return`${Q}/w3m/v1/getWalletImage/${e}?projectId=${P.state.projectId}&sdkType=${X}&sdkVersion=${Y}`},getAssetImageUrl(e){return`${Q}/w3m/v1/getAssetImage/${e}?projectId=${P.state.projectId}&sdkType=${X}&sdkVersion=${Y}`}};var We=Object.defineProperty,ie=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ae=(e,t,s)=>t in e?We(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,je=(e,t)=>{for(var s in t||(t={}))Ce.call(t,s)&&ae(e,s,t[s]);if(ie)for(var s of ie(t))Ae.call(t,s)&&ae(e,s,t[s]);return e};const le=u.isMobile(),E=j({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),Me={state:E,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=P.state;if(e==="NONE"||t==="ALL"&&!e)return E.recomendedWallets;if(u.isArray(e)){const s={recommendedIds:e.join(",")},{listings:r}=await U.getAllListings(s),l=Object.values(r);l.sort((c,m)=>{const f=e.indexOf(c.id),W=e.indexOf(m.id);return f-W}),E.recomendedWallets=l}else{const{chains:s,isAuth:r}=y.state,l=s==null?void 0:s.join(","),c=u.isArray(t),m={page:1,sdks:r?"auth_v1":void 0,entries:u.RECOMMENDED_WALLET_AMOUNT,chains:l,version:2,excludedIds:c?t.join(","):void 0},{listings:f}=le?await U.getMobileListings(m):await U.getDesktopListings(m);E.recomendedWallets=Object.values(f)}return E.recomendedWallets},async getWallets(e){const t=je({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:r}=P.state,{recomendedWallets:l}=E;if(r==="ALL")return E.wallets;l.length?t.excludedIds=l.map(I=>I.id).join(","):u.isArray(s)&&(t.excludedIds=s.join(",")),u.isArray(r)&&(t.excludedIds=[t.excludedIds,r].filter(Boolean).join(",")),y.state.isAuth&&(t.sdks="auth_v1");const{page:c,search:m}=e,{listings:f,total:W}=le?await U.getMobileListings(t):await U.getDesktopListings(t),n=Object.values(f),g=m?"search":"wallets";return E[g]={listings:[...E[g].listings,...n],total:W,page:c??1},{listings:n,total:W}},getWalletImageUrl(e){return U.getWalletImageUrl(e)},getAssetImageUrl(e){return U.getAssetImageUrl(e)},resetSearch(){E.search={listings:[],total:0,page:1}}},_=j({open:!1}),z={state:_,subscribe(e){return D(_,()=>e(_))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:r}=y.state;if(u.removeWalletConnectDeepLink(),y.setWalletConnectUri(e==null?void 0:e.uri),y.setChains(e==null?void 0:e.chains),ee.reset("ConnectWallet"),s&&r)_.open=!0,t();else{const l=setInterval(()=>{const c=y.state;c.isUiLoaded&&c.isDataLoaded&&(clearInterval(l),_.open=!0,t())},200)}})},close(){_.open=!1}};var Ue=Object.defineProperty,ce=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,de=(e,t,s)=>t in e?Ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,De=(e,t)=>{for(var s in t||(t={}))Se.call(t,s)&&de(e,s,t[s]);if(ce)for(var s of ce(t))Pe.call(t,s)&&de(e,s,t[s]);return e};function ke(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const T=j({themeMode:ke()?"dark":"light"}),Z={state:T,subscribe(e){return D(T,()=>e(T))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(T.themeMode=t),s&&(T.themeVariables=De({},s))}},S=j({open:!1,message:"",variant:"success"}),Ne={state:S,subscribe(e){return D(S,()=>e(S))},openToast(e,t){S.open=!0,S.message=e,S.variant=t},closeToast(){S.open=!1}};class _e{constructor(t){this.openModal=z.open,this.closeModal=z.close,this.subscribeModal=z.subscribe,this.setTheme=Z.setThemeConfig,Z.setThemeConfig(t),P.setConfig(t),this.initUi()}async initUi(){if(typeof window<"u"){await Promise.resolve().then(()=>require("./index-CyoAaX76.js"));const t=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",t),y.setIsUiLoaded(!0)}}}const Re=Object.freeze(Object.defineProperty({__proto__:null,WalletConnectModal:_e},Symbol.toStringTag,{value:"Module"}));exports.R=ue;exports.T=ee;exports.a=u;exports.index=Re;exports.ne=Z;exports.oe=Ne;exports.p=y;exports.se=z;exports.te=Me;exports.y=P;
|
|
1
|
+
"use strict";const me=Symbol(),se=Object.getPrototypeOf,G=new WeakMap,he=e=>e&&(G.has(e)?G.get(e):se(e)===Object.prototype||se(e)===Array.prototype),ge=e=>he(e)&&e[me]||null,ne=(e,t=!0)=>{G.set(e,t)};var H={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1,REACT_APP_CONNECT_VERSION:"0.3.19-beta.3-development"};const F=e=>typeof e=="object"&&e!==null,A=new WeakMap,x=new WeakSet,be=(e=Object.is,t=(n,g)=>new Proxy(n,g),s=n=>F(n)&&!x.has(n)&&(Array.isArray(n)||!(Symbol.iterator in n))&&!(n instanceof WeakMap)&&!(n instanceof WeakSet)&&!(n instanceof Error)&&!(n instanceof Number)&&!(n instanceof Date)&&!(n instanceof String)&&!(n instanceof RegExp)&&!(n instanceof ArrayBuffer),r=n=>{switch(n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:throw n}},l=new WeakMap,c=(n,g,I=r)=>{const v=l.get(n);if((v==null?void 0:v[0])===g)return v[1];const w=Array.isArray(n)?[]:Object.create(Object.getPrototypeOf(n));return ne(w,!0),l.set(n,[g,w]),Reflect.ownKeys(n).forEach(k=>{if(Object.getOwnPropertyDescriptor(w,k))return;const L=Reflect.get(n,k),M={value:L,enumerable:!0,configurable:!0};if(x.has(L))ne(L,!1);else if(L instanceof Promise)delete M.value,M.get=()=>I(L);else if(A.has(L)){const[b,q]=A.get(L);M.value=c(b,q(),I)}Object.defineProperty(w,k,M)}),Object.preventExtensions(w)},m=new WeakMap,f=[1,1],W=n=>{if(!F(n))throw new Error("object required");const g=m.get(n);if(g)return g;let I=f[0];const v=new Set,w=(a,i=++f[0])=>{I!==i&&(I=i,v.forEach(o=>o(a,i)))};let k=f[1];const L=(a=++f[1])=>(k!==a&&!v.size&&(k=a,b.forEach(([i])=>{const o=i[1](a);o>I&&(I=o)})),I),M=a=>(i,o)=>{const h=[...i];h[1]=[a,...h[1]],w(h,o)},b=new Map,q=(a,i)=>{if((H?"production":void 0)!=="production"&&b.has(a))throw new Error("prop listener already exists");if(v.size){const o=i[3](M(a));b.set(a,[i,o])}else b.set(a,[i])},te=a=>{var i;const o=b.get(a);o&&(b.delete(a),(i=o[1])==null||i.call(o))},pe=a=>(v.add(a),v.size===1&&b.forEach(([o,h],N)=>{if((H?"production":void 0)!=="production"&&h)throw new Error("remove already exists");const R=o[3](M(N));b.set(N,[o,R])}),()=>{v.delete(a),v.size===0&&b.forEach(([o,h],N)=>{h&&(h(),b.set(N,[o]))})}),J=Array.isArray(n)?[]:Object.create(Object.getPrototypeOf(n)),$=t(J,{deleteProperty(a,i){const o=Reflect.get(a,i);te(i);const h=Reflect.deleteProperty(a,i);return h&&w(["delete",[i],o]),h},set(a,i,o,h){const N=Reflect.has(a,i),R=Reflect.get(a,i,h);if(N&&(e(R,o)||m.has(o)&&e(R,m.get(o))))return!0;te(i),F(o)&&(o=ge(o)||o);let V=o;if(o instanceof Promise)o.then(C=>{o.status="fulfilled",o.value=C,w(["resolve",[i],C])}).catch(C=>{o.status="rejected",o.reason=C,w(["reject",[i],C])});else{!A.has(o)&&s(o)&&(V=W(o));const C=!x.has(V)&&A.get(V);C&&q(i,C)}return Reflect.set(a,i,V,h),w(["set",[i],o,R]),!0}});m.set(n,$);const fe=[J,L,c,pe];return A.set($,fe),Reflect.ownKeys(n).forEach(a=>{const i=Object.getOwnPropertyDescriptor(n,a);"value"in i&&($[a]=n[a],delete i.value,delete i.writable),Object.defineProperty(J,a,i)}),$})=>[W,A,x,e,t,s,r,l,c,m,f],[ye]=be();function j(e={}){return ye(e)}function D(e,t,s){const r=A.get(e);(H?"production":void 0)!=="production"&&!r&&console.warn("Please use proxy object");let l;const c=[],m=r[3];let f=!1;const n=m(g=>{c.push(g),l||(l=Promise.resolve().then(()=>{l=void 0,f&&t(c.splice(0))}))});return f=!0,()=>{f=!1,n()}}function ve(e,t){const s=A.get(e);(H?"production":void 0)!=="production"&&!s&&console.warn("Please use proxy object");const[r,l,c]=s;return c(r,l(),t)}const d=j({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),ee={state:d,subscribe(e){return D(d,()=>e(d))},push(e,t){e!==d.view&&(d.view=e,t&&(d.data=t),d.history.push(e))},reset(e){d.view=e,d.history=[e]},replace(e){d.history.length>1&&(d.history[d.history.length-1]=e,d.view=e)},goBack(){if(d.history.length>1){d.history.pop();const[e]=d.history.slice(-1);d.view=e}},setData(e){d.data=e}},u={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?!!(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return u.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return u.isMobile()&&(e.includes("iphone")||e.includes("ipad"))},isHttpUrl(e){return e.startsWith("http://")||e.startsWith("https://")},isArray(e){return Array.isArray(e)&&e.length>0},formatNativeUrl(e,t,s){if(u.isHttpUrl(e))return this.formatUniversalUrl(e,t,s);let r=e;r.includes("://")||(r=e.replaceAll("/","").replaceAll(":",""),r=`${r}://`),r.endsWith("/")||(r=`${r}/`),this.setWalletConnectDeepLink(r,s);const l=encodeURIComponent(t);return`${r}wc?uri=${l}`},formatUniversalUrl(e,t,s){if(!u.isHttpUrl(e))return this.formatNativeUrl(e,t,s);let r=e;r.endsWith("/")||(r=`${r}/`),this.setWalletConnectDeepLink(r,s);const l=encodeURIComponent(t);return`${r}wc?uri=${l}`},async wait(e){return new Promise(t=>{setTimeout(t,e)})},openHref(e,t){window.open(e,t,"noreferrer noopener")},setWalletConnectDeepLink(e,t){try{localStorage.setItem(u.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:t}))}catch{console.info("Unable to set WalletConnect deep link")}},setWalletConnectAndroidDeepLink(e){try{const[t]=e.split("?");localStorage.setItem(u.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}))}catch{console.info("Unable to set WalletConnect android deep link")}},removeWalletConnectDeepLink(){try{localStorage.removeItem(u.WALLETCONNECT_DEEPLINK_CHOICE)}catch{console.info("Unable to remove WalletConnect deep link")}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(u.WCM_VERSION,"2.6.2")}catch{console.info("Unable to set Web3Modal version in storage")}},getWalletRouterData(){var e;const t=(e=ee.state.data)==null?void 0:e.Wallet;if(!t)throw new Error('Missing "Wallet" view data');return t}},we=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),p=j({enabled:we,userSessionId:"",events:[],connectedWalletId:void 0}),ue={state:p,subscribe(e){return D(p.events,()=>e(ve(p.events[p.events.length-1])))},initialize(){p.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(p.userSessionId=crypto.randomUUID())},setConnectedWalletId(e){p.connectedWalletId=e},click(e){if(p.enabled){const t={type:"CLICK",name:e.name,userSessionId:p.userSessionId,timestamp:Date.now(),data:e};p.events.push(t)}},track(e){if(p.enabled){const t={type:"TRACK",name:e.name,userSessionId:p.userSessionId,timestamp:Date.now(),data:e};p.events.push(t)}},view(e){if(p.enabled){const t={type:"VIEW",name:e.name,userSessionId:p.userSessionId,timestamp:Date.now(),data:e};p.events.push(t)}}},O=j({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),y={state:O,subscribe(e){return D(O,()=>e(O))},setChains(e){O.chains=e},setWalletConnectUri(e){O.walletConnectUri=e},setIsCustomDesktop(e){O.isCustomDesktop=e},setIsCustomMobile(e){O.isCustomMobile=e},setIsDataLoaded(e){O.isDataLoaded=e},setIsUiLoaded(e){O.isUiLoaded=e},setIsAuth(e){O.isAuth=e}},B=j({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),P={state:B,subscribe(e){return D(B,()=>e(B))},setConfig(e){var t,s;ue.initialize(),y.setChains(e.chains),y.setIsAuth(!!e.enableAuthMode),y.setIsCustomMobile(!!((t=e.mobileWallets)!=null&&t.length)),y.setIsCustomDesktop(!!((s=e.desktopWallets)!=null&&s.length)),u.setModalVersionInStorage(),Object.assign(B,e)}};var Ie=Object.defineProperty,oe=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,re=(e,t,s)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Le=(e,t)=>{for(var s in t||(t={}))Oe.call(t,s)&&re(e,s,t[s]);if(oe)for(var s of oe(t))Ee.call(t,s)&&re(e,s,t[s]);return e};const Q="https://explorer-api.walletconnect.com",X="wcm",Y="js-2.6.2";async function K(e,t){const s=Le({sdkType:X,sdkVersion:Y},t),r=new URL(e,Q);return r.searchParams.append("projectId",P.state.projectId),Object.entries(s).forEach(([l,c])=>{c&&r.searchParams.append(l,String(c))}),(await fetch(r)).json()}const U={async getDesktopListings(e){return K("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return K("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return K("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return K("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return`${Q}/w3m/v1/getWalletImage/${e}?projectId=${P.state.projectId}&sdkType=${X}&sdkVersion=${Y}`},getAssetImageUrl(e){return`${Q}/w3m/v1/getAssetImage/${e}?projectId=${P.state.projectId}&sdkType=${X}&sdkVersion=${Y}`}};var We=Object.defineProperty,ie=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ae=(e,t,s)=>t in e?We(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,je=(e,t)=>{for(var s in t||(t={}))Ce.call(t,s)&&ae(e,s,t[s]);if(ie)for(var s of ie(t))Ae.call(t,s)&&ae(e,s,t[s]);return e};const le=u.isMobile(),E=j({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),Me={state:E,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=P.state;if(e==="NONE"||t==="ALL"&&!e)return E.recomendedWallets;if(u.isArray(e)){const s={recommendedIds:e.join(",")},{listings:r}=await U.getAllListings(s),l=Object.values(r);l.sort((c,m)=>{const f=e.indexOf(c.id),W=e.indexOf(m.id);return f-W}),E.recomendedWallets=l}else{const{chains:s,isAuth:r}=y.state,l=s==null?void 0:s.join(","),c=u.isArray(t),m={page:1,sdks:r?"auth_v1":void 0,entries:u.RECOMMENDED_WALLET_AMOUNT,chains:l,version:2,excludedIds:c?t.join(","):void 0},{listings:f}=le?await U.getMobileListings(m):await U.getDesktopListings(m);E.recomendedWallets=Object.values(f)}return E.recomendedWallets},async getWallets(e){const t=je({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:r}=P.state,{recomendedWallets:l}=E;if(r==="ALL")return E.wallets;l.length?t.excludedIds=l.map(I=>I.id).join(","):u.isArray(s)&&(t.excludedIds=s.join(",")),u.isArray(r)&&(t.excludedIds=[t.excludedIds,r].filter(Boolean).join(",")),y.state.isAuth&&(t.sdks="auth_v1");const{page:c,search:m}=e,{listings:f,total:W}=le?await U.getMobileListings(t):await U.getDesktopListings(t),n=Object.values(f),g=m?"search":"wallets";return E[g]={listings:[...E[g].listings,...n],total:W,page:c??1},{listings:n,total:W}},getWalletImageUrl(e){return U.getWalletImageUrl(e)},getAssetImageUrl(e){return U.getAssetImageUrl(e)},resetSearch(){E.search={listings:[],total:0,page:1}}},_=j({open:!1}),z={state:_,subscribe(e){return D(_,()=>e(_))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:r}=y.state;if(u.removeWalletConnectDeepLink(),y.setWalletConnectUri(e==null?void 0:e.uri),y.setChains(e==null?void 0:e.chains),ee.reset("ConnectWallet"),s&&r)_.open=!0,t();else{const l=setInterval(()=>{const c=y.state;c.isUiLoaded&&c.isDataLoaded&&(clearInterval(l),_.open=!0,t())},200)}})},close(){_.open=!1}};var Ue=Object.defineProperty,ce=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,de=(e,t,s)=>t in e?Ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,De=(e,t)=>{for(var s in t||(t={}))Se.call(t,s)&&de(e,s,t[s]);if(ce)for(var s of ce(t))Pe.call(t,s)&&de(e,s,t[s]);return e};function ke(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const T=j({themeMode:ke()?"dark":"light"}),Z={state:T,subscribe(e){return D(T,()=>e(T))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(T.themeMode=t),s&&(T.themeVariables=De({},s))}},S=j({open:!1,message:"",variant:"success"}),Ne={state:S,subscribe(e){return D(S,()=>e(S))},openToast(e,t){S.open=!0,S.message=e,S.variant=t},closeToast(){S.open=!1}};class _e{constructor(t){this.openModal=z.open,this.closeModal=z.close,this.subscribeModal=z.subscribe,this.setTheme=Z.setThemeConfig,Z.setThemeConfig(t),P.setConfig(t),this.initUi()}async initUi(){if(typeof window<"u"){await Promise.resolve().then(()=>require("./index-DCPwTd_i.js"));const t=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",t),y.setIsUiLoaded(!0)}}}const Re=Object.freeze(Object.defineProperty({__proto__:null,WalletConnectModal:_e},Symbol.toStringTag,{value:"Module"}));exports.R=ue;exports.T=ee;exports.a=u;exports.index=Re;exports.ne=Z;exports.oe=Ne;exports.p=y;exports.se=z;exports.te=Me;exports.y=P;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var m = Object.defineProperty;
|
|
2
2
|
var w = (c, e, r) => e in c ? m(c, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : c[e] = r;
|
|
3
3
|
var a = (c, e, r) => (w(c, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
|
-
import { C as p, _ as u } from "./cosmwasm-
|
|
5
|
-
import { c as g } from "./create-
|
|
6
|
-
import { au as l, at as h } from "./index-
|
|
7
|
-
import { r as f } from "./chain-
|
|
4
|
+
import { C as p, _ as u } from "./cosmwasm-CbTKetWD.mjs";
|
|
5
|
+
import { c as g } from "./create-HNw0Emrd.mjs";
|
|
6
|
+
import { au as l, at as h } from "./index-CdSy2Lfd.mjs";
|
|
7
|
+
import { r as f } from "./chain-CbwtJlkc.mjs";
|
|
8
8
|
class i {
|
|
9
9
|
constructor(e, r, s, t) {
|
|
10
10
|
a(this, "network");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var d = Object.defineProperty;
|
|
2
2
|
var h = (i, e, t) => e in i ? d(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
3
|
var o = (i, e, t) => (h(i, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
-
import { bp as w, au as p, at as g } from "./index-
|
|
5
|
-
import { A as u } from "./aptos-
|
|
6
|
-
import { c as l } from "./create-
|
|
7
|
-
import { r as f } from "./chain-
|
|
4
|
+
import { bp as w, au as p, at as g } from "./index-CdSy2Lfd.mjs";
|
|
5
|
+
import { A as u } from "./aptos-t3uXFwih.mjs";
|
|
6
|
+
import { c as l } from "./create-HNw0Emrd.mjs";
|
|
7
|
+
import { r as f } from "./chain-CbwtJlkc.mjs";
|
|
8
8
|
class c {
|
|
9
9
|
constructor(e, t, r, s) {
|
|
10
10
|
o(this, "network");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index-Cofatf_w.js"),Mr=require("./dijkstra-CtFxn7S9.js"),Sr=require("./index-Tl7zYqHL.js");var Or=function(t){for(var o=[],n=t.length,r=0;r<n;r++){var i=t.charCodeAt(r);if(i>=55296&&i<=56319&&n>r+1){var a=t.charCodeAt(r+1);a>=56320&&a<=57343&&(i=(i-55296)*1024+a-56320+65536,r+=1)}if(i<128){o.push(i);continue}if(i<2048){o.push(i>>6|192),o.push(i&63|128);continue}if(i<55296||i>=57344&&i<65536){o.push(i>>12|224),o.push(i>>6&63|128),o.push(i&63|128);continue}if(i>=65536&&i<=1114111){o.push(i>>18|240),o.push(i>>12&63|128),o.push(i>>6&63|128),o.push(i&63|128);continue}o.push(239,191,189)}return new Uint8Array(o).buffer};/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const fe = Symbol(), ee = Object.getPrototypeOf, G = /* @__PURE__ */ new WeakMap(), me = (e) => e && (G.has(e) ? G.get(e) : ee(e) === Object.prototype || ee(e) === Array.prototype), ge = (e) => me(e) && e[fe] || null, te = (e, t = !0) => {
|
|
2
2
|
G.set(e, t);
|
|
3
3
|
};
|
|
4
|
-
var z = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.19-beta.
|
|
4
|
+
var z = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1, REACT_APP_CONNECT_VERSION: "0.3.19-beta.3-development" };
|
|
5
5
|
const q = (e) => typeof e == "object" && e !== null, A = /* @__PURE__ */ new WeakMap(), x = /* @__PURE__ */ new WeakSet(), he = (e = Object.is, t = (n, h) => new Proxy(n, h), s = (n) => q(n) && !x.has(n) && (Array.isArray(n) || !(Symbol.iterator in n)) && !(n instanceof WeakMap) && !(n instanceof WeakSet) && !(n instanceof Error) && !(n instanceof Number) && !(n instanceof Date) && !(n instanceof String) && !(n instanceof RegExp) && !(n instanceof ArrayBuffer), r = (n) => {
|
|
6
6
|
switch (n.status) {
|
|
7
7
|
case "fulfilled":
|
|
@@ -392,7 +392,7 @@ class ke {
|
|
|
392
392
|
}
|
|
393
393
|
async initUi() {
|
|
394
394
|
if (typeof window < "u") {
|
|
395
|
-
await import("./index-
|
|
395
|
+
await import("./index-B6m0ovID.mjs");
|
|
396
396
|
const t = document.createElement("wcm-modal");
|
|
397
397
|
document.body.insertAdjacentElement("beforeend", t), w.setIsUiLoaded(!0);
|
|
398
398
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var yu = Object.defineProperty;
|
|
2
2
|
var bu = (e, t, n) => t in e ? yu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var at = (e, t, n) => (bu(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import { o as h, $ as Vr, T as vu, d as et, w as ma, U as wu, V as fa, X as ku, Y as _u, be as Su, Z as Pu, r as ha, bh as Us, bi as pa, aj as jt, ak as Au, bk as Fr, al as Tu, b4 as vi, ay as Eu, bp as wi, az as Cu, cn as Mu } from "./index-
|
|
5
|
-
import { t as Bt, c as Wr, m as Ou } from "./ens-validation.es6-
|
|
6
|
-
import { k as ju, b as Bu, c as Ru, t as ga, d as Iu, v as $u, p as Nu, q as xu, e as Du, f as Uu, g as qu, h as ya, i as Hu, j as Vu, l as Fu, m as Wu, n as Ju, o as Gu, r as Lu, s as zu, u as Ku, w as Qu, x as Zu, y as Xu, z as Yu, A as ed, B as td, D as nd, E as rd, F as od, H as sd, I as ba, J as id, K as ad, L as cd, M as ud, N as dd, O as ki, G as Nt, C as es, a as _i, P as ld, Q as Si, R as ts, S as Pi, T as Ai, U as Ti, V as Ei, W as Ci, X as Mi, Y as md, Z as fd, _ as hd } from "./cosmwasm-
|
|
7
|
-
import { CosmwasmWormholeCore as pd } from "./index-
|
|
8
|
-
import { c as gd, C as yd } from "./unsignedTransaction-
|
|
9
|
-
import { r as bd } from "./chain-
|
|
4
|
+
import { o as h, $ as Vr, T as vu, d as et, w as ma, U as wu, V as fa, X as ku, Y as _u, be as Su, Z as Pu, r as ha, bh as Us, bi as pa, aj as jt, ak as Au, bk as Fr, al as Tu, b4 as vi, ay as Eu, bp as wi, az as Cu, cn as Mu } from "./index-CdSy2Lfd.mjs";
|
|
5
|
+
import { t as Bt, c as Wr, m as Ou } from "./ens-validation.es6-CyEOHc9J.mjs";
|
|
6
|
+
import { k as ju, b as Bu, c as Ru, t as ga, d as Iu, v as $u, p as Nu, q as xu, e as Du, f as Uu, g as qu, h as ya, i as Hu, j as Vu, l as Fu, m as Wu, n as Ju, o as Gu, r as Lu, s as zu, u as Ku, w as Qu, x as Zu, y as Xu, z as Yu, A as ed, B as td, D as nd, E as rd, F as od, H as sd, I as ba, J as id, K as ad, L as cd, M as ud, N as dd, O as ki, G as Nt, C as es, a as _i, P as ld, Q as Si, R as ts, S as Pi, T as Ai, U as Ti, V as Ei, W as Ci, X as Mi, Y as md, Z as fd, _ as hd } from "./cosmwasm-CbTKetWD.mjs";
|
|
7
|
+
import { CosmwasmWormholeCore as pd } from "./index-CokIAiMa.mjs";
|
|
8
|
+
import { c as gd, C as yd } from "./unsignedTransaction-BbAfXtog.mjs";
|
|
9
|
+
import { r as bd } from "./chain-CbwtJlkc.mjs";
|
|
10
10
|
function vd(e) {
|
|
11
11
|
return e.id !== void 0 && e.pending !== void 0 && e.data !== void 0;
|
|
12
12
|
}
|