@dcl/shop 1.3.1-31201089763.commit-912f5ec → 1.3.1-31252242626.commit-c73d75c

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 (176) hide show
  1. package/_assets/{Activity-D3aSFKYY.js → Activity-MdeNPdAy.js} +24 -24
  2. package/_assets/{AnimatedBackground-C1X6IgMP.js → AnimatedBackground-BPpu8-bp.js} +1 -1
  3. package/_assets/{Assets-C_4TMT4V.js → Assets-D_85zKYe.js} +2 -2
  4. package/_assets/{Assets.styles-C5WDwVoe.js → Assets.styles-B1HvwpzK.js} +1 -1
  5. package/_assets/{Authorizations-uJLZSYvq.js → Authorizations-DDGOtqxv.js} +1 -1
  6. package/_assets/{Cart-BEAgv6c_.js → Cart-CbbJZlOR.js} +1 -1
  7. package/_assets/{CircularProgress-DL37N-j7.js → CircularProgress-BGQrDSLK.js} +1 -1
  8. package/_assets/{Collection-BnSar7Qr.js → Collection-BwLONXnd.js} +1 -1
  9. package/_assets/{CollectionCarousel-MMKM1yuQ.js → CollectionCarousel-DFOfIf7S.js} +2 -2
  10. package/_assets/{Confetti-DQKiLeBh.js → Confetti-BXQ-8GtS.js} +1 -1
  11. package/_assets/{Creator-62yzU1Lg.js → Creator-DJ44nS7F.js} +1 -1
  12. package/_assets/{ErrorNotice-BwAoUpL9.js → ErrorNotice-C6TzeGyj.js} +1 -1
  13. package/_assets/{ExchangeController-DAvH538j.js → ExchangeController-Di5Zg9CW.js} +1 -1
  14. package/_assets/{Faq-D02Yv9cu.js → Faq-BwOgrdK2.js} +1 -1
  15. package/_assets/{GetCredits-3NEYJTq-.js → GetCredits-CReJ5iKD.js} +1 -1
  16. package/_assets/{Grow-sdc9Nr1N.js → Grow-CLVvW4Va.js} +1 -1
  17. package/_assets/{HelpersUtil-DGKzyiIS.js → HelpersUtil-B4GqkAz9.js} +1 -1
  18. package/_assets/ItemDetail-B8_Oy1Zw.js +3577 -0
  19. package/_assets/LazyEmoteControls-BcjgXC3K.js +2 -0
  20. package/_assets/{LoadMore-C3ermAMb.js → LoadMore-CKSYwQSC.js} +1 -1
  21. package/_assets/{ManaPricingBanner.styles-YtoTNOe2.js → ManaPricingBanner.styles-ClU3x0BU.js} +1 -1
  22. package/_assets/{MyAssets-CNQG_eRC.js → MyAssets-BBpVmvzR.js} +2 -2
  23. package/_assets/{MyFavorites-CFlt5LiC.js → MyFavorites-Cy9OJvwt.js} +1 -1
  24. package/_assets/{NotFound-C83tHvF5.js → NotFound-e849cnkT.js} +1 -1
  25. package/_assets/{NotificationsBell-DsUmpqin.js → NotificationsBell-BCAtVeX7.js} +1 -1
  26. package/_assets/{OutfitDetail-DUaGEn23.js → OutfitDetail-CJJkl5yC.js} +1 -1
  27. package/_assets/{OutfitPreview-Nshybehb.js → OutfitPreview-x2PYMhn3.js} +1 -1
  28. package/_assets/{OutfitStudio-C_gQit5_.js → OutfitStudio-DjzcoL7_.js} +1 -1
  29. package/_assets/{StoreSettings-L3MzHvQS.js → StoreSettings-WBnUCWX3.js} +1 -1
  30. package/_assets/{Success-iaZSJxdZ.js → Success-DM6ZIfGx.js} +1 -1
  31. package/_assets/{SwapController-D0qWFc7w.js → SwapController-CCtJ10ku.js} +1 -1
  32. package/_assets/{Tooltip-D6pCjy4V.js → Tooltip-C1GF8yzx.js} +1 -1
  33. package/_assets/{TradeService-DLJTaEnA.js → TradeService-DR7fX6hZ.js} +1 -1
  34. package/_assets/{W3MFrameProviderSingleton-xJv4tCDo.js → W3MFrameProviderSingleton-BSPMxIrN.js} +3 -3
  35. package/_assets/{WebCryptoP256-RUTioLBm.js → WebCryptoP256-wXnsce_s.js} +1 -1
  36. package/_assets/{authorizations-461vyy5w.js → authorizations-B8zfFZri.js} +1 -1
  37. package/_assets/{basic-CqqyQIPV.js → basic-CdgQQJxQ.js} +1 -1
  38. package/_assets/{biconomy-u9EoIO-P.js → biconomy-DhUyAaJx.js} +1 -1
  39. package/_assets/{builder-Dclp-RZD.js → builder-rk1gzg6o.js} +1 -1
  40. package/_assets/{buy-97iQToH9.js → buy-C8cZuDKG.js} +1 -1
  41. package/_assets/{buy-gasless-DZa4Htqn.js → buy-gasless-DgVYAdEI.js} +1 -1
  42. package/_assets/{categories-CI133--U.js → categories-TyiHModX.js} +1 -1
  43. package/_assets/{ccip-D_zDdtHc.js → ccip-B6d91HbN.js} +1 -1
  44. package/_assets/{ccip-D1u4ENPE.js → ccip-BNrZpQD6.js} +1 -1
  45. package/_assets/{collectionPage.styles-D7aUoM6L.js → collectionPage.styles-B0Y6R9vW.js} +4 -4
  46. package/_assets/{controller-C26HJFfi.js → controller-BoNXkBWT.js} +2 -2
  47. package/_assets/{core-DqHUWlvK.js → core-BadPn6dC.js} +4 -4
  48. package/_assets/{createSvgIcon-Bq4gNUO2.js → createSvgIcon-E_1bKhdT.js} +1 -1
  49. package/_assets/{custom-tBoAS192.js → custom-DiEOmU8d.js} +1 -1
  50. package/_assets/{data-capture-CJ2YRyWo.js → data-capture-DXnM_lk9.js} +1 -1
  51. package/_assets/{email-RF300Bz5.js → email-GOpB4BQG.js} +1 -1
  52. package/_assets/{embedded-wallet-D1eofZNS.js → embedded-wallet-Cohei5OY.js} +1 -1
  53. package/_assets/{emotion-styled.browser.esm-CZxg7vbf.js → emotion-styled.browser.esm-CLtGE1ll.js} +1 -1
  54. package/_assets/{engine-CaSxWk-7.js → engine-BvtekySw.js} +1 -1
  55. package/_assets/{errors-C9CuiZvS.js → errors-OSxcB_78.js} +1 -1
  56. package/_assets/{estimate-l1-fee-DO2D1tSw.js → estimate-l1-fee-CRBS7t31.js} +1 -1
  57. package/_assets/{execute-DD5W4_yS.js → execute-TU_2vXm6.js} +2 -2
  58. package/_assets/{features-4XxV5_Hq.js → features-CwmiB51C.js} +1 -1
  59. package/_assets/{fetchTokenMetadata-COnb5gJ4.js → fetchTokenMetadata--yK0evUL.js} +2 -2
  60. package/_assets/{field.styles-DoXLfdYB.js → field.styles-DeEM1NvZ.js} +1 -1
  61. package/_assets/{get-ecosystem-wallet-info-vgbp43ad.js → get-ecosystem-wallet-info-Dz0cXv5J.js} +1 -1
  62. package/_assets/{getBalance-BjgWxpkU.js → getBalance-CQpBPdTR.js} +1 -1
  63. package/_assets/{getNFT-C5nQCunP.js → getNFT-BVYQgT7O.js} +1 -1
  64. package/_assets/{getNFT-CE0xVpzl.js → getNFT-DjKxNOGt.js} +1 -1
  65. package/_assets/{grid.styles-B59nsEyQ.js → grid.styles-DXCsn4JF.js} +1 -1
  66. package/_assets/{hashTypedData-CQrm142T.js → hashTypedData-D0IEKBRS.js} +1 -1
  67. package/_assets/{hashTypedData-DS7__wkk.js → hashTypedData-DC_RnPQD.js} +1 -1
  68. package/_assets/{in-app-DcoDtaFd.js → in-app-OsLybK6m.js} +1 -1
  69. package/_assets/{in-app-wallet-calls-gwLznVtz.js → in-app-wallet-calls-BXDmflHz.js} +1 -1
  70. package/_assets/{index-C6NSPLGy.js → index--mkx_Ub3.js} +2 -2
  71. package/_assets/{index-zLOBxfWn.js → index-5IfbtLyI.js} +1 -1
  72. package/_assets/{index-Bukt_k7I.js → index-9AMRqa2Q.js} +1 -1
  73. package/_assets/{index-8WyRsA6X.js → index-B3RTvili.js} +1 -1
  74. package/_assets/{index-D02JHWUZ.js → index-BBS247oh.js} +1 -1
  75. package/_assets/{index-1IzWtbVi.js → index-BBeSi9EO.js} +1 -1
  76. package/_assets/{index-CrX60JgY.js → index-BCZ3tZR3.js} +1 -1
  77. package/_assets/{index-B6ZNcEUv.js → index-BGW-6qbU.js} +1 -1
  78. package/_assets/{index-cEf3YQLr.js → index-BMErPZak.js} +2 -2
  79. package/_assets/{index-FyichFXh.js → index-BMHAmosr.js} +1 -1
  80. package/_assets/{index-D5idZOd_.js → index-BOQHWdN-.js} +1 -1
  81. package/_assets/{index-OCqb4Lm1.js → index-BXOEC5IY.js} +1 -1
  82. package/_assets/{index-Jo0sam1c.js → index-BZRe9AK8.js} +1 -1
  83. package/_assets/{index-MLSA_xda.js → index-B_Rjazst.js} +1 -1
  84. package/_assets/{index-BA1sQZkC.js → index-BjmzqwSC.js} +1 -1
  85. package/_assets/{index-BM6mzigL.js → index-BnjBGQHV.js} +1 -1
  86. package/_assets/{index-CDjeD5RL.js → index-BqDFXnrb.js} +1 -1
  87. package/_assets/{index-CdhfNc_l.js → index-BrmXfhSy.js} +1 -1
  88. package/_assets/{index-D9RVgl2T.js → index-Brs0Pv5-.js} +1 -1
  89. package/_assets/{index-DwhHI1Cg.js → index-BtNfhlUE.js} +1 -1
  90. package/_assets/{index-B5qMcTyi.js → index-Bvwq5-S8.js} +1 -1
  91. package/_assets/{index-BJC1AEFB.js → index-BwOue38k.js} +3 -3
  92. package/_assets/{index-CXFVcnFg.js → index-C7hbjfPZ.js} +1 -1
  93. package/_assets/{index-BDuxRGHE.js → index-C9SBlMYc.js} +1 -1
  94. package/_assets/{index-B82LtIPp.js → index-C9V04cJW.js} +1 -1
  95. package/_assets/{index-Cw2pYXib.js → index-CAozwzga.js} +3 -3
  96. package/_assets/{index-jLH6xAlY.js → index-CJmYIHke.js} +409 -399
  97. package/_assets/{index-B9KPWVBk.js → index-CJydVry-.js} +1 -1
  98. package/_assets/{index-CFuvHtvq.js → index-CM7mcfju.js} +3 -3
  99. package/_assets/{index-BjIifDkz.js → index-CSY0bdZ7.js} +1 -1
  100. package/_assets/{index-8s9EQi3n.js → index-CWNHwTp9.js} +1 -1
  101. package/_assets/{index-C5FZ45uN.js → index-CfVyYh3y.js} +1 -1
  102. package/_assets/{index-FNpgUxjw.js → index-CmE0xSf2.js} +1 -1
  103. package/_assets/{index-DNkURlcd.js → index-Csbo1eza.js} +1 -1
  104. package/_assets/{index-CdTo79pv.js → index-D-uEOpjO.js} +1 -1
  105. package/_assets/{index-BGWakLqN.js → index-DBE8WuHb.js} +1 -1
  106. package/_assets/{index-hK57JS_R.js → index-DEOpztub.js} +1 -1
  107. package/_assets/{index-B41gjunu.js → index-DIFv8mLZ.js} +1 -1
  108. package/_assets/{index-NoYi1gCl.js → index-DLn-xGRu.js} +1 -1
  109. package/_assets/{index-CWYbSgCF.js → index-DN6xb_ze.js} +1 -1
  110. package/_assets/{index-Byo2xfOl.js → index-DVr5g7aY.js} +1 -1
  111. package/_assets/{index-Cpq-FOky.js → index-DWFZCVHa.js} +1 -1
  112. package/_assets/{index-D4yVMTim.js → index-DYsiSWRD.js} +2 -2
  113. package/_assets/{index-Cc04HTUt.js → index-DiN2c1K3.js} +1 -1
  114. package/_assets/{index-RglfEs_N.js → index-DphwwJkw.js} +1 -1
  115. package/_assets/{index-Bxjm2UVg.js → index-DtBtmaAv.js} +1 -1
  116. package/_assets/{index-VPhzEUs7.js → index-Du7SSwQ3.js} +1 -1
  117. package/_assets/{index-nD4luVwh.js → index-DuBvA9NX.js} +1 -1
  118. package/_assets/{index-Db31BU0T.js → index-RT7ay0fP.js} +1 -1
  119. package/_assets/{index-DzLjaUyr.js → index-byTukmCU.js} +1 -1
  120. package/_assets/{index-COLcCaU0.js → index-fDHYZUKA.js} +1 -1
  121. package/_assets/{index-BAGNwIcX.js → index-tTAL2WB-.js} +1 -1
  122. package/_assets/{index.es-CKoezarf.js → index.es-BG60FmGW.js} +4 -4
  123. package/_assets/{index.es-DGO9_FkS.js → index.es-Bz8gZ7qB.js} +1 -1
  124. package/_assets/{index.es-H7dDko7c.js → index.es-XZr74JNT.js} +1 -1
  125. package/_assets/{localBatchGatewayRequest-Bx3cUTZX.js → localBatchGatewayRequest-ikLylIgm.js} +1 -1
  126. package/_assets/{networks-CsbXwBer.js → networks-DGWDQvqw.js} +1 -1
  127. package/_assets/{onramp-WStE1fD9.js → onramp-DKoZ03XB.js} +1 -1
  128. package/_assets/{openzeppelin-BVYp2kH1.js → openzeppelin-LOcHCFQX.js} +1 -1
  129. package/_assets/{parseNft-Dv6X_C4N.js → parseNft-CY3PDq17.js} +2 -2
  130. package/_assets/{parseSignature-D5un2ivy.js → parseSignature-BI6HCnqF.js} +3 -3
  131. package/_assets/{parseSignature-CwarGewk.js → parseSignature-Ds5KGfSM.js} +1 -1
  132. package/_assets/{passkeys-CZ1ekadw.js → passkeys-BYmlf1qh.js} +1 -1
  133. package/_assets/{pay-with-exchange-CIebqLjj.js → pay-with-exchange-D-vRoPs-.js} +1 -1
  134. package/_assets/{qr-overlay-C4daDEB4.js → qr-overlay-ZKwUKLDM.js} +1 -1
  135. package/_assets/{receive-BYow75vH.js → receive-BpOQ3F73.js} +1 -1
  136. package/_assets/{resolveImplementation-PSc3oqm9.js → resolveImplementation-Bmms8eMC.js} +1 -1
  137. package/_assets/{rpc-kWkd3OHw.js → rpc-B-bvGvlc.js} +1 -1
  138. package/_assets/{secp256k1-Ce67qbLm.js → secp256k1-ChR0vl-U.js} +1 -1
  139. package/_assets/{secp256k1-tYIf1ZFm.js → secp256k1-D-c7AgZJ.js} +1 -1
  140. package/_assets/{secp256k1-BK9r2LDF.js → secp256k1-dWvFOFgp.js} +1 -1
  141. package/_assets/{send-DO_DNrVe.js → send-CNoBgjC3.js} +1 -1
  142. package/_assets/{send-batch-transaction-D5UMj_jb.js → send-batch-transaction-Bt4eO7_A.js} +1 -1
  143. package/_assets/{send-eip712-transaction-Dnfzg1z3.js → send-eip712-transaction-Dkhz19jD.js} +2 -2
  144. package/_assets/{send-gasless-transaction-3VYHD0Ze.js → send-gasless-transaction-CabqcqeH.js} +2 -2
  145. package/_assets/{send-transaction-tienULYw.js → send-transaction-2iw3OWf1.js} +2 -2
  146. package/_assets/{sendMetaTransaction-DF7vxyXm.js → sendMetaTransaction-ChBpXQUv.js} +1 -1
  147. package/_assets/{sendRawTransaction-CZjqNYJ6.js → sendRawTransaction-Bg5Bog-D.js} +3 -3
  148. package/_assets/{serializeTransaction-DTMWol-_.js → serializeTransaction-BQMXuVy4.js} +1 -1
  149. package/_assets/{session-proposal-BhtvHo7-.js → session-proposal-3Q5m6rmS.js} +1 -1
  150. package/_assets/{session-request-dbVJ8ymF.js → session-request-Cbe4UvDv.js} +2 -2
  151. package/_assets/{signing-GpMKjKXp.js → signing-D3JslPvi.js} +3 -3
  152. package/_assets/{skeleton.styles-Bv8ZKXGY.js → skeleton.styles-CVOz4NuN.js} +1 -1
  153. package/_assets/{socials-DTaeAXCG.js → socials-Byik4B6H.js} +1 -1
  154. package/_assets/{styled-BLQV6I_l.js → styled-DXQxy1OG.js} +1 -1
  155. package/_assets/{swaps-BGCiakKo.js → swaps-CGuC9r6P.js} +1 -1
  156. package/_assets/{thirdweb-qRfjXTOQ.js → thirdweb-DYS4bx2O.js} +3 -3
  157. package/_assets/{to-serializable-transaction-B2cW3u3U.js → to-serializable-transaction-B9hOlQhS.js} +2 -2
  158. package/_assets/{transactionReceipt-L9oBgbpF.js → transactionReceipt-CKK1YHPc.js} +1 -1
  159. package/_assets/{transactions-DnIxCXCg.js → transactions-pM3EvVyU.js} +1 -1
  160. package/_assets/{useCreditPacks-Djsj-Cpe.js → useCreditPacks-BQuT66CB.js} +1 -1
  161. package/_assets/{useImportable-B7r1KC8G.js → useImportable-VbRNEeu4.js} +1 -1
  162. package/_assets/{useInfiniteGrid-BGpyUoz0.js → useInfiniteGrid-CqVFUAZB.js} +1 -1
  163. package/_assets/{useStore-CgpHKL2Y.js → useStore-DGBkQFz7.js} +1 -1
  164. package/_assets/{useTheme-b3ANmU5d.js → useTheme-fGx03AZV.js} +1 -1
  165. package/_assets/{verifyHash-BqlOEdwK.js → verifyHash-DOkIX2BO.js} +1 -1
  166. package/_assets/{w3m-modal-B4pCfbE7.js → w3m-modal-B11X56B-.js} +1 -1
  167. package/_assets/{w3m-modal-Cr9Zvmgh.js → w3m-modal-BwxgxAPe.js} +1 -1
  168. package/_assets/{wait-for-tx-receipt-EZ5-Zm-_.js → wait-for-tx-receipt-BaxFnjPg.js} +1 -1
  169. package/_assets/{wallets-CcobzPcN.js → wallets-BmrEl61j.js} +5 -5
  170. package/_assets/{web-connector-CWbGrXH0.js → web-connector-CLVorEco.js} +3 -3
  171. package/_assets/{writeContract-GxuLdS-U.js → writeContract-rG-WdCVH.js} +1 -1
  172. package/_assets/{zoraTestnet-BZa65o_q.js → zoraTestnet-DyA1No_S.js} +1 -1
  173. package/index.html +11 -11
  174. package/package.json +2 -2
  175. package/_assets/ItemDetail-C7GxSXsG.js +0 -3577
  176. package/_assets/LazyEmoteControls-CqSp-GV7.js +0 -2
@@ -1 +1 @@
1
- import{r as k}from"./index-BV8s6ez1.js";import{az as w}from"./sendRawTransaction-CZjqNYJ6.js";import{c as I,e as q}from"./hashTypedData-CQrm142T.js";import"./NetworkUtil-DXqql1Wz.js";import"./sentry-Dx-KuLV3.js";import"./react-BYHuwl8r.js";import"./index-jLH6xAlY.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-BDpbhgX6.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-Bg5Bog-D.js";import{c as I,e as q}from"./hashTypedData-D0IEKBRS.js";import"./NetworkUtil-DXqql1Wz.js";import"./sentry-Dx-KuLV3.js";import"./react-BYHuwl8r.js";import"./index-CJmYIHke.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-BDpbhgX6.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-B9KPWVBk.js";import{d as f,r as h}from"./index-CFuvHtvq.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-CJydVry-.js";import{d as f,r as h}from"./index-CM7mcfju.js";const g=f`
2
2
  :host {
3
3
  position: relative;
4
4
  display: flex;
@@ -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-DqHUWlvK.js";import{_ as i}from"./index-jLH6xAlY.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-BadPn6dC.js";import{_ as i}from"./index-CJmYIHke.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,4 +1,4 @@
1
- import{r as k,j as L,f as Ba,c as Ur,g as gt,k as Bt}from"./react-BYHuwl8r.js";import{p as bt}from"./dcl-schemas-CmtP3U6y.js";import{b as it,h as st,a as Ae,i as na,j as aa,k as oa,l as La,m as Lt,e as Ta,n as qa,o as Aa,p as _a,q as Da,d as Kt,s as ia,g as sa,c as la,f as ja,t as Na,r as Wa}from"./index-BX3lLNL7.js";import{p as Xt}from"./sentry-Dx-KuLV3.js";import{ai as mt,aj as lt,ak as I,cz as Ie,cb as Gr,b_ as St,cv as Fr,al as ve,cA as Fa,cB as Ha,ct as Tt,cC as Hr}from"./index-jLH6xAlY.js";import{c as za}from"./index-Byo2xfOl.js";import{n as Ve}from"./emotion-styled.browser.esm-CZxg7vbf.js";import{u as Mt,b as zt,o as Ze,c as Va,d as Ua,B as Ga,r as qt,e as zr}from"./createSvgIcon-Bq4gNUO2.js";import{B as Ka,a as Ya,b as Za,c as Xa}from"./index-hK57JS_R.js";import{E as Ts}from"./index-hK57JS_R.js";import{g as ht,a as tt,c as qe,b as yt}from"./clsx-WwvpwSg0.js";import{s as Ee,a as Ja,b as ua}from"./styled-BLQV6I_l.js";import{e as Jt,i as Vt,u as et,G as Qa,P as eo}from"./Grow-sdc9Nr1N.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./CircularProgress-DL37N-j7.js";import"./useTheme-b3ANmU5d.js";function to(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function ro(e){return k.Children.toArray(e).filter(t=>k.isValidElement(t))}const no={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var Qt={exports:{}},ne={};/**
1
+ import{r as k,j as L,f as Ba,c as Ur,g as gt,k as Bt}from"./react-BYHuwl8r.js";import{p as bt}from"./dcl-schemas-CmtP3U6y.js";import{b as it,h as st,a as Ae,i as na,j as aa,k as oa,l as La,m as Lt,e as Ta,n as qa,o as Aa,p as _a,q as Da,d as Kt,s as ia,g as sa,c as la,f as ja,t as Na,r as Wa}from"./index-BX3lLNL7.js";import{p as Xt}from"./sentry-Dx-KuLV3.js";import{ai as mt,aj as lt,ak as I,cz as Ie,cb as Gr,b_ as St,cv as Fr,al as ve,cA as Fa,cB as Ha,ct as Tt,cC as Hr}from"./index-CJmYIHke.js";import{c as za}from"./index-DVr5g7aY.js";import{n as Ve}from"./emotion-styled.browser.esm-CLtGE1ll.js";import{u as Mt,b as zt,o as Ze,c as Va,d as Ua,B as Ga,r as qt,e as zr}from"./createSvgIcon-E_1bKhdT.js";import{B as Ka,a as Ya,b as Za,c as Xa}from"./index-DEOpztub.js";import{E as Ts}from"./index-DEOpztub.js";import{g as ht,a as tt,c as qe,b as yt}from"./clsx-WwvpwSg0.js";import{s as Ee,a as Ja,b as ua}from"./styled-DXQxy1OG.js";import{e as Jt,i as Vt,u as et,G as Qa,P as eo}from"./Grow-CLVvW4Va.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./CircularProgress-BGQrDSLK.js";import"./useTheme-fGx03AZV.js";function to(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function ro(e){return k.Children.toArray(e).filter(t=>k.isValidElement(t))}const no={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var Qt={exports:{}},ne={};/**
2
2
  * @license React
3
3
  * react-is.production.min.js
4
4
  *