@coinbase/cdp-core 0.0.87 → 0.0.88

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 (295) hide show
  1. package/dist/esm/index.native10.js +1 -1
  2. package/dist/esm/index.native101.js +2 -2
  3. package/dist/esm/index.native105.js +3 -3
  4. package/dist/esm/index.native106.js +31 -2
  5. package/dist/esm/index.native107.js +28 -65
  6. package/dist/esm/index.native108.js +2 -367
  7. package/dist/esm/index.native109.js +65 -28
  8. package/dist/esm/index.native110.js +364 -28
  9. package/dist/esm/index.native122.js +5 -35
  10. package/dist/esm/index.native123.js +40 -60
  11. package/dist/esm/index.native124.js +35 -5
  12. package/dist/esm/index.native125.js +60 -40
  13. package/dist/esm/index.native197.js +37 -107
  14. package/dist/esm/index.native199.js +69 -7
  15. package/dist/esm/index.native2.js +35 -30
  16. package/dist/esm/index.native200.js +35 -2
  17. package/dist/esm/index.native201.js +17 -374
  18. package/dist/esm/index.native202.js +7 -835
  19. package/dist/esm/index.native203.js +2 -39
  20. package/dist/esm/index.native204.js +378 -2
  21. package/dist/esm/index.native205.js +835 -69
  22. package/dist/esm/index.native206.js +106 -32
  23. package/dist/esm/index.native207.js +2 -21
  24. package/dist/esm/index.native222.js +2 -2
  25. package/dist/esm/index.native223.js +2 -2
  26. package/dist/esm/index.native224.js +2 -2
  27. package/dist/esm/index.native225.js +1 -1
  28. package/dist/esm/index.native3.js +1 -1
  29. package/dist/esm/index.native67.js +97 -60
  30. package/dist/esm/index.native9.js +1 -1
  31. package/dist/esm/index.native90.js +2 -2
  32. package/dist/esm/index.web102.js +12 -12
  33. package/dist/esm/index.web106.js +3 -3
  34. package/dist/esm/index.web107.js +2 -31
  35. package/dist/esm/index.web108.js +65 -28
  36. package/dist/esm/index.web109.js +367 -2
  37. package/dist/esm/index.web110.js +28 -65
  38. package/dist/esm/index.web111.js +28 -364
  39. package/dist/esm/index.web116.js +1 -1
  40. package/dist/esm/index.web117.js +2 -2
  41. package/dist/esm/index.web123.js +1 -1
  42. package/dist/esm/index.web127.js +4 -17
  43. package/dist/esm/index.web128.js +16 -44
  44. package/dist/esm/index.web129.js +45 -13
  45. package/dist/esm/index.web130.js +13 -55
  46. package/dist/esm/index.web131.js +55 -6
  47. package/dist/esm/index.web132.js +6 -21
  48. package/dist/esm/index.web133.js +21 -3
  49. package/dist/esm/index.web134.js +3 -3
  50. package/dist/esm/index.web135.js +3 -34
  51. package/dist/esm/index.web136.js +32 -10
  52. package/dist/esm/index.web137.js +12 -4
  53. package/dist/esm/index.web138.js +4 -28
  54. package/dist/esm/index.web139.js +28 -6
  55. package/dist/esm/index.web140.js +6 -42
  56. package/dist/esm/index.web141.js +41 -54
  57. package/dist/esm/index.web142.js +54 -126
  58. package/dist/esm/index.web143.js +127 -23
  59. package/dist/esm/index.web144.js +22 -11
  60. package/dist/esm/index.web145.js +9 -101
  61. package/dist/esm/index.web146.js +104 -6
  62. package/dist/esm/index.web147.js +7 -3
  63. package/dist/esm/index.web148.js +3 -15
  64. package/dist/esm/index.web149.js +14 -34
  65. package/dist/esm/index.web150.js +31 -75
  66. package/dist/esm/index.web151.js +79 -2
  67. package/dist/esm/index.web152.js +2 -2
  68. package/dist/esm/index.web153.js +2 -38
  69. package/dist/esm/index.web154.js +36 -5
  70. package/dist/esm/index.web155.js +5 -33
  71. package/dist/esm/index.web156.js +34 -8
  72. package/dist/esm/index.web157.js +8 -10
  73. package/dist/esm/index.web158.js +10 -11
  74. package/dist/esm/index.web159.js +11 -13
  75. package/dist/esm/index.web160.js +13 -18
  76. package/dist/esm/index.web161.js +18 -5
  77. package/dist/esm/index.web162.js +6 -5
  78. package/dist/esm/index.web163.js +5 -11
  79. package/dist/esm/index.web164.js +10 -4
  80. package/dist/esm/index.web165.js +14 -103
  81. package/dist/esm/index.web166.js +27 -77
  82. package/dist/esm/index.web167.js +7 -79
  83. package/dist/esm/index.web168.js +3 -14
  84. package/dist/esm/index.web169.js +16 -16
  85. package/dist/esm/index.web170.js +8 -7
  86. package/dist/esm/index.web171.js +7 -3
  87. package/dist/esm/index.web172.js +70 -18
  88. package/dist/esm/index.web173.js +28 -8
  89. package/dist/esm/index.web174.js +3 -7
  90. package/dist/esm/index.web175.js +7 -72
  91. package/dist/esm/index.web176.js +4 -28
  92. package/dist/esm/index.web177.js +14 -3
  93. package/dist/esm/index.web178.js +19 -15
  94. package/dist/esm/index.web179.js +61 -4
  95. package/dist/esm/index.web180.js +16 -13
  96. package/dist/esm/index.web181.js +19 -15
  97. package/dist/esm/index.web182.js +8 -61
  98. package/dist/esm/index.web183.js +41 -16
  99. package/dist/esm/index.web184.js +7 -23
  100. package/dist/esm/index.web185.js +20 -8
  101. package/dist/esm/index.web186.js +102 -41
  102. package/dist/esm/index.web187.js +78 -7
  103. package/dist/esm/index.web188.js +79 -20
  104. package/dist/esm/index.web189.js +1 -1
  105. package/dist/esm/index.web190.js +3 -3
  106. package/dist/esm/index.web192.js +3 -3
  107. package/dist/esm/index.web194.js +3 -3
  108. package/dist/esm/index.web195.js +2 -8
  109. package/dist/esm/index.web196.js +109 -2
  110. package/dist/esm/index.web197.js +2 -378
  111. package/dist/esm/index.web198.js +7 -835
  112. package/dist/esm/index.web199.js +2 -39
  113. package/dist/esm/index.web2.js +34 -29
  114. package/dist/esm/index.web200.js +378 -2
  115. package/dist/esm/index.web201.js +835 -69
  116. package/dist/esm/index.web202.js +37 -33
  117. package/dist/esm/index.web203.js +2 -21
  118. package/dist/esm/index.web204.js +70 -2
  119. package/dist/esm/index.web205.js +34 -20
  120. package/dist/esm/index.web206.js +19 -18
  121. package/dist/esm/index.web207.js +2 -33
  122. package/dist/esm/index.web208.js +20 -6
  123. package/dist/esm/index.web209.js +20 -2
  124. package/dist/esm/index.web210.js +31 -107
  125. package/dist/esm/index.web211.js +7 -2
  126. package/dist/esm/index.web213.js +47 -2
  127. package/dist/esm/index.web214.js +18 -2
  128. package/dist/esm/index.web215.js +28 -2
  129. package/dist/esm/index.web216.js +8 -18
  130. package/dist/esm/index.web217.js +9 -26
  131. package/dist/esm/index.web218.js +13 -8
  132. package/dist/esm/index.web219.js +10 -11
  133. package/dist/esm/index.web220.js +15 -11
  134. package/dist/esm/index.web221.js +80 -9
  135. package/dist/esm/index.web222.js +2 -17
  136. package/dist/esm/index.web223.js +2 -81
  137. package/dist/esm/index.web224.js +2 -47
  138. package/dist/esm/index.web226.js +14 -78
  139. package/dist/esm/index.web227.js +78 -14
  140. package/dist/esm/index.web3.js +1 -1
  141. package/dist/esm/index.web66.js +97 -60
  142. package/dist/esm/index.web8.js +1 -1
  143. package/dist/esm/index.web9.js +1 -1
  144. package/dist/esm/index.web92.js +2 -2
  145. package/dist/native/index.native10.js +1 -1
  146. package/dist/native/index.native101.js +2 -2
  147. package/dist/native/index.native105.js +3 -3
  148. package/dist/native/index.native106.js +31 -2
  149. package/dist/native/index.native107.js +28 -65
  150. package/dist/native/index.native108.js +2 -367
  151. package/dist/native/index.native109.js +65 -28
  152. package/dist/native/index.native110.js +364 -28
  153. package/dist/native/index.native122.js +5 -35
  154. package/dist/native/index.native123.js +40 -60
  155. package/dist/native/index.native124.js +35 -5
  156. package/dist/native/index.native125.js +60 -40
  157. package/dist/native/index.native197.js +37 -107
  158. package/dist/native/index.native199.js +69 -7
  159. package/dist/native/index.native2.js +35 -30
  160. package/dist/native/index.native200.js +35 -2
  161. package/dist/native/index.native201.js +17 -374
  162. package/dist/native/index.native202.js +7 -835
  163. package/dist/native/index.native203.js +2 -39
  164. package/dist/native/index.native204.js +378 -2
  165. package/dist/native/index.native205.js +835 -69
  166. package/dist/native/index.native206.js +106 -32
  167. package/dist/native/index.native207.js +2 -21
  168. package/dist/native/index.native222.js +2 -2
  169. package/dist/native/index.native223.js +2 -2
  170. package/dist/native/index.native224.js +2 -2
  171. package/dist/native/index.native225.js +1 -1
  172. package/dist/native/index.native3.js +1 -1
  173. package/dist/native/index.native67.js +97 -60
  174. package/dist/native/index.native9.js +1 -1
  175. package/dist/native/index.native90.js +2 -2
  176. package/dist/native-types/auth/authManager.d.ts +1 -1
  177. package/dist/native-types/version.d.ts +1 -1
  178. package/dist/types/auth/authManager.d.ts +1 -1
  179. package/dist/types/version.d.ts +1 -1
  180. package/dist/web/index.web102.js +12 -12
  181. package/dist/web/index.web106.js +3 -3
  182. package/dist/web/index.web107.js +2 -31
  183. package/dist/web/index.web108.js +65 -28
  184. package/dist/web/index.web109.js +367 -2
  185. package/dist/web/index.web110.js +28 -65
  186. package/dist/web/index.web111.js +28 -364
  187. package/dist/web/index.web116.js +1 -1
  188. package/dist/web/index.web117.js +2 -2
  189. package/dist/web/index.web123.js +1 -1
  190. package/dist/web/index.web127.js +4 -17
  191. package/dist/web/index.web128.js +16 -44
  192. package/dist/web/index.web129.js +45 -13
  193. package/dist/web/index.web130.js +13 -55
  194. package/dist/web/index.web131.js +55 -6
  195. package/dist/web/index.web132.js +6 -21
  196. package/dist/web/index.web133.js +21 -3
  197. package/dist/web/index.web134.js +3 -3
  198. package/dist/web/index.web135.js +3 -34
  199. package/dist/web/index.web136.js +32 -10
  200. package/dist/web/index.web137.js +12 -4
  201. package/dist/web/index.web138.js +4 -28
  202. package/dist/web/index.web139.js +28 -6
  203. package/dist/web/index.web140.js +6 -42
  204. package/dist/web/index.web141.js +41 -54
  205. package/dist/web/index.web142.js +54 -126
  206. package/dist/web/index.web143.js +127 -23
  207. package/dist/web/index.web144.js +22 -11
  208. package/dist/web/index.web145.js +9 -101
  209. package/dist/web/index.web146.js +104 -6
  210. package/dist/web/index.web147.js +7 -3
  211. package/dist/web/index.web148.js +3 -15
  212. package/dist/web/index.web149.js +14 -34
  213. package/dist/web/index.web150.js +31 -75
  214. package/dist/web/index.web151.js +79 -2
  215. package/dist/web/index.web152.js +2 -2
  216. package/dist/web/index.web153.js +2 -38
  217. package/dist/web/index.web154.js +36 -5
  218. package/dist/web/index.web155.js +5 -33
  219. package/dist/web/index.web156.js +34 -8
  220. package/dist/web/index.web157.js +8 -10
  221. package/dist/web/index.web158.js +10 -11
  222. package/dist/web/index.web159.js +11 -13
  223. package/dist/web/index.web160.js +13 -18
  224. package/dist/web/index.web161.js +18 -5
  225. package/dist/web/index.web162.js +6 -5
  226. package/dist/web/index.web163.js +5 -11
  227. package/dist/web/index.web164.js +10 -4
  228. package/dist/web/index.web165.js +14 -103
  229. package/dist/web/index.web166.js +27 -77
  230. package/dist/web/index.web167.js +7 -79
  231. package/dist/web/index.web168.js +3 -14
  232. package/dist/web/index.web169.js +16 -16
  233. package/dist/web/index.web170.js +8 -7
  234. package/dist/web/index.web171.js +7 -3
  235. package/dist/web/index.web172.js +70 -18
  236. package/dist/web/index.web173.js +28 -8
  237. package/dist/web/index.web174.js +3 -7
  238. package/dist/web/index.web175.js +7 -72
  239. package/dist/web/index.web176.js +4 -28
  240. package/dist/web/index.web177.js +14 -3
  241. package/dist/web/index.web178.js +19 -15
  242. package/dist/web/index.web179.js +61 -4
  243. package/dist/web/index.web180.js +16 -13
  244. package/dist/web/index.web181.js +19 -15
  245. package/dist/web/index.web182.js +8 -61
  246. package/dist/web/index.web183.js +41 -16
  247. package/dist/web/index.web184.js +7 -23
  248. package/dist/web/index.web185.js +20 -8
  249. package/dist/web/index.web186.js +102 -41
  250. package/dist/web/index.web187.js +78 -7
  251. package/dist/web/index.web188.js +79 -20
  252. package/dist/web/index.web189.js +1 -1
  253. package/dist/web/index.web190.js +3 -3
  254. package/dist/web/index.web192.js +3 -3
  255. package/dist/web/index.web194.js +3 -3
  256. package/dist/web/index.web195.js +2 -8
  257. package/dist/web/index.web196.js +109 -2
  258. package/dist/web/index.web197.js +2 -378
  259. package/dist/web/index.web198.js +7 -835
  260. package/dist/web/index.web199.js +2 -39
  261. package/dist/web/index.web2.js +34 -29
  262. package/dist/web/index.web200.js +378 -2
  263. package/dist/web/index.web201.js +835 -69
  264. package/dist/web/index.web202.js +37 -33
  265. package/dist/web/index.web203.js +2 -21
  266. package/dist/web/index.web204.js +70 -2
  267. package/dist/web/index.web205.js +34 -20
  268. package/dist/web/index.web206.js +19 -18
  269. package/dist/web/index.web207.js +2 -33
  270. package/dist/web/index.web208.js +20 -6
  271. package/dist/web/index.web209.js +20 -2
  272. package/dist/web/index.web210.js +31 -107
  273. package/dist/web/index.web211.js +7 -2
  274. package/dist/web/index.web213.js +47 -2
  275. package/dist/web/index.web214.js +18 -2
  276. package/dist/web/index.web215.js +28 -2
  277. package/dist/web/index.web216.js +8 -18
  278. package/dist/web/index.web217.js +9 -26
  279. package/dist/web/index.web218.js +13 -8
  280. package/dist/web/index.web219.js +10 -11
  281. package/dist/web/index.web220.js +15 -11
  282. package/dist/web/index.web221.js +80 -9
  283. package/dist/web/index.web222.js +2 -17
  284. package/dist/web/index.web223.js +2 -81
  285. package/dist/web/index.web224.js +2 -47
  286. package/dist/web/index.web226.js +14 -78
  287. package/dist/web/index.web227.js +78 -14
  288. package/dist/web/index.web3.js +1 -1
  289. package/dist/web/index.web66.js +97 -60
  290. package/dist/web/index.web8.js +1 -1
  291. package/dist/web/index.web9.js +1 -1
  292. package/dist/web/index.web92.js +2 -2
  293. package/dist/web-types/auth/authManager.d.ts +1 -1
  294. package/dist/web-types/version.d.ts +1 -1
  295. package/package.json +2 -2
@@ -1,23 +1,82 @@
1
- import { hashTypedData as s } from "viem";
2
- import { signAndWrapTypedDataForSmartAccount as c } from "./index.web87.js";
3
- import { validateUserOwnsSmartAccount as i, EIP1193ProviderError as d, STANDARD_ERROR_CODES as m } from "./index.web72.js";
4
- async function A(a, e) {
5
- const [t, n] = a, o = await i(t);
6
- try {
7
- const { signature: r } = await c({
8
- smartAccount: t,
9
- ownerAddress: o.evmAccounts[0],
10
- hash: s(JSON.parse(n)),
11
- chainId: e.getState().chainId
12
- });
13
- return r;
14
- } catch (r) {
15
- throw new d(
16
- m.provider.userRejectedRequest,
17
- r instanceof Error ? r.message : "Signing failed"
18
- );
19
- }
1
+ /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
2
+ function o(e) {
3
+ return e instanceof Uint8Array || ArrayBuffer.isView(e) && e.constructor.name === "Uint8Array";
4
+ }
5
+ function w(e) {
6
+ if (!Number.isSafeInteger(e) || e < 0)
7
+ throw new Error("positive integer expected, got " + e);
8
+ }
9
+ function r(e, ...t) {
10
+ if (!o(e))
11
+ throw new Error("Uint8Array expected");
12
+ if (t.length > 0 && !t.includes(e.length))
13
+ throw new Error("Uint8Array expected of length " + t + ", got length=" + e.length);
14
+ }
15
+ function h(e, t = !0) {
16
+ if (e.destroyed)
17
+ throw new Error("Hash instance has been destroyed");
18
+ if (t && e.finished)
19
+ throw new Error("Hash#digest() has already been called");
20
+ }
21
+ function l(e, t) {
22
+ r(e);
23
+ const n = t.outputLen;
24
+ if (e.length < n)
25
+ throw new Error("digestInto() expects output buffer of length at least " + n);
26
+ }
27
+ function a(e) {
28
+ return new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4));
29
+ }
30
+ function g(...e) {
31
+ for (let t = 0; t < e.length; t++)
32
+ e[t].fill(0);
33
+ }
34
+ function p(e) {
35
+ return new DataView(e.buffer, e.byteOffset, e.byteLength);
36
+ }
37
+ function b(e, t) {
38
+ return e << 32 - t | e >>> t;
39
+ }
40
+ const i = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
41
+ function u(e) {
42
+ return e << 24 & 4278190080 | e << 8 & 16711680 | e >>> 8 & 65280 | e >>> 24 & 255;
43
+ }
44
+ function c(e) {
45
+ for (let t = 0; t < e.length; t++)
46
+ e[t] = u(e[t]);
47
+ return e;
48
+ }
49
+ const x = i ? (e) => e : c;
50
+ function s(e) {
51
+ if (typeof e != "string")
52
+ throw new Error("string expected");
53
+ return new Uint8Array(new TextEncoder().encode(e));
54
+ }
55
+ function y(e) {
56
+ return typeof e == "string" && (e = s(e)), r(e), e;
57
+ }
58
+ class d {
59
+ }
60
+ function E(e) {
61
+ const t = (f) => e().update(y(f)).digest(), n = e();
62
+ return t.outputLen = n.outputLen, t.blockLen = n.blockLen, t.create = () => e(), t;
20
63
  }
21
64
  export {
22
- A as handleSignTypedData
65
+ d as Hash,
66
+ r as abytes,
67
+ h as aexists,
68
+ w as anumber,
69
+ l as aoutput,
70
+ u as byteSwap,
71
+ c as byteSwap32,
72
+ g as clean,
73
+ E as createHasher,
74
+ p as createView,
75
+ o as isBytes,
76
+ i as isLE,
77
+ b as rotr,
78
+ x as swap32IfBE,
79
+ y as toBytes,
80
+ a as u32,
81
+ s as utf8ToBytes
23
82
  };
@@ -1,5 +1,5 @@
1
1
  import { encoder as t, decoder as o } from "./index.web119.js";
2
- import { encodeBase64 as c, decodeBase64 as a } from "./index.web216.js";
2
+ import { encodeBase64 as c, decodeBase64 as a } from "./index.web214.js";
3
3
  function i(r) {
4
4
  if (Uint8Array.fromBase64)
5
5
  return Uint8Array.fromBase64(typeof r == "string" ? r : o.decode(r), {
@@ -1,6 +1,6 @@
1
- import n from "./index.web217.js";
2
- import s from "./index.web218.js";
3
- import a from "./index.web219.js";
1
+ import n from "./index.web215.js";
2
+ import s from "./index.web216.js";
3
+ import a from "./index.web217.js";
4
4
  const y = async (t, o, e) => {
5
5
  const r = await a(t, o, "sign");
6
6
  s(t, r);
@@ -1,6 +1,6 @@
1
- import { withAlg as n } from "./index.web220.js";
2
- import c from "./index.web221.js";
3
- import { isJWK as p, isSecretJWK as a, isPublicJWK as y, isPrivateJWK as f } from "./index.web222.js";
1
+ import { withAlg as n } from "./index.web218.js";
2
+ import c from "./index.web219.js";
3
+ import { isJWK as p, isSecretJWK as a, isPublicJWK as y, isPrivateJWK as f } from "./index.web220.js";
4
4
  const s = (r) => r?.[Symbol.toStringTag], o = (r, e, t) => {
5
5
  if (e.use !== void 0) {
6
6
  let i;
@@ -1,7 +1,7 @@
1
- import { isJWK as p } from "./index.web222.js";
1
+ import { isJWK as p } from "./index.web220.js";
2
2
  import { decode as m } from "./index.web189.js";
3
- import y from "./index.web223.js";
4
- import { isCryptoKey as S, isKeyObject as K } from "./index.web221.js";
3
+ import y from "./index.web221.js";
4
+ import { isCryptoKey as S, isKeyObject as K } from "./index.web219.js";
5
5
  let c;
6
6
  const f = async (e, r, s, i = !1) => {
7
7
  c ||= /* @__PURE__ */ new WeakMap();
@@ -1,10 +1,4 @@
1
- import { __module as e } from "./index.web196.js";
2
- import { __require as o } from "./index.web197.js";
3
- import { __require as t } from "./index.web198.js";
4
- var r;
5
- function s() {
6
- return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = o() : e.exports = t(), e.exports);
7
- }
1
+ const o = "0.1.1";
8
2
  export {
9
- s as __require
3
+ o as version
10
4
  };
@@ -1,4 +1,111 @@
1
- var e = { exports: {} };
1
+ import { __module as x } from "./index.web197.js";
2
+ var w;
3
+ function O() {
4
+ return w ? x.exports : (w = 1, function(d) {
5
+ var g = Object.prototype.hasOwnProperty, c = "~";
6
+ function h() {
7
+ }
8
+ Object.create && (h.prototype = /* @__PURE__ */ Object.create(null), new h().__proto__ || (c = !1));
9
+ function b(s, t, n) {
10
+ this.fn = s, this.context = t, this.once = n || !1;
11
+ }
12
+ function m(s, t, n, r, l) {
13
+ if (typeof n != "function")
14
+ throw new TypeError("The listener must be a function");
15
+ var u = new b(n, r || s, l), o = c ? c + t : t;
16
+ return s._events[o] ? s._events[o].fn ? s._events[o] = [s._events[o], u] : s._events[o].push(u) : (s._events[o] = u, s._eventsCount++), s;
17
+ }
18
+ function y(s, t) {
19
+ --s._eventsCount === 0 ? s._events = new h() : delete s._events[t];
20
+ }
21
+ function f() {
22
+ this._events = new h(), this._eventsCount = 0;
23
+ }
24
+ f.prototype.eventNames = function() {
25
+ var t = [], n, r;
26
+ if (this._eventsCount === 0) return t;
27
+ for (r in n = this._events)
28
+ g.call(n, r) && t.push(c ? r.slice(1) : r);
29
+ return Object.getOwnPropertySymbols ? t.concat(Object.getOwnPropertySymbols(n)) : t;
30
+ }, f.prototype.listeners = function(t) {
31
+ var n = c ? c + t : t, r = this._events[n];
32
+ if (!r) return [];
33
+ if (r.fn) return [r.fn];
34
+ for (var l = 0, u = r.length, o = new Array(u); l < u; l++)
35
+ o[l] = r[l].fn;
36
+ return o;
37
+ }, f.prototype.listenerCount = function(t) {
38
+ var n = c ? c + t : t, r = this._events[n];
39
+ return r ? r.fn ? 1 : r.length : 0;
40
+ }, f.prototype.emit = function(t, n, r, l, u, o) {
41
+ var a = c ? c + t : t;
42
+ if (!this._events[a]) return !1;
43
+ var e = this._events[a], p = arguments.length, v, i;
44
+ if (e.fn) {
45
+ switch (e.once && this.removeListener(t, e.fn, void 0, !0), p) {
46
+ case 1:
47
+ return e.fn.call(e.context), !0;
48
+ case 2:
49
+ return e.fn.call(e.context, n), !0;
50
+ case 3:
51
+ return e.fn.call(e.context, n, r), !0;
52
+ case 4:
53
+ return e.fn.call(e.context, n, r, l), !0;
54
+ case 5:
55
+ return e.fn.call(e.context, n, r, l, u), !0;
56
+ case 6:
57
+ return e.fn.call(e.context, n, r, l, u, o), !0;
58
+ }
59
+ for (i = 1, v = new Array(p - 1); i < p; i++)
60
+ v[i - 1] = arguments[i];
61
+ e.fn.apply(e.context, v);
62
+ } else {
63
+ var E = e.length, _;
64
+ for (i = 0; i < E; i++)
65
+ switch (e[i].once && this.removeListener(t, e[i].fn, void 0, !0), p) {
66
+ case 1:
67
+ e[i].fn.call(e[i].context);
68
+ break;
69
+ case 2:
70
+ e[i].fn.call(e[i].context, n);
71
+ break;
72
+ case 3:
73
+ e[i].fn.call(e[i].context, n, r);
74
+ break;
75
+ case 4:
76
+ e[i].fn.call(e[i].context, n, r, l);
77
+ break;
78
+ default:
79
+ if (!v) for (_ = 1, v = new Array(p - 1); _ < p; _++)
80
+ v[_ - 1] = arguments[_];
81
+ e[i].fn.apply(e[i].context, v);
82
+ }
83
+ }
84
+ return !0;
85
+ }, f.prototype.on = function(t, n, r) {
86
+ return m(this, t, n, r, !1);
87
+ }, f.prototype.once = function(t, n, r) {
88
+ return m(this, t, n, r, !0);
89
+ }, f.prototype.removeListener = function(t, n, r, l) {
90
+ var u = c ? c + t : t;
91
+ if (!this._events[u]) return this;
92
+ if (!n)
93
+ return y(this, u), this;
94
+ var o = this._events[u];
95
+ if (o.fn)
96
+ o.fn === n && (!l || o.once) && (!r || o.context === r) && y(this, u);
97
+ else {
98
+ for (var a = 0, e = [], p = o.length; a < p; a++)
99
+ (o[a].fn !== n || l && !o[a].once || r && o[a].context !== r) && e.push(o[a]);
100
+ e.length ? this._events[u] = e.length === 1 ? e[0] : e : y(this, u);
101
+ }
102
+ return this;
103
+ }, f.prototype.removeAllListeners = function(t) {
104
+ var n;
105
+ return t ? (n = c ? c + t : t, this._events[n] && y(this, n)) : (this._events = new h(), this._eventsCount = 0), this;
106
+ }, f.prototype.off = f.prototype.removeListener, f.prototype.addListener = f.prototype.on, f.prefixed = c, f.EventEmitter = f, d.exports = f;
107
+ }(x), x.exports);
108
+ }
2
109
  export {
3
- e as __module
110
+ O as __require
4
111
  };
@@ -1,380 +1,4 @@
1
- import { __exports as o } from "./index.web213.js";
2
- /**
3
- * @license React
4
- * react.production.js
5
- *
6
- * Copyright (c) Meta Platforms, Inc. and affiliates.
7
- *
8
- * This source code is licensed under the MIT license found in the
9
- * LICENSE file in the root directory of this source tree.
10
- */
11
- var $;
12
- function X() {
13
- if ($) return o;
14
- $ = 1;
15
- var E = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), M = Symbol.for("react.fragment"), Y = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), U = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), b = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), C = Symbol.iterator;
16
- function D(t) {
17
- return t === null || typeof t != "object" ? null : (t = C && t[C] || t["@@iterator"], typeof t == "function" ? t : null);
18
- }
19
- var w = {
20
- isMounted: function() {
21
- return !1;
22
- },
23
- enqueueForceUpdate: function() {
24
- },
25
- enqueueReplaceState: function() {
26
- },
27
- enqueueSetState: function() {
28
- }
29
- }, A = Object.assign, S = {};
30
- function _(t, e, n) {
31
- this.props = t, this.context = e, this.refs = S, this.updater = n || w;
32
- }
33
- _.prototype.isReactComponent = {}, _.prototype.setState = function(t, e) {
34
- if (typeof t != "object" && typeof t != "function" && t != null)
35
- throw Error(
36
- "takes an object of state variables to update or a function which returns an object of state variables."
37
- );
38
- this.updater.enqueueSetState(this, t, e, "setState");
39
- }, _.prototype.forceUpdate = function(t) {
40
- this.updater.enqueueForceUpdate(this, t, "forceUpdate");
41
- };
42
- function h() {
43
- }
44
- h.prototype = _.prototype;
45
- function y(t, e, n) {
46
- this.props = t, this.context = e, this.refs = S, this.updater = n || w;
47
- }
48
- var v = y.prototype = new h();
49
- v.constructor = y, A(v, _.prototype), v.isPureReactComponent = !0;
50
- var g = Array.isArray, i = { H: null, A: null, T: null, S: null, V: null }, O = Object.prototype.hasOwnProperty;
51
- function R(t, e, n, r, s, f) {
52
- return n = f.ref, {
53
- $$typeof: E,
54
- type: t,
55
- key: e,
56
- ref: n !== void 0 ? n : null,
57
- props: f
58
- };
59
- }
60
- function q(t, e) {
61
- return R(
62
- t.type,
63
- e,
64
- void 0,
65
- void 0,
66
- void 0,
67
- t.props
68
- );
69
- }
70
- function T(t) {
71
- return typeof t == "object" && t !== null && t.$$typeof === E;
72
- }
73
- function z(t) {
74
- var e = { "=": "=0", ":": "=2" };
75
- return "$" + t.replace(/[=:]/g, function(n) {
76
- return e[n];
77
- });
78
- }
79
- var H = /\/+/g;
80
- function m(t, e) {
81
- return typeof t == "object" && t !== null && t.key != null ? z("" + t.key) : e.toString(36);
82
- }
83
- function j() {
84
- }
85
- function G(t) {
86
- switch (t.status) {
87
- case "fulfilled":
88
- return t.value;
89
- case "rejected":
90
- throw t.reason;
91
- default:
92
- switch (typeof t.status == "string" ? t.then(j, j) : (t.status = "pending", t.then(
93
- function(e) {
94
- t.status === "pending" && (t.status = "fulfilled", t.value = e);
95
- },
96
- function(e) {
97
- t.status === "pending" && (t.status = "rejected", t.reason = e);
98
- }
99
- )), t.status) {
100
- case "fulfilled":
101
- return t.value;
102
- case "rejected":
103
- throw t.reason;
104
- }
105
- }
106
- throw t;
107
- }
108
- function a(t, e, n, r, s) {
109
- var f = typeof t;
110
- (f === "undefined" || f === "boolean") && (t = null);
111
- var u = !1;
112
- if (t === null) u = !0;
113
- else
114
- switch (f) {
115
- case "bigint":
116
- case "string":
117
- case "number":
118
- u = !0;
119
- break;
120
- case "object":
121
- switch (t.$$typeof) {
122
- case E:
123
- case N:
124
- u = !0;
125
- break;
126
- case d:
127
- return u = t._init, a(
128
- u(t._payload),
129
- e,
130
- n,
131
- r,
132
- s
133
- );
134
- }
135
- }
136
- if (u)
137
- return s = s(t), u = r === "" ? "." + m(t, 0) : r, g(s) ? (n = "", u != null && (n = u.replace(H, "$&/") + "/"), a(s, e, n, "", function(W) {
138
- return W;
139
- })) : s != null && (T(s) && (s = q(
140
- s,
141
- n + (s.key == null || t && t.key === s.key ? "" : ("" + s.key).replace(
142
- H,
143
- "$&/"
144
- ) + "/") + u
145
- )), e.push(s)), 1;
146
- u = 0;
147
- var p = r === "" ? "." : r + ":";
148
- if (g(t))
149
- for (var c = 0; c < t.length; c++)
150
- r = t[c], f = p + m(r, c), u += a(
151
- r,
152
- e,
153
- n,
154
- f,
155
- s
156
- );
157
- else if (c = D(t), typeof c == "function")
158
- for (t = c.call(t), c = 0; !(r = t.next()).done; )
159
- r = r.value, f = p + m(r, c++), u += a(
160
- r,
161
- e,
162
- n,
163
- f,
164
- s
165
- );
166
- else if (f === "object") {
167
- if (typeof t.then == "function")
168
- return a(
169
- G(t),
170
- e,
171
- n,
172
- r,
173
- s
174
- );
175
- throw e = String(t), Error(
176
- "Objects are not valid as a React child (found: " + (e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e) + "). If you meant to render a collection of children, use an array instead."
177
- );
178
- }
179
- return u;
180
- }
181
- function l(t, e, n) {
182
- if (t == null) return t;
183
- var r = [], s = 0;
184
- return a(t, r, "", "", function(f) {
185
- return e.call(n, f, s++);
186
- }), r;
187
- }
188
- function K(t) {
189
- if (t._status === -1) {
190
- var e = t._result;
191
- e = e(), e.then(
192
- function(n) {
193
- (t._status === 0 || t._status === -1) && (t._status = 1, t._result = n);
194
- },
195
- function(n) {
196
- (t._status === 0 || t._status === -1) && (t._status = 2, t._result = n);
197
- }
198
- ), t._status === -1 && (t._status = 0, t._result = e);
199
- }
200
- if (t._status === 1) return t._result.default;
201
- throw t._result;
202
- }
203
- var P = typeof reportError == "function" ? reportError : function(t) {
204
- if (typeof window == "object" && typeof window.ErrorEvent == "function") {
205
- var e = new window.ErrorEvent("error", {
206
- bubbles: !0,
207
- cancelable: !0,
208
- message: typeof t == "object" && t !== null && typeof t.message == "string" ? String(t.message) : String(t),
209
- error: t
210
- });
211
- if (!window.dispatchEvent(e)) return;
212
- } else if (typeof process == "object" && typeof process.emit == "function") {
213
- process.emit("uncaughtException", t);
214
- return;
215
- }
216
- console.error(t);
217
- };
218
- function B() {
219
- }
220
- return o.Children = {
221
- map: l,
222
- forEach: function(t, e, n) {
223
- l(
224
- t,
225
- function() {
226
- e.apply(this, arguments);
227
- },
228
- n
229
- );
230
- },
231
- count: function(t) {
232
- var e = 0;
233
- return l(t, function() {
234
- e++;
235
- }), e;
236
- },
237
- toArray: function(t) {
238
- return l(t, function(e) {
239
- return e;
240
- }) || [];
241
- },
242
- only: function(t) {
243
- if (!T(t))
244
- throw Error(
245
- "React.Children.only expected to receive a single React element child."
246
- );
247
- return t;
248
- }
249
- }, o.Component = _, o.Fragment = M, o.Profiler = I, o.PureComponent = y, o.StrictMode = Y, o.Suspense = x, o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i, o.__COMPILER_RUNTIME = {
250
- __proto__: null,
251
- c: function(t) {
252
- return i.H.useMemoCache(t);
253
- }
254
- }, o.cache = function(t) {
255
- return function() {
256
- return t.apply(null, arguments);
257
- };
258
- }, o.cloneElement = function(t, e, n) {
259
- if (t == null)
260
- throw Error(
261
- "The argument must be a React element, but you passed " + t + "."
262
- );
263
- var r = A({}, t.props), s = t.key, f = void 0;
264
- if (e != null)
265
- for (u in e.ref !== void 0 && (f = void 0), e.key !== void 0 && (s = "" + e.key), e)
266
- !O.call(e, u) || u === "key" || u === "__self" || u === "__source" || u === "ref" && e.ref === void 0 || (r[u] = e[u]);
267
- var u = arguments.length - 2;
268
- if (u === 1) r.children = n;
269
- else if (1 < u) {
270
- for (var p = Array(u), c = 0; c < u; c++)
271
- p[c] = arguments[c + 2];
272
- r.children = p;
273
- }
274
- return R(t.type, s, void 0, void 0, f, r);
275
- }, o.createContext = function(t) {
276
- return t = {
277
- $$typeof: U,
278
- _currentValue: t,
279
- _currentValue2: t,
280
- _threadCount: 0,
281
- Provider: null,
282
- Consumer: null
283
- }, t.Provider = t, t.Consumer = {
284
- $$typeof: L,
285
- _context: t
286
- }, t;
287
- }, o.createElement = function(t, e, n) {
288
- var r, s = {}, f = null;
289
- if (e != null)
290
- for (r in e.key !== void 0 && (f = "" + e.key), e)
291
- O.call(e, r) && r !== "key" && r !== "__self" && r !== "__source" && (s[r] = e[r]);
292
- var u = arguments.length - 2;
293
- if (u === 1) s.children = n;
294
- else if (1 < u) {
295
- for (var p = Array(u), c = 0; c < u; c++)
296
- p[c] = arguments[c + 2];
297
- s.children = p;
298
- }
299
- if (t && t.defaultProps)
300
- for (r in u = t.defaultProps, u)
301
- s[r] === void 0 && (s[r] = u[r]);
302
- return R(t, f, void 0, void 0, null, s);
303
- }, o.createRef = function() {
304
- return { current: null };
305
- }, o.forwardRef = function(t) {
306
- return { $$typeof: k, render: t };
307
- }, o.isValidElement = T, o.lazy = function(t) {
308
- return {
309
- $$typeof: d,
310
- _payload: { _status: -1, _result: t },
311
- _init: K
312
- };
313
- }, o.memo = function(t, e) {
314
- return {
315
- $$typeof: b,
316
- type: t,
317
- compare: e === void 0 ? null : e
318
- };
319
- }, o.startTransition = function(t) {
320
- var e = i.T, n = {};
321
- i.T = n;
322
- try {
323
- var r = t(), s = i.S;
324
- s !== null && s(n, r), typeof r == "object" && r !== null && typeof r.then == "function" && r.then(B, P);
325
- } catch (f) {
326
- P(f);
327
- } finally {
328
- i.T = e;
329
- }
330
- }, o.unstable_useCacheRefresh = function() {
331
- return i.H.useCacheRefresh();
332
- }, o.use = function(t) {
333
- return i.H.use(t);
334
- }, o.useActionState = function(t, e, n) {
335
- return i.H.useActionState(t, e, n);
336
- }, o.useCallback = function(t, e) {
337
- return i.H.useCallback(t, e);
338
- }, o.useContext = function(t) {
339
- return i.H.useContext(t);
340
- }, o.useDebugValue = function() {
341
- }, o.useDeferredValue = function(t, e) {
342
- return i.H.useDeferredValue(t, e);
343
- }, o.useEffect = function(t, e, n) {
344
- var r = i.H;
345
- if (typeof n == "function")
346
- throw Error(
347
- "useEffect CRUD overload is not enabled in this build of React."
348
- );
349
- return r.useEffect(t, e);
350
- }, o.useId = function() {
351
- return i.H.useId();
352
- }, o.useImperativeHandle = function(t, e, n) {
353
- return i.H.useImperativeHandle(t, e, n);
354
- }, o.useInsertionEffect = function(t, e) {
355
- return i.H.useInsertionEffect(t, e);
356
- }, o.useLayoutEffect = function(t, e) {
357
- return i.H.useLayoutEffect(t, e);
358
- }, o.useMemo = function(t, e) {
359
- return i.H.useMemo(t, e);
360
- }, o.useOptimistic = function(t, e) {
361
- return i.H.useOptimistic(t, e);
362
- }, o.useReducer = function(t, e, n) {
363
- return i.H.useReducer(t, e, n);
364
- }, o.useRef = function(t) {
365
- return i.H.useRef(t);
366
- }, o.useState = function(t) {
367
- return i.H.useState(t);
368
- }, o.useSyncExternalStore = function(t, e, n) {
369
- return i.H.useSyncExternalStore(
370
- t,
371
- e,
372
- n
373
- );
374
- }, o.useTransition = function() {
375
- return i.H.useTransition();
376
- }, o.version = "19.1.2", o;
377
- }
1
+ var e = { exports: {} };
378
2
  export {
379
- X as __require
3
+ e as __module
380
4
  };