@stytch/react 20.0.0-next.2 → 20.0.0-next.4

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 (190) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/StytchSSRProxy-Bz6LNYdq.js.map +1 -1
  3. package/dist/cjs/adminPortal/index.cjs +1 -1
  4. package/dist/cjs/b2b/index.cjs +28 -20
  5. package/dist/cjs/b2b/index.cjs.map +1 -1
  6. package/dist/cjs/compat.cjs +2 -0
  7. package/dist/cjs/compat.cjs.map +1 -1
  8. package/dist/cjs/{index-Ni_dyEsz.js → index-BIjXBvf_.js} +2 -2
  9. package/dist/cjs/index-BIjXBvf_.js.map +1 -0
  10. package/dist/cjs/index.cjs +521 -542
  11. package/dist/cjs/index.cjs.map +1 -1
  12. package/dist/cjs/{shadcn-B8TEzQMT.js → shadcn-aVU6Lm9q.js} +255 -235
  13. package/dist/cjs/shadcn-aVU6Lm9q.js.map +1 -0
  14. package/dist/cjs-dev/StytchSSRProxy-d553KgcY.js +438 -0
  15. package/dist/cjs-dev/StytchSSRProxy-d553KgcY.js.map +1 -0
  16. package/dist/cjs-dev/adminPortal/index.cjs +54 -53
  17. package/dist/cjs-dev/adminPortal/index.cjs.map +1 -1
  18. package/dist/cjs-dev/b2b/index.cjs +94 -75
  19. package/dist/cjs-dev/b2b/index.cjs.map +1 -1
  20. package/dist/cjs-dev/b2b/index.headless.cjs +89 -88
  21. package/dist/cjs-dev/b2b/index.headless.cjs.map +1 -1
  22. package/dist/cjs-dev/compat.cjs +15 -14
  23. package/dist/cjs-dev/compat.cjs.map +1 -1
  24. package/dist/cjs-dev/{StytchSSRProxy-CxXsyme4.js → dev-DaCGDI6V.js} +60 -426
  25. package/dist/cjs-dev/dev-DaCGDI6V.js.map +1 -0
  26. package/dist/cjs-dev/{idpHelpers-BVMUYvt1.js → idpHelpers-DOYYSxsX.js} +45 -102
  27. package/dist/cjs-dev/idpHelpers-DOYYSxsX.js.map +1 -0
  28. package/dist/cjs-dev/{index-DdK3Jt4u.js → index-rquGmIlv.js} +4 -4
  29. package/dist/cjs-dev/index-rquGmIlv.js.map +1 -0
  30. package/dist/cjs-dev/index.cjs +667 -667
  31. package/dist/cjs-dev/index.cjs.map +1 -1
  32. package/dist/cjs-dev/index.headless.cjs +70 -69
  33. package/dist/cjs-dev/index.headless.cjs.map +1 -1
  34. package/dist/cjs-dev/{passwordManagerDisableAutofillProps-D70WyvIu.js → passwordManagerDisableAutofillProps-CgiK2M_U.js} +2 -2
  35. package/dist/cjs-dev/{passwordManagerDisableAutofillProps-D70WyvIu.js.map → passwordManagerDisableAutofillProps-CgiK2M_U.js.map} +1 -1
  36. package/dist/cjs-dev/{shadcn-C9ClUju1.js → shadcn-DMk6ZSoD.js} +265 -244
  37. package/dist/cjs-dev/shadcn-DMk6ZSoD.js.map +1 -0
  38. package/dist/esm/_virtual/index3.mjs +5 -3
  39. package/dist/esm/_virtual/index3.mjs.map +1 -1
  40. package/dist/esm/_virtual/index4.mjs +3 -5
  41. package/dist/esm/_virtual/index4.mjs.map +1 -1
  42. package/dist/esm/b2b/StytchB2BContext.mjs +5 -5
  43. package/dist/esm/b2b/StytchB2BContext.mjs.map +1 -1
  44. package/dist/esm/packages/core/src/public/b2b/ui.mjs.map +1 -1
  45. package/dist/esm/packages/web/src/adminPortal/utils/theme.mjs +1 -1
  46. package/dist/esm/packages/web/src/ui/b2b/App.mjs +2 -2
  47. package/dist/esm/packages/web/src/ui/b2b/App.mjs.map +1 -1
  48. package/dist/esm/packages/web/src/ui/b2b/components/Icons.mjs +3 -1
  49. package/dist/esm/packages/web/src/ui/b2b/components/Icons.mjs.map +1 -1
  50. package/dist/esm/packages/web/src/ui/b2b/components/OAuthB2BButton.mjs +6 -3
  51. package/dist/esm/packages/web/src/ui/b2b/components/OAuthB2BButton.mjs.map +1 -1
  52. package/dist/esm/packages/web/src/ui/b2b/components/SSOButton.mjs +5 -3
  53. package/dist/esm/packages/web/src/ui/b2b/components/SSOButton.mjs.map +1 -1
  54. package/dist/esm/packages/web/src/ui/b2b/screens/SsoAndOAuthButtons.mjs +6 -3
  55. package/dist/esm/packages/web/src/ui/b2b/screens/SsoAndOAuthButtons.mjs.map +1 -1
  56. package/dist/esm/packages/web/src/ui/b2b/types/authMethodKeys.mjs +2 -2
  57. package/dist/esm/packages/web/src/ui/b2b/types/authMethodKeys.mjs.map +1 -1
  58. package/dist/esm/packages/web/src/ui/b2c/AppContainer.mjs +1 -1
  59. package/dist/esm/packages/web/src/ui/b2c/AppContainer.mjs.map +1 -1
  60. package/dist/esm/packages/web/src/ui/b2c/IDPContainer.mjs +1 -1
  61. package/dist/esm/packages/web/src/ui/b2c/IDPContainer.mjs.map +1 -1
  62. package/dist/esm/packages/web/src/ui/b2c/PasskeyRegistrationContainer.mjs +1 -1
  63. package/dist/esm/packages/web/src/ui/b2c/PasskeyRegistrationContainer.mjs.map +1 -1
  64. package/dist/esm/packages/web/src/ui/b2c/ResetPasswordContainer.mjs +1 -1
  65. package/dist/esm/packages/web/src/ui/b2c/ResetPasswordContainer.mjs.map +1 -1
  66. package/dist/esm/packages/web/src/ui/b2c/components/OAuthButton.mjs +6 -3
  67. package/dist/esm/packages/web/src/ui/b2c/components/OAuthButton.mjs.map +1 -1
  68. package/dist/esm/packages/web/src/ui/b2c/screens/Crypto/SetupNewWallet.mjs +20 -39
  69. package/dist/esm/packages/web/src/ui/b2c/screens/Crypto/SetupNewWallet.mjs.map +1 -1
  70. package/dist/esm/packages/web/src/ui/b2c/screens/Crypto/WalletButtons.mjs +15 -15
  71. package/dist/esm/packages/web/src/ui/b2c/screens/Crypto/WalletButtons.mjs.map +1 -1
  72. package/dist/esm/packages/web/src/ui/compat/styleToTheme.mjs +2 -0
  73. package/dist/esm/packages/web/src/ui/compat/styleToTheme.mjs.map +1 -1
  74. package/dist/esm/packages/web/src/ui/components/PresentationConfig.mjs +6 -1
  75. package/dist/esm/packages/web/src/ui/components/PresentationConfig.mjs.map +1 -1
  76. package/dist/esm/packages/web/src/ui/components/atoms/Button.mjs.map +1 -1
  77. package/dist/esm/packages/web/src/ui/components/atoms/Typography.module.css.mjs +2 -2
  78. package/dist/esm/packages/web/src/ui/components/molecules/EmailInput.mjs +1 -1
  79. package/dist/esm/packages/web/src/ui/components/molecules/EmailInput.mjs.map +1 -1
  80. package/dist/esm/packages/web/src/ui/components/molecules/Input.mjs +1 -1
  81. package/dist/esm/packages/web/src/ui/components/molecules/Input.mjs.map +1 -1
  82. package/dist/esm/packages/web/src/ui/react/b2b/B2BIdentityProvider.mjs +1 -1
  83. package/dist/esm/packages/web/src/ui/react/b2b/B2BIdentityProvider.mjs.map +1 -1
  84. package/dist/esm/packages/web/src/ui/react/b2b/Stytch.mjs +1 -1
  85. package/dist/esm/packages/web/src/ui/react/b2b/Stytch.mjs.map +1 -1
  86. package/dist/esm/packages/web/src/ui/react/b2b/StytchB2BContext.mjs +1 -1
  87. package/dist/esm/packages/web/src/ui/react/b2b/StytchB2BContext.mjs.map +1 -1
  88. package/dist/esm/packages/web/src/ui/react/b2c/IdentityProvider.mjs +1 -1
  89. package/dist/esm/packages/web/src/ui/react/b2c/IdentityProvider.mjs.map +1 -1
  90. package/dist/esm/packages/web/src/ui/react/b2c/StytchContext.mjs +1 -1
  91. package/dist/esm/packages/web/src/ui/react/b2c/StytchContext.mjs.map +1 -1
  92. package/dist/esm/packages/web/src/ui/react/b2c/StytchLogin.mjs +1 -1
  93. package/dist/esm/packages/web/src/ui/react/b2c/StytchLogin.mjs.map +1 -1
  94. package/dist/esm/packages/web/src/ui/react/b2c/StytchPasskeyRegistration.mjs +1 -1
  95. package/dist/esm/packages/web/src/ui/react/b2c/StytchPasskeyRegistration.mjs.map +1 -1
  96. package/dist/esm/packages/web/src/ui/react/b2c/StytchPasswordReset.mjs +1 -1
  97. package/dist/esm/packages/web/src/ui/react/b2c/StytchPasswordReset.mjs.map +1 -1
  98. package/dist/esm/packages/web/src/ui/react/utils/errors.mjs.map +1 -1
  99. package/dist/esm/packages/web/src/utils/crypto.mjs +19 -14
  100. package/dist/esm/packages/web/src/utils/crypto.mjs.map +1 -1
  101. package/dist/esm/packages/web/src/utils/oauthProviderType.mjs +1 -1
  102. package/dist/esm/packages/web/src/utils/oauthProviderType.mjs.map +1 -1
  103. package/dist/esm-dev/_virtual/index3.mjs +3 -5
  104. package/dist/esm-dev/_virtual/index3.mjs.map +1 -1
  105. package/dist/esm-dev/_virtual/index4.mjs +5 -3
  106. package/dist/esm-dev/_virtual/index4.mjs.map +1 -1
  107. package/dist/esm-dev/b2b/StytchB2BContext.mjs +5 -5
  108. package/dist/esm-dev/b2b/StytchB2BContext.mjs.map +1 -1
  109. package/dist/esm-dev/packages/core/src/public/b2b/ui.mjs.map +1 -1
  110. package/dist/esm-dev/packages/core/src/utils/dev.mjs +7 -1
  111. package/dist/esm-dev/packages/core/src/utils/dev.mjs.map +1 -1
  112. package/dist/esm-dev/packages/web/src/adminPortal/utils/theme.mjs +1 -1
  113. package/dist/esm-dev/packages/web/src/ui/b2b/App.mjs +14 -2
  114. package/dist/esm-dev/packages/web/src/ui/b2b/App.mjs.map +1 -1
  115. package/dist/esm-dev/packages/web/src/ui/b2b/components/Icons.mjs +3 -1
  116. package/dist/esm-dev/packages/web/src/ui/b2b/components/Icons.mjs.map +1 -1
  117. package/dist/esm-dev/packages/web/src/ui/b2b/components/OAuthB2BButton.mjs +6 -3
  118. package/dist/esm-dev/packages/web/src/ui/b2b/components/OAuthB2BButton.mjs.map +1 -1
  119. package/dist/esm-dev/packages/web/src/ui/b2b/components/SSOButton.mjs +5 -3
  120. package/dist/esm-dev/packages/web/src/ui/b2b/components/SSOButton.mjs.map +1 -1
  121. package/dist/esm-dev/packages/web/src/ui/b2b/screens/SsoAndOAuthButtons.mjs +6 -3
  122. package/dist/esm-dev/packages/web/src/ui/b2b/screens/SsoAndOAuthButtons.mjs.map +1 -1
  123. package/dist/esm-dev/packages/web/src/ui/b2b/types/authMethodKeys.mjs +2 -2
  124. package/dist/esm-dev/packages/web/src/ui/b2b/types/authMethodKeys.mjs.map +1 -1
  125. package/dist/esm-dev/packages/web/src/ui/b2c/AppContainer.mjs +8 -1
  126. package/dist/esm-dev/packages/web/src/ui/b2c/AppContainer.mjs.map +1 -1
  127. package/dist/esm-dev/packages/web/src/ui/b2c/IDPContainer.mjs +8 -1
  128. package/dist/esm-dev/packages/web/src/ui/b2c/IDPContainer.mjs.map +1 -1
  129. package/dist/esm-dev/packages/web/src/ui/b2c/PasskeyRegistrationContainer.mjs +8 -1
  130. package/dist/esm-dev/packages/web/src/ui/b2c/PasskeyRegistrationContainer.mjs.map +1 -1
  131. package/dist/esm-dev/packages/web/src/ui/b2c/ResetPasswordContainer.mjs +8 -1
  132. package/dist/esm-dev/packages/web/src/ui/b2c/ResetPasswordContainer.mjs.map +1 -1
  133. package/dist/esm-dev/packages/web/src/ui/b2c/components/OAuthButton.mjs +6 -3
  134. package/dist/esm-dev/packages/web/src/ui/b2c/components/OAuthButton.mjs.map +1 -1
  135. package/dist/esm-dev/packages/web/src/ui/b2c/screens/Crypto/SetupNewWallet.mjs +20 -39
  136. package/dist/esm-dev/packages/web/src/ui/b2c/screens/Crypto/SetupNewWallet.mjs.map +1 -1
  137. package/dist/esm-dev/packages/web/src/ui/b2c/screens/Crypto/WalletButtons.mjs +15 -15
  138. package/dist/esm-dev/packages/web/src/ui/b2c/screens/Crypto/WalletButtons.mjs.map +1 -1
  139. package/dist/esm-dev/packages/web/src/ui/compat/styleToTheme.mjs +15 -14
  140. package/dist/esm-dev/packages/web/src/ui/compat/styleToTheme.mjs.map +1 -1
  141. package/dist/esm-dev/packages/web/src/ui/components/PresentationConfig.mjs +9 -3
  142. package/dist/esm-dev/packages/web/src/ui/components/PresentationConfig.mjs.map +1 -1
  143. package/dist/esm-dev/packages/web/src/ui/components/atoms/Button.mjs.map +1 -1
  144. package/dist/esm-dev/packages/web/src/ui/components/atoms/Typography.module.css.mjs +2 -2
  145. package/dist/esm-dev/packages/web/src/ui/components/molecules/EmailInput.mjs +1 -1
  146. package/dist/esm-dev/packages/web/src/ui/components/molecules/EmailInput.mjs.map +1 -1
  147. package/dist/esm-dev/packages/web/src/ui/components/molecules/Input.mjs +1 -1
  148. package/dist/esm-dev/packages/web/src/ui/components/molecules/Input.mjs.map +1 -1
  149. package/dist/esm-dev/packages/web/src/ui/react/b2b/B2BIdentityProvider.mjs +1 -1
  150. package/dist/esm-dev/packages/web/src/ui/react/b2b/B2BIdentityProvider.mjs.map +1 -1
  151. package/dist/esm-dev/packages/web/src/ui/react/b2b/Stytch.mjs +1 -1
  152. package/dist/esm-dev/packages/web/src/ui/react/b2b/Stytch.mjs.map +1 -1
  153. package/dist/esm-dev/packages/web/src/ui/react/b2b/StytchB2BContext.mjs +1 -1
  154. package/dist/esm-dev/packages/web/src/ui/react/b2b/StytchB2BContext.mjs.map +1 -1
  155. package/dist/esm-dev/packages/web/src/ui/react/b2c/IdentityProvider.mjs +1 -1
  156. package/dist/esm-dev/packages/web/src/ui/react/b2c/IdentityProvider.mjs.map +1 -1
  157. package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchContext.mjs +1 -1
  158. package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchContext.mjs.map +1 -1
  159. package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchLogin.mjs +1 -1
  160. package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchLogin.mjs.map +1 -1
  161. package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchPasskeyRegistration.mjs +1 -1
  162. package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchPasskeyRegistration.mjs.map +1 -1
  163. package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchPasswordReset.mjs +1 -1
  164. package/dist/esm-dev/packages/web/src/ui/react/b2c/StytchPasswordReset.mjs.map +1 -1
  165. package/dist/esm-dev/packages/web/src/ui/react/utils/errors.mjs +8 -4
  166. package/dist/esm-dev/packages/web/src/ui/react/utils/errors.mjs.map +1 -1
  167. package/dist/esm-dev/packages/web/src/utils/crypto.mjs +19 -14
  168. package/dist/esm-dev/packages/web/src/utils/crypto.mjs.map +1 -1
  169. package/dist/esm-dev/packages/web/src/utils/oauthProviderType.mjs +1 -1
  170. package/dist/esm-dev/packages/web/src/utils/oauthProviderType.mjs.map +1 -1
  171. package/dist/types/{PresentationConfig-Bqzf8zr3.d.ts → PresentationConfig-B2jX85oV.d.ts} +13 -2
  172. package/dist/types/{StytchB2BClient-CsY7ZNKh.d.ts → StytchB2BClient-D16e_lp1.d.ts} +2 -2
  173. package/dist/types/{StytchClient-DZRM_fM4.d.ts → StytchClient-BwQdJzdj.d.ts} +2 -2
  174. package/dist/types/adminPortal/index.d.ts +5 -5
  175. package/dist/types/b2b/index.d.ts +27 -19
  176. package/dist/types/b2b/index.headless.d.ts +5 -5
  177. package/dist/types/compat.d.ts +2 -2
  178. package/dist/types/{createAuthUrlHandler-BZoD2LDF.d.ts → createAuthUrlHandler-R1kNNQD_.d.ts} +2 -2
  179. package/dist/types/{idpHelpers-CD5sSDzA.d.ts → idpHelpers-BQP76WgZ.d.ts} +1 -1
  180. package/dist/types/index.d.ts +36 -16
  181. package/dist/types/index.headless.d.ts +5 -5
  182. package/dist/types/{shadcn-4-5byj93.d.ts → shadcn-CGdmyIUF.d.ts} +9 -6
  183. package/dist/types/{ui-DXrQ-gA8.d.ts → ui-B7IvSGQf.d.ts} +1 -1
  184. package/package.json +1 -1
  185. package/dist/cjs/index-Ni_dyEsz.js.map +0 -1
  186. package/dist/cjs/shadcn-B8TEzQMT.js.map +0 -1
  187. package/dist/cjs-dev/StytchSSRProxy-CxXsyme4.js.map +0 -1
  188. package/dist/cjs-dev/idpHelpers-BVMUYvt1.js.map +0 -1
  189. package/dist/cjs-dev/index-DdK3Jt4u.js.map +0 -1
  190. package/dist/cjs-dev/shadcn-C9ClUju1.js.map +0 -1
@@ -4,7 +4,7 @@ var index_headless = require('./index.headless.cjs');
4
4
  var React = require('react');
5
5
  var passwordManagerDisableAutofillProps = require('./passwordManagerDisableAutofillProps-DV31RTL_.js');
6
6
  var StytchSSRProxy = require('./StytchSSRProxy-Bz6LNYdq.js');
7
- var shadcn = require('./shadcn-B8TEzQMT.js');
7
+ var shadcn = require('./shadcn-aVU6Lm9q.js');
8
8
  var idpHelpers = require('./idpHelpers-Bj_7pbfW.js');
9
9
  var ReactDOM = require('react-dom');
10
10
  var jsxRuntime = require('react/jsx-runtime');
@@ -147,7 +147,7 @@ const withStytchSession$1 = (Component)=>{
147
147
  *
148
148
  * Remember - authorization checks for sensitive actions should always occur on the backend as well.
149
149
  * @example
150
- * const { isAuthorized } = useStytchIsAuthorized<Permissions>('documents', 'edit');
150
+ * const { isAuthorized } = useStytchIsAuthorized('documents', 'edit');
151
151
  * return <button disabled={!isAuthorized}>Edit</button>
152
152
  */ const useStytchIsAuthorized$1 = (resourceId, action)=>{
153
153
  passwordManagerDisableAutofillProps.invariant(useIsMounted__INTERNAL(), StytchSSRProxy.noProviderError('useStytchIsAuthorized', 'StytchProvider'));
@@ -1438,7 +1438,7 @@ const AppContainer$1 = ()=>{
1438
1438
  }), /*#__PURE__*/ React__namespace.default.createElement(ScreenComponent, null));
1439
1439
  };
1440
1440
 
1441
- const AppContainer = ({ client, config, presentation, callbacks, strings })=>{
1441
+ const AppContainer = ({ client, config, presentation, callbacks, strings, styles })=>{
1442
1442
  // Read the watermark out of sync storage, then read it out of async storage
1443
1443
  const [displayWatermark, setDisplayWatermark] = React.useState(()=>{
1444
1444
  const { displayWatermark } = StytchSSRProxy.readB2CInternals(client).bootstrap.getSync();
@@ -1539,7 +1539,7 @@ function createB2CComponent(name, Component) {
1539
1539
  * onEvent: (event) => console.log(event)
1540
1540
  * }}
1541
1541
  * />
1542
- */ const StytchLogin = createB2CComponent('StytchLogin', AppContainer);
1542
+ */ const StytchLogin = /* @__PURE__ */ createB2CComponent('StytchLogin', AppContainer);
1543
1543
 
1544
1544
  const GenericWalletIcon = ({ size = shadcn.DEFAULT_ICON_SIZE, ...props })=>/*#__PURE__*/ React__namespace.default.createElement("svg", {
1545
1545
  width: size,
@@ -1894,285 +1894,6 @@ function requireBs58 () {
1894
1894
 
1895
1895
  var bs58Exports = requireBs58();
1896
1896
 
1897
- const AmazonIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
1898
- xmlns: "http://www.w3.org/2000/svg",
1899
- width: 20,
1900
- height: 20,
1901
- fill: "none",
1902
- ...props
1903
- }, /*#__PURE__*/ React__namespace.createElement("path", {
1904
- fill: "#F90",
1905
- d: "M16.5 15.53C9.2 19 4.69 16.1 1.8 14.33c-.19-.1-.5.03-.23.34.97 1.17 4.13 3.98 8.25 3.98s6.59-2.25 6.9-2.64c.3-.4.08-.6-.22-.48m2.04-1.13c-.2-.25-1.19-.3-1.81-.22s-1.57.45-1.49.68c.04.09.13.05.56.01s1.64-.2 1.9.14c.25.33-.4 1.9-.51 2.16s.04.32.25.15.6-.6.85-1.23c.25-.62.4-1.5.25-1.69"
1906
- }), /*#__PURE__*/ React__namespace.createElement("path", {
1907
- fill: "#000",
1908
- fillRule: "evenodd",
1909
- d: "M11.6 8.46c0 .9.02 1.67-.44 2.47-.37.66-.96 1.06-1.62 1.06-.9 0-1.42-.68-1.42-1.69 0-1.99 1.79-2.35 3.48-2.35zm2.35 5.69a.5.5 0 0 1-.55.05c-.78-.64-.91-.94-1.34-1.55-1.28 1.3-2.19 1.7-3.85 1.7-1.96 0-3.5-1.22-3.5-3.64 0-1.9 1.03-3.19 2.5-3.82 1.26-.56 3.03-.66 4.39-.81v-.3c0-.56.04-1.22-.29-1.7-.28-.43-.83-.6-1.3-.6-.9 0-1.7.45-1.89 1.4-.04.21-.19.42-.4.43l-2.27-.25c-.19-.04-.4-.2-.34-.49C5.63 1.83 8.1 1 10.33 1c1.13 0 2.62.3 3.52 1.16 1.13 1.06 1.02 2.48 1.02 4.02v3.64c0 1.1.46 1.57.88 2.16.16.21.19.47 0 .63-.48.4-1.33 1.13-1.8 1.55z",
1910
- clipRule: "evenodd",
1911
- className: shadcn.modules_73af8a26.darkInvert
1912
- }));
1913
-
1914
- const AppleIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
1915
- xmlns: "http://www.w3.org/2000/svg",
1916
- width: 20,
1917
- height: 20,
1918
- fill: "none",
1919
- ...props
1920
- }, /*#__PURE__*/ React__namespace.createElement("path", {
1921
- fill: "#000",
1922
- d: "M16.55 7.14c-.1.08-1.86 1.12-1.86 3.43A4 4 0 0 0 17 14.2c0 .06-.35 1.3-1.18 2.56-.74 1.1-1.5 2.21-2.67 2.21s-1.47-.7-2.82-.7c-1.32 0-1.79.73-2.86.73S5.66 17.97 4.8 16.7c-1-1.48-1.8-3.78-1.8-5.96C3 7.25 5.17 5.4 7.31 5.4c1.14 0 2.09.78 2.8.78.68 0 1.74-.83 3.03-.83.5 0 2.26.05 3.41 1.79m-4.02-3.27c.53-.66.91-1.59.91-2.5q0-.22-.03-.37c-.87.03-1.9.6-2.53 1.36-.49.59-.95 1.5-.95 2.44 0 .14.03.28.04.33l.23.02c.78 0 1.76-.54 2.33-1.28",
1923
- className: shadcn.modules_73af8a26.darkInvert
1924
- }));
1925
-
1926
- const BinanceIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
1927
- xmlns: "http://www.w3.org/2000/svg",
1928
- width: 20,
1929
- height: 20,
1930
- fill: "none",
1931
- ...props
1932
- }, /*#__PURE__*/ React__namespace.createElement("path", {
1933
- fill: "#F3BA2F",
1934
- d: "m6.43 8.56 3.5-3.5 3.49 3.5 2.03-2.03L9.92 1 4.4 6.53zM4.99 10 2.96 7.97.92 10l2.04 2.03zM6.43 11.44l3.5 3.5 3.49-3.5 2.03 2.03L9.92 19 4.4 13.47zM16.89 12.03 18.92 10 16.9 7.97 14.85 10z"
1935
- }), /*#__PURE__*/ React__namespace.createElement("path", {
1936
- fill: "#F3BA2F",
1937
- d: "M11.99 10 9.92 7.93 8.4 9.46l-.18.18-.36.36 2.06 2.07z"
1938
- }));
1939
-
1940
- const BitbucketIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
1941
- xmlns: "http://www.w3.org/2000/svg",
1942
- width: 20,
1943
- height: 20,
1944
- fill: "none",
1945
- ...props
1946
- }, /*#__PURE__*/ React__namespace.createElement("path", {
1947
- fill: "#1868DB",
1948
- d: "m17.96 9.14-1.34 8.08a.9.9 0 0 1-.93.78H4.3a.9.9 0 0 1-.93-.78L1.02 2.81c-.1-.5.17-.81.64-.81h16.68c.47 0 .73.32.64.8l-.64 3.8c-.09.55-.4.78-.93.78H7.37q-.23 0-.2.26l.79 4.78q.05.18.23.2h3.62q.17-.02.23-.2l.56-3.46c.05-.43.35-.6.75-.6h3.94c.58 0 .76.29.67.78"
1949
- }));
1950
-
1951
- const CoinbaseIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
1952
- xmlns: "http://www.w3.org/2000/svg",
1953
- width: 20,
1954
- height: 20,
1955
- fill: "none",
1956
- ...props
1957
- }, /*#__PURE__*/ React__namespace.createElement("path", {
1958
- fill: "#0052FF",
1959
- d: "M10.02 14.5a4.5 4.5 0 1 1 4.44-5.25H19a9 9 0 1 0 0 1.5h-4.54a4.5 4.5 0 0 1-4.44 3.75"
1960
- }));
1961
-
1962
- const DiscordIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
1963
- xmlns: "http://www.w3.org/2000/svg",
1964
- width: 20,
1965
- height: 20,
1966
- fill: "none",
1967
- ...props
1968
- }, /*#__PURE__*/ React__namespace.createElement("path", {
1969
- fill: "#5865F2",
1970
- d: "M12.53 3q-.26.44-.47.92a15 15 0 0 0-4.12 0q-.21-.47-.48-.92-1.93.3-3.72 1.1a13.8 13.8 0 0 0-2.66 9.72Q3.15 15.28 5.63 16q.56-.72.98-1.5a10 10 0 0 1-1.54-.7l.38-.27c2.88 1.3 6.22 1.3 9.1 0q.19.15.38.27a10 10 0 0 1-1.54.7q.41.8.98 1.5 2.48-.7 4.55-2.18c.38-3.69-.64-6.89-2.67-9.73a15 15 0 0 0-3.71-1.08zm-5.52 8.86c-.89 0-1.62-.77-1.62-1.72 0-.94.7-1.71 1.62-1.71.9 0 1.63.77 1.62 1.71-.02.95-.72 1.72-1.62 1.72m5.98 0c-.89 0-1.62-.77-1.62-1.72 0-.94.7-1.71 1.62-1.71.91 0 1.63.77 1.62 1.71-.02.95-.72 1.72-1.62 1.72"
1971
- }));
1972
-
1973
- const FacebookIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
1974
- xmlns: "http://www.w3.org/2000/svg",
1975
- width: 20,
1976
- height: 20,
1977
- fill: "none",
1978
- ...props
1979
- }, /*#__PURE__*/ React__namespace.createElement("path", {
1980
- fill: "#0866FF",
1981
- d: "M19 10a9 9 0 1 0-11.17 8.73v-5.98H5.97V10h1.86V8.81c0-3.06 1.38-4.48 4.39-4.48.57 0 1.55.11 1.96.23v2.49q-.35-.03-1.04-.03c-1.48 0-2.05.55-2.05 2V10h2.94l-.5 2.75h-2.44v6.18A9 9 0 0 0 19 10"
1982
- }), /*#__PURE__*/ React__namespace.createElement("path", {
1983
- fill: "#fff",
1984
- d: "m13.53 12.75.5-2.75h-2.94v-.97c0-1.46.57-2.01 2.05-2.01q.7 0 1.04.03v-2.5a10 10 0 0 0-1.96-.22c-3 0-4.4 1.42-4.4 4.48V10H5.98v2.75h1.86v5.98a9 9 0 0 0 3.26.2v-6.18z"
1985
- }));
1986
-
1987
- const FigmaIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
1988
- xmlns: "http://www.w3.org/2000/svg",
1989
- width: 20,
1990
- height: 20,
1991
- fill: "none",
1992
- ...props
1993
- }, /*#__PURE__*/ React__namespace.createElement("path", {
1994
- fill: "#24CB71",
1995
- d: "M4 16a3 3 0 0 1 3-3h3v3a3 3 0 0 1-6 0"
1996
- }), /*#__PURE__*/ React__namespace.createElement("path", {
1997
- fill: "#FF7237",
1998
- d: "M10 1v6h3a3 3 0 0 0 0-6z"
1999
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2000
- fill: "#00B6FF",
2001
- d: "M12.98 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6"
2002
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2003
- fill: "#FF3737",
2004
- d: "M4 4a3 3 0 0 0 3 3h3V1H7a3 3 0 0 0-3 3"
2005
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2006
- fill: "#874FFF",
2007
- d: "M4 10a3 3 0 0 0 3 3h3V7H7a3 3 0 0 0-3 3"
2008
- }));
2009
-
2010
- const GitlabIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
2011
- xmlns: "http://www.w3.org/2000/svg",
2012
- width: 20,
2013
- height: 20,
2014
- fill: "none",
2015
- ...props
2016
- }, /*#__PURE__*/ React__namespace.createElement("path", {
2017
- fill: "#E24329",
2018
- d: "m18.7 8.2-.03-.07-2.45-6.4A.65.65 0 0 0 15 1.8l-1.65 5.07h-6.7L5 1.8a.64.64 0 0 0-.97-.37.6.6 0 0 0-.25.3l-2.45 6.4-.03.06a4.55 4.55 0 0 0 1.51 5.26l.03.02 3.73 2.8 1.85 1.4 1.12.84c.27.21.65.21.92 0l1.12-.84 1.85-1.4 3.75-2.81.01-.01a4.55 4.55 0 0 0 1.5-5.26"
2019
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2020
- fill: "#FC6D26",
2021
- d: "m18.7 8.2-.03-.07a8 8 0 0 0-3.29 1.48L10 13.68l3.43 2.59 3.75-2.81.01-.01a4.55 4.55 0 0 0 1.5-5.26"
2022
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2023
- fill: "#FCA326",
2024
- d: "m6.57 16.27 1.85 1.4 1.12.84c.27.21.65.21.92 0l1.12-.84 1.85-1.4s-1.6-1.2-3.43-2.6c-1.83 1.4-3.43 2.6-3.43 2.6"
2025
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2026
- fill: "#FC6D26",
2027
- d: "M4.62 9.61a8 8 0 0 0-3.3-1.48l-.02.06a4.55 4.55 0 0 0 1.51 5.26l.03.02 3.73 2.8s1.6-1.2 3.43-2.6z"
2028
- }));
2029
-
2030
- const LinkedinIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
2031
- xmlns: "http://www.w3.org/2000/svg",
2032
- width: 20,
2033
- height: 20,
2034
- fill: "none",
2035
- ...props
2036
- }, /*#__PURE__*/ React__namespace.createElement("path", {
2037
- fill: "#007EBB",
2038
- fillRule: "evenodd",
2039
- d: "M3 19h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H3a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2",
2040
- clipRule: "evenodd"
2041
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2042
- fill: "#fff",
2043
- fillRule: "evenodd",
2044
- d: "M16.5 16.5h-2.67v-4.55c0-1.25-.48-1.94-1.46-1.94-1.08 0-1.64.72-1.64 1.94v4.55H8.16V7.83h2.57V9s.78-1.43 2.62-1.43c1.83 0 3.15 1.12 3.15 3.44zM5.09 6.7A1.6 1.6 0 0 1 3.5 5.1c0-.88.71-1.6 1.59-1.6.87 0 1.58.72 1.58 1.6s-.7 1.6-1.58 1.6m-1.33 9.8h2.68V7.83H3.76z",
2045
- clipRule: "evenodd"
2046
- }));
2047
-
2048
- const MetamaskIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
2049
- xmlns: "http://www.w3.org/2000/svg",
2050
- width: 20,
2051
- height: 20,
2052
- fill: "none",
2053
- ...props
2054
- }, /*#__PURE__*/ React__namespace.createElement("path", {
2055
- fill: "#FF5C16",
2056
- d: "m17.82 18.08-3.88-1.15-2.92 1.75H8.98l-2.93-1.75-3.87 1.15L1 14.1 2.18 9.7 1 5.95l1.18-4.63 6.05 3.62h3.54l6.05-3.62L19 5.95 17.82 9.7 19 14.1z"
2057
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2058
- fill: "#FF5C16",
2059
- d: "m2.18 1.32 6.06 3.62-.25 2.49zM6.06 14.1l2.66 2.03-2.66.8zM8.5 10.75 8 7.43 4.71 9.69V12l1.33-1.26zM17.82 1.32l-6.05 3.62.24 2.49zM13.95 14.1l-2.67 2.03 2.67.8zM15.29 9.69 12 7.43l-.52 3.32h2.46L15.28 12z"
2060
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2061
- fill: "#E34807",
2062
- d: "m6.05 16.93-3.87 1.15L1 14.1h5.05zM8.5 10.75l.75 4.8-1.03-2.67-3.5-.87 1.33-1.26zM13.95 16.93l3.87 1.15L19 14.1h-5.05zM11.5 10.75l-.75 4.8 1.03-2.67 3.5-.87-1.33-1.26z"
2063
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2064
- fill: "#FF8D5D",
2065
- d: "M1 14.1 2.18 9.7H4.7L4.72 12l3.5.87 1.03 2.66-.53.6-2.67-2.04zM19 14.1 17.82 9.7H15.3L15.28 12l-3.5.87-1.03 2.66.53.6 2.67-2.04z"
2066
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2067
- fill: "#FF8D5D",
2068
- d: "M11.77 4.94H8.23L8 7.43l1.26 8.11h1.5l1.26-8.11z"
2069
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2070
- fill: "#661800",
2071
- d: "M2.18 1.32 1 5.95 2.18 9.7H4.7L8 7.43zM7.77 11.71H6.62l-.62.61 2.22.56zM17.82 1.32 19 5.95 17.82 9.7H15.3L12 7.43zM12.23 11.71h1.15l.62.62-2.22.55zM11.02 17.1l.26-.97-.53-.58h-1.5l-.53.58.26.96"
2072
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2073
- fill: "#C0C4CD",
2074
- d: "M11.02 17.1v1.58H8.98v-1.59z"
2075
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2076
- fill: "#E7EBF6",
2077
- d: "m6.06 16.93 2.92 1.75v-1.59l-.26-.96zM13.95 16.93l-2.93 1.75v-1.59l.26-.96z"
2078
- }));
2079
-
2080
- const PhantomIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
2081
- xmlns: "http://www.w3.org/2000/svg",
2082
- width: 20,
2083
- height: 20,
2084
- fill: "none",
2085
- ...props
2086
- }, /*#__PURE__*/ React__namespace.createElement("path", {
2087
- fill: "#AB9FF2",
2088
- d: "M3.13 17.5c2.3 0 4.02-2 5.05-3.58q-.19.53-.2 1.04c0 .92.54 1.58 1.58 1.58 1.44 0 2.97-1.26 3.76-2.62a2 2 0 0 0-.08.55c0 .64.36 1.04 1.1 1.04 2.32 0 4.66-4.12 4.66-7.73 0-2.8-1.42-5.28-4.98-5.28C7.75 2.5 1 10.16 1 15.11c0 1.94 1.04 2.39 2.13 2.39m8.73-10.02c0-.7.39-1.2.96-1.2s.95.5.95 1.2-.4 1.2-.95 1.2c-.57 0-.96-.5-.96-1.2m2.98 0c0-.7.39-1.2.96-1.2.55 0 .94.5.94 1.2s-.38 1.2-.94 1.2c-.57 0-.96-.5-.96-1.2"
2089
- }));
2090
-
2091
- const SalesforceIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
2092
- xmlns: "http://www.w3.org/2000/svg",
2093
- width: 20,
2094
- height: 20,
2095
- fill: "none",
2096
- ...props
2097
- }, /*#__PURE__*/ React__namespace.createElement("path", {
2098
- fill: "#00A1E0",
2099
- fillRule: "evenodd",
2100
- d: "M8.49 4.92a3.1 3.1 0 0 1 2.28-1.01c1.2 0 2.22.68 2.78 1.7q.75-.35 1.57-.35c2.14 0 3.88 1.8 3.88 4.04a3.96 3.96 0 0 1-4.65 3.96c-.49.9-1.42 1.5-2.47 1.5q-.65 0-1.25-.3a3.2 3.2 0 0 1-2.97 2.04c-1.4 0-2.58-.9-3.04-2.18q-.3.06-.62.06c-1.66 0-3-1.4-3-3.13 0-1.16.6-2.17 1.5-2.71a4 4 0 0 1-.29-1.44c0-1.99 1.57-3.6 3.5-3.6 1.13 0 2.15.56 2.78 1.42",
2101
- clipRule: "evenodd"
2102
- }));
2103
-
2104
- const SnapchatIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
2105
- xmlns: "http://www.w3.org/2000/svg",
2106
- width: 20,
2107
- height: 20,
2108
- fill: "none",
2109
- ...props
2110
- }, /*#__PURE__*/ React__namespace.createElement("path", {
2111
- fill: "#fff",
2112
- d: "M17.72 14.26c-2.78-1.35-3.23-3.43-3.25-3.59-.02-.18-.05-.33.16-.52.2-.19 1.08-.73 1.32-.9q.63-.41.46-.92c-.1-.24-.32-.33-.56-.33l-.22.03c-.44.1-.87.32-1.12.38h-.1q-.19.02-.17-.21c.03-.49.1-1.44.02-2.32a3.7 3.7 0 0 0-.96-2.36A4.3 4.3 0 0 0 10 2.14a4.3 4.3 0 0 0-3.3 1.37 3.7 3.7 0 0 0-.96 2.36c-.08.89 0 1.84.02 2.33q.01.22-.17.22l-.1-.02c-.24-.06-.68-.28-1.12-.38L4.15 8c-.24 0-.46.1-.55.33-.14.35.04.63.45.91.24.17 1.13.72 1.33.9.2.2.18.34.15.53-.02.16-.46 2.24-3.25 3.59-.16.08-.44.24.05.51.77.43 1.28.38 1.68.64.34.22.14.69.38.86.3.2 1.2-.02 2.35.36.96.32 1.55 1.22 3.26 1.22s2.32-.9 3.27-1.22c1.15-.38 2.04-.16 2.34-.36.25-.17.05-.64.39-.86.4-.26.9-.21 1.68-.64.48-.26.2-.43.04-.5",
2113
- className: shadcn.modules_73af8a26.darkInvert
2114
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2115
- fill: "#000",
2116
- d: "M18.94 14.1a1.3 1.3 0 0 0-.64-.67l-.14-.07-.24-.13a5.4 5.4 0 0 1-1.97-1.68 4 4 0 0 1-.33-.6q-.06-.16-.01-.23l.1-.12.82-.53q.52-.36.74-.8a1.6 1.6 0 0 0 .08-1.3c-.23-.6-.8-.98-1.5-.98a2 2 0 0 0-.54.08q.01-.64-.04-1.29a4.83 4.83 0 0 0-2.44-3.93A5.6 5.6 0 0 0 10 1.15a5.6 5.6 0 0 0-2.82.72 4.8 4.8 0 0 0-2.44 3.93q-.06.66-.04 1.28a3 3 0 0 0-.55-.08 1.54 1.54 0 0 0-1.6 1.65q.01.33.18.64.23.43.74.8l.42.27.38.25q.08.04.12.12.05.07-.01.24-.14.3-.33.59a5.4 5.4 0 0 1-1.91 1.65c-.43.23-.89.39-1.08.9-.14.4-.05.84.32 1.21q.2.21.46.35.53.3 1.12.45.13.03.23.1c.13.12.12.3.3.55q.13.2.33.34c.37.26.78.27 1.23.3.4 0 .85.02 1.37.2q.3.11.7.36c.61.38 1.46.9 2.88.9s2.27-.52 2.9-.9q.37-.25.68-.36c.52-.17.97-.2 1.37-.2.44-.02.86-.04 1.23-.3q.24-.16.38-.41c.13-.22.13-.37.25-.47l.21-.1a5 5 0 0 0 1.14-.46q.28-.15.48-.37v-.01c.35-.37.44-.8.3-1.18m-1.27.68c-.77.42-1.28.38-1.67.64-.34.21-.14.68-.39.85-.3.21-1.2-.01-2.34.37-.95.31-1.56 1.21-3.27 1.21-1.7 0-2.3-.9-3.27-1.22-1.15-.38-2.04-.15-2.34-.36-.25-.17-.05-.64-.38-.86-.4-.25-.91-.2-1.68-.63-.5-.27-.21-.44-.05-.52 2.79-1.35 3.23-3.43 3.25-3.58.02-.2.05-.34-.16-.53-.2-.18-1.08-.73-1.32-.9-.4-.28-.59-.57-.46-.91.1-.25.32-.34.56-.34l.22.03c.44.1.87.32 1.12.38l.1.01q.19 0 .17-.22c-.03-.49-.1-1.43-.02-2.32.1-1.22.5-1.83.96-2.36A4.3 4.3 0 0 1 10 2.15a4.3 4.3 0 0 1 3.3 1.36c.46.54.86 1.14.96 2.36.08.89.01 1.84-.02 2.33q-.01.23.17.22l.1-.02c.24-.06.68-.28 1.12-.38l.22-.02c.24 0 .46.1.56.33q.17.5-.46.91c-.24.17-1.13.72-1.32.9-.21.2-.18.34-.16.53.02.16.46 2.24 3.25 3.59.17.08.44.25-.05.52",
2117
- className: shadcn.modules_73af8a26.darkInvert
2118
- }));
2119
-
2120
- const TiktokIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
2121
- xmlns: "http://www.w3.org/2000/svg",
2122
- width: 20,
2123
- height: 20,
2124
- fill: "none",
2125
- ...props
2126
- }, /*#__PURE__*/ React__namespace.createElement("path", {
2127
- fill: "#161823",
2128
- fillRule: "evenodd",
2129
- d: "M11.38 1.79h2.3A4.42 4.42 0 0 0 18 5.3v.68l.01 2.41a7.6 7.6 0 0 1-4.39-1.38v6.28c0 3.14-2.6 5.7-5.8 5.7a6 6 0 0 1-3.33-1.03A5.7 5.7 0 0 1 2 13.3a5.76 5.76 0 0 1 6.59-5.64v3.16q-.37-.11-.78-.12a2.63 2.63 0 0 0-2.66 2.6c0 1 .58 1.87 1.43 2.3q.55.3 1.23.3c1.42 0 2.59-1.1 2.64-2.5V1h3.16q0 .4.08.79z",
2130
- clipRule: "evenodd",
2131
- className: shadcn.modules_73af8a26.darkInvert
2132
- }));
2133
-
2134
- const TwitchIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
2135
- xmlns: "http://www.w3.org/2000/svg",
2136
- width: 20,
2137
- height: 20,
2138
- fill: "none",
2139
- ...props
2140
- }, /*#__PURE__*/ React__namespace.createElement("path", {
2141
- fill: "#fff",
2142
- d: "m16.25 9.36-2.5 2.57h-2.5l-2.19 2.25v-2.25H6.25V2.29h10z"
2143
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2144
- fill: "#9146FF",
2145
- d: "M5.63 1 2.5 4.21V15.8h3.75V19l3.13-3.21h2.5L17.5 10V1zm10.62 8.36-2.5 2.57h-2.5l-2.19 2.25v-2.25H6.25V2.29h10z"
2146
- }), /*#__PURE__*/ React__namespace.createElement("path", {
2147
- fill: "#9146FF",
2148
- d: "M14.38 4.54h-1.26v3.85h1.26zM10.94 4.54H9.69v3.85h1.25z"
2149
- }));
2150
-
2151
- const XTwitterIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
2152
- xmlns: "http://www.w3.org/2000/svg",
2153
- width: 20,
2154
- height: 20,
2155
- fill: "none",
2156
- ...props
2157
- }, /*#__PURE__*/ React__namespace.createElement("path", {
2158
- fill: "#000",
2159
- d: "M11.67 8.62 18.23 1h-1.55l-5.7 6.61L6.44 1H1.2l6.87 10-6.87 8h1.55l6.01-7 4.8 7h5.24zm-2.12 2.47-.7-1-5.54-7.92H5.7l4.47 6.4.7 1 5.8 8.3H14.3z",
2160
- className: shadcn.modules_73af8a26.darkInvert
2161
- }));
2162
-
2163
- const YahooIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
2164
- xmlns: "http://www.w3.org/2000/svg",
2165
- width: 20,
2166
- height: 20,
2167
- fill: "none",
2168
- ...props
2169
- }, /*#__PURE__*/ React__namespace.createElement("path", {
2170
- fill: "#5F01D2",
2171
- fillRule: "evenodd",
2172
- d: "M1 5.74 4.92 15l-1.4 3.33h3.44l5.23-12.6H8.76l-2.13 5.4-2.1-5.4zm9.47 7.24c0 1.16.9 2.1 2.1 2.1 1.25 0 2.19-.98 2.19-2.17 0-1.18-.9-2.11-2.11-2.11-1.25 0-2.18 1-2.18 2.18m4.68-11.31L11.7 9.99h3.85L19 1.67z",
2173
- clipRule: "evenodd"
2174
- }));
2175
-
2176
1897
  const hasMultipleEthereumWallets = ()=>!!window.ethereum?.providers;
2177
1898
  const hasMetaMask = ()=>!!(hasMultipleEthereumWallets() ? window.ethereum.providers?.find((wallet)=>wallet.isMetaMask) : window.ethereum.isMetaMask);
2178
1899
  const hasCoinbaseWallet = ()=>!!(hasMultipleEthereumWallets() ? window.ethereum.providers?.find((wallet)=>wallet.isCoinbaseWallet) : window.ethereum?.isCoinbaseWallet);
@@ -2180,13 +1901,22 @@ const hasOtherEthereumWallet = ()=>!hasMetaMask() && !hasCoinbaseWallet() && !!w
2180
1901
  const getMetaMaskProvider = ()=>hasMultipleEthereumWallets() ? window.ethereum.providers?.find((wallet)=>wallet.isMetaMask) : window.ethereum;
2181
1902
  const getCoinbaseProvider = ()=>hasMultipleEthereumWallets() ? window.ethereum.providers?.find((wallet)=>wallet.isCoinbaseWallet) : window.ethereum;
2182
1903
  const getOtherInjectedProvider = ()=>window.ethereum.providers?.find((wallet)=>!wallet.isCoinbaseWallet && !wallet.isMetaMask);
2183
- const WalletToIcon = {
2184
- [StytchSSRProxy.Wallets.Phantom]: PhantomIcon,
2185
- [StytchSSRProxy.Wallets.Binance]: BinanceIcon,
2186
- [StytchSSRProxy.Wallets.Coinbase]: CoinbaseIcon,
2187
- [StytchSSRProxy.Wallets.Metamask]: MetamaskIcon,
2188
- [StytchSSRProxy.Wallets.GenericEthereumWallet]: GenericWalletIcon,
2189
- [StytchSSRProxy.Wallets.GenericSolanaWallet]: GenericWalletIcon
1904
+ const walletIcons = {
1905
+ [StytchSSRProxy.Wallets.Phantom]: 'phantom',
1906
+ [StytchSSRProxy.Wallets.Binance]: 'binance',
1907
+ [StytchSSRProxy.Wallets.Coinbase]: 'coinbase',
1908
+ [StytchSSRProxy.Wallets.Metamask]: 'metamask'
1909
+ };
1910
+ const useCryptoButtonProps = ()=>{
1911
+ const presentation = shadcn.usePresentation();
1912
+ const iconRegistry = presentation.iconRegistry;
1913
+ return {
1914
+ getIcon: (wallet)=>{
1915
+ const iconName = walletIcons[wallet];
1916
+ return iconName ? iconRegistry[iconName] : GenericWalletIcon;
1917
+ },
1918
+ getId: (wallet)=>shadcn.getButtonId(`wallet-${wallet}`, presentation.options)
1919
+ };
2190
1920
  };
2191
1921
  const WalletToText = {
2192
1922
  [StytchSSRProxy.Wallets.Phantom]: {
@@ -2333,10 +2063,6 @@ const isSolanaWallet = (wallet)=>{
2333
2063
  };
2334
2064
 
2335
2065
  const MAX_BUTTONS = 6;
2336
- const WalletIconComponent = ({ wallet })=>{
2337
- const Icon = WalletToIcon[wallet];
2338
- return /*#__PURE__*/ React__namespace.createElement(Icon, null);
2339
- };
2340
2066
  const walletMessages = {
2341
2067
  [StytchSSRProxy.Wallets.Phantom]: {
2342
2068
  id: "crypto.wallet.continueWithPhantom",
@@ -2367,6 +2093,7 @@ const CryptoWalletButtons = ({ type })=>{
2367
2093
  const { i18n: $__i18n, _: $__ } = passwordManagerDisableAutofillProps.useLingui();
2368
2094
  const [state, dispatch] = useGlobalReducer();
2369
2095
  const config = useConfig();
2096
+ const { getIcon, getId } = useCryptoButtonProps();
2370
2097
  const oAuthOptions = config.oauthOptions?.providers.length ?? 0;
2371
2098
  // Crypto Buttons on screen = Maximum Buttons - OAuth Buttons - 1 (Other crypto or set up new wallet)
2372
2099
  const cryptoButtonsOnMainScreen = MAX_BUTTONS - oAuthOptions - 1;
@@ -2388,22 +2115,24 @@ const CryptoWalletButtons = ({ type })=>{
2388
2115
  const mainWallets = allDetectedWallets.slice(0, cryptoButtonsOnMainScreen);
2389
2116
  const otherWallet = allDetectedWallets.slice(cryptoButtonsOnMainScreen);
2390
2117
  const walletsToRender = type === 'main' ? mainWallets : otherWallet;
2391
- return /*#__PURE__*/ React__namespace.createElement(shadcn.ButtonColumn, null, walletsToRender.map((wallet)=>/*#__PURE__*/ React__namespace.createElement(shadcn.Button, {
2118
+ return /*#__PURE__*/ React__namespace.createElement(shadcn.ButtonColumn, null, walletsToRender.map((wallet)=>{
2119
+ const walletEnum = StytchSSRProxy.Wallets[wallet];
2120
+ const Icon = getIcon(walletEnum);
2121
+ return /*#__PURE__*/ React__namespace.createElement(shadcn.Button, {
2392
2122
  key: wallet,
2393
2123
  variant: "outline",
2394
- icon: /*#__PURE__*/ React__namespace.createElement(WalletIconComponent, {
2395
- wallet: StytchSSRProxy.Wallets[wallet]
2396
- }),
2397
- onClick: ()=>onWalletStart(StytchSSRProxy.Wallets[wallet])
2398
- }, type === 'main' ? $__i18n._(walletMessages[StytchSSRProxy.Wallets[wallet]]) : $__i18n._(WalletToText[StytchSSRProxy.Wallets[wallet]]))), renderOtherScreenButton && type === 'main' ? /*#__PURE__*/ React__namespace.createElement(shadcn.Button, {
2124
+ icon: /*#__PURE__*/ React__namespace.createElement(Icon, null),
2125
+ onClick: ()=>onWalletStart(walletEnum),
2126
+ id: getId(walletEnum)
2127
+ }, type === 'main' ? $__i18n._(walletMessages[walletEnum]) : $__i18n._(WalletToText[walletEnum]));
2128
+ }), renderOtherScreenButton && type === 'main' ? /*#__PURE__*/ React__namespace.createElement(shadcn.Button, {
2399
2129
  variant: "outline",
2400
- icon: /*#__PURE__*/ React__namespace.createElement(WalletIconComponent, {
2401
- wallet: StytchSSRProxy.Wallets.GenericEthereumWallet
2402
- }),
2130
+ icon: /*#__PURE__*/ React__namespace.createElement(GenericWalletIcon, null),
2403
2131
  onClick: ()=>dispatch({
2404
2132
  type: 'transition',
2405
2133
  screen: AppScreens.CryptoOtherScreen
2406
- })
2134
+ }),
2135
+ id: getId(StytchSSRProxy.Wallets.GenericEthereumWallet)
2407
2136
  }, $__i18n._({
2408
2137
  id: "crypto.wallet.continueWithOtherWallet",
2409
2138
  message: "Continue with other Crypto Wallet"
@@ -3742,7 +3471,9 @@ const providerInfo = {
3742
3471
  const OAuthButton = ({ providerType, loginRedirectUrl, signupRedirectUrl, customScopes, providerParams, onSuccess })=>{
3743
3472
  const { i18n: $__i18n, _: $__ } = passwordManagerDisableAutofillProps.useLingui();
3744
3473
  const stytchClient = useStytch();
3745
- const iconRegistry = shadcn.usePresentation().iconRegistry;
3474
+ const presentation = shadcn.usePresentation();
3475
+ const iconRegistry = presentation.iconRegistry;
3476
+ const id = shadcn.getButtonId(`oauth-${providerType}`, presentation.options);
3746
3477
  const provider = providerInfo[providerType];
3747
3478
  let label = providerType;
3748
3479
  let icon = null;
@@ -3765,7 +3496,8 @@ const OAuthButton = ({ providerType, loginRedirectUrl, signupRedirectUrl, custom
3765
3496
  return /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
3766
3497
  onClick: onButtonClick,
3767
3498
  variant: "outline",
3768
- icon: icon
3499
+ icon: icon,
3500
+ id: id
3769
3501
  }, label);
3770
3502
  };
3771
3503
 
@@ -5027,7 +4759,7 @@ var css$1 = ".EditableRow_module_row__4e3b092b{align-items:center;display:flex;g
5027
4759
  shadcn.collectCss(css$1);
5028
4760
  var modules_20f268b7 = {"row":"EditableRow_module_row__4e3b092b","input":"EditableRow_module_input__4e3b092b","actions":"EditableRow_module_actions__4e3b092b"};
5029
4761
 
5030
- const commonButtonProps$1 = {
4762
+ const commonButtonProps = {
5031
4763
  block: false,
5032
4764
  variant: 'ghost'
5033
4765
  };
@@ -5081,7 +4813,7 @@ const EditableRow = ({ id, name, className, state, updateState, handleEdit })=>{
5081
4813
  }, /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
5082
4814
  key: "submit",
5083
4815
  type: "submit",
5084
- ...commonButtonProps$1
4816
+ ...commonButtonProps
5085
4817
  }, $__i18n._({
5086
4818
  id: "button.save",
5087
4819
  message: "Save"
@@ -5089,7 +4821,7 @@ const EditableRow = ({ id, name, className, state, updateState, handleEdit })=>{
5089
4821
  onClick: ()=>updateState({
5090
4822
  type: 'viewing'
5091
4823
  }),
5092
- ...commonButtonProps$1
4824
+ ...commonButtonProps
5093
4825
  }, $__i18n._({
5094
4826
  id: "button.cancel",
5095
4827
  message: "Cancel"
@@ -5107,7 +4839,7 @@ const EditableRow = ({ id, name, className, state, updateState, handleEdit })=>{
5107
4839
  newName: name
5108
4840
  }),
5109
4841
  disabled: othersEditing,
5110
- ...commonButtonProps$1
4842
+ ...commonButtonProps
5111
4843
  }, $__i18n._({
5112
4844
  id: "button.edit",
5113
4845
  message: "Edit"
@@ -5117,7 +4849,7 @@ const EditableRow = ({ id, name, className, state, updateState, handleEdit })=>{
5117
4849
  id
5118
4850
  }),
5119
4851
  disabled: othersEditing,
5120
- ...commonButtonProps$1
4852
+ ...commonButtonProps
5121
4853
  }, $__i18n._({
5122
4854
  id: "button.delete",
5123
4855
  message: "Delete"
@@ -5332,27 +5064,222 @@ const ConnectWallet = ()=>{
5332
5064
  });
5333
5065
  dispatch({
5334
5066
  type: 'transition',
5335
- screen: AppScreens.CryptoSignMessage
5336
- });
5337
- }).catch(handleError);
5338
- };
5339
- shadcn.useMountEffect(()=>{
5340
- onConnectWallet();
5341
- });
5067
+ screen: AppScreens.CryptoSignMessage
5068
+ });
5069
+ }).catch(handleError);
5070
+ };
5071
+ shadcn.useMountEffect(()=>{
5072
+ onConnectWallet();
5073
+ });
5074
+ return /*#__PURE__*/ React__namespace.default.createElement(shadcn.Column, {
5075
+ gap: 6
5076
+ }, /*#__PURE__*/ React__namespace.default.createElement(shadcn.TextColumn, {
5077
+ header: $__i18n._({
5078
+ id: "crypto.connectWallet.title",
5079
+ message: "Connecting to your wallet..."
5080
+ }),
5081
+ body: $__i18n._({
5082
+ id: "crypto.connectWallet.instructionPopup",
5083
+ message: "Complete sign in by connecting through the wallet pop up in the right corner of your screen."
5084
+ }),
5085
+ helper: $__i18n._({
5086
+ id: "crypto.troubleHelp",
5087
+ message: "If you are having trouble, go back to the main screen and try logging in again."
5088
+ })
5089
+ }), /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
5090
+ variant: "outline",
5091
+ onClick: ()=>dispatch({
5092
+ type: 'transition',
5093
+ screen: AppScreens.Main
5094
+ })
5095
+ }, $__i18n._({
5096
+ id: "button.goBack",
5097
+ message: "Go back"
5098
+ })));
5099
+ };
5100
+
5101
+ const SignMessage = ()=>{
5102
+ const { i18n: $__i18n, _: $__ } = passwordManagerDisableAutofillProps.useLingui();
5103
+ const onEvent = useEventCallback();
5104
+ const onError = useErrorCallback();
5105
+ const handleError = ()=>{
5106
+ // eslint-disable-next-line lingui/no-unlocalized-strings -- This is not shown in the UI, just sent to the error callback
5107
+ onError({
5108
+ message: '[Error] Could not sign message'
5109
+ });
5110
+ dispatch({
5111
+ type: 'transition',
5112
+ screen: AppScreens.CryptoError
5113
+ });
5114
+ };
5115
+ const stytchClient = useStytch();
5116
+ const config = useConfig();
5117
+ const [state, dispatch] = useGlobalReducer();
5118
+ const { walletChallenge, walletAddress, walletOption } = state.formState.cryptoState;
5119
+ const walletType = isSolanaWallet(walletOption) ? 'solana' : 'ethereum';
5120
+ const onSignWallet = async ()=>{
5121
+ const signature = await signMessageWithWallet({
5122
+ wallet: walletOption,
5123
+ message: walletChallenge,
5124
+ address: walletAddress
5125
+ });
5126
+ stytchClient.cryptoWallets.authenticate({
5127
+ crypto_wallet_address: walletAddress,
5128
+ crypto_wallet_type: walletType,
5129
+ signature,
5130
+ session_duration_minutes: config.sessionOptions?.sessionDurationMinutes ?? idpHelpers.DEFAULT_SESSION_DURATION_MINUTES
5131
+ }).then((data)=>{
5132
+ onEvent({
5133
+ type: StytchSSRProxy.StytchEventType.CryptoWalletAuthenticate,
5134
+ data
5135
+ });
5136
+ dispatch({
5137
+ type: 'transition',
5138
+ screen: AppScreens.CryptoConfirmation
5139
+ });
5140
+ }).catch(handleError);
5141
+ };
5142
+ shadcn.useMountEffect(()=>{
5143
+ onSignWallet();
5144
+ });
5145
+ return /*#__PURE__*/ React__namespace.default.createElement(shadcn.Column, {
5146
+ gap: 6
5147
+ }, /*#__PURE__*/ React__namespace.default.createElement(shadcn.TextColumn, {
5148
+ header: $__i18n._({
5149
+ id: "crypto.signMessage.title",
5150
+ message: "Completing signature request..."
5151
+ }),
5152
+ body: $__i18n._({
5153
+ id: "crypto.signMessage.instruction",
5154
+ message: "Complete the signature request through the wallet pop up in the right corner of your screen."
5155
+ }),
5156
+ helper: $__i18n._({
5157
+ id: "crypto.troubleHelp",
5158
+ message: "If you are having trouble, go back to the main screen and try logging in again."
5159
+ })
5160
+ }), /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
5161
+ variant: "outline",
5162
+ onClick: ()=>dispatch({
5163
+ type: 'transition',
5164
+ screen: AppScreens.Main
5165
+ })
5166
+ }, $__i18n._({
5167
+ id: "button.goBack",
5168
+ message: "Go back"
5169
+ })));
5170
+ };
5171
+
5172
+ const OtherCryptoWallets = ()=>{
5173
+ const { i18n: $__i18n, _: $__ } = passwordManagerDisableAutofillProps.useLingui();
5174
+ const [, dispatch] = useGlobalReducer();
5175
+ return /*#__PURE__*/ React__namespace.default.createElement(shadcn.Column, {
5176
+ gap: 6
5177
+ }, /*#__PURE__*/ React__namespace.default.createElement(shadcn.Typography, {
5178
+ variant: "header"
5179
+ }, $__i18n._({
5180
+ id: "crypto.continueWithOtherWallet.title",
5181
+ message: "Continue with other wallet"
5182
+ })), /*#__PURE__*/ React__namespace.default.createElement(shadcn.ButtonColumn, null, /*#__PURE__*/ React__namespace.default.createElement(CryptoWalletButtons, {
5183
+ type: "other"
5184
+ }), /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
5185
+ variant: "ghost",
5186
+ onClick: ()=>dispatch({
5187
+ type: 'transition',
5188
+ screen: AppScreens.Main
5189
+ })
5190
+ }, $__i18n._({
5191
+ id: "button.goBack",
5192
+ message: "Go back"
5193
+ }))));
5194
+ };
5195
+
5196
+ const SetupNewWallet = ()=>{
5197
+ const { i18n: $__i18n, _: $__ } = passwordManagerDisableAutofillProps.useLingui();
5198
+ const [, dispatch] = useGlobalReducer();
5199
+ const { getIcon, getId } = useCryptoButtonProps();
5200
+ const walletsToRender = [
5201
+ StytchSSRProxy.Wallets.Metamask,
5202
+ StytchSSRProxy.Wallets.Phantom,
5203
+ StytchSSRProxy.Wallets.Coinbase,
5204
+ StytchSSRProxy.Wallets.Binance
5205
+ ];
5206
+ return /*#__PURE__*/ React__namespace.default.createElement(shadcn.Column, {
5207
+ gap: 6
5208
+ }, /*#__PURE__*/ React__namespace.default.createElement(shadcn.TextColumn, {
5209
+ header: $__i18n._({
5210
+ id: "crypto.setupNewWallet.title",
5211
+ message: "Set up a new crypto wallet"
5212
+ }),
5213
+ body: $__i18n._({
5214
+ id: "crypto.setupNewWallet.content",
5215
+ message: "Get started by downloading any Ethereum or Solana wallet."
5216
+ }),
5217
+ helper: $__i18n._({
5218
+ id: "crypto.setupNewWallet.instruction",
5219
+ message: "We’ve included a few examples of wallet extensions you can find below. Once you’ve set up your wallet, click “Go back” to use it and sign in."
5220
+ })
5221
+ }), /*#__PURE__*/ React__namespace.default.createElement(shadcn.ButtonColumn, null, walletsToRender.map((wallet)=>{
5222
+ const Icon = getIcon(wallet);
5223
+ return /*#__PURE__*/ React__namespace.default.createElement(shadcn.ButtonAnchor, {
5224
+ key: wallet,
5225
+ variant: "outline",
5226
+ target: "_blank",
5227
+ rel: "noreferrer",
5228
+ icon: /*#__PURE__*/ React__namespace.default.createElement(Icon, null),
5229
+ href: "https://metamask.io/",
5230
+ id: getId(wallet)
5231
+ }, $__i18n._(WalletToText[wallet]));
5232
+ }), /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
5233
+ variant: "primary",
5234
+ onClick: ()=>dispatch({
5235
+ type: 'transition',
5236
+ screen: AppScreens.Main
5237
+ })
5238
+ }, $__i18n._({
5239
+ id: "button.goBack",
5240
+ message: "Go back"
5241
+ }))));
5242
+ };
5243
+
5244
+ const Error$1 = ()=>{
5245
+ const { i18n: $__i18n, _: $__ } = passwordManagerDisableAutofillProps.useLingui();
5246
+ const [, dispatch] = useGlobalReducer();
5342
5247
  return /*#__PURE__*/ React__namespace.default.createElement(shadcn.Column, {
5343
5248
  gap: 6
5344
5249
  }, /*#__PURE__*/ React__namespace.default.createElement(shadcn.TextColumn, {
5345
5250
  header: $__i18n._({
5346
- id: "crypto.connectWallet.title",
5347
- message: "Connecting to your wallet..."
5251
+ id: "crypto.error.title",
5252
+ message: "Looks like there was an error"
5348
5253
  }),
5349
5254
  body: $__i18n._({
5350
- id: "crypto.connectWallet.instructionPopup",
5351
- message: "Complete sign in by connecting through the wallet pop up in the right corner of your screen."
5255
+ id: "crypto.error.content",
5256
+ message: "Your sign in request could not be completed. Go back to the main screen and try logging in again."
5257
+ })
5258
+ }), /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
5259
+ variant: "outline",
5260
+ onClick: ()=>dispatch({
5261
+ type: 'transition',
5262
+ screen: AppScreens.Main
5263
+ })
5264
+ }, $__i18n._({
5265
+ id: "button.goBack",
5266
+ message: "Go back"
5267
+ })));
5268
+ };
5269
+
5270
+ const Success = ()=>{
5271
+ const { i18n: $__i18n, _: $__ } = passwordManagerDisableAutofillProps.useLingui();
5272
+ const [, dispatch] = useGlobalReducer();
5273
+ return /*#__PURE__*/ React__namespace.default.createElement(shadcn.Column, {
5274
+ gap: 6
5275
+ }, /*#__PURE__*/ React__namespace.default.createElement(shadcn.Confirmation, {
5276
+ header: $__i18n._({
5277
+ id: "crypto.success.title",
5278
+ message: "Success!"
5352
5279
  }),
5353
- helper: $__i18n._({
5354
- id: "crypto.troubleHelp",
5355
- message: "If you are having trouble, go back to the main screen and try logging in again."
5280
+ text: $__i18n._({
5281
+ id: "crypto.success.content",
5282
+ message: "You have successfully connected your wallet."
5356
5283
  })
5357
5284
  }), /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
5358
5285
  variant: "outline",
@@ -5366,219 +5293,271 @@ const ConnectWallet = ()=>{
5366
5293
  })));
5367
5294
  };
5368
5295
 
5369
- const SignMessage = ()=>{
5370
- const { i18n: $__i18n, _: $__ } = passwordManagerDisableAutofillProps.useLingui();
5371
- const onEvent = useEventCallback();
5372
- const onError = useErrorCallback();
5373
- const handleError = ()=>{
5374
- // eslint-disable-next-line lingui/no-unlocalized-strings -- This is not shown in the UI, just sent to the error callback
5375
- onError({
5376
- message: '[Error] Could not sign message'
5377
- });
5378
- dispatch({
5379
- type: 'transition',
5380
- screen: AppScreens.CryptoError
5381
- });
5382
- };
5383
- const stytchClient = useStytch();
5384
- const config = useConfig();
5385
- const [state, dispatch] = useGlobalReducer();
5386
- const { walletChallenge, walletAddress, walletOption } = state.formState.cryptoState;
5387
- const walletType = isSolanaWallet(walletOption) ? 'solana' : 'ethereum';
5388
- const onSignWallet = async ()=>{
5389
- const signature = await signMessageWithWallet({
5390
- wallet: walletOption,
5391
- message: walletChallenge,
5392
- address: walletAddress
5393
- });
5394
- stytchClient.cryptoWallets.authenticate({
5395
- crypto_wallet_address: walletAddress,
5396
- crypto_wallet_type: walletType,
5397
- signature,
5398
- session_duration_minutes: config.sessionOptions?.sessionDurationMinutes ?? idpHelpers.DEFAULT_SESSION_DURATION_MINUTES
5399
- }).then((data)=>{
5400
- onEvent({
5401
- type: StytchSSRProxy.StytchEventType.CryptoWalletAuthenticate,
5402
- data
5403
- });
5404
- dispatch({
5405
- type: 'transition',
5406
- screen: AppScreens.CryptoConfirmation
5407
- });
5408
- }).catch(handleError);
5409
- };
5410
- shadcn.useMountEffect(()=>{
5411
- onSignWallet();
5412
- });
5413
- return /*#__PURE__*/ React__namespace.default.createElement(shadcn.Column, {
5414
- gap: 6
5415
- }, /*#__PURE__*/ React__namespace.default.createElement(shadcn.TextColumn, {
5416
- header: $__i18n._({
5417
- id: "crypto.signMessage.title",
5418
- message: "Completing signature request..."
5419
- }),
5420
- body: $__i18n._({
5421
- id: "crypto.signMessage.instruction",
5422
- message: "Complete the signature request through the wallet pop up in the right corner of your screen."
5423
- }),
5424
- helper: $__i18n._({
5425
- id: "crypto.troubleHelp",
5426
- message: "If you are having trouble, go back to the main screen and try logging in again."
5427
- })
5428
- }), /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
5429
- variant: "outline",
5430
- onClick: ()=>dispatch({
5431
- type: 'transition',
5432
- screen: AppScreens.Main
5433
- })
5434
- }, $__i18n._({
5435
- id: "button.goBack",
5436
- message: "Go back"
5437
- })));
5438
- };
5296
+ const AmazonIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5297
+ xmlns: "http://www.w3.org/2000/svg",
5298
+ width: 20,
5299
+ height: 20,
5300
+ fill: "none",
5301
+ ...props
5302
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5303
+ fill: "#F90",
5304
+ d: "M16.5 15.53C9.2 19 4.69 16.1 1.8 14.33c-.19-.1-.5.03-.23.34.97 1.17 4.13 3.98 8.25 3.98s6.59-2.25 6.9-2.64c.3-.4.08-.6-.22-.48m2.04-1.13c-.2-.25-1.19-.3-1.81-.22s-1.57.45-1.49.68c.04.09.13.05.56.01s1.64-.2 1.9.14c.25.33-.4 1.9-.51 2.16s.04.32.25.15.6-.6.85-1.23c.25-.62.4-1.5.25-1.69"
5305
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5306
+ fill: "#000",
5307
+ fillRule: "evenodd",
5308
+ d: "M11.6 8.46c0 .9.02 1.67-.44 2.47-.37.66-.96 1.06-1.62 1.06-.9 0-1.42-.68-1.42-1.69 0-1.99 1.79-2.35 3.48-2.35zm2.35 5.69a.5.5 0 0 1-.55.05c-.78-.64-.91-.94-1.34-1.55-1.28 1.3-2.19 1.7-3.85 1.7-1.96 0-3.5-1.22-3.5-3.64 0-1.9 1.03-3.19 2.5-3.82 1.26-.56 3.03-.66 4.39-.81v-.3c0-.56.04-1.22-.29-1.7-.28-.43-.83-.6-1.3-.6-.9 0-1.7.45-1.89 1.4-.04.21-.19.42-.4.43l-2.27-.25c-.19-.04-.4-.2-.34-.49C5.63 1.83 8.1 1 10.33 1c1.13 0 2.62.3 3.52 1.16 1.13 1.06 1.02 2.48 1.02 4.02v3.64c0 1.1.46 1.57.88 2.16.16.21.19.47 0 .63-.48.4-1.33 1.13-1.8 1.55z",
5309
+ clipRule: "evenodd",
5310
+ className: shadcn.modules_73af8a26.darkInvert
5311
+ }));
5312
+
5313
+ const AppleIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5314
+ xmlns: "http://www.w3.org/2000/svg",
5315
+ width: 20,
5316
+ height: 20,
5317
+ fill: "none",
5318
+ ...props
5319
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5320
+ fill: "#000",
5321
+ d: "M16.55 7.14c-.1.08-1.86 1.12-1.86 3.43A4 4 0 0 0 17 14.2c0 .06-.35 1.3-1.18 2.56-.74 1.1-1.5 2.21-2.67 2.21s-1.47-.7-2.82-.7c-1.32 0-1.79.73-2.86.73S5.66 17.97 4.8 16.7c-1-1.48-1.8-3.78-1.8-5.96C3 7.25 5.17 5.4 7.31 5.4c1.14 0 2.09.78 2.8.78.68 0 1.74-.83 3.03-.83.5 0 2.26.05 3.41 1.79m-4.02-3.27c.53-.66.91-1.59.91-2.5q0-.22-.03-.37c-.87.03-1.9.6-2.53 1.36-.49.59-.95 1.5-.95 2.44 0 .14.03.28.04.33l.23.02c.78 0 1.76-.54 2.33-1.28",
5322
+ className: shadcn.modules_73af8a26.darkInvert
5323
+ }));
5324
+
5325
+ const BinanceIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5326
+ xmlns: "http://www.w3.org/2000/svg",
5327
+ width: 20,
5328
+ height: 20,
5329
+ fill: "none",
5330
+ ...props
5331
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5332
+ fill: "#F3BA2F",
5333
+ d: "m6.43 8.56 3.5-3.5 3.49 3.5 2.03-2.03L9.92 1 4.4 6.53zM4.99 10 2.96 7.97.92 10l2.04 2.03zM6.43 11.44l3.5 3.5 3.49-3.5 2.03 2.03L9.92 19 4.4 13.47zM16.89 12.03 18.92 10 16.9 7.97 14.85 10z"
5334
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5335
+ fill: "#F3BA2F",
5336
+ d: "M11.99 10 9.92 7.93 8.4 9.46l-.18.18-.36.36 2.06 2.07z"
5337
+ }));
5338
+
5339
+ const BitbucketIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5340
+ xmlns: "http://www.w3.org/2000/svg",
5341
+ width: 20,
5342
+ height: 20,
5343
+ fill: "none",
5344
+ ...props
5345
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5346
+ fill: "#1868DB",
5347
+ d: "m17.96 9.14-1.34 8.08a.9.9 0 0 1-.93.78H4.3a.9.9 0 0 1-.93-.78L1.02 2.81c-.1-.5.17-.81.64-.81h16.68c.47 0 .73.32.64.8l-.64 3.8c-.09.55-.4.78-.93.78H7.37q-.23 0-.2.26l.79 4.78q.05.18.23.2h3.62q.17-.02.23-.2l.56-3.46c.05-.43.35-.6.75-.6h3.94c.58 0 .76.29.67.78"
5348
+ }));
5349
+
5350
+ const CoinbaseIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5351
+ xmlns: "http://www.w3.org/2000/svg",
5352
+ width: 20,
5353
+ height: 20,
5354
+ fill: "none",
5355
+ ...props
5356
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5357
+ fill: "#0052FF",
5358
+ d: "M10.02 14.5a4.5 4.5 0 1 1 4.44-5.25H19a9 9 0 1 0 0 1.5h-4.54a4.5 4.5 0 0 1-4.44 3.75"
5359
+ }));
5360
+
5361
+ const DiscordIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5362
+ xmlns: "http://www.w3.org/2000/svg",
5363
+ width: 20,
5364
+ height: 20,
5365
+ fill: "none",
5366
+ ...props
5367
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5368
+ fill: "#5865F2",
5369
+ d: "M12.53 3q-.26.44-.47.92a15 15 0 0 0-4.12 0q-.21-.47-.48-.92-1.93.3-3.72 1.1a13.8 13.8 0 0 0-2.66 9.72Q3.15 15.28 5.63 16q.56-.72.98-1.5a10 10 0 0 1-1.54-.7l.38-.27c2.88 1.3 6.22 1.3 9.1 0q.19.15.38.27a10 10 0 0 1-1.54.7q.41.8.98 1.5 2.48-.7 4.55-2.18c.38-3.69-.64-6.89-2.67-9.73a15 15 0 0 0-3.71-1.08zm-5.52 8.86c-.89 0-1.62-.77-1.62-1.72 0-.94.7-1.71 1.62-1.71.9 0 1.63.77 1.62 1.71-.02.95-.72 1.72-1.62 1.72m5.98 0c-.89 0-1.62-.77-1.62-1.72 0-.94.7-1.71 1.62-1.71.91 0 1.63.77 1.62 1.71-.02.95-.72 1.72-1.62 1.72"
5370
+ }));
5371
+
5372
+ const FacebookIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5373
+ xmlns: "http://www.w3.org/2000/svg",
5374
+ width: 20,
5375
+ height: 20,
5376
+ fill: "none",
5377
+ ...props
5378
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5379
+ fill: "#0866FF",
5380
+ d: "M19 10a9 9 0 1 0-11.17 8.73v-5.98H5.97V10h1.86V8.81c0-3.06 1.38-4.48 4.39-4.48.57 0 1.55.11 1.96.23v2.49q-.35-.03-1.04-.03c-1.48 0-2.05.55-2.05 2V10h2.94l-.5 2.75h-2.44v6.18A9 9 0 0 0 19 10"
5381
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5382
+ fill: "#fff",
5383
+ d: "m13.53 12.75.5-2.75h-2.94v-.97c0-1.46.57-2.01 2.05-2.01q.7 0 1.04.03v-2.5a10 10 0 0 0-1.96-.22c-3 0-4.4 1.42-4.4 4.48V10H5.98v2.75h1.86v5.98a9 9 0 0 0 3.26.2v-6.18z"
5384
+ }));
5385
+
5386
+ const FigmaIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5387
+ xmlns: "http://www.w3.org/2000/svg",
5388
+ width: 20,
5389
+ height: 20,
5390
+ fill: "none",
5391
+ ...props
5392
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5393
+ fill: "#24CB71",
5394
+ d: "M4 16a3 3 0 0 1 3-3h3v3a3 3 0 0 1-6 0"
5395
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5396
+ fill: "#FF7237",
5397
+ d: "M10 1v6h3a3 3 0 0 0 0-6z"
5398
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5399
+ fill: "#00B6FF",
5400
+ d: "M12.98 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6"
5401
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5402
+ fill: "#FF3737",
5403
+ d: "M4 4a3 3 0 0 0 3 3h3V1H7a3 3 0 0 0-3 3"
5404
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5405
+ fill: "#874FFF",
5406
+ d: "M4 10a3 3 0 0 0 3 3h3V7H7a3 3 0 0 0-3 3"
5407
+ }));
5408
+
5409
+ const GitlabIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5410
+ xmlns: "http://www.w3.org/2000/svg",
5411
+ width: 20,
5412
+ height: 20,
5413
+ fill: "none",
5414
+ ...props
5415
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5416
+ fill: "#E24329",
5417
+ d: "m18.7 8.2-.03-.07-2.45-6.4A.65.65 0 0 0 15 1.8l-1.65 5.07h-6.7L5 1.8a.64.64 0 0 0-.97-.37.6.6 0 0 0-.25.3l-2.45 6.4-.03.06a4.55 4.55 0 0 0 1.51 5.26l.03.02 3.73 2.8 1.85 1.4 1.12.84c.27.21.65.21.92 0l1.12-.84 1.85-1.4 3.75-2.81.01-.01a4.55 4.55 0 0 0 1.5-5.26"
5418
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5419
+ fill: "#FC6D26",
5420
+ d: "m18.7 8.2-.03-.07a8 8 0 0 0-3.29 1.48L10 13.68l3.43 2.59 3.75-2.81.01-.01a4.55 4.55 0 0 0 1.5-5.26"
5421
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5422
+ fill: "#FCA326",
5423
+ d: "m6.57 16.27 1.85 1.4 1.12.84c.27.21.65.21.92 0l1.12-.84 1.85-1.4s-1.6-1.2-3.43-2.6c-1.83 1.4-3.43 2.6-3.43 2.6"
5424
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5425
+ fill: "#FC6D26",
5426
+ d: "M4.62 9.61a8 8 0 0 0-3.3-1.48l-.02.06a4.55 4.55 0 0 0 1.51 5.26l.03.02 3.73 2.8s1.6-1.2 3.43-2.6z"
5427
+ }));
5428
+
5429
+ const LinkedinIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5430
+ xmlns: "http://www.w3.org/2000/svg",
5431
+ width: 20,
5432
+ height: 20,
5433
+ fill: "none",
5434
+ ...props
5435
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5436
+ fill: "#007EBB",
5437
+ fillRule: "evenodd",
5438
+ d: "M3 19h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H3a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2",
5439
+ clipRule: "evenodd"
5440
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5441
+ fill: "#fff",
5442
+ fillRule: "evenodd",
5443
+ d: "M16.5 16.5h-2.67v-4.55c0-1.25-.48-1.94-1.46-1.94-1.08 0-1.64.72-1.64 1.94v4.55H8.16V7.83h2.57V9s.78-1.43 2.62-1.43c1.83 0 3.15 1.12 3.15 3.44zM5.09 6.7A1.6 1.6 0 0 1 3.5 5.1c0-.88.71-1.6 1.59-1.6.87 0 1.58.72 1.58 1.6s-.7 1.6-1.58 1.6m-1.33 9.8h2.68V7.83H3.76z",
5444
+ clipRule: "evenodd"
5445
+ }));
5446
+
5447
+ const MetamaskIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5448
+ xmlns: "http://www.w3.org/2000/svg",
5449
+ width: 20,
5450
+ height: 20,
5451
+ fill: "none",
5452
+ ...props
5453
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5454
+ fill: "#FF5C16",
5455
+ d: "m17.82 18.08-3.88-1.15-2.92 1.75H8.98l-2.93-1.75-3.87 1.15L1 14.1 2.18 9.7 1 5.95l1.18-4.63 6.05 3.62h3.54l6.05-3.62L19 5.95 17.82 9.7 19 14.1z"
5456
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5457
+ fill: "#FF5C16",
5458
+ d: "m2.18 1.32 6.06 3.62-.25 2.49zM6.06 14.1l2.66 2.03-2.66.8zM8.5 10.75 8 7.43 4.71 9.69V12l1.33-1.26zM17.82 1.32l-6.05 3.62.24 2.49zM13.95 14.1l-2.67 2.03 2.67.8zM15.29 9.69 12 7.43l-.52 3.32h2.46L15.28 12z"
5459
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5460
+ fill: "#E34807",
5461
+ d: "m6.05 16.93-3.87 1.15L1 14.1h5.05zM8.5 10.75l.75 4.8-1.03-2.67-3.5-.87 1.33-1.26zM13.95 16.93l3.87 1.15L19 14.1h-5.05zM11.5 10.75l-.75 4.8 1.03-2.67 3.5-.87-1.33-1.26z"
5462
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5463
+ fill: "#FF8D5D",
5464
+ d: "M1 14.1 2.18 9.7H4.7L4.72 12l3.5.87 1.03 2.66-.53.6-2.67-2.04zM19 14.1 17.82 9.7H15.3L15.28 12l-3.5.87-1.03 2.66.53.6 2.67-2.04z"
5465
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5466
+ fill: "#FF8D5D",
5467
+ d: "M11.77 4.94H8.23L8 7.43l1.26 8.11h1.5l1.26-8.11z"
5468
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5469
+ fill: "#661800",
5470
+ d: "M2.18 1.32 1 5.95 2.18 9.7H4.7L8 7.43zM7.77 11.71H6.62l-.62.61 2.22.56zM17.82 1.32 19 5.95 17.82 9.7H15.3L12 7.43zM12.23 11.71h1.15l.62.62-2.22.55zM11.02 17.1l.26-.97-.53-.58h-1.5l-.53.58.26.96"
5471
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5472
+ fill: "#C0C4CD",
5473
+ d: "M11.02 17.1v1.58H8.98v-1.59z"
5474
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5475
+ fill: "#E7EBF6",
5476
+ d: "m6.06 16.93 2.92 1.75v-1.59l-.26-.96zM13.95 16.93l-2.93 1.75v-1.59l.26-.96z"
5477
+ }));
5478
+
5479
+ const PhantomIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5480
+ xmlns: "http://www.w3.org/2000/svg",
5481
+ width: 20,
5482
+ height: 20,
5483
+ fill: "none",
5484
+ ...props
5485
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5486
+ fill: "#AB9FF2",
5487
+ d: "M3.13 17.5c2.3 0 4.02-2 5.05-3.58q-.19.53-.2 1.04c0 .92.54 1.58 1.58 1.58 1.44 0 2.97-1.26 3.76-2.62a2 2 0 0 0-.08.55c0 .64.36 1.04 1.1 1.04 2.32 0 4.66-4.12 4.66-7.73 0-2.8-1.42-5.28-4.98-5.28C7.75 2.5 1 10.16 1 15.11c0 1.94 1.04 2.39 2.13 2.39m8.73-10.02c0-.7.39-1.2.96-1.2s.95.5.95 1.2-.4 1.2-.95 1.2c-.57 0-.96-.5-.96-1.2m2.98 0c0-.7.39-1.2.96-1.2.55 0 .94.5.94 1.2s-.38 1.2-.94 1.2c-.57 0-.96-.5-.96-1.2"
5488
+ }));
5489
+
5490
+ const SalesforceIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5491
+ xmlns: "http://www.w3.org/2000/svg",
5492
+ width: 20,
5493
+ height: 20,
5494
+ fill: "none",
5495
+ ...props
5496
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5497
+ fill: "#00A1E0",
5498
+ fillRule: "evenodd",
5499
+ d: "M8.49 4.92a3.1 3.1 0 0 1 2.28-1.01c1.2 0 2.22.68 2.78 1.7q.75-.35 1.57-.35c2.14 0 3.88 1.8 3.88 4.04a3.96 3.96 0 0 1-4.65 3.96c-.49.9-1.42 1.5-2.47 1.5q-.65 0-1.25-.3a3.2 3.2 0 0 1-2.97 2.04c-1.4 0-2.58-.9-3.04-2.18q-.3.06-.62.06c-1.66 0-3-1.4-3-3.13 0-1.16.6-2.17 1.5-2.71a4 4 0 0 1-.29-1.44c0-1.99 1.57-3.6 3.5-3.6 1.13 0 2.15.56 2.78 1.42",
5500
+ clipRule: "evenodd"
5501
+ }));
5439
5502
 
5440
- const OtherCryptoWallets = ()=>{
5441
- const { i18n: $__i18n, _: $__ } = passwordManagerDisableAutofillProps.useLingui();
5442
- const [, dispatch] = useGlobalReducer();
5443
- return /*#__PURE__*/ React__namespace.default.createElement(shadcn.Column, {
5444
- gap: 6
5445
- }, /*#__PURE__*/ React__namespace.default.createElement(shadcn.Typography, {
5446
- variant: "header"
5447
- }, $__i18n._({
5448
- id: "crypto.continueWithOtherWallet.title",
5449
- message: "Continue with other wallet"
5450
- })), /*#__PURE__*/ React__namespace.default.createElement(shadcn.ButtonColumn, null, /*#__PURE__*/ React__namespace.default.createElement(CryptoWalletButtons, {
5451
- type: "other"
5452
- }), /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
5453
- variant: "ghost",
5454
- onClick: ()=>dispatch({
5455
- type: 'transition',
5456
- screen: AppScreens.Main
5457
- })
5458
- }, $__i18n._({
5459
- id: "button.goBack",
5460
- message: "Go back"
5461
- }))));
5462
- };
5503
+ const SnapchatIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5504
+ xmlns: "http://www.w3.org/2000/svg",
5505
+ width: 20,
5506
+ height: 20,
5507
+ fill: "none",
5508
+ ...props
5509
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5510
+ fill: "#fff",
5511
+ d: "M17.72 14.26c-2.78-1.35-3.23-3.43-3.25-3.59-.02-.18-.05-.33.16-.52.2-.19 1.08-.73 1.32-.9q.63-.41.46-.92c-.1-.24-.32-.33-.56-.33l-.22.03c-.44.1-.87.32-1.12.38h-.1q-.19.02-.17-.21c.03-.49.1-1.44.02-2.32a3.7 3.7 0 0 0-.96-2.36A4.3 4.3 0 0 0 10 2.14a4.3 4.3 0 0 0-3.3 1.37 3.7 3.7 0 0 0-.96 2.36c-.08.89 0 1.84.02 2.33q.01.22-.17.22l-.1-.02c-.24-.06-.68-.28-1.12-.38L4.15 8c-.24 0-.46.1-.55.33-.14.35.04.63.45.91.24.17 1.13.72 1.33.9.2.2.18.34.15.53-.02.16-.46 2.24-3.25 3.59-.16.08-.44.24.05.51.77.43 1.28.38 1.68.64.34.22.14.69.38.86.3.2 1.2-.02 2.35.36.96.32 1.55 1.22 3.26 1.22s2.32-.9 3.27-1.22c1.15-.38 2.04-.16 2.34-.36.25-.17.05-.64.39-.86.4-.26.9-.21 1.68-.64.48-.26.2-.43.04-.5",
5512
+ className: shadcn.modules_73af8a26.darkInvert
5513
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5514
+ fill: "#000",
5515
+ d: "M18.94 14.1a1.3 1.3 0 0 0-.64-.67l-.14-.07-.24-.13a5.4 5.4 0 0 1-1.97-1.68 4 4 0 0 1-.33-.6q-.06-.16-.01-.23l.1-.12.82-.53q.52-.36.74-.8a1.6 1.6 0 0 0 .08-1.3c-.23-.6-.8-.98-1.5-.98a2 2 0 0 0-.54.08q.01-.64-.04-1.29a4.83 4.83 0 0 0-2.44-3.93A5.6 5.6 0 0 0 10 1.15a5.6 5.6 0 0 0-2.82.72 4.8 4.8 0 0 0-2.44 3.93q-.06.66-.04 1.28a3 3 0 0 0-.55-.08 1.54 1.54 0 0 0-1.6 1.65q.01.33.18.64.23.43.74.8l.42.27.38.25q.08.04.12.12.05.07-.01.24-.14.3-.33.59a5.4 5.4 0 0 1-1.91 1.65c-.43.23-.89.39-1.08.9-.14.4-.05.84.32 1.21q.2.21.46.35.53.3 1.12.45.13.03.23.1c.13.12.12.3.3.55q.13.2.33.34c.37.26.78.27 1.23.3.4 0 .85.02 1.37.2q.3.11.7.36c.61.38 1.46.9 2.88.9s2.27-.52 2.9-.9q.37-.25.68-.36c.52-.17.97-.2 1.37-.2.44-.02.86-.04 1.23-.3q.24-.16.38-.41c.13-.22.13-.37.25-.47l.21-.1a5 5 0 0 0 1.14-.46q.28-.15.48-.37v-.01c.35-.37.44-.8.3-1.18m-1.27.68c-.77.42-1.28.38-1.67.64-.34.21-.14.68-.39.85-.3.21-1.2-.01-2.34.37-.95.31-1.56 1.21-3.27 1.21-1.7 0-2.3-.9-3.27-1.22-1.15-.38-2.04-.15-2.34-.36-.25-.17-.05-.64-.38-.86-.4-.25-.91-.2-1.68-.63-.5-.27-.21-.44-.05-.52 2.79-1.35 3.23-3.43 3.25-3.58.02-.2.05-.34-.16-.53-.2-.18-1.08-.73-1.32-.9-.4-.28-.59-.57-.46-.91.1-.25.32-.34.56-.34l.22.03c.44.1.87.32 1.12.38l.1.01q.19 0 .17-.22c-.03-.49-.1-1.43-.02-2.32.1-1.22.5-1.83.96-2.36A4.3 4.3 0 0 1 10 2.15a4.3 4.3 0 0 1 3.3 1.36c.46.54.86 1.14.96 2.36.08.89.01 1.84-.02 2.33q-.01.23.17.22l.1-.02c.24-.06.68-.28 1.12-.38l.22-.02c.24 0 .46.1.56.33q.17.5-.46.91c-.24.17-1.13.72-1.32.9-.21.2-.18.34-.16.53.02.16.46 2.24 3.25 3.59.17.08.44.25-.05.52",
5516
+ className: shadcn.modules_73af8a26.darkInvert
5517
+ }));
5463
5518
 
5464
- const commonButtonProps = {
5465
- variant: 'outline',
5466
- target: '_blank',
5467
- rel: 'noreferrer'
5468
- };
5469
- const walletIcon = (wallet)=>{
5470
- const Icon = WalletToIcon[wallet];
5471
- return /*#__PURE__*/ React__namespace.default.createElement(Icon, null);
5472
- };
5473
- const SetupNewWallet = ()=>{
5474
- const { i18n: $__i18n, _: $__ } = passwordManagerDisableAutofillProps.useLingui();
5475
- const [, dispatch] = useGlobalReducer();
5476
- return /*#__PURE__*/ React__namespace.default.createElement(shadcn.Column, {
5477
- gap: 6
5478
- }, /*#__PURE__*/ React__namespace.default.createElement(shadcn.TextColumn, {
5479
- header: $__i18n._({
5480
- id: "crypto.setupNewWallet.title",
5481
- message: "Set up a new crypto wallet"
5482
- }),
5483
- body: $__i18n._({
5484
- id: "crypto.setupNewWallet.content",
5485
- message: "Get started by downloading any Ethereum or Solana wallet."
5486
- }),
5487
- helper: $__i18n._({
5488
- id: "crypto.setupNewWallet.instruction",
5489
- message: "We’ve included a few examples of wallet extensions you can find below. Once you’ve set up your wallet, click “Go back” to use it and sign in."
5490
- })
5491
- }), /*#__PURE__*/ React__namespace.default.createElement(shadcn.ButtonColumn, null, /*#__PURE__*/ React__namespace.default.createElement(shadcn.ButtonAnchor, {
5492
- ...commonButtonProps,
5493
- icon: walletIcon(StytchSSRProxy.Wallets.Metamask),
5494
- href: "https://metamask.io/"
5495
- }, $__i18n._({
5496
- id: "crypto.wallet.metamask",
5497
- message: "Metamask"
5498
- })), /*#__PURE__*/ React__namespace.default.createElement(shadcn.ButtonAnchor, {
5499
- ...commonButtonProps,
5500
- icon: walletIcon(StytchSSRProxy.Wallets.Phantom),
5501
- href: "https://phantom.app/"
5502
- }, $__i18n._({
5503
- id: "crypto.wallet.phantom",
5504
- message: "Phantom"
5505
- })), /*#__PURE__*/ React__namespace.default.createElement(shadcn.ButtonAnchor, {
5506
- ...commonButtonProps,
5507
- icon: walletIcon(StytchSSRProxy.Wallets.Coinbase),
5508
- href: "https://www.coinbase.com/wallet"
5509
- }, $__i18n._({
5510
- id: "crypto.wallet.coinbase",
5511
- message: "Coinbase"
5512
- })), /*#__PURE__*/ React__namespace.default.createElement(shadcn.ButtonAnchor, {
5513
- ...commonButtonProps,
5514
- icon: walletIcon(StytchSSRProxy.Wallets.Binance),
5515
- href: "https://www.bnbchain.world/en/binance-wallet"
5516
- }, $__i18n._({
5517
- id: "crypto.wallet.binance",
5518
- message: "Binance"
5519
- })), /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
5520
- variant: "primary",
5521
- onClick: ()=>dispatch({
5522
- type: 'transition',
5523
- screen: AppScreens.Main
5524
- })
5525
- }, $__i18n._({
5526
- id: "button.goBack",
5527
- message: "Go back"
5528
- }))));
5529
- };
5519
+ const TiktokIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5520
+ xmlns: "http://www.w3.org/2000/svg",
5521
+ width: 20,
5522
+ height: 20,
5523
+ fill: "none",
5524
+ ...props
5525
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5526
+ fill: "#161823",
5527
+ fillRule: "evenodd",
5528
+ d: "M11.38 1.79h2.3A4.42 4.42 0 0 0 18 5.3v.68l.01 2.41a7.6 7.6 0 0 1-4.39-1.38v6.28c0 3.14-2.6 5.7-5.8 5.7a6 6 0 0 1-3.33-1.03A5.7 5.7 0 0 1 2 13.3a5.76 5.76 0 0 1 6.59-5.64v3.16q-.37-.11-.78-.12a2.63 2.63 0 0 0-2.66 2.6c0 1 .58 1.87 1.43 2.3q.55.3 1.23.3c1.42 0 2.59-1.1 2.64-2.5V1h3.16q0 .4.08.79z",
5529
+ clipRule: "evenodd",
5530
+ className: shadcn.modules_73af8a26.darkInvert
5531
+ }));
5530
5532
 
5531
- const Error$1 = ()=>{
5532
- const { i18n: $__i18n, _: $__ } = passwordManagerDisableAutofillProps.useLingui();
5533
- const [, dispatch] = useGlobalReducer();
5534
- return /*#__PURE__*/ React__namespace.default.createElement(shadcn.Column, {
5535
- gap: 6
5536
- }, /*#__PURE__*/ React__namespace.default.createElement(shadcn.TextColumn, {
5537
- header: $__i18n._({
5538
- id: "crypto.error.title",
5539
- message: "Looks like there was an error"
5540
- }),
5541
- body: $__i18n._({
5542
- id: "crypto.error.content",
5543
- message: "Your sign in request could not be completed. Go back to the main screen and try logging in again."
5544
- })
5545
- }), /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
5546
- variant: "outline",
5547
- onClick: ()=>dispatch({
5548
- type: 'transition',
5549
- screen: AppScreens.Main
5550
- })
5551
- }, $__i18n._({
5552
- id: "button.goBack",
5553
- message: "Go back"
5554
- })));
5555
- };
5533
+ const TwitchIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5534
+ xmlns: "http://www.w3.org/2000/svg",
5535
+ width: 20,
5536
+ height: 20,
5537
+ fill: "none",
5538
+ ...props
5539
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5540
+ fill: "#fff",
5541
+ d: "m16.25 9.36-2.5 2.57h-2.5l-2.19 2.25v-2.25H6.25V2.29h10z"
5542
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5543
+ fill: "#9146FF",
5544
+ d: "M5.63 1 2.5 4.21V15.8h3.75V19l3.13-3.21h2.5L17.5 10V1zm10.62 8.36-2.5 2.57h-2.5l-2.19 2.25v-2.25H6.25V2.29h10z"
5545
+ }), /*#__PURE__*/ React__namespace.createElement("path", {
5546
+ fill: "#9146FF",
5547
+ d: "M14.38 4.54h-1.26v3.85h1.26zM10.94 4.54H9.69v3.85h1.25z"
5548
+ }));
5556
5549
 
5557
- const Success = ()=>{
5558
- const { i18n: $__i18n, _: $__ } = passwordManagerDisableAutofillProps.useLingui();
5559
- const [, dispatch] = useGlobalReducer();
5560
- return /*#__PURE__*/ React__namespace.default.createElement(shadcn.Column, {
5561
- gap: 6
5562
- }, /*#__PURE__*/ React__namespace.default.createElement(shadcn.Confirmation, {
5563
- header: $__i18n._({
5564
- id: "crypto.success.title",
5565
- message: "Success!"
5566
- }),
5567
- text: $__i18n._({
5568
- id: "crypto.success.content",
5569
- message: "You have successfully connected your wallet."
5570
- })
5571
- }), /*#__PURE__*/ React__namespace.default.createElement(shadcn.Button, {
5572
- variant: "outline",
5573
- onClick: ()=>dispatch({
5574
- type: 'transition',
5575
- screen: AppScreens.Main
5576
- })
5577
- }, $__i18n._({
5578
- id: "button.goBack",
5579
- message: "Go back"
5580
- })));
5581
- };
5550
+ const XTwitterIcon = (props)=>/*#__PURE__*/ React__namespace.createElement("svg", {
5551
+ xmlns: "http://www.w3.org/2000/svg",
5552
+ width: 20,
5553
+ height: 20,
5554
+ fill: "none",
5555
+ ...props
5556
+ }, /*#__PURE__*/ React__namespace.createElement("path", {
5557
+ fill: "#000",
5558
+ d: "M11.67 8.62 18.23 1h-1.55l-5.7 6.61L6.44 1H1.2l6.87 10-6.87 8h1.55l6.01-7 4.8 7h5.24zm-2.12 2.47-.7-1-5.54-7.92H5.7l4.47 6.4.7 1 5.8 8.3H14.3z",
5559
+ className: shadcn.modules_73af8a26.darkInvert
5560
+ }));
5582
5561
 
5583
5562
  const oauthIcons = {
5584
5563
  amazon: AmazonIcon,
@@ -5599,7 +5578,7 @@ const oauthIcons = {
5599
5578
  tiktok: TiktokIcon,
5600
5579
  twitch: TwitchIcon,
5601
5580
  xTwitter: XTwitterIcon,
5602
- yahoo: YahooIcon
5581
+ yahoo: shadcn.YahooIcon
5603
5582
  };
5604
5583
  const cryptoIcons = {
5605
5584
  phantom: PhantomIcon,
@@ -5610,7 +5589,7 @@ const cryptoIcons = {
5610
5589
  const emailIcons = {
5611
5590
  gmail: shadcn.GmailIcon,
5612
5591
  outlook: shadcn.OutlookIcon,
5613
- yahoo: YahooIcon
5592
+ yahoo: shadcn.YahooIcon
5614
5593
  };
5615
5594
 
5616
5595
  const PhoneFormSMS = ()=>/*#__PURE__*/ React__namespace.default.createElement(PhoneForm, {
@@ -5726,7 +5705,7 @@ var Products = /*#__PURE__*/Object.freeze({
5726
5705
  passwords: passwords
5727
5706
  });
5728
5707
 
5729
- const ResetPasswordContainer = ({ client, config: rawConfig, presentation, callbacks, strings, passwordResetToken: rawToken })=>{
5708
+ const ResetPasswordContainer = ({ client, config: rawConfig, presentation, callbacks, strings, styles, passwordResetToken: rawToken })=>{
5730
5709
  const config = addProduct(rawConfig, passwords);
5731
5710
  // Default to reading token from URL if not provided
5732
5711
  let token = rawToken;
@@ -5797,9 +5776,9 @@ const ResetPasswordContainer = ({ client, config: rawConfig, presentation, callb
5797
5776
  * onEvent: (event) => console.log(event)
5798
5777
  * }}
5799
5778
  * />
5800
- */ const StytchPasswordReset = createB2CComponent('StytchPasswordReset', ResetPasswordContainer);
5779
+ */ const StytchPasswordReset = /* @__PURE__ */ createB2CComponent('StytchPasswordReset', ResetPasswordContainer);
5801
5780
 
5802
- const PasskeyRegistrationContainer = ({ client, config: rawConfig, presentation, callbacks, strings })=>{
5781
+ const PasskeyRegistrationContainer = ({ client, config: rawConfig, presentation, callbacks, strings, styles })=>{
5803
5782
  const config = addProduct(rawConfig, passkeyRegistration);
5804
5783
  /**
5805
5784
  * Read the watermark out of sync storage, then read it out of async storage
@@ -5852,7 +5831,7 @@ const PasskeyRegistrationContainer = ({ client, config: rawConfig, presentation,
5852
5831
  * onEvent: (event) => console.log(event)
5853
5832
  * }}
5854
5833
  * />
5855
- */ const StytchPasskeyRegistration = createB2CComponent('StytchPasskeyRegistration', PasskeyRegistrationContainer);
5834
+ */ const StytchPasskeyRegistration = /* @__PURE__ */ createB2CComponent('StytchPasskeyRegistration', PasskeyRegistrationContainer);
5856
5835
 
5857
5836
  const IDPConsentScreenImpl = ({ initialError, initialParams })=>{
5858
5837
  const stytchClient = useStytch();
@@ -5989,7 +5968,7 @@ const EnsureUserIsLoggedIn = ({ children })=>{
5989
5968
  }
5990
5969
  };
5991
5970
 
5992
- const IDPContainer = ({ client, presentation, callbacks, strings, getIDPConsentManifest, authTokenParams })=>{
5971
+ const IDPContainer = ({ client, presentation, callbacks, strings, styles, getIDPConsentManifest, authTokenParams })=>{
5993
5972
  const presentationValue = shadcn.usePresentationWithDefault(presentation, false, []);
5994
5973
  React.useEffect(()=>{
5995
5974
  StytchSSRProxy.readB2CInternals(client).bootstrap.getAsync().then((data)=>{
@@ -6038,7 +6017,7 @@ const IDPContainer = ({ client, presentation, callbacks, strings, getIDPConsentM
6038
6017
  * onEvent: (event) => console.log(event)
6039
6018
  * }}
6040
6019
  * />
6041
- */ const IdentityProvider = createB2CComponent('IdentityProvider', IDPContainer);
6020
+ */ const IdentityProvider = /* @__PURE__ */ createB2CComponent('IdentityProvider', IDPContainer);
6042
6021
 
6043
6022
  /**
6044
6023
  * Returns the active User.