@layerswap/widget 0.1.18 → 1.0.0-alpha0.1

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 (922) hide show
  1. package/dist/Models/Balance.d.ts +10 -26
  2. package/dist/Models/BalanceProvider.d.ts +7 -0
  3. package/dist/Models/BalanceProvider.js +26 -0
  4. package/dist/Models/Exchange.d.ts +0 -6
  5. package/dist/Models/Exchange.js +0 -2
  6. package/dist/Models/{QueryParams.d.ts → InitialSettings.d.ts} +7 -3
  7. package/dist/Models/{QueryParams.js → InitialSettings.js} +7 -3
  8. package/dist/Models/LayerSwapAppSettings.d.ts +3 -4
  9. package/dist/Models/LayerSwapAppSettings.js +0 -1
  10. package/dist/Models/LayerSwapAuth.d.ts +0 -7
  11. package/dist/Models/LayerSwapAuth.js +0 -2
  12. package/dist/Models/LayerSwapSettings.d.ts +3 -4
  13. package/dist/Models/Network.d.ts +8 -6
  14. package/dist/Models/Network.js +3 -2
  15. package/dist/Models/Route.d.ts +25 -0
  16. package/dist/Models/SwapStatus.d.ts +3 -1
  17. package/dist/Models/SwapStatus.js +2 -0
  18. package/dist/Models/Theme.d.ts +13 -9
  19. package/dist/Models/Theme.js +82 -170
  20. package/dist/Models/WalletProvider.d.ts +19 -5
  21. package/dist/Models/WalletProvider.js +0 -2
  22. package/dist/Models/Wizard.d.ts +3 -15
  23. package/dist/Models/Wizard.js +0 -9
  24. package/dist/components/Buttons/connectButton.js +1 -1
  25. package/dist/components/Buttons/copyButton.js +6 -6
  26. package/dist/components/Buttons/iconButton.js +1 -1
  27. package/dist/components/Buttons/secondaryButton.d.ts +1 -0
  28. package/dist/components/Buttons/secondaryButton.js +11 -20
  29. package/dist/components/Buttons/submitButton.js +9 -18
  30. package/dist/components/Buttons/toggleButton.js +1 -1
  31. package/dist/components/ColorSchema.js +63 -49
  32. package/dist/components/Common/AddressIcon/index.d.ts +1 -0
  33. package/dist/components/Common/AddressIcon/index.js +2 -1
  34. package/dist/components/Common/AnimatedValue.d.ts +7 -0
  35. package/dist/components/Common/AnimatedValue.js +13 -0
  36. package/dist/components/Common/AverageCompletionTime.d.ts +1 -0
  37. package/dist/components/Common/AverageCompletionTime.js +3 -3
  38. package/dist/components/Common/ConnectWalletButton.d.ts +9 -0
  39. package/dist/components/Common/ConnectWalletButton.js +22 -0
  40. package/dist/components/Common/CountDownTimer.d.ts +3 -2
  41. package/dist/components/Common/CountDownTimer.js +26 -29
  42. package/dist/components/Common/FormattedAverageCompletionTime.js +1 -1
  43. package/dist/components/Common/ImageWithFallback.d.ts +2 -0
  44. package/dist/components/Common/ImageWithFallback.js +13 -0
  45. package/dist/components/Common/LinkWithIcon.d.ts +7 -0
  46. package/dist/components/Common/LinkWithIcon.js +6 -0
  47. package/dist/components/Common/LinkWrapper.d.ts +10 -0
  48. package/dist/components/Common/LinkWrapper.js +7 -0
  49. package/dist/components/Common/LogoWithDetails.d.ts +6 -0
  50. package/dist/components/Common/LogoWithDetails.js +12 -0
  51. package/dist/components/Common/MessageComponent.d.ts +4 -3
  52. package/dist/components/Common/MessageComponent.js +8 -4
  53. package/dist/components/Common/QRCodeWallet.d.ts +9 -0
  54. package/dist/components/Common/QRCodeWallet.js +15 -0
  55. package/dist/components/Common/ReactPortal.d.ts +6 -1
  56. package/dist/components/Common/ReactPortal.js +0 -1
  57. package/dist/components/Common/Sceletons.js +5 -5
  58. package/dist/components/Common/WarningMessage.js +1 -1
  59. package/dist/components/Common/backgroundField.js +8 -20
  60. package/dist/components/Common/docInIframe.js +1 -1
  61. package/dist/components/ErrorFallback.js +15 -17
  62. package/dist/components/HeaderWithMenu/index.d.ts +4 -2
  63. package/dist/components/HeaderWithMenu/index.js +8 -14
  64. package/dist/components/Icons/AlertIcon.d.ts +2 -0
  65. package/dist/components/Icons/AlertIcon.js +3 -0
  66. package/dist/components/Icons/CheckIcon.d.ts +2 -0
  67. package/dist/components/Icons/CheckIcon.js +3 -0
  68. package/dist/components/Icons/Clock.d.ts +3 -0
  69. package/dist/components/Icons/Clock.js +5 -0
  70. package/dist/components/Icons/ConnectorIcons.d.ts +1 -1
  71. package/dist/components/Icons/ConnectorIcons.js +6 -3
  72. package/dist/components/Icons/CopyIcon.d.ts +2 -0
  73. package/dist/components/Icons/CopyIcon.js +3 -0
  74. package/dist/components/Icons/CupIcon.d.ts +1 -0
  75. package/dist/components/Icons/CupIcon.js +4 -0
  76. package/dist/components/Icons/ExchangeGasIcon.d.ts +2 -0
  77. package/dist/components/Icons/ExchangeGasIcon.js +3 -0
  78. package/dist/components/Icons/ExchangeTabIcon.d.ts +2 -0
  79. package/dist/components/Icons/ExchangeTabIcon.js +3 -0
  80. package/dist/components/Icons/FeeIcon.d.ts +3 -0
  81. package/dist/components/Icons/FeeIcon.js +5 -0
  82. package/dist/components/Icons/FilledCheck.js +1 -1
  83. package/dist/components/Icons/FilledX.js +1 -1
  84. package/dist/components/Icons/GasIcon.d.ts +3 -0
  85. package/dist/components/Icons/GasIcon.js +5 -0
  86. package/dist/components/Icons/InfoIcon.d.ts +2 -0
  87. package/dist/components/Icons/InfoIcon.js +3 -0
  88. package/dist/components/Icons/NetworkTabIcon.d.ts +2 -0
  89. package/dist/components/Icons/NetworkTabIcon.js +3 -0
  90. package/dist/components/Icons/NotFoundIcon.d.ts +2 -0
  91. package/dist/components/Icons/NotFoundIcon.js +3 -0
  92. package/dist/components/Icons/QRIcon.d.ts +2 -0
  93. package/dist/components/Icons/QRIcon.js +3 -0
  94. package/dist/components/Icons/RoutePickerPlaceholder.d.ts +2 -0
  95. package/dist/components/Icons/RoutePickerPlaceholder.js +3 -0
  96. package/dist/components/Icons/SearchIcon.d.ts +3 -0
  97. package/dist/components/Icons/SearchIcon.js +3 -0
  98. package/dist/components/Icons/SwitchIcon.d.ts +3 -0
  99. package/dist/components/Icons/SwitchIcon.js +5 -0
  100. package/dist/components/Icons/TokenIcon.d.ts +3 -0
  101. package/dist/components/Icons/TokenIcon.js +3 -0
  102. package/dist/components/Icons/Wallets/BrowserWallet.js +1 -1
  103. package/dist/components/Icons/Wallets/Glow.js +2 -1
  104. package/dist/components/Icons/Wallets/Solflare.d.ts +2 -1
  105. package/dist/components/Icons/Wallets/Solflare.js +1 -1
  106. package/dist/components/Icons/layerSwapLogo.d.ts +2 -5
  107. package/dist/components/Icons/layerSwapLogo.js +4 -3
  108. package/dist/components/Icons/layerSwapMobileLogo.d.ts +3 -0
  109. package/dist/components/Icons/layerSwapMobileLogo.js +5 -0
  110. package/dist/components/Input/Address/AddressNote.d.ts +2 -2
  111. package/dist/components/Input/Address/AddressNote.js +4 -5
  112. package/dist/components/Input/Address/AddressPicker/AddressBook.d.ts +2 -2
  113. package/dist/components/Input/Address/AddressPicker/AddressBook.js +2 -2
  114. package/dist/components/Input/Address/AddressPicker/AddressButton.js +2 -2
  115. package/dist/components/Input/Address/AddressPicker/AddressWithIcon.d.ts +8 -3
  116. package/dist/components/Input/Address/AddressPicker/AddressWithIcon.js +57 -18
  117. package/dist/components/Input/Address/AddressPicker/{ConnectedWallets/index.d.ts → ConnectedWallets.d.ts} +3 -3
  118. package/dist/components/Input/Address/AddressPicker/{ConnectedWallets/index.js → ConnectedWallets.js} +13 -10
  119. package/dist/components/Input/Address/AddressPicker/ManualAddressInput.d.ts +3 -2
  120. package/dist/components/Input/Address/AddressPicker/ManualAddressInput.js +6 -7
  121. package/dist/components/Input/Address/AddressPicker/index.d.ts +1 -1
  122. package/dist/components/Input/Address/AddressPicker/index.js +69 -63
  123. package/dist/components/Input/Address/index.js +1 -8
  124. package/dist/components/Input/Amount/Balance.d.ts +2 -2
  125. package/dist/components/Input/Amount/Balance.js +21 -22
  126. package/dist/components/Input/Amount/MinMax.d.ts +7 -5
  127. package/dist/components/Input/Amount/MinMax.js +63 -22
  128. package/dist/components/Input/Amount/ReceiveAmount.d.ts +11 -0
  129. package/dist/components/Input/Amount/ReceiveAmount.js +8 -0
  130. package/dist/components/Input/Amount/helpers.d.ts +5 -5
  131. package/dist/components/Input/Amount/helpers.js +4 -9
  132. package/dist/components/Input/Amount/index.d.ts +8 -1
  133. package/dist/components/Input/Amount/index.js +56 -45
  134. package/dist/components/Input/CexPicker.d.ts +12 -0
  135. package/dist/components/Input/CexPicker.js +58 -0
  136. package/dist/components/Input/DestinationPicker.d.ts +10 -0
  137. package/dist/components/Input/DestinationPicker.js +24 -0
  138. package/dist/components/Input/DestinationWalletPicker.d.ts +2 -2
  139. package/dist/components/Input/DestinationWalletPicker.js +18 -12
  140. package/dist/components/Input/NumericInput.d.ts +1 -2
  141. package/dist/components/Input/NumericInput.js +10 -4
  142. package/dist/components/Input/RouteIcon.js +3 -3
  143. package/dist/components/Input/RoutePicker/Content.d.ts +15 -0
  144. package/dist/components/Input/RoutePicker/Content.js +45 -0
  145. package/dist/components/Input/RoutePicker/RouteTokenSwitch.d.ts +3 -0
  146. package/dist/components/Input/RoutePicker/RouteTokenSwitch.js +20 -0
  147. package/dist/components/Input/RoutePicker/RouterPickerWalletConnect.d.ts +6 -0
  148. package/dist/components/Input/RoutePicker/RouterPickerWalletConnect.js +70 -0
  149. package/dist/components/Input/RoutePicker/Routes.d.ts +52 -0
  150. package/dist/components/Input/RoutePicker/Routes.js +89 -0
  151. package/dist/components/Input/RoutePicker/Rows/CollapsableHeader.d.ts +10 -0
  152. package/dist/components/Input/RoutePicker/Rows/CollapsableHeader.js +6 -0
  153. package/dist/components/Input/RoutePicker/Rows/CollapsibleRow.d.ts +17 -0
  154. package/dist/components/Input/RoutePicker/Rows/CollapsibleRow.js +39 -0
  155. package/dist/components/Input/RoutePicker/Rows/StickyHeader.d.ts +17 -0
  156. package/dist/components/Input/RoutePicker/Rows/StickyHeader.js +28 -0
  157. package/dist/components/Input/RoutePicker/Rows/index.d.ts +17 -0
  158. package/dist/components/Input/RoutePicker/Rows/index.js +27 -0
  159. package/dist/components/Input/RoutePicker/index.d.ts +8 -0
  160. package/dist/components/Input/RoutePicker/index.js +56 -0
  161. package/dist/components/Input/Search.d.ts +9 -0
  162. package/dist/components/Input/Search.js +18 -0
  163. package/dist/components/Input/SourcePicker.d.ts +8 -0
  164. package/dist/components/Input/SourcePicker.js +24 -0
  165. package/dist/components/Input/SourceWalletPicker.d.ts +2 -2
  166. package/dist/components/Input/SourceWalletPicker.js +53 -67
  167. package/dist/components/Input/TransferCEX.js +2 -1
  168. package/dist/components/{LayerswapMenu → Menu}/Feedback.js +4 -7
  169. package/dist/components/{LayerswapMenu → Menu}/Menu.js +7 -5
  170. package/dist/components/Menu/MenuList.js +71 -0
  171. package/dist/components/{LayerswapMenu → Menu}/index.js +5 -10
  172. package/dist/components/Modal/leaflet.d.ts +1 -0
  173. package/dist/components/Modal/leaflet.js +3 -3
  174. package/dist/components/Modal/modal.d.ts +2 -1
  175. package/dist/components/Modal/modal.js +16 -6
  176. package/dist/components/Modal/modalWithoutAnimation.d.ts +30 -0
  177. package/dist/components/Modal/modalWithoutAnimation.js +56 -0
  178. package/dist/components/Modal/vaul/constants.d.ts +2 -2
  179. package/dist/components/Modal/vaul/constants.js +3 -3
  180. package/dist/components/Modal/vaulModal.d.ts +8 -3
  181. package/dist/components/Modal/vaulModal.js +18 -21
  182. package/dist/components/Pages/Campaigns/Details/Leaderboard.d.ts +1 -1
  183. package/dist/components/Pages/Campaigns/Details/Leaderboard.js +21 -15
  184. package/dist/components/Pages/Campaigns/Details/Rewards.d.ts +1 -1
  185. package/dist/components/Pages/Campaigns/Details/Rewards.js +10 -9
  186. package/dist/components/Pages/Campaigns/Details/index.js +13 -10
  187. package/dist/components/Pages/Campaigns/index.js +18 -29
  188. package/dist/components/Pages/Maintanance/index.d.ts +2 -2
  189. package/dist/components/Pages/Maintanance/index.js +7 -13
  190. package/dist/components/Pages/NoCookies/index.d.ts +2 -2
  191. package/dist/components/Pages/NoCookies/index.js +5 -5
  192. package/dist/components/Pages/Swap/Form/ExchangeForm.d.ts +7 -0
  193. package/dist/components/Pages/Swap/Form/ExchangeForm.js +58 -0
  194. package/dist/components/Pages/Swap/Form/FeeDetails/DepositMethod/index.js +89 -0
  195. package/dist/components/Pages/Swap/Form/FeeDetails/DetailedEstimates.d.ts +3 -0
  196. package/dist/components/Pages/Swap/Form/FeeDetails/DetailedEstimates.js +88 -0
  197. package/dist/components/Pages/{SwapPages → Swap}/Form/FeeDetails/ReceiveAmounts.d.ts +1 -3
  198. package/dist/components/Pages/Swap/Form/FeeDetails/ReceiveAmounts.js +14 -0
  199. package/dist/components/Pages/Swap/Form/FeeDetails/Refuel.d.ts +9 -0
  200. package/dist/components/Pages/Swap/Form/FeeDetails/Refuel.js +34 -0
  201. package/dist/components/Pages/{SwapPages → Swap}/Form/FeeDetails/RefuelModal.d.ts +2 -0
  202. package/dist/components/Pages/Swap/Form/FeeDetails/RefuelModal.js +25 -0
  203. package/dist/components/Pages/Swap/Form/FeeDetails/index.d.ts +15 -0
  204. package/dist/components/Pages/Swap/Form/FeeDetails/index.js +50 -0
  205. package/dist/components/Pages/Swap/Form/Form.js +29 -0
  206. package/dist/components/Pages/Swap/Form/FormWrapper.d.ts +5 -0
  207. package/dist/components/Pages/Swap/Form/FormWrapper.js +153 -0
  208. package/dist/components/Pages/Swap/Form/NetworkExchangeTabs.d.ts +24 -0
  209. package/dist/components/Pages/Swap/Form/NetworkExchangeTabs.js +36 -0
  210. package/dist/components/Pages/{SwapPages/Form/Form.d.ts → Swap/Form/NetworkForm.d.ts} +2 -2
  211. package/dist/components/Pages/Swap/Form/NetworkForm.js +134 -0
  212. package/dist/components/Pages/Swap/Form/SecondaryComponents/FormButton.d.ts +12 -0
  213. package/dist/components/Pages/Swap/Form/SecondaryComponents/FormButton.js +17 -0
  214. package/dist/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.d.ts +9 -0
  215. package/dist/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.js +28 -0
  216. package/dist/components/Pages/Swap/Form/SecondaryComponents/validationError/index.js +9 -0
  217. package/dist/components/Pages/Swap/Form/SecondaryComponents/validationError/insufficientBalance.d.ts +1 -0
  218. package/dist/components/Pages/Swap/Form/SecondaryComponents/validationError/insufficientBalance.js +5 -0
  219. package/dist/components/Pages/{SwapPages → Swap}/Form/SwapFormValues.d.ts +6 -10
  220. package/dist/components/Pages/{SwapPages → Swap}/Form/index.js +3 -6
  221. package/dist/components/Pages/Swap/Form/updateForm.d.ts +12 -0
  222. package/dist/components/Pages/Swap/Form/updateForm.js +11 -0
  223. package/dist/components/Pages/{SwapPages → Swap}/Withdraw/Failed.js +9 -12
  224. package/dist/components/Pages/Swap/Withdraw/ManualWithdraw.d.ts +10 -0
  225. package/dist/components/Pages/Swap/Withdraw/ManualWithdraw.js +92 -0
  226. package/dist/components/Pages/Swap/Withdraw/NotFound.d.ts +5 -0
  227. package/dist/components/Pages/Swap/Withdraw/NotFound.js +19 -0
  228. package/dist/components/Pages/Swap/Withdraw/Processing/Processing.d.ts +10 -0
  229. package/dist/components/Pages/Swap/Withdraw/Processing/Processing.js +343 -0
  230. package/dist/components/Pages/Swap/Withdraw/Processing/Step.d.ts +6 -0
  231. package/dist/components/Pages/{SwapPages/Withdraw/Processing/Steps.js → Swap/Withdraw/Processing/Step.js} +14 -5
  232. package/dist/components/Pages/Swap/Withdraw/Processing/StepsComponent.js +5 -0
  233. package/dist/components/Pages/{SwapPages → Swap}/Withdraw/Processing/gauge.js +1 -1
  234. package/dist/components/Pages/Swap/Withdraw/Processing/index.js +8 -0
  235. package/dist/components/Pages/{SwapPages → Swap}/Withdraw/Processing/types.d.ts +2 -1
  236. package/dist/components/Pages/{SwapPages → Swap}/Withdraw/Processing/types.js +1 -0
  237. package/dist/components/Pages/Swap/Withdraw/QuoteUpdate.d.ts +25 -0
  238. package/dist/components/Pages/Swap/Withdraw/QuoteUpdate.js +43 -0
  239. package/dist/components/Pages/Swap/Withdraw/Summary/Summary.d.ts +11 -0
  240. package/dist/components/Pages/Swap/Withdraw/Summary/Summary.js +48 -0
  241. package/dist/components/Pages/Swap/Withdraw/Summary/index.js +57 -0
  242. package/dist/components/Pages/{SwapPages → Swap}/Withdraw/SwapDetails.d.ts +1 -0
  243. package/dist/components/Pages/Swap/Withdraw/SwapDetails.js +38 -0
  244. package/dist/components/Pages/Swap/Withdraw/SwapQuoteDetails.d.ts +10 -0
  245. package/dist/components/Pages/Swap/Withdraw/SwapQuoteDetails.js +17 -0
  246. package/dist/components/Pages/Swap/Withdraw/Wallet/Common/buttons.d.ts +25 -0
  247. package/dist/components/Pages/Swap/Withdraw/Wallet/Common/buttons.js +168 -0
  248. package/dist/components/Pages/Swap/Withdraw/Wallet/Common/sharedTypes.d.ts +20 -0
  249. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/BitcoinWalletWithdraw/index.d.ts +3 -0
  250. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/BitcoinWalletWithdraw/index.js +100 -0
  251. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/BitcoinWalletWithdraw/sendTransaction.d.ts +15 -0
  252. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/BitcoinWalletWithdraw/sendTransaction.js +33 -0
  253. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/BitcoinWalletWithdraw/transactionBuilder/buildPsbt.d.ts +6 -0
  254. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/BitcoinWalletWithdraw/transactionBuilder/buildPsbt.js +79 -0
  255. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/BitcoinWalletWithdraw/transactionBuilder/estimateFee.d.ts +3 -0
  256. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/BitcoinWalletWithdraw/transactionBuilder/estimateFee.js +15 -0
  257. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/BitcoinWalletWithdraw/transactionBuilder/index.d.ts +6 -0
  258. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/BitcoinWalletWithdraw/transactionBuilder/index.js +28 -0
  259. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/BitcoinWalletWithdraw/transactionBuilder/types.d.ts +21 -0
  260. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/BitcoinWalletWithdraw/transactionBuilder/types.js +1 -0
  261. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/EVMWalletWithdraw/TransferToken.d.ts +10 -0
  262. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/EVMWalletWithdraw/TransferToken.js +62 -0
  263. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/EVMWalletWithdraw/index.d.ts +3 -0
  264. package/dist/components/Pages/{SwapPages/Withdraw/Wallet/WalletTransfer → Swap/Withdraw/Wallet/WithdrawalProviders/EVMWalletWithdraw}/index.js +17 -20
  265. package/dist/components/Pages/{SwapPages/Withdraw/Wallet/WalletTransfer → Swap/Withdraw/Wallet/WithdrawalProviders/EVMWalletWithdraw}/resolveError.js +1 -1
  266. package/dist/components/Pages/{SwapPages/Withdraw/Wallet/WalletTransfer → Swap/Withdraw/Wallet/WithdrawalProviders/EVMWalletWithdraw}/transactionMessage.d.ts +1 -1
  267. package/dist/components/Pages/{SwapPages/Withdraw/Wallet/WalletTransfer → Swap/Withdraw/Wallet/WithdrawalProviders/EVMWalletWithdraw}/transactionMessage.js +2 -6
  268. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/FuelWalletWithdrawal.d.ts +3 -0
  269. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/FuelWalletWithdrawal.js +110 -0
  270. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/ImtblxWalletWithdrawStep.d.ts +3 -0
  271. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/ImtblxWalletWithdrawStep.js +51 -0
  272. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/Loopring/ActivationTokentPicker.d.ts +11 -0
  273. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/Loopring/ActivationTokentPicker.js +44 -0
  274. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/Loopring/hooks.d.ts +40 -0
  275. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/Loopring/hooks.js +46 -0
  276. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/Loopring/index.d.ts +3 -0
  277. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/Loopring/index.js +127 -0
  278. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/SVMWalletWithdraw/index.d.ts +6 -0
  279. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/SVMWalletWithdraw/index.js +106 -0
  280. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/SVMWalletWithdraw/transactionSender.d.ts +8 -0
  281. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/SVMWalletWithdraw/transactionSender.js +73 -0
  282. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/StarknetWalletWithdraw.d.ts +3 -0
  283. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/StarknetWalletWithdraw.js +61 -0
  284. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/TonWalletWithdraw.d.ts +3 -0
  285. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/TonWalletWithdraw.js +131 -0
  286. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/TronWalletWithdraw.d.ts +3 -0
  287. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/TronWalletWithdraw.js +92 -0
  288. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/ZKsyncWalletWithdraw.d.ts +3 -0
  289. package/dist/components/Pages/{SwapPages/Withdraw/Wallet → Swap/Withdraw/Wallet/WithdrawalProviders}/ZKsyncWalletWithdraw.js +35 -37
  290. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/index.d.ts +11 -0
  291. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/index.js +11 -0
  292. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/paradex/Evm.d.ts +4 -0
  293. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/paradex/Evm.js +54 -0
  294. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/paradex/Starknet.d.ts +4 -0
  295. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/paradex/Starknet.js +55 -0
  296. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/paradex/index.d.ts +3 -0
  297. package/dist/components/Pages/Swap/Withdraw/Wallet/WithdrawalProviders/paradex/index.js +49 -0
  298. package/dist/components/Pages/Swap/Withdraw/Wallet/index.d.ts +10 -0
  299. package/dist/components/Pages/Swap/Withdraw/Wallet/index.js +101 -0
  300. package/dist/components/Pages/Swap/Withdraw/WalletTransferButton.d.ts +11 -0
  301. package/dist/components/Pages/Swap/Withdraw/WalletTransferButton.js +10 -0
  302. package/dist/components/Pages/Swap/Withdraw/WalletTransferContent.d.ts +9 -0
  303. package/dist/components/Pages/Swap/Withdraw/WalletTransferContent.js +46 -0
  304. package/dist/components/Pages/Swap/Withdraw/Withdraw.d.ts +6 -0
  305. package/dist/components/Pages/Swap/Withdraw/Withdraw.js +46 -0
  306. package/dist/components/Pages/{SwapPages → Swap}/Withdraw/index.js +5 -7
  307. package/dist/components/Pages/Swap/Withdraw/messages/Message.js +11 -0
  308. package/dist/components/Pages/SwapHistory/Header.d.ts +3 -1
  309. package/dist/components/Pages/SwapHistory/Header.js +5 -14
  310. package/dist/components/Pages/SwapHistory/History.js +55 -95
  311. package/dist/components/Pages/SwapHistory/HistorySummary.d.ts +1 -1
  312. package/dist/components/Pages/SwapHistory/HistorySummary.js +8 -43
  313. package/dist/components/Pages/SwapHistory/Snippet.js +2 -2
  314. package/dist/components/Pages/SwapHistory/StatusIcons.d.ts +1 -1
  315. package/dist/components/Pages/SwapHistory/StatusIcons.js +13 -8
  316. package/dist/components/Pages/SwapHistory/SwapDetailsComponent.d.ts +1 -1
  317. package/dist/components/Pages/SwapHistory/SwapDetailsComponent.js +74 -87
  318. package/dist/components/Pages/SwapHistory/index.js +3 -1
  319. package/dist/components/{Pages/SwapPages/Form/Select → Select}/Command/CommandSelectWrapper.d.ts +4 -2
  320. package/dist/components/Select/Command/CommandSelectWrapper.js +19 -0
  321. package/dist/components/{Pages/SwapPages/Form/Select → Select}/Command/commandSelect.d.ts +1 -1
  322. package/dist/components/Select/Command/commandSelect.js +40 -0
  323. package/dist/components/{Pages/SwapPages/Form/Select → Select}/Popover/PopoverSelect.js +2 -2
  324. package/dist/components/Select/Popover/PopoverSelectWrapper.js +25 -0
  325. package/dist/components/Select/Selector/Index.d.ts +28 -0
  326. package/dist/components/Select/Selector/Index.js +15 -0
  327. package/dist/components/Select/Selector/SelectItem.d.ts +30 -0
  328. package/dist/components/Select/Selector/SelectItem.js +21 -0
  329. package/dist/components/Select/Shared/Props/SelectProps.js +1 -0
  330. package/dist/components/{Pages/SwapPages/Form/Select → Select}/Shared/Props/selectMenuItem.d.ts +12 -2
  331. package/dist/components/{Pages/SwapPages/Form/Select → Select}/Shared/SelectItem.d.ts +2 -1
  332. package/dist/components/Select/Shared/SelectItem.js +5 -0
  333. package/dist/components/Wallet/WalletComponents/ConnectedWallets.d.ts +9 -0
  334. package/dist/components/Wallet/WalletComponents/ConnectedWallets.js +9 -9
  335. package/dist/components/Wallet/WalletComponents/WalletsList.d.ts +7 -5
  336. package/dist/components/Wallet/WalletComponents/WalletsList.js +60 -36
  337. package/dist/components/Wallet/WalletModal/Connector.js +2 -2
  338. package/dist/components/Wallet/WalletModal/ConnectorsList.js +91 -51
  339. package/dist/components/Wallet/WalletModal/index.d.ts +11 -2
  340. package/dist/components/Wallet/WalletModal/index.js +11 -9
  341. package/dist/components/Wallet/WalletProviders/ActiveEvmAccount.d.ts +15 -0
  342. package/dist/components/Wallet/WalletProviders/ActiveEvmAccount.js +26 -0
  343. package/dist/components/Wallet/WalletProviders/ActiveParadexAccount.d.ts +17 -0
  344. package/dist/components/Wallet/WalletProviders/ActiveParadexAccount.js +45 -0
  345. package/dist/components/Wallet/WalletProviders/BitcoinProvider.d.ts +7 -0
  346. package/dist/components/Wallet/WalletProviders/BitcoinProvider.js +125 -0
  347. package/dist/components/Wallet/WalletProviders/FuelProvider.d.ts +4 -0
  348. package/dist/components/Wallet/WalletProviders/FuelProvider.js +27 -25
  349. package/dist/components/Wallet/WalletProviders/ImtblPassportProvider.d.ts +6 -0
  350. package/dist/components/Wallet/WalletProviders/ImtblPassportProvider.js +49 -39
  351. package/dist/components/Wallet/WalletProviders/SolanaProvider.d.ts +5 -0
  352. package/dist/components/Wallet/WalletProviders/SolanaProvider.js +36 -49
  353. package/dist/components/Wallet/WalletProviders/StarknetProvider.d.ts +5 -0
  354. package/dist/components/Wallet/WalletProviders/StarknetProvider.js +116 -112
  355. package/dist/components/Wallet/WalletProviders/TonConnectProvider.d.ts +8 -0
  356. package/dist/components/Wallet/WalletProviders/TonConnectProvider.js +55 -58
  357. package/dist/components/Wallet/WalletProviders/TronProvider.d.ts +3 -0
  358. package/dist/components/Wallet/WalletProviders/TronProvider.js +15 -23
  359. package/dist/components/Wallet/WalletProviders/Wagmi.d.ts +1 -1
  360. package/dist/components/Wallet/WalletProviders/Wagmi.js +13 -43
  361. package/dist/components/Wallet/WalletProviders/index.d.ts +4 -2
  362. package/dist/components/Wallet/WalletProviders/index.js +13 -14
  363. package/dist/components/Widget/Content.js +2 -2
  364. package/dist/components/Widget/Footer.js +6 -6
  365. package/dist/components/Widget/Index.d.ts +3 -2
  366. package/dist/components/Widget/Index.js +4 -6
  367. package/dist/components/WidgetLoading.js +1 -1
  368. package/dist/components/Wizard/Wizard.js +1 -1
  369. package/dist/components/shadcn/accordion.d.ts +20 -6
  370. package/dist/components/shadcn/accordion.js +104 -10
  371. package/dist/components/shadcn/command.js +6 -6
  372. package/dist/components/shadcn/dialog.js +2 -2
  373. package/dist/components/shadcn/popover.d.ts +5 -4
  374. package/dist/components/shadcn/popover.js +15 -7
  375. package/dist/components/{Pages/Campaigns/Details/ProgressBar.js → shadcn/progressBar.js} +2 -1
  376. package/dist/components/shadcn/select.js +3 -3
  377. package/dist/components/shadcn/tab.d.ts +7 -0
  378. package/dist/components/shadcn/tab.js +13 -0
  379. package/dist/components/shadcn/tooltip.d.ts +4 -4
  380. package/dist/components/shadcn/tooltip.js +14 -8
  381. package/dist/components/themeWrapper.js +5 -6
  382. package/dist/components/utils/RoundDecimals.d.ts +2 -1
  383. package/dist/components/utils/RoundDecimals.js +19 -3
  384. package/dist/components/utils/SwapStatus.js +1 -1
  385. package/dist/components/utils/dateDifference.d.ts +1 -0
  386. package/dist/components/utils/dateDifference.js +34 -0
  387. package/dist/components/utils/formatUsdAmount.d.ts +1 -0
  388. package/dist/components/utils/formatUsdAmount.js +12 -0
  389. package/dist/components/utils/numbers.d.ts +1 -0
  390. package/dist/components/utils/numbers.js +3 -0
  391. package/dist/components/utils/swapUtils.d.ts +3 -0
  392. package/dist/components/utils/swapUtils.js +1 -0
  393. package/dist/context/LayerswapProvider.d.ts +10 -10
  394. package/dist/context/LayerswapProvider.js +9 -8
  395. package/dist/context/asyncModal.d.ts +1 -11
  396. package/dist/context/asyncModal.js +5 -6
  397. package/dist/context/balanceAccounts.d.ts +32 -0
  398. package/dist/context/balanceAccounts.js +149 -0
  399. package/dist/context/callbackProvider.d.ts +25 -0
  400. package/dist/context/callbackProvider.js +66 -0
  401. package/dist/context/evmConnectorsContext.d.ts +13 -0
  402. package/dist/context/evmConnectorsContext.js +82 -0
  403. package/dist/context/query.d.ts +4 -4
  404. package/dist/context/query.js +2 -0
  405. package/dist/context/settings.d.ts +9 -2
  406. package/dist/context/settings.js +28 -3
  407. package/dist/context/swap.d.ts +24 -23
  408. package/dist/context/swap.js +112 -49
  409. package/dist/context/{validationErrorContext.d.ts → validationContext.d.ts} +8 -4
  410. package/dist/context/validationContext.js +41 -0
  411. package/dist/context/walletProviders.d.ts +4 -0
  412. package/dist/context/walletProviders.js +45 -0
  413. package/dist/context/withdrawalContext.d.ts +10 -0
  414. package/dist/context/withdrawalContext.js +13 -0
  415. package/dist/helpers/accountSelectHelper.d.ts +2 -0
  416. package/dist/helpers/accountSelectHelper.js +16 -0
  417. package/dist/helpers/getSettings.d.ts +0 -1
  418. package/dist/helpers/getSettings.js +1 -3
  419. package/dist/helpers/querryHelper.js +1 -1
  420. package/dist/helpers/routes.d.ts +17 -10
  421. package/dist/helpers/routes.js +30 -39
  422. package/dist/helpers/settingsHelper.d.ts +1 -0
  423. package/dist/helpers/settingsHelper.js +16 -0
  424. package/dist/helpers/tokenHelper.d.ts +3 -0
  425. package/dist/helpers/tokenHelper.js +9 -0
  426. package/dist/hooks/useAllWithdrawalBalances.d.ts +5 -0
  427. package/dist/hooks/useAllWithdrawalBalances.js +40 -0
  428. package/dist/hooks/useClickOutside.d.ts +9 -0
  429. package/dist/hooks/useClickOutside.js +27 -0
  430. package/dist/hooks/useCopyClipboard.d.ts +1 -0
  431. package/dist/hooks/useCopyClipboard.js +21 -0
  432. package/dist/hooks/useExchangeNetworks.d.ts +29 -0
  433. package/dist/hooks/useExchangeNetworks.js +16 -0
  434. package/dist/hooks/useFee.d.ts +65 -0
  435. package/dist/hooks/useFee.js +148 -0
  436. package/dist/hooks/useFormRoutes.d.ts +42 -0
  437. package/dist/hooks/useFormRoutes.js +283 -0
  438. package/dist/hooks/useFormValidation.d.ts +14 -0
  439. package/dist/hooks/useFormValidation.js +62 -0
  440. package/dist/hooks/useRouteValidation.d.ts +11 -0
  441. package/dist/hooks/useRouteValidation.js +92 -0
  442. package/dist/hooks/useSwapHistoryData.d.ts +30 -0
  443. package/dist/hooks/useSwapHistoryData.js +37 -0
  444. package/dist/hooks/useSwrSwaps.d.ts +22 -0
  445. package/dist/hooks/useSwrSwaps.js +53 -0
  446. package/dist/hooks/useWallet.js +43 -30
  447. package/dist/hooks/useWalletTransferOptions.js +12 -12
  448. package/dist/index.css +2 -5328
  449. package/dist/index.d.ts +5 -8
  450. package/dist/index.js +4 -8
  451. package/dist/index.mjs +4 -8
  452. package/dist/lib/AnimatedNumber.d.ts +5 -0
  453. package/dist/lib/AnimatedNumber.js +11 -0
  454. package/dist/lib/AppSettings.d.ts +6 -1
  455. package/dist/lib/AppSettings.js +6 -1
  456. package/dist/lib/NetworkSettings.js +13 -1
  457. package/dist/lib/abis/BALANCEGETTERABI.json +60 -0
  458. package/dist/lib/abis/ERC20.json +258 -0
  459. package/dist/lib/address/formatter/index.js +10 -9
  460. package/dist/lib/address/validator/index.js +25 -18
  461. package/dist/lib/apiClients/hyperliquidClient.d.ts +45 -0
  462. package/dist/lib/apiClients/hyperliquidClient.js +18 -0
  463. package/dist/lib/apiClients/internalApiClient.d.ts +8 -0
  464. package/dist/lib/apiClients/internalApiClient.js +10 -0
  465. package/dist/lib/apiClients/jsonRpcClient.d.ts +23 -0
  466. package/dist/lib/apiClients/jsonRpcClient.js +28 -0
  467. package/dist/lib/{layerSwapApiClient.d.ts → apiClients/layerSwapApiClient.d.ts} +37 -12
  468. package/dist/lib/{layerSwapApiClient.js → apiClients/layerSwapApiClient.js} +15 -11
  469. package/dist/lib/axiosInterceptor.js +3 -84
  470. package/dist/lib/balances/balanceResolver.d.ts +2 -8
  471. package/dist/lib/balances/balanceResolver.js +46 -27
  472. package/dist/lib/balances/{providers/helpers.d.ts → helpers.d.ts} +1 -1
  473. package/dist/lib/balances/providers/bitcoinBalanceProvider.d.ts +7 -0
  474. package/dist/lib/balances/providers/bitcoinBalanceProvider.js +49 -0
  475. package/dist/lib/balances/providers/evmBalanceProvider.d.ts +16 -16
  476. package/dist/lib/balances/providers/evmBalanceProvider.js +203 -79
  477. package/dist/lib/balances/providers/fuelBalanceProvider.d.ts +5 -4
  478. package/dist/lib/balances/providers/fuelBalanceProvider.js +11 -11
  479. package/dist/lib/balances/providers/hyperliquidBalanceProvider.d.ts +9 -0
  480. package/dist/lib/balances/providers/hyperliquidBalanceProvider.js +45 -0
  481. package/dist/lib/balances/providers/immutableXBalanceProvider.d.ts +4 -3
  482. package/dist/lib/balances/providers/immutableXBalanceProvider.js +26 -19
  483. package/dist/lib/balances/providers/index.d.ts +12 -0
  484. package/dist/lib/balances/providers/index.js +12 -0
  485. package/dist/lib/balances/providers/loopringBalanceProvider.d.ts +7 -0
  486. package/dist/lib/balances/providers/loopringBalanceProvider.js +46 -56
  487. package/dist/lib/balances/providers/paradexBalanceProvider.d.ts +7 -0
  488. package/dist/lib/balances/providers/paradexBalanceProvider.js +43 -42
  489. package/dist/lib/balances/providers/solanaBalanceProvider.d.ts +7 -0
  490. package/dist/lib/balances/providers/solanaBalanceProvider.js +71 -70
  491. package/dist/lib/balances/providers/starknetBalanceProvider.d.ts +7 -0
  492. package/dist/lib/balances/providers/starknetBalanceProvider.js +44 -48
  493. package/dist/lib/balances/providers/tonBalanceProvider.d.ts +19 -0
  494. package/dist/lib/balances/providers/tonBalanceProvider.js +78 -104
  495. package/dist/lib/balances/providers/{tronBalanceResolver.d.ts → tronBalanceProvider.d.ts} +6 -5
  496. package/dist/lib/balances/providers/tronBalanceProvider.js +65 -0
  497. package/dist/lib/balances/providers/zkSyncBalanceProvider.d.ts +4 -3
  498. package/dist/lib/balances/providers/zkSyncBalanceProvider.js +31 -19
  499. package/dist/lib/balances/useBalance.d.ts +14 -0
  500. package/dist/lib/balances/useBalance.js +48 -0
  501. package/dist/lib/fuels/common/FakeAccount.d.ts +24 -0
  502. package/dist/lib/fuels/common/FakeAccount.js +36 -58
  503. package/dist/lib/fuels/common/PredicateConnector.d.ts +78 -0
  504. package/dist/lib/fuels/common/PredicateConnector.js +376 -292
  505. package/dist/lib/fuels/common/PredicateFactory.d.ts +30 -0
  506. package/dist/lib/fuels/common/PredicateFactory.js +79 -123
  507. package/dist/lib/fuels/common/PredicateWalletAdapter.d.ts +17 -0
  508. package/dist/lib/fuels/common/PredicateWalletAdapter.js +29 -44
  509. package/dist/lib/fuels/common/index.d.ts +4 -0
  510. package/dist/lib/fuels/common/index.js +4 -4
  511. package/dist/lib/fuels/common/networks.d.ts +3 -1
  512. package/dist/lib/fuels/common/networks.js +10 -8
  513. package/dist/lib/fuels/common/types.d.ts +13 -1
  514. package/dist/lib/fuels/common/utils.d.ts +6 -1
  515. package/dist/lib/fuels/common/utils.js +8 -0
  516. package/dist/lib/fuels/connectors/bako-safe/BakoSafeConnector.d.ts +1 -0
  517. package/dist/lib/fuels/connectors/fuel-wallet/FuelWalletConnector.d.ts +51 -0
  518. package/dist/lib/fuels/connectors/fuel-wallet/FuelWalletConnector.js +234 -268
  519. package/dist/lib/fuels/connectors/fuel-wallet/index.d.ts +2 -0
  520. package/dist/lib/fuels/connectors/fuel-wallet/index.js +2 -2
  521. package/dist/lib/fuels/connectors/fuel-wallet/types.d.ts +50 -0
  522. package/dist/lib/fuels/connectors/fuel-wallet/types.js +9 -53
  523. package/dist/lib/fuels/connectors/fuelet-wallet/FueletWalletConnector.d.ts +7 -0
  524. package/dist/lib/fuels/connectors/fuelet-wallet/FueletWalletConnector.js +19 -20
  525. package/dist/lib/fuels/connectors/fuelet-wallet/index.d.ts +1 -0
  526. package/dist/lib/fuels/connectors/fuelet-wallet/index.js +1 -1
  527. package/dist/lib/fuels/connectors/walletConnect/WalletConnectConnector.js +422 -0
  528. package/dist/lib/fuels/connectors/walletConnect/constants.d.ts +6 -0
  529. package/dist/lib/fuels/connectors/walletConnect/constants.js +7 -0
  530. package/dist/lib/fuels/connectors/walletConnect/index.d.ts +2 -0
  531. package/dist/lib/fuels/connectors/walletConnect/index.js +3 -0
  532. package/dist/lib/fuels/connectors/walletConnect/types.d.ts +12 -0
  533. package/dist/lib/fuels/connectors/walletConnect/types.js +1 -0
  534. package/dist/lib/fuels/connectors/walletConnect/utils/index.d.ts +1 -0
  535. package/dist/lib/fuels/connectors/walletConnect/utils/index.js +1 -0
  536. package/dist/lib/fuels/connectors/walletConnect/utils/subscribeAndEnforceChain.d.ts +2 -0
  537. package/dist/lib/fuels/connectors/walletConnect/utils/subscribeAndEnforceChain.js +39 -0
  538. package/dist/lib/fuels/connectors/walletConnect/web3Modal.js +50 -0
  539. package/dist/lib/gases/gasResolver.d.ts +1 -1
  540. package/dist/lib/gases/gasResolver.js +9 -9
  541. package/dist/lib/gases/providers/bitcoinGasProvider.d.ts +6 -0
  542. package/dist/lib/gases/providers/bitcoinGasProvider.js +37 -0
  543. package/dist/lib/gases/providers/evmGasProvider.d.ts +38 -3
  544. package/dist/lib/gases/providers/evmGasProvider.js +35 -14
  545. package/dist/lib/gases/providers/fuelGasProvider.js +3 -1
  546. package/dist/lib/gases/providers/loopringGasProvider.d.ts +10 -0
  547. package/dist/lib/gases/providers/loopringGasProvider.js +25 -27
  548. package/dist/lib/gases/providers/solanaGasProvider.d.ts +10 -0
  549. package/dist/lib/gases/providers/solanaGasProvider.js +32 -32
  550. package/dist/lib/gases/providers/starknetGasProvider.d.ts +7 -0
  551. package/dist/lib/gases/providers/starknetGasProvider.js +31 -34
  552. package/dist/lib/gases/providers/tonGasProvider.d.ts +2 -2
  553. package/dist/lib/gases/providers/tronGasProvider.d.ts +2 -1
  554. package/dist/lib/gases/providers/tronGasProvider.js +3 -1
  555. package/dist/lib/gases/providers/types.d.ts +7 -3
  556. package/dist/lib/gases/providers/zkSyncGasProvider.d.ts +6 -3
  557. package/dist/lib/gases/providers/zkSyncGasProvider.js +2 -1
  558. package/dist/lib/gases/useSWRGas.d.ts +2 -1
  559. package/dist/lib/gases/useSWRGas.js +1 -1
  560. package/dist/lib/generateSwapInitialValues.d.ts +5 -5
  561. package/dist/lib/generateSwapInitialValues.js +20 -21
  562. package/dist/lib/imtbl.d.ts +69 -0
  563. package/dist/lib/imtbl.js +60 -63
  564. package/dist/lib/knownIds.d.ts +32 -0
  565. package/dist/lib/knownIds.js +32 -0
  566. package/dist/lib/logError.js +9 -2
  567. package/dist/lib/loopring/LoopringAPI.d.ts +12 -0
  568. package/dist/lib/loopring/LoopringAPI.js +13 -0
  569. package/dist/lib/loopring/defs.d.ts +425 -0
  570. package/dist/lib/loopring/defs.js +217 -0
  571. package/dist/lib/loopring/eddsa.d.ts +29 -0
  572. package/dist/lib/loopring/eddsa.js +208 -0
  573. package/dist/lib/loopring/field.d.ts +17 -0
  574. package/dist/lib/loopring/field.js +61 -0
  575. package/dist/lib/loopring/formatter.d.ts +137 -0
  576. package/dist/lib/loopring/formatter.js +516 -0
  577. package/dist/lib/loopring/helpers.d.ts +36 -0
  578. package/dist/lib/loopring/helpers.js +140 -0
  579. package/dist/lib/loopring/jubjub.d.ts +19 -0
  580. package/dist/lib/loopring/jubjub.js +79 -0
  581. package/dist/lib/loopring/permutation.d.ts +22 -0
  582. package/dist/lib/loopring/permutation.js +198 -0
  583. package/dist/lib/loopring/poseidon/EDDSAUtil.d.ts +14 -0
  584. package/dist/lib/loopring/poseidon/EDDSAUtil.js +61 -0
  585. package/dist/lib/loopring/poseidon/babyJub.d.ts +6 -0
  586. package/dist/lib/loopring/poseidon/babyJub.js +51 -0
  587. package/dist/lib/loopring/poseidon/eddsa.d.ts +29 -0
  588. package/dist/lib/loopring/poseidon/eddsa.js +210 -0
  589. package/dist/lib/loopring/utils.d.ts +76 -0
  590. package/dist/lib/loopring/utils.js +230 -0
  591. package/dist/lib/nft/nftBalanceResolver.js +2 -1
  592. package/dist/lib/nft/providers/starknetNftProvider.d.ts +6 -0
  593. package/dist/lib/nft/providers/starknetNftProvider.js +50 -49
  594. package/dist/lib/resolveChain.d.ts +2 -0
  595. package/dist/lib/resolveChain.js +2 -3
  596. package/dist/lib/sorting.d.ts +8 -6
  597. package/dist/lib/sorting.js +27 -5
  598. package/dist/lib/telegram.js +1 -1
  599. package/dist/lib/virtual/core/index.d.ts +143 -0
  600. package/dist/lib/virtual/core/index.js +758 -0
  601. package/dist/lib/virtual/core/utils.d.ts +14 -0
  602. package/dist/lib/virtual/core/utils.js +59 -0
  603. package/dist/lib/virtual/index.d.ts +5 -0
  604. package/dist/lib/virtual/index.js +47 -0
  605. package/dist/lib/wallets/bitcoin/useBitcoin.d.ts +2 -0
  606. package/dist/lib/wallets/bitcoin/useBitcoin.js +158 -0
  607. package/dist/lib/wallets/connectors/browserInjected/index.d.ts +2 -2
  608. package/dist/lib/wallets/connectors/explicitInjectedProviderDetected.d.ts +30 -0
  609. package/dist/lib/wallets/connectors/explicitInjectedProviderDetected.js +6 -0
  610. package/dist/lib/wallets/connectors/resolveConnectors/index.d.ts +43 -0
  611. package/dist/lib/wallets/connectors/resolveConnectors/index.js +59 -0
  612. package/dist/lib/wallets/connectors/{walletConnect/index.d.ts → resolveConnectors/walletConnect.d.ts} +16 -4
  613. package/dist/lib/wallets/connectors/{metamask/index.js → resolveConnectors/walletConnect.js} +49 -20
  614. package/dist/lib/wallets/connectors/types.d.ts +7 -0
  615. package/dist/lib/wallets/connectors/types.js +1 -0
  616. package/dist/lib/wallets/connectors/useSyncProviders/index.d.ts +1 -1
  617. package/dist/lib/wallets/connectors/useSyncProviders/store.d.ts +4 -2
  618. package/dist/lib/wallets/connectors/useSyncProviders/store.js +4 -2
  619. package/dist/lib/wallets/evm/useEVM.d.ts +1 -6
  620. package/dist/lib/wallets/evm/useEVM.js +156 -79
  621. package/dist/lib/wallets/fuel/Bako.d.ts +15 -0
  622. package/dist/lib/wallets/fuel/Bako.js +29 -34
  623. package/dist/lib/wallets/fuel/Basko.d.ts +15 -0
  624. package/dist/lib/wallets/fuel/Basko.js +29 -34
  625. package/dist/lib/wallets/fuel/useFuel.d.ts +2 -0
  626. package/dist/lib/wallets/fuel/useFuel.js +210 -211
  627. package/dist/lib/wallets/imtblX/useImtblX.d.ts +2 -0
  628. package/dist/lib/wallets/imtblX/useImtblX.js +82 -87
  629. package/dist/lib/wallets/paradex/Authorize/Ethereum.d.ts +2 -0
  630. package/dist/lib/wallets/paradex/Authorize/Ethereum.js +23 -24
  631. package/dist/lib/wallets/paradex/Authorize/Starknet.d.ts +2 -0
  632. package/dist/lib/wallets/paradex/Authorize/Starknet.js +13 -14
  633. package/dist/lib/wallets/paradex/lib/account.d.ts +28 -0
  634. package/dist/lib/wallets/paradex/lib/account.js +53 -102
  635. package/dist/lib/wallets/paradex/lib/index.d.ts +24 -0
  636. package/dist/lib/wallets/paradex/lib/index.js +20 -20
  637. package/dist/lib/wallets/paradex/lib/paraclear-provider.d.ts +6 -0
  638. package/dist/lib/wallets/paradex/lib/paraclear-provider.js +9 -13
  639. package/dist/lib/wallets/paradex/lib/paraclear.d.ts +137 -0
  640. package/dist/lib/wallets/paradex/lib/paraclear.js +131 -258
  641. package/dist/lib/wallets/paradex/lib/starknet-account-support.d.ts +22 -0
  642. package/dist/lib/wallets/paradex/lib/starknet-account-support.js +220 -296
  643. package/dist/lib/wallets/paradex/lib/starknet-signer.d.ts +15 -0
  644. package/dist/lib/wallets/paradex/lib/starknet-signer.js +94 -120
  645. package/dist/lib/wallets/paradex/useParadex.d.ts +2 -0
  646. package/dist/lib/wallets/paradex/useParadex.js +238 -197
  647. package/dist/lib/wallets/solana/KnownSolanaConnectors.d.ts +1 -1
  648. package/dist/lib/wallets/solana/transactionBuilder.d.ts +4 -0
  649. package/dist/lib/wallets/solana/transactionBuilder.js +39 -63
  650. package/dist/lib/wallets/solana/useSVM.d.ts +2 -0
  651. package/dist/lib/wallets/solana/useSVM.js +129 -139
  652. package/dist/lib/wallets/starknet/KnownStarknetConnectors.js +4 -0
  653. package/dist/lib/wallets/starknet/useStarknet.d.ts +2 -0
  654. package/dist/lib/wallets/starknet/useStarknet.js +131 -139
  655. package/dist/lib/wallets/ton/client.d.ts +3 -0
  656. package/dist/lib/wallets/ton/client.js +7 -7
  657. package/dist/lib/wallets/ton/useTON.d.ts +2 -0
  658. package/dist/lib/wallets/ton/useTON.js +123 -121
  659. package/dist/lib/wallets/tron/connectors/bitkeep.d.ts +61 -0
  660. package/dist/lib/wallets/tron/connectors/bitkeep.js +303 -326
  661. package/dist/lib/wallets/tron/connectors/index.d.ts +4 -0
  662. package/dist/lib/wallets/tron/connectors/index.js +4 -4
  663. package/dist/lib/wallets/tron/connectors/okxWallet.d.ts +66 -0
  664. package/dist/lib/wallets/tron/connectors/okxWallet.js +336 -364
  665. package/dist/lib/wallets/tron/connectors/tokenPocket.d.ts +72 -0
  666. package/dist/lib/wallets/tron/connectors/tokenPocket.js +308 -337
  667. package/dist/lib/wallets/tron/connectors/tronLink/index.d.ts +102 -0
  668. package/dist/lib/wallets/tron/connectors/tronLink/index.js +520 -560
  669. package/dist/lib/wallets/tron/connectors/tronLink/types.d.ts +56 -0
  670. package/dist/lib/wallets/tron/connectors/tronLink/types.js +1 -53
  671. package/dist/lib/wallets/tron/connectors/tronLink/utils.d.ts +14 -0
  672. package/dist/lib/wallets/tron/connectors/tronLink/utils.js +61 -64
  673. package/dist/lib/wallets/tron/useTron.d.ts +2 -0
  674. package/dist/lib/wallets/tron/useTron.js +100 -111
  675. package/dist/lib/wallets/utils/resolveWalletIcon.js +1 -2
  676. package/dist/lib/wallets/utils/sleep.d.ts +1 -0
  677. package/dist/lib/wallets/utils/sleep.js +3 -0
  678. package/dist/public/walletsData.json +39620 -0
  679. package/dist/stores/balanceStore.d.ts +38 -0
  680. package/dist/stores/balanceStore.js +167 -0
  681. package/dist/stores/contractWalletsStore.d.ts +5 -3
  682. package/dist/stores/recentRoutesStore.d.ts +37 -0
  683. package/dist/stores/recentRoutesStore.js +37 -0
  684. package/dist/stores/routeTokenSwitchStore.d.ts +6 -0
  685. package/dist/stores/routeTokenSwitchStore.js +5 -0
  686. package/dist/stores/swapTransactionStore.d.ts +11 -7
  687. package/dist/stores/walletStore.d.ts +5 -3
  688. package/dist/stores/walletStore.js +8 -2
  689. package/dist/stories/Data/initialValues.d.ts +2 -0
  690. package/dist/stories/Data/initialValues.js +138 -0
  691. package/dist/stories/Data/settings.d.ts +3 -0
  692. package/dist/stories/Data/settings.js +2337 -0
  693. package/dist/stories/Data/swaps.d.ts +171 -0
  694. package/dist/stories/Data/swaps.js +921 -0
  695. package/dist/stories/Message.stories.d.ts +46 -0
  696. package/dist/stories/Message.stories.js +68 -0
  697. package/dist/stories/Mocks/context/SwapDataUpdate.d.ts +3 -0
  698. package/dist/stories/Mocks/context/SwapDataUpdate.js +14 -0
  699. package/dist/stories/Process.stories.d.ts +68 -0
  700. package/dist/stories/Process.stories.js +597 -0
  701. package/dist/stories/SwapNotFound.stories.d.ts +12 -0
  702. package/dist/stories/SwapNotFound.stories.js +18 -0
  703. package/package.json +82 -23
  704. package/dist/components/Buttons/swapButton.d.ts +0 -11
  705. package/dist/components/Buttons/swapButton.js +0 -8
  706. package/dist/components/Common/TimerComponent.d.ts +0 -10
  707. package/dist/components/Common/TimerComponent.js +0 -14
  708. package/dist/components/Common/navbar.d.ts +0 -1
  709. package/dist/components/Common/navbar.js +0 -5
  710. package/dist/components/Icons/ManualTransferSVG.d.ts +0 -2
  711. package/dist/components/Icons/ManualTransferSVG.js +0 -5
  712. package/dist/components/Input/Address/AddressPicker/ConnectedWallets/ConnectWalletButton.d.ts +0 -10
  713. package/dist/components/Input/Address/AddressPicker/ConnectedWallets/ConnectWalletButton.js +0 -26
  714. package/dist/components/Input/Address/AddressPicker/ExchangeNote.d.ts +0 -8
  715. package/dist/components/Input/Address/AddressPicker/ExchangeNote.js +0 -8
  716. package/dist/components/Input/CEXCurrencyFormField.d.ts +0 -10
  717. package/dist/components/Input/CEXCurrencyFormField.js +0 -91
  718. package/dist/components/Input/CEXNetworkFormField.d.ts +0 -14
  719. package/dist/components/Input/CEXNetworkFormField.js +0 -99
  720. package/dist/components/Input/CurrencyFormField.d.ts +0 -6
  721. package/dist/components/Input/CurrencyFormField.js +0 -178
  722. package/dist/components/Input/NetworkFormField.d.ts +0 -14
  723. package/dist/components/Input/NetworkFormField.js +0 -209
  724. package/dist/components/LayerswapMenu/MenuList.js +0 -37
  725. package/dist/components/Pages/404/index.d.ts +0 -2
  726. package/dist/components/Pages/404/index.js +0 -10
  727. package/dist/components/Pages/Auth/Steps/CodeStep/VerifyEmailCode.d.ts +0 -8
  728. package/dist/components/Pages/Auth/Steps/CodeStep/VerifyEmailCode.js +0 -97
  729. package/dist/components/Pages/Auth/Steps/CodeStep/index.d.ts +0 -8
  730. package/dist/components/Pages/Auth/Steps/CodeStep/index.js +0 -10
  731. package/dist/components/Pages/Auth/Steps/EmailStep/SendEmail.d.ts +0 -7
  732. package/dist/components/Pages/Auth/Steps/EmailStep/SendEmail.js +0 -60
  733. package/dist/components/Pages/Auth/Steps/EmailStep/index.d.ts +0 -7
  734. package/dist/components/Pages/Auth/Steps/EmailStep/index.js +0 -6
  735. package/dist/components/Pages/Auth/index.d.ts +0 -3
  736. package/dist/components/Pages/Auth/index.js +0 -32
  737. package/dist/components/Pages/SwapHistory/Guest.d.ts +0 -5
  738. package/dist/components/Pages/SwapHistory/Guest.js +0 -22
  739. package/dist/components/Pages/SwapPages/Form/FeeDetails/Campaign.d.ts +0 -10
  740. package/dist/components/Pages/SwapPages/Form/FeeDetails/Campaign.js +0 -31
  741. package/dist/components/Pages/SwapPages/Form/FeeDetails/DepositMethod/index.js +0 -74
  742. package/dist/components/Pages/SwapPages/Form/FeeDetails/DetailedEstimates.d.ts +0 -3
  743. package/dist/components/Pages/SwapPages/Form/FeeDetails/DetailedEstimates.js +0 -28
  744. package/dist/components/Pages/SwapPages/Form/FeeDetails/FeeDetailsComponent.d.ts +0 -13
  745. package/dist/components/Pages/SwapPages/Form/FeeDetails/FeeDetailsComponent.js +0 -10
  746. package/dist/components/Pages/SwapPages/Form/FeeDetails/ReceiveAmounts.js +0 -17
  747. package/dist/components/Pages/SwapPages/Form/FeeDetails/Refuel.d.ts +0 -6
  748. package/dist/components/Pages/SwapPages/Form/FeeDetails/Refuel.js +0 -28
  749. package/dist/components/Pages/SwapPages/Form/FeeDetails/RefuelModal.js +0 -32
  750. package/dist/components/Pages/SwapPages/Form/FeeDetails/index.d.ts +0 -4
  751. package/dist/components/Pages/SwapPages/Form/FeeDetails/index.js +0 -31
  752. package/dist/components/Pages/SwapPages/Form/Form.js +0 -138
  753. package/dist/components/Pages/SwapPages/Form/FormWrapper.js +0 -175
  754. package/dist/components/Pages/SwapPages/Form/SecondaryComponents/FormButton.d.ts +0 -10
  755. package/dist/components/Pages/SwapPages/Form/SecondaryComponents/FormButton.js +0 -27
  756. package/dist/components/Pages/SwapPages/Form/SecondaryComponents/ReserveGasNote.d.ts +0 -5
  757. package/dist/components/Pages/SwapPages/Form/SecondaryComponents/ReserveGasNote.js +0 -28
  758. package/dist/components/Pages/SwapPages/Form/SecondaryComponents/ValidationError.js +0 -9
  759. package/dist/components/Pages/SwapPages/Form/Select/Command/CommandSelectWrapper.js +0 -18
  760. package/dist/components/Pages/SwapPages/Form/Select/Command/commandSelect.js +0 -30
  761. package/dist/components/Pages/SwapPages/Form/Select/Popover/PopoverSelectWrapper.js +0 -24
  762. package/dist/components/Pages/SwapPages/Form/Select/Shared/SelectItem.js +0 -5
  763. package/dist/components/Pages/SwapPages/Withdraw/Coinbase/Authorize.d.ts +0 -9
  764. package/dist/components/Pages/SwapPages/Withdraw/Coinbase/Authorize.js +0 -91
  765. package/dist/components/Pages/SwapPages/Withdraw/Coinbase/Carousel.d.ts +0 -20
  766. package/dist/components/Pages/SwapPages/Withdraw/Coinbase/Carousel.js +0 -44
  767. package/dist/components/Pages/SwapPages/Withdraw/Coinbase/Coinbase2FA.d.ts +0 -7
  768. package/dist/components/Pages/SwapPages/Withdraw/Coinbase/Coinbase2FA.js +0 -100
  769. package/dist/components/Pages/SwapPages/Withdraw/Coinbase/CoinbaseStore.d.ts +0 -16
  770. package/dist/components/Pages/SwapPages/Withdraw/Coinbase/CoinbaseStore.js +0 -8
  771. package/dist/components/Pages/SwapPages/Withdraw/Coinbase/ConnectGuideScreens.d.ts +0 -25
  772. package/dist/components/Pages/SwapPages/Withdraw/Coinbase/ConnectGuideScreens.js +0 -32
  773. package/dist/components/Pages/SwapPages/Withdraw/Coinbase/index.d.ts +0 -3
  774. package/dist/components/Pages/SwapPages/Withdraw/Coinbase/index.js +0 -75
  775. package/dist/components/Pages/SwapPages/Withdraw/ManualTransfer.d.ts +0 -3
  776. package/dist/components/Pages/SwapPages/Withdraw/ManualTransfer.js +0 -58
  777. package/dist/components/Pages/SwapPages/Withdraw/Messages/Message.js +0 -16
  778. package/dist/components/Pages/SwapPages/Withdraw/NotFound.d.ts +0 -3
  779. package/dist/components/Pages/SwapPages/Withdraw/NotFound.js +0 -16
  780. package/dist/components/Pages/SwapPages/Withdraw/Processing/Processing.d.ts +0 -7
  781. package/dist/components/Pages/SwapPages/Withdraw/Processing/Processing.js +0 -275
  782. package/dist/components/Pages/SwapPages/Withdraw/Processing/index.js +0 -8
  783. package/dist/components/Pages/SwapPages/Withdraw/Success.d.ts +0 -3
  784. package/dist/components/Pages/SwapPages/Withdraw/Success.js +0 -34
  785. package/dist/components/Pages/SwapPages/Withdraw/Summary/Summary.d.ts +0 -22
  786. package/dist/components/Pages/SwapPages/Withdraw/Summary/Summary.js +0 -53
  787. package/dist/components/Pages/SwapPages/Withdraw/Summary/index.js +0 -44
  788. package/dist/components/Pages/SwapPages/Withdraw/SwapDetails.js +0 -36
  789. package/dist/components/Pages/SwapPages/Withdraw/Wallet/FuelWalletWithdrawal.js +0 -159
  790. package/dist/components/Pages/SwapPages/Withdraw/Wallet/ImtblxWalletWithdrawStep.js +0 -69
  791. package/dist/components/Pages/SwapPages/Withdraw/Wallet/Loopring/ActivationTokentPicker.d.ts +0 -0
  792. package/dist/components/Pages/SwapPages/Withdraw/Wallet/Loopring/ActivationTokentPicker.js +0 -87
  793. package/dist/components/Pages/SwapPages/Withdraw/Wallet/Loopring/hooks.d.ts +0 -0
  794. package/dist/components/Pages/SwapPages/Withdraw/Wallet/Loopring/hooks.js +0 -73
  795. package/dist/components/Pages/SwapPages/Withdraw/Wallet/Loopring/index.d.ts +0 -0
  796. package/dist/components/Pages/SwapPages/Withdraw/Wallet/Loopring/index.js +0 -175
  797. package/dist/components/Pages/SwapPages/Withdraw/Wallet/SVMWalletWithdraw/index.d.ts +0 -0
  798. package/dist/components/Pages/SwapPages/Withdraw/Wallet/SVMWalletWithdraw/index.js +0 -138
  799. package/dist/components/Pages/SwapPages/Withdraw/Wallet/SVMWalletWithdraw/transactionSender.d.ts +0 -0
  800. package/dist/components/Pages/SwapPages/Withdraw/Wallet/SVMWalletWithdraw/transactionSender.js +0 -96
  801. package/dist/components/Pages/SwapPages/Withdraw/Wallet/SophonWalletWithdraw.d.ts +0 -4
  802. package/dist/components/Pages/SwapPages/Withdraw/Wallet/SophonWalletWithdraw.js +0 -101
  803. package/dist/components/Pages/SwapPages/Withdraw/Wallet/StarknetWalletWithdraw.d.ts +0 -0
  804. package/dist/components/Pages/SwapPages/Withdraw/Wallet/StarknetWalletWithdraw.js +0 -88
  805. package/dist/components/Pages/SwapPages/Withdraw/Wallet/TonWalletWithdraw.d.ts +0 -0
  806. package/dist/components/Pages/SwapPages/Withdraw/Wallet/TonWalletWithdraw.js +0 -146
  807. package/dist/components/Pages/SwapPages/Withdraw/Wallet/TronWalletWithdraw.d.ts +0 -0
  808. package/dist/components/Pages/SwapPages/Withdraw/Wallet/TronWalletWithdraw.js +0 -120
  809. package/dist/components/Pages/SwapPages/Withdraw/Wallet/WalletTransfer/TransferToken.d.ts +0 -4
  810. package/dist/components/Pages/SwapPages/Withdraw/Wallet/WalletTransfer/TransferToken.js +0 -99
  811. package/dist/components/Pages/SwapPages/Withdraw/Wallet/WalletTransfer/buttons.d.ts +0 -13
  812. package/dist/components/Pages/SwapPages/Withdraw/Wallet/WalletTransfer/buttons.js +0 -62
  813. package/dist/components/Pages/SwapPages/Withdraw/Wallet/WalletTransfer/index.d.ts +0 -4
  814. package/dist/components/Pages/SwapPages/Withdraw/Wallet/WalletTransfer/manualTransferNote.d.ts +0 -2
  815. package/dist/components/Pages/SwapPages/Withdraw/Wallet/WalletTransfer/manualTransferNote.js +0 -17
  816. package/dist/components/Pages/SwapPages/Withdraw/Wallet/WalletTransfer/networkGas.d.ts +0 -9
  817. package/dist/components/Pages/SwapPages/Withdraw/Wallet/WalletTransfer/networkGas.js +0 -10
  818. package/dist/components/Pages/SwapPages/Withdraw/Wallet/WalletTransfer/sharedTypes.d.ts +0 -14
  819. package/dist/components/Pages/SwapPages/Withdraw/Wallet/WalletTransferContent.d.ts +0 -13
  820. package/dist/components/Pages/SwapPages/Withdraw/Wallet/WalletTransferContent.js +0 -135
  821. package/dist/components/Pages/SwapPages/Withdraw/Wallet/ZKsyncWalletWithdraw.d.ts +0 -4
  822. package/dist/components/Pages/SwapPages/Withdraw/Wallet/index.d.ts +0 -2
  823. package/dist/components/Pages/SwapPages/Withdraw/Wallet/index.js +0 -14
  824. package/dist/components/Pages/SwapPages/Withdraw/Wallet/paradex/Evm.d.ts +0 -0
  825. package/dist/components/Pages/SwapPages/Withdraw/Wallet/paradex/Evm.js +0 -60
  826. package/dist/components/Pages/SwapPages/Withdraw/Wallet/paradex/Starknet.d.ts +0 -0
  827. package/dist/components/Pages/SwapPages/Withdraw/Wallet/paradex/Starknet.js +0 -71
  828. package/dist/components/Pages/SwapPages/Withdraw/Wallet/paradex/buttons.d.ts +0 -12
  829. package/dist/components/Pages/SwapPages/Withdraw/Wallet/paradex/buttons.js +0 -37
  830. package/dist/components/Pages/SwapPages/Withdraw/Wallet/paradex/index.d.ts +0 -0
  831. package/dist/components/Pages/SwapPages/Withdraw/Wallet/paradex/index.js +0 -56
  832. package/dist/components/Pages/SwapPages/Withdraw/WalletTransferContent.d.ts +0 -3
  833. package/dist/components/Pages/SwapPages/Withdraw/WalletTransferContent.js +0 -60
  834. package/dist/components/Pages/SwapPages/Withdraw/Withdraw.d.ts +0 -3
  835. package/dist/components/Pages/SwapPages/Withdraw/Withdraw.js +0 -42
  836. package/dist/components/utils/GoHome.d.ts +0 -7
  837. package/dist/components/utils/GoHome.js +0 -12
  838. package/dist/context/authContext.d.ts +0 -39
  839. package/dist/context/authContext.js +0 -77
  840. package/dist/context/depositMethodContext.d.ts +0 -16
  841. package/dist/context/depositMethodContext.js +0 -28
  842. package/dist/context/feeContext.d.ts +0 -17
  843. package/dist/context/feeContext.js +0 -49
  844. package/dist/context/validationErrorContext.js +0 -86
  845. package/dist/lib/GetSettings.d.ts +0 -7
  846. package/dist/lib/GetSettings.js +0 -19
  847. package/dist/lib/TokenService.d.ts +0 -10
  848. package/dist/lib/TokenService.js +0 -20
  849. package/dist/lib/balances/providers/queryBalanceProvider.d.ts +0 -15
  850. package/dist/lib/balances/providers/queryBalanceProvider.js +0 -47
  851. package/dist/lib/balances/providers/tronBalanceResolver.js +0 -87
  852. package/dist/lib/balances/useSWRBalance.d.ts +0 -22
  853. package/dist/lib/balances/useSWRBalance.js +0 -16
  854. package/dist/lib/internalApiClient.d.ts +0 -7
  855. package/dist/lib/internalApiClient.js +0 -12
  856. package/dist/lib/mainStepValidator.d.ts +0 -8
  857. package/dist/lib/mainStepValidator.js +0 -68
  858. package/dist/lib/openLink.d.ts +0 -17
  859. package/dist/lib/openLink.js +0 -41
  860. package/dist/lib/userAuthApiClient.d.ts +0 -7
  861. package/dist/lib/userAuthApiClient.js +0 -31
  862. package/dist/lib/wallets/connectors/EthereumProvider.d.ts +0 -448
  863. package/dist/lib/wallets/connectors/EthereumProvider.js +0 -455
  864. package/dist/lib/wallets/connectors/argent/index.d.ts +0 -61
  865. package/dist/lib/wallets/connectors/argent/index.js +0 -360
  866. package/dist/lib/wallets/connectors/bitget/index.d.ts +0 -61
  867. package/dist/lib/wallets/connectors/bitget/index.js +0 -360
  868. package/dist/lib/wallets/connectors/constants/index.d.ts +0 -2
  869. package/dist/lib/wallets/connectors/constants/index.js +0 -2
  870. package/dist/lib/wallets/connectors/constants/rpc.d.ts +0 -4
  871. package/dist/lib/wallets/connectors/constants/rpc.js +0 -32
  872. package/dist/lib/wallets/connectors/constants/values.d.ts +0 -5
  873. package/dist/lib/wallets/connectors/constants/values.js +0 -5
  874. package/dist/lib/wallets/connectors/getInjectedConnector.d.ts +0 -11
  875. package/dist/lib/wallets/connectors/getInjectedConnector.js +0 -95
  876. package/dist/lib/wallets/connectors/getWalletConnector.d.ts +0 -63
  877. package/dist/lib/wallets/connectors/getWalletConnector.js +0 -356
  878. package/dist/lib/wallets/connectors/index.d.ts +0 -7
  879. package/dist/lib/wallets/connectors/index.js +0 -7
  880. package/dist/lib/wallets/connectors/metamask/index.d.ts +0 -86
  881. package/dist/lib/wallets/connectors/okxWallet/index.d.ts +0 -84
  882. package/dist/lib/wallets/connectors/okxWallet/index.js +0 -367
  883. package/dist/lib/wallets/connectors/rainbow/index.d.ts +0 -82
  884. package/dist/lib/wallets/connectors/rainbow/index.js +0 -368
  885. package/dist/lib/wallets/connectors/useSyncProviders/EthereumProviderTypes.d.ts +0 -33
  886. package/dist/lib/wallets/connectors/useSyncProviders/EthereumProviderTypes.js +0 -2
  887. package/dist/lib/wallets/connectors/walletConnect/index.js +0 -352
  888. package/dist/stores/addressesStore.d.ts +0 -7
  889. package/dist/stores/addressesStore.js +0 -9
  890. package/dist/{components/Pages/SwapPages/Form/Select/Shared/Props/SelectProps.js → Models/Route.js} +0 -0
  891. package/dist/components/{LayerswapMenu → Menu}/Feedback.d.ts +0 -0
  892. package/dist/components/{LayerswapMenu → Menu}/Menu.d.ts +0 -0
  893. package/dist/components/{LayerswapMenu → Menu}/MenuList.d.ts +0 -0
  894. package/dist/components/{LayerswapMenu → Menu}/index.d.ts +0 -0
  895. package/dist/components/Pages/{SwapPages → Swap}/Form/FeeDetails/DepositMethod/index.d.ts +0 -0
  896. package/dist/components/Pages/{SwapPages/Form/FormWrapper.d.ts → Swap/Form/Form.d.ts} +0 -0
  897. package/dist/components/Pages/{SwapPages → Swap}/Form/SecondaryComponents/ConnectNetwork.d.ts +0 -0
  898. package/dist/components/Pages/{SwapPages → Swap}/Form/SecondaryComponents/ConnectNetwork.js +1 -1
  899. /package/dist/components/Pages/{SwapPages/Form/SecondaryComponents/ValidationError.d.ts → Swap/Form/SecondaryComponents/validationError/index.d.ts} +0 -0
  900. /package/dist/components/Pages/{SwapPages → Swap}/Form/SwapFormValues.js +0 -0
  901. /package/dist/components/Pages/{SwapPages → Swap}/Form/index.d.ts +0 -0
  902. /package/dist/components/Pages/{SwapPages → Swap}/Withdraw/External.d.ts +0 -0
  903. /package/dist/components/Pages/{SwapPages → Swap}/Withdraw/External.js +0 -0
  904. /package/dist/components/Pages/{SwapPages → Swap}/Withdraw/Failed.d.ts +0 -0
  905. /package/dist/components/Pages/{SwapPages/Withdraw/Processing/Steps.d.ts → Swap/Withdraw/Processing/StepsComponent.d.ts} +0 -0
  906. /package/dist/components/Pages/{SwapPages → Swap}/Withdraw/Processing/gauge.d.ts +0 -0
  907. /package/dist/components/Pages/{SwapPages → Swap}/Withdraw/Processing/index.d.ts +0 -0
  908. /package/dist/components/Pages/{SwapPages → Swap}/Withdraw/Summary/index.d.ts +0 -0
  909. /package/dist/components/Pages/{SwapPages/Withdraw/Wallet/WalletTransfer → Swap/Withdraw/Wallet/Common}/sharedTypes.js +0 -0
  910. /package/dist/components/Pages/{SwapPages/Withdraw/Wallet/WalletTransfer → Swap/Withdraw/Wallet/WithdrawalProviders/EVMWalletWithdraw}/resolveError.d.ts +0 -0
  911. /package/dist/components/Pages/{SwapPages → Swap}/Withdraw/index.d.ts +0 -0
  912. /package/dist/components/Pages/{SwapPages/Withdraw/Messages → Swap/Withdraw/messages}/Message.d.ts +0 -0
  913. /package/dist/components/Pages/{SwapPages/Withdraw/Messages → Swap/Withdraw/messages}/TransactionMessages.d.ts +0 -0
  914. /package/dist/components/Pages/{SwapPages/Withdraw/Messages → Swap/Withdraw/messages}/TransactionMessages.js +0 -0
  915. /package/dist/components/{Pages/SwapPages/Form/Select → Select}/Popover/PopoverSelect.d.ts +0 -0
  916. /package/dist/components/{Pages/SwapPages/Form/Select → Select}/Popover/PopoverSelectWrapper.d.ts +0 -0
  917. /package/dist/components/{Pages/SwapPages/Form/Select → Select}/Shared/Props/SelectProps.d.ts +0 -0
  918. /package/dist/components/{Pages/SwapPages/Form/Select → Select}/Shared/Props/selectMenuItem.js +0 -0
  919. /package/dist/components/{Pages/Campaigns/Details/ProgressBar.d.ts → shadcn/progressBar.d.ts} +0 -0
  920. /package/dist/lib/balances/{providers/helpers.js → helpers.js} +0 -0
  921. /package/dist/{components/Pages/SwapPages/Withdraw/Wallet/FuelWalletWithdrawal.d.ts → lib/fuels/connectors/walletConnect/WalletConnectConnector.d.ts} +0 -0
  922. /package/dist/{components/Pages/SwapPages/Withdraw/Wallet/ImtblxWalletWithdrawStep.d.ts → lib/fuels/connectors/walletConnect/web3Modal.d.ts} +0 -0
@@ -1,20 +0,0 @@
1
- import React from "react";
2
- interface CarouselItemProps {
3
- children?: JSX.Element | JSX.Element[];
4
- width: number;
5
- }
6
- export declare const CarouselItem: React.FC<CarouselItemProps>;
7
- interface CarouselProps {
8
- children?: JSX.Element | JSX.Element[];
9
- starAtLast: boolean;
10
- onLast: (value: boolean) => void;
11
- onFirst: (value: boolean) => void;
12
- }
13
- export type CarouselRef = {
14
- next: () => void;
15
- prev: () => void;
16
- goToLast: () => void;
17
- goToFirst: () => void;
18
- };
19
- declare const Carousel: React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<CarouselRef>>;
20
- export default Carousel;
@@ -1,44 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import React, { forwardRef, useCallback, useImperativeHandle, useState } from "react";
3
- export const CarouselItem = ({ children, width }) => {
4
- return (_jsx("div", { className: `rounded-xl inline-flex items-center justify-center flex-col pb-0 bg-gradient-to-b from-secondary-900 to-secondary-700 h-full relative`, style: { width: width }, children: children }));
5
- };
6
- const Carousel = forwardRef(function Carousel({ onFirst, onLast, children, starAtLast }, ref) {
7
- const [activeIndex, setActiveIndex] = useState(starAtLast ? React.Children.count(children) - 1 : 0);
8
- const updateIndex = useCallback((newIndex) => {
9
- onFirst(false);
10
- onLast(false);
11
- if (newIndex >= 0 && newIndex <= React.Children.count(children) - 1) {
12
- setActiveIndex(newIndex);
13
- }
14
- if (newIndex >= React.Children.count(children) - 1)
15
- onLast(true);
16
- if (newIndex == 0)
17
- onFirst(true);
18
- }, [children, onFirst, onLast]);
19
- useImperativeHandle(ref, () => ({
20
- next: () => {
21
- updateIndex(activeIndex + 1);
22
- },
23
- prev: () => {
24
- updateIndex(activeIndex - 1);
25
- },
26
- goToLast: () => {
27
- updateIndex(React.Children.count(children) - 1);
28
- },
29
- goToFirst: () => {
30
- updateIndex(0);
31
- }
32
- }), [activeIndex, children, updateIndex]);
33
- //TODO: Implement without package
34
- // const handlers = useSwipeable({
35
- // onSwipedLeft: () => updateIndex(activeIndex + 1),
36
- // onSwipedRight: () => updateIndex(activeIndex - 1),
37
- // });
38
- return (_jsx("div", {
39
- // {...handlers}
40
- className: "overflow-hidden h-full", children: _jsx("div", { className: "whitespace-nowrap transition-transform duration-500 inner h-full", style: { transform: `translateX(-${activeIndex * 100}%)` }, children: children && React.Children.map(children, (child, index) => {
41
- return React.cloneElement(child, { width: "100%" });
42
- }) }) }));
43
- });
44
- export default Carousel;
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- type Props = {
3
- onSuccess: (swapId: string) => Promise<void>;
4
- footerStickiness?: boolean;
5
- };
6
- declare const Coinbase2FA: FC<Props>;
7
- export default Coinbase2FA;
@@ -1,100 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { Info, ScanFace } from 'lucide-react';
3
- import { Form, Formik } from 'formik';
4
- import { useCallback, useRef, useState } from 'react';
5
- import toast from 'react-hot-toast';
6
- import { useSwapDataState } from '../../../../../context/swap';
7
- import { useTimerState } from '../../../../../context/timerContext';
8
- import LayerSwapApiClient from '../../../../../lib/layerSwapApiClient';
9
- import { LSAPIKnownErrorCode } from '../../../../../Models/ApiError';
10
- import SubmitButton from '../../../../Buttons/submitButton';
11
- import SpinIcon from '../../../../Icons/spinIcon';
12
- import NumericInput from '../../../../Input/NumericInput';
13
- import MessageComponent from '../../../../Common/MessageComponent';
14
- import Modal from '../../../../Modal/modal';
15
- import TimerWithContext from '../../../../Common/TimerComponent';
16
- import { Widget } from '../../../../Widget/Index';
17
- const TIMER_SECONDS = 120;
18
- //TODO email code is almost identical create reusable component for email and two factor code verification
19
- const Coinbase2FA = ({ onSuccess, footerStickiness = true }) => {
20
- const initialValues = { Code: '' };
21
- const { swapResponse } = useSwapDataState();
22
- const { swap } = swapResponse || {};
23
- const [loading, setLoading] = useState(false);
24
- const [showInsufficientFundsModal, setShowInsufficientFundsModal] = useState(false);
25
- const [showFundsOnHoldModal, setShowFundsOnHoldModal] = useState(false);
26
- const { start: startTimer } = useTimerState();
27
- const formikRef = useRef(null);
28
- const handleSubmit = useCallback(async (values) => {
29
- if (!swap || !swap.source_exchange)
30
- return;
31
- setLoading(true);
32
- try {
33
- const layerswapApiClient = new LayerSwapApiClient();
34
- await layerswapApiClient.WithdrawFromExchange(swap.id, swap.source_exchange.name, values.Code);
35
- await onSuccess(swap.id);
36
- }
37
- catch (error) {
38
- const data = error?.response?.data?.error;
39
- if (!data) {
40
- toast.error(error.message);
41
- return;
42
- }
43
- else if (data.code === LSAPIKnownErrorCode.INSUFFICIENT_FUNDS) {
44
- setShowInsufficientFundsModal(true);
45
- }
46
- else if (data.code === LSAPIKnownErrorCode.FUNDS_ON_HOLD) {
47
- setShowFundsOnHoldModal(true);
48
- }
49
- else {
50
- toast.error(data.message);
51
- }
52
- }
53
- setLoading(false);
54
- }, [swap]);
55
- const handleResendTwoFACode = useCallback(async () => {
56
- if (!swap || !swap.source_exchange)
57
- return;
58
- setLoading(true);
59
- try {
60
- formikRef.current?.setFieldValue("Code", "");
61
- const layerswapApiClient = new LayerSwapApiClient();
62
- await layerswapApiClient.WithdrawFromExchange(swap.id, swap.source_exchange.name);
63
- }
64
- catch (error) {
65
- const data = error?.response?.data?.error;
66
- if (!data) {
67
- toast.error(error.message);
68
- return;
69
- }
70
- if (data.code === LSAPIKnownErrorCode.COINBASE_INVALID_2FA) {
71
- startTimer(TIMER_SECONDS);
72
- return;
73
- }
74
- else {
75
- toast.error(data.message);
76
- }
77
- }
78
- finally {
79
- setLoading(false);
80
- }
81
- }, [swap]);
82
- return _jsxs(_Fragment, { children: [_jsx(Modal, { show: showInsufficientFundsModal, setShow: setShowInsufficientFundsModal, modalId: 'insufficientFunds', children: _jsxs(MessageComponent, { children: [_jsxs(MessageComponent.Content, { center: true, icon: 'red', children: [_jsx(MessageComponent.Header, { children: "Transfer failed" }), _jsx(MessageComponent.Description, { children: "This transfer can't be processed because you don't have enough available funds on Coinbase." })] }), _jsx(MessageComponent.Buttons, { children: _jsx(SubmitButton, { isDisabled: false, isSubmitting: false, onClick: () => {
83
- window.open("https://www.coinbase.com/", "_blank");
84
- }, children: "Check Coinbase" }) })] }) }), _jsx(Modal, { show: showFundsOnHoldModal, setShow: setShowFundsOnHoldModal, modalId: 'funds', children: _jsxs(MessageComponent, { children: [_jsxs(MessageComponent.Content, { center: true, icon: 'red', children: [_jsx(MessageComponent.Header, { children: "Transfer failed" }), _jsx(MessageComponent.Description, { children: "This transfer can't be processed because your funds might be on hold on Coinbase. This usually happens when you want to cash out immediately after completeing a purchare or adding cash." })] }), _jsx(MessageComponent.Buttons, { children: _jsx(SubmitButton, { isDisabled: false, isSubmitting: false, onClick: () => {
85
- window.open("https://help.coinbase.com/en/coinbase/trading-and-funding/sending-or-receiving-cryptocurrency/available-balance-faq", "_blank");
86
- }, children: "Learn More" }) })] }) }), _jsx(Formik, { initialValues: initialValues, validateOnMount: true, innerRef: formikRef, validate: (values) => {
87
- const errors = {};
88
- if (!/^[0-9]*$/.test(values.Code)) {
89
- errors.Code = "Value should be numeric";
90
- }
91
- else if (values.Code.length != 7 && values.Code.length != 6) {
92
- errors.Code = `The length should be 6 or 7 instead of ${values.Code.length}`;
93
- }
94
- return errors;
95
- }, onSubmit: handleSubmit, children: ({ isValid, isSubmitting, errors, handleChange }) => (_jsxs(Form, { className: 'flex flex-col jutsify-center text-secondary-text h-full ', children: [_jsx(Widget.Content, { center: true, children: _jsxs("div", { className: "w-full flex-col justify-between flex h-full", children: [_jsx(ScanFace, { className: 'w-12 h-12 md:w-16 md:h-16 mt-auto text-primary self-center' }), _jsxs("div", { className: 'text-center md:mt-5 md:mb-8', children: [_jsx("p", { className: 'mb-2 md:mb-6 mt-2 pt-2 text-2xl font-bold text-primary-text leading-6 text-center font-roboto', children: "Coinbase 2FA" }), _jsx("p", { className: 'text-center text-base px-2', children: "Please enter the 2 step verification code of your Coinbase account." })] }), _jsx("div", { className: "relative rounded-md shadow-sm mt-2 md:mt-5", children: _jsx(NumericInput, { pattern: '^[0-9]*$', placeholder: "XXXXXXX", maxLength: 7, name: 'Code', onChange: e => {
96
- /^[0-9]*$/.test(e.target.value) && handleChange(e);
97
- }, className: "leading-none h-12 text-2xl pl-5 text-primary-text focus:ring-primary text-center focus:border-primary border-secondary-500 block\n placeholder:text-2xl placeholder:text-center tracking-widest placeholder:font-normal placeholder:opacity-50 bg-secondary-700 w-full font-semibold rounded-md placeholder-primary-text" }) }), _jsx("span", { className: "flex text-sm leading-6 items-center mt-1.5", children: _jsx(TimerWithContext, { seconds: 120, waitingComponent: (remainingTime) => (_jsxs("span", { children: [_jsx("span", { children: "Resend in" }), _jsx("span", { className: 'ml-1', children: remainingTime })] })), children: !loading ? _jsx("span", { onClick: handleResendTwoFACode, className: "decoration underline-offset-1 underline hover:no-underline decoration-primary hover:cursor-pointer", children: "Resend code" })
98
- : _jsx(SpinIcon, { className: "animate-spin h-5 w-5" }) }) }), _jsxs("div", { className: 'p-4 bg-secondary-700 text-secondary-text rounded-lg border border-secondary-500 my-4', children: [_jsxs("div", { className: "flex items-center", children: [_jsx(Info, { className: 'h-5 w-5 text-primary-600 mr-3' }), _jsx("label", { className: "block text-sm md:text-base font-medium leading-6", children: "To obtain the 2 step verification code, check:" })] }), _jsxs("ul", { className: "list-disc font-light space-y-1 text-xs md:text-sm mt-2 ml-8 text-left", children: [_jsx("li", { children: "your authenticator app (Google, Microsoft, or other), or" }), _jsx("li", { children: "text messages of the phone number associated with your Coinbase account" })] })] })] }) }), _jsx(Widget.Footer, { sticky: footerStickiness, children: _jsx("div", { className: 'md:mb-5', children: _jsx(SubmitButton, { type: "submit", isDisabled: !isValid || loading, isSubmitting: isSubmitting || loading, children: "Confirm" }) }) })] })) })] });
99
- };
100
- export default Coinbase2FA;
@@ -1,16 +0,0 @@
1
- interface CoinbaseState {
2
- alreadyFamiliar: boolean;
3
- toggleAlreadyFamiliar: () => void;
4
- }
5
- export declare const useCoinbaseStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<CoinbaseState>, "persist"> & {
6
- persist: {
7
- setOptions: (options: Partial<import("zustand/middleware").PersistOptions<CoinbaseState, CoinbaseState>>) => void;
8
- clearStorage: () => void;
9
- rehydrate: () => Promise<void> | void;
10
- hasHydrated: () => boolean;
11
- onHydrate: (fn: (state: CoinbaseState) => void) => () => void;
12
- onFinishHydration: (fn: (state: CoinbaseState) => void) => () => void;
13
- getOptions: () => Partial<import("zustand/middleware").PersistOptions<CoinbaseState, CoinbaseState>>;
14
- };
15
- }>;
16
- export {};
@@ -1,8 +0,0 @@
1
- import { create } from 'zustand';
2
- import { persist } from 'zustand/middleware';
3
- export const useCoinbaseStore = create()(persist((set) => ({
4
- alreadyFamiliar: false,
5
- toggleAlreadyFamiliar: () => set((state) => ({ alreadyFamiliar: !state.alreadyFamiliar })),
6
- }), {
7
- name: 'coinbase-config-storage'
8
- }));
@@ -1,25 +0,0 @@
1
- export declare const FirstScreen: ({ exchange_name }: {
2
- exchange_name: any;
3
- }) => import("react/jsx-runtime").JSX.Element;
4
- export declare const SecondScreen: () => import("react/jsx-runtime").JSX.Element;
5
- export declare const ThirdScreen: ({ minimalAuthorizeAmount }: {
6
- minimalAuthorizeAmount: any;
7
- }) => import("react/jsx-runtime").JSX.Element;
8
- export declare const FourthScreen: ({ minimalAuthorizeAmount }: {
9
- minimalAuthorizeAmount: any;
10
- }) => import("react/jsx-runtime").JSX.Element;
11
- export declare const LastScreen: ({ minimalAuthorizeAmount, number }: {
12
- minimalAuthorizeAmount: number;
13
- number?: boolean;
14
- }) => import("react/jsx-runtime").JSX.Element;
15
- export declare const FirstScreenImage: () => import("react/jsx-runtime").JSX.Element;
16
- export declare const SecondScreenImage: () => import("react/jsx-runtime").JSX.Element;
17
- export declare const ThirdScreenImage: ({ minimalAuthorizeAmount }: {
18
- minimalAuthorizeAmount: any;
19
- }) => import("react/jsx-runtime").JSX.Element;
20
- export declare const FourthScreenImage: ({ minimalAuthorizeAmount }: {
21
- minimalAuthorizeAmount: any;
22
- }) => import("react/jsx-runtime").JSX.Element;
23
- export declare const LastScreenImage: ({ minimalAuthorizeAmount }: {
24
- minimalAuthorizeAmount: any;
25
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,32 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export const FirstScreen = ({ exchange_name }) => {
3
- return _jsxs("div", { className: "inline-flex flex-col relative top-0 left-0 grow w-full", children: [_jsxs("div", { className: 'whitespace-normal text-primary-text grow text-md font-normal pb-2', children: [_jsx("span", { className: 'font-medium text-primary', children: ".01" }), _jsx("span", { children: "\u00A0After this guide you'll be redirected to " }), exchange_name, _jsx("span", {})] }), _jsx("div", { className: "w-1/2 m-auto", children: _jsx(FirstScreenImage, {}) })] });
4
- };
5
- export const SecondScreen = () => {
6
- return _jsxs("div", { className: "inline-flex flex-col relative top-0 left-0 grow w-full", children: [_jsxs("div", { className: 'whitespace-normal text-primary-text grow text-md font-normal pb-2', children: [_jsx("span", { className: 'font-medium text-primary', children: ".02" }), _jsx("span", { children: "\u00A0When in Coinbase, click\u00A0" }), _jsx("span", { className: 'strong-highlight font-medium', children: "Change this amount" })] }), _jsx("div", { className: "w-1/2 m-auto", children: _jsx(SecondScreenImage, {}) })] });
7
- };
8
- export const ThirdScreen = ({ minimalAuthorizeAmount }) => {
9
- return _jsxs("div", { className: "inline-flex flex-col relative top-0 left-0 grow w-full", children: [_jsxs("div", { className: 'whitespace-normal text-primary-text grow text-md font-normal pb-2', children: [_jsx("span", { className: 'font-medium text-primary', children: ".03" }), _jsx("span", { children: "\u00A0Change the existing 1.0 value to\u00A0" }), _jsx("span", { className: 'strong-highlight font-medium', children: minimalAuthorizeAmount }), _jsx("span", { children: "\u00A0and click Save" })] }), _jsx("div", { className: "w-1/2 m-auto", children: _jsx(ThirdScreenImage, { minimalAuthorizeAmount: minimalAuthorizeAmount }) })] });
10
- };
11
- export const FourthScreen = ({ minimalAuthorizeAmount }) => {
12
- return _jsxs("div", { className: "inline-flex flex-col relative top-0 left-0 grow w-full", children: [_jsxs("div", { className: 'whitespace-normal text-primary-text grow text-md font-normal pb-2', children: [_jsx("span", { className: 'font-medium text-primary', children: ".04" }), _jsx("span", { children: "\u00A0Make sure that the amount is\u00A0" }), _jsx("span", { className: 'strong-highlight font-medium', children: minimalAuthorizeAmount }), _jsx("span", { children: "\u00A0and click\u00A0" }), _jsx("span", { className: 'strong-highlight font-medium', children: "Authorize" })] }), _jsx("div", { className: "w-1/2 m-auto", children: _jsx(FourthScreenImage, { minimalAuthorizeAmount: minimalAuthorizeAmount }) })] });
13
- };
14
- export const LastScreen = ({ minimalAuthorizeAmount, number }) => {
15
- return (_jsxs("div", { className: "inline-flex flex-col left-0 l relative top-0 grow w-full", children: [_jsxs("div", { className: 'text-primary-text text-md font-normal grow w-full pb-2 ', children: [number &&
16
- _jsx("span", { className: 'font-medium text-primary', children: ".05" }), _jsx("span", { children: "\u00A0Make sure to change the allowed amount to\u00A0" }), _jsx("span", { className: 'strong-highlight', children: minimalAuthorizeAmount })] }), _jsx("div", { className: "w-1/2 m-auto", children: _jsx(LastScreenImage, { minimalAuthorizeAmount: minimalAuthorizeAmount }) })] }));
17
- };
18
- export const FirstScreenImage = () => {
19
- return _jsxs("svg", { viewBox: "0 0 413 484", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsxs("g", { clipPath: "url(#clip0_1740_2402)", children: [_jsx("rect", { x: "3", width: "407", height: "844", rx: "50", fill: "url(#paint0_linear_1740_2402)" }), _jsx("rect", { x: "19", y: "16", width: "375", height: "812", rx: "36", fill: "#2261EB" }), _jsx("rect", { x: "19", y: "16", width: "375", height: "812", rx: "36", fill: "white" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M121.208 49.155V61.1442L121.752 61.3004C123.103 61.6882 124.281 61.9223 125.642 62.0732C126.556 62.1746 128.524 62.1897 129.296 62.1013C132.904 61.6879 135.452 60.1934 136.809 57.696C137.993 55.5174 138.128 52.3687 137.137 50.0928C136.054 47.6072 133.92 46.0703 130.828 45.5486C129.939 45.3986 128.267 45.3981 127.388 45.5476C126.662 45.6713 125.947 45.8571 125.44 46.0536L125.078 46.1945V41.6802V37.1659H123.143H121.208V49.155ZM96.5673 38.8585C95.4843 39.2095 94.7839 40.2459 94.977 41.2116C95.1683 42.1672 95.9862 42.9164 97.0205 43.0832C98.0097 43.2427 99.0739 42.697 99.5427 41.79C99.7276 41.4321 99.7381 41.3853 99.7366 40.9153C99.7354 40.5202 99.7108 40.3628 99.6161 40.1455C99.3761 39.595 98.8526 39.1117 98.2602 38.894C97.8241 38.7337 97.0054 38.7165 96.5673 38.8585ZM68.9765 45.4663C67.4557 45.6132 65.9535 46.1041 64.7251 46.8557C64.0211 47.2864 62.9787 48.2527 62.5068 48.912C61.4676 50.3638 61.0035 51.87 61 53.8021C60.9982 54.8342 61.0539 55.2878 61.2929 56.1851C62.1497 59.4026 64.8106 61.5773 68.4871 62.065C70.244 62.298 71.8535 62.1785 73.4582 61.6961C73.9805 61.5391 74.9456 61.1594 75.0373 61.0749C75.0587 61.0552 73.4614 58.7369 73.3568 58.636C73.3116 58.5923 73.1848 58.6124 72.8369 58.7182C72.0542 58.9564 71.3976 59.0325 70.3766 59.0036C69.3893 58.9755 68.821 58.8705 68.0488 58.5735C66.5413 57.9936 65.3878 56.67 65.0428 55.1245C64.7645 53.8776 64.8937 52.5164 65.3946 51.4184C65.8757 50.3637 66.9258 49.4289 68.1275 48.9853C68.9051 48.6983 69.4226 48.6175 70.4755 48.6186C71.4664 48.6196 72.0819 48.7029 72.8101 48.9344C72.9856 48.9902 73.1457 49.0189 73.1657 48.998C73.214 48.948 74.7749 46.5124 74.7749 46.4871C74.7749 46.4422 73.6903 46.0005 73.2302 45.8581C71.9769 45.4701 70.421 45.3268 68.9765 45.4663ZM82.8957 45.4663C78.9398 45.8484 75.987 48.3445 75.2376 51.9399C74.7339 54.3564 75.2288 56.8498 76.5869 58.7395C77.0487 59.3821 78.0511 60.3173 78.7395 60.7479C80.7532 62.0073 83.3731 62.4588 85.9751 61.9947C86.7891 61.8496 87.4551 61.6357 88.291 61.2509C89.9213 60.5005 91.1613 59.3534 91.9679 57.8495C92.3481 57.1405 92.5672 56.5481 92.7641 55.6967C92.9005 55.1073 92.9094 54.9903 92.9094 53.8021C92.9094 52.614 92.9005 52.497 92.7641 51.9076C92.2325 49.6093 91.0096 47.9012 89.0554 46.7276C87.3646 45.7123 85.116 45.2519 82.8957 45.4663ZM109.304 45.4624C107.385 45.5873 105.459 45.9392 103.661 46.4935L102.748 46.7752L102.734 54.2863L102.72 61.7975H104.655H106.59V55.4672V49.1368L106.872 49.062C107.837 48.8061 108.707 48.7129 110.137 48.7124C111.29 48.712 111.437 48.7217 111.819 48.8242C112.443 48.9912 112.859 49.2057 113.226 49.5499C113.61 49.9094 113.805 50.2267 113.967 50.7567C114.085 51.1451 114.085 51.1484 114.102 56.4714L114.118 61.7975H116.024H117.93L117.93 56.4714C117.93 51.0309 117.912 50.4693 117.717 49.6058C117.356 48.0091 116.433 46.8532 114.985 46.1835C113.614 45.5489 111.702 45.3063 109.304 45.4624ZM145.054 45.4615C143.83 45.5795 142.388 45.9521 141.321 46.4262L140.716 46.6948V48.2372C140.716 49.0855 140.73 49.7797 140.746 49.7797C140.762 49.7797 140.95 49.6918 141.162 49.5843C142.063 49.13 143.265 48.7567 144.29 48.613C144.913 48.5258 146.199 48.5114 146.628 48.5868C147.935 48.8162 148.764 49.4764 148.987 50.4649C149.02 50.6097 149.047 51.1042 149.047 51.5639V52.3996L147.206 52.4253C145.719 52.446 145.231 52.4704 144.667 52.5523C143.057 52.7858 142.046 53.106 141.124 53.6745C140.124 54.2909 139.546 55.0308 139.221 56.1114C139.151 56.3429 139.132 56.614 139.135 57.328C139.139 58.1819 139.149 58.2782 139.286 58.6919C139.849 60.3972 141.309 61.4264 143.829 61.8946C145.447 62.1953 147.775 62.213 150.139 61.9428C150.932 61.8522 152.143 61.6567 152.607 61.5444L152.808 61.4957L152.807 55.7991C152.807 52.2911 152.786 49.9689 152.753 49.7548C152.383 47.3505 150.844 45.96 148.079 45.5323C147.469 45.4379 145.723 45.3971 145.054 45.4615ZM160.735 45.4409C158.154 45.7007 156.451 46.7424 155.764 48.4804C155.454 49.267 155.365 50.2712 155.521 51.2285C155.669 52.1389 155.996 52.8015 156.583 53.3821C157.35 54.1415 158.367 54.6119 160.225 55.0675C162.068 55.5195 162.829 55.8113 163.305 56.2479C163.639 56.5544 163.776 56.8453 163.811 57.3245C163.861 58.0025 163.613 58.5034 163.06 58.8389C161.616 59.7148 158.469 59.2626 156.231 57.8578C155.941 57.6757 155.693 57.5267 155.68 57.5267C155.667 57.5267 155.657 58.275 155.657 59.1897V60.8527L155.882 60.9841C156.241 61.1935 156.976 61.4911 157.645 61.6978C159.172 62.1694 160.989 62.3017 162.697 62.0655C164.566 61.807 165.993 61.0667 166.807 59.9333C167.731 58.6475 167.84 56.4005 167.047 54.9953C166.751 54.4701 166.418 54.0993 165.91 53.7278C165.137 53.1634 163.989 52.7061 162.482 52.362C160.554 51.9219 159.621 51.4656 159.306 50.8083C159.121 50.4221 159.127 49.8086 159.321 49.4243C159.572 48.9238 160.048 48.5899 160.766 48.4086C161.516 48.2194 162.973 48.3329 164.078 48.6668C164.687 48.8507 165.723 49.329 166.204 49.648L166.62 49.9243V48.287V46.6496L166.446 46.5486C165.712 46.1246 164.494 45.7121 163.504 45.5524C162.902 45.4551 161.253 45.3887 160.735 45.4409ZM176.697 45.4404C173.831 45.7244 171.478 47.2208 170.223 49.5562C169.613 50.6923 169.305 51.7679 169.191 53.1686C169.056 54.822 169.356 56.466 170.04 57.821C170.791 59.3101 172.218 60.6283 173.826 61.3183C175.937 62.2245 178.603 62.4204 181.285 61.8663C182.322 61.6521 183.475 61.2302 184.148 60.8182L184.355 60.6917V59.13V57.5681L184.073 57.7244C183.505 58.0388 182.404 58.5128 181.889 58.6648C180.328 59.1249 178.315 59.2416 177.019 58.9472C174.907 58.4671 173.41 57.1125 173.009 55.3177C172.954 55.0714 172.909 54.8084 172.909 54.7333L172.908 54.5967H178.954H185L185 53.5911C185 52.3176 184.925 51.4071 184.758 50.6436C184.45 49.2384 183.869 48.1549 182.946 47.2662C182 46.3558 180.727 45.7703 179.171 45.5302C178.692 45.4563 177.114 45.399 176.697 45.4404ZM95.4656 53.7773V61.7975H97.4003H99.3351V53.7773V45.7572H97.4003H95.4656V53.7773ZM178.417 48.4943C179.143 48.6109 179.792 48.9362 180.299 49.4393C180.859 49.9936 181.236 50.8934 181.323 51.8846L181.36 52.3123H177.188C174.893 52.3123 173.016 52.2951 173.016 52.2741C173.016 52.2007 173.236 51.4909 173.34 51.2321C173.963 49.6718 175.252 48.6438 176.842 48.4395C177.219 48.3909 177.926 48.4155 178.417 48.4943ZM85.4318 48.6574C86.444 48.9357 87.2414 49.4351 87.8635 50.1804C89.3578 51.9708 89.4623 55.1756 88.0897 57.1185C87.548 57.8853 86.6997 58.5177 85.817 58.8129C83.9893 59.424 82.0279 59.0945 80.7023 57.9535C79.4902 56.9103 78.9065 55.4075 78.984 53.529C79.034 52.3173 79.3091 51.4022 79.8722 50.5738C80.5836 49.5275 81.631 48.8356 82.8881 48.5817C83.576 48.4428 84.7815 48.4786 85.4318 48.6574ZM129.598 48.7104C130.736 48.8945 131.734 49.3721 132.475 50.0868C133.422 51.0009 133.891 52.1826 133.891 53.6532C133.89 56.758 131.991 58.7381 128.695 59.0702C127.717 59.1688 126.136 59.0645 125.327 58.8482L125.104 58.7887V54.0737V49.3587L125.561 49.178C126.771 48.6994 128.379 48.5131 129.598 48.7104ZM149.047 57.0483V59.3012L148.576 59.36C147.808 59.4559 146.5 59.4836 145.882 59.417C144.421 59.2597 143.513 58.8028 143.113 58.0233C142.958 57.7227 142.947 57.663 142.948 57.1542C142.949 56.6537 142.962 56.583 143.106 56.31C143.484 55.5888 144.438 55.0732 145.715 54.9C145.936 54.87 146.178 54.8371 146.252 54.8271C146.326 54.8171 146.985 54.8058 147.716 54.8021L149.047 54.7954V57.0483Z", fill: "#0251FD" }), _jsx("rect", { x: "43", y: "425.375", width: "327", height: "44.2559", rx: "5", fill: "#1652F0" }), _jsx("text", { fill: "white", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "15", fontWeight: "600", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "182.828", y: "453.299", children: "Sign In" }) }), _jsx("line", { x1: "19", y1: "82.8459", x2: "394", y2: "82.8459", stroke: "#C1C1D2" }), _jsx("rect", { x: "43", y: "225.119", width: "327", height: "48.1043", rx: "5", fill: "url(#paint1_linear_1740_2402)", fillOpacity: "0.7" }), _jsx("rect", { x: "43.5", y: "225.619", width: "326", height: "47.1043", rx: "4.5", stroke: "url(#paint2_linear_1740_2402)", strokeOpacity: "0.7" }), _jsx("rect", { x: "56", y: "242.49", width: "163", height: "12.0261", rx: "5", fill: "url(#paint3_linear_1740_2402)", fillOpacity: "0.9" }), _jsx("rect", { x: "43", y: "159", width: "182", height: "12", rx: "2", fill: "url(#paint4_linear_1740_2402)", fillOpacity: "0.7" }), _jsx("rect", { x: "44", y: "206", width: "82", height: "9", rx: "2", fill: "url(#paint5_linear_1740_2402)", fillOpacity: "0.9" }), _jsx("rect", { x: "43", y: "320.119", width: "327", height: "48.1043", rx: "5", fill: "url(#paint6_linear_1740_2402)", fillOpacity: "0.7" }), _jsx("rect", { x: "43.5", y: "320.619", width: "326", height: "47.1043", rx: "4.5", stroke: "url(#paint7_linear_1740_2402)", strokeOpacity: "0.7" }), _jsx("rect", { x: "56", y: "337", width: "119", height: "13", rx: "5", fill: "url(#paint8_linear_1740_2402)", fillOpacity: "0.9" }), _jsx("rect", { x: "44", y: "301", width: "104", height: "9", rx: "2", fill: "url(#paint9_linear_1740_2402)", fillOpacity: "0.9" }), _jsx("rect", { x: "43", y: "396", width: "82", height: "12", rx: "2", fill: "url(#paint10_linear_1740_2402)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "128", width: "303", height: "18", rx: "4", fill: "url(#paint11_linear_1740_2402)", fillOpacity: "0.9" }), _jsx("rect", { x: "19", y: "16", width: "375", height: "812", rx: "35", fill: "#1E2639", fillOpacity: "0.15" }), _jsx("path", { opacity: "0.5", d: "M410 181H411.5C412.328 181 413 181.672 413 182.5V275.5C413 276.328 412.328 277 411.5 277H410V181Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 239H1.5C0.671573 239 0 239.672 0 240.5V295.5C0 296.328 0.671573 297 1.5 297H3V239Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 162H1.5C0.671573 162 0 162.672 0 163.5V218.5C0 219.328 0.671573 220 1.5 220H3V162Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 101H1.5C0.671573 101 0 101.672 0 102.5V128.5C0 129.328 0.671573 130 1.5 130H3V101Z", fill: "black" })] }), _jsxs("defs", { children: [_jsxs("linearGradient", { id: "paint0_linear_1740_2402", x1: "52.6826", y1: "-2.48735e-06", x2: "383.01", y2: "197.618", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#3E3E3E" }), _jsx("stop", { offset: "1" })] }), _jsxs("linearGradient", { id: "paint1_linear_1740_2402", x1: "43", y1: "249.17", x2: "370", y2: "249.17", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#91919D", stopOpacity: "0.99" }), _jsx("stop", { offset: "0.52191", stopColor: "#91919D", stopOpacity: "0.95" }), _jsx("stop", { offset: "1", stopColor: "#FDFDFD" })] }), _jsxs("linearGradient", { id: "paint2_linear_1740_2402", x1: "43", y1: "249.17", x2: "370", y2: "249.17", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint3_linear_1740_2402", x1: "56", y1: "248.503", x2: "221", y2: "248.5", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint4_linear_1740_2402", x1: "43", y1: "165", x2: "225", y2: "165", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint5_linear_1740_2402", x1: "44", y1: "210.5", x2: "126", y2: "210.5", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint6_linear_1740_2402", x1: "43", y1: "344.17", x2: "370", y2: "344.17", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#91919D", stopOpacity: "0.99" }), _jsx("stop", { offset: "0.52191", stopColor: "#91919D", stopOpacity: "0.95" }), _jsx("stop", { offset: "1", stopColor: "#FDFDFD" })] }), _jsxs("linearGradient", { id: "paint7_linear_1740_2402", x1: "43", y1: "344.17", x2: "370", y2: "344.17", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint8_linear_1740_2402", x1: "56", y1: "343.5", x2: "176.46", y2: "343.499", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint9_linear_1740_2402", x1: "44", y1: "305.5", x2: "148", y2: "305.5", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint10_linear_1740_2402", x1: "43", y1: "402", x2: "125", y2: "402", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#1652F0" }), _jsx("stop", { offset: "1", stopColor: "#A1BAFD", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint11_linear_1740_2402", x1: "43", y1: "137", x2: "347.237", y2: "137", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsx("clipPath", { id: "clip0_1740_2402", children: _jsx("rect", { width: "413", height: "484", fill: "white" }) })] })] });
20
- };
21
- export const SecondScreenImage = () => {
22
- return _jsxs("svg", { viewBox: "0 0 413 484", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsxs("g", { clipPath: "url(#clip0_1741_2568)", children: [_jsx("rect", { x: "3", width: "407", height: "844", rx: "50", fill: "url(#paint0_linear_1741_2568)" }), _jsx("rect", { x: "19", y: "16", width: "375", height: "812", rx: "36", fill: "#2261EB" }), _jsx("rect", { x: "19", y: "16", width: "375", height: "812", rx: "36", fill: "white" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M121.208 49.155V61.1442L121.752 61.3004C123.103 61.6882 124.281 61.9223 125.642 62.0732C126.556 62.1746 128.524 62.1897 129.296 62.1013C132.904 61.6879 135.452 60.1934 136.809 57.696C137.993 55.5174 138.128 52.3687 137.137 50.0928C136.054 47.6072 133.92 46.0703 130.828 45.5486C129.939 45.3986 128.267 45.3981 127.388 45.5476C126.662 45.6713 125.947 45.8571 125.44 46.0536L125.078 46.1945V41.6802V37.1659H123.143H121.208V49.155ZM96.5673 38.8585C95.4843 39.2095 94.7839 40.2459 94.977 41.2116C95.1683 42.1672 95.9862 42.9164 97.0205 43.0832C98.0097 43.2427 99.0739 42.697 99.5427 41.79C99.7276 41.4321 99.7381 41.3853 99.7366 40.9153C99.7354 40.5202 99.7108 40.3628 99.6161 40.1455C99.3761 39.595 98.8526 39.1117 98.2602 38.894C97.8241 38.7337 97.0054 38.7165 96.5673 38.8585ZM68.9765 45.4663C67.4557 45.6132 65.9535 46.1041 64.7251 46.8557C64.0211 47.2864 62.9787 48.2527 62.5068 48.912C61.4676 50.3638 61.0035 51.87 61 53.8021C60.9982 54.8342 61.0539 55.2878 61.2929 56.1851C62.1497 59.4026 64.8106 61.5773 68.4871 62.065C70.244 62.298 71.8535 62.1785 73.4582 61.6961C73.9805 61.5391 74.9456 61.1594 75.0373 61.0749C75.0587 61.0552 73.4614 58.7369 73.3568 58.636C73.3116 58.5923 73.1848 58.6124 72.8369 58.7182C72.0542 58.9564 71.3976 59.0325 70.3766 59.0036C69.3893 58.9755 68.821 58.8705 68.0488 58.5735C66.5413 57.9936 65.3878 56.67 65.0428 55.1245C64.7645 53.8776 64.8937 52.5164 65.3946 51.4184C65.8757 50.3637 66.9258 49.4289 68.1275 48.9853C68.9051 48.6983 69.4226 48.6175 70.4755 48.6186C71.4664 48.6196 72.0819 48.7029 72.8101 48.9344C72.9856 48.9902 73.1457 49.0189 73.1657 48.998C73.214 48.948 74.7749 46.5124 74.7749 46.4871C74.7749 46.4422 73.6903 46.0005 73.2302 45.8581C71.9769 45.4701 70.421 45.3268 68.9765 45.4663ZM82.8957 45.4663C78.9398 45.8484 75.987 48.3445 75.2376 51.9399C74.7339 54.3564 75.2288 56.8498 76.5869 58.7395C77.0487 59.3821 78.0511 60.3173 78.7395 60.7479C80.7532 62.0073 83.3731 62.4588 85.9751 61.9947C86.7891 61.8496 87.4551 61.6357 88.291 61.2509C89.9213 60.5005 91.1613 59.3534 91.9679 57.8495C92.3481 57.1405 92.5672 56.5481 92.7641 55.6967C92.9005 55.1073 92.9094 54.9903 92.9094 53.8021C92.9094 52.614 92.9005 52.497 92.7641 51.9076C92.2325 49.6093 91.0096 47.9012 89.0554 46.7276C87.3646 45.7123 85.116 45.2519 82.8957 45.4663ZM109.304 45.4624C107.385 45.5873 105.459 45.9392 103.661 46.4935L102.748 46.7752L102.734 54.2863L102.72 61.7975H104.655H106.59V55.4672V49.1368L106.872 49.062C107.837 48.8061 108.707 48.7129 110.137 48.7124C111.29 48.712 111.437 48.7217 111.819 48.8242C112.443 48.9912 112.859 49.2057 113.226 49.5499C113.61 49.9094 113.805 50.2267 113.967 50.7567C114.085 51.1451 114.085 51.1484 114.102 56.4714L114.118 61.7975H116.024H117.93L117.93 56.4714C117.93 51.0309 117.912 50.4693 117.717 49.6058C117.356 48.0091 116.433 46.8532 114.985 46.1835C113.614 45.5489 111.702 45.3063 109.304 45.4624ZM145.054 45.4615C143.83 45.5795 142.388 45.9521 141.321 46.4262L140.716 46.6948V48.2372C140.716 49.0855 140.73 49.7797 140.746 49.7797C140.762 49.7797 140.95 49.6918 141.162 49.5843C142.063 49.13 143.265 48.7567 144.29 48.613C144.913 48.5258 146.199 48.5114 146.628 48.5868C147.935 48.8162 148.764 49.4764 148.987 50.4649C149.02 50.6097 149.047 51.1042 149.047 51.5639V52.3996L147.206 52.4253C145.719 52.446 145.231 52.4704 144.667 52.5523C143.057 52.7858 142.046 53.106 141.124 53.6745C140.124 54.2909 139.546 55.0308 139.221 56.1114C139.151 56.3429 139.132 56.614 139.135 57.328C139.139 58.1819 139.149 58.2782 139.286 58.6919C139.849 60.3972 141.309 61.4264 143.829 61.8946C145.447 62.1953 147.775 62.213 150.139 61.9428C150.932 61.8522 152.143 61.6567 152.607 61.5444L152.808 61.4957L152.807 55.7991C152.807 52.2911 152.786 49.9689 152.753 49.7548C152.383 47.3505 150.844 45.96 148.079 45.5323C147.469 45.4379 145.723 45.3971 145.054 45.4615ZM160.735 45.4409C158.154 45.7007 156.451 46.7424 155.764 48.4804C155.454 49.267 155.365 50.2712 155.521 51.2285C155.669 52.1389 155.996 52.8015 156.583 53.3821C157.35 54.1415 158.367 54.6119 160.225 55.0675C162.068 55.5195 162.829 55.8113 163.305 56.2479C163.639 56.5544 163.776 56.8453 163.811 57.3245C163.861 58.0025 163.613 58.5034 163.06 58.8389C161.616 59.7148 158.469 59.2626 156.231 57.8578C155.941 57.6757 155.693 57.5267 155.68 57.5267C155.667 57.5267 155.657 58.275 155.657 59.1897V60.8527L155.882 60.9841C156.241 61.1935 156.976 61.4911 157.645 61.6978C159.172 62.1694 160.989 62.3017 162.697 62.0655C164.566 61.807 165.993 61.0667 166.807 59.9333C167.731 58.6475 167.84 56.4005 167.047 54.9953C166.751 54.4701 166.418 54.0993 165.91 53.7278C165.137 53.1634 163.989 52.7061 162.482 52.362C160.554 51.9219 159.621 51.4656 159.306 50.8083C159.121 50.4221 159.127 49.8086 159.321 49.4243C159.572 48.9238 160.048 48.5899 160.766 48.4086C161.516 48.2194 162.973 48.3329 164.078 48.6668C164.687 48.8507 165.723 49.329 166.204 49.648L166.62 49.9243V48.287V46.6496L166.446 46.5486C165.712 46.1246 164.494 45.7121 163.504 45.5524C162.902 45.4551 161.253 45.3887 160.735 45.4409ZM176.697 45.4404C173.831 45.7244 171.478 47.2208 170.223 49.5562C169.613 50.6923 169.305 51.7679 169.191 53.1686C169.056 54.822 169.356 56.466 170.04 57.821C170.791 59.3101 172.218 60.6283 173.826 61.3183C175.937 62.2245 178.603 62.4204 181.285 61.8663C182.322 61.6521 183.475 61.2302 184.148 60.8182L184.355 60.6917V59.13V57.5681L184.073 57.7244C183.505 58.0388 182.404 58.5128 181.889 58.6648C180.328 59.1249 178.315 59.2416 177.019 58.9472C174.907 58.4671 173.41 57.1125 173.009 55.3177C172.954 55.0714 172.909 54.8084 172.909 54.7333L172.908 54.5967H178.954H185L185 53.5911C185 52.3176 184.925 51.4071 184.758 50.6436C184.45 49.2384 183.869 48.1549 182.946 47.2662C182 46.3558 180.727 45.7703 179.171 45.5302C178.692 45.4563 177.114 45.399 176.697 45.4404ZM95.4656 53.7773V61.7975H97.4003H99.3351V53.7773V45.7572H97.4003H95.4656V53.7773ZM178.417 48.4943C179.143 48.6109 179.792 48.9362 180.299 49.4393C180.859 49.9936 181.236 50.8934 181.323 51.8846L181.36 52.3123H177.188C174.893 52.3123 173.016 52.2951 173.016 52.2741C173.016 52.2007 173.236 51.4909 173.34 51.2321C173.963 49.6718 175.252 48.6438 176.842 48.4395C177.219 48.3909 177.926 48.4155 178.417 48.4943ZM85.4318 48.6574C86.444 48.9357 87.2414 49.4351 87.8635 50.1804C89.3578 51.9708 89.4623 55.1756 88.0897 57.1185C87.548 57.8853 86.6997 58.5177 85.817 58.8129C83.9893 59.424 82.0279 59.0945 80.7023 57.9535C79.4902 56.9103 78.9065 55.4075 78.984 53.529C79.034 52.3173 79.3091 51.4022 79.8722 50.5738C80.5836 49.5275 81.631 48.8356 82.8881 48.5817C83.576 48.4428 84.7815 48.4786 85.4318 48.6574ZM129.598 48.7104C130.736 48.8945 131.734 49.3721 132.475 50.0868C133.422 51.0009 133.891 52.1826 133.891 53.6532C133.89 56.758 131.991 58.7381 128.695 59.0702C127.717 59.1688 126.136 59.0645 125.327 58.8482L125.104 58.7887V54.0737V49.3587L125.561 49.178C126.771 48.6994 128.379 48.5131 129.598 48.7104ZM149.047 57.0483V59.3012L148.576 59.36C147.808 59.4559 146.5 59.4836 145.882 59.417C144.421 59.2597 143.513 58.8028 143.113 58.0233C142.958 57.7227 142.947 57.663 142.948 57.1542C142.949 56.6537 142.962 56.583 143.106 56.31C143.484 55.5888 144.438 55.0732 145.715 54.9C145.936 54.87 146.178 54.8371 146.252 54.8271C146.326 54.8171 146.985 54.8058 147.716 54.8021L149.047 54.7954V57.0483Z", fill: "#0251FD" }), _jsx("line", { x1: "19", y1: "82.8459", x2: "394", y2: "82.8459", stroke: "#C1C1D2" }), _jsx("rect", { x: "43", y: "166", width: "110", height: "7", rx: "2", fill: "url(#paint1_linear_1741_2568)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "128", width: "303", height: "18", rx: "4", fill: "url(#paint2_linear_1741_2568)", fillOpacity: "0.9" }), _jsx("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "16", fontWeight: "bold", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "43.2234", y: "208.318", children: "Debit money from your account" }) }), _jsx("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "15", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "43", y: "235.455", children: "This app will be able to send 1 USD per month " }) }), _jsx("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "15", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "43", y: "259.273", children: "on your behalf. " }) }), _jsx("text", { fill: "#395FC9", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "20", letterSpacing: "-0.3px", textDecoration: "underline", children: _jsx("tspan", { x: "147.492", y: "259.273", children: "Change this amount" }) }), _jsx("rect", { x: "43", y: "323", width: "317", height: "8", rx: "2", fill: "url(#paint3_linear_1741_2568)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "340", width: "296", height: "8", rx: "2", fill: "url(#paint4_linear_1741_2568)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "357", width: "166", height: "8", rx: "2", fill: "url(#paint5_linear_1741_2568)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "301", width: "221", height: "11", rx: "4", fill: "url(#paint6_linear_1741_2568)", fillOpacity: "0.9" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M55 16C35.1178 16 19 32.1177 19 52V792C19 811.882 35.1178 828 55 828H358C377.882 828 394 811.882 394 792V52C394 32.1177 377.882 16 358 16H55ZM147 238C145.343 238 144 239.343 144 241V266C144 267.657 145.343 269 147 269H334C335.657 269 337 267.657 337 266V241C337 239.343 335.657 238 334 238H147Z", fill: "#1E2639", fillOpacity: "0.3" }), _jsx("g", { filter: "url(#filter0_d_1741_2568)", children: _jsx("rect", { x: "144.15", y: "238.15", width: "192.7", height: "30.7", rx: "2.85", stroke: "url(#paint7_linear_1741_2568)", strokeOpacity: "0.5", strokeWidth: "0.3", shapeRendering: "crispEdges" }) }), _jsx("path", { opacity: "0.5", d: "M410 181H411.5C412.328 181 413 181.672 413 182.5V275.5C413 276.328 412.328 277 411.5 277H410V181Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 239H1.5C0.671573 239 0 239.672 0 240.5V295.5C0 296.328 0.671573 297 1.5 297H3V239Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 162H1.5C0.671573 162 0 162.672 0 163.5V218.5C0 219.328 0.671573 220 1.5 220H3V162Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 101H1.5C0.671573 101 0 101.672 0 102.5V128.5C0 129.328 0.671573 130 1.5 130H3V101Z", fill: "black" })] }), _jsxs("defs", { children: [_jsxs("filter", { id: "filter0_d_1741_2568", x: "137", y: "231", width: "209", height: "47", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [_jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feMorphology", { radius: "1", operator: "dilate", in: "SourceAlpha", result: "effect1_dropShadow_1741_2568" }), _jsx("feOffset", { dx: "1", dy: "1" }), _jsx("feGaussianBlur", { stdDeviation: "3.5" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0.4 0" }), _jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1741_2568" }), _jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_1741_2568", result: "shape" })] }), _jsxs("linearGradient", { id: "paint0_linear_1741_2568", x1: "52.6826", y1: "-2.48735e-06", x2: "383.01", y2: "197.618", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#3E3E3E" }), _jsx("stop", { offset: "1" })] }), _jsxs("linearGradient", { id: "paint1_linear_1741_2568", x1: "43", y1: "169.5", x2: "153", y2: "169.5", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint2_linear_1741_2568", x1: "43", y1: "137", x2: "347.237", y2: "137", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint3_linear_1741_2568", x1: "43", y1: "327", x2: "360", y2: "327", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint4_linear_1741_2568", x1: "43", y1: "344", x2: "339", y2: "344", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint5_linear_1741_2568", x1: "43", y1: "361", x2: "209", y2: "361", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint6_linear_1741_2568", x1: "43", y1: "306.5", x2: "264.902", y2: "306.5", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint7_linear_1741_2568", x1: "144", y1: "253.275", x2: "337", y2: "253.275", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#464244" }), _jsx("stop", { offset: "1", stopColor: "#B1B1B1", stopOpacity: "0" })] }), _jsx("clipPath", { id: "clip0_1741_2568", children: _jsx("rect", { width: "413", height: "484", fill: "white" }) })] })] });
23
- };
24
- export const ThirdScreenImage = ({ minimalAuthorizeAmount }) => {
25
- return _jsxs("svg", { viewBox: "0 0 413 484", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsxs("g", { clipPath: "url(#clip0_1740_1883)", children: [_jsx("rect", { x: "3", width: "407", height: "844", rx: "50", fill: "url(#paint0_linear_1740_1883)" }), _jsx("rect", { x: "19", y: "16", width: "375", height: "812", rx: "36", fill: "#2261EB" }), _jsx("rect", { x: "19", y: "16", width: "375", height: "812", rx: "36", fill: "white" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M121.208 49.155V61.1442L121.752 61.3004C123.103 61.6882 124.281 61.9223 125.642 62.0732C126.556 62.1746 128.524 62.1897 129.296 62.1013C132.904 61.6879 135.452 60.1934 136.809 57.696C137.993 55.5174 138.128 52.3687 137.137 50.0928C136.054 47.6072 133.92 46.0703 130.828 45.5486C129.939 45.3986 128.267 45.3981 127.388 45.5476C126.662 45.6713 125.947 45.8571 125.44 46.0536L125.078 46.1945V41.6802V37.1659H123.143H121.208V49.155ZM96.5673 38.8585C95.4843 39.2095 94.7839 40.2459 94.977 41.2116C95.1683 42.1672 95.9862 42.9164 97.0205 43.0832C98.0097 43.2427 99.0739 42.697 99.5427 41.79C99.7276 41.4321 99.7381 41.3853 99.7366 40.9153C99.7354 40.5202 99.7108 40.3628 99.6161 40.1455C99.3761 39.595 98.8526 39.1117 98.2602 38.894C97.8241 38.7337 97.0054 38.7165 96.5673 38.8585ZM68.9765 45.4663C67.4557 45.6132 65.9535 46.1041 64.7251 46.8557C64.0211 47.2864 62.9787 48.2527 62.5068 48.912C61.4676 50.3638 61.0035 51.87 61 53.8021C60.9982 54.8342 61.0539 55.2878 61.2929 56.1851C62.1497 59.4026 64.8106 61.5773 68.4871 62.065C70.244 62.298 71.8535 62.1785 73.4582 61.6961C73.9805 61.5391 74.9456 61.1594 75.0373 61.0749C75.0587 61.0552 73.4614 58.7369 73.3568 58.636C73.3116 58.5923 73.1848 58.6124 72.8369 58.7182C72.0542 58.9564 71.3976 59.0325 70.3766 59.0036C69.3893 58.9755 68.821 58.8705 68.0488 58.5735C66.5413 57.9936 65.3878 56.67 65.0428 55.1245C64.7645 53.8776 64.8937 52.5164 65.3946 51.4184C65.8757 50.3637 66.9258 49.4289 68.1275 48.9853C68.9051 48.6983 69.4226 48.6175 70.4755 48.6186C71.4664 48.6196 72.0819 48.7029 72.8101 48.9344C72.9856 48.9902 73.1457 49.0189 73.1657 48.998C73.214 48.948 74.7749 46.5124 74.7749 46.4871C74.7749 46.4422 73.6903 46.0005 73.2302 45.8581C71.9769 45.4701 70.421 45.3268 68.9765 45.4663ZM82.8957 45.4663C78.9398 45.8484 75.987 48.3445 75.2376 51.9399C74.7339 54.3564 75.2288 56.8498 76.5869 58.7395C77.0487 59.3821 78.0511 60.3173 78.7395 60.7479C80.7532 62.0073 83.3731 62.4588 85.9751 61.9947C86.7891 61.8496 87.4551 61.6357 88.291 61.2509C89.9213 60.5005 91.1613 59.3534 91.9679 57.8495C92.3481 57.1405 92.5672 56.5481 92.7641 55.6967C92.9005 55.1073 92.9094 54.9903 92.9094 53.8021C92.9094 52.614 92.9005 52.497 92.7641 51.9076C92.2325 49.6093 91.0096 47.9012 89.0554 46.7276C87.3646 45.7123 85.116 45.2519 82.8957 45.4663ZM109.304 45.4624C107.385 45.5873 105.459 45.9392 103.661 46.4935L102.748 46.7752L102.734 54.2863L102.72 61.7975H104.655H106.59V55.4672V49.1368L106.872 49.062C107.837 48.8061 108.707 48.7129 110.137 48.7124C111.29 48.712 111.437 48.7217 111.819 48.8242C112.443 48.9912 112.859 49.2057 113.226 49.5499C113.61 49.9094 113.805 50.2267 113.967 50.7567C114.085 51.1451 114.085 51.1484 114.102 56.4714L114.118 61.7975H116.024H117.93L117.93 56.4714C117.93 51.0309 117.912 50.4693 117.717 49.6058C117.356 48.0091 116.433 46.8532 114.985 46.1835C113.614 45.5489 111.702 45.3063 109.304 45.4624ZM145.054 45.4615C143.83 45.5795 142.388 45.9521 141.321 46.4262L140.716 46.6948V48.2372C140.716 49.0855 140.73 49.7797 140.746 49.7797C140.762 49.7797 140.95 49.6918 141.162 49.5843C142.063 49.13 143.265 48.7567 144.29 48.613C144.913 48.5258 146.199 48.5114 146.628 48.5868C147.935 48.8162 148.764 49.4764 148.987 50.4649C149.02 50.6097 149.047 51.1042 149.047 51.5639V52.3996L147.206 52.4253C145.719 52.446 145.231 52.4704 144.667 52.5523C143.057 52.7858 142.046 53.106 141.124 53.6745C140.124 54.2909 139.546 55.0308 139.221 56.1114C139.151 56.3429 139.132 56.614 139.135 57.328C139.139 58.1819 139.149 58.2782 139.286 58.6919C139.849 60.3972 141.309 61.4264 143.829 61.8946C145.447 62.1953 147.775 62.213 150.139 61.9428C150.932 61.8522 152.143 61.6567 152.607 61.5444L152.808 61.4957L152.807 55.7991C152.807 52.2911 152.786 49.9689 152.753 49.7548C152.383 47.3505 150.844 45.96 148.079 45.5323C147.469 45.4379 145.723 45.3971 145.054 45.4615ZM160.735 45.4409C158.154 45.7007 156.451 46.7424 155.764 48.4804C155.454 49.267 155.365 50.2712 155.521 51.2285C155.669 52.1389 155.996 52.8015 156.583 53.3821C157.35 54.1415 158.367 54.6119 160.225 55.0675C162.068 55.5195 162.829 55.8113 163.305 56.2479C163.639 56.5544 163.776 56.8453 163.811 57.3245C163.861 58.0025 163.613 58.5034 163.06 58.8389C161.616 59.7148 158.469 59.2626 156.231 57.8578C155.941 57.6757 155.693 57.5267 155.68 57.5267C155.667 57.5267 155.657 58.275 155.657 59.1897V60.8527L155.882 60.9841C156.241 61.1935 156.976 61.4911 157.645 61.6978C159.172 62.1694 160.989 62.3017 162.697 62.0655C164.566 61.807 165.993 61.0667 166.807 59.9333C167.731 58.6475 167.84 56.4005 167.047 54.9953C166.751 54.4701 166.418 54.0993 165.91 53.7278C165.137 53.1634 163.989 52.7061 162.482 52.362C160.554 51.9219 159.621 51.4656 159.306 50.8083C159.121 50.4221 159.127 49.8086 159.321 49.4243C159.572 48.9238 160.048 48.5899 160.766 48.4086C161.516 48.2194 162.973 48.3329 164.078 48.6668C164.687 48.8507 165.723 49.329 166.204 49.648L166.62 49.9243V48.287V46.6496L166.446 46.5486C165.712 46.1246 164.494 45.7121 163.504 45.5524C162.902 45.4551 161.253 45.3887 160.735 45.4409ZM176.697 45.4404C173.831 45.7244 171.478 47.2208 170.223 49.5562C169.613 50.6923 169.305 51.7679 169.191 53.1686C169.056 54.822 169.356 56.466 170.04 57.821C170.791 59.3101 172.218 60.6283 173.826 61.3183C175.937 62.2245 178.603 62.4204 181.285 61.8663C182.322 61.6521 183.475 61.2302 184.148 60.8182L184.355 60.6917V59.13V57.5681L184.073 57.7244C183.505 58.0388 182.404 58.5128 181.889 58.6648C180.328 59.1249 178.315 59.2416 177.019 58.9472C174.907 58.4671 173.41 57.1125 173.009 55.3177C172.954 55.0714 172.909 54.8084 172.909 54.7333L172.908 54.5967H178.954H185L185 53.5911C185 52.3176 184.925 51.4071 184.758 50.6436C184.45 49.2384 183.869 48.1549 182.946 47.2662C182 46.3558 180.727 45.7703 179.171 45.5302C178.692 45.4563 177.114 45.399 176.697 45.4404ZM95.4656 53.7773V61.7975H97.4003H99.3351V53.7773V45.7572H97.4003H95.4656V53.7773ZM178.417 48.4943C179.143 48.6109 179.792 48.9362 180.299 49.4393C180.859 49.9936 181.236 50.8934 181.323 51.8846L181.36 52.3123H177.188C174.893 52.3123 173.016 52.2951 173.016 52.2741C173.016 52.2007 173.236 51.4909 173.34 51.2321C173.963 49.6718 175.252 48.6438 176.842 48.4395C177.219 48.3909 177.926 48.4155 178.417 48.4943ZM85.4318 48.6574C86.444 48.9357 87.2414 49.4351 87.8635 50.1804C89.3578 51.9708 89.4623 55.1756 88.0897 57.1185C87.548 57.8853 86.6997 58.5177 85.817 58.8129C83.9893 59.424 82.0279 59.0945 80.7023 57.9535C79.4902 56.9103 78.9065 55.4075 78.984 53.529C79.034 52.3173 79.3091 51.4022 79.8722 50.5738C80.5836 49.5275 81.631 48.8356 82.8881 48.5817C83.576 48.4428 84.7815 48.4786 85.4318 48.6574ZM129.598 48.7104C130.736 48.8945 131.734 49.3721 132.475 50.0868C133.422 51.0009 133.891 52.1826 133.891 53.6532C133.89 56.758 131.991 58.7381 128.695 59.0702C127.717 59.1688 126.136 59.0645 125.327 58.8482L125.104 58.7887V54.0737V49.3587L125.561 49.178C126.771 48.6994 128.379 48.5131 129.598 48.7104ZM149.047 57.0483V59.3012L148.576 59.36C147.808 59.4559 146.5 59.4836 145.882 59.417C144.421 59.2597 143.513 58.8028 143.113 58.0233C142.958 57.7227 142.947 57.663 142.948 57.1542C142.949 56.6537 142.962 56.583 143.106 56.31C143.484 55.5888 144.438 55.0732 145.715 54.9C145.936 54.87 146.178 54.8371 146.252 54.8271C146.326 54.8171 146.985 54.8058 147.716 54.8021L149.047 54.7954V57.0483Z", fill: "#0251FD" }), _jsx("rect", { x: "251", y: "244", width: "119", height: "47", rx: "4", fill: "#1652F0" }), _jsx("text", { fill: "white", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "15", fontWeight: "600", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "293.291", y: "272.261", children: "Save" }) }), _jsx("line", { x1: "19", y1: "82.8459", x2: "394", y2: "82.8459", stroke: "#C1C1D2" }), _jsx("rect", { x: "43", y: "163", width: "317", height: "12", rx: "2", fill: "url(#paint1_linear_1740_1883)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "132", width: "245", height: "18", rx: "4", fill: "url(#paint2_linear_1740_1883)", fillOpacity: "0.9" }), _jsx("rect", { x: "43", y: "185", width: "95", height: "12", rx: "2", fill: "url(#paint3_linear_1740_1883)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "403", width: "317", height: "12", rx: "2", fill: "url(#paint4_linear_1740_1883)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "425", width: "296", height: "12", rx: "2", fill: "url(#paint5_linear_1740_1883)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "447", width: "244", height: "12", rx: "2", fill: "url(#paint6_linear_1740_1883)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "372", width: "241", height: "18", rx: "3", fill: "url(#paint7_linear_1740_1883)", fillOpacity: "0.9" }), _jsx("rect", { x: "43.75", y: "249.75", width: "108.5", height: "38.5", stroke: "#7B8FB8", strokeWidth: "1.5" }), _jsx("text", { fill: "#4E4E4E", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "24", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "49", y: "278.227", children: minimalAuthorizeAmount }) }), _jsxs("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "16", letterSpacing: "-0.3px", children: [_jsx("tspan", { x: "165.991", y: "267.318", children: "/ per\n" }), _jsx("tspan", { x: "159.467", y: "286.318", children: "month" })] }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19 51C19 31.6701 34.67 16 54 16H359C378.33 16 394 31.67 394 51V792C394 811.33 378.33 827 359 827H54C34.67 827 19 811.33 19 792V51ZM32 245C32 241.134 35.134 238 39 238H217C220.866 238 224 241.134 224 245V300C224 303.866 220.866 307 217 307H39C35.134 307 32 303.866 32 300V245ZM311 305C329.778 305 345 289.778 345 271C345 252.222 329.778 237 311 237C292.222 237 277 252.222 277 271C277 289.778 292.222 305 311 305Z", fill: "#1E2639", fillOpacity: "0.3" }), _jsx("g", { filter: "url(#filter0_d_1740_1883)", children: _jsx("rect", { x: "32.15", y: "238.15", width: "191.7", height: "68.7", rx: "6.85", stroke: "url(#paint8_linear_1740_1883)", strokeOpacity: "0.5", strokeWidth: "0.3", shapeRendering: "crispEdges" }) }), _jsx("g", { filter: "url(#filter1_d_1740_1883)", children: _jsx("circle", { cx: "311", cy: "271", r: "33.85", stroke: "#464244", strokeOpacity: "0.5", strokeWidth: "0.3", shapeRendering: "crispEdges" }) }), _jsx("path", { opacity: "0.5", d: "M410 181H411.5C412.328 181 413 181.672 413 182.5V275.5C413 276.328 412.328 277 411.5 277H410V181Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 239H1.5C0.671573 239 0 239.672 0 240.5V295.5C0 296.328 0.671573 297 1.5 297H3V239Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 162H1.5C0.671573 162 0 162.672 0 163.5V218.5C0 219.328 0.671573 220 1.5 220H3V162Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 101H1.5C0.671573 101 0 101.672 0 102.5V128.5C0 129.328 0.671573 130 1.5 130H3V101Z", fill: "black" }), _jsx("rect", { x: "3", width: "407", height: "844", rx: "50", fill: "url(#paint9_linear_1740_1883)" }), _jsx("rect", { x: "19", y: "16", width: "375", height: "812", rx: "36", fill: "#2261EB" }), _jsx("rect", { x: "19", y: "16", width: "375", height: "812", rx: "36", fill: "white" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M121.208 49.155V61.1442L121.752 61.3004C123.103 61.6882 124.281 61.9223 125.642 62.0732C126.556 62.1746 128.524 62.1897 129.296 62.1013C132.904 61.6879 135.452 60.1934 136.809 57.696C137.993 55.5174 138.128 52.3687 137.137 50.0928C136.054 47.6072 133.92 46.0703 130.828 45.5486C129.939 45.3986 128.267 45.3981 127.388 45.5476C126.662 45.6713 125.947 45.8571 125.44 46.0536L125.078 46.1945V41.6802V37.1659H123.143H121.208V49.155ZM96.5673 38.8585C95.4843 39.2095 94.7839 40.2459 94.977 41.2116C95.1683 42.1672 95.9862 42.9164 97.0205 43.0832C98.0097 43.2427 99.0739 42.697 99.5427 41.79C99.7276 41.4321 99.7381 41.3853 99.7366 40.9153C99.7354 40.5202 99.7108 40.3628 99.6161 40.1455C99.3761 39.595 98.8526 39.1117 98.2602 38.894C97.8241 38.7337 97.0054 38.7165 96.5673 38.8585ZM68.9765 45.4663C67.4557 45.6132 65.9535 46.1041 64.7251 46.8557C64.0211 47.2864 62.9787 48.2527 62.5068 48.912C61.4676 50.3638 61.0035 51.87 61 53.8021C60.9982 54.8342 61.0539 55.2878 61.2929 56.1851C62.1497 59.4026 64.8106 61.5773 68.4871 62.065C70.244 62.298 71.8535 62.1785 73.4582 61.6961C73.9805 61.5391 74.9456 61.1594 75.0373 61.0749C75.0587 61.0552 73.4614 58.7369 73.3568 58.636C73.3116 58.5923 73.1848 58.6124 72.8369 58.7182C72.0542 58.9564 71.3976 59.0325 70.3766 59.0036C69.3893 58.9755 68.821 58.8705 68.0488 58.5735C66.5413 57.9936 65.3878 56.67 65.0428 55.1245C64.7645 53.8776 64.8937 52.5164 65.3946 51.4184C65.8757 50.3637 66.9258 49.4289 68.1275 48.9853C68.9051 48.6983 69.4226 48.6175 70.4755 48.6186C71.4664 48.6196 72.0819 48.7029 72.8101 48.9344C72.9856 48.9902 73.1457 49.0189 73.1657 48.998C73.214 48.948 74.7749 46.5124 74.7749 46.4871C74.7749 46.4422 73.6903 46.0005 73.2302 45.8581C71.9769 45.4701 70.421 45.3268 68.9765 45.4663ZM82.8957 45.4663C78.9398 45.8484 75.987 48.3445 75.2376 51.9399C74.7339 54.3564 75.2288 56.8498 76.5869 58.7395C77.0487 59.3821 78.0511 60.3173 78.7395 60.7479C80.7532 62.0073 83.3731 62.4588 85.9751 61.9947C86.7891 61.8496 87.4551 61.6357 88.291 61.2509C89.9213 60.5005 91.1613 59.3534 91.9679 57.8495C92.3481 57.1405 92.5672 56.5481 92.7641 55.6967C92.9005 55.1073 92.9094 54.9903 92.9094 53.8021C92.9094 52.614 92.9005 52.497 92.7641 51.9076C92.2325 49.6093 91.0096 47.9012 89.0554 46.7276C87.3646 45.7123 85.116 45.2519 82.8957 45.4663ZM109.304 45.4624C107.385 45.5873 105.459 45.9392 103.661 46.4935L102.748 46.7752L102.734 54.2863L102.72 61.7975H104.655H106.59V55.4672V49.1368L106.872 49.062C107.837 48.8061 108.707 48.7129 110.137 48.7124C111.29 48.712 111.437 48.7217 111.819 48.8242C112.443 48.9912 112.859 49.2057 113.226 49.5499C113.61 49.9094 113.805 50.2267 113.967 50.7567C114.085 51.1451 114.085 51.1484 114.102 56.4714L114.118 61.7975H116.024H117.93L117.93 56.4714C117.93 51.0309 117.912 50.4693 117.717 49.6058C117.356 48.0091 116.433 46.8532 114.985 46.1835C113.614 45.5489 111.702 45.3063 109.304 45.4624ZM145.054 45.4615C143.83 45.5795 142.388 45.9521 141.321 46.4262L140.716 46.6948V48.2372C140.716 49.0855 140.73 49.7797 140.746 49.7797C140.762 49.7797 140.95 49.6918 141.162 49.5843C142.063 49.13 143.265 48.7567 144.29 48.613C144.913 48.5258 146.199 48.5114 146.628 48.5868C147.935 48.8162 148.764 49.4764 148.987 50.4649C149.02 50.6097 149.047 51.1042 149.047 51.5639V52.3996L147.206 52.4253C145.719 52.446 145.231 52.4704 144.667 52.5523C143.057 52.7858 142.046 53.106 141.124 53.6745C140.124 54.2909 139.546 55.0308 139.221 56.1114C139.151 56.3429 139.132 56.614 139.135 57.328C139.139 58.1819 139.149 58.2782 139.286 58.6919C139.849 60.3972 141.309 61.4264 143.829 61.8946C145.447 62.1953 147.775 62.213 150.139 61.9428C150.932 61.8522 152.143 61.6567 152.607 61.5444L152.808 61.4957L152.807 55.7991C152.807 52.2911 152.786 49.9689 152.753 49.7548C152.383 47.3505 150.844 45.96 148.079 45.5323C147.469 45.4379 145.723 45.3971 145.054 45.4615ZM160.735 45.4409C158.154 45.7007 156.451 46.7424 155.764 48.4804C155.454 49.267 155.365 50.2712 155.521 51.2285C155.669 52.1389 155.996 52.8015 156.583 53.3821C157.35 54.1415 158.367 54.6119 160.225 55.0675C162.068 55.5195 162.829 55.8113 163.305 56.2479C163.639 56.5544 163.776 56.8453 163.811 57.3245C163.861 58.0025 163.613 58.5034 163.06 58.8389C161.616 59.7148 158.469 59.2626 156.231 57.8578C155.941 57.6757 155.693 57.5267 155.68 57.5267C155.667 57.5267 155.657 58.275 155.657 59.1897V60.8527L155.882 60.9841C156.241 61.1935 156.976 61.4911 157.645 61.6978C159.172 62.1694 160.989 62.3017 162.697 62.0655C164.566 61.807 165.993 61.0667 166.807 59.9333C167.731 58.6475 167.84 56.4005 167.047 54.9953C166.751 54.4701 166.418 54.0993 165.91 53.7278C165.137 53.1634 163.989 52.7061 162.482 52.362C160.554 51.9219 159.621 51.4656 159.306 50.8083C159.121 50.4221 159.127 49.8086 159.321 49.4243C159.572 48.9238 160.048 48.5899 160.766 48.4086C161.516 48.2194 162.973 48.3329 164.078 48.6668C164.687 48.8507 165.723 49.329 166.204 49.648L166.62 49.9243V48.287V46.6496L166.446 46.5486C165.712 46.1246 164.494 45.7121 163.504 45.5524C162.902 45.4551 161.253 45.3887 160.735 45.4409ZM176.697 45.4404C173.831 45.7244 171.478 47.2208 170.223 49.5562C169.613 50.6923 169.305 51.7679 169.191 53.1686C169.056 54.822 169.356 56.466 170.04 57.821C170.791 59.3101 172.218 60.6283 173.826 61.3183C175.937 62.2245 178.603 62.4204 181.285 61.8663C182.322 61.6521 183.475 61.2302 184.148 60.8182L184.355 60.6917V59.13V57.5681L184.073 57.7244C183.505 58.0388 182.404 58.5128 181.889 58.6648C180.328 59.1249 178.315 59.2416 177.019 58.9472C174.907 58.4671 173.41 57.1125 173.009 55.3177C172.954 55.0714 172.909 54.8084 172.909 54.7333L172.908 54.5967H178.954H185L185 53.5911C185 52.3176 184.925 51.4071 184.758 50.6436C184.45 49.2384 183.869 48.1549 182.946 47.2662C182 46.3558 180.727 45.7703 179.171 45.5302C178.692 45.4563 177.114 45.399 176.697 45.4404ZM95.4656 53.7773V61.7975H97.4003H99.3351V53.7773V45.7572H97.4003H95.4656V53.7773ZM178.417 48.4943C179.143 48.6109 179.792 48.9362 180.299 49.4393C180.859 49.9936 181.236 50.8934 181.323 51.8846L181.36 52.3123H177.188C174.893 52.3123 173.016 52.2951 173.016 52.2741C173.016 52.2007 173.236 51.4909 173.34 51.2321C173.963 49.6718 175.252 48.6438 176.842 48.4395C177.219 48.3909 177.926 48.4155 178.417 48.4943ZM85.4318 48.6574C86.444 48.9357 87.2414 49.4351 87.8635 50.1804C89.3578 51.9708 89.4623 55.1756 88.0897 57.1185C87.548 57.8853 86.6997 58.5177 85.817 58.8129C83.9893 59.424 82.0279 59.0945 80.7023 57.9535C79.4902 56.9103 78.9065 55.4075 78.984 53.529C79.034 52.3173 79.3091 51.4022 79.8722 50.5738C80.5836 49.5275 81.631 48.8356 82.8881 48.5817C83.576 48.4428 84.7815 48.4786 85.4318 48.6574ZM129.598 48.7104C130.736 48.8945 131.734 49.3721 132.475 50.0868C133.422 51.0009 133.891 52.1826 133.891 53.6532C133.89 56.758 131.991 58.7381 128.695 59.0702C127.717 59.1688 126.136 59.0645 125.327 58.8482L125.104 58.7887V54.0737V49.3587L125.561 49.178C126.771 48.6994 128.379 48.5131 129.598 48.7104ZM149.047 57.0483V59.3012L148.576 59.36C147.808 59.4559 146.5 59.4836 145.882 59.417C144.421 59.2597 143.513 58.8028 143.113 58.0233C142.958 57.7227 142.947 57.663 142.948 57.1542C142.949 56.6537 142.962 56.583 143.106 56.31C143.484 55.5888 144.438 55.0732 145.715 54.9C145.936 54.87 146.178 54.8371 146.252 54.8271C146.326 54.8171 146.985 54.8058 147.716 54.8021L149.047 54.7954V57.0483Z", fill: "#0251FD" }), _jsx("rect", { x: "251", y: "244", width: "119", height: "47", rx: "4", fill: "#1652F0" }), _jsx("text", { fill: "white", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "15", fontWeight: "600", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "293.291", y: "272.261", children: "Save" }) }), _jsx("line", { x1: "19", y1: "82.8459", x2: "394", y2: "82.8459", stroke: "#C1C1D2" }), _jsx("rect", { x: "43", y: "163", width: "317", height: "12", rx: "2", fill: "url(#paint10_linear_1740_1883)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "132", width: "245", height: "18", rx: "4", fill: "url(#paint11_linear_1740_1883)", fillOpacity: "0.9" }), _jsx("rect", { x: "43", y: "185", width: "95", height: "12", rx: "2", fill: "url(#paint12_linear_1740_1883)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "403", width: "317", height: "12", rx: "2", fill: "url(#paint13_linear_1740_1883)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "425", width: "296", height: "12", rx: "2", fill: "url(#paint14_linear_1740_1883)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "447", width: "244", height: "12", rx: "2", fill: "url(#paint15_linear_1740_1883)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "372", width: "241", height: "18", rx: "3", fill: "url(#paint16_linear_1740_1883)", fillOpacity: "0.9" }), _jsx("rect", { x: "43.75", y: "249.75", width: "108.5", height: "38.5", stroke: "#7B8FB8", strokeWidth: "1.5" }), _jsx("text", { fill: "#4E4E4E", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "24", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "49", y: "278.227", children: minimalAuthorizeAmount }) }), _jsxs("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "16", letterSpacing: "-0.3px", children: [_jsx("tspan", { x: "165.991", y: "267.318", children: "/ per\n" }), _jsx("tspan", { x: "159.467", y: "286.318", children: "month" })] }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19 51C19 31.6701 34.67 16 54 16H359C378.33 16 394 31.67 394 51V792C394 811.33 378.33 827 359 827H54C34.67 827 19 811.33 19 792V51ZM32 245C32 241.134 35.134 238 39 238H217C220.866 238 224 241.134 224 245V300C224 303.866 220.866 307 217 307H39C35.134 307 32 303.866 32 300V245ZM311 305C329.778 305 345 289.778 345 271C345 252.222 329.778 237 311 237C292.222 237 277 252.222 277 271C277 289.778 292.222 305 311 305Z", fill: "#1E2639", fillOpacity: "0.3" }), _jsx("g", { filter: "url(#filter2_d_1740_1883)", children: _jsx("rect", { x: "32.15", y: "238.15", width: "191.7", height: "68.7", rx: "6.85", stroke: "url(#paint17_linear_1740_1883)", strokeOpacity: "0.5", strokeWidth: "0.3", shapeRendering: "crispEdges" }) }), _jsx("g", { filter: "url(#filter3_d_1740_1883)", children: _jsx("circle", { cx: "311", cy: "271", r: "33.85", stroke: "#464244", strokeOpacity: "0.5", strokeWidth: "0.3", shapeRendering: "crispEdges" }) }), _jsx("path", { opacity: "0.5", d: "M410 181H411.5C412.328 181 413 181.672 413 182.5V275.5C413 276.328 412.328 277 411.5 277H410V181Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 239H1.5C0.671573 239 0 239.672 0 240.5V295.5C0 296.328 0.671573 297 1.5 297H3V239Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 162H1.5C0.671573 162 0 162.672 0 163.5V218.5C0 219.328 0.671573 220 1.5 220H3V162Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 101H1.5C0.671573 101 0 101.672 0 102.5V128.5C0 129.328 0.671573 130 1.5 130H3V101Z", fill: "black" })] }), _jsxs("defs", { children: [_jsxs("filter", { id: "filter0_d_1740_1883", x: "25", y: "231", width: "208", height: "85", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [_jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feMorphology", { radius: "1", operator: "dilate", in: "SourceAlpha", result: "effect1_dropShadow_1740_1883" }), _jsx("feOffset", { dx: "1", dy: "1" }), _jsx("feGaussianBlur", { stdDeviation: "3.5" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0.4 0" }), _jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1740_1883" }), _jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_1740_1883", result: "shape" })] }), _jsxs("filter", { id: "filter1_d_1740_1883", x: "270", y: "230", width: "84", height: "84", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [_jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feMorphology", { radius: "1", operator: "dilate", in: "SourceAlpha", result: "effect1_dropShadow_1740_1883" }), _jsx("feOffset", { dx: "1", dy: "1" }), _jsx("feGaussianBlur", { stdDeviation: "3.5" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0.4 0" }), _jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1740_1883" }), _jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_1740_1883", result: "shape" })] }), _jsxs("filter", { id: "filter2_d_1740_1883", x: "25", y: "231", width: "208", height: "85", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [_jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feMorphology", { radius: "1", operator: "dilate", in: "SourceAlpha", result: "effect1_dropShadow_1740_1883" }), _jsx("feOffset", { dx: "1", dy: "1" }), _jsx("feGaussianBlur", { stdDeviation: "3.5" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0.4 0" }), _jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1740_1883" }), _jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_1740_1883", result: "shape" })] }), _jsxs("filter", { id: "filter3_d_1740_1883", x: "270", y: "230", width: "84", height: "84", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [_jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feMorphology", { radius: "1", operator: "dilate", in: "SourceAlpha", result: "effect1_dropShadow_1740_1883" }), _jsx("feOffset", { dx: "1", dy: "1" }), _jsx("feGaussianBlur", { stdDeviation: "3.5" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0.4 0" }), _jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1740_1883" }), _jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_1740_1883", result: "shape" })] }), _jsxs("linearGradient", { id: "paint0_linear_1740_1883", x1: "52.6826", y1: "-2.48735e-06", x2: "383.01", y2: "197.618", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#3E3E3E" }), _jsx("stop", { offset: "1" })] }), _jsxs("linearGradient", { id: "paint1_linear_1740_1883", x1: "43", y1: "169", x2: "360", y2: "169", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint2_linear_1740_1883", x1: "43", y1: "141", x2: "289", y2: "141", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint3_linear_1740_1883", x1: "43", y1: "191", x2: "138", y2: "191", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint4_linear_1740_1883", x1: "43", y1: "409", x2: "360", y2: "409", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint5_linear_1740_1883", x1: "43", y1: "431", x2: "339", y2: "431", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint6_linear_1740_1883", x1: "43", y1: "453", x2: "287", y2: "453", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint7_linear_1740_1883", x1: "43", y1: "381", x2: "285", y2: "381", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint8_linear_1740_1883", x1: "32", y1: "272", x2: "224", y2: "272", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#464244" }), _jsx("stop", { offset: "1", stopColor: "#B1B1B1", stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "paint9_linear_1740_1883", x1: "52.6826", y1: "-2.48735e-06", x2: "383.01", y2: "197.618", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#3E3E3E" }), _jsx("stop", { offset: "1" })] }), _jsxs("linearGradient", { id: "paint10_linear_1740_1883", x1: "43", y1: "169", x2: "360", y2: "169", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint11_linear_1740_1883", x1: "43", y1: "141", x2: "289", y2: "141", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint12_linear_1740_1883", x1: "43", y1: "191", x2: "138", y2: "191", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint13_linear_1740_1883", x1: "43", y1: "409", x2: "360", y2: "409", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint14_linear_1740_1883", x1: "43", y1: "431", x2: "339", y2: "431", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint15_linear_1740_1883", x1: "43", y1: "453", x2: "287", y2: "453", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint16_linear_1740_1883", x1: "43", y1: "381", x2: "285", y2: "381", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint17_linear_1740_1883", x1: "32", y1: "272", x2: "224", y2: "272", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#464244" }), _jsx("stop", { offset: "1", stopColor: "#B1B1B1", stopOpacity: "0" })] }), _jsx("clipPath", { id: "clip0_1740_1883", children: _jsx("rect", { width: "413", height: "484", fill: "white" }) })] })] });
26
- };
27
- export const FourthScreenImage = ({ minimalAuthorizeAmount }) => {
28
- return _jsxs("svg", { viewBox: "0 0 413 484", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsxs("g", { clipPath: "url(#clip0_1743_2570)", children: [_jsx("rect", { x: "3", width: "407", height: "844", rx: "50", fill: "url(#paint0_linear_1743_2570)" }), _jsx("rect", { x: "19", y: "16", width: "375", height: "812", rx: "36", fill: "#2261EB" }), _jsx("rect", { x: "19", y: "16", width: "375", height: "712", rx: "36", fill: "white" }), _jsx("rect", { x: "43", y: "376", width: "327", height: "56", rx: "4", fill: "#1652F0" }), _jsx("text", { fill: "white", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "15", fontWeight: "600", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "172.141", y: "407.455", children: "Authorize" }) }), _jsx("rect", { x: "43", y: "66", width: "110", height: "7", rx: "2", fill: "url(#paint1_linear_1743_2570)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "302", width: "110", height: "7", rx: "2", fill: "url(#paint2_linear_1743_2570)", fillOpacity: "0.9" }), _jsx("rect", { x: "43", y: "28", width: "303", height: "18", rx: "4", fill: "url(#paint3_linear_1743_2570)", fillOpacity: "0.9" }), _jsx("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "16", fontWeight: "bold", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "43.2234", y: "108.318", children: "Debit money from your account" }) }), _jsx("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "15", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "43", y: "137.682", children: "This app will be able to send " }) }), _jsx("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "17", letterSpacing: "-0.3px", children: _jsxs("tspan", { x: "240.089", y: "137.682", children: [minimalAuthorizeAmount, " USD "] }) }), _jsx("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "15", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "43", y: "161.455", children: "per month on your behalf. " }) }), _jsx("text", { fill: "#395FC9", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "15", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "221.631", y: "161.455", children: "Change this amount" }) }), _jsx("rect", { x: "43", y: "223", width: "317", height: "8", rx: "2", fill: "url(#paint4_linear_1743_2570)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "240", width: "296", height: "8", rx: "2", fill: "url(#paint5_linear_1743_2570)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "257", width: "166", height: "8", rx: "2", fill: "url(#paint6_linear_1743_2570)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "322", width: "228", height: "8", rx: "2", fill: "url(#paint7_linear_1743_2570)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "339", width: "74", height: "8", rx: "2", fill: "url(#paint8_linear_1743_2570)", fillOpacity: "0.7" }), _jsx("rect", { x: "43", y: "201", width: "221", height: "11", rx: "4", fill: "url(#paint9_linear_1743_2570)", fillOpacity: "0.9" }), _jsx("g", { filter: "url(#filter0_d_1743_2570)", children: _jsx("rect", { x: "236.15", y: "116.15", width: "128.7", height: "29.7", rx: "2.85", stroke: "url(#paint10_linear_1743_2570)", strokeOpacity: "0.5", strokeWidth: "0.3", shapeRendering: "crispEdges" }) }), _jsx("g", { filter: "url(#filter1_d_1743_2570)", children: _jsx("circle", { cx: "191.5", cy: "415.5", r: "34.35", stroke: "#464244", strokeOpacity: "0.5", strokeWidth: "0.3", shapeRendering: "crispEdges" }) }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19 52C19 32.1177 35.1178 16 55 16H358C377.882 16 394 32.1177 394 52V692C394 711.882 377.882 728 358 728H55C35.1178 728 19 711.882 19 692V52ZM236 119C236 117.343 237.343 116 239 116H362C363.657 116 365 117.343 365 119V143C365 144.657 363.657 146 362 146H239C237.343 146 236 144.657 236 143V119ZM191.5 450C210.554 450 226 434.554 226 415.5C226 396.446 210.554 381 191.5 381C172.446 381 157 396.446 157 415.5C157 434.554 172.446 450 191.5 450Z", fill: "#1E2639", fillOpacity: "0.3" }), _jsx("path", { opacity: "0.5", d: "M410 181H411.5C412.328 181 413 181.672 413 182.5V275.5C413 276.328 412.328 277 411.5 277H410V181Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 239H1.5C0.671573 239 0 239.672 0 240.5V295.5C0 296.328 0.671573 297 1.5 297H3V239Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 162H1.5C0.671573 162 0 162.672 0 163.5V218.5C0 219.328 0.671573 220 1.5 220H3V162Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 101H1.5C0.671573 101 0 101.672 0 102.5V128.5C0 129.328 0.671573 130 1.5 130H3V101Z", fill: "black" })] }), _jsxs("defs", { children: [_jsxs("filter", { id: "filter0_d_1743_2570", x: "229", y: "109", width: "145", height: "46", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [_jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feMorphology", { radius: "1", operator: "dilate", in: "SourceAlpha", result: "effect1_dropShadow_1743_2570" }), _jsx("feOffset", { dx: "1", dy: "1" }), _jsx("feGaussianBlur", { stdDeviation: "3.5" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0.4 0" }), _jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1743_2570" }), _jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_1743_2570", result: "shape" })] }), _jsxs("filter", { id: "filter1_d_1743_2570", x: "150", y: "374", width: "85", height: "85", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [_jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feMorphology", { radius: "1", operator: "dilate", in: "SourceAlpha", result: "effect1_dropShadow_1743_2570" }), _jsx("feOffset", { dx: "1", dy: "1" }), _jsx("feGaussianBlur", { stdDeviation: "3.5" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0.4 0" }), _jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1743_2570" }), _jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_1743_2570", result: "shape" })] }), _jsxs("linearGradient", { id: "paint0_linear_1743_2570", x1: "52.6826", y1: "-2.48735e-06", x2: "383.01", y2: "197.618", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#3E3E3E" }), _jsx("stop", { offset: "1" })] }), _jsxs("linearGradient", { id: "paint1_linear_1743_2570", x1: "43", y1: "69.4999", x2: "153", y2: "69.4999", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint2_linear_1743_2570", x1: "43", y1: "305.5", x2: "153", y2: "305.5", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint3_linear_1743_2570", x1: "43", y1: "37", x2: "347.237", y2: "37", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint4_linear_1743_2570", x1: "43", y1: "227", x2: "360", y2: "227", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint5_linear_1743_2570", x1: "43", y1: "244", x2: "339", y2: "244", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint6_linear_1743_2570", x1: "43", y1: "261", x2: "209", y2: "261", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint7_linear_1743_2570", x1: "43", y1: "326", x2: "271", y2: "326", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint8_linear_1743_2570", x1: "43", y1: "343", x2: "117", y2: "343", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint9_linear_1743_2570", x1: "43", y1: "206.5", x2: "264.902", y2: "206.5", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint10_linear_1743_2570", x1: "236", y1: "130.783", x2: "365", y2: "130.783", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#464244" }), _jsx("stop", { offset: "1", stopColor: "#B1B1B1", stopOpacity: "0" })] }), _jsx("clipPath", { id: "clip0_1743_2570", children: _jsx("rect", { width: "413", height: "484", fill: "white" }) })] })] });
29
- };
30
- export const LastScreenImage = ({ minimalAuthorizeAmount }) => {
31
- return _jsxs("svg", { viewBox: "0 0 413 484", fill: "none", className: "h-full", xmlns: "http://www.w3.org/2000/svg", children: [_jsxs("g", { clipPath: "url(#clip0_1743_2866)", children: [_jsx("rect", { x: "3", width: "407", height: "844", rx: "50", fill: "url(#paint0_linear_1743_2866)" }), _jsxs("g", { clipPath: "url(#clip1_1743_2866)", children: [_jsx("rect", { x: "19", y: "16", width: "375", height: "812", rx: "36", fill: "#2261EB" }), _jsx("rect", { x: "19", y: "16", width: "375", height: "651", rx: "36", fill: "white" }), _jsx("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "16", fontWeight: "bold", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "43.2234", y: "47.3182", children: "Debit money from your account" }) }), _jsx("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "15", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "43", y: "74.4545", children: "This app will be able to send 1 USD per month " }) }), _jsx("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "15", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "43", y: "98.2727", children: "on your behalf. " }) }), _jsx("text", { fill: "#395FC9", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "20", letterSpacing: "-0.3px", textDecoration: "underline", children: _jsx("tspan", { x: "147.492", y: "98.2727", children: "Change this amount" }) }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M55 16C35.1178 16 19 32.1177 19 52V631C19 650.882 35.1178 667 55 667H358C377.882 667 394 650.882 394 631V52C394 32.1178 377.882 16 358 16H55ZM147 77C145.343 77 144 78.3431 144 80V105C144 106.657 145.343 108 147 108H334C335.657 108 337 106.657 337 105V80C337 78.3431 335.657 77 334 77H147Z", fill: "#1E2639", fillOpacity: "0.3" }), _jsx("g", { filter: "url(#filter0_d_1743_2866)", children: _jsx("rect", { x: "144.15", y: "77.15", width: "192.7", height: "30.7", rx: "2.85", stroke: "url(#paint1_linear_1743_2866)", strokeOpacity: "0.5", strokeWidth: "0.3", shapeRendering: "crispEdges" }) })] }), _jsx("path", { opacity: "0.5", d: "M410 181H411.5C412.328 181 413 181.672 413 182.5V275.5C413 276.328 412.328 277 411.5 277H410V181Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 239H1.5C0.671573 239 0 239.672 0 240.5V295.5C0 296.328 0.671573 297 1.5 297H3V239Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 162H1.5C0.671573 162 0 162.672 0 163.5V218.5C0 219.328 0.671573 220 1.5 220H3V162Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M3 101H1.5C0.671573 101 0 101.672 0 102.5V128.5C0 129.328 0.671573 130 1.5 130H3V101Z", fill: "black" }), _jsxs("g", { filter: "url(#filter1_d_1743_2866)", children: [_jsx("rect", { x: "37", y: "115", width: "407", height: "844", rx: "50", fill: "url(#paint2_linear_1743_2866)" }), _jsx("rect", { x: "53", y: "131", width: "375", height: "812", rx: "36", fill: "#2261EB" }), _jsx("rect", { x: "53", y: "131", width: "375", height: "812", rx: "36", fill: "white" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M155.208 164.155V176.144L155.752 176.3C157.103 176.688 158.281 176.922 159.642 177.073C160.556 177.175 162.524 177.19 163.296 177.101C166.904 176.688 169.452 175.193 170.809 172.696C171.993 170.517 172.128 167.369 171.137 165.093C170.054 162.607 167.92 161.07 164.828 160.549C163.939 160.399 162.267 160.398 161.388 160.548C160.662 160.671 159.947 160.857 159.44 161.054L159.078 161.194V156.68V152.166H157.143H155.208V164.155ZM130.567 153.858C129.484 154.209 128.784 155.246 128.977 156.212C129.168 157.167 129.986 157.916 131.021 158.083C132.01 158.243 133.074 157.697 133.543 156.79C133.728 156.432 133.738 156.385 133.737 155.915C133.735 155.52 133.711 155.363 133.616 155.145C133.376 154.595 132.853 154.112 132.26 153.894C131.824 153.734 131.005 153.716 130.567 153.858ZM102.977 160.466C101.456 160.613 99.9535 161.104 98.7251 161.856C98.0211 162.286 96.9787 163.253 96.5068 163.912C95.4676 165.364 95.0035 166.87 95 168.802C94.9982 169.834 95.0539 170.288 95.2929 171.185C96.1497 174.403 98.8106 176.577 102.487 177.065C104.244 177.298 105.854 177.178 107.458 176.696C107.981 176.539 108.946 176.159 109.037 176.075C109.059 176.055 107.461 173.737 107.357 173.636C107.312 173.592 107.185 173.612 106.837 173.718C106.054 173.956 105.398 174.033 104.377 174.004C103.389 173.975 102.821 173.871 102.049 173.573C100.541 172.994 99.3878 171.67 99.0428 170.124C98.7645 168.878 98.8937 167.516 99.3946 166.418C99.8757 165.364 100.926 164.429 102.128 163.985C102.905 163.698 103.423 163.617 104.476 163.619C105.466 163.62 106.082 163.703 106.81 163.934C106.986 163.99 107.146 164.019 107.166 163.998C107.214 163.948 108.775 161.512 108.775 161.487C108.775 161.442 107.69 161.001 107.23 160.858C105.977 160.47 104.421 160.327 102.977 160.466ZM116.896 160.466C112.94 160.848 109.987 163.344 109.238 166.94C108.734 169.356 109.229 171.85 110.587 173.74C111.049 174.382 112.051 175.317 112.74 175.748C114.753 177.007 117.373 177.459 119.975 176.995C120.789 176.85 121.455 176.636 122.291 176.251C123.921 175.5 125.161 174.353 125.968 172.849C126.348 172.14 126.567 171.548 126.764 170.697C126.9 170.107 126.909 169.99 126.909 168.802C126.909 167.614 126.9 167.497 126.764 166.908C126.233 164.609 125.01 162.901 123.055 161.728C121.365 160.712 119.116 160.252 116.896 160.466ZM143.304 160.462C141.385 160.587 139.459 160.939 137.661 161.493L136.748 161.775L136.734 169.286L136.72 176.797H138.655H140.59V170.467V164.137L140.872 164.062C141.837 163.806 142.707 163.713 144.137 163.712C145.29 163.712 145.437 163.722 145.819 163.824C146.443 163.991 146.859 164.206 147.226 164.55C147.61 164.909 147.805 165.227 147.967 165.757C148.085 166.145 148.085 166.148 148.102 171.471L148.118 176.797H150.024H151.93L151.93 171.471C151.93 166.031 151.912 165.469 151.717 164.606C151.356 163.009 150.433 161.853 148.985 161.183C147.614 160.549 145.702 160.306 143.304 160.462ZM179.054 160.461C177.83 160.579 176.388 160.952 175.321 161.426L174.716 161.695V163.237C174.716 164.086 174.73 164.78 174.746 164.78C174.762 164.78 174.95 164.692 175.162 164.584C176.063 164.13 177.265 163.757 178.29 163.613C178.913 163.526 180.199 163.511 180.628 163.587C181.935 163.816 182.764 164.476 182.987 165.465C183.02 165.61 183.047 166.104 183.047 166.564V167.4L181.206 167.425C179.719 167.446 179.231 167.47 178.667 167.552C177.057 167.786 176.046 168.106 175.124 168.674C174.124 169.291 173.546 170.031 173.221 171.111C173.151 171.343 173.132 171.614 173.135 172.328C173.139 173.182 173.149 173.278 173.286 173.692C173.849 175.397 175.309 176.426 177.829 176.895C179.447 177.195 181.775 177.213 184.139 176.943C184.932 176.852 186.143 176.657 186.607 176.544L186.808 176.496L186.807 170.799C186.807 167.291 186.786 164.969 186.753 164.755C186.383 162.35 184.844 160.96 182.079 160.532C181.469 160.438 179.723 160.397 179.054 160.461ZM194.735 160.441C192.154 160.701 190.451 161.742 189.764 163.48C189.454 164.267 189.365 165.271 189.521 166.229C189.669 167.139 189.996 167.802 190.583 168.382C191.35 169.141 192.367 169.612 194.225 170.068C196.068 170.519 196.829 170.811 197.305 171.248C197.639 171.554 197.776 171.845 197.811 172.324C197.861 173.002 197.613 173.503 197.06 173.839C195.616 174.715 192.469 174.263 190.231 172.858C189.941 172.676 189.693 172.527 189.68 172.527C189.667 172.527 189.657 173.275 189.657 174.19V175.853L189.882 175.984C190.241 176.193 190.976 176.491 191.645 176.698C193.172 177.169 194.989 177.302 196.697 177.065C198.566 176.807 199.993 176.067 200.807 174.933C201.731 173.647 201.84 171.4 201.047 169.995C200.751 169.47 200.418 169.099 199.91 168.728C199.137 168.163 197.989 167.706 196.482 167.362C194.554 166.922 193.621 166.466 193.306 165.808C193.121 165.422 193.127 164.809 193.321 164.424C193.572 163.924 194.048 163.59 194.766 163.409C195.516 163.219 196.973 163.333 198.078 163.667C198.687 163.851 199.723 164.329 200.204 164.648L200.62 164.924V163.287V161.65L200.446 161.549C199.712 161.125 198.494 160.712 197.504 160.552C196.902 160.455 195.253 160.389 194.735 160.441ZM210.697 160.44C207.831 160.724 205.478 162.221 204.223 164.556C203.613 165.692 203.305 166.768 203.191 168.169C203.056 169.822 203.356 171.466 204.04 172.821C204.791 174.31 206.218 175.628 207.826 176.318C209.937 177.224 212.603 177.42 215.285 176.866C216.322 176.652 217.475 176.23 218.148 175.818L218.355 175.692V174.13V172.568L218.073 172.724C217.505 173.039 216.404 173.513 215.889 173.665C214.328 174.125 212.315 174.242 211.019 173.947C208.907 173.467 207.41 172.112 207.009 170.318C206.954 170.071 206.909 169.808 206.909 169.733L206.908 169.597H212.954H219L219 168.591C219 167.318 218.925 166.407 218.758 165.644C218.45 164.238 217.869 163.155 216.946 162.266C216 161.356 214.727 160.77 213.171 160.53C212.692 160.456 211.114 160.399 210.697 160.44ZM129.466 168.777V176.797H131.4H133.335V168.777V160.757H131.4H129.466V168.777ZM212.417 163.494C213.143 163.611 213.792 163.936 214.299 164.439C214.859 164.994 215.236 165.893 215.323 166.885L215.36 167.312H211.188C208.893 167.312 207.016 167.295 207.016 167.274C207.016 167.201 207.236 166.491 207.34 166.232C207.963 164.672 209.252 163.644 210.842 163.439C211.219 163.391 211.926 163.415 212.417 163.494ZM119.432 163.657C120.444 163.936 121.241 164.435 121.863 165.18C123.358 166.971 123.462 170.176 122.09 172.118C121.548 172.885 120.7 173.518 119.817 173.813C117.989 174.424 116.028 174.094 114.702 172.953C113.49 171.91 112.907 170.407 112.984 168.529C113.034 167.317 113.309 166.402 113.872 165.574C114.584 164.527 115.631 163.836 116.888 163.582C117.576 163.443 118.782 163.479 119.432 163.657ZM163.598 163.71C164.736 163.894 165.734 164.372 166.475 165.087C167.422 166.001 167.891 167.183 167.891 168.653C167.89 171.758 165.991 173.738 162.695 174.07C161.717 174.169 160.136 174.064 159.327 173.848L159.104 173.789V169.074V164.359L159.561 164.178C160.771 163.699 162.379 163.513 163.598 163.71ZM183.047 172.048V174.301L182.576 174.36C181.808 174.456 180.5 174.484 179.882 174.417C178.421 174.26 177.513 173.803 177.113 173.023C176.958 172.723 176.947 172.663 176.948 172.154C176.949 171.654 176.962 171.583 177.106 171.31C177.484 170.589 178.438 170.073 179.715 169.9C179.936 169.87 180.178 169.837 180.252 169.827C180.326 169.817 180.985 169.806 181.716 169.802L183.047 169.795V172.048Z", fill: "#0251FD" }), _jsx("rect", { x: "285", y: "359", width: "119", height: "47", rx: "4", fill: "#1652F0" }), _jsx("text", { fill: "white", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "15", fontWeight: "600", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "327.291", y: "387.261", children: "Save" }) }), _jsx("line", { x1: "53", y1: "197.846", x2: "428", y2: "197.846", stroke: "#C1C1D2" }), _jsx("rect", { x: "77", y: "278", width: "317", height: "12", rx: "2", fill: "url(#paint3_linear_1743_2866)", fillOpacity: "0.7" }), _jsx("rect", { x: "77", y: "247", width: "245", height: "18", rx: "4", fill: "url(#paint4_linear_1743_2866)", fillOpacity: "0.9" }), _jsx("rect", { x: "77", y: "300", width: "95", height: "12", rx: "2", fill: "url(#paint5_linear_1743_2866)", fillOpacity: "0.7" }), _jsx("rect", { x: "77.75", y: "364.75", width: "108.5", height: "38.5", stroke: "#7B8FB8", strokeWidth: "1.5" }), _jsx("text", { fill: "#4E4E4E", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "24", letterSpacing: "-0.3px", children: _jsx("tspan", { x: "83", y: "393.227", children: minimalAuthorizeAmount }) }), _jsxs("text", { fill: "black", style: { whiteSpace: "pre" }, fontFamily: "Inter", fontSize: "16", letterSpacing: "-0.3px", children: [_jsx("tspan", { x: "199.991", y: "382.318", children: "/ per\n" }), _jsx("tspan", { x: "193.467", y: "401.318", children: "month" })] }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M53 166C53 146.67 68.67 131 88 131H393C412.33 131 428 146.67 428 166V907C428 926.33 412.33 942 393 942H88C68.67 942 53 926.33 53 907V166ZM66 360C66 356.134 69.134 353 73 353H251C254.866 353 258 356.134 258 360V415C258 418.866 254.866 422 251 422H73C69.134 422 66 418.866 66 415V360ZM345 420C363.778 420 379 404.778 379 386C379 367.222 363.778 352 345 352C326.222 352 311 367.222 311 386C311 404.778 326.222 420 345 420Z", fill: "#1E2639", fillOpacity: "0.3" }), _jsx("g", { filter: "url(#filter2_d_1743_2866)", children: _jsx("rect", { x: "66.15", y: "353.15", width: "191.7", height: "68.7", rx: "6.85", stroke: "url(#paint6_linear_1743_2866)", strokeOpacity: "0.5", strokeWidth: "0.3", shapeRendering: "crispEdges" }) }), _jsx("g", { filter: "url(#filter3_d_1743_2866)", children: _jsx("circle", { cx: "345", cy: "386", r: "33.85", stroke: "#464244", strokeOpacity: "0.5", strokeWidth: "0.3", shapeRendering: "crispEdges" }) }), _jsx("path", { opacity: "0.5", d: "M444 296H445.5C446.328 296 447 296.672 447 297.5V390.5C447 391.328 446.328 392 445.5 392H444V296Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M37 354H35.5C34.6716 354 34 354.672 34 355.5V410.5C34 411.328 34.6716 412 35.5 412H37V354Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M37 277H35.5C34.6716 277 34 277.672 34 278.5V333.5C34 334.328 34.6716 335 35.5 335H37V277Z", fill: "black" }), _jsx("path", { opacity: "0.5", d: "M37 216H35.5C34.6716 216 34 216.672 34 217.5V243.5C34 244.328 34.6716 245 35.5 245H37V216Z", fill: "black" })] })] }), _jsxs("defs", { children: [_jsxs("filter", { id: "filter0_d_1743_2866", x: "137", y: "70", width: "209", height: "47", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [_jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feMorphology", { radius: "1", operator: "dilate", in: "SourceAlpha", result: "effect1_dropShadow_1743_2866" }), _jsx("feOffset", { dx: "1", dy: "1" }), _jsx("feGaussianBlur", { stdDeviation: "3.5" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0.4 0" }), _jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1743_2866" }), _jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_1743_2866", result: "shape" })] }), _jsxs("filter", { id: "filter1_d_1743_2866", x: "7", y: "88", width: "449", height: "880", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [_jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feOffset", { dx: "-9", dy: "-9" }), _jsx("feGaussianBlur", { stdDeviation: "9" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" }), _jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1743_2866" }), _jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_1743_2866", result: "shape" })] }), _jsxs("filter", { id: "filter2_d_1743_2866", x: "59", y: "346", width: "208", height: "85", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [_jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feMorphology", { radius: "1", operator: "dilate", in: "SourceAlpha", result: "effect1_dropShadow_1743_2866" }), _jsx("feOffset", { dx: "1", dy: "1" }), _jsx("feGaussianBlur", { stdDeviation: "3.5" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0.4 0" }), _jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1743_2866" }), _jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_1743_2866", result: "shape" })] }), _jsxs("filter", { id: "filter3_d_1743_2866", x: "304", y: "345", width: "84", height: "84", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [_jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feMorphology", { radius: "1", operator: "dilate", in: "SourceAlpha", result: "effect1_dropShadow_1743_2866" }), _jsx("feOffset", { dx: "1", dy: "1" }), _jsx("feGaussianBlur", { stdDeviation: "3.5" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0 0.175 0 0 0 0.4 0" }), _jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1743_2866" }), _jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_1743_2866", result: "shape" })] }), _jsxs("linearGradient", { id: "paint0_linear_1743_2866", x1: "52.6826", y1: "-2.48735e-06", x2: "383.01", y2: "197.618", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#3E3E3E" }), _jsx("stop", { offset: "1" })] }), _jsxs("linearGradient", { id: "paint1_linear_1743_2866", x1: "144", y1: "92.2754", x2: "337", y2: "92.2754", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#464244" }), _jsx("stop", { offset: "1", stopColor: "#B1B1B1", stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "paint2_linear_1743_2866", x1: "86.6826", y1: "115", x2: "417.01", y2: "312.618", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#3E3E3E" }), _jsx("stop", { offset: "1" })] }), _jsxs("linearGradient", { id: "paint3_linear_1743_2866", x1: "77", y1: "284", x2: "394", y2: "284", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint4_linear_1743_2866", x1: "77", y1: "256", x2: "323", y2: "256", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#141212" }), _jsx("stop", { offset: "0.9999", stopColor: "#8E8E9C" }), _jsx("stop", { offset: "1", stopColor: "#1F1414", stopOpacity: "0.94" })] }), _jsxs("linearGradient", { id: "paint5_linear_1743_2866", x1: "77", y1: "306", x2: "172", y2: "306", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#4D4D4D" }), _jsx("stop", { offset: "1", stopColor: "#91919D", stopOpacity: "0.95" })] }), _jsxs("linearGradient", { id: "paint6_linear_1743_2866", x1: "66", y1: "387", x2: "258", y2: "387", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#464244" }), _jsx("stop", { offset: "1", stopColor: "#B1B1B1", stopOpacity: "0" })] }), _jsx("clipPath", { id: "clip0_1743_2866", children: _jsx("rect", { width: "447", height: "484", fill: "white" }) }), _jsx("clipPath", { id: "clip1_1743_2866", children: _jsx("rect", { x: "19", y: "16", width: "375", height: "812", rx: "36", fill: "white" }) })] })] });
32
- };
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const Coinbase: FC;
3
- export default Coinbase;
@@ -1,75 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useCallback, useState } from 'react';
3
- import SubmitButton from '../../../../Buttons/submitButton';
4
- import Modal from '../../../../Modal/modal';
5
- import Authorize from './Authorize';
6
- import Coinbase2FA from './Coinbase2FA';
7
- import { ArrowLeftRight, Link } from 'lucide-react';
8
- import { useSwapDataState, useSwapDataUpdate } from '../../../../../context/swap';
9
- import LayerSwapApiClient, { BackendTransactionStatus } from '../../../../../lib/layerSwapApiClient';
10
- import { LSAPIKnownErrorCode } from '../../../../../Models/ApiError';
11
- import toast from 'react-hot-toast';
12
- import { TimerProvider, useTimerState } from '../../../../../context/timerContext';
13
- import { useSwapTransactionStore } from '../../../../../stores/swapTransactionStore';
14
- const TIMER_SECONDS = 120;
15
- const Coinbase = () => {
16
- return _jsx(TimerProvider, { children: _jsx(TransferElements, {}) });
17
- };
18
- const TransferElements = () => {
19
- const { swapResponse, codeRequested } = useSwapDataState();
20
- const { swap } = swapResponse || {};
21
- const { setCodeRequested, mutateSwap } = useSwapDataUpdate();
22
- const { start: startTimer } = useTimerState();
23
- const { setSwapTransaction } = useSwapTransactionStore();
24
- const [showCoinbaseConnectModal, setShowCoinbaseConnectModal] = useState(false);
25
- const [openCoinbase2FA, setOpenCoinbase2FA] = useState(false);
26
- const [loading, setLoading] = useState(false);
27
- const handleTransfer = useCallback(async () => {
28
- if (!swap || !swap.source_exchange)
29
- return;
30
- setLoading(true);
31
- if (codeRequested)
32
- setOpenCoinbase2FA(true);
33
- else {
34
- try {
35
- const layerswapApiClient = new LayerSwapApiClient();
36
- await layerswapApiClient.WithdrawFromExchange(swap.id, swap.source_exchange.name);
37
- }
38
- catch (e) {
39
- if (e?.response?.data?.error?.code === LSAPIKnownErrorCode.COINBASE_INVALID_2FA) {
40
- startTimer(TIMER_SECONDS);
41
- setCodeRequested(true);
42
- setOpenCoinbase2FA(true);
43
- }
44
- else if (e?.response?.data?.error?.code === LSAPIKnownErrorCode.INVALID_CREDENTIALS || e?.response?.data?.error?.code === LSAPIKnownErrorCode.COINBASE_AUTHORIZATION_LIMIT_EXCEEDED) {
45
- setCodeRequested(false);
46
- alert("You have not authorized enough to be able to complete the transfer. Please authorize again.");
47
- }
48
- else if (e?.response?.data?.error?.message) {
49
- toast(e?.response?.data?.error?.message);
50
- }
51
- else if (e?.message)
52
- toast(e.message);
53
- }
54
- }
55
- setLoading(false);
56
- }, [swap, codeRequested]);
57
- const openConnect = () => {
58
- setShowCoinbaseConnectModal(true);
59
- };
60
- const handleSuccess = useCallback(async (swapId) => {
61
- setOpenCoinbase2FA(false);
62
- setSwapTransaction(swapId, BackendTransactionStatus.Completed, "_");
63
- }, []);
64
- const handleAuthorized = async () => {
65
- setLoading(true);
66
- setShowCoinbaseConnectModal(false);
67
- await mutateSwap();
68
- setLoading(false);
69
- };
70
- return (_jsxs(_Fragment, { children: [_jsx(Modal, { height: 'fit', show: showCoinbaseConnectModal, setShow: setShowCoinbaseConnectModal, header: `Connect your Coinbase account`, modalId: 'authorize', children: _jsx(Authorize, { hideHeader: true, onDoNotConnect: () => setShowCoinbaseConnectModal(false), onAuthorized: handleAuthorized, stickyFooter: false }) }), _jsx(Modal, { height: '90%', show: openCoinbase2FA, setShow: setOpenCoinbase2FA, modalId: 'coinbase2FA', children: _jsx(Coinbase2FA, { onSuccess: handleSuccess, footerStickiness: false }) }), _jsx("div", { className: "w-full space-y-5 flex flex-col justify-between h-full text-secondary-text", children: _jsx("div", { className: 'space-y-4', children: _jsx("div", { className: 'border-secondary-500 rounded-md border bg-secondary-700 p-3', children: swap?.exchange_account_connected ?
71
- _jsx(SubmitButton, { isDisabled: loading, isSubmitting: loading, onClick: handleTransfer, icon: _jsx(ArrowLeftRight, { className: "h-5 w-5 ml-2", "aria-hidden": "true" }), children: "Transfer using Coinbase" })
72
- :
73
- _jsx(SubmitButton, { isDisabled: loading, isSubmitting: loading, onClick: openConnect, icon: _jsx(Link, { className: "h-5 w-5 ml-2", "aria-hidden": "true" }), children: "Connect Coinbase account" }) }) }) })] }));
74
- };
75
- export default Coinbase;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const ManualTransfer: FC;
3
- export default ManualTransfer;