@wormhole-foundation/wormhole-connect 3.0.0-beta.11-development → 3.0.0-beta.12-development

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 (189) hide show
  1. package/dist/main.js +1 -1
  2. package/lib/{add-5JNYtbn0.mjs → add-Bgr8Uh8B.mjs} +1 -1
  3. package/lib/{add-l7uMi5Qp.js → add-CgyvYm-l.js} +1 -1
  4. package/lib/{all-wallets-Ci5Fl1c7.js → all-wallets-BeYsJiCM.js} +1 -1
  5. package/lib/{all-wallets-DFuKxB4Z.mjs → all-wallets-DdRIEq-V.mjs} +1 -1
  6. package/lib/{app-store-oBe0hgJk.js → app-store-C9yZzH2t.js} +1 -1
  7. package/lib/{app-store-B0IRo5Ld.mjs → app-store-eKRqPW4N.mjs} +1 -1
  8. package/lib/{apple-BeItYmiV.js → apple-B3Aps_l8.js} +1 -1
  9. package/lib/{apple-C1253BqB.mjs → apple-DQcCTOa_.mjs} +1 -1
  10. package/lib/{aptos-CDC4GSyx.js → aptos-CxfKcGPe.js} +1 -1
  11. package/lib/{aptos-CiSMOF3v.mjs → aptos-DySrgy5u.mjs} +1 -1
  12. package/lib/{arrow-bottom-DoPQ9bym.js → arrow-bottom-CUgsoqql.js} +1 -1
  13. package/lib/{arrow-bottom-B5idrRLg.mjs → arrow-bottom-Duiu5Tg_.mjs} +1 -1
  14. package/lib/{arrow-bottom-circle-CUNc1d0l.mjs → arrow-bottom-circle-CvfJ5p_y.mjs} +1 -1
  15. package/lib/{arrow-bottom-circle-_HzqlrgT.js → arrow-bottom-circle-u8tFbHrW.js} +1 -1
  16. package/lib/{arrow-left-DKZtNEET.js → arrow-left-IZiFrwcP.js} +1 -1
  17. package/lib/{arrow-left-D_6pmgeW.mjs → arrow-left-avYXBHF4.mjs} +1 -1
  18. package/lib/{arrow-right-BETNsgrF.js → arrow-right-CF-NNN4L.js} +1 -1
  19. package/lib/{arrow-right-CfF4JKUl.mjs → arrow-right-Cbunep5L.mjs} +1 -1
  20. package/lib/{arrow-top-ByBQSpF9.mjs → arrow-top-DBWWW9Oy.mjs} +1 -1
  21. package/lib/{arrow-top-_t4PlGZq.js → arrow-top-DCGkz6k-.js} +1 -1
  22. package/lib/{bank-CGWjW2wg.js → bank-C-CLDGG9.js} +1 -1
  23. package/lib/{bank-D-ByWKrE.mjs → bank-C2jhIapN.mjs} +1 -1
  24. package/lib/{basic-Bg1hSrRy.mjs → basic-CIBqPAeW.mjs} +2 -2
  25. package/lib/{basic-CkPI-DHw.js → basic-DVsxPr6-.js} +1 -1
  26. package/lib/{browser-C13v_3nT.js → browser-BQ2hKa4j.js} +1 -1
  27. package/lib/{browser-D3rK1zZD.mjs → browser-DFX8bJKi.mjs} +1 -1
  28. package/lib/{card-C103Zr_s.mjs → card-4-u9SA69.mjs} +1 -1
  29. package/lib/{card-Cpnj4Pjv.js → card-CUMXwdG1.js} +1 -1
  30. package/lib/{ccip-CEnidIEN.js → ccip-BTGJ_kF8.js} +1 -1
  31. package/lib/{ccip-DLDyY4LZ.mjs → ccip-FetjJVFw.mjs} +1 -1
  32. package/lib/{checkmark-zYR427D1.js → checkmark-BaLFRM45.js} +1 -1
  33. package/lib/{checkmark-CftBiE_o.mjs → checkmark-DDLHlQQ9.mjs} +1 -1
  34. package/lib/{checkmark-bold-hTRkqdFs.js → checkmark-bold-COMu2UxE.js} +1 -1
  35. package/lib/{checkmark-bold-BiuLRYaw.mjs → checkmark-bold-CuRoxeU8.mjs} +1 -1
  36. package/lib/{chevron-bottom-BbQ_m7D8.mjs → chevron-bottom-BWzCLrD5.mjs} +1 -1
  37. package/lib/{chevron-bottom-Dcr8Aaqj.js → chevron-bottom-C4e9WRar.js} +1 -1
  38. package/lib/{chevron-left-BRcODtkl.mjs → chevron-left--LyUtyQT.mjs} +1 -1
  39. package/lib/{chevron-left-B9PTmHIG.js → chevron-left-CGVLc133.js} +1 -1
  40. package/lib/{chevron-right-NjcF5i-l.js → chevron-right-BwKWUL52.js} +1 -1
  41. package/lib/{chevron-right-C8T3XHHk.mjs → chevron-right-kMciDMkJ.mjs} +1 -1
  42. package/lib/{chevron-top-qG-Co151.js → chevron-top-CAHxogoB.js} +1 -1
  43. package/lib/{chevron-top-DDRuRQDi.mjs → chevron-top-DwIXDDfD.mjs} +1 -1
  44. package/lib/{chrome-store-y7e1zu4m.mjs → chrome-store-BtgUtu2e.mjs} +1 -1
  45. package/lib/{chrome-store-CMfQIa4X.js → chrome-store-KsYwGQZ1.js} +1 -1
  46. package/lib/{clock-Ch4B9lTj.mjs → clock-CeP_x_KK.mjs} +1 -1
  47. package/lib/{clock-D_HlSE4l.js → clock-DZ0ehwc-.js} +1 -1
  48. package/lib/{close-CqVBfuUL.js → close-DQfNwzpp.js} +1 -1
  49. package/lib/{close-DV97wtTx.mjs → close-fTN6nBRu.mjs} +1 -1
  50. package/lib/{coinPlaceholder-DBEIEMLH.mjs → coinPlaceholder-DetWjpMK.mjs} +1 -1
  51. package/lib/{coinPlaceholder-Ckw9njof.js → coinPlaceholder-Dg3gZsJM.js} +1 -1
  52. package/lib/{compass-BRH1TNEt.js → compass-BNDqAmOT.js} +1 -1
  53. package/lib/{compass-DoE_r14r.mjs → compass-Bi1bPHDM.mjs} +1 -1
  54. package/lib/{constants-DX7-soSQ.mjs → constants-CPx3n7t3.mjs} +3 -3
  55. package/lib/constants-CoxhiYrX.js +1 -0
  56. package/lib/{copy-BUnH9Rmh.mjs → copy-C0ChGAOX.mjs} +1 -1
  57. package/lib/{copy-tsMwqd3u.js → copy-CYLp0MkE.js} +1 -1
  58. package/lib/{cursor-3mj3Pq0z.mjs → cursor-C0wqoNp_.mjs} +1 -1
  59. package/lib/{cursor-5JnUhK1u.js → cursor-DsUEeeMn.js} +1 -1
  60. package/lib/{cursor-transparent-BTemyRTO.mjs → cursor-transparent-DOFMlNyt.mjs} +1 -1
  61. package/lib/{cursor-transparent-Cxt6oRht.js → cursor-transparent-Dgi2QAXz.js} +1 -1
  62. package/lib/{desktop-BSL1tdXi.js → desktop-7XDZ1UeO.js} +1 -1
  63. package/lib/{desktop-DvfmWO_R.mjs → desktop-DvAIpuqU.mjs} +1 -1
  64. package/lib/{disconnect-C1bWgwV-.js → disconnect-BPZFeB_X.js} +1 -1
  65. package/lib/{disconnect-Cxkdq6ir.mjs → disconnect-CVe77kqf.mjs} +1 -1
  66. package/lib/{discord-eKk83DRx.js → discord-BQnoDtpm.js} +1 -1
  67. package/lib/{discord-CHx5Xb-9.mjs → discord-C8tW30M4.mjs} +1 -1
  68. package/lib/{etherscan-YaFa04eY.mjs → etherscan-BbTgK2kR.mjs} +1 -1
  69. package/lib/{etherscan-DunhJn-2.js → etherscan-XnmA1DYM.js} +1 -1
  70. package/lib/{evm-C_kkwF2N.js → evm-B92-10xg.js} +3 -3
  71. package/lib/{evm-Dzv24HTi.mjs → evm-DDTF3fsK.mjs} +3 -3
  72. package/lib/{exclamation-triangle-Cb8oHsFl.js → exclamation-triangle-BSU-BEmm.js} +1 -1
  73. package/lib/{exclamation-triangle-DfZ9Dte5.mjs → exclamation-triangle-CDPTA2Zq.mjs} +1 -1
  74. package/lib/executor.js +1 -1
  75. package/lib/executor.mjs +1 -1
  76. package/lib/{extension-DP-dDsSn.mjs → extension-BoRmu23R.mjs} +1 -1
  77. package/lib/{extension-DoOMA86h.js → extension-JoJqEx2q.js} +1 -1
  78. package/lib/{external-link-DyHJnsK8.mjs → external-link-BmVFZxUx.mjs} +1 -1
  79. package/lib/{external-link-BqzHACi1.js → external-link-CDpvnIKV.js} +1 -1
  80. package/lib/{facebook-fuN149kb.mjs → facebook-BU0IgAsn.mjs} +1 -1
  81. package/lib/{facebook-9-sYpqWJ.js → facebook-DVG-Of9i.js} +1 -1
  82. package/lib/{farcaster-CthcgW1p.mjs → farcaster-EqU1YhWT.mjs} +1 -1
  83. package/lib/{farcaster-DidNhku_.js → farcaster-HjCoTneu.js} +1 -1
  84. package/lib/{filters-_l_bTNZK.mjs → filters-9uiEFQFc.mjs} +1 -1
  85. package/lib/{filters-ByT7XcVR.js → filters-Dj4vA-oO.js} +1 -1
  86. package/lib/{github-DLIZSSpT.mjs → github-Bv36prmZ.mjs} +1 -1
  87. package/lib/{github-4qFP3ebJ.js → github-CHTQ7Hhb.js} +1 -1
  88. package/lib/{google-DsUwkwU7.mjs → google-CIdoM_ZL.mjs} +1 -1
  89. package/lib/{google-CLB363tb.js → google-D4be9Rni.js} +1 -1
  90. package/lib/{help-circle-MHAS2jcg.js → help-circle-Cp-RWM01.js} +1 -1
  91. package/lib/{help-circle-DNIlqXM4.mjs → help-circle-Di6XLLqm.mjs} +1 -1
  92. package/lib/hosted.js +1 -1
  93. package/lib/hosted.mjs +1 -1
  94. package/lib/{id-Dcpxx5Sg.mjs → id-BKRrmUYA.mjs} +1 -1
  95. package/lib/{id-DgC4wzlk.js → id-zzAVAbpV.js} +1 -1
  96. package/lib/{image-D0i9nEJa.mjs → image-CHXv-pfQ.mjs} +1 -1
  97. package/lib/{image-cNJf0UKs.js → image-D0lV7yfg.js} +1 -1
  98. package/lib/{index-D8pyO0Ut.mjs → index-B4yQb6w1.mjs} +78 -78
  99. package/lib/{index-Dc_4R0qr.mjs → index-BBXzsMzy.mjs} +10 -10
  100. package/lib/{index-CVY5OsmN.js → index-CMRsE6Rx.js} +2 -2
  101. package/lib/{index-DVJDNZXX.js → index-w1W7oltR.js} +2 -2
  102. package/lib/{index.es-wGYpE9RX.js → index.es-B-gAV41L.js} +1 -1
  103. package/lib/{index.es-BodjtdqB.mjs → index.es-BjmsZFfK.mjs} +1 -1
  104. package/lib/{index.es-CStVufqy.mjs → index.es-Buu5D0rZ.mjs} +3 -3
  105. package/lib/{index.es-DNfg_W4n.js → index.es-SeoKSGri.js} +1 -1
  106. package/lib/index.js +1 -1
  107. package/lib/index.mjs +1 -1
  108. package/lib/{info-DhtgwfZc.js → info-Bro13JOm.js} +1 -1
  109. package/lib/{info-Ccop_bq-.mjs → info-DI_ShZXM.mjs} +1 -1
  110. package/lib/{info-circle-DzGmwt4i.js → info-circle-B1XYC5VH.js} +1 -1
  111. package/lib/{info-circle-CZvq1Bbl.mjs → info-circle-Ysma0RJy.mjs} +1 -1
  112. package/lib/{lightbulb-C0-qKwLI.js → lightbulb-BWSob509.js} +1 -1
  113. package/lib/{lightbulb-WpoJQkeo.mjs → lightbulb-llAiUdyo.mjs} +1 -1
  114. package/lib/{mail-D1rYl-hP.mjs → mail-DoQE8IHx.mjs} +1 -1
  115. package/lib/{mail-D2CE1lj4.js → mail-rZToesAW.js} +1 -1
  116. package/lib/{mobile-uBIPQ_3j.js → mobile-BbcVkbmr.js} +1 -1
  117. package/lib/{mobile-D8slK1-I.mjs → mobile-EtRDQH27.mjs} +1 -1
  118. package/lib/{more-Dy11lM4m.js → more-BK6O3COI.js} +1 -1
  119. package/lib/{more-DsX_s58K.mjs → more-DVrhZdB3.mjs} +1 -1
  120. package/lib/{network-placeholder-ClLYl9gN.mjs → network-placeholder-BbB6hX07.mjs} +1 -1
  121. package/lib/{network-placeholder-4XSy76qO.js → network-placeholder-K8zio41s.js} +1 -1
  122. package/lib/{nftPlaceholder-ilscJrWL.mjs → nftPlaceholder-BMuE_429.mjs} +1 -1
  123. package/lib/{nftPlaceholder-Dtm_zH4E.js → nftPlaceholder-L3ThVWUO.js} +1 -1
  124. package/lib/{off-N7Q-H26y.js → off-CHM9QBcy.js} +1 -1
  125. package/lib/{off-D3IDpfZg.mjs → off-CUzDZ7SQ.mjs} +1 -1
  126. package/lib/{play-store-Dnx6-DfM.mjs → play-store-B_TfUWJP.mjs} +1 -1
  127. package/lib/{play-store-2p9CBKz9.js → play-store-DodlKRO8.js} +1 -1
  128. package/lib/{plus-CngR-jD-.mjs → plus-BY6E-gA7.mjs} +1 -1
  129. package/lib/{plus-CVTA7O2z.js → plus-DVGYUzNZ.js} +1 -1
  130. package/lib/{qr-code-Ckqp2jcM.mjs → qr-code-DkdB4YWU.mjs} +1 -1
  131. package/lib/{qr-code-CJEqBG09.js → qr-code-MKK1K7_f.js} +1 -1
  132. package/lib/{recycle-horizontal-BWbxp077.mjs → recycle-horizontal-Bg37UVPn.mjs} +1 -1
  133. package/lib/{recycle-horizontal-CUMI_Frp.js → recycle-horizontal-Bjn-ZLNs.js} +1 -1
  134. package/lib/{refresh-BA3qzC0t.mjs → refresh-D6TcjIU1.mjs} +1 -1
  135. package/lib/{refresh-nBHl-Ex7.js → refresh-dRlw97C1.js} +1 -1
  136. package/lib/{reown-logo-BIs62gAK.mjs → reown-logo-Dk82Zy5_.mjs} +1 -1
  137. package/lib/{reown-logo-C0OFiwcD.js → reown-logo-Kc70GqDZ.js} +1 -1
  138. package/lib/{search-DWkxod1G.mjs → search-D83RKxoH.mjs} +1 -1
  139. package/lib/{search-C4yW_e7h.js → search-Dv-LI1Vx.js} +1 -1
  140. package/lib/{secp256k1-D5xGRPak.mjs → secp256k1-BrfK8uV1.mjs} +1 -1
  141. package/lib/{secp256k1-CzzYFHL9.mjs → secp256k1-DV6Qne0v.mjs} +1 -1
  142. package/lib/{secp256k1-DPyD-aqu.js → secp256k1-DXHZqO4S.js} +1 -1
  143. package/lib/{secp256k1-DJxiSxEG.js → secp256k1-sf_P35Lc.js} +1 -1
  144. package/lib/{send-CgneLJ89.js → send-BSMIYys9.js} +1 -1
  145. package/lib/{send-B_-c6x6P.mjs → send-Cyopk79y.mjs} +1 -1
  146. package/lib/{solana-AefmV-EX.mjs → solana-CrMvdvfl.mjs} +6 -6
  147. package/lib/{solana-Cqhc10CM.js → solana-DS2ZcUpG.js} +4 -4
  148. package/lib/{solanaEmbed.esm-CB_O5YXF.js → solanaEmbed.esm-1oBtzdki.js} +1 -1
  149. package/lib/{solanaEmbed.esm-DvSyh3Tl.mjs → solanaEmbed.esm-Dj8UZAI5.mjs} +1 -1
  150. package/lib/{sui-D17vikGB.mjs → sui-C6UUvjyd.mjs} +1 -1
  151. package/lib/{sui-OtX0-aiw.js → sui-mpRuHBm9.js} +1 -1
  152. package/lib/{swapHorizontal-CaiPRfjP.js → swapHorizontal-Bg8dDuE0.js} +1 -1
  153. package/lib/{swapHorizontal-I9IHNlcX.mjs → swapHorizontal-BiNrGmxY.mjs} +1 -1
  154. package/lib/{swapHorizontalBold-DjCg3Gvp.mjs → swapHorizontalBold-CNvg6Zjx.mjs} +1 -1
  155. package/lib/{swapHorizontalBold-COXm4Eoq.js → swapHorizontalBold-DeCMOo5R.js} +1 -1
  156. package/lib/{swapHorizontalMedium-BufndsqW.js → swapHorizontalMedium-DClbbhUH.js} +1 -1
  157. package/lib/{swapHorizontalMedium-D5Op20PE.mjs → swapHorizontalMedium-TUPMHawi.mjs} +1 -1
  158. package/lib/{swapHorizontalRoundedBold-DT-dVJCx.mjs → swapHorizontalRoundedBold-BAlHBaC3.mjs} +1 -1
  159. package/lib/{swapHorizontalRoundedBold-DOhWyq65.js → swapHorizontalRoundedBold-Cwu5ydTm.js} +1 -1
  160. package/lib/{swapVertical--HMMmuaw.mjs → swapVertical-DDYEDCbu.mjs} +1 -1
  161. package/lib/{swapVertical-BC9LFE7N.js → swapVertical-cn4noOLO.js} +1 -1
  162. package/lib/{telegram-CxCcJyxh.mjs → telegram-BGnemuS8.mjs} +1 -1
  163. package/lib/{telegram-FZjehBdN.js → telegram-sBtcJjCa.js} +1 -1
  164. package/lib/{three-dots-CuFQnzau.mjs → three-dots-BS-tA53X.mjs} +1 -1
  165. package/lib/{three-dots-zFnxhtH1.js → three-dots-Ci3M242Y.js} +1 -1
  166. package/lib/{tokens-BBDYlW5N.js → tokens-DprimVrG.js} +1 -1
  167. package/lib/{tokens-Ro6NgarI.mjs → tokens-ZJvnv3ye.mjs} +1 -1
  168. package/lib/{twitch-Cn9a4jgU.mjs → twitch-DwEOOcQc.mjs} +1 -1
  169. package/lib/{twitch-pwuV-z6u.js → twitch-kde2nyWc.js} +1 -1
  170. package/lib/{twitterIcon-D98sKvbq.mjs → twitterIcon-D-aL497o.mjs} +1 -1
  171. package/lib/{twitterIcon-C5XFX-OQ.js → twitterIcon-EX3YrhMm.js} +1 -1
  172. package/lib/{verify-D1TEwpVN.js → verify-BuD5oE0Y.js} +1 -1
  173. package/lib/{verify-BxlOfP9w.mjs → verify-DPJd26j0.mjs} +1 -1
  174. package/lib/{verify-filled-yMiXBbCQ.mjs → verify-filled-BSJMiVyN.mjs} +1 -1
  175. package/lib/{verify-filled-BrR7ST9b.js → verify-filled-DgfMnLnW.js} +1 -1
  176. package/lib/{w3m-modal-BGlhUPJA.js → w3m-modal-jDCMhVYM.js} +1 -1
  177. package/lib/{w3m-modal-luSHEfx4.mjs → w3m-modal-vqqsLuJC.mjs} +2 -2
  178. package/lib/{wallet-CEtYecn_.mjs → wallet-CiaeeygI.mjs} +1 -1
  179. package/lib/{wallet-CvHL82h-.js → wallet-DlsCAJmu.js} +1 -1
  180. package/lib/{wallet-placeholder-C4f_-N7F.js → wallet-placeholder-CWeGWgUL.js} +1 -1
  181. package/lib/{wallet-placeholder-Deq6znRH.mjs → wallet-placeholder-DhQ6l48d.mjs} +1 -1
  182. package/lib/{walletconnect-BBY1yZEn.mjs → walletconnect-CHFqRNg_.mjs} +1 -1
  183. package/lib/{walletconnect-CbujsbqX.js → walletconnect-YkYiOGcA.js} +1 -1
  184. package/lib/{warning-circle-iBEa0DFJ.js → warning-circle-BKWEaDK7.js} +1 -1
  185. package/lib/{warning-circle-cokTC_ks.mjs → warning-circle-z__jbYAZ.mjs} +1 -1
  186. package/lib/{x-CNsQuYZX.mjs → x-DXPEHEVV.mjs} +1 -1
  187. package/lib/{x-FvnYgr2g.js → x-De5ksSKs.js} +1 -1
  188. package/package.json +2 -2
  189. package/lib/constants-CBdrF4sv.js +0 -1
package/dist/main.js CHANGED
@@ -99,7 +99,7 @@ export default theme;`}function Z9(e={},...t){const{breakpoints:r,mixins:n={},sp
99
99
  *
100
100
  * This source code is licensed under the MIT license found in the
101
101
  * LICENSE file in the root directory of this source tree.
102
- */var kh=Y;function Oq(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Rq=typeof Object.is=="function"?Object.is:Oq,Uq=kh.useSyncExternalStore,Pq=kh.useRef,Wq=kh.useEffect,Hq=kh.useMemo,Yq=kh.useDebugValue;oz.useSyncExternalStoreWithSelector=function(e,t,r,n,a){var i=Pq(null);if(i.current===null){var o={hasValue:!1,value:null};i.current=o}else o=i.current;i=Hq(function(){function d(C){if(!p){if(p=!0,m=C,C=n(C),a!==void 0&&o.hasValue){var E=o.value;if(a(E,C))return b=E}return b=C}if(E=b,Rq(m,C))return E;var T=n(C);return a!==void 0&&a(E,T)?(m=C,E):(m=C,b=T)}var p=!1,m,b,v=r===void 0?null:r;return[function(){return d(t())},v===null?void 0:function(){return d(v())}]},[t,r,n,a]);var u=Uq(e,i[0],i[1]);return Wq(function(){o.hasValue=!0,o.value=u},[u]),Yq(u),u};sz.exports=oz;var Zq=sz.exports;function Gq(e){e()}function Qq(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Gq(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){const r=[];let n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0;const a=t={callback:r,next:null,prev:t};return a.prev?a.prev.next=a:e=a,function(){!n||e===null||(n=!1,a.next?a.next.prev=a.prev:t=a.prev,a.prev?a.prev.next=a.next:e=a.next)}}}}var yA={notify(){},get:()=>[]};function qq(e,t){let r,n=yA,a=0,i=!1;function o(T){m();const I=n.subscribe(T);let D=!1;return()=>{D||(D=!0,I(),b())}}function u(){n.notify()}function d(){E.onStateChange&&E.onStateChange()}function p(){return i}function m(){a++,r||(r=e.subscribe(d),n=Qq())}function b(){a--,r&&a===0&&(r(),r=void 0,n.clear(),n=yA)}function v(){i||(i=!0,m())}function C(){i&&(i=!1,b())}const E={addNestedSub:o,notifyNestedSubs:u,handleChangeWrapper:d,isSubscribed:p,trySubscribe:v,tryUnsubscribe:C,getListeners:()=>n};return E}var Vq=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",$q=Vq(),Kq=()=>typeof navigator<"u"&&navigator.product==="ReactNative",Xq=Kq(),Jq=()=>$q||Xq?Y.useLayoutEffect:Y.useEffect,eV=Jq(),Sm=Symbol.for("react-redux-context"),Dm=typeof globalThis<"u"?globalThis:{};function tV(){if(!Y.createContext)return{};const e=Dm[Sm]??(Dm[Sm]=new Map);let t=e.get(Y.createContext);return t||(t=Y.createContext(null),e.set(Y.createContext,t)),t}var gl=tV();function rV(e){const{children:t,context:r,serverState:n,store:a}=e,i=Y.useMemo(()=>{const d=qq(a);return{store:a,subscription:d,getServerState:n?()=>n:void 0}},[a,n]),o=Y.useMemo(()=>a.getState(),[a]);eV(()=>{const{subscription:d}=i;return d.onStateChange=d.notifyNestedSubs,d.trySubscribe(),o!==a.getState()&&d.notifyNestedSubs(),()=>{d.tryUnsubscribe(),d.onStateChange=void 0}},[i,o]);const u=r||gl;return Y.createElement(u.Provider,{value:i},t)}var nV=rV;function nx(e=gl){return function(){return Y.useContext(e)}}var cz=nx();function lz(e=gl){const t=e===gl?cz:nx(e),r=()=>{const{store:n}=t();return n};return Object.assign(r,{withTypes:()=>r}),r}var iV=lz();function aV(e=gl){const t=e===gl?iV:lz(e),r=()=>t().dispatch;return Object.assign(r,{withTypes:()=>r}),r}var ci=aV(),sV=(e,t)=>e===t;function oV(e=gl){const t=e===gl?cz:nx(e),r=(n,a={})=>{const{equalityFn:i=sV}=typeof a=="function"?{equalityFn:a}:a,o=t(),{store:u,subscription:d,getServerState:p}=o;Y.useRef(!0);const m=Y.useCallback({[n.name](v){return n(v)}}[n.name],[n]),b=Zq.useSyncExternalStoreWithSelector(d.addNestedSub,u.getState,p||u.getState,m,i);return Y.useDebugValue(b),b};return Object.assign(r,{withTypes:()=>r}),r}var Lr=oV();function en(){const e=j6(rx);return e[Os]||e}function cV(e){return L.jsx(DQ,{...e,defaultTheme:rx,themeId:Os})}function lV(e){return function(r){return L.jsx(cV,{styles:typeof e=="function"?n=>e({theme:n,...r}):e})}}function uV(){return qM}const Ht=$Q;function Vt(e){return VQ(e)}const fV=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t}),dV=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});function hV(e){return Gt("MuiScopedCssBaseline",e)}Zt("MuiScopedCssBaseline",["root"]);const pV=e=>{const{classes:t}=e;return Qt({root:["root"]},hV,t)},mV=at("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})(Ht(({theme:e})=>{const t={};return e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,n])=>{var i,o;const a=e.getColorSchemeSelector(r);a.startsWith("@")?t[a]={colorScheme:(i=n.palette)==null?void 0:i.mode}:t[`&${a.replace(/\s*&/,"")}`]={colorScheme:(o=n.palette)==null?void 0:o.mode}}),{...fV(e,!1),...dV(e),"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold},variants:[{props:{enableColorScheme:!0},style:e.vars?t:{colorScheme:e.palette.mode}}]}})),gV=Y.forwardRef(function(t,r){const n=Vt({props:t,name:"MuiScopedCssBaseline"}),{className:a,component:i="div",enableColorScheme:o,...u}=n,d={...n,component:i},p=pV(d);return L.jsx(mV,{as:i,className:Bt(p.root,a),ref:r,ownerState:d,...u})});function yV(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function bV(e){return parseFloat(e)}function Tm({theme:e,...t}){const r=Os in e?e[Os]:void 0;return L.jsx(Xk,{...t,themeId:r?Os:void 0,theme:r||e})}const B2={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:MV}=iq({themeId:Os,theme:()=>k6({cssVariables:!0}),colorSchemeStorageKey:B2.colorSchemeStorageKey,modeStorageKey:B2.modeStorageKey,defaultColorScheme:{light:B2.defaultLightColorScheme,dark:B2.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:ez(e.palette,e.typography)};return t.unstable_sx=function(n){return pl({sx:n,theme:this})},t}}),xV=MV;function vV({theme:e,...t}){if(typeof e=="function")return L.jsx(Tm,{theme:e,...t});const r=Os in e?e[Os]:e;return"colorSchemes"in r?L.jsx(xV,{theme:e,...t}):"vars"in r?L.jsx(Tm,{theme:e,...t}):L.jsx(Tm,{theme:{...e,vars:null},...t})}function Ei(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var wV=typeof Symbol=="function"&&Symbol.observable||"@@observable",bA=wV,Im=()=>Math.random().toString(36).substring(7).split("").join("."),CV={INIT:`@@redux/INIT${Im()}`,REPLACE:`@@redux/REPLACE${Im()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Im()}`},Q3=CV;function ix(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function uz(e,t,r){if(typeof e!="function")throw new Error(Ei(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ei(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ei(1));return r(uz)(e,t)}let n=e,a=t,i=new Map,o=i,u=0,d=!1;function p(){o===i&&(o=new Map,i.forEach((I,D)=>{o.set(D,I)}))}function m(){if(d)throw new Error(Ei(3));return a}function b(I){if(typeof I!="function")throw new Error(Ei(4));if(d)throw new Error(Ei(5));let D=!0;p();const S=u++;return o.set(S,I),function(){if(D){if(d)throw new Error(Ei(6));D=!1,p(),o.delete(S),i=null}}}function v(I){if(!ix(I))throw new Error(Ei(7));if(typeof I.type>"u")throw new Error(Ei(8));if(typeof I.type!="string")throw new Error(Ei(17));if(d)throw new Error(Ei(9));try{d=!0,a=n(a,I)}finally{d=!1}return(i=o).forEach(S=>{S()}),I}function C(I){if(typeof I!="function")throw new Error(Ei(10));n=I,v({type:Q3.REPLACE})}function E(){const I=b;return{subscribe(D){if(typeof D!="object"||D===null)throw new Error(Ei(11));function S(){const j=D;j.next&&j.next(m())}return S(),{unsubscribe:I(S)}},[bA](){return this}}}return v({type:Q3.INIT}),{dispatch:v,subscribe:b,getState:m,replaceReducer:C,[bA]:E}}function AV(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Q3.INIT})>"u")throw new Error(Ei(12));if(typeof r(void 0,{type:Q3.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ei(13))})}function EV(e){const t=Object.keys(e),r={};for(let i=0;i<t.length;i++){const o=t[i];typeof e[o]=="function"&&(r[o]=e[o])}const n=Object.keys(r);let a;try{AV(r)}catch(i){a=i}return function(o={},u){if(a)throw a;let d=!1;const p={};for(let m=0;m<n.length;m++){const b=n[m],v=r[b],C=o[b],E=v(C,u);if(typeof E>"u")throw u&&u.type,new Error(Ei(14));p[b]=E,d=d||E!==C}return d=d||n.length!==Object.keys(o).length,d?p:o}}function q3(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function SV(...e){return t=>(r,n)=>{const a=t(r,n);let i=()=>{throw new Error(Ei(15))};const o={getState:a.getState,dispatch:(d,...p)=>i(d,...p)},u=e.map(d=>d(o));return i=q3(...u)(a.dispatch),{...a,dispatch:i}}}function DV(e){return ix(e)&&"type"in e&&typeof e.type=="string"}var fz=Symbol.for("immer-nothing"),MA=Symbol.for("immer-draftable"),Ha=Symbol.for("immer-state");function Bs(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var lf=Object.getPrototypeOf;function T0(e){return!!e&&!!e[Ha]}function pc(e){var t;return e?dz(e)||Array.isArray(e)||!!e[MA]||!!((t=e.constructor)!=null&&t[MA])||_6(e)||F6(e):!1}var TV=Object.prototype.constructor.toString();function dz(e){if(!e||typeof e!="object")return!1;const t=lf(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===TV}function V3(e,t){z6(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function z6(e){const t=e[Ha];return t?t.type_:Array.isArray(e)?1:_6(e)?2:F6(e)?3:0}function Q9(e,t){return z6(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function hz(e,t,r){const n=z6(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function IV(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function _6(e){return e instanceof Map}function F6(e){return e instanceof Set}function Rl(e){return e.copy_||e.base_}function q9(e,t){if(_6(e))return new Map(e);if(F6(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=dz(e);if(t===!0||t==="class_only"&&!r){const n=Object.getOwnPropertyDescriptors(e);delete n[Ha];let a=Reflect.ownKeys(n);for(let i=0;i<a.length;i++){const o=a[i],u=n[o];u.writable===!1&&(u.writable=!0,u.configurable=!0),(u.get||u.set)&&(n[o]={configurable:!0,writable:!0,enumerable:u.enumerable,value:e[o]})}return Object.create(lf(e),n)}else{const n=lf(e);if(n!==null&&r)return{...e};const a=Object.create(n);return Object.assign(a,e)}}function ax(e,t=!1){return O6(e)||T0(e)||!pc(e)||(z6(e)>1&&(e.set=e.add=e.clear=e.delete=NV),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>ax(n,!0))),e}function NV(){Bs(2)}function O6(e){return Object.isFrozen(e)}var LV={};function I0(e){const t=LV[e];return t||Bs(0,e),t}var P1;function pz(){return P1}function jV(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function xA(e,t){t&&(I0("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function V9(e){$9(e),e.drafts_.forEach(BV),e.drafts_=null}function $9(e){e===P1&&(P1=e.parent_)}function vA(e){return P1=jV(P1,e)}function BV(e){const t=e[Ha];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function wA(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[Ha].modified_&&(V9(t),Bs(4)),pc(e)&&(e=$3(t,e),t.parent_||K3(t,e)),t.patches_&&I0("Patches").generateReplacementPatches_(r[Ha].base_,e,t.patches_,t.inversePatches_)):e=$3(t,r,[]),V9(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==fz?e:void 0}function $3(e,t,r){if(O6(t))return t;const n=t[Ha];if(!n)return V3(t,(a,i)=>CA(e,n,t,a,i,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return K3(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const a=n.copy_;let i=a,o=!1;n.type_===3&&(i=new Set(a),a.clear(),o=!0),V3(i,(u,d)=>CA(e,n,a,u,d,r,o)),K3(e,a,!1),r&&e.patches_&&I0("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function CA(e,t,r,n,a,i,o){if(T0(a)){const u=i&&t&&t.type_!==3&&!Q9(t.assigned_,n)?i.concat(n):void 0,d=$3(e,a,u);if(hz(r,n,d),T0(d))e.canAutoFreeze_=!1;else return}else o&&r.add(a);if(pc(a)&&!O6(a)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;$3(e,a),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&K3(e,a)}}function K3(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ax(t,r)}function kV(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:pz(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let a=n,i=sx;r&&(a=[n],i=W1);const{revoke:o,proxy:u}=Proxy.revocable(a,i);return n.draft_=u,n.revoke_=o,u}var sx={get(e,t){if(t===Ha)return e;const r=Rl(e);if(!Q9(r,t))return zV(e,r,t);const n=r[t];return e.finalized_||!pc(n)?n:n===Nm(e.base_,t)?(Lm(e),e.copy_[t]=X9(n,e)):n},has(e,t){return t in Rl(e)},ownKeys(e){return Reflect.ownKeys(Rl(e))},set(e,t,r){const n=mz(Rl(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const a=Nm(Rl(e),t),i=a==null?void 0:a[Ha];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(IV(r,a)&&(r!==void 0||Q9(e.base_,t)))return!0;Lm(e),K9(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Nm(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Lm(e),K9(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Rl(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){Bs(11)},getPrototypeOf(e){return lf(e.base_)},setPrototypeOf(){Bs(12)}},W1={};V3(sx,(e,t)=>{W1[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});W1.deleteProperty=function(e,t){return W1.set.call(this,e,t,void 0)};W1.set=function(e,t,r){return sx.set.call(this,e[0],t,r,e[0])};function Nm(e,t){const r=e[Ha];return(r?Rl(r):e)[t]}function zV(e,t,r){var a;const n=mz(t,r);return n?"value"in n?n.value:(a=n.get)==null?void 0:a.call(e.draft_):void 0}function mz(e,t){if(!(t in e))return;let r=lf(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=lf(r)}}function K9(e){e.modified_||(e.modified_=!0,e.parent_&&K9(e.parent_))}function Lm(e){e.copy_||(e.copy_=q9(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var _V=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const i=r;r=t;const o=this;return function(d=i,...p){return o.produce(d,m=>r.call(this,m,...p))}}typeof r!="function"&&Bs(6),n!==void 0&&typeof n!="function"&&Bs(7);let a;if(pc(t)){const i=vA(this),o=X9(t,void 0);let u=!0;try{a=r(o),u=!1}finally{u?V9(i):$9(i)}return xA(i,n),wA(a,i)}else if(!t||typeof t!="object"){if(a=r(t),a===void 0&&(a=t),a===fz&&(a=void 0),this.autoFreeze_&&ax(a,!0),n){const i=[],o=[];I0("Patches").generateReplacementPatches_(t,a,i,o),n(i,o)}return a}else Bs(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(o,...u)=>this.produceWithPatches(o,d=>t(d,...u));let n,a;return[this.produce(t,r,(o,u)=>{n=o,a=u}),n,a]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){pc(e)||Bs(8),T0(e)&&(e=FV(e));const t=vA(this),r=X9(e,void 0);return r[Ha].isManual_=!0,$9(t),r}finishDraft(e,t){const r=e&&e[Ha];(!r||!r.isManual_)&&Bs(9);const{scope_:n}=r;return xA(n,t),wA(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const a=t[r];if(a.path.length===0&&a.op==="replace"){e=a.value;break}}r>-1&&(t=t.slice(r+1));const n=I0("Patches").applyPatches_;return T0(e)?n(e,t):this.produce(e,a=>n(a,t))}};function X9(e,t){const r=_6(e)?I0("MapSet").proxyMap_(e,t):F6(e)?I0("MapSet").proxySet_(e,t):kV(e,t);return(t?t.scope_:pz()).drafts_.push(r),r}function FV(e){return T0(e)||Bs(10,e),gz(e)}function gz(e){if(!pc(e)||O6(e))return e;const t=e[Ha];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=q9(e,t.scope_.immer_.useStrictShallowCopy_)}else r=q9(e,!0);return V3(r,(n,a)=>{hz(r,n,gz(a))}),t&&(t.finalized_=!1),r}var Ya=new _V,yz=Ya.produce;Ya.produceWithPatches.bind(Ya);Ya.setAutoFreeze.bind(Ya);Ya.setUseStrictShallowCopy.bind(Ya);Ya.applyPatches.bind(Ya);Ya.createDraft.bind(Ya);Ya.finishDraft.bind(Ya);function bz(e){return({dispatch:r,getState:n})=>a=>i=>typeof i=="function"?i(r,n,e):a(i)}var OV=bz(),RV=bz,UV=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?q3:q3.apply(null,arguments)};function AA(e,t){function r(...n){if(t){let a=t(...n);if(!a)throw new Error(sc(0));return{type:e,payload:a.payload,..."meta"in a&&{meta:a.meta},..."error"in a&&{error:a.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>DV(n)&&n.type===e,r}var Mz=class Pd extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Pd.prototype)}static get[Symbol.species](){return Pd}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Pd(...t[0].concat(this)):new Pd(...t.concat(this))}};function EA(e){return pc(e)?yz(e,()=>{}):e}function k2(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function PV(e){return typeof e=="boolean"}var WV=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:a=!0,actionCreatorCheck:i=!0}=t??{};let o=new Mz;return r&&(PV(r)?o.push(OV):o.push(RV(r.extraArgument))),o},HV="RTK_autoBatch",SA=e=>t=>{setTimeout(t,e)},YV=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let a=!0,i=!1,o=!1;const u=new Set,d=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:SA(10):e.type==="callback"?e.queueNotification:SA(e.timeout),p=()=>{o=!1,i&&(i=!1,u.forEach(m=>m()))};return Object.assign({},n,{subscribe(m){const b=()=>a&&m(),v=n.subscribe(b);return u.add(m),()=>{v(),u.delete(m)}},dispatch(m){var b;try{return a=!((b=m==null?void 0:m.meta)!=null&&b[HV]),i=!a,i&&(o||(o=!0,d(p))),n.dispatch(m)}finally{a=!0}}})},ZV=e=>function(r){const{autoBatch:n=!0}=r??{};let a=new Mz(e);return n&&a.push(YV(typeof n=="object"?n:void 0)),a};function GV(e){const t=WV(),{reducer:r=void 0,middleware:n,devTools:a=!0,preloadedState:i=void 0,enhancers:o=void 0}=e||{};let u;if(typeof r=="function")u=r;else if(ix(r))u=EV(r);else throw new Error(sc(1));let d;typeof n=="function"?d=n(t):d=t();let p=q3;a&&(p=UV({trace:!1,...typeof a=="object"&&a}));const m=SV(...d),b=ZV(m);let v=typeof o=="function"?o(b):b();const C=p(...v);return uz(u,i,C)}function xz(e){const t={},r=[];let n;const a={addCase(i,o){const u=typeof i=="string"?i:i.type;if(!u)throw new Error(sc(28));if(u in t)throw new Error(sc(29));return t[u]=o,a},addMatcher(i,o){return r.push({matcher:i,reducer:o}),a},addDefaultCase(i){return n=i,a}};return e(a),[t,r,n]}function QV(e){return typeof e=="function"}function qV(e,t){let[r,n,a]=xz(t),i;if(QV(e))i=()=>EA(e());else{const u=EA(e);i=()=>u}function o(u=i(),d){let p=[r[d.type],...n.filter(({matcher:m})=>m(d)).map(({reducer:m})=>m)];return p.filter(m=>!!m).length===0&&(p=[a]),p.reduce((m,b)=>{if(b)if(T0(m)){const C=b(m,d);return C===void 0?m:C}else{if(pc(m))return yz(m,v=>b(v,d));{const v=b(m,d);if(v===void 0){if(m===null)return m;throw Error("A case reducer on a non-draftable value must not return undefined")}return v}}return m},u)}return o.getInitialState=i,o}var VV=Symbol.for("rtk-slice-createasyncthunk");function $V(e,t){return`${e}/${t}`}function KV({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[VV];return function(a){const{name:i,reducerPath:o=i}=a;if(!i)throw new Error(sc(11));const u=(typeof a.reducers=="function"?a.reducers(JV()):a.reducers)||{},d=Object.keys(u),p={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},m={addCase(j,F){const O=typeof j=="string"?j:j.type;if(!O)throw new Error(sc(12));if(O in p.sliceCaseReducersByType)throw new Error(sc(13));return p.sliceCaseReducersByType[O]=F,m},addMatcher(j,F){return p.sliceMatchers.push({matcher:j,reducer:F}),m},exposeAction(j,F){return p.actionCreators[j]=F,m},exposeCaseReducer(j,F){return p.sliceCaseReducersByName[j]=F,m}};d.forEach(j=>{const F=u[j],O={reducerName:j,type:$V(i,j),createNotation:typeof a.reducers=="function"};t$(F)?n$(O,F,m,t):e$(O,F,m)});function b(){const[j={},F=[],O=void 0]=typeof a.extraReducers=="function"?xz(a.extraReducers):[a.extraReducers],W={...j,...p.sliceCaseReducersByType};return qV(a.initialState,_=>{for(let z in W)_.addCase(z,W[z]);for(let z of p.sliceMatchers)_.addMatcher(z.matcher,z.reducer);for(let z of F)_.addMatcher(z.matcher,z.reducer);O&&_.addDefaultCase(O)})}const v=j=>j,C=new Map,E=new WeakMap;let T;function I(j,F){return T||(T=b()),T(j,F)}function D(){return T||(T=b()),T.getInitialState()}function S(j,F=!1){function O(_){let z=_[j];return typeof z>"u"&&F&&(z=k2(E,O,D)),z}function W(_=v){const z=k2(C,F,()=>new WeakMap);return k2(z,_,()=>{const k={};for(const[w,s]of Object.entries(a.selectors??{}))k[w]=XV(s,_,()=>k2(E,_,D),F);return k})}return{reducerPath:j,getSelectors:W,get selectors(){return W(O)},selectSlice:O}}const N={name:i,reducer:I,actions:p.actionCreators,caseReducers:p.sliceCaseReducersByName,getInitialState:D,...S(o),injectInto(j,{reducerPath:F,...O}={}){const W=F??o;return j.inject({reducerPath:W,reducer:I},O),{...N,...S(W,!0)}}};return N}}function XV(e,t,r,n){function a(i,...o){let u=t(i);return typeof u>"u"&&n&&(u=r()),e(u,...o)}return a.unwrapped=e,a}var Wf=KV();function JV(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function e$({type:e,reducerName:t,createNotation:r},n,a){let i,o;if("reducer"in n){if(r&&!r$(n))throw new Error(sc(17));i=n.reducer,o=n.prepare}else i=n;a.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,o?AA(e,o):AA(e))}function t$(e){return e._reducerDefinitionType==="asyncThunk"}function r$(e){return e._reducerDefinitionType==="reducerWithPrepare"}function n$({type:e,reducerName:t},r,n,a){if(!a)throw new Error(sc(18));const{payloadCreator:i,fulfilled:o,pending:u,rejected:d,settled:p,options:m}=r,b=a(e,i,m);n.exposeAction(t,b),o&&n.addCase(b.fulfilled,o),u&&n.addCase(b.pending,u),d&&n.addCase(b.rejected,d),p&&n.addMatcher(b.settled,p),n.exposeCaseReducer(t,{fulfilled:o||z2,pending:u||z2,rejected:d||z2,settled:p||z2})}function z2(){}function sc(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const DA={txData:void 0,sendTx:"",redeemTx:"",transferComplete:!1,route:void 0,isResumeTx:!1,timestamp:0},vz=Wf({name:"redeem",initialState:DA,reducers:{setTxDetails:(e,{payload:t})=>{e.txData=t},setSendTx:(e,{payload:t})=>{e.sendTx=t},setRoute:(e,{payload:t})=>{e.route=t},clearRedeem:e=>{Object.keys(e).forEach(t=>{e[t]=DA[t]})},setIsResumeTx:(e,{payload:t})=>{e.isResumeTx=t},setTimestamp:(e,{payload:t})=>{e.timestamp=t}}}),{setTxDetails:ox,setSendTx:i$,clearRedeem:J9,setRoute:cx,setIsResumeTx:wz,setTimestamp:Cz}=vz.actions,a$=vz.reducer,s$={env:"Testnet",rpcs:{Bsc:"https://data-seed-prebsc-1-s3.binance.org:8545",Avalanche:"https://api.avax-test.network/ext/bc/C/rpc",Fantom:"https://rpc.testnet.fantom.network",Celo:"https://alfajores-forno.celo-testnet.org",Solana:"https://api.devnet.solana.com",Moonbeam:"https://rpc.api.moonbase.moonbeam.network",Sui:"https://fullnode.testnet.sui.io",Aptos:"https://fullnode.testnet.aptoslabs.com/v1",Sei:"https://rpc.atlantic-2.seinetwork.io",Wormchain:"",Osmosis:"https://rpc.osmotest5.osmosis.zone",Cosmoshub:"https://rpc.sentry-02.theta-testnet.polypore.xyz",Evmos:"https://evmos-testnet-rpc.polkachu.com",Kujira:"https://kujira-testnet-rpc.polkachu.com",Injective:"https://injective-testnet-rpc.polkachu.com",Klaytn:"https://public-en-kairos.node.kaia.io",Sepolia:"https://ethereum-sepolia-rpc.publicnode.com",ArbitrumSepolia:"https://sepolia-rollup.arbitrum.io/rpc",BaseSepolia:"https://base-sepolia-rpc.publicnode.com",OptimismSepolia:"https://sepolia.optimism.io",Scroll:"https://scroll-sepolia-rpc.publicnode.com",Blast:"https://sepolia.blast.io",Xlayer:"https://testrpc.xlayer.tech",Mantle:"https://rpc.sepolia.mantle.xyz",Worldchain:"https://worldchain-sepolia.g.alchemy.com/public",Unichain:"https://sepolia.unichain.org",Mezo:"https://rpc.test.mezo.org"}},o$={env:"Mainnet",rpcs:{Ethereum:"https://ethereum-rpc.publicnode.com",Solana:"https://solana-rpc.publicnode.com",Polygon:"https://polygon-bor-rpc.publicnode.com",Bsc:"https://bscrpc.com",Avalanche:"https://avalanche-c-chain-rpc.publicnode.com",Fantom:"https://rpcapi.fantom.network",Celo:"https://celo-rpc.publicnode.com",Moonbeam:"https://moonbeam-rpc.publicnode.com",Sui:"https://rpc.mainnet.sui.io",Aptos:"https://fullnode.mainnet.aptoslabs.com/v1",Arbitrum:"https://arbitrum-one-rpc.publicnode.com",Optimism:"https://optimism-rpc.publicnode.com",Base:"https://base.publicnode.com",Sei:"",Wormchain:"https://wormchain-rpc.quickapi.com",Osmosis:"https://osmosis-rpc.polkachu.com",Cosmoshub:"https://cosmos-rpc.polkachu.com",Evmos:"https://evmos-rpc.polkachu.com",Kujira:"https://kujira-rpc.polkachu.com",Injective:"https://injective-rpc.publicnode.com/",Klaytn:"https://public-en.node.kaia.io",Scroll:"https://scroll-rpc.publicnode.com",Blast:"https://blast-rpc.publicnode.com",Xlayer:"https://rpc.xlayer.tech",Mantle:"https://rpc.mantle.xyz",Worldchain:"https://worldchain-mainnet.g.alchemy.com/public",Unichain:"https://mainnet.unichain.org",Berachain:"https://rpc.berachain.com"}},c$={env:"Devnet",rpcs:{Ethereum:"http://localhost:8545",Wormchain:"http://localhost:26659",Osmosis:"http://localhost:33043",Terra2:"http://localhost:26658"}},x1=class x1 extends Error{constructor(){super(x1.MESSAGE)}};Ye(x1,"MESSAGE","Insufficient funds for gas"),Ye(x1,"MESSAGE_REGEX",/insufficient funds|Insufficient funds for gas/gm);let eb=x1;const l$={MAINNET:o$,TESTNET:s$,DEVNET:c$},u$={Ethereum:{displayName:"Ethereum",sdkName:"Ethereum",explorerUrl:"https://etherscan.io/",explorerName:"Etherscan",icon:"Ethereum",symbol:"ETH"},Bsc:{displayName:"BSC",sdkName:"Bsc",explorerUrl:"https://bscscan.com/",explorerName:"BscScan",icon:"Bsc",symbol:"BSC"},Polygon:{displayName:"Polygon",sdkName:"Polygon",explorerUrl:"https://polygonscan.com/",explorerName:"PolygonScan",icon:"Polygon",symbol:"POL"},Avalanche:{displayName:"Avalanche",sdkName:"Avalanche",explorerUrl:"https://avascan.info/blockchain/c/",explorerName:"Avascan",icon:"Avalanche",symbol:"AVAX"},Fantom:{displayName:"Fantom",sdkName:"Fantom",explorerUrl:"https://explorer.fantom.network/",explorerName:"Fantom Explorer",icon:"Fantom",symbol:"FTM"},Celo:{displayName:"Celo",sdkName:"Celo",explorerUrl:"https://explorer.celo.org/mainnet/",explorerName:"Celo Explorer",icon:"Celo",symbol:"CELO"},Moonbeam:{displayName:"Moonbeam",sdkName:"Moonbeam",explorerUrl:"https://moonscan.io/",explorerName:"Moonscan",icon:"Moonbeam",symbol:"GLMR"},Solana:{displayName:"Solana",sdkName:"Solana",explorerUrl:"https://explorer.solana.com/",explorerName:"Solana Explorer",icon:"Solana",symbol:"SOL"},Sui:{displayName:"Sui",sdkName:"Sui",explorerUrl:"https://suiscan.xyz/",explorerName:"Suiscan",icon:"Sui",symbol:"SUI"},Aptos:{displayName:"Aptos",sdkName:"Aptos",explorerUrl:"https://explorer.aptoslabs.com/",explorerName:"Aptos Explorer",icon:"Aptos",symbol:"APT"},Base:{displayName:"Base",sdkName:"Base",explorerUrl:"https://basescan.org/",explorerName:"BaseScan",icon:"Base",symbol:"BASE"},Arbitrum:{displayName:"Arbitrum",sdkName:"Arbitrum",explorerUrl:"https://arbiscan.io/",explorerName:"Arbitrum Explorer",icon:"Arbitrum",symbol:"ARB"},Optimism:{displayName:"Optimism",sdkName:"Optimism",explorerUrl:"https://optimistic.etherscan.io/",explorerName:"Optimistic Etherscan",icon:"Optimism",symbol:"OP"},Klaytn:{displayName:"Kaia",sdkName:"Klaytn",explorerUrl:"https://kaiascope.com/",explorerName:"Kaia Scope",icon:"Klaytn",symbol:"KLAY"},Scroll:{displayName:"Scroll",sdkName:"Scroll",explorerUrl:"https://scrollscan.com/",explorerName:"Scrollscan",icon:"Scroll",symbol:"SCR"},Blast:{displayName:"Blast",sdkName:"Blast",explorerUrl:"https://blastscan.io/",explorerName:"Blastscan",icon:"Blast",symbol:"BLAST"},Xlayer:{displayName:"X Layer",sdkName:"Xlayer",explorerUrl:"https://www.okx.com/web3/explorer/xlayer/",explorerName:"OKX Explorer",icon:"Xlayer",symbol:"OKX"},Mantle:{displayName:"Mantle",sdkName:"Mantle",explorerUrl:"https://explorer.mantle.xyz/",explorerName:"Mantle Explorer",icon:"Mantle",symbol:"MNT"},Worldchain:{displayName:"World Chain",sdkName:"Worldchain",explorerUrl:"https://worldscan.org/",explorerName:"World Scan",icon:"Worldchain",symbol:"WORLD"},Unichain:{displayName:"Unichain",sdkName:"Unichain",explorerUrl:"https://uniscan.xyz/",explorerName:"Uniscan",icon:"Unichain",symbol:"UNI"},Berachain:{displayName:"Berachain",sdkName:"Berachain",explorerUrl:"https://berascan.com/",explorerName:"Berascan",icon:"Berachain",symbol:"BERA"},Linea:{displayName:"Linea",sdkName:"Linea",explorerUrl:"https://lineascan.build/",explorerName:"Lineascan",icon:"Linea",symbol:"LINEA"},Sonic:{displayName:"Sonic",sdkName:"Sonic",explorerUrl:"https://sonicscan.org/",explorerName:"Sonicscan",icon:"Sonic",symbol:"S"}},Il=e=>{console.error(`Wormhole Connect: ${e}`)},rr=(e,t)=>t?{[e]:t}:{},f$=(e,t)=>{if(!t)return e;for(const r in t)for(const n in t[r])e[r]||(e[r]={}),e[r][n]={...t[r][n],...e[r][n]};return e},d$=(e,t,r)=>{if(e)return e.fromChain&&(t[e.fromChain]||(Il(`Invalid chain name "${e.fromChain}" specified for defaultInputs.fromChain`),delete e.fromChain)),e.toChain&&(t[e.toChain]||(Il(`Invalid chain name "${e.toChain}" specified for defaultInputs.toChain`),delete e.fromChain)),e.fromChain&&e.toChain&&e.fromChain===e.toChain&&Il("Source and destination chain cannot be the same, check the defaultInputs configuration"),e.fromChain&&e.toChain&&e.requiredChain&&(t[e.requiredChain]||Il(`Invalid network value "${e.requiredChain}" specified for defaultInputs.requiredChain`),e.toChain!==e.requiredChain&&e.fromChain!==e.requiredChain&&Il("Source chain or destination chain must equal the required network")),e.fromChain&&e.fromToken&&(r.findByAddressOrSymbol(e.fromChain,e.fromToken)||(Il(`Invalid token "${e.fromToken}" specified for defaultInputs.fromToken`),delete e.fromToken)),e.toChain&&e.toToken&&(r.findByAddressOrSymbol(e.toChain,e.toToken)||(Il(`Invalid token "${e.toToken}" specified for defaultInputs.toToken`),delete e.toToken)),e},h$=e=>e[0].toUpperCase()+e.slice(1),p$={},{REACT_APP_ETHEREUM_RPC:m$,REACT_APP_SOLANA_RPC:g$,REACT_APP_POLYGON_RPC:y$,REACT_APP_BSC_RPC:b$,REACT_APP_AVALANCHE_RPC:M$,REACT_APP_FANTOM_RPC:x$,REACT_APP_CELO_RPC:v$,REACT_APP_MOONBEAM_RPC:w$,REACT_APP_SUI_RPC:C$,REACT_APP_APTOS_RPC:A$,REACT_APP_BASE_RPC:E$,REACT_APP_KLAYTN_RPC:S$,REACT_APP_ARBITRUM_RPC:D$,REACT_APP_OPTIMISM_RPC:T$,REACT_APP_SCROLL_RPC:I$,REACT_APP_BLAST_RPC:N$,REACT_APP_XLAYER_RPC:L$,REACT_APP_MANTLE_RPC:j$,REACT_APP_WORLDCHAIN_RPC:B$,REACT_APP_UNICHAIN_RPC:k$,REACT_APP_BERACHAIN_RPC:z$}=p$,_$={...rr("Ethereum",m$),...rr("Solana",g$),...rr("Polygon",y$),...rr("Bsc",b$),...rr("Avalanche",M$),...rr("Fantom",x$),...rr("Celo",v$),...rr("Moonbeam",w$),...rr("Sui",C$),...rr("Aptos",A$),...rr("Base",E$),...rr("Arbitrum",D$),...rr("Optimism",T$),...rr("Klaytn",S$),...rr("Scroll",I$),...rr("Blast",N$),...rr("Xlayer",L$),...rr("Mantle",j$),...rr("Worldchain",B$),...rr("Unichain",k$),...rr("Berachain",z$)};function TA(e){return{...e,experimental:e.experimental??{},walletConnectProjectId:(e==null?void 0:e.walletConnectProjectId)??void 0}}var je=(e=>(e[e.AVAX=1]="AVAX",e[e.BNB=2]="BNB",e[e.BSC=3]="BSC",e[e.CELO=4]="CELO",e[e.ETH=5]="ETH",e[e.FANTOM=6]="FANTOM",e[e.POLYGON=7]="POLYGON",e[e.SOLANA=8]="SOLANA",e[e.USDC=9]="USDC",e[e.GLMR=10]="GLMR",e[e.DAI=11]="DAI",e[e.USDT=12]="USDT",e[e.BUSD=13]="BUSD",e[e.WBTC=14]="WBTC",e[e.SUI=15]="SUI",e[e.APT=16]="APT",e[e.SEI=17]="SEI",e[e.BASE=18]="BASE",e[e.OSMO=19]="OSMO",e[e.TBTC=20]="TBTC",e[e.WSTETH=21]="WSTETH",e[e.ARBITRUM=22]="ARBITRUM",e[e.OPTIMISM=23]="OPTIMISM",e[e.ATOM=24]="ATOM",e[e.EVMOS=25]="EVMOS",e[e.KUJI=26]="KUJI",e[e.PYTH=27]="PYTH",e[e.INJ=28]="INJ",e[e.KLAY=29]="KLAY",e[e.NTT=30]="NTT",e[e.SCROLL=31]="SCROLL",e[e.BLAST=32]="BLAST",e[e.XLAYER=33]="XLAYER",e[e.MANTLE=34]="MANTLE",e[e.WORLDCHAIN=35]="WORLDCHAIN",e[e.BERA=36]="BERA",e[e.BTC=37]="BTC",e))(je||{});const F$=[{symbol:"ETH",decimals:18,icon:je.ETH,tokenId:{chain:"Ethereum",address:"native"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Ethereum",address:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}},{symbol:"USDC",decimals:6,icon:je.USDC,tokenId:{chain:"Ethereum",address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}},{symbol:"WBTC",decimals:8,icon:je.WBTC,tokenId:{chain:"Ethereum",address:"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Ethereum",address:"0xdAC17F958D2ee523a2206206994597C13D831ec7"}},{symbol:"DAI",decimals:18,icon:je.DAI,tokenId:{chain:"Ethereum",address:"0x6B175474E89094C44Da98b954EedeAC495271d0F"}},{symbol:"BUSD",decimals:18,icon:je.BUSD,tokenId:{chain:"Ethereum",address:"0x4Fabb145d64652a948d72533023f6E7A623C7C53"}},{symbol:"POL",decimals:18,icon:je.POLYGON,tokenId:{chain:"Polygon",address:"native"}},{symbol:"WPOL",decimals:18,icon:je.POLYGON,tokenId:{chain:"Polygon",address:"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Polygon",address:"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619"}},{symbol:"USDC",decimals:6,icon:je.USDC,tokenId:{chain:"Polygon",address:"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Polygon",address:"0xc2132D05D31c914a87C6611C10748AEb04B58e8F"}},{symbol:"BNB",decimals:18,icon:je.BNB,tokenId:{chain:"Bsc",address:"native"}},{symbol:"WBNB",decimals:18,icon:je.BNB,tokenId:{chain:"Bsc",address:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}},{symbol:"USDC",decimals:18,icon:je.USDC,tokenId:{chain:"Bsc",address:"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"}},{symbol:"AVAX",decimals:18,icon:je.AVAX,tokenId:{chain:"Avalanche",address:"native"}},{symbol:"WAVAX",decimals:18,icon:je.AVAX,tokenId:{chain:"Avalanche",address:"0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7"}},{symbol:"USDC",decimals:6,icon:je.USDC,tokenId:{chain:"Avalanche",address:"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Avalanche",address:"0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Avalanche",address:"0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB"}},{symbol:"FTM",decimals:18,icon:je.FANTOM,tokenId:{chain:"Fantom",address:"native"}},{symbol:"WFTM",name:"Wrapped Fantom",decimals:18,icon:je.FANTOM,tokenId:{chain:"Fantom",address:"0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83"}},{symbol:"USDC.e",decimals:6,icon:je.USDC,tokenId:{chain:"Fantom",address:"0x2F733095B80A04b38b0D10cC884524a3d09b836a"}},{symbol:"CELO",decimals:18,icon:je.CELO,tokenId:{chain:"Celo",address:"0x471EcE3750Da237f93B8E339c536989b8978a438"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Celo",address:"0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e"}},{symbol:"GLMR",decimals:18,icon:je.GLMR,tokenId:{chain:"Moonbeam",address:"native"}},{symbol:"WGLMR",decimals:18,icon:je.GLMR,tokenId:{chain:"Moonbeam",address:"0xAcc15dC74880C9944775448304B263D191c6077F"}},{symbol:"SOL",decimals:9,icon:je.SOLANA,tokenId:{chain:"Solana",address:"native"}},{symbol:"WSOL",decimals:9,tokenId:{chain:"Solana",address:"So11111111111111111111111111111111111111112"},icon:je.SOLANA},{symbol:"USDC",decimals:6,tokenId:{chain:"Solana",address:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},icon:je.USDC},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Solana",address:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"}},{symbol:"SUI",decimals:9,tokenId:{chain:"Sui",address:"native"},icon:je.SUI},{symbol:"USDC",decimals:6,tokenId:{chain:"Sui",address:"0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"},icon:je.USDC},{symbol:"APT",decimals:8,tokenId:{chain:"Aptos",address:"native"},icon:je.APT},{symbol:"USDC",decimals:6,tokenId:{chain:"Aptos",address:"0xbae207659db88bea0cbead6da0ed00aac12edcdda169e591cd41c94180b46f3b"},icon:je.USDC},{symbol:"ETH",decimals:18,icon:je.ETH,tokenId:{chain:"Arbitrum",address:"native"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Arbitrum",address:"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"}},{symbol:"USDC",decimals:6,icon:je.USDC,tokenId:{chain:"Arbitrum",address:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Arbitrum",address:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9"}},{symbol:"ETH",decimals:18,icon:je.ETH,tokenId:{chain:"Optimism",address:"native"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Optimism",address:"0x4200000000000000000000000000000000000006"}},{symbol:"USDC",decimals:6,icon:je.USDC,tokenId:{chain:"Optimism",address:"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Optimism",address:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Bsc",address:"0x2170Ed0880ac9A755fd29B2688956BD959F933F8"}},{symbol:"USDT",decimals:18,icon:je.USDT,tokenId:{chain:"Bsc",address:"0x55d398326f99059fF775485246999027B3197955"}},{symbol:"ETH",decimals:18,icon:je.ETH,tokenId:{chain:"Base",address:"native"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Base",address:"0x4200000000000000000000000000000000000006"}},{symbol:"USDC",decimals:6,icon:je.USDC,tokenId:{chain:"Base",address:"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Base",address:"0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2"}},{symbol:"wstETH",decimals:18,tokenId:{chain:"Base",address:"0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452"},icon:je.WSTETH},{symbol:"wstETH",decimals:18,tokenId:{chain:"Ethereum",address:"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0"},icon:je.WSTETH},{symbol:"wstETH",decimals:18,tokenId:{chain:"Arbitrum",address:"0x5979D7b546E38E414F7E9822514be443A4800529"},icon:je.WSTETH},{symbol:"wstETH",decimals:18,tokenId:{chain:"Optimism",address:"0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb"},icon:je.WSTETH},{symbol:"wstETH",decimals:18,tokenId:{chain:"Polygon",address:"0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD"},icon:je.WSTETH},{symbol:"KLAY",decimals:18,icon:je.KLAY,tokenId:{chain:"Klaytn",address:"native"}},{symbol:"WKLAY",decimals:18,name:"wKLAY",icon:je.KLAY,tokenId:{chain:"Klaytn",address:"0xe4f05A66Ec68B54A58B17c22107b02e0232cC817"}},{symbol:"PYTH",decimals:6,tokenId:{chain:"Solana",address:"HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3"},icon:je.PYTH},{symbol:"ETH",decimals:18,icon:je.SCROLL,tokenId:{chain:"Scroll",address:"native"}},{symbol:"WETH",decimals:18,icon:je.SCROLL,tokenId:{chain:"Scroll",address:"0x5300000000000000000000000000000000000004"}},{symbol:"ETH",decimals:18,icon:je.BLAST,tokenId:{chain:"Blast",address:"native"}},{symbol:"WETH",decimals:18,icon:je.BLAST,tokenId:{chain:"Blast",address:"0x9D020B1697035d9d54f115194c9e04a1e4Eb9aF7"}},{symbol:"OKB",decimals:18,icon:je.XLAYER,tokenId:{chain:"Xlayer",address:"native"}},{symbol:"WOKB",decimals:18,icon:je.XLAYER,tokenId:{chain:"Xlayer",address:"0xe538905cf8410324e03A5A23C1c177a474D59b2b"}},{symbol:"MNT",decimals:18,icon:je.MANTLE,tokenId:{chain:"Mantle",address:"native"}},{symbol:"WMNT",decimals:18,icon:je.MANTLE,tokenId:{chain:"Mantle",address:"0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8"}},{symbol:"tBTC",decimals:18,tokenId:{chain:"Ethereum",address:"0x18084fbA666a33d37592fA2633fD49a74DD93a88"},icon:je.TBTC},{symbol:"tBTC",decimals:18,tokenId:{chain:"Polygon",address:"0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b"},icon:je.TBTC},{symbol:"tBTC",decimals:18,tokenId:{chain:"Optimism",address:"0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40"},icon:je.TBTC},{symbol:"tBTC",decimals:18,tokenId:{chain:"Arbitrum",address:"0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40"},icon:je.TBTC},{symbol:"tBTC",decimals:18,tokenId:{chain:"Base",address:"0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b"},icon:je.TBTC},{symbol:"tBTC",decimals:8,tokenId:{chain:"Solana",address:"6DNSN2BJsaPFdFFc1zP37kkeNe4Usc1Sqkzr9C9vPWcU"},icon:je.TBTC},{symbol:"ETH",tokenId:{chain:"Worldchain",address:"native"},decimals:18,icon:je.WORLDCHAIN},{symbol:"WETH",tokenId:{chain:"Worldchain",address:"0x4200000000000000000000000000000000000006"},decimals:18,icon:je.WORLDCHAIN},{symbol:"ETH",tokenId:{chain:"Unichain",address:"native"},decimals:18,icon:je.ETH},{symbol:"WETH",tokenId:{chain:"Unichain",address:"0x4200000000000000000000000000000000000006"},decimals:18,icon:je.ETH},{symbol:"USDC",tokenId:{chain:"Unichain",address:"0x078D782b760474a361dDA0AF3839290b0EF57AD6"},decimals:6,icon:je.USDC},{symbol:"BERA",tokenId:{chain:"Berachain",address:"native"},decimals:18,icon:je.BERA},{symbol:"WBERA",tokenId:{chain:"Berachain",address:"0x6969696969696969696969696969696969696969"},decimals:18,icon:je.BERA}],O$={Ethereum:{"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2":{Bsc:"0x4DB5a66E937A9F4473fA95b1cAF1d1E1D62E29EA",Polygon:"0x11CD37bb86F65419713f30673A480EA33c826872",Avalanche:"0x8b82A291F83ca07Af22120ABa21632088fC92931",Fantom:"0x2A126f043BDEBe5A0A9841c51915E562D9B07289",Celo:"0x66803FB87aBd4aaC3cbB3fAd7C3aa01f6F3FB207",Moonbeam:"0xab3f0245B83feB11d15AAffeFD7AD465a59817eD",Solana:"7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs",Sui:"0xaf8cd5edc19c4512f4259f0bee101a40d41ebed738ade5874359610ef8eeced5::coin::COIN",Aptos:"0xcc8a89c8dce9693d354449f1f73e60e14e347417854f029db5bc8e7454008abb::coin::T",Base:"0x71b35ECb35104773537f849FBC353F81303A5860",Arbitrum:"0xD8369C2EDA18dD6518eABb1F85BD60606dEb39Ec",Optimism:"0xb47bC3ed6D70F04fe759b2529c9bc7377889678f",Blast:"0xC09a79fCF76ab2917c685896E3693e04EEbab69C",Mantle:"0x115Fcc627AcE0457fbeb7Af3b8BcAcE7Ff6211A4",Klaytn:"0x98A8345bB9D3DDa9D808Ca1c9142a28F6b0430E1",Worldchain:"0x6938c3EfFEf84E5C69e3d7cc41eBC6Cff99EF8A7"},"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48":{Bsc:"0xB04906e95AB5D797aDA81508115611fee694c2b3",Polygon:"0x4318CB63A2b8edf2De971E2F17F77097e499459D",Avalanche:"0xB24CA28D4e2742907115fECda335b40dbda07a4C",Fantom:"0x2Ec752329c3EB419136ca5e4432Aa2CDb1eA23e6",Celo:"0x37f750B7cC259A2f741AF45294f6a16572CF5cAd",Moonbeam:"0x931715FEE2d06333043d11F658C8CE934aC61D0c",Solana:"A9mUU4qviSctJVPJdBJWkb28deg915LYJKrzQ19ji3FM",Sui:"0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN",Aptos:"0x5e156f1207d0ebfa19a9eeff00d62a282278fb8719f4fab3a586a0a2c0fffbea::coin::T",Base:"0xec267C53f53807c2337C257f8AC3Fc3cC07cc0ed",Arbitrum:"0xC96F2715E2a242d50D1b0bC923dbe1740b8eCf18",Optimism:"0x711e53D031ea9B0bb0C24dD506df11b41AEA419e",Klaytn:"0x608792Deb376CCE1c9FA4D0E6B7b44f507CfFa6A",Worldchain:"0x2cbD3491d687A76bb9C53c30B212855520D47b52"},"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599":{Bsc:"0x43359676E1A3F9FbB5de095333f8e9c1B46dFA44",Polygon:"0x5D49c278340655B56609FdF8976eb0612aF3a0C3",Avalanche:"0x1C0e79C5292c59bbC13C9F9f209D204cf4d65aD6",Fantom:"0x87e9E225aD8a0755B9958fd95BE43DD6A91FF3A7",Celo:"0xd71Ffd0940c920786eC4DbB5A12306669b5b81EF",Moonbeam:"0xE57eBd2d67B462E9926e04a8e33f01cD0D64346D",Solana:"3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh",Sui:"0x027792d9fed7f9844eb4839566001bb6f6cb4804f66aa2da6fe1ee242d896881::coin::COIN",Aptos:"0xae478ff7d83ed072dbc5e264250e67ef58f57c99d89b447efd8a0a2e8b2be76e::coin::T",Base:"0xE6396f780b543dF16ee3b784D789c75B68319db0",Arbitrum:"0x397846a8078d4845c7f5c6Ca76aeBbcFDc044fAe",Optimism:"0xB214C19d81c99E75e84706a3aa0A757319023e26",Klaytn:"0x981846bE8d2d697f4dfeF6689a161A25FfbAb8F9",Worldchain:"0x06c9ec7E18A7900E79Ad5BeCc6Cc29E3eebD81EC"},"0xdAC17F958D2ee523a2206206994597C13D831ec7":{Bsc:"0x524bC91Dc82d6b90EF29F76A3ECAaBAffFD490Bc",Polygon:"0x9417669fBF23357D2774e9D421307bd5eA1006d2",Avalanche:"0x9d228444FC4B7E15A2C481b48E10247A03351FD8",Fantom:"0x14BCb86aEed6a74D3452550a25D37f1c30AA0A66",Celo:"0x617f3112bf5397D0467D315cC709EF968D9ba546",Moonbeam:"0xc30E9cA94CF52f3Bf5692aaCF81353a27052c46f",Solana:"Dn4noZ5jgGfkntzcQSUZ8czkreiZ1ForXYoV2H8Dm7S1",Sui:"0xc060006111016b8a020ad5b33834984a437aaa7d3c74c18e09a95d48aceab08c::coin::COIN",Aptos:"0xa2eda21a58856fda86451436513b867c97eecb4ba099da5775520e0f7492e852::coin::T",Base:"0xFf0C62A4979400841eFaA6faADb07Ac7d5C98b27",Arbitrum:"0xE4728F3E48E94C6DA2B53610E677cc241DAFB134",Optimism:"0xf6B4185FCf8aF291c0E3927fbEab7046b4f6A8CA",Blast:"0x37C1dea9C51864cc6640FA9c09f4dac574b8285E",Klaytn:"0x5C13E303a62Fc5DEdf5B52D66873f2E59fEdADC2",Xlayer:"0x5866709f926f26C5870191F40333ac462B917bC0",Worldchain:"0x95dd0680Fd6B6c7546e75C1A4E6A3256072C0593"},"0x6B175474E89094C44Da98b954EedeAC495271d0F":{Bsc:"0x3413a030EF81a3dD5a302F4B4D11d911e12ed337",Polygon:"0x732EB1747ecCFC431fF19bc359ffc83755B1918c",Avalanche:"0xca319f81D147559e19A522A0a0310Dd43A96cA0F",Fantom:"0xEE786D3D73Ea645365c7248E4e40eDba08B1169F",Celo:"0x97926a82930bb7B33178E3c2f4ED1BFDc91A9FBF",Moonbeam:"0x06e605775296e851FF43b4dAa541Bb0984E9D6fD",Solana:"EjmyN6qEC1Tf1JxiG1ae7UTJhUxSwk1TCWNWqxWV4J6o",Aptos:"0x407a220699982ebb514568d007938d2447d33667e4418372ffec1ddb24491b6c::coin::T",Base:"0x617Edadb51BfB43A44Bb91C7402129C23bA52381",Arbitrum:"0x5c4f2FEFB97F7DF09E762d95C83f0Ccf8bCe8234",Optimism:"0x098EA47D630b46df1E08e389e5e4466119c7dd30",Blast:"0x286ebE2BacB0EBeF746DBDA24dED0fc001c6d0F6",Sui:"0xc01c54cd767a60835bf100b0a8f7aae66ac9f4e374f76746af60f02493b6f2cf::coin::COIN",Klaytn:"0xCB2C7998696Ef7a582dFD0aAFadCd008D03E791A",Worldchain:"0x69635e59E89000e08a13C3F7B9f7293160Dc83a2"},"0x4Fabb145d64652a948d72533023f6E7A623C7C53":{Bsc:"0x035de3679E692C471072d1A09bEb9298fBB2BD31",Polygon:"0x95ea750420da26bE1Ab0891e209e921bCd84763f",Celo:"0x1dd42c0785ca90B677adc2ABad01dfc5ECcD0b4d",Moonbeam:"0xa2284e1F98E4d0B7Eb6a6b4f3C57f1b209C755F3",Solana:"33fsBLA8djQm82RpHmE3SuVrPGtZBWNYExsEUeKX1HXX",Aptos:"0x77400d2f56a01bad2d7c8c6fa282f62647ce3c03f43f2a8742e47ea01a91e24a::coin::T",Worldchain:"0x276719Fc6a38E62B717c6FF6E39d1C336ee633AB"},"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0":{Polygon:"0xe082a7Fc696De18172Ad08D956569Ee80BC37f06",Solana:"ZScHuTtqZukUrtZS43teTKGs2VqkKL8k4QCouR2n6Uo",Arbitrum:"0xf2717122Dfdbe988ae811E7eFB157aAa07Ff9D0F",Optimism:"0x855CFcEEe998c8ca34F9c914F584AbF72dC88B87",Base:"0xEd4e2FD35161c3c0e33cA187fce64C70d44Ce32b",Bsc:"0xad80E1A9B5824234afA9dE1F3bbDb8a994796169",Avalanche:"0x11449fd2F05D93827972b40adE96F6ffBE42E35a",Fantom:"0x2a2Ec6Ad3e47C536F47934F63b95BD647F1C730E",Worldchain:"0xd977e0251db8d38155dC5d212944AB7B7a6777Ad"}},Polygon:{"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270":{Ethereum:"0x7c9f4C87d911613Fe9ca58b579f737911AAD2D43",Bsc:"0xc836d8dC361E44DbE64c4862D55BA041F88Ddd39",Avalanche:"0xf2f13f0B7008ab2FA4A2418F4ccC3684E49D20Eb",Fantom:"0xb88A6064B1F3FF5B9AE4A82fFD52560b0dF9FBD3",Celo:"0x9C234706292b1144133ED509ccc5B3CD193BF712",Moonbeam:"0x82DbDa803bb52434B1f4F41A6F0Acb1242A7dFa3",Solana:"Gz7VkD4MacbEB6yC5XD3HcumEiYx2EtDYYrfikGsvopG",Sui:"0xdbe380b13a6d0f5cdedd58de8f04625263f113b3f9db32b3e1983f49e2841676::coin::COIN",Aptos:"0x6781088e2a1629d38eda521467af4a8ca7bfa7e5516338017940389595c85c0f::coin::T",Base:"0xc863399E5c5C4011B1DC3fB602902C77BA72B709",Arbitrum:"0x3ab0E28C3F56616aD7061b4db38aE337E3809AEA",Optimism:"0x8f02B6a32cebcAe44D2Fd17d87966f5B5dD14c6d",Blast:"0xE00CB9206aCF0413aa9Dc12F01A22BB5Dd7A2866",Mantle:"0x1d15Dc3B3DB5A182eA8E3091F21EB0549d4a72E0",Klaytn:"0x9858e5A4f8202baD619D4BD39382CA67F4CA0E63",Scroll:"0x982D057feCD66c3af27b16EBC67C4db24810bcD8",Xlayer:"0xc97E2b2d7730C34adC389563721d9dF52EDA4A2a",Worldchain:"0xDcB507ECEA06724d8c4F2f03964f7EE4da504E8C"},"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619":{Bsc:"0x1384284E16e3375522Be54F50909Bc52A69e90e4",Solana:"DQyeU3oFezEGia761GQ4iPcMCnxnH8fuLrmHZUvTYuby",Aptos:"0x2692323828f627a45a75a05eba8281dd46690c538b4f6ccb7a35ffe8199a28b7::coin::T",Sui:"0xa1ed6e76b06ff8f959cc479fbbd423820a3349dad8707b98ff4309c677fa20ad::coin::COIN",Arbitrum:"0xd2b299eD76d1369Ac8762CFEc85245fFD302FC17",Ethereum:"0x32d222E1f6386B3dF7065d639870bE0ef76D3599",Avalanche:"0x061FE51530768889dc20Ac7fCD29b5307b823395",Optimism:"0x2740220fFa4b206280907ce12b7cDC57445f3B92",Fantom:"0x1cAFd8d3301E4E54Fc1462E7117Eb678bF50C765",Base:"0x7A79923734eDA9c7f7ff69ad9ec1e234F67E7CD6",Moonbeam:"0xf1BB9A987B9edC360580b0c9F28069C808c2a7da",Celo:"0x8Ed68859f162970258992168293232e3Bdd987d0",Klaytn:"0x3eb25C7098AC38a852Cd2366161c5e216af50Df3"},"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359":{Aptos:"0xc5fd7820e9f053e6dd8e7dd8ca3ce8e9b10d200ba1692bdeb7a035217180ad4a::coin::T",Base:"0xFe1579BAc60363c8572CB30Bf4DD1Fd85811BBF8",Moonbeam:"0x4415BfBDee669446550d55c749007EF60B520FC8",Sui:"0x5c8c9082401982e8c2519a5c12883a5475295bf5cec4a0a13c26d35dd9a20d73::coin::COIN",Bsc:"0xe6d82Bbe75041E42E51d755e922cE1BA91af9c4d",Celo:"0x42c76808f3179A091Ee007A2955aF2522978ADE7",Fantom:"0xB4DcfD221048a1Dad989D39456BBd87762c26F06",Avalanche:"0xDb2d08f5A9C9ADBBA0DE5a69bbB1E9Ca03411692",Arbitrum:"0x599ADB10E6A012dF34935D47407450f6D7170e3C",Optimism:"0xbB1EaB9Eb8fDf65F0E291D013DA07B4b65a27a01",Solana:"C321jHPwWBzgfSGndosDTp5pBsiXPyMU1irxKLVcedRB",Ethereum:"0xFbcE0f9e92AD1003e893Ba647bC055D845aAa507",Klaytn:"0x59AEaD999e018a00B162D34de7a81AFFAB88bAbB"},"0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD":{Base:"0xcB6D47199d60747152d7671D6497ce8D23cc1D75",Arbitrum:"0x23D3901A635fDd98D8d6509bc0720281f80a8E6D",Ethereum:"0x302F636d723c8Ed75C0d1E9D9C714009184C5624",Optimism:"0x4fad81d2268a7D9E1e0fE7dB38af07FFFA0aA56E",Celo:"0xA4c7302659eCF88a90e62e915Bd486E66B616A4C"}},Bsc:{"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c":{Ethereum:"0x418D75f65a02b3D53B2418FB8E1fe493759c7605",Polygon:"0xeCDCB5B88F8e3C15f95c720C51c71c9E2080525d",Avalanche:"0x442F7f22b1EE2c842bEAFf52880d4573E9201158",Fantom:"0xc033551e05907Ddd643AE14b6D4a9CA72BfF509B",Celo:"0xBf2554ce8A4D1351AFeB1aC3E5545AaF7591042d",Moonbeam:"0xE3b841C3f96e647E6dc01b468d6D0AD3562a9eeb",Solana:"9gP2kCy3wA1ctvYWQk75guqXuHfrEomqydHLtcTCqiLa",Sui:"0xb848cce11ef3a8f62eccea6eb5b35a12c4c2b1ee1af7755d02d7bd6218e8226f::coin::COIN",Aptos:"0x6312bc0a484bc4e37013befc9949df2d7c8a78e01c6fe14a34018449d136ba86::coin::T",Base:"0x7fdAa50d7399ac436943028edA6ed9a1BD89509f",Arbitrum:"0x7AF00405916D823eDb1121546EfA6F4972B51b84",Optimism:"0x6A09fE65ACa27C12573F04aAFa290bD75497E1BC",Blast:"0xdcd0Ec817d3ae2E82bCE8Cc9f92fFA7686A52160",Mantle:"0x9a7E85260d6F5d3c3d2a1FdDc3D980DBC78e508d",Klaytn:"0xaC9C1E4787139aF4c751B1C0fadfb513C44Ed833",Scroll:"0x5b0da0a36DC415714B53A4f24b56921332F42E7C",Xlayer:"0x8bC46166E06122603bA10D2bCA63b75091c25cAe",Worldchain:"0x59163d9c70E9b3852a504c5F1458e2daD33516Ff"},"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d":{Ethereum:"0x7cd167B101D2808Cfd2C45d17b2E7EA9F46b74B6",Polygon:"0x4B3a922c773BDCF3BA8f1A4FDAc2029E1D0E9868",Avalanche:"0x6145E8a910aE937913426BF32De2b26039728ACF",Fantom:"0x0FcbDAC44c67A43607D3E95886dB19871ADc985F",Celo:"0x9d9abAE97a9344e3854527b4efbB366a1564bfEb",Moonbeam:"0x7f433E22366E03a3758CE22cCf82887d828078f8",Solana:"FCqfQSujuPxy6V42UvafBhsysWtEq1vhjfMN1PUbgaxA",Sui:"0x909cba62ce96d54de25bec9502de5ca7b4f28901747bbf96b76c2e63ec5f1cba::coin::COIN",Aptos:"0x79a6ed7a0607fdad2d18d67d1a0e552d4b09ebce5951f1e5c851732c02437595::coin::T",Base:"0x68E2b07F92ed506f92935d7359ECA84D5342dbb4",Arbitrum:"0x1a0590F951bc9C3818Ce75ba5Bbe92831b2cf57e",Optimism:"0x1C15057d1F3794C934a6cBC1f7EceE934050F219",Klaytn:"0x01B342d26FEF5749E87CBe412e16163771b0277c"},"0x2170Ed0880ac9A755fd29B2688956BD959F933F8":{Aptos:"0xd9fc4259ec5def95477dba9f0861c2882d1f8bee9a4138b476dd0720a3444547::coin::T",Solana:"FzjTz2cD1DfqYvafrbHWZvf1dK9qjwXGLuaU7xYXQjxP",Sui:"0x5029d5a94429a73b8036cd67192d9c5e09bbc2c0fee942d50075a9edba66744f::coin::COIN",Base:"0xf50509Bb6aF76E20c6E1eD493699c5f70764BcCC",Arbitrum:"0x6478377A399bE8c92bD35254aA7bF287836de32e",Ethereum:"0x5DbBB101CDc29443d12055eCDDdD7ca037Dce721",Fantom:"0xc511E3aec79CABD605021C237c475Ec553B002d4",Celo:"0x09F236D3708894581b1Cf679e582ba9eA5BE16f0",Klaytn:"0x4C07075BB44076106f3389766946b79784Fb5C58",Avalanche:"0xf0e509144CfA602d0A5e8C75d76FF74077f52f2b",Optimism:"0x8088Bc767c392b5769b94c9ec1D07c62874c8d5f",Polygon:"0x2D291e940DbDdaa9E847Ba5cC49451575f086b27",Moonbeam:"0xBefd7902B682938b29B3FD3D4AdECD9A984D5930"}},Avalanche:{"0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7":{Ethereum:"0x85f138bfEE4ef8e540890CFb48F620571d67Eda3",Bsc:"0x96412902aa9aFf61E13f085e70D3152C6ef2a817",Polygon:"0x7Bb11E7f8b10E9e571E5d8Eace04735fDFB2358a",Fantom:"0x358CE030DC6116Cc296E8B9F002728e65459C146",Celo:"0xFFdb274b4909fC2efE26C8e4Ddc9fe91963cAA4d",Moonbeam:"0xd4937A95BeC789CC1AE1640714C61c160279B22F",Solana:"KgV1GvrHQmRBY8sHQQeUKwTm2r2h8t4C8qt12Cw1HVE",Sui:"0x1e8b532cca6569cab9f9b9ebc73f8c13885012ade714729aa3b450e0339ac766::coin::COIN",Aptos:"0x5b1bbc25524d41b17a95dac402cf2f584f56400bf5cc06b53c36b331b1ec6e8f::coin::T",Base:"0xc449A60A31E1eebFE83c42E9465fd4Dc318aE9a7",Arbitrum:"0x565609fAF65B92F7be02468acF86f8979423e514",Optimism:"0x8418C1d909842f458c9394886b83F19d62bF1A0D",Blast:"0x7D86F00026c2cD8137D60ae85d53c5E5a15B2481",Mantle:"0x2cAb4233d42043AEBbbb1445af362Ef686f3C133",Klaytn:"0x45830b92443a8f750247da2A76C85c70d0f1EBF3",Scroll:"0xC043c8A3672f397e7b52bF0a04F47d6f1aA952Ed",Xlayer:"0x5208Fb676B2DBab7aFaFB56e8997237F0ceECF71",Worldchain:"0x5Bf2A0622aa1254D963A3074b593A379784C116a"},"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E":{Ethereum:"0x39EbF69137D98FB7659Ef8D4ea21ec26394389d7",Bsc:"0xc88Dc63bf0c8c8198C97Db0945E3eF25Ca89A8e4",Polygon:"0xAEA5CC14DefbC1b845FDE729E563B717Ee6825ae",Fantom:"0xEfE7701cb2B80664385Be226d0300912CA92f66A",Celo:"0x62FFf2D2D1692D52eAf043AeeC727F7918d269D3",Moonbeam:"0xd4918c40cA9f02d42Cb53d06587aF42017Bc345D",Solana:"FHfba3ov5P3RjaiLVgh8FTv4oirxQDoVXuoUUDvHuXax",Sui:"0xe596782fbaebef51ae99ffac8731aed98a80642b9dc193ed659c97fbc2cc0f84::coin::COIN",Aptos:"0x39d84c2af3b0c9895b45d4da098049e382c451ba63bec0ce0396ff7af4bb5dff::coin::T",Arbitrum:"0x93e0FcbEd43CD6fC30DF00CcBD4669718dc74e77",Optimism:"0x355f0a8a7ecAeD971b8Fbd50994558291ff2413a",Base:"0xD83385fE100E20c269a5975D4Bf92525BcE09F87",Blast:"0x3Db095413b5e1e5681c48028e31e8dc2505D8aD3",Klaytn:"0x9C97D4c09679Dfd00A39681f6d3b61A285312B13",Scroll:"0xbEFc3d0457fB88f82364Dd982F7BA195FEE96b74"},"0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB":{Aptos:"0x25ff8e0c07552c392c9e5dd4c9c07cf0382765c1bca560e80b6296a702034219::coin::T",Solana:"F9B9qLwUN3TAWGV9EGsuzFzS2PxWvKAmLhvfeqYNaS7J",Bsc:"0xBDfe278268524de38Da89B3023C1F49deBDFdA8A",Sui:"0xc1ea686a329e35808c61484d95904d50522f1d1616cab4b416d9cfa9b274bc6c::coin::COIN",Base:"0xEfe64b52bc0bDfa109790736F25cefb79724adF0",Arbitrum:"0xdF64fB41b7f45304a786695E0D5daD8d033C01eF",Polygon:"0x2912b3a9586Fc2AB177dC869e878c688DAA7d06E",Ethereum:"0xD85a87Edbe9fB3Baf6a1Bbd1E46f1C04B291331d",Optimism:"0xBe6EA3e70e2bbB0dbD093B657fbbc0DFF0BA67eC",Moonbeam:"0x9C673c6b651D6FDEF57441125A6AC16b08bba939",Celo:"0xDac2C97b5E64d7C79d040cd2906EBe02341F1Ab5",Klaytn:"0x9971F9d9170D787C4e4E01c56E1BDB308291CacF",Fantom:"0x86a09597fc91b116511B990D29CB46ddedC0fCb0"}},Fantom:{"0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83":{Ethereum:"0x4cD2690d86284e044cb63E60F1EB218a825a7e92",Bsc:"0xbF8413EE8612E0E4f66Aa63B5ebE27f3C5883d47",Polygon:"0x3726831304D77f585f1Aca9d9841cc3Ef80dAa62",Avalanche:"0xd19abc09B7b36F7558929b97a866f499a26c2f83",Celo:"0xd1A342eE2210238233a347FEd61EE7Faf9f251ce",Moonbeam:"0x609AedD990bf45926bca9E4eE988b4Fb98587D3A",Solana:"DRQBDBEWmwWGK13fRTLhSPzjbvMSUavhV6nW4RUH8W6T",Sui:"0x6081300950a4f1e2081580e919c210436a1bed49080502834950d31ee55a2396::coin::COIN",Aptos:"0xd1aa2ff36a0e93e1b4e4fecdecf8bb95bc5de399061c5e84b515281f48718842::coin::T",Base:"0x936Fa2DE8380Dc5BF34C80F1BaD53a9f3630263B",Arbitrum:"0x7f7dcDb91930033a4Eb269196EBb6fd5f0644E4B",Optimism:"0x0b0ecbe5C3995541876d27633B63296570FB34Af",Blast:"0xf1D0eEeB6B6B35dc7289E1AD5e523F68b82bd09A",Mantle:"0x6BFDc59ECBC5503aE16F71851064597D0a75dA76",Klaytn:"0xF3AebeA789F30C22F3657F70f4CaA0f8b49ed676",Scroll:"0x16f077e2e9bF99Adfb1FEEc8360ee002842C44A2",Xlayer:"0x956b5E88c311b976C76CB415C7E030A5Af87373b"},"0x2F733095B80A04b38b0D10cC884524a3d09b836a":{Bsc:"0x521af8b1c43B503BE91F542d82EEFEabc0C93340",Arbitrum:"0xF68734163731ad6A6108f76A8e09862C1d412B42",Ethereum:"0xfcC349c14013EdeFAAcAE09Ba30F4ef2571b8D2c"}},Celo:{"0x471EcE3750Da237f93B8E339c536989b8978a438":{Ethereum:"0x3294395e62F4eB6aF3f1Fcf89f5602D90Fb3Ef69",Bsc:"0x2A335e327a55b177f5B40132fEC5D7298aa0D7e6",Polygon:"0x922F49a9911effc034eE756196E59BE7b90D43b3",Avalanche:"0x494317B8521c5a5287a06DEE467dd6fe285dA4a8",Fantom:"0xF432490C6c96C9d3bF523a499a1CEaFd8208A373",Moonbeam:"0xc1a792041985F65c17Eb65E66E254DC879CF380b",Solana:"9kvAcwQbqejuJMd59mKuw2bfSsLRaQ7zuvaTVHEeBBec",Sui:"0xa198f3be41cda8c07b3bf3fee02263526e535d682499806979a111e88a5a8d0f::coin::COIN",Aptos:"0xac0c3c35d50f6ef00e3b4db6998732fe9ed6331384925fe8ec95fcd7745a9112::coin::T",Base:"0x74df3823aA29D278cAD0A3632fCB56C896a38eD4",Arbitrum:"0x4E51aC49bC5e2d87e0EF713E9e5AB2D71EF4F336",Optimism:"0x9b88D293b7a791E40d36A39765FFd5A1B9b5c349",Blast:"0x75345Cc6a3333cca03aCE2a28C7de328122Db3b1",Klaytn:"0xB2b5bC9bc872c7107CBC8E8e0E2805Db0ac4FBc2",Worldchain:"0x2250A0E2532A745b585B69dd2CdC75207384917c"}},Moonbeam:{"0xAcc15dC74880C9944775448304B263D191c6077F":{Ethereum:"0x93d3696A9F879b331f40CB5059e37015423A3Bd0",Bsc:"0x1C063db3c621BF901FC6C1D03328b08b2F9bbfba",Polygon:"0xcC48d6CF842083fEc0E01d913fB964b585975F05",Avalanche:"0x375aA6C67BF499fBf01804A9f92C03c0776F372d",Fantom:"0xBF227E92D6754EB4BFE26C40cb299ff2809Da45f",Celo:"0x383A5513AbE4Fe36e0E00d484F710148E348Aa9D",Solana:"7ixSaXGsHAFy34wogPk2YXiUX3BMmQMFdercdaHLnBby",Sui:"0x66f87084e49c38f76502d17f87d17f943f183bb94117561eb573e075fdc5ff75::coin::COIN",Aptos:"0x7ab1283a7b13c4254d4e1f803d7ce6578442c1d7a40d0faee41cd48ba4884c8a::coin::T",Base:"0xfdB7311BeC3b2CcCF8407d0585f81B97b3b5eff1",Arbitrum:"0x944C5b67a03e6Cb93Ae1E4B70081f13b04CDB6Bd",Optimism:"0xbffD46DFDb8d3a02b8D2E0F864a2cD712090a4D3",Blast:"0x43E43580A34c8FdD4694e1F9B5F9b1121a7044a5",Klaytn:"0x52a4558f98dDc7cb40cd9114C005f0B9571258Fc",Scroll:"0x2Aba1Ed24EaFC17F801b1A7dF1c3a06737F8aB72",Xlayer:"0xE2a44Dad57004517738FbD84cdf09Bd1451b4e43",Worldchain:"0xaAe2Bd4EB640f02dD3a53bd994ad19110b4191b0"}},Solana:{So11111111111111111111111111111111111111112:{Ethereum:"0xD31a59c85aE9D8edEFeC411D448f90841571b89c",Bsc:"0xfA54fF1a158B5189Ebba6ae130CEd6bbd3aEA76e",Polygon:"0xd93f7E271cB87c23AaA73edC008A79646d1F9912",Avalanche:"0xFE6B19286885a4F7F55AdAD09C3Cd1f906D2478F",Fantom:"0xd99021C2A33e4Cf243010539c9e9b7c52E0236c1",Celo:"0x4581E64115d46CcdeE65Be2336bEc86c9BA54C01",Moonbeam:"0x99Fec54a5Ad36D50A4Bba3a41CAB983a5BB86A7d",Sui:"0xb7844e289a8410e50fb3ca48d69eb9cf29e27d223ef90353fe1bd8e27ff8f3f8::coin::COIN",Aptos:"0xdd89c0e695df0692205912fb69fc290418bed0dbe6e4573d744a6d5e6bab6c13::coin::T",Base:"0x1C61629598e4a901136a81BC138E5828dc150d67",Arbitrum:"0x2bcC6D6CdBbDC0a4071e48bb3B969b06B3330c07",Optimism:"0xba1Cf949c382A32a09A17B2AdF3587fc7fA664f1",Blast:"0xA5370b8e2413b23eA16F3B78D1d1ba3969678227",Mantle:"0xDA03239f428c76A527e1ceCa0ecA6cC367A2D945",Klaytn:"0xfAA03A2AC2d1B8481Ec3fF44A0152eA818340e6d",Xlayer:"0x3a859D92da2E16Ad32C5C6F3ADAddFBa4dE3A47e",Scroll:"0xCDf95E1F720caade4b1DC83ABfE15400D2a458AD",Worldchain:"0xEfae32D1c15EDBaEA3ebdDe1e2C51003AED04d30"},EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v:{Ethereum:"0x41f7B8b9b897276b7AAE926a9016935280b44E97",Bsc:"0x91Ca579B0D47E5cfD5D0862c21D5659d39C8eCf0",Polygon:"0x576Cf361711cd940CD9C397BB98C4C896cBd38De",Avalanche:"0x0950Fc1AD509358dAeaD5eB8020a3c7d8b43b9DA",Fantom:"0xb8398DA4FB3BC4306B9D9d9d13d9573e7d0E299f",Celo:"0x8B6eef6C449D3Ac723a9C06a9eaE2dCd7d308BA9",Moonbeam:"0x098d6eE48341D6a0a0A72dE5baaF80A10E0F6082",Sui:"0xb231fcda8bbddb31f2ef02e6161444aec64a514e2c89279584ac9806ce9cf037::coin::COIN",Aptos:"0xc91d826e29a3183eb3b6f6aa3a722089fdffb8e9642b94c5fcd4c48d035c0080::coin::T",Arbitrum:"0x3870546cfd600ba87e4180686d29dC993A45d3B7",Optimism:"0x6F974A6dfD5B166731704Be226795901c45Bb815",Base:"0xe8CE40EBBB844142400D21558a2F1c9683d69139",Klaytn:"0xa1a7feeD29EbFa38079D943486c23f401939Ce80",Scroll:"0x883Ccb5aEfD0084f1e4D04b133675acd6D5F123F"},HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3:{Aptos:"0x770211b47954e15bec1a4271bf33bacebc2d2adb43b7dc1ca45efa787615dd4c::coin::T",Bsc:"0xb0188B0bb2cD4a6D2744637fC83C94a284B247Da",Base:"0x4c5d8A75F3762c1561D96f177694f67378705E98",Celo:"0x985aa4814419ba338379A634785216301e51113D",Avalanche:"0x8A0691e602B7a5FCc51a27E4a08376dE50889B42",Polygon:"0xFa4B761A1e07909Ba31331a5dfa12390E3ff5583",Fantom:"0x77ad3B2dA29FBd208F12c3C701E969F4422aAD79",Optimism:"0x99C59ACeBFEF3BBFB7129DC90D1a11DB0E91187f",Ethereum:"0xeFc0CED4B3D536103e76a1c4c74F0385C8F4Bdd3",Arbitrum:"0xE4D5c6aE46ADFAF04313081e8C0052A30b6Dd724",Sui:"0x9c6d76eb273e6b5ba2ec8d708b7fa336a5531f6be59f326b5be8d4d8b12348a4::coin::COIN",Moonbeam:"0x27cc3FDbDD1F415b09a41232D0fD71345DAB8030",Xlayer:"0x057b766b3fB76527cf815c3b5C38Dfa8144335CF",Worldchain:"0x838f3045F3B2dcDFF8cB4e5CaB0c0092A69B790a"}},Sui:{native:{Ethereum:"0x84074EA631dEc7a4edcD5303d164D5dEa4c653D6",Bsc:"0x8314f6Bf1B4dd8604A0fC33C84F9AF2fc07AABC8",Polygon:"0x34bE049fEbfc6C64Ffd82Da08a8931A9a45f2cc8",Avalanche:"0x1703CB0F762D2a435199B64Ea47E5349B7C17480",Fantom:"0xC277423a21F6e32D886BF85Ef6cCB945d5D28347",Celo:"0x1Cb9859B1A16A67ef83A0c7b9A21eeC17d9a97Dc",Moonbeam:"0x484eCCE6775143D3335Ed2C7bCB22151C53B9F49",Solana:"G1vJEgzepqhnVu35BN4jrkv3wVwkujYWFFCxhbEZ1CZr",Aptos:"0xa72a97e872be9ee3d2f14d56fd511eb7e4a53f4055be3a267d8602e7685b41c0::coin::T",Base:"0x36c6FBF7B49bF65f5F82b674af219C05b2a4aDD1",Arbitrum:"0xCF79d86B8a830030aF6D835737d6eac3bE823fD7",Optimism:"0x27A533e438892DA192725b4C9AcA51447F457212",Mantle:"0x9ef1BB6072d7d6B9C935d9c040133036aD532119",Blast:"0x62c95Ffd6d2f893Ea2EF072d1EbBcb242a974b1A",Klaytn:"0xB0B40516293e0204fB376A18aA230A210cbE0305",Xlayer:"0xEa76dBFE6e449420f294e74E057518F750E99A16",Worldchain:"0xf69005c35B5d9AcC22E4DbCf52f892cAE21F83B0"}},Aptos:{native:{Ethereum:"0x8CDf7AF57E4c8B930e1B23c477c22f076530585e",Bsc:"0x2Ba98cf7Edd2c5C794e21bc3Dc6973D3C2585eE3",Polygon:"0xa4ef199d3ad524E9C3C51Ac46B303B103A307Cef",Avalanche:"0x43c588459b3243fA541B98CC4B2E995b3de553A2",Fantom:"0x3Cd9162Ca5256b8E26A0e3Ad14CCfF7C0Da0F174",Celo:"0x89F2b718Ca518db39d377F0ABBa6B42582b549F7",Moonbeam:"0x25331575641d35D9765e1934acC8F0991c58e904",Solana:"6LNeTYMqtNm1pBFN8PfhQaoLyegAH8GD32WmHU9erXKN",Sui:"0x3a5143bb1196e3bcdfab6203d1683ae29edd26294fc8bfeafe4aaa9d2704df37::coin::COIN",Base:"0x1d36126289Be1658297A35CC3EB2BB80A7D7A04b",Arbitrum:"0x4EdeF400eDe5309240814b5FC403F224504604e9",Optimism:"0xC5B3AC2DF8D8D7AC851F763a5b3Ff23B4A696d59",Blast:"0x2a3DdE20159FbDbC86f1da0e7a462711b610c815",Klaytn:"0x68d5254007BE3a6d3d2A37e2C1ad3921D049F46D",Xlayer:"0xEdF2AEaCE382A3c0722f110c4927d34b78bce34F",Worldchain:"0xfC5011f2037f2Dad9c9aC05CbB6749B383C3099c"}},Arbitrum:{"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1":{Ethereum:"0xb945E3F853B5f8033C8513Cf3cE9F8AD9beBB1c9",Bsc:"0xaA1eEdABC48D078350ccBdD620bD088848e299E5",Polygon:"0x6a5c59AB16268d2c872916054C50440B999e417C",Avalanche:"0xDfDA518A1612030536bD77Fd67eAcbe90dDC52Ab",Fantom:"0xE8367853A0823515D37b1538331B4704089becb4",Celo:"0xc6F962fCcb140ece554AfD0E589f971532A57f14",Solana:"CSD6JQMvLi46psjHdpfFdr826mF336pEVMJgjwcoS1m4",Sui:"0x33744e7df340a4d01c23f6b18c13563f767545ea95f976f8045f056358419da3::coin::COIN",Aptos:"0xe977796d7bfb3263609b90dffd264c7bd078ce35dac42b55302858d9fa3452b::coin::T",Base:"0x9D36e0edb8BBaBeec5edE8a218dc2B9a6Fce494F",Optimism:"0x825206E1D29456337769e6f1384101E997C6A732",Moonbeam:"0x18872b45c603eD2EbC508b9C5514a85c2e2791FB",Klaytn:"0x3CF1751E32c4225CB12ba953786C260C2cE89008"},"0xaf88d065e77c8cC2239327C5EDb3A432268e5831":{Ethereum:"0xCFc006a32a98031C2338BF9d5ff8ED2c0Cae4a9e",Bsc:"0x5caa170b465122D15a6D20FD9A804a9613CE7882",Polygon:"0x7800FE8951cdc1cDea748d878fAce63018D97960",Avalanche:"0x4b5fE357Eb11c735078e47526D6e853DBff18541",Celo:"0xA41a62567d9eb960D84b72663FdaeBE0BCdE2683",Solana:"CR4xnGrhsu1fWNPoX4KbTUUtqGMF3mzRLfj4S6YEs1Yo",Sui:"0xc3f8927de33d3deb52c282a836082a413bc73c6ee0bd4d7ec7e3b6b4c28e9abf::coin::COIN",Aptos:"0xca3a2c28bc8c6c762f752dd2a4ebbfd00356ca99977ce6636e3af5897124a87a::coin::T",Optimism:"0xa6252F56cc6eEA21165d56744C795F91c8a3Cf68",Base:"0xb96B82Cd6D45d98Fb6897D16A5E4EE888329C513",Fantom:"0x2228703672906fEe5eD681Ec28e42B4506b8c336",Moonbeam:"0xbd2B6D665439514EEaA8519f4fE87CC8C46e9167",Klaytn:"0x3d5973fF7288f47857dAa5a32C53976A9A968928",Xlayer:"0xd53bD30985B4125fc561774e388d9f679BB84117"},"0x5979D7b546E38E414F7E9822514be443A4800529":{Bsc:"0x159167e842C586a81f02E55bc043AC8EdB033E0b",Aptos:"0xd2ca17516bc4ca57c1c69577e0c9cc0129153286695b46b97f438ecc138c225e::coin::T",Solana:"8wJakbZuv7WApfHmRo2sdkeQfu6hXqfEqjb7BYXDKpKe",Sui:"0xb607aed1c09e676384d14ae638dbcb08523fc691d309e71c856c7fdcb60d4430::coin::COIN",Base:"0xbE3981b37CcE5eCb6925d2ad9D9E28dE7b165793",Optimism:"0xEae5ccc3c36beF59f6794b467e7e228CB3720415",Fantom:"0xf65BF40A3299Df500D440520dF7e6ce1BEa53E73",Ethereum:"0x906310cE867C22c5016248Bd791FA5dd162c9D6d",Polygon:"0xcf0aa97c2fD78Ee0f0C3090B9EB65d2bd6C1D81a"}},Optimism:{"0x4200000000000000000000000000000000000006":{Fantom:"0xe8E8f941377A955bFA72880ec0dc2319dbC827a8",Celo:"0x8d53771b1Ec7461f8e45Bca2609c45bC0bbd0677",Solana:"8M6d63oL7dvMZ1gNbgGe3h8afMSWJEKEhtPTFM2u8h3c",Sui:"0x0aab14ec22908de73d1b0619f5e03842398f8e68262981bd35ef44b42d22b23a::coin::COIN",Aptos:"0x6a7a7f36ef5e2d0e65fcf72669c20d514d68298b0f76c7554517208f73260aaf::coin::T",Arbitrum:"0xB1fC645a86fB5085e12D8BDDb77702F728D2A26F",Avalanche:"0xDf11535274c0FD2Fe41A88bd1bBF802D72296037",Bsc:"0x94AEc09B5e2CE591e39DC6aa58A3A6E85Ed45265",Ethereum:"0x8B5653Ae095529155462eDa8CF664eD96773F557",Polygon:"0x8182De59485Bb646542Db8C7E5958148Dc699319",Base:"0xCb725aC8d9985D3bE306Dd9e1517d3702929176c",Moonbeam:"0xd4870F7F5AD8Ae5139E1a5D8AD4ac55204aE4490",Klaytn:"0x4ab77AF7059435b71dBC3B7c5255983C8628eFdf"},"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85":{Fantom:"0x385b219f0C4fa2e84EfE5aaf9692a821C57B8248",Celo:"0xEe48963C003e21EaCEdFA8a0A19BB3cbF7E776Fe",Moonbeam:"0x7143e8EA96e158381057a58AfdDF44601c7e532C",Base:"0xc6bfBeb3002aD563D2d1f72614C61C83Bf147Acd",Arbitrum:"0x3A5C2Da9E30741cb59a5e9446A23A86886fC9DC2",Aptos:"0x4f6ecb05a797902d472abc2f5804bde93a53d8b75f14f767824cdb1623a4ee83::coin::T",Bsc:"0xa41ae127D04F7ee73B5058E2C60Fb7c7A2D21F79",Avalanche:"0xBe04f76A0ba2100c3F2d6Aa1FD8484F415469573",Polygon:"0x31F12aCb60C3c32EE884F3894a873347C097D925",Sui:"0x6037801f060f0f54b3817bca05e3c8b9b9ffaa2da8e93fd5b80fa662aa3c9e55::coin::COIN",Solana:"J8kcD4Wnd1ehne1dpL8WNtgZQR6Jpui2cTZcrmg5ybAa",Klaytn:"0x7Ee2AB1443fDB59AECEa3aDD8F81296d68c2D1e3",Ethereum:"0xe77C99b64414e0fd9aeEA48AFFBBD2E97A895020"},"0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb":{Bsc:"0x1f29fAD000255BF49D72803b2A8FaC8e31947eF8",Base:"0xBb0BeaB819dEAf091C193bE4bBEeA9D5b0F5227C",Arbitrum:"0xf99C5EEd186601955a9a1027536D1b46b1f909F8",Polygon:"0x9065e1D25E65F7A1D60bb6197154386B52faA469",Ethereum:"0xB3ceE6DCa1dD528CB7CC258e32D8B50ce9Ee46f5"}},Base:{"0x4200000000000000000000000000000000000006":{Ethereum:"0x1D4241F7370253C0f12EFC536B7e16E462Fb3526",Bsc:"0x9dc152F4941cE1A138326e70c3600385bf0C22dD",Polygon:"0x5BCf8d8c097FbB35C371F921E3FF3e6F6Eb54B41",Avalanche:"0xFA83178c66fE51ee99109b5cC912f8098Ff812eF",Fantom:"0xd3365E7355230c78098b44B172eE27DAB95B041A",Celo:"0x905CADB645684140E285e2D09D39dF5a2082BC87",Moonbeam:"0x6C6f83366A42fcA4D30a2D3f1914284de995Ac3a",Solana:"DWXe1hxpnb8LAH21iyXcjvMbiAGzoYyuCVQtRLvZdLYd",Sui:"0xaecbc804fa7ca7cffc74c9a05eb6ae86fda0c68375b5c1724204a1065bcb239a::coin::COIN",Aptos:"0x5b5f14781164cf77185a7b6acd8e4f3cbb7e7cfb1cd5760d2b8af81075fc153d::coin::T",Arbitrum:"0xBAfbCB010D920e0Dab9DFdcF634De1B777028a85",Optimism:"0x3F369a664fa665e01e8EB9f20bFcE03A0CAb8971",Mantle:"0x4a2176DE2Fb36485704965bd1Cc471854f21303B",Klaytn:"0x7Bf9ad1D104dEAE4B59Ef1be6a273Cb46BA16362"},"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913":{Solana:"EfqRM8ZGWhDTKJ7BHmFvNagKVu3AxQRDQs8WMMaoBCu6",Moonbeam:"0xE6d02a875CcC153c076fe418f33De3A5C420f505",Celo:"0x2e2acb1782Aad0490f8446b6fD4626C467987bD6",Bsc:"0x55CaD531c8E303Cab8B3BE4bB4744Db4f896ac81",Optimism:"0xb931c7BbD87A6e249EaA7355B13927F9c99Bce87",Arbitrum:"0x8619F97D4d08382548F536E5CE1D3e0D9bA40326",Polygon:"0x1eeCaB0F75fE93abbFa0cDFfb4fB13d1dC8706c8",Avalanche:"0xab933e939a9236BD439F7d29b87CE712f42bAC06",Fantom:"0xd9E4C283d8A49Dc3767A6F5a4dFdc1d0cEf21604",Sui:"0x7e3e74afcc1913aa9491c8cee89b02131a6e5519b090f16b54321835c1241cfb::coin::COIN",Aptos:"0xfcc4fcd734d5b8578fb629d238d15264a49eca6165c7444c21feec3b4962eb88::coin::T",Blast:"0x35a926D55A726cdF70Ac498972F22426363F3C77",Mantle:"0x5D628a3285a10fdd93AEa704007957F294e05F91",Ethereum:"0xc38261846c42C1E1D59E04dA675Eb1974E9cE7b1",Klaytn:"0x0a2330c1C46E9A74e8651F7117a1264410eA3C88",Scroll:"0x22C9bde4Ad49C4b6CCFB8D394B5ED42A57853d58"},"0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452":{Arbitrum:"0x09E79693E44c8813A8CA25EeD7A40e5E24cD9c01",Ethereum:"0x187175c7a526f48c905202Bd2Bf8D25A457F479F",Polygon:"0x95d4C8e851D9E8c6B92aa518474E991c373E9Fb2",Optimism:"0x6ee40855c0BaB20585d17D2b9dd8d2Cd1cd41801",Avalanche:"0x5e513CA12DbD8424bDFc5B50711dF4AE999a8C58"}},Klaytn:{"0xe4f05A66Ec68B54A58B17c22107b02e0232cC817":{Aptos:"0x539b652f8230a0e42adaeda4706b5639893d22362eda6ea897493c210cb48219::coin::T",Ethereum:"0x9AEA32B459e96C8eF5010f69130bf95fd129ac05",Celo:"0xe304254de5c2048F9bFb042dDFB54f84d1d77730",Polygon:"0x415ce980fde17F1FF102e1c6e4ce860Acc615D74",Base:"0x41c433c146c47Dc53FC48cDc69e406e365e298E1",Arbitrum:"0xFA95f6c796E54F9C4a99392CAE84410a25794BB3",Moonbeam:"0xf0a9476E4712123A807859f9Fd25fe98213379BD",Fantom:"0x787e2F3509583C0F03A339Be0826463C839CBE5E",Sui:"0xa5ec915864d7f37b25ca9144b2db6ebcf29e73603c2ccf9d0e765adcd9049a98::coin::COIN",Avalanche:"0x126C03982Ad6D7ef7E6aF020bF219e87185a6BC3",Bsc:"0xEA970e7b7D131Ea36c3051C9Ca11e785462fE00c",Optimism:"0xbbeF8233a0d10EEAb84E913FaDB337ab9b62F683",Solana:"2b8fZGLBZjpxFugCdnJbbLLBYxvx23rsrsvLYYueiHb7",Blast:"0x5F6fE613528df9AE4Bf6f667fbCB923263098617",Scroll:"0xA55FB7A046454998b2f6d8D99Df5F0E108b38229",Worldchain:"0xC080f0082029fC6e8A4Bb33a9B0655B8d4f2BAB0"}},Scroll:{"0x5300000000000000000000000000000000000004":{Arbitrum:"0xAe81a542e20270b48Bd5297E3e0f280f79E46C42"}},Mantle:{"0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8":{Optimism:"0xf704F6a3241609Cfb3E44Db1237E68EB6CaC7C04"}}},R$={chains:u$,tokens:F$,wrappedTokens:O$,rpcs:_$,guardianSet:{index:4,keys:["0x5893b5a76c3f739645648885bdccc06cd70a3cd3","0xff6cb952589bde862c25ef4392132fb9d4a42157","0x114de8460193bdf3a2fcf81f86a09765f4762fd1","0x107a0086b32d7a0977926a205131d8731d39cbeb","0x8c82b2fd82faed2711d59af0f2499d16e726f6b2","0x11b39756c042441be6d8650b69b54ebe715e2343","0x54ce5b4d348fb74b958e8966e2ec3dbd4958a7cd","0x15e7caf07c4e3dc8e7c469f92c8cd88fb8005a20","0x74a3bf913953d695260d88bc1aa25a4eee363ef0","0x000ac0076727b35fbea2dac28fee5ccb0fea768e","0xaf45ced136b9d9e24903464ae889f5c8a723fc14","0xf93124b7c738843cbb89e864c862c38cddcccf95","0xd2cc37a4dc036a8d232b48f62cdd4731412f4890","0xda798f6896a3331f64b48c12d1d57fd9cbe70811","0x71aa1be1d36cafe3867910f99c09e347899c19c3","0x8192b6e7387ccd768277c17dab1b7a5027c0b3cf","0x178e21ad2e77ae06711549cfbb1f9c7a9d8096e8","0x5e1487f35515d02a92753504a8d75471b9f49edb","0x6fbebc898f403e4773e95feb15e80c9a99c8348d"]}},U$={Bsc:{displayName:"BSC",explorerUrl:"https://testnet.bscscan.com/",explorerName:"BscScan",icon:"Bsc",symbol:"BSC",sdkName:"Bsc"},Avalanche:{displayName:"Fuji",explorerUrl:"https://testnet.avascan.info/blockchain/c/",explorerName:"Avascan",icon:"Avalanche",symbol:"AVAX",sdkName:"Avalanche"},Fantom:{displayName:"Fantom",explorerUrl:"https://testnet.ftmscan.com/",explorerName:"FtmScan",icon:"Fantom",symbol:"FTM",sdkName:"Fantom"},Celo:{displayName:"Alfajores",explorerUrl:"https://explorer.celo.org/alfajores/",explorerName:"Celo Explorer",icon:"Celo",symbol:"CELO",sdkName:"Celo"},Moonbeam:{displayName:"Moonbase",explorerUrl:"https://moonbase.moonscan.io/",explorerName:"Moonscan",icon:"Moonbeam",symbol:"GLMR",sdkName:"Moonbeam"},Solana:{displayName:"Solana",explorerUrl:"https://explorer.solana.com/",explorerName:"Solana Explorer",icon:"Solana",symbol:"SOL",sdkName:"Solana"},Sui:{displayName:"Sui",explorerUrl:"https://suiscan.xyz/testnet/",explorerName:"Suiscan",icon:"Sui",symbol:"SUI",sdkName:"Sui"},Aptos:{displayName:"Aptos",explorerUrl:"https://explorer.aptoslabs.com/",explorerName:"Aptos Explorer",icon:"Aptos",symbol:"APT",sdkName:"Aptos"},Klaytn:{displayName:"Kaia",explorerUrl:"https://kairos.kaiascope.com/",explorerName:"Kaia Scope",icon:"Klaytn",symbol:"KLAY",sdkName:"Klaytn"},Sepolia:{displayName:"Sepolia",explorerUrl:"https://sepolia.etherscan.io/",explorerName:"Etherscan",icon:"Ethereum",symbol:"ETH",sdkName:"Sepolia"},ArbitrumSepolia:{displayName:"Arbitrum Sepolia",explorerUrl:"https://sepolia.arbiscan.io/",explorerName:"Etherscan",icon:"Arbitrum",symbol:"ARB",sdkName:"ArbitrumSepolia"},BaseSepolia:{displayName:"Base Sepolia",explorerUrl:"https://base-sepolia.blockscout.com/",explorerName:"Etherscan",icon:"Base",symbol:"BASE",sdkName:"BaseSepolia"},OptimismSepolia:{displayName:"Optimism Sepolia",explorerUrl:"https://sepolia-optimistic.etherscan.io/",explorerName:"Etherscan",icon:"Optimism",symbol:"OP",sdkName:"OptimismSepolia"},Scroll:{displayName:"Scroll",explorerUrl:"https://sepolia.scrollscan.dev/",explorerName:"Scrollscan",icon:"Scroll",symbol:"SCR",sdkName:"Scroll"},Blast:{displayName:"Blast",explorerUrl:"https://testnet.blastscan.io/",explorerName:"Blastscan",icon:"Blast",symbol:"BLAST",sdkName:"Blast"},Xlayer:{displayName:"X Layer",explorerUrl:"https://www.okx.com/web3/explorer/xlayer-test/",explorerName:"OKX Explorer",icon:"Xlayer",symbol:"OKX",sdkName:"Xlayer"},Mantle:{displayName:"Mantle",explorerUrl:"https://explorer.testnet.mantle.xyz/",explorerName:"Mantle Explorer",icon:"Mantle",symbol:"MNT",sdkName:"Mantle"},Worldchain:{displayName:"World Chain",explorerUrl:"https://worldchain-sepolia.explorer.alchemy.com/",explorerName:"World Scan",icon:"Worldchain",sdkName:"Worldchain",symbol:"WORLD"},Unichain:{displayName:"Unichain",explorerUrl:"https://unichain-sepolia.blockscout.com/",explorerName:"Unichain Explorer",icon:"Unichain",symbol:"UNI",sdkName:"Unichain"},Mezo:{displayName:"Mezo",explorerUrl:"https://explorer.test.mezo.org/",explorerName:"Mezo Explorer",icon:"Mezo",sdkName:"Mezo",symbol:"MEZO"},Linea:{displayName:"Linea",sdkName:"Linea",explorerUrl:"https://sepolia.lineascan.build/",explorerName:"Lineascan",icon:"Linea",symbol:"LINEA"},Sonic:{displayName:"Sonic",sdkName:"Sonic",explorerUrl:"https://testnet.sonicscan.org/",explorerName:"Sonicscan",icon:"Sonic",symbol:"S"}},P$={},{REACT_APP_SEPOLIA_RPC:W$,REACT_APP_BSC_TESTNET_RPC:H$,REACT_APP_FUJI_RPC:Y$,REACT_APP_FANTOM_TESTNET_RPC:Z$,REACT_APP_ALFAJORES_RPC:G$,REACT_APP_SOLANA_DEVNET_RPC:Q$,REACT_APP_MOONBASE_RPC:q$,REACT_APP_SUI_TESTNET_RPC:V$,REACT_APP_APTOS_TESTNET_RPC:$$,REACT_APP_BASE_SEPOLIA_RPC:K$,REACT_APP_KLAYTN_TESTNET_RPC:X$,REACT_APP_ARBITRUM_SEPOLIA_RPC:J$,REACT_APP_OPTIMISM_SEPOLIA_RPC:eK,REACT_APP_SCROLL_TESTNET_RPC:tK,REACT_APP_BLAST_TESTNET_RPC:rK,REACT_APP_XLAYER_TESTNET_RPC:nK,REACT_APP_MANTLE_TESTNET_RPC:iK,REACT_APP_WORLDCHAIN_TESTNET_RPC:aK,REACT_APP_UNICHAIN_TESTNET_RPC:sK,REACT_APP_MEZO_TESTNET_RPC:oK}=P$,cK={...rr("Sepolia",W$),...rr("Bsc",H$),...rr("Avalanche",Y$),...rr("Fantom",Z$),...rr("Celo",G$),...rr("Solana",Q$),...rr("Moonbeam",q$),...rr("Sui",V$),...rr("Aptos",$$),...rr("BaseSepolia",K$),...rr("ArbitrumSepolia",J$),...rr("OptimismSepolia",eK),...rr("Klaytn",X$),...rr("Scroll",tK),...rr("Blast",rK),...rr("Xlayer",nK),...rr("Mantle",iK),...rr("Worldchain",aK),...rr("Unichain",sK),...rr("Mezo",oK)},lK=[{symbol:"BNB",icon:je.BNB,decimals:18,tokenId:{chain:"Bsc",address:"native"}},{symbol:"WBNB",icon:je.BNB,decimals:18,tokenId:{chain:"Bsc",address:"0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd"}},{symbol:"AVAX",icon:je.AVAX,decimals:18,tokenId:{chain:"Avalanche",address:"native"}},{symbol:"WAVAX",icon:je.AVAX,decimals:18,tokenId:{chain:"Avalanche",address:"0xd00ae08403B9bbb9124bB305C09058E32C39A48c"}},{symbol:"USDC",icon:je.USDC,decimals:6,tokenId:{chain:"Avalanche",address:"0x5425890298aed601595a70AB815c96711a31Bc65"}},{symbol:"FTM",icon:je.FANTOM,decimals:18,tokenId:{chain:"Fantom",address:"native"}},{symbol:"WFTM",icon:je.FANTOM,decimals:18,tokenId:{chain:"Fantom",address:"0xf1277d1Ed8AD466beddF92ef448A132661956621"}},{symbol:"CELO",icon:je.CELO,decimals:18,tokenId:{chain:"Celo",address:"0xF194afDf50B03e69Bd7D057c1Aa9e10c9954E4C9"}},{symbol:"USDC.e",icon:je.USDC,decimals:6,tokenId:{chain:"Celo",address:"0x72CAaa7e9889E0a63e016748179b43911A3ec9e5"}},{symbol:"GLMR",icon:je.GLMR,decimals:18,tokenId:{chain:"Moonbeam",address:"native"}},{symbol:"WGLMR",icon:je.GLMR,decimals:18,tokenId:{chain:"Moonbeam",address:"0xD909178CC99d318e4D46e7E66a972955859670E1"}},{symbol:"SOL",icon:je.SOLANA,decimals:9,tokenId:{chain:"Solana",address:"native"}},{symbol:"WSOL",tokenId:{chain:"Solana",address:"So11111111111111111111111111111111111111112"},icon:je.SOLANA,decimals:9},{symbol:"USDC",tokenId:{chain:"Solana",address:"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU"},icon:je.USDC,decimals:6},{symbol:"SUI",tokenId:{chain:"Sui",address:"native"},icon:je.SUI,decimals:9},{symbol:"USDC",decimals:6,tokenId:{chain:"Sui",address:"0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC"},icon:je.USDC},{symbol:"APT",tokenId:{chain:"Aptos",address:"native"},icon:je.APT,decimals:8},{symbol:"USDC",decimals:6,tokenId:{chain:"Aptos",address:"0x69091fbab5f7d635ee7ac5098cf0c1efbe31d68fec0f2cd565e8d168daf52832"},icon:je.USDC},{symbol:"KLAY",icon:je.KLAY,decimals:18,tokenId:{chain:"Klaytn",address:"native"}},{symbol:"WKLAY",name:"wKLAY",icon:je.KLAY,decimals:18,tokenId:{chain:"Klaytn",address:"0x0339d5Eb6D195Ba90B13ed1BCeAa97EbD198b106"}},{symbol:"ETH",icon:je.ETH,decimals:18,tokenId:{chain:"Sepolia",address:"native"}},{symbol:"WETH",icon:je.ETH,decimals:18,tokenId:{chain:"Sepolia",address:"0xeef12A83EE5b7161D3873317c8E0E7B76e0B5D9c"}},{symbol:"USDC",icon:je.USDC,decimals:6,tokenId:{chain:"Sepolia",address:"0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238"}},{symbol:"ETH",icon:je.ETH,decimals:18,tokenId:{chain:"ArbitrumSepolia",address:"native"}},{symbol:"WETH",icon:je.ETH,decimals:18,tokenId:{chain:"ArbitrumSepolia",address:"0x980B62Da83eFf3D4576C647993b0c1D7faf17c73"}},{symbol:"ETH",icon:je.ETH,decimals:18,tokenId:{chain:"BaseSepolia",address:"native"}},{symbol:"WETH",icon:je.ETH,decimals:18,tokenId:{chain:"BaseSepolia",address:"0x4200000000000000000000000000000000000006"}},{symbol:"ETH",icon:je.ETH,decimals:18,tokenId:{chain:"OptimismSepolia",address:"native"}},{symbol:"WETH",icon:je.ETH,decimals:18,tokenId:{chain:"OptimismSepolia",address:"0x4200000000000000000000000000000000000006"}},{symbol:"ETH",icon:je.SCROLL,decimals:18,tokenId:{chain:"Scroll",address:"native"}},{symbol:"WETH",icon:je.SCROLL,decimals:18,tokenId:{chain:"Scroll",address:"0x5300000000000000000000000000000000000004"}},{symbol:"ETH",icon:je.BLAST,decimals:18,tokenId:{chain:"Blast",address:"native"}},{symbol:"WETH",icon:je.BLAST,decimals:18,tokenId:{chain:"Blast",address:"0x9D020B1697035d9d54f115194c9e04a1e4Eb9aF7"}},{symbol:"OKB",icon:je.XLAYER,decimals:18,tokenId:{chain:"Xlayer",address:"native"}},{symbol:"WOKB",icon:je.XLAYER,decimals:18,tokenId:{chain:"Xlayer",address:"0xa2aFfd8301BfB3c5b815829f2F509f053556D21B"}},{symbol:"MNT",icon:je.MANTLE,decimals:18,tokenId:{chain:"Mantle",address:"native"}},{symbol:"WMNT",icon:je.MANTLE,decimals:18,tokenId:{chain:"Mantle",address:"0xa4c4cb2A072eE99f77212Fa18c2B7Ca26DA23905"}},{symbol:"ETH",tokenId:{chain:"Worldchain",address:"native"},decimals:18,icon:je.WORLDCHAIN},{symbol:"WETH",tokenId:{chain:"Worldchain",address:"0x4200000000000000000000000000000000000006"},decimals:18,icon:je.WORLDCHAIN},{symbol:"ETH",tokenId:{chain:"Unichain",address:"native"},decimals:18,icon:je.ETH},{symbol:"WETH",tokenId:{chain:"Unichain",address:"0x4200000000000000000000000000000000000006"},decimals:18,icon:je.ETH},{symbol:"USDC",tokenId:{chain:"Unichain",address:"0x31d0220469e10c4E71834a79b1f276d740d3768F"},decimals:6,icon:je.USDC},{symbol:"BTC",tokenId:{chain:"Mezo",address:"native"},decimals:18,icon:je.BTC}],uK={Bsc:{"0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd":{Avalanche:"0x10F1053bF2884b28ee0Bd7a2dDBa237Af3511d29",Fantom:"0xfB174b43228950C2055CFc25AE93f2DCe8E2beF0",Celo:"0xa8050be9389466c3c524F10F131f244ACbf21A0D",Moonbeam:"0x6097E80331B0c6aF4F74D7F2363E70Cb2Fd078A5",Solana:"BaGfF51MQ3a61papTRDYaNefBgTQ9ywnVne5fCff4bxT",Sui:"0xddcf8680a8a4b8a527d8c85ec203274991590c2ea898d1c4635b70164d9c584b::coin::COIN",Aptos:"0xa5894f5ddb8647e6143102aa336ff07374f7b32e88c1c703aef5b7c9a370bf80::coin::T",Klaytn:"0xEFa3626825C33C4cd83850920Ad7Ac0a392E1faE",Sepolia:"0x02CdD5eB55934663F0aD8fbA3516dC7DE4E22894"}},Avalanche:{"0xd00ae08403B9bbb9124bB305C09058E32C39A48c":{Bsc:"0x6cE9E2c8b59bbcf65dA375D3d8AB503c8524caf7",Fantom:"0x0f545Be981C37fB15ab7c65404648761e99016e4",Celo:"0x502c8C83008D9Dd812a7C5fB886C063060C73Dbf",Moonbeam:"0x2E8afeCC19842229358f3650cc3F091908dcbaB4",Solana:"3Ftc5hTz9sG4huk79onufGiebJNDMZNL8HYgdMJ9E7JR",Sui:"0xa600741c469fb57ed01497ddf101e798fa79a9c529bd176675c5c4d970811f80::coin::COIN",Aptos:"0xbe8f4301c0b54e870902b9a23eeb95ce74ac190531782aa3262337ceb145401a::coin::T",Blast:"0x74C6aA987658FcBaB9FdC2ee65f52Ddd5B2cEd95",Klaytn:"0x10257392a2B5e3C4D4bEe1607650a1C0C738202a",Scroll:"0x5Bd1ba0040C16b13894A6EbE3d55708c91eF08bb",Xlayer:"0xb13a464ceE7455A9b2941bFAe1bB1eB5A6833867"},"0x5425890298aed601595a70AB815c96711a31Bc65":{Bsc:"0x1cfeCf72bcBE1E429A21A5B11E708C7c397AaC54",Fantom:"0x6BC4E8D8c1d54656D1DeBCa96efc53aFd1408aD2",Celo:"0xDDB349c976cA2C873644F21f594767Eb5390C831",Moonbeam:"0x6533CE14804D113b1F494dC56c5D60A43cb5C3b5",Solana:"GQtMXZxnuacCFTXVeTvyHi6P9F6chbtzhVc8JgD8hv7c",Sui:"0x2aa8c885d04e676c4e87b7d0f94d4f3b243b1b5d93239d1cc41d5528ce1714c1::coin::COIN",Aptos:"0x2ef7697bdb33361ca39d228671203afc0dea3202e792d79d2072b761d87c834::coin::T"}},Fantom:{"0xf1277d1Ed8AD466beddF92ef448A132661956621":{Bsc:"0x9aB305B792DBdb8253bEE909E7006611Cb45175b",Avalanche:"0x094cB577C21Ab1360178beE74B9591fa12216dAD",Celo:"0xE6F8710cA14CFe7F5aAAD3A799C3d1D92dCba938",Moonbeam:"0x566c1cebc6A4AFa1C122E039C4BEBe77043148Ee",Solana:"DMw2tLaq1bVoAEKtkoUtieSk9bfCPUvubYLatTMsSVop",Sui:"0x14e756ff65e0ac810a5f69ca5276ef5b899a6df3c4717de1f85559d8b5ae6ea6::coin::COIN",Aptos:"0x533c6ade00d15d1e014c41e29e34853e87df92c4e01a6a3f41318dbd098048d6::coin::T",Klaytn:"0x097c8878A0d852581Dc4D8820151094Ddd3663Ac",Sepolia:"0x852132647d301B7EED02589B1dc73545E73c8596"}},Celo:{"0xF194afDf50B03e69Bd7D057c1Aa9e10c9954E4C9":{Bsc:"0x1471698cBD9cAB0228F2EEA9303A2b3aA0ABDC2B",Avalanche:"0xC66d9c2b33c347d4A4441975f4688fcD5DD4c441",Fantom:"0xB18E73a69c3Aaea39a610372537Cf8482622d199",Moonbeam:"0x3406a9b09adf0cb36DC04c1523C4b294C6b79513",Solana:"84F2QX9278ToDmA98u4A86xSV9hz1ovazr8zwGaX6qjS",Sui:"0x81868174a6b11e1acc337b3414f9912455435d486609fb8d50b34312865085f2::coin::COIN",Aptos:"0xecbb0f7e7d049499ca83ca1358344f56557886f6f7adc740d6734cce7bfc9a14::coin::T",Klaytn:"0xC951826bbB310a8160BB78c2eEe6C98246292ba7",Sepolia:"0x648f226f3bDcAEdc844622d604F76935DC05bC24"}},Moonbeam:{"0xD909178CC99d318e4D46e7E66a972955859670E1":{Bsc:"0x5C31B36599ED7f06b09c0ffC7A2F928cE496F046",Avalanche:"0xf080782DF38eD5228D2FC2882d13D56c8f1D6f21",Fantom:"0x41E3CFDFC255A4bF3C8D3560Bc8D3D9b5080338e",Celo:"0x132D2172D89cd9CfD480A8887c6bF92360fB460e",Solana:"8987WGkYa5viiZ9DD8sS3PB5XghKmWjkEgmzvwDuoAEc",Sui:"0xeffae382de96981f7ddd2d294429924827e8f325d612487a12d6a0b249171002::coin::COIN",Aptos:"0x338373b6694f71dbeac5ca4a30503bf5f083888d71678aed31255de416be37c0::coin::T",Sepolia:"0x3F7CD70ECd402BBe71f45A95156A2CAC0d6A822E"}},Solana:{So11111111111111111111111111111111111111112:{Bsc:"0x30f19eBba919954FDc020B8A20aEF13ab5e02Af0",Avalanche:"0xb10563644a6AB8948ee6d7f5b0a1fb15AaEa1E03",Fantom:"0xED1a08Fc69A7008d225890A96aaE258c465CC7ad",Celo:"0x05EEF2AE1A7A938D78598F7d9e8b97A9bED0c9eC",Sui:"0xbc03aaab4c11eb84df8bf39fdc714fa5d5b65b16eb7d155e22c74a68c8d4e17f::coin::COIN",Aptos:"0xdd89c0e695df0692205912fb69fc290418bed0dbe6e4573d744a6d5e6bab6c13::coin::T",Klaytn:"0x48D99C16638E6FFD2ED60375cD35ef6c139e5f41",Moonbeam:"0x5babD0d267Adf2081626654E51d1cABF8c477440",Sepolia:"0x824CB8fC742F8D3300d29f16cA8beE94471169f5"},"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU":{Bsc:"0x51a3cc54eA30Da607974C5D07B8502599801AC08"}},Sui:{native:{Bsc:"0x5A73D76e09Af2E428EC64aE10F91B78AC990B298",Avalanche:"0xfc5128F8556a6F059466E67740e6cC31EE5C2C47",Fantom:"0xd882AB49372eC093E8697B5153f54ab5e7738e3b",Celo:"0xa40d9E69ca9867C4bFbeC11Ce79C939991e9bf26",Solana:"BJZ72CjPQojVoH68mzrd4VQ4nr6KuhbAGnhZEZCujKxY",Aptos:"0x7b22d0e02f653d4fd1caddcfa4719a2b329da56eb81d8f27db703f02466c26a5::coin::T",Moonbeam:"0x2ed4B5B1071A3C676664E9085C0e3826542C1b27",Klaytn:"0xbA5F07a20681Add3A396E7606c6DC9B03d71d28A"}},Aptos:{native:{Bsc:"0x4A7Bd5E135f421057F97BbA8BCeeE5c18334f454",Avalanche:"0x996a3f12C1FcD7339Ea8801f629201e4d42EAD04",Fantom:"0xAb2297E8994149BA91737944E40891881aF762a4",Celo:"0xAC0a2fF7DD597de863878a3372142b07B614C125",Moonbeam:"0xCaa2A1d3BbbA0D1466571e83b4E2CbE04252593D",Solana:"7EvFD3JKCJVdtkAYdaSVKJsrPEJCzy2neJha7TREGrCa",Sui:"0x812d6feb8b84e55d47a0bfcae9fb6a4e7e09be5ec86ce0a729e0f67d5f59f477::coin::COIN"}},Klaytn:{"0x0339d5Eb6D195Ba90B13ed1BCeAa97EbD198b106":{Bsc:"0x79D34FDb686B5D139949E4F92D83EEe376489176",Aptos:"0xa8ffe1ffe3057756019345cdf9cf3d1f1a3d9a355147dd9440878c448a057579::coin::T",Celo:"0x8e50fC4b7F8B7018E72475f78C640F973218C8Cf",Avalanche:"0x84f3298Bcc019BD5B995756494095e1Eb72B565C",Solana:"6p7qTfX4tRFtQovxwT77Jn9HFQEV7nxLbux9C31Tgm23",Fantom:"0x72A1C24dA7F08d11a7668E228Ec287Fc6ec16E48",Sepolia:"0x142D0E977768cA4De6f2161D9E5B5C9F00435F9e",Moonbeam:"0x6eFf019D79D4136e57A7FC141967F3D0AD41089a",Sui:"0xd4a59fb612b162df75a9d190c0f72098dcae883e88bd0eb28667c31f8208dc3c::coin::COIN"}},Sepolia:{"0xeef12A83EE5b7161D3873317c8E0E7B76e0B5D9c":{Solana:"6F5YWWrUMNpee8C6BDUc6DmRvYRMDDTgJHwKhbXuifWs",Celo:"0x890ad4a7eD5bD08b7d6638515157dF3bF4BaD1Bc",Bsc:"0x667a61Efa611399970AE927637dD6f9A16f51e40",Moonbeam:"0xa7276055a1d45fB9982575411801e10ac9970Da8",ArbitrumSepolia:"0x97Ee87C7Db6049669a518730a2Ee60d1Fc58844E",Avalanche:"0x12bFE94230daaE3d48067577F45b7b031dD357f3",Fantom:"0x7F96D67186561Aa17cEb699494E94bEE3F3499D4"},"0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238":{Aptos:"0x3f2912a313c5bea312dbf19f9080101d2e762df6546a6fe9f60a4de72c93d015::coin::T",Solana:"23Adx8na44L3M1Nf9RrUpQPb41eufdRXKseg25FfcJtw",Celo:"0xD6A34325e5F6BE27b7006bf06651444196Da579a",Bsc:"0xb8850F591019F0794F813426d4A4A9b5fB8f23C8",BaseSepolia:"0x3F872340B6A75397aa9b0A463000349962a8795D",ArbitrumSepolia:"0x27B8F40Cf0915e729ae5A96970E91045Fe9724dF",Fantom:"0xa686203C86140142230f44A724281E1BEd09c369",Klaytn:"0x25f2a470a2e1E75DDAc40289AB277eDE4DD98aFa",Sui:"0x6529fef82a8a09470c550a3129bbd889030b62306f0c14161224b1a40ef1346f::coin::COIN"}},OptimismSepolia:{"0x4200000000000000000000000000000000000006":{ArbitrumSepolia:"0xa2610700cCA8361DECD27dB2564848C530f20813"}}},fK={chains:U$,tokens:lK,wrappedTokens:uK,rpcs:cK,guardianSet:{index:0,keys:["0x13947Bd48b18E53fdAeEe77F3473391aC727C638"]}},dK={Ethereum:{sdkName:"Ethereum",displayName:"EVM",explorerUrl:"",explorerName:"",icon:"Ethereum",symbol:"ETH"},Osmosis:{displayName:"Osmosis",sdkName:"Osmosis",explorerUrl:"",explorerName:"",icon:"Osmosis",symbol:"OSMO"},Wormchain:{sdkName:"Wormchain",displayName:"Wormchain",explorerUrl:"",explorerName:"",icon:"Osmosis",symbol:"OSMO"},Terra2:{sdkName:"Terra2",displayName:"Terra",explorerUrl:"",explorerName:"",icon:"Terra2",symbol:"OSMO"}},hK={},{REACT_APP_ETHEREUM_DEVNET_RPC:pK}=hK,mK={...rr("Ethereum",pK)},gK=[{symbol:"ETH",icon:je.ETH,decimals:18,tokenId:{chain:"Ethereum",address:"native"}},{symbol:"WETH",icon:je.ETH,decimals:18,tokenId:{chain:"Ethereum",address:"0xDDb64fE46a91D46ee29420539FC25FD07c5FEa3E"}},{symbol:"TKN",icon:je.ETH,decimals:18,tokenId:{chain:"Ethereum",address:"0x2D8BE6BF0baA74e0A907016679CaE9190e80dD0A"}}],yK={chains:dK,tokens:gK,wrappedTokens:{},rpcs:mK,guardianSet:{index:0,keys:["0x13947Bd48b18E53fdAeEe77F3473391aC727C638"]}},Az="https://wormholescan.io/#/",bK="3.0.0-beta.11-development",MK="5dff0d0c871a5fd5d5233fd434c9b297039e524f",IA=["Ethereum","Solana","Arbitrum","Base","Sui","Bsc","Optimism","Unichain","Fantom","Polygon","Avalanche","Celo","Moonbeam","Klaytn","Scroll","Evmos","Mantle","Berachain","Mezo"];function xK(e){var r;const t=typeof window>"u"||(r=window.location)==null?void 0:r.host;return function(n){const a={meta:{version:bK,hash:MK,host:t},...n};if(console.debug("Wormhole Connect event:",a),e)try{e(a)}catch(i){console.error("Error handling event:",i)}}}const X3=e=>[...Array(e).keys()],Ez=(e,t)=>e.map(r=>r[t]),Jl=e=>X3(e[0].length).map(t=>X3(e.length).map(r=>e[r][t])),vK=(e,t,r)=>{const n=new Set(Array.isArray(t)?t:[t]);return e.filter((a,i)=>n.has(i)!==r)};function Ume(e,t=!1){if(e.length===0)throw new Error("Can't calculate median of empty array");const r=t?e:[...e].sort((o,u)=>o>u?1:o<u?-1:0),n=Math.floor(r.length/2);if(r.length%2===1)return r[n];const a=r[n-1],i=r[n];if(typeof a=="bigint"&&typeof i=="bigint")return(a+i)/2n;if(typeof a=="number"&&typeof i=="number")return(a+i)/2;throw new Error("Can't calculate median of array with mixed number and bigint")}function wK(e){return["string","number","symbol","bigint","boolean"].includes(typeof e)}const NA=e=>e.length===2&&!Array.isArray(e[0])&&Array.isArray(e[1]),J3=e=>e.length===0?[]:Array.isArray(e[0])?e.map(([t,r])=>Array.isArray(r)?(NA(r)?J3(r):r).map(n=>[t,n].flat()):[[t,r]]).flat():NA(e)?J3(e[1]).map(t=>[e[0],t]):e,CK=(e,t)=>{const r=J3(e);if(r.length===0)throw new Error("Invalid mapping: empty");const n=t===void 0?[X3(r[0].length-1),[r[0].length-1]]:t.map(v=>typeof v=="number"?[v]:v);let a=[],i=!0;const o=(v,C)=>{const E=Array.from(new Set(v[0]).values()),T=new Map(E.map(D=>[D,[]]));for(const[D,S]of v[0].entries())T.get(S).push(D);if(v.length===1){const D=Object.fromEntries(E.map(S=>[S,T.get(S).map(N=>C[N].length===1?C[N][0]:C[N])]));if(i){for(const S of T.values())if(S.length>1)return i=!1,D;a.push(D)}return D}const I=Jl(v.slice(1));return Object.fromEntries(E.map(D=>{const S=T.get(D),N=Jl(S.map(F=>I[F])),j=S.map(F=>C[F]);return[D,o(N,j)]}))},u=Jl(r),d=v=>{const C=u[v];if(C===void 0)throw new Error(`Invalid shape: column ${v} does not exist`);return C},[p,m]=n.map(v=>v.map(C=>d(C)));if(p.length===0)throw new Error("Invalid shape: empty key set");if(m.length===0)throw new Error("Invalid shape: empty value set");for(const v of p)for(const C of v)if(!wK(C))throw new Error(`Invalid key: ${C} in ${v}`);const b=o(p,Jl(m));if(i)for(const v of a)for(const C of Object.keys(v))v[C]=v[C][0];return b};function $t(e,t){const r=n=>{const a=(...i)=>i.reduce((o,u)=>o?o[u.toString()]??void 0:void 0,n);return Object.assign(a,{has:(...i)=>a(...i)!==void 0,get:(...i)=>a(...i),subMap:i=>r(n[i.toString()])})};return r(CK(e,t))}function lx(e){let t=null;return()=>(t||(t=e()),t)}function AK(e){try{return e(),!1}catch{return!0}}function Pme(e,t,r){return e<t?t:e>r?r:e}var EK=["int","uint","bytes","array","switch"],Sz="big",R6=6,N0=e=>typeof e=="number"||typeof e=="bigint",Hf=e=>e instanceof Uint8Array,SK=e=>N0(e)||Hf(e),H1=e=>EK.includes(e==null?void 0:e.binary),DK=e=>H1(e)||Array.isArray(e)&&e.every(H1),TK=e=>typeof(e==null?void 0:e.from)=="number",IK=e=>typeof(e==null?void 0:e.from)=="bigint",NK=e=>TK(e)||IK(e),Yf=e=>Hf(e==null?void 0:e.from),LK=e=>NK(e)||Yf(e),Dz=(e,t)=>{if(e!==t)throw new Error(`size mismatch: layout size: ${e}, data size: ${t}`);return t},uf=e=>"layout"in e&&e.layout!==void 0,tb=(e,t)=>"size"in e&&e.size!==void 0?Dz(e.size,t):t,rb=(e,t)=>{if(e!=t)throw new Error(`value mismatch: (constant) layout value: ${e}, data value: ${t}`)},nb=(e,t,r)=>{const n=(p,m)=>m===void 0?[0,p.length]:Array.isArray(m)?m:[m,p.length],[a,i]=n(e,r==null?void 0:r.customSlice),[o,u]=n(t,r==null?void 0:r.dataSlice),d=i-a;Dz(d,u-o);for(let p=0;p<e.length;++p)if(e[p+a]!==t[p+o])throw new Error(`binary data mismatch: layout value: ${e}, offset: ${a}, data value: ${t}, offset: ${o}`)};function Tz(e,t){const r=t[e.idTag??"id"];return e.layouts.find(([n])=>(Array.isArray(n)?n[1]:n)==r)}function Iz(e){return Wl(e,is)}var is=Symbol("staticCalc");function jK(e,t){const r=[],n=Wl(e,t,r);if(n===null)throw new Error(`coding error: couldn't calculate layout size for layout ${e} with data ${t}`);return[n,r]}function LA(e,t,r){const n=a=>(r!==void 0&&r.push(a),a);switch(e.binary){case"int":case"uint":return e.size;case"bytes":{if("size"in e&&t===is)return e.size;const a="lengthSize"in e?e.lengthSize|0:0;if(uf(e)){const{custom:o}=e,u=Wl(e.layout,o===void 0?t:typeof o.from=="function"?t!==is?n(o.from(t)):is:o.from,r);return u===null?"size"in e?e.size??null:null:a+tb(e,u)}const{custom:i}=e;return Hf(i)?a+i.length:Yf(i)?a+i.from.length:t===is?null:a+tb(e,i!==void 0?n(i.from(t)).length:t.length)}case"array":{const a="length"in e?e.length:void 0;if(t===is){if(a!==void 0){const o=Wl(e.layout,is,r);return o!==null?a*o:null}return null}let i=0;if(a!==void 0&&a!==t.length)throw new Error(`array length mismatch: layout length: ${a}, data length: ${t.length}`);"lengthSize"in e&&e.lengthSize!==void 0&&(i+=e.lengthSize);for(let o=0;o<t.length;++o){const u=Wl(e.layout,t[o],r);if(u===null)return null;i+=u}return i}case"switch":{if(t!==is){const[i,o]=Tz(e,t),u=Wl(o,t,r);return u!==null?e.idSize+u:null}let a=null;for(const[i,o]of e.layouts){const u=Wl(o,is,r);if(a===null)a=u;else if(u!==a)return null}return e.idSize+a}}}function Wl(e,t,r){if(H1(e))return LA(e,t,r);let n=0;for(const a of e){let i;if(t===is)i=is;else if(!("omit"in a)||!a.omit){if(!(a.name in t))throw new Error(`missing data for layout item: ${a.name}`);i=t[a.name]}const o=LA(a,i,r);if(o===null){if(t!==is)throw new Error(`coding error: couldn't calculate size for layout item: ${a.name}`);return null}n+=o}return n}var jm=(e,t)=>{e.bytes.set(t,e.offset),e.offset+=t.length},jA=e=>e.bytesConversions[e.position++];function mc(e,t,r){const[n,a]=jK(e,t),i={bytes:new Uint8Array(n),offset:0};if(W4(e,t,i,{bytesConversions:a,position:0}),i.offset!==i.bytes.length)throw new Error(`encoded data is shorter than expected: ${i.bytes.length} > ${i.offset}`);return i.bytes}var BK=2**(R6*8);function e0(e,t,r,n=Sz,a=!1){if(!a&&e<0)throw new Error(`Value ${e} is negative but unsigned`);if(typeof e=="number"){if(!Number.isInteger(e))throw new Error(`Value ${e} is not an integer`);if(t>R6){if(e>=BK)throw new Error(`Value ${e} is too large to be safely converted into an integer`);if(a&&e<-281474976710656)throw new Error(`Value ${e} is too small to be safely converted into an integer`)}}const i=2n**BigInt(t*8-(a?1:0));if(e>=i)throw new Error(`Value ${e} is too large for ${t} bytes`);if(a&&e<-i)throw new Error(`Value ${e} is too small for ${t} bytes`);for(let o=0;o<t;++o)r.bytes[r.offset+o]=Number(BigInt(e)>>BigInt(8*(n==="big"?t-o-1:o))&0xffn);r.offset+=t}function W4(e,t,r,n){if(H1(e))BA(e,t,r,n);else for(const a of e)try{BA(a,t[a.name],r,n)}catch(i){throw i.message=`when serializing item '${a.name}': ${i.message}`,i}}function BA(e,t,r,n){switch(e.binary){case"int":case"uint":{const a=(()=>{var i;return N0(e.custom)?("omit"in e&&e.omit||rb(e.custom,t),e.custom):N0((i=e==null?void 0:e.custom)==null?void 0:i.from)?e.custom.from:e.custom!==void 0?e.custom.from(t):t})();e0(a,e.size,r,e.endianness,e.binary==="int");break}case"bytes":{const a=r.offset;if("lengthSize"in e&&e.lengthSize!==void 0&&(r.offset+=e.lengthSize),uf(e)){const{custom:i}=e;let o;i===void 0?o=t:typeof i.from!="function"?o=i.from:o=jA(n),W4(e.layout,o,r,n)}else{const{custom:i}=e;Hf(i)?("omit"in e&&e.omit||nb(i,t),jm(r,i)):Yf(i)?jm(r,i.from):jm(r,i!==void 0?jA(n):t)}if("lengthSize"in e&&e.lengthSize!==void 0){const i=r.offset-a-e.lengthSize,o=r.offset;r.offset=a,e0(i,e.lengthSize,r,e.lengthEndianness),r.offset=o}else tb(e,r.offset-a);break}case"array":{if("length"in e&&e.length!==t.length)throw new Error(`array length mismatch: layout length: ${e.length}, data length: ${t.length}`);"lengthSize"in e&&e.lengthSize!==void 0&&e0(t.length,e.lengthSize,r,e.lengthEndianness);for(let a=0;a<t.length;++a)W4(e.layout,t[a],r,n);break}case"switch":{const[a,i]=Tz(e,t),o=Array.isArray(a)?a[0]:a;e0(o,e.idSize,r,e.idEndianness),W4(i,t,r,n);break}}}function Nz(e){const t=e.custom;if(!("cachedSerializedFrom"in t)&&(t.cachedSerializedFrom=mc(e.layout,t.from),"size"in e&&e.size!==void 0&&e.size!==t.cachedSerializedFrom.length))throw new Error("Layout specification error: custom.from does not serialize to specified size");return t.cachedSerializedFrom}function gc(e,t,r){const n=r??!0,a={bytes:t,offset:0,end:t.length},i=Wd(e,a);if(n&&a.offset!==a.end)throw new Error(`encoded data is longer than expected: ${a.end} > ${a.offset}`);return n?i:[i,a.offset]}function H4(e,t){const r=e.offset+t;if(r>e.end)throw new Error(`chunk is shorter than expected: ${e.end} < ${r}`);e.offset=r}function Wd(e,t){if(!Array.isArray(e))return kA(e,t);let r={};for(const n of e)try{(n.omit?{}:r)[n.name]=kA(n,t)}catch(a){throw a.message=`when deserializing item '${n.name}': ${a.message}`,a}return r}function _2(e,t,r=Sz,n=!1){let a=0n;for(let i=0;i<t;++i)a|=BigInt(e.bytes[e.offset+i])<<BigInt(8*(r==="big"?t-i-1:i));return n&&e.bytes[e.offset+(r==="big"?0:t-1)]&128&&(a-=1n<<BigInt(8*t)),H4(e,t),t>R6?a:Number(a)}function kA(e,t){switch(e.binary){case"int":case"uint":{const r=_2(t,e.size,e.endianness,e.binary==="int"),{custom:n}=e;return N0(n)?(rb(n,r),n):N0(n==null?void 0:n.from)?(rb(n.from,r),n.to):n!==void 0?n.to(r):r}case"bytes":{const r="lengthSize"in e&&e.lengthSize!==void 0?_2(t,e.lengthSize,e.lengthEndianness):e==null?void 0:e.size;if(uf(e)){const{custom:u}=e,d=t.offset;let p;if(r===void 0)p=Wd(e.layout,t);else{const m={...t,end:t.offset+r};if(H4(t,r),p=Wd(e.layout,m),m.offset!==m.end)throw new Error(`read less data than expected: ${m.offset-t.offset} < ${r}`)}return u!==void 0?typeof u.from!="function"?(nb(Nz(e),t.bytes,{dataSlice:[d,t.offset]}),u.to):u.to(p):p}const{custom:n}=e;{let u,d;if(Hf(n)?u=n:Yf(n)&&(u=n.from,d=n.to),u!==void 0){const p=r??u.length,m=t.bytes.subarray(t.offset,t.offset+p);return nb(u,m),H4(t,p),d??u}}const a=t.offset,i=r!==void 0?t.offset+r:t.end;H4(t,i-a);const o=t.bytes.subarray(a,i);return n!==void 0?n.to(o):o}case"array":{let r=[];const{layout:n}=e,a=()=>{const o=Wd(n,t);r.push(o)};let i=null;if("length"in e&&e.length!==void 0?i=e.length:"lengthSize"in e&&e.lengthSize!==void 0&&(i=_2(t,e.lengthSize,e.lengthEndianness)),i!==null)for(let o=0;o<i;++o)a();else for(;t.offset<t.end;)a();return r}case"switch":{const r=_2(t,e.idSize,e.idEndianness),{layouts:n}=e;if(n.length===0)throw new Error("switch item has no layouts");const a=typeof n[0][0]=="number",i=n.find(([p])=>a?p===r:p[0]===r);if(i===void 0)throw new Error(`unknown id value: ${r}`);const[o,u]=i,d=Wd(u,t);return{[e.idTag??"id"]:a?r:o[1],...d}}}}function Wme(e,t){return Y4(e,t)}function zA(e,t){switch(e.binary){case"bytes":if(uf(e)){const{custom:r}=e;return r===void 0||typeof r.from!="function"?Y4(e.layout,r?r.from:t):t}case"int":case"uint":{const{custom:r}=e;return e!=null&&e.omit?void 0:SK(r)?r:LK(r)?r.to:t}case"array":return Array.isArray(t)?t.map(r=>Y4(e.layout,r)):void 0;case"switch":{const r=t[e.idTag??"id"],[n,a]=e.layouts.find(([i])=>(Array.isArray(i)?i[1]:i)==r);return{[e.idTag??"id"]:r,...Y4(a,t)}}}}function Y4(e,t){if(t=t??{},H1(e))return zA(e,t);const r={};for(const n of e){const a=zA(n,t[n.name]??{});a!==void 0&&(r[n.name]=a)}return r}function kK(e,t){const[r,n]=_K(e);if(!r)throw new Error("Cannot uniquely distinguished the given layouts");return a=>{const i=n(a);return i.length===0?null:i[0]}}function ib(e){return e.reduce((t,r)=>t|BigInt(1)<<BigInt(r),BigInt(0))}function F2(e){const t=[];for(let r=0n;e>0n;e>>=1n,++r)e&1n&&t.push(Number(r));return t}function ei(e){let t=0;for(;e>0n;e>>=1n)t+=Number(e&1n);return t}var _A=e=>e>0?2**(8*e)-1:1/0;function FA(e,t,r){var n;switch(e.binary){case"int":case"uint":{const a=N0(e.custom)?e.custom:N0((n=e==null?void 0:e.custom)==null?void 0:n.from)?e.custom.from:null;if(a!==null&&t!==null){const i={bytes:new Uint8Array(e.size),offset:0};e0(a,e.size,i,e.endianness,e.binary==="int"),r.push([t,i.bytes])}return[e.size,e.size]}case"bytes":{const a="lengthSize"in e?e.lengthSize|0:0;let i,o;if(uf(e)){const{custom:d}=e;if(d!==void 0&&typeof d.from!="function")i=Nz(e),o=i.length;else{const p=Iz(e.layout);p!==null&&(o=p)}}else{const{custom:d}=e;Hf(d)?(i=d,o=d.length):Yf(d)&&(i=d.from,o=d.from.length)}if(a>0&&t!==null){if(o!==void 0){const d={bytes:new Uint8Array(a),offset:0},p=e.lengthEndianness;e0(o,a,d,p,!1),r.push([t,d.bytes])}t+=a}if(i!==void 0)return t!==null&&r.push([t,i]),[a+i.length,a+i.length];const u="size"in e&&e.size!==void 0?[e.size,e.size]:void 0;if(uf(e)){const d=Z4(e.layout,t,r);return u??[a+d[0],a+d[1]]}return u??[a,_A(a)]}case"array":{if("length"in e){let i=[];const o=Z4(e.layout,0,i);if(t!==null)if(o[0]!==o[1]){if(e.length>0)for(const[u,d]of i)r.push([t+u,d])}else for(let u=0;u<e.length;++u)for(const[d,p]of i)r.push([t+d+u*o[0],p]);return[e.length*o[0],e.length*o[1]]}const a=e.lengthSize|0;return[a,_A(a)]}case"switch":{const a=e.layouts.map(d=>[]),{idSize:i,idEndianness:o}=e,u=e.layouts.map(([d,p],m)=>{const b=Array.isArray(d)?d[0]:d;if(t!==null){const C={bytes:new Uint8Array(i),offset:0};e0(b,i,C,o),a[m].push([0,C.bytes])}const v=Z4(p,t!==null?i:null,a[m]);return[v[0]+i,v[1]+i]});return t!==null&&a.every(d=>d.length>0)&&(()=>{const d=Math.min(...a.map(m=>m.at(-1)[0]+m.at(-1)[1].length)),p=a.map(m=>0);for(let m=0;m<d;){let b=null,v=0;for(;v<a.length;){let C=p[v];const E=a[v],[T,I]=E[C];if(T+I.length<=m){if(++C,C===E.length)return;p[v]=C,m=E[C][0];break}const D=I[m-T];if(b===null&&(b=D),D!==b){++m;break}++v}v===a.length&&(r.push([t+m,new Uint8Array([b])]),++m)}})(),[Math.min(...u.map(([d])=>d)),Math.max(...u.map(([d,p])=>p))]}}}function Z4(e,t,r){if(!Array.isArray(e))return FA(e,t,r);let n=[0,0];for(const a of e){const i=FA(a,t,r);n[0]+=i[0],n[1]+=i[1],t!==null&&(t=i[0]===i[1]?t+i[0]:null)}return n}function zK(e){const t=new Map;let r=[];const n=a=>{for(;r.length>0&&r[0][0]<a;){const i=r[0][0]+1,o=r.findIndex(([u])=>i<=u);o===-1?r=[]:r.splice(0,o),t.set(i,ib(r.map(([,u])=>u)))}};for(const[[a,i],o]of e){n(a);const u=r.findIndex(([d])=>d>i);u===-1?r.push([i,o]):r.splice(u,0,[i,o]),t.set(a,ib(r.map(([,d])=>d)))}return n(1/0),t}function _K(e){if(e.length===0)throw new Error("Cannot discriminate empty set of layouts");const t=0n,r=(1n<<BigInt(e.length))-1n,n=e.map(()=>[]),a=e.map((N,j)=>Z4(N,0,n[j])),i=a.map((N,j)=>[N,j]).sort(([[N]],[[j]])=>N-j),o=(()=>{let N=r;const j=new Map;for(const[[F],O]of i)N^=1n<<BigInt(O),j.set(F,N);return j})(),u=zK(i),d=e.length-Math.max(...[...u.values()].map(N=>ei(N))),p=N=>{let j=r;for(const[F,O]of o){if(N<F)break;j=O}return j},m=N=>{let j=t;for(const[F,O]of u){if(N<F)break;j=O}return j},b=Array.from({length:Math.max(...n.map(N=>N.length>0?N.at(-1)[0]+N.at(-1)[1].length:0))}).map(()=>[]);for(let N=0;N<n.length;++N)for(const[j,F]of n[N])for(let O=0;O<F.length;++O)b[j+O].push([F[O],N]);let v=[];for(const[N,j]of b.entries()){const F=p(N),O=F^ib(j.map(([,k])=>k)),W=r^F,_=new Map;for(const[k,w]of j)_.has(k)||_.set(k,t),_.set(k,_.get(k)|1n<<BigInt(w));let z=e.length-Math.max(ei(O),ei(W));for(const k of _.values()){const w=j.length-ei(k)+ei(W);z=Math.min(z,w)}if(z!==0){if(z===e.length-1)return[!0,k=>F2(k.length<=N?W:_.get(k[N])??t)];v.push([z,N,W,_,O])}}if(d===e.length-1)return[!0,N=>F2(m(N.length))];v.sort(([N],[j])=>j-N);let C=!0;const E=new Map,T=new Map,I=(N,j)=>{E.set(N,j),T.has(ei(N))||T.set(ei(N),[]),T.get(ei(N)).push(N)},D=(N,j)=>{if(ei(N)<=1||E.has(N))return;let F=0;const O=new Map;for(const _ of F2(N)){const z=a[_][0],k=u.get(z)&N;O.set(z,k),F=Math.max(F,ei(k))}F=ei(N)-F;const W=[];for(const[_,z,k,w,s]of j){const l=new Map;let f=0;for(const[x,A]of w){const y=A&N;ei(y)>0&&(l.set(x,y),f+=ei(y))}const h=k&N;let g=l.size>0?_:0;for(const x of l.values()){const A=f-ei(x)+ei(h);g=Math.min(g,A)}if(g!==0){if(g===ei(N)-1){I(N,[z,h,l]);return}W.push([g,z,h,l,s&N])}}if(F===ei(N)-1){I(N,"size");return}if(W.sort(([_],[z])=>z-_),W.length>0&&W[0][0]>=F){const[,_,z,k,w]=W[0];I(N,[_,z,k]),D(z,W);for(const s of k.values())D(s|w,W.slice(1));return}if(F>0){I(N,"size");for(const _ of O.values())D(_,W);return}I(N,"indistinguishable"),C=!1};D(r,v);const S=N=>{for(let j=ei(N)+1;j<e.length-2;++j)for(const F of T.get(j)??[])if((N&F)==N)return E.get(F);throw new Error("Implementation error in layout discrimination algorithm")};return[C,N=>{let j=r,F=E.get(j);for(;F!=="indistinguishable";){if(F==="size")j&=m(N.length);else{const[O,W,_]=F;if(N.length<=O)j&=W;else{const z=N[O];for(const[k,w]of _)k!==z&&(j^=j&w);j^=j&W}}if(ei(j)<=1)break;F=E.get(j)??S(j)}return F2(j)}]}var ux=(e,t)=>({...e,binary:"bytes",...t===void 0?{}:DK(t)?{layout:t}:t instanceof Uint8Array||Yf(t)||!Array.isArray(t)?{custom:t}:{layout:t[0],custom:t[1]}});function FK(e,t){const r=Object.fromEntries(e.map(([a,i])=>[i,a])),n=Object.fromEntries(e);return{binary:"uint",size:(t==null?void 0:t.size)??1,endianness:(t==null?void 0:t.endianness)??"big",custom:{to:a=>{const i=r[a];if(i===void 0)throw new Error(`Invalid enum value: ${a}`);return i},from:a=>n[a]}}}function OK(e,t){return{binary:"uint",size:Math.ceil(e.length/8),custom:{to:r=>{const n={};for(let a=0;a<e.length;++a)e[a]&&(n[e[a]]=(BigInt(r)&1n<<BigInt(a))!==0n);return n},from:r=>{let n=0n;for(let a=0;a<e.length;++a)e[a]&&r[e[a]]&&(n|=1n<<BigInt(a));return e.length>R6?n:Number(n)}}}}function RK(e,t){return Number(Number(e).toFixed(t))}function y0(e,t){if(UK(e,t),e=e.toString(),e.includes("e"))throw new Error("Scientific notation is not supported yet by Amount");const r=e.split(".");if(r.length>2)throw"Too many decimals";let[n,a]=r.length===0?["0",""]:r.length===1?[r[0],""]:r;if(a=a.padEnd(t,"0"),a.length>t){if(BigInt(a.substring(t))!==0n)throw new Error("Amount: invalid input. Decimals too low.");a=a.substring(0,t)}return{amount:BigInt(n+a).toString(),decimals:t}}function Pa(e,t){if(e.decimals<=t)return e;const r=BigInt(e.decimals-t);return{amount:(Jt(e)/10n**r*10n**r).toString(),decimals:e.decimals}}function il(e,t){if(e.decimals===t)return e;if(e.amount==="0")return{amount:e.amount,decimals:t};const r=t-e.decimals;if(r>0)return{amount:e.amount+"0".repeat(r),decimals:t};if(BigInt(e.amount.substring(e.amount.length+r))===0n)return{amount:e.amount.substring(0,e.amount.length+r),decimals:t};throw new Error(`scaleAmount(${JSON.stringify(e)}, ${t}) would result in altered amount. Use truncateAmount first if you intended to truncate it.`)}function Kr(e,t){return{amount:e.toString(),decimals:t}}function Jt(e){return Lz(e),BigInt(e.amount)}function gn(e,t){Lz(e);let r=e.amount.substring(0,e.amount.length-e.decimals).padStart(1,"0"),n=e.amount.substring(e.amount.length-e.decimals).padStart(e.decimals,"0");if(t!==void 0){for(;n.length>t&&n[n.length-1]==="0";)n=n.substring(0,n.length-1);n=n.padEnd(t,"0")}else n=n.replace(/0+$/,"");return n.length>0?`${r}.${n}`:r}function Mo(e){return Number(gn(e))}function OA(e,t){return gn(Kr(e,t))}function UK(e,t){if(typeof e=="number"){if(!isFinite(e))throw new Error("Amount: invalid input. Amount must be finite");if(e<0)throw new Error("Amount: invalid input. Amount cannot be negative")}else if(!/^[0-9\.]*$/.test(e))throw new Error("Amount: invalid input. Must only contain digits.");if(!isFinite(t))throw new Error("Amount: invalid input. Decimals must be finite")}function Lz(e){if(!/^[0-9]*$/.test(e.amount))throw new Error("Amount: invalid input. Must only contain digits.");if(e.decimals<0)throw new Error("Amount: invalid input. Decimals must be >= 0");if(!isFinite(e.decimals))throw new Error("Amount: invalid input. Decimals must be a finite number.")}const ff=(e=0,t=0,r=0)=>new Date(Date.now()+(e*60*60+t*60+r)*1e3);/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function df(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function PK(e,...t){if(!df(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function jz(e,t){return Array.isArray(t)?t.length===0?!0:e?t.every(r=>typeof r=="string"):t.every(r=>Number.isSafeInteger(r)):!1}function Bz(e){if(typeof e!="function")throw new Error("function expected");return!0}function L0(e,t){if(typeof t!="string")throw new Error(`${e}: string expected`);return!0}function Zf(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function ep(e){if(!Array.isArray(e))throw new Error("array expected")}function tp(e,t){if(!jz(!0,t))throw new Error(`${e}: array of strings expected`)}function fx(e,t){if(!jz(!1,t))throw new Error(`${e}: array of numbers expected`)}function zh(...e){const t=i=>i,r=(i,o)=>u=>i(o(u)),n=e.map(i=>i.encode).reduceRight(r,t),a=e.map(i=>i.decode).reduce(r,t);return{encode:n,decode:a}}function U6(e){const t=typeof e=="string"?e.split(""):e,r=t.length;tp("alphabet",t);const n=new Map(t.map((a,i)=>[a,i]));return{encode:a=>(ep(a),a.map(i=>{if(!Number.isSafeInteger(i)||i<0||i>=r)throw new Error(`alphabet.encode: digit index outside alphabet "${i}". Allowed: ${e}`);return t[i]})),decode:a=>(ep(a),a.map(i=>{L0("alphabet.decode",i);const o=n.get(i);if(o===void 0)throw new Error(`Unknown letter: "${i}". Allowed: ${e}`);return o}))}}function P6(e=""){return L0("join",e),{encode:t=>(tp("join.decode",t),t.join(e)),decode:t=>(L0("join.decode",t),t.split(e))}}function WK(e,t="="){return Zf(e),L0("padding",t),{encode(r){for(tp("padding.encode",r);r.length*e%8;)r.push(t);return r},decode(r){tp("padding.decode",r);let n=r.length;if(n*e%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if((n-1)*e%8===0)throw new Error("padding: invalid, string has too much padding");return r.slice(0,n)}}}function RA(e,t,r){if(t<2)throw new Error(`convertRadix: invalid from=${t}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: invalid to=${r}, base cannot be less than 2`);if(ep(e),!e.length)return[];let n=0;const a=[],i=Array.from(e,u=>{if(Zf(u),u<0||u>=t)throw new Error(`invalid integer: ${u}`);return u}),o=i.length;for(;;){let u=0,d=!0;for(let p=n;p<o;p++){const m=i[p],b=t*u,v=b+m;if(!Number.isSafeInteger(v)||b/t!==u||v-m!==b)throw new Error("convertRadix: carry overflow");const C=v/r;u=v%r;const E=Math.floor(C);if(i[p]=E,!Number.isSafeInteger(E)||E*r+u!==v)throw new Error("convertRadix: carry overflow");if(d)E?d=!1:n=p;else continue}if(a.push(u),d)break}for(let u=0;u<e.length-1&&e[u]===0;u++)a.push(0);return a.reverse()}const kz=(e,t)=>t===0?e:kz(t,e%t),rp=(e,t)=>e+(t-kz(e,t)),G4=(()=>{let e=[];for(let t=0;t<40;t++)e.push(2**t);return e})();function ab(e,t,r,n){if(ep(e),t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(rp(t,r)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${rp(t,r)}`);let a=0,i=0;const o=G4[t],u=G4[r]-1,d=[];for(const p of e){if(Zf(p),p>=o)throw new Error(`convertRadix2: invalid data word=${p} from=${t}`);if(a=a<<t|p,i+t>32)throw new Error(`convertRadix2: carry overflow pos=${i} from=${t}`);for(i+=t;i>=r;i-=r)d.push((a>>i-r&u)>>>0);const m=G4[i];if(m===void 0)throw new Error("invalid carry");a&=m-1}if(a=a<<r-i&u,!n&&i>=t)throw new Error("Excess padding");if(!n&&a>0)throw new Error(`Non-zero padding: ${a}`);return n&&i>0&&d.push(a>>>0),d}function HK(e){Zf(e);const t=2**8;return{encode:r=>{if(!df(r))throw new Error("radix.encode input should be Uint8Array");return RA(Array.from(r),t,e)},decode:r=>(fx("radix.decode",r),Uint8Array.from(RA(r,e,t)))}}function dx(e,t=!1){if(Zf(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(rp(8,e)>32||rp(e,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!df(r))throw new Error("radix2.encode input should be Uint8Array");return ab(Array.from(r),8,e,!t)},decode:r=>(fx("radix2.decode",r),Uint8Array.from(ab(r,e,8,t)))}}function UA(e){return Bz(e),function(...t){try{return e.apply(null,t)}catch{}}}function YK(e,t){return Zf(e),Bz(t),{encode(r){if(!df(r))throw new Error("checksum.encode: input should be Uint8Array");const n=t(r).slice(0,e),a=new Uint8Array(r.length+e);return a.set(r),a.set(n,r.length),a},decode(r){if(!df(r))throw new Error("checksum.decode: input should be Uint8Array");const n=r.slice(0,-e),a=r.slice(-e),i=t(n).slice(0,e);for(let o=0;o<e;o++)if(i[o]!==a[o])throw new Error("Invalid checksum");return n}}}const PA=zh(dx(4),U6("0123456789ABCDEF"),P6("")),ZK=typeof Uint8Array.from([]).toBase64=="function"&&typeof Uint8Array.fromBase64=="function",WA=ZK?{encode(e){return PK(e),e.toBase64()},decode(e){return L0("base64",e),Uint8Array.fromBase64(e,{lastChunkHandling:"strict"})}}:zh(dx(6),U6("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),WK(6),P6("")),GK=e=>zh(HK(58),U6(e),P6("")),sb=GK("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),Hme=e=>zh(YK(4,t=>e(e(t))),sb),ob=zh(U6("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),P6("")),HA=[996825010,642813549,513874426,1027748829,705979059];function Md(e){const t=e>>25;let r=(e&33554431)<<5;for(let n=0;n<HA.length;n++)(t>>n&1)===1&&(r^=HA[n]);return r}function YA(e,t,r=1){const n=e.length;let a=1;for(let i=0;i<n;i++){const o=e.charCodeAt(i);if(o<33||o>126)throw new Error(`Invalid prefix (${e})`);a=Md(a)^o>>5}a=Md(a);for(let i=0;i<n;i++)a=Md(a)^e.charCodeAt(i)&31;for(let i of t)a=Md(a)^i;for(let i=0;i<6;i++)a=Md(a);return a^=r,ob.encode(ab([a%G4[30]],30,5,!1))}function QK(e){const t=e==="bech32"?1:734539939,r=dx(5),n=r.decode,a=r.encode,i=UA(n);function o(b,v,C=90){L0("bech32.encode prefix",b),df(v)&&(v=Array.from(v)),fx("bech32.encode",v);const E=b.length;if(E===0)throw new TypeError(`Invalid prefix length ${E}`);const T=E+7+v.length;if(C!==!1&&T>C)throw new TypeError(`Length ${T} exceeds limit ${C}`);const I=b.toLowerCase(),D=YA(I,v,t);return`${I}1${ob.encode(v)}${D}`}function u(b,v=90){L0("bech32.decode input",b);const C=b.length;if(C<8||v!==!1&&C>v)throw new TypeError(`invalid string length: ${C} (${b}). Expected (8..${v})`);const E=b.toLowerCase();if(b!==E&&b!==b.toUpperCase())throw new Error("String must be lowercase or uppercase");const T=E.lastIndexOf("1");if(T===0||T===-1)throw new Error('Letter "1" must be present between prefix and data only');const I=E.slice(0,T),D=E.slice(T+1);if(D.length<6)throw new Error("Data must be at least 6 characters long");const S=ob.decode(D).slice(0,-6),N=YA(I,S,t);if(!D.endsWith(N))throw new Error(`Invalid checksum in ${b}: expected "${N}"`);return{prefix:I,words:S}}const d=UA(u);function p(b){const{prefix:v,words:C}=u(b,!1);return{prefix:v,words:C,bytes:n(C)}}function m(b,v){return o(b,a(v))}return{encode:o,decode:u,encodeFromBytes:m,decodeToBytes:p,decodeUnsafe:d,fromWords:n,fromWordsUnsafe:i,toWords:a}}const Du=QK("bech32"),zz=(e,t)=>t.startsWith(e)?t.slice(e.length):t,qK=/^(?:0x)?[0-9a-fA-F]+$/,Xr={valid:e=>qK.test(e),decode:e=>PA.decode(zz("0x",e).toUpperCase()),encode:(e,t=!1)=>(e=typeof e=="string"?ai.encode(e):e,(t?"0x":"")+PA.encode(e).toLowerCase())},VK=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,W6={valid:e=>VK.test(e),decode:WA.decode,encode:e=>WA.encode(typeof e=="string"?ai.encode(e):e)},$K={decode:sb.decode,encode:e=>sb.encode(typeof e=="string"?ai.encode(e):e)},b0={decode:e=>(typeof e!="string"&&(e=Xr.encode(e,!0)),e===""||e==="0x"?0n:BigInt(e)),encode:(e,t=!1)=>b0.toString(e,t),toString:(e,t=!1)=>{let r=e.toString(16);return r=r.length%2===1?r="0"+r:r,t?"0x"+r:r},toBytes:(e,t)=>{typeof e=="number"&&(e=b0.toBigInt(e));const r=Xr.decode(b0.toString(e));if(!t)return r;if(t<r.length)throw new Error(`Can't fit ${e} into ${t} bytes.`);return ai.zpad(r,t)},toNumber:e=>{if(e>BigInt(Number.MAX_SAFE_INTEGER))throw new Error(`Invalid cast: ${e} exceeds MAX_SAFE_INTEGER`);return Number(e)},toBigInt:e=>{if(e>Number.MAX_SAFE_INTEGER)throw new Error(`Invalid cast: ${e} exceeds MAX_SAFE_INTEGER`);return BigInt(e)}},ai={encode:e=>new TextEncoder().encode(e),decode:e=>new TextDecoder().decode(e),equals:(e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),zpad:(e,t,r=!0)=>r?ai.concat(new Uint8Array(t-e.length),e):ai.concat(e,new Uint8Array(t-e.length)),concat:(...e)=>{const t=e.reduce((a,i)=>a+i.length,0),r=new Uint8Array(t);let n=0;return e.forEach(a=>{r.set(a,n),n+=a.length}),r}},hx=[[1,"Solana"],[2,"Ethereum"],[3,"Terra"],[4,"Bsc"],[5,"Polygon"],[6,"Avalanche"],[7,"Oasis"],[8,"Algorand"],[9,"Aurora"],[10,"Fantom"],[11,"Karura"],[12,"Acala"],[13,"Klaytn"],[14,"Celo"],[15,"Near"],[16,"Moonbeam"],[17,"Neon"],[18,"Terra2"],[19,"Injective"],[20,"Osmosis"],[21,"Sui"],[22,"Aptos"],[23,"Arbitrum"],[24,"Optimism"],[25,"Gnosis"],[26,"Pythnet"],[28,"Xpla"],[29,"Btc"],[30,"Base"],[32,"Sei"],[34,"Scroll"],[35,"Mantle"],[36,"Blast"],[37,"Xlayer"],[38,"Linea"],[39,"Berachain"],[40,"Seievm"],[43,"Snaxchain"],[44,"Unichain"],[45,"Worldchain"],[46,"Ink"],[47,"HyperEVM"],[48,"Monad"],[50,"Mezo"],[52,"Sonic"],[3104,"Wormchain"],[4e3,"Cosmoshub"],[4001,"Evmos"],[4002,"Kujira"],[4003,"Neutron"],[4004,"Celestia"],[4005,"Stargaze"],[4006,"Seda"],[4007,"Dymension"],[4008,"Provenance"],[4009,"Noble"],[10002,"Sepolia"],[10003,"ArbitrumSepolia"],[10004,"BaseSepolia"],[10005,"OptimismSepolia"],[10006,"Holesky"],[10007,"PolygonSepolia"]],[Yme,_z]=Jl(hx),H6=$t(hx,[1,0]),co=$t(hx),_h=e=>H6.has(e),cb=e=>co.has(e),Y6=e=>{switch(typeof e){case"string":if(_h(e))return H6(e);break;case"number":if(cb(e))return e;break}throw Error(`Cannot convert to ChainId: ${e}`)},Fh=e=>{switch(typeof e){case"string":if(_h(e))return e;break;case"number":if(cb(e))return co(e);break;case"bigint":if(cb(Number(e)))return co.get(Number(e));break}throw Error(`Cannot convert to Chain: ${e}`)},px=[["Evm",["Acala","Arbitrum","Aurora","Avalanche","Base","Bsc","Celo","Ethereum","Fantom","Gnosis","Karura","Klaytn","Moonbeam","Neon","Oasis","Optimism","Polygon","Sepolia","ArbitrumSepolia","BaseSepolia","OptimismSepolia","Holesky","PolygonSepolia","Mantle","Scroll","Blast","Xlayer","Linea","Berachain","Seievm","Snaxchain","Unichain","Worldchain","Ink","HyperEVM","Monad","Mezo","Sonic"]],["Solana",["Solana","Pythnet"]],["Cosmwasm",["Cosmoshub","Evmos","Injective","Kujira","Osmosis","Sei","Terra","Terra2","Wormchain","Xpla","Dymension","Neutron","Stargaze","Celestia","Seda","Provenance","Noble"]],["Btc",["Btc"]],["Algorand",["Algorand"]],["Sui",["Sui"]],["Aptos",["Aptos"]],["Near",["Near"]]];Ez(px,0);const Fz=$t(px),Yn=$t(px,[1,0]),KK=[["Evm","hex"],["Solana","base58"],["Cosmwasm","bech32"],["Btc","bech32"],["Algorand","algorandAppId"],["Sui","hex"],["Aptos","hex"],["Near","sha256"]],XK=$t(KK),Gf={byAddress:(e,t)=>Object.values(e).find(r=>JK(r.address,t)),native:e=>Gf.byAddress(e,"native"),bySymbol:(e,t)=>{const r=Object.values(e).filter(n=>n.symbol===t);return r&&r.length>0?r:void 0},byKey:(e,t)=>{const r=Object.entries(e).find(([n])=>t===n);return r?r[1]:void 0}},JK=(e,t)=>e.toLowerCase()===t.toLowerCase();var ZA;(function(e){e[e.Finalized=1]="Finalized",e[e.Immediate=200]="Immediate",e[e.Safe=201]="Safe"})(ZA||(ZA={}));const eX=[["Ethereum",32]];$t(eX);const tX=[["Solana",32],["Ethereum",72],["Bsc",15],["Optimism",512],["Base",512],["Arbitrum",4096],["Blast",512],["Xlayer",300],["Scroll",300],["Mantle",512],["Worldchain",512],["Polygon",32],["Fantom",1],["Celo",1],["Moonbeam",1],["Karura",1],["Acala",1],["Oasis",1],["Avalanche",0],["Sui",0],["Algorand",0],["Aptos",0],["Klaytn",0],["Sei",0],["Near",0],["Osmosis",0],["Terra",0],["Terra2",0],["Xpla",0],["Injective",0],["Berachain",1],["Seievm",1],["Snaxchain",512],["Unichain",1024],["Ink",512],["HyperEVM",1],["Monad",1],["Mezo",1],["Sonic",1],["Cosmoshub",0],["Evmos",0],["Kujira",0],["Neutron",0],["Celestia",0],["Stargaze",0],["Dymension",0],["Provenance",0],["Noble",0],["Sepolia",72],["ArbitrumSepolia",4096],["BaseSepolia",512],["OptimismSepolia",512],["PolygonSepolia",32]],Oz=$t(tX),rX=[["Acala",12e3],["Algorand",3300],["Aptos",4e3],["Arbitrum",260],["ArbitrumSepolia",260],["Aurora",3e3],["Avalanche",2e3],["Base",2e3],["BaseSepolia",2e3],["Blast",2e3],["Bsc",3e3],["Celo",5e3],["Cosmoshub",5e3],["Ethereum",15e3],["Evmos",2e3],["Fantom",2500],["Gnosis",5e3],["Holesky",15e3],["Injective",2500],["Karura",12e3],["Klaytn",1e3],["Kujira",3e3],["Mantle",2e3],["Moonbeam",12e3],["Monad",1e3],["Near",1500],["Neon",3e4],["Oasis",6e3],["Optimism",2e3],["OptimismSepolia",2e3],["Osmosis",6e3],["Polygon",2e3],["PolygonSepolia",2e3],["Scroll",3e3],["Sei",400],["Sepolia",15e3],["Solana",400],["Sui",3e3],["Terra",6e3],["Terra2",6e3],["Unichain",1e3],["Xpla",5e3],["Xlayer",3e3],["Worldchain",2e3],["Ink",1e3],["Wormchain",5e3],["Btc",6e5],["Pythnet",400],["Dymension",5e3],["Celestia",5e3],["Neutron",5e3],["Stargaze",5e3],["Seda",7500],["Berachain",2e3],["Mezo",4e3],["Sonic",330]],Rz=$t(rX);function Z6(e){const t=Oz.get(e);if(t===void 0)throw new Error("Cannot find finality for "+e);const r=Rz.get(e);if(r===void 0)throw new Error("Cannot find block time for "+e);return t*r}const nX=[["Evm",18],["Solana",9],["Sui",9],["Aptos",8],["Cosmwasm",6],["Algorand",6],["Btc",8],["Near",12]],iX=$t(nX),aX=[["Mainnet",[["Ethereum",{name:"Etherscan",baseUrl:"https://etherscan.io/",endpoints:{tx:"tx/",account:"address/"}}],["Solana",{name:"Solana Explorer",baseUrl:"https://explorer.solana.com/",endpoints:{tx:"tx/",account:"address/"}}],["Polygon",{name:"PolygonScan",baseUrl:"https://polygonscan.com/",endpoints:{tx:"tx/",account:"address/"}}],["Bsc",{name:"BscScan",baseUrl:"https://bscscan.com/",endpoints:{tx:"tx/",account:"address/"}}],["Avalanche",{name:"Snowtrace",baseUrl:"https://snowtrace.io/",endpoints:{tx:"tx/",account:"address/"}}],["Fantom",{name:"FTMscan",baseUrl:"https://ftmscan.com/",endpoints:{tx:"tx/",account:"address/"}}],["Celo",{name:"Celo Explorer",baseUrl:"https://explorer.celo.org/mainnet/",endpoints:{tx:"tx/",account:"address/"}}],["Moonbeam",{name:"Moonscan",baseUrl:"https://moonscan.io/",endpoints:{tx:"tx/",account:"address/"}}],["Sui",{name:"Sui Explorer",baseUrl:"https://explorer.sui.io/",endpoints:{tx:"txblock/",account:"address/"}}],["Aptos",{name:"Aptos Explorer",baseUrl:"https://explorer.aptoslabs.com/",endpoints:{tx:"txn/",account:"account/"}}],["Sei",{name:"Sei Explorer",baseUrl:"https://sei.explorers.guru/",endpoints:{tx:"transaction/",account:"address/"}}],["Karura",{name:"Karura Explorer",baseUrl:"https://blockscout.karura.network/",endpoints:{tx:"tx/",account:"address/"}}],["Acala",{name:"Acala Explorer",baseUrl:"https://blockscout.acala.network/",endpoints:{tx:"tx/",account:"address/"}}]]],["Testnet",[["Ethereum",{name:"Etherscan",baseUrl:"https://goerli.etherscan.io/",endpoints:{tx:"tx/",account:"address/"}}],["Polygon",{name:"PolygonScan",baseUrl:"https://mumbai.polygonscan.com/",endpoints:{tx:"tx/",account:"address/"}}],["Bsc",{name:"BscScan",baseUrl:"https://testnet.bscscan.com/",endpoints:{tx:"tx/",account:"address/"}}],["Avalanche",{name:"Snowtrace",baseUrl:"https://testnet.snowtrace.io/",endpoints:{tx:"tx/",account:"address/"}}],["Fantom",{name:"FTMscan",baseUrl:"https://testnet.ftmscan.com/",endpoints:{tx:"tx/",account:"address/"}}],["Celo",{name:"Celo Explorer",baseUrl:"https://explorer.celo.org/alfajores/",endpoints:{tx:"tx/",account:"address/"}}],["Moonbeam",{name:"Moonscan",baseUrl:"https://moonbase.moonscan.io/",endpoints:{tx:"tx/",account:"address/"}}],["Solana",{name:"Solana Explorer",baseUrl:"https://explorer.solana.com/",endpoints:{tx:"tx/",account:"address/"},networkQuery:{default:"Devnet",Testnet:"?cluster=testnet",Devnet:"?cluster=devnet"}}],["Sui",{name:"Sui Explorer",baseUrl:"https://explorer.sui.io/",endpoints:{tx:"txblock/",account:"address/"},networkQuery:{default:"Testnet",Testnet:"?network=testnet",Devnet:"?network=devnet"}}],["Aptos",{name:"Aptos Explorer",baseUrl:"https://explorer.aptoslabs.com/",endpoints:{tx:"txn/",account:"account/"},networkQuery:{default:"Testnet",Testnet:"?network=testnet",Devnet:"?network=devnet"}}],["Sei",{name:"Sei Explorer",baseUrl:"https://sei.explorers.guru/",endpoints:{tx:"transaction/",account:"address/"}}],["Karura",{name:"Karura Explorer",baseUrl:"https://blockscout.karura-testnet.aca-staging.network/",endpoints:{tx:"tx/",account:"address/"}}],["Acala",{name:"Acala Explorer",baseUrl:"https://blockscout.acala-dev.aca-dev.network/",endpoints:{tx:"tx/",account:"address/"}}]]]],sX=$t(aX),oX=(e,t)=>e==="Devnet"?void 0:sX.get(e,t),cX=[["Mainnet",[["Ethereum","https://ethereum-rpc.publicnode.com"],["Solana","https://api.mainnet-beta.solana.com"],["Polygon","https://polygon-bor-rpc.publicnode.com"],["Bsc","https://bsc-rpc.publicnode.com"],["Avalanche","https://avalanche-c-chain-rpc.publicnode.com"],["Fantom","https://rpcapi.fantom.network"],["Celo","https://celo-rpc.publicnode.com"],["Moonbeam","https://moonbeam-rpc.publicnode.com"],["Sui","https://rpc.mainnet.sui.io"],["Aptos","https://fullnode.mainnet.aptoslabs.com/v1"],["Arbitrum","https://arb1.arbitrum.io/rpc"],["Optimism","https://mainnet.optimism.io"],["Base","https://mainnet.base.org"],["Osmosis","https://osmosis-rpc.polkachu.com"],["Cosmoshub","https://cosmos-rpc.publicnode.com:443"],["Evmos","https://evmos-rpc.polkachu.com"],["Injective","https://sentry.tm.injective.network"],["Wormchain","https://wormchain-rpc.quickapi.com"],["Xpla","https://dimension-rpc.xpla.dev"],["Sei","https://sei-rpc.polkachu.com/"],["Algorand","https://mainnet-api.algonode.cloud"],["Terra","https://terra-classic-rpc.publicnode.com"],["Terra2","https://terra-rpc.polkachu.com"],["Karura","https://eth-rpc-karura.aca-api.network"],["Acala","https://eth-rpc-acala.aca-api.network"],["Oasis","https://emerald.oasis.dev"],["Dymension","https://dymension-rpc.polkachu.com/"],["Stargaze","https://stargaze-rpc.polkachu.com/"],["Celestia","https://celestia-rpc.polkachu.com/"],["Neutron","https://neutron-rpc.polkachu.com/"],["Blast","https://rpc.blast.io"],["Provenance","https://rpc.provenance.io/"],["Noble","https://noble-rpc.polkachu.com/"],["Linea","https://rpc.linea.build"],["Scroll","https://scroll-rpc.publicnode.com"],["Xlayer","https://xlayerrpc.okx.com/"],["Gnosis","https://gnosis-rpc.publicnode.com"],["Mantle","https://rpc.mantle.xyz"],["Klaytn","https://public-en.node.kaia.io"],["Snaxchain","https://mainnet.snaxchain.io"],["Berachain","https://rpc.berachain.com"],["Unichain","https://mainnet.unichain.org"],["Worldchain","https://worldchain-mainnet.g.alchemy.com/public"],["Ink","https://rpc-qnd.inkonchain.com"],["Sonic","https://rpc.soniclabs.com"]]],["Testnet",[["Bsc","https://data-seed-prebsc-1-s3.binance.org:8545"],["Avalanche","https://api.avax-test.network/ext/bc/C/rpc"],["Fantom","https://rpc.testnet.fantom.network"],["Celo","https://alfajores-forno.celo-testnet.org"],["Solana","https://api.devnet.solana.com"],["Oasis","https://testnet.emerald.oasis.io"],["Moonbeam","https://rpc.api.moonbase.moonbeam.network"],["Sui","https://fullnode.testnet.sui.io"],["Aptos","https://fullnode.testnet.aptoslabs.com/v1"],["Sei","https://sei-testnet-rpc.polkachu.com"],["Injective","https://testnet.sentry.tm.injective.network"],["Osmosis","https://rpc.testnet.osmosis.zone"],["Cosmoshub","https://rpc.sentry-02.theta-testnet.polypore.xyz"],["Evmos","https://evmos-testnet-rpc.polkachu.com"],["Wormchain","https://gateway.testnet.xlabs.xyz/"],["Xpla","https://cube-rpc.xpla.dev"],["Sepolia","https://ethereum-sepolia.publicnode.com"],["Algorand","https://testnet-api.algonode.cloud"],["Terra","https://bombay.stakesystems.io"],["Terra2","https://terra-testnet-rpc.polkachu.com"],["ArbitrumSepolia","https://sepolia-rollup.arbitrum.io/rpc"],["OptimismSepolia","https://sepolia.optimism.io"],["BaseSepolia","https://sepolia.base.org"],["PolygonSepolia","https://rpc-amoy.polygon.technology/"],["Mantle","https://rpc.testnet.mantle.xyz"],["Karura","https://eth-rpc-karura-testnet.aca-staging.network"],["Acala","https://eth-rpc-acala-testnet.aca-staging.network"],["Blast","https://sepolia.blast.io"],["Berachain","https://bepolia.rpc.berachain.com/"],["Seievm","https://evm-rpc-testnet.sei-apis.com/"],["Linea","https://rpc.sepolia.linea.build"],["Xlayer","https://testrpc.xlayer.tech/"],["Scroll","https://scroll-sepolia-rpc.publicnode.com"],["Gnosis","https://rpc.chiadochain.net"],["Klaytn","https://public-en-kairos.node.kaia.io"],["Snaxchain","https://testnet.snaxchain.io"],["Unichain","https://sepolia.unichain.org"],["Worldchain","https://worldchain-sepolia.g.alchemy.com/public"],["Ink","https://rpc-qnd-sepolia.inkonchain.com"],["HyperEVM","https://api.hyperliquid-testnet.xyz/evm"],["Monad","https://testnet-rpc.monad.xyz"],["Noble","https://noble-testnet-rpc.polkachu.com/"],["Mezo","https://rpc.test.mezo.org"],["Sonic","https://rpc.blaze.soniclabs.com"]]],["Devnet",[["Ethereum","http://eth-devnet:8545"],["Bsc","http://eth-devnet2:8545"],["Solana","http://solana-devnet:8899"]]]],lX=$t(cX),uX=(e,t)=>lX.get(e,t)??"",Uz=[["Mainnet",[["Aptos",1n],["Algorand","mainnet-v1.0"],["Near","mainnet"],["Cosmoshub","cosmoshub-4"],["Evmos","evmos_9001-2"],["Injective","injective-1"],["Osmosis","osmosis-1"],["Sei","pacific-1"],["Terra","columbus-5"],["Terra2","phoenix-1"],["Wormchain","wormchain"],["Xpla","dimension_37-1"],["Kujira","kaiyo-1"],["Solana","5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d"],["Sui","35834a8a"],["Acala",787n],["Arbitrum",42161n],["Aurora",1313161554n],["Avalanche",43114n],["Base",8453n],["Bsc",56n],["Celo",42220n],["Ethereum",1n],["Fantom",250n],["Gnosis",100n],["Karura",686n],["Klaytn",8217n],["Moonbeam",1284n],["Neon",245022934n],["Oasis",42262n],["Optimism",10n],["Polygon",137n],["Neutron","neutron-1"],["Stargaze","stargaze-1"],["Celestia","celestia"],["Dymension","dymension_1100-1"],["Provenance","pio-mainnet-1"],["Noble","noble-1"],["Xlayer",196n],["Mantle",5000n],["Scroll",534352n],["Blast",81457n],["Linea",59144n],["Snaxchain",2192n],["Berachain",80094n],["Unichain",130n],["Worldchain",480n],["Ink",57073n],["Sonic",146n]]],["Testnet",[["Aptos",2n],["Algorand","testnet-v1.0"],["Near","testnet"],["Cosmoshub","theta-testnet-001"],["Evmos","evmos_9000-4"],["Injective","injective-888"],["Osmosis","osmo-test-5"],["Sei","atlantic-2"],["Terra","bombay-12"],["Terra2","pisco-1"],["Wormchain","wormchain-testnet-0"],["Xpla","cube_47-5"],["Kujira","harpoon-4"],["Solana","EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG"],["Sui","4c78adac"],["Acala",597n],["Arbitrum",421613n],["Aurora",1313161555n],["Avalanche",43113n],["Base",84531n],["Bsc",97n],["Celo",44787n],["Ethereum",5n],["Fantom",4002n],["Gnosis",10200n],["Karura",596n],["Klaytn",1001n],["Moonbeam",1287n],["Neon",245022940n],["Oasis",42261n],["Optimism",420n],["Polygon",80001n],["Sepolia",11155111n],["ArbitrumSepolia",421614n],["BaseSepolia",84532n],["OptimismSepolia",11155420n],["PolygonSepolia",80002n],["Holesky",17000n],["Neutron","pion-1"],["Celestia","mocha-4"],["Seda","seda-1-testnet"],["Noble","grand-1"],["Blast",168587773n],["Mantle",5003n],["Scroll",534351n],["Berachain",80069n],["Seievm",1328n],["Snaxchain",13001n],["Unichain",1301n],["Worldchain",4801n],["Ink",763373n],["HyperEVM",998n],["Xlayer",195n],["Linea",59141n],["Monad",10143n],["Mezo",31611n],["Sonic",57054n]]],["Devnet",[["Aptos",0n],["Algorand","sandnet-v1.0"],["Bsc",1397n],["Ethereum",1337n],["Injective","injective_devnet_fake"],["Solana","8wF6jKV3cKwyaVkWcoV9KpDqmkjvEYno9hKZrKx8TbZn"]]]],Pz=$t(Uz),fX=$t(Uz,[2,[0,1]]);function Zme(e,t){const n=fX(t).filter(([a,i])=>Yn(i)===e);if(n.length!==1)throw new Error(`Platform ${e} has multiple chains with native chain id ${t}`);return n[0]}const dX=[["Mainnet","https://iris-api.circle.com/v1/attestations"],["Testnet","https://iris-api-sandbox.circle.com/v1/attestations"]],GA=$t(dX),hX=[["Mainnet",[["Ethereum","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],["Avalanche","0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"],["Optimism","0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"],["Arbitrum","0xaf88d065e77c8cC2239327C5EDb3A432268e5831"],["Solana","EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"],["Base","0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],["Polygon","0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"],["Sui","0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"],["Aptos","0xbae207659db88bea0cbead6da0ed00aac12edcdda169e591cd41c94180b46f3b"],["Unichain","0x078D782b760474a361dDA0AF3839290b0EF57AD6"]]],["Testnet",[["Sepolia","0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238"],["Avalanche","0x5425890298aed601595a70AB815c96711a31Bc65"],["OptimismSepolia","0x5fd84259d66Cd46123540766Be93DFE6D43130D7"],["ArbitrumSepolia","0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d"],["Solana","4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU"],["BaseSepolia","0x036CbD53842c5426634e7929541eC2318f3dCF7e"],["Polygon","0x9999f7Fea5938fD3b1E26A12c3f2fb024e194f97"],["Sui","0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC"],["Aptos","0x69091fbab5f7d635ee7ac5098cf0c1efbe31d68fec0f2cd565e8d168daf52832"],["Unichain","0x31d0220469e10c4E71834a79b1f276d740d3768F"]]]],na=$t(hX),mx=[["Mainnet",[["Ethereum",0],["Avalanche",1],["Optimism",2],["Arbitrum",3],["Solana",5],["Base",6],["Polygon",7],["Sui",8],["Aptos",9],["Unichain",10]]],["Testnet",[["Sepolia",0],["Avalanche",1],["OptimismSepolia",2],["ArbitrumSepolia",3],["Solana",5],["BaseSepolia",6],["Polygon",7],["Sui",8],["Aptos",9],["Unichain",10]]]],pX=$t(mx,[[0,1],2]),lb=$t(mx,[[0,2],1]),[Gme,Qme]=Jl(mx),ub=(e,t)=>pX.has(e,t),QA=(e,t)=>lb.has(e,t),qA=(e,t)=>na.has(e,t),Bm=(e,t)=>{switch(typeof t){case"string":if(ub(e,t))return t;break;case"number":if(QA(e,t))return lb(e,t);break;case"bigint":const r=Number(t);if(QA(e,r))return lb(e,r);break}throw Error(`Cannot convert to Chain: ${t}`)},mX=[["Mainnet",[["Solana","worm2ZoG2kUd4vFXhvjh93UUH596ayRfgQ2MgjNMTth"],["Ethereum","0x98f3c9e6E3fAce36bAAd05FE09d375Ef1464288B"],["Terra","terra1dq03ugtd40zu9hcgdzrsq6z2z4hwhc9tqk2uy5"],["Bsc","0x98f3c9e6E3fAce36bAAd05FE09d375Ef1464288B"],["Polygon","0x7A4B5a56256163F07b2C80A7cA55aBE66c4ec4d7"],["Avalanche","0x54a8e5f9c4CbA08F9943965859F6c34eAF03E26c"],["Oasis","0xfE8cD454b4A1CA468B57D79c0cc77Ef5B6f64585"],["Algorand","842125965"],["Aurora","0xa321448d90d4e5b0A732867c18eA198e75CAC48E"],["Fantom","0x126783A6Cb203a3E35344528B26ca3a0489a1485"],["Karura","0xa321448d90d4e5b0A732867c18eA198e75CAC48E"],["Acala","0xa321448d90d4e5b0A732867c18eA198e75CAC48E"],["Klaytn","0x0C21603c4f3a6387e241c0091A7EA39E43E90bb7"],["Celo","0xa321448d90d4e5b0A732867c18eA198e75CAC48E"],["Near","contract.wormhole_crypto.near"],["Injective","inj17p9rzwnnfxcjp32un9ug7yhhzgtkhvl9l2q74d"],["Aptos","0x5bc11445584a763c1fa7ed39081f1b920954da14e04b32440cba863d03e19625"],["Sui","0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c"],["Moonbeam","0xC8e2b0cD52Cf01b0Ce87d389Daa3d414d4cE29f3"],["Terra2","terra12mrnzvhx3rpej6843uge2yyfppfyd3u9c3uq223q8sl48huz9juqffcnhp"],["Arbitrum","0xa5f208e072434bC67592E4C49C1B991BA79BCA46"],["Optimism","0xEe91C335eab126dF5fDB3797EA9d6aD93aeC9722"],["Gnosis","0xa321448d90d4e5b0A732867c18eA198e75CAC48E"],["Pythnet","H3fxXJ86ADW2PNuDDmZJg6mzTtPxkYCpNuQUTgmJ7AjU"],["Base","0xbebdb6C8ddC678FfA9f8748f85C815C556Dd8ac6"],["Xlayer","0x194B123c5E96B9b2E49763619985790Dc241CAC0"],["Xpla","xpla1jn8qmdda5m6f6fqu9qv46rt7ajhklg40ukpqchkejcvy8x7w26cqxamv3w"],["Sei","sei1gjrrme22cyha4ht2xapn3f08zzw6z3d4uxx6fyy9zd5dyr3yxgzqqncdqn"],["Wormchain","wormhole1ufs3tlq4umljk0qfe8k5ya0x6hpavn897u2cnf9k0en9jr7qarqqaqfk2j"],["Neutron","neutron16rerygcpahqcxx5t8vjla46ym8ccn7xz7rtc6ju5ujcd36cmc7zs9zrunh"],["Blast","0xbebdb6C8ddC678FfA9f8748f85C815C556Dd8ac6"],["Scroll","0xbebdb6C8ddC678FfA9f8748f85C815C556Dd8ac6"],["Mantle","0xbebdb6C8ddC678FfA9f8748f85C815C556Dd8ac6"],["Snaxchain","0xc1BA3CC4bFE724A08FbbFbF64F8db196738665f4"],["Berachain","0xCa1D5a146B03f6303baF59e5AD5615ae0b9d146D"],["Unichain","0xCa1D5a146B03f6303baF59e5AD5615ae0b9d146D"],["Worldchain","0xcbcEe4e081464A15d8Ad5f58BB493954421eB506"],["Ink","0xCa1D5a146B03f6303baF59e5AD5615ae0b9d146D"]]],["Testnet",[["Solana","3u8hJUVTA4jH1wYAyUur7FFZVQ8H635K3tSHHF4ssjQ5"],["Ethereum","0x706abc4E45D419950511e474C7B9Ed348A4a716c"],["Terra","terra1pd65m0q9tl3v8znnz5f5ltsfegyzah7g42cx5v"],["Bsc","0x68605AD7b15c732a30b1BbC62BE8F2A509D74b4D"],["Polygon","0x0CBE91CF822c73C2315FB05100C2F714765d5c20"],["Avalanche","0x7bbcE28e64B3F8b84d876Ab298393c38ad7aac4C"],["Oasis","0xc1C338397ffA53a2Eb12A7038b4eeb34791F8aCb"],["Algorand","86525623"],["Aurora","0xBd07292de7b505a4E803CEe286184f7Acf908F5e"],["Fantom","0x1BB3B4119b7BA9dfad76B0545fb3F531383c3bB7"],["Karura","0x64fb09E405D2043ed7785a29E296C766D56F2056"],["Acala","0x64fb09E405D2043ed7785a29E296C766D56F2056"],["Klaytn","0x1830CC6eE66c84D2F177B94D544967c774E624cA"],["Celo","0x88505117CA88e7dd2eC6EA1E13f0948db2D50D56"],["Near","wormhole.wormhole.testnet"],["Injective","inj1xx3aupmgv3ce537c0yce8zzd3sz567syuyedpg"],["Osmosis","osmo1hggkxr0hpw83f8vuft7ruvmmamsxmwk2hzz6nytdkzyup9krt0dq27sgyx"],["Aptos","0x5bc11445584a763c1fa7ed39081f1b920954da14e04b32440cba863d03e19625"],["Sui","0x31358d198147da50db32eda2562951d53973a0c0ad5ed738e9b17d88b213d790"],["Moonbeam","0xa5B7D85a8f27dd7907dc8FdC21FA5657D5E2F901"],["Neon","0x268557122Ffd64c85750d630b716471118F323c8"],["Terra2","terra19nv3xr5lrmmr7egvrk2kqgw4kcn43xrtd5g0mpgwwvhetusk4k7s66jyv0"],["Arbitrum","0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e"],["Optimism","0x6b9C8671cdDC8dEab9c719bB87cBd3e782bA6a35"],["Gnosis","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Pythnet","EUrRARh92Cdc54xrDn6qzaqjA77NRrCcfbr8kPwoTL4z"],["Xpla","xpla1upkjn4mthr0047kahvn0llqx4qpqfn75lnph4jpxfn8walmm8mqsanyy35"],["Base","0x23908A62110e21C04F3A4e011d24F901F911744A"],["Sei","sei1nna9mzp274djrgzhzkac2gvm3j27l402s4xzr08chq57pjsupqnqaj0d5s"],["Sepolia","0x4a8bc80Ed5a4067f1CCf107057b8270E0cC11A78"],["Wormchain","wormhole16jzpxp0e8550c9aht6q9svcux30vtyyyyxv5w2l2djjra46580wsazcjwp"],["ArbitrumSepolia","0x6b9C8671cdDC8dEab9c719bB87cBd3e782bA6a35"],["BaseSepolia","0x79A1027a6A159502049F10906D333EC57E95F083"],["OptimismSepolia","0x31377888146f3253211EFEf5c676D41ECe7D58Fe"],["Holesky","0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"],["Neutron","neutron1enf63k37nnv9cugggpm06mg70emcnxgj9p64v2s8yx7a2yhhzk2q6xesk4"],["Mantle","0x376428e7f26D5867e69201b275553C45B09EE090"],["PolygonSepolia","0x6b9C8671cdDC8dEab9c719bB87cBd3e782bA6a35"],["Scroll","0x055F47F1250012C6B20c436570a76e52c17Af2D5"],["Blast","0x473e002D7add6fB67a4964F13bFd61280Ca46886"],["Berachain","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Seievm","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Snaxchain","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Unichain","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Worldchain","0xe5E02cD12B6FcA153b0d7fF4bF55730AE7B3C93A"],["Ink","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["HyperEVM","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Xlayer","0xA31aa3FDb7aF7Db93d18DDA4e19F811342EDF780"],["Linea","0x79A1027a6A159502049F10906D333EC57E95F083"],["Monad","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Mezo","0x268557122Ffd64c85750d630b716471118F323c8"]]],["Devnet",[["Solana","Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o"],["Ethereum","0xC89Ce4735882C9F0f0FE26686c53074E09B0D550"],["Terra","terra14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9ssrc8au"],["Bsc","0xC89Ce4735882C9F0f0FE26686c53074E09B0D550"],["Algorand","1004"],["Near","wormhole.test.near"],["Aptos","0xde0036a9600559e295d5f6802ef6f3f802f510366e0c23912b0655d972166017"],["Sui","0x5a5160ca3c2037f4b4051344096ef7a48ebf4400b3f385e57ea90e1628a8bde0"],["Terra2","terra14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9ssrc8au"],["Wormchain","wormhole17p9rzwnnfxcjp32un9ug7yhhzgtkhvl9jfksztgw5uh69wac2pgshdnj3k"]]]],Wz=[["Mainnet",[["Solana","wormDTUJ6AWPNvk59vGQbDvGJmqbDTdgWgAqcLBCgUb"],["Ethereum","0x3ee18B2214AFF97000D974cf647E7C347E8fa585"],["Terra","terra10nmmwe8r3g99a9newtqa7a75xfgs2e8z87r2sf"],["Bsc","0xB6F6D86a8f9879A9c87f643768d9efc38c1Da6E7"],["Polygon","0x5a58505a96D1dbf8dF91cB21B54419FC36e93fdE"],["Avalanche","0x0e082F06FF657D94310cB8cE8B0D9a04541d8052"],["Oasis","0x5848C791e09901b40A9Ef749f2a6735b418d7564"],["Algorand","842126029"],["Aurora","0x51b5123a7b0F9b2bA265f9c4C8de7D78D52f510F"],["Fantom","0x7C9Fc5741288cDFdD83CeB07f3ea7e22618D79D2"],["Karura","0xae9d7fe007b3327AA64A32824Aaac52C42a6E624"],["Acala","0xae9d7fe007b3327AA64A32824Aaac52C42a6E624"],["Klaytn","0x5b08ac39EAED75c0439FC750d9FE7E1F9dD0193F"],["Celo","0x796Dff6D74F3E27060B71255Fe517BFb23C93eed"],["Near","contract.portalbridge.near"],["Injective","inj1ghd753shjuwexxywmgs4xz7x2q732vcnxxynfn"],["Aptos","0x576410486a2da45eee6c949c995670112ddf2fbeedab20350d506328eefc9d4f"],["Sui","0xc57508ee0d4595e5a8728974a4a93a787d38f339757230d441e895422c07aba9"],["Moonbeam","0xb1731c586ca89a23809861c6103f0b96b3f57d92"],["Terra2","terra153366q50k7t8nn7gec00hg66crnhkdggpgdtaxltaq6xrutkkz3s992fw9"],["Arbitrum","0x0b2402144Bb366A632D14B83F244D2e0e21bD39c"],["Optimism","0x1D68124e65faFC907325e3EDbF8c4d84499DAa8b"],["Base","0x8d2de8d2f73F1F4cAB472AC9A881C9b123C79627"],["Xlayer","0x5537857664B0f9eFe38C9f320F75fEf23234D904"],["Xpla","xpla137w0wfch2dfmz7jl2ap8pcmswasj8kg06ay4dtjzw7tzkn77ufxqfw7acv"],["Sei","sei1smzlm9t79kur392nu9egl8p8je9j92q4gzguewj56a05kyxxra0qy0nuf3"],["Wormchain","wormhole1466nf3zuxpya8q9emxukd7vftaf6h4psr0a07srl5zw74zh84yjq4lyjmh"],["Blast","0x24850c6f61C438823F01B7A3BF2B89B72174Fa9d"],["Scroll","0x24850c6f61C438823F01B7A3BF2B89B72174Fa9d"],["Mantle","0x24850c6f61C438823F01B7A3BF2B89B72174Fa9d"],["Snaxchain","0x8B94bfE456B48a6025b92E11Be393BAa86e68410"],["Berachain","0x3Ff72741fd67D6AD0668d93B41a09248F4700560"],["Unichain","0x3Ff72741fd67D6AD0668d93B41a09248F4700560"],["Worldchain","0xc309275443519adca74c9136b02A38eF96E3a1f6"],["Ink","0x3Ff72741fd67D6AD0668d93B41a09248F4700560"]]],["Testnet",[["Solana","DZnkkTmCiFWfYTfT41X3Rd1kDgozqzxWaHqsw6W4x2oe"],["Ethereum","0xF890982f9310df57d00f659cf4fd87e65adEd8d7"],["Terra","terra1pseddrv0yfsn76u4zxrjmtf45kdlmalswdv39a"],["Bsc","0x9dcF9D205C9De35334D646BeE44b2D2859712A09"],["Polygon","0x377D55a7928c046E18eEbb61977e714d2a76472a"],["Avalanche","0x61E44E506Ca5659E6c0bba9b678586fA2d729756"],["Oasis","0x88d8004A9BdbfD9D28090A02010C19897a29605c"],["Algorand","86525641"],["Aurora","0xD05eD3ad637b890D68a854d607eEAF11aF456fba"],["Fantom","0x599CEa2204B4FaECd584Ab1F2b6aCA137a0afbE8"],["Karura","0xe157115ef34c93145Fec2FE53706846853B07F42"],["Acala","0xe157115ef34c93145Fec2FE53706846853B07F42"],["Klaytn","0xC7A13BE098720840dEa132D860fDfa030884b09A"],["Celo","0x05ca6037eC51F8b712eD2E6Fa72219FEaE74E153"],["Near","token.wormhole.testnet"],["Injective","inj1q0e70vhrv063eah90mu97sazhywmeegp7myvnh"],["Aptos","0x576410486a2da45eee6c949c995670112ddf2fbeedab20350d506328eefc9d4f"],["Sui","0x6fb10cdb7aa299e9a4308752dadecb049ff55a892de92992a1edbd7912b3d6da"],["Moonbeam","0xbc976D4b9D57E57c3cA52e1Fd136C45FF7955A96"],["Neon","0xEe3dB83916Ccdc3593b734F7F2d16D630F39F1D0"],["Terra2","terra1c02vds4uhgtrmcw7ldlg75zumdqxr8hwf7npseuf2h58jzhpgjxsgmwkvk"],["Arbitrum","0x23908A62110e21C04F3A4e011d24F901F911744A"],["ArbitrumSepolia","0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e"],["Optimism","0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e"],["OptimismSepolia","0x99737Ec4B815d816c49A385943baf0380e75c0Ac"],["Xpla","xpla1kek6zgdaxcsu35nqfsyvs2t9vs87dqkkq6hjdgczacysjn67vt8sern93x"],["Base","0xA31aa3FDb7aF7Db93d18DDA4e19F811342EDF780"],["BaseSepolia","0x86F55A04690fd7815A3D802bD587e83eA888B239"],["Sei","sei1jv5xw094mclanxt5emammy875qelf3v62u4tl4lp5nhte3w3s9ts9w9az2"],["Sepolia","0xDB5492265f6038831E89f495670FF909aDe94bd9"],["Wormchain","wormhole1aaf9r6s7nxhysuegqrxv0wpm27ypyv4886medd3mrkrw6t4yfcnst3qpex"],["Holesky","0x76d093BbaE4529a342080546cAFEec4AcbA59EC6"],["Mantle","0x75Bfa155a9D7A3714b0861c8a8aF0C4633c45b5D"],["PolygonSepolia","0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e"],["Scroll","0x22427d90B7dA3fA4642F7025A854c7254E4e45BF"],["Blast","0x430855B4D43b8AEB9D2B9869B74d58dda79C0dB2"],["Xlayer","0xdA91a06299BBF302091B053c6B9EF86Eff0f930D"],["Berachain","0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"],["Seievm","0x23908A62110e21C04F3A4e011d24F901F911744A"],["Snaxchain","0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"],["Unichain","0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"],["Worldchain","0x430855B4D43b8AEB9D2B9869B74d58dda79C0dB2"],["Ink","0x376428e7f26D5867e69201b275553C45B09EE090"],["HyperEVM","0x4a8bc80Ed5a4067f1CCf107057b8270E0cC11A78"],["Linea","0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e"],["Monad","0xF323dcDe4d33efe83cf455F78F9F6cc656e6B659"],["Mezo","0xA31aa3FDb7aF7Db93d18DDA4e19F811342EDF780"]]],["Devnet",[["Solana","B6RHG3mfcckmrYN1UhmJzyS1XX3fZKbkeUcpJe9Sy3FE"],["Ethereum","0x0290FB167208Af455bB137780163b7B7a9a10C16"],["Terra","terra1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrquka9l6"],["Bsc","0x0290FB167208Af455bB137780163b7B7a9a10C16"],["Algorand","1006"],["Near","token.test.near"],["Aptos","0x84a5f374d29fc77e370014dce4fd6a55b58ad608de8074b0be5571701724da31"],["Sui","0xa6a3da85bbe05da5bfd953708d56f1a3a023e7fb58e5a824a3d4de3791e8f690"],["Terra2","terra1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrquka9l6"],["Wormchain","wormhole1ghd753shjuwexxywmgs4xz7x2q732vcnkm6h2pyv9s6ah3hylvrqtm7t3h"]]]],Hz=[["Mainnet",[["Ethereum","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Bsc","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Polygon","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Avalanche","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Fantom","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Celo","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Sui","0x57f4e0ba41a7045e29d435bc66cc4175f381eb700e6ec16d4fdfe92e5a4dff9f"],["Solana","3vxKRPwUTiEkeUVyoZ9MXFe1V71sRLbLqu1gRYaWmehQ"],["Base","0xaE8dc4a7438801Ec4edC0B035EcCCcF3807F4CC1"],["Moonbeam","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Arbitrum","0xaE8dc4a7438801Ec4edC0B035EcCCcF3807F4CC1"],["Optimism","0xaE8dc4a7438801Ec4edC0B035EcCCcF3807F4CC1"]]],["Testnet",[["Ethereum","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Bsc","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Polygon","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Avalanche","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Fantom","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Celo","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Sui","0xb30040e5120f8cb853b691cb6d45981ae884b1d68521a9dc7c3ae881c0031923"],["Base","0xae8dc4a7438801ec4edc0b035eccccf3807f4cc1"],["Moonbeam","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Solana","3bPRWXqtSfUaCw3S4wdgvypQtsSzcmvDeaqSqPDkncrg"],["Sepolia",""],["ArbitrumSepolia","0xaE8dc4a7438801Ec4edC0B035EcCCcF3807F4CC1"],["OptimismSepolia","0xaE8dc4a7438801Ec4edC0B035EcCCcF3807F4CC1"],["BaseSepolia",""]]]],gX=[["Mainnet",[["Solana","WnFt12ZrnzZrFZkt2xsNsaNWoQribnuQ5B5FrDbwDhD"],["Ethereum","0x6FFd7EdE62328b3Af38FCD61461Bbfc52F5651fE"],["Bsc","0x5a58505a96D1dbf8dF91cB21B54419FC36e93fdE"],["Polygon","0x90BBd86a6Fe93D3bc3ed6335935447E75fAb7fCf"],["Avalanche","0xf7B6737Ca9c4e08aE573F75A97B73D7a813f5De5"],["Oasis","0x04952D522Ff217f40B5Ef3cbF659EcA7b952a6c1"],["Aurora","0x6dcC0484472523ed9Cdc017F711Bcbf909789284"],["Fantom","0xA9c7119aBDa80d4a4E0C06C8F4d8cF5893234535"],["Karura","0xb91e3638F82A1fACb28690b37e3aAE45d2c33808"],["Acala","0xb91e3638F82A1fACb28690b37e3aAE45d2c33808"],["Klaytn","0x3c3c561757BAa0b78c5C025CdEAa4ee24C1dFfEf"],["Celo","0xA6A377d75ca5c9052c9a77ED1e865Cc25Bd97bf3"],["Aptos","0x1bdffae984043833ed7fe223f7af7a3f8902d04129b14f801823e64827da7130"],["Moonbeam","0x453cfbe096c0f8d763e8c5f24b441097d577bde2"],["Arbitrum","0x3dD14D553cFD986EAC8e3bddF629d82073e188c8"],["Base","0xDA3adC6621B2677BEf9aD26598e6939CF0D92f88"],["Optimism","0xfE8cD454b4A1CA468B57D79c0cc77Ef5B6f64585"]]],["Testnet",[["Solana","2rHhojZ7hpu1zA91nvZmT8TqWWvMcKmmNBCr2mKTtMq4"],["Ethereum","0xD8E4C2DbDd2e2bd8F1336EA691dBFF6952B1a6eB"],["Bsc","0xcD16E5613EF35599dc82B24Cb45B5A93D779f1EE"],["Polygon","0x51a02d0dcb5e52F5b92bdAA38FA013C91c7309A9"],["Avalanche","0xD601BAf2EEE3C028344471684F6b27E789D9075D"],["Oasis","0xC5c25B41AB0b797571620F5204Afa116A44c0ebA"],["Aurora","0x8F399607E9BA2405D87F5f3e1B78D950b44b2e24"],["Fantom","0x63eD9318628D26BdCB15df58B53BB27231D1B227"],["Klaytn","0x94c994fC51c13101062958b567e743f1a04432dE"],["Celo","0xaCD8190F647a31E56A656748bC30F69259f245Db"],["Moonbeam","0x98A0F4B96972b32Fcb3BD03cAeB66A44a6aB9Edb"],["Neon","0x66E5BcFD45D2F3f166c567ADa663f9d2ffb292B4"],["Arbitrum","0xEe3dB83916Ccdc3593b734F7F2d16D630F39F1D0"],["Optimism","0x23908A62110e21C04F3A4e011d24F901F911744A"],["Base","0xF681d1cc5F25a3694E348e7975d7564Aa581db59"],["Sepolia","0x6a0B52ac198e4870e5F3797d5B403838a5bbFD99"],["Aptos","0x1bdffae984043833ed7fe223f7af7a3f8902d04129b14f801823e64827da7130"],["ArbitrumSepolia","0x23908A62110e21C04F3A4e011d24F901F911744A"],["BaseSepolia","0x268557122Ffd64c85750d630b716471118F323c8"],["OptimismSepolia","0x27812285fbe85BA1DF242929B906B31EE3dd1b9f"],["Holesky","0xc8941d483c45eF8FB72E4d1F9dDE089C95fF8171"],["PolygonSepolia","0x23908A62110e21C04F3A4e011d24F901F911744A"],["Mantle","0xD7D732C8Bf5eBF620EA55b5828eae20418eEF083"],["Scroll","0x47B9a1406BEe29a3001BFEB7e45aE45fFFB40c18"]]],["Devnet",[["Solana","NFTWqJR8YnRVqPDvTJrYuLrQDitTG5AScqbeghi4zSA"],["Ethereum","0x26b4afb60d6c903165150c6f0aa14f8016be4aec"],["Terra","terra1plju286nnfj3z54wgcggd4enwaa9fgf5kgrgzl"],["Bsc","0x26b4afb60d6c903165150c6f0aa14f8016be4aec"],["Aptos","0x46da3d4c569388af61f951bdd1153f4c875f90c2991f6b2d0a38e2161a40852c"]]]],yX=[["Mainnet",[["Ethereum","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Bsc","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Polygon","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Avalanche","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Fantom","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Klaytn","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Celo","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Moonbeam","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Base","0x706f82e9bb5b0813501714ab5974216704980e31"],["Arbitrum","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Optimism","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Blast","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Scroll","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Mantle","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Xlayer","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Berachain","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Ink","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Worldchain","0x1520cc9e779c56dab5866bebfb885c86840c33d3"],["Snaxchain","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Unichain","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"]]],["Testnet",[["Ethereum","0x28D8F1Be96f97C1387e94A53e00eCcFb4E75175a"],["Bsc","0x80aC94316391752A193C1c47E27D382b507c93F3"],["Polygon","0x0591C25ebd0580E0d4F27A82Fc2e24E7489CB5e0"],["Avalanche","0xA3cF45939bD6260bcFe3D66bc73d60f19e49a8BB"],["Fantom","0x7B1bD7a6b4E61c2a123AC6BC2cbfC614437D0470"],["Celo","0x306B68267Deb7c5DfCDa3619E22E9Ca39C374f84"],["Seievm","0x362fca37E45fe1096b42021b543f462D49a5C8df"],["Moonbeam","0x0591C25ebd0580E0d4F27A82Fc2e24E7489CB5e0"],["Arbitrum","0xAd753479354283eEE1b86c9470c84D42f229FF43"],["Optimism","0x01A957A525a5b7A72808bA9D10c389674E459891"],["Base","0xea8029CD7FCAEFFcD1F53686430Db0Fc8ed384E1"],["Sepolia","0x7B1bD7a6b4E61c2a123AC6BC2cbfC614437D0470"],["ArbitrumSepolia","0x7B1bD7a6b4E61c2a123AC6BC2cbfC614437D0470"],["BaseSepolia","0x93BAD53DDfB6132b0aC8E37f6029163E63372cEE"],["OptimismSepolia","0x93BAD53DDfB6132b0aC8E37f6029163E63372cEE"],["Berachain","0x362fca37E45fe1096b42021b543f462D49a5C8df"],["Unichain","0x362fca37E45fe1096b42021b543f462D49a5C8df"],["Ink","0x362fca37E45fe1096b42021b543f462D49a5C8df"],["Monad","0x362fca37E45fe1096b42021b543f462D49a5C8df"]]],["Devnet",[["Ethereum","0xcC680D088586c09c3E0E099a676FA4b6e42467b4"],["Bsc","0xcC680D088586c09c3E0E099a676FA4b6e42467b4"]]]],Yz=[["Mainnet",[["Ethereum",{tokenMessenger:"0xbd3fa81b58ba92a82136038b25adec7066af3155",messageTransmitter:"0x0a992d191deec32afe36203ad87d7d289a738f81",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0xAaDA05BD399372f0b0463744C09113c137636f6a"}],["Avalanche",{tokenMessenger:"0x6b25532e1060ce10cc3b0a99e5683b91bfde6982",messageTransmitter:"0x8186359af5f57fbb40c6b14a588d2a59c0c29880",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x09Fb06A271faFf70A651047395AaEb6265265F13"}],["Optimism",{tokenMessenger:"0x2B4069517957735bE00ceE0fadAE88a26365528f",messageTransmitter:"0x4d41f22c5a0e5c74090899e5a8fb597a8842b3e8",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["Arbitrum",{tokenMessenger:"0x19330d10D9Cc8751218eaf51E8885D058642E08A",messageTransmitter:"0xC30362313FBBA5cf9163F0bb16a0e01f01A896ca",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["Base",{tokenMessenger:"0x1682Ae6375C4E4A97e4B583BC394c861A46D8962",messageTransmitter:"0xAD09780d193884d503182aD4588450C416D6F9D4",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x03faBB06Fa052557143dC28eFCFc63FC12843f1D"}],["Solana",{tokenMessenger:"CCTPiPYPc6AsJuwueEnWgSgucamXDZwBd53dQ11YiKX3",messageTransmitter:"CCTPmbSD7gX1bxKPAmg77w8oFzNFpaQiQUWD43TKaecd",wormholeRelayer:"",wormhole:""}],["Polygon",{tokenMessenger:"0x9daF8c91AEFAE50b9c0E69629D3F6Ca40cA3B3FE",messageTransmitter:"0xF3be9355363857F3e001be68856A2f96b4C39Ba9",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x0FF28217dCc90372345954563486528aa865cDd6"}],["Sui",{tokenMessenger:"0x2aa6c5d56376c371f88a6cc42e852824994993cb9bab8d3e6450cbe3cb32b94e",messageTransmitter:"0x08d87d37ba49e785dde270a83f8e979605b03dc552b5548f26fdf2f49bf7ed1b",wormholeRelayer:"",wormhole:""}],["Aptos",{tokenMessenger:"0x9e6702a472080ea3caaf6ba9dfaa6effad2290a9ba9adaacd5af5c618e42782d",messageTransmitter:"0x177e17751820e4b4371873ca8c30279be63bdea63b88ed0f2239c2eea10f1772",wormholeRelayer:"",wormhole:""}],["Unichain",{tokenMessenger:"0x4e744b28E787c3aD0e810eD65A24461D4ac5a762",messageTransmitter:"0x353bE9E2E38AB1D19104534e4edC21c643Df86f4",wormholeRelayer:"",wormhole:""}]]],["Testnet",[["Sepolia",{tokenMessenger:"0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5",messageTransmitter:"0x7865fAfC2db2093669d92c0F33AeEF291086BEFD",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["Avalanche",{tokenMessenger:"0xeb08f243e5d3fcff26a9e38ae5520a669f4019d0",messageTransmitter:"0xa9fb1b3009dcb79e2fe346c16a604b8fa8ae0a79",wormholeRelayer:"0x774a70bbd03327c21460b60f25b677d9e46ab458",wormhole:"0x58f4c17449c90665891c42e14d34aae7a26a472e"}],["OptimismSepolia",{tokenMessenger:"0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5",messageTransmitter:"0x7865fAfC2db2093669d92c0F33AeEF291086BEFD",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["ArbitrumSepolia",{tokenMessenger:"0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5",messageTransmitter:"0xaCF1ceeF35caAc005e15888dDb8A3515C41B4872",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["Solana",{tokenMessenger:"CCTPiPYPc6AsJuwueEnWgSgucamXDZwBd53dQ11YiKX3",messageTransmitter:"CCTPmbSD7gX1bxKPAmg77w8oFzNFpaQiQUWD43TKaecd",wormholeRelayer:"",wormhole:""}],["BaseSepolia",{tokenMessenger:"0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5",messageTransmitter:"0x7865fAfC2db2093669d92c0F33AeEF291086BEFD",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["Polygon",{tokenMessenger:"0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5",messageTransmitter:"0xe09A679F56207EF33F5b9d8fb4499Ec00792eA73",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["Sui",{tokenMessenger:"0x31cc14d80c175ae39777c0238f20594c6d4869cfab199f40b69f3319956b8beb",messageTransmitter:"0x4931e06dce648b3931f890035bd196920770e913e43e45990b383f6486fdd0a5",wormholeRelayer:"",wormhole:""}],["Aptos",{tokenMessenger:"0x5f9b937419dda90aa06c1836b7847f65bbbe3f1217567758dc2488be31a477b9",messageTransmitter:"0x081e86cebf457a0c6004f35bd648a2794698f52e0dde09a48619dcd3d4cc23d9",wormholeRelayer:"",wormhole:""}],["Unichain",{tokenMessenger:"0x8ed94B8dAd2Dc5453862ea5e316A8e71AAed9782",messageTransmitter:"0xbc498c326533d675cf571B90A2Ced265ACb7d086",wormholeRelayer:"",wormhole:""}]]]],bX=[["Mainnet",[["Wormchain","wormhole14ejqjyq8um4p3xfqj74yld5waqljf88fz25yxnma0cngspxe3les00fpjx"]]],["Testnet",[["Wormchain","wormhole1ctnjk7an90lz5wjfvr3cf6x984a8cjnv8dpmztmlpcq4xteaa2xs9pwmzk"]]]],MX=[["Mainnet",[["Sei","sei189adguawugk3e55zn63z8r9ll29xrjwca636ra7v7gxuzn98sxyqwzt47l"]]],["Testnet",[["Sei","sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]],xX=[["Mainnet",[["Polygon",["Ethereum","0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"]],["Optimism",["Ethereum","0xdfe97868233d1aa22e815a266982f2cf17685a27"]],["Arbitrum",["Ethereum","0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"]]]],["Testnet",[["Polygon",["Ethereum","0x2890ba17efe978480615e330ecb65333b880928e"]],["Optimism",["Ethereum","0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"]],["Arbitrum",["Ethereum","0x45af9ed1d03703e480ce7d328fb684bb67da5049"]]]]],Zz=[["Mainnet",[["Ethereum",{porticoUniswap:"0x48b6101128C0ed1E208b7C910e60542A2ee6f476",uniswapQuoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",porticoPancakeSwap:"0x4db1683d60e0a933A9A477a19FA32F472bB9d06e",pancakeSwapQuoterV2:"0xB048Bbc1Ee6b733FFfCFb9e9CeF7375518e25997"}],["Polygon",{porticoUniswap:"0x227bABe533fa9a1085f5261210E0B7137E44437B",uniswapQuoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",porticoPancakeSwap:void 0,pancakeSwapQuoterV2:void 0}],["Bsc",{porticoUniswap:"0x05498574BD0Fa99eeCB01e1241661E7eE58F8a85",uniswapQuoterV2:"0x78D78E420Da98ad378D7799bE8f4AF69033EB077",porticoPancakeSwap:"0xF352DC165783538A26e38A536e76DceF227d90F2",pancakeSwapQuoterV2:"0xB048Bbc1Ee6b733FFfCFb9e9CeF7375518e25997"}],["Avalanche",{porticoUniswap:"0xE565E118e75304dD3cF83dff409c90034b7EA18a",uniswapQuoterV2:"0xbe0F5544EC67e9B3b2D979aaA43f18Fd87E6257F",porticoPancakeSwap:void 0,pancakeSwapQuoterV2:void 0}],["Arbitrum",{porticoUniswap:"0x48fa7528bFD6164DdF09dF0Ed22451cF59c84130",uniswapQuoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",porticoPancakeSwap:"0xE70946692E2e56ae47BfAe2d93d31bd60952B090",pancakeSwapQuoterV2:"0xB048Bbc1Ee6b733FFfCFb9e9CeF7375518e25997"}],["Optimism",{porticoUniswap:"0x9ae506cDDd27DEe1275fd1fe6627E5dc65257061",uniswapQuoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",porticoPancakeSwap:void 0,pancakeSwapQuoterV2:void 0}],["Base",{porticoUniswap:"0x610d4DFAC3EC32e0be98D18DDb280DACD76A1889",uniswapQuoterV2:"0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",porticoPancakeSwap:"0x4568aa1eA0ED54db666c58B4526B3FC9BD9be9bf",pancakeSwapQuoterV2:"0xB048Bbc1Ee6b733FFfCFb9e9CeF7375518e25997"}],["Celo",{porticoUniswap:"0xE565E118e75304dD3cF83dff409c90034b7EA18a",uniswapQuoterV2:"0x82825d0554fA07f7FC52Ab63c961F330fdEFa8E8",porticoPancakeSwap:void 0,pancakeSwapQuoterV2:void 0}]]]],vX=[["Mainnet",[["Solana","87MEvHZCXE3ML5rrmh5uX1FbShHmRXXS32xJDGbQ7h5t"],["Polygon","0x09959798B95d00a3183d20FaC298E4594E599eab"],["Arbitrum","0x1293a54e160D1cd7075487898d65266081A15458"],["Optimism","0x1293a54e160D1cd7075487898d65266081A15458"],["Base","0x09959798B95d00a3183d20FaC298E4594E599eab"]]]],wX=$t(mX),CX=$t(Wz),AX=$t(Hz),EX=$t(gX),SX=$t(yX),VA=$t(bX),$A=$t(MX),KA=$t(Zz),Q4=$t(vX),fb=$t(Yz);$t(xX);const Gz=$t(Wz,[0,1]),XA=$t(Hz,[0,1]),np=$t(Yz,[0,1]),JA=$t(Zz,[0,1]),gx=[["Mainnet",[["0x58CC3AE5C097b213cE3c81979e1B9f9570746AA5","JumpCrypto"],["0xfF6CB952589BDE862c25Ef4392132fb9D4A42157","Staked"],["0x114De8460193bdf3A2fCf81f86a09765F4762fD1","Figment"],["0x107A0086b32d7A0977926A205131d8731D39cbEB","ChainodeTech"],["0x8C82B2fd82FaeD2711d59AF0F2499D16e726f6b2","Inotel"],["0x11b39756C042441BE6D8650b69b54EbE715E2343","HashQuark"],["0x54Ce5B4D348fb74B958e8966e2ec3dBd4958a7cd","Chainlayer"],["0x15e7cAF07C4e3DC8e7C469f92C8Cd88FB8005a20","xLabs"],["0x74a3bf913953D695260D88BC1aA25A4eeE363ef0","Forbole"],["0x000aC0076727b35FBea2dAc28fEE5cCB0fEA768e","StakingFund"],["0xAF45Ced136b9D9e24903464AE889F5C8a723FC14","MoonletWallet"],["0xf93124b7c738843CBB89E864c862c38cddCccF95","P2PValidator"],["0xD2CC37A4dc036a8D232b48f62cDD4731412f4890","01Node"],["0xDA798F6896A3331F64b48c12D1D57Fd9cbe70811","MCF"],["0x71AA1BE1D36CaFE3867910F99C09e347899C19C3","Everstake"],["0x8192b6E7387CCd768277c17DAb1b7a5027c0b3Cf","ChorusOne"],["0x178e21ad2E77AE06711549CFBB1f9c7a9d8096e8","Syncnode"],["0x5E1487F35515d02A92753504a8D75471b9f49EdB","Triton"],["0x6FbEBc898F403E4773E95feB15E80C9A99c8348d","StakingFacilities"]]],["Testnet",[["0x13947Bd48b18E53fdAeEe77F3473391aC727C638","Testnet guardian"]]]],[qme,Vme]=vK(Jl(J3(gx)),[1,2]);$t(gx,[[0,2],1]);$t(gx,[1,[0,2]]);const yx=5,DX=[["Mainnet",[["Ethereum","0x18084fbA666a33d37592fA2633fD49a74DD93a88"],["Solana","6DNSN2BJsaPFdFFc1zP37kkeNe4Usc1Sqkzr9C9vPWcU"],["Polygon","0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b"],["Arbitrum","0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40"],["Optimism","0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40"],["Base","0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b"]]]],TX=$t(DX),nu=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */function IX(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function Y1(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function yc(e,...t){if(!IX(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function NX(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");Y1(e.outputLen),Y1(e.blockLen)}function hf(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function Qz(e,t){yc(e);const r=t.outputLen;if(e.length<r)throw new Error("digestInto() expects output buffer of length at least "+r)}function LX(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function yl(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function km(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function qs(e,t){return e<<32-t|e>>>t}function $me(e,t){return e<<t|e>>>32-t>>>0}const qz=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function Vz(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}const Kme=qz?e=>e:e=>Vz(e);function jX(e){for(let t=0;t<e.length;t++)e[t]=Vz(e[t]);return e}const eE=qz?e=>e:jX,$z=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",BX=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function Xme(e){if(yc(e),$z)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=BX[e[r]];return t}const Ro={_0:48,_9:57,A:65,F:70,a:97,f:102};function tE(e){if(e>=Ro._0&&e<=Ro._9)return e-Ro._0;if(e>=Ro.A&&e<=Ro.F)return e-(Ro.A-10);if(e>=Ro.a&&e<=Ro.f)return e-(Ro.a-10)}function Jme(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);if($z)return Uint8Array.fromHex(e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let a=0,i=0;a<r;a++,i+=2){const o=tE(e.charCodeAt(i)),u=tE(e.charCodeAt(i+1));if(o===void 0||u===void 0){const d=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+d+'" at index '+i)}n[a]=o*16+u}return n}function Kz(e){if(typeof e!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}function Oh(e){return typeof e=="string"&&(e=Kz(e)),yc(e),e}function ege(e){return typeof e=="string"&&(e=Kz(e)),yc(e),e}function kX(...e){let t=0;for(let n=0;n<e.length;n++){const a=e[n];yc(a),t+=a.length}const r=new Uint8Array(t);for(let n=0,a=0;n<e.length;n++){const i=e[n];r.set(i,a),a+=i.length}return r}function tge(e,t){if(t!==void 0&&{}.toString.call(t)!=="[object Object]")throw new Error("options should be object or undefined");return Object.assign(e,t)}let bx=class{};function G6(e){const t=n=>e().update(Oh(n)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function nge(e){const t=(n,a)=>e(a).update(Oh(n)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=n=>e(n),t}function Xz(e=32){if(nu&&typeof nu.getRandomValues=="function")return nu.getRandomValues(new Uint8Array(e));if(nu&&typeof nu.randomBytes=="function")return Uint8Array.from(nu.randomBytes(e));throw new Error("crypto.getRandomValues must be defined")}function zX(e,t,r,n){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,r,n);const a=BigInt(32),i=BigInt(4294967295),o=Number(r>>a&i),u=Number(r&i),d=n?4:0,p=n?0:4;e.setUint32(t+d,o,n),e.setUint32(t+p,u,n)}function _X(e,t,r){return e&t^~e&r}function FX(e,t,r){return e&t^e&r^t&r}class Jz extends bx{constructor(t,r,n,a){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=t,this.outputLen=r,this.padOffset=n,this.isLE=a,this.buffer=new Uint8Array(t),this.view=km(this.buffer)}update(t){hf(this),t=Oh(t),yc(t);const{view:r,buffer:n,blockLen:a}=this,i=t.length;for(let o=0;o<i;){const u=Math.min(a-this.pos,i-o);if(u===a){const d=km(t);for(;a<=i-o;o+=a)this.process(d,o);continue}n.set(t.subarray(o,o+u),this.pos),this.pos+=u,o+=u,this.pos===a&&(this.process(r,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){hf(this),Qz(t,this),this.finished=!0;const{buffer:r,view:n,blockLen:a,isLE:i}=this;let{pos:o}=this;r[o++]=128,yl(this.buffer.subarray(o)),this.padOffset>a-o&&(this.process(n,0),o=0);for(let b=o;b<a;b++)r[b]=0;zX(n,a-8,BigInt(this.length*8),i),this.process(n,0);const u=km(t),d=this.outputLen;if(d%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const p=d/4,m=this.get();if(p>m.length)throw new Error("_sha2: outputLen bigger than state");for(let b=0;b<p;b++)u.setUint32(4*b,m[b],i)}digest(){const{buffer:t,outputLen:r}=this;this.digestInto(t);const n=t.slice(0,r);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:r,buffer:n,length:a,finished:i,destroyed:o,pos:u}=this;return t.destroyed=o,t.finished=i,t.length=a,t.pos=u,a%r&&t.buffer.set(n),t}clone(){return this._cloneInto()}}const Dc=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Ui=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),O2=BigInt(2**32-1),rE=BigInt(32);function OX(e,t=!1){return t?{h:Number(e&O2),l:Number(e>>rE&O2)}:{h:Number(e>>rE&O2)|0,l:Number(e&O2)|0}}function e_(e,t=!1){const r=e.length;let n=new Uint32Array(r),a=new Uint32Array(r);for(let i=0;i<r;i++){const{h:o,l:u}=OX(e[i],t);[n[i],a[i]]=[o,u]}return[n,a]}const nE=(e,t,r)=>e>>>r,iE=(e,t,r)=>e<<32-r|t>>>r,iu=(e,t,r)=>e>>>r|t<<32-r,au=(e,t,r)=>e<<32-r|t>>>r,R2=(e,t,r)=>e<<64-r|t>>>r-32,U2=(e,t,r)=>e>>>r-32|t<<64-r,ige=(e,t)=>t,age=(e,t)=>e,RX=(e,t,r)=>e<<r|t>>>32-r,UX=(e,t,r)=>t<<r|e>>>32-r,PX=(e,t,r)=>t<<r-32|e>>>64-r,WX=(e,t,r)=>e<<r-32|t>>>64-r;function Uo(e,t,r,n){const a=(t>>>0)+(n>>>0);return{h:e+r+(a/2**32|0)|0,l:a|0}}const HX=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),YX=(e,t,r,n)=>t+r+n+(e/2**32|0)|0,ZX=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),GX=(e,t,r,n,a)=>t+r+n+a+(e/2**32|0)|0,QX=(e,t,r,n,a)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(a>>>0),qX=(e,t,r,n,a,i)=>t+r+n+a+i+(e/2**32|0)|0,VX=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Tc=new Uint32Array(64);class $X extends Jz{constructor(t=32){super(64,t,8,!1),this.A=Dc[0]|0,this.B=Dc[1]|0,this.C=Dc[2]|0,this.D=Dc[3]|0,this.E=Dc[4]|0,this.F=Dc[5]|0,this.G=Dc[6]|0,this.H=Dc[7]|0}get(){const{A:t,B:r,C:n,D:a,E:i,F:o,G:u,H:d}=this;return[t,r,n,a,i,o,u,d]}set(t,r,n,a,i,o,u,d){this.A=t|0,this.B=r|0,this.C=n|0,this.D=a|0,this.E=i|0,this.F=o|0,this.G=u|0,this.H=d|0}process(t,r){for(let b=0;b<16;b++,r+=4)Tc[b]=t.getUint32(r,!1);for(let b=16;b<64;b++){const v=Tc[b-15],C=Tc[b-2],E=qs(v,7)^qs(v,18)^v>>>3,T=qs(C,17)^qs(C,19)^C>>>10;Tc[b]=T+Tc[b-7]+E+Tc[b-16]|0}let{A:n,B:a,C:i,D:o,E:u,F:d,G:p,H:m}=this;for(let b=0;b<64;b++){const v=qs(u,6)^qs(u,11)^qs(u,25),C=m+v+_X(u,d,p)+VX[b]+Tc[b]|0,T=(qs(n,2)^qs(n,13)^qs(n,22))+FX(n,a,i)|0;m=p,p=d,d=u,u=o+C|0,o=i,i=a,a=n,n=C+T|0}n=n+this.A|0,a=a+this.B|0,i=i+this.C|0,o=o+this.D|0,u=u+this.E|0,d=d+this.F|0,p=p+this.G|0,m=m+this.H|0,this.set(n,a,i,o,u,d,p,m)}roundClean(){yl(Tc)}destroy(){this.set(0,0,0,0,0,0,0,0),yl(this.buffer)}}const t_=e_(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),KX=t_[0],XX=t_[1],Ic=new Uint32Array(80),Nc=new Uint32Array(80);class r_ extends Jz{constructor(t=64){super(128,t,16,!1),this.Ah=Ui[0]|0,this.Al=Ui[1]|0,this.Bh=Ui[2]|0,this.Bl=Ui[3]|0,this.Ch=Ui[4]|0,this.Cl=Ui[5]|0,this.Dh=Ui[6]|0,this.Dl=Ui[7]|0,this.Eh=Ui[8]|0,this.El=Ui[9]|0,this.Fh=Ui[10]|0,this.Fl=Ui[11]|0,this.Gh=Ui[12]|0,this.Gl=Ui[13]|0,this.Hh=Ui[14]|0,this.Hl=Ui[15]|0}get(){const{Ah:t,Al:r,Bh:n,Bl:a,Ch:i,Cl:o,Dh:u,Dl:d,Eh:p,El:m,Fh:b,Fl:v,Gh:C,Gl:E,Hh:T,Hl:I}=this;return[t,r,n,a,i,o,u,d,p,m,b,v,C,E,T,I]}set(t,r,n,a,i,o,u,d,p,m,b,v,C,E,T,I){this.Ah=t|0,this.Al=r|0,this.Bh=n|0,this.Bl=a|0,this.Ch=i|0,this.Cl=o|0,this.Dh=u|0,this.Dl=d|0,this.Eh=p|0,this.El=m|0,this.Fh=b|0,this.Fl=v|0,this.Gh=C|0,this.Gl=E|0,this.Hh=T|0,this.Hl=I|0}process(t,r){for(let N=0;N<16;N++,r+=4)Ic[N]=t.getUint32(r),Nc[N]=t.getUint32(r+=4);for(let N=16;N<80;N++){const j=Ic[N-15]|0,F=Nc[N-15]|0,O=iu(j,F,1)^iu(j,F,8)^nE(j,F,7),W=au(j,F,1)^au(j,F,8)^iE(j,F,7),_=Ic[N-2]|0,z=Nc[N-2]|0,k=iu(_,z,19)^R2(_,z,61)^nE(_,z,6),w=au(_,z,19)^U2(_,z,61)^iE(_,z,6),s=ZX(W,w,Nc[N-7],Nc[N-16]),l=GX(s,O,k,Ic[N-7],Ic[N-16]);Ic[N]=l|0,Nc[N]=s|0}let{Ah:n,Al:a,Bh:i,Bl:o,Ch:u,Cl:d,Dh:p,Dl:m,Eh:b,El:v,Fh:C,Fl:E,Gh:T,Gl:I,Hh:D,Hl:S}=this;for(let N=0;N<80;N++){const j=iu(b,v,14)^iu(b,v,18)^R2(b,v,41),F=au(b,v,14)^au(b,v,18)^U2(b,v,41),O=b&C^~b&T,W=v&E^~v&I,_=QX(S,F,W,XX[N],Nc[N]),z=qX(_,D,j,O,KX[N],Ic[N]),k=_|0,w=iu(n,a,28)^R2(n,a,34)^R2(n,a,39),s=au(n,a,28)^U2(n,a,34)^U2(n,a,39),l=n&i^n&u^i&u,f=a&o^a&d^o&d;D=T|0,S=I|0,T=C|0,I=E|0,C=b|0,E=v|0,{h:b,l:v}=Uo(p|0,m|0,z|0,k|0),p=u|0,m=d|0,u=i|0,d=o|0,i=n|0,o=a|0;const h=HX(k,s,f);n=YX(h,z,w,l),a=h|0}({h:n,l:a}=Uo(this.Ah|0,this.Al|0,n|0,a|0)),{h:i,l:o}=Uo(this.Bh|0,this.Bl|0,i|0,o|0),{h:u,l:d}=Uo(this.Ch|0,this.Cl|0,u|0,d|0),{h:p,l:m}=Uo(this.Dh|0,this.Dl|0,p|0,m|0),{h:b,l:v}=Uo(this.Eh|0,this.El|0,b|0,v|0),{h:C,l:E}=Uo(this.Fh|0,this.Fl|0,C|0,E|0),{h:T,l:I}=Uo(this.Gh|0,this.Gl|0,T|0,I|0),{h:D,l:S}=Uo(this.Hh|0,this.Hl|0,D|0,S|0),this.set(n,a,i,o,u,d,p,m,b,v,C,E,T,I,D,S)}roundClean(){yl(Ic,Nc)}destroy(){yl(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const Pi=Uint32Array.from([573645204,4230739756,2673172387,3360449730,596883563,1867755857,2520282905,1497426621,2519219938,2827943907,3193839141,1401305490,721525244,746961066,246885852,2177182882]);class JX extends r_{constructor(){super(32),this.Ah=Pi[0]|0,this.Al=Pi[1]|0,this.Bh=Pi[2]|0,this.Bl=Pi[3]|0,this.Ch=Pi[4]|0,this.Cl=Pi[5]|0,this.Dh=Pi[6]|0,this.Dl=Pi[7]|0,this.Eh=Pi[8]|0,this.El=Pi[9]|0,this.Fh=Pi[10]|0,this.Fl=Pi[11]|0,this.Gh=Pi[12]|0,this.Gl=Pi[13]|0,this.Hh=Pi[14]|0,this.Hl=Pi[15]|0}}const n_=G6(()=>new $X),i_=G6(()=>new r_),eJ=G6(()=>new JX),db=n_,tJ=BigInt(0),xd=BigInt(1),rJ=BigInt(2),nJ=BigInt(7),iJ=BigInt(256),aJ=BigInt(113),a_=[],s_=[],o_=[];for(let e=0,t=xd,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],a_.push(2*(5*n+r)),s_.push((e+1)*(e+2)/2%64);let a=tJ;for(let i=0;i<7;i++)t=(t<<xd^(t>>nJ)*aJ)%iJ,t&rJ&&(a^=xd<<(xd<<BigInt(i))-xd);o_.push(a)}const c_=e_(o_,!0),sJ=c_[0],oJ=c_[1],aE=(e,t,r)=>r>32?PX(e,t,r):RX(e,t,r),sE=(e,t,r)=>r>32?WX(e,t,r):UX(e,t,r);function cJ(e,t=24){const r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let o=0;o<10;o++)r[o]=e[o]^e[o+10]^e[o+20]^e[o+30]^e[o+40];for(let o=0;o<10;o+=2){const u=(o+8)%10,d=(o+2)%10,p=r[d],m=r[d+1],b=aE(p,m,1)^r[u],v=sE(p,m,1)^r[u+1];for(let C=0;C<50;C+=10)e[o+C]^=b,e[o+C+1]^=v}let a=e[2],i=e[3];for(let o=0;o<24;o++){const u=s_[o],d=aE(a,i,u),p=sE(a,i,u),m=a_[o];a=e[m],i=e[m+1],e[m]=d,e[m+1]=p}for(let o=0;o<50;o+=10){for(let u=0;u<10;u++)r[u]=e[o+u];for(let u=0;u<10;u++)e[o+u]^=~r[(u+2)%10]&r[(u+4)%10]}e[0]^=sJ[n],e[1]^=oJ[n]}yl(r)}let lJ=class l_ extends bx{constructor(t,r,n,a=!1,i=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=t,this.suffix=r,this.outputLen=n,this.enableXOF=a,this.rounds=i,Y1(n),!(0<t&&t<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=LX(this.state)}clone(){return this._cloneInto()}keccak(){eE(this.state32),cJ(this.state32,this.rounds),eE(this.state32),this.posOut=0,this.pos=0}update(t){hf(this),t=Oh(t),yc(t);const{blockLen:r,state:n}=this,a=t.length;for(let i=0;i<a;){const o=Math.min(r-this.pos,a-i);for(let u=0;u<o;u++)n[this.pos++]^=t[i++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:t,suffix:r,pos:n,blockLen:a}=this;t[n]^=r,r&128&&n===a-1&&this.keccak(),t[a-1]^=128,this.keccak()}writeInto(t){hf(this,!1),yc(t),this.finish();const r=this.state,{blockLen:n}=this;for(let a=0,i=t.length;a<i;){this.posOut>=n&&this.keccak();const o=Math.min(n-this.posOut,i-a);t.set(r.subarray(this.posOut,this.posOut+o),a),this.posOut+=o,a+=o}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return Y1(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(Qz(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,yl(this.state)}_cloneInto(t){const{blockLen:r,suffix:n,outputLen:a,rounds:i,enableXOF:o}=this;return t||(t=new l_(r,n,a,o,i)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=i,t.suffix=n,t.outputLen=a,t.enableXOF=o,t.destroyed=this.destroyed,t}};const u_=(e,t,r)=>G6(()=>new lJ(t,e,r)),sge=u_(6,136,256/8),ip=u_(1,136,256/8),oge=i_,uJ=eJ;class f_ extends bx{constructor(t,r){super(),this.finished=!1,this.destroyed=!1,NX(t);const n=Oh(r);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const a=this.blockLen,i=new Uint8Array(a);i.set(n.length>a?t.create().update(n).digest():n);for(let o=0;o<i.length;o++)i[o]^=54;this.iHash.update(i),this.oHash=t.create();for(let o=0;o<i.length;o++)i[o]^=106;this.oHash.update(i),yl(i)}update(t){return hf(this),this.iHash.update(t),this}digestInto(t){hf(this),yc(t,this.outputLen),this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}digest(){const t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}_cloneInto(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));const{oHash:r,iHash:n,finished:a,destroyed:i,blockLen:o,outputLen:u}=this;return t=t,t.finished=a,t.destroyed=i,t.blockLen=o,t.outputLen=u,t.oHash=r._cloneInto(t.oHash),t.iHash=n._cloneInto(t.iHash),t}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const d_=(e,t,r)=>new f_(e,t).update(r).digest();d_.create=(e,t)=>new f_(e,t);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Mx=BigInt(0),ap=BigInt(1);function Rh(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function xx(e){if(!Rh(e))throw new Error("Uint8Array expected")}function al(e,t){if(typeof t!="boolean")throw new Error(e+" boolean expected, got "+t)}function P2(e){const t=e.toString(16);return t.length&1?"0"+t:t}function h_(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);return e===""?Mx:BigInt("0x"+e)}const p_=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",fJ=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function pf(e){if(xx(e),p_)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=fJ[e[r]];return t}const Po={_0:48,_9:57,A:65,F:70,a:97,f:102};function oE(e){if(e>=Po._0&&e<=Po._9)return e-Po._0;if(e>=Po.A&&e<=Po.F)return e-(Po.A-10);if(e>=Po.a&&e<=Po.f)return e-(Po.a-10)}function sp(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);if(p_)return Uint8Array.fromHex(e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let a=0,i=0;a<r;a++,i+=2){const o=oE(e.charCodeAt(i)),u=oE(e.charCodeAt(i+1));if(o===void 0||u===void 0){const d=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+d+'" at index '+i)}n[a]=o*16+u}return n}function M0(e){return h_(pf(e))}function o1(e){return xx(e),h_(pf(Uint8Array.from(e).reverse()))}function Uh(e,t){return sp(e.toString(16).padStart(t*2,"0"))}function op(e,t){return Uh(e,t).reverse()}function Hn(e,t,r){let n;if(typeof t=="string")try{n=sp(t)}catch(i){throw new Error(e+" must be hex string or Uint8Array, cause: "+i)}else if(Rh(t))n=Uint8Array.from(t);else throw new Error(e+" must be hex string or Uint8Array");const a=n.length;if(typeof r=="number"&&a!==r)throw new Error(e+" of length "+r+" expected, got "+a);return n}function mf(...e){let t=0;for(let n=0;n<e.length;n++){const a=e[n];xx(a),t+=a.length}const r=new Uint8Array(t);for(let n=0,a=0;n<e.length;n++){const i=e[n];r.set(i,a),a+=i.length}return r}function cge(e){if(typeof e!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}const zm=e=>typeof e=="bigint"&&Mx<=e;function vx(e,t,r){return zm(e)&&zm(t)&&zm(r)&&t<=e&&e<r}function ks(e,t,r,n){if(!vx(t,r,n))throw new Error("expected valid "+e+": "+r+" <= n < "+n+", got "+t)}function dJ(e){let t;for(t=0;e>Mx;e>>=ap,t+=1);return t}function lge(e,t){return e>>BigInt(t)&ap}const Q6=e=>(ap<<BigInt(e))-ap,_m=e=>new Uint8Array(e),cE=e=>Uint8Array.from(e);function hJ(e,t,r){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof r!="function")throw new Error("hmacFn must be a function");let n=_m(e),a=_m(e),i=0;const o=()=>{n.fill(1),a.fill(0),i=0},u=(...b)=>r(a,n,...b),d=(b=_m(0))=>{a=u(cE([0]),b),n=u(),b.length!==0&&(a=u(cE([1]),b),n=u())},p=()=>{if(i++>=1e3)throw new Error("drbg: tried 1000 values");let b=0;const v=[];for(;b<t;){n=u();const C=n.slice();v.push(C),b+=n.length}return mf(...v)};return(b,v)=>{o(),d(b);let C;for(;!(C=v(p()));)d();return o(),C}}const pJ={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||Rh(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function Ph(e,t,r={}){const n=(a,i,o)=>{const u=pJ[i];if(typeof u!="function")throw new Error("invalid validator function");const d=e[a];if(!(o&&d===void 0)&&!u(d,e))throw new Error("param "+String(a)+" is invalid. Expected "+i+", got "+d)};for(const[a,i]of Object.entries(t))n(a,i,!1);for(const[a,i]of Object.entries(r))n(a,i,!0);return e}const uge=()=>{throw new Error("not implemented")};function cp(e){const t=new WeakMap;return(r,...n)=>{const a=t.get(r);if(a!==void 0)return a;const i=e(r,...n);return t.set(r,i),i}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const ma=BigInt(0),zi=BigInt(1),t0=BigInt(2),mJ=BigInt(3),m_=BigInt(4),g_=BigInt(5),y_=BigInt(8);function xn(e,t){const r=e%t;return r>=ma?r:t+r}function zn(e,t,r){let n=e;for(;t-- >ma;)n*=n,n%=r;return n}function hb(e,t){if(e===ma)throw new Error("invert: expected non-zero number");if(t<=ma)throw new Error("invert: expected positive modulus, got "+t);let r=xn(e,t),n=t,a=ma,i=zi;for(;r!==ma;){const u=n/r,d=n%r,p=a-i*u;n=r,r=d,a=i,i=p}if(n!==zi)throw new Error("invert: does not exist");return xn(a,t)}function b_(e,t){const r=(e.ORDER+zi)/m_,n=e.pow(t,r);if(!e.eql(e.sqr(n),t))throw new Error("Cannot find square root");return n}function gJ(e,t){const r=(e.ORDER-g_)/y_,n=e.mul(t,t0),a=e.pow(n,r),i=e.mul(t,a),o=e.mul(e.mul(i,t0),a),u=e.mul(i,e.sub(o,e.ONE));if(!e.eql(e.sqr(u),t))throw new Error("Cannot find square root");return u}function yJ(e){if(e<BigInt(3))throw new Error("sqrt is not defined for small field");let t=e-zi,r=0;for(;t%t0===ma;)t/=t0,r++;let n=t0;const a=Wh(e);for(;lE(a,n)===1;)if(n++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(r===1)return b_;let i=a.pow(n,t);const o=(t+zi)/t0;return function(d,p){if(d.is0(p))return p;if(lE(d,p)!==1)throw new Error("Cannot find square root");let m=r,b=d.mul(d.ONE,i),v=d.pow(p,t),C=d.pow(p,o);for(;!d.eql(v,d.ONE);){if(d.is0(v))return d.ZERO;let E=1,T=d.sqr(v);for(;!d.eql(T,d.ONE);)if(E++,T=d.sqr(T),E===m)throw new Error("Cannot find square root");const I=zi<<BigInt(m-E-1),D=d.pow(b,I);m=E,b=d.sqr(D),v=d.mul(v,b),C=d.mul(C,D)}return C}}function bJ(e){return e%m_===mJ?b_:e%y_===g_?gJ:yJ(e)}const MJ=(e,t)=>(xn(e,t)&zi)===zi,xJ=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function vJ(e){const t={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},r=xJ.reduce((n,a)=>(n[a]="function",n),t);return Ph(e,r)}function wJ(e,t,r){if(r<ma)throw new Error("invalid exponent, negatives unsupported");if(r===ma)return e.ONE;if(r===zi)return t;let n=e.ONE,a=t;for(;r>ma;)r&zi&&(n=e.mul(n,a)),a=e.sqr(a),r>>=zi;return n}function wx(e,t,r=!1){const n=new Array(t.length).fill(r?e.ZERO:void 0),a=t.reduce((o,u,d)=>e.is0(u)?o:(n[d]=o,e.mul(o,u)),e.ONE),i=e.inv(a);return t.reduceRight((o,u,d)=>e.is0(u)?o:(n[d]=e.mul(o,n[d]),e.mul(o,u)),i),n}function lE(e,t){const r=(e.ORDER-zi)/t0,n=e.pow(t,r),a=e.eql(n,e.ONE),i=e.eql(n,e.ZERO),o=e.eql(n,e.neg(e.ONE));if(!a&&!i&&!o)throw new Error("invalid Legendre symbol result");return a?1:i?0:-1}function M_(e,t){t!==void 0&&Y1(t);const r=t!==void 0?t:e.toString(2).length,n=Math.ceil(r/8);return{nBitLength:r,nByteLength:n}}function Wh(e,t,r=!1,n={}){if(e<=ma)throw new Error("invalid field: expected ORDER > 0, got "+e);const{nBitLength:a,nByteLength:i}=M_(e,t);if(i>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let o;const u=Object.freeze({ORDER:e,isLE:r,BITS:a,BYTES:i,MASK:Q6(a),ZERO:ma,ONE:zi,create:d=>xn(d,e),isValid:d=>{if(typeof d!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof d);return ma<=d&&d<e},is0:d=>d===ma,isOdd:d=>(d&zi)===zi,neg:d=>xn(-d,e),eql:(d,p)=>d===p,sqr:d=>xn(d*d,e),add:(d,p)=>xn(d+p,e),sub:(d,p)=>xn(d-p,e),mul:(d,p)=>xn(d*p,e),pow:(d,p)=>wJ(u,d,p),div:(d,p)=>xn(d*hb(p,e),e),sqrN:d=>d*d,addN:(d,p)=>d+p,subN:(d,p)=>d-p,mulN:(d,p)=>d*p,inv:d=>hb(d,e),sqrt:n.sqrt||(d=>(o||(o=bJ(e)),o(u,d))),toBytes:d=>r?op(d,i):Uh(d,i),fromBytes:d=>{if(d.length!==i)throw new Error("Field.fromBytes: expected "+i+" bytes, got "+d.length);return r?o1(d):M0(d)},invertBatch:d=>wx(u,d),cmov:(d,p,m)=>m?p:d});return Object.freeze(u)}function x_(e){if(typeof e!="bigint")throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function v_(e){const t=x_(e);return t+Math.ceil(t/2)}function CJ(e,t,r=!1){const n=e.length,a=x_(t),i=v_(t);if(n<16||n<i||n>1024)throw new Error("expected "+i+"-1024 bytes of input, got "+n);const o=r?o1(e):M0(e),u=xn(o,t-zi)+zi;return r?op(u,a):Uh(u,a)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const uE=BigInt(0),pb=BigInt(1);function Fm(e,t){const r=t.negate();return e?r:t}function w_(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function Om(e,t){w_(e,t);const r=Math.ceil(t/e)+1,n=2**(e-1),a=2**e,i=Q6(e),o=BigInt(e);return{windows:r,windowSize:n,mask:i,maxNumber:a,shiftBy:o}}function fE(e,t,r){const{windowSize:n,mask:a,maxNumber:i,shiftBy:o}=r;let u=Number(e&a),d=e>>o;u>n&&(u-=i,d+=pb);const p=t*n,m=p+Math.abs(u)-1,b=u===0,v=u<0,C=t%2!==0;return{nextN:d,offset:m,isZero:b,isNeg:v,isNegF:C,offsetF:p}}function AJ(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach((r,n)=>{if(!(r instanceof t))throw new Error("invalid point at index "+n)})}function EJ(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach((r,n)=>{if(!t.isValid(r))throw new Error("invalid scalar at index "+n)})}const Rm=new WeakMap,C_=new WeakMap;function Um(e){return C_.get(e)||1}function A_(e,t){return{constTimeNegate:Fm,hasPrecomputes(r){return Um(r)!==1},unsafeLadder(r,n,a=e.ZERO){let i=r;for(;n>uE;)n&pb&&(a=a.add(i)),i=i.double(),n>>=pb;return a},precomputeWindow(r,n){const{windows:a,windowSize:i}=Om(n,t),o=[];let u=r,d=u;for(let p=0;p<a;p++){d=u,o.push(d);for(let m=1;m<i;m++)d=d.add(u),o.push(d);u=d.double()}return o},wNAF(r,n,a){let i=e.ZERO,o=e.BASE;const u=Om(r,t);for(let d=0;d<u.windows;d++){const{nextN:p,offset:m,isZero:b,isNeg:v,isNegF:C,offsetF:E}=fE(a,d,u);a=p,b?o=o.add(Fm(C,n[E])):i=i.add(Fm(v,n[m]))}return{p:i,f:o}},wNAFUnsafe(r,n,a,i=e.ZERO){const o=Om(r,t);for(let u=0;u<o.windows&&a!==uE;u++){const{nextN:d,offset:p,isZero:m,isNeg:b}=fE(a,u,o);if(a=d,!m){const v=n[p];i=i.add(b?v.negate():v)}}return i},getPrecomputes(r,n,a){let i=Rm.get(n);return i||(i=this.precomputeWindow(n,r),r!==1&&Rm.set(n,a(i))),i},wNAFCached(r,n,a){const i=Um(r);return this.wNAF(i,this.getPrecomputes(i,r,a),n)},wNAFCachedUnsafe(r,n,a,i){const o=Um(r);return o===1?this.unsafeLadder(r,n,i):this.wNAFUnsafe(o,this.getPrecomputes(o,r,a),n,i)},setWindowSize(r,n){w_(n,t),C_.set(r,n),Rm.delete(r)}}}function E_(e,t,r,n){AJ(r,e),EJ(n,t);const a=r.length,i=n.length;if(a!==i)throw new Error("arrays of points and scalars must have equal length");const o=e.ZERO,u=dJ(BigInt(a));let d=1;u>12?d=u-3:u>4?d=u-2:u>0&&(d=2);const p=Q6(d),m=new Array(Number(p)+1).fill(o),b=Math.floor((t.BITS-1)/d)*d;let v=o;for(let C=b;C>=0;C-=d){m.fill(o);for(let T=0;T<i;T++){const I=n[T],D=Number(I>>BigInt(C)&p);m[D]=m[D].add(r[T])}let E=o;for(let T=m.length-1,I=o;T>0;T--)I=I.add(m[T]),E=E.add(I);if(v=v.add(E),C!==0)for(let T=0;T<d;T++)v=v.double()}return v}function Cx(e){return vJ(e.Fp),Ph(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...M_(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function dE(e){e.lowS!==void 0&&al("lowS",e.lowS),e.prehash!==void 0&&al("prehash",e.prehash)}function SJ(e){const t=Cx(e);Ph(t,{a:"field",b:"field"},{allowInfinityPoint:"boolean",allowedPrivateKeyLengths:"array",clearCofactor:"function",fromBytes:"function",isTorsionFree:"function",toBytes:"function",wrapPrivateKey:"boolean"});const{endo:r,Fp:n,a}=t;if(r){if(!n.eql(a,n.ZERO))throw new Error("invalid endo: CURVE.a must be 0");if(typeof r!="object"||typeof r.beta!="bigint"||typeof r.splitScalar!="function")throw new Error('invalid endo: expected "beta": bigint and "splitScalar": function')}return Object.freeze({...t})}class DJ extends Error{constructor(t=""){super(t)}}const Go={Err:DJ,_tlv:{encode:(e,t)=>{const{Err:r}=Go;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length&1)throw new r("tlv.encode: unpadded data");const n=t.length/2,a=P2(n);if(a.length/2&128)throw new r("tlv.encode: long form length too big");const i=n>127?P2(a.length/2|128):"";return P2(e)+i+a+t},decode(e,t){const{Err:r}=Go;let n=0;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length<2||t[n++]!==e)throw new r("tlv.decode: wrong tlv");const a=t[n++],i=!!(a&128);let o=0;if(!i)o=a;else{const d=a&127;if(!d)throw new r("tlv.decode(long): indefinite length not supported");if(d>4)throw new r("tlv.decode(long): byte length is too big");const p=t.subarray(n,n+d);if(p.length!==d)throw new r("tlv.decode: length bytes not complete");if(p[0]===0)throw new r("tlv.decode(long): zero leftmost byte");for(const m of p)o=o<<8|m;if(n+=d,o<128)throw new r("tlv.decode(long): not minimal encoding")}const u=t.subarray(n,n+o);if(u.length!==o)throw new r("tlv.decode: wrong value length");return{v:u,l:t.subarray(n+o)}}},_int:{encode(e){const{Err:t}=Go;if(e<qo)throw new t("integer: negative integers are not allowed");let r=P2(e);if(Number.parseInt(r[0],16)&8&&(r="00"+r),r.length&1)throw new t("unexpected DER parsing assertion: unpadded hex");return r},decode(e){const{Err:t}=Go;if(e[0]&128)throw new t("invalid signature integer: negative");if(e[0]===0&&!(e[1]&128))throw new t("invalid signature integer: unnecessary leading zero");return M0(e)}},toSig(e){const{Err:t,_int:r,_tlv:n}=Go,a=Hn("signature",e),{v:i,l:o}=n.decode(48,a);if(o.length)throw new t("invalid signature: left bytes after parsing");const{v:u,l:d}=n.decode(2,i),{v:p,l:m}=n.decode(2,d);if(m.length)throw new t("invalid signature: left bytes after parsing");return{r:r.decode(u),s:r.decode(p)}},hexFromSig(e){const{_tlv:t,_int:r}=Go,n=t.encode(2,r.encode(e.r)),a=t.encode(2,r.encode(e.s)),i=n+a;return t.encode(48,i)}};function Pm(e,t){return pf(Uh(e,t))}const qo=BigInt(0),li=BigInt(1);BigInt(2);const Wm=BigInt(3),TJ=BigInt(4);function IJ(e){const t=SJ(e),{Fp:r}=t,n=Wh(t.n,t.nBitLength),a=t.toBytes||((N,j,F)=>{const O=j.toAffine();return mf(Uint8Array.from([4]),r.toBytes(O.x),r.toBytes(O.y))}),i=t.fromBytes||(N=>{const j=N.subarray(1),F=r.fromBytes(j.subarray(0,r.BYTES)),O=r.fromBytes(j.subarray(r.BYTES,2*r.BYTES));return{x:F,y:O}});function o(N){const{a:j,b:F}=t,O=r.sqr(N),W=r.mul(O,N);return r.add(r.add(W,r.mul(N,j)),F)}function u(N,j){const F=r.sqr(j),O=o(N);return r.eql(F,O)}if(!u(t.Gx,t.Gy))throw new Error("bad curve params: generator point");const d=r.mul(r.pow(t.a,Wm),TJ),p=r.mul(r.sqr(t.b),BigInt(27));if(r.is0(r.add(d,p)))throw new Error("bad curve params: a or b");function m(N){return vx(N,li,t.n)}function b(N){const{allowedPrivateKeyLengths:j,nByteLength:F,wrapPrivateKey:O,n:W}=t;if(j&&typeof N!="bigint"){if(Rh(N)&&(N=pf(N)),typeof N!="string"||!j.includes(N.length))throw new Error("invalid private key");N=N.padStart(F*2,"0")}let _;try{_=typeof N=="bigint"?N:M0(Hn("private key",N,F))}catch{throw new Error("invalid private key, expected hex or "+F+" bytes, got "+typeof N)}return O&&(_=xn(_,W)),ks("private key",_,li,W),_}function v(N){if(!(N instanceof T))throw new Error("ProjectivePoint expected")}const C=cp((N,j)=>{const{px:F,py:O,pz:W}=N;if(r.eql(W,r.ONE))return{x:F,y:O};const _=N.is0();j==null&&(j=_?r.ONE:r.inv(W));const z=r.mul(F,j),k=r.mul(O,j),w=r.mul(W,j);if(_)return{x:r.ZERO,y:r.ZERO};if(!r.eql(w,r.ONE))throw new Error("invZ was invalid");return{x:z,y:k}}),E=cp(N=>{if(N.is0()){if(t.allowInfinityPoint&&!r.is0(N.py))return;throw new Error("bad point: ZERO")}const{x:j,y:F}=N.toAffine();if(!r.isValid(j)||!r.isValid(F))throw new Error("bad point: x or y not FE");if(!u(j,F))throw new Error("bad point: equation left != right");if(!N.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class T{constructor(j,F,O){if(j==null||!r.isValid(j))throw new Error("x required");if(F==null||!r.isValid(F)||r.is0(F))throw new Error("y required");if(O==null||!r.isValid(O))throw new Error("z required");this.px=j,this.py=F,this.pz=O,Object.freeze(this)}static fromAffine(j){const{x:F,y:O}=j||{};if(!j||!r.isValid(F)||!r.isValid(O))throw new Error("invalid affine point");if(j instanceof T)throw new Error("projective point not allowed");const W=_=>r.eql(_,r.ZERO);return W(F)&&W(O)?T.ZERO:new T(F,O,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(j){const F=wx(r,j.map(O=>O.pz));return j.map((O,W)=>O.toAffine(F[W])).map(T.fromAffine)}static fromHex(j){const F=T.fromAffine(i(Hn("pointHex",j)));return F.assertValidity(),F}static fromPrivateKey(j){return T.BASE.multiply(b(j))}static msm(j,F){return E_(T,n,j,F)}_setWindowSize(j){S.setWindowSize(this,j)}assertValidity(){E(this)}hasEvenY(){const{y:j}=this.toAffine();if(r.isOdd)return!r.isOdd(j);throw new Error("Field doesn't support isOdd")}equals(j){v(j);const{px:F,py:O,pz:W}=this,{px:_,py:z,pz:k}=j,w=r.eql(r.mul(F,k),r.mul(_,W)),s=r.eql(r.mul(O,k),r.mul(z,W));return w&&s}negate(){return new T(this.px,r.neg(this.py),this.pz)}double(){const{a:j,b:F}=t,O=r.mul(F,Wm),{px:W,py:_,pz:z}=this;let k=r.ZERO,w=r.ZERO,s=r.ZERO,l=r.mul(W,W),f=r.mul(_,_),h=r.mul(z,z),g=r.mul(W,_);return g=r.add(g,g),s=r.mul(W,z),s=r.add(s,s),k=r.mul(j,s),w=r.mul(O,h),w=r.add(k,w),k=r.sub(f,w),w=r.add(f,w),w=r.mul(k,w),k=r.mul(g,k),s=r.mul(O,s),h=r.mul(j,h),g=r.sub(l,h),g=r.mul(j,g),g=r.add(g,s),s=r.add(l,l),l=r.add(s,l),l=r.add(l,h),l=r.mul(l,g),w=r.add(w,l),h=r.mul(_,z),h=r.add(h,h),l=r.mul(h,g),k=r.sub(k,l),s=r.mul(h,f),s=r.add(s,s),s=r.add(s,s),new T(k,w,s)}add(j){v(j);const{px:F,py:O,pz:W}=this,{px:_,py:z,pz:k}=j;let w=r.ZERO,s=r.ZERO,l=r.ZERO;const f=t.a,h=r.mul(t.b,Wm);let g=r.mul(F,_),x=r.mul(O,z),A=r.mul(W,k),y=r.add(F,O),c=r.add(_,z);y=r.mul(y,c),c=r.add(g,x),y=r.sub(y,c),c=r.add(F,W);let M=r.add(_,k);return c=r.mul(c,M),M=r.add(g,A),c=r.sub(c,M),M=r.add(O,W),w=r.add(z,k),M=r.mul(M,w),w=r.add(x,A),M=r.sub(M,w),l=r.mul(f,c),w=r.mul(h,A),l=r.add(w,l),w=r.sub(x,l),l=r.add(x,l),s=r.mul(w,l),x=r.add(g,g),x=r.add(x,g),A=r.mul(f,A),c=r.mul(h,c),x=r.add(x,A),A=r.sub(g,A),A=r.mul(f,A),c=r.add(c,A),g=r.mul(x,c),s=r.add(s,g),g=r.mul(M,c),w=r.mul(y,w),w=r.sub(w,g),g=r.mul(y,x),l=r.mul(M,l),l=r.add(l,g),new T(w,s,l)}subtract(j){return this.add(j.negate())}is0(){return this.equals(T.ZERO)}wNAF(j){return S.wNAFCached(this,j,T.normalizeZ)}multiplyUnsafe(j){const{endo:F,n:O}=t;ks("scalar",j,qo,O);const W=T.ZERO;if(j===qo)return W;if(this.is0()||j===li)return this;if(!F||S.hasPrecomputes(this))return S.wNAFCachedUnsafe(this,j,T.normalizeZ);let{k1neg:_,k1:z,k2neg:k,k2:w}=F.splitScalar(j),s=W,l=W,f=this;for(;z>qo||w>qo;)z&li&&(s=s.add(f)),w&li&&(l=l.add(f)),f=f.double(),z>>=li,w>>=li;return _&&(s=s.negate()),k&&(l=l.negate()),l=new T(r.mul(l.px,F.beta),l.py,l.pz),s.add(l)}multiply(j){const{endo:F,n:O}=t;ks("scalar",j,li,O);let W,_;if(F){const{k1neg:z,k1:k,k2neg:w,k2:s}=F.splitScalar(j);let{p:l,f}=this.wNAF(k),{p:h,f:g}=this.wNAF(s);l=S.constTimeNegate(z,l),h=S.constTimeNegate(w,h),h=new T(r.mul(h.px,F.beta),h.py,h.pz),W=l.add(h),_=f.add(g)}else{const{p:z,f:k}=this.wNAF(j);W=z,_=k}return T.normalizeZ([W,_])[0]}multiplyAndAddUnsafe(j,F,O){const W=T.BASE,_=(k,w)=>w===qo||w===li||!k.equals(W)?k.multiplyUnsafe(w):k.multiply(w),z=_(this,F).add(_(j,O));return z.is0()?void 0:z}toAffine(j){return C(this,j)}isTorsionFree(){const{h:j,isTorsionFree:F}=t;if(j===li)return!0;if(F)return F(T,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:j,clearCofactor:F}=t;return j===li?this:F?F(T,this):this.multiplyUnsafe(t.h)}toRawBytes(j=!0){return al("isCompressed",j),this.assertValidity(),a(T,this,j)}toHex(j=!0){return al("isCompressed",j),pf(this.toRawBytes(j))}}T.BASE=new T(t.Gx,t.Gy,r.ONE),T.ZERO=new T(r.ZERO,r.ONE,r.ZERO);const{endo:I,nBitLength:D}=t,S=A_(T,I?Math.ceil(D/2):D);return{CURVE:t,ProjectivePoint:T,normPrivateKeyToScalar:b,weierstrassEquation:o,isWithinCurveOrder:m}}function NJ(e){const t=Cx(e);return Ph(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function LJ(e){const t=NJ(e),{Fp:r,n,nByteLength:a,nBitLength:i}=t,o=r.BYTES+1,u=2*r.BYTES+1;function d(h){return xn(h,n)}function p(h){return hb(h,n)}const{ProjectivePoint:m,normPrivateKeyToScalar:b,weierstrassEquation:v,isWithinCurveOrder:C}=IJ({...t,toBytes(h,g,x){const A=g.toAffine(),y=r.toBytes(A.x),c=mf;return al("isCompressed",x),x?c(Uint8Array.from([g.hasEvenY()?2:3]),y):c(Uint8Array.from([4]),y,r.toBytes(A.y))},fromBytes(h){const g=h.length,x=h[0],A=h.subarray(1);if(g===o&&(x===2||x===3)){const y=M0(A);if(!vx(y,li,r.ORDER))throw new Error("Point is not on curve");const c=v(y);let M;try{M=r.sqrt(c)}catch(Q){const K=Q instanceof Error?": "+Q.message:"";throw new Error("Point is not on curve"+K)}const B=(M&li)===li;return(x&1)===1!==B&&(M=r.neg(M)),{x:y,y:M}}else if(g===u&&x===4){const y=r.fromBytes(A.subarray(0,r.BYTES)),c=r.fromBytes(A.subarray(r.BYTES,2*r.BYTES));return{x:y,y:c}}else{const y=o,c=u;throw new Error("invalid Point, expected length of "+y+", or uncompressed "+c+", got "+g)}}});function E(h){const g=n>>li;return h>g}function T(h){return E(h)?d(-h):h}const I=(h,g,x)=>M0(h.slice(g,x));class D{constructor(g,x,A){ks("r",g,li,n),ks("s",x,li,n),this.r=g,this.s=x,A!=null&&(this.recovery=A),Object.freeze(this)}static fromCompact(g){const x=a;return g=Hn("compactSignature",g,x*2),new D(I(g,0,x),I(g,x,2*x))}static fromDER(g){const{r:x,s:A}=Go.toSig(Hn("DER",g));return new D(x,A)}assertValidity(){}addRecoveryBit(g){return new D(this.r,this.s,g)}recoverPublicKey(g){const{r:x,s:A,recovery:y}=this,c=W(Hn("msgHash",g));if(y==null||![0,1,2,3].includes(y))throw new Error("recovery id invalid");const M=y===2||y===3?x+t.n:x;if(M>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");const B=y&1?"03":"02",R=m.fromHex(B+Pm(M,r.BYTES)),Q=p(M),K=d(-c*Q),q=d(A*Q),P=m.BASE.multiplyAndAddUnsafe(R,K,q);if(!P)throw new Error("point at infinify");return P.assertValidity(),P}hasHighS(){return E(this.s)}normalizeS(){return this.hasHighS()?new D(this.r,d(-this.s),this.recovery):this}toDERRawBytes(){return sp(this.toDERHex())}toDERHex(){return Go.hexFromSig(this)}toCompactRawBytes(){return sp(this.toCompactHex())}toCompactHex(){const g=a;return Pm(this.r,g)+Pm(this.s,g)}}const S={isValidPrivateKey(h){try{return b(h),!0}catch{return!1}},normPrivateKeyToScalar:b,randomPrivateKey:()=>{const h=v_(t.n);return CJ(t.randomBytes(h),t.n)},precompute(h=8,g=m.BASE){return g._setWindowSize(h),g.multiply(BigInt(3)),g}};function N(h,g=!0){return m.fromPrivateKey(h).toRawBytes(g)}function j(h){if(typeof h=="bigint")return!1;if(h instanceof m)return!0;const x=Hn("key",h).length,A=r.BYTES,y=A+1,c=2*A+1;if(!(t.allowedPrivateKeyLengths||a===y))return x===y||x===c}function F(h,g,x=!0){if(j(h)===!0)throw new Error("first arg must be private key");if(j(g)===!1)throw new Error("second arg must be public key");return m.fromHex(g).multiply(b(h)).toRawBytes(x)}const O=t.bits2int||function(h){if(h.length>8192)throw new Error("input is too large");const g=M0(h),x=h.length*8-i;return x>0?g>>BigInt(x):g},W=t.bits2int_modN||function(h){return d(O(h))},_=Q6(i);function z(h){return ks("num < 2^"+i,h,qo,_),Uh(h,a)}function k(h,g,x=w){if(["recovered","canonical"].some(X=>X in x))throw new Error("sign() legacy options not supported");const{hash:A,randomBytes:y}=t;let{lowS:c,prehash:M,extraEntropy:B}=x;c==null&&(c=!0),h=Hn("msgHash",h),dE(x),M&&(h=Hn("prehashed msgHash",A(h)));const R=W(h),Q=b(g),K=[z(Q),z(R)];if(B!=null&&B!==!1){const X=B===!0?y(r.BYTES):B;K.push(Hn("extraEntropy",X))}const q=mf(...K),P=R;function G(X){const ne=O(X);if(!C(ne))return;const te=p(ne),V=m.BASE.multiply(ne).toAffine(),oe=d(V.x);if(oe===qo)return;const xe=d(te*d(P+oe*Q));if(xe===qo)return;let fe=(V.x===oe?0:2)|Number(V.y&li),me=xe;return c&&E(xe)&&(me=T(xe),fe^=1),new D(oe,me,fe)}return{seed:q,k2sig:G}}const w={lowS:t.lowS,prehash:!1},s={lowS:t.lowS,prehash:!1};function l(h,g,x=w){const{seed:A,k2sig:y}=k(h,g,x),c=t;return hJ(c.hash.outputLen,c.nByteLength,c.hmac)(A,y)}m.BASE._setWindowSize(8);function f(h,g,x,A=s){var fe;const y=h;g=Hn("msgHash",g),x=Hn("publicKey",x);const{lowS:c,prehash:M,format:B}=A;if(dE(A),"strict"in A)throw new Error("options.strict was renamed to lowS");if(B!==void 0&&B!=="compact"&&B!=="der")throw new Error("format must be compact or der");const R=typeof y=="string"||Rh(y),Q=!R&&!B&&typeof y=="object"&&y!==null&&typeof y.r=="bigint"&&typeof y.s=="bigint";if(!R&&!Q)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let K,q;try{if(Q&&(K=new D(y.r,y.s)),R){try{B!=="compact"&&(K=D.fromDER(y))}catch(me){if(!(me instanceof Go.Err))throw me}!K&&B!=="der"&&(K=D.fromCompact(y))}q=m.fromHex(x)}catch{return!1}if(!K||c&&K.hasHighS())return!1;M&&(g=t.hash(g));const{r:P,s:G}=K,X=W(g),ne=p(G),te=d(X*ne),V=d(P*ne),oe=(fe=m.BASE.multiplyAndAddUnsafe(q,te,V))==null?void 0:fe.toAffine();return oe?d(oe.x)===P:!1}return{CURVE:t,getPublicKey:N,getSharedSecret:F,sign:l,verify:f,ProjectivePoint:m,Signature:D,utils:S}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function jJ(e){return{hash:e,hmac:(t,...r)=>d_(e,t,kX(...r)),randomBytes:Xz}}function BJ(e,t){const r=n=>LJ({...e,...jJ(n)});return{...r(t),create:r}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const S_=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),hE=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),kJ=BigInt(0),zJ=BigInt(1),mb=BigInt(2),pE=(e,t)=>(e+t/mb)/t;function _J(e){const t=S_,r=BigInt(3),n=BigInt(6),a=BigInt(11),i=BigInt(22),o=BigInt(23),u=BigInt(44),d=BigInt(88),p=e*e*e%t,m=p*p*e%t,b=zn(m,r,t)*m%t,v=zn(b,r,t)*m%t,C=zn(v,mb,t)*p%t,E=zn(C,a,t)*C%t,T=zn(E,i,t)*E%t,I=zn(T,u,t)*T%t,D=zn(I,d,t)*I%t,S=zn(D,u,t)*T%t,N=zn(S,r,t)*m%t,j=zn(N,o,t)*E%t,F=zn(j,n,t)*p%t,O=zn(F,mb,t);if(!gb.eql(gb.sqr(O),e))throw new Error("Cannot find square root");return O}const gb=Wh(S_,void 0,void 0,{sqrt:_J}),r0=BJ({a:kJ,b:BigInt(7),Fp:gb,n:hE,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=hE,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-zJ*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),a=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=r,o=BigInt("0x100000000000000000000000000000000"),u=pE(i*e,t),d=pE(-n*e,t);let p=xn(e-u*r-d*a,t),m=xn(-u*n-d*i,t);const b=p>o,v=m>o;if(b&&(p=t-p),v&&(m=t-m),p>o||m>o)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:b,k1:p,k2neg:v,k2:m}}}},n_);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Vs=BigInt(0),Ki=BigInt(1),mE=BigInt(2),FJ=BigInt(8),OJ={zip215:!0};function RJ(e){const t=Cx(e);return Ph(e,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...t})}function UJ(e){const t=RJ(e),{Fp:r,n,prehash:a,hash:i,randomBytes:o,nByteLength:u,h:d}=t,p=mE<<BigInt(u*8)-Ki,m=r.create,b=Wh(t.n,t.nBitLength);function v(A,y){const c=r.sqr(A),M=r.sqr(y),B=r.add(r.mul(t.a,c),M),R=r.add(r.ONE,r.mul(t.d,r.mul(c,M)));return r.eql(B,R)}if(!v(t.Gx,t.Gy))throw new Error("bad curve params: generator point");const C=t.uvRatio||((A,y)=>{try{return{isValid:!0,value:r.sqrt(A*r.inv(y))}}catch{return{isValid:!1,value:Vs}}}),E=t.adjustScalarBytes||(A=>A),T=t.domain||((A,y,c)=>{if(al("phflag",c),y.length||c)throw new Error("Contexts/pre-hash are not supported");return A});function I(A,y,c=!1){const M=c?Ki:Vs;ks("coordinate "+A,y,M,p)}function D(A){if(!(A instanceof j))throw new Error("ExtendedPoint expected")}const S=cp((A,y)=>{const{ex:c,ey:M,ez:B}=A,R=A.is0();y==null&&(y=R?FJ:r.inv(B));const Q=m(c*y),K=m(M*y),q=m(B*y);if(R)return{x:Vs,y:Ki};if(q!==Ki)throw new Error("invZ was invalid");return{x:Q,y:K}}),N=cp(A=>{const{a:y,d:c}=t;if(A.is0())throw new Error("bad point: ZERO");const{ex:M,ey:B,ez:R,et:Q}=A,K=m(M*M),q=m(B*B),P=m(R*R),G=m(P*P),X=m(K*y),ne=m(P*m(X+q)),te=m(G+m(c*m(K*q)));if(ne!==te)throw new Error("bad point: equation left != right (1)");const V=m(M*B),oe=m(R*Q);if(V!==oe)throw new Error("bad point: equation left != right (2)");return!0});class j{constructor(y,c,M,B){I("x",y),I("y",c),I("z",M,!0),I("t",B),this.ex=y,this.ey=c,this.ez=M,this.et=B,Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(y){if(y instanceof j)throw new Error("extended point not allowed");const{x:c,y:M}=y||{};return I("x",c),I("y",M),new j(c,M,Ki,m(c*M))}static normalizeZ(y){const c=wx(r,y.map(M=>M.ez));return y.map((M,B)=>M.toAffine(c[B])).map(j.fromAffine)}static msm(y,c){return E_(j,b,y,c)}_setWindowSize(y){W.setWindowSize(this,y)}assertValidity(){N(this)}equals(y){D(y);const{ex:c,ey:M,ez:B}=this,{ex:R,ey:Q,ez:K}=y,q=m(c*K),P=m(R*B),G=m(M*K),X=m(Q*B);return q===P&&G===X}is0(){return this.equals(j.ZERO)}negate(){return new j(m(-this.ex),this.ey,this.ez,m(-this.et))}double(){const{a:y}=t,{ex:c,ey:M,ez:B}=this,R=m(c*c),Q=m(M*M),K=m(mE*m(B*B)),q=m(y*R),P=c+M,G=m(m(P*P)-R-Q),X=q+Q,ne=X-K,te=q-Q,V=m(G*ne),oe=m(X*te),xe=m(G*te),fe=m(ne*X);return new j(V,oe,fe,xe)}add(y){D(y);const{a:c,d:M}=t,{ex:B,ey:R,ez:Q,et:K}=this,{ex:q,ey:P,ez:G,et:X}=y,ne=m(B*q),te=m(R*P),V=m(K*M*X),oe=m(Q*G),xe=m((B+R)*(q+P)-ne-te),fe=oe-V,me=oe+V,Ze=m(te-c*ne),he=m(xe*fe),Se=m(me*Ze),Ke=m(xe*Ze),ye=m(fe*me);return new j(he,Se,ye,Ke)}subtract(y){return this.add(y.negate())}wNAF(y){return W.wNAFCached(this,y,j.normalizeZ)}multiply(y){const c=y;ks("scalar",c,Ki,n);const{p:M,f:B}=this.wNAF(c);return j.normalizeZ([M,B])[0]}multiplyUnsafe(y,c=j.ZERO){const M=y;return ks("scalar",M,Vs,n),M===Vs?O:this.is0()||M===Ki?this:W.wNAFCachedUnsafe(this,M,j.normalizeZ,c)}isSmallOrder(){return this.multiplyUnsafe(d).is0()}isTorsionFree(){return W.unsafeLadder(this,n).is0()}toAffine(y){return S(this,y)}clearCofactor(){const{h:y}=t;return y===Ki?this:this.multiplyUnsafe(y)}static fromHex(y,c=!1){const{d:M,a:B}=t,R=r.BYTES;y=Hn("pointHex",y,R),al("zip215",c);const Q=y.slice(),K=y[R-1];Q[R-1]=K&-129;const q=o1(Q),P=c?p:r.ORDER;ks("pointHex.y",q,Vs,P);const G=m(q*q),X=m(G-Ki),ne=m(M*G-B);let{isValid:te,value:V}=C(X,ne);if(!te)throw new Error("Point.fromHex: invalid y coordinate");const oe=(V&Ki)===Ki,xe=(K&128)!==0;if(!c&&V===Vs&&xe)throw new Error("Point.fromHex: x=0 and x_0=1");return xe!==oe&&(V=m(-V)),j.fromAffine({x:V,y:q})}static fromPrivateKey(y){const{scalar:c}=k(y);return F.multiply(c)}toRawBytes(){const{x:y,y:c}=this.toAffine(),M=op(c,r.BYTES);return M[M.length-1]|=y&Ki?128:0,M}toHex(){return pf(this.toRawBytes())}}j.BASE=new j(t.Gx,t.Gy,Ki,m(t.Gx*t.Gy)),j.ZERO=new j(Vs,Ki,Ki,Vs);const{BASE:F,ZERO:O}=j,W=A_(j,u*8);function _(A){return xn(A,n)}function z(A){return _(o1(A))}function k(A){const y=r.BYTES;A=Hn("private key",A,y);const c=Hn("hashed private key",i(A),2*y),M=E(c.slice(0,y)),B=c.slice(y,2*y),R=z(M);return{head:M,prefix:B,scalar:R}}function w(A){const{head:y,prefix:c,scalar:M}=k(A),B=F.multiply(M),R=B.toRawBytes();return{head:y,prefix:c,scalar:M,point:B,pointBytes:R}}function s(A){return w(A).pointBytes}function l(A=Uint8Array.of(),...y){const c=mf(...y);return z(i(T(c,Hn("context",A),!!a)))}function f(A,y,c={}){A=Hn("message",A),a&&(A=a(A));const{prefix:M,scalar:B,pointBytes:R}=w(y),Q=l(c.context,M,A),K=F.multiply(Q).toRawBytes(),q=l(c.context,K,R,A),P=_(Q+q*B);ks("signature.s",P,Vs,n);const G=mf(K,op(P,r.BYTES));return Hn("result",G,r.BYTES*2)}const h=OJ;function g(A,y,c,M=h){const{context:B,zip215:R}=M,Q=r.BYTES;A=Hn("signature",A,2*Q),y=Hn("message",y),c=Hn("publicKey",c,Q),R!==void 0&&al("zip215",R),a&&(y=a(y));const K=o1(A.slice(Q,2*Q));let q,P,G;try{q=j.fromHex(c,R),P=j.fromHex(A.slice(0,Q),R),G=F.multiplyUnsafe(K)}catch{return!1}if(!R&&q.isSmallOrder())return!1;const X=l(B,P.toRawBytes(),q.toRawBytes(),y);return P.add(q.multiplyUnsafe(X)).subtract(G).clearCofactor().equals(j.ZERO)}return F._setWindowSize(8),{CURVE:t,getPublicKey:s,sign:f,verify:g,ExtendedPoint:j,utils:{getExtendedPublicKey:w,randomPrivateKey:()=>o(r.BYTES),precompute(A=8,y=j.BASE){return y._setWindowSize(A),y.multiply(BigInt(3)),y}}}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Ax=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),gE=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");BigInt(0);const PJ=BigInt(1),yE=BigInt(2);BigInt(3);const WJ=BigInt(5),HJ=BigInt(8);function YJ(e){const t=BigInt(10),r=BigInt(20),n=BigInt(40),a=BigInt(80),i=Ax,u=e*e%i*e%i,d=zn(u,yE,i)*u%i,p=zn(d,PJ,i)*e%i,m=zn(p,WJ,i)*p%i,b=zn(m,t,i)*m%i,v=zn(b,r,i)*b%i,C=zn(v,n,i)*v%i,E=zn(C,a,i)*C%i,T=zn(E,a,i)*C%i,I=zn(T,t,i)*m%i;return{pow_p_5_8:zn(I,yE,i)*e%i,b2:u}}function ZJ(e){return e[0]&=248,e[31]&=127,e[31]|=64,e}function GJ(e,t){const r=Ax,n=xn(t*t*t,r),a=xn(n*n*t,r),i=YJ(e*a).pow_p_5_8;let o=xn(e*n*i,r);const u=xn(t*o*o,r),d=o,p=xn(o*gE,r),m=u===e,b=u===xn(-e,r),v=u===xn(-e*gE,r);return m&&(o=d),(b||v)&&(o=p),MJ(o,r)&&(o=xn(-o,r)),{isValid:m||b,value:o}}const bE=Wh(Ax,void 0,!0),QJ={a:bE.create(BigInt(-1)),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:bE,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:HJ,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:i_,randomBytes:Xz,adjustScalarBytes:ZJ,uvRatio:GJ},Qf=UJ(QJ),qJ=[{name:"appIdPrefix",binary:"bytes",custom:ai.encode("appID"),omit:!0},{name:"appId",binary:"uint",size:8}],Xs=class Xs{constructor(t,r="hex"){Ye(this,"address");this.address=typeof t=="string"?Xs.stringToUint8Array(t,r):t}toNative(t){return va(t,this)}unwrap(){return this.address}toString(){return Xr.encode(this.address,!0)}toUint8Array(){return this.address}toUniversalAddress(){return this}equals(t){return ai.equals(this.address,t.address)}static isValidAddress(t,r="hex"){return!AK(()=>Xs.stringToUint8Array(t,r))}static instanceof(t){return typeof t=="object"&&"constructor"in t&&t.constructor.type===Xs.type}static stringToUint8Array(t,r){const n=(()=>{switch(r){case"hex":if(![40,2*this.byteSize].includes(t.length-(t.startsWith("0x")?2:0)))throw new Error(`string ${t} has invalid length for format ${r}`);return Xr.decode(t);case"base58":return $K.decode(t);case"bech32":return Du.decodeToBytes(t).bytes;case"algorandAppId":return uJ(mc(qJ,{appId:BigInt(t)}));case"sha256":return db(t)}})();if(n.length>Xs.byteSize)throw new Error(`string ${t} has invalid length for format ${r}`);return n.length<Xs.byteSize?ai.zpad(n,Xs.byteSize):n}};Ye(Xs,"byteSize",32),Ye(Xs,"type","Universal");let dn=Xs;function VJ(e){return typeof e=="object"&&"setChain"in e}const yb=new Map;function qf(e,t){yb.has(e)||yb.set(e,t)}function va(e,t){const r=Yn.get(e),n=yb.get(r);if(!n)throw new Error(`No native address type registered for platform ${r}, import the platform directly or, if using sdk package, import the addresses conditional export`);try{const a=new n(t);return VJ(a)&&a.setChain(e),a}catch(a){const i=`Error parsing address as a native ${e} address: ${a.message}`;if(dn.instanceof(t))throw i;return new dn(t).toNative(e)}}function $J(e,t){const r=Yn.get(e);return new dn(t,XK.get(r))}const bb=(e,t)=>e?`${e}:${t}`:t,Mb=new Map;function KJ(e,t,r){const n=bb(e,t);if(Mb.has(n))throw new Error(`Payload type ${n} already registered`);Mb.set(n,r)}function xi(e,t){for(const[r,n]of t)KJ(e,r,n)}const _i={binary:"uint",size:32},XJ={binary:"uint",size:2},ga=e=>({...XJ,custom:{to:t=>{if(t===0){if(!(e!=null&&e.allowNull))throw new Error("ChainId 0 is not valid for this protocol and action");return null}const r=Fh(t),n=(e==null?void 0:e.allowedChains)??_z;if(!n.includes(r))throw new Error(`Chain ${r} not in allowed chains ${n}`);return r},from:t=>t==null?0:H6(t)}}),Z1={binary:"uint",size:4},Ex={binary:"uint",size:8},D_={binary:"uint",size:4},Cl=e=>({name:"payloadId",binary:"uint",size:1,custom:e,omit:!0}),Sx={binary:"uint",size:8};class JJ{constructor(t,r,n){Ye(this,"r");Ye(this,"s");Ye(this,"v");this.r=t,this.s=r,this.v=n}encode(){return mc(xb,this)}static decode(t){return gc(xb,t)}}var ME;(function(e){function t(i){return r0.getPublicKey(i)}e.toPubkey=t;function r(i,o){if(o.length!=32)throw new Error("hash.length != 32");return r0.sign(o,i)}e.sign=r;function n(i,o,u){const{r:d,s:p}=i;return r0.verify({r:d,s:p},u,o)}e.validate=n;function a(i,o){const{r:u,s:d,v:p}=i,m=new r0.Signature(u,d);return m.recovery=p,m.recoverPublicKey(o).toRawBytes()}e.recover=a})(ME||(ME={}));const eee=[{name:"r",binary:"uint",size:32},{name:"s",binary:"uint",size:32},{name:"v",binary:"uint",size:1}],xb={binary:"bytes",layout:eee,custom:{to:e=>new JJ(e.r,e.s,e.v),from:e=>({r:e.r,s:e.s,v:e.v})}},wr={binary:"bytes",size:32,custom:{to:e=>new dn(e),from:e=>e.toUint8Array()}},tee=e=>{const t=e.findIndex(r=>r!==0);return-1<t?e.slice(t):new Uint8Array([])},ree={to:ai.decode,from:ai.encode},T_=e=>({binary:"bytes",size:e,custom:{to:t=>ai.decode(tee(t)),from:t=>ai.zpad(ai.encode(t),e)}});function nee(e){const t=e.indexOf(":");return t!==-1?[e.slice(0,t),e.slice(t+1)]:[null,e]}const iee=[{name:"guardianIndex",binary:"uint",size:1},{name:"signature",...xb}],I_=[{name:"version",binary:"uint",size:1,custom:1,omit:!0},{name:"guardianSet",...D_},{name:"signatures",binary:"array",lengthSize:1,layout:iee}],N_=[{name:"timestamp",binary:"uint",size:4},{name:"nonce",binary:"uint",size:4},{name:"emitterChain",...ga()},{name:"emitterAddress",...wr},{name:"sequence",...Sx},{name:"consistencyLevel",binary:"uint",size:1}],aee=[...I_,...N_];function G1(e){const t=Mb.get(e);if(!t)throw new Error(`No layout registered for payload type ${e}`);return t}function see(e){return{name:"payload",binary:"bytes",...e==="Uint8Array"?{}:{layout:G1(e)}}}function vb(e){const t=[...aee,see(e.payloadLiteral)];return mc(t,e)}function fge(e,t){if(e==="Uint8Array")return t;const r=G1(e);return mc(r,t)}function Dx(e,t){const r=(()=>{if(Array.isArray(e[0]))return e.flatMap(([o,u])=>u.map(d=>bb(o,d)));if(typeof e[1]=="string")return e;const[a,i]=e;return i.map(o=>bb(a,o))})(),n=kK(r.map(a=>G1(a)));return a=>{typeof a=="string"&&(a=Xr.decode(a));const i=n(a);return Array.isArray(i)?i.map(o=>r[o]):i!==null?r[i]:null}}function Q1(e,t){typeof t=="string"&&(t=Xr.decode(t));const[r,n]=gc(I_,t,!1);for(let C=1;C<r.signatures.length;++C)if(r.signatures[C].guardianIndex<=r.signatures[C-1].guardianIndex)throw new Error("Guardian signatures must be in ascending order of guardian set index");const a=n,[i,o]=gc(N_,t.subarray(a),!1),u=a+o,[d,p]=typeof e=="string"?[e,xE(e,t.subarray(u))]:xE(e,t.subarray(u)),[m,b]=nee(d),v=ip(t.slice(a));return{protocolName:m,payloadName:b,payloadLiteral:d,...r,...i,payload:p,hash:v}}function xE(e,t,r=0){return(()=>{if(typeof t=="string"&&(t=Xr.decode(t)),e==="Uint8Array")return t.slice(r);if(typeof e=="string")return gc(G1(e),t.subarray(r));const n=e(t.slice(r));if(n===null)throw new Error(`Encoded data does not match any of the given payload types - ${t}`);return[n,gc(G1(n),t.subarray(r))]})()}const oee=[["Ethereum",[["ETH",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETH"}],["WETH",{symbol:"WETH",decimals:18,address:"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"}],["USDT",{symbol:"USDT",decimals:6,address:"0xdac17f958d2ee523a2206206994597c13d831ec7"}],["DAI",{symbol:"DAI",decimals:18,address:"0x6b175474e89094c44da98b954eedeac495271d0f"}],["BUSD",{symbol:"BUSD",decimals:18,address:"0x4fabb145d64652a948d72533023f6e7a623c7c53"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x7c9f4C87d911613Fe9ca58b579f737911AAD2D43",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x418D75f65a02b3D53B2418FB8E1fe493759c7605",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x7cd167B101D2808Cfd2C45d17b2E7EA9F46b74B6",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x85f138bfEE4ef8e540890CFb48F620571d67Eda3",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x39EbF69137D98FB7659Ef8D4ea21ec26394389d7",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x4cD2690d86284e044cb63E60F1EB218a825a7e92",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x3294395e62F4eB6aF3f1Fcf89f5602D90Fb3Ef69",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x93d3696A9F879b331f40CB5059e37015423A3Bd0",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xD31a59c85aE9D8edEFeC411D448f90841571b89c",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x41f7B8b9b897276b7AAE926a9016935280b44E97",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x84074EA631dEc7a4edcD5303d164D5dEa4c653D6",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x8CDf7AF57E4c8B930e1B23c477c22f076530585e",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0xb945E3F853B5f8033C8513Cf3cE9F8AD9beBB1c9",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xCFc006a32a98031C2338BF9d5ff8ED2c0Cae4a9e",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x8B5653Ae095529155462eDa8CF664eD96773F557",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x1D4241F7370253C0f12EFC536B7e16E462Fb3526",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x18084fbA666a33d37592fA2633fD49a74DD93a88"}],["tBTCpolygon",{symbol:"tBTC",decimals:18,address:"0xb4c624dBC50804dA086cf2380cD55dEBC0d22E96",original:"Polygon"}],["tBTCoptimism",{symbol:"tBTC",decimals:18,address:"0xB8d1E0642bFD3744CaBd2ca8830cFabE19b2Ca54",original:"Optimism"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x4F3819A6cfF717BFfE801a75c73A984141c76589",original:"Arbitrum"}],["tBTCbase",{symbol:"tBTC",decimals:18,address:"0x733F28B3e315046Db01dAbC292D6F0F7F26C4551",original:"Base"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x9AEA32B459e96C8eF5010f69130bf95fd129ac05",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0xeFc0CED4B3D536103e76a1c4c74F0385C8F4Bdd3",original:"Solana"}]]],["Bsc",[["WETH",{symbol:"WETH",decimals:18,address:"0x4DB5a66E937A9F4473fA95b1cAF1d1E1D62E29EA",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xB04906e95AB5D797aDA81508115611fee694c2b3",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x43359676E1A3F9FbB5de095333f8e9c1B46dFA44",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x524bC91Dc82d6b90EF29F76A3ECAaBAffFD490Bc",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x3413a030EF81a3dD5a302F4B4D11d911e12ed337",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:18,address:"0x035de3679E692C471072d1A09bEb9298fBB2BD31",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0xc836d8dC361E44DbE64c4862D55BA041F88Ddd39",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0xe6d82Bbe75041E42E51d755e922cE1BA91af9c4d",original:"Polygon"}],["BNB",{symbol:"BNB",decimals:18,address:"native",wrappedKey:"WBNB"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x96412902aa9aFf61E13f085e70D3152C6ef2a817",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xc88Dc63bf0c8c8198C97Db0945E3eF25Ca89A8e4",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xbF8413EE8612E0E4f66Aa63B5ebE27f3C5883d47",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x2A335e327a55b177f5B40132fEC5D7298aa0D7e6",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x1C063db3c621BF901FC6C1D03328b08b2F9bbfba",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xfA54fF1a158B5189Ebba6ae130CEd6bbd3aEA76e",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x91Ca579B0D47E5cfD5D0862c21D5659d39C8eCf0",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x8314f6Bf1B4dd8604A0fC33C84F9AF2fc07AABC8",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x2Ba98cf7Edd2c5C794e21bc3Dc6973D3C2585eE3",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0xaA1eEdABC48D078350ccBdD620bD088848e299E5",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0x5caa170b465122D15a6D20FD9A804a9613CE7882",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x94AEc09B5e2CE591e39DC6aa58A3A6E85Ed45265",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xa41ae127D04F7ee73B5058E2C60Fb7c7A2D21F79",original:"Optimism"}],["WETHbsc",{symbol:"WETH",decimals:18,address:"0x2170Ed0880ac9A755fd29B2688956BD959F933F8"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x9dc152F4941cE1A138326e70c3600385bf0C22dD",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x55CaD531c8E303Cab8B3BE4bB4744Db4f896ac81",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x94c97dd3Bde5bC1406BCe82E7941A6365968521D",original:"Ethereum"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0xad80E1A9B5824234afA9dE1F3bbDb8a994796169",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0xEA970e7b7D131Ea36c3051C9Ca11e785462fE00c",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0xb0188B0bb2cD4a6D2744637fC83C94a284B247Da",original:"Solana"}],["USDTbsc",{symbol:"USDT",decimals:18,address:"0x55d398326f99059fF775485246999027B3197955"}]]],["Polygon",[["WETH",{symbol:"WETH",decimals:18,address:"0x11CD37bb86F65419713f30673A480EA33c826872",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x4318CB63A2b8edf2De971E2F17F77097e499459D",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x5D49c278340655B56609FdF8976eb0612aF3a0C3",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x9417669fBF23357D2774e9D421307bd5eA1006d2",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x732EB1747ecCFC431fF19bc359ffc83755B1918c",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:18,address:"0x95ea750420da26bE1Ab0891e209e921bCd84763f",original:"Ethereum"}],["MATIC",{symbol:"MATIC",decimals:18,address:"native",wrappedKey:"WMATIC"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"}],["WETHpolygon",{symbol:"WETH",decimals:18,address:"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xeCDCB5B88F8e3C15f95c720C51c71c9E2080525d",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x4B3a922c773BDCF3BA8f1A4FDAc2029E1D0E9868",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x7Bb11E7f8b10E9e571E5d8Eace04735fDFB2358a",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xAEA5CC14DefbC1b845FDE729E563B717Ee6825ae",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x3726831304D77f585f1Aca9d9841cc3Ef80dAa62",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x922F49a9911effc034eE756196E59BE7b90D43b3",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xcC48d6CF842083fEc0E01d913fB964b585975F05",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xd93f7E271cB87c23AaA73edC008A79646d1F9912",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x576Cf361711cd940CD9C397BB98C4C896cBd38De",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x34bE049fEbfc6C64Ffd82Da08a8931A9a45f2cc8",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xa4ef199d3ad524E9C3C51Ac46B303B103A307Cef",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x6a5c59AB16268d2c872916054C50440B999e417C",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0x7800FE8951cdc1cDea748d878fAce63018D97960",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x8182De59485Bb646542Db8C7E5958148Dc699319",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x31F12aCb60C3c32EE884F3894a873347C097D925",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x5BCf8d8c097FbB35C371F921E3FF3e6F6Eb54B41",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x1eeCaB0F75fE93abbFa0cDFfb4fB13d1dC8706c8",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x3362b2B92b331925F09F9E5bCA3E8C43921a435C",original:"Ethereum"}],["tBTCpolygon",{symbol:"tBTC",decimals:18,address:"0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b"}],["tBTCoptimism",{symbol:"tBTC",decimals:18,address:"0x68A8797da1c8ED592600d70A5151886A92D2183C",original:"Optimism"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x045D8c62D5326aa51a31518ECF3aF80C17421Aba",original:"Arbitrum"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0xe082a7Fc696De18172Ad08D956569Ee80BC37f06",original:"Ethereum"}],["wstETHpolygon",{symbol:"wstETH",decimals:18,address:"0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x415ce980fde17F1FF102e1c6e4ce860Acc615D74",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0xFa4B761A1e07909Ba31331a5dfa12390E3ff5583",original:"Solana"}],["USDTpolygon",{symbol:"USDT",decimals:6,address:"0xc2132D05D31c914a87C6611C10748AEb04B58e8F"}]]],["Avalanche",[["WETH",{symbol:"WETH",decimals:18,address:"0x8b82A291F83ca07Af22120ABa21632088fC92931",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xB24CA28D4e2742907115fECda335b40dbda07a4C",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x1C0e79C5292c59bbC13C9F9f209D204cf4d65aD6",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x9d228444FC4B7E15A2C481b48E10247A03351FD8",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0xca319f81D147559e19A522A0a0310Dd43A96cA0F",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0xf2f13f0B7008ab2FA4A2418F4ccC3684E49D20Eb",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0xDb2d08f5A9C9ADBBA0DE5a69bbB1E9Ca03411692",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x442F7f22b1EE2c842bEAFf52880d4573E9201158",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x6145E8a910aE937913426BF32De2b26039728ACF",original:"Bsc"}],["AVAX",{symbol:"AVAX",decimals:18,address:"native",wrappedKey:"WAVAX"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"}],["WETHavax",{symbol:"WETH",decimals:18,address:"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xd19abc09B7b36F7558929b97a866f499a26c2f83",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x494317B8521c5a5287a06DEE467dd6fe285dA4a8",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x375aA6C67BF499fBf01804A9f92C03c0776F372d",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xFE6B19286885a4F7F55AdAD09C3Cd1f906D2478F",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x0950Fc1AD509358dAeaD5eB8020a3c7d8b43b9DA",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x1703CB0F762D2a435199B64Ea47E5349B7C17480",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x43c588459b3243fA541B98CC4B2E995b3de553A2",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0xDfDA518A1612030536bD77Fd67eAcbe90dDC52Ab",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0x4b5fE357Eb11c735078e47526D6e853DBff18541",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xDf11535274c0FD2Fe41A88bd1bBF802D72296037",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xBe04f76A0ba2100c3F2d6Aa1FD8484F415469573",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0xFA83178c66fE51ee99109b5cC912f8098Ff812eF",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xab933e939a9236BD439F7d29b87CE712f42bAC06",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x3F531c038A0D2d9c7D19FC3554cd0439791526c4",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x126C03982Ad6D7ef7E6aF020bF219e87185a6BC3",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x8A0691e602B7a5FCc51a27E4a08376dE50889B42",original:"Solana"}],["USDTavax",{symbol:"USDT",decimals:6,address:"0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7"}]]],["Fantom",[["WETH",{symbol:"WETH",decimals:18,address:"0x2A126f043BDEBe5A0A9841c51915E562D9B07289",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x2Ec752329c3EB419136ca5e4432Aa2CDb1eA23e6",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x87e9E225aD8a0755B9958fd95BE43DD6A91FF3A7",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x14BCb86aEed6a74D3452550a25D37f1c30AA0A66",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0xEE786D3D73Ea645365c7248E4e40eDba08B1169F",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0xb88A6064B1F3FF5B9AE4A82fFD52560b0dF9FBD3",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0xB4DcfD221048a1Dad989D39456BBd87762c26F06",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xc033551e05907Ddd643AE14b6D4a9CA72BfF509B",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x0FcbDAC44c67A43607D3E95886dB19871ADc985F",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x358CE030DC6116Cc296E8B9F002728e65459C146",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xEfE7701cb2B80664385Be226d0300912CA92f66A",original:"Avalanche"}],["FTM",{symbol:"FTM",decimals:18,address:"native",wrappedKey:"WFTM"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83"}],["CELO",{symbol:"CELO",decimals:18,address:"0xF432490C6c96C9d3bF523a499a1CEaFd8208A373",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xBF227E92D6754EB4BFE26C40cb299ff2809Da45f",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xd99021C2A33e4Cf243010539c9e9b7c52E0236c1",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0xb8398DA4FB3BC4306B9D9d9d13d9573e7d0E299f",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xC277423a21F6e32D886BF85Ef6cCB945d5D28347",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x3Cd9162Ca5256b8E26A0e3Ad14CCfF7C0Da0F174",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0xE8367853A0823515D37b1538331B4704089becb4",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0x2228703672906fEe5eD681Ec28e42B4506b8c336",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xe8E8f941377A955bFA72880ec0dc2319dbC827a8",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x385b219f0C4fa2e84EfE5aaf9692a821C57B8248",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0xd3365E7355230c78098b44B172eE27DAB95B041A",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xd9E4C283d8A49Dc3767A6F5a4dFdc1d0cEf21604",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xeE27799cF29D7F64647B92f47d543B382B49f83E",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x787e2F3509583C0F03A339Be0826463C839CBE5E",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x77ad3B2dA29FBd208F12c3C701E969F4422aAD79",original:"Solana"}]]],["Celo",[["WETH",{symbol:"WETH",decimals:18,address:"0x66803FB87aBd4aaC3cbB3fAd7C3aa01f6F3FB207",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x37f750B7cC259A2f741AF45294f6a16572CF5cAd",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0xd71Ffd0940c920786eC4DbB5A12306669b5b81EF",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x617f3112bf5397D0467D315cC709EF968D9ba546",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x97926a82930bb7B33178E3c2f4ED1BFDc91A9FBF",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:18,address:"0x1dd42c0785ca90B677adc2ABad01dfc5ECcD0b4d",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x9C234706292b1144133ED509ccc5B3CD193BF712",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0x42c76808f3179A091Ee007A2955aF2522978ADE7",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xBf2554ce8A4D1351AFeB1aC3E5545AaF7591042d",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x9d9abAE97a9344e3854527b4efbB366a1564bfEb",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0xFFdb274b4909fC2efE26C8e4Ddc9fe91963cAA4d",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x62FFf2D2D1692D52eAf043AeeC727F7918d269D3",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xd1A342eE2210238233a347FEd61EE7Faf9f251ce",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x471ece3750da237f93b8e339c536989b8978a438"}],["USDT",{symbol:"USDT",decimals:6,address:"0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x383A5513AbE4Fe36e0E00d484F710148E348Aa9D",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x4581E64115d46CcdeE65Be2336bEc86c9BA54C01",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x8B6eef6C449D3Ac723a9C06a9eaE2dCd7d308BA9",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x1Cb9859B1A16A67ef83A0c7b9A21eeC17d9a97Dc",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x89F2b718Ca518db39d377F0ABBa6B42582b549F7",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0xc6F962fCcb140ece554AfD0E589f971532A57f14",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xA41a62567d9eb960D84b72663FdaeBE0BCdE2683",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x8d53771b1Ec7461f8e45Bca2609c45bC0bbd0677",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xEe48963C003e21EaCEdFA8a0A19BB3cbF7E776Fe",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x905CADB645684140E285e2D09D39dF5a2082BC87",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x2e2acb1782Aad0490f8446b6fD4626C467987bD6",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xFaED7314060FCEc652ED91D9eac6c980DCA9D3B8",original:"Ethereum"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x72878E7d3A8746e0c91b9F16F0b8ee4fDE9DDc06",original:"Arbitrum"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0xe304254de5c2048F9bFb042dDFB54f84d1d77730",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x985aa4814419ba338379A634785216301e51113D",original:"Solana"}]]],["Moonbeam",[["WETH",{symbol:"WETH",decimals:18,address:"0xab3f0245B83feB11d15AAffeFD7AD465a59817eD",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x931715FEE2d06333043d11F658C8CE934aC61D0c",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0xE57eBd2d67B462E9926e04a8e33f01cD0D64346D",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xc30E9cA94CF52f3Bf5692aaCF81353a27052c46f",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x06e605775296e851FF43b4dAa541Bb0984E9D6fD",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:18,address:"0xa2284e1F98E4d0B7Eb6a6b4f3C57f1b209C755F3",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x82DbDa803bb52434B1f4F41A6F0Acb1242A7dFa3",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0x4415BfBDee669446550d55c749007EF60B520FC8",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xE3b841C3f96e647E6dc01b468d6D0AD3562a9eeb",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x7f433E22366E03a3758CE22cCf82887d828078f8",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0xd4937A95BeC789CC1AE1640714C61c160279B22F",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xd4918c40cA9f02d42Cb53d06587aF42017Bc345D",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x609AedD990bf45926bca9E4eE988b4Fb98587D3A",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0xc1a792041985F65c17Eb65E66E254DC879CF380b",original:"Celo"}],["GLMR",{symbol:"GLMR",decimals:18,address:"native",wrappedKey:"WGLMR"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xAcc15dC74880C9944775448304B263D191c6077F"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x99Fec54a5Ad36D50A4Bba3a41CAB983a5BB86A7d",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x098d6eE48341D6a0a0A72dE5baaF80A10E0F6082",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x484eCCE6775143D3335Ed2C7bCB22151C53B9F49",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x25331575641d35D9765e1934acC8F0991c58e904",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x18872b45c603eD2EbC508b9C5514a85c2e2791FB",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xd4870F7F5AD8Ae5139E1a5D8AD4ac55204aE4490",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x7143e8EA96e158381057a58AfdDF44601c7e532C",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x6C6f83366A42fcA4D30a2D3f1914284de995Ac3a",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xE6d02a875CcC153c076fe418f33De3A5C420f505",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xeCd65E4B89495Ae63b4f11cA872a23680A7c419c",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0xf0a9476E4712123A807859f9Fd25fe98213379BD",original:"Klaytn"}]]],["Solana",[["WETH",{symbol:"WETH",decimals:8,address:"7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"A9mUU4qviSctJVPJdBJWkb28deg915LYJKrzQ19ji3FM",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"Dn4noZ5jgGfkntzcQSUZ8czkreiZ1ForXYoV2H8Dm7S1",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"EjmyN6qEC1Tf1JxiG1ae7UTJhUxSwk1TCWNWqxWV4J6o",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:8,address:"33fsBLA8djQm82RpHmE3SuVrPGtZBWNYExsEUeKX1HXX",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"Gz7VkD4MacbEB6yC5XD3HcumEiYx2EtDYYrfikGsvopG",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"9gP2kCy3wA1ctvYWQk75guqXuHfrEomqydHLtcTCqiLa",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:8,address:"FCqfQSujuPxy6V42UvafBhsysWtEq1vhjfMN1PUbgaxA",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"KgV1GvrHQmRBY8sHQQeUKwTm2r2h8t4C8qt12Cw1HVE",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"FHfba3ov5P3RjaiLVgh8FTv4oirxQDoVXuoUUDvHuXax",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"DRQBDBEWmwWGK13fRTLhSPzjbvMSUavhV6nW4RUH8W6T",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"9kvAcwQbqejuJMd59mKuw2bfSsLRaQ7zuvaTVHEeBBec",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"7ixSaXGsHAFy34wogPk2YXiUX3BMmQMFdercdaHLnBby",original:"Moonbeam"}],["SOL",{symbol:"SOL",decimals:9,address:"native",wrappedKey:"WSOL"}],["WSOL",{symbol:"WSOL",decimals:9,address:"So11111111111111111111111111111111111111112"}],["USDCsol",{symbol:"USDC",decimals:6,address:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}],["SUI",{symbol:"SUI",decimals:8,address:"G1vJEgzepqhnVu35BN4jrkv3wVwkujYWFFCxhbEZ1CZr",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"6LNeTYMqtNm1pBFN8PfhQaoLyegAH8GD32WmHU9erXKN",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"CSD6JQMvLi46psjHdpfFdr826mF336pEVMJgjwcoS1m4",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"CR4xnGrhsu1fWNPoX4KbTUUtqGMF3mzRLfj4S6YEs1Yo",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"8M6d63oL7dvMZ1gNbgGe3h8afMSWJEKEhtPTFM2u8h3c",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"DWXe1hxpnb8LAH21iyXcjvMbiAGzoYyuCVQtRLvZdLYd",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"EfqRM8ZGWhDTKJ7BHmFvNagKVu3AxQRDQs8WMMaoBCu6",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"25rXTx9zDZcHyTav5sRqM6YBvTGu9pPH9yv83uAEqbgG",original:"Ethereum"}],["tBTCsol",{symbol:"tBTC",decimals:8,address:"6DNSN2BJsaPFdFFc1zP37kkeNe4Usc1Sqkzr9C9vPWcU"}],["wstETH",{symbol:"wstETH",decimals:8,address:"ZScHuTtqZukUrtZS43teTKGs2VqkKL8k4QCouR2n6Uo",original:"Ethereum"}],["PYTH",{symbol:"PYTH",decimals:6,address:"HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3"}]]],["Sui",[["WETH",{symbol:"WETH",decimals:8,address:"0xaf8cd5edc19c4512f4259f0bee101a40d41ebed738ade5874359610ef8eeced5::coin::COIN",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x27792d9fed7f9844eb4839566001bb6f6cb4804f66aa2da6fe1ee242d896881::coin::COIN",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xc060006111016b8a020ad5b33834984a437aaa7d3c74c18e09a95d48aceab08c::coin::COIN",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"0xdbe380b13a6d0f5cdedd58de8f04625263f113b3f9db32b3e1983f49e2841676::coin::COIN",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0x5c8c9082401982e8c2519a5c12883a5475295bf5cec4a0a13c26d35dd9a20d73::coin::COIN",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"0xb848cce11ef3a8f62eccea6eb5b35a12c4c2b1ee1af7755d02d7bd6218e8226f::coin::COIN",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:8,address:"0x909cba62ce96d54de25bec9502de5ca7b4f28901747bbf96b76c2e63ec5f1cba::coin::COIN",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"0x1e8b532cca6569cab9f9b9ebc73f8c13885012ade714729aa3b450e0339ac766::coin::COIN",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xe596782fbaebef51ae99ffac8731aed98a80642b9dc193ed659c97fbc2cc0f84::coin::COIN",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"0x6081300950a4f1e2081580e919c210436a1bed49080502834950d31ee55a2396::coin::COIN",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"0xa198f3be41cda8c07b3bf3fee02263526e535d682499806979a111e88a5a8d0f::coin::COIN",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"0x66f87084e49c38f76502d17f87d17f943f183bb94117561eb573e075fdc5ff75::coin::COIN",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"0xb7844e289a8410e50fb3ca48d69eb9cf29e27d223ef90353fe1bd8e27ff8f3f8::coin::COIN",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0xb231fcda8bbddb31f2ef02e6161444aec64a514e2c89279584ac9806ce9cf037::coin::COIN",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x2::sui::SUI"}],["APT",{symbol:"APT",decimals:8,address:"0x3a5143bb1196e3bcdfab6203d1683ae29edd26294fc8bfeafe4aaa9d2704df37::coin::COIN",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"0x33744e7df340a4d01c23f6b18c13563f767545ea95f976f8045f056358419da3::coin::COIN",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xc3f8927de33d3deb52c282a836082a413bc73c6ee0bd4d7ec7e3b6b4c28e9abf::coin::COIN",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"0xaab14ec22908de73d1b0619f5e03842398f8e68262981bd35ef44b42d22b23a::coin::COIN",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x6037801f060f0f54b3817bca05e3c8b9b9ffaa2da8e93fd5b80fa662aa3c9e55::coin::COIN",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"0xaecbc804fa7ca7cffc74c9a05eb6ae86fda0c68375b5c1724204a1065bcb239a::coin::COIN",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x7e3e74afcc1913aa9491c8cee89b02131a6e5519b090f16b54321835c1241cfb::coin::COIN",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"0xbc3a676894871284b3ccfb2eec66f428612000e2a6e6d23f592ce8833c27c973::coin::COIN",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:8,address:"0xa5ec915864d7f37b25ca9144b2db6ebcf29e73603c2ccf9d0e765adcd9049a98::coin::COIN",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x9c6d76eb273e6b5ba2ec8d708b7fa336a5531f6be59f326b5be8d4d8b12348a4::coin::COIN",original:"Solana"}]]],["Aptos",[["WETH",{symbol:"WETH",decimals:8,address:"0xcc8a89c8dce9693d354449f1f73e60e14e347417854f029db5bc8e7454008abb::coin::T",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x5e156f1207d0ebfa19a9eeff00d62a282278fb8719f4fab3a586a0a2c0fffbea::coin::T",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0xae478ff7d83ed072dbc5e264250e67ef58f57c99d89b447efd8a0a2e8b2be76e::coin::T",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xa2eda21a58856fda86451436513b867c97eecb4ba099da5775520e0f7492e852::coin::T",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"0x407a220699982ebb514568d007938d2447d33667e4418372ffec1ddb24491b6c::coin::T",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:8,address:"0x77400d2f56a01bad2d7c8c6fa282f62647ce3c03f43f2a8742e47ea01a91e24a::coin::T",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"0x6781088e2a1629d38eda521467af4a8ca7bfa7e5516338017940389595c85c0f::coin::T",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0xc5fd7820e9f053e6dd8e7dd8ca3ce8e9b10d200ba1692bdeb7a035217180ad4a::coin::T",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"0x6312bc0a484bc4e37013befc9949df2d7c8a78e01c6fe14a34018449d136ba86::coin::T",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:8,address:"0x79a6ed7a0607fdad2d18d67d1a0e552d4b09ebce5951f1e5c851732c02437595::coin::T",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"0x5b1bbc25524d41b17a95dac402cf2f584f56400bf5cc06b53c36b331b1ec6e8f::coin::T",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x39d84c2af3b0c9895b45d4da098049e382c451ba63bec0ce0396ff7af4bb5dff::coin::T",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"0xd1aa2ff36a0e93e1b4e4fecdecf8bb95bc5de399061c5e84b515281f48718842::coin::T",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"0xac0c3c35d50f6ef00e3b4db6998732fe9ed6331384925fe8ec95fcd7745a9112::coin::T",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"0x7ab1283a7b13c4254d4e1f803d7ce6578442c1d7a40d0faee41cd48ba4884c8a::coin::T",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"0xdd89c0e695df0692205912fb69fc290418bed0dbe6e4573d744a6d5e6bab6c13::coin::T",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0xc91d826e29a3183eb3b6f6aa3a722089fdffb8e9642b94c5fcd4c48d035c0080::coin::T",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"0xa72a97e872be9ee3d2f14d56fd511eb7e4a53f4055be3a267d8602e7685b41c0::coin::T",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x1::aptos_coin::AptosCoin"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"0x0e977796d7bfb3263609b90dffd264c7bd078ce35dac42b55302858d9fa3452b::coin::T",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xca3a2c28bc8c6c762f752dd2a4ebbfd00356ca99977ce6636e3af5897124a87a::coin::T",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"0x6a7a7f36ef5e2d0e65fcf72669c20d514d68298b0f76c7554517208f73260aaf::coin::T",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x4f6ecb05a797902d472abc2f5804bde93a53d8b75f14f767824cdb1623a4ee83::coin::T",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"0x5b5f14781164cf77185a7b6acd8e4f3cbb7e7cfb1cd5760d2b8af81075fc153d::coin::T",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xfcc4fcd734d5b8578fb629d238d15264a49eca6165c7444c21feec3b4962eb88::coin::T",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"0x9d5a0f8215301fa8096df332b1533f6328f18c32fbac2a7089cfbea73b3068a7::coin::T",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:8,address:"0x539b652f8230a0e42adaeda4706b5639893d22362eda6ea897493c210cb48219::coin::T",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x770211b47954e15bec1a4271bf33bacebc2d2adb43b7dc1ca45efa787615dd4c::coin::T",original:"Solana"}]]],["Base",[["WETH",{symbol:"WETH",decimals:18,address:"0x71b35ECb35104773537f849FBC353F81303A5860",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xec267C53f53807c2337C257f8AC3Fc3cC07cc0ed",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0xE6396f780b543dF16ee3b784D789c75B68319db0",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xFf0C62A4979400841eFaA6faADb07Ac7d5C98b27",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x617Edadb51BfB43A44Bb91C7402129C23bA52381",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0xc863399E5c5C4011B1DC3fB602902C77BA72B709",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0xFe1579BAc60363c8572CB30Bf4DD1Fd85811BBF8",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x7fdAa50d7399ac436943028edA6ed9a1BD89509f",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x68E2b07F92ed506f92935d7359ECA84D5342dbb4",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0xc449A60A31E1eebFE83c42E9465fd4Dc318aE9a7",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xD83385fE100E20c269a5975D4Bf92525BcE09F87",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x936Fa2DE8380Dc5BF34C80F1BaD53a9f3630263B",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x74df3823aA29D278cAD0A3632fCB56C896a38eD4",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xfdB7311BeC3b2CcCF8407d0585f81B97b3b5eff1",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x1C61629598e4a901136a81BC138E5828dc150d67",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0xe8CE40EBBB844142400D21558a2F1c9683d69139",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x36c6FBF7B49bF65f5F82b674af219C05b2a4aDD1",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x1d36126289Be1658297A35CC3EB2BB80A7D7A04b",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x9D36e0edb8BBaBeec5edE8a218dc2B9a6Fce494F",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xb96B82Cd6D45d98Fb6897D16A5E4EE888329C513",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xCb725aC8d9985D3bE306Dd9e1517d3702929176c",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xc6bfBeb3002aD563D2d1f72614C61C83Bf147Acd",original:"Optimism"}],["ETHbase",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHbase"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x4200000000000000000000000000000000000006"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}],["wstETHbase",{symbol:"wstETH",decimals:18,address:"0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x9EE95E6Bd1B3C5740F105d6fb06b8BDeF64Eec70",original:"Ethereum"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x56D0873e0eCA4a56063e1BF945788365666CFBFC",original:"Arbitrum"}],["tBTCbase",{symbol:"tBTC",decimals:18,address:"0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0xEd4e2FD35161c3c0e33cA187fce64C70d44Ce32b",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x41c433c146c47Dc53FC48cDc69e406e365e298E1",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x4c5d8A75F3762c1561D96f177694f67378705E98",original:"Solana"}],["USDTbase",{symbol:"USDT",decimals:6,address:"0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2"}]]],["Arbitrum",[["WETH",{symbol:"WETH",decimals:18,address:"0xD8369C2EDA18dD6518eABb1F85BD60606dEb39Ec",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xC96F2715E2a242d50D1b0bC923dbe1740b8eCf18",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x397846a8078d4845c7f5c6Ca76aeBbcFDc044fAe",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xE4728F3E48E94C6DA2B53610E677cc241DAFB134",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x5c4f2FEFB97F7DF09E762d95C83f0Ccf8bCe8234",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x3ab0E28C3F56616aD7061b4db38aE337E3809AEA",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0x599ADB10E6A012dF34935D47407450f6D7170e3C",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x7AF00405916D823eDb1121546EfA6F4972B51b84",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x1a0590F951bc9C3818Ce75ba5Bbe92831b2cf57e",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x565609fAF65B92F7be02468acF86f8979423e514",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x93e0FcbEd43CD6fC30DF00CcBD4669718dc74e77",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x7f7dcDb91930033a4Eb269196EBb6fd5f0644E4B",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x4E51aC49bC5e2d87e0EF713E9e5AB2D71EF4F336",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x944C5b67a03e6Cb93Ae1E4B70081f13b04CDB6Bd",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x2bcC6D6CdBbDC0a4071e48bb3B969b06B3330c07",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x3870546cfd600ba87e4180686d29dC993A45d3B7",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xCF79d86B8a830030aF6D835737d6eac3bE823fD7",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x4EdeF400eDe5309240814b5FC403F224504604e9",original:"Aptos"}],["ETHarbitrum",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHarbitrum"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x82af49447d8a07e3bd95bd0d56f35241523fbab1"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xB1fC645a86fB5085e12D8BDDb77702F728D2A26F",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x3A5C2Da9E30741cb59a5e9446A23A86886fC9DC2",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0xBAfbCB010D920e0Dab9DFdcF634De1B777028a85",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x8619F97D4d08382548F536E5CE1D3e0D9bA40326",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x57723abc582DBfE11Ea01f1A1f48aEE20bD65D73",original:"Ethereum"}],["tBTCpolygon",{symbol:"tBTC",decimals:18,address:"0x3bab04bDFd2Dc3640c2B9390A2Da05bC1192D482",original:"Polygon"}],["tBTCoptimism",{symbol:"tBTC",decimals:18,address:"0x2519010b6585247BcDC8BcDa5C8730Be754b8c76",original:"Optimism"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0xf2717122Dfdbe988ae811E7eFB157aAa07Ff9D0F",original:"Ethereum"}],["wstETHarbitrum",{symbol:"wstETH",decimals:18,address:"0x5979D7b546E38E414F7E9822514be443A4800529"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0xFA95f6c796E54F9C4a99392CAE84410a25794BB3",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0xE4D5c6aE46ADFAF04313081e8C0052A30b6Dd724",original:"Solana"}],["USDTarbitrum",{symbol:"USDT",decimals:6,address:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9"}]]],["Optimism",[["WETH",{symbol:"WETH",decimals:18,address:"0xb47bC3ed6D70F04fe759b2529c9bc7377889678f",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x711e53D031ea9B0bb0C24dD506df11b41AEA419e",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0xB214C19d81c99E75e84706a3aa0A757319023e26",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xf6B4185FCf8aF291c0E3927fbEab7046b4f6A8CA",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x098EA47D630b46df1E08e389e5e4466119c7dd30",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x8f02B6a32cebcAe44D2Fd17d87966f5B5dD14c6d",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0xbB1EaB9Eb8fDf65F0E291D013DA07B4b65a27a01",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x6A09fE65ACa27C12573F04aAFa290bD75497E1BC",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x1C15057d1F3794C934a6cBC1f7EceE934050F219",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x8418C1d909842f458c9394886b83F19d62bF1A0D",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x355f0a8a7ecAeD971b8Fbd50994558291ff2413a",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x0b0ecbe5C3995541876d27633B63296570FB34Af",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x9b88D293b7a791E40d36A39765FFd5A1B9b5c349",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xbffD46DFDb8d3a02b8D2E0F864a2cD712090a4D3",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xba1Cf949c382A32a09A17B2AdF3587fc7fA664f1",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x6F974A6dfD5B166731704Be226795901c45Bb815",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x27A533e438892DA192725b4C9AcA51447F457212",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xC5B3AC2DF8D8D7AC851F763a5b3Ff23B4A696d59",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x825206E1D29456337769e6f1384101E997C6A732",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xa6252F56cc6eEA21165d56744C795F91c8a3Cf68",original:"Arbitrum"}],["ETHoptimism",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHoptimism"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x4200000000000000000000000000000000000006"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x0b2c639c533813f4aa9d7837caf62653d097ff85"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x3F369a664fa665e01e8EB9f20bFcE03A0CAb8971",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xb931c7BbD87A6e249EaA7355B13927F9c99Bce87",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xeC0a755664271b87002dDa33CA2484B24aF68912",original:"Ethereum"}],["tBTCpolygon",{symbol:"tBTC",decimals:18,address:"0xE4C32B9eA749fa0342B1C42C01E80028B97c3917",original:"Polygon"}],["tBTCoptimism",{symbol:"tBTC",decimals:18,address:"0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x2390a5131fcba6e47f702172cF4876589E4161c6",original:"Arbitrum"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0x855CFcEEe998c8ca34F9c914F584AbF72dC88B87",original:"Ethereum"}],["wstETHoptimism",{symbol:"wstETH",decimals:18,address:"0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0xbbeF8233a0d10EEAb84E913FaDB337ab9b62F683",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x99C59ACeBFEF3BBFB7129DC90D1a11DB0E91187f",original:"Solana"}],["USDToptimism",{symbol:"USDT",decimals:6,address:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58"}]]],["Wormchain",[["WETH",{symbol:"WETH",decimals:8,address:"wormhole18csycs4vm6varkp00apuqlsm7v4twg8jsljk8wfdd7cghr7g4rtslwqndm",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"wormhole1utjx3594tlvfw4375esgu72wa4sdgf0q7x4ye27husf5kvuzp5rsr72gdq",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"wormhole1nz0r0au8aj6dc00wmm3ufy4g4k86rjzlr8wkf92cktdlps5lgfcqxnx9yk",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"wormhole1w27ekqvvtzfanfxnkw4jx2f8gdfeqwd3drkee3e64xat6phwjg0savgmhw",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"wormhole1chejx4qqtvwxy6684yrsmf6pylancxqhk3vsmtleg5ta3zrffljqfscg87",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:8,address:"wormhole1msyushf6d76u9wupuvm6jdvc0x4trmv5w5kxr0hyt7n9npp233usg7pkhm",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"wormhole1xmpenz0ykxfy8rxr3yc3d4dtqq4dpas4zz3xl6sh873us3vajlpszn4ph7",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"wormhole169nr66h9gcsfljvsnxnqfjakskcjt6ac8f58wqjuagu79m540teqfvaal4",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:8,address:"wormhole1g3acw7aumaj3r348cqn4kazrehlmn822w9p46sqwztnke27h3lysxj4ddr",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"wormhole1ml922hnp59jtq9a87arekvx60ezehwlg2v3j5pduplwkenfa68ksgmzxwr",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"wormhole1gwm6mrnse9atzf4mer4dnrz64mp6pa75wpsxywu8gymt9fwsk46sfr372u",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"wormhole1e0cwfmla7exa578xddl87paxexw9ymwrzysfjms8c2mstxjkldlqn45jqa",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"wormhole1kqey3a6k26kyensq7elcpx229tlj4d3qlshwhjq5xjm8dcdvu60qtef8k9",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"wormhole1gzuv84xrwwhxhf0f62av279vfyrfrm7x58fcnadlr5m90gnx223ses2st0",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"wormhole1wn625s4jcmvk0szpl85rj5azkfc6suyvf75q6vrddscjdphtve8sca0pvl",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"wormhole17fr8awnysyv3nt5je4strczdupssl8u9jqam890jfv72sh32yyqqhtg3ry",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"wormhole19hlynxzedrlqv99v6qscww7d3crhl86qtd0vprpltg5g9xx6jk9q6ya33y",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"wormhole1f9sxjn0qu8xylcpzlvnhrefnatndqxnrajfrnr5h97hegnmsdqhsh6juc0",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"wormhole18nlwscr7290j463vcptqlgqudycry2rdnw2ysltpc2nqefk3353s808rl9",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"wormhole1ev8rhdflmlq6de5g7ttj585fhuv3jfhnuhfzyh7qrswhzaq2tkqswxz6y3",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"wormhole1snw0qugpjcxwtxzzkqt5guwavq85eumxzeagql2u2m662xrtnjuqyj3pkj",original:"Optimism"}],["USDCbase",{symbol:"USDC",decimals:6,address:"wormhole1edkult6zudk6ld23fesjfrehux35q86engsq5jlycl0e4upkz8mqkgcprf",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"wormhole1nu9wf9dw384attnpu0pwfet5fajn05w2ex4r07mghvk3xcwrt2yq5uutp5",original:"Ethereum"}],["tBTCpolygon",{symbol:"tBTC",decimals:8,address:"wormhole1uj24zecnaxz7ftz0sh6dsayfene4w3yptwg0422kves9duel67vsr7hlyz",original:"Polygon"}],["tBTCarbitrum",{symbol:"tBTC",decimals:8,address:"wormhole1q8ynvqvtw49ln73mn70v4me4q03fvvmhkf2lh4ueam5w4362s2asjmvxtd",original:"Arbitrum"}],["wstETH",{symbol:"wstETH",decimals:8,address:"wormhole1gg6f95cymcfrfzhpek7cf5wl53t5kng52cd2m0krgdlu8k58vd8qezy8pt",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:8,address:"wormhole1kyy876kye7k79fuzat532yyqkrzhlr6l7hc7lfa2rk5tygzhy00qrhjgkc",original:"Klaytn"}]]],["Osmosis",[["WETH",{symbol:"WETH",decimals:8,address:"ibc/62F82550D0B96522361C89B0DA1119DE262FBDFB25E5502BC5101B5C0D0DBAAC",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"ibc/6B99DB46AA9FF47162148C1726866919E44A6A5E0274B90912FD17E19A337695",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"ibc/E4CD61E1FA3EB04EF1BF924D676AB9FD55E84A0DCF4E78C11CCA0E14E5B42672",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"ibc/2108F2D81CBE328F371AD0CEF56691B18A86E08C3651504E42487D9EE92DDE9C",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"ibc/898ACF6F5DEBF535103BBD52E3E5B70A311AD097B198A152483F69290B4210C0",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"ibc/03B6D1925A09B3033AA6FA8772202719ABDC51F8CC2A5C26D0A9B19832F2C023",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"ibc/5394BB30B3C9BD1EE84C9531E5094DDE2490964F518CBE8A4C91F748CE559AF5",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:8,address:"ibc/B28ACEF11D063FA8B1DA73C2F7DA3A1CFCCBC13E96B671698D4860E9367B55BB",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"ibc/22B44C7369EED16089B9840ADE399B80D9483B4E459E67643C96C681D7C463D0",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"ibc/0B3C3D06228578334B66B57FBFBA4033216CEB8119B27ACDEE18D92DA5B28D43",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"ibc/397DFE63D87F6940ECA583DFF5461E48BF0BA6554CBBE70278E307DDFDC8E9D5",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"ibc/83300733052AB5F6E0F0C221E24189B6DF26CC94C73D2F44627627F9DEF4A9C8",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"ibc/0F2941B0168D8DB77DA1B6A2D3A95EC04026D3C97FA3BFE8FD1D5D3F983AA518",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"ibc/1E43D59E565D41FB4E54CA639B838FFD5BCFC20003D330A56CB1396231AA1CBA",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"ibc/F08DE332018E8070CC4C68FE06E04E254F527556A614F5F8F9A68AF38D367E45",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"ibc/B1C287C2701774522570010EEBCD864BCB7AB714711B3AA218699FDD75E832F5",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"ibc/A4D176906C1646949574B48C1928D475F2DF56DE0AC04E1C99B08F90BC21ABDE",original:"Aptos"}],["USDCbase",{symbol:"USDC",decimals:6,address:"ibc/8AC0F990290BBEF3AEBFCBF70F902AD954781BB40D07EB76341272800D48D05F",original:"Base"}],["OSMO",{symbol:"OSMO",decimals:6,address:"uosmo"}],["tBTC",{symbol:"tBTC",decimals:8,address:"ibc/6207D35D2C08F2162575C3C4BFD524226E50639121A273045F1B393AF67DCEB3",original:"Ethereum"}],["wstETH",{symbol:"wstETH",decimals:8,address:"ibc/BF75AE1500CB7EC458E91A11731F1B6AC1F1FE1FA937A88564955ED6A83CA2FB",original:"Ethereum"}]]],["Evmos",[["WETH",{symbol:"WETH",decimals:8,address:"ibc/4442A8E0D487A49E76EA6606F5DADCF8D0DBDD8499112340C964970DB745EDA2",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"ibc/0C19171CDC59451F91D2749CDEA63355532DCD5D8904CCBAC4953290E16AB8FD",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"ibc/46C5DA1CB61C5BAA8730ABA467ADD58DE0333B075CACE28BC87E64AE8C9CA051",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"ibc/C9072A294F5649D64E87A6998DD750576881E454CACCDAF7376EFC0FA243808D",original:"Ethereum"}],["USDCbnb",{symbol:"USDC",decimals:8,address:"ibc/8E08C01546EF346F7E9A3600DDBC88943ADF3B20A67F1F2DD7B83D85613BCCAB",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"ibc/2EA2FE172078576E62DA20F14EEED12B26611D93150FE1D68E1AAE00479AC335",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"ibc/39913E647C3549D663B1ED7F0745E1779515170C5215B98B2C8410B4C073AD30",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"ibc/9EFE5F5D75A87197DD257BA7A96A3BCCEC9DB59D257C742FB5AA9D3DF612D476",original:"Fantom"}],["WSOL",{symbol:"WSOL",decimals:8,address:"ibc/4443218F584A7AB2DFBCF93872D6E5B6967A11C53515DDF45A2CF387C54BD73A",original:"Solana"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"ibc/9E2E7B4A53409267CD686F4EB67969C2602A0F5FF9BDB1082B00E71CC4815DDE",original:"Arbitrum"}],["EVMOS",{symbol:"EVMOS",decimals:18,address:"aevmos"}]]],["Kujira",[["WETH",{symbol:"WETH",decimals:8,address:"ibc/7D9D28CABB49A4BB1A50C3B7E4544BFDBC5DDFAEB84A7787755A34CE7196CE15",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"ibc/C5EADE2C526B9629D230AC02A97644984ACB7C2F9A6C85126D1025CB0DA42588",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"ibc/B2C7F21B604E3974A7DA5DAA9395905F2F3C85392F8A221CFDF62E4A9F4E48E4",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"ibc/3CE8A3DE4AE5AE2B4B8C03B2B227CC284732EDC849E506615FF2AA3D8EB1BAFC",original:"Ethereum"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"ibc/28E7241F6508EB4692C721E91201377323796EF2758CCD83D220A40EAD32601E",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"ibc/F9F41DB8DA49EA6AB9EB4B2C9E0ECDC2502ABDA2FE728B85994BF31240CBC163",original:"Avalanche"}],["CELO",{symbol:"CELO",decimals:8,address:"ibc/4ACD155D71182398277CBD2C630A7C8C5F0F16FFF77965FDE4C845A4CDE2D60C",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"ibc/3D337ECC89A8421DD6F33C4B7DDE9D4A18D728A4A688BA30E41F466EC8DD3869",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"ibc/E5CA126979E2FFB4C70C072F8094D07ECF27773B37623AD2BF7582AD0726F0F3",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"ibc/EBA52E7239CC1BC7F8ECF4F41523B6DD477FF067FD953315704A9A4FD2131B48",original:"Sui"}],["KUJI",{symbol:"KUJI",decimals:6,address:"ukuji"}]]],["Klaytn",[["KLAY",{symbol:"KLAY",decimals:18,address:"native",wrappedKey:"WKLAY"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0xe4f05A66Ec68B54A58B17c22107b02e0232cC817"}]]]],vE=$t(oee,[0,[1,2]]),cee=[["Ethereum",[["ETH",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETH"}],["WETH",{symbol:"WETH",decimals:18,address:"0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x07865c6e87b9f70255377e024ace6630c1eaa37f"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0xC04B0d3107736C32e19F1c62b2aF67BE61d63a05"}],["USDT",{symbol:"USDT",decimals:6,address:"0xC2C527C0CACF457746Bd31B2a698Fe89de2b6d49"}],["DAI",{symbol:"DAI",decimals:18,address:"0x11fE4B6AE13d2a6055C8D9cF65c55bac32B5d844"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x7cd0e8ff09cEB653813bD3d63d0554c1CB4BFdf6",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xB19693FEB013Bab65866dE0a845a9511064230cE",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x4C1b727f6df3B075E682C41a25687A69846aaC04",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xF6699D3f725C4b64Cc6010F2DF77B4B05C76Cd5C",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x0d7A9Cdbb7C21E64825cF81750A5081a32aFb5d4",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0xe092525a787CD56B901279b5864a224c22B95B72",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x0dc83BB61008A5E1194fe50fA9E474713C1AEcD7",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x494701CE895389d917a938f0ea202D4eB9684Eab",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x70F7360C49D227ccBbb98fB7B69B7CDB651195bb",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xd7A89a8DD20Cb4F252c7FB96B6421b37d82cE506",original:"Aptos"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xd962F26D93c4eF609Ba00Ed6101326A1490B9489",original:"Arbitrum"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x76e39239e40857030D6f4D8545EFbd71F904d344",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x5aA392243437dDC8b4d86bfC90DF296908740A41",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x679874fBE6D4E7Cc54A59e315FF1eB266686a937"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x575D93A2278FbF4E8Bd3d51B539a6E237C3F17c5",original:"Arbitrum"}],["tBTCsol",{symbol:"tBTC",decimals:8,address:"0x57A52B6F0b393AF7d36116183cA83E584e636eA4",original:"Solana"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0x6320cD32aA674d2898A68ec82e869385Fc5f7E2f"}],["SEI",{symbol:"SEI",decimals:6,address:"0xd68df72136207E9471C915cf1B6Cf43D587D4E0A",original:"Sei"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x327e0c7D5cFa65d4f9E358dC9fA4446C49dBcB6C",original:"Klaytn"}]]],["Polygon",[["WETH",{symbol:"WETH",decimals:18,address:"0xc6735cc74553Cc2caeB9F5e1Ea0A4dAe12ef4632",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x543237045a106D7fd2eE3e2B44b5728e70BDe9c3",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x02E30E84161BE1aBfcBB2b154B11De4C2b5E0a32",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x87374d35C5F1bD78c2b1da383F460e154e7D3E5e",original:"Ethereum"}],["MATIC",{symbol:"MATIC",decimals:18,address:"native",wrappedKey:"WMATIC"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x0C63D8ADB69204b2946DcB945a6f16d97C255eE2",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x51f3D34651523dD8CC4872ee261A1B0B3f73AceF",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xcc048C353Fdc2f5c378B7BCab9B240Ca2b619f1c",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x84aa9100a36D6c3514605F62342abF3cE77D5b97",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0xAd027790A64331A11bd1b651739450cC9Dc0098F",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x693b9AC2199d989bDA8C9C5b5d7A3680B4f40dAa",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x0284B4994456Fae4cb56E4d33228d51B674EAD1b",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x3dadA6f29f80A0427C4989E17a5a2ada17441841",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x226B436043B537BD158e84fA199E2Aa36bf364f8",original:"Aptos"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xC77d781f38Cf52F8Ea0b4c0F22312bB9A34911b5",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x68C4365d5229A44D9A59058B65500365492b5307",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xf6CC0Cc8D54a4b1A63a0E9745663e0c844Ee4D48",original:"Ethereum"}],["tBTCpolygon",{symbol:"tBTC",decimals:18,address:"0xBcD7917282E529BAA6f232DdDc75F3901245A492"}],["SEI",{symbol:"SEI",decimals:6,address:"0xc5C0229B38564E1E8083031405Be8d6E6e3Bc462",original:"Sei"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x7b34f3711705eB2963fB856cda063C979de4749e",original:"Klaytn"}]]],["Bsc",[["WETH",{symbol:"WETH",decimals:18,address:"0x064a85eac6b4Bd7190BCAd3458dBD9459989c37B",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x861B5C16A2EcED022241072A7beA9D530b99EB6f",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xe94AaBAdB6F833f65B8A9AdDD030985B775188c9",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x45082C9Fc6BBCa72288F47Fad21dE0BECC75759E",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x7FCDA925f0994121752ca14C334297BeC3d0eA9E",original:"Polygon"}],["BNB",{symbol:"BNB",decimals:18,address:"native",wrappedKey:"WBNB"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x6cE9E2c8b59bbcf65dA375D3d8AB503c8524caf7",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x1cfeCf72bcBE1E429A21A5B11E708C7c397AaC54",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x9aB305B792DBdb8253bEE909E7006611Cb45175b",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x1471698cBD9cAB0228F2EEA9303A2b3aA0ABDC2B",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x5C31B36599ED7f06b09c0ffC7A2F928cE496F046",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x30f19eBba919954FDc020B8A20aEF13ab5e02Af0",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x51a3cc54eA30Da607974C5D07B8502599801AC08",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x5A73D76e09Af2E428EC64aE10F91B78AC990B298",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x4A7Bd5E135f421057F97BbA8BCeeE5c18334f454",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x60845E2503Fcd945b3A6f0bC077a31CC913E654D",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xe3aA397cb6d93Cce4fAd9Cc9E796CCa5E50FB5ED",original:"Arbitrum"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x63108fC941F3cCE0B484De19746B5Af949EAF6eE",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xE7176110261ef2FfC885dd568C1093f58F0aEee9",original:"Ethereum"}],["SEI",{symbol:"SEI",decimals:6,address:"0x79A8FFFCED130314eCC8782C846c4d8d4867A900",original:"Sei"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x79D34FDb686B5D139949E4F92D83EEe376489176",original:"Klaytn"}]]],["Avalanche",[["WETH",{symbol:"WETH",decimals:18,address:"0xbB5A2dC896Ec4E2fa77F40FA630582ed9c6D0172",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x63A30f239DC8d1c17Bf6653a68Fc6C2F83641E6d",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x3989C9c4bdd30400E6Aa90990683EAd6a1638A16",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x78554394273957d7e55afC841aeA27Cce469AEd4",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x10F1053bF2884b28ee0Bd7a2dDBa237Af3511d29",original:"Bsc"}],["AVAX",{symbol:"AVAX",decimals:18,address:"native",wrappedKey:"WAVAX"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0xd00ae08403B9bbb9124bB305C09058E32C39A48c"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x5425890298aed601595a70AB815c96711a31Bc65"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x094cB577C21Ab1360178beE74B9591fa12216dAD",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0xC66d9c2b33c347d4A4441975f4688fcD5DD4c441",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xf080782DF38eD5228D2FC2882d13D56c8f1D6f21",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xb10563644a6AB8948ee6d7f5b0a1fb15AaEa1E03",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xfc5128F8556a6F059466E67740e6cC31EE5C2C47",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x996a3f12C1FcD7339Ea8801f629201e4d42EAD04",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x36Bd1562F874941eE62Ebb2b3A45B4A88A9df90e",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x301587BF484756441de43E522027e3751871237B",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0xc07c754ef7473d315D973F7D9F7858C2eCe0a0a6",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x7E1779F65B644E5f98DdC4D2cB0A0106a7E6d9e1",original:"Ethereum"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x4beDc7471374d7479120E44ea9593eBB85f48AD9",original:"Arbitrum"}],["SEI",{symbol:"SEI",decimals:6,address:"0xfe2eCDD1708aaebf1cF802C6124fAFb18B22dfEE",original:"Sei"}]]],["Fantom",[["WETH",{symbol:"WETH",decimals:18,address:"0x758FEebDDeC06f4bCcEc8F756C8efBD35d5b7124",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xDF7928AF5B33F7de592594958D8d6Ff8472Eb407",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x32eF19C4b3DF65a24972A489e70AdDef5E54262C",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0xE4FE5DF2084f9D81595e4fcba2399020FBE7b233",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x47a4C4c0f96D6CBe5b5C0A46CB0E22d6A17F1430",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xfB174b43228950C2055CFc25AE93f2DCe8E2beF0",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x0f545Be981C37fB15ab7c65404648761e99016e4",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x6BC4E8D8c1d54656D1DeBCa96efc53aFd1408aD2",original:"Avalanche"}],["FTM",{symbol:"FTM",decimals:18,address:"native",wrappedKey:"WFTM"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xf1277d1Ed8AD466beddF92ef448A132661956621"}],["CELO",{symbol:"CELO",decimals:18,address:"0xB18E73a69c3Aaea39a610372537Cf8482622d199",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x41E3CFDFC255A4bF3C8D3560Bc8D3D9b5080338e",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xED1a08Fc69A7008d225890A96aaE258c465CC7ad",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xd882AB49372eC093E8697B5153f54ab5e7738e3b",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xAb2297E8994149BA91737944E40891881aF762a4",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x456e08952f9091B6c268dC0cECad53d141152C59",original:"Arbitrum"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x685B29e17440c42758Ab3F80FD3603EF01bebe9A",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x01950A33DfFa63E6Bc23b5dB440505581A4cc0e7",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x66E080407407620844fE2083c33108BE55E087bc",original:"Ethereum"}],["SEI",{symbol:"SEI",decimals:6,address:"0x832e8050D6c64724500DE9B0ffe1CAc6c570a26d",original:"Sei"}]]],["Celo",[["WETH",{symbol:"WETH",decimals:18,address:"0x898471a82737dFFfB61915F9e8381e279076D72b",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xB0524bEF6c61c6150B340b2828a890fD8dEa60C0",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0xeBB3fF6E5d61d3793Fdb60f7942BA78E636019f6",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x7a56409988BBF8758b3ba412b9c7E3FE504C8544",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xa8050be9389466c3c524F10F131f244ACbf21A0D",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x502c8C83008D9Dd812a7C5fB886C063060C73Dbf",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xDDB349c976cA2C873644F21f594767Eb5390C831",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xE6F8710cA14CFe7F5aAAD3A799C3d1D92dCba938",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0xF194afDf50B03e69Bd7D057c1Aa9e10c9954E4C9"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x132D2172D89cd9CfD480A8887c6bF92360fB460e",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x05EEF2AE1A7A938D78598F7d9e8b97A9bED0c9eC",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xa40d9E69ca9867C4bFbeC11Ce79C939991e9bf26",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xAC0a2fF7DD597de863878a3372142b07B614C125",original:"Aptos"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0x0C4AbF95Ff3d82d1F02f55e65050eA5bA062606E",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x28E768a51D19dcB753a24B79D1e89c92fee094Ba",original:"Optimism"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x01a050Fc725F4E99aAD43Eb6f8481f38ee6231aD",original:"Ethereum"}],["SEI",{symbol:"SEI",decimals:6,address:"0x05Efb4aC79ef48a4830f517834c6f5f039F16832",original:"Sei"}]]],["Moonbeam",[["WETH",{symbol:"WETH",decimals:18,address:"0xd27d8883E31FAA11B2613b14BE83ad8951C8783C",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xE5dE10C4b744bac6b783fAF8d9B9fDFF14Acc3c9",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x7f5Ca1bcFb38fDF4c0E0646FCbf3FA87740ff65D",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0xc31EC0108D8e886be58808B4C2C53f8365f1885D",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0xD2888f015BcB76CE3d27b6024cdEFA16836d0dbb",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x6097E80331B0c6aF4F74D7F2363E70Cb2Fd078A5",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x2E8afeCC19842229358f3650cc3F091908dcbaB4",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x6533CE14804D113b1F494dC56c5D60A43cb5C3b5",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x566c1cebc6A4AFa1C122E039C4BEBe77043148Ee",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x3406a9b09adf0cb36DC04c1523C4b294C6b79513",original:"Celo"}],["GLMR",{symbol:"GLMR",decimals:18,address:"native",wrappedKey:"WGLMR"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xD909178CC99d318e4D46e7E66a972955859670E1"}],["SUI",{symbol:"SUI",decimals:9,address:"0x2ed4B5B1071A3C676664E9085C0e3826542C1b27",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xCaa2A1d3BbbA0D1466571e83b4E2CbE04252593D",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x15025b956969DD8F1d0CD69959Ad97128F8f6D69",original:"Arbitrum"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xf98E630a3DD4F21Cab7a37Bb01209cb62959169D",original:"Optimism"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x7480641F5B00b4Fc39d6AaeC4Cd851EdEA7f31CF",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xf82E21cE03471983Afb9c2E3789Aa13a2d7242E8",original:"Ethereum"}],["SEI",{symbol:"SEI",decimals:6,address:"0x1EdDe35B7e058194B457B8621285EaFA710f01ea",original:"Sei"}]]],["Solana",[["WETH",{symbol:"WETH",decimals:8,address:"7VPWjBhCXrpYYBiRKZh1ubh9tLZZNkZGp2ReRphEV4Mc",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"2BAqec7Qof3Y7VJatwFsRHUNSQBSkzaEsT1V5bW6dbZY",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"3WK3mEDNPrNuQReBvM28NcsqrExMnPxD9pPJmgrUeKKH",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"ACbmcQxbbhiXWM1GmapUSMmBYKMvnFLfAAXKqdo8xKwo",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"BaGfF51MQ3a61papTRDYaNefBgTQ9ywnVne5fCff4bxT",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"3Ftc5hTz9sG4huk79onufGiebJNDMZNL8HYgdMJ9E7JR",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"GQtMXZxnuacCFTXVeTvyHi6P9F6chbtzhVc8JgD8hv7c",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"DMw2tLaq1bVoAEKtkoUtieSk9bfCPUvubYLatTMsSVop",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"84F2QX9278ToDmA98u4A86xSV9hz1ovazr8zwGaX6qjS",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"8987WGkYa5viiZ9DD8sS3PB5XghKmWjkEgmzvwDuoAEc",original:"Moonbeam"}],["SOL",{symbol:"SOL",decimals:9,address:"native",wrappedKey:"WSOL"}],["WSOL",{symbol:"WSOL",decimals:9,address:"So11111111111111111111111111111111111111112"}],["USDCsol",{symbol:"USDC",decimals:6,address:"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU"}],["SUI",{symbol:"SUI",decimals:8,address:"BJZ72CjPQojVoH68mzrd4VQ4nr6KuhbAGnhZEZCujKxY",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"7EvFD3JKCJVdtkAYdaSVKJsrPEJCzy2neJha7TREGrCa",original:"Aptos"}],["WETHbase",{symbol:"WETH",decimals:8,address:"EKZqcBZ3Y7YTDinpecA7SxRp9B4s1m99VHJ9jpvyTwzW",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"FMYvcyMJJ22whB9m3T5g1oPKwM6jpLnFBXnrY6eXmCrp",original:"Ethereum"}],["tBTCoptimism",{symbol:"tBTC",decimals:8,address:"HsPvRT3J7kuitNvNHogyZeSEagcqAqwwq2FPgrGfgApy",original:"Optimism"}],["tBTCsol",{symbol:"tBTC",decimals:8,address:"6DNSN2BJsaPFdFFc1zP37kkeNe4Usc1Sqkzr9C9vPWcU"}],["SEI",{symbol:"SEI",decimals:6,address:"8LFdfuhbfdH8oBzSKDgfPAxvLW24dCM9ttjBrBobURuk",original:"Sei"}]]],["Sui",[["WETH",{symbol:"WETH",decimals:8,address:"0x72831f626b1f0e11be201893d5cb641917730b1ccac778e4a77f8ab2052f0784::coin::COIN",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x9e4396c19ec1c5f2214c79d3af3f31e59869640305560f8f2499c36fa9c8e0f2::coin::COIN",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"0xe6fc78aa2b52b785bdcb67901cd85793a0b593248f315cb755974d23d0fcb837::coin::COIN",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"0xa516bcbf83b29a2944bb53ec9f934ea7d78c3626d3ae411d2fb9dcb977522e67::coin::COIN",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"0xddcf8680a8a4b8a527d8c85ec203274991590c2ea898d1c4635b70164d9c584b::coin::COIN",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"0xa600741c469fb57ed01497ddf101e798fa79a9c529bd176675c5c4d970811f80::coin::COIN",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x2aa8c885d04e676c4e87b7d0f94d4f3b243b1b5d93239d1cc41d5528ce1714c1::coin::COIN",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"0x14e756ff65e0ac810a5f69ca5276ef5b899a6df3c4717de1f85559d8b5ae6ea6::coin::COIN",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"0x81868174a6b11e1acc337b3414f9912455435d486609fb8d50b34312865085f2::coin::COIN",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"0xeffae382de96981f7ddd2d294429924827e8f325d612487a12d6a0b249171002::coin::COIN",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"0xbc03aaab4c11eb84df8bf39fdc714fa5d5b65b16eb7d155e22c74a68c8d4e17f::coin::COIN",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x2::sui::SUI"}],["APT",{symbol:"APT",decimals:8,address:"0x812d6feb8b84e55d47a0bfcae9fb6a4e7e09be5ec86ce0a729e0f67d5f59f477::coin::COIN",original:"Aptos"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xbbc39df58a11072ceeac1f685393ca912d1a1bfd6e772053ec5a544f36124da::coin::COIN",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"0x7b442b988864149dedfb9b6a75a88c7c33b9ddd3d15a87bf25104e1fcdd680ab::coin::COIN",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x4125940814a0ca87465a1a59092a7344633ad03b48ad7cda36d799d8558012c1::coin::COIN",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"0xacf6784120b221a077ab0b84acc0b76930779eb55f157ea2492be4a60b808f6::coin::COIN",original:"Ethereum"}],["SEI",{symbol:"SEI",decimals:6,address:"0x22c5cdaabaae4b6d3351f9bba9511b0aebb0662a6c209a360f0776e1e77a8438::coin::COIN",original:"Sei"}]]],["Aptos",[["WETH",{symbol:"WETH",decimals:8,address:"0x381775005cb32cdd3dbf935ae1b978ed40d309c72b009cd4a812aab6d991418a::coin::T",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"0x5f229253e2b2d03fb909f565feca49452582bd633a5816e5ce30aa593cb49d8a::coin::T",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"0xa5894f5ddb8647e6143102aa336ff07374f7b32e88c1c703aef5b7c9a370bf80::coin::T",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"0xbe8f4301c0b54e870902b9a23eeb95ce74ac190531782aa3262337ceb145401a::coin::T",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x02ef7697bdb33361ca39d228671203afc0dea3202e792d79d2072b761d87c834::coin::T",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"0x533c6ade00d15d1e014c41e29e34853e87df92c4e01a6a3f41318dbd098048d6::coin::T",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"0xecbb0f7e7d049499ca83ca1358344f56557886f6f7adc740d6734cce7bfc9a14::coin::T",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"0x338373b6694f71dbeac5ca4a30503bf5f083888d71678aed31255de416be37c0::coin::T",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"0xdd89c0e695df0692205912fb69fc290418bed0dbe6e4573d744a6d5e6bab6c13::coin::T",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"0x7b22d0e02f653d4fd1caddcfa4719a2b329da56eb81d8f27db703f02466c26a5::coin::T",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x1::aptos_coin::AptosCoin"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0x3f0fdd44d96dae888d6c576218cf655458316a27c7bdc46537f61e531b10d3df::coin::T",original:"Arbitrum"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xcff1d9820851201436ad225dcc4374a2d15f52a74109283eb9881be799677e92::coin::T",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"0x5b5f14781164cf77185a7b6acd8e4f3cbb7e7cfb1cd5760d2b8af81075fc153d::coin::T",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xcfaabb3cb08ad612905dd6b2593d044ce857dfe5360148333b4635fb57d4d13f::coin::T",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"0x6e2d5d1a6d6d0e0c5db506ce64ead0530847a48b96516abbb08cdebe43fe3036::coin::T",original:"Ethereum"}],["SEI",{symbol:"SEI",decimals:6,address:"0xcae0ba0b7a435730ab65f1c8357d213e5cf9d4b377b96761745a8edaf9c9df6d::coin::T",original:"Sei"}]]],["Base",[["WETH",{symbol:"WETH",decimals:18,address:"0x44D627f900da8AdaC7561bD73aA745F132450798",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x5010B0988a035915C91a2a432085824FcB3D8d3f",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x31B2BAEE47Dc5Fc06baEC1BF73C124031b44fB97",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0xFFB5d863d5132523d013338845A1Bb01EDd440f4",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x9DeF11E63C23c71dE3716b81dD2Fdad2B24b8b7F",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x410B0EE532EFfB18fa4d90cc095B1CD58aC43d5a",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x4C5208246676486064c501E1DAF2dD21596Bc5f5",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xB4808E58713112AbAbB8167C7187F8988df38bbD",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x72C56041ea5fe8bDE99b2A123fb5964cDE8C7FE9",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xCEc03b5710a464F4354AF35ebD0310238F656DFf",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x6Fb1dE2372e48fe66c84cf37cc2fb54EaEe62988",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xEe0fC8BECD593B41AACBd93936fDAbc2A444370A",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xd934A15FfA3945DD0Ba2cb7b4174024261A14874",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x8eD43aBdc4f836aa60933177B31AC358ea09f27E",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x5c443C05C72F0660502d88642c807020cc9b71A2",original:"Optimism"}],["ETHbase",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHbase"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x4200000000000000000000000000000000000006"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xf175520c52418dfe19c8098071a252da48cd1c19"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x0219441240d89fAc3fD708d06d8fD3A072C02FB6",original:"Ethereum"}],["tBTCbase",{symbol:"tBTC",decimals:18,address:"0x783349cd20f26CE12e747b1a17bC38D252c9e119"}],["tBTCsol",{symbol:"tBTC",decimals:8,address:"0x9dA16Ae62De05bcb4606c4BFbB54046872501Bd0",original:"Solana"}],["SEI",{symbol:"SEI",decimals:6,address:"0x7B5edB2B3d2BeA8057a736B82AC6EF35c70bdadD",original:"Sei"}]]],["Sei",[["WETH",{symbol:"WETH",decimals:8,address:"sei13pzlt9etk44hj22lckncvampq2qu2gxv6r6774f3hma4vc07wqgsmftjx7",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"sei1nj32y0h0vzam33ay42h2majlfk7tdkqcuk84srn0v2a52kmujgfsyfe78f",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"sei1dc94as3vgxn3qkr5h0lnnrep69mtfku6jg4t94gfkunuyzr5g5eqyqvj9p",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"sei10a7see3f9t2j9l8fdweur3aqy4zgvz583a268hhhln3yzps6l5mqnl4ua6",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"sei1mgpq67pj7p2acy5x7r5lz7fulxmuxr3uh5f0szyvqgvru3glufzsxk8tnx",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"sei1uyce5s6cc8hveg0maq2lg7wm6v6fvwqmznypj559nzf9wr9tmw3qnd3ce7",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"sei1cr3j7rxq0dhq04ksftmj8n2w096w9g7ck8fngkvk2lrmy3qwz56q9thu9u",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"sei1yw4wv2zqg9xkn67zvq3azye0t8h0x9kgyg3d53jym24gxt49vdyswk5upj",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"sei140m6xagmw0zesejzhsvk46zprgscr7tu94h36rwsutcsxcs4fmds9sevym",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"sei1at3xuugacwgu3ppx7fxzmtr3q6m3ztjuean9r2mwcnqupw28yezs7unxgz",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"sei1rhpcprr2pffe6ydf078a0qeslhnlywxh2t3wjax4489z0m29cj9swj5khc",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"sei1em74y5sts4h8y5zuhfdn4w5g8zs285qld3kczpk6rh32jpvjyqqsvv0pdt",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"sei1pf5j3dgngm8yj2xkwmvmvt87g4vyc0szpjz92q8ly9erh23ytn4s983htv",original:"Arbitrum"}],["WETHbase",{symbol:"WETH",decimals:8,address:"sei1kdqylzcv86t7slg8m30mlfgna9xsrusghdgnavvurkv0rku7jvqqta7lka",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"sei1lf6ghmrkd7gn5jlj6xw64suycpjy7g4s5q92fc2gef4f8q3znanq95mmgv",original:"Base"}],["tBTCsol",{symbol:"tBTC",decimals:8,address:"sei1aj3uu9ejt8fk6rpjfhzluqnzqmv3enlndjmt8llkr7dn2dtz55xst4s3mn",original:"Solana"}],["SEI",{symbol:"SEI",decimals:6,address:"usei"}]]],["Arbitrum",[["WETH",{symbol:"WETH",decimals:18,address:"0x285d75E04D78F53f4Ed29A506a7e8479EEf3035f",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x42A212A2E7eA8feF4ED28F439F16A6ABDd34DA35",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x2B732F5ad6117818Ad3b7aC73C16033F6ECD78E5",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x50FD4064cC536a964E2E0Dc7B3fE2313Ab386bEA",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xB039aC4Fa8Ed99d30C2f7D791294A9d5FAd698eF",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x92b0C4D27a05921Ded4BB117755990F567aEe049",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xb39697B8BA5df91A169690DfEf88B911436619F2",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xa507f7566B8aDE000E886166B95964677ef3b3Ef",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x9592eE6eD1D9E611b7aa6F20CCbD7Ba571Be8bdd",original:"Celo"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xF8cbdc4E54281b801f182039c250Ad6d13818250",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xe64e2139fdf6Ee7e3795FE51955e21bA3d9eB9F7",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xa81C3BEf2d6f10213b860458DC119666C0ba13bf",original:"Aptos"}],["ETHarbitrum",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHarbitrum"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0xee01c0cd76354c383b8c7b4e65ea88d00b06f36f"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xfd064A18f3BF249cf1f87FC203E90D8f650f2d63"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xFd903eA23Bf65f26FdAf2eeb589cf007b108882E",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0xbC4CB3CD7186fD457C072298C48d0eDf7213CAEa",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x97B5fE27a82b2B187D9a19C5782d9eB93B82DaC3",original:"Ethereum"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x85727F4725A4B2834e00Db1AA8e1b843a188162F"}],["tBTCsol",{symbol:"tBTC",decimals:8,address:"0x227115F659f7c2939D23FedE68583F5291c395A6",original:"Solana"}],["SEI",{symbol:"SEI",decimals:6,address:"0x90eC817A1f7C1Eb18dD2985C534A78dD88747F47",original:"Sei"}]]],["Optimism",[["WETH",{symbol:"WETH",decimals:18,address:"0x33Db338718aC89Cd8DB13B56af05be3a3029BBE5",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x0382F518AcE1a86224c78B7CDfa67B9774055A1b",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x427B5a0b0384D7FD3AF81805A166a2d9C1116D7d",original:"Polygon"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x81BA80f5820273AA965086e710042d737993f12c",original:"Fantom"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x99436d62259532E0407A7aE78A3b48D119B13903",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x06EcAF6638070Ccf3b3dEA421b3becAA57f3e559",original:"Solana"}],["ETHoptimism",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHoptimism"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x4200000000000000000000000000000000000006"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xe05606174bac4A6364B31bd0eCA4bf4dD368f8C6"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x04b559971c90Dfb12D9795E95883e55f2fcf34Ed",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x5D89a5BcB86F15a2CCAb05e7E3bEE23fDF246a64",original:"Ethereum"}],["tBTCpolygon",{symbol:"tBTC",decimals:18,address:"0xE04e0F5f2C6ce45A40482C3AB92CA91D6741D717",original:"Polygon"}],["tBTCoptimism",{symbol:"tBTC",decimals:18,address:"0x1a53759DE2eADf73bd0b05c07a4F1F5B7912dA3d"}],["SEI",{symbol:"SEI",decimals:6,address:"0xE12be3D96fE101246bF2d290184B0eC6D35d02CA",original:"Sei"}]]],["Wormchain",[["WETH",{symbol:"WETH",decimals:8,address:"wormhole1vguuxez2h5ekltfj9gjd62fs5k4rl2zy5hfrncasykzw08rezpfs63pmq2",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"wormhole1rl8su3hadqqq2v86lscpuklsh2mh84cxqvjdew4jt9yd07dzekyqkmcy3p",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"wormhole1v2efcqkp2qtev06t0ksjnx6trxdd0f7fxg2zdrtzr8cr9wdpjkyqkv9ch6",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"wormhole1uuwad4khwek2h05gmkktzmh8l4t0ep54yydlsqg0l4y2uh3tqfyq3an9k6",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"wormhole1vhjnzk9ly03dugffvzfcwgry4dgc8x0sv0nqqtfxj3ajn7rn5ghq6whn2p",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"wormhole1335rlmhujm0gj5e9gh7at9jpqvqckz0mpe4v284ar4lw5mlkryzsnetfsj",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"wormhole1tqwwyth34550lg2437m05mjnjp8w7h5ka7m70jtzpxn4uh2ktsmq8dv649",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"wormhole1qum2tr7hh4y7ruzew68c64myjec0dq2s2njf6waja5t0w879lutqv2exs9",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"wormhole1808lz8dp2c39vhm9gnemt7zzj95nvrmjepxp7v3w4skzrlyzcmnsxkduxf",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"wormhole1e8z2wjelypwxw5sey62jvwjyup88w55q3h6m0x8jtwjf6sx5c7ys4mzydk",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"wormhole10sfpr8ykh9xn93u8xec4ed3990nmvh86e0vaegkauqhlkxspysyqwavrxx",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"wormhole1gryz69gzl6mz2m66a4twg922jtlc47nlx73sxv88lvq86du5zvyqz3mt23",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"wormhole1ced9v4plkf25q8c6k9gz0guq6l4xyjujpjlvxfg8lpaqywkmamashswq7p",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"wormhole1yf4p93xu68j5fseupm4laj4k6f60gy7ynx6r5vvyr9c0hl3uy8vqpqd6h0",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"wormhole1u8rft0gee23fa6a0t4t88ualrza5lj8ses4aur0l66c7efpvjezqchv34j",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"wormhole186k0cp83c3wyvapgh8fxf66ededemzrfujvjfsx0xw3vr0u9g8sq2y30vx",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"wormhole1s3pk90ccfl6ueehnj8s9pdgyjjlspmr3m5rv46arjh5v4g08dd0qrchjrk",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"wormhole12eu6c7f67l8gdl2lt0hz0dgdh24dhune6wjgy5t0es3tpfzhc3yspwnpfy",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"wormhole1u5z7097gm57zvun9wqsx6jxej2gpdjhg9l9xfe58rhpm29rtjmfqfnl4yv",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"wormhole10p89p4zh00dwdg8h52sysrqm0l2j47jj3kmg93pnz2a039ucw7esgl5vl9",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"wormhole1ja4txt6m0jjq0gmjtmv442f8wk0r5f5apaya0z55wwlrpg3p5xaq3qxw7h",original:"Base"}],["tBTCarbitrum",{symbol:"tBTC",decimals:8,address:"wormhole1rm8ztmk20lrd6ex8uqq3yu7a6eyfjwvg53pcuuj22ffe2y8r3yzqr8j4v9",original:"Arbitrum"}],["wstETH",{symbol:"wstETH",decimals:8,address:"wormhole1u2zdjcczjrenwmf57fmrpensk4the84azdm05m3unm387rm8asdsxqwfeu",original:"Ethereum"}]]],["Osmosis",[["WETH",{symbol:"WETH",decimals:8,address:"ibc/A4A8B6AE885DACD75B228031C0D18AD7EE1B914CED30C9F6F4230DDBD4A1CF2B",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"ibc/3BB8C4BD1C90599B2FA5B5839DD0813EF7B94B0BD0904C4C5A61498AE81E0EE9",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"ibc/1941ED1147121BA7DF35559597B6EB3251844DBBBE4557337D957CB95E0978C2",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"ibc/2864B3418775DDB90EE1410EFF822FDA94E9F0FF77FC8771644761C79EDFE7A3",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"ibc/43F15553F8598186394E81E18604B8B4532B2D7E855D9FFE68A2EF6802C18BE4",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"ibc/65A67BA10DE2378B32AC5A822321E370966D3D4E180DEFB4C3C5245B21088DDF",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"ibc/99EAD53D49EC7CC4E2E2EB26C22CF81C16727DF0C4BF7F7ACBF0D22D910DB5DE",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"ibc/EC9FA5074F34F0644A025BB0263FDAE8F364C5E08523F6464465EF1010FF5A3A",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"ibc/145C6B688F70B0C2F6D87546A5974A75CE75B3A2940275B750E65797B2996157",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"ibc/3A4EA3F8096856C0802F86B218DD74213B4C10224AA44BBD54AEAAA2ABF078BA",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"ibc/7DB06BB67428510AFC3967DC90F5632C679D55D8C487A951A0EEC3160AF492A6",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"ibc/B5D53105A7AA2BEC4DA4B3304228F3856219AE7CF84A9023043C481629E3E319",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"ibc/35A0467DE5744662078DE8B36CBBE0CF0EAA022565A3E6630CB375DDEBB96E05",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"ibc/30778BA41ADF2D8A70B90DB53C2E0251731A40276EF6737215BB1A6ED9E90078",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"ibc/7C495BD95757ED662A897C139F1C9F18275A86EE7203A0B073E2DB12B1E19D63",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"ibc/221A4AADF7972F3BB8F48A6CA984FF0AE65B5D973FF1A695B9642AD702F51789",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"ibc/06ED2700071B5A9C582F51A556537DA94E69EF547E7E6CCD8BFA3D95C818A525",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"ibc/80B3FECB24A4CE94537444E5BF937AC4C08A39BF90D59620D278FA185BD2B148",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"ibc/0A98A3947189D7C368170C76C3EF49486DDBE095F34B72A3C7F92AEBE1013A1D",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"ibc/A45069EA82C933945973E66E4222EEE4624498D4483508FE9BEBF9D519F2132F",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"ibc/2E4F8BC7F7AF33752CF7E290CAD4417EE67CD18FFC0D099E6519A440E588E0CE",original:"Base"}],["OSMO",{symbol:"OSMO",decimals:6,address:"uosmo"}],["wstETH",{symbol:"wstETH",decimals:8,address:"ibc/C66B7DB3ED665D2F5FE8ED15E88B5913A37D80601E161C5E53A743DE12C0FB85",original:"Ethereum"}]]],["Cosmoshub",[["WETH",{symbol:"WETH",decimals:8,address:"ibc/77FE9153FA76C3107CB9F6633AC33509A58529E9622327F216BA8107C79C2DE3",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"ibc/D0EC31D1176BB69EA1A7CF7172CA0380B7AF488AFC6D55B101B8363C2141CD4F",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"ibc/755FBC53FFB46FB505B5269F9BEDF47041F2A0EF2FF8D0520315403E5925C80A",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"ibc/5F21E975410DA22AF565B1772DC45AD0BD5F6DA004981EBE291763F3D2C72A96",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"ibc/37FB599287C6963C413E915FDE83EFA69A3CE8147675DD5A7F974B45F39C8A31",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"ibc/5B0D5974A56332468DD4B2D07C96A7386FCF8FE7303FF41234F90E410EF51937",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"ibc/BAEAC83736444C09656FBE666FB625974FCCDEE566EB700EBFD2642C5F6CF13A",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"ibc/F09E98FA8682FF39130F171E9D89A948B0C3A452F2A31F22B6CC54A3AAE1CD4A",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"ibc/919D8F138B7E71BB067C7301AB5C2D48415E8C3A2D9187861245CEC668F88E3C",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"ibc/009206915358A002C852A2A2CBEDB8446D2D02E519C815087A01F8BDB4DF77BA",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"ibc/1EEDF447A6B046B20C00B1497BED5947219AEEBE0D9A85235C85133A554DF7A4",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"ibc/D3EA463A51E31B2B30BED1978575CAC145DBAB354B8A0EA5D4CFB12D737AF790",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"ibc/26D8D6C63C8D37A5127591DDA905E04CC69CBD3A64F9DA3B1DA3FB0B6A7D9FA5",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"ibc/129EC6B8A41BE07F94DD267F552F4AE1D5EAEBB51634A1468556AF06C10C2692",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"ibc/0CCA5EB15BC2FE474E71DBC9698302CDE260B6F6548F91C30002F7CBF228197B",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"ibc/AB4046AF5B6F146C006DE4DECAD929D24F762A701E09EC8B29000EC63A6E649B",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"ibc/6D1B6A7A9EF692A279A6B5994C98C0D598D003D9203BE8309F14B6E57A58506E",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"ibc/A0298483510D803A045AA7F49CCBD0F9D01010FE0B1A346EBDFFF4BA820C3D21",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"ibc/CE3F2FE630DA6A1187F085CDC8D59BA8B20DA48F4866F2D71C5AB7A1D5859933",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"ibc/97035986A4BD0AF555713355A02EA31A4526616B6543E019E0D750007FABE06C",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"ibc/8560BA5F45C95AE716C05978E364F50C98347ACBEC745840C30F91611FA36698",original:"Base"}],["wstETH",{symbol:"wstETH",decimals:8,address:"ibc/5BB02667F9F0C8284FCF7716065C2779039817FBCB91E937F5149FE89FD8F202",original:"Ethereum"}],["ATOM",{symbol:"ATOM",decimals:6,address:"uatom"}]]],["Evmos",[["EVMOS",{symbol:"EVMOS",decimals:18,address:"atevmos"}]]],["Kujira",[["KUJI",{symbol:"KUJI",decimals:6,address:"ukuji"}]]],["Klaytn",[["KLAY",{symbol:"KLAY",decimals:18,address:"native",wrappedKey:"WKLAY"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x0339d5Eb6D195Ba90B13ed1BCeAa97EbD198b106"}]]],["Sepolia",[["ETHsepolia",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHsepolia"}],["WETHsepolia",{symbol:"WETH",decimals:18,address:"0xeef12A83EE5b7161D3873317c8E0E7B76e0B5D9c"}]]],["ArbitrumSepolia",[["ETHarbitrum_sepolia",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHarbitrum_sepolia"}],["WETHarbitrum_sepolia",{symbol:"WETH",decimals:18,address:"0x980B62Da83eFf3D4576C647993b0c1D7faf17c73"}]]],["BaseSepolia",[["ETHbase_sepolia",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHbase_sepolia"}],["WETHbase_sepolia",{symbol:"WETH",decimals:18,address:"0x4200000000000000000000000000000000000006"}]]],["OptimismSepolia",[["ETHoptimism_sepolia",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHoptimism_sepolia"}],["WETHoptimism_sepolia",{symbol:"WETH",decimals:18,address:"0x4200000000000000000000000000000000000006"}]]]],wE=$t(cee,[0,[1,2]]);function q6(e,t){if(e!=="Devnet"){if(e==="Mainnet"){if(!vE.has(t))return;const r=vE.get(t);return Object.fromEntries(r.map(([n,a])=>[n,{...a,chain:t,key:n}]))}if(e==="Testnet"){if(!wE.has(t))return;const r=wE.get(t);return Object.fromEntries(r.map(([n,a])=>[n,{...a,chain:t,key:n}]))}throw new Error("Unsupported network: "+e)}}function lee(e,t){const r=q6(e,t);return r?Gf.native(r):void 0}function dge(e,t,r){const n=q6(e,t);return n?Gf.byAddress(n,r):void 0}function uee(e,t,r){const n=q6(e,t);return n?Gf.byKey(n,r):void 0}function fee(e,t){const r={coreBridge:wX.get(e,t),tokenBridge:CX.get(e,t),nftBridge:EX.get(e,t),relayer:SX.get(e,t),tokenBridgeRelayer:AX.get(e,t),tbtc:Q4.get(e,t)};return fb.has(e,t)&&(r.cctp=fb.get(e,t)),VA.has(e,t)&&(r.gateway=VA.get(e,t)),$A.has(e,t)&&(r.translator=$A.get(e,t)),KA.has(e,t)&&(r.portico=KA.get(e,t)),Q4.has(e,t)&&(r.tbtc=Q4.get(e,t)),r}function mn(e){return typeof e=="string"&&e==="native"}function L_(e){return{chain:e,address:"native"}}function Hh(e){return typeof e=="object"&&e.address!==void 0&&e.chain!==void 0&&_h(e.chain)}function zs(e,t){return e.chain!==t.chain?!1:mn(e.address)&&mn(t.address)?!0:Qi(e)===Qi(t)}function Qi(e){return Hh(e)&&mn(e.address)?e.address:e.address.toNative(e.chain).toString()}function q4(e,t,r){let n;if(Hh(r)){if(!mn(r.address))return[!1,r];n=r.address}else n=r;if(mn(n)){const i=lee(e,t);if(!i)throw new Error("Invalid destination token");const o=i.wrappedKey,u=uee(e,t,o);if(!u)throw new Error("Invalid wrapped token key: "+o);return[!0,{chain:t,address:va(t,u.address)}]}return[!1,{chain:t,address:n}]}function j_(e){return e.chain!==void 0&&e.txid!==void 0}function Hm(e){return _z.map(r=>{const n=Yn(r);let a="";try{a=Pz.get(e,r)}catch{}const i=q6(e,r),o=i?Object.values(i).find(d=>mn(d.address)&&d.wrappedKey):void 0,u=o?i[o.wrappedKey]:void 0;return{key:r,platform:n,network:e,chainId:Y6(r),finalityThreshold:Oz.get(r)??0,blockTime:Rz.get(r)??0,contracts:fee(e,r),nativeTokenDecimals:iX(n),nativeChainId:a,tokenMap:i,wrappedNative:u,explorer:oX(e,r),rpc:uX(e,r)}}).reduce((r,n)=>({...r,[n.key]:n}),{})}function dee(e){return hee(e)||B_(e)}function hee(e){return typeof e=="object"&&"chain"in e&&typeof e.chain=="function"&&"address"in e&&typeof e.address=="function"&&"sign"in e&&typeof e.sign=="function"}function B_(e){return typeof e=="object"&&"chain"in e&&typeof e.chain=="function"&&"address"in e&&typeof e.address=="function"&&"signAndSend"in e&&typeof e.signAndSend=="function"}class hge{constructor(t,r,n){Ye(this,"_chain");Ye(this,"_address");Ye(this,"_signer");this._chain=t,this._address=r,this._signer=n}unwrap(){return this._signer}}function Wu(e){return e.sequence!==void 0&&e.emitter!==void 0&&e.chain!==void 0}function lp(e){return e.hash!==void 0}const CE=e=>[Cl(1),{name:"token",binary:"bytes",layout:[{name:"address",...wr},{name:"amount",..._i}]},{name:"sourceDomain",...Z1},{name:"targetDomain",...Z1},{name:"nonce",...Ex},{name:"caller",...wr},{name:"mintRecipient",...wr},ux({name:"payload",lengthSize:2},e)],pee=[Cl(1),{name:"targetRelayerFee",..._i},{name:"toNativeTokenAmount",..._i},{name:"targetRecipient",...wr}],mee=[["DepositWithPayload",CE()],["TransferWithRelay",CE(pee)]];xi("AutomaticCircleBridge",mee);const k_={binary:"uint",size:4,custom:0,omit:!0},gee=[{name:"messageBodyVersion",...k_},{name:"burnToken",...wr},{name:"mintRecipient",...wr},{name:"amount",..._i},{name:"messageSender",...wr}],wb=[{name:"version",...k_},{name:"sourceDomain",...Z1},{name:"destinationDomain",...Z1},{name:"nonce",...Ex},{name:"sender",...wr},{name:"recipient",...wr},{name:"destinationCaller",...wr},{name:"payload",binary:"bytes",layout:gee}],yee=[["Message",wb]];xi("CircleBridge",yee);var gf;(function(e){e.isCircleAttestation=t=>t.message!==void 0,e.deserialize=t=>{const r=gc(wb,t),n=Xr.encode(ip(t),!0);return[r,n]},e.serialize=t=>mc(wb,t)})(gf||(gf={}));var AE;(function(e){const t="AutomaticCircleBridge",r=["DepositWithPayload","TransferWithRelay"];e.getTransferDiscriminator=lx(()=>Dx([t,r]))})(AE||(AE={}));function bee(e){return e.amount!==void 0&&e.from!==void 0&&e.to!==void 0}const EE={binary:"bytes",size:32,custom:{to:e=>X3(e.byteLength).map(t=>String.fromCharCode(e[t])).join(""),from:e=>new Uint8Array(e.split("").map(t=>t.charCodeAt(0)))}},z_=[{name:"token",binary:"bytes",layout:[{name:"amount",..._i},{name:"address",...wr},{name:"chain",...ga()}]},{name:"to",binary:"bytes",layout:[{name:"address",...wr},{name:"chain",...ga()}]}],__=[Cl(1),...z_,{name:"fee",..._i}],V6=e=>[Cl(3),...z_,{name:"from",...wr},ux({name:"payload"},e)],Mee=[["AttestMeta",[Cl(2),{name:"token",binary:"bytes",layout:[{name:"address",...wr},{name:"chain",...ga()}]},{name:"decimals",binary:"uint",size:1},{name:"symbol",...EE},{name:"name",...EE}]],["Transfer",__],["TransferWithPayload",V6()]];xi("TokenBridge",Mee);const xee=OK(["shouldWrapNative","shouldUnwrapNative"]),Cb=[{name:"recipientChain",binary:"uint",endianness:"little",size:2},{name:"bridgeNonce",binary:"uint",endianness:"little",size:4},{name:"feeTierStart",binary:"uint",endianness:"little",size:3},{name:"feeTierFinish",binary:"uint",endianness:"little",size:3},{name:"padding",binary:"bytes",size:19},{name:"flags",...xee}],Ab=[{name:"flagSet",binary:"bytes",layout:Cb},{name:"finalTokenAddress",...wr},{name:"recipientAddress",...wr},{name:"cannonAssetAmount",..._i},{name:"minAmountFinish",..._i},{name:"relayerFee",..._i}],vee=[["Transfer",V6(Ab)]];xi("PorticoBridge",vee);var SE;(function(e){e.deserializePayload=t=>gc(Ab,t),e.serializePayload=t=>mc(Ab,t),e.deserializeFlagSet=t=>gc(Cb,t),e.serializeFlagSet=t=>mc(Cb,t)})(SE||(SE={}));const F_={binary:"bytes",layout:[{name:"size",binary:"uint",size:4,custom:3*32,omit:!0},{name:"waste",binary:"uint",size:31,custom:0n,omit:!0},{name:"version",binary:"uint",size:1,custom:0,omit:!0},{name:"gasLimit",..._i},{name:"targetChainRefundPerGasUnused",..._i}]},DE={binary:"bytes",layout:[{name:"chain",...ga()},{name:"address",...wr}]},wee=[{name:"chain",...ga()},{name:"emitterAddress",...wr},{name:"sequence",...Sx}],Cee=[{name:"size",binary:"uint",size:4,custom:12,omit:!0},{name:"domain",...Z1},{name:"nonce",...Ex}],O_={binary:"switch",idSize:1,idTag:"keyType",layouts:[[[1,"VAA"],wee],[[2,"CCTP"],Cee]]},Aee=e=>[Cl(1),{name:"target",...DE},ux({name:"payload",lengthSize:4},e),{name:"requestedReceiverValue",..._i},{name:"extraReceiverValue",..._i},{name:"executionInfo",...F_},{name:"refund",...DE},{name:"refundDeliveryProvider",...wr},{name:"sourceDeliveryProvider",...wr},{name:"senderAddress",...wr},{name:"messageKeys",binary:"array",lengthSize:1,layout:O_}],Eee=[["DeliveryInstruction",Aee()],["RedeliveryInstruction",[Cl(2),{name:"deliveryVaaKey",binary:"bytes",layout:O_},{name:"targetChain",...ga()},{name:"newRequestedReceiverValue",..._i},{name:"newEncodedExecutionInfo",...F_},{name:"newSourceDeliveryProvider",...wr},{name:"newSenderAddress",...wr}]]];xi("Relayer",Eee);const See=[Cl(1),{name:"targetRelayerFee",..._i},{name:"toNativeTokenAmount",..._i},{name:"targetRecipient",...wr}],Dee=[["TransferWithRelay",V6(See)]];xi("AutomaticTokenBridge",Dee);const pge=e=>new Error(`Token ${e} is not a wrapped asset`);var Eb;(function(e){const t="TokenBridge",r=["Transfer","TransferWithPayload"],n=["AttestMeta"];[...r,...n],e.getTransferDiscriminator=lx(()=>Dx([t,r]))})(Eb||(Eb={}));function Tee(e){return e.token!==void 0&&e.amount!==void 0&&e.from!==void 0&&e.to!==void 0}const Iee=[["Add",1],["Subtract",2],["Unknown",3]],Sb={binary:"bytes",size:20,custom:{to:e=>Xr.encode(e,!0),from:e=>Xr.decode(e)}},Nee=[["UpgradeContract",[!1,[{name:"newContract",...wr}]]],["RegisterChain",[!0,[{name:"foreignChain",...ga()},{name:"foreignAddress",...wr}]]],["RecoverChainId",[!1,[{name:"evmChainId",binary:"uint",size:32},{name:"newChainId",...ga({allowedChains:Fz("Evm")})}]]],["GuardianSetUpgrade",[!0,[{name:"guardianSet",...D_},{name:"guardians",binary:"array",lengthSize:1,layout:Sb}]]],["SetMessageFee",[!1,[{name:"messageFee",binary:"uint",size:32}]]],["TransferFees",[!0,[{name:"amount",binary:"uint",size:32},{name:"recipient",...wr}]]],["UpdateDefaultProvider",[!1,[{name:"defaultProvider",...wr}]]],["RegisterEmitterAndDomain",[!0,[{name:"emitterChain",...ga()},{name:"emitterAddress",...wr},{name:"domain",binary:"uint",size:4}]]],["UpdateFinality",[!1,[{name:"finality",binary:"uint",size:1}]]]],Ym={binary:"bytes",size:32},TE=[{name:"contractAddr",...wr},{name:"codeId",binary:"uint",size:8}],Lee=[["StoreCode",[!1,[{name:"wasmHash",...Ym}]]],["InstantiateContract",[!1,[{name:"instantiationParamsHash",...Ym}]]],["MigrateContract",[!1,[{name:"migrationParamsHash",...Ym}]]],["AddWasmInstantiateAllowlist",[!1,TE]],["DeleteWasmInstantiateAllowlist",[!1,TE]]],jee=(()=>{const e=a=>({binary:"bytes",size:a,custom:ree}),t=[{name:"height",binary:"uint",size:8}],r=Iz(t),n=a=>[{name:"name",...e(a)},...t];return{binary:"bytes",custom:{to:a=>gc(n(a.length-r),a),from:a=>mc(n(a.name.length),a)}}})(),Bee=[["ScheduleUpgrade",[!1,jee]],["CancelUpgrade",[!0,[]]],["SetIbcComposabilityMwContract",[!1,[{name:"contractAddress",...wr}]]]],kee=[["ModifyBalance",[!1,[{name:"sequence",...Sx},{name:"modifiedChain",...ga()},{name:"tokenChain",...ga()},{name:"tokenAddress",...wr},{name:"kind",...FK(Iee)},{name:"amount",..._i},{name:"reason",...T_(32)}]]]],zee=[["ActionUpdateChannelChain",[!1,[{name:"channelId",...T_(64)},{name:"channelChain",...ga({allowedChains:Fz("Cosmwasm")})}]]]],_ee=[["GeneralPurposeEvm",[!1,[{name:"governanceContract",...Sb},{name:"targetContract",...Sb},{name:"payload",binary:"bytes",lengthSize:2}]]],["GeneralPurposeSolana",[!1,[{name:"governanceContract",...wr},{name:"payload",binary:"bytes"}]]]],R_=[...Nee,...Lee,...Bee,...kee,...zee,..._ee];Ez(R_,0);const IE=Object.fromEntries(R_),Fee=[["WormholeCore","Core"],["TokenBridge","TokenBridge"],["NftBridge","NftBridge"],["Relayer","WormholeRelayer"],["CircleBridge","CircleIntegration"],["IbcBridge","IbcTranslator"],["IbcReceiver","IbcReceiver"],["GlobalAccountant","GlobalAccountant"],["GeneralPurposeGovernance","GeneralPurposeGovernance"],["WormchainGovernance","WasmdModule"],["GatewayGovernance","GatewayModule"]],Oee=$t(Fee),Ree=e=>({to:e,from:(()=>{const r=new Uint8Array(32),n=Oee(e);for(let a=1;a<=n.length;++a)r[32-a]=n.charCodeAt(n.length-a);return r})()}),Uee=(e,t)=>({to:e,from:t}),Pee=(e,t,r)=>[{name:"protocol",binary:"bytes",custom:Ree(e)},{name:"action",binary:"uint",size:1,custom:Uee(t,r)},{name:"chain",...ga({allowNull:IE[t][0]})},{name:"actionArgs",binary:"bytes",layout:IE[t][1]}],Pr=(e,t,r)=>[t,Pee(e,t,r)],Wee=[Pr("WormholeCore","UpgradeContract",1),Pr("WormholeCore","GuardianSetUpgrade",2),Pr("WormholeCore","SetMessageFee",3),Pr("WormholeCore","TransferFees",4),Pr("WormholeCore","RecoverChainId",5)],Hee=[Pr("TokenBridge","RegisterChain",1),Pr("TokenBridge","UpgradeContract",2),Pr("TokenBridge","RecoverChainId",3)],Yee=[Pr("NftBridge","RegisterChain",1),Pr("NftBridge","UpgradeContract",2),Pr("NftBridge","RecoverChainId",3)],Zee=[Pr("Relayer","RegisterChain",1),Pr("Relayer","UpgradeContract",2),Pr("Relayer","UpdateDefaultProvider",3)],Gee=[Pr("CircleBridge","UpdateFinality",1),Pr("CircleBridge","RegisterEmitterAndDomain",2),Pr("CircleBridge","UpgradeContract",3)],Qee=[Pr("IbcBridge","ActionUpdateChannelChain",1)],qee=[Pr("IbcReceiver","ActionUpdateChannelChain",1)],Vee=[Pr("GlobalAccountant","ModifyBalance",1)],$ee=[Pr("GeneralPurposeGovernance","GeneralPurposeEvm",1),Pr("GeneralPurposeGovernance","GeneralPurposeSolana",2)],Kee=[Pr("WormchainGovernance","StoreCode",1),Pr("WormchainGovernance","InstantiateContract",2),Pr("WormchainGovernance","MigrateContract",3),Pr("WormchainGovernance","AddWasmInstantiateAllowlist",4),Pr("WormchainGovernance","DeleteWasmInstantiateAllowlist",5)],Xee=[Pr("GatewayGovernance","ScheduleUpgrade",1),Pr("GatewayGovernance","CancelUpgrade",2),Pr("GatewayGovernance","SetIbcComposabilityMwContract",3)];xi("WormholeCore",Wee);xi("TokenBridge",Hee);xi("NftBridge",Yee);xi("Relayer",Zee);xi("CircleBridge",Gee);xi("IbcBridge",Qee);xi("IbcReceiver",qee);xi("GlobalAccountant",Vee);xi("GeneralPurposeGovernance",$ee);xi("WormchainGovernance",Kee);xi("GatewayGovernance",Xee);var rs;(function(e){const t="TBTCBridge",r=["GatewayTransfer","Transfer"];[...r],e.getTransferDiscriminator=lx(()=>Dx([t,r])),e.getNativeTbtcToken=n=>{const a=TX.get("Mainnet",n);if(a)return{chain:n,address:va(n,a)}}})(rs||(rs={}));const Jee=[{name:"recipient",...wr}],ete=[["GatewayTransfer",V6(Jee)],["Transfer",__]];xi("TBTCBridge",ete);function U_(e,t){return function(){return e.apply(t,arguments)}}const{toString:tte}=Object.prototype,{getPrototypeOf:Tx}=Object,$6=(e=>t=>{const r=tte.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),No=e=>(e=e.toLowerCase(),t=>$6(t)===e),K6=e=>t=>typeof t===e,{isArray:Vf}=Array,q1=K6("undefined");function rte(e){return e!==null&&!q1(e)&&e.constructor!==null&&!q1(e.constructor)&&ms(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const P_=No("ArrayBuffer");function nte(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&P_(e.buffer),t}const ite=K6("string"),ms=K6("function"),W_=K6("number"),X6=e=>e!==null&&typeof e=="object",ate=e=>e===!0||e===!1,V4=e=>{if($6(e)!=="object")return!1;const t=Tx(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ste=No("Date"),ote=No("File"),cte=No("Blob"),lte=No("FileList"),ute=e=>X6(e)&&ms(e.pipe),fte=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ms(e.append)&&((t=$6(e))==="formdata"||t==="object"&&ms(e.toString)&&e.toString()==="[object FormData]"))},dte=No("URLSearchParams"),hte=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yh(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),Vf(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let u;for(n=0;n<o;n++)u=i[n],t.call(null,e[u],u,e)}}function H_(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,a;for(;n-- >0;)if(a=r[n],t===a.toLowerCase())return a;return null}const Y_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Je.global,Z_=e=>!q1(e)&&e!==Y_;function Db(){const{caseless:e}=Z_(this)&&this||{},t={},r=(n,a)=>{const i=e&&H_(t,a)||a;V4(t[i])&&V4(n)?t[i]=Db(t[i],n):V4(n)?t[i]=Db({},n):Vf(n)?t[i]=n.slice():t[i]=n};for(let n=0,a=arguments.length;n<a;n++)arguments[n]&&Yh(arguments[n],r);return t}const pte=(e,t,r,{allOwnKeys:n}={})=>(Yh(t,(a,i)=>{r&&ms(a)?e[i]=U_(a,r):e[i]=a},{allOwnKeys:n}),e),mte=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),gte=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},yte=(e,t,r,n)=>{let a,i,o;const u={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)o=a[i],(!n||n(o,e,t))&&!u[o]&&(t[o]=e[o],u[o]=!0);e=r!==!1&&Tx(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},bte=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Mte=e=>{if(!e)return null;if(Vf(e))return e;let t=e.length;if(!W_(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},xte=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Tx(Uint8Array)),vte=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},wte=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Cte=No("HTMLFormElement"),Ate=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),NE=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Ete=No("RegExp"),G_=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Yh(r,(a,i)=>{t(a,i,e)!==!1&&(n[i]=a)}),Object.defineProperties(e,n)},Ste=e=>{G_(e,(t,r)=>{if(ms(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(ms(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Dte=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return Vf(e)?n(e):n(String(e).split(t)),r},Tte=()=>{},Ite=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Zm="abcdefghijklmnopqrstuvwxyz",LE="0123456789",Q_={DIGIT:LE,ALPHA:Zm,ALPHA_DIGIT:Zm+Zm.toUpperCase()+LE},Nte=(e=16,t=Q_.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Lte(e){return!!(e&&ms(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const jte=e=>{const t=new Array(10),r=(n,a)=>{if(X6(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const i=Vf(n)?[]:{};return Yh(n,(o,u)=>{const d=r(o,a+1);!q1(d)&&(i[u]=d)}),t[a]=void 0,i}}return n};return r(e,0)},Bte=No("AsyncFunction"),kte=e=>e&&(X6(e)||ms(e))&&ms(e.then)&&ms(e.catch),$e={isArray:Vf,isArrayBuffer:P_,isBuffer:rte,isFormData:fte,isArrayBufferView:nte,isString:ite,isNumber:W_,isBoolean:ate,isObject:X6,isPlainObject:V4,isUndefined:q1,isDate:ste,isFile:ote,isBlob:cte,isRegExp:Ete,isFunction:ms,isStream:ute,isURLSearchParams:dte,isTypedArray:xte,isFileList:lte,forEach:Yh,merge:Db,extend:pte,trim:hte,stripBOM:mte,inherits:gte,toFlatObject:yte,kindOf:$6,kindOfTest:No,endsWith:bte,toArray:Mte,forEachEntry:vte,matchAll:wte,isHTMLForm:Cte,hasOwnProperty:NE,hasOwnProp:NE,reduceDescriptors:G_,freezeMethods:Ste,toObjectSet:Dte,toCamelCase:Ate,noop:Tte,toFiniteNumber:Ite,findKey:H_,global:Y_,isContextDefined:Z_,ALPHABET:Q_,generateString:Nte,isSpecCompliantForm:Lte,toJSONObject:jte,isAsyncFn:Bte,isThenable:kte};function Nr(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a)}$e.inherits(Nr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$e.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const q_=Nr.prototype,V_={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{V_[e]={value:e}});Object.defineProperties(Nr,V_);Object.defineProperty(q_,"isAxiosError",{value:!0});Nr.from=(e,t,r,n,a,i)=>{const o=Object.create(q_);return $e.toFlatObject(e,o,function(d){return d!==Error.prototype},u=>u!=="isAxiosError"),Nr.call(o,e.message,t,r,n,a),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const zte=null;function Tb(e){return $e.isPlainObject(e)||$e.isArray(e)}function $_(e){return $e.endsWith(e,"[]")?e.slice(0,-2):e}function jE(e,t,r){return e?e.concat(t).map(function(a,i){return a=$_(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function _te(e){return $e.isArray(e)&&!e.some(Tb)}const Fte=$e.toFlatObject($e,{},null,function(t){return/^is[A-Z]/.test(t)});function J6(e,t,r){if(!$e.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=$e.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,I){return!$e.isUndefined(I[T])});const n=r.metaTokens,a=r.visitor||m,i=r.dots,o=r.indexes,d=(r.Blob||typeof Blob<"u"&&Blob)&&$e.isSpecCompliantForm(t);if(!$e.isFunction(a))throw new TypeError("visitor must be a function");function p(E){if(E===null)return"";if($e.isDate(E))return E.toISOString();if(!d&&$e.isBlob(E))throw new Nr("Blob is not supported. Use a Buffer instead.");return $e.isArrayBuffer(E)||$e.isTypedArray(E)?d&&typeof Blob=="function"?new Blob([E]):Je.Buffer.from(E):E}function m(E,T,I){let D=E;if(E&&!I&&typeof E=="object"){if($e.endsWith(T,"{}"))T=n?T:T.slice(0,-2),E=JSON.stringify(E);else if($e.isArray(E)&&_te(E)||($e.isFileList(E)||$e.endsWith(T,"[]"))&&(D=$e.toArray(E)))return T=$_(T),D.forEach(function(N,j){!($e.isUndefined(N)||N===null)&&t.append(o===!0?jE([T],j,i):o===null?T:T+"[]",p(N))}),!1}return Tb(E)?!0:(t.append(jE(I,T,i),p(E)),!1)}const b=[],v=Object.assign(Fte,{defaultVisitor:m,convertValue:p,isVisitable:Tb});function C(E,T){if(!$e.isUndefined(E)){if(b.indexOf(E)!==-1)throw Error("Circular reference detected in "+T.join("."));b.push(E),$e.forEach(E,function(D,S){(!($e.isUndefined(D)||D===null)&&a.call(t,D,$e.isString(S)?S.trim():S,T,v))===!0&&C(D,T?T.concat(S):[S])}),b.pop()}}if(!$e.isObject(e))throw new TypeError("data must be an object");return C(e),t}function BE(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Ix(e,t){this._pairs=[],e&&J6(e,this,t)}const K_=Ix.prototype;K_.append=function(t,r){this._pairs.push([t,r])};K_.toString=function(t){const r=t?function(n){return t.call(this,n,BE)}:BE;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function Ote(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function X_(e,t,r){if(!t)return e;const n=r&&r.encode||Ote,a=r&&r.serialize;let i;if(a?i=a(t,r):i=$e.isURLSearchParams(t)?t.toString():new Ix(t,r).toString(n),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class kE{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$e.forEach(this.handlers,function(n){n!==null&&t(n)})}}const J_={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Rte=typeof URLSearchParams<"u"?URLSearchParams:Ix,Ute=typeof FormData<"u"?FormData:null,Pte=typeof Blob<"u"?Blob:null,Wte=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Hte=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",po={classes:{URLSearchParams:Rte,FormData:Ute,Blob:Pte},isStandardBrowserEnv:Wte,isStandardBrowserWebWorkerEnv:Hte,protocols:["http","https","file","blob","url","data"]};function Yte(e,t){return J6(e,new po.classes.URLSearchParams,Object.assign({visitor:function(r,n,a,i){return po.isNode&&$e.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Zte(e){return $e.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Gte(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n<a;n++)i=r[n],t[i]=e[i];return t}function eF(e){function t(r,n,a,i){let o=r[i++];const u=Number.isFinite(+o),d=i>=r.length;return o=!o&&$e.isArray(a)?a.length:o,d?($e.hasOwnProp(a,o)?a[o]=[a[o],n]:a[o]=n,!u):((!a[o]||!$e.isObject(a[o]))&&(a[o]=[]),t(r,n,a[o],i)&&$e.isArray(a[o])&&(a[o]=Gte(a[o])),!u)}if($e.isFormData(e)&&$e.isFunction(e.entries)){const r={};return $e.forEachEntry(e,(n,a)=>{t(Zte(n),a,r,0)}),r}return null}const Qte={"Content-Type":void 0};function qte(e,t,r){if($e.isString(e))try{return(t||JSON.parse)(e),$e.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const $f={transitional:J_,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=$e.isObject(t);if(i&&$e.isHTMLForm(t)&&(t=new FormData(t)),$e.isFormData(t))return a&&a?JSON.stringify(eF(t)):t;if($e.isArrayBuffer(t)||$e.isBuffer(t)||$e.isStream(t)||$e.isFile(t)||$e.isBlob(t))return t;if($e.isArrayBufferView(t))return t.buffer;if($e.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Yte(t,this.formSerializer).toString();if((u=$e.isFileList(t))||n.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return J6(u?{"files[]":t}:t,d&&new d,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),qte(t)):t}],transformResponse:[function(t){const r=this.transitional||$f.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(t&&$e.isString(t)&&(n&&!this.responseType||a)){const o=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(u){if(o)throw u.name==="SyntaxError"?Nr.from(u,Nr.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:po.classes.FormData,Blob:po.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};$e.forEach(["delete","get","head"],function(t){$f.headers[t]={}});$e.forEach(["post","put","patch"],function(t){$f.headers[t]=$e.merge(Qte)});const Vte=$e.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),$te=e=>{const t={};let r,n,a;return e&&e.split(`
102
+ */var kh=Y;function Oq(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Rq=typeof Object.is=="function"?Object.is:Oq,Uq=kh.useSyncExternalStore,Pq=kh.useRef,Wq=kh.useEffect,Hq=kh.useMemo,Yq=kh.useDebugValue;oz.useSyncExternalStoreWithSelector=function(e,t,r,n,a){var i=Pq(null);if(i.current===null){var o={hasValue:!1,value:null};i.current=o}else o=i.current;i=Hq(function(){function d(C){if(!p){if(p=!0,m=C,C=n(C),a!==void 0&&o.hasValue){var E=o.value;if(a(E,C))return b=E}return b=C}if(E=b,Rq(m,C))return E;var T=n(C);return a!==void 0&&a(E,T)?(m=C,E):(m=C,b=T)}var p=!1,m,b,v=r===void 0?null:r;return[function(){return d(t())},v===null?void 0:function(){return d(v())}]},[t,r,n,a]);var u=Uq(e,i[0],i[1]);return Wq(function(){o.hasValue=!0,o.value=u},[u]),Yq(u),u};sz.exports=oz;var Zq=sz.exports;function Gq(e){e()}function Qq(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Gq(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){const r=[];let n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0;const a=t={callback:r,next:null,prev:t};return a.prev?a.prev.next=a:e=a,function(){!n||e===null||(n=!1,a.next?a.next.prev=a.prev:t=a.prev,a.prev?a.prev.next=a.next:e=a.next)}}}}var yA={notify(){},get:()=>[]};function qq(e,t){let r,n=yA,a=0,i=!1;function o(T){m();const I=n.subscribe(T);let D=!1;return()=>{D||(D=!0,I(),b())}}function u(){n.notify()}function d(){E.onStateChange&&E.onStateChange()}function p(){return i}function m(){a++,r||(r=e.subscribe(d),n=Qq())}function b(){a--,r&&a===0&&(r(),r=void 0,n.clear(),n=yA)}function v(){i||(i=!0,m())}function C(){i&&(i=!1,b())}const E={addNestedSub:o,notifyNestedSubs:u,handleChangeWrapper:d,isSubscribed:p,trySubscribe:v,tryUnsubscribe:C,getListeners:()=>n};return E}var Vq=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",$q=Vq(),Kq=()=>typeof navigator<"u"&&navigator.product==="ReactNative",Xq=Kq(),Jq=()=>$q||Xq?Y.useLayoutEffect:Y.useEffect,eV=Jq(),Sm=Symbol.for("react-redux-context"),Dm=typeof globalThis<"u"?globalThis:{};function tV(){if(!Y.createContext)return{};const e=Dm[Sm]??(Dm[Sm]=new Map);let t=e.get(Y.createContext);return t||(t=Y.createContext(null),e.set(Y.createContext,t)),t}var gl=tV();function rV(e){const{children:t,context:r,serverState:n,store:a}=e,i=Y.useMemo(()=>{const d=qq(a);return{store:a,subscription:d,getServerState:n?()=>n:void 0}},[a,n]),o=Y.useMemo(()=>a.getState(),[a]);eV(()=>{const{subscription:d}=i;return d.onStateChange=d.notifyNestedSubs,d.trySubscribe(),o!==a.getState()&&d.notifyNestedSubs(),()=>{d.tryUnsubscribe(),d.onStateChange=void 0}},[i,o]);const u=r||gl;return Y.createElement(u.Provider,{value:i},t)}var nV=rV;function nx(e=gl){return function(){return Y.useContext(e)}}var cz=nx();function lz(e=gl){const t=e===gl?cz:nx(e),r=()=>{const{store:n}=t();return n};return Object.assign(r,{withTypes:()=>r}),r}var iV=lz();function aV(e=gl){const t=e===gl?iV:lz(e),r=()=>t().dispatch;return Object.assign(r,{withTypes:()=>r}),r}var ci=aV(),sV=(e,t)=>e===t;function oV(e=gl){const t=e===gl?cz:nx(e),r=(n,a={})=>{const{equalityFn:i=sV}=typeof a=="function"?{equalityFn:a}:a,o=t(),{store:u,subscription:d,getServerState:p}=o;Y.useRef(!0);const m=Y.useCallback({[n.name](v){return n(v)}}[n.name],[n]),b=Zq.useSyncExternalStoreWithSelector(d.addNestedSub,u.getState,p||u.getState,m,i);return Y.useDebugValue(b),b};return Object.assign(r,{withTypes:()=>r}),r}var Lr=oV();function en(){const e=j6(rx);return e[Os]||e}function cV(e){return L.jsx(DQ,{...e,defaultTheme:rx,themeId:Os})}function lV(e){return function(r){return L.jsx(cV,{styles:typeof e=="function"?n=>e({theme:n,...r}):e})}}function uV(){return qM}const Ht=$Q;function Vt(e){return VQ(e)}const fV=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t}),dV=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});function hV(e){return Gt("MuiScopedCssBaseline",e)}Zt("MuiScopedCssBaseline",["root"]);const pV=e=>{const{classes:t}=e;return Qt({root:["root"]},hV,t)},mV=at("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})(Ht(({theme:e})=>{const t={};return e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,n])=>{var i,o;const a=e.getColorSchemeSelector(r);a.startsWith("@")?t[a]={colorScheme:(i=n.palette)==null?void 0:i.mode}:t[`&${a.replace(/\s*&/,"")}`]={colorScheme:(o=n.palette)==null?void 0:o.mode}}),{...fV(e,!1),...dV(e),"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold},variants:[{props:{enableColorScheme:!0},style:e.vars?t:{colorScheme:e.palette.mode}}]}})),gV=Y.forwardRef(function(t,r){const n=Vt({props:t,name:"MuiScopedCssBaseline"}),{className:a,component:i="div",enableColorScheme:o,...u}=n,d={...n,component:i},p=pV(d);return L.jsx(mV,{as:i,className:Bt(p.root,a),ref:r,ownerState:d,...u})});function yV(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function bV(e){return parseFloat(e)}function Tm({theme:e,...t}){const r=Os in e?e[Os]:void 0;return L.jsx(Xk,{...t,themeId:r?Os:void 0,theme:r||e})}const B2={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:MV}=iq({themeId:Os,theme:()=>k6({cssVariables:!0}),colorSchemeStorageKey:B2.colorSchemeStorageKey,modeStorageKey:B2.modeStorageKey,defaultColorScheme:{light:B2.defaultLightColorScheme,dark:B2.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:ez(e.palette,e.typography)};return t.unstable_sx=function(n){return pl({sx:n,theme:this})},t}}),xV=MV;function vV({theme:e,...t}){if(typeof e=="function")return L.jsx(Tm,{theme:e,...t});const r=Os in e?e[Os]:e;return"colorSchemes"in r?L.jsx(xV,{theme:e,...t}):"vars"in r?L.jsx(Tm,{theme:e,...t}):L.jsx(Tm,{theme:{...e,vars:null},...t})}function Ei(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var wV=typeof Symbol=="function"&&Symbol.observable||"@@observable",bA=wV,Im=()=>Math.random().toString(36).substring(7).split("").join("."),CV={INIT:`@@redux/INIT${Im()}`,REPLACE:`@@redux/REPLACE${Im()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Im()}`},Q3=CV;function ix(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function uz(e,t,r){if(typeof e!="function")throw new Error(Ei(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ei(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ei(1));return r(uz)(e,t)}let n=e,a=t,i=new Map,o=i,u=0,d=!1;function p(){o===i&&(o=new Map,i.forEach((I,D)=>{o.set(D,I)}))}function m(){if(d)throw new Error(Ei(3));return a}function b(I){if(typeof I!="function")throw new Error(Ei(4));if(d)throw new Error(Ei(5));let D=!0;p();const S=u++;return o.set(S,I),function(){if(D){if(d)throw new Error(Ei(6));D=!1,p(),o.delete(S),i=null}}}function v(I){if(!ix(I))throw new Error(Ei(7));if(typeof I.type>"u")throw new Error(Ei(8));if(typeof I.type!="string")throw new Error(Ei(17));if(d)throw new Error(Ei(9));try{d=!0,a=n(a,I)}finally{d=!1}return(i=o).forEach(S=>{S()}),I}function C(I){if(typeof I!="function")throw new Error(Ei(10));n=I,v({type:Q3.REPLACE})}function E(){const I=b;return{subscribe(D){if(typeof D!="object"||D===null)throw new Error(Ei(11));function S(){const j=D;j.next&&j.next(m())}return S(),{unsubscribe:I(S)}},[bA](){return this}}}return v({type:Q3.INIT}),{dispatch:v,subscribe:b,getState:m,replaceReducer:C,[bA]:E}}function AV(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Q3.INIT})>"u")throw new Error(Ei(12));if(typeof r(void 0,{type:Q3.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ei(13))})}function EV(e){const t=Object.keys(e),r={};for(let i=0;i<t.length;i++){const o=t[i];typeof e[o]=="function"&&(r[o]=e[o])}const n=Object.keys(r);let a;try{AV(r)}catch(i){a=i}return function(o={},u){if(a)throw a;let d=!1;const p={};for(let m=0;m<n.length;m++){const b=n[m],v=r[b],C=o[b],E=v(C,u);if(typeof E>"u")throw u&&u.type,new Error(Ei(14));p[b]=E,d=d||E!==C}return d=d||n.length!==Object.keys(o).length,d?p:o}}function q3(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function SV(...e){return t=>(r,n)=>{const a=t(r,n);let i=()=>{throw new Error(Ei(15))};const o={getState:a.getState,dispatch:(d,...p)=>i(d,...p)},u=e.map(d=>d(o));return i=q3(...u)(a.dispatch),{...a,dispatch:i}}}function DV(e){return ix(e)&&"type"in e&&typeof e.type=="string"}var fz=Symbol.for("immer-nothing"),MA=Symbol.for("immer-draftable"),Ha=Symbol.for("immer-state");function Bs(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var lf=Object.getPrototypeOf;function T0(e){return!!e&&!!e[Ha]}function pc(e){var t;return e?dz(e)||Array.isArray(e)||!!e[MA]||!!((t=e.constructor)!=null&&t[MA])||_6(e)||F6(e):!1}var TV=Object.prototype.constructor.toString();function dz(e){if(!e||typeof e!="object")return!1;const t=lf(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===TV}function V3(e,t){z6(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function z6(e){const t=e[Ha];return t?t.type_:Array.isArray(e)?1:_6(e)?2:F6(e)?3:0}function Q9(e,t){return z6(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function hz(e,t,r){const n=z6(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function IV(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function _6(e){return e instanceof Map}function F6(e){return e instanceof Set}function Rl(e){return e.copy_||e.base_}function q9(e,t){if(_6(e))return new Map(e);if(F6(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=dz(e);if(t===!0||t==="class_only"&&!r){const n=Object.getOwnPropertyDescriptors(e);delete n[Ha];let a=Reflect.ownKeys(n);for(let i=0;i<a.length;i++){const o=a[i],u=n[o];u.writable===!1&&(u.writable=!0,u.configurable=!0),(u.get||u.set)&&(n[o]={configurable:!0,writable:!0,enumerable:u.enumerable,value:e[o]})}return Object.create(lf(e),n)}else{const n=lf(e);if(n!==null&&r)return{...e};const a=Object.create(n);return Object.assign(a,e)}}function ax(e,t=!1){return O6(e)||T0(e)||!pc(e)||(z6(e)>1&&(e.set=e.add=e.clear=e.delete=NV),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>ax(n,!0))),e}function NV(){Bs(2)}function O6(e){return Object.isFrozen(e)}var LV={};function I0(e){const t=LV[e];return t||Bs(0,e),t}var P1;function pz(){return P1}function jV(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function xA(e,t){t&&(I0("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function V9(e){$9(e),e.drafts_.forEach(BV),e.drafts_=null}function $9(e){e===P1&&(P1=e.parent_)}function vA(e){return P1=jV(P1,e)}function BV(e){const t=e[Ha];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function wA(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[Ha].modified_&&(V9(t),Bs(4)),pc(e)&&(e=$3(t,e),t.parent_||K3(t,e)),t.patches_&&I0("Patches").generateReplacementPatches_(r[Ha].base_,e,t.patches_,t.inversePatches_)):e=$3(t,r,[]),V9(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==fz?e:void 0}function $3(e,t,r){if(O6(t))return t;const n=t[Ha];if(!n)return V3(t,(a,i)=>CA(e,n,t,a,i,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return K3(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const a=n.copy_;let i=a,o=!1;n.type_===3&&(i=new Set(a),a.clear(),o=!0),V3(i,(u,d)=>CA(e,n,a,u,d,r,o)),K3(e,a,!1),r&&e.patches_&&I0("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function CA(e,t,r,n,a,i,o){if(T0(a)){const u=i&&t&&t.type_!==3&&!Q9(t.assigned_,n)?i.concat(n):void 0,d=$3(e,a,u);if(hz(r,n,d),T0(d))e.canAutoFreeze_=!1;else return}else o&&r.add(a);if(pc(a)&&!O6(a)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;$3(e,a),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&K3(e,a)}}function K3(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ax(t,r)}function kV(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:pz(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let a=n,i=sx;r&&(a=[n],i=W1);const{revoke:o,proxy:u}=Proxy.revocable(a,i);return n.draft_=u,n.revoke_=o,u}var sx={get(e,t){if(t===Ha)return e;const r=Rl(e);if(!Q9(r,t))return zV(e,r,t);const n=r[t];return e.finalized_||!pc(n)?n:n===Nm(e.base_,t)?(Lm(e),e.copy_[t]=X9(n,e)):n},has(e,t){return t in Rl(e)},ownKeys(e){return Reflect.ownKeys(Rl(e))},set(e,t,r){const n=mz(Rl(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const a=Nm(Rl(e),t),i=a==null?void 0:a[Ha];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(IV(r,a)&&(r!==void 0||Q9(e.base_,t)))return!0;Lm(e),K9(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Nm(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Lm(e),K9(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Rl(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){Bs(11)},getPrototypeOf(e){return lf(e.base_)},setPrototypeOf(){Bs(12)}},W1={};V3(sx,(e,t)=>{W1[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});W1.deleteProperty=function(e,t){return W1.set.call(this,e,t,void 0)};W1.set=function(e,t,r){return sx.set.call(this,e[0],t,r,e[0])};function Nm(e,t){const r=e[Ha];return(r?Rl(r):e)[t]}function zV(e,t,r){var a;const n=mz(t,r);return n?"value"in n?n.value:(a=n.get)==null?void 0:a.call(e.draft_):void 0}function mz(e,t){if(!(t in e))return;let r=lf(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=lf(r)}}function K9(e){e.modified_||(e.modified_=!0,e.parent_&&K9(e.parent_))}function Lm(e){e.copy_||(e.copy_=q9(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var _V=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const i=r;r=t;const o=this;return function(d=i,...p){return o.produce(d,m=>r.call(this,m,...p))}}typeof r!="function"&&Bs(6),n!==void 0&&typeof n!="function"&&Bs(7);let a;if(pc(t)){const i=vA(this),o=X9(t,void 0);let u=!0;try{a=r(o),u=!1}finally{u?V9(i):$9(i)}return xA(i,n),wA(a,i)}else if(!t||typeof t!="object"){if(a=r(t),a===void 0&&(a=t),a===fz&&(a=void 0),this.autoFreeze_&&ax(a,!0),n){const i=[],o=[];I0("Patches").generateReplacementPatches_(t,a,i,o),n(i,o)}return a}else Bs(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(o,...u)=>this.produceWithPatches(o,d=>t(d,...u));let n,a;return[this.produce(t,r,(o,u)=>{n=o,a=u}),n,a]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){pc(e)||Bs(8),T0(e)&&(e=FV(e));const t=vA(this),r=X9(e,void 0);return r[Ha].isManual_=!0,$9(t),r}finishDraft(e,t){const r=e&&e[Ha];(!r||!r.isManual_)&&Bs(9);const{scope_:n}=r;return xA(n,t),wA(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const a=t[r];if(a.path.length===0&&a.op==="replace"){e=a.value;break}}r>-1&&(t=t.slice(r+1));const n=I0("Patches").applyPatches_;return T0(e)?n(e,t):this.produce(e,a=>n(a,t))}};function X9(e,t){const r=_6(e)?I0("MapSet").proxyMap_(e,t):F6(e)?I0("MapSet").proxySet_(e,t):kV(e,t);return(t?t.scope_:pz()).drafts_.push(r),r}function FV(e){return T0(e)||Bs(10,e),gz(e)}function gz(e){if(!pc(e)||O6(e))return e;const t=e[Ha];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=q9(e,t.scope_.immer_.useStrictShallowCopy_)}else r=q9(e,!0);return V3(r,(n,a)=>{hz(r,n,gz(a))}),t&&(t.finalized_=!1),r}var Ya=new _V,yz=Ya.produce;Ya.produceWithPatches.bind(Ya);Ya.setAutoFreeze.bind(Ya);Ya.setUseStrictShallowCopy.bind(Ya);Ya.applyPatches.bind(Ya);Ya.createDraft.bind(Ya);Ya.finishDraft.bind(Ya);function bz(e){return({dispatch:r,getState:n})=>a=>i=>typeof i=="function"?i(r,n,e):a(i)}var OV=bz(),RV=bz,UV=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?q3:q3.apply(null,arguments)};function AA(e,t){function r(...n){if(t){let a=t(...n);if(!a)throw new Error(sc(0));return{type:e,payload:a.payload,..."meta"in a&&{meta:a.meta},..."error"in a&&{error:a.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>DV(n)&&n.type===e,r}var Mz=class Pd extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Pd.prototype)}static get[Symbol.species](){return Pd}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Pd(...t[0].concat(this)):new Pd(...t.concat(this))}};function EA(e){return pc(e)?yz(e,()=>{}):e}function k2(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function PV(e){return typeof e=="boolean"}var WV=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:a=!0,actionCreatorCheck:i=!0}=t??{};let o=new Mz;return r&&(PV(r)?o.push(OV):o.push(RV(r.extraArgument))),o},HV="RTK_autoBatch",SA=e=>t=>{setTimeout(t,e)},YV=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let a=!0,i=!1,o=!1;const u=new Set,d=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:SA(10):e.type==="callback"?e.queueNotification:SA(e.timeout),p=()=>{o=!1,i&&(i=!1,u.forEach(m=>m()))};return Object.assign({},n,{subscribe(m){const b=()=>a&&m(),v=n.subscribe(b);return u.add(m),()=>{v(),u.delete(m)}},dispatch(m){var b;try{return a=!((b=m==null?void 0:m.meta)!=null&&b[HV]),i=!a,i&&(o||(o=!0,d(p))),n.dispatch(m)}finally{a=!0}}})},ZV=e=>function(r){const{autoBatch:n=!0}=r??{};let a=new Mz(e);return n&&a.push(YV(typeof n=="object"?n:void 0)),a};function GV(e){const t=WV(),{reducer:r=void 0,middleware:n,devTools:a=!0,preloadedState:i=void 0,enhancers:o=void 0}=e||{};let u;if(typeof r=="function")u=r;else if(ix(r))u=EV(r);else throw new Error(sc(1));let d;typeof n=="function"?d=n(t):d=t();let p=q3;a&&(p=UV({trace:!1,...typeof a=="object"&&a}));const m=SV(...d),b=ZV(m);let v=typeof o=="function"?o(b):b();const C=p(...v);return uz(u,i,C)}function xz(e){const t={},r=[];let n;const a={addCase(i,o){const u=typeof i=="string"?i:i.type;if(!u)throw new Error(sc(28));if(u in t)throw new Error(sc(29));return t[u]=o,a},addMatcher(i,o){return r.push({matcher:i,reducer:o}),a},addDefaultCase(i){return n=i,a}};return e(a),[t,r,n]}function QV(e){return typeof e=="function"}function qV(e,t){let[r,n,a]=xz(t),i;if(QV(e))i=()=>EA(e());else{const u=EA(e);i=()=>u}function o(u=i(),d){let p=[r[d.type],...n.filter(({matcher:m})=>m(d)).map(({reducer:m})=>m)];return p.filter(m=>!!m).length===0&&(p=[a]),p.reduce((m,b)=>{if(b)if(T0(m)){const C=b(m,d);return C===void 0?m:C}else{if(pc(m))return yz(m,v=>b(v,d));{const v=b(m,d);if(v===void 0){if(m===null)return m;throw Error("A case reducer on a non-draftable value must not return undefined")}return v}}return m},u)}return o.getInitialState=i,o}var VV=Symbol.for("rtk-slice-createasyncthunk");function $V(e,t){return`${e}/${t}`}function KV({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[VV];return function(a){const{name:i,reducerPath:o=i}=a;if(!i)throw new Error(sc(11));const u=(typeof a.reducers=="function"?a.reducers(JV()):a.reducers)||{},d=Object.keys(u),p={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},m={addCase(j,F){const O=typeof j=="string"?j:j.type;if(!O)throw new Error(sc(12));if(O in p.sliceCaseReducersByType)throw new Error(sc(13));return p.sliceCaseReducersByType[O]=F,m},addMatcher(j,F){return p.sliceMatchers.push({matcher:j,reducer:F}),m},exposeAction(j,F){return p.actionCreators[j]=F,m},exposeCaseReducer(j,F){return p.sliceCaseReducersByName[j]=F,m}};d.forEach(j=>{const F=u[j],O={reducerName:j,type:$V(i,j),createNotation:typeof a.reducers=="function"};t$(F)?n$(O,F,m,t):e$(O,F,m)});function b(){const[j={},F=[],O=void 0]=typeof a.extraReducers=="function"?xz(a.extraReducers):[a.extraReducers],W={...j,...p.sliceCaseReducersByType};return qV(a.initialState,_=>{for(let z in W)_.addCase(z,W[z]);for(let z of p.sliceMatchers)_.addMatcher(z.matcher,z.reducer);for(let z of F)_.addMatcher(z.matcher,z.reducer);O&&_.addDefaultCase(O)})}const v=j=>j,C=new Map,E=new WeakMap;let T;function I(j,F){return T||(T=b()),T(j,F)}function D(){return T||(T=b()),T.getInitialState()}function S(j,F=!1){function O(_){let z=_[j];return typeof z>"u"&&F&&(z=k2(E,O,D)),z}function W(_=v){const z=k2(C,F,()=>new WeakMap);return k2(z,_,()=>{const k={};for(const[w,s]of Object.entries(a.selectors??{}))k[w]=XV(s,_,()=>k2(E,_,D),F);return k})}return{reducerPath:j,getSelectors:W,get selectors(){return W(O)},selectSlice:O}}const N={name:i,reducer:I,actions:p.actionCreators,caseReducers:p.sliceCaseReducersByName,getInitialState:D,...S(o),injectInto(j,{reducerPath:F,...O}={}){const W=F??o;return j.inject({reducerPath:W,reducer:I},O),{...N,...S(W,!0)}}};return N}}function XV(e,t,r,n){function a(i,...o){let u=t(i);return typeof u>"u"&&n&&(u=r()),e(u,...o)}return a.unwrapped=e,a}var Wf=KV();function JV(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function e$({type:e,reducerName:t,createNotation:r},n,a){let i,o;if("reducer"in n){if(r&&!r$(n))throw new Error(sc(17));i=n.reducer,o=n.prepare}else i=n;a.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,o?AA(e,o):AA(e))}function t$(e){return e._reducerDefinitionType==="asyncThunk"}function r$(e){return e._reducerDefinitionType==="reducerWithPrepare"}function n$({type:e,reducerName:t},r,n,a){if(!a)throw new Error(sc(18));const{payloadCreator:i,fulfilled:o,pending:u,rejected:d,settled:p,options:m}=r,b=a(e,i,m);n.exposeAction(t,b),o&&n.addCase(b.fulfilled,o),u&&n.addCase(b.pending,u),d&&n.addCase(b.rejected,d),p&&n.addMatcher(b.settled,p),n.exposeCaseReducer(t,{fulfilled:o||z2,pending:u||z2,rejected:d||z2,settled:p||z2})}function z2(){}function sc(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const DA={txData:void 0,sendTx:"",redeemTx:"",transferComplete:!1,route:void 0,isResumeTx:!1,timestamp:0},vz=Wf({name:"redeem",initialState:DA,reducers:{setTxDetails:(e,{payload:t})=>{e.txData=t},setSendTx:(e,{payload:t})=>{e.sendTx=t},setRoute:(e,{payload:t})=>{e.route=t},clearRedeem:e=>{Object.keys(e).forEach(t=>{e[t]=DA[t]})},setIsResumeTx:(e,{payload:t})=>{e.isResumeTx=t},setTimestamp:(e,{payload:t})=>{e.timestamp=t}}}),{setTxDetails:ox,setSendTx:i$,clearRedeem:J9,setRoute:cx,setIsResumeTx:wz,setTimestamp:Cz}=vz.actions,a$=vz.reducer,s$={env:"Testnet",rpcs:{Bsc:"https://data-seed-prebsc-1-s3.binance.org:8545",Avalanche:"https://api.avax-test.network/ext/bc/C/rpc",Fantom:"https://rpc.testnet.fantom.network",Celo:"https://alfajores-forno.celo-testnet.org",Solana:"https://api.devnet.solana.com",Moonbeam:"https://rpc.api.moonbase.moonbeam.network",Sui:"https://fullnode.testnet.sui.io",Aptos:"https://fullnode.testnet.aptoslabs.com/v1",Sei:"https://rpc.atlantic-2.seinetwork.io",Wormchain:"",Osmosis:"https://rpc.osmotest5.osmosis.zone",Cosmoshub:"https://rpc.sentry-02.theta-testnet.polypore.xyz",Evmos:"https://evmos-testnet-rpc.polkachu.com",Kujira:"https://kujira-testnet-rpc.polkachu.com",Injective:"https://injective-testnet-rpc.polkachu.com",Klaytn:"https://public-en-kairos.node.kaia.io",Sepolia:"https://ethereum-sepolia-rpc.publicnode.com",ArbitrumSepolia:"https://sepolia-rollup.arbitrum.io/rpc",BaseSepolia:"https://base-sepolia-rpc.publicnode.com",OptimismSepolia:"https://sepolia.optimism.io",Scroll:"https://scroll-sepolia-rpc.publicnode.com",Blast:"https://sepolia.blast.io",Xlayer:"https://testrpc.xlayer.tech",Mantle:"https://rpc.sepolia.mantle.xyz",Worldchain:"https://worldchain-sepolia.g.alchemy.com/public",Unichain:"https://sepolia.unichain.org",Mezo:"https://rpc.test.mezo.org"}},o$={env:"Mainnet",rpcs:{Ethereum:"https://ethereum-rpc.publicnode.com",Solana:"https://solana-rpc.publicnode.com",Polygon:"https://polygon-bor-rpc.publicnode.com",Bsc:"https://bscrpc.com",Avalanche:"https://avalanche-c-chain-rpc.publicnode.com",Fantom:"https://rpcapi.fantom.network",Celo:"https://celo-rpc.publicnode.com",Moonbeam:"https://moonbeam-rpc.publicnode.com",Sui:"https://rpc.mainnet.sui.io",Aptos:"https://fullnode.mainnet.aptoslabs.com/v1",Arbitrum:"https://arbitrum-one-rpc.publicnode.com",Optimism:"https://optimism-rpc.publicnode.com",Base:"https://base.publicnode.com",Sei:"",Wormchain:"https://wormchain-rpc.quickapi.com",Osmosis:"https://osmosis-rpc.polkachu.com",Cosmoshub:"https://cosmos-rpc.polkachu.com",Evmos:"https://evmos-rpc.polkachu.com",Kujira:"https://kujira-rpc.polkachu.com",Injective:"https://injective-rpc.publicnode.com/",Klaytn:"https://public-en.node.kaia.io",Scroll:"https://scroll-rpc.publicnode.com",Blast:"https://blast-rpc.publicnode.com",Xlayer:"https://rpc.xlayer.tech",Mantle:"https://rpc.mantle.xyz",Worldchain:"https://worldchain-mainnet.g.alchemy.com/public",Unichain:"https://mainnet.unichain.org",Berachain:"https://rpc.berachain.com"}},c$={env:"Devnet",rpcs:{Ethereum:"http://localhost:8545",Wormchain:"http://localhost:26659",Osmosis:"http://localhost:33043",Terra2:"http://localhost:26658"}},x1=class x1 extends Error{constructor(){super(x1.MESSAGE)}};Ye(x1,"MESSAGE","Insufficient funds for gas"),Ye(x1,"MESSAGE_REGEX",/insufficient funds|Insufficient funds for gas/gm);let eb=x1;const l$={MAINNET:o$,TESTNET:s$,DEVNET:c$},u$={Ethereum:{displayName:"Ethereum",sdkName:"Ethereum",explorerUrl:"https://etherscan.io/",explorerName:"Etherscan",icon:"Ethereum",symbol:"ETH"},Bsc:{displayName:"BSC",sdkName:"Bsc",explorerUrl:"https://bscscan.com/",explorerName:"BscScan",icon:"Bsc",symbol:"BSC"},Polygon:{displayName:"Polygon",sdkName:"Polygon",explorerUrl:"https://polygonscan.com/",explorerName:"PolygonScan",icon:"Polygon",symbol:"POL"},Avalanche:{displayName:"Avalanche",sdkName:"Avalanche",explorerUrl:"https://avascan.info/blockchain/c/",explorerName:"Avascan",icon:"Avalanche",symbol:"AVAX"},Fantom:{displayName:"Fantom",sdkName:"Fantom",explorerUrl:"https://explorer.fantom.network/",explorerName:"Fantom Explorer",icon:"Fantom",symbol:"FTM"},Celo:{displayName:"Celo",sdkName:"Celo",explorerUrl:"https://explorer.celo.org/mainnet/",explorerName:"Celo Explorer",icon:"Celo",symbol:"CELO"},Moonbeam:{displayName:"Moonbeam",sdkName:"Moonbeam",explorerUrl:"https://moonscan.io/",explorerName:"Moonscan",icon:"Moonbeam",symbol:"GLMR"},Solana:{displayName:"Solana",sdkName:"Solana",explorerUrl:"https://explorer.solana.com/",explorerName:"Solana Explorer",icon:"Solana",symbol:"SOL"},Sui:{displayName:"Sui",sdkName:"Sui",explorerUrl:"https://suiscan.xyz/",explorerName:"Suiscan",icon:"Sui",symbol:"SUI"},Aptos:{displayName:"Aptos",sdkName:"Aptos",explorerUrl:"https://explorer.aptoslabs.com/",explorerName:"Aptos Explorer",icon:"Aptos",symbol:"APT"},Base:{displayName:"Base",sdkName:"Base",explorerUrl:"https://basescan.org/",explorerName:"BaseScan",icon:"Base",symbol:"BASE"},Arbitrum:{displayName:"Arbitrum",sdkName:"Arbitrum",explorerUrl:"https://arbiscan.io/",explorerName:"Arbitrum Explorer",icon:"Arbitrum",symbol:"ARB"},Optimism:{displayName:"Optimism",sdkName:"Optimism",explorerUrl:"https://optimistic.etherscan.io/",explorerName:"Optimistic Etherscan",icon:"Optimism",symbol:"OP"},Klaytn:{displayName:"Kaia",sdkName:"Klaytn",explorerUrl:"https://kaiascope.com/",explorerName:"Kaia Scope",icon:"Klaytn",symbol:"KLAY"},Scroll:{displayName:"Scroll",sdkName:"Scroll",explorerUrl:"https://scrollscan.com/",explorerName:"Scrollscan",icon:"Scroll",symbol:"SCR"},Blast:{displayName:"Blast",sdkName:"Blast",explorerUrl:"https://blastscan.io/",explorerName:"Blastscan",icon:"Blast",symbol:"BLAST"},Xlayer:{displayName:"X Layer",sdkName:"Xlayer",explorerUrl:"https://www.okx.com/web3/explorer/xlayer/",explorerName:"OKX Explorer",icon:"Xlayer",symbol:"OKX"},Mantle:{displayName:"Mantle",sdkName:"Mantle",explorerUrl:"https://explorer.mantle.xyz/",explorerName:"Mantle Explorer",icon:"Mantle",symbol:"MNT"},Worldchain:{displayName:"World Chain",sdkName:"Worldchain",explorerUrl:"https://worldscan.org/",explorerName:"World Scan",icon:"Worldchain",symbol:"WORLD"},Unichain:{displayName:"Unichain",sdkName:"Unichain",explorerUrl:"https://uniscan.xyz/",explorerName:"Uniscan",icon:"Unichain",symbol:"UNI"},Berachain:{displayName:"Berachain",sdkName:"Berachain",explorerUrl:"https://berascan.com/",explorerName:"Berascan",icon:"Berachain",symbol:"BERA"},Linea:{displayName:"Linea",sdkName:"Linea",explorerUrl:"https://lineascan.build/",explorerName:"Lineascan",icon:"Linea",symbol:"LINEA"},Sonic:{displayName:"Sonic",sdkName:"Sonic",explorerUrl:"https://sonicscan.org/",explorerName:"Sonicscan",icon:"Sonic",symbol:"S"}},Il=e=>{console.error(`Wormhole Connect: ${e}`)},rr=(e,t)=>t?{[e]:t}:{},f$=(e,t)=>{if(!t)return e;for(const r in t)for(const n in t[r])e[r]||(e[r]={}),e[r][n]={...t[r][n],...e[r][n]};return e},d$=(e,t,r)=>{if(e)return e.fromChain&&(t[e.fromChain]||(Il(`Invalid chain name "${e.fromChain}" specified for defaultInputs.fromChain`),delete e.fromChain)),e.toChain&&(t[e.toChain]||(Il(`Invalid chain name "${e.toChain}" specified for defaultInputs.toChain`),delete e.fromChain)),e.fromChain&&e.toChain&&e.fromChain===e.toChain&&Il("Source and destination chain cannot be the same, check the defaultInputs configuration"),e.fromChain&&e.toChain&&e.requiredChain&&(t[e.requiredChain]||Il(`Invalid network value "${e.requiredChain}" specified for defaultInputs.requiredChain`),e.toChain!==e.requiredChain&&e.fromChain!==e.requiredChain&&Il("Source chain or destination chain must equal the required network")),e.fromChain&&e.fromToken&&(r.findByAddressOrSymbol(e.fromChain,e.fromToken)||(Il(`Invalid token "${e.fromToken}" specified for defaultInputs.fromToken`),delete e.fromToken)),e.toChain&&e.toToken&&(r.findByAddressOrSymbol(e.toChain,e.toToken)||(Il(`Invalid token "${e.toToken}" specified for defaultInputs.toToken`),delete e.toToken)),e},h$=e=>e[0].toUpperCase()+e.slice(1),p$={},{REACT_APP_ETHEREUM_RPC:m$,REACT_APP_SOLANA_RPC:g$,REACT_APP_POLYGON_RPC:y$,REACT_APP_BSC_RPC:b$,REACT_APP_AVALANCHE_RPC:M$,REACT_APP_FANTOM_RPC:x$,REACT_APP_CELO_RPC:v$,REACT_APP_MOONBEAM_RPC:w$,REACT_APP_SUI_RPC:C$,REACT_APP_APTOS_RPC:A$,REACT_APP_BASE_RPC:E$,REACT_APP_KLAYTN_RPC:S$,REACT_APP_ARBITRUM_RPC:D$,REACT_APP_OPTIMISM_RPC:T$,REACT_APP_SCROLL_RPC:I$,REACT_APP_BLAST_RPC:N$,REACT_APP_XLAYER_RPC:L$,REACT_APP_MANTLE_RPC:j$,REACT_APP_WORLDCHAIN_RPC:B$,REACT_APP_UNICHAIN_RPC:k$,REACT_APP_BERACHAIN_RPC:z$}=p$,_$={...rr("Ethereum",m$),...rr("Solana",g$),...rr("Polygon",y$),...rr("Bsc",b$),...rr("Avalanche",M$),...rr("Fantom",x$),...rr("Celo",v$),...rr("Moonbeam",w$),...rr("Sui",C$),...rr("Aptos",A$),...rr("Base",E$),...rr("Arbitrum",D$),...rr("Optimism",T$),...rr("Klaytn",S$),...rr("Scroll",I$),...rr("Blast",N$),...rr("Xlayer",L$),...rr("Mantle",j$),...rr("Worldchain",B$),...rr("Unichain",k$),...rr("Berachain",z$)};function TA(e){return{...e,experimental:e.experimental??{},walletConnectProjectId:(e==null?void 0:e.walletConnectProjectId)??void 0}}var je=(e=>(e[e.AVAX=1]="AVAX",e[e.BNB=2]="BNB",e[e.BSC=3]="BSC",e[e.CELO=4]="CELO",e[e.ETH=5]="ETH",e[e.FANTOM=6]="FANTOM",e[e.POLYGON=7]="POLYGON",e[e.SOLANA=8]="SOLANA",e[e.USDC=9]="USDC",e[e.GLMR=10]="GLMR",e[e.DAI=11]="DAI",e[e.USDT=12]="USDT",e[e.BUSD=13]="BUSD",e[e.WBTC=14]="WBTC",e[e.SUI=15]="SUI",e[e.APT=16]="APT",e[e.SEI=17]="SEI",e[e.BASE=18]="BASE",e[e.OSMO=19]="OSMO",e[e.TBTC=20]="TBTC",e[e.WSTETH=21]="WSTETH",e[e.ARBITRUM=22]="ARBITRUM",e[e.OPTIMISM=23]="OPTIMISM",e[e.ATOM=24]="ATOM",e[e.EVMOS=25]="EVMOS",e[e.KUJI=26]="KUJI",e[e.PYTH=27]="PYTH",e[e.INJ=28]="INJ",e[e.KLAY=29]="KLAY",e[e.NTT=30]="NTT",e[e.SCROLL=31]="SCROLL",e[e.BLAST=32]="BLAST",e[e.XLAYER=33]="XLAYER",e[e.MANTLE=34]="MANTLE",e[e.WORLDCHAIN=35]="WORLDCHAIN",e[e.BERA=36]="BERA",e[e.BTC=37]="BTC",e))(je||{});const F$=[{symbol:"ETH",decimals:18,icon:je.ETH,tokenId:{chain:"Ethereum",address:"native"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Ethereum",address:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}},{symbol:"USDC",decimals:6,icon:je.USDC,tokenId:{chain:"Ethereum",address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}},{symbol:"WBTC",decimals:8,icon:je.WBTC,tokenId:{chain:"Ethereum",address:"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Ethereum",address:"0xdAC17F958D2ee523a2206206994597C13D831ec7"}},{symbol:"DAI",decimals:18,icon:je.DAI,tokenId:{chain:"Ethereum",address:"0x6B175474E89094C44Da98b954EedeAC495271d0F"}},{symbol:"BUSD",decimals:18,icon:je.BUSD,tokenId:{chain:"Ethereum",address:"0x4Fabb145d64652a948d72533023f6E7A623C7C53"}},{symbol:"POL",decimals:18,icon:je.POLYGON,tokenId:{chain:"Polygon",address:"native"}},{symbol:"WPOL",decimals:18,icon:je.POLYGON,tokenId:{chain:"Polygon",address:"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Polygon",address:"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619"}},{symbol:"USDC",decimals:6,icon:je.USDC,tokenId:{chain:"Polygon",address:"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Polygon",address:"0xc2132D05D31c914a87C6611C10748AEb04B58e8F"}},{symbol:"BNB",decimals:18,icon:je.BNB,tokenId:{chain:"Bsc",address:"native"}},{symbol:"WBNB",decimals:18,icon:je.BNB,tokenId:{chain:"Bsc",address:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}},{symbol:"USDC",decimals:18,icon:je.USDC,tokenId:{chain:"Bsc",address:"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"}},{symbol:"AVAX",decimals:18,icon:je.AVAX,tokenId:{chain:"Avalanche",address:"native"}},{symbol:"WAVAX",decimals:18,icon:je.AVAX,tokenId:{chain:"Avalanche",address:"0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7"}},{symbol:"USDC",decimals:6,icon:je.USDC,tokenId:{chain:"Avalanche",address:"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Avalanche",address:"0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Avalanche",address:"0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB"}},{symbol:"FTM",decimals:18,icon:je.FANTOM,tokenId:{chain:"Fantom",address:"native"}},{symbol:"WFTM",name:"Wrapped Fantom",decimals:18,icon:je.FANTOM,tokenId:{chain:"Fantom",address:"0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83"}},{symbol:"USDC.e",decimals:6,icon:je.USDC,tokenId:{chain:"Fantom",address:"0x2F733095B80A04b38b0D10cC884524a3d09b836a"}},{symbol:"CELO",decimals:18,icon:je.CELO,tokenId:{chain:"Celo",address:"0x471EcE3750Da237f93B8E339c536989b8978a438"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Celo",address:"0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e"}},{symbol:"GLMR",decimals:18,icon:je.GLMR,tokenId:{chain:"Moonbeam",address:"native"}},{symbol:"WGLMR",decimals:18,icon:je.GLMR,tokenId:{chain:"Moonbeam",address:"0xAcc15dC74880C9944775448304B263D191c6077F"}},{symbol:"SOL",decimals:9,icon:je.SOLANA,tokenId:{chain:"Solana",address:"native"}},{symbol:"WSOL",decimals:9,tokenId:{chain:"Solana",address:"So11111111111111111111111111111111111111112"},icon:je.SOLANA},{symbol:"USDC",decimals:6,tokenId:{chain:"Solana",address:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},icon:je.USDC},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Solana",address:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"}},{symbol:"SUI",decimals:9,tokenId:{chain:"Sui",address:"native"},icon:je.SUI},{symbol:"USDC",decimals:6,tokenId:{chain:"Sui",address:"0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"},icon:je.USDC},{symbol:"APT",decimals:8,tokenId:{chain:"Aptos",address:"native"},icon:je.APT},{symbol:"USDC",decimals:6,tokenId:{chain:"Aptos",address:"0xbae207659db88bea0cbead6da0ed00aac12edcdda169e591cd41c94180b46f3b"},icon:je.USDC},{symbol:"ETH",decimals:18,icon:je.ETH,tokenId:{chain:"Arbitrum",address:"native"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Arbitrum",address:"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"}},{symbol:"USDC",decimals:6,icon:je.USDC,tokenId:{chain:"Arbitrum",address:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Arbitrum",address:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9"}},{symbol:"ETH",decimals:18,icon:je.ETH,tokenId:{chain:"Optimism",address:"native"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Optimism",address:"0x4200000000000000000000000000000000000006"}},{symbol:"USDC",decimals:6,icon:je.USDC,tokenId:{chain:"Optimism",address:"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Optimism",address:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Bsc",address:"0x2170Ed0880ac9A755fd29B2688956BD959F933F8"}},{symbol:"USDT",decimals:18,icon:je.USDT,tokenId:{chain:"Bsc",address:"0x55d398326f99059fF775485246999027B3197955"}},{symbol:"ETH",decimals:18,icon:je.ETH,tokenId:{chain:"Base",address:"native"}},{symbol:"WETH",decimals:18,icon:je.ETH,tokenId:{chain:"Base",address:"0x4200000000000000000000000000000000000006"}},{symbol:"USDC",decimals:6,icon:je.USDC,tokenId:{chain:"Base",address:"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},{symbol:"USDT",decimals:6,icon:je.USDT,tokenId:{chain:"Base",address:"0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2"}},{symbol:"wstETH",decimals:18,tokenId:{chain:"Base",address:"0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452"},icon:je.WSTETH},{symbol:"wstETH",decimals:18,tokenId:{chain:"Ethereum",address:"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0"},icon:je.WSTETH},{symbol:"wstETH",decimals:18,tokenId:{chain:"Arbitrum",address:"0x5979D7b546E38E414F7E9822514be443A4800529"},icon:je.WSTETH},{symbol:"wstETH",decimals:18,tokenId:{chain:"Optimism",address:"0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb"},icon:je.WSTETH},{symbol:"wstETH",decimals:18,tokenId:{chain:"Polygon",address:"0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD"},icon:je.WSTETH},{symbol:"KLAY",decimals:18,icon:je.KLAY,tokenId:{chain:"Klaytn",address:"native"}},{symbol:"WKLAY",decimals:18,name:"wKLAY",icon:je.KLAY,tokenId:{chain:"Klaytn",address:"0xe4f05A66Ec68B54A58B17c22107b02e0232cC817"}},{symbol:"PYTH",decimals:6,tokenId:{chain:"Solana",address:"HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3"},icon:je.PYTH},{symbol:"ETH",decimals:18,icon:je.SCROLL,tokenId:{chain:"Scroll",address:"native"}},{symbol:"WETH",decimals:18,icon:je.SCROLL,tokenId:{chain:"Scroll",address:"0x5300000000000000000000000000000000000004"}},{symbol:"ETH",decimals:18,icon:je.BLAST,tokenId:{chain:"Blast",address:"native"}},{symbol:"WETH",decimals:18,icon:je.BLAST,tokenId:{chain:"Blast",address:"0x9D020B1697035d9d54f115194c9e04a1e4Eb9aF7"}},{symbol:"OKB",decimals:18,icon:je.XLAYER,tokenId:{chain:"Xlayer",address:"native"}},{symbol:"WOKB",decimals:18,icon:je.XLAYER,tokenId:{chain:"Xlayer",address:"0xe538905cf8410324e03A5A23C1c177a474D59b2b"}},{symbol:"MNT",decimals:18,icon:je.MANTLE,tokenId:{chain:"Mantle",address:"native"}},{symbol:"WMNT",decimals:18,icon:je.MANTLE,tokenId:{chain:"Mantle",address:"0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8"}},{symbol:"tBTC",decimals:18,tokenId:{chain:"Ethereum",address:"0x18084fbA666a33d37592fA2633fD49a74DD93a88"},icon:je.TBTC},{symbol:"tBTC",decimals:18,tokenId:{chain:"Polygon",address:"0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b"},icon:je.TBTC},{symbol:"tBTC",decimals:18,tokenId:{chain:"Optimism",address:"0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40"},icon:je.TBTC},{symbol:"tBTC",decimals:18,tokenId:{chain:"Arbitrum",address:"0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40"},icon:je.TBTC},{symbol:"tBTC",decimals:18,tokenId:{chain:"Base",address:"0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b"},icon:je.TBTC},{symbol:"tBTC",decimals:8,tokenId:{chain:"Solana",address:"6DNSN2BJsaPFdFFc1zP37kkeNe4Usc1Sqkzr9C9vPWcU"},icon:je.TBTC},{symbol:"ETH",tokenId:{chain:"Worldchain",address:"native"},decimals:18,icon:je.WORLDCHAIN},{symbol:"WETH",tokenId:{chain:"Worldchain",address:"0x4200000000000000000000000000000000000006"},decimals:18,icon:je.WORLDCHAIN},{symbol:"ETH",tokenId:{chain:"Unichain",address:"native"},decimals:18,icon:je.ETH},{symbol:"WETH",tokenId:{chain:"Unichain",address:"0x4200000000000000000000000000000000000006"},decimals:18,icon:je.ETH},{symbol:"USDC",tokenId:{chain:"Unichain",address:"0x078D782b760474a361dDA0AF3839290b0EF57AD6"},decimals:6,icon:je.USDC},{symbol:"BERA",tokenId:{chain:"Berachain",address:"native"},decimals:18,icon:je.BERA},{symbol:"WBERA",tokenId:{chain:"Berachain",address:"0x6969696969696969696969696969696969696969"},decimals:18,icon:je.BERA}],O$={Ethereum:{"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2":{Bsc:"0x4DB5a66E937A9F4473fA95b1cAF1d1E1D62E29EA",Polygon:"0x11CD37bb86F65419713f30673A480EA33c826872",Avalanche:"0x8b82A291F83ca07Af22120ABa21632088fC92931",Fantom:"0x2A126f043BDEBe5A0A9841c51915E562D9B07289",Celo:"0x66803FB87aBd4aaC3cbB3fAd7C3aa01f6F3FB207",Moonbeam:"0xab3f0245B83feB11d15AAffeFD7AD465a59817eD",Solana:"7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs",Sui:"0xaf8cd5edc19c4512f4259f0bee101a40d41ebed738ade5874359610ef8eeced5::coin::COIN",Aptos:"0xcc8a89c8dce9693d354449f1f73e60e14e347417854f029db5bc8e7454008abb::coin::T",Base:"0x71b35ECb35104773537f849FBC353F81303A5860",Arbitrum:"0xD8369C2EDA18dD6518eABb1F85BD60606dEb39Ec",Optimism:"0xb47bC3ed6D70F04fe759b2529c9bc7377889678f",Blast:"0xC09a79fCF76ab2917c685896E3693e04EEbab69C",Mantle:"0x115Fcc627AcE0457fbeb7Af3b8BcAcE7Ff6211A4",Klaytn:"0x98A8345bB9D3DDa9D808Ca1c9142a28F6b0430E1",Worldchain:"0x6938c3EfFEf84E5C69e3d7cc41eBC6Cff99EF8A7"},"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48":{Bsc:"0xB04906e95AB5D797aDA81508115611fee694c2b3",Polygon:"0x4318CB63A2b8edf2De971E2F17F77097e499459D",Avalanche:"0xB24CA28D4e2742907115fECda335b40dbda07a4C",Fantom:"0x2Ec752329c3EB419136ca5e4432Aa2CDb1eA23e6",Celo:"0x37f750B7cC259A2f741AF45294f6a16572CF5cAd",Moonbeam:"0x931715FEE2d06333043d11F658C8CE934aC61D0c",Solana:"A9mUU4qviSctJVPJdBJWkb28deg915LYJKrzQ19ji3FM",Sui:"0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN",Aptos:"0x5e156f1207d0ebfa19a9eeff00d62a282278fb8719f4fab3a586a0a2c0fffbea::coin::T",Base:"0xec267C53f53807c2337C257f8AC3Fc3cC07cc0ed",Arbitrum:"0xC96F2715E2a242d50D1b0bC923dbe1740b8eCf18",Optimism:"0x711e53D031ea9B0bb0C24dD506df11b41AEA419e",Klaytn:"0x608792Deb376CCE1c9FA4D0E6B7b44f507CfFa6A",Worldchain:"0x2cbD3491d687A76bb9C53c30B212855520D47b52"},"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599":{Bsc:"0x43359676E1A3F9FbB5de095333f8e9c1B46dFA44",Polygon:"0x5D49c278340655B56609FdF8976eb0612aF3a0C3",Avalanche:"0x1C0e79C5292c59bbC13C9F9f209D204cf4d65aD6",Fantom:"0x87e9E225aD8a0755B9958fd95BE43DD6A91FF3A7",Celo:"0xd71Ffd0940c920786eC4DbB5A12306669b5b81EF",Moonbeam:"0xE57eBd2d67B462E9926e04a8e33f01cD0D64346D",Solana:"3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh",Sui:"0x027792d9fed7f9844eb4839566001bb6f6cb4804f66aa2da6fe1ee242d896881::coin::COIN",Aptos:"0xae478ff7d83ed072dbc5e264250e67ef58f57c99d89b447efd8a0a2e8b2be76e::coin::T",Base:"0xE6396f780b543dF16ee3b784D789c75B68319db0",Arbitrum:"0x397846a8078d4845c7f5c6Ca76aeBbcFDc044fAe",Optimism:"0xB214C19d81c99E75e84706a3aa0A757319023e26",Klaytn:"0x981846bE8d2d697f4dfeF6689a161A25FfbAb8F9",Worldchain:"0x06c9ec7E18A7900E79Ad5BeCc6Cc29E3eebD81EC"},"0xdAC17F958D2ee523a2206206994597C13D831ec7":{Bsc:"0x524bC91Dc82d6b90EF29F76A3ECAaBAffFD490Bc",Polygon:"0x9417669fBF23357D2774e9D421307bd5eA1006d2",Avalanche:"0x9d228444FC4B7E15A2C481b48E10247A03351FD8",Fantom:"0x14BCb86aEed6a74D3452550a25D37f1c30AA0A66",Celo:"0x617f3112bf5397D0467D315cC709EF968D9ba546",Moonbeam:"0xc30E9cA94CF52f3Bf5692aaCF81353a27052c46f",Solana:"Dn4noZ5jgGfkntzcQSUZ8czkreiZ1ForXYoV2H8Dm7S1",Sui:"0xc060006111016b8a020ad5b33834984a437aaa7d3c74c18e09a95d48aceab08c::coin::COIN",Aptos:"0xa2eda21a58856fda86451436513b867c97eecb4ba099da5775520e0f7492e852::coin::T",Base:"0xFf0C62A4979400841eFaA6faADb07Ac7d5C98b27",Arbitrum:"0xE4728F3E48E94C6DA2B53610E677cc241DAFB134",Optimism:"0xf6B4185FCf8aF291c0E3927fbEab7046b4f6A8CA",Blast:"0x37C1dea9C51864cc6640FA9c09f4dac574b8285E",Klaytn:"0x5C13E303a62Fc5DEdf5B52D66873f2E59fEdADC2",Xlayer:"0x5866709f926f26C5870191F40333ac462B917bC0",Worldchain:"0x95dd0680Fd6B6c7546e75C1A4E6A3256072C0593"},"0x6B175474E89094C44Da98b954EedeAC495271d0F":{Bsc:"0x3413a030EF81a3dD5a302F4B4D11d911e12ed337",Polygon:"0x732EB1747ecCFC431fF19bc359ffc83755B1918c",Avalanche:"0xca319f81D147559e19A522A0a0310Dd43A96cA0F",Fantom:"0xEE786D3D73Ea645365c7248E4e40eDba08B1169F",Celo:"0x97926a82930bb7B33178E3c2f4ED1BFDc91A9FBF",Moonbeam:"0x06e605775296e851FF43b4dAa541Bb0984E9D6fD",Solana:"EjmyN6qEC1Tf1JxiG1ae7UTJhUxSwk1TCWNWqxWV4J6o",Aptos:"0x407a220699982ebb514568d007938d2447d33667e4418372ffec1ddb24491b6c::coin::T",Base:"0x617Edadb51BfB43A44Bb91C7402129C23bA52381",Arbitrum:"0x5c4f2FEFB97F7DF09E762d95C83f0Ccf8bCe8234",Optimism:"0x098EA47D630b46df1E08e389e5e4466119c7dd30",Blast:"0x286ebE2BacB0EBeF746DBDA24dED0fc001c6d0F6",Sui:"0xc01c54cd767a60835bf100b0a8f7aae66ac9f4e374f76746af60f02493b6f2cf::coin::COIN",Klaytn:"0xCB2C7998696Ef7a582dFD0aAFadCd008D03E791A",Worldchain:"0x69635e59E89000e08a13C3F7B9f7293160Dc83a2"},"0x4Fabb145d64652a948d72533023f6E7A623C7C53":{Bsc:"0x035de3679E692C471072d1A09bEb9298fBB2BD31",Polygon:"0x95ea750420da26bE1Ab0891e209e921bCd84763f",Celo:"0x1dd42c0785ca90B677adc2ABad01dfc5ECcD0b4d",Moonbeam:"0xa2284e1F98E4d0B7Eb6a6b4f3C57f1b209C755F3",Solana:"33fsBLA8djQm82RpHmE3SuVrPGtZBWNYExsEUeKX1HXX",Aptos:"0x77400d2f56a01bad2d7c8c6fa282f62647ce3c03f43f2a8742e47ea01a91e24a::coin::T",Worldchain:"0x276719Fc6a38E62B717c6FF6E39d1C336ee633AB"},"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0":{Polygon:"0xe082a7Fc696De18172Ad08D956569Ee80BC37f06",Solana:"ZScHuTtqZukUrtZS43teTKGs2VqkKL8k4QCouR2n6Uo",Arbitrum:"0xf2717122Dfdbe988ae811E7eFB157aAa07Ff9D0F",Optimism:"0x855CFcEEe998c8ca34F9c914F584AbF72dC88B87",Base:"0xEd4e2FD35161c3c0e33cA187fce64C70d44Ce32b",Bsc:"0xad80E1A9B5824234afA9dE1F3bbDb8a994796169",Avalanche:"0x11449fd2F05D93827972b40adE96F6ffBE42E35a",Fantom:"0x2a2Ec6Ad3e47C536F47934F63b95BD647F1C730E",Worldchain:"0xd977e0251db8d38155dC5d212944AB7B7a6777Ad"}},Polygon:{"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270":{Ethereum:"0x7c9f4C87d911613Fe9ca58b579f737911AAD2D43",Bsc:"0xc836d8dC361E44DbE64c4862D55BA041F88Ddd39",Avalanche:"0xf2f13f0B7008ab2FA4A2418F4ccC3684E49D20Eb",Fantom:"0xb88A6064B1F3FF5B9AE4A82fFD52560b0dF9FBD3",Celo:"0x9C234706292b1144133ED509ccc5B3CD193BF712",Moonbeam:"0x82DbDa803bb52434B1f4F41A6F0Acb1242A7dFa3",Solana:"Gz7VkD4MacbEB6yC5XD3HcumEiYx2EtDYYrfikGsvopG",Sui:"0xdbe380b13a6d0f5cdedd58de8f04625263f113b3f9db32b3e1983f49e2841676::coin::COIN",Aptos:"0x6781088e2a1629d38eda521467af4a8ca7bfa7e5516338017940389595c85c0f::coin::T",Base:"0xc863399E5c5C4011B1DC3fB602902C77BA72B709",Arbitrum:"0x3ab0E28C3F56616aD7061b4db38aE337E3809AEA",Optimism:"0x8f02B6a32cebcAe44D2Fd17d87966f5B5dD14c6d",Blast:"0xE00CB9206aCF0413aa9Dc12F01A22BB5Dd7A2866",Mantle:"0x1d15Dc3B3DB5A182eA8E3091F21EB0549d4a72E0",Klaytn:"0x9858e5A4f8202baD619D4BD39382CA67F4CA0E63",Scroll:"0x982D057feCD66c3af27b16EBC67C4db24810bcD8",Xlayer:"0xc97E2b2d7730C34adC389563721d9dF52EDA4A2a",Worldchain:"0xDcB507ECEA06724d8c4F2f03964f7EE4da504E8C"},"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619":{Bsc:"0x1384284E16e3375522Be54F50909Bc52A69e90e4",Solana:"DQyeU3oFezEGia761GQ4iPcMCnxnH8fuLrmHZUvTYuby",Aptos:"0x2692323828f627a45a75a05eba8281dd46690c538b4f6ccb7a35ffe8199a28b7::coin::T",Sui:"0xa1ed6e76b06ff8f959cc479fbbd423820a3349dad8707b98ff4309c677fa20ad::coin::COIN",Arbitrum:"0xd2b299eD76d1369Ac8762CFEc85245fFD302FC17",Ethereum:"0x32d222E1f6386B3dF7065d639870bE0ef76D3599",Avalanche:"0x061FE51530768889dc20Ac7fCD29b5307b823395",Optimism:"0x2740220fFa4b206280907ce12b7cDC57445f3B92",Fantom:"0x1cAFd8d3301E4E54Fc1462E7117Eb678bF50C765",Base:"0x7A79923734eDA9c7f7ff69ad9ec1e234F67E7CD6",Moonbeam:"0xf1BB9A987B9edC360580b0c9F28069C808c2a7da",Celo:"0x8Ed68859f162970258992168293232e3Bdd987d0",Klaytn:"0x3eb25C7098AC38a852Cd2366161c5e216af50Df3"},"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359":{Aptos:"0xc5fd7820e9f053e6dd8e7dd8ca3ce8e9b10d200ba1692bdeb7a035217180ad4a::coin::T",Base:"0xFe1579BAc60363c8572CB30Bf4DD1Fd85811BBF8",Moonbeam:"0x4415BfBDee669446550d55c749007EF60B520FC8",Sui:"0x5c8c9082401982e8c2519a5c12883a5475295bf5cec4a0a13c26d35dd9a20d73::coin::COIN",Bsc:"0xe6d82Bbe75041E42E51d755e922cE1BA91af9c4d",Celo:"0x42c76808f3179A091Ee007A2955aF2522978ADE7",Fantom:"0xB4DcfD221048a1Dad989D39456BBd87762c26F06",Avalanche:"0xDb2d08f5A9C9ADBBA0DE5a69bbB1E9Ca03411692",Arbitrum:"0x599ADB10E6A012dF34935D47407450f6D7170e3C",Optimism:"0xbB1EaB9Eb8fDf65F0E291D013DA07B4b65a27a01",Solana:"C321jHPwWBzgfSGndosDTp5pBsiXPyMU1irxKLVcedRB",Ethereum:"0xFbcE0f9e92AD1003e893Ba647bC055D845aAa507",Klaytn:"0x59AEaD999e018a00B162D34de7a81AFFAB88bAbB"},"0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD":{Base:"0xcB6D47199d60747152d7671D6497ce8D23cc1D75",Arbitrum:"0x23D3901A635fDd98D8d6509bc0720281f80a8E6D",Ethereum:"0x302F636d723c8Ed75C0d1E9D9C714009184C5624",Optimism:"0x4fad81d2268a7D9E1e0fE7dB38af07FFFA0aA56E",Celo:"0xA4c7302659eCF88a90e62e915Bd486E66B616A4C"}},Bsc:{"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c":{Ethereum:"0x418D75f65a02b3D53B2418FB8E1fe493759c7605",Polygon:"0xeCDCB5B88F8e3C15f95c720C51c71c9E2080525d",Avalanche:"0x442F7f22b1EE2c842bEAFf52880d4573E9201158",Fantom:"0xc033551e05907Ddd643AE14b6D4a9CA72BfF509B",Celo:"0xBf2554ce8A4D1351AFeB1aC3E5545AaF7591042d",Moonbeam:"0xE3b841C3f96e647E6dc01b468d6D0AD3562a9eeb",Solana:"9gP2kCy3wA1ctvYWQk75guqXuHfrEomqydHLtcTCqiLa",Sui:"0xb848cce11ef3a8f62eccea6eb5b35a12c4c2b1ee1af7755d02d7bd6218e8226f::coin::COIN",Aptos:"0x6312bc0a484bc4e37013befc9949df2d7c8a78e01c6fe14a34018449d136ba86::coin::T",Base:"0x7fdAa50d7399ac436943028edA6ed9a1BD89509f",Arbitrum:"0x7AF00405916D823eDb1121546EfA6F4972B51b84",Optimism:"0x6A09fE65ACa27C12573F04aAFa290bD75497E1BC",Blast:"0xdcd0Ec817d3ae2E82bCE8Cc9f92fFA7686A52160",Mantle:"0x9a7E85260d6F5d3c3d2a1FdDc3D980DBC78e508d",Klaytn:"0xaC9C1E4787139aF4c751B1C0fadfb513C44Ed833",Scroll:"0x5b0da0a36DC415714B53A4f24b56921332F42E7C",Xlayer:"0x8bC46166E06122603bA10D2bCA63b75091c25cAe",Worldchain:"0x59163d9c70E9b3852a504c5F1458e2daD33516Ff"},"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d":{Ethereum:"0x7cd167B101D2808Cfd2C45d17b2E7EA9F46b74B6",Polygon:"0x4B3a922c773BDCF3BA8f1A4FDAc2029E1D0E9868",Avalanche:"0x6145E8a910aE937913426BF32De2b26039728ACF",Fantom:"0x0FcbDAC44c67A43607D3E95886dB19871ADc985F",Celo:"0x9d9abAE97a9344e3854527b4efbB366a1564bfEb",Moonbeam:"0x7f433E22366E03a3758CE22cCf82887d828078f8",Solana:"FCqfQSujuPxy6V42UvafBhsysWtEq1vhjfMN1PUbgaxA",Sui:"0x909cba62ce96d54de25bec9502de5ca7b4f28901747bbf96b76c2e63ec5f1cba::coin::COIN",Aptos:"0x79a6ed7a0607fdad2d18d67d1a0e552d4b09ebce5951f1e5c851732c02437595::coin::T",Base:"0x68E2b07F92ed506f92935d7359ECA84D5342dbb4",Arbitrum:"0x1a0590F951bc9C3818Ce75ba5Bbe92831b2cf57e",Optimism:"0x1C15057d1F3794C934a6cBC1f7EceE934050F219",Klaytn:"0x01B342d26FEF5749E87CBe412e16163771b0277c"},"0x2170Ed0880ac9A755fd29B2688956BD959F933F8":{Aptos:"0xd9fc4259ec5def95477dba9f0861c2882d1f8bee9a4138b476dd0720a3444547::coin::T",Solana:"FzjTz2cD1DfqYvafrbHWZvf1dK9qjwXGLuaU7xYXQjxP",Sui:"0x5029d5a94429a73b8036cd67192d9c5e09bbc2c0fee942d50075a9edba66744f::coin::COIN",Base:"0xf50509Bb6aF76E20c6E1eD493699c5f70764BcCC",Arbitrum:"0x6478377A399bE8c92bD35254aA7bF287836de32e",Ethereum:"0x5DbBB101CDc29443d12055eCDDdD7ca037Dce721",Fantom:"0xc511E3aec79CABD605021C237c475Ec553B002d4",Celo:"0x09F236D3708894581b1Cf679e582ba9eA5BE16f0",Klaytn:"0x4C07075BB44076106f3389766946b79784Fb5C58",Avalanche:"0xf0e509144CfA602d0A5e8C75d76FF74077f52f2b",Optimism:"0x8088Bc767c392b5769b94c9ec1D07c62874c8d5f",Polygon:"0x2D291e940DbDdaa9E847Ba5cC49451575f086b27",Moonbeam:"0xBefd7902B682938b29B3FD3D4AdECD9A984D5930"}},Avalanche:{"0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7":{Ethereum:"0x85f138bfEE4ef8e540890CFb48F620571d67Eda3",Bsc:"0x96412902aa9aFf61E13f085e70D3152C6ef2a817",Polygon:"0x7Bb11E7f8b10E9e571E5d8Eace04735fDFB2358a",Fantom:"0x358CE030DC6116Cc296E8B9F002728e65459C146",Celo:"0xFFdb274b4909fC2efE26C8e4Ddc9fe91963cAA4d",Moonbeam:"0xd4937A95BeC789CC1AE1640714C61c160279B22F",Solana:"KgV1GvrHQmRBY8sHQQeUKwTm2r2h8t4C8qt12Cw1HVE",Sui:"0x1e8b532cca6569cab9f9b9ebc73f8c13885012ade714729aa3b450e0339ac766::coin::COIN",Aptos:"0x5b1bbc25524d41b17a95dac402cf2f584f56400bf5cc06b53c36b331b1ec6e8f::coin::T",Base:"0xc449A60A31E1eebFE83c42E9465fd4Dc318aE9a7",Arbitrum:"0x565609fAF65B92F7be02468acF86f8979423e514",Optimism:"0x8418C1d909842f458c9394886b83F19d62bF1A0D",Blast:"0x7D86F00026c2cD8137D60ae85d53c5E5a15B2481",Mantle:"0x2cAb4233d42043AEBbbb1445af362Ef686f3C133",Klaytn:"0x45830b92443a8f750247da2A76C85c70d0f1EBF3",Scroll:"0xC043c8A3672f397e7b52bF0a04F47d6f1aA952Ed",Xlayer:"0x5208Fb676B2DBab7aFaFB56e8997237F0ceECF71",Worldchain:"0x5Bf2A0622aa1254D963A3074b593A379784C116a"},"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E":{Ethereum:"0x39EbF69137D98FB7659Ef8D4ea21ec26394389d7",Bsc:"0xc88Dc63bf0c8c8198C97Db0945E3eF25Ca89A8e4",Polygon:"0xAEA5CC14DefbC1b845FDE729E563B717Ee6825ae",Fantom:"0xEfE7701cb2B80664385Be226d0300912CA92f66A",Celo:"0x62FFf2D2D1692D52eAf043AeeC727F7918d269D3",Moonbeam:"0xd4918c40cA9f02d42Cb53d06587aF42017Bc345D",Solana:"FHfba3ov5P3RjaiLVgh8FTv4oirxQDoVXuoUUDvHuXax",Sui:"0xe596782fbaebef51ae99ffac8731aed98a80642b9dc193ed659c97fbc2cc0f84::coin::COIN",Aptos:"0x39d84c2af3b0c9895b45d4da098049e382c451ba63bec0ce0396ff7af4bb5dff::coin::T",Arbitrum:"0x93e0FcbEd43CD6fC30DF00CcBD4669718dc74e77",Optimism:"0x355f0a8a7ecAeD971b8Fbd50994558291ff2413a",Base:"0xD83385fE100E20c269a5975D4Bf92525BcE09F87",Blast:"0x3Db095413b5e1e5681c48028e31e8dc2505D8aD3",Klaytn:"0x9C97D4c09679Dfd00A39681f6d3b61A285312B13",Scroll:"0xbEFc3d0457fB88f82364Dd982F7BA195FEE96b74"},"0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB":{Aptos:"0x25ff8e0c07552c392c9e5dd4c9c07cf0382765c1bca560e80b6296a702034219::coin::T",Solana:"F9B9qLwUN3TAWGV9EGsuzFzS2PxWvKAmLhvfeqYNaS7J",Bsc:"0xBDfe278268524de38Da89B3023C1F49deBDFdA8A",Sui:"0xc1ea686a329e35808c61484d95904d50522f1d1616cab4b416d9cfa9b274bc6c::coin::COIN",Base:"0xEfe64b52bc0bDfa109790736F25cefb79724adF0",Arbitrum:"0xdF64fB41b7f45304a786695E0D5daD8d033C01eF",Polygon:"0x2912b3a9586Fc2AB177dC869e878c688DAA7d06E",Ethereum:"0xD85a87Edbe9fB3Baf6a1Bbd1E46f1C04B291331d",Optimism:"0xBe6EA3e70e2bbB0dbD093B657fbbc0DFF0BA67eC",Moonbeam:"0x9C673c6b651D6FDEF57441125A6AC16b08bba939",Celo:"0xDac2C97b5E64d7C79d040cd2906EBe02341F1Ab5",Klaytn:"0x9971F9d9170D787C4e4E01c56E1BDB308291CacF",Fantom:"0x86a09597fc91b116511B990D29CB46ddedC0fCb0"}},Fantom:{"0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83":{Ethereum:"0x4cD2690d86284e044cb63E60F1EB218a825a7e92",Bsc:"0xbF8413EE8612E0E4f66Aa63B5ebE27f3C5883d47",Polygon:"0x3726831304D77f585f1Aca9d9841cc3Ef80dAa62",Avalanche:"0xd19abc09B7b36F7558929b97a866f499a26c2f83",Celo:"0xd1A342eE2210238233a347FEd61EE7Faf9f251ce",Moonbeam:"0x609AedD990bf45926bca9E4eE988b4Fb98587D3A",Solana:"DRQBDBEWmwWGK13fRTLhSPzjbvMSUavhV6nW4RUH8W6T",Sui:"0x6081300950a4f1e2081580e919c210436a1bed49080502834950d31ee55a2396::coin::COIN",Aptos:"0xd1aa2ff36a0e93e1b4e4fecdecf8bb95bc5de399061c5e84b515281f48718842::coin::T",Base:"0x936Fa2DE8380Dc5BF34C80F1BaD53a9f3630263B",Arbitrum:"0x7f7dcDb91930033a4Eb269196EBb6fd5f0644E4B",Optimism:"0x0b0ecbe5C3995541876d27633B63296570FB34Af",Blast:"0xf1D0eEeB6B6B35dc7289E1AD5e523F68b82bd09A",Mantle:"0x6BFDc59ECBC5503aE16F71851064597D0a75dA76",Klaytn:"0xF3AebeA789F30C22F3657F70f4CaA0f8b49ed676",Scroll:"0x16f077e2e9bF99Adfb1FEEc8360ee002842C44A2",Xlayer:"0x956b5E88c311b976C76CB415C7E030A5Af87373b"},"0x2F733095B80A04b38b0D10cC884524a3d09b836a":{Bsc:"0x521af8b1c43B503BE91F542d82EEFEabc0C93340",Arbitrum:"0xF68734163731ad6A6108f76A8e09862C1d412B42",Ethereum:"0xfcC349c14013EdeFAAcAE09Ba30F4ef2571b8D2c"}},Celo:{"0x471EcE3750Da237f93B8E339c536989b8978a438":{Ethereum:"0x3294395e62F4eB6aF3f1Fcf89f5602D90Fb3Ef69",Bsc:"0x2A335e327a55b177f5B40132fEC5D7298aa0D7e6",Polygon:"0x922F49a9911effc034eE756196E59BE7b90D43b3",Avalanche:"0x494317B8521c5a5287a06DEE467dd6fe285dA4a8",Fantom:"0xF432490C6c96C9d3bF523a499a1CEaFd8208A373",Moonbeam:"0xc1a792041985F65c17Eb65E66E254DC879CF380b",Solana:"9kvAcwQbqejuJMd59mKuw2bfSsLRaQ7zuvaTVHEeBBec",Sui:"0xa198f3be41cda8c07b3bf3fee02263526e535d682499806979a111e88a5a8d0f::coin::COIN",Aptos:"0xac0c3c35d50f6ef00e3b4db6998732fe9ed6331384925fe8ec95fcd7745a9112::coin::T",Base:"0x74df3823aA29D278cAD0A3632fCB56C896a38eD4",Arbitrum:"0x4E51aC49bC5e2d87e0EF713E9e5AB2D71EF4F336",Optimism:"0x9b88D293b7a791E40d36A39765FFd5A1B9b5c349",Blast:"0x75345Cc6a3333cca03aCE2a28C7de328122Db3b1",Klaytn:"0xB2b5bC9bc872c7107CBC8E8e0E2805Db0ac4FBc2",Worldchain:"0x2250A0E2532A745b585B69dd2CdC75207384917c"}},Moonbeam:{"0xAcc15dC74880C9944775448304B263D191c6077F":{Ethereum:"0x93d3696A9F879b331f40CB5059e37015423A3Bd0",Bsc:"0x1C063db3c621BF901FC6C1D03328b08b2F9bbfba",Polygon:"0xcC48d6CF842083fEc0E01d913fB964b585975F05",Avalanche:"0x375aA6C67BF499fBf01804A9f92C03c0776F372d",Fantom:"0xBF227E92D6754EB4BFE26C40cb299ff2809Da45f",Celo:"0x383A5513AbE4Fe36e0E00d484F710148E348Aa9D",Solana:"7ixSaXGsHAFy34wogPk2YXiUX3BMmQMFdercdaHLnBby",Sui:"0x66f87084e49c38f76502d17f87d17f943f183bb94117561eb573e075fdc5ff75::coin::COIN",Aptos:"0x7ab1283a7b13c4254d4e1f803d7ce6578442c1d7a40d0faee41cd48ba4884c8a::coin::T",Base:"0xfdB7311BeC3b2CcCF8407d0585f81B97b3b5eff1",Arbitrum:"0x944C5b67a03e6Cb93Ae1E4B70081f13b04CDB6Bd",Optimism:"0xbffD46DFDb8d3a02b8D2E0F864a2cD712090a4D3",Blast:"0x43E43580A34c8FdD4694e1F9B5F9b1121a7044a5",Klaytn:"0x52a4558f98dDc7cb40cd9114C005f0B9571258Fc",Scroll:"0x2Aba1Ed24EaFC17F801b1A7dF1c3a06737F8aB72",Xlayer:"0xE2a44Dad57004517738FbD84cdf09Bd1451b4e43",Worldchain:"0xaAe2Bd4EB640f02dD3a53bd994ad19110b4191b0"}},Solana:{So11111111111111111111111111111111111111112:{Ethereum:"0xD31a59c85aE9D8edEFeC411D448f90841571b89c",Bsc:"0xfA54fF1a158B5189Ebba6ae130CEd6bbd3aEA76e",Polygon:"0xd93f7E271cB87c23AaA73edC008A79646d1F9912",Avalanche:"0xFE6B19286885a4F7F55AdAD09C3Cd1f906D2478F",Fantom:"0xd99021C2A33e4Cf243010539c9e9b7c52E0236c1",Celo:"0x4581E64115d46CcdeE65Be2336bEc86c9BA54C01",Moonbeam:"0x99Fec54a5Ad36D50A4Bba3a41CAB983a5BB86A7d",Sui:"0xb7844e289a8410e50fb3ca48d69eb9cf29e27d223ef90353fe1bd8e27ff8f3f8::coin::COIN",Aptos:"0xdd89c0e695df0692205912fb69fc290418bed0dbe6e4573d744a6d5e6bab6c13::coin::T",Base:"0x1C61629598e4a901136a81BC138E5828dc150d67",Arbitrum:"0x2bcC6D6CdBbDC0a4071e48bb3B969b06B3330c07",Optimism:"0xba1Cf949c382A32a09A17B2AdF3587fc7fA664f1",Blast:"0xA5370b8e2413b23eA16F3B78D1d1ba3969678227",Mantle:"0xDA03239f428c76A527e1ceCa0ecA6cC367A2D945",Klaytn:"0xfAA03A2AC2d1B8481Ec3fF44A0152eA818340e6d",Xlayer:"0x3a859D92da2E16Ad32C5C6F3ADAddFBa4dE3A47e",Scroll:"0xCDf95E1F720caade4b1DC83ABfE15400D2a458AD",Worldchain:"0xEfae32D1c15EDBaEA3ebdDe1e2C51003AED04d30"},EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v:{Ethereum:"0x41f7B8b9b897276b7AAE926a9016935280b44E97",Bsc:"0x91Ca579B0D47E5cfD5D0862c21D5659d39C8eCf0",Polygon:"0x576Cf361711cd940CD9C397BB98C4C896cBd38De",Avalanche:"0x0950Fc1AD509358dAeaD5eB8020a3c7d8b43b9DA",Fantom:"0xb8398DA4FB3BC4306B9D9d9d13d9573e7d0E299f",Celo:"0x8B6eef6C449D3Ac723a9C06a9eaE2dCd7d308BA9",Moonbeam:"0x098d6eE48341D6a0a0A72dE5baaF80A10E0F6082",Sui:"0xb231fcda8bbddb31f2ef02e6161444aec64a514e2c89279584ac9806ce9cf037::coin::COIN",Aptos:"0xc91d826e29a3183eb3b6f6aa3a722089fdffb8e9642b94c5fcd4c48d035c0080::coin::T",Arbitrum:"0x3870546cfd600ba87e4180686d29dC993A45d3B7",Optimism:"0x6F974A6dfD5B166731704Be226795901c45Bb815",Base:"0xe8CE40EBBB844142400D21558a2F1c9683d69139",Klaytn:"0xa1a7feeD29EbFa38079D943486c23f401939Ce80",Scroll:"0x883Ccb5aEfD0084f1e4D04b133675acd6D5F123F"},HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3:{Aptos:"0x770211b47954e15bec1a4271bf33bacebc2d2adb43b7dc1ca45efa787615dd4c::coin::T",Bsc:"0xb0188B0bb2cD4a6D2744637fC83C94a284B247Da",Base:"0x4c5d8A75F3762c1561D96f177694f67378705E98",Celo:"0x985aa4814419ba338379A634785216301e51113D",Avalanche:"0x8A0691e602B7a5FCc51a27E4a08376dE50889B42",Polygon:"0xFa4B761A1e07909Ba31331a5dfa12390E3ff5583",Fantom:"0x77ad3B2dA29FBd208F12c3C701E969F4422aAD79",Optimism:"0x99C59ACeBFEF3BBFB7129DC90D1a11DB0E91187f",Ethereum:"0xeFc0CED4B3D536103e76a1c4c74F0385C8F4Bdd3",Arbitrum:"0xE4D5c6aE46ADFAF04313081e8C0052A30b6Dd724",Sui:"0x9c6d76eb273e6b5ba2ec8d708b7fa336a5531f6be59f326b5be8d4d8b12348a4::coin::COIN",Moonbeam:"0x27cc3FDbDD1F415b09a41232D0fD71345DAB8030",Xlayer:"0x057b766b3fB76527cf815c3b5C38Dfa8144335CF",Worldchain:"0x838f3045F3B2dcDFF8cB4e5CaB0c0092A69B790a"}},Sui:{native:{Ethereum:"0x84074EA631dEc7a4edcD5303d164D5dEa4c653D6",Bsc:"0x8314f6Bf1B4dd8604A0fC33C84F9AF2fc07AABC8",Polygon:"0x34bE049fEbfc6C64Ffd82Da08a8931A9a45f2cc8",Avalanche:"0x1703CB0F762D2a435199B64Ea47E5349B7C17480",Fantom:"0xC277423a21F6e32D886BF85Ef6cCB945d5D28347",Celo:"0x1Cb9859B1A16A67ef83A0c7b9A21eeC17d9a97Dc",Moonbeam:"0x484eCCE6775143D3335Ed2C7bCB22151C53B9F49",Solana:"G1vJEgzepqhnVu35BN4jrkv3wVwkujYWFFCxhbEZ1CZr",Aptos:"0xa72a97e872be9ee3d2f14d56fd511eb7e4a53f4055be3a267d8602e7685b41c0::coin::T",Base:"0x36c6FBF7B49bF65f5F82b674af219C05b2a4aDD1",Arbitrum:"0xCF79d86B8a830030aF6D835737d6eac3bE823fD7",Optimism:"0x27A533e438892DA192725b4C9AcA51447F457212",Mantle:"0x9ef1BB6072d7d6B9C935d9c040133036aD532119",Blast:"0x62c95Ffd6d2f893Ea2EF072d1EbBcb242a974b1A",Klaytn:"0xB0B40516293e0204fB376A18aA230A210cbE0305",Xlayer:"0xEa76dBFE6e449420f294e74E057518F750E99A16",Worldchain:"0xf69005c35B5d9AcC22E4DbCf52f892cAE21F83B0"}},Aptos:{native:{Ethereum:"0x8CDf7AF57E4c8B930e1B23c477c22f076530585e",Bsc:"0x2Ba98cf7Edd2c5C794e21bc3Dc6973D3C2585eE3",Polygon:"0xa4ef199d3ad524E9C3C51Ac46B303B103A307Cef",Avalanche:"0x43c588459b3243fA541B98CC4B2E995b3de553A2",Fantom:"0x3Cd9162Ca5256b8E26A0e3Ad14CCfF7C0Da0F174",Celo:"0x89F2b718Ca518db39d377F0ABBa6B42582b549F7",Moonbeam:"0x25331575641d35D9765e1934acC8F0991c58e904",Solana:"6LNeTYMqtNm1pBFN8PfhQaoLyegAH8GD32WmHU9erXKN",Sui:"0x3a5143bb1196e3bcdfab6203d1683ae29edd26294fc8bfeafe4aaa9d2704df37::coin::COIN",Base:"0x1d36126289Be1658297A35CC3EB2BB80A7D7A04b",Arbitrum:"0x4EdeF400eDe5309240814b5FC403F224504604e9",Optimism:"0xC5B3AC2DF8D8D7AC851F763a5b3Ff23B4A696d59",Blast:"0x2a3DdE20159FbDbC86f1da0e7a462711b610c815",Klaytn:"0x68d5254007BE3a6d3d2A37e2C1ad3921D049F46D",Xlayer:"0xEdF2AEaCE382A3c0722f110c4927d34b78bce34F",Worldchain:"0xfC5011f2037f2Dad9c9aC05CbB6749B383C3099c"}},Arbitrum:{"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1":{Ethereum:"0xb945E3F853B5f8033C8513Cf3cE9F8AD9beBB1c9",Bsc:"0xaA1eEdABC48D078350ccBdD620bD088848e299E5",Polygon:"0x6a5c59AB16268d2c872916054C50440B999e417C",Avalanche:"0xDfDA518A1612030536bD77Fd67eAcbe90dDC52Ab",Fantom:"0xE8367853A0823515D37b1538331B4704089becb4",Celo:"0xc6F962fCcb140ece554AfD0E589f971532A57f14",Solana:"CSD6JQMvLi46psjHdpfFdr826mF336pEVMJgjwcoS1m4",Sui:"0x33744e7df340a4d01c23f6b18c13563f767545ea95f976f8045f056358419da3::coin::COIN",Aptos:"0xe977796d7bfb3263609b90dffd264c7bd078ce35dac42b55302858d9fa3452b::coin::T",Base:"0x9D36e0edb8BBaBeec5edE8a218dc2B9a6Fce494F",Optimism:"0x825206E1D29456337769e6f1384101E997C6A732",Moonbeam:"0x18872b45c603eD2EbC508b9C5514a85c2e2791FB",Klaytn:"0x3CF1751E32c4225CB12ba953786C260C2cE89008"},"0xaf88d065e77c8cC2239327C5EDb3A432268e5831":{Ethereum:"0xCFc006a32a98031C2338BF9d5ff8ED2c0Cae4a9e",Bsc:"0x5caa170b465122D15a6D20FD9A804a9613CE7882",Polygon:"0x7800FE8951cdc1cDea748d878fAce63018D97960",Avalanche:"0x4b5fE357Eb11c735078e47526D6e853DBff18541",Celo:"0xA41a62567d9eb960D84b72663FdaeBE0BCdE2683",Solana:"CR4xnGrhsu1fWNPoX4KbTUUtqGMF3mzRLfj4S6YEs1Yo",Sui:"0xc3f8927de33d3deb52c282a836082a413bc73c6ee0bd4d7ec7e3b6b4c28e9abf::coin::COIN",Aptos:"0xca3a2c28bc8c6c762f752dd2a4ebbfd00356ca99977ce6636e3af5897124a87a::coin::T",Optimism:"0xa6252F56cc6eEA21165d56744C795F91c8a3Cf68",Base:"0xb96B82Cd6D45d98Fb6897D16A5E4EE888329C513",Fantom:"0x2228703672906fEe5eD681Ec28e42B4506b8c336",Moonbeam:"0xbd2B6D665439514EEaA8519f4fE87CC8C46e9167",Klaytn:"0x3d5973fF7288f47857dAa5a32C53976A9A968928",Xlayer:"0xd53bD30985B4125fc561774e388d9f679BB84117"},"0x5979D7b546E38E414F7E9822514be443A4800529":{Bsc:"0x159167e842C586a81f02E55bc043AC8EdB033E0b",Aptos:"0xd2ca17516bc4ca57c1c69577e0c9cc0129153286695b46b97f438ecc138c225e::coin::T",Solana:"8wJakbZuv7WApfHmRo2sdkeQfu6hXqfEqjb7BYXDKpKe",Sui:"0xb607aed1c09e676384d14ae638dbcb08523fc691d309e71c856c7fdcb60d4430::coin::COIN",Base:"0xbE3981b37CcE5eCb6925d2ad9D9E28dE7b165793",Optimism:"0xEae5ccc3c36beF59f6794b467e7e228CB3720415",Fantom:"0xf65BF40A3299Df500D440520dF7e6ce1BEa53E73",Ethereum:"0x906310cE867C22c5016248Bd791FA5dd162c9D6d",Polygon:"0xcf0aa97c2fD78Ee0f0C3090B9EB65d2bd6C1D81a"}},Optimism:{"0x4200000000000000000000000000000000000006":{Fantom:"0xe8E8f941377A955bFA72880ec0dc2319dbC827a8",Celo:"0x8d53771b1Ec7461f8e45Bca2609c45bC0bbd0677",Solana:"8M6d63oL7dvMZ1gNbgGe3h8afMSWJEKEhtPTFM2u8h3c",Sui:"0x0aab14ec22908de73d1b0619f5e03842398f8e68262981bd35ef44b42d22b23a::coin::COIN",Aptos:"0x6a7a7f36ef5e2d0e65fcf72669c20d514d68298b0f76c7554517208f73260aaf::coin::T",Arbitrum:"0xB1fC645a86fB5085e12D8BDDb77702F728D2A26F",Avalanche:"0xDf11535274c0FD2Fe41A88bd1bBF802D72296037",Bsc:"0x94AEc09B5e2CE591e39DC6aa58A3A6E85Ed45265",Ethereum:"0x8B5653Ae095529155462eDa8CF664eD96773F557",Polygon:"0x8182De59485Bb646542Db8C7E5958148Dc699319",Base:"0xCb725aC8d9985D3bE306Dd9e1517d3702929176c",Moonbeam:"0xd4870F7F5AD8Ae5139E1a5D8AD4ac55204aE4490",Klaytn:"0x4ab77AF7059435b71dBC3B7c5255983C8628eFdf"},"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85":{Fantom:"0x385b219f0C4fa2e84EfE5aaf9692a821C57B8248",Celo:"0xEe48963C003e21EaCEdFA8a0A19BB3cbF7E776Fe",Moonbeam:"0x7143e8EA96e158381057a58AfdDF44601c7e532C",Base:"0xc6bfBeb3002aD563D2d1f72614C61C83Bf147Acd",Arbitrum:"0x3A5C2Da9E30741cb59a5e9446A23A86886fC9DC2",Aptos:"0x4f6ecb05a797902d472abc2f5804bde93a53d8b75f14f767824cdb1623a4ee83::coin::T",Bsc:"0xa41ae127D04F7ee73B5058E2C60Fb7c7A2D21F79",Avalanche:"0xBe04f76A0ba2100c3F2d6Aa1FD8484F415469573",Polygon:"0x31F12aCb60C3c32EE884F3894a873347C097D925",Sui:"0x6037801f060f0f54b3817bca05e3c8b9b9ffaa2da8e93fd5b80fa662aa3c9e55::coin::COIN",Solana:"J8kcD4Wnd1ehne1dpL8WNtgZQR6Jpui2cTZcrmg5ybAa",Klaytn:"0x7Ee2AB1443fDB59AECEa3aDD8F81296d68c2D1e3",Ethereum:"0xe77C99b64414e0fd9aeEA48AFFBBD2E97A895020"},"0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb":{Bsc:"0x1f29fAD000255BF49D72803b2A8FaC8e31947eF8",Base:"0xBb0BeaB819dEAf091C193bE4bBEeA9D5b0F5227C",Arbitrum:"0xf99C5EEd186601955a9a1027536D1b46b1f909F8",Polygon:"0x9065e1D25E65F7A1D60bb6197154386B52faA469",Ethereum:"0xB3ceE6DCa1dD528CB7CC258e32D8B50ce9Ee46f5"}},Base:{"0x4200000000000000000000000000000000000006":{Ethereum:"0x1D4241F7370253C0f12EFC536B7e16E462Fb3526",Bsc:"0x9dc152F4941cE1A138326e70c3600385bf0C22dD",Polygon:"0x5BCf8d8c097FbB35C371F921E3FF3e6F6Eb54B41",Avalanche:"0xFA83178c66fE51ee99109b5cC912f8098Ff812eF",Fantom:"0xd3365E7355230c78098b44B172eE27DAB95B041A",Celo:"0x905CADB645684140E285e2D09D39dF5a2082BC87",Moonbeam:"0x6C6f83366A42fcA4D30a2D3f1914284de995Ac3a",Solana:"DWXe1hxpnb8LAH21iyXcjvMbiAGzoYyuCVQtRLvZdLYd",Sui:"0xaecbc804fa7ca7cffc74c9a05eb6ae86fda0c68375b5c1724204a1065bcb239a::coin::COIN",Aptos:"0x5b5f14781164cf77185a7b6acd8e4f3cbb7e7cfb1cd5760d2b8af81075fc153d::coin::T",Arbitrum:"0xBAfbCB010D920e0Dab9DFdcF634De1B777028a85",Optimism:"0x3F369a664fa665e01e8EB9f20bFcE03A0CAb8971",Mantle:"0x4a2176DE2Fb36485704965bd1Cc471854f21303B",Klaytn:"0x7Bf9ad1D104dEAE4B59Ef1be6a273Cb46BA16362"},"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913":{Solana:"EfqRM8ZGWhDTKJ7BHmFvNagKVu3AxQRDQs8WMMaoBCu6",Moonbeam:"0xE6d02a875CcC153c076fe418f33De3A5C420f505",Celo:"0x2e2acb1782Aad0490f8446b6fD4626C467987bD6",Bsc:"0x55CaD531c8E303Cab8B3BE4bB4744Db4f896ac81",Optimism:"0xb931c7BbD87A6e249EaA7355B13927F9c99Bce87",Arbitrum:"0x8619F97D4d08382548F536E5CE1D3e0D9bA40326",Polygon:"0x1eeCaB0F75fE93abbFa0cDFfb4fB13d1dC8706c8",Avalanche:"0xab933e939a9236BD439F7d29b87CE712f42bAC06",Fantom:"0xd9E4C283d8A49Dc3767A6F5a4dFdc1d0cEf21604",Sui:"0x7e3e74afcc1913aa9491c8cee89b02131a6e5519b090f16b54321835c1241cfb::coin::COIN",Aptos:"0xfcc4fcd734d5b8578fb629d238d15264a49eca6165c7444c21feec3b4962eb88::coin::T",Blast:"0x35a926D55A726cdF70Ac498972F22426363F3C77",Mantle:"0x5D628a3285a10fdd93AEa704007957F294e05F91",Ethereum:"0xc38261846c42C1E1D59E04dA675Eb1974E9cE7b1",Klaytn:"0x0a2330c1C46E9A74e8651F7117a1264410eA3C88",Scroll:"0x22C9bde4Ad49C4b6CCFB8D394B5ED42A57853d58"},"0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452":{Arbitrum:"0x09E79693E44c8813A8CA25EeD7A40e5E24cD9c01",Ethereum:"0x187175c7a526f48c905202Bd2Bf8D25A457F479F",Polygon:"0x95d4C8e851D9E8c6B92aa518474E991c373E9Fb2",Optimism:"0x6ee40855c0BaB20585d17D2b9dd8d2Cd1cd41801",Avalanche:"0x5e513CA12DbD8424bDFc5B50711dF4AE999a8C58"}},Klaytn:{"0xe4f05A66Ec68B54A58B17c22107b02e0232cC817":{Aptos:"0x539b652f8230a0e42adaeda4706b5639893d22362eda6ea897493c210cb48219::coin::T",Ethereum:"0x9AEA32B459e96C8eF5010f69130bf95fd129ac05",Celo:"0xe304254de5c2048F9bFb042dDFB54f84d1d77730",Polygon:"0x415ce980fde17F1FF102e1c6e4ce860Acc615D74",Base:"0x41c433c146c47Dc53FC48cDc69e406e365e298E1",Arbitrum:"0xFA95f6c796E54F9C4a99392CAE84410a25794BB3",Moonbeam:"0xf0a9476E4712123A807859f9Fd25fe98213379BD",Fantom:"0x787e2F3509583C0F03A339Be0826463C839CBE5E",Sui:"0xa5ec915864d7f37b25ca9144b2db6ebcf29e73603c2ccf9d0e765adcd9049a98::coin::COIN",Avalanche:"0x126C03982Ad6D7ef7E6aF020bF219e87185a6BC3",Bsc:"0xEA970e7b7D131Ea36c3051C9Ca11e785462fE00c",Optimism:"0xbbeF8233a0d10EEAb84E913FaDB337ab9b62F683",Solana:"2b8fZGLBZjpxFugCdnJbbLLBYxvx23rsrsvLYYueiHb7",Blast:"0x5F6fE613528df9AE4Bf6f667fbCB923263098617",Scroll:"0xA55FB7A046454998b2f6d8D99Df5F0E108b38229",Worldchain:"0xC080f0082029fC6e8A4Bb33a9B0655B8d4f2BAB0"}},Scroll:{"0x5300000000000000000000000000000000000004":{Arbitrum:"0xAe81a542e20270b48Bd5297E3e0f280f79E46C42"}},Mantle:{"0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8":{Optimism:"0xf704F6a3241609Cfb3E44Db1237E68EB6CaC7C04"}}},R$={chains:u$,tokens:F$,wrappedTokens:O$,rpcs:_$,guardianSet:{index:4,keys:["0x5893b5a76c3f739645648885bdccc06cd70a3cd3","0xff6cb952589bde862c25ef4392132fb9d4a42157","0x114de8460193bdf3a2fcf81f86a09765f4762fd1","0x107a0086b32d7a0977926a205131d8731d39cbeb","0x8c82b2fd82faed2711d59af0f2499d16e726f6b2","0x11b39756c042441be6d8650b69b54ebe715e2343","0x54ce5b4d348fb74b958e8966e2ec3dbd4958a7cd","0x15e7caf07c4e3dc8e7c469f92c8cd88fb8005a20","0x74a3bf913953d695260d88bc1aa25a4eee363ef0","0x000ac0076727b35fbea2dac28fee5ccb0fea768e","0xaf45ced136b9d9e24903464ae889f5c8a723fc14","0xf93124b7c738843cbb89e864c862c38cddcccf95","0xd2cc37a4dc036a8d232b48f62cdd4731412f4890","0xda798f6896a3331f64b48c12d1d57fd9cbe70811","0x71aa1be1d36cafe3867910f99c09e347899c19c3","0x8192b6e7387ccd768277c17dab1b7a5027c0b3cf","0x178e21ad2e77ae06711549cfbb1f9c7a9d8096e8","0x5e1487f35515d02a92753504a8d75471b9f49edb","0x6fbebc898f403e4773e95feb15e80c9a99c8348d"]}},U$={Bsc:{displayName:"BSC",explorerUrl:"https://testnet.bscscan.com/",explorerName:"BscScan",icon:"Bsc",symbol:"BSC",sdkName:"Bsc"},Avalanche:{displayName:"Fuji",explorerUrl:"https://testnet.avascan.info/blockchain/c/",explorerName:"Avascan",icon:"Avalanche",symbol:"AVAX",sdkName:"Avalanche"},Fantom:{displayName:"Fantom",explorerUrl:"https://testnet.ftmscan.com/",explorerName:"FtmScan",icon:"Fantom",symbol:"FTM",sdkName:"Fantom"},Celo:{displayName:"Alfajores",explorerUrl:"https://explorer.celo.org/alfajores/",explorerName:"Celo Explorer",icon:"Celo",symbol:"CELO",sdkName:"Celo"},Moonbeam:{displayName:"Moonbase",explorerUrl:"https://moonbase.moonscan.io/",explorerName:"Moonscan",icon:"Moonbeam",symbol:"GLMR",sdkName:"Moonbeam"},Solana:{displayName:"Solana",explorerUrl:"https://explorer.solana.com/",explorerName:"Solana Explorer",icon:"Solana",symbol:"SOL",sdkName:"Solana"},Sui:{displayName:"Sui",explorerUrl:"https://suiscan.xyz/testnet/",explorerName:"Suiscan",icon:"Sui",symbol:"SUI",sdkName:"Sui"},Aptos:{displayName:"Aptos",explorerUrl:"https://explorer.aptoslabs.com/",explorerName:"Aptos Explorer",icon:"Aptos",symbol:"APT",sdkName:"Aptos"},Klaytn:{displayName:"Kaia",explorerUrl:"https://kairos.kaiascope.com/",explorerName:"Kaia Scope",icon:"Klaytn",symbol:"KLAY",sdkName:"Klaytn"},Sepolia:{displayName:"Sepolia",explorerUrl:"https://sepolia.etherscan.io/",explorerName:"Etherscan",icon:"Ethereum",symbol:"ETH",sdkName:"Sepolia"},ArbitrumSepolia:{displayName:"Arbitrum Sepolia",explorerUrl:"https://sepolia.arbiscan.io/",explorerName:"Etherscan",icon:"Arbitrum",symbol:"ARB",sdkName:"ArbitrumSepolia"},BaseSepolia:{displayName:"Base Sepolia",explorerUrl:"https://base-sepolia.blockscout.com/",explorerName:"Etherscan",icon:"Base",symbol:"BASE",sdkName:"BaseSepolia"},OptimismSepolia:{displayName:"Optimism Sepolia",explorerUrl:"https://sepolia-optimistic.etherscan.io/",explorerName:"Etherscan",icon:"Optimism",symbol:"OP",sdkName:"OptimismSepolia"},Scroll:{displayName:"Scroll",explorerUrl:"https://sepolia.scrollscan.dev/",explorerName:"Scrollscan",icon:"Scroll",symbol:"SCR",sdkName:"Scroll"},Blast:{displayName:"Blast",explorerUrl:"https://testnet.blastscan.io/",explorerName:"Blastscan",icon:"Blast",symbol:"BLAST",sdkName:"Blast"},Xlayer:{displayName:"X Layer",explorerUrl:"https://www.okx.com/web3/explorer/xlayer-test/",explorerName:"OKX Explorer",icon:"Xlayer",symbol:"OKX",sdkName:"Xlayer"},Mantle:{displayName:"Mantle",explorerUrl:"https://explorer.testnet.mantle.xyz/",explorerName:"Mantle Explorer",icon:"Mantle",symbol:"MNT",sdkName:"Mantle"},Worldchain:{displayName:"World Chain",explorerUrl:"https://worldchain-sepolia.explorer.alchemy.com/",explorerName:"World Scan",icon:"Worldchain",sdkName:"Worldchain",symbol:"WORLD"},Unichain:{displayName:"Unichain",explorerUrl:"https://unichain-sepolia.blockscout.com/",explorerName:"Unichain Explorer",icon:"Unichain",symbol:"UNI",sdkName:"Unichain"},Mezo:{displayName:"Mezo",explorerUrl:"https://explorer.test.mezo.org/",explorerName:"Mezo Explorer",icon:"Mezo",sdkName:"Mezo",symbol:"MEZO"},Linea:{displayName:"Linea",sdkName:"Linea",explorerUrl:"https://sepolia.lineascan.build/",explorerName:"Lineascan",icon:"Linea",symbol:"LINEA"},Sonic:{displayName:"Sonic",sdkName:"Sonic",explorerUrl:"https://testnet.sonicscan.org/",explorerName:"Sonicscan",icon:"Sonic",symbol:"S"}},P$={},{REACT_APP_SEPOLIA_RPC:W$,REACT_APP_BSC_TESTNET_RPC:H$,REACT_APP_FUJI_RPC:Y$,REACT_APP_FANTOM_TESTNET_RPC:Z$,REACT_APP_ALFAJORES_RPC:G$,REACT_APP_SOLANA_DEVNET_RPC:Q$,REACT_APP_MOONBASE_RPC:q$,REACT_APP_SUI_TESTNET_RPC:V$,REACT_APP_APTOS_TESTNET_RPC:$$,REACT_APP_BASE_SEPOLIA_RPC:K$,REACT_APP_KLAYTN_TESTNET_RPC:X$,REACT_APP_ARBITRUM_SEPOLIA_RPC:J$,REACT_APP_OPTIMISM_SEPOLIA_RPC:eK,REACT_APP_SCROLL_TESTNET_RPC:tK,REACT_APP_BLAST_TESTNET_RPC:rK,REACT_APP_XLAYER_TESTNET_RPC:nK,REACT_APP_MANTLE_TESTNET_RPC:iK,REACT_APP_WORLDCHAIN_TESTNET_RPC:aK,REACT_APP_UNICHAIN_TESTNET_RPC:sK,REACT_APP_MEZO_TESTNET_RPC:oK}=P$,cK={...rr("Sepolia",W$),...rr("Bsc",H$),...rr("Avalanche",Y$),...rr("Fantom",Z$),...rr("Celo",G$),...rr("Solana",Q$),...rr("Moonbeam",q$),...rr("Sui",V$),...rr("Aptos",$$),...rr("BaseSepolia",K$),...rr("ArbitrumSepolia",J$),...rr("OptimismSepolia",eK),...rr("Klaytn",X$),...rr("Scroll",tK),...rr("Blast",rK),...rr("Xlayer",nK),...rr("Mantle",iK),...rr("Worldchain",aK),...rr("Unichain",sK),...rr("Mezo",oK)},lK=[{symbol:"BNB",icon:je.BNB,decimals:18,tokenId:{chain:"Bsc",address:"native"}},{symbol:"WBNB",icon:je.BNB,decimals:18,tokenId:{chain:"Bsc",address:"0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd"}},{symbol:"AVAX",icon:je.AVAX,decimals:18,tokenId:{chain:"Avalanche",address:"native"}},{symbol:"WAVAX",icon:je.AVAX,decimals:18,tokenId:{chain:"Avalanche",address:"0xd00ae08403B9bbb9124bB305C09058E32C39A48c"}},{symbol:"USDC",icon:je.USDC,decimals:6,tokenId:{chain:"Avalanche",address:"0x5425890298aed601595a70AB815c96711a31Bc65"}},{symbol:"FTM",icon:je.FANTOM,decimals:18,tokenId:{chain:"Fantom",address:"native"}},{symbol:"WFTM",icon:je.FANTOM,decimals:18,tokenId:{chain:"Fantom",address:"0xf1277d1Ed8AD466beddF92ef448A132661956621"}},{symbol:"CELO",icon:je.CELO,decimals:18,tokenId:{chain:"Celo",address:"0xF194afDf50B03e69Bd7D057c1Aa9e10c9954E4C9"}},{symbol:"USDC.e",icon:je.USDC,decimals:6,tokenId:{chain:"Celo",address:"0x72CAaa7e9889E0a63e016748179b43911A3ec9e5"}},{symbol:"GLMR",icon:je.GLMR,decimals:18,tokenId:{chain:"Moonbeam",address:"native"}},{symbol:"WGLMR",icon:je.GLMR,decimals:18,tokenId:{chain:"Moonbeam",address:"0xD909178CC99d318e4D46e7E66a972955859670E1"}},{symbol:"SOL",icon:je.SOLANA,decimals:9,tokenId:{chain:"Solana",address:"native"}},{symbol:"WSOL",tokenId:{chain:"Solana",address:"So11111111111111111111111111111111111111112"},icon:je.SOLANA,decimals:9},{symbol:"USDC",tokenId:{chain:"Solana",address:"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU"},icon:je.USDC,decimals:6},{symbol:"SUI",tokenId:{chain:"Sui",address:"native"},icon:je.SUI,decimals:9},{symbol:"USDC",decimals:6,tokenId:{chain:"Sui",address:"0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC"},icon:je.USDC},{symbol:"APT",tokenId:{chain:"Aptos",address:"native"},icon:je.APT,decimals:8},{symbol:"USDC",decimals:6,tokenId:{chain:"Aptos",address:"0x69091fbab5f7d635ee7ac5098cf0c1efbe31d68fec0f2cd565e8d168daf52832"},icon:je.USDC},{symbol:"KLAY",icon:je.KLAY,decimals:18,tokenId:{chain:"Klaytn",address:"native"}},{symbol:"WKLAY",name:"wKLAY",icon:je.KLAY,decimals:18,tokenId:{chain:"Klaytn",address:"0x0339d5Eb6D195Ba90B13ed1BCeAa97EbD198b106"}},{symbol:"ETH",icon:je.ETH,decimals:18,tokenId:{chain:"Sepolia",address:"native"}},{symbol:"WETH",icon:je.ETH,decimals:18,tokenId:{chain:"Sepolia",address:"0xeef12A83EE5b7161D3873317c8E0E7B76e0B5D9c"}},{symbol:"USDC",icon:je.USDC,decimals:6,tokenId:{chain:"Sepolia",address:"0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238"}},{symbol:"ETH",icon:je.ETH,decimals:18,tokenId:{chain:"ArbitrumSepolia",address:"native"}},{symbol:"WETH",icon:je.ETH,decimals:18,tokenId:{chain:"ArbitrumSepolia",address:"0x980B62Da83eFf3D4576C647993b0c1D7faf17c73"}},{symbol:"ETH",icon:je.ETH,decimals:18,tokenId:{chain:"BaseSepolia",address:"native"}},{symbol:"WETH",icon:je.ETH,decimals:18,tokenId:{chain:"BaseSepolia",address:"0x4200000000000000000000000000000000000006"}},{symbol:"ETH",icon:je.ETH,decimals:18,tokenId:{chain:"OptimismSepolia",address:"native"}},{symbol:"WETH",icon:je.ETH,decimals:18,tokenId:{chain:"OptimismSepolia",address:"0x4200000000000000000000000000000000000006"}},{symbol:"ETH",icon:je.SCROLL,decimals:18,tokenId:{chain:"Scroll",address:"native"}},{symbol:"WETH",icon:je.SCROLL,decimals:18,tokenId:{chain:"Scroll",address:"0x5300000000000000000000000000000000000004"}},{symbol:"ETH",icon:je.BLAST,decimals:18,tokenId:{chain:"Blast",address:"native"}},{symbol:"WETH",icon:je.BLAST,decimals:18,tokenId:{chain:"Blast",address:"0x9D020B1697035d9d54f115194c9e04a1e4Eb9aF7"}},{symbol:"OKB",icon:je.XLAYER,decimals:18,tokenId:{chain:"Xlayer",address:"native"}},{symbol:"WOKB",icon:je.XLAYER,decimals:18,tokenId:{chain:"Xlayer",address:"0xa2aFfd8301BfB3c5b815829f2F509f053556D21B"}},{symbol:"MNT",icon:je.MANTLE,decimals:18,tokenId:{chain:"Mantle",address:"native"}},{symbol:"WMNT",icon:je.MANTLE,decimals:18,tokenId:{chain:"Mantle",address:"0xa4c4cb2A072eE99f77212Fa18c2B7Ca26DA23905"}},{symbol:"ETH",tokenId:{chain:"Worldchain",address:"native"},decimals:18,icon:je.WORLDCHAIN},{symbol:"WETH",tokenId:{chain:"Worldchain",address:"0x4200000000000000000000000000000000000006"},decimals:18,icon:je.WORLDCHAIN},{symbol:"ETH",tokenId:{chain:"Unichain",address:"native"},decimals:18,icon:je.ETH},{symbol:"WETH",tokenId:{chain:"Unichain",address:"0x4200000000000000000000000000000000000006"},decimals:18,icon:je.ETH},{symbol:"USDC",tokenId:{chain:"Unichain",address:"0x31d0220469e10c4E71834a79b1f276d740d3768F"},decimals:6,icon:je.USDC},{symbol:"BTC",tokenId:{chain:"Mezo",address:"native"},decimals:18,icon:je.BTC}],uK={Bsc:{"0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd":{Avalanche:"0x10F1053bF2884b28ee0Bd7a2dDBa237Af3511d29",Fantom:"0xfB174b43228950C2055CFc25AE93f2DCe8E2beF0",Celo:"0xa8050be9389466c3c524F10F131f244ACbf21A0D",Moonbeam:"0x6097E80331B0c6aF4F74D7F2363E70Cb2Fd078A5",Solana:"BaGfF51MQ3a61papTRDYaNefBgTQ9ywnVne5fCff4bxT",Sui:"0xddcf8680a8a4b8a527d8c85ec203274991590c2ea898d1c4635b70164d9c584b::coin::COIN",Aptos:"0xa5894f5ddb8647e6143102aa336ff07374f7b32e88c1c703aef5b7c9a370bf80::coin::T",Klaytn:"0xEFa3626825C33C4cd83850920Ad7Ac0a392E1faE",Sepolia:"0x02CdD5eB55934663F0aD8fbA3516dC7DE4E22894"}},Avalanche:{"0xd00ae08403B9bbb9124bB305C09058E32C39A48c":{Bsc:"0x6cE9E2c8b59bbcf65dA375D3d8AB503c8524caf7",Fantom:"0x0f545Be981C37fB15ab7c65404648761e99016e4",Celo:"0x502c8C83008D9Dd812a7C5fB886C063060C73Dbf",Moonbeam:"0x2E8afeCC19842229358f3650cc3F091908dcbaB4",Solana:"3Ftc5hTz9sG4huk79onufGiebJNDMZNL8HYgdMJ9E7JR",Sui:"0xa600741c469fb57ed01497ddf101e798fa79a9c529bd176675c5c4d970811f80::coin::COIN",Aptos:"0xbe8f4301c0b54e870902b9a23eeb95ce74ac190531782aa3262337ceb145401a::coin::T",Blast:"0x74C6aA987658FcBaB9FdC2ee65f52Ddd5B2cEd95",Klaytn:"0x10257392a2B5e3C4D4bEe1607650a1C0C738202a",Scroll:"0x5Bd1ba0040C16b13894A6EbE3d55708c91eF08bb",Xlayer:"0xb13a464ceE7455A9b2941bFAe1bB1eB5A6833867"},"0x5425890298aed601595a70AB815c96711a31Bc65":{Bsc:"0x1cfeCf72bcBE1E429A21A5B11E708C7c397AaC54",Fantom:"0x6BC4E8D8c1d54656D1DeBCa96efc53aFd1408aD2",Celo:"0xDDB349c976cA2C873644F21f594767Eb5390C831",Moonbeam:"0x6533CE14804D113b1F494dC56c5D60A43cb5C3b5",Solana:"GQtMXZxnuacCFTXVeTvyHi6P9F6chbtzhVc8JgD8hv7c",Sui:"0x2aa8c885d04e676c4e87b7d0f94d4f3b243b1b5d93239d1cc41d5528ce1714c1::coin::COIN",Aptos:"0x2ef7697bdb33361ca39d228671203afc0dea3202e792d79d2072b761d87c834::coin::T"}},Fantom:{"0xf1277d1Ed8AD466beddF92ef448A132661956621":{Bsc:"0x9aB305B792DBdb8253bEE909E7006611Cb45175b",Avalanche:"0x094cB577C21Ab1360178beE74B9591fa12216dAD",Celo:"0xE6F8710cA14CFe7F5aAAD3A799C3d1D92dCba938",Moonbeam:"0x566c1cebc6A4AFa1C122E039C4BEBe77043148Ee",Solana:"DMw2tLaq1bVoAEKtkoUtieSk9bfCPUvubYLatTMsSVop",Sui:"0x14e756ff65e0ac810a5f69ca5276ef5b899a6df3c4717de1f85559d8b5ae6ea6::coin::COIN",Aptos:"0x533c6ade00d15d1e014c41e29e34853e87df92c4e01a6a3f41318dbd098048d6::coin::T",Klaytn:"0x097c8878A0d852581Dc4D8820151094Ddd3663Ac",Sepolia:"0x852132647d301B7EED02589B1dc73545E73c8596"}},Celo:{"0xF194afDf50B03e69Bd7D057c1Aa9e10c9954E4C9":{Bsc:"0x1471698cBD9cAB0228F2EEA9303A2b3aA0ABDC2B",Avalanche:"0xC66d9c2b33c347d4A4441975f4688fcD5DD4c441",Fantom:"0xB18E73a69c3Aaea39a610372537Cf8482622d199",Moonbeam:"0x3406a9b09adf0cb36DC04c1523C4b294C6b79513",Solana:"84F2QX9278ToDmA98u4A86xSV9hz1ovazr8zwGaX6qjS",Sui:"0x81868174a6b11e1acc337b3414f9912455435d486609fb8d50b34312865085f2::coin::COIN",Aptos:"0xecbb0f7e7d049499ca83ca1358344f56557886f6f7adc740d6734cce7bfc9a14::coin::T",Klaytn:"0xC951826bbB310a8160BB78c2eEe6C98246292ba7",Sepolia:"0x648f226f3bDcAEdc844622d604F76935DC05bC24"}},Moonbeam:{"0xD909178CC99d318e4D46e7E66a972955859670E1":{Bsc:"0x5C31B36599ED7f06b09c0ffC7A2F928cE496F046",Avalanche:"0xf080782DF38eD5228D2FC2882d13D56c8f1D6f21",Fantom:"0x41E3CFDFC255A4bF3C8D3560Bc8D3D9b5080338e",Celo:"0x132D2172D89cd9CfD480A8887c6bF92360fB460e",Solana:"8987WGkYa5viiZ9DD8sS3PB5XghKmWjkEgmzvwDuoAEc",Sui:"0xeffae382de96981f7ddd2d294429924827e8f325d612487a12d6a0b249171002::coin::COIN",Aptos:"0x338373b6694f71dbeac5ca4a30503bf5f083888d71678aed31255de416be37c0::coin::T",Sepolia:"0x3F7CD70ECd402BBe71f45A95156A2CAC0d6A822E"}},Solana:{So11111111111111111111111111111111111111112:{Bsc:"0x30f19eBba919954FDc020B8A20aEF13ab5e02Af0",Avalanche:"0xb10563644a6AB8948ee6d7f5b0a1fb15AaEa1E03",Fantom:"0xED1a08Fc69A7008d225890A96aaE258c465CC7ad",Celo:"0x05EEF2AE1A7A938D78598F7d9e8b97A9bED0c9eC",Sui:"0xbc03aaab4c11eb84df8bf39fdc714fa5d5b65b16eb7d155e22c74a68c8d4e17f::coin::COIN",Aptos:"0xdd89c0e695df0692205912fb69fc290418bed0dbe6e4573d744a6d5e6bab6c13::coin::T",Klaytn:"0x48D99C16638E6FFD2ED60375cD35ef6c139e5f41",Moonbeam:"0x5babD0d267Adf2081626654E51d1cABF8c477440",Sepolia:"0x824CB8fC742F8D3300d29f16cA8beE94471169f5"},"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU":{Bsc:"0x51a3cc54eA30Da607974C5D07B8502599801AC08"}},Sui:{native:{Bsc:"0x5A73D76e09Af2E428EC64aE10F91B78AC990B298",Avalanche:"0xfc5128F8556a6F059466E67740e6cC31EE5C2C47",Fantom:"0xd882AB49372eC093E8697B5153f54ab5e7738e3b",Celo:"0xa40d9E69ca9867C4bFbeC11Ce79C939991e9bf26",Solana:"BJZ72CjPQojVoH68mzrd4VQ4nr6KuhbAGnhZEZCujKxY",Aptos:"0x7b22d0e02f653d4fd1caddcfa4719a2b329da56eb81d8f27db703f02466c26a5::coin::T",Moonbeam:"0x2ed4B5B1071A3C676664E9085C0e3826542C1b27",Klaytn:"0xbA5F07a20681Add3A396E7606c6DC9B03d71d28A"}},Aptos:{native:{Bsc:"0x4A7Bd5E135f421057F97BbA8BCeeE5c18334f454",Avalanche:"0x996a3f12C1FcD7339Ea8801f629201e4d42EAD04",Fantom:"0xAb2297E8994149BA91737944E40891881aF762a4",Celo:"0xAC0a2fF7DD597de863878a3372142b07B614C125",Moonbeam:"0xCaa2A1d3BbbA0D1466571e83b4E2CbE04252593D",Solana:"7EvFD3JKCJVdtkAYdaSVKJsrPEJCzy2neJha7TREGrCa",Sui:"0x812d6feb8b84e55d47a0bfcae9fb6a4e7e09be5ec86ce0a729e0f67d5f59f477::coin::COIN"}},Klaytn:{"0x0339d5Eb6D195Ba90B13ed1BCeAa97EbD198b106":{Bsc:"0x79D34FDb686B5D139949E4F92D83EEe376489176",Aptos:"0xa8ffe1ffe3057756019345cdf9cf3d1f1a3d9a355147dd9440878c448a057579::coin::T",Celo:"0x8e50fC4b7F8B7018E72475f78C640F973218C8Cf",Avalanche:"0x84f3298Bcc019BD5B995756494095e1Eb72B565C",Solana:"6p7qTfX4tRFtQovxwT77Jn9HFQEV7nxLbux9C31Tgm23",Fantom:"0x72A1C24dA7F08d11a7668E228Ec287Fc6ec16E48",Sepolia:"0x142D0E977768cA4De6f2161D9E5B5C9F00435F9e",Moonbeam:"0x6eFf019D79D4136e57A7FC141967F3D0AD41089a",Sui:"0xd4a59fb612b162df75a9d190c0f72098dcae883e88bd0eb28667c31f8208dc3c::coin::COIN"}},Sepolia:{"0xeef12A83EE5b7161D3873317c8E0E7B76e0B5D9c":{Solana:"6F5YWWrUMNpee8C6BDUc6DmRvYRMDDTgJHwKhbXuifWs",Celo:"0x890ad4a7eD5bD08b7d6638515157dF3bF4BaD1Bc",Bsc:"0x667a61Efa611399970AE927637dD6f9A16f51e40",Moonbeam:"0xa7276055a1d45fB9982575411801e10ac9970Da8",ArbitrumSepolia:"0x97Ee87C7Db6049669a518730a2Ee60d1Fc58844E",Avalanche:"0x12bFE94230daaE3d48067577F45b7b031dD357f3",Fantom:"0x7F96D67186561Aa17cEb699494E94bEE3F3499D4"},"0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238":{Aptos:"0x3f2912a313c5bea312dbf19f9080101d2e762df6546a6fe9f60a4de72c93d015::coin::T",Solana:"23Adx8na44L3M1Nf9RrUpQPb41eufdRXKseg25FfcJtw",Celo:"0xD6A34325e5F6BE27b7006bf06651444196Da579a",Bsc:"0xb8850F591019F0794F813426d4A4A9b5fB8f23C8",BaseSepolia:"0x3F872340B6A75397aa9b0A463000349962a8795D",ArbitrumSepolia:"0x27B8F40Cf0915e729ae5A96970E91045Fe9724dF",Fantom:"0xa686203C86140142230f44A724281E1BEd09c369",Klaytn:"0x25f2a470a2e1E75DDAc40289AB277eDE4DD98aFa",Sui:"0x6529fef82a8a09470c550a3129bbd889030b62306f0c14161224b1a40ef1346f::coin::COIN"}},OptimismSepolia:{"0x4200000000000000000000000000000000000006":{ArbitrumSepolia:"0xa2610700cCA8361DECD27dB2564848C530f20813"}}},fK={chains:U$,tokens:lK,wrappedTokens:uK,rpcs:cK,guardianSet:{index:0,keys:["0x13947Bd48b18E53fdAeEe77F3473391aC727C638"]}},dK={Ethereum:{sdkName:"Ethereum",displayName:"EVM",explorerUrl:"",explorerName:"",icon:"Ethereum",symbol:"ETH"},Osmosis:{displayName:"Osmosis",sdkName:"Osmosis",explorerUrl:"",explorerName:"",icon:"Osmosis",symbol:"OSMO"},Wormchain:{sdkName:"Wormchain",displayName:"Wormchain",explorerUrl:"",explorerName:"",icon:"Osmosis",symbol:"OSMO"},Terra2:{sdkName:"Terra2",displayName:"Terra",explorerUrl:"",explorerName:"",icon:"Terra2",symbol:"OSMO"}},hK={},{REACT_APP_ETHEREUM_DEVNET_RPC:pK}=hK,mK={...rr("Ethereum",pK)},gK=[{symbol:"ETH",icon:je.ETH,decimals:18,tokenId:{chain:"Ethereum",address:"native"}},{symbol:"WETH",icon:je.ETH,decimals:18,tokenId:{chain:"Ethereum",address:"0xDDb64fE46a91D46ee29420539FC25FD07c5FEa3E"}},{symbol:"TKN",icon:je.ETH,decimals:18,tokenId:{chain:"Ethereum",address:"0x2D8BE6BF0baA74e0A907016679CaE9190e80dD0A"}}],yK={chains:dK,tokens:gK,wrappedTokens:{},rpcs:mK,guardianSet:{index:0,keys:["0x13947Bd48b18E53fdAeEe77F3473391aC727C638"]}},Az="https://wormholescan.io/#/",bK="3.0.0-beta.12-development",MK="f543011ac2b6696aa70a296d7db69884147f2509",IA=["Ethereum","Solana","Arbitrum","Base","Sui","Bsc","Optimism","Unichain","Fantom","Polygon","Avalanche","Celo","Moonbeam","Klaytn","Scroll","Evmos","Mantle","Berachain","Mezo"];function xK(e){var r;const t=typeof window>"u"||(r=window.location)==null?void 0:r.host;return function(n){const a={meta:{version:bK,hash:MK,host:t},...n};if(console.debug("Wormhole Connect event:",a),e)try{e(a)}catch(i){console.error("Error handling event:",i)}}}const X3=e=>[...Array(e).keys()],Ez=(e,t)=>e.map(r=>r[t]),Jl=e=>X3(e[0].length).map(t=>X3(e.length).map(r=>e[r][t])),vK=(e,t,r)=>{const n=new Set(Array.isArray(t)?t:[t]);return e.filter((a,i)=>n.has(i)!==r)};function Ume(e,t=!1){if(e.length===0)throw new Error("Can't calculate median of empty array");const r=t?e:[...e].sort((o,u)=>o>u?1:o<u?-1:0),n=Math.floor(r.length/2);if(r.length%2===1)return r[n];const a=r[n-1],i=r[n];if(typeof a=="bigint"&&typeof i=="bigint")return(a+i)/2n;if(typeof a=="number"&&typeof i=="number")return(a+i)/2;throw new Error("Can't calculate median of array with mixed number and bigint")}function wK(e){return["string","number","symbol","bigint","boolean"].includes(typeof e)}const NA=e=>e.length===2&&!Array.isArray(e[0])&&Array.isArray(e[1]),J3=e=>e.length===0?[]:Array.isArray(e[0])?e.map(([t,r])=>Array.isArray(r)?(NA(r)?J3(r):r).map(n=>[t,n].flat()):[[t,r]]).flat():NA(e)?J3(e[1]).map(t=>[e[0],t]):e,CK=(e,t)=>{const r=J3(e);if(r.length===0)throw new Error("Invalid mapping: empty");const n=t===void 0?[X3(r[0].length-1),[r[0].length-1]]:t.map(v=>typeof v=="number"?[v]:v);let a=[],i=!0;const o=(v,C)=>{const E=Array.from(new Set(v[0]).values()),T=new Map(E.map(D=>[D,[]]));for(const[D,S]of v[0].entries())T.get(S).push(D);if(v.length===1){const D=Object.fromEntries(E.map(S=>[S,T.get(S).map(N=>C[N].length===1?C[N][0]:C[N])]));if(i){for(const S of T.values())if(S.length>1)return i=!1,D;a.push(D)}return D}const I=Jl(v.slice(1));return Object.fromEntries(E.map(D=>{const S=T.get(D),N=Jl(S.map(F=>I[F])),j=S.map(F=>C[F]);return[D,o(N,j)]}))},u=Jl(r),d=v=>{const C=u[v];if(C===void 0)throw new Error(`Invalid shape: column ${v} does not exist`);return C},[p,m]=n.map(v=>v.map(C=>d(C)));if(p.length===0)throw new Error("Invalid shape: empty key set");if(m.length===0)throw new Error("Invalid shape: empty value set");for(const v of p)for(const C of v)if(!wK(C))throw new Error(`Invalid key: ${C} in ${v}`);const b=o(p,Jl(m));if(i)for(const v of a)for(const C of Object.keys(v))v[C]=v[C][0];return b};function $t(e,t){const r=n=>{const a=(...i)=>i.reduce((o,u)=>o?o[u.toString()]??void 0:void 0,n);return Object.assign(a,{has:(...i)=>a(...i)!==void 0,get:(...i)=>a(...i),subMap:i=>r(n[i.toString()])})};return r(CK(e,t))}function lx(e){let t=null;return()=>(t||(t=e()),t)}function AK(e){try{return e(),!1}catch{return!0}}function Pme(e,t,r){return e<t?t:e>r?r:e}var EK=["int","uint","bytes","array","switch"],Sz="big",R6=6,N0=e=>typeof e=="number"||typeof e=="bigint",Hf=e=>e instanceof Uint8Array,SK=e=>N0(e)||Hf(e),H1=e=>EK.includes(e==null?void 0:e.binary),DK=e=>H1(e)||Array.isArray(e)&&e.every(H1),TK=e=>typeof(e==null?void 0:e.from)=="number",IK=e=>typeof(e==null?void 0:e.from)=="bigint",NK=e=>TK(e)||IK(e),Yf=e=>Hf(e==null?void 0:e.from),LK=e=>NK(e)||Yf(e),Dz=(e,t)=>{if(e!==t)throw new Error(`size mismatch: layout size: ${e}, data size: ${t}`);return t},uf=e=>"layout"in e&&e.layout!==void 0,tb=(e,t)=>"size"in e&&e.size!==void 0?Dz(e.size,t):t,rb=(e,t)=>{if(e!=t)throw new Error(`value mismatch: (constant) layout value: ${e}, data value: ${t}`)},nb=(e,t,r)=>{const n=(p,m)=>m===void 0?[0,p.length]:Array.isArray(m)?m:[m,p.length],[a,i]=n(e,r==null?void 0:r.customSlice),[o,u]=n(t,r==null?void 0:r.dataSlice),d=i-a;Dz(d,u-o);for(let p=0;p<e.length;++p)if(e[p+a]!==t[p+o])throw new Error(`binary data mismatch: layout value: ${e}, offset: ${a}, data value: ${t}, offset: ${o}`)};function Tz(e,t){const r=t[e.idTag??"id"];return e.layouts.find(([n])=>(Array.isArray(n)?n[1]:n)==r)}function Iz(e){return Wl(e,is)}var is=Symbol("staticCalc");function jK(e,t){const r=[],n=Wl(e,t,r);if(n===null)throw new Error(`coding error: couldn't calculate layout size for layout ${e} with data ${t}`);return[n,r]}function LA(e,t,r){const n=a=>(r!==void 0&&r.push(a),a);switch(e.binary){case"int":case"uint":return e.size;case"bytes":{if("size"in e&&t===is)return e.size;const a="lengthSize"in e?e.lengthSize|0:0;if(uf(e)){const{custom:o}=e,u=Wl(e.layout,o===void 0?t:typeof o.from=="function"?t!==is?n(o.from(t)):is:o.from,r);return u===null?"size"in e?e.size??null:null:a+tb(e,u)}const{custom:i}=e;return Hf(i)?a+i.length:Yf(i)?a+i.from.length:t===is?null:a+tb(e,i!==void 0?n(i.from(t)).length:t.length)}case"array":{const a="length"in e?e.length:void 0;if(t===is){if(a!==void 0){const o=Wl(e.layout,is,r);return o!==null?a*o:null}return null}let i=0;if(a!==void 0&&a!==t.length)throw new Error(`array length mismatch: layout length: ${a}, data length: ${t.length}`);"lengthSize"in e&&e.lengthSize!==void 0&&(i+=e.lengthSize);for(let o=0;o<t.length;++o){const u=Wl(e.layout,t[o],r);if(u===null)return null;i+=u}return i}case"switch":{if(t!==is){const[i,o]=Tz(e,t),u=Wl(o,t,r);return u!==null?e.idSize+u:null}let a=null;for(const[i,o]of e.layouts){const u=Wl(o,is,r);if(a===null)a=u;else if(u!==a)return null}return e.idSize+a}}}function Wl(e,t,r){if(H1(e))return LA(e,t,r);let n=0;for(const a of e){let i;if(t===is)i=is;else if(!("omit"in a)||!a.omit){if(!(a.name in t))throw new Error(`missing data for layout item: ${a.name}`);i=t[a.name]}const o=LA(a,i,r);if(o===null){if(t!==is)throw new Error(`coding error: couldn't calculate size for layout item: ${a.name}`);return null}n+=o}return n}var jm=(e,t)=>{e.bytes.set(t,e.offset),e.offset+=t.length},jA=e=>e.bytesConversions[e.position++];function mc(e,t,r){const[n,a]=jK(e,t),i={bytes:new Uint8Array(n),offset:0};if(W4(e,t,i,{bytesConversions:a,position:0}),i.offset!==i.bytes.length)throw new Error(`encoded data is shorter than expected: ${i.bytes.length} > ${i.offset}`);return i.bytes}var BK=2**(R6*8);function e0(e,t,r,n=Sz,a=!1){if(!a&&e<0)throw new Error(`Value ${e} is negative but unsigned`);if(typeof e=="number"){if(!Number.isInteger(e))throw new Error(`Value ${e} is not an integer`);if(t>R6){if(e>=BK)throw new Error(`Value ${e} is too large to be safely converted into an integer`);if(a&&e<-281474976710656)throw new Error(`Value ${e} is too small to be safely converted into an integer`)}}const i=2n**BigInt(t*8-(a?1:0));if(e>=i)throw new Error(`Value ${e} is too large for ${t} bytes`);if(a&&e<-i)throw new Error(`Value ${e} is too small for ${t} bytes`);for(let o=0;o<t;++o)r.bytes[r.offset+o]=Number(BigInt(e)>>BigInt(8*(n==="big"?t-o-1:o))&0xffn);r.offset+=t}function W4(e,t,r,n){if(H1(e))BA(e,t,r,n);else for(const a of e)try{BA(a,t[a.name],r,n)}catch(i){throw i.message=`when serializing item '${a.name}': ${i.message}`,i}}function BA(e,t,r,n){switch(e.binary){case"int":case"uint":{const a=(()=>{var i;return N0(e.custom)?("omit"in e&&e.omit||rb(e.custom,t),e.custom):N0((i=e==null?void 0:e.custom)==null?void 0:i.from)?e.custom.from:e.custom!==void 0?e.custom.from(t):t})();e0(a,e.size,r,e.endianness,e.binary==="int");break}case"bytes":{const a=r.offset;if("lengthSize"in e&&e.lengthSize!==void 0&&(r.offset+=e.lengthSize),uf(e)){const{custom:i}=e;let o;i===void 0?o=t:typeof i.from!="function"?o=i.from:o=jA(n),W4(e.layout,o,r,n)}else{const{custom:i}=e;Hf(i)?("omit"in e&&e.omit||nb(i,t),jm(r,i)):Yf(i)?jm(r,i.from):jm(r,i!==void 0?jA(n):t)}if("lengthSize"in e&&e.lengthSize!==void 0){const i=r.offset-a-e.lengthSize,o=r.offset;r.offset=a,e0(i,e.lengthSize,r,e.lengthEndianness),r.offset=o}else tb(e,r.offset-a);break}case"array":{if("length"in e&&e.length!==t.length)throw new Error(`array length mismatch: layout length: ${e.length}, data length: ${t.length}`);"lengthSize"in e&&e.lengthSize!==void 0&&e0(t.length,e.lengthSize,r,e.lengthEndianness);for(let a=0;a<t.length;++a)W4(e.layout,t[a],r,n);break}case"switch":{const[a,i]=Tz(e,t),o=Array.isArray(a)?a[0]:a;e0(o,e.idSize,r,e.idEndianness),W4(i,t,r,n);break}}}function Nz(e){const t=e.custom;if(!("cachedSerializedFrom"in t)&&(t.cachedSerializedFrom=mc(e.layout,t.from),"size"in e&&e.size!==void 0&&e.size!==t.cachedSerializedFrom.length))throw new Error("Layout specification error: custom.from does not serialize to specified size");return t.cachedSerializedFrom}function gc(e,t,r){const n=r??!0,a={bytes:t,offset:0,end:t.length},i=Wd(e,a);if(n&&a.offset!==a.end)throw new Error(`encoded data is longer than expected: ${a.end} > ${a.offset}`);return n?i:[i,a.offset]}function H4(e,t){const r=e.offset+t;if(r>e.end)throw new Error(`chunk is shorter than expected: ${e.end} < ${r}`);e.offset=r}function Wd(e,t){if(!Array.isArray(e))return kA(e,t);let r={};for(const n of e)try{(n.omit?{}:r)[n.name]=kA(n,t)}catch(a){throw a.message=`when deserializing item '${n.name}': ${a.message}`,a}return r}function _2(e,t,r=Sz,n=!1){let a=0n;for(let i=0;i<t;++i)a|=BigInt(e.bytes[e.offset+i])<<BigInt(8*(r==="big"?t-i-1:i));return n&&e.bytes[e.offset+(r==="big"?0:t-1)]&128&&(a-=1n<<BigInt(8*t)),H4(e,t),t>R6?a:Number(a)}function kA(e,t){switch(e.binary){case"int":case"uint":{const r=_2(t,e.size,e.endianness,e.binary==="int"),{custom:n}=e;return N0(n)?(rb(n,r),n):N0(n==null?void 0:n.from)?(rb(n.from,r),n.to):n!==void 0?n.to(r):r}case"bytes":{const r="lengthSize"in e&&e.lengthSize!==void 0?_2(t,e.lengthSize,e.lengthEndianness):e==null?void 0:e.size;if(uf(e)){const{custom:u}=e,d=t.offset;let p;if(r===void 0)p=Wd(e.layout,t);else{const m={...t,end:t.offset+r};if(H4(t,r),p=Wd(e.layout,m),m.offset!==m.end)throw new Error(`read less data than expected: ${m.offset-t.offset} < ${r}`)}return u!==void 0?typeof u.from!="function"?(nb(Nz(e),t.bytes,{dataSlice:[d,t.offset]}),u.to):u.to(p):p}const{custom:n}=e;{let u,d;if(Hf(n)?u=n:Yf(n)&&(u=n.from,d=n.to),u!==void 0){const p=r??u.length,m=t.bytes.subarray(t.offset,t.offset+p);return nb(u,m),H4(t,p),d??u}}const a=t.offset,i=r!==void 0?t.offset+r:t.end;H4(t,i-a);const o=t.bytes.subarray(a,i);return n!==void 0?n.to(o):o}case"array":{let r=[];const{layout:n}=e,a=()=>{const o=Wd(n,t);r.push(o)};let i=null;if("length"in e&&e.length!==void 0?i=e.length:"lengthSize"in e&&e.lengthSize!==void 0&&(i=_2(t,e.lengthSize,e.lengthEndianness)),i!==null)for(let o=0;o<i;++o)a();else for(;t.offset<t.end;)a();return r}case"switch":{const r=_2(t,e.idSize,e.idEndianness),{layouts:n}=e;if(n.length===0)throw new Error("switch item has no layouts");const a=typeof n[0][0]=="number",i=n.find(([p])=>a?p===r:p[0]===r);if(i===void 0)throw new Error(`unknown id value: ${r}`);const[o,u]=i,d=Wd(u,t);return{[e.idTag??"id"]:a?r:o[1],...d}}}}function Wme(e,t){return Y4(e,t)}function zA(e,t){switch(e.binary){case"bytes":if(uf(e)){const{custom:r}=e;return r===void 0||typeof r.from!="function"?Y4(e.layout,r?r.from:t):t}case"int":case"uint":{const{custom:r}=e;return e!=null&&e.omit?void 0:SK(r)?r:LK(r)?r.to:t}case"array":return Array.isArray(t)?t.map(r=>Y4(e.layout,r)):void 0;case"switch":{const r=t[e.idTag??"id"],[n,a]=e.layouts.find(([i])=>(Array.isArray(i)?i[1]:i)==r);return{[e.idTag??"id"]:r,...Y4(a,t)}}}}function Y4(e,t){if(t=t??{},H1(e))return zA(e,t);const r={};for(const n of e){const a=zA(n,t[n.name]??{});a!==void 0&&(r[n.name]=a)}return r}function kK(e,t){const[r,n]=_K(e);if(!r)throw new Error("Cannot uniquely distinguished the given layouts");return a=>{const i=n(a);return i.length===0?null:i[0]}}function ib(e){return e.reduce((t,r)=>t|BigInt(1)<<BigInt(r),BigInt(0))}function F2(e){const t=[];for(let r=0n;e>0n;e>>=1n,++r)e&1n&&t.push(Number(r));return t}function ei(e){let t=0;for(;e>0n;e>>=1n)t+=Number(e&1n);return t}var _A=e=>e>0?2**(8*e)-1:1/0;function FA(e,t,r){var n;switch(e.binary){case"int":case"uint":{const a=N0(e.custom)?e.custom:N0((n=e==null?void 0:e.custom)==null?void 0:n.from)?e.custom.from:null;if(a!==null&&t!==null){const i={bytes:new Uint8Array(e.size),offset:0};e0(a,e.size,i,e.endianness,e.binary==="int"),r.push([t,i.bytes])}return[e.size,e.size]}case"bytes":{const a="lengthSize"in e?e.lengthSize|0:0;let i,o;if(uf(e)){const{custom:d}=e;if(d!==void 0&&typeof d.from!="function")i=Nz(e),o=i.length;else{const p=Iz(e.layout);p!==null&&(o=p)}}else{const{custom:d}=e;Hf(d)?(i=d,o=d.length):Yf(d)&&(i=d.from,o=d.from.length)}if(a>0&&t!==null){if(o!==void 0){const d={bytes:new Uint8Array(a),offset:0},p=e.lengthEndianness;e0(o,a,d,p,!1),r.push([t,d.bytes])}t+=a}if(i!==void 0)return t!==null&&r.push([t,i]),[a+i.length,a+i.length];const u="size"in e&&e.size!==void 0?[e.size,e.size]:void 0;if(uf(e)){const d=Z4(e.layout,t,r);return u??[a+d[0],a+d[1]]}return u??[a,_A(a)]}case"array":{if("length"in e){let i=[];const o=Z4(e.layout,0,i);if(t!==null)if(o[0]!==o[1]){if(e.length>0)for(const[u,d]of i)r.push([t+u,d])}else for(let u=0;u<e.length;++u)for(const[d,p]of i)r.push([t+d+u*o[0],p]);return[e.length*o[0],e.length*o[1]]}const a=e.lengthSize|0;return[a,_A(a)]}case"switch":{const a=e.layouts.map(d=>[]),{idSize:i,idEndianness:o}=e,u=e.layouts.map(([d,p],m)=>{const b=Array.isArray(d)?d[0]:d;if(t!==null){const C={bytes:new Uint8Array(i),offset:0};e0(b,i,C,o),a[m].push([0,C.bytes])}const v=Z4(p,t!==null?i:null,a[m]);return[v[0]+i,v[1]+i]});return t!==null&&a.every(d=>d.length>0)&&(()=>{const d=Math.min(...a.map(m=>m.at(-1)[0]+m.at(-1)[1].length)),p=a.map(m=>0);for(let m=0;m<d;){let b=null,v=0;for(;v<a.length;){let C=p[v];const E=a[v],[T,I]=E[C];if(T+I.length<=m){if(++C,C===E.length)return;p[v]=C,m=E[C][0];break}const D=I[m-T];if(b===null&&(b=D),D!==b){++m;break}++v}v===a.length&&(r.push([t+m,new Uint8Array([b])]),++m)}})(),[Math.min(...u.map(([d])=>d)),Math.max(...u.map(([d,p])=>p))]}}}function Z4(e,t,r){if(!Array.isArray(e))return FA(e,t,r);let n=[0,0];for(const a of e){const i=FA(a,t,r);n[0]+=i[0],n[1]+=i[1],t!==null&&(t=i[0]===i[1]?t+i[0]:null)}return n}function zK(e){const t=new Map;let r=[];const n=a=>{for(;r.length>0&&r[0][0]<a;){const i=r[0][0]+1,o=r.findIndex(([u])=>i<=u);o===-1?r=[]:r.splice(0,o),t.set(i,ib(r.map(([,u])=>u)))}};for(const[[a,i],o]of e){n(a);const u=r.findIndex(([d])=>d>i);u===-1?r.push([i,o]):r.splice(u,0,[i,o]),t.set(a,ib(r.map(([,d])=>d)))}return n(1/0),t}function _K(e){if(e.length===0)throw new Error("Cannot discriminate empty set of layouts");const t=0n,r=(1n<<BigInt(e.length))-1n,n=e.map(()=>[]),a=e.map((N,j)=>Z4(N,0,n[j])),i=a.map((N,j)=>[N,j]).sort(([[N]],[[j]])=>N-j),o=(()=>{let N=r;const j=new Map;for(const[[F],O]of i)N^=1n<<BigInt(O),j.set(F,N);return j})(),u=zK(i),d=e.length-Math.max(...[...u.values()].map(N=>ei(N))),p=N=>{let j=r;for(const[F,O]of o){if(N<F)break;j=O}return j},m=N=>{let j=t;for(const[F,O]of u){if(N<F)break;j=O}return j},b=Array.from({length:Math.max(...n.map(N=>N.length>0?N.at(-1)[0]+N.at(-1)[1].length:0))}).map(()=>[]);for(let N=0;N<n.length;++N)for(const[j,F]of n[N])for(let O=0;O<F.length;++O)b[j+O].push([F[O],N]);let v=[];for(const[N,j]of b.entries()){const F=p(N),O=F^ib(j.map(([,k])=>k)),W=r^F,_=new Map;for(const[k,w]of j)_.has(k)||_.set(k,t),_.set(k,_.get(k)|1n<<BigInt(w));let z=e.length-Math.max(ei(O),ei(W));for(const k of _.values()){const w=j.length-ei(k)+ei(W);z=Math.min(z,w)}if(z!==0){if(z===e.length-1)return[!0,k=>F2(k.length<=N?W:_.get(k[N])??t)];v.push([z,N,W,_,O])}}if(d===e.length-1)return[!0,N=>F2(m(N.length))];v.sort(([N],[j])=>j-N);let C=!0;const E=new Map,T=new Map,I=(N,j)=>{E.set(N,j),T.has(ei(N))||T.set(ei(N),[]),T.get(ei(N)).push(N)},D=(N,j)=>{if(ei(N)<=1||E.has(N))return;let F=0;const O=new Map;for(const _ of F2(N)){const z=a[_][0],k=u.get(z)&N;O.set(z,k),F=Math.max(F,ei(k))}F=ei(N)-F;const W=[];for(const[_,z,k,w,s]of j){const l=new Map;let f=0;for(const[x,A]of w){const y=A&N;ei(y)>0&&(l.set(x,y),f+=ei(y))}const h=k&N;let g=l.size>0?_:0;for(const x of l.values()){const A=f-ei(x)+ei(h);g=Math.min(g,A)}if(g!==0){if(g===ei(N)-1){I(N,[z,h,l]);return}W.push([g,z,h,l,s&N])}}if(F===ei(N)-1){I(N,"size");return}if(W.sort(([_],[z])=>z-_),W.length>0&&W[0][0]>=F){const[,_,z,k,w]=W[0];I(N,[_,z,k]),D(z,W);for(const s of k.values())D(s|w,W.slice(1));return}if(F>0){I(N,"size");for(const _ of O.values())D(_,W);return}I(N,"indistinguishable"),C=!1};D(r,v);const S=N=>{for(let j=ei(N)+1;j<e.length-2;++j)for(const F of T.get(j)??[])if((N&F)==N)return E.get(F);throw new Error("Implementation error in layout discrimination algorithm")};return[C,N=>{let j=r,F=E.get(j);for(;F!=="indistinguishable";){if(F==="size")j&=m(N.length);else{const[O,W,_]=F;if(N.length<=O)j&=W;else{const z=N[O];for(const[k,w]of _)k!==z&&(j^=j&w);j^=j&W}}if(ei(j)<=1)break;F=E.get(j)??S(j)}return F2(j)}]}var ux=(e,t)=>({...e,binary:"bytes",...t===void 0?{}:DK(t)?{layout:t}:t instanceof Uint8Array||Yf(t)||!Array.isArray(t)?{custom:t}:{layout:t[0],custom:t[1]}});function FK(e,t){const r=Object.fromEntries(e.map(([a,i])=>[i,a])),n=Object.fromEntries(e);return{binary:"uint",size:(t==null?void 0:t.size)??1,endianness:(t==null?void 0:t.endianness)??"big",custom:{to:a=>{const i=r[a];if(i===void 0)throw new Error(`Invalid enum value: ${a}`);return i},from:a=>n[a]}}}function OK(e,t){return{binary:"uint",size:Math.ceil(e.length/8),custom:{to:r=>{const n={};for(let a=0;a<e.length;++a)e[a]&&(n[e[a]]=(BigInt(r)&1n<<BigInt(a))!==0n);return n},from:r=>{let n=0n;for(let a=0;a<e.length;++a)e[a]&&r[e[a]]&&(n|=1n<<BigInt(a));return e.length>R6?n:Number(n)}}}}function RK(e,t){return Number(Number(e).toFixed(t))}function y0(e,t){if(UK(e,t),e=e.toString(),e.includes("e"))throw new Error("Scientific notation is not supported yet by Amount");const r=e.split(".");if(r.length>2)throw"Too many decimals";let[n,a]=r.length===0?["0",""]:r.length===1?[r[0],""]:r;if(a=a.padEnd(t,"0"),a.length>t){if(BigInt(a.substring(t))!==0n)throw new Error("Amount: invalid input. Decimals too low.");a=a.substring(0,t)}return{amount:BigInt(n+a).toString(),decimals:t}}function Pa(e,t){if(e.decimals<=t)return e;const r=BigInt(e.decimals-t);return{amount:(Jt(e)/10n**r*10n**r).toString(),decimals:e.decimals}}function il(e,t){if(e.decimals===t)return e;if(e.amount==="0")return{amount:e.amount,decimals:t};const r=t-e.decimals;if(r>0)return{amount:e.amount+"0".repeat(r),decimals:t};if(BigInt(e.amount.substring(e.amount.length+r))===0n)return{amount:e.amount.substring(0,e.amount.length+r),decimals:t};throw new Error(`scaleAmount(${JSON.stringify(e)}, ${t}) would result in altered amount. Use truncateAmount first if you intended to truncate it.`)}function Kr(e,t){return{amount:e.toString(),decimals:t}}function Jt(e){return Lz(e),BigInt(e.amount)}function gn(e,t){Lz(e);let r=e.amount.substring(0,e.amount.length-e.decimals).padStart(1,"0"),n=e.amount.substring(e.amount.length-e.decimals).padStart(e.decimals,"0");if(t!==void 0){for(;n.length>t&&n[n.length-1]==="0";)n=n.substring(0,n.length-1);n=n.padEnd(t,"0")}else n=n.replace(/0+$/,"");return n.length>0?`${r}.${n}`:r}function Mo(e){return Number(gn(e))}function OA(e,t){return gn(Kr(e,t))}function UK(e,t){if(typeof e=="number"){if(!isFinite(e))throw new Error("Amount: invalid input. Amount must be finite");if(e<0)throw new Error("Amount: invalid input. Amount cannot be negative")}else if(!/^[0-9\.]*$/.test(e))throw new Error("Amount: invalid input. Must only contain digits.");if(!isFinite(t))throw new Error("Amount: invalid input. Decimals must be finite")}function Lz(e){if(!/^[0-9]*$/.test(e.amount))throw new Error("Amount: invalid input. Must only contain digits.");if(e.decimals<0)throw new Error("Amount: invalid input. Decimals must be >= 0");if(!isFinite(e.decimals))throw new Error("Amount: invalid input. Decimals must be a finite number.")}const ff=(e=0,t=0,r=0)=>new Date(Date.now()+(e*60*60+t*60+r)*1e3);/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function df(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function PK(e,...t){if(!df(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function jz(e,t){return Array.isArray(t)?t.length===0?!0:e?t.every(r=>typeof r=="string"):t.every(r=>Number.isSafeInteger(r)):!1}function Bz(e){if(typeof e!="function")throw new Error("function expected");return!0}function L0(e,t){if(typeof t!="string")throw new Error(`${e}: string expected`);return!0}function Zf(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function ep(e){if(!Array.isArray(e))throw new Error("array expected")}function tp(e,t){if(!jz(!0,t))throw new Error(`${e}: array of strings expected`)}function fx(e,t){if(!jz(!1,t))throw new Error(`${e}: array of numbers expected`)}function zh(...e){const t=i=>i,r=(i,o)=>u=>i(o(u)),n=e.map(i=>i.encode).reduceRight(r,t),a=e.map(i=>i.decode).reduce(r,t);return{encode:n,decode:a}}function U6(e){const t=typeof e=="string"?e.split(""):e,r=t.length;tp("alphabet",t);const n=new Map(t.map((a,i)=>[a,i]));return{encode:a=>(ep(a),a.map(i=>{if(!Number.isSafeInteger(i)||i<0||i>=r)throw new Error(`alphabet.encode: digit index outside alphabet "${i}". Allowed: ${e}`);return t[i]})),decode:a=>(ep(a),a.map(i=>{L0("alphabet.decode",i);const o=n.get(i);if(o===void 0)throw new Error(`Unknown letter: "${i}". Allowed: ${e}`);return o}))}}function P6(e=""){return L0("join",e),{encode:t=>(tp("join.decode",t),t.join(e)),decode:t=>(L0("join.decode",t),t.split(e))}}function WK(e,t="="){return Zf(e),L0("padding",t),{encode(r){for(tp("padding.encode",r);r.length*e%8;)r.push(t);return r},decode(r){tp("padding.decode",r);let n=r.length;if(n*e%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if((n-1)*e%8===0)throw new Error("padding: invalid, string has too much padding");return r.slice(0,n)}}}function RA(e,t,r){if(t<2)throw new Error(`convertRadix: invalid from=${t}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: invalid to=${r}, base cannot be less than 2`);if(ep(e),!e.length)return[];let n=0;const a=[],i=Array.from(e,u=>{if(Zf(u),u<0||u>=t)throw new Error(`invalid integer: ${u}`);return u}),o=i.length;for(;;){let u=0,d=!0;for(let p=n;p<o;p++){const m=i[p],b=t*u,v=b+m;if(!Number.isSafeInteger(v)||b/t!==u||v-m!==b)throw new Error("convertRadix: carry overflow");const C=v/r;u=v%r;const E=Math.floor(C);if(i[p]=E,!Number.isSafeInteger(E)||E*r+u!==v)throw new Error("convertRadix: carry overflow");if(d)E?d=!1:n=p;else continue}if(a.push(u),d)break}for(let u=0;u<e.length-1&&e[u]===0;u++)a.push(0);return a.reverse()}const kz=(e,t)=>t===0?e:kz(t,e%t),rp=(e,t)=>e+(t-kz(e,t)),G4=(()=>{let e=[];for(let t=0;t<40;t++)e.push(2**t);return e})();function ab(e,t,r,n){if(ep(e),t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(rp(t,r)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${rp(t,r)}`);let a=0,i=0;const o=G4[t],u=G4[r]-1,d=[];for(const p of e){if(Zf(p),p>=o)throw new Error(`convertRadix2: invalid data word=${p} from=${t}`);if(a=a<<t|p,i+t>32)throw new Error(`convertRadix2: carry overflow pos=${i} from=${t}`);for(i+=t;i>=r;i-=r)d.push((a>>i-r&u)>>>0);const m=G4[i];if(m===void 0)throw new Error("invalid carry");a&=m-1}if(a=a<<r-i&u,!n&&i>=t)throw new Error("Excess padding");if(!n&&a>0)throw new Error(`Non-zero padding: ${a}`);return n&&i>0&&d.push(a>>>0),d}function HK(e){Zf(e);const t=2**8;return{encode:r=>{if(!df(r))throw new Error("radix.encode input should be Uint8Array");return RA(Array.from(r),t,e)},decode:r=>(fx("radix.decode",r),Uint8Array.from(RA(r,e,t)))}}function dx(e,t=!1){if(Zf(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(rp(8,e)>32||rp(e,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!df(r))throw new Error("radix2.encode input should be Uint8Array");return ab(Array.from(r),8,e,!t)},decode:r=>(fx("radix2.decode",r),Uint8Array.from(ab(r,e,8,t)))}}function UA(e){return Bz(e),function(...t){try{return e.apply(null,t)}catch{}}}function YK(e,t){return Zf(e),Bz(t),{encode(r){if(!df(r))throw new Error("checksum.encode: input should be Uint8Array");const n=t(r).slice(0,e),a=new Uint8Array(r.length+e);return a.set(r),a.set(n,r.length),a},decode(r){if(!df(r))throw new Error("checksum.decode: input should be Uint8Array");const n=r.slice(0,-e),a=r.slice(-e),i=t(n).slice(0,e);for(let o=0;o<e;o++)if(i[o]!==a[o])throw new Error("Invalid checksum");return n}}}const PA=zh(dx(4),U6("0123456789ABCDEF"),P6("")),ZK=typeof Uint8Array.from([]).toBase64=="function"&&typeof Uint8Array.fromBase64=="function",WA=ZK?{encode(e){return PK(e),e.toBase64()},decode(e){return L0("base64",e),Uint8Array.fromBase64(e,{lastChunkHandling:"strict"})}}:zh(dx(6),U6("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),WK(6),P6("")),GK=e=>zh(HK(58),U6(e),P6("")),sb=GK("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),Hme=e=>zh(YK(4,t=>e(e(t))),sb),ob=zh(U6("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),P6("")),HA=[996825010,642813549,513874426,1027748829,705979059];function Md(e){const t=e>>25;let r=(e&33554431)<<5;for(let n=0;n<HA.length;n++)(t>>n&1)===1&&(r^=HA[n]);return r}function YA(e,t,r=1){const n=e.length;let a=1;for(let i=0;i<n;i++){const o=e.charCodeAt(i);if(o<33||o>126)throw new Error(`Invalid prefix (${e})`);a=Md(a)^o>>5}a=Md(a);for(let i=0;i<n;i++)a=Md(a)^e.charCodeAt(i)&31;for(let i of t)a=Md(a)^i;for(let i=0;i<6;i++)a=Md(a);return a^=r,ob.encode(ab([a%G4[30]],30,5,!1))}function QK(e){const t=e==="bech32"?1:734539939,r=dx(5),n=r.decode,a=r.encode,i=UA(n);function o(b,v,C=90){L0("bech32.encode prefix",b),df(v)&&(v=Array.from(v)),fx("bech32.encode",v);const E=b.length;if(E===0)throw new TypeError(`Invalid prefix length ${E}`);const T=E+7+v.length;if(C!==!1&&T>C)throw new TypeError(`Length ${T} exceeds limit ${C}`);const I=b.toLowerCase(),D=YA(I,v,t);return`${I}1${ob.encode(v)}${D}`}function u(b,v=90){L0("bech32.decode input",b);const C=b.length;if(C<8||v!==!1&&C>v)throw new TypeError(`invalid string length: ${C} (${b}). Expected (8..${v})`);const E=b.toLowerCase();if(b!==E&&b!==b.toUpperCase())throw new Error("String must be lowercase or uppercase");const T=E.lastIndexOf("1");if(T===0||T===-1)throw new Error('Letter "1" must be present between prefix and data only');const I=E.slice(0,T),D=E.slice(T+1);if(D.length<6)throw new Error("Data must be at least 6 characters long");const S=ob.decode(D).slice(0,-6),N=YA(I,S,t);if(!D.endsWith(N))throw new Error(`Invalid checksum in ${b}: expected "${N}"`);return{prefix:I,words:S}}const d=UA(u);function p(b){const{prefix:v,words:C}=u(b,!1);return{prefix:v,words:C,bytes:n(C)}}function m(b,v){return o(b,a(v))}return{encode:o,decode:u,encodeFromBytes:m,decodeToBytes:p,decodeUnsafe:d,fromWords:n,fromWordsUnsafe:i,toWords:a}}const Du=QK("bech32"),zz=(e,t)=>t.startsWith(e)?t.slice(e.length):t,qK=/^(?:0x)?[0-9a-fA-F]+$/,Xr={valid:e=>qK.test(e),decode:e=>PA.decode(zz("0x",e).toUpperCase()),encode:(e,t=!1)=>(e=typeof e=="string"?ai.encode(e):e,(t?"0x":"")+PA.encode(e).toLowerCase())},VK=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,W6={valid:e=>VK.test(e),decode:WA.decode,encode:e=>WA.encode(typeof e=="string"?ai.encode(e):e)},$K={decode:sb.decode,encode:e=>sb.encode(typeof e=="string"?ai.encode(e):e)},b0={decode:e=>(typeof e!="string"&&(e=Xr.encode(e,!0)),e===""||e==="0x"?0n:BigInt(e)),encode:(e,t=!1)=>b0.toString(e,t),toString:(e,t=!1)=>{let r=e.toString(16);return r=r.length%2===1?r="0"+r:r,t?"0x"+r:r},toBytes:(e,t)=>{typeof e=="number"&&(e=b0.toBigInt(e));const r=Xr.decode(b0.toString(e));if(!t)return r;if(t<r.length)throw new Error(`Can't fit ${e} into ${t} bytes.`);return ai.zpad(r,t)},toNumber:e=>{if(e>BigInt(Number.MAX_SAFE_INTEGER))throw new Error(`Invalid cast: ${e} exceeds MAX_SAFE_INTEGER`);return Number(e)},toBigInt:e=>{if(e>Number.MAX_SAFE_INTEGER)throw new Error(`Invalid cast: ${e} exceeds MAX_SAFE_INTEGER`);return BigInt(e)}},ai={encode:e=>new TextEncoder().encode(e),decode:e=>new TextDecoder().decode(e),equals:(e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),zpad:(e,t,r=!0)=>r?ai.concat(new Uint8Array(t-e.length),e):ai.concat(e,new Uint8Array(t-e.length)),concat:(...e)=>{const t=e.reduce((a,i)=>a+i.length,0),r=new Uint8Array(t);let n=0;return e.forEach(a=>{r.set(a,n),n+=a.length}),r}},hx=[[1,"Solana"],[2,"Ethereum"],[3,"Terra"],[4,"Bsc"],[5,"Polygon"],[6,"Avalanche"],[7,"Oasis"],[8,"Algorand"],[9,"Aurora"],[10,"Fantom"],[11,"Karura"],[12,"Acala"],[13,"Klaytn"],[14,"Celo"],[15,"Near"],[16,"Moonbeam"],[17,"Neon"],[18,"Terra2"],[19,"Injective"],[20,"Osmosis"],[21,"Sui"],[22,"Aptos"],[23,"Arbitrum"],[24,"Optimism"],[25,"Gnosis"],[26,"Pythnet"],[28,"Xpla"],[29,"Btc"],[30,"Base"],[32,"Sei"],[34,"Scroll"],[35,"Mantle"],[36,"Blast"],[37,"Xlayer"],[38,"Linea"],[39,"Berachain"],[40,"Seievm"],[43,"Snaxchain"],[44,"Unichain"],[45,"Worldchain"],[46,"Ink"],[47,"HyperEVM"],[48,"Monad"],[50,"Mezo"],[52,"Sonic"],[3104,"Wormchain"],[4e3,"Cosmoshub"],[4001,"Evmos"],[4002,"Kujira"],[4003,"Neutron"],[4004,"Celestia"],[4005,"Stargaze"],[4006,"Seda"],[4007,"Dymension"],[4008,"Provenance"],[4009,"Noble"],[10002,"Sepolia"],[10003,"ArbitrumSepolia"],[10004,"BaseSepolia"],[10005,"OptimismSepolia"],[10006,"Holesky"],[10007,"PolygonSepolia"]],[Yme,_z]=Jl(hx),H6=$t(hx,[1,0]),co=$t(hx),_h=e=>H6.has(e),cb=e=>co.has(e),Y6=e=>{switch(typeof e){case"string":if(_h(e))return H6(e);break;case"number":if(cb(e))return e;break}throw Error(`Cannot convert to ChainId: ${e}`)},Fh=e=>{switch(typeof e){case"string":if(_h(e))return e;break;case"number":if(cb(e))return co(e);break;case"bigint":if(cb(Number(e)))return co.get(Number(e));break}throw Error(`Cannot convert to Chain: ${e}`)},px=[["Evm",["Acala","Arbitrum","Aurora","Avalanche","Base","Bsc","Celo","Ethereum","Fantom","Gnosis","Karura","Klaytn","Moonbeam","Neon","Oasis","Optimism","Polygon","Sepolia","ArbitrumSepolia","BaseSepolia","OptimismSepolia","Holesky","PolygonSepolia","Mantle","Scroll","Blast","Xlayer","Linea","Berachain","Seievm","Snaxchain","Unichain","Worldchain","Ink","HyperEVM","Monad","Mezo","Sonic"]],["Solana",["Solana","Pythnet"]],["Cosmwasm",["Cosmoshub","Evmos","Injective","Kujira","Osmosis","Sei","Terra","Terra2","Wormchain","Xpla","Dymension","Neutron","Stargaze","Celestia","Seda","Provenance","Noble"]],["Btc",["Btc"]],["Algorand",["Algorand"]],["Sui",["Sui"]],["Aptos",["Aptos"]],["Near",["Near"]]];Ez(px,0);const Fz=$t(px),Yn=$t(px,[1,0]),KK=[["Evm","hex"],["Solana","base58"],["Cosmwasm","bech32"],["Btc","bech32"],["Algorand","algorandAppId"],["Sui","hex"],["Aptos","hex"],["Near","sha256"]],XK=$t(KK),Gf={byAddress:(e,t)=>Object.values(e).find(r=>JK(r.address,t)),native:e=>Gf.byAddress(e,"native"),bySymbol:(e,t)=>{const r=Object.values(e).filter(n=>n.symbol===t);return r&&r.length>0?r:void 0},byKey:(e,t)=>{const r=Object.entries(e).find(([n])=>t===n);return r?r[1]:void 0}},JK=(e,t)=>e.toLowerCase()===t.toLowerCase();var ZA;(function(e){e[e.Finalized=1]="Finalized",e[e.Immediate=200]="Immediate",e[e.Safe=201]="Safe"})(ZA||(ZA={}));const eX=[["Ethereum",32]];$t(eX);const tX=[["Solana",32],["Ethereum",72],["Bsc",15],["Optimism",512],["Base",512],["Arbitrum",4096],["Blast",512],["Xlayer",300],["Scroll",300],["Mantle",512],["Worldchain",512],["Polygon",32],["Fantom",1],["Celo",1],["Moonbeam",1],["Karura",1],["Acala",1],["Oasis",1],["Avalanche",0],["Sui",0],["Algorand",0],["Aptos",0],["Klaytn",0],["Sei",0],["Near",0],["Osmosis",0],["Terra",0],["Terra2",0],["Xpla",0],["Injective",0],["Berachain",1],["Seievm",1],["Snaxchain",512],["Unichain",1024],["Ink",512],["HyperEVM",1],["Monad",1],["Mezo",1],["Sonic",1],["Cosmoshub",0],["Evmos",0],["Kujira",0],["Neutron",0],["Celestia",0],["Stargaze",0],["Dymension",0],["Provenance",0],["Noble",0],["Sepolia",72],["ArbitrumSepolia",4096],["BaseSepolia",512],["OptimismSepolia",512],["PolygonSepolia",32]],Oz=$t(tX),rX=[["Acala",12e3],["Algorand",3300],["Aptos",4e3],["Arbitrum",260],["ArbitrumSepolia",260],["Aurora",3e3],["Avalanche",2e3],["Base",2e3],["BaseSepolia",2e3],["Blast",2e3],["Bsc",3e3],["Celo",5e3],["Cosmoshub",5e3],["Ethereum",15e3],["Evmos",2e3],["Fantom",2500],["Gnosis",5e3],["Holesky",15e3],["Injective",2500],["Karura",12e3],["Klaytn",1e3],["Kujira",3e3],["Mantle",2e3],["Moonbeam",12e3],["Monad",1e3],["Near",1500],["Neon",3e4],["Oasis",6e3],["Optimism",2e3],["OptimismSepolia",2e3],["Osmosis",6e3],["Polygon",2e3],["PolygonSepolia",2e3],["Scroll",3e3],["Sei",400],["Sepolia",15e3],["Solana",400],["Sui",3e3],["Terra",6e3],["Terra2",6e3],["Unichain",1e3],["Xpla",5e3],["Xlayer",3e3],["Worldchain",2e3],["Ink",1e3],["Wormchain",5e3],["Btc",6e5],["Pythnet",400],["Dymension",5e3],["Celestia",5e3],["Neutron",5e3],["Stargaze",5e3],["Seda",7500],["Berachain",2e3],["Mezo",4e3],["Sonic",330]],Rz=$t(rX);function Z6(e){const t=Oz.get(e);if(t===void 0)throw new Error("Cannot find finality for "+e);const r=Rz.get(e);if(r===void 0)throw new Error("Cannot find block time for "+e);return t*r}const nX=[["Evm",18],["Solana",9],["Sui",9],["Aptos",8],["Cosmwasm",6],["Algorand",6],["Btc",8],["Near",12]],iX=$t(nX),aX=[["Mainnet",[["Ethereum",{name:"Etherscan",baseUrl:"https://etherscan.io/",endpoints:{tx:"tx/",account:"address/"}}],["Solana",{name:"Solana Explorer",baseUrl:"https://explorer.solana.com/",endpoints:{tx:"tx/",account:"address/"}}],["Polygon",{name:"PolygonScan",baseUrl:"https://polygonscan.com/",endpoints:{tx:"tx/",account:"address/"}}],["Bsc",{name:"BscScan",baseUrl:"https://bscscan.com/",endpoints:{tx:"tx/",account:"address/"}}],["Avalanche",{name:"Snowtrace",baseUrl:"https://snowtrace.io/",endpoints:{tx:"tx/",account:"address/"}}],["Fantom",{name:"FTMscan",baseUrl:"https://ftmscan.com/",endpoints:{tx:"tx/",account:"address/"}}],["Celo",{name:"Celo Explorer",baseUrl:"https://explorer.celo.org/mainnet/",endpoints:{tx:"tx/",account:"address/"}}],["Moonbeam",{name:"Moonscan",baseUrl:"https://moonscan.io/",endpoints:{tx:"tx/",account:"address/"}}],["Sui",{name:"Sui Explorer",baseUrl:"https://explorer.sui.io/",endpoints:{tx:"txblock/",account:"address/"}}],["Aptos",{name:"Aptos Explorer",baseUrl:"https://explorer.aptoslabs.com/",endpoints:{tx:"txn/",account:"account/"}}],["Sei",{name:"Sei Explorer",baseUrl:"https://sei.explorers.guru/",endpoints:{tx:"transaction/",account:"address/"}}],["Karura",{name:"Karura Explorer",baseUrl:"https://blockscout.karura.network/",endpoints:{tx:"tx/",account:"address/"}}],["Acala",{name:"Acala Explorer",baseUrl:"https://blockscout.acala.network/",endpoints:{tx:"tx/",account:"address/"}}]]],["Testnet",[["Ethereum",{name:"Etherscan",baseUrl:"https://goerli.etherscan.io/",endpoints:{tx:"tx/",account:"address/"}}],["Polygon",{name:"PolygonScan",baseUrl:"https://mumbai.polygonscan.com/",endpoints:{tx:"tx/",account:"address/"}}],["Bsc",{name:"BscScan",baseUrl:"https://testnet.bscscan.com/",endpoints:{tx:"tx/",account:"address/"}}],["Avalanche",{name:"Snowtrace",baseUrl:"https://testnet.snowtrace.io/",endpoints:{tx:"tx/",account:"address/"}}],["Fantom",{name:"FTMscan",baseUrl:"https://testnet.ftmscan.com/",endpoints:{tx:"tx/",account:"address/"}}],["Celo",{name:"Celo Explorer",baseUrl:"https://explorer.celo.org/alfajores/",endpoints:{tx:"tx/",account:"address/"}}],["Moonbeam",{name:"Moonscan",baseUrl:"https://moonbase.moonscan.io/",endpoints:{tx:"tx/",account:"address/"}}],["Solana",{name:"Solana Explorer",baseUrl:"https://explorer.solana.com/",endpoints:{tx:"tx/",account:"address/"},networkQuery:{default:"Devnet",Testnet:"?cluster=testnet",Devnet:"?cluster=devnet"}}],["Sui",{name:"Sui Explorer",baseUrl:"https://explorer.sui.io/",endpoints:{tx:"txblock/",account:"address/"},networkQuery:{default:"Testnet",Testnet:"?network=testnet",Devnet:"?network=devnet"}}],["Aptos",{name:"Aptos Explorer",baseUrl:"https://explorer.aptoslabs.com/",endpoints:{tx:"txn/",account:"account/"},networkQuery:{default:"Testnet",Testnet:"?network=testnet",Devnet:"?network=devnet"}}],["Sei",{name:"Sei Explorer",baseUrl:"https://sei.explorers.guru/",endpoints:{tx:"transaction/",account:"address/"}}],["Karura",{name:"Karura Explorer",baseUrl:"https://blockscout.karura-testnet.aca-staging.network/",endpoints:{tx:"tx/",account:"address/"}}],["Acala",{name:"Acala Explorer",baseUrl:"https://blockscout.acala-dev.aca-dev.network/",endpoints:{tx:"tx/",account:"address/"}}]]]],sX=$t(aX),oX=(e,t)=>e==="Devnet"?void 0:sX.get(e,t),cX=[["Mainnet",[["Ethereum","https://ethereum-rpc.publicnode.com"],["Solana","https://api.mainnet-beta.solana.com"],["Polygon","https://polygon-bor-rpc.publicnode.com"],["Bsc","https://bsc-rpc.publicnode.com"],["Avalanche","https://avalanche-c-chain-rpc.publicnode.com"],["Fantom","https://rpcapi.fantom.network"],["Celo","https://celo-rpc.publicnode.com"],["Moonbeam","https://moonbeam-rpc.publicnode.com"],["Sui","https://rpc.mainnet.sui.io"],["Aptos","https://fullnode.mainnet.aptoslabs.com/v1"],["Arbitrum","https://arb1.arbitrum.io/rpc"],["Optimism","https://mainnet.optimism.io"],["Base","https://mainnet.base.org"],["Osmosis","https://osmosis-rpc.polkachu.com"],["Cosmoshub","https://cosmos-rpc.publicnode.com:443"],["Evmos","https://evmos-rpc.polkachu.com"],["Injective","https://sentry.tm.injective.network"],["Wormchain","https://wormchain-rpc.quickapi.com"],["Xpla","https://dimension-rpc.xpla.dev"],["Sei","https://sei-rpc.polkachu.com/"],["Algorand","https://mainnet-api.algonode.cloud"],["Terra","https://terra-classic-rpc.publicnode.com"],["Terra2","https://terra-rpc.polkachu.com"],["Karura","https://eth-rpc-karura.aca-api.network"],["Acala","https://eth-rpc-acala.aca-api.network"],["Oasis","https://emerald.oasis.dev"],["Dymension","https://dymension-rpc.polkachu.com/"],["Stargaze","https://stargaze-rpc.polkachu.com/"],["Celestia","https://celestia-rpc.polkachu.com/"],["Neutron","https://neutron-rpc.polkachu.com/"],["Blast","https://rpc.blast.io"],["Provenance","https://rpc.provenance.io/"],["Noble","https://noble-rpc.polkachu.com/"],["Linea","https://rpc.linea.build"],["Scroll","https://scroll-rpc.publicnode.com"],["Xlayer","https://xlayerrpc.okx.com/"],["Gnosis","https://gnosis-rpc.publicnode.com"],["Mantle","https://rpc.mantle.xyz"],["Klaytn","https://public-en.node.kaia.io"],["Snaxchain","https://mainnet.snaxchain.io"],["Berachain","https://rpc.berachain.com"],["Unichain","https://mainnet.unichain.org"],["Worldchain","https://worldchain-mainnet.g.alchemy.com/public"],["Ink","https://rpc-qnd.inkonchain.com"],["Sonic","https://rpc.soniclabs.com"]]],["Testnet",[["Bsc","https://data-seed-prebsc-1-s3.binance.org:8545"],["Avalanche","https://api.avax-test.network/ext/bc/C/rpc"],["Fantom","https://rpc.testnet.fantom.network"],["Celo","https://alfajores-forno.celo-testnet.org"],["Solana","https://api.devnet.solana.com"],["Oasis","https://testnet.emerald.oasis.io"],["Moonbeam","https://rpc.api.moonbase.moonbeam.network"],["Sui","https://fullnode.testnet.sui.io"],["Aptos","https://fullnode.testnet.aptoslabs.com/v1"],["Sei","https://sei-testnet-rpc.polkachu.com"],["Injective","https://testnet.sentry.tm.injective.network"],["Osmosis","https://rpc.testnet.osmosis.zone"],["Cosmoshub","https://rpc.sentry-02.theta-testnet.polypore.xyz"],["Evmos","https://evmos-testnet-rpc.polkachu.com"],["Wormchain","https://gateway.testnet.xlabs.xyz/"],["Xpla","https://cube-rpc.xpla.dev"],["Sepolia","https://ethereum-sepolia.publicnode.com"],["Algorand","https://testnet-api.algonode.cloud"],["Terra","https://bombay.stakesystems.io"],["Terra2","https://terra-testnet-rpc.polkachu.com"],["ArbitrumSepolia","https://sepolia-rollup.arbitrum.io/rpc"],["OptimismSepolia","https://sepolia.optimism.io"],["BaseSepolia","https://sepolia.base.org"],["PolygonSepolia","https://rpc-amoy.polygon.technology/"],["Mantle","https://rpc.testnet.mantle.xyz"],["Karura","https://eth-rpc-karura-testnet.aca-staging.network"],["Acala","https://eth-rpc-acala-testnet.aca-staging.network"],["Blast","https://sepolia.blast.io"],["Berachain","https://bepolia.rpc.berachain.com/"],["Seievm","https://evm-rpc-testnet.sei-apis.com/"],["Linea","https://rpc.sepolia.linea.build"],["Xlayer","https://testrpc.xlayer.tech/"],["Scroll","https://scroll-sepolia-rpc.publicnode.com"],["Gnosis","https://rpc.chiadochain.net"],["Klaytn","https://public-en-kairos.node.kaia.io"],["Snaxchain","https://testnet.snaxchain.io"],["Unichain","https://sepolia.unichain.org"],["Worldchain","https://worldchain-sepolia.g.alchemy.com/public"],["Ink","https://rpc-qnd-sepolia.inkonchain.com"],["HyperEVM","https://api.hyperliquid-testnet.xyz/evm"],["Monad","https://testnet-rpc.monad.xyz"],["Noble","https://noble-testnet-rpc.polkachu.com/"],["Mezo","https://rpc.test.mezo.org"],["Sonic","https://rpc.blaze.soniclabs.com"]]],["Devnet",[["Ethereum","http://eth-devnet:8545"],["Bsc","http://eth-devnet2:8545"],["Solana","http://solana-devnet:8899"]]]],lX=$t(cX),uX=(e,t)=>lX.get(e,t)??"",Uz=[["Mainnet",[["Aptos",1n],["Algorand","mainnet-v1.0"],["Near","mainnet"],["Cosmoshub","cosmoshub-4"],["Evmos","evmos_9001-2"],["Injective","injective-1"],["Osmosis","osmosis-1"],["Sei","pacific-1"],["Terra","columbus-5"],["Terra2","phoenix-1"],["Wormchain","wormchain"],["Xpla","dimension_37-1"],["Kujira","kaiyo-1"],["Solana","5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d"],["Sui","35834a8a"],["Acala",787n],["Arbitrum",42161n],["Aurora",1313161554n],["Avalanche",43114n],["Base",8453n],["Bsc",56n],["Celo",42220n],["Ethereum",1n],["Fantom",250n],["Gnosis",100n],["Karura",686n],["Klaytn",8217n],["Moonbeam",1284n],["Neon",245022934n],["Oasis",42262n],["Optimism",10n],["Polygon",137n],["Neutron","neutron-1"],["Stargaze","stargaze-1"],["Celestia","celestia"],["Dymension","dymension_1100-1"],["Provenance","pio-mainnet-1"],["Noble","noble-1"],["Xlayer",196n],["Mantle",5000n],["Scroll",534352n],["Blast",81457n],["Linea",59144n],["Snaxchain",2192n],["Berachain",80094n],["Unichain",130n],["Worldchain",480n],["Ink",57073n],["Sonic",146n]]],["Testnet",[["Aptos",2n],["Algorand","testnet-v1.0"],["Near","testnet"],["Cosmoshub","theta-testnet-001"],["Evmos","evmos_9000-4"],["Injective","injective-888"],["Osmosis","osmo-test-5"],["Sei","atlantic-2"],["Terra","bombay-12"],["Terra2","pisco-1"],["Wormchain","wormchain-testnet-0"],["Xpla","cube_47-5"],["Kujira","harpoon-4"],["Solana","EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG"],["Sui","4c78adac"],["Acala",597n],["Arbitrum",421613n],["Aurora",1313161555n],["Avalanche",43113n],["Base",84531n],["Bsc",97n],["Celo",44787n],["Ethereum",5n],["Fantom",4002n],["Gnosis",10200n],["Karura",596n],["Klaytn",1001n],["Moonbeam",1287n],["Neon",245022940n],["Oasis",42261n],["Optimism",420n],["Polygon",80001n],["Sepolia",11155111n],["ArbitrumSepolia",421614n],["BaseSepolia",84532n],["OptimismSepolia",11155420n],["PolygonSepolia",80002n],["Holesky",17000n],["Neutron","pion-1"],["Celestia","mocha-4"],["Seda","seda-1-testnet"],["Noble","grand-1"],["Blast",168587773n],["Mantle",5003n],["Scroll",534351n],["Berachain",80069n],["Seievm",1328n],["Snaxchain",13001n],["Unichain",1301n],["Worldchain",4801n],["Ink",763373n],["HyperEVM",998n],["Xlayer",195n],["Linea",59141n],["Monad",10143n],["Mezo",31611n],["Sonic",57054n]]],["Devnet",[["Aptos",0n],["Algorand","sandnet-v1.0"],["Bsc",1397n],["Ethereum",1337n],["Injective","injective_devnet_fake"],["Solana","8wF6jKV3cKwyaVkWcoV9KpDqmkjvEYno9hKZrKx8TbZn"]]]],Pz=$t(Uz),fX=$t(Uz,[2,[0,1]]);function Zme(e,t){const n=fX(t).filter(([a,i])=>Yn(i)===e);if(n.length!==1)throw new Error(`Platform ${e} has multiple chains with native chain id ${t}`);return n[0]}const dX=[["Mainnet","https://iris-api.circle.com/v1/attestations"],["Testnet","https://iris-api-sandbox.circle.com/v1/attestations"]],GA=$t(dX),hX=[["Mainnet",[["Ethereum","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],["Avalanche","0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"],["Optimism","0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"],["Arbitrum","0xaf88d065e77c8cC2239327C5EDb3A432268e5831"],["Solana","EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"],["Base","0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],["Polygon","0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"],["Sui","0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"],["Aptos","0xbae207659db88bea0cbead6da0ed00aac12edcdda169e591cd41c94180b46f3b"],["Unichain","0x078D782b760474a361dDA0AF3839290b0EF57AD6"]]],["Testnet",[["Sepolia","0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238"],["Avalanche","0x5425890298aed601595a70AB815c96711a31Bc65"],["OptimismSepolia","0x5fd84259d66Cd46123540766Be93DFE6D43130D7"],["ArbitrumSepolia","0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d"],["Solana","4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU"],["BaseSepolia","0x036CbD53842c5426634e7929541eC2318f3dCF7e"],["Polygon","0x9999f7Fea5938fD3b1E26A12c3f2fb024e194f97"],["Sui","0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC"],["Aptos","0x69091fbab5f7d635ee7ac5098cf0c1efbe31d68fec0f2cd565e8d168daf52832"],["Unichain","0x31d0220469e10c4E71834a79b1f276d740d3768F"]]]],na=$t(hX),mx=[["Mainnet",[["Ethereum",0],["Avalanche",1],["Optimism",2],["Arbitrum",3],["Solana",5],["Base",6],["Polygon",7],["Sui",8],["Aptos",9],["Unichain",10]]],["Testnet",[["Sepolia",0],["Avalanche",1],["OptimismSepolia",2],["ArbitrumSepolia",3],["Solana",5],["BaseSepolia",6],["Polygon",7],["Sui",8],["Aptos",9],["Unichain",10]]]],pX=$t(mx,[[0,1],2]),lb=$t(mx,[[0,2],1]),[Gme,Qme]=Jl(mx),ub=(e,t)=>pX.has(e,t),QA=(e,t)=>lb.has(e,t),qA=(e,t)=>na.has(e,t),Bm=(e,t)=>{switch(typeof t){case"string":if(ub(e,t))return t;break;case"number":if(QA(e,t))return lb(e,t);break;case"bigint":const r=Number(t);if(QA(e,r))return lb(e,r);break}throw Error(`Cannot convert to Chain: ${t}`)},mX=[["Mainnet",[["Solana","worm2ZoG2kUd4vFXhvjh93UUH596ayRfgQ2MgjNMTth"],["Ethereum","0x98f3c9e6E3fAce36bAAd05FE09d375Ef1464288B"],["Terra","terra1dq03ugtd40zu9hcgdzrsq6z2z4hwhc9tqk2uy5"],["Bsc","0x98f3c9e6E3fAce36bAAd05FE09d375Ef1464288B"],["Polygon","0x7A4B5a56256163F07b2C80A7cA55aBE66c4ec4d7"],["Avalanche","0x54a8e5f9c4CbA08F9943965859F6c34eAF03E26c"],["Oasis","0xfE8cD454b4A1CA468B57D79c0cc77Ef5B6f64585"],["Algorand","842125965"],["Aurora","0xa321448d90d4e5b0A732867c18eA198e75CAC48E"],["Fantom","0x126783A6Cb203a3E35344528B26ca3a0489a1485"],["Karura","0xa321448d90d4e5b0A732867c18eA198e75CAC48E"],["Acala","0xa321448d90d4e5b0A732867c18eA198e75CAC48E"],["Klaytn","0x0C21603c4f3a6387e241c0091A7EA39E43E90bb7"],["Celo","0xa321448d90d4e5b0A732867c18eA198e75CAC48E"],["Near","contract.wormhole_crypto.near"],["Injective","inj17p9rzwnnfxcjp32un9ug7yhhzgtkhvl9l2q74d"],["Aptos","0x5bc11445584a763c1fa7ed39081f1b920954da14e04b32440cba863d03e19625"],["Sui","0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c"],["Moonbeam","0xC8e2b0cD52Cf01b0Ce87d389Daa3d414d4cE29f3"],["Terra2","terra12mrnzvhx3rpej6843uge2yyfppfyd3u9c3uq223q8sl48huz9juqffcnhp"],["Arbitrum","0xa5f208e072434bC67592E4C49C1B991BA79BCA46"],["Optimism","0xEe91C335eab126dF5fDB3797EA9d6aD93aeC9722"],["Gnosis","0xa321448d90d4e5b0A732867c18eA198e75CAC48E"],["Pythnet","H3fxXJ86ADW2PNuDDmZJg6mzTtPxkYCpNuQUTgmJ7AjU"],["Base","0xbebdb6C8ddC678FfA9f8748f85C815C556Dd8ac6"],["Xlayer","0x194B123c5E96B9b2E49763619985790Dc241CAC0"],["Xpla","xpla1jn8qmdda5m6f6fqu9qv46rt7ajhklg40ukpqchkejcvy8x7w26cqxamv3w"],["Sei","sei1gjrrme22cyha4ht2xapn3f08zzw6z3d4uxx6fyy9zd5dyr3yxgzqqncdqn"],["Wormchain","wormhole1ufs3tlq4umljk0qfe8k5ya0x6hpavn897u2cnf9k0en9jr7qarqqaqfk2j"],["Neutron","neutron16rerygcpahqcxx5t8vjla46ym8ccn7xz7rtc6ju5ujcd36cmc7zs9zrunh"],["Blast","0xbebdb6C8ddC678FfA9f8748f85C815C556Dd8ac6"],["Scroll","0xbebdb6C8ddC678FfA9f8748f85C815C556Dd8ac6"],["Mantle","0xbebdb6C8ddC678FfA9f8748f85C815C556Dd8ac6"],["Snaxchain","0xc1BA3CC4bFE724A08FbbFbF64F8db196738665f4"],["Berachain","0xCa1D5a146B03f6303baF59e5AD5615ae0b9d146D"],["Unichain","0xCa1D5a146B03f6303baF59e5AD5615ae0b9d146D"],["Worldchain","0xcbcEe4e081464A15d8Ad5f58BB493954421eB506"],["Ink","0xCa1D5a146B03f6303baF59e5AD5615ae0b9d146D"]]],["Testnet",[["Solana","3u8hJUVTA4jH1wYAyUur7FFZVQ8H635K3tSHHF4ssjQ5"],["Ethereum","0x706abc4E45D419950511e474C7B9Ed348A4a716c"],["Terra","terra1pd65m0q9tl3v8znnz5f5ltsfegyzah7g42cx5v"],["Bsc","0x68605AD7b15c732a30b1BbC62BE8F2A509D74b4D"],["Polygon","0x0CBE91CF822c73C2315FB05100C2F714765d5c20"],["Avalanche","0x7bbcE28e64B3F8b84d876Ab298393c38ad7aac4C"],["Oasis","0xc1C338397ffA53a2Eb12A7038b4eeb34791F8aCb"],["Algorand","86525623"],["Aurora","0xBd07292de7b505a4E803CEe286184f7Acf908F5e"],["Fantom","0x1BB3B4119b7BA9dfad76B0545fb3F531383c3bB7"],["Karura","0x64fb09E405D2043ed7785a29E296C766D56F2056"],["Acala","0x64fb09E405D2043ed7785a29E296C766D56F2056"],["Klaytn","0x1830CC6eE66c84D2F177B94D544967c774E624cA"],["Celo","0x88505117CA88e7dd2eC6EA1E13f0948db2D50D56"],["Near","wormhole.wormhole.testnet"],["Injective","inj1xx3aupmgv3ce537c0yce8zzd3sz567syuyedpg"],["Osmosis","osmo1hggkxr0hpw83f8vuft7ruvmmamsxmwk2hzz6nytdkzyup9krt0dq27sgyx"],["Aptos","0x5bc11445584a763c1fa7ed39081f1b920954da14e04b32440cba863d03e19625"],["Sui","0x31358d198147da50db32eda2562951d53973a0c0ad5ed738e9b17d88b213d790"],["Moonbeam","0xa5B7D85a8f27dd7907dc8FdC21FA5657D5E2F901"],["Neon","0x268557122Ffd64c85750d630b716471118F323c8"],["Terra2","terra19nv3xr5lrmmr7egvrk2kqgw4kcn43xrtd5g0mpgwwvhetusk4k7s66jyv0"],["Arbitrum","0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e"],["Optimism","0x6b9C8671cdDC8dEab9c719bB87cBd3e782bA6a35"],["Gnosis","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Pythnet","EUrRARh92Cdc54xrDn6qzaqjA77NRrCcfbr8kPwoTL4z"],["Xpla","xpla1upkjn4mthr0047kahvn0llqx4qpqfn75lnph4jpxfn8walmm8mqsanyy35"],["Base","0x23908A62110e21C04F3A4e011d24F901F911744A"],["Sei","sei1nna9mzp274djrgzhzkac2gvm3j27l402s4xzr08chq57pjsupqnqaj0d5s"],["Sepolia","0x4a8bc80Ed5a4067f1CCf107057b8270E0cC11A78"],["Wormchain","wormhole16jzpxp0e8550c9aht6q9svcux30vtyyyyxv5w2l2djjra46580wsazcjwp"],["ArbitrumSepolia","0x6b9C8671cdDC8dEab9c719bB87cBd3e782bA6a35"],["BaseSepolia","0x79A1027a6A159502049F10906D333EC57E95F083"],["OptimismSepolia","0x31377888146f3253211EFEf5c676D41ECe7D58Fe"],["Holesky","0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"],["Neutron","neutron1enf63k37nnv9cugggpm06mg70emcnxgj9p64v2s8yx7a2yhhzk2q6xesk4"],["Mantle","0x376428e7f26D5867e69201b275553C45B09EE090"],["PolygonSepolia","0x6b9C8671cdDC8dEab9c719bB87cBd3e782bA6a35"],["Scroll","0x055F47F1250012C6B20c436570a76e52c17Af2D5"],["Blast","0x473e002D7add6fB67a4964F13bFd61280Ca46886"],["Berachain","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Seievm","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Snaxchain","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Unichain","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Worldchain","0xe5E02cD12B6FcA153b0d7fF4bF55730AE7B3C93A"],["Ink","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["HyperEVM","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Xlayer","0xA31aa3FDb7aF7Db93d18DDA4e19F811342EDF780"],["Linea","0x79A1027a6A159502049F10906D333EC57E95F083"],["Monad","0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],["Mezo","0x268557122Ffd64c85750d630b716471118F323c8"]]],["Devnet",[["Solana","Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o"],["Ethereum","0xC89Ce4735882C9F0f0FE26686c53074E09B0D550"],["Terra","terra14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9ssrc8au"],["Bsc","0xC89Ce4735882C9F0f0FE26686c53074E09B0D550"],["Algorand","1004"],["Near","wormhole.test.near"],["Aptos","0xde0036a9600559e295d5f6802ef6f3f802f510366e0c23912b0655d972166017"],["Sui","0x5a5160ca3c2037f4b4051344096ef7a48ebf4400b3f385e57ea90e1628a8bde0"],["Terra2","terra14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9ssrc8au"],["Wormchain","wormhole17p9rzwnnfxcjp32un9ug7yhhzgtkhvl9jfksztgw5uh69wac2pgshdnj3k"]]]],Wz=[["Mainnet",[["Solana","wormDTUJ6AWPNvk59vGQbDvGJmqbDTdgWgAqcLBCgUb"],["Ethereum","0x3ee18B2214AFF97000D974cf647E7C347E8fa585"],["Terra","terra10nmmwe8r3g99a9newtqa7a75xfgs2e8z87r2sf"],["Bsc","0xB6F6D86a8f9879A9c87f643768d9efc38c1Da6E7"],["Polygon","0x5a58505a96D1dbf8dF91cB21B54419FC36e93fdE"],["Avalanche","0x0e082F06FF657D94310cB8cE8B0D9a04541d8052"],["Oasis","0x5848C791e09901b40A9Ef749f2a6735b418d7564"],["Algorand","842126029"],["Aurora","0x51b5123a7b0F9b2bA265f9c4C8de7D78D52f510F"],["Fantom","0x7C9Fc5741288cDFdD83CeB07f3ea7e22618D79D2"],["Karura","0xae9d7fe007b3327AA64A32824Aaac52C42a6E624"],["Acala","0xae9d7fe007b3327AA64A32824Aaac52C42a6E624"],["Klaytn","0x5b08ac39EAED75c0439FC750d9FE7E1F9dD0193F"],["Celo","0x796Dff6D74F3E27060B71255Fe517BFb23C93eed"],["Near","contract.portalbridge.near"],["Injective","inj1ghd753shjuwexxywmgs4xz7x2q732vcnxxynfn"],["Aptos","0x576410486a2da45eee6c949c995670112ddf2fbeedab20350d506328eefc9d4f"],["Sui","0xc57508ee0d4595e5a8728974a4a93a787d38f339757230d441e895422c07aba9"],["Moonbeam","0xb1731c586ca89a23809861c6103f0b96b3f57d92"],["Terra2","terra153366q50k7t8nn7gec00hg66crnhkdggpgdtaxltaq6xrutkkz3s992fw9"],["Arbitrum","0x0b2402144Bb366A632D14B83F244D2e0e21bD39c"],["Optimism","0x1D68124e65faFC907325e3EDbF8c4d84499DAa8b"],["Base","0x8d2de8d2f73F1F4cAB472AC9A881C9b123C79627"],["Xlayer","0x5537857664B0f9eFe38C9f320F75fEf23234D904"],["Xpla","xpla137w0wfch2dfmz7jl2ap8pcmswasj8kg06ay4dtjzw7tzkn77ufxqfw7acv"],["Sei","sei1smzlm9t79kur392nu9egl8p8je9j92q4gzguewj56a05kyxxra0qy0nuf3"],["Wormchain","wormhole1466nf3zuxpya8q9emxukd7vftaf6h4psr0a07srl5zw74zh84yjq4lyjmh"],["Blast","0x24850c6f61C438823F01B7A3BF2B89B72174Fa9d"],["Scroll","0x24850c6f61C438823F01B7A3BF2B89B72174Fa9d"],["Mantle","0x24850c6f61C438823F01B7A3BF2B89B72174Fa9d"],["Snaxchain","0x8B94bfE456B48a6025b92E11Be393BAa86e68410"],["Berachain","0x3Ff72741fd67D6AD0668d93B41a09248F4700560"],["Unichain","0x3Ff72741fd67D6AD0668d93B41a09248F4700560"],["Worldchain","0xc309275443519adca74c9136b02A38eF96E3a1f6"],["Ink","0x3Ff72741fd67D6AD0668d93B41a09248F4700560"]]],["Testnet",[["Solana","DZnkkTmCiFWfYTfT41X3Rd1kDgozqzxWaHqsw6W4x2oe"],["Ethereum","0xF890982f9310df57d00f659cf4fd87e65adEd8d7"],["Terra","terra1pseddrv0yfsn76u4zxrjmtf45kdlmalswdv39a"],["Bsc","0x9dcF9D205C9De35334D646BeE44b2D2859712A09"],["Polygon","0x377D55a7928c046E18eEbb61977e714d2a76472a"],["Avalanche","0x61E44E506Ca5659E6c0bba9b678586fA2d729756"],["Oasis","0x88d8004A9BdbfD9D28090A02010C19897a29605c"],["Algorand","86525641"],["Aurora","0xD05eD3ad637b890D68a854d607eEAF11aF456fba"],["Fantom","0x599CEa2204B4FaECd584Ab1F2b6aCA137a0afbE8"],["Karura","0xe157115ef34c93145Fec2FE53706846853B07F42"],["Acala","0xe157115ef34c93145Fec2FE53706846853B07F42"],["Klaytn","0xC7A13BE098720840dEa132D860fDfa030884b09A"],["Celo","0x05ca6037eC51F8b712eD2E6Fa72219FEaE74E153"],["Near","token.wormhole.testnet"],["Injective","inj1q0e70vhrv063eah90mu97sazhywmeegp7myvnh"],["Aptos","0x576410486a2da45eee6c949c995670112ddf2fbeedab20350d506328eefc9d4f"],["Sui","0x6fb10cdb7aa299e9a4308752dadecb049ff55a892de92992a1edbd7912b3d6da"],["Moonbeam","0xbc976D4b9D57E57c3cA52e1Fd136C45FF7955A96"],["Neon","0xEe3dB83916Ccdc3593b734F7F2d16D630F39F1D0"],["Terra2","terra1c02vds4uhgtrmcw7ldlg75zumdqxr8hwf7npseuf2h58jzhpgjxsgmwkvk"],["Arbitrum","0x23908A62110e21C04F3A4e011d24F901F911744A"],["ArbitrumSepolia","0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e"],["Optimism","0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e"],["OptimismSepolia","0x99737Ec4B815d816c49A385943baf0380e75c0Ac"],["Xpla","xpla1kek6zgdaxcsu35nqfsyvs2t9vs87dqkkq6hjdgczacysjn67vt8sern93x"],["Base","0xA31aa3FDb7aF7Db93d18DDA4e19F811342EDF780"],["BaseSepolia","0x86F55A04690fd7815A3D802bD587e83eA888B239"],["Sei","sei1jv5xw094mclanxt5emammy875qelf3v62u4tl4lp5nhte3w3s9ts9w9az2"],["Sepolia","0xDB5492265f6038831E89f495670FF909aDe94bd9"],["Wormchain","wormhole1aaf9r6s7nxhysuegqrxv0wpm27ypyv4886medd3mrkrw6t4yfcnst3qpex"],["Holesky","0x76d093BbaE4529a342080546cAFEec4AcbA59EC6"],["Mantle","0x75Bfa155a9D7A3714b0861c8a8aF0C4633c45b5D"],["PolygonSepolia","0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e"],["Scroll","0x22427d90B7dA3fA4642F7025A854c7254E4e45BF"],["Blast","0x430855B4D43b8AEB9D2B9869B74d58dda79C0dB2"],["Xlayer","0xdA91a06299BBF302091B053c6B9EF86Eff0f930D"],["Berachain","0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"],["Seievm","0x23908A62110e21C04F3A4e011d24F901F911744A"],["Snaxchain","0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"],["Unichain","0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"],["Worldchain","0x430855B4D43b8AEB9D2B9869B74d58dda79C0dB2"],["Ink","0x376428e7f26D5867e69201b275553C45B09EE090"],["HyperEVM","0x4a8bc80Ed5a4067f1CCf107057b8270E0cC11A78"],["Linea","0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e"],["Monad","0xF323dcDe4d33efe83cf455F78F9F6cc656e6B659"],["Mezo","0xA31aa3FDb7aF7Db93d18DDA4e19F811342EDF780"]]],["Devnet",[["Solana","B6RHG3mfcckmrYN1UhmJzyS1XX3fZKbkeUcpJe9Sy3FE"],["Ethereum","0x0290FB167208Af455bB137780163b7B7a9a10C16"],["Terra","terra1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrquka9l6"],["Bsc","0x0290FB167208Af455bB137780163b7B7a9a10C16"],["Algorand","1006"],["Near","token.test.near"],["Aptos","0x84a5f374d29fc77e370014dce4fd6a55b58ad608de8074b0be5571701724da31"],["Sui","0xa6a3da85bbe05da5bfd953708d56f1a3a023e7fb58e5a824a3d4de3791e8f690"],["Terra2","terra1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrquka9l6"],["Wormchain","wormhole1ghd753shjuwexxywmgs4xz7x2q732vcnkm6h2pyv9s6ah3hylvrqtm7t3h"]]]],Hz=[["Mainnet",[["Ethereum","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Bsc","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Polygon","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Avalanche","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Fantom","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Celo","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Sui","0x57f4e0ba41a7045e29d435bc66cc4175f381eb700e6ec16d4fdfe92e5a4dff9f"],["Solana","3vxKRPwUTiEkeUVyoZ9MXFe1V71sRLbLqu1gRYaWmehQ"],["Base","0xaE8dc4a7438801Ec4edC0B035EcCCcF3807F4CC1"],["Moonbeam","0xcafd2f0a35a4459fa40c0517e17e6fa2939441ca"],["Arbitrum","0xaE8dc4a7438801Ec4edC0B035EcCCcF3807F4CC1"],["Optimism","0xaE8dc4a7438801Ec4edC0B035EcCCcF3807F4CC1"]]],["Testnet",[["Ethereum","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Bsc","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Polygon","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Avalanche","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Fantom","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Celo","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Sui","0xb30040e5120f8cb853b691cb6d45981ae884b1d68521a9dc7c3ae881c0031923"],["Base","0xae8dc4a7438801ec4edc0b035eccccf3807f4cc1"],["Moonbeam","0x9563a59c15842a6f322b10f69d1dd88b41f2e97b"],["Solana","3bPRWXqtSfUaCw3S4wdgvypQtsSzcmvDeaqSqPDkncrg"],["Sepolia",""],["ArbitrumSepolia","0xaE8dc4a7438801Ec4edC0B035EcCCcF3807F4CC1"],["OptimismSepolia","0xaE8dc4a7438801Ec4edC0B035EcCCcF3807F4CC1"],["BaseSepolia",""]]]],gX=[["Mainnet",[["Solana","WnFt12ZrnzZrFZkt2xsNsaNWoQribnuQ5B5FrDbwDhD"],["Ethereum","0x6FFd7EdE62328b3Af38FCD61461Bbfc52F5651fE"],["Bsc","0x5a58505a96D1dbf8dF91cB21B54419FC36e93fdE"],["Polygon","0x90BBd86a6Fe93D3bc3ed6335935447E75fAb7fCf"],["Avalanche","0xf7B6737Ca9c4e08aE573F75A97B73D7a813f5De5"],["Oasis","0x04952D522Ff217f40B5Ef3cbF659EcA7b952a6c1"],["Aurora","0x6dcC0484472523ed9Cdc017F711Bcbf909789284"],["Fantom","0xA9c7119aBDa80d4a4E0C06C8F4d8cF5893234535"],["Karura","0xb91e3638F82A1fACb28690b37e3aAE45d2c33808"],["Acala","0xb91e3638F82A1fACb28690b37e3aAE45d2c33808"],["Klaytn","0x3c3c561757BAa0b78c5C025CdEAa4ee24C1dFfEf"],["Celo","0xA6A377d75ca5c9052c9a77ED1e865Cc25Bd97bf3"],["Aptos","0x1bdffae984043833ed7fe223f7af7a3f8902d04129b14f801823e64827da7130"],["Moonbeam","0x453cfbe096c0f8d763e8c5f24b441097d577bde2"],["Arbitrum","0x3dD14D553cFD986EAC8e3bddF629d82073e188c8"],["Base","0xDA3adC6621B2677BEf9aD26598e6939CF0D92f88"],["Optimism","0xfE8cD454b4A1CA468B57D79c0cc77Ef5B6f64585"]]],["Testnet",[["Solana","2rHhojZ7hpu1zA91nvZmT8TqWWvMcKmmNBCr2mKTtMq4"],["Ethereum","0xD8E4C2DbDd2e2bd8F1336EA691dBFF6952B1a6eB"],["Bsc","0xcD16E5613EF35599dc82B24Cb45B5A93D779f1EE"],["Polygon","0x51a02d0dcb5e52F5b92bdAA38FA013C91c7309A9"],["Avalanche","0xD601BAf2EEE3C028344471684F6b27E789D9075D"],["Oasis","0xC5c25B41AB0b797571620F5204Afa116A44c0ebA"],["Aurora","0x8F399607E9BA2405D87F5f3e1B78D950b44b2e24"],["Fantom","0x63eD9318628D26BdCB15df58B53BB27231D1B227"],["Klaytn","0x94c994fC51c13101062958b567e743f1a04432dE"],["Celo","0xaCD8190F647a31E56A656748bC30F69259f245Db"],["Moonbeam","0x98A0F4B96972b32Fcb3BD03cAeB66A44a6aB9Edb"],["Neon","0x66E5BcFD45D2F3f166c567ADa663f9d2ffb292B4"],["Arbitrum","0xEe3dB83916Ccdc3593b734F7F2d16D630F39F1D0"],["Optimism","0x23908A62110e21C04F3A4e011d24F901F911744A"],["Base","0xF681d1cc5F25a3694E348e7975d7564Aa581db59"],["Sepolia","0x6a0B52ac198e4870e5F3797d5B403838a5bbFD99"],["Aptos","0x1bdffae984043833ed7fe223f7af7a3f8902d04129b14f801823e64827da7130"],["ArbitrumSepolia","0x23908A62110e21C04F3A4e011d24F901F911744A"],["BaseSepolia","0x268557122Ffd64c85750d630b716471118F323c8"],["OptimismSepolia","0x27812285fbe85BA1DF242929B906B31EE3dd1b9f"],["Holesky","0xc8941d483c45eF8FB72E4d1F9dDE089C95fF8171"],["PolygonSepolia","0x23908A62110e21C04F3A4e011d24F901F911744A"],["Mantle","0xD7D732C8Bf5eBF620EA55b5828eae20418eEF083"],["Scroll","0x47B9a1406BEe29a3001BFEB7e45aE45fFFB40c18"]]],["Devnet",[["Solana","NFTWqJR8YnRVqPDvTJrYuLrQDitTG5AScqbeghi4zSA"],["Ethereum","0x26b4afb60d6c903165150c6f0aa14f8016be4aec"],["Terra","terra1plju286nnfj3z54wgcggd4enwaa9fgf5kgrgzl"],["Bsc","0x26b4afb60d6c903165150c6f0aa14f8016be4aec"],["Aptos","0x46da3d4c569388af61f951bdd1153f4c875f90c2991f6b2d0a38e2161a40852c"]]]],yX=[["Mainnet",[["Ethereum","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Bsc","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Polygon","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Avalanche","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Fantom","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Klaytn","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Celo","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Moonbeam","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Base","0x706f82e9bb5b0813501714ab5974216704980e31"],["Arbitrum","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Optimism","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Blast","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Scroll","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Mantle","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Xlayer","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Berachain","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Ink","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Worldchain","0x1520cc9e779c56dab5866bebfb885c86840c33d3"],["Snaxchain","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"],["Unichain","0x27428DD2d3DD32A4D7f7C497eAaa23130d894911"]]],["Testnet",[["Ethereum","0x28D8F1Be96f97C1387e94A53e00eCcFb4E75175a"],["Bsc","0x80aC94316391752A193C1c47E27D382b507c93F3"],["Polygon","0x0591C25ebd0580E0d4F27A82Fc2e24E7489CB5e0"],["Avalanche","0xA3cF45939bD6260bcFe3D66bc73d60f19e49a8BB"],["Fantom","0x7B1bD7a6b4E61c2a123AC6BC2cbfC614437D0470"],["Celo","0x306B68267Deb7c5DfCDa3619E22E9Ca39C374f84"],["Seievm","0x362fca37E45fe1096b42021b543f462D49a5C8df"],["Moonbeam","0x0591C25ebd0580E0d4F27A82Fc2e24E7489CB5e0"],["Arbitrum","0xAd753479354283eEE1b86c9470c84D42f229FF43"],["Optimism","0x01A957A525a5b7A72808bA9D10c389674E459891"],["Base","0xea8029CD7FCAEFFcD1F53686430Db0Fc8ed384E1"],["Sepolia","0x7B1bD7a6b4E61c2a123AC6BC2cbfC614437D0470"],["ArbitrumSepolia","0x7B1bD7a6b4E61c2a123AC6BC2cbfC614437D0470"],["BaseSepolia","0x93BAD53DDfB6132b0aC8E37f6029163E63372cEE"],["OptimismSepolia","0x93BAD53DDfB6132b0aC8E37f6029163E63372cEE"],["Berachain","0x362fca37E45fe1096b42021b543f462D49a5C8df"],["Unichain","0x362fca37E45fe1096b42021b543f462D49a5C8df"],["Ink","0x362fca37E45fe1096b42021b543f462D49a5C8df"],["Monad","0x362fca37E45fe1096b42021b543f462D49a5C8df"]]],["Devnet",[["Ethereum","0xcC680D088586c09c3E0E099a676FA4b6e42467b4"],["Bsc","0xcC680D088586c09c3E0E099a676FA4b6e42467b4"]]]],Yz=[["Mainnet",[["Ethereum",{tokenMessenger:"0xbd3fa81b58ba92a82136038b25adec7066af3155",messageTransmitter:"0x0a992d191deec32afe36203ad87d7d289a738f81",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0xAaDA05BD399372f0b0463744C09113c137636f6a"}],["Avalanche",{tokenMessenger:"0x6b25532e1060ce10cc3b0a99e5683b91bfde6982",messageTransmitter:"0x8186359af5f57fbb40c6b14a588d2a59c0c29880",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x09Fb06A271faFf70A651047395AaEb6265265F13"}],["Optimism",{tokenMessenger:"0x2B4069517957735bE00ceE0fadAE88a26365528f",messageTransmitter:"0x4d41f22c5a0e5c74090899e5a8fb597a8842b3e8",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["Arbitrum",{tokenMessenger:"0x19330d10D9Cc8751218eaf51E8885D058642E08A",messageTransmitter:"0xC30362313FBBA5cf9163F0bb16a0e01f01A896ca",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["Base",{tokenMessenger:"0x1682Ae6375C4E4A97e4B583BC394c861A46D8962",messageTransmitter:"0xAD09780d193884d503182aD4588450C416D6F9D4",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x03faBB06Fa052557143dC28eFCFc63FC12843f1D"}],["Solana",{tokenMessenger:"CCTPiPYPc6AsJuwueEnWgSgucamXDZwBd53dQ11YiKX3",messageTransmitter:"CCTPmbSD7gX1bxKPAmg77w8oFzNFpaQiQUWD43TKaecd",wormholeRelayer:"",wormhole:""}],["Polygon",{tokenMessenger:"0x9daF8c91AEFAE50b9c0E69629D3F6Ca40cA3B3FE",messageTransmitter:"0xF3be9355363857F3e001be68856A2f96b4C39Ba9",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x0FF28217dCc90372345954563486528aa865cDd6"}],["Sui",{tokenMessenger:"0x2aa6c5d56376c371f88a6cc42e852824994993cb9bab8d3e6450cbe3cb32b94e",messageTransmitter:"0x08d87d37ba49e785dde270a83f8e979605b03dc552b5548f26fdf2f49bf7ed1b",wormholeRelayer:"",wormhole:""}],["Aptos",{tokenMessenger:"0x9e6702a472080ea3caaf6ba9dfaa6effad2290a9ba9adaacd5af5c618e42782d",messageTransmitter:"0x177e17751820e4b4371873ca8c30279be63bdea63b88ed0f2239c2eea10f1772",wormholeRelayer:"",wormhole:""}],["Unichain",{tokenMessenger:"0x4e744b28E787c3aD0e810eD65A24461D4ac5a762",messageTransmitter:"0x353bE9E2E38AB1D19104534e4edC21c643Df86f4",wormholeRelayer:"",wormhole:""}]]],["Testnet",[["Sepolia",{tokenMessenger:"0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5",messageTransmitter:"0x7865fAfC2db2093669d92c0F33AeEF291086BEFD",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["Avalanche",{tokenMessenger:"0xeb08f243e5d3fcff26a9e38ae5520a669f4019d0",messageTransmitter:"0xa9fb1b3009dcb79e2fe346c16a604b8fa8ae0a79",wormholeRelayer:"0x774a70bbd03327c21460b60f25b677d9e46ab458",wormhole:"0x58f4c17449c90665891c42e14d34aae7a26a472e"}],["OptimismSepolia",{tokenMessenger:"0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5",messageTransmitter:"0x7865fAfC2db2093669d92c0F33AeEF291086BEFD",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["ArbitrumSepolia",{tokenMessenger:"0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5",messageTransmitter:"0xaCF1ceeF35caAc005e15888dDb8A3515C41B4872",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["Solana",{tokenMessenger:"CCTPiPYPc6AsJuwueEnWgSgucamXDZwBd53dQ11YiKX3",messageTransmitter:"CCTPmbSD7gX1bxKPAmg77w8oFzNFpaQiQUWD43TKaecd",wormholeRelayer:"",wormhole:""}],["BaseSepolia",{tokenMessenger:"0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5",messageTransmitter:"0x7865fAfC2db2093669d92c0F33AeEF291086BEFD",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["Polygon",{tokenMessenger:"0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5",messageTransmitter:"0xe09A679F56207EF33F5b9d8fb4499Ec00792eA73",wormholeRelayer:"0x4cb69FaE7e7Af841e44E1A1c30Af640739378bb2",wormhole:"0x2703483B1a5a7c577e8680de9Df8Be03c6f30e3c"}],["Sui",{tokenMessenger:"0x31cc14d80c175ae39777c0238f20594c6d4869cfab199f40b69f3319956b8beb",messageTransmitter:"0x4931e06dce648b3931f890035bd196920770e913e43e45990b383f6486fdd0a5",wormholeRelayer:"",wormhole:""}],["Aptos",{tokenMessenger:"0x5f9b937419dda90aa06c1836b7847f65bbbe3f1217567758dc2488be31a477b9",messageTransmitter:"0x081e86cebf457a0c6004f35bd648a2794698f52e0dde09a48619dcd3d4cc23d9",wormholeRelayer:"",wormhole:""}],["Unichain",{tokenMessenger:"0x8ed94B8dAd2Dc5453862ea5e316A8e71AAed9782",messageTransmitter:"0xbc498c326533d675cf571B90A2Ced265ACb7d086",wormholeRelayer:"",wormhole:""}]]]],bX=[["Mainnet",[["Wormchain","wormhole14ejqjyq8um4p3xfqj74yld5waqljf88fz25yxnma0cngspxe3les00fpjx"]]],["Testnet",[["Wormchain","wormhole1ctnjk7an90lz5wjfvr3cf6x984a8cjnv8dpmztmlpcq4xteaa2xs9pwmzk"]]]],MX=[["Mainnet",[["Sei","sei189adguawugk3e55zn63z8r9ll29xrjwca636ra7v7gxuzn98sxyqwzt47l"]]],["Testnet",[["Sei","sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]],xX=[["Mainnet",[["Polygon",["Ethereum","0x86E4Dc95c7FBdBf52e33D563BbDB00823894C287"]],["Optimism",["Ethereum","0xdfe97868233d1aa22e815a266982f2cf17685a27"]],["Arbitrum",["Ethereum","0x1c479675ad559dc151f6ec7ed3fbf8cee79582b6"]]]],["Testnet",[["Polygon",["Ethereum","0x2890ba17efe978480615e330ecb65333b880928e"]],["Optimism",["Ethereum","0xe6dfba0953616bacab0c9a8ecb3a9bba77fc15c0"]],["Arbitrum",["Ethereum","0x45af9ed1d03703e480ce7d328fb684bb67da5049"]]]]],Zz=[["Mainnet",[["Ethereum",{porticoUniswap:"0x48b6101128C0ed1E208b7C910e60542A2ee6f476",uniswapQuoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",porticoPancakeSwap:"0x4db1683d60e0a933A9A477a19FA32F472bB9d06e",pancakeSwapQuoterV2:"0xB048Bbc1Ee6b733FFfCFb9e9CeF7375518e25997"}],["Polygon",{porticoUniswap:"0x227bABe533fa9a1085f5261210E0B7137E44437B",uniswapQuoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",porticoPancakeSwap:void 0,pancakeSwapQuoterV2:void 0}],["Bsc",{porticoUniswap:"0x05498574BD0Fa99eeCB01e1241661E7eE58F8a85",uniswapQuoterV2:"0x78D78E420Da98ad378D7799bE8f4AF69033EB077",porticoPancakeSwap:"0xF352DC165783538A26e38A536e76DceF227d90F2",pancakeSwapQuoterV2:"0xB048Bbc1Ee6b733FFfCFb9e9CeF7375518e25997"}],["Avalanche",{porticoUniswap:"0xE565E118e75304dD3cF83dff409c90034b7EA18a",uniswapQuoterV2:"0xbe0F5544EC67e9B3b2D979aaA43f18Fd87E6257F",porticoPancakeSwap:void 0,pancakeSwapQuoterV2:void 0}],["Arbitrum",{porticoUniswap:"0x48fa7528bFD6164DdF09dF0Ed22451cF59c84130",uniswapQuoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",porticoPancakeSwap:"0xE70946692E2e56ae47BfAe2d93d31bd60952B090",pancakeSwapQuoterV2:"0xB048Bbc1Ee6b733FFfCFb9e9CeF7375518e25997"}],["Optimism",{porticoUniswap:"0x9ae506cDDd27DEe1275fd1fe6627E5dc65257061",uniswapQuoterV2:"0x61fFE014bA17989E743c5F6cB21bF9697530B21e",porticoPancakeSwap:void 0,pancakeSwapQuoterV2:void 0}],["Base",{porticoUniswap:"0x610d4DFAC3EC32e0be98D18DDb280DACD76A1889",uniswapQuoterV2:"0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",porticoPancakeSwap:"0x4568aa1eA0ED54db666c58B4526B3FC9BD9be9bf",pancakeSwapQuoterV2:"0xB048Bbc1Ee6b733FFfCFb9e9CeF7375518e25997"}],["Celo",{porticoUniswap:"0xE565E118e75304dD3cF83dff409c90034b7EA18a",uniswapQuoterV2:"0x82825d0554fA07f7FC52Ab63c961F330fdEFa8E8",porticoPancakeSwap:void 0,pancakeSwapQuoterV2:void 0}]]]],vX=[["Mainnet",[["Solana","87MEvHZCXE3ML5rrmh5uX1FbShHmRXXS32xJDGbQ7h5t"],["Polygon","0x09959798B95d00a3183d20FaC298E4594E599eab"],["Arbitrum","0x1293a54e160D1cd7075487898d65266081A15458"],["Optimism","0x1293a54e160D1cd7075487898d65266081A15458"],["Base","0x09959798B95d00a3183d20FaC298E4594E599eab"]]]],wX=$t(mX),CX=$t(Wz),AX=$t(Hz),EX=$t(gX),SX=$t(yX),VA=$t(bX),$A=$t(MX),KA=$t(Zz),Q4=$t(vX),fb=$t(Yz);$t(xX);const Gz=$t(Wz,[0,1]),XA=$t(Hz,[0,1]),np=$t(Yz,[0,1]),JA=$t(Zz,[0,1]),gx=[["Mainnet",[["0x58CC3AE5C097b213cE3c81979e1B9f9570746AA5","JumpCrypto"],["0xfF6CB952589BDE862c25Ef4392132fb9D4A42157","Staked"],["0x114De8460193bdf3A2fCf81f86a09765F4762fD1","Figment"],["0x107A0086b32d7A0977926A205131d8731D39cbEB","ChainodeTech"],["0x8C82B2fd82FaeD2711d59AF0F2499D16e726f6b2","Inotel"],["0x11b39756C042441BE6D8650b69b54EbE715E2343","HashQuark"],["0x54Ce5B4D348fb74B958e8966e2ec3dBd4958a7cd","Chainlayer"],["0x15e7cAF07C4e3DC8e7C469f92C8Cd88FB8005a20","xLabs"],["0x74a3bf913953D695260D88BC1aA25A4eeE363ef0","Forbole"],["0x000aC0076727b35FBea2dAc28fEE5cCB0fEA768e","StakingFund"],["0xAF45Ced136b9D9e24903464AE889F5C8a723FC14","MoonletWallet"],["0xf93124b7c738843CBB89E864c862c38cddCccF95","P2PValidator"],["0xD2CC37A4dc036a8D232b48f62cDD4731412f4890","01Node"],["0xDA798F6896A3331F64b48c12D1D57Fd9cbe70811","MCF"],["0x71AA1BE1D36CaFE3867910F99C09e347899C19C3","Everstake"],["0x8192b6E7387CCd768277c17DAb1b7a5027c0b3Cf","ChorusOne"],["0x178e21ad2E77AE06711549CFBB1f9c7a9d8096e8","Syncnode"],["0x5E1487F35515d02A92753504a8D75471b9f49EdB","Triton"],["0x6FbEBc898F403E4773E95feB15E80C9A99c8348d","StakingFacilities"]]],["Testnet",[["0x13947Bd48b18E53fdAeEe77F3473391aC727C638","Testnet guardian"]]]],[qme,Vme]=vK(Jl(J3(gx)),[1,2]);$t(gx,[[0,2],1]);$t(gx,[1,[0,2]]);const yx=5,DX=[["Mainnet",[["Ethereum","0x18084fbA666a33d37592fA2633fD49a74DD93a88"],["Solana","6DNSN2BJsaPFdFFc1zP37kkeNe4Usc1Sqkzr9C9vPWcU"],["Polygon","0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b"],["Arbitrum","0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40"],["Optimism","0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40"],["Base","0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b"]]]],TX=$t(DX),nu=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */function IX(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function Y1(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function yc(e,...t){if(!IX(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function NX(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");Y1(e.outputLen),Y1(e.blockLen)}function hf(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function Qz(e,t){yc(e);const r=t.outputLen;if(e.length<r)throw new Error("digestInto() expects output buffer of length at least "+r)}function LX(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function yl(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function km(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function qs(e,t){return e<<32-t|e>>>t}function $me(e,t){return e<<t|e>>>32-t>>>0}const qz=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function Vz(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}const Kme=qz?e=>e:e=>Vz(e);function jX(e){for(let t=0;t<e.length;t++)e[t]=Vz(e[t]);return e}const eE=qz?e=>e:jX,$z=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",BX=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function Xme(e){if(yc(e),$z)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=BX[e[r]];return t}const Ro={_0:48,_9:57,A:65,F:70,a:97,f:102};function tE(e){if(e>=Ro._0&&e<=Ro._9)return e-Ro._0;if(e>=Ro.A&&e<=Ro.F)return e-(Ro.A-10);if(e>=Ro.a&&e<=Ro.f)return e-(Ro.a-10)}function Jme(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);if($z)return Uint8Array.fromHex(e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let a=0,i=0;a<r;a++,i+=2){const o=tE(e.charCodeAt(i)),u=tE(e.charCodeAt(i+1));if(o===void 0||u===void 0){const d=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+d+'" at index '+i)}n[a]=o*16+u}return n}function Kz(e){if(typeof e!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}function Oh(e){return typeof e=="string"&&(e=Kz(e)),yc(e),e}function ege(e){return typeof e=="string"&&(e=Kz(e)),yc(e),e}function kX(...e){let t=0;for(let n=0;n<e.length;n++){const a=e[n];yc(a),t+=a.length}const r=new Uint8Array(t);for(let n=0,a=0;n<e.length;n++){const i=e[n];r.set(i,a),a+=i.length}return r}function tge(e,t){if(t!==void 0&&{}.toString.call(t)!=="[object Object]")throw new Error("options should be object or undefined");return Object.assign(e,t)}let bx=class{};function G6(e){const t=n=>e().update(Oh(n)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function nge(e){const t=(n,a)=>e(a).update(Oh(n)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=n=>e(n),t}function Xz(e=32){if(nu&&typeof nu.getRandomValues=="function")return nu.getRandomValues(new Uint8Array(e));if(nu&&typeof nu.randomBytes=="function")return Uint8Array.from(nu.randomBytes(e));throw new Error("crypto.getRandomValues must be defined")}function zX(e,t,r,n){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,r,n);const a=BigInt(32),i=BigInt(4294967295),o=Number(r>>a&i),u=Number(r&i),d=n?4:0,p=n?0:4;e.setUint32(t+d,o,n),e.setUint32(t+p,u,n)}function _X(e,t,r){return e&t^~e&r}function FX(e,t,r){return e&t^e&r^t&r}class Jz extends bx{constructor(t,r,n,a){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=t,this.outputLen=r,this.padOffset=n,this.isLE=a,this.buffer=new Uint8Array(t),this.view=km(this.buffer)}update(t){hf(this),t=Oh(t),yc(t);const{view:r,buffer:n,blockLen:a}=this,i=t.length;for(let o=0;o<i;){const u=Math.min(a-this.pos,i-o);if(u===a){const d=km(t);for(;a<=i-o;o+=a)this.process(d,o);continue}n.set(t.subarray(o,o+u),this.pos),this.pos+=u,o+=u,this.pos===a&&(this.process(r,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){hf(this),Qz(t,this),this.finished=!0;const{buffer:r,view:n,blockLen:a,isLE:i}=this;let{pos:o}=this;r[o++]=128,yl(this.buffer.subarray(o)),this.padOffset>a-o&&(this.process(n,0),o=0);for(let b=o;b<a;b++)r[b]=0;zX(n,a-8,BigInt(this.length*8),i),this.process(n,0);const u=km(t),d=this.outputLen;if(d%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const p=d/4,m=this.get();if(p>m.length)throw new Error("_sha2: outputLen bigger than state");for(let b=0;b<p;b++)u.setUint32(4*b,m[b],i)}digest(){const{buffer:t,outputLen:r}=this;this.digestInto(t);const n=t.slice(0,r);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:r,buffer:n,length:a,finished:i,destroyed:o,pos:u}=this;return t.destroyed=o,t.finished=i,t.length=a,t.pos=u,a%r&&t.buffer.set(n),t}clone(){return this._cloneInto()}}const Dc=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Ui=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),O2=BigInt(2**32-1),rE=BigInt(32);function OX(e,t=!1){return t?{h:Number(e&O2),l:Number(e>>rE&O2)}:{h:Number(e>>rE&O2)|0,l:Number(e&O2)|0}}function e_(e,t=!1){const r=e.length;let n=new Uint32Array(r),a=new Uint32Array(r);for(let i=0;i<r;i++){const{h:o,l:u}=OX(e[i],t);[n[i],a[i]]=[o,u]}return[n,a]}const nE=(e,t,r)=>e>>>r,iE=(e,t,r)=>e<<32-r|t>>>r,iu=(e,t,r)=>e>>>r|t<<32-r,au=(e,t,r)=>e<<32-r|t>>>r,R2=(e,t,r)=>e<<64-r|t>>>r-32,U2=(e,t,r)=>e>>>r-32|t<<64-r,ige=(e,t)=>t,age=(e,t)=>e,RX=(e,t,r)=>e<<r|t>>>32-r,UX=(e,t,r)=>t<<r|e>>>32-r,PX=(e,t,r)=>t<<r-32|e>>>64-r,WX=(e,t,r)=>e<<r-32|t>>>64-r;function Uo(e,t,r,n){const a=(t>>>0)+(n>>>0);return{h:e+r+(a/2**32|0)|0,l:a|0}}const HX=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),YX=(e,t,r,n)=>t+r+n+(e/2**32|0)|0,ZX=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),GX=(e,t,r,n,a)=>t+r+n+a+(e/2**32|0)|0,QX=(e,t,r,n,a)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(a>>>0),qX=(e,t,r,n,a,i)=>t+r+n+a+i+(e/2**32|0)|0,VX=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Tc=new Uint32Array(64);class $X extends Jz{constructor(t=32){super(64,t,8,!1),this.A=Dc[0]|0,this.B=Dc[1]|0,this.C=Dc[2]|0,this.D=Dc[3]|0,this.E=Dc[4]|0,this.F=Dc[5]|0,this.G=Dc[6]|0,this.H=Dc[7]|0}get(){const{A:t,B:r,C:n,D:a,E:i,F:o,G:u,H:d}=this;return[t,r,n,a,i,o,u,d]}set(t,r,n,a,i,o,u,d){this.A=t|0,this.B=r|0,this.C=n|0,this.D=a|0,this.E=i|0,this.F=o|0,this.G=u|0,this.H=d|0}process(t,r){for(let b=0;b<16;b++,r+=4)Tc[b]=t.getUint32(r,!1);for(let b=16;b<64;b++){const v=Tc[b-15],C=Tc[b-2],E=qs(v,7)^qs(v,18)^v>>>3,T=qs(C,17)^qs(C,19)^C>>>10;Tc[b]=T+Tc[b-7]+E+Tc[b-16]|0}let{A:n,B:a,C:i,D:o,E:u,F:d,G:p,H:m}=this;for(let b=0;b<64;b++){const v=qs(u,6)^qs(u,11)^qs(u,25),C=m+v+_X(u,d,p)+VX[b]+Tc[b]|0,T=(qs(n,2)^qs(n,13)^qs(n,22))+FX(n,a,i)|0;m=p,p=d,d=u,u=o+C|0,o=i,i=a,a=n,n=C+T|0}n=n+this.A|0,a=a+this.B|0,i=i+this.C|0,o=o+this.D|0,u=u+this.E|0,d=d+this.F|0,p=p+this.G|0,m=m+this.H|0,this.set(n,a,i,o,u,d,p,m)}roundClean(){yl(Tc)}destroy(){this.set(0,0,0,0,0,0,0,0),yl(this.buffer)}}const t_=e_(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),KX=t_[0],XX=t_[1],Ic=new Uint32Array(80),Nc=new Uint32Array(80);class r_ extends Jz{constructor(t=64){super(128,t,16,!1),this.Ah=Ui[0]|0,this.Al=Ui[1]|0,this.Bh=Ui[2]|0,this.Bl=Ui[3]|0,this.Ch=Ui[4]|0,this.Cl=Ui[5]|0,this.Dh=Ui[6]|0,this.Dl=Ui[7]|0,this.Eh=Ui[8]|0,this.El=Ui[9]|0,this.Fh=Ui[10]|0,this.Fl=Ui[11]|0,this.Gh=Ui[12]|0,this.Gl=Ui[13]|0,this.Hh=Ui[14]|0,this.Hl=Ui[15]|0}get(){const{Ah:t,Al:r,Bh:n,Bl:a,Ch:i,Cl:o,Dh:u,Dl:d,Eh:p,El:m,Fh:b,Fl:v,Gh:C,Gl:E,Hh:T,Hl:I}=this;return[t,r,n,a,i,o,u,d,p,m,b,v,C,E,T,I]}set(t,r,n,a,i,o,u,d,p,m,b,v,C,E,T,I){this.Ah=t|0,this.Al=r|0,this.Bh=n|0,this.Bl=a|0,this.Ch=i|0,this.Cl=o|0,this.Dh=u|0,this.Dl=d|0,this.Eh=p|0,this.El=m|0,this.Fh=b|0,this.Fl=v|0,this.Gh=C|0,this.Gl=E|0,this.Hh=T|0,this.Hl=I|0}process(t,r){for(let N=0;N<16;N++,r+=4)Ic[N]=t.getUint32(r),Nc[N]=t.getUint32(r+=4);for(let N=16;N<80;N++){const j=Ic[N-15]|0,F=Nc[N-15]|0,O=iu(j,F,1)^iu(j,F,8)^nE(j,F,7),W=au(j,F,1)^au(j,F,8)^iE(j,F,7),_=Ic[N-2]|0,z=Nc[N-2]|0,k=iu(_,z,19)^R2(_,z,61)^nE(_,z,6),w=au(_,z,19)^U2(_,z,61)^iE(_,z,6),s=ZX(W,w,Nc[N-7],Nc[N-16]),l=GX(s,O,k,Ic[N-7],Ic[N-16]);Ic[N]=l|0,Nc[N]=s|0}let{Ah:n,Al:a,Bh:i,Bl:o,Ch:u,Cl:d,Dh:p,Dl:m,Eh:b,El:v,Fh:C,Fl:E,Gh:T,Gl:I,Hh:D,Hl:S}=this;for(let N=0;N<80;N++){const j=iu(b,v,14)^iu(b,v,18)^R2(b,v,41),F=au(b,v,14)^au(b,v,18)^U2(b,v,41),O=b&C^~b&T,W=v&E^~v&I,_=QX(S,F,W,XX[N],Nc[N]),z=qX(_,D,j,O,KX[N],Ic[N]),k=_|0,w=iu(n,a,28)^R2(n,a,34)^R2(n,a,39),s=au(n,a,28)^U2(n,a,34)^U2(n,a,39),l=n&i^n&u^i&u,f=a&o^a&d^o&d;D=T|0,S=I|0,T=C|0,I=E|0,C=b|0,E=v|0,{h:b,l:v}=Uo(p|0,m|0,z|0,k|0),p=u|0,m=d|0,u=i|0,d=o|0,i=n|0,o=a|0;const h=HX(k,s,f);n=YX(h,z,w,l),a=h|0}({h:n,l:a}=Uo(this.Ah|0,this.Al|0,n|0,a|0)),{h:i,l:o}=Uo(this.Bh|0,this.Bl|0,i|0,o|0),{h:u,l:d}=Uo(this.Ch|0,this.Cl|0,u|0,d|0),{h:p,l:m}=Uo(this.Dh|0,this.Dl|0,p|0,m|0),{h:b,l:v}=Uo(this.Eh|0,this.El|0,b|0,v|0),{h:C,l:E}=Uo(this.Fh|0,this.Fl|0,C|0,E|0),{h:T,l:I}=Uo(this.Gh|0,this.Gl|0,T|0,I|0),{h:D,l:S}=Uo(this.Hh|0,this.Hl|0,D|0,S|0),this.set(n,a,i,o,u,d,p,m,b,v,C,E,T,I,D,S)}roundClean(){yl(Ic,Nc)}destroy(){yl(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const Pi=Uint32Array.from([573645204,4230739756,2673172387,3360449730,596883563,1867755857,2520282905,1497426621,2519219938,2827943907,3193839141,1401305490,721525244,746961066,246885852,2177182882]);class JX extends r_{constructor(){super(32),this.Ah=Pi[0]|0,this.Al=Pi[1]|0,this.Bh=Pi[2]|0,this.Bl=Pi[3]|0,this.Ch=Pi[4]|0,this.Cl=Pi[5]|0,this.Dh=Pi[6]|0,this.Dl=Pi[7]|0,this.Eh=Pi[8]|0,this.El=Pi[9]|0,this.Fh=Pi[10]|0,this.Fl=Pi[11]|0,this.Gh=Pi[12]|0,this.Gl=Pi[13]|0,this.Hh=Pi[14]|0,this.Hl=Pi[15]|0}}const n_=G6(()=>new $X),i_=G6(()=>new r_),eJ=G6(()=>new JX),db=n_,tJ=BigInt(0),xd=BigInt(1),rJ=BigInt(2),nJ=BigInt(7),iJ=BigInt(256),aJ=BigInt(113),a_=[],s_=[],o_=[];for(let e=0,t=xd,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],a_.push(2*(5*n+r)),s_.push((e+1)*(e+2)/2%64);let a=tJ;for(let i=0;i<7;i++)t=(t<<xd^(t>>nJ)*aJ)%iJ,t&rJ&&(a^=xd<<(xd<<BigInt(i))-xd);o_.push(a)}const c_=e_(o_,!0),sJ=c_[0],oJ=c_[1],aE=(e,t,r)=>r>32?PX(e,t,r):RX(e,t,r),sE=(e,t,r)=>r>32?WX(e,t,r):UX(e,t,r);function cJ(e,t=24){const r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let o=0;o<10;o++)r[o]=e[o]^e[o+10]^e[o+20]^e[o+30]^e[o+40];for(let o=0;o<10;o+=2){const u=(o+8)%10,d=(o+2)%10,p=r[d],m=r[d+1],b=aE(p,m,1)^r[u],v=sE(p,m,1)^r[u+1];for(let C=0;C<50;C+=10)e[o+C]^=b,e[o+C+1]^=v}let a=e[2],i=e[3];for(let o=0;o<24;o++){const u=s_[o],d=aE(a,i,u),p=sE(a,i,u),m=a_[o];a=e[m],i=e[m+1],e[m]=d,e[m+1]=p}for(let o=0;o<50;o+=10){for(let u=0;u<10;u++)r[u]=e[o+u];for(let u=0;u<10;u++)e[o+u]^=~r[(u+2)%10]&r[(u+4)%10]}e[0]^=sJ[n],e[1]^=oJ[n]}yl(r)}let lJ=class l_ extends bx{constructor(t,r,n,a=!1,i=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=t,this.suffix=r,this.outputLen=n,this.enableXOF=a,this.rounds=i,Y1(n),!(0<t&&t<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=LX(this.state)}clone(){return this._cloneInto()}keccak(){eE(this.state32),cJ(this.state32,this.rounds),eE(this.state32),this.posOut=0,this.pos=0}update(t){hf(this),t=Oh(t),yc(t);const{blockLen:r,state:n}=this,a=t.length;for(let i=0;i<a;){const o=Math.min(r-this.pos,a-i);for(let u=0;u<o;u++)n[this.pos++]^=t[i++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:t,suffix:r,pos:n,blockLen:a}=this;t[n]^=r,r&128&&n===a-1&&this.keccak(),t[a-1]^=128,this.keccak()}writeInto(t){hf(this,!1),yc(t),this.finish();const r=this.state,{blockLen:n}=this;for(let a=0,i=t.length;a<i;){this.posOut>=n&&this.keccak();const o=Math.min(n-this.posOut,i-a);t.set(r.subarray(this.posOut,this.posOut+o),a),this.posOut+=o,a+=o}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return Y1(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(Qz(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,yl(this.state)}_cloneInto(t){const{blockLen:r,suffix:n,outputLen:a,rounds:i,enableXOF:o}=this;return t||(t=new l_(r,n,a,o,i)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=i,t.suffix=n,t.outputLen=a,t.enableXOF=o,t.destroyed=this.destroyed,t}};const u_=(e,t,r)=>G6(()=>new lJ(t,e,r)),sge=u_(6,136,256/8),ip=u_(1,136,256/8),oge=i_,uJ=eJ;class f_ extends bx{constructor(t,r){super(),this.finished=!1,this.destroyed=!1,NX(t);const n=Oh(r);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const a=this.blockLen,i=new Uint8Array(a);i.set(n.length>a?t.create().update(n).digest():n);for(let o=0;o<i.length;o++)i[o]^=54;this.iHash.update(i),this.oHash=t.create();for(let o=0;o<i.length;o++)i[o]^=106;this.oHash.update(i),yl(i)}update(t){return hf(this),this.iHash.update(t),this}digestInto(t){hf(this),yc(t,this.outputLen),this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}digest(){const t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}_cloneInto(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));const{oHash:r,iHash:n,finished:a,destroyed:i,blockLen:o,outputLen:u}=this;return t=t,t.finished=a,t.destroyed=i,t.blockLen=o,t.outputLen=u,t.oHash=r._cloneInto(t.oHash),t.iHash=n._cloneInto(t.iHash),t}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const d_=(e,t,r)=>new f_(e,t).update(r).digest();d_.create=(e,t)=>new f_(e,t);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Mx=BigInt(0),ap=BigInt(1);function Rh(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function xx(e){if(!Rh(e))throw new Error("Uint8Array expected")}function al(e,t){if(typeof t!="boolean")throw new Error(e+" boolean expected, got "+t)}function P2(e){const t=e.toString(16);return t.length&1?"0"+t:t}function h_(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);return e===""?Mx:BigInt("0x"+e)}const p_=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",fJ=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function pf(e){if(xx(e),p_)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=fJ[e[r]];return t}const Po={_0:48,_9:57,A:65,F:70,a:97,f:102};function oE(e){if(e>=Po._0&&e<=Po._9)return e-Po._0;if(e>=Po.A&&e<=Po.F)return e-(Po.A-10);if(e>=Po.a&&e<=Po.f)return e-(Po.a-10)}function sp(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);if(p_)return Uint8Array.fromHex(e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let a=0,i=0;a<r;a++,i+=2){const o=oE(e.charCodeAt(i)),u=oE(e.charCodeAt(i+1));if(o===void 0||u===void 0){const d=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+d+'" at index '+i)}n[a]=o*16+u}return n}function M0(e){return h_(pf(e))}function o1(e){return xx(e),h_(pf(Uint8Array.from(e).reverse()))}function Uh(e,t){return sp(e.toString(16).padStart(t*2,"0"))}function op(e,t){return Uh(e,t).reverse()}function Hn(e,t,r){let n;if(typeof t=="string")try{n=sp(t)}catch(i){throw new Error(e+" must be hex string or Uint8Array, cause: "+i)}else if(Rh(t))n=Uint8Array.from(t);else throw new Error(e+" must be hex string or Uint8Array");const a=n.length;if(typeof r=="number"&&a!==r)throw new Error(e+" of length "+r+" expected, got "+a);return n}function mf(...e){let t=0;for(let n=0;n<e.length;n++){const a=e[n];xx(a),t+=a.length}const r=new Uint8Array(t);for(let n=0,a=0;n<e.length;n++){const i=e[n];r.set(i,a),a+=i.length}return r}function cge(e){if(typeof e!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}const zm=e=>typeof e=="bigint"&&Mx<=e;function vx(e,t,r){return zm(e)&&zm(t)&&zm(r)&&t<=e&&e<r}function ks(e,t,r,n){if(!vx(t,r,n))throw new Error("expected valid "+e+": "+r+" <= n < "+n+", got "+t)}function dJ(e){let t;for(t=0;e>Mx;e>>=ap,t+=1);return t}function lge(e,t){return e>>BigInt(t)&ap}const Q6=e=>(ap<<BigInt(e))-ap,_m=e=>new Uint8Array(e),cE=e=>Uint8Array.from(e);function hJ(e,t,r){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof r!="function")throw new Error("hmacFn must be a function");let n=_m(e),a=_m(e),i=0;const o=()=>{n.fill(1),a.fill(0),i=0},u=(...b)=>r(a,n,...b),d=(b=_m(0))=>{a=u(cE([0]),b),n=u(),b.length!==0&&(a=u(cE([1]),b),n=u())},p=()=>{if(i++>=1e3)throw new Error("drbg: tried 1000 values");let b=0;const v=[];for(;b<t;){n=u();const C=n.slice();v.push(C),b+=n.length}return mf(...v)};return(b,v)=>{o(),d(b);let C;for(;!(C=v(p()));)d();return o(),C}}const pJ={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||Rh(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function Ph(e,t,r={}){const n=(a,i,o)=>{const u=pJ[i];if(typeof u!="function")throw new Error("invalid validator function");const d=e[a];if(!(o&&d===void 0)&&!u(d,e))throw new Error("param "+String(a)+" is invalid. Expected "+i+", got "+d)};for(const[a,i]of Object.entries(t))n(a,i,!1);for(const[a,i]of Object.entries(r))n(a,i,!0);return e}const uge=()=>{throw new Error("not implemented")};function cp(e){const t=new WeakMap;return(r,...n)=>{const a=t.get(r);if(a!==void 0)return a;const i=e(r,...n);return t.set(r,i),i}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const ma=BigInt(0),zi=BigInt(1),t0=BigInt(2),mJ=BigInt(3),m_=BigInt(4),g_=BigInt(5),y_=BigInt(8);function xn(e,t){const r=e%t;return r>=ma?r:t+r}function zn(e,t,r){let n=e;for(;t-- >ma;)n*=n,n%=r;return n}function hb(e,t){if(e===ma)throw new Error("invert: expected non-zero number");if(t<=ma)throw new Error("invert: expected positive modulus, got "+t);let r=xn(e,t),n=t,a=ma,i=zi;for(;r!==ma;){const u=n/r,d=n%r,p=a-i*u;n=r,r=d,a=i,i=p}if(n!==zi)throw new Error("invert: does not exist");return xn(a,t)}function b_(e,t){const r=(e.ORDER+zi)/m_,n=e.pow(t,r);if(!e.eql(e.sqr(n),t))throw new Error("Cannot find square root");return n}function gJ(e,t){const r=(e.ORDER-g_)/y_,n=e.mul(t,t0),a=e.pow(n,r),i=e.mul(t,a),o=e.mul(e.mul(i,t0),a),u=e.mul(i,e.sub(o,e.ONE));if(!e.eql(e.sqr(u),t))throw new Error("Cannot find square root");return u}function yJ(e){if(e<BigInt(3))throw new Error("sqrt is not defined for small field");let t=e-zi,r=0;for(;t%t0===ma;)t/=t0,r++;let n=t0;const a=Wh(e);for(;lE(a,n)===1;)if(n++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(r===1)return b_;let i=a.pow(n,t);const o=(t+zi)/t0;return function(d,p){if(d.is0(p))return p;if(lE(d,p)!==1)throw new Error("Cannot find square root");let m=r,b=d.mul(d.ONE,i),v=d.pow(p,t),C=d.pow(p,o);for(;!d.eql(v,d.ONE);){if(d.is0(v))return d.ZERO;let E=1,T=d.sqr(v);for(;!d.eql(T,d.ONE);)if(E++,T=d.sqr(T),E===m)throw new Error("Cannot find square root");const I=zi<<BigInt(m-E-1),D=d.pow(b,I);m=E,b=d.sqr(D),v=d.mul(v,b),C=d.mul(C,D)}return C}}function bJ(e){return e%m_===mJ?b_:e%y_===g_?gJ:yJ(e)}const MJ=(e,t)=>(xn(e,t)&zi)===zi,xJ=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function vJ(e){const t={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},r=xJ.reduce((n,a)=>(n[a]="function",n),t);return Ph(e,r)}function wJ(e,t,r){if(r<ma)throw new Error("invalid exponent, negatives unsupported");if(r===ma)return e.ONE;if(r===zi)return t;let n=e.ONE,a=t;for(;r>ma;)r&zi&&(n=e.mul(n,a)),a=e.sqr(a),r>>=zi;return n}function wx(e,t,r=!1){const n=new Array(t.length).fill(r?e.ZERO:void 0),a=t.reduce((o,u,d)=>e.is0(u)?o:(n[d]=o,e.mul(o,u)),e.ONE),i=e.inv(a);return t.reduceRight((o,u,d)=>e.is0(u)?o:(n[d]=e.mul(o,n[d]),e.mul(o,u)),i),n}function lE(e,t){const r=(e.ORDER-zi)/t0,n=e.pow(t,r),a=e.eql(n,e.ONE),i=e.eql(n,e.ZERO),o=e.eql(n,e.neg(e.ONE));if(!a&&!i&&!o)throw new Error("invalid Legendre symbol result");return a?1:i?0:-1}function M_(e,t){t!==void 0&&Y1(t);const r=t!==void 0?t:e.toString(2).length,n=Math.ceil(r/8);return{nBitLength:r,nByteLength:n}}function Wh(e,t,r=!1,n={}){if(e<=ma)throw new Error("invalid field: expected ORDER > 0, got "+e);const{nBitLength:a,nByteLength:i}=M_(e,t);if(i>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let o;const u=Object.freeze({ORDER:e,isLE:r,BITS:a,BYTES:i,MASK:Q6(a),ZERO:ma,ONE:zi,create:d=>xn(d,e),isValid:d=>{if(typeof d!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof d);return ma<=d&&d<e},is0:d=>d===ma,isOdd:d=>(d&zi)===zi,neg:d=>xn(-d,e),eql:(d,p)=>d===p,sqr:d=>xn(d*d,e),add:(d,p)=>xn(d+p,e),sub:(d,p)=>xn(d-p,e),mul:(d,p)=>xn(d*p,e),pow:(d,p)=>wJ(u,d,p),div:(d,p)=>xn(d*hb(p,e),e),sqrN:d=>d*d,addN:(d,p)=>d+p,subN:(d,p)=>d-p,mulN:(d,p)=>d*p,inv:d=>hb(d,e),sqrt:n.sqrt||(d=>(o||(o=bJ(e)),o(u,d))),toBytes:d=>r?op(d,i):Uh(d,i),fromBytes:d=>{if(d.length!==i)throw new Error("Field.fromBytes: expected "+i+" bytes, got "+d.length);return r?o1(d):M0(d)},invertBatch:d=>wx(u,d),cmov:(d,p,m)=>m?p:d});return Object.freeze(u)}function x_(e){if(typeof e!="bigint")throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function v_(e){const t=x_(e);return t+Math.ceil(t/2)}function CJ(e,t,r=!1){const n=e.length,a=x_(t),i=v_(t);if(n<16||n<i||n>1024)throw new Error("expected "+i+"-1024 bytes of input, got "+n);const o=r?o1(e):M0(e),u=xn(o,t-zi)+zi;return r?op(u,a):Uh(u,a)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const uE=BigInt(0),pb=BigInt(1);function Fm(e,t){const r=t.negate();return e?r:t}function w_(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function Om(e,t){w_(e,t);const r=Math.ceil(t/e)+1,n=2**(e-1),a=2**e,i=Q6(e),o=BigInt(e);return{windows:r,windowSize:n,mask:i,maxNumber:a,shiftBy:o}}function fE(e,t,r){const{windowSize:n,mask:a,maxNumber:i,shiftBy:o}=r;let u=Number(e&a),d=e>>o;u>n&&(u-=i,d+=pb);const p=t*n,m=p+Math.abs(u)-1,b=u===0,v=u<0,C=t%2!==0;return{nextN:d,offset:m,isZero:b,isNeg:v,isNegF:C,offsetF:p}}function AJ(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach((r,n)=>{if(!(r instanceof t))throw new Error("invalid point at index "+n)})}function EJ(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach((r,n)=>{if(!t.isValid(r))throw new Error("invalid scalar at index "+n)})}const Rm=new WeakMap,C_=new WeakMap;function Um(e){return C_.get(e)||1}function A_(e,t){return{constTimeNegate:Fm,hasPrecomputes(r){return Um(r)!==1},unsafeLadder(r,n,a=e.ZERO){let i=r;for(;n>uE;)n&pb&&(a=a.add(i)),i=i.double(),n>>=pb;return a},precomputeWindow(r,n){const{windows:a,windowSize:i}=Om(n,t),o=[];let u=r,d=u;for(let p=0;p<a;p++){d=u,o.push(d);for(let m=1;m<i;m++)d=d.add(u),o.push(d);u=d.double()}return o},wNAF(r,n,a){let i=e.ZERO,o=e.BASE;const u=Om(r,t);for(let d=0;d<u.windows;d++){const{nextN:p,offset:m,isZero:b,isNeg:v,isNegF:C,offsetF:E}=fE(a,d,u);a=p,b?o=o.add(Fm(C,n[E])):i=i.add(Fm(v,n[m]))}return{p:i,f:o}},wNAFUnsafe(r,n,a,i=e.ZERO){const o=Om(r,t);for(let u=0;u<o.windows&&a!==uE;u++){const{nextN:d,offset:p,isZero:m,isNeg:b}=fE(a,u,o);if(a=d,!m){const v=n[p];i=i.add(b?v.negate():v)}}return i},getPrecomputes(r,n,a){let i=Rm.get(n);return i||(i=this.precomputeWindow(n,r),r!==1&&Rm.set(n,a(i))),i},wNAFCached(r,n,a){const i=Um(r);return this.wNAF(i,this.getPrecomputes(i,r,a),n)},wNAFCachedUnsafe(r,n,a,i){const o=Um(r);return o===1?this.unsafeLadder(r,n,i):this.wNAFUnsafe(o,this.getPrecomputes(o,r,a),n,i)},setWindowSize(r,n){w_(n,t),C_.set(r,n),Rm.delete(r)}}}function E_(e,t,r,n){AJ(r,e),EJ(n,t);const a=r.length,i=n.length;if(a!==i)throw new Error("arrays of points and scalars must have equal length");const o=e.ZERO,u=dJ(BigInt(a));let d=1;u>12?d=u-3:u>4?d=u-2:u>0&&(d=2);const p=Q6(d),m=new Array(Number(p)+1).fill(o),b=Math.floor((t.BITS-1)/d)*d;let v=o;for(let C=b;C>=0;C-=d){m.fill(o);for(let T=0;T<i;T++){const I=n[T],D=Number(I>>BigInt(C)&p);m[D]=m[D].add(r[T])}let E=o;for(let T=m.length-1,I=o;T>0;T--)I=I.add(m[T]),E=E.add(I);if(v=v.add(E),C!==0)for(let T=0;T<d;T++)v=v.double()}return v}function Cx(e){return vJ(e.Fp),Ph(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...M_(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function dE(e){e.lowS!==void 0&&al("lowS",e.lowS),e.prehash!==void 0&&al("prehash",e.prehash)}function SJ(e){const t=Cx(e);Ph(t,{a:"field",b:"field"},{allowInfinityPoint:"boolean",allowedPrivateKeyLengths:"array",clearCofactor:"function",fromBytes:"function",isTorsionFree:"function",toBytes:"function",wrapPrivateKey:"boolean"});const{endo:r,Fp:n,a}=t;if(r){if(!n.eql(a,n.ZERO))throw new Error("invalid endo: CURVE.a must be 0");if(typeof r!="object"||typeof r.beta!="bigint"||typeof r.splitScalar!="function")throw new Error('invalid endo: expected "beta": bigint and "splitScalar": function')}return Object.freeze({...t})}class DJ extends Error{constructor(t=""){super(t)}}const Go={Err:DJ,_tlv:{encode:(e,t)=>{const{Err:r}=Go;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length&1)throw new r("tlv.encode: unpadded data");const n=t.length/2,a=P2(n);if(a.length/2&128)throw new r("tlv.encode: long form length too big");const i=n>127?P2(a.length/2|128):"";return P2(e)+i+a+t},decode(e,t){const{Err:r}=Go;let n=0;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length<2||t[n++]!==e)throw new r("tlv.decode: wrong tlv");const a=t[n++],i=!!(a&128);let o=0;if(!i)o=a;else{const d=a&127;if(!d)throw new r("tlv.decode(long): indefinite length not supported");if(d>4)throw new r("tlv.decode(long): byte length is too big");const p=t.subarray(n,n+d);if(p.length!==d)throw new r("tlv.decode: length bytes not complete");if(p[0]===0)throw new r("tlv.decode(long): zero leftmost byte");for(const m of p)o=o<<8|m;if(n+=d,o<128)throw new r("tlv.decode(long): not minimal encoding")}const u=t.subarray(n,n+o);if(u.length!==o)throw new r("tlv.decode: wrong value length");return{v:u,l:t.subarray(n+o)}}},_int:{encode(e){const{Err:t}=Go;if(e<qo)throw new t("integer: negative integers are not allowed");let r=P2(e);if(Number.parseInt(r[0],16)&8&&(r="00"+r),r.length&1)throw new t("unexpected DER parsing assertion: unpadded hex");return r},decode(e){const{Err:t}=Go;if(e[0]&128)throw new t("invalid signature integer: negative");if(e[0]===0&&!(e[1]&128))throw new t("invalid signature integer: unnecessary leading zero");return M0(e)}},toSig(e){const{Err:t,_int:r,_tlv:n}=Go,a=Hn("signature",e),{v:i,l:o}=n.decode(48,a);if(o.length)throw new t("invalid signature: left bytes after parsing");const{v:u,l:d}=n.decode(2,i),{v:p,l:m}=n.decode(2,d);if(m.length)throw new t("invalid signature: left bytes after parsing");return{r:r.decode(u),s:r.decode(p)}},hexFromSig(e){const{_tlv:t,_int:r}=Go,n=t.encode(2,r.encode(e.r)),a=t.encode(2,r.encode(e.s)),i=n+a;return t.encode(48,i)}};function Pm(e,t){return pf(Uh(e,t))}const qo=BigInt(0),li=BigInt(1);BigInt(2);const Wm=BigInt(3),TJ=BigInt(4);function IJ(e){const t=SJ(e),{Fp:r}=t,n=Wh(t.n,t.nBitLength),a=t.toBytes||((N,j,F)=>{const O=j.toAffine();return mf(Uint8Array.from([4]),r.toBytes(O.x),r.toBytes(O.y))}),i=t.fromBytes||(N=>{const j=N.subarray(1),F=r.fromBytes(j.subarray(0,r.BYTES)),O=r.fromBytes(j.subarray(r.BYTES,2*r.BYTES));return{x:F,y:O}});function o(N){const{a:j,b:F}=t,O=r.sqr(N),W=r.mul(O,N);return r.add(r.add(W,r.mul(N,j)),F)}function u(N,j){const F=r.sqr(j),O=o(N);return r.eql(F,O)}if(!u(t.Gx,t.Gy))throw new Error("bad curve params: generator point");const d=r.mul(r.pow(t.a,Wm),TJ),p=r.mul(r.sqr(t.b),BigInt(27));if(r.is0(r.add(d,p)))throw new Error("bad curve params: a or b");function m(N){return vx(N,li,t.n)}function b(N){const{allowedPrivateKeyLengths:j,nByteLength:F,wrapPrivateKey:O,n:W}=t;if(j&&typeof N!="bigint"){if(Rh(N)&&(N=pf(N)),typeof N!="string"||!j.includes(N.length))throw new Error("invalid private key");N=N.padStart(F*2,"0")}let _;try{_=typeof N=="bigint"?N:M0(Hn("private key",N,F))}catch{throw new Error("invalid private key, expected hex or "+F+" bytes, got "+typeof N)}return O&&(_=xn(_,W)),ks("private key",_,li,W),_}function v(N){if(!(N instanceof T))throw new Error("ProjectivePoint expected")}const C=cp((N,j)=>{const{px:F,py:O,pz:W}=N;if(r.eql(W,r.ONE))return{x:F,y:O};const _=N.is0();j==null&&(j=_?r.ONE:r.inv(W));const z=r.mul(F,j),k=r.mul(O,j),w=r.mul(W,j);if(_)return{x:r.ZERO,y:r.ZERO};if(!r.eql(w,r.ONE))throw new Error("invZ was invalid");return{x:z,y:k}}),E=cp(N=>{if(N.is0()){if(t.allowInfinityPoint&&!r.is0(N.py))return;throw new Error("bad point: ZERO")}const{x:j,y:F}=N.toAffine();if(!r.isValid(j)||!r.isValid(F))throw new Error("bad point: x or y not FE");if(!u(j,F))throw new Error("bad point: equation left != right");if(!N.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class T{constructor(j,F,O){if(j==null||!r.isValid(j))throw new Error("x required");if(F==null||!r.isValid(F)||r.is0(F))throw new Error("y required");if(O==null||!r.isValid(O))throw new Error("z required");this.px=j,this.py=F,this.pz=O,Object.freeze(this)}static fromAffine(j){const{x:F,y:O}=j||{};if(!j||!r.isValid(F)||!r.isValid(O))throw new Error("invalid affine point");if(j instanceof T)throw new Error("projective point not allowed");const W=_=>r.eql(_,r.ZERO);return W(F)&&W(O)?T.ZERO:new T(F,O,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(j){const F=wx(r,j.map(O=>O.pz));return j.map((O,W)=>O.toAffine(F[W])).map(T.fromAffine)}static fromHex(j){const F=T.fromAffine(i(Hn("pointHex",j)));return F.assertValidity(),F}static fromPrivateKey(j){return T.BASE.multiply(b(j))}static msm(j,F){return E_(T,n,j,F)}_setWindowSize(j){S.setWindowSize(this,j)}assertValidity(){E(this)}hasEvenY(){const{y:j}=this.toAffine();if(r.isOdd)return!r.isOdd(j);throw new Error("Field doesn't support isOdd")}equals(j){v(j);const{px:F,py:O,pz:W}=this,{px:_,py:z,pz:k}=j,w=r.eql(r.mul(F,k),r.mul(_,W)),s=r.eql(r.mul(O,k),r.mul(z,W));return w&&s}negate(){return new T(this.px,r.neg(this.py),this.pz)}double(){const{a:j,b:F}=t,O=r.mul(F,Wm),{px:W,py:_,pz:z}=this;let k=r.ZERO,w=r.ZERO,s=r.ZERO,l=r.mul(W,W),f=r.mul(_,_),h=r.mul(z,z),g=r.mul(W,_);return g=r.add(g,g),s=r.mul(W,z),s=r.add(s,s),k=r.mul(j,s),w=r.mul(O,h),w=r.add(k,w),k=r.sub(f,w),w=r.add(f,w),w=r.mul(k,w),k=r.mul(g,k),s=r.mul(O,s),h=r.mul(j,h),g=r.sub(l,h),g=r.mul(j,g),g=r.add(g,s),s=r.add(l,l),l=r.add(s,l),l=r.add(l,h),l=r.mul(l,g),w=r.add(w,l),h=r.mul(_,z),h=r.add(h,h),l=r.mul(h,g),k=r.sub(k,l),s=r.mul(h,f),s=r.add(s,s),s=r.add(s,s),new T(k,w,s)}add(j){v(j);const{px:F,py:O,pz:W}=this,{px:_,py:z,pz:k}=j;let w=r.ZERO,s=r.ZERO,l=r.ZERO;const f=t.a,h=r.mul(t.b,Wm);let g=r.mul(F,_),x=r.mul(O,z),A=r.mul(W,k),y=r.add(F,O),c=r.add(_,z);y=r.mul(y,c),c=r.add(g,x),y=r.sub(y,c),c=r.add(F,W);let M=r.add(_,k);return c=r.mul(c,M),M=r.add(g,A),c=r.sub(c,M),M=r.add(O,W),w=r.add(z,k),M=r.mul(M,w),w=r.add(x,A),M=r.sub(M,w),l=r.mul(f,c),w=r.mul(h,A),l=r.add(w,l),w=r.sub(x,l),l=r.add(x,l),s=r.mul(w,l),x=r.add(g,g),x=r.add(x,g),A=r.mul(f,A),c=r.mul(h,c),x=r.add(x,A),A=r.sub(g,A),A=r.mul(f,A),c=r.add(c,A),g=r.mul(x,c),s=r.add(s,g),g=r.mul(M,c),w=r.mul(y,w),w=r.sub(w,g),g=r.mul(y,x),l=r.mul(M,l),l=r.add(l,g),new T(w,s,l)}subtract(j){return this.add(j.negate())}is0(){return this.equals(T.ZERO)}wNAF(j){return S.wNAFCached(this,j,T.normalizeZ)}multiplyUnsafe(j){const{endo:F,n:O}=t;ks("scalar",j,qo,O);const W=T.ZERO;if(j===qo)return W;if(this.is0()||j===li)return this;if(!F||S.hasPrecomputes(this))return S.wNAFCachedUnsafe(this,j,T.normalizeZ);let{k1neg:_,k1:z,k2neg:k,k2:w}=F.splitScalar(j),s=W,l=W,f=this;for(;z>qo||w>qo;)z&li&&(s=s.add(f)),w&li&&(l=l.add(f)),f=f.double(),z>>=li,w>>=li;return _&&(s=s.negate()),k&&(l=l.negate()),l=new T(r.mul(l.px,F.beta),l.py,l.pz),s.add(l)}multiply(j){const{endo:F,n:O}=t;ks("scalar",j,li,O);let W,_;if(F){const{k1neg:z,k1:k,k2neg:w,k2:s}=F.splitScalar(j);let{p:l,f}=this.wNAF(k),{p:h,f:g}=this.wNAF(s);l=S.constTimeNegate(z,l),h=S.constTimeNegate(w,h),h=new T(r.mul(h.px,F.beta),h.py,h.pz),W=l.add(h),_=f.add(g)}else{const{p:z,f:k}=this.wNAF(j);W=z,_=k}return T.normalizeZ([W,_])[0]}multiplyAndAddUnsafe(j,F,O){const W=T.BASE,_=(k,w)=>w===qo||w===li||!k.equals(W)?k.multiplyUnsafe(w):k.multiply(w),z=_(this,F).add(_(j,O));return z.is0()?void 0:z}toAffine(j){return C(this,j)}isTorsionFree(){const{h:j,isTorsionFree:F}=t;if(j===li)return!0;if(F)return F(T,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:j,clearCofactor:F}=t;return j===li?this:F?F(T,this):this.multiplyUnsafe(t.h)}toRawBytes(j=!0){return al("isCompressed",j),this.assertValidity(),a(T,this,j)}toHex(j=!0){return al("isCompressed",j),pf(this.toRawBytes(j))}}T.BASE=new T(t.Gx,t.Gy,r.ONE),T.ZERO=new T(r.ZERO,r.ONE,r.ZERO);const{endo:I,nBitLength:D}=t,S=A_(T,I?Math.ceil(D/2):D);return{CURVE:t,ProjectivePoint:T,normPrivateKeyToScalar:b,weierstrassEquation:o,isWithinCurveOrder:m}}function NJ(e){const t=Cx(e);return Ph(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function LJ(e){const t=NJ(e),{Fp:r,n,nByteLength:a,nBitLength:i}=t,o=r.BYTES+1,u=2*r.BYTES+1;function d(h){return xn(h,n)}function p(h){return hb(h,n)}const{ProjectivePoint:m,normPrivateKeyToScalar:b,weierstrassEquation:v,isWithinCurveOrder:C}=IJ({...t,toBytes(h,g,x){const A=g.toAffine(),y=r.toBytes(A.x),c=mf;return al("isCompressed",x),x?c(Uint8Array.from([g.hasEvenY()?2:3]),y):c(Uint8Array.from([4]),y,r.toBytes(A.y))},fromBytes(h){const g=h.length,x=h[0],A=h.subarray(1);if(g===o&&(x===2||x===3)){const y=M0(A);if(!vx(y,li,r.ORDER))throw new Error("Point is not on curve");const c=v(y);let M;try{M=r.sqrt(c)}catch(Q){const K=Q instanceof Error?": "+Q.message:"";throw new Error("Point is not on curve"+K)}const B=(M&li)===li;return(x&1)===1!==B&&(M=r.neg(M)),{x:y,y:M}}else if(g===u&&x===4){const y=r.fromBytes(A.subarray(0,r.BYTES)),c=r.fromBytes(A.subarray(r.BYTES,2*r.BYTES));return{x:y,y:c}}else{const y=o,c=u;throw new Error("invalid Point, expected length of "+y+", or uncompressed "+c+", got "+g)}}});function E(h){const g=n>>li;return h>g}function T(h){return E(h)?d(-h):h}const I=(h,g,x)=>M0(h.slice(g,x));class D{constructor(g,x,A){ks("r",g,li,n),ks("s",x,li,n),this.r=g,this.s=x,A!=null&&(this.recovery=A),Object.freeze(this)}static fromCompact(g){const x=a;return g=Hn("compactSignature",g,x*2),new D(I(g,0,x),I(g,x,2*x))}static fromDER(g){const{r:x,s:A}=Go.toSig(Hn("DER",g));return new D(x,A)}assertValidity(){}addRecoveryBit(g){return new D(this.r,this.s,g)}recoverPublicKey(g){const{r:x,s:A,recovery:y}=this,c=W(Hn("msgHash",g));if(y==null||![0,1,2,3].includes(y))throw new Error("recovery id invalid");const M=y===2||y===3?x+t.n:x;if(M>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");const B=y&1?"03":"02",R=m.fromHex(B+Pm(M,r.BYTES)),Q=p(M),K=d(-c*Q),q=d(A*Q),P=m.BASE.multiplyAndAddUnsafe(R,K,q);if(!P)throw new Error("point at infinify");return P.assertValidity(),P}hasHighS(){return E(this.s)}normalizeS(){return this.hasHighS()?new D(this.r,d(-this.s),this.recovery):this}toDERRawBytes(){return sp(this.toDERHex())}toDERHex(){return Go.hexFromSig(this)}toCompactRawBytes(){return sp(this.toCompactHex())}toCompactHex(){const g=a;return Pm(this.r,g)+Pm(this.s,g)}}const S={isValidPrivateKey(h){try{return b(h),!0}catch{return!1}},normPrivateKeyToScalar:b,randomPrivateKey:()=>{const h=v_(t.n);return CJ(t.randomBytes(h),t.n)},precompute(h=8,g=m.BASE){return g._setWindowSize(h),g.multiply(BigInt(3)),g}};function N(h,g=!0){return m.fromPrivateKey(h).toRawBytes(g)}function j(h){if(typeof h=="bigint")return!1;if(h instanceof m)return!0;const x=Hn("key",h).length,A=r.BYTES,y=A+1,c=2*A+1;if(!(t.allowedPrivateKeyLengths||a===y))return x===y||x===c}function F(h,g,x=!0){if(j(h)===!0)throw new Error("first arg must be private key");if(j(g)===!1)throw new Error("second arg must be public key");return m.fromHex(g).multiply(b(h)).toRawBytes(x)}const O=t.bits2int||function(h){if(h.length>8192)throw new Error("input is too large");const g=M0(h),x=h.length*8-i;return x>0?g>>BigInt(x):g},W=t.bits2int_modN||function(h){return d(O(h))},_=Q6(i);function z(h){return ks("num < 2^"+i,h,qo,_),Uh(h,a)}function k(h,g,x=w){if(["recovered","canonical"].some(X=>X in x))throw new Error("sign() legacy options not supported");const{hash:A,randomBytes:y}=t;let{lowS:c,prehash:M,extraEntropy:B}=x;c==null&&(c=!0),h=Hn("msgHash",h),dE(x),M&&(h=Hn("prehashed msgHash",A(h)));const R=W(h),Q=b(g),K=[z(Q),z(R)];if(B!=null&&B!==!1){const X=B===!0?y(r.BYTES):B;K.push(Hn("extraEntropy",X))}const q=mf(...K),P=R;function G(X){const ne=O(X);if(!C(ne))return;const te=p(ne),V=m.BASE.multiply(ne).toAffine(),oe=d(V.x);if(oe===qo)return;const xe=d(te*d(P+oe*Q));if(xe===qo)return;let fe=(V.x===oe?0:2)|Number(V.y&li),me=xe;return c&&E(xe)&&(me=T(xe),fe^=1),new D(oe,me,fe)}return{seed:q,k2sig:G}}const w={lowS:t.lowS,prehash:!1},s={lowS:t.lowS,prehash:!1};function l(h,g,x=w){const{seed:A,k2sig:y}=k(h,g,x),c=t;return hJ(c.hash.outputLen,c.nByteLength,c.hmac)(A,y)}m.BASE._setWindowSize(8);function f(h,g,x,A=s){var fe;const y=h;g=Hn("msgHash",g),x=Hn("publicKey",x);const{lowS:c,prehash:M,format:B}=A;if(dE(A),"strict"in A)throw new Error("options.strict was renamed to lowS");if(B!==void 0&&B!=="compact"&&B!=="der")throw new Error("format must be compact or der");const R=typeof y=="string"||Rh(y),Q=!R&&!B&&typeof y=="object"&&y!==null&&typeof y.r=="bigint"&&typeof y.s=="bigint";if(!R&&!Q)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let K,q;try{if(Q&&(K=new D(y.r,y.s)),R){try{B!=="compact"&&(K=D.fromDER(y))}catch(me){if(!(me instanceof Go.Err))throw me}!K&&B!=="der"&&(K=D.fromCompact(y))}q=m.fromHex(x)}catch{return!1}if(!K||c&&K.hasHighS())return!1;M&&(g=t.hash(g));const{r:P,s:G}=K,X=W(g),ne=p(G),te=d(X*ne),V=d(P*ne),oe=(fe=m.BASE.multiplyAndAddUnsafe(q,te,V))==null?void 0:fe.toAffine();return oe?d(oe.x)===P:!1}return{CURVE:t,getPublicKey:N,getSharedSecret:F,sign:l,verify:f,ProjectivePoint:m,Signature:D,utils:S}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function jJ(e){return{hash:e,hmac:(t,...r)=>d_(e,t,kX(...r)),randomBytes:Xz}}function BJ(e,t){const r=n=>LJ({...e,...jJ(n)});return{...r(t),create:r}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const S_=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),hE=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),kJ=BigInt(0),zJ=BigInt(1),mb=BigInt(2),pE=(e,t)=>(e+t/mb)/t;function _J(e){const t=S_,r=BigInt(3),n=BigInt(6),a=BigInt(11),i=BigInt(22),o=BigInt(23),u=BigInt(44),d=BigInt(88),p=e*e*e%t,m=p*p*e%t,b=zn(m,r,t)*m%t,v=zn(b,r,t)*m%t,C=zn(v,mb,t)*p%t,E=zn(C,a,t)*C%t,T=zn(E,i,t)*E%t,I=zn(T,u,t)*T%t,D=zn(I,d,t)*I%t,S=zn(D,u,t)*T%t,N=zn(S,r,t)*m%t,j=zn(N,o,t)*E%t,F=zn(j,n,t)*p%t,O=zn(F,mb,t);if(!gb.eql(gb.sqr(O),e))throw new Error("Cannot find square root");return O}const gb=Wh(S_,void 0,void 0,{sqrt:_J}),r0=BJ({a:kJ,b:BigInt(7),Fp:gb,n:hE,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=hE,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-zJ*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),a=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=r,o=BigInt("0x100000000000000000000000000000000"),u=pE(i*e,t),d=pE(-n*e,t);let p=xn(e-u*r-d*a,t),m=xn(-u*n-d*i,t);const b=p>o,v=m>o;if(b&&(p=t-p),v&&(m=t-m),p>o||m>o)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:b,k1:p,k2neg:v,k2:m}}}},n_);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Vs=BigInt(0),Ki=BigInt(1),mE=BigInt(2),FJ=BigInt(8),OJ={zip215:!0};function RJ(e){const t=Cx(e);return Ph(e,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...t})}function UJ(e){const t=RJ(e),{Fp:r,n,prehash:a,hash:i,randomBytes:o,nByteLength:u,h:d}=t,p=mE<<BigInt(u*8)-Ki,m=r.create,b=Wh(t.n,t.nBitLength);function v(A,y){const c=r.sqr(A),M=r.sqr(y),B=r.add(r.mul(t.a,c),M),R=r.add(r.ONE,r.mul(t.d,r.mul(c,M)));return r.eql(B,R)}if(!v(t.Gx,t.Gy))throw new Error("bad curve params: generator point");const C=t.uvRatio||((A,y)=>{try{return{isValid:!0,value:r.sqrt(A*r.inv(y))}}catch{return{isValid:!1,value:Vs}}}),E=t.adjustScalarBytes||(A=>A),T=t.domain||((A,y,c)=>{if(al("phflag",c),y.length||c)throw new Error("Contexts/pre-hash are not supported");return A});function I(A,y,c=!1){const M=c?Ki:Vs;ks("coordinate "+A,y,M,p)}function D(A){if(!(A instanceof j))throw new Error("ExtendedPoint expected")}const S=cp((A,y)=>{const{ex:c,ey:M,ez:B}=A,R=A.is0();y==null&&(y=R?FJ:r.inv(B));const Q=m(c*y),K=m(M*y),q=m(B*y);if(R)return{x:Vs,y:Ki};if(q!==Ki)throw new Error("invZ was invalid");return{x:Q,y:K}}),N=cp(A=>{const{a:y,d:c}=t;if(A.is0())throw new Error("bad point: ZERO");const{ex:M,ey:B,ez:R,et:Q}=A,K=m(M*M),q=m(B*B),P=m(R*R),G=m(P*P),X=m(K*y),ne=m(P*m(X+q)),te=m(G+m(c*m(K*q)));if(ne!==te)throw new Error("bad point: equation left != right (1)");const V=m(M*B),oe=m(R*Q);if(V!==oe)throw new Error("bad point: equation left != right (2)");return!0});class j{constructor(y,c,M,B){I("x",y),I("y",c),I("z",M,!0),I("t",B),this.ex=y,this.ey=c,this.ez=M,this.et=B,Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(y){if(y instanceof j)throw new Error("extended point not allowed");const{x:c,y:M}=y||{};return I("x",c),I("y",M),new j(c,M,Ki,m(c*M))}static normalizeZ(y){const c=wx(r,y.map(M=>M.ez));return y.map((M,B)=>M.toAffine(c[B])).map(j.fromAffine)}static msm(y,c){return E_(j,b,y,c)}_setWindowSize(y){W.setWindowSize(this,y)}assertValidity(){N(this)}equals(y){D(y);const{ex:c,ey:M,ez:B}=this,{ex:R,ey:Q,ez:K}=y,q=m(c*K),P=m(R*B),G=m(M*K),X=m(Q*B);return q===P&&G===X}is0(){return this.equals(j.ZERO)}negate(){return new j(m(-this.ex),this.ey,this.ez,m(-this.et))}double(){const{a:y}=t,{ex:c,ey:M,ez:B}=this,R=m(c*c),Q=m(M*M),K=m(mE*m(B*B)),q=m(y*R),P=c+M,G=m(m(P*P)-R-Q),X=q+Q,ne=X-K,te=q-Q,V=m(G*ne),oe=m(X*te),xe=m(G*te),fe=m(ne*X);return new j(V,oe,fe,xe)}add(y){D(y);const{a:c,d:M}=t,{ex:B,ey:R,ez:Q,et:K}=this,{ex:q,ey:P,ez:G,et:X}=y,ne=m(B*q),te=m(R*P),V=m(K*M*X),oe=m(Q*G),xe=m((B+R)*(q+P)-ne-te),fe=oe-V,me=oe+V,Ze=m(te-c*ne),he=m(xe*fe),Se=m(me*Ze),Ke=m(xe*Ze),ye=m(fe*me);return new j(he,Se,ye,Ke)}subtract(y){return this.add(y.negate())}wNAF(y){return W.wNAFCached(this,y,j.normalizeZ)}multiply(y){const c=y;ks("scalar",c,Ki,n);const{p:M,f:B}=this.wNAF(c);return j.normalizeZ([M,B])[0]}multiplyUnsafe(y,c=j.ZERO){const M=y;return ks("scalar",M,Vs,n),M===Vs?O:this.is0()||M===Ki?this:W.wNAFCachedUnsafe(this,M,j.normalizeZ,c)}isSmallOrder(){return this.multiplyUnsafe(d).is0()}isTorsionFree(){return W.unsafeLadder(this,n).is0()}toAffine(y){return S(this,y)}clearCofactor(){const{h:y}=t;return y===Ki?this:this.multiplyUnsafe(y)}static fromHex(y,c=!1){const{d:M,a:B}=t,R=r.BYTES;y=Hn("pointHex",y,R),al("zip215",c);const Q=y.slice(),K=y[R-1];Q[R-1]=K&-129;const q=o1(Q),P=c?p:r.ORDER;ks("pointHex.y",q,Vs,P);const G=m(q*q),X=m(G-Ki),ne=m(M*G-B);let{isValid:te,value:V}=C(X,ne);if(!te)throw new Error("Point.fromHex: invalid y coordinate");const oe=(V&Ki)===Ki,xe=(K&128)!==0;if(!c&&V===Vs&&xe)throw new Error("Point.fromHex: x=0 and x_0=1");return xe!==oe&&(V=m(-V)),j.fromAffine({x:V,y:q})}static fromPrivateKey(y){const{scalar:c}=k(y);return F.multiply(c)}toRawBytes(){const{x:y,y:c}=this.toAffine(),M=op(c,r.BYTES);return M[M.length-1]|=y&Ki?128:0,M}toHex(){return pf(this.toRawBytes())}}j.BASE=new j(t.Gx,t.Gy,Ki,m(t.Gx*t.Gy)),j.ZERO=new j(Vs,Ki,Ki,Vs);const{BASE:F,ZERO:O}=j,W=A_(j,u*8);function _(A){return xn(A,n)}function z(A){return _(o1(A))}function k(A){const y=r.BYTES;A=Hn("private key",A,y);const c=Hn("hashed private key",i(A),2*y),M=E(c.slice(0,y)),B=c.slice(y,2*y),R=z(M);return{head:M,prefix:B,scalar:R}}function w(A){const{head:y,prefix:c,scalar:M}=k(A),B=F.multiply(M),R=B.toRawBytes();return{head:y,prefix:c,scalar:M,point:B,pointBytes:R}}function s(A){return w(A).pointBytes}function l(A=Uint8Array.of(),...y){const c=mf(...y);return z(i(T(c,Hn("context",A),!!a)))}function f(A,y,c={}){A=Hn("message",A),a&&(A=a(A));const{prefix:M,scalar:B,pointBytes:R}=w(y),Q=l(c.context,M,A),K=F.multiply(Q).toRawBytes(),q=l(c.context,K,R,A),P=_(Q+q*B);ks("signature.s",P,Vs,n);const G=mf(K,op(P,r.BYTES));return Hn("result",G,r.BYTES*2)}const h=OJ;function g(A,y,c,M=h){const{context:B,zip215:R}=M,Q=r.BYTES;A=Hn("signature",A,2*Q),y=Hn("message",y),c=Hn("publicKey",c,Q),R!==void 0&&al("zip215",R),a&&(y=a(y));const K=o1(A.slice(Q,2*Q));let q,P,G;try{q=j.fromHex(c,R),P=j.fromHex(A.slice(0,Q),R),G=F.multiplyUnsafe(K)}catch{return!1}if(!R&&q.isSmallOrder())return!1;const X=l(B,P.toRawBytes(),q.toRawBytes(),y);return P.add(q.multiplyUnsafe(X)).subtract(G).clearCofactor().equals(j.ZERO)}return F._setWindowSize(8),{CURVE:t,getPublicKey:s,sign:f,verify:g,ExtendedPoint:j,utils:{getExtendedPublicKey:w,randomPrivateKey:()=>o(r.BYTES),precompute(A=8,y=j.BASE){return y._setWindowSize(A),y.multiply(BigInt(3)),y}}}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Ax=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),gE=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");BigInt(0);const PJ=BigInt(1),yE=BigInt(2);BigInt(3);const WJ=BigInt(5),HJ=BigInt(8);function YJ(e){const t=BigInt(10),r=BigInt(20),n=BigInt(40),a=BigInt(80),i=Ax,u=e*e%i*e%i,d=zn(u,yE,i)*u%i,p=zn(d,PJ,i)*e%i,m=zn(p,WJ,i)*p%i,b=zn(m,t,i)*m%i,v=zn(b,r,i)*b%i,C=zn(v,n,i)*v%i,E=zn(C,a,i)*C%i,T=zn(E,a,i)*C%i,I=zn(T,t,i)*m%i;return{pow_p_5_8:zn(I,yE,i)*e%i,b2:u}}function ZJ(e){return e[0]&=248,e[31]&=127,e[31]|=64,e}function GJ(e,t){const r=Ax,n=xn(t*t*t,r),a=xn(n*n*t,r),i=YJ(e*a).pow_p_5_8;let o=xn(e*n*i,r);const u=xn(t*o*o,r),d=o,p=xn(o*gE,r),m=u===e,b=u===xn(-e,r),v=u===xn(-e*gE,r);return m&&(o=d),(b||v)&&(o=p),MJ(o,r)&&(o=xn(-o,r)),{isValid:m||b,value:o}}const bE=Wh(Ax,void 0,!0),QJ={a:bE.create(BigInt(-1)),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:bE,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:HJ,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:i_,randomBytes:Xz,adjustScalarBytes:ZJ,uvRatio:GJ},Qf=UJ(QJ),qJ=[{name:"appIdPrefix",binary:"bytes",custom:ai.encode("appID"),omit:!0},{name:"appId",binary:"uint",size:8}],Xs=class Xs{constructor(t,r="hex"){Ye(this,"address");this.address=typeof t=="string"?Xs.stringToUint8Array(t,r):t}toNative(t){return va(t,this)}unwrap(){return this.address}toString(){return Xr.encode(this.address,!0)}toUint8Array(){return this.address}toUniversalAddress(){return this}equals(t){return ai.equals(this.address,t.address)}static isValidAddress(t,r="hex"){return!AK(()=>Xs.stringToUint8Array(t,r))}static instanceof(t){return typeof t=="object"&&"constructor"in t&&t.constructor.type===Xs.type}static stringToUint8Array(t,r){const n=(()=>{switch(r){case"hex":if(![40,2*this.byteSize].includes(t.length-(t.startsWith("0x")?2:0)))throw new Error(`string ${t} has invalid length for format ${r}`);return Xr.decode(t);case"base58":return $K.decode(t);case"bech32":return Du.decodeToBytes(t).bytes;case"algorandAppId":return uJ(mc(qJ,{appId:BigInt(t)}));case"sha256":return db(t)}})();if(n.length>Xs.byteSize)throw new Error(`string ${t} has invalid length for format ${r}`);return n.length<Xs.byteSize?ai.zpad(n,Xs.byteSize):n}};Ye(Xs,"byteSize",32),Ye(Xs,"type","Universal");let dn=Xs;function VJ(e){return typeof e=="object"&&"setChain"in e}const yb=new Map;function qf(e,t){yb.has(e)||yb.set(e,t)}function va(e,t){const r=Yn.get(e),n=yb.get(r);if(!n)throw new Error(`No native address type registered for platform ${r}, import the platform directly or, if using sdk package, import the addresses conditional export`);try{const a=new n(t);return VJ(a)&&a.setChain(e),a}catch(a){const i=`Error parsing address as a native ${e} address: ${a.message}`;if(dn.instanceof(t))throw i;return new dn(t).toNative(e)}}function $J(e,t){const r=Yn.get(e);return new dn(t,XK.get(r))}const bb=(e,t)=>e?`${e}:${t}`:t,Mb=new Map;function KJ(e,t,r){const n=bb(e,t);if(Mb.has(n))throw new Error(`Payload type ${n} already registered`);Mb.set(n,r)}function xi(e,t){for(const[r,n]of t)KJ(e,r,n)}const _i={binary:"uint",size:32},XJ={binary:"uint",size:2},ga=e=>({...XJ,custom:{to:t=>{if(t===0){if(!(e!=null&&e.allowNull))throw new Error("ChainId 0 is not valid for this protocol and action");return null}const r=Fh(t),n=(e==null?void 0:e.allowedChains)??_z;if(!n.includes(r))throw new Error(`Chain ${r} not in allowed chains ${n}`);return r},from:t=>t==null?0:H6(t)}}),Z1={binary:"uint",size:4},Ex={binary:"uint",size:8},D_={binary:"uint",size:4},Cl=e=>({name:"payloadId",binary:"uint",size:1,custom:e,omit:!0}),Sx={binary:"uint",size:8};class JJ{constructor(t,r,n){Ye(this,"r");Ye(this,"s");Ye(this,"v");this.r=t,this.s=r,this.v=n}encode(){return mc(xb,this)}static decode(t){return gc(xb,t)}}var ME;(function(e){function t(i){return r0.getPublicKey(i)}e.toPubkey=t;function r(i,o){if(o.length!=32)throw new Error("hash.length != 32");return r0.sign(o,i)}e.sign=r;function n(i,o,u){const{r:d,s:p}=i;return r0.verify({r:d,s:p},u,o)}e.validate=n;function a(i,o){const{r:u,s:d,v:p}=i,m=new r0.Signature(u,d);return m.recovery=p,m.recoverPublicKey(o).toRawBytes()}e.recover=a})(ME||(ME={}));const eee=[{name:"r",binary:"uint",size:32},{name:"s",binary:"uint",size:32},{name:"v",binary:"uint",size:1}],xb={binary:"bytes",layout:eee,custom:{to:e=>new JJ(e.r,e.s,e.v),from:e=>({r:e.r,s:e.s,v:e.v})}},wr={binary:"bytes",size:32,custom:{to:e=>new dn(e),from:e=>e.toUint8Array()}},tee=e=>{const t=e.findIndex(r=>r!==0);return-1<t?e.slice(t):new Uint8Array([])},ree={to:ai.decode,from:ai.encode},T_=e=>({binary:"bytes",size:e,custom:{to:t=>ai.decode(tee(t)),from:t=>ai.zpad(ai.encode(t),e)}});function nee(e){const t=e.indexOf(":");return t!==-1?[e.slice(0,t),e.slice(t+1)]:[null,e]}const iee=[{name:"guardianIndex",binary:"uint",size:1},{name:"signature",...xb}],I_=[{name:"version",binary:"uint",size:1,custom:1,omit:!0},{name:"guardianSet",...D_},{name:"signatures",binary:"array",lengthSize:1,layout:iee}],N_=[{name:"timestamp",binary:"uint",size:4},{name:"nonce",binary:"uint",size:4},{name:"emitterChain",...ga()},{name:"emitterAddress",...wr},{name:"sequence",...Sx},{name:"consistencyLevel",binary:"uint",size:1}],aee=[...I_,...N_];function G1(e){const t=Mb.get(e);if(!t)throw new Error(`No layout registered for payload type ${e}`);return t}function see(e){return{name:"payload",binary:"bytes",...e==="Uint8Array"?{}:{layout:G1(e)}}}function vb(e){const t=[...aee,see(e.payloadLiteral)];return mc(t,e)}function fge(e,t){if(e==="Uint8Array")return t;const r=G1(e);return mc(r,t)}function Dx(e,t){const r=(()=>{if(Array.isArray(e[0]))return e.flatMap(([o,u])=>u.map(d=>bb(o,d)));if(typeof e[1]=="string")return e;const[a,i]=e;return i.map(o=>bb(a,o))})(),n=kK(r.map(a=>G1(a)));return a=>{typeof a=="string"&&(a=Xr.decode(a));const i=n(a);return Array.isArray(i)?i.map(o=>r[o]):i!==null?r[i]:null}}function Q1(e,t){typeof t=="string"&&(t=Xr.decode(t));const[r,n]=gc(I_,t,!1);for(let C=1;C<r.signatures.length;++C)if(r.signatures[C].guardianIndex<=r.signatures[C-1].guardianIndex)throw new Error("Guardian signatures must be in ascending order of guardian set index");const a=n,[i,o]=gc(N_,t.subarray(a),!1),u=a+o,[d,p]=typeof e=="string"?[e,xE(e,t.subarray(u))]:xE(e,t.subarray(u)),[m,b]=nee(d),v=ip(t.slice(a));return{protocolName:m,payloadName:b,payloadLiteral:d,...r,...i,payload:p,hash:v}}function xE(e,t,r=0){return(()=>{if(typeof t=="string"&&(t=Xr.decode(t)),e==="Uint8Array")return t.slice(r);if(typeof e=="string")return gc(G1(e),t.subarray(r));const n=e(t.slice(r));if(n===null)throw new Error(`Encoded data does not match any of the given payload types - ${t}`);return[n,gc(G1(n),t.subarray(r))]})()}const oee=[["Ethereum",[["ETH",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETH"}],["WETH",{symbol:"WETH",decimals:18,address:"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"}],["USDT",{symbol:"USDT",decimals:6,address:"0xdac17f958d2ee523a2206206994597c13d831ec7"}],["DAI",{symbol:"DAI",decimals:18,address:"0x6b175474e89094c44da98b954eedeac495271d0f"}],["BUSD",{symbol:"BUSD",decimals:18,address:"0x4fabb145d64652a948d72533023f6e7a623c7c53"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x7c9f4C87d911613Fe9ca58b579f737911AAD2D43",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x418D75f65a02b3D53B2418FB8E1fe493759c7605",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x7cd167B101D2808Cfd2C45d17b2E7EA9F46b74B6",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x85f138bfEE4ef8e540890CFb48F620571d67Eda3",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x39EbF69137D98FB7659Ef8D4ea21ec26394389d7",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x4cD2690d86284e044cb63E60F1EB218a825a7e92",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x3294395e62F4eB6aF3f1Fcf89f5602D90Fb3Ef69",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x93d3696A9F879b331f40CB5059e37015423A3Bd0",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xD31a59c85aE9D8edEFeC411D448f90841571b89c",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x41f7B8b9b897276b7AAE926a9016935280b44E97",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x84074EA631dEc7a4edcD5303d164D5dEa4c653D6",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x8CDf7AF57E4c8B930e1B23c477c22f076530585e",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0xb945E3F853B5f8033C8513Cf3cE9F8AD9beBB1c9",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xCFc006a32a98031C2338BF9d5ff8ED2c0Cae4a9e",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x8B5653Ae095529155462eDa8CF664eD96773F557",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x1D4241F7370253C0f12EFC536B7e16E462Fb3526",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x18084fbA666a33d37592fA2633fD49a74DD93a88"}],["tBTCpolygon",{symbol:"tBTC",decimals:18,address:"0xb4c624dBC50804dA086cf2380cD55dEBC0d22E96",original:"Polygon"}],["tBTCoptimism",{symbol:"tBTC",decimals:18,address:"0xB8d1E0642bFD3744CaBd2ca8830cFabE19b2Ca54",original:"Optimism"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x4F3819A6cfF717BFfE801a75c73A984141c76589",original:"Arbitrum"}],["tBTCbase",{symbol:"tBTC",decimals:18,address:"0x733F28B3e315046Db01dAbC292D6F0F7F26C4551",original:"Base"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x9AEA32B459e96C8eF5010f69130bf95fd129ac05",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0xeFc0CED4B3D536103e76a1c4c74F0385C8F4Bdd3",original:"Solana"}]]],["Bsc",[["WETH",{symbol:"WETH",decimals:18,address:"0x4DB5a66E937A9F4473fA95b1cAF1d1E1D62E29EA",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xB04906e95AB5D797aDA81508115611fee694c2b3",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x43359676E1A3F9FbB5de095333f8e9c1B46dFA44",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x524bC91Dc82d6b90EF29F76A3ECAaBAffFD490Bc",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x3413a030EF81a3dD5a302F4B4D11d911e12ed337",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:18,address:"0x035de3679E692C471072d1A09bEb9298fBB2BD31",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0xc836d8dC361E44DbE64c4862D55BA041F88Ddd39",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0xe6d82Bbe75041E42E51d755e922cE1BA91af9c4d",original:"Polygon"}],["BNB",{symbol:"BNB",decimals:18,address:"native",wrappedKey:"WBNB"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x96412902aa9aFf61E13f085e70D3152C6ef2a817",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xc88Dc63bf0c8c8198C97Db0945E3eF25Ca89A8e4",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xbF8413EE8612E0E4f66Aa63B5ebE27f3C5883d47",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x2A335e327a55b177f5B40132fEC5D7298aa0D7e6",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x1C063db3c621BF901FC6C1D03328b08b2F9bbfba",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xfA54fF1a158B5189Ebba6ae130CEd6bbd3aEA76e",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x91Ca579B0D47E5cfD5D0862c21D5659d39C8eCf0",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x8314f6Bf1B4dd8604A0fC33C84F9AF2fc07AABC8",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x2Ba98cf7Edd2c5C794e21bc3Dc6973D3C2585eE3",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0xaA1eEdABC48D078350ccBdD620bD088848e299E5",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0x5caa170b465122D15a6D20FD9A804a9613CE7882",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x94AEc09B5e2CE591e39DC6aa58A3A6E85Ed45265",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xa41ae127D04F7ee73B5058E2C60Fb7c7A2D21F79",original:"Optimism"}],["WETHbsc",{symbol:"WETH",decimals:18,address:"0x2170Ed0880ac9A755fd29B2688956BD959F933F8"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x9dc152F4941cE1A138326e70c3600385bf0C22dD",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x55CaD531c8E303Cab8B3BE4bB4744Db4f896ac81",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x94c97dd3Bde5bC1406BCe82E7941A6365968521D",original:"Ethereum"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0xad80E1A9B5824234afA9dE1F3bbDb8a994796169",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0xEA970e7b7D131Ea36c3051C9Ca11e785462fE00c",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0xb0188B0bb2cD4a6D2744637fC83C94a284B247Da",original:"Solana"}],["USDTbsc",{symbol:"USDT",decimals:18,address:"0x55d398326f99059fF775485246999027B3197955"}]]],["Polygon",[["WETH",{symbol:"WETH",decimals:18,address:"0x11CD37bb86F65419713f30673A480EA33c826872",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x4318CB63A2b8edf2De971E2F17F77097e499459D",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x5D49c278340655B56609FdF8976eb0612aF3a0C3",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x9417669fBF23357D2774e9D421307bd5eA1006d2",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x732EB1747ecCFC431fF19bc359ffc83755B1918c",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:18,address:"0x95ea750420da26bE1Ab0891e209e921bCd84763f",original:"Ethereum"}],["MATIC",{symbol:"MATIC",decimals:18,address:"native",wrappedKey:"WMATIC"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"}],["WETHpolygon",{symbol:"WETH",decimals:18,address:"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xeCDCB5B88F8e3C15f95c720C51c71c9E2080525d",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x4B3a922c773BDCF3BA8f1A4FDAc2029E1D0E9868",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x7Bb11E7f8b10E9e571E5d8Eace04735fDFB2358a",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xAEA5CC14DefbC1b845FDE729E563B717Ee6825ae",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x3726831304D77f585f1Aca9d9841cc3Ef80dAa62",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x922F49a9911effc034eE756196E59BE7b90D43b3",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xcC48d6CF842083fEc0E01d913fB964b585975F05",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xd93f7E271cB87c23AaA73edC008A79646d1F9912",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x576Cf361711cd940CD9C397BB98C4C896cBd38De",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x34bE049fEbfc6C64Ffd82Da08a8931A9a45f2cc8",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xa4ef199d3ad524E9C3C51Ac46B303B103A307Cef",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x6a5c59AB16268d2c872916054C50440B999e417C",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0x7800FE8951cdc1cDea748d878fAce63018D97960",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x8182De59485Bb646542Db8C7E5958148Dc699319",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x31F12aCb60C3c32EE884F3894a873347C097D925",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x5BCf8d8c097FbB35C371F921E3FF3e6F6Eb54B41",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x1eeCaB0F75fE93abbFa0cDFfb4fB13d1dC8706c8",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x3362b2B92b331925F09F9E5bCA3E8C43921a435C",original:"Ethereum"}],["tBTCpolygon",{symbol:"tBTC",decimals:18,address:"0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b"}],["tBTCoptimism",{symbol:"tBTC",decimals:18,address:"0x68A8797da1c8ED592600d70A5151886A92D2183C",original:"Optimism"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x045D8c62D5326aa51a31518ECF3aF80C17421Aba",original:"Arbitrum"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0xe082a7Fc696De18172Ad08D956569Ee80BC37f06",original:"Ethereum"}],["wstETHpolygon",{symbol:"wstETH",decimals:18,address:"0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x415ce980fde17F1FF102e1c6e4ce860Acc615D74",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0xFa4B761A1e07909Ba31331a5dfa12390E3ff5583",original:"Solana"}],["USDTpolygon",{symbol:"USDT",decimals:6,address:"0xc2132D05D31c914a87C6611C10748AEb04B58e8F"}]]],["Avalanche",[["WETH",{symbol:"WETH",decimals:18,address:"0x8b82A291F83ca07Af22120ABa21632088fC92931",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xB24CA28D4e2742907115fECda335b40dbda07a4C",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x1C0e79C5292c59bbC13C9F9f209D204cf4d65aD6",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x9d228444FC4B7E15A2C481b48E10247A03351FD8",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0xca319f81D147559e19A522A0a0310Dd43A96cA0F",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0xf2f13f0B7008ab2FA4A2418F4ccC3684E49D20Eb",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0xDb2d08f5A9C9ADBBA0DE5a69bbB1E9Ca03411692",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x442F7f22b1EE2c842bEAFf52880d4573E9201158",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x6145E8a910aE937913426BF32De2b26039728ACF",original:"Bsc"}],["AVAX",{symbol:"AVAX",decimals:18,address:"native",wrappedKey:"WAVAX"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"}],["WETHavax",{symbol:"WETH",decimals:18,address:"0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xd19abc09B7b36F7558929b97a866f499a26c2f83",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x494317B8521c5a5287a06DEE467dd6fe285dA4a8",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x375aA6C67BF499fBf01804A9f92C03c0776F372d",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xFE6B19286885a4F7F55AdAD09C3Cd1f906D2478F",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x0950Fc1AD509358dAeaD5eB8020a3c7d8b43b9DA",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x1703CB0F762D2a435199B64Ea47E5349B7C17480",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x43c588459b3243fA541B98CC4B2E995b3de553A2",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0xDfDA518A1612030536bD77Fd67eAcbe90dDC52Ab",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0x4b5fE357Eb11c735078e47526D6e853DBff18541",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xDf11535274c0FD2Fe41A88bd1bBF802D72296037",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xBe04f76A0ba2100c3F2d6Aa1FD8484F415469573",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0xFA83178c66fE51ee99109b5cC912f8098Ff812eF",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xab933e939a9236BD439F7d29b87CE712f42bAC06",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x3F531c038A0D2d9c7D19FC3554cd0439791526c4",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x126C03982Ad6D7ef7E6aF020bF219e87185a6BC3",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x8A0691e602B7a5FCc51a27E4a08376dE50889B42",original:"Solana"}],["USDTavax",{symbol:"USDT",decimals:6,address:"0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7"}]]],["Fantom",[["WETH",{symbol:"WETH",decimals:18,address:"0x2A126f043BDEBe5A0A9841c51915E562D9B07289",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x2Ec752329c3EB419136ca5e4432Aa2CDb1eA23e6",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x87e9E225aD8a0755B9958fd95BE43DD6A91FF3A7",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x14BCb86aEed6a74D3452550a25D37f1c30AA0A66",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0xEE786D3D73Ea645365c7248E4e40eDba08B1169F",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0xb88A6064B1F3FF5B9AE4A82fFD52560b0dF9FBD3",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0xB4DcfD221048a1Dad989D39456BBd87762c26F06",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xc033551e05907Ddd643AE14b6D4a9CA72BfF509B",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x0FcbDAC44c67A43607D3E95886dB19871ADc985F",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x358CE030DC6116Cc296E8B9F002728e65459C146",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xEfE7701cb2B80664385Be226d0300912CA92f66A",original:"Avalanche"}],["FTM",{symbol:"FTM",decimals:18,address:"native",wrappedKey:"WFTM"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83"}],["CELO",{symbol:"CELO",decimals:18,address:"0xF432490C6c96C9d3bF523a499a1CEaFd8208A373",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xBF227E92D6754EB4BFE26C40cb299ff2809Da45f",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xd99021C2A33e4Cf243010539c9e9b7c52E0236c1",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0xb8398DA4FB3BC4306B9D9d9d13d9573e7d0E299f",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xC277423a21F6e32D886BF85Ef6cCB945d5D28347",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x3Cd9162Ca5256b8E26A0e3Ad14CCfF7C0Da0F174",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0xE8367853A0823515D37b1538331B4704089becb4",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0x2228703672906fEe5eD681Ec28e42B4506b8c336",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xe8E8f941377A955bFA72880ec0dc2319dbC827a8",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x385b219f0C4fa2e84EfE5aaf9692a821C57B8248",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0xd3365E7355230c78098b44B172eE27DAB95B041A",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xd9E4C283d8A49Dc3767A6F5a4dFdc1d0cEf21604",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xeE27799cF29D7F64647B92f47d543B382B49f83E",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x787e2F3509583C0F03A339Be0826463C839CBE5E",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x77ad3B2dA29FBd208F12c3C701E969F4422aAD79",original:"Solana"}]]],["Celo",[["WETH",{symbol:"WETH",decimals:18,address:"0x66803FB87aBd4aaC3cbB3fAd7C3aa01f6F3FB207",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x37f750B7cC259A2f741AF45294f6a16572CF5cAd",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0xd71Ffd0940c920786eC4DbB5A12306669b5b81EF",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x617f3112bf5397D0467D315cC709EF968D9ba546",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x97926a82930bb7B33178E3c2f4ED1BFDc91A9FBF",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:18,address:"0x1dd42c0785ca90B677adc2ABad01dfc5ECcD0b4d",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x9C234706292b1144133ED509ccc5B3CD193BF712",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0x42c76808f3179A091Ee007A2955aF2522978ADE7",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xBf2554ce8A4D1351AFeB1aC3E5545AaF7591042d",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x9d9abAE97a9344e3854527b4efbB366a1564bfEb",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0xFFdb274b4909fC2efE26C8e4Ddc9fe91963cAA4d",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x62FFf2D2D1692D52eAf043AeeC727F7918d269D3",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xd1A342eE2210238233a347FEd61EE7Faf9f251ce",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x471ece3750da237f93b8e339c536989b8978a438"}],["USDT",{symbol:"USDT",decimals:6,address:"0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x383A5513AbE4Fe36e0E00d484F710148E348Aa9D",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x4581E64115d46CcdeE65Be2336bEc86c9BA54C01",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x8B6eef6C449D3Ac723a9C06a9eaE2dCd7d308BA9",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x1Cb9859B1A16A67ef83A0c7b9A21eeC17d9a97Dc",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x89F2b718Ca518db39d377F0ABBa6B42582b549F7",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0xc6F962fCcb140ece554AfD0E589f971532A57f14",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xA41a62567d9eb960D84b72663FdaeBE0BCdE2683",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x8d53771b1Ec7461f8e45Bca2609c45bC0bbd0677",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xEe48963C003e21EaCEdFA8a0A19BB3cbF7E776Fe",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x905CADB645684140E285e2D09D39dF5a2082BC87",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x2e2acb1782Aad0490f8446b6fD4626C467987bD6",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xFaED7314060FCEc652ED91D9eac6c980DCA9D3B8",original:"Ethereum"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x72878E7d3A8746e0c91b9F16F0b8ee4fDE9DDc06",original:"Arbitrum"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0xe304254de5c2048F9bFb042dDFB54f84d1d77730",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x985aa4814419ba338379A634785216301e51113D",original:"Solana"}]]],["Moonbeam",[["WETH",{symbol:"WETH",decimals:18,address:"0xab3f0245B83feB11d15AAffeFD7AD465a59817eD",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x931715FEE2d06333043d11F658C8CE934aC61D0c",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0xE57eBd2d67B462E9926e04a8e33f01cD0D64346D",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xc30E9cA94CF52f3Bf5692aaCF81353a27052c46f",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x06e605775296e851FF43b4dAa541Bb0984E9D6fD",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:18,address:"0xa2284e1F98E4d0B7Eb6a6b4f3C57f1b209C755F3",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x82DbDa803bb52434B1f4F41A6F0Acb1242A7dFa3",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0x4415BfBDee669446550d55c749007EF60B520FC8",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xE3b841C3f96e647E6dc01b468d6D0AD3562a9eeb",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x7f433E22366E03a3758CE22cCf82887d828078f8",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0xd4937A95BeC789CC1AE1640714C61c160279B22F",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xd4918c40cA9f02d42Cb53d06587aF42017Bc345D",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x609AedD990bf45926bca9E4eE988b4Fb98587D3A",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0xc1a792041985F65c17Eb65E66E254DC879CF380b",original:"Celo"}],["GLMR",{symbol:"GLMR",decimals:18,address:"native",wrappedKey:"WGLMR"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xAcc15dC74880C9944775448304B263D191c6077F"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x99Fec54a5Ad36D50A4Bba3a41CAB983a5BB86A7d",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x098d6eE48341D6a0a0A72dE5baaF80A10E0F6082",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x484eCCE6775143D3335Ed2C7bCB22151C53B9F49",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x25331575641d35D9765e1934acC8F0991c58e904",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x18872b45c603eD2EbC508b9C5514a85c2e2791FB",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xd4870F7F5AD8Ae5139E1a5D8AD4ac55204aE4490",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x7143e8EA96e158381057a58AfdDF44601c7e532C",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x6C6f83366A42fcA4D30a2D3f1914284de995Ac3a",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xE6d02a875CcC153c076fe418f33De3A5C420f505",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xeCd65E4B89495Ae63b4f11cA872a23680A7c419c",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0xf0a9476E4712123A807859f9Fd25fe98213379BD",original:"Klaytn"}]]],["Solana",[["WETH",{symbol:"WETH",decimals:8,address:"7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"A9mUU4qviSctJVPJdBJWkb28deg915LYJKrzQ19ji3FM",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"Dn4noZ5jgGfkntzcQSUZ8czkreiZ1ForXYoV2H8Dm7S1",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"EjmyN6qEC1Tf1JxiG1ae7UTJhUxSwk1TCWNWqxWV4J6o",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:8,address:"33fsBLA8djQm82RpHmE3SuVrPGtZBWNYExsEUeKX1HXX",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"Gz7VkD4MacbEB6yC5XD3HcumEiYx2EtDYYrfikGsvopG",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"9gP2kCy3wA1ctvYWQk75guqXuHfrEomqydHLtcTCqiLa",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:8,address:"FCqfQSujuPxy6V42UvafBhsysWtEq1vhjfMN1PUbgaxA",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"KgV1GvrHQmRBY8sHQQeUKwTm2r2h8t4C8qt12Cw1HVE",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"FHfba3ov5P3RjaiLVgh8FTv4oirxQDoVXuoUUDvHuXax",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"DRQBDBEWmwWGK13fRTLhSPzjbvMSUavhV6nW4RUH8W6T",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"9kvAcwQbqejuJMd59mKuw2bfSsLRaQ7zuvaTVHEeBBec",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"7ixSaXGsHAFy34wogPk2YXiUX3BMmQMFdercdaHLnBby",original:"Moonbeam"}],["SOL",{symbol:"SOL",decimals:9,address:"native",wrappedKey:"WSOL"}],["WSOL",{symbol:"WSOL",decimals:9,address:"So11111111111111111111111111111111111111112"}],["USDCsol",{symbol:"USDC",decimals:6,address:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}],["SUI",{symbol:"SUI",decimals:8,address:"G1vJEgzepqhnVu35BN4jrkv3wVwkujYWFFCxhbEZ1CZr",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"6LNeTYMqtNm1pBFN8PfhQaoLyegAH8GD32WmHU9erXKN",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"CSD6JQMvLi46psjHdpfFdr826mF336pEVMJgjwcoS1m4",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"CR4xnGrhsu1fWNPoX4KbTUUtqGMF3mzRLfj4S6YEs1Yo",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"8M6d63oL7dvMZ1gNbgGe3h8afMSWJEKEhtPTFM2u8h3c",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"DWXe1hxpnb8LAH21iyXcjvMbiAGzoYyuCVQtRLvZdLYd",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"EfqRM8ZGWhDTKJ7BHmFvNagKVu3AxQRDQs8WMMaoBCu6",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"25rXTx9zDZcHyTav5sRqM6YBvTGu9pPH9yv83uAEqbgG",original:"Ethereum"}],["tBTCsol",{symbol:"tBTC",decimals:8,address:"6DNSN2BJsaPFdFFc1zP37kkeNe4Usc1Sqkzr9C9vPWcU"}],["wstETH",{symbol:"wstETH",decimals:8,address:"ZScHuTtqZukUrtZS43teTKGs2VqkKL8k4QCouR2n6Uo",original:"Ethereum"}],["PYTH",{symbol:"PYTH",decimals:6,address:"HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3"}]]],["Sui",[["WETH",{symbol:"WETH",decimals:8,address:"0xaf8cd5edc19c4512f4259f0bee101a40d41ebed738ade5874359610ef8eeced5::coin::COIN",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x27792d9fed7f9844eb4839566001bb6f6cb4804f66aa2da6fe1ee242d896881::coin::COIN",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xc060006111016b8a020ad5b33834984a437aaa7d3c74c18e09a95d48aceab08c::coin::COIN",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"0xdbe380b13a6d0f5cdedd58de8f04625263f113b3f9db32b3e1983f49e2841676::coin::COIN",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0x5c8c9082401982e8c2519a5c12883a5475295bf5cec4a0a13c26d35dd9a20d73::coin::COIN",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"0xb848cce11ef3a8f62eccea6eb5b35a12c4c2b1ee1af7755d02d7bd6218e8226f::coin::COIN",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:8,address:"0x909cba62ce96d54de25bec9502de5ca7b4f28901747bbf96b76c2e63ec5f1cba::coin::COIN",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"0x1e8b532cca6569cab9f9b9ebc73f8c13885012ade714729aa3b450e0339ac766::coin::COIN",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xe596782fbaebef51ae99ffac8731aed98a80642b9dc193ed659c97fbc2cc0f84::coin::COIN",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"0x6081300950a4f1e2081580e919c210436a1bed49080502834950d31ee55a2396::coin::COIN",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"0xa198f3be41cda8c07b3bf3fee02263526e535d682499806979a111e88a5a8d0f::coin::COIN",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"0x66f87084e49c38f76502d17f87d17f943f183bb94117561eb573e075fdc5ff75::coin::COIN",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"0xb7844e289a8410e50fb3ca48d69eb9cf29e27d223ef90353fe1bd8e27ff8f3f8::coin::COIN",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0xb231fcda8bbddb31f2ef02e6161444aec64a514e2c89279584ac9806ce9cf037::coin::COIN",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x2::sui::SUI"}],["APT",{symbol:"APT",decimals:8,address:"0x3a5143bb1196e3bcdfab6203d1683ae29edd26294fc8bfeafe4aaa9d2704df37::coin::COIN",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"0x33744e7df340a4d01c23f6b18c13563f767545ea95f976f8045f056358419da3::coin::COIN",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xc3f8927de33d3deb52c282a836082a413bc73c6ee0bd4d7ec7e3b6b4c28e9abf::coin::COIN",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"0xaab14ec22908de73d1b0619f5e03842398f8e68262981bd35ef44b42d22b23a::coin::COIN",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x6037801f060f0f54b3817bca05e3c8b9b9ffaa2da8e93fd5b80fa662aa3c9e55::coin::COIN",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"0xaecbc804fa7ca7cffc74c9a05eb6ae86fda0c68375b5c1724204a1065bcb239a::coin::COIN",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x7e3e74afcc1913aa9491c8cee89b02131a6e5519b090f16b54321835c1241cfb::coin::COIN",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"0xbc3a676894871284b3ccfb2eec66f428612000e2a6e6d23f592ce8833c27c973::coin::COIN",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:8,address:"0xa5ec915864d7f37b25ca9144b2db6ebcf29e73603c2ccf9d0e765adcd9049a98::coin::COIN",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x9c6d76eb273e6b5ba2ec8d708b7fa336a5531f6be59f326b5be8d4d8b12348a4::coin::COIN",original:"Solana"}]]],["Aptos",[["WETH",{symbol:"WETH",decimals:8,address:"0xcc8a89c8dce9693d354449f1f73e60e14e347417854f029db5bc8e7454008abb::coin::T",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x5e156f1207d0ebfa19a9eeff00d62a282278fb8719f4fab3a586a0a2c0fffbea::coin::T",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0xae478ff7d83ed072dbc5e264250e67ef58f57c99d89b447efd8a0a2e8b2be76e::coin::T",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xa2eda21a58856fda86451436513b867c97eecb4ba099da5775520e0f7492e852::coin::T",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"0x407a220699982ebb514568d007938d2447d33667e4418372ffec1ddb24491b6c::coin::T",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:8,address:"0x77400d2f56a01bad2d7c8c6fa282f62647ce3c03f43f2a8742e47ea01a91e24a::coin::T",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"0x6781088e2a1629d38eda521467af4a8ca7bfa7e5516338017940389595c85c0f::coin::T",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0xc5fd7820e9f053e6dd8e7dd8ca3ce8e9b10d200ba1692bdeb7a035217180ad4a::coin::T",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"0x6312bc0a484bc4e37013befc9949df2d7c8a78e01c6fe14a34018449d136ba86::coin::T",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:8,address:"0x79a6ed7a0607fdad2d18d67d1a0e552d4b09ebce5951f1e5c851732c02437595::coin::T",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"0x5b1bbc25524d41b17a95dac402cf2f584f56400bf5cc06b53c36b331b1ec6e8f::coin::T",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x39d84c2af3b0c9895b45d4da098049e382c451ba63bec0ce0396ff7af4bb5dff::coin::T",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"0xd1aa2ff36a0e93e1b4e4fecdecf8bb95bc5de399061c5e84b515281f48718842::coin::T",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"0xac0c3c35d50f6ef00e3b4db6998732fe9ed6331384925fe8ec95fcd7745a9112::coin::T",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"0x7ab1283a7b13c4254d4e1f803d7ce6578442c1d7a40d0faee41cd48ba4884c8a::coin::T",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"0xdd89c0e695df0692205912fb69fc290418bed0dbe6e4573d744a6d5e6bab6c13::coin::T",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0xc91d826e29a3183eb3b6f6aa3a722089fdffb8e9642b94c5fcd4c48d035c0080::coin::T",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"0xa72a97e872be9ee3d2f14d56fd511eb7e4a53f4055be3a267d8602e7685b41c0::coin::T",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x1::aptos_coin::AptosCoin"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"0x0e977796d7bfb3263609b90dffd264c7bd078ce35dac42b55302858d9fa3452b::coin::T",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xca3a2c28bc8c6c762f752dd2a4ebbfd00356ca99977ce6636e3af5897124a87a::coin::T",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"0x6a7a7f36ef5e2d0e65fcf72669c20d514d68298b0f76c7554517208f73260aaf::coin::T",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x4f6ecb05a797902d472abc2f5804bde93a53d8b75f14f767824cdb1623a4ee83::coin::T",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"0x5b5f14781164cf77185a7b6acd8e4f3cbb7e7cfb1cd5760d2b8af81075fc153d::coin::T",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xfcc4fcd734d5b8578fb629d238d15264a49eca6165c7444c21feec3b4962eb88::coin::T",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"0x9d5a0f8215301fa8096df332b1533f6328f18c32fbac2a7089cfbea73b3068a7::coin::T",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:8,address:"0x539b652f8230a0e42adaeda4706b5639893d22362eda6ea897493c210cb48219::coin::T",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x770211b47954e15bec1a4271bf33bacebc2d2adb43b7dc1ca45efa787615dd4c::coin::T",original:"Solana"}]]],["Base",[["WETH",{symbol:"WETH",decimals:18,address:"0x71b35ECb35104773537f849FBC353F81303A5860",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xec267C53f53807c2337C257f8AC3Fc3cC07cc0ed",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0xE6396f780b543dF16ee3b784D789c75B68319db0",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xFf0C62A4979400841eFaA6faADb07Ac7d5C98b27",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x617Edadb51BfB43A44Bb91C7402129C23bA52381",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0xc863399E5c5C4011B1DC3fB602902C77BA72B709",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0xFe1579BAc60363c8572CB30Bf4DD1Fd85811BBF8",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x7fdAa50d7399ac436943028edA6ed9a1BD89509f",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x68E2b07F92ed506f92935d7359ECA84D5342dbb4",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0xc449A60A31E1eebFE83c42E9465fd4Dc318aE9a7",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xD83385fE100E20c269a5975D4Bf92525BcE09F87",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x936Fa2DE8380Dc5BF34C80F1BaD53a9f3630263B",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x74df3823aA29D278cAD0A3632fCB56C896a38eD4",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xfdB7311BeC3b2CcCF8407d0585f81B97b3b5eff1",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x1C61629598e4a901136a81BC138E5828dc150d67",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0xe8CE40EBBB844142400D21558a2F1c9683d69139",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x36c6FBF7B49bF65f5F82b674af219C05b2a4aDD1",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x1d36126289Be1658297A35CC3EB2BB80A7D7A04b",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x9D36e0edb8BBaBeec5edE8a218dc2B9a6Fce494F",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xb96B82Cd6D45d98Fb6897D16A5E4EE888329C513",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xCb725aC8d9985D3bE306Dd9e1517d3702929176c",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xc6bfBeb3002aD563D2d1f72614C61C83Bf147Acd",original:"Optimism"}],["ETHbase",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHbase"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x4200000000000000000000000000000000000006"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}],["wstETHbase",{symbol:"wstETH",decimals:18,address:"0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x9EE95E6Bd1B3C5740F105d6fb06b8BDeF64Eec70",original:"Ethereum"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x56D0873e0eCA4a56063e1BF945788365666CFBFC",original:"Arbitrum"}],["tBTCbase",{symbol:"tBTC",decimals:18,address:"0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0xEd4e2FD35161c3c0e33cA187fce64C70d44Ce32b",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x41c433c146c47Dc53FC48cDc69e406e365e298E1",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x4c5d8A75F3762c1561D96f177694f67378705E98",original:"Solana"}],["USDTbase",{symbol:"USDT",decimals:6,address:"0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2"}]]],["Arbitrum",[["WETH",{symbol:"WETH",decimals:18,address:"0xD8369C2EDA18dD6518eABb1F85BD60606dEb39Ec",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xC96F2715E2a242d50D1b0bC923dbe1740b8eCf18",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0x397846a8078d4845c7f5c6Ca76aeBbcFDc044fAe",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xE4728F3E48E94C6DA2B53610E677cc241DAFB134",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x5c4f2FEFB97F7DF09E762d95C83f0Ccf8bCe8234",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x3ab0E28C3F56616aD7061b4db38aE337E3809AEA",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0x599ADB10E6A012dF34935D47407450f6D7170e3C",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x7AF00405916D823eDb1121546EfA6F4972B51b84",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x1a0590F951bc9C3818Ce75ba5Bbe92831b2cf57e",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x565609fAF65B92F7be02468acF86f8979423e514",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x93e0FcbEd43CD6fC30DF00CcBD4669718dc74e77",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x7f7dcDb91930033a4Eb269196EBb6fd5f0644E4B",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x4E51aC49bC5e2d87e0EF713E9e5AB2D71EF4F336",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x944C5b67a03e6Cb93Ae1E4B70081f13b04CDB6Bd",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x2bcC6D6CdBbDC0a4071e48bb3B969b06B3330c07",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x3870546cfd600ba87e4180686d29dC993A45d3B7",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xCF79d86B8a830030aF6D835737d6eac3bE823fD7",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x4EdeF400eDe5309240814b5FC403F224504604e9",original:"Aptos"}],["ETHarbitrum",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHarbitrum"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x82af49447d8a07e3bd95bd0d56f35241523fbab1"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xB1fC645a86fB5085e12D8BDDb77702F728D2A26F",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x3A5C2Da9E30741cb59a5e9446A23A86886fC9DC2",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0xBAfbCB010D920e0Dab9DFdcF634De1B777028a85",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x8619F97D4d08382548F536E5CE1D3e0D9bA40326",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x57723abc582DBfE11Ea01f1A1f48aEE20bD65D73",original:"Ethereum"}],["tBTCpolygon",{symbol:"tBTC",decimals:18,address:"0x3bab04bDFd2Dc3640c2B9390A2Da05bC1192D482",original:"Polygon"}],["tBTCoptimism",{symbol:"tBTC",decimals:18,address:"0x2519010b6585247BcDC8BcDa5C8730Be754b8c76",original:"Optimism"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0xf2717122Dfdbe988ae811E7eFB157aAa07Ff9D0F",original:"Ethereum"}],["wstETHarbitrum",{symbol:"wstETH",decimals:18,address:"0x5979D7b546E38E414F7E9822514be443A4800529"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0xFA95f6c796E54F9C4a99392CAE84410a25794BB3",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0xE4D5c6aE46ADFAF04313081e8C0052A30b6Dd724",original:"Solana"}],["USDTarbitrum",{symbol:"USDT",decimals:6,address:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9"}]]],["Optimism",[["WETH",{symbol:"WETH",decimals:18,address:"0xb47bC3ed6D70F04fe759b2529c9bc7377889678f",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x711e53D031ea9B0bb0C24dD506df11b41AEA419e",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0xB214C19d81c99E75e84706a3aa0A757319023e26",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xf6B4185FCf8aF291c0E3927fbEab7046b4f6A8CA",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x098EA47D630b46df1E08e389e5e4466119c7dd30",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x8f02B6a32cebcAe44D2Fd17d87966f5B5dD14c6d",original:"Polygon"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0xbB1EaB9Eb8fDf65F0E291D013DA07B4b65a27a01",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x6A09fE65ACa27C12573F04aAFa290bD75497E1BC",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:18,address:"0x1C15057d1F3794C934a6cBC1f7EceE934050F219",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x8418C1d909842f458c9394886b83F19d62bF1A0D",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x355f0a8a7ecAeD971b8Fbd50994558291ff2413a",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x0b0ecbe5C3995541876d27633B63296570FB34Af",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x9b88D293b7a791E40d36A39765FFd5A1B9b5c349",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xbffD46DFDb8d3a02b8D2E0F864a2cD712090a4D3",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xba1Cf949c382A32a09A17B2AdF3587fc7fA664f1",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x6F974A6dfD5B166731704Be226795901c45Bb815",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x27A533e438892DA192725b4C9AcA51447F457212",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xC5B3AC2DF8D8D7AC851F763a5b3Ff23B4A696d59",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x825206E1D29456337769e6f1384101E997C6A732",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xa6252F56cc6eEA21165d56744C795F91c8a3Cf68",original:"Arbitrum"}],["ETHoptimism",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHoptimism"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x4200000000000000000000000000000000000006"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x0b2c639c533813f4aa9d7837caf62653d097ff85"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x3F369a664fa665e01e8EB9f20bFcE03A0CAb8971",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xb931c7BbD87A6e249EaA7355B13927F9c99Bce87",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xeC0a755664271b87002dDa33CA2484B24aF68912",original:"Ethereum"}],["tBTCpolygon",{symbol:"tBTC",decimals:18,address:"0xE4C32B9eA749fa0342B1C42C01E80028B97c3917",original:"Polygon"}],["tBTCoptimism",{symbol:"tBTC",decimals:18,address:"0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x2390a5131fcba6e47f702172cF4876589E4161c6",original:"Arbitrum"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0x855CFcEEe998c8ca34F9c914F584AbF72dC88B87",original:"Ethereum"}],["wstETHoptimism",{symbol:"wstETH",decimals:18,address:"0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0xbbeF8233a0d10EEAb84E913FaDB337ab9b62F683",original:"Klaytn"}],["PYTH",{symbol:"PYTH",decimals:6,address:"0x99C59ACeBFEF3BBFB7129DC90D1a11DB0E91187f",original:"Solana"}],["USDToptimism",{symbol:"USDT",decimals:6,address:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58"}]]],["Wormchain",[["WETH",{symbol:"WETH",decimals:8,address:"wormhole18csycs4vm6varkp00apuqlsm7v4twg8jsljk8wfdd7cghr7g4rtslwqndm",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"wormhole1utjx3594tlvfw4375esgu72wa4sdgf0q7x4ye27husf5kvuzp5rsr72gdq",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"wormhole1nz0r0au8aj6dc00wmm3ufy4g4k86rjzlr8wkf92cktdlps5lgfcqxnx9yk",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"wormhole1w27ekqvvtzfanfxnkw4jx2f8gdfeqwd3drkee3e64xat6phwjg0savgmhw",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"wormhole1chejx4qqtvwxy6684yrsmf6pylancxqhk3vsmtleg5ta3zrffljqfscg87",original:"Ethereum"}],["BUSD",{symbol:"BUSD",decimals:8,address:"wormhole1msyushf6d76u9wupuvm6jdvc0x4trmv5w5kxr0hyt7n9npp233usg7pkhm",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"wormhole1xmpenz0ykxfy8rxr3yc3d4dtqq4dpas4zz3xl6sh873us3vajlpszn4ph7",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"wormhole169nr66h9gcsfljvsnxnqfjakskcjt6ac8f58wqjuagu79m540teqfvaal4",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:8,address:"wormhole1g3acw7aumaj3r348cqn4kazrehlmn822w9p46sqwztnke27h3lysxj4ddr",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"wormhole1ml922hnp59jtq9a87arekvx60ezehwlg2v3j5pduplwkenfa68ksgmzxwr",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"wormhole1gwm6mrnse9atzf4mer4dnrz64mp6pa75wpsxywu8gymt9fwsk46sfr372u",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"wormhole1e0cwfmla7exa578xddl87paxexw9ymwrzysfjms8c2mstxjkldlqn45jqa",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"wormhole1kqey3a6k26kyensq7elcpx229tlj4d3qlshwhjq5xjm8dcdvu60qtef8k9",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"wormhole1gzuv84xrwwhxhf0f62av279vfyrfrm7x58fcnadlr5m90gnx223ses2st0",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"wormhole1wn625s4jcmvk0szpl85rj5azkfc6suyvf75q6vrddscjdphtve8sca0pvl",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"wormhole17fr8awnysyv3nt5je4strczdupssl8u9jqam890jfv72sh32yyqqhtg3ry",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"wormhole19hlynxzedrlqv99v6qscww7d3crhl86qtd0vprpltg5g9xx6jk9q6ya33y",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"wormhole1f9sxjn0qu8xylcpzlvnhrefnatndqxnrajfrnr5h97hegnmsdqhsh6juc0",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"wormhole18nlwscr7290j463vcptqlgqudycry2rdnw2ysltpc2nqefk3353s808rl9",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"wormhole1ev8rhdflmlq6de5g7ttj585fhuv3jfhnuhfzyh7qrswhzaq2tkqswxz6y3",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"wormhole1snw0qugpjcxwtxzzkqt5guwavq85eumxzeagql2u2m662xrtnjuqyj3pkj",original:"Optimism"}],["USDCbase",{symbol:"USDC",decimals:6,address:"wormhole1edkult6zudk6ld23fesjfrehux35q86engsq5jlycl0e4upkz8mqkgcprf",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"wormhole1nu9wf9dw384attnpu0pwfet5fajn05w2ex4r07mghvk3xcwrt2yq5uutp5",original:"Ethereum"}],["tBTCpolygon",{symbol:"tBTC",decimals:8,address:"wormhole1uj24zecnaxz7ftz0sh6dsayfene4w3yptwg0422kves9duel67vsr7hlyz",original:"Polygon"}],["tBTCarbitrum",{symbol:"tBTC",decimals:8,address:"wormhole1q8ynvqvtw49ln73mn70v4me4q03fvvmhkf2lh4ueam5w4362s2asjmvxtd",original:"Arbitrum"}],["wstETH",{symbol:"wstETH",decimals:8,address:"wormhole1gg6f95cymcfrfzhpek7cf5wl53t5kng52cd2m0krgdlu8k58vd8qezy8pt",original:"Ethereum"}],["WKLAY",{symbol:"WKLAY",decimals:8,address:"wormhole1kyy876kye7k79fuzat532yyqkrzhlr6l7hc7lfa2rk5tygzhy00qrhjgkc",original:"Klaytn"}]]],["Osmosis",[["WETH",{symbol:"WETH",decimals:8,address:"ibc/62F82550D0B96522361C89B0DA1119DE262FBDFB25E5502BC5101B5C0D0DBAAC",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"ibc/6B99DB46AA9FF47162148C1726866919E44A6A5E0274B90912FD17E19A337695",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"ibc/E4CD61E1FA3EB04EF1BF924D676AB9FD55E84A0DCF4E78C11CCA0E14E5B42672",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"ibc/2108F2D81CBE328F371AD0CEF56691B18A86E08C3651504E42487D9EE92DDE9C",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"ibc/898ACF6F5DEBF535103BBD52E3E5B70A311AD097B198A152483F69290B4210C0",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"ibc/03B6D1925A09B3033AA6FA8772202719ABDC51F8CC2A5C26D0A9B19832F2C023",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"ibc/5394BB30B3C9BD1EE84C9531E5094DDE2490964F518CBE8A4C91F748CE559AF5",original:"Bsc"}],["USDCbnb",{symbol:"USDC",decimals:8,address:"ibc/B28ACEF11D063FA8B1DA73C2F7DA3A1CFCCBC13E96B671698D4860E9367B55BB",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"ibc/22B44C7369EED16089B9840ADE399B80D9483B4E459E67643C96C681D7C463D0",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"ibc/0B3C3D06228578334B66B57FBFBA4033216CEB8119B27ACDEE18D92DA5B28D43",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"ibc/397DFE63D87F6940ECA583DFF5461E48BF0BA6554CBBE70278E307DDFDC8E9D5",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"ibc/83300733052AB5F6E0F0C221E24189B6DF26CC94C73D2F44627627F9DEF4A9C8",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"ibc/0F2941B0168D8DB77DA1B6A2D3A95EC04026D3C97FA3BFE8FD1D5D3F983AA518",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"ibc/1E43D59E565D41FB4E54CA639B838FFD5BCFC20003D330A56CB1396231AA1CBA",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"ibc/F08DE332018E8070CC4C68FE06E04E254F527556A614F5F8F9A68AF38D367E45",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"ibc/B1C287C2701774522570010EEBCD864BCB7AB714711B3AA218699FDD75E832F5",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"ibc/A4D176906C1646949574B48C1928D475F2DF56DE0AC04E1C99B08F90BC21ABDE",original:"Aptos"}],["USDCbase",{symbol:"USDC",decimals:6,address:"ibc/8AC0F990290BBEF3AEBFCBF70F902AD954781BB40D07EB76341272800D48D05F",original:"Base"}],["OSMO",{symbol:"OSMO",decimals:6,address:"uosmo"}],["tBTC",{symbol:"tBTC",decimals:8,address:"ibc/6207D35D2C08F2162575C3C4BFD524226E50639121A273045F1B393AF67DCEB3",original:"Ethereum"}],["wstETH",{symbol:"wstETH",decimals:8,address:"ibc/BF75AE1500CB7EC458E91A11731F1B6AC1F1FE1FA937A88564955ED6A83CA2FB",original:"Ethereum"}]]],["Evmos",[["WETH",{symbol:"WETH",decimals:8,address:"ibc/4442A8E0D487A49E76EA6606F5DADCF8D0DBDD8499112340C964970DB745EDA2",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"ibc/0C19171CDC59451F91D2749CDEA63355532DCD5D8904CCBAC4953290E16AB8FD",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"ibc/46C5DA1CB61C5BAA8730ABA467ADD58DE0333B075CACE28BC87E64AE8C9CA051",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"ibc/C9072A294F5649D64E87A6998DD750576881E454CACCDAF7376EFC0FA243808D",original:"Ethereum"}],["USDCbnb",{symbol:"USDC",decimals:8,address:"ibc/8E08C01546EF346F7E9A3600DDBC88943ADF3B20A67F1F2DD7B83D85613BCCAB",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"ibc/2EA2FE172078576E62DA20F14EEED12B26611D93150FE1D68E1AAE00479AC335",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"ibc/39913E647C3549D663B1ED7F0745E1779515170C5215B98B2C8410B4C073AD30",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"ibc/9EFE5F5D75A87197DD257BA7A96A3BCCEC9DB59D257C742FB5AA9D3DF612D476",original:"Fantom"}],["WSOL",{symbol:"WSOL",decimals:8,address:"ibc/4443218F584A7AB2DFBCF93872D6E5B6967A11C53515DDF45A2CF387C54BD73A",original:"Solana"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"ibc/9E2E7B4A53409267CD686F4EB67969C2602A0F5FF9BDB1082B00E71CC4815DDE",original:"Arbitrum"}],["EVMOS",{symbol:"EVMOS",decimals:18,address:"aevmos"}]]],["Kujira",[["WETH",{symbol:"WETH",decimals:8,address:"ibc/7D9D28CABB49A4BB1A50C3B7E4544BFDBC5DDFAEB84A7787755A34CE7196CE15",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"ibc/C5EADE2C526B9629D230AC02A97644984ACB7C2F9A6C85126D1025CB0DA42588",original:"Ethereum"}],["WBTC",{symbol:"WBTC",decimals:8,address:"ibc/B2C7F21B604E3974A7DA5DAA9395905F2F3C85392F8A221CFDF62E4A9F4E48E4",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"ibc/3CE8A3DE4AE5AE2B4B8C03B2B227CC284732EDC849E506615FF2AA3D8EB1BAFC",original:"Ethereum"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"ibc/28E7241F6508EB4692C721E91201377323796EF2758CCD83D220A40EAD32601E",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"ibc/F9F41DB8DA49EA6AB9EB4B2C9E0ECDC2502ABDA2FE728B85994BF31240CBC163",original:"Avalanche"}],["CELO",{symbol:"CELO",decimals:8,address:"ibc/4ACD155D71182398277CBD2C630A7C8C5F0F16FFF77965FDE4C845A4CDE2D60C",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"ibc/3D337ECC89A8421DD6F33C4B7DDE9D4A18D728A4A688BA30E41F466EC8DD3869",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"ibc/E5CA126979E2FFB4C70C072F8094D07ECF27773B37623AD2BF7582AD0726F0F3",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"ibc/EBA52E7239CC1BC7F8ECF4F41523B6DD477FF067FD953315704A9A4FD2131B48",original:"Sui"}],["KUJI",{symbol:"KUJI",decimals:6,address:"ukuji"}]]],["Klaytn",[["KLAY",{symbol:"KLAY",decimals:18,address:"native",wrappedKey:"WKLAY"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0xe4f05A66Ec68B54A58B17c22107b02e0232cC817"}]]]],vE=$t(oee,[0,[1,2]]),cee=[["Ethereum",[["ETH",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETH"}],["WETH",{symbol:"WETH",decimals:18,address:"0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x07865c6e87b9f70255377e024ace6630c1eaa37f"}],["WBTC",{symbol:"WBTC",decimals:8,address:"0xC04B0d3107736C32e19F1c62b2aF67BE61d63a05"}],["USDT",{symbol:"USDT",decimals:6,address:"0xC2C527C0CACF457746Bd31B2a698Fe89de2b6d49"}],["DAI",{symbol:"DAI",decimals:18,address:"0x11fE4B6AE13d2a6055C8D9cF65c55bac32B5d844"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x7cd0e8ff09cEB653813bD3d63d0554c1CB4BFdf6",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xB19693FEB013Bab65866dE0a845a9511064230cE",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x4C1b727f6df3B075E682C41a25687A69846aaC04",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xF6699D3f725C4b64Cc6010F2DF77B4B05C76Cd5C",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x0d7A9Cdbb7C21E64825cF81750A5081a32aFb5d4",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0xe092525a787CD56B901279b5864a224c22B95B72",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x0dc83BB61008A5E1194fe50fA9E474713C1AEcD7",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x494701CE895389d917a938f0ea202D4eB9684Eab",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x70F7360C49D227ccBbb98fB7B69B7CDB651195bb",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xd7A89a8DD20Cb4F252c7FB96B6421b37d82cE506",original:"Aptos"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xd962F26D93c4eF609Ba00Ed6101326A1490B9489",original:"Arbitrum"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x76e39239e40857030D6f4D8545EFbd71F904d344",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x5aA392243437dDC8b4d86bfC90DF296908740A41",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x679874fBE6D4E7Cc54A59e315FF1eB266686a937"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x575D93A2278FbF4E8Bd3d51B539a6E237C3F17c5",original:"Arbitrum"}],["tBTCsol",{symbol:"tBTC",decimals:8,address:"0x57A52B6F0b393AF7d36116183cA83E584e636eA4",original:"Solana"}],["wstETH",{symbol:"wstETH",decimals:18,address:"0x6320cD32aA674d2898A68ec82e869385Fc5f7E2f"}],["SEI",{symbol:"SEI",decimals:6,address:"0xd68df72136207E9471C915cf1B6Cf43D587D4E0A",original:"Sei"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x327e0c7D5cFa65d4f9E358dC9fA4446C49dBcB6C",original:"Klaytn"}]]],["Polygon",[["WETH",{symbol:"WETH",decimals:18,address:"0xc6735cc74553Cc2caeB9F5e1Ea0A4dAe12ef4632",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x543237045a106D7fd2eE3e2B44b5728e70BDe9c3",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x02E30E84161BE1aBfcBB2b154B11De4C2b5E0a32",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x87374d35C5F1bD78c2b1da383F460e154e7D3E5e",original:"Ethereum"}],["MATIC",{symbol:"MATIC",decimals:18,address:"native",wrappedKey:"WMATIC"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889"}],["USDCpolygon",{symbol:"USDC",decimals:6,address:"0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x0C63D8ADB69204b2946DcB945a6f16d97C255eE2",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x51f3D34651523dD8CC4872ee261A1B0B3f73AceF",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xcc048C353Fdc2f5c378B7BCab9B240Ca2b619f1c",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x84aa9100a36D6c3514605F62342abF3cE77D5b97",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0xAd027790A64331A11bd1b651739450cC9Dc0098F",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x693b9AC2199d989bDA8C9C5b5d7A3680B4f40dAa",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x0284B4994456Fae4cb56E4d33228d51B674EAD1b",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x3dadA6f29f80A0427C4989E17a5a2ada17441841",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x226B436043B537BD158e84fA199E2Aa36bf364f8",original:"Aptos"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xC77d781f38Cf52F8Ea0b4c0F22312bB9A34911b5",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x68C4365d5229A44D9A59058B65500365492b5307",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xf6CC0Cc8D54a4b1A63a0E9745663e0c844Ee4D48",original:"Ethereum"}],["tBTCpolygon",{symbol:"tBTC",decimals:18,address:"0xBcD7917282E529BAA6f232DdDc75F3901245A492"}],["SEI",{symbol:"SEI",decimals:6,address:"0xc5C0229B38564E1E8083031405Be8d6E6e3Bc462",original:"Sei"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x7b34f3711705eB2963fB856cda063C979de4749e",original:"Klaytn"}]]],["Bsc",[["WETH",{symbol:"WETH",decimals:18,address:"0x064a85eac6b4Bd7190BCAd3458dBD9459989c37B",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x861B5C16A2EcED022241072A7beA9D530b99EB6f",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0xe94AaBAdB6F833f65B8A9AdDD030985B775188c9",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x45082C9Fc6BBCa72288F47Fad21dE0BECC75759E",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x7FCDA925f0994121752ca14C334297BeC3d0eA9E",original:"Polygon"}],["BNB",{symbol:"BNB",decimals:18,address:"native",wrappedKey:"WBNB"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x6cE9E2c8b59bbcf65dA375D3d8AB503c8524caf7",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x1cfeCf72bcBE1E429A21A5B11E708C7c397AaC54",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x9aB305B792DBdb8253bEE909E7006611Cb45175b",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x1471698cBD9cAB0228F2EEA9303A2b3aA0ABDC2B",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x5C31B36599ED7f06b09c0ffC7A2F928cE496F046",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x30f19eBba919954FDc020B8A20aEF13ab5e02Af0",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"0x51a3cc54eA30Da607974C5D07B8502599801AC08",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x5A73D76e09Af2E428EC64aE10F91B78AC990B298",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x4A7Bd5E135f421057F97BbA8BCeeE5c18334f454",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x60845E2503Fcd945b3A6f0bC077a31CC913E654D",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xe3aA397cb6d93Cce4fAd9Cc9E796CCa5E50FB5ED",original:"Arbitrum"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x63108fC941F3cCE0B484De19746B5Af949EAF6eE",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xE7176110261ef2FfC885dd568C1093f58F0aEee9",original:"Ethereum"}],["SEI",{symbol:"SEI",decimals:6,address:"0x79A8FFFCED130314eCC8782C846c4d8d4867A900",original:"Sei"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x79D34FDb686B5D139949E4F92D83EEe376489176",original:"Klaytn"}]]],["Avalanche",[["WETH",{symbol:"WETH",decimals:18,address:"0xbB5A2dC896Ec4E2fa77F40FA630582ed9c6D0172",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x63A30f239DC8d1c17Bf6653a68Fc6C2F83641E6d",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x3989C9c4bdd30400E6Aa90990683EAd6a1638A16",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x78554394273957d7e55afC841aeA27Cce469AEd4",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x10F1053bF2884b28ee0Bd7a2dDBa237Af3511d29",original:"Bsc"}],["AVAX",{symbol:"AVAX",decimals:18,address:"native",wrappedKey:"WAVAX"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0xd00ae08403B9bbb9124bB305C09058E32C39A48c"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x5425890298aed601595a70AB815c96711a31Bc65"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x094cB577C21Ab1360178beE74B9591fa12216dAD",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0xC66d9c2b33c347d4A4441975f4688fcD5DD4c441",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xf080782DF38eD5228D2FC2882d13D56c8f1D6f21",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xb10563644a6AB8948ee6d7f5b0a1fb15AaEa1E03",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xfc5128F8556a6F059466E67740e6cC31EE5C2C47",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x996a3f12C1FcD7339Ea8801f629201e4d42EAD04",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x36Bd1562F874941eE62Ebb2b3A45B4A88A9df90e",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x301587BF484756441de43E522027e3751871237B",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0xc07c754ef7473d315D973F7D9F7858C2eCe0a0a6",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x7E1779F65B644E5f98DdC4D2cB0A0106a7E6d9e1",original:"Ethereum"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x4beDc7471374d7479120E44ea9593eBB85f48AD9",original:"Arbitrum"}],["SEI",{symbol:"SEI",decimals:6,address:"0xfe2eCDD1708aaebf1cF802C6124fAFb18B22dfEE",original:"Sei"}]]],["Fantom",[["WETH",{symbol:"WETH",decimals:18,address:"0x758FEebDDeC06f4bCcEc8F756C8efBD35d5b7124",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xDF7928AF5B33F7de592594958D8d6Ff8472Eb407",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x32eF19C4b3DF65a24972A489e70AdDef5E54262C",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0xE4FE5DF2084f9D81595e4fcba2399020FBE7b233",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x47a4C4c0f96D6CBe5b5C0A46CB0E22d6A17F1430",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xfB174b43228950C2055CFc25AE93f2DCe8E2beF0",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x0f545Be981C37fB15ab7c65404648761e99016e4",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x6BC4E8D8c1d54656D1DeBCa96efc53aFd1408aD2",original:"Avalanche"}],["FTM",{symbol:"FTM",decimals:18,address:"native",wrappedKey:"WFTM"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xf1277d1Ed8AD466beddF92ef448A132661956621"}],["CELO",{symbol:"CELO",decimals:18,address:"0xB18E73a69c3Aaea39a610372537Cf8482622d199",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x41E3CFDFC255A4bF3C8D3560Bc8D3D9b5080338e",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xED1a08Fc69A7008d225890A96aaE258c465CC7ad",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xd882AB49372eC093E8697B5153f54ab5e7738e3b",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xAb2297E8994149BA91737944E40891881aF762a4",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x456e08952f9091B6c268dC0cECad53d141152C59",original:"Arbitrum"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0x685B29e17440c42758Ab3F80FD3603EF01bebe9A",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x01950A33DfFa63E6Bc23b5dB440505581A4cc0e7",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x66E080407407620844fE2083c33108BE55E087bc",original:"Ethereum"}],["SEI",{symbol:"SEI",decimals:6,address:"0x832e8050D6c64724500DE9B0ffe1CAc6c570a26d",original:"Sei"}]]],["Celo",[["WETH",{symbol:"WETH",decimals:18,address:"0x898471a82737dFFfB61915F9e8381e279076D72b",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xB0524bEF6c61c6150B340b2828a890fD8dEa60C0",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0xeBB3fF6E5d61d3793Fdb60f7942BA78E636019f6",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x7a56409988BBF8758b3ba412b9c7E3FE504C8544",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xa8050be9389466c3c524F10F131f244ACbf21A0D",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x502c8C83008D9Dd812a7C5fB886C063060C73Dbf",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xDDB349c976cA2C873644F21f594767Eb5390C831",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xE6F8710cA14CFe7F5aAAD3A799C3d1D92dCba938",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0xF194afDf50B03e69Bd7D057c1Aa9e10c9954E4C9"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x132D2172D89cd9CfD480A8887c6bF92360fB460e",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x05EEF2AE1A7A938D78598F7d9e8b97A9bED0c9eC",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xa40d9E69ca9867C4bFbeC11Ce79C939991e9bf26",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xAC0a2fF7DD597de863878a3372142b07B614C125",original:"Aptos"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0x0C4AbF95Ff3d82d1F02f55e65050eA5bA062606E",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x28E768a51D19dcB753a24B79D1e89c92fee094Ba",original:"Optimism"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x01a050Fc725F4E99aAD43Eb6f8481f38ee6231aD",original:"Ethereum"}],["SEI",{symbol:"SEI",decimals:6,address:"0x05Efb4aC79ef48a4830f517834c6f5f039F16832",original:"Sei"}]]],["Moonbeam",[["WETH",{symbol:"WETH",decimals:18,address:"0xd27d8883E31FAA11B2613b14BE83ad8951C8783C",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0xE5dE10C4b744bac6b783fAF8d9B9fDFF14Acc3c9",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x7f5Ca1bcFb38fDF4c0E0646FCbf3FA87740ff65D",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0xc31EC0108D8e886be58808B4C2C53f8365f1885D",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0xD2888f015BcB76CE3d27b6024cdEFA16836d0dbb",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x6097E80331B0c6aF4F74D7F2363E70Cb2Fd078A5",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x2E8afeCC19842229358f3650cc3F091908dcbaB4",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x6533CE14804D113b1F494dC56c5D60A43cb5C3b5",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x566c1cebc6A4AFa1C122E039C4BEBe77043148Ee",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x3406a9b09adf0cb36DC04c1523C4b294C6b79513",original:"Celo"}],["GLMR",{symbol:"GLMR",decimals:18,address:"native",wrappedKey:"WGLMR"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xD909178CC99d318e4D46e7E66a972955859670E1"}],["SUI",{symbol:"SUI",decimals:9,address:"0x2ed4B5B1071A3C676664E9085C0e3826542C1b27",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xCaa2A1d3BbbA0D1466571e83b4E2CbE04252593D",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x15025b956969DD8F1d0CD69959Ad97128F8f6D69",original:"Arbitrum"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xf98E630a3DD4F21Cab7a37Bb01209cb62959169D",original:"Optimism"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x7480641F5B00b4Fc39d6AaeC4Cd851EdEA7f31CF",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0xf82E21cE03471983Afb9c2E3789Aa13a2d7242E8",original:"Ethereum"}],["SEI",{symbol:"SEI",decimals:6,address:"0x1EdDe35B7e058194B457B8621285EaFA710f01ea",original:"Sei"}]]],["Solana",[["WETH",{symbol:"WETH",decimals:8,address:"7VPWjBhCXrpYYBiRKZh1ubh9tLZZNkZGp2ReRphEV4Mc",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"2BAqec7Qof3Y7VJatwFsRHUNSQBSkzaEsT1V5bW6dbZY",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"3WK3mEDNPrNuQReBvM28NcsqrExMnPxD9pPJmgrUeKKH",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"ACbmcQxbbhiXWM1GmapUSMmBYKMvnFLfAAXKqdo8xKwo",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"BaGfF51MQ3a61papTRDYaNefBgTQ9ywnVne5fCff4bxT",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"3Ftc5hTz9sG4huk79onufGiebJNDMZNL8HYgdMJ9E7JR",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"GQtMXZxnuacCFTXVeTvyHi6P9F6chbtzhVc8JgD8hv7c",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"DMw2tLaq1bVoAEKtkoUtieSk9bfCPUvubYLatTMsSVop",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"84F2QX9278ToDmA98u4A86xSV9hz1ovazr8zwGaX6qjS",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"8987WGkYa5viiZ9DD8sS3PB5XghKmWjkEgmzvwDuoAEc",original:"Moonbeam"}],["SOL",{symbol:"SOL",decimals:9,address:"native",wrappedKey:"WSOL"}],["WSOL",{symbol:"WSOL",decimals:9,address:"So11111111111111111111111111111111111111112"}],["USDCsol",{symbol:"USDC",decimals:6,address:"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU"}],["SUI",{symbol:"SUI",decimals:8,address:"BJZ72CjPQojVoH68mzrd4VQ4nr6KuhbAGnhZEZCujKxY",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"7EvFD3JKCJVdtkAYdaSVKJsrPEJCzy2neJha7TREGrCa",original:"Aptos"}],["WETHbase",{symbol:"WETH",decimals:8,address:"EKZqcBZ3Y7YTDinpecA7SxRp9B4s1m99VHJ9jpvyTwzW",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"FMYvcyMJJ22whB9m3T5g1oPKwM6jpLnFBXnrY6eXmCrp",original:"Ethereum"}],["tBTCoptimism",{symbol:"tBTC",decimals:8,address:"HsPvRT3J7kuitNvNHogyZeSEagcqAqwwq2FPgrGfgApy",original:"Optimism"}],["tBTCsol",{symbol:"tBTC",decimals:8,address:"6DNSN2BJsaPFdFFc1zP37kkeNe4Usc1Sqkzr9C9vPWcU"}],["SEI",{symbol:"SEI",decimals:6,address:"8LFdfuhbfdH8oBzSKDgfPAxvLW24dCM9ttjBrBobURuk",original:"Sei"}]]],["Sui",[["WETH",{symbol:"WETH",decimals:8,address:"0x72831f626b1f0e11be201893d5cb641917730b1ccac778e4a77f8ab2052f0784::coin::COIN",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x9e4396c19ec1c5f2214c79d3af3f31e59869640305560f8f2499c36fa9c8e0f2::coin::COIN",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"0xe6fc78aa2b52b785bdcb67901cd85793a0b593248f315cb755974d23d0fcb837::coin::COIN",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"0xa516bcbf83b29a2944bb53ec9f934ea7d78c3626d3ae411d2fb9dcb977522e67::coin::COIN",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"0xddcf8680a8a4b8a527d8c85ec203274991590c2ea898d1c4635b70164d9c584b::coin::COIN",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"0xa600741c469fb57ed01497ddf101e798fa79a9c529bd176675c5c4d970811f80::coin::COIN",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x2aa8c885d04e676c4e87b7d0f94d4f3b243b1b5d93239d1cc41d5528ce1714c1::coin::COIN",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"0x14e756ff65e0ac810a5f69ca5276ef5b899a6df3c4717de1f85559d8b5ae6ea6::coin::COIN",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"0x81868174a6b11e1acc337b3414f9912455435d486609fb8d50b34312865085f2::coin::COIN",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"0xeffae382de96981f7ddd2d294429924827e8f325d612487a12d6a0b249171002::coin::COIN",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"0xbc03aaab4c11eb84df8bf39fdc714fa5d5b65b16eb7d155e22c74a68c8d4e17f::coin::COIN",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0x2::sui::SUI"}],["APT",{symbol:"APT",decimals:8,address:"0x812d6feb8b84e55d47a0bfcae9fb6a4e7e09be5ec86ce0a729e0f67d5f59f477::coin::COIN",original:"Aptos"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xbbc39df58a11072ceeac1f685393ca912d1a1bfd6e772053ec5a544f36124da::coin::COIN",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"0x7b442b988864149dedfb9b6a75a88c7c33b9ddd3d15a87bf25104e1fcdd680ab::coin::COIN",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0x4125940814a0ca87465a1a59092a7344633ad03b48ad7cda36d799d8558012c1::coin::COIN",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"0xacf6784120b221a077ab0b84acc0b76930779eb55f157ea2492be4a60b808f6::coin::COIN",original:"Ethereum"}],["SEI",{symbol:"SEI",decimals:6,address:"0x22c5cdaabaae4b6d3351f9bba9511b0aebb0662a6c209a360f0776e1e77a8438::coin::COIN",original:"Sei"}]]],["Aptos",[["WETH",{symbol:"WETH",decimals:8,address:"0x381775005cb32cdd3dbf935ae1b978ed40d309c72b009cd4a812aab6d991418a::coin::T",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"0x5f229253e2b2d03fb909f565feca49452582bd633a5816e5ce30aa593cb49d8a::coin::T",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"0xa5894f5ddb8647e6143102aa336ff07374f7b32e88c1c703aef5b7c9a370bf80::coin::T",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"0xbe8f4301c0b54e870902b9a23eeb95ce74ac190531782aa3262337ceb145401a::coin::T",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x02ef7697bdb33361ca39d228671203afc0dea3202e792d79d2072b761d87c834::coin::T",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"0x533c6ade00d15d1e014c41e29e34853e87df92c4e01a6a3f41318dbd098048d6::coin::T",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"0xecbb0f7e7d049499ca83ca1358344f56557886f6f7adc740d6734cce7bfc9a14::coin::T",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"0x338373b6694f71dbeac5ca4a30503bf5f083888d71678aed31255de416be37c0::coin::T",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"0xdd89c0e695df0692205912fb69fc290418bed0dbe6e4573d744a6d5e6bab6c13::coin::T",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"0x7b22d0e02f653d4fd1caddcfa4719a2b329da56eb81d8f27db703f02466c26a5::coin::T",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0x1::aptos_coin::AptosCoin"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0x3f0fdd44d96dae888d6c576218cf655458316a27c7bdc46537f61e531b10d3df::coin::T",original:"Arbitrum"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xcff1d9820851201436ad225dcc4374a2d15f52a74109283eb9881be799677e92::coin::T",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"0x5b5f14781164cf77185a7b6acd8e4f3cbb7e7cfb1cd5760d2b8af81075fc153d::coin::T",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xcfaabb3cb08ad612905dd6b2593d044ce857dfe5360148333b4635fb57d4d13f::coin::T",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:8,address:"0x6e2d5d1a6d6d0e0c5db506ce64ead0530847a48b96516abbb08cdebe43fe3036::coin::T",original:"Ethereum"}],["SEI",{symbol:"SEI",decimals:6,address:"0xcae0ba0b7a435730ab65f1c8357d213e5cf9d4b377b96761745a8edaf9c9df6d::coin::T",original:"Sei"}]]],["Base",[["WETH",{symbol:"WETH",decimals:18,address:"0x44D627f900da8AdaC7561bD73aA745F132450798",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x5010B0988a035915C91a2a432085824FcB3D8d3f",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:18,address:"0x31B2BAEE47Dc5Fc06baEC1BF73C124031b44fB97",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0xFFB5d863d5132523d013338845A1Bb01EDd440f4",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0x9DeF11E63C23c71dE3716b81dD2Fdad2B24b8b7F",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x410B0EE532EFfB18fa4d90cc095B1CD58aC43d5a",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0x4C5208246676486064c501E1DAF2dD21596Bc5f5",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xB4808E58713112AbAbB8167C7187F8988df38bbD",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x72C56041ea5fe8bDE99b2A123fb5964cDE8C7FE9",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0xCEc03b5710a464F4354AF35ebD0310238F656DFf",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x6Fb1dE2372e48fe66c84cf37cc2fb54EaEe62988",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xEe0fC8BECD593B41AACBd93936fDAbc2A444370A",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xd934A15FfA3945DD0Ba2cb7b4174024261A14874",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0x8eD43aBdc4f836aa60933177B31AC358ea09f27E",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x5c443C05C72F0660502d88642c807020cc9b71A2",original:"Optimism"}],["ETHbase",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHbase"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x4200000000000000000000000000000000000006"}],["USDCbase",{symbol:"USDC",decimals:6,address:"0xf175520c52418dfe19c8098071a252da48cd1c19"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x0219441240d89fAc3fD708d06d8fD3A072C02FB6",original:"Ethereum"}],["tBTCbase",{symbol:"tBTC",decimals:18,address:"0x783349cd20f26CE12e747b1a17bC38D252c9e119"}],["tBTCsol",{symbol:"tBTC",decimals:8,address:"0x9dA16Ae62De05bcb4606c4BFbB54046872501Bd0",original:"Solana"}],["SEI",{symbol:"SEI",decimals:6,address:"0x7B5edB2B3d2BeA8057a736B82AC6EF35c70bdadD",original:"Sei"}]]],["Sei",[["WETH",{symbol:"WETH",decimals:8,address:"sei13pzlt9etk44hj22lckncvampq2qu2gxv6r6774f3hma4vc07wqgsmftjx7",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"sei1nj32y0h0vzam33ay42h2majlfk7tdkqcuk84srn0v2a52kmujgfsyfe78f",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"sei1dc94as3vgxn3qkr5h0lnnrep69mtfku6jg4t94gfkunuyzr5g5eqyqvj9p",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"sei10a7see3f9t2j9l8fdweur3aqy4zgvz583a268hhhln3yzps6l5mqnl4ua6",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"sei1mgpq67pj7p2acy5x7r5lz7fulxmuxr3uh5f0szyvqgvru3glufzsxk8tnx",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"sei1uyce5s6cc8hveg0maq2lg7wm6v6fvwqmznypj559nzf9wr9tmw3qnd3ce7",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"sei1cr3j7rxq0dhq04ksftmj8n2w096w9g7ck8fngkvk2lrmy3qwz56q9thu9u",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"sei1yw4wv2zqg9xkn67zvq3azye0t8h0x9kgyg3d53jym24gxt49vdyswk5upj",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"sei140m6xagmw0zesejzhsvk46zprgscr7tu94h36rwsutcsxcs4fmds9sevym",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"sei1at3xuugacwgu3ppx7fxzmtr3q6m3ztjuean9r2mwcnqupw28yezs7unxgz",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"sei1rhpcprr2pffe6ydf078a0qeslhnlywxh2t3wjax4489z0m29cj9swj5khc",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"sei1em74y5sts4h8y5zuhfdn4w5g8zs285qld3kczpk6rh32jpvjyqqsvv0pdt",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"sei1pf5j3dgngm8yj2xkwmvmvt87g4vyc0szpjz92q8ly9erh23ytn4s983htv",original:"Arbitrum"}],["WETHbase",{symbol:"WETH",decimals:8,address:"sei1kdqylzcv86t7slg8m30mlfgna9xsrusghdgnavvurkv0rku7jvqqta7lka",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"sei1lf6ghmrkd7gn5jlj6xw64suycpjy7g4s5q92fc2gef4f8q3znanq95mmgv",original:"Base"}],["tBTCsol",{symbol:"tBTC",decimals:8,address:"sei1aj3uu9ejt8fk6rpjfhzluqnzqmv3enlndjmt8llkr7dn2dtz55xst4s3mn",original:"Solana"}],["SEI",{symbol:"SEI",decimals:6,address:"usei"}]]],["Arbitrum",[["WETH",{symbol:"WETH",decimals:18,address:"0x285d75E04D78F53f4Ed29A506a7e8479EEf3035f",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x42A212A2E7eA8feF4ED28F439F16A6ABDd34DA35",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"0x2B732F5ad6117818Ad3b7aC73C16033F6ECD78E5",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x50FD4064cC536a964E2E0Dc7B3fE2313Ab386bEA",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:18,address:"0xB039aC4Fa8Ed99d30C2f7D791294A9d5FAd698eF",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:18,address:"0x92b0C4D27a05921Ded4BB117755990F567aEe049",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"0xb39697B8BA5df91A169690DfEf88B911436619F2",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0xa507f7566B8aDE000E886166B95964677ef3b3Ef",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:18,address:"0x9592eE6eD1D9E611b7aa6F20CCbD7Ba571Be8bdd",original:"Celo"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0xF8cbdc4E54281b801f182039c250Ad6d13818250",original:"Solana"}],["SUI",{symbol:"SUI",decimals:9,address:"0xe64e2139fdf6Ee7e3795FE51955e21bA3d9eB9F7",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"0xa81C3BEf2d6f10213b860458DC119666C0ba13bf",original:"Aptos"}],["ETHarbitrum",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHarbitrum"}],["WETHarbitrum",{symbol:"WETH",decimals:18,address:"0xee01c0cd76354c383b8c7b4e65ea88d00b06f36f"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"0xfd064A18f3BF249cf1f87FC203E90D8f650f2d63"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0xFd903eA23Bf65f26FdAf2eeb589cf007b108882E",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0xbC4CB3CD7186fD457C072298C48d0eDf7213CAEa",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x97B5fE27a82b2B187D9a19C5782d9eB93B82DaC3",original:"Ethereum"}],["tBTCarbitrum",{symbol:"tBTC",decimals:18,address:"0x85727F4725A4B2834e00Db1AA8e1b843a188162F"}],["tBTCsol",{symbol:"tBTC",decimals:8,address:"0x227115F659f7c2939D23FedE68583F5291c395A6",original:"Solana"}],["SEI",{symbol:"SEI",decimals:6,address:"0x90eC817A1f7C1Eb18dD2985C534A78dD88747F47",original:"Sei"}]]],["Optimism",[["WETH",{symbol:"WETH",decimals:18,address:"0x33Db338718aC89Cd8DB13B56af05be3a3029BBE5",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"0x0382F518AcE1a86224c78B7CDfa67B9774055A1b",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:18,address:"0x427B5a0b0384D7FD3AF81805A166a2d9C1116D7d",original:"Polygon"}],["WFTM",{symbol:"WFTM",decimals:18,address:"0x81BA80f5820273AA965086e710042d737993f12c",original:"Fantom"}],["WGLMR",{symbol:"WGLMR",decimals:18,address:"0x99436d62259532E0407A7aE78A3b48D119B13903",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:9,address:"0x06EcAF6638070Ccf3b3dEA421b3becAA57f3e559",original:"Solana"}],["ETHoptimism",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHoptimism"}],["WETHoptimism",{symbol:"WETH",decimals:18,address:"0x4200000000000000000000000000000000000006"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"0xe05606174bac4A6364B31bd0eCA4bf4dD368f8C6"}],["WETHbase",{symbol:"WETH",decimals:18,address:"0x04b559971c90Dfb12D9795E95883e55f2fcf34Ed",original:"Base"}],["tBTC",{symbol:"tBTC",decimals:18,address:"0x5D89a5BcB86F15a2CCAb05e7E3bEE23fDF246a64",original:"Ethereum"}],["tBTCpolygon",{symbol:"tBTC",decimals:18,address:"0xE04e0F5f2C6ce45A40482C3AB92CA91D6741D717",original:"Polygon"}],["tBTCoptimism",{symbol:"tBTC",decimals:18,address:"0x1a53759DE2eADf73bd0b05c07a4F1F5B7912dA3d"}],["SEI",{symbol:"SEI",decimals:6,address:"0xE12be3D96fE101246bF2d290184B0eC6D35d02CA",original:"Sei"}]]],["Wormchain",[["WETH",{symbol:"WETH",decimals:8,address:"wormhole1vguuxez2h5ekltfj9gjd62fs5k4rl2zy5hfrncasykzw08rezpfs63pmq2",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"wormhole1rl8su3hadqqq2v86lscpuklsh2mh84cxqvjdew4jt9yd07dzekyqkmcy3p",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"wormhole1v2efcqkp2qtev06t0ksjnx6trxdd0f7fxg2zdrtzr8cr9wdpjkyqkv9ch6",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"wormhole1uuwad4khwek2h05gmkktzmh8l4t0ep54yydlsqg0l4y2uh3tqfyq3an9k6",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"wormhole1vhjnzk9ly03dugffvzfcwgry4dgc8x0sv0nqqtfxj3ajn7rn5ghq6whn2p",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"wormhole1335rlmhujm0gj5e9gh7at9jpqvqckz0mpe4v284ar4lw5mlkryzsnetfsj",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"wormhole1tqwwyth34550lg2437m05mjnjp8w7h5ka7m70jtzpxn4uh2ktsmq8dv649",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"wormhole1qum2tr7hh4y7ruzew68c64myjec0dq2s2njf6waja5t0w879lutqv2exs9",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"wormhole1808lz8dp2c39vhm9gnemt7zzj95nvrmjepxp7v3w4skzrlyzcmnsxkduxf",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"wormhole1e8z2wjelypwxw5sey62jvwjyup88w55q3h6m0x8jtwjf6sx5c7ys4mzydk",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"wormhole10sfpr8ykh9xn93u8xec4ed3990nmvh86e0vaegkauqhlkxspysyqwavrxx",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"wormhole1gryz69gzl6mz2m66a4twg922jtlc47nlx73sxv88lvq86du5zvyqz3mt23",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"wormhole1ced9v4plkf25q8c6k9gz0guq6l4xyjujpjlvxfg8lpaqywkmamashswq7p",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"wormhole1yf4p93xu68j5fseupm4laj4k6f60gy7ynx6r5vvyr9c0hl3uy8vqpqd6h0",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"wormhole1u8rft0gee23fa6a0t4t88ualrza5lj8ses4aur0l66c7efpvjezqchv34j",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"wormhole186k0cp83c3wyvapgh8fxf66ededemzrfujvjfsx0xw3vr0u9g8sq2y30vx",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"wormhole1s3pk90ccfl6ueehnj8s9pdgyjjlspmr3m5rv46arjh5v4g08dd0qrchjrk",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"wormhole12eu6c7f67l8gdl2lt0hz0dgdh24dhune6wjgy5t0es3tpfzhc3yspwnpfy",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"wormhole1u5z7097gm57zvun9wqsx6jxej2gpdjhg9l9xfe58rhpm29rtjmfqfnl4yv",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"wormhole10p89p4zh00dwdg8h52sysrqm0l2j47jj3kmg93pnz2a039ucw7esgl5vl9",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"wormhole1ja4txt6m0jjq0gmjtmv442f8wk0r5f5apaya0z55wwlrpg3p5xaq3qxw7h",original:"Base"}],["tBTCarbitrum",{symbol:"tBTC",decimals:8,address:"wormhole1rm8ztmk20lrd6ex8uqq3yu7a6eyfjwvg53pcuuj22ffe2y8r3yzqr8j4v9",original:"Arbitrum"}],["wstETH",{symbol:"wstETH",decimals:8,address:"wormhole1u2zdjcczjrenwmf57fmrpensk4the84azdm05m3unm387rm8asdsxqwfeu",original:"Ethereum"}]]],["Osmosis",[["WETH",{symbol:"WETH",decimals:8,address:"ibc/A4A8B6AE885DACD75B228031C0D18AD7EE1B914CED30C9F6F4230DDBD4A1CF2B",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"ibc/3BB8C4BD1C90599B2FA5B5839DD0813EF7B94B0BD0904C4C5A61498AE81E0EE9",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"ibc/1941ED1147121BA7DF35559597B6EB3251844DBBBE4557337D957CB95E0978C2",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"ibc/2864B3418775DDB90EE1410EFF822FDA94E9F0FF77FC8771644761C79EDFE7A3",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"ibc/43F15553F8598186394E81E18604B8B4532B2D7E855D9FFE68A2EF6802C18BE4",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"ibc/65A67BA10DE2378B32AC5A822321E370966D3D4E180DEFB4C3C5245B21088DDF",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"ibc/99EAD53D49EC7CC4E2E2EB26C22CF81C16727DF0C4BF7F7ACBF0D22D910DB5DE",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"ibc/EC9FA5074F34F0644A025BB0263FDAE8F364C5E08523F6464465EF1010FF5A3A",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"ibc/145C6B688F70B0C2F6D87546A5974A75CE75B3A2940275B750E65797B2996157",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"ibc/3A4EA3F8096856C0802F86B218DD74213B4C10224AA44BBD54AEAAA2ABF078BA",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"ibc/7DB06BB67428510AFC3967DC90F5632C679D55D8C487A951A0EEC3160AF492A6",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"ibc/B5D53105A7AA2BEC4DA4B3304228F3856219AE7CF84A9023043C481629E3E319",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"ibc/35A0467DE5744662078DE8B36CBBE0CF0EAA022565A3E6630CB375DDEBB96E05",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"ibc/30778BA41ADF2D8A70B90DB53C2E0251731A40276EF6737215BB1A6ED9E90078",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"ibc/7C495BD95757ED662A897C139F1C9F18275A86EE7203A0B073E2DB12B1E19D63",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"ibc/221A4AADF7972F3BB8F48A6CA984FF0AE65B5D973FF1A695B9642AD702F51789",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"ibc/06ED2700071B5A9C582F51A556537DA94E69EF547E7E6CCD8BFA3D95C818A525",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"ibc/80B3FECB24A4CE94537444E5BF937AC4C08A39BF90D59620D278FA185BD2B148",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"ibc/0A98A3947189D7C368170C76C3EF49486DDBE095F34B72A3C7F92AEBE1013A1D",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"ibc/A45069EA82C933945973E66E4222EEE4624498D4483508FE9BEBF9D519F2132F",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"ibc/2E4F8BC7F7AF33752CF7E290CAD4417EE67CD18FFC0D099E6519A440E588E0CE",original:"Base"}],["OSMO",{symbol:"OSMO",decimals:6,address:"uosmo"}],["wstETH",{symbol:"wstETH",decimals:8,address:"ibc/C66B7DB3ED665D2F5FE8ED15E88B5913A37D80601E161C5E53A743DE12C0FB85",original:"Ethereum"}]]],["Cosmoshub",[["WETH",{symbol:"WETH",decimals:8,address:"ibc/77FE9153FA76C3107CB9F6633AC33509A58529E9622327F216BA8107C79C2DE3",original:"Ethereum"}],["USDCeth",{symbol:"USDC",decimals:6,address:"ibc/D0EC31D1176BB69EA1A7CF7172CA0380B7AF488AFC6D55B101B8363C2141CD4F",original:"Ethereum"}],["USDT",{symbol:"USDT",decimals:6,address:"ibc/755FBC53FFB46FB505B5269F9BEDF47041F2A0EF2FF8D0520315403E5925C80A",original:"Ethereum"}],["DAI",{symbol:"DAI",decimals:8,address:"ibc/5F21E975410DA22AF565B1772DC45AD0BD5F6DA004981EBE291763F3D2C72A96",original:"Ethereum"}],["WMATIC",{symbol:"WMATIC",decimals:8,address:"ibc/37FB599287C6963C413E915FDE83EFA69A3CE8147675DD5A7F974B45F39C8A31",original:"Polygon"}],["WBNB",{symbol:"WBNB",decimals:8,address:"ibc/5B0D5974A56332468DD4B2D07C96A7386FCF8FE7303FF41234F90E410EF51937",original:"Bsc"}],["WAVAX",{symbol:"WAVAX",decimals:8,address:"ibc/BAEAC83736444C09656FBE666FB625974FCCDEE566EB700EBFD2642C5F6CF13A",original:"Avalanche"}],["USDCavax",{symbol:"USDC",decimals:6,address:"ibc/F09E98FA8682FF39130F171E9D89A948B0C3A452F2A31F22B6CC54A3AAE1CD4A",original:"Avalanche"}],["WFTM",{symbol:"WFTM",decimals:8,address:"ibc/919D8F138B7E71BB067C7301AB5C2D48415E8C3A2D9187861245CEC668F88E3C",original:"Fantom"}],["CELO",{symbol:"CELO",decimals:8,address:"ibc/009206915358A002C852A2A2CBEDB8446D2D02E519C815087A01F8BDB4DF77BA",original:"Celo"}],["WGLMR",{symbol:"WGLMR",decimals:8,address:"ibc/1EEDF447A6B046B20C00B1497BED5947219AEEBE0D9A85235C85133A554DF7A4",original:"Moonbeam"}],["WSOL",{symbol:"WSOL",decimals:8,address:"ibc/D3EA463A51E31B2B30BED1978575CAC145DBAB354B8A0EA5D4CFB12D737AF790",original:"Solana"}],["USDCsol",{symbol:"USDC",decimals:6,address:"ibc/26D8D6C63C8D37A5127591DDA905E04CC69CBD3A64F9DA3B1DA3FB0B6A7D9FA5",original:"Solana"}],["SUI",{symbol:"SUI",decimals:8,address:"ibc/129EC6B8A41BE07F94DD267F552F4AE1D5EAEBB51634A1468556AF06C10C2692",original:"Sui"}],["APT",{symbol:"APT",decimals:8,address:"ibc/0CCA5EB15BC2FE474E71DBC9698302CDE260B6F6548F91C30002F7CBF228197B",original:"Aptos"}],["WETHarbitrum",{symbol:"WETH",decimals:8,address:"ibc/AB4046AF5B6F146C006DE4DECAD929D24F762A701E09EC8B29000EC63A6E649B",original:"Arbitrum"}],["USDCarbitrum",{symbol:"USDC",decimals:6,address:"ibc/6D1B6A7A9EF692A279A6B5994C98C0D598D003D9203BE8309F14B6E57A58506E",original:"Arbitrum"}],["WETHoptimism",{symbol:"WETH",decimals:8,address:"ibc/A0298483510D803A045AA7F49CCBD0F9D01010FE0B1A346EBDFFF4BA820C3D21",original:"Optimism"}],["USDCoptimism",{symbol:"USDC",decimals:6,address:"ibc/CE3F2FE630DA6A1187F085CDC8D59BA8B20DA48F4866F2D71C5AB7A1D5859933",original:"Optimism"}],["WETHbase",{symbol:"WETH",decimals:8,address:"ibc/97035986A4BD0AF555713355A02EA31A4526616B6543E019E0D750007FABE06C",original:"Base"}],["USDCbase",{symbol:"USDC",decimals:6,address:"ibc/8560BA5F45C95AE716C05978E364F50C98347ACBEC745840C30F91611FA36698",original:"Base"}],["wstETH",{symbol:"wstETH",decimals:8,address:"ibc/5BB02667F9F0C8284FCF7716065C2779039817FBCB91E937F5149FE89FD8F202",original:"Ethereum"}],["ATOM",{symbol:"ATOM",decimals:6,address:"uatom"}]]],["Evmos",[["EVMOS",{symbol:"EVMOS",decimals:18,address:"atevmos"}]]],["Kujira",[["KUJI",{symbol:"KUJI",decimals:6,address:"ukuji"}]]],["Klaytn",[["KLAY",{symbol:"KLAY",decimals:18,address:"native",wrappedKey:"WKLAY"}],["WKLAY",{symbol:"WKLAY",decimals:18,address:"0x0339d5Eb6D195Ba90B13ed1BCeAa97EbD198b106"}]]],["Sepolia",[["ETHsepolia",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHsepolia"}],["WETHsepolia",{symbol:"WETH",decimals:18,address:"0xeef12A83EE5b7161D3873317c8E0E7B76e0B5D9c"}]]],["ArbitrumSepolia",[["ETHarbitrum_sepolia",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHarbitrum_sepolia"}],["WETHarbitrum_sepolia",{symbol:"WETH",decimals:18,address:"0x980B62Da83eFf3D4576C647993b0c1D7faf17c73"}]]],["BaseSepolia",[["ETHbase_sepolia",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHbase_sepolia"}],["WETHbase_sepolia",{symbol:"WETH",decimals:18,address:"0x4200000000000000000000000000000000000006"}]]],["OptimismSepolia",[["ETHoptimism_sepolia",{symbol:"ETH",decimals:18,address:"native",wrappedKey:"WETHoptimism_sepolia"}],["WETHoptimism_sepolia",{symbol:"WETH",decimals:18,address:"0x4200000000000000000000000000000000000006"}]]]],wE=$t(cee,[0,[1,2]]);function q6(e,t){if(e!=="Devnet"){if(e==="Mainnet"){if(!vE.has(t))return;const r=vE.get(t);return Object.fromEntries(r.map(([n,a])=>[n,{...a,chain:t,key:n}]))}if(e==="Testnet"){if(!wE.has(t))return;const r=wE.get(t);return Object.fromEntries(r.map(([n,a])=>[n,{...a,chain:t,key:n}]))}throw new Error("Unsupported network: "+e)}}function lee(e,t){const r=q6(e,t);return r?Gf.native(r):void 0}function dge(e,t,r){const n=q6(e,t);return n?Gf.byAddress(n,r):void 0}function uee(e,t,r){const n=q6(e,t);return n?Gf.byKey(n,r):void 0}function fee(e,t){const r={coreBridge:wX.get(e,t),tokenBridge:CX.get(e,t),nftBridge:EX.get(e,t),relayer:SX.get(e,t),tokenBridgeRelayer:AX.get(e,t),tbtc:Q4.get(e,t)};return fb.has(e,t)&&(r.cctp=fb.get(e,t)),VA.has(e,t)&&(r.gateway=VA.get(e,t)),$A.has(e,t)&&(r.translator=$A.get(e,t)),KA.has(e,t)&&(r.portico=KA.get(e,t)),Q4.has(e,t)&&(r.tbtc=Q4.get(e,t)),r}function mn(e){return typeof e=="string"&&e==="native"}function L_(e){return{chain:e,address:"native"}}function Hh(e){return typeof e=="object"&&e.address!==void 0&&e.chain!==void 0&&_h(e.chain)}function zs(e,t){return e.chain!==t.chain?!1:mn(e.address)&&mn(t.address)?!0:Qi(e)===Qi(t)}function Qi(e){return Hh(e)&&mn(e.address)?e.address:e.address.toNative(e.chain).toString()}function q4(e,t,r){let n;if(Hh(r)){if(!mn(r.address))return[!1,r];n=r.address}else n=r;if(mn(n)){const i=lee(e,t);if(!i)throw new Error("Invalid destination token");const o=i.wrappedKey,u=uee(e,t,o);if(!u)throw new Error("Invalid wrapped token key: "+o);return[!0,{chain:t,address:va(t,u.address)}]}return[!1,{chain:t,address:n}]}function j_(e){return e.chain!==void 0&&e.txid!==void 0}function Hm(e){return _z.map(r=>{const n=Yn(r);let a="";try{a=Pz.get(e,r)}catch{}const i=q6(e,r),o=i?Object.values(i).find(d=>mn(d.address)&&d.wrappedKey):void 0,u=o?i[o.wrappedKey]:void 0;return{key:r,platform:n,network:e,chainId:Y6(r),finalityThreshold:Oz.get(r)??0,blockTime:Rz.get(r)??0,contracts:fee(e,r),nativeTokenDecimals:iX(n),nativeChainId:a,tokenMap:i,wrappedNative:u,explorer:oX(e,r),rpc:uX(e,r)}}).reduce((r,n)=>({...r,[n.key]:n}),{})}function dee(e){return hee(e)||B_(e)}function hee(e){return typeof e=="object"&&"chain"in e&&typeof e.chain=="function"&&"address"in e&&typeof e.address=="function"&&"sign"in e&&typeof e.sign=="function"}function B_(e){return typeof e=="object"&&"chain"in e&&typeof e.chain=="function"&&"address"in e&&typeof e.address=="function"&&"signAndSend"in e&&typeof e.signAndSend=="function"}class hge{constructor(t,r,n){Ye(this,"_chain");Ye(this,"_address");Ye(this,"_signer");this._chain=t,this._address=r,this._signer=n}unwrap(){return this._signer}}function Wu(e){return e.sequence!==void 0&&e.emitter!==void 0&&e.chain!==void 0}function lp(e){return e.hash!==void 0}const CE=e=>[Cl(1),{name:"token",binary:"bytes",layout:[{name:"address",...wr},{name:"amount",..._i}]},{name:"sourceDomain",...Z1},{name:"targetDomain",...Z1},{name:"nonce",...Ex},{name:"caller",...wr},{name:"mintRecipient",...wr},ux({name:"payload",lengthSize:2},e)],pee=[Cl(1),{name:"targetRelayerFee",..._i},{name:"toNativeTokenAmount",..._i},{name:"targetRecipient",...wr}],mee=[["DepositWithPayload",CE()],["TransferWithRelay",CE(pee)]];xi("AutomaticCircleBridge",mee);const k_={binary:"uint",size:4,custom:0,omit:!0},gee=[{name:"messageBodyVersion",...k_},{name:"burnToken",...wr},{name:"mintRecipient",...wr},{name:"amount",..._i},{name:"messageSender",...wr}],wb=[{name:"version",...k_},{name:"sourceDomain",...Z1},{name:"destinationDomain",...Z1},{name:"nonce",...Ex},{name:"sender",...wr},{name:"recipient",...wr},{name:"destinationCaller",...wr},{name:"payload",binary:"bytes",layout:gee}],yee=[["Message",wb]];xi("CircleBridge",yee);var gf;(function(e){e.isCircleAttestation=t=>t.message!==void 0,e.deserialize=t=>{const r=gc(wb,t),n=Xr.encode(ip(t),!0);return[r,n]},e.serialize=t=>mc(wb,t)})(gf||(gf={}));var AE;(function(e){const t="AutomaticCircleBridge",r=["DepositWithPayload","TransferWithRelay"];e.getTransferDiscriminator=lx(()=>Dx([t,r]))})(AE||(AE={}));function bee(e){return e.amount!==void 0&&e.from!==void 0&&e.to!==void 0}const EE={binary:"bytes",size:32,custom:{to:e=>X3(e.byteLength).map(t=>String.fromCharCode(e[t])).join(""),from:e=>new Uint8Array(e.split("").map(t=>t.charCodeAt(0)))}},z_=[{name:"token",binary:"bytes",layout:[{name:"amount",..._i},{name:"address",...wr},{name:"chain",...ga()}]},{name:"to",binary:"bytes",layout:[{name:"address",...wr},{name:"chain",...ga()}]}],__=[Cl(1),...z_,{name:"fee",..._i}],V6=e=>[Cl(3),...z_,{name:"from",...wr},ux({name:"payload"},e)],Mee=[["AttestMeta",[Cl(2),{name:"token",binary:"bytes",layout:[{name:"address",...wr},{name:"chain",...ga()}]},{name:"decimals",binary:"uint",size:1},{name:"symbol",...EE},{name:"name",...EE}]],["Transfer",__],["TransferWithPayload",V6()]];xi("TokenBridge",Mee);const xee=OK(["shouldWrapNative","shouldUnwrapNative"]),Cb=[{name:"recipientChain",binary:"uint",endianness:"little",size:2},{name:"bridgeNonce",binary:"uint",endianness:"little",size:4},{name:"feeTierStart",binary:"uint",endianness:"little",size:3},{name:"feeTierFinish",binary:"uint",endianness:"little",size:3},{name:"padding",binary:"bytes",size:19},{name:"flags",...xee}],Ab=[{name:"flagSet",binary:"bytes",layout:Cb},{name:"finalTokenAddress",...wr},{name:"recipientAddress",...wr},{name:"cannonAssetAmount",..._i},{name:"minAmountFinish",..._i},{name:"relayerFee",..._i}],vee=[["Transfer",V6(Ab)]];xi("PorticoBridge",vee);var SE;(function(e){e.deserializePayload=t=>gc(Ab,t),e.serializePayload=t=>mc(Ab,t),e.deserializeFlagSet=t=>gc(Cb,t),e.serializeFlagSet=t=>mc(Cb,t)})(SE||(SE={}));const F_={binary:"bytes",layout:[{name:"size",binary:"uint",size:4,custom:3*32,omit:!0},{name:"waste",binary:"uint",size:31,custom:0n,omit:!0},{name:"version",binary:"uint",size:1,custom:0,omit:!0},{name:"gasLimit",..._i},{name:"targetChainRefundPerGasUnused",..._i}]},DE={binary:"bytes",layout:[{name:"chain",...ga()},{name:"address",...wr}]},wee=[{name:"chain",...ga()},{name:"emitterAddress",...wr},{name:"sequence",...Sx}],Cee=[{name:"size",binary:"uint",size:4,custom:12,omit:!0},{name:"domain",...Z1},{name:"nonce",...Ex}],O_={binary:"switch",idSize:1,idTag:"keyType",layouts:[[[1,"VAA"],wee],[[2,"CCTP"],Cee]]},Aee=e=>[Cl(1),{name:"target",...DE},ux({name:"payload",lengthSize:4},e),{name:"requestedReceiverValue",..._i},{name:"extraReceiverValue",..._i},{name:"executionInfo",...F_},{name:"refund",...DE},{name:"refundDeliveryProvider",...wr},{name:"sourceDeliveryProvider",...wr},{name:"senderAddress",...wr},{name:"messageKeys",binary:"array",lengthSize:1,layout:O_}],Eee=[["DeliveryInstruction",Aee()],["RedeliveryInstruction",[Cl(2),{name:"deliveryVaaKey",binary:"bytes",layout:O_},{name:"targetChain",...ga()},{name:"newRequestedReceiverValue",..._i},{name:"newEncodedExecutionInfo",...F_},{name:"newSourceDeliveryProvider",...wr},{name:"newSenderAddress",...wr}]]];xi("Relayer",Eee);const See=[Cl(1),{name:"targetRelayerFee",..._i},{name:"toNativeTokenAmount",..._i},{name:"targetRecipient",...wr}],Dee=[["TransferWithRelay",V6(See)]];xi("AutomaticTokenBridge",Dee);const pge=e=>new Error(`Token ${e} is not a wrapped asset`);var Eb;(function(e){const t="TokenBridge",r=["Transfer","TransferWithPayload"],n=["AttestMeta"];[...r,...n],e.getTransferDiscriminator=lx(()=>Dx([t,r]))})(Eb||(Eb={}));function Tee(e){return e.token!==void 0&&e.amount!==void 0&&e.from!==void 0&&e.to!==void 0}const Iee=[["Add",1],["Subtract",2],["Unknown",3]],Sb={binary:"bytes",size:20,custom:{to:e=>Xr.encode(e,!0),from:e=>Xr.decode(e)}},Nee=[["UpgradeContract",[!1,[{name:"newContract",...wr}]]],["RegisterChain",[!0,[{name:"foreignChain",...ga()},{name:"foreignAddress",...wr}]]],["RecoverChainId",[!1,[{name:"evmChainId",binary:"uint",size:32},{name:"newChainId",...ga({allowedChains:Fz("Evm")})}]]],["GuardianSetUpgrade",[!0,[{name:"guardianSet",...D_},{name:"guardians",binary:"array",lengthSize:1,layout:Sb}]]],["SetMessageFee",[!1,[{name:"messageFee",binary:"uint",size:32}]]],["TransferFees",[!0,[{name:"amount",binary:"uint",size:32},{name:"recipient",...wr}]]],["UpdateDefaultProvider",[!1,[{name:"defaultProvider",...wr}]]],["RegisterEmitterAndDomain",[!0,[{name:"emitterChain",...ga()},{name:"emitterAddress",...wr},{name:"domain",binary:"uint",size:4}]]],["UpdateFinality",[!1,[{name:"finality",binary:"uint",size:1}]]]],Ym={binary:"bytes",size:32},TE=[{name:"contractAddr",...wr},{name:"codeId",binary:"uint",size:8}],Lee=[["StoreCode",[!1,[{name:"wasmHash",...Ym}]]],["InstantiateContract",[!1,[{name:"instantiationParamsHash",...Ym}]]],["MigrateContract",[!1,[{name:"migrationParamsHash",...Ym}]]],["AddWasmInstantiateAllowlist",[!1,TE]],["DeleteWasmInstantiateAllowlist",[!1,TE]]],jee=(()=>{const e=a=>({binary:"bytes",size:a,custom:ree}),t=[{name:"height",binary:"uint",size:8}],r=Iz(t),n=a=>[{name:"name",...e(a)},...t];return{binary:"bytes",custom:{to:a=>gc(n(a.length-r),a),from:a=>mc(n(a.name.length),a)}}})(),Bee=[["ScheduleUpgrade",[!1,jee]],["CancelUpgrade",[!0,[]]],["SetIbcComposabilityMwContract",[!1,[{name:"contractAddress",...wr}]]]],kee=[["ModifyBalance",[!1,[{name:"sequence",...Sx},{name:"modifiedChain",...ga()},{name:"tokenChain",...ga()},{name:"tokenAddress",...wr},{name:"kind",...FK(Iee)},{name:"amount",..._i},{name:"reason",...T_(32)}]]]],zee=[["ActionUpdateChannelChain",[!1,[{name:"channelId",...T_(64)},{name:"channelChain",...ga({allowedChains:Fz("Cosmwasm")})}]]]],_ee=[["GeneralPurposeEvm",[!1,[{name:"governanceContract",...Sb},{name:"targetContract",...Sb},{name:"payload",binary:"bytes",lengthSize:2}]]],["GeneralPurposeSolana",[!1,[{name:"governanceContract",...wr},{name:"payload",binary:"bytes"}]]]],R_=[...Nee,...Lee,...Bee,...kee,...zee,..._ee];Ez(R_,0);const IE=Object.fromEntries(R_),Fee=[["WormholeCore","Core"],["TokenBridge","TokenBridge"],["NftBridge","NftBridge"],["Relayer","WormholeRelayer"],["CircleBridge","CircleIntegration"],["IbcBridge","IbcTranslator"],["IbcReceiver","IbcReceiver"],["GlobalAccountant","GlobalAccountant"],["GeneralPurposeGovernance","GeneralPurposeGovernance"],["WormchainGovernance","WasmdModule"],["GatewayGovernance","GatewayModule"]],Oee=$t(Fee),Ree=e=>({to:e,from:(()=>{const r=new Uint8Array(32),n=Oee(e);for(let a=1;a<=n.length;++a)r[32-a]=n.charCodeAt(n.length-a);return r})()}),Uee=(e,t)=>({to:e,from:t}),Pee=(e,t,r)=>[{name:"protocol",binary:"bytes",custom:Ree(e)},{name:"action",binary:"uint",size:1,custom:Uee(t,r)},{name:"chain",...ga({allowNull:IE[t][0]})},{name:"actionArgs",binary:"bytes",layout:IE[t][1]}],Pr=(e,t,r)=>[t,Pee(e,t,r)],Wee=[Pr("WormholeCore","UpgradeContract",1),Pr("WormholeCore","GuardianSetUpgrade",2),Pr("WormholeCore","SetMessageFee",3),Pr("WormholeCore","TransferFees",4),Pr("WormholeCore","RecoverChainId",5)],Hee=[Pr("TokenBridge","RegisterChain",1),Pr("TokenBridge","UpgradeContract",2),Pr("TokenBridge","RecoverChainId",3)],Yee=[Pr("NftBridge","RegisterChain",1),Pr("NftBridge","UpgradeContract",2),Pr("NftBridge","RecoverChainId",3)],Zee=[Pr("Relayer","RegisterChain",1),Pr("Relayer","UpgradeContract",2),Pr("Relayer","UpdateDefaultProvider",3)],Gee=[Pr("CircleBridge","UpdateFinality",1),Pr("CircleBridge","RegisterEmitterAndDomain",2),Pr("CircleBridge","UpgradeContract",3)],Qee=[Pr("IbcBridge","ActionUpdateChannelChain",1)],qee=[Pr("IbcReceiver","ActionUpdateChannelChain",1)],Vee=[Pr("GlobalAccountant","ModifyBalance",1)],$ee=[Pr("GeneralPurposeGovernance","GeneralPurposeEvm",1),Pr("GeneralPurposeGovernance","GeneralPurposeSolana",2)],Kee=[Pr("WormchainGovernance","StoreCode",1),Pr("WormchainGovernance","InstantiateContract",2),Pr("WormchainGovernance","MigrateContract",3),Pr("WormchainGovernance","AddWasmInstantiateAllowlist",4),Pr("WormchainGovernance","DeleteWasmInstantiateAllowlist",5)],Xee=[Pr("GatewayGovernance","ScheduleUpgrade",1),Pr("GatewayGovernance","CancelUpgrade",2),Pr("GatewayGovernance","SetIbcComposabilityMwContract",3)];xi("WormholeCore",Wee);xi("TokenBridge",Hee);xi("NftBridge",Yee);xi("Relayer",Zee);xi("CircleBridge",Gee);xi("IbcBridge",Qee);xi("IbcReceiver",qee);xi("GlobalAccountant",Vee);xi("GeneralPurposeGovernance",$ee);xi("WormchainGovernance",Kee);xi("GatewayGovernance",Xee);var rs;(function(e){const t="TBTCBridge",r=["GatewayTransfer","Transfer"];[...r],e.getTransferDiscriminator=lx(()=>Dx([t,r])),e.getNativeTbtcToken=n=>{const a=TX.get("Mainnet",n);if(a)return{chain:n,address:va(n,a)}}})(rs||(rs={}));const Jee=[{name:"recipient",...wr}],ete=[["GatewayTransfer",V6(Jee)],["Transfer",__]];xi("TBTCBridge",ete);function U_(e,t){return function(){return e.apply(t,arguments)}}const{toString:tte}=Object.prototype,{getPrototypeOf:Tx}=Object,$6=(e=>t=>{const r=tte.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),No=e=>(e=e.toLowerCase(),t=>$6(t)===e),K6=e=>t=>typeof t===e,{isArray:Vf}=Array,q1=K6("undefined");function rte(e){return e!==null&&!q1(e)&&e.constructor!==null&&!q1(e.constructor)&&ms(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const P_=No("ArrayBuffer");function nte(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&P_(e.buffer),t}const ite=K6("string"),ms=K6("function"),W_=K6("number"),X6=e=>e!==null&&typeof e=="object",ate=e=>e===!0||e===!1,V4=e=>{if($6(e)!=="object")return!1;const t=Tx(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ste=No("Date"),ote=No("File"),cte=No("Blob"),lte=No("FileList"),ute=e=>X6(e)&&ms(e.pipe),fte=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ms(e.append)&&((t=$6(e))==="formdata"||t==="object"&&ms(e.toString)&&e.toString()==="[object FormData]"))},dte=No("URLSearchParams"),hte=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yh(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),Vf(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let u;for(n=0;n<o;n++)u=i[n],t.call(null,e[u],u,e)}}function H_(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,a;for(;n-- >0;)if(a=r[n],t===a.toLowerCase())return a;return null}const Y_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Je.global,Z_=e=>!q1(e)&&e!==Y_;function Db(){const{caseless:e}=Z_(this)&&this||{},t={},r=(n,a)=>{const i=e&&H_(t,a)||a;V4(t[i])&&V4(n)?t[i]=Db(t[i],n):V4(n)?t[i]=Db({},n):Vf(n)?t[i]=n.slice():t[i]=n};for(let n=0,a=arguments.length;n<a;n++)arguments[n]&&Yh(arguments[n],r);return t}const pte=(e,t,r,{allOwnKeys:n}={})=>(Yh(t,(a,i)=>{r&&ms(a)?e[i]=U_(a,r):e[i]=a},{allOwnKeys:n}),e),mte=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),gte=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},yte=(e,t,r,n)=>{let a,i,o;const u={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)o=a[i],(!n||n(o,e,t))&&!u[o]&&(t[o]=e[o],u[o]=!0);e=r!==!1&&Tx(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},bte=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Mte=e=>{if(!e)return null;if(Vf(e))return e;let t=e.length;if(!W_(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},xte=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Tx(Uint8Array)),vte=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},wte=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Cte=No("HTMLFormElement"),Ate=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),NE=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Ete=No("RegExp"),G_=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Yh(r,(a,i)=>{t(a,i,e)!==!1&&(n[i]=a)}),Object.defineProperties(e,n)},Ste=e=>{G_(e,(t,r)=>{if(ms(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(ms(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Dte=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return Vf(e)?n(e):n(String(e).split(t)),r},Tte=()=>{},Ite=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Zm="abcdefghijklmnopqrstuvwxyz",LE="0123456789",Q_={DIGIT:LE,ALPHA:Zm,ALPHA_DIGIT:Zm+Zm.toUpperCase()+LE},Nte=(e=16,t=Q_.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Lte(e){return!!(e&&ms(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const jte=e=>{const t=new Array(10),r=(n,a)=>{if(X6(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const i=Vf(n)?[]:{};return Yh(n,(o,u)=>{const d=r(o,a+1);!q1(d)&&(i[u]=d)}),t[a]=void 0,i}}return n};return r(e,0)},Bte=No("AsyncFunction"),kte=e=>e&&(X6(e)||ms(e))&&ms(e.then)&&ms(e.catch),$e={isArray:Vf,isArrayBuffer:P_,isBuffer:rte,isFormData:fte,isArrayBufferView:nte,isString:ite,isNumber:W_,isBoolean:ate,isObject:X6,isPlainObject:V4,isUndefined:q1,isDate:ste,isFile:ote,isBlob:cte,isRegExp:Ete,isFunction:ms,isStream:ute,isURLSearchParams:dte,isTypedArray:xte,isFileList:lte,forEach:Yh,merge:Db,extend:pte,trim:hte,stripBOM:mte,inherits:gte,toFlatObject:yte,kindOf:$6,kindOfTest:No,endsWith:bte,toArray:Mte,forEachEntry:vte,matchAll:wte,isHTMLForm:Cte,hasOwnProperty:NE,hasOwnProp:NE,reduceDescriptors:G_,freezeMethods:Ste,toObjectSet:Dte,toCamelCase:Ate,noop:Tte,toFiniteNumber:Ite,findKey:H_,global:Y_,isContextDefined:Z_,ALPHABET:Q_,generateString:Nte,isSpecCompliantForm:Lte,toJSONObject:jte,isAsyncFn:Bte,isThenable:kte};function Nr(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a)}$e.inherits(Nr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$e.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const q_=Nr.prototype,V_={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{V_[e]={value:e}});Object.defineProperties(Nr,V_);Object.defineProperty(q_,"isAxiosError",{value:!0});Nr.from=(e,t,r,n,a,i)=>{const o=Object.create(q_);return $e.toFlatObject(e,o,function(d){return d!==Error.prototype},u=>u!=="isAxiosError"),Nr.call(o,e.message,t,r,n,a),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const zte=null;function Tb(e){return $e.isPlainObject(e)||$e.isArray(e)}function $_(e){return $e.endsWith(e,"[]")?e.slice(0,-2):e}function jE(e,t,r){return e?e.concat(t).map(function(a,i){return a=$_(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function _te(e){return $e.isArray(e)&&!e.some(Tb)}const Fte=$e.toFlatObject($e,{},null,function(t){return/^is[A-Z]/.test(t)});function J6(e,t,r){if(!$e.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=$e.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,I){return!$e.isUndefined(I[T])});const n=r.metaTokens,a=r.visitor||m,i=r.dots,o=r.indexes,d=(r.Blob||typeof Blob<"u"&&Blob)&&$e.isSpecCompliantForm(t);if(!$e.isFunction(a))throw new TypeError("visitor must be a function");function p(E){if(E===null)return"";if($e.isDate(E))return E.toISOString();if(!d&&$e.isBlob(E))throw new Nr("Blob is not supported. Use a Buffer instead.");return $e.isArrayBuffer(E)||$e.isTypedArray(E)?d&&typeof Blob=="function"?new Blob([E]):Je.Buffer.from(E):E}function m(E,T,I){let D=E;if(E&&!I&&typeof E=="object"){if($e.endsWith(T,"{}"))T=n?T:T.slice(0,-2),E=JSON.stringify(E);else if($e.isArray(E)&&_te(E)||($e.isFileList(E)||$e.endsWith(T,"[]"))&&(D=$e.toArray(E)))return T=$_(T),D.forEach(function(N,j){!($e.isUndefined(N)||N===null)&&t.append(o===!0?jE([T],j,i):o===null?T:T+"[]",p(N))}),!1}return Tb(E)?!0:(t.append(jE(I,T,i),p(E)),!1)}const b=[],v=Object.assign(Fte,{defaultVisitor:m,convertValue:p,isVisitable:Tb});function C(E,T){if(!$e.isUndefined(E)){if(b.indexOf(E)!==-1)throw Error("Circular reference detected in "+T.join("."));b.push(E),$e.forEach(E,function(D,S){(!($e.isUndefined(D)||D===null)&&a.call(t,D,$e.isString(S)?S.trim():S,T,v))===!0&&C(D,T?T.concat(S):[S])}),b.pop()}}if(!$e.isObject(e))throw new TypeError("data must be an object");return C(e),t}function BE(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Ix(e,t){this._pairs=[],e&&J6(e,this,t)}const K_=Ix.prototype;K_.append=function(t,r){this._pairs.push([t,r])};K_.toString=function(t){const r=t?function(n){return t.call(this,n,BE)}:BE;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function Ote(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function X_(e,t,r){if(!t)return e;const n=r&&r.encode||Ote,a=r&&r.serialize;let i;if(a?i=a(t,r):i=$e.isURLSearchParams(t)?t.toString():new Ix(t,r).toString(n),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class kE{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$e.forEach(this.handlers,function(n){n!==null&&t(n)})}}const J_={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Rte=typeof URLSearchParams<"u"?URLSearchParams:Ix,Ute=typeof FormData<"u"?FormData:null,Pte=typeof Blob<"u"?Blob:null,Wte=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Hte=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",po={classes:{URLSearchParams:Rte,FormData:Ute,Blob:Pte},isStandardBrowserEnv:Wte,isStandardBrowserWebWorkerEnv:Hte,protocols:["http","https","file","blob","url","data"]};function Yte(e,t){return J6(e,new po.classes.URLSearchParams,Object.assign({visitor:function(r,n,a,i){return po.isNode&&$e.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Zte(e){return $e.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Gte(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n<a;n++)i=r[n],t[i]=e[i];return t}function eF(e){function t(r,n,a,i){let o=r[i++];const u=Number.isFinite(+o),d=i>=r.length;return o=!o&&$e.isArray(a)?a.length:o,d?($e.hasOwnProp(a,o)?a[o]=[a[o],n]:a[o]=n,!u):((!a[o]||!$e.isObject(a[o]))&&(a[o]=[]),t(r,n,a[o],i)&&$e.isArray(a[o])&&(a[o]=Gte(a[o])),!u)}if($e.isFormData(e)&&$e.isFunction(e.entries)){const r={};return $e.forEachEntry(e,(n,a)=>{t(Zte(n),a,r,0)}),r}return null}const Qte={"Content-Type":void 0};function qte(e,t,r){if($e.isString(e))try{return(t||JSON.parse)(e),$e.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const $f={transitional:J_,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=$e.isObject(t);if(i&&$e.isHTMLForm(t)&&(t=new FormData(t)),$e.isFormData(t))return a&&a?JSON.stringify(eF(t)):t;if($e.isArrayBuffer(t)||$e.isBuffer(t)||$e.isStream(t)||$e.isFile(t)||$e.isBlob(t))return t;if($e.isArrayBufferView(t))return t.buffer;if($e.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Yte(t,this.formSerializer).toString();if((u=$e.isFileList(t))||n.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return J6(u?{"files[]":t}:t,d&&new d,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),qte(t)):t}],transformResponse:[function(t){const r=this.transitional||$f.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(t&&$e.isString(t)&&(n&&!this.responseType||a)){const o=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(u){if(o)throw u.name==="SyntaxError"?Nr.from(u,Nr.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:po.classes.FormData,Blob:po.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};$e.forEach(["delete","get","head"],function(t){$f.headers[t]={}});$e.forEach(["post","put","patch"],function(t){$f.headers[t]=$e.merge(Qte)});const Vte=$e.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),$te=e=>{const t={};let r,n,a;return e&&e.split(`
103
103
  `).forEach(function(o){a=o.indexOf(":"),r=o.substring(0,a).trim().toLowerCase(),n=o.substring(a+1).trim(),!(!r||t[r]&&Vte[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},zE=Symbol("internals");function vd(e){return e&&String(e).trim().toLowerCase()}function $4(e){return e===!1||e==null?e:$e.isArray(e)?e.map($4):String(e)}function Kte(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Xte=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Gm(e,t,r,n,a){if($e.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!$e.isString(t)){if($e.isString(n))return t.indexOf(n)!==-1;if($e.isRegExp(n))return n.test(t)}}function Jte(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function ere(e,t){const r=$e.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,i,o){return this[n].call(this,t,a,i,o)},configurable:!0})})}let gs=class{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(u,d,p){const m=vd(d);if(!m)throw new Error("header name must be a non-empty string");const b=$e.findKey(a,m);(!b||a[b]===void 0||p===!0||p===void 0&&a[b]!==!1)&&(a[b||d]=$4(u))}const o=(u,d)=>$e.forEach(u,(p,m)=>i(p,m,d));return $e.isPlainObject(t)||t instanceof this.constructor?o(t,r):$e.isString(t)&&(t=t.trim())&&!Xte(t)?o($te(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=vd(t),t){const n=$e.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return Kte(a);if($e.isFunction(r))return r.call(this,a,n);if($e.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=vd(t),t){const n=$e.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Gm(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function i(o){if(o=vd(o),o){const u=$e.findKey(n,o);u&&(!r||Gm(n,n[u],u,r))&&(delete n[u],a=!0)}}return $e.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const i=r[n];(!t||Gm(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,n={};return $e.forEach(this,(a,i)=>{const o=$e.findKey(n,i);if(o){r[o]=$4(a),delete r[i];return}const u=t?Jte(i):String(i).trim();u!==i&&delete r[i],r[u]=$4(a),n[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return $e.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&$e.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
104
104
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[zE]=this[zE]={accessors:{}}).accessors,a=this.prototype;function i(o){const u=vd(o);n[u]||(ere(a,o),n[u]=!0)}return $e.isArray(t)?t.forEach(i):i(t),this}};gs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$e.freezeMethods(gs.prototype);$e.freezeMethods(gs);function Qm(e,t){const r=this||$f,n=t||r,a=gs.from(n.headers);let i=n.data;return $e.forEach(e,function(u){i=u.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function tF(e){return!!(e&&e.__CANCEL__)}function Zh(e,t,r){Nr.call(this,e??"canceled",Nr.ERR_CANCELED,t,r),this.name="CanceledError"}$e.inherits(Zh,Nr,{__CANCEL__:!0});function tre(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Nr("Request failed with status code "+r.status,[Nr.ERR_BAD_REQUEST,Nr.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const rre=po.isStandardBrowserEnv?function(){return{write:function(r,n,a,i,o,u){const d=[];d.push(r+"="+encodeURIComponent(n)),$e.isNumber(a)&&d.push("expires="+new Date(a).toGMTString()),$e.isString(i)&&d.push("path="+i),$e.isString(o)&&d.push("domain="+o),u===!0&&d.push("secure"),document.cookie=d.join("; ")},read:function(r){const n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function nre(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ire(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function rF(e,t){return e&&!nre(t)?ire(e,t):t}const are=po.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function a(i){let o=i;return t&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=a(window.location.href),function(o){const u=$e.isString(o)?a(o):o;return u.protocol===n.protocol&&u.host===n.host}}():function(){return function(){return!0}}();function sre(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ore(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,i=0,o;return t=t!==void 0?t:1e3,function(d){const p=Date.now(),m=n[i];o||(o=p),r[a]=d,n[a]=p;let b=i,v=0;for(;b!==a;)v+=r[b++],b=b%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),p-o<t)return;const C=m&&p-m;return C?Math.round(v*1e3/C):void 0}}function _E(e,t){let r=0;const n=ore(50,250);return a=>{const i=a.loaded,o=a.lengthComputable?a.total:void 0,u=i-r,d=n(u),p=i<=o;r=i;const m={loaded:i,total:o,progress:o?i/o:void 0,bytes:u,rate:d||void 0,estimated:d&&o&&p?(o-i)/d:void 0,event:a};m[t?"download":"upload"]=!0,e(m)}}const cre=typeof XMLHttpRequest<"u",lre=cre&&function(e){return new Promise(function(r,n){let a=e.data;const i=gs.from(e.headers).normalize(),o=e.responseType;let u;function d(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}$e.isFormData(a)&&(po.isStandardBrowserEnv||po.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let p=new XMLHttpRequest;if(e.auth){const C=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(C+":"+E))}const m=rF(e.baseURL,e.url);p.open(e.method.toUpperCase(),X_(m,e.params,e.paramsSerializer),!0),p.timeout=e.timeout;function b(){if(!p)return;const C=gs.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),T={data:!o||o==="text"||o==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:C,config:e,request:p};tre(function(D){r(D),d()},function(D){n(D),d()},T),p=null}if("onloadend"in p?p.onloadend=b:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(b)},p.onabort=function(){p&&(n(new Nr("Request aborted",Nr.ECONNABORTED,e,p)),p=null)},p.onerror=function(){n(new Nr("Network Error",Nr.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let E=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const T=e.transitional||J_;e.timeoutErrorMessage&&(E=e.timeoutErrorMessage),n(new Nr(E,T.clarifyTimeoutError?Nr.ETIMEDOUT:Nr.ECONNABORTED,e,p)),p=null},po.isStandardBrowserEnv){const C=(e.withCredentials||are(m))&&e.xsrfCookieName&&rre.read(e.xsrfCookieName);C&&i.set(e.xsrfHeaderName,C)}a===void 0&&i.setContentType(null),"setRequestHeader"in p&&$e.forEach(i.toJSON(),function(E,T){p.setRequestHeader(T,E)}),$e.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),o&&o!=="json"&&(p.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&p.addEventListener("progress",_E(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",_E(e.onUploadProgress)),(e.cancelToken||e.signal)&&(u=C=>{p&&(n(!C||C.type?new Zh(null,e,p):C),p.abort(),p=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u)));const v=sre(m);if(v&&po.protocols.indexOf(v)===-1){n(new Nr("Unsupported protocol "+v+":",Nr.ERR_BAD_REQUEST,e));return}p.send(a||null)})},K4={http:zte,xhr:lre};$e.forEach(K4,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ure={getAdapter:e=>{e=$e.isArray(e)?e:[e];const{length:t}=e;let r,n;for(let a=0;a<t&&(r=e[a],!(n=$e.isString(r)?K4[r.toLowerCase()]:r));a++);if(!n)throw n===!1?new Nr(`Adapter ${r} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error($e.hasOwnProp(K4,r)?`Adapter '${r}' is not available in the build`:`Unknown adapter '${r}'`);if(!$e.isFunction(n))throw new TypeError("adapter is not a function");return n},adapters:K4};function qm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Zh(null,e)}function FE(e){return qm(e),e.headers=gs.from(e.headers),e.data=Qm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ure.getAdapter(e.adapter||$f.adapter)(e).then(function(n){return qm(e),n.data=Qm.call(e,e.transformResponse,n),n.headers=gs.from(n.headers),n},function(n){return tF(n)||(qm(e),n&&n.response&&(n.response.data=Qm.call(e,e.transformResponse,n.response),n.response.headers=gs.from(n.response.headers))),Promise.reject(n)})}const OE=e=>e instanceof gs?e.toJSON():e;function yf(e,t){t=t||{};const r={};function n(p,m,b){return $e.isPlainObject(p)&&$e.isPlainObject(m)?$e.merge.call({caseless:b},p,m):$e.isPlainObject(m)?$e.merge({},m):$e.isArray(m)?m.slice():m}function a(p,m,b){if($e.isUndefined(m)){if(!$e.isUndefined(p))return n(void 0,p,b)}else return n(p,m,b)}function i(p,m){if(!$e.isUndefined(m))return n(void 0,m)}function o(p,m){if($e.isUndefined(m)){if(!$e.isUndefined(p))return n(void 0,p)}else return n(void 0,m)}function u(p,m,b){if(b in t)return n(p,m);if(b in e)return n(void 0,p)}const d={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u,headers:(p,m)=>a(OE(p),OE(m),!0)};return $e.forEach(Object.keys(Object.assign({},e,t)),function(m){const b=d[m]||a,v=b(e[m],t[m],m);$e.isUndefined(v)&&b!==u||(r[m]=v)}),r}const nF="1.4.0",Nx={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Nx[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const RE={};Nx.transitional=function(t,r,n){function a(i,o){return"[Axios v"+nF+"] Transitional option '"+i+"'"+o+(n?". "+n:"")}return(i,o,u)=>{if(t===!1)throw new Nr(a(o," has been removed"+(r?" in "+r:"")),Nr.ERR_DEPRECATED);return r&&!RE[o]&&(RE[o]=!0,console.warn(a(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,o,u):!0}};function fre(e,t,r){if(typeof e!="object")throw new Nr("options must be an object",Nr.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],o=t[i];if(o){const u=e[i],d=u===void 0||o(u,i,e);if(d!==!0)throw new Nr("option "+i+" must be "+d,Nr.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Nr("Unknown option "+i,Nr.ERR_BAD_OPTION)}}const Ib={assertOptions:fre,validators:Nx},Lc=Ib.validators;let x0=class{constructor(t){this.defaults=t,this.interceptors={request:new kE,response:new kE}}request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=yf(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&Ib.assertOptions(n,{silentJSONParsing:Lc.transitional(Lc.boolean),forcedJSONParsing:Lc.transitional(Lc.boolean),clarifyTimeoutError:Lc.transitional(Lc.boolean)},!1),a!=null&&($e.isFunction(a)?r.paramsSerializer={serialize:a}:Ib.assertOptions(a,{encode:Lc.function,serialize:Lc.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o;o=i&&$e.merge(i.common,i[r.method]),o&&$e.forEach(["delete","get","head","post","put","patch","common"],E=>{delete i[E]}),r.headers=gs.concat(o,i);const u=[];let d=!0;this.interceptors.request.forEach(function(T){typeof T.runWhen=="function"&&T.runWhen(r)===!1||(d=d&&T.synchronous,u.unshift(T.fulfilled,T.rejected))});const p=[];this.interceptors.response.forEach(function(T){p.push(T.fulfilled,T.rejected)});let m,b=0,v;if(!d){const E=[FE.bind(this),void 0];for(E.unshift.apply(E,u),E.push.apply(E,p),v=E.length,m=Promise.resolve(r);b<v;)m=m.then(E[b++],E[b++]);return m}v=u.length;let C=r;for(b=0;b<v;){const E=u[b++],T=u[b++];try{C=E(C)}catch(I){T.call(this,I);break}}try{m=FE.call(this,C)}catch(E){return Promise.reject(E)}for(b=0,v=p.length;b<v;)m=m.then(p[b++],p[b++]);return m}getUri(t){t=yf(this.defaults,t);const r=rF(t.baseURL,t.url);return X_(r,t.params,t.paramsSerializer)}};$e.forEach(["delete","get","head","options"],function(t){x0.prototype[t]=function(r,n){return this.request(yf(n||{},{method:t,url:r,data:(n||{}).data}))}});$e.forEach(["post","put","patch"],function(t){function r(n){return function(i,o,u){return this.request(yf(u||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}x0.prototype[t]=r(),x0.prototype[t+"Form"]=r(!0)});let dre=class iF{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(a=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const o=new Promise(u=>{n.subscribe(u),i=u}).then(a);return o.cancel=function(){n.unsubscribe(i)},o},t(function(i,o,u){n.reason||(n.reason=new Zh(i,o,u),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new iF(function(a){t=a}),cancel:t}}};function hre(e){return function(r){return e.apply(null,r)}}function pre(e){return $e.isObject(e)&&e.isAxiosError===!0}const Nb={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Nb).forEach(([e,t])=>{Nb[t]=e});function aF(e){const t=new x0(e),r=U_(x0.prototype.request,t);return $e.extend(r,x0.prototype,t,{allOwnKeys:!0}),$e.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return aF(yf(e,a))},r}const kr=aF($f);kr.Axios=x0;kr.CanceledError=Zh;kr.CancelToken=dre;kr.isCancel=tF;kr.VERSION=nF;kr.toFormData=J6;kr.AxiosError=Nr;kr.Cancel=kr.CanceledError;kr.all=function(t){return Promise.all(t)};kr.spread=hre;kr.isAxiosError=pre;kr.mergeConfig=yf;kr.AxiosHeaders=gs;kr.formToJSON=e=>eF($e.isHTMLForm(e)?new FormData(e):e);kr.HttpStatusCode=Nb;kr.default=kr;const{Axios:yge,AxiosError:bge,CanceledError:Mge,isCancel:xge,CancelToken:vge,VERSION:wge,all:Cge,Cancel:Age,isAxiosError:Ege,spread:Sge,toFormData:Dge,AxiosHeaders:Tge,HttpStatusCode:Ige,formToJSON:Nge,mergeConfig:Lge}=kr,Vo=60*1e3,sF={Mainnet:{api:"https://api.wormholescan.io",circleAPI:GA("Mainnet"),chains:Hm("Mainnet")},Testnet:{api:"https://api.testnet.wormholescan.io",circleAPI:GA("Testnet"),chains:Hm("Testnet")},Devnet:{api:"http://guardian:7071",circleAPI:"",chains:Hm("Devnet")}};function mre(e,t){return Object.fromEntries(Object.entries(sF[e].chains).filter(([r,n])=>n.platform==t))}function gre(e,t){let r=sF[e];return t?Lx(r,t):r}function jge(e,t,r){const n=mre(e,t);return r?Lx(n,r):n}function Lx(e,t){e||(e={});for(const[r,n]of Object.entries(t))typeof n=="object"&&!Array.isArray(n)?e[r]=Lx(e[r],n):e[r]=n;return e}async function Kf(e,t,r=Vo,n){const a=Math.floor(r/t);let i=0;return new Promise((o,u)=>{e().then(d=>{if(d!==null){o(d);return}let p=setInterval(async()=>{if(i>=a){clearInterval(p),o(null);return}const m=await e();m!==null?(clearInterval(p),o(m)):n&&console.log(`Retrying ${n}, attempt ${i}/${a} `),i++},t)})})}const yre=2e3;var UE;(function(e){e.complete="complete",e.pending_confirmations="pending_confirmations"})(UE||(UE={}));const bre=e=>({message:e.attestation,status:e.status});async function Mre(e,t){var n;const r=`${e}/${t}`;try{const a=await kr.get(r),i=bre(a==null?void 0:a.data);return i.message==="PENDING"?null:i.message}catch(a){if(!a||typeof a=="object"&&(kr.isAxiosError(a)&&((n=a.response)==null?void 0:n.status)===404||"status"in a&&a.status===404))return null;throw a}}async function xre(e,t,r){return Kf(()=>Mre(e,t),yre,r,"Circle:GetAttestation")}async function xo(e,t,r){if(!dee(r))throw new Error("Invalid signer, not SignAndSendSigner or SignOnlySigner");return(await vre(t,async i=>B_(r)?r.signAndSend(i):e.sendWait(await r.sign(i)))).map(i=>({chain:e.chain,txid:i}))}async function vre(e,t){const r=[];let n=[];for await(const a of e)a.parallelizable?n.push(a):(n.length>0&&(r.push(...await t(n)),n=[]),r.push(...await t([a])));return n.length>0&&r.push(...await t(n)),r}var Lt;(function(e){e[e.Failed=-1]="Failed",e[e.Created=0]="Created",e[e.SourceInitiated=1]="SourceInitiated",e[e.SourceFinalized=2]="SourceFinalized",e[e.InReview=3]="InReview",e[e.Attested=4]="Attested",e[e.Refunded=5]="Refunded",e[e.DestinationInitiated=6]="DestinationInitiated",e[e.DestinationQueued=7]="DestinationQueued",e[e.DestinationFinalized=8]="DestinationFinalized"})(Lt||(Lt={}));function e5(e){return e.state===Lt.SourceInitiated}function bf(e){return e.state===Lt.SourceFinalized}function PE(e){return e.state===Lt.InReview}function Ps(e){return e.state===Lt.Attested}function wre(e){return e.state===Lt.Refunded}function oF(e){return e.state===Lt.DestinationInitiated}function Vm(e){return e.state===Lt.DestinationQueued}function Lb(e){return e.state===Lt.DestinationFinalized}function $m(e){return e.state<0}class qr{constructor(t,r,n,a){Ye(this,"wh");Ye(this,"fromChain");Ye(this,"toChain");Ye(this,"_state");Ye(this,"transfer");Ye(this,"txids",[]);Ye(this,"attestations");this._state=Lt.Created,this.wh=t,this.transfer=r,this.fromChain=n??t.getChain(r.from.chain),this.toChain=a??t.getChain(r.to.chain)}getTransferState(){return this._state}static async from(t,r,n=Vo,a,i){if(bee(r))return r={...r,...await qr.destinationOverrides(t.getChain(r.from.chain),t.getChain(r.to.chain),r)},new qr(t,r,a,i);let o;if(Wu(r))o=await qr.fromWormholeMessageId(t,r,n);else if(j_(r))o=await qr.fromTransaction(t,r,n,a);else if(lp(r))o=await qr.fromCircleMessage(t,r);else throw new Error("Invalid `from` parameter for CircleTransfer");return o.fromChain=a??t.getChain(o.transfer.from.chain),o.toChain=i??t.getChain(o.transfer.to.chain),await o.fetchAttestation(n),o}static async fromWormholeMessageId(t,r,n){const{chain:a,emitter:i}=r,o=await qr.getTransferVaa(t,r),u=o.payload.mintRecipient,d=Bm(t.network,o.payload.targetDomain),{wormholeRelayer:p}=t.config.chains[d].contracts.cctp;let m=!1;if(p){const C=ur.chainAddress(a,p).address.toUniversalAddress();m=o.payloadName==="TransferWithRelay"&&u.equals(C)}const b={from:{chain:r.chain,address:o.payload.caller},to:{chain:d,address:u},amount:o.payload.token.amount,automatic:m},v=new qr(t,b);return v.attestations=[{id:{emitter:i,sequence:o.sequence,chain:a},attestation:o}],v._state=Lt.Attested,v}static async fromCircleMessage(t,r){const[n,a]=gf.deserialize(Xr.decode(r)),{payload:i}=n,o=i.messageSender,u=i.mintRecipient,d=Bm(t.network,n.sourceDomain),p=Bm(t.network,n.destinationDomain),m={from:{chain:d,address:o},to:{chain:p,address:u},amount:i.amount,automatic:!1},b=new qr(t,m);return b.attestations=[{id:{hash:a},attestation:{message:n}}],b._state=Lt.SourceInitiated,b}static async fromTransaction(t,r,n,a){const{chain:i,txid:o}=r;a=a??t.getChain(i);let u=[];try{u=await a.parseTransaction(o)}catch(p){if(!(p.message.includes("no bridge messages found")||p.message.includes("not found")))throw p}let d;if(u.length>0)d=await qr.fromWormholeMessageId(t,u[0],n);else{const m=await(await a.getCircleBridge()).parseTransactionDetails(o),b={...m,automatic:!1};d=new qr(t,b),d.attestations=[{id:m.id,attestation:{message:m.message}}]}return d._state=Lt.SourceInitiated,d.txids=[r],d}async initiateTransfer(t){if(this._state!==Lt.Created)throw new Error("Invalid state transition in `start`");return this.txids=await qr.transfer(this.fromChain,this.transfer,t),this._state=Lt.SourceInitiated,this.txids.map(({txid:r})=>r)}async _fetchWormholeAttestation(t){let r=this.attestations??[];if(!r||r.length==0)throw new Error("No VAA details available");for(const n in r)r[n].attestation||(r[n].attestation=await qr.getTransferVaa(this.wh,r[n].id,t));return this.attestations=r,r.map(n=>n.id)}async _fetchCircleAttestation(t){var n,a;let r=this.attestations??[];if(!r||r.length==0){if(this.txids.length===0)throw new Error("No circle attestations or transactions to fetch");const i=this.txids[((n=this.txids)==null?void 0:n.length)-1],d=await(await this.wh.getChain(this.transfer.from.chain).getCircleBridge()).parseTransactionDetails(i.txid);r=[{id:d.id,attestation:{message:d.message}}]}for(const i in r){const o=r[i];if((a=o.attestation)!=null&&a.attestation)continue;const u=await this.wh.getCircleAttestation(o.id.hash,t);if(u===null)throw new Error("No attestation available after timeout exhausted");r[i].attestation.attestation=u}return this.attestations=r,r.map(i=>i.id)}async fetchAttestation(t){if(this._state<Lt.SourceInitiated)throw new Error("Invalid state transition in `fetchAttestation`");const r=this.transfer.automatic?(await Promise.all([this._fetchWormholeAttestation(t),this._fetchCircleAttestation(t)])).flat():await this._fetchCircleAttestation(t);if(this._state=Lt.Attested,this.attestations&&this.attestations.length>0)for(const n of this.attestations){const{attestation:a}=n;if(!gf.isCircleAttestation(a))continue;await qr.isTransferComplete(this.toChain,a)&&(this._state=Lt.DestinationFinalized)}return r}async completeTransfer(t){var b;if(this._state<Lt.Attested)throw new Error("Invalid state transition in `finish`");if(this.transfer.automatic)throw this.attestations?this.attestations.find(C=>Wu(C.id))?new Error("No method to redeem auto circle bridge tx (yet)"):new Error("No VAA found"):new Error("No VAA details available");if(!this.attestations)throw new Error("No Circle Attestations found");const r=this.attestations.filter(v=>lp(v.id));if(r.length>1)throw new Error(`Expected a single circle attestation, found ${r.length}`);const{id:n,attestation:a}=r[0];if(!a)throw new Error(`No Circle Attestation for ${n.hash}`);const{message:i,attestation:o}=a;if(!o)throw new Error(`No Circle Attestation for ${n.hash}`);const u=await this.toChain.getCircleBridge(),d=ur.parseAddress(t.chain(),t.address()),p=u.redeem(d,i,o),m=await xo(this.toChain,p,t);return(b=this.txids)==null||b.push(...m),m.map(({txid:v})=>v)}}(function(e){async function t(p,m,b){let v;return m.automatic?v=(await p.getAutomaticCircleBridge()).transfer(m.from.address,{chain:m.to.chain,address:m.to.address},m.amount,m.nativeGas):v=(await p.getCircleBridge()).transfer(m.from.address,{chain:m.to.chain,address:m.to.address},m.amount),await xo(p,v,b)}e.transfer=t;async function*r(p,m,b=Vo,v,C){var I,D;const E=Date.now(),T=(S,N)=>Math.max(N-(Date.now()-S),0);if(v=v??p.getChain(m.from),C=C??p.getChain(m.to),e5(m)){if(m.originTxs.length===0)throw"Invalid state transition: no originating transactions";const S=m.originTxs[m.originTxs.length-1],N=await e.getTransferMessage(v,S.txid);m={...m,attestation:{id:N.id,attestation:{message:N.message}},state:Lt.SourceFinalized},yield m}if(bf(m)){if(!m.attestation)throw"Invalid state transition: no attestation id";if(Wu(m.attestation.id)){let S=m.attestation.attestation?m.attestation.attestation:void 0;S||(S=await e.getTransferVaa(p,m.attestation.id,T(E,b)),m={...m,attestation:{id:m.attestation.id,attestation:S},state:Lt.Attested},yield m)}else if(lp(m.attestation.id)){const S=await p.getCircleAttestation(m.attestation.id.hash,b),N=m.originTxs[m.originTxs.length-1],F=await(await v.getCircleBridge()).parseTransactionDetails(N.txid);S&&(m={...m,attestation:{id:m.attestation.id,attestation:{attestation:S,message:F.message}},state:Lt.Attested},yield m)}}if(Ps(m)||bf(m)){if(!m.attestation)throw"Invalid state transition";if(Wu(m.attestation.id)){const S=await p.getTransactionStatus(m.attestation.id,T(E,b));if(S&&((D=(I=S.globalTx)==null?void 0:I.destinationTx)!=null&&D.txHash)){const{chainId:N,txHash:j}=S.globalTx.destinationTx;m={...m,destinationTxs:[{chain:Fh(N),txid:j}],state:Lt.DestinationInitiated},yield m}}}(Ps(m)||oF(m))&&(await e.isTransferComplete(C,m.attestation.attestation)&&(m={...m,state:Lt.DestinationFinalized,destinationTxs:[]}),yield m)}e.track=r;async function n(p,m,b){const v={...b};if(b.to.chain==="Solana"&&!v.automatic){const C=ur.parseAddress("Solana",na.get(m.network,m.chain));v.to=await m.getTokenAccount(v.to.address,C)}return v}e.destinationOverrides=n;async function a(p,m,b){const v=na.get(m.network,m.chain);if(!v)throw"Invalid transfer, no USDC contract on destination";const C=na.get(p.network,p.chain);if(!C)throw"Invalid transfer, no USDC contract on source";const E=ur.chainAddress(m.chain,v),T=ur.chainAddress(p.chain,C),I=(p.chain==="Polygon"?2e3*200:Z6(p.chain))+yx,D=b.automatic?ff(0,5,0):ff(24,0,0);if(!b.automatic)return{sourceToken:{token:T,amount:b.amount},destinationToken:{token:E,amount:b.amount},eta:I,expires:D};let S=b.amount;const N=b.nativeGas?b.nativeGas:0n;S-=N;const F=await(await p.getAutomaticCircleBridge()).getRelayerFee(m.chain);S-=F;let O=0n;return b.nativeGas&&(O=await(await m.getAutomaticCircleBridge()).nativeTokenAmount(N)),{sourceToken:{token:T,amount:b.amount},destinationToken:{token:E,amount:S},relayFee:{token:T,amount:F},destinationNativeGas:O,eta:I,expires:D}}e.quoteTransfer=a;async function i(p,m){if(!gf.isCircleAttestation(m))throw new Error("Must check for completion with circle message");return await(await p.getCircleBridge()).isTransferCompleted(m.message)}e.isTransferComplete=i;async function o(p,m,b){const v=await p.getVaa(m,"AutomaticCircleBridge:TransferWithRelay",b);if(!v)throw new Error("No VAA available after timeout exhausted");return v}e.getTransferVaa=o;async function u(p,m){return await(await p.getCircleBridge()).parseTransactionDetails(m)}e.getTransferMessage=u;function d(p){var S,N;const{from:m,to:b}=p.transfer;let v={from:m.chain,to:b.chain,state:Lt.Created};const C=p.txids.filter(j=>j.chain===p.transfer.from.chain);C.length>0&&(v={...v,state:Lt.SourceInitiated,originTxs:C});const E=((S=p.attestations)==null?void 0:S.filter(j=>Wu(j.id)))??[],T=((N=p.attestations)==null?void 0:N.filter(j=>lp(j.id)))??[],I=T.length>0?T[0]:E.length>0?E[0]:void 0;I&&I.id&&(v={...v,state:Lt.SourceFinalized,attestation:I},I.attestation&&(v={...v,state:Lt.Attested,attestation:{id:I.id,attestation:I.attestation}}));const D=p.txids.filter(j=>j.chain===p.transfer.to.chain);return D.length>0&&(v={...v,state:Lt.DestinationInitiated,destinationTxs:D}),v}e.getReceipt=d})(qr||(qr={}));const t5=2e3;async function cF(e,t){var d;const{chain:r,emitter:n,sequence:a}=t,i=Y6(r),o=zz("0x",n.toString()),u=`${e}/v1/signed_vaa/${i}/${o}/${a}`;try{const{data:{vaaBytes:p}}=await kr.get(u);return W6.decode(p)}catch(p){if(!p||typeof p=="object"&&(kr.isAxiosError(p)&&((d=p.response)==null?void 0:d.status)===404||"status"in p&&p.status===404))return null;throw p}}async function Cre(e,t,r){return await Kf(()=>cF(e,t),t5,r,"Wormholescan:GetVaaBytes")}async function Are(e,t,r){const n=await cF(e,t);return n?Q1(r,n):null}async function Ere(e,t,r,n){return await Kf(()=>Are(e,t,r),t5,n,"Wormholescan:GetVaaBytes")}async function Sre(e,t){var d;const{chain:r,emitter:n,sequence:a}=t,i=Y6(r),o=n.toUniversalAddress().toString(),u=`${e}/api/v1/transactions/${i}/${o}/${a}`;try{return(await kr.get(u)).data}catch(p){if(!p||typeof p=="object"&&(kr.isAxiosError(p)&&((d=p.response)==null?void 0:d.status)===404||"status"in p&&p.status===404))return null;throw p}}async function Dre(e,t,r){return await Kf(()=>Sre(e,t),t5,r,"Wormholescan:GetTransactionStatus")}async function Tre(e,t){var n;const r=`${e}/api/v1/vaas?txHash=${t}`;try{const a=await kr.get(r);if(a.data.data.length>0)return a.data.data[0]}catch(a){if(!a||typeof a=="object"&&(kr.isAxiosError(a)&&((n=a.response)==null?void 0:n.status)===404||"status"in a&&a.status===404))return null;throw a}return null}async function WE(e,t,r,n){const i=await Kf(()=>Tre(e,t),t5,n,"Wormholescan:GetVaaByTxHash");return i?Q1(r,W6.decode(i.vaa)):null}async function Ire(e,t,r=50,n=0){var i;const a=`${e}/api/v1/transactions?address=${t}&pageSize=${r}&page=${n}`;try{const o=await kr.get(a);if(o.data.transactions.length>0)return o.data.transactions}catch(o){if(!o||typeof o=="object"&&(kr.isAxiosError(o)&&((i=o.response)==null?void 0:i.status)===404||"status"in o&&o.status===404))return null;throw o}return null}async function Nre(e){const t=`${e}/v1/governor/token_list`;try{const r=await kr.get(t);if(r.data&&r.data.entries.length>0)return r.data.entries.reduce((n,a)=>{const i=Fh(a.originChainId);return n[i]=n[i]||{},n[i][a.originAddress]=a.price,n},{})}catch{}return null}async function Lre(e){const t=`${e}/v1/governor/available_notional_by_chain`;try{const r=await kr.get(t);if(r.data&&r.data.entries.length>0)return r.data.entries.reduce((n,a)=>{const i=a.bigTransactionSize==="0"?void 0:Mo(y0(a.bigTransactionSize,2));return n[Fh(a.chainId)]={available:Mo(y0(a.remainingAvailableNotional,2)),limit:Mo(y0(a.notionalLimit,2)),maxSize:i},n},{})}catch{}return null}async function jre(e,t){const{chain:r,emitter:n,sequence:a}=t,i=Y6(r),o=n.toUniversalAddress().toString(),u=`${e}/v1/governor/is_vaa_enqueued/${i}/${o}/${a}`;return(await kr.get(u)).data.isEnqueued}class Er{constructor(t,r,n,a){Ye(this,"wh");Ye(this,"fromChain");Ye(this,"toChain");Ye(this,"_state");Ye(this,"transfer");Ye(this,"txids",[]);Ye(this,"attestations");this._state=Lt.Created,this.wh=t,this.transfer=r,this.fromChain=n??t.getChain(r.from.chain),this.toChain=a??t.getChain(r.to.chain)}getTransferState(){return this._state}static async from(t,r,n=6e3,a,i){if(Tee(r))return a=a??t.getChain(r.from.chain),i=i??t.getChain(r.to.chain),Er.validateTransferDetails(t,r,a,i),r={...r,...await Er.destinationOverrides(a,i,r)},new Er(t,r,a,i);let o;if(Wu(r))o=await Er.fromIdentifier(t,r,n);else if(j_(r))o=await Er.fromTransaction(t,r,n,a);else throw new Error("Invalid `from` parameter for TokenTransfer");return o.fromChain=a??t.getChain(o.transfer.from.chain),o.toChain=i??t.getChain(o.transfer.to.chain),await o.fetchAttestation(n),o}static async fromIdentifier(t,r,n){const a=await Er.getTransferVaa(t,r,n);if(!a)throw new Error("VAA not found");const i=a.protocolName==="AutomaticTokenBridge";let o={chain:a.emitterChain,address:a.emitterAddress},{token:u,to:d}=a.payload,p;if(u.chain===o.chain)p=await t.getTokenNativeAddress(o.chain,u.chain,u.address);else{const D=await(await(await t.getChain(o.chain)).getTokenBridge()).getWrappedAsset(u);p=va(o.chain,D.toString())}const m=await t.getDecimals(o.chain,p),b=il(Kr(u.amount,Math.min(m,Er.MAX_DECIMALS)),m);let v=0n;i&&(v=a.payload.payload.toNativeTokenAmount,o={chain:a.emitterChain,address:a.payload.from},d={chain:a.payload.to.chain,address:a.payload.payload.targetRecipient});const C={token:u,amount:Jt(b),from:o,to:d,automatic:i,nativeGas:v},E=new Er(t,C);return E.attestations=[{id:r,attestation:a}],E._state=Lt.Attested,E}static async fromTransaction(t,r,n,a){a=a??t.getChain(r.chain);const i=await Er.getTransferMessage(a,r.txid,n),o=await Er.fromIdentifier(t,i,n);return o.txids=[r],o}async initiateTransfer(t){if(this._state!==Lt.Created)throw new Error("Invalid state transition in `initiateTransfer`");return this.txids=await Er.transfer(this.fromChain,this.transfer,t),this._state=Lt.SourceInitiated,this.txids.map(({txid:r})=>r)}async fetchAttestation(t){if(this._state<Lt.SourceInitiated||this._state>Lt.Attested)throw new Error("Invalid state transition in `fetchAttestation`, expected at least `SourceInitiated`");if(!this.attestations||this.attestations.length===0){if(this.txids.length===0)throw new Error("No VAAs set and txids available to look them up");const r=this.txids[this.txids.length-1],n=await Er.getTransferMessage(this.fromChain,r.txid,t);this.attestations=[{id:n}]}for(const r in this.attestations){if(this.attestations[r].attestation)continue;const n=await Er.getTransferVaa(this.wh,this.attestations[r].id,t);if(!n)throw new Error("VAA not found");this.attestations[r].attestation=n}if(this._state=Lt.Attested,this.attestations.length>0){const{attestation:r}=this.attestations[0];await Er.isTransferComplete(this.toChain,r)&&(this._state=Lt.DestinationFinalized)}return this.attestations.map(r=>r.id)}async completeTransfer(t){if(this._state<Lt.Attested)throw new Error("Invalid state transition, must be attested prior to calling `completeTransfer`.");if(!this.attestations)throw new Error("No VAA details available");const{attestation:r}=this.attestations[0];if(!r)throw new Error(`No VAA found for ${this.attestations[0].id.sequence}`);const n=await Er.redeem(this.toChain,r,t);return this.txids.push(...n),this._state=Lt.DestinationInitiated,n.map(({txid:a})=>a)}}(function(e){e.MAX_DECIMALS=8;async function t(C,E,T){const I=va(T.chain(),T.address()),D=Hh(E.token)?E.token.address:E.token;let S;return E.automatic?S=(await C.getAutomaticTokenBridge()).transfer(I,E.to,D,E.amount,E.nativeGas):S=(await C.getTokenBridge()).transfer(I,E.to,D,E.amount,E.payload),xo(C,S,T)}e.transfer=t;async function r(C,E,T){const I=va(T.chain(),T.address()),D=E.protocolName==="AutomaticTokenBridge"?(await C.getAutomaticTokenBridge()).redeem(I,E):(await C.getTokenBridge()).redeem(I,E);return xo(C,D,T)}e.redeem=r;async function*n(C,E,T=Vo,I,D){var j,F;const S=Date.now(),N=(O,W)=>Math.max(W-(Date.now()-O),0);if(I=I??C.getChain(E.from),e5(E)){if(E.originTxs.length===0)throw"Origin transactions required to fetch message id";const{txid:O}=E.originTxs[E.originTxs.length-1],W=await e.getTransferMessage(I,O,N(S,T));E={...E,state:Lt.SourceFinalized,attestation:{id:W}},yield E}if(bf(E)||PE(E)){if(!E.attestation.id)throw"Attestation id required to fetch attestation";const{id:O}=E.attestation,W=await e.getTransferVaa(C,O,N(S,T));throw W?(E={...E,attestation:{id:O,attestation:W},state:Lt.Attested},yield E):await e.isTransferEnqueued(C,O)&&(E={...E,state:Lt.InReview},yield E),new Error("Attestation not found")}if(Ps(E)||bf(E)||PE(E)){if(!E.attestation.id)throw"Attestation id required to fetch redeem tx";const{id:O}=E.attestation,W=await C.getTransactionStatus(O,N(S,T));if(W&&((F=(j=W.globalTx)==null?void 0:j.destinationTx)!=null&&F.txHash)){const{chainId:_,txHash:z}=W.globalTx.destinationTx;E={...E,destinationTxs:[{chain:Fh(_),txid:z}],state:Lt.DestinationInitiated}}yield E}if(Ps(E)||oF(E)){if(!E.attestation.attestation)throw"Signed Attestation required to check for redeem";if(E.attestation.attestation.payloadName==="AttestMeta")throw new Error("Unable to track an AttestMeta receipt");await e.isTransferComplete(D??C.getChain(E.attestation.attestation.payload.to.chain),E.attestation.attestation)&&(E={...E,state:Lt.DestinationFinalized}),yield E}yield E}e.track=n;function a(C){const{transfer:E}=C,T=E.from.chain,I=E.to.chain;let D={from:T,to:I,state:Lt.Created};const S=C.txids.filter(O=>O.chain===E.from.chain);S.length>0&&(D={...D,state:Lt.SourceInitiated,originTxs:S});const N=C.attestations&&C.attestations.length>0?C.attestations[0]:void 0,j=N&&N.id?{id:N.id,attestation:N.attestation}:void 0;j&&j.id&&(D={...D,state:Lt.SourceFinalized,attestation:{id:j.id}},j.attestation&&(D={...D,state:Lt.Attested,attestation:{id:j.id,attestation:j.attestation}}));const F=C.txids.filter(O=>O.chain===E.to.chain);return F.length>0&&(D={...D,state:Lt.DestinationFinalized,destinationTxs:F}),D}e.getReceipt=a;async function i(C,E,T){let I;const D=await C.getTokenBridge();if(mn(T.address)){const j=await D.getWrappedNative();I={chain:T.chain,address:await D.getTokenUniversalAddress(j)}}else try{let j;dn.instanceof(T.address)?j=await D.getWrappedAsset(T):j=T.address,I=await D.getOriginalAsset(j)}catch(j){if(!j.message.includes("not a wrapped asset"))throw j;let F;dn.instanceof(T.address)?F=await D.getTokenNativeAddress(C.chain,T.address):F=T.address,I={chain:T.chain,address:await D.getTokenUniversalAddress(F)}}const S=await E.getTokenBridge();if(I.chain===E.chain){const j=await S.getTokenNativeAddress(I.chain,I.address),F=await S.getWrappedNative();return Qi({chain:E.chain,address:F})===Qi({chain:E.chain,address:j})?{chain:E.chain,address:"native"}:{chain:E.chain,address:j}}const N=await S.getWrappedAsset(I);return{chain:E.chain,address:N}}e.lookupDestinationToken=i;async function o(C,E){return E.protocolName==="AutomaticTokenBridge"&&(E=Q1("TokenBridge:TransferWithPayload",vb(E))),(await C.getTokenBridge()).isTransferCompleted(E)}e.isTransferComplete=o;async function u(C,E,T){const I=await ur.parseMessageFromTx(C,E,T);if(I.length!==1)throw new Error("Expected a single Wormhole Message, got: "+I.length);return I[0]}e.getTransferMessage=u;async function d(C,E,T){const I=await C.getVaa(E,Eb.getTransferDiscriminator(),T);if(!I)return null;if(I.payloadName==="TransferWithPayload"){const{chain:D,address:S}=I.payload.to,{tokenBridgeRelayer:N}=C.config.chains[D].contracts,j=N?$J(D,N):null;if(j&&S.equals(j))return Q1("AutomaticTokenBridge:TransferWithRelay",vb(I))}return I}e.getTransferVaa=d;async function p(C,E){return await C.getIsVaaEnqueued(E)}e.isTransferEnqueued=p;function m(C,E,T,I){if(E.amount===0n)throw new Error("Amount cannot be 0");if(E.from.chain===E.to.chain)throw new Error("Cannot transfer to the same chain");if(T=T??C.getChain(E.from.chain),I=I??C.getChain(E.to.chain),E.automatic){if(E.payload)throw new Error("Payload with automatic delivery is not supported");if(!T.supportsAutomaticTokenBridge())throw new Error(`Automatic Token Bridge not supported on ${E.from.chain}`);if(!I.supportsAutomaticTokenBridge())throw new Error(`Automatic Token Bridge not supported on ${E.to.chain}`);const D=E.nativeGas??0n;if(D>E.amount)throw new Error(`Native gas amount > amount (${D} > ${E.amount})`)}else{if(E.nativeGas)throw new Error("Gas Dropoff is only supported for automatic transfers");if(!T.supportsTokenBridge())throw new Error(`Token Bridge not supported on ${E.from.chain}`);if(!I.supportsTokenBridge())throw new Error(`Token Bridge not supported on ${E.to.chain}`)}}e.validateTransferDetails=m;async function b(C,E,T,I){const D=await E.getTokenBridge();let S;if(mn(I.token.address))S=await D.getWrappedNative();else if(dn.instanceof(I.token.address))try{S=await D.getWrappedAsset(I.token)}catch(M){if(!M.message.includes("not a wrapped asset"))throw M;S=await D.getTokenNativeAddress(E.chain,I.token.address)}else S=I.token.address;ur.tokenId(E.chain,S.toString());const N=await E.getDecimals(S),j=Kr(I.amount,N),F=Pa(j,e.MAX_DECIMALS),[O,W]=await Promise.all([Nre(C.config.api),Lre(C.config.api)]),_=[];if(W!==null&&E.chain in W&&O!==null){let M;if(mn(I.token.address))M={chain:E.chain,address:await D.getTokenUniversalAddress(S)};else try{M=await D.getOriginalAsset(I.token.address)}catch(B){if(!B.message.includes("not a wrapped asset"))throw B;M={chain:E.chain,address:await D.getTokenUniversalAddress(S)}}if(M.chain in O&&M.address.toString()in O[M.chain]){const B=W[E.chain],Q=O[M.chain][M.address.toString()]*Mo(F);B.maxSize&&Q>B.maxSize&&_.push({type:"GovernorLimitWarning",reason:"ExceedsLargeTransferLimit"}),Q>B.available&&_.push({type:"GovernorLimitWarning",reason:"ExceedsRemainingNotional"})}}const z=await e.lookupDestinationToken(E,T,I.token),k=await T.getDecimals(z.address),w=il(F,k),s=Z6(E.chain)+yx;if(!I.automatic)return{sourceToken:{token:I.token,amount:Jt(F)},destinationToken:{token:z,amount:Jt(w)},warnings:_.length>0?_:void 0,eta:s,expires:ff(24,0,0)};const f=await(await E.getAutomaticTokenBridge()).getRelayerFee(T.chain,S),h=il(Pa(Kr(f,N),e.MAX_DECIMALS),k),g=I.nativeGas??0n,x=Jt(il(Pa(Kr(g,N),e.MAX_DECIMALS),k)),A=890880n;let y=0n;if(I.nativeGas){const M=await T.getAutomaticTokenBridge(),[B,R]=await Promise.all([M.maxSwapAmount(z.address),M.nativeTokenAmount(z.address,x)]);if(x>B)throw new Error(`Native gas amount exceeds maximum swap amount: ${OA(x,k)}>${OA(B,k)}`);if(T.chain==="Solana"&&R<A)throw new Error(`Native gas amount must be at least ${A} lamports`);y=R}const c=Jt(w)-x-Jt(h);if(z.chain==="Solana"){const M=await T.getNativeWrappedTokenId();if((mn(z.address)||zs(z,M))&&c<A)throw new Error(`Destination amount must be at least ${A} lamports`)}return{sourceToken:{token:I.token,amount:Jt(F)},destinationToken:{token:z,amount:c},relayFee:{token:z,amount:Jt(h)},destinationNativeGas:y,warnings:_.length>0?_:void 0,eta:s,expires:ff(0,5,0)}}e.quoteTransfer=b;async function v(C,E,T){const I={...T};if(T.to.chain==="Solana"&&!I.automatic){const D=await e.lookupDestinationToken(C,E,I.token);if(mn(D.address)){const S=await E.getNativeWrappedTokenId();I.to=await E.getTokenAccount(I.to.address,S.address)}else I.to=await E.getTokenAccount(I.to.address,D.address)}if(I.to.chain==="Sei"){if(I.to.chain==="Sei"&&I.payload)throw new Error("Arbitrary payloads unsupported for Sei");I.payload=ai.encode(JSON.stringify({basic_recipient:{recipient:W6.encode(I.to.address.toString())}}));const D=E.config.contracts.translator;if(D===void 0||D==="")throw new Error("Unexpected empty translator address");I.to=ur.chainAddress(I.to.chain,D)}return I}e.destinationOverrides=v})(Er||(Er={}));function Bre(e){if(e.length===0)return[];const{chain:t}=e[0];if(!e.every(r=>r.chain===t))throw new Error("Not every chain is equal");return Array.from(new Set(e.map(r=>Qi(r)))).map(r=>ur.tokenId(t,r))}async function HE(e,t,r){const n=Qi(t),a=e.config.tokenMap?Gf.byAddress(e.config.tokenMap,n):void 0,i=a?a.symbol:void 0,o=mn(t.address)?await e.getNativeWrappedTokenId():void 0;return r=r??await e.getDecimals(t.address),{id:t,decimals:r,wrapped:o,symbol:i}}class kre{constructor(t,r){Ye(this,"wh");Ye(this,"routeConstructors");Ye(this,"inputTokenList");this.wh=t,this.routeConstructors=r}async supportedDestinationTokens(t,r,n){const[,a]=q4(r.network,r.chain,t),i=await Promise.all(this.routeConstructors.map(async o=>{if(!o.supportedNetworks().includes(r.network))return[];const d=o.supportedChains(r.network);if(!d.includes(r.chain)||!d.includes(n.chain))return[];try{return await o.supportedDestinationTokens(a,r,n)}catch{return[]}}));return Bre(i.flat())}async findRoutes(t){return(await Promise.all(this.routeConstructors.map(async n=>{try{const a=n.supportedNetworks().includes(this.wh.network)&&n.supportedChains(this.wh.network).includes(t.toChain.chain)&&n.supportedChains(this.wh.network).includes(t.fromChain.chain),i=Qi(mn(t.destination.id.address)?t.destination.wrapped:t.destination.id),o=(await n.supportedDestinationTokens(t.source.id,t.fromChain,t.toChain)).filter(u=>Qi(u)===i).length>0;return a&&o}catch{return!1}})).then(n=>this.routeConstructors.filter((a,i)=>n[i]))).map(n=>new n(this.wh))}}class ur{constructor(t,r,n){Ye(this,"_network");Ye(this,"_platforms");Ye(this,"_chains");Ye(this,"config");this._network=t,this.config=gre(t,n),this._chains=new Map,this._platforms=new Map;for(const a of r)this._platforms.set(a._platform,new a(t,this.config.chains))}get network(){return this._network}async circleTransfer(t,r,n,a,i,o){if(a&&i)throw new Error("Payload with automatic delivery is not supported");if(!ub(this.network,r.chain)||!ub(this.network,n.chain)||!qA(this.network,r.chain)||!qA(this.network,n.chain))throw new Error(`Network and chain not supported: ${this.network} ${r.chain} `);if(a){const p=await(await this.getChain(r.chain).getAutomaticCircleBridge()).getRelayerFee(n.chain)+(o||0n);if(t<p)throw new Error(`Amount must be > ${p} (relayerFee + nativeGas)`)}return await qr.from(this,{amount:t,from:r,to:n,automatic:a,payload:i,nativeGas:o})}async tokenTransfer(t,r,n,a,i,o,u){return await Er.from(this,{token:t,amount:r,from:n,to:a,automatic:i,payload:o,nativeGas:u})}resolver(t){return new kre(this,t)}getContracts(t){var r;return(r=this.config.chains[t])==null?void 0:r.contracts}getPlatform(t){const r=this._platforms.get(t);if(!r)throw new Error(`Not able to retrieve platform ${t}. Did it get registered in the constructor?`);return r}getChain(t){const r=Yn(t);return this._chains.has(t)||this._chains.set(t,this.getPlatform(r).getChain(t)),this._chains.get(t)}async getWrappedAsset(t,r){const a=await this.getChain(t).getTokenBridge();return{chain:t,address:await a.getWrappedAsset(r)}}async getOriginalAsset(t){return await(await this.getChain(t.chain).getTokenBridge()).getOriginalAsset(t.address)}async getTokenUniversalAddress(t,r){return await(await this.getChain(t).getTokenBridge()).getTokenUniversalAddress(r)}async getTokenNativeAddress(t,r,n){return await(await this.getChain(t).getTokenBridge()).getTokenNativeAddress(r,n)}async getDecimals(t,r){return await this.getChain(t).getDecimals(r)}async getBalance(t,r,n){return this.getChain(t).getBalance(n,r)}async getTokenAccount(t,r){return this.getChain(t.chain).getTokenAccount(t.address,r.address)}async getVaaBytes(t,r=Vo){return await Cre(this.config.api,t,r)}async getVaa(t,r,n=Vo){return typeof t=="string"?await WE(this.config.api,t,r,n):await Ere(this.config.api,t,r,n)}async getIsVaaEnqueued(t){return await jre(this.config.api,t)}async getCircleAttestation(t,r=Vo){return xre(this.config.circleAPI,t,r)}async getTransactionStatus(t,r=Vo){let n;if(typeof t=="string"){const a=await WE(this.config.api,t,"Uint8Array",r);if(!a)return null;n={emitter:a.emitterAddress,chain:a.emitterChain,sequence:a.sequence}}else n=t;return await Dre(this.config.api,n,r)}async getTransactionsForAddress(t,r=50,n=0){return Ire(this.config.api,t,r,n)}static parseAddress(t,r){return va(t,r)}static canonicalAddress(t){return Qi(t)}static chainAddress(t,r){return{chain:t,address:ur.parseAddress(t,r)}}static tokenId(t,r){return mn(r)?L_(t):this.chainAddress(t,r)}static async parseMessageFromTx(t,r,n=Vo){const i=await Kf(async()=>{try{const o=await t.parseTransaction(r);return o.length===0?null:o}catch(o){return console.error(o),null}},t.config.blockTime,n,"WormholeCore:ParseMessageFromTransaction");if(!i)throw new Error(`No WormholeMessageId found for ${r}`);return i}}class lF{constructor(t){Ye(this,"wh");this.wh=t}transferUrl(t){return`https://wormholescan.io/#/tx/${t}?network=${this.wh.network}`}}class r5 extends lF{}Ye(r5,"IS_AUTOMATIC",!0);class V1 extends lF{}Ye(V1,"NATIVE_GAS_DROPOFF_SUPPORTED",!1),Ye(V1,"IS_AUTOMATIC",!1);function jb(e){return e.complete!==void 0}function Bb(e){return e.finalize!==void 0}class jx{constructor(t,r,n,a,i){Ye(this,"source");Ye(this,"destination");Ye(this,"fromChain");Ye(this,"toChain");Ye(this,"recipient");this.fromChain=t,this.toChain=r,this.source=n,this.destination=a,this.recipient=i}parseAmount(t){return y0(t,this.source.decimals)}amountFromBaseUnits(t){return Kr(t,this.source.decimals)}async displayQuote(t,r,n){let a={success:!0,sourceToken:{token:t.sourceToken.token,amount:Kr(t.sourceToken.amount,this.source.decimals)},destinationToken:{token:t.destinationToken.token,amount:Kr(t.destinationToken.amount,this.destination.decimals)},params:r};if(t.relayFee){const o=await(t.relayFee.token.chain===this.fromChain.chain?this.fromChain:this.toChain).getDecimals(t.relayFee.token.address);a.relayFee={token:t.relayFee.token,amount:Kr(t.relayFee.amount,o)}}if(t.destinationNativeGas){const i=await this.toChain.getDecimals("native");a.destinationNativeGas=Kr(t.destinationNativeGas,i)}return t.warnings&&t.warnings.length>0&&(a.warnings=[...t.warnings]),a.eta=t.eta,a.expires=t.expires,n&&(a.details=n),a}static async create(t,r,n,a){n=n??t.getChain(r.source.chain),a=a??t.getChain(r.destination.chain);const i=await HE(n,r.source,r.sourceDecimals),o=await HE(a,r.destination,r.destinationDecimals);return new jx(n,a,i,o,r.recipient)}}class uF extends Error{constructor(r){super(`Minimum transfer amount is ${gn(r)}`);Ye(this,"min");this.min=r}minAmount(){return this.min}}class fF extends Error{constructor(t){super(t)}}class kb extends r5{static supportedNetworks(){return["Mainnet","Testnet"]}static supportedChains(t){return XA.has(t)?XA.get(t):[]}static async supportedDestinationTokens(t,r,n){try{if(!mn(t)&&!await(await r.getAutomaticTokenBridge()).isRegisteredToken(t.address))return[];const a=await Er.lookupDestinationToken(r,n,t);return await(await n.getAutomaticTokenBridge()).isRegisteredToken(a.address)?[a]:[]}catch{return[]}}getDefaultOptions(){return{nativeGas:0}}async validate(t,r){try{const n=r.options??this.getDefaultOptions();if(n.nativeGas&&(n.nativeGas>1||n.nativeGas<0))throw new Error("Native gas must be between 0.0 and 1.0 (0% and 100%)");const{destination:a}=t;mn(a.id.address)&&n.nativeGas===0&&(n.nativeGas=0);const i={...r,options:n};return{valid:!0,params:{...i,normalizedParams:await this.normalizeTransferParams(t,i)}}}catch(n){return{valid:!1,params:r,error:n}}}async normalizeTransferParams(t,r){const n=t.parseAmount(r.amount),a=mn(t.source.id.address)?await t.fromChain.getNativeWrappedTokenId():t.source.id,o=await(await t.fromChain.getAutomaticTokenBridge()).getRelayerFee(t.toChain.chain,a.address),u=o*105n/100n;if(Jt(n)<u)throw new uF(Kr(u,n.decimals));const d=Jt(n)-o;let p=Kr(0n,t.source.decimals);if(r.options&&r.options.nativeGas>0){let b=await(await t.toChain.getAutomaticTokenBridge()).maxSwapAmount(t.destination.id.address);const v=Pa(Kr(d,n.decimals),Er.MAX_DECIMALS),C=await t.toChain.getDecimals(t.destination.id.address),E=Jt(il(v,C));E<b&&(b=E);const T=1e4,I=BigInt(Math.floor(r.options.nativeGas*T)),D=b*I/BigInt(T),S=Kr(D,t.destination.decimals);p=il(Pa(S,Er.MAX_DECIMALS),t.source.decimals),Jt(p)>d&&(p=Kr(d,t.source.decimals))}return{fee:Kr(o,t.source.decimals),amount:n,nativeGasAmount:p}}async quote(t,r){const n=await t.fromChain.getAutomaticTokenBridge();if(Hh(t.source.id)&&!await n.isRegisteredToken(t.source.id.address))return{success:!1,error:new Error("Source token is not registered")};try{let a=await Er.quoteTransfer(this.wh,t.fromChain,t.toChain,{automatic:!0,amount:Jt(r.normalizedParams.amount),token:t.source.id,nativeGas:Jt(r.normalizedParams.nativeGasAmount)});return t.displayQuote(a,r)}catch(a){return{success:!1,error:a}}}async initiate(t,r,n,a){const{params:i}=n,o=this.toTransferDetails(t,i,ur.chainAddress(r.chain(),r.address()),a),u=await Er.transfer(t.fromChain,o,r);return{from:o.from.chain,to:o.to.chain,state:Lt.SourceInitiated,originTxs:u}}async*track(t,r){try{yield*Er.track(this.wh,t,r)}catch(n){throw n}}toTransferDetails(t,r,n,a){return{from:n,to:a,automatic:!0,amount:Jt(r.normalizedParams.amount),token:t.source.id,nativeGas:Jt(r.normalizedParams.nativeGasAmount)}}}Ye(kb,"NATIVE_GAS_DROPOFF_SUPPORTED",!0),Ye(kb,"meta",{name:"AutomaticTokenBridge"});class dF extends V1{static supportedNetworks(){return["Mainnet","Testnet"]}static supportedChains(t){return Gz(t)}static async supportedDestinationTokens(t,r,n){try{return[await Er.lookupDestinationToken(r,n,t)]}catch{return[]}}getDefaultOptions(){return{payload:void 0}}async validate(t,r){const n=y0(r.amount,t.source.decimals);return{valid:!0,params:{amount:r.amount,normalizedParams:{amount:n},options:{}}}}async quote(t,r){try{return t.displayQuote(await Er.quoteTransfer(this.wh,t.fromChain,t.toChain,{token:t.source.id,amount:Jt(r.normalizedParams.amount),...r.options}),r)}catch(n){return{success:!1,error:n}}}async initiate(t,r,n,a){const{params:i}=n,o=await Er.destinationOverrides(t.fromChain,t.toChain,this.toTransferDetails(t,i,ur.chainAddress(r.chain(),r.address()),a)),u=await Er.transfer(t.fromChain,o,r);return{from:o.from.chain,to:o.to.chain,state:Lt.SourceInitiated,originTxs:u}}async complete(t,r){if(!Ps(r))throw new Error("The source must be finalized in order to complete the transfer");const n=this.wh.getChain(r.to),a=await Er.redeem(n,r.attestation.attestation,t);return{...r,state:Lt.DestinationInitiated,destinationTxs:a}}async resume(t){const r=await Er.from(this.wh,t,1e4);return Er.getReceipt(r)}async*track(t,r){yield*Er.track(this.wh,t,r)}toTransferDetails(t,r,n,a){return{from:n,to:a,token:t.source.id,amount:Jt(r.normalizedParams.amount),...r.options}}}Ye(dF,"meta",{name:"ManualTokenBridge"});const YE=15n,zre=100n,Km=10000n,Nu=class Nu extends r5{static supportedNetworks(){return["Mainnet"]}static supportedChains(t){return JA.has(t)?JA.get(t):[]}static async supportedDestinationTokens(t,r,n){const[,a]=q4(r.network,r.chain,t),i=Qi(a),o=await r.getPorticoBridge();if(!o.supportedTokens().some(b=>Qi(b.token)===i))return[];try{const b=await o.getTransferrableToken(i);await Er.lookupDestinationToken(r,n,b)}catch{return[]}const d=(await n.getPorticoBridge()).supportedTokens(),{tokenMap:p}=n.config,m=o.getTokenGroup(i);return d.filter(b=>(b.group===m||b.group==="ETH"&&m==="WETH"||b.group==="WETH"&&m==="ETH")&&(!p||Gf.byAddress(p,Qi(b.token)))).map(b=>b.token)}getDefaultOptions(){return{}}async validate(t,r){try{if(!Nu.supportedChains(t.fromChain.network).includes(t.fromChain.chain)||!Nu.supportedChains(t.toChain.network).includes(t.toChain.chain))throw new Error("Protocol not supported");const{fromChain:n,toChain:a,source:i,destination:o}=t,{network:u}=n,[,d]=q4(u,n.chain,i.id),[,p]=q4(u,a.chain,o.id),m=await n.getPorticoBridge(),b=await a.getPorticoBridge(),v=await m.getTransferrableToken(Qi(d)),C=await b.getTransferrableToken(Qi(p));return{valid:!0,params:{amount:r.amount,options:r.options??this.getDefaultOptions(),normalizedParams:{amount:t.parseAmount(r.amount),canonicalSourceToken:v,canonicalDestinationToken:C,sourceToken:d,destinationToken:p}}}}catch(n){return{valid:!1,error:n,params:r}}}async quote(t,r){try{const n=await this.fetchSwapQuote(t,r),a=Math.max(t.source.decimals,t.destination.decimals),i=Jt(il(r.normalizedParams.amount,a));if(Jt(il(Kr(n.minAmountFinish,t.destination.decimals),a))<i-i*zre/Km)throw new Error("Slippage too high");const d=await(await t.toChain.getPorticoBridge()).quoteRelay(r.normalizedParams.canonicalDestinationToken.address,r.normalizedParams.destinationToken.address),p={swapAmounts:n,relayerFee:d},m=p.swapAmounts.minAmountFinish-d;return m<0n?{success:!1,error:new Error(`Amount too low for slippage and fee, would result in negative destination amount (${m})`)}:await t.displayQuote({sourceToken:{token:r.normalizedParams.sourceToken,amount:Jt(r.normalizedParams.amount)},destinationToken:{token:r.normalizedParams.destinationToken,amount:p.swapAmounts.minAmountFinish-d},relayFee:{token:r.normalizedParams.destinationToken,amount:d},eta:Z6(t.fromChain.chain),expires:ff(0,5,0)},r,p)}catch(n){return{success:!1,error:n}}}async initiate(t,r,n,a){const{params:i,details:o}=n,u=t.source.id.address,d=t.destination.id,p=await t.fromChain.getPorticoBridge(),m=p.getTokenGroup(u.toString()),v=(await t.toChain.getPorticoBridge()).getPorticoAddress(m),C=p.transfer(ur.parseAddress(r.chain(),r.address()),a,u,Jt(i.normalizedParams.amount),d,v,o);return{originTxs:await xo(t.fromChain,C,r),state:Lt.SourceInitiated,from:t.fromChain.chain,to:t.toChain.chain}}async*track(t,r){if(e5(t)||bf(t)){const{txid:n}=t.originTxs[t.originTxs.length-1],a=await this.wh.getVaa(n,"PorticoBridge:Transfer",r);if(!a)throw new Error("No VAA found for transaction: "+n);const i={chain:a.emitterChain,emitter:a.emitterAddress,sequence:a.sequence};t={...t,state:Lt.Attested,attestation:{id:i,attestation:a}},yield t}Ps(t)&&await(await this.wh.getChain(t.to).getPorticoBridge()).isTransferCompleted(t.attestation.attestation)&&(t={...t,state:Lt.DestinationFinalized},yield t),yield t}async complete(t,r){if(!Ps(r))throw new Error("Source must be attested");const n=await this.wh.getChain(r.to),a=await n.getPorticoBridge(),i=ur.chainAddress(t.chain(),t.address()),o=a.redeem(i.address,r.attestation.attestation);return await xo(n,o,t)}async fetchSwapQuote(t,r){const n=await t.fromChain.getPorticoBridge(),a=Jt(r.normalizedParams.amount),i=n.getTokenGroup(Qi(r.normalizedParams.sourceToken)),o=await n.quoteSwap(r.normalizedParams.sourceToken.address,r.normalizedParams.canonicalSourceToken.address,i,a),u=o*YE/Km;if(u>=o)throw new Error("Start slippage too high");const d=await t.toChain.getPorticoBridge(),p=o-u,m=await d.quoteSwap(r.normalizedParams.canonicalDestinationToken.address,r.normalizedParams.destinationToken.address,i,p),b=m*YE/Km;if(b>=m)throw new Error("Finish slippage too high");const v=m-b;return{minAmountStart:p,minAmountFinish:v}}};Ye(Nu,"NATIVE_GAS_DROPOFF_SUPPORTED",!1),Ye(Nu,"meta",{name:"AutomaticPortico"});let zb=Nu;class hF extends V1{static supportedNetworks(){return["Mainnet","Testnet"]}static supportedChains(t){return np.has(t)?np.get(t):[]}static async supportedDestinationTokens(t,r,n){const a=na.get(r.network,r.chain);if(!a)return[];if(!zs(t,ur.tokenId(r.chain,a)))return[];const{network:i,chain:o}=n;return na.has(i,o)?[ur.chainAddress(o,na.get(i,o))]:[]}getDefaultOptions(){return{payload:void 0}}async validate(t,r){return{valid:!0,params:{normalizedParams:{amount:t.parseAmount(r.amount)},options:r.options??this.getDefaultOptions(),...r}}}async quote(t,r){try{return t.displayQuote(await qr.quoteTransfer(t.fromChain,t.toChain,{automatic:!1,amount:Jt(r.normalizedParams.amount),...r.options}),r)}catch(n){return{success:!1,error:n}}}async initiate(t,r,n,a){const{params:i}=n,o=await qr.destinationOverrides(t.fromChain,t.toChain,this.toTransferDetails(i,ur.chainAddress(r.chain(),r.address()),a)),u=await qr.transfer(t.fromChain,o,r),d=await qr.getTransferMessage(t.fromChain,u[u.length-1].txid);return{from:o.from.chain,to:o.to.chain,state:Lt.SourceFinalized,originTxs:u,attestation:{id:d.id,attestation:{message:d.message}}}}async complete(t,r){if(!Ps(r))throw new Error("The source must be finalized in order to complete the transfer");const{id:n,attestation:a}=r.attestation;if(gf.isCircleAttestation(a)){const{message:i,attestation:o}=a;if(!o)throw new Error(`No Circle attestation for ${n}`);const u=this.wh.getChain(r.to),d=await u.getCircleBridge(),p=ur.parseAddress(t.chain(),t.address()),m=d.redeem(p,i,o),b=await xo(u,m,t);return{...r,state:Lt.DestinationInitiated,destinationTxs:b}}else return r}async resume(t){const r=await qr.from(this.wh,t,1e4);return qr.getReceipt(r)}async*track(t,r){yield*qr.track(this.wh,t,r)}toTransferDetails(t,r,n){return{from:r,to:n,amount:Jt(t.normalizedParams.amount),automatic:!1,...t.options}}}Ye(hF,"meta",{name:"ManualCCTP",provider:"Circle"});class _b extends r5{static supportedNetworks(){return["Mainnet","Testnet"]}static supportedChains(t){return np.has(t)?np.get(t).filter(n=>{var a;return(a=fb.get(t,n))==null?void 0:a.wormholeRelayer}):[]}static async supportedDestinationTokens(t,r,n){const a=na.get(r.network,r.chain);if(!a)return[];if(!zs(t,ur.tokenId(r.chain,a)))return[];const{network:i,chain:o}=n;return na.has(i,o)?[ur.chainAddress(o,na.get(i,o))]:[]}getDefaultOptions(){return{nativeGas:0}}async validate(t,r){try{const n=r.options??this.getDefaultOptions();return{valid:!0,params:{normalizedParams:await this.normalizeTransferParams(t,r),options:n,...r}}}catch(n){return{valid:!1,params:r,error:n}}}async quote(t,r){try{return t.displayQuote(await qr.quoteTransfer(t.fromChain,t.toChain,{automatic:!0,amount:Jt(r.normalizedParams.amount),nativeGas:Jt(r.normalizedParams.nativeGasAmount)}),r)}catch(n){return{success:!1,error:n}}}async normalizeTransferParams(t,r){const n=t.parseAmount(r.amount),i=await(await t.fromChain.getAutomaticCircleBridge()).getRelayerFee(t.toChain.chain),o=i*105n/100n;if(Jt(n)<o)throw new uF(Kr(o,n.decimals));const u=Jt(n)-i,p=(r.options??this.getDefaultOptions()).nativeGas??0;if(p>1||p<0)throw new Error("Native gas must be between 0.0 and 1.0 (0% and 100%)");let m=0n;if(p>0){let v=await(await t.toChain.getAutomaticCircleBridge()).maxSwapAmount();u<v&&(v=u);const C=1e4,E=BigInt(Math.floor(p*C));m=v*E/BigInt(C),m===u&&m>0n&&(m-=1n)}return{fee:t.amountFromBaseUnits(i),amount:n,nativeGasAmount:t.amountFromBaseUnits(m)}}toTransferDetails(t,r,n){return{from:r,to:n,amount:Jt(t.normalizedParams.amount),automatic:!0,nativeGas:Jt(t.normalizedParams.nativeGasAmount)}}async initiate(t,r,n,a){const{params:i}=n;let o=this.toTransferDetails(i,ur.chainAddress(r.chain(),r.address()),a),u=await qr.transfer(t.fromChain,o,r);const d=await qr.getTransferMessage(t.fromChain,u[u.length-1].txid);return{from:o.from.chain,to:o.to.chain,state:Lt.SourceFinalized,originTxs:u,attestation:{id:d.id,attestation:{message:d.message}}}}async*track(t,r){yield*qr.track(this.wh,t,r)}}Ye(_b,"NATIVE_GAS_DROPOFF_SUPPORTED",!0),Ye(_b,"meta",{name:"AutomaticCCTP",provider:"Circle"});class pF extends V1{static supportedNetworks(){return["Mainnet"]}static supportedChains(t){return Gz(t)}static async supportedDestinationTokens(t,r,n){if(!await this.isSourceTokenSupported(t,r))return[];const a=rs.getNativeTbtcToken(n.chain);if(a)return[a];const i=await n.getTokenBridge(),o=rs.getNativeTbtcToken("Ethereum");try{const u=await i.getWrappedAsset(o);return[ur.tokenId(n.chain,u.toString())]}catch(u){if(u.message.includes("not a wrapped asset"))return[];throw u}}getDefaultOptions(){return{}}async validate(t,r){return{valid:!0,params:{normalizedParams:{amount:t.parseAmount(r.amount)},options:r.options??this.getDefaultOptions(),...r}}}async quote(t,r){const n=Z6(t.fromChain.chain)+yx;return{success:!0,params:r,sourceToken:{token:t.source.id,amount:r.normalizedParams.amount},destinationToken:{token:t.destination.id,amount:r.normalizedParams.amount},eta:n,expires:ff(24,0,0)}}async initiate(t,r,n,a){const i=Jt(n.params.normalizedParams.amount),o=t.fromChain.chain==="Ethereum",u=rs.getNativeTbtcToken(t.fromChain.chain),d=u&&zs(n.sourceToken.token,u);if(d&&!o)return await this.transferNative(t,r,a,i);if(!d&&o)throw new Error("Only tbtc can be transferred on Ethereum");if(!d){const m=await(await t.fromChain.getTokenBridge()).getOriginalAsset(n.sourceToken.token.address),b=rs.getNativeTbtcToken("Ethereum");if(!zs(m,b))throw new Error("Can only transfer wrapped tbtc")}return await this.transferWrapped(t,r,a,i)}async transferNative(t,r,n,a){const i=ur.parseAddress(r.chain(),r.address()),u=(await t.fromChain.getTBTCBridge()).transfer(i,n,a);return{originTxs:await xo(t.fromChain,u,r),state:Lt.SourceInitiated,from:t.fromChain.chain,to:t.toChain.chain}}async transferWrapped(t,r,n,a){const i=ur.parseAddress(r.chain(),r.address()),o=Q4.get(t.fromChain.network,n.chain),u=await t.fromChain.getTokenBridge();let d;return o?d=u.transfer(i,ur.chainAddress(t.toChain.chain,o),t.source.id.address,a,n.address.toUniversalAddress().toUint8Array()):d=u.transfer(i,n,t.source.id.address,a),{originTxs:await xo(t.fromChain,d,r),state:Lt.SourceInitiated,from:t.fromChain.chain,to:t.toChain.chain}}async complete(t,r){if(!Ps(r))throw new Error("The source must be finalized in order to complete the transfer");const n=ur.parseAddress(t.chain(),t.address()),a=r.attestation.attestation,i=this.wh.getChain(r.to);let o;if(a.payloadLiteral==="TBTCBridge:GatewayTransfer")o=(await i.getTBTCBridge()).redeem(n,a);else{const d=await i.getTokenBridge(),p=vb(a),m=Q1("TokenBridge:Transfer",p);o=d.redeem(n,m)}const u=await xo(i,o,t);return{...r,state:Lt.DestinationInitiated,destinationTxs:u}}async resume(t){const r=await this.wh.getVaa(t.txid,rs.getTransferDiscriminator());if(!r)throw new Error("No VAA found for transaction: "+t);const n=rs.getNativeTbtcToken("Ethereum"),{chain:a,address:i}=r.payload.token;if(!zs(n,{chain:a,address:i}))throw new Error("Can only resume tbtc transfers");return{originTxs:[t],state:Lt.Attested,from:r.emitterChain,to:r.payload.to.chain,attestation:{id:{chain:r.emitterChain,emitter:r.emitterAddress,sequence:r.sequence},attestation:r}}}async*track(t,r){if(e5(t)||bf(t)){const{txid:n}=t.originTxs[t.originTxs.length-1],a=await this.wh.getVaa(n,rs.getTransferDiscriminator(),r);if(!a)throw new Error("No VAA found for transaction: "+n);const i={chain:a.emitterChain,emitter:a.emitterAddress,sequence:a.sequence};t={...t,state:Lt.Attested,attestation:{id:i,attestation:a}},yield t}Ps(t)&&await(await this.wh.getChain(t.to).getTokenBridge()).isTransferCompleted(t.attestation.attestation)&&(t={...t,state:Lt.DestinationFinalized},yield t),yield t}static async isSourceTokenSupported(t,r){if(mn(t.address))return!1;const n=rs.getNativeTbtcToken(r.chain);if(n&&zs(t,n))return!0;const a=await r.getTokenBridge();try{const i=await a.getOriginalAsset(t.address);return zs(i,rs.getNativeTbtcToken("Ethereum"))}catch(i){if(i.message.includes("not a wrapped asset"))return!1;throw i}}}Ye(pF,"meta",{name:"ManualTBTC"});function _re(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var mF={exports:{}},ir={},W2={exports:{}},Fb={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */(function(e,t){var r=vt,n=r.Buffer;function a(o,u){for(var d in o)u[d]=o[d]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=i);function i(o,u,d){return n(o,u,d)}i.prototype=Object.create(n.prototype),a(n,i),i.from=function(o,u,d){if(typeof o=="number")throw new TypeError("Argument must not be a number");return n(o,u,d)},i.alloc=function(o,u,d){if(typeof o!="number")throw new TypeError("Argument must be a number");var p=n(o);return u!==void 0?typeof d=="string"?p.fill(u,d):p.fill(u):p.fill(0),p},i.allocUnsafe=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return n(o)},i.allocUnsafeSlow=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(o)}})(Fb,Fb.exports);var ar=Fb.exports,ZE;function Xf(){if(ZE)return W2.exports;ZE=1;var e=65536,t=4294967295;function r(){throw new Error(`Secure random number generation is not supported by this browser.
105
105
  Use Chrome, Firefox or Internet Explorer 11`)}var n=ar.Buffer,a=Ut.crypto||Ut.msCrypto;a&&a.getRandomValues?W2.exports=i:W2.exports=r;function i(o,u){if(o>t)throw new RangeError("requested too many random bytes");var d=n.allocUnsafe(o);if(o>0)if(o>e)for(var p=0;p<o;p+=e)a.getRandomValues(d.slice(p,p+e));else a.getRandomValues(d);return typeof u=="function"?Je.process.nextTick(function(){u(null,d)}):d}return W2.exports}var Ob={exports:{}};typeof Object.create=="function"?Ob.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Ob.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}};var Kt=Ob.exports,Bx={exports:{}},Hu=typeof Reflect=="object"?Reflect:null,GE=Hu&&typeof Hu.apply=="function"?Hu.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},X4;Hu&&typeof Hu.ownKeys=="function"?X4=Hu.ownKeys:Object.getOwnPropertySymbols?X4=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:X4=function(t){return Object.getOwnPropertyNames(t)};function Fre(e){console&&console.warn&&console.warn(e)}var gF=Number.isNaN||function(t){return t!==t};function Jr(){Jr.init.call(this)}Bx.exports=Jr;Bx.exports.once=Pre;Jr.EventEmitter=Jr;Jr.prototype._events=void 0;Jr.prototype._eventsCount=0;Jr.prototype._maxListeners=void 0;var QE=10;function n5(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Jr,"defaultMaxListeners",{enumerable:!0,get:function(){return QE},set:function(e){if(typeof e!="number"||e<0||gF(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");QE=e}});Jr.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Jr.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||gF(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function yF(e){return e._maxListeners===void 0?Jr.defaultMaxListeners:e._maxListeners}Jr.prototype.getMaxListeners=function(){return yF(this)};Jr.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var a=t==="error",i=this._events;if(i!==void 0)a=a&&i.error===void 0;else if(!a)return!1;if(a){var o;if(r.length>0&&(o=r[0]),o instanceof Error)throw o;var u=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw u.context=o,u}var d=i[t];if(d===void 0)return!1;if(typeof d=="function")GE(d,this,r);else for(var p=d.length,m=wF(d,p),n=0;n<p;++n)GE(m[n],this,r);return!0};function bF(e,t,r,n){var a,i,o;if(n5(r),i=e._events,i===void 0?(i=e._events=Object.create(null),e._eventsCount=0):(i.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),o=i[t]),o===void 0)o=i[t]=r,++e._eventsCount;else if(typeof o=="function"?o=i[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),a=yF(e),a>0&&o.length>a&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,Fre(u)}return e}Jr.prototype.addListener=function(t,r){return bF(this,t,r,!1)};Jr.prototype.on=Jr.prototype.addListener;Jr.prototype.prependListener=function(t,r){return bF(this,t,r,!0)};function Ore(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function MF(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},a=Ore.bind(n);return a.listener=r,n.wrapFn=a,a}Jr.prototype.once=function(t,r){return n5(r),this.on(t,MF(this,t,r)),this};Jr.prototype.prependOnceListener=function(t,r){return n5(r),this.prependListener(t,MF(this,t,r)),this};Jr.prototype.removeListener=function(t,r){var n,a,i,o,u;if(n5(r),a=this._events,a===void 0)return this;if(n=a[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete a[t],a.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===r||n[o].listener===r){u=n[o].listener,i=o;break}if(i<0)return this;i===0?n.shift():Rre(n,i),n.length===1&&(a[t]=n[0]),a.removeListener!==void 0&&this.emit("removeListener",t,u||r)}return this};Jr.prototype.off=Jr.prototype.removeListener;Jr.prototype.removeAllListeners=function(t){var r,n,a;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var i=Object.keys(n),o;for(a=0;a<i.length;++a)o=i[a],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(a=r.length-1;a>=0;a--)this.removeListener(t,r[a]);return this};function xF(e,t,r){var n=e._events;if(n===void 0)return[];var a=n[t];return a===void 0?[]:typeof a=="function"?r?[a.listener||a]:[a]:r?Ure(a):wF(a,a.length)}Jr.prototype.listeners=function(t){return xF(this,t,!0)};Jr.prototype.rawListeners=function(t){return xF(this,t,!1)};Jr.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):vF.call(e,t)};Jr.prototype.listenerCount=vF;function vF(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}Jr.prototype.eventNames=function(){return this._eventsCount>0?X4(this._events):[]};function wF(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function Rre(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function Ure(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function Pre(e,t){return new Promise(function(r,n){function a(o){e.removeListener(t,i),n(o)}function i(){typeof e.removeListener=="function"&&e.removeListener("error",a),r([].slice.call(arguments))}CF(e,t,i,{once:!0}),t!=="error"&&Wre(e,a,{once:!0})})}function Wre(e,t,r){typeof e.on=="function"&&CF(e,"error",t,r)}function CF(e,t,r,n){if(typeof e.on=="function")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function a(i){n.once&&e.removeEventListener(t,a),r(i)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var Jf=Bx.exports;const Bge=wa(Jf);var Xm,qE;function AF(){return qE||(qE=1,Xm=Jf.EventEmitter),Xm}const Hre={},Yre=Object.freeze(Object.defineProperty({__proto__:null,default:Hre},Symbol.toStringTag,{value:"Module"})),Gh=Bp(Yre);var Jm,VE;function Zre(){if(VE)return Jm;VE=1;function e(E,T){var I=Object.keys(E);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(E);T&&(D=D.filter(function(S){return Object.getOwnPropertyDescriptor(E,S).enumerable})),I.push.apply(I,D)}return I}function t(E){for(var T=1;T<arguments.length;T++){var I=arguments[T]!=null?arguments[T]:{};T%2?e(Object(I),!0).forEach(function(D){r(E,D,I[D])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(I)):e(Object(I)).forEach(function(D){Object.defineProperty(E,D,Object.getOwnPropertyDescriptor(I,D))})}return E}function r(E,T,I){return T=o(T),T in E?Object.defineProperty(E,T,{value:I,enumerable:!0,configurable:!0,writable:!0}):E[T]=I,E}function n(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")}function a(E,T){for(var I=0;I<T.length;I++){var D=T[I];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(E,o(D.key),D)}}function i(E,T,I){return T&&a(E.prototype,T),Object.defineProperty(E,"prototype",{writable:!1}),E}function o(E){var T=u(E,"string");return typeof T=="symbol"?T:String(T)}function u(E,T){if(typeof E!="object"||E===null)return E;var I=E[Symbol.toPrimitive];if(I!==void 0){var D=I.call(E,T);if(typeof D!="object")return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(E)}var d=vt,p=d.Buffer,m=Gh,b=m.inspect,v=b&&b.custom||"inspect";function C(E,T,I){p.prototype.copy.call(E,T,I)}return Jm=function(){function E(){n(this,E),this.head=null,this.tail=null,this.length=0}return i(E,[{key:"push",value:function(I){var D={data:I,next:null};this.length>0?this.tail.next=D:this.head=D,this.tail=D,++this.length}},{key:"unshift",value:function(I){var D={data:I,next:this.head};this.length===0&&(this.tail=D),this.head=D,++this.length}},{key:"shift",value:function(){if(this.length!==0){var I=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,I}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(I){if(this.length===0)return"";for(var D=this.head,S=""+D.data;D=D.next;)S+=I+D.data;return S}},{key:"concat",value:function(I){if(this.length===0)return p.alloc(0);for(var D=p.allocUnsafe(I>>>0),S=this.head,N=0;S;)C(S.data,D,N),N+=S.data.length,S=S.next;return D}},{key:"consume",value:function(I,D){var S;return I<this.head.data.length?(S=this.head.data.slice(0,I),this.head.data=this.head.data.slice(I)):I===this.head.data.length?S=this.shift():S=D?this._getString(I):this._getBuffer(I),S}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(I){var D=this.head,S=1,N=D.data;for(I-=N.length;D=D.next;){var j=D.data,F=I>j.length?j.length:I;if(F===j.length?N+=j:N+=j.slice(0,I),I-=F,I===0){F===j.length?(++S,D.next?this.head=D.next:this.head=this.tail=null):(this.head=D,D.data=j.slice(F));break}++S}return this.length-=S,N}},{key:"_getBuffer",value:function(I){var D=p.allocUnsafe(I),S=this.head,N=1;for(S.data.copy(D),I-=S.data.length;S=S.next;){var j=S.data,F=I>j.length?j.length:I;if(j.copy(D,D.length-I,0,F),I-=F,I===0){F===j.length?(++N,S.next?this.head=S.next:this.head=this.tail=null):(this.head=S,S.data=j.slice(F));break}++N}return this.length-=N,D}},{key:v,value:function(I,D){return b(this,t(t({},D),{},{depth:0,customInspect:!1}))}}]),E}(),Jm}var eg,$E;function EF(){if($E)return eg;$E=1;function e(o,u){var d=this,p=this._readableState&&this._readableState.destroyed,m=this._writableState&&this._writableState.destroyed;return p||m?(u?u(o):o&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,Je.process.nextTick(a,this,o)):Je.process.nextTick(a,this,o)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(o||null,function(b){!u&&b?d._writableState?d._writableState.errorEmitted?Je.process.nextTick(r,d):(d._writableState.errorEmitted=!0,Je.process.nextTick(t,d,b)):Je.process.nextTick(t,d,b):u?(Je.process.nextTick(r,d),u(b)):Je.process.nextTick(r,d)}),this)}function t(o,u){a(o,u),r(o)}function r(o){o._writableState&&!o._writableState.emitClose||o._readableState&&!o._readableState.emitClose||o.emit("close")}function n(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function a(o,u){o.emit("error",u)}function i(o,u){var d=o._readableState,p=o._writableState;d&&d.autoDestroy||p&&p.autoDestroy?o.destroy(u):o.emit("error",u)}return eg={destroy:e,undestroy:n,errorOrDestroy:i},eg}var tg={},KE;function ed(){if(KE)return tg;KE=1;function e(u,d){u.prototype=Object.create(d.prototype),u.prototype.constructor=u,u.__proto__=d}var t={};function r(u,d,p){p||(p=Error);function m(v,C,E){return typeof d=="string"?d:d(v,C,E)}var b=function(v){e(C,v);function C(E,T,I){return v.call(this,m(E,T,I))||this}return C}(p);b.prototype.name=p.name,b.prototype.code=u,t[u]=b}function n(u,d){if(Array.isArray(u)){var p=u.length;return u=u.map(function(m){return String(m)}),p>2?"one of ".concat(d," ").concat(u.slice(0,p-1).join(", "),", or ")+u[p-1]:p===2?"one of ".concat(d," ").concat(u[0]," or ").concat(u[1]):"of ".concat(d," ").concat(u[0])}else return"of ".concat(d," ").concat(String(u))}function a(u,d,p){return u.substr(0,d.length)===d}function i(u,d,p){return(p===void 0||p>u.length)&&(p=u.length),u.substring(p-d.length,p)===d}function o(u,d,p){return typeof p!="number"&&(p=0),p+d.length>u.length?!1:u.indexOf(d,p)!==-1}return r("ERR_INVALID_OPT_VALUE",function(u,d){return'The value "'+d+'" is invalid for option "'+u+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(u,d,p){var m;typeof d=="string"&&a(d,"not ")?(m="must not be",d=d.replace(/^not /,"")):m="must be";var b;if(i(u," argument"))b="The ".concat(u," ").concat(m," ").concat(n(d,"type"));else{var v=o(u,".")?"property":"argument";b='The "'.concat(u,'" ').concat(v," ").concat(m," ").concat(n(d,"type"))}return b+=". Received type ".concat(typeof p),b},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(u){return"The "+u+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(u){return"Cannot call "+u+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(u){return"Unknown encoding: "+u},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),tg.codes=t,tg}var rg,XE;function SF(){if(XE)return rg;XE=1;var e=ed().codes.ERR_INVALID_OPT_VALUE;function t(n,a,i){return n.highWaterMark!=null?n.highWaterMark:a?n[i]:null}function r(n,a,i,o){var u=t(a,o,i);if(u!=null){if(!(isFinite(u)&&Math.floor(u)===u)||u<0){var d=o?i:"highWaterMark";throw new e(d,u)}return Math.floor(u)}return n.objectMode?16:16*1024}return rg={getHighWaterMark:r},rg}var ng,JE;function DF(){if(JE)return ng;JE=1,ng=e;function e(r,n){if(t("noDeprecation"))return r;var a=!1;function i(){if(!a){if(t("throwDeprecation"))throw new Error(n);t("traceDeprecation")?console.trace(n):console.warn(n),a=!0}return r.apply(this,arguments)}return i}function t(r){try{if(!Ut.localStorage)return!1}catch{return!1}var n=Ut.localStorage[r];return n==null?!1:String(n).toLowerCase()==="true"}return ng}var ig,eS;function TF(){if(eS)return ig;eS=1,ig=_;function e(q){var P=this;this.next=null,this.entry=null,this.finish=function(){K(P,q)}}var t;_.WritableState=O;var r={deprecate:DF()},n=AF(),a=vt.Buffer,i=(typeof Ut<"u"?Ut:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o(q){return a.from(q)}function u(q){return a.isBuffer(q)||q instanceof i}var d=EF(),p=SF(),m=p.getHighWaterMark,b=ed().codes,v=b.ERR_INVALID_ARG_TYPE,C=b.ERR_METHOD_NOT_IMPLEMENTED,E=b.ERR_MULTIPLE_CALLBACK,T=b.ERR_STREAM_CANNOT_PIPE,I=b.ERR_STREAM_DESTROYED,D=b.ERR_STREAM_NULL_VALUES,S=b.ERR_STREAM_WRITE_AFTER_END,N=b.ERR_UNKNOWN_ENCODING,j=d.errorOrDestroy;Kt(_,n);function F(){}function O(q,P,G){t=t||Mf(),q=q||{},typeof G!="boolean"&&(G=P instanceof t),this.objectMode=!!q.objectMode,G&&(this.objectMode=this.objectMode||!!q.writableObjectMode),this.highWaterMark=m(this,q,"writableHighWaterMark",G),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var X=q.decodeStrings===!1;this.decodeStrings=!X,this.defaultEncoding=q.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ne){g(P,ne)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=q.emitClose!==!1,this.autoDestroy=!!q.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}O.prototype.getBuffer=function(){for(var P=this.bufferedRequest,G=[];P;)G.push(P),P=P.next;return G},function(){try{Object.defineProperty(O.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var W;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(W=Function.prototype[Symbol.hasInstance],Object.defineProperty(_,Symbol.hasInstance,{value:function(P){return W.call(this,P)?!0:this!==_?!1:P&&P._writableState instanceof O}})):W=function(P){return P instanceof this};function _(q){t=t||Mf();var P=this instanceof t;if(!P&&!W.call(_,this))return new _(q);this._writableState=new O(q,this,P),this.writable=!0,q&&(typeof q.write=="function"&&(this._write=q.write),typeof q.writev=="function"&&(this._writev=q.writev),typeof q.destroy=="function"&&(this._destroy=q.destroy),typeof q.final=="function"&&(this._final=q.final)),n.call(this)}_.prototype.pipe=function(){j(this,new T)};function z(q,P){var G=new S;j(q,G),Je.process.nextTick(P,G)}function k(q,P,G,X){var ne;return G===null?ne=new D:typeof G!="string"&&!P.objectMode&&(ne=new v("chunk",["string","Buffer"],G)),ne?(j(q,ne),Je.process.nextTick(X,ne),!1):!0}_.prototype.write=function(q,P,G){var X=this._writableState,ne=!1,te=!X.objectMode&&u(q);return te&&!a.isBuffer(q)&&(q=o(q)),typeof P=="function"&&(G=P,P=null),te?P="buffer":P||(P=X.defaultEncoding),typeof G!="function"&&(G=F),X.ending?z(this,G):(te||k(this,X,q,G))&&(X.pendingcb++,ne=s(this,X,te,q,P,G)),ne},_.prototype.cork=function(){this._writableState.corked++},_.prototype.uncork=function(){var q=this._writableState;q.corked&&(q.corked--,!q.writing&&!q.corked&&!q.bufferProcessing&&q.bufferedRequest&&y(this,q))},_.prototype.setDefaultEncoding=function(P){if(typeof P=="string"&&(P=P.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((P+"").toLowerCase())>-1))throw new N(P);return this._writableState.defaultEncoding=P,this},Object.defineProperty(_.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function w(q,P,G){return!q.objectMode&&q.decodeStrings!==!1&&typeof P=="string"&&(P=a.from(P,G)),P}Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function s(q,P,G,X,ne,te){if(!G){var V=w(P,X,ne);X!==V&&(G=!0,ne="buffer",X=V)}var oe=P.objectMode?1:X.length;P.length+=oe;var xe=P.length<P.highWaterMark;if(xe||(P.needDrain=!0),P.writing||P.corked){var fe=P.lastBufferedRequest;P.lastBufferedRequest={chunk:X,encoding:ne,isBuf:G,callback:te,next:null},fe?fe.next=P.lastBufferedRequest:P.bufferedRequest=P.lastBufferedRequest,P.bufferedRequestCount+=1}else l(q,P,!1,oe,X,ne,te);return xe}function l(q,P,G,X,ne,te,V){P.writelen=X,P.writecb=V,P.writing=!0,P.sync=!0,P.destroyed?P.onwrite(new I("write")):G?q._writev(ne,P.onwrite):q._write(ne,te,P.onwrite),P.sync=!1}function f(q,P,G,X,ne){--P.pendingcb,G?(Je.process.nextTick(ne,X),Je.process.nextTick(R,q,P),q._writableState.errorEmitted=!0,j(q,X)):(ne(X),q._writableState.errorEmitted=!0,j(q,X),R(q,P))}function h(q){q.writing=!1,q.writecb=null,q.length-=q.writelen,q.writelen=0}function g(q,P){var G=q._writableState,X=G.sync,ne=G.writecb;if(typeof ne!="function")throw new E;if(h(G),P)f(q,G,X,P,ne);else{var te=c(G)||q.destroyed;!te&&!G.corked&&!G.bufferProcessing&&G.bufferedRequest&&y(q,G),X?Je.process.nextTick(x,q,G,te,ne):x(q,G,te,ne)}}function x(q,P,G,X){G||A(q,P),P.pendingcb--,X(),R(q,P)}function A(q,P){P.length===0&&P.needDrain&&(P.needDrain=!1,q.emit("drain"))}function y(q,P){P.bufferProcessing=!0;var G=P.bufferedRequest;if(q._writev&&G&&G.next){var X=P.bufferedRequestCount,ne=new Array(X),te=P.corkedRequestsFree;te.entry=G;for(var V=0,oe=!0;G;)ne[V]=G,G.isBuf||(oe=!1),G=G.next,V+=1;ne.allBuffers=oe,l(q,P,!0,P.length,ne,"",te.finish),P.pendingcb++,P.lastBufferedRequest=null,te.next?(P.corkedRequestsFree=te.next,te.next=null):P.corkedRequestsFree=new e(P),P.bufferedRequestCount=0}else{for(;G;){var xe=G.chunk,fe=G.encoding,me=G.callback,Ze=P.objectMode?1:xe.length;if(l(q,P,!1,Ze,xe,fe,me),G=G.next,P.bufferedRequestCount--,P.writing)break}G===null&&(P.lastBufferedRequest=null)}P.bufferedRequest=G,P.bufferProcessing=!1}_.prototype._write=function(q,P,G){G(new C("_write()"))},_.prototype._writev=null,_.prototype.end=function(q,P,G){var X=this._writableState;return typeof q=="function"?(G=q,q=null,P=null):typeof P=="function"&&(G=P,P=null),q!=null&&this.write(q,P),X.corked&&(X.corked=1,this.uncork()),X.ending||Q(this,X,G),this},Object.defineProperty(_.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function c(q){return q.ending&&q.length===0&&q.bufferedRequest===null&&!q.finished&&!q.writing}function M(q,P){q._final(function(G){P.pendingcb--,G&&j(q,G),P.prefinished=!0,q.emit("prefinish"),R(q,P)})}function B(q,P){!P.prefinished&&!P.finalCalled&&(typeof q._final=="function"&&!P.destroyed?(P.pendingcb++,P.finalCalled=!0,Je.process.nextTick(M,q,P)):(P.prefinished=!0,q.emit("prefinish")))}function R(q,P){var G=c(P);if(G&&(B(q,P),P.pendingcb===0&&(P.finished=!0,q.emit("finish"),P.autoDestroy))){var X=q._readableState;(!X||X.autoDestroy&&X.endEmitted)&&q.destroy()}return G}function Q(q,P,G){P.ending=!0,R(q,P),G&&(P.finished?Je.process.nextTick(G):q.once("finish",G)),P.ended=!0,q.writable=!1}function K(q,P,G){var X=q.entry;for(q.entry=null;X;){var ne=X.callback;P.pendingcb--,ne(G),X=X.next}P.corkedRequestsFree.next=q}return Object.defineProperty(_.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(P){this._writableState&&(this._writableState.destroyed=P)}}),_.prototype.destroy=d.destroy,_.prototype._undestroy=d.undestroy,_.prototype._destroy=function(q,P){P(q)},ig}var ag,tS;function Mf(){if(tS)return ag;tS=1;var e=Object.keys||function(p){var m=[];for(var b in p)m.push(b);return m};ag=o;var t=IF(),r=TF();Kt(o,t);for(var n=e(r.prototype),a=0;a<n.length;a++){var i=n[a];o.prototype[i]||(o.prototype[i]=r.prototype[i])}function o(p){if(!(this instanceof o))return new o(p);t.call(this,p),r.call(this,p),this.allowHalfOpen=!0,p&&(p.readable===!1&&(this.readable=!1),p.writable===!1&&(this.writable=!1),p.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",u)))}Object.defineProperty(o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(o.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(o.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function u(){this._writableState.ended||Je.process.nextTick(d,this)}function d(p){p.end()}return Object.defineProperty(o.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(m){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=m,this._writableState.destroyed=m)}}),ag}var sg={},rS;function Rb(){if(rS)return sg;rS=1;var e=ar.Buffer,t=e.isEncoding||function(D){switch(D=""+D,D&&D.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(D){if(!D)return"utf8";for(var S;;)switch(D){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return D;default:if(S)return;D=(""+D).toLowerCase(),S=!0}}function n(D){var S=r(D);if(typeof S!="string"&&(e.isEncoding===t||!t(D)))throw new Error("Unknown encoding: "+D);return S||D}sg.StringDecoder=a;function a(D){this.encoding=n(D);var S;switch(this.encoding){case"utf16le":this.text=b,this.end=v,S=4;break;case"utf8":this.fillLast=d,S=4;break;case"base64":this.text=C,this.end=E,S=3;break;default:this.write=T,this.end=I;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(S)}a.prototype.write=function(D){if(D.length===0)return"";var S,N;if(this.lastNeed){if(S=this.fillLast(D),S===void 0)return"";N=this.lastNeed,this.lastNeed=0}else N=0;return N<D.length?S?S+this.text(D,N):this.text(D,N):S||""},a.prototype.end=m,a.prototype.text=p,a.prototype.fillLast=function(D){if(this.lastNeed<=D.length)return D.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);D.copy(this.lastChar,this.lastTotal-this.lastNeed,0,D.length),this.lastNeed-=D.length};function i(D){return D<=127?0:D>>5===6?2:D>>4===14?3:D>>3===30?4:D>>6===2?-1:-2}function o(D,S,N){var j=S.length-1;if(j<N)return 0;var F=i(S[j]);return F>=0?(F>0&&(D.lastNeed=F-1),F):--j<N||F===-2?0:(F=i(S[j]),F>=0?(F>0&&(D.lastNeed=F-2),F):--j<N||F===-2?0:(F=i(S[j]),F>=0?(F>0&&(F===2?F=0:D.lastNeed=F-3),F):0))}function u(D,S,N){if((S[0]&192)!==128)return D.lastNeed=0,"�";if(D.lastNeed>1&&S.length>1){if((S[1]&192)!==128)return D.lastNeed=1,"�";if(D.lastNeed>2&&S.length>2&&(S[2]&192)!==128)return D.lastNeed=2,"�"}}function d(D){var S=this.lastTotal-this.lastNeed,N=u(this,D);if(N!==void 0)return N;if(this.lastNeed<=D.length)return D.copy(this.lastChar,S,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);D.copy(this.lastChar,S,0,D.length),this.lastNeed-=D.length}function p(D,S){var N=o(this,D,S);if(!this.lastNeed)return D.toString("utf8",S);this.lastTotal=N;var j=D.length-(N-this.lastNeed);return D.copy(this.lastChar,0,j),D.toString("utf8",S,j)}function m(D){var S=D&&D.length?this.write(D):"";return this.lastNeed?S+"�":S}function b(D,S){if((D.length-S)%2===0){var N=D.toString("utf16le",S);if(N){var j=N.charCodeAt(N.length-1);if(j>=55296&&j<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=D[D.length-2],this.lastChar[1]=D[D.length-1],N.slice(0,-1)}return N}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=D[D.length-1],D.toString("utf16le",S,D.length-1)}function v(D){var S=D&&D.length?this.write(D):"";if(this.lastNeed){var N=this.lastTotal-this.lastNeed;return S+this.lastChar.toString("utf16le",0,N)}return S}function C(D,S){var N=(D.length-S)%3;return N===0?D.toString("base64",S):(this.lastNeed=3-N,this.lastTotal=3,N===1?this.lastChar[0]=D[D.length-1]:(this.lastChar[0]=D[D.length-2],this.lastChar[1]=D[D.length-1]),D.toString("base64",S,D.length-N))}function E(D){var S=D&&D.length?this.write(D):"";return this.lastNeed?S+this.lastChar.toString("base64",0,3-this.lastNeed):S}function T(D){return D.toString(this.encoding)}function I(D){return D&&D.length?this.write(D):""}return sg}var og,nS;function kx(){if(nS)return og;nS=1;var e=ed().codes.ERR_STREAM_PREMATURE_CLOSE;function t(i){var o=!1;return function(){if(!o){o=!0;for(var u=arguments.length,d=new Array(u),p=0;p<u;p++)d[p]=arguments[p];i.apply(this,d)}}}function r(){}function n(i){return i.setHeader&&typeof i.abort=="function"}function a(i,o,u){if(typeof o=="function")return a(i,null,o);o||(o={}),u=t(u||r);var d=o.readable||o.readable!==!1&&i.readable,p=o.writable||o.writable!==!1&&i.writable,m=function(){i.writable||v()},b=i._writableState&&i._writableState.finished,v=function(){p=!1,b=!0,d||u.call(i)},C=i._readableState&&i._readableState.endEmitted,E=function(){d=!1,C=!0,p||u.call(i)},T=function(N){u.call(i,N)},I=function(){var N;if(d&&!C)return(!i._readableState||!i._readableState.ended)&&(N=new e),u.call(i,N);if(p&&!b)return(!i._writableState||!i._writableState.ended)&&(N=new e),u.call(i,N)},D=function(){i.req.on("finish",v)};return n(i)?(i.on("complete",v),i.on("abort",I),i.req?D():i.on("request",D)):p&&!i._writableState&&(i.on("end",m),i.on("close",m)),i.on("end",E),i.on("finish",v),o.error!==!1&&i.on("error",T),i.on("close",I),function(){i.removeListener("complete",v),i.removeListener("abort",I),i.removeListener("request",D),i.req&&i.req.removeListener("finish",v),i.removeListener("end",m),i.removeListener("close",m),i.removeListener("finish",v),i.removeListener("end",E),i.removeListener("error",T),i.removeListener("close",I)}}return og=a,og}var cg,iS;function Gre(){if(iS)return cg;iS=1;var e;function t(N,j,F){return j=r(j),j in N?Object.defineProperty(N,j,{value:F,enumerable:!0,configurable:!0,writable:!0}):N[j]=F,N}function r(N){var j=n(N,"string");return typeof j=="symbol"?j:String(j)}function n(N,j){if(typeof N!="object"||N===null)return N;var F=N[Symbol.toPrimitive];if(F!==void 0){var O=F.call(N,j);if(typeof O!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(N)}var a=kx(),i=Symbol("lastResolve"),o=Symbol("lastReject"),u=Symbol("error"),d=Symbol("ended"),p=Symbol("lastPromise"),m=Symbol("handlePromise"),b=Symbol("stream");function v(N,j){return{value:N,done:j}}function C(N){var j=N[i];if(j!==null){var F=N[b].read();F!==null&&(N[p]=null,N[i]=null,N[o]=null,j(v(F,!1)))}}function E(N){Je.process.nextTick(C,N)}function T(N,j){return function(F,O){N.then(function(){if(j[d]){F(v(void 0,!0));return}j[m](F,O)},O)}}var I=Object.getPrototypeOf(function(){}),D=Object.setPrototypeOf((e={get stream(){return this[b]},next:function(){var j=this,F=this[u];if(F!==null)return Promise.reject(F);if(this[d])return Promise.resolve(v(void 0,!0));if(this[b].destroyed)return new Promise(function(z,k){Je.process.nextTick(function(){j[u]?k(j[u]):z(v(void 0,!0))})});var O=this[p],W;if(O)W=new Promise(T(O,this));else{var _=this[b].read();if(_!==null)return Promise.resolve(v(_,!1));W=new Promise(this[m])}return this[p]=W,W}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var j=this;return new Promise(function(F,O){j[b].destroy(null,function(W){if(W){O(W);return}F(v(void 0,!0))})})}),e),I),S=function(j){var F,O=Object.create(D,(F={},t(F,b,{value:j,writable:!0}),t(F,i,{value:null,writable:!0}),t(F,o,{value:null,writable:!0}),t(F,u,{value:null,writable:!0}),t(F,d,{value:j._readableState.endEmitted,writable:!0}),t(F,m,{value:function(_,z){var k=O[b].read();k?(O[p]=null,O[i]=null,O[o]=null,_(v(k,!1))):(O[i]=_,O[o]=z)},writable:!0}),F));return O[p]=null,a(j,function(W){if(W&&W.code!=="ERR_STREAM_PREMATURE_CLOSE"){var _=O[o];_!==null&&(O[p]=null,O[i]=null,O[o]=null,_(W)),O[u]=W;return}var z=O[i];z!==null&&(O[p]=null,O[i]=null,O[o]=null,z(v(void 0,!0))),O[d]=!0}),j.on("readable",E.bind(null,O)),O};return cg=S,cg}var lg,aS;function Qre(){return aS||(aS=1,lg=function(){throw new Error("Readable.from is not available in the browser")}),lg}var ug,sS;function IF(){if(sS)return ug;sS=1,ug=z;var e;z.ReadableState=_,Jf.EventEmitter;var t=function(V,oe){return V.listeners(oe).length},r=AF(),n=vt.Buffer,a=(typeof Ut<"u"?Ut:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function i(te){return n.from(te)}function o(te){return n.isBuffer(te)||te instanceof a}var u=Gh,d;u&&u.debuglog?d=u.debuglog("stream"):d=function(){};var p=Zre(),m=EF(),b=SF(),v=b.getHighWaterMark,C=ed().codes,E=C.ERR_INVALID_ARG_TYPE,T=C.ERR_STREAM_PUSH_AFTER_EOF,I=C.ERR_METHOD_NOT_IMPLEMENTED,D=C.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,S,N,j;Kt(z,r);var F=m.errorOrDestroy,O=["error","close","destroy","pause","resume"];function W(te,V,oe){if(typeof te.prependListener=="function")return te.prependListener(V,oe);!te._events||!te._events[V]?te.on(V,oe):Array.isArray(te._events[V])?te._events[V].unshift(oe):te._events[V]=[oe,te._events[V]]}function _(te,V,oe){e=e||Mf(),te=te||{},typeof oe!="boolean"&&(oe=V instanceof e),this.objectMode=!!te.objectMode,oe&&(this.objectMode=this.objectMode||!!te.readableObjectMode),this.highWaterMark=v(this,te,"readableHighWaterMark",oe),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=te.emitClose!==!1,this.autoDestroy=!!te.autoDestroy,this.destroyed=!1,this.defaultEncoding=te.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,te.encoding&&(S||(S=Rb().StringDecoder),this.decoder=new S(te.encoding),this.encoding=te.encoding)}function z(te){if(e=e||Mf(),!(this instanceof z))return new z(te);var V=this instanceof e;this._readableState=new _(te,this,V),this.readable=!0,te&&(typeof te.read=="function"&&(this._read=te.read),typeof te.destroy=="function"&&(this._destroy=te.destroy)),r.call(this)}Object.defineProperty(z.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(V){this._readableState&&(this._readableState.destroyed=V)}}),z.prototype.destroy=m.destroy,z.prototype._undestroy=m.undestroy,z.prototype._destroy=function(te,V){V(te)},z.prototype.push=function(te,V){var oe=this._readableState,xe;return oe.objectMode?xe=!0:typeof te=="string"&&(V=V||oe.defaultEncoding,V!==oe.encoding&&(te=n.from(te,V),V=""),xe=!0),k(this,te,V,!1,xe)},z.prototype.unshift=function(te){return k(this,te,null,!0,!1)};function k(te,V,oe,xe,fe){d("readableAddChunk",V);var me=te._readableState;if(V===null)me.reading=!1,g(te,me);else{var Ze;if(fe||(Ze=s(me,V)),Ze)F(te,Ze);else if(me.objectMode||V&&V.length>0)if(typeof V!="string"&&!me.objectMode&&Object.getPrototypeOf(V)!==n.prototype&&(V=i(V)),xe)me.endEmitted?F(te,new D):w(te,me,V,!0);else if(me.ended)F(te,new T);else{if(me.destroyed)return!1;me.reading=!1,me.decoder&&!oe?(V=me.decoder.write(V),me.objectMode||V.length!==0?w(te,me,V,!1):y(te,me)):w(te,me,V,!1)}else xe||(me.reading=!1,y(te,me))}return!me.ended&&(me.length<me.highWaterMark||me.length===0)}function w(te,V,oe,xe){V.flowing&&V.length===0&&!V.sync?(V.awaitDrain=0,te.emit("data",oe)):(V.length+=V.objectMode?1:oe.length,xe?V.buffer.unshift(oe):V.buffer.push(oe),V.needReadable&&x(te)),y(te,V)}function s(te,V){var oe;return!o(V)&&typeof V!="string"&&V!==void 0&&!te.objectMode&&(oe=new E("chunk",["string","Buffer","Uint8Array"],V)),oe}z.prototype.isPaused=function(){return this._readableState.flowing===!1},z.prototype.setEncoding=function(te){S||(S=Rb().StringDecoder);var V=new S(te);this._readableState.decoder=V,this._readableState.encoding=this._readableState.decoder.encoding;for(var oe=this._readableState.buffer.head,xe="";oe!==null;)xe+=V.write(oe.data),oe=oe.next;return this._readableState.buffer.clear(),xe!==""&&this._readableState.buffer.push(xe),this._readableState.length=xe.length,this};var l=1073741824;function f(te){return te>=l?te=l:(te--,te|=te>>>1,te|=te>>>2,te|=te>>>4,te|=te>>>8,te|=te>>>16,te++),te}function h(te,V){return te<=0||V.length===0&&V.ended?0:V.objectMode?1:te!==te?V.flowing&&V.length?V.buffer.head.data.length:V.length:(te>V.highWaterMark&&(V.highWaterMark=f(te)),te<=V.length?te:V.ended?V.length:(V.needReadable=!0,0))}z.prototype.read=function(te){d("read",te),te=parseInt(te,10);var V=this._readableState,oe=te;if(te!==0&&(V.emittedReadable=!1),te===0&&V.needReadable&&((V.highWaterMark!==0?V.length>=V.highWaterMark:V.length>0)||V.ended))return d("read: emitReadable",V.length,V.ended),V.length===0&&V.ended?G(this):x(this),null;if(te=h(te,V),te===0&&V.ended)return V.length===0&&G(this),null;var xe=V.needReadable;d("need readable",xe),(V.length===0||V.length-te<V.highWaterMark)&&(xe=!0,d("length less than watermark",xe)),V.ended||V.reading?(xe=!1,d("reading or ended",xe)):xe&&(d("do read"),V.reading=!0,V.sync=!0,V.length===0&&(V.needReadable=!0),this._read(V.highWaterMark),V.sync=!1,V.reading||(te=h(oe,V)));var fe;return te>0?fe=P(te,V):fe=null,fe===null?(V.needReadable=V.length<=V.highWaterMark,te=0):(V.length-=te,V.awaitDrain=0),V.length===0&&(V.ended||(V.needReadable=!0),oe!==te&&V.ended&&G(this)),fe!==null&&this.emit("data",fe),fe};function g(te,V){if(d("onEofChunk"),!V.ended){if(V.decoder){var oe=V.decoder.end();oe&&oe.length&&(V.buffer.push(oe),V.length+=V.objectMode?1:oe.length)}V.ended=!0,V.sync?x(te):(V.needReadable=!1,V.emittedReadable||(V.emittedReadable=!0,A(te)))}}function x(te){var V=te._readableState;d("emitReadable",V.needReadable,V.emittedReadable),V.needReadable=!1,V.emittedReadable||(d("emitReadable",V.flowing),V.emittedReadable=!0,Je.process.nextTick(A,te))}function A(te){var V=te._readableState;d("emitReadable_",V.destroyed,V.length,V.ended),!V.destroyed&&(V.length||V.ended)&&(te.emit("readable"),V.emittedReadable=!1),V.needReadable=!V.flowing&&!V.ended&&V.length<=V.highWaterMark,q(te)}function y(te,V){V.readingMore||(V.readingMore=!0,Je.process.nextTick(c,te,V))}function c(te,V){for(;!V.reading&&!V.ended&&(V.length<V.highWaterMark||V.flowing&&V.length===0);){var oe=V.length;if(d("maybeReadMore read 0"),te.read(0),oe===V.length)break}V.readingMore=!1}z.prototype._read=function(te){F(this,new I("_read()"))},z.prototype.pipe=function(te,V){var oe=this,xe=this._readableState;switch(xe.pipesCount){case 0:xe.pipes=te;break;case 1:xe.pipes=[xe.pipes,te];break;default:xe.pipes.push(te);break}xe.pipesCount+=1,d("pipe count=%d opts=%j",xe.pipesCount,V);var fe=(!V||V.end!==!1)&&te!==Je.process.stdout&&te!==Je.process.stderr,me=fe?he:gt;xe.endEmitted?Je.process.nextTick(me):oe.once("end",me),te.on("unpipe",Ze);function Ze($,U){d("onunpipe"),$===oe&&U&&U.hasUnpiped===!1&&(U.hasUnpiped=!0,ye())}function he(){d("onend"),te.end()}var Se=M(oe);te.on("drain",Se);var Ke=!1;function ye(){d("cleanup"),te.removeListener("close",pe),te.removeListener("finish",we),te.removeListener("drain",Se),te.removeListener("error",Fe),te.removeListener("unpipe",Ze),oe.removeListener("end",he),oe.removeListener("end",gt),oe.removeListener("data",ce),Ke=!0,xe.awaitDrain&&(!te._writableState||te._writableState.needDrain)&&Se()}oe.on("data",ce);function ce($){d("ondata");var U=te.write($);d("dest.write",U),U===!1&&((xe.pipesCount===1&&xe.pipes===te||xe.pipesCount>1&&ne(xe.pipes,te)!==-1)&&!Ke&&(d("false write response, pause",xe.awaitDrain),xe.awaitDrain++),oe.pause())}function Fe($){d("onerror",$),gt(),te.removeListener("error",Fe),t(te,"error")===0&&F(te,$)}W(te,"error",Fe);function pe(){te.removeListener("finish",we),gt()}te.once("close",pe);function we(){d("onfinish"),te.removeListener("close",pe),gt()}te.once("finish",we);function gt(){d("unpipe"),oe.unpipe(te)}return te.emit("pipe",oe),xe.flowing||(d("pipe resume"),oe.resume()),te};function M(te){return function(){var oe=te._readableState;d("pipeOnDrain",oe.awaitDrain),oe.awaitDrain&&oe.awaitDrain--,oe.awaitDrain===0&&t(te,"data")&&(oe.flowing=!0,q(te))}}z.prototype.unpipe=function(te){var V=this._readableState,oe={hasUnpiped:!1};if(V.pipesCount===0)return this;if(V.pipesCount===1)return te&&te!==V.pipes?this:(te||(te=V.pipes),V.pipes=null,V.pipesCount=0,V.flowing=!1,te&&te.emit("unpipe",this,oe),this);if(!te){var xe=V.pipes,fe=V.pipesCount;V.pipes=null,V.pipesCount=0,V.flowing=!1;for(var me=0;me<fe;me++)xe[me].emit("unpipe",this,{hasUnpiped:!1});return this}var Ze=ne(V.pipes,te);return Ze===-1?this:(V.pipes.splice(Ze,1),V.pipesCount-=1,V.pipesCount===1&&(V.pipes=V.pipes[0]),te.emit("unpipe",this,oe),this)},z.prototype.on=function(te,V){var oe=r.prototype.on.call(this,te,V),xe=this._readableState;return te==="data"?(xe.readableListening=this.listenerCount("readable")>0,xe.flowing!==!1&&this.resume()):te==="readable"&&!xe.endEmitted&&!xe.readableListening&&(xe.readableListening=xe.needReadable=!0,xe.flowing=!1,xe.emittedReadable=!1,d("on readable",xe.length,xe.reading),xe.length?x(this):xe.reading||Je.process.nextTick(R,this)),oe},z.prototype.addListener=z.prototype.on,z.prototype.removeListener=function(te,V){var oe=r.prototype.removeListener.call(this,te,V);return te==="readable"&&Je.process.nextTick(B,this),oe},z.prototype.removeAllListeners=function(te){var V=r.prototype.removeAllListeners.apply(this,arguments);return(te==="readable"||te===void 0)&&Je.process.nextTick(B,this),V};function B(te){var V=te._readableState;V.readableListening=te.listenerCount("readable")>0,V.resumeScheduled&&!V.paused?V.flowing=!0:te.listenerCount("data")>0&&te.resume()}function R(te){d("readable nexttick read 0"),te.read(0)}z.prototype.resume=function(){var te=this._readableState;return te.flowing||(d("resume"),te.flowing=!te.readableListening,Q(this,te)),te.paused=!1,this};function Q(te,V){V.resumeScheduled||(V.resumeScheduled=!0,Je.process.nextTick(K,te,V))}function K(te,V){d("resume",V.reading),V.reading||te.read(0),V.resumeScheduled=!1,te.emit("resume"),q(te),V.flowing&&!V.reading&&te.read(0)}z.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function q(te){var V=te._readableState;for(d("flow",V.flowing);V.flowing&&te.read()!==null;);}z.prototype.wrap=function(te){var V=this,oe=this._readableState,xe=!1;te.on("end",function(){if(d("wrapped end"),oe.decoder&&!oe.ended){var Ze=oe.decoder.end();Ze&&Ze.length&&V.push(Ze)}V.push(null)}),te.on("data",function(Ze){if(d("wrapped data"),oe.decoder&&(Ze=oe.decoder.write(Ze)),!(oe.objectMode&&Ze==null)&&!(!oe.objectMode&&(!Ze||!Ze.length))){var he=V.push(Ze);he||(xe=!0,te.pause())}});for(var fe in te)this[fe]===void 0&&typeof te[fe]=="function"&&(this[fe]=function(he){return function(){return te[he].apply(te,arguments)}}(fe));for(var me=0;me<O.length;me++)te.on(O[me],this.emit.bind(this,O[me]));return this._read=function(Ze){d("wrapped _read",Ze),xe&&(xe=!1,te.resume())},this},typeof Symbol=="function"&&(z.prototype[Symbol.asyncIterator]=function(){return N===void 0&&(N=Gre()),N(this)}),Object.defineProperty(z.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(z.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(z.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(V){this._readableState&&(this._readableState.flowing=V)}}),z._fromList=P,Object.defineProperty(z.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function P(te,V){if(V.length===0)return null;var oe;return V.objectMode?oe=V.buffer.shift():!te||te>=V.length?(V.decoder?oe=V.buffer.join(""):V.buffer.length===1?oe=V.buffer.first():oe=V.buffer.concat(V.length),V.buffer.clear()):oe=V.buffer.consume(te,V.decoder),oe}function G(te){var V=te._readableState;d("endReadable",V.endEmitted),V.endEmitted||(V.ended=!0,Je.process.nextTick(X,V,te))}function X(te,V){if(d("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,V.readable=!1,V.emit("end"),te.autoDestroy)){var oe=V._writableState;(!oe||oe.autoDestroy&&oe.finished)&&V.destroy()}}typeof Symbol=="function"&&(z.from=function(te,V){return j===void 0&&(j=Qre()),j(z,te,V)});function ne(te,V){for(var oe=0,xe=te.length;oe<xe;oe++)if(te[oe]===V)return oe;return-1}return ug}var fg,oS;function NF(){if(oS)return fg;oS=1,fg=u;var e=ed().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,r=e.ERR_MULTIPLE_CALLBACK,n=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=e.ERR_TRANSFORM_WITH_LENGTH_0,i=Mf();Kt(u,i);function o(m,b){var v=this._transformState;v.transforming=!1;var C=v.writecb;if(C===null)return this.emit("error",new r);v.writechunk=null,v.writecb=null,b!=null&&this.push(b),C(m);var E=this._readableState;E.reading=!1,(E.needReadable||E.length<E.highWaterMark)&&this._read(E.highWaterMark)}function u(m){if(!(this instanceof u))return new u(m);i.call(this,m),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,m&&(typeof m.transform=="function"&&(this._transform=m.transform),typeof m.flush=="function"&&(this._flush=m.flush)),this.on("prefinish",d)}function d(){var m=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(b,v){p(m,b,v)}):p(this,null,null)}u.prototype.push=function(m,b){return this._transformState.needTransform=!1,i.prototype.push.call(this,m,b)},u.prototype._transform=function(m,b,v){v(new t("_transform()"))},u.prototype._write=function(m,b,v){var C=this._transformState;if(C.writecb=v,C.writechunk=m,C.writeencoding=b,!C.transforming){var E=this._readableState;(C.needTransform||E.needReadable||E.length<E.highWaterMark)&&this._read(E.highWaterMark)}},u.prototype._read=function(m){var b=this._transformState;b.writechunk!==null&&!b.transforming?(b.transforming=!0,this._transform(b.writechunk,b.writeencoding,b.afterTransform)):b.needTransform=!0},u.prototype._destroy=function(m,b){i.prototype._destroy.call(this,m,function(v){b(v)})};function p(m,b,v){if(b)return m.emit("error",b);if(v!=null&&m.push(v),m._writableState.length)throw new a;if(m._transformState.transforming)throw new n;return m.push(null)}return fg}var dg,cS;function qre(){if(cS)return dg;cS=1,dg=t;var e=NF();Kt(t,e);function t(r){if(!(this instanceof t))return new t(r);e.call(this,r)}return t.prototype._transform=function(r,n,a){a(null,r)},dg}var hg,lS;function Vre(){if(lS)return hg;lS=1;var e;function t(v){var C=!1;return function(){C||(C=!0,v.apply(void 0,arguments))}}var r=ed().codes,n=r.ERR_MISSING_ARGS,a=r.ERR_STREAM_DESTROYED;function i(v){if(v)throw v}function o(v){return v.setHeader&&typeof v.abort=="function"}function u(v,C,E,T){T=t(T);var I=!1;v.on("close",function(){I=!0}),e===void 0&&(e=kx()),e(v,{readable:C,writable:E},function(S){if(S)return T(S);I=!0,T()});var D=!1;return function(S){if(!I&&!D){if(D=!0,o(v))return v.abort();if(typeof v.destroy=="function")return v.destroy();T(S||new a("pipe"))}}}function d(v){v()}function p(v,C){return v.pipe(C)}function m(v){return!v.length||typeof v[v.length-1]!="function"?i:v.pop()}function b(){for(var v=arguments.length,C=new Array(v),E=0;E<v;E++)C[E]=arguments[E];var T=m(C);if(Array.isArray(C[0])&&(C=C[0]),C.length<2)throw new n("streams");var I,D=C.map(function(S,N){var j=N<C.length-1,F=N>0;return u(S,j,F,function(O){I||(I=O),O&&D.forEach(d),!j&&(D.forEach(d),T(I))})});return C.reduce(p)}return hg=b,hg}var zx=Cs,_x=Jf.EventEmitter,$re=Kt;$re(Cs,_x);Cs.Readable=IF();Cs.Writable=TF();Cs.Duplex=Mf();Cs.Transform=NF();Cs.PassThrough=qre();Cs.finished=kx();Cs.pipeline=Vre();Cs.Stream=Cs;function Cs(){_x.call(this)}Cs.prototype.pipe=function(e,t){var r=this;function n(m){e.writable&&e.write(m)===!1&&r.pause&&r.pause()}r.on("data",n);function a(){r.readable&&r.resume&&r.resume()}e.on("drain",a),!e._isStdio&&(!t||t.end!==!1)&&(r.on("end",o),r.on("close",u));var i=!1;function o(){i||(i=!0,e.end())}function u(){i||(i=!0,typeof e.destroy=="function"&&e.destroy())}function d(m){if(p(),_x.listenerCount(this,"error")===0)throw m}r.on("error",d),e.on("error",d);function p(){r.removeListener("data",n),e.removeListener("drain",a),r.removeListener("end",o),r.removeListener("close",u),r.removeListener("error",d),e.removeListener("error",d),r.removeListener("end",p),r.removeListener("close",p),e.removeListener("close",p)}return r.on("end",p),r.on("close",p),e.on("close",p),e.emit("pipe",r),e};const kge=wa(zx);var pg,uS;function LF(){if(uS)return pg;uS=1;var e=ar.Buffer,t=zx.Transform,r=Kt;function n(u){t.call(this),this._block=e.allocUnsafe(u),this._blockSize=u,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(n,t),n.prototype._transform=function(u,d,p){var m=null;try{this.update(u,d)}catch(b){m=b}p(m)},n.prototype._flush=function(u){var d=null;try{this.push(this.digest())}catch(p){d=p}u(d)};var a=typeof Uint8Array<"u",i=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);function o(u,d){if(u instanceof e)return u;if(typeof u=="string")return e.from(u,d);if(i&&ArrayBuffer.isView(u)){if(u.byteLength===0)return e.alloc(0);var p=e.from(u.buffer,u.byteOffset,u.byteLength);if(p.byteLength===u.byteLength)return p}if(a&&u instanceof Uint8Array||e.isBuffer(u)&&u.constructor&&typeof u.constructor.isBuffer=="function"&&u.constructor.isBuffer(u))return e.from(u);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}return n.prototype.update=function(u,d){if(this._finalized)throw new Error("Digest already called");u=o(u,d);for(var p=this._block,m=0;this._blockOffset+u.length-m>=this._blockSize;){for(var b=this._blockOffset;b<this._blockSize;)p[b++]=u[m++];this._update(),this._blockOffset=0}for(;m<u.length;)p[this._blockOffset++]=u[m++];for(var v=0,C=u.length*8;C>0;++v)this._length[v]+=C,C=this._length[v]/4294967296|0,C>0&&(this._length[v]-=4294967296*C);return this},n.prototype._update=function(){throw new Error("_update is not implemented")},n.prototype.digest=function(u){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var d=this._digest();u!==void 0&&(d=d.toString(u)),this._block.fill(0),this._blockOffset=0;for(var p=0;p<4;++p)this._length[p]=0;return d},n.prototype._digest=function(){throw new Error("_digest is not implemented")},pg=n,pg}var mg,fS;function Fx(){if(fS)return mg;fS=1;var e=Kt,t=LF(),r=ar.Buffer,n=new Array(16);function a(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}e(a,t),a.prototype._update=function(){for(var m=n,b=0;b<16;++b)m[b]=this._block.readInt32LE(b*4);var v=this._a,C=this._b,E=this._c,T=this._d;v=o(v,C,E,T,m[0],3614090360,7),T=o(T,v,C,E,m[1],3905402710,12),E=o(E,T,v,C,m[2],606105819,17),C=o(C,E,T,v,m[3],3250441966,22),v=o(v,C,E,T,m[4],4118548399,7),T=o(T,v,C,E,m[5],1200080426,12),E=o(E,T,v,C,m[6],2821735955,17),C=o(C,E,T,v,m[7],4249261313,22),v=o(v,C,E,T,m[8],1770035416,7),T=o(T,v,C,E,m[9],2336552879,12),E=o(E,T,v,C,m[10],4294925233,17),C=o(C,E,T,v,m[11],2304563134,22),v=o(v,C,E,T,m[12],1804603682,7),T=o(T,v,C,E,m[13],4254626195,12),E=o(E,T,v,C,m[14],2792965006,17),C=o(C,E,T,v,m[15],1236535329,22),v=u(v,C,E,T,m[1],4129170786,5),T=u(T,v,C,E,m[6],3225465664,9),E=u(E,T,v,C,m[11],643717713,14),C=u(C,E,T,v,m[0],3921069994,20),v=u(v,C,E,T,m[5],3593408605,5),T=u(T,v,C,E,m[10],38016083,9),E=u(E,T,v,C,m[15],3634488961,14),C=u(C,E,T,v,m[4],3889429448,20),v=u(v,C,E,T,m[9],568446438,5),T=u(T,v,C,E,m[14],3275163606,9),E=u(E,T,v,C,m[3],4107603335,14),C=u(C,E,T,v,m[8],1163531501,20),v=u(v,C,E,T,m[13],2850285829,5),T=u(T,v,C,E,m[2],4243563512,9),E=u(E,T,v,C,m[7],1735328473,14),C=u(C,E,T,v,m[12],2368359562,20),v=d(v,C,E,T,m[5],4294588738,4),T=d(T,v,C,E,m[8],2272392833,11),E=d(E,T,v,C,m[11],1839030562,16),C=d(C,E,T,v,m[14],4259657740,23),v=d(v,C,E,T,m[1],2763975236,4),T=d(T,v,C,E,m[4],1272893353,11),E=d(E,T,v,C,m[7],4139469664,16),C=d(C,E,T,v,m[10],3200236656,23),v=d(v,C,E,T,m[13],681279174,4),T=d(T,v,C,E,m[0],3936430074,11),E=d(E,T,v,C,m[3],3572445317,16),C=d(C,E,T,v,m[6],76029189,23),v=d(v,C,E,T,m[9],3654602809,4),T=d(T,v,C,E,m[12],3873151461,11),E=d(E,T,v,C,m[15],530742520,16),C=d(C,E,T,v,m[2],3299628645,23),v=p(v,C,E,T,m[0],4096336452,6),T=p(T,v,C,E,m[7],1126891415,10),E=p(E,T,v,C,m[14],2878612391,15),C=p(C,E,T,v,m[5],4237533241,21),v=p(v,C,E,T,m[12],1700485571,6),T=p(T,v,C,E,m[3],2399980690,10),E=p(E,T,v,C,m[10],4293915773,15),C=p(C,E,T,v,m[1],2240044497,21),v=p(v,C,E,T,m[8],1873313359,6),T=p(T,v,C,E,m[15],4264355552,10),E=p(E,T,v,C,m[6],2734768916,15),C=p(C,E,T,v,m[13],1309151649,21),v=p(v,C,E,T,m[4],4149444226,6),T=p(T,v,C,E,m[11],3174756917,10),E=p(E,T,v,C,m[2],718787259,15),C=p(C,E,T,v,m[9],3951481745,21),this._a=this._a+v|0,this._b=this._b+C|0,this._c=this._c+E|0,this._d=this._d+T|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var m=r.allocUnsafe(16);return m.writeInt32LE(this._a,0),m.writeInt32LE(this._b,4),m.writeInt32LE(this._c,8),m.writeInt32LE(this._d,12),m};function i(m,b){return m<<b|m>>>32-b}function o(m,b,v,C,E,T,I){return i(m+(b&v|~b&C)+E+T|0,I)+b|0}function u(m,b,v,C,E,T,I){return i(m+(b&C|v&~C)+E+T|0,I)+b|0}function d(m,b,v,C,E,T,I){return i(m+(b^v^C)+E+T|0,I)+b|0}function p(m,b,v,C,E,T,I){return i(m+(v^(b|~C))+E+T|0,I)+b|0}return mg=a,mg}var gg,dS;function Ox(){if(dS)return gg;dS=1;var e=vt.Buffer,t=Kt,r=LF(),n=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],i=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],o=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],u=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],p=[1352829926,1548603684,1836072691,2053994217,0];function m(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}t(m,r),m.prototype._update=function(){for(var D=n,S=0;S<16;++S)D[S]=this._block.readInt32LE(S*4);for(var N=this._a|0,j=this._b|0,F=this._c|0,O=this._d|0,W=this._e|0,_=this._a|0,z=this._b|0,k=this._c|0,w=this._d|0,s=this._e|0,l=0;l<80;l+=1){var f,h;l<16?(f=v(N,j,F,O,W,D[a[l]],d[0],o[l]),h=I(_,z,k,w,s,D[i[l]],p[0],u[l])):l<32?(f=C(N,j,F,O,W,D[a[l]],d[1],o[l]),h=T(_,z,k,w,s,D[i[l]],p[1],u[l])):l<48?(f=E(N,j,F,O,W,D[a[l]],d[2],o[l]),h=E(_,z,k,w,s,D[i[l]],p[2],u[l])):l<64?(f=T(N,j,F,O,W,D[a[l]],d[3],o[l]),h=C(_,z,k,w,s,D[i[l]],p[3],u[l])):(f=I(N,j,F,O,W,D[a[l]],d[4],o[l]),h=v(_,z,k,w,s,D[i[l]],p[4],u[l])),N=W,W=O,O=b(F,10),F=j,j=f,_=s,s=w,w=b(k,10),k=z,z=h}var g=this._b+F+w|0;this._b=this._c+O+s|0,this._c=this._d+W+_|0,this._d=this._e+N+z|0,this._e=this._a+j+k|0,this._a=g},m.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var D=e.alloc?e.alloc(20):new e(20);return D.writeInt32LE(this._a,0),D.writeInt32LE(this._b,4),D.writeInt32LE(this._c,8),D.writeInt32LE(this._d,12),D.writeInt32LE(this._e,16),D};function b(D,S){return D<<S|D>>>32-S}function v(D,S,N,j,F,O,W,_){return b(D+(S^N^j)+O+W|0,_)+F|0}function C(D,S,N,j,F,O,W,_){return b(D+(S&N|~S&j)+O+W|0,_)+F|0}function E(D,S,N,j,F,O,W,_){return b(D+((S|~N)^j)+O+W|0,_)+F|0}function T(D,S,N,j,F,O,W,_){return b(D+(S&j|N&~j)+O+W|0,_)+F|0}function I(D,S,N,j,F,O,W,_){return b(D+(S^(N|~j))+O+W|0,_)+F|0}return gg=m,gg}var yg={exports:{}},bg,hS;function td(){if(hS)return bg;hS=1;var e=ar.Buffer;function t(r,n){this._block=e.alloc(r),this._finalSize=n,this._blockSize=r,this._len=0}return t.prototype.update=function(r,n){typeof r=="string"&&(n=n||"utf8",r=e.from(r,n));for(var a=this._block,i=this._blockSize,o=r.length,u=this._len,d=0;d<o;){for(var p=u%i,m=Math.min(o-d,i-p),b=0;b<m;b++)a[p+b]=r[d+b];u+=m,d+=m,u%i===0&&this._update(a)}return this._len+=o,this},t.prototype.digest=function(r){var n=this._len%this._blockSize;this._block[n]=128,this._block.fill(0,n+1),n>=this._finalSize&&(this._update(this._block),this._block.fill(0));var a=this._len*8;if(a<=4294967295)this._block.writeUInt32BE(a,this._blockSize-4);else{var i=(a&4294967295)>>>0,o=(a-i)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(i,this._blockSize-4)}this._update(this._block);var u=this._hash();return r?u.toString(r):u},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},bg=t,bg}var Mg,pS;function Kre(){if(pS)return Mg;pS=1;var e=Kt,t=td(),r=ar.Buffer,n=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function i(){this.init(),this._w=a,t.call(this,64,56)}e(i,t),i.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function o(p){return p<<5|p>>>27}function u(p){return p<<30|p>>>2}function d(p,m,b,v){return p===0?m&b|~m&v:p===2?m&b|m&v|b&v:m^b^v}return i.prototype._update=function(p){for(var m=this._w,b=this._a|0,v=this._b|0,C=this._c|0,E=this._d|0,T=this._e|0,I=0;I<16;++I)m[I]=p.readInt32BE(I*4);for(;I<80;++I)m[I]=m[I-3]^m[I-8]^m[I-14]^m[I-16];for(var D=0;D<80;++D){var S=~~(D/20),N=o(b)+d(S,v,C,E)+T+m[D]+n[S]|0;T=E,E=C,C=u(v),v=b,b=N}this._a=b+this._a|0,this._b=v+this._b|0,this._c=C+this._c|0,this._d=E+this._d|0,this._e=T+this._e|0},i.prototype._hash=function(){var p=r.allocUnsafe(20);return p.writeInt32BE(this._a|0,0),p.writeInt32BE(this._b|0,4),p.writeInt32BE(this._c|0,8),p.writeInt32BE(this._d|0,12),p.writeInt32BE(this._e|0,16),p},Mg=i,Mg}var xg,mS;function Xre(){if(mS)return xg;mS=1;var e=Kt,t=td(),r=ar.Buffer,n=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function i(){this.init(),this._w=a,t.call(this,64,56)}e(i,t),i.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function o(m){return m<<1|m>>>31}function u(m){return m<<5|m>>>27}function d(m){return m<<30|m>>>2}function p(m,b,v,C){return m===0?b&v|~b&C:m===2?b&v|b&C|v&C:b^v^C}return i.prototype._update=function(m){for(var b=this._w,v=this._a|0,C=this._b|0,E=this._c|0,T=this._d|0,I=this._e|0,D=0;D<16;++D)b[D]=m.readInt32BE(D*4);for(;D<80;++D)b[D]=o(b[D-3]^b[D-8]^b[D-14]^b[D-16]);for(var S=0;S<80;++S){var N=~~(S/20),j=u(v)+p(N,C,E,T)+I+b[S]+n[N]|0;I=T,T=E,E=d(C),C=v,v=j}this._a=v+this._a|0,this._b=C+this._b|0,this._c=E+this._c|0,this._d=T+this._d|0,this._e=I+this._e|0},i.prototype._hash=function(){var m=r.allocUnsafe(20);return m.writeInt32BE(this._a|0,0),m.writeInt32BE(this._b|0,4),m.writeInt32BE(this._c|0,8),m.writeInt32BE(this._d|0,12),m.writeInt32BE(this._e|0,16),m},xg=i,xg}var vg,gS;function jF(){if(gS)return vg;gS=1;var e=Kt,t=td(),r=ar.Buffer,n=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function i(){this.init(),this._w=a,t.call(this,64,56)}e(i,t),i.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function o(v,C,E){return E^v&(C^E)}function u(v,C,E){return v&C|E&(v|C)}function d(v){return(v>>>2|v<<30)^(v>>>13|v<<19)^(v>>>22|v<<10)}function p(v){return(v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7)}function m(v){return(v>>>7|v<<25)^(v>>>18|v<<14)^v>>>3}function b(v){return(v>>>17|v<<15)^(v>>>19|v<<13)^v>>>10}return i.prototype._update=function(v){for(var C=this._w,E=this._a|0,T=this._b|0,I=this._c|0,D=this._d|0,S=this._e|0,N=this._f|0,j=this._g|0,F=this._h|0,O=0;O<16;++O)C[O]=v.readInt32BE(O*4);for(;O<64;++O)C[O]=b(C[O-2])+C[O-7]+m(C[O-15])+C[O-16]|0;for(var W=0;W<64;++W){var _=F+p(S)+o(S,N,j)+n[W]+C[W]|0,z=d(E)+u(E,T,I)|0;F=j,j=N,N=S,S=D+_|0,D=I,I=T,T=E,E=_+z|0}this._a=E+this._a|0,this._b=T+this._b|0,this._c=I+this._c|0,this._d=D+this._d|0,this._e=S+this._e|0,this._f=N+this._f|0,this._g=j+this._g|0,this._h=F+this._h|0},i.prototype._hash=function(){var v=r.allocUnsafe(32);return v.writeInt32BE(this._a,0),v.writeInt32BE(this._b,4),v.writeInt32BE(this._c,8),v.writeInt32BE(this._d,12),v.writeInt32BE(this._e,16),v.writeInt32BE(this._f,20),v.writeInt32BE(this._g,24),v.writeInt32BE(this._h,28),v},vg=i,vg}var wg,yS;function Jre(){if(yS)return wg;yS=1;var e=Kt,t=jF(),r=td(),n=ar.Buffer,a=new Array(64);function i(){this.init(),this._w=a,r.call(this,64,56)}return e(i,t),i.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},i.prototype._hash=function(){var o=n.allocUnsafe(28);return o.writeInt32BE(this._a,0),o.writeInt32BE(this._b,4),o.writeInt32BE(this._c,8),o.writeInt32BE(this._d,12),o.writeInt32BE(this._e,16),o.writeInt32BE(this._f,20),o.writeInt32BE(this._g,24),o},wg=i,wg}var Cg,bS;function BF(){if(bS)return Cg;bS=1;var e=Kt,t=td(),r=ar.Buffer,n=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function i(){this.init(),this._w=a,t.call(this,128,112)}e(i,t),i.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function o(T,I,D){return D^T&(I^D)}function u(T,I,D){return T&I|D&(T|I)}function d(T,I){return(T>>>28|I<<4)^(I>>>2|T<<30)^(I>>>7|T<<25)}function p(T,I){return(T>>>14|I<<18)^(T>>>18|I<<14)^(I>>>9|T<<23)}function m(T,I){return(T>>>1|I<<31)^(T>>>8|I<<24)^T>>>7}function b(T,I){return(T>>>1|I<<31)^(T>>>8|I<<24)^(T>>>7|I<<25)}function v(T,I){return(T>>>19|I<<13)^(I>>>29|T<<3)^T>>>6}function C(T,I){return(T>>>19|I<<13)^(I>>>29|T<<3)^(T>>>6|I<<26)}function E(T,I){return T>>>0<I>>>0?1:0}return i.prototype._update=function(T){for(var I=this._w,D=this._ah|0,S=this._bh|0,N=this._ch|0,j=this._dh|0,F=this._eh|0,O=this._fh|0,W=this._gh|0,_=this._hh|0,z=this._al|0,k=this._bl|0,w=this._cl|0,s=this._dl|0,l=this._el|0,f=this._fl|0,h=this._gl|0,g=this._hl|0,x=0;x<32;x+=2)I[x]=T.readInt32BE(x*4),I[x+1]=T.readInt32BE(x*4+4);for(;x<160;x+=2){var A=I[x-30],y=I[x-15*2+1],c=m(A,y),M=b(y,A);A=I[x-2*2],y=I[x-2*2+1];var B=v(A,y),R=C(y,A),Q=I[x-7*2],K=I[x-7*2+1],q=I[x-16*2],P=I[x-16*2+1],G=M+K|0,X=c+Q+E(G,M)|0;G=G+R|0,X=X+B+E(G,R)|0,G=G+P|0,X=X+q+E(G,P)|0,I[x]=X,I[x+1]=G}for(var ne=0;ne<160;ne+=2){X=I[ne],G=I[ne+1];var te=u(D,S,N),V=u(z,k,w),oe=d(D,z),xe=d(z,D),fe=p(F,l),me=p(l,F),Ze=n[ne],he=n[ne+1],Se=o(F,O,W),Ke=o(l,f,h),ye=g+me|0,ce=_+fe+E(ye,g)|0;ye=ye+Ke|0,ce=ce+Se+E(ye,Ke)|0,ye=ye+he|0,ce=ce+Ze+E(ye,he)|0,ye=ye+G|0,ce=ce+X+E(ye,G)|0;var Fe=xe+V|0,pe=oe+te+E(Fe,xe)|0;_=W,g=h,W=O,h=f,O=F,f=l,l=s+ye|0,F=j+ce+E(l,s)|0,j=N,s=w,N=S,w=k,S=D,k=z,z=ye+Fe|0,D=ce+pe+E(z,ye)|0}this._al=this._al+z|0,this._bl=this._bl+k|0,this._cl=this._cl+w|0,this._dl=this._dl+s|0,this._el=this._el+l|0,this._fl=this._fl+f|0,this._gl=this._gl+h|0,this._hl=this._hl+g|0,this._ah=this._ah+D+E(this._al,z)|0,this._bh=this._bh+S+E(this._bl,k)|0,this._ch=this._ch+N+E(this._cl,w)|0,this._dh=this._dh+j+E(this._dl,s)|0,this._eh=this._eh+F+E(this._el,l)|0,this._fh=this._fh+O+E(this._fl,f)|0,this._gh=this._gh+W+E(this._gl,h)|0,this._hh=this._hh+_+E(this._hl,g)|0},i.prototype._hash=function(){var T=r.allocUnsafe(64);function I(D,S,N){T.writeInt32BE(D,N),T.writeInt32BE(S,N+4)}return I(this._ah,this._al,0),I(this._bh,this._bl,8),I(this._ch,this._cl,16),I(this._dh,this._dl,24),I(this._eh,this._el,32),I(this._fh,this._fl,40),I(this._gh,this._gl,48),I(this._hh,this._hl,56),T},Cg=i,Cg}var Ag,MS;function ene(){if(MS)return Ag;MS=1;var e=Kt,t=BF(),r=td(),n=ar.Buffer,a=new Array(160);function i(){this.init(),this._w=a,r.call(this,128,112)}return e(i,t),i.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},i.prototype._hash=function(){var o=n.allocUnsafe(48);function u(d,p,m){o.writeInt32BE(d,m),o.writeInt32BE(p,m+4)}return u(this._ah,this._al,0),u(this._bh,this._bl,8),u(this._ch,this._cl,16),u(this._dh,this._dl,24),u(this._eh,this._el,32),u(this._fh,this._fl,40),o},Ag=i,Ag}var xS;function Rx(){if(xS)return yg.exports;xS=1;var e=yg.exports=function(r){r=r.toLowerCase();var n=e[r];if(!n)throw new Error(r+" is not supported (we accept pull requests)");return new n};return e.sha=Kre(),e.sha1=Xre(),e.sha224=Jre(),e.sha256=jF(),e.sha384=ene(),e.sha512=BF(),yg.exports}var Eg,vS;function Al(){if(vS)return Eg;vS=1;var e=ar.Buffer,t=zx.Transform,r=Rb().StringDecoder,n=Kt;function a(d){t.call(this),this.hashMode=typeof d=="string",this.hashMode?this[d]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n(a,t);var i=typeof Uint8Array<"u",o=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);function u(d,p){if(d instanceof e)return d;if(typeof d=="string")return e.from(d,p);if(o&&ArrayBuffer.isView(d)){if(d.byteLength===0)return e.alloc(0);var m=e.from(d.buffer,d.byteOffset,d.byteLength);if(m.byteLength===d.byteLength)return m}if(i&&d instanceof Uint8Array||e.isBuffer(d)&&d.constructor&&typeof d.constructor.isBuffer=="function"&&d.constructor.isBuffer(d))return e.from(d);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}return a.prototype.update=function(d,p,m){var b=u(d,p),v=this._update(b);return this.hashMode?this:(m&&(v=this._toString(v,m)),v)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(d,p,m){var b;try{this.hashMode?this._update(d):this.push(this._update(d))}catch(v){b=v}finally{m(b)}},a.prototype._flush=function(d){var p;try{this.push(this.__final())}catch(m){p=m}d(p)},a.prototype._finalOrDigest=function(d){var p=this.__final()||e.alloc(0);return d&&(p=this._toString(p,d,!0)),p},a.prototype._toString=function(d,p,m){if(this._decoder||(this._decoder=new r(p),this._encoding=p),this._encoding!==p)throw new Error("can’t switch encodings");var b=this._decoder.write(d);return m&&(b+=this._decoder.end()),b},Eg=a,Eg}var Sg,wS;function Qh(){if(wS)return Sg;wS=1;var e=Kt,t=Fx(),r=Ox(),n=Rx(),a=Al();function i(o){a.call(this,"digest"),this._hash=o}return e(i,a),i.prototype._update=function(o){this._hash.update(o)},i.prototype._final=function(){return this._hash.digest()},Sg=function(u){return u=u.toLowerCase(),u==="md5"?new t:u==="rmd160"||u==="ripemd160"?new r:new i(n(u))},Sg}var Dg,CS;function tne(){if(CS)return Dg;CS=1;var e=Kt,t=ar.Buffer,r=Al(),n=t.alloc(128),a=64;function i(o,u){r.call(this,"digest"),typeof u=="string"&&(u=t.from(u)),this._alg=o,this._key=u,u.length>a?u=o(u):u.length<a&&(u=t.concat([u,n],a));for(var d=this._ipad=t.allocUnsafe(a),p=this._opad=t.allocUnsafe(a),m=0;m<a;m++)d[m]=u[m]^54,p[m]=u[m]^92;this._hash=[d]}return e(i,r),i.prototype._update=function(o){this._hash.push(o)},i.prototype._final=function(){var o=this._alg(t.concat(this._hash));return this._alg(t.concat([this._opad,o]))},Dg=i,Dg}var Tg,AS;function kF(){if(AS)return Tg;AS=1;var e=Fx();return Tg=function(t){return new e().update(t).digest()},Tg}var Ig,ES;function zF(){if(ES)return Ig;ES=1;var e=Kt,t=tne(),r=Al(),n=ar.Buffer,a=kF(),i=Ox(),o=Rx(),u=n.alloc(128);function d(p,m){r.call(this,"digest"),typeof m=="string"&&(m=n.from(m));var b=p==="sha512"||p==="sha384"?128:64;if(this._alg=p,this._key=m,m.length>b){var v=p==="rmd160"?new i:o(p);m=v.update(m).digest()}else m.length<b&&(m=n.concat([m,u],b));for(var C=this._ipad=n.allocUnsafe(b),E=this._opad=n.allocUnsafe(b),T=0;T<b;T++)C[T]=m[T]^54,E[T]=m[T]^92;this._hash=p==="rmd160"?new i:o(p),this._hash.update(C)}return e(d,r),d.prototype._update=function(p){this._hash.update(p)},d.prototype._final=function(){var p=this._hash.digest(),m=this._alg==="rmd160"?new i:o(this._alg);return m.update(this._opad).update(p).digest()},Ig=function(m,b){return m=m.toLowerCase(),m==="rmd160"||m==="ripemd160"?new d("rmd160",b):m==="md5"?new t(a,b):new d(m,b)},Ig}const rne={sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},nne={sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},ine={sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},ane={sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},sne={sign:"ecdsa",hash:"sha256",id:""},one={sign:"ecdsa",hash:"sha224",id:""},cne={sign:"ecdsa",hash:"sha384",id:""},lne={sign:"ecdsa",hash:"sha512",id:""},une={sign:"dsa",hash:"sha1",id:""},fne={sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},dne={sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},_F={sha224WithRSAEncryption:rne,"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:nne,"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:ine,"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:ane,"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:sne,sha224:one,sha384:cne,sha512:lne,"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:une,"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:fne,"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:dne,"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}};var Ng,SS;function hne(){return SS||(SS=1,Ng=_F),Ng}var H2={},Lg,DS;function FF(){if(DS)return Lg;DS=1;var e=Math.pow(2,30)-1;return Lg=function(t,r){if(typeof t!="number")throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if(typeof r!="number")throw new TypeError("Key length not a number");if(r<0||r>e||r!==r)throw new TypeError("Bad key length")},Lg}var jg,TS;function OF(){if(TS)return jg;TS=1;var e;if(Ut.process&&Ut.process.browser)e="utf-8";else if(Ut.process&&Ut.process.version){var t=parseInt(Je.process.version.split(".")[0].slice(1),10);e=t>=6?"utf-8":"binary"}else e="utf-8";return jg=e,jg}var Bg,IS;function RF(){if(IS)return Bg;IS=1;var e=ar.Buffer;return Bg=function(t,r,n){if(e.isBuffer(t))return t;if(typeof t=="string")return e.from(t,r);if(ArrayBuffer.isView(t))return e.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")},Bg}var kg,NS;function UF(){if(NS)return kg;NS=1;var e=kF(),t=Ox(),r=Rx(),n=ar.Buffer,a=FF(),i=OF(),o=RF(),u=n.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function p(v,C,E){var T=m(v),I=v==="sha512"||v==="sha384"?128:64;C.length>I?C=T(C):C.length<I&&(C=n.concat([C,u],I));for(var D=n.allocUnsafe(I+d[v]),S=n.allocUnsafe(I+d[v]),N=0;N<I;N++)D[N]=C[N]^54,S[N]=C[N]^92;var j=n.allocUnsafe(I+E+4);D.copy(j,0,0,I),this.ipad1=j,this.ipad2=D,this.opad=S,this.alg=v,this.blocksize=I,this.hash=T,this.size=d[v]}p.prototype.run=function(v,C){v.copy(C,this.blocksize);var E=this.hash(C);return E.copy(this.opad,this.blocksize),this.hash(this.opad)};function m(v){function C(T){return r(v).update(T).digest()}function E(T){return new t().update(T).digest()}return v==="rmd160"||v==="ripemd160"?E:v==="md5"?e:C}function b(v,C,E,T,I){a(E,T),v=o(v,i,"Password"),C=o(C,i,"Salt"),I=I||"sha1";var D=new p(I,v,C.length),S=n.allocUnsafe(T),N=n.allocUnsafe(C.length+4);C.copy(N,0,0,C.length);for(var j=0,F=d[I],O=Math.ceil(T/F),W=1;W<=O;W++){N.writeUInt32BE(W,C.length);for(var _=D.run(N,D.ipad1),z=_,k=1;k<E;k++){z=D.run(z,D.ipad2);for(var w=0;w<F;w++)_[w]^=z[w]}_.copy(S,j),j+=F}return S}return kg=b,kg}var zg,LS;function pne(){if(LS)return zg;LS=1;var e=ar.Buffer,t=FF(),r=OF(),n=UF(),a=RF(),i,o=Ut.crypto&&Ut.crypto.subtle,u={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function p(E){if(Ut.process&&!Ut.process.browser||!o||!o.importKey||!o.deriveBits)return Promise.resolve(!1);if(d[E]!==void 0)return d[E];i=i||e.alloc(8);var T=v(i,i,10,128,E).then(function(){return!0}).catch(function(){return!1});return d[E]=T,T}var m;function b(){return m||(Ut.process&&Ut.process.nextTick?m=Ut.process.nextTick:Ut.queueMicrotask?m=Ut.queueMicrotask:Ut.setImmediate?m=Ut.setImmediate:m=Ut.setTimeout,m)}function v(E,T,I,D,S){return o.importKey("raw",E,{name:"PBKDF2"},!1,["deriveBits"]).then(function(N){return o.deriveBits({name:"PBKDF2",salt:T,iterations:I,hash:{name:S}},N,D<<3)}).then(function(N){return e.from(N)})}function C(E,T){E.then(function(I){b()(function(){T(null,I)})},function(I){b()(function(){T(I)})})}return zg=function(E,T,I,D,S,N){typeof S=="function"&&(N=S,S=void 0),S=S||"sha1";var j=u[S.toLowerCase()];if(!j||typeof Ut.Promise!="function"){b()(function(){var F;try{F=n(E,T,I,D,S)}catch(O){return N(O)}N(null,F)});return}if(t(I,D),E=a(E,r,"Password"),T=a(T,r,"Salt"),typeof N!="function")throw new Error("No callback provided to pbkdf2");C(p(j).then(function(F){return F?v(E,T,I,D,j):n(E,T,I,D,S)}),N)},zg}var jS;function PF(){return jS||(jS=1,H2.pbkdf2=pne(),H2.pbkdf2Sync=UF()),H2}var qa={},Nl={},Da={},BS;function WF(){if(BS)return Da;BS=1,Da.readUInt32BE=function(a,i){var o=a[0+i]<<24|a[1+i]<<16|a[2+i]<<8|a[3+i];return o>>>0},Da.writeUInt32BE=function(a,i,o){a[0+o]=i>>>24,a[1+o]=i>>>16&255,a[2+o]=i>>>8&255,a[3+o]=i&255},Da.ip=function(a,i,o,u){for(var d=0,p=0,m=6;m>=0;m-=2){for(var b=0;b<=24;b+=8)d<<=1,d|=i>>>b+m&1;for(var b=0;b<=24;b+=8)d<<=1,d|=a>>>b+m&1}for(var m=6;m>=0;m-=2){for(var b=1;b<=25;b+=8)p<<=1,p|=i>>>b+m&1;for(var b=1;b<=25;b+=8)p<<=1,p|=a>>>b+m&1}o[u+0]=d>>>0,o[u+1]=p>>>0},Da.rip=function(a,i,o,u){for(var d=0,p=0,m=0;m<4;m++)for(var b=24;b>=0;b-=8)d<<=1,d|=i>>>b+m&1,d<<=1,d|=a>>>b+m&1;for(var m=4;m<8;m++)for(var b=24;b>=0;b-=8)p<<=1,p|=i>>>b+m&1,p<<=1,p|=a>>>b+m&1;o[u+0]=d>>>0,o[u+1]=p>>>0},Da.pc1=function(a,i,o,u){for(var d=0,p=0,m=7;m>=5;m--){for(var b=0;b<=24;b+=8)d<<=1,d|=i>>b+m&1;for(var b=0;b<=24;b+=8)d<<=1,d|=a>>b+m&1}for(var b=0;b<=24;b+=8)d<<=1,d|=i>>b+m&1;for(var m=1;m<=3;m++){for(var b=0;b<=24;b+=8)p<<=1,p|=i>>b+m&1;for(var b=0;b<=24;b+=8)p<<=1,p|=a>>b+m&1}for(var b=0;b<=24;b+=8)p<<=1,p|=a>>b+m&1;o[u+0]=d>>>0,o[u+1]=p>>>0},Da.r28shl=function(a,i){return a<<i&268435455|a>>>28-i};var e=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];Da.pc2=function(a,i,o,u){for(var d=0,p=0,m=e.length>>>1,b=0;b<m;b++)d<<=1,d|=a>>>e[b]&1;for(var b=m;b<e.length;b++)p<<=1,p|=i>>>e[b]&1;o[u+0]=d>>>0,o[u+1]=p>>>0},Da.expand=function(a,i,o){var u=0,d=0;u=(a&1)<<5|a>>>27;for(var p=23;p>=15;p-=4)u<<=6,u|=a>>>p&63;for(var p=11;p>=3;p-=4)d|=a>>>p&63,d<<=6;d|=(a&31)<<1|a>>>31,i[o+0]=u>>>0,i[o+1]=d>>>0};var t=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];Da.substitute=function(a,i){for(var o=0,u=0;u<4;u++){var d=a>>>18-u*6&63,p=t[u*64+d];o<<=4,o|=p}for(var u=0;u<4;u++){var d=i>>>18-u*6&63,p=t[4*64+u*64+d];o<<=4,o|=p}return o>>>0};var r=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];return Da.permute=function(a){for(var i=0,o=0;o<r.length;o++)i<<=1,i|=a>>>r[o]&1;return i>>>0},Da.padSplit=function(a,i,o){for(var u=a.toString(2);u.length<i;)u="0"+u;for(var d=[],p=0;p<i;p+=o)d.push(u.slice(p,p+o));return d.join(" ")},Da}var _g,kS;function Ts(){if(kS)return _g;kS=1,_g=e;function e(t,r){if(!t)throw new Error(r||"Assertion failed")}return e.equal=function(r,n,a){if(r!=n)throw new Error(a||"Assertion failed: "+r+" != "+n)},_g}var Fg,zS;function Ux(){if(zS)return Fg;zS=1;var e=Ts();function t(r){this.options=r,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=r.padding!==!1}return Fg=t,t.prototype._init=function(){},t.prototype.update=function(n){return n.length===0?[]:this.type==="decrypt"?this._updateDecrypt(n):this._updateEncrypt(n)},t.prototype._buffer=function(n,a){for(var i=Math.min(this.buffer.length-this.bufferOff,n.length-a),o=0;o<i;o++)this.buffer[this.bufferOff+o]=n[a+o];return this.bufferOff+=i,i},t.prototype._flushBuffer=function(n,a){return this._update(this.buffer,0,n,a),this.bufferOff=0,this.blockSize},t.prototype._updateEncrypt=function(n){var a=0,i=0,o=(this.bufferOff+n.length)/this.blockSize|0,u=new Array(o*this.blockSize);this.bufferOff!==0&&(a+=this._buffer(n,a),this.bufferOff===this.buffer.length&&(i+=this._flushBuffer(u,i)));for(var d=n.length-(n.length-a)%this.blockSize;a<d;a+=this.blockSize)this._update(n,a,u,i),i+=this.blockSize;for(;a<n.length;a++,this.bufferOff++)this.buffer[this.bufferOff]=n[a];return u},t.prototype._updateDecrypt=function(n){for(var a=0,i=0,o=Math.ceil((this.bufferOff+n.length)/this.blockSize)-1,u=new Array(o*this.blockSize);o>0;o--)a+=this._buffer(n,a),i+=this._flushBuffer(u,i);return a+=this._buffer(n,a),u},t.prototype.final=function(n){var a;n&&(a=this.update(n));var i;return this.type==="encrypt"?i=this._finalEncrypt():i=this._finalDecrypt(),a?a.concat(i):i},t.prototype._pad=function(n,a){if(a===0)return!1;for(;a<n.length;)n[a++]=0;return!0},t.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var n=new Array(this.blockSize);return this._update(this.buffer,0,n,0),n},t.prototype._unpad=function(n){return n},t.prototype._finalDecrypt=function(){e.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var n=new Array(this.blockSize);return this._flushBuffer(n,0),this._unpad(n)},Fg}var Og,_S;function HF(){if(_S)return Og;_S=1;var e=Ts(),t=Kt,r=WF(),n=Ux();function a(){this.tmp=new Array(2),this.keys=null}function i(u){n.call(this,u);var d=new a;this._desState=d,this.deriveKeys(d,u.key)}t(i,n),Og=i,i.create=function(d){return new i(d)};var o=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];return i.prototype.deriveKeys=function(d,p){d.keys=new Array(16*2),e.equal(p.length,this.blockSize,"Invalid key length");var m=r.readUInt32BE(p,0),b=r.readUInt32BE(p,4);r.pc1(m,b,d.tmp,0),m=d.tmp[0],b=d.tmp[1];for(var v=0;v<d.keys.length;v+=2){var C=o[v>>>1];m=r.r28shl(m,C),b=r.r28shl(b,C),r.pc2(m,b,d.keys,v)}},i.prototype._update=function(d,p,m,b){var v=this._desState,C=r.readUInt32BE(d,p),E=r.readUInt32BE(d,p+4);r.ip(C,E,v.tmp,0),C=v.tmp[0],E=v.tmp[1],this.type==="encrypt"?this._encrypt(v,C,E,v.tmp,0):this._decrypt(v,C,E,v.tmp,0),C=v.tmp[0],E=v.tmp[1],r.writeUInt32BE(m,C,b),r.writeUInt32BE(m,E,b+4)},i.prototype._pad=function(d,p){if(this.padding===!1)return!1;for(var m=d.length-p,b=p;b<d.length;b++)d[b]=m;return!0},i.prototype._unpad=function(d){if(this.padding===!1)return d;for(var p=d[d.length-1],m=d.length-p;m<d.length;m++)e.equal(d[m],p);return d.slice(0,d.length-p)},i.prototype._encrypt=function(d,p,m,b,v){for(var C=p,E=m,T=0;T<d.keys.length;T+=2){var I=d.keys[T],D=d.keys[T+1];r.expand(E,d.tmp,0),I^=d.tmp[0],D^=d.tmp[1];var S=r.substitute(I,D),N=r.permute(S),j=E;E=(C^N)>>>0,C=j}r.rip(E,C,b,v)},i.prototype._decrypt=function(d,p,m,b,v){for(var C=m,E=p,T=d.keys.length-2;T>=0;T-=2){var I=d.keys[T],D=d.keys[T+1];r.expand(C,d.tmp,0),I^=d.tmp[0],D^=d.tmp[1];var S=r.substitute(I,D),N=r.permute(S),j=C;C=(E^N)>>>0,E=j}r.rip(C,E,b,v)},Og}var Rg={},FS;function mne(){if(FS)return Rg;FS=1;var e=Ts(),t=Kt,r={};function n(i){e.equal(i.length,8,"Invalid IV length"),this.iv=new Array(8);for(var o=0;o<this.iv.length;o++)this.iv[o]=i[o]}function a(i){function o(m){i.call(this,m),this._cbcInit()}t(o,i);for(var u=Object.keys(r),d=0;d<u.length;d++){var p=u[d];o.prototype[p]=r[p]}return o.create=function(b){return new o(b)},o}return Rg.instantiate=a,r._cbcInit=function(){var o=new n(this.options.iv);this._cbcState=o},r._update=function(o,u,d,p){var m=this._cbcState,b=this.constructor.super_.prototype,v=m.iv;if(this.type==="encrypt"){for(var C=0;C<this.blockSize;C++)v[C]^=o[u+C];b._update.call(this,v,0,d,p);for(var C=0;C<this.blockSize;C++)v[C]=d[p+C]}else{b._update.call(this,o,u,d,p);for(var C=0;C<this.blockSize;C++)d[p+C]^=v[C];for(var C=0;C<this.blockSize;C++)v[C]=o[u+C]}},Rg}var Ug,OS;function gne(){if(OS)return Ug;OS=1;var e=Ts(),t=Kt,r=Ux(),n=HF();function a(o,u){e.equal(u.length,24,"Invalid key length");var d=u.slice(0,8),p=u.slice(8,16),m=u.slice(16,24);o==="encrypt"?this.ciphers=[n.create({type:"encrypt",key:d}),n.create({type:"decrypt",key:p}),n.create({type:"encrypt",key:m})]:this.ciphers=[n.create({type:"decrypt",key:m}),n.create({type:"encrypt",key:p}),n.create({type:"decrypt",key:d})]}function i(o){r.call(this,o);var u=new a(this.type,this.options.key);this._edeState=u}return t(i,r),Ug=i,i.create=function(u){return new i(u)},i.prototype._update=function(u,d,p,m){var b=this._edeState;b.ciphers[0]._update(u,d,p,m),b.ciphers[1]._update(p,m,p,m),b.ciphers[2]._update(p,m,p,m)},i.prototype._pad=n.prototype._pad,i.prototype._unpad=n.prototype._unpad,Ug}var RS;function yne(){return RS||(RS=1,Nl.utils=WF(),Nl.Cipher=Ux(),Nl.DES=HF(),Nl.CBC=mne(),Nl.EDE=gne()),Nl}var Pg,US;function bne(){if(US)return Pg;US=1;var e=Al(),t=yne(),r=Kt,n=ar.Buffer,a={"des-ede3-cbc":t.CBC.instantiate(t.EDE),"des-ede3":t.EDE,"des-ede-cbc":t.CBC.instantiate(t.EDE),"des-ede":t.EDE,"des-cbc":t.CBC.instantiate(t.DES),"des-ecb":t.DES};a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],Pg=i,r(i,e);function i(o){e.call(this);var u=o.mode.toLowerCase(),d=a[u],p;o.decrypt?p="decrypt":p="encrypt";var m=o.key;n.isBuffer(m)||(m=n.from(m)),(u==="des-ede"||u==="des-ede-cbc")&&(m=n.concat([m,m.slice(0,8)]));var b=o.iv;n.isBuffer(b)||(b=n.from(b)),this._des=d.create({key:m,iv:b,type:p})}return i.prototype._update=function(o){return n.from(this._des.update(o))},i.prototype._final=function(){return n.from(this._des.final())},Pg}var Va={},Y2={},Z2={},PS;function Mne(){return PS||(PS=1,Z2.encrypt=function(e,t){return e._cipher.encryptBlock(t)},Z2.decrypt=function(e,t){return e._cipher.decryptBlock(t)}),Z2}var G2={},Wg,WS;function qh(){return WS||(WS=1,Wg=function(t,r){for(var n=Math.min(t.length,r.length),a=new Je.Buffer(n),i=0;i<n;++i)a[i]=t[i]^r[i];return a}),Wg}var HS;function xne(){if(HS)return G2;HS=1;var e=qh();return G2.encrypt=function(t,r){var n=e(r,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev},G2.decrypt=function(t,r){var n=t._prev;t._prev=r;var a=t._cipher.decryptBlock(r);return e(a,n)},G2}var Hg={},YS;function vne(){if(YS)return Hg;YS=1;var e=ar.Buffer,t=qh();function r(n,a,i){var o=a.length,u=t(a,n._cache);return n._cache=n._cache.slice(o),n._prev=e.concat([n._prev,i?a:u]),u}return Hg.encrypt=function(n,a,i){for(var o=e.allocUnsafe(0),u;a.length;)if(n._cache.length===0&&(n._cache=n._cipher.encryptBlock(n._prev),n._prev=e.allocUnsafe(0)),n._cache.length<=a.length)u=n._cache.length,o=e.concat([o,r(n,a.slice(0,u),i)]),a=a.slice(u);else{o=e.concat([o,r(n,a,i)]);break}return o},Hg}var Yg={},ZS;function wne(){if(ZS)return Yg;ZS=1;var e=ar.Buffer;function t(r,n,a){var i=r._cipher.encryptBlock(r._prev),o=i[0]^n;return r._prev=e.concat([r._prev.slice(1),e.from([a?n:o])]),o}return Yg.encrypt=function(r,n,a){for(var i=n.length,o=e.allocUnsafe(i),u=-1;++u<i;)o[u]=t(r,n[u],a);return o},Yg}var Zg={},GS;function Cne(){if(GS)return Zg;GS=1;var e=ar.Buffer;function t(n,a,i){for(var o,u=-1,d=8,p=0,m,b;++u<d;)o=n._cipher.encryptBlock(n._prev),m=a&1<<7-u?128:0,b=o[0]^m,p+=(b&128)>>u%8,n._prev=r(n._prev,i?m:b);return p}function r(n,a){var i=n.length,o=-1,u=e.allocUnsafe(n.length);for(n=e.concat([n,e.from([a])]);++o<i;)u[o]=n[o]<<1|n[o+1]>>7;return u}return Zg.encrypt=function(n,a,i){for(var o=a.length,u=e.allocUnsafe(o),d=-1;++d<o;)u[d]=t(n,a[d],i);return u},Zg}var Gg={},QS;function Ane(){if(QS)return Gg;QS=1;var e=qh();function t(r){return r._prev=r._cipher.encryptBlock(r._prev),r._prev}return Gg.encrypt=function(r,n){for(;r._cache.length<n.length;)r._cache=Je.Buffer.concat([r._cache,t(r)]);var a=r._cache.slice(0,n.length);return r._cache=r._cache.slice(n.length),e(n,a)},Gg}var Qg={},qg,qS;function YF(){if(qS)return qg;qS=1;function e(t){for(var r=t.length,n;r--;)if(n=t.readUInt8(r),n===255)t.writeUInt8(0,r);else{n++,t.writeUInt8(n,r);break}}return qg=e,qg}var VS;function $S(){if(VS)return Qg;VS=1;var e=qh(),t=ar.Buffer,r=YF();function n(i){var o=i._cipher.encryptBlockRaw(i._prev);return r(i._prev),o}var a=16;return Qg.encrypt=function(i,o){var u=Math.ceil(o.length/a),d=i._cache.length;i._cache=t.concat([i._cache,t.allocUnsafe(u*a)]);for(var p=0;p<u;p++){var m=n(i),b=d+p*a;i._cache.writeUInt32BE(m[0],b+0),i._cache.writeUInt32BE(m[1],b+4),i._cache.writeUInt32BE(m[2],b+8),i._cache.writeUInt32BE(m[3],b+12)}var v=i._cache.slice(0,o.length);return i._cache=i._cache.slice(o.length),e(o,v)},Qg}const Ene={cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},Sne={cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},Dne={cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},ZF={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:Ene,aes192:Sne,aes256:Dne,"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}};var Vg,KS;function Px(){if(KS)return Vg;KS=1;var e={ECB:Mne(),CBC:xne(),CFB:vne(),CFB8:wne(),CFB1:Cne(),OFB:Ane(),CTR:$S(),GCM:$S()},t=ZF;for(var r in t)t[r].module=e[t[r].mode];return Vg=t,Vg}var $g={},XS;function i5(){if(XS)return $g;XS=1;var e=ar.Buffer;function t(u){e.isBuffer(u)||(u=e.from(u));for(var d=u.length/4|0,p=new Array(d),m=0;m<d;m++)p[m]=u.readUInt32BE(m*4);return p}function r(u){for(var d=0;d<u.length;u++)u[d]=0}function n(u,d,p,m,b){for(var v=p[0],C=p[1],E=p[2],T=p[3],I=u[0]^d[0],D=u[1]^d[1],S=u[2]^d[2],N=u[3]^d[3],j,F,O,W,_=4,z=1;z<b;z++)j=v[I>>>24]^C[D>>>16&255]^E[S>>>8&255]^T[N&255]^d[_++],F=v[D>>>24]^C[S>>>16&255]^E[N>>>8&255]^T[I&255]^d[_++],O=v[S>>>24]^C[N>>>16&255]^E[I>>>8&255]^T[D&255]^d[_++],W=v[N>>>24]^C[I>>>16&255]^E[D>>>8&255]^T[S&255]^d[_++],I=j,D=F,S=O,N=W;return j=(m[I>>>24]<<24|m[D>>>16&255]<<16|m[S>>>8&255]<<8|m[N&255])^d[_++],F=(m[D>>>24]<<24|m[S>>>16&255]<<16|m[N>>>8&255]<<8|m[I&255])^d[_++],O=(m[S>>>24]<<24|m[N>>>16&255]<<16|m[I>>>8&255]<<8|m[D&255])^d[_++],W=(m[N>>>24]<<24|m[I>>>16&255]<<16|m[D>>>8&255]<<8|m[S&255])^d[_++],j=j>>>0,F=F>>>0,O=O>>>0,W=W>>>0,[j,F,O,W]}var a=[0,1,2,4,8,16,32,64,128,27,54],i=function(){for(var u=new Array(256),d=0;d<256;d++)d<128?u[d]=d<<1:u[d]=d<<1^283;for(var p=[],m=[],b=[[],[],[],[]],v=[[],[],[],[]],C=0,E=0,T=0;T<256;++T){var I=E^E<<1^E<<2^E<<3^E<<4;I=I>>>8^I&255^99,p[C]=I,m[I]=C;var D=u[C],S=u[D],N=u[S],j=u[I]*257^I*16843008;b[0][C]=j<<24|j>>>8,b[1][C]=j<<16|j>>>16,b[2][C]=j<<8|j>>>24,b[3][C]=j,j=N*16843009^S*65537^D*257^C*16843008,v[0][I]=j<<24|j>>>8,v[1][I]=j<<16|j>>>16,v[2][I]=j<<8|j>>>24,v[3][I]=j,C===0?C=E=1:(C=D^u[u[u[N^D]]],E^=u[u[E]])}return{SBOX:p,INV_SBOX:m,SUB_MIX:b,INV_SUB_MIX:v}}();function o(u){this._key=t(u),this._reset()}return o.blockSize=4*4,o.keySize=256/8,o.prototype.blockSize=o.blockSize,o.prototype.keySize=o.keySize,o.prototype._reset=function(){for(var u=this._key,d=u.length,p=d+6,m=(p+1)*4,b=[],v=0;v<d;v++)b[v]=u[v];for(v=d;v<m;v++){var C=b[v-1];v%d===0?(C=C<<8|C>>>24,C=i.SBOX[C>>>24]<<24|i.SBOX[C>>>16&255]<<16|i.SBOX[C>>>8&255]<<8|i.SBOX[C&255],C^=a[v/d|0]<<24):d>6&&v%d===4&&(C=i.SBOX[C>>>24]<<24|i.SBOX[C>>>16&255]<<16|i.SBOX[C>>>8&255]<<8|i.SBOX[C&255]),b[v]=b[v-d]^C}for(var E=[],T=0;T<m;T++){var I=m-T,D=b[I-(T%4?0:4)];T<4||I<=4?E[T]=D:E[T]=i.INV_SUB_MIX[0][i.SBOX[D>>>24]]^i.INV_SUB_MIX[1][i.SBOX[D>>>16&255]]^i.INV_SUB_MIX[2][i.SBOX[D>>>8&255]]^i.INV_SUB_MIX[3][i.SBOX[D&255]]}this._nRounds=p,this._keySchedule=b,this._invKeySchedule=E},o.prototype.encryptBlockRaw=function(u){return u=t(u),n(u,this._keySchedule,i.SUB_MIX,i.SBOX,this._nRounds)},o.prototype.encryptBlock=function(u){var d=this.encryptBlockRaw(u),p=e.allocUnsafe(16);return p.writeUInt32BE(d[0],0),p.writeUInt32BE(d[1],4),p.writeUInt32BE(d[2],8),p.writeUInt32BE(d[3],12),p},o.prototype.decryptBlock=function(u){u=t(u);var d=u[1];u[1]=u[3],u[3]=d;var p=n(u,this._invKeySchedule,i.INV_SUB_MIX,i.INV_SBOX,this._nRounds),m=e.allocUnsafe(16);return m.writeUInt32BE(p[0],0),m.writeUInt32BE(p[3],4),m.writeUInt32BE(p[2],8),m.writeUInt32BE(p[1],12),m},o.prototype.scrub=function(){r(this._keySchedule),r(this._invKeySchedule),r(this._key)},$g.AES=o,$g}var Kg,JS;function Tne(){if(JS)return Kg;JS=1;var e=ar.Buffer,t=e.alloc(16,0);function r(i){return[i.readUInt32BE(0),i.readUInt32BE(4),i.readUInt32BE(8),i.readUInt32BE(12)]}function n(i){var o=e.allocUnsafe(16);return o.writeUInt32BE(i[0]>>>0,0),o.writeUInt32BE(i[1]>>>0,4),o.writeUInt32BE(i[2]>>>0,8),o.writeUInt32BE(i[3]>>>0,12),o}function a(i){this.h=i,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}return a.prototype.ghash=function(i){for(var o=-1;++o<i.length;)this.state[o]^=i[o];this._multiply()},a.prototype._multiply=function(){for(var i=r(this.h),o=[0,0,0,0],u,d,p,m=-1;++m<128;){for(d=(this.state[~~(m/8)]&1<<7-m%8)!==0,d&&(o[0]^=i[0],o[1]^=i[1],o[2]^=i[2],o[3]^=i[3]),p=(i[3]&1)!==0,u=3;u>0;u--)i[u]=i[u]>>>1|(i[u-1]&1)<<31;i[0]=i[0]>>>1,p&&(i[0]=i[0]^225<<24)}this.state=n(o)},a.prototype.update=function(i){this.cache=e.concat([this.cache,i]);for(var o;this.cache.length>=16;)o=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(o)},a.prototype.final=function(i,o){return this.cache.length&&this.ghash(e.concat([this.cache,t],16)),this.ghash(n([0,i,0,o])),this.state},Kg=a,Kg}var Xg,eD;function GF(){if(eD)return Xg;eD=1;var e=i5(),t=ar.Buffer,r=Al(),n=Kt,a=Tne(),i=qh(),o=YF();function u(m,b){var v=0;m.length!==b.length&&v++;for(var C=Math.min(m.length,b.length),E=0;E<C;++E)v+=m[E]^b[E];return v}function d(m,b,v){if(b.length===12)return m._finID=t.concat([b,t.from([0,0,0,1])]),t.concat([b,t.from([0,0,0,2])]);var C=new a(v),E=b.length,T=E%16;C.update(b),T&&(T=16-T,C.update(t.alloc(T,0))),C.update(t.alloc(8,0));var I=E*8,D=t.alloc(8);D.writeUIntBE(I,0,8),C.update(D),m._finID=C.state;var S=t.from(m._finID);return o(S),S}function p(m,b,v,C){r.call(this);var E=t.alloc(4,0);this._cipher=new e.AES(b);var T=this._cipher.encryptBlock(E);this._ghash=new a(T),v=d(this,v,T),this._prev=t.from(v),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=C,this._alen=0,this._len=0,this._mode=m,this._authTag=null,this._called=!1}return n(p,r),p.prototype._update=function(m){if(!this._called&&this._alen){var b=16-this._alen%16;b<16&&(b=t.alloc(b,0),this._ghash.update(b))}this._called=!0;var v=this._mode.encrypt(this,m);return this._decrypt?this._ghash.update(m):this._ghash.update(v),this._len+=m.length,v},p.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var m=i(this._ghash.final(this._alen*8,this._len*8),this._cipher.encryptBlock(this._finID));if(this._decrypt&&u(m,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=m,this._cipher.scrub()},p.prototype.getAuthTag=function(){if(this._decrypt||!t.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},p.prototype.setAuthTag=function(b){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=b},p.prototype.setAAD=function(b){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(b),this._alen+=b.length},Xg=p,Xg}var Jg,tD;function QF(){if(tD)return Jg;tD=1;var e=i5(),t=ar.Buffer,r=Al(),n=Kt;function a(i,o,u,d){r.call(this),this._cipher=new e.AES(o),this._prev=t.from(u),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=d,this._mode=i}return n(a,r),a.prototype._update=function(i){return this._mode.encrypt(this,i,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},Jg=a,Jg}var e8,rD;function a5(){if(rD)return e8;rD=1;var e=ar.Buffer,t=Fx();function r(n,a,i,o){if(e.isBuffer(n)||(n=e.from(n,"binary")),a&&(e.isBuffer(a)||(a=e.from(a,"binary")),a.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var u=i/8,d=e.alloc(u),p=e.alloc(o||0),m=e.alloc(0);u>0||o>0;){var b=new t;b.update(m),b.update(n),a&&b.update(a),m=b.digest();var v=0;if(u>0){var C=d.length-u;v=Math.min(u,m.length),m.copy(d,C,0,v),u-=v}if(v<m.length&&o>0){var E=p.length-o,T=Math.min(o,m.length-v);m.copy(p,E,v,v+T),o-=T}}return m.fill(0),{key:d,iv:p}}return e8=r,e8}var nD;function Ine(){if(nD)return Y2;nD=1;var e=Px(),t=GF(),r=ar.Buffer,n=QF(),a=Al(),i=i5(),o=a5(),u=Kt;function d(C,E,T){a.call(this),this._cache=new m,this._cipher=new i.AES(E),this._prev=r.from(T),this._mode=C,this._autopadding=!0}u(d,a),d.prototype._update=function(C){this._cache.add(C);for(var E,T,I=[];E=this._cache.get();)T=this._mode.encrypt(this,E),I.push(T);return r.concat(I)};var p=r.alloc(16,16);d.prototype._final=function(){var C=this._cache.flush();if(this._autopadding)return C=this._mode.encrypt(this,C),this._cipher.scrub(),C;if(!C.equals(p))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(C){return this._autopadding=!!C,this};function m(){this.cache=r.allocUnsafe(0)}m.prototype.add=function(C){this.cache=r.concat([this.cache,C])},m.prototype.get=function(){if(this.cache.length>15){var C=this.cache.slice(0,16);return this.cache=this.cache.slice(16),C}return null},m.prototype.flush=function(){for(var C=16-this.cache.length,E=r.allocUnsafe(C),T=-1;++T<C;)E.writeUInt8(C,T);return r.concat([this.cache,E])};function b(C,E,T){var I=e[C.toLowerCase()];if(!I)throw new TypeError("invalid suite type");if(typeof E=="string"&&(E=r.from(E)),E.length!==I.key/8)throw new TypeError("invalid key length "+E.length);if(typeof T=="string"&&(T=r.from(T)),I.mode!=="GCM"&&T.length!==I.iv)throw new TypeError("invalid iv length "+T.length);return I.type==="stream"?new n(I.module,E,T):I.type==="auth"?new t(I.module,E,T):new d(I.module,E,T)}function v(C,E){var T=e[C.toLowerCase()];if(!T)throw new TypeError("invalid suite type");var I=o(E,!1,T.key,T.iv);return b(C,I.key,I.iv)}return Y2.createCipheriv=b,Y2.createCipher=v,Y2}var Q2={},iD;function Nne(){if(iD)return Q2;iD=1;var e=GF(),t=ar.Buffer,r=Px(),n=QF(),a=Al(),i=i5(),o=a5(),u=Kt;function d(C,E,T){a.call(this),this._cache=new p,this._last=void 0,this._cipher=new i.AES(E),this._prev=t.from(T),this._mode=C,this._autopadding=!0}u(d,a),d.prototype._update=function(C){this._cache.add(C);for(var E,T,I=[];E=this._cache.get(this._autopadding);)T=this._mode.decrypt(this,E),I.push(T);return t.concat(I)},d.prototype._final=function(){var C=this._cache.flush();if(this._autopadding)return m(this._mode.decrypt(this,C));if(C)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(C){return this._autopadding=!!C,this};function p(){this.cache=t.allocUnsafe(0)}p.prototype.add=function(C){this.cache=t.concat([this.cache,C])},p.prototype.get=function(C){var E;if(C){if(this.cache.length>16)return E=this.cache.slice(0,16),this.cache=this.cache.slice(16),E}else if(this.cache.length>=16)return E=this.cache.slice(0,16),this.cache=this.cache.slice(16),E;return null},p.prototype.flush=function(){if(this.cache.length)return this.cache};function m(C){var E=C[15];if(E<1||E>16)throw new Error("unable to decrypt data");for(var T=-1;++T<E;)if(C[T+(16-E)]!==E)throw new Error("unable to decrypt data");if(E!==16)return C.slice(0,16-E)}function b(C,E,T){var I=r[C.toLowerCase()];if(!I)throw new TypeError("invalid suite type");if(typeof T=="string"&&(T=t.from(T)),I.mode!=="GCM"&&T.length!==I.iv)throw new TypeError("invalid iv length "+T.length);if(typeof E=="string"&&(E=t.from(E)),E.length!==I.key/8)throw new TypeError("invalid key length "+E.length);return I.type==="stream"?new n(I.module,E,T,!0):I.type==="auth"?new e(I.module,E,T,!0):new d(I.module,E,T)}function v(C,E){var T=r[C.toLowerCase()];if(!T)throw new TypeError("invalid suite type");var I=o(E,!1,T.key,T.iv);return b(C,I.key,I.iv)}return Q2.createDecipher=v,Q2.createDecipheriv=b,Q2}var aD;function Wx(){if(aD)return Va;aD=1;var e=Ine(),t=Nne(),r=ZF;function n(){return Object.keys(r)}return Va.createCipher=Va.Cipher=e.createCipher,Va.createCipheriv=Va.Cipheriv=e.createCipheriv,Va.createDecipher=Va.Decipher=t.createDecipher,Va.createDecipheriv=Va.Decipheriv=t.createDecipheriv,Va.listCiphers=Va.getCiphers=n,Va}var t8={},sD;function Lne(){return sD||(sD=1,function(e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}}(t8)),t8}var oD;function jne(){if(oD)return qa;oD=1;var e=bne(),t=Wx(),r=Px(),n=Lne(),a=a5();function i(m,b){m=m.toLowerCase();var v,C;if(r[m])v=r[m].key,C=r[m].iv;else if(n[m])v=n[m].key*8,C=n[m].iv;else throw new TypeError("invalid suite type");var E=a(b,!1,v,C);return u(m,E.key,E.iv)}function o(m,b){m=m.toLowerCase();var v,C;if(r[m])v=r[m].key,C=r[m].iv;else if(n[m])v=n[m].key*8,C=n[m].iv;else throw new TypeError("invalid suite type");var E=a(b,!1,v,C);return d(m,E.key,E.iv)}function u(m,b,v){if(m=m.toLowerCase(),r[m])return t.createCipheriv(m,b,v);if(n[m])return new e({key:b,iv:v,mode:m});throw new TypeError("invalid suite type")}function d(m,b,v){if(m=m.toLowerCase(),r[m])return t.createDecipheriv(m,b,v);if(n[m])return new e({key:b,iv:v,mode:m,decrypt:!0});throw new TypeError("invalid suite type")}function p(){return Object.keys(n).concat(t.getCiphers())}return qa.createCipher=qa.Cipher=i,qa.createCipheriv=qa.Cipheriv=u,qa.createDecipher=qa.Decipher=o,qa.createDecipheriv=qa.Decipheriv=d,qa.listCiphers=qa.getCiphers=p,qa}var Ll={},J4={exports:{}};J4.exports;var cD;function qF(){return cD||(cD=1,function(e){(function(t,r){function n(w,s){if(!w)throw new Error(s||"Assertion failed")}function a(w,s){w.super_=s;var l=function(){};l.prototype=s.prototype,w.prototype=new l,w.prototype.constructor=w}function i(w,s,l){if(i.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((s==="le"||s==="be")&&(l=s,s=10),this._init(w||0,s||10,l||"be"))}typeof t=="object"?t.exports=i:r.BN=i,i.BN=i,i.wordSize=26;var o;try{typeof window<"u"&&typeof window.Buffer<"u"?o=window.Buffer:o=vt.Buffer}catch{}i.isBN=function(s){return s instanceof i?!0:s!==null&&typeof s=="object"&&s.constructor.wordSize===i.wordSize&&Array.isArray(s.words)},i.max=function(s,l){return s.cmp(l)>0?s:l},i.min=function(s,l){return s.cmp(l)<0?s:l},i.prototype._init=function(s,l,f){if(typeof s=="number")return this._initNumber(s,l,f);if(typeof s=="object")return this._initArray(s,l,f);l==="hex"&&(l=16),n(l===(l|0)&&l>=2&&l<=36),s=s.toString().replace(/\s+/g,"");var h=0;s[0]==="-"&&(h++,this.negative=1),h<s.length&&(l===16?this._parseHex(s,h,f):(this._parseBase(s,l,h),f==="le"&&this._initArray(this.toArray(),l,f)))},i.prototype._initNumber=function(s,l,f){s<0&&(this.negative=1,s=-s),s<67108864?(this.words=[s&67108863],this.length=1):s<4503599627370496?(this.words=[s&67108863,s/67108864&67108863],this.length=2):(n(s<9007199254740992),this.words=[s&67108863,s/67108864&67108863,1],this.length=3),f==="le"&&this._initArray(this.toArray(),l,f)},i.prototype._initArray=function(s,l,f){if(n(typeof s.length=="number"),s.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(s.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var g,x,A=0;if(f==="be")for(h=s.length-1,g=0;h>=0;h-=3)x=s[h]|s[h-1]<<8|s[h-2]<<16,this.words[g]|=x<<A&67108863,this.words[g+1]=x>>>26-A&67108863,A+=24,A>=26&&(A-=26,g++);else if(f==="le")for(h=0,g=0;h<s.length;h+=3)x=s[h]|s[h+1]<<8|s[h+2]<<16,this.words[g]|=x<<A&67108863,this.words[g+1]=x>>>26-A&67108863,A+=24,A>=26&&(A-=26,g++);return this.strip()};function u(w,s){var l=w.charCodeAt(s);return l>=65&&l<=70?l-55:l>=97&&l<=102?l-87:l-48&15}function d(w,s,l){var f=u(w,l);return l-1>=s&&(f|=u(w,l-1)<<4),f}i.prototype._parseHex=function(s,l,f){this.length=Math.ceil((s.length-l)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var g=0,x=0,A;if(f==="be")for(h=s.length-1;h>=l;h-=2)A=d(s,l,h)<<g,this.words[x]|=A&67108863,g>=18?(g-=18,x+=1,this.words[x]|=A>>>26):g+=8;else{var y=s.length-l;for(h=y%2===0?l+1:l;h<s.length;h+=2)A=d(s,l,h)<<g,this.words[x]|=A&67108863,g>=18?(g-=18,x+=1,this.words[x]|=A>>>26):g+=8}this.strip()};function p(w,s,l,f){for(var h=0,g=Math.min(w.length,l),x=s;x<g;x++){var A=w.charCodeAt(x)-48;h*=f,A>=49?h+=A-49+10:A>=17?h+=A-17+10:h+=A}return h}i.prototype._parseBase=function(s,l,f){this.words=[0],this.length=1;for(var h=0,g=1;g<=67108863;g*=l)h++;h--,g=g/l|0;for(var x=s.length-f,A=x%h,y=Math.min(x,x-A)+f,c=0,M=f;M<y;M+=h)c=p(s,M,M+h,l),this.imuln(g),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(A!==0){var B=1;for(c=p(s,M,s.length,l),M=0;M<A;M++)B*=l;this.imuln(B),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},i.prototype.copy=function(s){s.words=new Array(this.length);for(var l=0;l<this.length;l++)s.words[l]=this.words[l];s.length=this.length,s.negative=this.negative,s.red=this.red},i.prototype.clone=function(){var s=new i(null);return this.copy(s),s},i.prototype._expand=function(s){for(;this.length<s;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],b=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(s,l){s=s||10,l=l|0||1;var f;if(s===16||s==="hex"){f="";for(var h=0,g=0,x=0;x<this.length;x++){var A=this.words[x],y=((A<<h|g)&16777215).toString(16);g=A>>>24-h&16777215,h+=2,h>=26&&(h-=26,x--),g!==0||x!==this.length-1?f=m[6-y.length]+y+f:f=y+f}for(g!==0&&(f=g.toString(16)+f);f.length%l!==0;)f="0"+f;return this.negative!==0&&(f="-"+f),f}if(s===(s|0)&&s>=2&&s<=36){var c=b[s],M=v[s];f="";var B=this.clone();for(B.negative=0;!B.isZero();){var R=B.modn(M).toString(s);B=B.idivn(M),B.isZero()?f=R+f:f=m[c-R.length]+R+f}for(this.isZero()&&(f="0"+f);f.length%l!==0;)f="0"+f;return this.negative!==0&&(f="-"+f),f}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var s=this.words[0];return this.length===2?s+=this.words[1]*67108864:this.length===3&&this.words[2]===1?s+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-s:s},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(s,l){return n(typeof o<"u"),this.toArrayLike(o,s,l)},i.prototype.toArray=function(s,l){return this.toArrayLike(Array,s,l)},i.prototype.toArrayLike=function(s,l,f){var h=this.byteLength(),g=f||Math.max(1,h);n(h<=g,"byte array longer than desired length"),n(g>0,"Requested array length <= 0"),this.strip();var x=l==="le",A=new s(g),y,c,M=this.clone();if(x){for(c=0;!M.isZero();c++)y=M.andln(255),M.iushrn(8),A[c]=y;for(;c<g;c++)A[c]=0}else{for(c=0;c<g-h;c++)A[c]=0;for(c=0;!M.isZero();c++)y=M.andln(255),M.iushrn(8),A[g-c-1]=y}return A},Math.clz32?i.prototype._countBits=function(s){return 32-Math.clz32(s)}:i.prototype._countBits=function(s){var l=s,f=0;return l>=4096&&(f+=13,l>>>=13),l>=64&&(f+=7,l>>>=7),l>=8&&(f+=4,l>>>=4),l>=2&&(f+=2,l>>>=2),f+l},i.prototype._zeroBits=function(s){if(s===0)return 26;var l=s,f=0;return l&8191||(f+=13,l>>>=13),l&127||(f+=7,l>>>=7),l&15||(f+=4,l>>>=4),l&3||(f+=2,l>>>=2),l&1||f++,f},i.prototype.bitLength=function(){var s=this.words[this.length-1],l=this._countBits(s);return(this.length-1)*26+l};function C(w){for(var s=new Array(w.bitLength()),l=0;l<s.length;l++){var f=l/26|0,h=l%26;s[l]=(w.words[f]&1<<h)>>>h}return s}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var s=0,l=0;l<this.length;l++){var f=this._zeroBits(this.words[l]);if(s+=f,f!==26)break}return s},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(s){return this.negative!==0?this.abs().inotn(s).iaddn(1):this.clone()},i.prototype.fromTwos=function(s){return this.testn(s-1)?this.notn(s).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(s){for(;this.length<s.length;)this.words[this.length++]=0;for(var l=0;l<s.length;l++)this.words[l]=this.words[l]|s.words[l];return this.strip()},i.prototype.ior=function(s){return n((this.negative|s.negative)===0),this.iuor(s)},i.prototype.or=function(s){return this.length>s.length?this.clone().ior(s):s.clone().ior(this)},i.prototype.uor=function(s){return this.length>s.length?this.clone().iuor(s):s.clone().iuor(this)},i.prototype.iuand=function(s){var l;this.length>s.length?l=s:l=this;for(var f=0;f<l.length;f++)this.words[f]=this.words[f]&s.words[f];return this.length=l.length,this.strip()},i.prototype.iand=function(s){return n((this.negative|s.negative)===0),this.iuand(s)},i.prototype.and=function(s){return this.length>s.length?this.clone().iand(s):s.clone().iand(this)},i.prototype.uand=function(s){return this.length>s.length?this.clone().iuand(s):s.clone().iuand(this)},i.prototype.iuxor=function(s){var l,f;this.length>s.length?(l=this,f=s):(l=s,f=this);for(var h=0;h<f.length;h++)this.words[h]=l.words[h]^f.words[h];if(this!==l)for(;h<l.length;h++)this.words[h]=l.words[h];return this.length=l.length,this.strip()},i.prototype.ixor=function(s){return n((this.negative|s.negative)===0),this.iuxor(s)},i.prototype.xor=function(s){return this.length>s.length?this.clone().ixor(s):s.clone().ixor(this)},i.prototype.uxor=function(s){return this.length>s.length?this.clone().iuxor(s):s.clone().iuxor(this)},i.prototype.inotn=function(s){n(typeof s=="number"&&s>=0);var l=Math.ceil(s/26)|0,f=s%26;this._expand(l),f>0&&l--;for(var h=0;h<l;h++)this.words[h]=~this.words[h]&67108863;return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},i.prototype.notn=function(s){return this.clone().inotn(s)},i.prototype.setn=function(s,l){n(typeof s=="number"&&s>=0);var f=s/26|0,h=s%26;return this._expand(f+1),l?this.words[f]=this.words[f]|1<<h:this.words[f]=this.words[f]&~(1<<h),this.strip()},i.prototype.iadd=function(s){var l;if(this.negative!==0&&s.negative===0)return this.negative=0,l=this.isub(s),this.negative^=1,this._normSign();if(this.negative===0&&s.negative!==0)return s.negative=0,l=this.isub(s),s.negative=1,l._normSign();var f,h;this.length>s.length?(f=this,h=s):(f=s,h=this);for(var g=0,x=0;x<h.length;x++)l=(f.words[x]|0)+(h.words[x]|0)+g,this.words[x]=l&67108863,g=l>>>26;for(;g!==0&&x<f.length;x++)l=(f.words[x]|0)+g,this.words[x]=l&67108863,g=l>>>26;if(this.length=f.length,g!==0)this.words[this.length]=g,this.length++;else if(f!==this)for(;x<f.length;x++)this.words[x]=f.words[x];return this},i.prototype.add=function(s){var l;return s.negative!==0&&this.negative===0?(s.negative=0,l=this.sub(s),s.negative^=1,l):s.negative===0&&this.negative!==0?(this.negative=0,l=s.sub(this),this.negative=1,l):this.length>s.length?this.clone().iadd(s):s.clone().iadd(this)},i.prototype.isub=function(s){if(s.negative!==0){s.negative=0;var l=this.iadd(s);return s.negative=1,l._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(s),this.negative=1,this._normSign();var f=this.cmp(s);if(f===0)return this.negative=0,this.length=1,this.words[0]=0,this;var h,g;f>0?(h=this,g=s):(h=s,g=this);for(var x=0,A=0;A<g.length;A++)l=(h.words[A]|0)-(g.words[A]|0)+x,x=l>>26,this.words[A]=l&67108863;for(;x!==0&&A<h.length;A++)l=(h.words[A]|0)+x,x=l>>26,this.words[A]=l&67108863;if(x===0&&A<h.length&&h!==this)for(;A<h.length;A++)this.words[A]=h.words[A];return this.length=Math.max(this.length,A),h!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(s){return this.clone().isub(s)};function E(w,s,l){l.negative=s.negative^w.negative;var f=w.length+s.length|0;l.length=f,f=f-1|0;var h=w.words[0]|0,g=s.words[0]|0,x=h*g,A=x&67108863,y=x/67108864|0;l.words[0]=A;for(var c=1;c<f;c++){for(var M=y>>>26,B=y&67108863,R=Math.min(c,s.length-1),Q=Math.max(0,c-w.length+1);Q<=R;Q++){var K=c-Q|0;h=w.words[K]|0,g=s.words[Q]|0,x=h*g+B,M+=x/67108864|0,B=x&67108863}l.words[c]=B|0,y=M|0}return y!==0?l.words[c]=y|0:l.length--,l.strip()}var T=function(s,l,f){var h=s.words,g=l.words,x=f.words,A=0,y,c,M,B=h[0]|0,R=B&8191,Q=B>>>13,K=h[1]|0,q=K&8191,P=K>>>13,G=h[2]|0,X=G&8191,ne=G>>>13,te=h[3]|0,V=te&8191,oe=te>>>13,xe=h[4]|0,fe=xe&8191,me=xe>>>13,Ze=h[5]|0,he=Ze&8191,Se=Ze>>>13,Ke=h[6]|0,ye=Ke&8191,ce=Ke>>>13,Fe=h[7]|0,pe=Fe&8191,we=Fe>>>13,gt=h[8]|0,$=gt&8191,U=gt>>>13,Z=h[9]|0,ie=Z&8191,se=Z>>>13,be=g[0]|0,le=be&8191,Ce=be>>>13,We=g[1]|0,Me=We&8191,De=We>>>13,st=g[2]|0,Te=st&8191,Oe=st>>>13,Ft=g[3]|0,Le=Ft&8191,Ue=Ft>>>13,Yt=g[4]|0,_e=Yt&8191,Pe=Yt>>>13,Mt=g[5]|0,Be=Mt&8191,He=Mt>>>13,sr=g[6]|0,ke=sr&8191,Ge=sr>>>13,J=g[7]|0,ee=J&8191,re=J>>>13,H=g[8]|0,ae=H&8191,ue=H>>>13,Ee=g[9]|0,de=Ee&8191,ve=Ee>>>13;f.negative=s.negative^l.negative,f.length=19,y=Math.imul(R,le),c=Math.imul(R,Ce),c=c+Math.imul(Q,le)|0,M=Math.imul(Q,Ce);var tt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(tt>>>26)|0,tt&=67108863,y=Math.imul(q,le),c=Math.imul(q,Ce),c=c+Math.imul(P,le)|0,M=Math.imul(P,Ce),y=y+Math.imul(R,Me)|0,c=c+Math.imul(R,De)|0,c=c+Math.imul(Q,Me)|0,M=M+Math.imul(Q,De)|0;var qe=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(qe>>>26)|0,qe&=67108863,y=Math.imul(X,le),c=Math.imul(X,Ce),c=c+Math.imul(ne,le)|0,M=Math.imul(ne,Ce),y=y+Math.imul(q,Me)|0,c=c+Math.imul(q,De)|0,c=c+Math.imul(P,Me)|0,M=M+Math.imul(P,De)|0,y=y+Math.imul(R,Te)|0,c=c+Math.imul(R,Oe)|0,c=c+Math.imul(Q,Te)|0,M=M+Math.imul(Q,Oe)|0;var _t=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(_t>>>26)|0,_t&=67108863,y=Math.imul(V,le),c=Math.imul(V,Ce),c=c+Math.imul(oe,le)|0,M=Math.imul(oe,Ce),y=y+Math.imul(X,Me)|0,c=c+Math.imul(X,De)|0,c=c+Math.imul(ne,Me)|0,M=M+Math.imul(ne,De)|0,y=y+Math.imul(q,Te)|0,c=c+Math.imul(q,Oe)|0,c=c+Math.imul(P,Te)|0,M=M+Math.imul(P,Oe)|0,y=y+Math.imul(R,Le)|0,c=c+Math.imul(R,Ue)|0,c=c+Math.imul(Q,Le)|0,M=M+Math.imul(Q,Ue)|0;var lt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(lt>>>26)|0,lt&=67108863,y=Math.imul(fe,le),c=Math.imul(fe,Ce),c=c+Math.imul(me,le)|0,M=Math.imul(me,Ce),y=y+Math.imul(V,Me)|0,c=c+Math.imul(V,De)|0,c=c+Math.imul(oe,Me)|0,M=M+Math.imul(oe,De)|0,y=y+Math.imul(X,Te)|0,c=c+Math.imul(X,Oe)|0,c=c+Math.imul(ne,Te)|0,M=M+Math.imul(ne,Oe)|0,y=y+Math.imul(q,Le)|0,c=c+Math.imul(q,Ue)|0,c=c+Math.imul(P,Le)|0,M=M+Math.imul(P,Ue)|0,y=y+Math.imul(R,_e)|0,c=c+Math.imul(R,Pe)|0,c=c+Math.imul(Q,_e)|0,M=M+Math.imul(Q,Pe)|0;var wt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(wt>>>26)|0,wt&=67108863,y=Math.imul(he,le),c=Math.imul(he,Ce),c=c+Math.imul(Se,le)|0,M=Math.imul(Se,Ce),y=y+Math.imul(fe,Me)|0,c=c+Math.imul(fe,De)|0,c=c+Math.imul(me,Me)|0,M=M+Math.imul(me,De)|0,y=y+Math.imul(V,Te)|0,c=c+Math.imul(V,Oe)|0,c=c+Math.imul(oe,Te)|0,M=M+Math.imul(oe,Oe)|0,y=y+Math.imul(X,Le)|0,c=c+Math.imul(X,Ue)|0,c=c+Math.imul(ne,Le)|0,M=M+Math.imul(ne,Ue)|0,y=y+Math.imul(q,_e)|0,c=c+Math.imul(q,Pe)|0,c=c+Math.imul(P,_e)|0,M=M+Math.imul(P,Pe)|0,y=y+Math.imul(R,Be)|0,c=c+Math.imul(R,He)|0,c=c+Math.imul(Q,Be)|0,M=M+Math.imul(Q,He)|0;var Et=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Et>>>26)|0,Et&=67108863,y=Math.imul(ye,le),c=Math.imul(ye,Ce),c=c+Math.imul(ce,le)|0,M=Math.imul(ce,Ce),y=y+Math.imul(he,Me)|0,c=c+Math.imul(he,De)|0,c=c+Math.imul(Se,Me)|0,M=M+Math.imul(Se,De)|0,y=y+Math.imul(fe,Te)|0,c=c+Math.imul(fe,Oe)|0,c=c+Math.imul(me,Te)|0,M=M+Math.imul(me,Oe)|0,y=y+Math.imul(V,Le)|0,c=c+Math.imul(V,Ue)|0,c=c+Math.imul(oe,Le)|0,M=M+Math.imul(oe,Ue)|0,y=y+Math.imul(X,_e)|0,c=c+Math.imul(X,Pe)|0,c=c+Math.imul(ne,_e)|0,M=M+Math.imul(ne,Pe)|0,y=y+Math.imul(q,Be)|0,c=c+Math.imul(q,He)|0,c=c+Math.imul(P,Be)|0,M=M+Math.imul(P,He)|0,y=y+Math.imul(R,ke)|0,c=c+Math.imul(R,Ge)|0,c=c+Math.imul(Q,ke)|0,M=M+Math.imul(Q,Ge)|0;var jt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(jt>>>26)|0,jt&=67108863,y=Math.imul(pe,le),c=Math.imul(pe,Ce),c=c+Math.imul(we,le)|0,M=Math.imul(we,Ce),y=y+Math.imul(ye,Me)|0,c=c+Math.imul(ye,De)|0,c=c+Math.imul(ce,Me)|0,M=M+Math.imul(ce,De)|0,y=y+Math.imul(he,Te)|0,c=c+Math.imul(he,Oe)|0,c=c+Math.imul(Se,Te)|0,M=M+Math.imul(Se,Oe)|0,y=y+Math.imul(fe,Le)|0,c=c+Math.imul(fe,Ue)|0,c=c+Math.imul(me,Le)|0,M=M+Math.imul(me,Ue)|0,y=y+Math.imul(V,_e)|0,c=c+Math.imul(V,Pe)|0,c=c+Math.imul(oe,_e)|0,M=M+Math.imul(oe,Pe)|0,y=y+Math.imul(X,Be)|0,c=c+Math.imul(X,He)|0,c=c+Math.imul(ne,Be)|0,M=M+Math.imul(ne,He)|0,y=y+Math.imul(q,ke)|0,c=c+Math.imul(q,Ge)|0,c=c+Math.imul(P,ke)|0,M=M+Math.imul(P,Ge)|0,y=y+Math.imul(R,ee)|0,c=c+Math.imul(R,re)|0,c=c+Math.imul(Q,ee)|0,M=M+Math.imul(Q,re)|0;var Nt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,y=Math.imul($,le),c=Math.imul($,Ce),c=c+Math.imul(U,le)|0,M=Math.imul(U,Ce),y=y+Math.imul(pe,Me)|0,c=c+Math.imul(pe,De)|0,c=c+Math.imul(we,Me)|0,M=M+Math.imul(we,De)|0,y=y+Math.imul(ye,Te)|0,c=c+Math.imul(ye,Oe)|0,c=c+Math.imul(ce,Te)|0,M=M+Math.imul(ce,Oe)|0,y=y+Math.imul(he,Le)|0,c=c+Math.imul(he,Ue)|0,c=c+Math.imul(Se,Le)|0,M=M+Math.imul(Se,Ue)|0,y=y+Math.imul(fe,_e)|0,c=c+Math.imul(fe,Pe)|0,c=c+Math.imul(me,_e)|0,M=M+Math.imul(me,Pe)|0,y=y+Math.imul(V,Be)|0,c=c+Math.imul(V,He)|0,c=c+Math.imul(oe,Be)|0,M=M+Math.imul(oe,He)|0,y=y+Math.imul(X,ke)|0,c=c+Math.imul(X,Ge)|0,c=c+Math.imul(ne,ke)|0,M=M+Math.imul(ne,Ge)|0,y=y+Math.imul(q,ee)|0,c=c+Math.imul(q,re)|0,c=c+Math.imul(P,ee)|0,M=M+Math.imul(P,re)|0,y=y+Math.imul(R,ae)|0,c=c+Math.imul(R,ue)|0,c=c+Math.imul(Q,ae)|0,M=M+Math.imul(Q,ue)|0;var St=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(St>>>26)|0,St&=67108863,y=Math.imul(ie,le),c=Math.imul(ie,Ce),c=c+Math.imul(se,le)|0,M=Math.imul(se,Ce),y=y+Math.imul($,Me)|0,c=c+Math.imul($,De)|0,c=c+Math.imul(U,Me)|0,M=M+Math.imul(U,De)|0,y=y+Math.imul(pe,Te)|0,c=c+Math.imul(pe,Oe)|0,c=c+Math.imul(we,Te)|0,M=M+Math.imul(we,Oe)|0,y=y+Math.imul(ye,Le)|0,c=c+Math.imul(ye,Ue)|0,c=c+Math.imul(ce,Le)|0,M=M+Math.imul(ce,Ue)|0,y=y+Math.imul(he,_e)|0,c=c+Math.imul(he,Pe)|0,c=c+Math.imul(Se,_e)|0,M=M+Math.imul(Se,Pe)|0,y=y+Math.imul(fe,Be)|0,c=c+Math.imul(fe,He)|0,c=c+Math.imul(me,Be)|0,M=M+Math.imul(me,He)|0,y=y+Math.imul(V,ke)|0,c=c+Math.imul(V,Ge)|0,c=c+Math.imul(oe,ke)|0,M=M+Math.imul(oe,Ge)|0,y=y+Math.imul(X,ee)|0,c=c+Math.imul(X,re)|0,c=c+Math.imul(ne,ee)|0,M=M+Math.imul(ne,re)|0,y=y+Math.imul(q,ae)|0,c=c+Math.imul(q,ue)|0,c=c+Math.imul(P,ae)|0,M=M+Math.imul(P,ue)|0,y=y+Math.imul(R,de)|0,c=c+Math.imul(R,ve)|0,c=c+Math.imul(Q,de)|0,M=M+Math.imul(Q,ve)|0;var It=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(It>>>26)|0,It&=67108863,y=Math.imul(ie,Me),c=Math.imul(ie,De),c=c+Math.imul(se,Me)|0,M=Math.imul(se,De),y=y+Math.imul($,Te)|0,c=c+Math.imul($,Oe)|0,c=c+Math.imul(U,Te)|0,M=M+Math.imul(U,Oe)|0,y=y+Math.imul(pe,Le)|0,c=c+Math.imul(pe,Ue)|0,c=c+Math.imul(we,Le)|0,M=M+Math.imul(we,Ue)|0,y=y+Math.imul(ye,_e)|0,c=c+Math.imul(ye,Pe)|0,c=c+Math.imul(ce,_e)|0,M=M+Math.imul(ce,Pe)|0,y=y+Math.imul(he,Be)|0,c=c+Math.imul(he,He)|0,c=c+Math.imul(Se,Be)|0,M=M+Math.imul(Se,He)|0,y=y+Math.imul(fe,ke)|0,c=c+Math.imul(fe,Ge)|0,c=c+Math.imul(me,ke)|0,M=M+Math.imul(me,Ge)|0,y=y+Math.imul(V,ee)|0,c=c+Math.imul(V,re)|0,c=c+Math.imul(oe,ee)|0,M=M+Math.imul(oe,re)|0,y=y+Math.imul(X,ae)|0,c=c+Math.imul(X,ue)|0,c=c+Math.imul(ne,ae)|0,M=M+Math.imul(ne,ue)|0,y=y+Math.imul(q,de)|0,c=c+Math.imul(q,ve)|0,c=c+Math.imul(P,de)|0,M=M+Math.imul(P,ve)|0;var Dt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,y=Math.imul(ie,Te),c=Math.imul(ie,Oe),c=c+Math.imul(se,Te)|0,M=Math.imul(se,Oe),y=y+Math.imul($,Le)|0,c=c+Math.imul($,Ue)|0,c=c+Math.imul(U,Le)|0,M=M+Math.imul(U,Ue)|0,y=y+Math.imul(pe,_e)|0,c=c+Math.imul(pe,Pe)|0,c=c+Math.imul(we,_e)|0,M=M+Math.imul(we,Pe)|0,y=y+Math.imul(ye,Be)|0,c=c+Math.imul(ye,He)|0,c=c+Math.imul(ce,Be)|0,M=M+Math.imul(ce,He)|0,y=y+Math.imul(he,ke)|0,c=c+Math.imul(he,Ge)|0,c=c+Math.imul(Se,ke)|0,M=M+Math.imul(Se,Ge)|0,y=y+Math.imul(fe,ee)|0,c=c+Math.imul(fe,re)|0,c=c+Math.imul(me,ee)|0,M=M+Math.imul(me,re)|0,y=y+Math.imul(V,ae)|0,c=c+Math.imul(V,ue)|0,c=c+Math.imul(oe,ae)|0,M=M+Math.imul(oe,ue)|0,y=y+Math.imul(X,de)|0,c=c+Math.imul(X,ve)|0,c=c+Math.imul(ne,de)|0,M=M+Math.imul(ne,ve)|0;var dt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(dt>>>26)|0,dt&=67108863,y=Math.imul(ie,Le),c=Math.imul(ie,Ue),c=c+Math.imul(se,Le)|0,M=Math.imul(se,Ue),y=y+Math.imul($,_e)|0,c=c+Math.imul($,Pe)|0,c=c+Math.imul(U,_e)|0,M=M+Math.imul(U,Pe)|0,y=y+Math.imul(pe,Be)|0,c=c+Math.imul(pe,He)|0,c=c+Math.imul(we,Be)|0,M=M+Math.imul(we,He)|0,y=y+Math.imul(ye,ke)|0,c=c+Math.imul(ye,Ge)|0,c=c+Math.imul(ce,ke)|0,M=M+Math.imul(ce,Ge)|0,y=y+Math.imul(he,ee)|0,c=c+Math.imul(he,re)|0,c=c+Math.imul(Se,ee)|0,M=M+Math.imul(Se,re)|0,y=y+Math.imul(fe,ae)|0,c=c+Math.imul(fe,ue)|0,c=c+Math.imul(me,ae)|0,M=M+Math.imul(me,ue)|0,y=y+Math.imul(V,de)|0,c=c+Math.imul(V,ve)|0,c=c+Math.imul(oe,de)|0,M=M+Math.imul(oe,ve)|0;var yt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(yt>>>26)|0,yt&=67108863,y=Math.imul(ie,_e),c=Math.imul(ie,Pe),c=c+Math.imul(se,_e)|0,M=Math.imul(se,Pe),y=y+Math.imul($,Be)|0,c=c+Math.imul($,He)|0,c=c+Math.imul(U,Be)|0,M=M+Math.imul(U,He)|0,y=y+Math.imul(pe,ke)|0,c=c+Math.imul(pe,Ge)|0,c=c+Math.imul(we,ke)|0,M=M+Math.imul(we,Ge)|0,y=y+Math.imul(ye,ee)|0,c=c+Math.imul(ye,re)|0,c=c+Math.imul(ce,ee)|0,M=M+Math.imul(ce,re)|0,y=y+Math.imul(he,ae)|0,c=c+Math.imul(he,ue)|0,c=c+Math.imul(Se,ae)|0,M=M+Math.imul(Se,ue)|0,y=y+Math.imul(fe,de)|0,c=c+Math.imul(fe,ve)|0,c=c+Math.imul(me,de)|0,M=M+Math.imul(me,ve)|0;var ot=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(ot>>>26)|0,ot&=67108863,y=Math.imul(ie,Be),c=Math.imul(ie,He),c=c+Math.imul(se,Be)|0,M=Math.imul(se,He),y=y+Math.imul($,ke)|0,c=c+Math.imul($,Ge)|0,c=c+Math.imul(U,ke)|0,M=M+Math.imul(U,Ge)|0,y=y+Math.imul(pe,ee)|0,c=c+Math.imul(pe,re)|0,c=c+Math.imul(we,ee)|0,M=M+Math.imul(we,re)|0,y=y+Math.imul(ye,ae)|0,c=c+Math.imul(ye,ue)|0,c=c+Math.imul(ce,ae)|0,M=M+Math.imul(ce,ue)|0,y=y+Math.imul(he,de)|0,c=c+Math.imul(he,ve)|0,c=c+Math.imul(Se,de)|0,M=M+Math.imul(Se,ve)|0;var ht=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(ht>>>26)|0,ht&=67108863,y=Math.imul(ie,ke),c=Math.imul(ie,Ge),c=c+Math.imul(se,ke)|0,M=Math.imul(se,Ge),y=y+Math.imul($,ee)|0,c=c+Math.imul($,re)|0,c=c+Math.imul(U,ee)|0,M=M+Math.imul(U,re)|0,y=y+Math.imul(pe,ae)|0,c=c+Math.imul(pe,ue)|0,c=c+Math.imul(we,ae)|0,M=M+Math.imul(we,ue)|0,y=y+Math.imul(ye,de)|0,c=c+Math.imul(ye,ve)|0,c=c+Math.imul(ce,de)|0,M=M+Math.imul(ce,ve)|0;var pt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(pt>>>26)|0,pt&=67108863,y=Math.imul(ie,ee),c=Math.imul(ie,re),c=c+Math.imul(se,ee)|0,M=Math.imul(se,re),y=y+Math.imul($,ae)|0,c=c+Math.imul($,ue)|0,c=c+Math.imul(U,ae)|0,M=M+Math.imul(U,ue)|0,y=y+Math.imul(pe,de)|0,c=c+Math.imul(pe,ve)|0,c=c+Math.imul(we,de)|0,M=M+Math.imul(we,ve)|0;var nt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(nt>>>26)|0,nt&=67108863,y=Math.imul(ie,ae),c=Math.imul(ie,ue),c=c+Math.imul(se,ae)|0,M=Math.imul(se,ue),y=y+Math.imul($,de)|0,c=c+Math.imul($,ve)|0,c=c+Math.imul(U,de)|0,M=M+Math.imul(U,ve)|0;var Ie=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,y=Math.imul(ie,de),c=Math.imul(ie,ve),c=c+Math.imul(se,de)|0,M=Math.imul(se,ve);var Ne=(A+y|0)+((c&8191)<<13)|0;return A=(M+(c>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,x[0]=tt,x[1]=qe,x[2]=_t,x[3]=lt,x[4]=wt,x[5]=Et,x[6]=jt,x[7]=Nt,x[8]=St,x[9]=It,x[10]=Dt,x[11]=dt,x[12]=yt,x[13]=ot,x[14]=ht,x[15]=pt,x[16]=nt,x[17]=Ie,x[18]=Ne,A!==0&&(x[19]=A,f.length++),f};Math.imul||(T=E);function I(w,s,l){l.negative=s.negative^w.negative,l.length=w.length+s.length;for(var f=0,h=0,g=0;g<l.length-1;g++){var x=h;h=0;for(var A=f&67108863,y=Math.min(g,s.length-1),c=Math.max(0,g-w.length+1);c<=y;c++){var M=g-c,B=w.words[M]|0,R=s.words[c]|0,Q=B*R,K=Q&67108863;x=x+(Q/67108864|0)|0,K=K+A|0,A=K&67108863,x=x+(K>>>26)|0,h+=x>>>26,x&=67108863}l.words[g]=A,f=x,x=h}return f!==0?l.words[g]=f:l.length--,l.strip()}function D(w,s,l){var f=new S;return f.mulp(w,s,l)}i.prototype.mulTo=function(s,l){var f,h=this.length+s.length;return this.length===10&&s.length===10?f=T(this,s,l):h<63?f=E(this,s,l):h<1024?f=I(this,s,l):f=D(this,s,l),f};function S(w,s){this.x=w,this.y=s}S.prototype.makeRBT=function(s){for(var l=new Array(s),f=i.prototype._countBits(s)-1,h=0;h<s;h++)l[h]=this.revBin(h,f,s);return l},S.prototype.revBin=function(s,l,f){if(s===0||s===f-1)return s;for(var h=0,g=0;g<l;g++)h|=(s&1)<<l-g-1,s>>=1;return h},S.prototype.permute=function(s,l,f,h,g,x){for(var A=0;A<x;A++)h[A]=l[s[A]],g[A]=f[s[A]]},S.prototype.transform=function(s,l,f,h,g,x){this.permute(x,s,l,f,h,g);for(var A=1;A<g;A<<=1)for(var y=A<<1,c=Math.cos(2*Math.PI/y),M=Math.sin(2*Math.PI/y),B=0;B<g;B+=y)for(var R=c,Q=M,K=0;K<A;K++){var q=f[B+K],P=h[B+K],G=f[B+K+A],X=h[B+K+A],ne=R*G-Q*X;X=R*X+Q*G,G=ne,f[B+K]=q+G,h[B+K]=P+X,f[B+K+A]=q-G,h[B+K+A]=P-X,K!==y&&(ne=c*R-M*Q,Q=c*Q+M*R,R=ne)}},S.prototype.guessLen13b=function(s,l){var f=Math.max(l,s)|1,h=f&1,g=0;for(f=f/2|0;f;f=f>>>1)g++;return 1<<g+1+h},S.prototype.conjugate=function(s,l,f){if(!(f<=1))for(var h=0;h<f/2;h++){var g=s[h];s[h]=s[f-h-1],s[f-h-1]=g,g=l[h],l[h]=-l[f-h-1],l[f-h-1]=-g}},S.prototype.normalize13b=function(s,l){for(var f=0,h=0;h<l/2;h++){var g=Math.round(s[2*h+1]/l)*8192+Math.round(s[2*h]/l)+f;s[h]=g&67108863,g<67108864?f=0:f=g/67108864|0}return s},S.prototype.convert13b=function(s,l,f,h){for(var g=0,x=0;x<l;x++)g=g+(s[x]|0),f[2*x]=g&8191,g=g>>>13,f[2*x+1]=g&8191,g=g>>>13;for(x=2*l;x<h;++x)f[x]=0;n(g===0),n((g&-8192)===0)},S.prototype.stub=function(s){for(var l=new Array(s),f=0;f<s;f++)l[f]=0;return l},S.prototype.mulp=function(s,l,f){var h=2*this.guessLen13b(s.length,l.length),g=this.makeRBT(h),x=this.stub(h),A=new Array(h),y=new Array(h),c=new Array(h),M=new Array(h),B=new Array(h),R=new Array(h),Q=f.words;Q.length=h,this.convert13b(s.words,s.length,A,h),this.convert13b(l.words,l.length,M,h),this.transform(A,x,y,c,h,g),this.transform(M,x,B,R,h,g);for(var K=0;K<h;K++){var q=y[K]*B[K]-c[K]*R[K];c[K]=y[K]*R[K]+c[K]*B[K],y[K]=q}return this.conjugate(y,c,h),this.transform(y,c,Q,x,h,g),this.conjugate(Q,x,h),this.normalize13b(Q,h),f.negative=s.negative^l.negative,f.length=s.length+l.length,f.strip()},i.prototype.mul=function(s){var l=new i(null);return l.words=new Array(this.length+s.length),this.mulTo(s,l)},i.prototype.mulf=function(s){var l=new i(null);return l.words=new Array(this.length+s.length),D(this,s,l)},i.prototype.imul=function(s){return this.clone().mulTo(s,this)},i.prototype.imuln=function(s){n(typeof s=="number"),n(s<67108864);for(var l=0,f=0;f<this.length;f++){var h=(this.words[f]|0)*s,g=(h&67108863)+(l&67108863);l>>=26,l+=h/67108864|0,l+=g>>>26,this.words[f]=g&67108863}return l!==0&&(this.words[f]=l,this.length++),this.length=s===0?1:this.length,this},i.prototype.muln=function(s){return this.clone().imuln(s)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(s){var l=C(s);if(l.length===0)return new i(1);for(var f=this,h=0;h<l.length&&l[h]===0;h++,f=f.sqr());if(++h<l.length)for(var g=f.sqr();h<l.length;h++,g=g.sqr())l[h]!==0&&(f=f.mul(g));return f},i.prototype.iushln=function(s){n(typeof s=="number"&&s>=0);var l=s%26,f=(s-l)/26,h=67108863>>>26-l<<26-l,g;if(l!==0){var x=0;for(g=0;g<this.length;g++){var A=this.words[g]&h,y=(this.words[g]|0)-A<<l;this.words[g]=y|x,x=A>>>26-l}x&&(this.words[g]=x,this.length++)}if(f!==0){for(g=this.length-1;g>=0;g--)this.words[g+f]=this.words[g];for(g=0;g<f;g++)this.words[g]=0;this.length+=f}return this.strip()},i.prototype.ishln=function(s){return n(this.negative===0),this.iushln(s)},i.prototype.iushrn=function(s,l,f){n(typeof s=="number"&&s>=0);var h;l?h=(l-l%26)/26:h=0;var g=s%26,x=Math.min((s-g)/26,this.length),A=67108863^67108863>>>g<<g,y=f;if(h-=x,h=Math.max(0,h),y){for(var c=0;c<x;c++)y.words[c]=this.words[c];y.length=x}if(x!==0)if(this.length>x)for(this.length-=x,c=0;c<this.length;c++)this.words[c]=this.words[c+x];else this.words[0]=0,this.length=1;var M=0;for(c=this.length-1;c>=0&&(M!==0||c>=h);c--){var B=this.words[c]|0;this.words[c]=M<<26-g|B>>>g,M=B&A}return y&&M!==0&&(y.words[y.length++]=M),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(s,l,f){return n(this.negative===0),this.iushrn(s,l,f)},i.prototype.shln=function(s){return this.clone().ishln(s)},i.prototype.ushln=function(s){return this.clone().iushln(s)},i.prototype.shrn=function(s){return this.clone().ishrn(s)},i.prototype.ushrn=function(s){return this.clone().iushrn(s)},i.prototype.testn=function(s){n(typeof s=="number"&&s>=0);var l=s%26,f=(s-l)/26,h=1<<l;if(this.length<=f)return!1;var g=this.words[f];return!!(g&h)},i.prototype.imaskn=function(s){n(typeof s=="number"&&s>=0);var l=s%26,f=(s-l)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=f)return this;if(l!==0&&f++,this.length=Math.min(f,this.length),l!==0){var h=67108863^67108863>>>l<<l;this.words[this.length-1]&=h}return this.strip()},i.prototype.maskn=function(s){return this.clone().imaskn(s)},i.prototype.iaddn=function(s){return n(typeof s=="number"),n(s<67108864),s<0?this.isubn(-s):this.negative!==0?this.length===1&&(this.words[0]|0)<s?(this.words[0]=s-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(s),this.negative=1,this):this._iaddn(s)},i.prototype._iaddn=function(s){this.words[0]+=s;for(var l=0;l<this.length&&this.words[l]>=67108864;l++)this.words[l]-=67108864,l===this.length-1?this.words[l+1]=1:this.words[l+1]++;return this.length=Math.max(this.length,l+1),this},i.prototype.isubn=function(s){if(n(typeof s=="number"),n(s<67108864),s<0)return this.iaddn(-s);if(this.negative!==0)return this.negative=0,this.iaddn(s),this.negative=1,this;if(this.words[0]-=s,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var l=0;l<this.length&&this.words[l]<0;l++)this.words[l]+=67108864,this.words[l+1]-=1;return this.strip()},i.prototype.addn=function(s){return this.clone().iaddn(s)},i.prototype.subn=function(s){return this.clone().isubn(s)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(s,l,f){var h=s.length+f,g;this._expand(h);var x,A=0;for(g=0;g<s.length;g++){x=(this.words[g+f]|0)+A;var y=(s.words[g]|0)*l;x-=y&67108863,A=(x>>26)-(y/67108864|0),this.words[g+f]=x&67108863}for(;g<this.length-f;g++)x=(this.words[g+f]|0)+A,A=x>>26,this.words[g+f]=x&67108863;if(A===0)return this.strip();for(n(A===-1),A=0,g=0;g<this.length;g++)x=-(this.words[g]|0)+A,A=x>>26,this.words[g]=x&67108863;return this.negative=1,this.strip()},i.prototype._wordDiv=function(s,l){var f=this.length-s.length,h=this.clone(),g=s,x=g.words[g.length-1]|0,A=this._countBits(x);f=26-A,f!==0&&(g=g.ushln(f),h.iushln(f),x=g.words[g.length-1]|0);var y=h.length-g.length,c;if(l!=="mod"){c=new i(null),c.length=y+1,c.words=new Array(c.length);for(var M=0;M<c.length;M++)c.words[M]=0}var B=h.clone()._ishlnsubmul(g,1,y);B.negative===0&&(h=B,c&&(c.words[y]=1));for(var R=y-1;R>=0;R--){var Q=(h.words[g.length+R]|0)*67108864+(h.words[g.length+R-1]|0);for(Q=Math.min(Q/x|0,67108863),h._ishlnsubmul(g,Q,R);h.negative!==0;)Q--,h.negative=0,h._ishlnsubmul(g,1,R),h.isZero()||(h.negative^=1);c&&(c.words[R]=Q)}return c&&c.strip(),h.strip(),l!=="div"&&f!==0&&h.iushrn(f),{div:c||null,mod:h}},i.prototype.divmod=function(s,l,f){if(n(!s.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var h,g,x;return this.negative!==0&&s.negative===0?(x=this.neg().divmod(s,l),l!=="mod"&&(h=x.div.neg()),l!=="div"&&(g=x.mod.neg(),f&&g.negative!==0&&g.iadd(s)),{div:h,mod:g}):this.negative===0&&s.negative!==0?(x=this.divmod(s.neg(),l),l!=="mod"&&(h=x.div.neg()),{div:h,mod:x.mod}):this.negative&s.negative?(x=this.neg().divmod(s.neg(),l),l!=="div"&&(g=x.mod.neg(),f&&g.negative!==0&&g.isub(s)),{div:x.div,mod:g}):s.length>this.length||this.cmp(s)<0?{div:new i(0),mod:this}:s.length===1?l==="div"?{div:this.divn(s.words[0]),mod:null}:l==="mod"?{div:null,mod:new i(this.modn(s.words[0]))}:{div:this.divn(s.words[0]),mod:new i(this.modn(s.words[0]))}:this._wordDiv(s,l)},i.prototype.div=function(s){return this.divmod(s,"div",!1).div},i.prototype.mod=function(s){return this.divmod(s,"mod",!1).mod},i.prototype.umod=function(s){return this.divmod(s,"mod",!0).mod},i.prototype.divRound=function(s){var l=this.divmod(s);if(l.mod.isZero())return l.div;var f=l.div.negative!==0?l.mod.isub(s):l.mod,h=s.ushrn(1),g=s.andln(1),x=f.cmp(h);return x<0||g===1&&x===0?l.div:l.div.negative!==0?l.div.isubn(1):l.div.iaddn(1)},i.prototype.modn=function(s){n(s<=67108863);for(var l=(1<<26)%s,f=0,h=this.length-1;h>=0;h--)f=(l*f+(this.words[h]|0))%s;return f},i.prototype.idivn=function(s){n(s<=67108863);for(var l=0,f=this.length-1;f>=0;f--){var h=(this.words[f]|0)+l*67108864;this.words[f]=h/s|0,l=h%s}return this.strip()},i.prototype.divn=function(s){return this.clone().idivn(s)},i.prototype.egcd=function(s){n(s.negative===0),n(!s.isZero());var l=this,f=s.clone();l.negative!==0?l=l.umod(s):l=l.clone();for(var h=new i(1),g=new i(0),x=new i(0),A=new i(1),y=0;l.isEven()&&f.isEven();)l.iushrn(1),f.iushrn(1),++y;for(var c=f.clone(),M=l.clone();!l.isZero();){for(var B=0,R=1;!(l.words[0]&R)&&B<26;++B,R<<=1);if(B>0)for(l.iushrn(B);B-- >0;)(h.isOdd()||g.isOdd())&&(h.iadd(c),g.isub(M)),h.iushrn(1),g.iushrn(1);for(var Q=0,K=1;!(f.words[0]&K)&&Q<26;++Q,K<<=1);if(Q>0)for(f.iushrn(Q);Q-- >0;)(x.isOdd()||A.isOdd())&&(x.iadd(c),A.isub(M)),x.iushrn(1),A.iushrn(1);l.cmp(f)>=0?(l.isub(f),h.isub(x),g.isub(A)):(f.isub(l),x.isub(h),A.isub(g))}return{a:x,b:A,gcd:f.iushln(y)}},i.prototype._invmp=function(s){n(s.negative===0),n(!s.isZero());var l=this,f=s.clone();l.negative!==0?l=l.umod(s):l=l.clone();for(var h=new i(1),g=new i(0),x=f.clone();l.cmpn(1)>0&&f.cmpn(1)>0;){for(var A=0,y=1;!(l.words[0]&y)&&A<26;++A,y<<=1);if(A>0)for(l.iushrn(A);A-- >0;)h.isOdd()&&h.iadd(x),h.iushrn(1);for(var c=0,M=1;!(f.words[0]&M)&&c<26;++c,M<<=1);if(c>0)for(f.iushrn(c);c-- >0;)g.isOdd()&&g.iadd(x),g.iushrn(1);l.cmp(f)>=0?(l.isub(f),h.isub(g)):(f.isub(l),g.isub(h))}var B;return l.cmpn(1)===0?B=h:B=g,B.cmpn(0)<0&&B.iadd(s),B},i.prototype.gcd=function(s){if(this.isZero())return s.abs();if(s.isZero())return this.abs();var l=this.clone(),f=s.clone();l.negative=0,f.negative=0;for(var h=0;l.isEven()&&f.isEven();h++)l.iushrn(1),f.iushrn(1);do{for(;l.isEven();)l.iushrn(1);for(;f.isEven();)f.iushrn(1);var g=l.cmp(f);if(g<0){var x=l;l=f,f=x}else if(g===0||f.cmpn(1)===0)break;l.isub(f)}while(!0);return f.iushln(h)},i.prototype.invm=function(s){return this.egcd(s).a.umod(s)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(s){return this.words[0]&s},i.prototype.bincn=function(s){n(typeof s=="number");var l=s%26,f=(s-l)/26,h=1<<l;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var g=h,x=f;g!==0&&x<this.length;x++){var A=this.words[x]|0;A+=g,g=A>>>26,A&=67108863,this.words[x]=A}return g!==0&&(this.words[x]=g,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(s){var l=s<0;if(this.negative!==0&&!l)return-1;if(this.negative===0&&l)return 1;this.strip();var f;if(this.length>1)f=1;else{l&&(s=-s),n(s<=67108863,"Number is too big");var h=this.words[0]|0;f=h===s?0:h<s?-1:1}return this.negative!==0?-f|0:f},i.prototype.cmp=function(s){if(this.negative!==0&&s.negative===0)return-1;if(this.negative===0&&s.negative!==0)return 1;var l=this.ucmp(s);return this.negative!==0?-l|0:l},i.prototype.ucmp=function(s){if(this.length>s.length)return 1;if(this.length<s.length)return-1;for(var l=0,f=this.length-1;f>=0;f--){var h=this.words[f]|0,g=s.words[f]|0;if(h!==g){h<g?l=-1:h>g&&(l=1);break}}return l},i.prototype.gtn=function(s){return this.cmpn(s)===1},i.prototype.gt=function(s){return this.cmp(s)===1},i.prototype.gten=function(s){return this.cmpn(s)>=0},i.prototype.gte=function(s){return this.cmp(s)>=0},i.prototype.ltn=function(s){return this.cmpn(s)===-1},i.prototype.lt=function(s){return this.cmp(s)===-1},i.prototype.lten=function(s){return this.cmpn(s)<=0},i.prototype.lte=function(s){return this.cmp(s)<=0},i.prototype.eqn=function(s){return this.cmpn(s)===0},i.prototype.eq=function(s){return this.cmp(s)===0},i.red=function(s){return new z(s)},i.prototype.toRed=function(s){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),s.convertTo(this)._forceRed(s)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(s){return this.red=s,this},i.prototype.forceRed=function(s){return n(!this.red,"Already a number in reduction context"),this._forceRed(s)},i.prototype.redAdd=function(s){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,s)},i.prototype.redIAdd=function(s){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,s)},i.prototype.redSub=function(s){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,s)},i.prototype.redISub=function(s){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,s)},i.prototype.redShl=function(s){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,s)},i.prototype.redMul=function(s){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.mul(this,s)},i.prototype.redIMul=function(s){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.imul(this,s)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(s){return n(this.red&&!s.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,s)};var N={k256:null,p224:null,p192:null,p25519:null};function j(w,s){this.name=w,this.p=new i(s,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}j.prototype._tmp=function(){var s=new i(null);return s.words=new Array(Math.ceil(this.n/13)),s},j.prototype.ireduce=function(s){var l=s,f;do this.split(l,this.tmp),l=this.imulK(l),l=l.iadd(this.tmp),f=l.bitLength();while(f>this.n);var h=f<this.n?-1:l.ucmp(this.p);return h===0?(l.words[0]=0,l.length=1):h>0?l.isub(this.p):l.strip!==void 0?l.strip():l._strip(),l},j.prototype.split=function(s,l){s.iushrn(this.n,0,l)},j.prototype.imulK=function(s){return s.imul(this.k)};function F(){j.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(F,j),F.prototype.split=function(s,l){for(var f=4194303,h=Math.min(s.length,9),g=0;g<h;g++)l.words[g]=s.words[g];if(l.length=h,s.length<=9){s.words[0]=0,s.length=1;return}var x=s.words[9];for(l.words[l.length++]=x&f,g=10;g<s.length;g++){var A=s.words[g]|0;s.words[g-10]=(A&f)<<4|x>>>22,x=A}x>>>=22,s.words[g-10]=x,x===0&&s.length>10?s.length-=10:s.length-=9},F.prototype.imulK=function(s){s.words[s.length]=0,s.words[s.length+1]=0,s.length+=2;for(var l=0,f=0;f<s.length;f++){var h=s.words[f]|0;l+=h*977,s.words[f]=l&67108863,l=h*64+(l/67108864|0)}return s.words[s.length-1]===0&&(s.length--,s.words[s.length-1]===0&&s.length--),s};function O(){j.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}a(O,j);function W(){j.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}a(W,j);function _(){j.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}a(_,j),_.prototype.imulK=function(s){for(var l=0,f=0;f<s.length;f++){var h=(s.words[f]|0)*19+l,g=h&67108863;h>>>=26,s.words[f]=g,l=h}return l!==0&&(s.words[s.length++]=l),s},i._prime=function(s){if(N[s])return N[s];var l;if(s==="k256")l=new F;else if(s==="p224")l=new O;else if(s==="p192")l=new W;else if(s==="p25519")l=new _;else throw new Error("Unknown prime "+s);return N[s]=l,l};function z(w){if(typeof w=="string"){var s=i._prime(w);this.m=s.p,this.prime=s}else n(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}z.prototype._verify1=function(s){n(s.negative===0,"red works only with positives"),n(s.red,"red works only with red numbers")},z.prototype._verify2=function(s,l){n((s.negative|l.negative)===0,"red works only with positives"),n(s.red&&s.red===l.red,"red works only with red numbers")},z.prototype.imod=function(s){return this.prime?this.prime.ireduce(s)._forceRed(this):s.umod(this.m)._forceRed(this)},z.prototype.neg=function(s){return s.isZero()?s.clone():this.m.sub(s)._forceRed(this)},z.prototype.add=function(s,l){this._verify2(s,l);var f=s.add(l);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},z.prototype.iadd=function(s,l){this._verify2(s,l);var f=s.iadd(l);return f.cmp(this.m)>=0&&f.isub(this.m),f},z.prototype.sub=function(s,l){this._verify2(s,l);var f=s.sub(l);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},z.prototype.isub=function(s,l){this._verify2(s,l);var f=s.isub(l);return f.cmpn(0)<0&&f.iadd(this.m),f},z.prototype.shl=function(s,l){return this._verify1(s),this.imod(s.ushln(l))},z.prototype.imul=function(s,l){return this._verify2(s,l),this.imod(s.imul(l))},z.prototype.mul=function(s,l){return this._verify2(s,l),this.imod(s.mul(l))},z.prototype.isqr=function(s){return this.imul(s,s.clone())},z.prototype.sqr=function(s){return this.mul(s,s)},z.prototype.sqrt=function(s){if(s.isZero())return s.clone();var l=this.m.andln(3);if(n(l%2===1),l===3){var f=this.m.add(new i(1)).iushrn(2);return this.pow(s,f)}for(var h=this.m.subn(1),g=0;!h.isZero()&&h.andln(1)===0;)g++,h.iushrn(1);n(!h.isZero());var x=new i(1).toRed(this),A=x.redNeg(),y=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new i(2*c*c).toRed(this);this.pow(c,y).cmp(A)!==0;)c.redIAdd(A);for(var M=this.pow(c,h),B=this.pow(s,h.addn(1).iushrn(1)),R=this.pow(s,h),Q=g;R.cmp(x)!==0;){for(var K=R,q=0;K.cmp(x)!==0;q++)K=K.redSqr();n(q<Q);var P=this.pow(M,new i(1).iushln(Q-q-1));B=B.redMul(P),M=P.redSqr(),R=R.redMul(M),Q=q}return B},z.prototype.invm=function(s){var l=s._invmp(this.m);return l.negative!==0?(l.negative=0,this.imod(l).redNeg()):this.imod(l)},z.prototype.pow=function(s,l){if(l.isZero())return new i(1).toRed(this);if(l.cmpn(1)===0)return s.clone();var f=4,h=new Array(1<<f);h[0]=new i(1).toRed(this),h[1]=s;for(var g=2;g<h.length;g++)h[g]=this.mul(h[g-1],s);var x=h[0],A=0,y=0,c=l.bitLength()%26;for(c===0&&(c=26),g=l.length-1;g>=0;g--){for(var M=l.words[g],B=c-1;B>=0;B--){var R=M>>B&1;if(x!==h[0]&&(x=this.sqr(x)),R===0&&A===0){y=0;continue}A<<=1,A|=R,y++,!(y!==f&&(g!==0||B!==0))&&(x=this.mul(x,h[A]),y=0,A=0)}c=26}return x},z.prototype.convertTo=function(s){var l=s.umod(this.m);return l===s?l.clone():l},z.prototype.convertFrom=function(s){var l=s.clone();return l.red=null,l},i.mont=function(s){return new k(s)};function k(w){z.call(this,w),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(k,z),k.prototype.convertTo=function(s){return this.imod(s.ushln(this.shift))},k.prototype.convertFrom=function(s){var l=this.imod(s.mul(this.rinv));return l.red=null,l},k.prototype.imul=function(s,l){if(s.isZero()||l.isZero())return s.words[0]=0,s.length=1,s;var f=s.imul(l),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=f.isub(h).iushrn(this.shift),x=g;return g.cmp(this.m)>=0?x=g.isub(this.m):g.cmpn(0)<0&&(x=g.iadd(this.m)),x._forceRed(this)},k.prototype.mul=function(s,l){if(s.isZero()||l.isZero())return new i(0)._forceRed(this);var f=s.mul(l),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=f.isub(h).iushrn(this.shift),x=g;return g.cmp(this.m)>=0?x=g.isub(this.m):g.cmpn(0)<0&&(x=g.iadd(this.m)),x._forceRed(this)},k.prototype.invm=function(s){var l=this.imod(s._invmp(this.m).mul(this.r2));return l._forceRed(this)}})(e,Ut)}(J4)),J4.exports}var e3={exports:{}};e3.exports;var lD;function Bne(){return lD||(lD=1,function(e){(function(t,r){function n(w,s){if(!w)throw new Error(s||"Assertion failed")}function a(w,s){w.super_=s;var l=function(){};l.prototype=s.prototype,w.prototype=new l,w.prototype.constructor=w}function i(w,s,l){if(i.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((s==="le"||s==="be")&&(l=s,s=10),this._init(w||0,s||10,l||"be"))}typeof t=="object"?t.exports=i:r.BN=i,i.BN=i,i.wordSize=26;var o;try{typeof window<"u"&&typeof window.Buffer<"u"?o=window.Buffer:o=vt.Buffer}catch{}i.isBN=function(s){return s instanceof i?!0:s!==null&&typeof s=="object"&&s.constructor.wordSize===i.wordSize&&Array.isArray(s.words)},i.max=function(s,l){return s.cmp(l)>0?s:l},i.min=function(s,l){return s.cmp(l)<0?s:l},i.prototype._init=function(s,l,f){if(typeof s=="number")return this._initNumber(s,l,f);if(typeof s=="object")return this._initArray(s,l,f);l==="hex"&&(l=16),n(l===(l|0)&&l>=2&&l<=36),s=s.toString().replace(/\s+/g,"");var h=0;s[0]==="-"&&(h++,this.negative=1),h<s.length&&(l===16?this._parseHex(s,h,f):(this._parseBase(s,l,h),f==="le"&&this._initArray(this.toArray(),l,f)))},i.prototype._initNumber=function(s,l,f){s<0&&(this.negative=1,s=-s),s<67108864?(this.words=[s&67108863],this.length=1):s<4503599627370496?(this.words=[s&67108863,s/67108864&67108863],this.length=2):(n(s<9007199254740992),this.words=[s&67108863,s/67108864&67108863,1],this.length=3),f==="le"&&this._initArray(this.toArray(),l,f)},i.prototype._initArray=function(s,l,f){if(n(typeof s.length=="number"),s.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(s.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var g,x,A=0;if(f==="be")for(h=s.length-1,g=0;h>=0;h-=3)x=s[h]|s[h-1]<<8|s[h-2]<<16,this.words[g]|=x<<A&67108863,this.words[g+1]=x>>>26-A&67108863,A+=24,A>=26&&(A-=26,g++);else if(f==="le")for(h=0,g=0;h<s.length;h+=3)x=s[h]|s[h+1]<<8|s[h+2]<<16,this.words[g]|=x<<A&67108863,this.words[g+1]=x>>>26-A&67108863,A+=24,A>=26&&(A-=26,g++);return this.strip()};function u(w,s){var l=w.charCodeAt(s);return l>=65&&l<=70?l-55:l>=97&&l<=102?l-87:l-48&15}function d(w,s,l){var f=u(w,l);return l-1>=s&&(f|=u(w,l-1)<<4),f}i.prototype._parseHex=function(s,l,f){this.length=Math.ceil((s.length-l)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var g=0,x=0,A;if(f==="be")for(h=s.length-1;h>=l;h-=2)A=d(s,l,h)<<g,this.words[x]|=A&67108863,g>=18?(g-=18,x+=1,this.words[x]|=A>>>26):g+=8;else{var y=s.length-l;for(h=y%2===0?l+1:l;h<s.length;h+=2)A=d(s,l,h)<<g,this.words[x]|=A&67108863,g>=18?(g-=18,x+=1,this.words[x]|=A>>>26):g+=8}this.strip()};function p(w,s,l,f){for(var h=0,g=Math.min(w.length,l),x=s;x<g;x++){var A=w.charCodeAt(x)-48;h*=f,A>=49?h+=A-49+10:A>=17?h+=A-17+10:h+=A}return h}i.prototype._parseBase=function(s,l,f){this.words=[0],this.length=1;for(var h=0,g=1;g<=67108863;g*=l)h++;h--,g=g/l|0;for(var x=s.length-f,A=x%h,y=Math.min(x,x-A)+f,c=0,M=f;M<y;M+=h)c=p(s,M,M+h,l),this.imuln(g),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(A!==0){var B=1;for(c=p(s,M,s.length,l),M=0;M<A;M++)B*=l;this.imuln(B),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},i.prototype.copy=function(s){s.words=new Array(this.length);for(var l=0;l<this.length;l++)s.words[l]=this.words[l];s.length=this.length,s.negative=this.negative,s.red=this.red},i.prototype.clone=function(){var s=new i(null);return this.copy(s),s},i.prototype._expand=function(s){for(;this.length<s;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],b=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(s,l){s=s||10,l=l|0||1;var f;if(s===16||s==="hex"){f="";for(var h=0,g=0,x=0;x<this.length;x++){var A=this.words[x],y=((A<<h|g)&16777215).toString(16);g=A>>>24-h&16777215,h+=2,h>=26&&(h-=26,x--),g!==0||x!==this.length-1?f=m[6-y.length]+y+f:f=y+f}for(g!==0&&(f=g.toString(16)+f);f.length%l!==0;)f="0"+f;return this.negative!==0&&(f="-"+f),f}if(s===(s|0)&&s>=2&&s<=36){var c=b[s],M=v[s];f="";var B=this.clone();for(B.negative=0;!B.isZero();){var R=B.modn(M).toString(s);B=B.idivn(M),B.isZero()?f=R+f:f=m[c-R.length]+R+f}for(this.isZero()&&(f="0"+f);f.length%l!==0;)f="0"+f;return this.negative!==0&&(f="-"+f),f}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var s=this.words[0];return this.length===2?s+=this.words[1]*67108864:this.length===3&&this.words[2]===1?s+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-s:s},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(s,l){return n(typeof o<"u"),this.toArrayLike(o,s,l)},i.prototype.toArray=function(s,l){return this.toArrayLike(Array,s,l)},i.prototype.toArrayLike=function(s,l,f){var h=this.byteLength(),g=f||Math.max(1,h);n(h<=g,"byte array longer than desired length"),n(g>0,"Requested array length <= 0"),this.strip();var x=l==="le",A=new s(g),y,c,M=this.clone();if(x){for(c=0;!M.isZero();c++)y=M.andln(255),M.iushrn(8),A[c]=y;for(;c<g;c++)A[c]=0}else{for(c=0;c<g-h;c++)A[c]=0;for(c=0;!M.isZero();c++)y=M.andln(255),M.iushrn(8),A[g-c-1]=y}return A},Math.clz32?i.prototype._countBits=function(s){return 32-Math.clz32(s)}:i.prototype._countBits=function(s){var l=s,f=0;return l>=4096&&(f+=13,l>>>=13),l>=64&&(f+=7,l>>>=7),l>=8&&(f+=4,l>>>=4),l>=2&&(f+=2,l>>>=2),f+l},i.prototype._zeroBits=function(s){if(s===0)return 26;var l=s,f=0;return l&8191||(f+=13,l>>>=13),l&127||(f+=7,l>>>=7),l&15||(f+=4,l>>>=4),l&3||(f+=2,l>>>=2),l&1||f++,f},i.prototype.bitLength=function(){var s=this.words[this.length-1],l=this._countBits(s);return(this.length-1)*26+l};function C(w){for(var s=new Array(w.bitLength()),l=0;l<s.length;l++){var f=l/26|0,h=l%26;s[l]=(w.words[f]&1<<h)>>>h}return s}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var s=0,l=0;l<this.length;l++){var f=this._zeroBits(this.words[l]);if(s+=f,f!==26)break}return s},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(s){return this.negative!==0?this.abs().inotn(s).iaddn(1):this.clone()},i.prototype.fromTwos=function(s){return this.testn(s-1)?this.notn(s).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(s){for(;this.length<s.length;)this.words[this.length++]=0;for(var l=0;l<s.length;l++)this.words[l]=this.words[l]|s.words[l];return this.strip()},i.prototype.ior=function(s){return n((this.negative|s.negative)===0),this.iuor(s)},i.prototype.or=function(s){return this.length>s.length?this.clone().ior(s):s.clone().ior(this)},i.prototype.uor=function(s){return this.length>s.length?this.clone().iuor(s):s.clone().iuor(this)},i.prototype.iuand=function(s){var l;this.length>s.length?l=s:l=this;for(var f=0;f<l.length;f++)this.words[f]=this.words[f]&s.words[f];return this.length=l.length,this.strip()},i.prototype.iand=function(s){return n((this.negative|s.negative)===0),this.iuand(s)},i.prototype.and=function(s){return this.length>s.length?this.clone().iand(s):s.clone().iand(this)},i.prototype.uand=function(s){return this.length>s.length?this.clone().iuand(s):s.clone().iuand(this)},i.prototype.iuxor=function(s){var l,f;this.length>s.length?(l=this,f=s):(l=s,f=this);for(var h=0;h<f.length;h++)this.words[h]=l.words[h]^f.words[h];if(this!==l)for(;h<l.length;h++)this.words[h]=l.words[h];return this.length=l.length,this.strip()},i.prototype.ixor=function(s){return n((this.negative|s.negative)===0),this.iuxor(s)},i.prototype.xor=function(s){return this.length>s.length?this.clone().ixor(s):s.clone().ixor(this)},i.prototype.uxor=function(s){return this.length>s.length?this.clone().iuxor(s):s.clone().iuxor(this)},i.prototype.inotn=function(s){n(typeof s=="number"&&s>=0);var l=Math.ceil(s/26)|0,f=s%26;this._expand(l),f>0&&l--;for(var h=0;h<l;h++)this.words[h]=~this.words[h]&67108863;return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},i.prototype.notn=function(s){return this.clone().inotn(s)},i.prototype.setn=function(s,l){n(typeof s=="number"&&s>=0);var f=s/26|0,h=s%26;return this._expand(f+1),l?this.words[f]=this.words[f]|1<<h:this.words[f]=this.words[f]&~(1<<h),this.strip()},i.prototype.iadd=function(s){var l;if(this.negative!==0&&s.negative===0)return this.negative=0,l=this.isub(s),this.negative^=1,this._normSign();if(this.negative===0&&s.negative!==0)return s.negative=0,l=this.isub(s),s.negative=1,l._normSign();var f,h;this.length>s.length?(f=this,h=s):(f=s,h=this);for(var g=0,x=0;x<h.length;x++)l=(f.words[x]|0)+(h.words[x]|0)+g,this.words[x]=l&67108863,g=l>>>26;for(;g!==0&&x<f.length;x++)l=(f.words[x]|0)+g,this.words[x]=l&67108863,g=l>>>26;if(this.length=f.length,g!==0)this.words[this.length]=g,this.length++;else if(f!==this)for(;x<f.length;x++)this.words[x]=f.words[x];return this},i.prototype.add=function(s){var l;return s.negative!==0&&this.negative===0?(s.negative=0,l=this.sub(s),s.negative^=1,l):s.negative===0&&this.negative!==0?(this.negative=0,l=s.sub(this),this.negative=1,l):this.length>s.length?this.clone().iadd(s):s.clone().iadd(this)},i.prototype.isub=function(s){if(s.negative!==0){s.negative=0;var l=this.iadd(s);return s.negative=1,l._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(s),this.negative=1,this._normSign();var f=this.cmp(s);if(f===0)return this.negative=0,this.length=1,this.words[0]=0,this;var h,g;f>0?(h=this,g=s):(h=s,g=this);for(var x=0,A=0;A<g.length;A++)l=(h.words[A]|0)-(g.words[A]|0)+x,x=l>>26,this.words[A]=l&67108863;for(;x!==0&&A<h.length;A++)l=(h.words[A]|0)+x,x=l>>26,this.words[A]=l&67108863;if(x===0&&A<h.length&&h!==this)for(;A<h.length;A++)this.words[A]=h.words[A];return this.length=Math.max(this.length,A),h!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(s){return this.clone().isub(s)};function E(w,s,l){l.negative=s.negative^w.negative;var f=w.length+s.length|0;l.length=f,f=f-1|0;var h=w.words[0]|0,g=s.words[0]|0,x=h*g,A=x&67108863,y=x/67108864|0;l.words[0]=A;for(var c=1;c<f;c++){for(var M=y>>>26,B=y&67108863,R=Math.min(c,s.length-1),Q=Math.max(0,c-w.length+1);Q<=R;Q++){var K=c-Q|0;h=w.words[K]|0,g=s.words[Q]|0,x=h*g+B,M+=x/67108864|0,B=x&67108863}l.words[c]=B|0,y=M|0}return y!==0?l.words[c]=y|0:l.length--,l.strip()}var T=function(s,l,f){var h=s.words,g=l.words,x=f.words,A=0,y,c,M,B=h[0]|0,R=B&8191,Q=B>>>13,K=h[1]|0,q=K&8191,P=K>>>13,G=h[2]|0,X=G&8191,ne=G>>>13,te=h[3]|0,V=te&8191,oe=te>>>13,xe=h[4]|0,fe=xe&8191,me=xe>>>13,Ze=h[5]|0,he=Ze&8191,Se=Ze>>>13,Ke=h[6]|0,ye=Ke&8191,ce=Ke>>>13,Fe=h[7]|0,pe=Fe&8191,we=Fe>>>13,gt=h[8]|0,$=gt&8191,U=gt>>>13,Z=h[9]|0,ie=Z&8191,se=Z>>>13,be=g[0]|0,le=be&8191,Ce=be>>>13,We=g[1]|0,Me=We&8191,De=We>>>13,st=g[2]|0,Te=st&8191,Oe=st>>>13,Ft=g[3]|0,Le=Ft&8191,Ue=Ft>>>13,Yt=g[4]|0,_e=Yt&8191,Pe=Yt>>>13,Mt=g[5]|0,Be=Mt&8191,He=Mt>>>13,sr=g[6]|0,ke=sr&8191,Ge=sr>>>13,J=g[7]|0,ee=J&8191,re=J>>>13,H=g[8]|0,ae=H&8191,ue=H>>>13,Ee=g[9]|0,de=Ee&8191,ve=Ee>>>13;f.negative=s.negative^l.negative,f.length=19,y=Math.imul(R,le),c=Math.imul(R,Ce),c=c+Math.imul(Q,le)|0,M=Math.imul(Q,Ce);var tt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(tt>>>26)|0,tt&=67108863,y=Math.imul(q,le),c=Math.imul(q,Ce),c=c+Math.imul(P,le)|0,M=Math.imul(P,Ce),y=y+Math.imul(R,Me)|0,c=c+Math.imul(R,De)|0,c=c+Math.imul(Q,Me)|0,M=M+Math.imul(Q,De)|0;var qe=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(qe>>>26)|0,qe&=67108863,y=Math.imul(X,le),c=Math.imul(X,Ce),c=c+Math.imul(ne,le)|0,M=Math.imul(ne,Ce),y=y+Math.imul(q,Me)|0,c=c+Math.imul(q,De)|0,c=c+Math.imul(P,Me)|0,M=M+Math.imul(P,De)|0,y=y+Math.imul(R,Te)|0,c=c+Math.imul(R,Oe)|0,c=c+Math.imul(Q,Te)|0,M=M+Math.imul(Q,Oe)|0;var _t=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(_t>>>26)|0,_t&=67108863,y=Math.imul(V,le),c=Math.imul(V,Ce),c=c+Math.imul(oe,le)|0,M=Math.imul(oe,Ce),y=y+Math.imul(X,Me)|0,c=c+Math.imul(X,De)|0,c=c+Math.imul(ne,Me)|0,M=M+Math.imul(ne,De)|0,y=y+Math.imul(q,Te)|0,c=c+Math.imul(q,Oe)|0,c=c+Math.imul(P,Te)|0,M=M+Math.imul(P,Oe)|0,y=y+Math.imul(R,Le)|0,c=c+Math.imul(R,Ue)|0,c=c+Math.imul(Q,Le)|0,M=M+Math.imul(Q,Ue)|0;var lt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(lt>>>26)|0,lt&=67108863,y=Math.imul(fe,le),c=Math.imul(fe,Ce),c=c+Math.imul(me,le)|0,M=Math.imul(me,Ce),y=y+Math.imul(V,Me)|0,c=c+Math.imul(V,De)|0,c=c+Math.imul(oe,Me)|0,M=M+Math.imul(oe,De)|0,y=y+Math.imul(X,Te)|0,c=c+Math.imul(X,Oe)|0,c=c+Math.imul(ne,Te)|0,M=M+Math.imul(ne,Oe)|0,y=y+Math.imul(q,Le)|0,c=c+Math.imul(q,Ue)|0,c=c+Math.imul(P,Le)|0,M=M+Math.imul(P,Ue)|0,y=y+Math.imul(R,_e)|0,c=c+Math.imul(R,Pe)|0,c=c+Math.imul(Q,_e)|0,M=M+Math.imul(Q,Pe)|0;var wt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(wt>>>26)|0,wt&=67108863,y=Math.imul(he,le),c=Math.imul(he,Ce),c=c+Math.imul(Se,le)|0,M=Math.imul(Se,Ce),y=y+Math.imul(fe,Me)|0,c=c+Math.imul(fe,De)|0,c=c+Math.imul(me,Me)|0,M=M+Math.imul(me,De)|0,y=y+Math.imul(V,Te)|0,c=c+Math.imul(V,Oe)|0,c=c+Math.imul(oe,Te)|0,M=M+Math.imul(oe,Oe)|0,y=y+Math.imul(X,Le)|0,c=c+Math.imul(X,Ue)|0,c=c+Math.imul(ne,Le)|0,M=M+Math.imul(ne,Ue)|0,y=y+Math.imul(q,_e)|0,c=c+Math.imul(q,Pe)|0,c=c+Math.imul(P,_e)|0,M=M+Math.imul(P,Pe)|0,y=y+Math.imul(R,Be)|0,c=c+Math.imul(R,He)|0,c=c+Math.imul(Q,Be)|0,M=M+Math.imul(Q,He)|0;var Et=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Et>>>26)|0,Et&=67108863,y=Math.imul(ye,le),c=Math.imul(ye,Ce),c=c+Math.imul(ce,le)|0,M=Math.imul(ce,Ce),y=y+Math.imul(he,Me)|0,c=c+Math.imul(he,De)|0,c=c+Math.imul(Se,Me)|0,M=M+Math.imul(Se,De)|0,y=y+Math.imul(fe,Te)|0,c=c+Math.imul(fe,Oe)|0,c=c+Math.imul(me,Te)|0,M=M+Math.imul(me,Oe)|0,y=y+Math.imul(V,Le)|0,c=c+Math.imul(V,Ue)|0,c=c+Math.imul(oe,Le)|0,M=M+Math.imul(oe,Ue)|0,y=y+Math.imul(X,_e)|0,c=c+Math.imul(X,Pe)|0,c=c+Math.imul(ne,_e)|0,M=M+Math.imul(ne,Pe)|0,y=y+Math.imul(q,Be)|0,c=c+Math.imul(q,He)|0,c=c+Math.imul(P,Be)|0,M=M+Math.imul(P,He)|0,y=y+Math.imul(R,ke)|0,c=c+Math.imul(R,Ge)|0,c=c+Math.imul(Q,ke)|0,M=M+Math.imul(Q,Ge)|0;var jt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(jt>>>26)|0,jt&=67108863,y=Math.imul(pe,le),c=Math.imul(pe,Ce),c=c+Math.imul(we,le)|0,M=Math.imul(we,Ce),y=y+Math.imul(ye,Me)|0,c=c+Math.imul(ye,De)|0,c=c+Math.imul(ce,Me)|0,M=M+Math.imul(ce,De)|0,y=y+Math.imul(he,Te)|0,c=c+Math.imul(he,Oe)|0,c=c+Math.imul(Se,Te)|0,M=M+Math.imul(Se,Oe)|0,y=y+Math.imul(fe,Le)|0,c=c+Math.imul(fe,Ue)|0,c=c+Math.imul(me,Le)|0,M=M+Math.imul(me,Ue)|0,y=y+Math.imul(V,_e)|0,c=c+Math.imul(V,Pe)|0,c=c+Math.imul(oe,_e)|0,M=M+Math.imul(oe,Pe)|0,y=y+Math.imul(X,Be)|0,c=c+Math.imul(X,He)|0,c=c+Math.imul(ne,Be)|0,M=M+Math.imul(ne,He)|0,y=y+Math.imul(q,ke)|0,c=c+Math.imul(q,Ge)|0,c=c+Math.imul(P,ke)|0,M=M+Math.imul(P,Ge)|0,y=y+Math.imul(R,ee)|0,c=c+Math.imul(R,re)|0,c=c+Math.imul(Q,ee)|0,M=M+Math.imul(Q,re)|0;var Nt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,y=Math.imul($,le),c=Math.imul($,Ce),c=c+Math.imul(U,le)|0,M=Math.imul(U,Ce),y=y+Math.imul(pe,Me)|0,c=c+Math.imul(pe,De)|0,c=c+Math.imul(we,Me)|0,M=M+Math.imul(we,De)|0,y=y+Math.imul(ye,Te)|0,c=c+Math.imul(ye,Oe)|0,c=c+Math.imul(ce,Te)|0,M=M+Math.imul(ce,Oe)|0,y=y+Math.imul(he,Le)|0,c=c+Math.imul(he,Ue)|0,c=c+Math.imul(Se,Le)|0,M=M+Math.imul(Se,Ue)|0,y=y+Math.imul(fe,_e)|0,c=c+Math.imul(fe,Pe)|0,c=c+Math.imul(me,_e)|0,M=M+Math.imul(me,Pe)|0,y=y+Math.imul(V,Be)|0,c=c+Math.imul(V,He)|0,c=c+Math.imul(oe,Be)|0,M=M+Math.imul(oe,He)|0,y=y+Math.imul(X,ke)|0,c=c+Math.imul(X,Ge)|0,c=c+Math.imul(ne,ke)|0,M=M+Math.imul(ne,Ge)|0,y=y+Math.imul(q,ee)|0,c=c+Math.imul(q,re)|0,c=c+Math.imul(P,ee)|0,M=M+Math.imul(P,re)|0,y=y+Math.imul(R,ae)|0,c=c+Math.imul(R,ue)|0,c=c+Math.imul(Q,ae)|0,M=M+Math.imul(Q,ue)|0;var St=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(St>>>26)|0,St&=67108863,y=Math.imul(ie,le),c=Math.imul(ie,Ce),c=c+Math.imul(se,le)|0,M=Math.imul(se,Ce),y=y+Math.imul($,Me)|0,c=c+Math.imul($,De)|0,c=c+Math.imul(U,Me)|0,M=M+Math.imul(U,De)|0,y=y+Math.imul(pe,Te)|0,c=c+Math.imul(pe,Oe)|0,c=c+Math.imul(we,Te)|0,M=M+Math.imul(we,Oe)|0,y=y+Math.imul(ye,Le)|0,c=c+Math.imul(ye,Ue)|0,c=c+Math.imul(ce,Le)|0,M=M+Math.imul(ce,Ue)|0,y=y+Math.imul(he,_e)|0,c=c+Math.imul(he,Pe)|0,c=c+Math.imul(Se,_e)|0,M=M+Math.imul(Se,Pe)|0,y=y+Math.imul(fe,Be)|0,c=c+Math.imul(fe,He)|0,c=c+Math.imul(me,Be)|0,M=M+Math.imul(me,He)|0,y=y+Math.imul(V,ke)|0,c=c+Math.imul(V,Ge)|0,c=c+Math.imul(oe,ke)|0,M=M+Math.imul(oe,Ge)|0,y=y+Math.imul(X,ee)|0,c=c+Math.imul(X,re)|0,c=c+Math.imul(ne,ee)|0,M=M+Math.imul(ne,re)|0,y=y+Math.imul(q,ae)|0,c=c+Math.imul(q,ue)|0,c=c+Math.imul(P,ae)|0,M=M+Math.imul(P,ue)|0,y=y+Math.imul(R,de)|0,c=c+Math.imul(R,ve)|0,c=c+Math.imul(Q,de)|0,M=M+Math.imul(Q,ve)|0;var It=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(It>>>26)|0,It&=67108863,y=Math.imul(ie,Me),c=Math.imul(ie,De),c=c+Math.imul(se,Me)|0,M=Math.imul(se,De),y=y+Math.imul($,Te)|0,c=c+Math.imul($,Oe)|0,c=c+Math.imul(U,Te)|0,M=M+Math.imul(U,Oe)|0,y=y+Math.imul(pe,Le)|0,c=c+Math.imul(pe,Ue)|0,c=c+Math.imul(we,Le)|0,M=M+Math.imul(we,Ue)|0,y=y+Math.imul(ye,_e)|0,c=c+Math.imul(ye,Pe)|0,c=c+Math.imul(ce,_e)|0,M=M+Math.imul(ce,Pe)|0,y=y+Math.imul(he,Be)|0,c=c+Math.imul(he,He)|0,c=c+Math.imul(Se,Be)|0,M=M+Math.imul(Se,He)|0,y=y+Math.imul(fe,ke)|0,c=c+Math.imul(fe,Ge)|0,c=c+Math.imul(me,ke)|0,M=M+Math.imul(me,Ge)|0,y=y+Math.imul(V,ee)|0,c=c+Math.imul(V,re)|0,c=c+Math.imul(oe,ee)|0,M=M+Math.imul(oe,re)|0,y=y+Math.imul(X,ae)|0,c=c+Math.imul(X,ue)|0,c=c+Math.imul(ne,ae)|0,M=M+Math.imul(ne,ue)|0,y=y+Math.imul(q,de)|0,c=c+Math.imul(q,ve)|0,c=c+Math.imul(P,de)|0,M=M+Math.imul(P,ve)|0;var Dt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,y=Math.imul(ie,Te),c=Math.imul(ie,Oe),c=c+Math.imul(se,Te)|0,M=Math.imul(se,Oe),y=y+Math.imul($,Le)|0,c=c+Math.imul($,Ue)|0,c=c+Math.imul(U,Le)|0,M=M+Math.imul(U,Ue)|0,y=y+Math.imul(pe,_e)|0,c=c+Math.imul(pe,Pe)|0,c=c+Math.imul(we,_e)|0,M=M+Math.imul(we,Pe)|0,y=y+Math.imul(ye,Be)|0,c=c+Math.imul(ye,He)|0,c=c+Math.imul(ce,Be)|0,M=M+Math.imul(ce,He)|0,y=y+Math.imul(he,ke)|0,c=c+Math.imul(he,Ge)|0,c=c+Math.imul(Se,ke)|0,M=M+Math.imul(Se,Ge)|0,y=y+Math.imul(fe,ee)|0,c=c+Math.imul(fe,re)|0,c=c+Math.imul(me,ee)|0,M=M+Math.imul(me,re)|0,y=y+Math.imul(V,ae)|0,c=c+Math.imul(V,ue)|0,c=c+Math.imul(oe,ae)|0,M=M+Math.imul(oe,ue)|0,y=y+Math.imul(X,de)|0,c=c+Math.imul(X,ve)|0,c=c+Math.imul(ne,de)|0,M=M+Math.imul(ne,ve)|0;var dt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(dt>>>26)|0,dt&=67108863,y=Math.imul(ie,Le),c=Math.imul(ie,Ue),c=c+Math.imul(se,Le)|0,M=Math.imul(se,Ue),y=y+Math.imul($,_e)|0,c=c+Math.imul($,Pe)|0,c=c+Math.imul(U,_e)|0,M=M+Math.imul(U,Pe)|0,y=y+Math.imul(pe,Be)|0,c=c+Math.imul(pe,He)|0,c=c+Math.imul(we,Be)|0,M=M+Math.imul(we,He)|0,y=y+Math.imul(ye,ke)|0,c=c+Math.imul(ye,Ge)|0,c=c+Math.imul(ce,ke)|0,M=M+Math.imul(ce,Ge)|0,y=y+Math.imul(he,ee)|0,c=c+Math.imul(he,re)|0,c=c+Math.imul(Se,ee)|0,M=M+Math.imul(Se,re)|0,y=y+Math.imul(fe,ae)|0,c=c+Math.imul(fe,ue)|0,c=c+Math.imul(me,ae)|0,M=M+Math.imul(me,ue)|0,y=y+Math.imul(V,de)|0,c=c+Math.imul(V,ve)|0,c=c+Math.imul(oe,de)|0,M=M+Math.imul(oe,ve)|0;var yt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(yt>>>26)|0,yt&=67108863,y=Math.imul(ie,_e),c=Math.imul(ie,Pe),c=c+Math.imul(se,_e)|0,M=Math.imul(se,Pe),y=y+Math.imul($,Be)|0,c=c+Math.imul($,He)|0,c=c+Math.imul(U,Be)|0,M=M+Math.imul(U,He)|0,y=y+Math.imul(pe,ke)|0,c=c+Math.imul(pe,Ge)|0,c=c+Math.imul(we,ke)|0,M=M+Math.imul(we,Ge)|0,y=y+Math.imul(ye,ee)|0,c=c+Math.imul(ye,re)|0,c=c+Math.imul(ce,ee)|0,M=M+Math.imul(ce,re)|0,y=y+Math.imul(he,ae)|0,c=c+Math.imul(he,ue)|0,c=c+Math.imul(Se,ae)|0,M=M+Math.imul(Se,ue)|0,y=y+Math.imul(fe,de)|0,c=c+Math.imul(fe,ve)|0,c=c+Math.imul(me,de)|0,M=M+Math.imul(me,ve)|0;var ot=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(ot>>>26)|0,ot&=67108863,y=Math.imul(ie,Be),c=Math.imul(ie,He),c=c+Math.imul(se,Be)|0,M=Math.imul(se,He),y=y+Math.imul($,ke)|0,c=c+Math.imul($,Ge)|0,c=c+Math.imul(U,ke)|0,M=M+Math.imul(U,Ge)|0,y=y+Math.imul(pe,ee)|0,c=c+Math.imul(pe,re)|0,c=c+Math.imul(we,ee)|0,M=M+Math.imul(we,re)|0,y=y+Math.imul(ye,ae)|0,c=c+Math.imul(ye,ue)|0,c=c+Math.imul(ce,ae)|0,M=M+Math.imul(ce,ue)|0,y=y+Math.imul(he,de)|0,c=c+Math.imul(he,ve)|0,c=c+Math.imul(Se,de)|0,M=M+Math.imul(Se,ve)|0;var ht=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(ht>>>26)|0,ht&=67108863,y=Math.imul(ie,ke),c=Math.imul(ie,Ge),c=c+Math.imul(se,ke)|0,M=Math.imul(se,Ge),y=y+Math.imul($,ee)|0,c=c+Math.imul($,re)|0,c=c+Math.imul(U,ee)|0,M=M+Math.imul(U,re)|0,y=y+Math.imul(pe,ae)|0,c=c+Math.imul(pe,ue)|0,c=c+Math.imul(we,ae)|0,M=M+Math.imul(we,ue)|0,y=y+Math.imul(ye,de)|0,c=c+Math.imul(ye,ve)|0,c=c+Math.imul(ce,de)|0,M=M+Math.imul(ce,ve)|0;var pt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(pt>>>26)|0,pt&=67108863,y=Math.imul(ie,ee),c=Math.imul(ie,re),c=c+Math.imul(se,ee)|0,M=Math.imul(se,re),y=y+Math.imul($,ae)|0,c=c+Math.imul($,ue)|0,c=c+Math.imul(U,ae)|0,M=M+Math.imul(U,ue)|0,y=y+Math.imul(pe,de)|0,c=c+Math.imul(pe,ve)|0,c=c+Math.imul(we,de)|0,M=M+Math.imul(we,ve)|0;var nt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(nt>>>26)|0,nt&=67108863,y=Math.imul(ie,ae),c=Math.imul(ie,ue),c=c+Math.imul(se,ae)|0,M=Math.imul(se,ue),y=y+Math.imul($,de)|0,c=c+Math.imul($,ve)|0,c=c+Math.imul(U,de)|0,M=M+Math.imul(U,ve)|0;var Ie=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,y=Math.imul(ie,de),c=Math.imul(ie,ve),c=c+Math.imul(se,de)|0,M=Math.imul(se,ve);var Ne=(A+y|0)+((c&8191)<<13)|0;return A=(M+(c>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,x[0]=tt,x[1]=qe,x[2]=_t,x[3]=lt,x[4]=wt,x[5]=Et,x[6]=jt,x[7]=Nt,x[8]=St,x[9]=It,x[10]=Dt,x[11]=dt,x[12]=yt,x[13]=ot,x[14]=ht,x[15]=pt,x[16]=nt,x[17]=Ie,x[18]=Ne,A!==0&&(x[19]=A,f.length++),f};Math.imul||(T=E);function I(w,s,l){l.negative=s.negative^w.negative,l.length=w.length+s.length;for(var f=0,h=0,g=0;g<l.length-1;g++){var x=h;h=0;for(var A=f&67108863,y=Math.min(g,s.length-1),c=Math.max(0,g-w.length+1);c<=y;c++){var M=g-c,B=w.words[M]|0,R=s.words[c]|0,Q=B*R,K=Q&67108863;x=x+(Q/67108864|0)|0,K=K+A|0,A=K&67108863,x=x+(K>>>26)|0,h+=x>>>26,x&=67108863}l.words[g]=A,f=x,x=h}return f!==0?l.words[g]=f:l.length--,l.strip()}function D(w,s,l){var f=new S;return f.mulp(w,s,l)}i.prototype.mulTo=function(s,l){var f,h=this.length+s.length;return this.length===10&&s.length===10?f=T(this,s,l):h<63?f=E(this,s,l):h<1024?f=I(this,s,l):f=D(this,s,l),f};function S(w,s){this.x=w,this.y=s}S.prototype.makeRBT=function(s){for(var l=new Array(s),f=i.prototype._countBits(s)-1,h=0;h<s;h++)l[h]=this.revBin(h,f,s);return l},S.prototype.revBin=function(s,l,f){if(s===0||s===f-1)return s;for(var h=0,g=0;g<l;g++)h|=(s&1)<<l-g-1,s>>=1;return h},S.prototype.permute=function(s,l,f,h,g,x){for(var A=0;A<x;A++)h[A]=l[s[A]],g[A]=f[s[A]]},S.prototype.transform=function(s,l,f,h,g,x){this.permute(x,s,l,f,h,g);for(var A=1;A<g;A<<=1)for(var y=A<<1,c=Math.cos(2*Math.PI/y),M=Math.sin(2*Math.PI/y),B=0;B<g;B+=y)for(var R=c,Q=M,K=0;K<A;K++){var q=f[B+K],P=h[B+K],G=f[B+K+A],X=h[B+K+A],ne=R*G-Q*X;X=R*X+Q*G,G=ne,f[B+K]=q+G,h[B+K]=P+X,f[B+K+A]=q-G,h[B+K+A]=P-X,K!==y&&(ne=c*R-M*Q,Q=c*Q+M*R,R=ne)}},S.prototype.guessLen13b=function(s,l){var f=Math.max(l,s)|1,h=f&1,g=0;for(f=f/2|0;f;f=f>>>1)g++;return 1<<g+1+h},S.prototype.conjugate=function(s,l,f){if(!(f<=1))for(var h=0;h<f/2;h++){var g=s[h];s[h]=s[f-h-1],s[f-h-1]=g,g=l[h],l[h]=-l[f-h-1],l[f-h-1]=-g}},S.prototype.normalize13b=function(s,l){for(var f=0,h=0;h<l/2;h++){var g=Math.round(s[2*h+1]/l)*8192+Math.round(s[2*h]/l)+f;s[h]=g&67108863,g<67108864?f=0:f=g/67108864|0}return s},S.prototype.convert13b=function(s,l,f,h){for(var g=0,x=0;x<l;x++)g=g+(s[x]|0),f[2*x]=g&8191,g=g>>>13,f[2*x+1]=g&8191,g=g>>>13;for(x=2*l;x<h;++x)f[x]=0;n(g===0),n((g&-8192)===0)},S.prototype.stub=function(s){for(var l=new Array(s),f=0;f<s;f++)l[f]=0;return l},S.prototype.mulp=function(s,l,f){var h=2*this.guessLen13b(s.length,l.length),g=this.makeRBT(h),x=this.stub(h),A=new Array(h),y=new Array(h),c=new Array(h),M=new Array(h),B=new Array(h),R=new Array(h),Q=f.words;Q.length=h,this.convert13b(s.words,s.length,A,h),this.convert13b(l.words,l.length,M,h),this.transform(A,x,y,c,h,g),this.transform(M,x,B,R,h,g);for(var K=0;K<h;K++){var q=y[K]*B[K]-c[K]*R[K];c[K]=y[K]*R[K]+c[K]*B[K],y[K]=q}return this.conjugate(y,c,h),this.transform(y,c,Q,x,h,g),this.conjugate(Q,x,h),this.normalize13b(Q,h),f.negative=s.negative^l.negative,f.length=s.length+l.length,f.strip()},i.prototype.mul=function(s){var l=new i(null);return l.words=new Array(this.length+s.length),this.mulTo(s,l)},i.prototype.mulf=function(s){var l=new i(null);return l.words=new Array(this.length+s.length),D(this,s,l)},i.prototype.imul=function(s){return this.clone().mulTo(s,this)},i.prototype.imuln=function(s){n(typeof s=="number"),n(s<67108864);for(var l=0,f=0;f<this.length;f++){var h=(this.words[f]|0)*s,g=(h&67108863)+(l&67108863);l>>=26,l+=h/67108864|0,l+=g>>>26,this.words[f]=g&67108863}return l!==0&&(this.words[f]=l,this.length++),this.length=s===0?1:this.length,this},i.prototype.muln=function(s){return this.clone().imuln(s)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(s){var l=C(s);if(l.length===0)return new i(1);for(var f=this,h=0;h<l.length&&l[h]===0;h++,f=f.sqr());if(++h<l.length)for(var g=f.sqr();h<l.length;h++,g=g.sqr())l[h]!==0&&(f=f.mul(g));return f},i.prototype.iushln=function(s){n(typeof s=="number"&&s>=0);var l=s%26,f=(s-l)/26,h=67108863>>>26-l<<26-l,g;if(l!==0){var x=0;for(g=0;g<this.length;g++){var A=this.words[g]&h,y=(this.words[g]|0)-A<<l;this.words[g]=y|x,x=A>>>26-l}x&&(this.words[g]=x,this.length++)}if(f!==0){for(g=this.length-1;g>=0;g--)this.words[g+f]=this.words[g];for(g=0;g<f;g++)this.words[g]=0;this.length+=f}return this.strip()},i.prototype.ishln=function(s){return n(this.negative===0),this.iushln(s)},i.prototype.iushrn=function(s,l,f){n(typeof s=="number"&&s>=0);var h;l?h=(l-l%26)/26:h=0;var g=s%26,x=Math.min((s-g)/26,this.length),A=67108863^67108863>>>g<<g,y=f;if(h-=x,h=Math.max(0,h),y){for(var c=0;c<x;c++)y.words[c]=this.words[c];y.length=x}if(x!==0)if(this.length>x)for(this.length-=x,c=0;c<this.length;c++)this.words[c]=this.words[c+x];else this.words[0]=0,this.length=1;var M=0;for(c=this.length-1;c>=0&&(M!==0||c>=h);c--){var B=this.words[c]|0;this.words[c]=M<<26-g|B>>>g,M=B&A}return y&&M!==0&&(y.words[y.length++]=M),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(s,l,f){return n(this.negative===0),this.iushrn(s,l,f)},i.prototype.shln=function(s){return this.clone().ishln(s)},i.prototype.ushln=function(s){return this.clone().iushln(s)},i.prototype.shrn=function(s){return this.clone().ishrn(s)},i.prototype.ushrn=function(s){return this.clone().iushrn(s)},i.prototype.testn=function(s){n(typeof s=="number"&&s>=0);var l=s%26,f=(s-l)/26,h=1<<l;if(this.length<=f)return!1;var g=this.words[f];return!!(g&h)},i.prototype.imaskn=function(s){n(typeof s=="number"&&s>=0);var l=s%26,f=(s-l)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=f)return this;if(l!==0&&f++,this.length=Math.min(f,this.length),l!==0){var h=67108863^67108863>>>l<<l;this.words[this.length-1]&=h}return this.strip()},i.prototype.maskn=function(s){return this.clone().imaskn(s)},i.prototype.iaddn=function(s){return n(typeof s=="number"),n(s<67108864),s<0?this.isubn(-s):this.negative!==0?this.length===1&&(this.words[0]|0)<s?(this.words[0]=s-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(s),this.negative=1,this):this._iaddn(s)},i.prototype._iaddn=function(s){this.words[0]+=s;for(var l=0;l<this.length&&this.words[l]>=67108864;l++)this.words[l]-=67108864,l===this.length-1?this.words[l+1]=1:this.words[l+1]++;return this.length=Math.max(this.length,l+1),this},i.prototype.isubn=function(s){if(n(typeof s=="number"),n(s<67108864),s<0)return this.iaddn(-s);if(this.negative!==0)return this.negative=0,this.iaddn(s),this.negative=1,this;if(this.words[0]-=s,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var l=0;l<this.length&&this.words[l]<0;l++)this.words[l]+=67108864,this.words[l+1]-=1;return this.strip()},i.prototype.addn=function(s){return this.clone().iaddn(s)},i.prototype.subn=function(s){return this.clone().isubn(s)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(s,l,f){var h=s.length+f,g;this._expand(h);var x,A=0;for(g=0;g<s.length;g++){x=(this.words[g+f]|0)+A;var y=(s.words[g]|0)*l;x-=y&67108863,A=(x>>26)-(y/67108864|0),this.words[g+f]=x&67108863}for(;g<this.length-f;g++)x=(this.words[g+f]|0)+A,A=x>>26,this.words[g+f]=x&67108863;if(A===0)return this.strip();for(n(A===-1),A=0,g=0;g<this.length;g++)x=-(this.words[g]|0)+A,A=x>>26,this.words[g]=x&67108863;return this.negative=1,this.strip()},i.prototype._wordDiv=function(s,l){var f=this.length-s.length,h=this.clone(),g=s,x=g.words[g.length-1]|0,A=this._countBits(x);f=26-A,f!==0&&(g=g.ushln(f),h.iushln(f),x=g.words[g.length-1]|0);var y=h.length-g.length,c;if(l!=="mod"){c=new i(null),c.length=y+1,c.words=new Array(c.length);for(var M=0;M<c.length;M++)c.words[M]=0}var B=h.clone()._ishlnsubmul(g,1,y);B.negative===0&&(h=B,c&&(c.words[y]=1));for(var R=y-1;R>=0;R--){var Q=(h.words[g.length+R]|0)*67108864+(h.words[g.length+R-1]|0);for(Q=Math.min(Q/x|0,67108863),h._ishlnsubmul(g,Q,R);h.negative!==0;)Q--,h.negative=0,h._ishlnsubmul(g,1,R),h.isZero()||(h.negative^=1);c&&(c.words[R]=Q)}return c&&c.strip(),h.strip(),l!=="div"&&f!==0&&h.iushrn(f),{div:c||null,mod:h}},i.prototype.divmod=function(s,l,f){if(n(!s.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var h,g,x;return this.negative!==0&&s.negative===0?(x=this.neg().divmod(s,l),l!=="mod"&&(h=x.div.neg()),l!=="div"&&(g=x.mod.neg(),f&&g.negative!==0&&g.iadd(s)),{div:h,mod:g}):this.negative===0&&s.negative!==0?(x=this.divmod(s.neg(),l),l!=="mod"&&(h=x.div.neg()),{div:h,mod:x.mod}):this.negative&s.negative?(x=this.neg().divmod(s.neg(),l),l!=="div"&&(g=x.mod.neg(),f&&g.negative!==0&&g.isub(s)),{div:x.div,mod:g}):s.length>this.length||this.cmp(s)<0?{div:new i(0),mod:this}:s.length===1?l==="div"?{div:this.divn(s.words[0]),mod:null}:l==="mod"?{div:null,mod:new i(this.modn(s.words[0]))}:{div:this.divn(s.words[0]),mod:new i(this.modn(s.words[0]))}:this._wordDiv(s,l)},i.prototype.div=function(s){return this.divmod(s,"div",!1).div},i.prototype.mod=function(s){return this.divmod(s,"mod",!1).mod},i.prototype.umod=function(s){return this.divmod(s,"mod",!0).mod},i.prototype.divRound=function(s){var l=this.divmod(s);if(l.mod.isZero())return l.div;var f=l.div.negative!==0?l.mod.isub(s):l.mod,h=s.ushrn(1),g=s.andln(1),x=f.cmp(h);return x<0||g===1&&x===0?l.div:l.div.negative!==0?l.div.isubn(1):l.div.iaddn(1)},i.prototype.modn=function(s){n(s<=67108863);for(var l=(1<<26)%s,f=0,h=this.length-1;h>=0;h--)f=(l*f+(this.words[h]|0))%s;return f},i.prototype.idivn=function(s){n(s<=67108863);for(var l=0,f=this.length-1;f>=0;f--){var h=(this.words[f]|0)+l*67108864;this.words[f]=h/s|0,l=h%s}return this.strip()},i.prototype.divn=function(s){return this.clone().idivn(s)},i.prototype.egcd=function(s){n(s.negative===0),n(!s.isZero());var l=this,f=s.clone();l.negative!==0?l=l.umod(s):l=l.clone();for(var h=new i(1),g=new i(0),x=new i(0),A=new i(1),y=0;l.isEven()&&f.isEven();)l.iushrn(1),f.iushrn(1),++y;for(var c=f.clone(),M=l.clone();!l.isZero();){for(var B=0,R=1;!(l.words[0]&R)&&B<26;++B,R<<=1);if(B>0)for(l.iushrn(B);B-- >0;)(h.isOdd()||g.isOdd())&&(h.iadd(c),g.isub(M)),h.iushrn(1),g.iushrn(1);for(var Q=0,K=1;!(f.words[0]&K)&&Q<26;++Q,K<<=1);if(Q>0)for(f.iushrn(Q);Q-- >0;)(x.isOdd()||A.isOdd())&&(x.iadd(c),A.isub(M)),x.iushrn(1),A.iushrn(1);l.cmp(f)>=0?(l.isub(f),h.isub(x),g.isub(A)):(f.isub(l),x.isub(h),A.isub(g))}return{a:x,b:A,gcd:f.iushln(y)}},i.prototype._invmp=function(s){n(s.negative===0),n(!s.isZero());var l=this,f=s.clone();l.negative!==0?l=l.umod(s):l=l.clone();for(var h=new i(1),g=new i(0),x=f.clone();l.cmpn(1)>0&&f.cmpn(1)>0;){for(var A=0,y=1;!(l.words[0]&y)&&A<26;++A,y<<=1);if(A>0)for(l.iushrn(A);A-- >0;)h.isOdd()&&h.iadd(x),h.iushrn(1);for(var c=0,M=1;!(f.words[0]&M)&&c<26;++c,M<<=1);if(c>0)for(f.iushrn(c);c-- >0;)g.isOdd()&&g.iadd(x),g.iushrn(1);l.cmp(f)>=0?(l.isub(f),h.isub(g)):(f.isub(l),g.isub(h))}var B;return l.cmpn(1)===0?B=h:B=g,B.cmpn(0)<0&&B.iadd(s),B},i.prototype.gcd=function(s){if(this.isZero())return s.abs();if(s.isZero())return this.abs();var l=this.clone(),f=s.clone();l.negative=0,f.negative=0;for(var h=0;l.isEven()&&f.isEven();h++)l.iushrn(1),f.iushrn(1);do{for(;l.isEven();)l.iushrn(1);for(;f.isEven();)f.iushrn(1);var g=l.cmp(f);if(g<0){var x=l;l=f,f=x}else if(g===0||f.cmpn(1)===0)break;l.isub(f)}while(!0);return f.iushln(h)},i.prototype.invm=function(s){return this.egcd(s).a.umod(s)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(s){return this.words[0]&s},i.prototype.bincn=function(s){n(typeof s=="number");var l=s%26,f=(s-l)/26,h=1<<l;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var g=h,x=f;g!==0&&x<this.length;x++){var A=this.words[x]|0;A+=g,g=A>>>26,A&=67108863,this.words[x]=A}return g!==0&&(this.words[x]=g,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(s){var l=s<0;if(this.negative!==0&&!l)return-1;if(this.negative===0&&l)return 1;this.strip();var f;if(this.length>1)f=1;else{l&&(s=-s),n(s<=67108863,"Number is too big");var h=this.words[0]|0;f=h===s?0:h<s?-1:1}return this.negative!==0?-f|0:f},i.prototype.cmp=function(s){if(this.negative!==0&&s.negative===0)return-1;if(this.negative===0&&s.negative!==0)return 1;var l=this.ucmp(s);return this.negative!==0?-l|0:l},i.prototype.ucmp=function(s){if(this.length>s.length)return 1;if(this.length<s.length)return-1;for(var l=0,f=this.length-1;f>=0;f--){var h=this.words[f]|0,g=s.words[f]|0;if(h!==g){h<g?l=-1:h>g&&(l=1);break}}return l},i.prototype.gtn=function(s){return this.cmpn(s)===1},i.prototype.gt=function(s){return this.cmp(s)===1},i.prototype.gten=function(s){return this.cmpn(s)>=0},i.prototype.gte=function(s){return this.cmp(s)>=0},i.prototype.ltn=function(s){return this.cmpn(s)===-1},i.prototype.lt=function(s){return this.cmp(s)===-1},i.prototype.lten=function(s){return this.cmpn(s)<=0},i.prototype.lte=function(s){return this.cmp(s)<=0},i.prototype.eqn=function(s){return this.cmpn(s)===0},i.prototype.eq=function(s){return this.cmp(s)===0},i.red=function(s){return new z(s)},i.prototype.toRed=function(s){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),s.convertTo(this)._forceRed(s)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(s){return this.red=s,this},i.prototype.forceRed=function(s){return n(!this.red,"Already a number in reduction context"),this._forceRed(s)},i.prototype.redAdd=function(s){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,s)},i.prototype.redIAdd=function(s){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,s)},i.prototype.redSub=function(s){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,s)},i.prototype.redISub=function(s){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,s)},i.prototype.redShl=function(s){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,s)},i.prototype.redMul=function(s){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.mul(this,s)},i.prototype.redIMul=function(s){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.imul(this,s)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(s){return n(this.red&&!s.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,s)};var N={k256:null,p224:null,p192:null,p25519:null};function j(w,s){this.name=w,this.p=new i(s,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}j.prototype._tmp=function(){var s=new i(null);return s.words=new Array(Math.ceil(this.n/13)),s},j.prototype.ireduce=function(s){var l=s,f;do this.split(l,this.tmp),l=this.imulK(l),l=l.iadd(this.tmp),f=l.bitLength();while(f>this.n);var h=f<this.n?-1:l.ucmp(this.p);return h===0?(l.words[0]=0,l.length=1):h>0?l.isub(this.p):l.strip!==void 0?l.strip():l._strip(),l},j.prototype.split=function(s,l){s.iushrn(this.n,0,l)},j.prototype.imulK=function(s){return s.imul(this.k)};function F(){j.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(F,j),F.prototype.split=function(s,l){for(var f=4194303,h=Math.min(s.length,9),g=0;g<h;g++)l.words[g]=s.words[g];if(l.length=h,s.length<=9){s.words[0]=0,s.length=1;return}var x=s.words[9];for(l.words[l.length++]=x&f,g=10;g<s.length;g++){var A=s.words[g]|0;s.words[g-10]=(A&f)<<4|x>>>22,x=A}x>>>=22,s.words[g-10]=x,x===0&&s.length>10?s.length-=10:s.length-=9},F.prototype.imulK=function(s){s.words[s.length]=0,s.words[s.length+1]=0,s.length+=2;for(var l=0,f=0;f<s.length;f++){var h=s.words[f]|0;l+=h*977,s.words[f]=l&67108863,l=h*64+(l/67108864|0)}return s.words[s.length-1]===0&&(s.length--,s.words[s.length-1]===0&&s.length--),s};function O(){j.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}a(O,j);function W(){j.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}a(W,j);function _(){j.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}a(_,j),_.prototype.imulK=function(s){for(var l=0,f=0;f<s.length;f++){var h=(s.words[f]|0)*19+l,g=h&67108863;h>>>=26,s.words[f]=g,l=h}return l!==0&&(s.words[s.length++]=l),s},i._prime=function(s){if(N[s])return N[s];var l;if(s==="k256")l=new F;else if(s==="p224")l=new O;else if(s==="p192")l=new W;else if(s==="p25519")l=new _;else throw new Error("Unknown prime "+s);return N[s]=l,l};function z(w){if(typeof w=="string"){var s=i._prime(w);this.m=s.p,this.prime=s}else n(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}z.prototype._verify1=function(s){n(s.negative===0,"red works only with positives"),n(s.red,"red works only with red numbers")},z.prototype._verify2=function(s,l){n((s.negative|l.negative)===0,"red works only with positives"),n(s.red&&s.red===l.red,"red works only with red numbers")},z.prototype.imod=function(s){return this.prime?this.prime.ireduce(s)._forceRed(this):s.umod(this.m)._forceRed(this)},z.prototype.neg=function(s){return s.isZero()?s.clone():this.m.sub(s)._forceRed(this)},z.prototype.add=function(s,l){this._verify2(s,l);var f=s.add(l);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},z.prototype.iadd=function(s,l){this._verify2(s,l);var f=s.iadd(l);return f.cmp(this.m)>=0&&f.isub(this.m),f},z.prototype.sub=function(s,l){this._verify2(s,l);var f=s.sub(l);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},z.prototype.isub=function(s,l){this._verify2(s,l);var f=s.isub(l);return f.cmpn(0)<0&&f.iadd(this.m),f},z.prototype.shl=function(s,l){return this._verify1(s),this.imod(s.ushln(l))},z.prototype.imul=function(s,l){return this._verify2(s,l),this.imod(s.imul(l))},z.prototype.mul=function(s,l){return this._verify2(s,l),this.imod(s.mul(l))},z.prototype.isqr=function(s){return this.imul(s,s.clone())},z.prototype.sqr=function(s){return this.mul(s,s)},z.prototype.sqrt=function(s){if(s.isZero())return s.clone();var l=this.m.andln(3);if(n(l%2===1),l===3){var f=this.m.add(new i(1)).iushrn(2);return this.pow(s,f)}for(var h=this.m.subn(1),g=0;!h.isZero()&&h.andln(1)===0;)g++,h.iushrn(1);n(!h.isZero());var x=new i(1).toRed(this),A=x.redNeg(),y=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new i(2*c*c).toRed(this);this.pow(c,y).cmp(A)!==0;)c.redIAdd(A);for(var M=this.pow(c,h),B=this.pow(s,h.addn(1).iushrn(1)),R=this.pow(s,h),Q=g;R.cmp(x)!==0;){for(var K=R,q=0;K.cmp(x)!==0;q++)K=K.redSqr();n(q<Q);var P=this.pow(M,new i(1).iushln(Q-q-1));B=B.redMul(P),M=P.redSqr(),R=R.redMul(M),Q=q}return B},z.prototype.invm=function(s){var l=s._invmp(this.m);return l.negative!==0?(l.negative=0,this.imod(l).redNeg()):this.imod(l)},z.prototype.pow=function(s,l){if(l.isZero())return new i(1).toRed(this);if(l.cmpn(1)===0)return s.clone();var f=4,h=new Array(1<<f);h[0]=new i(1).toRed(this),h[1]=s;for(var g=2;g<h.length;g++)h[g]=this.mul(h[g-1],s);var x=h[0],A=0,y=0,c=l.bitLength()%26;for(c===0&&(c=26),g=l.length-1;g>=0;g--){for(var M=l.words[g],B=c-1;B>=0;B--){var R=M>>B&1;if(x!==h[0]&&(x=this.sqr(x)),R===0&&A===0){y=0;continue}A<<=1,A|=R,y++,!(y!==f&&(g!==0||B!==0))&&(x=this.mul(x,h[A]),y=0,A=0)}c=26}return x},z.prototype.convertTo=function(s){var l=s.umod(this.m);return l===s?l.clone():l},z.prototype.convertFrom=function(s){var l=s.clone();return l.red=null,l},i.mont=function(s){return new k(s)};function k(w){z.call(this,w),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(k,z),k.prototype.convertTo=function(s){return this.imod(s.ushln(this.shift))},k.prototype.convertFrom=function(s){var l=this.imod(s.mul(this.rinv));return l.red=null,l},k.prototype.imul=function(s,l){if(s.isZero()||l.isZero())return s.words[0]=0,s.length=1,s;var f=s.imul(l),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=f.isub(h).iushrn(this.shift),x=g;return g.cmp(this.m)>=0?x=g.isub(this.m):g.cmpn(0)<0&&(x=g.iadd(this.m)),x._forceRed(this)},k.prototype.mul=function(s,l){if(s.isZero()||l.isZero())return new i(0)._forceRed(this);var f=s.mul(l),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=f.isub(h).iushrn(this.shift),x=g;return g.cmp(this.m)>=0?x=g.isub(this.m):g.cmpn(0)<0&&(x=g.iadd(this.m)),x._forceRed(this)},k.prototype.invm=function(s){var l=this.imod(s._invmp(this.m).mul(this.r2));return l._forceRed(this)}})(e,Ut)}(e3)),e3.exports}var q2={exports:{}},uD;function Hx(){if(uD)return q2.exports;uD=1;var e;q2.exports=function(a){return e||(e=new t(null)),e.generate(a)};function t(n){this.rand=n}if(q2.exports.Rand=t,t.prototype.generate=function(a){return this._rand(a)},t.prototype._rand=function(a){if(this.rand.getBytes)return this.rand.getBytes(a);for(var i=new Uint8Array(a),o=0;o<i.length;o++)i[o]=this.rand.getByte();return i},typeof self=="object")self.crypto&&self.crypto.getRandomValues?t.prototype._rand=function(a){var i=new Uint8Array(a);return self.crypto.getRandomValues(i),i}:self.msCrypto&&self.msCrypto.getRandomValues?t.prototype._rand=function(a){var i=new Uint8Array(a);return self.msCrypto.getRandomValues(i),i}:typeof window=="object"&&(t.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var r=pO();if(typeof r.randomBytes!="function")throw new Error("Not supported");t.prototype._rand=function(a){return r.randomBytes(a)}}catch{}return q2.exports}var r8,fD;function VF(){if(fD)return r8;fD=1;var e=Bne(),t=Hx();function r(n){this.rand=n||new t.Rand}return r8=r,r.create=function(a){return new r(a)},r.prototype._randbelow=function(a){var i=a.bitLength(),o=Math.ceil(i/8);do var u=new e(this.rand.generate(o));while(u.cmp(a)>=0);return u},r.prototype._randrange=function(a,i){var o=i.sub(a);return a.add(this._randbelow(o))},r.prototype.test=function(a,i,o){var u=a.bitLength(),d=e.mont(a),p=new e(1).toRed(d);i||(i=Math.max(1,u/48|0));for(var m=a.subn(1),b=0;!m.testn(b);b++);for(var v=a.shrn(b),C=m.toRed(d),E=!0;i>0;i--){var T=this._randrange(new e(2),m);o&&o(T);var I=T.toRed(d).redPow(v);if(!(I.cmp(p)===0||I.cmp(C)===0)){for(var D=1;D<b;D++){if(I=I.redSqr(),I.cmp(p)===0)return!1;if(I.cmp(C)===0)break}if(D===b)return!1}}return E},r.prototype.getDivisor=function(a,i){var o=a.bitLength(),u=e.mont(a),d=new e(1).toRed(u);i||(i=Math.max(1,o/48|0));for(var p=a.subn(1),m=0;!p.testn(m);m++);for(var b=a.shrn(m),v=p.toRed(u);i>0;i--){var C=this._randrange(new e(2),p),E=a.gcd(C);if(E.cmpn(1)!==0)return E;var T=C.toRed(u).redPow(b);if(!(T.cmp(d)===0||T.cmp(v)===0)){for(var I=1;I<m;I++){if(T=T.redSqr(),T.cmp(d)===0)return T.fromRed().subn(1).gcd(a);if(T.cmp(v)===0)break}if(I===m)return T=T.redSqr(),T.fromRed().subn(1).gcd(a)}}return!1},r8}var n8,dD;function $F(){if(dD)return n8;dD=1;var e=Xf();n8=I,I.simpleSieve=E,I.fermatTest=T;var t=qF(),r=new t(24),n=VF(),a=new n,i=new t(1),o=new t(2),u=new t(5);new t(16),new t(8);var d=new t(10),p=new t(3);new t(7);var m=new t(11),b=new t(4);new t(12);var v=null;function C(){if(v!==null)return v;var D=1048576,S=[];S[0]=2;for(var N=1,j=3;j<D;j+=2){for(var F=Math.ceil(Math.sqrt(j)),O=0;O<N&&S[O]<=F&&j%S[O]!==0;O++);N!==O&&S[O]<=F||(S[N++]=j)}return v=S,S}function E(D){for(var S=C(),N=0;N<S.length;N++)if(D.modn(S[N])===0)return D.cmpn(S[N])===0;return!0}function T(D){var S=t.mont(D);return o.toRed(S).redPow(D.subn(1)).fromRed().cmpn(1)===0}function I(D,S){if(D<16)return S===2||S===5?new t([140,123]):new t([140,39]);S=new t(S);for(var N,j;;){for(N=new t(e(Math.ceil(D/8)));N.bitLength()>D;)N.ishrn(1);if(N.isEven()&&N.iadd(i),N.testn(1)||N.iadd(o),S.cmp(o)){if(!S.cmp(u))for(;N.mod(d).cmp(p);)N.iadd(b)}else for(;N.mod(r).cmp(m);)N.iadd(b);if(j=N.shrn(1),E(j)&&E(N)&&T(j)&&T(N)&&a.test(j)&&a.test(N))return N}}return n8}const kne={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},zne={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},_ne={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},Fne={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},One={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},Rne={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},Une={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},Pne={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"},Wne={modp1:kne,modp2:zne,modp5:_ne,modp14:Fne,modp15:One,modp16:Rne,modp17:Une,modp18:Pne};var i8,hD;function Hne(){if(hD)return i8;hD=1;var e=qF(),t=VF(),r=new t,n=new e(24),a=new e(11),i=new e(10),o=new e(3),u=new e(7),d=$F(),p=Xf();i8=E;function m(I,D){return D=D||"utf8",Je.Buffer.isBuffer(I)||(I=new Je.Buffer(I,D)),this._pub=new e(I),this}function b(I,D){return D=D||"utf8",Je.Buffer.isBuffer(I)||(I=new Je.Buffer(I,D)),this._priv=new e(I),this}var v={};function C(I,D){var S=D.toString("hex"),N=[S,I.toString(16)].join("_");if(N in v)return v[N];var j=0;if(I.isEven()||!d.simpleSieve||!d.fermatTest(I)||!r.test(I))return j+=1,S==="02"||S==="05"?j+=8:j+=4,v[N]=j,j;r.test(I.shrn(1))||(j+=2);var F;switch(S){case"02":I.mod(n).cmp(a)&&(j+=8);break;case"05":F=I.mod(i),F.cmp(o)&&F.cmp(u)&&(j+=8);break;default:j+=4}return v[N]=j,j}function E(I,D,S){this.setGenerator(D),this.__prime=new e(I),this._prime=e.mont(this.__prime),this._primeLen=I.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,S?(this.setPublicKey=m,this.setPrivateKey=b):this._primeCode=8}Object.defineProperty(E.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=C(this.__prime,this.__gen)),this._primeCode}}),E.prototype.generateKeys=function(){return this._priv||(this._priv=new e(p(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},E.prototype.computeSecret=function(I){I=new e(I),I=I.toRed(this._prime);var D=I.redPow(this._priv).fromRed(),S=new Je.Buffer(D.toArray()),N=this.getPrime();if(S.length<N.length){var j=new Je.Buffer(N.length-S.length);j.fill(0),S=Je.Buffer.concat([j,S])}return S},E.prototype.getPublicKey=function(D){return T(this._pub,D)},E.prototype.getPrivateKey=function(D){return T(this._priv,D)},E.prototype.getPrime=function(I){return T(this.__prime,I)},E.prototype.getGenerator=function(I){return T(this._gen,I)},E.prototype.setGenerator=function(I,D){return D=D||"utf8",Je.Buffer.isBuffer(I)||(I=new Je.Buffer(I,D)),this.__gen=I,this._gen=new e(I),this};function T(I,D){var S=new Je.Buffer(I.toArray());return D?S.toString(D):S}return i8}var pD;function Yne(){if(pD)return Ll;pD=1;var e=$F(),t=Wne,r=Hne();function n(o){var u=new Je.Buffer(t[o].prime,"hex"),d=new Je.Buffer(t[o].gen,"hex");return new r(u,d)}var a={binary:!0,hex:!0,base64:!0};function i(o,u,d,p){return Je.Buffer.isBuffer(u)||a[u]===void 0?i(o,"binary",u,d):(u=u||"binary",p=p||"binary",d=d||new Je.Buffer([2]),Je.Buffer.isBuffer(d)||(d=new Je.Buffer(d,p)),typeof o=="number"?new r(e(o,d),d,!0):(Je.Buffer.isBuffer(o)||(o=new Je.Buffer(o,u)),new r(o,d,!0)))}return Ll.DiffieHellmanGroup=Ll.createDiffieHellmanGroup=Ll.getDiffieHellman=n,Ll.createDiffieHellman=Ll.DiffieHellman=i,Ll}var V2={exports:{}},$2={exports:{}},mD;function s5(){if(mD)return $2.exports;mD=1,typeof Je.process>"u"||!Je.process.version||Je.process.version.indexOf("v0.")===0||Je.process.version.indexOf("v1.")===0&&Je.process.version.indexOf("v1.8.")!==0?$2.exports={nextTick:e}:$2.exports=Je.process;function e(t,r,n,a){if(typeof t!="function")throw new TypeError('"callback" argument must be a function');var i=arguments.length,o,u;switch(i){case 0:case 1:return Je.process.nextTick(t);case 2:return Je.process.nextTick(function(){t.call(null,r)});case 3:return Je.process.nextTick(function(){t.call(null,r,n)});case 4:return Je.process.nextTick(function(){t.call(null,r,n,a)});default:for(o=new Array(i-1),u=0;u<o.length;)o[u++]=arguments[u];return Je.process.nextTick(function(){t.apply(null,o)})}}return $2.exports}var a8,gD;function Zne(){if(gD)return a8;gD=1;var e={}.toString;return a8=Array.isArray||function(t){return e.call(t)=="[object Array]"},a8}var s8,yD;function KF(){return yD||(yD=1,s8=Jf.EventEmitter),s8}var K2={exports:{}},bD;function Yx(){return bD||(bD=1,function(e,t){var r=vt,n=r.Buffer;function a(o,u){for(var d in o)u[d]=o[d]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=i);function i(o,u,d){return n(o,u,d)}a(n,i),i.from=function(o,u,d){if(typeof o=="number")throw new TypeError("Argument must not be a number");return n(o,u,d)},i.alloc=function(o,u,d){if(typeof o!="number")throw new TypeError("Argument must be a number");var p=n(o);return u!==void 0?typeof d=="string"?p.fill(u,d):p.fill(u):p.fill(0),p},i.allocUnsafe=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return n(o)},i.allocUnsafeSlow=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(o)}}(K2,K2.exports)),K2.exports}var vi={},MD;function Vh(){if(MD)return vi;MD=1;function e(T){return Array.isArray?Array.isArray(T):E(T)==="[object Array]"}vi.isArray=e;function t(T){return typeof T=="boolean"}vi.isBoolean=t;function r(T){return T===null}vi.isNull=r;function n(T){return T==null}vi.isNullOrUndefined=n;function a(T){return typeof T=="number"}vi.isNumber=a;function i(T){return typeof T=="string"}vi.isString=i;function o(T){return typeof T=="symbol"}vi.isSymbol=o;function u(T){return T===void 0}vi.isUndefined=u;function d(T){return E(T)==="[object RegExp]"}vi.isRegExp=d;function p(T){return typeof T=="object"&&T!==null}vi.isObject=p;function m(T){return E(T)==="[object Date]"}vi.isDate=m;function b(T){return E(T)==="[object Error]"||T instanceof Error}vi.isError=b;function v(T){return typeof T=="function"}vi.isFunction=v;function C(T){return T===null||typeof T=="boolean"||typeof T=="number"||typeof T=="string"||typeof T=="symbol"||typeof T>"u"}vi.isPrimitive=C,vi.isBuffer=vt.Buffer.isBuffer;function E(T){return Object.prototype.toString.call(T)}return vi}var o8={exports:{}},xD;function Gne(){return xD||(xD=1,function(e){function t(i,o){if(!(i instanceof o))throw new TypeError("Cannot call a class as a function")}var r=Yx().Buffer,n=Gh;function a(i,o,u){i.copy(o,u)}e.exports=function(){function i(){t(this,i),this.head=null,this.tail=null,this.length=0}return i.prototype.push=function(u){var d={data:u,next:null};this.length>0?this.tail.next=d:this.head=d,this.tail=d,++this.length},i.prototype.unshift=function(u){var d={data:u,next:this.head};this.length===0&&(this.tail=d),this.head=d,++this.length},i.prototype.shift=function(){if(this.length!==0){var u=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,u}},i.prototype.clear=function(){this.head=this.tail=null,this.length=0},i.prototype.join=function(u){if(this.length===0)return"";for(var d=this.head,p=""+d.data;d=d.next;)p+=u+d.data;return p},i.prototype.concat=function(u){if(this.length===0)return r.alloc(0);for(var d=r.allocUnsafe(u>>>0),p=this.head,m=0;p;)a(p.data,d,m),m+=p.data.length,p=p.next;return d},i}(),n&&n.inspect&&n.inspect.custom&&(e.exports.prototype[n.inspect.custom]=function(){var i=n.inspect({length:this.length});return this.constructor.name+" "+i})}(o8)),o8.exports}var c8,vD;function XF(){if(vD)return c8;vD=1;var e=s5();function t(a,i){var o=this,u=this._readableState&&this._readableState.destroyed,d=this._writableState&&this._writableState.destroyed;return u||d?(i?i(a):a&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(n,this,a)):e.nextTick(n,this,a)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(p){!i&&p?o._writableState?o._writableState.errorEmitted||(o._writableState.errorEmitted=!0,e.nextTick(n,o,p)):e.nextTick(n,o,p):i&&i(p)}),this)}function r(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function n(a,i){a.emit("error",i)}return c8={destroy:t,undestroy:r},c8}var l8,wD;function JF(){if(wD)return l8;wD=1;var e=s5();l8=T;function t(x){var A=this;this.next=null,this.entry=null,this.finish=function(){g(A,x)}}var r=!Je.process.browser&&["v0.10","v0.9."].indexOf(Je.process.version.slice(0,5))>-1?setImmediate:e.nextTick,n;T.WritableState=C;var a=Object.create(Vh());a.inherits=Kt;var i={deprecate:DF()},o=KF(),u=Yx().Buffer,d=(typeof Ut<"u"?Ut:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function p(x){return u.from(x)}function m(x){return u.isBuffer(x)||x instanceof d}var b=XF();a.inherits(T,o);function v(){}function C(x,A){n=n||xf(),x=x||{};var y=A instanceof n;this.objectMode=!!x.objectMode,y&&(this.objectMode=this.objectMode||!!x.writableObjectMode);var c=x.highWaterMark,M=x.writableHighWaterMark,B=this.objectMode?16:16*1024;c||c===0?this.highWaterMark=c:y&&(M||M===0)?this.highWaterMark=M:this.highWaterMark=B,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var R=x.decodeStrings===!1;this.decodeStrings=!R,this.defaultEncoding=x.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){W(A,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}C.prototype.getBuffer=function(){for(var A=this.bufferedRequest,y=[];A;)y.push(A),A=A.next;return y},function(){try{Object.defineProperty(C.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var E;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(E=Function.prototype[Symbol.hasInstance],Object.defineProperty(T,Symbol.hasInstance,{value:function(x){return E.call(this,x)?!0:this!==T?!1:x&&x._writableState instanceof C}})):E=function(x){return x instanceof this};function T(x){if(n=n||xf(),!E.call(T,this)&&!(this instanceof n))return new T(x);this._writableState=new C(x,this),this.writable=!0,x&&(typeof x.write=="function"&&(this._write=x.write),typeof x.writev=="function"&&(this._writev=x.writev),typeof x.destroy=="function"&&(this._destroy=x.destroy),typeof x.final=="function"&&(this._final=x.final)),o.call(this)}T.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function I(x,A){var y=new Error("write after end");x.emit("error",y),e.nextTick(A,y)}function D(x,A,y,c){var M=!0,B=!1;return y===null?B=new TypeError("May not write null values to stream"):typeof y!="string"&&y!==void 0&&!A.objectMode&&(B=new TypeError("Invalid non-string/buffer chunk")),B&&(x.emit("error",B),e.nextTick(c,B),M=!1),M}T.prototype.write=function(x,A,y){var c=this._writableState,M=!1,B=!c.objectMode&&m(x);return B&&!u.isBuffer(x)&&(x=p(x)),typeof A=="function"&&(y=A,A=null),B?A="buffer":A||(A=c.defaultEncoding),typeof y!="function"&&(y=v),c.ended?I(this,y):(B||D(this,c,x,y))&&(c.pendingcb++,M=N(this,c,B,x,A,y)),M},T.prototype.cork=function(){var x=this._writableState;x.corked++},T.prototype.uncork=function(){var x=this._writableState;x.corked&&(x.corked--,!x.writing&&!x.corked&&!x.bufferProcessing&&x.bufferedRequest&&k(this,x))},T.prototype.setDefaultEncoding=function(A){if(typeof A=="string"&&(A=A.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((A+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+A);return this._writableState.defaultEncoding=A,this};function S(x,A,y){return!x.objectMode&&x.decodeStrings!==!1&&typeof A=="string"&&(A=u.from(A,y)),A}Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function N(x,A,y,c,M,B){if(!y){var R=S(A,c,M);c!==R&&(y=!0,M="buffer",c=R)}var Q=A.objectMode?1:c.length;A.length+=Q;var K=A.length<A.highWaterMark;if(K||(A.needDrain=!0),A.writing||A.corked){var q=A.lastBufferedRequest;A.lastBufferedRequest={chunk:c,encoding:M,isBuf:y,callback:B,next:null},q?q.next=A.lastBufferedRequest:A.bufferedRequest=A.lastBufferedRequest,A.bufferedRequestCount+=1}else j(x,A,!1,Q,c,M,B);return K}function j(x,A,y,c,M,B,R){A.writelen=c,A.writecb=R,A.writing=!0,A.sync=!0,y?x._writev(M,A.onwrite):x._write(M,B,A.onwrite),A.sync=!1}function F(x,A,y,c,M){--A.pendingcb,y?(e.nextTick(M,c),e.nextTick(f,x,A),x._writableState.errorEmitted=!0,x.emit("error",c)):(M(c),x._writableState.errorEmitted=!0,x.emit("error",c),f(x,A))}function O(x){x.writing=!1,x.writecb=null,x.length-=x.writelen,x.writelen=0}function W(x,A){var y=x._writableState,c=y.sync,M=y.writecb;if(O(y),A)F(x,y,c,A,M);else{var B=w(y);!B&&!y.corked&&!y.bufferProcessing&&y.bufferedRequest&&k(x,y),c?r(_,x,y,B,M):_(x,y,B,M)}}function _(x,A,y,c){y||z(x,A),A.pendingcb--,c(),f(x,A)}function z(x,A){A.length===0&&A.needDrain&&(A.needDrain=!1,x.emit("drain"))}function k(x,A){A.bufferProcessing=!0;var y=A.bufferedRequest;if(x._writev&&y&&y.next){var c=A.bufferedRequestCount,M=new Array(c),B=A.corkedRequestsFree;B.entry=y;for(var R=0,Q=!0;y;)M[R]=y,y.isBuf||(Q=!1),y=y.next,R+=1;M.allBuffers=Q,j(x,A,!0,A.length,M,"",B.finish),A.pendingcb++,A.lastBufferedRequest=null,B.next?(A.corkedRequestsFree=B.next,B.next=null):A.corkedRequestsFree=new t(A),A.bufferedRequestCount=0}else{for(;y;){var K=y.chunk,q=y.encoding,P=y.callback,G=A.objectMode?1:K.length;if(j(x,A,!1,G,K,q,P),y=y.next,A.bufferedRequestCount--,A.writing)break}y===null&&(A.lastBufferedRequest=null)}A.bufferedRequest=y,A.bufferProcessing=!1}T.prototype._write=function(x,A,y){y(new Error("_write() is not implemented"))},T.prototype._writev=null,T.prototype.end=function(x,A,y){var c=this._writableState;typeof x=="function"?(y=x,x=null,A=null):typeof A=="function"&&(y=A,A=null),x!=null&&this.write(x,A),c.corked&&(c.corked=1,this.uncork()),c.ending||h(this,c,y)};function w(x){return x.ending&&x.length===0&&x.bufferedRequest===null&&!x.finished&&!x.writing}function s(x,A){x._final(function(y){A.pendingcb--,y&&x.emit("error",y),A.prefinished=!0,x.emit("prefinish"),f(x,A)})}function l(x,A){!A.prefinished&&!A.finalCalled&&(typeof x._final=="function"?(A.pendingcb++,A.finalCalled=!0,e.nextTick(s,x,A)):(A.prefinished=!0,x.emit("prefinish")))}function f(x,A){var y=w(A);return y&&(l(x,A),A.pendingcb===0&&(A.finished=!0,x.emit("finish"))),y}function h(x,A,y){A.ending=!0,f(x,A),y&&(A.finished?e.nextTick(y):x.once("finish",y)),A.ended=!0,x.writable=!1}function g(x,A,y){var c=x.entry;for(x.entry=null;c;){var M=c.callback;A.pendingcb--,M(y),c=c.next}A.corkedRequestsFree.next=x}return Object.defineProperty(T.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(x){this._writableState&&(this._writableState.destroyed=x)}}),T.prototype.destroy=b.destroy,T.prototype._undestroy=b.undestroy,T.prototype._destroy=function(x,A){this.end(),A(x)},l8}var u8,CD;function xf(){if(CD)return u8;CD=1;var e=s5(),t=Object.keys||function(b){var v=[];for(var C in b)v.push(C);return v};u8=d;var r=Object.create(Vh());r.inherits=Kt;var n=eO(),a=JF();r.inherits(d,n);for(var i=t(a.prototype),o=0;o<i.length;o++){var u=i[o];d.prototype[u]||(d.prototype[u]=a.prototype[u])}function d(b){if(!(this instanceof d))return new d(b);n.call(this,b),a.call(this,b),b&&b.readable===!1&&(this.readable=!1),b&&b.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,b&&b.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",p)}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function p(){this.allowHalfOpen||this._writableState.ended||e.nextTick(m,this)}function m(b){b.end()}return Object.defineProperty(d.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(b){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=b,this._writableState.destroyed=b)}}),d.prototype._destroy=function(b,v){this.push(null),this.end(),e.nextTick(v,b)},u8}var f8={},X2={exports:{}},AD;function Qne(){return AD||(AD=1,function(e,t){var r=vt,n=r.Buffer;function a(o,u){for(var d in o)u[d]=o[d]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=i);function i(o,u,d){return n(o,u,d)}a(n,i),i.from=function(o,u,d){if(typeof o=="number")throw new TypeError("Argument must not be a number");return n(o,u,d)},i.alloc=function(o,u,d){if(typeof o!="number")throw new TypeError("Argument must be a number");var p=n(o);return u!==void 0?typeof d=="string"?p.fill(u,d):p.fill(u):p.fill(0),p},i.allocUnsafe=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return n(o)},i.allocUnsafeSlow=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(o)}}(X2,X2.exports)),X2.exports}var ED;function SD(){if(ED)return f8;ED=1;var e=Qne().Buffer,t=e.isEncoding||function(D){switch(D=""+D,D&&D.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(D){if(!D)return"utf8";for(var S;;)switch(D){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return D;default:if(S)return;D=(""+D).toLowerCase(),S=!0}}function n(D){var S=r(D);if(typeof S!="string"&&(e.isEncoding===t||!t(D)))throw new Error("Unknown encoding: "+D);return S||D}f8.StringDecoder=a;function a(D){this.encoding=n(D);var S;switch(this.encoding){case"utf16le":this.text=b,this.end=v,S=4;break;case"utf8":this.fillLast=d,S=4;break;case"base64":this.text=C,this.end=E,S=3;break;default:this.write=T,this.end=I;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(S)}a.prototype.write=function(D){if(D.length===0)return"";var S,N;if(this.lastNeed){if(S=this.fillLast(D),S===void 0)return"";N=this.lastNeed,this.lastNeed=0}else N=0;return N<D.length?S?S+this.text(D,N):this.text(D,N):S||""},a.prototype.end=m,a.prototype.text=p,a.prototype.fillLast=function(D){if(this.lastNeed<=D.length)return D.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);D.copy(this.lastChar,this.lastTotal-this.lastNeed,0,D.length),this.lastNeed-=D.length};function i(D){return D<=127?0:D>>5===6?2:D>>4===14?3:D>>3===30?4:D>>6===2?-1:-2}function o(D,S,N){var j=S.length-1;if(j<N)return 0;var F=i(S[j]);return F>=0?(F>0&&(D.lastNeed=F-1),F):--j<N||F===-2?0:(F=i(S[j]),F>=0?(F>0&&(D.lastNeed=F-2),F):--j<N||F===-2?0:(F=i(S[j]),F>=0?(F>0&&(F===2?F=0:D.lastNeed=F-3),F):0))}function u(D,S,N){if((S[0]&192)!==128)return D.lastNeed=0,"�";if(D.lastNeed>1&&S.length>1){if((S[1]&192)!==128)return D.lastNeed=1,"�";if(D.lastNeed>2&&S.length>2&&(S[2]&192)!==128)return D.lastNeed=2,"�"}}function d(D){var S=this.lastTotal-this.lastNeed,N=u(this,D);if(N!==void 0)return N;if(this.lastNeed<=D.length)return D.copy(this.lastChar,S,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);D.copy(this.lastChar,S,0,D.length),this.lastNeed-=D.length}function p(D,S){var N=o(this,D,S);if(!this.lastNeed)return D.toString("utf8",S);this.lastTotal=N;var j=D.length-(N-this.lastNeed);return D.copy(this.lastChar,0,j),D.toString("utf8",S,j)}function m(D){var S=D&&D.length?this.write(D):"";return this.lastNeed?S+"�":S}function b(D,S){if((D.length-S)%2===0){var N=D.toString("utf16le",S);if(N){var j=N.charCodeAt(N.length-1);if(j>=55296&&j<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=D[D.length-2],this.lastChar[1]=D[D.length-1],N.slice(0,-1)}return N}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=D[D.length-1],D.toString("utf16le",S,D.length-1)}function v(D){var S=D&&D.length?this.write(D):"";if(this.lastNeed){var N=this.lastTotal-this.lastNeed;return S+this.lastChar.toString("utf16le",0,N)}return S}function C(D,S){var N=(D.length-S)%3;return N===0?D.toString("base64",S):(this.lastNeed=3-N,this.lastTotal=3,N===1?this.lastChar[0]=D[D.length-1]:(this.lastChar[0]=D[D.length-2],this.lastChar[1]=D[D.length-1]),D.toString("base64",S,D.length-N))}function E(D){var S=D&&D.length?this.write(D):"";return this.lastNeed?S+this.lastChar.toString("base64",0,3-this.lastNeed):S}function T(D){return D.toString(this.encoding)}function I(D){return D&&D.length?this.write(D):""}return f8}var d8,DD;function eO(){if(DD)return d8;DD=1;var e=s5();d8=S;var t=Zne(),r;S.ReadableState=D,Jf.EventEmitter;var n=function(P,G){return P.listeners(G).length},a=KF(),i=Yx().Buffer,o=(typeof Ut<"u"?Ut:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function u(P){return i.from(P)}function d(P){return i.isBuffer(P)||P instanceof o}var p=Object.create(Vh());p.inherits=Kt;var m=Gh,b=void 0;m&&m.debuglog?b=m.debuglog("stream"):b=function(){};var v=Gne(),C=XF(),E;p.inherits(S,a);var T=["error","close","destroy","pause","resume"];function I(P,G,X){if(typeof P.prependListener=="function")return P.prependListener(G,X);!P._events||!P._events[G]?P.on(G,X):t(P._events[G])?P._events[G].unshift(X):P._events[G]=[X,P._events[G]]}function D(P,G){r=r||xf(),P=P||{};var X=G instanceof r;this.objectMode=!!P.objectMode,X&&(this.objectMode=this.objectMode||!!P.readableObjectMode);var ne=P.highWaterMark,te=P.readableHighWaterMark,V=this.objectMode?16:16*1024;ne||ne===0?this.highWaterMark=ne:X&&(te||te===0)?this.highWaterMark=te:this.highWaterMark=V,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=P.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,P.encoding&&(E||(E=SD().StringDecoder),this.decoder=new E(P.encoding),this.encoding=P.encoding)}function S(P){if(r=r||xf(),!(this instanceof S))return new S(P);this._readableState=new D(P,this),this.readable=!0,P&&(typeof P.read=="function"&&(this._read=P.read),typeof P.destroy=="function"&&(this._destroy=P.destroy)),a.call(this)}Object.defineProperty(S.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(P){this._readableState&&(this._readableState.destroyed=P)}}),S.prototype.destroy=C.destroy,S.prototype._undestroy=C.undestroy,S.prototype._destroy=function(P,G){this.push(null),G(P)},S.prototype.push=function(P,G){var X=this._readableState,ne;return X.objectMode?ne=!0:typeof P=="string"&&(G=G||X.defaultEncoding,G!==X.encoding&&(P=i.from(P,G),G=""),ne=!0),N(this,P,G,!1,ne)},S.prototype.unshift=function(P){return N(this,P,null,!0,!1)};function N(P,G,X,ne,te){var V=P._readableState;if(G===null)V.reading=!1,k(P,V);else{var oe;te||(oe=F(V,G)),oe?P.emit("error",oe):V.objectMode||G&&G.length>0?(typeof G!="string"&&!V.objectMode&&Object.getPrototypeOf(G)!==i.prototype&&(G=u(G)),ne?V.endEmitted?P.emit("error",new Error("stream.unshift() after end event")):j(P,V,G,!0):V.ended?P.emit("error",new Error("stream.push() after EOF")):(V.reading=!1,V.decoder&&!X?(G=V.decoder.write(G),V.objectMode||G.length!==0?j(P,V,G,!1):l(P,V)):j(P,V,G,!1))):ne||(V.reading=!1)}return O(V)}function j(P,G,X,ne){G.flowing&&G.length===0&&!G.sync?(P.emit("data",X),P.read(0)):(G.length+=G.objectMode?1:X.length,ne?G.buffer.unshift(X):G.buffer.push(X),G.needReadable&&w(P)),l(P,G)}function F(P,G){var X;return!d(G)&&typeof G!="string"&&G!==void 0&&!P.objectMode&&(X=new TypeError("Invalid non-string/buffer chunk")),X}function O(P){return!P.ended&&(P.needReadable||P.length<P.highWaterMark||P.length===0)}S.prototype.isPaused=function(){return this._readableState.flowing===!1},S.prototype.setEncoding=function(P){return E||(E=SD().StringDecoder),this._readableState.decoder=new E(P),this._readableState.encoding=P,this};var W=8388608;function _(P){return P>=W?P=W:(P--,P|=P>>>1,P|=P>>>2,P|=P>>>4,P|=P>>>8,P|=P>>>16,P++),P}function z(P,G){return P<=0||G.length===0&&G.ended?0:G.objectMode?1:P!==P?G.flowing&&G.length?G.buffer.head.data.length:G.length:(P>G.highWaterMark&&(G.highWaterMark=_(P)),P<=G.length?P:G.ended?G.length:(G.needReadable=!0,0))}S.prototype.read=function(P){b("read",P),P=parseInt(P,10);var G=this._readableState,X=P;if(P!==0&&(G.emittedReadable=!1),P===0&&G.needReadable&&(G.length>=G.highWaterMark||G.ended))return b("read: emitReadable",G.length,G.ended),G.length===0&&G.ended?Q(this):w(this),null;if(P=z(P,G),P===0&&G.ended)return G.length===0&&Q(this),null;var ne=G.needReadable;b("need readable",ne),(G.length===0||G.length-P<G.highWaterMark)&&(ne=!0,b("length less than watermark",ne)),G.ended||G.reading?(ne=!1,b("reading or ended",ne)):ne&&(b("do read"),G.reading=!0,G.sync=!0,G.length===0&&(G.needReadable=!0),this._read(G.highWaterMark),G.sync=!1,G.reading||(P=z(X,G)));var te;return P>0?te=c(P,G):te=null,te===null?(G.needReadable=!0,P=0):G.length-=P,G.length===0&&(G.ended||(G.needReadable=!0),X!==P&&G.ended&&Q(this)),te!==null&&this.emit("data",te),te};function k(P,G){if(!G.ended){if(G.decoder){var X=G.decoder.end();X&&X.length&&(G.buffer.push(X),G.length+=G.objectMode?1:X.length)}G.ended=!0,w(P)}}function w(P){var G=P._readableState;G.needReadable=!1,G.emittedReadable||(b("emitReadable",G.flowing),G.emittedReadable=!0,G.sync?e.nextTick(s,P):s(P))}function s(P){b("emit readable"),P.emit("readable"),y(P)}function l(P,G){G.readingMore||(G.readingMore=!0,e.nextTick(f,P,G))}function f(P,G){for(var X=G.length;!G.reading&&!G.flowing&&!G.ended&&G.length<G.highWaterMark&&(b("maybeReadMore read 0"),P.read(0),X!==G.length);)X=G.length;G.readingMore=!1}S.prototype._read=function(P){this.emit("error",new Error("_read() is not implemented"))},S.prototype.pipe=function(P,G){var X=this,ne=this._readableState;switch(ne.pipesCount){case 0:ne.pipes=P;break;case 1:ne.pipes=[ne.pipes,P];break;default:ne.pipes.push(P);break}ne.pipesCount+=1,b("pipe count=%d opts=%j",ne.pipesCount,G);var te=(!G||G.end!==!1)&&P!==Je.process.stdout&&P!==Je.process.stderr,V=te?xe:Fe;ne.endEmitted?e.nextTick(V):X.once("end",V),P.on("unpipe",oe);function oe(pe,we){b("onunpipe"),pe===X&&we&&we.hasUnpiped===!1&&(we.hasUnpiped=!0,Ze())}function xe(){b("onend"),P.end()}var fe=h(X);P.on("drain",fe);var me=!1;function Ze(){b("cleanup"),P.removeListener("close",ye),P.removeListener("finish",ce),P.removeListener("drain",fe),P.removeListener("error",Ke),P.removeListener("unpipe",oe),X.removeListener("end",xe),X.removeListener("end",Fe),X.removeListener("data",Se),me=!0,ne.awaitDrain&&(!P._writableState||P._writableState.needDrain)&&fe()}var he=!1;X.on("data",Se);function Se(pe){b("ondata"),he=!1;var we=P.write(pe);we===!1&&!he&&((ne.pipesCount===1&&ne.pipes===P||ne.pipesCount>1&&q(ne.pipes,P)!==-1)&&!me&&(b("false write response, pause",ne.awaitDrain),ne.awaitDrain++,he=!0),X.pause())}function Ke(pe){b("onerror",pe),Fe(),P.removeListener("error",Ke),n(P,"error")===0&&P.emit("error",pe)}I(P,"error",Ke);function ye(){P.removeListener("finish",ce),Fe()}P.once("close",ye);function ce(){b("onfinish"),P.removeListener("close",ye),Fe()}P.once("finish",ce);function Fe(){b("unpipe"),X.unpipe(P)}return P.emit("pipe",X),ne.flowing||(b("pipe resume"),X.resume()),P};function h(P){return function(){var G=P._readableState;b("pipeOnDrain",G.awaitDrain),G.awaitDrain&&G.awaitDrain--,G.awaitDrain===0&&n(P,"data")&&(G.flowing=!0,y(P))}}S.prototype.unpipe=function(P){var G=this._readableState,X={hasUnpiped:!1};if(G.pipesCount===0)return this;if(G.pipesCount===1)return P&&P!==G.pipes?this:(P||(P=G.pipes),G.pipes=null,G.pipesCount=0,G.flowing=!1,P&&P.emit("unpipe",this,X),this);if(!P){var ne=G.pipes,te=G.pipesCount;G.pipes=null,G.pipesCount=0,G.flowing=!1;for(var V=0;V<te;V++)ne[V].emit("unpipe",this,{hasUnpiped:!1});return this}var oe=q(G.pipes,P);return oe===-1?this:(G.pipes.splice(oe,1),G.pipesCount-=1,G.pipesCount===1&&(G.pipes=G.pipes[0]),P.emit("unpipe",this,X),this)},S.prototype.on=function(P,G){var X=a.prototype.on.call(this,P,G);if(P==="data")this._readableState.flowing!==!1&&this.resume();else if(P==="readable"){var ne=this._readableState;!ne.endEmitted&&!ne.readableListening&&(ne.readableListening=ne.needReadable=!0,ne.emittedReadable=!1,ne.reading?ne.length&&w(this):e.nextTick(g,this))}return X},S.prototype.addListener=S.prototype.on;function g(P){b("readable nexttick read 0"),P.read(0)}S.prototype.resume=function(){var P=this._readableState;return P.flowing||(b("resume"),P.flowing=!0,x(this,P)),this};function x(P,G){G.resumeScheduled||(G.resumeScheduled=!0,e.nextTick(A,P,G))}function A(P,G){G.reading||(b("resume read 0"),P.read(0)),G.resumeScheduled=!1,G.awaitDrain=0,P.emit("resume"),y(P),G.flowing&&!G.reading&&P.read(0)}S.prototype.pause=function(){return b("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(b("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function y(P){var G=P._readableState;for(b("flow",G.flowing);G.flowing&&P.read()!==null;);}S.prototype.wrap=function(P){var G=this,X=this._readableState,ne=!1;P.on("end",function(){if(b("wrapped end"),X.decoder&&!X.ended){var oe=X.decoder.end();oe&&oe.length&&G.push(oe)}G.push(null)}),P.on("data",function(oe){if(b("wrapped data"),X.decoder&&(oe=X.decoder.write(oe)),!(X.objectMode&&oe==null)&&!(!X.objectMode&&(!oe||!oe.length))){var xe=G.push(oe);xe||(ne=!0,P.pause())}});for(var te in P)this[te]===void 0&&typeof P[te]=="function"&&(this[te]=function(oe){return function(){return P[oe].apply(P,arguments)}}(te));for(var V=0;V<T.length;V++)P.on(T[V],this.emit.bind(this,T[V]));return this._read=function(oe){b("wrapped _read",oe),ne&&(ne=!1,P.resume())},this},Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),S._fromList=c;function c(P,G){if(G.length===0)return null;var X;return G.objectMode?X=G.buffer.shift():!P||P>=G.length?(G.decoder?X=G.buffer.join(""):G.buffer.length===1?X=G.buffer.head.data:X=G.buffer.concat(G.length),G.buffer.clear()):X=M(P,G.buffer,G.decoder),X}function M(P,G,X){var ne;return P<G.head.data.length?(ne=G.head.data.slice(0,P),G.head.data=G.head.data.slice(P)):P===G.head.data.length?ne=G.shift():ne=X?B(P,G):R(P,G),ne}function B(P,G){var X=G.head,ne=1,te=X.data;for(P-=te.length;X=X.next;){var V=X.data,oe=P>V.length?V.length:P;if(oe===V.length?te+=V:te+=V.slice(0,P),P-=oe,P===0){oe===V.length?(++ne,X.next?G.head=X.next:G.head=G.tail=null):(G.head=X,X.data=V.slice(oe));break}++ne}return G.length-=ne,te}function R(P,G){var X=i.allocUnsafe(P),ne=G.head,te=1;for(ne.data.copy(X),P-=ne.data.length;ne=ne.next;){var V=ne.data,oe=P>V.length?V.length:P;if(V.copy(X,X.length-P,0,oe),P-=oe,P===0){oe===V.length?(++te,ne.next?G.head=ne.next:G.head=G.tail=null):(G.head=ne,ne.data=V.slice(oe));break}++te}return G.length-=te,X}function Q(P){var G=P._readableState;if(G.length>0)throw new Error('"endReadable()" called on non-empty stream');G.endEmitted||(G.ended=!0,e.nextTick(K,G,P))}function K(P,G){!P.endEmitted&&P.length===0&&(P.endEmitted=!0,G.readable=!1,G.emit("end"))}function q(P,G){for(var X=0,ne=P.length;X<ne;X++)if(P[X]===G)return X;return-1}return d8}var h8,TD;function tO(){if(TD)return h8;TD=1,h8=n;var e=xf(),t=Object.create(Vh());t.inherits=Kt,t.inherits(n,e);function r(o,u){var d=this._transformState;d.transforming=!1;var p=d.writecb;if(!p)return this.emit("error",new Error("write callback called multiple times"));d.writechunk=null,d.writecb=null,u!=null&&this.push(u),p(o);var m=this._readableState;m.reading=!1,(m.needReadable||m.length<m.highWaterMark)&&this._read(m.highWaterMark)}function n(o){if(!(this instanceof n))return new n(o);e.call(this,o),this._transformState={afterTransform:r.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,o&&(typeof o.transform=="function"&&(this._transform=o.transform),typeof o.flush=="function"&&(this._flush=o.flush)),this.on("prefinish",a)}function a(){var o=this;typeof this._flush=="function"?this._flush(function(u,d){i(o,u,d)}):i(this,null,null)}n.prototype.push=function(o,u){return this._transformState.needTransform=!1,e.prototype.push.call(this,o,u)},n.prototype._transform=function(o,u,d){throw new Error("_transform() is not implemented")},n.prototype._write=function(o,u,d){var p=this._transformState;if(p.writecb=d,p.writechunk=o,p.writeencoding=u,!p.transforming){var m=this._readableState;(p.needTransform||m.needReadable||m.length<m.highWaterMark)&&this._read(m.highWaterMark)}},n.prototype._read=function(o){var u=this._transformState;u.writechunk!==null&&u.writecb&&!u.transforming?(u.transforming=!0,this._transform(u.writechunk,u.writeencoding,u.afterTransform)):u.needTransform=!0},n.prototype._destroy=function(o,u){var d=this;e.prototype._destroy.call(this,o,function(p){u(p),d.emit("close")})};function i(o,u,d){if(u)return o.emit("error",u);if(d!=null&&o.push(d),o._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(o._transformState.transforming)throw new Error("Calling transform done when still transforming");return o.push(null)}return h8}var p8,ID;function qne(){if(ID)return p8;ID=1,p8=r;var e=tO(),t=Object.create(Vh());t.inherits=Kt,t.inherits(r,e);function r(n){if(!(this instanceof r))return new r(n);e.call(this,n)}return r.prototype._transform=function(n,a,i){i(null,n)},p8}var ND;function Vne(){return ND||(ND=1,function(e,t){t=e.exports=eO(),t.Stream=t,t.Readable=t,t.Writable=JF(),t.Duplex=xf(),t.Transform=tO(),t.PassThrough=qne()}(V2,V2.exports)),V2.exports}var wd={exports:{}},Zx={exports:{}};Zx.exports;(function(e){(function(t,r){function n(l,f){if(!l)throw new Error(f||"Assertion failed")}function a(l,f){l.super_=f;var h=function(){};h.prototype=f.prototype,l.prototype=new h,l.prototype.constructor=l}function i(l,f,h){if(i.isBN(l))return l;this.negative=0,this.words=null,this.length=0,this.red=null,l!==null&&((f==="le"||f==="be")&&(h=f,f=10),this._init(l||0,f||10,h||"be"))}typeof t=="object"?t.exports=i:r.BN=i,i.BN=i,i.wordSize=26;var o;try{typeof window<"u"&&typeof window.Buffer<"u"?o=window.Buffer:o=vt.Buffer}catch{}i.isBN=function(f){return f instanceof i?!0:f!==null&&typeof f=="object"&&f.constructor.wordSize===i.wordSize&&Array.isArray(f.words)},i.max=function(f,h){return f.cmp(h)>0?f:h},i.min=function(f,h){return f.cmp(h)<0?f:h},i.prototype._init=function(f,h,g){if(typeof f=="number")return this._initNumber(f,h,g);if(typeof f=="object")return this._initArray(f,h,g);h==="hex"&&(h=16),n(h===(h|0)&&h>=2&&h<=36),f=f.toString().replace(/\s+/g,"");var x=0;f[0]==="-"&&(x++,this.negative=1),x<f.length&&(h===16?this._parseHex(f,x,g):(this._parseBase(f,h,x),g==="le"&&this._initArray(this.toArray(),h,g)))},i.prototype._initNumber=function(f,h,g){f<0&&(this.negative=1,f=-f),f<67108864?(this.words=[f&67108863],this.length=1):f<4503599627370496?(this.words=[f&67108863,f/67108864&67108863],this.length=2):(n(f<9007199254740992),this.words=[f&67108863,f/67108864&67108863,1],this.length=3),g==="le"&&this._initArray(this.toArray(),h,g)},i.prototype._initArray=function(f,h,g){if(n(typeof f.length=="number"),f.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(f.length/3),this.words=new Array(this.length);for(var x=0;x<this.length;x++)this.words[x]=0;var A,y,c=0;if(g==="be")for(x=f.length-1,A=0;x>=0;x-=3)y=f[x]|f[x-1]<<8|f[x-2]<<16,this.words[A]|=y<<c&67108863,this.words[A+1]=y>>>26-c&67108863,c+=24,c>=26&&(c-=26,A++);else if(g==="le")for(x=0,A=0;x<f.length;x+=3)y=f[x]|f[x+1]<<8|f[x+2]<<16,this.words[A]|=y<<c&67108863,this.words[A+1]=y>>>26-c&67108863,c+=24,c>=26&&(c-=26,A++);return this._strip()};function u(l,f){var h=l.charCodeAt(f);if(h>=48&&h<=57)return h-48;if(h>=65&&h<=70)return h-55;if(h>=97&&h<=102)return h-87;n(!1,"Invalid character in "+l)}function d(l,f,h){var g=u(l,h);return h-1>=f&&(g|=u(l,h-1)<<4),g}i.prototype._parseHex=function(f,h,g){this.length=Math.ceil((f.length-h)/6),this.words=new Array(this.length);for(var x=0;x<this.length;x++)this.words[x]=0;var A=0,y=0,c;if(g==="be")for(x=f.length-1;x>=h;x-=2)c=d(f,h,x)<<A,this.words[y]|=c&67108863,A>=18?(A-=18,y+=1,this.words[y]|=c>>>26):A+=8;else{var M=f.length-h;for(x=M%2===0?h+1:h;x<f.length;x+=2)c=d(f,h,x)<<A,this.words[y]|=c&67108863,A>=18?(A-=18,y+=1,this.words[y]|=c>>>26):A+=8}this._strip()};function p(l,f,h,g){for(var x=0,A=0,y=Math.min(l.length,h),c=f;c<y;c++){var M=l.charCodeAt(c)-48;x*=g,M>=49?A=M-49+10:M>=17?A=M-17+10:A=M,n(M>=0&&A<g,"Invalid character"),x+=A}return x}i.prototype._parseBase=function(f,h,g){this.words=[0],this.length=1;for(var x=0,A=1;A<=67108863;A*=h)x++;x--,A=A/h|0;for(var y=f.length-g,c=y%x,M=Math.min(y,y-c)+g,B=0,R=g;R<M;R+=x)B=p(f,R,R+x,h),this.imuln(A),this.words[0]+B<67108864?this.words[0]+=B:this._iaddn(B);if(c!==0){var Q=1;for(B=p(f,R,f.length,h),R=0;R<c;R++)Q*=h;this.imuln(Q),this.words[0]+B<67108864?this.words[0]+=B:this._iaddn(B)}this._strip()},i.prototype.copy=function(f){f.words=new Array(this.length);for(var h=0;h<this.length;h++)f.words[h]=this.words[h];f.length=this.length,f.negative=this.negative,f.red=this.red};function m(l,f){l.words=f.words,l.length=f.length,l.negative=f.negative,l.red=f.red}if(i.prototype._move=function(f){m(f,this)},i.prototype.clone=function(){var f=new i(null);return this.copy(f),f},i.prototype._expand=function(f){for(;this.length<f;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=b}catch{i.prototype.inspect=b}else i.prototype.inspect=b;function b(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var v=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],C=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],E=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(f,h){f=f||10,h=h|0||1;var g;if(f===16||f==="hex"){g="";for(var x=0,A=0,y=0;y<this.length;y++){var c=this.words[y],M=((c<<x|A)&16777215).toString(16);A=c>>>24-x&16777215,x+=2,x>=26&&(x-=26,y--),A!==0||y!==this.length-1?g=v[6-M.length]+M+g:g=M+g}for(A!==0&&(g=A.toString(16)+g);g.length%h!==0;)g="0"+g;return this.negative!==0&&(g="-"+g),g}if(f===(f|0)&&f>=2&&f<=36){var B=C[f],R=E[f];g="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var K=Q.modrn(R).toString(f);Q=Q.idivn(R),Q.isZero()?g=K+g:g=v[B-K.length]+K+g}for(this.isZero()&&(g="0"+g);g.length%h!==0;)g="0"+g;return this.negative!==0&&(g="-"+g),g}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var f=this.words[0];return this.length===2?f+=this.words[1]*67108864:this.length===3&&this.words[2]===1?f+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-f:f},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(f,h){return this.toArrayLike(o,f,h)}),i.prototype.toArray=function(f,h){return this.toArrayLike(Array,f,h)};var T=function(f,h){return f.allocUnsafe?f.allocUnsafe(h):new f(h)};i.prototype.toArrayLike=function(f,h,g){this._strip();var x=this.byteLength(),A=g||Math.max(1,x);n(x<=A,"byte array longer than desired length"),n(A>0,"Requested array length <= 0");var y=T(f,A),c=h==="le"?"LE":"BE";return this["_toArrayLike"+c](y,x),y},i.prototype._toArrayLikeLE=function(f,h){for(var g=0,x=0,A=0,y=0;A<this.length;A++){var c=this.words[A]<<y|x;f[g++]=c&255,g<f.length&&(f[g++]=c>>8&255),g<f.length&&(f[g++]=c>>16&255),y===6?(g<f.length&&(f[g++]=c>>24&255),x=0,y=0):(x=c>>>24,y+=2)}if(g<f.length)for(f[g++]=x;g<f.length;)f[g++]=0},i.prototype._toArrayLikeBE=function(f,h){for(var g=f.length-1,x=0,A=0,y=0;A<this.length;A++){var c=this.words[A]<<y|x;f[g--]=c&255,g>=0&&(f[g--]=c>>8&255),g>=0&&(f[g--]=c>>16&255),y===6?(g>=0&&(f[g--]=c>>24&255),x=0,y=0):(x=c>>>24,y+=2)}if(g>=0)for(f[g--]=x;g>=0;)f[g--]=0},Math.clz32?i.prototype._countBits=function(f){return 32-Math.clz32(f)}:i.prototype._countBits=function(f){var h=f,g=0;return h>=4096&&(g+=13,h>>>=13),h>=64&&(g+=7,h>>>=7),h>=8&&(g+=4,h>>>=4),h>=2&&(g+=2,h>>>=2),g+h},i.prototype._zeroBits=function(f){if(f===0)return 26;var h=f,g=0;return h&8191||(g+=13,h>>>=13),h&127||(g+=7,h>>>=7),h&15||(g+=4,h>>>=4),h&3||(g+=2,h>>>=2),h&1||g++,g},i.prototype.bitLength=function(){var f=this.words[this.length-1],h=this._countBits(f);return(this.length-1)*26+h};function I(l){for(var f=new Array(l.bitLength()),h=0;h<f.length;h++){var g=h/26|0,x=h%26;f[h]=l.words[g]>>>x&1}return f}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var f=0,h=0;h<this.length;h++){var g=this._zeroBits(this.words[h]);if(f+=g,g!==26)break}return f},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(f){return this.negative!==0?this.abs().inotn(f).iaddn(1):this.clone()},i.prototype.fromTwos=function(f){return this.testn(f-1)?this.notn(f).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(f){for(;this.length<f.length;)this.words[this.length++]=0;for(var h=0;h<f.length;h++)this.words[h]=this.words[h]|f.words[h];return this._strip()},i.prototype.ior=function(f){return n((this.negative|f.negative)===0),this.iuor(f)},i.prototype.or=function(f){return this.length>f.length?this.clone().ior(f):f.clone().ior(this)},i.prototype.uor=function(f){return this.length>f.length?this.clone().iuor(f):f.clone().iuor(this)},i.prototype.iuand=function(f){var h;this.length>f.length?h=f:h=this;for(var g=0;g<h.length;g++)this.words[g]=this.words[g]&f.words[g];return this.length=h.length,this._strip()},i.prototype.iand=function(f){return n((this.negative|f.negative)===0),this.iuand(f)},i.prototype.and=function(f){return this.length>f.length?this.clone().iand(f):f.clone().iand(this)},i.prototype.uand=function(f){return this.length>f.length?this.clone().iuand(f):f.clone().iuand(this)},i.prototype.iuxor=function(f){var h,g;this.length>f.length?(h=this,g=f):(h=f,g=this);for(var x=0;x<g.length;x++)this.words[x]=h.words[x]^g.words[x];if(this!==h)for(;x<h.length;x++)this.words[x]=h.words[x];return this.length=h.length,this._strip()},i.prototype.ixor=function(f){return n((this.negative|f.negative)===0),this.iuxor(f)},i.prototype.xor=function(f){return this.length>f.length?this.clone().ixor(f):f.clone().ixor(this)},i.prototype.uxor=function(f){return this.length>f.length?this.clone().iuxor(f):f.clone().iuxor(this)},i.prototype.inotn=function(f){n(typeof f=="number"&&f>=0);var h=Math.ceil(f/26)|0,g=f%26;this._expand(h),g>0&&h--;for(var x=0;x<h;x++)this.words[x]=~this.words[x]&67108863;return g>0&&(this.words[x]=~this.words[x]&67108863>>26-g),this._strip()},i.prototype.notn=function(f){return this.clone().inotn(f)},i.prototype.setn=function(f,h){n(typeof f=="number"&&f>=0);var g=f/26|0,x=f%26;return this._expand(g+1),h?this.words[g]=this.words[g]|1<<x:this.words[g]=this.words[g]&~(1<<x),this._strip()},i.prototype.iadd=function(f){var h;if(this.negative!==0&&f.negative===0)return this.negative=0,h=this.isub(f),this.negative^=1,this._normSign();if(this.negative===0&&f.negative!==0)return f.negative=0,h=this.isub(f),f.negative=1,h._normSign();var g,x;this.length>f.length?(g=this,x=f):(g=f,x=this);for(var A=0,y=0;y<x.length;y++)h=(g.words[y]|0)+(x.words[y]|0)+A,this.words[y]=h&67108863,A=h>>>26;for(;A!==0&&y<g.length;y++)h=(g.words[y]|0)+A,this.words[y]=h&67108863,A=h>>>26;if(this.length=g.length,A!==0)this.words[this.length]=A,this.length++;else if(g!==this)for(;y<g.length;y++)this.words[y]=g.words[y];return this},i.prototype.add=function(f){var h;return f.negative!==0&&this.negative===0?(f.negative=0,h=this.sub(f),f.negative^=1,h):f.negative===0&&this.negative!==0?(this.negative=0,h=f.sub(this),this.negative=1,h):this.length>f.length?this.clone().iadd(f):f.clone().iadd(this)},i.prototype.isub=function(f){if(f.negative!==0){f.negative=0;var h=this.iadd(f);return f.negative=1,h._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(f),this.negative=1,this._normSign();var g=this.cmp(f);if(g===0)return this.negative=0,this.length=1,this.words[0]=0,this;var x,A;g>0?(x=this,A=f):(x=f,A=this);for(var y=0,c=0;c<A.length;c++)h=(x.words[c]|0)-(A.words[c]|0)+y,y=h>>26,this.words[c]=h&67108863;for(;y!==0&&c<x.length;c++)h=(x.words[c]|0)+y,y=h>>26,this.words[c]=h&67108863;if(y===0&&c<x.length&&x!==this)for(;c<x.length;c++)this.words[c]=x.words[c];return this.length=Math.max(this.length,c),x!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(f){return this.clone().isub(f)};function D(l,f,h){h.negative=f.negative^l.negative;var g=l.length+f.length|0;h.length=g,g=g-1|0;var x=l.words[0]|0,A=f.words[0]|0,y=x*A,c=y&67108863,M=y/67108864|0;h.words[0]=c;for(var B=1;B<g;B++){for(var R=M>>>26,Q=M&67108863,K=Math.min(B,f.length-1),q=Math.max(0,B-l.length+1);q<=K;q++){var P=B-q|0;x=l.words[P]|0,A=f.words[q]|0,y=x*A+Q,R+=y/67108864|0,Q=y&67108863}h.words[B]=Q|0,M=R|0}return M!==0?h.words[B]=M|0:h.length--,h._strip()}var S=function(f,h,g){var x=f.words,A=h.words,y=g.words,c=0,M,B,R,Q=x[0]|0,K=Q&8191,q=Q>>>13,P=x[1]|0,G=P&8191,X=P>>>13,ne=x[2]|0,te=ne&8191,V=ne>>>13,oe=x[3]|0,xe=oe&8191,fe=oe>>>13,me=x[4]|0,Ze=me&8191,he=me>>>13,Se=x[5]|0,Ke=Se&8191,ye=Se>>>13,ce=x[6]|0,Fe=ce&8191,pe=ce>>>13,we=x[7]|0,gt=we&8191,$=we>>>13,U=x[8]|0,Z=U&8191,ie=U>>>13,se=x[9]|0,be=se&8191,le=se>>>13,Ce=A[0]|0,We=Ce&8191,Me=Ce>>>13,De=A[1]|0,st=De&8191,Te=De>>>13,Oe=A[2]|0,Ft=Oe&8191,Le=Oe>>>13,Ue=A[3]|0,Yt=Ue&8191,_e=Ue>>>13,Pe=A[4]|0,Mt=Pe&8191,Be=Pe>>>13,He=A[5]|0,sr=He&8191,ke=He>>>13,Ge=A[6]|0,J=Ge&8191,ee=Ge>>>13,re=A[7]|0,H=re&8191,ae=re>>>13,ue=A[8]|0,Ee=ue&8191,de=ue>>>13,ve=A[9]|0,tt=ve&8191,qe=ve>>>13;g.negative=f.negative^h.negative,g.length=19,M=Math.imul(K,We),B=Math.imul(K,Me),B=B+Math.imul(q,We)|0,R=Math.imul(q,Me);var _t=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(_t>>>26)|0,_t&=67108863,M=Math.imul(G,We),B=Math.imul(G,Me),B=B+Math.imul(X,We)|0,R=Math.imul(X,Me),M=M+Math.imul(K,st)|0,B=B+Math.imul(K,Te)|0,B=B+Math.imul(q,st)|0,R=R+Math.imul(q,Te)|0;var lt=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(lt>>>26)|0,lt&=67108863,M=Math.imul(te,We),B=Math.imul(te,Me),B=B+Math.imul(V,We)|0,R=Math.imul(V,Me),M=M+Math.imul(G,st)|0,B=B+Math.imul(G,Te)|0,B=B+Math.imul(X,st)|0,R=R+Math.imul(X,Te)|0,M=M+Math.imul(K,Ft)|0,B=B+Math.imul(K,Le)|0,B=B+Math.imul(q,Ft)|0,R=R+Math.imul(q,Le)|0;var wt=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(wt>>>26)|0,wt&=67108863,M=Math.imul(xe,We),B=Math.imul(xe,Me),B=B+Math.imul(fe,We)|0,R=Math.imul(fe,Me),M=M+Math.imul(te,st)|0,B=B+Math.imul(te,Te)|0,B=B+Math.imul(V,st)|0,R=R+Math.imul(V,Te)|0,M=M+Math.imul(G,Ft)|0,B=B+Math.imul(G,Le)|0,B=B+Math.imul(X,Ft)|0,R=R+Math.imul(X,Le)|0,M=M+Math.imul(K,Yt)|0,B=B+Math.imul(K,_e)|0,B=B+Math.imul(q,Yt)|0,R=R+Math.imul(q,_e)|0;var Et=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(Et>>>26)|0,Et&=67108863,M=Math.imul(Ze,We),B=Math.imul(Ze,Me),B=B+Math.imul(he,We)|0,R=Math.imul(he,Me),M=M+Math.imul(xe,st)|0,B=B+Math.imul(xe,Te)|0,B=B+Math.imul(fe,st)|0,R=R+Math.imul(fe,Te)|0,M=M+Math.imul(te,Ft)|0,B=B+Math.imul(te,Le)|0,B=B+Math.imul(V,Ft)|0,R=R+Math.imul(V,Le)|0,M=M+Math.imul(G,Yt)|0,B=B+Math.imul(G,_e)|0,B=B+Math.imul(X,Yt)|0,R=R+Math.imul(X,_e)|0,M=M+Math.imul(K,Mt)|0,B=B+Math.imul(K,Be)|0,B=B+Math.imul(q,Mt)|0,R=R+Math.imul(q,Be)|0;var jt=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(jt>>>26)|0,jt&=67108863,M=Math.imul(Ke,We),B=Math.imul(Ke,Me),B=B+Math.imul(ye,We)|0,R=Math.imul(ye,Me),M=M+Math.imul(Ze,st)|0,B=B+Math.imul(Ze,Te)|0,B=B+Math.imul(he,st)|0,R=R+Math.imul(he,Te)|0,M=M+Math.imul(xe,Ft)|0,B=B+Math.imul(xe,Le)|0,B=B+Math.imul(fe,Ft)|0,R=R+Math.imul(fe,Le)|0,M=M+Math.imul(te,Yt)|0,B=B+Math.imul(te,_e)|0,B=B+Math.imul(V,Yt)|0,R=R+Math.imul(V,_e)|0,M=M+Math.imul(G,Mt)|0,B=B+Math.imul(G,Be)|0,B=B+Math.imul(X,Mt)|0,R=R+Math.imul(X,Be)|0,M=M+Math.imul(K,sr)|0,B=B+Math.imul(K,ke)|0,B=B+Math.imul(q,sr)|0,R=R+Math.imul(q,ke)|0;var Nt=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,M=Math.imul(Fe,We),B=Math.imul(Fe,Me),B=B+Math.imul(pe,We)|0,R=Math.imul(pe,Me),M=M+Math.imul(Ke,st)|0,B=B+Math.imul(Ke,Te)|0,B=B+Math.imul(ye,st)|0,R=R+Math.imul(ye,Te)|0,M=M+Math.imul(Ze,Ft)|0,B=B+Math.imul(Ze,Le)|0,B=B+Math.imul(he,Ft)|0,R=R+Math.imul(he,Le)|0,M=M+Math.imul(xe,Yt)|0,B=B+Math.imul(xe,_e)|0,B=B+Math.imul(fe,Yt)|0,R=R+Math.imul(fe,_e)|0,M=M+Math.imul(te,Mt)|0,B=B+Math.imul(te,Be)|0,B=B+Math.imul(V,Mt)|0,R=R+Math.imul(V,Be)|0,M=M+Math.imul(G,sr)|0,B=B+Math.imul(G,ke)|0,B=B+Math.imul(X,sr)|0,R=R+Math.imul(X,ke)|0,M=M+Math.imul(K,J)|0,B=B+Math.imul(K,ee)|0,B=B+Math.imul(q,J)|0,R=R+Math.imul(q,ee)|0;var St=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(St>>>26)|0,St&=67108863,M=Math.imul(gt,We),B=Math.imul(gt,Me),B=B+Math.imul($,We)|0,R=Math.imul($,Me),M=M+Math.imul(Fe,st)|0,B=B+Math.imul(Fe,Te)|0,B=B+Math.imul(pe,st)|0,R=R+Math.imul(pe,Te)|0,M=M+Math.imul(Ke,Ft)|0,B=B+Math.imul(Ke,Le)|0,B=B+Math.imul(ye,Ft)|0,R=R+Math.imul(ye,Le)|0,M=M+Math.imul(Ze,Yt)|0,B=B+Math.imul(Ze,_e)|0,B=B+Math.imul(he,Yt)|0,R=R+Math.imul(he,_e)|0,M=M+Math.imul(xe,Mt)|0,B=B+Math.imul(xe,Be)|0,B=B+Math.imul(fe,Mt)|0,R=R+Math.imul(fe,Be)|0,M=M+Math.imul(te,sr)|0,B=B+Math.imul(te,ke)|0,B=B+Math.imul(V,sr)|0,R=R+Math.imul(V,ke)|0,M=M+Math.imul(G,J)|0,B=B+Math.imul(G,ee)|0,B=B+Math.imul(X,J)|0,R=R+Math.imul(X,ee)|0,M=M+Math.imul(K,H)|0,B=B+Math.imul(K,ae)|0,B=B+Math.imul(q,H)|0,R=R+Math.imul(q,ae)|0;var It=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(It>>>26)|0,It&=67108863,M=Math.imul(Z,We),B=Math.imul(Z,Me),B=B+Math.imul(ie,We)|0,R=Math.imul(ie,Me),M=M+Math.imul(gt,st)|0,B=B+Math.imul(gt,Te)|0,B=B+Math.imul($,st)|0,R=R+Math.imul($,Te)|0,M=M+Math.imul(Fe,Ft)|0,B=B+Math.imul(Fe,Le)|0,B=B+Math.imul(pe,Ft)|0,R=R+Math.imul(pe,Le)|0,M=M+Math.imul(Ke,Yt)|0,B=B+Math.imul(Ke,_e)|0,B=B+Math.imul(ye,Yt)|0,R=R+Math.imul(ye,_e)|0,M=M+Math.imul(Ze,Mt)|0,B=B+Math.imul(Ze,Be)|0,B=B+Math.imul(he,Mt)|0,R=R+Math.imul(he,Be)|0,M=M+Math.imul(xe,sr)|0,B=B+Math.imul(xe,ke)|0,B=B+Math.imul(fe,sr)|0,R=R+Math.imul(fe,ke)|0,M=M+Math.imul(te,J)|0,B=B+Math.imul(te,ee)|0,B=B+Math.imul(V,J)|0,R=R+Math.imul(V,ee)|0,M=M+Math.imul(G,H)|0,B=B+Math.imul(G,ae)|0,B=B+Math.imul(X,H)|0,R=R+Math.imul(X,ae)|0,M=M+Math.imul(K,Ee)|0,B=B+Math.imul(K,de)|0,B=B+Math.imul(q,Ee)|0,R=R+Math.imul(q,de)|0;var Dt=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,M=Math.imul(be,We),B=Math.imul(be,Me),B=B+Math.imul(le,We)|0,R=Math.imul(le,Me),M=M+Math.imul(Z,st)|0,B=B+Math.imul(Z,Te)|0,B=B+Math.imul(ie,st)|0,R=R+Math.imul(ie,Te)|0,M=M+Math.imul(gt,Ft)|0,B=B+Math.imul(gt,Le)|0,B=B+Math.imul($,Ft)|0,R=R+Math.imul($,Le)|0,M=M+Math.imul(Fe,Yt)|0,B=B+Math.imul(Fe,_e)|0,B=B+Math.imul(pe,Yt)|0,R=R+Math.imul(pe,_e)|0,M=M+Math.imul(Ke,Mt)|0,B=B+Math.imul(Ke,Be)|0,B=B+Math.imul(ye,Mt)|0,R=R+Math.imul(ye,Be)|0,M=M+Math.imul(Ze,sr)|0,B=B+Math.imul(Ze,ke)|0,B=B+Math.imul(he,sr)|0,R=R+Math.imul(he,ke)|0,M=M+Math.imul(xe,J)|0,B=B+Math.imul(xe,ee)|0,B=B+Math.imul(fe,J)|0,R=R+Math.imul(fe,ee)|0,M=M+Math.imul(te,H)|0,B=B+Math.imul(te,ae)|0,B=B+Math.imul(V,H)|0,R=R+Math.imul(V,ae)|0,M=M+Math.imul(G,Ee)|0,B=B+Math.imul(G,de)|0,B=B+Math.imul(X,Ee)|0,R=R+Math.imul(X,de)|0,M=M+Math.imul(K,tt)|0,B=B+Math.imul(K,qe)|0,B=B+Math.imul(q,tt)|0,R=R+Math.imul(q,qe)|0;var dt=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(dt>>>26)|0,dt&=67108863,M=Math.imul(be,st),B=Math.imul(be,Te),B=B+Math.imul(le,st)|0,R=Math.imul(le,Te),M=M+Math.imul(Z,Ft)|0,B=B+Math.imul(Z,Le)|0,B=B+Math.imul(ie,Ft)|0,R=R+Math.imul(ie,Le)|0,M=M+Math.imul(gt,Yt)|0,B=B+Math.imul(gt,_e)|0,B=B+Math.imul($,Yt)|0,R=R+Math.imul($,_e)|0,M=M+Math.imul(Fe,Mt)|0,B=B+Math.imul(Fe,Be)|0,B=B+Math.imul(pe,Mt)|0,R=R+Math.imul(pe,Be)|0,M=M+Math.imul(Ke,sr)|0,B=B+Math.imul(Ke,ke)|0,B=B+Math.imul(ye,sr)|0,R=R+Math.imul(ye,ke)|0,M=M+Math.imul(Ze,J)|0,B=B+Math.imul(Ze,ee)|0,B=B+Math.imul(he,J)|0,R=R+Math.imul(he,ee)|0,M=M+Math.imul(xe,H)|0,B=B+Math.imul(xe,ae)|0,B=B+Math.imul(fe,H)|0,R=R+Math.imul(fe,ae)|0,M=M+Math.imul(te,Ee)|0,B=B+Math.imul(te,de)|0,B=B+Math.imul(V,Ee)|0,R=R+Math.imul(V,de)|0,M=M+Math.imul(G,tt)|0,B=B+Math.imul(G,qe)|0,B=B+Math.imul(X,tt)|0,R=R+Math.imul(X,qe)|0;var yt=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(yt>>>26)|0,yt&=67108863,M=Math.imul(be,Ft),B=Math.imul(be,Le),B=B+Math.imul(le,Ft)|0,R=Math.imul(le,Le),M=M+Math.imul(Z,Yt)|0,B=B+Math.imul(Z,_e)|0,B=B+Math.imul(ie,Yt)|0,R=R+Math.imul(ie,_e)|0,M=M+Math.imul(gt,Mt)|0,B=B+Math.imul(gt,Be)|0,B=B+Math.imul($,Mt)|0,R=R+Math.imul($,Be)|0,M=M+Math.imul(Fe,sr)|0,B=B+Math.imul(Fe,ke)|0,B=B+Math.imul(pe,sr)|0,R=R+Math.imul(pe,ke)|0,M=M+Math.imul(Ke,J)|0,B=B+Math.imul(Ke,ee)|0,B=B+Math.imul(ye,J)|0,R=R+Math.imul(ye,ee)|0,M=M+Math.imul(Ze,H)|0,B=B+Math.imul(Ze,ae)|0,B=B+Math.imul(he,H)|0,R=R+Math.imul(he,ae)|0,M=M+Math.imul(xe,Ee)|0,B=B+Math.imul(xe,de)|0,B=B+Math.imul(fe,Ee)|0,R=R+Math.imul(fe,de)|0,M=M+Math.imul(te,tt)|0,B=B+Math.imul(te,qe)|0,B=B+Math.imul(V,tt)|0,R=R+Math.imul(V,qe)|0;var ot=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(ot>>>26)|0,ot&=67108863,M=Math.imul(be,Yt),B=Math.imul(be,_e),B=B+Math.imul(le,Yt)|0,R=Math.imul(le,_e),M=M+Math.imul(Z,Mt)|0,B=B+Math.imul(Z,Be)|0,B=B+Math.imul(ie,Mt)|0,R=R+Math.imul(ie,Be)|0,M=M+Math.imul(gt,sr)|0,B=B+Math.imul(gt,ke)|0,B=B+Math.imul($,sr)|0,R=R+Math.imul($,ke)|0,M=M+Math.imul(Fe,J)|0,B=B+Math.imul(Fe,ee)|0,B=B+Math.imul(pe,J)|0,R=R+Math.imul(pe,ee)|0,M=M+Math.imul(Ke,H)|0,B=B+Math.imul(Ke,ae)|0,B=B+Math.imul(ye,H)|0,R=R+Math.imul(ye,ae)|0,M=M+Math.imul(Ze,Ee)|0,B=B+Math.imul(Ze,de)|0,B=B+Math.imul(he,Ee)|0,R=R+Math.imul(he,de)|0,M=M+Math.imul(xe,tt)|0,B=B+Math.imul(xe,qe)|0,B=B+Math.imul(fe,tt)|0,R=R+Math.imul(fe,qe)|0;var ht=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(ht>>>26)|0,ht&=67108863,M=Math.imul(be,Mt),B=Math.imul(be,Be),B=B+Math.imul(le,Mt)|0,R=Math.imul(le,Be),M=M+Math.imul(Z,sr)|0,B=B+Math.imul(Z,ke)|0,B=B+Math.imul(ie,sr)|0,R=R+Math.imul(ie,ke)|0,M=M+Math.imul(gt,J)|0,B=B+Math.imul(gt,ee)|0,B=B+Math.imul($,J)|0,R=R+Math.imul($,ee)|0,M=M+Math.imul(Fe,H)|0,B=B+Math.imul(Fe,ae)|0,B=B+Math.imul(pe,H)|0,R=R+Math.imul(pe,ae)|0,M=M+Math.imul(Ke,Ee)|0,B=B+Math.imul(Ke,de)|0,B=B+Math.imul(ye,Ee)|0,R=R+Math.imul(ye,de)|0,M=M+Math.imul(Ze,tt)|0,B=B+Math.imul(Ze,qe)|0,B=B+Math.imul(he,tt)|0,R=R+Math.imul(he,qe)|0;var pt=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(pt>>>26)|0,pt&=67108863,M=Math.imul(be,sr),B=Math.imul(be,ke),B=B+Math.imul(le,sr)|0,R=Math.imul(le,ke),M=M+Math.imul(Z,J)|0,B=B+Math.imul(Z,ee)|0,B=B+Math.imul(ie,J)|0,R=R+Math.imul(ie,ee)|0,M=M+Math.imul(gt,H)|0,B=B+Math.imul(gt,ae)|0,B=B+Math.imul($,H)|0,R=R+Math.imul($,ae)|0,M=M+Math.imul(Fe,Ee)|0,B=B+Math.imul(Fe,de)|0,B=B+Math.imul(pe,Ee)|0,R=R+Math.imul(pe,de)|0,M=M+Math.imul(Ke,tt)|0,B=B+Math.imul(Ke,qe)|0,B=B+Math.imul(ye,tt)|0,R=R+Math.imul(ye,qe)|0;var nt=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(nt>>>26)|0,nt&=67108863,M=Math.imul(be,J),B=Math.imul(be,ee),B=B+Math.imul(le,J)|0,R=Math.imul(le,ee),M=M+Math.imul(Z,H)|0,B=B+Math.imul(Z,ae)|0,B=B+Math.imul(ie,H)|0,R=R+Math.imul(ie,ae)|0,M=M+Math.imul(gt,Ee)|0,B=B+Math.imul(gt,de)|0,B=B+Math.imul($,Ee)|0,R=R+Math.imul($,de)|0,M=M+Math.imul(Fe,tt)|0,B=B+Math.imul(Fe,qe)|0,B=B+Math.imul(pe,tt)|0,R=R+Math.imul(pe,qe)|0;var Ie=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,M=Math.imul(be,H),B=Math.imul(be,ae),B=B+Math.imul(le,H)|0,R=Math.imul(le,ae),M=M+Math.imul(Z,Ee)|0,B=B+Math.imul(Z,de)|0,B=B+Math.imul(ie,Ee)|0,R=R+Math.imul(ie,de)|0,M=M+Math.imul(gt,tt)|0,B=B+Math.imul(gt,qe)|0,B=B+Math.imul($,tt)|0,R=R+Math.imul($,qe)|0;var Ne=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,M=Math.imul(be,Ee),B=Math.imul(be,de),B=B+Math.imul(le,Ee)|0,R=Math.imul(le,de),M=M+Math.imul(Z,tt)|0,B=B+Math.imul(Z,qe)|0,B=B+Math.imul(ie,tt)|0,R=R+Math.imul(ie,qe)|0;var rt=(c+M|0)+((B&8191)<<13)|0;c=(R+(B>>>13)|0)+(rt>>>26)|0,rt&=67108863,M=Math.imul(be,tt),B=Math.imul(be,qe),B=B+Math.imul(le,tt)|0,R=Math.imul(le,qe);var Ve=(c+M|0)+((B&8191)<<13)|0;return c=(R+(B>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,y[0]=_t,y[1]=lt,y[2]=wt,y[3]=Et,y[4]=jt,y[5]=Nt,y[6]=St,y[7]=It,y[8]=Dt,y[9]=dt,y[10]=yt,y[11]=ot,y[12]=ht,y[13]=pt,y[14]=nt,y[15]=Ie,y[16]=Ne,y[17]=rt,y[18]=Ve,c!==0&&(y[19]=c,g.length++),g};Math.imul||(S=D);function N(l,f,h){h.negative=f.negative^l.negative,h.length=l.length+f.length;for(var g=0,x=0,A=0;A<h.length-1;A++){var y=x;x=0;for(var c=g&67108863,M=Math.min(A,f.length-1),B=Math.max(0,A-l.length+1);B<=M;B++){var R=A-B,Q=l.words[R]|0,K=f.words[B]|0,q=Q*K,P=q&67108863;y=y+(q/67108864|0)|0,P=P+c|0,c=P&67108863,y=y+(P>>>26)|0,x+=y>>>26,y&=67108863}h.words[A]=c,g=y,y=x}return g!==0?h.words[A]=g:h.length--,h._strip()}function j(l,f,h){return N(l,f,h)}i.prototype.mulTo=function(f,h){var g,x=this.length+f.length;return this.length===10&&f.length===10?g=S(this,f,h):x<63?g=D(this,f,h):x<1024?g=N(this,f,h):g=j(this,f,h),g},i.prototype.mul=function(f){var h=new i(null);return h.words=new Array(this.length+f.length),this.mulTo(f,h)},i.prototype.mulf=function(f){var h=new i(null);return h.words=new Array(this.length+f.length),j(this,f,h)},i.prototype.imul=function(f){return this.clone().mulTo(f,this)},i.prototype.imuln=function(f){var h=f<0;h&&(f=-f),n(typeof f=="number"),n(f<67108864);for(var g=0,x=0;x<this.length;x++){var A=(this.words[x]|0)*f,y=(A&67108863)+(g&67108863);g>>=26,g+=A/67108864|0,g+=y>>>26,this.words[x]=y&67108863}return g!==0&&(this.words[x]=g,this.length++),this.length=f===0?1:this.length,h?this.ineg():this},i.prototype.muln=function(f){return this.clone().imuln(f)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(f){var h=I(f);if(h.length===0)return new i(1);for(var g=this,x=0;x<h.length&&h[x]===0;x++,g=g.sqr());if(++x<h.length)for(var A=g.sqr();x<h.length;x++,A=A.sqr())h[x]!==0&&(g=g.mul(A));return g},i.prototype.iushln=function(f){n(typeof f=="number"&&f>=0);var h=f%26,g=(f-h)/26,x=67108863>>>26-h<<26-h,A;if(h!==0){var y=0;for(A=0;A<this.length;A++){var c=this.words[A]&x,M=(this.words[A]|0)-c<<h;this.words[A]=M|y,y=c>>>26-h}y&&(this.words[A]=y,this.length++)}if(g!==0){for(A=this.length-1;A>=0;A--)this.words[A+g]=this.words[A];for(A=0;A<g;A++)this.words[A]=0;this.length+=g}return this._strip()},i.prototype.ishln=function(f){return n(this.negative===0),this.iushln(f)},i.prototype.iushrn=function(f,h,g){n(typeof f=="number"&&f>=0);var x;h?x=(h-h%26)/26:x=0;var A=f%26,y=Math.min((f-A)/26,this.length),c=67108863^67108863>>>A<<A,M=g;if(x-=y,x=Math.max(0,x),M){for(var B=0;B<y;B++)M.words[B]=this.words[B];M.length=y}if(y!==0)if(this.length>y)for(this.length-=y,B=0;B<this.length;B++)this.words[B]=this.words[B+y];else this.words[0]=0,this.length=1;var R=0;for(B=this.length-1;B>=0&&(R!==0||B>=x);B--){var Q=this.words[B]|0;this.words[B]=R<<26-A|Q>>>A,R=Q&c}return M&&R!==0&&(M.words[M.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(f,h,g){return n(this.negative===0),this.iushrn(f,h,g)},i.prototype.shln=function(f){return this.clone().ishln(f)},i.prototype.ushln=function(f){return this.clone().iushln(f)},i.prototype.shrn=function(f){return this.clone().ishrn(f)},i.prototype.ushrn=function(f){return this.clone().iushrn(f)},i.prototype.testn=function(f){n(typeof f=="number"&&f>=0);var h=f%26,g=(f-h)/26,x=1<<h;if(this.length<=g)return!1;var A=this.words[g];return!!(A&x)},i.prototype.imaskn=function(f){n(typeof f=="number"&&f>=0);var h=f%26,g=(f-h)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=g)return this;if(h!==0&&g++,this.length=Math.min(g,this.length),h!==0){var x=67108863^67108863>>>h<<h;this.words[this.length-1]&=x}return this._strip()},i.prototype.maskn=function(f){return this.clone().imaskn(f)},i.prototype.iaddn=function(f){return n(typeof f=="number"),n(f<67108864),f<0?this.isubn(-f):this.negative!==0?this.length===1&&(this.words[0]|0)<=f?(this.words[0]=f-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(f),this.negative=1,this):this._iaddn(f)},i.prototype._iaddn=function(f){this.words[0]+=f;for(var h=0;h<this.length&&this.words[h]>=67108864;h++)this.words[h]-=67108864,h===this.length-1?this.words[h+1]=1:this.words[h+1]++;return this.length=Math.max(this.length,h+1),this},i.prototype.isubn=function(f){if(n(typeof f=="number"),n(f<67108864),f<0)return this.iaddn(-f);if(this.negative!==0)return this.negative=0,this.iaddn(f),this.negative=1,this;if(this.words[0]-=f,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var h=0;h<this.length&&this.words[h]<0;h++)this.words[h]+=67108864,this.words[h+1]-=1;return this._strip()},i.prototype.addn=function(f){return this.clone().iaddn(f)},i.prototype.subn=function(f){return this.clone().isubn(f)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(f,h,g){var x=f.length+g,A;this._expand(x);var y,c=0;for(A=0;A<f.length;A++){y=(this.words[A+g]|0)+c;var M=(f.words[A]|0)*h;y-=M&67108863,c=(y>>26)-(M/67108864|0),this.words[A+g]=y&67108863}for(;A<this.length-g;A++)y=(this.words[A+g]|0)+c,c=y>>26,this.words[A+g]=y&67108863;if(c===0)return this._strip();for(n(c===-1),c=0,A=0;A<this.length;A++)y=-(this.words[A]|0)+c,c=y>>26,this.words[A]=y&67108863;return this.negative=1,this._strip()},i.prototype._wordDiv=function(f,h){var g=this.length-f.length,x=this.clone(),A=f,y=A.words[A.length-1]|0,c=this._countBits(y);g=26-c,g!==0&&(A=A.ushln(g),x.iushln(g),y=A.words[A.length-1]|0);var M=x.length-A.length,B;if(h!=="mod"){B=new i(null),B.length=M+1,B.words=new Array(B.length);for(var R=0;R<B.length;R++)B.words[R]=0}var Q=x.clone()._ishlnsubmul(A,1,M);Q.negative===0&&(x=Q,B&&(B.words[M]=1));for(var K=M-1;K>=0;K--){var q=(x.words[A.length+K]|0)*67108864+(x.words[A.length+K-1]|0);for(q=Math.min(q/y|0,67108863),x._ishlnsubmul(A,q,K);x.negative!==0;)q--,x.negative=0,x._ishlnsubmul(A,1,K),x.isZero()||(x.negative^=1);B&&(B.words[K]=q)}return B&&B._strip(),x._strip(),h!=="div"&&g!==0&&x.iushrn(g),{div:B||null,mod:x}},i.prototype.divmod=function(f,h,g){if(n(!f.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var x,A,y;return this.negative!==0&&f.negative===0?(y=this.neg().divmod(f,h),h!=="mod"&&(x=y.div.neg()),h!=="div"&&(A=y.mod.neg(),g&&A.negative!==0&&A.iadd(f)),{div:x,mod:A}):this.negative===0&&f.negative!==0?(y=this.divmod(f.neg(),h),h!=="mod"&&(x=y.div.neg()),{div:x,mod:y.mod}):this.negative&f.negative?(y=this.neg().divmod(f.neg(),h),h!=="div"&&(A=y.mod.neg(),g&&A.negative!==0&&A.isub(f)),{div:y.div,mod:A}):f.length>this.length||this.cmp(f)<0?{div:new i(0),mod:this}:f.length===1?h==="div"?{div:this.divn(f.words[0]),mod:null}:h==="mod"?{div:null,mod:new i(this.modrn(f.words[0]))}:{div:this.divn(f.words[0]),mod:new i(this.modrn(f.words[0]))}:this._wordDiv(f,h)},i.prototype.div=function(f){return this.divmod(f,"div",!1).div},i.prototype.mod=function(f){return this.divmod(f,"mod",!1).mod},i.prototype.umod=function(f){return this.divmod(f,"mod",!0).mod},i.prototype.divRound=function(f){var h=this.divmod(f);if(h.mod.isZero())return h.div;var g=h.div.negative!==0?h.mod.isub(f):h.mod,x=f.ushrn(1),A=f.andln(1),y=g.cmp(x);return y<0||A===1&&y===0?h.div:h.div.negative!==0?h.div.isubn(1):h.div.iaddn(1)},i.prototype.modrn=function(f){var h=f<0;h&&(f=-f),n(f<=67108863);for(var g=(1<<26)%f,x=0,A=this.length-1;A>=0;A--)x=(g*x+(this.words[A]|0))%f;return h?-x:x},i.prototype.modn=function(f){return this.modrn(f)},i.prototype.idivn=function(f){var h=f<0;h&&(f=-f),n(f<=67108863);for(var g=0,x=this.length-1;x>=0;x--){var A=(this.words[x]|0)+g*67108864;this.words[x]=A/f|0,g=A%f}return this._strip(),h?this.ineg():this},i.prototype.divn=function(f){return this.clone().idivn(f)},i.prototype.egcd=function(f){n(f.negative===0),n(!f.isZero());var h=this,g=f.clone();h.negative!==0?h=h.umod(f):h=h.clone();for(var x=new i(1),A=new i(0),y=new i(0),c=new i(1),M=0;h.isEven()&&g.isEven();)h.iushrn(1),g.iushrn(1),++M;for(var B=g.clone(),R=h.clone();!h.isZero();){for(var Q=0,K=1;!(h.words[0]&K)&&Q<26;++Q,K<<=1);if(Q>0)for(h.iushrn(Q);Q-- >0;)(x.isOdd()||A.isOdd())&&(x.iadd(B),A.isub(R)),x.iushrn(1),A.iushrn(1);for(var q=0,P=1;!(g.words[0]&P)&&q<26;++q,P<<=1);if(q>0)for(g.iushrn(q);q-- >0;)(y.isOdd()||c.isOdd())&&(y.iadd(B),c.isub(R)),y.iushrn(1),c.iushrn(1);h.cmp(g)>=0?(h.isub(g),x.isub(y),A.isub(c)):(g.isub(h),y.isub(x),c.isub(A))}return{a:y,b:c,gcd:g.iushln(M)}},i.prototype._invmp=function(f){n(f.negative===0),n(!f.isZero());var h=this,g=f.clone();h.negative!==0?h=h.umod(f):h=h.clone();for(var x=new i(1),A=new i(0),y=g.clone();h.cmpn(1)>0&&g.cmpn(1)>0;){for(var c=0,M=1;!(h.words[0]&M)&&c<26;++c,M<<=1);if(c>0)for(h.iushrn(c);c-- >0;)x.isOdd()&&x.iadd(y),x.iushrn(1);for(var B=0,R=1;!(g.words[0]&R)&&B<26;++B,R<<=1);if(B>0)for(g.iushrn(B);B-- >0;)A.isOdd()&&A.iadd(y),A.iushrn(1);h.cmp(g)>=0?(h.isub(g),x.isub(A)):(g.isub(h),A.isub(x))}var Q;return h.cmpn(1)===0?Q=x:Q=A,Q.cmpn(0)<0&&Q.iadd(f),Q},i.prototype.gcd=function(f){if(this.isZero())return f.abs();if(f.isZero())return this.abs();var h=this.clone(),g=f.clone();h.negative=0,g.negative=0;for(var x=0;h.isEven()&&g.isEven();x++)h.iushrn(1),g.iushrn(1);do{for(;h.isEven();)h.iushrn(1);for(;g.isEven();)g.iushrn(1);var A=h.cmp(g);if(A<0){var y=h;h=g,g=y}else if(A===0||g.cmpn(1)===0)break;h.isub(g)}while(!0);return g.iushln(x)},i.prototype.invm=function(f){return this.egcd(f).a.umod(f)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(f){return this.words[0]&f},i.prototype.bincn=function(f){n(typeof f=="number");var h=f%26,g=(f-h)/26,x=1<<h;if(this.length<=g)return this._expand(g+1),this.words[g]|=x,this;for(var A=x,y=g;A!==0&&y<this.length;y++){var c=this.words[y]|0;c+=A,A=c>>>26,c&=67108863,this.words[y]=c}return A!==0&&(this.words[y]=A,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(f){var h=f<0;if(this.negative!==0&&!h)return-1;if(this.negative===0&&h)return 1;this._strip();var g;if(this.length>1)g=1;else{h&&(f=-f),n(f<=67108863,"Number is too big");var x=this.words[0]|0;g=x===f?0:x<f?-1:1}return this.negative!==0?-g|0:g},i.prototype.cmp=function(f){if(this.negative!==0&&f.negative===0)return-1;if(this.negative===0&&f.negative!==0)return 1;var h=this.ucmp(f);return this.negative!==0?-h|0:h},i.prototype.ucmp=function(f){if(this.length>f.length)return 1;if(this.length<f.length)return-1;for(var h=0,g=this.length-1;g>=0;g--){var x=this.words[g]|0,A=f.words[g]|0;if(x!==A){x<A?h=-1:x>A&&(h=1);break}}return h},i.prototype.gtn=function(f){return this.cmpn(f)===1},i.prototype.gt=function(f){return this.cmp(f)===1},i.prototype.gten=function(f){return this.cmpn(f)>=0},i.prototype.gte=function(f){return this.cmp(f)>=0},i.prototype.ltn=function(f){return this.cmpn(f)===-1},i.prototype.lt=function(f){return this.cmp(f)===-1},i.prototype.lten=function(f){return this.cmpn(f)<=0},i.prototype.lte=function(f){return this.cmp(f)<=0},i.prototype.eqn=function(f){return this.cmpn(f)===0},i.prototype.eq=function(f){return this.cmp(f)===0},i.red=function(f){return new w(f)},i.prototype.toRed=function(f){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),f.convertTo(this)._forceRed(f)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(f){return this.red=f,this},i.prototype.forceRed=function(f){return n(!this.red,"Already a number in reduction context"),this._forceRed(f)},i.prototype.redAdd=function(f){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,f)},i.prototype.redIAdd=function(f){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,f)},i.prototype.redSub=function(f){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,f)},i.prototype.redISub=function(f){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,f)},i.prototype.redShl=function(f){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,f)},i.prototype.redMul=function(f){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,f),this.red.mul(this,f)},i.prototype.redIMul=function(f){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,f),this.red.imul(this,f)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(f){return n(this.red&&!f.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,f)};var F={k256:null,p224:null,p192:null,p25519:null};function O(l,f){this.name=l,this.p=new i(f,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}O.prototype._tmp=function(){var f=new i(null);return f.words=new Array(Math.ceil(this.n/13)),f},O.prototype.ireduce=function(f){var h=f,g;do this.split(h,this.tmp),h=this.imulK(h),h=h.iadd(this.tmp),g=h.bitLength();while(g>this.n);var x=g<this.n?-1:h.ucmp(this.p);return x===0?(h.words[0]=0,h.length=1):x>0?h.isub(this.p):h.strip!==void 0?h.strip():h._strip(),h},O.prototype.split=function(f,h){f.iushrn(this.n,0,h)},O.prototype.imulK=function(f){return f.imul(this.k)};function W(){O.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(W,O),W.prototype.split=function(f,h){for(var g=4194303,x=Math.min(f.length,9),A=0;A<x;A++)h.words[A]=f.words[A];if(h.length=x,f.length<=9){f.words[0]=0,f.length=1;return}var y=f.words[9];for(h.words[h.length++]=y&g,A=10;A<f.length;A++){var c=f.words[A]|0;f.words[A-10]=(c&g)<<4|y>>>22,y=c}y>>>=22,f.words[A-10]=y,y===0&&f.length>10?f.length-=10:f.length-=9},W.prototype.imulK=function(f){f.words[f.length]=0,f.words[f.length+1]=0,f.length+=2;for(var h=0,g=0;g<f.length;g++){var x=f.words[g]|0;h+=x*977,f.words[g]=h&67108863,h=x*64+(h/67108864|0)}return f.words[f.length-1]===0&&(f.length--,f.words[f.length-1]===0&&f.length--),f};function _(){O.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}a(_,O);function z(){O.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}a(z,O);function k(){O.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}a(k,O),k.prototype.imulK=function(f){for(var h=0,g=0;g<f.length;g++){var x=(f.words[g]|0)*19+h,A=x&67108863;x>>>=26,f.words[g]=A,h=x}return h!==0&&(f.words[f.length++]=h),f},i._prime=function(f){if(F[f])return F[f];var h;if(f==="k256")h=new W;else if(f==="p224")h=new _;else if(f==="p192")h=new z;else if(f==="p25519")h=new k;else throw new Error("Unknown prime "+f);return F[f]=h,h};function w(l){if(typeof l=="string"){var f=i._prime(l);this.m=f.p,this.prime=f}else n(l.gtn(1),"modulus must be greater than 1"),this.m=l,this.prime=null}w.prototype._verify1=function(f){n(f.negative===0,"red works only with positives"),n(f.red,"red works only with red numbers")},w.prototype._verify2=function(f,h){n((f.negative|h.negative)===0,"red works only with positives"),n(f.red&&f.red===h.red,"red works only with red numbers")},w.prototype.imod=function(f){return this.prime?this.prime.ireduce(f)._forceRed(this):(m(f,f.umod(this.m)._forceRed(this)),f)},w.prototype.neg=function(f){return f.isZero()?f.clone():this.m.sub(f)._forceRed(this)},w.prototype.add=function(f,h){this._verify2(f,h);var g=f.add(h);return g.cmp(this.m)>=0&&g.isub(this.m),g._forceRed(this)},w.prototype.iadd=function(f,h){this._verify2(f,h);var g=f.iadd(h);return g.cmp(this.m)>=0&&g.isub(this.m),g},w.prototype.sub=function(f,h){this._verify2(f,h);var g=f.sub(h);return g.cmpn(0)<0&&g.iadd(this.m),g._forceRed(this)},w.prototype.isub=function(f,h){this._verify2(f,h);var g=f.isub(h);return g.cmpn(0)<0&&g.iadd(this.m),g},w.prototype.shl=function(f,h){return this._verify1(f),this.imod(f.ushln(h))},w.prototype.imul=function(f,h){return this._verify2(f,h),this.imod(f.imul(h))},w.prototype.mul=function(f,h){return this._verify2(f,h),this.imod(f.mul(h))},w.prototype.isqr=function(f){return this.imul(f,f.clone())},w.prototype.sqr=function(f){return this.mul(f,f)},w.prototype.sqrt=function(f){if(f.isZero())return f.clone();var h=this.m.andln(3);if(n(h%2===1),h===3){var g=this.m.add(new i(1)).iushrn(2);return this.pow(f,g)}for(var x=this.m.subn(1),A=0;!x.isZero()&&x.andln(1)===0;)A++,x.iushrn(1);n(!x.isZero());var y=new i(1).toRed(this),c=y.redNeg(),M=this.m.subn(1).iushrn(1),B=this.m.bitLength();for(B=new i(2*B*B).toRed(this);this.pow(B,M).cmp(c)!==0;)B.redIAdd(c);for(var R=this.pow(B,x),Q=this.pow(f,x.addn(1).iushrn(1)),K=this.pow(f,x),q=A;K.cmp(y)!==0;){for(var P=K,G=0;P.cmp(y)!==0;G++)P=P.redSqr();n(G<q);var X=this.pow(R,new i(1).iushln(q-G-1));Q=Q.redMul(X),R=X.redSqr(),K=K.redMul(R),q=G}return Q},w.prototype.invm=function(f){var h=f._invmp(this.m);return h.negative!==0?(h.negative=0,this.imod(h).redNeg()):this.imod(h)},w.prototype.pow=function(f,h){if(h.isZero())return new i(1).toRed(this);if(h.cmpn(1)===0)return f.clone();var g=4,x=new Array(1<<g);x[0]=new i(1).toRed(this),x[1]=f;for(var A=2;A<x.length;A++)x[A]=this.mul(x[A-1],f);var y=x[0],c=0,M=0,B=h.bitLength()%26;for(B===0&&(B=26),A=h.length-1;A>=0;A--){for(var R=h.words[A],Q=B-1;Q>=0;Q--){var K=R>>Q&1;if(y!==x[0]&&(y=this.sqr(y)),K===0&&c===0){M=0;continue}c<<=1,c|=K,M++,!(M!==g&&(A!==0||Q!==0))&&(y=this.mul(y,x[c]),M=0,c=0)}B=26}return y},w.prototype.convertTo=function(f){var h=f.umod(this.m);return h===f?h.clone():h},w.prototype.convertFrom=function(f){var h=f.clone();return h.red=null,h},i.mont=function(f){return new s(f)};function s(l){w.call(this,l),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(s,w),s.prototype.convertTo=function(f){return this.imod(f.ushln(this.shift))},s.prototype.convertFrom=function(f){var h=this.imod(f.mul(this.rinv));return h.red=null,h},s.prototype.imul=function(f,h){if(f.isZero()||h.isZero())return f.words[0]=0,f.length=1,f;var g=f.imul(h),x=g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=g.isub(x).iushrn(this.shift),y=A;return A.cmp(this.m)>=0?y=A.isub(this.m):A.cmpn(0)<0&&(y=A.iadd(this.m)),y._forceRed(this)},s.prototype.mul=function(f,h){if(f.isZero()||h.isZero())return new i(0)._forceRed(this);var g=f.mul(h),x=g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=g.isub(x).iushrn(this.shift),y=A;return A.cmp(this.m)>=0?y=A.isub(this.m):A.cmpn(0)<0&&(y=A.iadd(this.m)),y._forceRed(this)},s.prototype.invm=function(f){var h=this.imod(f._invmp(this.m).mul(this.r2));return h._forceRed(this)}})(e,Ut)})(Zx);var $h=Zx.exports;const LD=wa($h);var m8,jD;function Gx(){if(jD)return m8;jD=1;var e=$h,t=Xf(),r=ar.Buffer;function n(o){var u=o.modulus.byteLength(),d;do d=new e(t(u));while(d.cmp(o.modulus)>=0||!d.umod(o.prime1)||!d.umod(o.prime2));return d}function a(o){var u=n(o),d=u.toRed(e.mont(o.modulus)).redPow(new e(o.publicExponent)).fromRed();return{blinder:d,unblinder:u.invm(o.modulus)}}function i(o,u){var d=a(u),p=u.modulus.byteLength(),m=new e(o).mul(d.blinder).umod(u.modulus),b=m.toRed(e.mont(u.prime1)),v=m.toRed(e.mont(u.prime2)),C=u.coefficient,E=u.prime1,T=u.prime2,I=b.redPow(u.exponent1).fromRed(),D=v.redPow(u.exponent2).fromRed(),S=I.isub(D).imul(C).umod(E).imul(T);return D.iadd(S).imul(d.unblinder).umod(u.modulus).toArrayLike(r,"be",p)}return i.getr=n,m8=i,m8}var g8={};const $ne="6.6.1",Kne={version:$ne};var y8={},t3={exports:{}};t3.exports;var BD;function Cc(){return BD||(BD=1,function(e){(function(t,r){function n(w,s){if(!w)throw new Error(s||"Assertion failed")}function a(w,s){w.super_=s;var l=function(){};l.prototype=s.prototype,w.prototype=new l,w.prototype.constructor=w}function i(w,s,l){if(i.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((s==="le"||s==="be")&&(l=s,s=10),this._init(w||0,s||10,l||"be"))}typeof t=="object"?t.exports=i:r.BN=i,i.BN=i,i.wordSize=26;var o;try{typeof window<"u"&&typeof window.Buffer<"u"?o=window.Buffer:o=vt.Buffer}catch{}i.isBN=function(s){return s instanceof i?!0:s!==null&&typeof s=="object"&&s.constructor.wordSize===i.wordSize&&Array.isArray(s.words)},i.max=function(s,l){return s.cmp(l)>0?s:l},i.min=function(s,l){return s.cmp(l)<0?s:l},i.prototype._init=function(s,l,f){if(typeof s=="number")return this._initNumber(s,l,f);if(typeof s=="object")return this._initArray(s,l,f);l==="hex"&&(l=16),n(l===(l|0)&&l>=2&&l<=36),s=s.toString().replace(/\s+/g,"");var h=0;s[0]==="-"&&(h++,this.negative=1),h<s.length&&(l===16?this._parseHex(s,h,f):(this._parseBase(s,l,h),f==="le"&&this._initArray(this.toArray(),l,f)))},i.prototype._initNumber=function(s,l,f){s<0&&(this.negative=1,s=-s),s<67108864?(this.words=[s&67108863],this.length=1):s<4503599627370496?(this.words=[s&67108863,s/67108864&67108863],this.length=2):(n(s<9007199254740992),this.words=[s&67108863,s/67108864&67108863,1],this.length=3),f==="le"&&this._initArray(this.toArray(),l,f)},i.prototype._initArray=function(s,l,f){if(n(typeof s.length=="number"),s.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(s.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var g,x,A=0;if(f==="be")for(h=s.length-1,g=0;h>=0;h-=3)x=s[h]|s[h-1]<<8|s[h-2]<<16,this.words[g]|=x<<A&67108863,this.words[g+1]=x>>>26-A&67108863,A+=24,A>=26&&(A-=26,g++);else if(f==="le")for(h=0,g=0;h<s.length;h+=3)x=s[h]|s[h+1]<<8|s[h+2]<<16,this.words[g]|=x<<A&67108863,this.words[g+1]=x>>>26-A&67108863,A+=24,A>=26&&(A-=26,g++);return this.strip()};function u(w,s){var l=w.charCodeAt(s);return l>=65&&l<=70?l-55:l>=97&&l<=102?l-87:l-48&15}function d(w,s,l){var f=u(w,l);return l-1>=s&&(f|=u(w,l-1)<<4),f}i.prototype._parseHex=function(s,l,f){this.length=Math.ceil((s.length-l)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var g=0,x=0,A;if(f==="be")for(h=s.length-1;h>=l;h-=2)A=d(s,l,h)<<g,this.words[x]|=A&67108863,g>=18?(g-=18,x+=1,this.words[x]|=A>>>26):g+=8;else{var y=s.length-l;for(h=y%2===0?l+1:l;h<s.length;h+=2)A=d(s,l,h)<<g,this.words[x]|=A&67108863,g>=18?(g-=18,x+=1,this.words[x]|=A>>>26):g+=8}this.strip()};function p(w,s,l,f){for(var h=0,g=Math.min(w.length,l),x=s;x<g;x++){var A=w.charCodeAt(x)-48;h*=f,A>=49?h+=A-49+10:A>=17?h+=A-17+10:h+=A}return h}i.prototype._parseBase=function(s,l,f){this.words=[0],this.length=1;for(var h=0,g=1;g<=67108863;g*=l)h++;h--,g=g/l|0;for(var x=s.length-f,A=x%h,y=Math.min(x,x-A)+f,c=0,M=f;M<y;M+=h)c=p(s,M,M+h,l),this.imuln(g),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(A!==0){var B=1;for(c=p(s,M,s.length,l),M=0;M<A;M++)B*=l;this.imuln(B),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},i.prototype.copy=function(s){s.words=new Array(this.length);for(var l=0;l<this.length;l++)s.words[l]=this.words[l];s.length=this.length,s.negative=this.negative,s.red=this.red},i.prototype.clone=function(){var s=new i(null);return this.copy(s),s},i.prototype._expand=function(s){for(;this.length<s;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],b=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(s,l){s=s||10,l=l|0||1;var f;if(s===16||s==="hex"){f="";for(var h=0,g=0,x=0;x<this.length;x++){var A=this.words[x],y=((A<<h|g)&16777215).toString(16);g=A>>>24-h&16777215,h+=2,h>=26&&(h-=26,x--),g!==0||x!==this.length-1?f=m[6-y.length]+y+f:f=y+f}for(g!==0&&(f=g.toString(16)+f);f.length%l!==0;)f="0"+f;return this.negative!==0&&(f="-"+f),f}if(s===(s|0)&&s>=2&&s<=36){var c=b[s],M=v[s];f="";var B=this.clone();for(B.negative=0;!B.isZero();){var R=B.modn(M).toString(s);B=B.idivn(M),B.isZero()?f=R+f:f=m[c-R.length]+R+f}for(this.isZero()&&(f="0"+f);f.length%l!==0;)f="0"+f;return this.negative!==0&&(f="-"+f),f}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var s=this.words[0];return this.length===2?s+=this.words[1]*67108864:this.length===3&&this.words[2]===1?s+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-s:s},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(s,l){return n(typeof o<"u"),this.toArrayLike(o,s,l)},i.prototype.toArray=function(s,l){return this.toArrayLike(Array,s,l)},i.prototype.toArrayLike=function(s,l,f){var h=this.byteLength(),g=f||Math.max(1,h);n(h<=g,"byte array longer than desired length"),n(g>0,"Requested array length <= 0"),this.strip();var x=l==="le",A=new s(g),y,c,M=this.clone();if(x){for(c=0;!M.isZero();c++)y=M.andln(255),M.iushrn(8),A[c]=y;for(;c<g;c++)A[c]=0}else{for(c=0;c<g-h;c++)A[c]=0;for(c=0;!M.isZero();c++)y=M.andln(255),M.iushrn(8),A[g-c-1]=y}return A},Math.clz32?i.prototype._countBits=function(s){return 32-Math.clz32(s)}:i.prototype._countBits=function(s){var l=s,f=0;return l>=4096&&(f+=13,l>>>=13),l>=64&&(f+=7,l>>>=7),l>=8&&(f+=4,l>>>=4),l>=2&&(f+=2,l>>>=2),f+l},i.prototype._zeroBits=function(s){if(s===0)return 26;var l=s,f=0;return l&8191||(f+=13,l>>>=13),l&127||(f+=7,l>>>=7),l&15||(f+=4,l>>>=4),l&3||(f+=2,l>>>=2),l&1||f++,f},i.prototype.bitLength=function(){var s=this.words[this.length-1],l=this._countBits(s);return(this.length-1)*26+l};function C(w){for(var s=new Array(w.bitLength()),l=0;l<s.length;l++){var f=l/26|0,h=l%26;s[l]=(w.words[f]&1<<h)>>>h}return s}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var s=0,l=0;l<this.length;l++){var f=this._zeroBits(this.words[l]);if(s+=f,f!==26)break}return s},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(s){return this.negative!==0?this.abs().inotn(s).iaddn(1):this.clone()},i.prototype.fromTwos=function(s){return this.testn(s-1)?this.notn(s).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(s){for(;this.length<s.length;)this.words[this.length++]=0;for(var l=0;l<s.length;l++)this.words[l]=this.words[l]|s.words[l];return this.strip()},i.prototype.ior=function(s){return n((this.negative|s.negative)===0),this.iuor(s)},i.prototype.or=function(s){return this.length>s.length?this.clone().ior(s):s.clone().ior(this)},i.prototype.uor=function(s){return this.length>s.length?this.clone().iuor(s):s.clone().iuor(this)},i.prototype.iuand=function(s){var l;this.length>s.length?l=s:l=this;for(var f=0;f<l.length;f++)this.words[f]=this.words[f]&s.words[f];return this.length=l.length,this.strip()},i.prototype.iand=function(s){return n((this.negative|s.negative)===0),this.iuand(s)},i.prototype.and=function(s){return this.length>s.length?this.clone().iand(s):s.clone().iand(this)},i.prototype.uand=function(s){return this.length>s.length?this.clone().iuand(s):s.clone().iuand(this)},i.prototype.iuxor=function(s){var l,f;this.length>s.length?(l=this,f=s):(l=s,f=this);for(var h=0;h<f.length;h++)this.words[h]=l.words[h]^f.words[h];if(this!==l)for(;h<l.length;h++)this.words[h]=l.words[h];return this.length=l.length,this.strip()},i.prototype.ixor=function(s){return n((this.negative|s.negative)===0),this.iuxor(s)},i.prototype.xor=function(s){return this.length>s.length?this.clone().ixor(s):s.clone().ixor(this)},i.prototype.uxor=function(s){return this.length>s.length?this.clone().iuxor(s):s.clone().iuxor(this)},i.prototype.inotn=function(s){n(typeof s=="number"&&s>=0);var l=Math.ceil(s/26)|0,f=s%26;this._expand(l),f>0&&l--;for(var h=0;h<l;h++)this.words[h]=~this.words[h]&67108863;return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},i.prototype.notn=function(s){return this.clone().inotn(s)},i.prototype.setn=function(s,l){n(typeof s=="number"&&s>=0);var f=s/26|0,h=s%26;return this._expand(f+1),l?this.words[f]=this.words[f]|1<<h:this.words[f]=this.words[f]&~(1<<h),this.strip()},i.prototype.iadd=function(s){var l;if(this.negative!==0&&s.negative===0)return this.negative=0,l=this.isub(s),this.negative^=1,this._normSign();if(this.negative===0&&s.negative!==0)return s.negative=0,l=this.isub(s),s.negative=1,l._normSign();var f,h;this.length>s.length?(f=this,h=s):(f=s,h=this);for(var g=0,x=0;x<h.length;x++)l=(f.words[x]|0)+(h.words[x]|0)+g,this.words[x]=l&67108863,g=l>>>26;for(;g!==0&&x<f.length;x++)l=(f.words[x]|0)+g,this.words[x]=l&67108863,g=l>>>26;if(this.length=f.length,g!==0)this.words[this.length]=g,this.length++;else if(f!==this)for(;x<f.length;x++)this.words[x]=f.words[x];return this},i.prototype.add=function(s){var l;return s.negative!==0&&this.negative===0?(s.negative=0,l=this.sub(s),s.negative^=1,l):s.negative===0&&this.negative!==0?(this.negative=0,l=s.sub(this),this.negative=1,l):this.length>s.length?this.clone().iadd(s):s.clone().iadd(this)},i.prototype.isub=function(s){if(s.negative!==0){s.negative=0;var l=this.iadd(s);return s.negative=1,l._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(s),this.negative=1,this._normSign();var f=this.cmp(s);if(f===0)return this.negative=0,this.length=1,this.words[0]=0,this;var h,g;f>0?(h=this,g=s):(h=s,g=this);for(var x=0,A=0;A<g.length;A++)l=(h.words[A]|0)-(g.words[A]|0)+x,x=l>>26,this.words[A]=l&67108863;for(;x!==0&&A<h.length;A++)l=(h.words[A]|0)+x,x=l>>26,this.words[A]=l&67108863;if(x===0&&A<h.length&&h!==this)for(;A<h.length;A++)this.words[A]=h.words[A];return this.length=Math.max(this.length,A),h!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(s){return this.clone().isub(s)};function E(w,s,l){l.negative=s.negative^w.negative;var f=w.length+s.length|0;l.length=f,f=f-1|0;var h=w.words[0]|0,g=s.words[0]|0,x=h*g,A=x&67108863,y=x/67108864|0;l.words[0]=A;for(var c=1;c<f;c++){for(var M=y>>>26,B=y&67108863,R=Math.min(c,s.length-1),Q=Math.max(0,c-w.length+1);Q<=R;Q++){var K=c-Q|0;h=w.words[K]|0,g=s.words[Q]|0,x=h*g+B,M+=x/67108864|0,B=x&67108863}l.words[c]=B|0,y=M|0}return y!==0?l.words[c]=y|0:l.length--,l.strip()}var T=function(s,l,f){var h=s.words,g=l.words,x=f.words,A=0,y,c,M,B=h[0]|0,R=B&8191,Q=B>>>13,K=h[1]|0,q=K&8191,P=K>>>13,G=h[2]|0,X=G&8191,ne=G>>>13,te=h[3]|0,V=te&8191,oe=te>>>13,xe=h[4]|0,fe=xe&8191,me=xe>>>13,Ze=h[5]|0,he=Ze&8191,Se=Ze>>>13,Ke=h[6]|0,ye=Ke&8191,ce=Ke>>>13,Fe=h[7]|0,pe=Fe&8191,we=Fe>>>13,gt=h[8]|0,$=gt&8191,U=gt>>>13,Z=h[9]|0,ie=Z&8191,se=Z>>>13,be=g[0]|0,le=be&8191,Ce=be>>>13,We=g[1]|0,Me=We&8191,De=We>>>13,st=g[2]|0,Te=st&8191,Oe=st>>>13,Ft=g[3]|0,Le=Ft&8191,Ue=Ft>>>13,Yt=g[4]|0,_e=Yt&8191,Pe=Yt>>>13,Mt=g[5]|0,Be=Mt&8191,He=Mt>>>13,sr=g[6]|0,ke=sr&8191,Ge=sr>>>13,J=g[7]|0,ee=J&8191,re=J>>>13,H=g[8]|0,ae=H&8191,ue=H>>>13,Ee=g[9]|0,de=Ee&8191,ve=Ee>>>13;f.negative=s.negative^l.negative,f.length=19,y=Math.imul(R,le),c=Math.imul(R,Ce),c=c+Math.imul(Q,le)|0,M=Math.imul(Q,Ce);var tt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(tt>>>26)|0,tt&=67108863,y=Math.imul(q,le),c=Math.imul(q,Ce),c=c+Math.imul(P,le)|0,M=Math.imul(P,Ce),y=y+Math.imul(R,Me)|0,c=c+Math.imul(R,De)|0,c=c+Math.imul(Q,Me)|0,M=M+Math.imul(Q,De)|0;var qe=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(qe>>>26)|0,qe&=67108863,y=Math.imul(X,le),c=Math.imul(X,Ce),c=c+Math.imul(ne,le)|0,M=Math.imul(ne,Ce),y=y+Math.imul(q,Me)|0,c=c+Math.imul(q,De)|0,c=c+Math.imul(P,Me)|0,M=M+Math.imul(P,De)|0,y=y+Math.imul(R,Te)|0,c=c+Math.imul(R,Oe)|0,c=c+Math.imul(Q,Te)|0,M=M+Math.imul(Q,Oe)|0;var _t=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(_t>>>26)|0,_t&=67108863,y=Math.imul(V,le),c=Math.imul(V,Ce),c=c+Math.imul(oe,le)|0,M=Math.imul(oe,Ce),y=y+Math.imul(X,Me)|0,c=c+Math.imul(X,De)|0,c=c+Math.imul(ne,Me)|0,M=M+Math.imul(ne,De)|0,y=y+Math.imul(q,Te)|0,c=c+Math.imul(q,Oe)|0,c=c+Math.imul(P,Te)|0,M=M+Math.imul(P,Oe)|0,y=y+Math.imul(R,Le)|0,c=c+Math.imul(R,Ue)|0,c=c+Math.imul(Q,Le)|0,M=M+Math.imul(Q,Ue)|0;var lt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(lt>>>26)|0,lt&=67108863,y=Math.imul(fe,le),c=Math.imul(fe,Ce),c=c+Math.imul(me,le)|0,M=Math.imul(me,Ce),y=y+Math.imul(V,Me)|0,c=c+Math.imul(V,De)|0,c=c+Math.imul(oe,Me)|0,M=M+Math.imul(oe,De)|0,y=y+Math.imul(X,Te)|0,c=c+Math.imul(X,Oe)|0,c=c+Math.imul(ne,Te)|0,M=M+Math.imul(ne,Oe)|0,y=y+Math.imul(q,Le)|0,c=c+Math.imul(q,Ue)|0,c=c+Math.imul(P,Le)|0,M=M+Math.imul(P,Ue)|0,y=y+Math.imul(R,_e)|0,c=c+Math.imul(R,Pe)|0,c=c+Math.imul(Q,_e)|0,M=M+Math.imul(Q,Pe)|0;var wt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(wt>>>26)|0,wt&=67108863,y=Math.imul(he,le),c=Math.imul(he,Ce),c=c+Math.imul(Se,le)|0,M=Math.imul(Se,Ce),y=y+Math.imul(fe,Me)|0,c=c+Math.imul(fe,De)|0,c=c+Math.imul(me,Me)|0,M=M+Math.imul(me,De)|0,y=y+Math.imul(V,Te)|0,c=c+Math.imul(V,Oe)|0,c=c+Math.imul(oe,Te)|0,M=M+Math.imul(oe,Oe)|0,y=y+Math.imul(X,Le)|0,c=c+Math.imul(X,Ue)|0,c=c+Math.imul(ne,Le)|0,M=M+Math.imul(ne,Ue)|0,y=y+Math.imul(q,_e)|0,c=c+Math.imul(q,Pe)|0,c=c+Math.imul(P,_e)|0,M=M+Math.imul(P,Pe)|0,y=y+Math.imul(R,Be)|0,c=c+Math.imul(R,He)|0,c=c+Math.imul(Q,Be)|0,M=M+Math.imul(Q,He)|0;var Et=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Et>>>26)|0,Et&=67108863,y=Math.imul(ye,le),c=Math.imul(ye,Ce),c=c+Math.imul(ce,le)|0,M=Math.imul(ce,Ce),y=y+Math.imul(he,Me)|0,c=c+Math.imul(he,De)|0,c=c+Math.imul(Se,Me)|0,M=M+Math.imul(Se,De)|0,y=y+Math.imul(fe,Te)|0,c=c+Math.imul(fe,Oe)|0,c=c+Math.imul(me,Te)|0,M=M+Math.imul(me,Oe)|0,y=y+Math.imul(V,Le)|0,c=c+Math.imul(V,Ue)|0,c=c+Math.imul(oe,Le)|0,M=M+Math.imul(oe,Ue)|0,y=y+Math.imul(X,_e)|0,c=c+Math.imul(X,Pe)|0,c=c+Math.imul(ne,_e)|0,M=M+Math.imul(ne,Pe)|0,y=y+Math.imul(q,Be)|0,c=c+Math.imul(q,He)|0,c=c+Math.imul(P,Be)|0,M=M+Math.imul(P,He)|0,y=y+Math.imul(R,ke)|0,c=c+Math.imul(R,Ge)|0,c=c+Math.imul(Q,ke)|0,M=M+Math.imul(Q,Ge)|0;var jt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(jt>>>26)|0,jt&=67108863,y=Math.imul(pe,le),c=Math.imul(pe,Ce),c=c+Math.imul(we,le)|0,M=Math.imul(we,Ce),y=y+Math.imul(ye,Me)|0,c=c+Math.imul(ye,De)|0,c=c+Math.imul(ce,Me)|0,M=M+Math.imul(ce,De)|0,y=y+Math.imul(he,Te)|0,c=c+Math.imul(he,Oe)|0,c=c+Math.imul(Se,Te)|0,M=M+Math.imul(Se,Oe)|0,y=y+Math.imul(fe,Le)|0,c=c+Math.imul(fe,Ue)|0,c=c+Math.imul(me,Le)|0,M=M+Math.imul(me,Ue)|0,y=y+Math.imul(V,_e)|0,c=c+Math.imul(V,Pe)|0,c=c+Math.imul(oe,_e)|0,M=M+Math.imul(oe,Pe)|0,y=y+Math.imul(X,Be)|0,c=c+Math.imul(X,He)|0,c=c+Math.imul(ne,Be)|0,M=M+Math.imul(ne,He)|0,y=y+Math.imul(q,ke)|0,c=c+Math.imul(q,Ge)|0,c=c+Math.imul(P,ke)|0,M=M+Math.imul(P,Ge)|0,y=y+Math.imul(R,ee)|0,c=c+Math.imul(R,re)|0,c=c+Math.imul(Q,ee)|0,M=M+Math.imul(Q,re)|0;var Nt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,y=Math.imul($,le),c=Math.imul($,Ce),c=c+Math.imul(U,le)|0,M=Math.imul(U,Ce),y=y+Math.imul(pe,Me)|0,c=c+Math.imul(pe,De)|0,c=c+Math.imul(we,Me)|0,M=M+Math.imul(we,De)|0,y=y+Math.imul(ye,Te)|0,c=c+Math.imul(ye,Oe)|0,c=c+Math.imul(ce,Te)|0,M=M+Math.imul(ce,Oe)|0,y=y+Math.imul(he,Le)|0,c=c+Math.imul(he,Ue)|0,c=c+Math.imul(Se,Le)|0,M=M+Math.imul(Se,Ue)|0,y=y+Math.imul(fe,_e)|0,c=c+Math.imul(fe,Pe)|0,c=c+Math.imul(me,_e)|0,M=M+Math.imul(me,Pe)|0,y=y+Math.imul(V,Be)|0,c=c+Math.imul(V,He)|0,c=c+Math.imul(oe,Be)|0,M=M+Math.imul(oe,He)|0,y=y+Math.imul(X,ke)|0,c=c+Math.imul(X,Ge)|0,c=c+Math.imul(ne,ke)|0,M=M+Math.imul(ne,Ge)|0,y=y+Math.imul(q,ee)|0,c=c+Math.imul(q,re)|0,c=c+Math.imul(P,ee)|0,M=M+Math.imul(P,re)|0,y=y+Math.imul(R,ae)|0,c=c+Math.imul(R,ue)|0,c=c+Math.imul(Q,ae)|0,M=M+Math.imul(Q,ue)|0;var St=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(St>>>26)|0,St&=67108863,y=Math.imul(ie,le),c=Math.imul(ie,Ce),c=c+Math.imul(se,le)|0,M=Math.imul(se,Ce),y=y+Math.imul($,Me)|0,c=c+Math.imul($,De)|0,c=c+Math.imul(U,Me)|0,M=M+Math.imul(U,De)|0,y=y+Math.imul(pe,Te)|0,c=c+Math.imul(pe,Oe)|0,c=c+Math.imul(we,Te)|0,M=M+Math.imul(we,Oe)|0,y=y+Math.imul(ye,Le)|0,c=c+Math.imul(ye,Ue)|0,c=c+Math.imul(ce,Le)|0,M=M+Math.imul(ce,Ue)|0,y=y+Math.imul(he,_e)|0,c=c+Math.imul(he,Pe)|0,c=c+Math.imul(Se,_e)|0,M=M+Math.imul(Se,Pe)|0,y=y+Math.imul(fe,Be)|0,c=c+Math.imul(fe,He)|0,c=c+Math.imul(me,Be)|0,M=M+Math.imul(me,He)|0,y=y+Math.imul(V,ke)|0,c=c+Math.imul(V,Ge)|0,c=c+Math.imul(oe,ke)|0,M=M+Math.imul(oe,Ge)|0,y=y+Math.imul(X,ee)|0,c=c+Math.imul(X,re)|0,c=c+Math.imul(ne,ee)|0,M=M+Math.imul(ne,re)|0,y=y+Math.imul(q,ae)|0,c=c+Math.imul(q,ue)|0,c=c+Math.imul(P,ae)|0,M=M+Math.imul(P,ue)|0,y=y+Math.imul(R,de)|0,c=c+Math.imul(R,ve)|0,c=c+Math.imul(Q,de)|0,M=M+Math.imul(Q,ve)|0;var It=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(It>>>26)|0,It&=67108863,y=Math.imul(ie,Me),c=Math.imul(ie,De),c=c+Math.imul(se,Me)|0,M=Math.imul(se,De),y=y+Math.imul($,Te)|0,c=c+Math.imul($,Oe)|0,c=c+Math.imul(U,Te)|0,M=M+Math.imul(U,Oe)|0,y=y+Math.imul(pe,Le)|0,c=c+Math.imul(pe,Ue)|0,c=c+Math.imul(we,Le)|0,M=M+Math.imul(we,Ue)|0,y=y+Math.imul(ye,_e)|0,c=c+Math.imul(ye,Pe)|0,c=c+Math.imul(ce,_e)|0,M=M+Math.imul(ce,Pe)|0,y=y+Math.imul(he,Be)|0,c=c+Math.imul(he,He)|0,c=c+Math.imul(Se,Be)|0,M=M+Math.imul(Se,He)|0,y=y+Math.imul(fe,ke)|0,c=c+Math.imul(fe,Ge)|0,c=c+Math.imul(me,ke)|0,M=M+Math.imul(me,Ge)|0,y=y+Math.imul(V,ee)|0,c=c+Math.imul(V,re)|0,c=c+Math.imul(oe,ee)|0,M=M+Math.imul(oe,re)|0,y=y+Math.imul(X,ae)|0,c=c+Math.imul(X,ue)|0,c=c+Math.imul(ne,ae)|0,M=M+Math.imul(ne,ue)|0,y=y+Math.imul(q,de)|0,c=c+Math.imul(q,ve)|0,c=c+Math.imul(P,de)|0,M=M+Math.imul(P,ve)|0;var Dt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,y=Math.imul(ie,Te),c=Math.imul(ie,Oe),c=c+Math.imul(se,Te)|0,M=Math.imul(se,Oe),y=y+Math.imul($,Le)|0,c=c+Math.imul($,Ue)|0,c=c+Math.imul(U,Le)|0,M=M+Math.imul(U,Ue)|0,y=y+Math.imul(pe,_e)|0,c=c+Math.imul(pe,Pe)|0,c=c+Math.imul(we,_e)|0,M=M+Math.imul(we,Pe)|0,y=y+Math.imul(ye,Be)|0,c=c+Math.imul(ye,He)|0,c=c+Math.imul(ce,Be)|0,M=M+Math.imul(ce,He)|0,y=y+Math.imul(he,ke)|0,c=c+Math.imul(he,Ge)|0,c=c+Math.imul(Se,ke)|0,M=M+Math.imul(Se,Ge)|0,y=y+Math.imul(fe,ee)|0,c=c+Math.imul(fe,re)|0,c=c+Math.imul(me,ee)|0,M=M+Math.imul(me,re)|0,y=y+Math.imul(V,ae)|0,c=c+Math.imul(V,ue)|0,c=c+Math.imul(oe,ae)|0,M=M+Math.imul(oe,ue)|0,y=y+Math.imul(X,de)|0,c=c+Math.imul(X,ve)|0,c=c+Math.imul(ne,de)|0,M=M+Math.imul(ne,ve)|0;var dt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(dt>>>26)|0,dt&=67108863,y=Math.imul(ie,Le),c=Math.imul(ie,Ue),c=c+Math.imul(se,Le)|0,M=Math.imul(se,Ue),y=y+Math.imul($,_e)|0,c=c+Math.imul($,Pe)|0,c=c+Math.imul(U,_e)|0,M=M+Math.imul(U,Pe)|0,y=y+Math.imul(pe,Be)|0,c=c+Math.imul(pe,He)|0,c=c+Math.imul(we,Be)|0,M=M+Math.imul(we,He)|0,y=y+Math.imul(ye,ke)|0,c=c+Math.imul(ye,Ge)|0,c=c+Math.imul(ce,ke)|0,M=M+Math.imul(ce,Ge)|0,y=y+Math.imul(he,ee)|0,c=c+Math.imul(he,re)|0,c=c+Math.imul(Se,ee)|0,M=M+Math.imul(Se,re)|0,y=y+Math.imul(fe,ae)|0,c=c+Math.imul(fe,ue)|0,c=c+Math.imul(me,ae)|0,M=M+Math.imul(me,ue)|0,y=y+Math.imul(V,de)|0,c=c+Math.imul(V,ve)|0,c=c+Math.imul(oe,de)|0,M=M+Math.imul(oe,ve)|0;var yt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(yt>>>26)|0,yt&=67108863,y=Math.imul(ie,_e),c=Math.imul(ie,Pe),c=c+Math.imul(se,_e)|0,M=Math.imul(se,Pe),y=y+Math.imul($,Be)|0,c=c+Math.imul($,He)|0,c=c+Math.imul(U,Be)|0,M=M+Math.imul(U,He)|0,y=y+Math.imul(pe,ke)|0,c=c+Math.imul(pe,Ge)|0,c=c+Math.imul(we,ke)|0,M=M+Math.imul(we,Ge)|0,y=y+Math.imul(ye,ee)|0,c=c+Math.imul(ye,re)|0,c=c+Math.imul(ce,ee)|0,M=M+Math.imul(ce,re)|0,y=y+Math.imul(he,ae)|0,c=c+Math.imul(he,ue)|0,c=c+Math.imul(Se,ae)|0,M=M+Math.imul(Se,ue)|0,y=y+Math.imul(fe,de)|0,c=c+Math.imul(fe,ve)|0,c=c+Math.imul(me,de)|0,M=M+Math.imul(me,ve)|0;var ot=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(ot>>>26)|0,ot&=67108863,y=Math.imul(ie,Be),c=Math.imul(ie,He),c=c+Math.imul(se,Be)|0,M=Math.imul(se,He),y=y+Math.imul($,ke)|0,c=c+Math.imul($,Ge)|0,c=c+Math.imul(U,ke)|0,M=M+Math.imul(U,Ge)|0,y=y+Math.imul(pe,ee)|0,c=c+Math.imul(pe,re)|0,c=c+Math.imul(we,ee)|0,M=M+Math.imul(we,re)|0,y=y+Math.imul(ye,ae)|0,c=c+Math.imul(ye,ue)|0,c=c+Math.imul(ce,ae)|0,M=M+Math.imul(ce,ue)|0,y=y+Math.imul(he,de)|0,c=c+Math.imul(he,ve)|0,c=c+Math.imul(Se,de)|0,M=M+Math.imul(Se,ve)|0;var ht=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(ht>>>26)|0,ht&=67108863,y=Math.imul(ie,ke),c=Math.imul(ie,Ge),c=c+Math.imul(se,ke)|0,M=Math.imul(se,Ge),y=y+Math.imul($,ee)|0,c=c+Math.imul($,re)|0,c=c+Math.imul(U,ee)|0,M=M+Math.imul(U,re)|0,y=y+Math.imul(pe,ae)|0,c=c+Math.imul(pe,ue)|0,c=c+Math.imul(we,ae)|0,M=M+Math.imul(we,ue)|0,y=y+Math.imul(ye,de)|0,c=c+Math.imul(ye,ve)|0,c=c+Math.imul(ce,de)|0,M=M+Math.imul(ce,ve)|0;var pt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(pt>>>26)|0,pt&=67108863,y=Math.imul(ie,ee),c=Math.imul(ie,re),c=c+Math.imul(se,ee)|0,M=Math.imul(se,re),y=y+Math.imul($,ae)|0,c=c+Math.imul($,ue)|0,c=c+Math.imul(U,ae)|0,M=M+Math.imul(U,ue)|0,y=y+Math.imul(pe,de)|0,c=c+Math.imul(pe,ve)|0,c=c+Math.imul(we,de)|0,M=M+Math.imul(we,ve)|0;var nt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(nt>>>26)|0,nt&=67108863,y=Math.imul(ie,ae),c=Math.imul(ie,ue),c=c+Math.imul(se,ae)|0,M=Math.imul(se,ue),y=y+Math.imul($,de)|0,c=c+Math.imul($,ve)|0,c=c+Math.imul(U,de)|0,M=M+Math.imul(U,ve)|0;var Ie=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,y=Math.imul(ie,de),c=Math.imul(ie,ve),c=c+Math.imul(se,de)|0,M=Math.imul(se,ve);var Ne=(A+y|0)+((c&8191)<<13)|0;return A=(M+(c>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,x[0]=tt,x[1]=qe,x[2]=_t,x[3]=lt,x[4]=wt,x[5]=Et,x[6]=jt,x[7]=Nt,x[8]=St,x[9]=It,x[10]=Dt,x[11]=dt,x[12]=yt,x[13]=ot,x[14]=ht,x[15]=pt,x[16]=nt,x[17]=Ie,x[18]=Ne,A!==0&&(x[19]=A,f.length++),f};Math.imul||(T=E);function I(w,s,l){l.negative=s.negative^w.negative,l.length=w.length+s.length;for(var f=0,h=0,g=0;g<l.length-1;g++){var x=h;h=0;for(var A=f&67108863,y=Math.min(g,s.length-1),c=Math.max(0,g-w.length+1);c<=y;c++){var M=g-c,B=w.words[M]|0,R=s.words[c]|0,Q=B*R,K=Q&67108863;x=x+(Q/67108864|0)|0,K=K+A|0,A=K&67108863,x=x+(K>>>26)|0,h+=x>>>26,x&=67108863}l.words[g]=A,f=x,x=h}return f!==0?l.words[g]=f:l.length--,l.strip()}function D(w,s,l){var f=new S;return f.mulp(w,s,l)}i.prototype.mulTo=function(s,l){var f,h=this.length+s.length;return this.length===10&&s.length===10?f=T(this,s,l):h<63?f=E(this,s,l):h<1024?f=I(this,s,l):f=D(this,s,l),f};function S(w,s){this.x=w,this.y=s}S.prototype.makeRBT=function(s){for(var l=new Array(s),f=i.prototype._countBits(s)-1,h=0;h<s;h++)l[h]=this.revBin(h,f,s);return l},S.prototype.revBin=function(s,l,f){if(s===0||s===f-1)return s;for(var h=0,g=0;g<l;g++)h|=(s&1)<<l-g-1,s>>=1;return h},S.prototype.permute=function(s,l,f,h,g,x){for(var A=0;A<x;A++)h[A]=l[s[A]],g[A]=f[s[A]]},S.prototype.transform=function(s,l,f,h,g,x){this.permute(x,s,l,f,h,g);for(var A=1;A<g;A<<=1)for(var y=A<<1,c=Math.cos(2*Math.PI/y),M=Math.sin(2*Math.PI/y),B=0;B<g;B+=y)for(var R=c,Q=M,K=0;K<A;K++){var q=f[B+K],P=h[B+K],G=f[B+K+A],X=h[B+K+A],ne=R*G-Q*X;X=R*X+Q*G,G=ne,f[B+K]=q+G,h[B+K]=P+X,f[B+K+A]=q-G,h[B+K+A]=P-X,K!==y&&(ne=c*R-M*Q,Q=c*Q+M*R,R=ne)}},S.prototype.guessLen13b=function(s,l){var f=Math.max(l,s)|1,h=f&1,g=0;for(f=f/2|0;f;f=f>>>1)g++;return 1<<g+1+h},S.prototype.conjugate=function(s,l,f){if(!(f<=1))for(var h=0;h<f/2;h++){var g=s[h];s[h]=s[f-h-1],s[f-h-1]=g,g=l[h],l[h]=-l[f-h-1],l[f-h-1]=-g}},S.prototype.normalize13b=function(s,l){for(var f=0,h=0;h<l/2;h++){var g=Math.round(s[2*h+1]/l)*8192+Math.round(s[2*h]/l)+f;s[h]=g&67108863,g<67108864?f=0:f=g/67108864|0}return s},S.prototype.convert13b=function(s,l,f,h){for(var g=0,x=0;x<l;x++)g=g+(s[x]|0),f[2*x]=g&8191,g=g>>>13,f[2*x+1]=g&8191,g=g>>>13;for(x=2*l;x<h;++x)f[x]=0;n(g===0),n((g&-8192)===0)},S.prototype.stub=function(s){for(var l=new Array(s),f=0;f<s;f++)l[f]=0;return l},S.prototype.mulp=function(s,l,f){var h=2*this.guessLen13b(s.length,l.length),g=this.makeRBT(h),x=this.stub(h),A=new Array(h),y=new Array(h),c=new Array(h),M=new Array(h),B=new Array(h),R=new Array(h),Q=f.words;Q.length=h,this.convert13b(s.words,s.length,A,h),this.convert13b(l.words,l.length,M,h),this.transform(A,x,y,c,h,g),this.transform(M,x,B,R,h,g);for(var K=0;K<h;K++){var q=y[K]*B[K]-c[K]*R[K];c[K]=y[K]*R[K]+c[K]*B[K],y[K]=q}return this.conjugate(y,c,h),this.transform(y,c,Q,x,h,g),this.conjugate(Q,x,h),this.normalize13b(Q,h),f.negative=s.negative^l.negative,f.length=s.length+l.length,f.strip()},i.prototype.mul=function(s){var l=new i(null);return l.words=new Array(this.length+s.length),this.mulTo(s,l)},i.prototype.mulf=function(s){var l=new i(null);return l.words=new Array(this.length+s.length),D(this,s,l)},i.prototype.imul=function(s){return this.clone().mulTo(s,this)},i.prototype.imuln=function(s){n(typeof s=="number"),n(s<67108864);for(var l=0,f=0;f<this.length;f++){var h=(this.words[f]|0)*s,g=(h&67108863)+(l&67108863);l>>=26,l+=h/67108864|0,l+=g>>>26,this.words[f]=g&67108863}return l!==0&&(this.words[f]=l,this.length++),this.length=s===0?1:this.length,this},i.prototype.muln=function(s){return this.clone().imuln(s)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(s){var l=C(s);if(l.length===0)return new i(1);for(var f=this,h=0;h<l.length&&l[h]===0;h++,f=f.sqr());if(++h<l.length)for(var g=f.sqr();h<l.length;h++,g=g.sqr())l[h]!==0&&(f=f.mul(g));return f},i.prototype.iushln=function(s){n(typeof s=="number"&&s>=0);var l=s%26,f=(s-l)/26,h=67108863>>>26-l<<26-l,g;if(l!==0){var x=0;for(g=0;g<this.length;g++){var A=this.words[g]&h,y=(this.words[g]|0)-A<<l;this.words[g]=y|x,x=A>>>26-l}x&&(this.words[g]=x,this.length++)}if(f!==0){for(g=this.length-1;g>=0;g--)this.words[g+f]=this.words[g];for(g=0;g<f;g++)this.words[g]=0;this.length+=f}return this.strip()},i.prototype.ishln=function(s){return n(this.negative===0),this.iushln(s)},i.prototype.iushrn=function(s,l,f){n(typeof s=="number"&&s>=0);var h;l?h=(l-l%26)/26:h=0;var g=s%26,x=Math.min((s-g)/26,this.length),A=67108863^67108863>>>g<<g,y=f;if(h-=x,h=Math.max(0,h),y){for(var c=0;c<x;c++)y.words[c]=this.words[c];y.length=x}if(x!==0)if(this.length>x)for(this.length-=x,c=0;c<this.length;c++)this.words[c]=this.words[c+x];else this.words[0]=0,this.length=1;var M=0;for(c=this.length-1;c>=0&&(M!==0||c>=h);c--){var B=this.words[c]|0;this.words[c]=M<<26-g|B>>>g,M=B&A}return y&&M!==0&&(y.words[y.length++]=M),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(s,l,f){return n(this.negative===0),this.iushrn(s,l,f)},i.prototype.shln=function(s){return this.clone().ishln(s)},i.prototype.ushln=function(s){return this.clone().iushln(s)},i.prototype.shrn=function(s){return this.clone().ishrn(s)},i.prototype.ushrn=function(s){return this.clone().iushrn(s)},i.prototype.testn=function(s){n(typeof s=="number"&&s>=0);var l=s%26,f=(s-l)/26,h=1<<l;if(this.length<=f)return!1;var g=this.words[f];return!!(g&h)},i.prototype.imaskn=function(s){n(typeof s=="number"&&s>=0);var l=s%26,f=(s-l)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=f)return this;if(l!==0&&f++,this.length=Math.min(f,this.length),l!==0){var h=67108863^67108863>>>l<<l;this.words[this.length-1]&=h}return this.strip()},i.prototype.maskn=function(s){return this.clone().imaskn(s)},i.prototype.iaddn=function(s){return n(typeof s=="number"),n(s<67108864),s<0?this.isubn(-s):this.negative!==0?this.length===1&&(this.words[0]|0)<s?(this.words[0]=s-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(s),this.negative=1,this):this._iaddn(s)},i.prototype._iaddn=function(s){this.words[0]+=s;for(var l=0;l<this.length&&this.words[l]>=67108864;l++)this.words[l]-=67108864,l===this.length-1?this.words[l+1]=1:this.words[l+1]++;return this.length=Math.max(this.length,l+1),this},i.prototype.isubn=function(s){if(n(typeof s=="number"),n(s<67108864),s<0)return this.iaddn(-s);if(this.negative!==0)return this.negative=0,this.iaddn(s),this.negative=1,this;if(this.words[0]-=s,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var l=0;l<this.length&&this.words[l]<0;l++)this.words[l]+=67108864,this.words[l+1]-=1;return this.strip()},i.prototype.addn=function(s){return this.clone().iaddn(s)},i.prototype.subn=function(s){return this.clone().isubn(s)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(s,l,f){var h=s.length+f,g;this._expand(h);var x,A=0;for(g=0;g<s.length;g++){x=(this.words[g+f]|0)+A;var y=(s.words[g]|0)*l;x-=y&67108863,A=(x>>26)-(y/67108864|0),this.words[g+f]=x&67108863}for(;g<this.length-f;g++)x=(this.words[g+f]|0)+A,A=x>>26,this.words[g+f]=x&67108863;if(A===0)return this.strip();for(n(A===-1),A=0,g=0;g<this.length;g++)x=-(this.words[g]|0)+A,A=x>>26,this.words[g]=x&67108863;return this.negative=1,this.strip()},i.prototype._wordDiv=function(s,l){var f=this.length-s.length,h=this.clone(),g=s,x=g.words[g.length-1]|0,A=this._countBits(x);f=26-A,f!==0&&(g=g.ushln(f),h.iushln(f),x=g.words[g.length-1]|0);var y=h.length-g.length,c;if(l!=="mod"){c=new i(null),c.length=y+1,c.words=new Array(c.length);for(var M=0;M<c.length;M++)c.words[M]=0}var B=h.clone()._ishlnsubmul(g,1,y);B.negative===0&&(h=B,c&&(c.words[y]=1));for(var R=y-1;R>=0;R--){var Q=(h.words[g.length+R]|0)*67108864+(h.words[g.length+R-1]|0);for(Q=Math.min(Q/x|0,67108863),h._ishlnsubmul(g,Q,R);h.negative!==0;)Q--,h.negative=0,h._ishlnsubmul(g,1,R),h.isZero()||(h.negative^=1);c&&(c.words[R]=Q)}return c&&c.strip(),h.strip(),l!=="div"&&f!==0&&h.iushrn(f),{div:c||null,mod:h}},i.prototype.divmod=function(s,l,f){if(n(!s.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var h,g,x;return this.negative!==0&&s.negative===0?(x=this.neg().divmod(s,l),l!=="mod"&&(h=x.div.neg()),l!=="div"&&(g=x.mod.neg(),f&&g.negative!==0&&g.iadd(s)),{div:h,mod:g}):this.negative===0&&s.negative!==0?(x=this.divmod(s.neg(),l),l!=="mod"&&(h=x.div.neg()),{div:h,mod:x.mod}):this.negative&s.negative?(x=this.neg().divmod(s.neg(),l),l!=="div"&&(g=x.mod.neg(),f&&g.negative!==0&&g.isub(s)),{div:x.div,mod:g}):s.length>this.length||this.cmp(s)<0?{div:new i(0),mod:this}:s.length===1?l==="div"?{div:this.divn(s.words[0]),mod:null}:l==="mod"?{div:null,mod:new i(this.modn(s.words[0]))}:{div:this.divn(s.words[0]),mod:new i(this.modn(s.words[0]))}:this._wordDiv(s,l)},i.prototype.div=function(s){return this.divmod(s,"div",!1).div},i.prototype.mod=function(s){return this.divmod(s,"mod",!1).mod},i.prototype.umod=function(s){return this.divmod(s,"mod",!0).mod},i.prototype.divRound=function(s){var l=this.divmod(s);if(l.mod.isZero())return l.div;var f=l.div.negative!==0?l.mod.isub(s):l.mod,h=s.ushrn(1),g=s.andln(1),x=f.cmp(h);return x<0||g===1&&x===0?l.div:l.div.negative!==0?l.div.isubn(1):l.div.iaddn(1)},i.prototype.modn=function(s){n(s<=67108863);for(var l=(1<<26)%s,f=0,h=this.length-1;h>=0;h--)f=(l*f+(this.words[h]|0))%s;return f},i.prototype.idivn=function(s){n(s<=67108863);for(var l=0,f=this.length-1;f>=0;f--){var h=(this.words[f]|0)+l*67108864;this.words[f]=h/s|0,l=h%s}return this.strip()},i.prototype.divn=function(s){return this.clone().idivn(s)},i.prototype.egcd=function(s){n(s.negative===0),n(!s.isZero());var l=this,f=s.clone();l.negative!==0?l=l.umod(s):l=l.clone();for(var h=new i(1),g=new i(0),x=new i(0),A=new i(1),y=0;l.isEven()&&f.isEven();)l.iushrn(1),f.iushrn(1),++y;for(var c=f.clone(),M=l.clone();!l.isZero();){for(var B=0,R=1;!(l.words[0]&R)&&B<26;++B,R<<=1);if(B>0)for(l.iushrn(B);B-- >0;)(h.isOdd()||g.isOdd())&&(h.iadd(c),g.isub(M)),h.iushrn(1),g.iushrn(1);for(var Q=0,K=1;!(f.words[0]&K)&&Q<26;++Q,K<<=1);if(Q>0)for(f.iushrn(Q);Q-- >0;)(x.isOdd()||A.isOdd())&&(x.iadd(c),A.isub(M)),x.iushrn(1),A.iushrn(1);l.cmp(f)>=0?(l.isub(f),h.isub(x),g.isub(A)):(f.isub(l),x.isub(h),A.isub(g))}return{a:x,b:A,gcd:f.iushln(y)}},i.prototype._invmp=function(s){n(s.negative===0),n(!s.isZero());var l=this,f=s.clone();l.negative!==0?l=l.umod(s):l=l.clone();for(var h=new i(1),g=new i(0),x=f.clone();l.cmpn(1)>0&&f.cmpn(1)>0;){for(var A=0,y=1;!(l.words[0]&y)&&A<26;++A,y<<=1);if(A>0)for(l.iushrn(A);A-- >0;)h.isOdd()&&h.iadd(x),h.iushrn(1);for(var c=0,M=1;!(f.words[0]&M)&&c<26;++c,M<<=1);if(c>0)for(f.iushrn(c);c-- >0;)g.isOdd()&&g.iadd(x),g.iushrn(1);l.cmp(f)>=0?(l.isub(f),h.isub(g)):(f.isub(l),g.isub(h))}var B;return l.cmpn(1)===0?B=h:B=g,B.cmpn(0)<0&&B.iadd(s),B},i.prototype.gcd=function(s){if(this.isZero())return s.abs();if(s.isZero())return this.abs();var l=this.clone(),f=s.clone();l.negative=0,f.negative=0;for(var h=0;l.isEven()&&f.isEven();h++)l.iushrn(1),f.iushrn(1);do{for(;l.isEven();)l.iushrn(1);for(;f.isEven();)f.iushrn(1);var g=l.cmp(f);if(g<0){var x=l;l=f,f=x}else if(g===0||f.cmpn(1)===0)break;l.isub(f)}while(!0);return f.iushln(h)},i.prototype.invm=function(s){return this.egcd(s).a.umod(s)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(s){return this.words[0]&s},i.prototype.bincn=function(s){n(typeof s=="number");var l=s%26,f=(s-l)/26,h=1<<l;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var g=h,x=f;g!==0&&x<this.length;x++){var A=this.words[x]|0;A+=g,g=A>>>26,A&=67108863,this.words[x]=A}return g!==0&&(this.words[x]=g,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(s){var l=s<0;if(this.negative!==0&&!l)return-1;if(this.negative===0&&l)return 1;this.strip();var f;if(this.length>1)f=1;else{l&&(s=-s),n(s<=67108863,"Number is too big");var h=this.words[0]|0;f=h===s?0:h<s?-1:1}return this.negative!==0?-f|0:f},i.prototype.cmp=function(s){if(this.negative!==0&&s.negative===0)return-1;if(this.negative===0&&s.negative!==0)return 1;var l=this.ucmp(s);return this.negative!==0?-l|0:l},i.prototype.ucmp=function(s){if(this.length>s.length)return 1;if(this.length<s.length)return-1;for(var l=0,f=this.length-1;f>=0;f--){var h=this.words[f]|0,g=s.words[f]|0;if(h!==g){h<g?l=-1:h>g&&(l=1);break}}return l},i.prototype.gtn=function(s){return this.cmpn(s)===1},i.prototype.gt=function(s){return this.cmp(s)===1},i.prototype.gten=function(s){return this.cmpn(s)>=0},i.prototype.gte=function(s){return this.cmp(s)>=0},i.prototype.ltn=function(s){return this.cmpn(s)===-1},i.prototype.lt=function(s){return this.cmp(s)===-1},i.prototype.lten=function(s){return this.cmpn(s)<=0},i.prototype.lte=function(s){return this.cmp(s)<=0},i.prototype.eqn=function(s){return this.cmpn(s)===0},i.prototype.eq=function(s){return this.cmp(s)===0},i.red=function(s){return new z(s)},i.prototype.toRed=function(s){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),s.convertTo(this)._forceRed(s)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(s){return this.red=s,this},i.prototype.forceRed=function(s){return n(!this.red,"Already a number in reduction context"),this._forceRed(s)},i.prototype.redAdd=function(s){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,s)},i.prototype.redIAdd=function(s){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,s)},i.prototype.redSub=function(s){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,s)},i.prototype.redISub=function(s){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,s)},i.prototype.redShl=function(s){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,s)},i.prototype.redMul=function(s){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.mul(this,s)},i.prototype.redIMul=function(s){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.imul(this,s)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(s){return n(this.red&&!s.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,s)};var N={k256:null,p224:null,p192:null,p25519:null};function j(w,s){this.name=w,this.p=new i(s,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}j.prototype._tmp=function(){var s=new i(null);return s.words=new Array(Math.ceil(this.n/13)),s},j.prototype.ireduce=function(s){var l=s,f;do this.split(l,this.tmp),l=this.imulK(l),l=l.iadd(this.tmp),f=l.bitLength();while(f>this.n);var h=f<this.n?-1:l.ucmp(this.p);return h===0?(l.words[0]=0,l.length=1):h>0?l.isub(this.p):l.strip!==void 0?l.strip():l._strip(),l},j.prototype.split=function(s,l){s.iushrn(this.n,0,l)},j.prototype.imulK=function(s){return s.imul(this.k)};function F(){j.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(F,j),F.prototype.split=function(s,l){for(var f=4194303,h=Math.min(s.length,9),g=0;g<h;g++)l.words[g]=s.words[g];if(l.length=h,s.length<=9){s.words[0]=0,s.length=1;return}var x=s.words[9];for(l.words[l.length++]=x&f,g=10;g<s.length;g++){var A=s.words[g]|0;s.words[g-10]=(A&f)<<4|x>>>22,x=A}x>>>=22,s.words[g-10]=x,x===0&&s.length>10?s.length-=10:s.length-=9},F.prototype.imulK=function(s){s.words[s.length]=0,s.words[s.length+1]=0,s.length+=2;for(var l=0,f=0;f<s.length;f++){var h=s.words[f]|0;l+=h*977,s.words[f]=l&67108863,l=h*64+(l/67108864|0)}return s.words[s.length-1]===0&&(s.length--,s.words[s.length-1]===0&&s.length--),s};function O(){j.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}a(O,j);function W(){j.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}a(W,j);function _(){j.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}a(_,j),_.prototype.imulK=function(s){for(var l=0,f=0;f<s.length;f++){var h=(s.words[f]|0)*19+l,g=h&67108863;h>>>=26,s.words[f]=g,l=h}return l!==0&&(s.words[s.length++]=l),s},i._prime=function(s){if(N[s])return N[s];var l;if(s==="k256")l=new F;else if(s==="p224")l=new O;else if(s==="p192")l=new W;else if(s==="p25519")l=new _;else throw new Error("Unknown prime "+s);return N[s]=l,l};function z(w){if(typeof w=="string"){var s=i._prime(w);this.m=s.p,this.prime=s}else n(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}z.prototype._verify1=function(s){n(s.negative===0,"red works only with positives"),n(s.red,"red works only with red numbers")},z.prototype._verify2=function(s,l){n((s.negative|l.negative)===0,"red works only with positives"),n(s.red&&s.red===l.red,"red works only with red numbers")},z.prototype.imod=function(s){return this.prime?this.prime.ireduce(s)._forceRed(this):s.umod(this.m)._forceRed(this)},z.prototype.neg=function(s){return s.isZero()?s.clone():this.m.sub(s)._forceRed(this)},z.prototype.add=function(s,l){this._verify2(s,l);var f=s.add(l);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},z.prototype.iadd=function(s,l){this._verify2(s,l);var f=s.iadd(l);return f.cmp(this.m)>=0&&f.isub(this.m),f},z.prototype.sub=function(s,l){this._verify2(s,l);var f=s.sub(l);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},z.prototype.isub=function(s,l){this._verify2(s,l);var f=s.isub(l);return f.cmpn(0)<0&&f.iadd(this.m),f},z.prototype.shl=function(s,l){return this._verify1(s),this.imod(s.ushln(l))},z.prototype.imul=function(s,l){return this._verify2(s,l),this.imod(s.imul(l))},z.prototype.mul=function(s,l){return this._verify2(s,l),this.imod(s.mul(l))},z.prototype.isqr=function(s){return this.imul(s,s.clone())},z.prototype.sqr=function(s){return this.mul(s,s)},z.prototype.sqrt=function(s){if(s.isZero())return s.clone();var l=this.m.andln(3);if(n(l%2===1),l===3){var f=this.m.add(new i(1)).iushrn(2);return this.pow(s,f)}for(var h=this.m.subn(1),g=0;!h.isZero()&&h.andln(1)===0;)g++,h.iushrn(1);n(!h.isZero());var x=new i(1).toRed(this),A=x.redNeg(),y=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new i(2*c*c).toRed(this);this.pow(c,y).cmp(A)!==0;)c.redIAdd(A);for(var M=this.pow(c,h),B=this.pow(s,h.addn(1).iushrn(1)),R=this.pow(s,h),Q=g;R.cmp(x)!==0;){for(var K=R,q=0;K.cmp(x)!==0;q++)K=K.redSqr();n(q<Q);var P=this.pow(M,new i(1).iushln(Q-q-1));B=B.redMul(P),M=P.redSqr(),R=R.redMul(M),Q=q}return B},z.prototype.invm=function(s){var l=s._invmp(this.m);return l.negative!==0?(l.negative=0,this.imod(l).redNeg()):this.imod(l)},z.prototype.pow=function(s,l){if(l.isZero())return new i(1).toRed(this);if(l.cmpn(1)===0)return s.clone();var f=4,h=new Array(1<<f);h[0]=new i(1).toRed(this),h[1]=s;for(var g=2;g<h.length;g++)h[g]=this.mul(h[g-1],s);var x=h[0],A=0,y=0,c=l.bitLength()%26;for(c===0&&(c=26),g=l.length-1;g>=0;g--){for(var M=l.words[g],B=c-1;B>=0;B--){var R=M>>B&1;if(x!==h[0]&&(x=this.sqr(x)),R===0&&A===0){y=0;continue}A<<=1,A|=R,y++,!(y!==f&&(g!==0||B!==0))&&(x=this.mul(x,h[A]),y=0,A=0)}c=26}return x},z.prototype.convertTo=function(s){var l=s.umod(this.m);return l===s?l.clone():l},z.prototype.convertFrom=function(s){var l=s.clone();return l.red=null,l},i.mont=function(s){return new k(s)};function k(w){z.call(this,w),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(k,z),k.prototype.convertTo=function(s){return this.imod(s.ushln(this.shift))},k.prototype.convertFrom=function(s){var l=this.imod(s.mul(this.rinv));return l.red=null,l},k.prototype.imul=function(s,l){if(s.isZero()||l.isZero())return s.words[0]=0,s.length=1,s;var f=s.imul(l),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=f.isub(h).iushrn(this.shift),x=g;return g.cmp(this.m)>=0?x=g.isub(this.m):g.cmpn(0)<0&&(x=g.iadd(this.m)),x._forceRed(this)},k.prototype.mul=function(s,l){if(s.isZero()||l.isZero())return new i(0)._forceRed(this);var f=s.mul(l),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=f.isub(h).iushrn(this.shift),x=g;return g.cmp(this.m)>=0?x=g.isub(this.m):g.cmpn(0)<0&&(x=g.iadd(this.m)),x._forceRed(this)},k.prototype.invm=function(s){var l=this.imod(s._invmp(this.m).mul(this.r2));return l._forceRed(this)}})(e,Ut)}(t3)),t3.exports}var b8={},kD;function rO(){return kD||(kD=1,function(e){var t=e;function r(i,o){if(Array.isArray(i))return i.slice();if(!i)return[];var u=[];if(typeof i!="string"){for(var d=0;d<i.length;d++)u[d]=i[d]|0;return u}if(o==="hex"){i=i.replace(/[^a-z0-9]+/ig,""),i.length%2!==0&&(i="0"+i);for(var d=0;d<i.length;d+=2)u.push(parseInt(i[d]+i[d+1],16))}else for(var d=0;d<i.length;d++){var p=i.charCodeAt(d),m=p>>8,b=p&255;m?u.push(m,b):u.push(b)}return u}t.toArray=r;function n(i){return i.length===1?"0"+i:i}t.zero2=n;function a(i){for(var o="",u=0;u<i.length;u++)o+=n(i[u].toString(16));return o}t.toHex=a,t.encode=function(o,u){return u==="hex"?a(o):o}}(b8)),b8}var zD;function Is(){return zD||(zD=1,function(e){var t=e,r=Cc(),n=Ts(),a=rO();t.assert=n,t.toArray=a.toArray,t.zero2=a.zero2,t.toHex=a.toHex,t.encode=a.encode;function i(m,b,v){var C=new Array(Math.max(m.bitLength(),v)+1),E;for(E=0;E<C.length;E+=1)C[E]=0;var T=1<<b+1,I=m.clone();for(E=0;E<C.length;E++){var D,S=I.andln(T-1);I.isOdd()?(S>(T>>1)-1?D=(T>>1)-S:D=S,I.isubn(D)):D=0,C[E]=D,I.iushrn(1)}return C}t.getNAF=i;function o(m,b){var v=[[],[]];m=m.clone(),b=b.clone();for(var C=0,E=0,T;m.cmpn(-C)>0||b.cmpn(-E)>0;){var I=m.andln(3)+C&3,D=b.andln(3)+E&3;I===3&&(I=-1),D===3&&(D=-1);var S;I&1?(T=m.andln(7)+C&7,(T===3||T===5)&&D===2?S=-I:S=I):S=0,v[0].push(S);var N;D&1?(T=b.andln(7)+E&7,(T===3||T===5)&&I===2?N=-D:N=D):N=0,v[1].push(N),2*C===S+1&&(C=1-C),2*E===N+1&&(E=1-E),m.iushrn(1),b.iushrn(1)}return v}t.getJSF=o;function u(m,b,v){var C="_"+b;m.prototype[b]=function(){return this[C]!==void 0?this[C]:this[C]=v.call(this)}}t.cachedProperty=u;function d(m){return typeof m=="string"?t.toArray(m,"hex"):m}t.parseBytes=d;function p(m){return new r(m,"hex","le")}t.intFromLE=p}(y8)),y8}var M8={},x8,_D;function o5(){if(_D)return x8;_D=1;var e=Cc(),t=Is(),r=t.getNAF,n=t.getJSF,a=t.assert;function i(u,d){this.type=u,this.p=new e(d.p,16),this.red=d.prime?e.red(d.prime):e.mont(this.p),this.zero=new e(0).toRed(this.red),this.one=new e(1).toRed(this.red),this.two=new e(2).toRed(this.red),this.n=d.n&&new e(d.n,16),this.g=d.g&&this.pointFromJSON(d.g,d.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var p=this.n&&this.p.div(this.n);!p||p.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}x8=i,i.prototype.point=function(){throw new Error("Not implemented")},i.prototype.validate=function(){throw new Error("Not implemented")},i.prototype._fixedNafMul=function(d,p){a(d.precomputed);var m=d._getDoubles(),b=r(p,1,this._bitLength),v=(1<<m.step+1)-(m.step%2===0?2:1);v/=3;var C=[],E,T;for(E=0;E<b.length;E+=m.step){T=0;for(var I=E+m.step-1;I>=E;I--)T=(T<<1)+b[I];C.push(T)}for(var D=this.jpoint(null,null,null),S=this.jpoint(null,null,null),N=v;N>0;N--){for(E=0;E<C.length;E++)T=C[E],T===N?S=S.mixedAdd(m.points[E]):T===-N&&(S=S.mixedAdd(m.points[E].neg()));D=D.add(S)}return D.toP()},i.prototype._wnafMul=function(d,p){var m=4,b=d._getNAFPoints(m);m=b.wnd;for(var v=b.points,C=r(p,m,this._bitLength),E=this.jpoint(null,null,null),T=C.length-1;T>=0;T--){for(var I=0;T>=0&&C[T]===0;T--)I++;if(T>=0&&I++,E=E.dblp(I),T<0)break;var D=C[T];a(D!==0),d.type==="affine"?D>0?E=E.mixedAdd(v[D-1>>1]):E=E.mixedAdd(v[-D-1>>1].neg()):D>0?E=E.add(v[D-1>>1]):E=E.add(v[-D-1>>1].neg())}return d.type==="affine"?E.toP():E},i.prototype._wnafMulAdd=function(d,p,m,b,v){var C=this._wnafT1,E=this._wnafT2,T=this._wnafT3,I=0,D,S,N;for(D=0;D<b;D++){N=p[D];var j=N._getNAFPoints(d);C[D]=j.wnd,E[D]=j.points}for(D=b-1;D>=1;D-=2){var F=D-1,O=D;if(C[F]!==1||C[O]!==1){T[F]=r(m[F],C[F],this._bitLength),T[O]=r(m[O],C[O],this._bitLength),I=Math.max(T[F].length,I),I=Math.max(T[O].length,I);continue}var W=[p[F],null,null,p[O]];p[F].y.cmp(p[O].y)===0?(W[1]=p[F].add(p[O]),W[2]=p[F].toJ().mixedAdd(p[O].neg())):p[F].y.cmp(p[O].y.redNeg())===0?(W[1]=p[F].toJ().mixedAdd(p[O]),W[2]=p[F].add(p[O].neg())):(W[1]=p[F].toJ().mixedAdd(p[O]),W[2]=p[F].toJ().mixedAdd(p[O].neg()));var _=[-3,-1,-5,-7,0,7,5,1,3],z=n(m[F],m[O]);for(I=Math.max(z[0].length,I),T[F]=new Array(I),T[O]=new Array(I),S=0;S<I;S++){var k=z[0][S]|0,w=z[1][S]|0;T[F][S]=_[(k+1)*3+(w+1)],T[O][S]=0,E[F]=W}}var s=this.jpoint(null,null,null),l=this._wnafT4;for(D=I;D>=0;D--){for(var f=0;D>=0;){var h=!0;for(S=0;S<b;S++)l[S]=T[S][D]|0,l[S]!==0&&(h=!1);if(!h)break;f++,D--}if(D>=0&&f++,s=s.dblp(f),D<0)break;for(S=0;S<b;S++){var g=l[S];g!==0&&(g>0?N=E[S][g-1>>1]:g<0&&(N=E[S][-g-1>>1].neg()),N.type==="affine"?s=s.mixedAdd(N):s=s.add(N))}}for(D=0;D<b;D++)E[D]=null;return v?s:s.toP()};function o(u,d){this.curve=u,this.type=d,this.precomputed=null}return i.BasePoint=o,o.prototype.eq=function(){throw new Error("Not implemented")},o.prototype.validate=function(){return this.curve.validate(this)},i.prototype.decodePoint=function(d,p){d=t.toArray(d,p);var m=this.p.byteLength();if((d[0]===4||d[0]===6||d[0]===7)&&d.length-1===2*m){d[0]===6?a(d[d.length-1]%2===0):d[0]===7&&a(d[d.length-1]%2===1);var b=this.point(d.slice(1,1+m),d.slice(1+m,1+2*m));return b}else if((d[0]===2||d[0]===3)&&d.length-1===m)return this.pointFromX(d.slice(1,1+m),d[0]===3);throw new Error("Unknown point format")},o.prototype.encodeCompressed=function(d){return this.encode(d,!0)},o.prototype._encode=function(d){var p=this.curve.p.byteLength(),m=this.getX().toArray("be",p);return d?[this.getY().isEven()?2:3].concat(m):[4].concat(m,this.getY().toArray("be",p))},o.prototype.encode=function(d,p){return t.encode(this._encode(p),d)},o.prototype.precompute=function(d){if(this.precomputed)return this;var p={doubles:null,naf:null,beta:null};return p.naf=this._getNAFPoints(8),p.doubles=this._getDoubles(4,d),p.beta=this._getBeta(),this.precomputed=p,this},o.prototype._hasDoubles=function(d){if(!this.precomputed)return!1;var p=this.precomputed.doubles;return p?p.points.length>=Math.ceil((d.bitLength()+1)/p.step):!1},o.prototype._getDoubles=function(d,p){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var m=[this],b=this,v=0;v<p;v+=d){for(var C=0;C<d;C++)b=b.dbl();m.push(b)}return{step:d,points:m}},o.prototype._getNAFPoints=function(d){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var p=[this],m=(1<<d)-1,b=m===1?null:this.dbl(),v=1;v<m;v++)p[v]=p[v-1].add(b);return{wnd:d,points:p}},o.prototype._getBeta=function(){return null},o.prototype.dblp=function(d){for(var p=this,m=0;m<d;m++)p=p.dbl();return p},x8}var v8,FD;function Xne(){if(FD)return v8;FD=1;var e=Is(),t=Cc(),r=Kt,n=o5(),a=e.assert;function i(d){n.call(this,"short",d),this.a=new t(d.a,16).toRed(this.red),this.b=new t(d.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(d),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}r(i,n),v8=i,i.prototype._getEndomorphism=function(p){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var m,b;if(p.beta)m=new t(p.beta,16).toRed(this.red);else{var v=this._getEndoRoots(this.p);m=v[0].cmp(v[1])<0?v[0]:v[1],m=m.toRed(this.red)}if(p.lambda)b=new t(p.lambda,16);else{var C=this._getEndoRoots(this.n);this.g.mul(C[0]).x.cmp(this.g.x.redMul(m))===0?b=C[0]:(b=C[1],a(this.g.mul(b).x.cmp(this.g.x.redMul(m))===0))}var E;return p.basis?E=p.basis.map(function(T){return{a:new t(T.a,16),b:new t(T.b,16)}}):E=this._getEndoBasis(b),{beta:m,lambda:b,basis:E}}},i.prototype._getEndoRoots=function(p){var m=p===this.p?this.red:t.mont(p),b=new t(2).toRed(m).redInvm(),v=b.redNeg(),C=new t(3).toRed(m).redNeg().redSqrt().redMul(b),E=v.redAdd(C).fromRed(),T=v.redSub(C).fromRed();return[E,T]},i.prototype._getEndoBasis=function(p){for(var m=this.n.ushrn(Math.floor(this.n.bitLength()/2)),b=p,v=this.n.clone(),C=new t(1),E=new t(0),T=new t(0),I=new t(1),D,S,N,j,F,O,W,_=0,z,k;b.cmpn(0)!==0;){var w=v.div(b);z=v.sub(w.mul(b)),k=T.sub(w.mul(C));var s=I.sub(w.mul(E));if(!N&&z.cmp(m)<0)D=W.neg(),S=C,N=z.neg(),j=k;else if(N&&++_===2)break;W=z,v=b,b=z,T=C,C=k,I=E,E=s}F=z.neg(),O=k;var l=N.sqr().add(j.sqr()),f=F.sqr().add(O.sqr());return f.cmp(l)>=0&&(F=D,O=S),N.negative&&(N=N.neg(),j=j.neg()),F.negative&&(F=F.neg(),O=O.neg()),[{a:N,b:j},{a:F,b:O}]},i.prototype._endoSplit=function(p){var m=this.endo.basis,b=m[0],v=m[1],C=v.b.mul(p).divRound(this.n),E=b.b.neg().mul(p).divRound(this.n),T=C.mul(b.a),I=E.mul(v.a),D=C.mul(b.b),S=E.mul(v.b),N=p.sub(T).sub(I),j=D.add(S).neg();return{k1:N,k2:j}},i.prototype.pointFromX=function(p,m){p=new t(p,16),p.red||(p=p.toRed(this.red));var b=p.redSqr().redMul(p).redIAdd(p.redMul(this.a)).redIAdd(this.b),v=b.redSqrt();if(v.redSqr().redSub(b).cmp(this.zero)!==0)throw new Error("invalid point");var C=v.fromRed().isOdd();return(m&&!C||!m&&C)&&(v=v.redNeg()),this.point(p,v)},i.prototype.validate=function(p){if(p.inf)return!0;var m=p.x,b=p.y,v=this.a.redMul(m),C=m.redSqr().redMul(m).redIAdd(v).redIAdd(this.b);return b.redSqr().redISub(C).cmpn(0)===0},i.prototype._endoWnafMulAdd=function(p,m,b){for(var v=this._endoWnafT1,C=this._endoWnafT2,E=0;E<p.length;E++){var T=this._endoSplit(m[E]),I=p[E],D=I._getBeta();T.k1.negative&&(T.k1.ineg(),I=I.neg(!0)),T.k2.negative&&(T.k2.ineg(),D=D.neg(!0)),v[E*2]=I,v[E*2+1]=D,C[E*2]=T.k1,C[E*2+1]=T.k2}for(var S=this._wnafMulAdd(1,v,C,E*2,b),N=0;N<E*2;N++)v[N]=null,C[N]=null;return S};function o(d,p,m,b){n.BasePoint.call(this,d,"affine"),p===null&&m===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new t(p,16),this.y=new t(m,16),b&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}r(o,n.BasePoint),i.prototype.point=function(p,m,b){return new o(this,p,m,b)},i.prototype.pointFromJSON=function(p,m){return o.fromJSON(this,p,m)},o.prototype._getBeta=function(){if(this.curve.endo){var p=this.precomputed;if(p&&p.beta)return p.beta;var m=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(p){var b=this.curve,v=function(C){return b.point(C.x.redMul(b.endo.beta),C.y)};p.beta=m,m.precomputed={beta:null,naf:p.naf&&{wnd:p.naf.wnd,points:p.naf.points.map(v)},doubles:p.doubles&&{step:p.doubles.step,points:p.doubles.points.map(v)}}}return m}},o.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},o.fromJSON=function(p,m,b){typeof m=="string"&&(m=JSON.parse(m));var v=p.point(m[0],m[1],b);if(!m[2])return v;function C(T){return p.point(T[0],T[1],b)}var E=m[2];return v.precomputed={beta:null,doubles:E.doubles&&{step:E.doubles.step,points:[v].concat(E.doubles.points.map(C))},naf:E.naf&&{wnd:E.naf.wnd,points:[v].concat(E.naf.points.map(C))}},v},o.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},o.prototype.isInfinity=function(){return this.inf},o.prototype.add=function(p){if(this.inf)return p;if(p.inf)return this;if(this.eq(p))return this.dbl();if(this.neg().eq(p))return this.curve.point(null,null);if(this.x.cmp(p.x)===0)return this.curve.point(null,null);var m=this.y.redSub(p.y);m.cmpn(0)!==0&&(m=m.redMul(this.x.redSub(p.x).redInvm()));var b=m.redSqr().redISub(this.x).redISub(p.x),v=m.redMul(this.x.redSub(b)).redISub(this.y);return this.curve.point(b,v)},o.prototype.dbl=function(){if(this.inf)return this;var p=this.y.redAdd(this.y);if(p.cmpn(0)===0)return this.curve.point(null,null);var m=this.curve.a,b=this.x.redSqr(),v=p.redInvm(),C=b.redAdd(b).redIAdd(b).redIAdd(m).redMul(v),E=C.redSqr().redISub(this.x.redAdd(this.x)),T=C.redMul(this.x.redSub(E)).redISub(this.y);return this.curve.point(E,T)},o.prototype.getX=function(){return this.x.fromRed()},o.prototype.getY=function(){return this.y.fromRed()},o.prototype.mul=function(p){return p=new t(p,16),this.isInfinity()?this:this._hasDoubles(p)?this.curve._fixedNafMul(this,p):this.curve.endo?this.curve._endoWnafMulAdd([this],[p]):this.curve._wnafMul(this,p)},o.prototype.mulAdd=function(p,m,b){var v=[this,m],C=[p,b];return this.curve.endo?this.curve._endoWnafMulAdd(v,C):this.curve._wnafMulAdd(1,v,C,2)},o.prototype.jmulAdd=function(p,m,b){var v=[this,m],C=[p,b];return this.curve.endo?this.curve._endoWnafMulAdd(v,C,!0):this.curve._wnafMulAdd(1,v,C,2,!0)},o.prototype.eq=function(p){return this===p||this.inf===p.inf&&(this.inf||this.x.cmp(p.x)===0&&this.y.cmp(p.y)===0)},o.prototype.neg=function(p){if(this.inf)return this;var m=this.curve.point(this.x,this.y.redNeg());if(p&&this.precomputed){var b=this.precomputed,v=function(C){return C.neg()};m.precomputed={naf:b.naf&&{wnd:b.naf.wnd,points:b.naf.points.map(v)},doubles:b.doubles&&{step:b.doubles.step,points:b.doubles.points.map(v)}}}return m},o.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var p=this.curve.jpoint(this.x,this.y,this.curve.one);return p};function u(d,p,m,b){n.BasePoint.call(this,d,"jacobian"),p===null&&m===null&&b===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new t(0)):(this.x=new t(p,16),this.y=new t(m,16),this.z=new t(b,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}return r(u,n.BasePoint),i.prototype.jpoint=function(p,m,b){return new u(this,p,m,b)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var p=this.z.redInvm(),m=p.redSqr(),b=this.x.redMul(m),v=this.y.redMul(m).redMul(p);return this.curve.point(b,v)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(p){if(this.isInfinity())return p;if(p.isInfinity())return this;var m=p.z.redSqr(),b=this.z.redSqr(),v=this.x.redMul(m),C=p.x.redMul(b),E=this.y.redMul(m.redMul(p.z)),T=p.y.redMul(b.redMul(this.z)),I=v.redSub(C),D=E.redSub(T);if(I.cmpn(0)===0)return D.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var S=I.redSqr(),N=S.redMul(I),j=v.redMul(S),F=D.redSqr().redIAdd(N).redISub(j).redISub(j),O=D.redMul(j.redISub(F)).redISub(E.redMul(N)),W=this.z.redMul(p.z).redMul(I);return this.curve.jpoint(F,O,W)},u.prototype.mixedAdd=function(p){if(this.isInfinity())return p.toJ();if(p.isInfinity())return this;var m=this.z.redSqr(),b=this.x,v=p.x.redMul(m),C=this.y,E=p.y.redMul(m).redMul(this.z),T=b.redSub(v),I=C.redSub(E);if(T.cmpn(0)===0)return I.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var D=T.redSqr(),S=D.redMul(T),N=b.redMul(D),j=I.redSqr().redIAdd(S).redISub(N).redISub(N),F=I.redMul(N.redISub(j)).redISub(C.redMul(S)),O=this.z.redMul(T);return this.curve.jpoint(j,F,O)},u.prototype.dblp=function(p){if(p===0)return this;if(this.isInfinity())return this;if(!p)return this.dbl();var m;if(this.curve.zeroA||this.curve.threeA){var b=this;for(m=0;m<p;m++)b=b.dbl();return b}var v=this.curve.a,C=this.curve.tinv,E=this.x,T=this.y,I=this.z,D=I.redSqr().redSqr(),S=T.redAdd(T);for(m=0;m<p;m++){var N=E.redSqr(),j=S.redSqr(),F=j.redSqr(),O=N.redAdd(N).redIAdd(N).redIAdd(v.redMul(D)),W=E.redMul(j),_=O.redSqr().redISub(W.redAdd(W)),z=W.redISub(_),k=O.redMul(z);k=k.redIAdd(k).redISub(F);var w=S.redMul(I);m+1<p&&(D=D.redMul(F)),E=_,I=w,S=k}return this.curve.jpoint(E,S.redMul(C),I)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},u.prototype._zeroDbl=function(){var p,m,b;if(this.zOne){var v=this.x.redSqr(),C=this.y.redSqr(),E=C.redSqr(),T=this.x.redAdd(C).redSqr().redISub(v).redISub(E);T=T.redIAdd(T);var I=v.redAdd(v).redIAdd(v),D=I.redSqr().redISub(T).redISub(T),S=E.redIAdd(E);S=S.redIAdd(S),S=S.redIAdd(S),p=D,m=I.redMul(T.redISub(D)).redISub(S),b=this.y.redAdd(this.y)}else{var N=this.x.redSqr(),j=this.y.redSqr(),F=j.redSqr(),O=this.x.redAdd(j).redSqr().redISub(N).redISub(F);O=O.redIAdd(O);var W=N.redAdd(N).redIAdd(N),_=W.redSqr(),z=F.redIAdd(F);z=z.redIAdd(z),z=z.redIAdd(z),p=_.redISub(O).redISub(O),m=W.redMul(O.redISub(p)).redISub(z),b=this.y.redMul(this.z),b=b.redIAdd(b)}return this.curve.jpoint(p,m,b)},u.prototype._threeDbl=function(){var p,m,b;if(this.zOne){var v=this.x.redSqr(),C=this.y.redSqr(),E=C.redSqr(),T=this.x.redAdd(C).redSqr().redISub(v).redISub(E);T=T.redIAdd(T);var I=v.redAdd(v).redIAdd(v).redIAdd(this.curve.a),D=I.redSqr().redISub(T).redISub(T);p=D;var S=E.redIAdd(E);S=S.redIAdd(S),S=S.redIAdd(S),m=I.redMul(T.redISub(D)).redISub(S),b=this.y.redAdd(this.y)}else{var N=this.z.redSqr(),j=this.y.redSqr(),F=this.x.redMul(j),O=this.x.redSub(N).redMul(this.x.redAdd(N));O=O.redAdd(O).redIAdd(O);var W=F.redIAdd(F);W=W.redIAdd(W);var _=W.redAdd(W);p=O.redSqr().redISub(_),b=this.y.redAdd(this.z).redSqr().redISub(j).redISub(N);var z=j.redSqr();z=z.redIAdd(z),z=z.redIAdd(z),z=z.redIAdd(z),m=O.redMul(W.redISub(p)).redISub(z)}return this.curve.jpoint(p,m,b)},u.prototype._dbl=function(){var p=this.curve.a,m=this.x,b=this.y,v=this.z,C=v.redSqr().redSqr(),E=m.redSqr(),T=b.redSqr(),I=E.redAdd(E).redIAdd(E).redIAdd(p.redMul(C)),D=m.redAdd(m);D=D.redIAdd(D);var S=D.redMul(T),N=I.redSqr().redISub(S.redAdd(S)),j=S.redISub(N),F=T.redSqr();F=F.redIAdd(F),F=F.redIAdd(F),F=F.redIAdd(F);var O=I.redMul(j).redISub(F),W=b.redAdd(b).redMul(v);return this.curve.jpoint(N,O,W)},u.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var p=this.x.redSqr(),m=this.y.redSqr(),b=this.z.redSqr(),v=m.redSqr(),C=p.redAdd(p).redIAdd(p),E=C.redSqr(),T=this.x.redAdd(m).redSqr().redISub(p).redISub(v);T=T.redIAdd(T),T=T.redAdd(T).redIAdd(T),T=T.redISub(E);var I=T.redSqr(),D=v.redIAdd(v);D=D.redIAdd(D),D=D.redIAdd(D),D=D.redIAdd(D);var S=C.redIAdd(T).redSqr().redISub(E).redISub(I).redISub(D),N=m.redMul(S);N=N.redIAdd(N),N=N.redIAdd(N);var j=this.x.redMul(I).redISub(N);j=j.redIAdd(j),j=j.redIAdd(j);var F=this.y.redMul(S.redMul(D.redISub(S)).redISub(T.redMul(I)));F=F.redIAdd(F),F=F.redIAdd(F),F=F.redIAdd(F);var O=this.z.redAdd(T).redSqr().redISub(b).redISub(I);return this.curve.jpoint(j,F,O)},u.prototype.mul=function(p,m){return p=new t(p,m),this.curve._wnafMul(this,p)},u.prototype.eq=function(p){if(p.type==="affine")return this.eq(p.toJ());if(this===p)return!0;var m=this.z.redSqr(),b=p.z.redSqr();if(this.x.redMul(b).redISub(p.x.redMul(m)).cmpn(0)!==0)return!1;var v=m.redMul(this.z),C=b.redMul(p.z);return this.y.redMul(C).redISub(p.y.redMul(v)).cmpn(0)===0},u.prototype.eqXToP=function(p){var m=this.z.redSqr(),b=p.toRed(this.curve.red).redMul(m);if(this.x.cmp(b)===0)return!0;for(var v=p.clone(),C=this.curve.redN.redMul(m);;){if(v.iadd(this.curve.n),v.cmp(this.curve.p)>=0)return!1;if(b.redIAdd(C),this.x.cmp(b)===0)return!0}},u.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},u.prototype.isInfinity=function(){return this.z.cmpn(0)===0},v8}var w8,OD;function Jne(){if(OD)return w8;OD=1;var e=Cc(),t=Kt,r=o5(),n=Is();function a(o){r.call(this,"mont",o),this.a=new e(o.a,16).toRed(this.red),this.b=new e(o.b,16).toRed(this.red),this.i4=new e(4).toRed(this.red).redInvm(),this.two=new e(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}t(a,r),w8=a,a.prototype.validate=function(u){var d=u.normalize().x,p=d.redSqr(),m=p.redMul(d).redAdd(p.redMul(this.a)).redAdd(d),b=m.redSqrt();return b.redSqr().cmp(m)===0};function i(o,u,d){r.BasePoint.call(this,o,"projective"),u===null&&d===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(u,16),this.z=new e(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}return t(i,r.BasePoint),a.prototype.decodePoint=function(u,d){return this.point(n.toArray(u,d),1)},a.prototype.point=function(u,d){return new i(this,u,d)},a.prototype.pointFromJSON=function(u){return i.fromJSON(this,u)},i.prototype.precompute=function(){},i.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},i.fromJSON=function(u,d){return new i(u,d[0],d[1]||u.one)},i.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},i.prototype.isInfinity=function(){return this.z.cmpn(0)===0},i.prototype.dbl=function(){var u=this.x.redAdd(this.z),d=u.redSqr(),p=this.x.redSub(this.z),m=p.redSqr(),b=d.redSub(m),v=d.redMul(m),C=b.redMul(m.redAdd(this.curve.a24.redMul(b)));return this.curve.point(v,C)},i.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},i.prototype.diffAdd=function(u,d){var p=this.x.redAdd(this.z),m=this.x.redSub(this.z),b=u.x.redAdd(u.z),v=u.x.redSub(u.z),C=v.redMul(p),E=b.redMul(m),T=d.z.redMul(C.redAdd(E).redSqr()),I=d.x.redMul(C.redISub(E).redSqr());return this.curve.point(T,I)},i.prototype.mul=function(u){for(var d=u.clone(),p=this,m=this.curve.point(null,null),b=this,v=[];d.cmpn(0)!==0;d.iushrn(1))v.push(d.andln(1));for(var C=v.length-1;C>=0;C--)v[C]===0?(p=p.diffAdd(m,b),m=m.dbl()):(m=p.diffAdd(m,b),p=p.dbl());return m},i.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},i.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},i.prototype.eq=function(u){return this.getX().cmp(u.getX())===0},i.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},i.prototype.getX=function(){return this.normalize(),this.x.fromRed()},w8}var C8,RD;function eie(){if(RD)return C8;RD=1;var e=Is(),t=Cc(),r=Kt,n=o5(),a=e.assert;function i(u){this.twisted=(u.a|0)!==1,this.mOneA=this.twisted&&(u.a|0)===-1,this.extended=this.mOneA,n.call(this,"edwards",u),this.a=new t(u.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new t(u.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new t(u.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(u.c|0)===1}r(i,n),C8=i,i.prototype._mulA=function(d){return this.mOneA?d.redNeg():this.a.redMul(d)},i.prototype._mulC=function(d){return this.oneC?d:this.c.redMul(d)},i.prototype.jpoint=function(d,p,m,b){return this.point(d,p,m,b)},i.prototype.pointFromX=function(d,p){d=new t(d,16),d.red||(d=d.toRed(this.red));var m=d.redSqr(),b=this.c2.redSub(this.a.redMul(m)),v=this.one.redSub(this.c2.redMul(this.d).redMul(m)),C=b.redMul(v.redInvm()),E=C.redSqrt();if(E.redSqr().redSub(C).cmp(this.zero)!==0)throw new Error("invalid point");var T=E.fromRed().isOdd();return(p&&!T||!p&&T)&&(E=E.redNeg()),this.point(d,E)},i.prototype.pointFromY=function(d,p){d=new t(d,16),d.red||(d=d.toRed(this.red));var m=d.redSqr(),b=m.redSub(this.c2),v=m.redMul(this.d).redMul(this.c2).redSub(this.a),C=b.redMul(v.redInvm());if(C.cmp(this.zero)===0){if(p)throw new Error("invalid point");return this.point(this.zero,d)}var E=C.redSqrt();if(E.redSqr().redSub(C).cmp(this.zero)!==0)throw new Error("invalid point");return E.fromRed().isOdd()!==p&&(E=E.redNeg()),this.point(E,d)},i.prototype.validate=function(d){if(d.isInfinity())return!0;d.normalize();var p=d.x.redSqr(),m=d.y.redSqr(),b=p.redMul(this.a).redAdd(m),v=this.c2.redMul(this.one.redAdd(this.d.redMul(p).redMul(m)));return b.cmp(v)===0};function o(u,d,p,m,b){n.BasePoint.call(this,u,"projective"),d===null&&p===null&&m===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new t(d,16),this.y=new t(p,16),this.z=m?new t(m,16):this.curve.one,this.t=b&&new t(b,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}return r(o,n.BasePoint),i.prototype.pointFromJSON=function(d){return o.fromJSON(this,d)},i.prototype.point=function(d,p,m,b){return new o(this,d,p,m,b)},o.fromJSON=function(d,p){return new o(d,p[0],p[1],p[2])},o.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},o.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},o.prototype._extDbl=function(){var d=this.x.redSqr(),p=this.y.redSqr(),m=this.z.redSqr();m=m.redIAdd(m);var b=this.curve._mulA(d),v=this.x.redAdd(this.y).redSqr().redISub(d).redISub(p),C=b.redAdd(p),E=C.redSub(m),T=b.redSub(p),I=v.redMul(E),D=C.redMul(T),S=v.redMul(T),N=E.redMul(C);return this.curve.point(I,D,N,S)},o.prototype._projDbl=function(){var d=this.x.redAdd(this.y).redSqr(),p=this.x.redSqr(),m=this.y.redSqr(),b,v,C,E,T,I;if(this.curve.twisted){E=this.curve._mulA(p);var D=E.redAdd(m);this.zOne?(b=d.redSub(p).redSub(m).redMul(D.redSub(this.curve.two)),v=D.redMul(E.redSub(m)),C=D.redSqr().redSub(D).redSub(D)):(T=this.z.redSqr(),I=D.redSub(T).redISub(T),b=d.redSub(p).redISub(m).redMul(I),v=D.redMul(E.redSub(m)),C=D.redMul(I))}else E=p.redAdd(m),T=this.curve._mulC(this.z).redSqr(),I=E.redSub(T).redSub(T),b=this.curve._mulC(d.redISub(E)).redMul(I),v=this.curve._mulC(E).redMul(p.redISub(m)),C=E.redMul(I);return this.curve.point(b,v,C)},o.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},o.prototype._extAdd=function(d){var p=this.y.redSub(this.x).redMul(d.y.redSub(d.x)),m=this.y.redAdd(this.x).redMul(d.y.redAdd(d.x)),b=this.t.redMul(this.curve.dd).redMul(d.t),v=this.z.redMul(d.z.redAdd(d.z)),C=m.redSub(p),E=v.redSub(b),T=v.redAdd(b),I=m.redAdd(p),D=C.redMul(E),S=T.redMul(I),N=C.redMul(I),j=E.redMul(T);return this.curve.point(D,S,j,N)},o.prototype._projAdd=function(d){var p=this.z.redMul(d.z),m=p.redSqr(),b=this.x.redMul(d.x),v=this.y.redMul(d.y),C=this.curve.d.redMul(b).redMul(v),E=m.redSub(C),T=m.redAdd(C),I=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(b).redISub(v),D=p.redMul(E).redMul(I),S,N;return this.curve.twisted?(S=p.redMul(T).redMul(v.redSub(this.curve._mulA(b))),N=E.redMul(T)):(S=p.redMul(T).redMul(v.redSub(b)),N=this.curve._mulC(E).redMul(T)),this.curve.point(D,S,N)},o.prototype.add=function(d){return this.isInfinity()?d:d.isInfinity()?this:this.curve.extended?this._extAdd(d):this._projAdd(d)},o.prototype.mul=function(d){return this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve._wnafMul(this,d)},o.prototype.mulAdd=function(d,p,m){return this.curve._wnafMulAdd(1,[this,p],[d,m],2,!1)},o.prototype.jmulAdd=function(d,p,m){return this.curve._wnafMulAdd(1,[this,p],[d,m],2,!0)},o.prototype.normalize=function(){if(this.zOne)return this;var d=this.z.redInvm();return this.x=this.x.redMul(d),this.y=this.y.redMul(d),this.t&&(this.t=this.t.redMul(d)),this.z=this.curve.one,this.zOne=!0,this},o.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},o.prototype.getX=function(){return this.normalize(),this.x.fromRed()},o.prototype.getY=function(){return this.normalize(),this.y.fromRed()},o.prototype.eq=function(d){return this===d||this.getX().cmp(d.getX())===0&&this.getY().cmp(d.getY())===0},o.prototype.eqXToP=function(d){var p=d.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(p)===0)return!0;for(var m=d.clone(),b=this.curve.redN.redMul(this.z);;){if(m.iadd(this.curve.n),m.cmp(this.curve.p)>=0)return!1;if(p.redIAdd(b),this.x.cmp(p)===0)return!0}},o.prototype.toP=o.prototype.normalize,o.prototype.mixedAdd=o.prototype.add,C8}var UD;function nO(){return UD||(UD=1,function(e){var t=e;t.base=o5(),t.short=Xne(),t.mont=Jne(),t.edwards=eie()}(M8)),M8}var A8={},E8={},Qr={},PD;function Lo(){if(PD)return Qr;PD=1;var e=Ts(),t=Kt;Qr.inherits=t;function r(s,l){return(s.charCodeAt(l)&64512)!==55296||l<0||l+1>=s.length?!1:(s.charCodeAt(l+1)&64512)===56320}function n(s,l){if(Array.isArray(s))return s.slice();if(!s)return[];var f=[];if(typeof s=="string")if(l){if(l==="hex")for(s=s.replace(/[^a-z0-9]+/ig,""),s.length%2!==0&&(s="0"+s),g=0;g<s.length;g+=2)f.push(parseInt(s[g]+s[g+1],16))}else for(var h=0,g=0;g<s.length;g++){var x=s.charCodeAt(g);x<128?f[h++]=x:x<2048?(f[h++]=x>>6|192,f[h++]=x&63|128):r(s,g)?(x=65536+((x&1023)<<10)+(s.charCodeAt(++g)&1023),f[h++]=x>>18|240,f[h++]=x>>12&63|128,f[h++]=x>>6&63|128,f[h++]=x&63|128):(f[h++]=x>>12|224,f[h++]=x>>6&63|128,f[h++]=x&63|128)}else for(g=0;g<s.length;g++)f[g]=s[g]|0;return f}Qr.toArray=n;function a(s){for(var l="",f=0;f<s.length;f++)l+=u(s[f].toString(16));return l}Qr.toHex=a;function i(s){var l=s>>>24|s>>>8&65280|s<<8&16711680|(s&255)<<24;return l>>>0}Qr.htonl=i;function o(s,l){for(var f="",h=0;h<s.length;h++){var g=s[h];l==="little"&&(g=i(g)),f+=d(g.toString(16))}return f}Qr.toHex32=o;function u(s){return s.length===1?"0"+s:s}Qr.zero2=u;function d(s){return s.length===7?"0"+s:s.length===6?"00"+s:s.length===5?"000"+s:s.length===4?"0000"+s:s.length===3?"00000"+s:s.length===2?"000000"+s:s.length===1?"0000000"+s:s}Qr.zero8=d;function p(s,l,f,h){var g=f-l;e(g%4===0);for(var x=new Array(g/4),A=0,y=l;A<x.length;A++,y+=4){var c;h==="big"?c=s[y]<<24|s[y+1]<<16|s[y+2]<<8|s[y+3]:c=s[y+3]<<24|s[y+2]<<16|s[y+1]<<8|s[y],x[A]=c>>>0}return x}Qr.join32=p;function m(s,l){for(var f=new Array(s.length*4),h=0,g=0;h<s.length;h++,g+=4){var x=s[h];l==="big"?(f[g]=x>>>24,f[g+1]=x>>>16&255,f[g+2]=x>>>8&255,f[g+3]=x&255):(f[g+3]=x>>>24,f[g+2]=x>>>16&255,f[g+1]=x>>>8&255,f[g]=x&255)}return f}Qr.split32=m;function b(s,l){return s>>>l|s<<32-l}Qr.rotr32=b;function v(s,l){return s<<l|s>>>32-l}Qr.rotl32=v;function C(s,l){return s+l>>>0}Qr.sum32=C;function E(s,l,f){return s+l+f>>>0}Qr.sum32_3=E;function T(s,l,f,h){return s+l+f+h>>>0}Qr.sum32_4=T;function I(s,l,f,h,g){return s+l+f+h+g>>>0}Qr.sum32_5=I;function D(s,l,f,h){var g=s[l],x=s[l+1],A=h+x>>>0,y=(A<h?1:0)+f+g;s[l]=y>>>0,s[l+1]=A}Qr.sum64=D;function S(s,l,f,h){var g=l+h>>>0,x=(g<l?1:0)+s+f;return x>>>0}Qr.sum64_hi=S;function N(s,l,f,h){var g=l+h;return g>>>0}Qr.sum64_lo=N;function j(s,l,f,h,g,x,A,y){var c=0,M=l;M=M+h>>>0,c+=M<l?1:0,M=M+x>>>0,c+=M<x?1:0,M=M+y>>>0,c+=M<y?1:0;var B=s+f+g+A+c;return B>>>0}Qr.sum64_4_hi=j;function F(s,l,f,h,g,x,A,y){var c=l+h+x+y;return c>>>0}Qr.sum64_4_lo=F;function O(s,l,f,h,g,x,A,y,c,M){var B=0,R=l;R=R+h>>>0,B+=R<l?1:0,R=R+x>>>0,B+=R<x?1:0,R=R+y>>>0,B+=R<y?1:0,R=R+M>>>0,B+=R<M?1:0;var Q=s+f+g+A+c+B;return Q>>>0}Qr.sum64_5_hi=O;function W(s,l,f,h,g,x,A,y,c,M){var B=l+h+x+y+M;return B>>>0}Qr.sum64_5_lo=W;function _(s,l,f){var h=l<<32-f|s>>>f;return h>>>0}Qr.rotr64_hi=_;function z(s,l,f){var h=s<<32-f|l>>>f;return h>>>0}Qr.rotr64_lo=z;function k(s,l,f){return s>>>f}Qr.shr64_hi=k;function w(s,l,f){var h=s<<32-f|l>>>f;return h>>>0}return Qr.shr64_lo=w,Qr}var S8={},WD;function Kh(){if(WD)return S8;WD=1;var e=Lo(),t=Ts();function r(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}return S8.BlockHash=r,r.prototype.update=function(a,i){if(a=e.toArray(a,i),this.pending?this.pending=this.pending.concat(a):this.pending=a,this.pendingTotal+=a.length,this.pending.length>=this._delta8){a=this.pending;var o=a.length%this._delta8;this.pending=a.slice(a.length-o,a.length),this.pending.length===0&&(this.pending=null),a=e.join32(a,0,a.length-o,this.endian);for(var u=0;u<a.length;u+=this._delta32)this._update(a,u,u+this._delta32)}return this},r.prototype.digest=function(a){return this.update(this._pad()),t(this.pending===null),this._digest(a)},r.prototype._pad=function(){var a=this.pendingTotal,i=this._delta8,o=i-(a+this.padLength)%i,u=new Array(o+this.padLength);u[0]=128;for(var d=1;d<o;d++)u[d]=0;if(a<<=3,this.endian==="big"){for(var p=8;p<this.padLength;p++)u[d++]=0;u[d++]=0,u[d++]=0,u[d++]=0,u[d++]=0,u[d++]=a>>>24&255,u[d++]=a>>>16&255,u[d++]=a>>>8&255,u[d++]=a&255}else for(u[d++]=a&255,u[d++]=a>>>8&255,u[d++]=a>>>16&255,u[d++]=a>>>24&255,u[d++]=0,u[d++]=0,u[d++]=0,u[d++]=0,p=8;p<this.padLength;p++)u[d++]=0;return u},S8}var jl={},$s={},HD;function iO(){if(HD)return $s;HD=1;var e=Lo(),t=e.rotr32;function r(m,b,v,C){if(m===0)return n(b,v,C);if(m===1||m===3)return i(b,v,C);if(m===2)return a(b,v,C)}$s.ft_1=r;function n(m,b,v){return m&b^~m&v}$s.ch32=n;function a(m,b,v){return m&b^m&v^b&v}$s.maj32=a;function i(m,b,v){return m^b^v}$s.p32=i;function o(m){return t(m,2)^t(m,13)^t(m,22)}$s.s0_256=o;function u(m){return t(m,6)^t(m,11)^t(m,25)}$s.s1_256=u;function d(m){return t(m,7)^t(m,18)^m>>>3}$s.g0_256=d;function p(m){return t(m,17)^t(m,19)^m>>>10}return $s.g1_256=p,$s}var D8,YD;function tie(){if(YD)return D8;YD=1;var e=Lo(),t=Kh(),r=iO(),n=e.rotl32,a=e.sum32,i=e.sum32_5,o=r.ft_1,u=t.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function p(){if(!(this instanceof p))return new p;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}return e.inherits(p,u),D8=p,p.blockSize=512,p.outSize=160,p.hmacStrength=80,p.padLength=64,p.prototype._update=function(b,v){for(var C=this.W,E=0;E<16;E++)C[E]=b[v+E];for(;E<C.length;E++)C[E]=n(C[E-3]^C[E-8]^C[E-14]^C[E-16],1);var T=this.h[0],I=this.h[1],D=this.h[2],S=this.h[3],N=this.h[4];for(E=0;E<C.length;E++){var j=~~(E/20),F=i(n(T,5),o(j,I,D,S),N,C[E],d[j]);N=S,S=D,D=n(I,30),I=T,T=F}this.h[0]=a(this.h[0],T),this.h[1]=a(this.h[1],I),this.h[2]=a(this.h[2],D),this.h[3]=a(this.h[3],S),this.h[4]=a(this.h[4],N)},p.prototype._digest=function(b){return b==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")},D8}var T8,ZD;function aO(){if(ZD)return T8;ZD=1;var e=Lo(),t=Kh(),r=iO(),n=Ts(),a=e.sum32,i=e.sum32_4,o=e.sum32_5,u=r.ch32,d=r.maj32,p=r.s0_256,m=r.s1_256,b=r.g0_256,v=r.g1_256,C=t.BlockHash,E=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function T(){if(!(this instanceof T))return new T;C.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=E,this.W=new Array(64)}return e.inherits(T,C),T8=T,T.blockSize=512,T.outSize=256,T.hmacStrength=192,T.padLength=64,T.prototype._update=function(D,S){for(var N=this.W,j=0;j<16;j++)N[j]=D[S+j];for(;j<N.length;j++)N[j]=i(v(N[j-2]),N[j-7],b(N[j-15]),N[j-16]);var F=this.h[0],O=this.h[1],W=this.h[2],_=this.h[3],z=this.h[4],k=this.h[5],w=this.h[6],s=this.h[7];for(n(this.k.length===N.length),j=0;j<N.length;j++){var l=o(s,m(z),u(z,k,w),this.k[j],N[j]),f=a(p(F),d(F,O,W));s=w,w=k,k=z,z=a(_,l),_=W,W=O,O=F,F=a(l,f)}this.h[0]=a(this.h[0],F),this.h[1]=a(this.h[1],O),this.h[2]=a(this.h[2],W),this.h[3]=a(this.h[3],_),this.h[4]=a(this.h[4],z),this.h[5]=a(this.h[5],k),this.h[6]=a(this.h[6],w),this.h[7]=a(this.h[7],s)},T.prototype._digest=function(D){return D==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")},T8}var I8,GD;function rie(){if(GD)return I8;GD=1;var e=Lo(),t=aO();function r(){if(!(this instanceof r))return new r;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}return e.inherits(r,t),I8=r,r.blockSize=512,r.outSize=224,r.hmacStrength=192,r.padLength=64,r.prototype._digest=function(a){return a==="hex"?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")},I8}var N8,QD;function sO(){if(QD)return N8;QD=1;var e=Lo(),t=Kh(),r=Ts(),n=e.rotr64_hi,a=e.rotr64_lo,i=e.shr64_hi,o=e.shr64_lo,u=e.sum64,d=e.sum64_hi,p=e.sum64_lo,m=e.sum64_4_hi,b=e.sum64_4_lo,v=e.sum64_5_hi,C=e.sum64_5_lo,E=t.BlockHash,T=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function I(){if(!(this instanceof I))return new I;E.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=T,this.W=new Array(160)}e.inherits(I,E),N8=I,I.blockSize=1024,I.outSize=512,I.hmacStrength=192,I.padLength=128,I.prototype._prepareBlock=function(f,h){for(var g=this.W,x=0;x<32;x++)g[x]=f[h+x];for(;x<g.length;x+=2){var A=w(g[x-4],g[x-3]),y=s(g[x-4],g[x-3]),c=g[x-14],M=g[x-13],B=z(g[x-30],g[x-29]),R=k(g[x-30],g[x-29]),Q=g[x-32],K=g[x-31];g[x]=m(A,y,c,M,B,R,Q,K),g[x+1]=b(A,y,c,M,B,R,Q,K)}},I.prototype._update=function(f,h){this._prepareBlock(f,h);var g=this.W,x=this.h[0],A=this.h[1],y=this.h[2],c=this.h[3],M=this.h[4],B=this.h[5],R=this.h[6],Q=this.h[7],K=this.h[8],q=this.h[9],P=this.h[10],G=this.h[11],X=this.h[12],ne=this.h[13],te=this.h[14],V=this.h[15];r(this.k.length===g.length);for(var oe=0;oe<g.length;oe+=2){var xe=te,fe=V,me=W(K,q),Ze=_(K,q),he=D(K,q,P,G,X),Se=S(K,q,P,G,X,ne),Ke=this.k[oe],ye=this.k[oe+1],ce=g[oe],Fe=g[oe+1],pe=v(xe,fe,me,Ze,he,Se,Ke,ye,ce,Fe),we=C(xe,fe,me,Ze,he,Se,Ke,ye,ce,Fe);xe=F(x,A),fe=O(x,A),me=N(x,A,y,c,M),Ze=j(x,A,y,c,M,B);var gt=d(xe,fe,me,Ze),$=p(xe,fe,me,Ze);te=X,V=ne,X=P,ne=G,P=K,G=q,K=d(R,Q,pe,we),q=p(Q,Q,pe,we),R=M,Q=B,M=y,B=c,y=x,c=A,x=d(pe,we,gt,$),A=p(pe,we,gt,$)}u(this.h,0,x,A),u(this.h,2,y,c),u(this.h,4,M,B),u(this.h,6,R,Q),u(this.h,8,K,q),u(this.h,10,P,G),u(this.h,12,X,ne),u(this.h,14,te,V)},I.prototype._digest=function(f){return f==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")};function D(l,f,h,g,x){var A=l&h^~l&x;return A<0&&(A+=4294967296),A}function S(l,f,h,g,x,A){var y=f&g^~f&A;return y<0&&(y+=4294967296),y}function N(l,f,h,g,x){var A=l&h^l&x^h&x;return A<0&&(A+=4294967296),A}function j(l,f,h,g,x,A){var y=f&g^f&A^g&A;return y<0&&(y+=4294967296),y}function F(l,f){var h=n(l,f,28),g=n(f,l,2),x=n(f,l,7),A=h^g^x;return A<0&&(A+=4294967296),A}function O(l,f){var h=a(l,f,28),g=a(f,l,2),x=a(f,l,7),A=h^g^x;return A<0&&(A+=4294967296),A}function W(l,f){var h=n(l,f,14),g=n(l,f,18),x=n(f,l,9),A=h^g^x;return A<0&&(A+=4294967296),A}function _(l,f){var h=a(l,f,14),g=a(l,f,18),x=a(f,l,9),A=h^g^x;return A<0&&(A+=4294967296),A}function z(l,f){var h=n(l,f,1),g=n(l,f,8),x=i(l,f,7),A=h^g^x;return A<0&&(A+=4294967296),A}function k(l,f){var h=a(l,f,1),g=a(l,f,8),x=o(l,f,7),A=h^g^x;return A<0&&(A+=4294967296),A}function w(l,f){var h=n(l,f,19),g=n(f,l,29),x=i(l,f,6),A=h^g^x;return A<0&&(A+=4294967296),A}function s(l,f){var h=a(l,f,19),g=a(f,l,29),x=o(l,f,6),A=h^g^x;return A<0&&(A+=4294967296),A}return N8}var L8,qD;function nie(){if(qD)return L8;qD=1;var e=Lo(),t=sO();function r(){if(!(this instanceof r))return new r;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}return e.inherits(r,t),L8=r,r.blockSize=1024,r.outSize=384,r.hmacStrength=192,r.padLength=128,r.prototype._digest=function(a){return a==="hex"?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")},L8}var VD;function iie(){return VD||(VD=1,jl.sha1=tie(),jl.sha224=rie(),jl.sha256=aO(),jl.sha384=nie(),jl.sha512=sO()),jl}var j8={},$D;function aie(){if($D)return j8;$D=1;var e=Lo(),t=Kh(),r=e.rotl32,n=e.sum32,a=e.sum32_3,i=e.sum32_4,o=t.BlockHash;function u(){if(!(this instanceof u))return new u;o.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}e.inherits(u,o),j8.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(I,D){for(var S=this.h[0],N=this.h[1],j=this.h[2],F=this.h[3],O=this.h[4],W=S,_=N,z=j,k=F,w=O,s=0;s<80;s++){var l=n(r(i(S,d(s,N,j,F),I[b[s]+D],p(s)),C[s]),O);S=O,O=F,F=r(j,10),j=N,N=l,l=n(r(i(W,d(79-s,_,z,k),I[v[s]+D],m(s)),E[s]),w),W=w,w=k,k=r(z,10),z=_,_=l}l=a(this.h[1],j,k),this.h[1]=a(this.h[2],F,w),this.h[2]=a(this.h[3],O,W),this.h[3]=a(this.h[4],S,_),this.h[4]=a(this.h[0],N,z),this.h[0]=l},u.prototype._digest=function(I){return I==="hex"?e.toHex32(this.h,"little"):e.split32(this.h,"little")};function d(T,I,D,S){return T<=15?I^D^S:T<=31?I&D|~I&S:T<=47?(I|~D)^S:T<=63?I&S|D&~S:I^(D|~S)}function p(T){return T<=15?0:T<=31?1518500249:T<=47?1859775393:T<=63?2400959708:2840853838}function m(T){return T<=15?1352829926:T<=31?1548603684:T<=47?1836072691:T<=63?2053994217:0}var b=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],v=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],C=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],E=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11];return j8}var B8,KD;function sie(){if(KD)return B8;KD=1;var e=Lo(),t=Ts();function r(n,a,i){if(!(this instanceof r))return new r(n,a,i);this.Hash=n,this.blockSize=n.blockSize/8,this.outSize=n.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(a,i))}return B8=r,r.prototype._init=function(a){a.length>this.blockSize&&(a=new this.Hash().update(a).digest()),t(a.length<=this.blockSize);for(var i=a.length;i<this.blockSize;i++)a.push(0);for(i=0;i<a.length;i++)a[i]^=54;for(this.inner=new this.Hash().update(a),i=0;i<a.length;i++)a[i]^=106;this.outer=new this.Hash().update(a)},r.prototype.update=function(a,i){return this.inner.update(a,i),this},r.prototype.digest=function(a){return this.outer.update(this.inner.digest()),this.outer.digest(a)},B8}var XD;function Qx(){return XD||(XD=1,function(e){var t=e;t.utils=Lo(),t.common=Kh(),t.sha=iie(),t.ripemd=aie(),t.hmac=sie(),t.sha1=t.sha.sha1,t.sha256=t.sha.sha256,t.sha224=t.sha.sha224,t.sha384=t.sha.sha384,t.sha512=t.sha.sha512,t.ripemd160=t.ripemd.ripemd160}(E8)),E8}var k8,JD;function oie(){return JD||(JD=1,k8={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}),k8}var eT;function qx(){return eT||(eT=1,function(e){var t=e,r=Qx(),n=nO(),a=Is(),i=a.assert;function o(p){p.type==="short"?this.curve=new n.short(p):p.type==="edwards"?this.curve=new n.edwards(p):this.curve=new n.mont(p),this.g=this.curve.g,this.n=this.curve.n,this.hash=p.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}t.PresetCurve=o;function u(p,m){Object.defineProperty(t,p,{configurable:!0,enumerable:!0,get:function(){var b=new o(m);return Object.defineProperty(t,p,{configurable:!0,enumerable:!0,value:b}),b}})}u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:r.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:r.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:r.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:r.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:r.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:r.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:r.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var d;try{d=oie()}catch{d=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:r.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",d]})}(A8)),A8}var z8,tT;function cie(){if(tT)return z8;tT=1;var e=Qx(),t=rO(),r=Ts();function n(a){if(!(this instanceof n))return new n(a);this.hash=a.hash,this.predResist=!!a.predResist,this.outLen=this.hash.outSize,this.minEntropy=a.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var i=t.toArray(a.entropy,a.entropyEnc||"hex"),o=t.toArray(a.nonce,a.nonceEnc||"hex"),u=t.toArray(a.pers,a.persEnc||"hex");r(i.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(i,o,u)}return z8=n,n.prototype._init=function(i,o,u){var d=i.concat(o).concat(u);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var p=0;p<this.V.length;p++)this.K[p]=0,this.V[p]=1;this._update(d),this._reseed=1,this.reseedInterval=281474976710656},n.prototype._hmac=function(){return new e.hmac(this.hash,this.K)},n.prototype._update=function(i){var o=this._hmac().update(this.V).update([0]);i&&(o=o.update(i)),this.K=o.digest(),this.V=this._hmac().update(this.V).digest(),i&&(this.K=this._hmac().update(this.V).update([1]).update(i).digest(),this.V=this._hmac().update(this.V).digest())},n.prototype.reseed=function(i,o,u,d){typeof o!="string"&&(d=u,u=o,o=null),i=t.toArray(i,o),u=t.toArray(u,d),r(i.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(i.concat(u||[])),this._reseed=1},n.prototype.generate=function(i,o,u,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof o!="string"&&(d=u,u=o,o=null),u&&(u=t.toArray(u,d||"hex"),this._update(u));for(var p=[];p.length<i;)this.V=this._hmac().update(this.V).digest(),p=p.concat(this.V);var m=p.slice(0,i);return this._update(u),this._reseed++,t.encode(m,o)},z8}var _8,rT;function lie(){if(rT)return _8;rT=1;var e=Cc(),t=Is(),r=t.assert;function n(a,i){this.ec=a,this.priv=null,this.pub=null,i.priv&&this._importPrivate(i.priv,i.privEnc),i.pub&&this._importPublic(i.pub,i.pubEnc)}return _8=n,n.fromPublic=function(i,o,u){return o instanceof n?o:new n(i,{pub:o,pubEnc:u})},n.fromPrivate=function(i,o,u){return o instanceof n?o:new n(i,{priv:o,privEnc:u})},n.prototype.validate=function(){var i=this.getPublic();return i.isInfinity()?{result:!1,reason:"Invalid public key"}:i.validate()?i.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},n.prototype.getPublic=function(i,o){return typeof i=="string"&&(o=i,i=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),o?this.pub.encode(o,i):this.pub},n.prototype.getPrivate=function(i){return i==="hex"?this.priv.toString(16,2):this.priv},n.prototype._importPrivate=function(i,o){this.priv=new e(i,o||16),this.priv=this.priv.umod(this.ec.curve.n)},n.prototype._importPublic=function(i,o){if(i.x||i.y){this.ec.curve.type==="mont"?r(i.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&r(i.x&&i.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(i.x,i.y);return}this.pub=this.ec.curve.decodePoint(i,o)},n.prototype.derive=function(i){return i.validate()||r(i.validate(),"public point not validated"),i.mul(this.priv).getX()},n.prototype.sign=function(i,o,u){return this.ec.sign(i,this,o,u)},n.prototype.verify=function(i,o,u){return this.ec.verify(i,o,this,void 0,u)},n.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"},_8}var F8,nT;function uie(){if(nT)return F8;nT=1;var e=Cc(),t=Is(),r=t.assert;function n(d,p){if(d instanceof n)return d;this._importDER(d,p)||(r(d.r&&d.s,"Signature without r or s"),this.r=new e(d.r,16),this.s=new e(d.s,16),d.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=d.recoveryParam)}F8=n;function a(){this.place=0}function i(d,p){var m=d[p.place++];if(!(m&128))return m;var b=m&15;if(b===0||b>4||d[p.place]===0)return!1;for(var v=0,C=0,E=p.place;C<b;C++,E++)v<<=8,v|=d[E],v>>>=0;return v<=127?!1:(p.place=E,v)}function o(d){for(var p=0,m=d.length-1;!d[p]&&!(d[p+1]&128)&&p<m;)p++;return p===0?d:d.slice(p)}n.prototype._importDER=function(p,m){p=t.toArray(p,m);var b=new a;if(p[b.place++]!==48)return!1;var v=i(p,b);if(v===!1||v+b.place!==p.length||p[b.place++]!==2)return!1;var C=i(p,b);if(C===!1||p[b.place]&128)return!1;var E=p.slice(b.place,C+b.place);if(b.place+=C,p[b.place++]!==2)return!1;var T=i(p,b);if(T===!1||p.length!==T+b.place||p[b.place]&128)return!1;var I=p.slice(b.place,T+b.place);if(E[0]===0)if(E[1]&128)E=E.slice(1);else return!1;if(I[0]===0)if(I[1]&128)I=I.slice(1);else return!1;return this.r=new e(E),this.s=new e(I),this.recoveryParam=null,!0};function u(d,p){if(p<128){d.push(p);return}var m=1+(Math.log(p)/Math.LN2>>>3);for(d.push(m|128);--m;)d.push(p>>>(m<<3)&255);d.push(p)}return n.prototype.toDER=function(p){var m=this.r.toArray(),b=this.s.toArray();for(m[0]&128&&(m=[0].concat(m)),b[0]&128&&(b=[0].concat(b)),m=o(m),b=o(b);!b[0]&&!(b[1]&128);)b=b.slice(1);var v=[2];u(v,m.length),v=v.concat(m),v.push(2),u(v,b.length);var C=v.concat(b),E=[48];return u(E,C.length),E=E.concat(C),t.encode(E,p)},F8}var O8,iT;function fie(){if(iT)return O8;iT=1;var e=Cc(),t=cie(),r=Is(),n=qx(),a=Hx(),i=r.assert,o=lie(),u=uie();function d(p){if(!(this instanceof d))return new d(p);typeof p=="string"&&(i(Object.prototype.hasOwnProperty.call(n,p),"Unknown curve "+p),p=n[p]),p instanceof n.PresetCurve&&(p={curve:p}),this.curve=p.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=p.curve.g,this.g.precompute(p.curve.n.bitLength()+1),this.hash=p.hash||p.curve.hash}return O8=d,d.prototype.keyPair=function(m){return new o(this,m)},d.prototype.keyFromPrivate=function(m,b){return o.fromPrivate(this,m,b)},d.prototype.keyFromPublic=function(m,b){return o.fromPublic(this,m,b)},d.prototype.genKeyPair=function(m){m||(m={});for(var b=new t({hash:this.hash,pers:m.pers,persEnc:m.persEnc||"utf8",entropy:m.entropy||a(this.hash.hmacStrength),entropyEnc:m.entropy&&m.entropyEnc||"utf8",nonce:this.n.toArray()}),v=this.n.byteLength(),C=this.n.sub(new e(2));;){var E=new e(b.generate(v));if(!(E.cmp(C)>0))return E.iaddn(1),this.keyFromPrivate(E)}},d.prototype._truncateToN=function(m,b,v){var C;if(e.isBN(m)||typeof m=="number")m=new e(m,16),C=m.byteLength();else if(typeof m=="object")C=m.length,m=new e(m,16);else{var E=m.toString();C=E.length+1>>>1,m=new e(E,16)}typeof v!="number"&&(v=C*8);var T=v-this.n.bitLength();return T>0&&(m=m.ushrn(T)),!b&&m.cmp(this.n)>=0?m.sub(this.n):m},d.prototype.sign=function(m,b,v,C){if(typeof v=="object"&&(C=v,v=null),C||(C={}),typeof m!="string"&&typeof m!="number"&&!e.isBN(m)){i(typeof m=="object"&&m&&typeof m.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),i(m.length>>>0===m.length);for(var E=0;E<m.length;E++)i((m[E]&255)===m[E])}b=this.keyFromPrivate(b,v),m=this._truncateToN(m,!1,C.msgBitLength),i(!m.isNeg(),"Can not sign a negative message");var T=this.n.byteLength(),I=b.getPrivate().toArray("be",T),D=m.toArray("be",T);i(new e(D).eq(m),"Can not sign message");for(var S=new t({hash:this.hash,entropy:I,nonce:D,pers:C.pers,persEnc:C.persEnc||"utf8"}),N=this.n.sub(new e(1)),j=0;;j++){var F=C.k?C.k(j):new e(S.generate(this.n.byteLength()));if(F=this._truncateToN(F,!0),!(F.cmpn(1)<=0||F.cmp(N)>=0)){var O=this.g.mul(F);if(!O.isInfinity()){var W=O.getX(),_=W.umod(this.n);if(_.cmpn(0)!==0){var z=F.invm(this.n).mul(_.mul(b.getPrivate()).iadd(m));if(z=z.umod(this.n),z.cmpn(0)!==0){var k=(O.getY().isOdd()?1:0)|(W.cmp(_)!==0?2:0);return C.canonical&&z.cmp(this.nh)>0&&(z=this.n.sub(z),k^=1),new u({r:_,s:z,recoveryParam:k})}}}}}},d.prototype.verify=function(m,b,v,C,E){E||(E={}),m=this._truncateToN(m,!1,E.msgBitLength),v=this.keyFromPublic(v,C),b=new u(b,"hex");var T=b.r,I=b.s;if(T.cmpn(1)<0||T.cmp(this.n)>=0||I.cmpn(1)<0||I.cmp(this.n)>=0)return!1;var D=I.invm(this.n),S=D.mul(m).umod(this.n),N=D.mul(T).umod(this.n),j;return this.curve._maxwellTrick?(j=this.g.jmulAdd(S,v.getPublic(),N),j.isInfinity()?!1:j.eqXToP(T)):(j=this.g.mulAdd(S,v.getPublic(),N),j.isInfinity()?!1:j.getX().umod(this.n).cmp(T)===0)},d.prototype.recoverPubKey=function(p,m,b,v){i((3&b)===b,"The recovery param is more than two bits"),m=new u(m,v);var C=this.n,E=new e(p),T=m.r,I=m.s,D=b&1,S=b>>1;if(T.cmp(this.curve.p.umod(this.curve.n))>=0&&S)throw new Error("Unable to find sencond key candinate");S?T=this.curve.pointFromX(T.add(this.curve.n),D):T=this.curve.pointFromX(T,D);var N=m.r.invm(C),j=C.sub(E).mul(N).umod(C),F=I.mul(N).umod(C);return this.g.mulAdd(j,T,F)},d.prototype.getKeyRecoveryParam=function(p,m,b,v){if(m=new u(m,v),m.recoveryParam!==null)return m.recoveryParam;for(var C=0;C<4;C++){var E;try{E=this.recoverPubKey(p,m,C)}catch{continue}if(E.eq(b))return C}throw new Error("Unable to find valid recovery factor")},O8}var R8,aT;function die(){if(aT)return R8;aT=1;var e=Is(),t=e.assert,r=e.parseBytes,n=e.cachedProperty;function a(i,o){this.eddsa=i,this._secret=r(o.secret),i.isPoint(o.pub)?this._pub=o.pub:this._pubBytes=r(o.pub)}return a.fromPublic=function(o,u){return u instanceof a?u:new a(o,{pub:u})},a.fromSecret=function(o,u){return u instanceof a?u:new a(o,{secret:u})},a.prototype.secret=function(){return this._secret},n(a,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),n(a,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),n(a,"privBytes",function(){var o=this.eddsa,u=this.hash(),d=o.encodingLength-1,p=u.slice(0,o.encodingLength);return p[0]&=248,p[d]&=127,p[d]|=64,p}),n(a,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),n(a,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),n(a,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),a.prototype.sign=function(o){return t(this._secret,"KeyPair can only verify"),this.eddsa.sign(o,this)},a.prototype.verify=function(o,u){return this.eddsa.verify(o,u,this)},a.prototype.getSecret=function(o){return t(this._secret,"KeyPair is public only"),e.encode(this.secret(),o)},a.prototype.getPublic=function(o){return e.encode(this.pubBytes(),o)},R8=a,R8}var U8,sT;function hie(){if(sT)return U8;sT=1;var e=Cc(),t=Is(),r=t.assert,n=t.cachedProperty,a=t.parseBytes;function i(o,u){this.eddsa=o,typeof u!="object"&&(u=a(u)),Array.isArray(u)&&(r(u.length===o.encodingLength*2,"Signature has invalid size"),u={R:u.slice(0,o.encodingLength),S:u.slice(o.encodingLength)}),r(u.R&&u.S,"Signature without R or S"),o.isPoint(u.R)&&(this._R=u.R),u.S instanceof e&&(this._S=u.S),this._Rencoded=Array.isArray(u.R)?u.R:u.Rencoded,this._Sencoded=Array.isArray(u.S)?u.S:u.Sencoded}return n(i,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),n(i,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),n(i,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),n(i,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),i.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},i.prototype.toHex=function(){return t.encode(this.toBytes(),"hex").toUpperCase()},U8=i,U8}var P8,oT;function pie(){if(oT)return P8;oT=1;var e=Qx(),t=qx(),r=Is(),n=r.assert,a=r.parseBytes,i=die(),o=hie();function u(d){if(n(d==="ed25519","only tested with ed25519 so far"),!(this instanceof u))return new u(d);d=t[d].curve,this.curve=d,this.g=d.g,this.g.precompute(d.n.bitLength()+1),this.pointClass=d.point().constructor,this.encodingLength=Math.ceil(d.n.bitLength()/8),this.hash=e.sha512}return P8=u,u.prototype.sign=function(p,m){p=a(p);var b=this.keyFromSecret(m),v=this.hashInt(b.messagePrefix(),p),C=this.g.mul(v),E=this.encodePoint(C),T=this.hashInt(E,b.pubBytes(),p).mul(b.priv()),I=v.add(T).umod(this.curve.n);return this.makeSignature({R:C,S:I,Rencoded:E})},u.prototype.verify=function(p,m,b){if(p=a(p),m=this.makeSignature(m),m.S().gte(m.eddsa.curve.n)||m.S().isNeg())return!1;var v=this.keyFromPublic(b),C=this.hashInt(m.Rencoded(),v.pubBytes(),p),E=this.g.mul(m.S()),T=m.R().add(v.pub().mul(C));return T.eq(E)},u.prototype.hashInt=function(){for(var p=this.hash(),m=0;m<arguments.length;m++)p.update(arguments[m]);return r.intFromLE(p.digest()).umod(this.curve.n)},u.prototype.keyFromPublic=function(p){return i.fromPublic(this,p)},u.prototype.keyFromSecret=function(p){return i.fromSecret(this,p)},u.prototype.makeSignature=function(p){return p instanceof o?p:new o(this,p)},u.prototype.encodePoint=function(p){var m=p.getY().toArray("le",this.encodingLength);return m[this.encodingLength-1]|=p.getX().isOdd()?128:0,m},u.prototype.decodePoint=function(p){p=r.parseBytes(p);var m=p.length-1,b=p.slice(0,m).concat(p[m]&-129),v=(p[m]&128)!==0,C=r.intFromLE(b);return this.curve.pointFromY(C,v)},u.prototype.encodeInt=function(p){return p.toArray("le",this.encodingLength)},u.prototype.decodeInt=function(p){return r.intFromLE(p)},u.prototype.isPoint=function(p){return p instanceof this.pointClass},P8}var cT;function Vx(){return cT||(cT=1,function(e){var t=e;t.version=Kne.version,t.utils=Is(),t.rand=Hx(),t.curve=nO(),t.curves=qx(),t.ec=fie(),t.eddsa=pie()}(g8)),g8}var $a={},W8={},r3={exports:{}};r3.exports;var lT;function mie(){return lT||(lT=1,function(e){(function(t,r){function n(w,s){if(!w)throw new Error(s||"Assertion failed")}function a(w,s){w.super_=s;var l=function(){};l.prototype=s.prototype,w.prototype=new l,w.prototype.constructor=w}function i(w,s,l){if(i.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((s==="le"||s==="be")&&(l=s,s=10),this._init(w||0,s||10,l||"be"))}typeof t=="object"?t.exports=i:r.BN=i,i.BN=i,i.wordSize=26;var o;try{typeof window<"u"&&typeof window.Buffer<"u"?o=window.Buffer:o=vt.Buffer}catch{}i.isBN=function(s){return s instanceof i?!0:s!==null&&typeof s=="object"&&s.constructor.wordSize===i.wordSize&&Array.isArray(s.words)},i.max=function(s,l){return s.cmp(l)>0?s:l},i.min=function(s,l){return s.cmp(l)<0?s:l},i.prototype._init=function(s,l,f){if(typeof s=="number")return this._initNumber(s,l,f);if(typeof s=="object")return this._initArray(s,l,f);l==="hex"&&(l=16),n(l===(l|0)&&l>=2&&l<=36),s=s.toString().replace(/\s+/g,"");var h=0;s[0]==="-"&&(h++,this.negative=1),h<s.length&&(l===16?this._parseHex(s,h,f):(this._parseBase(s,l,h),f==="le"&&this._initArray(this.toArray(),l,f)))},i.prototype._initNumber=function(s,l,f){s<0&&(this.negative=1,s=-s),s<67108864?(this.words=[s&67108863],this.length=1):s<4503599627370496?(this.words=[s&67108863,s/67108864&67108863],this.length=2):(n(s<9007199254740992),this.words=[s&67108863,s/67108864&67108863,1],this.length=3),f==="le"&&this._initArray(this.toArray(),l,f)},i.prototype._initArray=function(s,l,f){if(n(typeof s.length=="number"),s.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(s.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var g,x,A=0;if(f==="be")for(h=s.length-1,g=0;h>=0;h-=3)x=s[h]|s[h-1]<<8|s[h-2]<<16,this.words[g]|=x<<A&67108863,this.words[g+1]=x>>>26-A&67108863,A+=24,A>=26&&(A-=26,g++);else if(f==="le")for(h=0,g=0;h<s.length;h+=3)x=s[h]|s[h+1]<<8|s[h+2]<<16,this.words[g]|=x<<A&67108863,this.words[g+1]=x>>>26-A&67108863,A+=24,A>=26&&(A-=26,g++);return this.strip()};function u(w,s){var l=w.charCodeAt(s);return l>=65&&l<=70?l-55:l>=97&&l<=102?l-87:l-48&15}function d(w,s,l){var f=u(w,l);return l-1>=s&&(f|=u(w,l-1)<<4),f}i.prototype._parseHex=function(s,l,f){this.length=Math.ceil((s.length-l)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var g=0,x=0,A;if(f==="be")for(h=s.length-1;h>=l;h-=2)A=d(s,l,h)<<g,this.words[x]|=A&67108863,g>=18?(g-=18,x+=1,this.words[x]|=A>>>26):g+=8;else{var y=s.length-l;for(h=y%2===0?l+1:l;h<s.length;h+=2)A=d(s,l,h)<<g,this.words[x]|=A&67108863,g>=18?(g-=18,x+=1,this.words[x]|=A>>>26):g+=8}this.strip()};function p(w,s,l,f){for(var h=0,g=Math.min(w.length,l),x=s;x<g;x++){var A=w.charCodeAt(x)-48;h*=f,A>=49?h+=A-49+10:A>=17?h+=A-17+10:h+=A}return h}i.prototype._parseBase=function(s,l,f){this.words=[0],this.length=1;for(var h=0,g=1;g<=67108863;g*=l)h++;h--,g=g/l|0;for(var x=s.length-f,A=x%h,y=Math.min(x,x-A)+f,c=0,M=f;M<y;M+=h)c=p(s,M,M+h,l),this.imuln(g),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(A!==0){var B=1;for(c=p(s,M,s.length,l),M=0;M<A;M++)B*=l;this.imuln(B),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},i.prototype.copy=function(s){s.words=new Array(this.length);for(var l=0;l<this.length;l++)s.words[l]=this.words[l];s.length=this.length,s.negative=this.negative,s.red=this.red},i.prototype.clone=function(){var s=new i(null);return this.copy(s),s},i.prototype._expand=function(s){for(;this.length<s;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],b=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(s,l){s=s||10,l=l|0||1;var f;if(s===16||s==="hex"){f="";for(var h=0,g=0,x=0;x<this.length;x++){var A=this.words[x],y=((A<<h|g)&16777215).toString(16);g=A>>>24-h&16777215,h+=2,h>=26&&(h-=26,x--),g!==0||x!==this.length-1?f=m[6-y.length]+y+f:f=y+f}for(g!==0&&(f=g.toString(16)+f);f.length%l!==0;)f="0"+f;return this.negative!==0&&(f="-"+f),f}if(s===(s|0)&&s>=2&&s<=36){var c=b[s],M=v[s];f="";var B=this.clone();for(B.negative=0;!B.isZero();){var R=B.modn(M).toString(s);B=B.idivn(M),B.isZero()?f=R+f:f=m[c-R.length]+R+f}for(this.isZero()&&(f="0"+f);f.length%l!==0;)f="0"+f;return this.negative!==0&&(f="-"+f),f}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var s=this.words[0];return this.length===2?s+=this.words[1]*67108864:this.length===3&&this.words[2]===1?s+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-s:s},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(s,l){return n(typeof o<"u"),this.toArrayLike(o,s,l)},i.prototype.toArray=function(s,l){return this.toArrayLike(Array,s,l)},i.prototype.toArrayLike=function(s,l,f){var h=this.byteLength(),g=f||Math.max(1,h);n(h<=g,"byte array longer than desired length"),n(g>0,"Requested array length <= 0"),this.strip();var x=l==="le",A=new s(g),y,c,M=this.clone();if(x){for(c=0;!M.isZero();c++)y=M.andln(255),M.iushrn(8),A[c]=y;for(;c<g;c++)A[c]=0}else{for(c=0;c<g-h;c++)A[c]=0;for(c=0;!M.isZero();c++)y=M.andln(255),M.iushrn(8),A[g-c-1]=y}return A},Math.clz32?i.prototype._countBits=function(s){return 32-Math.clz32(s)}:i.prototype._countBits=function(s){var l=s,f=0;return l>=4096&&(f+=13,l>>>=13),l>=64&&(f+=7,l>>>=7),l>=8&&(f+=4,l>>>=4),l>=2&&(f+=2,l>>>=2),f+l},i.prototype._zeroBits=function(s){if(s===0)return 26;var l=s,f=0;return l&8191||(f+=13,l>>>=13),l&127||(f+=7,l>>>=7),l&15||(f+=4,l>>>=4),l&3||(f+=2,l>>>=2),l&1||f++,f},i.prototype.bitLength=function(){var s=this.words[this.length-1],l=this._countBits(s);return(this.length-1)*26+l};function C(w){for(var s=new Array(w.bitLength()),l=0;l<s.length;l++){var f=l/26|0,h=l%26;s[l]=(w.words[f]&1<<h)>>>h}return s}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var s=0,l=0;l<this.length;l++){var f=this._zeroBits(this.words[l]);if(s+=f,f!==26)break}return s},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(s){return this.negative!==0?this.abs().inotn(s).iaddn(1):this.clone()},i.prototype.fromTwos=function(s){return this.testn(s-1)?this.notn(s).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(s){for(;this.length<s.length;)this.words[this.length++]=0;for(var l=0;l<s.length;l++)this.words[l]=this.words[l]|s.words[l];return this.strip()},i.prototype.ior=function(s){return n((this.negative|s.negative)===0),this.iuor(s)},i.prototype.or=function(s){return this.length>s.length?this.clone().ior(s):s.clone().ior(this)},i.prototype.uor=function(s){return this.length>s.length?this.clone().iuor(s):s.clone().iuor(this)},i.prototype.iuand=function(s){var l;this.length>s.length?l=s:l=this;for(var f=0;f<l.length;f++)this.words[f]=this.words[f]&s.words[f];return this.length=l.length,this.strip()},i.prototype.iand=function(s){return n((this.negative|s.negative)===0),this.iuand(s)},i.prototype.and=function(s){return this.length>s.length?this.clone().iand(s):s.clone().iand(this)},i.prototype.uand=function(s){return this.length>s.length?this.clone().iuand(s):s.clone().iuand(this)},i.prototype.iuxor=function(s){var l,f;this.length>s.length?(l=this,f=s):(l=s,f=this);for(var h=0;h<f.length;h++)this.words[h]=l.words[h]^f.words[h];if(this!==l)for(;h<l.length;h++)this.words[h]=l.words[h];return this.length=l.length,this.strip()},i.prototype.ixor=function(s){return n((this.negative|s.negative)===0),this.iuxor(s)},i.prototype.xor=function(s){return this.length>s.length?this.clone().ixor(s):s.clone().ixor(this)},i.prototype.uxor=function(s){return this.length>s.length?this.clone().iuxor(s):s.clone().iuxor(this)},i.prototype.inotn=function(s){n(typeof s=="number"&&s>=0);var l=Math.ceil(s/26)|0,f=s%26;this._expand(l),f>0&&l--;for(var h=0;h<l;h++)this.words[h]=~this.words[h]&67108863;return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},i.prototype.notn=function(s){return this.clone().inotn(s)},i.prototype.setn=function(s,l){n(typeof s=="number"&&s>=0);var f=s/26|0,h=s%26;return this._expand(f+1),l?this.words[f]=this.words[f]|1<<h:this.words[f]=this.words[f]&~(1<<h),this.strip()},i.prototype.iadd=function(s){var l;if(this.negative!==0&&s.negative===0)return this.negative=0,l=this.isub(s),this.negative^=1,this._normSign();if(this.negative===0&&s.negative!==0)return s.negative=0,l=this.isub(s),s.negative=1,l._normSign();var f,h;this.length>s.length?(f=this,h=s):(f=s,h=this);for(var g=0,x=0;x<h.length;x++)l=(f.words[x]|0)+(h.words[x]|0)+g,this.words[x]=l&67108863,g=l>>>26;for(;g!==0&&x<f.length;x++)l=(f.words[x]|0)+g,this.words[x]=l&67108863,g=l>>>26;if(this.length=f.length,g!==0)this.words[this.length]=g,this.length++;else if(f!==this)for(;x<f.length;x++)this.words[x]=f.words[x];return this},i.prototype.add=function(s){var l;return s.negative!==0&&this.negative===0?(s.negative=0,l=this.sub(s),s.negative^=1,l):s.negative===0&&this.negative!==0?(this.negative=0,l=s.sub(this),this.negative=1,l):this.length>s.length?this.clone().iadd(s):s.clone().iadd(this)},i.prototype.isub=function(s){if(s.negative!==0){s.negative=0;var l=this.iadd(s);return s.negative=1,l._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(s),this.negative=1,this._normSign();var f=this.cmp(s);if(f===0)return this.negative=0,this.length=1,this.words[0]=0,this;var h,g;f>0?(h=this,g=s):(h=s,g=this);for(var x=0,A=0;A<g.length;A++)l=(h.words[A]|0)-(g.words[A]|0)+x,x=l>>26,this.words[A]=l&67108863;for(;x!==0&&A<h.length;A++)l=(h.words[A]|0)+x,x=l>>26,this.words[A]=l&67108863;if(x===0&&A<h.length&&h!==this)for(;A<h.length;A++)this.words[A]=h.words[A];return this.length=Math.max(this.length,A),h!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(s){return this.clone().isub(s)};function E(w,s,l){l.negative=s.negative^w.negative;var f=w.length+s.length|0;l.length=f,f=f-1|0;var h=w.words[0]|0,g=s.words[0]|0,x=h*g,A=x&67108863,y=x/67108864|0;l.words[0]=A;for(var c=1;c<f;c++){for(var M=y>>>26,B=y&67108863,R=Math.min(c,s.length-1),Q=Math.max(0,c-w.length+1);Q<=R;Q++){var K=c-Q|0;h=w.words[K]|0,g=s.words[Q]|0,x=h*g+B,M+=x/67108864|0,B=x&67108863}l.words[c]=B|0,y=M|0}return y!==0?l.words[c]=y|0:l.length--,l.strip()}var T=function(s,l,f){var h=s.words,g=l.words,x=f.words,A=0,y,c,M,B=h[0]|0,R=B&8191,Q=B>>>13,K=h[1]|0,q=K&8191,P=K>>>13,G=h[2]|0,X=G&8191,ne=G>>>13,te=h[3]|0,V=te&8191,oe=te>>>13,xe=h[4]|0,fe=xe&8191,me=xe>>>13,Ze=h[5]|0,he=Ze&8191,Se=Ze>>>13,Ke=h[6]|0,ye=Ke&8191,ce=Ke>>>13,Fe=h[7]|0,pe=Fe&8191,we=Fe>>>13,gt=h[8]|0,$=gt&8191,U=gt>>>13,Z=h[9]|0,ie=Z&8191,se=Z>>>13,be=g[0]|0,le=be&8191,Ce=be>>>13,We=g[1]|0,Me=We&8191,De=We>>>13,st=g[2]|0,Te=st&8191,Oe=st>>>13,Ft=g[3]|0,Le=Ft&8191,Ue=Ft>>>13,Yt=g[4]|0,_e=Yt&8191,Pe=Yt>>>13,Mt=g[5]|0,Be=Mt&8191,He=Mt>>>13,sr=g[6]|0,ke=sr&8191,Ge=sr>>>13,J=g[7]|0,ee=J&8191,re=J>>>13,H=g[8]|0,ae=H&8191,ue=H>>>13,Ee=g[9]|0,de=Ee&8191,ve=Ee>>>13;f.negative=s.negative^l.negative,f.length=19,y=Math.imul(R,le),c=Math.imul(R,Ce),c=c+Math.imul(Q,le)|0,M=Math.imul(Q,Ce);var tt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(tt>>>26)|0,tt&=67108863,y=Math.imul(q,le),c=Math.imul(q,Ce),c=c+Math.imul(P,le)|0,M=Math.imul(P,Ce),y=y+Math.imul(R,Me)|0,c=c+Math.imul(R,De)|0,c=c+Math.imul(Q,Me)|0,M=M+Math.imul(Q,De)|0;var qe=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(qe>>>26)|0,qe&=67108863,y=Math.imul(X,le),c=Math.imul(X,Ce),c=c+Math.imul(ne,le)|0,M=Math.imul(ne,Ce),y=y+Math.imul(q,Me)|0,c=c+Math.imul(q,De)|0,c=c+Math.imul(P,Me)|0,M=M+Math.imul(P,De)|0,y=y+Math.imul(R,Te)|0,c=c+Math.imul(R,Oe)|0,c=c+Math.imul(Q,Te)|0,M=M+Math.imul(Q,Oe)|0;var _t=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(_t>>>26)|0,_t&=67108863,y=Math.imul(V,le),c=Math.imul(V,Ce),c=c+Math.imul(oe,le)|0,M=Math.imul(oe,Ce),y=y+Math.imul(X,Me)|0,c=c+Math.imul(X,De)|0,c=c+Math.imul(ne,Me)|0,M=M+Math.imul(ne,De)|0,y=y+Math.imul(q,Te)|0,c=c+Math.imul(q,Oe)|0,c=c+Math.imul(P,Te)|0,M=M+Math.imul(P,Oe)|0,y=y+Math.imul(R,Le)|0,c=c+Math.imul(R,Ue)|0,c=c+Math.imul(Q,Le)|0,M=M+Math.imul(Q,Ue)|0;var lt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(lt>>>26)|0,lt&=67108863,y=Math.imul(fe,le),c=Math.imul(fe,Ce),c=c+Math.imul(me,le)|0,M=Math.imul(me,Ce),y=y+Math.imul(V,Me)|0,c=c+Math.imul(V,De)|0,c=c+Math.imul(oe,Me)|0,M=M+Math.imul(oe,De)|0,y=y+Math.imul(X,Te)|0,c=c+Math.imul(X,Oe)|0,c=c+Math.imul(ne,Te)|0,M=M+Math.imul(ne,Oe)|0,y=y+Math.imul(q,Le)|0,c=c+Math.imul(q,Ue)|0,c=c+Math.imul(P,Le)|0,M=M+Math.imul(P,Ue)|0,y=y+Math.imul(R,_e)|0,c=c+Math.imul(R,Pe)|0,c=c+Math.imul(Q,_e)|0,M=M+Math.imul(Q,Pe)|0;var wt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(wt>>>26)|0,wt&=67108863,y=Math.imul(he,le),c=Math.imul(he,Ce),c=c+Math.imul(Se,le)|0,M=Math.imul(Se,Ce),y=y+Math.imul(fe,Me)|0,c=c+Math.imul(fe,De)|0,c=c+Math.imul(me,Me)|0,M=M+Math.imul(me,De)|0,y=y+Math.imul(V,Te)|0,c=c+Math.imul(V,Oe)|0,c=c+Math.imul(oe,Te)|0,M=M+Math.imul(oe,Oe)|0,y=y+Math.imul(X,Le)|0,c=c+Math.imul(X,Ue)|0,c=c+Math.imul(ne,Le)|0,M=M+Math.imul(ne,Ue)|0,y=y+Math.imul(q,_e)|0,c=c+Math.imul(q,Pe)|0,c=c+Math.imul(P,_e)|0,M=M+Math.imul(P,Pe)|0,y=y+Math.imul(R,Be)|0,c=c+Math.imul(R,He)|0,c=c+Math.imul(Q,Be)|0,M=M+Math.imul(Q,He)|0;var Et=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Et>>>26)|0,Et&=67108863,y=Math.imul(ye,le),c=Math.imul(ye,Ce),c=c+Math.imul(ce,le)|0,M=Math.imul(ce,Ce),y=y+Math.imul(he,Me)|0,c=c+Math.imul(he,De)|0,c=c+Math.imul(Se,Me)|0,M=M+Math.imul(Se,De)|0,y=y+Math.imul(fe,Te)|0,c=c+Math.imul(fe,Oe)|0,c=c+Math.imul(me,Te)|0,M=M+Math.imul(me,Oe)|0,y=y+Math.imul(V,Le)|0,c=c+Math.imul(V,Ue)|0,c=c+Math.imul(oe,Le)|0,M=M+Math.imul(oe,Ue)|0,y=y+Math.imul(X,_e)|0,c=c+Math.imul(X,Pe)|0,c=c+Math.imul(ne,_e)|0,M=M+Math.imul(ne,Pe)|0,y=y+Math.imul(q,Be)|0,c=c+Math.imul(q,He)|0,c=c+Math.imul(P,Be)|0,M=M+Math.imul(P,He)|0,y=y+Math.imul(R,ke)|0,c=c+Math.imul(R,Ge)|0,c=c+Math.imul(Q,ke)|0,M=M+Math.imul(Q,Ge)|0;var jt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(jt>>>26)|0,jt&=67108863,y=Math.imul(pe,le),c=Math.imul(pe,Ce),c=c+Math.imul(we,le)|0,M=Math.imul(we,Ce),y=y+Math.imul(ye,Me)|0,c=c+Math.imul(ye,De)|0,c=c+Math.imul(ce,Me)|0,M=M+Math.imul(ce,De)|0,y=y+Math.imul(he,Te)|0,c=c+Math.imul(he,Oe)|0,c=c+Math.imul(Se,Te)|0,M=M+Math.imul(Se,Oe)|0,y=y+Math.imul(fe,Le)|0,c=c+Math.imul(fe,Ue)|0,c=c+Math.imul(me,Le)|0,M=M+Math.imul(me,Ue)|0,y=y+Math.imul(V,_e)|0,c=c+Math.imul(V,Pe)|0,c=c+Math.imul(oe,_e)|0,M=M+Math.imul(oe,Pe)|0,y=y+Math.imul(X,Be)|0,c=c+Math.imul(X,He)|0,c=c+Math.imul(ne,Be)|0,M=M+Math.imul(ne,He)|0,y=y+Math.imul(q,ke)|0,c=c+Math.imul(q,Ge)|0,c=c+Math.imul(P,ke)|0,M=M+Math.imul(P,Ge)|0,y=y+Math.imul(R,ee)|0,c=c+Math.imul(R,re)|0,c=c+Math.imul(Q,ee)|0,M=M+Math.imul(Q,re)|0;var Nt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,y=Math.imul($,le),c=Math.imul($,Ce),c=c+Math.imul(U,le)|0,M=Math.imul(U,Ce),y=y+Math.imul(pe,Me)|0,c=c+Math.imul(pe,De)|0,c=c+Math.imul(we,Me)|0,M=M+Math.imul(we,De)|0,y=y+Math.imul(ye,Te)|0,c=c+Math.imul(ye,Oe)|0,c=c+Math.imul(ce,Te)|0,M=M+Math.imul(ce,Oe)|0,y=y+Math.imul(he,Le)|0,c=c+Math.imul(he,Ue)|0,c=c+Math.imul(Se,Le)|0,M=M+Math.imul(Se,Ue)|0,y=y+Math.imul(fe,_e)|0,c=c+Math.imul(fe,Pe)|0,c=c+Math.imul(me,_e)|0,M=M+Math.imul(me,Pe)|0,y=y+Math.imul(V,Be)|0,c=c+Math.imul(V,He)|0,c=c+Math.imul(oe,Be)|0,M=M+Math.imul(oe,He)|0,y=y+Math.imul(X,ke)|0,c=c+Math.imul(X,Ge)|0,c=c+Math.imul(ne,ke)|0,M=M+Math.imul(ne,Ge)|0,y=y+Math.imul(q,ee)|0,c=c+Math.imul(q,re)|0,c=c+Math.imul(P,ee)|0,M=M+Math.imul(P,re)|0,y=y+Math.imul(R,ae)|0,c=c+Math.imul(R,ue)|0,c=c+Math.imul(Q,ae)|0,M=M+Math.imul(Q,ue)|0;var St=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(St>>>26)|0,St&=67108863,y=Math.imul(ie,le),c=Math.imul(ie,Ce),c=c+Math.imul(se,le)|0,M=Math.imul(se,Ce),y=y+Math.imul($,Me)|0,c=c+Math.imul($,De)|0,c=c+Math.imul(U,Me)|0,M=M+Math.imul(U,De)|0,y=y+Math.imul(pe,Te)|0,c=c+Math.imul(pe,Oe)|0,c=c+Math.imul(we,Te)|0,M=M+Math.imul(we,Oe)|0,y=y+Math.imul(ye,Le)|0,c=c+Math.imul(ye,Ue)|0,c=c+Math.imul(ce,Le)|0,M=M+Math.imul(ce,Ue)|0,y=y+Math.imul(he,_e)|0,c=c+Math.imul(he,Pe)|0,c=c+Math.imul(Se,_e)|0,M=M+Math.imul(Se,Pe)|0,y=y+Math.imul(fe,Be)|0,c=c+Math.imul(fe,He)|0,c=c+Math.imul(me,Be)|0,M=M+Math.imul(me,He)|0,y=y+Math.imul(V,ke)|0,c=c+Math.imul(V,Ge)|0,c=c+Math.imul(oe,ke)|0,M=M+Math.imul(oe,Ge)|0,y=y+Math.imul(X,ee)|0,c=c+Math.imul(X,re)|0,c=c+Math.imul(ne,ee)|0,M=M+Math.imul(ne,re)|0,y=y+Math.imul(q,ae)|0,c=c+Math.imul(q,ue)|0,c=c+Math.imul(P,ae)|0,M=M+Math.imul(P,ue)|0,y=y+Math.imul(R,de)|0,c=c+Math.imul(R,ve)|0,c=c+Math.imul(Q,de)|0,M=M+Math.imul(Q,ve)|0;var It=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(It>>>26)|0,It&=67108863,y=Math.imul(ie,Me),c=Math.imul(ie,De),c=c+Math.imul(se,Me)|0,M=Math.imul(se,De),y=y+Math.imul($,Te)|0,c=c+Math.imul($,Oe)|0,c=c+Math.imul(U,Te)|0,M=M+Math.imul(U,Oe)|0,y=y+Math.imul(pe,Le)|0,c=c+Math.imul(pe,Ue)|0,c=c+Math.imul(we,Le)|0,M=M+Math.imul(we,Ue)|0,y=y+Math.imul(ye,_e)|0,c=c+Math.imul(ye,Pe)|0,c=c+Math.imul(ce,_e)|0,M=M+Math.imul(ce,Pe)|0,y=y+Math.imul(he,Be)|0,c=c+Math.imul(he,He)|0,c=c+Math.imul(Se,Be)|0,M=M+Math.imul(Se,He)|0,y=y+Math.imul(fe,ke)|0,c=c+Math.imul(fe,Ge)|0,c=c+Math.imul(me,ke)|0,M=M+Math.imul(me,Ge)|0,y=y+Math.imul(V,ee)|0,c=c+Math.imul(V,re)|0,c=c+Math.imul(oe,ee)|0,M=M+Math.imul(oe,re)|0,y=y+Math.imul(X,ae)|0,c=c+Math.imul(X,ue)|0,c=c+Math.imul(ne,ae)|0,M=M+Math.imul(ne,ue)|0,y=y+Math.imul(q,de)|0,c=c+Math.imul(q,ve)|0,c=c+Math.imul(P,de)|0,M=M+Math.imul(P,ve)|0;var Dt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,y=Math.imul(ie,Te),c=Math.imul(ie,Oe),c=c+Math.imul(se,Te)|0,M=Math.imul(se,Oe),y=y+Math.imul($,Le)|0,c=c+Math.imul($,Ue)|0,c=c+Math.imul(U,Le)|0,M=M+Math.imul(U,Ue)|0,y=y+Math.imul(pe,_e)|0,c=c+Math.imul(pe,Pe)|0,c=c+Math.imul(we,_e)|0,M=M+Math.imul(we,Pe)|0,y=y+Math.imul(ye,Be)|0,c=c+Math.imul(ye,He)|0,c=c+Math.imul(ce,Be)|0,M=M+Math.imul(ce,He)|0,y=y+Math.imul(he,ke)|0,c=c+Math.imul(he,Ge)|0,c=c+Math.imul(Se,ke)|0,M=M+Math.imul(Se,Ge)|0,y=y+Math.imul(fe,ee)|0,c=c+Math.imul(fe,re)|0,c=c+Math.imul(me,ee)|0,M=M+Math.imul(me,re)|0,y=y+Math.imul(V,ae)|0,c=c+Math.imul(V,ue)|0,c=c+Math.imul(oe,ae)|0,M=M+Math.imul(oe,ue)|0,y=y+Math.imul(X,de)|0,c=c+Math.imul(X,ve)|0,c=c+Math.imul(ne,de)|0,M=M+Math.imul(ne,ve)|0;var dt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(dt>>>26)|0,dt&=67108863,y=Math.imul(ie,Le),c=Math.imul(ie,Ue),c=c+Math.imul(se,Le)|0,M=Math.imul(se,Ue),y=y+Math.imul($,_e)|0,c=c+Math.imul($,Pe)|0,c=c+Math.imul(U,_e)|0,M=M+Math.imul(U,Pe)|0,y=y+Math.imul(pe,Be)|0,c=c+Math.imul(pe,He)|0,c=c+Math.imul(we,Be)|0,M=M+Math.imul(we,He)|0,y=y+Math.imul(ye,ke)|0,c=c+Math.imul(ye,Ge)|0,c=c+Math.imul(ce,ke)|0,M=M+Math.imul(ce,Ge)|0,y=y+Math.imul(he,ee)|0,c=c+Math.imul(he,re)|0,c=c+Math.imul(Se,ee)|0,M=M+Math.imul(Se,re)|0,y=y+Math.imul(fe,ae)|0,c=c+Math.imul(fe,ue)|0,c=c+Math.imul(me,ae)|0,M=M+Math.imul(me,ue)|0,y=y+Math.imul(V,de)|0,c=c+Math.imul(V,ve)|0,c=c+Math.imul(oe,de)|0,M=M+Math.imul(oe,ve)|0;var yt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(yt>>>26)|0,yt&=67108863,y=Math.imul(ie,_e),c=Math.imul(ie,Pe),c=c+Math.imul(se,_e)|0,M=Math.imul(se,Pe),y=y+Math.imul($,Be)|0,c=c+Math.imul($,He)|0,c=c+Math.imul(U,Be)|0,M=M+Math.imul(U,He)|0,y=y+Math.imul(pe,ke)|0,c=c+Math.imul(pe,Ge)|0,c=c+Math.imul(we,ke)|0,M=M+Math.imul(we,Ge)|0,y=y+Math.imul(ye,ee)|0,c=c+Math.imul(ye,re)|0,c=c+Math.imul(ce,ee)|0,M=M+Math.imul(ce,re)|0,y=y+Math.imul(he,ae)|0,c=c+Math.imul(he,ue)|0,c=c+Math.imul(Se,ae)|0,M=M+Math.imul(Se,ue)|0,y=y+Math.imul(fe,de)|0,c=c+Math.imul(fe,ve)|0,c=c+Math.imul(me,de)|0,M=M+Math.imul(me,ve)|0;var ot=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(ot>>>26)|0,ot&=67108863,y=Math.imul(ie,Be),c=Math.imul(ie,He),c=c+Math.imul(se,Be)|0,M=Math.imul(se,He),y=y+Math.imul($,ke)|0,c=c+Math.imul($,Ge)|0,c=c+Math.imul(U,ke)|0,M=M+Math.imul(U,Ge)|0,y=y+Math.imul(pe,ee)|0,c=c+Math.imul(pe,re)|0,c=c+Math.imul(we,ee)|0,M=M+Math.imul(we,re)|0,y=y+Math.imul(ye,ae)|0,c=c+Math.imul(ye,ue)|0,c=c+Math.imul(ce,ae)|0,M=M+Math.imul(ce,ue)|0,y=y+Math.imul(he,de)|0,c=c+Math.imul(he,ve)|0,c=c+Math.imul(Se,de)|0,M=M+Math.imul(Se,ve)|0;var ht=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(ht>>>26)|0,ht&=67108863,y=Math.imul(ie,ke),c=Math.imul(ie,Ge),c=c+Math.imul(se,ke)|0,M=Math.imul(se,Ge),y=y+Math.imul($,ee)|0,c=c+Math.imul($,re)|0,c=c+Math.imul(U,ee)|0,M=M+Math.imul(U,re)|0,y=y+Math.imul(pe,ae)|0,c=c+Math.imul(pe,ue)|0,c=c+Math.imul(we,ae)|0,M=M+Math.imul(we,ue)|0,y=y+Math.imul(ye,de)|0,c=c+Math.imul(ye,ve)|0,c=c+Math.imul(ce,de)|0,M=M+Math.imul(ce,ve)|0;var pt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(pt>>>26)|0,pt&=67108863,y=Math.imul(ie,ee),c=Math.imul(ie,re),c=c+Math.imul(se,ee)|0,M=Math.imul(se,re),y=y+Math.imul($,ae)|0,c=c+Math.imul($,ue)|0,c=c+Math.imul(U,ae)|0,M=M+Math.imul(U,ue)|0,y=y+Math.imul(pe,de)|0,c=c+Math.imul(pe,ve)|0,c=c+Math.imul(we,de)|0,M=M+Math.imul(we,ve)|0;var nt=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(nt>>>26)|0,nt&=67108863,y=Math.imul(ie,ae),c=Math.imul(ie,ue),c=c+Math.imul(se,ae)|0,M=Math.imul(se,ue),y=y+Math.imul($,de)|0,c=c+Math.imul($,ve)|0,c=c+Math.imul(U,de)|0,M=M+Math.imul(U,ve)|0;var Ie=(A+y|0)+((c&8191)<<13)|0;A=(M+(c>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,y=Math.imul(ie,de),c=Math.imul(ie,ve),c=c+Math.imul(se,de)|0,M=Math.imul(se,ve);var Ne=(A+y|0)+((c&8191)<<13)|0;return A=(M+(c>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,x[0]=tt,x[1]=qe,x[2]=_t,x[3]=lt,x[4]=wt,x[5]=Et,x[6]=jt,x[7]=Nt,x[8]=St,x[9]=It,x[10]=Dt,x[11]=dt,x[12]=yt,x[13]=ot,x[14]=ht,x[15]=pt,x[16]=nt,x[17]=Ie,x[18]=Ne,A!==0&&(x[19]=A,f.length++),f};Math.imul||(T=E);function I(w,s,l){l.negative=s.negative^w.negative,l.length=w.length+s.length;for(var f=0,h=0,g=0;g<l.length-1;g++){var x=h;h=0;for(var A=f&67108863,y=Math.min(g,s.length-1),c=Math.max(0,g-w.length+1);c<=y;c++){var M=g-c,B=w.words[M]|0,R=s.words[c]|0,Q=B*R,K=Q&67108863;x=x+(Q/67108864|0)|0,K=K+A|0,A=K&67108863,x=x+(K>>>26)|0,h+=x>>>26,x&=67108863}l.words[g]=A,f=x,x=h}return f!==0?l.words[g]=f:l.length--,l.strip()}function D(w,s,l){var f=new S;return f.mulp(w,s,l)}i.prototype.mulTo=function(s,l){var f,h=this.length+s.length;return this.length===10&&s.length===10?f=T(this,s,l):h<63?f=E(this,s,l):h<1024?f=I(this,s,l):f=D(this,s,l),f};function S(w,s){this.x=w,this.y=s}S.prototype.makeRBT=function(s){for(var l=new Array(s),f=i.prototype._countBits(s)-1,h=0;h<s;h++)l[h]=this.revBin(h,f,s);return l},S.prototype.revBin=function(s,l,f){if(s===0||s===f-1)return s;for(var h=0,g=0;g<l;g++)h|=(s&1)<<l-g-1,s>>=1;return h},S.prototype.permute=function(s,l,f,h,g,x){for(var A=0;A<x;A++)h[A]=l[s[A]],g[A]=f[s[A]]},S.prototype.transform=function(s,l,f,h,g,x){this.permute(x,s,l,f,h,g);for(var A=1;A<g;A<<=1)for(var y=A<<1,c=Math.cos(2*Math.PI/y),M=Math.sin(2*Math.PI/y),B=0;B<g;B+=y)for(var R=c,Q=M,K=0;K<A;K++){var q=f[B+K],P=h[B+K],G=f[B+K+A],X=h[B+K+A],ne=R*G-Q*X;X=R*X+Q*G,G=ne,f[B+K]=q+G,h[B+K]=P+X,f[B+K+A]=q-G,h[B+K+A]=P-X,K!==y&&(ne=c*R-M*Q,Q=c*Q+M*R,R=ne)}},S.prototype.guessLen13b=function(s,l){var f=Math.max(l,s)|1,h=f&1,g=0;for(f=f/2|0;f;f=f>>>1)g++;return 1<<g+1+h},S.prototype.conjugate=function(s,l,f){if(!(f<=1))for(var h=0;h<f/2;h++){var g=s[h];s[h]=s[f-h-1],s[f-h-1]=g,g=l[h],l[h]=-l[f-h-1],l[f-h-1]=-g}},S.prototype.normalize13b=function(s,l){for(var f=0,h=0;h<l/2;h++){var g=Math.round(s[2*h+1]/l)*8192+Math.round(s[2*h]/l)+f;s[h]=g&67108863,g<67108864?f=0:f=g/67108864|0}return s},S.prototype.convert13b=function(s,l,f,h){for(var g=0,x=0;x<l;x++)g=g+(s[x]|0),f[2*x]=g&8191,g=g>>>13,f[2*x+1]=g&8191,g=g>>>13;for(x=2*l;x<h;++x)f[x]=0;n(g===0),n((g&-8192)===0)},S.prototype.stub=function(s){for(var l=new Array(s),f=0;f<s;f++)l[f]=0;return l},S.prototype.mulp=function(s,l,f){var h=2*this.guessLen13b(s.length,l.length),g=this.makeRBT(h),x=this.stub(h),A=new Array(h),y=new Array(h),c=new Array(h),M=new Array(h),B=new Array(h),R=new Array(h),Q=f.words;Q.length=h,this.convert13b(s.words,s.length,A,h),this.convert13b(l.words,l.length,M,h),this.transform(A,x,y,c,h,g),this.transform(M,x,B,R,h,g);for(var K=0;K<h;K++){var q=y[K]*B[K]-c[K]*R[K];c[K]=y[K]*R[K]+c[K]*B[K],y[K]=q}return this.conjugate(y,c,h),this.transform(y,c,Q,x,h,g),this.conjugate(Q,x,h),this.normalize13b(Q,h),f.negative=s.negative^l.negative,f.length=s.length+l.length,f.strip()},i.prototype.mul=function(s){var l=new i(null);return l.words=new Array(this.length+s.length),this.mulTo(s,l)},i.prototype.mulf=function(s){var l=new i(null);return l.words=new Array(this.length+s.length),D(this,s,l)},i.prototype.imul=function(s){return this.clone().mulTo(s,this)},i.prototype.imuln=function(s){n(typeof s=="number"),n(s<67108864);for(var l=0,f=0;f<this.length;f++){var h=(this.words[f]|0)*s,g=(h&67108863)+(l&67108863);l>>=26,l+=h/67108864|0,l+=g>>>26,this.words[f]=g&67108863}return l!==0&&(this.words[f]=l,this.length++),this.length=s===0?1:this.length,this},i.prototype.muln=function(s){return this.clone().imuln(s)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(s){var l=C(s);if(l.length===0)return new i(1);for(var f=this,h=0;h<l.length&&l[h]===0;h++,f=f.sqr());if(++h<l.length)for(var g=f.sqr();h<l.length;h++,g=g.sqr())l[h]!==0&&(f=f.mul(g));return f},i.prototype.iushln=function(s){n(typeof s=="number"&&s>=0);var l=s%26,f=(s-l)/26,h=67108863>>>26-l<<26-l,g;if(l!==0){var x=0;for(g=0;g<this.length;g++){var A=this.words[g]&h,y=(this.words[g]|0)-A<<l;this.words[g]=y|x,x=A>>>26-l}x&&(this.words[g]=x,this.length++)}if(f!==0){for(g=this.length-1;g>=0;g--)this.words[g+f]=this.words[g];for(g=0;g<f;g++)this.words[g]=0;this.length+=f}return this.strip()},i.prototype.ishln=function(s){return n(this.negative===0),this.iushln(s)},i.prototype.iushrn=function(s,l,f){n(typeof s=="number"&&s>=0);var h;l?h=(l-l%26)/26:h=0;var g=s%26,x=Math.min((s-g)/26,this.length),A=67108863^67108863>>>g<<g,y=f;if(h-=x,h=Math.max(0,h),y){for(var c=0;c<x;c++)y.words[c]=this.words[c];y.length=x}if(x!==0)if(this.length>x)for(this.length-=x,c=0;c<this.length;c++)this.words[c]=this.words[c+x];else this.words[0]=0,this.length=1;var M=0;for(c=this.length-1;c>=0&&(M!==0||c>=h);c--){var B=this.words[c]|0;this.words[c]=M<<26-g|B>>>g,M=B&A}return y&&M!==0&&(y.words[y.length++]=M),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(s,l,f){return n(this.negative===0),this.iushrn(s,l,f)},i.prototype.shln=function(s){return this.clone().ishln(s)},i.prototype.ushln=function(s){return this.clone().iushln(s)},i.prototype.shrn=function(s){return this.clone().ishrn(s)},i.prototype.ushrn=function(s){return this.clone().iushrn(s)},i.prototype.testn=function(s){n(typeof s=="number"&&s>=0);var l=s%26,f=(s-l)/26,h=1<<l;if(this.length<=f)return!1;var g=this.words[f];return!!(g&h)},i.prototype.imaskn=function(s){n(typeof s=="number"&&s>=0);var l=s%26,f=(s-l)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=f)return this;if(l!==0&&f++,this.length=Math.min(f,this.length),l!==0){var h=67108863^67108863>>>l<<l;this.words[this.length-1]&=h}return this.strip()},i.prototype.maskn=function(s){return this.clone().imaskn(s)},i.prototype.iaddn=function(s){return n(typeof s=="number"),n(s<67108864),s<0?this.isubn(-s):this.negative!==0?this.length===1&&(this.words[0]|0)<s?(this.words[0]=s-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(s),this.negative=1,this):this._iaddn(s)},i.prototype._iaddn=function(s){this.words[0]+=s;for(var l=0;l<this.length&&this.words[l]>=67108864;l++)this.words[l]-=67108864,l===this.length-1?this.words[l+1]=1:this.words[l+1]++;return this.length=Math.max(this.length,l+1),this},i.prototype.isubn=function(s){if(n(typeof s=="number"),n(s<67108864),s<0)return this.iaddn(-s);if(this.negative!==0)return this.negative=0,this.iaddn(s),this.negative=1,this;if(this.words[0]-=s,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var l=0;l<this.length&&this.words[l]<0;l++)this.words[l]+=67108864,this.words[l+1]-=1;return this.strip()},i.prototype.addn=function(s){return this.clone().iaddn(s)},i.prototype.subn=function(s){return this.clone().isubn(s)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(s,l,f){var h=s.length+f,g;this._expand(h);var x,A=0;for(g=0;g<s.length;g++){x=(this.words[g+f]|0)+A;var y=(s.words[g]|0)*l;x-=y&67108863,A=(x>>26)-(y/67108864|0),this.words[g+f]=x&67108863}for(;g<this.length-f;g++)x=(this.words[g+f]|0)+A,A=x>>26,this.words[g+f]=x&67108863;if(A===0)return this.strip();for(n(A===-1),A=0,g=0;g<this.length;g++)x=-(this.words[g]|0)+A,A=x>>26,this.words[g]=x&67108863;return this.negative=1,this.strip()},i.prototype._wordDiv=function(s,l){var f=this.length-s.length,h=this.clone(),g=s,x=g.words[g.length-1]|0,A=this._countBits(x);f=26-A,f!==0&&(g=g.ushln(f),h.iushln(f),x=g.words[g.length-1]|0);var y=h.length-g.length,c;if(l!=="mod"){c=new i(null),c.length=y+1,c.words=new Array(c.length);for(var M=0;M<c.length;M++)c.words[M]=0}var B=h.clone()._ishlnsubmul(g,1,y);B.negative===0&&(h=B,c&&(c.words[y]=1));for(var R=y-1;R>=0;R--){var Q=(h.words[g.length+R]|0)*67108864+(h.words[g.length+R-1]|0);for(Q=Math.min(Q/x|0,67108863),h._ishlnsubmul(g,Q,R);h.negative!==0;)Q--,h.negative=0,h._ishlnsubmul(g,1,R),h.isZero()||(h.negative^=1);c&&(c.words[R]=Q)}return c&&c.strip(),h.strip(),l!=="div"&&f!==0&&h.iushrn(f),{div:c||null,mod:h}},i.prototype.divmod=function(s,l,f){if(n(!s.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var h,g,x;return this.negative!==0&&s.negative===0?(x=this.neg().divmod(s,l),l!=="mod"&&(h=x.div.neg()),l!=="div"&&(g=x.mod.neg(),f&&g.negative!==0&&g.iadd(s)),{div:h,mod:g}):this.negative===0&&s.negative!==0?(x=this.divmod(s.neg(),l),l!=="mod"&&(h=x.div.neg()),{div:h,mod:x.mod}):this.negative&s.negative?(x=this.neg().divmod(s.neg(),l),l!=="div"&&(g=x.mod.neg(),f&&g.negative!==0&&g.isub(s)),{div:x.div,mod:g}):s.length>this.length||this.cmp(s)<0?{div:new i(0),mod:this}:s.length===1?l==="div"?{div:this.divn(s.words[0]),mod:null}:l==="mod"?{div:null,mod:new i(this.modn(s.words[0]))}:{div:this.divn(s.words[0]),mod:new i(this.modn(s.words[0]))}:this._wordDiv(s,l)},i.prototype.div=function(s){return this.divmod(s,"div",!1).div},i.prototype.mod=function(s){return this.divmod(s,"mod",!1).mod},i.prototype.umod=function(s){return this.divmod(s,"mod",!0).mod},i.prototype.divRound=function(s){var l=this.divmod(s);if(l.mod.isZero())return l.div;var f=l.div.negative!==0?l.mod.isub(s):l.mod,h=s.ushrn(1),g=s.andln(1),x=f.cmp(h);return x<0||g===1&&x===0?l.div:l.div.negative!==0?l.div.isubn(1):l.div.iaddn(1)},i.prototype.modn=function(s){n(s<=67108863);for(var l=(1<<26)%s,f=0,h=this.length-1;h>=0;h--)f=(l*f+(this.words[h]|0))%s;return f},i.prototype.idivn=function(s){n(s<=67108863);for(var l=0,f=this.length-1;f>=0;f--){var h=(this.words[f]|0)+l*67108864;this.words[f]=h/s|0,l=h%s}return this.strip()},i.prototype.divn=function(s){return this.clone().idivn(s)},i.prototype.egcd=function(s){n(s.negative===0),n(!s.isZero());var l=this,f=s.clone();l.negative!==0?l=l.umod(s):l=l.clone();for(var h=new i(1),g=new i(0),x=new i(0),A=new i(1),y=0;l.isEven()&&f.isEven();)l.iushrn(1),f.iushrn(1),++y;for(var c=f.clone(),M=l.clone();!l.isZero();){for(var B=0,R=1;!(l.words[0]&R)&&B<26;++B,R<<=1);if(B>0)for(l.iushrn(B);B-- >0;)(h.isOdd()||g.isOdd())&&(h.iadd(c),g.isub(M)),h.iushrn(1),g.iushrn(1);for(var Q=0,K=1;!(f.words[0]&K)&&Q<26;++Q,K<<=1);if(Q>0)for(f.iushrn(Q);Q-- >0;)(x.isOdd()||A.isOdd())&&(x.iadd(c),A.isub(M)),x.iushrn(1),A.iushrn(1);l.cmp(f)>=0?(l.isub(f),h.isub(x),g.isub(A)):(f.isub(l),x.isub(h),A.isub(g))}return{a:x,b:A,gcd:f.iushln(y)}},i.prototype._invmp=function(s){n(s.negative===0),n(!s.isZero());var l=this,f=s.clone();l.negative!==0?l=l.umod(s):l=l.clone();for(var h=new i(1),g=new i(0),x=f.clone();l.cmpn(1)>0&&f.cmpn(1)>0;){for(var A=0,y=1;!(l.words[0]&y)&&A<26;++A,y<<=1);if(A>0)for(l.iushrn(A);A-- >0;)h.isOdd()&&h.iadd(x),h.iushrn(1);for(var c=0,M=1;!(f.words[0]&M)&&c<26;++c,M<<=1);if(c>0)for(f.iushrn(c);c-- >0;)g.isOdd()&&g.iadd(x),g.iushrn(1);l.cmp(f)>=0?(l.isub(f),h.isub(g)):(f.isub(l),g.isub(h))}var B;return l.cmpn(1)===0?B=h:B=g,B.cmpn(0)<0&&B.iadd(s),B},i.prototype.gcd=function(s){if(this.isZero())return s.abs();if(s.isZero())return this.abs();var l=this.clone(),f=s.clone();l.negative=0,f.negative=0;for(var h=0;l.isEven()&&f.isEven();h++)l.iushrn(1),f.iushrn(1);do{for(;l.isEven();)l.iushrn(1);for(;f.isEven();)f.iushrn(1);var g=l.cmp(f);if(g<0){var x=l;l=f,f=x}else if(g===0||f.cmpn(1)===0)break;l.isub(f)}while(!0);return f.iushln(h)},i.prototype.invm=function(s){return this.egcd(s).a.umod(s)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(s){return this.words[0]&s},i.prototype.bincn=function(s){n(typeof s=="number");var l=s%26,f=(s-l)/26,h=1<<l;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var g=h,x=f;g!==0&&x<this.length;x++){var A=this.words[x]|0;A+=g,g=A>>>26,A&=67108863,this.words[x]=A}return g!==0&&(this.words[x]=g,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(s){var l=s<0;if(this.negative!==0&&!l)return-1;if(this.negative===0&&l)return 1;this.strip();var f;if(this.length>1)f=1;else{l&&(s=-s),n(s<=67108863,"Number is too big");var h=this.words[0]|0;f=h===s?0:h<s?-1:1}return this.negative!==0?-f|0:f},i.prototype.cmp=function(s){if(this.negative!==0&&s.negative===0)return-1;if(this.negative===0&&s.negative!==0)return 1;var l=this.ucmp(s);return this.negative!==0?-l|0:l},i.prototype.ucmp=function(s){if(this.length>s.length)return 1;if(this.length<s.length)return-1;for(var l=0,f=this.length-1;f>=0;f--){var h=this.words[f]|0,g=s.words[f]|0;if(h!==g){h<g?l=-1:h>g&&(l=1);break}}return l},i.prototype.gtn=function(s){return this.cmpn(s)===1},i.prototype.gt=function(s){return this.cmp(s)===1},i.prototype.gten=function(s){return this.cmpn(s)>=0},i.prototype.gte=function(s){return this.cmp(s)>=0},i.prototype.ltn=function(s){return this.cmpn(s)===-1},i.prototype.lt=function(s){return this.cmp(s)===-1},i.prototype.lten=function(s){return this.cmpn(s)<=0},i.prototype.lte=function(s){return this.cmp(s)<=0},i.prototype.eqn=function(s){return this.cmpn(s)===0},i.prototype.eq=function(s){return this.cmp(s)===0},i.red=function(s){return new z(s)},i.prototype.toRed=function(s){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),s.convertTo(this)._forceRed(s)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(s){return this.red=s,this},i.prototype.forceRed=function(s){return n(!this.red,"Already a number in reduction context"),this._forceRed(s)},i.prototype.redAdd=function(s){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,s)},i.prototype.redIAdd=function(s){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,s)},i.prototype.redSub=function(s){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,s)},i.prototype.redISub=function(s){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,s)},i.prototype.redShl=function(s){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,s)},i.prototype.redMul=function(s){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.mul(this,s)},i.prototype.redIMul=function(s){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.imul(this,s)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(s){return n(this.red&&!s.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,s)};var N={k256:null,p224:null,p192:null,p25519:null};function j(w,s){this.name=w,this.p=new i(s,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}j.prototype._tmp=function(){var s=new i(null);return s.words=new Array(Math.ceil(this.n/13)),s},j.prototype.ireduce=function(s){var l=s,f;do this.split(l,this.tmp),l=this.imulK(l),l=l.iadd(this.tmp),f=l.bitLength();while(f>this.n);var h=f<this.n?-1:l.ucmp(this.p);return h===0?(l.words[0]=0,l.length=1):h>0?l.isub(this.p):l.strip!==void 0?l.strip():l._strip(),l},j.prototype.split=function(s,l){s.iushrn(this.n,0,l)},j.prototype.imulK=function(s){return s.imul(this.k)};function F(){j.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(F,j),F.prototype.split=function(s,l){for(var f=4194303,h=Math.min(s.length,9),g=0;g<h;g++)l.words[g]=s.words[g];if(l.length=h,s.length<=9){s.words[0]=0,s.length=1;return}var x=s.words[9];for(l.words[l.length++]=x&f,g=10;g<s.length;g++){var A=s.words[g]|0;s.words[g-10]=(A&f)<<4|x>>>22,x=A}x>>>=22,s.words[g-10]=x,x===0&&s.length>10?s.length-=10:s.length-=9},F.prototype.imulK=function(s){s.words[s.length]=0,s.words[s.length+1]=0,s.length+=2;for(var l=0,f=0;f<s.length;f++){var h=s.words[f]|0;l+=h*977,s.words[f]=l&67108863,l=h*64+(l/67108864|0)}return s.words[s.length-1]===0&&(s.length--,s.words[s.length-1]===0&&s.length--),s};function O(){j.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}a(O,j);function W(){j.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}a(W,j);function _(){j.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}a(_,j),_.prototype.imulK=function(s){for(var l=0,f=0;f<s.length;f++){var h=(s.words[f]|0)*19+l,g=h&67108863;h>>>=26,s.words[f]=g,l=h}return l!==0&&(s.words[s.length++]=l),s},i._prime=function(s){if(N[s])return N[s];var l;if(s==="k256")l=new F;else if(s==="p224")l=new O;else if(s==="p192")l=new W;else if(s==="p25519")l=new _;else throw new Error("Unknown prime "+s);return N[s]=l,l};function z(w){if(typeof w=="string"){var s=i._prime(w);this.m=s.p,this.prime=s}else n(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}z.prototype._verify1=function(s){n(s.negative===0,"red works only with positives"),n(s.red,"red works only with red numbers")},z.prototype._verify2=function(s,l){n((s.negative|l.negative)===0,"red works only with positives"),n(s.red&&s.red===l.red,"red works only with red numbers")},z.prototype.imod=function(s){return this.prime?this.prime.ireduce(s)._forceRed(this):s.umod(this.m)._forceRed(this)},z.prototype.neg=function(s){return s.isZero()?s.clone():this.m.sub(s)._forceRed(this)},z.prototype.add=function(s,l){this._verify2(s,l);var f=s.add(l);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},z.prototype.iadd=function(s,l){this._verify2(s,l);var f=s.iadd(l);return f.cmp(this.m)>=0&&f.isub(this.m),f},z.prototype.sub=function(s,l){this._verify2(s,l);var f=s.sub(l);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},z.prototype.isub=function(s,l){this._verify2(s,l);var f=s.isub(l);return f.cmpn(0)<0&&f.iadd(this.m),f},z.prototype.shl=function(s,l){return this._verify1(s),this.imod(s.ushln(l))},z.prototype.imul=function(s,l){return this._verify2(s,l),this.imod(s.imul(l))},z.prototype.mul=function(s,l){return this._verify2(s,l),this.imod(s.mul(l))},z.prototype.isqr=function(s){return this.imul(s,s.clone())},z.prototype.sqr=function(s){return this.mul(s,s)},z.prototype.sqrt=function(s){if(s.isZero())return s.clone();var l=this.m.andln(3);if(n(l%2===1),l===3){var f=this.m.add(new i(1)).iushrn(2);return this.pow(s,f)}for(var h=this.m.subn(1),g=0;!h.isZero()&&h.andln(1)===0;)g++,h.iushrn(1);n(!h.isZero());var x=new i(1).toRed(this),A=x.redNeg(),y=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new i(2*c*c).toRed(this);this.pow(c,y).cmp(A)!==0;)c.redIAdd(A);for(var M=this.pow(c,h),B=this.pow(s,h.addn(1).iushrn(1)),R=this.pow(s,h),Q=g;R.cmp(x)!==0;){for(var K=R,q=0;K.cmp(x)!==0;q++)K=K.redSqr();n(q<Q);var P=this.pow(M,new i(1).iushln(Q-q-1));B=B.redMul(P),M=P.redSqr(),R=R.redMul(M),Q=q}return B},z.prototype.invm=function(s){var l=s._invmp(this.m);return l.negative!==0?(l.negative=0,this.imod(l).redNeg()):this.imod(l)},z.prototype.pow=function(s,l){if(l.isZero())return new i(1).toRed(this);if(l.cmpn(1)===0)return s.clone();var f=4,h=new Array(1<<f);h[0]=new i(1).toRed(this),h[1]=s;for(var g=2;g<h.length;g++)h[g]=this.mul(h[g-1],s);var x=h[0],A=0,y=0,c=l.bitLength()%26;for(c===0&&(c=26),g=l.length-1;g>=0;g--){for(var M=l.words[g],B=c-1;B>=0;B--){var R=M>>B&1;if(x!==h[0]&&(x=this.sqr(x)),R===0&&A===0){y=0;continue}A<<=1,A|=R,y++,!(y!==f&&(g!==0||B!==0))&&(x=this.mul(x,h[A]),y=0,A=0)}c=26}return x},z.prototype.convertTo=function(s){var l=s.umod(this.m);return l===s?l.clone():l},z.prototype.convertFrom=function(s){var l=s.clone();return l.red=null,l},i.mont=function(s){return new k(s)};function k(w){z.call(this,w),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(k,z),k.prototype.convertTo=function(s){return this.imod(s.ushln(this.shift))},k.prototype.convertFrom=function(s){var l=this.imod(s.mul(this.rinv));return l.red=null,l},k.prototype.imul=function(s,l){if(s.isZero()||l.isZero())return s.words[0]=0,s.length=1,s;var f=s.imul(l),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=f.isub(h).iushrn(this.shift),x=g;return g.cmp(this.m)>=0?x=g.isub(this.m):g.cmpn(0)<0&&(x=g.iadd(this.m)),x._forceRed(this)},k.prototype.mul=function(s,l){if(s.isZero()||l.isZero())return new i(0)._forceRed(this);var f=s.mul(l),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=f.isub(h).iushrn(this.shift),x=g;return g.cmp(this.m)>=0?x=g.isub(this.m):g.cmpn(0)<0&&(x=g.iadd(this.m)),x._forceRed(this)},k.prototype.invm=function(s){var l=this.imod(s._invmp(this.m).mul(this.r2));return l._forceRed(this)}})(e,Ut)}(r3)),r3.exports}var H8={},uT;function gie(){return uT||(uT=1,function(e){var t=Xh(),r=Kt,n=e;n.define=function(o,u){return new a(o,u)};function a(i,o){this.name=i,this.body=o,this.decoders={},this.encoders={}}a.prototype._createNamed=function(o){var u;try{u=Gh.runInThisContext("(function "+this.name+`(entity) {