@upcoming/multichain-widget 0.6.2 → 0.6.3

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.
Files changed (102) hide show
  1. package/README.md +71 -0
  2. package/dist/{add-C_XSmWJt.mjs → add-D_1_kU42.mjs} +1 -1
  3. package/dist/{all-wallets-C7HuUDd-.mjs → all-wallets-2xq921sZ.mjs} +1 -1
  4. package/dist/{app-store-BZzW3RYW.mjs → app-store-BWwgryAH.mjs} +1 -1
  5. package/dist/{apple-CzmcDh0c.mjs → apple-DqG0QXdr.mjs} +1 -1
  6. package/dist/{arrow-bottom-CgG5KUlc.mjs → arrow-bottom-BbcsdVrN.mjs} +1 -1
  7. package/dist/{arrow-bottom-circle-MIGnqkyB.mjs → arrow-bottom-circle-BvFVe6Pe.mjs} +1 -1
  8. package/dist/{arrow-left-v8en0XKt.mjs → arrow-left-CN6MsfUI.mjs} +1 -1
  9. package/dist/{arrow-right-DU_sNApr.mjs → arrow-right-D66YCeHe.mjs} +1 -1
  10. package/dist/{arrow-top-BZ3_J8Lm.mjs → arrow-top-KZSGgfga.mjs} +1 -1
  11. package/dist/{bank-DrY2jdlL.mjs → bank-D8xKTkwX.mjs} +1 -1
  12. package/dist/{basic-Bpc8MJGe.mjs → basic-Be0eK5YO.mjs} +3 -3
  13. package/dist/{browser-CLOD9n-D.mjs → browser-DNTta53E.mjs} +1 -1
  14. package/dist/{card-CqQllcG0.mjs → card-DQ0y-cHW.mjs} +1 -1
  15. package/dist/{ccip-B8Kg8L07.mjs → ccip-BA4w6c5n.mjs} +1 -1
  16. package/dist/{checkmark-DS3QxC__.mjs → checkmark-BslqSUim.mjs} +1 -1
  17. package/dist/{checkmark-bold-CFszkGGM.mjs → checkmark-bold-BNGXc1R2.mjs} +1 -1
  18. package/dist/{chevron-bottom-DNij3F00.mjs → chevron-bottom-DmZw-PY_.mjs} +1 -1
  19. package/dist/{chevron-left-6IrriBfr.mjs → chevron-left-DVHWYMXW.mjs} +1 -1
  20. package/dist/{chevron-right-CFReUm-V.mjs → chevron-right-BazEGjwu.mjs} +1 -1
  21. package/dist/{chevron-top-CHn3EGef.mjs → chevron-top-IQYnu2Fs.mjs} +1 -1
  22. package/dist/{chrome-store-Rqp71U2D.mjs → chrome-store-B9NCKHXb.mjs} +1 -1
  23. package/dist/{clock-CwVmEftt.mjs → clock-Bv4hSngG.mjs} +1 -1
  24. package/dist/{close-DsArr7J9.mjs → close-DxiJu30i.mjs} +1 -1
  25. package/dist/{coinPlaceholder-BMg6a5Z1.mjs → coinPlaceholder-Cb_POUak.mjs} +1 -1
  26. package/dist/{compass-BBC6kVIe.mjs → compass-3ssNsSpB.mjs} +1 -1
  27. package/dist/components/ProgressStatus.d.ts +2 -1
  28. package/dist/components/QuoteIndicator.d.ts +2 -1
  29. package/dist/components/StatusIndicator.d.ts +2 -1
  30. package/dist/components/TokenDisplay.d.ts +2 -1
  31. package/dist/{copy-C_sJIyUX.mjs → copy-CdoGE8Cu.mjs} +1 -1
  32. package/dist/{core-Bum2e1Ab.mjs → core-BmQGPil8.mjs} +3 -3
  33. package/dist/{cursor-CU_ZHrAM.mjs → cursor-C_bJCBPy.mjs} +1 -1
  34. package/dist/{cursor-transparent-DnIBNZAB.mjs → cursor-transparent-D3fpk_0h.mjs} +1 -1
  35. package/dist/{desktop-B3Mg2sh7.mjs → desktop-CZOpYjZy.mjs} +1 -1
  36. package/dist/{disconnect-B1fPUyEG.mjs → disconnect-DwuTbfKg.mjs} +1 -1
  37. package/dist/{discord-C1cQ0oZS.mjs → discord-BYV5SKGv.mjs} +1 -1
  38. package/dist/en_US-Y4ZOVFV4-CqZGx3Os.mjs +4 -0
  39. package/dist/{etherscan-URUGz5LR.mjs → etherscan-BLrylxes.mjs} +1 -1
  40. package/dist/{exclamation-triangle-CEwlbMwJ.mjs → exclamation-triangle-BQ_2uZVr.mjs} +1 -1
  41. package/dist/{extension-_IK7bCR8.mjs → extension-yi9jR6WR.mjs} +1 -1
  42. package/dist/{external-link--434dEZi.mjs → external-link-BJe9LQ1r.mjs} +1 -1
  43. package/dist/{facebook-DZc8l9em.mjs → facebook-BJ4THvuB.mjs} +1 -1
  44. package/dist/{farcaster-C8h7-VKb.mjs → farcaster-DwG7JHQd.mjs} +1 -1
  45. package/dist/{filters-DUV2kmlv.mjs → filters-QD64xsE_.mjs} +1 -1
  46. package/dist/{github--0ts6XGd.mjs → github-CdQDlD2q.mjs} +1 -1
  47. package/dist/{google-DjWSXdPJ.mjs → google-BO-FWusB.mjs} +1 -1
  48. package/dist/{help-circle-KhATe0oe.mjs → help-circle-DMQ0WFgi.mjs} +1 -1
  49. package/dist/{id-Dmhz-uF_.mjs → id-Cq6LWtFD.mjs} +1 -1
  50. package/dist/{image-DwXW6luk.mjs → image-DzpJZiuP.mjs} +1 -1
  51. package/dist/{index-zNauiv9i.mjs → index-B5p-uOLy.mjs} +1 -1
  52. package/dist/{index-DiR2oYdU.mjs → index-CTqu92lL.mjs} +129 -87
  53. package/dist/{index-DUxUuEIn.mjs → index-D5aiEtMx.mjs} +1 -1
  54. package/dist/{index-DLxzLBNO.mjs → index-D8Fv6peE.mjs} +78 -78
  55. package/dist/{index-BNcb1q_u.mjs → index-DCBeKi3y.mjs} +1 -1
  56. package/dist/{index.es-CQXOZUDC.mjs → index.es-EREGASAv.mjs} +3 -3
  57. package/dist/{info-C0kvYZhF.mjs → info-BDKnbxH0.mjs} +1 -1
  58. package/dist/{info-circle-BSq57yEi.mjs → info-circle-DRLhyOHT.mjs} +1 -1
  59. package/dist/{lightbulb-B7ulv4M9.mjs → lightbulb-BgiH-CD6.mjs} +1 -1
  60. package/dist/{mail-Dlkm0pMj.mjs → mail-Dsf_6GDf.mjs} +1 -1
  61. package/dist/{metamask-sdk-DpxGKSQP.mjs → metamask-sdk-BkHtoFVC.mjs} +1 -1
  62. package/dist/{mobile-CzkDL04p.mjs → mobile-4Kn87zDB.mjs} +1 -1
  63. package/dist/{more-BEiG5sTS.mjs → more-DdO1YdLQ.mjs} +1 -1
  64. package/dist/multichain-widget.es.js +1 -1
  65. package/dist/multichain-widget.umd.js +1 -1
  66. package/dist/{network-placeholder-CRDQ1Euf.mjs → network-placeholder-Bf0mI7vb.mjs} +1 -1
  67. package/dist/{nftPlaceholder-GT3i_NSq.mjs → nftPlaceholder-CHLHkNKC.mjs} +1 -1
  68. package/dist/{off-DK7EzSjR.mjs → off-D7lA2ueg.mjs} +1 -1
  69. package/dist/{play-store-DP56QR0o.mjs → play-store-DdwhElTO.mjs} +1 -1
  70. package/dist/{plus-qoH93WYH.mjs → plus-BLVGOcov.mjs} +1 -1
  71. package/dist/primitives/AdvancedSelect.d.ts +2 -1
  72. package/dist/primitives/Button.d.ts +2 -1
  73. package/dist/primitives/NumberInput.d.ts +2 -1
  74. package/dist/primitives/Spinner.d.ts +5 -1
  75. package/dist/primitives/TextInput.d.ts +2 -1
  76. package/dist/primitives/Typography.d.ts +2 -1
  77. package/dist/{qr-code-wEAWe1TO.mjs → qr-code-3yIc9Ogo.mjs} +1 -1
  78. package/dist/{recycle-horizontal-qdHLbIYQ.mjs → recycle-horizontal-Dog6axzQ.mjs} +1 -1
  79. package/dist/{refresh-B9sptPrp.mjs → refresh-B2i9Q8WM.mjs} +1 -1
  80. package/dist/{reown-logo-CuzyedOL.mjs → reown-logo-CzMSp5yN.mjs} +1 -1
  81. package/dist/{search-CqtNRjAR.mjs → search-PJVKo4AH.mjs} +1 -1
  82. package/dist/{secp256k1-bCLli1Rx.mjs → secp256k1-Ctzqzy6n.mjs} +1 -1
  83. package/dist/{send-Be0b2VEn.mjs → send-DaZAkvW-.mjs} +1 -1
  84. package/dist/{swapHorizontal-BDvxCrUx.mjs → swapHorizontal-BZ1_SJnD.mjs} +1 -1
  85. package/dist/{swapHorizontalBold-BW5WYO8Q.mjs → swapHorizontalBold-CEtu2hcq.mjs} +1 -1
  86. package/dist/{swapHorizontalMedium-TIJxtkyx.mjs → swapHorizontalMedium-D8hJmkzd.mjs} +1 -1
  87. package/dist/{swapHorizontalRoundedBold-C-Esf3fH.mjs → swapHorizontalRoundedBold-CU75ARFv.mjs} +1 -1
  88. package/dist/{swapVertical-DzuKzq-u.mjs → swapVertical-DGMMBaSR.mjs} +1 -1
  89. package/dist/{telegram-B4V9Ybxn.mjs → telegram-C6qWXVA0.mjs} +1 -1
  90. package/dist/{three-dots-CLqvXXab.mjs → three-dots-XT_lKGIz.mjs} +1 -1
  91. package/dist/{twitch-DMcYuZPG.mjs → twitch-DkX6VRZy.mjs} +1 -1
  92. package/dist/{twitterIcon-DGSSw9pv.mjs → twitterIcon-CDn62Eae.mjs} +1 -1
  93. package/dist/{verify-Cgwo2v0e.mjs → verify-BmvGDe1m.mjs} +1 -1
  94. package/dist/{verify-filled-BtwGpxg8.mjs → verify-filled-CNCp5oxK.mjs} +1 -1
  95. package/dist/{w3m-modal-CFl98e-W.mjs → w3m-modal-Dc-78e3k.mjs} +2 -2
  96. package/dist/{wallet-BV7NXfAe.mjs → wallet-ArQFrn4R.mjs} +1 -1
  97. package/dist/{wallet-placeholder-AM50vVgz.mjs → wallet-placeholder-BQurC4CN.mjs} +1 -1
  98. package/dist/{walletconnect-DN06-N8l.mjs → walletconnect-CGQX0jhb.mjs} +1 -1
  99. package/dist/{warning-circle-DaW7ghfg.mjs → warning-circle-BJXZZNxC.mjs} +1 -1
  100. package/dist/{x-DhgSqzLy.mjs → x-DPeojwmZ.mjs} +1 -1
  101. package/package.json +1 -1
  102. package/dist/en_US-Y4ZOVFV4-ztYUhEHD.mjs +0 -4
@@ -7048,7 +7048,7 @@ async function fA(e, t) {
7048
7048
  });
7049
7049
  return U === "0x" ? { data: void 0 } : { data: U };
7050
7050
  } catch (S) {
7051
- const z = U2e(S), { offchainLookup: L, offchainLookupSignature: F } = await import("./ccip-B8Kg8L07.mjs");
7051
+ const z = U2e(S), { offchainLookup: L, offchainLookupSignature: F } = await import("./ccip-BA4w6c5n.mjs");
7052
7052
  if (e.ccipRead !== !1 && z?.slice(0, 10) === F && y)
7053
7053
  return { data: await L(e, { data: z, to: y }) };
7054
7054
  throw I && z?.slice(0, 10) === "0x101bb98d" ? new q6e({ factory: f }) : LR(S, {
@@ -40092,7 +40092,7 @@ function uUe(e = {}) {
40092
40092
  const i = typeof e.preference == "string" ? { options: e.preference } : {
40093
40093
  ...e.preference,
40094
40094
  options: e.preference?.options ?? "all"
40095
- }, { createBaseAccountSDK: s } = await import("./index-DUxUuEIn.mjs");
40095
+ }, { createBaseAccountSDK: s } = await import("./index-D5aiEtMx.mjs");
40096
40096
  t = s({
40097
40097
  ...e,
40098
40098
  appChainIds: o.chains.map((u) => u.id),
@@ -40223,7 +40223,7 @@ function QM(e = {}) {
40223
40223
  async getProvider() {
40224
40224
  async function l() {
40225
40225
  const d = await (async () => {
40226
- const { default: m } = await import("./metamask-sdk-DpxGKSQP.mjs");
40226
+ const { default: m } = await import("./metamask-sdk-BkHtoFVC.mjs");
40227
40227
  return typeof m != "function" && typeof m.default == "function" ? m.default : m;
40228
40228
  })(), f = {};
40229
40229
  for (const m of u.chains)
@@ -40403,13 +40403,13 @@ function XM(e = {}) {
40403
40403
  async getProvider() {
40404
40404
  if (typeof window < "u" && window?.parent !== window) {
40405
40405
  if (!r) {
40406
- const { default: i } = await import("./index-zNauiv9i.mjs"), s = new i(e), c = await vA(() => s.safe.getInfo(), {
40406
+ const { default: i } = await import("./index-B5p-uOLy.mjs"), s = new i(e), c = await vA(() => s.safe.getInfo(), {
40407
40407
  timeout: e.unstable_getInfoTimeout ?? 10
40408
40408
  });
40409
40409
  if (!c)
40410
40410
  throw new Error("Could not load Safe information");
40411
40411
  const u = await (async () => {
40412
- const l = await import("./index-BNcb1q_u.mjs").then((d) => d.i);
40412
+ const l = await import("./index-DCBeKi3y.mjs").then((d) => d.i);
40413
40413
  return typeof l.SafeAppProvider != "function" && typeof l.default.SafeAppProvider == "function" ? l.default.SafeAppProvider : l.SafeAppProvider;
40414
40414
  })();
40415
40415
  r = new u(c, s);
@@ -40508,7 +40508,7 @@ function JM(e) {
40508
40508
  const b = d.chains.map((g) => g.id);
40509
40509
  if (!b.length)
40510
40510
  return;
40511
- const { EthereumProvider: m } = await import("./index.es-CQXOZUDC.mjs").then((g) => g.Y);
40511
+ const { EthereumProvider: m } = await import("./index.es-EREGASAv.mjs").then((g) => g.Y);
40512
40512
  return await m.init({
40513
40513
  ...e,
40514
40514
  disableProviderPing: !0,
@@ -41118,7 +41118,7 @@ var AUe = async (e) => {
41118
41118
  return (await import("./de_DE-PYAO5YD6-DRiWndek.mjs")).default;
41119
41119
  case "en":
41120
41120
  case "en-US":
41121
- return (await import("./en_US-Y4ZOVFV4-ztYUhEHD.mjs")).default;
41121
+ return (await import("./en_US-Y4ZOVFV4-CqZGx3Os.mjs")).default;
41122
41122
  case "es":
41123
41123
  case "es-419":
41124
41124
  return (await import("./es_419-HRGOJ6VT-Bb7kiWEN.mjs")).default;
@@ -41168,7 +41168,7 @@ var AUe = async (e) => {
41168
41168
  case "zh-TW":
41169
41169
  return (await import("./zh_TW-VNNRNXY7-CyIPkoVZ.mjs")).default;
41170
41170
  default:
41171
- return (await import("./en_US-Y4ZOVFV4-ztYUhEHD.mjs")).default;
41171
+ return (await import("./en_US-Y4ZOVFV4-CqZGx3Os.mjs")).default;
41172
41172
  }
41173
41173
  };
41174
41174
  async function rN(e) {
@@ -122138,17 +122138,18 @@ function cat() {
122138
122138
  labelSpacing: "4px"
122139
122139
  };
122140
122140
  }
122141
- function cr({ theme: e, children: t, small: r, secondary: n }) {
122141
+ function cr({ theme: e, children: t, testId: r, small: n, secondary: a }) {
122142
122142
  return /* @__PURE__ */ le.jsx(
122143
122143
  "p",
122144
122144
  {
122145
122145
  style: {
122146
- color: n ? e.secondaryTextColor : e.textColor,
122146
+ color: a ? e.secondaryTextColor : e.textColor,
122147
122147
  fontFamily: e.fontFamily,
122148
- fontSize: r ? e.smallFontSize : e.fontSize,
122149
- fontWeight: r ? e.smallFontWeight : e.fontWeight
122148
+ fontSize: n ? e.smallFontSize : e.fontSize,
122149
+ fontWeight: n ? e.smallFontWeight : e.fontWeight
122150
122150
  },
122151
122151
  className: "multichain__text",
122152
+ "data-test-id": r,
122152
122153
  children: t
122153
122154
  }
122154
122155
  );
@@ -122197,10 +122198,10 @@ function lat({ theme: e, intent: t }) {
122197
122198
  }
122198
122199
  )
122199
122200
  ] }),
122200
- /* @__PURE__ */ le.jsx(cr, { theme: e, children: uat[t] })
122201
+ /* @__PURE__ */ le.jsx(cr, { theme: e, testId: "intent", children: uat[t] })
122201
122202
  ] });
122202
122203
  }
122203
- function Q7({ theme: e, onClick: t, disabled: r, children: n, secondary: a, tooltip: o }) {
122204
+ function Q7({ theme: e, onClick: t, disabled: r, children: n, secondary: a, tooltip: o, testId: i }) {
122204
122205
  return /* @__PURE__ */ le.jsx(
122205
122206
  "button",
122206
122207
  {
@@ -122222,6 +122223,7 @@ function Q7({ theme: e, onClick: t, disabled: r, children: n, secondary: a, tool
122222
122223
  fontWeight: e.fontWeight
122223
122224
  },
122224
122225
  title: o,
122226
+ "data-test-id": i,
122225
122227
  children: n
122226
122228
  }
122227
122229
  );
@@ -122247,34 +122249,34 @@ function ni({ theme: e, children: t, color: r, small: n }) {
122247
122249
  }
122248
122250
  );
122249
122251
  }
122250
- function Hce({ theme: e, label: t, value: r, onChange: n, min: a, max: o, placeholder: i }) {
122251
- const [s, c] = Xe(r.toString()), [u, l] = Xe(null);
122252
- function d(f) {
122253
- let h = f.target.value;
122254
- for (; h.startsWith("0") && h.length > 1 && !["."].includes(h[1]); )
122255
- h = h.substring(1);
122256
- let b = Number(h);
122257
- if (isNaN(b)) {
122258
- c(r.toString());
122252
+ function Hce({ theme: e, label: t, value: r, onChange: n, min: a, max: o, placeholder: i, testId: s }) {
122253
+ const [c, u] = Xe(r.toString()), [l, d] = Xe(null);
122254
+ function f(h) {
122255
+ let b = h.target.value;
122256
+ for (; b.startsWith("0") && b.length > 1 && !["."].includes(b[1]); )
122257
+ b = b.substring(1);
122258
+ let m = Number(b);
122259
+ if (isNaN(m)) {
122260
+ u(r.toString());
122259
122261
  return;
122260
122262
  }
122261
- c(h), b > o ? (b = o, c(b.toString()), l(`Maximum value is ${o}`)) : b < a ? (b = a, c(b.toString()), l(`Minimum value is ${a}`)) : l(null), n(b);
122263
+ u(b), m > o ? (m = o, u(m.toString()), d(`Maximum value is ${o}`)) : m < a ? (m = a, u(m.toString()), d(`Minimum value is ${a}`)) : d(null), n(m);
122262
122264
  }
122263
122265
  return /* @__PURE__ */ le.jsx("div", { className: "multichain__column multichain__column--full", children: /* @__PURE__ */ le.jsxs(t_, { theme: e, children: [
122264
- /* @__PURE__ */ le.jsxs(cr, { theme: e, children: [
122266
+ /* @__PURE__ */ le.jsxs(cr, { theme: e, testId: `${s}__label`, children: [
122265
122267
  t,
122266
122268
  /* @__PURE__ */ le.jsx(ni, { theme: e, color: e.buttonBackgroundColor, children: "*" }),
122267
- u && /* @__PURE__ */ le.jsxs(ni, { theme: e, small: !0, color: e.errorTextColor, children: [
122269
+ l && /* @__PURE__ */ le.jsxs(ni, { theme: e, small: !0, color: e.errorTextColor, children: [
122268
122270
  " ",
122269
- u
122271
+ l
122270
122272
  ] })
122271
122273
  ] }),
122272
122274
  /* @__PURE__ */ le.jsx(
122273
122275
  "input",
122274
122276
  {
122275
122277
  placeholder: i,
122276
- value: s,
122277
- onChange: (f) => d(f),
122278
+ value: c,
122279
+ onChange: (h) => f(h),
122278
122280
  className: "multichain__input",
122279
122281
  style: {
122280
122282
  paddingTop: e.inputVerticalPadding,
@@ -122288,19 +122290,20 @@ function Hce({ theme: e, label: t, value: r, onChange: n, min: a, max: o, placeh
122288
122290
  fontFamily: e.fontFamily,
122289
122291
  fontSize: e.fontSize,
122290
122292
  fontWeight: e.fontWeight
122291
- }
122293
+ },
122294
+ "data-test-id": s
122292
122295
  }
122293
122296
  )
122294
122297
  ] }) });
122295
122298
  }
122296
- function CR({ theme: e, value: t, onChange: r, placeholder: n, readOnly: a }) {
122299
+ function CR({ theme: e, value: t, onChange: r, placeholder: n, readOnly: a, testId: o }) {
122297
122300
  return /* @__PURE__ */ le.jsx(
122298
122301
  "input",
122299
122302
  {
122300
122303
  type: "text",
122301
122304
  placeholder: n,
122302
122305
  value: t,
122303
- onChange: r ? (o) => r(o.target.value) : void 0,
122306
+ onChange: r ? (i) => r(i.target.value) : void 0,
122304
122307
  readOnly: a,
122305
122308
  className: "multichain__input",
122306
122309
  style: {
@@ -122315,7 +122318,8 @@ function CR({ theme: e, value: t, onChange: r, placeholder: n, readOnly: a }) {
122315
122318
  fontFamily: e.fontFamily,
122316
122319
  fontSize: e.fontSize,
122317
122320
  fontWeight: e.fontWeight
122318
- }
122321
+ },
122322
+ "data-test-id": o
122319
122323
  }
122320
122324
  );
122321
122325
  }
@@ -122361,7 +122365,7 @@ function pat({ theme: e, intent: t, setTab: r, swapData: n, setSwapData: a, setI
122361
122365
  children: [
122362
122366
  /* @__PURE__ */ le.jsx(lat, { theme: e, intent: t }),
122363
122367
  /* @__PURE__ */ le.jsxs(t_, { theme: e, children: [
122364
- /* @__PURE__ */ le.jsxs(cr, { theme: e, children: [
122368
+ /* @__PURE__ */ le.jsxs(cr, { theme: e, testId: "target-address-input__label", children: [
122365
122369
  "Target Address",
122366
122370
  /* @__PURE__ */ le.jsx(ni, { theme: e, color: e.buttonBackgroundColor, children: "*" })
122367
122371
  ] }),
@@ -122371,7 +122375,8 @@ function pat({ theme: e, intent: t, setTab: r, swapData: n, setSwapData: a, setI
122371
122375
  theme: e,
122372
122376
  placeholder: "0x...",
122373
122377
  value: n.targetAddress,
122374
- onChange: (h) => a((b) => ({ ...b, targetAddress: h }))
122378
+ onChange: (h) => a((b) => ({ ...b, targetAddress: h })),
122379
+ testId: "target-address-input"
122375
122380
  }
122376
122381
  )
122377
122382
  ] }),
@@ -122385,7 +122390,8 @@ function pat({ theme: e, intent: t, setTab: r, swapData: n, setSwapData: a, setI
122385
122390
  max: 10,
122386
122391
  min: 0,
122387
122392
  value: n.nativeAmount,
122388
- onChange: (h) => a((b) => ({ ...b, nativeAmount: h }))
122393
+ onChange: (h) => a((b) => ({ ...b, nativeAmount: h })),
122394
+ testId: "xdai-input"
122389
122395
  }
122390
122396
  ),
122391
122397
  /* @__PURE__ */ le.jsx(
@@ -122397,7 +122403,8 @@ function pat({ theme: e, intent: t, setTab: r, swapData: n, setSwapData: a, setI
122397
122403
  max: 200,
122398
122404
  min: 0,
122399
122405
  value: n.bzzAmount,
122400
- onChange: (h) => a((b) => ({ ...b, bzzAmount: Number(h) }))
122406
+ onChange: (h) => a((b) => ({ ...b, bzzAmount: Number(h) })),
122407
+ testId: "xbzz-input"
122401
122408
  }
122402
122409
  )
122403
122410
  ] }),
@@ -122408,16 +122415,17 @@ function pat({ theme: e, intent: t, setTab: r, swapData: n, setSwapData: a, setI
122408
122415
  theme: e,
122409
122416
  onClick: d,
122410
122417
  disabled: !i || !n.targetAddress || !c || u || l,
122418
+ testId: "continue",
122411
122419
  children: "Continue"
122412
122420
  }
122413
122421
  ),
122414
- !c && /* @__PURE__ */ le.jsx(cr, { theme: e, children: /* @__PURE__ */ le.jsxs(ni, { theme: e, color: e.errorTextColor, small: !0, children: [
122422
+ !c && /* @__PURE__ */ le.jsx(cr, { theme: e, testId: "error-not-enough-bzz", children: /* @__PURE__ */ le.jsxs(ni, { theme: e, color: e.errorTextColor, small: !0, children: [
122415
122423
  "*At least ",
122416
122424
  Gce,
122417
122425
  " xBZZ is required to perform the swap."
122418
122426
  ] }) }),
122419
- u && /* @__PURE__ */ le.jsx(cr, { theme: e, children: /* @__PURE__ */ le.jsx(ni, { theme: e, color: e.errorTextColor, small: !0, children: "*Address is not a valid Ethereum address." }) }),
122420
- l && /* @__PURE__ */ le.jsx(cr, { theme: e, children: /* @__PURE__ */ le.jsx(ni, { theme: e, color: e.errorTextColor, small: !0, children: "*Address has an invalid checksum. Please check and try again." }) }),
122427
+ u && /* @__PURE__ */ le.jsx(cr, { theme: e, testId: "error-invalid-address", children: /* @__PURE__ */ le.jsx(ni, { theme: e, color: e.errorTextColor, small: !0, children: "*Address is not a valid Ethereum address." }) }),
122428
+ l && /* @__PURE__ */ le.jsx(cr, { theme: e, testId: "error-bad-address-checksum", children: /* @__PURE__ */ le.jsx(ni, { theme: e, color: e.errorTextColor, small: !0, children: "*Address has an invalid checksum. Please check and try again." }) }),
122421
122429
  /* @__PURE__ */ le.jsx(
122422
122430
  Q7,
122423
122431
  {
@@ -122425,6 +122433,7 @@ function pat({ theme: e, intent: t, setTab: r, swapData: n, setSwapData: a, setI
122425
122433
  secondary: !0,
122426
122434
  onClick: f,
122427
122435
  tooltip: "If swapping fails or is interrupted, you can export the temporary private keys generated by this application and import them in your wallet manager later to recover your funds manually.",
122436
+ testId: "export-keys",
122428
122437
  children: "Export temporary private keys"
122429
122438
  }
122430
122439
  )
@@ -122479,10 +122488,10 @@ function vat(e, t, r) {
122479
122488
  };
122480
122489
  }, [n.data, n.data?.chains, n.error, n.isLoading]);
122481
122490
  }
122482
- function wat() {
122483
- return /* @__PURE__ */ le.jsx("span", { className: "multichain__loader" });
122491
+ function wat({ testId: e }) {
122492
+ return /* @__PURE__ */ le.jsx("span", { className: "multichain__loader", "data-test-id": e });
122484
122493
  }
122485
- function i7({ color: e }) {
122494
+ function i7({ color: e, testId: t }) {
122486
122495
  return /* @__PURE__ */ le.jsx(
122487
122496
  "span",
122488
122497
  {
@@ -122495,6 +122504,7 @@ function i7({ color: e }) {
122495
122504
  borderRadius: 16,
122496
122505
  backgroundColor: `${e}55`
122497
122506
  },
122507
+ "data-test-id": t,
122498
122508
  children: /* @__PURE__ */ le.jsx(
122499
122509
  "span",
122500
122510
  {
@@ -122512,27 +122522,27 @@ function i7({ color: e }) {
122512
122522
  }
122513
122523
  );
122514
122524
  }
122515
- function so({ theme: e, children: t, status: r }) {
122516
- let n = /* @__PURE__ */ le.jsx(i7, { color: "#AAAAAA" });
122517
- return r === "skipped" && (n = /* @__PURE__ */ le.jsx(i7, { color: "#FFDC00" })), r === "completed" && (n = /* @__PURE__ */ le.jsx(i7, { color: "#2ECC40" })), r === "in-progress" && (n = /* @__PURE__ */ le.jsx(wat, {})), r === "failed" && (n = /* @__PURE__ */ le.jsx(i7, { color: "#FF4136" })), /* @__PURE__ */ le.jsxs("div", { className: "multichain__row", children: [
122518
- n,
122519
- /* @__PURE__ */ le.jsx(cr, { theme: e, children: t })
122525
+ function so({ theme: e, children: t, status: r, testId: n }) {
122526
+ let a = /* @__PURE__ */ le.jsx(i7, { color: "#AAAAAA", testId: `${n}__pending` });
122527
+ return r === "skipped" && (a = /* @__PURE__ */ le.jsx(i7, { color: "#FFDC00", testId: `${n}__skipped` })), r === "completed" && (a = /* @__PURE__ */ le.jsx(i7, { color: "#2ECC40", testId: `${n}__completed` })), r === "in-progress" && (a = /* @__PURE__ */ le.jsx(wat, { testId: `${n}__in-progress` })), r === "failed" && (a = /* @__PURE__ */ le.jsx(i7, { color: "#FF4136", testId: `${n}__failed` })), /* @__PURE__ */ le.jsxs("div", { className: "multichain__row", "data-test-id": n, children: [
122528
+ a,
122529
+ /* @__PURE__ */ le.jsx(cr, { theme: e, testId: `${n}__description`, children: t })
122520
122530
  ] });
122521
122531
  }
122522
122532
  function Eat({ theme: e, progress: t }) {
122523
122533
  return /* @__PURE__ */ le.jsxs(t_, { theme: e, children: [
122524
- /* @__PURE__ */ le.jsx(so, { theme: e, status: t.relay, children: "Cross-swap to xDAI on Relay" }),
122525
- /* @__PURE__ */ le.jsx(so, { theme: e, status: t["relay-sync"], children: "Sync" }),
122526
- /* @__PURE__ */ le.jsx(so, { theme: e, status: t.sushi, children: "Swap xDAI to xBZZ on Sushi" }),
122527
- /* @__PURE__ */ le.jsx(so, { theme: e, status: t["sushi-sync"], children: "Sync" }),
122528
- /* @__PURE__ */ le.jsx(so, { theme: e, status: t.transfer, children: "Transfer leftover xDAI" }),
122529
- /* @__PURE__ */ le.jsx(so, { theme: e, status: t["transfer-sync"], children: "Sync" })
122534
+ /* @__PURE__ */ le.jsx(so, { theme: e, status: t.relay, testId: "status-step-1", children: "Cross-swap to xDAI on Relay" }),
122535
+ /* @__PURE__ */ le.jsx(so, { theme: e, status: t["relay-sync"], testId: "status-step-2", children: "Sync" }),
122536
+ /* @__PURE__ */ le.jsx(so, { theme: e, status: t.sushi, testId: "status-step-3", children: "Swap xDAI to xBZZ on Sushi" }),
122537
+ /* @__PURE__ */ le.jsx(so, { theme: e, status: t["sushi-sync"], testId: "status-step-4", children: "Sync" }),
122538
+ /* @__PURE__ */ le.jsx(so, { theme: e, status: t.transfer, testId: "status-step-5", children: "Transfer leftover xDAI" }),
122539
+ /* @__PURE__ */ le.jsx(so, { theme: e, status: t["transfer-sync"], testId: "status-step-6", children: "Sync" })
122530
122540
  ] });
122531
122541
  }
122532
- function Cat({ theme: e, isLoading: t, quote: r }) {
122533
- return t ? /* @__PURE__ */ le.jsx(so, { theme: e, status: "in-progress", children: "Loading quote..." }) : r ? /* @__PURE__ */ le.jsx(so, { theme: e, status: "completed", children: "Quote available" }) : /* @__PURE__ */ le.jsx(so, { theme: e, status: "failed", children: "Quote unavailable - amount is either too small, large, or the token is illiquid" });
122542
+ function Cat({ theme: e, isLoading: t, quote: r, testId: n }) {
122543
+ return t ? /* @__PURE__ */ le.jsx(so, { theme: e, status: "in-progress", testId: n, children: "Loading quote..." }) : r ? /* @__PURE__ */ le.jsx(so, { theme: e, status: "completed", testId: n, children: "Quote available" }) : /* @__PURE__ */ le.jsx(so, { theme: e, status: "failed", testId: n, children: "Quote unavailable - amount is either too small, large, or the token is illiquid" });
122534
122544
  }
122535
- function Vce({ theme: e, leftLabel: t, rightLabel: r }) {
122545
+ function Vce({ theme: e, leftLabel: t, rightLabel: r, testId: n }) {
122536
122546
  return /* @__PURE__ */ le.jsxs(
122537
122547
  "div",
122538
122548
  {
@@ -122552,8 +122562,8 @@ function Vce({ theme: e, leftLabel: t, rightLabel: r }) {
122552
122562
  fontWeight: e.fontWeight
122553
122563
  },
122554
122564
  children: [
122555
- /* @__PURE__ */ le.jsx(cr, { theme: e, children: t }),
122556
- /* @__PURE__ */ le.jsx(cr, { theme: e, small: !0, secondary: !0, children: r })
122565
+ /* @__PURE__ */ le.jsx(cr, { theme: e, testId: `${n}__left`, children: t }),
122566
+ /* @__PURE__ */ le.jsx(cr, { theme: e, testId: `${n}__right`, small: !0, secondary: !0, children: r })
122557
122567
  ]
122558
122568
  }
122559
122569
  );
@@ -122622,14 +122632,14 @@ function _at(e) {
122622
122632
  }
122623
122633
  }), t;
122624
122634
  }
122625
- function Kce({ theme: e, value: t, label: r, onChange: n, onChangeGuard: a, options: o }) {
122626
- const [i, s] = Xe(!1), c = o.find((u) => u.value === t);
122635
+ function Kce({ theme: e, value: t, label: r, onChange: n, onChangeGuard: a, options: o, testId: i }) {
122636
+ const [s, c] = Xe(!1), u = o.find((l) => l.value === t);
122627
122637
  return /* @__PURE__ */ le.jsxs("div", { className: "multichain__select-container", children: [
122628
122638
  /* @__PURE__ */ le.jsxs(
122629
122639
  "button",
122630
122640
  {
122631
122641
  className: "multichain__select-trigger",
122632
- onClick: () => s((u) => !u),
122642
+ onClick: () => c((l) => !l),
122633
122643
  style: {
122634
122644
  paddingTop: e.inputVerticalPadding,
122635
122645
  paddingBottom: e.inputVerticalPadding,
@@ -122644,17 +122654,18 @@ function Kce({ theme: e, value: t, label: r, onChange: n, onChangeGuard: a, opti
122644
122654
  fontWeight: e.fontWeight,
122645
122655
  border: "none"
122646
122656
  },
122657
+ "data-test-id": i,
122647
122658
  children: [
122648
122659
  /* @__PURE__ */ le.jsxs("div", { className: "multichain__select-left", children: [
122649
- c && c.image ? /* @__PURE__ */ le.jsx("img", { src: c.image, alt: c.label, className: "multichain__select-img" }) : void 0,
122650
- /* @__PURE__ */ le.jsx(cr, { theme: e, children: c ? c.label : "Loading..." })
122660
+ u && u.image ? /* @__PURE__ */ le.jsx("img", { src: u.image, alt: u.label, className: "multichain__select-img" }) : void 0,
122661
+ /* @__PURE__ */ le.jsx(cr, { theme: e, testId: `${i}__loading`, children: u ? u.label : "Loading..." })
122651
122662
  ] }),
122652
122663
  /* @__PURE__ */ le.jsxs("div", { className: "multichain__row", children: [
122653
- r !== void 0 ? /* @__PURE__ */ le.jsx(cr, { theme: e, small: !0, secondary: !0, children: r }) : null,
122664
+ r !== void 0 ? /* @__PURE__ */ le.jsx(cr, { theme: e, testId: `${i}__selected`, small: !0, secondary: !0, children: r }) : null,
122654
122665
  /* @__PURE__ */ le.jsx(
122655
122666
  "svg",
122656
122667
  {
122657
- className: `multichain__select-arrow ${i ? "multichain__open" : ""}`,
122668
+ className: `multichain__select-arrow ${s ? "multichain__open" : ""}`,
122658
122669
  xmlns: "http://www.w3.org/2000/svg",
122659
122670
  viewBox: "0 0 24 24",
122660
122671
  fill: "none",
@@ -122667,7 +122678,7 @@ function Kce({ theme: e, value: t, label: r, onChange: n, onChangeGuard: a, opti
122667
122678
  ]
122668
122679
  }
122669
122680
  ),
122670
- i && /* @__PURE__ */ le.jsx(
122681
+ s && /* @__PURE__ */ le.jsx(
122671
122682
  "ul",
122672
122683
  {
122673
122684
  className: "multichain__select-menu",
@@ -122684,7 +122695,7 @@ function Kce({ theme: e, value: t, label: r, onChange: n, onChangeGuard: a, opti
122684
122695
  fontSize: e.fontSize,
122685
122696
  fontWeight: e.fontWeight
122686
122697
  },
122687
- children: o.map((u) => /* @__PURE__ */ le.jsxs(
122698
+ children: o.map((l) => /* @__PURE__ */ le.jsxs(
122688
122699
  "li",
122689
122700
  {
122690
122701
  className: "multichain__select-option",
@@ -122693,16 +122704,16 @@ function Kce({ theme: e, value: t, label: r, onChange: n, onChangeGuard: a, opti
122693
122704
  paddingBottom: e.inputVerticalPadding
122694
122705
  },
122695
122706
  onClick: async () => {
122696
- a ? await a(u.value).then((l) => {
122697
- l && n(u.value);
122698
- }) : n(u.value), s(!1);
122707
+ a ? await a(l.value).then((d) => {
122708
+ d && n(l.value);
122709
+ }) : n(l.value), c(!1);
122699
122710
  },
122700
122711
  children: [
122701
- u.image ? /* @__PURE__ */ le.jsx("img", { src: u.image, alt: u.label, className: "multichain__select-img" }) : void 0,
122702
- /* @__PURE__ */ le.jsx(cr, { theme: e, children: u.label })
122712
+ l.image ? /* @__PURE__ */ le.jsx("img", { src: l.image, alt: l.label, className: "multichain__select-img" }) : void 0,
122713
+ /* @__PURE__ */ le.jsx(cr, { theme: e, testId: `${i}__${l.value}`, children: l.label })
122703
122714
  ]
122704
122715
  },
122705
- u.value
122716
+ l.value
122706
122717
  ))
122707
122718
  }
122708
122719
  )
@@ -122849,19 +122860,45 @@ function kat({ theme: e, hooks: t, setTab: r, swapData: n, initialChainId: a, li
122849
122860
  className: "multichain__wrapper",
122850
122861
  style: { borderRadius: e.borderRadius, backgroundColor: e.backgroundColor },
122851
122862
  children: [
122852
- /* @__PURE__ */ le.jsx(Q7, { secondary: !0, theme: e, onClick: J, disabled: k !== "pending" && k !== "failed", children: "Cancel" }),
122863
+ /* @__PURE__ */ le.jsx(
122864
+ Q7,
122865
+ {
122866
+ secondary: !0,
122867
+ theme: e,
122868
+ onClick: J,
122869
+ disabled: k !== "pending" && k !== "failed",
122870
+ testId: "go-back",
122871
+ children: "Cancel"
122872
+ }
122873
+ ),
122853
122874
  /* @__PURE__ */ le.jsxs("div", { className: "multichain__row", children: [
122854
- /* @__PURE__ */ le.jsx("div", { className: "multichain__column multichain__column--full", children: /* @__PURE__ */ le.jsx(CR, { theme: e, readOnly: !0, value: Wce(n.sourceAddress) }) }),
122855
- /* @__PURE__ */ le.jsx(cr, { theme: e, children: "→" }),
122856
- /* @__PURE__ */ le.jsx("div", { className: "multichain__column multichain__column--full", children: /* @__PURE__ */ le.jsx(CR, { theme: e, readOnly: !0, value: Wce(n.targetAddress) }) })
122875
+ /* @__PURE__ */ le.jsx("div", { className: "multichain__column multichain__column--full", children: /* @__PURE__ */ le.jsx(
122876
+ CR,
122877
+ {
122878
+ theme: e,
122879
+ readOnly: !0,
122880
+ value: Wce(n.sourceAddress),
122881
+ testId: "readonly-source-address"
122882
+ }
122883
+ ) }),
122884
+ /* @__PURE__ */ le.jsx(cr, { theme: e, testId: "symbol-right", children: "→" }),
122885
+ /* @__PURE__ */ le.jsx("div", { className: "multichain__column multichain__column--full", children: /* @__PURE__ */ le.jsx(
122886
+ CR,
122887
+ {
122888
+ theme: e,
122889
+ readOnly: !0,
122890
+ value: Wce(n.targetAddress),
122891
+ testId: "readonly-target-address"
122892
+ }
122893
+ ) })
122857
122894
  ] }),
122858
122895
  k !== "pending" ? /* @__PURE__ */ le.jsxs(le.Fragment, { children: [
122859
- /* @__PURE__ */ le.jsx(cr, { theme: e, small: !0, secondary: !0, children: "Please allow up to 5 minutes for the steps to complete." }),
122896
+ /* @__PURE__ */ le.jsx(cr, { theme: e, testId: "duration-info", small: !0, secondary: !0, children: "Please allow up to 5 minutes for the steps to complete." }),
122860
122897
  /* @__PURE__ */ le.jsx(Eat, { theme: e, progress: P })
122861
122898
  ] }) : null,
122862
122899
  k === "pending" ? /* @__PURE__ */ le.jsxs(le.Fragment, { children: [
122863
122900
  /* @__PURE__ */ le.jsxs(t_, { theme: e, children: [
122864
- /* @__PURE__ */ le.jsxs(cr, { theme: e, children: [
122901
+ /* @__PURE__ */ le.jsxs(cr, { theme: e, testId: "source-chain-input__label", children: [
122865
122902
  "Select the Source Chain",
122866
122903
  /* @__PURE__ */ le.jsx(ni, { theme: e, color: e.buttonBackgroundColor, children: "*" })
122867
122904
  ] }),
@@ -122886,12 +122923,13 @@ function kat({ theme: e, hooks: t, setTab: r, swapData: n, initialChainId: a, li
122886
122923
  value: Y.id.toString(),
122887
122924
  label: Y.displayName,
122888
122925
  image: Y.iconUrl
122889
- }))
122926
+ })),
122927
+ testId: "source-chain-input"
122890
122928
  }
122891
122929
  )
122892
122930
  ] }),
122893
122931
  /* @__PURE__ */ le.jsxs(t_, { theme: e, children: [
122894
- /* @__PURE__ */ le.jsxs(cr, { theme: e, children: [
122932
+ /* @__PURE__ */ le.jsxs(cr, { theme: e, testId: "source-token-input__label", children: [
122895
122933
  "Select the Source Token",
122896
122934
  /* @__PURE__ */ le.jsx(ni, { theme: e, color: e.buttonBackgroundColor, children: "*" })
122897
122935
  ] }),
@@ -122914,11 +122952,12 @@ function kat({ theme: e, hooks: t, setTab: r, swapData: n, initialChainId: a, li
122914
122952
  f.decimals
122915
122953
  ).toDecimalString(),
122916
122954
  3
122917
- ) + " " + f.symbol : "Loading..."
122955
+ ) + " " + f.symbol : "Loading...",
122956
+ testId: "source-token-input"
122918
122957
  }
122919
122958
  )
122920
122959
  ] }),
122921
- /* @__PURE__ */ le.jsxs(cr, { theme: e, small: !0, secondary: !0, children: [
122960
+ /* @__PURE__ */ le.jsxs(cr, { theme: e, small: !0, secondary: !0, testId: "swap-summary", children: [
122922
122961
  "You will swap",
122923
122962
  " ",
122924
122963
  a7.toSignificantDigits(g?.toDecimalString() || "0", 3),
@@ -122937,7 +122976,8 @@ function kat({ theme: e, hooks: t, setTab: r, swapData: n, initialChainId: a, li
122937
122976
  {
122938
122977
  theme: e,
122939
122978
  leftLabel: `${V.toFixed(2)} xDAI`,
122940
- rightLabel: `$${V.toFixed(2)}`
122979
+ rightLabel: `$${V.toFixed(2)}`,
122980
+ testId: "xdai-display"
122941
122981
  }
122942
122982
  ) }),
122943
122983
  /* @__PURE__ */ le.jsx("div", { className: "multichain__column multichain__column--full", children: /* @__PURE__ */ le.jsx(
@@ -122945,18 +122985,20 @@ function kat({ theme: e, hooks: t, setTab: r, swapData: n, initialChainId: a, li
122945
122985
  {
122946
122986
  theme: e,
122947
122987
  leftLabel: `${D ? a7.toSignificantDigits(D.toDecimalString(), 3) : "Loading..."} xBZZ`,
122948
- rightLabel: `$${(U || 0).toFixed(2)}`
122988
+ rightLabel: `$${(U || 0).toFixed(2)}`,
122989
+ testId: "xbzz-display"
122949
122990
  }
122950
122991
  ) })
122951
122992
  ] })
122952
122993
  ] }) : null,
122953
- k === "pending" ? /* @__PURE__ */ le.jsx(Cat, { isLoading: E, theme: e, quote: y }) : null,
122994
+ k === "pending" ? /* @__PURE__ */ le.jsx(Cat, { isLoading: E, theme: e, quote: y, testId: "quote-status" }) : null,
122954
122995
  /* @__PURE__ */ le.jsx(
122955
122996
  Q7,
122956
122997
  {
122957
122998
  theme: e,
122958
122999
  onClick: $,
122959
123000
  disabled: k !== "pending" || !y || !W || !I.data,
123001
+ testId: "fund",
122960
123002
  children: W ? "Fund" : "Insufficient balance"
122961
123003
  }
122962
123004
  )
@@ -1,4 +1,4 @@
1
- import { A as rs, v as Jn, w as nt, I as as, x as ue, y as wa, z as is, C as ss, D as j, E as os, F as cs, G as us, U as ds, L as ls, f as Ge, J as kt, K as fs, b as Ke, m as Ft, M as be, N as xe, O as va, P as cn, Q as ps, B as _, R as ms, S as Ar, d as ys, T as hs, V as gs, W as bs, X as rt, Y as Yn, Z as Xn, j as Oe, _ as ws, $ as vs, a0 as xa, a1 as xs, a2 as Es, a3 as Ss, s as As, a4 as ks, a5 as Ps, a6 as Os, a7 as Is, a8 as Cs, a9 as Ts, aa as _s, ab as Bs, ac as Rs, ad as Ns, ae as Us, af as js, ag as Ds, ah as Ms, ai as Ls, r as kr, aj as Fs, h as Me, ak as He, al as Qn, am as Pt, an as Gs, ao as Ae, ap as Ks, aq as Hs, ar as zs, as as Ea, at as Vs, au as qs, av as Zs, aw as Ws, k as Sa, ax as Js, t as ze, ay as Aa, az as Pr, aA as Or, aB as ka, aC as Ys, aD as Xs, aE as Ir, aF as Pa, aG as ut, i as Qs } from "./index-DiR2oYdU.mjs";
1
+ import { A as rs, v as Jn, w as nt, I as as, x as ue, y as wa, z as is, C as ss, D as j, E as os, F as cs, G as us, U as ds, L as ls, f as Ge, J as kt, K as fs, b as Ke, m as Ft, M as be, N as xe, O as va, P as cn, Q as ps, B as _, R as ms, S as Ar, d as ys, T as hs, V as gs, W as bs, X as rt, Y as Yn, Z as Xn, j as Oe, _ as ws, $ as vs, a0 as xa, a1 as xs, a2 as Es, a3 as Ss, s as As, a4 as ks, a5 as Ps, a6 as Os, a7 as Is, a8 as Cs, a9 as Ts, aa as _s, ab as Bs, ac as Rs, ad as Ns, ae as Us, af as js, ag as Ds, ah as Ms, ai as Ls, r as kr, aj as Fs, h as Me, ak as He, al as Qn, am as Pt, an as Gs, ao as Ae, ap as Ks, aq as Hs, ar as zs, as as Ea, at as Vs, au as qs, av as Zs, aw as Ws, k as Sa, ax as Js, t as ze, ay as Aa, az as Pr, aA as Or, aB as ka, aC as Ys, aD as Xs, aE as Ir, aF as Pa, aG as ut, i as Qs } from "./index-CTqu92lL.mjs";
2
2
  function $s(e, t) {
3
3
  if (e.length !== t.length)
4
4
  throw new rs({