@springmicro/auth 0.3.0 → 0.3.4

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 (148) hide show
  1. package/.eslintrc.cjs +0 -0
  2. package/README.md +60 -60
  3. package/dist/{Index-c419311f-DolmVisI.js → Index-64ac63ff-mcEPPGzJ.js} +101 -102
  4. package/dist/{Index-652aeb8c-Cr1mbyJJ.js → Index-6c094240-D4xpr8fA.js} +70 -71
  5. package/dist/{Web3Auth-C5tucK1E.js → Web3Auth-DB9s-qbl.js} +12454 -12511
  6. package/dist/alphawallet-B7eovdf-.js +0 -0
  7. package/dist/apexwallet-ysP20G9D.js +0 -0
  8. package/dist/atoken-BBnNTzcz.js +0 -0
  9. package/dist/bifrostwallet-CNNBO92h.js +0 -0
  10. package/dist/binance-DvPgAzCw.js +0 -0
  11. package/dist/bitget-DZOUrwgy.js +0 -0
  12. package/dist/bitpie-C_uxmEzw.js +0 -0
  13. package/dist/bitski-DpzkHNkv.js +0 -0
  14. package/dist/blockwallet-BL69cqkA.js +0 -0
  15. package/dist/brave-DnRzMQYW.js +0 -0
  16. package/dist/ccip-c78d2f16-DLcRlwod.js +0 -0
  17. package/dist/coin98wallet-CkFdOvXt.js +0 -0
  18. package/dist/coinbase-CaGNx5if.js +0 -0
  19. package/dist/core-9rK8tWud.js +0 -0
  20. package/dist/defiwallet-0AsgJBSy.js +0 -0
  21. package/dist/detected-CX_JZaUk.js +0 -0
  22. package/dist/echooo-CmaetT_Z.js +0 -0
  23. package/dist/enkrypt-BibtwvK7.js +0 -0
  24. package/dist/exodus-BxzkDWWP.js +0 -0
  25. package/dist/fordefi-CvKyVwhI.js +0 -0
  26. package/dist/foxwallet-D7c_LDTf.js +0 -0
  27. package/dist/frame-CDfNmjUy.js +0 -0
  28. package/dist/frontier-DqKNSj2z.js +0 -0
  29. package/dist/hashMessage-Dw0KdqMZ.js +2101 -0
  30. package/dist/huobiwallet-CxSwqa5L.js +0 -0
  31. package/dist/hyperpay-nmHE3WqM.js +0 -0
  32. package/dist/icon-2Zqy7pqQ.js +0 -0
  33. package/dist/icon-CGWI1Ies.js +0 -0
  34. package/dist/icon-C_O4nprO.js +0 -0
  35. package/dist/icon-DbgmZCnU.js +0 -0
  36. package/dist/icon-Dbjb6jc5.js +20 -0
  37. package/dist/icon-cAd7RhSC.js +0 -0
  38. package/dist/imtoken-yENtOTS3.js +0 -0
  39. package/dist/index-021f6a62-Zz543EDB.js +0 -0
  40. package/dist/index-40a497ea-Bn2mC0r7.js +0 -0
  41. package/dist/{index-YKlm7xSx.js → index-C0yeApwY.js} +750 -751
  42. package/dist/{index-C4uVsW-I.js → index-CDaoza_m.js} +2 -2
  43. package/dist/index-CiwBcaZ0.js +384 -0
  44. package/dist/{index-DOUI-2vv.js → index-CroNOC7e.js} +27 -29
  45. package/dist/{index-Boi-WcMK.js → index-Df5ie3cE.js} +2 -2
  46. package/dist/{index-DzOmdGpF.js → index-F-gl3DJX.js} +8 -10
  47. package/dist/index-wNV8PBAh.js +11412 -0
  48. package/dist/index.d.ts +0 -0
  49. package/dist/index.js +1 -1
  50. package/dist/index.umd.cjs +327 -291
  51. package/dist/infinitywallet-C8J4FUYw.js +0 -0
  52. package/dist/kayros-AIrUK1za.js +0 -0
  53. package/dist/keplr-CyLTca9B.js +36 -0
  54. package/dist/lif3wallet-C5D6r8pg.js +0 -0
  55. package/dist/liquality-nbCtErVq.js +0 -0
  56. package/dist/mathwallet-CWkivCXo.js +0 -0
  57. package/dist/meetone-kKmvI8md.js +0 -0
  58. package/dist/metamask-BN7yiDV1.js +0 -0
  59. package/dist/mykey-CQZ6UcLH.js +0 -0
  60. package/dist/native-FDN9oNjc.js +15 -0
  61. package/dist/{number-UhidYs-H.js → number-ByqdQYDu.js} +1 -1
  62. package/dist/okxwallet-CJLVogh2.js +0 -0
  63. package/dist/oneInch-CciyZ4Pz.js +0 -0
  64. package/dist/onekey-Dal8kYjU.js +0 -0
  65. package/dist/opera-DnKg-TJU.js +0 -0
  66. package/dist/ownbit-BshJUVuW.js +0 -0
  67. package/dist/phantom-CJ8dIcov.js +0 -0
  68. package/dist/rabby-D4thTcd6.js +0 -0
  69. package/dist/rainbow-mXld6yWV.js +0 -0
  70. package/dist/roninwallet-ZyYrd-D1.js +0 -0
  71. package/dist/safeheron-Eg1Jb29V.js +0 -0
  72. package/dist/safepal-DVIKy94N.js +0 -0
  73. package/dist/sequence-BS2IbtDg.js +0 -0
  74. package/dist/stablewallet-jyB079Wb.js +0 -0
  75. package/dist/status-FrAvQjfn.js +0 -0
  76. package/dist/subwallet-DMvFqKyY.js +0 -0
  77. package/dist/talisman-Bp8zUXqB.js +0 -0
  78. package/dist/tallywallet-B4OS9nIr.js +0 -0
  79. package/dist/tokenary-C7jjcbQa.js +0 -0
  80. package/dist/tokenpocket-9ZRPmAFA.js +0 -0
  81. package/dist/tp-V2em5bdl.js +0 -0
  82. package/dist/transactionRequest-be6a8ea9-CUKWo5mx.js +0 -0
  83. package/dist/trust-SgHubMq7.js +20 -0
  84. package/dist/xdefi-COVIyGz4.js +0 -0
  85. package/dist/zeal-DxHbDqm0.js +0 -0
  86. package/dist/zerion-BfW0UElc.js +0 -0
  87. package/dist/zodiacpilot-CrId6F4w.js +0 -0
  88. package/index.html +0 -0
  89. package/package.json +2 -2
  90. package/src/auth/config.ts +91 -91
  91. package/src/components/SignUp.tsx +442 -442
  92. package/src/components/forms/AgreementModal.tsx +88 -88
  93. package/src/components/forms/CaptchaController.tsx +94 -94
  94. package/src/components/forms/CaptchaModal.jsx +171 -171
  95. package/src/components/forms/CaptchaWidget.jsx +146 -146
  96. package/src/components/forms/PasswordChecker.ts +88 -88
  97. package/src/components/forms/SendCodeInput.tsx +149 -149
  98. package/src/components/forms/SignUpFormItem.tsx +704 -704
  99. package/src/components/forms/util/application-api.ts +155 -155
  100. package/src/components/forms/util/auth-api.ts +198 -198
  101. package/src/components/forms/util/auth-util.tsx +346 -346
  102. package/src/components/forms/util/core.ts +493 -493
  103. package/src/components/forms/util/invitation-api.ts +132 -132
  104. package/src/components/forms/util/provider.tsx +603 -603
  105. package/src/components/forms/util/user-api.ts +303 -303
  106. package/src/components/provider/AdfsLoginButton.jsx +38 -38
  107. package/src/components/provider/AlipayLoginButton.jsx +38 -38
  108. package/src/components/provider/AppleLoginButton.jsx +38 -38
  109. package/src/components/provider/AzureADB2CLoginButton.jsx +38 -38
  110. package/src/components/provider/AzureADLoginButton.jsx +38 -38
  111. package/src/components/provider/BaiduLoginButton.jsx +38 -38
  112. package/src/components/provider/BilibiliLoginButton.jsx +37 -37
  113. package/src/components/provider/CasdoorLoginButton.jsx +38 -38
  114. package/src/components/provider/DingTalkLoginButton.jsx +37 -37
  115. package/src/components/provider/DouyinLoginButton.jsx +38 -38
  116. package/src/components/provider/FacebookLoginButton.jsx +37 -37
  117. package/src/components/provider/GitHubLoginButton.jsx +37 -37
  118. package/src/components/provider/GitLabLoginButton.jsx +38 -38
  119. package/src/components/provider/GiteeLoginButton.jsx +34 -34
  120. package/src/components/provider/GoogleLoginButton.jsx +68 -68
  121. package/src/components/provider/InfoflowLoginButton.jsx +38 -38
  122. package/src/components/provider/LarkLoginButton.jsx +38 -38
  123. package/src/components/provider/LinkedInLoginButton.jsx +37 -37
  124. package/src/components/provider/LoginButton.jsx +33 -33
  125. package/src/components/provider/OktaLoginButton.jsx +38 -38
  126. package/src/components/provider/Provider.jsx +3 -3
  127. package/src/components/provider/ProviderButton.jsx +327 -327
  128. package/src/components/provider/QqLoginButton.jsx +31 -31
  129. package/src/components/provider/SelfLoginButton.jsx +47 -47
  130. package/src/components/provider/SlackLoginButton.jsx +38 -38
  131. package/src/components/provider/SteamLoginButton.jsx +38 -38
  132. package/src/components/provider/WeComLoginButton.jsx +34 -34
  133. package/src/components/provider/Web3Auth.jsx +365 -365
  134. package/src/components/provider/WechatLoginButton.jsx +37 -37
  135. package/src/components/provider/WeiboLoginButton.jsx +34 -34
  136. package/src/components/util.tsx +173 -173
  137. package/src/i18n/en/signup.json +48 -48
  138. package/src/i18n/index.ts +17 -17
  139. package/src/index.tsx +8 -8
  140. package/src/vite-env.d.ts +0 -0
  141. package/tsconfig.json +0 -0
  142. package/tsconfig.node.json +0 -0
  143. package/vite.config.ts +33 -33
  144. package/dist/icon-duCa3gfT.js +0 -11
  145. package/dist/index-BtLU53lm.js +0 -6023
  146. package/dist/index-CLfsMiG4.js +0 -2021
  147. package/dist/index-DPq81SIn.js +0 -161
  148. package/dist/trust-gPypS1O7.js +0 -11
@@ -1,5 +1,5 @@
1
- import { bK as es, bL as qt, bM as ts, bN as Z, bO as de, bP as Un, bQ as Sa } from "./Web3Auth-C5tucK1E.js";
2
- var rs = {}, pt = {}, Kt = {};
1
+ import { bH as Xi, bI as qt, bJ as es, bK as Z, bL as de, bM as Wn, bN as Sa } from "./Web3Auth-DB9s-qbl.js";
2
+ var ts = {}, gt = {}, Kt = {};
3
3
  Object.defineProperty(Kt, "__esModule", { value: !0 });
4
4
  Kt.walletLogo = void 0;
5
5
  const Ca = (e, t) => {
@@ -22,7 +22,7 @@ const Ca = (e, t) => {
22
22
  }
23
23
  };
24
24
  Kt.walletLogo = Ca;
25
- var zt = {}, ns = { exports: {} };
25
+ var zt = {}, rs = { exports: {} };
26
26
  (function(e) {
27
27
  var t = Object.prototype.hasOwnProperty, r = "~";
28
28
  function n() {
@@ -34,8 +34,8 @@ var zt = {}, ns = { exports: {} };
34
34
  function s(c, d, p, h, _) {
35
35
  if (typeof p != "function")
36
36
  throw new TypeError("The listener must be a function");
37
- var g = new i(p, h || c, _), w = r ? r + d : d;
38
- return c._events[w] ? c._events[w].fn ? c._events[w] = [c._events[w], g] : c._events[w].push(g) : (c._events[w] = g, c._eventsCount++), c;
37
+ var y = new i(p, h || c, _), w = r ? r + d : d;
38
+ return c._events[w] ? c._events[w].fn ? c._events[w] = [c._events[w], y] : c._events[w].push(y) : (c._events[w] = y, c._eventsCount++), c;
39
39
  }
40
40
  function a(c, d) {
41
41
  --c._eventsCount === 0 ? c._events = new n() : delete c._events[d];
@@ -53,13 +53,13 @@ var zt = {}, ns = { exports: {} };
53
53
  var p = r ? r + d : d, h = this._events[p];
54
54
  if (!h) return [];
55
55
  if (h.fn) return [h.fn];
56
- for (var _ = 0, g = h.length, w = new Array(g); _ < g; _++)
56
+ for (var _ = 0, y = h.length, w = new Array(y); _ < y; _++)
57
57
  w[_] = h[_].fn;
58
58
  return w;
59
59
  }, o.prototype.listenerCount = function(d) {
60
60
  var p = r ? r + d : d, h = this._events[p];
61
61
  return h ? h.fn ? 1 : h.length : 0;
62
- }, o.prototype.emit = function(d, p, h, _, g, w) {
62
+ }, o.prototype.emit = function(d, p, h, _, y, w) {
63
63
  var k = r ? r + d : d;
64
64
  if (!this._events[k]) return !1;
65
65
  var m = this._events[k], f = arguments.length, v, E;
@@ -74,9 +74,9 @@ var zt = {}, ns = { exports: {} };
74
74
  case 4:
75
75
  return m.fn.call(m.context, p, h, _), !0;
76
76
  case 5:
77
- return m.fn.call(m.context, p, h, _, g), !0;
77
+ return m.fn.call(m.context, p, h, _, y), !0;
78
78
  case 6:
79
- return m.fn.call(m.context, p, h, _, g, w), !0;
79
+ return m.fn.call(m.context, p, h, _, y, w), !0;
80
80
  }
81
81
  for (E = 1, v = new Array(f - 1); E < f; E++)
82
82
  v[E - 1] = arguments[E];
@@ -109,25 +109,25 @@ var zt = {}, ns = { exports: {} };
109
109
  }, o.prototype.once = function(d, p, h) {
110
110
  return s(this, d, p, h, !0);
111
111
  }, o.prototype.removeListener = function(d, p, h, _) {
112
- var g = r ? r + d : d;
113
- if (!this._events[g]) return this;
112
+ var y = r ? r + d : d;
113
+ if (!this._events[y]) return this;
114
114
  if (!p)
115
- return a(this, g), this;
116
- var w = this._events[g];
115
+ return a(this, y), this;
116
+ var w = this._events[y];
117
117
  if (w.fn)
118
- w.fn === p && (!_ || w.once) && (!h || w.context === h) && a(this, g);
118
+ w.fn === p && (!_ || w.once) && (!h || w.context === h) && a(this, y);
119
119
  else {
120
120
  for (var k = 0, m = [], f = w.length; k < f; k++)
121
121
  (w[k].fn !== p || _ && !w[k].once || h && w[k].context !== h) && m.push(w[k]);
122
- m.length ? this._events[g] = m.length === 1 ? m[0] : m : a(this, g);
122
+ m.length ? this._events[y] = m.length === 1 ? m[0] : m : a(this, y);
123
123
  }
124
124
  return this;
125
125
  }, o.prototype.removeAllListeners = function(d) {
126
126
  var p;
127
127
  return d ? (p = r ? r + d : d, this._events[p] && a(this, p)) : (this._events = new n(), this._eventsCount = 0), this;
128
128
  }, o.prototype.off = o.prototype.removeListener, o.prototype.addListener = o.prototype.on, o.prefixed = r, o.EventEmitter = o, e.exports = o;
129
- })(ns);
130
- var xa = ns.exports, ye = {}, Ae = {};
129
+ })(rs);
130
+ var xa = rs.exports, ye = {}, Ae = {};
131
131
  Object.defineProperty(Ae, "__esModule", { value: !0 });
132
132
  Ae.errorValues = Ae.standardErrorCodes = void 0;
133
133
  Ae.standardErrorCodes = {
@@ -223,12 +223,12 @@ Ae.errorValues = {
223
223
  message: "Unrecognized chain ID."
224
224
  }
225
225
  };
226
- var Vt = {}, Hn = {};
226
+ var Vt = {}, Un = {};
227
227
  (function(e) {
228
228
  Object.defineProperty(e, "__esModule", { value: !0 }), e.serialize = e.getErrorCode = e.isValidCode = e.getMessageFromCode = e.JSON_RPC_SERVER_ERROR_MESSAGE = void 0;
229
229
  const t = Ae, r = "Unspecified error message.";
230
230
  e.JSON_RPC_SERVER_ERROR_MESSAGE = "Unspecified server error.";
231
- function n(_, g = r) {
231
+ function n(_, y = r) {
232
232
  if (_ && Number.isInteger(_)) {
233
233
  const w = _.toString();
234
234
  if (p(t.errorValues, w))
@@ -236,35 +236,35 @@ var Vt = {}, Hn = {};
236
236
  if (c(_))
237
237
  return e.JSON_RPC_SERVER_ERROR_MESSAGE;
238
238
  }
239
- return g;
239
+ return y;
240
240
  }
241
241
  e.getMessageFromCode = n;
242
242
  function i(_) {
243
243
  if (!Number.isInteger(_))
244
244
  return !1;
245
- const g = _.toString();
246
- return !!(t.errorValues[g] || c(_));
245
+ const y = _.toString();
246
+ return !!(t.errorValues[y] || c(_));
247
247
  }
248
248
  e.isValidCode = i;
249
249
  function s(_) {
250
- var g;
250
+ var y;
251
251
  if (typeof _ == "number")
252
252
  return _;
253
253
  if (a(_))
254
- return (g = _.code) !== null && g !== void 0 ? g : _.errorCode;
254
+ return (y = _.code) !== null && y !== void 0 ? y : _.errorCode;
255
255
  }
256
256
  e.getErrorCode = s;
257
257
  function a(_) {
258
258
  return typeof _ == "object" && _ !== null && (typeof _.code == "number" || typeof _.errorCode == "number");
259
259
  }
260
- function o(_, { shouldIncludeStack: g = !1 } = {}) {
260
+ function o(_, { shouldIncludeStack: y = !1 } = {}) {
261
261
  const w = {};
262
262
  if (_ && typeof _ == "object" && !Array.isArray(_) && p(_, "code") && i(_.code)) {
263
263
  const k = _;
264
264
  w.code = k.code, k.message && typeof k.message == "string" ? (w.message = k.message, p(k, "data") && (w.data = k.data)) : (w.message = n(w.code), w.data = { originalError: d(_) });
265
265
  } else
266
266
  w.code = t.standardErrorCodes.rpc.internal, w.message = h(_, "message") ? _.message : r, w.data = { originalError: d(_) };
267
- return g && (w.stack = h(_, "stack") ? _.stack : void 0), w;
267
+ return y && (w.stack = h(_, "stack") ? _.stack : void 0), w;
268
268
  }
269
269
  e.serialize = o;
270
270
  function c(_) {
@@ -273,16 +273,16 @@ var Vt = {}, Hn = {};
273
273
  function d(_) {
274
274
  return _ && typeof _ == "object" && !Array.isArray(_) ? Object.assign({}, _) : _;
275
275
  }
276
- function p(_, g) {
277
- return Object.prototype.hasOwnProperty.call(_, g);
276
+ function p(_, y) {
277
+ return Object.prototype.hasOwnProperty.call(_, y);
278
278
  }
279
- function h(_, g) {
280
- return typeof _ == "object" && _ !== null && g in _ && typeof _[g] == "string";
279
+ function h(_, y) {
280
+ return typeof _ == "object" && _ !== null && y in _ && typeof _[y] == "string";
281
281
  }
282
- })(Hn);
282
+ })(Un);
283
283
  Object.defineProperty(Vt, "__esModule", { value: !0 });
284
284
  Vt.standardErrors = void 0;
285
- const Y = Ae, is = Hn;
285
+ const Y = Ae, ns = Un;
286
286
  Vt.standardErrors = {
287
287
  rpc: {
288
288
  parse: (e) => ae(Y.standardErrorCodes.rpc.parse, e),
@@ -306,31 +306,31 @@ Vt.standardErrors = {
306
306
  limitExceeded: (e) => ae(Y.standardErrorCodes.rpc.limitExceeded, e)
307
307
  },
308
308
  provider: {
309
- userRejectedRequest: (e) => Ye(Y.standardErrorCodes.provider.userRejectedRequest, e),
310
- unauthorized: (e) => Ye(Y.standardErrorCodes.provider.unauthorized, e),
311
- unsupportedMethod: (e) => Ye(Y.standardErrorCodes.provider.unsupportedMethod, e),
312
- disconnected: (e) => Ye(Y.standardErrorCodes.provider.disconnected, e),
313
- chainDisconnected: (e) => Ye(Y.standardErrorCodes.provider.chainDisconnected, e),
314
- unsupportedChain: (e) => Ye(Y.standardErrorCodes.provider.unsupportedChain, e),
309
+ userRejectedRequest: (e) => Ze(Y.standardErrorCodes.provider.userRejectedRequest, e),
310
+ unauthorized: (e) => Ze(Y.standardErrorCodes.provider.unauthorized, e),
311
+ unsupportedMethod: (e) => Ze(Y.standardErrorCodes.provider.unsupportedMethod, e),
312
+ disconnected: (e) => Ze(Y.standardErrorCodes.provider.disconnected, e),
313
+ chainDisconnected: (e) => Ze(Y.standardErrorCodes.provider.chainDisconnected, e),
314
+ unsupportedChain: (e) => Ze(Y.standardErrorCodes.provider.unsupportedChain, e),
315
315
  custom: (e) => {
316
316
  if (!e || typeof e != "object" || Array.isArray(e))
317
317
  throw new Error("Ethereum Provider custom errors must provide single object argument.");
318
318
  const { code: t, message: r, data: n } = e;
319
319
  if (!r || typeof r != "string")
320
320
  throw new Error('"message" must be a nonempty string');
321
- return new os(t, r, n);
321
+ return new as(t, r, n);
322
322
  }
323
323
  }
324
324
  };
325
325
  function ae(e, t) {
326
- const [r, n] = ss(t);
327
- return new as(e, r || (0, is.getMessageFromCode)(e), n);
326
+ const [r, n] = is(t);
327
+ return new ss(e, r || (0, ns.getMessageFromCode)(e), n);
328
328
  }
329
- function Ye(e, t) {
330
- const [r, n] = ss(t);
331
- return new os(e, r || (0, is.getMessageFromCode)(e), n);
329
+ function Ze(e, t) {
330
+ const [r, n] = is(t);
331
+ return new as(e, r || (0, ns.getMessageFromCode)(e), n);
332
332
  }
333
- function ss(e) {
333
+ function is(e) {
334
334
  if (e) {
335
335
  if (typeof e == "string")
336
336
  return [e];
@@ -343,7 +343,7 @@ function ss(e) {
343
343
  }
344
344
  return [];
345
345
  }
346
- class as extends Error {
346
+ class ss extends Error {
347
347
  constructor(t, r, n) {
348
348
  if (!Number.isInteger(t))
349
349
  throw new Error('"code" must be an integer.');
@@ -352,7 +352,7 @@ class as extends Error {
352
352
  super(r), this.code = t, n !== void 0 && (this.data = n);
353
353
  }
354
354
  }
355
- class os extends as {
355
+ class as extends ss {
356
356
  /**
357
357
  * Create an Ethereum Provider JSON-RPC error.
358
358
  * `code` must be an integer in the 1000 <= 4999 range.
@@ -384,13 +384,13 @@ function Ra(e) {
384
384
  return e.errorMessage !== void 0;
385
385
  }
386
386
  at.isErrorResponse = Ra;
387
- var $e = {};
388
- Object.defineProperty($e, "__esModule", { value: !0 });
389
- $e.LIB_VERSION = void 0;
390
- $e.LIB_VERSION = "4.0.3";
387
+ var He = {};
388
+ Object.defineProperty(He, "__esModule", { value: !0 });
389
+ He.LIB_VERSION = void 0;
390
+ He.LIB_VERSION = "4.0.3";
391
391
  Object.defineProperty(Gt, "__esModule", { value: !0 });
392
392
  Gt.serializeError = void 0;
393
- const Ia = at, Ma = $e, Aa = Ae, La = Hn;
393
+ const Ia = at, Ma = He, Aa = Ae, La = Un;
394
394
  function Ta(e, t) {
395
395
  const r = (0, La.serialize)(Pa(e), {
396
396
  shouldIncludeStack: !0
@@ -422,30 +422,30 @@ function Na(e, t) {
422
422
  var J = {};
423
423
  Object.defineProperty(J, "__esModule", { value: !0 });
424
424
  J.RegExpString = J.IntNumber = J.BigIntString = J.AddressString = J.HexString = J.OpaqueType = void 0;
425
- function yt() {
425
+ function vt() {
426
426
  return (e) => e;
427
427
  }
428
- J.OpaqueType = yt;
429
- J.HexString = yt();
430
- J.AddressString = yt();
431
- J.BigIntString = yt();
432
- function Oa(e) {
428
+ J.OpaqueType = vt;
429
+ J.HexString = vt();
430
+ J.AddressString = vt();
431
+ J.BigIntString = vt();
432
+ function Da(e) {
433
433
  return Math.floor(e);
434
434
  }
435
- J.IntNumber = Oa;
436
- J.RegExpString = yt();
435
+ J.IntNumber = Da;
436
+ J.RegExpString = vt();
437
437
  var M = {};
438
438
  Object.defineProperty(M, "__esModule", { value: !0 });
439
439
  M.areAddressArraysEqual = M.getFavicon = M.range = M.isBigNumber = M.ensureParsedJSONObject = M.ensureBigInt = M.ensureRegExpString = M.ensureIntNumber = M.ensureBuffer = M.ensureAddressString = M.ensureEvenLengthHexString = M.ensureHexString = M.isHexString = M.prepend0x = M.strip0x = M.has0xPrefix = M.hexStringFromIntNumber = M.intNumberFromHexString = M.bigIntStringFromBigInt = M.hexStringFromBuffer = M.hexStringToUint8Array = M.uint8ArrayToHex = M.randomBytesHex = void 0;
440
- const Fe = ye, ce = J, cs = /^[0-9]*$/, ls = /^[a-f0-9]*$/;
441
- function Da(e) {
442
- return us(crypto.getRandomValues(new Uint8Array(e)));
440
+ const $e = ye, ce = J, os = /^[0-9]*$/, cs = /^[a-f0-9]*$/;
441
+ function Oa(e) {
442
+ return ls(crypto.getRandomValues(new Uint8Array(e)));
443
443
  }
444
- M.randomBytesHex = Da;
445
- function us(e) {
444
+ M.randomBytesHex = Oa;
445
+ function ls(e) {
446
446
  return [...e].map((t) => t.toString(16).padStart(2, "0")).join("");
447
447
  }
448
- M.uint8ArrayToHex = us;
448
+ M.uint8ArrayToHex = ls;
449
449
  function Ba(e) {
450
450
  return new Uint8Array(e.match(/.{1,2}/g).map((t) => parseInt(t, 16)));
451
451
  }
@@ -460,98 +460,98 @@ function Wa(e) {
460
460
  }
461
461
  M.bigIntStringFromBigInt = Wa;
462
462
  function Ua(e) {
463
- return (0, ce.IntNumber)(Number(BigInt(mt(e, !0))));
463
+ return (0, ce.IntNumber)(Number(BigInt(wt(e, !0))));
464
464
  }
465
465
  M.intNumberFromHexString = Ua;
466
466
  function Ha(e) {
467
467
  return (0, ce.HexString)(`0x${BigInt(e).toString(16)}`);
468
468
  }
469
469
  M.hexStringFromIntNumber = Ha;
470
- function $n(e) {
470
+ function Hn(e) {
471
471
  return e.startsWith("0x") || e.startsWith("0X");
472
472
  }
473
- M.has0xPrefix = $n;
473
+ M.has0xPrefix = Hn;
474
474
  function Zt(e) {
475
- return $n(e) ? e.slice(2) : e;
475
+ return Hn(e) ? e.slice(2) : e;
476
476
  }
477
477
  M.strip0x = Zt;
478
- function ds(e) {
479
- return $n(e) ? `0x${e.slice(2)}` : `0x${e}`;
478
+ function us(e) {
479
+ return Hn(e) ? `0x${e.slice(2)}` : `0x${e}`;
480
480
  }
481
- M.prepend0x = ds;
482
- function vt(e) {
481
+ M.prepend0x = us;
482
+ function mt(e) {
483
483
  if (typeof e != "string")
484
484
  return !1;
485
485
  const t = Zt(e).toLowerCase();
486
- return ls.test(t);
486
+ return cs.test(t);
487
487
  }
488
- M.isHexString = vt;
489
- function hs(e, t = !1) {
488
+ M.isHexString = mt;
489
+ function ds(e, t = !1) {
490
490
  if (typeof e == "string") {
491
491
  const r = Zt(e).toLowerCase();
492
- if (ls.test(r))
492
+ if (cs.test(r))
493
493
  return (0, ce.HexString)(t ? `0x${r}` : r);
494
494
  }
495
- throw Fe.standardErrors.rpc.invalidParams(`"${String(e)}" is not a hexadecimal string`);
495
+ throw $e.standardErrors.rpc.invalidParams(`"${String(e)}" is not a hexadecimal string`);
496
496
  }
497
- M.ensureHexString = hs;
498
- function mt(e, t = !1) {
499
- let r = hs(e, !1);
497
+ M.ensureHexString = ds;
498
+ function wt(e, t = !1) {
499
+ let r = ds(e, !1);
500
500
  return r.length % 2 === 1 && (r = (0, ce.HexString)(`0${r}`)), t ? (0, ce.HexString)(`0x${r}`) : r;
501
501
  }
502
- M.ensureEvenLengthHexString = mt;
502
+ M.ensureEvenLengthHexString = wt;
503
503
  function $a(e) {
504
504
  if (typeof e == "string") {
505
505
  const t = Zt(e).toLowerCase();
506
- if (vt(t) && t.length === 40)
507
- return (0, ce.AddressString)(ds(t));
506
+ if (mt(t) && t.length === 40)
507
+ return (0, ce.AddressString)(us(t));
508
508
  }
509
- throw Fe.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(e)}`);
509
+ throw $e.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(e)}`);
510
510
  }
511
511
  M.ensureAddressString = $a;
512
512
  function Fa(e) {
513
513
  if (Buffer.isBuffer(e))
514
514
  return e;
515
515
  if (typeof e == "string") {
516
- if (vt(e)) {
517
- const t = mt(e, !1);
516
+ if (mt(e)) {
517
+ const t = wt(e, !1);
518
518
  return Buffer.from(t, "hex");
519
519
  }
520
520
  return Buffer.from(e, "utf8");
521
521
  }
522
- throw Fe.standardErrors.rpc.invalidParams(`Not binary data: ${String(e)}`);
522
+ throw $e.standardErrors.rpc.invalidParams(`Not binary data: ${String(e)}`);
523
523
  }
524
524
  M.ensureBuffer = Fa;
525
- function fs(e) {
525
+ function hs(e) {
526
526
  if (typeof e == "number" && Number.isInteger(e))
527
527
  return (0, ce.IntNumber)(e);
528
528
  if (typeof e == "string") {
529
- if (cs.test(e))
529
+ if (os.test(e))
530
530
  return (0, ce.IntNumber)(Number(e));
531
- if (vt(e))
532
- return (0, ce.IntNumber)(Number(BigInt(mt(e, !0))));
531
+ if (mt(e))
532
+ return (0, ce.IntNumber)(Number(BigInt(wt(e, !0))));
533
533
  }
534
- throw Fe.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`);
534
+ throw $e.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`);
535
535
  }
536
- M.ensureIntNumber = fs;
536
+ M.ensureIntNumber = hs;
537
537
  function qa(e) {
538
538
  if (e instanceof RegExp)
539
539
  return (0, ce.RegExpString)(e.toString());
540
- throw Fe.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(e)}`);
540
+ throw $e.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(e)}`);
541
541
  }
542
542
  M.ensureRegExpString = qa;
543
543
  function Ka(e) {
544
- if (e !== null && (typeof e == "bigint" || _s(e)))
544
+ if (e !== null && (typeof e == "bigint" || fs(e)))
545
545
  return BigInt(e.toString(10));
546
546
  if (typeof e == "number")
547
- return BigInt(fs(e));
547
+ return BigInt(hs(e));
548
548
  if (typeof e == "string") {
549
- if (cs.test(e))
549
+ if (os.test(e))
550
550
  return BigInt(e);
551
- if (vt(e))
552
- return BigInt(mt(e, !0));
551
+ if (mt(e))
552
+ return BigInt(wt(e, !0));
553
553
  }
554
- throw Fe.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`);
554
+ throw $e.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`);
555
555
  }
556
556
  M.ensureBigInt = Ka;
557
557
  function za(e) {
@@ -559,16 +559,16 @@ function za(e) {
559
559
  return JSON.parse(e);
560
560
  if (typeof e == "object")
561
561
  return e;
562
- throw Fe.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(e)}`);
562
+ throw $e.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(e)}`);
563
563
  }
564
564
  M.ensureParsedJSONObject = za;
565
- function _s(e) {
565
+ function fs(e) {
566
566
  if (e == null || typeof e.constructor != "function")
567
567
  return !1;
568
568
  const { constructor: t } = e;
569
569
  return typeof t.config == "function" && typeof t.EUCLID == "number";
570
570
  }
571
- M.isBigNumber = _s;
571
+ M.isBigNumber = fs;
572
572
  function Va(e, t) {
573
573
  return Array.from({ length: t - e }, (r, n) => e + n);
574
574
  }
@@ -585,7 +585,7 @@ M.areAddressArraysEqual = Za;
585
585
  var pe = {}, Yt = {}, Jt = {}, z = {};
586
586
  Object.defineProperty(z, "__esModule", { value: !0 });
587
587
  z.decryptContent = z.encryptContent = z.importKeyFromHexString = z.exportKeyToHexString = z.decrypt = z.encrypt = z.deriveSharedSecret = z.generateKeyPair = void 0;
588
- const ps = M;
588
+ const _s = M;
589
589
  async function Ya() {
590
590
  return crypto.subtle.generateKey({
591
591
  name: "ECDH",
@@ -603,23 +603,23 @@ async function Ja(e, t) {
603
603
  }, !1, ["encrypt", "decrypt"]);
604
604
  }
605
605
  z.deriveSharedSecret = Ja;
606
- async function gs(e, t) {
606
+ async function ps(e, t) {
607
607
  const r = crypto.getRandomValues(new Uint8Array(12)), n = await crypto.subtle.encrypt({
608
608
  name: "AES-GCM",
609
609
  iv: r
610
610
  }, e, new TextEncoder().encode(t));
611
611
  return { iv: r, cipherText: n };
612
612
  }
613
- z.encrypt = gs;
614
- async function bs(e, { iv: t, cipherText: r }) {
613
+ z.encrypt = ps;
614
+ async function gs(e, { iv: t, cipherText: r }) {
615
615
  const n = await crypto.subtle.decrypt({
616
616
  name: "AES-GCM",
617
617
  iv: t
618
618
  }, e, r);
619
619
  return new TextDecoder().decode(n);
620
620
  }
621
- z.decrypt = bs;
622
- function ys(e) {
621
+ z.decrypt = gs;
622
+ function bs(e) {
623
623
  switch (e) {
624
624
  case "public":
625
625
  return "spki";
@@ -628,12 +628,12 @@ function ys(e) {
628
628
  }
629
629
  }
630
630
  async function Qa(e, t) {
631
- const r = ys(e), n = await crypto.subtle.exportKey(r, t);
632
- return (0, ps.uint8ArrayToHex)(new Uint8Array(n));
631
+ const r = bs(e), n = await crypto.subtle.exportKey(r, t);
632
+ return (0, _s.uint8ArrayToHex)(new Uint8Array(n));
633
633
  }
634
634
  z.exportKeyToHexString = Qa;
635
635
  async function Xa(e, t) {
636
- const r = ys(e), n = (0, ps.hexStringToUint8Array)(t).buffer;
636
+ const r = bs(e), n = (0, _s.hexStringToUint8Array)(t).buffer;
637
637
  return await crypto.subtle.importKey(r, n, {
638
638
  name: "ECDH",
639
639
  namedCurve: "P-256"
@@ -647,11 +647,11 @@ async function eo(e, t) {
647
647
  const s = i;
648
648
  return Object.assign(Object.assign({}, s.code ? { code: s.code } : {}), { message: s.message });
649
649
  });
650
- return gs(t, r);
650
+ return ps(t, r);
651
651
  }
652
652
  z.encryptContent = eo;
653
653
  async function to(e, t) {
654
- return JSON.parse(await bs(t, e));
654
+ return JSON.parse(await gs(t, e));
655
655
  }
656
656
  z.decryptContent = to;
657
657
  var ve = {};
@@ -740,7 +740,7 @@ Jt.SCWKeyManager = no;
740
740
  var Qt = {};
741
741
  Object.defineProperty(Qt, "__esModule", { value: !0 });
742
742
  Qt.SCWStateManager = void 0;
743
- const io = ve, ei = "accounts", ti = "activeChain", ri = "availableChains", ni = "walletCapabilities";
743
+ const io = ve, Xn = "accounts", ei = "activeChain", ti = "availableChains", ri = "walletCapabilities";
744
744
  class so {
745
745
  get accounts() {
746
746
  return this._accounts;
@@ -753,8 +753,8 @@ class so {
753
753
  }
754
754
  constructor(t) {
755
755
  var r, n;
756
- this.storage = new io.ScopedLocalStorage("CBWSDK", "SCWStateManager"), this.updateListener = t.updateListener, this.availableChains = this.loadItemFromStorage(ri), this._walletCapabilities = this.loadItemFromStorage(ni);
757
- const i = this.loadItemFromStorage(ei), s = this.loadItemFromStorage(ti);
756
+ this.storage = new io.ScopedLocalStorage("CBWSDK", "SCWStateManager"), this.updateListener = t.updateListener, this.availableChains = this.loadItemFromStorage(ti), this._walletCapabilities = this.loadItemFromStorage(ri);
757
+ const i = this.loadItemFromStorage(Xn), s = this.loadItemFromStorage(ei);
758
758
  i && this.updateListener.onAccountsUpdate({
759
759
  accounts: i,
760
760
  source: "storage"
@@ -764,7 +764,7 @@ class so {
764
764
  }), this._accounts = i || [], this._activeChain = s || { id: (n = (r = t.appChainIds) === null || r === void 0 ? void 0 : r[0]) !== null && n !== void 0 ? n : 1 };
765
765
  }
766
766
  updateAccounts(t) {
767
- this._accounts = t, this.storeItemToStorage(ei, t), this.updateListener.onAccountsUpdate({
767
+ this._accounts = t, this.storeItemToStorage(Xn, t), this.updateListener.onAccountsUpdate({
768
768
  accounts: t,
769
769
  source: "wallet"
770
770
  });
@@ -772,7 +772,7 @@ class so {
772
772
  switchChain(t) {
773
773
  var r;
774
774
  const n = (r = this.availableChains) === null || r === void 0 ? void 0 : r.find((i) => i.id === t);
775
- return n ? (n === this._activeChain || (this._activeChain = n, this.storeItemToStorage(ti, n), this.updateListener.onChainUpdate({
775
+ return n ? (n === this._activeChain || (this._activeChain = n, this.storeItemToStorage(ei, n), this.updateListener.onChainUpdate({
776
776
  chain: n,
777
777
  source: "wallet"
778
778
  })), !0) : !1;
@@ -781,10 +781,10 @@ class so {
781
781
  if (!t || Object.keys(t).length === 0)
782
782
  return;
783
783
  const r = Object.entries(t).map(([n, i]) => ({ id: Number(n), rpcUrl: i }));
784
- this.availableChains = r, this.storeItemToStorage(ri, r), this.switchChain(this._activeChain.id);
784
+ this.availableChains = r, this.storeItemToStorage(ti, r), this.switchChain(this._activeChain.id);
785
785
  }
786
786
  updateWalletCapabilities(t) {
787
- this._walletCapabilities = t, this.storeItemToStorage(ni, t);
787
+ this._walletCapabilities = t, this.storeItemToStorage(ri, t);
788
788
  }
789
789
  storeItemToStorage(t, r) {
790
790
  this.storage.setItem(t, JSON.stringify(r));
@@ -800,7 +800,7 @@ class so {
800
800
  Qt.SCWStateManager = so;
801
801
  Object.defineProperty(Yt, "__esModule", { value: !0 });
802
802
  Yt.SCWSigner = void 0;
803
- const ao = Jt, oo = Qt, Lt = ye, ii = M, Tt = z;
803
+ const ao = Jt, oo = Qt, Lt = ye, ni = M, Tt = z;
804
804
  class co {
805
805
  constructor(t) {
806
806
  this.metadata = t.metadata, this.communicator = t.communicator, this.keyManager = new ao.SCWKeyManager(), this.stateManager = new oo.SCWStateManager({
@@ -851,7 +851,7 @@ class co {
851
851
  const n = t.params;
852
852
  if (!n || !(!((r = n[0]) === null || r === void 0) && r.chainId))
853
853
  throw Lt.standardErrors.rpc.invalidParams();
854
- const i = (0, ii.ensureIntNumber)(n[0].chainId);
854
+ const i = (0, ni.ensureIntNumber)(n[0].chainId);
855
855
  return this.stateManager.switchChain(i) ? null : void 0;
856
856
  }
857
857
  case "wallet_getCapabilities": {
@@ -909,7 +909,7 @@ class co {
909
909
  case "wallet_switchEthereumChain": {
910
910
  if (o.value !== null)
911
911
  return;
912
- const c = t.params, d = (0, ii.ensureIntNumber)(c[0].chainId);
912
+ const c = t.params, d = (0, ni.ensureIntNumber)(c[0].chainId);
913
913
  this.stateManager.switchChain(d);
914
914
  break;
915
915
  }
@@ -917,10 +917,10 @@ class co {
917
917
  }
918
918
  }
919
919
  Yt.SCWSigner = co;
920
- var Xt = {}, An = { exports: {} }, vs = es.EventEmitter, gn, si;
920
+ var Xt = {}, An = { exports: {} }, ys = Xi.EventEmitter, gn, ii;
921
921
  function lo() {
922
- if (si) return gn;
923
- si = 1;
922
+ if (ii) return gn;
923
+ ii = 1;
924
924
  function e(w, k) {
925
925
  var m = Object.keys(w);
926
926
  if (Object.getOwnPropertySymbols) {
@@ -972,8 +972,8 @@ function lo() {
972
972
  }
973
973
  return (k === "string" ? String : Number)(w);
974
974
  }
975
- var c = qt, d = c.Buffer, p = ts, h = p.inspect, _ = h && h.custom || "inspect";
976
- function g(w, k, m) {
975
+ var c = qt, d = c.Buffer, p = es, h = p.inspect, _ = h && h.custom || "inspect";
976
+ function y(w, k, m) {
977
977
  d.prototype.copy.call(w, k, m);
978
978
  }
979
979
  return gn = /* @__PURE__ */ function() {
@@ -1023,7 +1023,7 @@ function lo() {
1023
1023
  value: function(m) {
1024
1024
  if (this.length === 0) return d.alloc(0);
1025
1025
  for (var f = d.allocUnsafe(m >>> 0), v = this.head, E = 0; v; )
1026
- g(v.data, f, E), E += v.data.length, v = v.next;
1026
+ y(v.data, f, E), E += v.data.length, v = v.next;
1027
1027
  return f;
1028
1028
  }
1029
1029
  // Consumes a specified amount of bytes or characters from the buffered data.
@@ -1085,10 +1085,10 @@ function lo() {
1085
1085
  function uo(e, t) {
1086
1086
  var r = this, n = this._readableState && this._readableState.destroyed, i = this._writableState && this._writableState.destroyed;
1087
1087
  return n || i ? (t ? t(e) : e && (this._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, process.nextTick(Ln, this, e)) : process.nextTick(Ln, this, e)), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(e || null, function(s) {
1088
- !t && s ? r._writableState ? r._writableState.errorEmitted ? process.nextTick(jt, r) : (r._writableState.errorEmitted = !0, process.nextTick(ai, r, s)) : process.nextTick(ai, r, s) : t ? (process.nextTick(jt, r), t(s)) : process.nextTick(jt, r);
1088
+ !t && s ? r._writableState ? r._writableState.errorEmitted ? process.nextTick(jt, r) : (r._writableState.errorEmitted = !0, process.nextTick(si, r, s)) : process.nextTick(si, r, s) : t ? (process.nextTick(jt, r), t(s)) : process.nextTick(jt, r);
1089
1089
  }), this);
1090
1090
  }
1091
- function ai(e, t) {
1091
+ function si(e, t) {
1092
1092
  Ln(e, t), jt(e);
1093
1093
  }
1094
1094
  function jt(e) {
@@ -1104,15 +1104,15 @@ function fo(e, t) {
1104
1104
  var r = e._readableState, n = e._writableState;
1105
1105
  r && r.autoDestroy || n && n.autoDestroy ? e.destroy(t) : e.emit("error", t);
1106
1106
  }
1107
- var ms = {
1107
+ var vs = {
1108
1108
  destroy: uo,
1109
1109
  undestroy: ho,
1110
1110
  errorOrDestroy: fo
1111
- }, qe = {};
1111
+ }, Fe = {};
1112
1112
  function _o(e, t) {
1113
1113
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
1114
1114
  }
1115
- var ws = {};
1115
+ var ms = {};
1116
1116
  function le(e, t, r) {
1117
1117
  r || (r = Error);
1118
1118
  function n(s, a, o) {
@@ -1125,9 +1125,9 @@ function le(e, t, r) {
1125
1125
  }
1126
1126
  return a;
1127
1127
  }(r);
1128
- i.prototype.name = r.name, i.prototype.code = e, ws[e] = i;
1128
+ i.prototype.name = r.name, i.prototype.code = e, ms[e] = i;
1129
1129
  }
1130
- function oi(e, t) {
1130
+ function ai(e, t) {
1131
1131
  if (Array.isArray(e)) {
1132
1132
  var r = e.length;
1133
1133
  return e = e.map(function(n) {
@@ -1153,10 +1153,10 @@ le("ERR_INVALID_ARG_TYPE", function(e, t, r) {
1153
1153
  typeof t == "string" && po(t, "not ") ? (n = "must not be", t = t.replace(/^not /, "")) : n = "must be";
1154
1154
  var i;
1155
1155
  if (go(e, " argument"))
1156
- i = "The ".concat(e, " ").concat(n, " ").concat(oi(t, "type"));
1156
+ i = "The ".concat(e, " ").concat(n, " ").concat(ai(t, "type"));
1157
1157
  else {
1158
1158
  var s = bo(e, ".") ? "property" : "argument";
1159
- i = 'The "'.concat(e, '" ').concat(s, " ").concat(n, " ").concat(oi(t, "type"));
1159
+ i = 'The "'.concat(e, '" ').concat(s, " ").concat(n, " ").concat(ai(t, "type"));
1160
1160
  }
1161
1161
  return i += ". Received type ".concat(typeof r), i;
1162
1162
  }, TypeError);
@@ -1176,8 +1176,8 @@ le("ERR_UNKNOWN_ENCODING", function(e) {
1176
1176
  return "Unknown encoding: " + e;
1177
1177
  }, TypeError);
1178
1178
  le("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event");
1179
- qe.codes = ws;
1180
- var yo = qe.codes.ERR_INVALID_OPT_VALUE;
1179
+ Fe.codes = ms;
1180
+ var yo = Fe.codes.ERR_INVALID_OPT_VALUE;
1181
1181
  function vo(e, t, r) {
1182
1182
  return e.highWaterMark != null ? e.highWaterMark : t ? e[r] : null;
1183
1183
  }
@@ -1192,7 +1192,7 @@ function mo(e, t, r, n) {
1192
1192
  }
1193
1193
  return e.objectMode ? 16 : 16 * 1024;
1194
1194
  }
1195
- var Es = {
1195
+ var ws = {
1196
1196
  getHighWaterMark: mo
1197
1197
  }, wo = Eo;
1198
1198
  function Eo(e, t) {
@@ -1218,42 +1218,42 @@ function bn(e) {
1218
1218
  var t = Z.localStorage[e];
1219
1219
  return t == null ? !1 : String(t).toLowerCase() === "true";
1220
1220
  }
1221
- var yn, ci;
1222
- function Ss() {
1223
- if (ci) return yn;
1224
- ci = 1, yn = P;
1225
- function e(y) {
1226
- var b = this;
1221
+ var yn, oi;
1222
+ function Es() {
1223
+ if (oi) return yn;
1224
+ oi = 1, yn = P;
1225
+ function e(b) {
1226
+ var g = this;
1227
1227
  this.next = null, this.entry = null, this.finish = function() {
1228
- Ce(b, y);
1228
+ Ce(g, b);
1229
1229
  };
1230
1230
  }
1231
1231
  var t;
1232
1232
  P.WritableState = A;
1233
1233
  var r = {
1234
1234
  deprecate: wo
1235
- }, n = vs, i = qt.Buffer, s = (typeof Z < "u" ? Z : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
1235
+ }, n = ys, i = qt.Buffer, s = (typeof Z < "u" ? Z : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
1236
1236
  };
1237
- function a(y) {
1238
- return i.from(y);
1237
+ function a(b) {
1238
+ return i.from(b);
1239
1239
  }
1240
- function o(y) {
1241
- return i.isBuffer(y) || y instanceof s;
1240
+ function o(b) {
1241
+ return i.isBuffer(b) || b instanceof s;
1242
1242
  }
1243
- var c = ms, d = Es, p = d.getHighWaterMark, h = qe.codes, _ = h.ERR_INVALID_ARG_TYPE, g = h.ERR_METHOD_NOT_IMPLEMENTED, w = h.ERR_MULTIPLE_CALLBACK, k = h.ERR_STREAM_CANNOT_PIPE, m = h.ERR_STREAM_DESTROYED, f = h.ERR_STREAM_NULL_VALUES, v = h.ERR_STREAM_WRITE_AFTER_END, E = h.ERR_UNKNOWN_ENCODING, S = c.errorOrDestroy;
1243
+ var c = vs, d = ws, p = d.getHighWaterMark, h = Fe.codes, _ = h.ERR_INVALID_ARG_TYPE, y = h.ERR_METHOD_NOT_IMPLEMENTED, w = h.ERR_MULTIPLE_CALLBACK, k = h.ERR_STREAM_CANNOT_PIPE, m = h.ERR_STREAM_DESTROYED, f = h.ERR_STREAM_NULL_VALUES, v = h.ERR_STREAM_WRITE_AFTER_END, E = h.ERR_UNKNOWN_ENCODING, S = c.errorOrDestroy;
1244
1244
  de()(P, n);
1245
1245
  function R() {
1246
1246
  }
1247
- function A(y, b, x) {
1248
- t = t || rt(), y = y || {}, typeof x != "boolean" && (x = b instanceof t), this.objectMode = !!y.objectMode, x && (this.objectMode = this.objectMode || !!y.writableObjectMode), this.highWaterMark = p(this, y, "writableHighWaterMark", x), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
1249
- var L = y.decodeStrings === !1;
1250
- this.decodeStrings = !L, this.defaultEncoding = y.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(O) {
1251
- Pe(b, O);
1252
- }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = y.emitClose !== !1, this.autoDestroy = !!y.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new e(this);
1247
+ function A(b, g, x) {
1248
+ t = t || tt(), b = b || {}, typeof x != "boolean" && (x = g instanceof t), this.objectMode = !!b.objectMode, x && (this.objectMode = this.objectMode || !!b.writableObjectMode), this.highWaterMark = p(this, b, "writableHighWaterMark", x), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
1249
+ var L = b.decodeStrings === !1;
1250
+ this.decodeStrings = !L, this.defaultEncoding = b.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(D) {
1251
+ Pe(g, D);
1252
+ }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = b.emitClose !== !1, this.autoDestroy = !!b.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new e(this);
1253
1253
  }
1254
1254
  A.prototype.getBuffer = function() {
1255
- for (var b = this.bufferedRequest, x = []; b; )
1256
- x.push(b), b = b.next;
1255
+ for (var g = this.bufferedRequest, x = []; g; )
1256
+ x.push(g), g = g.next;
1257
1257
  return x;
1258
1258
  }, function() {
1259
1259
  try {
@@ -1267,40 +1267,40 @@ function Ss() {
1267
1267
  }();
1268
1268
  var j;
1269
1269
  typeof Symbol == "function" && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] == "function" ? (j = Function.prototype[Symbol.hasInstance], Object.defineProperty(P, Symbol.hasInstance, {
1270
- value: function(b) {
1271
- return j.call(this, b) ? !0 : this !== P ? !1 : b && b._writableState instanceof A;
1270
+ value: function(g) {
1271
+ return j.call(this, g) ? !0 : this !== P ? !1 : g && g._writableState instanceof A;
1272
1272
  }
1273
- })) : j = function(b) {
1274
- return b instanceof this;
1273
+ })) : j = function(g) {
1274
+ return g instanceof this;
1275
1275
  };
1276
- function P(y) {
1277
- t = t || rt();
1278
- var b = this instanceof t;
1279
- if (!b && !j.call(P, this)) return new P(y);
1280
- this._writableState = new A(y, this, b), this.writable = !0, y && (typeof y.write == "function" && (this._write = y.write), typeof y.writev == "function" && (this._writev = y.writev), typeof y.destroy == "function" && (this._destroy = y.destroy), typeof y.final == "function" && (this._final = y.final)), n.call(this);
1276
+ function P(b) {
1277
+ t = t || tt();
1278
+ var g = this instanceof t;
1279
+ if (!g && !j.call(P, this)) return new P(b);
1280
+ this._writableState = new A(b, this, g), this.writable = !0, b && (typeof b.write == "function" && (this._write = b.write), typeof b.writev == "function" && (this._writev = b.writev), typeof b.destroy == "function" && (this._destroy = b.destroy), typeof b.final == "function" && (this._final = b.final)), n.call(this);
1281
1281
  }
1282
1282
  P.prototype.pipe = function() {
1283
1283
  S(this, new k());
1284
1284
  };
1285
- function T(y, b) {
1285
+ function T(b, g) {
1286
1286
  var x = new v();
1287
- S(y, x), process.nextTick(b, x);
1287
+ S(b, x), process.nextTick(g, x);
1288
1288
  }
1289
- function U(y, b, x, L) {
1290
- var O;
1291
- return x === null ? O = new f() : typeof x != "string" && !b.objectMode && (O = new _("chunk", ["string", "Buffer"], x)), O ? (S(y, O), process.nextTick(L, O), !1) : !0;
1289
+ function H(b, g, x, L) {
1290
+ var D;
1291
+ return x === null ? D = new f() : typeof x != "string" && !g.objectMode && (D = new _("chunk", ["string", "Buffer"], x)), D ? (S(b, D), process.nextTick(L, D), !1) : !0;
1292
1292
  }
1293
- P.prototype.write = function(y, b, x) {
1294
- var L = this._writableState, O = !1, l = !L.objectMode && o(y);
1295
- return l && !i.isBuffer(y) && (y = a(y)), typeof b == "function" && (x = b, b = null), l ? b = "buffer" : b || (b = L.defaultEncoding), typeof x != "function" && (x = R), L.ending ? T(this, x) : (l || U(this, L, y, x)) && (L.pendingcb++, O = me(this, L, l, y, b, x)), O;
1293
+ P.prototype.write = function(b, g, x) {
1294
+ var L = this._writableState, D = !1, l = !L.objectMode && o(b);
1295
+ return l && !i.isBuffer(b) && (b = a(b)), typeof g == "function" && (x = g, g = null), l ? g = "buffer" : g || (g = L.defaultEncoding), typeof x != "function" && (x = R), L.ending ? T(this, x) : (l || H(this, L, b, x)) && (L.pendingcb++, D = me(this, L, l, b, g, x)), D;
1296
1296
  }, P.prototype.cork = function() {
1297
1297
  this._writableState.corked++;
1298
1298
  }, P.prototype.uncork = function() {
1299
- var y = this._writableState;
1300
- y.corked && (y.corked--, !y.writing && !y.corked && !y.bufferProcessing && y.bufferedRequest && se(this, y));
1301
- }, P.prototype.setDefaultEncoding = function(b) {
1302
- if (typeof b == "string" && (b = b.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((b + "").toLowerCase()) > -1)) throw new E(b);
1303
- return this._writableState.defaultEncoding = b, this;
1299
+ var b = this._writableState;
1300
+ b.corked && (b.corked--, !b.writing && !b.corked && !b.bufferProcessing && b.bufferedRequest && se(this, b));
1301
+ }, P.prototype.setDefaultEncoding = function(g) {
1302
+ if (typeof g == "string" && (g = g.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((g + "").toLowerCase()) > -1)) throw new E(g);
1303
+ return this._writableState.defaultEncoding = g, this;
1304
1304
  }, Object.defineProperty(P.prototype, "writableBuffer", {
1305
1305
  // making it explicit this property is not enumerable
1306
1306
  // because otherwise some prototype manipulation in
@@ -1310,8 +1310,8 @@ function Ss() {
1310
1310
  return this._writableState && this._writableState.getBuffer();
1311
1311
  }
1312
1312
  });
1313
- function Q(y, b, x) {
1314
- return !y.objectMode && y.decodeStrings !== !1 && typeof b == "string" && (b = i.from(b, x)), b;
1313
+ function Q(b, g, x) {
1314
+ return !b.objectMode && b.decodeStrings !== !1 && typeof g == "string" && (g = i.from(g, x)), g;
1315
1315
  }
1316
1316
  Object.defineProperty(P.prototype, "writableHighWaterMark", {
1317
1317
  // making it explicit this property is not enumerable
@@ -1322,75 +1322,75 @@ function Ss() {
1322
1322
  return this._writableState.highWaterMark;
1323
1323
  }
1324
1324
  });
1325
- function me(y, b, x, L, O, l) {
1325
+ function me(b, g, x, L, D, l) {
1326
1326
  if (!x) {
1327
- var u = Q(b, L, O);
1328
- L !== u && (x = !0, O = "buffer", L = u);
1327
+ var u = Q(g, L, D);
1328
+ L !== u && (x = !0, D = "buffer", L = u);
1329
1329
  }
1330
- var C = b.objectMode ? 1 : L.length;
1331
- b.length += C;
1332
- var I = b.length < b.highWaterMark;
1333
- if (I || (b.needDrain = !0), b.writing || b.corked) {
1334
- var H = b.lastBufferedRequest;
1335
- b.lastBufferedRequest = {
1330
+ var C = g.objectMode ? 1 : L.length;
1331
+ g.length += C;
1332
+ var I = g.length < g.highWaterMark;
1333
+ if (I || (g.needDrain = !0), g.writing || g.corked) {
1334
+ var $ = g.lastBufferedRequest;
1335
+ g.lastBufferedRequest = {
1336
1336
  chunk: L,
1337
- encoding: O,
1337
+ encoding: D,
1338
1338
  isBuf: x,
1339
1339
  callback: l,
1340
1340
  next: null
1341
- }, H ? H.next = b.lastBufferedRequest : b.bufferedRequest = b.lastBufferedRequest, b.bufferedRequestCount += 1;
1341
+ }, $ ? $.next = g.lastBufferedRequest : g.bufferedRequest = g.lastBufferedRequest, g.bufferedRequestCount += 1;
1342
1342
  } else
1343
- q(y, b, !1, C, L, O, l);
1343
+ q(b, g, !1, C, L, D, l);
1344
1344
  return I;
1345
1345
  }
1346
- function q(y, b, x, L, O, l, u) {
1347
- b.writelen = L, b.writecb = u, b.writing = !0, b.sync = !0, b.destroyed ? b.onwrite(new m("write")) : x ? y._writev(O, b.onwrite) : y._write(O, l, b.onwrite), b.sync = !1;
1346
+ function q(b, g, x, L, D, l, u) {
1347
+ g.writelen = L, g.writecb = u, g.writing = !0, g.sync = !0, g.destroyed ? g.onwrite(new m("write")) : x ? b._writev(D, g.onwrite) : b._write(D, l, g.onwrite), g.sync = !1;
1348
1348
  }
1349
- function ee(y, b, x, L, O) {
1350
- --b.pendingcb, x ? (process.nextTick(O, L), process.nextTick(re, y, b), y._writableState.errorEmitted = !0, S(y, L)) : (O(L), y._writableState.errorEmitted = !0, S(y, L), re(y, b));
1349
+ function ee(b, g, x, L, D) {
1350
+ --g.pendingcb, x ? (process.nextTick(D, L), process.nextTick(re, b, g), b._writableState.errorEmitted = !0, S(b, L)) : (D(L), b._writableState.errorEmitted = !0, S(b, L), re(b, g));
1351
1351
  }
1352
- function te(y) {
1353
- y.writing = !1, y.writecb = null, y.length -= y.writelen, y.writelen = 0;
1352
+ function te(b) {
1353
+ b.writing = !1, b.writecb = null, b.length -= b.writelen, b.writelen = 0;
1354
1354
  }
1355
- function Pe(y, b) {
1356
- var x = y._writableState, L = x.sync, O = x.writecb;
1357
- if (typeof O != "function") throw new w();
1358
- if (te(x), b) ee(y, x, L, b, O);
1355
+ function Pe(b, g) {
1356
+ var x = b._writableState, L = x.sync, D = x.writecb;
1357
+ if (typeof D != "function") throw new w();
1358
+ if (te(x), g) ee(b, x, L, g, D);
1359
1359
  else {
1360
- var l = Ee(x) || y.destroyed;
1361
- !l && !x.corked && !x.bufferProcessing && x.bufferedRequest && se(y, x), L ? process.nextTick(ie, y, x, l, O) : ie(y, x, l, O);
1360
+ var l = Ee(x) || b.destroyed;
1361
+ !l && !x.corked && !x.bufferProcessing && x.bufferedRequest && se(b, x), L ? process.nextTick(ie, b, x, l, D) : ie(b, x, l, D);
1362
1362
  }
1363
1363
  }
1364
- function ie(y, b, x, L) {
1365
- x || we(y, b), b.pendingcb--, L(), re(y, b);
1364
+ function ie(b, g, x, L) {
1365
+ x || we(b, g), g.pendingcb--, L(), re(b, g);
1366
1366
  }
1367
- function we(y, b) {
1368
- b.length === 0 && b.needDrain && (b.needDrain = !1, y.emit("drain"));
1367
+ function we(b, g) {
1368
+ g.length === 0 && g.needDrain && (g.needDrain = !1, b.emit("drain"));
1369
1369
  }
1370
- function se(y, b) {
1371
- b.bufferProcessing = !0;
1372
- var x = b.bufferedRequest;
1373
- if (y._writev && x && x.next) {
1374
- var L = b.bufferedRequestCount, O = new Array(L), l = b.corkedRequestsFree;
1370
+ function se(b, g) {
1371
+ g.bufferProcessing = !0;
1372
+ var x = g.bufferedRequest;
1373
+ if (b._writev && x && x.next) {
1374
+ var L = g.bufferedRequestCount, D = new Array(L), l = g.corkedRequestsFree;
1375
1375
  l.entry = x;
1376
1376
  for (var u = 0, C = !0; x; )
1377
- O[u] = x, x.isBuf || (C = !1), x = x.next, u += 1;
1378
- O.allBuffers = C, q(y, b, !0, b.length, O, "", l.finish), b.pendingcb++, b.lastBufferedRequest = null, l.next ? (b.corkedRequestsFree = l.next, l.next = null) : b.corkedRequestsFree = new e(b), b.bufferedRequestCount = 0;
1377
+ D[u] = x, x.isBuf || (C = !1), x = x.next, u += 1;
1378
+ D.allBuffers = C, q(b, g, !0, g.length, D, "", l.finish), g.pendingcb++, g.lastBufferedRequest = null, l.next ? (g.corkedRequestsFree = l.next, l.next = null) : g.corkedRequestsFree = new e(g), g.bufferedRequestCount = 0;
1379
1379
  } else {
1380
1380
  for (; x; ) {
1381
- var I = x.chunk, H = x.encoding, N = x.callback, B = b.objectMode ? 1 : I.length;
1382
- if (q(y, b, !1, B, I, H, N), x = x.next, b.bufferedRequestCount--, b.writing)
1381
+ var I = x.chunk, $ = x.encoding, N = x.callback, B = g.objectMode ? 1 : I.length;
1382
+ if (q(b, g, !1, B, I, $, N), x = x.next, g.bufferedRequestCount--, g.writing)
1383
1383
  break;
1384
1384
  }
1385
- x === null && (b.lastBufferedRequest = null);
1385
+ x === null && (g.lastBufferedRequest = null);
1386
1386
  }
1387
- b.bufferedRequest = x, b.bufferProcessing = !1;
1387
+ g.bufferedRequest = x, g.bufferProcessing = !1;
1388
1388
  }
1389
- P.prototype._write = function(y, b, x) {
1390
- x(new g("_write()"));
1391
- }, P.prototype._writev = null, P.prototype.end = function(y, b, x) {
1389
+ P.prototype._write = function(b, g, x) {
1390
+ x(new y("_write()"));
1391
+ }, P.prototype._writev = null, P.prototype.end = function(b, g, x) {
1392
1392
  var L = this._writableState;
1393
- return typeof y == "function" ? (x = y, y = null, b = null) : typeof b == "function" && (x = b, b = null), y != null && this.write(y, b), L.corked && (L.corked = 1, this.uncork()), L.ending || Oe(this, L, x), this;
1393
+ return typeof b == "function" ? (x = b, b = null, g = null) : typeof g == "function" && (x = g, g = null), b != null && this.write(b, g), L.corked && (L.corked = 1, this.uncork()), L.ending || De(this, L, x), this;
1394
1394
  }, Object.defineProperty(P.prototype, "writableLength", {
1395
1395
  // making it explicit this property is not enumerable
1396
1396
  // because otherwise some prototype manipulation in
@@ -1400,35 +1400,35 @@ function Ss() {
1400
1400
  return this._writableState.length;
1401
1401
  }
1402
1402
  });
1403
- function Ee(y) {
1404
- return y.ending && y.length === 0 && y.bufferedRequest === null && !y.finished && !y.writing;
1403
+ function Ee(b) {
1404
+ return b.ending && b.length === 0 && b.bufferedRequest === null && !b.finished && !b.writing;
1405
1405
  }
1406
- function Ne(y, b) {
1407
- y._final(function(x) {
1408
- b.pendingcb--, x && S(y, x), b.prefinished = !0, y.emit("prefinish"), re(y, b);
1406
+ function Ne(b, g) {
1407
+ b._final(function(x) {
1408
+ g.pendingcb--, x && S(b, x), g.prefinished = !0, b.emit("prefinish"), re(b, g);
1409
1409
  });
1410
1410
  }
1411
- function Se(y, b) {
1412
- !b.prefinished && !b.finalCalled && (typeof y._final == "function" && !b.destroyed ? (b.pendingcb++, b.finalCalled = !0, process.nextTick(Ne, y, b)) : (b.prefinished = !0, y.emit("prefinish")));
1411
+ function Se(b, g) {
1412
+ !g.prefinished && !g.finalCalled && (typeof b._final == "function" && !g.destroyed ? (g.pendingcb++, g.finalCalled = !0, process.nextTick(Ne, b, g)) : (g.prefinished = !0, b.emit("prefinish")));
1413
1413
  }
1414
- function re(y, b) {
1415
- var x = Ee(b);
1416
- if (x && (Se(y, b), b.pendingcb === 0 && (b.finished = !0, y.emit("finish"), b.autoDestroy))) {
1417
- var L = y._readableState;
1418
- (!L || L.autoDestroy && L.endEmitted) && y.destroy();
1414
+ function re(b, g) {
1415
+ var x = Ee(g);
1416
+ if (x && (Se(b, g), g.pendingcb === 0 && (g.finished = !0, b.emit("finish"), g.autoDestroy))) {
1417
+ var L = b._readableState;
1418
+ (!L || L.autoDestroy && L.endEmitted) && b.destroy();
1419
1419
  }
1420
1420
  return x;
1421
1421
  }
1422
- function Oe(y, b, x) {
1423
- b.ending = !0, re(y, b), x && (b.finished ? process.nextTick(x) : y.once("finish", x)), b.ended = !0, y.writable = !1;
1422
+ function De(b, g, x) {
1423
+ g.ending = !0, re(b, g), x && (g.finished ? process.nextTick(x) : b.once("finish", x)), g.ended = !0, b.writable = !1;
1424
1424
  }
1425
- function Ce(y, b, x) {
1426
- var L = y.entry;
1427
- for (y.entry = null; L; ) {
1428
- var O = L.callback;
1429
- b.pendingcb--, O(x), L = L.next;
1425
+ function Ce(b, g, x) {
1426
+ var L = b.entry;
1427
+ for (b.entry = null; L; ) {
1428
+ var D = L.callback;
1429
+ g.pendingcb--, D(x), L = L.next;
1430
1430
  }
1431
- b.corkedRequestsFree.next = y;
1431
+ g.corkedRequestsFree.next = b;
1432
1432
  }
1433
1433
  return Object.defineProperty(P.prototype, "destroyed", {
1434
1434
  // making it explicit this property is not enumerable
@@ -1438,24 +1438,24 @@ function Ss() {
1438
1438
  get: function() {
1439
1439
  return this._writableState === void 0 ? !1 : this._writableState.destroyed;
1440
1440
  },
1441
- set: function(b) {
1442
- this._writableState && (this._writableState.destroyed = b);
1441
+ set: function(g) {
1442
+ this._writableState && (this._writableState.destroyed = g);
1443
1443
  }
1444
- }), P.prototype.destroy = c.destroy, P.prototype._undestroy = c.undestroy, P.prototype._destroy = function(y, b) {
1445
- b(y);
1444
+ }), P.prototype.destroy = c.destroy, P.prototype._undestroy = c.undestroy, P.prototype._destroy = function(b, g) {
1445
+ g(b);
1446
1446
  }, yn;
1447
1447
  }
1448
- var vn, li;
1449
- function rt() {
1450
- if (li) return vn;
1451
- li = 1;
1448
+ var vn, ci;
1449
+ function tt() {
1450
+ if (ci) return vn;
1451
+ ci = 1;
1452
1452
  var e = Object.keys || function(d) {
1453
1453
  var p = [];
1454
1454
  for (var h in d) p.push(h);
1455
1455
  return p;
1456
1456
  };
1457
1457
  vn = a;
1458
- var t = xs(), r = Ss();
1458
+ var t = Cs(), r = Es();
1459
1459
  de()(a, t);
1460
1460
  for (var n = e(r.prototype), i = 0; i < n.length; i++) {
1461
1461
  var s = n[i];
@@ -1540,10 +1540,10 @@ var mn = {}, Tn = { exports: {} };
1540
1540
  return r.SlowBuffer(a);
1541
1541
  };
1542
1542
  })(Tn, Tn.exports);
1543
- var Be = Tn.exports, ui;
1544
- function di() {
1545
- if (ui) return mn;
1546
- ui = 1;
1543
+ var Be = Tn.exports, li;
1544
+ function ui() {
1545
+ if (li) return mn;
1546
+ li = 1;
1547
1547
  var e = Be.Buffer, t = e.isEncoding || function(f) {
1548
1548
  switch (f = "" + f, f && f.toLowerCase()) {
1549
1549
  case "hex":
@@ -1603,7 +1603,7 @@ function di() {
1603
1603
  this.fillLast = c, v = 4;
1604
1604
  break;
1605
1605
  case "base64":
1606
- this.text = g, this.end = w, v = 3;
1606
+ this.text = y, this.end = w, v = 3;
1607
1607
  break;
1608
1608
  default:
1609
1609
  this.write = k, this.end = m;
@@ -1682,7 +1682,7 @@ function di() {
1682
1682
  }
1683
1683
  return v;
1684
1684
  }
1685
- function g(f, v) {
1685
+ function y(f, v) {
1686
1686
  var E = (f.length - v) % 3;
1687
1687
  return E === 0 ? f.toString("base64", v) : (this.lastNeed = 3 - E, this.lastTotal = 3, E === 1 ? this.lastChar[0] = f[f.length - 1] : (this.lastChar[0] = f[f.length - 2], this.lastChar[1] = f[f.length - 1]), f.toString("base64", v, f.length - E));
1688
1688
  }
@@ -1698,7 +1698,7 @@ function di() {
1698
1698
  }
1699
1699
  return mn;
1700
1700
  }
1701
- var hi = qe.codes.ERR_STREAM_PREMATURE_CLOSE;
1701
+ var di = Fe.codes.ERR_STREAM_PREMATURE_CLOSE;
1702
1702
  function So(e) {
1703
1703
  var t = !1;
1704
1704
  return function() {
@@ -1715,8 +1715,8 @@ function Co() {
1715
1715
  function xo(e) {
1716
1716
  return e.setHeader && typeof e.abort == "function";
1717
1717
  }
1718
- function Cs(e, t, r) {
1719
- if (typeof t == "function") return Cs(e, null, t);
1718
+ function Ss(e, t, r) {
1719
+ if (typeof t == "function") return Ss(e, null, t);
1720
1720
  t || (t = {}), r = So(r || Co);
1721
1721
  var n = t.readable || t.readable !== !1 && e.readable, i = t.writable || t.writable !== !1 && e.writable, s = function() {
1722
1722
  e.writable || o();
@@ -1729,9 +1729,9 @@ function Cs(e, t, r) {
1729
1729
  }, h = function() {
1730
1730
  var w;
1731
1731
  if (n && !c)
1732
- return (!e._readableState || !e._readableState.ended) && (w = new hi()), r.call(e, w);
1732
+ return (!e._readableState || !e._readableState.ended) && (w = new di()), r.call(e, w);
1733
1733
  if (i && !a)
1734
- return (!e._writableState || !e._writableState.ended) && (w = new hi()), r.call(e, w);
1734
+ return (!e._writableState || !e._writableState.ended) && (w = new di()), r.call(e, w);
1735
1735
  }, _ = function() {
1736
1736
  e.req.on("finish", o);
1737
1737
  };
@@ -1739,10 +1739,10 @@ function Cs(e, t, r) {
1739
1739
  e.removeListener("complete", o), e.removeListener("abort", h), e.removeListener("request", _), e.req && e.req.removeListener("finish", o), e.removeListener("end", s), e.removeListener("close", s), e.removeListener("finish", o), e.removeListener("end", d), e.removeListener("error", p), e.removeListener("close", h);
1740
1740
  };
1741
1741
  }
1742
- var Fn = Cs, wn, fi;
1742
+ var $n = Ss, wn, hi;
1743
1743
  function ko() {
1744
- if (fi) return wn;
1745
- fi = 1;
1744
+ if (hi) return wn;
1745
+ hi = 1;
1746
1746
  var e;
1747
1747
  function t(E, S, R) {
1748
1748
  return S = r(S), S in E ? Object.defineProperty(E, S, { value: R, enumerable: !0, configurable: !0, writable: !0 }) : E[S] = R, E;
@@ -1761,14 +1761,14 @@ function ko() {
1761
1761
  }
1762
1762
  return (S === "string" ? String : Number)(E);
1763
1763
  }
1764
- var i = Fn, s = Symbol("lastResolve"), a = Symbol("lastReject"), o = Symbol("error"), c = Symbol("ended"), d = Symbol("lastPromise"), p = Symbol("handlePromise"), h = Symbol("stream");
1764
+ var i = $n, s = Symbol("lastResolve"), a = Symbol("lastReject"), o = Symbol("error"), c = Symbol("ended"), d = Symbol("lastPromise"), p = Symbol("handlePromise"), h = Symbol("stream");
1765
1765
  function _(E, S) {
1766
1766
  return {
1767
1767
  value: E,
1768
1768
  done: S
1769
1769
  };
1770
1770
  }
1771
- function g(E) {
1771
+ function y(E) {
1772
1772
  var S = E[s];
1773
1773
  if (S !== null) {
1774
1774
  var R = E[h].read();
@@ -1776,7 +1776,7 @@ function ko() {
1776
1776
  }
1777
1777
  }
1778
1778
  function w(E) {
1779
- process.nextTick(g, E);
1779
+ process.nextTick(y, E);
1780
1780
  }
1781
1781
  function k(E, S) {
1782
1782
  return function(R, A) {
@@ -1801,9 +1801,9 @@ function ko() {
1801
1801
  if (this[c])
1802
1802
  return Promise.resolve(_(void 0, !0));
1803
1803
  if (this[h].destroyed)
1804
- return new Promise(function(T, U) {
1804
+ return new Promise(function(T, H) {
1805
1805
  process.nextTick(function() {
1806
- S[o] ? U(S[o]) : T(_(void 0, !0));
1806
+ S[o] ? H(S[o]) : T(_(void 0, !0));
1807
1807
  });
1808
1808
  });
1809
1809
  var A = this[d], j;
@@ -1848,8 +1848,8 @@ function ko() {
1848
1848
  writable: !0
1849
1849
  }), t(R, p, {
1850
1850
  value: function(P, T) {
1851
- var U = A[h].read();
1852
- U ? (A[d] = null, A[s] = null, A[a] = null, P(_(U, !1))) : (A[s] = P, A[a] = T);
1851
+ var H = A[h].read();
1852
+ H ? (A[d] = null, A[s] = null, A[a] = null, P(_(H, !1))) : (A[s] = P, A[a] = T);
1853
1853
  },
1854
1854
  writable: !0
1855
1855
  }), R));
@@ -1865,21 +1865,21 @@ function ko() {
1865
1865
  };
1866
1866
  return wn = v, wn;
1867
1867
  }
1868
- var En, _i;
1868
+ var En, fi;
1869
1869
  function Ro() {
1870
- return _i || (_i = 1, En = function() {
1870
+ return fi || (fi = 1, En = function() {
1871
1871
  throw new Error("Readable.from is not available in the browser");
1872
1872
  }), En;
1873
1873
  }
1874
- var Sn, pi;
1875
- function xs() {
1876
- if (pi) return Sn;
1877
- pi = 1, Sn = T;
1874
+ var Sn, _i;
1875
+ function Cs() {
1876
+ if (_i) return Sn;
1877
+ _i = 1, Sn = T;
1878
1878
  var e;
1879
- T.ReadableState = P, es.EventEmitter;
1879
+ T.ReadableState = P, Xi.EventEmitter;
1880
1880
  var t = function(u, C) {
1881
1881
  return u.listeners(C).length;
1882
- }, r = vs, n = qt.Buffer, i = (typeof Z < "u" ? Z : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
1882
+ }, r = ys, n = qt.Buffer, i = (typeof Z < "u" ? Z : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
1883
1883
  };
1884
1884
  function s(l) {
1885
1885
  return n.from(l);
@@ -1887,10 +1887,10 @@ function xs() {
1887
1887
  function a(l) {
1888
1888
  return n.isBuffer(l) || l instanceof i;
1889
1889
  }
1890
- var o = ts, c;
1890
+ var o = es, c;
1891
1891
  o && o.debuglog ? c = o.debuglog("stream") : c = function() {
1892
1892
  };
1893
- var d = lo(), p = ms, h = Es, _ = h.getHighWaterMark, g = qe.codes, w = g.ERR_INVALID_ARG_TYPE, k = g.ERR_STREAM_PUSH_AFTER_EOF, m = g.ERR_METHOD_NOT_IMPLEMENTED, f = g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, v, E, S;
1893
+ var d = lo(), p = vs, h = ws, _ = h.getHighWaterMark, y = Fe.codes, w = y.ERR_INVALID_ARG_TYPE, k = y.ERR_STREAM_PUSH_AFTER_EOF, m = y.ERR_METHOD_NOT_IMPLEMENTED, f = y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, v, E, S;
1894
1894
  de()(T, r);
1895
1895
  var R = p.errorOrDestroy, A = ["error", "close", "destroy", "pause", "resume"];
1896
1896
  function j(l, u, C) {
@@ -1898,10 +1898,10 @@ function xs() {
1898
1898
  !l._events || !l._events[u] ? l.on(u, C) : Array.isArray(l._events[u]) ? l._events[u].unshift(C) : l._events[u] = [C, l._events[u]];
1899
1899
  }
1900
1900
  function P(l, u, C) {
1901
- e = e || rt(), l = l || {}, typeof C != "boolean" && (C = u instanceof e), this.objectMode = !!l.objectMode, C && (this.objectMode = this.objectMode || !!l.readableObjectMode), this.highWaterMark = _(this, l, "readableHighWaterMark", C), this.buffer = new d(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = l.emitClose !== !1, this.autoDestroy = !!l.autoDestroy, this.destroyed = !1, this.defaultEncoding = l.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, l.encoding && (v || (v = di().StringDecoder), this.decoder = new v(l.encoding), this.encoding = l.encoding);
1901
+ e = e || tt(), l = l || {}, typeof C != "boolean" && (C = u instanceof e), this.objectMode = !!l.objectMode, C && (this.objectMode = this.objectMode || !!l.readableObjectMode), this.highWaterMark = _(this, l, "readableHighWaterMark", C), this.buffer = new d(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = l.emitClose !== !1, this.autoDestroy = !!l.autoDestroy, this.destroyed = !1, this.defaultEncoding = l.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, l.encoding && (v || (v = ui().StringDecoder), this.decoder = new v(l.encoding), this.encoding = l.encoding);
1902
1902
  }
1903
1903
  function T(l) {
1904
- if (e = e || rt(), !(this instanceof T)) return new T(l);
1904
+ if (e = e || tt(), !(this instanceof T)) return new T(l);
1905
1905
  var u = this instanceof e;
1906
1906
  this._readableState = new P(l, this, u), this.readable = !0, l && (typeof l.read == "function" && (this._read = l.read), typeof l.destroy == "function" && (this._destroy = l.destroy)), r.call(this);
1907
1907
  }
@@ -1920,18 +1920,18 @@ function xs() {
1920
1920
  u(l);
1921
1921
  }, T.prototype.push = function(l, u) {
1922
1922
  var C = this._readableState, I;
1923
- return C.objectMode ? I = !0 : typeof l == "string" && (u = u || C.defaultEncoding, u !== C.encoding && (l = n.from(l, u), u = ""), I = !0), U(this, l, u, !1, I);
1923
+ return C.objectMode ? I = !0 : typeof l == "string" && (u = u || C.defaultEncoding, u !== C.encoding && (l = n.from(l, u), u = ""), I = !0), H(this, l, u, !1, I);
1924
1924
  }, T.prototype.unshift = function(l) {
1925
- return U(this, l, null, !0, !1);
1925
+ return H(this, l, null, !0, !1);
1926
1926
  };
1927
- function U(l, u, C, I, H) {
1927
+ function H(l, u, C, I, $) {
1928
1928
  c("readableAddChunk", u);
1929
1929
  var N = l._readableState;
1930
1930
  if (u === null)
1931
1931
  N.reading = !1, Pe(l, N);
1932
1932
  else {
1933
1933
  var B;
1934
- if (H || (B = me(N, u)), B)
1934
+ if ($ || (B = me(N, u)), B)
1935
1935
  R(l, B);
1936
1936
  else if (N.objectMode || u && u.length > 0)
1937
1937
  if (typeof u != "string" && !N.objectMode && Object.getPrototypeOf(u) !== n.prototype && (u = s(u)), I)
@@ -1957,7 +1957,7 @@ function xs() {
1957
1957
  T.prototype.isPaused = function() {
1958
1958
  return this._readableState.flowing === !1;
1959
1959
  }, T.prototype.setEncoding = function(l) {
1960
- v || (v = di().StringDecoder);
1960
+ v || (v = ui().StringDecoder);
1961
1961
  var u = new v(l);
1962
1962
  this._readableState.decoder = u, this._readableState.encoding = this._readableState.decoder.encoding;
1963
1963
  for (var C = this._readableState.buffer.head, I = ""; C !== null; )
@@ -1980,8 +1980,8 @@ function xs() {
1980
1980
  return u.length === 0 && x(this), null;
1981
1981
  var I = u.needReadable;
1982
1982
  c("need readable", I), (u.length === 0 || u.length - l < u.highWaterMark) && (I = !0, c("length less than watermark", I)), u.ended || u.reading ? (I = !1, c("reading or ended", I)) : I && (c("do read"), u.reading = !0, u.sync = !0, u.length === 0 && (u.needReadable = !0), this._read(u.highWaterMark), u.sync = !1, u.reading || (l = te(C, u)));
1983
- var H;
1984
- return l > 0 ? H = b(l, u) : H = null, H === null ? (u.needReadable = u.length <= u.highWaterMark, l = 0) : (u.length -= l, u.awaitDrain = 0), u.length === 0 && (u.ended || (u.needReadable = !0), C !== l && u.ended && x(this)), H !== null && this.emit("data", H), H;
1983
+ var $;
1984
+ return l > 0 ? $ = g(l, u) : $ = null, $ === null ? (u.needReadable = u.length <= u.highWaterMark, l = 0) : (u.length -= l, u.awaitDrain = 0), u.length === 0 && (u.ended || (u.needReadable = !0), C !== l && u.ended && x(this)), $ !== null && this.emit("data", $), $;
1985
1985
  };
1986
1986
  function Pe(l, u) {
1987
1987
  if (c("onEofChunk"), !u.ended) {
@@ -1998,7 +1998,7 @@ function xs() {
1998
1998
  }
1999
1999
  function we(l) {
2000
2000
  var u = l._readableState;
2001
- c("emitReadable_", u.destroyed, u.length, u.ended), !u.destroyed && (u.length || u.ended) && (l.emit("readable"), u.emittedReadable = !1), u.needReadable = !u.flowing && !u.ended && u.length <= u.highWaterMark, y(l);
2001
+ c("emitReadable_", u.destroyed, u.length, u.ended), !u.destroyed && (u.length || u.ended) && (l.emit("readable"), u.emittedReadable = !1), u.needReadable = !u.flowing && !u.ended && u.length <= u.highWaterMark, b(l);
2002
2002
  }
2003
2003
  function se(l, u) {
2004
2004
  u.readingMore || (u.readingMore = !0, process.nextTick(Ee, l, u));
@@ -2027,7 +2027,7 @@ function xs() {
2027
2027
  break;
2028
2028
  }
2029
2029
  I.pipesCount += 1, c("pipe count=%d opts=%j", I.pipesCount, u);
2030
- var H = (!u || u.end !== !1) && l !== process.stdout && l !== process.stderr, N = H ? xe : De;
2030
+ var $ = (!u || u.end !== !1) && l !== process.stdout && l !== process.stderr, N = $ ? xe : Oe;
2031
2031
  I.endEmitted ? process.nextTick(N) : C.once("end", N), l.on("unpipe", B);
2032
2032
  function B(ke, he) {
2033
2033
  c("onunpipe"), ke === C && he && he.hasUnpiped === !1 && (he.hasUnpiped = !0, Mt());
@@ -2037,29 +2037,29 @@ function xs() {
2037
2037
  }
2038
2038
  var je = Ne(C);
2039
2039
  l.on("drain", je);
2040
- var lt = !1;
2040
+ var ut = !1;
2041
2041
  function Mt() {
2042
- c("cleanup"), l.removeListener("close", Ge), l.removeListener("finish", Ze), l.removeListener("drain", je), l.removeListener("error", Ve), l.removeListener("unpipe", B), C.removeListener("end", xe), C.removeListener("end", De), C.removeListener("data", ut), lt = !0, I.awaitDrain && (!l._writableState || l._writableState.needDrain) && je();
2042
+ c("cleanup"), l.removeListener("close", Ve), l.removeListener("finish", Ge), l.removeListener("drain", je), l.removeListener("error", ze), l.removeListener("unpipe", B), C.removeListener("end", xe), C.removeListener("end", Oe), C.removeListener("data", dt), ut = !0, I.awaitDrain && (!l._writableState || l._writableState.needDrain) && je();
2043
2043
  }
2044
- C.on("data", ut);
2045
- function ut(ke) {
2044
+ C.on("data", dt);
2045
+ function dt(ke) {
2046
2046
  c("ondata");
2047
2047
  var he = l.write(ke);
2048
- c("dest.write", he), he === !1 && ((I.pipesCount === 1 && I.pipes === l || I.pipesCount > 1 && O(I.pipes, l) !== -1) && !lt && (c("false write response, pause", I.awaitDrain), I.awaitDrain++), C.pause());
2048
+ c("dest.write", he), he === !1 && ((I.pipesCount === 1 && I.pipes === l || I.pipesCount > 1 && D(I.pipes, l) !== -1) && !ut && (c("false write response, pause", I.awaitDrain), I.awaitDrain++), C.pause());
2049
2049
  }
2050
- function Ve(ke) {
2051
- c("onerror", ke), De(), l.removeListener("error", Ve), t(l, "error") === 0 && R(l, ke);
2050
+ function ze(ke) {
2051
+ c("onerror", ke), Oe(), l.removeListener("error", ze), t(l, "error") === 0 && R(l, ke);
2052
2052
  }
2053
- j(l, "error", Ve);
2054
- function Ge() {
2055
- l.removeListener("finish", Ze), De();
2053
+ j(l, "error", ze);
2054
+ function Ve() {
2055
+ l.removeListener("finish", Ge), Oe();
2056
2056
  }
2057
- l.once("close", Ge);
2058
- function Ze() {
2059
- c("onfinish"), l.removeListener("close", Ge), De();
2057
+ l.once("close", Ve);
2058
+ function Ge() {
2059
+ c("onfinish"), l.removeListener("close", Ve), Oe();
2060
2060
  }
2061
- l.once("finish", Ze);
2062
- function De() {
2061
+ l.once("finish", Ge);
2062
+ function Oe() {
2063
2063
  c("unpipe"), C.unpipe(l);
2064
2064
  }
2065
2065
  return l.emit("pipe", C), I.flowing || (c("pipe resume"), C.resume()), l;
@@ -2067,7 +2067,7 @@ function xs() {
2067
2067
  function Ne(l) {
2068
2068
  return function() {
2069
2069
  var C = l._readableState;
2070
- c("pipeOnDrain", C.awaitDrain), C.awaitDrain && C.awaitDrain--, C.awaitDrain === 0 && t(l, "data") && (C.flowing = !0, y(l));
2070
+ c("pipeOnDrain", C.awaitDrain), C.awaitDrain && C.awaitDrain--, C.awaitDrain === 0 && t(l, "data") && (C.flowing = !0, b(l));
2071
2071
  };
2072
2072
  }
2073
2073
  T.prototype.unpipe = function(l) {
@@ -2078,14 +2078,14 @@ function xs() {
2078
2078
  if (u.pipesCount === 1)
2079
2079
  return l && l !== u.pipes ? this : (l || (l = u.pipes), u.pipes = null, u.pipesCount = 0, u.flowing = !1, l && l.emit("unpipe", this, C), this);
2080
2080
  if (!l) {
2081
- var I = u.pipes, H = u.pipesCount;
2081
+ var I = u.pipes, $ = u.pipesCount;
2082
2082
  u.pipes = null, u.pipesCount = 0, u.flowing = !1;
2083
- for (var N = 0; N < H; N++) I[N].emit("unpipe", this, {
2083
+ for (var N = 0; N < $; N++) I[N].emit("unpipe", this, {
2084
2084
  hasUnpiped: !1
2085
2085
  });
2086
2086
  return this;
2087
2087
  }
2088
- var B = O(u.pipes, l);
2088
+ var B = D(u.pipes, l);
2089
2089
  return B === -1 ? this : (u.pipes.splice(B, 1), u.pipesCount -= 1, u.pipesCount === 1 && (u.pipes = u.pipes[0]), l.emit("unpipe", this, C), this);
2090
2090
  }, T.prototype.on = function(l, u) {
2091
2091
  var C = r.prototype.on.call(this, l, u), I = this._readableState;
@@ -2106,18 +2106,18 @@ function xs() {
2106
2106
  }
2107
2107
  T.prototype.resume = function() {
2108
2108
  var l = this._readableState;
2109
- return l.flowing || (c("resume"), l.flowing = !l.readableListening, Oe(this, l)), l.paused = !1, this;
2109
+ return l.flowing || (c("resume"), l.flowing = !l.readableListening, De(this, l)), l.paused = !1, this;
2110
2110
  };
2111
- function Oe(l, u) {
2111
+ function De(l, u) {
2112
2112
  u.resumeScheduled || (u.resumeScheduled = !0, process.nextTick(Ce, l, u));
2113
2113
  }
2114
2114
  function Ce(l, u) {
2115
- c("resume", u.reading), u.reading || l.read(0), u.resumeScheduled = !1, l.emit("resume"), y(l), u.flowing && !u.reading && l.read(0);
2115
+ c("resume", u.reading), u.reading || l.read(0), u.resumeScheduled = !1, l.emit("resume"), b(l), u.flowing && !u.reading && l.read(0);
2116
2116
  }
2117
2117
  T.prototype.pause = function() {
2118
2118
  return c("call pause flowing=%j", this._readableState.flowing), this._readableState.flowing !== !1 && (c("pause"), this._readableState.flowing = !1, this.emit("pause")), this._readableState.paused = !0, this;
2119
2119
  };
2120
- function y(l) {
2120
+ function b(l) {
2121
2121
  var u = l._readableState;
2122
2122
  for (c("flow", u.flowing); u.flowing && l.read() !== null; ) ;
2123
2123
  }
@@ -2135,12 +2135,12 @@ function xs() {
2135
2135
  xe || (I = !0, l.pause());
2136
2136
  }
2137
2137
  });
2138
- for (var H in l)
2139
- this[H] === void 0 && typeof l[H] == "function" && (this[H] = /* @__PURE__ */ function(xe) {
2138
+ for (var $ in l)
2139
+ this[$] === void 0 && typeof l[$] == "function" && (this[$] = /* @__PURE__ */ function(xe) {
2140
2140
  return function() {
2141
2141
  return l[xe].apply(l, arguments);
2142
2142
  };
2143
- }(H));
2143
+ }($));
2144
2144
  for (var N = 0; N < A.length; N++)
2145
2145
  l.on(A[N], this.emit.bind(this, A[N]));
2146
2146
  return this._read = function(B) {
@@ -2175,7 +2175,7 @@ function xs() {
2175
2175
  set: function(u) {
2176
2176
  this._readableState && (this._readableState.flowing = u);
2177
2177
  }
2178
- }), T._fromList = b, Object.defineProperty(T.prototype, "readableLength", {
2178
+ }), T._fromList = g, Object.defineProperty(T.prototype, "readableLength", {
2179
2179
  // making it explicit this property is not enumerable
2180
2180
  // because otherwise some prototype manipulation in
2181
2181
  // userland will fail
@@ -2184,7 +2184,7 @@ function xs() {
2184
2184
  return this._readableState.length;
2185
2185
  }
2186
2186
  });
2187
- function b(l, u) {
2187
+ function g(l, u) {
2188
2188
  if (u.length === 0) return null;
2189
2189
  var C;
2190
2190
  return u.objectMode ? C = u.buffer.shift() : !l || l >= u.length ? (u.decoder ? C = u.buffer.join("") : u.buffer.length === 1 ? C = u.buffer.first() : C = u.buffer.concat(u.length), u.buffer.clear()) : C = u.buffer.consume(l, u.decoder), C;
@@ -2202,14 +2202,14 @@ function xs() {
2202
2202
  typeof Symbol == "function" && (T.from = function(l, u) {
2203
2203
  return S === void 0 && (S = Ro()), S(T, l, u);
2204
2204
  });
2205
- function O(l, u) {
2205
+ function D(l, u) {
2206
2206
  for (var C = 0, I = l.length; C < I; C++)
2207
2207
  if (l[C] === u) return C;
2208
2208
  return -1;
2209
2209
  }
2210
2210
  return Sn;
2211
2211
  }
2212
- var ks = Le, er = qe.codes, Io = er.ERR_METHOD_NOT_IMPLEMENTED, Mo = er.ERR_MULTIPLE_CALLBACK, Ao = er.ERR_TRANSFORM_ALREADY_TRANSFORMING, Lo = er.ERR_TRANSFORM_WITH_LENGTH_0, tr = rt();
2212
+ var xs = Le, er = Fe.codes, Io = er.ERR_METHOD_NOT_IMPLEMENTED, Mo = er.ERR_MULTIPLE_CALLBACK, Ao = er.ERR_TRANSFORM_ALREADY_TRANSFORMING, Lo = er.ERR_TRANSFORM_WITH_LENGTH_0, tr = tt();
2213
2213
  de()(Le, tr);
2214
2214
  function To(e, t) {
2215
2215
  var r = this._transformState;
@@ -2235,8 +2235,8 @@ function Le(e) {
2235
2235
  function Po() {
2236
2236
  var e = this;
2237
2237
  typeof this._flush == "function" && !this._readableState.destroyed ? this._flush(function(t, r) {
2238
- gi(e, t, r);
2239
- }) : gi(this, null, null);
2238
+ pi(e, t, r);
2239
+ }) : pi(this, null, null);
2240
2240
  }
2241
2241
  Le.prototype.push = function(e, t) {
2242
2242
  return this._transformState.needTransform = !1, tr.prototype.push.call(this, e, t);
@@ -2260,41 +2260,41 @@ Le.prototype._destroy = function(e, t) {
2260
2260
  t(r);
2261
2261
  });
2262
2262
  };
2263
- function gi(e, t, r) {
2263
+ function pi(e, t, r) {
2264
2264
  if (t) return e.emit("error", t);
2265
2265
  if (r != null && e.push(r), e._writableState.length) throw new Lo();
2266
2266
  if (e._transformState.transforming) throw new Ao();
2267
2267
  return e.push(null);
2268
2268
  }
2269
- var No = gt, Rs = ks;
2270
- de()(gt, Rs);
2271
- function gt(e) {
2272
- if (!(this instanceof gt)) return new gt(e);
2273
- Rs.call(this, e);
2269
+ var No = bt, ks = xs;
2270
+ de()(bt, ks);
2271
+ function bt(e) {
2272
+ if (!(this instanceof bt)) return new bt(e);
2273
+ ks.call(this, e);
2274
2274
  }
2275
- gt.prototype._transform = function(e, t, r) {
2275
+ bt.prototype._transform = function(e, t, r) {
2276
2276
  r(null, e);
2277
2277
  };
2278
2278
  var Cn;
2279
- function Oo(e) {
2279
+ function Do(e) {
2280
2280
  var t = !1;
2281
2281
  return function() {
2282
2282
  t || (t = !0, e.apply(void 0, arguments));
2283
2283
  };
2284
2284
  }
2285
- var Is = qe.codes, Do = Is.ERR_MISSING_ARGS, Bo = Is.ERR_STREAM_DESTROYED;
2286
- function bi(e) {
2285
+ var Rs = Fe.codes, Oo = Rs.ERR_MISSING_ARGS, Bo = Rs.ERR_STREAM_DESTROYED;
2286
+ function gi(e) {
2287
2287
  if (e) throw e;
2288
2288
  }
2289
2289
  function jo(e) {
2290
2290
  return e.setHeader && typeof e.abort == "function";
2291
2291
  }
2292
2292
  function Wo(e, t, r, n) {
2293
- n = Oo(n);
2293
+ n = Do(n);
2294
2294
  var i = !1;
2295
2295
  e.on("close", function() {
2296
2296
  i = !0;
2297
- }), Cn === void 0 && (Cn = Fn), Cn(e, {
2297
+ }), Cn === void 0 && (Cn = $n), Cn(e, {
2298
2298
  readable: t,
2299
2299
  writable: r
2300
2300
  }, function(a) {
@@ -2310,36 +2310,36 @@ function Wo(e, t, r, n) {
2310
2310
  }
2311
2311
  };
2312
2312
  }
2313
- function yi(e) {
2313
+ function bi(e) {
2314
2314
  e();
2315
2315
  }
2316
2316
  function Uo(e, t) {
2317
2317
  return e.pipe(t);
2318
2318
  }
2319
2319
  function Ho(e) {
2320
- return !e.length || typeof e[e.length - 1] != "function" ? bi : e.pop();
2320
+ return !e.length || typeof e[e.length - 1] != "function" ? gi : e.pop();
2321
2321
  }
2322
2322
  function $o() {
2323
2323
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
2324
2324
  t[r] = arguments[r];
2325
2325
  var n = Ho(t);
2326
2326
  if (Array.isArray(t[0]) && (t = t[0]), t.length < 2)
2327
- throw new Do("streams");
2327
+ throw new Oo("streams");
2328
2328
  var i, s = t.map(function(a, o) {
2329
2329
  var c = o < t.length - 1, d = o > 0;
2330
2330
  return Wo(a, c, d, function(p) {
2331
- i || (i = p), p && s.forEach(yi), !c && (s.forEach(yi), n(i));
2331
+ i || (i = p), p && s.forEach(bi), !c && (s.forEach(bi), n(i));
2332
2332
  });
2333
2333
  });
2334
2334
  return t.reduce(Uo);
2335
2335
  }
2336
2336
  var Fo = $o;
2337
2337
  (function(e, t) {
2338
- t = e.exports = xs(), t.Stream = t, t.Readable = t, t.Writable = Ss(), t.Duplex = rt(), t.Transform = ks, t.PassThrough = No, t.finished = Fn, t.pipeline = Fo;
2338
+ t = e.exports = Cs(), t.Stream = t, t.Readable = t, t.Writable = Es(), t.Duplex = tt(), t.Transform = xs, t.PassThrough = No, t.finished = $n, t.pipeline = Fo;
2339
2339
  })(An, An.exports);
2340
- var Ms = An.exports;
2341
- const { Transform: qo } = Ms;
2342
- var Ko = (e) => class As extends qo {
2340
+ var Is = An.exports;
2341
+ const { Transform: qo } = Is;
2342
+ var Ko = (e) => class Ms extends qo {
2343
2343
  constructor(r, n, i, s, a) {
2344
2344
  super(a), this._rate = r, this._capacity = n, this._delimitedSuffix = i, this._hashBitLength = s, this._options = a, this._state = new e(), this._state.initialize(r, n), this._finalized = !1;
2345
2345
  }
@@ -2378,12 +2378,12 @@ var Ko = (e) => class As extends qo {
2378
2378
  }
2379
2379
  // because sometimes we need hash right now and little later
2380
2380
  _clone() {
2381
- const r = new As(this._rate, this._capacity, this._delimitedSuffix, this._hashBitLength, this._options);
2381
+ const r = new Ms(this._rate, this._capacity, this._delimitedSuffix, this._hashBitLength, this._options);
2382
2382
  return this._state.copy(r._state), r._finalized = this._finalized, r;
2383
2383
  }
2384
2384
  };
2385
- const { Transform: zo } = Ms;
2386
- var Vo = (e) => class Ls extends zo {
2385
+ const { Transform: zo } = Is;
2386
+ var Vo = (e) => class As extends zo {
2387
2387
  constructor(r, n, i, s) {
2388
2388
  super(s), this._rate = r, this._capacity = n, this._delimitedSuffix = i, this._options = s, this._state = new e(), this._state.initialize(r, n), this._finalized = !1;
2389
2389
  }
@@ -2415,7 +2415,7 @@ var Vo = (e) => class Ls extends zo {
2415
2415
  return this._state.initialize(this._rate, this._capacity), this;
2416
2416
  }
2417
2417
  _clone() {
2418
- const r = new Ls(this._rate, this._capacity, this._delimitedSuffix, this._options);
2418
+ const r = new As(this._rate, this._capacity, this._delimitedSuffix, this._options);
2419
2419
  return this._state.copy(r._state), r._finalized = this._finalized, r;
2420
2420
  }
2421
2421
  };
@@ -2448,25 +2448,25 @@ var Yo = function(e) {
2448
2448
  throw new Error("Invald algorithm: " + n);
2449
2449
  }
2450
2450
  };
2451
- }, Ts = {};
2452
- const vi = [1, 0, 32898, 0, 32906, 2147483648, 2147516416, 2147483648, 32907, 0, 2147483649, 0, 2147516545, 2147483648, 32777, 2147483648, 138, 0, 136, 0, 2147516425, 0, 2147483658, 0, 2147516555, 0, 139, 2147483648, 32905, 2147483648, 32771, 2147483648, 32770, 2147483648, 128, 2147483648, 32778, 0, 2147483658, 2147483648, 2147516545, 2147483648, 32896, 2147483648, 2147483649, 0, 2147516424, 2147483648];
2453
- Ts.p1600 = function(e) {
2451
+ }, Ls = {};
2452
+ const yi = [1, 0, 32898, 0, 32906, 2147483648, 2147516416, 2147483648, 32907, 0, 2147483649, 0, 2147516545, 2147483648, 32777, 2147483648, 138, 0, 136, 0, 2147516425, 0, 2147483658, 0, 2147516555, 0, 139, 2147483648, 32905, 2147483648, 32771, 2147483648, 32770, 2147483648, 128, 2147483648, 32778, 0, 2147483658, 2147483648, 2147516545, 2147483648, 32896, 2147483648, 2147483649, 0, 2147516424, 2147483648];
2453
+ Ls.p1600 = function(e) {
2454
2454
  for (let t = 0; t < 24; ++t) {
2455
2455
  const r = e[0] ^ e[10] ^ e[20] ^ e[30] ^ e[40], n = e[1] ^ e[11] ^ e[21] ^ e[31] ^ e[41], i = e[2] ^ e[12] ^ e[22] ^ e[32] ^ e[42], s = e[3] ^ e[13] ^ e[23] ^ e[33] ^ e[43], a = e[4] ^ e[14] ^ e[24] ^ e[34] ^ e[44], o = e[5] ^ e[15] ^ e[25] ^ e[35] ^ e[45], c = e[6] ^ e[16] ^ e[26] ^ e[36] ^ e[46], d = e[7] ^ e[17] ^ e[27] ^ e[37] ^ e[47], p = e[8] ^ e[18] ^ e[28] ^ e[38] ^ e[48], h = e[9] ^ e[19] ^ e[29] ^ e[39] ^ e[49];
2456
- let _ = p ^ (i << 1 | s >>> 31), g = h ^ (s << 1 | i >>> 31);
2457
- const w = e[0] ^ _, k = e[1] ^ g, m = e[10] ^ _, f = e[11] ^ g, v = e[20] ^ _, E = e[21] ^ g, S = e[30] ^ _, R = e[31] ^ g, A = e[40] ^ _, j = e[41] ^ g;
2458
- _ = r ^ (a << 1 | o >>> 31), g = n ^ (o << 1 | a >>> 31);
2459
- const P = e[2] ^ _, T = e[3] ^ g, U = e[12] ^ _, Q = e[13] ^ g, me = e[22] ^ _, q = e[23] ^ g, ee = e[32] ^ _, te = e[33] ^ g, Pe = e[42] ^ _, ie = e[43] ^ g;
2460
- _ = i ^ (c << 1 | d >>> 31), g = s ^ (d << 1 | c >>> 31);
2461
- const we = e[4] ^ _, se = e[5] ^ g, Ee = e[14] ^ _, Ne = e[15] ^ g, Se = e[24] ^ _, re = e[25] ^ g, Oe = e[34] ^ _, Ce = e[35] ^ g, y = e[44] ^ _, b = e[45] ^ g;
2462
- _ = a ^ (p << 1 | h >>> 31), g = o ^ (h << 1 | p >>> 31);
2463
- const x = e[6] ^ _, L = e[7] ^ g, O = e[16] ^ _, l = e[17] ^ g, u = e[26] ^ _, C = e[27] ^ g, I = e[36] ^ _, H = e[37] ^ g, N = e[46] ^ _, B = e[47] ^ g;
2464
- _ = c ^ (r << 1 | n >>> 31), g = d ^ (n << 1 | r >>> 31);
2465
- const xe = e[8] ^ _, je = e[9] ^ g, lt = e[18] ^ _, Mt = e[19] ^ g, ut = e[28] ^ _, Ve = e[29] ^ g, Ge = e[38] ^ _, Ze = e[39] ^ g, De = e[48] ^ _, ke = e[49] ^ g, he = w, br = k, yr = f << 4 | m >>> 28, vr = m << 4 | f >>> 28, mr = v << 3 | E >>> 29, wr = E << 3 | v >>> 29, Er = R << 9 | S >>> 23, Sr = S << 9 | R >>> 23, Cr = A << 18 | j >>> 14, xr = j << 18 | A >>> 14, kr = P << 1 | T >>> 31, Rr = T << 1 | P >>> 31, Ir = Q << 12 | U >>> 20, Mr = U << 12 | Q >>> 20, Ar = me << 10 | q >>> 22, Lr = q << 10 | me >>> 22, Tr = te << 13 | ee >>> 19, Pr = ee << 13 | te >>> 19, Nr = Pe << 2 | ie >>> 30, Or = ie << 2 | Pe >>> 30, Dr = se << 30 | we >>> 2, Br = we << 30 | se >>> 2, jr = Ee << 6 | Ne >>> 26, Wr = Ne << 6 | Ee >>> 26, Ur = re << 11 | Se >>> 21, Hr = Se << 11 | re >>> 21, $r = Oe << 15 | Ce >>> 17, Fr = Ce << 15 | Oe >>> 17, qr = b << 29 | y >>> 3, Kr = y << 29 | b >>> 3, zr = x << 28 | L >>> 4, Vr = L << 28 | x >>> 4, Gr = l << 23 | O >>> 9, Zr = O << 23 | l >>> 9, Yr = u << 25 | C >>> 7, Jr = C << 25 | u >>> 7, Qr = I << 21 | H >>> 11, Xr = H << 21 | I >>> 11, en = B << 24 | N >>> 8, tn = N << 24 | B >>> 8, rn = xe << 27 | je >>> 5, nn = je << 27 | xe >>> 5, sn = lt << 20 | Mt >>> 12, an = Mt << 20 | lt >>> 12, on = Ve << 7 | ut >>> 25, cn = ut << 7 | Ve >>> 25, ln = Ge << 8 | Ze >>> 24, un = Ze << 8 | Ge >>> 24, dn = De << 14 | ke >>> 18, hn = ke << 14 | De >>> 18;
2466
- e[0] = he ^ ~Ir & Ur, e[1] = br ^ ~Mr & Hr, e[10] = zr ^ ~sn & mr, e[11] = Vr ^ ~an & wr, e[20] = kr ^ ~jr & Yr, e[21] = Rr ^ ~Wr & Jr, e[30] = rn ^ ~yr & Ar, e[31] = nn ^ ~vr & Lr, e[40] = Dr ^ ~Gr & on, e[41] = Br ^ ~Zr & cn, e[2] = Ir ^ ~Ur & Qr, e[3] = Mr ^ ~Hr & Xr, e[12] = sn ^ ~mr & Tr, e[13] = an ^ ~wr & Pr, e[22] = jr ^ ~Yr & ln, e[23] = Wr ^ ~Jr & un, e[32] = yr ^ ~Ar & $r, e[33] = vr ^ ~Lr & Fr, e[42] = Gr ^ ~on & Er, e[43] = Zr ^ ~cn & Sr, e[4] = Ur ^ ~Qr & dn, e[5] = Hr ^ ~Xr & hn, e[14] = mr ^ ~Tr & qr, e[15] = wr ^ ~Pr & Kr, e[24] = Yr ^ ~ln & Cr, e[25] = Jr ^ ~un & xr, e[34] = Ar ^ ~$r & en, e[35] = Lr ^ ~Fr & tn, e[44] = on ^ ~Er & Nr, e[45] = cn ^ ~Sr & Or, e[6] = Qr ^ ~dn & he, e[7] = Xr ^ ~hn & br, e[16] = Tr ^ ~qr & zr, e[17] = Pr ^ ~Kr & Vr, e[26] = ln ^ ~Cr & kr, e[27] = un ^ ~xr & Rr, e[36] = $r ^ ~en & rn, e[37] = Fr ^ ~tn & nn, e[46] = Er ^ ~Nr & Dr, e[47] = Sr ^ ~Or & Br, e[8] = dn ^ ~he & Ir, e[9] = hn ^ ~br & Mr, e[18] = qr ^ ~zr & sn, e[19] = Kr ^ ~Vr & an, e[28] = Cr ^ ~kr & jr, e[29] = xr ^ ~Rr & Wr, e[38] = en ^ ~rn & yr, e[39] = tn ^ ~nn & vr, e[48] = Nr ^ ~Dr & Gr, e[49] = Or ^ ~Br & Zr, e[0] ^= vi[t * 2], e[1] ^= vi[t * 2 + 1];
2456
+ let _ = p ^ (i << 1 | s >>> 31), y = h ^ (s << 1 | i >>> 31);
2457
+ const w = e[0] ^ _, k = e[1] ^ y, m = e[10] ^ _, f = e[11] ^ y, v = e[20] ^ _, E = e[21] ^ y, S = e[30] ^ _, R = e[31] ^ y, A = e[40] ^ _, j = e[41] ^ y;
2458
+ _ = r ^ (a << 1 | o >>> 31), y = n ^ (o << 1 | a >>> 31);
2459
+ const P = e[2] ^ _, T = e[3] ^ y, H = e[12] ^ _, Q = e[13] ^ y, me = e[22] ^ _, q = e[23] ^ y, ee = e[32] ^ _, te = e[33] ^ y, Pe = e[42] ^ _, ie = e[43] ^ y;
2460
+ _ = i ^ (c << 1 | d >>> 31), y = s ^ (d << 1 | c >>> 31);
2461
+ const we = e[4] ^ _, se = e[5] ^ y, Ee = e[14] ^ _, Ne = e[15] ^ y, Se = e[24] ^ _, re = e[25] ^ y, De = e[34] ^ _, Ce = e[35] ^ y, b = e[44] ^ _, g = e[45] ^ y;
2462
+ _ = a ^ (p << 1 | h >>> 31), y = o ^ (h << 1 | p >>> 31);
2463
+ const x = e[6] ^ _, L = e[7] ^ y, D = e[16] ^ _, l = e[17] ^ y, u = e[26] ^ _, C = e[27] ^ y, I = e[36] ^ _, $ = e[37] ^ y, N = e[46] ^ _, B = e[47] ^ y;
2464
+ _ = c ^ (r << 1 | n >>> 31), y = d ^ (n << 1 | r >>> 31);
2465
+ const xe = e[8] ^ _, je = e[9] ^ y, ut = e[18] ^ _, Mt = e[19] ^ y, dt = e[28] ^ _, ze = e[29] ^ y, Ve = e[38] ^ _, Ge = e[39] ^ y, Oe = e[48] ^ _, ke = e[49] ^ y, he = w, br = k, yr = f << 4 | m >>> 28, vr = m << 4 | f >>> 28, mr = v << 3 | E >>> 29, wr = E << 3 | v >>> 29, Er = R << 9 | S >>> 23, Sr = S << 9 | R >>> 23, Cr = A << 18 | j >>> 14, xr = j << 18 | A >>> 14, kr = P << 1 | T >>> 31, Rr = T << 1 | P >>> 31, Ir = Q << 12 | H >>> 20, Mr = H << 12 | Q >>> 20, Ar = me << 10 | q >>> 22, Lr = q << 10 | me >>> 22, Tr = te << 13 | ee >>> 19, Pr = ee << 13 | te >>> 19, Nr = Pe << 2 | ie >>> 30, Dr = ie << 2 | Pe >>> 30, Or = se << 30 | we >>> 2, Br = we << 30 | se >>> 2, jr = Ee << 6 | Ne >>> 26, Wr = Ne << 6 | Ee >>> 26, Ur = re << 11 | Se >>> 21, Hr = Se << 11 | re >>> 21, $r = De << 15 | Ce >>> 17, Fr = Ce << 15 | De >>> 17, qr = g << 29 | b >>> 3, Kr = b << 29 | g >>> 3, zr = x << 28 | L >>> 4, Vr = L << 28 | x >>> 4, Gr = l << 23 | D >>> 9, Zr = D << 23 | l >>> 9, Yr = u << 25 | C >>> 7, Jr = C << 25 | u >>> 7, Qr = I << 21 | $ >>> 11, Xr = $ << 21 | I >>> 11, en = B << 24 | N >>> 8, tn = N << 24 | B >>> 8, rn = xe << 27 | je >>> 5, nn = je << 27 | xe >>> 5, sn = ut << 20 | Mt >>> 12, an = Mt << 20 | ut >>> 12, on = ze << 7 | dt >>> 25, cn = dt << 7 | ze >>> 25, ln = Ve << 8 | Ge >>> 24, un = Ge << 8 | Ve >>> 24, dn = Oe << 14 | ke >>> 18, hn = ke << 14 | Oe >>> 18;
2466
+ e[0] = he ^ ~Ir & Ur, e[1] = br ^ ~Mr & Hr, e[10] = zr ^ ~sn & mr, e[11] = Vr ^ ~an & wr, e[20] = kr ^ ~jr & Yr, e[21] = Rr ^ ~Wr & Jr, e[30] = rn ^ ~yr & Ar, e[31] = nn ^ ~vr & Lr, e[40] = Or ^ ~Gr & on, e[41] = Br ^ ~Zr & cn, e[2] = Ir ^ ~Ur & Qr, e[3] = Mr ^ ~Hr & Xr, e[12] = sn ^ ~mr & Tr, e[13] = an ^ ~wr & Pr, e[22] = jr ^ ~Yr & ln, e[23] = Wr ^ ~Jr & un, e[32] = yr ^ ~Ar & $r, e[33] = vr ^ ~Lr & Fr, e[42] = Gr ^ ~on & Er, e[43] = Zr ^ ~cn & Sr, e[4] = Ur ^ ~Qr & dn, e[5] = Hr ^ ~Xr & hn, e[14] = mr ^ ~Tr & qr, e[15] = wr ^ ~Pr & Kr, e[24] = Yr ^ ~ln & Cr, e[25] = Jr ^ ~un & xr, e[34] = Ar ^ ~$r & en, e[35] = Lr ^ ~Fr & tn, e[44] = on ^ ~Er & Nr, e[45] = cn ^ ~Sr & Dr, e[6] = Qr ^ ~dn & he, e[7] = Xr ^ ~hn & br, e[16] = Tr ^ ~qr & zr, e[17] = Pr ^ ~Kr & Vr, e[26] = ln ^ ~Cr & kr, e[27] = un ^ ~xr & Rr, e[36] = $r ^ ~en & rn, e[37] = Fr ^ ~tn & nn, e[46] = Er ^ ~Nr & Or, e[47] = Sr ^ ~Dr & Br, e[8] = dn ^ ~he & Ir, e[9] = hn ^ ~br & Mr, e[18] = qr ^ ~zr & sn, e[19] = Kr ^ ~Vr & an, e[28] = Cr ^ ~kr & jr, e[29] = xr ^ ~Rr & Wr, e[38] = en ^ ~rn & yr, e[39] = tn ^ ~nn & vr, e[48] = Nr ^ ~Or & Gr, e[49] = Dr ^ ~Br & Zr, e[0] ^= yi[t * 2], e[1] ^= yi[t * 2 + 1];
2467
2467
  }
2468
2468
  };
2469
- const $t = Ts;
2469
+ const $t = Ls;
2470
2470
  function ot() {
2471
2471
  this.state = [
2472
2472
  0,
@@ -2520,13 +2520,13 @@ ot.prototype.copy = function(e) {
2520
2520
  };
2521
2521
  var Jo = ot, Qo = Yo(Jo);
2522
2522
  const Xo = Qo;
2523
- function Ps(e) {
2523
+ function Ts(e) {
2524
2524
  return Buffer.allocUnsafe(e).fill(0);
2525
2525
  }
2526
2526
  function ec(e) {
2527
2527
  return e.toString(2).length;
2528
2528
  }
2529
- function Ns(e, t) {
2529
+ function Ps(e, t) {
2530
2530
  let r = e.toString(16);
2531
2531
  r.length % 2 !== 0 && (r = "0" + r);
2532
2532
  const n = r.match(/.{1,2}/g).map((i) => parseInt(i, 16));
@@ -2544,25 +2544,25 @@ function tc(e, t) {
2544
2544
  n = e;
2545
2545
  return n &= (1n << BigInt(t)) - 1n, n;
2546
2546
  }
2547
- function Os(e, t, r) {
2548
- const n = Ps(t);
2547
+ function Ns(e, t, r) {
2548
+ const n = Ts(t);
2549
2549
  return e = rr(e), r ? e.length < t ? (e.copy(n), n) : e.slice(0, t) : e.length < t ? (e.copy(n, t - e.length), n) : e.slice(-t);
2550
2550
  }
2551
2551
  function rc(e, t) {
2552
- return Os(e, t, !0);
2552
+ return Ns(e, t, !0);
2553
2553
  }
2554
2554
  function rr(e) {
2555
2555
  if (!Buffer.isBuffer(e))
2556
2556
  if (Array.isArray(e))
2557
2557
  e = Buffer.from(e);
2558
2558
  else if (typeof e == "string")
2559
- Ds(e) ? e = Buffer.from(sc(Bs(e)), "hex") : e = Buffer.from(e);
2559
+ Ds(e) ? e = Buffer.from(sc(Os(e)), "hex") : e = Buffer.from(e);
2560
2560
  else if (typeof e == "number")
2561
2561
  e = intToBuffer(e);
2562
2562
  else if (e == null)
2563
2563
  e = Buffer.allocUnsafe(0);
2564
2564
  else if (typeof e == "bigint")
2565
- e = Ns(e);
2565
+ e = Ps(e);
2566
2566
  else if (e.toArray)
2567
2567
  e = Buffer.from(e.toArray());
2568
2568
  else
@@ -2581,34 +2581,34 @@ function sc(e) {
2581
2581
  function Ds(e) {
2582
2582
  return typeof e == "string" && e.match(/^0x[0-9A-Fa-f]*$/);
2583
2583
  }
2584
- function Bs(e) {
2584
+ function Os(e) {
2585
2585
  return typeof e == "string" && e.startsWith("0x") ? e.slice(2) : e;
2586
2586
  }
2587
- var js = {
2588
- zeros: Ps,
2589
- setLength: Os,
2587
+ var Bs = {
2588
+ zeros: Ts,
2589
+ setLength: Ns,
2590
2590
  setLengthRight: rc,
2591
2591
  isHexString: Ds,
2592
- stripHexPrefix: Bs,
2592
+ stripHexPrefix: Os,
2593
2593
  toBuffer: rr,
2594
2594
  bufferToHex: nc,
2595
2595
  keccak: ic,
2596
2596
  bitLengthFromBigInt: ec,
2597
- bufferBEFromBigInt: Ns,
2597
+ bufferBEFromBigInt: Ps,
2598
2598
  twosFromBigInt: tc
2599
2599
  };
2600
- const X = js;
2601
- function Ws(e) {
2600
+ const X = Bs;
2601
+ function js(e) {
2602
2602
  return e.startsWith("int[") ? "int256" + e.slice(3) : e === "int" ? "int256" : e.startsWith("uint[") ? "uint256" + e.slice(4) : e === "uint" ? "uint256" : e.startsWith("fixed[") ? "fixed128x128" + e.slice(5) : e === "fixed" ? "fixed128x128" : e.startsWith("ufixed[") ? "ufixed128x128" + e.slice(6) : e === "ufixed" ? "ufixed128x128" : e;
2603
2603
  }
2604
- function tt(e) {
2604
+ function et(e) {
2605
2605
  return parseInt(/^\D+(\d+)$/.exec(e)[1], 10);
2606
2606
  }
2607
- function mi(e) {
2607
+ function vi(e) {
2608
2608
  var t = /^\D+(\d+)x(\d+)$/.exec(e);
2609
2609
  return [parseInt(t[1], 10), parseInt(t[2], 10)];
2610
2610
  }
2611
- function Us(e) {
2611
+ function Ws(e) {
2612
2612
  var t = e.match(/(.*)\[(.*?)\]$/);
2613
2613
  return t ? t[2] === "" ? "dynamic" : parseInt(t[2], 10) : null;
2614
2614
  }
@@ -2631,7 +2631,7 @@ function fe(e, t) {
2631
2631
  if (oc(e)) {
2632
2632
  if (typeof t.length > "u")
2633
2633
  throw new Error("Not an array?");
2634
- if (r = Us(e), r !== "dynamic" && r !== 0 && t.length > r)
2634
+ if (r = Ws(e), r !== "dynamic" && r !== 0 && t.length > r)
2635
2635
  throw new Error("Elements exceed array size: " + r);
2636
2636
  i = [], e = e.slice(0, e.lastIndexOf("[")), typeof t == "string" && (t = JSON.parse(t));
2637
2637
  for (s in t)
@@ -2645,11 +2645,11 @@ function fe(e, t) {
2645
2645
  if (e === "bytes")
2646
2646
  return t = new Buffer(t), i = Buffer.concat([fe("uint256", t.length), t]), t.length % 32 !== 0 && (i = Buffer.concat([i, X.zeros(32 - t.length % 32)])), i;
2647
2647
  if (e.startsWith("bytes")) {
2648
- if (r = tt(e), r < 1 || r > 32)
2648
+ if (r = et(e), r < 1 || r > 32)
2649
2649
  throw new Error("Invalid bytes<N> width: " + r);
2650
2650
  return X.setLengthRight(t, 32);
2651
2651
  } else if (e.startsWith("uint")) {
2652
- if (r = tt(e), r % 8 || r < 8 || r > 256)
2652
+ if (r = et(e), r % 8 || r < 8 || r > 256)
2653
2653
  throw new Error("Invalid uint<N> width: " + r);
2654
2654
  n = We(t);
2655
2655
  const o = X.bitLengthFromBigInt(n);
@@ -2659,7 +2659,7 @@ function fe(e, t) {
2659
2659
  throw new Error("Supplied uint is negative");
2660
2660
  return X.bufferBEFromBigInt(n, 32);
2661
2661
  } else if (e.startsWith("int")) {
2662
- if (r = tt(e), r % 8 || r < 8 || r > 256)
2662
+ if (r = et(e), r % 8 || r < 8 || r > 256)
2663
2663
  throw new Error("Invalid int<N> width: " + r);
2664
2664
  n = We(t);
2665
2665
  const o = X.bitLengthFromBigInt(n);
@@ -2668,16 +2668,16 @@ function fe(e, t) {
2668
2668
  const c = X.twosFromBigInt(n, 256);
2669
2669
  return X.bufferBEFromBigInt(c, 32);
2670
2670
  } else if (e.startsWith("ufixed")) {
2671
- if (r = mi(e), n = We(t), n < 0)
2671
+ if (r = vi(e), n = We(t), n < 0)
2672
2672
  throw new Error("Supplied ufixed is negative");
2673
2673
  return fe("uint256", n * BigInt(2) ** BigInt(r[1]));
2674
2674
  } else if (e.startsWith("fixed"))
2675
- return r = mi(e), fe("int256", We(t) * BigInt(2) ** BigInt(r[1]));
2675
+ return r = vi(e), fe("int256", We(t) * BigInt(2) ** BigInt(r[1]));
2676
2676
  }
2677
2677
  throw new Error("Unsupported or invalid type: " + e);
2678
2678
  }
2679
2679
  function ac(e) {
2680
- return e === "string" || e === "bytes" || Us(e) === "dynamic";
2680
+ return e === "string" || e === "bytes" || Ws(e) === "dynamic";
2681
2681
  }
2682
2682
  function oc(e) {
2683
2683
  return e.lastIndexOf("]") === e.length - 1;
@@ -2685,16 +2685,16 @@ function oc(e) {
2685
2685
  function cc(e, t) {
2686
2686
  var r = [], n = [], i = 32 * e.length;
2687
2687
  for (var s in e) {
2688
- var a = Ws(e[s]), o = t[s], c = fe(a, o);
2688
+ var a = js(e[s]), o = t[s], c = fe(a, o);
2689
2689
  ac(a) ? (r.push(fe("uint256", i)), n.push(c), i += c.length) : r.push(c);
2690
2690
  }
2691
2691
  return Buffer.concat(r.concat(n));
2692
2692
  }
2693
- function Hs(e, t) {
2693
+ function Us(e, t) {
2694
2694
  if (e.length !== t.length)
2695
2695
  throw new Error("Number of types are not matching the values");
2696
2696
  for (var r, n, i = [], s = 0; s < e.length; s++) {
2697
- var a = Ws(e[s]), o = t[s];
2697
+ var a = js(e[s]), o = t[s];
2698
2698
  if (a === "bytes")
2699
2699
  i.push(o);
2700
2700
  else if (a === "string")
@@ -2704,11 +2704,11 @@ function Hs(e, t) {
2704
2704
  else if (a === "address")
2705
2705
  i.push(X.setLength(o, 20));
2706
2706
  else if (a.startsWith("bytes")) {
2707
- if (r = tt(a), r < 1 || r > 32)
2707
+ if (r = et(a), r < 1 || r > 32)
2708
2708
  throw new Error("Invalid bytes<N> width: " + r);
2709
2709
  i.push(X.setLengthRight(o, r));
2710
2710
  } else if (a.startsWith("uint")) {
2711
- if (r = tt(a), r % 8 || r < 8 || r > 256)
2711
+ if (r = et(a), r % 8 || r < 8 || r > 256)
2712
2712
  throw new Error("Invalid uint<N> width: " + r);
2713
2713
  n = We(o);
2714
2714
  const c = X.bitLengthFromBigInt(n);
@@ -2716,7 +2716,7 @@ function Hs(e, t) {
2716
2716
  throw new Error("Supplied uint exceeds width: " + r + " vs " + c);
2717
2717
  i.push(X.bufferBEFromBigInt(n, r / 8));
2718
2718
  } else if (a.startsWith("int")) {
2719
- if (r = tt(a), r % 8 || r < 8 || r > 256)
2719
+ if (r = et(a), r % 8 || r < 8 || r > 256)
2720
2720
  throw new Error("Invalid int<N> width: " + r);
2721
2721
  n = We(o);
2722
2722
  const c = X.bitLengthFromBigInt(n);
@@ -2730,14 +2730,14 @@ function Hs(e, t) {
2730
2730
  return Buffer.concat(i);
2731
2731
  }
2732
2732
  function lc(e, t) {
2733
- return X.keccak(Hs(e, t));
2733
+ return X.keccak(Us(e, t));
2734
2734
  }
2735
2735
  var uc = {
2736
2736
  rawEncode: cc,
2737
- solidityPack: Hs,
2737
+ solidityPack: Us,
2738
2738
  soliditySHA3: lc
2739
2739
  };
2740
- const ue = js, ht = uc, $s = {
2740
+ const ue = Bs, ft = uc, Hs = {
2741
2741
  type: "object",
2742
2742
  properties: {
2743
2743
  types: {
@@ -2782,7 +2782,7 @@ const ue = js, ht = uc, $s = {
2782
2782
  return typeof d == "string" && (d = Buffer.from(d, "utf8")), ["bytes32", ue.keccak(d)];
2783
2783
  if (c.lastIndexOf("]") === c.length - 1) {
2784
2784
  const p = c.slice(0, c.lastIndexOf("[")), h = d.map((_) => a(o, p, _));
2785
- return ["bytes32", ue.keccak(ht.rawEncode(
2785
+ return ["bytes32", ue.keccak(ft.rawEncode(
2786
2786
  h.map(([_]) => _),
2787
2787
  h.map(([, _]) => _)
2788
2788
  ))];
@@ -2809,7 +2809,7 @@ const ue = js, ht = uc, $s = {
2809
2809
  i.push(a.type), s.push(o);
2810
2810
  }
2811
2811
  }
2812
- return ht.rawEncode(i, s);
2812
+ return ft.rawEncode(i, s);
2813
2813
  },
2814
2814
  /**
2815
2815
  * Encodes the type of an object by encoding a comma delimited list of its members
@@ -2874,7 +2874,7 @@ const ue = js, ht = uc, $s = {
2874
2874
  */
2875
2875
  sanitizeData(e) {
2876
2876
  const t = {};
2877
- for (const r in $s.properties)
2877
+ for (const r in Hs.properties)
2878
2878
  e[r] && (t[r] = e[r]);
2879
2879
  return t.types && (t.types = Object.assign({ EIP712Domain: [] }, t.types)), t;
2880
2880
  },
@@ -2890,7 +2890,7 @@ const ue = js, ht = uc, $s = {
2890
2890
  }
2891
2891
  };
2892
2892
  var dc = {
2893
- TYPED_MESSAGE_SCHEMA: $s,
2893
+ TYPED_MESSAGE_SCHEMA: Hs,
2894
2894
  TypedDataUtils: xn,
2895
2895
  hashForSignTypedDataLegacy: function(e) {
2896
2896
  return hc(e.data);
@@ -2913,11 +2913,11 @@ function hc(e) {
2913
2913
  if (!s.name) throw t;
2914
2914
  return s.type + " " + s.name;
2915
2915
  });
2916
- return ht.soliditySHA3(
2916
+ return ft.soliditySHA3(
2917
2917
  ["bytes32", "bytes32"],
2918
2918
  [
2919
- ht.soliditySHA3(new Array(e.length).fill("string"), i),
2920
- ht.soliditySHA3(n, r)
2919
+ ft.soliditySHA3(new Array(e.length).fill("string"), i),
2920
+ ft.soliditySHA3(n, r)
2921
2921
  ]
2922
2922
  );
2923
2923
  }
@@ -2927,9 +2927,9 @@ ge.APP_VERSION_KEY = ge.LOCAL_STORAGE_ADDRESSES_KEY = ge.WALLET_USER_NAME_KEY =
2927
2927
  ge.WALLET_USER_NAME_KEY = "walletUsername";
2928
2928
  ge.LOCAL_STORAGE_ADDRESSES_KEY = "Addresses";
2929
2929
  ge.APP_VERSION_KEY = "AppVersion";
2930
- var wt = {};
2931
- Object.defineProperty(wt, "__esModule", { value: !0 });
2932
- wt.RelayEventManager = void 0;
2930
+ var Et = {};
2931
+ Object.defineProperty(Et, "__esModule", { value: !0 });
2932
+ Et.RelayEventManager = void 0;
2933
2933
  const fc = M;
2934
2934
  class _c {
2935
2935
  constructor() {
@@ -2941,7 +2941,7 @@ class _c {
2941
2941
  return this.callbacks.get(r) && this.callbacks.delete(r), t;
2942
2942
  }
2943
2943
  }
2944
- wt.RelayEventManager = _c;
2944
+ Et.RelayEventManager = _c;
2945
2945
  var nr = {}, ir = {}, sr = {};
2946
2946
  Object.defineProperty(sr, "__esModule", { value: !0 });
2947
2947
  sr.WalletLinkCipher = void 0;
@@ -2984,8 +2984,8 @@ class pc {
2984
2984
  iv: new Uint8Array(o)
2985
2985
  };
2986
2986
  try {
2987
- const _ = await window.crypto.subtle.decrypt(h, s, p), g = new TextDecoder();
2988
- n(g.decode(_));
2987
+ const _ = await window.crypto.subtle.decrypt(h, s, p), y = new TextDecoder();
2988
+ n(y.decode(_));
2989
2989
  } catch (_) {
2990
2990
  i(_);
2991
2991
  }
@@ -3036,13 +3036,13 @@ class gc {
3036
3036
  }
3037
3037
  }
3038
3038
  ar.WalletLinkHTTP = gc;
3039
- var nt = {};
3040
- Object.defineProperty(nt, "__esModule", { value: !0 });
3041
- nt.WalletLinkWebSocket = nt.ConnectionState = void 0;
3042
- var et;
3039
+ var rt = {};
3040
+ Object.defineProperty(rt, "__esModule", { value: !0 });
3041
+ rt.WalletLinkWebSocket = rt.ConnectionState = void 0;
3042
+ var Xe;
3043
3043
  (function(e) {
3044
3044
  e[e.DISCONNECTED = 0] = "DISCONNECTED", e[e.CONNECTING = 1] = "CONNECTING", e[e.CONNECTED = 2] = "CONNECTED";
3045
- })(et || (nt.ConnectionState = et = {}));
3045
+ })(Xe || (rt.ConnectionState = Xe = {}));
3046
3046
  class bc {
3047
3047
  setConnectionStateListener(t) {
3048
3048
  this.connectionStateListener = t;
@@ -3074,12 +3074,12 @@ class bc {
3074
3074
  r(s);
3075
3075
  return;
3076
3076
  }
3077
- (n = this.connectionStateListener) === null || n === void 0 || n.call(this, et.CONNECTING), i.onclose = (s) => {
3077
+ (n = this.connectionStateListener) === null || n === void 0 || n.call(this, Xe.CONNECTING), i.onclose = (s) => {
3078
3078
  var a;
3079
- this.clearWebSocket(), r(new Error(`websocket error ${s.code}: ${s.reason}`)), (a = this.connectionStateListener) === null || a === void 0 || a.call(this, et.DISCONNECTED);
3079
+ this.clearWebSocket(), r(new Error(`websocket error ${s.code}: ${s.reason}`)), (a = this.connectionStateListener) === null || a === void 0 || a.call(this, Xe.DISCONNECTED);
3080
3080
  }, i.onopen = (s) => {
3081
3081
  var a;
3082
- t(), (a = this.connectionStateListener) === null || a === void 0 || a.call(this, et.CONNECTED), this.pendingData.length > 0 && ([...this.pendingData].forEach((c) => this.sendData(c)), this.pendingData = []);
3082
+ t(), (a = this.connectionStateListener) === null || a === void 0 || a.call(this, Xe.CONNECTED), this.pendingData.length > 0 && ([...this.pendingData].forEach((c) => this.sendData(c)), this.pendingData = []);
3083
3083
  }, i.onmessage = (s) => {
3084
3084
  var a, o;
3085
3085
  if (s.data === "h")
@@ -3102,7 +3102,7 @@ class bc {
3102
3102
  var t;
3103
3103
  const { webSocket: r } = this;
3104
3104
  if (r) {
3105
- this.clearWebSocket(), (t = this.connectionStateListener) === null || t === void 0 || t.call(this, et.DISCONNECTED), this.connectionStateListener = void 0, this.incomingDataListener = void 0;
3105
+ this.clearWebSocket(), (t = this.connectionStateListener) === null || t === void 0 || t.call(this, Xe.DISCONNECTED), this.connectionStateListener = void 0, this.incomingDataListener = void 0;
3106
3106
  try {
3107
3107
  r.close();
3108
3108
  } catch {
@@ -3126,10 +3126,10 @@ class bc {
3126
3126
  t && (this.webSocket = null, t.onclose = null, t.onerror = null, t.onmessage = null, t.onopen = null);
3127
3127
  }
3128
3128
  }
3129
- nt.WalletLinkWebSocket = bc;
3129
+ rt.WalletLinkWebSocket = bc;
3130
3130
  Object.defineProperty(ir, "__esModule", { value: !0 });
3131
3131
  ir.WalletLinkConnection = void 0;
3132
- const wi = ge, yc = sr, vc = ar, Nt = nt, Je = J, Ei = 1e4, mc = 6e4;
3132
+ const mi = ge, yc = sr, vc = ar, Nt = rt, Ye = J, wi = 1e4, mc = 6e4;
3133
3133
  class wc {
3134
3134
  /**
3135
3135
  * Constructor
@@ -3139,7 +3139,7 @@ class wc {
3139
3139
  * @param [WebSocketClass] Custom WebSocket implementation
3140
3140
  */
3141
3141
  constructor({ session: t, linkAPIUrl: r, listener: n, WebSocketClass: i = WebSocket }) {
3142
- this.destroyed = !1, this.lastHeartbeatResponse = 0, this.nextReqId = (0, Je.IntNumber)(1), this._connected = !1, this._linked = !1, this.shouldFetchUnseenEventsOnConnect = !1, this.requestResolutions = /* @__PURE__ */ new Map(), this.handleSessionMetadataUpdated = (a) => {
3142
+ this.destroyed = !1, this.lastHeartbeatResponse = 0, this.nextReqId = (0, Ye.IntNumber)(1), this._connected = !1, this._linked = !1, this.shouldFetchUnseenEventsOnConnect = !1, this.requestResolutions = /* @__PURE__ */ new Map(), this.handleSessionMetadataUpdated = (a) => {
3143
3143
  if (!a)
3144
3144
  return;
3145
3145
  (/* @__PURE__ */ new Map([
@@ -3171,9 +3171,9 @@ class wc {
3171
3171
  (c = this.listener) === null || c === void 0 || c.metadataUpdated(a, d);
3172
3172
  }
3173
3173
  }, this.handleWalletUsernameUpdated = async (a) => {
3174
- this.handleMetadataUpdated(wi.WALLET_USER_NAME_KEY, a);
3174
+ this.handleMetadataUpdated(mi.WALLET_USER_NAME_KEY, a);
3175
3175
  }, this.handleAppVersionUpdated = async (a) => {
3176
- this.handleMetadataUpdated(wi.APP_VERSION_KEY, a);
3176
+ this.handleMetadataUpdated(mi.APP_VERSION_KEY, a);
3177
3177
  }, this.handleChainUpdated = async (a, o) => {
3178
3178
  var c;
3179
3179
  {
@@ -3202,7 +3202,7 @@ class wc {
3202
3202
  }
3203
3203
  this.updateLastHeartbeat(), setInterval(() => {
3204
3204
  this.heartbeat();
3205
- }, Ei), this.shouldFetchUnseenEventsOnConnect && this.fetchUnseenEventsAPI();
3205
+ }, wi), this.shouldFetchUnseenEventsOnConnect && this.fetchUnseenEventsAPI();
3206
3206
  break;
3207
3207
  case Nt.ConnectionState.CONNECTING:
3208
3208
  break;
@@ -3312,7 +3312,7 @@ class wc {
3312
3312
  async setSessionMetadata(t, r) {
3313
3313
  const n = {
3314
3314
  type: "SetSessionConfig",
3315
- id: (0, Je.IntNumber)(this.nextReqId++),
3315
+ id: (0, Ye.IntNumber)(this.nextReqId++),
3316
3316
  sessionId: this.session.id,
3317
3317
  metadata: { [t]: r }
3318
3318
  };
@@ -3332,7 +3332,7 @@ class wc {
3332
3332
  async publishEvent(t, r, n = !1) {
3333
3333
  const i = await this.cipher.encrypt(JSON.stringify(Object.assign(Object.assign({}, r), { origin: location.origin, relaySource: "coinbaseWalletExtension" in window && window.coinbaseWalletExtension ? "injected_sdk" : "sdk" }))), s = {
3334
3334
  type: "PublishEvent",
3335
- id: (0, Je.IntNumber)(this.nextReqId++),
3335
+ id: (0, Ye.IntNumber)(this.nextReqId++),
3336
3336
  sessionId: this.session.id,
3337
3337
  event: t,
3338
3338
  data: i,
@@ -3352,7 +3352,7 @@ class wc {
3352
3352
  this.lastHeartbeatResponse = Date.now();
3353
3353
  }
3354
3354
  heartbeat() {
3355
- if (Date.now() - this.lastHeartbeatResponse > Ei * 2) {
3355
+ if (Date.now() - this.lastHeartbeatResponse > wi * 2) {
3356
3356
  this.ws.disconnect();
3357
3357
  return;
3358
3358
  }
@@ -3381,7 +3381,7 @@ class wc {
3381
3381
  async authenticate() {
3382
3382
  const t = {
3383
3383
  type: "HostSession",
3384
- id: (0, Je.IntNumber)(this.nextReqId++),
3384
+ id: (0, Ye.IntNumber)(this.nextReqId++),
3385
3385
  sessionId: this.session.id,
3386
3386
  sessionKey: this.session.key
3387
3387
  }, r = await this.makeRequest(t);
@@ -3391,7 +3391,7 @@ class wc {
3391
3391
  sendIsLinked() {
3392
3392
  const t = {
3393
3393
  type: "IsLinked",
3394
- id: (0, Je.IntNumber)(this.nextReqId++),
3394
+ id: (0, Ye.IntNumber)(this.nextReqId++),
3395
3395
  sessionId: this.session.id
3396
3396
  };
3397
3397
  this.sendData(t);
@@ -3399,19 +3399,19 @@ class wc {
3399
3399
  sendGetSessionConfig() {
3400
3400
  const t = {
3401
3401
  type: "GetSessionConfig",
3402
- id: (0, Je.IntNumber)(this.nextReqId++),
3402
+ id: (0, Ye.IntNumber)(this.nextReqId++),
3403
3403
  sessionId: this.session.id
3404
3404
  };
3405
3405
  this.sendData(t);
3406
3406
  }
3407
3407
  }
3408
3408
  ir.WalletLinkConnection = wc;
3409
- var or = {}, Fs = { exports: {} }, qs = Be.Buffer;
3409
+ var or = {}, $s = { exports: {} }, Fs = Be.Buffer;
3410
3410
  function cr(e, t) {
3411
- this._block = qs.alloc(e), this._finalSize = t, this._blockSize = e, this._len = 0;
3411
+ this._block = Fs.alloc(e), this._finalSize = t, this._blockSize = e, this._len = 0;
3412
3412
  }
3413
3413
  cr.prototype.update = function(e, t) {
3414
- typeof e == "string" && (t = t || "utf8", e = qs.from(e, t));
3414
+ typeof e == "string" && (t = t || "utf8", e = Fs.from(e, t));
3415
3415
  for (var r = this._block, n = this._blockSize, i = e.length, s = this._len, a = 0; a < i; ) {
3416
3416
  for (var o = s % n, c = Math.min(i - a, n - o), d = 0; d < c; d++)
3417
3417
  r[o + d] = e[a + d];
@@ -3436,17 +3436,17 @@ cr.prototype.digest = function(e) {
3436
3436
  cr.prototype._update = function() {
3437
3437
  throw new Error("_update must be implemented by subclass");
3438
3438
  };
3439
- var ct = cr, Ec = de(), Ks = ct, Sc = Be.Buffer, Cc = [
3439
+ var ct = cr, Ec = de(), qs = ct, Sc = Be.Buffer, Cc = [
3440
3440
  1518500249,
3441
3441
  1859775393,
3442
3442
  -1894007588,
3443
3443
  -899497514
3444
3444
  ], xc = new Array(80);
3445
- function Et() {
3446
- this.init(), this._w = xc, Ks.call(this, 64, 56);
3445
+ function St() {
3446
+ this.init(), this._w = xc, qs.call(this, 64, 56);
3447
3447
  }
3448
- Ec(Et, Ks);
3449
- Et.prototype.init = function() {
3448
+ Ec(St, qs);
3449
+ St.prototype.init = function() {
3450
3450
  return this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878, this._e = 3285377520, this;
3451
3451
  };
3452
3452
  function kc(e) {
@@ -3458,7 +3458,7 @@ function Rc(e) {
3458
3458
  function Ic(e, t, r, n) {
3459
3459
  return e === 0 ? t & r | ~t & n : e === 2 ? t & r | t & n | r & n : t ^ r ^ n;
3460
3460
  }
3461
- Et.prototype._update = function(e) {
3461
+ St.prototype._update = function(e) {
3462
3462
  for (var t = this._w, r = this._a | 0, n = this._b | 0, i = this._c | 0, s = this._d | 0, a = this._e | 0, o = 0; o < 16; ++o) t[o] = e.readInt32BE(o * 4);
3463
3463
  for (; o < 80; ++o) t[o] = t[o - 3] ^ t[o - 8] ^ t[o - 14] ^ t[o - 16];
3464
3464
  for (var c = 0; c < 80; ++c) {
@@ -3467,49 +3467,49 @@ Et.prototype._update = function(e) {
3467
3467
  }
3468
3468
  this._a = r + this._a | 0, this._b = n + this._b | 0, this._c = i + this._c | 0, this._d = s + this._d | 0, this._e = a + this._e | 0;
3469
3469
  };
3470
- Et.prototype._hash = function() {
3470
+ St.prototype._hash = function() {
3471
3471
  var e = Sc.allocUnsafe(20);
3472
3472
  return e.writeInt32BE(this._a | 0, 0), e.writeInt32BE(this._b | 0, 4), e.writeInt32BE(this._c | 0, 8), e.writeInt32BE(this._d | 0, 12), e.writeInt32BE(this._e | 0, 16), e;
3473
3473
  };
3474
- var Mc = Et, Ac = de(), zs = ct, Lc = Be.Buffer, Tc = [
3474
+ var Mc = St, Ac = de(), Ks = ct, Lc = Be.Buffer, Tc = [
3475
3475
  1518500249,
3476
3476
  1859775393,
3477
3477
  -1894007588,
3478
3478
  -899497514
3479
3479
  ], Pc = new Array(80);
3480
- function St() {
3481
- this.init(), this._w = Pc, zs.call(this, 64, 56);
3480
+ function Ct() {
3481
+ this.init(), this._w = Pc, Ks.call(this, 64, 56);
3482
3482
  }
3483
- Ac(St, zs);
3484
- St.prototype.init = function() {
3483
+ Ac(Ct, Ks);
3484
+ Ct.prototype.init = function() {
3485
3485
  return this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878, this._e = 3285377520, this;
3486
3486
  };
3487
3487
  function Nc(e) {
3488
3488
  return e << 1 | e >>> 31;
3489
3489
  }
3490
- function Oc(e) {
3490
+ function Dc(e) {
3491
3491
  return e << 5 | e >>> 27;
3492
3492
  }
3493
- function Dc(e) {
3493
+ function Oc(e) {
3494
3494
  return e << 30 | e >>> 2;
3495
3495
  }
3496
3496
  function Bc(e, t, r, n) {
3497
3497
  return e === 0 ? t & r | ~t & n : e === 2 ? t & r | t & n | r & n : t ^ r ^ n;
3498
3498
  }
3499
- St.prototype._update = function(e) {
3499
+ Ct.prototype._update = function(e) {
3500
3500
  for (var t = this._w, r = this._a | 0, n = this._b | 0, i = this._c | 0, s = this._d | 0, a = this._e | 0, o = 0; o < 16; ++o) t[o] = e.readInt32BE(o * 4);
3501
3501
  for (; o < 80; ++o) t[o] = Nc(t[o - 3] ^ t[o - 8] ^ t[o - 14] ^ t[o - 16]);
3502
3502
  for (var c = 0; c < 80; ++c) {
3503
- var d = ~~(c / 20), p = Oc(r) + Bc(d, n, i, s) + a + t[c] + Tc[d] | 0;
3504
- a = s, s = i, i = Dc(n), n = r, r = p;
3503
+ var d = ~~(c / 20), p = Dc(r) + Bc(d, n, i, s) + a + t[c] + Tc[d] | 0;
3504
+ a = s, s = i, i = Oc(n), n = r, r = p;
3505
3505
  }
3506
3506
  this._a = r + this._a | 0, this._b = n + this._b | 0, this._c = i + this._c | 0, this._d = s + this._d | 0, this._e = a + this._e | 0;
3507
3507
  };
3508
- St.prototype._hash = function() {
3508
+ Ct.prototype._hash = function() {
3509
3509
  var e = Lc.allocUnsafe(20);
3510
3510
  return e.writeInt32BE(this._a | 0, 0), e.writeInt32BE(this._b | 0, 4), e.writeInt32BE(this._c | 0, 8), e.writeInt32BE(this._d | 0, 12), e.writeInt32BE(this._e | 0, 16), e;
3511
3511
  };
3512
- var jc = St, Wc = de(), Vs = ct, Uc = Be.Buffer, Hc = [
3512
+ var jc = Ct, Wc = de(), zs = ct, Uc = Be.Buffer, Hc = [
3513
3513
  1116352408,
3514
3514
  1899447441,
3515
3515
  3049323471,
@@ -3575,11 +3575,11 @@ var jc = St, Wc = de(), Vs = ct, Uc = Be.Buffer, Hc = [
3575
3575
  3204031479,
3576
3576
  3329325298
3577
3577
  ], $c = new Array(64);
3578
- function Ct() {
3579
- this.init(), this._w = $c, Vs.call(this, 64, 56);
3578
+ function xt() {
3579
+ this.init(), this._w = $c, zs.call(this, 64, 56);
3580
3580
  }
3581
- Wc(Ct, Vs);
3582
- Ct.prototype.init = function() {
3581
+ Wc(xt, zs);
3582
+ xt.prototype.init = function() {
3583
3583
  return this._a = 1779033703, this._b = 3144134277, this._c = 1013904242, this._d = 2773480762, this._e = 1359893119, this._f = 2600822924, this._g = 528734635, this._h = 1541459225, this;
3584
3584
  };
3585
3585
  function Fc(e, t, r) {
@@ -3600,20 +3600,20 @@ function Vc(e) {
3600
3600
  function Gc(e) {
3601
3601
  return (e >>> 17 | e << 15) ^ (e >>> 19 | e << 13) ^ e >>> 10;
3602
3602
  }
3603
- Ct.prototype._update = function(e) {
3603
+ xt.prototype._update = function(e) {
3604
3604
  for (var t = this._w, r = this._a | 0, n = this._b | 0, i = this._c | 0, s = this._d | 0, a = this._e | 0, o = this._f | 0, c = this._g | 0, d = this._h | 0, p = 0; p < 16; ++p) t[p] = e.readInt32BE(p * 4);
3605
3605
  for (; p < 64; ++p) t[p] = Gc(t[p - 2]) + t[p - 7] + Vc(t[p - 15]) + t[p - 16] | 0;
3606
3606
  for (var h = 0; h < 64; ++h) {
3607
- var _ = d + zc(a) + Fc(a, o, c) + Hc[h] + t[h] | 0, g = Kc(r) + qc(r, n, i) | 0;
3608
- d = c, c = o, o = a, a = s + _ | 0, s = i, i = n, n = r, r = _ + g | 0;
3607
+ var _ = d + zc(a) + Fc(a, o, c) + Hc[h] + t[h] | 0, y = Kc(r) + qc(r, n, i) | 0;
3608
+ d = c, c = o, o = a, a = s + _ | 0, s = i, i = n, n = r, r = _ + y | 0;
3609
3609
  }
3610
3610
  this._a = r + this._a | 0, this._b = n + this._b | 0, this._c = i + this._c | 0, this._d = s + this._d | 0, this._e = a + this._e | 0, this._f = o + this._f | 0, this._g = c + this._g | 0, this._h = d + this._h | 0;
3611
3611
  };
3612
- Ct.prototype._hash = function() {
3612
+ xt.prototype._hash = function() {
3613
3613
  var e = Uc.allocUnsafe(32);
3614
3614
  return e.writeInt32BE(this._a, 0), e.writeInt32BE(this._b, 4), e.writeInt32BE(this._c, 8), e.writeInt32BE(this._d, 12), e.writeInt32BE(this._e, 16), e.writeInt32BE(this._f, 20), e.writeInt32BE(this._g, 24), e.writeInt32BE(this._h, 28), e;
3615
3615
  };
3616
- var Gs = Ct, Zc = de(), Yc = Gs, Jc = ct, Qc = Be.Buffer, Xc = new Array(64);
3616
+ var Vs = xt, Zc = de(), Yc = Vs, Jc = ct, Qc = Be.Buffer, Xc = new Array(64);
3617
3617
  function lr() {
3618
3618
  this.init(), this._w = Xc, Jc.call(this, 64, 56);
3619
3619
  }
@@ -3625,7 +3625,7 @@ lr.prototype._hash = function() {
3625
3625
  var e = Qc.allocUnsafe(28);
3626
3626
  return e.writeInt32BE(this._a, 0), e.writeInt32BE(this._b, 4), e.writeInt32BE(this._c, 8), e.writeInt32BE(this._d, 12), e.writeInt32BE(this._e, 16), e.writeInt32BE(this._f, 20), e.writeInt32BE(this._g, 24), e;
3627
3627
  };
3628
- var el = lr, tl = de(), Zs = ct, rl = Be.Buffer, Si = [
3628
+ var el = lr, tl = de(), Gs = ct, rl = Be.Buffer, Ei = [
3629
3629
  1116352408,
3630
3630
  3609767458,
3631
3631
  1899447441,
@@ -3787,23 +3787,23 @@ var el = lr, tl = de(), Zs = ct, rl = Be.Buffer, Si = [
3787
3787
  1816402316,
3788
3788
  1246189591
3789
3789
  ], nl = new Array(160);
3790
- function xt() {
3791
- this.init(), this._w = nl, Zs.call(this, 128, 112);
3790
+ function kt() {
3791
+ this.init(), this._w = nl, Gs.call(this, 128, 112);
3792
3792
  }
3793
- tl(xt, Zs);
3794
- xt.prototype.init = function() {
3793
+ tl(kt, Gs);
3794
+ kt.prototype.init = function() {
3795
3795
  return this._ah = 1779033703, this._bh = 3144134277, this._ch = 1013904242, this._dh = 2773480762, this._eh = 1359893119, this._fh = 2600822924, this._gh = 528734635, this._hh = 1541459225, this._al = 4089235720, this._bl = 2227873595, this._cl = 4271175723, this._dl = 1595750129, this._el = 2917565137, this._fl = 725511199, this._gl = 4215389547, this._hl = 327033209, this;
3796
3796
  };
3797
- function Ci(e, t, r) {
3797
+ function Si(e, t, r) {
3798
3798
  return r ^ e & (t ^ r);
3799
3799
  }
3800
- function xi(e, t, r) {
3800
+ function Ci(e, t, r) {
3801
3801
  return e & t | r & (e | t);
3802
3802
  }
3803
- function ki(e, t) {
3803
+ function xi(e, t) {
3804
3804
  return (e >>> 28 | t << 4) ^ (t >>> 2 | e << 30) ^ (t >>> 7 | e << 25);
3805
3805
  }
3806
- function Ri(e, t) {
3806
+ function ki(e, t) {
3807
3807
  return (e >>> 14 | t << 18) ^ (e >>> 18 | t << 14) ^ (t >>> 9 | e << 23);
3808
3808
  }
3809
3809
  function il(e, t) {
@@ -3821,32 +3821,32 @@ function ol(e, t) {
3821
3821
  function V(e, t) {
3822
3822
  return e >>> 0 < t >>> 0 ? 1 : 0;
3823
3823
  }
3824
- xt.prototype._update = function(e) {
3825
- for (var t = this._w, r = this._ah | 0, n = this._bh | 0, i = this._ch | 0, s = this._dh | 0, a = this._eh | 0, o = this._fh | 0, c = this._gh | 0, d = this._hh | 0, p = this._al | 0, h = this._bl | 0, _ = this._cl | 0, g = this._dl | 0, w = this._el | 0, k = this._fl | 0, m = this._gl | 0, f = this._hl | 0, v = 0; v < 32; v += 2)
3824
+ kt.prototype._update = function(e) {
3825
+ for (var t = this._w, r = this._ah | 0, n = this._bh | 0, i = this._ch | 0, s = this._dh | 0, a = this._eh | 0, o = this._fh | 0, c = this._gh | 0, d = this._hh | 0, p = this._al | 0, h = this._bl | 0, _ = this._cl | 0, y = this._dl | 0, w = this._el | 0, k = this._fl | 0, m = this._gl | 0, f = this._hl | 0, v = 0; v < 32; v += 2)
3826
3826
  t[v] = e.readInt32BE(v * 4), t[v + 1] = e.readInt32BE(v * 4 + 4);
3827
3827
  for (; v < 160; v += 2) {
3828
3828
  var E = t[v - 30], S = t[v - 15 * 2 + 1], R = il(E, S), A = sl(S, E);
3829
3829
  E = t[v - 2 * 2], S = t[v - 2 * 2 + 1];
3830
- var j = al(E, S), P = ol(S, E), T = t[v - 7 * 2], U = t[v - 7 * 2 + 1], Q = t[v - 16 * 2], me = t[v - 16 * 2 + 1], q = A + U | 0, ee = R + T + V(q, A) | 0;
3830
+ var j = al(E, S), P = ol(S, E), T = t[v - 7 * 2], H = t[v - 7 * 2 + 1], Q = t[v - 16 * 2], me = t[v - 16 * 2 + 1], q = A + H | 0, ee = R + T + V(q, A) | 0;
3831
3831
  q = q + P | 0, ee = ee + j + V(q, P) | 0, q = q + me | 0, ee = ee + Q + V(q, me) | 0, t[v] = ee, t[v + 1] = q;
3832
3832
  }
3833
3833
  for (var te = 0; te < 160; te += 2) {
3834
3834
  ee = t[te], q = t[te + 1];
3835
- var Pe = xi(r, n, i), ie = xi(p, h, _), we = ki(r, p), se = ki(p, r), Ee = Ri(a, w), Ne = Ri(w, a), Se = Si[te], re = Si[te + 1], Oe = Ci(a, o, c), Ce = Ci(w, k, m), y = f + Ne | 0, b = d + Ee + V(y, f) | 0;
3836
- y = y + Ce | 0, b = b + Oe + V(y, Ce) | 0, y = y + re | 0, b = b + Se + V(y, re) | 0, y = y + q | 0, b = b + ee + V(y, q) | 0;
3835
+ var Pe = Ci(r, n, i), ie = Ci(p, h, _), we = xi(r, p), se = xi(p, r), Ee = ki(a, w), Ne = ki(w, a), Se = Ei[te], re = Ei[te + 1], De = Si(a, o, c), Ce = Si(w, k, m), b = f + Ne | 0, g = d + Ee + V(b, f) | 0;
3836
+ b = b + Ce | 0, g = g + De + V(b, Ce) | 0, b = b + re | 0, g = g + Se + V(b, re) | 0, b = b + q | 0, g = g + ee + V(b, q) | 0;
3837
3837
  var x = se + ie | 0, L = we + Pe + V(x, se) | 0;
3838
- d = c, f = m, c = o, m = k, o = a, k = w, w = g + y | 0, a = s + b + V(w, g) | 0, s = i, g = _, i = n, _ = h, n = r, h = p, p = y + x | 0, r = b + L + V(p, y) | 0;
3838
+ d = c, f = m, c = o, m = k, o = a, k = w, w = y + b | 0, a = s + g + V(w, y) | 0, s = i, y = _, i = n, _ = h, n = r, h = p, p = b + x | 0, r = g + L + V(p, b) | 0;
3839
3839
  }
3840
- this._al = this._al + p | 0, this._bl = this._bl + h | 0, this._cl = this._cl + _ | 0, this._dl = this._dl + g | 0, this._el = this._el + w | 0, this._fl = this._fl + k | 0, this._gl = this._gl + m | 0, this._hl = this._hl + f | 0, this._ah = this._ah + r + V(this._al, p) | 0, this._bh = this._bh + n + V(this._bl, h) | 0, this._ch = this._ch + i + V(this._cl, _) | 0, this._dh = this._dh + s + V(this._dl, g) | 0, this._eh = this._eh + a + V(this._el, w) | 0, this._fh = this._fh + o + V(this._fl, k) | 0, this._gh = this._gh + c + V(this._gl, m) | 0, this._hh = this._hh + d + V(this._hl, f) | 0;
3840
+ this._al = this._al + p | 0, this._bl = this._bl + h | 0, this._cl = this._cl + _ | 0, this._dl = this._dl + y | 0, this._el = this._el + w | 0, this._fl = this._fl + k | 0, this._gl = this._gl + m | 0, this._hl = this._hl + f | 0, this._ah = this._ah + r + V(this._al, p) | 0, this._bh = this._bh + n + V(this._bl, h) | 0, this._ch = this._ch + i + V(this._cl, _) | 0, this._dh = this._dh + s + V(this._dl, y) | 0, this._eh = this._eh + a + V(this._el, w) | 0, this._fh = this._fh + o + V(this._fl, k) | 0, this._gh = this._gh + c + V(this._gl, m) | 0, this._hh = this._hh + d + V(this._hl, f) | 0;
3841
3841
  };
3842
- xt.prototype._hash = function() {
3842
+ kt.prototype._hash = function() {
3843
3843
  var e = rl.allocUnsafe(64);
3844
3844
  function t(r, n, i) {
3845
3845
  e.writeInt32BE(r, i), e.writeInt32BE(n, i + 4);
3846
3846
  }
3847
3847
  return t(this._ah, this._al, 0), t(this._bh, this._bl, 8), t(this._ch, this._cl, 16), t(this._dh, this._dl, 24), t(this._eh, this._el, 32), t(this._fh, this._fl, 40), t(this._gh, this._gl, 48), t(this._hh, this._hl, 56), e;
3848
3848
  };
3849
- var Ys = xt, cl = de(), ll = Ys, ul = ct, dl = Be.Buffer, hl = new Array(160);
3849
+ var Zs = kt, cl = de(), ll = Zs, ul = ct, dl = Be.Buffer, hl = new Array(160);
3850
3850
  function ur() {
3851
3851
  this.init(), this._w = hl, ul.call(this, 128, 112);
3852
3852
  }
@@ -3861,29 +3861,29 @@ ur.prototype._hash = function() {
3861
3861
  }
3862
3862
  return t(this._ah, this._al, 0), t(this._bh, this._bl, 8), t(this._ch, this._cl, 16), t(this._dh, this._dl, 24), t(this._eh, this._el, 32), t(this._fh, this._fl, 40), e;
3863
3863
  };
3864
- var fl = ur, Ke = Fs.exports = function(t) {
3864
+ var fl = ur, qe = $s.exports = function(t) {
3865
3865
  t = t.toLowerCase();
3866
- var r = Ke[t];
3866
+ var r = qe[t];
3867
3867
  if (!r) throw new Error(t + " is not supported (we accept pull requests)");
3868
3868
  return new r();
3869
3869
  };
3870
- Ke.sha = Mc;
3871
- Ke.sha1 = jc;
3872
- Ke.sha224 = el;
3873
- Ke.sha256 = Gs;
3874
- Ke.sha384 = fl;
3875
- Ke.sha512 = Ys;
3876
- var _l = Fs.exports;
3870
+ qe.sha = Mc;
3871
+ qe.sha1 = jc;
3872
+ qe.sha224 = el;
3873
+ qe.sha256 = Vs;
3874
+ qe.sha384 = fl;
3875
+ qe.sha512 = Zs;
3876
+ var _l = $s.exports;
3877
3877
  Object.defineProperty(or, "__esModule", { value: !0 });
3878
3878
  or.WalletLinkSession = void 0;
3879
- const pl = _l, Ii = M, Mi = "session:id", Ai = "session:secret", Li = "session:linked";
3880
- class qn {
3879
+ const pl = _l, Ri = M, Ii = "session:id", Mi = "session:secret", Ai = "session:linked";
3880
+ class Fn {
3881
3881
  constructor(t, r, n, i) {
3882
- this._storage = t, this._id = r || (0, Ii.randomBytesHex)(16), this._secret = n || (0, Ii.randomBytesHex)(32), this._key = new pl.sha256().update(`${this._id}, ${this._secret} WalletLink`).digest("hex"), this._linked = !!i;
3882
+ this._storage = t, this._id = r || (0, Ri.randomBytesHex)(16), this._secret = n || (0, Ri.randomBytesHex)(32), this._key = new pl.sha256().update(`${this._id}, ${this._secret} WalletLink`).digest("hex"), this._linked = !!i;
3883
3883
  }
3884
3884
  static load(t) {
3885
- const r = t.getItem(Mi), n = t.getItem(Li), i = t.getItem(Ai);
3886
- return r && i ? new qn(t, r, i, n === "1") : null;
3885
+ const r = t.getItem(Ii), n = t.getItem(Ai), i = t.getItem(Mi);
3886
+ return r && i ? new Fn(t, r, i, n === "1") : null;
3887
3887
  }
3888
3888
  get id() {
3889
3889
  return this._id;
@@ -3901,13 +3901,13 @@ class qn {
3901
3901
  this._linked = t, this.persistLinked();
3902
3902
  }
3903
3903
  save() {
3904
- return this._storage.setItem(Mi, this._id), this._storage.setItem(Ai, this._secret), this.persistLinked(), this;
3904
+ return this._storage.setItem(Ii, this._id), this._storage.setItem(Mi, this._secret), this.persistLinked(), this;
3905
3905
  }
3906
3906
  persistLinked() {
3907
- this._storage.setItem(Li, this._linked ? "1" : "0");
3907
+ this._storage.setItem(Ai, this._linked ? "1" : "0");
3908
3908
  }
3909
3909
  }
3910
- or.WalletLinkSession = qn;
3910
+ or.WalletLinkSession = Fn;
3911
3911
  var ne = {};
3912
3912
  Object.defineProperty(ne, "__esModule", { value: !0 });
3913
3913
  ne.isDarkMode = ne.isMobileWeb = ne.getLocation = ne.createQrUrl = void 0;
@@ -3947,119 +3947,118 @@ function ml() {
3947
3947
  return (t = (e = window == null ? void 0 : window.matchMedia) === null || e === void 0 ? void 0 : e.call(window, "(prefers-color-scheme: dark)").matches) !== null && t !== void 0 ? t : !1;
3948
3948
  }
3949
3949
  ne.isDarkMode = ml;
3950
- var dr = {}, kt = {}, Kn = {};
3951
- Object.defineProperty(Kn, "__esModule", { value: !0 });
3952
- Kn.default = '@namespace svg "http://www.w3.org/2000/svg";.-cbwsdk-css-reset,.-cbwsdk-css-reset *{animation:none;animation-delay:0;animation-direction:normal;animation-duration:0;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;backface-visibility:visible;background:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position:0 0;background-position-x:0;background-position-y:0;background-repeat:repeat;background-size:auto auto;border:0;border-style:none;border-width:medium;border-color:inherit;border-bottom:0;border-bottom-color:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image:none;border-left:0;border-left-color:inherit;border-left-style:none;border-left-width:medium;border-radius:0;border-right:0;border-right-color:inherit;border-right-style:none;border-right-width:medium;border-spacing:0;border-top:0;border-top-color:inherit;border-top-left-radius:0;border-top-right-radius:0;border-top-style:none;border-top-width:medium;box-shadow:none;box-sizing:border-box;caption-side:top;clear:none;clip:auto;color:inherit;columns:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium none currentColor;column-rule-color:currentColor;column-rule-style:none;column-rule-width:none;column-span:1;column-width:auto;counter-increment:none;counter-reset:none;direction:ltr;empty-cells:show;float:none;font:normal;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;height:auto;hyphens:none;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;margin:0;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;opacity:1;orphans:0;outline:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:"\\201C" "\\201D" "\\2018" "\\2019";tab-size:8;table-layout:auto;text-align:inherit;text-align-last:auto;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-shadow:none;text-transform:none;transform:none;transform-style:flat;transition:none;transition-delay:0s;transition-duration:0s;transition-property:none;transition-timing-function:ease;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:0;word-spacing:normal;z-index:auto}.-cbwsdk-css-reset strong{font-weight:bold}.-cbwsdk-css-reset *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;line-height:1}.-cbwsdk-css-reset [class*=container]{margin:0;padding:0}.-cbwsdk-css-reset style{display:none}';
3950
+ var dr = {}, Rt = {}, qn = {};
3951
+ Object.defineProperty(qn, "__esModule", { value: !0 });
3952
+ qn.default = '@namespace svg "http://www.w3.org/2000/svg";.-cbwsdk-css-reset,.-cbwsdk-css-reset *{animation:none;animation-delay:0;animation-direction:normal;animation-duration:0;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;backface-visibility:visible;background:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position:0 0;background-position-x:0;background-position-y:0;background-repeat:repeat;background-size:auto auto;border:0;border-style:none;border-width:medium;border-color:inherit;border-bottom:0;border-bottom-color:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image:none;border-left:0;border-left-color:inherit;border-left-style:none;border-left-width:medium;border-radius:0;border-right:0;border-right-color:inherit;border-right-style:none;border-right-width:medium;border-spacing:0;border-top:0;border-top-color:inherit;border-top-left-radius:0;border-top-right-radius:0;border-top-style:none;border-top-width:medium;box-shadow:none;box-sizing:border-box;caption-side:top;clear:none;clip:auto;color:inherit;columns:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium none currentColor;column-rule-color:currentColor;column-rule-style:none;column-rule-width:none;column-span:1;column-width:auto;counter-increment:none;counter-reset:none;direction:ltr;empty-cells:show;float:none;font:normal;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;height:auto;hyphens:none;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;margin:0;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;opacity:1;orphans:0;outline:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:"\\201C" "\\201D" "\\2018" "\\2019";tab-size:8;table-layout:auto;text-align:inherit;text-align-last:auto;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-shadow:none;text-transform:none;transform:none;transform-style:flat;transition:none;transition-delay:0s;transition-duration:0s;transition-property:none;transition-timing-function:ease;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:0;word-spacing:normal;z-index:auto}.-cbwsdk-css-reset strong{font-weight:bold}.-cbwsdk-css-reset *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;line-height:1}.-cbwsdk-css-reset [class*=container]{margin:0;padding:0}.-cbwsdk-css-reset style{display:none}';
3953
3953
  var wl = Z && Z.__importDefault || function(e) {
3954
3954
  return e && e.__esModule ? e : { default: e };
3955
3955
  };
3956
- Object.defineProperty(kt, "__esModule", { value: !0 });
3957
- kt.injectCssReset = void 0;
3958
- const El = wl(Kn);
3956
+ Object.defineProperty(Rt, "__esModule", { value: !0 });
3957
+ Rt.injectCssReset = void 0;
3958
+ const El = wl(qn);
3959
3959
  function Sl() {
3960
3960
  const e = document.createElement("style");
3961
3961
  e.type = "text/css", e.appendChild(document.createTextNode(El.default)), document.documentElement.appendChild(e);
3962
3962
  }
3963
- kt.injectCssReset = Sl;
3964
- var zn = {};
3965
- function Js(e) {
3963
+ Rt.injectCssReset = Sl;
3964
+ var Kn = {};
3965
+ function Ys(e) {
3966
3966
  var t, r, n = "";
3967
3967
  if (typeof e == "string" || typeof e == "number") n += e;
3968
- else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (r = Js(e[t])) && (n && (n += " "), n += r);
3968
+ else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (r = Ys(e[t])) && (n && (n += " "), n += r);
3969
3969
  else for (t in e) e[t] && (n && (n += " "), n += t);
3970
3970
  return n;
3971
3971
  }
3972
- function Ti() {
3973
- for (var e, t, r = 0, n = ""; r < arguments.length; ) (e = arguments[r++]) && (t = Js(e)) && (n && (n += " "), n += t);
3972
+ function Li() {
3973
+ for (var e, t, r = 0, n = ""; r < arguments.length; ) (e = arguments[r++]) && (t = Ys(e)) && (n && (n += " "), n += t);
3974
3974
  return n;
3975
3975
  }
3976
3976
  const Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3977
3977
  __proto__: null,
3978
- clsx: Ti,
3979
- default: Ti
3980
- }, Symbol.toStringTag, { value: "Module" })), Qs = /* @__PURE__ */ Un(Cl);
3981
- var Rt, $, Xs, ea, Ue, Pi, ta, Pn, Vn, Nn, On, ra, bt = {}, na = [], xl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, hr = Array.isArray;
3978
+ clsx: Li,
3979
+ default: Li
3980
+ }, Symbol.toStringTag, { value: "Module" })), Js = /* @__PURE__ */ Wn(Cl);
3981
+ var It, U, Qs, Xs, Ue, Ti, ea, Pn, zn, Nn, Dn, ta, yt = {}, ra = [], xl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, hr = Array.isArray;
3982
3982
  function Me(e, t) {
3983
3983
  for (var r in t) e[r] = t[r];
3984
3984
  return e;
3985
3985
  }
3986
- function ia(e) {
3987
- var t = e.parentNode;
3988
- t && t.removeChild(e);
3986
+ function na(e) {
3987
+ e && e.parentNode && e.parentNode.removeChild(e);
3989
3988
  }
3990
- function Dn(e, t, r) {
3989
+ function On(e, t, r) {
3991
3990
  var n, i, s, a = {};
3992
3991
  for (s in t) s == "key" ? n = t[s] : s == "ref" ? i = t[s] : a[s] = t[s];
3993
- if (arguments.length > 2 && (a.children = arguments.length > 3 ? Rt.call(arguments, 2) : r), typeof e == "function" && e.defaultProps != null) for (s in e.defaultProps) a[s] === void 0 && (a[s] = e.defaultProps[s]);
3994
- return ft(e, a, n, i, null);
3992
+ if (arguments.length > 2 && (a.children = arguments.length > 3 ? It.call(arguments, 2) : r), typeof e == "function" && e.defaultProps != null) for (s in e.defaultProps) a[s] === void 0 && (a[s] = e.defaultProps[s]);
3993
+ return _t(e, a, n, i, null);
3995
3994
  }
3996
- function ft(e, t, r, n, i) {
3997
- var s = { type: e, props: t, key: r, ref: n, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: i ?? ++Xs, __i: -1, __u: 0 };
3998
- return i == null && $.vnode != null && $.vnode(s), s;
3995
+ function _t(e, t, r, n, i) {
3996
+ var s = { type: e, props: t, key: r, ref: n, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: i ?? ++Qs, __i: -1, __u: 0 };
3997
+ return i == null && U.vnode != null && U.vnode(s), s;
3999
3998
  }
4000
3999
  function kl() {
4001
4000
  return { current: null };
4002
4001
  }
4003
- function It(e) {
4002
+ function lt(e) {
4004
4003
  return e.children;
4005
4004
  }
4006
- function _t(e, t) {
4005
+ function pt(e, t) {
4007
4006
  this.props = e, this.context = t;
4008
4007
  }
4009
- function He(e, t) {
4010
- if (t == null) return e.__ ? He(e.__, e.__i + 1) : null;
4008
+ function nt(e, t) {
4009
+ if (t == null) return e.__ ? nt(e.__, e.__i + 1) : null;
4011
4010
  for (var r; t < e.__k.length; t++) if ((r = e.__k[t]) != null && r.__e != null) return r.__e;
4012
- return typeof e.type == "function" ? He(e) : null;
4011
+ return typeof e.type == "function" ? nt(e) : null;
4013
4012
  }
4014
- function sa(e) {
4013
+ function ia(e) {
4015
4014
  var t, r;
4016
4015
  if ((e = e.__) != null && e.__c != null) {
4017
4016
  for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((r = e.__k[t]) != null && r.__e != null) {
4018
4017
  e.__e = e.__c.base = r.__e;
4019
4018
  break;
4020
4019
  }
4021
- return sa(e);
4020
+ return ia(e);
4022
4021
  }
4023
4022
  }
4024
4023
  function Bn(e) {
4025
- (!e.__d && (e.__d = !0) && Ue.push(e) && !Ft.__r++ || Pi !== $.debounceRendering) && ((Pi = $.debounceRendering) || ta)(Ft);
4024
+ (!e.__d && (e.__d = !0) && Ue.push(e) && !Ft.__r++ || Ti !== U.debounceRendering) && ((Ti = U.debounceRendering) || ea)(Ft);
4026
4025
  }
4027
4026
  function Ft() {
4028
4027
  var e, t, r, n, i, s, a, o;
4029
- for (Ue.sort(Pn); e = Ue.shift(); ) e.__d && (t = Ue.length, n = void 0, s = (i = (r = e).__v).__e, a = [], o = [], r.__P && ((n = Me({}, i)).__v = i.__v + 1, $.vnode && $.vnode(n), Gn(r.__P, n, i, r.__n, r.__P.namespaceURI, 32 & i.__u ? [s] : null, a, s ?? He(i), !!(32 & i.__u), o), n.__v = i.__v, n.__.__k[n.__i] = n, la(a, n, o), n.__e != s && sa(n)), Ue.length > t && Ue.sort(Pn));
4028
+ for (Ue.sort(Pn); e = Ue.shift(); ) e.__d && (t = Ue.length, n = void 0, s = (i = (r = e).__v).__e, a = [], o = [], r.__P && ((n = Me({}, i)).__v = i.__v + 1, U.vnode && U.vnode(n), Vn(r.__P, n, i, r.__n, r.__P.namespaceURI, 32 & i.__u ? [s] : null, a, s ?? nt(i), !!(32 & i.__u), o), n.__v = i.__v, n.__.__k[n.__i] = n, ca(a, n, o), n.__e != s && ia(n)), Ue.length > t && Ue.sort(Pn));
4030
4029
  Ft.__r = 0;
4031
4030
  }
4032
- function aa(e, t, r, n, i, s, a, o, c, d, p) {
4033
- var h, _, g, w, k, m = n && n.__k || na, f = t.length;
4034
- for (r.__d = c, Rl(r, t, m), c = r.__d, h = 0; h < f; h++) (g = r.__k[h]) != null && typeof g != "boolean" && typeof g != "function" && (_ = g.__i === -1 ? bt : m[g.__i] || bt, g.__i = h, Gn(e, g, _, i, s, a, o, c, d, p), w = g.__e, g.ref && _.ref != g.ref && (_.ref && Zn(_.ref, null, g), p.push(g.ref, g.__c || w, g)), k == null && w != null && (k = w), 65536 & g.__u || _.__k === g.__k ? c = oa(g, c, e) : typeof g.type == "function" && g.__d !== void 0 ? c = g.__d : w && (c = w.nextSibling), g.__d = void 0, g.__u &= -196609);
4031
+ function sa(e, t, r, n, i, s, a, o, c, d, p) {
4032
+ var h, _, y, w, k, m = n && n.__k || ra, f = t.length;
4033
+ for (r.__d = c, Rl(r, t, m), c = r.__d, h = 0; h < f; h++) (y = r.__k[h]) != null && (_ = y.__i === -1 ? yt : m[y.__i] || yt, y.__i = h, Vn(e, y, _, i, s, a, o, c, d, p), w = y.__e, y.ref && _.ref != y.ref && (_.ref && Gn(_.ref, null, y), p.push(y.ref, y.__c || w, y)), k == null && w != null && (k = w), 65536 & y.__u || _.__k === y.__k ? c = aa(y, c, e) : typeof y.type == "function" && y.__d !== void 0 ? c = y.__d : w && (c = w.nextSibling), y.__d = void 0, y.__u &= -196609);
4035
4034
  r.__d = c, r.__e = k;
4036
4035
  }
4037
4036
  function Rl(e, t, r) {
4038
4037
  var n, i, s, a, o, c = t.length, d = r.length, p = d, h = 0;
4039
- for (e.__k = [], n = 0; n < c; n++) a = n + h, (i = e.__k[n] = (i = t[n]) == null || typeof i == "boolean" || typeof i == "function" ? null : typeof i == "string" || typeof i == "number" || typeof i == "bigint" || i.constructor == String ? ft(null, i, null, null, null) : hr(i) ? ft(It, { children: i }, null, null, null) : i.constructor === void 0 && i.__b > 0 ? ft(i.type, i.props, i.key, i.ref ? i.ref : null, i.__v) : i) != null ? (i.__ = e, i.__b = e.__b + 1, o = Il(i, r, a, p), i.__i = o, s = null, o !== -1 && (p--, (s = r[o]) && (s.__u |= 131072)), s == null || s.__v === null ? (o == -1 && h--, typeof i.type != "function" && (i.__u |= 65536)) : o !== a && (o == a - 1 ? h = o - a : o == a + 1 ? h++ : o > a ? p > c - a ? h += o - a : h-- : o < a && h++, o !== n + h && (i.__u |= 65536))) : (s = r[a]) && s.key == null && s.__e && !(131072 & s.__u) && (s.__e == e.__d && (e.__d = He(s)), jn(s, s, !1), r[a] = null, p--);
4040
- if (p) for (n = 0; n < d; n++) (s = r[n]) != null && !(131072 & s.__u) && (s.__e == e.__d && (e.__d = He(s)), jn(s, s));
4038
+ for (e.__k = [], n = 0; n < c; n++) (i = t[n]) != null && typeof i != "boolean" && typeof i != "function" ? (a = n + h, (i = e.__k[n] = typeof i == "string" || typeof i == "number" || typeof i == "bigint" || i.constructor == String ? _t(null, i, null, null, null) : hr(i) ? _t(lt, { children: i }, null, null, null) : i.constructor === void 0 && i.__b > 0 ? _t(i.type, i.props, i.key, i.ref ? i.ref : null, i.__v) : i).__ = e, i.__b = e.__b + 1, s = null, (o = i.__i = Il(i, r, a, p)) !== -1 && (p--, (s = r[o]) && (s.__u |= 131072)), s == null || s.__v === null ? (o == -1 && h--, typeof i.type != "function" && (i.__u |= 65536)) : o !== a && (o == a - 1 ? h-- : o == a + 1 ? h++ : (o > a ? h-- : h++, i.__u |= 65536))) : i = e.__k[n] = null;
4039
+ if (p) for (n = 0; n < d; n++) (s = r[n]) != null && !(131072 & s.__u) && (s.__e == e.__d && (e.__d = nt(s)), la(s, s));
4041
4040
  }
4042
- function oa(e, t, r) {
4041
+ function aa(e, t, r) {
4043
4042
  var n, i;
4044
4043
  if (typeof e.type == "function") {
4045
- for (n = e.__k, i = 0; n && i < n.length; i++) n[i] && (n[i].__ = e, t = oa(n[i], t, r));
4044
+ for (n = e.__k, i = 0; n && i < n.length; i++) n[i] && (n[i].__ = e, t = aa(n[i], t, r));
4046
4045
  return t;
4047
4046
  }
4048
- e.__e != t && (t && e.type && !r.contains(t) && (t = He(e)), r.insertBefore(e.__e, t || null), t = e.__e);
4047
+ e.__e != t && (t && e.type && !r.contains(t) && (t = nt(e)), r.insertBefore(e.__e, t || null), t = e.__e);
4049
4048
  do
4050
4049
  t = t && t.nextSibling;
4051
4050
  while (t != null && t.nodeType === 8);
4052
4051
  return t;
4053
4052
  }
4054
- function ca(e, t) {
4053
+ function oa(e, t) {
4055
4054
  return t = t || [], e == null || typeof e == "boolean" || (hr(e) ? e.some(function(r) {
4056
- ca(r, t);
4055
+ oa(r, t);
4057
4056
  }) : t.push(e)), t;
4058
4057
  }
4059
4058
  function Il(e, t, r, n) {
4060
4059
  var i = e.key, s = e.type, a = r - 1, o = r + 1, c = t[r];
4061
4060
  if (c === null || c && i == c.key && s === c.type && !(131072 & c.__u)) return r;
4062
- if (n > (c != null && !(131072 & c.__u) ? 1 : 0)) for (; a >= 0 || o < t.length; ) {
4061
+ if ((typeof s != "function" || s === lt || i) && n > (c != null && !(131072 & c.__u) ? 1 : 0)) for (; a >= 0 || o < t.length; ) {
4063
4062
  if (a >= 0) {
4064
4063
  if ((c = t[a]) && !(131072 & c.__u) && i == c.key && s === c.type) return a;
4065
4064
  a--;
@@ -4071,17 +4070,17 @@ function Il(e, t, r, n) {
4071
4070
  }
4072
4071
  return -1;
4073
4072
  }
4074
- function Ni(e, t, r) {
4073
+ function Pi(e, t, r) {
4075
4074
  t[0] === "-" ? e.setProperty(t, r ?? "") : e[t] = r == null ? "" : typeof r != "number" || xl.test(t) ? r : r + "px";
4076
4075
  }
4077
- function Ot(e, t, r, n, i) {
4076
+ function Dt(e, t, r, n, i) {
4078
4077
  var s;
4079
4078
  e: if (t === "style") if (typeof r == "string") e.style.cssText = r;
4080
4079
  else {
4081
- if (typeof n == "string" && (e.style.cssText = n = ""), n) for (t in n) r && t in r || Ni(e.style, t, "");
4082
- if (r) for (t in r) n && r[t] === n[t] || Ni(e.style, t, r[t]);
4080
+ if (typeof n == "string" && (e.style.cssText = n = ""), n) for (t in n) r && t in r || Pi(e.style, t, "");
4081
+ if (r) for (t in r) n && r[t] === n[t] || Pi(e.style, t, r[t]);
4083
4082
  }
4084
- else if (t[0] === "o" && t[1] === "n") s = t !== (t = t.replace(/(PointerCapture)$|Capture$/i, "$1")), t = t.toLowerCase() in e || t === "onFocusOut" || t === "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + s] = r, r ? n ? r.u = n.u : (r.u = Vn, e.addEventListener(t, s ? On : Nn, s)) : e.removeEventListener(t, s ? On : Nn, s);
4083
+ else if (t[0] === "o" && t[1] === "n") s = t !== (t = t.replace(/(PointerCapture)$|Capture$/i, "$1")), t = t.toLowerCase() in e || t === "onFocusOut" || t === "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + s] = r, r ? n ? r.u = n.u : (r.u = zn, e.addEventListener(t, s ? Dn : Nn, s)) : e.removeEventListener(t, s ? Dn : Nn, s);
4085
4084
  else {
4086
4085
  if (i == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
4087
4086
  else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
@@ -4092,122 +4091,122 @@ function Ot(e, t, r, n, i) {
4092
4091
  typeof r == "function" || (r == null || r === !1 && t[4] !== "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && r == 1 ? "" : r));
4093
4092
  }
4094
4093
  }
4095
- function Oi(e) {
4094
+ function Ni(e) {
4096
4095
  return function(t) {
4097
4096
  if (this.l) {
4098
4097
  var r = this.l[t.type + e];
4099
- if (t.t == null) t.t = Vn++;
4098
+ if (t.t == null) t.t = zn++;
4100
4099
  else if (t.t < r.u) return;
4101
- return r($.event ? $.event(t) : t);
4100
+ return U.event && (t = U.event(t)), "handleEvent" in r ? r.handleEvent(t) : r(t);
4102
4101
  }
4103
4102
  };
4104
4103
  }
4105
- function Gn(e, t, r, n, i, s, a, o, c, d) {
4106
- var p, h, _, g, w, k, m, f, v, E, S, R, A, j, P, T, U = t.type;
4104
+ function Vn(e, t, r, n, i, s, a, o, c, d) {
4105
+ var p, h, _, y, w, k, m, f, v, E, S, R, A, j, P, T, H = t.type;
4107
4106
  if (t.constructor !== void 0) return null;
4108
- 128 & r.__u && (c = !!(32 & r.__u), s = [o = t.__e = r.__e]), (p = $.__b) && p(t);
4109
- e: if (typeof U == "function") try {
4110
- if (f = t.props, v = "prototype" in U && U.prototype.render, E = (p = U.contextType) && n[p.__c], S = p ? E ? E.props.value : p.__ : n, r.__c ? m = (h = t.__c = r.__c).__ = h.__E : (v ? t.__c = h = new U(f, S) : (t.__c = h = new _t(f, S), h.constructor = U, h.render = Al), E && E.sub(h), h.props = f, h.state || (h.state = {}), h.context = S, h.__n = n, _ = h.__d = !0, h.__h = [], h._sb = []), v && h.__s == null && (h.__s = h.state), v && U.getDerivedStateFromProps != null && (h.__s == h.state && (h.__s = Me({}, h.__s)), Me(h.__s, U.getDerivedStateFromProps(f, h.__s))), g = h.props, w = h.state, h.__v = t, _) v && U.getDerivedStateFromProps == null && h.componentWillMount != null && h.componentWillMount(), v && h.componentDidMount != null && h.__h.push(h.componentDidMount);
4107
+ 128 & r.__u && (c = !!(32 & r.__u), s = [o = t.__e = r.__e]), (p = U.__b) && p(t);
4108
+ e: if (typeof H == "function") try {
4109
+ if (f = t.props, v = "prototype" in H && H.prototype.render, E = (p = H.contextType) && n[p.__c], S = p ? E ? E.props.value : p.__ : n, r.__c ? m = (h = t.__c = r.__c).__ = h.__E : (v ? t.__c = h = new H(f, S) : (t.__c = h = new pt(f, S), h.constructor = H, h.render = Al), E && E.sub(h), h.props = f, h.state || (h.state = {}), h.context = S, h.__n = n, _ = h.__d = !0, h.__h = [], h._sb = []), v && h.__s == null && (h.__s = h.state), v && H.getDerivedStateFromProps != null && (h.__s == h.state && (h.__s = Me({}, h.__s)), Me(h.__s, H.getDerivedStateFromProps(f, h.__s))), y = h.props, w = h.state, h.__v = t, _) v && H.getDerivedStateFromProps == null && h.componentWillMount != null && h.componentWillMount(), v && h.componentDidMount != null && h.__h.push(h.componentDidMount);
4111
4110
  else {
4112
- if (v && U.getDerivedStateFromProps == null && f !== g && h.componentWillReceiveProps != null && h.componentWillReceiveProps(f, S), !h.__e && (h.shouldComponentUpdate != null && h.shouldComponentUpdate(f, h.__s, S) === !1 || t.__v === r.__v)) {
4113
- for (t.__v !== r.__v && (h.props = f, h.state = h.__s, h.__d = !1), t.__e = r.__e, t.__k = r.__k, t.__k.forEach(function(Q) {
4111
+ if (v && H.getDerivedStateFromProps == null && f !== y && h.componentWillReceiveProps != null && h.componentWillReceiveProps(f, S), !h.__e && (h.shouldComponentUpdate != null && h.shouldComponentUpdate(f, h.__s, S) === !1 || t.__v === r.__v)) {
4112
+ for (t.__v !== r.__v && (h.props = f, h.state = h.__s, h.__d = !1), t.__e = r.__e, t.__k = r.__k, t.__k.some(function(Q) {
4114
4113
  Q && (Q.__ = t);
4115
4114
  }), R = 0; R < h._sb.length; R++) h.__h.push(h._sb[R]);
4116
4115
  h._sb = [], h.__h.length && a.push(h);
4117
4116
  break e;
4118
4117
  }
4119
4118
  h.componentWillUpdate != null && h.componentWillUpdate(f, h.__s, S), v && h.componentDidUpdate != null && h.__h.push(function() {
4120
- h.componentDidUpdate(g, w, k);
4119
+ h.componentDidUpdate(y, w, k);
4121
4120
  });
4122
4121
  }
4123
- if (h.context = S, h.props = f, h.__P = e, h.__e = !1, A = $.__r, j = 0, v) {
4122
+ if (h.context = S, h.props = f, h.__P = e, h.__e = !1, A = U.__r, j = 0, v) {
4124
4123
  for (h.state = h.__s, h.__d = !1, A && A(t), p = h.render(h.props, h.state, h.context), P = 0; P < h._sb.length; P++) h.__h.push(h._sb[P]);
4125
4124
  h._sb = [];
4126
4125
  } else do
4127
4126
  h.__d = !1, A && A(t), p = h.render(h.props, h.state, h.context), h.state = h.__s;
4128
4127
  while (h.__d && ++j < 25);
4129
- h.state = h.__s, h.getChildContext != null && (n = Me(Me({}, n), h.getChildContext())), v && !_ && h.getSnapshotBeforeUpdate != null && (k = h.getSnapshotBeforeUpdate(g, w)), aa(e, hr(T = p != null && p.type === It && p.key == null ? p.props.children : p) ? T : [T], t, r, n, i, s, a, o, c, d), h.base = t.__e, t.__u &= -161, h.__h.length && a.push(h), m && (h.__E = h.__ = null);
4128
+ h.state = h.__s, h.getChildContext != null && (n = Me(Me({}, n), h.getChildContext())), v && !_ && h.getSnapshotBeforeUpdate != null && (k = h.getSnapshotBeforeUpdate(y, w)), sa(e, hr(T = p != null && p.type === lt && p.key == null ? p.props.children : p) ? T : [T], t, r, n, i, s, a, o, c, d), h.base = t.__e, t.__u &= -161, h.__h.length && a.push(h), m && (h.__E = h.__ = null);
4130
4129
  } catch (Q) {
4131
4130
  if (t.__v = null, c || s != null) {
4132
- for (t.__u |= c ? 160 : 32; o && o.nodeType === 8 && o.nextSibling; ) o = o.nextSibling;
4131
+ for (t.__u |= c ? 160 : 128; o && o.nodeType === 8 && o.nextSibling; ) o = o.nextSibling;
4133
4132
  s[s.indexOf(o)] = null, t.__e = o;
4134
4133
  } else t.__e = r.__e, t.__k = r.__k;
4135
- $.__e(Q, t, r);
4134
+ U.__e(Q, t, r);
4136
4135
  }
4137
4136
  else s == null && t.__v === r.__v ? (t.__k = r.__k, t.__e = r.__e) : t.__e = Ml(r.__e, t, r, n, i, s, a, c, d);
4138
- (p = $.diffed) && p(t);
4137
+ (p = U.diffed) && p(t);
4139
4138
  }
4140
- function la(e, t, r) {
4139
+ function ca(e, t, r) {
4141
4140
  t.__d = void 0;
4142
- for (var n = 0; n < r.length; n++) Zn(r[n], r[++n], r[++n]);
4143
- $.__c && $.__c(t, e), e.some(function(i) {
4141
+ for (var n = 0; n < r.length; n++) Gn(r[n], r[++n], r[++n]);
4142
+ U.__c && U.__c(t, e), e.some(function(i) {
4144
4143
  try {
4145
4144
  e = i.__h, i.__h = [], e.some(function(s) {
4146
4145
  s.call(i);
4147
4146
  });
4148
4147
  } catch (s) {
4149
- $.__e(s, i.__v);
4148
+ U.__e(s, i.__v);
4150
4149
  }
4151
4150
  });
4152
4151
  }
4153
4152
  function Ml(e, t, r, n, i, s, a, o, c) {
4154
- var d, p, h, _, g, w, k, m = r.props, f = t.props, v = t.type;
4153
+ var d, p, h, _, y, w, k, m = r.props, f = t.props, v = t.type;
4155
4154
  if (v === "svg" ? i = "http://www.w3.org/2000/svg" : v === "math" ? i = "http://www.w3.org/1998/Math/MathML" : i || (i = "http://www.w3.org/1999/xhtml"), s != null) {
4156
- for (d = 0; d < s.length; d++) if ((g = s[d]) && "setAttribute" in g == !!v && (v ? g.localName === v : g.nodeType === 3)) {
4157
- e = g, s[d] = null;
4155
+ for (d = 0; d < s.length; d++) if ((y = s[d]) && "setAttribute" in y == !!v && (v ? y.localName === v : y.nodeType === 3)) {
4156
+ e = y, s[d] = null;
4158
4157
  break;
4159
4158
  }
4160
4159
  }
4161
4160
  if (e == null) {
4162
4161
  if (v === null) return document.createTextNode(f);
4163
- e = document.createElementNS(i, v, f.is && f), s = null, o = !1;
4162
+ e = document.createElementNS(i, v, f.is && f), o && (U.__m && U.__m(t, s), o = !1), s = null;
4164
4163
  }
4165
4164
  if (v === null) m === f || o && e.data === f || (e.data = f);
4166
4165
  else {
4167
- if (s = s && Rt.call(e.childNodes), m = r.props || bt, !o && s != null) for (m = {}, d = 0; d < e.attributes.length; d++) m[(g = e.attributes[d]).name] = g.value;
4168
- for (d in m) if (g = m[d], d != "children") {
4169
- if (d == "dangerouslySetInnerHTML") h = g;
4170
- else if (d !== "key" && !(d in f)) {
4166
+ if (s = s && It.call(e.childNodes), m = r.props || yt, !o && s != null) for (m = {}, d = 0; d < e.attributes.length; d++) m[(y = e.attributes[d]).name] = y.value;
4167
+ for (d in m) if (y = m[d], d != "children") {
4168
+ if (d == "dangerouslySetInnerHTML") h = y;
4169
+ else if (!(d in f)) {
4171
4170
  if (d == "value" && "defaultValue" in f || d == "checked" && "defaultChecked" in f) continue;
4172
- Ot(e, d, null, g, i);
4171
+ Dt(e, d, null, y, i);
4173
4172
  }
4174
4173
  }
4175
- for (d in f) g = f[d], d == "children" ? _ = g : d == "dangerouslySetInnerHTML" ? p = g : d == "value" ? w = g : d == "checked" ? k = g : d === "key" || o && typeof g != "function" || m[d] === g || Ot(e, d, g, m[d], i);
4174
+ for (d in f) y = f[d], d == "children" ? _ = y : d == "dangerouslySetInnerHTML" ? p = y : d == "value" ? w = y : d == "checked" ? k = y : o && typeof y != "function" || m[d] === y || Dt(e, d, y, m[d], i);
4176
4175
  if (p) o || h && (p.__html === h.__html || p.__html === e.innerHTML) || (e.innerHTML = p.__html), t.__k = [];
4177
- else if (h && (e.innerHTML = ""), aa(e, hr(_) ? _ : [_], t, r, n, v === "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, s, a, s ? s[0] : r.__k && He(r, 0), o, c), s != null) for (d = s.length; d--; ) s[d] != null && ia(s[d]);
4178
- o || (d = "value", w !== void 0 && (w !== e[d] || v === "progress" && !w || v === "option" && w !== m[d]) && Ot(e, d, w, m[d], i), d = "checked", k !== void 0 && k !== e[d] && Ot(e, d, k, m[d], i));
4176
+ else if (h && (e.innerHTML = ""), sa(e, hr(_) ? _ : [_], t, r, n, v === "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, s, a, s ? s[0] : r.__k && nt(r, 0), o, c), s != null) for (d = s.length; d--; ) na(s[d]);
4177
+ o || (d = "value", v === "progress" && w == null ? e.removeAttribute("value") : w !== void 0 && (w !== e[d] || v === "progress" && !w || v === "option" && w !== m[d]) && Dt(e, d, w, m[d], i), d = "checked", k !== void 0 && k !== e[d] && Dt(e, d, k, m[d], i));
4179
4178
  }
4180
4179
  return e;
4181
4180
  }
4182
- function Zn(e, t, r) {
4181
+ function Gn(e, t, r) {
4183
4182
  try {
4184
4183
  if (typeof e == "function") {
4185
4184
  var n = typeof e.__u == "function";
4186
4185
  n && e.__u(), n && t == null || (e.__u = e(t));
4187
4186
  } else e.current = t;
4188
4187
  } catch (i) {
4189
- $.__e(i, r);
4188
+ U.__e(i, r);
4190
4189
  }
4191
4190
  }
4192
- function jn(e, t, r) {
4191
+ function la(e, t, r) {
4193
4192
  var n, i;
4194
- if ($.unmount && $.unmount(e), (n = e.ref) && (n.current && n.current !== e.__e || Zn(n, null, t)), (n = e.__c) != null) {
4193
+ if (U.unmount && U.unmount(e), (n = e.ref) && (n.current && n.current !== e.__e || Gn(n, null, t)), (n = e.__c) != null) {
4195
4194
  if (n.componentWillUnmount) try {
4196
4195
  n.componentWillUnmount();
4197
4196
  } catch (s) {
4198
- $.__e(s, t);
4197
+ U.__e(s, t);
4199
4198
  }
4200
4199
  n.base = n.__P = null;
4201
4200
  }
4202
- if (n = e.__k) for (i = 0; i < n.length; i++) n[i] && jn(n[i], t, r || typeof e.type != "function");
4203
- r || e.__e == null || ia(e.__e), e.__c = e.__ = e.__e = e.__d = void 0;
4201
+ if (n = e.__k) for (i = 0; i < n.length; i++) n[i] && la(n[i], t, r || typeof e.type != "function");
4202
+ r || na(e.__e), e.__c = e.__ = e.__e = e.__d = void 0;
4204
4203
  }
4205
4204
  function Al(e, t, r) {
4206
4205
  return this.constructor(e, r);
4207
4206
  }
4208
4207
  function ua(e, t, r) {
4209
4208
  var n, i, s, a;
4210
- $.__ && $.__(e, t), i = (n = typeof r == "function") ? null : r && r.__k || t.__k, s = [], a = [], Gn(t, e = (!n && r || t).__k = Dn(It, null, [e]), i || bt, bt, t.namespaceURI, !n && r ? [r] : i ? null : t.firstChild ? Rt.call(t.childNodes) : null, s, !n && r ? r : i ? i.__e : t.firstChild, n, a), la(s, e, a);
4209
+ U.__ && U.__(e, t), i = (n = typeof r == "function") ? null : r && r.__k || t.__k, s = [], a = [], Vn(t, e = (!n && r || t).__k = On(lt, null, [e]), i || yt, yt, t.namespaceURI, !n && r ? [r] : i ? null : t.firstChild ? It.call(t.childNodes) : null, s, !n && r ? r : i ? i.__e : t.firstChild, n, a), ca(s, e, a);
4211
4210
  }
4212
4211
  function da(e, t) {
4213
4212
  ua(e, t, da);
@@ -4215,69 +4214,69 @@ function da(e, t) {
4215
4214
  function Ll(e, t, r) {
4216
4215
  var n, i, s, a, o = Me({}, e.props);
4217
4216
  for (s in e.type && e.type.defaultProps && (a = e.type.defaultProps), t) s == "key" ? n = t[s] : s == "ref" ? i = t[s] : o[s] = t[s] === void 0 && a !== void 0 ? a[s] : t[s];
4218
- return arguments.length > 2 && (o.children = arguments.length > 3 ? Rt.call(arguments, 2) : r), ft(e.type, o, n || e.key, i || e.ref, null);
4217
+ return arguments.length > 2 && (o.children = arguments.length > 3 ? It.call(arguments, 2) : r), _t(e.type, o, n || e.key, i || e.ref, null);
4219
4218
  }
4220
4219
  function Tl(e, t) {
4221
- var r = { __c: t = "__cC" + ra++, __: e, Consumer: function(n, i) {
4220
+ var r = { __c: t = "__cC" + ta++, __: e, Consumer: function(n, i) {
4222
4221
  return n.children(i);
4223
4222
  }, Provider: function(n) {
4224
4223
  var i, s;
4225
- return this.getChildContext || (i = [], (s = {})[t] = this, this.getChildContext = function() {
4224
+ return this.getChildContext || (i = /* @__PURE__ */ new Set(), (s = {})[t] = this, this.getChildContext = function() {
4226
4225
  return s;
4227
4226
  }, this.componentWillUnmount = function() {
4228
4227
  i = null;
4229
4228
  }, this.shouldComponentUpdate = function(a) {
4230
- this.props.value !== a.value && i.some(function(o) {
4229
+ this.props.value !== a.value && i.forEach(function(o) {
4231
4230
  o.__e = !0, Bn(o);
4232
4231
  });
4233
4232
  }, this.sub = function(a) {
4234
- i.push(a);
4233
+ i.add(a);
4235
4234
  var o = a.componentWillUnmount;
4236
4235
  a.componentWillUnmount = function() {
4237
- i && i.splice(i.indexOf(a), 1), o && o.call(a);
4236
+ i && i.delete(a), o && o.call(a);
4238
4237
  };
4239
4238
  }), n.children;
4240
4239
  } };
4241
4240
  return r.Provider.__ = r.Consumer.contextType = r;
4242
4241
  }
4243
- Rt = na.slice, $ = { __e: function(e, t, r, n) {
4242
+ It = ra.slice, U = { __e: function(e, t, r, n) {
4244
4243
  for (var i, s, a; t = t.__; ) if ((i = t.__c) && !i.__) try {
4245
4244
  if ((s = i.constructor) && s.getDerivedStateFromError != null && (i.setState(s.getDerivedStateFromError(e)), a = i.__d), i.componentDidCatch != null && (i.componentDidCatch(e, n || {}), a = i.__d), a) return i.__E = i;
4246
4245
  } catch (o) {
4247
4246
  e = o;
4248
4247
  }
4249
4248
  throw e;
4250
- } }, Xs = 0, ea = function(e) {
4249
+ } }, Qs = 0, Xs = function(e) {
4251
4250
  return e != null && e.constructor == null;
4252
- }, _t.prototype.setState = function(e, t) {
4251
+ }, pt.prototype.setState = function(e, t) {
4253
4252
  var r;
4254
4253
  r = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Me({}, this.state), typeof e == "function" && (e = e(Me({}, r), this.props)), e && Me(r, e), e != null && this.__v && (t && this._sb.push(t), Bn(this));
4255
- }, _t.prototype.forceUpdate = function(e) {
4254
+ }, pt.prototype.forceUpdate = function(e) {
4256
4255
  this.__v && (this.__e = !0, e && this.__h.push(e), Bn(this));
4257
- }, _t.prototype.render = It, Ue = [], ta = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Pn = function(e, t) {
4256
+ }, pt.prototype.render = lt, Ue = [], ea = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Pn = function(e, t) {
4258
4257
  return e.__v.__b - t.__v.__b;
4259
- }, Ft.__r = 0, Vn = 0, Nn = Oi(!1), On = Oi(!0), ra = 0;
4258
+ }, Ft.__r = 0, zn = 0, Nn = Ni(!1), Dn = Ni(!0), ta = 0;
4260
4259
  const Pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4261
4260
  __proto__: null,
4262
- Component: _t,
4263
- Fragment: It,
4261
+ Component: pt,
4262
+ Fragment: lt,
4264
4263
  cloneElement: Ll,
4265
4264
  createContext: Tl,
4266
- createElement: Dn,
4265
+ createElement: On,
4267
4266
  createRef: kl,
4268
- h: Dn,
4267
+ h: On,
4269
4268
  hydrate: da,
4270
4269
  get isValidElement() {
4271
- return ea;
4270
+ return Xs;
4272
4271
  },
4273
4272
  get options() {
4274
- return $;
4273
+ return U;
4275
4274
  },
4276
4275
  render: ua,
4277
- toChildArray: ca
4278
- }, Symbol.toStringTag, { value: "Module" })), ha = /* @__PURE__ */ Un(Pl);
4279
- var Te, W, kn, Di, it = 0, fa = [], F = $, Bi = F.__b, ji = F.__r, Wi = F.diffed, Ui = F.__c, Hi = F.unmount, $i = F.__;
4280
- function ze(e, t) {
4276
+ toChildArray: oa
4277
+ }, Symbol.toStringTag, { value: "Module" })), ha = /* @__PURE__ */ Wn(Pl);
4278
+ var Te, W, kn, Di, it = 0, fa = [], F = U, Oi = F.__b, Bi = F.__r, ji = F.diffed, Wi = F.__c, Ui = F.unmount, Hi = F.__;
4279
+ function Ke(e, t) {
4281
4280
  F.__h && F.__h(W, e, it || t), it = 0;
4282
4281
  var r = W.__H || (W.__H = { __: [], __h: [] });
4283
4282
  return e >= r.__.length && r.__.push({}), r.__[e];
@@ -4286,7 +4285,7 @@ function _a(e) {
4286
4285
  return it = 1, pa(ba, e);
4287
4286
  }
4288
4287
  function pa(e, t, r) {
4289
- var n = ze(Te++, 2);
4288
+ var n = Ke(Te++, 2);
4290
4289
  if (n.t = e, !n.__c && (n.__ = [r ? r(t) : ba(void 0, t), function(o) {
4291
4290
  var c = n.__N ? n.__N[0] : n.__[0], d = n.t(c, o);
4292
4291
  c !== d && (n.__N = [d, n.__[1]], n.__c.setState({}));
@@ -4299,13 +4298,13 @@ function pa(e, t, r) {
4299
4298
  if (p.every(function(_) {
4300
4299
  return !_.__N;
4301
4300
  })) return !s || s.call(this, o, c, d);
4302
- var h = !1;
4301
+ var h = n.__c.props !== o;
4303
4302
  return p.forEach(function(_) {
4304
4303
  if (_.__N) {
4305
- var g = _.__[0];
4306
- _.__ = _.__N, _.__N = void 0, g !== _.__[0] && (h = !0);
4304
+ var y = _.__[0];
4305
+ _.__ = _.__N, _.__N = void 0, y !== _.__[0] && (h = !0);
4307
4306
  }
4308
- }), !(!h && n.__c.props === o) && (!s || s.call(this, o, c, d));
4307
+ }), s && s.call(this, o, c, d) || h;
4309
4308
  };
4310
4309
  W.u = !0;
4311
4310
  var s = W.shouldComponentUpdate, a = W.componentWillUpdate;
@@ -4320,19 +4319,19 @@ function pa(e, t, r) {
4320
4319
  return n.__N || n.__;
4321
4320
  }
4322
4321
  function Nl(e, t) {
4323
- var r = ze(Te++, 3);
4324
- !F.__s && Jn(r.__H, t) && (r.__ = e, r.i = t, W.__H.__h.push(r));
4322
+ var r = Ke(Te++, 3);
4323
+ !F.__s && Yn(r.__H, t) && (r.__ = e, r.i = t, W.__H.__h.push(r));
4325
4324
  }
4326
4325
  function ga(e, t) {
4327
- var r = ze(Te++, 4);
4328
- !F.__s && Jn(r.__H, t) && (r.__ = e, r.i = t, W.__h.push(r));
4326
+ var r = Ke(Te++, 4);
4327
+ !F.__s && Yn(r.__H, t) && (r.__ = e, r.i = t, W.__h.push(r));
4329
4328
  }
4330
- function Ol(e) {
4331
- return it = 5, Yn(function() {
4329
+ function Dl(e) {
4330
+ return it = 5, Zn(function() {
4332
4331
  return { current: e };
4333
4332
  }, []);
4334
4333
  }
4335
- function Dl(e, t, r) {
4334
+ function Ol(e, t, r) {
4336
4335
  it = 6, ga(function() {
4337
4336
  return typeof e == "function" ? (e(t()), function() {
4338
4337
  return e(null);
@@ -4341,24 +4340,24 @@ function Dl(e, t, r) {
4341
4340
  }) : void 0;
4342
4341
  }, r == null ? r : r.concat(e));
4343
4342
  }
4344
- function Yn(e, t) {
4345
- var r = ze(Te++, 7);
4346
- return Jn(r.__H, t) && (r.__ = e(), r.__H = t, r.__h = e), r.__;
4343
+ function Zn(e, t) {
4344
+ var r = Ke(Te++, 7);
4345
+ return Yn(r.__H, t) && (r.__ = e(), r.__H = t, r.__h = e), r.__;
4347
4346
  }
4348
4347
  function Bl(e, t) {
4349
- return it = 8, Yn(function() {
4348
+ return it = 8, Zn(function() {
4350
4349
  return e;
4351
4350
  }, t);
4352
4351
  }
4353
4352
  function jl(e) {
4354
- var t = W.context[e.__c], r = ze(Te++, 9);
4353
+ var t = W.context[e.__c], r = Ke(Te++, 9);
4355
4354
  return r.c = e, t ? (r.__ == null && (r.__ = !0, t.sub(W)), t.props.value) : e.__;
4356
4355
  }
4357
4356
  function Wl(e, t) {
4358
4357
  F.useDebugValue && F.useDebugValue(t ? t(e) : e);
4359
4358
  }
4360
4359
  function Ul(e) {
4361
- var t = ze(Te++, 10), r = _a();
4360
+ var t = Ke(Te++, 10), r = _a();
4362
4361
  return t.__ = e, W.componentDidCatch || (W.componentDidCatch = function(n, i) {
4363
4362
  t.__ && t.__(n, i), r[1](n);
4364
4363
  }), [r[0], function() {
@@ -4366,7 +4365,7 @@ function Ul(e) {
4366
4365
  }];
4367
4366
  }
4368
4367
  function Hl() {
4369
- var e = ze(Te++, 11);
4368
+ var e = Ke(Te++, 11);
4370
4369
  if (!e.__) {
4371
4370
  for (var t = W.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
4372
4371
  var r = t.__m || (t.__m = [0, 0]);
@@ -4376,23 +4375,23 @@ function Hl() {
4376
4375
  }
4377
4376
  function $l() {
4378
4377
  for (var e; e = fa.shift(); ) if (e.__P && e.__H) try {
4379
- e.__H.__h.forEach(Wt), e.__H.__h.forEach(Wn), e.__H.__h = [];
4378
+ e.__H.__h.forEach(Wt), e.__H.__h.forEach(jn), e.__H.__h = [];
4380
4379
  } catch (t) {
4381
4380
  e.__H.__h = [], F.__e(t, e.__v);
4382
4381
  }
4383
4382
  }
4384
4383
  F.__b = function(e) {
4385
- W = null, Bi && Bi(e);
4384
+ W = null, Oi && Oi(e);
4386
4385
  }, F.__ = function(e, t) {
4387
- e && t.__k && t.__k.__m && (e.__m = t.__k.__m), $i && $i(e, t);
4386
+ e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Hi && Hi(e, t);
4388
4387
  }, F.__r = function(e) {
4389
- ji && ji(e), Te = 0;
4388
+ Bi && Bi(e), Te = 0;
4390
4389
  var t = (W = e.__c).__H;
4391
4390
  t && (kn === W ? (t.__h = [], W.__h = [], t.__.forEach(function(r) {
4392
4391
  r.__N && (r.__ = r.__N), r.i = r.__N = void 0;
4393
- })) : (t.__h.forEach(Wt), t.__h.forEach(Wn), t.__h = [], Te = 0)), kn = W;
4392
+ })) : (t.__h.forEach(Wt), t.__h.forEach(jn), t.__h = [], Te = 0)), kn = W;
4394
4393
  }, F.diffed = function(e) {
4395
- Wi && Wi(e);
4394
+ ji && ji(e);
4396
4395
  var t = e.__c;
4397
4396
  t && t.__H && (t.__H.__h.length && (fa.push(t) !== 1 && Di === F.requestAnimationFrame || ((Di = F.requestAnimationFrame) || Fl)($l)), t.__H.__.forEach(function(r) {
4398
4397
  r.i && (r.__H = r.i), r.i = void 0;
@@ -4401,16 +4400,16 @@ F.__b = function(e) {
4401
4400
  t.some(function(r) {
4402
4401
  try {
4403
4402
  r.__h.forEach(Wt), r.__h = r.__h.filter(function(n) {
4404
- return !n.__ || Wn(n);
4403
+ return !n.__ || jn(n);
4405
4404
  });
4406
4405
  } catch (n) {
4407
4406
  t.some(function(i) {
4408
4407
  i.__h && (i.__h = []);
4409
4408
  }), t = [], F.__e(n, r.__v);
4410
4409
  }
4411
- }), Ui && Ui(e, t);
4410
+ }), Wi && Wi(e, t);
4412
4411
  }, F.unmount = function(e) {
4413
- Hi && Hi(e);
4412
+ Ui && Ui(e);
4414
4413
  var t, r = e.__c;
4415
4414
  r && r.__H && (r.__H.__.forEach(function(n) {
4416
4415
  try {
@@ -4420,22 +4419,22 @@ F.__b = function(e) {
4420
4419
  }
4421
4420
  }), r.__H = void 0, t && F.__e(t, r.__v));
4422
4421
  };
4423
- var Fi = typeof requestAnimationFrame == "function";
4422
+ var $i = typeof requestAnimationFrame == "function";
4424
4423
  function Fl(e) {
4425
4424
  var t, r = function() {
4426
- clearTimeout(n), Fi && cancelAnimationFrame(t), setTimeout(e);
4425
+ clearTimeout(n), $i && cancelAnimationFrame(t), setTimeout(e);
4427
4426
  }, n = setTimeout(r, 100);
4428
- Fi && (t = requestAnimationFrame(r));
4427
+ $i && (t = requestAnimationFrame(r));
4429
4428
  }
4430
4429
  function Wt(e) {
4431
4430
  var t = W, r = e.__c;
4432
4431
  typeof r == "function" && (e.__c = void 0, r()), W = t;
4433
4432
  }
4434
- function Wn(e) {
4433
+ function jn(e) {
4435
4434
  var t = W;
4436
4435
  e.__c = e.__(), W = t;
4437
4436
  }
4438
- function Jn(e, t) {
4437
+ function Yn(e, t) {
4439
4438
  return !e || e.length !== t.length || t.some(function(r, n) {
4440
4439
  return r !== e[n];
4441
4440
  });
@@ -4451,32 +4450,32 @@ const ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4451
4450
  useEffect: Nl,
4452
4451
  useErrorBoundary: Ul,
4453
4452
  useId: Hl,
4454
- useImperativeHandle: Dl,
4453
+ useImperativeHandle: Ol,
4455
4454
  useLayoutEffect: ga,
4456
- useMemo: Yn,
4455
+ useMemo: Zn,
4457
4456
  useReducer: pa,
4458
- useRef: Ol,
4457
+ useRef: Dl,
4459
4458
  useState: _a
4460
- }, Symbol.toStringTag, { value: "Module" })), Kl = /* @__PURE__ */ Un(ql);
4461
- var Qn = {};
4462
- Object.defineProperty(Qn, "__esModule", { value: !0 });
4463
- Qn.default = ".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;margin-right:9px !important;display:flex;align-items:center;justify-content:center;width:24px;height:24px;transition:opacity .25s}.-cbwsdk-css-reset .-gear-container *{user-select:none}.-cbwsdk-css-reset .-gear-container svg{opacity:0;position:absolute}.-cbwsdk-css-reset .-gear-icon{height:12px;width:12px;z-index:10000}.-cbwsdk-css-reset .-cbwsdk-snackbar{align-items:flex-end;display:flex;flex-direction:column;position:fixed;right:0;top:0;z-index:2147483647}.-cbwsdk-css-reset .-cbwsdk-snackbar *{user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance{display:flex;flex-direction:column;margin:8px 16px 0 16px;overflow:visible;text-align:left;transform:translateX(0);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header:hover .-gear-container svg{opacity:1}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header{display:flex;align-items:center;background:#fff;overflow:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-cblogo{margin:8px 8px 8px 8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-message{color:#000;font-size:13px;line-height:1.5;user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu{background:#fff;transition:opacity .25s ease-in-out,transform .25s linear,visibility 0s;visibility:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;opacity:0;flex-direction:column;padding-left:8px;padding-right:8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:last-child{margin-bottom:8px !important}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover{background:#f5f7f8;border-radius:6px;transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover span{color:#050f19;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover svg path{fill:#000;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item{visibility:inherit;height:35px;margin-top:8px;margin-bottom:0;display:flex;flex-direction:row;align-items:center;padding:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item *{visibility:inherit;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover{background:rgba(223,95,103,.2);transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover svg path{fill:#df5f67;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover span{color:#df5f67;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-info{color:#aaa;font-size:13px;margin:0 8px 0 32px;position:absolute}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-hidden{opacity:0;text-align:left;transform:translateX(25%);transition:opacity .5s linear}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-expanded .-cbwsdk-snackbar-instance-menu{opacity:1;display:flex;transform:translateY(8px);visibility:visible}";
4459
+ }, Symbol.toStringTag, { value: "Module" })), Kl = /* @__PURE__ */ Wn(ql);
4460
+ var Jn = {};
4461
+ Object.defineProperty(Jn, "__esModule", { value: !0 });
4462
+ Jn.default = ".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;margin-right:9px !important;display:flex;align-items:center;justify-content:center;width:24px;height:24px;transition:opacity .25s}.-cbwsdk-css-reset .-gear-container *{user-select:none}.-cbwsdk-css-reset .-gear-container svg{opacity:0;position:absolute}.-cbwsdk-css-reset .-gear-icon{height:12px;width:12px;z-index:10000}.-cbwsdk-css-reset .-cbwsdk-snackbar{align-items:flex-end;display:flex;flex-direction:column;position:fixed;right:0;top:0;z-index:2147483647}.-cbwsdk-css-reset .-cbwsdk-snackbar *{user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance{display:flex;flex-direction:column;margin:8px 16px 0 16px;overflow:visible;text-align:left;transform:translateX(0);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header:hover .-gear-container svg{opacity:1}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header{display:flex;align-items:center;background:#fff;overflow:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-cblogo{margin:8px 8px 8px 8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-message{color:#000;font-size:13px;line-height:1.5;user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu{background:#fff;transition:opacity .25s ease-in-out,transform .25s linear,visibility 0s;visibility:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;opacity:0;flex-direction:column;padding-left:8px;padding-right:8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:last-child{margin-bottom:8px !important}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover{background:#f5f7f8;border-radius:6px;transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover span{color:#050f19;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover svg path{fill:#000;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item{visibility:inherit;height:35px;margin-top:8px;margin-bottom:0;display:flex;flex-direction:row;align-items:center;padding:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item *{visibility:inherit;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover{background:rgba(223,95,103,.2);transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover svg path{fill:#df5f67;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover span{color:#df5f67;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-info{color:#aaa;font-size:13px;margin:0 8px 0 32px;position:absolute}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-hidden{opacity:0;text-align:left;transform:translateX(25%);transition:opacity .5s linear}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-expanded .-cbwsdk-snackbar-instance-menu{opacity:1;display:flex;transform:translateY(8px);visibility:visible}";
4464
4463
  (function(e) {
4465
4464
  var t = Z && Z.__importDefault || function(_) {
4466
4465
  return _ && _.__esModule ? _ : { default: _ };
4467
4466
  };
4468
4467
  Object.defineProperty(e, "__esModule", { value: !0 }), e.SnackbarInstance = e.SnackbarContainer = e.Snackbar = void 0;
4469
- const r = t(Qs), n = ha, i = Kl, s = ne, a = t(Qn), o = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDkyIDEwLjQxOWE4LjkzIDguOTMgMCAwMTguOTMtOC45M2gxMS4xNjNhOC45MyA4LjkzIDAgMDE4LjkzIDguOTN2MTEuMTYzYTguOTMgOC45MyAwIDAxLTguOTMgOC45M0gxMC40MjJhOC45MyA4LjkzIDAgMDEtOC45My04LjkzVjEwLjQxOXoiIGZpbGw9IiMxNjUyRjAiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjQxOSAwSDIxLjU4QzI3LjMzNSAwIDMyIDQuNjY1IDMyIDEwLjQxOVYyMS41OEMzMiAyNy4zMzUgMjcuMzM1IDMyIDIxLjU4MSAzMkgxMC40MkM0LjY2NSAzMiAwIDI3LjMzNSAwIDIxLjU4MVYxMC40MkMwIDQuNjY1IDQuNjY1IDAgMTAuNDE5IDB6bTAgMS40ODhhOC45MyA4LjkzIDAgMDAtOC45MyA4LjkzdjExLjE2M2E4LjkzIDguOTMgMCAwMDguOTMgOC45M0gyMS41OGE4LjkzIDguOTMgMCAwMDguOTMtOC45M1YxMC40MmE4LjkzIDguOTMgMCAwMC04LjkzLTguOTNIMTAuNDJ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS45OTggMjYuMDQ5Yy01LjU0OSAwLTEwLjA0Ny00LjQ5OC0xMC4wNDctMTAuMDQ3IDAtNS41NDggNC40OTgtMTAuMDQ2IDEwLjA0Ny0xMC4wNDYgNS41NDggMCAxMC4wNDYgNC40OTggMTAuMDQ2IDEwLjA0NiAwIDUuNTQ5LTQuNDk4IDEwLjA0Ny0xMC4wNDYgMTAuMDQ3eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMi43NjIgMTQuMjU0YzAtLjgyMi42NjctMS40ODkgMS40ODktMS40ODloMy40OTdjLjgyMiAwIDEuNDg4LjY2NiAxLjQ4OCAxLjQ4OXYzLjQ5N2MwIC44MjItLjY2NiAxLjQ4OC0xLjQ4OCAxLjQ4OGgtMy40OTdhMS40ODggMS40ODggMCAwMS0xLjQ4OS0xLjQ4OHYtMy40OTh6IiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+", c = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDYuNzV2LTEuNWwtMS43Mi0uNTdjLS4wOC0uMjctLjE5LS41Mi0uMzItLjc3bC44MS0xLjYyLTEuMDYtMS4wNi0xLjYyLjgxYy0uMjQtLjEzLS41LS4yNC0uNzctLjMyTDYuNzUgMGgtMS41bC0uNTcgMS43MmMtLjI3LjA4LS41My4xOS0uNzcuMzJsLTEuNjItLjgxLTEuMDYgMS4wNi44MSAxLjYyYy0uMTMuMjQtLjI0LjUtLjMyLjc3TDAgNS4yNXYxLjVsMS43Mi41N2MuMDguMjcuMTkuNTMuMzIuNzdsLS44MSAxLjYyIDEuMDYgMS4wNiAxLjYyLS44MWMuMjQuMTMuNS4yMy43Ny4zMkw1LjI1IDEyaDEuNWwuNTctMS43MmMuMjctLjA4LjUyLS4xOS43Ny0uMzJsMS42Mi44MSAxLjA2LTEuMDYtLjgxLTEuNjJjLjEzLS4yNC4yMy0uNS4zMi0uNzdMMTIgNi43NXpNNiA4LjVhMi41IDIuNSAwIDAxMC01IDIuNSAyLjUgMCAwMTAgNXoiIGZpbGw9IiMwNTBGMTkiLz48L3N2Zz4=";
4468
+ const r = t(Js), n = ha, i = Kl, s = ne, a = t(Jn), o = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDkyIDEwLjQxOWE4LjkzIDguOTMgMCAwMTguOTMtOC45M2gxMS4xNjNhOC45MyA4LjkzIDAgMDE4LjkzIDguOTN2MTEuMTYzYTguOTMgOC45MyAwIDAxLTguOTMgOC45M0gxMC40MjJhOC45MyA4LjkzIDAgMDEtOC45My04LjkzVjEwLjQxOXoiIGZpbGw9IiMxNjUyRjAiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjQxOSAwSDIxLjU4QzI3LjMzNSAwIDMyIDQuNjY1IDMyIDEwLjQxOVYyMS41OEMzMiAyNy4zMzUgMjcuMzM1IDMyIDIxLjU4MSAzMkgxMC40MkM0LjY2NSAzMiAwIDI3LjMzNSAwIDIxLjU4MVYxMC40MkMwIDQuNjY1IDQuNjY1IDAgMTAuNDE5IDB6bTAgMS40ODhhOC45MyA4LjkzIDAgMDAtOC45MyA4LjkzdjExLjE2M2E4LjkzIDguOTMgMCAwMDguOTMgOC45M0gyMS41OGE4LjkzIDguOTMgMCAwMDguOTMtOC45M1YxMC40MmE4LjkzIDguOTMgMCAwMC04LjkzLTguOTNIMTAuNDJ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS45OTggMjYuMDQ5Yy01LjU0OSAwLTEwLjA0Ny00LjQ5OC0xMC4wNDctMTAuMDQ3IDAtNS41NDggNC40OTgtMTAuMDQ2IDEwLjA0Ny0xMC4wNDYgNS41NDggMCAxMC4wNDYgNC40OTggMTAuMDQ2IDEwLjA0NiAwIDUuNTQ5LTQuNDk4IDEwLjA0Ny0xMC4wNDYgMTAuMDQ3eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMi43NjIgMTQuMjU0YzAtLjgyMi42NjctMS40ODkgMS40ODktMS40ODloMy40OTdjLjgyMiAwIDEuNDg4LjY2NiAxLjQ4OCAxLjQ4OXYzLjQ5N2MwIC44MjItLjY2NiAxLjQ4OC0xLjQ4OCAxLjQ4OGgtMy40OTdhMS40ODggMS40ODggMCAwMS0xLjQ4OS0xLjQ4OHYtMy40OTh6IiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+", c = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDYuNzV2LTEuNWwtMS43Mi0uNTdjLS4wOC0uMjctLjE5LS41Mi0uMzItLjc3bC44MS0xLjYyLTEuMDYtMS4wNi0xLjYyLjgxYy0uMjQtLjEzLS41LS4yNC0uNzctLjMyTDYuNzUgMGgtMS41bC0uNTcgMS43MmMtLjI3LjA4LS41My4xOS0uNzcuMzJsLTEuNjItLjgxLTEuMDYgMS4wNi44MSAxLjYyYy0uMTMuMjQtLjI0LjUtLjMyLjc3TDAgNS4yNXYxLjVsMS43Mi41N2MuMDguMjcuMTkuNTMuMzIuNzdsLS44MSAxLjYyIDEuMDYgMS4wNiAxLjYyLS44MWMuMjQuMTMuNS4yMy43Ny4zMkw1LjI1IDEyaDEuNWwuNTctMS43MmMuMjctLjA4LjUyLS4xOS43Ny0uMzJsMS42Mi44MSAxLjA2LTEuMDYtLjgxLTEuNjJjLjEzLS4yNC4yMy0uNS4zMi0uNzdMMTIgNi43NXpNNiA4LjVhMi41IDIuNSAwIDAxMC01IDIuNSAyLjUgMCAwMTAgNXoiIGZpbGw9IiMwNTBGMTkiLz48L3N2Zz4=";
4470
4469
  class d {
4471
4470
  constructor() {
4472
4471
  this.items = /* @__PURE__ */ new Map(), this.nextItemKey = 0, this.root = null, this.darkMode = (0, s.isDarkMode)();
4473
4472
  }
4474
- attach(g) {
4475
- this.root = document.createElement("div"), this.root.className = "-cbwsdk-snackbar-root", g.appendChild(this.root), this.render();
4473
+ attach(y) {
4474
+ this.root = document.createElement("div"), this.root.className = "-cbwsdk-snackbar-root", y.appendChild(this.root), this.render();
4476
4475
  }
4477
- presentItem(g) {
4476
+ presentItem(y) {
4478
4477
  const w = this.nextItemKey++;
4479
- return this.items.set(w, g), this.render(), () => {
4478
+ return this.items.set(w, y), this.render(), () => {
4480
4479
  this.items.delete(w), this.render();
4481
4480
  };
4482
4481
  }
@@ -4487,7 +4486,7 @@ Qn.default = ".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;ma
4487
4486
  this.root && (0, n.render)((0, n.h)(
4488
4487
  "div",
4489
4488
  null,
4490
- (0, n.h)(e.SnackbarContainer, { darkMode: this.darkMode }, Array.from(this.items.entries()).map(([g, w]) => (0, n.h)(e.SnackbarInstance, Object.assign({}, w, { key: g }))))
4489
+ (0, n.h)(e.SnackbarContainer, { darkMode: this.darkMode }, Array.from(this.items.entries()).map(([y, w]) => (0, n.h)(e.SnackbarInstance, Object.assign({}, w, { key: y }))))
4491
4490
  ), this.root);
4492
4491
  }
4493
4492
  }
@@ -4499,7 +4498,7 @@ Qn.default = ".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;ma
4499
4498
  (0, n.h)("div", { class: "-cbwsdk-snackbar" }, _.children)
4500
4499
  );
4501
4500
  e.SnackbarContainer = p;
4502
- const h = ({ autoExpand: _, message: g, menuItems: w }) => {
4501
+ const h = ({ autoExpand: _, message: y, menuItems: w }) => {
4503
4502
  const [k, m] = (0, i.useState)(!0), [f, v] = (0, i.useState)(_ ?? !1);
4504
4503
  (0, i.useEffect)(() => {
4505
4504
  const S = [
@@ -4525,7 +4524,7 @@ Qn.default = ".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;ma
4525
4524
  { class: "-cbwsdk-snackbar-instance-header", onClick: E },
4526
4525
  (0, n.h)("img", { src: o, class: "-cbwsdk-snackbar-instance-header-cblogo" }),
4527
4526
  " ",
4528
- (0, n.h)("div", { class: "-cbwsdk-snackbar-instance-header-message" }, g),
4527
+ (0, n.h)("div", { class: "-cbwsdk-snackbar-instance-header-message" }, y),
4529
4528
  (0, n.h)(
4530
4529
  "div",
4531
4530
  { class: "-gear-container" },
@@ -4550,10 +4549,10 @@ Qn.default = ".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;ma
4550
4549
  );
4551
4550
  };
4552
4551
  e.SnackbarInstance = h;
4553
- })(zn);
4552
+ })(Kn);
4554
4553
  Object.defineProperty(dr, "__esModule", { value: !0 });
4555
4554
  dr.WalletLinkRelayUI = void 0;
4556
- const zl = kt, Vl = zn;
4555
+ const zl = Rt, Vl = Kn;
4557
4556
  class Gl {
4558
4557
  constructor() {
4559
4558
  this.attached = !1, this.snackbar = new Vl.Snackbar();
@@ -4609,15 +4608,15 @@ class Gl {
4609
4608
  }
4610
4609
  }
4611
4610
  dr.WalletLinkRelayUI = Gl;
4612
- var fr = {}, _r = {}, Xn = {};
4613
- Object.defineProperty(Xn, "__esModule", { value: !0 });
4614
- Xn.default = ".-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s;background-color:rgba(10,11,13,.5)}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box{display:block;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);padding:20px;border-radius:8px;background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box p{display:block;font-weight:400;font-size:14px;line-height:20px;padding-bottom:12px;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box button{appearance:none;border:none;background:none;color:#0052ff;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark{background-color:#0a0b0d;color:#fff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark button{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light{background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light button{color:#0052ff}";
4611
+ var fr = {}, _r = {}, Qn = {};
4612
+ Object.defineProperty(Qn, "__esModule", { value: !0 });
4613
+ Qn.default = ".-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s;background-color:rgba(10,11,13,.5)}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box{display:block;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);padding:20px;border-radius:8px;background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box p{display:block;font-weight:400;font-size:14px;line-height:20px;padding-bottom:12px;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box button{appearance:none;border:none;background:none;color:#0052ff;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark{background-color:#0a0b0d;color:#fff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark button{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light{background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light button{color:#0052ff}";
4615
4614
  var ya = Z && Z.__importDefault || function(e) {
4616
4615
  return e && e.__esModule ? e : { default: e };
4617
4616
  };
4618
4617
  Object.defineProperty(_r, "__esModule", { value: !0 });
4619
4618
  _r.RedirectDialog = void 0;
4620
- const Zl = ya(Qs), _e = ha, Yl = kt, Jl = zn, Ql = ne, Xl = ya(Xn);
4619
+ const Zl = ya(Js), _e = ha, Yl = Rt, Jl = Kn, Ql = ne, Xl = ya(Qn);
4621
4620
  class eu {
4622
4621
  constructor() {
4623
4622
  this.root = null, this.darkMode = (0, Ql.isDarkMode)();
@@ -4702,7 +4701,7 @@ class su {
4702
4701
  fr.WLMobileRelayUI = su;
4703
4702
  Object.defineProperty(nr, "__esModule", { value: !0 });
4704
4703
  nr.WalletLinkRelay = void 0;
4705
- const au = ir, ou = ge, cu = wt, Rn = or, Qe = at, lu = ne, uu = dr, qi = fr, du = ye, K = M, hu = ve;
4704
+ const au = ir, ou = ge, cu = Et, Rn = or, Je = at, lu = ne, uu = dr, Fi = fr, du = ye, K = M, hu = ve;
4706
4705
  class Ie {
4707
4706
  constructor(t) {
4708
4707
  this.accountsCallback = null, this.chainCallbackParams = { chainId: "", jsonRpcUrl: "" }, this.chainCallback = null, this.dappDefaultChain = 1, this.isMobileWeb = (0, lu.isMobileWeb)(), this.appName = "", this.appLogoUrl = null, this.linkedUpdated = (s) => {
@@ -4740,7 +4739,7 @@ class Ie {
4740
4739
  session: t,
4741
4740
  linkAPIUrl: r,
4742
4741
  listener: this
4743
- }), i = this.isMobileWeb ? new qi.WLMobileRelayUI() : new uu.WalletLinkRelayUI();
4742
+ }), i = this.isMobileWeb ? new Fi.WLMobileRelayUI() : new uu.WalletLinkRelayUI();
4744
4743
  return n.connect(), { session: t, ui: i, connection: n };
4745
4744
  }
4746
4745
  attachUI() {
@@ -4867,7 +4866,7 @@ class Ie {
4867
4866
  onResetConnection: this.resetAndReload
4868
4867
  // eslint-disable-line @typescript-eslint/unbound-method
4869
4868
  }), this.relayEventManager.callbacks.set(n, (o) => {
4870
- if (r == null || r(), (0, Qe.isErrorResponse)(o))
4869
+ if (r == null || r(), (0, Je.isErrorResponse)(o))
4871
4870
  return a(new Error(o.errorMessage));
4872
4871
  s(o);
4873
4872
  }), this.publishWeb3RequestEvent(n, t);
@@ -4898,7 +4897,7 @@ class Ie {
4898
4897
  }
4899
4898
  // copied from MobileRelay
4900
4899
  openCoinbaseWalletDeeplink(t) {
4901
- if (this.ui instanceof qi.WLMobileRelayUI)
4900
+ if (this.ui instanceof Fi.WLMobileRelayUI)
4902
4901
  switch (t) {
4903
4902
  case "requestEthereumAccounts":
4904
4903
  case "switchEthereumChain":
@@ -4956,7 +4955,7 @@ class Ie {
4956
4955
  }, r = (0, K.randomBytesHex)(8);
4957
4956
  return new Promise((n, i) => {
4958
4957
  this.relayEventManager.callbacks.set(r, (s) => {
4959
- if ((0, Qe.isErrorResponse)(s))
4958
+ if ((0, Je.isErrorResponse)(s))
4960
4959
  return i(new Error(s.errorMessage));
4961
4960
  n(s);
4962
4961
  }), Ie.accountRequestCallbackIds.add(r), this.publishWeb3RequestEvent(r, t);
@@ -4986,10 +4985,10 @@ class Ie {
4986
4985
  onResetConnection: this.resetAndReload
4987
4986
  // eslint-disable-line @typescript-eslint/unbound-method
4988
4987
  }), new Promise((h, _) => {
4989
- this.relayEventManager.callbacks.set(d, (g) => {
4990
- if (c == null || c(), (0, Qe.isErrorResponse)(g))
4991
- return _(new Error(g.errorMessage));
4992
- h(g);
4988
+ this.relayEventManager.callbacks.set(d, (y) => {
4989
+ if (c == null || c(), (0, Je.isErrorResponse)(y))
4990
+ return _(new Error(y.errorMessage));
4991
+ h(y);
4993
4992
  }), this.publishWeb3RequestEvent(d, o);
4994
4993
  });
4995
4994
  }
@@ -5015,10 +5014,10 @@ class Ie {
5015
5014
  onResetConnection: this.resetAndReload
5016
5015
  // eslint-disable-line @typescript-eslint/unbound-method
5017
5016
  }), new Promise((h, _) => {
5018
- this.relayEventManager.callbacks.set(d, (g) => {
5019
- if (c == null || c(), (0, Qe.isErrorResponse)(g))
5020
- return _(new Error(g.errorMessage));
5021
- h(g);
5017
+ this.relayEventManager.callbacks.set(d, (y) => {
5018
+ if (c == null || c(), (0, Je.isErrorResponse)(y))
5019
+ return _(new Error(y.errorMessage));
5020
+ h(y);
5022
5021
  }), this.publishWeb3RequestEvent(d, o);
5023
5022
  });
5024
5023
  }
@@ -5029,12 +5028,12 @@ class Ie {
5029
5028
  }, i = (0, K.randomBytesHex)(8);
5030
5029
  return new Promise((s, a) => {
5031
5030
  this.relayEventManager.callbacks.set(i, (o) => {
5032
- if ((0, Qe.isErrorResponse)(o) && o.errorCode)
5031
+ if ((0, Je.isErrorResponse)(o) && o.errorCode)
5033
5032
  return a(du.standardErrors.provider.custom({
5034
5033
  code: o.errorCode,
5035
5034
  message: "Unrecognized chain ID. Try adding the chain using addEthereumChain first."
5036
5035
  }));
5037
- if ((0, Qe.isErrorResponse)(o))
5036
+ if ((0, Je.isErrorResponse)(o))
5038
5037
  return a(new Error(o.errorMessage));
5039
5038
  s(o);
5040
5039
  }), this.publishWeb3RequestEvent(i, n);
@@ -5048,17 +5047,17 @@ var fu = Z && Z.__importDefault || function(e) {
5048
5047
  };
5049
5048
  Object.defineProperty(Xt, "__esModule", { value: !0 });
5050
5049
  Xt.WalletLinkSigner = void 0;
5051
- const In = fu(dc), Ki = ge, _u = wt, Re = at, pu = nr, zi = be, G = ye, D = M, gu = ve, Mn = "DefaultChainId", Vi = "DefaultJsonRpcUrl";
5050
+ const In = fu(dc), qi = ge, _u = Et, Re = at, pu = nr, Ki = be, G = ye, O = M, gu = ve, Mn = "DefaultChainId", zi = "DefaultJsonRpcUrl";
5052
5051
  class bu {
5053
5052
  constructor(t) {
5054
5053
  var r, n;
5055
5054
  this._relay = null, this._addresses = [], this.hasMadeFirstChainChangedEmission = !1;
5056
5055
  const { appName: i, appLogoUrl: s } = t.metadata;
5057
- this._appName = i, this._appLogoUrl = s, this._storage = new gu.ScopedLocalStorage("walletlink", zi.WALLETLINK_URL), this.updateListener = t.updateListener, this._relayEventManager = new _u.RelayEventManager(), this._jsonRpcUrlFromOpts = "";
5058
- const a = this._storage.getItem(Ki.LOCAL_STORAGE_ADDRESSES_KEY);
5056
+ this._appName = i, this._appLogoUrl = s, this._storage = new gu.ScopedLocalStorage("walletlink", Ki.WALLETLINK_URL), this.updateListener = t.updateListener, this._relayEventManager = new _u.RelayEventManager(), this._jsonRpcUrlFromOpts = "";
5057
+ const a = this._storage.getItem(qi.LOCAL_STORAGE_ADDRESSES_KEY);
5059
5058
  if (a) {
5060
5059
  const c = a.split(" ");
5061
- c[0] !== "" && (this._addresses = c.map((d) => (0, D.ensureAddressString)(d)), (r = this.updateListener) === null || r === void 0 || r.onAccountsUpdate({
5060
+ c[0] !== "" && (this._addresses = c.map((d) => (0, O.ensureAddressString)(d)), (r = this.updateListener) === null || r === void 0 || r.onAccountsUpdate({
5062
5061
  accounts: this._addresses,
5063
5062
  source: "storage"
5064
5063
  }));
@@ -5083,16 +5082,16 @@ class bu {
5083
5082
  }
5084
5083
  get jsonRpcUrl() {
5085
5084
  var t;
5086
- return (t = this._storage.getItem(Vi)) !== null && t !== void 0 ? t : this._jsonRpcUrlFromOpts;
5085
+ return (t = this._storage.getItem(zi)) !== null && t !== void 0 ? t : this._jsonRpcUrlFromOpts;
5087
5086
  }
5088
5087
  set jsonRpcUrl(t) {
5089
- this._storage.setItem(Vi, t);
5088
+ this._storage.setItem(zi, t);
5090
5089
  }
5091
5090
  updateProviderInfo(t, r) {
5092
5091
  var n;
5093
5092
  this.jsonRpcUrl = t;
5094
5093
  const i = this.getChainId();
5095
- this._storage.setItem(Mn, r.toString(10)), ((0, D.ensureIntNumber)(r) !== i || !this.hasMadeFirstChainChangedEmission) && ((n = this.updateListener) === null || n === void 0 || n.onChainUpdate({
5094
+ this._storage.setItem(Mn, r.toString(10)), ((0, O.ensureIntNumber)(r) !== i || !this.hasMadeFirstChainChangedEmission) && ((n = this.updateListener) === null || n === void 0 || n.onChainUpdate({
5096
5095
  chain: { id: r, rpcUrl: t },
5097
5096
  source: "wallet"
5098
5097
  }), this.hasMadeFirstChainChangedEmission = !0);
@@ -5103,7 +5102,7 @@ class bu {
5103
5102
  }
5104
5103
  async addEthereumChain(t, r, n, i, s, a) {
5105
5104
  var o, c;
5106
- if ((0, D.ensureIntNumber)(t) === this.getChainId())
5105
+ if ((0, O.ensureIntNumber)(t) === this.getChainId())
5107
5106
  return !1;
5108
5107
  const d = this.initializeRelay();
5109
5108
  this._isAuthorized() || await d.requestEthereumAccounts();
@@ -5164,11 +5163,11 @@ class bu {
5164
5163
  var n;
5165
5164
  if (!Array.isArray(t))
5166
5165
  throw new Error("addresses is not an array");
5167
- const i = t.map((s) => (0, D.ensureAddressString)(s));
5166
+ const i = t.map((s) => (0, O.ensureAddressString)(s));
5168
5167
  JSON.stringify(i) !== JSON.stringify(this._addresses) && (this._addresses = i, (n = this.updateListener) === null || n === void 0 || n.onAccountsUpdate({
5169
5168
  accounts: i,
5170
5169
  source: "wallet"
5171
- }), this._storage.setItem(Ki.LOCAL_STORAGE_ADDRESSES_KEY, i.join(" ")));
5170
+ }), this._storage.setItem(qi.LOCAL_STORAGE_ADDRESSES_KEY, i.join(" ")));
5172
5171
  }
5173
5172
  _sendRequestAsync(t) {
5174
5173
  return new Promise((r, n) => {
@@ -5241,8 +5240,8 @@ class bu {
5241
5240
  }
5242
5241
  _isKnownAddress(t) {
5243
5242
  try {
5244
- const r = (0, D.ensureAddressString)(t);
5245
- return this._addresses.map((i) => (0, D.ensureAddressString)(i)).includes(r);
5243
+ const r = (0, O.ensureAddressString)(t);
5244
+ return this._addresses.map((i) => (0, O.ensureAddressString)(i)).includes(r);
5246
5245
  } catch {
5247
5246
  }
5248
5247
  return !1;
@@ -5252,11 +5251,11 @@ class bu {
5252
5251
  throw new Error("Unknown Ethereum address");
5253
5252
  }
5254
5253
  _prepareTransactionParams(t) {
5255
- const r = t.from ? (0, D.ensureAddressString)(t.from) : this.selectedAddress;
5254
+ const r = t.from ? (0, O.ensureAddressString)(t.from) : this.selectedAddress;
5256
5255
  if (!r)
5257
5256
  throw new Error("Ethereum address is unavailable");
5258
5257
  this._ensureKnownAddress(r);
5259
- const n = t.to ? (0, D.ensureAddressString)(t.to) : null, i = t.value != null ? (0, D.ensureBigInt)(t.value) : BigInt(0), s = t.data ? (0, D.ensureBuffer)(t.data) : Buffer.alloc(0), a = t.nonce != null ? (0, D.ensureIntNumber)(t.nonce) : null, o = t.gasPrice != null ? (0, D.ensureBigInt)(t.gasPrice) : null, c = t.maxFeePerGas != null ? (0, D.ensureBigInt)(t.maxFeePerGas) : null, d = t.maxPriorityFeePerGas != null ? (0, D.ensureBigInt)(t.maxPriorityFeePerGas) : null, p = t.gas != null ? (0, D.ensureBigInt)(t.gas) : null, h = t.chainId ? (0, D.ensureIntNumber)(t.chainId) : this.getChainId();
5258
+ const n = t.to ? (0, O.ensureAddressString)(t.to) : null, i = t.value != null ? (0, O.ensureBigInt)(t.value) : BigInt(0), s = t.data ? (0, O.ensureBuffer)(t.data) : Buffer.alloc(0), a = t.nonce != null ? (0, O.ensureIntNumber)(t.nonce) : null, o = t.gasPrice != null ? (0, O.ensureBigInt)(t.gasPrice) : null, c = t.maxFeePerGas != null ? (0, O.ensureBigInt)(t.maxFeePerGas) : null, d = t.maxPriorityFeePerGas != null ? (0, O.ensureBigInt)(t.maxPriorityFeePerGas) : null, p = t.gas != null ? (0, O.ensureBigInt)(t.gas) : null, h = t.chainId ? (0, O.ensureIntNumber)(t.chainId) : this.getChainId();
5260
5259
  return {
5261
5260
  fromAddress: r,
5262
5261
  toAddress: n,
@@ -5307,14 +5306,14 @@ class bu {
5307
5306
  return this.getChainId().toString(10);
5308
5307
  }
5309
5308
  _eth_chainId() {
5310
- return (0, D.hexStringFromIntNumber)(this.getChainId());
5309
+ return (0, O.hexStringFromIntNumber)(this.getChainId());
5311
5310
  }
5312
5311
  getChainId() {
5313
5312
  const t = this._storage.getItem(Mn);
5314
5313
  if (!t)
5315
- return (0, D.ensureIntNumber)(1);
5314
+ return (0, O.ensureIntNumber)(1);
5316
5315
  const r = parseInt(t, 10);
5317
- return (0, D.ensureIntNumber)(r);
5316
+ return (0, O.ensureIntNumber)(r);
5318
5317
  }
5319
5318
  async _eth_requestAccounts() {
5320
5319
  if (this._isAuthorized())
@@ -5336,20 +5335,20 @@ class bu {
5336
5335
  }
5337
5336
  _eth_sign(t) {
5338
5337
  this._requireAuthorization();
5339
- const r = (0, D.ensureAddressString)(t[0]), n = (0, D.ensureBuffer)(t[1]);
5338
+ const r = (0, O.ensureAddressString)(t[0]), n = (0, O.ensureBuffer)(t[1]);
5340
5339
  return this._signEthereumMessage(n, r, !1);
5341
5340
  }
5342
5341
  _eth_ecRecover(t) {
5343
- const r = (0, D.ensureBuffer)(t[0]), n = (0, D.ensureBuffer)(t[1]);
5342
+ const r = (0, O.ensureBuffer)(t[0]), n = (0, O.ensureBuffer)(t[1]);
5344
5343
  return this._ethereumAddressFromSignedMessage(r, n, !1);
5345
5344
  }
5346
5345
  _personal_sign(t) {
5347
5346
  this._requireAuthorization();
5348
- const r = (0, D.ensureBuffer)(t[0]), n = (0, D.ensureAddressString)(t[1]);
5347
+ const r = (0, O.ensureBuffer)(t[0]), n = (0, O.ensureAddressString)(t[1]);
5349
5348
  return this._signEthereumMessage(r, n, !0);
5350
5349
  }
5351
5350
  _personal_ecRecover(t) {
5352
- const r = (0, D.ensureBuffer)(t[0]), n = (0, D.ensureBuffer)(t[1]);
5351
+ const r = (0, O.ensureBuffer)(t[0]), n = (0, O.ensureBuffer)(t[1]);
5353
5352
  return this._ethereumAddressFromSignedMessage(r, n, !0);
5354
5353
  }
5355
5354
  async _eth_signTransaction(t) {
@@ -5365,7 +5364,7 @@ class bu {
5365
5364
  }
5366
5365
  }
5367
5366
  async _eth_sendRawTransaction(t) {
5368
- const r = (0, D.ensureBuffer)(t[0]), i = await this.initializeRelay().submitEthereumTransaction(r, this.getChainId());
5367
+ const r = (0, O.ensureBuffer)(t[0]), i = await this.initializeRelay().submitEthereumTransaction(r, this.getChainId());
5369
5368
  if ((0, Re.isErrorResponse)(i))
5370
5369
  throw new Error(i.errorMessage);
5371
5370
  return { jsonrpc: "2.0", id: 0, result: i.result };
@@ -5384,21 +5383,21 @@ class bu {
5384
5383
  }
5385
5384
  async _eth_signTypedData_v1(t) {
5386
5385
  this._requireAuthorization();
5387
- const r = (0, D.ensureParsedJSONObject)(t[0]), n = (0, D.ensureAddressString)(t[1]);
5386
+ const r = (0, O.ensureParsedJSONObject)(t[0]), n = (0, O.ensureAddressString)(t[1]);
5388
5387
  this._ensureKnownAddress(n);
5389
5388
  const i = In.default.hashForSignTypedDataLegacy({ data: r }), s = JSON.stringify(r, null, 2);
5390
5389
  return this._signEthereumMessage(i, n, !1, s);
5391
5390
  }
5392
5391
  async _eth_signTypedData_v3(t) {
5393
5392
  this._requireAuthorization();
5394
- const r = (0, D.ensureAddressString)(t[0]), n = (0, D.ensureParsedJSONObject)(t[1]);
5393
+ const r = (0, O.ensureAddressString)(t[0]), n = (0, O.ensureParsedJSONObject)(t[1]);
5395
5394
  this._ensureKnownAddress(r);
5396
5395
  const i = In.default.hashForSignTypedData_v3({ data: n }), s = JSON.stringify(n, null, 2);
5397
5396
  return this._signEthereumMessage(i, r, !1, s);
5398
5397
  }
5399
5398
  async _eth_signTypedData_v4(t) {
5400
5399
  this._requireAuthorization();
5401
- const r = (0, D.ensureAddressString)(t[0]), n = (0, D.ensureParsedJSONObject)(t[1]);
5400
+ const r = (0, O.ensureAddressString)(t[0]), n = (0, O.ensureParsedJSONObject)(t[1]);
5402
5401
  this._ensureKnownAddress(r);
5403
5402
  const i = In.default.hashForSignTypedData_v4({ data: n }), s = JSON.stringify(n, null, 2);
5404
5403
  return this._signEthereumMessage(i, r, !1, s);
@@ -5443,7 +5442,7 @@ class bu {
5443
5442
  initializeRelay() {
5444
5443
  if (!this._relay) {
5445
5444
  const t = new pu.WalletLinkRelay({
5446
- linkAPIUrl: zi.WALLETLINK_URL,
5445
+ linkAPIUrl: Ki.WALLETLINK_URL,
5447
5446
  storage: this._storage
5448
5447
  });
5449
5448
  t.setAppInfo(this._appName, this._appLogoUrl), t.attachUI(), t.setAccountsCallback((r, n) => this._setAddresses(r, n)), t.setChainCallback((r, n) => {
@@ -5457,7 +5456,7 @@ Xt.WalletLinkSigner = bu;
5457
5456
  var oe = {};
5458
5457
  Object.defineProperty(oe, "__esModule", { value: !0 });
5459
5458
  oe.checkErrorForInvalidRequestArgs = oe.getCoinbaseInjectedProvider = oe.getCoinbaseInjectedSigner = oe.fetchRPCRequest = void 0;
5460
- const yu = $e, Ut = ye;
5459
+ const yu = He, Ut = ye;
5461
5460
  async function vu(e, t) {
5462
5461
  if (!t.rpcUrl)
5463
5462
  throw Ut.standardErrors.rpc.internal("No RPC URL set for chain");
@@ -5572,9 +5571,9 @@ async function Au(e, t) {
5572
5571
  var pr = {}, st = {};
5573
5572
  Object.defineProperty(st, "__esModule", { value: !0 });
5574
5573
  st.closePopup = st.openPopup = void 0;
5575
- const Lu = ye, Gi = 420, Zi = 540;
5574
+ const Lu = ye, Vi = 420, Gi = 540;
5576
5575
  function Tu(e) {
5577
- const t = (window.innerWidth - Gi) / 2 + window.screenX, r = (window.innerHeight - Zi) / 2 + window.screenY, n = window.open(e, "Smart Wallet", `width=${Gi}, height=${Zi}, left=${t}, top=${r}`);
5576
+ const t = (window.innerWidth - Vi) / 2 + window.screenX, r = (window.innerHeight - Gi) / 2 + window.screenY, n = window.open(e, "Smart Wallet", `width=${Vi}, height=${Gi}, left=${t}, top=${r}`);
5578
5577
  if (n == null || n.focus(), !n)
5579
5578
  throw Lu.standardErrors.rpc.internal("Pop up window failed to open");
5580
5579
  return n;
@@ -5586,9 +5585,9 @@ function Pu(e) {
5586
5585
  st.closePopup = Pu;
5587
5586
  Object.defineProperty(pr, "__esModule", { value: !0 });
5588
5587
  pr.Communicator = void 0;
5589
- const Nu = $e, Yi = st, Ou = be, Ji = ye;
5590
- class Du {
5591
- constructor(t = Ou.CB_KEYS_URL) {
5588
+ const Nu = He, Zi = st, Du = be, Yi = ye;
5589
+ class Ou {
5590
+ constructor(t = Du.CB_KEYS_URL) {
5592
5591
  this.popup = null, this.listeners = /* @__PURE__ */ new Map(), this.postMessage = async (r) => {
5593
5592
  (await this.waitForPopupLoaded()).postMessage(r, this.url.origin);
5594
5593
  }, this.postRequestAndWaitForResponse = async (r) => {
@@ -5603,10 +5602,10 @@ class Du {
5603
5602
  };
5604
5603
  window.addEventListener("message", s), this.listeners.set(s, { reject: i });
5605
5604
  }), this.disconnect = () => {
5606
- (0, Yi.closePopup)(this.popup), this.popup = null, this.listeners.forEach(({ reject: r }, n) => {
5607
- r(Ji.standardErrors.provider.userRejectedRequest("Request rejected")), window.removeEventListener("message", n);
5605
+ (0, Zi.closePopup)(this.popup), this.popup = null, this.listeners.forEach(({ reject: r }, n) => {
5606
+ r(Yi.standardErrors.provider.userRejectedRequest("Request rejected")), window.removeEventListener("message", n);
5608
5607
  }), this.listeners.clear();
5609
- }, this.waitForPopupLoaded = async () => this.popup && !this.popup.closed ? this.popup : (this.popup = (0, Yi.openPopup)(this.url), this.onMessage(({ event: r }) => r === "PopupUnload").then(this.disconnect).catch(() => {
5608
+ }, this.waitForPopupLoaded = async () => this.popup && !this.popup.closed ? this.popup : (this.popup = (0, Zi.openPopup)(this.url), this.onMessage(({ event: r }) => r === "PopupUnload").then(this.disconnect).catch(() => {
5610
5609
  }), this.onMessage(({ event: r }) => r === "PopupLoaded").then((r) => {
5611
5610
  this.postMessage({
5612
5611
  requestId: r.id,
@@ -5614,16 +5613,16 @@ class Du {
5614
5613
  });
5615
5614
  }).then(() => {
5616
5615
  if (!this.popup)
5617
- throw Ji.standardErrors.rpc.internal();
5616
+ throw Yi.standardErrors.rpc.internal();
5618
5617
  return this.popup;
5619
5618
  })), this.url = new URL(t);
5620
5619
  }
5621
5620
  }
5622
- pr.Communicator = Du;
5621
+ pr.Communicator = Ou;
5623
5622
  var gr = {};
5624
5623
  Object.defineProperty(gr, "__esModule", { value: !0 });
5625
5624
  gr.determineMethodCategory = void 0;
5626
- const Qi = {
5625
+ const Ji = {
5627
5626
  handshake: ["eth_requestAccounts"],
5628
5627
  sign: [
5629
5628
  "eth_ecRecover",
@@ -5654,9 +5653,9 @@ const Qi = {
5654
5653
  fetch: []
5655
5654
  };
5656
5655
  function Bu(e) {
5657
- for (const t in Qi) {
5656
+ for (const t in Ji) {
5658
5657
  const r = t;
5659
- if (Qi[r].includes(e))
5658
+ if (Ji[r].includes(e))
5660
5659
  return r;
5661
5660
  }
5662
5661
  }
@@ -5673,7 +5672,7 @@ var ju = Z && Z.__rest || function(e, t) {
5673
5672
  };
5674
5673
  Object.defineProperty(zt, "__esModule", { value: !0 });
5675
5674
  zt.CoinbaseWalletProvider = void 0;
5676
- const Uu = Wu(xa), Xe = ye, Hu = Gt, Dt = J, dt = M, Bt = pe, Xi = oe, $u = pr, Fu = gr, qu = ve;
5675
+ const Uu = Wu(xa), Qe = ye, Hu = Gt, Ot = J, ht = M, Bt = pe, Qi = oe, $u = pr, Fu = gr, qu = ve;
5677
5676
  class Ku extends Uu.default {
5678
5677
  constructor(t) {
5679
5678
  var r, n, { metadata: i } = t, s = t.preference, { keysUrl: a } = s, o = ju(s, ["keysUrl"]);
@@ -5682,32 +5681,32 @@ class Ku extends Uu.default {
5682
5681
  handshake: async (d) => {
5683
5682
  try {
5684
5683
  if (this.connected)
5685
- return this.emit("connect", { chainId: (0, dt.hexStringFromIntNumber)((0, Dt.IntNumber)(this.chain.id)) }), this.accounts;
5684
+ return this.emit("connect", { chainId: (0, ht.hexStringFromIntNumber)((0, Ot.IntNumber)(this.chain.id)) }), this.accounts;
5686
5685
  const p = await this.requestSignerSelection(), h = this.initSigner(p), _ = await h.handshake();
5687
- return this.signer = h, (0, Bt.storeSignerType)(p), this.emit("connect", { chainId: (0, dt.hexStringFromIntNumber)((0, Dt.IntNumber)(this.chain.id)) }), _;
5686
+ return this.signer = h, (0, Bt.storeSignerType)(p), this.emit("connect", { chainId: (0, ht.hexStringFromIntNumber)((0, Ot.IntNumber)(this.chain.id)) }), _;
5688
5687
  } catch (p) {
5689
5688
  throw this.handleUnauthorizedError(p), p;
5690
5689
  }
5691
5690
  },
5692
5691
  sign: async (d) => {
5693
5692
  if (!this.connected || !this.signer)
5694
- throw Xe.standardErrors.provider.unauthorized("Must call 'eth_requestAccounts' before other methods");
5693
+ throw Qe.standardErrors.provider.unauthorized("Must call 'eth_requestAccounts' before other methods");
5695
5694
  try {
5696
5695
  return await this.signer.request(d);
5697
5696
  } catch (p) {
5698
5697
  throw this.handleUnauthorizedError(p), p;
5699
5698
  }
5700
5699
  },
5701
- fetch: (d) => (0, Xi.fetchRPCRequest)(d, this.chain),
5700
+ fetch: (d) => (0, Qi.fetchRPCRequest)(d, this.chain),
5702
5701
  state: (d) => {
5703
5702
  const p = () => {
5704
5703
  if (this.connected)
5705
5704
  return this.accounts;
5706
- throw Xe.standardErrors.provider.unauthorized("Must call 'eth_requestAccounts' before other methods");
5705
+ throw Qe.standardErrors.provider.unauthorized("Must call 'eth_requestAccounts' before other methods");
5707
5706
  };
5708
5707
  switch (d.method) {
5709
5708
  case "eth_chainId":
5710
- return (0, dt.hexStringFromIntNumber)((0, Dt.IntNumber)(this.chain.id));
5709
+ return (0, ht.hexStringFromIntNumber)((0, Ot.IntNumber)(this.chain.id));
5711
5710
  case "net_version":
5712
5711
  return this.chain.id;
5713
5712
  case "eth_accounts":
@@ -5719,17 +5718,17 @@ class Ku extends Uu.default {
5719
5718
  }
5720
5719
  },
5721
5720
  deprecated: ({ method: d }) => {
5722
- throw Xe.standardErrors.rpc.methodNotSupported(`Method ${d} is deprecated.`);
5721
+ throw Qe.standardErrors.rpc.methodNotSupported(`Method ${d} is deprecated.`);
5723
5722
  },
5724
5723
  unsupported: ({ method: d }) => {
5725
- throw Xe.standardErrors.rpc.methodNotSupported(`Method ${d} is not supported.`);
5724
+ throw Qe.standardErrors.rpc.methodNotSupported(`Method ${d} is not supported.`);
5726
5725
  }
5727
5726
  }, this.isCoinbaseWallet = !0, this.updateListener = {
5728
5727
  onAccountsUpdate: ({ accounts: d, source: p }) => {
5729
- (0, dt.areAddressArraysEqual)(this.accounts, d) || (this.accounts = d, p !== "storage" && this.emit("accountsChanged", this.accounts));
5728
+ (0, ht.areAddressArraysEqual)(this.accounts, d) || (this.accounts = d, p !== "storage" && this.emit("accountsChanged", this.accounts));
5730
5729
  },
5731
5730
  onChainUpdate: ({ chain: d, source: p }) => {
5732
- d.id === this.chain.id && d.rpcUrl === this.chain.rpcUrl || (this.chain = d, p !== "storage" && this.emit("chainChanged", (0, dt.hexStringFromIntNumber)((0, Dt.IntNumber)(d.id))));
5731
+ d.id === this.chain.id && d.rpcUrl === this.chain.rpcUrl || (this.chain = d, p !== "storage" && this.emit("chainChanged", (0, ht.hexStringFromIntNumber)((0, Ot.IntNumber)(d.id))));
5733
5732
  }
5734
5733
  }, this.metadata = i, this.preference = o, this.communicator = new $u.Communicator(a), this.chain = {
5735
5734
  id: (n = (r = i.appChainIds) === null || r === void 0 ? void 0 : r[0]) !== null && n !== void 0 ? n : 1
@@ -5743,7 +5742,7 @@ class Ku extends Uu.default {
5743
5742
  async request(t) {
5744
5743
  var r;
5745
5744
  try {
5746
- const n = (0, Xi.checkErrorForInvalidRequestArgs)(t);
5745
+ const n = (0, Qi.checkErrorForInvalidRequestArgs)(t);
5747
5746
  if (n)
5748
5747
  throw n;
5749
5748
  const i = (r = (0, Fu.determineMethodCategory)(t.method)) !== null && r !== void 0 ? r : "fetch";
@@ -5753,7 +5752,7 @@ class Ku extends Uu.default {
5753
5752
  }
5754
5753
  }
5755
5754
  handleUnauthorizedError(t) {
5756
- t.code === Xe.standardErrorCodes.provider.unauthorized && this.disconnect();
5755
+ t.code === Qe.standardErrorCodes.provider.unauthorized && this.disconnect();
5757
5756
  }
5758
5757
  /** @deprecated Use `.request({ method: 'eth_requestAccounts' })` instead. */
5759
5758
  async enable() {
@@ -5762,7 +5761,7 @@ class Ku extends Uu.default {
5762
5761
  });
5763
5762
  }
5764
5763
  async disconnect() {
5765
- this.accounts = [], this.chain = { id: 1 }, qu.ScopedLocalStorage.clearAll(), this.emit("disconnect", Xe.standardErrors.provider.disconnected("User initiated disconnection"));
5764
+ this.accounts = [], this.chain = { id: 1 }, qu.ScopedLocalStorage.clearAll(), this.emit("disconnect", Qe.standardErrors.provider.disconnected("User initiated disconnection"));
5766
5765
  }
5767
5766
  requestSignerSelection() {
5768
5767
  return (0, Bt.fetchSignerType)({
@@ -5781,9 +5780,9 @@ class Ku extends Uu.default {
5781
5780
  }
5782
5781
  }
5783
5782
  zt.CoinbaseWalletProvider = Ku;
5784
- Object.defineProperty(pt, "__esModule", { value: !0 });
5785
- pt.CoinbaseWalletSDK = void 0;
5786
- const zu = Kt, Vu = zt, Gu = ve, Zu = $e, Yu = M, Ju = oe;
5783
+ Object.defineProperty(gt, "__esModule", { value: !0 });
5784
+ gt.CoinbaseWalletSDK = void 0;
5785
+ const zu = Kt, Vu = zt, Gu = ve, Zu = He, Yu = M, Ju = oe;
5787
5786
  class Qu {
5788
5787
  constructor(t) {
5789
5788
  this.metadata = {
@@ -5810,17 +5809,17 @@ class Qu {
5810
5809
  new Gu.ScopedLocalStorage("CBWSDK").setItem("VERSION", Zu.LIB_VERSION);
5811
5810
  }
5812
5811
  }
5813
- pt.CoinbaseWalletSDK = Qu;
5812
+ gt.CoinbaseWalletSDK = Qu;
5814
5813
  (function(e) {
5815
5814
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CoinbaseWalletSDK = void 0;
5816
- const t = pt;
5815
+ const t = gt;
5817
5816
  e.default = t.CoinbaseWalletSDK;
5818
- var r = pt;
5817
+ var r = gt;
5819
5818
  Object.defineProperty(e, "CoinbaseWalletSDK", { enumerable: !0, get: function() {
5820
5819
  return r.CoinbaseWalletSDK;
5821
5820
  } });
5822
- })(rs);
5823
- const Xu = /* @__PURE__ */ Sa(rs), td = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5821
+ })(ts);
5822
+ const Xu = /* @__PURE__ */ Sa(ts), td = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5824
5823
  __proto__: null,
5825
5824
  default: Xu
5826
5825
  }, Symbol.toStringTag, { value: "Module" }));