@springmicro/auth 0.5.14 → 0.5.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/.eslintrc.cjs +18 -18
  2. package/README.md +60 -60
  3. package/dist/{Index-64ac63ff-CDvYyNvy.js → Index-64ac63ff-vb_yo1iM.js} +1 -1
  4. package/dist/{Index-6c094240-BiBrljFo.js → Index-6c094240-BoxR5zsn.js} +1 -1
  5. package/dist/{Web3Auth-CHWXCVPH.js → Web3Auth-DtI3oRQ3.js} +10 -10
  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-COHdRaOr.js → hashMessage-DCmgnd-x.js} +553 -519
  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 +0 -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-CcJuauVP.js → index-C621Bj_G.js} +2 -2
  42. package/dist/{index-CR1JK6W7.js → index-CRVK3Pq6.js} +1 -1
  43. package/dist/{index-DK8KfPUN.js → index-Cjw60RFG.js} +1 -1
  44. package/dist/{index-CHUlH-AY.js → index-CxmovbaE.js} +1 -1
  45. package/dist/{index-DRGK_WT6.js → index-DEZkLpuR.js} +44 -44
  46. package/dist/{index-CF2CNb4_.js → index-DaoGTpZx.js} +4 -4
  47. package/dist/{index-BU4Qu1YW.js → index-opG_F1g6.js} +5089 -3734
  48. package/dist/index.d.ts +0 -0
  49. package/dist/index.js +1 -1
  50. package/dist/index.umd.cjs +257 -255
  51. package/dist/infinitywallet-C8J4FUYw.js +0 -0
  52. package/dist/kayros-AIrUK1za.js +0 -0
  53. package/dist/keplr-CyLTca9B.js +0 -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 +0 -0
  61. package/dist/{number-C9sgwRRs.js → number-BE79AmF4.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 +0 -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 +13 -13
  89. package/package.json +3 -2
  90. package/src/auth/config.ts +0 -0
  91. package/src/components/SignUp.tsx +0 -0
  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 +157 -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 +308 -308
  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 +0 -0
  137. package/src/i18n/en/signup.json +48 -48
  138. package/src/i18n/index.ts +17 -17
  139. package/src/index.tsx +0 -0
  140. package/src/vite-env.d.ts +1 -1
  141. package/tsconfig.json +23 -23
  142. package/tsconfig.node.json +10 -10
  143. package/vite.config.ts +33 -33
@@ -1,5 +1,5 @@
1
- import { bK as L } from "./Web3Auth-CHWXCVPH.js";
2
- var xt = {}, I = {}, T = {}, ne = L && L.__awaiter || function(e, t, n, i) {
1
+ import { bK as L } from "./Web3Auth-DtI3oRQ3.js";
2
+ var Yt = {}, I = {}, T = {}, ie = L && L.__awaiter || function(e, t, n, i) {
3
3
  function r(s) {
4
4
  return s instanceof n ? s : new n(function(o) {
5
5
  o(s);
@@ -28,15 +28,15 @@ var xt = {}, I = {}, T = {}, ne = L && L.__awaiter || function(e, t, n, i) {
28
28
  };
29
29
  Object.defineProperty(T, "__esModule", { value: !0 });
30
30
  T.getData = T.fetchData = T.stringifyQuery = T.insertParams = void 0;
31
- const Qt = (e) => typeof e == "object" && e !== null && "code" in e && "message" in e;
32
- function qt(e, t, n) {
31
+ const Jt = (e) => typeof e == "object" && e !== null && "code" in e && "message" in e;
32
+ function Zt(e, t, n) {
33
33
  return e.replace(new RegExp(`\\{${t}\\}`, "g"), n);
34
34
  }
35
- function Yt(e, t) {
36
- return t ? Object.keys(t).reduce((n, i) => qt(n, i, String(t[i])), e) : e;
35
+ function en(e, t) {
36
+ return t ? Object.keys(t).reduce((n, i) => Zt(n, i, String(t[i])), e) : e;
37
37
  }
38
- T.insertParams = Yt;
39
- function Jt(e) {
38
+ T.insertParams = en;
39
+ function tn(e) {
40
40
  if (!e)
41
41
  return "";
42
42
  const t = new URLSearchParams();
@@ -46,9 +46,9 @@ function Jt(e) {
46
46
  const n = t.toString();
47
47
  return n ? `?${n}` : "";
48
48
  }
49
- T.stringifyQuery = Jt;
50
- function Ie(e) {
51
- return ne(this, void 0, void 0, function* () {
49
+ T.stringifyQuery = tn;
50
+ function Te(e) {
51
+ return ie(this, void 0, void 0, function* () {
52
52
  let t;
53
53
  try {
54
54
  t = yield e.json();
@@ -56,35 +56,35 @@ function Ie(e) {
56
56
  t = {};
57
57
  }
58
58
  if (!e.ok) {
59
- const n = Qt(t) ? `CGW error - ${t.code}: ${t.message}` : `CGW error - status ${e.statusText}`;
59
+ const n = Jt(t) ? `CGW error - ${t.code}: ${t.message}` : `CGW error - status ${e.statusText}`;
60
60
  throw new Error(n);
61
61
  }
62
62
  return t;
63
63
  });
64
64
  }
65
- function Zt(e, t, n, i, r) {
66
- return ne(this, void 0, void 0, function* () {
65
+ function nn(e, t, n, i, r) {
66
+ return ie(this, void 0, void 0, function* () {
67
67
  const s = Object.assign({ "Content-Type": "application/json" }, i), o = {
68
68
  method: t ?? "POST",
69
69
  headers: s
70
70
  };
71
71
  r && (o.credentials = r), n != null && (o.body = typeof n == "string" ? n : JSON.stringify(n));
72
72
  const c = yield fetch(e, o);
73
- return Ie(c);
73
+ return Te(c);
74
74
  });
75
75
  }
76
- T.fetchData = Zt;
77
- function en(e, t, n) {
78
- return ne(this, void 0, void 0, function* () {
76
+ T.fetchData = nn;
77
+ function rn(e, t, n) {
78
+ return ie(this, void 0, void 0, function* () {
79
79
  const i = {
80
80
  method: "GET"
81
81
  };
82
82
  t && (i.headers = Object.assign(Object.assign({}, t), { "Content-Type": "application/json" })), n && (i.credentials = n);
83
83
  const r = yield fetch(e, i);
84
- return Ie(r);
84
+ return Te(r);
85
85
  });
86
86
  }
87
- T.getData = en;
87
+ T.getData = rn;
88
88
  Object.defineProperty(I, "__esModule", { value: !0 });
89
89
  I.getEndpoint = I.deleteEndpoint = I.putEndpoint = I.postEndpoint = void 0;
90
90
  const $ = T;
@@ -92,49 +92,49 @@ function V(e, t, n, i) {
92
92
  const r = (0, $.insertParams)(t, n), s = (0, $.stringifyQuery)(i);
93
93
  return `${e}${r}${s}`;
94
94
  }
95
- function tn(e, t, n) {
95
+ function sn(e, t, n) {
96
96
  const i = V(e, t, n == null ? void 0 : n.path, n == null ? void 0 : n.query);
97
97
  return (0, $.fetchData)(i, "POST", n == null ? void 0 : n.body, n == null ? void 0 : n.headers, n == null ? void 0 : n.credentials);
98
98
  }
99
- I.postEndpoint = tn;
100
- function nn(e, t, n) {
99
+ I.postEndpoint = sn;
100
+ function on(e, t, n) {
101
101
  const i = V(e, t, n == null ? void 0 : n.path, n == null ? void 0 : n.query);
102
102
  return (0, $.fetchData)(i, "PUT", n == null ? void 0 : n.body, n == null ? void 0 : n.headers, n == null ? void 0 : n.credentials);
103
103
  }
104
- I.putEndpoint = nn;
105
- function rn(e, t, n) {
104
+ I.putEndpoint = on;
105
+ function an(e, t, n) {
106
106
  const i = V(e, t, n == null ? void 0 : n.path, n == null ? void 0 : n.query);
107
107
  return (0, $.fetchData)(i, "DELETE", n == null ? void 0 : n.body, n == null ? void 0 : n.headers, n == null ? void 0 : n.credentials);
108
108
  }
109
- I.deleteEndpoint = rn;
110
- function sn(e, t, n, i) {
109
+ I.deleteEndpoint = an;
110
+ function cn(e, t, n, i) {
111
111
  if (i)
112
112
  return (0, $.getData)(i, void 0, n == null ? void 0 : n.credentials);
113
113
  const r = V(e, t, n == null ? void 0 : n.path, n == null ? void 0 : n.query);
114
114
  return (0, $.getData)(r, n == null ? void 0 : n.headers, n == null ? void 0 : n.credentials);
115
115
  }
116
- I.getEndpoint = sn;
116
+ I.getEndpoint = cn;
117
117
  var K = {};
118
118
  Object.defineProperty(K, "__esModule", { value: !0 });
119
119
  K.DEFAULT_BASE_URL = void 0;
120
120
  K.DEFAULT_BASE_URL = "https://safe-client.safe.global";
121
- var Te = {};
121
+ var me = {};
122
122
  (function(e) {
123
123
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ImplementationVersionState = void 0, function(t) {
124
124
  t.UP_TO_DATE = "UP_TO_DATE", t.OUTDATED = "OUTDATED", t.UNKNOWN = "UNKNOWN";
125
125
  }(e.ImplementationVersionState || (e.ImplementationVersionState = {}));
126
- })(Te);
127
- var me = {};
126
+ })(me);
127
+ var ve = {};
128
128
  (function(e) {
129
129
  Object.defineProperty(e, "__esModule", { value: !0 }), e.SafeAppSocialPlatforms = e.SafeAppFeatures = e.SafeAppAccessPolicyTypes = void 0, function(t) {
130
130
  t.NoRestrictions = "NO_RESTRICTIONS", t.DomainAllowlist = "DOMAIN_ALLOWLIST";
131
131
  }(e.SafeAppAccessPolicyTypes || (e.SafeAppAccessPolicyTypes = {})), function(t) {
132
132
  t.BATCHED_TRANSACTIONS = "BATCHED_TRANSACTIONS";
133
133
  }(e.SafeAppFeatures || (e.SafeAppFeatures = {})), function(t) {
134
- t.TWITTER = "TWITTER", t.GITHUB = "GITHUB", t.DISCORD = "DISCORD";
134
+ t.TWITTER = "TWITTER", t.GITHUB = "GITHUB", t.DISCORD = "DISCORD", t.TELEGRAM = "TELEGRAM";
135
135
  }(e.SafeAppSocialPlatforms || (e.SafeAppSocialPlatforms = {}));
136
- })(me);
137
- var ve = {};
136
+ })(ve);
137
+ var Se = {};
138
138
  (function(e) {
139
139
  Object.defineProperty(e, "__esModule", { value: !0 }), e.LabelValue = e.StartTimeValue = e.DurationType = e.DetailedExecutionInfoType = e.TransactionListItemType = e.ConflictType = e.TransactionInfoType = e.SettingsInfoType = e.TransactionTokenType = e.TransferDirection = e.TransactionStatus = e.Operation = void 0, function(t) {
140
140
  t[t.CALL = 0] = "CALL", t[t.DELEGATE = 1] = "DELEGATE";
@@ -161,8 +161,8 @@ var ve = {};
161
161
  }(e.StartTimeValue || (e.StartTimeValue = {})), function(t) {
162
162
  t.Queued = "Queued", t.Next = "Next";
163
163
  }(e.LabelValue || (e.LabelValue = {}));
164
- })(ve);
165
- var Se = {};
164
+ })(Se);
165
+ var _e = {};
166
166
  (function(e) {
167
167
  Object.defineProperty(e, "__esModule", { value: !0 }), e.FEATURES = e.GAS_PRICE_TYPE = e.RPC_AUTHENTICATION = void 0, function(t) {
168
168
  t.API_KEY_PATH = "API_KEY_PATH", t.NO_AUTHENTICATION = "NO_AUTHENTICATION", t.UNKNOWN = "UNKNOWN";
@@ -171,39 +171,39 @@ var Se = {};
171
171
  }(e.GAS_PRICE_TYPE || (e.GAS_PRICE_TYPE = {})), function(t) {
172
172
  t.ERC721 = "ERC721", t.SAFE_APPS = "SAFE_APPS", t.CONTRACT_INTERACTION = "CONTRACT_INTERACTION", t.DOMAIN_LOOKUP = "DOMAIN_LOOKUP", t.SPENDING_LIMIT = "SPENDING_LIMIT", t.EIP1559 = "EIP1559", t.SAFE_TX_GAS_OPTIONAL = "SAFE_TX_GAS_OPTIONAL", t.TX_SIMULATION = "TX_SIMULATION", t.EIP1271 = "EIP1271";
173
173
  }(e.FEATURES || (e.FEATURES = {}));
174
- })(Se);
175
- var _e = {};
174
+ })(_e);
175
+ var Ne = {};
176
176
  (function(e) {
177
177
  Object.defineProperty(e, "__esModule", { value: !0 }), e.TokenType = void 0, function(t) {
178
- t.ERC20 = "ERC20", t.ERC721 = "ERC721", t.NATIVE_TOKEN = "NATIVE_TOKEN";
178
+ t.ERC20 = "ERC20", t.ERC721 = "ERC721", t.NATIVE_TOKEN = "NATIVE_TOKEN", t.UNKNOWN = "UNKNOWN";
179
179
  }(e.TokenType || (e.TokenType = {}));
180
- })(_e);
181
- var Ne = {};
182
- Object.defineProperty(Ne, "__esModule", { value: !0 });
180
+ })(Ne);
183
181
  var Oe = {};
182
+ Object.defineProperty(Oe, "__esModule", { value: !0 });
183
+ var De = {};
184
184
  (function(e) {
185
185
  Object.defineProperty(e, "__esModule", { value: !0 }), e.NativeStakingStatus = e.ConfirmationViewTypes = void 0, function(t) {
186
186
  t.GENERIC = "GENERIC", t.COW_SWAP_ORDER = "COW_SWAP_ORDER", t.COW_SWAP_TWAP_ORDER = "COW_SWAP_TWAP_ORDER", t.KILN_NATIVE_STAKING_DEPOSIT = "KILN_NATIVE_STAKING_DEPOSIT", t.KILN_NATIVE_STAKING_VALIDATORS_EXIT = "KILN_NATIVE_STAKING_VALIDATORS_EXIT", t.KILN_NATIVE_STAKING_WITHDRAW = "KILN_NATIVE_STAKING_WITHDRAW";
187
187
  }(e.ConfirmationViewTypes || (e.ConfirmationViewTypes = {})), function(t) {
188
188
  t.NOT_STAKED = "NOT_STAKED", t.ACTIVATING = "ACTIVATING", t.DEPOSIT_IN_PROGRESS = "DEPOSIT_IN_PROGRESS", t.ACTIVE = "ACTIVE", t.EXIT_REQUESTED = "EXIT_REQUESTED", t.EXITING = "EXITING", t.EXITED = "EXITED", t.SLASHED = "SLASHED";
189
189
  }(e.NativeStakingStatus || (e.NativeStakingStatus = {}));
190
- })(Oe);
191
- var De = {};
190
+ })(De);
191
+ var we = {};
192
192
  (function(e) {
193
193
  Object.defineProperty(e, "__esModule", { value: !0 }), e.SafeMessageStatus = e.SafeMessageListItemType = void 0, function(t) {
194
194
  t.DATE_LABEL = "DATE_LABEL", t.MESSAGE = "MESSAGE";
195
195
  }(e.SafeMessageListItemType || (e.SafeMessageListItemType = {})), function(t) {
196
196
  t.NEEDS_CONFIRMATION = "NEEDS_CONFIRMATION", t.CONFIRMED = "CONFIRMED";
197
197
  }(e.SafeMessageStatus || (e.SafeMessageStatus = {}));
198
- })(De);
199
- var we = {};
198
+ })(we);
199
+ var $e = {};
200
200
  (function(e) {
201
201
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DeviceType = void 0, function(t) {
202
202
  t.ANDROID = "ANDROID", t.IOS = "IOS", t.WEB = "WEB";
203
203
  }(e.DeviceType || (e.DeviceType = {}));
204
- })(we);
205
- var $e = {};
206
- Object.defineProperty($e, "__esModule", { value: !0 });
204
+ })($e);
205
+ var Ce = {};
206
+ Object.defineProperty(Ce, "__esModule", { value: !0 });
207
207
  (function(e) {
208
208
  var t = L && L.__createBinding || (Object.create ? function(a, u, d, l) {
209
209
  l === void 0 && (l = d);
@@ -218,7 +218,7 @@ Object.defineProperty($e, "__esModule", { value: !0 });
218
218
  };
219
219
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getAccount = e.createAccount = e.verifyAuth = e.getAuthNonce = e.getContract = e.getSafeOverviews = e.unsubscribeAll = e.unsubscribeSingle = e.registerRecoveryModule = e.deleteRegisteredEmail = e.getRegisteredEmail = e.verifyEmail = e.resendEmailVerificationCode = e.changeEmail = e.registerEmail = e.unregisterDevice = e.unregisterSafe = e.registerDevice = e.getDelegates = e.confirmSafeMessage = e.proposeSafeMessage = e.getSafeMessage = e.getSafeMessages = e.getDecodedData = e.getMasterCopies = e.getSafeApps = e.getChainConfig = e.getChainsConfig = e.getTxPreview = e.getConfirmationView = e.proposeTransaction = e.getNonces = e.postSafeGasEstimation = e.deleteTransaction = e.getTransactionDetails = e.getTransactionQueue = e.getTransactionHistory = e.getCollectiblesPage = e.getCollectibles = e.getAllOwnedSafes = e.getOwnedSafes = e.getFiatCurrencies = e.getBalances = e.getMultisigTransactions = e.getModuleTransactions = e.getIncomingTransfers = e.getSafeInfo = e.getRelayCount = e.relayTransaction = e.setBaseUrl = void 0, e.getIndexingStatus = e.putAccountDataSettings = e.getAccountDataSettings = e.getAccountDataTypes = e.deleteAccount = void 0;
220
220
  const i = I, r = K;
221
- n(Te, e), n(me, e), n(ve, e), n(Se, e), n(_e, e), n(Ne, e), n(Oe, e), n(De, e), n(we, e), n($e, e);
221
+ n(me, e), n(ve, e), n(Se, e), n(_e, e), n(Ne, e), n(Oe, e), n(De, e), n(we, e), n($e, e), n(Ce, e);
222
222
  let s = r.DEFAULT_BASE_URL;
223
223
  const o = (a) => {
224
224
  s = a;
@@ -283,212 +283,212 @@ Object.defineProperty($e, "__esModule", { value: !0 });
283
283
  });
284
284
  }
285
285
  e.getCollectibles = Y;
286
- function st(a, u, d = {}, l) {
286
+ function ct(a, u, d = {}, l) {
287
287
  return (0, i.getEndpoint)(s, "/v2/chains/{chainId}/safes/{address}/collectibles", { path: { chainId: a, address: u }, query: d }, l);
288
288
  }
289
- e.getCollectiblesPage = st;
290
- function ot(a, u, d = {}, l) {
289
+ e.getCollectiblesPage = ct;
290
+ function ut(a, u, d = {}, l) {
291
291
  return (0, i.getEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/transactions/history", { path: { chainId: a, safe_address: u }, query: d }, l);
292
292
  }
293
- e.getTransactionHistory = ot;
294
- function at(a, u, d = {}, l) {
293
+ e.getTransactionHistory = ut;
294
+ function dt(a, u, d = {}, l) {
295
295
  return (0, i.getEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/transactions/queued", { path: { chainId: a, safe_address: u }, query: d }, l);
296
296
  }
297
- e.getTransactionQueue = at;
298
- function ct(a, u) {
297
+ e.getTransactionQueue = dt;
298
+ function ft(a, u) {
299
299
  return (0, i.getEndpoint)(s, "/v1/chains/{chainId}/transactions/{transactionId}", {
300
300
  path: { chainId: a, transactionId: u }
301
301
  });
302
302
  }
303
- e.getTransactionDetails = ct;
304
- function ut(a, u, d) {
303
+ e.getTransactionDetails = ft;
304
+ function lt(a, u, d) {
305
305
  return (0, i.deleteEndpoint)(s, "/v1/chains/{chainId}/transactions/{safeTxHash}", {
306
306
  path: { chainId: a, safeTxHash: u },
307
307
  body: { signature: d }
308
308
  });
309
309
  }
310
- e.deleteTransaction = ut;
311
- function dt(a, u, d) {
310
+ e.deleteTransaction = lt;
311
+ function ht(a, u, d) {
312
312
  return (0, i.postEndpoint)(s, "/v2/chains/{chainId}/safes/{safe_address}/multisig-transactions/estimations", {
313
313
  path: { chainId: a, safe_address: u },
314
314
  body: d
315
315
  });
316
316
  }
317
- e.postSafeGasEstimation = dt;
318
- function ft(a, u) {
317
+ e.postSafeGasEstimation = ht;
318
+ function gt(a, u) {
319
319
  return (0, i.getEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/nonces", {
320
320
  path: { chainId: a, safe_address: u }
321
321
  });
322
322
  }
323
- e.getNonces = ft;
324
- function lt(a, u, d) {
323
+ e.getNonces = gt;
324
+ function yt(a, u, d) {
325
325
  return (0, i.postEndpoint)(s, "/v1/chains/{chainId}/transactions/{safe_address}/propose", {
326
326
  path: { chainId: a, safe_address: u },
327
327
  body: d
328
328
  });
329
329
  }
330
- e.proposeTransaction = lt;
331
- function ht(a, u, d, l, A) {
330
+ e.proposeTransaction = yt;
331
+ function Et(a, u, d, l, A, J) {
332
332
  return (0, i.postEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/views/transaction-confirmation", {
333
333
  path: { chainId: a, safe_address: u },
334
- body: { data: d, to: l, value: A }
334
+ body: { operation: d, data: l, to: A, value: J }
335
335
  });
336
336
  }
337
- e.getConfirmationView = ht;
338
- function gt(a, u, d, l, A) {
337
+ e.getConfirmationView = Et;
338
+ function pt(a, u, d, l, A, J) {
339
339
  return (0, i.postEndpoint)(s, "/v1/chains/{chainId}/transactions/{safe_address}/preview", {
340
340
  path: { chainId: a, safe_address: u },
341
- body: { data: d, to: l, value: A }
341
+ body: { operation: d, data: l, to: A, value: J }
342
342
  });
343
343
  }
344
- e.getTxPreview = gt;
345
- function yt(a) {
344
+ e.getTxPreview = pt;
345
+ function At(a) {
346
346
  return (0, i.getEndpoint)(s, "/v1/chains", {
347
347
  query: a
348
348
  });
349
349
  }
350
- e.getChainsConfig = yt;
351
- function Et(a) {
350
+ e.getChainsConfig = At;
351
+ function bt(a) {
352
352
  return (0, i.getEndpoint)(s, "/v1/chains/{chainId}", {
353
353
  path: { chainId: a }
354
354
  });
355
355
  }
356
- e.getChainConfig = Et;
357
- function pt(a, u = {}) {
356
+ e.getChainConfig = bt;
357
+ function It(a, u = {}) {
358
358
  return (0, i.getEndpoint)(s, "/v1/chains/{chainId}/safe-apps", {
359
359
  path: { chainId: a },
360
360
  query: u
361
361
  });
362
362
  }
363
- e.getSafeApps = pt;
364
- function At(a) {
363
+ e.getSafeApps = It;
364
+ function Tt(a) {
365
365
  return (0, i.getEndpoint)(s, "/v1/chains/{chainId}/about/master-copies", {
366
366
  path: { chainId: a }
367
367
  });
368
368
  }
369
- e.getMasterCopies = At;
370
- function bt(a, u, d) {
369
+ e.getMasterCopies = Tt;
370
+ function mt(a, u, d, l) {
371
371
  return (0, i.postEndpoint)(s, "/v1/chains/{chainId}/data-decoder", {
372
372
  path: { chainId: a },
373
- body: { data: u, to: d }
373
+ body: { operation: u, data: d, to: l }
374
374
  });
375
375
  }
376
- e.getDecodedData = bt;
377
- function It(a, u, d) {
376
+ e.getDecodedData = mt;
377
+ function vt(a, u, d) {
378
378
  return (0, i.getEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/messages", { path: { chainId: a, safe_address: u }, query: {} }, d);
379
379
  }
380
- e.getSafeMessages = It;
381
- function Tt(a, u) {
380
+ e.getSafeMessages = vt;
381
+ function St(a, u) {
382
382
  return (0, i.getEndpoint)(s, "/v1/chains/{chainId}/messages/{message_hash}", {
383
383
  path: { chainId: a, message_hash: u }
384
384
  });
385
385
  }
386
- e.getSafeMessage = Tt;
387
- function mt(a, u, d) {
386
+ e.getSafeMessage = St;
387
+ function _t(a, u, d) {
388
388
  return (0, i.postEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/messages", {
389
389
  path: { chainId: a, safe_address: u },
390
390
  body: d
391
391
  });
392
392
  }
393
- e.proposeSafeMessage = mt;
394
- function vt(a, u, d) {
393
+ e.proposeSafeMessage = _t;
394
+ function Nt(a, u, d) {
395
395
  return (0, i.postEndpoint)(s, "/v1/chains/{chainId}/messages/{message_hash}/signatures", {
396
396
  path: { chainId: a, message_hash: u },
397
397
  body: d
398
398
  });
399
399
  }
400
- e.confirmSafeMessage = vt;
401
- function St(a, u = {}) {
400
+ e.confirmSafeMessage = Nt;
401
+ function Ot(a, u = {}) {
402
402
  return (0, i.getEndpoint)(s, "/v2/chains/{chainId}/delegates", {
403
403
  path: { chainId: a },
404
404
  query: u
405
405
  });
406
406
  }
407
- e.getDelegates = St;
408
- function _t(a) {
407
+ e.getDelegates = Ot;
408
+ function Dt(a) {
409
409
  return (0, i.postEndpoint)(s, "/v1/register/notifications", {
410
410
  body: a
411
411
  });
412
412
  }
413
- e.registerDevice = _t;
414
- function Nt(a, u, d) {
413
+ e.registerDevice = Dt;
414
+ function wt(a, u, d) {
415
415
  return (0, i.deleteEndpoint)(s, "/v1/chains/{chainId}/notifications/devices/{uuid}/safes/{safe_address}", {
416
416
  path: { chainId: a, safe_address: u, uuid: d }
417
417
  });
418
418
  }
419
- e.unregisterSafe = Nt;
420
- function Ot(a, u) {
419
+ e.unregisterSafe = wt;
420
+ function $t(a, u) {
421
421
  return (0, i.deleteEndpoint)(s, "/v1/chains/{chainId}/notifications/devices/{uuid}", {
422
422
  path: { chainId: a, uuid: u }
423
423
  });
424
424
  }
425
- e.unregisterDevice = Ot;
426
- function Dt(a, u, d, l) {
425
+ e.unregisterDevice = $t;
426
+ function Ct(a, u, d, l) {
427
427
  return (0, i.postEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/emails", {
428
428
  path: { chainId: a, safe_address: u },
429
429
  body: d,
430
430
  headers: l
431
431
  });
432
432
  }
433
- e.registerEmail = Dt;
434
- function wt(a, u, d, l, A) {
433
+ e.registerEmail = Ct;
434
+ function Mt(a, u, d, l, A) {
435
435
  return (0, i.putEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/emails/{signer}", {
436
436
  path: { chainId: a, safe_address: u, signer: d },
437
437
  body: l,
438
438
  headers: A
439
439
  });
440
440
  }
441
- e.changeEmail = wt;
442
- function $t(a, u, d) {
441
+ e.changeEmail = Mt;
442
+ function Lt(a, u, d) {
443
443
  return (0, i.postEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/emails/{signer}/verify-resend", {
444
444
  path: { chainId: a, safe_address: u, signer: d },
445
445
  body: ""
446
446
  });
447
447
  }
448
- e.resendEmailVerificationCode = $t;
449
- function Ct(a, u, d, l) {
448
+ e.resendEmailVerificationCode = Lt;
449
+ function Pt(a, u, d, l) {
450
450
  return (0, i.putEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/emails/{signer}/verify", {
451
451
  path: { chainId: a, safe_address: u, signer: d },
452
452
  body: l
453
453
  });
454
454
  }
455
- e.verifyEmail = Ct;
456
- function Mt(a, u, d, l) {
455
+ e.verifyEmail = Pt;
456
+ function Rt(a, u, d, l) {
457
457
  return (0, i.getEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/emails/{signer}", {
458
458
  path: { chainId: a, safe_address: u, signer: d },
459
459
  headers: l
460
460
  });
461
461
  }
462
- e.getRegisteredEmail = Mt;
463
- function Lt(a, u, d, l) {
462
+ e.getRegisteredEmail = Rt;
463
+ function Bt(a, u, d, l) {
464
464
  return (0, i.deleteEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/emails/{signer}", {
465
465
  path: { chainId: a, safe_address: u, signer: d },
466
466
  headers: l
467
467
  });
468
468
  }
469
- e.deleteRegisteredEmail = Lt;
470
- function Pt(a, u, d) {
469
+ e.deleteRegisteredEmail = Bt;
470
+ function zt(a, u, d) {
471
471
  return (0, i.postEndpoint)(s, "/v1/chains/{chainId}/safes/{safe_address}/recovery", {
472
472
  path: { chainId: a, safe_address: u },
473
473
  body: d
474
474
  });
475
475
  }
476
- e.registerRecoveryModule = Pt;
477
- function Rt(a) {
476
+ e.registerRecoveryModule = zt;
477
+ function Ut(a) {
478
478
  return (0, i.deleteEndpoint)(s, "/v1/subscriptions", { query: a });
479
479
  }
480
- e.unsubscribeSingle = Rt;
481
- function Bt(a) {
480
+ e.unsubscribeSingle = Ut;
481
+ function jt(a) {
482
482
  return (0, i.deleteEndpoint)(s, "/v1/subscriptions/all", { query: a });
483
483
  }
484
- e.unsubscribeAll = Bt;
485
- function zt(a, u) {
484
+ e.unsubscribeAll = jt;
485
+ function Ft(a, u) {
486
486
  return (0, i.getEndpoint)(s, "/v1/safes", {
487
487
  query: Object.assign(Object.assign({}, u), { safes: a.join(",") })
488
488
  });
489
489
  }
490
- e.getSafeOverviews = zt;
491
- function Ut(a, u) {
490
+ e.getSafeOverviews = Ft;
491
+ function Ht(a, u) {
492
492
  return (0, i.getEndpoint)(s, "/v1/chains/{chainId}/contracts/{contractAddress}", {
493
493
  path: {
494
494
  chainId: a,
@@ -496,81 +496,81 @@ Object.defineProperty($e, "__esModule", { value: !0 });
496
496
  }
497
497
  });
498
498
  }
499
- e.getContract = Ut;
500
- function jt() {
499
+ e.getContract = Ht;
500
+ function Gt() {
501
501
  return (0, i.getEndpoint)(s, "/v1/auth/nonce", { credentials: "include" });
502
502
  }
503
- e.getAuthNonce = jt;
504
- function Ft(a) {
503
+ e.getAuthNonce = Gt;
504
+ function Wt(a) {
505
505
  return (0, i.postEndpoint)(s, "/v1/auth/verify", {
506
506
  body: a,
507
507
  credentials: "include"
508
508
  });
509
509
  }
510
- e.verifyAuth = Ft;
511
- function Ht(a) {
510
+ e.verifyAuth = Wt;
511
+ function kt(a) {
512
512
  return (0, i.postEndpoint)(s, "/v1/accounts", {
513
513
  body: a,
514
514
  credentials: "include"
515
515
  });
516
516
  }
517
- e.createAccount = Ht;
518
- function Gt(a) {
517
+ e.createAccount = kt;
518
+ function Vt(a) {
519
519
  return (0, i.getEndpoint)(s, "/v1/accounts/{address}", {
520
520
  path: { address: a },
521
521
  credentials: "include"
522
522
  });
523
523
  }
524
- e.getAccount = Gt;
525
- function Wt(a) {
524
+ e.getAccount = Vt;
525
+ function Kt(a) {
526
526
  return (0, i.deleteEndpoint)(s, "/v1/accounts/{address}", {
527
527
  path: { address: a },
528
528
  credentials: "include"
529
529
  });
530
530
  }
531
- e.deleteAccount = Wt;
532
- function kt() {
531
+ e.deleteAccount = Kt;
532
+ function Xt() {
533
533
  return (0, i.getEndpoint)(s, "/v1/accounts/data-types");
534
534
  }
535
- e.getAccountDataTypes = kt;
536
- function Vt(a) {
535
+ e.getAccountDataTypes = Xt;
536
+ function xt(a) {
537
537
  return (0, i.getEndpoint)(s, "/v1/accounts/{address}/data-settings", {
538
538
  path: { address: a },
539
539
  credentials: "include"
540
540
  });
541
541
  }
542
- e.getAccountDataSettings = Vt;
543
- function Kt(a, u) {
542
+ e.getAccountDataSettings = xt;
543
+ function Qt(a, u) {
544
544
  return (0, i.putEndpoint)(s, "/v1/accounts/{address}/data-settings", {
545
545
  path: { address: a },
546
546
  body: u,
547
547
  credentials: "include"
548
548
  });
549
549
  }
550
- e.putAccountDataSettings = Kt;
551
- function Xt(a) {
550
+ e.putAccountDataSettings = Qt;
551
+ function qt(a) {
552
552
  return (0, i.getEndpoint)(s, "/v1/chains/{chainId}/about/indexing", {
553
553
  path: { chainId: a }
554
554
  });
555
555
  }
556
- e.getIndexingStatus = Xt;
557
- })(xt);
558
- function on(e, t) {
556
+ e.getIndexingStatus = qt;
557
+ })(Yt);
558
+ function un(e, t) {
559
559
  const n = e.exec(t);
560
560
  return n == null ? void 0 : n.groups;
561
561
  }
562
- const $i = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/, Ci = /^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/, Mi = /^\(.+?\).*?$/, de = /^tuple(?<array>(\[(\d*)\])*)$/;
563
- function ee(e) {
562
+ const Ci = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/, Mi = /^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/, Li = /^\(.+?\).*?$/, fe = /^tuple(?<array>(\[(\d*)\])*)$/;
563
+ function te(e) {
564
564
  let t = e.type;
565
- if (de.test(e.type) && "components" in e) {
565
+ if (fe.test(e.type) && "components" in e) {
566
566
  t = "(";
567
567
  const n = e.components.length;
568
568
  for (let r = 0; r < n; r++) {
569
569
  const s = e.components[r];
570
- t += ee(s), r < n - 1 && (t += ", ");
570
+ t += te(s), r < n - 1 && (t += ", ");
571
571
  }
572
- const i = on(de, e.type);
573
- return t += `)${(i == null ? void 0 : i.array) ?? ""}`, ee({
572
+ const i = un(fe, e.type);
573
+ return t += `)${(i == null ? void 0 : i.array) ?? ""}`, te({
574
574
  ...e,
575
575
  type: t
576
576
  });
@@ -582,22 +582,23 @@ function B(e) {
582
582
  const n = e.length;
583
583
  for (let i = 0; i < n; i++) {
584
584
  const r = e[i];
585
- t += ee(r), i !== n - 1 && (t += ", ");
585
+ t += te(r), i !== n - 1 && (t += ", ");
586
586
  }
587
587
  return t;
588
588
  }
589
- function an(e) {
590
- return e.type === "function" ? `function ${e.name}(${B(e.inputs)})${e.stateMutability && e.stateMutability !== "nonpayable" ? ` ${e.stateMutability}` : ""}${e.outputs.length ? ` returns (${B(e.outputs)})` : ""}` : e.type === "event" ? `event ${e.name}(${B(e.inputs)})` : e.type === "error" ? `error ${e.name}(${B(e.inputs)})` : e.type === "constructor" ? `constructor(${B(e.inputs)})${e.stateMutability === "payable" ? " payable" : ""}` : e.type === "fallback" ? "fallback()" : "receive() external payable";
589
+ function dn(e) {
590
+ var t;
591
+ return e.type === "function" ? `function ${e.name}(${B(e.inputs)})${e.stateMutability && e.stateMutability !== "nonpayable" ? ` ${e.stateMutability}` : ""}${(t = e.outputs) != null && t.length ? ` returns (${B(e.outputs)})` : ""}` : e.type === "event" ? `event ${e.name}(${B(e.inputs)})` : e.type === "error" ? `error ${e.name}(${B(e.inputs)})` : e.type === "constructor" ? `constructor(${B(e.inputs)})${e.stateMutability === "payable" ? " payable" : ""}` : e.type === "fallback" ? `fallback() external${e.stateMutability === "payable" ? " payable" : ""}` : "receive() external payable";
591
592
  }
592
593
  function G(e, { includeName: t = !1 } = {}) {
593
594
  if (e.type !== "function" && e.type !== "event" && e.type !== "error")
594
- throw new En(e.type);
595
+ throw new bn(e.type);
595
596
  return `${e.name}(${X(e.inputs, { includeName: t })})`;
596
597
  }
597
598
  function X(e, { includeName: t = !1 } = {}) {
598
- return e ? e.map((n) => cn(n, { includeName: t })).join(t ? ", " : ",") : "";
599
+ return e ? e.map((n) => fn(n, { includeName: t })).join(t ? ", " : ",") : "";
599
600
  }
600
- function cn(e, { includeName: t }) {
601
+ function fn(e, { includeName: t }) {
601
602
  return e.type.startsWith("tuple") ? `(${X(e.components, { includeName: t })})${e.type.slice(5)}` : e.type + (t && e.name ? ` ${e.name}` : "");
602
603
  }
603
604
  function U(e, { strict: t = !0 } = {}) {
@@ -606,12 +607,12 @@ function U(e, { strict: t = !0 } = {}) {
606
607
  function p(e) {
607
608
  return U(e, { strict: !1 }) ? Math.ceil((e.length - 2) / 2) : e.length;
608
609
  }
609
- const Ce = "2.21.51";
610
+ const Me = "2.23.5";
610
611
  let M = {
611
612
  getDocsUrl: ({ docsBaseUrl: e, docsPath: t = "", docsSlug: n }) => t ? `${e ?? "https://viem.sh"}${t}${n ? `#${n}` : ""}` : void 0,
612
- version: `viem@${Ce}`
613
+ version: `viem@${Me}`
613
614
  };
614
- function Li(e) {
615
+ function Pi(e) {
615
616
  M = e;
616
617
  }
617
618
  class f extends Error {
@@ -659,16 +660,16 @@ class f extends Error {
659
660
  configurable: !0,
660
661
  writable: !0,
661
662
  value: "BaseError"
662
- }), this.details = i, this.docsPath = r, this.metaMessages = n.metaMessages, this.name = n.name ?? this.name, this.shortMessage = t, this.version = Ce;
663
+ }), this.details = i, this.docsPath = r, this.metaMessages = n.metaMessages, this.name = n.name ?? this.name, this.shortMessage = t, this.version = Me;
663
664
  }
664
665
  walk(t) {
665
- return Me(this, t);
666
+ return Le(this, t);
666
667
  }
667
668
  }
668
- function Me(e, t) {
669
- return t != null && t(e) ? e : e && typeof e == "object" && "cause" in e && e.cause !== void 0 ? Me(e.cause, t) : t ? null : e;
669
+ function Le(e, t) {
670
+ return t != null && t(e) ? e : e && typeof e == "object" && "cause" in e && e.cause !== void 0 ? Le(e.cause, t) : t ? null : e;
670
671
  }
671
- class Pi extends f {
672
+ class Ri extends f {
672
673
  constructor({ docsPath: t }) {
673
674
  super([
674
675
  "A constructor was not found on the ABI.",
@@ -680,7 +681,7 @@ class Pi extends f {
680
681
  });
681
682
  }
682
683
  }
683
- class Ri extends f {
684
+ class Bi extends f {
684
685
  constructor({ docsPath: t }) {
685
686
  super([
686
687
  "Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.",
@@ -692,7 +693,7 @@ class Ri extends f {
692
693
  });
693
694
  }
694
695
  }
695
- class Bi extends f {
696
+ class zi extends f {
696
697
  constructor({ data: t, size: n }) {
697
698
  super([
698
699
  `Data size of ${n} bytes is invalid.`,
@@ -704,7 +705,7 @@ class Bi extends f {
704
705
  });
705
706
  }
706
707
  }
707
- class zi extends f {
708
+ class Ui extends f {
708
709
  constructor({ data: t, params: n, size: i }) {
709
710
  super([`Data size of ${i} bytes is too small for given parameters.`].join(`
710
711
  `), {
@@ -731,14 +732,14 @@ class zi extends f {
731
732
  }), this.data = t, this.params = n, this.size = i;
732
733
  }
733
734
  }
734
- class Ui extends f {
735
+ class ji extends f {
735
736
  constructor() {
736
737
  super('Cannot decode zero data ("0x") with ABI parameters.', {
737
738
  name: "AbiDecodingZeroDataError"
738
739
  });
739
740
  }
740
741
  }
741
- class un extends f {
742
+ class ln extends f {
742
743
  constructor({ expectedLength: t, givenLength: n, type: i }) {
743
744
  super([
744
745
  `ABI encoding array length mismatch for type ${i}.`,
@@ -748,12 +749,12 @@ class un extends f {
748
749
  `), { name: "AbiEncodingArrayLengthMismatchError" });
749
750
  }
750
751
  }
751
- class dn extends f {
752
+ class hn extends f {
752
753
  constructor({ expectedSize: t, value: n }) {
753
754
  super(`Size of bytes "${n}" (bytes${p(n)}) does not match expected size (bytes${t}).`, { name: "AbiEncodingBytesSizeMismatchError" });
754
755
  }
755
756
  }
756
- class fn extends f {
757
+ class gn extends f {
757
758
  constructor({ expectedLength: t, givenLength: n }) {
758
759
  super([
759
760
  "ABI encoding params/values length mismatch.",
@@ -763,7 +764,7 @@ class fn extends f {
763
764
  `), { name: "AbiEncodingLengthMismatchError" });
764
765
  }
765
766
  }
766
- class ji extends f {
767
+ class Fi extends f {
767
768
  constructor(t, { docsPath: n }) {
768
769
  super([
769
770
  `Arguments (\`args\`) were provided to "${t}", but "${t}" on the ABI does not contain any parameters (\`inputs\`).`,
@@ -776,7 +777,7 @@ class ji extends f {
776
777
  });
777
778
  }
778
779
  }
779
- class Fi extends f {
780
+ class Hi extends f {
780
781
  constructor(t, { docsPath: n } = {}) {
781
782
  super([
782
783
  `Error ${t ? `"${t}" ` : ""}not found on ABI.`,
@@ -788,7 +789,7 @@ class Fi extends f {
788
789
  });
789
790
  }
790
791
  }
791
- class Hi extends f {
792
+ class Gi extends f {
792
793
  constructor(t, { docsPath: n }) {
793
794
  super([
794
795
  `Encoded error signature "${t}" not found on ABI.`,
@@ -806,7 +807,7 @@ class Hi extends f {
806
807
  }), this.signature = t;
807
808
  }
808
809
  }
809
- class Gi extends f {
810
+ class Wi extends f {
810
811
  constructor({ docsPath: t }) {
811
812
  super("Cannot extract event signature from empty topics.", {
812
813
  docsPath: t,
@@ -814,7 +815,7 @@ class Gi extends f {
814
815
  });
815
816
  }
816
817
  }
817
- class Wi extends f {
818
+ class ki extends f {
818
819
  constructor(t, { docsPath: n }) {
819
820
  super([
820
821
  `Encoded event signature "${t}" not found on ABI.`,
@@ -827,7 +828,7 @@ class Wi extends f {
827
828
  });
828
829
  }
829
830
  }
830
- class ki extends f {
831
+ class Vi extends f {
831
832
  constructor(t, { docsPath: n } = {}) {
832
833
  super([
833
834
  `Event ${t ? `"${t}" ` : ""}not found on ABI.`,
@@ -839,7 +840,7 @@ class ki extends f {
839
840
  });
840
841
  }
841
842
  }
842
- class fe extends f {
843
+ class le extends f {
843
844
  constructor(t, { docsPath: n } = {}) {
844
845
  super([
845
846
  `Function ${t ? `"${t}" ` : ""}not found on ABI.`,
@@ -851,7 +852,7 @@ class fe extends f {
851
852
  });
852
853
  }
853
854
  }
854
- class Vi extends f {
855
+ class Ki extends f {
855
856
  constructor(t, { docsPath: n }) {
856
857
  super([
857
858
  `Function "${t}" does not contain any \`outputs\` on ABI.`,
@@ -864,7 +865,7 @@ class Vi extends f {
864
865
  });
865
866
  }
866
867
  }
867
- class Ki extends f {
868
+ class Xi extends f {
868
869
  constructor(t, { docsPath: n }) {
869
870
  super([
870
871
  `Encoded function signature "${t}" not found on ABI.`,
@@ -877,7 +878,7 @@ class Ki extends f {
877
878
  });
878
879
  }
879
880
  }
880
- class ln extends f {
881
+ class yn extends f {
881
882
  constructor(t, n) {
882
883
  super("Found ambiguous types in overloaded ABI items.", {
883
884
  metaMessages: [
@@ -891,14 +892,14 @@ class ln extends f {
891
892
  });
892
893
  }
893
894
  }
894
- class hn extends f {
895
+ class En extends f {
895
896
  constructor({ expectedSize: t, givenSize: n }) {
896
897
  super(`Expected bytes${t}, got bytes${n}.`, {
897
898
  name: "BytesSizeMismatchError"
898
899
  });
899
900
  }
900
901
  }
901
- class Xi extends f {
902
+ class xi extends f {
902
903
  constructor({ abiItem: t, data: n, params: i, size: r }) {
903
904
  super([
904
905
  `Data size of ${r} bytes is too small for non-indexed event parameters.`
@@ -932,7 +933,7 @@ class Xi extends f {
932
933
  }), this.abiItem = t, this.data = n, this.params = i, this.size = r;
933
934
  }
934
935
  }
935
- class xi extends f {
936
+ class Qi extends f {
936
937
  constructor({ abiItem: t, param: n }) {
937
938
  super([
938
939
  `Expected a topic for indexed event parameter${n.name ? ` "${n.name}"` : ""} on event "${G(t, { includeName: !0 })}".`
@@ -945,7 +946,7 @@ class xi extends f {
945
946
  }), this.abiItem = t;
946
947
  }
947
948
  }
948
- class gn extends f {
949
+ class pn extends f {
949
950
  constructor(t, { docsPath: n }) {
950
951
  super([
951
952
  `Type "${t}" is not a valid encoding type.`,
@@ -954,7 +955,7 @@ class gn extends f {
954
955
  `), { docsPath: n, name: "InvalidAbiEncodingType" });
955
956
  }
956
957
  }
957
- class Qi extends f {
958
+ class qi extends f {
958
959
  constructor(t, { docsPath: n }) {
959
960
  super([
960
961
  `Type "${t}" is not a valid decoding type.`,
@@ -963,7 +964,7 @@ class Qi extends f {
963
964
  `), { docsPath: n, name: "InvalidAbiDecodingType" });
964
965
  }
965
966
  }
966
- class yn extends f {
967
+ class An extends f {
967
968
  constructor(t) {
968
969
  super([`Value "${t}" is not a valid array.`].join(`
969
970
  `), {
@@ -971,7 +972,7 @@ class yn extends f {
971
972
  });
972
973
  }
973
974
  }
974
- class En extends f {
975
+ class bn extends f {
975
976
  constructor(t) {
976
977
  super([
977
978
  `"${t}" is not a valid definition type.`,
@@ -980,48 +981,48 @@ class En extends f {
980
981
  `), { name: "InvalidDefinitionTypeError" });
981
982
  }
982
983
  }
983
- class qi extends f {
984
+ class Yi extends f {
984
985
  constructor(t) {
985
986
  super(`Type "${t}" is not supported for packed encoding.`, {
986
987
  name: "UnsupportedPackedAbiType"
987
988
  });
988
989
  }
989
990
  }
990
- class Le extends f {
991
+ class Pe extends f {
991
992
  constructor({ offset: t, position: n, size: i }) {
992
993
  super(`Slice ${n === "start" ? "starting" : "ending"} at offset "${t}" is out-of-bounds (size: ${i}).`, { name: "SliceOffsetOutOfBoundsError" });
993
994
  }
994
995
  }
995
- class Pe extends f {
996
+ class Re extends f {
996
997
  constructor({ size: t, targetSize: n, type: i }) {
997
998
  super(`${i.charAt(0).toUpperCase()}${i.slice(1).toLowerCase()} size (${t}) exceeds padding size (${n}).`, { name: "SizeExceedsPaddingSizeError" });
998
999
  }
999
1000
  }
1000
- class Yi extends f {
1001
+ class Ji extends f {
1001
1002
  constructor({ size: t, targetSize: n, type: i }) {
1002
1003
  super(`${i.charAt(0).toUpperCase()}${i.slice(1).toLowerCase()} is expected to be ${n} ${i} long, but is ${t} ${i} long.`, { name: "InvalidBytesLengthError" });
1003
1004
  }
1004
1005
  }
1005
1006
  function R(e, { dir: t, size: n = 32 } = {}) {
1006
- return typeof e == "string" ? _(e, { dir: t, size: n }) : pn(e, { dir: t, size: n });
1007
+ return typeof e == "string" ? _(e, { dir: t, size: n }) : In(e, { dir: t, size: n });
1007
1008
  }
1008
1009
  function _(e, { dir: t, size: n = 32 } = {}) {
1009
1010
  if (n === null)
1010
1011
  return e;
1011
1012
  const i = e.replace("0x", "");
1012
1013
  if (i.length > n * 2)
1013
- throw new Pe({
1014
+ throw new Re({
1014
1015
  size: Math.ceil(i.length / 2),
1015
1016
  targetSize: n,
1016
1017
  type: "hex"
1017
1018
  });
1018
1019
  return `0x${i[t === "right" ? "padEnd" : "padStart"](n * 2, "0")}`;
1019
1020
  }
1020
- function pn(e, { dir: t, size: n = 32 } = {}) {
1021
+ function In(e, { dir: t, size: n = 32 } = {}) {
1021
1022
  if (n === null)
1022
1023
  return e;
1023
1024
  if (e.length > n)
1024
- throw new Pe({
1025
+ throw new Re({
1025
1026
  size: e.length,
1026
1027
  targetSize: n,
1027
1028
  type: "bytes"
@@ -1033,29 +1034,29 @@ function pn(e, { dir: t, size: n = 32 } = {}) {
1033
1034
  }
1034
1035
  return i;
1035
1036
  }
1036
- class An extends f {
1037
+ class Be extends f {
1037
1038
  constructor({ max: t, min: n, signed: i, size: r, value: s }) {
1038
1039
  super(`Number "${s}" is not in safe ${r ? `${r * 8}-bit ${i ? "signed" : "unsigned"} ` : ""}integer range ${t ? `(${n} to ${t})` : `(above ${n})`}`, { name: "IntegerOutOfRangeError" });
1039
1040
  }
1040
1041
  }
1041
- class Ji extends f {
1042
+ class Zi extends f {
1042
1043
  constructor(t) {
1043
1044
  super(`Bytes value "${t}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`, {
1044
1045
  name: "InvalidBytesBooleanError"
1045
1046
  });
1046
1047
  }
1047
1048
  }
1048
- class bn extends f {
1049
+ class Tn extends f {
1049
1050
  constructor(t) {
1050
1051
  super(`Hex value "${t}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`, { name: "InvalidHexBooleanError" });
1051
1052
  }
1052
1053
  }
1053
- class Zi extends f {
1054
+ class er extends f {
1054
1055
  constructor(t) {
1055
1056
  super(`Hex value "${t}" is an odd length (${t.length}). It must be an even length.`, { name: "InvalidHexValueError" });
1056
1057
  }
1057
1058
  }
1058
- class In extends f {
1059
+ class mn extends f {
1059
1060
  constructor({ givenSize: t, maxSize: n }) {
1060
1061
  super(`Size cannot exceed ${n} bytes. Given size: ${t} bytes.`, { name: "SizeOverflowError" });
1061
1062
  }
@@ -1068,16 +1069,16 @@ function H(e, { dir: t = "left" } = {}) {
1068
1069
  }
1069
1070
  function O(e, { size: t }) {
1070
1071
  if (p(e) > t)
1071
- throw new In({
1072
+ throw new mn({
1072
1073
  givenSize: p(e),
1073
1074
  maxSize: t
1074
1075
  });
1075
1076
  }
1076
- function er(e, t) {
1077
+ function tr(e, t) {
1077
1078
  const n = typeof t == "string" ? { to: t } : t, i = n.to;
1078
- return i === "number" ? mn(e, n) : i === "bigint" ? Re(e, n) : i === "string" ? vn(e, n) : i === "boolean" ? Tn(e, n) : x(e, n);
1079
+ return i === "number" ? Sn(e, n) : i === "bigint" ? ze(e, n) : i === "string" ? _n(e, n) : i === "boolean" ? vn(e, n) : x(e, n);
1079
1080
  }
1080
- function Re(e, t = {}) {
1081
+ function ze(e, t = {}) {
1081
1082
  const { signed: n } = t;
1082
1083
  t.size && O(e, { size: t.size });
1083
1084
  const i = BigInt(e);
@@ -1086,33 +1087,33 @@ function Re(e, t = {}) {
1086
1087
  const r = (e.length - 2) / 2, s = (1n << BigInt(r) * 8n - 1n) - 1n;
1087
1088
  return i <= s ? i : i - BigInt(`0x${"f".padStart(r * 2, "f")}`) - 1n;
1088
1089
  }
1089
- function Tn(e, t = {}) {
1090
+ function vn(e, t = {}) {
1090
1091
  let n = e;
1091
1092
  if (t.size && (O(n, { size: t.size }), n = H(n)), H(n) === "0x00")
1092
1093
  return !1;
1093
1094
  if (H(n) === "0x01")
1094
1095
  return !0;
1095
- throw new bn(n);
1096
+ throw new Tn(n);
1096
1097
  }
1097
- function mn(e, t = {}) {
1098
- return Number(Re(e, t));
1098
+ function Sn(e, t = {}) {
1099
+ return Number(ze(e, t));
1099
1100
  }
1100
- function vn(e, t = {}) {
1101
+ function _n(e, t = {}) {
1101
1102
  let n = x(e);
1102
1103
  return t.size && (O(n, { size: t.size }), n = H(n, { dir: "right" })), new TextDecoder().decode(n);
1103
1104
  }
1104
- const Sn = /* @__PURE__ */ Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, "0"));
1105
- function ie(e, t = {}) {
1106
- return typeof e == "number" || typeof e == "bigint" ? D(e, t) : typeof e == "string" ? W(e, t) : typeof e == "boolean" ? Be(e, t) : re(e, t);
1105
+ const Nn = /* @__PURE__ */ Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, "0"));
1106
+ function re(e, t = {}) {
1107
+ return typeof e == "number" || typeof e == "bigint" ? D(e, t) : typeof e == "string" ? W(e, t) : typeof e == "boolean" ? Ue(e, t) : se(e, t);
1107
1108
  }
1108
- function Be(e, t = {}) {
1109
+ function Ue(e, t = {}) {
1109
1110
  const n = `0x${Number(e)}`;
1110
1111
  return typeof t.size == "number" ? (O(n, { size: t.size }), R(n, { size: t.size })) : n;
1111
1112
  }
1112
- function re(e, t = {}) {
1113
+ function se(e, t = {}) {
1113
1114
  let n = "";
1114
1115
  for (let r = 0; r < e.length; r++)
1115
- n += Sn[e[r]];
1116
+ n += Nn[e[r]];
1116
1117
  const i = `0x${n}`;
1117
1118
  return typeof t.size == "number" ? (O(i, { size: t.size }), R(i, { dir: "right", size: t.size })) : i;
1118
1119
  }
@@ -1123,7 +1124,7 @@ function D(e, t = {}) {
1123
1124
  const o = typeof s == "bigint" && n ? -s - 1n : 0;
1124
1125
  if (s && r > s || r < o) {
1125
1126
  const g = typeof e == "bigint" ? "n" : "";
1126
- throw new An({
1127
+ throw new Be({
1127
1128
  max: s ? `${s}${g}` : void 0,
1128
1129
  min: `${o}${g}`,
1129
1130
  signed: n,
@@ -1134,16 +1135,16 @@ function D(e, t = {}) {
1134
1135
  const c = `0x${(n && r < 0 ? (1n << BigInt(i * 8)) + BigInt(r) : r).toString(16)}`;
1135
1136
  return i ? R(c, { size: i }) : c;
1136
1137
  }
1137
- const _n = /* @__PURE__ */ new TextEncoder();
1138
+ const On = /* @__PURE__ */ new TextEncoder();
1138
1139
  function W(e, t = {}) {
1139
- const n = _n.encode(e);
1140
- return re(n, t);
1140
+ const n = On.encode(e);
1141
+ return se(n, t);
1141
1142
  }
1142
- const Nn = /* @__PURE__ */ new TextEncoder();
1143
- function ze(e, t = {}) {
1144
- return typeof e == "number" || typeof e == "bigint" ? Dn(e, t) : typeof e == "boolean" ? On(e, t) : U(e) ? x(e, t) : Ue(e, t);
1143
+ const Dn = /* @__PURE__ */ new TextEncoder();
1144
+ function je(e, t = {}) {
1145
+ return typeof e == "number" || typeof e == "bigint" ? $n(e, t) : typeof e == "boolean" ? wn(e, t) : U(e) ? x(e, t) : Fe(e, t);
1145
1146
  }
1146
- function On(e, t = {}) {
1147
+ function wn(e, t = {}) {
1147
1148
  const n = new Uint8Array(1);
1148
1149
  return n[0] = Number(e), typeof t.size == "number" ? (O(n, { size: t.size }), R(n, { size: t.size })) : n;
1149
1150
  }
@@ -1155,7 +1156,7 @@ const S = {
1155
1156
  a: 97,
1156
1157
  f: 102
1157
1158
  };
1158
- function le(e) {
1159
+ function he(e) {
1159
1160
  if (e >= S.zero && e <= S.nine)
1160
1161
  return e - S.zero;
1161
1162
  if (e >= S.A && e <= S.F)
@@ -1170,79 +1171,94 @@ function x(e, t = {}) {
1170
1171
  i.length % 2 && (i = `0${i}`);
1171
1172
  const r = i.length / 2, s = new Uint8Array(r);
1172
1173
  for (let o = 0, c = 0; o < r; o++) {
1173
- const g = le(i.charCodeAt(c++)), y = le(i.charCodeAt(c++));
1174
+ const g = he(i.charCodeAt(c++)), y = he(i.charCodeAt(c++));
1174
1175
  if (g === void 0 || y === void 0)
1175
1176
  throw new f(`Invalid byte sequence ("${i[c - 2]}${i[c - 1]}" in "${i}").`);
1176
1177
  s[o] = g * 16 + y;
1177
1178
  }
1178
1179
  return s;
1179
1180
  }
1180
- function Dn(e, t) {
1181
+ function $n(e, t) {
1181
1182
  const n = D(e, t);
1182
1183
  return x(n);
1183
1184
  }
1184
- function Ue(e, t = {}) {
1185
- const n = Nn.encode(e);
1185
+ function Fe(e, t = {}) {
1186
+ const n = Dn.encode(e);
1186
1187
  return typeof t.size == "number" ? (O(n, { size: t.size }), R(n, { dir: "right", size: t.size })) : n;
1187
1188
  }
1188
1189
  function k(e) {
1189
1190
  if (!Number.isSafeInteger(e) || e < 0)
1190
- throw new Error(`positive integer expected, not ${e}`);
1191
+ throw new Error("positive integer expected, got " + e);
1191
1192
  }
1192
- function wn(e) {
1193
- return e instanceof Uint8Array || e != null && typeof e == "object" && e.constructor.name === "Uint8Array";
1193
+ function Cn(e) {
1194
+ return e instanceof Uint8Array || ArrayBuffer.isView(e) && e.constructor.name === "Uint8Array";
1194
1195
  }
1195
1196
  function Q(e, ...t) {
1196
- if (!wn(e))
1197
+ if (!Cn(e))
1197
1198
  throw new Error("Uint8Array expected");
1198
1199
  if (t.length > 0 && !t.includes(e.length))
1199
- throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`);
1200
+ throw new Error("Uint8Array expected of length " + t + ", got length=" + e.length);
1200
1201
  }
1201
- function tr(e) {
1202
+ function nr(e) {
1202
1203
  if (typeof e != "function" || typeof e.create != "function")
1203
1204
  throw new Error("Hash should be wrapped by utils.wrapConstructor");
1204
1205
  k(e.outputLen), k(e.blockLen);
1205
1206
  }
1206
- function he(e, t = !0) {
1207
+ function ge(e, t = !0) {
1207
1208
  if (e.destroyed)
1208
1209
  throw new Error("Hash instance has been destroyed");
1209
1210
  if (t && e.finished)
1210
1211
  throw new Error("Hash#digest() has already been called");
1211
1212
  }
1212
- function $n(e, t) {
1213
+ function Mn(e, t) {
1213
1214
  Q(e);
1214
1215
  const n = t.outputLen;
1215
1216
  if (e.length < n)
1216
- throw new Error(`digestInto() expects output buffer of length at least ${n}`);
1217
+ throw new Error("digestInto() expects output buffer of length at least " + n);
1217
1218
  }
1218
- const F = /* @__PURE__ */ BigInt(2 ** 32 - 1), ge = /* @__PURE__ */ BigInt(32);
1219
- function Cn(e, t = !1) {
1220
- return t ? { h: Number(e & F), l: Number(e >> ge & F) } : { h: Number(e >> ge & F) | 0, l: Number(e & F) | 0 };
1219
+ const F = /* @__PURE__ */ BigInt(2 ** 32 - 1), ye = /* @__PURE__ */ BigInt(32);
1220
+ function Ln(e, t = !1) {
1221
+ return t ? { h: Number(e & F), l: Number(e >> ye & F) } : { h: Number(e >> ye & F) | 0, l: Number(e & F) | 0 };
1221
1222
  }
1222
- function Mn(e, t = !1) {
1223
+ function Pn(e, t = !1) {
1223
1224
  let n = new Uint32Array(e.length), i = new Uint32Array(e.length);
1224
1225
  for (let r = 0; r < e.length; r++) {
1225
- const { h: s, l: o } = Cn(e[r], t);
1226
+ const { h: s, l: o } = Ln(e[r], t);
1226
1227
  [n[r], i[r]] = [s, o];
1227
1228
  }
1228
1229
  return [n, i];
1229
1230
  }
1230
- const Ln = (e, t, n) => e << n | t >>> 32 - n, Pn = (e, t, n) => t << n | e >>> 32 - n, Rn = (e, t, n) => t << n - 32 | e >>> 64 - n, Bn = (e, t, n) => e << n - 32 | t >>> 64 - n, C = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
1231
+ const Rn = (e, t, n) => e << n | t >>> 32 - n, Bn = (e, t, n) => t << n | e >>> 32 - n, zn = (e, t, n) => t << n - 32 | e >>> 64 - n, Un = (e, t, n) => e << n - 32 | t >>> 64 - n, C = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
1231
1232
  /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
1232
- const zn = (e) => new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4)), nr = (e) => new DataView(e.buffer, e.byteOffset, e.byteLength), ir = (e, t) => e << 32 - t | e >>> t, rr = (e, t) => e << t | e >>> 32 - t >>> 0, ye = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68, Un = (e) => e << 24 & 4278190080 | e << 8 & 16711680 | e >>> 8 & 65280 | e >>> 24 & 255;
1233
- function Ee(e) {
1233
+ function jn(e) {
1234
+ return new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4));
1235
+ }
1236
+ function ir(e) {
1237
+ return new DataView(e.buffer, e.byteOffset, e.byteLength);
1238
+ }
1239
+ function rr(e, t) {
1240
+ return e << 32 - t | e >>> t;
1241
+ }
1242
+ function sr(e, t) {
1243
+ return e << t | e >>> 32 - t >>> 0;
1244
+ }
1245
+ const Ee = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
1246
+ function Fn(e) {
1247
+ return e << 24 & 4278190080 | e << 8 & 16711680 | e >>> 8 & 65280 | e >>> 24 & 255;
1248
+ }
1249
+ function pe(e) {
1234
1250
  for (let t = 0; t < e.length; t++)
1235
- e[t] = Un(e[t]);
1251
+ e[t] = Fn(e[t]);
1236
1252
  }
1237
- function jn(e) {
1253
+ function Hn(e) {
1238
1254
  if (typeof e != "string")
1239
- throw new Error(`utf8ToBytes expected string, got ${typeof e}`);
1255
+ throw new Error("utf8ToBytes expected string, got " + typeof e);
1240
1256
  return new Uint8Array(new TextEncoder().encode(e));
1241
1257
  }
1242
- function je(e) {
1243
- return typeof e == "string" && (e = jn(e)), Q(e), e;
1258
+ function He(e) {
1259
+ return typeof e == "string" && (e = Hn(e)), Q(e), e;
1244
1260
  }
1245
- function sr(...e) {
1261
+ function or(...e) {
1246
1262
  let t = 0;
1247
1263
  for (let i = 0; i < e.length; i++) {
1248
1264
  const r = e[i];
@@ -1255,45 +1271,45 @@ function sr(...e) {
1255
1271
  }
1256
1272
  return n;
1257
1273
  }
1258
- class Fn {
1274
+ class Gn {
1259
1275
  // Safe version that clones internal state
1260
1276
  clone() {
1261
1277
  return this._cloneInto();
1262
1278
  }
1263
1279
  }
1264
- function Hn(e) {
1265
- const t = (i) => e().update(je(i)).digest(), n = e();
1280
+ function Wn(e) {
1281
+ const t = (i) => e().update(He(i)).digest(), n = e();
1266
1282
  return t.outputLen = n.outputLen, t.blockLen = n.blockLen, t.create = () => e(), t;
1267
1283
  }
1268
- function or(e = 32) {
1284
+ function ar(e = 32) {
1269
1285
  if (C && typeof C.getRandomValues == "function")
1270
1286
  return C.getRandomValues(new Uint8Array(e));
1271
1287
  if (C && typeof C.randomBytes == "function")
1272
1288
  return C.randomBytes(e);
1273
1289
  throw new Error("crypto.getRandomValues must be defined");
1274
1290
  }
1275
- const Fe = [], He = [], Ge = [], Gn = /* @__PURE__ */ BigInt(0), z = /* @__PURE__ */ BigInt(1), Wn = /* @__PURE__ */ BigInt(2), kn = /* @__PURE__ */ BigInt(7), Vn = /* @__PURE__ */ BigInt(256), Kn = /* @__PURE__ */ BigInt(113);
1291
+ const Ge = [], We = [], ke = [], kn = /* @__PURE__ */ BigInt(0), z = /* @__PURE__ */ BigInt(1), Vn = /* @__PURE__ */ BigInt(2), Kn = /* @__PURE__ */ BigInt(7), Xn = /* @__PURE__ */ BigInt(256), xn = /* @__PURE__ */ BigInt(113);
1276
1292
  for (let e = 0, t = z, n = 1, i = 0; e < 24; e++) {
1277
- [n, i] = [i, (2 * n + 3 * i) % 5], Fe.push(2 * (5 * i + n)), He.push((e + 1) * (e + 2) / 2 % 64);
1278
- let r = Gn;
1293
+ [n, i] = [i, (2 * n + 3 * i) % 5], Ge.push(2 * (5 * i + n)), We.push((e + 1) * (e + 2) / 2 % 64);
1294
+ let r = kn;
1279
1295
  for (let s = 0; s < 7; s++)
1280
- t = (t << z ^ (t >> kn) * Kn) % Vn, t & Wn && (r ^= z << (z << /* @__PURE__ */ BigInt(s)) - z);
1281
- Ge.push(r);
1296
+ t = (t << z ^ (t >> Kn) * xn) % Xn, t & Vn && (r ^= z << (z << /* @__PURE__ */ BigInt(s)) - z);
1297
+ ke.push(r);
1282
1298
  }
1283
- const [Xn, xn] = /* @__PURE__ */ Mn(Ge, !0), pe = (e, t, n) => n > 32 ? Rn(e, t, n) : Ln(e, t, n), Ae = (e, t, n) => n > 32 ? Bn(e, t, n) : Pn(e, t, n);
1284
- function Qn(e, t = 24) {
1299
+ const [Qn, qn] = /* @__PURE__ */ Pn(ke, !0), Ae = (e, t, n) => n > 32 ? zn(e, t, n) : Rn(e, t, n), be = (e, t, n) => n > 32 ? Un(e, t, n) : Bn(e, t, n);
1300
+ function Yn(e, t = 24) {
1285
1301
  const n = new Uint32Array(10);
1286
1302
  for (let i = 24 - t; i < 24; i++) {
1287
1303
  for (let o = 0; o < 10; o++)
1288
1304
  n[o] = e[o] ^ e[o + 10] ^ e[o + 20] ^ e[o + 30] ^ e[o + 40];
1289
1305
  for (let o = 0; o < 10; o += 2) {
1290
- const c = (o + 8) % 10, g = (o + 2) % 10, y = n[g], h = n[g + 1], E = pe(y, h, 1) ^ n[c], v = Ae(y, h, 1) ^ n[c + 1];
1306
+ const c = (o + 8) % 10, g = (o + 2) % 10, y = n[g], h = n[g + 1], E = Ae(y, h, 1) ^ n[c], v = be(y, h, 1) ^ n[c + 1];
1291
1307
  for (let b = 0; b < 50; b += 10)
1292
1308
  e[o + b] ^= E, e[o + b + 1] ^= v;
1293
1309
  }
1294
1310
  let r = e[2], s = e[3];
1295
1311
  for (let o = 0; o < 24; o++) {
1296
- const c = He[o], g = pe(r, s, c), y = Ae(r, s, c), h = Fe[o];
1312
+ const c = We[o], g = Ae(r, s, c), y = be(r, s, c), h = Ge[o];
1297
1313
  r = e[h], s = e[h + 1], e[h] = g, e[h + 1] = y;
1298
1314
  }
1299
1315
  for (let o = 0; o < 50; o += 10) {
@@ -1302,24 +1318,24 @@ function Qn(e, t = 24) {
1302
1318
  for (let c = 0; c < 10; c++)
1303
1319
  e[o + c] ^= ~n[(c + 2) % 10] & n[(c + 4) % 10];
1304
1320
  }
1305
- e[0] ^= Xn[i], e[1] ^= xn[i];
1321
+ e[0] ^= Qn[i], e[1] ^= qn[i];
1306
1322
  }
1307
1323
  n.fill(0);
1308
1324
  }
1309
- class se extends Fn {
1325
+ class oe extends Gn {
1310
1326
  // NOTE: we accept arguments in bytes instead of bits here.
1311
1327
  constructor(t, n, i, r = !1, s = 24) {
1312
1328
  if (super(), this.blockLen = t, this.suffix = n, this.outputLen = i, this.enableXOF = r, this.rounds = s, this.pos = 0, this.posOut = 0, this.finished = !1, this.destroyed = !1, k(i), 0 >= this.blockLen || this.blockLen >= 200)
1313
1329
  throw new Error("Sha3 supports only keccak-f1600 function");
1314
- this.state = new Uint8Array(200), this.state32 = zn(this.state);
1330
+ this.state = new Uint8Array(200), this.state32 = jn(this.state);
1315
1331
  }
1316
1332
  keccak() {
1317
- ye || Ee(this.state32), Qn(this.state32, this.rounds), ye || Ee(this.state32), this.posOut = 0, this.pos = 0;
1333
+ Ee || pe(this.state32), Yn(this.state32, this.rounds), Ee || pe(this.state32), this.posOut = 0, this.pos = 0;
1318
1334
  }
1319
1335
  update(t) {
1320
- he(this);
1336
+ ge(this);
1321
1337
  const { blockLen: n, state: i } = this;
1322
- t = je(t);
1338
+ t = He(t);
1323
1339
  const r = t.length;
1324
1340
  for (let s = 0; s < r; ) {
1325
1341
  const o = Math.min(n - this.pos, r - s);
@@ -1337,7 +1353,7 @@ class se extends Fn {
1337
1353
  t[i] ^= n, n & 128 && i === r - 1 && this.keccak(), t[r - 1] ^= 128, this.keccak();
1338
1354
  }
1339
1355
  writeInto(t) {
1340
- he(this, !1), Q(t), this.finish();
1356
+ ge(this, !1), Q(t), this.finish();
1341
1357
  const n = this.state, { blockLen: i } = this;
1342
1358
  for (let r = 0, s = t.length; r < s; ) {
1343
1359
  this.posOut >= i && this.keccak();
@@ -1355,7 +1371,7 @@ class se extends Fn {
1355
1371
  return k(t), this.xofInto(new Uint8Array(t));
1356
1372
  }
1357
1373
  digestInto(t) {
1358
- if ($n(t, this), this.finished)
1374
+ if (Mn(t, this), this.finished)
1359
1375
  throw new Error("digest() was already called");
1360
1376
  return this.writeInto(t), this.destroy(), t;
1361
1377
  }
@@ -1367,19 +1383,19 @@ class se extends Fn {
1367
1383
  }
1368
1384
  _cloneInto(t) {
1369
1385
  const { blockLen: n, suffix: i, outputLen: r, rounds: s, enableXOF: o } = this;
1370
- return t || (t = new se(n, i, r, o, s)), t.state32.set(this.state32), t.pos = this.pos, t.posOut = this.posOut, t.finished = this.finished, t.rounds = s, t.suffix = i, t.outputLen = r, t.enableXOF = o, t.destroyed = this.destroyed, t;
1386
+ return t || (t = new oe(n, i, r, o, s)), t.state32.set(this.state32), t.pos = this.pos, t.posOut = this.posOut, t.finished = this.finished, t.rounds = s, t.suffix = i, t.outputLen = r, t.enableXOF = o, t.destroyed = this.destroyed, t;
1371
1387
  }
1372
1388
  }
1373
- const qn = (e, t, n) => Hn(() => new se(t, e, n)), Yn = /* @__PURE__ */ qn(1, 136, 256 / 8);
1389
+ const Jn = (e, t, n) => Wn(() => new oe(t, e, n)), Zn = /* @__PURE__ */ Jn(1, 136, 256 / 8);
1374
1390
  function m(e, t) {
1375
- const n = t || "hex", i = Yn(U(e, { strict: !1 }) ? ze(e) : e);
1376
- return n === "bytes" ? i : ie(i);
1391
+ const n = t || "hex", i = Zn(U(e, { strict: !1 }) ? je(e) : e);
1392
+ return n === "bytes" ? i : re(i);
1377
1393
  }
1378
- const Jn = (e) => m(ze(e));
1379
- function Zn(e) {
1380
- return Jn(e);
1394
+ const ei = (e) => m(je(e));
1395
+ function ti(e) {
1396
+ return ei(e);
1381
1397
  }
1382
- function ei(e) {
1398
+ function ni(e) {
1383
1399
  let t = !0, n = "", i = 0, r = "", s = !1;
1384
1400
  for (let o = 0; o < e.length; o++) {
1385
1401
  const c = e[o];
@@ -1404,15 +1420,15 @@ function ei(e) {
1404
1420
  throw new f("Unable to normalize signature.");
1405
1421
  return r;
1406
1422
  }
1407
- const ti = (e) => {
1408
- const t = typeof e == "string" ? e : an(e);
1409
- return ei(t);
1423
+ const ii = (e) => {
1424
+ const t = typeof e == "string" ? e : dn(e);
1425
+ return ni(t);
1410
1426
  };
1411
- function We(e) {
1412
- return Zn(ti(e));
1427
+ function Ve(e) {
1428
+ return ti(ii(e));
1413
1429
  }
1414
- const ni = We;
1415
- class oe extends f {
1430
+ const ri = Ve;
1431
+ class ae extends f {
1416
1432
  constructor({ address: t }) {
1417
1433
  super(`Address "${t}" is invalid.`, {
1418
1434
  metaMessages: [
@@ -1423,7 +1439,7 @@ class oe extends f {
1423
1439
  });
1424
1440
  }
1425
1441
  }
1426
- class ke extends Map {
1442
+ class Ke extends Map {
1427
1443
  constructor(t) {
1428
1444
  super(), Object.defineProperty(this, "maxSize", {
1429
1445
  enumerable: !0,
@@ -1444,33 +1460,33 @@ class ke extends Map {
1444
1460
  return this;
1445
1461
  }
1446
1462
  }
1447
- const J = /* @__PURE__ */ new ke(8192);
1448
- function Ve(e, t) {
1449
- if (J.has(`${e}.${t}`))
1450
- return J.get(`${e}.${t}`);
1451
- const n = t ? `${t}${e.toLowerCase()}` : e.substring(2).toLowerCase(), i = m(Ue(n), "bytes"), r = (t ? n.substring(`${t}0x`.length) : n).split("");
1463
+ const Z = /* @__PURE__ */ new Ke(8192);
1464
+ function Xe(e, t) {
1465
+ if (Z.has(`${e}.${t}`))
1466
+ return Z.get(`${e}.${t}`);
1467
+ const n = t ? `${t}${e.toLowerCase()}` : e.substring(2).toLowerCase(), i = m(Fe(n), "bytes"), r = (t ? n.substring(`${t}0x`.length) : n).split("");
1452
1468
  for (let o = 0; o < 40; o += 2)
1453
1469
  i[o >> 1] >> 4 >= 8 && r[o] && (r[o] = r[o].toUpperCase()), (i[o >> 1] & 15) >= 8 && r[o + 1] && (r[o + 1] = r[o + 1].toUpperCase());
1454
1470
  const s = `0x${r.join("")}`;
1455
- return J.set(`${e}.${t}`, s), s;
1471
+ return Z.set(`${e}.${t}`, s), s;
1456
1472
  }
1457
- function ar(e, t) {
1473
+ function cr(e, t) {
1458
1474
  if (!P(e, { strict: !1 }))
1459
- throw new oe({ address: e });
1460
- return Ve(e, t);
1475
+ throw new ae({ address: e });
1476
+ return Xe(e, t);
1461
1477
  }
1462
- const ii = /^0x[a-fA-F0-9]{40}$/, Z = /* @__PURE__ */ new ke(8192);
1478
+ const si = /^0x[a-fA-F0-9]{40}$/, ee = /* @__PURE__ */ new Ke(8192);
1463
1479
  function P(e, t) {
1464
1480
  const { strict: n = !0 } = t ?? {}, i = `${e}.${n}`;
1465
- if (Z.has(i))
1466
- return Z.get(i);
1467
- const r = ii.test(e) ? e.toLowerCase() === e ? !0 : n ? Ve(e) === e : !0 : !1;
1468
- return Z.set(i, r), r;
1481
+ if (ee.has(i))
1482
+ return ee.get(i);
1483
+ const r = si.test(e) ? e.toLowerCase() === e ? !0 : n ? Xe(e) === e : !0 : !1;
1484
+ return ee.set(i, r), r;
1469
1485
  }
1470
1486
  function N(e) {
1471
- return typeof e[0] == "string" ? Ke(e) : ri(e);
1487
+ return typeof e[0] == "string" ? xe(e) : oi(e);
1472
1488
  }
1473
- function ri(e) {
1489
+ function oi(e) {
1474
1490
  let t = 0;
1475
1491
  for (const r of e)
1476
1492
  t += r.length;
@@ -1480,87 +1496,91 @@ function ri(e) {
1480
1496
  n.set(r, i), i += r.length;
1481
1497
  return n;
1482
1498
  }
1483
- function Ke(e) {
1499
+ function xe(e) {
1484
1500
  return `0x${e.reduce((t, n) => t + n.replace("0x", ""), "")}`;
1485
1501
  }
1486
- function Xe(e, t, n, { strict: i } = {}) {
1487
- return U(e, { strict: !1 }) ? oi(e, t, n, {
1502
+ function Qe(e, t, n, { strict: i } = {}) {
1503
+ return U(e, { strict: !1 }) ? ci(e, t, n, {
1488
1504
  strict: i
1489
- }) : si(e, t, n, {
1505
+ }) : ai(e, t, n, {
1490
1506
  strict: i
1491
1507
  });
1492
1508
  }
1493
- function xe(e, t) {
1509
+ function qe(e, t) {
1494
1510
  if (typeof t == "number" && t > 0 && t > p(e) - 1)
1495
- throw new Le({
1511
+ throw new Pe({
1496
1512
  offset: t,
1497
1513
  position: "start",
1498
1514
  size: p(e)
1499
1515
  });
1500
1516
  }
1501
- function Qe(e, t, n) {
1517
+ function Ye(e, t, n) {
1502
1518
  if (typeof t == "number" && typeof n == "number" && p(e) !== n - t)
1503
- throw new Le({
1519
+ throw new Pe({
1504
1520
  offset: n,
1505
1521
  position: "end",
1506
1522
  size: p(e)
1507
1523
  });
1508
1524
  }
1509
- function si(e, t, n, { strict: i } = {}) {
1510
- xe(e, t);
1525
+ function ai(e, t, n, { strict: i } = {}) {
1526
+ qe(e, t);
1511
1527
  const r = e.slice(t, n);
1512
- return i && Qe(r, t, n), r;
1528
+ return i && Ye(r, t, n), r;
1513
1529
  }
1514
- function oi(e, t, n, { strict: i } = {}) {
1515
- xe(e, t);
1530
+ function ci(e, t, n, { strict: i } = {}) {
1531
+ qe(e, t);
1516
1532
  const r = `0x${e.replace("0x", "").slice((t ?? 0) * 2, (n ?? e.length) * 2)}`;
1517
- return i && Qe(r, t, n), r;
1533
+ return i && Ye(r, t, n), r;
1518
1534
  }
1519
- function ae(e, t) {
1535
+ const ur = /^(.*)\[([0-9]*)\]$/, ui = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/, Je = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
1536
+ function ce(e, t) {
1520
1537
  if (e.length !== t.length)
1521
- throw new fn({
1538
+ throw new gn({
1522
1539
  expectedLength: e.length,
1523
1540
  givenLength: t.length
1524
1541
  });
1525
- const n = ai({
1542
+ const n = di({
1526
1543
  params: e,
1527
1544
  values: t
1528
- }), i = ue(n);
1545
+ }), i = de(n);
1529
1546
  return i.length === 0 ? "0x" : i;
1530
1547
  }
1531
- function ai({ params: e, values: t }) {
1548
+ function di({ params: e, values: t }) {
1532
1549
  const n = [];
1533
1550
  for (let i = 0; i < e.length; i++)
1534
- n.push(ce({ param: e[i], value: t[i] }));
1551
+ n.push(ue({ param: e[i], value: t[i] }));
1535
1552
  return n;
1536
1553
  }
1537
- function ce({ param: e, value: t }) {
1538
- const n = yi(e.type);
1554
+ function ue({ param: e, value: t }) {
1555
+ const n = Ai(e.type);
1539
1556
  if (n) {
1540
1557
  const [i, r] = n;
1541
- return ui(t, { length: i, param: { ...e, type: r } });
1558
+ return li(t, { length: i, param: { ...e, type: r } });
1542
1559
  }
1543
1560
  if (e.type === "tuple")
1544
- return gi(t, {
1561
+ return pi(t, {
1545
1562
  param: e
1546
1563
  });
1547
1564
  if (e.type === "address")
1548
- return ci(t);
1549
- if (e.type === "bool")
1550
1565
  return fi(t);
1566
+ if (e.type === "bool")
1567
+ return gi(t);
1551
1568
  if (e.type.startsWith("uint") || e.type.startsWith("int")) {
1552
- const i = e.type.startsWith("int");
1553
- return li(t, { signed: i });
1569
+ const i = e.type.startsWith("int"), [, , r = "256"] = Je.exec(e.type) ?? [];
1570
+ return yi(t, {
1571
+ signed: i,
1572
+ size: Number(r)
1573
+ });
1554
1574
  }
1555
1575
  if (e.type.startsWith("bytes"))
1556
- return di(t, { param: e });
1576
+ return hi(t, { param: e });
1557
1577
  if (e.type === "string")
1558
- return hi(t);
1559
- throw new gn(e.type, {
1578
+ return Ei(t);
1579
+ throw new pn(e.type, {
1560
1580
  docsPath: "/docs/contract/encodeAbiParameters"
1561
1581
  });
1562
1582
  }
1563
- function ue(e) {
1583
+ function de(e) {
1564
1584
  let t = 0;
1565
1585
  for (let s = 0; s < e.length; s++) {
1566
1586
  const { dynamic: o, encoded: c } = e[s];
@@ -1574,17 +1594,17 @@ function ue(e) {
1574
1594
  }
1575
1595
  return N([...n, ...i]);
1576
1596
  }
1577
- function ci(e) {
1597
+ function fi(e) {
1578
1598
  if (!P(e))
1579
- throw new oe({ address: e });
1599
+ throw new ae({ address: e });
1580
1600
  return { dynamic: !1, encoded: _(e.toLowerCase()) };
1581
1601
  }
1582
- function ui(e, { length: t, param: n }) {
1602
+ function li(e, { length: t, param: n }) {
1583
1603
  const i = t === null;
1584
1604
  if (!Array.isArray(e))
1585
- throw new yn(e);
1605
+ throw new An(e);
1586
1606
  if (!i && e.length !== t)
1587
- throw new un({
1607
+ throw new ln({
1588
1608
  expectedLength: t,
1589
1609
  givenLength: e.length,
1590
1610
  type: `${n.type}[${t}]`
@@ -1592,11 +1612,11 @@ function ui(e, { length: t, param: n }) {
1592
1612
  let r = !1;
1593
1613
  const s = [];
1594
1614
  for (let o = 0; o < e.length; o++) {
1595
- const c = ce({ param: n, value: e[o] });
1615
+ const c = ue({ param: n, value: e[o] });
1596
1616
  c.dynamic && (r = !0), s.push(c);
1597
1617
  }
1598
1618
  if (i || r) {
1599
- const o = ue(s);
1619
+ const o = de(s);
1600
1620
  if (i) {
1601
1621
  const c = D(s.length, { size: 32 });
1602
1622
  return {
@@ -1612,7 +1632,7 @@ function ui(e, { length: t, param: n }) {
1612
1632
  encoded: N(s.map(({ encoded: o }) => o))
1613
1633
  };
1614
1634
  }
1615
- function di(e, { param: t }) {
1635
+ function hi(e, { param: t }) {
1616
1636
  const [, n] = t.type.split("bytes"), i = p(e);
1617
1637
  if (!n) {
1618
1638
  let r = e;
@@ -1625,18 +1645,29 @@ function di(e, { param: t }) {
1625
1645
  };
1626
1646
  }
1627
1647
  if (i !== Number.parseInt(n))
1628
- throw new dn({
1648
+ throw new hn({
1629
1649
  expectedSize: Number.parseInt(n),
1630
1650
  value: e
1631
1651
  });
1632
1652
  return { dynamic: !1, encoded: _(e, { dir: "right" }) };
1633
1653
  }
1634
- function fi(e) {
1654
+ function gi(e) {
1635
1655
  if (typeof e != "boolean")
1636
1656
  throw new f(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \`true\` or \`false\`.`);
1637
- return { dynamic: !1, encoded: _(Be(e)) };
1638
- }
1639
- function li(e, { signed: t }) {
1657
+ return { dynamic: !1, encoded: _(Ue(e)) };
1658
+ }
1659
+ function yi(e, { signed: t, size: n = 256 }) {
1660
+ if (typeof n == "number") {
1661
+ const i = 2n ** (BigInt(n) - (t ? 1n : 0n)) - 1n, r = t ? -i - 1n : 0n;
1662
+ if (e > i || e < r)
1663
+ throw new Be({
1664
+ max: i.toString(),
1665
+ min: r.toString(),
1666
+ signed: t,
1667
+ size: n / 8,
1668
+ value: e.toString()
1669
+ });
1670
+ }
1640
1671
  return {
1641
1672
  dynamic: !1,
1642
1673
  encoded: D(e, {
@@ -1645,10 +1676,10 @@ function li(e, { signed: t }) {
1645
1676
  })
1646
1677
  };
1647
1678
  }
1648
- function hi(e) {
1679
+ function Ei(e) {
1649
1680
  const t = W(e), n = Math.ceil(p(t) / 32), i = [];
1650
1681
  for (let r = 0; r < n; r++)
1651
- i.push(_(Xe(t, r * 32, (r + 1) * 32), {
1682
+ i.push(_(Qe(t, r * 32, (r + 1) * 32), {
1652
1683
  dir: "right"
1653
1684
  }));
1654
1685
  return {
@@ -1659,11 +1690,11 @@ function hi(e) {
1659
1690
  ])
1660
1691
  };
1661
1692
  }
1662
- function gi(e, { param: t }) {
1693
+ function pi(e, { param: t }) {
1663
1694
  let n = !1;
1664
1695
  const i = [];
1665
1696
  for (let r = 0; r < t.components.length; r++) {
1666
- const s = t.components[r], o = Array.isArray(e) ? r : s.name, c = ce({
1697
+ const s = t.components[r], o = Array.isArray(e) ? r : s.name, c = ue({
1667
1698
  param: s,
1668
1699
  value: e[o]
1669
1700
  });
@@ -1671,19 +1702,19 @@ function gi(e, { param: t }) {
1671
1702
  }
1672
1703
  return {
1673
1704
  dynamic: n,
1674
- encoded: n ? ue(i) : N(i.map(({ encoded: r }) => r))
1705
+ encoded: n ? de(i) : N(i.map(({ encoded: r }) => r))
1675
1706
  };
1676
1707
  }
1677
- function yi(e) {
1708
+ function Ai(e) {
1678
1709
  const t = e.match(/^(.*)\[(\d+)?\]$/);
1679
1710
  return t ? (
1680
1711
  // Return `null` if the array is dynamic.
1681
1712
  [t[2] ? Number(t[2]) : null, t[1]]
1682
1713
  ) : void 0;
1683
1714
  }
1684
- const qe = (e) => Xe(We(e), 0, 4);
1685
- function Ei(e) {
1686
- const { abi: t, args: n = [], name: i } = e, r = U(i, { strict: !1 }), s = t.filter((c) => r ? c.type === "function" ? qe(c) === i : c.type === "event" ? ni(c) === i : !1 : "name" in c && c.name === i);
1715
+ const Ze = (e) => Qe(Ve(e), 0, 4);
1716
+ function bi(e) {
1717
+ const { abi: t, args: n = [], name: i } = e, r = U(i, { strict: !1 }), s = t.filter((c) => r ? c.type === "function" ? Ze(c) === i : c.type === "event" ? ri(c) === i : !1 : "name" in c && c.name === i);
1687
1718
  if (s.length === 0)
1688
1719
  return;
1689
1720
  if (s.length === 1)
@@ -1701,12 +1732,12 @@ function Ei(e) {
1701
1732
  continue;
1702
1733
  if (n.every((y, h) => {
1703
1734
  const E = "inputs" in c && c.inputs[h];
1704
- return E ? te(y, E) : !1;
1735
+ return E ? ne(y, E) : !1;
1705
1736
  })) {
1706
1737
  if (o && "inputs" in o && o.inputs) {
1707
- const y = Ye(c.inputs, o.inputs, n);
1738
+ const y = et(c.inputs, o.inputs, n);
1708
1739
  if (y)
1709
- throw new ln({
1740
+ throw new yn({
1710
1741
  abiItem: c,
1711
1742
  type: y[0]
1712
1743
  }, {
@@ -1719,7 +1750,7 @@ function Ei(e) {
1719
1750
  }
1720
1751
  return o || s[0];
1721
1752
  }
1722
- function te(e, t) {
1753
+ function ne(e, t) {
1723
1754
  const n = typeof e, i = t.type;
1724
1755
  switch (i) {
1725
1756
  case "address":
@@ -1731,63 +1762,63 @@ function te(e, t) {
1731
1762
  case "string":
1732
1763
  return n === "string";
1733
1764
  default:
1734
- return i === "tuple" && "components" in t ? Object.values(t.components).every((r, s) => te(Object.values(e)[s], r)) : /^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(i) ? n === "number" || n === "bigint" : /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(i) ? n === "string" || e instanceof Uint8Array : /[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(i) ? Array.isArray(e) && e.every((r) => te(r, {
1765
+ return i === "tuple" && "components" in t ? Object.values(t.components).every((r, s) => ne(Object.values(e)[s], r)) : /^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(i) ? n === "number" || n === "bigint" : /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(i) ? n === "string" || e instanceof Uint8Array : /[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(i) ? Array.isArray(e) && e.every((r) => ne(r, {
1735
1766
  ...t,
1736
1767
  // Pop off `[]` or `[M]` from end of type
1737
1768
  type: i.replace(/(\[[0-9]{0,}\])$/, "")
1738
1769
  })) : !1;
1739
1770
  }
1740
1771
  }
1741
- function Ye(e, t, n) {
1772
+ function et(e, t, n) {
1742
1773
  for (const i in e) {
1743
1774
  const r = e[i], s = t[i];
1744
1775
  if (r.type === "tuple" && s.type === "tuple" && "components" in r && "components" in s)
1745
- return Ye(r.components, s.components, n[i]);
1776
+ return et(r.components, s.components, n[i]);
1746
1777
  const o = [r.type, s.type];
1747
1778
  if (o.includes("address") && o.includes("bytes20") ? !0 : o.includes("address") && o.includes("string") ? P(n[i], { strict: !1 }) : o.includes("address") && o.includes("bytes") ? P(n[i], { strict: !1 }) : !1)
1748
1779
  return o;
1749
1780
  }
1750
1781
  }
1751
- const be = "/docs/contract/encodeFunctionData";
1752
- function pi(e) {
1782
+ const Ie = "/docs/contract/encodeFunctionData";
1783
+ function Ii(e) {
1753
1784
  const { abi: t, args: n, functionName: i } = e;
1754
1785
  let r = t[0];
1755
1786
  if (i) {
1756
- const s = Ei({
1787
+ const s = bi({
1757
1788
  abi: t,
1758
1789
  args: n,
1759
1790
  name: i
1760
1791
  });
1761
1792
  if (!s)
1762
- throw new fe(i, { docsPath: be });
1793
+ throw new le(i, { docsPath: Ie });
1763
1794
  r = s;
1764
1795
  }
1765
1796
  if (r.type !== "function")
1766
- throw new fe(void 0, { docsPath: be });
1797
+ throw new le(void 0, { docsPath: Ie });
1767
1798
  return {
1768
1799
  abi: [r],
1769
- functionName: qe(G(r))
1800
+ functionName: Ze(G(r))
1770
1801
  };
1771
1802
  }
1772
- function cr(e) {
1803
+ function dr(e) {
1773
1804
  const { args: t } = e, { abi: n, functionName: i } = (() => {
1774
1805
  var c;
1775
- return e.abi.length === 1 && ((c = e.functionName) != null && c.startsWith("0x")) ? e : pi(e);
1776
- })(), r = n[0], s = i, o = "inputs" in r && r.inputs ? ae(r.inputs, t ?? []) : void 0;
1777
- return Ke([s, o ?? "0x"]);
1806
+ return e.abi.length === 1 && ((c = e.functionName) != null && c.startsWith("0x")) ? e : Ii(e);
1807
+ })(), r = n[0], s = i, o = "inputs" in r && r.inputs ? ce(r.inputs, t ?? []) : void 0;
1808
+ return xe([s, o ?? "0x"]);
1778
1809
  }
1779
- const Je = (e, t, n) => JSON.stringify(e, (i, r) => {
1810
+ const tt = (e, t, n) => JSON.stringify(e, (i, r) => {
1780
1811
  const s = typeof r == "bigint" ? r.toString() : r;
1781
1812
  return typeof t == "function" ? t(i, s) : s;
1782
- }, n), ur = /^(.*)\[([0-9]*)\]$/, Ai = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/, bi = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
1783
- class Ii extends f {
1813
+ }, n);
1814
+ class Ti extends f {
1784
1815
  constructor({ domain: t }) {
1785
- super(`Invalid domain "${Je(t)}".`, {
1816
+ super(`Invalid domain "${tt(t)}".`, {
1786
1817
  metaMessages: ["Must be a valid EIP-712 domain."]
1787
1818
  });
1788
1819
  }
1789
1820
  }
1790
- class Ti extends f {
1821
+ class mi extends f {
1791
1822
  constructor({ primaryType: t, types: n }) {
1792
1823
  super(`Invalid primary type \`${t}\` must be one of \`${JSON.stringify(Object.keys(n))}\`.`, {
1793
1824
  docsPath: "/api/glossary/Errors#typeddatainvalidprimarytypeerror",
@@ -1795,7 +1826,7 @@ class Ti extends f {
1795
1826
  });
1796
1827
  }
1797
1828
  }
1798
- class mi extends f {
1829
+ class vi extends f {
1799
1830
  constructor({ type: t }) {
1800
1831
  super(`Struct type "${t}" is invalid.`, {
1801
1832
  metaMessages: ["Struct type must not be a Solidity type."],
@@ -1803,46 +1834,46 @@ class mi extends f {
1803
1834
  });
1804
1835
  }
1805
1836
  }
1806
- function dr(e) {
1837
+ function fr(e) {
1807
1838
  const { domain: t = {}, message: n, primaryType: i } = e, r = {
1808
- EIP712Domain: rt({ domain: t }),
1839
+ EIP712Domain: at({ domain: t }),
1809
1840
  ...e.types
1810
1841
  };
1811
- _i({
1842
+ Ni({
1812
1843
  domain: t,
1813
1844
  message: n,
1814
1845
  primaryType: i,
1815
1846
  types: r
1816
1847
  });
1817
1848
  const s = ["0x1901"];
1818
- return t && s.push(Ze({
1849
+ return t && s.push(nt({
1819
1850
  domain: t,
1820
1851
  types: r
1821
- })), i !== "EIP712Domain" && s.push(et({
1852
+ })), i !== "EIP712Domain" && s.push(it({
1822
1853
  data: n,
1823
1854
  primaryType: i,
1824
1855
  types: r
1825
1856
  })), m(N(s));
1826
1857
  }
1827
- function Ze({ domain: e, types: t }) {
1828
- return et({
1858
+ function nt({ domain: e, types: t }) {
1859
+ return it({
1829
1860
  data: e,
1830
1861
  primaryType: "EIP712Domain",
1831
1862
  types: t
1832
1863
  });
1833
1864
  }
1834
- function et({ data: e, primaryType: t, types: n }) {
1835
- const i = tt({
1865
+ function it({ data: e, primaryType: t, types: n }) {
1866
+ const i = rt({
1836
1867
  data: e,
1837
1868
  primaryType: t,
1838
1869
  types: n
1839
1870
  });
1840
1871
  return m(i);
1841
1872
  }
1842
- function tt({ data: e, primaryType: t, types: n }) {
1843
- const i = [{ type: "bytes32" }], r = [vi({ primaryType: t, types: n })];
1873
+ function rt({ data: e, primaryType: t, types: n }) {
1874
+ const i = [{ type: "bytes32" }], r = [Si({ primaryType: t, types: n })];
1844
1875
  for (const s of n[t]) {
1845
- const [o, c] = it({
1876
+ const [o, c] = ot({
1846
1877
  types: n,
1847
1878
  name: s.name,
1848
1879
  type: s.type,
@@ -1850,42 +1881,42 @@ function tt({ data: e, primaryType: t, types: n }) {
1850
1881
  });
1851
1882
  i.push(o), r.push(c);
1852
1883
  }
1853
- return ae(i, r);
1884
+ return ce(i, r);
1854
1885
  }
1855
- function vi({ primaryType: e, types: t }) {
1856
- const n = ie(Si({ primaryType: e, types: t }));
1886
+ function Si({ primaryType: e, types: t }) {
1887
+ const n = re(_i({ primaryType: e, types: t }));
1857
1888
  return m(n);
1858
1889
  }
1859
- function Si({ primaryType: e, types: t }) {
1890
+ function _i({ primaryType: e, types: t }) {
1860
1891
  let n = "";
1861
- const i = nt({ primaryType: e, types: t });
1892
+ const i = st({ primaryType: e, types: t });
1862
1893
  i.delete(e);
1863
1894
  const r = [e, ...Array.from(i).sort()];
1864
1895
  for (const s of r)
1865
1896
  n += `${s}(${t[s].map(({ name: o, type: c }) => `${c} ${o}`).join(",")})`;
1866
1897
  return n;
1867
1898
  }
1868
- function nt({ primaryType: e, types: t }, n = /* @__PURE__ */ new Set()) {
1899
+ function st({ primaryType: e, types: t }, n = /* @__PURE__ */ new Set()) {
1869
1900
  const i = e.match(/^\w*/u), r = i == null ? void 0 : i[0];
1870
1901
  if (n.has(r) || t[r] === void 0)
1871
1902
  return n;
1872
1903
  n.add(r);
1873
1904
  for (const s of t[r])
1874
- nt({ primaryType: s.type, types: t }, n);
1905
+ st({ primaryType: s.type, types: t }, n);
1875
1906
  return n;
1876
1907
  }
1877
- function it({ types: e, name: t, type: n, value: i }) {
1908
+ function ot({ types: e, name: t, type: n, value: i }) {
1878
1909
  if (e[n] !== void 0)
1879
1910
  return [
1880
1911
  { type: "bytes32" },
1881
- m(tt({ data: i, primaryType: n, types: e }))
1912
+ m(rt({ data: i, primaryType: n, types: e }))
1882
1913
  ];
1883
1914
  if (n === "bytes")
1884
1915
  return i = `0x${(i.length % 2 ? "0" : "") + i.slice(2)}`, [{ type: "bytes32" }, m(i)];
1885
1916
  if (n === "string")
1886
- return [{ type: "bytes32" }, m(ie(i))];
1917
+ return [{ type: "bytes32" }, m(re(i))];
1887
1918
  if (n.lastIndexOf("]") === n.length - 1) {
1888
- const r = n.slice(0, n.lastIndexOf("[")), s = i.map((o) => it({
1919
+ const r = n.slice(0, n.lastIndexOf("[")), s = i.map((o) => ot({
1889
1920
  name: t,
1890
1921
  type: r,
1891
1922
  types: e,
@@ -1893,12 +1924,12 @@ function it({ types: e, name: t, type: n, value: i }) {
1893
1924
  }));
1894
1925
  return [
1895
1926
  { type: "bytes32" },
1896
- m(ae(s.map(([o]) => o), s.map(([, o]) => o)))
1927
+ m(ce(s.map(([o]) => o), s.map(([, o]) => o)))
1897
1928
  ];
1898
1929
  }
1899
1930
  return [{ type: n }, i];
1900
1931
  }
1901
- function fr(e) {
1932
+ function lr(e) {
1902
1933
  const { domain: t, message: n, primaryType: i, types: r } = e, s = (g, y) => {
1903
1934
  const h = { ...y };
1904
1935
  for (const E of g) {
@@ -1910,12 +1941,12 @@ function fr(e) {
1910
1941
  if (i !== "EIP712Domain")
1911
1942
  return s(r[i], n);
1912
1943
  })();
1913
- return Je({ domain: o, message: c, primaryType: i, types: r });
1944
+ return tt({ domain: o, message: c, primaryType: i, types: r });
1914
1945
  }
1915
- function _i(e) {
1946
+ function Ni(e) {
1916
1947
  const { domain: t, message: n, primaryType: i, types: r } = e, s = (o, c) => {
1917
1948
  for (const g of o) {
1918
- const { name: y, type: h } = g, E = c[y], v = h.match(bi);
1949
+ const { name: y, type: h } = g, E = c[y], v = h.match(Je);
1919
1950
  if (v && (typeof E == "number" || typeof E == "bigint")) {
1920
1951
  const [q, w, Y] = v;
1921
1952
  D(E, {
@@ -1924,36 +1955,36 @@ function _i(e) {
1924
1955
  });
1925
1956
  }
1926
1957
  if (h === "address" && typeof E == "string" && !P(E))
1927
- throw new oe({ address: E });
1928
- const b = h.match(Ai);
1958
+ throw new ae({ address: E });
1959
+ const b = h.match(ui);
1929
1960
  if (b) {
1930
1961
  const [q, w] = b;
1931
1962
  if (w && p(E) !== Number.parseInt(w))
1932
- throw new hn({
1963
+ throw new En({
1933
1964
  expectedSize: Number.parseInt(w),
1934
1965
  givenSize: p(E)
1935
1966
  });
1936
1967
  }
1937
1968
  const j = r[h];
1938
- j && (Ni(h), s(j, E));
1969
+ j && (Oi(h), s(j, E));
1939
1970
  }
1940
1971
  };
1941
1972
  if (r.EIP712Domain && t) {
1942
1973
  if (typeof t != "object")
1943
- throw new Ii({ domain: t });
1974
+ throw new Ti({ domain: t });
1944
1975
  s(r.EIP712Domain, t);
1945
1976
  }
1946
1977
  if (i !== "EIP712Domain")
1947
1978
  if (r[i])
1948
1979
  s(r[i], n);
1949
1980
  else
1950
- throw new Ti({ primaryType: i, types: r });
1981
+ throw new mi({ primaryType: i, types: r });
1951
1982
  }
1952
- function rt({ domain: e }) {
1983
+ function at({ domain: e }) {
1953
1984
  return [
1954
1985
  typeof (e == null ? void 0 : e.name) == "string" && { name: "name", type: "string" },
1955
1986
  (e == null ? void 0 : e.version) && { name: "version", type: "string" },
1956
- typeof (e == null ? void 0 : e.chainId) == "number" && {
1987
+ (typeof (e == null ? void 0 : e.chainId) == "number" || typeof (e == null ? void 0 : e.chainId) == "bigint") && {
1957
1988
  name: "chainId",
1958
1989
  type: "uint256"
1959
1990
  },
@@ -1964,138 +1995,141 @@ function rt({ domain: e }) {
1964
1995
  (e == null ? void 0 : e.salt) && { name: "salt", type: "bytes32" }
1965
1996
  ].filter(Boolean);
1966
1997
  }
1967
- function lr({ domain: e }) {
1968
- return Ze({
1998
+ function hr({ domain: e }) {
1999
+ return nt({
1969
2000
  domain: e,
1970
2001
  types: {
1971
- EIP712Domain: rt({ domain: e })
2002
+ EIP712Domain: at({ domain: e })
1972
2003
  }
1973
2004
  });
1974
2005
  }
1975
- function Ni(e) {
2006
+ function Oi(e) {
1976
2007
  if (e === "address" || e === "bool" || e === "string" || e.startsWith("bytes") || e.startsWith("uint") || e.startsWith("int"))
1977
- throw new mi({ type: e });
2008
+ throw new vi({ type: e });
1978
2009
  }
1979
- const Oi = `Ethereum Signed Message:
2010
+ const Di = `Ethereum Signed Message:
1980
2011
  `;
1981
- function Di(e) {
1982
- const t = typeof e == "string" ? W(e) : typeof e.raw == "string" ? e.raw : re(e.raw), n = W(`${Oi}${p(t)}`);
2012
+ function wi(e) {
2013
+ const t = typeof e == "string" ? W(e) : typeof e.raw == "string" ? e.raw : se(e.raw), n = W(`${Di}${p(t)}`);
1983
2014
  return N([n, t]);
1984
2015
  }
1985
- function hr(e, t) {
1986
- return m(Di(e), t);
2016
+ function gr(e, t) {
2017
+ return m(wi(e), t);
1987
2018
  }
1988
2019
  export {
1989
- Pi as $,
1990
- ki as A,
2020
+ Ri as $,
2021
+ Vi as A,
1991
2022
  f as B,
1992
- si as C,
1993
- Xe as D,
1994
- qe as E,
1995
- Hi as F,
1996
- Je as G,
2023
+ ai as C,
2024
+ Qe as D,
2025
+ Ze as E,
2026
+ Gi as F,
2027
+ tt as G,
1997
2028
  U as H,
1998
- Ji as I,
1999
- ie as J,
2000
- Ke as K,
2029
+ Zi as I,
2030
+ re as J,
2031
+ xe as K,
2001
2032
  P as L,
2002
- oe as M,
2003
- Yi as N,
2004
- Fn as O,
2005
- nr as P,
2006
- he as Q,
2007
- je as R,
2008
- $n as S,
2009
- Hn as T,
2010
- ir as U,
2011
- Gi as V,
2012
- Wi as W,
2013
- xi as X,
2014
- Xi as Y,
2015
- fe as Z,
2016
- Vi as _,
2017
- dr as a,
2018
- Ri as a0,
2019
- ke as a1,
2033
+ ae as M,
2034
+ Ji as N,
2035
+ Gn as O,
2036
+ ir as P,
2037
+ ge as Q,
2038
+ He as R,
2039
+ Mn as S,
2040
+ Wn as T,
2041
+ rr as U,
2042
+ Wi as V,
2043
+ ki as W,
2044
+ Qi as X,
2045
+ xi as Y,
2046
+ le as Z,
2047
+ Ki as _,
2048
+ fr as a,
2049
+ Bi as a0,
2050
+ Ke as a1,
2020
2051
  W as a2,
2021
- Ue as a3,
2052
+ Fe as a3,
2022
2053
  N as a4,
2023
- Ki as a5,
2024
- Fi as a6,
2025
- ji as a7,
2026
- fn as a8,
2054
+ Xi as a5,
2055
+ Hi as a6,
2056
+ Fi as a7,
2057
+ gn as a8,
2027
2058
  R as a9,
2028
- Ii as aA,
2059
+ An as aA,
2029
2060
  bn as aB,
2030
2061
  Ti as aC,
2031
- mi as aD,
2032
- Pe as aE,
2033
- In as aF,
2034
- Le as aG,
2035
- On as aH,
2036
- ri as aI,
2037
- lr as aJ,
2038
- er as aK,
2039
- ti as aL,
2040
- Ze as aM,
2041
- vn as aN,
2042
- Dn as aO,
2043
- pn as aP,
2044
- pi as aQ,
2045
- Oi as aR,
2046
- Li as aS,
2047
- We as aT,
2062
+ Tn as aD,
2063
+ mi as aE,
2064
+ vi as aF,
2065
+ Re as aG,
2066
+ mn as aH,
2067
+ Pe as aI,
2068
+ wn as aJ,
2069
+ oi as aK,
2070
+ hr as aL,
2071
+ tr as aM,
2072
+ ii as aN,
2073
+ nt as aO,
2074
+ it as aP,
2075
+ _n as aQ,
2076
+ $n as aR,
2077
+ In as aS,
2078
+ Ii as aT,
2048
2079
  Di as aU,
2049
- xt as aV,
2050
- Be as aa,
2051
- bi as ab,
2052
- Ai as ac,
2053
- hn as ad,
2080
+ Pi as aV,
2081
+ Ve as aW,
2082
+ wi as aX,
2083
+ Yt as aY,
2084
+ Ue as aa,
2085
+ Je as ab,
2086
+ ui as ac,
2087
+ En as ad,
2054
2088
  ur as ae,
2055
- qi as af,
2056
- ar as ag,
2057
- Zi as ah,
2058
- rr as ai,
2059
- oi as aj,
2089
+ Yi as af,
2090
+ cr as ag,
2091
+ er as ah,
2092
+ sr as ai,
2093
+ ci as aj,
2060
2094
  _ as ak,
2061
- tr as al,
2062
- Q as am,
2063
- sr as an,
2064
- or as ao,
2065
- Tn as ap,
2066
- rt as aq,
2067
- _i as ar,
2068
- fr as as,
2069
- Bi as at,
2070
- un as au,
2071
- dn as av,
2072
- An as aw,
2073
- gn as ax,
2074
- yn as ay,
2075
- En as az,
2076
- on as b,
2077
- $i as c,
2078
- Mi as d,
2079
- cr as e,
2095
+ Zn as al,
2096
+ dn as am,
2097
+ nr as an,
2098
+ Q as ao,
2099
+ or as ap,
2100
+ ar as aq,
2101
+ vn as ar,
2102
+ at as as,
2103
+ Ni as at,
2104
+ lr as au,
2105
+ zi as av,
2106
+ ln as aw,
2107
+ hn as ax,
2108
+ Be as ay,
2109
+ pn as az,
2110
+ un as b,
2111
+ Ci as c,
2112
+ Li as d,
2113
+ dr as e,
2080
2114
  G as f,
2081
- Ei as g,
2082
- hr as h,
2083
- Ci as i,
2084
- ze as j,
2115
+ bi as g,
2116
+ gr as h,
2117
+ Mi as i,
2118
+ je as j,
2085
2119
  m as k,
2086
- ae as l,
2087
- re as m,
2120
+ ce as l,
2121
+ se as m,
2088
2122
  D as n,
2089
2123
  O as o,
2090
- Re as p,
2124
+ ze as p,
2091
2125
  H as q,
2092
- mn as r,
2126
+ Sn as r,
2093
2127
  x as s,
2094
- ni as t,
2128
+ ri as t,
2095
2129
  p as u,
2096
- Ui as v,
2097
- zi as w,
2098
- yi as x,
2099
- Qi as y,
2100
- Ve as z
2130
+ ji as v,
2131
+ Ui as w,
2132
+ Ai as x,
2133
+ qi as y,
2134
+ Xe as z
2101
2135
  };