@dcl/shop 0.1.0-30341633105.commit-bfa7613 → 0.1.0-30347128512.commit-fa777d2

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 (170) hide show
  1. package/assets/{Activity-DUQW_Z22.js → Activity-eJFv6ymH.js} +2 -2
  2. package/assets/{AnimatedBackground-D5TaGH4y.js → AnimatedBackground-Bjg_dM62.js} +3 -3
  3. package/assets/{Assets-B4NCA-FL.js → Assets-DJY-c9rg.js} +2 -2
  4. package/assets/{Assets.styles-CE4c2s9w.js → Assets.styles-9f6mDaEv.js} +1 -1
  5. package/assets/{Authorizations-FSevrZuz.js → Authorizations-xYmMGz1i.js} +1 -1
  6. package/assets/{Button-CVXKA5VS.js → Button-CnbjjJO5.js} +1 -1
  7. package/assets/{Cart-Bwa3a9Hp.js → Cart-Bzhtcjep.js} +1 -1
  8. package/assets/{CircularProgress-B7WalF_4.js → CircularProgress-Dmrktj_R.js} +1 -1
  9. package/assets/{Collection-DdHzXaav.js → Collection-CzfHG3Jx.js} +1 -1
  10. package/assets/{CollectionCarousel-BLfBmiC7.js → CollectionCarousel-wgdFgVLs.js} +1 -1
  11. package/assets/{Creator-B9a3v2rB.js → Creator-CzKCZ1jg.js} +1 -1
  12. package/assets/{ExchangeController-DTUPu5lZ.js → ExchangeController-DUqIwOTZ.js} +1 -1
  13. package/assets/{GetCredits-CEruTT5O.js → GetCredits-hAzqWm5M.js} +57 -57
  14. package/assets/{HelpersUtil-DY1hA3MT.js → HelpersUtil-BJdZT-ZD.js} +1 -1
  15. package/assets/{ImportListings-CUNQkt5i.js → ImportListings-CKlnt9Z6.js} +1 -1
  16. package/assets/{ItemDetail-gPIjOR_D.js → ItemDetail-Bkx3_3eQ.js} +3 -3
  17. package/assets/{LoadMore-K8EfO7If.js → LoadMore-CAh6doss.js} +1 -1
  18. package/assets/{MarketCheckout-BlfeUpjX.js → MarketCheckout-FIvhuZ3q.js} +1 -1
  19. package/assets/{MenuList-DPrUOTQw.js → MenuList-DxlQfd2X.js} +1 -1
  20. package/assets/{MyAssets-qLOA_5tD.js → MyAssets-CMBD-Ngx.js} +1 -1
  21. package/assets/{MyFavorites-C1SUs-Jy.js → MyFavorites-Cgr-G9SJ.js} +1 -1
  22. package/assets/{NotFound-hEgIvZDQ.js → NotFound-CaFZy4ut.js} +1 -1
  23. package/assets/{NotificationsBell-BPdngTao.js → NotificationsBell-4tMYFsJw.js} +1 -1
  24. package/assets/{StoreSettings-BvrwDCuq.js → StoreSettings-_jtWsb9j.js} +1 -1
  25. package/assets/{Success-DfPUnbUp.js → Success-CuyF-BMf.js} +1 -1
  26. package/assets/{SwapController-Cvanu67b.js → SwapController-p2JmriC1.js} +1 -1
  27. package/assets/{Tooltip-8SR8hseo.js → Tooltip-CVHiMiqz.js} +1 -1
  28. package/assets/{TradeService-DH4vjiAB.js → TradeService-BYXvSV2J.js} +1 -1
  29. package/assets/{W3MFrameProviderSingleton-DtrTVFth.js → W3MFrameProviderSingleton-CdvVVbWO.js} +3 -3
  30. package/assets/{WebCryptoP256-B_JP0jDJ.js → WebCryptoP256-RIRaftOz.js} +1 -1
  31. package/assets/{authorizations-Dtu8Ye0y.js → authorizations-DMJkwvHN.js} +1 -1
  32. package/assets/{basic-DljOvbvB.js → basic-BEYxallz.js} +1 -1
  33. package/assets/{biconomy-ik7MjMyj.js → biconomy-CTb5Sjfo.js} +1 -1
  34. package/assets/{builder-BsAwBvGZ.js → builder-C9zPgqzY.js} +1 -1
  35. package/assets/{buy-gasless-D6tjB5nW.js → buy-gasless-klfuiHzU.js} +1 -1
  36. package/assets/{buy-CyhVI8ih.js → buy-zrP-t3zp.js} +1 -1
  37. package/assets/{cart-checkout-Bp3fmOrE.js → cart-checkout-D-JbGzKO.js} +1 -1
  38. package/assets/{categories-Jh3tfbEa.js → categories-Cdf5XoX6.js} +1 -1
  39. package/assets/{ccip-fs__7FtW.js → ccip-BCecDdR4.js} +1 -1
  40. package/assets/{ccip-Dn5CKGMr.js → ccip-Ch0XTBQB.js} +1 -1
  41. package/assets/{collection-Cbl5FMco.js → collection-Cbwi-Ykf.js} +1 -1
  42. package/assets/{controller-CFA_t_aX.js → controller-C6EUJbnF.js} +2 -2
  43. package/assets/{core-bscEUkDr.js → core-CSRy0e_M.js} +4 -4
  44. package/assets/{custom-CBNtVqpj.js → custom-B_kqWExa.js} +1 -1
  45. package/assets/{data-capture-OumUBjqI.js → data-capture-CV3sZIEf.js} +1 -1
  46. package/assets/{email-Psj4ILkk.js → email-BSyZQ5Ug.js} +1 -1
  47. package/assets/{embedded-wallet-8Rn02F-5.js → embedded-wallet-mBdS4pUU.js} +1 -1
  48. package/assets/{emotion-styled.browser.esm-D1IYcc-A.js → emotion-styled.browser.esm-C7FrEQY-.js} +1 -1
  49. package/assets/{engine-FKONhXUm.js → engine-QspL2-eT.js} +1 -1
  50. package/assets/{errors-C_tFJwwX.js → errors-DAbZY9SI.js} +1 -1
  51. package/assets/{estimate-l1-fee-CQQK05Yj.js → estimate-l1-fee-DGh1S3rC.js} +1 -1
  52. package/assets/{execute-DvgHhaNY.js → execute-D4k49Xnj.js} +2 -2
  53. package/assets/{features-C_I0ed0g.js → features-CBUzQGYP.js} +1 -1
  54. package/assets/{fetchTokenMetadata-DXP5pKit.js → fetchTokenMetadata-Dt9ABnkf.js} +2 -2
  55. package/assets/{get-ecosystem-wallet-info-CojUzYKW.js → get-ecosystem-wallet-info-BK8ezJ63.js} +1 -1
  56. package/assets/{getBalance-Bi0yMf6a.js → getBalance-l63nBmhp.js} +1 -1
  57. package/assets/{getNFT-uBr4IPr-.js → getNFT-BBMO-39z.js} +1 -1
  58. package/assets/{getNFT-CebGWsfS.js → getNFT-C2Kxe7NW.js} +1 -1
  59. package/assets/{getThemeProps-D9znDKcF.js → getThemeProps-BAQMSm7B.js} +1 -1
  60. package/assets/{hashTypedData-CvnET0ek.js → hashTypedData-yK76SDtz.js} +1 -1
  61. package/assets/{hashTypedData-CmwGgOTV.js → hashTypedData-z3RblDHR.js} +1 -1
  62. package/assets/{import-5htnR-24.js → import-Cj6re7IB.js} +1 -1
  63. package/assets/{in-app-CXNVMtY6.js → in-app-CL3vQ8Yv.js} +1 -1
  64. package/assets/{in-app-wallet-calls-CL_h73Vx.js → in-app-wallet-calls-fq5qF2CS.js} +1 -1
  65. package/assets/{index-sW-sKm0x.js → index-2Xk3H1Oc.js} +1 -1
  66. package/assets/{index-C1UJcewJ.js → index-6GsD_zmA.js} +1 -1
  67. package/assets/{index-CAPIrEyl.js → index-Ao_0yZtx.js} +1 -1
  68. package/assets/{index-BUuFv1bp.js → index-B2nJgezW.js} +1 -1
  69. package/assets/{index-DXqFhRIG.js → index-BAjUWjZ9.js} +2 -2
  70. package/assets/{index-lJWah8De.js → index-BCme8pZp.js} +1 -1
  71. package/assets/{index-Dlw2S5cF.js → index-BIjljlfD.js} +3 -3
  72. package/assets/{index-D_GOecnW.js → index-BKGGk1Fw.js} +1 -1
  73. package/assets/{index-BwVcZ3vw.js → index-BZDi2bJp.js} +1 -1
  74. package/assets/{index-BF0jg5eX.js → index-BZeeM0tt.js} +1 -1
  75. package/assets/{index-CSdulB00.js → index-B_1Et03N.js} +3 -3
  76. package/assets/{index-CBgD93CB.js → index-B_EntOu0.js} +1 -1
  77. package/assets/{index-VchcND_n.js → index-BdhwhIIA.js} +10 -10
  78. package/assets/{index-CkYGCiA-.js → index-BgmnD0Bm.js} +1 -1
  79. package/assets/{index-Cq9m0rf1.js → index-BstIL6B8.js} +1 -1
  80. package/assets/{index-D3MkM_Ow.js → index-BszhwqjZ.js} +2 -2
  81. package/assets/{index-BqdSTJ_h.js → index-Bti6nPx-.js} +1 -1
  82. package/assets/{index-DVCrh7RP.js → index-BwCDygn2.js} +1 -1
  83. package/assets/{index-BksD36hR.js → index-BwXaPcB2.js} +1 -1
  84. package/assets/{index-D9zmC2OF.js → index-Bx5De6CE.js} +1 -1
  85. package/assets/{index-CvxSD2TZ.js → index-BxqCyrqG.js} +1 -1
  86. package/assets/{index-BBFf3j9R.js → index-BzUrNmEF.js} +1 -1
  87. package/assets/{index-C1Tsxo3r.js → index-CA3v1bQD.js} +1 -1
  88. package/assets/{index-zLpiSX4V.js → index-CB7QJ7yR.js} +2 -2
  89. package/assets/{index-DiarXSIn.js → index-CBXiS-js.js} +1 -1
  90. package/assets/{index-CFnxUGBP.js → index-CB_Wl35a.js} +1 -1
  91. package/assets/{index-DsV59IEv.js → index-CC_NLvt1.js} +1 -1
  92. package/assets/{index-DTjLQDJj.js → index-CeI0yJhC.js} +3 -3
  93. package/assets/{index-BZVhR8G8.js → index-ChiR2URD.js} +1 -1
  94. package/assets/{index-aP6PSm0J.js → index-CmzyNQHY.js} +1 -1
  95. package/assets/{index-CIRaZxV0.js → index-CoDCwP37.js} +1 -1
  96. package/assets/{index-De5m0zpT.js → index-Cx0ZzwkB.js} +1 -1
  97. package/assets/{index-BjJBV4qL.js → index-D10Qa-8Q.js} +1 -1
  98. package/assets/{index-Dcx57z9h.js → index-D703KTq5.js} +1 -1
  99. package/assets/{index-BEwgqhCL.js → index-D7f9PSpo.js} +1 -1
  100. package/assets/{index-VdY2qv1p.js → index-D7r3-q0U.js} +1 -1
  101. package/assets/{index-DhbTDQu0.js → index-DFlXV5Pc.js} +1 -1
  102. package/assets/{index-Ds0rGqyb.js → index-DQ6LOtMx.js} +1 -1
  103. package/assets/{index-C4GKDkj4.js → index-DVq4ZIKX.js} +1 -1
  104. package/assets/{index-D-BpvO4i.js → index-DfzHEJ0Y.js} +1 -1
  105. package/assets/{index-C-dFvnUH.js → index-DhMsVQI9.js} +1 -1
  106. package/assets/{index-BofIoUki.js → index-DldSHFkS.js} +1 -1
  107. package/assets/{index-tf9y--bx.js → index-Dlv9lXjh.js} +1 -1
  108. package/assets/{index-C-3NWHgA.js → index-DmXp5-MY.js} +1 -1
  109. package/assets/{index-scsn5pcE.js → index-DnCPf0Dd.js} +1 -1
  110. package/assets/{index-CLiiVHBN.js → index-Dp04VmhK.js} +1 -1
  111. package/assets/{index-BaeTuT24.js → index-DsGo0VzU.js} +1 -1
  112. package/assets/{index-Ds6dHrLZ.js → index-Dx7iSYKC.js} +1 -1
  113. package/assets/{index-B8HPZU8G.js → index-R7yneMBI.js} +1 -1
  114. package/assets/{index-C5V5wALq.js → index-TEdLKziZ.js} +1 -1
  115. package/assets/{index-Cp-efrxt.js → index-hqJGkjgW.js} +1 -1
  116. package/assets/{index.es-9Zrxu-nr.js → index.es-CY9HYgDS.js} +4 -4
  117. package/assets/{index.es-BwS14sFg.js → index.es-DFy6PIAe.js} +1 -1
  118. package/assets/{index.es-9B4hUsAR.js → index.es-Xsmb-Itv.js} +1 -1
  119. package/assets/{localBatchGatewayRequest-BHik-cdx.js → localBatchGatewayRequest-CDftYM3Y.js} +1 -1
  120. package/assets/{mana-rate-CY9tOCr1.js → mana-rate-DHV9Z9OW.js} +1 -1
  121. package/assets/{networks-Ddkp84aU.js → networks-BdfDt4wL.js} +1 -1
  122. package/assets/{onramp-CeSaj6Aa.js → onramp-BAq14Nfv.js} +1 -1
  123. package/assets/{openzeppelin-CDpkjcS1.js → openzeppelin-BjFBwqKA.js} +1 -1
  124. package/assets/{parseNft-ChsA4Coa.js → parseNft-WlXFdqLF.js} +2 -2
  125. package/assets/{parseSignature--QSaxzyZ.js → parseSignature-BvN7UKEY.js} +3 -3
  126. package/assets/{parseSignature-DFSq1jun.js → parseSignature-CxAFWsh2.js} +1 -1
  127. package/assets/{passkeys-CUsQnAGE.js → passkeys-DEBGhkuP.js} +1 -1
  128. package/assets/{pay-with-exchange-DD3fWFhp.js → pay-with-exchange-DvWg_J7u.js} +1 -1
  129. package/assets/{qr-overlay-FXDRFg86.js → qr-overlay-iuqr9ogp.js} +1 -1
  130. package/assets/{receive-YGf7MQMM.js → receive-Dzi2JClg.js} +1 -1
  131. package/assets/{resolveImplementation-ChZxSPSt.js → resolveImplementation-C-dGW-ru.js} +1 -1
  132. package/assets/{rpc-DcocuHbv.js → rpc-zjmc2EwX.js} +1 -1
  133. package/assets/{secp256k1-2n6IN3fh.js → secp256k1-DfKqmJaF.js} +1 -1
  134. package/assets/{secp256k1-Da2UK_yU.js → secp256k1-O8gz0ioM.js} +1 -1
  135. package/assets/{secp256k1-B6R4GN3D.js → secp256k1-lmNrMAfy.js} +1 -1
  136. package/assets/{send-DM7q2CKX.js → send-BLVRRk0J.js} +1 -1
  137. package/assets/{send-batch-transaction-BQiw5Eds.js → send-batch-transaction-DnO3Izjn.js} +1 -1
  138. package/assets/{send-eip712-transaction-D9_VwAnb.js → send-eip712-transaction-Cewdx89i.js} +2 -2
  139. package/assets/{send-gasless-transaction-fl9Lqf73.js → send-gasless-transaction-Q9ukTPCQ.js} +2 -2
  140. package/assets/{send-transaction-lapcUIfe.js → send-transaction-DAlwpSnE.js} +2 -2
  141. package/assets/{sendMetaTransaction-CydgYVdt.js → sendMetaTransaction-SaUBHgVB.js} +1 -1
  142. package/assets/{sendRawTransaction-CkQeCcPa.js → sendRawTransaction-D5CrLxcS.js} +3 -3
  143. package/assets/{serializeTransaction-CiKWV5oi.js → serializeTransaction-DjtMrOmD.js} +1 -1
  144. package/assets/{session-proposal-C1hZCkvv.js → session-proposal-CjBY-WFu.js} +1 -1
  145. package/assets/{session-request-BTvx34S0.js → session-request-Bus_0b3e.js} +2 -2
  146. package/assets/{signing-clXGZp7N.js → signing-DqI8cCUS.js} +3 -3
  147. package/assets/{socials-Djo-_tRh.js → socials-BVbJKC5k.js} +1 -1
  148. package/assets/{swaps-BwoxWJmp.js → swaps-C-LDjTCR.js} +1 -1
  149. package/assets/{thirdweb-DIYiKqri.js → thirdweb-C25BYG7i.js} +3 -3
  150. package/assets/{to-serializable-transaction-_IYF-b5r.js → to-serializable-transaction-B_IZoFlk.js} +2 -2
  151. package/assets/{trade-encoding-DbssSNOL.js → trade-encoding-oV0MV6zA.js} +1 -1
  152. package/assets/{transactionReceipt-dAN1T4b9.js → transactionReceipt-B5CHc_d7.js} +1 -1
  153. package/assets/{transactions-V175lLd8.js → transactions-C54yTH1n.js} +1 -1
  154. package/assets/useCreditPacks-CqK2ArSn.js +1 -0
  155. package/assets/{useInfiniteGrid-S2Upf1Ae.js → useInfiniteGrid-BjepR_Mr.js} +1 -1
  156. package/assets/useManaRate-DlMC8eER.js +1 -0
  157. package/assets/{useStore-BEtv4alq.js → useStore-BCigKXty.js} +1 -1
  158. package/assets/{useTheme-BoNUL1hb.js → useTheme-0QOVKbIa.js} +1 -1
  159. package/assets/{verifyHash-CSBAlIiR.js → verifyHash-LbzNhN2f.js} +1 -1
  160. package/assets/{w3m-modal-CXjKWsrV.js → w3m-modal-BsUqbELC.js} +1 -1
  161. package/assets/{w3m-modal-DVav-Ijf.js → w3m-modal-DjU8voGA.js} +1 -1
  162. package/assets/{wait-for-tx-receipt-CRuc-ylw.js → wait-for-tx-receipt-D_8xkyQQ.js} +1 -1
  163. package/assets/{wallets-C2Qy7KSV.js → wallets-B69-HxcI.js} +5 -5
  164. package/assets/{web-connector-D4itPEVN.js → web-connector-CspD6Rab.js} +3 -3
  165. package/assets/{writeContract-BR9KO0Ok.js → writeContract-CHmB_QOJ.js} +1 -1
  166. package/assets/{zoraTestnet-VaouiZC2.js → zoraTestnet-Duru9tif.js} +1 -1
  167. package/index.html +11 -11
  168. package/package.json +2 -2
  169. package/assets/useCreditPacks-B8su_g3G.js +0 -1
  170. package/assets/useManaRate-CCWK1pxl.js +0 -1
@@ -1,4 +1,4 @@
1
- import{i as b,b as l}from"./lit-element-B3y9oplH.js";import{n as s}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-BqdSTJ_h.js";import{d as m,r as f,e as v}from"./index-Dlw2S5cF.js";const h=m`
1
+ import{i as b,b as l}from"./lit-element-B3y9oplH.js";import{n as s}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-Bti6nPx-.js";import{d as m,r as f,e as v}from"./index-BIjljlfD.js";const h=m`
2
2
  button {
3
3
  border: none;
4
4
  background: transparent;
@@ -1,4 +1,4 @@
1
- import{w as f,i as w,b as l}from"./lit-element-B3y9oplH.js";import{n as o,o as y}from"./class-map-CxwNmq0D.js";import{c as v,U as $}from"./index-BqdSTJ_h.js";import"./index-Cq9m0rf1.js";import{d as b,r as x,e as z}from"./index-Dlw2S5cF.js";import"./index-DVCrh7RP.js";const S=f`<svg width="86" height="96" fill="none">
1
+ import{w as f,i as w,b as l}from"./lit-element-B3y9oplH.js";import{n as o,o as y}from"./class-map-CxwNmq0D.js";import{c as v,U as $}from"./index-Bti6nPx-.js";import"./index-BstIL6B8.js";import{d as b,r as x,e as z}from"./index-BIjljlfD.js";import"./index-BwCDygn2.js";const S=f`<svg width="86" height="96" fill="none">
2
2
  <path
3
3
  d="M78.3244 18.926L50.1808 2.45078C45.7376 -0.150261 40.2624 -0.150262 35.8192 2.45078L7.6756 18.926C3.23322 21.5266 0.5 26.3301 0.5 31.5248V64.4752C0.5 69.6699 3.23322 74.4734 7.6756 77.074L35.8192 93.5492C40.2624 96.1503 45.7376 96.1503 50.1808 93.5492L78.3244 77.074C82.7668 74.4734 85.5 69.6699 85.5 64.4752V31.5248C85.5 26.3301 82.7668 21.5266 78.3244 18.926Z"
4
4
  />
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/add-gtH78Af8.js","assets/lit-element-B3y9oplH.js","assets/all-wallets-Bu4MasoZ.js","assets/arrow-bottom-circle-Bm7U8Xm5.js","assets/app-store-geBbzx8r.js","assets/apple-DbX-KO3Q.js","assets/arrow-bottom-NgyJiryy.js","assets/arrow-left-Bx8XJo4p.js","assets/arrow-right-CpmwAcz3.js","assets/arrow-top-CXuApiRq.js","assets/bank-B-AtGavB.js","assets/browser-GaKxoKgI.js","assets/card-DY_lirot.js","assets/checkmark-B_Gn6_T7.js","assets/checkmark-bold-B4Vhr71f.js","assets/chevron-bottom-DkjlNWaH.js","assets/chevron-left-t2d7IYla.js","assets/chevron-right-BpvBfQlF.js","assets/chevron-top-DaNUAgN3.js","assets/chrome-store-BrYSyOan.js","assets/clock-CM52yIf5.js","assets/close-CcVztAR5.js","assets/compass-Dnpz_bMX.js","assets/coinPlaceholder-A0d_T23w.js","assets/copy-OgObxpD0.js","assets/cursor-TGA47xsa.js","assets/cursor-transparent-ChuRXHZT.js","assets/desktop-DSYLUYtr.js","assets/disconnect-DOu0l9hw.js","assets/discord-DSagmLDU.js","assets/etherscan-BQWJnhdU.js","assets/extension-BCceciJ0.js","assets/external-link-nniZ8T-z.js","assets/facebook-C8cFHJmd.js","assets/farcaster-VVYMNsPV.js","assets/filters-IQcwAHNQ.js","assets/github-CUGKA0gF.js","assets/google-ICSz-zKJ.js","assets/help-circle-DUmb3lur.js","assets/image-CcAGLSqv.js","assets/id-CcMBGK0y.js","assets/info-circle-BRf2hsXl.js","assets/lightbulb-DxzqU2aA.js","assets/mail-GTcep6d_.js","assets/mobile-CxfewOOf.js","assets/more-B1GNyGbD.js","assets/network-placeholder-CaAIn0go.js","assets/nftPlaceholder-CcKWs410.js","assets/off-AGLeyIW1.js","assets/play-store-DauY6Xkj.js","assets/plus-C1iVend5.js","assets/qr-code-D9x4W1o0.js","assets/recycle-horizontal-BZndf3A8.js","assets/refresh-BVUyDU7W.js","assets/search-CmKy7FIM.js","assets/send-1nI1S_8r.js","assets/swapHorizontal-DtPyG-1F.js","assets/swapHorizontalMedium-BF57TL40.js","assets/swapHorizontalBold-iZFfQZST.js","assets/swapHorizontalRoundedBold-KJaF8iLR.js","assets/swapVertical-BPHOH9K5.js","assets/telegram-DZ8t7D__.js","assets/three-dots-RSAQzvrm.js","assets/twitch-ClCm-_yi.js","assets/x-CJLl3cK1.js","assets/twitterIcon-CFdE9cDK.js","assets/verify-DBW23CTN.js","assets/verify-filled-hMsYvnXR.js","assets/wallet-B1K8se3b.js","assets/walletconnect-BTykUwcd.js","assets/wallet-placeholder-rTto8m3y.js","assets/warning-circle-CR5Zi2hc.js","assets/info-DxBb29bi.js","assets/exclamation-triangle-DlfV2WT2.js","assets/reown-logo-oGjjPiPA.js"])))=>i.map(i=>d[i]);
2
- import{a as S,i as E,b as f,E as z}from"./lit-element-B3y9oplH.js";import{n as l,e as W,a as H}from"./class-map-CxwNmq0D.js";import{r as b,c as B,e as F}from"./core-bscEUkDr.js";import{_ as i}from"./index-VchcND_n.js";import{f as G,n as M}from"./async-directive-BRxn_Py3.js";const h={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:a}){return t.length<=e+r?t:a==="end"?`${t.substring(0,e)}...`:a==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),a=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),s=100-3*Number(n==null?void 0:n.replace("px","")),c=`${s}% ${s}% at 65% 40%`,u=[];for(let p=0;p<5;p+=1){const v=this.tintColor(a,.15*p);u.push(`rgb(${v[0]}, ${v[1]}, ${v[2]})`)}return`
2
+ import{a as S,i as E,b as f,E as z}from"./lit-element-B3y9oplH.js";import{n as l,e as W,a as H}from"./class-map-CxwNmq0D.js";import{r as b,c as B,e as F}from"./core-CSRy0e_M.js";import{_ as i}from"./index-BdhwhIIA.js";import{f as G,n as M}from"./async-directive-BRxn_Py3.js";const h={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:a}){return t.length<=e+r?t:a==="end"?`${t.substring(0,e)}...`:a==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),a=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),s=100-3*Number(n==null?void 0:n.replace("px","")),c=`${s}% ${s}% at 65% 40%`,u=[];for(let p=0;p<5;p+=1){const v=this.tintColor(a,.15*p);u.push(`rgb(${v[0]}, ${v[1]}, ${v[2]})`)}return`
3
3
  --local-color-1: ${u[0]};
4
4
  --local-color-2: ${u[1]};
5
5
  --local-color-3: ${u[2]};
@@ -1 +1 @@
1
- import{r as k}from"./index-BV8s6ez1.js";import{az as w}from"./sendRawTransaction-CkQeCcPa.js";import{c as I,e as q}from"./hashTypedData-CmwGgOTV.js";import"./NetworkUtil-DQZGJzap.js";import"./sentry-gZJVwIqQ.js";import"./react-B36MyIP_.js";import"./index-VchcND_n.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-BteKixT0.js";import"./intl-CBcMB1D2.js";const v=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:v()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const S=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=k();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!S(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},h={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,h.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,h.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,h.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,h.blockNumberToHex,h.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,h.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[h.blockNumberToHex,h.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,h.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class d extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,d.prototype)}}class _{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new d("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new d("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new _(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new d("Permissions rejected",p);return a.apply(this)},s};var j=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return I(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return q({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),S(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}j([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new _(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,v as getSDKVersion,S as isObjectEIP712TypedData};
1
+ import{r as k}from"./index-BV8s6ez1.js";import{az as w}from"./sendRawTransaction-D5CrLxcS.js";import{c as I,e as q}from"./hashTypedData-z3RblDHR.js";import"./NetworkUtil-DQZGJzap.js";import"./sentry-gZJVwIqQ.js";import"./react-B36MyIP_.js";import"./index-BdhwhIIA.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-BteKixT0.js";import"./intl-CBcMB1D2.js";const v=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:v()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const S=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=k();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!S(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},h={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,h.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,h.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,h.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,h.blockNumberToHex,h.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,h.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[h.blockNumberToHex,h.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,h.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class d extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,d.prototype)}}class _{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new d("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new d("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new _(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new d("Permissions rejected",p);return a.apply(this)},s};var j=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return I(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return q({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),S(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}j([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new _(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,v as getSDKVersion,S as isObjectEIP712TypedData};
@@ -1,4 +1,4 @@
1
- import{i as d,b as u}from"./lit-element-B3y9oplH.js";import{n as p}from"./class-map-CxwNmq0D.js";import{c as m}from"./index-BqdSTJ_h.js";import{d as f,r as h}from"./index-Dlw2S5cF.js";const g=f`
1
+ import{i as d,b as u}from"./lit-element-B3y9oplH.js";import{n as p}from"./class-map-CxwNmq0D.js";import{c as m}from"./index-Bti6nPx-.js";import{d as f,r as h}from"./index-BIjljlfD.js";const g=f`
2
2
  :host {
3
3
  position: relative;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{i as f,b as l,a as ee}from"./lit-element-B3y9oplH.js";import{n as c,o as w,r as u,a as Ii}from"./class-map-CxwNmq0D.js";import{d as v,r as _,e as W}from"./index-Dlw2S5cF.js";import{c as p,U as F}from"./index-BqdSTJ_h.js";import"./index-Cq9m0rf1.js";import"./index-D_GOecnW.js";import"./index-aP6PSm0J.js";import{O as m,C as d,L as Ee,q as E,b as y,M as P,E as C,t as me,o as b,R as h,d as D,S as A,k as x,l as ze,W as Fe,ak as Xt,aj as he,a3 as J,a1 as qi,z as I,am as tt,A as _i,F as Ki,D as Gi,y as Xi,T as ft,V as Yt,X as Qt,a9 as Yi,ao as Qi,Z as Bt,ap as Ji}from"./W3MFrameProviderSingleton-DtrTVFth.js";import"./index-DVCrh7RP.js";import{W as Fs,a as Ms}from"./index-D-BpvO4i.js";import"./index-BEwgqhCL.js";import"./index-B8HPZU8G.js";import"./index-C1UJcewJ.js";import{au as S}from"./NetworkUtil-DQZGJzap.js";import{H as Jt}from"./HelpersUtil-DY1hA3MT.js";import{n as Zi}from"./index-tf9y--bx.js";import{E as Q}from"./ExchangeController-DTUPu5lZ.js";import"./index-C1Tsxo3r.js";import"./index-DiarXSIn.js";import"./index-DsV59IEv.js";import{M as mt}from"./MathUtil-BGCe3rZ3.js";import"./index-CLiiVHBN.js";import{e as Zt,n as ei}from"./ref-BsAZ42-h.js";import"./index-De5m0zpT.js";import"./index-BZVhR8G8.js";import"./index-Dcx57z9h.js";import"./index-BBFf3j9R.js";import{O as bt}from"./index-Ds6dHrLZ.js";import{e as en}from"./index-CAPIrEyl.js";import"./index-BofIoUki.js";import"./index-Ds0rGqyb.js";import{N as tn}from"./NavigationUtil-DmfK5sOV.js";import"./index-CFnxUGBP.js";import"./index-VchcND_n.js";import"./react-B36MyIP_.js";import"./sentry-gZJVwIqQ.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-BteKixT0.js";import"./intl-CBcMB1D2.js";import"./index-DXqFhRIG.js";import"./events-DQ172AOg.js";import"./index-BksD36hR.js";import"./index-CMYPEZgT.js";import"./index-nibyPLVP.js";import"./index-BF0jg5eX.js";import"./index.es-BwS14sFg.js";import"./browser-ponyfill-lfpnveOA.js";import"./browser-ponyfill-CMZ3i8tY.js";import"./ConstantsUtil-CqaPdSAF.js";import"./async-directive-BRxn_Py3.js";import"./browser-BgOlLsTO.js";const nn=v`
1
+ import{i as f,b as l,a as ee}from"./lit-element-B3y9oplH.js";import{n as c,o as w,r as u,a as Ii}from"./class-map-CxwNmq0D.js";import{d as v,r as _,e as W}from"./index-BIjljlfD.js";import{c as p,U as F}from"./index-Bti6nPx-.js";import"./index-BstIL6B8.js";import"./index-BKGGk1Fw.js";import"./index-CmzyNQHY.js";import{O as m,C as d,L as Ee,q as E,b as y,M as P,E as C,t as me,o as b,R as h,d as D,S as A,k as x,l as ze,W as Fe,ak as Xt,aj as he,a3 as J,a1 as qi,z as I,am as tt,A as _i,F as Ki,D as Gi,y as Xi,T as ft,V as Yt,X as Qt,a9 as Yi,ao as Qi,Z as Bt,ap as Ji}from"./W3MFrameProviderSingleton-CdvVVbWO.js";import"./index-BwCDygn2.js";import{W as Fs,a as Ms}from"./index-DfzHEJ0Y.js";import"./index-D7f9PSpo.js";import"./index-R7yneMBI.js";import"./index-6GsD_zmA.js";import{au as S}from"./NetworkUtil-DQZGJzap.js";import{H as Jt}from"./HelpersUtil-BJdZT-ZD.js";import{n as Zi}from"./index-Dlv9lXjh.js";import{E as Q}from"./ExchangeController-DUqIwOTZ.js";import"./index-CA3v1bQD.js";import"./index-CBXiS-js.js";import"./index-CC_NLvt1.js";import{M as mt}from"./MathUtil-BGCe3rZ3.js";import"./index-Dp04VmhK.js";import{e as Zt,n as ei}from"./ref-BsAZ42-h.js";import"./index-Cx0ZzwkB.js";import"./index-ChiR2URD.js";import"./index-D703KTq5.js";import"./index-BzUrNmEF.js";import{O as bt}from"./index-Dx7iSYKC.js";import{e as en}from"./index-Ao_0yZtx.js";import"./index-DldSHFkS.js";import"./index-DQ6LOtMx.js";import{N as tn}from"./NavigationUtil-DmfK5sOV.js";import"./index-CB_Wl35a.js";import"./index-BdhwhIIA.js";import"./react-B36MyIP_.js";import"./sentry-gZJVwIqQ.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-BteKixT0.js";import"./intl-CBcMB1D2.js";import"./index-BAjUWjZ9.js";import"./events-DQ172AOg.js";import"./index-BwXaPcB2.js";import"./index-CMYPEZgT.js";import"./index-nibyPLVP.js";import"./index-BZeeM0tt.js";import"./index.es-DFy6PIAe.js";import"./browser-ponyfill-lfpnveOA.js";import"./browser-ponyfill-CMZ3i8tY.js";import"./ConstantsUtil-CqaPdSAF.js";import"./async-directive-BRxn_Py3.js";import"./browser-BgOlLsTO.js";const nn=v`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{i as m,b as h}from"./lit-element-B3y9oplH.js";import{n as b,o as v,r as C}from"./class-map-CxwNmq0D.js";import{d as k,r as g}from"./index-Dlw2S5cF.js";import{c as y}from"./index-BqdSTJ_h.js";import{e as O,n as _}from"./ref-BsAZ42-h.js";import{e as L,i as R,p as j,O as l}from"./W3MFrameProviderSingleton-DtrTVFth.js";const d=j({isLegalCheckboxChecked:!1}),f={state:d,subscribe(e){return R(d,()=>e(d))},subscribeKey(e,t){return L(d,e,t)},setIsLegalCheckboxChecked(e){d.isLegalCheckboxChecked=e}},z=k`
1
+ import{i as m,b as h}from"./lit-element-B3y9oplH.js";import{n as b,o as v,r as C}from"./class-map-CxwNmq0D.js";import{d as k,r as g}from"./index-BIjljlfD.js";import{c as y}from"./index-Bti6nPx-.js";import{e as O,n as _}from"./ref-BsAZ42-h.js";import{e as L,i as R,p as j,O as l}from"./W3MFrameProviderSingleton-CdvVVbWO.js";const d=j({isLegalCheckboxChecked:!1}),f={state:d,subscribe(e){return R(d,()=>e(d))},subscribeKey(e,t){return L(d,e,t)},setIsLegalCheckboxChecked(e){d.isLegalCheckboxChecked=e}},z=k`
2
2
  label {
3
3
  display: inline-flex;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{i as h,b as d}from"./lit-element-B3y9oplH.js";import{n as i,o as c}from"./class-map-CxwNmq0D.js";import"./index-D_GOecnW.js";import{c as m}from"./index-BqdSTJ_h.js";import{d as g,r as y,e as f}from"./index-Dlw2S5cF.js";const b=g`
1
+ import{i as h,b as d}from"./lit-element-B3y9oplH.js";import{n as i,o as c}from"./class-map-CxwNmq0D.js";import"./index-BKGGk1Fw.js";import{c as m}from"./index-Bti6nPx-.js";import{d as g,r as y,e as f}from"./index-BIjljlfD.js";const b=g`
2
2
  :host {
3
3
  width: 100%;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{i as _,b as l,a as ve}from"./lit-element-B3y9oplH.js";import{n as b,o as f,r as h,a as Ie}from"./class-map-CxwNmq0D.js";import{d as U,r as Ne,e as Se,v as ke}from"./index-Dlw2S5cF.js";import{c as C,U as _e}from"./index-BqdSTJ_h.js";import"./index-C1UJcewJ.js";import"./index-BEwgqhCL.js";import"./index-Cq9m0rf1.js";import"./index-B8HPZU8G.js";import"./index-D_GOecnW.js";import"./index-tf9y--bx.js";import"./index-CLiiVHBN.js";import{$ as Ce,k as v,a0 as $e,a1 as y,b as O,a2 as Re,a3 as N,O as ce,N as A,a4 as me,C as m,q as T,E as M,S as R,n as Oe,M as G,e as Ue,i as Le,p as qe,o as P,R as z}from"./W3MFrameProviderSingleton-DtrTVFth.js";import{au as I}from"./NetworkUtil-DQZGJzap.js";import"./index-BZVhR8G8.js";import{M as ge}from"./MathUtil-BGCe3rZ3.js";const De=U`
1
+ import{i as _,b as l,a as ve}from"./lit-element-B3y9oplH.js";import{n as b,o as f,r as h,a as Ie}from"./class-map-CxwNmq0D.js";import{d as U,r as Ne,e as Se,v as ke}from"./index-BIjljlfD.js";import{c as C,U as _e}from"./index-Bti6nPx-.js";import"./index-6GsD_zmA.js";import"./index-D7f9PSpo.js";import"./index-BstIL6B8.js";import"./index-R7yneMBI.js";import"./index-BKGGk1Fw.js";import"./index-Dlv9lXjh.js";import"./index-Dp04VmhK.js";import{$ as Ce,k as v,a0 as $e,a1 as y,b as O,a2 as Re,a3 as N,O as ce,N as A,a4 as me,C as m,q as T,E as M,S as R,n as Oe,M as G,e as Ue,i as Le,p as qe,o as P,R as z}from"./W3MFrameProviderSingleton-CdvVVbWO.js";import{au as I}from"./NetworkUtil-DQZGJzap.js";import"./index-ChiR2URD.js";import{M as ge}from"./MathUtil-BGCe3rZ3.js";const De=U`
2
2
  :host {
3
3
  position: relative;
4
4
  }
@@ -1,2 +1,2 @@
1
- import{q as _,aP as g,aQ as F,Y as M,Z as f,aR as j,aS as k,aT as I,aU as R,v as V,T as O,aV as z}from"./index-VchcND_n.js";import{aW as Me,aX as Oe,aY as $e,a3 as we,aZ as Te,a_ as Ee,a2 as Pe,a$ as _e,b0 as Fe,b1 as je,R as ke,b2 as Ie,b3 as Re,b4 as Ve,b5 as ze,a2 as Le,b6 as Ae}from"./index-VchcND_n.js";import{u as He}from"./useTheme-BoNUL1hb.js";import{g as L}from"./getThemeProps-D9znDKcF.js";import{j as A}from"./react-B36MyIP_.js";import"./sentry-gZJVwIqQ.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-BteKixT0.js";import"./intl-CBcMB1D2.js";function C({props:e,name:t,defaultTheme:n,themeId:s}){let r=_(n);return r=r[s]||r,L({theme:r,name:t,props:e})}function w(e,t=0,n=1){return F(e,t,n)}function H(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(s=>s+s)),n?`rgb${n.length===4?"a":""}(${n.map((s,r)=>r<3?parseInt(s,16):Math.round(parseInt(s,16)/255*1e3)/1e3).join(", ")})`:""}function U(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function d(e){if(e.type)return e;if(e.charAt(0)==="#")return d(H(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(g(9,e));let s=e.substring(t+1,e.length-1),r;if(n==="color"){if(s=s.split(" "),r=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r)===-1)throw new Error(g(10,r))}else s=s.split(",");return s=s.map(o=>parseFloat(o)),{type:n,values:s,colorSpace:r}}function S(e){const{type:t,colorSpace:n}=e;let{values:s}=e;return t.indexOf("rgb")!==-1?s=s.map((r,o)=>o<3?parseInt(r,10):r):t.indexOf("hsl")!==-1&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),t.indexOf("color")!==-1?s=`${n} ${s.join(" ")}`:s=`${s.join(", ")}`,`${t}(${s})`}function ie(e){if(e.indexOf("#")===0)return e;const{values:t}=d(e);return`#${t.map((n,s)=>U(s===3?Math.round(255*n):n)).join("")}`}function B(e){e=d(e);const{values:t}=e,n=t[0],s=t[1]/100,r=t[2]/100,o=s*Math.min(r,1-r),u=(h,m=(h+n/30)%12)=>r-o*Math.max(Math.min(m-3,9-m,1),-1);let l="rgb";const i=[Math.round(u(0)*255),Math.round(u(8)*255),Math.round(u(4)*255)];return e.type==="hsla"&&(l+="a",i.push(t[3])),S({type:l,values:i})}function $(e){e=d(e);let t=e.type==="hsl"||e.type==="hsla"?d(B(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function oe(e,t){const n=$(e),s=$(t);return(Math.max(n,s)+.05)/(Math.min(n,s)+.05)}function ue(e,t){return e=d(e),t=w(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,S(e)}function W(e,t){if(e=d(e),t=w(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return S(e)}function G(e,t){if(e=d(e),t=w(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return S(e)}function pe(e,t=.15){return $(e)>.5?W(e,t):G(e,t)}const Y=["defaultProps","mixins","overrides","palette","props","styleOverrides"],Z=["type","mode"];function me(e){const{defaultProps:t={},mixins:n={},overrides:s={},palette:r={},props:o={},styleOverrides:u={}}=e,l=M(e,Y),i=f({},l,{components:{}});Object.keys(t).forEach(a=>{const p=i.components[a]||{};p.defaultProps=t[a],i.components[a]=p}),Object.keys(o).forEach(a=>{const p=i.components[a]||{};p.defaultProps=o[a],i.components[a]=p}),Object.keys(u).forEach(a=>{const p=i.components[a]||{};p.styleOverrides=u[a],i.components[a]=p}),Object.keys(s).forEach(a=>{const p=i.components[a]||{};p.styleOverrides=s[a],i.components[a]=p}),i.spacing=j(e.spacing);const h=k(e.breakpoints||{}),m=i.spacing;i.mixins=f({gutters:(a={})=>f({paddingLeft:m(2),paddingRight:m(2)},a,{[h.up("sm")]:f({paddingLeft:m(3),paddingRight:m(3)},a[h.up("sm")])})},n);const{type:y,mode:x}=r,v=M(r,Z),b=x||y||"light";return i.palette=f({text:{hint:b==="dark"?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:b,type:b},v),i}function le(e,...t){return I(R({unstable_strictMode:!0},e),...t)}let T=!1;function he(e){return T||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join(`
1
+ import{q as _,aP as g,aQ as F,Y as M,Z as f,aR as j,aS as k,aT as I,aU as R,v as V,T as O,aV as z}from"./index-BdhwhIIA.js";import{aW as Me,aX as Oe,aY as $e,a3 as we,aZ as Te,a_ as Ee,a2 as Pe,a$ as _e,b0 as Fe,b1 as je,R as ke,b2 as Ie,b3 as Re,b4 as Ve,b5 as ze,a2 as Le,b6 as Ae}from"./index-BdhwhIIA.js";import{u as He}from"./useTheme-0QOVKbIa.js";import{g as L}from"./getThemeProps-BAQMSm7B.js";import{j as A}from"./react-B36MyIP_.js";import"./sentry-gZJVwIqQ.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-BteKixT0.js";import"./intl-CBcMB1D2.js";function C({props:e,name:t,defaultTheme:n,themeId:s}){let r=_(n);return r=r[s]||r,L({theme:r,name:t,props:e})}function w(e,t=0,n=1){return F(e,t,n)}function H(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(s=>s+s)),n?`rgb${n.length===4?"a":""}(${n.map((s,r)=>r<3?parseInt(s,16):Math.round(parseInt(s,16)/255*1e3)/1e3).join(", ")})`:""}function U(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function d(e){if(e.type)return e;if(e.charAt(0)==="#")return d(H(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(g(9,e));let s=e.substring(t+1,e.length-1),r;if(n==="color"){if(s=s.split(" "),r=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r)===-1)throw new Error(g(10,r))}else s=s.split(",");return s=s.map(o=>parseFloat(o)),{type:n,values:s,colorSpace:r}}function S(e){const{type:t,colorSpace:n}=e;let{values:s}=e;return t.indexOf("rgb")!==-1?s=s.map((r,o)=>o<3?parseInt(r,10):r):t.indexOf("hsl")!==-1&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),t.indexOf("color")!==-1?s=`${n} ${s.join(" ")}`:s=`${s.join(", ")}`,`${t}(${s})`}function ie(e){if(e.indexOf("#")===0)return e;const{values:t}=d(e);return`#${t.map((n,s)=>U(s===3?Math.round(255*n):n)).join("")}`}function B(e){e=d(e);const{values:t}=e,n=t[0],s=t[1]/100,r=t[2]/100,o=s*Math.min(r,1-r),u=(h,m=(h+n/30)%12)=>r-o*Math.max(Math.min(m-3,9-m,1),-1);let l="rgb";const i=[Math.round(u(0)*255),Math.round(u(8)*255),Math.round(u(4)*255)];return e.type==="hsla"&&(l+="a",i.push(t[3])),S({type:l,values:i})}function $(e){e=d(e);let t=e.type==="hsl"||e.type==="hsla"?d(B(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function oe(e,t){const n=$(e),s=$(t);return(Math.max(n,s)+.05)/(Math.min(n,s)+.05)}function ue(e,t){return e=d(e),t=w(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,S(e)}function W(e,t){if(e=d(e),t=w(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return S(e)}function G(e,t){if(e=d(e),t=w(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return S(e)}function pe(e,t=.15){return $(e)>.5?W(e,t):G(e,t)}const Y=["defaultProps","mixins","overrides","palette","props","styleOverrides"],Z=["type","mode"];function me(e){const{defaultProps:t={},mixins:n={},overrides:s={},palette:r={},props:o={},styleOverrides:u={}}=e,l=M(e,Y),i=f({},l,{components:{}});Object.keys(t).forEach(a=>{const p=i.components[a]||{};p.defaultProps=t[a],i.components[a]=p}),Object.keys(o).forEach(a=>{const p=i.components[a]||{};p.defaultProps=o[a],i.components[a]=p}),Object.keys(u).forEach(a=>{const p=i.components[a]||{};p.styleOverrides=u[a],i.components[a]=p}),Object.keys(s).forEach(a=>{const p=i.components[a]||{};p.styleOverrides=s[a],i.components[a]=p}),i.spacing=j(e.spacing);const h=k(e.breakpoints||{}),m=i.spacing;i.mixins=f({gutters:(a={})=>f({paddingLeft:m(2),paddingRight:m(2)},a,{[h.up("sm")]:f({paddingLeft:m(3),paddingRight:m(3)},a[h.up("sm")])})},n);const{type:y,mode:x}=r,v=M(r,Z),b=x||y||"light";return i.palette=f({text:{hint:b==="dark"?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:b,type:b},v),i}function le(e,...t){return I(R({unstable_strictMode:!0},e),...t)}let T=!1;function he(e){return T||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join(`
2
2
  `)),T=!0),e}function E(e){return String(parseFloat(e)).length===String(e).length}function q(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function c(e){return parseFloat(e)}function D(e){return(t,n)=>{const s=q(t);if(s===n)return t;let r=c(t);s!=="px"&&(s==="em"||s==="rem")&&(r=c(t)*c(e));let o=r;if(n!=="px")if(n==="em")o=r/c(e);else if(n==="rem")o=r/c(e);else return t;return parseFloat(o.toFixed(5))+n}}function N({size:e,grid:t}){const n=e-e%t,s=n+t;return e-n<s-e?n:s}function Q({lineHeight:e,pixels:t,htmlFontSize:n}){return t/(e*n)}function X({cssProperty:e,min:t,max:n,unit:s="rem",breakpoints:r=[600,900,1200],transform:o=null}){const u={[e]:`${t}${s}`},l=(n-t)/r[r.length-1];return r.forEach(i=>{let h=t+l*i;o!==null&&(h=o(h)),u[`@media (min-width:${i}px)`]={[e]:`${Math.round(h*1e4)/1e4}${s}`}}),u}function fe(e,t={}){const{breakpoints:n=["sm","md","lg"],disableAlign:s=!1,factor:r=2,variants:o=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,u=f({},e);u.typography=f({},u.typography);const l=u.typography,i=D(l.htmlFontSize),h=n.map(m=>u.breakpoints.values[m]);return o.forEach(m=>{const y=l[m];if(!y)return;const x=parseFloat(i(y.fontSize,"rem"));if(x<=1)return;const v=x,b=1+(v-1)/r;let{lineHeight:a}=y;if(!E(a)&&!s)throw new Error(g(6));E(a)||(a=parseFloat(i(a,"rem"))/parseFloat(x));let p=null;s||(p=P=>N({size:P,grid:Q({pixels:4,lineHeight:a,htmlFontSize:l.htmlFontSize})})),l[m]=f({},y,X({cssProperty:"fontSize",min:b,max:v,unit:"rem",breakpoints:h,transform:p}))}),u}function de({props:e,name:t}){return C({props:e,name:t,defaultTheme:V,themeId:O})}const J=["theme"];function ce(e){let{theme:t}=e,n=M(e,J);const s=t[O];return A.jsx(z,f({},n,{themeId:s?O:void 0,theme:s||t}))}function ge(){throw new Error(g(14))}function ye(){throw new Error(g(15))}function xe(){throw new Error(g(16))}function be(){throw new Error(g(20))}export{Me as Experimental_CssVarsProvider,Oe as StyledEngineProvider,O as THEME_ID,ce as ThemeProvider,me as adaptV4Theme,ue as alpha,$e as createMuiTheme,he as createStyles,I as createTheme,we as css,W as darken,d as decomposeColor,Te as duration,Ee as easing,pe as emphasize,Pe as experimentalStyled,_e as experimental_extendTheme,be as experimental_sx,oe as getContrastRatio,Fe as getInitColorSchemeScript,$ as getLuminance,je as getOverlayAlpha,H as hexToRgb,B as hslToRgb,ke as keyframes,G as lighten,ge as makeStyles,Ie as private_createMixins,Re as private_createTypography,Ve as private_excludeVariablesFromRoot,S as recomposeColor,fe as responsiveFontSizes,ie as rgbToHex,ze as shouldSkipGeneratingVar,Le as styled,le as unstable_createMuiStrictModeTheme,q as unstable_getUnit,c as unstable_toUnitless,Ae as useColorScheme,He as useTheme,de as useThemeProps,ye as withStyles,xe as withTheme};