@dcl/auth-site 5.0.5-33823183538.commit-b08f9c7 → 5.1.0

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 (118) hide show
  1. package/assets/{ConstantsUtil-Dt48LBa7.js → ConstantsUtil-B2godJ2c.js} +1 -1
  2. package/assets/{ContentfulRichText-Kuc2J3dP.js → ContentfulRichText-Cs0E8o0t.js} +1 -1
  3. package/assets/{ExchangeController-DBh-bhYY.js → ExchangeController-B7SX4Pzg.js} +1 -1
  4. package/assets/{HelpersUtil-BZcqqouM.js → HelpersUtil-CiFB4WR6.js} +1 -1
  5. package/assets/LoginPage-DKqFqUVv.js +1 -0
  6. package/assets/{NetworkUtil-CtxnRAP0.js → NetworkUtil-CiIGtM8g.js} +1 -1
  7. package/assets/{SwapController-DrsRFNUw.js → SwapController-B3rgDdPi.js} +1 -1
  8. package/assets/{W3MFrameProviderSingleton-BULA1Yc8.js → W3MFrameProviderSingleton-DLC3PpMJ.js} +3 -3
  9. package/assets/{biconomy-mNvp0n79.js → biconomy-Da7Pd-cb.js} +1 -1
  10. package/assets/{browser-B7lljV-y.js → browser-BW09Ahtj.js} +1 -1
  11. package/assets/browser-ponyfill-B2t_VINd.js +1 -0
  12. package/assets/{ccip-DxeTFa0s.js → ccip-BI91ZhkH.js} +1 -1
  13. package/assets/{ccip-BU9UTzIh.js → ccip-Ds3ruycJ.js} +1 -1
  14. package/assets/{chains-DR9l2T2Z.js → chains-DQBLS_ei.js} +1 -1
  15. package/assets/{common-_bIE_GYT.js → common-BunFXhg5.js} +1 -1
  16. package/assets/{controller-CzMOG7vU.js → controller-H9x-1nEd.js} +2 -2
  17. package/assets/{data-capture-B94yktQy.js → data-capture-CcjMk20X.js} +1 -1
  18. package/assets/{email-CX7hw9kj.js → email-C6vV9Cue.js} +1 -1
  19. package/assets/{embedded-wallet-DborRSiM.js → embedded-wallet-d7WnoHCd.js} +1 -1
  20. package/assets/{engine-CUj1UnJX.js → engine-D9900kwA.js} +1 -1
  21. package/assets/{estimate-l1-fee-BOTil87S.js → estimate-l1-fee-CLA6NvhY.js} +1 -1
  22. package/assets/{ethereum--Nevzxuj.js → ethereum-DgSxt5e1.js} +1 -1
  23. package/assets/{extractIPFS-CqBeKu7_.js → extractIPFS-DjJNPAb6.js} +1 -1
  24. package/assets/{features-BmKxSG-D.js → features-DDroOaDo.js} +1 -1
  25. package/assets/{fetchTokenMetadata-CYfHcQkZ.js → fetchTokenMetadata-CY5fK1p9.js} +1 -1
  26. package/assets/{fortmatic-DBQAr762.js → fortmatic-Fc4XHbxN.js} +1 -1
  27. package/assets/{get-ecosystem-wallet-info-uykaqqCI.js → get-ecosystem-wallet-info-Dk9pELxZ.js} +1 -1
  28. package/assets/{getBalance-D_6eLpf8.js → getBalance-ivLKtO7b.js} +1 -1
  29. package/assets/{getInstalledModules-BP3tsg4R.js → getInstalledModules-CMVBiet6.js} +1 -1
  30. package/assets/{getNFT-Cvzrugtv.js → getNFT-BNvoKq2U.js} +2 -2
  31. package/assets/{getNFT-CKF0oL5m.js → getNFT-nPnZmYwT.js} +1 -1
  32. package/assets/{if-defined-CgJKeOSm.js → if-defined-BGggoims.js} +1 -1
  33. package/assets/{in-app-DqAZkd2p.js → in-app-DDKtrSUF.js} +2 -2
  34. package/assets/{in-app-wallet-calls-B7hjLrmN.js → in-app-wallet-calls-BR4IqhHd.js} +1 -1
  35. package/assets/{index-CBu_SSLD.js → index-0hq-21f2.js} +1 -1
  36. package/assets/{index-DIfpRlLG.js → index-1vK-KLj-.js} +2 -2
  37. package/assets/{index-BgX6qPPz.js → index-4BKTujRQ.js} +1 -1
  38. package/assets/{index-DMtjFv7E.js → index-B0Iewf1U.js} +1 -1
  39. package/assets/{index-IDG-Cerj.js → index-B2jrcajy.js} +1 -1
  40. package/assets/{index-CC54pCkO.js → index-B6FW5avQ.js} +1 -1
  41. package/assets/{index-BMhYseqb.js → index-B6dEnhfp.js} +1 -1
  42. package/assets/{index-D9Dsb9T7.js → index-B8S4U4S1.js} +3 -3
  43. package/assets/{index-B83ehqiU.js → index-B8Zcr_iG.js} +1 -1
  44. package/assets/{index-iYjJ6zNI.js → index-BAEVMW3g.js} +2 -2
  45. package/assets/index-BBEwMrZU.css +1 -0
  46. package/assets/{index-DnOgiyXk.js → index-BH6YbRCZ.js} +1 -1
  47. package/assets/{index-CSZIjRCd.js → index-BIai7LK8.js} +1 -1
  48. package/assets/{index-UpxAX95Y.js → index-BTF-nSCZ.js} +1 -1
  49. package/assets/{index-DCuB652s.js → index-BXRKA7DU.js} +1 -1
  50. package/assets/{index-DfxrcHAp.js → index-BYdBmgyr.js} +1 -1
  51. package/assets/{index-D1S9aayh.js → index-BYi-cT6-.js} +1 -1
  52. package/assets/{index-wtdlteYr.js → index-BZkmwrM7.js} +1 -1
  53. package/assets/{index-DDgpbond.js → index-BZn-uwDD.js} +1 -1
  54. package/assets/{index-BOA2Acwo.js → index-BeKilfmc.js} +3 -3
  55. package/assets/{index-BujiY2sb.js → index-Bp_sgoZA.js} +1 -1
  56. package/assets/{index-CvD3JQ7D.js → index-BsfJpmCD.js} +1 -1
  57. package/assets/{index-BawwGbap.js → index-Btwc8rfv.js} +1 -1
  58. package/assets/{index-bVY1fhDD.js → index-C-53rZCB.js} +1 -1
  59. package/assets/{index-CL2wOxBI.js → index-CFg-Y_dr.js} +1 -1
  60. package/assets/{index-E-MJ-hfV.js → index-CGkv2gMJ.js} +1 -1
  61. package/assets/{index-5SgjSqyz.js → index-CIf9EYhb.js} +1 -1
  62. package/assets/{index-Cmt2q8GY.js → index-CQ7jrIAl.js} +1 -1
  63. package/assets/{index-DJ2KFqR6.js → index-CSCZ5Zrc.js} +1 -1
  64. package/assets/{index-BBd1Nc3O.js → index-CWEDc-Ii.js} +1 -1
  65. package/assets/{index-CRk9Hc2Q.js → index-C_PYAHuA.js} +1 -1
  66. package/assets/{index-DOClSP2-.js → index-CbV0HiU0.js} +3 -3
  67. package/assets/{index-Bx8-Pet3.js → index-Chl8Tz4p.js} +1 -1
  68. package/assets/{index-BCdD3SUg.js → index-Cj7dzEyC.js} +9 -9
  69. package/assets/{index-NUGI1C22.js → index-CqLqfgxg.js} +1 -1
  70. package/assets/{index-CYx0fRHD.js → index-D9enbP8h.js} +1 -1
  71. package/assets/{index-D5lY2uq0.js → index-DCf_Bv3z.js} +1 -1
  72. package/assets/{index-CmAVW2e_.js → index-DD9LA6R8.js} +1 -1
  73. package/assets/{index-CmwHenfA.js → index-DdBH1qjj.js} +1 -1
  74. package/assets/{index-CzVoJpRY.js → index-DfY2gMrE.js} +1 -1
  75. package/assets/{index-DBOVwsuq.js → index-Dk0H3V98.js} +1 -1
  76. package/assets/{index-BOoMbux0.js → index-DpCEzLFK.js} +1 -1
  77. package/assets/{index-bbWlSVQr.js → index-Ds4ZcBMl.js} +1 -1
  78. package/assets/{index-Di-KdnUw.js → index-Io2Z3vAj.js} +1 -1
  79. package/assets/{index-BbZ1QbJ0.js → index-YxhTX0r_.js} +1 -1
  80. package/assets/{index-jKSIGZun.js → index-_d3u3uyx.js} +1 -1
  81. package/assets/{index-Dduwu7Zt.js → index-cehprRMC.js} +1 -1
  82. package/assets/{index-CQuhWFSI.js → index-gX_wBUdd.js} +1 -1
  83. package/assets/{index-DGbRCIux.js → index-qeNQritO.js} +1 -1
  84. package/assets/{index.es-BFHUE6MK.js → index.es-BqujzhBe.js} +1 -1
  85. package/assets/{index.es-CNNIPy7b.js → index.es-C_kefHvm.js} +1 -1
  86. package/assets/{linkAccount-CPGHOcOm.js → linkAccount-BNh4hIAU.js} +1 -1
  87. package/assets/{native-CO1Foc9o.js → native-0F2h1qs8.js} +1 -1
  88. package/assets/{networks-Dllgr3Y_.js → networks-BRiS7SKn.js} +3 -3
  89. package/assets/{onramp-9F3ZBN10.js → onramp-7ebdmRpl.js} +1 -1
  90. package/assets/{openzeppelin-CS5rfs6N.js → openzeppelin-DwDELTN8.js} +1 -1
  91. package/assets/{ownerOf-34ms6Ijo.js → ownerOf-BUQrWNhH.js} +1 -1
  92. package/assets/{parseNft-B7uZht2J.js → parseNft-adTiYJUC.js} +2 -2
  93. package/assets/{pay-with-exchange-DNjGiwPh.js → pay-with-exchange-bxqM5Lz5.js} +1 -1
  94. package/assets/{qr-overlay-CKdybk9Q.js → qr-overlay-ZyhS2Ht4.js} +3 -3
  95. package/assets/{receive-BrSpfIX2.js → receive-Ap525SeO.js} +1 -1
  96. package/assets/{ref-DwCPZLfc.js → ref-B8kvuC6E.js} +1 -1
  97. package/assets/{resolveImplementation-DJgUbQgq.js → resolveImplementation-PMnJ5UIA.js} +1 -1
  98. package/assets/{secp256k1-DD7RK6EM.js → secp256k1-D8sd0Kab.js} +1 -1
  99. package/assets/{send-eip712-transaction-DftpRb-4.js → send-eip712-transaction-BGzU8wvt.js} +1 -1
  100. package/assets/{send-gasless-transaction-RiBYLRq_.js → send-gasless-transaction-D_N4WHV1.js} +2 -2
  101. package/assets/{send-CgQPE0da.js → send-z6pck8xn.js} +1 -1
  102. package/assets/{session-proposal-D3KfHbRg.js → session-proposal-M2Bq3Lr7.js} +1 -1
  103. package/assets/{session-request-BBPCT4hi.js → session-request-DWMYB-Gf.js} +2 -2
  104. package/assets/{socials-CKimrsIx.js → socials-DnNvBVxt.js} +1 -1
  105. package/assets/{swaps-NNwAW2uw.js → swaps-B4F9nc_U.js} +1 -1
  106. package/assets/{thirdweb-C-oikHfy.js → thirdweb-DDX0V8S6.js} +5 -5
  107. package/assets/{totalSupply-iQ58pAdS.js → totalSupply-5m5qx3oh.js} +1 -1
  108. package/assets/{transactions-DEF2Im4t.js → transactions-C65TAUaG.js} +1 -1
  109. package/assets/{ui-BP9j8-c3.js → ui-B1iXjF4e.js} +5 -5
  110. package/assets/{vendor-DLqL6ANx.js → vendor-CL28Sq39.js} +1 -1
  111. package/assets/{w3m-modal-C4PtPH_G.js → w3m-modal-97GMtg7y.js} +1 -1
  112. package/assets/{wallets-CPB1os0n.js → wallets-CFX0N66_.js} +4 -4
  113. package/assets/{web-connector-BHlk4V6R.js → web-connector-DOyEocYj.js} +3 -3
  114. package/index.html +5 -5
  115. package/package.json +2 -2
  116. package/assets/LoginPage-B4JHDr97.js +0 -1
  117. package/assets/browser-ponyfill-CcE8f-zP.js +0 -1
  118. package/assets/index-l-eIJ3OB.css +0 -1
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/PhArrowCircleDown-B305t-Sh.js","assets/property-C9JG5tag.js","assets/PhArrowClockwise-CJPxQhr_.js","assets/PhArrowDown-C4hT9BVu.js","assets/PhArrowLeft-Way4Cu-r.js","assets/PhArrowRight-Cp5ZME0F.js","assets/PhArrowSquareOut-NnrK69c5.js","assets/PhArrowsDownUp-BjBI4ckC.js","assets/PhArrowsLeftRight-CuLpbKRk.js","assets/PhArrowUp-Dph6j8rm.js","assets/PhArrowUpRight-BpJjRRRh.js","assets/PhArrowsClockwise-CFUT8X7R.js","assets/PhBank-Dchr4XQJ.js","assets/PhBrowser-dUu2TrC1.js","assets/PhCaretDown-78IuKU3V.js","assets/PhCaretLeft-_aiyH7n1.js","assets/PhCaretRight-8zJQEuDX.js","assets/PhCaretUp-CiCxKWwN.js","assets/PhCheck-CcADx8br.js","assets/PhCircleHalf-BYzSzd2h.js","assets/PhClock-UItiXeJq.js","assets/PhCompass-CUy3uA7t.js","assets/PhCopy-C-PDgSlZ.js","assets/PhCreditCard-CWRaUT6F.js","assets/PhCurrencyDollar-Cqla3AXT.js","assets/PhDesktop-BBIPrYLl.js","assets/PhDeviceMobile-BdsPaATg.js","assets/PhDotsThree-BMXCQl-0.js","assets/PhVault-l2PHF38a.js","assets/PhEnvelope-yUsis6yU.js","assets/PhFunnelSimple-Ba7BbWTp.js","assets/PhGlobe-DgLxBk5U.js","assets/PhIdentificationCard-Czjmq9Z3.js","assets/PhImage-BAJ_erz6.js","assets/PhInfo-Cr4DhVUE.js","assets/PhLightbulb-BX_7duTr.js","assets/PhMagnifyingGlass-Mygfryvz.js","assets/PhPaperPlaneRight-BeuCA660.js","assets/PhPlus-BMjcHjsT.js","assets/PhPower-CGffGmdb.js","assets/PhPuzzlePiece-wm_GpVSi.js","assets/PhQrCode-DRwRzXCH.js","assets/PhQuestion-M09j2U0T.js","assets/PhQuestionMark-BP9EMB6h.js","assets/PhSealCheck-BfG80yKn.js","assets/PhSignOut-C5YOWlPT.js","assets/PhSpinner-BXooDYzU.js","assets/PhTrash-Biq6rmmL.js","assets/PhUser-CAgZSpGe.js","assets/PhWallet-w25D16It.js","assets/PhWarning-DPEydIPw.js","assets/PhWarningCircle-BqjT745H.js","assets/PhX-s-SmVExa.js"])))=>i.map(i=>d[i]);
2
- import{l as Z,u as A,j as k,r as y,i as x,h as E,w as s,v as f,E as T,d as I}from"./index-BOA2Acwo.js";import{_ as l}from"./thirdweb-C-oikHfy.js";const L=".",v={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--apkt-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--apkt-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},formatCurrency(t=0,e={}){const i=Number(t);return isNaN(i)?"$0.00":new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2,...e}).format(i)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:o}){return t.length<=e+i?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n==null?void 0:n.replace("px","")),h=`${a}% ${a}% at 65% 40%`,p=[];for(let d=0;d<5;d+=1){const m=this.tintColor(o,.15*d);p.push(`rgb(${m[0]}, ${m[1]}, ${m[2]})`)}return`
2
+ import{l as Z,u as A,j as k,r as y,i as x,h as E,w as s,v as f,E as T,d as I}from"./index-BeKilfmc.js";import{_ as l}from"./thirdweb-DDX0V8S6.js";const L=".",v={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--apkt-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--apkt-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},formatCurrency(t=0,e={}){const i=Number(t);return isNaN(i)?"$0.00":new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2,...e}).format(i)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:o}){return t.length<=e+i?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n==null?void 0:n.replace("px","")),h=`${a}% ${a}% at 65% 40%`,p=[];for(let d=0;d<5;d+=1){const m=this.tintColor(o,.15*d);p.push(`rgb(${m[0]}, ${m[1]}, ${m[2]})`)}return`
3
3
  --local-color-1: ${p[0]};
4
4
  --local-color-2: ${p[1]};
5
5
  --local-color-3: ${p[2]};
@@ -1,4 +1,4 @@
1
- import{w as f,d as w,r as v,i as b,h as l,e as y}from"./index-BOA2Acwo.js";import{n as o,c as x,U as $}from"./index-NUGI1C22.js";import"./index-CL2wOxBI.js";import"./index-5SgjSqyz.js";import{o as z}from"./if-defined-CgJKeOSm.js";const S=f`<svg width="86" height="96" fill="none">
1
+ import{w as f,d as w,r as v,i as b,h as l,e as y}from"./index-BeKilfmc.js";import{n as o,c as x,U as $}from"./index-CqLqfgxg.js";import"./index-CFg-Y_dr.js";import"./index-CIf9EYhb.js";import{o as z}from"./if-defined-BGggoims.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,4 +1,4 @@
1
- import{d as oe,i as se,h as w,r as Ce}from"./index-BOA2Acwo.js";import{U as Te,n as I,r as Q,c as ae}from"./index-NUGI1C22.js";import{g as ye}from"./thirdweb-C-oikHfy.js";import"./index-5SgjSqyz.js";import"./index-CRk9Hc2Q.js";import{o as Fe}from"./if-defined-CgJKeOSm.js";import"./index-CL2wOxBI.js";import"./index-DJ2KFqR6.js";import{C as pe,H as F,a as xe,R as Re,O as Ne,E as Le,e as je,W as ke}from"./W3MFrameProviderSingleton-BULA1Yc8.js";var me={exports:{}},ze=me.exports,Ie;function Ue(){return Ie||(Ie=1,function(e,t){(function(i,r){e.exports=r()})(ze,function(){var i=1e3,r=6e4,o=36e5,n="millisecond",s="second",u="minute",g="hour",p="day",y="week",$="month",j="quarter",D="year",R="date",Y="Invalid Date",X=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ee=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,te={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var l=["th","st","nd","rd"],a=h%100;return"["+h+(l[(a-20)%10]||l[a]||l[0])+"]"}},ie=function(h,l,a){var d=String(h);return!d||d.length>=l?h:""+Array(l+1-d.length).join(a)+h},q={s:ie,z:function(h){var l=-h.utcOffset(),a=Math.abs(l),d=Math.floor(a/60),c=a%60;return(l<=0?"+":"-")+ie(d,2,"0")+":"+ie(c,2,"0")},m:function h(l,a){if(l.date()<a.date())return-h(a,l);var d=12*(a.year()-l.year())+(a.month()-l.month()),c=l.clone().add(d,$),m=a-c<0,f=l.clone().add(d+(m?-1:1),$);return+(-(d+(a-c)/(m?c-f:f-c))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:$,y:D,w:y,d:p,D:R,h:g,m:u,s,ms:n,Q:j}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},S="en",O={};O[S]=te;var V="$isDayjsObject",B=function(h){return h instanceof le||!(!h||!h[V])},ce=function h(l,a,d){var c;if(!l)return S;if(typeof l=="string"){var m=l.toLowerCase();O[m]&&(c=m),a&&(O[m]=a,c=m);var f=l.split("-");if(!c&&f.length>1)return h(f[0])}else{var v=l.name;O[v]=l,c=v}return!d&&c&&(S=c),c||!d&&S},_=function(h,l){if(B(h))return h.clone();var a=typeof l=="object"?l:{};return a.date=h,a.args=arguments,new le(a)},x=q;x.l=ce,x.i=B,x.w=function(h,l){return _(h,{locale:l.$L,utc:l.$u,x:l.$x,$offset:l.$offset})};var le=function(){function h(a){this.$L=ce(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[V]=!0}var l=h.prototype;return l.parse=function(a){this.$d=function(d){var c=d.date,m=d.utc;if(c===null)return new Date(NaN);if(x.u(c))return new Date;if(c instanceof Date)return new Date(c);if(typeof c=="string"&&!/Z$/i.test(c)){var f=c.match(X);if(f){var v=f[2]-1||0,b=(f[7]||"0").substring(0,3);return m?new Date(Date.UTC(f[1],v,f[3]||1,f[4]||0,f[5]||0,f[6]||0,b)):new Date(f[1],v,f[3]||1,f[4]||0,f[5]||0,f[6]||0,b)}}return new Date(c)}(a),this.init()},l.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},l.$utils=function(){return x},l.isValid=function(){return this.$d.toString()!==Y},l.isSame=function(a,d){var c=_(a);return this.startOf(d)<=c&&c<=this.endOf(d)},l.isAfter=function(a,d){return _(a)<this.startOf(d)},l.isBefore=function(a,d){return this.endOf(d)<_(a)},l.$g=function(a,d,c){return x.u(a)?this[d]:this.set(c,a)},l.unix=function(){return Math.floor(this.valueOf()/1e3)},l.valueOf=function(){return this.$d.getTime()},l.startOf=function(a,d){var c=this,m=!!x.u(d)||d,f=x.p(a),v=function(P,A){var z=x.w(c.$u?Date.UTC(c.$y,A,P):new Date(c.$y,A,P),c);return m?z:z.endOf(p)},b=function(P,A){return x.w(c.toDate()[P].apply(c.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(A)),c)},T=this.$W,M=this.$M,C=this.$D,J="set"+(this.$u?"UTC":"");switch(f){case D:return m?v(1,0):v(31,11);case $:return m?v(1,M):v(0,M+1);case y:var W=this.$locale().weekStart||0,re=(T<W?T+7:T)-W;return v(m?C-re:C+(6-re),M);case p:case R:return b(J+"Hours",0);case g:return b(J+"Minutes",1);case u:return b(J+"Seconds",2);case s:return b(J+"Milliseconds",3);default:return this.clone()}},l.endOf=function(a){return this.startOf(a,!1)},l.$set=function(a,d){var c,m=x.p(a),f="set"+(this.$u?"UTC":""),v=(c={},c[p]=f+"Date",c[R]=f+"Date",c[$]=f+"Month",c[D]=f+"FullYear",c[g]=f+"Hours",c[u]=f+"Minutes",c[s]=f+"Seconds",c[n]=f+"Milliseconds",c)[m],b=m===p?this.$D+(d-this.$W):d;if(m===$||m===D){var T=this.clone().set(R,1);T.$d[v](b),T.init(),this.$d=T.set(R,Math.min(this.$D,T.daysInMonth())).$d}else v&&this.$d[v](b);return this.init(),this},l.set=function(a,d){return this.clone().$set(a,d)},l.get=function(a){return this[x.p(a)]()},l.add=function(a,d){var c,m=this;a=Number(a);var f=x.p(d),v=function(M){var C=_(m);return x.w(C.date(C.date()+Math.round(M*a)),m)};if(f===$)return this.set($,this.$M+a);if(f===D)return this.set(D,this.$y+a);if(f===p)return v(1);if(f===y)return v(7);var b=(c={},c[u]=r,c[g]=o,c[s]=i,c)[f]||1,T=this.$d.getTime()+a*b;return x.w(T,this)},l.subtract=function(a,d){return this.add(-1*a,d)},l.format=function(a){var d=this,c=this.$locale();if(!this.isValid())return c.invalidDate||Y;var m=a||"YYYY-MM-DDTHH:mm:ssZ",f=x.z(this),v=this.$H,b=this.$m,T=this.$M,M=c.weekdays,C=c.months,J=c.meridiem,W=function(A,z,ne,de){return A&&(A[z]||A(d,m))||ne[z].slice(0,de)},re=function(A){return x.s(v%12||12,A,"0")},P=J||function(A,z,ne){var de=A<12?"AM":"PM";return ne?de.toLowerCase():de};return m.replace(ee,function(A,z){return z||function(ne){switch(ne){case"YY":return String(d.$y).slice(-2);case"YYYY":return x.s(d.$y,4,"0");case"M":return T+1;case"MM":return x.s(T+1,2,"0");case"MMM":return W(c.monthsShort,T,C,3);case"MMMM":return W(C,T);case"D":return d.$D;case"DD":return x.s(d.$D,2,"0");case"d":return String(d.$W);case"dd":return W(c.weekdaysMin,d.$W,M,2);case"ddd":return W(c.weekdaysShort,d.$W,M,3);case"dddd":return M[d.$W];case"H":return String(v);case"HH":return x.s(v,2,"0");case"h":return re(1);case"hh":return re(2);case"a":return P(v,b,!0);case"A":return P(v,b,!1);case"m":return String(b);case"mm":return x.s(b,2,"0");case"s":return String(d.$s);case"ss":return x.s(d.$s,2,"0");case"SSS":return x.s(d.$ms,3,"0");case"Z":return f}return null}(A)||f.replace(":","")})},l.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},l.diff=function(a,d,c){var m,f=this,v=x.p(d),b=_(a),T=(b.utcOffset()-this.utcOffset())*r,M=this-b,C=function(){return x.m(f,b)};switch(v){case D:m=C()/12;break;case $:m=C();break;case j:m=C()/3;break;case y:m=(M-T)/6048e5;break;case p:m=(M-T)/864e5;break;case g:m=M/o;break;case u:m=M/r;break;case s:m=M/i;break;default:m=M}return c?m:x.a(m)},l.daysInMonth=function(){return this.endOf($).$D},l.$locale=function(){return O[this.$L]},l.locale=function(a,d){if(!a)return this.$L;var c=this.clone(),m=ce(a,d,!0);return m&&(c.$L=m),c},l.clone=function(){return x.w(this.$d,this)},l.toDate=function(){return new Date(this.valueOf())},l.toJSON=function(){return this.isValid()?this.toISOString():null},l.toISOString=function(){return this.$d.toISOString()},l.toString=function(){return this.$d.toUTCString()},h}(),_e=le.prototype;return _.prototype=_e,[["$ms",n],["$s",s],["$m",u],["$H",g],["$W",p],["$M",$],["$y",D],["$D",R]].forEach(function(h){_e[h[1]]=function(l){return this.$g(l,h[0],h[1])}}),_.extend=function(h,l){return h.$i||(h(l,le,_),h.$i=!0),_},_.locale=ce,_.isDayjs=B,_.unix=function(h){return _(1e3*h)},_.en=O[S],_.Ls=O,_.p={},_})}(me)),me.exports}var Ee=Ue();const K=ye(Ee);var fe={exports:{}},Ye=fe.exports,Me;function qe(){return Me||(Me=1,function(e,t){(function(i,r){e.exports=r()})(Ye,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(i){var r=["th","st","nd","rd"],o=i%100;return"["+i+(r[(o-20)%10]||r[o]||r[0])+"]"}}})}(fe)),fe.exports}var Be=qe();const We=ye(Be);var ge={exports:{}},Pe=ge.exports,Se;function He(){return Se||(Se=1,function(e,t){(function(i,r){e.exports=r()})(Pe,function(){return function(i,r,o){i=i||{};var n=r.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function u(p,y,$,j){return n.fromToBase(p,y,$,j)}o.en.relativeTime=s,n.fromToBase=function(p,y,$,j,D){for(var R,Y,X,ee=$.$locale().relativeTime||s,te=i.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],ie=te.length,q=0;q<ie;q+=1){var S=te[q];S.d&&(R=j?o(p).diff($,S.d,!0):$.diff(p,S.d,!0));var O=(i.rounding||Math.round)(Math.abs(R));if(X=R>0,O<=S.r||!S.r){O<=1&&q>0&&(S=te[q-1]);var V=ee[S.l];D&&(O=D(""+O)),Y=typeof V=="string"?V.replace("%d",O):V(O,y,S.l,X);break}}if(y)return Y;var B=X?ee.future:ee.past;return typeof B=="function"?B(Y):B.replace("%s",Y)},n.to=function(p,y){return u(p,y,this,!0)},n.from=function(p,y){return u(p,y,this)};var g=function(p){return p.$u?o.utc():o()};n.toNow=function(p){return this.to(g(this),p)},n.fromNow=function(p){return this.from(g(this),p)}}})}(ge)),ge.exports}var Ge=He();const Ve=ye(Ge);var we={exports:{}},Je=we.exports,Oe;function Ze(){return Oe||(Oe=1,function(e,t){(function(i,r){e.exports=r()})(Je,function(){return function(i,r,o){o.updateLocale=function(n,s){var u=o.Ls[n];if(u)return(s?Object.keys(s):[]).forEach(function(g){u[g]=s[g]}),u}}})}(we)),we.exports}var Ke=Ze();const Qe=ye(Ke);K.extend(Ve);K.extend(Qe);const Xe={...We,name:"en-web3-modal",relativeTime:{future:"in %s",past:"%s ago",s:"%d sec",m:"1 min",mm:"%d min",h:"1 hr",hh:"%d hrs",d:"1 d",dd:"%d d",M:"1 mo",MM:"%d mo",y:"1 yr",yy:"%d yr"}},et=["January","February","March","April","May","June","July","August","September","October","November","December"];K.locale("en-web3-modal",Xe);const $e={getMonthNameByIndex(e){return et[e]},getYear(e=new Date().toISOString()){return K(e).year()},getRelativeDateFromNow(e){return K(e).locale("en-web3-modal").fromNow(!0)},formatDate(e,t="DD MMM"){return K(e).format(t)}},tt=3,he=.1,it=["receive","deposit","borrow","claim"],rt=["withdraw","repay","burn"],Z={getTransactionGroupTitle(e,t){const i=$e.getYear(),r=$e.getMonthNameByIndex(t);return e===i?r:`${r} ${e}`},getTransactionImages(e){const[t]=e;return(e==null?void 0:e.length)>1?e.map(r=>this.getTransactionImage(r)):[this.getTransactionImage(t)]},getTransactionImage(e){return{type:Z.getTransactionTransferTokenType(e),url:Z.getTransactionImageURL(e)}},getTransactionImageURL(e){var o,n,s,u,g;let t;const i=!!(e!=null&&e.nft_info),r=!!(e!=null&&e.fungible_info);return e&&i?t=(s=(n=(o=e==null?void 0:e.nft_info)==null?void 0:o.content)==null?void 0:n.preview)==null?void 0:s.url:e&&r&&(t=(g=(u=e==null?void 0:e.fungible_info)==null?void 0:u.icon)==null?void 0:g.url),t},getTransactionTransferTokenType(e){if(e!=null&&e.fungible_info)return"FUNGIBLE";if(e!=null&&e.nft_info)return"NFT"},getTransactionDescriptions(e,t){var j;const i=(j=e==null?void 0:e.metadata)==null?void 0:j.operationType,r=t||(e==null?void 0:e.transfers),o=r&&r.length>0,n=r&&r.length>1,s=o&&r.every(D=>!!(D!=null&&D.fungible_info)),[u,g]=r||[];let p=this.getTransferDescription(u),y=this.getTransferDescription(g);if(!o)return(i==="send"||i==="receive")&&s?(p=Te.getTruncateString({string:e==null?void 0:e.metadata.sentFrom,charsStart:4,charsEnd:6,truncate:"middle"}),y=Te.getTruncateString({string:e==null?void 0:e.metadata.sentTo,charsStart:4,charsEnd:6,truncate:"middle"}),[p,y]):[e.metadata.status];if(n)return r==null?void 0:r.map(D=>this.getTransferDescription(D));let $="";return it.includes(i)?$="+":rt.includes(i)&&($="-"),p=$.concat(p),[p]},getTransferDescription(e){var i;let t="";return e&&(e!=null&&e.nft_info?t=((i=e==null?void 0:e.nft_info)==null?void 0:i.name)||"-":e!=null&&e.fungible_info&&(t=this.getFungibleTransferDescription(e)||"-")),t},getFungibleTransferDescription(e){var r;return e?[this.getQuantityFixedValue(e==null?void 0:e.quantity.numeric),(r=e==null?void 0:e.fungible_info)==null?void 0:r.symbol].join(" ").trim():null},mergeTransfers(e){if((e==null?void 0:e.length)<=1)return e;const i=this.filterGasFeeTransfers(e).reduce((o,n)=>{var g;const s=(g=n==null?void 0:n.fungible_info)==null?void 0:g.name,u=o.find(({fungible_info:p,direction:y})=>s&&s===(p==null?void 0:p.name)&&y===n.direction);if(u){const p=Number(u.quantity.numeric)+Number(n.quantity.numeric);u.quantity.numeric=p.toString(),u.value=(u.value||0)+(n.value||0)}else o.push(n);return o},[]);let r=i;return i.length>2&&(r=i.sort((o,n)=>(n.value||0)-(o.value||0)).slice(0,2)),r=r.sort((o,n)=>o.direction==="out"&&n.direction==="in"?-1:o.direction==="in"&&n.direction==="out"?1:0),r},filterGasFeeTransfers(e){const t=e==null?void 0:e.reduce((r,o)=>{var s;const n=(s=o==null?void 0:o.fungible_info)==null?void 0:s.name;return n&&(r[n]||(r[n]=[]),r[n].push(o)),r},{}),i=[];return Object.values(t??{}).forEach(r=>{if(r.length===1){const o=r[0];o&&i.push(o)}else{const o=r.filter(s=>s.direction==="in"),n=r.filter(s=>s.direction==="out");if(o.length===1&&n.length===1){const s=o[0],u=n[0];let g=!1;if(s&&u){const p=Number(s.quantity.numeric),y=Number(u.quantity.numeric);y<p*he?(i.push(s),g=!0):p<y*he&&(i.push(u),g=!0)}g||i.push(...r)}else{const s=this.filterGasFeesFromTokenGroup(r);i.push(...s)}}}),e==null||e.forEach(r=>{var o;(o=r==null?void 0:r.fungible_info)!=null&&o.name||i.push(r)}),i},filterGasFeesFromTokenGroup(e){if(e.length<=1)return e;const t=e==null?void 0:e.map(u=>Number(u.quantity.numeric)),i=Math.max(...t),r=Math.min(...t),o=.01;if(r<i*o)return e==null?void 0:e.filter(g=>Number(g.quantity.numeric)>=i*o);const n=e==null?void 0:e.filter(u=>u.direction==="in"),s=e==null?void 0:e.filter(u=>u.direction==="out");if(n.length===1&&s.length===1){const u=n[0],g=s[0];if(u&&g){const p=Number(u.quantity.numeric),y=Number(g.quantity.numeric);if(y<p*he)return[u];if(p<y*he)return[g]}}return e},getQuantityFixedValue(e){return e?parseFloat(e).toFixed(tt):null}};var be;(function(e){e.approve="approved",e.bought="bought",e.borrow="borrowed",e.burn="burnt",e.cancel="canceled",e.claim="claimed",e.deploy="deployed",e.deposit="deposited",e.execute="executed",e.mint="minted",e.receive="received",e.repay="repaid",e.send="sent",e.sell="sold",e.stake="staked",e.trade="swapped",e.unstake="unstaked",e.withdraw="withdrawn"})(be||(be={}));const nt=oe`
1
+ import{d as oe,i as se,h as w,r as Ce}from"./index-BeKilfmc.js";import{U as Te,n as I,r as Q,c as ae}from"./index-CqLqfgxg.js";import{g as ye}from"./thirdweb-DDX0V8S6.js";import"./index-CIf9EYhb.js";import"./index-C_PYAHuA.js";import{o as Fe}from"./if-defined-BGggoims.js";import"./index-CFg-Y_dr.js";import"./index-CSCZ5Zrc.js";import{C as pe,H as F,a as xe,R as Re,O as Ne,E as Le,e as je,W as ke}from"./W3MFrameProviderSingleton-DLC3PpMJ.js";var me={exports:{}},ze=me.exports,Ie;function Ue(){return Ie||(Ie=1,function(e,t){(function(i,r){e.exports=r()})(ze,function(){var i=1e3,r=6e4,o=36e5,n="millisecond",s="second",u="minute",g="hour",p="day",y="week",$="month",j="quarter",D="year",R="date",Y="Invalid Date",X=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ee=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,te={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var l=["th","st","nd","rd"],a=h%100;return"["+h+(l[(a-20)%10]||l[a]||l[0])+"]"}},ie=function(h,l,a){var d=String(h);return!d||d.length>=l?h:""+Array(l+1-d.length).join(a)+h},q={s:ie,z:function(h){var l=-h.utcOffset(),a=Math.abs(l),d=Math.floor(a/60),c=a%60;return(l<=0?"+":"-")+ie(d,2,"0")+":"+ie(c,2,"0")},m:function h(l,a){if(l.date()<a.date())return-h(a,l);var d=12*(a.year()-l.year())+(a.month()-l.month()),c=l.clone().add(d,$),m=a-c<0,f=l.clone().add(d+(m?-1:1),$);return+(-(d+(a-c)/(m?c-f:f-c))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:$,y:D,w:y,d:p,D:R,h:g,m:u,s,ms:n,Q:j}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},S="en",O={};O[S]=te;var V="$isDayjsObject",B=function(h){return h instanceof le||!(!h||!h[V])},ce=function h(l,a,d){var c;if(!l)return S;if(typeof l=="string"){var m=l.toLowerCase();O[m]&&(c=m),a&&(O[m]=a,c=m);var f=l.split("-");if(!c&&f.length>1)return h(f[0])}else{var v=l.name;O[v]=l,c=v}return!d&&c&&(S=c),c||!d&&S},_=function(h,l){if(B(h))return h.clone();var a=typeof l=="object"?l:{};return a.date=h,a.args=arguments,new le(a)},x=q;x.l=ce,x.i=B,x.w=function(h,l){return _(h,{locale:l.$L,utc:l.$u,x:l.$x,$offset:l.$offset})};var le=function(){function h(a){this.$L=ce(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[V]=!0}var l=h.prototype;return l.parse=function(a){this.$d=function(d){var c=d.date,m=d.utc;if(c===null)return new Date(NaN);if(x.u(c))return new Date;if(c instanceof Date)return new Date(c);if(typeof c=="string"&&!/Z$/i.test(c)){var f=c.match(X);if(f){var v=f[2]-1||0,b=(f[7]||"0").substring(0,3);return m?new Date(Date.UTC(f[1],v,f[3]||1,f[4]||0,f[5]||0,f[6]||0,b)):new Date(f[1],v,f[3]||1,f[4]||0,f[5]||0,f[6]||0,b)}}return new Date(c)}(a),this.init()},l.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},l.$utils=function(){return x},l.isValid=function(){return this.$d.toString()!==Y},l.isSame=function(a,d){var c=_(a);return this.startOf(d)<=c&&c<=this.endOf(d)},l.isAfter=function(a,d){return _(a)<this.startOf(d)},l.isBefore=function(a,d){return this.endOf(d)<_(a)},l.$g=function(a,d,c){return x.u(a)?this[d]:this.set(c,a)},l.unix=function(){return Math.floor(this.valueOf()/1e3)},l.valueOf=function(){return this.$d.getTime()},l.startOf=function(a,d){var c=this,m=!!x.u(d)||d,f=x.p(a),v=function(P,A){var z=x.w(c.$u?Date.UTC(c.$y,A,P):new Date(c.$y,A,P),c);return m?z:z.endOf(p)},b=function(P,A){return x.w(c.toDate()[P].apply(c.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(A)),c)},T=this.$W,M=this.$M,C=this.$D,J="set"+(this.$u?"UTC":"");switch(f){case D:return m?v(1,0):v(31,11);case $:return m?v(1,M):v(0,M+1);case y:var W=this.$locale().weekStart||0,re=(T<W?T+7:T)-W;return v(m?C-re:C+(6-re),M);case p:case R:return b(J+"Hours",0);case g:return b(J+"Minutes",1);case u:return b(J+"Seconds",2);case s:return b(J+"Milliseconds",3);default:return this.clone()}},l.endOf=function(a){return this.startOf(a,!1)},l.$set=function(a,d){var c,m=x.p(a),f="set"+(this.$u?"UTC":""),v=(c={},c[p]=f+"Date",c[R]=f+"Date",c[$]=f+"Month",c[D]=f+"FullYear",c[g]=f+"Hours",c[u]=f+"Minutes",c[s]=f+"Seconds",c[n]=f+"Milliseconds",c)[m],b=m===p?this.$D+(d-this.$W):d;if(m===$||m===D){var T=this.clone().set(R,1);T.$d[v](b),T.init(),this.$d=T.set(R,Math.min(this.$D,T.daysInMonth())).$d}else v&&this.$d[v](b);return this.init(),this},l.set=function(a,d){return this.clone().$set(a,d)},l.get=function(a){return this[x.p(a)]()},l.add=function(a,d){var c,m=this;a=Number(a);var f=x.p(d),v=function(M){var C=_(m);return x.w(C.date(C.date()+Math.round(M*a)),m)};if(f===$)return this.set($,this.$M+a);if(f===D)return this.set(D,this.$y+a);if(f===p)return v(1);if(f===y)return v(7);var b=(c={},c[u]=r,c[g]=o,c[s]=i,c)[f]||1,T=this.$d.getTime()+a*b;return x.w(T,this)},l.subtract=function(a,d){return this.add(-1*a,d)},l.format=function(a){var d=this,c=this.$locale();if(!this.isValid())return c.invalidDate||Y;var m=a||"YYYY-MM-DDTHH:mm:ssZ",f=x.z(this),v=this.$H,b=this.$m,T=this.$M,M=c.weekdays,C=c.months,J=c.meridiem,W=function(A,z,ne,de){return A&&(A[z]||A(d,m))||ne[z].slice(0,de)},re=function(A){return x.s(v%12||12,A,"0")},P=J||function(A,z,ne){var de=A<12?"AM":"PM";return ne?de.toLowerCase():de};return m.replace(ee,function(A,z){return z||function(ne){switch(ne){case"YY":return String(d.$y).slice(-2);case"YYYY":return x.s(d.$y,4,"0");case"M":return T+1;case"MM":return x.s(T+1,2,"0");case"MMM":return W(c.monthsShort,T,C,3);case"MMMM":return W(C,T);case"D":return d.$D;case"DD":return x.s(d.$D,2,"0");case"d":return String(d.$W);case"dd":return W(c.weekdaysMin,d.$W,M,2);case"ddd":return W(c.weekdaysShort,d.$W,M,3);case"dddd":return M[d.$W];case"H":return String(v);case"HH":return x.s(v,2,"0");case"h":return re(1);case"hh":return re(2);case"a":return P(v,b,!0);case"A":return P(v,b,!1);case"m":return String(b);case"mm":return x.s(b,2,"0");case"s":return String(d.$s);case"ss":return x.s(d.$s,2,"0");case"SSS":return x.s(d.$ms,3,"0");case"Z":return f}return null}(A)||f.replace(":","")})},l.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},l.diff=function(a,d,c){var m,f=this,v=x.p(d),b=_(a),T=(b.utcOffset()-this.utcOffset())*r,M=this-b,C=function(){return x.m(f,b)};switch(v){case D:m=C()/12;break;case $:m=C();break;case j:m=C()/3;break;case y:m=(M-T)/6048e5;break;case p:m=(M-T)/864e5;break;case g:m=M/o;break;case u:m=M/r;break;case s:m=M/i;break;default:m=M}return c?m:x.a(m)},l.daysInMonth=function(){return this.endOf($).$D},l.$locale=function(){return O[this.$L]},l.locale=function(a,d){if(!a)return this.$L;var c=this.clone(),m=ce(a,d,!0);return m&&(c.$L=m),c},l.clone=function(){return x.w(this.$d,this)},l.toDate=function(){return new Date(this.valueOf())},l.toJSON=function(){return this.isValid()?this.toISOString():null},l.toISOString=function(){return this.$d.toISOString()},l.toString=function(){return this.$d.toUTCString()},h}(),_e=le.prototype;return _.prototype=_e,[["$ms",n],["$s",s],["$m",u],["$H",g],["$W",p],["$M",$],["$y",D],["$D",R]].forEach(function(h){_e[h[1]]=function(l){return this.$g(l,h[0],h[1])}}),_.extend=function(h,l){return h.$i||(h(l,le,_),h.$i=!0),_},_.locale=ce,_.isDayjs=B,_.unix=function(h){return _(1e3*h)},_.en=O[S],_.Ls=O,_.p={},_})}(me)),me.exports}var Ee=Ue();const K=ye(Ee);var fe={exports:{}},Ye=fe.exports,Me;function qe(){return Me||(Me=1,function(e,t){(function(i,r){e.exports=r()})(Ye,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(i){var r=["th","st","nd","rd"],o=i%100;return"["+i+(r[(o-20)%10]||r[o]||r[0])+"]"}}})}(fe)),fe.exports}var Be=qe();const We=ye(Be);var ge={exports:{}},Pe=ge.exports,Se;function He(){return Se||(Se=1,function(e,t){(function(i,r){e.exports=r()})(Pe,function(){return function(i,r,o){i=i||{};var n=r.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function u(p,y,$,j){return n.fromToBase(p,y,$,j)}o.en.relativeTime=s,n.fromToBase=function(p,y,$,j,D){for(var R,Y,X,ee=$.$locale().relativeTime||s,te=i.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],ie=te.length,q=0;q<ie;q+=1){var S=te[q];S.d&&(R=j?o(p).diff($,S.d,!0):$.diff(p,S.d,!0));var O=(i.rounding||Math.round)(Math.abs(R));if(X=R>0,O<=S.r||!S.r){O<=1&&q>0&&(S=te[q-1]);var V=ee[S.l];D&&(O=D(""+O)),Y=typeof V=="string"?V.replace("%d",O):V(O,y,S.l,X);break}}if(y)return Y;var B=X?ee.future:ee.past;return typeof B=="function"?B(Y):B.replace("%s",Y)},n.to=function(p,y){return u(p,y,this,!0)},n.from=function(p,y){return u(p,y,this)};var g=function(p){return p.$u?o.utc():o()};n.toNow=function(p){return this.to(g(this),p)},n.fromNow=function(p){return this.from(g(this),p)}}})}(ge)),ge.exports}var Ge=He();const Ve=ye(Ge);var we={exports:{}},Je=we.exports,Oe;function Ze(){return Oe||(Oe=1,function(e,t){(function(i,r){e.exports=r()})(Je,function(){return function(i,r,o){o.updateLocale=function(n,s){var u=o.Ls[n];if(u)return(s?Object.keys(s):[]).forEach(function(g){u[g]=s[g]}),u}}})}(we)),we.exports}var Ke=Ze();const Qe=ye(Ke);K.extend(Ve);K.extend(Qe);const Xe={...We,name:"en-web3-modal",relativeTime:{future:"in %s",past:"%s ago",s:"%d sec",m:"1 min",mm:"%d min",h:"1 hr",hh:"%d hrs",d:"1 d",dd:"%d d",M:"1 mo",MM:"%d mo",y:"1 yr",yy:"%d yr"}},et=["January","February","March","April","May","June","July","August","September","October","November","December"];K.locale("en-web3-modal",Xe);const $e={getMonthNameByIndex(e){return et[e]},getYear(e=new Date().toISOString()){return K(e).year()},getRelativeDateFromNow(e){return K(e).locale("en-web3-modal").fromNow(!0)},formatDate(e,t="DD MMM"){return K(e).format(t)}},tt=3,he=.1,it=["receive","deposit","borrow","claim"],rt=["withdraw","repay","burn"],Z={getTransactionGroupTitle(e,t){const i=$e.getYear(),r=$e.getMonthNameByIndex(t);return e===i?r:`${r} ${e}`},getTransactionImages(e){const[t]=e;return(e==null?void 0:e.length)>1?e.map(r=>this.getTransactionImage(r)):[this.getTransactionImage(t)]},getTransactionImage(e){return{type:Z.getTransactionTransferTokenType(e),url:Z.getTransactionImageURL(e)}},getTransactionImageURL(e){var o,n,s,u,g;let t;const i=!!(e!=null&&e.nft_info),r=!!(e!=null&&e.fungible_info);return e&&i?t=(s=(n=(o=e==null?void 0:e.nft_info)==null?void 0:o.content)==null?void 0:n.preview)==null?void 0:s.url:e&&r&&(t=(g=(u=e==null?void 0:e.fungible_info)==null?void 0:u.icon)==null?void 0:g.url),t},getTransactionTransferTokenType(e){if(e!=null&&e.fungible_info)return"FUNGIBLE";if(e!=null&&e.nft_info)return"NFT"},getTransactionDescriptions(e,t){var j;const i=(j=e==null?void 0:e.metadata)==null?void 0:j.operationType,r=t||(e==null?void 0:e.transfers),o=r&&r.length>0,n=r&&r.length>1,s=o&&r.every(D=>!!(D!=null&&D.fungible_info)),[u,g]=r||[];let p=this.getTransferDescription(u),y=this.getTransferDescription(g);if(!o)return(i==="send"||i==="receive")&&s?(p=Te.getTruncateString({string:e==null?void 0:e.metadata.sentFrom,charsStart:4,charsEnd:6,truncate:"middle"}),y=Te.getTruncateString({string:e==null?void 0:e.metadata.sentTo,charsStart:4,charsEnd:6,truncate:"middle"}),[p,y]):[e.metadata.status];if(n)return r==null?void 0:r.map(D=>this.getTransferDescription(D));let $="";return it.includes(i)?$="+":rt.includes(i)&&($="-"),p=$.concat(p),[p]},getTransferDescription(e){var i;let t="";return e&&(e!=null&&e.nft_info?t=((i=e==null?void 0:e.nft_info)==null?void 0:i.name)||"-":e!=null&&e.fungible_info&&(t=this.getFungibleTransferDescription(e)||"-")),t},getFungibleTransferDescription(e){var r;return e?[this.getQuantityFixedValue(e==null?void 0:e.quantity.numeric),(r=e==null?void 0:e.fungible_info)==null?void 0:r.symbol].join(" ").trim():null},mergeTransfers(e){if((e==null?void 0:e.length)<=1)return e;const i=this.filterGasFeeTransfers(e).reduce((o,n)=>{var g;const s=(g=n==null?void 0:n.fungible_info)==null?void 0:g.name,u=o.find(({fungible_info:p,direction:y})=>s&&s===(p==null?void 0:p.name)&&y===n.direction);if(u){const p=Number(u.quantity.numeric)+Number(n.quantity.numeric);u.quantity.numeric=p.toString(),u.value=(u.value||0)+(n.value||0)}else o.push(n);return o},[]);let r=i;return i.length>2&&(r=i.sort((o,n)=>(n.value||0)-(o.value||0)).slice(0,2)),r=r.sort((o,n)=>o.direction==="out"&&n.direction==="in"?-1:o.direction==="in"&&n.direction==="out"?1:0),r},filterGasFeeTransfers(e){const t=e==null?void 0:e.reduce((r,o)=>{var s;const n=(s=o==null?void 0:o.fungible_info)==null?void 0:s.name;return n&&(r[n]||(r[n]=[]),r[n].push(o)),r},{}),i=[];return Object.values(t??{}).forEach(r=>{if(r.length===1){const o=r[0];o&&i.push(o)}else{const o=r.filter(s=>s.direction==="in"),n=r.filter(s=>s.direction==="out");if(o.length===1&&n.length===1){const s=o[0],u=n[0];let g=!1;if(s&&u){const p=Number(s.quantity.numeric),y=Number(u.quantity.numeric);y<p*he?(i.push(s),g=!0):p<y*he&&(i.push(u),g=!0)}g||i.push(...r)}else{const s=this.filterGasFeesFromTokenGroup(r);i.push(...s)}}}),e==null||e.forEach(r=>{var o;(o=r==null?void 0:r.fungible_info)!=null&&o.name||i.push(r)}),i},filterGasFeesFromTokenGroup(e){if(e.length<=1)return e;const t=e==null?void 0:e.map(u=>Number(u.quantity.numeric)),i=Math.max(...t),r=Math.min(...t),o=.01;if(r<i*o)return e==null?void 0:e.filter(g=>Number(g.quantity.numeric)>=i*o);const n=e==null?void 0:e.filter(u=>u.direction==="in"),s=e==null?void 0:e.filter(u=>u.direction==="out");if(n.length===1&&s.length===1){const u=n[0],g=s[0];if(u&&g){const p=Number(u.quantity.numeric),y=Number(g.quantity.numeric);if(y<p*he)return[u];if(p<y*he)return[g]}}return e},getQuantityFixedValue(e){return e?parseFloat(e).toFixed(tt):null}};var be;(function(e){e.approve="approved",e.bought="bought",e.borrow="borrowed",e.burn="burnt",e.cancel="canceled",e.claim="claimed",e.deploy="deployed",e.deposit="deposited",e.execute="executed",e.mint="minted",e.receive="received",e.repay="repaid",e.send="sent",e.sell="sold",e.stake="staked",e.trade="swapped",e.unstake="unstaked",e.withdraw="withdrawn"})(be||(be={}));const nt=oe`
2
2
  :host > wui-flex {
3
3
  display: flex;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{d as C,r as O,e as P,i as b,h as l,j as E}from"./index-BOA2Acwo.js";import{n as h,c as v,r as d,U as x}from"./index-NUGI1C22.js";import"./index-CRk9Hc2Q.js";import"./index-bVY1fhDD.js";import{l as g,R as S,i as $,a as R,S as T}from"./W3MFrameProviderSingleton-BULA1Yc8.js";const L=C`
1
+ import{d as C,r as O,e as P,i as b,h as l,j as E}from"./index-BeKilfmc.js";import{n as h,c as v,r as d,U as x}from"./index-CqLqfgxg.js";import"./index-C_PYAHuA.js";import"./index-C-53rZCB.js";import{l as g,R as S,i as $,a as R,S as T}from"./W3MFrameProviderSingleton-DLC3PpMJ.js";const L=C`
2
2
  :host {
3
3
  position: relative;
4
4
  display: inline-block;
@@ -1,4 +1,4 @@
1
- import{j as h,i as d,h as a,d as w,r as x,e as b}from"./index-BOA2Acwo.js";import{c as m,r as g}from"./index-NUGI1C22.js";import"./index-CRk9Hc2Q.js";import{O as c,E as v,e as C,C as _,W as $,R}from"./W3MFrameProviderSingleton-BULA1Yc8.js";const T=h``;var O=function(n,e,r,o){var i=arguments.length,t=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,e,r,o);else for(var l=n.length-1;l>=0;l--)(s=n[l])&&(t=(i<3?s(t):i>3?s(e,r,t):s(e,r))||t);return i>3&&t&&Object.defineProperty(e,r,t),t};let f=class extends d{render(){const{termsConditionsUrl:e,privacyPolicyUrl:r}=c.state;return!e&&!r?null:a`
1
+ import{j as h,i as d,h as a,d as w,r as x,e as b}from"./index-BeKilfmc.js";import{c as m,r as g}from"./index-CqLqfgxg.js";import"./index-C_PYAHuA.js";import{O as c,E as v,e as C,C as _,W as $,R}from"./W3MFrameProviderSingleton-DLC3PpMJ.js";const T=h``;var O=function(n,e,r,o){var i=arguments.length,t=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,e,r,o);else for(var l=n.length-1;l>=0;l--)(s=n[l])&&(t=(i<3?s(t):i>3?s(e,r,t):s(e,r))||t);return i>3&&t&&Object.defineProperty(e,r,t),t};let f=class extends d{render(){const{termsConditionsUrl:e,privacyPolicyUrl:r}=c.state;return!e&&!r?null:a`
2
2
  <wui-flex
3
3
  .padding=${["4","3","3","3"]}
4
4
  flexDirection="column"
@@ -1 +1 @@
1
- import{P as t,A as i,a as u}from"./index-D1S9aayh.js";import{b as be,c as ye,W as Se}from"./index-D1S9aayh.js";import"./index-BOA2Acwo.js";import"./thirdweb-C-oikHfy.js";import"./W3MFrameProviderSingleton-BULA1Yc8.js";import"./ui-BP9j8-c3.js";import"./vendor-DLqL6ANx.js";import"./index-B83ehqiU.js";import"./index-BCdD3SUg.js";import"./browser-ponyfill-CcE8f-zP.js";import"./NetworkUtil-CtxnRAP0.js";import"./index-bbWlSVQr.js";import"./index-nibyPLVP.js";import"./index.es-CNNIPy7b.js";import"./fromHex-CMtWckFK.js";import"./index-NUGI1C22.js";import"./if-defined-CgJKeOSm.js";import"./index-Cmt2q8GY.js";import"./index-bVY1fhDD.js";import"./index-Bx8-Pet3.js";import"./index-CL2wOxBI.js";import"./index-CvD3JQ7D.js";import"./index-CYx0fRHD.js";import"./index-5SgjSqyz.js";import"./index-IDG-Cerj.js";import"./index-DJ2KFqR6.js";import"./MathUtil-BGCe3rZ3.js";const C=3e5;async function U(e){return t.handleOpenPay(e)}async function J(e,r=C){if(r<=0)throw new i(u.INVALID_PAYMENT_CONFIG,"Timeout must be greater than 0");try{await U(e)}catch(s){throw s instanceof i?s:new i(u.UNABLE_TO_INITIATE_PAYMENT,s.message)}return new Promise((s,l)=>{let o=!1;const c=setTimeout(()=>{o||(o=!0,m(),l(new i(u.GENERIC_PAYMENT_ERROR,"Payment timeout")))},r);function n(){if(o)return;const a=t.state.currentPayment,p=t.state.error,D=t.state.isPaymentInProgress;if((a==null?void 0:a.status)==="SUCCESS"){o=!0,m(),clearTimeout(c),s({success:!0,result:a.result});return}if((a==null?void 0:a.status)==="FAILED"){o=!0,m(),clearTimeout(c),s({success:!1,error:p||"Payment failed"});return}p&&!D&&!a&&(o=!0,m(),clearTimeout(c),s({success:!1,error:p}))}const b=d("currentPayment",n),y=d("error",n),S=d("isPaymentInProgress",n),m=E([b,y,S]);n()})}function V(){return t.getExchanges()}function Z(){var e;return(e=t.state.currentPayment)==null?void 0:e.result}function j(){return t.state.error}function Q(){return t.state.isPaymentInProgress}function d(e,r){return t.subscribeKey(e,r)}function E(e){return()=>{e.forEach(r=>{try{r()}catch{}})}}const X={network:"eip155:8453",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},$={network:"eip155:8453",asset:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ee={network:"eip155:84532",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},te={network:"eip155:1",asset:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ae={network:"eip155:10",asset:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},se={network:"eip155:42161",asset:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},re={network:"eip155:137",asset:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},oe={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ne={network:"eip155:1",asset:"0xdAC17F958D2ee523a2206206994597C13D831ec7",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},me={network:"eip155:10",asset:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ie={network:"eip155:42161",asset:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ce={network:"eip155:137",asset:"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},pe={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ue={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"native",metadata:{name:"Solana",symbol:"SOL",decimals:9}};export{t as PayController,be as W3mPayLoadingView,ye as W3mPayQuoteView,Se as W3mPayView,se as arbitrumUSDC,ie as arbitrumUSDT,X as baseETH,ee as baseSepoliaETH,$ as baseUSDC,te as ethereumUSDC,ne as ethereumUSDT,V as getExchanges,Q as getIsPaymentInProgress,j as getPayError,Z as getPayResult,U as openPay,ae as optimismUSDC,me as optimismUSDT,J as pay,re as polygonUSDC,ce as polygonUSDT,ue as solanaSOL,oe as solanaUSDC,pe as solanaUSDT};
1
+ import{P as t,A as i,a as u}from"./index-BYi-cT6-.js";import{b as be,c as ye,W as Se}from"./index-BYi-cT6-.js";import"./index-BeKilfmc.js";import"./thirdweb-DDX0V8S6.js";import"./W3MFrameProviderSingleton-DLC3PpMJ.js";import"./ui-B1iXjF4e.js";import"./vendor-CL28Sq39.js";import"./index-B8Zcr_iG.js";import"./index-Cj7dzEyC.js";import"./browser-ponyfill-B2t_VINd.js";import"./NetworkUtil-CiIGtM8g.js";import"./index-Ds4ZcBMl.js";import"./index-nibyPLVP.js";import"./index.es-C_kefHvm.js";import"./fromHex-CMtWckFK.js";import"./index-CqLqfgxg.js";import"./if-defined-BGggoims.js";import"./index-CQ7jrIAl.js";import"./index-C-53rZCB.js";import"./index-Chl8Tz4p.js";import"./index-CFg-Y_dr.js";import"./index-BsfJpmCD.js";import"./index-D9enbP8h.js";import"./index-CIf9EYhb.js";import"./index-B2jrcajy.js";import"./index-CSCZ5Zrc.js";import"./MathUtil-BGCe3rZ3.js";const C=3e5;async function U(e){return t.handleOpenPay(e)}async function J(e,r=C){if(r<=0)throw new i(u.INVALID_PAYMENT_CONFIG,"Timeout must be greater than 0");try{await U(e)}catch(s){throw s instanceof i?s:new i(u.UNABLE_TO_INITIATE_PAYMENT,s.message)}return new Promise((s,l)=>{let o=!1;const c=setTimeout(()=>{o||(o=!0,m(),l(new i(u.GENERIC_PAYMENT_ERROR,"Payment timeout")))},r);function n(){if(o)return;const a=t.state.currentPayment,p=t.state.error,D=t.state.isPaymentInProgress;if((a==null?void 0:a.status)==="SUCCESS"){o=!0,m(),clearTimeout(c),s({success:!0,result:a.result});return}if((a==null?void 0:a.status)==="FAILED"){o=!0,m(),clearTimeout(c),s({success:!1,error:p||"Payment failed"});return}p&&!D&&!a&&(o=!0,m(),clearTimeout(c),s({success:!1,error:p}))}const b=d("currentPayment",n),y=d("error",n),S=d("isPaymentInProgress",n),m=E([b,y,S]);n()})}function V(){return t.getExchanges()}function Z(){var e;return(e=t.state.currentPayment)==null?void 0:e.result}function j(){return t.state.error}function Q(){return t.state.isPaymentInProgress}function d(e,r){return t.subscribeKey(e,r)}function E(e){return()=>{e.forEach(r=>{try{r()}catch{}})}}const X={network:"eip155:8453",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},$={network:"eip155:8453",asset:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ee={network:"eip155:84532",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},te={network:"eip155:1",asset:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ae={network:"eip155:10",asset:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},se={network:"eip155:42161",asset:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},re={network:"eip155:137",asset:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},oe={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ne={network:"eip155:1",asset:"0xdAC17F958D2ee523a2206206994597C13D831ec7",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},me={network:"eip155:10",asset:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ie={network:"eip155:42161",asset:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ce={network:"eip155:137",asset:"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},pe={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ue={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"native",metadata:{name:"Solana",symbol:"SOL",decimals:9}};export{t as PayController,be as W3mPayLoadingView,ye as W3mPayQuoteView,Se as W3mPayView,se as arbitrumUSDC,ie as arbitrumUSDT,X as baseETH,ee as baseSepoliaETH,$ as baseUSDC,te as ethereumUSDC,ne as ethereumUSDT,V as getExchanges,Q as getIsPaymentInProgress,j as getPayError,Z as getPayResult,U as openPay,ae as optimismUSDC,me as optimismUSDT,J as pay,re as polygonUSDC,ce as polygonUSDT,ue as solanaSOL,oe as solanaUSDC,pe as solanaUSDT};
@@ -1,4 +1,4 @@
1
- import{d as v,r as _,e as W,i as f,h as l,j as ee}from"./index-BOA2Acwo.js";import{n as c,c as p,U as F,r as u,b as Ii}from"./index-NUGI1C22.js";import{o as w}from"./if-defined-CgJKeOSm.js";import"./index-CL2wOxBI.js";import"./index-bVY1fhDD.js";import"./index-BbZ1QbJ0.js";import{C as d,O as m,D as Ee,j as S,a as y,M as P,E as C,k as me,i as b,R as h,b as D,S as A,d as x,e as ze,W as Fe,a4 as Xt,a3 as he,U as J,L as qi,q as I,a8 as tt,A as _i,u as Ki,t as Gi,o as Xi,T as ft,F as Yt,G as Qt,a6 as Yi,ad as Qi,I as Bt,ae as Ji}from"./W3MFrameProviderSingleton-BULA1Yc8.js";import"./index-5SgjSqyz.js";import{a as Ps,W as Ds}from"./index-CBu_SSLD.js";import"./index-Bx8-Pet3.js";import"./index-CvD3JQ7D.js";import"./index-Cmt2q8GY.js";import{C as E}from"./NetworkUtil-CtxnRAP0.js";import{H as Jt}from"./HelpersUtil-BZcqqouM.js";import{n as Zi}from"./index-CYx0fRHD.js";import{E as Q}from"./ExchangeController-DBh-bhYY.js";import"./index-D5lY2uq0.js";import"./index-CQuhWFSI.js";import"./index-DMtjFv7E.js";import{M as mt}from"./MathUtil-BGCe3rZ3.js";import"./index-IDG-Cerj.js";import{e as Zt,n as ei}from"./ref-DwCPZLfc.js";import"./index-DGbRCIux.js";import"./index-DJ2KFqR6.js";import"./index-CmwHenfA.js";import"./index-BOoMbux0.js";import{O as bt}from"./index-BMhYseqb.js";import{e as en}from"./index-Di-KdnUw.js";import"./index-CRk9Hc2Q.js";import"./index-UpxAX95Y.js";import{N as tn}from"./NavigationUtil-DmfK5sOV.js";import"./index-CC54pCkO.js";import"./thirdweb-C-oikHfy.js";import"./ui-BP9j8-c3.js";import"./vendor-DLqL6ANx.js";import"./index-BCdD3SUg.js";import"./index-bbWlSVQr.js";import"./index-B83ehqiU.js";import"./index-nibyPLVP.js";import"./index.es-CNNIPy7b.js";import"./browser-ponyfill-CcE8f-zP.js";import"./fromHex-CMtWckFK.js";import"./ConstantsUtil-Dt48LBa7.js";import"./browser-B7lljV-y.js";const nn=v`
1
+ import{d as v,r as _,e as W,i as f,h as l,j as ee}from"./index-BeKilfmc.js";import{n as c,c as p,U as F,r as u,b as Ii}from"./index-CqLqfgxg.js";import{o as w}from"./if-defined-BGggoims.js";import"./index-CFg-Y_dr.js";import"./index-C-53rZCB.js";import"./index-YxhTX0r_.js";import{C as d,O as m,D as Ee,j as S,a as y,M as P,E as C,k as me,i as b,R as h,b as D,S as A,d as x,e as ze,W as Fe,a4 as Xt,a3 as he,U as J,L as qi,q as I,a8 as tt,A as _i,u as Ki,t as Gi,o as Xi,T as ft,F as Yt,G as Qt,a6 as Yi,ad as Qi,I as Bt,ae as Ji}from"./W3MFrameProviderSingleton-DLC3PpMJ.js";import"./index-CIf9EYhb.js";import{a as Ps,W as Ds}from"./index-0hq-21f2.js";import"./index-Chl8Tz4p.js";import"./index-BsfJpmCD.js";import"./index-CQ7jrIAl.js";import{C as E}from"./NetworkUtil-CiIGtM8g.js";import{H as Jt}from"./HelpersUtil-CiFB4WR6.js";import{n as Zi}from"./index-D9enbP8h.js";import{E as Q}from"./ExchangeController-B7SX4Pzg.js";import"./index-DCf_Bv3z.js";import"./index-gX_wBUdd.js";import"./index-B0Iewf1U.js";import{M as mt}from"./MathUtil-BGCe3rZ3.js";import"./index-B2jrcajy.js";import{e as Zt,n as ei}from"./ref-B8kvuC6E.js";import"./index-qeNQritO.js";import"./index-CSCZ5Zrc.js";import"./index-DdBH1qjj.js";import"./index-DpCEzLFK.js";import{O as bt}from"./index-B6dEnhfp.js";import{e as en}from"./index-Io2Z3vAj.js";import"./index-C_PYAHuA.js";import"./index-BTF-nSCZ.js";import{N as tn}from"./NavigationUtil-DmfK5sOV.js";import"./index-B6FW5avQ.js";import"./thirdweb-DDX0V8S6.js";import"./ui-B1iXjF4e.js";import"./vendor-CL28Sq39.js";import"./index-Cj7dzEyC.js";import"./index-Ds4ZcBMl.js";import"./index-B8Zcr_iG.js";import"./index-nibyPLVP.js";import"./index.es-C_kefHvm.js";import"./browser-ponyfill-B2t_VINd.js";import"./fromHex-CMtWckFK.js";import"./ConstantsUtil-B2godJ2c.js";import"./browser-BW09Ahtj.js";const nn=v`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{j as m,r as c,i as f,h as d}from"./index-BOA2Acwo.js";import{n as u,c as h}from"./index-NUGI1C22.js";import{o as b}from"./if-defined-CgJKeOSm.js";import"./index-DGbRCIux.js";const v=m`
1
+ import{j as m,r as c,i as f,h as d}from"./index-BeKilfmc.js";import{n as u,c as h}from"./index-CqLqfgxg.js";import{o as b}from"./if-defined-BGggoims.js";import"./index-qeNQritO.js";const v=m`
2
2
  :host {
3
3
  position: relative;
4
4
  display: inline-block;
@@ -1,4 +1,4 @@
1
- import{e as ft}from"./index-BCdD3SUg.js";import{a as Fn,p as Se}from"./thirdweb-C-oikHfy.js";import{c as _n}from"./index-B83ehqiU.js";import{g as ge}from"./ui-BP9j8-c3.js";var Pe={};/*! *****************************************************************************
1
+ import{e as ft}from"./index-Cj7dzEyC.js";import{a as Fn,p as Se}from"./thirdweb-DDX0V8S6.js";import{c as _n}from"./index-B8Zcr_iG.js";import{g as ge}from"./ui-B1iXjF4e.js";var Pe={};/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -1,4 +1,4 @@
1
- import{C as l,E as g,R as h,i as m,S as w,a as c,r as E,k as _}from"./W3MFrameProviderSingleton-BULA1Yc8.js";import{C as R}from"./NetworkUtil-CtxnRAP0.js";import{d as y,r as b,i as C,h as v,e as O}from"./index-BOA2Acwo.js";import{n as d,c as S}from"./index-NUGI1C22.js";import{o as $}from"./if-defined-CgJKeOSm.js";function I(){try{return c.returnOpenHref(`${R.SECURE_SITE_SDK_ORIGIN}/loading`,"popupWindow","width=600,height=800,scrollbars=yes")}catch{throw new Error("Could not open social popup")}}async function L(){h.push("ConnectingFarcaster");const e=m.getAuthConnector();if(e){const o=l.getAccountData();if(!(o!=null&&o.farcasterUrl))try{const{url:t}=await e.provider.getFarcasterUri();l.setAccountProp("farcasterUrl",t,l.state.activeChain)}catch(t){h.goBack(),w.showError(t)}}}async function T(e){h.push("ConnectingSocial");const o=m.getAuthConnector();let t=null;try{const i=setTimeout(()=>{throw new Error("Social login timed out. Please try again.")},45e3);if(o&&e){if(c.isTelegram()||(t=I()),t)l.setAccountProp("socialWindow",E(t),l.state.activeChain);else if(!c.isTelegram())throw new Error("Could not create social popup");const{uri:n}=await o.provider.getSocialRedirectUri({provider:e});if(!n)throw t==null||t.close(),new Error("Could not fetch the social redirect uri");if(t&&(t.location.href=n),c.isTelegram()){_.setTelegramSocialProvider(e);const r=c.formatTelegramSocialLoginUrl(n);c.openHref(r,"_top")}clearTimeout(i)}}catch(i){t==null||t.close();const n=c.parseError(i);w.showError(n),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_ERROR",properties:{provider:e,message:n}})}}async function F(e){l.setAccountProp("socialProvider",e,l.state.activeChain),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_STARTED",properties:{provider:e}}),e==="farcaster"?await L():await T(e)}const U=y`
1
+ import{C as l,E as g,R as h,i as m,S as w,a as c,r as E,k as _}from"./W3MFrameProviderSingleton-DLC3PpMJ.js";import{C as R}from"./NetworkUtil-CiIGtM8g.js";import{d as y,r as b,i as C,h as v,e as O}from"./index-BeKilfmc.js";import{n as d,c as S}from"./index-CqLqfgxg.js";import{o as $}from"./if-defined-BGggoims.js";function I(){try{return c.returnOpenHref(`${R.SECURE_SITE_SDK_ORIGIN}/loading`,"popupWindow","width=600,height=800,scrollbars=yes")}catch{throw new Error("Could not open social popup")}}async function L(){h.push("ConnectingFarcaster");const e=m.getAuthConnector();if(e){const o=l.getAccountData();if(!(o!=null&&o.farcasterUrl))try{const{url:t}=await e.provider.getFarcasterUri();l.setAccountProp("farcasterUrl",t,l.state.activeChain)}catch(t){h.goBack(),w.showError(t)}}}async function T(e){h.push("ConnectingSocial");const o=m.getAuthConnector();let t=null;try{const i=setTimeout(()=>{throw new Error("Social login timed out. Please try again.")},45e3);if(o&&e){if(c.isTelegram()||(t=I()),t)l.setAccountProp("socialWindow",E(t),l.state.activeChain);else if(!c.isTelegram())throw new Error("Could not create social popup");const{uri:n}=await o.provider.getSocialRedirectUri({provider:e});if(!n)throw t==null||t.close(),new Error("Could not fetch the social redirect uri");if(t&&(t.location.href=n),c.isTelegram()){_.setTelegramSocialProvider(e);const r=c.formatTelegramSocialLoginUrl(n);c.openHref(r,"_top")}clearTimeout(i)}}catch(i){t==null||t.close();const n=c.parseError(i);w.showError(n),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_ERROR",properties:{provider:e,message:n}})}}async function F(e){l.setAccountProp("socialProvider",e,l.state.activeChain),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_STARTED",properties:{provider:e}}),e==="farcaster"?await L():await T(e)}const U=y`
2
2
  :host {
3
3
  display: flex;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{d as h,r as f,i as u,h as v}from"./index-BOA2Acwo.js";import{n as d,c as m,U as p}from"./index-NUGI1C22.js";import"./index-CL2wOxBI.js";const g=h`
1
+ import{d as h,r as f,i as u,h as v}from"./index-BeKilfmc.js";import{n as d,c as m,U as p}from"./index-CqLqfgxg.js";import"./index-CFg-Y_dr.js";const g=h`
2
2
  :host {
3
3
  display: block;
4
4
  width: var(--local-width);