@lukso/web-components 1.171.2 → 1.172.14

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 (555) hide show
  1. package/dist/chunks/cn-LM_JlZIN.js +36 -0
  2. package/dist/chunks/cn-zamUNFMe.js +39 -0
  3. package/dist/chunks/directive-CY66atYi.js +22 -0
  4. package/dist/chunks/directive-DUHAbymA.js +15 -0
  5. package/dist/chunks/index-BNt_JinF.js +212 -0
  6. package/dist/{index-D0nCA-7X.cjs → chunks/index-BOEPqh0N.js} +1 -1
  7. package/dist/{index-F8ll4iy2.js → chunks/index-C5S-_QDF.js} +1 -1
  8. package/dist/{index-DjH11fPx.js → chunks/index-CA6SrfZ-.js} +10 -8
  9. package/dist/{index-Cgi00Tgl.js → chunks/index-CqZm8OfY.js} +1 -2
  10. package/dist/chunks/index-Cy2_2lFt.js +214 -0
  11. package/dist/{index-CC4JDQ8G.js → chunks/index-Ds-r8fCt.js} +85 -81
  12. package/dist/{index-DWXaNepK.cjs → chunks/index-DvLZWpq9.js} +2 -3
  13. package/dist/{index-CF7OqmeH.cjs → chunks/index-UVrFZqIM.js} +88 -84
  14. package/dist/{index-CptAIlsO.cjs → chunks/index-cakeic-M.js} +10 -8
  15. package/dist/chunks/safe-custom-element-qdGIR_v6.js +10 -0
  16. package/dist/chunks/safe-custom-element-tQ-epw6h.js +12 -0
  17. package/dist/{style-map-Bsh7bGbD.cjs → chunks/style-map-AEeBQfPb.js} +2 -3
  18. package/dist/{style-map-fND-mbdR.js → chunks/style-map-auscxO0L.js} +1 -2
  19. package/dist/components/index.cjs +6 -16
  20. package/dist/components/index.d.ts +0 -1
  21. package/dist/components/index.d.ts.map +1 -1
  22. package/dist/components/index.js +4 -6
  23. package/dist/components/lukso-alert/index.cjs +17 -15
  24. package/dist/components/lukso-alert/index.js +17 -15
  25. package/dist/components/lukso-button/index.cjs +70 -68
  26. package/dist/components/lukso-button/index.d.ts +1 -1
  27. package/dist/components/lukso-button/index.d.ts.map +1 -1
  28. package/dist/components/lukso-button/index.js +66 -66
  29. package/dist/components/lukso-button/lukso-button.stories.d.ts.map +1 -1
  30. package/dist/components/lukso-card/index.cjs +67 -71
  31. package/dist/components/lukso-card/index.js +49 -53
  32. package/dist/components/lukso-checkbox/index.cjs +28 -26
  33. package/dist/components/lukso-checkbox/index.js +28 -26
  34. package/dist/components/lukso-collapse/index.cjs +28 -26
  35. package/dist/components/lukso-collapse/index.js +27 -25
  36. package/dist/components/lukso-color-picker/index.cjs +34 -31
  37. package/dist/components/lukso-color-picker/index.js +33 -30
  38. package/dist/components/lukso-dropdown/index.cjs +22 -20
  39. package/dist/components/lukso-dropdown/index.js +22 -20
  40. package/dist/components/lukso-dropdown-option/index.cjs +13 -11
  41. package/dist/components/lukso-dropdown-option/index.js +13 -11
  42. package/dist/components/lukso-footer/index.cjs +6 -4
  43. package/dist/components/lukso-footer/index.js +6 -4
  44. package/dist/components/lukso-form-description/index.cjs +8 -6
  45. package/dist/components/lukso-form-description/index.js +8 -6
  46. package/dist/components/lukso-form-error/index.cjs +8 -6
  47. package/dist/components/lukso-form-error/index.js +8 -6
  48. package/dist/components/lukso-form-label/index.cjs +9 -7
  49. package/dist/components/lukso-form-label/index.js +9 -7
  50. package/dist/components/lukso-icon/index.cjs +270 -268
  51. package/dist/components/lukso-icon/index.js +270 -268
  52. package/dist/components/lukso-image/index.cjs +13 -12
  53. package/dist/components/lukso-image/index.js +13 -12
  54. package/dist/components/lukso-input/index.cjs +50 -47
  55. package/dist/components/lukso-input/index.js +49 -46
  56. package/dist/components/lukso-markdown/index.cjs +14 -83
  57. package/dist/components/lukso-markdown/index.js +14 -83
  58. package/dist/components/lukso-markdown-editor/index.cjs +69 -67
  59. package/dist/components/lukso-markdown-editor/index.js +68 -66
  60. package/dist/components/lukso-modal/index.cjs +25 -24
  61. package/dist/components/lukso-modal/index.d.ts +3 -2
  62. package/dist/components/lukso-modal/index.d.ts.map +1 -1
  63. package/dist/components/lukso-modal/index.js +23 -24
  64. package/dist/components/lukso-modal/lukso-modal.stories.d.ts.map +1 -1
  65. package/dist/components/lukso-navbar/index.cjs +31 -30
  66. package/dist/components/lukso-navbar/index.js +31 -30
  67. package/dist/components/lukso-pagination/index.cjs +17 -16
  68. package/dist/components/lukso-pagination/index.js +17 -16
  69. package/dist/components/lukso-profile/index.cjs +162 -10
  70. package/dist/components/lukso-profile/index.js +165 -4
  71. package/dist/components/lukso-progress/index.cjs +17 -13
  72. package/dist/components/lukso-progress/index.js +14 -10
  73. package/dist/components/lukso-qr-code/index.cjs +18 -34
  74. package/dist/components/lukso-qr-code/index.js +17 -33
  75. package/dist/components/lukso-radio/index.cjs +28 -25
  76. package/dist/components/lukso-radio/index.js +26 -23
  77. package/dist/components/lukso-radio-group/index.cjs +10 -9
  78. package/dist/components/lukso-radio-group/index.js +10 -9
  79. package/dist/components/lukso-sanitize/index.cjs +6 -4
  80. package/dist/components/lukso-sanitize/index.js +6 -4
  81. package/dist/components/lukso-search/index.cjs +13 -9
  82. package/dist/components/lukso-search/index.js +13 -9
  83. package/dist/components/lukso-select/index.cjs +49 -47
  84. package/dist/components/lukso-select/index.js +48 -46
  85. package/dist/components/lukso-share/index.cjs +8 -6
  86. package/dist/components/lukso-share/index.js +8 -6
  87. package/dist/components/lukso-switch/index.cjs +18 -16
  88. package/dist/components/lukso-switch/index.js +18 -16
  89. package/dist/components/lukso-tag/index.cjs +14 -12
  90. package/dist/components/lukso-tag/index.js +13 -11
  91. package/dist/components/lukso-terms/index.cjs +10 -8
  92. package/dist/components/lukso-terms/index.js +10 -8
  93. package/dist/components/lukso-textarea/index.cjs +37 -34
  94. package/dist/components/lukso-textarea/index.js +36 -33
  95. package/dist/components/lukso-tooltip/index.cjs +28 -3461
  96. package/dist/components/lukso-tooltip/index.js +28 -3461
  97. package/dist/components/lukso-username/index.cjs +12 -7
  98. package/dist/components/lukso-username/index.js +12 -7
  99. package/dist/components/lukso-wizard/index.cjs +14 -12
  100. package/dist/components/lukso-wizard/index.js +12 -10
  101. package/dist/index.cjs +8 -17
  102. package/dist/index.js +5 -6
  103. package/dist/shared/tailwind-element/index.cjs +15 -3
  104. package/dist/shared/tailwind-element/index.js +17 -1
  105. package/dist/vite.full.config.d.ts.map +1 -1
  106. package/package.json +290 -279
  107. package/tailwind.config.cjs +1 -0
  108. package/dist/_commonjsHelpers-B85MJLTf.js +0 -5
  109. package/dist/_commonjsHelpers-CFO10eej.cjs +0 -7
  110. package/dist/axe-BK9JSROP.js +0 -35093
  111. package/dist/axe-C-H1UVi1.cjs +0 -35097
  112. package/dist/base-Cl6v8-BZ.js +0 -8
  113. package/dist/base-NFGX42U4.cjs +0 -10
  114. package/dist/directive-BKuZRRPO.js +0 -8
  115. package/dist/directive-DT5Y-Nw0.cjs +0 -12
  116. package/dist/index--lLKpFka.js +0 -1344
  117. package/dist/index-B9iart53.js +0 -2545
  118. package/dist/index-BubNMsN-.js +0 -608
  119. package/dist/index-C0f78WvR.cjs +0 -610
  120. package/dist/index-CQo4gGTi.cjs +0 -50
  121. package/dist/index-CaJky2qL.cjs +0 -2547
  122. package/dist/index-D4_r_sqt.cjs +0 -1346
  123. package/dist/index-DUvJL4Yz.js +0 -41
  124. package/dist/isAddress-DYM3mZP7.cjs +0 -833
  125. package/dist/isAddress-ZNhN82OL.js +0 -831
  126. package/dist/query-CHb9Ft_d.js +0 -9
  127. package/dist/query-EFiHeHdi.cjs +0 -11
  128. package/dist/safe-custom-element-B49fAUL7.js +0 -18
  129. package/dist/safe-custom-element-DRyGbLN8.cjs +0 -21
  130. package/dist/state-BR0gwm98.js +0 -9
  131. package/dist/state-Dte59Cra.cjs +0 -11
  132. package/dist/unsafe-html-B9WyMkeu.js +0 -10
  133. package/dist/unsafe-html-DBahNVEu.cjs +0 -12
  134. /package/dist/{add-B--ZbV4O.cjs → chunks/add-B--ZbV4O.js} +0 -0
  135. /package/dist/{add-B8haxtAr.cjs → chunks/add-B8haxtAr.js} +0 -0
  136. /package/dist/{add-BMW2Bij-.cjs → chunks/add-BMW2Bij-.js} +0 -0
  137. /package/dist/{add-BZlJRhpZ.cjs → chunks/add-BZlJRhpZ.js} +0 -0
  138. /package/dist/{add-Bms1t1Lr.js → chunks/add-Bms1t1Lr.js} +0 -0
  139. /package/dist/{add-CGEIKo3I.cjs → chunks/add-CGEIKo3I.js} +0 -0
  140. /package/dist/{add-CbSpAgHT.js → chunks/add-CbSpAgHT.js} +0 -0
  141. /package/dist/{add-DWAmoxRW.cjs → chunks/add-DWAmoxRW.js} +0 -0
  142. /package/dist/{add-DxSCGBjD.js → chunks/add-DxSCGBjD.js} +0 -0
  143. /package/dist/{add-Dxv8tEUm.js → chunks/add-Dxv8tEUm.js} +0 -0
  144. /package/dist/{add-DzvbYMpx.js → chunks/add-DzvbYMpx.js} +0 -0
  145. /package/dist/{add-circle-9l-CxMsN.cjs → chunks/add-circle-9l-CxMsN.js} +0 -0
  146. /package/dist/{add-circle-BQjGGTJr.js → chunks/add-circle-BQjGGTJr.js} +0 -0
  147. /package/dist/{add-circle-Bz3Y4QI7.js → chunks/add-circle-Bz3Y4QI7.js} +0 -0
  148. /package/dist/{add-circle-C5X8QBBW.cjs → chunks/add-circle-C5X8QBBW.js} +0 -0
  149. /package/dist/{add-circle-CZSTsKQR.js → chunks/add-circle-CZSTsKQR.js} +0 -0
  150. /package/dist/{add-circle-ClSv4n6V.cjs → chunks/add-circle-ClSv4n6V.js} +0 -0
  151. /package/dist/{add-circle-CtHFxNIE.js → chunks/add-circle-CtHFxNIE.js} +0 -0
  152. /package/dist/{add-circle-DGt91woB.js → chunks/add-circle-DGt91woB.js} +0 -0
  153. /package/dist/{add-circle-DJam8zDB.cjs → chunks/add-circle-DJam8zDB.js} +0 -0
  154. /package/dist/{add-circle-DSuCFqyy.cjs → chunks/add-circle-DSuCFqyy.js} +0 -0
  155. /package/dist/{add-circle-D_S9YFr9.js → chunks/add-circle-D_S9YFr9.js} +0 -0
  156. /package/dist/{add-circle-DvWjrYha.cjs → chunks/add-circle-DvWjrYha.js} +0 -0
  157. /package/dist/{add-qN9qXvHm.js → chunks/add-qN9qXvHm.js} +0 -0
  158. /package/dist/{add-square-7CHf34ee.cjs → chunks/add-square-7CHf34ee.js} +0 -0
  159. /package/dist/{add-square-BCJEGKsL.cjs → chunks/add-square-BCJEGKsL.js} +0 -0
  160. /package/dist/{add-square-BEep9HcK.js → chunks/add-square-BEep9HcK.js} +0 -0
  161. /package/dist/{add-square-BQ3k5H9J.cjs → chunks/add-square-BQ3k5H9J.js} +0 -0
  162. /package/dist/{add-square-Bjc528mL.js → chunks/add-square-Bjc528mL.js} +0 -0
  163. /package/dist/{add-square-CAMpqT5W.cjs → chunks/add-square-CAMpqT5W.js} +0 -0
  164. /package/dist/{add-square-CGrEdv07.js → chunks/add-square-CGrEdv07.js} +0 -0
  165. /package/dist/{add-square-CjJimcC7.cjs → chunks/add-square-CjJimcC7.js} +0 -0
  166. /package/dist/{add-square-CpWTUYPz.js → chunks/add-square-CpWTUYPz.js} +0 -0
  167. /package/dist/{add-square-DhkDywTs.js → chunks/add-square-DhkDywTs.js} +0 -0
  168. /package/dist/{add-square-DxiXdSez.cjs → chunks/add-square-DxiXdSez.js} +0 -0
  169. /package/dist/{add-square-jZc4kdw7.js → chunks/add-square-jZc4kdw7.js} +0 -0
  170. /package/dist/{attach-square-BDYuLWN1.js → chunks/attach-square-BDYuLWN1.js} +0 -0
  171. /package/dist/{attach-square-BEkoBfpV.js → chunks/attach-square-BEkoBfpV.js} +0 -0
  172. /package/dist/{attach-square-BF4bK2lN.cjs → chunks/attach-square-BF4bK2lN.js} +0 -0
  173. /package/dist/{attach-square-B_oIBENK.js → chunks/attach-square-B_oIBENK.js} +0 -0
  174. /package/dist/{attach-square-CMjY_cQG.cjs → chunks/attach-square-CMjY_cQG.js} +0 -0
  175. /package/dist/{attach-square-CPsLNqIT.cjs → chunks/attach-square-CPsLNqIT.js} +0 -0
  176. /package/dist/{attach-square-Ch9_iq5a.js → chunks/attach-square-Ch9_iq5a.js} +0 -0
  177. /package/dist/{attach-square-D0YgLg2d.cjs → chunks/attach-square-D0YgLg2d.js} +0 -0
  178. /package/dist/{attach-square-DGJ30O7H.js → chunks/attach-square-DGJ30O7H.js} +0 -0
  179. /package/dist/{attach-square-DHjVapDw.cjs → chunks/attach-square-DHjVapDw.js} +0 -0
  180. /package/dist/{attach-square-Dtfj1Edy.js → chunks/attach-square-Dtfj1Edy.js} +0 -0
  181. /package/dist/{attach-square-nLmVYCe2.cjs → chunks/attach-square-nLmVYCe2.js} +0 -0
  182. /package/dist/{buy-crypto-B2lD7UwQ.cjs → chunks/buy-crypto-B2lD7UwQ.js} +0 -0
  183. /package/dist/{buy-crypto-BO_SEu5h.js → chunks/buy-crypto-BO_SEu5h.js} +0 -0
  184. /package/dist/{buy-crypto-BoEnHO_y.cjs → chunks/buy-crypto-BoEnHO_y.js} +0 -0
  185. /package/dist/{buy-crypto-CYN3BAez.cjs → chunks/buy-crypto-CYN3BAez.js} +0 -0
  186. /package/dist/{buy-crypto-Cwle-QhV.cjs → chunks/buy-crypto-Cwle-QhV.js} +0 -0
  187. /package/dist/{buy-crypto-D7-dupti.js → chunks/buy-crypto-D7-dupti.js} +0 -0
  188. /package/dist/{buy-crypto-DJdoQgnu.cjs → chunks/buy-crypto-DJdoQgnu.js} +0 -0
  189. /package/dist/{buy-crypto-DaKjNga_.js → chunks/buy-crypto-DaKjNga_.js} +0 -0
  190. /package/dist/{buy-crypto-Du3ATyw8.js → chunks/buy-crypto-Du3ATyw8.js} +0 -0
  191. /package/dist/{buy-crypto-WRjeb_sI.js → chunks/buy-crypto-WRjeb_sI.js} +0 -0
  192. /package/dist/{buy-crypto-YVUo2wH1.cjs → chunks/buy-crypto-YVUo2wH1.js} +0 -0
  193. /package/dist/{buy-crypto-xBVBSgbg.js → chunks/buy-crypto-xBVBSgbg.js} +0 -0
  194. /package/dist/{close-circle-0d5DVUGo.js → chunks/close-circle-0d5DVUGo.js} +0 -0
  195. /package/dist/{close-circle-B0lQ5WU5.js → chunks/close-circle-B0lQ5WU5.js} +0 -0
  196. /package/dist/{close-circle-B4IqXNXm.js → chunks/close-circle-B4IqXNXm.js} +0 -0
  197. /package/dist/{close-circle-BEGzJ1HM.cjs → chunks/close-circle-BEGzJ1HM.js} +0 -0
  198. /package/dist/{close-circle-Cwx0b5lp.cjs → chunks/close-circle-Cwx0b5lp.js} +0 -0
  199. /package/dist/{close-circle-D1cH-0oJ.js → chunks/close-circle-D1cH-0oJ.js} +0 -0
  200. /package/dist/{close-circle-DEM7PaqP.cjs → chunks/close-circle-DEM7PaqP.js} +0 -0
  201. /package/dist/{close-circle-DKC2wH7e.cjs → chunks/close-circle-DKC2wH7e.js} +0 -0
  202. /package/dist/{close-circle-DLdzizCF.cjs → chunks/close-circle-DLdzizCF.js} +0 -0
  203. /package/dist/{close-circle-DOAztdSv.js → chunks/close-circle-DOAztdSv.js} +0 -0
  204. /package/dist/{close-circle-DQAsrBFU.cjs → chunks/close-circle-DQAsrBFU.js} +0 -0
  205. /package/dist/{close-circle-gnTKz8qg.js → chunks/close-circle-gnTKz8qg.js} +0 -0
  206. /package/dist/{close-square-BeaRx-R3.js → chunks/close-square-BeaRx-R3.js} +0 -0
  207. /package/dist/{close-square-Bgbpe-Rb.js → chunks/close-square-Bgbpe-Rb.js} +0 -0
  208. /package/dist/{close-square-Bl5JtmsE.cjs → chunks/close-square-Bl5JtmsE.js} +0 -0
  209. /package/dist/{close-square-BpqbwDYV.js → chunks/close-square-BpqbwDYV.js} +0 -0
  210. /package/dist/{close-square-Bvc743jq.cjs → chunks/close-square-Bvc743jq.js} +0 -0
  211. /package/dist/{close-square-Cbvknyw7.cjs → chunks/close-square-Cbvknyw7.js} +0 -0
  212. /package/dist/{close-square-CfUUq0oj.js → chunks/close-square-CfUUq0oj.js} +0 -0
  213. /package/dist/{close-square-DHgut7I-.cjs → chunks/close-square-DHgut7I-.js} +0 -0
  214. /package/dist/{close-square-DVGmbOJ0.js → chunks/close-square-DVGmbOJ0.js} +0 -0
  215. /package/dist/{close-square-DdPHu5Jm.js → chunks/close-square-DdPHu5Jm.js} +0 -0
  216. /package/dist/{close-square-DnYt2XiH.cjs → chunks/close-square-DnYt2XiH.js} +0 -0
  217. /package/dist/{close-square-xjRp8BTq.cjs → chunks/close-square-xjRp8BTq.js} +0 -0
  218. /package/dist/{danger-BJdULh6Z.cjs → chunks/danger-BJdULh6Z.js} +0 -0
  219. /package/dist/{danger-BTIz23In.js → chunks/danger-BTIz23In.js} +0 -0
  220. /package/dist/{danger-BrjbvZiM.cjs → chunks/danger-BrjbvZiM.js} +0 -0
  221. /package/dist/{danger-Bx32gN5U.js → chunks/danger-Bx32gN5U.js} +0 -0
  222. /package/dist/{danger-CAX8lJKX.js → chunks/danger-CAX8lJKX.js} +0 -0
  223. /package/dist/{danger-CVcAvOXB.cjs → chunks/danger-CVcAvOXB.js} +0 -0
  224. /package/dist/{danger-CaWRrPCf.cjs → chunks/danger-CaWRrPCf.js} +0 -0
  225. /package/dist/{danger-DWQKUt-Q.cjs → chunks/danger-DWQKUt-Q.js} +0 -0
  226. /package/dist/{danger-DzUo5c-V.js → chunks/danger-DzUo5c-V.js} +0 -0
  227. /package/dist/{danger-K7iKJ6Hj.js → chunks/danger-K7iKJ6Hj.js} +0 -0
  228. /package/dist/{danger-nL3XSMXA.js → chunks/danger-nL3XSMXA.js} +0 -0
  229. /package/dist/{danger-wTJsMBEI.cjs → chunks/danger-wTJsMBEI.js} +0 -0
  230. /package/dist/{element-3-BDqsOdTs.cjs → chunks/element-3-BDqsOdTs.js} +0 -0
  231. /package/dist/{element-3-BLa3Fw8C.cjs → chunks/element-3-BLa3Fw8C.js} +0 -0
  232. /package/dist/{element-3-B_uwUAge.cjs → chunks/element-3-B_uwUAge.js} +0 -0
  233. /package/dist/{element-3-BoNJBDqp.js → chunks/element-3-BoNJBDqp.js} +0 -0
  234. /package/dist/{element-3-C73hLVc7.js → chunks/element-3-C73hLVc7.js} +0 -0
  235. /package/dist/{element-3-CPX7vOz_.cjs → chunks/element-3-CPX7vOz_.js} +0 -0
  236. /package/dist/{element-3-DdeKipa7.js → chunks/element-3-DdeKipa7.js} +0 -0
  237. /package/dist/{element-3-Dsa3aFFy.js → chunks/element-3-Dsa3aFFy.js} +0 -0
  238. /package/dist/{element-3-S8sDNtwv.cjs → chunks/element-3-S8sDNtwv.js} +0 -0
  239. /package/dist/{element-3-YhkV61N8.cjs → chunks/element-3-YhkV61N8.js} +0 -0
  240. /package/dist/{element-3-nzEm__Rv.js → chunks/element-3-nzEm__Rv.js} +0 -0
  241. /package/dist/{element-3-yr3hzzck.js → chunks/element-3-yr3hzzck.js} +0 -0
  242. /package/dist/{eye-BGOT4dkg.cjs → chunks/eye-BGOT4dkg.js} +0 -0
  243. /package/dist/{eye-BJFvKUDu.cjs → chunks/eye-BJFvKUDu.js} +0 -0
  244. /package/dist/{eye-BRB1atdh.js → chunks/eye-BRB1atdh.js} +0 -0
  245. /package/dist/{eye-Bf4VFl7a.js → chunks/eye-Bf4VFl7a.js} +0 -0
  246. /package/dist/{eye-CC9LXMQ1.js → chunks/eye-CC9LXMQ1.js} +0 -0
  247. /package/dist/{eye-CK1M03ez.cjs → chunks/eye-CK1M03ez.js} +0 -0
  248. /package/dist/{eye-CXBFLyYh.cjs → chunks/eye-CXBFLyYh.js} +0 -0
  249. /package/dist/{eye-CcM-Nmq0.js → chunks/eye-CcM-Nmq0.js} +0 -0
  250. /package/dist/{eye-DP4zhXsm.cjs → chunks/eye-DP4zhXsm.js} +0 -0
  251. /package/dist/{eye-DaGlp3S9.js → chunks/eye-DaGlp3S9.js} +0 -0
  252. /package/dist/{eye-slash-4QawqpXV.js → chunks/eye-slash-4QawqpXV.js} +0 -0
  253. /package/dist/{eye-slash-5K5tDUZr.cjs → chunks/eye-slash-5K5tDUZr.js} +0 -0
  254. /package/dist/{eye-slash-BnjvF1ME.cjs → chunks/eye-slash-BnjvF1ME.js} +0 -0
  255. /package/dist/{eye-slash-BxKMkFDP.js → chunks/eye-slash-BxKMkFDP.js} +0 -0
  256. /package/dist/{eye-slash-CZVpq_gN.cjs → chunks/eye-slash-CZVpq_gN.js} +0 -0
  257. /package/dist/{eye-slash-Chha_f6F.js → chunks/eye-slash-Chha_f6F.js} +0 -0
  258. /package/dist/{eye-slash-CzBrFoLA.js → chunks/eye-slash-CzBrFoLA.js} +0 -0
  259. /package/dist/{eye-slash-DD4uAbjM.cjs → chunks/eye-slash-DD4uAbjM.js} +0 -0
  260. /package/dist/{eye-slash-DGM6ST4a.js → chunks/eye-slash-DGM6ST4a.js} +0 -0
  261. /package/dist/{eye-slash-DaVNSGPe.cjs → chunks/eye-slash-DaVNSGPe.js} +0 -0
  262. /package/dist/{eye-slash-iagfBjcI.cjs → chunks/eye-slash-iagfBjcI.js} +0 -0
  263. /package/dist/{eye-slash-j5X2mtyc.js → chunks/eye-slash-j5X2mtyc.js} +0 -0
  264. /package/dist/{flash-By-nb1yZ.cjs → chunks/flash-By-nb1yZ.js} +0 -0
  265. /package/dist/{flash-CH18tlI8.cjs → chunks/flash-CH18tlI8.js} +0 -0
  266. /package/dist/{flash-CImmbyq_.js → chunks/flash-CImmbyq_.js} +0 -0
  267. /package/dist/{flash-Cy-uF5pi.cjs → chunks/flash-Cy-uF5pi.js} +0 -0
  268. /package/dist/{flash-DHUvCDyx.js → chunks/flash-DHUvCDyx.js} +0 -0
  269. /package/dist/{flash-DX_C1GdP.js → chunks/flash-DX_C1GdP.js} +0 -0
  270. /package/dist/{flash-Dno8J4JT.js → chunks/flash-Dno8J4JT.js} +0 -0
  271. /package/dist/{flash-IFst8Ipi.js → chunks/flash-IFst8Ipi.js} +0 -0
  272. /package/dist/{flash-NI73RUka.cjs → chunks/flash-NI73RUka.js} +0 -0
  273. /package/dist/{flash-XfQDpuaG.cjs → chunks/flash-XfQDpuaG.js} +0 -0
  274. /package/dist/{flash-ZHhka8Oo.cjs → chunks/flash-ZHhka8Oo.js} +0 -0
  275. /package/dist/{flash-ayX6IKB0.js → chunks/flash-ayX6IKB0.js} +0 -0
  276. /package/dist/{frame-BcRKV975.js → chunks/frame-BcRKV975.js} +0 -0
  277. /package/dist/{frame-CHLzNIw4.cjs → chunks/frame-CHLzNIw4.js} +0 -0
  278. /package/dist/{gallery-0fheQOYq.js → chunks/gallery-0fheQOYq.js} +0 -0
  279. /package/dist/{gallery-B4t7C9Jf.cjs → chunks/gallery-B4t7C9Jf.js} +0 -0
  280. /package/dist/{gallery-BCpw4T1-.cjs → chunks/gallery-BCpw4T1-.js} +0 -0
  281. /package/dist/{gallery-CF8Dofw0.cjs → chunks/gallery-CF8Dofw0.js} +0 -0
  282. /package/dist/{gallery-CagXRqNB.js → chunks/gallery-CagXRqNB.js} +0 -0
  283. /package/dist/{gallery-CdGDxVhM.cjs → chunks/gallery-CdGDxVhM.js} +0 -0
  284. /package/dist/{gallery-D9nPGi9m.cjs → chunks/gallery-D9nPGi9m.js} +0 -0
  285. /package/dist/{gallery-DfKRzQbP.js → chunks/gallery-DfKRzQbP.js} +0 -0
  286. /package/dist/{gallery-DgjR4hza.js → chunks/gallery-DgjR4hza.js} +0 -0
  287. /package/dist/{gallery-DiipqL2j.cjs → chunks/gallery-DiipqL2j.js} +0 -0
  288. /package/dist/{gallery-St0nMTLD.js → chunks/gallery-St0nMTLD.js} +0 -0
  289. /package/dist/{gallery-rn6RSmVV.js → chunks/gallery-rn6RSmVV.js} +0 -0
  290. /package/dist/{grid-1-2nFV93EB.js → chunks/grid-1-2nFV93EB.js} +0 -0
  291. /package/dist/{grid-1-Baoacxrq.cjs → chunks/grid-1-Baoacxrq.js} +0 -0
  292. /package/dist/{grid-1-BlCKb_LV.js → chunks/grid-1-BlCKb_LV.js} +0 -0
  293. /package/dist/{grid-1-CLV2XKu_.js → chunks/grid-1-CLV2XKu_.js} +0 -0
  294. /package/dist/{grid-1-CMerB-h1.cjs → chunks/grid-1-CMerB-h1.js} +0 -0
  295. /package/dist/{grid-1-CbT37dAh.js → chunks/grid-1-CbT37dAh.js} +0 -0
  296. /package/dist/{grid-1-DF2Mn097.cjs → chunks/grid-1-DF2Mn097.js} +0 -0
  297. /package/dist/{grid-1-DHV1_esU.js → chunks/grid-1-DHV1_esU.js} +0 -0
  298. /package/dist/{grid-1-PXJ9qJA5.js → chunks/grid-1-PXJ9qJA5.js} +0 -0
  299. /package/dist/{grid-1-d8nUwYIQ.cjs → chunks/grid-1-d8nUwYIQ.js} +0 -0
  300. /package/dist/{grid-1-lJFmBO2n.cjs → chunks/grid-1-lJFmBO2n.js} +0 -0
  301. /package/dist/{grid-1-qkwEtBfE.cjs → chunks/grid-1-qkwEtBfE.js} +0 -0
  302. /package/dist/{grid-2-0nHeFZzu.cjs → chunks/grid-2-0nHeFZzu.js} +0 -0
  303. /package/dist/{grid-2-B1kT57-Q.cjs → chunks/grid-2-B1kT57-Q.js} +0 -0
  304. /package/dist/{grid-2-BFtHrjhC.cjs → chunks/grid-2-BFtHrjhC.js} +0 -0
  305. /package/dist/{grid-2-BkIkGXa_.js → chunks/grid-2-BkIkGXa_.js} +0 -0
  306. /package/dist/{grid-2-C2OQfTfW.cjs → chunks/grid-2-C2OQfTfW.js} +0 -0
  307. /package/dist/{grid-2-CRR2dSRR.js → chunks/grid-2-CRR2dSRR.js} +0 -0
  308. /package/dist/{grid-2-Cc7nLy-d.cjs → chunks/grid-2-Cc7nLy-d.js} +0 -0
  309. /package/dist/{grid-2-D4GQdXkI.js → chunks/grid-2-D4GQdXkI.js} +0 -0
  310. /package/dist/{grid-2-DIA2Jyjl.js → chunks/grid-2-DIA2Jyjl.js} +0 -0
  311. /package/dist/{grid-2-Dka1tyBi.js → chunks/grid-2-Dka1tyBi.js} +0 -0
  312. /package/dist/{grid-2-Mk5eW_yV.cjs → chunks/grid-2-Mk5eW_yV.js} +0 -0
  313. /package/dist/{grid-2-lJuB51Te.js → chunks/grid-2-lJuB51Te.js} +0 -0
  314. /package/dist/{grid-3-B9jJKcuc.cjs → chunks/grid-3-B9jJKcuc.js} +0 -0
  315. /package/dist/{grid-3-BJtV6Fui.js → chunks/grid-3-BJtV6Fui.js} +0 -0
  316. /package/dist/{grid-3-BLRp5Kqd.js → chunks/grid-3-BLRp5Kqd.js} +0 -0
  317. /package/dist/{grid-3-BaTZ0DdR.cjs → chunks/grid-3-BaTZ0DdR.js} +0 -0
  318. /package/dist/{grid-3-BhG9vXW7.js → chunks/grid-3-BhG9vXW7.js} +0 -0
  319. /package/dist/{grid-3-Cb12p1Zb.cjs → chunks/grid-3-Cb12p1Zb.js} +0 -0
  320. /package/dist/{grid-3-CsQx4u-_.js → chunks/grid-3-CsQx4u-_.js} +0 -0
  321. /package/dist/{grid-3-DcqGdYFy.cjs → chunks/grid-3-DcqGdYFy.js} +0 -0
  322. /package/dist/{grid-3-Dr1KxfZX.js → chunks/grid-3-Dr1KxfZX.js} +0 -0
  323. /package/dist/{grid-3-DrWKKu9M.js → chunks/grid-3-DrWKKu9M.js} +0 -0
  324. /package/dist/{grid-3-Lb9oixKO.cjs → chunks/grid-3-Lb9oixKO.js} +0 -0
  325. /package/dist/{grid-3-v7girwOq.cjs → chunks/grid-3-v7girwOq.js} +0 -0
  326. /package/dist/{grid-edit-B7msOSsO.cjs → chunks/grid-edit-B7msOSsO.js} +0 -0
  327. /package/dist/{grid-edit-BStqG00A.js → chunks/grid-edit-BStqG00A.js} +0 -0
  328. /package/dist/{grid-edit-BUjOEbvH.cjs → chunks/grid-edit-BUjOEbvH.js} +0 -0
  329. /package/dist/{grid-edit-Bxtgdd5n.cjs → chunks/grid-edit-Bxtgdd5n.js} +0 -0
  330. /package/dist/{grid-edit-CQL_1mZM.cjs → chunks/grid-edit-CQL_1mZM.js} +0 -0
  331. /package/dist/{grid-edit-CZ51xDRR.js → chunks/grid-edit-CZ51xDRR.js} +0 -0
  332. /package/dist/{grid-edit-Cn07rsiC.js → chunks/grid-edit-Cn07rsiC.js} +0 -0
  333. /package/dist/{grid-edit-DvB7eEl0.cjs → chunks/grid-edit-DvB7eEl0.js} +0 -0
  334. /package/dist/{grid-edit-Dy3t8muv.js → chunks/grid-edit-Dy3t8muv.js} +0 -0
  335. /package/dist/{grid-edit-RMOiU5q8.cjs → chunks/grid-edit-RMOiU5q8.js} +0 -0
  336. /package/dist/{grid-edit-YvL5gNMc.js → chunks/grid-edit-YvL5gNMc.js} +0 -0
  337. /package/dist/{grid-edit-baK1pIq6.js → chunks/grid-edit-baK1pIq6.js} +0 -0
  338. /package/dist/{info-circle-6kOenfNC.js → chunks/info-circle-6kOenfNC.js} +0 -0
  339. /package/dist/{info-circle-B5N2xyfy.js → chunks/info-circle-B5N2xyfy.js} +0 -0
  340. /package/dist/{info-circle-C2Wz2r6o.cjs → chunks/info-circle-C2Wz2r6o.js} +0 -0
  341. /package/dist/{info-circle-COcPkuXZ.cjs → chunks/info-circle-COcPkuXZ.js} +0 -0
  342. /package/dist/{info-circle-CP93ILuj.cjs → chunks/info-circle-CP93ILuj.js} +0 -0
  343. /package/dist/{info-circle-CQk7i3Su.js → chunks/info-circle-CQk7i3Su.js} +0 -0
  344. /package/dist/{info-circle-DWF1Ef0o.cjs → chunks/info-circle-DWF1Ef0o.js} +0 -0
  345. /package/dist/{info-circle-DkfW8vAI.js → chunks/info-circle-DkfW8vAI.js} +0 -0
  346. /package/dist/{info-circle-DnyLsdiC.js → chunks/info-circle-DnyLsdiC.js} +0 -0
  347. /package/dist/{info-circle-U9SbQLWk.cjs → chunks/info-circle-U9SbQLWk.js} +0 -0
  348. /package/dist/{info-circle-_bVU3x_k.cjs → chunks/info-circle-_bVU3x_k.js} +0 -0
  349. /package/dist/{info-circle-aE0Oyezo.js → chunks/info-circle-aE0Oyezo.js} +0 -0
  350. /package/dist/{information-Bc0NnmJZ.cjs → chunks/information-Bc0NnmJZ.js} +0 -0
  351. /package/dist/{information-CaGJ_mM3.js → chunks/information-CaGJ_mM3.js} +0 -0
  352. /package/dist/{information-CwxlT-FJ.js → chunks/information-CwxlT-FJ.js} +0 -0
  353. /package/dist/{information-D8o3u538.cjs → chunks/information-D8o3u538.js} +0 -0
  354. /package/dist/{information-DRCq5fE5.cjs → chunks/information-DRCq5fE5.js} +0 -0
  355. /package/dist/{information-DgGDcc32.cjs → chunks/information-DgGDcc32.js} +0 -0
  356. /package/dist/{information-DjJvt2X4.cjs → chunks/information-DjJvt2X4.js} +0 -0
  357. /package/dist/{information-DnVVcwnJ.js → chunks/information-DnVVcwnJ.js} +0 -0
  358. /package/dist/{information-Xv5n2X1A.js → chunks/information-Xv5n2X1A.js} +0 -0
  359. /package/dist/{information-d8ZG6aaS.js → chunks/information-d8ZG6aaS.js} +0 -0
  360. /package/dist/{information-jYXEDed4.js → chunks/information-jYXEDed4.js} +0 -0
  361. /package/dist/{information-nwb7P4Ht.cjs → chunks/information-nwb7P4Ht.js} +0 -0
  362. /package/dist/{link-BWjOQDxe.js → chunks/link-BWjOQDxe.js} +0 -0
  363. /package/dist/{link-C248CAet.cjs → chunks/link-C248CAet.js} +0 -0
  364. /package/dist/{link-CaiWNqlz.cjs → chunks/link-CaiWNqlz.js} +0 -0
  365. /package/dist/{link-Ccxf5n-l.cjs → chunks/link-Ccxf5n-l.js} +0 -0
  366. /package/dist/{link-CrnK4TCj.js → chunks/link-CrnK4TCj.js} +0 -0
  367. /package/dist/{link-CtsNQupk.cjs → chunks/link-CtsNQupk.js} +0 -0
  368. /package/dist/{link-CxQZZHzv.js → chunks/link-CxQZZHzv.js} +0 -0
  369. /package/dist/{link-DCLn1IDs.cjs → chunks/link-DCLn1IDs.js} +0 -0
  370. /package/dist/{link-DUkoe5Km.js → chunks/link-DUkoe5Km.js} +0 -0
  371. /package/dist/{link-DkkL7LfC.js → chunks/link-DkkL7LfC.js} +0 -0
  372. /package/dist/{link-YlDhxD95.js → chunks/link-YlDhxD95.js} +0 -0
  373. /package/dist/{link-ck4nib4k.cjs → chunks/link-ck4nib4k.js} +0 -0
  374. /package/dist/{minus-AwCeA7rg.js → chunks/minus-AwCeA7rg.js} +0 -0
  375. /package/dist/{minus-BNumKlkE.cjs → chunks/minus-BNumKlkE.js} +0 -0
  376. /package/dist/{minus-BmYzqTap.js → chunks/minus-BmYzqTap.js} +0 -0
  377. /package/dist/{minus-BpebEyH-.cjs → chunks/minus-BpebEyH-.js} +0 -0
  378. /package/dist/{minus-CHNQpWqO.cjs → chunks/minus-CHNQpWqO.js} +0 -0
  379. /package/dist/{minus-DPxsgjkb.js → chunks/minus-DPxsgjkb.js} +0 -0
  380. /package/dist/{minus-DU815nlw.cjs → chunks/minus-DU815nlw.js} +0 -0
  381. /package/dist/{minus-DsP-Y1rj.cjs → chunks/minus-DsP-Y1rj.js} +0 -0
  382. /package/dist/{minus-DyuuKbm0.js → chunks/minus-DyuuKbm0.js} +0 -0
  383. /package/dist/{minus-IpswOxr_.cjs → chunks/minus-IpswOxr_.js} +0 -0
  384. /package/dist/{minus-WdS4_M_-.js → chunks/minus-WdS4_M_-.js} +0 -0
  385. /package/dist/{minus-cirlce-1BD-prgU.js → chunks/minus-cirlce-1BD-prgU.js} +0 -0
  386. /package/dist/{minus-cirlce-8ybre9Oa.cjs → chunks/minus-cirlce-8ybre9Oa.js} +0 -0
  387. /package/dist/{minus-cirlce-B-s5qjuC.cjs → chunks/minus-cirlce-B-s5qjuC.js} +0 -0
  388. /package/dist/{minus-cirlce-B4wPx7Ld.js → chunks/minus-cirlce-B4wPx7Ld.js} +0 -0
  389. /package/dist/{minus-cirlce-BThD7ayf.js → chunks/minus-cirlce-BThD7ayf.js} +0 -0
  390. /package/dist/{minus-cirlce-BZzid6gu.js → chunks/minus-cirlce-BZzid6gu.js} +0 -0
  391. /package/dist/{minus-cirlce-ClVOqRsi.js → chunks/minus-cirlce-ClVOqRsi.js} +0 -0
  392. /package/dist/{minus-cirlce-CqtEPKpg.js → chunks/minus-cirlce-CqtEPKpg.js} +0 -0
  393. /package/dist/{minus-cirlce-DMgKEXmq.cjs → chunks/minus-cirlce-DMgKEXmq.js} +0 -0
  394. /package/dist/{minus-cirlce-DqWKt5kG.cjs → chunks/minus-cirlce-DqWKt5kG.js} +0 -0
  395. /package/dist/{minus-cirlce-Dxq_jI5N.cjs → chunks/minus-cirlce-Dxq_jI5N.js} +0 -0
  396. /package/dist/{minus-cirlce-dilMVSmk.cjs → chunks/minus-cirlce-dilMVSmk.js} +0 -0
  397. /package/dist/{minus-lJM-f7JO.js → chunks/minus-lJM-f7JO.js} +0 -0
  398. /package/dist/{minus-square-5yIOZ583.cjs → chunks/minus-square-5yIOZ583.js} +0 -0
  399. /package/dist/{minus-square-BIOcgTzZ.cjs → chunks/minus-square-BIOcgTzZ.js} +0 -0
  400. /package/dist/{minus-square-BiFQWw1K.js → chunks/minus-square-BiFQWw1K.js} +0 -0
  401. /package/dist/{minus-square-Bm7Eo1gc.js → chunks/minus-square-Bm7Eo1gc.js} +0 -0
  402. /package/dist/{minus-square-Ct1YbAc3.cjs → chunks/minus-square-Ct1YbAc3.js} +0 -0
  403. /package/dist/{minus-square-D6evOc5Q.cjs → chunks/minus-square-D6evOc5Q.js} +0 -0
  404. /package/dist/{minus-square-DKec4fLp.js → chunks/minus-square-DKec4fLp.js} +0 -0
  405. /package/dist/{minus-square-DLwreP3Z.js → chunks/minus-square-DLwreP3Z.js} +0 -0
  406. /package/dist/{minus-square-DOok_IGg.cjs → chunks/minus-square-DOok_IGg.js} +0 -0
  407. /package/dist/{minus-square-DmSqPQeo.js → chunks/minus-square-DmSqPQeo.js} +0 -0
  408. /package/dist/{minus-square-OYhlceDc.js → chunks/minus-square-OYhlceDc.js} +0 -0
  409. /package/dist/{minus-square-jz81Ss1y.cjs → chunks/minus-square-jz81Ss1y.js} +0 -0
  410. /package/dist/{smallcaps-4db6OP5z.cjs → chunks/smallcaps-4db6OP5z.js} +0 -0
  411. /package/dist/{smallcaps-BRGmz5X1.js → chunks/smallcaps-BRGmz5X1.js} +0 -0
  412. /package/dist/{smallcaps-C3aFFEMg.cjs → chunks/smallcaps-C3aFFEMg.js} +0 -0
  413. /package/dist/{smallcaps-CQH0e-Qr.js → chunks/smallcaps-CQH0e-Qr.js} +0 -0
  414. /package/dist/{smallcaps-CrTAH_fl.cjs → chunks/smallcaps-CrTAH_fl.js} +0 -0
  415. /package/dist/{smallcaps-Csx5r5fL.js → chunks/smallcaps-Csx5r5fL.js} +0 -0
  416. /package/dist/{smallcaps-D57em6lZ.js → chunks/smallcaps-D57em6lZ.js} +0 -0
  417. /package/dist/{smallcaps-DMxoMhLq.cjs → chunks/smallcaps-DMxoMhLq.js} +0 -0
  418. /package/dist/{smallcaps-DTc90-wB.js → chunks/smallcaps-DTc90-wB.js} +0 -0
  419. /package/dist/{smallcaps-DvQw3mgt.cjs → chunks/smallcaps-DvQw3mgt.js} +0 -0
  420. /package/dist/{smallcaps-EMohyYps.js → chunks/smallcaps-EMohyYps.js} +0 -0
  421. /package/dist/{smallcaps-tS0-FTm4.cjs → chunks/smallcaps-tS0-FTm4.js} +0 -0
  422. /package/dist/{task-5wAtmLia.cjs → chunks/task-5wAtmLia.js} +0 -0
  423. /package/dist/{task-BFFgtsR7.cjs → chunks/task-BFFgtsR7.js} +0 -0
  424. /package/dist/{task-CPHbx6Xp.js → chunks/task-CPHbx6Xp.js} +0 -0
  425. /package/dist/{task-CPK0Xitw.js → chunks/task-CPK0Xitw.js} +0 -0
  426. /package/dist/{task-CWMoBPrR.js → chunks/task-CWMoBPrR.js} +0 -0
  427. /package/dist/{task-CZeuxLHS.cjs → chunks/task-CZeuxLHS.js} +0 -0
  428. /package/dist/{task-CpUWZ14w.cjs → chunks/task-CpUWZ14w.js} +0 -0
  429. /package/dist/{task-D2dHPypM.js → chunks/task-D2dHPypM.js} +0 -0
  430. /package/dist/{task-DHjlHB5u.js → chunks/task-DHjlHB5u.js} +0 -0
  431. /package/dist/{task-INl8gJof.cjs → chunks/task-INl8gJof.js} +0 -0
  432. /package/dist/{task-YBjBROjF.cjs → chunks/task-YBjBROjF.js} +0 -0
  433. /package/dist/{task-rAZ4_dJi.js → chunks/task-rAZ4_dJi.js} +0 -0
  434. /package/dist/{text-bold-B9Uuus_K.js → chunks/text-bold-B9Uuus_K.js} +0 -0
  435. /package/dist/{text-bold-Bpds56iN.cjs → chunks/text-bold-Bpds56iN.js} +0 -0
  436. /package/dist/{text-bold-BwjfWLnV.js → chunks/text-bold-BwjfWLnV.js} +0 -0
  437. /package/dist/{text-bold-CGib54xr.js → chunks/text-bold-CGib54xr.js} +0 -0
  438. /package/dist/{text-bold-D9E9gOwG.js → chunks/text-bold-D9E9gOwG.js} +0 -0
  439. /package/dist/{text-bold-D9y0G3W6.cjs → chunks/text-bold-D9y0G3W6.js} +0 -0
  440. /package/dist/{text-bold-DA18Cobf.cjs → chunks/text-bold-DA18Cobf.js} +0 -0
  441. /package/dist/{text-bold-FVlP-onb.js → chunks/text-bold-FVlP-onb.js} +0 -0
  442. /package/dist/{text-bold-dNsqnxrJ.cjs → chunks/text-bold-dNsqnxrJ.js} +0 -0
  443. /package/dist/{text-bold-hD59fjBM.cjs → chunks/text-bold-hD59fjBM.js} +0 -0
  444. /package/dist/{text-bold-q4PQl2lp.cjs → chunks/text-bold-q4PQl2lp.js} +0 -0
  445. /package/dist/{text-bold-yLyZsv3k.js → chunks/text-bold-yLyZsv3k.js} +0 -0
  446. /package/dist/{text-italic-BAQsDLCD.cjs → chunks/text-italic-BAQsDLCD.js} +0 -0
  447. /package/dist/{text-italic-BBbdgOV8.js → chunks/text-italic-BBbdgOV8.js} +0 -0
  448. /package/dist/{text-italic-BLRmyoa_.cjs → chunks/text-italic-BLRmyoa_.js} +0 -0
  449. /package/dist/{text-italic-BRpMpFEP.cjs → chunks/text-italic-BRpMpFEP.js} +0 -0
  450. /package/dist/{text-italic-BbSEOHaR.js → chunks/text-italic-BbSEOHaR.js} +0 -0
  451. /package/dist/{text-italic-BbY_nLh3.cjs → chunks/text-italic-BbY_nLh3.js} +0 -0
  452. /package/dist/{text-italic-BqvfDpZ_.js → chunks/text-italic-BqvfDpZ_.js} +0 -0
  453. /package/dist/{text-italic-COwZp8nN.js → chunks/text-italic-COwZp8nN.js} +0 -0
  454. /package/dist/{text-italic-D-86ejcb.js → chunks/text-italic-D-86ejcb.js} +0 -0
  455. /package/dist/{text-italic-D5L8cO7S.cjs → chunks/text-italic-D5L8cO7S.js} +0 -0
  456. /package/dist/{text-italic-Dqj-AGrY.cjs → chunks/text-italic-Dqj-AGrY.js} +0 -0
  457. /package/dist/{text-italic-JVNLjL6A.js → chunks/text-italic-JVNLjL6A.js} +0 -0
  458. /package/dist/{textalign-center-BNXKb7o1.js → chunks/textalign-center-BNXKb7o1.js} +0 -0
  459. /package/dist/{textalign-center-BgDrvLgu.js → chunks/textalign-center-BgDrvLgu.js} +0 -0
  460. /package/dist/{textalign-center-BiW7-UK8.cjs → chunks/textalign-center-BiW7-UK8.js} +0 -0
  461. /package/dist/{textalign-center-BjXTeLZ9.js → chunks/textalign-center-BjXTeLZ9.js} +0 -0
  462. /package/dist/{textalign-center-CMfGM3nt.cjs → chunks/textalign-center-CMfGM3nt.js} +0 -0
  463. /package/dist/{textalign-center-CZUB_mi5.cjs → chunks/textalign-center-CZUB_mi5.js} +0 -0
  464. /package/dist/{textalign-center-DV1ZVVJ9.js → chunks/textalign-center-DV1ZVVJ9.js} +0 -0
  465. /package/dist/{textalign-center-DhIAARrX.cjs → chunks/textalign-center-DhIAARrX.js} +0 -0
  466. /package/dist/{textalign-center-DssUllZx.cjs → chunks/textalign-center-DssUllZx.js} +0 -0
  467. /package/dist/{textalign-center-DuFr4Z0N.js → chunks/textalign-center-DuFr4Z0N.js} +0 -0
  468. /package/dist/{textalign-center-TtJrRcy1.cjs → chunks/textalign-center-TtJrRcy1.js} +0 -0
  469. /package/dist/{textalign-center-XZiUcsoS.js → chunks/textalign-center-XZiUcsoS.js} +0 -0
  470. /package/dist/{textalign-justifycenter-1H0ry4i1.cjs → chunks/textalign-justifycenter-1H0ry4i1.js} +0 -0
  471. /package/dist/{textalign-justifycenter-B4Okp5WQ.js → chunks/textalign-justifycenter-B4Okp5WQ.js} +0 -0
  472. /package/dist/{textalign-justifycenter-BanoqoY2.cjs → chunks/textalign-justifycenter-BanoqoY2.js} +0 -0
  473. /package/dist/{textalign-justifycenter-BrM7y8Q-.cjs → chunks/textalign-justifycenter-BrM7y8Q-.js} +0 -0
  474. /package/dist/{textalign-justifycenter-BvuL2Tc9.js → chunks/textalign-justifycenter-BvuL2Tc9.js} +0 -0
  475. /package/dist/{textalign-justifycenter-ByaUTZOq.cjs → chunks/textalign-justifycenter-ByaUTZOq.js} +0 -0
  476. /package/dist/{textalign-justifycenter-C7GGAIEd.cjs → chunks/textalign-justifycenter-C7GGAIEd.js} +0 -0
  477. /package/dist/{textalign-justifycenter-C_15oG-O.js → chunks/textalign-justifycenter-C_15oG-O.js} +0 -0
  478. /package/dist/{textalign-justifycenter-Cd3T_URi.js → chunks/textalign-justifycenter-Cd3T_URi.js} +0 -0
  479. /package/dist/{textalign-justifycenter-Cuq0nA7n.js → chunks/textalign-justifycenter-Cuq0nA7n.js} +0 -0
  480. /package/dist/{textalign-justifycenter-DTB7BpEM.cjs → chunks/textalign-justifycenter-DTB7BpEM.js} +0 -0
  481. /package/dist/{textalign-justifycenter-GJYh78KA.js → chunks/textalign-justifycenter-GJYh78KA.js} +0 -0
  482. /package/dist/{textalign-left-BBkJw9sM.js → chunks/textalign-left-BBkJw9sM.js} +0 -0
  483. /package/dist/{textalign-left-CQFeWNky.cjs → chunks/textalign-left-CQFeWNky.js} +0 -0
  484. /package/dist/{textalign-left-CVLtezzT.cjs → chunks/textalign-left-CVLtezzT.js} +0 -0
  485. /package/dist/{textalign-left-CrkiT20G.js → chunks/textalign-left-CrkiT20G.js} +0 -0
  486. /package/dist/{textalign-left-Czv9gCWL.js → chunks/textalign-left-Czv9gCWL.js} +0 -0
  487. /package/dist/{textalign-left-DDV2YTsX.js → chunks/textalign-left-DDV2YTsX.js} +0 -0
  488. /package/dist/{textalign-left-DbbIELEG.js → chunks/textalign-left-DbbIELEG.js} +0 -0
  489. /package/dist/{textalign-left-DmbcMnUt.cjs → chunks/textalign-left-DmbcMnUt.js} +0 -0
  490. /package/dist/{textalign-left-DwMDZkz6.cjs → chunks/textalign-left-DwMDZkz6.js} +0 -0
  491. /package/dist/{textalign-left-FcEEgVUa.js → chunks/textalign-left-FcEEgVUa.js} +0 -0
  492. /package/dist/{textalign-left-HOX6BrC8.cjs → chunks/textalign-left-HOX6BrC8.js} +0 -0
  493. /package/dist/{textalign-left-Tim7PD2T.cjs → chunks/textalign-left-Tim7PD2T.js} +0 -0
  494. /package/dist/{textalign-right-AzUv7Wy_.cjs → chunks/textalign-right-AzUv7Wy_.js} +0 -0
  495. /package/dist/{textalign-right-B4RMoyPu.js → chunks/textalign-right-B4RMoyPu.js} +0 -0
  496. /package/dist/{textalign-right-Bh1GtPWc.cjs → chunks/textalign-right-Bh1GtPWc.js} +0 -0
  497. /package/dist/{textalign-right-BwpxVvNc.js → chunks/textalign-right-BwpxVvNc.js} +0 -0
  498. /package/dist/{textalign-right-CKoFhqEE.js → chunks/textalign-right-CKoFhqEE.js} +0 -0
  499. /package/dist/{textalign-right-CQKHpAQn.cjs → chunks/textalign-right-CQKHpAQn.js} +0 -0
  500. /package/dist/{textalign-right-CSi5EldQ.js → chunks/textalign-right-CSi5EldQ.js} +0 -0
  501. /package/dist/{textalign-right-CaDWcT07.cjs → chunks/textalign-right-CaDWcT07.js} +0 -0
  502. /package/dist/{textalign-right-CoIc3IEi.js → chunks/textalign-right-CoIc3IEi.js} +0 -0
  503. /package/dist/{textalign-right-D-peBkxs.cjs → chunks/textalign-right-D-peBkxs.js} +0 -0
  504. /package/dist/{textalign-right-DxQZxeBV.cjs → chunks/textalign-right-DxQZxeBV.js} +0 -0
  505. /package/dist/{textalign-right-LtrQalb-.js → chunks/textalign-right-LtrQalb-.js} +0 -0
  506. /package/dist/{tick-circle-BKOcfgEg.js → chunks/tick-circle-BKOcfgEg.js} +0 -0
  507. /package/dist/{tick-circle-BnKIaxPY.cjs → chunks/tick-circle-BnKIaxPY.js} +0 -0
  508. /package/dist/{tick-circle-BtUKn3PL.js → chunks/tick-circle-BtUKn3PL.js} +0 -0
  509. /package/dist/{tick-circle-C5RStEjH.cjs → chunks/tick-circle-C5RStEjH.js} +0 -0
  510. /package/dist/{tick-circle-CDTd4DZh.cjs → chunks/tick-circle-CDTd4DZh.js} +0 -0
  511. /package/dist/{tick-circle-CG3ZUEnU.js → chunks/tick-circle-CG3ZUEnU.js} +0 -0
  512. /package/dist/{tick-circle-CUaIX5y-.js → chunks/tick-circle-CUaIX5y-.js} +0 -0
  513. /package/dist/{tick-circle-DAndptFp.js → chunks/tick-circle-DAndptFp.js} +0 -0
  514. /package/dist/{tick-circle-DQ9C7xxg.cjs → chunks/tick-circle-DQ9C7xxg.js} +0 -0
  515. /package/dist/{tick-circle-DWmag5im.cjs → chunks/tick-circle-DWmag5im.js} +0 -0
  516. /package/dist/{tick-circle-DYrsmBQ9.cjs → chunks/tick-circle-DYrsmBQ9.js} +0 -0
  517. /package/dist/{tick-circle-Pc0TudXX.js → chunks/tick-circle-Pc0TudXX.js} +0 -0
  518. /package/dist/{tick-square-6dk-mgmy.cjs → chunks/tick-square-6dk-mgmy.js} +0 -0
  519. /package/dist/{tick-square-B4p9-AAj.cjs → chunks/tick-square-B4p9-AAj.js} +0 -0
  520. /package/dist/{tick-square-BO__mVIu.js → chunks/tick-square-BO__mVIu.js} +0 -0
  521. /package/dist/{tick-square-BTbcAXZP.js → chunks/tick-square-BTbcAXZP.js} +0 -0
  522. /package/dist/{tick-square-CCsVYSqp.cjs → chunks/tick-square-CCsVYSqp.js} +0 -0
  523. /package/dist/{tick-square-CoNp6Xdh.js → chunks/tick-square-CoNp6Xdh.js} +0 -0
  524. /package/dist/{tick-square-CplD_Uli.js → chunks/tick-square-CplD_Uli.js} +0 -0
  525. /package/dist/{tick-square-CwTiY1_M.js → chunks/tick-square-CwTiY1_M.js} +0 -0
  526. /package/dist/{tick-square-CziXw6v_.cjs → chunks/tick-square-CziXw6v_.js} +0 -0
  527. /package/dist/{tick-square-EOW8ui7o.cjs → chunks/tick-square-EOW8ui7o.js} +0 -0
  528. /package/dist/{tick-square-IPQPjzmL.cjs → chunks/tick-square-IPQPjzmL.js} +0 -0
  529. /package/dist/{tick-square-TXkCLxdY.js → chunks/tick-square-TXkCLxdY.js} +0 -0
  530. /package/dist/{uniq-id-CGUN-pJV.js → chunks/uniq-id-CGUN-pJV.js} +0 -0
  531. /package/dist/{uniq-id-Cszs24DQ.cjs → chunks/uniq-id-Cszs24DQ.js} +0 -0
  532. /package/dist/{verify-5gEaWngS.js → chunks/verify-5gEaWngS.js} +0 -0
  533. /package/dist/{verify-AxjJkl01.cjs → chunks/verify-AxjJkl01.js} +0 -0
  534. /package/dist/{verify-BDzJ6pBw.js → chunks/verify-BDzJ6pBw.js} +0 -0
  535. /package/dist/{verify-BPKA8uIA.js → chunks/verify-BPKA8uIA.js} +0 -0
  536. /package/dist/{verify-CLN2KLsL.js → chunks/verify-CLN2KLsL.js} +0 -0
  537. /package/dist/{verify-Cf6dmlZH.cjs → chunks/verify-Cf6dmlZH.js} +0 -0
  538. /package/dist/{verify-D2WLFn6G.cjs → chunks/verify-D2WLFn6G.js} +0 -0
  539. /package/dist/{verify-DAWpZR-0.cjs → chunks/verify-DAWpZR-0.js} +0 -0
  540. /package/dist/{verify-Dn_1284X.js → chunks/verify-Dn_1284X.js} +0 -0
  541. /package/dist/{verify-Dwm5p0Wm.cjs → chunks/verify-Dwm5p0Wm.js} +0 -0
  542. /package/dist/{verify-poZiNwDW.cjs → chunks/verify-poZiNwDW.js} +0 -0
  543. /package/dist/{verify-qKgDt_cz.js → chunks/verify-qKgDt_cz.js} +0 -0
  544. /package/dist/{warning-2-97Si6IrM.cjs → chunks/warning-2-97Si6IrM.js} +0 -0
  545. /package/dist/{warning-2-BSM6W1Gm.js → chunks/warning-2-BSM6W1Gm.js} +0 -0
  546. /package/dist/{warning-2-BixGOAk9.js → chunks/warning-2-BixGOAk9.js} +0 -0
  547. /package/dist/{warning-2-BvOu0gS4.js → chunks/warning-2-BvOu0gS4.js} +0 -0
  548. /package/dist/{warning-2-CZN1r-ol.cjs → chunks/warning-2-CZN1r-ol.js} +0 -0
  549. /package/dist/{warning-2-CtlOo41U.js → chunks/warning-2-CtlOo41U.js} +0 -0
  550. /package/dist/{warning-2-Cv13JPGf.cjs → chunks/warning-2-Cv13JPGf.js} +0 -0
  551. /package/dist/{warning-2-D2EzJ9aB.js → chunks/warning-2-D2EzJ9aB.js} +0 -0
  552. /package/dist/{warning-2-DMkszxQr.cjs → chunks/warning-2-DMkszxQr.js} +0 -0
  553. /package/dist/{warning-2-DdO_RDHZ.cjs → chunks/warning-2-DdO_RDHZ.js} +0 -0
  554. /package/dist/{warning-2-Dq9nReo1.cjs → chunks/warning-2-Dq9nReo1.js} +0 -0
  555. /package/dist/{warning-2-DqcrFtKk.js → chunks/warning-2-DqcrFtKk.js} +0 -0
@@ -1,1344 +0,0 @@
1
- import { T as TailwindStyledElement, x, E } from './index-DUvJL4Yz.js';
2
- import { n, s as safeCustomElement } from './safe-custom-element-B49fAUL7.js';
3
- import { c as ce } from './index-B9iart53.js';
4
- import { c as customStyleMap } from './index-Cgi00Tgl.js';
5
- import './tailwind-config.js';
6
- import { c as cn } from './axe-BK9JSROP.js';
7
- import { i as isAddress$1 } from './isAddress-ZNhN82OL.js';
8
-
9
- const sliceAddress = (address, startSliceBy = 6, endSliceBy) => {
10
- if (!address || typeof address !== "string") {
11
- return "";
12
- }
13
- let sliceAddress2 = "";
14
- const effectiveEndSliceBy = endSliceBy || startSliceBy;
15
- if (address.length < startSliceBy + effectiveEndSliceBy) {
16
- return address;
17
- }
18
- sliceAddress2 = address.length > startSliceBy + 2 ? `${address.slice(0, startSliceBy + 2)}...${address.slice(
19
- -effectiveEndSliceBy
20
- )}` : address;
21
- return sliceAddress2;
22
- };
23
-
24
- function number(n) {
25
- if (!Number.isSafeInteger(n) || n < 0)
26
- throw new Error(`positive integer expected, not ${n}`);
27
- }
28
- function bool(b) {
29
- if (typeof b !== 'boolean')
30
- throw new Error(`boolean expected, not ${b}`);
31
- }
32
- // copied from utils
33
- function isBytes(a) {
34
- return (a instanceof Uint8Array ||
35
- (a != null && typeof a === 'object' && a.constructor.name === 'Uint8Array'));
36
- }
37
- function bytes(b, ...lengths) {
38
- if (!isBytes(b))
39
- throw new Error('Uint8Array expected');
40
- if (lengths.length > 0 && !lengths.includes(b.length))
41
- throw new Error(`Uint8Array expected of length ${lengths}, not of length=${b.length}`);
42
- }
43
- function hash(h) {
44
- if (typeof h !== 'function' || typeof h.create !== 'function')
45
- throw new Error('Hash should be wrapped by utils.wrapConstructor');
46
- number(h.outputLen);
47
- number(h.blockLen);
48
- }
49
- function exists(instance, checkFinished = true) {
50
- if (instance.destroyed)
51
- throw new Error('Hash instance has been destroyed');
52
- if (checkFinished && instance.finished)
53
- throw new Error('Hash#digest() has already been called');
54
- }
55
- function output(out, instance) {
56
- bytes(out);
57
- const min = instance.outputLen;
58
- if (out.length < min) {
59
- throw new Error(`digestInto() expects output buffer of length at least ${min}`);
60
- }
61
- }
62
- const assert = { number, bool, bytes, hash, exists, output };
63
-
64
- const U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
65
- const _32n = /* @__PURE__ */ BigInt(32);
66
- // We are not using BigUint64Array, because they are extremely slow as per 2022
67
- function fromBig(n, le = false) {
68
- if (le)
69
- return { h: Number(n & U32_MASK64), l: Number((n >> _32n) & U32_MASK64) };
70
- return { h: Number((n >> _32n) & U32_MASK64) | 0, l: Number(n & U32_MASK64) | 0 };
71
- }
72
- function split(lst, le = false) {
73
- let Ah = new Uint32Array(lst.length);
74
- let Al = new Uint32Array(lst.length);
75
- for (let i = 0; i < lst.length; i++) {
76
- const { h, l } = fromBig(lst[i], le);
77
- [Ah[i], Al[i]] = [h, l];
78
- }
79
- return [Ah, Al];
80
- }
81
- // Left rotate for Shift in [1, 32)
82
- const rotlSH = (h, l, s) => (h << s) | (l >>> (32 - s));
83
- const rotlSL = (h, l, s) => (l << s) | (h >>> (32 - s));
84
- // Left rotate for Shift in (32, 64), NOTE: 32 is special case.
85
- const rotlBH = (h, l, s) => (l << (s - 32)) | (h >>> (64 - s));
86
- const rotlBL = (h, l, s) => (h << (s - 32)) | (l >>> (64 - s));
87
-
88
- /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
89
- // We use WebCrypto aka globalThis.crypto, which exists in browsers and node.js 16+.
90
- // node.js versions earlier than v19 don't declare it in global scope.
91
- // For node.js, package.json#exports field mapping rewrites import
92
- // from `crypto` to `cryptoNode`, which imports native module.
93
- // Makes the utils un-importable in browsers without a bundler.
94
- // Once node.js 18 is deprecated (2025-04-30), we can just drop the import.
95
- const u32 = (arr) => new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));
96
- const isLE = new Uint8Array(new Uint32Array([0x11223344]).buffer)[0] === 0x44;
97
- // The byte swap operation for uint32
98
- const byteSwap = (word) => ((word << 24) & 0xff000000) |
99
- ((word << 8) & 0xff0000) |
100
- ((word >>> 8) & 0xff00) |
101
- ((word >>> 24) & 0xff);
102
- // In place byte swap for Uint32Array
103
- function byteSwap32(arr) {
104
- for (let i = 0; i < arr.length; i++) {
105
- arr[i] = byteSwap(arr[i]);
106
- }
107
- }
108
- /**
109
- * @example utf8ToBytes('abc') // new Uint8Array([97, 98, 99])
110
- */
111
- function utf8ToBytes$1(str) {
112
- if (typeof str !== 'string')
113
- throw new Error(`utf8ToBytes expected string, got ${typeof str}`);
114
- return new Uint8Array(new TextEncoder().encode(str)); // https://bugzil.la/1681809
115
- }
116
- /**
117
- * Normalizes (non-hex) string or Uint8Array to Uint8Array.
118
- * Warning: when Uint8Array is passed, it would NOT get copied.
119
- * Keep in mind for future mutable operations.
120
- */
121
- function toBytes(data) {
122
- if (typeof data === 'string')
123
- data = utf8ToBytes$1(data);
124
- bytes(data);
125
- return data;
126
- }
127
- // For runtime check if class implements interface
128
- class Hash {
129
- // Safe version that clones internal state
130
- clone() {
131
- return this._cloneInto();
132
- }
133
- }
134
- function wrapConstructor(hashCons) {
135
- const hashC = (msg) => hashCons().update(toBytes(msg)).digest();
136
- const tmp = hashCons();
137
- hashC.outputLen = tmp.outputLen;
138
- hashC.blockLen = tmp.blockLen;
139
- hashC.create = () => hashCons();
140
- return hashC;
141
- }
142
-
143
- // SHA3 (keccak) is based on a new design: basically, the internal state is bigger than output size.
144
- // It's called a sponge function.
145
- // Various per round constants calculations
146
- const SHA3_PI = [];
147
- const SHA3_ROTL = [];
148
- const _SHA3_IOTA = [];
149
- const _0n = /* @__PURE__ */ BigInt(0);
150
- const _1n = /* @__PURE__ */ BigInt(1);
151
- const _2n = /* @__PURE__ */ BigInt(2);
152
- const _7n = /* @__PURE__ */ BigInt(7);
153
- const _256n = /* @__PURE__ */ BigInt(256);
154
- const _0x71n = /* @__PURE__ */ BigInt(0x71);
155
- for (let round = 0, R = _1n, x = 1, y = 0; round < 24; round++) {
156
- // Pi
157
- [x, y] = [y, (2 * x + 3 * y) % 5];
158
- SHA3_PI.push(2 * (5 * y + x));
159
- // Rotational
160
- SHA3_ROTL.push((((round + 1) * (round + 2)) / 2) % 64);
161
- // Iota
162
- let t = _0n;
163
- for (let j = 0; j < 7; j++) {
164
- R = ((R << _1n) ^ ((R >> _7n) * _0x71n)) % _256n;
165
- if (R & _2n)
166
- t ^= _1n << ((_1n << /* @__PURE__ */ BigInt(j)) - _1n);
167
- }
168
- _SHA3_IOTA.push(t);
169
- }
170
- const [SHA3_IOTA_H, SHA3_IOTA_L] = /* @__PURE__ */ split(_SHA3_IOTA, true);
171
- // Left rotation (without 0, 32, 64)
172
- const rotlH = (h, l, s) => (s > 32 ? rotlBH(h, l, s) : rotlSH(h, l, s));
173
- const rotlL = (h, l, s) => (s > 32 ? rotlBL(h, l, s) : rotlSL(h, l, s));
174
- // Same as keccakf1600, but allows to skip some rounds
175
- function keccakP(s, rounds = 24) {
176
- const B = new Uint32Array(5 * 2);
177
- // NOTE: all indices are x2 since we store state as u32 instead of u64 (bigints to slow in js)
178
- for (let round = 24 - rounds; round < 24; round++) {
179
- // Theta θ
180
- for (let x = 0; x < 10; x++)
181
- B[x] = s[x] ^ s[x + 10] ^ s[x + 20] ^ s[x + 30] ^ s[x + 40];
182
- for (let x = 0; x < 10; x += 2) {
183
- const idx1 = (x + 8) % 10;
184
- const idx0 = (x + 2) % 10;
185
- const B0 = B[idx0];
186
- const B1 = B[idx0 + 1];
187
- const Th = rotlH(B0, B1, 1) ^ B[idx1];
188
- const Tl = rotlL(B0, B1, 1) ^ B[idx1 + 1];
189
- for (let y = 0; y < 50; y += 10) {
190
- s[x + y] ^= Th;
191
- s[x + y + 1] ^= Tl;
192
- }
193
- }
194
- // Rho (ρ) and Pi (π)
195
- let curH = s[2];
196
- let curL = s[3];
197
- for (let t = 0; t < 24; t++) {
198
- const shift = SHA3_ROTL[t];
199
- const Th = rotlH(curH, curL, shift);
200
- const Tl = rotlL(curH, curL, shift);
201
- const PI = SHA3_PI[t];
202
- curH = s[PI];
203
- curL = s[PI + 1];
204
- s[PI] = Th;
205
- s[PI + 1] = Tl;
206
- }
207
- // Chi (χ)
208
- for (let y = 0; y < 50; y += 10) {
209
- for (let x = 0; x < 10; x++)
210
- B[x] = s[y + x];
211
- for (let x = 0; x < 10; x++)
212
- s[y + x] ^= ~B[(x + 2) % 10] & B[(x + 4) % 10];
213
- }
214
- // Iota (ι)
215
- s[0] ^= SHA3_IOTA_H[round];
216
- s[1] ^= SHA3_IOTA_L[round];
217
- }
218
- B.fill(0);
219
- }
220
- class Keccak extends Hash {
221
- // NOTE: we accept arguments in bytes instead of bits here.
222
- constructor(blockLen, suffix, outputLen, enableXOF = false, rounds = 24) {
223
- super();
224
- this.blockLen = blockLen;
225
- this.suffix = suffix;
226
- this.outputLen = outputLen;
227
- this.enableXOF = enableXOF;
228
- this.rounds = rounds;
229
- this.pos = 0;
230
- this.posOut = 0;
231
- this.finished = false;
232
- this.destroyed = false;
233
- // Can be passed from user as dkLen
234
- number(outputLen);
235
- // 1600 = 5x5 matrix of 64bit. 1600 bits === 200 bytes
236
- if (0 >= this.blockLen || this.blockLen >= 200)
237
- throw new Error('Sha3 supports only keccak-f1600 function');
238
- this.state = new Uint8Array(200);
239
- this.state32 = u32(this.state);
240
- }
241
- keccak() {
242
- if (!isLE)
243
- byteSwap32(this.state32);
244
- keccakP(this.state32, this.rounds);
245
- if (!isLE)
246
- byteSwap32(this.state32);
247
- this.posOut = 0;
248
- this.pos = 0;
249
- }
250
- update(data) {
251
- exists(this);
252
- const { blockLen, state } = this;
253
- data = toBytes(data);
254
- const len = data.length;
255
- for (let pos = 0; pos < len;) {
256
- const take = Math.min(blockLen - this.pos, len - pos);
257
- for (let i = 0; i < take; i++)
258
- state[this.pos++] ^= data[pos++];
259
- if (this.pos === blockLen)
260
- this.keccak();
261
- }
262
- return this;
263
- }
264
- finish() {
265
- if (this.finished)
266
- return;
267
- this.finished = true;
268
- const { state, suffix, pos, blockLen } = this;
269
- // Do the padding
270
- state[pos] ^= suffix;
271
- if ((suffix & 0x80) !== 0 && pos === blockLen - 1)
272
- this.keccak();
273
- state[blockLen - 1] ^= 0x80;
274
- this.keccak();
275
- }
276
- writeInto(out) {
277
- exists(this, false);
278
- bytes(out);
279
- this.finish();
280
- const bufferOut = this.state;
281
- const { blockLen } = this;
282
- for (let pos = 0, len = out.length; pos < len;) {
283
- if (this.posOut >= blockLen)
284
- this.keccak();
285
- const take = Math.min(blockLen - this.posOut, len - pos);
286
- out.set(bufferOut.subarray(this.posOut, this.posOut + take), pos);
287
- this.posOut += take;
288
- pos += take;
289
- }
290
- return out;
291
- }
292
- xofInto(out) {
293
- // Sha3/Keccak usage with XOF is probably mistake, only SHAKE instances can do XOF
294
- if (!this.enableXOF)
295
- throw new Error('XOF is not possible for this instance');
296
- return this.writeInto(out);
297
- }
298
- xof(bytes) {
299
- number(bytes);
300
- return this.xofInto(new Uint8Array(bytes));
301
- }
302
- digestInto(out) {
303
- output(out, this);
304
- if (this.finished)
305
- throw new Error('digest() was already called');
306
- this.writeInto(out);
307
- this.destroy();
308
- return out;
309
- }
310
- digest() {
311
- return this.digestInto(new Uint8Array(this.outputLen));
312
- }
313
- destroy() {
314
- this.destroyed = true;
315
- this.state.fill(0);
316
- }
317
- _cloneInto(to) {
318
- const { blockLen, suffix, outputLen, rounds, enableXOF } = this;
319
- to || (to = new Keccak(blockLen, suffix, outputLen, enableXOF, rounds));
320
- to.state32.set(this.state32);
321
- to.pos = this.pos;
322
- to.posOut = this.posOut;
323
- to.finished = this.finished;
324
- to.rounds = rounds;
325
- // Suffix can change in cSHAKE
326
- to.suffix = suffix;
327
- to.outputLen = outputLen;
328
- to.enableXOF = enableXOF;
329
- to.destroyed = this.destroyed;
330
- return to;
331
- }
332
- }
333
- const gen = (suffix, blockLen, outputLen) => wrapConstructor(() => new Keccak(blockLen, suffix, outputLen));
334
- /**
335
- * keccak-256 hash function. Different from SHA3-256.
336
- * @param message - that would be hashed
337
- */
338
- const keccak_256 = /* @__PURE__ */ gen(0x01, 136, 256 / 8);
339
-
340
- // Internal utils
341
- function wrapHash(hash) {
342
- return (msg) => {
343
- assert.bytes(msg);
344
- return hash(msg);
345
- };
346
- }
347
- // TODO(v3): switch away from node crypto, remove this unnecessary variable.
348
- (() => {
349
- const webCrypto = typeof globalThis === "object" && "crypto" in globalThis ? globalThis.crypto : undefined;
350
- const nodeRequire = typeof module !== "undefined" &&
351
- typeof module.require === "function" &&
352
- module.require.bind(module);
353
- return {
354
- node: nodeRequire && !webCrypto ? nodeRequire("crypto") : undefined,
355
- web: webCrypto
356
- };
357
- })();
358
-
359
- const keccak256 = (() => {
360
- const k = wrapHash(keccak_256);
361
- k.create = keccak_256.create;
362
- return k;
363
- })();
364
-
365
- /*
366
- This file is part of web3.js.
367
-
368
- web3.js is free software: you can redistribute it and/or modify
369
- it under the terms of the GNU Lesser General Public License as published by
370
- the Free Software Foundation, either version 3 of the License, or
371
- (at your option) any later version.
372
-
373
- web3.js is distributed in the hope that it will be useful,
374
- but WITHOUT ANY WARRANTY; without even the implied warranty of
375
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376
- GNU Lesser General Public License for more details.
377
-
378
- You should have received a copy of the GNU Lesser General Public License
379
- along with web3.js. If not, see <http://www.gnu.org/licenses/>.
380
- */
381
- // Response error
382
- const ERR_MULTIPLE_ERRORS = 208;
383
- // RPC error codes (EIP-1193)
384
- // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md#provider-errors
385
- const JSONRPC_ERR_REJECTED_REQUEST = 4001;
386
- const JSONRPC_ERR_UNAUTHORIZED = 4100;
387
- const JSONRPC_ERR_UNSUPPORTED_METHOD = 4200;
388
- const JSONRPC_ERR_DISCONNECTED = 4900;
389
- const JSONRPC_ERR_CHAIN_DISCONNECTED = 4901;
390
- const ERR_INVALID_ADDRESS = 1005;
391
- // RPC error codes (EIP-1474)
392
- // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1474.md
393
- const ERR_RPC_INVALID_JSON = -32700;
394
- const ERR_RPC_INVALID_REQUEST = -32600;
395
- const ERR_RPC_INVALID_METHOD = -32601;
396
- const ERR_RPC_INVALID_PARAMS = -32602;
397
- const ERR_RPC_INTERNAL_ERROR = -32603;
398
- const ERR_RPC_INVALID_INPUT = -32e3;
399
- const ERR_RPC_MISSING_RESOURCE = -32001;
400
- const ERR_RPC_UNAVAILABLE_RESOURCE = -32002;
401
- const ERR_RPC_TRANSACTION_REJECTED = -32003;
402
- const ERR_RPC_UNSUPPORTED_METHOD = -32004;
403
- const ERR_RPC_LIMIT_EXCEEDED = -32005;
404
- const ERR_RPC_NOT_SUPPORTED = -32006;
405
-
406
- /*
407
- This file is part of web3.js.
408
-
409
- web3.js is free software: you can redistribute it and/or modify
410
- it under the terms of the GNU Lesser General Public License as published by
411
- the Free Software Foundation, either version 3 of the License, or
412
- (at your option) any later version.
413
-
414
- web3.js is distributed in the hope that it will be useful,
415
- but WITHOUT ANY WARRANTY; without even the implied warranty of
416
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
417
- GNU Lesser General Public License for more details.
418
-
419
- You should have received a copy of the GNU Lesser General Public License
420
- along with web3.js. If not, see <http://www.gnu.org/licenses/>.
421
- */
422
- /**
423
- * Base class for Web3 errors.
424
- */
425
- class BaseWeb3Error extends Error {
426
- /**
427
- * @deprecated Use the `cause` property instead.
428
- */
429
- get innerError() {
430
- // eslint-disable-next-line no-use-before-define
431
- if (this.cause instanceof MultipleErrors) {
432
- return this.cause.errors;
433
- }
434
- return this.cause;
435
- }
436
- /**
437
- * @deprecated Use the `cause` property instead.
438
- */
439
- set innerError(cause) {
440
- if (Array.isArray(cause)) {
441
- // eslint-disable-next-line no-use-before-define
442
- this.cause = new MultipleErrors(cause);
443
- }
444
- else {
445
- this.cause = cause;
446
- }
447
- }
448
- constructor(msg, cause) {
449
- super(msg);
450
- if (Array.isArray(cause)) {
451
- // eslint-disable-next-line no-use-before-define
452
- this.cause = new MultipleErrors(cause);
453
- }
454
- else {
455
- this.cause = cause;
456
- }
457
- this.name = this.constructor.name;
458
- if (typeof Error.captureStackTrace === 'function') {
459
- Error.captureStackTrace(new.target.constructor);
460
- }
461
- else {
462
- this.stack = new Error().stack;
463
- }
464
- }
465
- static convertToString(value, unquotValue = false) {
466
- // Using "null" value intentionally for validation
467
- // eslint-disable-next-line no-null/no-null
468
- if (value === null || value === undefined)
469
- return 'undefined';
470
- const result = JSON.stringify(value, (_, v) => (typeof v === 'bigint' ? v.toString() : v));
471
- return unquotValue && ['bigint', 'string'].includes(typeof value)
472
- ? result.replace(/['\\"]+/g, '')
473
- : result;
474
- }
475
- toJSON() {
476
- return {
477
- name: this.name,
478
- code: this.code,
479
- message: this.message,
480
- cause: this.cause,
481
- // deprecated
482
- innerError: this.cause,
483
- };
484
- }
485
- }
486
- class MultipleErrors extends BaseWeb3Error {
487
- constructor(errors) {
488
- super(`Multiple errors occurred: [${errors.map(e => e.message).join('], [')}]`);
489
- this.code = ERR_MULTIPLE_ERRORS;
490
- this.errors = errors;
491
- }
492
- }
493
- class InvalidValueError extends BaseWeb3Error {
494
- constructor(value, msg) {
495
- super(`Invalid value given "${BaseWeb3Error.convertToString(value, true)}". Error: ${msg}.`);
496
- this.name = this.constructor.name;
497
- }
498
- }
499
-
500
- /*
501
- This file is part of web3.js.
502
-
503
- web3.js is free software: you can redistribute it and/or modify
504
- it under the terms of the GNU Lesser General Public License as published by
505
- the Free Software Foundation, either version 3 of the License, or
506
- (at your option) any later version.
507
-
508
- web3.js is distributed in the hope that it will be useful,
509
- but WITHOUT ANY WARRANTY; without even the implied warranty of
510
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
511
- GNU Lesser General Public License for more details.
512
-
513
- You should have received a copy of the GNU Lesser General Public License
514
- along with web3.js. If not, see <http://www.gnu.org/licenses/>.
515
- */
516
- /* eslint-disable max-classes-per-file */
517
- class InvalidAddressError extends InvalidValueError {
518
- constructor(value) {
519
- super(value, 'invalid ethereum address');
520
- this.code = ERR_INVALID_ADDRESS;
521
- }
522
- }
523
-
524
- /*
525
- This file is part of web3.js.
526
-
527
- web3.js is free software: you can redistribute it and/or modify
528
- it under the terms of the GNU Lesser General Public License as published by
529
- the Free Software Foundation, either version 3 of the License, or
530
- (at your option) any later version.
531
-
532
- web3.js is distributed in the hope that it will be useful,
533
- but WITHOUT ANY WARRANTY; without even the implied warranty of
534
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
535
- GNU Lesser General Public License for more details.
536
-
537
- You should have received a copy of the GNU Lesser General Public License
538
- along with web3.js. If not, see <http://www.gnu.org/licenses/>.
539
- */
540
- /**
541
- * A template string for a generic Rpc Error. The `*code*` will be replaced with the code number.
542
- * Note: consider in next version that a spelling mistake could be corrected for `occured` and the value could be:
543
- * `An Rpc error has occurred with a code of *code*`
544
- */
545
- const genericRpcErrorMessageTemplate = 'An Rpc error has occured with a code of *code*';
546
- /* eslint-disable @typescript-eslint/naming-convention */
547
- const RpcErrorMessages = {
548
- // EIP-1474 & JSON RPC 2.0
549
- // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1474.md
550
- [ERR_RPC_INVALID_JSON]: {
551
- message: 'Parse error',
552
- description: 'Invalid JSON',
553
- },
554
- [ERR_RPC_INVALID_REQUEST]: {
555
- message: 'Invalid request',
556
- description: 'JSON is not a valid request object ',
557
- },
558
- [ERR_RPC_INVALID_METHOD]: {
559
- message: 'Method not found',
560
- description: 'Method does not exist ',
561
- },
562
- [ERR_RPC_INVALID_PARAMS]: {
563
- message: 'Invalid params',
564
- description: 'Invalid method parameters',
565
- },
566
- [ERR_RPC_INTERNAL_ERROR]: {
567
- message: 'Internal error',
568
- description: 'Internal JSON-RPC error',
569
- },
570
- [ERR_RPC_INVALID_INPUT]: {
571
- message: 'Invalid input',
572
- description: 'Missing or invalid parameters',
573
- },
574
- [ERR_RPC_MISSING_RESOURCE]: {
575
- message: 'Resource not found',
576
- description: 'Requested resource not found',
577
- },
578
- [ERR_RPC_UNAVAILABLE_RESOURCE]: {
579
- message: 'Resource unavailable',
580
- description: 'Requested resource not available',
581
- },
582
- [ERR_RPC_TRANSACTION_REJECTED]: {
583
- message: 'Transaction rejected',
584
- description: 'Transaction creation failed',
585
- },
586
- [ERR_RPC_UNSUPPORTED_METHOD]: {
587
- message: 'Method not supported',
588
- description: 'Method is not implemented',
589
- },
590
- [ERR_RPC_LIMIT_EXCEEDED]: {
591
- message: 'Limit exceeded',
592
- description: 'Request exceeds defined limit',
593
- },
594
- [ERR_RPC_NOT_SUPPORTED]: {
595
- message: 'JSON-RPC version not supported',
596
- description: 'Version of JSON-RPC protocol is not supported',
597
- },
598
- // EIP-1193
599
- // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md#provider-errors
600
- [JSONRPC_ERR_REJECTED_REQUEST]: {
601
- name: 'User Rejected Request',
602
- message: 'The user rejected the request.',
603
- },
604
- [JSONRPC_ERR_UNAUTHORIZED]: {
605
- name: 'Unauthorized',
606
- message: 'The requested method and/or account has not been authorized by the user.',
607
- },
608
- [JSONRPC_ERR_UNSUPPORTED_METHOD]: {
609
- name: 'Unsupported Method',
610
- message: 'The Provider does not support the requested method.',
611
- },
612
- [JSONRPC_ERR_DISCONNECTED]: {
613
- name: 'Disconnected',
614
- message: 'The Provider is disconnected from all chains.',
615
- },
616
- [JSONRPC_ERR_CHAIN_DISCONNECTED]: {
617
- name: 'Chain Disconnected',
618
- message: 'The Provider is not connected to the requested chain.',
619
- },
620
- // EIP-1193 - CloseEvent
621
- // https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code
622
- '0-999': {
623
- name: '',
624
- message: 'Not used.',
625
- },
626
- 1000: {
627
- name: 'Normal Closure',
628
- message: 'The connection successfully completed the purpose for which it was created.',
629
- },
630
- 1001: {
631
- name: 'Going Away',
632
- message: 'The endpoint is going away, either because of a server failure or because the browser is navigating away from the page that opened the connection.',
633
- },
634
- 1002: {
635
- name: 'Protocol error',
636
- message: 'The endpoint is terminating the connection due to a protocol error.',
637
- },
638
- 1003: {
639
- name: 'Unsupported Data',
640
- message: 'The connection is being terminated because the endpoint received data of a type it cannot accept. (For example, a text-only endpoint received binary data.)',
641
- },
642
- 1004: {
643
- name: 'Reserved',
644
- message: 'Reserved. A meaning might be defined in the future.',
645
- },
646
- 1005: {
647
- name: 'No Status Rcvd',
648
- message: 'Reserved. Indicates that no status code was provided even though one was expected.',
649
- },
650
- 1006: {
651
- name: 'Abnormal Closure',
652
- message: 'Reserved. Indicates that a connection was closed abnormally (that is, with no close frame being sent) when a status code is expected.',
653
- },
654
- 1007: {
655
- name: 'Invalid frame payload data',
656
- message: 'The endpoint is terminating the connection because a message was received that contained inconsistent data (e.g., non-UTF-8 data within a text message).',
657
- },
658
- 1008: {
659
- name: 'Policy Violation',
660
- message: 'The endpoint is terminating the connection because it received a message that violates its policy. This is a generic status code, used when codes 1003 and 1009 are not suitable.',
661
- },
662
- 1009: {
663
- name: 'Message Too Big',
664
- message: 'The endpoint is terminating the connection because a data frame was received that is too large.',
665
- },
666
- 1010: {
667
- name: 'Mandatory Ext.',
668
- message: "The client is terminating the connection because it expected the server to negotiate one or more extension, but the server didn't.",
669
- },
670
- 1011: {
671
- name: 'Internal Error',
672
- message: 'The server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.',
673
- },
674
- 1012: {
675
- name: 'Service Restart',
676
- message: 'The server is terminating the connection because it is restarting.',
677
- },
678
- 1013: {
679
- name: 'Try Again Later',
680
- message: 'The server is terminating the connection due to a temporary condition, e.g. it is overloaded and is casting off some of its clients.',
681
- },
682
- 1014: {
683
- name: 'Bad Gateway',
684
- message: 'The server was acting as a gateway or proxy and received an invalid response from the upstream server. This is similar to 502 HTTP Status Code.',
685
- },
686
- 1015: {
687
- name: 'TLS handshake',
688
- message: "Reserved. Indicates that the connection was closed due to a failure to perform a TLS handshake (e.g., the server certificate can't be verified).",
689
- },
690
- '1016-2999': {
691
- name: '',
692
- message: 'For definition by future revisions of the WebSocket Protocol specification, and for definition by extension specifications.',
693
- },
694
- '3000-3999': {
695
- name: '',
696
- message: 'For use by libraries, frameworks, and applications. These status codes are registered directly with IANA. The interpretation of these codes is undefined by the WebSocket protocol.',
697
- },
698
- '4000-4999': {
699
- name: '',
700
- message: "For private use, and thus can't be registered. Such codes can be used by prior agreements between WebSocket applications. The interpretation of these codes is undefined by the WebSocket protocol.",
701
- },
702
- };
703
-
704
- /*
705
- This file is part of web3.js.
706
-
707
- web3.js is free software: you can redistribute it and/or modify
708
- it under the terms of the GNU Lesser General Public License as published by
709
- the Free Software Foundation, either version 3 of the License, or
710
- (at your option) any later version.
711
-
712
- web3.js is distributed in the hope that it will be useful,
713
- but WITHOUT ANY WARRANTY; without even the implied warranty of
714
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
715
- GNU Lesser General Public License for more details.
716
-
717
- You should have received a copy of the GNU Lesser General Public License
718
- along with web3.js. If not, see <http://www.gnu.org/licenses/>.
719
- */
720
- class RpcError extends BaseWeb3Error {
721
- constructor(rpcError, message) {
722
- super(message !== null && message !== void 0 ? message : genericRpcErrorMessageTemplate.replace('*code*', rpcError.error.code.toString()));
723
- this.code = rpcError.error.code;
724
- this.id = rpcError.id;
725
- this.jsonrpc = rpcError.jsonrpc;
726
- this.jsonRpcError = rpcError.error;
727
- }
728
- toJSON() {
729
- return Object.assign(Object.assign({}, super.toJSON()), { error: this.jsonRpcError, id: this.id, jsonRpc: this.jsonrpc });
730
- }
731
- }
732
- class ParseError extends RpcError {
733
- constructor(rpcError) {
734
- super(rpcError, RpcErrorMessages[ERR_RPC_INVALID_JSON].message);
735
- this.code = ERR_RPC_INVALID_JSON;
736
- }
737
- }
738
- class InvalidRequestError extends RpcError {
739
- constructor(rpcError) {
740
- super(rpcError, RpcErrorMessages[ERR_RPC_INVALID_REQUEST].message);
741
- this.code = ERR_RPC_INVALID_REQUEST;
742
- }
743
- }
744
- class MethodNotFoundError extends RpcError {
745
- constructor(rpcError) {
746
- super(rpcError, RpcErrorMessages[ERR_RPC_INVALID_METHOD].message);
747
- this.code = ERR_RPC_INVALID_METHOD;
748
- }
749
- }
750
- class InvalidParamsError extends RpcError {
751
- constructor(rpcError) {
752
- super(rpcError, RpcErrorMessages[ERR_RPC_INVALID_PARAMS].message);
753
- this.code = ERR_RPC_INVALID_PARAMS;
754
- }
755
- }
756
- class InternalError extends RpcError {
757
- constructor(rpcError) {
758
- super(rpcError, RpcErrorMessages[ERR_RPC_INTERNAL_ERROR].message);
759
- this.code = ERR_RPC_INTERNAL_ERROR;
760
- }
761
- }
762
- class InvalidInputError extends RpcError {
763
- constructor(rpcError) {
764
- super(rpcError, RpcErrorMessages[ERR_RPC_INVALID_INPUT].message);
765
- this.code = ERR_RPC_INVALID_INPUT;
766
- }
767
- }
768
- class MethodNotSupported extends RpcError {
769
- constructor(rpcError) {
770
- super(rpcError, RpcErrorMessages[ERR_RPC_UNSUPPORTED_METHOD].message);
771
- this.code = ERR_RPC_UNSUPPORTED_METHOD;
772
- }
773
- }
774
- class ResourceUnavailableError extends RpcError {
775
- constructor(rpcError) {
776
- super(rpcError, RpcErrorMessages[ERR_RPC_UNAVAILABLE_RESOURCE].message);
777
- this.code = ERR_RPC_UNAVAILABLE_RESOURCE;
778
- }
779
- }
780
- class ResourcesNotFoundError extends RpcError {
781
- constructor(rpcError) {
782
- super(rpcError, RpcErrorMessages[ERR_RPC_MISSING_RESOURCE].message);
783
- this.code = ERR_RPC_MISSING_RESOURCE;
784
- }
785
- }
786
- class VersionNotSupportedError extends RpcError {
787
- constructor(rpcError) {
788
- super(rpcError, RpcErrorMessages[ERR_RPC_NOT_SUPPORTED].message);
789
- this.code = ERR_RPC_NOT_SUPPORTED;
790
- }
791
- }
792
- class TransactionRejectedError extends RpcError {
793
- constructor(rpcError) {
794
- super(rpcError, RpcErrorMessages[ERR_RPC_TRANSACTION_REJECTED].message);
795
- this.code = ERR_RPC_TRANSACTION_REJECTED;
796
- }
797
- }
798
- class LimitExceededError extends RpcError {
799
- constructor(rpcError) {
800
- super(rpcError, RpcErrorMessages[ERR_RPC_LIMIT_EXCEEDED].message);
801
- this.code = ERR_RPC_LIMIT_EXCEEDED;
802
- }
803
- }
804
- const rpcErrorsMap = new Map();
805
- rpcErrorsMap.set(ERR_RPC_INVALID_JSON, { error: ParseError });
806
- rpcErrorsMap.set(ERR_RPC_INVALID_REQUEST, {
807
- error: InvalidRequestError,
808
- });
809
- rpcErrorsMap.set(ERR_RPC_INVALID_METHOD, {
810
- error: MethodNotFoundError,
811
- });
812
- rpcErrorsMap.set(ERR_RPC_INVALID_PARAMS, { error: InvalidParamsError });
813
- rpcErrorsMap.set(ERR_RPC_INTERNAL_ERROR, { error: InternalError });
814
- rpcErrorsMap.set(ERR_RPC_INVALID_INPUT, { error: InvalidInputError });
815
- rpcErrorsMap.set(ERR_RPC_UNSUPPORTED_METHOD, {
816
- error: MethodNotSupported,
817
- });
818
- rpcErrorsMap.set(ERR_RPC_UNAVAILABLE_RESOURCE, {
819
- error: ResourceUnavailableError,
820
- });
821
- rpcErrorsMap.set(ERR_RPC_TRANSACTION_REJECTED, {
822
- error: TransactionRejectedError,
823
- });
824
- rpcErrorsMap.set(ERR_RPC_MISSING_RESOURCE, {
825
- error: ResourcesNotFoundError,
826
- });
827
- rpcErrorsMap.set(ERR_RPC_NOT_SUPPORTED, {
828
- error: VersionNotSupportedError,
829
- });
830
- rpcErrorsMap.set(ERR_RPC_LIMIT_EXCEEDED, { error: LimitExceededError });
831
-
832
- /*
833
- This file is part of web3.js.
834
-
835
- web3.js is free software: you can redistribute it and/or modify
836
- it under the terms of the GNU Lesser General Public License as published by
837
- the Free Software Foundation, either version 3 of the License, or
838
- (at your option) any later version.
839
-
840
- web3.js is distributed in the hope that it will be useful,
841
- but WITHOUT ANY WARRANTY; without even the implied warranty of
842
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
843
- GNU Lesser General Public License for more details.
844
-
845
- You should have received a copy of the GNU Lesser General Public License
846
- along with web3.js. If not, see <http://www.gnu.org/licenses/>.
847
- */
848
- /**
849
- * checks input if typeof data is valid string input
850
- */
851
- const isHexStrict = (hex) => typeof hex === 'string' && /^((-)?0x[0-9a-f]+|(0x))$/i.test(hex);
852
-
853
- /*
854
- This file is part of web3.js.
855
-
856
- web3.js is free software: you can redistribute it and/or modify
857
- it under the terms of the GNU Lesser General Public License as published by
858
- the Free Software Foundation, either version 3 of the License, or
859
- (at your option) any later version.
860
-
861
- web3.js is distributed in the hope that it will be useful,
862
- but WITHOUT ANY WARRANTY; without even the implied warranty of
863
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
864
- GNU Lesser General Public License for more details.
865
-
866
- You should have received a copy of the GNU Lesser General Public License
867
- along with web3.js. If not, see <http://www.gnu.org/licenses/>.
868
- */
869
- function uint8ArrayToHexString(uint8Array) {
870
- let hexString = '0x';
871
- for (const e of uint8Array) {
872
- const hex = e.toString(16);
873
- hexString += hex.length === 1 ? `0${hex}` : hex;
874
- }
875
- return hexString;
876
- }
877
- // @TODO: Remove this function and its usages once all sub dependencies uses version 1.3.3 or above of @noble/hashes
878
- function ensureIfUint8Array(data) {
879
- var _a;
880
- if (!(data instanceof Uint8Array) &&
881
- ((_a = data === null || data === void 0 ? void 0 : data.constructor) === null || _a === void 0 ? void 0 : _a.name) === 'Uint8Array') {
882
- return Uint8Array.from(data);
883
- }
884
- return data;
885
- }
886
-
887
- /*
888
- This file is part of web3.js.
889
-
890
- web3.js is free software: you can redistribute it and/or modify
891
- it under the terms of the GNU Lesser General Public License as published by
892
- the Free Software Foundation, either version 3 of the License, or
893
- (at your option) any later version.
894
-
895
- web3.js is distributed in the hope that it will be useful,
896
- but WITHOUT ANY WARRANTY; without even the implied warranty of
897
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
898
- GNU Lesser General Public License for more details.
899
-
900
- You should have received a copy of the GNU Lesser General Public License
901
- along with web3.js. If not, see <http://www.gnu.org/licenses/>.
902
- */
903
- /**
904
- * checks input if typeof data is valid Uint8Array input
905
- */
906
- const isUint8Array = (data) => { var _a, _b; return data instanceof Uint8Array || ((_a = data === null || data === void 0 ? void 0 : data.constructor) === null || _a === void 0 ? void 0 : _a.name) === 'Uint8Array' || ((_b = data === null || data === void 0 ? void 0 : data.constructor) === null || _b === void 0 ? void 0 : _b.name) === 'Buffer'; };
907
-
908
- /*
909
- This file is part of web3.js.
910
-
911
- web3.js is free software: you can redistribute it and/or modify
912
- it under the terms of the GNU Lesser General Public License as published by
913
- the Free Software Foundation, either version 3 of the License, or
914
- (at your option) any later version.
915
-
916
- web3.js is distributed in the hope that it will be useful,
917
- but WITHOUT ANY WARRANTY; without even the implied warranty of
918
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
919
- GNU Lesser General Public License for more details.
920
-
921
- You should have received a copy of the GNU Lesser General Public License
922
- along with web3.js. If not, see <http://www.gnu.org/licenses/>.
923
- */
924
- /**
925
- * Checks the checksum of a given address. Will also return false on non-checksum addresses.
926
- */
927
- const checkAddressCheckSum = (data) => {
928
- if (!/^(0x)?[0-9a-f]{40}$/i.test(data))
929
- return false;
930
- const address = data.slice(2);
931
- const updatedData = utf8ToBytes$1(address.toLowerCase());
932
- const addressHash = uint8ArrayToHexString(keccak256(ensureIfUint8Array(updatedData))).slice(2);
933
- for (let i = 0; i < 40; i += 1) {
934
- // the nth letter should be uppercase if the nth digit of casemap is 1
935
- if ((parseInt(addressHash[i], 16) > 7 && address[i].toUpperCase() !== address[i]) ||
936
- (parseInt(addressHash[i], 16) <= 7 && address[i].toLowerCase() !== address[i])) {
937
- return false;
938
- }
939
- }
940
- return true;
941
- };
942
- /**
943
- * Checks if a given string is a valid Ethereum address. It will also check the checksum, if the address has upper and lowercase letters.
944
- */
945
- const isAddress = (value, checkChecksum = true) => {
946
- if (typeof value !== 'string' && !isUint8Array(value)) {
947
- return false;
948
- }
949
- let valueToCheck;
950
- if (isUint8Array(value)) {
951
- valueToCheck = uint8ArrayToHexString(value);
952
- }
953
- else if (typeof value === 'string' && !isHexStrict(value)) {
954
- valueToCheck = value.toLowerCase().startsWith('0x') ? value : `0x${value}`;
955
- }
956
- else {
957
- valueToCheck = value;
958
- }
959
- // check if it has the basic requirements of an address
960
- if (!/^(0x)?[0-9a-f]{40}$/i.test(valueToCheck)) {
961
- return false;
962
- }
963
- // If it's ALL lowercase or ALL upppercase
964
- if (/^(0x|0X)?[0-9a-f]{40}$/.test(valueToCheck) ||
965
- /^(0x|0X)?[0-9A-F]{40}$/.test(valueToCheck)) {
966
- return true;
967
- // Otherwise check each case
968
- }
969
- return checkChecksum ? checkAddressCheckSum(valueToCheck) : true;
970
- };
971
-
972
- /*
973
- This file is part of web3.js.
974
-
975
- web3.js is free software: you can redistribute it and/or modify
976
- it under the terms of the GNU Lesser General Public License as published by
977
- the Free Software Foundation, either version 3 of the License, or
978
- (at your option) any later version.
979
-
980
- web3.js is distributed in the hope that it will be useful,
981
- but WITHOUT ANY WARRANTY; without even the implied warranty of
982
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
983
- GNU Lesser General Public License for more details.
984
-
985
- You should have received a copy of the GNU Lesser General Public License
986
- along with web3.js. If not, see <http://www.gnu.org/licenses/>.
987
- */
988
- var FMT_NUMBER;
989
- (function (FMT_NUMBER) {
990
- FMT_NUMBER["NUMBER"] = "NUMBER_NUMBER";
991
- FMT_NUMBER["HEX"] = "NUMBER_HEX";
992
- FMT_NUMBER["STR"] = "NUMBER_STR";
993
- FMT_NUMBER["BIGINT"] = "NUMBER_BIGINT";
994
- })(FMT_NUMBER || (FMT_NUMBER = {}));
995
- var FMT_BYTES;
996
- (function (FMT_BYTES) {
997
- FMT_BYTES["HEX"] = "BYTES_HEX";
998
- FMT_BYTES["UINT8ARRAY"] = "BYTES_UINT8ARRAY";
999
- })(FMT_BYTES || (FMT_BYTES = {}));
1000
- ({
1001
- number: FMT_NUMBER.BIGINT,
1002
- bytes: FMT_BYTES.HEX,
1003
- });
1004
- ({ number: FMT_NUMBER.HEX, bytes: FMT_BYTES.HEX });
1005
-
1006
- var BlockTags;
1007
- (function (BlockTags) {
1008
- BlockTags["EARLIEST"] = "earliest";
1009
- BlockTags["LATEST"] = "latest";
1010
- BlockTags["PENDING"] = "pending";
1011
- BlockTags["SAFE"] = "safe";
1012
- BlockTags["FINALIZED"] = "finalized";
1013
- BlockTags["COMMITTED"] = "committed";
1014
- })(BlockTags || (BlockTags = {}));
1015
- // This list of hardforks is expected to be in order
1016
- // keep this in mind when making changes to it
1017
- var HardforksOrdered;
1018
- (function (HardforksOrdered) {
1019
- HardforksOrdered["chainstart"] = "chainstart";
1020
- HardforksOrdered["frontier"] = "frontier";
1021
- HardforksOrdered["homestead"] = "homestead";
1022
- HardforksOrdered["dao"] = "dao";
1023
- HardforksOrdered["tangerineWhistle"] = "tangerineWhistle";
1024
- HardforksOrdered["spuriousDragon"] = "spuriousDragon";
1025
- HardforksOrdered["byzantium"] = "byzantium";
1026
- HardforksOrdered["constantinople"] = "constantinople";
1027
- HardforksOrdered["petersburg"] = "petersburg";
1028
- HardforksOrdered["istanbul"] = "istanbul";
1029
- HardforksOrdered["muirGlacier"] = "muirGlacier";
1030
- HardforksOrdered["berlin"] = "berlin";
1031
- HardforksOrdered["london"] = "london";
1032
- HardforksOrdered["altair"] = "altair";
1033
- HardforksOrdered["arrowGlacier"] = "arrowGlacier";
1034
- HardforksOrdered["grayGlacier"] = "grayGlacier";
1035
- HardforksOrdered["bellatrix"] = "bellatrix";
1036
- HardforksOrdered["merge"] = "merge";
1037
- HardforksOrdered["capella"] = "capella";
1038
- HardforksOrdered["shanghai"] = "shanghai";
1039
- })(HardforksOrdered || (HardforksOrdered = {}));
1040
-
1041
- (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
1042
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1043
- return new (P || (P = Promise))(function (resolve, reject) {
1044
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
1045
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
1046
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
1047
- step((generator = generator.apply(thisArg, _arguments || [])).next());
1048
- });
1049
- };
1050
-
1051
- /*
1052
- This file is part of web3.js.
1053
-
1054
- web3.js is free software: you can redistribute it and/or modify
1055
- it under the terms of the GNU Lesser General Public License as published by
1056
- the Free Software Foundation, either version 3 of the License, or
1057
- (at your option) any later version.
1058
-
1059
- web3.js is distributed in the hope that it will be useful,
1060
- but WITHOUT ANY WARRANTY; without even the implied warranty of
1061
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1062
- GNU Lesser General Public License for more details.
1063
-
1064
- You should have received a copy of the GNU Lesser General Public License
1065
- along with web3.js. If not, see <http://www.gnu.org/licenses/>.
1066
- */
1067
- // Explicitly check for the
1068
- // eslint-disable-next-line @typescript-eslint/ban-types
1069
- const isNullish = (item) =>
1070
- // Using "null" value intentionally for validation
1071
- // eslint-disable-next-line no-null/no-null
1072
- item === undefined || item === null;
1073
-
1074
- /*
1075
- This file is part of web3.js.
1076
-
1077
- web3.js is free software: you can redistribute it and/or modify
1078
- it under the terms of the GNU Lesser General Public License as published by
1079
- the Free Software Foundation, either version 3 of the License, or
1080
- (at your option) any later version.
1081
-
1082
- web3.js is distributed in the hope that it will be useful,
1083
- but WITHOUT ANY WARRANTY; without even the implied warranty of
1084
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1085
- GNU Lesser General Public License for more details.
1086
-
1087
- You should have received a copy of the GNU Lesser General Public License
1088
- along with web3.js. If not, see <http://www.gnu.org/licenses/>.
1089
- */
1090
- /**
1091
- * @module Utils
1092
- */
1093
- // Ref: https://ethdocs.org/en/latest/ether.html
1094
- // Note: this could be simplified using ** operator, but babel does not handle it well (https://github.com/babel/babel/issues/13109)
1095
- /** @internal */
1096
- ({
1097
- noether: BigInt(0),
1098
- wei: BigInt(1),
1099
- kwei: BigInt(1000),
1100
- Kwei: BigInt(1000),
1101
- babbage: BigInt(1000),
1102
- femtoether: BigInt(1000),
1103
- mwei: BigInt(1000000),
1104
- Mwei: BigInt(1000000),
1105
- lovelace: BigInt(1000000),
1106
- picoether: BigInt(1000000),
1107
- gwei: BigInt(1000000000),
1108
- Gwei: BigInt(1000000000),
1109
- shannon: BigInt(1000000000),
1110
- nanoether: BigInt(1000000000),
1111
- nano: BigInt(1000000000),
1112
- szabo: BigInt(1000000000000),
1113
- microether: BigInt(1000000000000),
1114
- micro: BigInt(1000000000000),
1115
- finney: BigInt(1000000000000000),
1116
- milliether: BigInt(1000000000000000),
1117
- milli: BigInt(1000000000000000),
1118
- ether: BigInt('1000000000000000000'),
1119
- kether: BigInt('1000000000000000000000'),
1120
- grand: BigInt('1000000000000000000000'),
1121
- mether: BigInt('1000000000000000000000000'),
1122
- gether: BigInt('1000000000000000000000000000'),
1123
- tether: BigInt('1000000000000000000000000000000'),
1124
- });
1125
- const utf8ToBytes = utf8ToBytes$1;
1126
- /**
1127
- * Will convert an upper or lowercase Ethereum address to a checksum address.
1128
- * @param address - An address string
1129
- * @returns The checksum address
1130
- * @example
1131
- * ```ts
1132
- * web3.utils.toChecksumAddress('0xc1912fee45d61c87cc5ea59dae31190fffff232d');
1133
- * > "0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d"
1134
- * ```
1135
- */
1136
- const toChecksumAddress = (address) => {
1137
- if (!isAddress(address, false)) {
1138
- throw new InvalidAddressError(address);
1139
- }
1140
- const lowerCaseAddress = address.toLowerCase().replace(/^0x/i, '');
1141
- // calling `Uint8Array.from` because `noble-hashes` checks with `instanceof Uint8Array` that fails in some edge cases:
1142
- // https://github.com/paulmillr/noble-hashes/issues/25#issuecomment-1750106284
1143
- const hash = uint8ArrayToHexString(keccak256(ensureIfUint8Array(utf8ToBytes(lowerCaseAddress))));
1144
- if (isNullish(hash) ||
1145
- hash === '0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470')
1146
- return ''; // // EIP-1052 if hash is equal to c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470, keccak was given empty data
1147
- let checksumAddress = '0x';
1148
- const addressHash = hash.replace(/^0x/i, '');
1149
- for (let i = 0; i < lowerCaseAddress.length; i += 1) {
1150
- // If ith character is 8 to f then make it uppercase
1151
- if (parseInt(addressHash[i], 16) > 7) {
1152
- checksumAddress += lowerCaseAddress[i].toUpperCase();
1153
- }
1154
- else {
1155
- checksumAddress += lowerCaseAddress[i];
1156
- }
1157
- }
1158
- return checksumAddress;
1159
- };
1160
-
1161
- const style = ":host {\n display: inline-flex\n}";
1162
-
1163
- var __defProp = Object.defineProperty;
1164
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
1165
- var __decorateClass = (decorators, target, key, kind) => {
1166
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
1167
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
1168
- if (decorator = decorators[i])
1169
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1170
- if (kind && result) __defProp(target, key, result);
1171
- return result;
1172
- };
1173
- let LuksoUsername = class extends TailwindStyledElement(style) {
1174
- constructor() {
1175
- super(...arguments);
1176
- this.name = "";
1177
- this.address = "";
1178
- this.maxWidth = 200;
1179
- this.size = "large";
1180
- this.sliceBy = 8;
1181
- this.addressColor = "";
1182
- this.nameColor = "";
1183
- this.customClass = "";
1184
- this.hidePrefix = false;
1185
- this.prefix = "@";
1186
- this.noTransform = false;
1187
- /** Width of the first 4 bytes of the address */
1188
- this.bytesWidth = 52;
1189
- this.styles = ce({
1190
- slots: {
1191
- wrapper: "inline-flex",
1192
- name: "inline-block whitespace-nowrap overflow-hidden text-ellipsis",
1193
- address: "inline-block",
1194
- bytes: "inline-block"
1195
- },
1196
- variants: {
1197
- size: {
1198
- "2x-small": {
1199
- wrapper: "paragraph-ptmono-10-bold"
1200
- },
1201
- "x-small": {
1202
- wrapper: "paragraph-ptmono-10-bold"
1203
- },
1204
- small: {
1205
- wrapper: "paragraph-ptmono-12-bold"
1206
- },
1207
- medium: {
1208
- wrapper: "paragraph-ptmono-14-bold"
1209
- },
1210
- large: {
1211
- wrapper: "paragraph-ptmono-16-bold"
1212
- },
1213
- "x-large": {
1214
- wrapper: "paragraph-ptmono-24-bold"
1215
- },
1216
- "2x-large": {
1217
- wrapper: "paragraph-ptmono-24-bold"
1218
- }
1219
- },
1220
- hasNameColor: {
1221
- false: {
1222
- name: "text-transparent bg-clip-text bg-gradient-to-r from-gradient-1-start to-gradient-1-end"
1223
- }
1224
- },
1225
- hasAddressColor: {
1226
- false: {
1227
- address: "text-neutral-20",
1228
- bytes: "text-neutral-60"
1229
- }
1230
- }
1231
- }
1232
- });
1233
- }
1234
- transformName(name) {
1235
- if (this.noTransform) {
1236
- return name;
1237
- }
1238
- return name?.toLowerCase();
1239
- }
1240
- transformAddress(address) {
1241
- if (this.noTransform || !isAddress$1(address)) {
1242
- return address;
1243
- }
1244
- try {
1245
- return toChecksumAddress(address);
1246
- } catch (error) {
1247
- console.warn(error);
1248
- return address;
1249
- }
1250
- }
1251
- addressBytesTemplate(styles) {
1252
- const address = this.transformAddress(this.address);
1253
- return x`<div
1254
- class=${styles}
1255
- style=${customStyleMap({
1256
- [`color: var(--${this.addressColor})`]: this.addressColor !== ""
1257
- })}
1258
- >
1259
- #${address.slice(2, 6)}
1260
- </div>`;
1261
- }
1262
- nameTemplate(styles) {
1263
- const name = this.transformName(this.name);
1264
- return x`<div
1265
- class=${styles}
1266
- style=${customStyleMap({
1267
- [`max-width: ${this.maxWidth - (this.address ? this.bytesWidth : 0)}px`]: true,
1268
- [`color: var(--${this.nameColor})`]: this.nameColor !== ""
1269
- })}
1270
- >
1271
- ${this.hidePrefix ? E : this.prefix}${name}
1272
- </div>`;
1273
- }
1274
- addressTemplate(styles) {
1275
- const address = this.transformAddress(this.address);
1276
- return x`<div
1277
- class=${styles}
1278
- style=${customStyleMap({
1279
- [`color: var(--${this.addressColor})`]: this.addressColor !== ""
1280
- })}
1281
- >
1282
- ${sliceAddress(address, this.sliceBy, this.sliceBy)}
1283
- </div>`;
1284
- }
1285
- render() {
1286
- const { wrapper, name, address, bytes } = this.styles({
1287
- size: this.size,
1288
- hasNameColor: this.nameColor !== "",
1289
- hasAddressColor: this.addressColor !== ""
1290
- });
1291
- const template = (() => {
1292
- if (this.name && this.address) {
1293
- return x`${this.nameTemplate(name())}${this.addressBytesTemplate(
1294
- bytes()
1295
- )}`;
1296
- }
1297
- if (this.name) {
1298
- return this.nameTemplate(name());
1299
- }
1300
- if (this.address) {
1301
- return this.addressTemplate(address());
1302
- }
1303
- })();
1304
- return x`<div class=${cn(wrapper(), this.customClass)}>${template}</div>`;
1305
- }
1306
- };
1307
- __decorateClass([
1308
- n({ type: String })
1309
- ], LuksoUsername.prototype, "name", 2);
1310
- __decorateClass([
1311
- n({ type: String })
1312
- ], LuksoUsername.prototype, "address", 2);
1313
- __decorateClass([
1314
- n({ type: Number, attribute: "max-width" })
1315
- ], LuksoUsername.prototype, "maxWidth", 2);
1316
- __decorateClass([
1317
- n({ type: "string" })
1318
- ], LuksoUsername.prototype, "size", 2);
1319
- __decorateClass([
1320
- n({ type: Number, attribute: "slice-by" })
1321
- ], LuksoUsername.prototype, "sliceBy", 2);
1322
- __decorateClass([
1323
- n({ type: String, attribute: "address-color" })
1324
- ], LuksoUsername.prototype, "addressColor", 2);
1325
- __decorateClass([
1326
- n({ type: String, attribute: "name-color" })
1327
- ], LuksoUsername.prototype, "nameColor", 2);
1328
- __decorateClass([
1329
- n({ type: String, attribute: "custom-class" })
1330
- ], LuksoUsername.prototype, "customClass", 2);
1331
- __decorateClass([
1332
- n({ type: Boolean, attribute: "hide-prefix" })
1333
- ], LuksoUsername.prototype, "hidePrefix", 2);
1334
- __decorateClass([
1335
- n({ type: String })
1336
- ], LuksoUsername.prototype, "prefix", 2);
1337
- __decorateClass([
1338
- n({ type: Boolean, attribute: "no-transform" })
1339
- ], LuksoUsername.prototype, "noTransform", 2);
1340
- LuksoUsername = __decorateClass([
1341
- safeCustomElement("lukso-username")
1342
- ], LuksoUsername);
1343
-
1344
- export { LuksoUsername as L, sliceAddress as s };