@moon-x/react-sdk 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -389,8 +389,8 @@ function _ts_generator(thisArg, body) {
389
389
  };
390
390
  }
391
391
  }
392
- import { ethereum_exports } from "./chunk-7XFCJAFG.mjs";
393
- import { solana_exports } from "./chunk-OAG4S5VJ.mjs";
392
+ import { ethereum_exports } from "./chunk-ACYQG7VT.mjs";
393
+ import { solana_exports } from "./chunk-MURLJWUN.mjs";
394
394
  import { AuthContext, useAuthSDK } from "./chunk-PCEN5CH6.mjs";
395
395
  // src/index.ts
396
396
  import { useAddPasskey, useEphemeralSigner, useLoginWithEmail, usePasskeyStatus, useRegisterPasskey, useRemovePasskey, useUser } from "@moon-x/core/react";
@@ -822,7 +822,7 @@ function useLoginWithOAuth() {
822
822
  };
823
823
  }
824
824
  // src/hooks/use-moonkey.ts
825
- var useMoonKey = function useMoonKey() {
825
+ var useMoonX = function useMoonX() {
826
826
  var coreSDK = useAuthSDK();
827
827
  return {
828
828
  ready: coreSDK.ready,
@@ -1883,7 +1883,7 @@ var getSDKMethods = function getSDKMethods(publishableKey, isMounted, getIsReady
1883
1883
  publishableKey: publishableKey,
1884
1884
  // window is defined in the browser context where this hook runs.
1885
1885
  // SSR rendering never reaches the factory because the SDK is gated
1886
- // on the MoonKeyProvider's `useEffect`-mounted lifecycle.
1886
+ // on the MoonXProvider's `useEffect`-mounted lifecycle.
1887
1887
  relyingPartyOrigin: typeof window !== "undefined" ? window.location.origin : "",
1888
1888
  setIsAuthenticated: setIsAuthenticated,
1889
1889
  setUser: setUser
@@ -2789,7 +2789,7 @@ import { useEffect as useEffect5, useState as useState5 } from "react";
2789
2789
  import { PostMessageClient, PostMessageMethod as PostMessageMethod9, PostMessageType as PostMessageType10, getIframeOrigin, getIframeUrl } from "@moon-x/core";
2790
2790
  import { createIframeTransport as createIframeTransport6 } from "@moon-x/core/web";
2791
2791
  var getIframeClient = function getIframeClient(publishableKey) {
2792
- var iframeId = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "moonkey-auth-iframe";
2792
+ var iframeId = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "moonx-auth-iframe";
2793
2793
  var iframe = document.getElementById(iframeId);
2794
2794
  if (!(iframe === null || iframe === void 0 ? void 0 : iframe.contentWindow)) {
2795
2795
  return void 0;
@@ -2799,7 +2799,7 @@ var getIframeClient = function getIframeClient(publishableKey) {
2799
2799
  return new PostMessageClient(iframe.contentWindow, iframeOrigin);
2800
2800
  };
2801
2801
  var getIframeTransport = function getIframeTransport() {
2802
- var iframeId = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "moonkey-auth-iframe";
2802
+ var iframeId = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "moonx-auth-iframe";
2803
2803
  return createIframeTransport6({
2804
2804
  getContentWindow: function getContentWindow() {
2805
2805
  var _ref;
@@ -3004,38 +3004,38 @@ var darkTheme = {
3004
3004
  function themeToCSS(theme) {
3005
3005
  return {
3006
3006
  // Accent colors
3007
- "--moonkey-color-accent": theme.colors.accent,
3008
- "--moonkey-color-accent-foreground": theme.colors.accentForeground,
3009
- "--moonkey-color-accent-dark": theme.colors.accentDark,
3010
- "--moonkey-color-accent-darkest": theme.colors.accentDarkest,
3011
- "--moonkey-color-accent-light": theme.colors.accentLight,
3012
- "--moonkey-color-accent-lightest": theme.colors.accentLightest,
3007
+ "--moonx-color-accent": theme.colors.accent,
3008
+ "--moonx-color-accent-foreground": theme.colors.accentForeground,
3009
+ "--moonx-color-accent-dark": theme.colors.accentDark,
3010
+ "--moonx-color-accent-darkest": theme.colors.accentDarkest,
3011
+ "--moonx-color-accent-light": theme.colors.accentLight,
3012
+ "--moonx-color-accent-lightest": theme.colors.accentLightest,
3013
3013
  // Background colors
3014
- "--moonkey-color-background": theme.colors.background,
3015
- "--moonkey-color-background-2": theme.colors.background2,
3016
- "--moonkey-color-background-3": theme.colors.background3,
3014
+ "--moonx-color-background": theme.colors.background,
3015
+ "--moonx-color-background-2": theme.colors.background2,
3016
+ "--moonx-color-background-3": theme.colors.background3,
3017
3017
  // Foreground colors
3018
- "--moonkey-color-foreground": theme.colors.foreground,
3019
- "--moonkey-color-foreground-2": theme.colors.foreground2,
3020
- "--moonkey-color-foreground-3": theme.colors.foreground3,
3021
- "--moonkey-color-foreground-4": theme.colors.foreground4,
3022
- "--moonkey-color-foreground-accent": theme.colors.foregroundAccent,
3018
+ "--moonx-color-foreground": theme.colors.foreground,
3019
+ "--moonx-color-foreground-2": theme.colors.foreground2,
3020
+ "--moonx-color-foreground-3": theme.colors.foreground3,
3021
+ "--moonx-color-foreground-4": theme.colors.foreground4,
3022
+ "--moonx-color-foreground-accent": theme.colors.foregroundAccent,
3023
3023
  // Success colors
3024
- "--moonkey-color-success": theme.colors.success,
3025
- "--moonkey-color-success-foreground": theme.colors.successForeground,
3024
+ "--moonx-color-success": theme.colors.success,
3025
+ "--moonx-color-success-foreground": theme.colors.successForeground,
3026
3026
  // Error colors
3027
- "--moonkey-color-error": theme.colors.error,
3028
- "--moonkey-color-error-foreground": theme.colors.errorForeground,
3029
- "--moonkey-color-error-light": theme.colors.errorLight,
3027
+ "--moonx-color-error": theme.colors.error,
3028
+ "--moonx-color-error-foreground": theme.colors.errorForeground,
3029
+ "--moonx-color-error-light": theme.colors.errorLight,
3030
3030
  // Border
3031
- "--moonkey-color-border": theme.colors.border,
3031
+ "--moonx-color-border": theme.colors.border,
3032
3032
  // Border radius
3033
- "--moonkey-border-radius-sm": theme.borderRadius.sm,
3034
- "--moonkey-border-radius-md": theme.borderRadius.md,
3035
- "--moonkey-border-radius-lg": theme.borderRadius.lg,
3036
- "--moonkey-border-radius-full": theme.borderRadius.full,
3033
+ "--moonx-border-radius-sm": theme.borderRadius.sm,
3034
+ "--moonx-border-radius-md": theme.borderRadius.md,
3035
+ "--moonx-border-radius-lg": theme.borderRadius.lg,
3036
+ "--moonx-border-radius-full": theme.borderRadius.full,
3037
3037
  // Font family
3038
- "--moonkey-font-family": theme.fontFamily
3038
+ "--moonx-font-family": theme.fontFamily
3039
3039
  };
3040
3040
  }
3041
3041
  function isColorDark(color) {
@@ -3126,12 +3126,12 @@ var Button = React2.forwardRef(function(_0, _1) {
3126
3126
  ]), _rest1 = _sliced_to_array(_rest, 1), ref = _rest1[0];
3127
3127
  return /* @__PURE__ */ jsxs("button", _object_spread_props(_object_spread({
3128
3128
  ref: ref,
3129
- className: cx("moonkey-btn", "moonkey-btn--".concat(variant), size !== "default" && "moonkey-btn--".concat(size), full && "moonkey-btn--full", state && "moonkey-state--".concat(state), className),
3129
+ className: cx("moonx-btn", "moonx-btn--".concat(variant), size !== "default" && "moonx-btn--".concat(size), full && "moonx-btn--full", state && "moonx-state--".concat(state), className),
3130
3130
  disabled: disabled || state === "loading"
3131
3131
  }, props), {
3132
3132
  children: [
3133
3133
  state === "loading" && /* @__PURE__ */ jsx2("span", {
3134
- className: "moonkey-spinner moonkey-spinner--md"
3134
+ className: "moonx-spinner moonx-spinner--md"
3135
3135
  }),
3136
3136
  children
3137
3137
  ]
@@ -3151,7 +3151,7 @@ var Input = React3.forwardRef(function(_0, _1) {
3151
3151
  ]), _rest1 = _sliced_to_array(_rest, 1), ref = _rest1[0];
3152
3152
  return /* @__PURE__ */ jsx3("input", _object_spread({
3153
3153
  ref: ref,
3154
- className: cx("moonkey-input", error && "moonkey-input--error", className)
3154
+ className: cx("moonx-input", error && "moonx-input--error", className)
3155
3155
  }, props));
3156
3156
  });
3157
3157
  Input.displayName = "Input";
@@ -3168,7 +3168,7 @@ var Label = React4.forwardRef(function(_0, _1) {
3168
3168
  ]), _rest1 = _sliced_to_array(_rest, 1), ref = _rest1[0];
3169
3169
  return /* @__PURE__ */ jsx4("label", _object_spread({
3170
3170
  ref: ref,
3171
- className: cx("moonkey-label", tone !== "default" && "moonkey-label--".concat(tone), className)
3171
+ className: cx("moonx-label", tone !== "default" && "moonx-label--".concat(tone), className)
3172
3172
  }, props));
3173
3173
  });
3174
3174
  Label.displayName = "Label";
@@ -3527,7 +3527,7 @@ function appearanceToCssVars(appearance, isDark) {
3527
3527
  return _object_spread({}, themeToCSS(merged), appearanceToMoonxVars(appearance, isDark), appearanceToComponentVars(appearance));
3528
3528
  }
3529
3529
  // src/styles/sdk-stylesheet.ts
3530
- var SDK_STYLES = '\n/* === Reset === */\n.moonkey-sdk-root * { box-sizing: border-box; }\n.moonkey-sdk-root *:focus-visible { outline: 2px solid var(--moonx-color-ring, var(--moonkey-color-accent)); outline-offset: 2px; }\n.moonkey-sdk-root input::placeholder { color: var(--moonkey-color-foreground-3); opacity: 1; }\n\n/* === Animations === */\n@keyframes moonkey-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }\n@keyframes moonkey-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }\n\n/* === Button === */\n.moonkey-sdk-root .moonkey-btn {\n display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;\n font-weight: var(--moonx-font-weight-medium, 500); font-size: 0.875rem; border: none; cursor: pointer;\n user-select: none; -webkit-user-select: none; white-space: nowrap;\n transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;\n font-family: inherit; text-decoration: none;\n}\n.moonkey-sdk-root .moonkey-btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }\n\n/* Sizes */\n.moonkey-sdk-root .moonkey-btn--sm { height: 2.25rem; padding: 0 0.75rem; border-radius: var(--moonx-radius-button, var(--moonkey-border-radius-md)); }\n.moonkey-sdk-root .moonkey-btn--md, .moonkey-sdk-root .moonkey-btn--default { height: 2.75rem; padding: 0 1rem; border-radius: var(--moonx-radius-button, var(--moonkey-border-radius-md)); }\n.moonkey-sdk-root .moonkey-btn--lg { height: 3rem; padding: 0 2rem; font-size: 1rem; border-radius: var(--moonx-radius-button, var(--moonkey-border-radius-md)); }\n.moonkey-sdk-root .moonkey-btn--icon { width: 2rem; height: 2rem; padding: 0; border-radius: var(--moonx-radius-button, var(--moonkey-border-radius-md)); }\n.moonkey-sdk-root .moonkey-btn--full { width: 100%; justify-content: center; }\n\n/* Variants */\n.moonkey-sdk-root .moonkey-btn--primary, .moonkey-sdk-root .moonkey-btn--default {\n background-color: var(--moonx-button-bg, var(--moonkey-color-accent)); color: var(--moonx-button-fg, var(--moonkey-color-accent-foreground));\n border: var(--moonx-button-border-width, 0px) solid var(--moonx-button-border-color, transparent);\n}\n.moonkey-sdk-root .moonkey-btn--primary:hover:not(:disabled), .moonkey-sdk-root .moonkey-btn--default:hover:not(:disabled) {\n background-color: var(--moonkey-color-accent-dark);\n}\n.moonkey-sdk-root .moonkey-btn--primary.moonkey-state--success { background-color: var(--moonkey-color-success); color: var(--moonkey-color-success-foreground); }\n.moonkey-sdk-root .moonkey-btn--primary.moonkey-state--error { background-color: var(--moonkey-color-error); color: var(--moonkey-color-error-foreground); }\n\n.moonkey-sdk-root .moonkey-btn--outline {\n background-color: transparent; border: 1px solid var(--moonkey-color-border); color: var(--moonkey-color-foreground);\n}\n.moonkey-sdk-root .moonkey-btn--outline:hover:not(:disabled) { background-color: var(--moonkey-color-background-2); border-color: var(--moonkey-color-accent); }\n\n.moonkey-sdk-root .moonkey-btn--ghost { background-color: transparent; color: var(--moonkey-color-foreground); }\n.moonkey-sdk-root .moonkey-btn--ghost:hover:not(:disabled) { background-color: var(--moonkey-color-background-2); }\n\n.moonkey-sdk-root .moonkey-btn--secondary { background-color: var(--moonkey-color-background-2); color: var(--moonkey-color-foreground); }\n.moonkey-sdk-root .moonkey-btn--secondary:hover:not(:disabled) { background-color: var(--moonkey-color-background-3); }\n\n.moonkey-sdk-root .moonkey-btn--destructive { background-color: var(--moonkey-color-error); color: var(--moonkey-color-error-foreground); }\n.moonkey-sdk-root .moonkey-btn--destructive:hover:not(:disabled) { opacity: 0.9; }\n\n.moonkey-sdk-root .moonkey-btn--link { background: transparent; color: var(--moonx-color-link, var(--moonkey-color-accent)); text-decoration: underline; text-underline-offset: 4px; height: auto; padding: 0; }\n\n/* === Input === */\n.moonkey-sdk-root .moonkey-input {\n display: flex; width: 100%; height: 2.75rem; padding: 0 0.75rem;\n font-size: 0.875rem; font-family: inherit; color: var(--moonx-input-fg, var(--moonkey-color-foreground));\n background-color: var(--moonx-input-bg, transparent); border: var(--moonx-input-border-width, 1px) solid var(--moonx-input-border-color, var(--moonkey-color-border));\n border-radius: var(--moonx-radius-input, var(--moonkey-border-radius-md)); outline: none;\n transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box;\n}\n.moonkey-sdk-root .moonkey-input:focus { border-color: var(--moonx-color-ring, var(--moonkey-color-accent)); box-shadow: 0 0 0 1px var(--moonx-color-ring, var(--moonkey-color-accent)); }\n.moonkey-sdk-root .moonkey-input:disabled { opacity: 0.5; cursor: not-allowed; }\n.moonkey-sdk-root .moonkey-input--error { border-color: var(--moonkey-color-error); }\n\n/* === Label === */\n.moonkey-sdk-root .moonkey-label { display: block; font-size: 0.875rem; font-weight: var(--moonx-font-weight-medium, 500); color: var(--moonkey-color-foreground); line-height: 1; }\n.moonkey-sdk-root .moonkey-label--secondary { color: var(--moonkey-color-foreground-3); }\n.moonkey-sdk-root .moonkey-label--tertiary { color: var(--moonkey-color-foreground-4); font-size: 0.75rem; }\n.moonkey-sdk-root .moonkey-label--error { color: var(--moonkey-color-error); }\n.moonkey-sdk-root .moonkey-label--success { color: var(--moonkey-color-success); }\n\n/* === Detail Row === */\n.moonkey-sdk-root .moonkey-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 0.25rem 0; }\n.moonkey-sdk-root .moonkey-detail-row__label { font-size: 0.875rem; color: var(--moonkey-color-foreground-3); }\n.moonkey-sdk-root .moonkey-detail-row__value { font-size: 0.875rem; font-weight: 500; color: var(--moonkey-color-foreground); text-align: right; }\n\n/* === Divider === */\n.moonkey-sdk-root .moonkey-divider { border-top: 1px solid var(--moonkey-color-border); margin: 1rem 0; }\n\n/* === Boxes === */\n.moonkey-sdk-root .moonkey-box { padding: 0.75rem; border-radius: var(--moonkey-border-radius-lg); }\n.moonkey-sdk-root .moonkey-box--surface { background-color: var(--moonkey-color-background-2); }\n.moonkey-sdk-root .moonkey-box--error { background-color: var(--moonkey-color-background-2); border: 1px solid var(--moonkey-color-error); }\n.moonkey-sdk-root .moonkey-box--success { background-color: var(--moonkey-color-background-2); border: 1px solid var(--moonkey-color-success); }\n.moonkey-sdk-root .moonkey-box--info { background-color: var(--moonkey-color-background-2); border: 1px solid var(--moonx-color-info, var(--moonkey-color-border)); }\n.moonkey-sdk-root .moonkey-box--warning { background-color: var(--moonkey-color-background-2); border: 1px solid var(--moonx-color-warning, var(--moonkey-color-error)); display: flex; align-items: flex-start; gap: 0.5rem; }\n.moonkey-sdk-root .moonkey-box--scrollable { overflow-y: auto; font-size: 0.875rem; white-space: pre-wrap; word-break: break-word; }\n\n/* === Address Pill === */\n.moonkey-sdk-root .moonkey-address-pill {\n display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem;\n background-color: var(--moonkey-color-background-3); color: var(--moonkey-color-foreground);\n border: 1px solid var(--moonkey-color-border); border-radius: var(--moonkey-border-radius-md);\n font-size: 0.875rem; font-family: monospace; cursor: pointer;\n transition: background-color 0.2s, border-color 0.2s;\n}\n.moonkey-sdk-root .moonkey-address-pill:hover { background-color: var(--moonkey-color-background-2); }\n.moonkey-sdk-root .moonkey-address-pill--copied { border-color: var(--moonkey-color-success); }\n\n/* === Mono Text === */\n.moonkey-sdk-root .moonkey-mono { font-family: monospace; font-size: 0.875rem; color: var(--moonkey-color-foreground); }\n\n/* === Spinner === */\n.moonkey-sdk-root .moonkey-spinner {\n display: inline-block; flex-shrink: 0;\n border: 2px solid currentColor; border-top-color: transparent;\n border-radius: 9999px; animation: moonkey-spin 1s linear infinite;\n}\n.moonkey-sdk-root .moonkey-spinner--sm { width: 0.875rem; height: 0.875rem; }\n.moonkey-sdk-root .moonkey-spinner--md { width: 1rem; height: 1rem; }\n.moonkey-sdk-root .moonkey-spinner--lg { width: 1.5rem; height: 1.5rem; }\n.moonkey-sdk-root .moonkey-spinner--xl { width: 2rem; height: 2rem; }\n\n/* === Pulse skeleton === */\n.moonkey-sdk-root .moonkey-skeleton { background-color: var(--moonkey-color-background-2); border-radius: 0.25rem; animation: moonkey-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }\n\n/* === Flow layout === */\n.moonkey-sdk-root .moonkey-flow-close { position: absolute; top: 1rem; right: 1.5rem; display: flex; align-items: center; flex-shrink: 0; z-index: 1; }\n.moonkey-sdk-root .moonkey-flow-header { display: flex; flex-direction: column; text-align: center; padding: 0 0.5rem 0.25rem; gap: 0.5rem; }\n.moonkey-sdk-root .moonkey-flow-content { display: flex; flex-direction: column; flex: 1; margin-top: 1rem; padding: 0 0.5rem; }\n.moonkey-sdk-root .moonkey-flow-footer {\n position: absolute; bottom: 0; left: 0; right: 0;\n background-color: var(--moonkey-color-background); padding: 1rem 2rem 3rem;\n margin: 0 0.125rem 0.125rem;\n border-bottom-left-radius: var(--moonkey-border-radius-lg);\n border-bottom-right-radius: var(--moonkey-border-radius-lg);\n}\n.moonkey-sdk-root .moonkey-flow-footer__actions { display: flex; gap: 0.75rem; }\n/* Buttons inside footer actions auto-stretch to fill space */\n.moonkey-sdk-root .moonkey-flow-footer__actions > .moonkey-btn { flex: 1; height: 3rem; font-size: 1rem; }\n\n/* === Flow text utilities === */\n.moonkey-sdk-root .moonkey-text--heading { font-weight: var(--moonx-font-weight-heading, var(--moonx-font-weight-medium, 500)); font-family: var(--moonx-font-family-heading, inherit); letter-spacing: var(--moonx-letter-spacing-heading, inherit); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--moonx-color-heading, var(--moonkey-color-foreground)); }\n.moonkey-sdk-root .moonkey-text--title { font-size: var(--moonx-font-size-heading, var(--moonx-font-size-lg, 1rem)); font-weight: var(--moonx-font-weight-heading, var(--moonx-font-weight-bold, 600)); font-family: var(--moonx-font-family-heading, inherit); letter-spacing: var(--moonx-letter-spacing-heading, inherit); color: var(--moonx-color-heading, var(--moonkey-color-foreground)); }\n.moonkey-sdk-root .moonkey-text--secondary { font-size: var(--moonx-font-size-sm, 0.875rem); color: var(--moonkey-color-foreground-3); }\n.moonkey-sdk-root .moonkey-text--error { font-size: 0.875rem; color: var(--moonkey-color-error); }\n.moonkey-sdk-root .moonkey-text--success { font-size: 0.875rem; color: var(--moonkey-color-success); }\n.moonkey-sdk-root .moonkey-flow-logo { display: flex; align-items: center; justify-content: center; }\n\n/* === Terms link row (accept-terms) === */\n.moonkey-sdk-root .moonkey-terms-link {\n display: flex; flex-direction: row; align-items: center; justify-content: space-between;\n border-radius: var(--moonkey-border-radius-lg); padding: 0.75rem;\n margin-left: 0.75rem; margin-right: 0.75rem;\n border: 1px solid var(--moonkey-color-border); cursor: pointer;\n transition: background-color 0.2s ease;\n}\n.moonkey-sdk-root .moonkey-terms-link:hover { background-color: var(--moonkey-color-background-2); }\n\n/* === Wallet item === */\n.moonkey-sdk-root .moonkey-wallet-item {\n display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 1rem;\n border: 1px solid var(--moonkey-color-border); border-radius: var(--moonx-radius-button, var(--moonkey-border-radius-lg));\n background-color: var(--moonkey-color-background); cursor: pointer;\n transition: border-color 0.2s, background-color 0.2s;\n}\n.moonkey-sdk-root .moonkey-wallet-item:hover { border-color: var(--moonkey-color-accent); background-color: var(--moonkey-color-background-2); }\n.moonkey-sdk-root .moonkey-wallet-item--selected { border-color: var(--moonkey-color-accent); background-color: var(--moonkey-color-background-2); }\n\n/* === Flow overlay (z-index stack wrapper) === */\n.moonkey-sdk-root .moonkey-flow-overlay { position: relative; z-index: 100; }\n\n/* === Wallet connection state container === */\n.moonkey-sdk-root .moonkey-connect-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 3rem; padding-bottom: 3rem; }\n\n/* === Large wallet icon spinner === */\n.moonkey-sdk-root .moonkey-wallet-spinner { position: relative; width: 5rem; height: 5rem; display: flex; align-items: center; justify-content: center; }\n.moonkey-sdk-root .moonkey-wallet-spinner__ring { position: absolute; inset: 0; width: 5rem; height: 5rem; border-radius: 50%; border: 4px solid var(--moonkey-color-border); }\n.moonkey-sdk-root .moonkey-wallet-spinner__ring--error { border-color: var(--moonkey-color-error); }\n.moonkey-sdk-root .moonkey-wallet-spinner__spin { position: absolute; inset: 0; width: 5rem; height: 5rem; border-radius: 50%; border: 4px solid transparent; border-top-color: var(--moonkey-color-accent); animation: moonkey-spin 1s linear infinite; }\n.moonkey-sdk-root .moonkey-wallet-spinner__center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }\n\n/* === Data preview box (sign typed-data / transactions) === */\n.moonkey-sdk-root .moonkey-data-preview { margin-top: 0.25rem; padding: 0.75rem; background-color: var(--moonkey-color-background-2); border-radius: var(--moonkey-border-radius-md); font-size: 0.875rem; font-family: monospace; word-break: break-all; white-space: pre-line; user-select: none; -webkit-user-select: none; }\n\n/* === Scrollable data container (signing flows) === */\n.moonkey-sdk-root .moonkey-data-scroll { display: flex; flex-direction: column; max-height: 390px; overflow-y: auto; padding-bottom: 5rem; position: relative; }\n\n/* === Expand/collapse trigger === */\n.moonkey-sdk-root .moonkey-expand-toggle { display: inline-flex; align-items: center; cursor: pointer; user-select: none; -webkit-user-select: none; }\n\n/* === Scrollable bordered list (transaction detail panels) === */\n.moonkey-sdk-root .moonkey-scrollable-list { display: flex; flex-direction: column; overflow-y: auto; border: 1px solid var(--moonkey-color-border); border-radius: var(--moonkey-border-radius-md); scrollbar-width: none; }\n.moonkey-sdk-root .moonkey-scrollable-list::-webkit-scrollbar { display: none; }\n\n/* === Modal content column (passkey-enroll, add-passkey) === */\n.moonkey-sdk-root .moonkey-modal-content { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem 1.5rem; gap: 1rem; }\n\n/* === Back nav button (absolute top-left) === */\n.moonkey-sdk-root .moonkey-back-btn { position: absolute; top: 1rem; left: 0.5rem; width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; border-radius: var(--moonkey-border-radius-full); }\n\n/* === Centered inline row (resend, action links) === */\n.moonkey-sdk-root .moonkey-center-row { display: flex; justify-content: center; align-items: center; gap: 0.25rem; }\n\n/* === Stacked button column (modal CTAs) === */\n.moonkey-sdk-root .moonkey-btn-stack { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; padding-top: 0.5rem; }\n\n/* === Legal footer text (terms & privacy) === */\n.moonkey-sdk-root .moonkey-legal-text { font-size: 0.75rem; color: var(--moonkey-color-foreground-3); text-align: center; line-height: 1.5; margin-top: 1rem; }\n.moonkey-sdk-root .moonkey-legal-text a { color: var(--moonx-color-link, var(--moonkey-color-accent)); cursor: pointer; }\n/* Inline-checkbox variant: same typography, but flex layout aligned left so the checkbox sits beside the link text. */\n.moonkey-sdk-root .moonkey-legal-checkbox { display: flex; align-items: flex-start; justify-content: flex-start; text-align: left; gap: 0.5rem; }\n.moonkey-sdk-root .moonkey-legal-checkbox input[type="checkbox"] { margin-top: 0.15rem; cursor: pointer; }\n\n/* === Login gating (require_users_accept_terms) === */\n/* Wraps the email/social/wallet buttons so they can be visually disabled until the terms checkbox is ticked. The default state is unaffected. */\n.moonkey-sdk-root .moonkey-login-gateable { transition: opacity 0.15s ease-out; }\n.moonkey-sdk-root .moonkey-login-gated { opacity: 0.5; pointer-events: none; }\n\n/* === Shared entry animations === */\n@keyframes moonkey-slide-in { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }\n@keyframes moonkey-success-bounce { from { opacity: 0; transform: translateY(-50px) rotate(-60deg); } to { opacity: 1; transform: translateY(20px) rotate(0deg); } }\n@keyframes moonkey-error-bounce { from { opacity: 0; transform: translateY(-50px) rotate(-60deg); } to { opacity: 1; transform: translateY(20px) rotate(0deg); } }\n@keyframes moonkey-error-shake { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); } 20%, 40%, 60%, 80% { transform: translateX(10px); } }\n@keyframes moonkey-mail-slide-in { from { opacity: 0; transform: translateX(-50px) rotate(-15deg); } to { opacity: 1; transform: translateX(0) rotate(0deg); } }\n@keyframes moonkey-verified-slide-in { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }\n\n/* === Icon size utilities === */\n.moonkey-sdk-root .moonkey-icon--xs { width: 0.75rem; height: 0.75rem; }\n.moonkey-sdk-root .moonkey-icon--sm { width: 1rem; height: 1rem; }\n.moonkey-sdk-root .moonkey-icon--md { width: 1.5rem; height: 1.5rem; }\n.moonkey-sdk-root .moonkey-icon--lg { width: 2rem; height: 2rem; }\n.moonkey-sdk-root .moonkey-icon--xl { width: 2.5rem; height: 2.5rem; }\n.moonkey-sdk-root .moonkey-icon--2xl { width: 3rem; height: 3rem; }\n.moonkey-sdk-root .moonkey-icon--mr-xs { margin-right: 0.25rem; }\n.moonkey-sdk-root .moonkey-icon--mr-sm { margin-right: 0.5rem; }\n.moonkey-sdk-root .moonkey-icon--accent { color: var(--moonkey-color-accent); }\n.moonkey-sdk-root .moonkey-icon--success { color: var(--moonkey-color-success, #16a34a); }\n.moonkey-sdk-root .moonkey-icon--error { color: var(--moonkey-color-error); }\n.moonkey-sdk-root .moonkey-icon--muted { color: var(--moonkey-color-foreground-3); }\n.moonkey-sdk-root .moonkey-icon--fg { color: var(--moonkey-color-foreground); }\n\n/* === Layout utilities === */\n.moonkey-sdk-root .moonkey-flex-center { display: flex; align-items: center; justify-content: center; }\n.moonkey-sdk-root .moonkey-flex-between { display: flex; align-items: center; justify-content: space-between; }\n.moonkey-sdk-root .moonkey-flex-col { display: flex; flex-direction: column; }\n.moonkey-sdk-root .moonkey-flex-col-center { display: flex; flex-direction: column; align-items: center; }\n\n/* === Text modifiers === */\n.moonkey-sdk-root .moonkey-text--semibold { font-weight: var(--moonx-font-weight-medium, 500); }\n.moonkey-sdk-root .moonkey-text--bold { font-weight: var(--moonx-font-weight-bold, 600); }\n.moonkey-sdk-root .moonkey-text--center { text-align: center; }\n.moonkey-sdk-root .moonkey-text--sm { font-size: var(--moonx-font-size-sm, 0.875rem); }\n.moonkey-sdk-root .moonkey-text--lg { font-size: var(--moonx-font-size-lg, 1.125rem); }\n.moonkey-sdk-root .moonkey-text--xl { font-size: var(--moonx-font-size-xl, 1.25rem); }\n\n/* === Transaction detail card (success receipt) === */\n.moonkey-sdk-root .moonkey-detail-card { display: flex; flex-direction: column; border: 1px solid var(--moonkey-color-border); border-radius: var(--moonkey-border-radius-lg); padding: 1rem 0.5rem; margin: 2rem 0.5rem 0; }\n.moonkey-sdk-root .moonkey-detail-card__rows { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }\n\n/* === Failed-transaction error scroll box === */\n.moonkey-sdk-root .moonkey-error-scroll { display: flex; flex-direction: column; background-color: var(--moonkey-color-background-2); border: 1px solid var(--moonkey-color-border); border-radius: var(--moonkey-border-radius-lg); padding: 1rem 0.5rem; margin: 0.5rem; height: 150px; overflow: auto; }\n\n/* === Network logo badge (ethereum/solana pair) === */\n.moonkey-sdk-root .moonkey-network-badge { width: 32px; height: 32px; border-radius: 16px; border: 1px solid var(--moonkey-color-border); background-color: var(--moonkey-color-background-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }\n.moonkey-sdk-root .moonkey-network-badge--overlap { margin-left: -8px; }\n\n/* === Positioned icons inside inputs === */\n.moonkey-sdk-root .moonkey-search-icon { position: absolute; left: 0.75rem; top: 0.875rem; color: var(--moonkey-color-foreground-3); }\n.moonkey-sdk-root .moonkey-input-icon--left { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--moonkey-color-foreground-3); pointer-events: none; }\n\n/* === Step indicator (N of M) === */\n.moonkey-sdk-root .moonkey-step-label { font-size: 0.75rem; font-weight: 600; color: var(--moonkey-color-accent); letter-spacing: 0.05em; text-transform: uppercase; }\n\n/* === Feature bullet item (passkey enroll) === */\n.moonkey-sdk-root .moonkey-feature-item { display: flex; align-items: flex-start; gap: 0.75rem; text-align: left; font-size: 0.875rem; color: var(--moonkey-color-foreground); }\n\n/* === Monospace textarea (import wallet) === */\n.moonkey-sdk-root .moonkey-mono-textarea { width: 100%; min-height: 100px; padding: 0.75rem; font-family: monospace; font-size: 0.75rem; background-color: var(--moonkey-color-background-2); color: var(--moonkey-color-foreground); border: 1px solid var(--moonkey-color-border); border-radius: var(--moonx-radius-input, var(--moonkey-border-radius-md)); outline: none; resize: vertical; }\n\n/* === Sign-flow inner section and row === */\n.moonkey-sdk-root .moonkey-sign-section { padding: 0.5rem; }\n.moonkey-sdk-root .moonkey-sign-row { display: flex; align-items: center; justify-content: space-between; }\n\n/* === External wallet connect button (login flow) === */\n.moonkey-sdk-root .moonkey-external-wallet-btn { border-radius: var(--moonx-radius-button, var(--moonkey-border-radius-lg)); border: var(--moonx-button-border-width, 1px) solid var(--moonx-button-border-color, var(--moonkey-color-border)); color: var(--moonx-button-fg, var(--moonkey-color-foreground)); padding: 0.75rem 0.25rem; cursor: pointer; margin-top: 0.75rem; transition: all 0.2s ease-in-out; background-color: var(--moonx-button-bg, transparent); }\n.moonkey-sdk-root .moonkey-external-wallet-btn:hover { border-color: var(--moonx-button-border-color-hover, var(--moonkey-color-accent)); background-color: var(--moonx-button-bg-hover, var(--moonkey-color-background-2)); }\n.moonkey-sdk-root .moonkey-external-wallet-btn--accent-hover:hover { background-color: var(--moonkey-color-accent); }\n.moonkey-sdk-root .moonkey-external-wallet-btn__inner { display: flex; flex-direction: row; align-items: center; gap: 0.5rem; animation: moonkey-slide-in 0.3s ease-out 0.1s both; }\n\n/* === Flex row utility (icon + label pairs) === */\n.moonkey-sdk-root .moonkey-flex-row { display: flex; flex-direction: row; align-items: center; gap: 0.5rem; }\n\n/* === Login landing layout === */\n.moonkey-sdk-root .moonkey-header { position: absolute; top: 1.5rem; left: 0; right: 0; text-align: center; font-family: var(--moonx-font-family-heading, inherit); font-size: var(--moonx-font-size-heading, 0.875rem); font-weight: var(--moonx-font-weight-heading, 500); letter-spacing: var(--moonx-letter-spacing-heading, inherit); color: var(--moonx-color-heading, var(--moonkey-color-foreground)); margin-bottom: 0.5rem; padding-left: 3rem; padding-right: 3rem; }\n.moonkey-sdk-root .moonkey-header__inner { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.moonkey-sdk-root .moonkey-content-wrapper { padding-top: 1rem; padding-bottom: 1rem; width: 100%; }\n.moonkey-sdk-root .moonkey-logo-section { text-align: center; margin-bottom: 1rem; }\n.moonkey-sdk-root .moonkey-logo-section__inner { padding-top: 1rem; padding-bottom: 1rem; }\n.moonkey-sdk-root .moonkey-description { padding-left: 1.25rem; padding-right: 1.25rem; text-align: center; color: var(--moonkey-color-foreground-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.moonkey-sdk-root .moonkey-form-section { padding: 0.5rem 1rem; }\n\n/* === Email OTP content fill === */\n.moonkey-sdk-root .moonkey-otp-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }\n\n/* === Wallet icon status overlay badge === */\n.moonkey-sdk-root .moonkey-wallet-status-badge { position: absolute; bottom: -4px; right: -4px; background-color: var(--moonkey-color-background); border-radius: 50%; display: flex; align-items: center; justify-content: center; }\n\n/* === Wallet connect success animation === */\n@keyframes fadeInScale { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }\n';
3530
+ var SDK_STYLES = '\n/* === Reset === */\n.moonx-sdk-root * { box-sizing: border-box; }\n.moonx-sdk-root *:focus-visible { outline: 2px solid var(--moonx-color-ring, var(--moonx-color-accent)); outline-offset: 2px; }\n.moonx-sdk-root input::placeholder { color: var(--moonx-color-foreground-3); opacity: 1; }\n\n/* === Animations === */\n@keyframes moonx-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }\n@keyframes moonx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }\n\n/* === Button === */\n.moonx-sdk-root .moonx-btn {\n display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;\n font-weight: var(--moonx-font-weight-medium, 500); font-size: 0.875rem; border: none; cursor: pointer;\n user-select: none; -webkit-user-select: none; white-space: nowrap;\n transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;\n font-family: inherit; text-decoration: none;\n}\n.moonx-sdk-root .moonx-btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }\n\n/* Sizes */\n.moonx-sdk-root .moonx-btn--sm { height: 2.25rem; padding: 0 0.75rem; border-radius: var(--moonx-radius-button, var(--moonx-border-radius-md)); }\n.moonx-sdk-root .moonx-btn--md, .moonx-sdk-root .moonx-btn--default { height: 2.75rem; padding: 0 1rem; border-radius: var(--moonx-radius-button, var(--moonx-border-radius-md)); }\n.moonx-sdk-root .moonx-btn--lg { height: 3rem; padding: 0 2rem; font-size: 1rem; border-radius: var(--moonx-radius-button, var(--moonx-border-radius-md)); }\n.moonx-sdk-root .moonx-btn--icon { width: 2rem; height: 2rem; padding: 0; border-radius: var(--moonx-radius-button, var(--moonx-border-radius-md)); }\n.moonx-sdk-root .moonx-btn--full { width: 100%; justify-content: center; }\n\n/* Variants */\n.moonx-sdk-root .moonx-btn--primary, .moonx-sdk-root .moonx-btn--default {\n background-color: var(--moonx-button-bg, var(--moonx-color-accent)); color: var(--moonx-button-fg, var(--moonx-color-accent-foreground));\n border: var(--moonx-button-border-width, 0px) solid var(--moonx-button-border-color, transparent);\n}\n.moonx-sdk-root .moonx-btn--primary:hover:not(:disabled), .moonx-sdk-root .moonx-btn--default:hover:not(:disabled) {\n background-color: var(--moonx-color-accent-dark);\n}\n.moonx-sdk-root .moonx-btn--primary.moonx-state--success { background-color: var(--moonx-color-success); color: var(--moonx-color-success-foreground); }\n.moonx-sdk-root .moonx-btn--primary.moonx-state--error { background-color: var(--moonx-color-error); color: var(--moonx-color-error-foreground); }\n\n.moonx-sdk-root .moonx-btn--outline {\n background-color: transparent; border: 1px solid var(--moonx-color-border); color: var(--moonx-color-foreground);\n}\n.moonx-sdk-root .moonx-btn--outline:hover:not(:disabled) { background-color: var(--moonx-color-background-2); border-color: var(--moonx-color-accent); }\n\n.moonx-sdk-root .moonx-btn--ghost { background-color: transparent; color: var(--moonx-color-foreground); }\n.moonx-sdk-root .moonx-btn--ghost:hover:not(:disabled) { background-color: var(--moonx-color-background-2); }\n\n.moonx-sdk-root .moonx-btn--secondary { background-color: var(--moonx-color-background-2); color: var(--moonx-color-foreground); }\n.moonx-sdk-root .moonx-btn--secondary:hover:not(:disabled) { background-color: var(--moonx-color-background-3); }\n\n.moonx-sdk-root .moonx-btn--destructive { background-color: var(--moonx-color-error); color: var(--moonx-color-error-foreground); }\n.moonx-sdk-root .moonx-btn--destructive:hover:not(:disabled) { opacity: 0.9; }\n\n.moonx-sdk-root .moonx-btn--link { background: transparent; color: var(--moonx-color-link, var(--moonx-color-accent)); text-decoration: underline; text-underline-offset: 4px; height: auto; padding: 0; }\n\n/* === Input === */\n.moonx-sdk-root .moonx-input {\n display: flex; width: 100%; height: 2.75rem; padding: 0 0.75rem;\n font-size: 0.875rem; font-family: inherit; color: var(--moonx-input-fg, var(--moonx-color-foreground));\n background-color: var(--moonx-input-bg, transparent); border: var(--moonx-input-border-width, 1px) solid var(--moonx-input-border-color, var(--moonx-color-border));\n border-radius: var(--moonx-radius-input, var(--moonx-border-radius-md)); outline: none;\n transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box;\n}\n.moonx-sdk-root .moonx-input:focus { border-color: var(--moonx-color-ring, var(--moonx-color-accent)); box-shadow: 0 0 0 1px var(--moonx-color-ring, var(--moonx-color-accent)); }\n.moonx-sdk-root .moonx-input:disabled { opacity: 0.5; cursor: not-allowed; }\n.moonx-sdk-root .moonx-input--error { border-color: var(--moonx-color-error); }\n\n/* === Label === */\n.moonx-sdk-root .moonx-label { display: block; font-size: 0.875rem; font-weight: var(--moonx-font-weight-medium, 500); color: var(--moonx-color-foreground); line-height: 1; }\n.moonx-sdk-root .moonx-label--secondary { color: var(--moonx-color-foreground-3); }\n.moonx-sdk-root .moonx-label--tertiary { color: var(--moonx-color-foreground-4); font-size: 0.75rem; }\n.moonx-sdk-root .moonx-label--error { color: var(--moonx-color-error); }\n.moonx-sdk-root .moonx-label--success { color: var(--moonx-color-success); }\n\n/* === Detail Row === */\n.moonx-sdk-root .moonx-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 0.25rem 0; }\n.moonx-sdk-root .moonx-detail-row__label { font-size: 0.875rem; color: var(--moonx-color-foreground-3); }\n.moonx-sdk-root .moonx-detail-row__value { font-size: 0.875rem; font-weight: 500; color: var(--moonx-color-foreground); text-align: right; }\n\n/* === Divider === */\n.moonx-sdk-root .moonx-divider { border-top: 1px solid var(--moonx-color-border); margin: 1rem 0; }\n\n/* === Boxes === */\n.moonx-sdk-root .moonx-box { padding: 0.75rem; border-radius: var(--moonx-border-radius-lg); }\n.moonx-sdk-root .moonx-box--surface { background-color: var(--moonx-color-background-2); }\n.moonx-sdk-root .moonx-box--error { background-color: var(--moonx-color-background-2); border: 1px solid var(--moonx-color-error); }\n.moonx-sdk-root .moonx-box--success { background-color: var(--moonx-color-background-2); border: 1px solid var(--moonx-color-success); }\n.moonx-sdk-root .moonx-box--info { background-color: var(--moonx-color-background-2); border: 1px solid var(--moonx-color-info, var(--moonx-color-border)); }\n.moonx-sdk-root .moonx-box--warning { background-color: var(--moonx-color-background-2); border: 1px solid var(--moonx-color-warning, var(--moonx-color-error)); display: flex; align-items: flex-start; gap: 0.5rem; }\n.moonx-sdk-root .moonx-box--scrollable { overflow-y: auto; font-size: 0.875rem; white-space: pre-wrap; word-break: break-word; }\n\n/* === Address Pill === */\n.moonx-sdk-root .moonx-address-pill {\n display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem;\n background-color: var(--moonx-color-background-3); color: var(--moonx-color-foreground);\n border: 1px solid var(--moonx-color-border); border-radius: var(--moonx-border-radius-md);\n font-size: 0.875rem; font-family: monospace; cursor: pointer;\n transition: background-color 0.2s, border-color 0.2s;\n}\n.moonx-sdk-root .moonx-address-pill:hover { background-color: var(--moonx-color-background-2); }\n.moonx-sdk-root .moonx-address-pill--copied { border-color: var(--moonx-color-success); }\n\n/* === Mono Text === */\n.moonx-sdk-root .moonx-mono { font-family: monospace; font-size: 0.875rem; color: var(--moonx-color-foreground); }\n\n/* === Spinner === */\n.moonx-sdk-root .moonx-spinner {\n display: inline-block; flex-shrink: 0;\n border: 2px solid currentColor; border-top-color: transparent;\n border-radius: 9999px; animation: moonx-spin 1s linear infinite;\n}\n.moonx-sdk-root .moonx-spinner--sm { width: 0.875rem; height: 0.875rem; }\n.moonx-sdk-root .moonx-spinner--md { width: 1rem; height: 1rem; }\n.moonx-sdk-root .moonx-spinner--lg { width: 1.5rem; height: 1.5rem; }\n.moonx-sdk-root .moonx-spinner--xl { width: 2rem; height: 2rem; }\n\n/* === Pulse skeleton === */\n.moonx-sdk-root .moonx-skeleton { background-color: var(--moonx-color-background-2); border-radius: 0.25rem; animation: moonx-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }\n\n/* === Flow layout === */\n.moonx-sdk-root .moonx-flow-close { position: absolute; top: 1rem; right: 1.5rem; display: flex; align-items: center; flex-shrink: 0; z-index: 1; }\n.moonx-sdk-root .moonx-flow-header { display: flex; flex-direction: column; text-align: center; padding: 0 0.5rem 0.25rem; gap: 0.5rem; }\n.moonx-sdk-root .moonx-flow-content { display: flex; flex-direction: column; flex: 1; margin-top: 1rem; padding: 0 0.5rem; }\n.moonx-sdk-root .moonx-flow-footer {\n position: absolute; bottom: 0; left: 0; right: 0;\n background-color: var(--moonx-color-background); padding: 1rem 2rem 3rem;\n margin: 0 0.125rem 0.125rem;\n border-bottom-left-radius: var(--moonx-border-radius-lg);\n border-bottom-right-radius: var(--moonx-border-radius-lg);\n}\n.moonx-sdk-root .moonx-flow-footer__actions { display: flex; gap: 0.75rem; }\n/* Buttons inside footer actions auto-stretch to fill space */\n.moonx-sdk-root .moonx-flow-footer__actions > .moonx-btn { flex: 1; height: 3rem; font-size: 1rem; }\n\n/* === Flow text utilities === */\n.moonx-sdk-root .moonx-text--heading { font-weight: var(--moonx-font-weight-heading, var(--moonx-font-weight-medium, 500)); font-family: var(--moonx-font-family-heading, inherit); letter-spacing: var(--moonx-letter-spacing-heading, inherit); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--moonx-color-heading, var(--moonx-color-foreground)); }\n.moonx-sdk-root .moonx-text--title { font-size: var(--moonx-font-size-heading, var(--moonx-font-size-lg, 1rem)); font-weight: var(--moonx-font-weight-heading, var(--moonx-font-weight-bold, 600)); font-family: var(--moonx-font-family-heading, inherit); letter-spacing: var(--moonx-letter-spacing-heading, inherit); color: var(--moonx-color-heading, var(--moonx-color-foreground)); }\n.moonx-sdk-root .moonx-text--secondary { font-size: var(--moonx-font-size-sm, 0.875rem); color: var(--moonx-color-foreground-3); }\n.moonx-sdk-root .moonx-text--error { font-size: 0.875rem; color: var(--moonx-color-error); }\n.moonx-sdk-root .moonx-text--success { font-size: 0.875rem; color: var(--moonx-color-success); }\n.moonx-sdk-root .moonx-flow-logo { display: flex; align-items: center; justify-content: center; }\n\n/* === Terms link row (accept-terms) === */\n.moonx-sdk-root .moonx-terms-link {\n display: flex; flex-direction: row; align-items: center; justify-content: space-between;\n border-radius: var(--moonx-border-radius-lg); padding: 0.75rem;\n margin-left: 0.75rem; margin-right: 0.75rem;\n border: 1px solid var(--moonx-color-border); cursor: pointer;\n transition: background-color 0.2s ease;\n}\n.moonx-sdk-root .moonx-terms-link:hover { background-color: var(--moonx-color-background-2); }\n\n/* === Wallet item === */\n.moonx-sdk-root .moonx-wallet-item {\n display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 1rem;\n border: 1px solid var(--moonx-color-border); border-radius: var(--moonx-radius-button, var(--moonx-border-radius-lg));\n background-color: var(--moonx-color-background); cursor: pointer;\n transition: border-color 0.2s, background-color 0.2s;\n}\n.moonx-sdk-root .moonx-wallet-item:hover { border-color: var(--moonx-color-accent); background-color: var(--moonx-color-background-2); }\n.moonx-sdk-root .moonx-wallet-item--selected { border-color: var(--moonx-color-accent); background-color: var(--moonx-color-background-2); }\n\n/* === Flow overlay (z-index stack wrapper) === */\n.moonx-sdk-root .moonx-flow-overlay { position: relative; z-index: 100; }\n\n/* === Wallet connection state container === */\n.moonx-sdk-root .moonx-connect-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 3rem; padding-bottom: 3rem; }\n\n/* === Large wallet icon spinner === */\n.moonx-sdk-root .moonx-wallet-spinner { position: relative; width: 5rem; height: 5rem; display: flex; align-items: center; justify-content: center; }\n.moonx-sdk-root .moonx-wallet-spinner__ring { position: absolute; inset: 0; width: 5rem; height: 5rem; border-radius: 50%; border: 4px solid var(--moonx-color-border); }\n.moonx-sdk-root .moonx-wallet-spinner__ring--error { border-color: var(--moonx-color-error); }\n.moonx-sdk-root .moonx-wallet-spinner__spin { position: absolute; inset: 0; width: 5rem; height: 5rem; border-radius: 50%; border: 4px solid transparent; border-top-color: var(--moonx-color-accent); animation: moonx-spin 1s linear infinite; }\n.moonx-sdk-root .moonx-wallet-spinner__center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }\n\n/* === Data preview box (sign typed-data / transactions) === */\n.moonx-sdk-root .moonx-data-preview { margin-top: 0.25rem; padding: 0.75rem; background-color: var(--moonx-color-background-2); border-radius: var(--moonx-border-radius-md); font-size: 0.875rem; font-family: monospace; word-break: break-all; white-space: pre-line; user-select: none; -webkit-user-select: none; }\n\n/* === Scrollable data container (signing flows) === */\n.moonx-sdk-root .moonx-data-scroll { display: flex; flex-direction: column; max-height: 390px; overflow-y: auto; padding-bottom: 5rem; position: relative; }\n\n/* === Expand/collapse trigger === */\n.moonx-sdk-root .moonx-expand-toggle { display: inline-flex; align-items: center; cursor: pointer; user-select: none; -webkit-user-select: none; }\n\n/* === Scrollable bordered list (transaction detail panels) === */\n.moonx-sdk-root .moonx-scrollable-list { display: flex; flex-direction: column; overflow-y: auto; border: 1px solid var(--moonx-color-border); border-radius: var(--moonx-border-radius-md); scrollbar-width: none; }\n.moonx-sdk-root .moonx-scrollable-list::-webkit-scrollbar { display: none; }\n\n/* === Modal content column (passkey-enroll, add-passkey) === */\n.moonx-sdk-root .moonx-modal-content { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem 1.5rem; gap: 1rem; }\n\n/* === Back nav button (absolute top-left) === */\n.moonx-sdk-root .moonx-back-btn { position: absolute; top: 1rem; left: 0.5rem; width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; border-radius: var(--moonx-border-radius-full); }\n\n/* === Centered inline row (resend, action links) === */\n.moonx-sdk-root .moonx-center-row { display: flex; justify-content: center; align-items: center; gap: 0.25rem; }\n\n/* === Stacked button column (modal CTAs) === */\n.moonx-sdk-root .moonx-btn-stack { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; padding-top: 0.5rem; }\n\n/* === Legal footer text (terms & privacy) === */\n.moonx-sdk-root .moonx-legal-text { font-size: 0.75rem; color: var(--moonx-color-foreground-3); text-align: center; line-height: 1.5; margin-top: 1rem; }\n.moonx-sdk-root .moonx-legal-text a { color: var(--moonx-color-link, var(--moonx-color-accent)); cursor: pointer; }\n/* Inline-checkbox variant: same typography, but flex layout aligned left so the checkbox sits beside the link text. */\n.moonx-sdk-root .moonx-legal-checkbox { display: flex; align-items: flex-start; justify-content: flex-start; text-align: left; gap: 0.5rem; }\n.moonx-sdk-root .moonx-legal-checkbox input[type="checkbox"] { margin-top: 0.15rem; cursor: pointer; }\n\n/* === Login gating (require_users_accept_terms) === */\n/* Wraps the email/social/wallet buttons so they can be visually disabled until the terms checkbox is ticked. The default state is unaffected. */\n.moonx-sdk-root .moonx-login-gateable { transition: opacity 0.15s ease-out; }\n.moonx-sdk-root .moonx-login-gated { opacity: 0.5; pointer-events: none; }\n\n/* === Shared entry animations === */\n@keyframes moonx-slide-in { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }\n@keyframes moonx-success-bounce { from { opacity: 0; transform: translateY(-50px) rotate(-60deg); } to { opacity: 1; transform: translateY(20px) rotate(0deg); } }\n@keyframes moonx-error-bounce { from { opacity: 0; transform: translateY(-50px) rotate(-60deg); } to { opacity: 1; transform: translateY(20px) rotate(0deg); } }\n@keyframes moonx-error-shake { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); } 20%, 40%, 60%, 80% { transform: translateX(10px); } }\n@keyframes moonx-mail-slide-in { from { opacity: 0; transform: translateX(-50px) rotate(-15deg); } to { opacity: 1; transform: translateX(0) rotate(0deg); } }\n@keyframes moonx-verified-slide-in { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }\n\n/* === Icon size utilities === */\n.moonx-sdk-root .moonx-icon--xs { width: 0.75rem; height: 0.75rem; }\n.moonx-sdk-root .moonx-icon--sm { width: 1rem; height: 1rem; }\n.moonx-sdk-root .moonx-icon--md { width: 1.5rem; height: 1.5rem; }\n.moonx-sdk-root .moonx-icon--lg { width: 2rem; height: 2rem; }\n.moonx-sdk-root .moonx-icon--xl { width: 2.5rem; height: 2.5rem; }\n.moonx-sdk-root .moonx-icon--2xl { width: 3rem; height: 3rem; }\n.moonx-sdk-root .moonx-icon--mr-xs { margin-right: 0.25rem; }\n.moonx-sdk-root .moonx-icon--mr-sm { margin-right: 0.5rem; }\n.moonx-sdk-root .moonx-icon--accent { color: var(--moonx-color-accent); }\n.moonx-sdk-root .moonx-icon--success { color: var(--moonx-color-success, #16a34a); }\n.moonx-sdk-root .moonx-icon--error { color: var(--moonx-color-error); }\n.moonx-sdk-root .moonx-icon--muted { color: var(--moonx-color-foreground-3); }\n.moonx-sdk-root .moonx-icon--fg { color: var(--moonx-color-foreground); }\n\n/* === Layout utilities === */\n.moonx-sdk-root .moonx-flex-center { display: flex; align-items: center; justify-content: center; }\n.moonx-sdk-root .moonx-flex-between { display: flex; align-items: center; justify-content: space-between; }\n.moonx-sdk-root .moonx-flex-col { display: flex; flex-direction: column; }\n.moonx-sdk-root .moonx-flex-col-center { display: flex; flex-direction: column; align-items: center; }\n\n/* === Text modifiers === */\n.moonx-sdk-root .moonx-text--semibold { font-weight: var(--moonx-font-weight-medium, 500); }\n.moonx-sdk-root .moonx-text--bold { font-weight: var(--moonx-font-weight-bold, 600); }\n.moonx-sdk-root .moonx-text--center { text-align: center; }\n.moonx-sdk-root .moonx-text--sm { font-size: var(--moonx-font-size-sm, 0.875rem); }\n.moonx-sdk-root .moonx-text--lg { font-size: var(--moonx-font-size-lg, 1.125rem); }\n.moonx-sdk-root .moonx-text--xl { font-size: var(--moonx-font-size-xl, 1.25rem); }\n\n/* === Transaction detail card (success receipt) === */\n.moonx-sdk-root .moonx-detail-card { display: flex; flex-direction: column; border: 1px solid var(--moonx-color-border); border-radius: var(--moonx-border-radius-lg); padding: 1rem 0.5rem; margin: 2rem 0.5rem 0; }\n.moonx-sdk-root .moonx-detail-card__rows { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }\n\n/* === Failed-transaction error scroll box === */\n.moonx-sdk-root .moonx-error-scroll { display: flex; flex-direction: column; background-color: var(--moonx-color-background-2); border: 1px solid var(--moonx-color-border); border-radius: var(--moonx-border-radius-lg); padding: 1rem 0.5rem; margin: 0.5rem; height: 150px; overflow: auto; }\n\n/* === Network logo badge (ethereum/solana pair) === */\n.moonx-sdk-root .moonx-network-badge { width: 32px; height: 32px; border-radius: 16px; border: 1px solid var(--moonx-color-border); background-color: var(--moonx-color-background-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }\n.moonx-sdk-root .moonx-network-badge--overlap { margin-left: -8px; }\n\n/* === Positioned icons inside inputs === */\n.moonx-sdk-root .moonx-search-icon { position: absolute; left: 0.75rem; top: 0.875rem; color: var(--moonx-color-foreground-3); }\n.moonx-sdk-root .moonx-input-icon--left { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--moonx-color-foreground-3); pointer-events: none; }\n\n/* === Step indicator (N of M) === */\n.moonx-sdk-root .moonx-step-label { font-size: 0.75rem; font-weight: 600; color: var(--moonx-color-accent); letter-spacing: 0.05em; text-transform: uppercase; }\n\n/* === Feature bullet item (passkey enroll) === */\n.moonx-sdk-root .moonx-feature-item { display: flex; align-items: flex-start; gap: 0.75rem; text-align: left; font-size: 0.875rem; color: var(--moonx-color-foreground); }\n\n/* === Monospace textarea (import wallet) === */\n.moonx-sdk-root .moonx-mono-textarea { width: 100%; min-height: 100px; padding: 0.75rem; font-family: monospace; font-size: 0.75rem; background-color: var(--moonx-color-background-2); color: var(--moonx-color-foreground); border: 1px solid var(--moonx-color-border); border-radius: var(--moonx-radius-input, var(--moonx-border-radius-md)); outline: none; resize: vertical; }\n\n/* === Sign-flow inner section and row === */\n.moonx-sdk-root .moonx-sign-section { padding: 0.5rem; }\n.moonx-sdk-root .moonx-sign-row { display: flex; align-items: center; justify-content: space-between; }\n\n/* === External wallet connect button (login flow) === */\n.moonx-sdk-root .moonx-external-wallet-btn { border-radius: var(--moonx-radius-button, var(--moonx-border-radius-lg)); border: var(--moonx-button-border-width, 1px) solid var(--moonx-button-border-color, var(--moonx-color-border)); color: var(--moonx-button-fg, var(--moonx-color-foreground)); padding: 0.75rem 0.25rem; cursor: pointer; margin-top: 0.75rem; transition: all 0.2s ease-in-out; background-color: var(--moonx-button-bg, transparent); }\n.moonx-sdk-root .moonx-external-wallet-btn:hover { border-color: var(--moonx-button-border-color-hover, var(--moonx-color-accent)); background-color: var(--moonx-button-bg-hover, var(--moonx-color-background-2)); }\n.moonx-sdk-root .moonx-external-wallet-btn--accent-hover:hover { background-color: var(--moonx-color-accent); }\n.moonx-sdk-root .moonx-external-wallet-btn__inner { display: flex; flex-direction: row; align-items: center; gap: 0.5rem; animation: moonx-slide-in 0.3s ease-out 0.1s both; }\n\n/* === Flex row utility (icon + label pairs) === */\n.moonx-sdk-root .moonx-flex-row { display: flex; flex-direction: row; align-items: center; gap: 0.5rem; }\n\n/* === Login landing layout === */\n.moonx-sdk-root .moonx-header { position: absolute; top: 1.5rem; left: 0; right: 0; text-align: center; font-family: var(--moonx-font-family-heading, inherit); font-size: var(--moonx-font-size-heading, 0.875rem); font-weight: var(--moonx-font-weight-heading, 500); letter-spacing: var(--moonx-letter-spacing-heading, inherit); color: var(--moonx-color-heading, var(--moonx-color-foreground)); margin-bottom: 0.5rem; padding-left: 3rem; padding-right: 3rem; }\n.moonx-sdk-root .moonx-header__inner { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.moonx-sdk-root .moonx-content-wrapper { padding-top: 1rem; padding-bottom: 1rem; width: 100%; }\n.moonx-sdk-root .moonx-logo-section { text-align: center; margin-bottom: 1rem; }\n.moonx-sdk-root .moonx-logo-section__inner { padding-top: 1rem; padding-bottom: 1rem; }\n.moonx-sdk-root .moonx-description { padding-left: 1.25rem; padding-right: 1.25rem; text-align: center; color: var(--moonx-color-foreground-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.moonx-sdk-root .moonx-form-section { padding: 0.5rem 1rem; }\n\n/* === Email OTP content fill === */\n.moonx-sdk-root .moonx-otp-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }\n\n/* === Wallet icon status overlay badge === */\n.moonx-sdk-root .moonx-wallet-status-badge { position: absolute; bottom: -4px; right: -4px; background-color: var(--moonx-color-background); border-radius: 50%; display: flex; align-items: center; justify-content: center; }\n\n/* === Wallet connect success animation === */\n@keyframes fadeInScale { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }\n';
3531
3531
  // src/components/scoped-container.tsx
3532
3532
  import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
3533
3533
  function ScopedContainer(param) {
@@ -3548,12 +3548,12 @@ function ScopedContainer(param) {
3548
3548
  boxSizing: "border-box",
3549
3549
  WebkitFontSmoothing: "antialiased",
3550
3550
  MozOsxFontSmoothing: "grayscale",
3551
- fontFamily: "var(--moonkey-font-family)",
3551
+ fontFamily: "var(--moonx-font-family)",
3552
3552
  letterSpacing: "var(--moonx-letter-spacing, normal)",
3553
3553
  color: mergedTheme.colors.foreground
3554
3554
  });
3555
3555
  return /* @__PURE__ */ jsxs2("div", {
3556
- className: "moonkey-sdk-root".concat(className ? " ".concat(className) : ""),
3556
+ className: "moonx-sdk-root".concat(className ? " ".concat(className) : ""),
3557
3557
  style: containerStyles,
3558
3558
  "data-theme": isDark ? "dark" : "light",
3559
3559
  children: [
@@ -3574,17 +3574,18 @@ function ScopedContainer(param) {
3574
3574
  }
3575
3575
  // src/components/vanilla-ui/root-card.tsx
3576
3576
  import { jsx as jsx6, jsxs as jsxs3 } from "react/jsx-runtime";
3577
+ var MODAL_PORTAL_Z_INDEX = 2147483646;
3577
3578
  function RootCard(param) {
3578
3579
  var children = param.children, _param_centerContent = param.centerContent, centerContent = _param_centerContent === void 0 ? true : _param_centerContent, _param_embedded = param.embedded, embedded = _param_embedded === void 0 ? false : _param_embedded, _param_isDark = param.isDark, isDark = _param_isDark === void 0 ? false : _param_isDark, theme = param.theme, appearance = param.appearance;
3579
3580
  var minHeight = "500px";
3580
3581
  var cardStyle = {
3581
3582
  minHeight: minHeight,
3582
3583
  width: "100%",
3583
- borderRadius: "var(--moonx-radius-card, var(--moonkey-border-radius-lg))",
3584
+ borderRadius: "var(--moonx-radius-card, var(--moonx-border-radius-lg))",
3584
3585
  boxShadow: "var(--moonx-card-shadow, 0 25px 50px -12px rgb(0 0 0 / 0.25))",
3585
- border: "var(--moonx-card-border-width, 1px) solid var(--moonx-card-border-color, var(--moonkey-color-border))",
3586
+ border: "var(--moonx-card-border-width, 1px) solid var(--moonx-card-border-color, var(--moonx-color-border))",
3586
3587
  position: "relative",
3587
- backgroundColor: "var(--moonkey-color-background)",
3588
+ backgroundColor: "var(--moonx-color-background)",
3588
3589
  color: "var(--moonx-card-fg, inherit)",
3589
3590
  display: "flex",
3590
3591
  flexDirection: "column",
@@ -3647,10 +3648,10 @@ function RootCard(param) {
3647
3648
  theme: theme,
3648
3649
  appearance: appearance,
3649
3650
  children: /* @__PURE__ */ jsx6("div", {
3650
- className: cx("moonkey-root-card", "moonkey-embedded"),
3651
+ className: cx("moonx-root-card", "moonx-embedded"),
3651
3652
  style: cardStyle,
3652
3653
  children: /* @__PURE__ */ jsx6("div", {
3653
- className: "moonkey-card-content",
3654
+ className: "moonx-card-content",
3654
3655
  style: contentStyle,
3655
3656
  children: children
3656
3657
  })
@@ -3663,8 +3664,8 @@ function RootCard(param) {
3663
3664
  useEffect7(function() {
3664
3665
  if (typeof window === "undefined") return;
3665
3666
  var portalDiv = document.createElement("div");
3666
- portalDiv.id = "moonkey-modal-portal";
3667
- portalDiv.style.cssText = "\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 2147483647;\n pointer-events: none;\n ";
3667
+ portalDiv.id = "moonx-modal-portal";
3668
+ portalDiv.style.cssText = "\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: ".concat(MODAL_PORTAL_Z_INDEX, ";\n pointer-events: none;\n ");
3668
3669
  document.body.appendChild(portalDiv);
3669
3670
  setPortalContainer(portalDiv);
3670
3671
  return function() {
@@ -3728,29 +3729,29 @@ function RootCard(param) {
3728
3729
  children: [
3729
3730
  /* @__PURE__ */ jsx6("style", {
3730
3731
  dangerouslySetInnerHTML: {
3731
- __html: "\n @keyframes fadeInZoom {\n from {\n opacity: 0;\n transform: scale(0.95);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n @keyframes slideUpFromBottom {\n from {\n opacity: 0;\n transform: translateY(100%);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n /* Fix for mobile keyboard - use dvh units */\n .moonkey-modal-overlay,\n .moonkey-modal-container {\n height: 100dvh !important;\n min-height: 100dvh !important;\n pointer-events: auto !important;\n }\n\n /* Desktop: centered modal with zoom animation */\n .moonkey-modal-card {\n animation: fadeInZoom 0.2s ease-out;\n }\n\n /* Mobile: bottom sheet with slide up animation */\n @media (max-width: 768px) {\n .moonkey-modal-container {\n align-items: flex-end !important;\n padding: 0 !important;\n /* Prevent layout shift when keyboard opens */\n position: fixed !important;\n overscroll-behavior: contain !important;\n }\n\n .moonkey-modal-wrapper {\n max-width: 100% !important;\n width: 100% !important;\n }\n\n .moonkey-modal-card {\n animation: slideUpFromBottom 0.3s ease-out !important;\n max-width: 100% !important;\n width: 100% !important;\n border-bottom-left-radius: 0 !important;\n border-bottom-right-radius: 0 !important;\n border-top-left-radius: 1.5rem !important;\n border-top-right-radius: 1.5rem !important;\n margin: 0 !important;\n max-height: 100dvh !important;\n overflow-y: auto !important;\n /* Prevent bounce/rubber-band scrolling on iOS */\n overscroll-behavior: contain !important;\n /* Smooth scrolling on iOS */\n -webkit-overflow-scrolling: touch !important;\n /* Prevent zoom on input focus */\n touch-action: manipulation !important;\n }\n\n /* Ensure content is scrollable when keyboard is open */\n .moonkey-card-content {\n overflow-y: auto !important;\n -webkit-overflow-scrolling: touch !important;\n overscroll-behavior: contain !important;\n /* Prevent content from shifting */\n position: relative !important;\n }\n\n /* Prevent input zoom on iOS */\n .moonkey-modal-card input,\n .moonkey-modal-card textarea,\n .moonkey-modal-card select {\n font-size: 16px !important;\n touch-action: manipulation !important;\n }\n }\n\n /* Fallback for browsers that don't support dvh */\n @supports not (height: 100dvh) {\n .moonkey-modal-overlay,\n .moonkey-modal-container {\n height: 100vh !important;\n min-height: -webkit-fill-available !important;\n }\n }\n "
3732
+ __html: "\n @keyframes fadeInZoom {\n from {\n opacity: 0;\n transform: scale(0.95);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n @keyframes slideUpFromBottom {\n from {\n opacity: 0;\n transform: translateY(100%);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n /* Fix for mobile keyboard - use dvh units */\n .moonx-modal-overlay,\n .moonx-modal-container {\n height: 100dvh !important;\n min-height: 100dvh !important;\n pointer-events: auto !important;\n }\n\n /* Desktop: centered modal with zoom animation */\n .moonx-modal-card {\n animation: fadeInZoom 0.2s ease-out;\n }\n\n /* Mobile: bottom sheet with slide up animation */\n @media (max-width: 768px) {\n .moonx-modal-container {\n align-items: flex-end !important;\n padding: 0 !important;\n /* Prevent layout shift when keyboard opens */\n position: fixed !important;\n overscroll-behavior: contain !important;\n }\n\n .moonx-modal-wrapper {\n max-width: 100% !important;\n width: 100% !important;\n }\n\n .moonx-modal-card {\n animation: slideUpFromBottom 0.3s ease-out !important;\n max-width: 100% !important;\n width: 100% !important;\n border-bottom-left-radius: 0 !important;\n border-bottom-right-radius: 0 !important;\n border-top-left-radius: 1.5rem !important;\n border-top-right-radius: 1.5rem !important;\n margin: 0 !important;\n max-height: 100dvh !important;\n overflow-y: auto !important;\n /* Prevent bounce/rubber-band scrolling on iOS */\n overscroll-behavior: contain !important;\n /* Smooth scrolling on iOS */\n -webkit-overflow-scrolling: touch !important;\n /* Prevent zoom on input focus */\n touch-action: manipulation !important;\n }\n\n /* Ensure content is scrollable when keyboard is open */\n .moonx-card-content {\n overflow-y: auto !important;\n -webkit-overflow-scrolling: touch !important;\n overscroll-behavior: contain !important;\n /* Prevent content from shifting */\n position: relative !important;\n }\n\n /* Prevent input zoom on iOS */\n .moonx-modal-card input,\n .moonx-modal-card textarea,\n .moonx-modal-card select {\n font-size: 16px !important;\n touch-action: manipulation !important;\n }\n }\n\n /* Fallback for browsers that don't support dvh */\n @supports not (height: 100dvh) {\n .moonx-modal-overlay,\n .moonx-modal-container {\n height: 100vh !important;\n min-height: -webkit-fill-available !important;\n }\n }\n "
3732
3733
  }
3733
3734
  }),
3734
3735
  /* @__PURE__ */ jsx6("div", {
3735
- className: "moonkey-modal-overlay",
3736
+ className: "moonx-modal-overlay",
3736
3737
  style: _object_spread_props(_object_spread({}, modalOverlayStyle), {
3737
3738
  pointerEvents: "auto"
3738
3739
  })
3739
3740
  }),
3740
3741
  /* @__PURE__ */ jsx6("div", {
3741
3742
  ref: modalContainerRef,
3742
- className: "moonkey-modal-container",
3743
+ className: "moonx-modal-container",
3743
3744
  style: _object_spread_props(_object_spread({}, modalContainerStyle), {
3744
3745
  pointerEvents: "auto"
3745
3746
  }),
3746
3747
  children: /* @__PURE__ */ jsx6("div", {
3747
- className: "moonkey-modal-wrapper",
3748
+ className: "moonx-modal-wrapper",
3748
3749
  style: modalWrapperStyle,
3749
3750
  children: /* @__PURE__ */ jsx6("div", {
3750
- className: cx("moonkey-root-card", "moonkey-modal", "moonkey-modal-card"),
3751
+ className: cx("moonx-root-card", "moonx-modal", "moonx-modal-card"),
3751
3752
  style: modalCardStyle,
3752
3753
  children: /* @__PURE__ */ jsx6("div", {
3753
- className: "moonkey-card-content",
3754
+ className: "moonx-card-content",
3754
3755
  style: contentStyle,
3755
3756
  children: children
3756
3757
  })
@@ -3807,7 +3808,7 @@ var CountdownTimer = function CountdownTimer(param) {
3807
3808
  fontWeight: "500"
3808
3809
  };
3809
3810
  return /* @__PURE__ */ jsxs4("div", {
3810
- className: cx("moonkey-countdown-timer", className),
3811
+ className: cx("moonx-countdown-timer", className),
3811
3812
  style: containerStyle,
3812
3813
  children: [
3813
3814
  /* @__PURE__ */ jsx7("div", {
@@ -3898,21 +3899,21 @@ function SimpleOtpInput(param) {
3898
3899
  var isFocused = focusedIndex === index;
3899
3900
  var isFirst = index === 0;
3900
3901
  var isLast = index === length - 1;
3901
- var borderColor = "var(--moonkey-color-border)";
3902
- var backgroundColor = "var(--moonkey-color-background)";
3903
- var textColor = "var(--moonkey-color-foreground)";
3902
+ var borderColor = "var(--moonx-color-border)";
3903
+ var backgroundColor = "var(--moonx-color-background)";
3904
+ var textColor = "var(--moonx-color-foreground)";
3904
3905
  if (validationState === "success") {
3905
- borderColor = "var(--moonkey-color-success)";
3906
- backgroundColor = "var(--moonkey-color-background-2)";
3907
- textColor = "var(--moonkey-color-success)";
3906
+ borderColor = "var(--moonx-color-success)";
3907
+ backgroundColor = "var(--moonx-color-background-2)";
3908
+ textColor = "var(--moonx-color-success)";
3908
3909
  } else if (validationState === "error") {
3909
- borderColor = "var(--moonkey-color-error)";
3910
- backgroundColor = "var(--moonkey-color-background-2)";
3911
- textColor = "var(--moonkey-color-error)";
3910
+ borderColor = "var(--moonx-color-error)";
3911
+ backgroundColor = "var(--moonx-color-background-2)";
3912
+ textColor = "var(--moonx-color-error)";
3912
3913
  } else if (isFilled) {
3913
- borderColor = "var(--moonkey-color-foreground)";
3914
+ borderColor = "var(--moonx-color-foreground)";
3914
3915
  } else if (isFocused) {
3915
- borderColor = "var(--moonkey-color-accent)";
3916
+ borderColor = "var(--moonx-color-accent)";
3916
3917
  }
3917
3918
  return {
3918
3919
  width: "3rem",
@@ -3924,10 +3925,10 @@ function SimpleOtpInput(param) {
3924
3925
  borderBottom: "1px solid ".concat(borderColor),
3925
3926
  borderRight: "1px solid ".concat(borderColor),
3926
3927
  borderLeft: isFirst ? "1px solid ".concat(borderColor) : "none",
3927
- borderTopLeftRadius: isFirst ? "var(--moonkey-border-radius-md)" : 0,
3928
- borderBottomLeftRadius: isFirst ? "var(--moonkey-border-radius-md)" : 0,
3929
- borderTopRightRadius: isLast ? "var(--moonkey-border-radius-md)" : 0,
3930
- borderBottomRightRadius: isLast ? "var(--moonkey-border-radius-md)" : 0,
3928
+ borderTopLeftRadius: isFirst ? "var(--moonx-border-radius-md)" : 0,
3929
+ borderBottomLeftRadius: isFirst ? "var(--moonx-border-radius-md)" : 0,
3930
+ borderTopRightRadius: isLast ? "var(--moonx-border-radius-md)" : 0,
3931
+ borderBottomRightRadius: isLast ? "var(--moonx-border-radius-md)" : 0,
3931
3932
  backgroundColor: backgroundColor,
3932
3933
  color: textColor,
3933
3934
  outline: "none",
@@ -3935,7 +3936,7 @@ function SimpleOtpInput(param) {
3935
3936
  boxShadow: isFocused ? "0 0 0 3px rgba(99, 102, 241, 0.1)" : "0 1px 2px 0 rgb(0 0 0 / 0.05)",
3936
3937
  cursor: disabled ? "not-allowed" : "text",
3937
3938
  opacity: disabled ? 0.5 : 1,
3938
- fontFamily: "var(--moonkey-font-family)"
3939
+ fontFamily: "var(--moonx-font-family)"
3939
3940
  };
3940
3941
  };
3941
3942
  var containerStyle = {
@@ -4027,7 +4028,7 @@ function AddressPill(param) {
4027
4028
  var label = address.length > prefixLen + suffixLen ? "".concat(address.slice(0, prefixLen), "...").concat(address.slice(-suffixLen)) : address;
4028
4029
  return /* @__PURE__ */ jsxs5("button", {
4029
4030
  type: "button",
4030
- className: cx("moonkey-address-pill", copied && "moonkey-address-pill--copied", className),
4031
+ className: cx("moonx-address-pill", copied && "moonx-address-pill--copied", className),
4031
4032
  onClick: handleCopy,
4032
4033
  title: address,
4033
4034
  children: [
@@ -4036,7 +4037,7 @@ function AddressPill(param) {
4036
4037
  style: {
4037
4038
  width: "1rem",
4038
4039
  height: "1rem",
4039
- color: "var(--moonkey-color-success)"
4040
+ color: "var(--moonx-color-success)"
4040
4041
  }
4041
4042
  }) : /* @__PURE__ */ jsx9(Copy, {
4042
4043
  style: {
@@ -4066,13 +4067,13 @@ var ExpiryPill = function ExpiryPill(param) {
4066
4067
  alignItems: "center",
4067
4068
  gap: "0.4rem",
4068
4069
  padding: "0.35rem 0.75rem",
4069
- borderRadius: "var(--moonkey-border-radius-full, 9999px)",
4070
+ borderRadius: "var(--moonx-border-radius-full, 9999px)",
4070
4071
  fontSize: "0.8125rem",
4071
4072
  lineHeight: 1,
4072
4073
  fontVariantNumeric: "tabular-nums",
4073
- backgroundColor: "var(--moonkey-color-background-2, #f9fafb)",
4074
- color: urgent ? "var(--moonkey-color-error, #ef4444)" : "var(--moonkey-color-foreground-3, #6b7280)",
4075
- border: "1px solid var(--moonkey-color-border, #e5e7eb)"
4074
+ backgroundColor: "var(--moonx-color-background-2, #f9fafb)",
4075
+ color: urgent ? "var(--moonx-color-error, #ef4444)" : "var(--moonx-color-foreground-3, #6b7280)",
4076
+ border: "1px solid var(--moonx-color-border, #e5e7eb)"
4076
4077
  },
4077
4078
  children: [
4078
4079
  /* @__PURE__ */ jsx10(Clock, {
@@ -4118,10 +4119,10 @@ function ErrorBox(param) {
4118
4119
  "aria-hidden": "true"
4119
4120
  });
4120
4121
  return /* @__PURE__ */ jsxs7("div", _object_spread_props(_object_spread({}, a11yProps), {
4121
- className: cx("moonkey-text--error", className),
4122
+ className: cx("moonx-text--error", className),
4122
4123
  style: _object_spread({
4123
4124
  fontSize: "0.875rem",
4124
- color: "var(--moonkey-color-error)",
4125
+ color: "var(--moonx-color-error)",
4125
4126
  textAlign: resolvedAlign,
4126
4127
  display: "flex",
4127
4128
  alignItems: "center",
@@ -4138,7 +4139,7 @@ function ErrorBox(param) {
4138
4139
  }));
4139
4140
  }
4140
4141
  return /* @__PURE__ */ jsxs7("div", _object_spread_props(_object_spread({}, a11yProps), {
4141
- className: cx("moonkey-box moonkey-box--warning", className),
4142
+ className: cx("moonx-box moonx-box--warning", className),
4142
4143
  style: style,
4143
4144
  children: [
4144
4145
  icon && /* @__PURE__ */ jsx11("span", {
@@ -4148,14 +4149,14 @@ function ErrorBox(param) {
4148
4149
  marginTop: "0.125rem",
4149
4150
  width: "1.25rem",
4150
4151
  height: "1.25rem",
4151
- color: "var(--moonkey-color-error)"
4152
+ color: "var(--moonx-color-error)"
4152
4153
  },
4153
4154
  children: icon
4154
4155
  }),
4155
4156
  /* @__PURE__ */ jsx11("span", {
4156
4157
  style: _object_spread({
4157
4158
  fontSize: "0.875rem",
4158
- color: "var(--moonkey-color-error)"
4159
+ color: "var(--moonx-color-error)"
4159
4160
  }, align === "center" && {
4160
4161
  textAlign: "center",
4161
4162
  flex: 1
@@ -4170,7 +4171,7 @@ import { jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
4170
4171
  function SuccessBox(param) {
4171
4172
  var children = param.children, icon = param.icon, className = param.className;
4172
4173
  return /* @__PURE__ */ jsxs8("div", {
4173
- className: cx("moonkey-box moonkey-box--success", className),
4174
+ className: cx("moonx-box moonx-box--success", className),
4174
4175
  style: {
4175
4176
  display: "flex",
4176
4177
  alignItems: "flex-start",
@@ -4183,14 +4184,14 @@ function SuccessBox(param) {
4183
4184
  marginTop: "0.125rem",
4184
4185
  width: "1.25rem",
4185
4186
  height: "1.25rem",
4186
- color: "var(--moonkey-color-success)"
4187
+ color: "var(--moonx-color-success)"
4187
4188
  },
4188
4189
  children: icon
4189
4190
  }),
4190
4191
  /* @__PURE__ */ jsx12("span", {
4191
4192
  style: {
4192
4193
  fontSize: "0.875rem",
4193
- color: "var(--moonkey-color-success)"
4194
+ color: "var(--moonx-color-success)"
4194
4195
  },
4195
4196
  children: children
4196
4197
  })
@@ -4207,7 +4208,7 @@ function MonoText(_0) {
4207
4208
  "className"
4208
4209
  ]);
4209
4210
  return /* @__PURE__ */ jsx14("span", _object_spread_props(_object_spread({
4210
- className: cx("moonkey-mono", className)
4211
+ className: cx("moonx-mono", className)
4211
4212
  }, props), {
4212
4213
  children: children
4213
4214
  }));
@@ -4217,14 +4218,14 @@ import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
4217
4218
  function DetailRow(param) {
4218
4219
  var label = param.label, value = param.value, className = param.className;
4219
4220
  return /* @__PURE__ */ jsxs9("div", {
4220
- className: cx("moonkey-detail-row", className),
4221
+ className: cx("moonx-detail-row", className),
4221
4222
  children: [
4222
4223
  /* @__PURE__ */ jsx15("span", {
4223
- className: "moonkey-detail-row__label",
4224
+ className: "moonx-detail-row__label",
4224
4225
  children: label
4225
4226
  }),
4226
4227
  /* @__PURE__ */ jsx15("span", {
4227
- className: "moonkey-detail-row__value",
4228
+ className: "moonx-detail-row__value",
4228
4229
  children: value
4229
4230
  })
4230
4231
  ]
@@ -4538,14 +4539,14 @@ var AddPasskey = function AddPasskey(param) {
4538
4539
  };
4539
4540
  var renderLogo = function renderLogo() {
4540
4541
  return /* @__PURE__ */ jsx16("div", {
4541
- className: "moonkey-flow-logo",
4542
+ className: "moonx-flow-logo",
4542
4543
  style: {
4543
4544
  paddingTop: "1rem"
4544
4545
  },
4545
4546
  children: customLogoUrl ? /* @__PURE__ */ jsx16("img", {
4546
4547
  src: customLogoUrl,
4547
4548
  alt: "",
4548
- className: "moonkey-icon--lg",
4549
+ className: "moonx-icon--lg",
4549
4550
  style: {
4550
4551
  objectFit: "contain"
4551
4552
  }
@@ -4566,22 +4567,22 @@ var AddPasskey = function AddPasskey(param) {
4566
4567
  theme: config === null || config === void 0 ? void 0 : (_config_config6 = config.config) === null || _config_config6 === void 0 ? void 0 : _config_config6.theme,
4567
4568
  appearance: config === null || config === void 0 ? void 0 : (_config_config7 = config.config) === null || _config_config7 === void 0 ? void 0 : _config_config7.appearance,
4568
4569
  children: /* @__PURE__ */ jsxs10("div", {
4569
- className: cx("moonkey-add-passkey", "moonkey-add-passkey-success", "moonkey-modal-content"),
4570
+ className: cx("moonx-add-passkey", "moonx-add-passkey-success", "moonx-modal-content"),
4570
4571
  children: [
4571
4572
  renderLogo(),
4572
4573
  /* @__PURE__ */ jsx16(CheckCircle2, {
4573
- className: "moonkey-icon--2xl moonkey-icon--success"
4574
+ className: "moonx-icon--2xl moonx-icon--success"
4574
4575
  }),
4575
4576
  /* @__PURE__ */ jsx16("div", {
4576
- className: "moonkey-text--title moonkey-text--xl",
4577
+ className: "moonx-text--title moonx-text--xl",
4577
4578
  children: "New passkey added"
4578
4579
  }),
4579
4580
  /* @__PURE__ */ jsx16("div", {
4580
- className: "moonkey-text--secondary",
4581
+ className: "moonx-text--secondary",
4581
4582
  children: "You can now unlock your wallet from this passkey too."
4582
4583
  }),
4583
4584
  /* @__PURE__ */ jsx16("div", {
4584
- className: "moonkey-btn-stack",
4585
+ className: "moonx-btn-stack",
4585
4586
  children: /* @__PURE__ */ jsx16(Button, {
4586
4587
  onClick: function onClick() {
4587
4588
  return finish({
@@ -4603,15 +4604,15 @@ var AddPasskey = function AddPasskey(param) {
4603
4604
  theme: config === null || config === void 0 ? void 0 : (_config_config8 = config.config) === null || _config_config8 === void 0 ? void 0 : _config_config8.theme,
4604
4605
  appearance: config === null || config === void 0 ? void 0 : (_config_config9 = config.config) === null || _config_config9 === void 0 ? void 0 : _config_config9.appearance,
4605
4606
  children: /* @__PURE__ */ jsxs10("div", {
4606
- className: cx("moonkey-add-passkey", "moonkey-add-passkey-error", "moonkey-modal-content"),
4607
+ className: cx("moonx-add-passkey", "moonx-add-passkey-error", "moonx-modal-content"),
4607
4608
  children: [
4608
4609
  renderLogo(),
4609
4610
  /* @__PURE__ */ jsx16(AlertTriangle, {
4610
4611
  "aria-hidden": true,
4611
- className: "moonkey-icon--xl moonkey-icon--error"
4612
+ className: "moonx-icon--xl moonx-icon--error"
4612
4613
  }),
4613
4614
  /* @__PURE__ */ jsx16("div", {
4614
- className: "moonkey-text--title moonkey-text--xl",
4615
+ className: "moonx-text--title moonx-text--xl",
4615
4616
  children: recoverWithUnlock ? "Unlock expired" : "Couldn't add passkey"
4616
4617
  }),
4617
4618
  errorMessage && /* @__PURE__ */ jsx16(ErrorBox, {
@@ -4620,7 +4621,7 @@ var AddPasskey = function AddPasskey(param) {
4620
4621
  children: errorMessage
4621
4622
  }),
4622
4623
  /* @__PURE__ */ jsxs10("div", {
4623
- className: "moonkey-btn-stack",
4624
+ className: "moonx-btn-stack",
4624
4625
  children: [
4625
4626
  /* @__PURE__ */ jsx16(Button, {
4626
4627
  onClick: handleRetry,
@@ -4646,30 +4647,30 @@ var AddPasskey = function AddPasskey(param) {
4646
4647
  theme: config === null || config === void 0 ? void 0 : (_config_config10 = config.config) === null || _config_config10 === void 0 ? void 0 : _config_config10.theme,
4647
4648
  appearance: config === null || config === void 0 ? void 0 : (_config_config11 = config.config) === null || _config_config11 === void 0 ? void 0 : _config_config11.appearance,
4648
4649
  children: /* @__PURE__ */ jsxs10("div", {
4649
- className: cx("moonkey-add-passkey", "moonkey-add-passkey-step-1", "moonkey-modal-content"),
4650
+ className: cx("moonx-add-passkey", "moonx-add-passkey-step-1", "moonx-modal-content"),
4650
4651
  children: [
4651
4652
  renderLogo(),
4652
4653
  /* @__PURE__ */ jsx16("div", {
4653
- className: "moonkey-step-label",
4654
+ className: "moonx-step-label",
4654
4655
  children: "Step 1 of 2"
4655
4656
  }),
4656
4657
  /* @__PURE__ */ jsx16(KeyRound, {
4657
- className: "moonkey-icon--xl moonkey-icon--accent"
4658
+ className: "moonx-icon--xl moonx-icon--accent"
4658
4659
  }),
4659
4660
  /* @__PURE__ */ jsx16("div", {
4660
- className: "moonkey-text--title moonkey-text--xl",
4661
+ className: "moonx-text--title moonx-text--xl",
4661
4662
  children: "Confirm with an existing passkey"
4662
4663
  }),
4663
4664
  /* @__PURE__ */ jsx16("div", {
4664
- className: "moonkey-text--secondary",
4665
+ className: "moonx-text--secondary",
4665
4666
  children: "To add another passkey, first prove you have access by unlocking with one you already use. Your wallet stays encrypted on this device throughout."
4666
4667
  }),
4667
4668
  errorMessage && /* @__PURE__ */ jsx16("div", {
4668
- className: "moonkey-text--error",
4669
+ className: "moonx-text--error",
4669
4670
  children: errorMessage
4670
4671
  }),
4671
4672
  /* @__PURE__ */ jsxs10("div", {
4672
- className: "moonkey-btn-stack",
4673
+ className: "moonx-btn-stack",
4673
4674
  children: [
4674
4675
  /* @__PURE__ */ jsx16(Button, {
4675
4676
  onClick: handleUnlock,
@@ -4695,40 +4696,40 @@ var AddPasskey = function AddPasskey(param) {
4695
4696
  theme: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.theme,
4696
4697
  appearance: config === null || config === void 0 ? void 0 : (_config_config5 = config.config) === null || _config_config5 === void 0 ? void 0 : _config_config5.appearance,
4697
4698
  children: /* @__PURE__ */ jsxs10("div", {
4698
- className: cx("moonkey-add-passkey", "moonkey-add-passkey-step-2", "moonkey-modal-content"),
4699
+ className: cx("moonx-add-passkey", "moonx-add-passkey-step-2", "moonx-modal-content"),
4699
4700
  children: [
4700
4701
  renderLogo(),
4701
4702
  /* @__PURE__ */ jsx16("div", {
4702
- className: "moonkey-step-label",
4703
+ className: "moonx-step-label",
4703
4704
  children: "Step 2 of 2"
4704
4705
  }),
4705
4706
  /* @__PURE__ */ jsx16(Plus, {
4706
- className: "moonkey-icon--xl moonkey-icon--accent",
4707
+ className: "moonx-icon--xl moonx-icon--accent",
4707
4708
  "aria-hidden": true
4708
4709
  }),
4709
4710
  /* @__PURE__ */ jsx16(Fingerprint, {
4710
- className: "moonkey-icon--xl moonkey-icon--accent",
4711
+ className: "moonx-icon--xl moonx-icon--accent",
4711
4712
  style: {
4712
4713
  marginTop: "-1rem"
4713
4714
  }
4714
4715
  }),
4715
4716
  /* @__PURE__ */ jsx16("div", {
4716
- className: "moonkey-text--title moonkey-text--xl",
4717
+ className: "moonx-text--title moonx-text--xl",
4717
4718
  children: "Add another passkey"
4718
4719
  }),
4719
4720
  /* @__PURE__ */ jsx16("div", {
4720
- className: "moonkey-text--secondary",
4721
+ className: "moonx-text--secondary",
4721
4722
  children: "On the next prompt, your browser or password manager will offer to create a new passkey. Pick a syncing option (iCloud Keychain, Google Password Manager, 1Password) so you keep access if you lose this device."
4722
4723
  }),
4723
4724
  secondsLeft !== null && /* @__PURE__ */ jsx16(ExpiryPill, {
4724
4725
  secondsLeft: secondsLeft
4725
4726
  }),
4726
4727
  errorMessage && /* @__PURE__ */ jsx16("div", {
4727
- className: "moonkey-text--error",
4728
+ className: "moonx-text--error",
4728
4729
  children: errorMessage
4729
4730
  }),
4730
4731
  /* @__PURE__ */ jsxs10("div", {
4731
- className: "moonkey-btn-stack",
4732
+ className: "moonx-btn-stack",
4732
4733
  children: [
4733
4734
  /* @__PURE__ */ jsx16(Button, {
4734
4735
  onClick: handleEnroll,
@@ -4907,20 +4908,20 @@ var EmailOtpInput = function EmailOtpInput(param) {
4907
4908
  };
4908
4909
  return /* @__PURE__ */ jsx17(Fragment, {
4909
4910
  children: /* @__PURE__ */ jsx17("div", {
4910
- className: cx("moonkey-email-otp-input", "moonkey-flex-col"),
4911
+ className: cx("moonx-email-otp-input", "moonx-flex-col"),
4911
4912
  style: {
4912
4913
  marginTop: "1rem"
4913
4914
  },
4914
4915
  children: /* @__PURE__ */ jsx17("div", {
4915
- className: "moonkey-otp-content",
4916
+ className: "moonx-otp-content",
4916
4917
  children: /* @__PURE__ */ jsxs11("div", {
4917
- className: "moonkey-flex-col",
4918
+ className: "moonx-flex-col",
4918
4919
  style: {
4919
4920
  gap: "1rem"
4920
4921
  },
4921
4922
  children: [
4922
4923
  /* @__PURE__ */ jsx17(Label, {
4923
- htmlFor: "moonkey-email-input",
4924
+ htmlFor: "moonx-email-input",
4924
4925
  children: "Email address"
4925
4926
  }),
4926
4927
  /* @__PURE__ */ jsxs11("div", {
@@ -4929,13 +4930,13 @@ var EmailOtpInput = function EmailOtpInput(param) {
4929
4930
  },
4930
4931
  children: [
4931
4932
  /* @__PURE__ */ jsx17("div", {
4932
- className: "moonkey-input-icon--left",
4933
+ className: "moonx-input-icon--left",
4933
4934
  children: /* @__PURE__ */ jsx17(Mail, {
4934
- className: "moonkey-icon--md"
4935
+ className: "moonx-icon--md"
4935
4936
  })
4936
4937
  }),
4937
4938
  /* @__PURE__ */ jsx17(Input, {
4938
- id: "moonkey-email-input",
4939
+ id: "moonx-email-input",
4939
4940
  type: "email",
4940
4941
  value: email,
4941
4942
  onChange: function onChange(e) {
@@ -4949,7 +4950,7 @@ var EmailOtpInput = function EmailOtpInput(param) {
4949
4950
  paddingRight: "5.3rem",
4950
4951
  paddingTop: "0.75rem",
4951
4952
  paddingBottom: "0.75rem",
4952
- borderRadius: "var(--moonx-radius-input, var(--moonkey-border-radius-lg))",
4953
+ borderRadius: "var(--moonx-radius-input, var(--moonx-border-radius-lg))",
4953
4954
  fontSize: "1rem"
4954
4955
  },
4955
4956
  required: true
@@ -4969,9 +4970,9 @@ var EmailOtpInput = function EmailOtpInput(param) {
4969
4970
  size: "sm",
4970
4971
  disabled: !isEmailValid || isProcessing,
4971
4972
  children: isProcessing ? /* @__PURE__ */ jsxs11("svg", {
4972
- className: "moonkey-icon--sm",
4973
+ className: "moonx-icon--sm",
4973
4974
  style: {
4974
- animation: "moonkey-spin 1s linear infinite"
4975
+ animation: "moonx-spin 1s linear infinite"
4975
4976
  },
4976
4977
  fill: "none",
4977
4978
  viewBox: "0 0 24 24",
@@ -5515,49 +5516,49 @@ var EmailOtpVerify = function EmailOtpVerify(param) {
5515
5516
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
5516
5517
  children: [
5517
5518
  /* @__PURE__ */ jsx18("div", {
5518
- className: "moonkey-back-btn",
5519
+ className: "moonx-back-btn",
5519
5520
  children: /* @__PURE__ */ jsx18(Button, {
5520
5521
  variant: "ghost",
5521
5522
  size: "icon",
5522
5523
  onClick: onBackPress,
5523
5524
  disabled: isLoading,
5524
5525
  children: /* @__PURE__ */ jsx18(ChevronLeft, {
5525
- className: "moonkey-icon--md"
5526
+ className: "moonx-icon--md"
5526
5527
  })
5527
5528
  })
5528
5529
  }),
5529
5530
  /* @__PURE__ */ jsx18("div", {
5530
- className: "moonkey-flex-col",
5531
+ className: "moonx-flex-col",
5531
5532
  children: /* @__PURE__ */ jsxs12("div", {
5532
- className: "moonkey-otp-content",
5533
+ className: "moonx-otp-content",
5533
5534
  children: [
5534
5535
  /* @__PURE__ */ jsx18("div", {
5535
- className: "moonkey-flex-center",
5536
+ className: "moonx-flex-center",
5536
5537
  children: /* @__PURE__ */ jsx18("div", {
5537
5538
  style: {
5538
- animation: "moonkey-mail-slide-in 0.8s ease-out 0.4s both"
5539
+ animation: "moonx-mail-slide-in 0.8s ease-out 0.4s both"
5539
5540
  },
5540
5541
  children: /* @__PURE__ */ jsx18(MailCheck, {
5541
- className: "moonkey-icon--2xl moonkey-icon--muted"
5542
+ className: "moonx-icon--2xl moonx-icon--muted"
5542
5543
  })
5543
5544
  })
5544
5545
  }),
5545
5546
  /* @__PURE__ */ jsx18("div", {
5546
- className: "moonkey-label moonkey-text--lg moonkey-text--center",
5547
+ className: "moonx-label moonx-text--lg moonx-text--center",
5547
5548
  style: {
5548
5549
  paddingTop: "1rem"
5549
5550
  },
5550
5551
  children: (config === null || config === void 0 ? void 0 : (_config_config5 = config.config) === null || _config_config5 === void 0 ? void 0 : (_config_config_emailConfig = _config_config5.emailConfig) === null || _config_config_emailConfig === void 0 ? void 0 : _config_config_emailConfig.verifyEmailTitle) || t("emailOtp.title")
5551
5552
  }),
5552
5553
  /* @__PURE__ */ jsxs12("div", {
5553
- className: "moonkey-flex-col",
5554
+ className: "moonx-flex-col",
5554
5555
  style: {
5555
5556
  gap: "1.5rem",
5556
5557
  paddingTop: "1.5rem"
5557
5558
  },
5558
5559
  children: [
5559
5560
  /* @__PURE__ */ jsxs12("div", {
5560
- className: "moonkey-text--secondary moonkey-text--center",
5561
+ className: "moonx-text--secondary moonx-text--center",
5561
5562
  style: {
5562
5563
  paddingLeft: "2rem",
5563
5564
  paddingRight: "2rem"
@@ -5566,7 +5567,7 @@ var EmailOtpVerify = function EmailOtpVerify(param) {
5566
5567
  t("emailOtp.descriptionStart"),
5567
5568
  " ",
5568
5569
  /* @__PURE__ */ jsx18("span", {
5569
- className: "moonkey-text--bold",
5570
+ className: "moonx-text--bold",
5570
5571
  title: emailOtpSendResponse.email,
5571
5572
  children: formatEmailDisplay(emailOtpSendResponse.email)
5572
5573
  }),
@@ -5575,7 +5576,7 @@ var EmailOtpVerify = function EmailOtpVerify(param) {
5575
5576
  ]
5576
5577
  }),
5577
5578
  /* @__PURE__ */ jsx18("div", {
5578
- className: "moonkey-flex-col-center",
5579
+ className: "moonx-flex-col-center",
5579
5580
  style: {
5580
5581
  paddingTop: "1rem",
5581
5582
  paddingBottom: "1rem"
@@ -5589,7 +5590,7 @@ var EmailOtpVerify = function EmailOtpVerify(param) {
5589
5590
  },
5590
5591
  children: [
5591
5592
  validationState === "success" && /* @__PURE__ */ jsxs12("div", {
5592
- className: "moonkey-text--success",
5593
+ className: "moonx-text--success",
5593
5594
  style: {
5594
5595
  textAlign: "right"
5595
5596
  },
@@ -5615,7 +5616,7 @@ var EmailOtpVerify = function EmailOtpVerify(param) {
5615
5616
  children: errorMessage
5616
5617
  }),
5617
5618
  canResend ? /* @__PURE__ */ jsxs12("div", {
5618
- className: "moonkey-center-row",
5619
+ className: "moonx-center-row",
5619
5620
  children: [
5620
5621
  /* @__PURE__ */ jsx18(Label, {
5621
5622
  tone: "secondary",
@@ -5635,7 +5636,7 @@ var EmailOtpVerify = function EmailOtpVerify(param) {
5635
5636
  },
5636
5637
  children: [
5637
5638
  /* @__PURE__ */ jsx18("span", {
5638
- className: "moonkey-spinner moonkey-spinner--sm"
5639
+ className: "moonx-spinner moonx-spinner--sm"
5639
5640
  }),
5640
5641
  t("emailOtp.sending")
5641
5642
  ]
@@ -5679,7 +5680,7 @@ var AnimatedCheck = function AnimatedCheck(param) {
5679
5680
  width: size,
5680
5681
  height: size,
5681
5682
  borderRadius: "50%",
5682
- backgroundColor: "var(--moonkey-color-success)",
5683
+ backgroundColor: "var(--moonx-color-success)",
5683
5684
  display: "flex",
5684
5685
  alignItems: "center",
5685
5686
  justifyContent: "center",
@@ -5761,7 +5762,7 @@ var EmailOtpVerified = function EmailOtpVerified(param) {
5761
5762
  appearance: config === null || config === void 0 ? void 0 : (_config_config5 = config.config) === null || _config_config5 === void 0 ? void 0 : _config_config5.appearance,
5762
5763
  children: /* @__PURE__ */ jsxs14("div", {
5763
5764
  style: {
5764
- animation: "moonkey-verified-slide-in 0.4s ease-out 0.1s both"
5765
+ animation: "moonx-verified-slide-in 0.4s ease-out 0.1s both"
5765
5766
  },
5766
5767
  children: [
5767
5768
  /* @__PURE__ */ jsx20("div", {
@@ -5937,13 +5938,16 @@ var ExportKey = function ExportKey(param) {
5937
5938
  url.searchParams.append("wallet_type", walletType);
5938
5939
  url.searchParams.append("entropy_type", entropyType2);
5939
5940
  url.searchParams.append("displayMode", isDark ? "dark" : "light");
5940
- url.searchParams.append("user_handle_b64url", userHandleB64url);
5941
- url.searchParams.append("credential_id_b64url", credentialIdB64url);
5942
- url.searchParams.append("keyshare_read_token", keyshareReadToken);
5943
5941
  var themeVars = buildThemeParams();
5944
5942
  if (Object.keys(themeVars).length > 0) {
5945
5943
  url.searchParams.append("theme", JSON.stringify(themeVars));
5946
5944
  }
5945
+ var secrets = new URLSearchParams({
5946
+ user_handle_b64url: userHandleB64url,
5947
+ credential_id_b64url: credentialIdB64url,
5948
+ keyshare_read_token: keyshareReadToken
5949
+ });
5950
+ url.hash = secrets.toString();
5947
5951
  return url.toString();
5948
5952
  };
5949
5953
  var getWallet = function getWallet() {
@@ -6128,13 +6132,13 @@ var ExportKey = function ExportKey(param) {
6128
6132
  appearance: config === null || config === void 0 ? void 0 : (_config_config6 = config.config) === null || _config_config6 === void 0 ? void 0 : _config_config6.appearance,
6129
6133
  children: [
6130
6134
  /* @__PURE__ */ jsx22("div", {
6131
- className: "moonkey-flow-close",
6135
+ className: "moonx-flow-close",
6132
6136
  children: /* @__PURE__ */ jsx22(Button, {
6133
6137
  variant: "ghost",
6134
6138
  size: "icon",
6135
6139
  onClick: onCancel,
6136
6140
  children: /* @__PURE__ */ jsx22(X, {
6137
- className: "moonkey-icon--sm"
6141
+ className: "moonx-icon--sm"
6138
6142
  })
6139
6143
  })
6140
6144
  }),
@@ -6143,28 +6147,28 @@ var ExportKey = function ExportKey(param) {
6143
6147
  gap: "1rem",
6144
6148
  padding: "1.5rem"
6145
6149
  },
6146
- className: "moonkey-flex-col-center moonkey-text--center",
6150
+ className: "moonx-flex-col-center moonx-text--center",
6147
6151
  children: [
6148
6152
  /* @__PURE__ */ jsx22("div", {
6149
6153
  style: {
6150
6154
  width: "3rem",
6151
6155
  height: "3rem",
6152
6156
  borderRadius: "50%",
6153
- backgroundColor: "var(--moonkey-color-background-2)"
6157
+ backgroundColor: "var(--moonx-color-background-2)"
6154
6158
  },
6155
- className: "moonkey-flex-center",
6159
+ className: "moonx-flex-center",
6156
6160
  children: /* @__PURE__ */ jsx22(ShieldOff, {
6157
- className: "moonkey-icon--md moonkey-icon--muted"
6161
+ className: "moonx-icon--md moonx-icon--muted"
6158
6162
  })
6159
6163
  }),
6160
6164
  /* @__PURE__ */ jsxs15("div", {
6161
6165
  children: [
6162
6166
  /* @__PURE__ */ jsx22("p", {
6163
- className: "moonkey-text--title",
6167
+ className: "moonx-text--title",
6164
6168
  children: t("exportKey.notAvailable")
6165
6169
  }),
6166
6170
  /* @__PURE__ */ jsx22("p", {
6167
- className: "moonkey-text--secondary",
6171
+ className: "moonx-text--secondary",
6168
6172
  style: {
6169
6173
  paddingTop: "1rem"
6170
6174
  },
@@ -6184,21 +6188,21 @@ var ExportKey = function ExportKey(param) {
6184
6188
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
6185
6189
  children: [
6186
6190
  /* @__PURE__ */ jsx22("div", {
6187
- className: "moonkey-flow-close",
6191
+ className: "moonx-flow-close",
6188
6192
  children: /* @__PURE__ */ jsx22(Button, {
6189
6193
  variant: "ghost",
6190
6194
  size: "icon",
6191
6195
  onClick: onCancel,
6192
6196
  children: /* @__PURE__ */ jsx22(X, {
6193
- className: "moonkey-icon--sm"
6197
+ className: "moonx-icon--sm"
6194
6198
  })
6195
6199
  })
6196
6200
  }),
6197
6201
  /* @__PURE__ */ jsxs15("div", {
6198
- className: "moonkey-flow-header",
6202
+ className: "moonx-flow-header",
6199
6203
  children: [
6200
6204
  /* @__PURE__ */ jsx22("p", {
6201
- className: "moonkey-text--heading",
6205
+ className: "moonx-text--heading",
6202
6206
  children: (_ref = uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.title) !== null && _ref !== void 0 ? _ref : /* @__PURE__ */ jsxs15(Fragment3, {
6203
6207
  children: [
6204
6208
  "Export ",
@@ -6214,7 +6218,7 @@ var ExportKey = function ExportKey(param) {
6214
6218
  ]
6215
6219
  }),
6216
6220
  /* @__PURE__ */ jsxs15("div", {
6217
- className: "moonkey-flow-content",
6221
+ className: "moonx-flow-content",
6218
6222
  children: [
6219
6223
  /* @__PURE__ */ jsx22(ErrorBox, {
6220
6224
  icon: WarningIcon,
@@ -6224,7 +6228,7 @@ var ExportKey = function ExportKey(param) {
6224
6228
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.neverShareDescription) || t("exportKey.neverShare")
6225
6229
  }),
6226
6230
  /* @__PURE__ */ jsx22("div", {
6227
- className: "moonkey-box moonkey-box--surface",
6231
+ className: "moonx-box moonx-box--surface",
6228
6232
  style: {
6229
6233
  marginBottom: "1rem"
6230
6234
  },
@@ -6242,7 +6246,7 @@ var ExportKey = function ExportKey(param) {
6242
6246
  gap: "0.5rem",
6243
6247
  marginTop: "0.5rem"
6244
6248
  },
6245
- className: "moonkey-flex-col",
6249
+ className: "moonx-flex-col",
6246
6250
  children: [
6247
6251
  /* @__PURE__ */ jsx22(Button, {
6248
6252
  onClick: handleReveal,
@@ -6262,14 +6266,14 @@ var ExportKey = function ExportKey(param) {
6262
6266
  },
6263
6267
  children: [
6264
6268
  /* @__PURE__ */ jsx22(KeyRound2, {
6265
- className: "moonkey-icon--sm"
6269
+ className: "moonx-icon--sm"
6266
6270
  }),
6267
6271
  "Reveal Key"
6268
6272
  ]
6269
6273
  })
6270
6274
  }),
6271
6275
  revealError && /* @__PURE__ */ jsx22("p", {
6272
- className: "moonkey-text--error moonkey-text--center",
6276
+ className: "moonx-text--error moonx-text--center",
6273
6277
  children: revealError
6274
6278
  })
6275
6279
  ]
@@ -6279,12 +6283,15 @@ var ExportKey = function ExportKey(param) {
6279
6283
  src: iframeUrl,
6280
6284
  allow: "clipboard-write",
6281
6285
  style: {
6282
- width: "calc(100% + 1rem)",
6283
- marginLeft: "-0.5rem",
6284
- marginRight: "-0.5rem",
6286
+ // Match the sibling content width (never-share warning, wallet
6287
+ // box) — both sit inside `.moonkey-flow-content`'s 0.5rem inline
6288
+ // padding. A previous `calc(100% + 1rem)` + negative margins
6289
+ // full-bled the iframe into that padding, so the revealed key
6290
+ // rendered ~1rem wider than the warning above it.
6291
+ width: "100%",
6285
6292
  height: "180px",
6286
6293
  border: "none",
6287
- borderRadius: "var(--moonkey-border-radius-lg)"
6294
+ borderRadius: "var(--moonx-border-radius-lg)"
6288
6295
  }
6289
6296
  })
6290
6297
  ]
@@ -6302,7 +6309,7 @@ var FundingFailure = function FundingFailure(param) {
6302
6309
  var _config_config, _config_config_appearance, _config_config1, _config_config_appearance1, _config_config2, _config_config3, _config_config4;
6303
6310
  var isDark = propsIsDark !== void 0 ? propsIsDark : isDarkMode(config === null || config === void 0 ? void 0 : (_config_config = config.config) === null || _config_config === void 0 ? void 0 : _config_config.theme, config === null || config === void 0 ? void 0 : (_config_config1 = config.config) === null || _config_config1 === void 0 ? void 0 : (_config_config_appearance = _config_config1.appearance) === null || _config_config_appearance === void 0 ? void 0 : _config_config_appearance.displayMode, config === null || config === void 0 ? void 0 : (_config_config2 = config.config) === null || _config_config2 === void 0 ? void 0 : (_config_config_appearance1 = _config_config2.appearance) === null || _config_config_appearance1 === void 0 ? void 0 : _config_config_appearance1.backgroundColor);
6304
6311
  return /* @__PURE__ */ jsx23("div", {
6305
- className: "moonkey-flow-overlay",
6312
+ className: "moonx-flow-overlay",
6306
6313
  children: /* @__PURE__ */ jsxs16(RootCard, {
6307
6314
  centerContent: false,
6308
6315
  isDark: isDark,
@@ -6310,42 +6317,42 @@ var FundingFailure = function FundingFailure(param) {
6310
6317
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
6311
6318
  children: [
6312
6319
  /* @__PURE__ */ jsx23("div", {
6313
- className: "moonkey-flex-center",
6320
+ className: "moonx-flex-center",
6314
6321
  style: {
6315
6322
  marginTop: "3rem"
6316
6323
  },
6317
6324
  children: /* @__PURE__ */ jsx23("div", {
6318
6325
  style: {
6319
- animation: "moonkey-error-shake 0.5s ease-out 0.1s both"
6326
+ animation: "moonx-error-shake 0.5s ease-out 0.1s both"
6320
6327
  },
6321
6328
  children: /* @__PURE__ */ jsx23(XCircle, {
6322
- className: "moonkey-icon--2xl moonkey-icon--error"
6329
+ className: "moonx-icon--2xl moonx-icon--error"
6323
6330
  })
6324
6331
  })
6325
6332
  }),
6326
6333
  /* @__PURE__ */ jsx23("div", {
6327
- className: "moonkey-text--lg moonkey-text--semibold moonkey-text--center",
6334
+ className: "moonx-text--lg moonx-text--semibold moonx-text--center",
6328
6335
  style: {
6329
6336
  paddingTop: "0.5rem"
6330
6337
  },
6331
6338
  children: "Funding Failed"
6332
6339
  }),
6333
6340
  /* @__PURE__ */ jsx23("div", {
6334
- className: "moonkey-text--center",
6341
+ className: "moonx-text--center",
6335
6342
  style: {
6336
6343
  paddingTop: "2.5rem",
6337
6344
  paddingLeft: "0.5rem",
6338
6345
  paddingRight: "0.5rem"
6339
6346
  },
6340
6347
  children: /* @__PURE__ */ jsx23("div", {
6341
- className: "moonkey-text--secondary moonkey-text--semibold",
6348
+ className: "moonx-text--secondary moonx-text--semibold",
6342
6349
  children: "We couldn't complete your funding request. Please try again or contact support if the problem persists."
6343
6350
  })
6344
6351
  }),
6345
6352
  /* @__PURE__ */ jsx23("div", {
6346
- className: "moonkey-flow-footer",
6353
+ className: "moonx-flow-footer",
6347
6354
  children: /* @__PURE__ */ jsx23("div", {
6348
- className: "moonkey-flow-footer__actions",
6355
+ className: "moonx-flow-footer__actions",
6349
6356
  children: /* @__PURE__ */ jsx23(Button, {
6350
6357
  onClick: onClose,
6351
6358
  children: "Try Again"
@@ -6362,7 +6369,7 @@ import { jsx as jsx24, jsxs as jsxs17 } from "react/jsx-runtime";
6362
6369
  var FundingOptionButton = function FundingOptionButton(param) {
6363
6370
  var icon = param.icon, label = param.label, onClick = param.onClick;
6364
6371
  return /* @__PURE__ */ jsx24("div", {
6365
- className: "moonkey-wallet-item",
6372
+ className: "moonx-wallet-item",
6366
6373
  onClick: onClick,
6367
6374
  children: /* @__PURE__ */ jsxs17("div", {
6368
6375
  style: {
@@ -6379,7 +6386,7 @@ var FundingOptionButton = function FundingOptionButton(param) {
6379
6386
  children: icon
6380
6387
  }),
6381
6388
  /* @__PURE__ */ jsx24("div", {
6382
- className: "moonkey-text--sm",
6389
+ className: "moonx-text--sm",
6383
6390
  children: label
6384
6391
  })
6385
6392
  ]
@@ -6398,7 +6405,7 @@ var FundingSelection = function FundingSelection(param) {
6398
6405
  children: /* @__PURE__ */ jsxs17("div", {
6399
6406
  children: [
6400
6407
  /* @__PURE__ */ jsxs17("div", {
6401
- className: "moonkey-flex-between",
6408
+ className: "moonx-flex-between",
6402
6409
  children: [
6403
6410
  /* @__PURE__ */ jsx24(Button, {
6404
6411
  variant: "ghost",
@@ -6408,11 +6415,11 @@ var FundingSelection = function FundingSelection(param) {
6408
6415
  visibility: "hidden"
6409
6416
  },
6410
6417
  children: /* @__PURE__ */ jsx24(ArrowLeft, {
6411
- className: "moonkey-icon--sm moonkey-icon--fg"
6418
+ className: "moonx-icon--sm moonx-icon--fg"
6412
6419
  })
6413
6420
  }),
6414
6421
  /* @__PURE__ */ jsx24("span", {
6415
- className: "moonkey-text--title",
6422
+ className: "moonx-text--title",
6416
6423
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : (_uiConfig_landing = uiConfig.landing) === null || _uiConfig_landing === void 0 ? void 0 : _uiConfig_landing.title) || "Add funds to your wallet"
6417
6424
  }),
6418
6425
  /* @__PURE__ */ jsx24(Button, {
@@ -6420,13 +6427,13 @@ var FundingSelection = function FundingSelection(param) {
6420
6427
  size: "icon",
6421
6428
  onClick: onClose,
6422
6429
  children: /* @__PURE__ */ jsx24(X2, {
6423
- className: "moonkey-icon--sm moonkey-icon--fg"
6430
+ className: "moonx-icon--sm moonx-icon--fg"
6424
6431
  })
6425
6432
  })
6426
6433
  ]
6427
6434
  }),
6428
6435
  /* @__PURE__ */ jsxs17("div", {
6429
- className: "moonkey-flex-col",
6436
+ className: "moonx-flex-col",
6430
6437
  style: {
6431
6438
  marginTop: "1rem",
6432
6439
  gap: "0.5rem"
@@ -6434,7 +6441,7 @@ var FundingSelection = function FundingSelection(param) {
6434
6441
  children: [
6435
6442
  /* @__PURE__ */ jsx24(FundingOptionButton, {
6436
6443
  icon: /* @__PURE__ */ jsx24(CreditCard, {
6437
- className: "moonkey-icon--fg"
6444
+ className: "moonx-icon--fg"
6438
6445
  }),
6439
6446
  label: "Pay with card",
6440
6447
  onClick: function onClick() {
@@ -6443,7 +6450,7 @@ var FundingSelection = function FundingSelection(param) {
6443
6450
  }),
6444
6451
  /* @__PURE__ */ jsx24(FundingOptionButton, {
6445
6452
  icon: /* @__PURE__ */ jsx24(QrCode, {
6446
- className: "moonkey-icon--fg"
6453
+ className: "moonx-icon--fg"
6447
6454
  }),
6448
6455
  label: "Receive funds",
6449
6456
  onClick: function onClick() {
@@ -6464,7 +6471,7 @@ function FundingSuccess(param) {
6464
6471
  var _config_config, _config_config_appearance, _config_config1, _config_config_appearance1, _config_config2, _config_config3, _config_config4;
6465
6472
  var isDark = propsIsDark !== void 0 ? propsIsDark : isDarkMode(config === null || config === void 0 ? void 0 : (_config_config = config.config) === null || _config_config === void 0 ? void 0 : _config_config.theme, config === null || config === void 0 ? void 0 : (_config_config1 = config.config) === null || _config_config1 === void 0 ? void 0 : (_config_config_appearance = _config_config1.appearance) === null || _config_config_appearance === void 0 ? void 0 : _config_config_appearance.displayMode, config === null || config === void 0 ? void 0 : (_config_config2 = config.config) === null || _config_config2 === void 0 ? void 0 : (_config_config_appearance1 = _config_config2.appearance) === null || _config_config_appearance1 === void 0 ? void 0 : _config_config_appearance1.backgroundColor);
6466
6473
  return /* @__PURE__ */ jsx25("div", {
6467
- className: "moonkey-flow-overlay",
6474
+ className: "moonx-flow-overlay",
6468
6475
  children: /* @__PURE__ */ jsxs18(RootCard, {
6469
6476
  centerContent: false,
6470
6477
  isDark: isDark,
@@ -6472,39 +6479,39 @@ function FundingSuccess(param) {
6472
6479
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
6473
6480
  children: [
6474
6481
  /* @__PURE__ */ jsx25("div", {
6475
- className: "moonkey-flex-center",
6482
+ className: "moonx-flex-center",
6476
6483
  children: /* @__PURE__ */ jsx25("div", {
6477
6484
  style: {
6478
- animation: "moonkey-success-bounce 0.8s ease-out 0.1s both"
6485
+ animation: "moonx-success-bounce 0.8s ease-out 0.1s both"
6479
6486
  },
6480
6487
  children: /* @__PURE__ */ jsx25(CheckCircle22, {
6481
- className: "moonkey-icon--2xl moonkey-icon--success"
6488
+ className: "moonx-icon--2xl moonx-icon--success"
6482
6489
  })
6483
6490
  })
6484
6491
  }),
6485
6492
  /* @__PURE__ */ jsx25("div", {
6486
- className: "moonkey-text--lg moonkey-text--semibold moonkey-text--center",
6493
+ className: "moonx-text--lg moonx-text--semibold moonx-text--center",
6487
6494
  style: {
6488
6495
  paddingTop: "3rem"
6489
6496
  },
6490
6497
  children: "Funding Successful"
6491
6498
  }),
6492
6499
  /* @__PURE__ */ jsx25("div", {
6493
- className: "moonkey-text--center",
6500
+ className: "moonx-text--center",
6494
6501
  style: {
6495
6502
  paddingTop: "2.5rem",
6496
6503
  paddingLeft: "0.5rem",
6497
6504
  paddingRight: "0.5rem"
6498
6505
  },
6499
6506
  children: /* @__PURE__ */ jsx25("div", {
6500
- className: "moonkey-text--secondary moonkey-text--semibold",
6507
+ className: "moonx-text--secondary moonx-text--semibold",
6501
6508
  children: "Your wallet has been funded successfully. The funds should appear in your account shortly."
6502
6509
  })
6503
6510
  }),
6504
6511
  /* @__PURE__ */ jsx25("div", {
6505
- className: "moonkey-flow-footer",
6512
+ className: "moonx-flow-footer",
6506
6513
  children: /* @__PURE__ */ jsx25("div", {
6507
- className: "moonkey-flow-footer__actions",
6514
+ className: "moonx-flow-footer__actions",
6508
6515
  children: /* @__PURE__ */ jsx25(Button, {
6509
6516
  onClick: onClose,
6510
6517
  children: "Done"
@@ -6573,7 +6580,7 @@ var LoadingSpinner = function LoadingSpinner(param) {
6573
6580
  position: "absolute",
6574
6581
  inset: 0,
6575
6582
  borderRadius: "50%",
6576
- border: "4px solid var(--moonkey-color-background-2)"
6583
+ border: "4px solid var(--moonx-color-background-2)"
6577
6584
  }
6578
6585
  }),
6579
6586
  /* @__PURE__ */ jsx26("div", {
@@ -6582,8 +6589,8 @@ var LoadingSpinner = function LoadingSpinner(param) {
6582
6589
  inset: 0,
6583
6590
  borderRadius: "50%",
6584
6591
  border: "4px solid transparent",
6585
- borderTopColor: "var(--moonkey-color-accent)",
6586
- animation: "moonkey-spin 1s linear infinite"
6592
+ borderTopColor: "var(--moonx-color-accent)",
6593
+ animation: "moonx-spin 1s linear infinite"
6587
6594
  }
6588
6595
  }),
6589
6596
  (iconUrl || iconComponent) && /* @__PURE__ */ jsx26("div", {
@@ -6628,7 +6635,7 @@ var LoadingSpinner = function LoadingSpinner(param) {
6628
6635
  }),
6629
6636
  text && /* @__PURE__ */ jsx26("div", {
6630
6637
  style: {
6631
- color: "var(--moonkey-color-foreground-3)",
6638
+ color: "var(--moonx-color-foreground-3)",
6632
6639
  fontSize: "0.875rem"
6633
6640
  },
6634
6641
  children: text
@@ -6835,7 +6842,7 @@ var PayWithCard = function PayWithCard(param) {
6835
6842
  children: /* @__PURE__ */ jsxs20("div", {
6836
6843
  children: [
6837
6844
  /* @__PURE__ */ jsxs20("div", {
6838
- className: "moonkey-flex-between",
6845
+ className: "moonx-flex-between",
6839
6846
  style: {
6840
6847
  marginBottom: "1.5rem"
6841
6848
  },
@@ -6845,11 +6852,11 @@ var PayWithCard = function PayWithCard(param) {
6845
6852
  size: "icon",
6846
6853
  onClick: onClose,
6847
6854
  children: /* @__PURE__ */ jsx27(ArrowLeft2, {
6848
- className: "moonkey-icon--sm moonkey-icon--fg"
6855
+ className: "moonx-icon--sm moonx-icon--fg"
6849
6856
  })
6850
6857
  }),
6851
6858
  /* @__PURE__ */ jsx27("div", {
6852
- className: "moonkey-text--title",
6859
+ className: "moonx-text--title",
6853
6860
  style: {
6854
6861
  fontWeight: 600,
6855
6862
  flex: 1,
@@ -6862,7 +6869,7 @@ var PayWithCard = function PayWithCard(param) {
6862
6869
  size: "icon",
6863
6870
  onClick: onClose,
6864
6871
  children: /* @__PURE__ */ jsx27(X3, {
6865
- className: "moonkey-icon--sm moonkey-icon--fg"
6872
+ className: "moonx-icon--sm moonx-icon--fg"
6866
6873
  })
6867
6874
  })
6868
6875
  ]
@@ -6872,7 +6879,7 @@ var PayWithCard = function PayWithCard(param) {
6872
6879
  gap: "1.5rem",
6873
6880
  padding: "1rem"
6874
6881
  },
6875
- className: "moonkey-flex-col-center",
6882
+ className: "moonx-flex-col-center",
6876
6883
  children: isLoading ? /* @__PURE__ */ jsxs20(Fragment4, {
6877
6884
  children: [
6878
6885
  /* @__PURE__ */ jsx27(LoadingSpinner, {
@@ -6880,7 +6887,7 @@ var PayWithCard = function PayWithCard(param) {
6880
6887
  iconUrl: moonpay_default
6881
6888
  }),
6882
6889
  /* @__PURE__ */ jsx27("div", {
6883
- className: "moonkey-text--secondary moonkey-text--center",
6890
+ className: "moonx-text--secondary moonx-text--center",
6884
6891
  style: {
6885
6892
  maxWidth: "320px"
6886
6893
  },
@@ -6890,7 +6897,7 @@ var PayWithCard = function PayWithCard(param) {
6890
6897
  }) : popupBlocked ? /* @__PURE__ */ jsxs20(Fragment4, {
6891
6898
  children: [
6892
6899
  /* @__PURE__ */ jsx27("div", {
6893
- className: "moonkey-icon--muted moonkey-text--center",
6900
+ className: "moonx-icon--muted moonx-text--center",
6894
6901
  style: {
6895
6902
  fontSize: "1rem",
6896
6903
  fontWeight: 700,
@@ -6899,7 +6906,7 @@ var PayWithCard = function PayWithCard(param) {
6899
6906
  children: "Popup blocked"
6900
6907
  }),
6901
6908
  /* @__PURE__ */ jsx27("div", {
6902
- className: "moonkey-text--secondary moonkey-text--center",
6909
+ className: "moonx-text--secondary moonx-text--center",
6903
6910
  style: {
6904
6911
  maxWidth: "320px"
6905
6912
  },
@@ -6912,7 +6919,7 @@ var PayWithCard = function PayWithCard(param) {
6912
6919
  maxWidth: "320px",
6913
6920
  marginTop: "1rem"
6914
6921
  },
6915
- className: "moonkey-flex-col",
6922
+ className: "moonx-flex-col",
6916
6923
  children: [
6917
6924
  /* @__PURE__ */ jsxs20(Button, {
6918
6925
  onClick: handleManualOpen,
@@ -6920,7 +6927,7 @@ var PayWithCard = function PayWithCard(param) {
6920
6927
  /* @__PURE__ */ jsx27(ExternalLink, {
6921
6928
  size: 16,
6922
6929
  style: {
6923
- color: "var(--moonkey-color-accent-foreground)"
6930
+ color: "var(--moonx-color-accent-foreground)"
6924
6931
  }
6925
6932
  }),
6926
6933
  "Try Opening Again"
@@ -6941,7 +6948,7 @@ var PayWithCard = function PayWithCard(param) {
6941
6948
  iconUrl: moonpay_default
6942
6949
  }),
6943
6950
  /* @__PURE__ */ jsx27("div", {
6944
- className: "moonkey-text--secondary moonkey-text--center",
6951
+ className: "moonx-text--secondary moonx-text--center",
6945
6952
  style: {
6946
6953
  maxWidth: "320px"
6947
6954
  },
@@ -6953,7 +6960,7 @@ var PayWithCard = function PayWithCard(param) {
6953
6960
  children: [
6954
6961
  /* @__PURE__ */ jsx27(ExternalLink, {
6955
6962
  size: 16,
6956
- className: "moonkey-icon--fg"
6963
+ className: "moonx-icon--fg"
6957
6964
  }),
6958
6965
  "Reopen Payment Window"
6959
6966
  ]
@@ -7053,12 +7060,12 @@ var GeneratedQRCode = function GeneratedQRCode(param) {
7053
7060
  padding: "2rem"
7054
7061
  };
7055
7062
  var errorTextStyle = {
7056
- color: "var(--moonkey-color-error)",
7063
+ color: "var(--moonx-color-error)",
7057
7064
  fontSize: "0.875rem",
7058
7065
  marginBottom: "0.5rem"
7059
7066
  };
7060
7067
  var errorDetailStyle = {
7061
- color: "var(--moonkey-color-foreground-3)",
7068
+ color: "var(--moonx-color-foreground-3)",
7062
7069
  fontSize: "0.75rem"
7063
7070
  };
7064
7071
  var containerStyle = {
@@ -7081,13 +7088,13 @@ var GeneratedQRCode = function GeneratedQRCode(param) {
7081
7088
  borderRadius: "50%",
7082
7089
  height: "3rem",
7083
7090
  width: "3rem",
7084
- borderBottom: "2px solid var(--moonkey-color-accent)",
7091
+ borderBottom: "2px solid var(--moonx-color-accent)",
7085
7092
  marginBottom: "1rem"
7086
7093
  };
7087
7094
  var loadingTextStyle = {
7088
7095
  fontSize: "1.125rem",
7089
7096
  fontWeight: 500,
7090
- color: "var(--moonkey-color-foreground)"
7097
+ color: "var(--moonx-color-foreground)"
7091
7098
  };
7092
7099
  var qrContainerStyle = {
7093
7100
  display: "flex",
@@ -7203,7 +7210,7 @@ var ReceiveFundsQRCode = function ReceiveFundsQRCode(param) {
7203
7210
  };
7204
7211
  var qrCodeUri = "".concat(walletType, ":").concat(walletAddress);
7205
7212
  return /* @__PURE__ */ jsxs22("div", {
7206
- className: "moonkey-flex-col-center",
7213
+ className: "moonx-flex-col-center",
7207
7214
  style: {
7208
7215
  position: "relative",
7209
7216
  gap: "1rem"
@@ -7218,21 +7225,21 @@ var ReceiveFundsQRCode = function ReceiveFundsQRCode(param) {
7218
7225
  height: 225
7219
7226
  }),
7220
7227
  /* @__PURE__ */ jsxs22("div", {
7221
- className: "moonkey-flex-col-center",
7228
+ className: "moonx-flex-col-center",
7222
7229
  style: {
7223
7230
  gap: "0.5rem",
7224
7231
  width: "100%"
7225
7232
  },
7226
7233
  children: [
7227
7234
  /* @__PURE__ */ jsxs22("div", {
7228
- className: "moonkey-flex-between",
7235
+ className: "moonx-flex-between",
7229
7236
  style: {
7230
7237
  width: "100%",
7231
7238
  marginBottom: "0.5rem"
7232
7239
  },
7233
7240
  children: [
7234
7241
  /* @__PURE__ */ jsxs22("div", {
7235
- className: "moonkey-text--secondary moonkey-text--semibold",
7242
+ className: "moonx-text--secondary moonx-text--semibold",
7236
7243
  children: [
7237
7244
  "Your ",
7238
7245
  walletType === "solana" ? "Solana" : "Ethereum",
@@ -7242,10 +7249,10 @@ var ReceiveFundsQRCode = function ReceiveFundsQRCode(param) {
7242
7249
  /* @__PURE__ */ jsx29("button", {
7243
7250
  style: {
7244
7251
  padding: "0.25rem 0.75rem",
7245
- backgroundColor: isCopied ? "var(--moonkey-color-success)" : "var(--moonkey-color-accent)",
7252
+ backgroundColor: isCopied ? "var(--moonx-color-success)" : "var(--moonx-color-accent)",
7246
7253
  color: "white",
7247
7254
  border: "none",
7248
- borderRadius: "var(--moonkey-border-radius-md)",
7255
+ borderRadius: "var(--moonx-border-radius-md)",
7249
7256
  fontSize: "0.75rem",
7250
7257
  fontWeight: 500,
7251
7258
  cursor: "pointer",
@@ -7257,12 +7264,12 @@ var ReceiveFundsQRCode = function ReceiveFundsQRCode(param) {
7257
7264
  onClick: handleCopyAddress,
7258
7265
  onMouseEnter: function onMouseEnter(e) {
7259
7266
  if (!isCopied) {
7260
- e.currentTarget.style.backgroundColor = "var(--moonkey-color-accent-dark)";
7267
+ e.currentTarget.style.backgroundColor = "var(--moonx-color-accent-dark)";
7261
7268
  }
7262
7269
  },
7263
7270
  onMouseLeave: function onMouseLeave(e) {
7264
7271
  if (!isCopied) {
7265
- e.currentTarget.style.backgroundColor = "var(--moonkey-color-accent)";
7272
+ e.currentTarget.style.backgroundColor = "var(--moonx-color-accent)";
7266
7273
  }
7267
7274
  },
7268
7275
  children: isCopied ? /* @__PURE__ */ jsxs22(Fragment6, {
@@ -7316,10 +7323,10 @@ var ReceiveFundsQRCode = function ReceiveFundsQRCode(param) {
7316
7323
  /* @__PURE__ */ jsx29("div", {
7317
7324
  style: {
7318
7325
  fontSize: "0.75rem",
7319
- color: "var(--moonkey-color-foreground)",
7320
- backgroundColor: "var(--moonkey-color-background-2)",
7326
+ color: "var(--moonx-color-foreground)",
7327
+ backgroundColor: "var(--moonx-color-background-2)",
7321
7328
  padding: "0.5rem 0.75rem",
7322
- borderRadius: "var(--moonkey-border-radius-md)",
7329
+ borderRadius: "var(--moonx-border-radius-md)",
7323
7330
  wordBreak: "break-all",
7324
7331
  textAlign: "center",
7325
7332
  width: "100%"
@@ -7355,7 +7362,7 @@ var ReceivedFunds = function ReceivedFunds(param) {
7355
7362
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
7356
7363
  children: [
7357
7364
  /* @__PURE__ */ jsxs23("div", {
7358
- className: "moonkey-flex-between",
7365
+ className: "moonx-flex-between",
7359
7366
  style: {
7360
7367
  marginBottom: "0.5rem"
7361
7368
  },
@@ -7365,11 +7372,11 @@ var ReceivedFunds = function ReceivedFunds(param) {
7365
7372
  size: "icon",
7366
7373
  onClick: onClose,
7367
7374
  children: /* @__PURE__ */ jsx30(ArrowLeft3, {
7368
- className: "moonkey-icon--sm moonkey-icon--fg"
7375
+ className: "moonx-icon--sm moonx-icon--fg"
7369
7376
  })
7370
7377
  }),
7371
7378
  /* @__PURE__ */ jsx30("div", {
7372
- className: "moonkey-text--title",
7379
+ className: "moonx-text--title",
7373
7380
  style: {
7374
7381
  fontWeight: 600,
7375
7382
  flex: 1
@@ -7381,13 +7388,13 @@ var ReceivedFunds = function ReceivedFunds(param) {
7381
7388
  size: "icon",
7382
7389
  onClick: onClose,
7383
7390
  children: /* @__PURE__ */ jsx30(X4, {
7384
- className: "moonkey-icon--sm moonkey-icon--fg"
7391
+ className: "moonx-icon--sm moonx-icon--fg"
7385
7392
  })
7386
7393
  })
7387
7394
  ]
7388
7395
  }),
7389
7396
  isLoading ? /* @__PURE__ */ jsx30("div", {
7390
- className: "moonkey-flex-col-center",
7397
+ className: "moonx-flex-col-center",
7391
7398
  style: {
7392
7399
  justifyContent: "center",
7393
7400
  padding: "3rem",
@@ -7397,7 +7404,7 @@ var ReceivedFunds = function ReceivedFunds(param) {
7397
7404
  children: "Loading wallet information..."
7398
7405
  })
7399
7406
  }) : error ? /* @__PURE__ */ jsxs23("div", {
7400
- className: "moonkey-flex-col-center moonkey-text--error",
7407
+ className: "moonx-flex-col-center moonx-text--error",
7401
7408
  style: {
7402
7409
  justifyContent: "center",
7403
7410
  padding: "3rem",
@@ -7416,13 +7423,13 @@ var ReceivedFunds = function ReceivedFunds(param) {
7416
7423
  })
7417
7424
  ]
7418
7425
  }) : /* @__PURE__ */ jsxs23("div", {
7419
- className: "moonkey-flex-col-center",
7426
+ className: "moonx-flex-col-center",
7420
7427
  style: {
7421
7428
  padding: "0.5rem"
7422
7429
  },
7423
7430
  children: [
7424
7431
  /* @__PURE__ */ jsx30("div", {
7425
- className: "moonkey-text--secondary moonkey-text--center",
7432
+ className: "moonx-text--secondary moonx-text--center",
7426
7433
  style: {
7427
7434
  overflow: "hidden",
7428
7435
  textOverflow: "ellipsis",
@@ -7634,37 +7641,37 @@ var ImportWallet = function ImportWallet(param) {
7634
7641
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
7635
7642
  children: [
7636
7643
  /* @__PURE__ */ jsx32("div", {
7637
- className: "moonkey-flow-close",
7644
+ className: "moonx-flow-close",
7638
7645
  children: /* @__PURE__ */ jsx32(Button, {
7639
7646
  variant: "ghost",
7640
7647
  size: "icon",
7641
7648
  onClick: onCancel,
7642
7649
  children: /* @__PURE__ */ jsx32(X5, {
7643
- className: "moonkey-icon--sm"
7650
+ className: "moonx-icon--sm"
7644
7651
  })
7645
7652
  })
7646
7653
  }),
7647
7654
  /* @__PURE__ */ jsxs24("div", {
7648
- className: "moonkey-flow-header",
7655
+ className: "moonx-flow-header",
7649
7656
  children: [
7650
7657
  /* @__PURE__ */ jsx32("div", {
7651
- className: "moonkey-text--heading",
7658
+ className: "moonx-text--heading",
7652
7659
  children: title
7653
7660
  }),
7654
7661
  /* @__PURE__ */ jsx32("div", {
7655
- className: "moonkey-text--secondary moonkey-text--semibold",
7662
+ className: "moonx-text--secondary moonx-text--semibold",
7656
7663
  children: description
7657
7664
  })
7658
7665
  ]
7659
7666
  }),
7660
7667
  /* @__PURE__ */ jsxs24("div", {
7661
- className: "moonkey-flow-content",
7668
+ className: "moonx-flow-content",
7662
7669
  style: {
7663
7670
  gap: "0.75rem"
7664
7671
  },
7665
7672
  children: [
7666
7673
  /* @__PURE__ */ jsxs24("div", {
7667
- className: "moonkey-flex-col",
7674
+ className: "moonx-flex-col",
7668
7675
  style: {
7669
7676
  gap: "0.5rem"
7670
7677
  },
@@ -7681,7 +7688,7 @@ var ImportWallet = function ImportWallet(param) {
7681
7688
  spellCheck: false,
7682
7689
  autoComplete: "off",
7683
7690
  disabled: submitting,
7684
- className: "moonkey-mono-textarea"
7691
+ className: "moonx-mono-textarea"
7685
7692
  })
7686
7693
  ]
7687
7694
  }),
@@ -7700,7 +7707,7 @@ var ImportWallet = function ImportWallet(param) {
7700
7707
  style: {
7701
7708
  display: "block",
7702
7709
  fontWeight: 500,
7703
- color: "var(--moonkey-color-foreground)"
7710
+ color: "var(--moonx-color-foreground)"
7704
7711
  },
7705
7712
  children: successText
7706
7713
  }),
@@ -7709,7 +7716,7 @@ var ImportWallet = function ImportWallet(param) {
7709
7716
  display: "block",
7710
7717
  fontFamily: "monospace",
7711
7718
  fontSize: "0.75rem",
7712
- color: "var(--moonkey-color-foreground-3)",
7719
+ color: "var(--moonx-color-foreground-3)",
7713
7720
  wordBreak: "break-all"
7714
7721
  },
7715
7722
  children: importedWallet.public_address
@@ -7745,17 +7752,17 @@ var SocialLoginButton = function SocialLoginButton(param) {
7745
7752
  var icon = param.icon, text = param.text, provider = param.provider, onSocialLoginClick = param.onSocialLoginClick;
7746
7753
  var _useState23 = _sliced_to_array(useState23(false), 2), isHovered = _useState23[0], setIsHovered = _useState23[1];
7747
7754
  var buttonStyle = {
7748
- borderRadius: "var(--moonx-radius-button, var(--moonkey-border-radius-lg))",
7755
+ borderRadius: "var(--moonx-radius-button, var(--moonx-border-radius-lg))",
7749
7756
  borderWidth: "var(--moonx-button-border-width, 1px)",
7750
7757
  borderStyle: "solid",
7751
- borderColor: isHovered ? "var(--moonx-button-border-color-hover, var(--moonkey-color-accent))" : "var(--moonx-button-border-color, var(--moonkey-color-border))",
7752
- color: "var(--moonx-button-fg, var(--moonkey-color-foreground))",
7758
+ borderColor: isHovered ? "var(--moonx-button-border-color-hover, var(--moonx-color-accent))" : "var(--moonx-button-border-color, var(--moonx-color-border))",
7759
+ color: "var(--moonx-button-fg, var(--moonx-color-foreground))",
7753
7760
  paddingTop: "0.75rem",
7754
7761
  paddingBottom: "0.75rem",
7755
7762
  paddingLeft: "0.25rem",
7756
7763
  paddingRight: "0.25rem",
7757
7764
  cursor: "pointer",
7758
- backgroundColor: isHovered ? "var(--moonx-button-bg-hover, var(--moonkey-color-background-2))" : "var(--moonx-button-bg, transparent)",
7765
+ backgroundColor: isHovered ? "var(--moonx-button-bg-hover, var(--moonx-color-background-2))" : "var(--moonx-button-bg, transparent)",
7759
7766
  marginTop: "0.75rem",
7760
7767
  transition: "all 0.2s ease-in-out"
7761
7768
  };
@@ -7779,7 +7786,7 @@ var SocialLoginButton = function SocialLoginButton(param) {
7779
7786
  }
7780
7787
  }),
7781
7788
  /* @__PURE__ */ jsx33("div", {
7782
- className: cx("moonkey-social-login-button"),
7789
+ className: cx("moonx-social-login-button"),
7783
7790
  style: buttonStyle,
7784
7791
  onMouseEnter: function onMouseEnter() {
7785
7792
  return setIsHovered(true);
@@ -7823,7 +7830,7 @@ var AppleLogin = function AppleLogin(param) {
7823
7830
  children: /* @__PURE__ */ jsx34("path", {
7824
7831
  d: "M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z",
7825
7832
  transform: "translate(-2, -2)",
7826
- fill: "var(--moonkey-color-foreground, #000)"
7833
+ fill: "var(--moonx-color-foreground, #000)"
7827
7834
  })
7828
7835
  });
7829
7836
  return /* @__PURE__ */ jsx34(SocialLoginButton, {
@@ -7876,12 +7883,12 @@ import { jsx as jsx36, jsxs as jsxs27 } from "react/jsx-runtime";
7876
7883
  var ConnectSolanaWalletButton = function ConnectSolanaWalletButton(param) {
7877
7884
  var onConnectWalletClick = param.onConnectWalletClick;
7878
7885
  return /* @__PURE__ */ jsx36("div", {
7879
- className: cx("moonkey-external-wallet-btn", "moonkey-connect-solana-wallet-button"),
7886
+ className: cx("moonx-external-wallet-btn", "moonx-connect-solana-wallet-button"),
7880
7887
  onClick: function onClick() {
7881
7888
  return onConnectWalletClick();
7882
7889
  },
7883
7890
  children: /* @__PURE__ */ jsxs27("div", {
7884
- className: "moonkey-external-wallet-btn__inner",
7891
+ className: "moonx-external-wallet-btn__inner",
7885
7892
  children: [
7886
7893
  /* @__PURE__ */ jsx36("div", {
7887
7894
  style: {
@@ -7905,12 +7912,12 @@ import { jsx as jsx37, jsxs as jsxs28 } from "react/jsx-runtime";
7905
7912
  var ConnectEthereumWalletButton = function ConnectEthereumWalletButton(param) {
7906
7913
  var onWalletConnectClick = param.onWalletConnectClick;
7907
7914
  return /* @__PURE__ */ jsx37("div", {
7908
- className: "moonkey-external-wallet-btn",
7915
+ className: "moonx-external-wallet-btn",
7909
7916
  onClick: function onClick() {
7910
7917
  return onWalletConnectClick();
7911
7918
  },
7912
7919
  children: /* @__PURE__ */ jsxs28("div", {
7913
- className: "moonkey-external-wallet-btn__inner",
7920
+ className: "moonx-external-wallet-btn__inner",
7914
7921
  children: [
7915
7922
  /* @__PURE__ */ jsx37("div", {
7916
7923
  style: {
@@ -9363,7 +9370,7 @@ var BrowserExtensionUI = function BrowserExtensionUI(param) {
9363
9370
  width: "5rem",
9364
9371
  height: "5rem",
9365
9372
  borderRadius: "50%",
9366
- border: "4px solid var(--moonkey-color-border)"
9373
+ border: "4px solid var(--moonx-color-border)"
9367
9374
  };
9368
9375
  var spinnerInnerStyles = {
9369
9376
  position: "absolute",
@@ -9372,7 +9379,7 @@ var BrowserExtensionUI = function BrowserExtensionUI(param) {
9372
9379
  height: "5rem",
9373
9380
  borderRadius: "50%",
9374
9381
  border: "4px solid transparent",
9375
- borderTopColor: "var(--moonkey-color-accent)",
9382
+ borderTopColor: "var(--moonx-color-accent)",
9376
9383
  animation: "spin 1s linear infinite"
9377
9384
  };
9378
9385
  var errorRingStyles = {
@@ -9381,7 +9388,7 @@ var BrowserExtensionUI = function BrowserExtensionUI(param) {
9381
9388
  width: "5rem",
9382
9389
  height: "5rem",
9383
9390
  borderRadius: "50%",
9384
- border: "4px solid var(--moonkey-color-error)"
9391
+ border: "4px solid var(--moonx-color-error)"
9385
9392
  };
9386
9393
  var iconInnerContainerStyles = {
9387
9394
  position: "absolute",
@@ -9394,7 +9401,7 @@ var BrowserExtensionUI = function BrowserExtensionUI(param) {
9394
9401
  width: "3rem",
9395
9402
  height: "3rem",
9396
9403
  borderRadius: "50%",
9397
- backgroundColor: "var(--moonkey-color-background-2)",
9404
+ backgroundColor: "var(--moonx-color-background-2)",
9398
9405
  display: "flex",
9399
9406
  alignItems: "center",
9400
9407
  justifyContent: "center"
@@ -9407,7 +9414,7 @@ var BrowserExtensionUI = function BrowserExtensionUI(param) {
9407
9414
  width: "4rem",
9408
9415
  height: "4rem",
9409
9416
  borderRadius: "50%",
9410
- backgroundColor: "var(--moonkey-color-background-2)",
9417
+ backgroundColor: "var(--moonx-color-background-2)",
9411
9418
  display: "flex",
9412
9419
  alignItems: "center",
9413
9420
  justifyContent: "center"
@@ -9423,12 +9430,12 @@ var BrowserExtensionUI = function BrowserExtensionUI(param) {
9423
9430
  var titleStyles = {
9424
9431
  fontSize: "1.125rem",
9425
9432
  fontWeight: 500,
9426
- color: "var(--moonkey-color-foreground)",
9433
+ color: "var(--moonx-color-foreground)",
9427
9434
  marginBottom: "0.5rem"
9428
9435
  };
9429
9436
  var descriptionStyles = {
9430
9437
  fontSize: "0.875rem",
9431
- color: "var(--moonkey-color-foreground-3)"
9438
+ color: "var(--moonx-color-foreground-3)"
9432
9439
  };
9433
9440
  var contentContainerStyles = {
9434
9441
  textAlign: "center",
@@ -9437,24 +9444,24 @@ var BrowserExtensionUI = function BrowserExtensionUI(param) {
9437
9444
  };
9438
9445
  var successDescriptionStyles = {
9439
9446
  fontSize: "0.875rem",
9440
- color: "var(--moonkey-color-foreground-3)",
9447
+ color: "var(--moonx-color-foreground-3)",
9441
9448
  marginBottom: "1rem"
9442
9449
  };
9443
9450
  var addressStyles = {
9444
9451
  fontSize: "0.75rem",
9445
- color: "var(--moonkey-color-foreground-3)",
9452
+ color: "var(--moonx-color-foreground-3)",
9446
9453
  fontFamily: "monospace",
9447
- backgroundColor: "var(--moonkey-color-background-2)",
9454
+ backgroundColor: "var(--moonx-color-background-2)",
9448
9455
  padding: "0.5rem 0.75rem",
9449
- borderRadius: "var(--moonkey-border-radius-md)"
9456
+ borderRadius: "var(--moonx-border-radius-md)"
9450
9457
  };
9451
9458
  var errorBoxStyles = {
9452
9459
  fontSize: "0.875rem",
9453
- color: "var(--moonkey-color-error)",
9460
+ color: "var(--moonx-color-error)",
9454
9461
  marginBottom: "1rem",
9455
9462
  padding: "0.75rem 1rem",
9456
- backgroundColor: "var(--moonkey-color-background-2)",
9457
- borderRadius: "var(--moonkey-border-radius-md)"
9463
+ backgroundColor: "var(--moonx-color-background-2)",
9464
+ borderRadius: "var(--moonx-border-radius-md)"
9458
9465
  };
9459
9466
  var buttonContainerStyles = {
9460
9467
  display: "flex",
@@ -9465,7 +9472,7 @@ var BrowserExtensionUI = function BrowserExtensionUI(param) {
9465
9472
  bottom: 0,
9466
9473
  left: 0,
9467
9474
  right: 0,
9468
- backgroundColor: "var(--moonkey-color-background)",
9475
+ backgroundColor: "var(--moonx-color-background)",
9469
9476
  paddingTop: "1rem",
9470
9477
  paddingBottom: "3rem",
9471
9478
  marginBottom: "0.125rem",
@@ -9473,8 +9480,8 @@ var BrowserExtensionUI = function BrowserExtensionUI(param) {
9473
9480
  marginRight: "0.125rem",
9474
9481
  paddingLeft: "2rem",
9475
9482
  paddingRight: "2rem",
9476
- borderBottomLeftRadius: "var(--moonkey-border-radius-lg)",
9477
- borderBottomRightRadius: "var(--moonkey-border-radius-lg)"
9483
+ borderBottomLeftRadius: "var(--moonx-border-radius-lg)",
9484
+ borderBottomRightRadius: "var(--moonx-border-radius-lg)"
9478
9485
  };
9479
9486
  var primaryButtonStyles = {
9480
9487
  flex: 1,
@@ -9482,9 +9489,9 @@ var BrowserExtensionUI = function BrowserExtensionUI(param) {
9482
9489
  paddingBottom: "0.75rem",
9483
9490
  paddingLeft: "1rem",
9484
9491
  paddingRight: "1rem",
9485
- backgroundColor: isTryAgainHovered ? "var(--moonkey-color-accent-dark)" : "var(--moonkey-color-accent)",
9486
- border: "1px solid var(--moonkey-color-border)",
9487
- borderRadius: "var(--moonkey-border-radius-lg)",
9492
+ backgroundColor: isTryAgainHovered ? "var(--moonx-color-accent-dark)" : "var(--moonx-color-accent)",
9493
+ border: "1px solid var(--moonx-color-border)",
9494
+ borderRadius: "var(--moonx-border-radius-lg)",
9488
9495
  color: "white",
9489
9496
  transition: "background-color 0.2s",
9490
9497
  cursor: "pointer",
@@ -9493,10 +9500,10 @@ var BrowserExtensionUI = function BrowserExtensionUI(param) {
9493
9500
  var successButtonStyles = {
9494
9501
  width: "100%",
9495
9502
  padding: "0.75rem 1.5rem",
9496
- backgroundColor: "var(--moonkey-color-success)",
9503
+ backgroundColor: "var(--moonx-color-success)",
9497
9504
  color: "#ffffff",
9498
9505
  border: "none",
9499
- borderRadius: "var(--moonkey-border-radius-md)",
9506
+ borderRadius: "var(--moonx-border-radius-md)",
9500
9507
  fontSize: "0.875rem",
9501
9508
  fontWeight: 500,
9502
9509
  cursor: "pointer",
@@ -9505,10 +9512,10 @@ var BrowserExtensionUI = function BrowserExtensionUI(param) {
9505
9512
  var secondaryButtonStyles = {
9506
9513
  width: "100%",
9507
9514
  padding: "0.75rem 1.5rem",
9508
- backgroundColor: isBackHovered ? "var(--moonkey-color-accent-dark)" : "var(--moonkey-color-accent)",
9509
- color: "var(--moonkey-color-accent-foreground)",
9515
+ backgroundColor: isBackHovered ? "var(--moonx-color-accent-dark)" : "var(--moonx-color-accent)",
9516
+ color: "var(--moonx-color-accent-foreground)",
9510
9517
  border: "none",
9511
- borderRadius: "var(--moonkey-border-radius-md)",
9518
+ borderRadius: "var(--moonx-border-radius-md)",
9512
9519
  fontSize: "0.875rem",
9513
9520
  fontWeight: 500,
9514
9521
  cursor: "pointer",
@@ -9856,7 +9863,7 @@ var QRCodeUI = function QRCodeUI(param) {
9856
9863
  };
9857
9864
  var subtitleStyle = {
9858
9865
  fontSize: "0.875rem",
9859
- color: "var(--moonkey-color-foreground-3)"
9866
+ color: "var(--moonx-color-foreground-3)"
9860
9867
  };
9861
9868
  var stateContainerStyle = {
9862
9869
  display: "flex",
@@ -9890,7 +9897,7 @@ var QRCodeUI = function QRCodeUI(param) {
9890
9897
  width: "5rem",
9891
9898
  height: "5rem",
9892
9899
  borderRadius: "50%",
9893
- border: "4px solid var(--moonkey-color-border)"
9900
+ border: "4px solid var(--moonx-color-border)"
9894
9901
  };
9895
9902
  var spinnerAnimStyle = {
9896
9903
  position: "absolute",
@@ -9899,7 +9906,7 @@ var QRCodeUI = function QRCodeUI(param) {
9899
9906
  height: "5rem",
9900
9907
  borderRadius: "50%",
9901
9908
  border: "4px solid transparent",
9902
- borderTopColor: "var(--moonkey-color-accent)",
9909
+ borderTopColor: "var(--moonx-color-accent)",
9903
9910
  animation: "spin 1s linear infinite"
9904
9911
  };
9905
9912
  var spinnerCenterStyle = {
@@ -9913,7 +9920,7 @@ var QRCodeUI = function QRCodeUI(param) {
9913
9920
  width: "3rem",
9914
9921
  height: "3rem",
9915
9922
  borderRadius: "50%",
9916
- backgroundColor: "var(--moonkey-color-background-2)",
9923
+ backgroundColor: "var(--moonx-color-background-2)",
9917
9924
  display: "flex",
9918
9925
  alignItems: "center",
9919
9926
  justifyContent: "center"
@@ -9929,18 +9936,18 @@ var QRCodeUI = function QRCodeUI(param) {
9929
9936
  var textLgStyle = {
9930
9937
  fontSize: "1.125rem",
9931
9938
  fontWeight: 500,
9932
- color: "var(--moonkey-color-foreground)",
9939
+ color: "var(--moonx-color-foreground)",
9933
9940
  marginBottom: "0.5rem"
9934
9941
  };
9935
9942
  var textSmStyle = {
9936
9943
  fontSize: "0.875rem",
9937
- color: "var(--moonkey-color-foreground-3)"
9944
+ color: "var(--moonx-color-foreground-3)"
9938
9945
  };
9939
9946
  var successIconStyle = {
9940
9947
  borderRadius: "50%",
9941
9948
  height: "3rem",
9942
9949
  width: "3rem",
9943
- backgroundColor: "var(--moonkey-color-background-2)",
9950
+ backgroundColor: "var(--moonx-color-background-2)",
9944
9951
  display: "flex",
9945
9952
  alignItems: "center",
9946
9953
  justifyContent: "center",
@@ -9950,11 +9957,11 @@ var QRCodeUI = function QRCodeUI(param) {
9950
9957
  borderRadius: "50%",
9951
9958
  height: "2rem",
9952
9959
  width: "2rem",
9953
- backgroundColor: "var(--moonkey-color-success)"
9960
+ backgroundColor: "var(--moonx-color-success)"
9954
9961
  };
9955
9962
  var accountStyle = {
9956
9963
  fontSize: "0.875rem",
9957
- color: "var(--moonkey-color-foreground-3)",
9964
+ color: "var(--moonx-color-foreground-3)",
9958
9965
  marginTop: "0.5rem",
9959
9966
  fontFamily: "monospace"
9960
9967
  };
@@ -9964,18 +9971,18 @@ var QRCodeUI = function QRCodeUI(param) {
9964
9971
  width: "5rem",
9965
9972
  height: "5rem",
9966
9973
  borderRadius: "50%",
9967
- border: "4px solid var(--moonkey-color-error)"
9974
+ border: "4px solid var(--moonx-color-error)"
9968
9975
  };
9969
9976
  var errorMessageStyle = {
9970
9977
  fontSize: "0.875rem",
9971
- color: "var(--moonkey-color-error)",
9978
+ color: "var(--moonx-color-error)",
9972
9979
  marginBottom: "1rem",
9973
9980
  paddingLeft: "1rem",
9974
9981
  paddingRight: "1rem",
9975
9982
  paddingTop: "0.75rem",
9976
9983
  paddingBottom: "0.75rem",
9977
- backgroundColor: "var(--moonkey-color-background-2)",
9978
- borderRadius: "var(--moonkey-border-radius-lg)"
9984
+ backgroundColor: "var(--moonx-color-background-2)",
9985
+ borderRadius: "var(--moonx-border-radius-lg)"
9979
9986
  };
9980
9987
  return /* @__PURE__ */ jsxs30(Fragment8, {
9981
9988
  children: [
@@ -10182,7 +10189,7 @@ var WalletConnectionUI = function WalletConnectionUI(param) {
10182
10189
  var spacerStyles = {
10183
10190
  fontSize: "1.125rem",
10184
10191
  fontWeight: 500,
10185
- color: "var(--moonkey-color-foreground)"
10192
+ color: "var(--moonx-color-foreground)"
10186
10193
  };
10187
10194
  var deepLinkContainerStyles = {
10188
10195
  display: "flex",
@@ -10190,8 +10197,8 @@ var WalletConnectionUI = function WalletConnectionUI(param) {
10190
10197
  alignItems: "center",
10191
10198
  gap: "1.5rem",
10192
10199
  padding: "1.5rem",
10193
- backgroundColor: "var(--moonkey-color-background)",
10194
- borderRadius: "var(--moonkey-border-radius-md)",
10200
+ backgroundColor: "var(--moonx-color-background)",
10201
+ borderRadius: "var(--moonx-border-radius-md)",
10195
10202
  boxShadow: "0 10px 15px -3px rgb(0 0 0 / 0.1)"
10196
10203
  };
10197
10204
  var walletImageStyles = {
@@ -10207,19 +10214,19 @@ var WalletConnectionUI = function WalletConnectionUI(param) {
10207
10214
  fontSize: "1.25rem",
10208
10215
  fontWeight: 600,
10209
10216
  marginBottom: "0.5rem",
10210
- color: "var(--moonkey-color-foreground)"
10217
+ color: "var(--moonx-color-foreground)"
10211
10218
  };
10212
10219
  var descriptionStyles = {
10213
10220
  fontSize: "0.875rem",
10214
- color: "var(--moonkey-color-foreground-3)"
10221
+ color: "var(--moonx-color-foreground-3)"
10215
10222
  };
10216
10223
  var deepLinkButtonStyles = {
10217
10224
  width: "100%",
10218
10225
  padding: "1rem 1.5rem",
10219
- backgroundColor: isDeepLinkHovered ? "var(--moonkey-color-accent-dark)" : "var(--moonkey-color-accent)",
10220
- color: "var(--moonkey-color-accent-foreground)",
10226
+ backgroundColor: isDeepLinkHovered ? "var(--moonx-color-accent-dark)" : "var(--moonx-color-accent)",
10227
+ color: "var(--moonx-color-accent-foreground)",
10221
10228
  border: "none",
10222
- borderRadius: "var(--moonkey-border-radius-md)",
10229
+ borderRadius: "var(--moonx-border-radius-md)",
10223
10230
  fontSize: "0.875rem",
10224
10231
  fontWeight: 500,
10225
10232
  cursor: "pointer",
@@ -10232,12 +10239,12 @@ var WalletConnectionUI = function WalletConnectionUI(param) {
10232
10239
  var infoBoxStyles = {
10233
10240
  width: "100%",
10234
10241
  padding: "1rem",
10235
- backgroundColor: "var(--moonkey-color-accent)",
10236
- borderRadius: "var(--moonkey-border-radius-md)"
10242
+ backgroundColor: "var(--moonx-color-accent)",
10243
+ borderRadius: "var(--moonx-border-radius-md)"
10237
10244
  };
10238
10245
  var infoTextStyles = {
10239
10246
  fontSize: "0.75rem",
10240
- color: "var(--moonkey-color-accent-foreground)",
10247
+ color: "var(--moonx-color-accent-foreground)",
10241
10248
  textAlign: "center"
10242
10249
  };
10243
10250
  return /* @__PURE__ */ jsx41(RootCard, {
@@ -10391,10 +10398,10 @@ var WalletCard = function WalletCard(param) {
10391
10398
  gap: "0.5rem",
10392
10399
  position: "relative",
10393
10400
  padding: "0.75rem 0.25rem",
10394
- border: "1px solid ".concat(isHovered ? "var(--moonkey-color-accent)" : "var(--moonkey-color-border)"),
10395
- borderRadius: "var(--moonkey-border-radius-lg)",
10401
+ border: "1px solid ".concat(isHovered ? "var(--moonx-color-accent)" : "var(--moonx-color-border)"),
10402
+ borderRadius: "var(--moonx-border-radius-lg)",
10396
10403
  transition: "all 0.2s",
10397
- backgroundColor: "var(--moonkey-color-background)",
10404
+ backgroundColor: "var(--moonx-color-background)",
10398
10405
  cursor: "pointer"
10399
10406
  };
10400
10407
  var imageContainerStyle = {
@@ -10411,13 +10418,13 @@ var WalletCard = function WalletCard(param) {
10411
10418
  right: 0,
10412
10419
  width: "0.75rem",
10413
10420
  height: "0.75rem",
10414
- backgroundColor: "var(--moonkey-color-success)",
10421
+ backgroundColor: "var(--moonx-color-success)",
10415
10422
  borderRadius: "50%",
10416
- border: "2px solid var(--moonkey-color-background)"
10423
+ border: "2px solid var(--moonx-color-background)"
10417
10424
  };
10418
10425
  var textStyle = {
10419
10426
  fontSize: "0.875rem",
10420
- color: "var(--moonkey-color-foreground)",
10427
+ color: "var(--moonx-color-foreground)",
10421
10428
  transition: "color 0.2s"
10422
10429
  };
10423
10430
  return /* @__PURE__ */ jsxs32("button", {
@@ -10592,12 +10599,12 @@ var WalletListScreen = function WalletListScreen(param) {
10592
10599
  width: "3rem",
10593
10600
  height: "3rem",
10594
10601
  border: "2px solid transparent",
10595
- borderBottomColor: "var(--moonkey-color-accent)",
10602
+ borderBottomColor: "var(--moonx-color-accent)",
10596
10603
  borderRadius: "50%",
10597
10604
  animation: "spin 1s linear infinite"
10598
10605
  };
10599
10606
  var loadingTextStyles = {
10600
- color: "var(--moonkey-color-foreground-3)",
10607
+ color: "var(--moonx-color-foreground-3)",
10601
10608
  fontSize: "0.875rem"
10602
10609
  };
10603
10610
  return /* @__PURE__ */ jsxs33(RootCard, {
@@ -10637,25 +10644,25 @@ var WalletListScreen = function WalletListScreen(param) {
10637
10644
  gap: "1rem"
10638
10645
  };
10639
10646
  var errorIconStyles = {
10640
- color: "var(--moonkey-color-error)",
10647
+ color: "var(--moonx-color-error)",
10641
10648
  fontSize: "1.125rem"
10642
10649
  };
10643
10650
  var errorTitleStyles = {
10644
- color: "var(--moonkey-color-foreground)",
10651
+ color: "var(--moonx-color-foreground)",
10645
10652
  fontWeight: 500,
10646
10653
  fontSize: "0.875rem"
10647
10654
  };
10648
10655
  var errorMessageStyles = {
10649
- color: "var(--moonkey-color-foreground-3)",
10656
+ color: "var(--moonx-color-foreground-3)",
10650
10657
  fontSize: "0.875rem",
10651
10658
  textAlign: "center"
10652
10659
  };
10653
10660
  var retryButtonStyles = {
10654
10661
  padding: "0.5rem 1rem",
10655
- backgroundColor: isRetryHovered ? "var(--moonkey-color-accent-dark)" : "var(--moonkey-color-accent)",
10656
- color: "var(--moonkey-color-accent-foreground)",
10662
+ backgroundColor: isRetryHovered ? "var(--moonx-color-accent-dark)" : "var(--moonx-color-accent)",
10663
+ color: "var(--moonx-color-accent-foreground)",
10657
10664
  border: "none",
10658
- borderRadius: "var(--moonkey-border-radius-md)",
10665
+ borderRadius: "var(--moonx-border-radius-md)",
10659
10666
  cursor: "pointer",
10660
10667
  fontSize: "0.875rem",
10661
10668
  fontWeight: 500,
@@ -10705,7 +10712,7 @@ var WalletListScreen = function WalletListScreen(param) {
10705
10712
  var titleStyles = {
10706
10713
  fontSize: "1rem",
10707
10714
  fontWeight: 500,
10708
- color: "var(--moonkey-color-foreground)"
10715
+ color: "var(--moonx-color-foreground)"
10709
10716
  };
10710
10717
  var contentStyles = {
10711
10718
  display: "flex",
@@ -10719,11 +10726,11 @@ var WalletListScreen = function WalletListScreen(param) {
10719
10726
  var searchInputStyles = {
10720
10727
  width: "100%",
10721
10728
  padding: "0.75rem 1rem 0.75rem 2.5rem",
10722
- border: "1px solid var(--moonkey-color-border)",
10723
- borderRadius: "var(--moonkey-border-radius-lg)",
10729
+ border: "1px solid var(--moonx-color-border)",
10730
+ borderRadius: "var(--moonx-border-radius-lg)",
10724
10731
  fontSize: "0.875rem",
10725
- color: "var(--moonkey-color-foreground)",
10726
- backgroundColor: "var(--moonkey-color-background)",
10732
+ color: "var(--moonx-color-foreground)",
10733
+ backgroundColor: "var(--moonx-color-background)",
10727
10734
  outline: "none",
10728
10735
  transition: "border-color 0.2s ease, box-shadow 0.2s ease"
10729
10736
  };
@@ -10733,7 +10740,7 @@ var WalletListScreen = function WalletListScreen(param) {
10733
10740
  top: "0.875rem",
10734
10741
  width: "1rem",
10735
10742
  height: "1rem",
10736
- color: "var(--moonkey-color-foreground-3)"
10743
+ color: "var(--moonx-color-foreground-3)"
10737
10744
  };
10738
10745
  var walletListContainerStyles = {
10739
10746
  height: "300px",
@@ -10746,12 +10753,12 @@ var WalletListScreen = function WalletListScreen(param) {
10746
10753
  padding: "2rem 1rem"
10747
10754
  };
10748
10755
  var emptyTitleStyles = {
10749
- color: "var(--moonkey-color-foreground-3)",
10756
+ color: "var(--moonx-color-foreground-3)",
10750
10757
  fontSize: "0.875rem",
10751
10758
  marginBottom: "0.5rem"
10752
10759
  };
10753
10760
  var emptySubtitleStyles = {
10754
- color: "var(--moonkey-color-foreground-3)",
10761
+ color: "var(--moonx-color-foreground-3)",
10755
10762
  fontSize: "0.75rem",
10756
10763
  opacity: 0.7
10757
10764
  };
@@ -10762,7 +10769,7 @@ var WalletListScreen = function WalletListScreen(param) {
10762
10769
  };
10763
10770
  var dividerStyles = {
10764
10771
  margin: "0.2rem 0",
10765
- borderTop: "1px solid var(--moonkey-color-border)"
10772
+ borderTop: "1px solid var(--moonx-color-border)"
10766
10773
  };
10767
10774
  return /* @__PURE__ */ jsxs33(RootCard, {
10768
10775
  centerContent: false,
@@ -10771,7 +10778,7 @@ var WalletListScreen = function WalletListScreen(param) {
10771
10778
  children: [
10772
10779
  /* @__PURE__ */ jsx43("style", {
10773
10780
  dangerouslySetInnerHTML: {
10774
- __html: "\n .wallet-list-container::-webkit-scrollbar {\n display: none;\n }\n .wallet-search-input:focus {\n border-color: var(--moonkey-color-accent);\n box-shadow: 0 0 0 2px var(--moonkey-color-accent);\n }\n "
10781
+ __html: "\n .wallet-list-container::-webkit-scrollbar {\n display: none;\n }\n .wallet-search-input:focus {\n border-color: var(--moonx-color-accent);\n box-shadow: 0 0 0 2px var(--moonx-color-accent);\n }\n "
10775
10782
  }
10776
10783
  }),
10777
10784
  /* @__PURE__ */ jsxs33("div", {
@@ -11031,7 +11038,7 @@ var WalletConnectFlow = function WalletConnectFlow(param) {
11031
11038
  return /* @__PURE__ */ jsx44("div", {
11032
11039
  style: {
11033
11040
  minHeight: "100vh",
11034
- backgroundColor: "var(--moonkey-color-background-2)",
11041
+ backgroundColor: "var(--moonx-color-background-2)",
11035
11042
  display: "flex",
11036
11043
  alignItems: "center",
11037
11044
  justifyContent: "center"
@@ -11043,25 +11050,25 @@ var WalletConnectFlow = function WalletConnectFlow(param) {
11043
11050
  children: [
11044
11051
  /* @__PURE__ */ jsx44("div", {
11045
11052
  style: {
11046
- animation: "moonkey-spin 1s linear infinite",
11053
+ animation: "moonx-spin 1s linear infinite",
11047
11054
  borderRadius: "50%",
11048
11055
  height: "4rem",
11049
11056
  width: "4rem",
11050
- borderBottom: "2px solid var(--moonkey-color-accent)",
11057
+ borderBottom: "2px solid var(--moonx-color-accent)",
11051
11058
  margin: "0 auto 1rem"
11052
11059
  }
11053
11060
  }),
11054
11061
  /* @__PURE__ */ jsx44("p", {
11055
11062
  style: {
11056
11063
  fontSize: "1.25rem",
11057
- color: "var(--moonkey-color-foreground-3)"
11064
+ color: "var(--moonx-color-foreground-3)"
11058
11065
  },
11059
11066
  children: "Initializing WalletConnect..."
11060
11067
  }),
11061
11068
  /* @__PURE__ */ jsx44("p", {
11062
11069
  style: {
11063
11070
  fontSize: "0.875rem",
11064
- color: "var(--moonkey-color-foreground-3)",
11071
+ color: "var(--moonx-color-foreground-3)",
11065
11072
  marginTop: "0.5rem"
11066
11073
  },
11067
11074
  children: "Please wait a moment"
@@ -11107,12 +11114,12 @@ import { jsx as jsx45, jsxs as jsxs35 } from "react/jsx-runtime";
11107
11114
  var WalletFlowButton = function WalletFlowButton(param) {
11108
11115
  var onWalletFlowClick = param.onWalletFlowClick;
11109
11116
  return /* @__PURE__ */ jsx45("div", {
11110
- className: cx("moonkey-external-wallet-btn", "moonkey-connect-solana-wallet-button"),
11117
+ className: cx("moonx-external-wallet-btn", "moonx-connect-solana-wallet-button"),
11111
11118
  onClick: function onClick() {
11112
11119
  return onWalletFlowClick();
11113
11120
  },
11114
11121
  children: /* @__PURE__ */ jsxs35("div", {
11115
- className: "moonkey-external-wallet-btn__inner",
11122
+ className: "moonx-external-wallet-btn__inner",
11116
11123
  children: [
11117
11124
  /* @__PURE__ */ jsx45("div", {
11118
11125
  style: {
@@ -11152,18 +11159,18 @@ var NetworkSelection = function NetworkSelection(param) {
11152
11159
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
11153
11160
  children: [
11154
11161
  /* @__PURE__ */ jsxs36("div", {
11155
- className: "moonkey-flex-between",
11162
+ className: "moonx-flex-between",
11156
11163
  children: [
11157
11164
  /* @__PURE__ */ jsx46(Button, {
11158
11165
  variant: "ghost",
11159
11166
  size: "icon",
11160
11167
  onClick: onBack,
11161
11168
  children: /* @__PURE__ */ jsx46(ArrowLeft6, {
11162
- className: "moonkey-icon--sm"
11169
+ className: "moonx-icon--sm"
11163
11170
  })
11164
11171
  }),
11165
11172
  /* @__PURE__ */ jsx46("div", {
11166
- className: "moonkey-label",
11173
+ className: "moonx-label",
11167
11174
  children: /* @__PURE__ */ jsx46("span", {
11168
11175
  children: "Select Network"
11169
11176
  })
@@ -11175,20 +11182,20 @@ var NetworkSelection = function NetworkSelection(param) {
11175
11182
  visibility: "hidden"
11176
11183
  },
11177
11184
  children: /* @__PURE__ */ jsx46(X8, {
11178
- className: "moonkey-icon--sm"
11185
+ className: "moonx-icon--sm"
11179
11186
  })
11180
11187
  })
11181
11188
  ]
11182
11189
  }),
11183
11190
  /* @__PURE__ */ jsxs36("div", {
11184
- className: "moonkey-flex-col",
11191
+ className: "moonx-flex-col",
11185
11192
  style: {
11186
11193
  gap: "1rem",
11187
11194
  marginTop: "1.5rem"
11188
11195
  },
11189
11196
  children: [
11190
11197
  /* @__PURE__ */ jsxs36("div", {
11191
- className: "moonkey-flex-col-center",
11198
+ className: "moonx-flex-col-center",
11192
11199
  style: {
11193
11200
  gap: "0.5rem",
11194
11201
  marginBottom: "0.5rem"
@@ -11197,45 +11204,45 @@ var NetworkSelection = function NetworkSelection(param) {
11197
11204
  walletIcon && /* @__PURE__ */ jsx46("img", {
11198
11205
  src: walletIcon,
11199
11206
  alt: walletName,
11200
- className: "moonkey-icon--2xl",
11207
+ className: "moonx-icon--2xl",
11201
11208
  style: {
11202
- borderRadius: "var(--moonkey-border-radius-md)"
11209
+ borderRadius: "var(--moonx-border-radius-md)"
11203
11210
  }
11204
11211
  }),
11205
11212
  /* @__PURE__ */ jsx46("span", {
11206
- className: "moonkey-text--title moonkey-text--lg",
11213
+ className: "moonx-text--title moonx-text--lg",
11207
11214
  children: walletName
11208
11215
  })
11209
11216
  ]
11210
11217
  }),
11211
11218
  /* @__PURE__ */ jsx46("p", {
11212
- className: "moonkey-text--secondary moonkey-text--center",
11219
+ className: "moonx-text--secondary moonx-text--center",
11213
11220
  style: {
11214
11221
  marginBottom: "0.25rem"
11215
11222
  },
11216
11223
  children: "This wallet supports multiple networks. Choose which network you'd like to connect with:"
11217
11224
  }),
11218
11225
  supportedNetworks.includes("ethereum") && /* @__PURE__ */ jsxs36("div", {
11219
- className: "moonkey-wallet-item",
11226
+ className: "moonx-wallet-item",
11220
11227
  onClick: function onClick() {
11221
11228
  return onNetworkSelect("ethereum");
11222
11229
  },
11223
11230
  children: [
11224
11231
  /* @__PURE__ */ jsxs36("div", {
11225
- className: "moonkey-flex-col",
11232
+ className: "moonx-flex-col",
11226
11233
  children: [
11227
11234
  /* @__PURE__ */ jsx46("span", {
11228
- className: "moonkey-text--title",
11235
+ className: "moonx-text--title",
11229
11236
  children: "Ethereum"
11230
11237
  }),
11231
11238
  /* @__PURE__ */ jsx46("span", {
11232
- className: "moonkey-text--secondary",
11239
+ className: "moonx-text--secondary",
11233
11240
  children: "Connect with Ethereum network"
11234
11241
  })
11235
11242
  ]
11236
11243
  }),
11237
11244
  /* @__PURE__ */ jsx46("div", {
11238
- className: "moonkey-network-badge",
11245
+ className: "moonx-network-badge",
11239
11246
  children: /* @__PURE__ */ jsx46("img", {
11240
11247
  src: ethereum_default,
11241
11248
  alt: "Ethereum",
@@ -11249,26 +11256,26 @@ var NetworkSelection = function NetworkSelection(param) {
11249
11256
  ]
11250
11257
  }),
11251
11258
  supportedNetworks.includes("solana") && /* @__PURE__ */ jsxs36("div", {
11252
- className: "moonkey-wallet-item",
11259
+ className: "moonx-wallet-item",
11253
11260
  onClick: function onClick() {
11254
11261
  return onNetworkSelect("solana");
11255
11262
  },
11256
11263
  children: [
11257
11264
  /* @__PURE__ */ jsxs36("div", {
11258
- className: "moonkey-flex-col",
11265
+ className: "moonx-flex-col",
11259
11266
  children: [
11260
11267
  /* @__PURE__ */ jsx46("span", {
11261
- className: "moonkey-text--title",
11268
+ className: "moonx-text--title",
11262
11269
  children: "Solana"
11263
11270
  }),
11264
11271
  /* @__PURE__ */ jsx46("span", {
11265
- className: "moonkey-text--secondary",
11272
+ className: "moonx-text--secondary",
11266
11273
  children: "Connect with Solana network"
11267
11274
  })
11268
11275
  ]
11269
11276
  }),
11270
11277
  /* @__PURE__ */ jsx46("div", {
11271
- className: "moonkey-network-badge",
11278
+ className: "moonx-network-badge",
11272
11279
  children: /* @__PURE__ */ jsx46("img", {
11273
11280
  src: solana_default,
11274
11281
  alt: "Solana",
@@ -11892,46 +11899,46 @@ var SolanaConnectionUI = function SolanaConnectionUI(param) {
11892
11899
  }, 100);
11893
11900
  };
11894
11901
  var spinnerWidget = /* @__PURE__ */ jsxs37("div", {
11895
- className: "moonkey-wallet-spinner",
11902
+ className: "moonx-wallet-spinner",
11896
11903
  children: [
11897
11904
  /* @__PURE__ */ jsx47("div", {
11898
- className: "moonkey-wallet-spinner__ring"
11905
+ className: "moonx-wallet-spinner__ring"
11899
11906
  }),
11900
11907
  /* @__PURE__ */ jsx47("div", {
11901
- className: "moonkey-wallet-spinner__spin"
11908
+ className: "moonx-wallet-spinner__spin"
11902
11909
  }),
11903
11910
  /* @__PURE__ */ jsx47("div", {
11904
- className: "moonkey-wallet-spinner__center",
11911
+ className: "moonx-wallet-spinner__center",
11905
11912
  children: /* @__PURE__ */ jsx47("img", {
11906
11913
  src: walletIcon,
11907
11914
  alt: walletName,
11908
- className: "moonkey-icon--lg"
11915
+ className: "moonx-icon--lg"
11909
11916
  })
11910
11917
  })
11911
11918
  ]
11912
11919
  });
11913
11920
  return /* @__PURE__ */ jsxs37("div", {
11914
- className: "moonkey-flex-col-center",
11921
+ className: "moonx-flex-col-center",
11915
11922
  children: [
11916
11923
  (connectionState === "connecting" || connectionState === "signing") && /* @__PURE__ */ jsxs37("div", {
11917
- className: "moonkey-connect-state",
11924
+ className: "moonx-connect-state",
11918
11925
  children: [
11919
11926
  spinnerWidget,
11920
11927
  /* @__PURE__ */ jsxs37("div", {
11921
- className: "moonkey-text--center",
11928
+ className: "moonx-text--center",
11922
11929
  style: {
11923
11930
  marginTop: "1rem"
11924
11931
  },
11925
11932
  children: [
11926
11933
  /* @__PURE__ */ jsx47("div", {
11927
- className: "moonkey-label moonkey-text--lg",
11934
+ className: "moonx-label moonx-text--lg",
11928
11935
  style: {
11929
11936
  marginBottom: "0.5rem"
11930
11937
  },
11931
11938
  children: connectionState === "connecting" ? "Connecting to ".concat(walletName) : "Sign Message to Verify"
11932
11939
  }),
11933
11940
  /* @__PURE__ */ jsx47("div", {
11934
- className: "moonkey-text--secondary",
11941
+ className: "moonx-text--secondary",
11935
11942
  children: connectionState === "connecting" ? "Opening your wallet..." : "Please sign the message in your wallet to complete authentication"
11936
11943
  })
11937
11944
  ]
@@ -11939,39 +11946,39 @@ var SolanaConnectionUI = function SolanaConnectionUI(param) {
11939
11946
  ]
11940
11947
  }),
11941
11948
  (connectionState === "error" || connectionState === "rejected") && /* @__PURE__ */ jsxs37("div", {
11942
- className: "moonkey-connect-state",
11949
+ className: "moonx-connect-state",
11943
11950
  children: [
11944
11951
  /* @__PURE__ */ jsxs37("div", {
11945
- className: "moonkey-wallet-spinner",
11952
+ className: "moonx-wallet-spinner",
11946
11953
  children: [
11947
11954
  /* @__PURE__ */ jsx47("div", {
11948
- className: "moonkey-wallet-spinner__ring moonkey-wallet-spinner__ring--error"
11955
+ className: "moonx-wallet-spinner__ring moonx-wallet-spinner__ring--error"
11949
11956
  }),
11950
11957
  /* @__PURE__ */ jsx47("div", {
11951
- className: "moonkey-wallet-spinner__center",
11958
+ className: "moonx-wallet-spinner__center",
11952
11959
  children: /* @__PURE__ */ jsx47("img", {
11953
11960
  src: walletIcon,
11954
11961
  alt: walletName,
11955
- className: "moonkey-icon--lg"
11962
+ className: "moonx-icon--lg"
11956
11963
  })
11957
11964
  })
11958
11965
  ]
11959
11966
  }),
11960
11967
  /* @__PURE__ */ jsxs37("div", {
11961
- className: "moonkey-text--center",
11968
+ className: "moonx-text--center",
11962
11969
  style: {
11963
11970
  marginTop: "1rem"
11964
11971
  },
11965
11972
  children: [
11966
11973
  /* @__PURE__ */ jsx47("div", {
11967
- className: "moonkey-label moonkey-text--lg",
11974
+ className: "moonx-label moonx-text--lg",
11968
11975
  style: {
11969
11976
  marginBottom: "0.5rem"
11970
11977
  },
11971
11978
  children: connectionState === "error" ? "Connection Failed" : "Connection Rejected"
11972
11979
  }),
11973
11980
  /* @__PURE__ */ jsx47("div", {
11974
- className: "moonkey-box moonkey-box--error moonkey-text--error",
11981
+ className: "moonx-box moonx-box--error moonx-text--error",
11975
11982
  style: {
11976
11983
  marginBottom: "1rem"
11977
11984
  },
@@ -12131,7 +12138,7 @@ var UnifiedWalletList = function UnifiedWalletList(param) {
12131
12138
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
12132
12139
  children: [
12133
12140
  /* @__PURE__ */ jsxs38("div", {
12134
- className: "moonkey-flex-between",
12141
+ className: "moonx-flex-between",
12135
12142
  children: [
12136
12143
  /* @__PURE__ */ jsx48(Button, {
12137
12144
  variant: "ghost",
@@ -12140,11 +12147,11 @@ var UnifiedWalletList = function UnifiedWalletList(param) {
12140
12147
  return onCancel();
12141
12148
  },
12142
12149
  children: /* @__PURE__ */ jsx48(ArrowLeft7, {
12143
- className: "moonkey-icon--sm"
12150
+ className: "moonx-icon--sm"
12144
12151
  })
12145
12152
  }),
12146
12153
  /* @__PURE__ */ jsx48("div", {
12147
- className: "moonkey-label",
12154
+ className: "moonx-label",
12148
12155
  children: /* @__PURE__ */ jsx48("span", {
12149
12156
  children: "Select a wallet"
12150
12157
  })
@@ -12159,13 +12166,13 @@ var UnifiedWalletList = function UnifiedWalletList(param) {
12159
12166
  return onCancel();
12160
12167
  },
12161
12168
  children: /* @__PURE__ */ jsx48(X9, {
12162
- className: "moonkey-icon--sm"
12169
+ className: "moonx-icon--sm"
12163
12170
  })
12164
12171
  })
12165
12172
  ]
12166
12173
  }),
12167
12174
  /* @__PURE__ */ jsxs38("div", {
12168
- className: "moonkey-flex-col",
12175
+ className: "moonx-flex-col",
12169
12176
  style: {
12170
12177
  marginTop: "1rem",
12171
12178
  gap: "0.75rem"
@@ -12183,13 +12190,13 @@ var UnifiedWalletList = function UnifiedWalletList(param) {
12183
12190
  onChange: function onChange(e) {
12184
12191
  return setSearchValue(e.target.value);
12185
12192
  },
12186
- className: "moonkey-input",
12193
+ className: "moonx-input",
12187
12194
  style: {
12188
12195
  paddingLeft: "2.5rem"
12189
12196
  }
12190
12197
  }),
12191
12198
  /* @__PURE__ */ jsx48("svg", {
12192
- className: "moonkey-search-icon moonkey-icon--sm",
12199
+ className: "moonx-search-icon moonx-icon--sm",
12193
12200
  fill: "none",
12194
12201
  stroke: "currentColor",
12195
12202
  viewBox: "0 0 24 24",
@@ -12203,26 +12210,26 @@ var UnifiedWalletList = function UnifiedWalletList(param) {
12203
12210
  ]
12204
12211
  }),
12205
12212
  /* @__PURE__ */ jsx48("div", {
12206
- className: "moonkey-scrollable-list",
12213
+ className: "moonx-scrollable-list",
12207
12214
  style: {
12208
12215
  height: "300px",
12209
12216
  gap: "0.5rem"
12210
12217
  },
12211
12218
  children: loading ? /* @__PURE__ */ jsx48("div", {
12212
- className: "moonkey-text--secondary moonkey-flex-center",
12219
+ className: "moonx-text--secondary moonx-flex-center",
12213
12220
  style: {
12214
12221
  padding: "2rem 1rem"
12215
12222
  },
12216
12223
  children: "Loading wallets..."
12217
12224
  }) : filteredWallets.length === 0 ? /* @__PURE__ */ jsx48("div", {
12218
- className: "moonkey-text--secondary moonkey-text--center",
12225
+ className: "moonx-text--secondary moonx-text--center",
12219
12226
  style: {
12220
12227
  padding: "2rem 1rem"
12221
12228
  },
12222
12229
  children: "No wallets found"
12223
12230
  }) : filteredWallets.map(function(wallet) {
12224
12231
  return /* @__PURE__ */ jsxs38("div", {
12225
- className: "moonkey-wallet-item",
12232
+ className: "moonx-wallet-item",
12226
12233
  onClick: function onClick() {
12227
12234
  return onWalletSelect(wallet);
12228
12235
  },
@@ -12254,7 +12261,7 @@ var UnifiedWalletList = function UnifiedWalletList(param) {
12254
12261
  })
12255
12262
  }),
12256
12263
  /* @__PURE__ */ jsx48("span", {
12257
- className: "moonkey-text--sm moonkey-icon--fg",
12264
+ className: "moonx-text--sm moonx-icon--fg",
12258
12265
  style: {
12259
12266
  transition: "color 0.2s"
12260
12267
  },
@@ -12270,7 +12277,7 @@ var UnifiedWalletList = function UnifiedWalletList(param) {
12270
12277
  },
12271
12278
  children: [
12272
12279
  wallet.supportedNetworks.includes("ethereum") && /* @__PURE__ */ jsx48("div", {
12273
- className: "moonkey-network-badge",
12280
+ className: "moonx-network-badge",
12274
12281
  children: /* @__PURE__ */ jsx48("img", {
12275
12282
  src: ethereum_default,
12276
12283
  alt: "Ethereum",
@@ -12282,7 +12289,7 @@ var UnifiedWalletList = function UnifiedWalletList(param) {
12282
12289
  })
12283
12290
  }),
12284
12291
  wallet.supportedNetworks.includes("solana") && /* @__PURE__ */ jsx48("div", {
12285
- className: "moonkey-network-badge" + (wallet.supportedNetworks.includes("ethereum") ? " moonkey-network-badge--overlap" : ""),
12292
+ className: "moonx-network-badge" + (wallet.supportedNetworks.includes("ethereum") ? " moonx-network-badge--overlap" : ""),
12286
12293
  children: /* @__PURE__ */ jsx48("img", {
12287
12294
  src: solana_default,
12288
12295
  alt: "Solana",
@@ -12468,18 +12475,18 @@ var WalletsFlow = function WalletsFlow(param) {
12468
12475
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
12469
12476
  children: [
12470
12477
  /* @__PURE__ */ jsxs39("div", {
12471
- className: "moonkey-flex-between",
12478
+ className: "moonx-flex-between",
12472
12479
  children: [
12473
12480
  /* @__PURE__ */ jsx49(Button, {
12474
12481
  variant: "ghost",
12475
12482
  size: "icon",
12476
12483
  onClick: handleBack,
12477
12484
  children: /* @__PURE__ */ jsx49(ArrowLeft8, {
12478
- className: "moonkey-icon--sm"
12485
+ className: "moonx-icon--sm"
12479
12486
  })
12480
12487
  }),
12481
12488
  /* @__PURE__ */ jsx49("div", {
12482
- className: "moonkey-text--title",
12489
+ className: "moonx-text--title",
12483
12490
  children: /* @__PURE__ */ jsxs39("span", {
12484
12491
  children: [
12485
12492
  "Connect ",
@@ -12495,13 +12502,13 @@ var WalletsFlow = function WalletsFlow(param) {
12495
12502
  },
12496
12503
  onClick: handleBack,
12497
12504
  children: /* @__PURE__ */ jsx49(X10, {
12498
- className: "moonkey-icon--sm"
12505
+ className: "moonx-icon--sm"
12499
12506
  })
12500
12507
  })
12501
12508
  ]
12502
12509
  }),
12503
12510
  /* @__PURE__ */ jsx49("div", {
12504
- className: "moonkey-flex-col",
12511
+ className: "moonx-flex-col",
12505
12512
  style: {
12506
12513
  marginTop: "1rem"
12507
12514
  },
@@ -12528,7 +12535,7 @@ var WalletsFlow = function WalletsFlow(param) {
12528
12535
  theme: config === null || config === void 0 ? void 0 : (_config_config5 = config.config) === null || _config_config5 === void 0 ? void 0 : _config_config5.theme,
12529
12536
  appearance: config === null || config === void 0 ? void 0 : (_config_config6 = config.config) === null || _config_config6 === void 0 ? void 0 : _config_config6.appearance,
12530
12537
  children: /* @__PURE__ */ jsxs39("div", {
12531
- className: "moonkey-connect-state",
12538
+ className: "moonx-connect-state",
12532
12539
  style: {
12533
12540
  gap: "1rem"
12534
12541
  },
@@ -12538,13 +12545,13 @@ var WalletsFlow = function WalletsFlow(param) {
12538
12545
  width: "3rem",
12539
12546
  height: "3rem",
12540
12547
  border: "2px solid transparent",
12541
- borderBottomColor: "var(--moonkey-color-accent)",
12548
+ borderBottomColor: "var(--moonx-color-accent)",
12542
12549
  borderRadius: "50%",
12543
- animation: "moonkey-spin 1s linear infinite"
12550
+ animation: "moonx-spin 1s linear infinite"
12544
12551
  }
12545
12552
  }),
12546
12553
  /* @__PURE__ */ jsx49("p", {
12547
- className: "moonkey-text--secondary",
12554
+ className: "moonx-text--secondary",
12548
12555
  children: "Initializing WalletConnect..."
12549
12556
  })
12550
12557
  ]
@@ -12632,10 +12639,10 @@ var TermsAndPrivacy = function TermsAndPrivacy(param) {
12632
12639
  });
12633
12640
  };
12634
12641
  if (require_users_accept_terms) {
12635
- var checkboxId = "moonkey-terms-checkbox";
12642
+ var checkboxId = "moonx-terms-checkbox";
12636
12643
  return /* @__PURE__ */ jsxs40("label", {
12637
12644
  htmlFor: checkboxId,
12638
- className: "moonkey-legal-text moonkey-legal-checkbox",
12645
+ className: "moonx-legal-text moonx-legal-checkbox",
12639
12646
  children: [
12640
12647
  /* @__PURE__ */ jsx50("input", {
12641
12648
  id: checkboxId,
@@ -12652,7 +12659,7 @@ var TermsAndPrivacy = function TermsAndPrivacy(param) {
12652
12659
  });
12653
12660
  }
12654
12661
  return /* @__PURE__ */ jsx50("div", {
12655
- className: "moonkey-legal-text",
12662
+ className: "moonx-legal-text",
12656
12663
  children: renderLinks()
12657
12664
  });
12658
12665
  };
@@ -12796,14 +12803,14 @@ var LoginLanding = function LoginLanding(param) {
12796
12803
  appearance: config === null || config === void 0 ? void 0 : (_config_config7 = config.config) === null || _config_config7 === void 0 ? void 0 : _config_config7.appearance,
12797
12804
  children: [
12798
12805
  !hideClose && /* @__PURE__ */ jsx51("div", {
12799
- className: "moonkey-flow-close",
12806
+ className: "moonx-flow-close",
12800
12807
  children: /* @__PURE__ */ jsx51(Button, {
12801
12808
  variant: "ghost",
12802
12809
  size: "icon",
12803
12810
  onClick: onCancel,
12804
12811
  "aria-label": "Close",
12805
12812
  children: /* @__PURE__ */ jsx51("svg", {
12806
- className: "moonkey-icon--md",
12813
+ className: "moonx-icon--md",
12807
12814
  fill: "none",
12808
12815
  stroke: "currentColor",
12809
12816
  viewBox: "0 0 24 24",
@@ -12817,20 +12824,20 @@ var LoginLanding = function LoginLanding(param) {
12817
12824
  })
12818
12825
  }),
12819
12826
  /* @__PURE__ */ jsx51("div", {
12820
- className: "moonkey-header",
12827
+ className: "moonx-header",
12821
12828
  children: /* @__PURE__ */ jsx51("div", {
12822
- className: "moonkey-header__inner",
12829
+ className: "moonx-header__inner",
12823
12830
  children: (config === null || config === void 0 ? void 0 : (_config_config8 = config.config) === null || _config_config8 === void 0 ? void 0 : (_config_config_appearance3 = _config_config8.appearance) === null || _config_config_appearance3 === void 0 ? void 0 : (_config_config_appearance_loginHeaderTitle = _config_config_appearance3.loginHeaderTitle) === null || _config_config_appearance_loginHeaderTitle === void 0 ? void 0 : _config_config_appearance_loginHeaderTitle.toString()) || t("loginLanding.title")
12824
12831
  })
12825
12832
  }),
12826
12833
  /* @__PURE__ */ jsxs41("div", {
12827
- className: "moonkey-content-wrapper",
12834
+ className: "moonx-content-wrapper",
12828
12835
  children: [
12829
12836
  /* @__PURE__ */ jsxs41("div", {
12830
- className: "moonkey-logo-section",
12837
+ className: "moonx-logo-section",
12831
12838
  children: [
12832
12839
  /* @__PURE__ */ jsx51("div", {
12833
- className: "moonkey-logo-section__inner",
12840
+ className: "moonx-logo-section__inner",
12834
12841
  children: /* @__PURE__ */ jsx51(AppLogo, {
12835
12842
  appConfig: appConfig,
12836
12843
  src: logo === null || logo === void 0 ? void 0 : logo.src,
@@ -12839,16 +12846,16 @@ var LoginLanding = function LoginLanding(param) {
12839
12846
  })
12840
12847
  }),
12841
12848
  (config === null || config === void 0 ? void 0 : (_config_config9 = config.config) === null || _config_config9 === void 0 ? void 0 : (_config_config_appearance4 = _config_config9.appearance) === null || _config_config_appearance4 === void 0 ? void 0 : _config_config_appearance4.loginHeaderDescription) && /* @__PURE__ */ jsx51("div", {
12842
- className: "moonkey-description",
12849
+ className: "moonx-description",
12843
12850
  children: config === null || config === void 0 ? void 0 : (_config_config10 = config.config) === null || _config_config10 === void 0 ? void 0 : (_config_config_appearance5 = _config_config10.appearance) === null || _config_config_appearance5 === void 0 ? void 0 : _config_config_appearance5.loginHeaderDescription
12844
12851
  })
12845
12852
  ]
12846
12853
  }),
12847
12854
  /* @__PURE__ */ jsxs41("div", {
12848
- className: "moonkey-form-section",
12855
+ className: "moonx-form-section",
12849
12856
  children: [
12850
12857
  /* @__PURE__ */ jsxs41("div", {
12851
- className: "moonkey-login-gateable".concat(loginGated ? " moonkey-login-gated" : ""),
12858
+ className: "moonx-login-gateable".concat(loginGated ? " moonx-login-gated" : ""),
12852
12859
  "aria-disabled": loginGated,
12853
12860
  children: [
12854
12861
  showEmail && /* @__PURE__ */ jsx51(EmailOtpInput, {
@@ -12864,7 +12871,7 @@ var LoginLanding = function LoginLanding(param) {
12864
12871
  }
12865
12872
  }),
12866
12873
  /* @__PURE__ */ jsxs41("div", {
12867
- className: "moonkey-social-buttons moonkey-flex-col",
12874
+ className: "moonx-social-buttons moonx-flex-col",
12868
12875
  children: [
12869
12876
  showGoogle && /* @__PURE__ */ jsx51(GoogleLogin, {
12870
12877
  onLoginClick: function onLoginClick() {
@@ -12879,7 +12886,7 @@ var LoginLanding = function LoginLanding(param) {
12879
12886
  ]
12880
12887
  }),
12881
12888
  showWallet && /* @__PURE__ */ jsx51("div", {
12882
- className: "moonkey-wallet-section moonkey-flex-col",
12889
+ className: "moonx-wallet-section moonx-flex-col",
12883
12890
  style: {
12884
12891
  gap: "0.75rem"
12885
12892
  },
@@ -12913,7 +12920,7 @@ var OAuth = function OAuth(param) {
12913
12920
  var t = useTranslation().t;
12914
12921
  var isDark = isDarkMode(config === null || config === void 0 ? void 0 : (_config_config = config.config) === null || _config_config === void 0 ? void 0 : _config_config.theme, config === null || config === void 0 ? void 0 : (_config_config1 = config.config) === null || _config_config1 === void 0 ? void 0 : (_config_config_appearance = _config_config1.appearance) === null || _config_config_appearance === void 0 ? void 0 : _config_config_appearance.displayMode, config === null || config === void 0 ? void 0 : (_config_config2 = config.config) === null || _config_config2 === void 0 ? void 0 : (_config_config_appearance1 = _config_config2.appearance) === null || _config_config_appearance1 === void 0 ? void 0 : _config_config_appearance1.backgroundColor);
12915
12922
  var googleIcon = /* @__PURE__ */ jsxs42("svg", {
12916
- className: "moonkey-icon--xl",
12923
+ className: "moonx-icon--xl",
12917
12924
  viewBox: "0 0 24 24",
12918
12925
  xmlns: "http://www.w3.org/2000/svg",
12919
12926
  children: [
@@ -12936,13 +12943,13 @@ var OAuth = function OAuth(param) {
12936
12943
  ]
12937
12944
  });
12938
12945
  var appleIcon = /* @__PURE__ */ jsx52("svg", {
12939
- className: "moonkey-icon--xl",
12946
+ className: "moonx-icon--xl",
12940
12947
  viewBox: "0 0 20 20",
12941
12948
  xmlns: "http://www.w3.org/2000/svg",
12942
12949
  children: /* @__PURE__ */ jsx52("path", {
12943
12950
  d: "M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z",
12944
12951
  transform: "translate(-2, -2)",
12945
- fill: "var(--moonkey-color-foreground, #000)"
12952
+ fill: "var(--moonx-color-foreground, #000)"
12946
12953
  })
12947
12954
  });
12948
12955
  var getIcon = function getIcon() {
@@ -12961,7 +12968,7 @@ var OAuth = function OAuth(param) {
12961
12968
  theme: config === null || config === void 0 ? void 0 : (_config_config3 = config.config) === null || _config_config3 === void 0 ? void 0 : _config_config3.theme,
12962
12969
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
12963
12970
  children: /* @__PURE__ */ jsxs42("div", {
12964
- className: cx("moonkey-oauth-container", "moonkey-flex-col-center", "moonkey-text--center"),
12971
+ className: cx("moonx-oauth-container", "moonx-flex-col-center", "moonx-text--center"),
12965
12972
  style: {
12966
12973
  paddingBottom: "0.25rem",
12967
12974
  paddingLeft: "0.5rem",
@@ -12970,10 +12977,10 @@ var OAuth = function OAuth(param) {
12970
12977
  },
12971
12978
  children: [
12972
12979
  /* @__PURE__ */ jsx52("div", {
12973
- className: "moonkey-flow-logo",
12980
+ className: "moonx-flow-logo",
12974
12981
  children: /* @__PURE__ */ jsx52(AppLogo, {
12975
12982
  appConfig: appConfig,
12976
- className: "moonkey-icon--lg"
12983
+ className: "moonx-icon--lg"
12977
12984
  })
12978
12985
  }),
12979
12986
  /* @__PURE__ */ jsx52("div", {
@@ -12982,7 +12989,7 @@ var OAuth = function OAuth(param) {
12982
12989
  gap: "1rem",
12983
12990
  justifyContent: "center"
12984
12991
  },
12985
- className: "moonkey-flex-col-center",
12992
+ className: "moonx-flex-col-center",
12986
12993
  children: /* @__PURE__ */ jsx52(LoadingSpinner, {
12987
12994
  iconComponent: getIcon(),
12988
12995
  size: "md",
@@ -13243,17 +13250,17 @@ var PasskeyEnroll = function PasskeyEnroll(param) {
13243
13250
  theme: config === null || config === void 0 ? void 0 : (_config_config6 = config.config) === null || _config_config6 === void 0 ? void 0 : _config_config6.theme,
13244
13251
  appearance: config === null || config === void 0 ? void 0 : (_config_config7 = config.config) === null || _config_config7 === void 0 ? void 0 : _config_config7.appearance,
13245
13252
  children: /* @__PURE__ */ jsxs43("div", {
13246
- className: cx("moonkey-passkey-enroll", "moonkey-passkey-success", "moonkey-modal-content"),
13253
+ className: cx("moonx-passkey-enroll", "moonx-passkey-success", "moonx-modal-content"),
13247
13254
  children: [
13248
13255
  /* @__PURE__ */ jsx53("div", {
13249
- className: "moonkey-flow-logo",
13256
+ className: "moonx-flow-logo",
13250
13257
  style: {
13251
13258
  paddingTop: "1rem"
13252
13259
  },
13253
13260
  children: customLogoUrl ? /* @__PURE__ */ jsx53("img", {
13254
13261
  src: customLogoUrl,
13255
13262
  alt: "",
13256
- className: "moonkey-icon--lg",
13263
+ className: "moonx-icon--lg",
13257
13264
  style: {
13258
13265
  objectFit: "contain"
13259
13266
  }
@@ -13266,18 +13273,18 @@ var PasskeyEnroll = function PasskeyEnroll(param) {
13266
13273
  })
13267
13274
  }),
13268
13275
  /* @__PURE__ */ jsx53(CheckCircle24, {
13269
- className: "moonkey-icon--2xl moonkey-icon--success"
13276
+ className: "moonx-icon--2xl moonx-icon--success"
13270
13277
  }),
13271
13278
  /* @__PURE__ */ jsx53("div", {
13272
- className: "moonkey-text--title moonkey-text--xl",
13279
+ className: "moonx-text--title moonx-text--xl",
13273
13280
  children: successTitleText
13274
13281
  }),
13275
13282
  /* @__PURE__ */ jsx53("div", {
13276
- className: "moonkey-text--secondary",
13283
+ className: "moonx-text--secondary",
13277
13284
  children: successDescriptionText
13278
13285
  }),
13279
13286
  /* @__PURE__ */ jsx53("div", {
13280
- className: "moonkey-btn-stack",
13287
+ className: "moonx-btn-stack",
13281
13288
  children: /* @__PURE__ */ jsx53(Button, {
13282
13289
  onClick: finish,
13283
13290
  children: successDoneButtonText
@@ -13293,17 +13300,17 @@ var PasskeyEnroll = function PasskeyEnroll(param) {
13293
13300
  theme: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.theme,
13294
13301
  appearance: config === null || config === void 0 ? void 0 : (_config_config5 = config.config) === null || _config_config5 === void 0 ? void 0 : _config_config5.appearance,
13295
13302
  children: /* @__PURE__ */ jsxs43("div", {
13296
- className: cx("moonkey-passkey-enroll", "moonkey-modal-content"),
13303
+ className: cx("moonx-passkey-enroll", "moonx-modal-content"),
13297
13304
  children: [
13298
13305
  /* @__PURE__ */ jsx53("div", {
13299
- className: "moonkey-flow-logo",
13306
+ className: "moonx-flow-logo",
13300
13307
  style: {
13301
13308
  paddingTop: "1rem"
13302
13309
  },
13303
13310
  children: customLogoUrl ? /* @__PURE__ */ jsx53("img", {
13304
13311
  src: customLogoUrl,
13305
13312
  alt: "",
13306
- className: "moonkey-icon--lg",
13313
+ className: "moonx-icon--lg",
13307
13314
  style: {
13308
13315
  objectFit: "contain"
13309
13316
  }
@@ -13316,18 +13323,18 @@ var PasskeyEnroll = function PasskeyEnroll(param) {
13316
13323
  })
13317
13324
  }),
13318
13325
  /* @__PURE__ */ jsx53(Fingerprint2, {
13319
- className: "moonkey-icon--xl moonkey-icon--accent"
13326
+ className: "moonx-icon--xl moonx-icon--accent"
13320
13327
  }),
13321
13328
  /* @__PURE__ */ jsx53("div", {
13322
- className: "moonkey-text--title moonkey-text--xl",
13329
+ className: "moonx-text--title moonx-text--xl",
13323
13330
  children: titleText
13324
13331
  }),
13325
13332
  /* @__PURE__ */ jsx53("div", {
13326
- className: "moonkey-text--secondary",
13333
+ className: "moonx-text--secondary",
13327
13334
  children: descriptionText
13328
13335
  }),
13329
13336
  /* @__PURE__ */ jsxs43("div", {
13330
- className: "moonkey-flex-col",
13337
+ className: "moonx-flex-col",
13331
13338
  style: {
13332
13339
  gap: "0.75rem",
13333
13340
  width: "100%",
@@ -13335,10 +13342,10 @@ var PasskeyEnroll = function PasskeyEnroll(param) {
13335
13342
  },
13336
13343
  children: [
13337
13344
  /* @__PURE__ */ jsxs43("div", {
13338
- className: "moonkey-feature-item",
13345
+ className: "moonx-feature-item",
13339
13346
  children: [
13340
13347
  /* @__PURE__ */ jsx53(ShieldCheck, {
13341
- className: "moonkey-icon--accent",
13348
+ className: "moonx-icon--accent",
13342
13349
  style: {
13343
13350
  width: "1.25rem",
13344
13351
  height: "1.25rem",
@@ -13351,10 +13358,10 @@ var PasskeyEnroll = function PasskeyEnroll(param) {
13351
13358
  ]
13352
13359
  }),
13353
13360
  /* @__PURE__ */ jsxs43("div", {
13354
- className: "moonkey-feature-item",
13361
+ className: "moonx-feature-item",
13355
13362
  children: [
13356
13363
  /* @__PURE__ */ jsx53(CloudCog, {
13357
- className: "moonkey-icon--accent",
13364
+ className: "moonx-icon--accent",
13358
13365
  style: {
13359
13366
  width: "1.25rem",
13360
13367
  height: "1.25rem",
@@ -13372,7 +13379,7 @@ var PasskeyEnroll = function PasskeyEnroll(param) {
13372
13379
  children: errorMessage
13373
13380
  }),
13374
13381
  /* @__PURE__ */ jsxs43("div", {
13375
- className: "moonkey-btn-stack",
13382
+ className: "moonx-btn-stack",
13376
13383
  children: [
13377
13384
  /* @__PURE__ */ jsx53(Button, {
13378
13385
  onClick: enroll,
@@ -13393,6 +13400,32 @@ var PasskeyEnroll = function PasskeyEnroll(param) {
13393
13400
  // src/components/flows/send-ethereum-transaction-flow/send-ethereum-transaction-flow.tsx
13394
13401
  import { PostMessageClient as PostMessageClient4, PostMessageMethod as PostMessageMethod21, PostMessageType as PostMessageType22 } from "@moon-x/core/utils";
13395
13402
  import { useState as useState41 } from "react";
13403
+ // src/lib/verify-ethereum-transaction.ts
13404
+ import { serializeEthereumTransaction as serializeEthereumTransaction2 } from "@moon-x/core/lib";
13405
+ var ETHEREUM_TX_PREVIEW_MISMATCH = "ETHEREUM_TX_PREVIEW_MISMATCH";
13406
+ function canonicalSerializedForSigning(transaction, serializedTransaction) {
13407
+ return _async_to_generator(function() {
13408
+ var canonical;
13409
+ return _ts_generator(this, function(_state) {
13410
+ switch(_state.label){
13411
+ case 0:
13412
+ return [
13413
+ 4,
13414
+ serializeEthereumTransaction2(transaction)
13415
+ ];
13416
+ case 1:
13417
+ canonical = _state.sent();
13418
+ if (canonical.toLowerCase() !== serializedTransaction.toLowerCase()) {
13419
+ throw new Error(ETHEREUM_TX_PREVIEW_MISMATCH);
13420
+ }
13421
+ return [
13422
+ 2,
13423
+ canonical
13424
+ ];
13425
+ }
13426
+ });
13427
+ })();
13428
+ }
13396
13429
  // src/components/flows/send-ethereum-transaction-flow/send-ethereum-transaction.tsx
13397
13430
  import { PostMessageMethod as PostMessageMethod20, PostMessageType as PostMessageType21 } from "@moon-x/core/utils";
13398
13431
  import { ListCheck, X as X11, XCircle as XCircle2 } from "lucide-react";
@@ -13473,7 +13506,7 @@ var SendEthereumTransaction = function SendEthereumTransaction(param) {
13473
13506
  console.error("Failed to get confirm transaction:", error2 || "Unknown error");
13474
13507
  };
13475
13508
  return /* @__PURE__ */ jsx54("div", {
13476
- className: "moonkey-flow-overlay",
13509
+ className: "moonx-flow-overlay",
13477
13510
  children: /* @__PURE__ */ jsxs44(RootCard, {
13478
13511
  centerContent: false,
13479
13512
  isDark: isDark,
@@ -13481,35 +13514,35 @@ var SendEthereumTransaction = function SendEthereumTransaction(param) {
13481
13514
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
13482
13515
  children: [
13483
13516
  /* @__PURE__ */ jsx54("div", {
13484
- className: "moonkey-flow-close",
13517
+ className: "moonx-flow-close",
13485
13518
  children: /* @__PURE__ */ jsx54(Button, {
13486
13519
  variant: "ghost",
13487
13520
  size: "icon",
13488
13521
  onClick: onCancel,
13489
13522
  children: /* @__PURE__ */ jsx54(X11, {
13490
- className: "moonkey-icon--sm"
13523
+ className: "moonx-icon--sm"
13491
13524
  })
13492
13525
  })
13493
13526
  }),
13494
13527
  /* @__PURE__ */ jsxs44("div", {
13495
- className: "moonkey-flow-header",
13528
+ className: "moonx-flow-header",
13496
13529
  style: {
13497
13530
  marginTop: "1rem"
13498
13531
  },
13499
13532
  children: [
13500
13533
  /* @__PURE__ */ jsx54("div", {
13501
- className: "moonkey-flow-logo",
13534
+ className: "moonx-flow-logo",
13502
13535
  children: /* @__PURE__ */ jsx54(AppLogo, {
13503
13536
  appConfig: appConfig,
13504
- className: "moonkey-icon--lg"
13537
+ className: "moonx-icon--lg"
13505
13538
  })
13506
13539
  }),
13507
13540
  /* @__PURE__ */ jsx54("div", {
13508
- className: "moonkey-label",
13541
+ className: "moonx-label",
13509
13542
  children: t("sendTransaction.confirmTransaction")
13510
13543
  }),
13511
13544
  /* @__PURE__ */ jsx54("div", {
13512
- className: "moonkey-text--secondary",
13545
+ className: "moonx-text--secondary",
13513
13546
  children: t("sendTransaction.wantsPermission", {
13514
13547
  companyName: appConfig === null || appConfig === void 0 ? void 0 : appConfig.name
13515
13548
  })
@@ -13517,7 +13550,7 @@ var SendEthereumTransaction = function SendEthereumTransaction(param) {
13517
13550
  ]
13518
13551
  }),
13519
13552
  isLoadingError ? /* @__PURE__ */ jsxs44("div", {
13520
- className: "moonkey-flex-col-center",
13553
+ className: "moonx-flex-col-center",
13521
13554
  style: {
13522
13555
  textAlign: "center",
13523
13556
  marginTop: "2rem",
@@ -13526,17 +13559,17 @@ var SendEthereumTransaction = function SendEthereumTransaction(param) {
13526
13559
  children: [
13527
13560
  /* @__PURE__ */ jsx54("div", {
13528
13561
  children: /* @__PURE__ */ jsx54(XCircle2, {
13529
- className: "moonkey-icon--lg moonkey-icon--error"
13562
+ className: "moonx-icon--lg moonx-icon--error"
13530
13563
  })
13531
13564
  }),
13532
13565
  /* @__PURE__ */ jsxs44("div", {
13533
13566
  children: [
13534
13567
  /* @__PURE__ */ jsx54("div", {
13535
- className: "moonkey-label",
13568
+ className: "moonx-label",
13536
13569
  children: "Error detected"
13537
13570
  }),
13538
13571
  /* @__PURE__ */ jsx54("div", {
13539
- className: "moonkey-text--secondary",
13572
+ className: "moonx-text--secondary",
13540
13573
  style: {
13541
13574
  marginTop: "1rem"
13542
13575
  },
@@ -13546,12 +13579,12 @@ var SendEthereumTransaction = function SendEthereumTransaction(param) {
13546
13579
  })
13547
13580
  ]
13548
13581
  }) : /* @__PURE__ */ jsx54("div", {
13549
- className: "moonkey-flex-col",
13582
+ className: "moonx-flex-col",
13550
13583
  style: {
13551
13584
  marginTop: "1rem"
13552
13585
  },
13553
13586
  children: /* @__PURE__ */ jsxs44("div", {
13554
- className: "moonkey-detail-card__rows",
13587
+ className: "moonx-detail-card__rows",
13555
13588
  children: [
13556
13589
  /* @__PURE__ */ jsxs44("div", {
13557
13590
  style: {
@@ -13570,7 +13603,7 @@ var SendEthereumTransaction = function SendEthereumTransaction(param) {
13570
13603
  /* @__PURE__ */ jsx54(DetailRow, {
13571
13604
  label: formatAddress((wallet === null || wallet === void 0 ? void 0 : wallet.public_address) || "", 8, 8),
13572
13605
  value: isLoadingConfirm ? /* @__PURE__ */ jsx54("div", {
13573
- className: "moonkey-skeleton",
13606
+ className: "moonx-skeleton",
13574
13607
  style: {
13575
13608
  height: "1rem",
13576
13609
  width: "4rem"
@@ -13597,7 +13630,7 @@ var SendEthereumTransaction = function SendEthereumTransaction(param) {
13597
13630
  children: /* @__PURE__ */ jsx54(DetailRow, {
13598
13631
  label: t("sendTransaction.estimatedFee"),
13599
13632
  value: isLoadingConfirm ? /* @__PURE__ */ jsx54("div", {
13600
- className: "moonkey-skeleton",
13633
+ className: "moonx-skeleton",
13601
13634
  style: {
13602
13635
  height: "1rem",
13603
13636
  width: "4rem"
@@ -13623,10 +13656,10 @@ var SendEthereumTransaction = function SendEthereumTransaction(param) {
13623
13656
  },
13624
13657
  children: [
13625
13658
  /* @__PURE__ */ jsx54(ListCheck, {
13626
- className: "moonkey-icon--sm"
13659
+ className: "moonx-icon--sm"
13627
13660
  }),
13628
13661
  /* @__PURE__ */ jsx54("span", {
13629
- className: "moonkey-label",
13662
+ className: "moonx-label",
13630
13663
  children: isLoadingConfirm ? t("common.loading") : t("sendTransaction.viewAdvancedDetails")
13631
13664
  })
13632
13665
  ]
@@ -13636,9 +13669,9 @@ var SendEthereumTransaction = function SendEthereumTransaction(param) {
13636
13669
  })
13637
13670
  }),
13638
13671
  /* @__PURE__ */ jsx54("div", {
13639
- className: "moonkey-flow-footer",
13672
+ className: "moonx-flow-footer",
13640
13673
  children: /* @__PURE__ */ jsxs44("div", {
13641
- className: "moonkey-flow-footer__actions",
13674
+ className: "moonx-flow-footer__actions",
13642
13675
  children: [
13643
13676
  /* @__PURE__ */ jsx54(Button, {
13644
13677
  variant: "outline",
@@ -13666,7 +13699,7 @@ function SendEthereumTransactionFailed(param) {
13666
13699
  var t = useTranslation().t;
13667
13700
  var isDark = propsIsDark !== void 0 ? propsIsDark : isDarkMode(config === null || config === void 0 ? void 0 : (_config_config = config.config) === null || _config_config === void 0 ? void 0 : _config_config.theme, config === null || config === void 0 ? void 0 : (_config_config1 = config.config) === null || _config_config1 === void 0 ? void 0 : (_config_config_appearance = _config_config1.appearance) === null || _config_config_appearance === void 0 ? void 0 : _config_config_appearance.displayMode, config === null || config === void 0 ? void 0 : (_config_config2 = config.config) === null || _config_config2 === void 0 ? void 0 : (_config_config_appearance1 = _config_config2.appearance) === null || _config_config_appearance1 === void 0 ? void 0 : _config_config_appearance1.backgroundColor);
13668
13701
  return /* @__PURE__ */ jsx55("div", {
13669
- className: "moonkey-flow-overlay",
13702
+ className: "moonx-flow-overlay",
13670
13703
  children: /* @__PURE__ */ jsxs45(RootCard, {
13671
13704
  centerContent: false,
13672
13705
  isDark: isDark,
@@ -13674,29 +13707,29 @@ function SendEthereumTransactionFailed(param) {
13674
13707
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
13675
13708
  children: [
13676
13709
  /* @__PURE__ */ jsx55("div", {
13677
- className: "moonkey-flow-close",
13710
+ className: "moonx-flow-close",
13678
13711
  children: /* @__PURE__ */ jsx55(Button, {
13679
13712
  variant: "ghost",
13680
13713
  size: "icon",
13681
13714
  onClick: onClose,
13682
13715
  children: /* @__PURE__ */ jsx55(X12, {
13683
- className: "moonkey-icon--md"
13716
+ className: "moonx-icon--md"
13684
13717
  })
13685
13718
  })
13686
13719
  }),
13687
13720
  /* @__PURE__ */ jsx55("div", {
13688
- className: "moonkey-flex-center",
13721
+ className: "moonx-flex-center",
13689
13722
  children: /* @__PURE__ */ jsx55("div", {
13690
13723
  style: {
13691
- animation: "moonkey-error-bounce 0.8s ease-out 0.1s both"
13724
+ animation: "moonx-error-bounce 0.8s ease-out 0.1s both"
13692
13725
  },
13693
13726
  children: /* @__PURE__ */ jsx55(XCircle3, {
13694
- className: "moonkey-icon--2xl moonkey-icon--error"
13727
+ className: "moonx-icon--2xl moonx-icon--error"
13695
13728
  })
13696
13729
  })
13697
13730
  }),
13698
13731
  /* @__PURE__ */ jsx55("div", {
13699
- className: "moonkey-text--heading",
13732
+ className: "moonx-text--heading",
13700
13733
  style: {
13701
13734
  paddingTop: "2rem"
13702
13735
  },
@@ -13709,7 +13742,7 @@ function SendEthereumTransactionFailed(param) {
13709
13742
  paddingRight: "0.5rem"
13710
13743
  },
13711
13744
  children: /* @__PURE__ */ jsx55("div", {
13712
- className: "moonkey-text--secondary moonkey-text--semibold",
13745
+ className: "moonx-text--secondary moonx-text--semibold",
13713
13746
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.description) || t("sendTransaction.failure.transactionFailedDescription")
13714
13747
  })
13715
13748
  }),
@@ -13720,14 +13753,14 @@ function SendEthereumTransactionFailed(param) {
13720
13753
  marginTop: "1.5rem"
13721
13754
  },
13722
13755
  children: /* @__PURE__ */ jsx55("div", {
13723
- className: "moonkey-text--sm moonkey-text--semibold",
13756
+ className: "moonx-text--sm moonx-text--semibold",
13724
13757
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.errorTitle) || t("sendTransaction.failure.transactionFailedErrorDetails")
13725
13758
  })
13726
13759
  }),
13727
13760
  /* @__PURE__ */ jsx55("div", {
13728
- className: "moonkey-error-scroll",
13761
+ className: "moonx-error-scroll",
13729
13762
  children: /* @__PURE__ */ jsx55("div", {
13730
- className: "moonkey-text--secondary moonkey-text--semibold",
13763
+ className: "moonx-text--secondary moonx-text--semibold",
13731
13764
  style: {
13732
13765
  padding: "0 0.5rem"
13733
13766
  },
@@ -13735,9 +13768,9 @@ function SendEthereumTransactionFailed(param) {
13735
13768
  })
13736
13769
  }),
13737
13770
  /* @__PURE__ */ jsx55("div", {
13738
- className: "moonkey-flow-footer",
13771
+ className: "moonx-flow-footer",
13739
13772
  children: /* @__PURE__ */ jsx55("div", {
13740
- className: "moonkey-flow-footer__actions",
13773
+ className: "moonx-flow-footer__actions",
13741
13774
  children: /* @__PURE__ */ jsx55(Button, {
13742
13775
  onClick: onClose,
13743
13776
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.closeButtonText) || t("sendTransaction.failure.transactionFailedRetryTransaction")
@@ -13757,7 +13790,7 @@ function SendEthereumTransactionSuccess(param) {
13757
13790
  var t = useTranslation().t;
13758
13791
  var isDark = propsIsDark !== void 0 ? propsIsDark : isDarkMode(config === null || config === void 0 ? void 0 : (_config_config = config.config) === null || _config_config === void 0 ? void 0 : _config_config.theme, config === null || config === void 0 ? void 0 : (_config_config1 = config.config) === null || _config_config1 === void 0 ? void 0 : (_config_config_appearance = _config_config1.appearance) === null || _config_config_appearance === void 0 ? void 0 : _config_config_appearance.displayMode, config === null || config === void 0 ? void 0 : (_config_config2 = config.config) === null || _config_config2 === void 0 ? void 0 : (_config_config_appearance1 = _config_config2.appearance) === null || _config_config_appearance1 === void 0 ? void 0 : _config_config_appearance1.backgroundColor);
13759
13792
  return /* @__PURE__ */ jsx56("div", {
13760
- className: "moonkey-flow-overlay",
13793
+ className: "moonx-flow-overlay",
13761
13794
  children: /* @__PURE__ */ jsxs46(RootCard, {
13762
13795
  centerContent: false,
13763
13796
  isDark: isDark,
@@ -13765,18 +13798,18 @@ function SendEthereumTransactionSuccess(param) {
13765
13798
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
13766
13799
  children: [
13767
13800
  /* @__PURE__ */ jsx56("div", {
13768
- className: "moonkey-flex-center",
13801
+ className: "moonx-flex-center",
13769
13802
  children: /* @__PURE__ */ jsx56("div", {
13770
13803
  style: {
13771
- animation: "moonkey-success-bounce 0.8s ease-out 0.1s both"
13804
+ animation: "moonx-success-bounce 0.8s ease-out 0.1s both"
13772
13805
  },
13773
13806
  children: /* @__PURE__ */ jsx56(CheckCircle25, {
13774
- className: "moonkey-icon--2xl moonkey-icon--success"
13807
+ className: "moonx-icon--2xl moonx-icon--success"
13775
13808
  })
13776
13809
  })
13777
13810
  }),
13778
13811
  /* @__PURE__ */ jsx56("div", {
13779
- className: "moonkey-text--heading",
13812
+ className: "moonx-text--heading",
13780
13813
  style: {
13781
13814
  paddingTop: "2rem"
13782
13815
  },
@@ -13789,14 +13822,14 @@ function SendEthereumTransactionSuccess(param) {
13789
13822
  paddingRight: "0.5rem"
13790
13823
  },
13791
13824
  children: /* @__PURE__ */ jsx56("div", {
13792
- className: "moonkey-text--secondary moonkey-text--semibold",
13825
+ className: "moonx-text--secondary moonx-text--semibold",
13793
13826
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.description) || t("sendTransaction.success.transactionCompleteDescription")
13794
13827
  })
13795
13828
  }),
13796
13829
  /* @__PURE__ */ jsx56("div", {
13797
- className: "moonkey-detail-card",
13830
+ className: "moonx-detail-card",
13798
13831
  children: /* @__PURE__ */ jsxs46("div", {
13799
- className: "moonkey-detail-card__rows",
13832
+ className: "moonx-detail-card__rows",
13800
13833
  children: [
13801
13834
  /* @__PURE__ */ jsx56(DetailRow, {
13802
13835
  label: t("sendTransaction.success.transactionCompleteNetwork"),
@@ -13808,7 +13841,7 @@ function SendEthereumTransactionSuccess(param) {
13808
13841
  /* @__PURE__ */ jsx56(DetailRow, {
13809
13842
  label: t("sendTransaction.success.transactionCompleteTotal"),
13810
13843
  value: /* @__PURE__ */ jsxs46("div", {
13811
- className: "moonkey-flex-col",
13844
+ className: "moonx-flex-col",
13812
13845
  style: {
13813
13846
  textAlign: "right"
13814
13847
  },
@@ -13817,7 +13850,7 @@ function SendEthereumTransactionSuccess(param) {
13817
13850
  children: transactionSummary.totalFiat
13818
13851
  }),
13819
13852
  /* @__PURE__ */ jsx56("span", {
13820
- className: "moonkey-text--secondary",
13853
+ className: "moonx-text--secondary",
13821
13854
  children: transactionSummary.totalCrypto
13822
13855
  })
13823
13856
  ]
@@ -13965,7 +13998,7 @@ function TransactionDetails(param) {
13965
13998
  if (loading) {
13966
13999
  var _config_config5, _config_config6;
13967
14000
  return /* @__PURE__ */ jsx57("div", {
13968
- className: "moonkey-flow-overlay",
14001
+ className: "moonx-flow-overlay",
13969
14002
  children: /* @__PURE__ */ jsx57(RootCard, {
13970
14003
  centerContent: false,
13971
14004
  isDark: isDark,
@@ -13977,7 +14010,7 @@ function TransactionDetails(param) {
13977
14010
  textAlign: "center"
13978
14011
  },
13979
14012
  children: /* @__PURE__ */ jsx57("div", {
13980
- className: "moonkey-text--secondary",
14013
+ className: "moonx-text--secondary",
13981
14014
  children: "Loading transaction details..."
13982
14015
  })
13983
14016
  })
@@ -13987,7 +14020,7 @@ function TransactionDetails(param) {
13987
14020
  if (error) {
13988
14021
  var _config_config7, _config_config8;
13989
14022
  return /* @__PURE__ */ jsx57("div", {
13990
- className: "moonkey-flow-overlay",
14023
+ className: "moonx-flow-overlay",
13991
14024
  children: /* @__PURE__ */ jsxs47(RootCard, {
13992
14025
  centerContent: false,
13993
14026
  isDark: isDark,
@@ -13995,18 +14028,18 @@ function TransactionDetails(param) {
13995
14028
  appearance: config === null || config === void 0 ? void 0 : (_config_config8 = config.config) === null || _config_config8 === void 0 ? void 0 : _config_config8.appearance,
13996
14029
  children: [
13997
14030
  /* @__PURE__ */ jsx57("div", {
13998
- className: "moonkey-flow-close",
14031
+ className: "moonx-flow-close",
13999
14032
  children: /* @__PURE__ */ jsx57(Button, {
14000
14033
  variant: "ghost",
14001
14034
  size: "icon",
14002
14035
  onClick: onClose,
14003
14036
  children: /* @__PURE__ */ jsx57(X13, {
14004
- className: "moonkey-icon--md"
14037
+ className: "moonx-icon--md"
14005
14038
  })
14006
14039
  })
14007
14040
  }),
14008
14041
  /* @__PURE__ */ jsxs47("div", {
14009
- className: "moonkey-flex-col-center",
14042
+ className: "moonx-flex-col-center",
14010
14043
  style: {
14011
14044
  padding: "2rem",
14012
14045
  textAlign: "center",
@@ -14019,7 +14052,7 @@ function TransactionDetails(param) {
14019
14052
  width: "3rem",
14020
14053
  height: "3rem",
14021
14054
  borderRadius: "50%",
14022
- backgroundColor: "var(--moonkey-color-error)",
14055
+ backgroundColor: "var(--moonx-color-error)",
14023
14056
  opacity: 0.1,
14024
14057
  display: "flex",
14025
14058
  alignItems: "center",
@@ -14028,7 +14061,7 @@ function TransactionDetails(param) {
14028
14061
  },
14029
14062
  children: /* @__PURE__ */ jsx57("div", {
14030
14063
  style: {
14031
- color: "var(--moonkey-color-error)",
14064
+ color: "var(--moonx-color-error)",
14032
14065
  fontSize: "1.5rem",
14033
14066
  fontWeight: "bold"
14034
14067
  },
@@ -14042,7 +14075,7 @@ function TransactionDetails(param) {
14042
14075
  children: "Unable to Load Transaction"
14043
14076
  }),
14044
14077
  /* @__PURE__ */ jsx57("div", {
14045
- className: "moonkey-text--secondary",
14078
+ className: "moonx-text--secondary",
14046
14079
  style: {
14047
14080
  marginBottom: "1rem",
14048
14081
  maxWidth: "300px"
@@ -14052,9 +14085,9 @@ function TransactionDetails(param) {
14052
14085
  ]
14053
14086
  }),
14054
14087
  /* @__PURE__ */ jsx57("div", {
14055
- className: "moonkey-flow-footer",
14088
+ className: "moonx-flow-footer",
14056
14089
  children: /* @__PURE__ */ jsx57("div", {
14057
- className: "moonkey-flow-footer__actions",
14090
+ className: "moonx-flow-footer__actions",
14058
14091
  children: /* @__PURE__ */ jsx57(Button, {
14059
14092
  onClick: onClose,
14060
14093
  variant: "default",
@@ -14068,7 +14101,7 @@ function TransactionDetails(param) {
14068
14101
  });
14069
14102
  }
14070
14103
  return /* @__PURE__ */ jsx57("div", {
14071
- className: "moonkey-flow-overlay",
14104
+ className: "moonx-flow-overlay",
14072
14105
  children: /* @__PURE__ */ jsxs47(RootCard, {
14073
14106
  centerContent: false,
14074
14107
  isDark: isDark,
@@ -14076,28 +14109,28 @@ function TransactionDetails(param) {
14076
14109
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
14077
14110
  children: [
14078
14111
  /* @__PURE__ */ jsx57("div", {
14079
- className: "moonkey-flow-close",
14112
+ className: "moonx-flow-close",
14080
14113
  children: /* @__PURE__ */ jsx57(Button, {
14081
14114
  variant: "ghost",
14082
14115
  size: "icon",
14083
14116
  onClick: onClose,
14084
14117
  children: /* @__PURE__ */ jsx57(X13, {
14085
- className: "moonkey-icon--md"
14118
+ className: "moonx-icon--md"
14086
14119
  })
14087
14120
  })
14088
14121
  }),
14089
14122
  /* @__PURE__ */ jsx57("div", {
14090
- className: "moonkey-flow-header",
14123
+ className: "moonx-flow-header",
14091
14124
  style: {
14092
14125
  marginTop: "1rem"
14093
14126
  },
14094
14127
  children: /* @__PURE__ */ jsx57("div", {
14095
- className: "moonkey-label",
14128
+ className: "moonx-label",
14096
14129
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.title) || t("sendTransaction.advancedTransactionDetails")
14097
14130
  })
14098
14131
  }),
14099
14132
  /* @__PURE__ */ jsx57("div", {
14100
- className: "moonkey-scrollable-list",
14133
+ className: "moonx-scrollable-list",
14101
14134
  style: {
14102
14135
  height: "300px",
14103
14136
  margin: "1rem 0.75rem 0"
@@ -14108,14 +14141,14 @@ function TransactionDetails(param) {
14108
14141
  },
14109
14142
  children: transactionDetails.map(function(section) {
14110
14143
  return /* @__PURE__ */ jsxs47("div", {
14111
- className: "moonkey-flex-col",
14144
+ className: "moonx-flex-col",
14112
14145
  style: {
14113
14146
  justifyContent: "space-between",
14114
14147
  marginBottom: "1.5rem"
14115
14148
  },
14116
14149
  children: [
14117
14150
  /* @__PURE__ */ jsx57("h3", {
14118
- className: "moonkey-label",
14151
+ className: "moonx-label",
14119
14152
  style: {
14120
14153
  marginBottom: "0.75rem"
14121
14154
  },
@@ -14131,7 +14164,7 @@ function TransactionDetails(param) {
14131
14164
  paddingTop: "0.5rem",
14132
14165
  paddingBottom: "0.5rem"
14133
14166
  }, index < section.details.length - 1 && {
14134
- borderBottom: "1px solid var(--moonkey-color-border)"
14167
+ borderBottom: "1px solid var(--moonx-color-border)"
14135
14168
  })
14136
14169
  }, index);
14137
14170
  })
@@ -14141,9 +14174,9 @@ function TransactionDetails(param) {
14141
14174
  })
14142
14175
  }),
14143
14176
  /* @__PURE__ */ jsx57("div", {
14144
- className: "moonkey-flow-footer",
14177
+ className: "moonx-flow-footer",
14145
14178
  children: /* @__PURE__ */ jsx57("div", {
14146
- className: "moonkey-flow-footer__actions",
14179
+ className: "moonx-flow-footer__actions",
14147
14180
  children: /* @__PURE__ */ jsx57(Button, {
14148
14181
  onClick: onClose,
14149
14182
  variant: "default",
@@ -14166,6 +14199,12 @@ var SendEthereumTransactionFlow = function SendEthereumTransactionFlow(param) {
14166
14199
  var _useState411 = _sliced_to_array(useState41(""), 2), transactionHash = _useState411[0], setTransactionHash = _useState411[1];
14167
14200
  var _useState412 = _sliced_to_array(useState41(null), 2), confirmTransactionData = _useState412[0], setConfirmTransactionData = _useState412[1];
14168
14201
  var _useState413 = _sliced_to_array(useState41(false), 2), isSending = _useState413[0], setIsSending = _useState413[1];
14202
+ var _useState414 = _sliced_to_array(useState41(function() {
14203
+ return structuredClone(sendTransactionRequest);
14204
+ }), 1), request = _useState414[0];
14205
+ var _useState415 = _sliced_to_array(useState41(function() {
14206
+ return structuredClone(wallet);
14207
+ }), 1), requestWallet = _useState415[0];
14169
14208
  var onConfirm = function onConfirm() {
14170
14209
  handleSend();
14171
14210
  };
@@ -14184,15 +14223,15 @@ var SendEthereumTransactionFlow = function SendEthereumTransactionFlow(param) {
14184
14223
  };
14185
14224
  var handleSend = function handleSend() {
14186
14225
  return _async_to_generator(function() {
14187
- var _options_uiOptions, client, _ref, userHandleB64url, credentialIdB64url, presenceTokens, signed, broadcastResponse, broadcast, hash, parentClient, error;
14226
+ var _options_uiOptions, client, serializedToSign, _ref, userHandleB64url, credentialIdB64url, presenceTokens, signed, broadcastResponse, broadcast, hash, parentClient, error;
14188
14227
  return _ts_generator(this, function(_state) {
14189
14228
  switch(_state.label){
14190
14229
  case 0:
14191
14230
  _state.trys.push([
14192
14231
  0,
14193
- 5,
14232
+ 6,
14194
14233
  ,
14195
- 6
14234
+ 7
14196
14235
  ]);
14197
14236
  setIsSending(true);
14198
14237
  client = getIframeClient(publishableKey);
@@ -14204,27 +14243,33 @@ var SendEthereumTransactionFlow = function SendEthereumTransactionFlow(param) {
14204
14243
  }
14205
14244
  return [
14206
14245
  4,
14207
- onAssertPasskey()
14246
+ canonicalSerializedForSigning(request.transaction, request.serializedTransaction)
14208
14247
  ];
14209
14248
  case 1:
14249
+ serializedToSign = _state.sent();
14250
+ return [
14251
+ 4,
14252
+ onAssertPasskey()
14253
+ ];
14254
+ case 2:
14210
14255
  _ref = _state.sent(), userHandleB64url = _ref.userHandleB64url, credentialIdB64url = _ref.credentialIdB64url, presenceTokens = _ref.presenceTokens;
14211
14256
  return [
14212
14257
  4,
14213
14258
  client.send(PostMessageType22.WALLET, PostMessageMethod21.SIGN_TRANSACTION, {
14214
14259
  publishableKey: publishableKey,
14215
- serializedTransaction: sendTransactionRequest.serializedTransaction,
14216
- wallet: wallet,
14260
+ serializedTransaction: serializedToSign,
14261
+ wallet: requestWallet,
14217
14262
  options: options,
14218
14263
  userHandleB64url: userHandleB64url,
14219
14264
  credentialIdB64url: credentialIdB64url,
14220
14265
  presenceTokens: presenceTokens
14221
14266
  })
14222
14267
  ];
14223
- case 2:
14268
+ case 3:
14224
14269
  signed = _state.sent();
14225
14270
  return [
14226
14271
  4,
14227
- fetch(sendTransactionRequest.rpcUrl, {
14272
+ fetch(request.rpcUrl, {
14228
14273
  method: "POST",
14229
14274
  headers: {
14230
14275
  "Content-Type": "application/json"
@@ -14239,13 +14284,13 @@ var SendEthereumTransactionFlow = function SendEthereumTransactionFlow(param) {
14239
14284
  })
14240
14285
  })
14241
14286
  ];
14242
- case 3:
14287
+ case 4:
14243
14288
  broadcastResponse = _state.sent();
14244
14289
  return [
14245
14290
  4,
14246
14291
  broadcastResponse.json()
14247
14292
  ];
14248
- case 4:
14293
+ case 5:
14249
14294
  broadcast = _state.sent();
14250
14295
  if (broadcast.error) {
14251
14296
  setIsSending(false);
@@ -14270,21 +14315,21 @@ var SendEthereumTransactionFlow = function SendEthereumTransactionFlow(param) {
14270
14315
  onComplete === null || onComplete === void 0 ? void 0 : onComplete({
14271
14316
  hash: hash,
14272
14317
  signature: signed.signature,
14273
- metadata: sendTransactionRequest.metadata
14318
+ metadata: request.metadata
14274
14319
  });
14275
14320
  }, getWaitBeforeCloseTime());
14276
14321
  return [
14277
14322
  3,
14278
- 6
14323
+ 7
14279
14324
  ];
14280
- case 5:
14325
+ case 6:
14281
14326
  error = _state.sent();
14282
14327
  setIsSending(false);
14283
14328
  setCurrentStep("failed");
14284
14329
  return [
14285
14330
  2
14286
14331
  ];
14287
- case 6:
14332
+ case 7:
14288
14333
  return [
14289
14334
  2
14290
14335
  ];
@@ -14315,10 +14360,10 @@ var SendEthereumTransactionFlow = function SendEthereumTransactionFlow(param) {
14315
14360
  if (currentStep === "confirm") {
14316
14361
  return /* @__PURE__ */ jsx58(SendEthereumTransaction, {
14317
14362
  publishableKey: publishableKey,
14318
- transaction: sendTransactionRequest.transaction,
14319
- wallet: wallet,
14320
- rpcUrl: sendTransactionRequest.rpcUrl,
14321
- network: sendTransactionRequest.network,
14363
+ transaction: request.serializedTransaction,
14364
+ wallet: requestWallet,
14365
+ rpcUrl: request.rpcUrl,
14366
+ network: request.network,
14322
14367
  onCancel: handleCancel,
14323
14368
  onConfirm: onConfirm,
14324
14369
  onAdvancedDetailsClick: onAdvancedDetailsClick,
@@ -14338,22 +14383,22 @@ var SendEthereumTransactionFlow = function SendEthereumTransactionFlow(param) {
14338
14383
  });
14339
14384
  }
14340
14385
  if (currentStep === "success") {
14341
- var _sendTransactionRequest_metadata, _options_uiOptions1, _sendTransactionRequest_metadata1;
14342
- var txData = typeof sendTransactionRequest.transaction === "string" ? null : sendTransactionRequest.transaction;
14386
+ var _request_metadata, _options_uiOptions1, _request_metadata1;
14387
+ var txData = typeof request.transaction === "string" ? null : request.transaction;
14343
14388
  var ethAmount = (txData === null || txData === void 0 ? void 0 : txData.value) || "0";
14344
14389
  var maxFeePerGas = (txData === null || txData === void 0 ? void 0 : txData.maxFeePerGas) || "0";
14345
14390
  var gasLimit = (txData === null || txData === void 0 ? void 0 : txData.gasLimit) || (txData === null || txData === void 0 ? void 0 : txData.gas) || "21000";
14346
14391
  var estimatedFeesWei = BigInt(maxFeePerGas) * BigInt(gasLimit);
14347
14392
  var estimatedFeesEth = (Number(estimatedFeesWei) / 1e18).toFixed(6);
14348
- var cryptoDisplay = ((_sendTransactionRequest_metadata = sendTransactionRequest.metadata) === null || _sendTransactionRequest_metadata === void 0 ? void 0 : _sendTransactionRequest_metadata.estimatedTokens) ? "".concat(ethAmount, " ETH → ").concat(sendTransactionRequest.metadata.estimatedTokens, " ").concat(sendTransactionRequest.metadata.tokenSymbol || "tokens") : "".concat(ethAmount, " ETH");
14393
+ var cryptoDisplay = ((_request_metadata = request.metadata) === null || _request_metadata === void 0 ? void 0 : _request_metadata.estimatedTokens) ? "".concat(ethAmount, " ETH → ").concat(request.metadata.estimatedTokens, " ").concat(request.metadata.tokenSymbol || "tokens") : "".concat(ethAmount, " ETH");
14349
14394
  return /* @__PURE__ */ jsx58(SendEthereumTransactionSuccess, {
14350
14395
  uiConfig: (_options_uiOptions1 = options.uiOptions) === null || _options_uiOptions1 === void 0 ? void 0 : _options_uiOptions1.success,
14351
14396
  transactionSummary: {
14352
- walletAddress: wallet.public_address,
14397
+ walletAddress: requestWallet.public_address,
14353
14398
  totalCrypto: cryptoDisplay,
14354
- totalFiat: ((_sendTransactionRequest_metadata1 = sendTransactionRequest.metadata) === null || _sendTransactionRequest_metadata1 === void 0 ? void 0 : _sendTransactionRequest_metadata1.totalFiat) || "$0.00",
14399
+ totalFiat: ((_request_metadata1 = request.metadata) === null || _request_metadata1 === void 0 ? void 0 : _request_metadata1.totalFiat) || "$0.00",
14355
14400
  fees: "".concat(estimatedFeesEth, " ETH"),
14356
- network: sendTransactionRequest.network || "Ethereum Mainnet"
14401
+ network: request.network || "Ethereum Mainnet"
14357
14402
  },
14358
14403
  config: config
14359
14404
  });
@@ -14498,7 +14543,7 @@ var SendTransaction = function SendTransaction(param) {
14498
14543
  console.error("Failed to get confirm transaction:", error2 || "Unknown error");
14499
14544
  };
14500
14545
  return /* @__PURE__ */ jsx59("div", {
14501
- className: "moonkey-flow-overlay",
14546
+ className: "moonx-flow-overlay",
14502
14547
  children: /* @__PURE__ */ jsxs48(RootCard, {
14503
14548
  centerContent: false,
14504
14549
  isDark: isDark,
@@ -14506,35 +14551,35 @@ var SendTransaction = function SendTransaction(param) {
14506
14551
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
14507
14552
  children: [
14508
14553
  /* @__PURE__ */ jsx59("div", {
14509
- className: "moonkey-flow-close",
14554
+ className: "moonx-flow-close",
14510
14555
  children: /* @__PURE__ */ jsx59(Button, {
14511
14556
  variant: "ghost",
14512
14557
  size: "icon",
14513
14558
  onClick: onCancel,
14514
14559
  children: /* @__PURE__ */ jsx59(X14, {
14515
- className: "moonkey-icon--sm"
14560
+ className: "moonx-icon--sm"
14516
14561
  })
14517
14562
  })
14518
14563
  }),
14519
14564
  /* @__PURE__ */ jsxs48("div", {
14520
- className: "moonkey-flow-header",
14565
+ className: "moonx-flow-header",
14521
14566
  style: {
14522
14567
  marginTop: "1rem"
14523
14568
  },
14524
14569
  children: [
14525
14570
  /* @__PURE__ */ jsx59("div", {
14526
- className: "moonkey-flow-logo",
14571
+ className: "moonx-flow-logo",
14527
14572
  children: /* @__PURE__ */ jsx59(AppLogo, {
14528
14573
  appConfig: appConfig,
14529
- className: "moonkey-icon--lg"
14574
+ className: "moonx-icon--lg"
14530
14575
  })
14531
14576
  }),
14532
14577
  /* @__PURE__ */ jsx59("div", {
14533
- className: "moonkey-label",
14578
+ className: "moonx-label",
14534
14579
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.title) || t("sendTransaction.confirmTransaction")
14535
14580
  }),
14536
14581
  /* @__PURE__ */ jsx59("div", {
14537
- className: "moonkey-text--secondary",
14582
+ className: "moonx-text--secondary",
14538
14583
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.description) || t("sendTransaction.wantsPermission", {
14539
14584
  companyName: appConfig === null || appConfig === void 0 ? void 0 : appConfig.name
14540
14585
  })
@@ -14542,7 +14587,7 @@ var SendTransaction = function SendTransaction(param) {
14542
14587
  ]
14543
14588
  }),
14544
14589
  isLoadingError ? /* @__PURE__ */ jsxs48("div", {
14545
- className: "moonkey-flex-col-center moonkey-text--center",
14590
+ className: "moonx-flex-col-center moonx-text--center",
14546
14591
  style: {
14547
14592
  marginTop: "2rem",
14548
14593
  gap: "0.5rem"
@@ -14550,17 +14595,17 @@ var SendTransaction = function SendTransaction(param) {
14550
14595
  children: [
14551
14596
  /* @__PURE__ */ jsx59("div", {
14552
14597
  children: /* @__PURE__ */ jsx59(XCircle4, {
14553
- className: "moonkey-icon--lg moonkey-icon--error"
14598
+ className: "moonx-icon--lg moonx-icon--error"
14554
14599
  })
14555
14600
  }),
14556
14601
  /* @__PURE__ */ jsxs48("div", {
14557
14602
  children: [
14558
14603
  /* @__PURE__ */ jsx59("div", {
14559
- className: "moonkey-label",
14604
+ className: "moonx-label",
14560
14605
  children: "Error detected"
14561
14606
  }),
14562
14607
  /* @__PURE__ */ jsx59("div", {
14563
- className: "moonkey-text--secondary",
14608
+ className: "moonx-text--secondary",
14564
14609
  style: {
14565
14610
  marginTop: "1rem"
14566
14611
  },
@@ -14570,15 +14615,15 @@ var SendTransaction = function SendTransaction(param) {
14570
14615
  })
14571
14616
  ]
14572
14617
  }) : /* @__PURE__ */ jsx59("div", {
14573
- className: "moonkey-flex-col",
14618
+ className: "moonx-flex-col",
14574
14619
  style: {
14575
14620
  marginTop: "1rem"
14576
14621
  },
14577
14622
  children: /* @__PURE__ */ jsxs48("div", {
14578
- className: "moonkey-detail-card__rows",
14623
+ className: "moonx-detail-card__rows",
14579
14624
  children: [
14580
14625
  /* @__PURE__ */ jsxs48("div", {
14581
- className: "moonkey-flex-col",
14626
+ className: "moonx-flex-col",
14582
14627
  style: {
14583
14628
  paddingLeft: "0.5rem",
14584
14629
  paddingRight: "0.5rem",
@@ -14593,7 +14638,7 @@ var SendTransaction = function SendTransaction(param) {
14593
14638
  /* @__PURE__ */ jsx59(DetailRow, {
14594
14639
  label: formatAddress(walletAddress, 8, 8),
14595
14640
  value: isLoadingConfirm ? /* @__PURE__ */ jsx59("div", {
14596
- className: "moonkey-skeleton",
14641
+ className: "moonx-skeleton",
14597
14642
  style: {
14598
14643
  height: "1rem",
14599
14644
  width: "4rem"
@@ -14620,7 +14665,7 @@ var SendTransaction = function SendTransaction(param) {
14620
14665
  children: /* @__PURE__ */ jsx59(DetailRow, {
14621
14666
  label: t("sendTransaction.estimatedFee"),
14622
14667
  value: isLoadingConfirm ? /* @__PURE__ */ jsx59("div", {
14623
- className: "moonkey-skeleton",
14668
+ className: "moonx-skeleton",
14624
14669
  style: {
14625
14670
  height: "1rem",
14626
14671
  width: "4rem"
@@ -14646,10 +14691,10 @@ var SendTransaction = function SendTransaction(param) {
14646
14691
  },
14647
14692
  children: [
14648
14693
  /* @__PURE__ */ jsx59(ListCheck2, {
14649
- className: "moonkey-icon--sm"
14694
+ className: "moonx-icon--sm"
14650
14695
  }),
14651
14696
  /* @__PURE__ */ jsx59("span", {
14652
- className: "moonkey-label",
14697
+ className: "moonx-label",
14653
14698
  children: isLoadingConfirm ? t("common.loading") : t("sendTransaction.viewAdvancedDetails")
14654
14699
  })
14655
14700
  ]
@@ -14659,9 +14704,9 @@ var SendTransaction = function SendTransaction(param) {
14659
14704
  })
14660
14705
  }),
14661
14706
  /* @__PURE__ */ jsx59("div", {
14662
- className: "moonkey-flow-footer",
14707
+ className: "moonx-flow-footer",
14663
14708
  children: /* @__PURE__ */ jsxs48("div", {
14664
- className: "moonkey-flow-footer__actions",
14709
+ className: "moonx-flow-footer__actions",
14665
14710
  children: [
14666
14711
  /* @__PURE__ */ jsx59(Button, {
14667
14712
  variant: "outline",
@@ -14689,7 +14734,7 @@ function SendTransactionFailed(param) {
14689
14734
  var t = useTranslation().t;
14690
14735
  var isDark = propsIsDark !== void 0 ? propsIsDark : isDarkMode(config === null || config === void 0 ? void 0 : (_config_config = config.config) === null || _config_config === void 0 ? void 0 : _config_config.theme, config === null || config === void 0 ? void 0 : (_config_config1 = config.config) === null || _config_config1 === void 0 ? void 0 : (_config_config_appearance = _config_config1.appearance) === null || _config_config_appearance === void 0 ? void 0 : _config_config_appearance.displayMode, config === null || config === void 0 ? void 0 : (_config_config2 = config.config) === null || _config_config2 === void 0 ? void 0 : (_config_config_appearance1 = _config_config2.appearance) === null || _config_config_appearance1 === void 0 ? void 0 : _config_config_appearance1.backgroundColor);
14691
14736
  return /* @__PURE__ */ jsx60("div", {
14692
- className: "moonkey-flow-overlay",
14737
+ className: "moonx-flow-overlay",
14693
14738
  children: /* @__PURE__ */ jsxs49(RootCard, {
14694
14739
  centerContent: false,
14695
14740
  isDark: isDark,
@@ -14697,42 +14742,42 @@ function SendTransactionFailed(param) {
14697
14742
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
14698
14743
  children: [
14699
14744
  /* @__PURE__ */ jsx60("div", {
14700
- className: "moonkey-flow-close",
14745
+ className: "moonx-flow-close",
14701
14746
  children: /* @__PURE__ */ jsx60(Button, {
14702
14747
  variant: "ghost",
14703
14748
  size: "icon",
14704
14749
  onClick: onClose,
14705
14750
  children: /* @__PURE__ */ jsx60(X15, {
14706
- className: "moonkey-icon--md"
14751
+ className: "moonx-icon--md"
14707
14752
  })
14708
14753
  })
14709
14754
  }),
14710
14755
  /* @__PURE__ */ jsx60("div", {
14711
- className: "moonkey-flex-center",
14756
+ className: "moonx-flex-center",
14712
14757
  children: /* @__PURE__ */ jsx60("div", {
14713
14758
  style: {
14714
- animation: "moonkey-error-bounce 0.8s ease-out 0.1s both"
14759
+ animation: "moonx-error-bounce 0.8s ease-out 0.1s both"
14715
14760
  },
14716
14761
  children: /* @__PURE__ */ jsx60(XCircle5, {
14717
- className: "moonkey-icon--2xl moonkey-icon--error"
14762
+ className: "moonx-icon--2xl moonx-icon--error"
14718
14763
  })
14719
14764
  })
14720
14765
  }),
14721
14766
  /* @__PURE__ */ jsx60("div", {
14722
- className: "moonkey-text--heading",
14767
+ className: "moonx-text--heading",
14723
14768
  style: {
14724
14769
  paddingTop: "2rem"
14725
14770
  },
14726
14771
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.title) || t("sendTransaction.failure.transactionFailed")
14727
14772
  }),
14728
14773
  /* @__PURE__ */ jsx60("div", {
14729
- className: "moonkey-text--center",
14774
+ className: "moonx-text--center",
14730
14775
  style: {
14731
14776
  paddingLeft: "0.5rem",
14732
14777
  paddingRight: "0.5rem"
14733
14778
  },
14734
14779
  children: /* @__PURE__ */ jsx60("div", {
14735
- className: "moonkey-text--secondary moonkey-text--semibold",
14780
+ className: "moonx-text--secondary moonx-text--semibold",
14736
14781
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.description) || t("sendTransaction.failure.transactionFailedDescription")
14737
14782
  })
14738
14783
  }),
@@ -14743,14 +14788,14 @@ function SendTransactionFailed(param) {
14743
14788
  marginTop: "1.5rem"
14744
14789
  },
14745
14790
  children: /* @__PURE__ */ jsx60("div", {
14746
- className: "moonkey-text--sm moonkey-text--semibold",
14791
+ className: "moonx-text--sm moonx-text--semibold",
14747
14792
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.errorTitle) || t("sendTransaction.failure.transactionFailedErrorDetails")
14748
14793
  })
14749
14794
  }),
14750
14795
  /* @__PURE__ */ jsx60("div", {
14751
- className: "moonkey-error-scroll",
14796
+ className: "moonx-error-scroll",
14752
14797
  children: /* @__PURE__ */ jsx60("div", {
14753
- className: "moonkey-text--secondary moonkey-text--semibold",
14798
+ className: "moonx-text--secondary moonx-text--semibold",
14754
14799
  style: {
14755
14800
  padding: "0 0.5rem"
14756
14801
  },
@@ -14758,9 +14803,9 @@ function SendTransactionFailed(param) {
14758
14803
  })
14759
14804
  }),
14760
14805
  /* @__PURE__ */ jsx60("div", {
14761
- className: "moonkey-flow-footer",
14806
+ className: "moonx-flow-footer",
14762
14807
  children: /* @__PURE__ */ jsx60("div", {
14763
- className: "moonkey-flow-footer__actions",
14808
+ className: "moonx-flow-footer__actions",
14764
14809
  children: /* @__PURE__ */ jsx60(Button, {
14765
14810
  onClick: onClose,
14766
14811
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.closeButtonText) || t("sendTransaction.failure.transactionFailedRetryTransaction")
@@ -14780,7 +14825,7 @@ function SendTransactionSuccess(param) {
14780
14825
  var t = useTranslation().t;
14781
14826
  var isDark = propsIsDark !== void 0 ? propsIsDark : isDarkMode(config === null || config === void 0 ? void 0 : (_config_config = config.config) === null || _config_config === void 0 ? void 0 : _config_config.theme, config === null || config === void 0 ? void 0 : (_config_config1 = config.config) === null || _config_config1 === void 0 ? void 0 : (_config_config_appearance = _config_config1.appearance) === null || _config_config_appearance === void 0 ? void 0 : _config_config_appearance.displayMode, config === null || config === void 0 ? void 0 : (_config_config2 = config.config) === null || _config_config2 === void 0 ? void 0 : (_config_config_appearance1 = _config_config2.appearance) === null || _config_config_appearance1 === void 0 ? void 0 : _config_config_appearance1.backgroundColor);
14782
14827
  return /* @__PURE__ */ jsx61("div", {
14783
- className: "moonkey-flow-overlay",
14828
+ className: "moonx-flow-overlay",
14784
14829
  children: /* @__PURE__ */ jsxs50(RootCard, {
14785
14830
  centerContent: false,
14786
14831
  isDark: isDark,
@@ -14788,38 +14833,38 @@ function SendTransactionSuccess(param) {
14788
14833
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
14789
14834
  children: [
14790
14835
  /* @__PURE__ */ jsx61("div", {
14791
- className: "moonkey-flex-center",
14836
+ className: "moonx-flex-center",
14792
14837
  children: /* @__PURE__ */ jsx61("div", {
14793
14838
  style: {
14794
- animation: "moonkey-success-bounce 0.8s ease-out 0.1s both"
14839
+ animation: "moonx-success-bounce 0.8s ease-out 0.1s both"
14795
14840
  },
14796
14841
  children: /* @__PURE__ */ jsx61(CheckCircle26, {
14797
- className: "moonkey-icon--2xl moonkey-icon--success"
14842
+ className: "moonx-icon--2xl moonx-icon--success"
14798
14843
  })
14799
14844
  })
14800
14845
  }),
14801
14846
  /* @__PURE__ */ jsx61("div", {
14802
- className: "moonkey-text--heading",
14847
+ className: "moonx-text--heading",
14803
14848
  style: {
14804
14849
  paddingTop: "2rem"
14805
14850
  },
14806
14851
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.title) || t("sendTransaction.success.transactionComplete")
14807
14852
  }),
14808
14853
  /* @__PURE__ */ jsx61("div", {
14809
- className: "moonkey-text--center",
14854
+ className: "moonx-text--center",
14810
14855
  style: {
14811
14856
  paddingLeft: "0.5rem",
14812
14857
  paddingRight: "0.5rem"
14813
14858
  },
14814
14859
  children: /* @__PURE__ */ jsx61("div", {
14815
- className: "moonkey-text--secondary moonkey-text--semibold",
14860
+ className: "moonx-text--secondary moonx-text--semibold",
14816
14861
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.description) || t("sendTransaction.success.transactionCompleteDescription")
14817
14862
  })
14818
14863
  }),
14819
14864
  /* @__PURE__ */ jsx61("div", {
14820
- className: "moonkey-detail-card",
14865
+ className: "moonx-detail-card",
14821
14866
  children: /* @__PURE__ */ jsxs50("div", {
14822
- className: "moonkey-detail-card__rows",
14867
+ className: "moonx-detail-card__rows",
14823
14868
  children: [
14824
14869
  /* @__PURE__ */ jsx61(DetailRow, {
14825
14870
  label: t("sendTransaction.success.transactionCompleteNetwork"),
@@ -14831,7 +14876,7 @@ function SendTransactionSuccess(param) {
14831
14876
  /* @__PURE__ */ jsx61(DetailRow, {
14832
14877
  label: t("sendTransaction.success.transactionCompleteTotal"),
14833
14878
  value: /* @__PURE__ */ jsxs50("div", {
14834
- className: "moonkey-flex-col",
14879
+ className: "moonx-flex-col",
14835
14880
  style: {
14836
14881
  textAlign: "right"
14837
14882
  },
@@ -14840,7 +14885,7 @@ function SendTransactionSuccess(param) {
14840
14885
  children: transactionSummary.totalFiat
14841
14886
  }),
14842
14887
  /* @__PURE__ */ jsx61("span", {
14843
- className: "moonkey-text--secondary",
14888
+ className: "moonx-text--secondary",
14844
14889
  children: transactionSummary.totalCrypto
14845
14890
  })
14846
14891
  ]
@@ -14966,7 +15011,7 @@ function SimulateTransactionDetails(param) {
14966
15011
  if (loading) {
14967
15012
  var _config_config5, _config_config6;
14968
15013
  return /* @__PURE__ */ jsx62("div", {
14969
- className: "moonkey-flow-overlay",
15014
+ className: "moonx-flow-overlay",
14970
15015
  children: /* @__PURE__ */ jsx62(RootCard, {
14971
15016
  centerContent: false,
14972
15017
  isDark: isDark,
@@ -14978,7 +15023,7 @@ function SimulateTransactionDetails(param) {
14978
15023
  textAlign: "center"
14979
15024
  },
14980
15025
  children: /* @__PURE__ */ jsx62("div", {
14981
- className: "moonkey-text--secondary",
15026
+ className: "moonx-text--secondary",
14982
15027
  children: "Loading transaction details..."
14983
15028
  })
14984
15029
  })
@@ -14988,7 +15033,7 @@ function SimulateTransactionDetails(param) {
14988
15033
  if (error) {
14989
15034
  var _config_config7, _config_config8;
14990
15035
  return /* @__PURE__ */ jsx62("div", {
14991
- className: "moonkey-flow-overlay",
15036
+ className: "moonx-flow-overlay",
14992
15037
  children: /* @__PURE__ */ jsxs51(RootCard, {
14993
15038
  centerContent: false,
14994
15039
  isDark: isDark,
@@ -14996,18 +15041,18 @@ function SimulateTransactionDetails(param) {
14996
15041
  appearance: config === null || config === void 0 ? void 0 : (_config_config8 = config.config) === null || _config_config8 === void 0 ? void 0 : _config_config8.appearance,
14997
15042
  children: [
14998
15043
  /* @__PURE__ */ jsx62("div", {
14999
- className: "moonkey-flow-close",
15044
+ className: "moonx-flow-close",
15000
15045
  children: /* @__PURE__ */ jsx62(Button, {
15001
15046
  variant: "ghost",
15002
15047
  size: "icon",
15003
15048
  onClick: onClose,
15004
15049
  children: /* @__PURE__ */ jsx62(X16, {
15005
- className: "moonkey-icon--md"
15050
+ className: "moonx-icon--md"
15006
15051
  })
15007
15052
  })
15008
15053
  }),
15009
15054
  /* @__PURE__ */ jsxs51("div", {
15010
- className: "moonkey-flex-col-center moonkey-text--center",
15055
+ className: "moonx-flex-col-center moonx-text--center",
15011
15056
  style: {
15012
15057
  padding: "2rem",
15013
15058
  gap: "1rem",
@@ -15019,7 +15064,7 @@ function SimulateTransactionDetails(param) {
15019
15064
  width: "3rem",
15020
15065
  height: "3rem",
15021
15066
  borderRadius: "50%",
15022
- backgroundColor: "var(--moonkey-color-error)",
15067
+ backgroundColor: "var(--moonx-color-error)",
15023
15068
  opacity: 0.1,
15024
15069
  display: "flex",
15025
15070
  alignItems: "center",
@@ -15028,7 +15073,7 @@ function SimulateTransactionDetails(param) {
15028
15073
  },
15029
15074
  children: /* @__PURE__ */ jsx62("div", {
15030
15075
  style: {
15031
- color: "var(--moonkey-color-error)",
15076
+ color: "var(--moonx-color-error)",
15032
15077
  fontSize: "1.5rem",
15033
15078
  fontWeight: "bold"
15034
15079
  },
@@ -15042,7 +15087,7 @@ function SimulateTransactionDetails(param) {
15042
15087
  children: "Unable to Load Transaction"
15043
15088
  }),
15044
15089
  /* @__PURE__ */ jsx62("div", {
15045
- className: "moonkey-text--secondary",
15090
+ className: "moonx-text--secondary",
15046
15091
  style: {
15047
15092
  marginBottom: "1rem",
15048
15093
  maxWidth: "300px"
@@ -15052,9 +15097,9 @@ function SimulateTransactionDetails(param) {
15052
15097
  ]
15053
15098
  }),
15054
15099
  /* @__PURE__ */ jsx62("div", {
15055
- className: "moonkey-flow-footer",
15100
+ className: "moonx-flow-footer",
15056
15101
  children: /* @__PURE__ */ jsx62("div", {
15057
- className: "moonkey-flow-footer__actions",
15102
+ className: "moonx-flow-footer__actions",
15058
15103
  children: /* @__PURE__ */ jsx62(Button, {
15059
15104
  onClick: onClose,
15060
15105
  variant: "default",
@@ -15068,7 +15113,7 @@ function SimulateTransactionDetails(param) {
15068
15113
  });
15069
15114
  }
15070
15115
  return /* @__PURE__ */ jsx62("div", {
15071
- className: "moonkey-flow-overlay",
15116
+ className: "moonx-flow-overlay",
15072
15117
  children: /* @__PURE__ */ jsxs51(RootCard, {
15073
15118
  centerContent: false,
15074
15119
  isDark: isDark,
@@ -15076,28 +15121,28 @@ function SimulateTransactionDetails(param) {
15076
15121
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
15077
15122
  children: [
15078
15123
  /* @__PURE__ */ jsx62("div", {
15079
- className: "moonkey-flow-close",
15124
+ className: "moonx-flow-close",
15080
15125
  children: /* @__PURE__ */ jsx62(Button, {
15081
15126
  variant: "ghost",
15082
15127
  size: "icon",
15083
15128
  onClick: onClose,
15084
15129
  children: /* @__PURE__ */ jsx62(X16, {
15085
- className: "moonkey-icon--md"
15130
+ className: "moonx-icon--md"
15086
15131
  })
15087
15132
  })
15088
15133
  }),
15089
15134
  /* @__PURE__ */ jsx62("div", {
15090
- className: "moonkey-flow-header",
15135
+ className: "moonx-flow-header",
15091
15136
  style: {
15092
15137
  marginTop: "1rem"
15093
15138
  },
15094
15139
  children: /* @__PURE__ */ jsx62("div", {
15095
- className: "moonkey-label",
15140
+ className: "moonx-label",
15096
15141
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.title) || t("sendTransaction.advancedTransactionDetails")
15097
15142
  })
15098
15143
  }),
15099
15144
  /* @__PURE__ */ jsx62("div", {
15100
- className: "moonkey-scrollable-list",
15145
+ className: "moonx-scrollable-list",
15101
15146
  style: {
15102
15147
  height: "300px",
15103
15148
  margin: "1rem 0.75rem 0"
@@ -15108,14 +15153,14 @@ function SimulateTransactionDetails(param) {
15108
15153
  },
15109
15154
  children: instructions.map(function(instruction) {
15110
15155
  return /* @__PURE__ */ jsxs51("div", {
15111
- className: "moonkey-flex-col",
15156
+ className: "moonx-flex-col",
15112
15157
  style: {
15113
15158
  justifyContent: "space-between",
15114
15159
  marginBottom: "1rem"
15115
15160
  },
15116
15161
  children: [
15117
15162
  instruction.title && /* @__PURE__ */ jsx62("h3", {
15118
- className: "moonkey-label",
15163
+ className: "moonx-label",
15119
15164
  style: {
15120
15165
  marginBottom: "0.5rem"
15121
15166
  },
@@ -15136,9 +15181,9 @@ function SimulateTransactionDetails(param) {
15136
15181
  })
15137
15182
  }),
15138
15183
  /* @__PURE__ */ jsx62("div", {
15139
- className: "moonkey-flow-footer",
15184
+ className: "moonx-flow-footer",
15140
15185
  children: /* @__PURE__ */ jsx62("div", {
15141
- className: "moonkey-flow-footer__actions",
15186
+ className: "moonx-flow-footer__actions",
15142
15187
  children: /* @__PURE__ */ jsx62(Button, {
15143
15188
  onClick: onClose,
15144
15189
  children: (uiConfig === null || uiConfig === void 0 ? void 0 : uiConfig.closeButtonText) || t("common.close")
@@ -15541,32 +15586,32 @@ var Sign7702Authorization = function Sign7702Authorization(param) {
15541
15586
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
15542
15587
  children: [
15543
15588
  /* @__PURE__ */ jsx64("div", {
15544
- className: "moonkey-flow-close",
15589
+ className: "moonx-flow-close",
15545
15590
  children: /* @__PURE__ */ jsx64(Button, {
15546
15591
  variant: "ghost",
15547
15592
  size: "icon",
15548
15593
  onClick: onCancel,
15549
15594
  children: /* @__PURE__ */ jsx64(X17, {
15550
- className: "moonkey-icon--sm"
15595
+ className: "moonx-icon--sm"
15551
15596
  })
15552
15597
  })
15553
15598
  }),
15554
15599
  /* @__PURE__ */ jsxs52("div", {
15555
- className: "moonkey-flow-header",
15600
+ className: "moonx-flow-header",
15556
15601
  children: [
15557
15602
  /* @__PURE__ */ jsx64("div", {
15558
- className: "moonkey-flow-logo",
15603
+ className: "moonx-flow-logo",
15559
15604
  children: /* @__PURE__ */ jsx64(AppLogo, {
15560
15605
  appConfig: appConfig,
15561
- className: "moonkey-icon--lg"
15606
+ className: "moonx-icon--lg"
15562
15607
  })
15563
15608
  }),
15564
15609
  /* @__PURE__ */ jsx64("div", {
15565
- className: "moonkey-text--heading",
15610
+ className: "moonx-text--heading",
15566
15611
  children: (options === null || options === void 0 ? void 0 : (_options_uiOptions = options.uiOptions) === null || _options_uiOptions === void 0 ? void 0 : _options_uiOptions.title) || t("sign7702Authorization.title")
15567
15612
  }),
15568
15613
  /* @__PURE__ */ jsx64("div", {
15569
- className: "moonkey-text--secondary moonkey-text--semibold",
15614
+ className: "moonx-text--secondary moonx-text--semibold",
15570
15615
  children: (options === null || options === void 0 ? void 0 : (_options_uiOptions1 = options.uiOptions) === null || _options_uiOptions1 === void 0 ? void 0 : _options_uiOptions1.description) || t("sign7702Authorization.description", {
15571
15616
  companyName: appConfig === null || appConfig === void 0 ? void 0 : appConfig.name
15572
15617
  })
@@ -15574,14 +15619,14 @@ var Sign7702Authorization = function Sign7702Authorization(param) {
15574
15619
  ]
15575
15620
  }),
15576
15621
  /* @__PURE__ */ jsxs52("div", {
15577
- className: "moonkey-data-scroll",
15622
+ className: "moonx-data-scroll",
15578
15623
  children: [
15579
15624
  /* @__PURE__ */ jsx64("div", {
15580
- className: "moonkey-sign-section",
15625
+ className: "moonx-sign-section",
15581
15626
  children: /* @__PURE__ */ jsxs52("div", {
15582
15627
  children: [
15583
15628
  /* @__PURE__ */ jsxs52("div", {
15584
- className: "moonkey-sign-row",
15629
+ className: "moonx-sign-row",
15585
15630
  style: {
15586
15631
  marginBottom: "0.5rem"
15587
15632
  },
@@ -15602,14 +15647,14 @@ var Sign7702Authorization = function Sign7702Authorization(param) {
15602
15647
  children: copySuccess ? /* @__PURE__ */ jsxs52(Fragment10, {
15603
15648
  children: [
15604
15649
  /* @__PURE__ */ jsx64(Check2, {
15605
- className: "moonkey-icon--xs moonkey-icon--mr-xs"
15650
+ className: "moonx-icon--xs moonx-icon--mr-xs"
15606
15651
  }),
15607
15652
  t("common.copied")
15608
15653
  ]
15609
15654
  }) : /* @__PURE__ */ jsxs52(Fragment10, {
15610
15655
  children: [
15611
15656
  /* @__PURE__ */ jsx64(Copy2, {
15612
- className: "moonkey-icon--xs moonkey-icon--mr-xs"
15657
+ className: "moonx-icon--xs moonx-icon--mr-xs"
15613
15658
  }),
15614
15659
  t("common.copy")
15615
15660
  ]
@@ -15619,7 +15664,7 @@ var Sign7702Authorization = function Sign7702Authorization(param) {
15619
15664
  }),
15620
15665
  /* @__PURE__ */ jsx64("div", {
15621
15666
  ref: contentRef,
15622
- className: "moonkey-data-preview",
15667
+ className: "moonx-data-preview",
15623
15668
  style: {
15624
15669
  height: "84px",
15625
15670
  overflow: "hidden"
@@ -15630,7 +15675,7 @@ var Sign7702Authorization = function Sign7702Authorization(param) {
15630
15675
  })
15631
15676
  }),
15632
15677
  /* @__PURE__ */ jsx64("div", {
15633
- className: "moonkey-text--secondary moonkey-text--center",
15678
+ className: "moonx-text--secondary moonx-text--center",
15634
15679
  style: {
15635
15680
  marginTop: "150px",
15636
15681
  paddingBottom: "0.5rem"
@@ -15640,9 +15685,9 @@ var Sign7702Authorization = function Sign7702Authorization(param) {
15640
15685
  ]
15641
15686
  }),
15642
15687
  /* @__PURE__ */ jsx64("div", {
15643
- className: "moonkey-flow-footer",
15688
+ className: "moonx-flow-footer",
15644
15689
  children: /* @__PURE__ */ jsxs52("div", {
15645
- className: "moonkey-flow-footer__actions",
15690
+ className: "moonx-flow-footer__actions",
15646
15691
  children: [
15647
15692
  /* @__PURE__ */ jsx64(Button, {
15648
15693
  variant: "outline",
@@ -15658,7 +15703,7 @@ var Sign7702Authorization = function Sign7702Authorization(param) {
15658
15703
  signResult === "success" && /* @__PURE__ */ jsxs52(Fragment10, {
15659
15704
  children: [
15660
15705
  /* @__PURE__ */ jsx64(Check2, {
15661
- className: "moonkey-icon--sm moonkey-icon--mr-xs"
15706
+ className: "moonx-icon--sm moonx-icon--mr-xs"
15662
15707
  }),
15663
15708
  /* @__PURE__ */ jsx64("span", {
15664
15709
  children: t("common.success")
@@ -15668,7 +15713,7 @@ var Sign7702Authorization = function Sign7702Authorization(param) {
15668
15713
  signResult === "error" && /* @__PURE__ */ jsxs52(Fragment10, {
15669
15714
  children: [
15670
15715
  /* @__PURE__ */ jsx64(XCircle6, {
15671
- className: "moonkey-icon--sm moonkey-icon--mr-xs"
15716
+ className: "moonx-icon--sm moonx-icon--mr-xs"
15672
15717
  }),
15673
15718
  /* @__PURE__ */ jsx64("span", {
15674
15719
  children: t("common.failed")
@@ -15901,28 +15946,28 @@ var SignMessage = function SignMessage(param) {
15901
15946
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
15902
15947
  children: [
15903
15948
  /* @__PURE__ */ jsx65("div", {
15904
- className: "moonkey-flow-close",
15949
+ className: "moonx-flow-close",
15905
15950
  children: /* @__PURE__ */ jsx65(Button, {
15906
15951
  variant: "ghost",
15907
15952
  size: "icon",
15908
15953
  onClick: onCancel,
15909
15954
  children: /* @__PURE__ */ jsx65(X18, {
15910
- className: "moonkey-icon--sm"
15955
+ className: "moonx-icon--sm"
15911
15956
  })
15912
15957
  })
15913
15958
  }),
15914
15959
  /* @__PURE__ */ jsxs53("div", {
15915
- className: "moonkey-flow-header",
15960
+ className: "moonx-flow-header",
15916
15961
  children: [
15917
15962
  /* @__PURE__ */ jsx65("div", {
15918
- className: "moonkey-flow-logo",
15963
+ className: "moonx-flow-logo",
15919
15964
  children: /* @__PURE__ */ jsx65(AppLogo, {
15920
15965
  appConfig: appConfig,
15921
- className: "moonkey-icon--lg"
15966
+ className: "moonx-icon--lg"
15922
15967
  })
15923
15968
  }),
15924
15969
  /* @__PURE__ */ jsx65("p", {
15925
- className: "moonkey-text--heading",
15970
+ className: "moonx-text--heading",
15926
15971
  children: (uiOptions === null || uiOptions === void 0 ? void 0 : uiOptions.title) || t("signMessage.title")
15927
15972
  }),
15928
15973
  /* @__PURE__ */ jsx65(Label, {
@@ -15934,7 +15979,7 @@ var SignMessage = function SignMessage(param) {
15934
15979
  ]
15935
15980
  }),
15936
15981
  /* @__PURE__ */ jsx65("div", {
15937
- className: "moonkey-flex-col",
15982
+ className: "moonx-flex-col",
15938
15983
  style: {
15939
15984
  position: "relative"
15940
15985
  },
@@ -15944,7 +15989,7 @@ var SignMessage = function SignMessage(param) {
15944
15989
  },
15945
15990
  children: [
15946
15991
  /* @__PURE__ */ jsxs53("div", {
15947
- className: "moonkey-sign-row",
15992
+ className: "moonx-sign-row",
15948
15993
  style: {
15949
15994
  marginBottom: "0.25rem"
15950
15995
  },
@@ -15973,14 +16018,14 @@ var SignMessage = function SignMessage(param) {
15973
16018
  children: copySuccess ? /* @__PURE__ */ jsxs53(Fragment11, {
15974
16019
  children: [
15975
16020
  /* @__PURE__ */ jsx65(Check3, {
15976
- className: "moonkey-icon--xs moonkey-icon--mr-xs"
16021
+ className: "moonx-icon--xs moonx-icon--mr-xs"
15977
16022
  }),
15978
16023
  t("common.copied")
15979
16024
  ]
15980
16025
  }) : /* @__PURE__ */ jsxs53(Fragment11, {
15981
16026
  children: [
15982
16027
  /* @__PURE__ */ jsx65(Copy3, {
15983
- className: "moonkey-icon--xs moonkey-icon--mr-xs"
16028
+ className: "moonx-icon--xs moonx-icon--mr-xs"
15984
16029
  }),
15985
16030
  t("common.copy")
15986
16031
  ]
@@ -15990,7 +16035,7 @@ var SignMessage = function SignMessage(param) {
15990
16035
  }),
15991
16036
  /* @__PURE__ */ jsx65("div", {
15992
16037
  ref: contentRef,
15993
- className: "moonkey-box moonkey-box--scrollable",
16038
+ className: "moonx-box moonx-box--scrollable",
15994
16039
  style: {
15995
16040
  height: "210px"
15996
16041
  },
@@ -16000,9 +16045,9 @@ var SignMessage = function SignMessage(param) {
16000
16045
  })
16001
16046
  }),
16002
16047
  /* @__PURE__ */ jsx65("div", {
16003
- className: "moonkey-flow-footer",
16048
+ className: "moonx-flow-footer",
16004
16049
  children: /* @__PURE__ */ jsx65("div", {
16005
- className: "moonkey-flow-footer__actions",
16050
+ className: "moonx-flow-footer__actions",
16006
16051
  children: /* @__PURE__ */ jsxs53(Button, {
16007
16052
  state: isSigning ? "loading" : signResult === "success" ? "success" : signResult === "error" ? "error" : void 0,
16008
16053
  disabled: isSigning || signResult === "success",
@@ -16016,7 +16061,7 @@ var SignMessage = function SignMessage(param) {
16016
16061
  },
16017
16062
  children: [
16018
16063
  /* @__PURE__ */ jsx65(Check3, {
16019
- className: "moonkey-icon--sm moonkey-icon--mr-sm"
16064
+ className: "moonx-icon--sm moonx-icon--mr-sm"
16020
16065
  }),
16021
16066
  t("common.signed")
16022
16067
  ]
@@ -16029,7 +16074,7 @@ var SignMessage = function SignMessage(param) {
16029
16074
  },
16030
16075
  children: [
16031
16076
  /* @__PURE__ */ jsx65(XCircle7, {
16032
- className: "moonkey-icon--sm moonkey-icon--mr-sm"
16077
+ className: "moonx-icon--sm moonx-icon--mr-sm"
16033
16078
  }),
16034
16079
  t("common.failed")
16035
16080
  ]
@@ -16223,32 +16268,32 @@ var SignTransaction = function SignTransaction(param) {
16223
16268
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
16224
16269
  children: [
16225
16270
  /* @__PURE__ */ jsx66("div", {
16226
- className: "moonkey-flow-close",
16271
+ className: "moonx-flow-close",
16227
16272
  children: /* @__PURE__ */ jsx66(Button, {
16228
16273
  variant: "ghost",
16229
16274
  size: "icon",
16230
16275
  onClick: onCancel,
16231
16276
  children: /* @__PURE__ */ jsx66(X19, {
16232
- className: "moonkey-icon--sm"
16277
+ className: "moonx-icon--sm"
16233
16278
  })
16234
16279
  })
16235
16280
  }),
16236
16281
  /* @__PURE__ */ jsxs54("div", {
16237
- className: "moonkey-flow-header",
16282
+ className: "moonx-flow-header",
16238
16283
  children: [
16239
16284
  /* @__PURE__ */ jsx66("div", {
16240
- className: "moonkey-flow-logo",
16285
+ className: "moonx-flow-logo",
16241
16286
  children: /* @__PURE__ */ jsx66(AppLogo, {
16242
16287
  appConfig: appConfig,
16243
- className: "moonkey-icon--lg"
16288
+ className: "moonx-icon--lg"
16244
16289
  })
16245
16290
  }),
16246
16291
  /* @__PURE__ */ jsx66("div", {
16247
- className: "moonkey-text--heading",
16292
+ className: "moonx-text--heading",
16248
16293
  children: (options === null || options === void 0 ? void 0 : (_options_uiOptions = options.uiOptions) === null || _options_uiOptions === void 0 ? void 0 : _options_uiOptions.title) || t("signTransaction.title")
16249
16294
  }),
16250
16295
  /* @__PURE__ */ jsx66("div", {
16251
- className: "moonkey-text--secondary moonkey-text--semibold",
16296
+ className: "moonx-text--secondary moonx-text--semibold",
16252
16297
  children: (options === null || options === void 0 ? void 0 : (_options_uiOptions1 = options.uiOptions) === null || _options_uiOptions1 === void 0 ? void 0 : _options_uiOptions1.description) || t("signTransaction.description", {
16253
16298
  companyName: appConfig === null || appConfig === void 0 ? void 0 : appConfig.name
16254
16299
  })
@@ -16256,24 +16301,24 @@ var SignTransaction = function SignTransaction(param) {
16256
16301
  ]
16257
16302
  }),
16258
16303
  /* @__PURE__ */ jsxs54("div", {
16259
- className: "moonkey-data-scroll",
16304
+ className: "moonx-data-scroll",
16260
16305
  children: [
16261
16306
  /* @__PURE__ */ jsx66("div", {
16262
- className: "moonkey-sign-section",
16307
+ className: "moonx-sign-section",
16263
16308
  children: /* @__PURE__ */ jsxs54("div", {
16264
16309
  children: [
16265
16310
  /* @__PURE__ */ jsxs54("div", {
16266
- className: "moonkey-sign-row",
16311
+ className: "moonx-sign-row",
16267
16312
  children: [
16268
16313
  /* @__PURE__ */ jsxs54("div", {
16269
- className: "moonkey-expand-toggle",
16314
+ className: "moonx-expand-toggle",
16270
16315
  onClick: handleToggle,
16271
16316
  children: [
16272
16317
  /* @__PURE__ */ jsx66(Label, {
16273
16318
  children: t("signTransaction.transaction")
16274
16319
  }),
16275
16320
  /* @__PURE__ */ jsx66(ChevronRight, {
16276
- className: "moonkey-icon--sm",
16321
+ className: "moonx-icon--sm",
16277
16322
  style: {
16278
16323
  marginLeft: "0.5rem",
16279
16324
  transition: "transform 0.2s ease-in-out",
@@ -16291,19 +16336,19 @@ var SignTransaction = function SignTransaction(param) {
16291
16336
  paddingLeft: "0.5rem",
16292
16337
  paddingRight: "0.5rem",
16293
16338
  fontSize: "0.75rem",
16294
- color: copySuccess ? "var(--moonkey-color-success)" : "var(--moonkey-color-foreground-3)"
16339
+ color: copySuccess ? "var(--moonx-color-success)" : "var(--moonx-color-foreground-3)"
16295
16340
  },
16296
16341
  children: copySuccess ? /* @__PURE__ */ jsxs54(Fragment12, {
16297
16342
  children: [
16298
16343
  /* @__PURE__ */ jsx66(Copy4, {
16299
- className: "moonkey-icon--xs moonkey-icon--mr-xs"
16344
+ className: "moonx-icon--xs moonx-icon--mr-xs"
16300
16345
  }),
16301
16346
  t("common.copied")
16302
16347
  ]
16303
16348
  }) : /* @__PURE__ */ jsxs54(Fragment12, {
16304
16349
  children: [
16305
16350
  /* @__PURE__ */ jsx66(Check4, {
16306
- className: "moonkey-icon--xs moonkey-icon--mr-xs"
16351
+ className: "moonx-icon--xs moonx-icon--mr-xs"
16307
16352
  }),
16308
16353
  t("common.copy")
16309
16354
  ]
@@ -16313,7 +16358,7 @@ var SignTransaction = function SignTransaction(param) {
16313
16358
  }),
16314
16359
  /* @__PURE__ */ jsx66("div", {
16315
16360
  ref: contentRef,
16316
- className: "moonkey-data-preview",
16361
+ className: "moonx-data-preview",
16317
16362
  style: {
16318
16363
  height: isExpanded ? "auto" : "84px",
16319
16364
  overflow: isExpanded ? "visible" : "hidden"
@@ -16324,7 +16369,7 @@ var SignTransaction = function SignTransaction(param) {
16324
16369
  })
16325
16370
  }),
16326
16371
  /* @__PURE__ */ jsx66("div", {
16327
- className: "moonkey-text--secondary moonkey-text--center",
16372
+ className: "moonx-text--secondary moonx-text--center",
16328
16373
  style: {
16329
16374
  marginTop: isExpanded ? "1rem" : "150px",
16330
16375
  paddingTop: isExpanded ? "1rem" : 0,
@@ -16335,9 +16380,9 @@ var SignTransaction = function SignTransaction(param) {
16335
16380
  ]
16336
16381
  }),
16337
16382
  /* @__PURE__ */ jsx66("div", {
16338
- className: "moonkey-flow-footer",
16383
+ className: "moonx-flow-footer",
16339
16384
  children: /* @__PURE__ */ jsxs54("div", {
16340
- className: "moonkey-flow-footer__actions",
16385
+ className: "moonx-flow-footer__actions",
16341
16386
  children: [
16342
16387
  /* @__PURE__ */ jsx66(Button, {
16343
16388
  variant: "outline",
@@ -16353,7 +16398,7 @@ var SignTransaction = function SignTransaction(param) {
16353
16398
  signResult === "success" && /* @__PURE__ */ jsxs54(Fragment12, {
16354
16399
  children: [
16355
16400
  /* @__PURE__ */ jsx66(Check4, {
16356
- className: "moonkey-icon--sm moonkey-icon--mr-xs"
16401
+ className: "moonx-icon--sm moonx-icon--mr-xs"
16357
16402
  }),
16358
16403
  /* @__PURE__ */ jsx66("span", {
16359
16404
  children: t("common.success")
@@ -16363,7 +16408,7 @@ var SignTransaction = function SignTransaction(param) {
16363
16408
  signResult === "error" && /* @__PURE__ */ jsxs54(Fragment12, {
16364
16409
  children: [
16365
16410
  /* @__PURE__ */ jsx66(XCircle8, {
16366
- className: "moonkey-icon--sm moonkey-icon--mr-xs"
16411
+ className: "moonx-icon--sm moonx-icon--mr-xs"
16367
16412
  }),
16368
16413
  /* @__PURE__ */ jsx66("span", {
16369
16414
  children: t("common.failed")
@@ -16569,32 +16614,32 @@ var SignTypedData = function SignTypedData(param) {
16569
16614
  appearance: config === null || config === void 0 ? void 0 : (_config_config4 = config.config) === null || _config_config4 === void 0 ? void 0 : _config_config4.appearance,
16570
16615
  children: [
16571
16616
  /* @__PURE__ */ jsx67("div", {
16572
- className: "moonkey-flow-close",
16617
+ className: "moonx-flow-close",
16573
16618
  children: /* @__PURE__ */ jsx67(Button, {
16574
16619
  variant: "ghost",
16575
16620
  size: "icon",
16576
16621
  onClick: onCancel,
16577
16622
  children: /* @__PURE__ */ jsx67(X20, {
16578
- className: "moonkey-icon--sm"
16623
+ className: "moonx-icon--sm"
16579
16624
  })
16580
16625
  })
16581
16626
  }),
16582
16627
  /* @__PURE__ */ jsxs55("div", {
16583
- className: "moonkey-flow-header",
16628
+ className: "moonx-flow-header",
16584
16629
  children: [
16585
16630
  /* @__PURE__ */ jsx67("div", {
16586
- className: "moonkey-flow-logo",
16631
+ className: "moonx-flow-logo",
16587
16632
  children: /* @__PURE__ */ jsx67(AppLogo, {
16588
16633
  appConfig: appConfig,
16589
- className: "moonkey-icon--lg"
16634
+ className: "moonx-icon--lg"
16590
16635
  })
16591
16636
  }),
16592
16637
  /* @__PURE__ */ jsx67("div", {
16593
- className: "moonkey-text--heading",
16638
+ className: "moonx-text--heading",
16594
16639
  children: (options === null || options === void 0 ? void 0 : (_options_uiOptions = options.uiOptions) === null || _options_uiOptions === void 0 ? void 0 : _options_uiOptions.title) || t("signTypedData.title")
16595
16640
  }),
16596
16641
  /* @__PURE__ */ jsx67("div", {
16597
- className: "moonkey-text--secondary moonkey-text--semibold",
16642
+ className: "moonx-text--secondary moonx-text--semibold",
16598
16643
  children: (options === null || options === void 0 ? void 0 : (_options_uiOptions1 = options.uiOptions) === null || _options_uiOptions1 === void 0 ? void 0 : _options_uiOptions1.description) || t("signTypedData.description", {
16599
16644
  companyName: appConfig === null || appConfig === void 0 ? void 0 : appConfig.name
16600
16645
  })
@@ -16602,24 +16647,24 @@ var SignTypedData = function SignTypedData(param) {
16602
16647
  ]
16603
16648
  }),
16604
16649
  /* @__PURE__ */ jsxs55("div", {
16605
- className: "moonkey-data-scroll",
16650
+ className: "moonx-data-scroll",
16606
16651
  children: [
16607
16652
  /* @__PURE__ */ jsx67("div", {
16608
- className: "moonkey-sign-section",
16653
+ className: "moonx-sign-section",
16609
16654
  children: /* @__PURE__ */ jsxs55("div", {
16610
16655
  children: [
16611
16656
  /* @__PURE__ */ jsxs55("div", {
16612
- className: "moonkey-sign-row",
16657
+ className: "moonx-sign-row",
16613
16658
  children: [
16614
16659
  /* @__PURE__ */ jsxs55("div", {
16615
- className: "moonkey-expand-toggle",
16660
+ className: "moonx-expand-toggle",
16616
16661
  onClick: handleToggle,
16617
16662
  children: [
16618
16663
  /* @__PURE__ */ jsx67(Label, {
16619
16664
  children: t("signTransaction.transaction")
16620
16665
  }),
16621
16666
  /* @__PURE__ */ jsx67(ChevronRight2, {
16622
- className: "moonkey-icon--sm",
16667
+ className: "moonx-icon--sm",
16623
16668
  style: {
16624
16669
  marginLeft: "0.5rem",
16625
16670
  transition: "transform 0.2s ease-in-out",
@@ -16637,19 +16682,19 @@ var SignTypedData = function SignTypedData(param) {
16637
16682
  paddingLeft: "0.5rem",
16638
16683
  paddingRight: "0.5rem",
16639
16684
  fontSize: "0.75rem",
16640
- color: copySuccess ? "var(--moonkey-color-success)" : "var(--moonkey-color-foreground-3)"
16685
+ color: copySuccess ? "var(--moonx-color-success)" : "var(--moonx-color-foreground-3)"
16641
16686
  },
16642
16687
  children: copySuccess ? /* @__PURE__ */ jsxs55(Fragment13, {
16643
16688
  children: [
16644
16689
  /* @__PURE__ */ jsx67(Check5, {
16645
- className: "moonkey-icon--xs moonkey-icon--mr-xs"
16690
+ className: "moonx-icon--xs moonx-icon--mr-xs"
16646
16691
  }),
16647
16692
  t("common.copied")
16648
16693
  ]
16649
16694
  }) : /* @__PURE__ */ jsxs55(Fragment13, {
16650
16695
  children: [
16651
16696
  /* @__PURE__ */ jsx67(Copy5, {
16652
- className: "moonkey-icon--xs moonkey-icon--mr-xs"
16697
+ className: "moonx-icon--xs moonx-icon--mr-xs"
16653
16698
  }),
16654
16699
  t("common.copy")
16655
16700
  ]
@@ -16659,7 +16704,7 @@ var SignTypedData = function SignTypedData(param) {
16659
16704
  }),
16660
16705
  /* @__PURE__ */ jsx67("div", {
16661
16706
  ref: contentRef,
16662
- className: "moonkey-data-preview",
16707
+ className: "moonx-data-preview",
16663
16708
  style: {
16664
16709
  height: isExpanded ? "auto" : "84px",
16665
16710
  overflow: isExpanded ? "visible" : "hidden"
@@ -16670,7 +16715,7 @@ var SignTypedData = function SignTypedData(param) {
16670
16715
  })
16671
16716
  }),
16672
16717
  /* @__PURE__ */ jsx67("div", {
16673
- className: "moonkey-text--secondary moonkey-text--center",
16718
+ className: "moonx-text--secondary moonx-text--center",
16674
16719
  style: {
16675
16720
  marginTop: isExpanded ? "1rem" : "150px",
16676
16721
  paddingTop: isExpanded ? "1rem" : 0,
@@ -16681,9 +16726,9 @@ var SignTypedData = function SignTypedData(param) {
16681
16726
  ]
16682
16727
  }),
16683
16728
  /* @__PURE__ */ jsx67("div", {
16684
- className: "moonkey-flow-footer",
16729
+ className: "moonx-flow-footer",
16685
16730
  children: /* @__PURE__ */ jsxs55("div", {
16686
- className: "moonkey-flow-footer__actions",
16731
+ className: "moonx-flow-footer__actions",
16687
16732
  children: [
16688
16733
  /* @__PURE__ */ jsx67(Button, {
16689
16734
  variant: "outline",
@@ -16699,7 +16744,7 @@ var SignTypedData = function SignTypedData(param) {
16699
16744
  signResult === "success" && /* @__PURE__ */ jsxs55(Fragment13, {
16700
16745
  children: [
16701
16746
  /* @__PURE__ */ jsx67(Check5, {
16702
- className: "moonkey-icon--sm moonkey-icon--mr-xs"
16747
+ className: "moonx-icon--sm moonx-icon--mr-xs"
16703
16748
  }),
16704
16749
  /* @__PURE__ */ jsx67("span", {
16705
16750
  children: t("common.success")
@@ -16709,7 +16754,7 @@ var SignTypedData = function SignTypedData(param) {
16709
16754
  signResult === "error" && /* @__PURE__ */ jsxs55(Fragment13, {
16710
16755
  children: [
16711
16756
  /* @__PURE__ */ jsx67(XCircle9, {
16712
- className: "moonkey-icon--sm moonkey-icon--mr-xs"
16757
+ className: "moonx-icon--sm moonx-icon--mr-xs"
16713
16758
  }),
16714
16759
  /* @__PURE__ */ jsx67("span", {
16715
16760
  children: t("common.failed")
@@ -16830,7 +16875,7 @@ var SolanaWalletSelector = function SolanaWalletSelector(param) {
16830
16875
  width: "1.5rem",
16831
16876
  height: "1.5rem",
16832
16877
  border: "2px solid transparent",
16833
- borderBottomColor: "var(--moonkey-color-foreground)",
16878
+ borderBottomColor: "var(--moonx-color-foreground)",
16834
16879
  borderRadius: "50%",
16835
16880
  animation: "spin 1s linear infinite"
16836
16881
  };
@@ -16859,10 +16904,10 @@ var SolanaWalletSelector = function SolanaWalletSelector(param) {
16859
16904
  var searchInputStyles = {
16860
16905
  width: "100%",
16861
16906
  padding: "0.75rem 1rem 0.75rem 2.5rem",
16862
- borderRadius: "var(--moonkey-border-radius-lg)",
16863
- border: "1px solid var(--moonkey-color-border)",
16864
- backgroundColor: "var(--moonkey-color-background)",
16865
- color: "var(--moonkey-color-foreground)",
16907
+ borderRadius: "var(--moonx-border-radius-lg)",
16908
+ border: "1px solid var(--moonx-color-border)",
16909
+ backgroundColor: "var(--moonx-color-background)",
16910
+ color: "var(--moonx-color-foreground)",
16866
16911
  fontSize: "0.875rem",
16867
16912
  outline: "none",
16868
16913
  transition: "border-color 0.2s ease, box-shadow 0.2s ease"
@@ -16873,12 +16918,12 @@ var SolanaWalletSelector = function SolanaWalletSelector(param) {
16873
16918
  top: "0.875rem",
16874
16919
  width: "1rem",
16875
16920
  height: "1rem",
16876
- color: "var(--moonkey-color-foreground-3)"
16921
+ color: "var(--moonx-color-foreground-3)"
16877
16922
  };
16878
16923
  var emptyStateStyles = {
16879
16924
  textAlign: "center",
16880
16925
  padding: "2rem 0",
16881
- color: "var(--moonkey-color-foreground-3)",
16926
+ color: "var(--moonx-color-foreground-3)",
16882
16927
  fontSize: "0.875rem"
16883
16928
  };
16884
16929
  return /* @__PURE__ */ jsxs56("div", {
@@ -16886,7 +16931,7 @@ var SolanaWalletSelector = function SolanaWalletSelector(param) {
16886
16931
  children: [
16887
16932
  /* @__PURE__ */ jsx68("style", {
16888
16933
  dangerouslySetInnerHTML: {
16889
- __html: "\n .solana-search-input:focus {\n border-color: var(--moonkey-color-accent);\n box-shadow: 0 0 0 2px var(--moonkey-color-accent);\n }\n .solana-search-input::placeholder {\n color: var(--moonkey-color-foreground-3);\n opacity: 0.7;\n }\n "
16934
+ __html: "\n .solana-search-input:focus {\n border-color: var(--moonx-color-accent);\n box-shadow: 0 0 0 2px var(--moonx-color-accent);\n }\n .solana-search-input::placeholder {\n color: var(--moonx-color-foreground-3);\n opacity: 0.7;\n }\n "
16890
16935
  }
16891
16936
  }),
16892
16937
  /* @__PURE__ */ jsxs56("div", {
@@ -16934,17 +16979,17 @@ var SolanaWalletSelector = function SolanaWalletSelector(param) {
16934
16979
  });
16935
16980
  var getInstalledWalletCardStyles = function getInstalledWalletCardStyles(walletType) {
16936
16981
  return {
16937
- borderRadius: "var(--moonkey-border-radius-lg)",
16938
- border: "1px solid ".concat(hoveredWallet === walletType ? "var(--moonkey-color-accent)" : "var(--moonkey-color-border)"),
16982
+ borderRadius: "var(--moonx-border-radius-lg)",
16983
+ border: "1px solid ".concat(hoveredWallet === walletType ? "var(--moonx-color-accent)" : "var(--moonx-color-border)"),
16939
16984
  padding: "0.75rem 0.25rem",
16940
16985
  cursor: "pointer",
16941
16986
  transition: "all 0.2s ease"
16942
16987
  };
16943
16988
  };
16944
16989
  var uninstalledWalletCardStyles = {
16945
- borderRadius: "var(--moonkey-border-radius-lg)",
16946
- border: "1px solid var(--moonkey-color-border)",
16947
- backgroundColor: "var(--moonkey-color-background-2)",
16990
+ borderRadius: "var(--moonx-border-radius-lg)",
16991
+ border: "1px solid var(--moonx-color-border)",
16992
+ backgroundColor: "var(--moonx-color-background-2)",
16948
16993
  padding: "0.75rem 0.25rem",
16949
16994
  cursor: "not-allowed",
16950
16995
  opacity: 0.6,
@@ -16963,11 +17008,11 @@ var SolanaWalletSelector = function SolanaWalletSelector(param) {
16963
17008
  };
16964
17009
  var walletNameStyles = {
16965
17010
  fontSize: "0.875rem",
16966
- color: "var(--moonkey-color-foreground)"
17011
+ color: "var(--moonx-color-foreground)"
16967
17012
  };
16968
17013
  var uninstalledWalletNameStyles = {
16969
17014
  fontSize: "0.875rem",
16970
- color: "var(--moonkey-color-foreground-3)"
17015
+ color: "var(--moonx-color-foreground-3)"
16971
17016
  };
16972
17017
  var installLabelContainerStyles = {
16973
17018
  marginLeft: "auto",
@@ -16975,11 +17020,11 @@ var SolanaWalletSelector = function SolanaWalletSelector(param) {
16975
17020
  };
16976
17021
  var installLabelStyles = {
16977
17022
  fontSize: "0.75rem",
16978
- color: "var(--moonkey-color-foreground-3)"
17023
+ color: "var(--moonx-color-foreground-3)"
16979
17024
  };
16980
17025
  var dividerStyles = {
16981
17026
  margin: "0.2rem 0",
16982
- borderTop: "1px solid var(--moonkey-color-border)"
17027
+ borderTop: "1px solid var(--moonx-color-border)"
16983
17028
  };
16984
17029
  return /* @__PURE__ */ jsxs56(Fragment14, {
16985
17030
  children: [
@@ -17119,7 +17164,7 @@ var SolanaWallets = function SolanaWallets(param) {
17119
17164
  })
17120
17165
  }),
17121
17166
  /* @__PURE__ */ jsx69("div", {
17122
- className: "moonkey-label",
17167
+ className: "moonx-label",
17123
17168
  children: /* @__PURE__ */ jsx69("span", {
17124
17169
  children: currentStep === "listing" ? "Select a wallet" : "Connect ".concat((selectedWallet === null || selectedWallet === void 0 ? void 0 : selectedWallet.name) || "wallet")
17125
17170
  })
@@ -17804,7 +17849,7 @@ var AuthProvider = function AuthProvider(param) {
17804
17849
  try {
17805
17850
  for(var _iterator = targets[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
17806
17851
  var _step_value = _step.value, origin = _step_value.origin, crossorigin = _step_value.crossorigin;
17807
- var sel = 'link[data-moonkey-preconnect="'.concat(origin, '"]');
17852
+ var sel = 'link[data-moonx-preconnect="'.concat(origin, '"]');
17808
17853
  if (document.head.querySelector(sel)) continue;
17809
17854
  for(var _i = 0, _iter = [
17810
17855
  "preconnect",
@@ -17815,7 +17860,7 @@ var AuthProvider = function AuthProvider(param) {
17815
17860
  link.rel = rel;
17816
17861
  link.href = origin;
17817
17862
  if (crossorigin && rel === "preconnect") link.crossOrigin = "anonymous";
17818
- link.setAttribute("data-moonkey-preconnect", origin);
17863
+ link.setAttribute("data-moonx-preconnect", origin);
17819
17864
  document.head.appendChild(link);
17820
17865
  added.push(link);
17821
17866
  }
@@ -18539,7 +18584,7 @@ var AuthProvider = function AuthProvider(param) {
18539
18584
  value: sdkInstance,
18540
18585
  children: [
18541
18586
  isMounted && /* @__PURE__ */ jsx72("iframe", {
18542
- id: "moonkey-auth-iframe",
18587
+ id: "moonx-auth-iframe",
18543
18588
  ref: iframeRef,
18544
18589
  src: finalUrl,
18545
18590
  style: iframeStyles,
@@ -18574,7 +18619,7 @@ var WalletConnectContext = createContext({
18574
18619
  isInitializing: false
18575
18620
  });
18576
18621
  var MoonKeyContext = createContext(null);
18577
- var MoonKeyProvider = function MoonKeyProvider(param) {
18622
+ var MoonXProvider = function MoonXProvider(param) {
18578
18623
  var publishableKey = param.publishableKey, embeddableId = param.embeddableId, config = param.config, children = param.children;
18579
18624
  var _config_walletConnect, _config_emailConfig, _config_emailConfig1, _config_emailConfig2, _config_emailConfig3, _config_emailConfig4;
18580
18625
  if ((config === null || config === void 0 ? void 0 : config.chains) || (config === null || config === void 0 ? void 0 : config.defaultChain)) {
@@ -18759,4 +18804,4 @@ var getReconnectionInfo = function getReconnectionInfo(error) {
18759
18804
  import { buildChainIndex, estimateEvmGas, estimateEvmGasReserve, getChainById, getEvmGasPrice, getEvmMaxPriorityFeePerGas, getEvmNonce, getRpcUrl, isChainSupported, isEvmEntry, normalizeChainKey, resolveChainEntry, resolveRpcUrl, resolveSolanaChainEntry, resolveWsUrl, validateChainConfig as validateChainConfig2 } from "@moon-x/core/lib";
18760
18805
  import { Network } from "@moon-x/core/types";
18761
18806
  import { arbitrum, arbitrumSepolia, avalanche, avalancheFuji, base, baseSepolia, bsc, bscTestnet, goerli, holesky, mainnet, optimism, optimismSepolia, polygon, polygonAmoy, sepolia } from "viem/chains";
18762
- export { MoonKeyProvider, Network, SessionExpiredError, SessionNotFoundError, appearanceToComponentVars, appearanceToCssVars, appearanceToMoonxVars, appearanceToTheme, arbitrum, arbitrumSepolia, avalanche, avalancheFuji, base, baseSepolia, bsc, bscTestnet, buildChainIndex, darkTheme, definedOnly, estimateEvmGas, estimateEvmGasReserve, ethereum_exports as ethereum, getChainById, getEvmGasPrice, getEvmMaxPriorityFeePerGas, getEvmNonce, getReconnectionInfo, getRpcUrl, goerli, holesky, isChainSupported, isColorDark, isDarkAppearance, isDarkMode, isEvmEntry, lightTheme, mainnet, normalizeChainKey, optimism, optimismSepolia, polygon, polygonAmoy, requiresReconnection, resolveAppearanceTokens, resolveChainEntry, resolveFontUrls, resolveLogo, resolveRpcUrl, resolveSolanaChainEntry, resolveWsUrl, sepolia, solana_exports as solana, themeToCSS, useAddPasskey, useAttachOAuth, useConnectWallet, useDetachOAuth, useEphemeralSigner, useLoginWithEmail, useLoginWithOAuth, useMoonKey, useOAuthCompletion, usePasskeyStatus, useRegisterPasskey, useRemovePasskey, useUser, validateChainConfig2 as validateChainConfig };
18807
+ export { MoonXProvider, Network, SessionExpiredError, SessionNotFoundError, appearanceToComponentVars, appearanceToCssVars, appearanceToMoonxVars, appearanceToTheme, arbitrum, arbitrumSepolia, avalanche, avalancheFuji, base, baseSepolia, bsc, bscTestnet, buildChainIndex, darkTheme, definedOnly, estimateEvmGas, estimateEvmGasReserve, ethereum_exports as ethereum, getChainById, getEvmGasPrice, getEvmMaxPriorityFeePerGas, getEvmNonce, getReconnectionInfo, getRpcUrl, goerli, holesky, isChainSupported, isColorDark, isDarkAppearance, isDarkMode, isEvmEntry, lightTheme, mainnet, normalizeChainKey, optimism, optimismSepolia, polygon, polygonAmoy, requiresReconnection, resolveAppearanceTokens, resolveChainEntry, resolveFontUrls, resolveLogo, resolveRpcUrl, resolveSolanaChainEntry, resolveWsUrl, sepolia, solana_exports as solana, themeToCSS, useAddPasskey, useAttachOAuth, useConnectWallet, useDetachOAuth, useEphemeralSigner, useLoginWithEmail, useLoginWithOAuth, useMoonX, useOAuthCompletion, usePasskeyStatus, useRegisterPasskey, useRemovePasskey, useUser, validateChainConfig2 as validateChainConfig };