@aurora-is-near/intents-swap-widget 3.21.1 → 3.23.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/components/WidgetTabs.d.ts +8 -0
- package/dist/components/WidgetTabs.js +20 -0
- package/dist/components/WidgetTabs.js.map +1 -0
- package/dist/{config-DAMaL9k2.js → config-0TjbjBo5.js} +183 -183
- package/dist/config-0TjbjBo5.js.map +1 -0
- package/dist/config.d.ts +2 -10
- package/dist/config.js +1 -1
- package/dist/errors.js +1 -1
- package/dist/ext/alchemy/index.js +1 -1
- package/dist/ext/index.js +1 -1
- package/dist/features/BalanceRpcLoader/TokenBalanceLoader.js +1 -1
- package/dist/features/BalanceRpcLoader/index.js +1 -1
- package/dist/features/BalanceRpcLoader/useTokenBalanceRpc.js +1 -1
- package/dist/features/ChainsDropdown/index.js +1 -1
- package/dist/features/ChainsSelector/index.js +1 -1
- package/dist/features/DepositMethodSwitcher.js +1 -1
- package/dist/features/ErrorBoundary.js +1 -1
- package/dist/features/ExternalDeposit.js +1 -1
- package/dist/features/SendAddress/index.js +1 -1
- package/dist/features/SendAddress/useNotification.js +1 -1
- package/dist/features/SubmitButton/index.js +1 -1
- package/dist/features/SuccessScreen/index.js +1 -1
- package/dist/features/SuccessScreen/useSummaryItemsCount.js +1 -1
- package/dist/features/SwapDirectionSwitcher.d.ts +1 -5
- package/dist/features/SwapDirectionSwitcher.js +10 -10
- package/dist/features/SwapDirectionSwitcher.js.map +1 -1
- package/dist/features/SwapQuote/SwapQuote.js +1 -1
- package/dist/features/SwapQuote/index.js +1 -1
- package/dist/features/TokenInput/TokenInput.js +1 -1
- package/dist/features/TokenInput/TokenInputEmpty.js +1 -1
- package/dist/features/TokenInput/TokenInputSource.js +1 -1
- package/dist/features/TokenInput/TokenInputTarget.js +1 -1
- package/dist/features/TokenInput/WalletBalance.js +1 -1
- package/dist/features/TokenInput/hooks/index.js +1 -1
- package/dist/features/TokenInput/hooks/useTokenInputBalance.js +1 -1
- package/dist/features/TokenInput/index.js +1 -1
- package/dist/features/TokensList/TokenItem.js +1 -1
- package/dist/features/TokensList/TokensList.js +1 -1
- package/dist/features/TokensList/index.js +1 -1
- package/dist/features/TokensModal.js +1 -1
- package/dist/features/WalletCompatibilityCheck/WalletCompatibilityModal.js +1 -1
- package/dist/features/WalletCompatibilityCheck/index.js +1 -1
- package/dist/features/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/useAllTokens.js +1 -1
- package/dist/hooks/useChains.js +1 -1
- package/dist/hooks/useCompatibilityCheck.js +1 -1
- package/dist/hooks/useDefaultToken.js +1 -1
- package/dist/hooks/useExternalDepositStatus/index.js +1 -1
- package/dist/hooks/useExternalDepositStatus/usePoaExternalDepositStatus.js +1 -1
- package/dist/hooks/useIntentsBalance.js +1 -1
- package/dist/hooks/useIsCompatibilityCheckRequired.js +1 -1
- package/dist/hooks/useMakeDepositAddress.js +1 -1
- package/dist/hooks/useMakeIntentsTransfer.js +1 -1
- package/dist/hooks/useMakeNEARFtTransferCall.js +1 -1
- package/dist/hooks/useMakeQuote.js +1 -1
- package/dist/hooks/useMakeQuoteTransfer.js +1 -1
- package/dist/hooks/useMakeTransfer.js +1 -1
- package/dist/hooks/useMergedBalance.js +1 -1
- package/dist/hooks/useSwitchChain.js +1 -1
- package/dist/hooks/useTheme.js +1 -1
- package/dist/hooks/useTokenInputPair.js +1 -1
- package/dist/hooks/useTokens.js +1 -1
- package/dist/hooks/useTokensFiltered.js +1 -1
- package/dist/hooks/useTokensIntentsUnique.js +1 -1
- package/dist/index.js +21 -19
- package/dist/index.js.map +1 -1
- package/dist/machine/effects/index.js +1 -1
- package/dist/machine/effects/useAlchemyBalanceEffect.js +1 -1
- package/dist/machine/effects/useBalancesUpdateEffect.js +1 -1
- package/dist/machine/effects/useMakeQuoteEffect.js +1 -1
- package/dist/machine/effects/useSelectedTokensEffect.js +1 -1
- package/dist/machine/effects/useSetTokenBalanceEffect.js +1 -1
- package/dist/machine/effects/useSetTokenIntentsTargetEffect.js +1 -1
- package/dist/machine/effects/useWalletConnEffect.js +1 -1
- package/dist/machine/events/index.js +1 -1
- package/dist/machine/events/tokenSelect.js +1 -1
- package/dist/machine/events/validateInputAndMoveTo.js +1 -1
- package/dist/machine/events/validateInputs.js +1 -1
- package/dist/machine/index.js +1 -1
- package/dist/machine/snap.js +1 -1
- package/dist/machine/subscriptions/checkers/isSendAddressAsConnected.js +1 -1
- package/dist/machine/subscriptions/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/theme/ThemeProvider.js +1 -1
- package/dist/types/chain.d.ts +4 -0
- package/dist/types/config.d.ts +3 -5
- package/dist/utils/intents/signers/near.js +1 -1
- package/dist/utils/intents/signers/privy.js +1 -1
- package/dist/utils/near/getNearNep141StorageBalance.js +1 -1
- package/dist/widgets/Widget/WidgetContent.d.ts +10 -0
- package/dist/widgets/Widget/WidgetContent.js +59 -0
- package/dist/widgets/Widget/WidgetContent.js.map +1 -0
- package/dist/widgets/Widget/index.d.ts +4 -0
- package/dist/widgets/Widget/index.js +23 -0
- package/dist/widgets/Widget/index.js.map +1 -0
- package/dist/widgets/WidgetDeposit/WidgetDepositContent.d.ts +1 -2
- package/dist/widgets/WidgetDeposit/WidgetDepositContent.js +65 -63
- package/dist/widgets/WidgetDeposit/WidgetDepositContent.js.map +1 -1
- package/dist/widgets/WidgetDeposit/WidgetDepositSkeleton.js +1 -1
- package/dist/widgets/WidgetSwap/WidgetSwapContent.d.ts +3 -6
- package/dist/widgets/WidgetSwap/WidgetSwapContent.js +89 -84
- package/dist/widgets/WidgetSwap/WidgetSwapContent.js.map +1 -1
- package/dist/widgets/WidgetSwap/WidgetSwapSkeleton.js +1 -1
- package/dist/widgets/WidgetWithdraw/WidgetWithdrawContent.d.ts +1 -2
- package/dist/widgets/WidgetWithdraw/WidgetWithdrawContent.js +79 -77
- package/dist/widgets/WidgetWithdraw/WidgetWithdrawContent.js.map +1 -1
- package/dist/widgets/WidgetWithdraw/WidgetWithdrawSkeleton.js +1 -1
- package/dist/widgets/index.d.ts +1 -0
- package/dist/widgets/index.js +8 -6
- package/dist/widgets/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/WidgetTabs.tsx +33 -0
- package/src/config.tsx +0 -5
- package/src/features/SwapDirectionSwitcher.tsx +4 -6
- package/src/machine/effects/useSelectedTokensEffect.ts +7 -4
- package/src/types/chain.ts +5 -0
- package/src/types/config.ts +4 -4
- package/src/widgets/Widget/WidgetContent.tsx +107 -0
- package/src/widgets/Widget/index.tsx +23 -0
- package/src/widgets/WidgetDeposit/WidgetDeposit.test.tsx +0 -4
- package/src/widgets/WidgetDeposit/WidgetDepositContent.tsx +8 -4
- package/src/widgets/WidgetSwap/WidgetSwapContent.tsx +21 -9
- package/src/widgets/WidgetWithdraw/WidgetWithdrawContent.tsx +6 -4
- package/src/widgets/index.ts +1 -0
- package/dist/config-DAMaL9k2.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as r, M as t, Q as s, S as a, o as n, p, T as f, q as m, w as i, W as
|
|
1
|
+
import { B as r, M as t, Q as s, S as a, o as n, p, T as f, q as m, w as i, W as x, v as u, x as d, r as c, t as l, e as S, d as k, u as h, f as T, g, h as C, j as B, i as E, k as I, a as M, c as W, l as w, n as A, m as D, b as v } from "./config-0TjbjBo5.js";
|
|
2
2
|
import { DEFAULT_RPCS as b } from "./rpcs.js";
|
|
3
3
|
import { CHAINS as N } from "./chains.js";
|
|
4
4
|
import { Accordion as L } from "./components/Accordion.js";
|
|
@@ -15,15 +15,15 @@ import { Icon as re } from "./components/Icon.js";
|
|
|
15
15
|
import { Input as se } from "./components/Input.js";
|
|
16
16
|
import { InputAmount as ne, MaskedInputAmount as pe } from "./components/InputAmount.js";
|
|
17
17
|
import { Notes as me } from "./components/Notes.js";
|
|
18
|
-
import { Skeleton as
|
|
19
|
-
import { TinyNumber as
|
|
18
|
+
import { Skeleton as xe } from "./components/Skeleton.js";
|
|
19
|
+
import { TinyNumber as de } from "./components/TinyNumber.js";
|
|
20
20
|
import { TokenIcon as le } from "./components/TokenIcon.js";
|
|
21
21
|
import { StatusWidget as ke } from "./components/StatusWidget.js";
|
|
22
22
|
import { WidgetContainer as Te } from "./components/WidgetContainer.js";
|
|
23
23
|
import { CloseButton as Ce } from "./components/CloseButton.js";
|
|
24
24
|
import { ChainShortcut as Ee } from "./components/ChainShortcut.js";
|
|
25
25
|
import { AllNetworksIcon as Me } from "./components/AllNetworksIcon.js";
|
|
26
|
-
import { ChainsDropdown as
|
|
26
|
+
import { ChainsDropdown as we } from "./features/ChainsDropdown/index.js";
|
|
27
27
|
import { SendAddress as De } from "./features/SendAddress/index.js";
|
|
28
28
|
import { SuccessScreen as ye } from "./features/SuccessScreen/index.js";
|
|
29
29
|
import { TokensModal as Qe } from "./features/TokensModal.js";
|
|
@@ -42,9 +42,10 @@ import { useHandleKeyDown as to } from "./hooks/useHandleKeyDown.js";
|
|
|
42
42
|
import { guardStates as ao } from "./machine/guards/index.js";
|
|
43
43
|
import { machine as po, moveTo as fo } from "./machine/machine.js";
|
|
44
44
|
import { fireEvent as io } from "./machine/events/utils/fireEvent.js";
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
45
|
+
import { Widget as uo } from "./widgets/Widget/index.js";
|
|
46
|
+
import { WidgetSwap as lo } from "./widgets/WidgetSwap/index.js";
|
|
47
|
+
import { WidgetDeposit as ko } from "./widgets/WidgetDeposit/index.js";
|
|
48
|
+
import { WidgetWithdraw as To } from "./widgets/WidgetWithdraw/index.js";
|
|
48
49
|
export {
|
|
49
50
|
L as Accordion,
|
|
50
51
|
Me as AllNetworksIcon,
|
|
@@ -56,7 +57,7 @@ export {
|
|
|
56
57
|
N as CHAINS,
|
|
57
58
|
G as Card,
|
|
58
59
|
Ee as ChainShortcut,
|
|
59
|
-
|
|
60
|
+
we as ChainsDropdown,
|
|
60
61
|
Ce as CloseButton,
|
|
61
62
|
O as CopyButton,
|
|
62
63
|
b as DEFAULT_RPCS,
|
|
@@ -73,13 +74,13 @@ export {
|
|
|
73
74
|
me as Notes,
|
|
74
75
|
s as QuoteError,
|
|
75
76
|
De as SendAddress,
|
|
76
|
-
|
|
77
|
+
xe as Skeleton,
|
|
77
78
|
ke as StatusWidget,
|
|
78
79
|
a as SubmitButton,
|
|
79
80
|
ye as SuccessScreen,
|
|
80
81
|
He as SwapDirectionSwitcher,
|
|
81
82
|
n as SwapQuote,
|
|
82
|
-
|
|
83
|
+
de as TinyNumber,
|
|
83
84
|
le as TokenIcon,
|
|
84
85
|
p as TokenInput,
|
|
85
86
|
f as TokenInputBase,
|
|
@@ -87,18 +88,19 @@ export {
|
|
|
87
88
|
Qe as TokensModal,
|
|
88
89
|
i as TransferError,
|
|
89
90
|
Ue as WalletCompatibilityCheck,
|
|
90
|
-
|
|
91
|
+
uo as Widget,
|
|
92
|
+
x as WidgetConfigProvider,
|
|
91
93
|
Te as WidgetContainer,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
ko as WidgetDeposit,
|
|
95
|
+
u as WidgetError,
|
|
96
|
+
lo as WidgetSwap,
|
|
97
|
+
To as WidgetWithdraw,
|
|
96
98
|
io as fireEvent,
|
|
97
99
|
ao as guardStates,
|
|
98
|
-
|
|
100
|
+
d as isWidgetError,
|
|
99
101
|
po as machine,
|
|
100
102
|
fo as moveTo,
|
|
101
|
-
|
|
103
|
+
c as registerStoreEvents,
|
|
102
104
|
l as useAlchemyBalanceIntegration,
|
|
103
105
|
S as useAllTokens,
|
|
104
106
|
k as useChains,
|
|
@@ -115,8 +117,8 @@ export {
|
|
|
115
117
|
E as useMakeTransfer,
|
|
116
118
|
I as useMergedBalance,
|
|
117
119
|
M as useSafeSnapshot,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
W as useStoreSideEffects,
|
|
121
|
+
w as useSwitchChain,
|
|
120
122
|
oo as useToggleTheme,
|
|
121
123
|
Je as useTokenInputPair,
|
|
122
124
|
A as useTokens,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "../../logger.js";
|
|
3
3
|
import "../guards/checks/isDryQuote.js";
|
|
4
|
-
import { P as a } from "../../config-
|
|
4
|
+
import { P as a } from "../../config-0TjbjBo5.js";
|
|
5
5
|
import "../guards/index.js";
|
|
6
6
|
import "../machine.js";
|
|
7
7
|
import "../events/utils/fireEvent.js";
|
|
@@ -2,7 +2,7 @@ import "react";
|
|
|
2
2
|
import "../../utils/solana/isSolanaAddress.js";
|
|
3
3
|
import "../../utils/evm/isEvmAddress.js";
|
|
4
4
|
import "../../utils/near/isNearAddress.js";
|
|
5
|
-
import { R as l } from "../../config-
|
|
5
|
+
import { R as l } from "../../config-0TjbjBo5.js";
|
|
6
6
|
import "../../utils/tokens/getMainTokenByChain.js";
|
|
7
7
|
import "../../utils/tokens/getDefaultIntentsToken.js";
|
|
8
8
|
import "../../utils/tokens/getTokenWithHighBalance.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "../../hooks/useWalletAddressForToken.js";
|
|
3
|
-
import { I as f } from "../../config-
|
|
3
|
+
import { I as f } from "../../config-0TjbjBo5.js";
|
|
4
4
|
import "../guards/index.js";
|
|
5
5
|
import "../machine.js";
|
|
6
6
|
import "../events/utils/fireEvent.js";
|
|
@@ -3,7 +3,7 @@ import "./tokenSelectRotate.js";
|
|
|
3
3
|
import "./errorSet.js";
|
|
4
4
|
import "./quoteSet.js";
|
|
5
5
|
import "./addressSet.js";
|
|
6
|
-
import { _ as b } from "../../config-
|
|
6
|
+
import { _ as b } from "../../config-0TjbjBo5.js";
|
|
7
7
|
import "./tokenSetAmount.js";
|
|
8
8
|
import "./quoteSetStatus.js";
|
|
9
9
|
import "./depositTypeSet.js";
|
|
@@ -3,7 +3,7 @@ import "../../utils/near/checkNearAccountExists.js";
|
|
|
3
3
|
import "../../utils/checkers/isNotEmptyAmount.js";
|
|
4
4
|
import "../../utils/checkers/isValidBigint.js";
|
|
5
5
|
import "../../utils/near/isNearAddress.js";
|
|
6
|
-
import { K as I, L as d, N as u } from "../../config-
|
|
6
|
+
import { K as I, L as d, N as u } from "../../config-0TjbjBo5.js";
|
|
7
7
|
import "../guards/index.js";
|
|
8
8
|
import "../machine.js";
|
|
9
9
|
import "../guards/checks/isBalanceSufficient.js";
|
package/dist/machine/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, u as t, a as r, c as a, b as f } from "../config-
|
|
1
|
+
import { r as o, u as t, a as r, c as a, b as f } from "../config-0TjbjBo5.js";
|
|
2
2
|
import { guardStates as S } from "./guards/index.js";
|
|
3
3
|
import { machine as n, moveTo as u } from "./machine.js";
|
|
4
4
|
import { fireEvent as i } from "./events/utils/fireEvent.js";
|
package/dist/machine/snap.js
CHANGED
|
@@ -2,7 +2,7 @@ import "valtio";
|
|
|
2
2
|
import "derive-valtio";
|
|
3
3
|
import "./computed/getIsNativeNearDeposit.js";
|
|
4
4
|
import "./computed/getIsDirectTokenOnNearDeposit.js";
|
|
5
|
-
import { u as h, a as b, b as d } from "../config-
|
|
5
|
+
import { u as h, a as b, b as d } from "../config-0TjbjBo5.js";
|
|
6
6
|
import "./machine.js";
|
|
7
7
|
import "./guards/index.js";
|
|
8
8
|
import "./computed/getUsdTradeDelta.js";
|
|
@@ -5,7 +5,7 @@ import "./checkers/isOnlyErrorChanged.js";
|
|
|
5
5
|
import "./checkers/isValidInitialState.js";
|
|
6
6
|
import "./checkers/isWalletDisconnected.js";
|
|
7
7
|
import "./checkers/isSendAddressForbidden.js";
|
|
8
|
-
import { X as g, Y as u } from "../../config-
|
|
8
|
+
import { X as g, Y as u } from "../../config-0TjbjBo5.js";
|
|
9
9
|
import "./checkers/isAmountChangedFromQuote.js";
|
|
10
10
|
import "ethers";
|
|
11
11
|
import "../machine.js";
|
package/dist/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){.sw *,.sw :before,.sw :after,.sw ::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{.sw,.sw :host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--font-weight-medium:500;--font-weight-semibold:600;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius-full:99999px;--radius-sw-sm:var(--r-sw-sm);--radius-sw-md:var(--r-sw-md);--radius-sw-lg:var(--r-sw-lg);--color-sw-gray-50:var(--c-sw-gray-50);--color-sw-gray-100:var(--c-sw-gray-100);--color-sw-gray-200:var(--c-sw-gray-200);--color-sw-gray-300:var(--c-sw-gray-300);--color-sw-gray-400:var(--c-sw-gray-400);--color-sw-gray-600:var(--c-sw-gray-600);--color-sw-gray-700:var(--c-sw-gray-700);--color-sw-gray-800:var(--c-sw-gray-800);--color-sw-gray-900:var(--c-sw-gray-900);--color-sw-gray-950:var(--c-sw-gray-950);--color-sw-accent-200:var(--c-sw-accent-200);--color-sw-accent-400:var(--c-sw-accent-400);--color-sw-accent-500:var(--c-sw-accent-500);--color-sw-status-success:var(--c-sw-status-success);--color-sw-status-warning:var(--c-sw-status-warning);--color-sw-status-error:var(--c-sw-status-error);--color-sw-container:var(--c-sw-container);--spacing-sw-xxs:2px;--spacing-sw-xs:4px;--spacing-sw-sm:6px;--spacing-sw-md:8px;--spacing-sw-lg:12px;--spacing-sw-xl:16px;--spacing-sw-2xl:20px;--spacing-sw-3xl:24px;--spacing-sw-4xl:32px;--spacing-sw-5xl:40px;--spacing-sw-6xl:48px}}@layer base{.sw *,.sw :after,.sw :before,.sw ::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}.sw ::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}.sw,.sw :host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}.sw hr{height:0;color:inherit;border-top-width:1px}.sw abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.sw h1,.sw h2,.sw h3,.sw h4,.sw h5,.sw h6{font-size:inherit;font-weight:inherit}.sw a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}.sw b,.sw strong{font-weight:bolder}.sw code,.sw kbd,.sw samp,.sw pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}.sw small{font-size:80%}.sw sub,.sw sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}.sw sub{bottom:-.25em}.sw sup{top:-.5em}.sw table{text-indent:0;border-color:inherit;border-collapse:collapse}.sw :-moz-focusring{outline:auto}.sw progress{vertical-align:baseline}.sw summary{display:list-item}.sw ol,.sw ul,.sw menu{list-style:none}.sw img,.sw svg,.sw video,.sw canvas,.sw audio,.sw iframe,.sw embed,.sw object{vertical-align:middle;display:block}.sw img,.sw video{max-width:100%;height:auto}.sw button,.sw input,.sw select,.sw optgroup,.sw textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}.sw ::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}.sw :where(select:is([multiple],[size])) optgroup{font-weight:bolder}.sw :where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}.sw ::file-selector-button{margin-inline-end:4px}.sw ::-moz-placeholder{opacity:1}.sw ::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){.sw ::-moz-placeholder{color:currentColor}.sw ::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){.sw ::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}.sw ::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}.sw textarea{resize:vertical}.sw ::-webkit-search-decoration{-webkit-appearance:none}.sw ::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}.sw ::-webkit-datetime-edit{display:inline-flex}.sw ::-webkit-datetime-edit-fields-wrapper{padding:0}.sw ::-webkit-datetime-edit{padding-block:0}.sw ::-webkit-datetime-edit-year-field{padding-block:0}.sw ::-webkit-datetime-edit-month-field{padding-block:0}.sw ::-webkit-datetime-edit-day-field{padding-block:0}.sw ::-webkit-datetime-edit-hour-field{padding-block:0}.sw ::-webkit-datetime-edit-minute-field{padding-block:0}.sw ::-webkit-datetime-edit-second-field{padding-block:0}.sw ::-webkit-datetime-edit-millisecond-field{padding-block:0}.sw ::-webkit-datetime-edit-meridiem-field{padding-block:0}.sw ::-webkit-calendar-picker-indicator{line-height:1}.sw :-moz-ui-invalid{box-shadow:none}.sw button,.sw input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}.sw ::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}.sw ::-webkit-inner-spin-button{height:auto}.sw ::-webkit-outer-spin-button{height:auto}.sw [hidden]:where(:not([hidden=until-found])){display:none!important}.sw[data-sw-theme]{--r-sw-sm:6px;--r-sw-md:10px;--r-sw-lg:16px}.sw[data-sw-theme=light]{color-scheme:light;--c-sw-gray-50:#24262d;--c-sw-gray-100:#2e3038;--c-sw-gray-200:#41444f;--c-sw-gray-300:#555967;--c-sw-gray-400:#686d7d;--c-sw-gray-500:#7e8396;--c-sw-gray-600:#979baa;--c-sw-gray-700:#b0b3bf;--c-sw-gray-800:#caccd3;--c-sw-gray-900:#e4e5e9;--c-sw-gray-950:#f3f3f5;--c-sw-accent-50:#280045;--c-sw-accent-100:#400069;--c-sw-accent-200:#7300b7;--c-sw-accent-300:#a528ff;--c-sw-accent-400:#ba7aff;--c-sw-accent-500:#d5b7ff;--c-sw-accent-600:#dcc4ff;--c-sw-accent-700:#e6d6ff;--c-sw-accent-800:#eee4ff;--c-sw-accent-900:#f6f1ff;--c-sw-accent-950:#fbf8ff;--c-sw-status-success:#00652f;--c-sw-status-warning:#a87a04;--c-sw-status-error:#9f002b;--c-sw-container:#000}.sw[data-sw-theme=dark]{color-scheme:dark;--c-sw-gray-50:#f3f3f5;--c-sw-gray-100:#e4e5e9;--c-sw-gray-200:#caccd3;--c-sw-gray-300:#b0b3bf;--c-sw-gray-400:#979baa;--c-sw-gray-500:#7e8396;--c-sw-gray-600:#686d7d;--c-sw-gray-700:#555967;--c-sw-gray-800:#41444f;--c-sw-gray-900:#2e3038;--c-sw-gray-950:#24262d;--c-sw-accent-50:#fbf8ff;--c-sw-accent-100:#f6f1ff;--c-sw-accent-200:#eee4ff;--c-sw-accent-300:#e6d6ff;--c-sw-accent-400:#dcc4ff;--c-sw-accent-500:#d5b7ff;--c-sw-accent-600:#ba7aff;--c-sw-accent-700:#a528ff;--c-sw-accent-800:#7300b7;--c-sw-accent-900:#400069;--c-sw-accent-950:#280045;--c-sw-status-success:#98ffb5;--c-sw-status-warning:#fadfad;--c-sw-status-error:#ffb8be;--c-sw-container:#fff}.sw .hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.sw .hide-scrollbar::-webkit-scrollbar{display:none}}@layer components;@layer utilities{.sw .absolute{position:absolute}.sw .fixed{position:fixed}.sw .relative{position:relative}.sw .static{position:static}.sw .top-1\/2{top:50%}.sw .top-\[14px\]{top:14px}.sw .top-\[19px\]{top:19px}.sw .top-sw-2xl{top:var(--spacing-sw-2xl)}.sw .right-\[-4px\]{right:-4px}.sw .right-sw-2xl{right:var(--spacing-sw-2xl)}.sw .left-1\/2{left:50%}.sw .z-1{z-index:1}.sw .z-10{z-index:10}.sw .container{width:100%}@media (min-width:40rem){.sw .container{max-width:40rem}}@media (min-width:48rem){.sw .container{max-width:48rem}}@media (min-width:64rem){.sw .container{max-width:64rem}}@media (min-width:80rem){.sw .container{max-width:80rem}}@media (min-width:96rem){.sw .container{max-width:96rem}}.sw .m-sw-lg{margin:var(--spacing-sw-lg)}.sw .mx-auto{margin-inline:auto}.sw .my-sw-sm{margin-block:var(--spacing-sw-sm)}.sw .mt-sw-2xl{margin-top:var(--spacing-sw-2xl)}.sw .mt-sw-lg{margin-top:var(--spacing-sw-lg)}.sw .mt-sw-xl{margin-top:var(--spacing-sw-xl)}.sw .mt-sw-xs{margin-top:var(--spacing-sw-xs)}.sw .mr-auto{margin-right:auto}.sw .mr-sw-md{margin-right:var(--spacing-sw-md)}.sw .mb-sw-2xl{margin-bottom:var(--spacing-sw-2xl)}.sw .mb-sw-md{margin-bottom:var(--spacing-sw-md)}.sw .mb-sw-xl{margin-bottom:var(--spacing-sw-xl)}.sw .ml-auto{margin-left:auto}.sw .ml-sw-lg{margin-left:var(--spacing-sw-lg)}.sw .flex{display:flex}.sw .hidden{display:none}.sw .inline{display:inline}.sw .inline-block{display:inline-block}.sw .h-\[1px\]{height:1px}.sw .h-\[7px\]{height:7px}.sw .h-\[12px\]{height:12px}.sw .h-\[16px\]{height:16px}.sw .h-\[17px\]{height:17px}.sw .h-\[20px\]{height:20px}.sw .h-\[34px\]{height:34px}.sw .h-\[36px\]{height:36px}.sw .h-\[40px\]{height:40px}.sw .h-\[44px\]{height:44px}.sw .h-\[48px\]{height:48px}.sw .h-\[108px\]{height:108px}.sw .h-\[116px\]{height:116px}.sw .h-\[120px\]{height:120px}.sw .h-\[152px\]{height:152px}.sw .h-\[165px\]{height:165px}.sw .h-\[180px\]{height:180px}.sw .h-fit{height:-moz-fit-content;height:fit-content}.sw .h-sw-2xl{height:var(--spacing-sw-2xl)}.sw .h-sw-4xl{height:var(--spacing-sw-4xl)}.sw .h-sw-lg{height:var(--spacing-sw-lg)}.sw .h-sw-xl{height:var(--spacing-sw-xl)}.sw .max-h-\[400px\]{max-height:400px}.sw .min-h-\[200px\]{min-height:200px}.sw .min-h-screen{min-height:100vh}.sw .min-h-sw-2xl{min-height:var(--spacing-sw-2xl)}.sw .w-\[7px\]{width:7px}.sw .w-\[16px\]{width:16px}.sw .w-\[34px\]{width:34px}.sw .w-\[36px\]{width:36px}.sw .w-\[40px\]{width:40px}.sw .w-\[60px\]{width:60px}.sw .w-\[100px\]{width:100px}.sw .w-\[180px\]{width:180px}.sw .w-\[200px\]{width:200px}.sw .w-auto{width:auto}.sw .w-fit{width:-moz-fit-content;width:fit-content}.sw .w-full{width:100%}.sw .w-sw-2xl{width:var(--spacing-sw-2xl)}.sw .w-sw-4xl{width:var(--spacing-sw-4xl)}.sw .w-sw-lg{width:var(--spacing-sw-lg)}.sw .w-sw-xl{width:var(--spacing-sw-xl)}.sw .max-w-\[80\%\]{max-width:80%}.sw .max-w-\[265px\]{max-width:265px}.sw .max-w-\[456px\]{max-width:456px}.sw .max-w-\[496px\]{max-width:496px}.sw .min-w-\[80px\]{min-width:80px}.sw .min-w-\[100px\]{min-width:100px}.sw .min-w-\[200px\]{min-width:200px}.sw .min-w-\[270px\]{min-width:270px}.sw .min-w-full{min-width:100%}.sw .min-w-max{min-width:-moz-max-content;min-width:max-content}.sw .shrink-0{flex-shrink:0}.sw .-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.sw .-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.sw .scale-80{--tw-scale-x:80%;--tw-scale-y:80%;--tw-scale-z:80%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .-rotate-90{rotate:-90deg}.sw .rotate-90{rotate:90deg}.sw .transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.sw .animate-pulse{animation:var(--animate-pulse)}.sw .animate-spin{animation:var(--animate-spin)}.sw .cursor-default{cursor:default}.sw .cursor-not-allowed{cursor:not-allowed}.sw .cursor-pointer{cursor:pointer}.sw .list-none{list-style-type:none}.sw .flex-col{flex-direction:column}.sw .flex-wrap{flex-wrap:wrap}.sw .items-center{align-items:center}.sw .items-end{align-items:flex-end}.sw .justify-between{justify-content:space-between}.sw .justify-center{justify-content:center}.sw .justify-end{justify-content:flex-end}.sw .gap-\[10px\]{gap:10px}.sw .gap-sw-2xl{gap:var(--spacing-sw-2xl)}.sw .gap-sw-4xl{gap:var(--spacing-sw-4xl)}.sw .gap-sw-lg{gap:var(--spacing-sw-lg)}.sw .gap-sw-md{gap:var(--spacing-sw-md)}.sw .gap-sw-sm{gap:var(--spacing-sw-sm)}.sw .gap-sw-xl{gap:var(--spacing-sw-xl)}.sw .gap-sw-xs{gap:var(--spacing-sw-xs)}.sw .gap-sw-xxs{gap:var(--spacing-sw-xxs)}.sw .gap-x-\[2px\]{-moz-column-gap:2px;column-gap:2px}.sw .overflow-hidden{overflow:hidden}.sw .rounded-\[2px\]{border-radius:2px}.sw .rounded-full{border-radius:3.40282e38px;border-radius:var(--radius-full)}.sw .rounded-sw-lg{border-radius:var(--radius-sw-lg)}.sw .rounded-sw-md{border-radius:var(--radius-sw-md)}.sw .rounded-sw-sm{border-radius:var(--radius-sw-sm)}.sw .border-2{border-style:var(--tw-border-style);border-width:2px}.sw .border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.sw .border-none{--tw-border-style:none;border-style:none}.sw .border-sw-gray-800{border-color:var(--color-sw-gray-800)}.sw .border-sw-gray-900{border-color:var(--color-sw-gray-900)}.sw .bg-\[\#fff\]{background-color:#fff}.sw .bg-sw-accent-500{background-color:var(--color-sw-accent-500)}.sw .bg-sw-container{background-color:var(--color-sw-container)}.sw .bg-sw-gray-50{background-color:var(--color-sw-gray-50)}.sw .bg-sw-gray-600{background-color:var(--color-sw-gray-600)}.sw .bg-sw-gray-700{background-color:var(--color-sw-gray-700)}.sw .bg-sw-gray-800{background-color:var(--color-sw-gray-800)}.sw .bg-sw-gray-900{background-color:var(--color-sw-gray-900)}.sw .bg-sw-gray-950{background-color:var(--color-sw-gray-950)}.sw .bg-sw-status-success{background-color:var(--color-sw-status-success)}.sw .bg-transparent{background-color:#0000}.sw .p-sw-2xl{padding:var(--spacing-sw-2xl)}.sw .p-sw-lg{padding:var(--spacing-sw-lg)}.sw .p-sw-md{padding:var(--spacing-sw-md)}.sw .px-\[1px\]{padding-inline:1px}.sw .px-sw-2xl{padding-inline:var(--spacing-sw-2xl)}.sw .px-sw-3xl{padding-inline:var(--spacing-sw-3xl)}.sw .px-sw-lg{padding-inline:var(--spacing-sw-lg)}.sw .px-sw-md{padding-inline:var(--spacing-sw-md)}.sw .px-sw-sm{padding-inline:var(--spacing-sw-sm)}.sw .px-sw-xl{padding-inline:var(--spacing-sw-xl)}.sw .py-sw-2xl{padding-block:var(--spacing-sw-2xl)}.sw .py-sw-6xl{padding-block:var(--spacing-sw-6xl)}.sw .py-sw-lg{padding-block:var(--spacing-sw-lg)}.sw .py-sw-sm{padding-block:var(--spacing-sw-sm)}.sw .py-sw-xl{padding-block:var(--spacing-sw-xl)}.sw .py-sw-xs{padding-block:var(--spacing-sw-xs)}.sw .pt-sw-2xl{padding-top:var(--spacing-sw-2xl)}.sw .pt-sw-5xl{padding-top:var(--spacing-sw-5xl)}.sw .pt-sw-sm{padding-top:var(--spacing-sw-sm)}.sw .pt-sw-xl{padding-top:var(--spacing-sw-xl)}.sw .pr-sw-md{padding-right:var(--spacing-sw-md)}.sw .pb-sw-5xl{padding-bottom:var(--spacing-sw-5xl)}.sw .pb-sw-lg{padding-bottom:var(--spacing-sw-lg)}.sw .pl-sw-2xl{padding-left:var(--spacing-sw-2xl)}.sw .pl-sw-lg{padding-left:var(--spacing-sw-lg)}.sw .pl-sw-sm{padding-left:var(--spacing-sw-sm)}.sw .text-center{text-align:center}.sw .align-sub{vertical-align:sub}@layer components{.sw .text-sw-body-lg{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);letter-spacing:-.025rem;font-size:1rem;line-height:1.375rem}.sw .text-sw-body-md{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);letter-spacing:-.025rem;font-size:.875rem;line-height:1.25rem}.sw .text-sw-body-sm{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);letter-spacing:-.025rem;font-size:.75rem;line-height:1rem}.sw .text-sw-label-lg{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.025rem;font-size:1rem;line-height:1rem}.sw .text-sw-label-md{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.025rem;font-size:.875rem;line-height:1rem}.sw .text-sw-label-sm{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.01875rem;font-size:.75rem;line-height:.875rem}.sw .text-sw-value-lg{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.0625rem;font-size:2rem;line-height:2.25rem}}.sw .text-\[10px\]{font-size:10px}.sw .font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.sw .text-nowrap{text-wrap:nowrap}.sw .text-sw-accent-500{color:var(--color-sw-accent-500)}.sw .text-sw-gray-50{color:var(--color-sw-gray-50)}.sw .text-sw-gray-100{color:var(--color-sw-gray-100)}.sw .text-sw-gray-200{color:var(--color-sw-gray-200)}.sw .text-sw-gray-300{color:var(--color-sw-gray-300)}.sw .text-sw-gray-400{color:var(--color-sw-gray-400)}.sw .text-sw-gray-900{color:var(--color-sw-gray-900)}.sw .text-sw-gray-950{color:var(--color-sw-gray-950)}.sw .text-sw-status-error{color:var(--color-sw-status-error)}.sw .text-sw-status-success{color:var(--color-sw-status-success)}.sw .text-sw-status-warning{color:var(--color-sw-status-warning)}.sw .lowercase{text-transform:lowercase}.sw .opacity-0{opacity:0}.sw .opacity-50{opacity:.5}.sw .opacity-100{opacity:1}.sw .shadow-\[0_6px_48px_0_rgba\(36\,38\,45\,0\.3\)\]{--tw-shadow:0 6px 48px 0 var(--tw-shadow-color,#24262d4d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.sw .ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.sw .ring-sw-gray-600{--tw-ring-color:var(--color-sw-gray-600)}.sw .ring-sw-gray-700{--tw-ring-color:var(--color-sw-gray-700)}.sw .ring-sw-status-error{--tw-ring-color:var(--color-sw-status-error)}.sw .ring-transparent{--tw-ring-color:transparent}.sw .outline{outline-style:var(--tw-outline-style);outline-width:1px}.sw .blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.sw .grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.sw .transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .delay-0{transition-delay:0s}.sw .duration-150{--tw-duration:.15s;transition-duration:.15s}.sw .duration-250{--tw-duration:.25s;transition-duration:.25s}.sw .duration-300{--tw-duration:.3s;transition-duration:.3s}.sw .ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.sw .\[transition-timing-function\:cubic-bezier\(0\.175\,0\.885\,0\.32\,1\.275\)\]{transition-timing-function:cubic-bezier(.175,.885,.32,1.275)}.sw .outline-none{--tw-outline-style:none;outline-style:none}.sw .ring-inset{--tw-ring-inset:inset}@media (hover:hover){.sw .group-hover\:rotate-180:is(:where(.group):hover *){rotate:180deg}.sw .group-hover\:border-sw-gray-700:is(:where(.group):hover *){border-color:var(--color-sw-gray-700)}.sw .group-hover\:border-sw-gray-800:is(:where(.group):hover *){border-color:var(--color-sw-gray-800)}.sw .hover\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .hover\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .hover\:bg-sw-accent-400:hover{background-color:var(--color-sw-accent-400)}.sw .hover\:bg-sw-gray-700:hover{background-color:var(--color-sw-gray-700)}.sw .hover\:bg-sw-gray-800:hover{background-color:var(--color-sw-gray-800)}.sw .hover\:text-sw-accent-200:hover{color:var(--color-sw-accent-200)}.sw .hover\:text-sw-gray-50:hover{color:var(--color-sw-gray-50)}.sw .hover\:ring-sw-gray-100:hover{--tw-ring-color:var(--color-sw-gray-100)}}.sw .active\:scale-x-90:active{--tw-scale-x:90%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .active\:scale-y-110:active{--tw-scale-y:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .data-focus\:outline-none[data-focus]{--tw-outline-style:none;outline-style:none}@media (min-width:40rem){.sw .sm\:fixed{position:fixed}.sw .sm\:h-full{height:100%}.sw .sm\:max-h-screen{max-height:100vh}.sw .sm\:w-\[456px\]{width:456px}.sw .sm\:w-\[496px\]{width:496px}.sw .sm\:overflow-auto{overflow:auto}}}.sw{--font-family-sw:"Inter",sans-serif;--default-font-family:var(--font-family-sw)}.sw .sw{font-family:var(--font-family-sw);font-feature-settings:"liga" 1,"calt" 1}@supports (font-variation-settings:normal){.sw .sw{font-family:var(--font-family-sw)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
|
|
1
|
+
/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){.sw *,.sw :before,.sw :after,.sw ::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{.sw,.sw :host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--font-weight-medium:500;--font-weight-semibold:600;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius-full:99999px;--radius-sw-sm:var(--r-sw-sm);--radius-sw-md:var(--r-sw-md);--radius-sw-lg:var(--r-sw-lg);--color-sw-gray-50:var(--c-sw-gray-50);--color-sw-gray-100:var(--c-sw-gray-100);--color-sw-gray-200:var(--c-sw-gray-200);--color-sw-gray-300:var(--c-sw-gray-300);--color-sw-gray-400:var(--c-sw-gray-400);--color-sw-gray-600:var(--c-sw-gray-600);--color-sw-gray-700:var(--c-sw-gray-700);--color-sw-gray-800:var(--c-sw-gray-800);--color-sw-gray-900:var(--c-sw-gray-900);--color-sw-gray-950:var(--c-sw-gray-950);--color-sw-accent-200:var(--c-sw-accent-200);--color-sw-accent-400:var(--c-sw-accent-400);--color-sw-accent-500:var(--c-sw-accent-500);--color-sw-status-success:var(--c-sw-status-success);--color-sw-status-warning:var(--c-sw-status-warning);--color-sw-status-error:var(--c-sw-status-error);--color-sw-container:var(--c-sw-container);--spacing-sw-xxs:2px;--spacing-sw-xs:4px;--spacing-sw-sm:6px;--spacing-sw-md:8px;--spacing-sw-lg:12px;--spacing-sw-xl:16px;--spacing-sw-2xl:20px;--spacing-sw-3xl:24px;--spacing-sw-4xl:32px;--spacing-sw-5xl:40px;--spacing-sw-6xl:48px}}@layer base{.sw *,.sw :after,.sw :before,.sw ::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}.sw ::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}.sw,.sw :host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}.sw hr{height:0;color:inherit;border-top-width:1px}.sw abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.sw h1,.sw h2,.sw h3,.sw h4,.sw h5,.sw h6{font-size:inherit;font-weight:inherit}.sw a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}.sw b,.sw strong{font-weight:bolder}.sw code,.sw kbd,.sw samp,.sw pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}.sw small{font-size:80%}.sw sub,.sw sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}.sw sub{bottom:-.25em}.sw sup{top:-.5em}.sw table{text-indent:0;border-color:inherit;border-collapse:collapse}.sw :-moz-focusring{outline:auto}.sw progress{vertical-align:baseline}.sw summary{display:list-item}.sw ol,.sw ul,.sw menu{list-style:none}.sw img,.sw svg,.sw video,.sw canvas,.sw audio,.sw iframe,.sw embed,.sw object{vertical-align:middle;display:block}.sw img,.sw video{max-width:100%;height:auto}.sw button,.sw input,.sw select,.sw optgroup,.sw textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}.sw ::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}.sw :where(select:is([multiple],[size])) optgroup{font-weight:bolder}.sw :where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}.sw ::file-selector-button{margin-inline-end:4px}.sw ::-moz-placeholder{opacity:1}.sw ::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){.sw ::-moz-placeholder{color:currentColor}.sw ::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){.sw ::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}.sw ::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}.sw textarea{resize:vertical}.sw ::-webkit-search-decoration{-webkit-appearance:none}.sw ::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}.sw ::-webkit-datetime-edit{display:inline-flex}.sw ::-webkit-datetime-edit-fields-wrapper{padding:0}.sw ::-webkit-datetime-edit{padding-block:0}.sw ::-webkit-datetime-edit-year-field{padding-block:0}.sw ::-webkit-datetime-edit-month-field{padding-block:0}.sw ::-webkit-datetime-edit-day-field{padding-block:0}.sw ::-webkit-datetime-edit-hour-field{padding-block:0}.sw ::-webkit-datetime-edit-minute-field{padding-block:0}.sw ::-webkit-datetime-edit-second-field{padding-block:0}.sw ::-webkit-datetime-edit-millisecond-field{padding-block:0}.sw ::-webkit-datetime-edit-meridiem-field{padding-block:0}.sw ::-webkit-calendar-picker-indicator{line-height:1}.sw :-moz-ui-invalid{box-shadow:none}.sw button,.sw input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}.sw ::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}.sw ::-webkit-inner-spin-button{height:auto}.sw ::-webkit-outer-spin-button{height:auto}.sw [hidden]:where(:not([hidden=until-found])){display:none!important}.sw[data-sw-theme]{--r-sw-sm:6px;--r-sw-md:10px;--r-sw-lg:16px}.sw[data-sw-theme=light]{color-scheme:light;--c-sw-gray-50:#24262d;--c-sw-gray-100:#2e3038;--c-sw-gray-200:#41444f;--c-sw-gray-300:#555967;--c-sw-gray-400:#686d7d;--c-sw-gray-500:#7e8396;--c-sw-gray-600:#979baa;--c-sw-gray-700:#b0b3bf;--c-sw-gray-800:#caccd3;--c-sw-gray-900:#e4e5e9;--c-sw-gray-950:#f3f3f5;--c-sw-accent-50:#280045;--c-sw-accent-100:#400069;--c-sw-accent-200:#7300b7;--c-sw-accent-300:#a528ff;--c-sw-accent-400:#ba7aff;--c-sw-accent-500:#d5b7ff;--c-sw-accent-600:#dcc4ff;--c-sw-accent-700:#e6d6ff;--c-sw-accent-800:#eee4ff;--c-sw-accent-900:#f6f1ff;--c-sw-accent-950:#fbf8ff;--c-sw-status-success:#00652f;--c-sw-status-warning:#a87a04;--c-sw-status-error:#9f002b;--c-sw-container:#000}.sw[data-sw-theme=dark]{color-scheme:dark;--c-sw-gray-50:#f3f3f5;--c-sw-gray-100:#e4e5e9;--c-sw-gray-200:#caccd3;--c-sw-gray-300:#b0b3bf;--c-sw-gray-400:#979baa;--c-sw-gray-500:#7e8396;--c-sw-gray-600:#686d7d;--c-sw-gray-700:#555967;--c-sw-gray-800:#41444f;--c-sw-gray-900:#2e3038;--c-sw-gray-950:#24262d;--c-sw-accent-50:#fbf8ff;--c-sw-accent-100:#f6f1ff;--c-sw-accent-200:#eee4ff;--c-sw-accent-300:#e6d6ff;--c-sw-accent-400:#dcc4ff;--c-sw-accent-500:#d5b7ff;--c-sw-accent-600:#ba7aff;--c-sw-accent-700:#a528ff;--c-sw-accent-800:#7300b7;--c-sw-accent-900:#400069;--c-sw-accent-950:#280045;--c-sw-status-success:#98ffb5;--c-sw-status-warning:#fadfad;--c-sw-status-error:#ffb8be;--c-sw-container:#fff}.sw .hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.sw .hide-scrollbar::-webkit-scrollbar{display:none}}@layer components;@layer utilities{.sw .absolute{position:absolute}.sw .fixed{position:fixed}.sw .relative{position:relative}.sw .static{position:static}.sw .top-1\/2{top:50%}.sw .top-\[14px\]{top:14px}.sw .top-\[19px\]{top:19px}.sw .top-sw-2xl{top:var(--spacing-sw-2xl)}.sw .right-\[-4px\]{right:-4px}.sw .right-sw-2xl{right:var(--spacing-sw-2xl)}.sw .left-1\/2{left:50%}.sw .z-1{z-index:1}.sw .z-10{z-index:10}.sw .container{width:100%}@media (min-width:40rem){.sw .container{max-width:40rem}}@media (min-width:48rem){.sw .container{max-width:48rem}}@media (min-width:64rem){.sw .container{max-width:64rem}}@media (min-width:80rem){.sw .container{max-width:80rem}}@media (min-width:96rem){.sw .container{max-width:96rem}}.sw .m-sw-lg{margin:var(--spacing-sw-lg)}.sw .mx-auto{margin-inline:auto}.sw .my-sw-sm{margin-block:var(--spacing-sw-sm)}.sw .mt-sw-2xl{margin-top:var(--spacing-sw-2xl)}.sw .mt-sw-lg{margin-top:var(--spacing-sw-lg)}.sw .mt-sw-xl{margin-top:var(--spacing-sw-xl)}.sw .mt-sw-xs{margin-top:var(--spacing-sw-xs)}.sw .mr-auto{margin-right:auto}.sw .mr-sw-md{margin-right:var(--spacing-sw-md)}.sw .mb-sw-2xl{margin-bottom:var(--spacing-sw-2xl)}.sw .mb-sw-md{margin-bottom:var(--spacing-sw-md)}.sw .mb-sw-xl{margin-bottom:var(--spacing-sw-xl)}.sw .ml-auto{margin-left:auto}.sw .ml-sw-lg{margin-left:var(--spacing-sw-lg)}.sw .flex{display:flex}.sw .hidden{display:none}.sw .inline{display:inline}.sw .inline-block{display:inline-block}.sw .h-\[1px\]{height:1px}.sw .h-\[7px\]{height:7px}.sw .h-\[12px\]{height:12px}.sw .h-\[16px\]{height:16px}.sw .h-\[17px\]{height:17px}.sw .h-\[20px\]{height:20px}.sw .h-\[34px\]{height:34px}.sw .h-\[36px\]{height:36px}.sw .h-\[40px\]{height:40px}.sw .h-\[44px\]{height:44px}.sw .h-\[48px\]{height:48px}.sw .h-\[108px\]{height:108px}.sw .h-\[116px\]{height:116px}.sw .h-\[120px\]{height:120px}.sw .h-\[152px\]{height:152px}.sw .h-\[165px\]{height:165px}.sw .h-\[180px\]{height:180px}.sw .h-fit{height:-moz-fit-content;height:fit-content}.sw .h-sw-2xl{height:var(--spacing-sw-2xl)}.sw .h-sw-4xl{height:var(--spacing-sw-4xl)}.sw .h-sw-lg{height:var(--spacing-sw-lg)}.sw .h-sw-xl{height:var(--spacing-sw-xl)}.sw .max-h-\[400px\]{max-height:400px}.sw .min-h-\[200px\]{min-height:200px}.sw .min-h-screen{min-height:100vh}.sw .min-h-sw-2xl{min-height:var(--spacing-sw-2xl)}.sw .w-\[7px\]{width:7px}.sw .w-\[16px\]{width:16px}.sw .w-\[34px\]{width:34px}.sw .w-\[36px\]{width:36px}.sw .w-\[40px\]{width:40px}.sw .w-\[60px\]{width:60px}.sw .w-\[100px\]{width:100px}.sw .w-\[180px\]{width:180px}.sw .w-\[200px\]{width:200px}.sw .w-auto{width:auto}.sw .w-fit{width:-moz-fit-content;width:fit-content}.sw .w-full{width:100%}.sw .w-sw-2xl{width:var(--spacing-sw-2xl)}.sw .w-sw-4xl{width:var(--spacing-sw-4xl)}.sw .w-sw-lg{width:var(--spacing-sw-lg)}.sw .w-sw-xl{width:var(--spacing-sw-xl)}.sw .max-w-\[80\%\]{max-width:80%}.sw .max-w-\[265px\]{max-width:265px}.sw .max-w-\[456px\]{max-width:456px}.sw .max-w-\[496px\]{max-width:496px}.sw .min-w-\[80px\]{min-width:80px}.sw .min-w-\[100px\]{min-width:100px}.sw .min-w-\[200px\]{min-width:200px}.sw .min-w-\[270px\]{min-width:270px}.sw .min-w-full{min-width:100%}.sw .min-w-max{min-width:-moz-max-content;min-width:max-content}.sw .shrink-0{flex-shrink:0}.sw .-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.sw .-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.sw .scale-80{--tw-scale-x:80%;--tw-scale-y:80%;--tw-scale-z:80%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .-rotate-90{rotate:-90deg}.sw .rotate-90{rotate:90deg}.sw .transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.sw .animate-pulse{animation:var(--animate-pulse)}.sw .animate-spin{animation:var(--animate-spin)}.sw .cursor-default{cursor:default}.sw .cursor-not-allowed{cursor:not-allowed}.sw .cursor-pointer{cursor:pointer}.sw .list-none{list-style-type:none}.sw .flex-col{flex-direction:column}.sw .flex-wrap{flex-wrap:wrap}.sw .items-center{align-items:center}.sw .items-end{align-items:flex-end}.sw .justify-between{justify-content:space-between}.sw .justify-center{justify-content:center}.sw .justify-end{justify-content:flex-end}.sw .gap-\[10px\]{gap:10px}.sw .gap-sw-2xl{gap:var(--spacing-sw-2xl)}.sw .gap-sw-4xl{gap:var(--spacing-sw-4xl)}.sw .gap-sw-lg{gap:var(--spacing-sw-lg)}.sw .gap-sw-md{gap:var(--spacing-sw-md)}.sw .gap-sw-sm{gap:var(--spacing-sw-sm)}.sw .gap-sw-xl{gap:var(--spacing-sw-xl)}.sw .gap-sw-xs{gap:var(--spacing-sw-xs)}.sw .gap-sw-xxs{gap:var(--spacing-sw-xxs)}.sw .gap-x-\[2px\]{-moz-column-gap:2px;column-gap:2px}.sw :where(.space-x-\[10px\]>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(10px*var(--tw-space-x-reverse));margin-inline-end:calc(10px*calc(1 - var(--tw-space-x-reverse)))}.sw .overflow-hidden{overflow:hidden}.sw .rounded-\[2px\]{border-radius:2px}.sw .rounded-full{border-radius:3.40282e38px;border-radius:var(--radius-full)}.sw .rounded-sw-lg{border-radius:var(--radius-sw-lg)}.sw .rounded-sw-md{border-radius:var(--radius-sw-md)}.sw .rounded-sw-sm{border-radius:var(--radius-sw-sm)}.sw .border-2{border-style:var(--tw-border-style);border-width:2px}.sw .border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.sw .border-none{--tw-border-style:none;border-style:none}.sw .border-sw-gray-800{border-color:var(--color-sw-gray-800)}.sw .border-sw-gray-900{border-color:var(--color-sw-gray-900)}.sw .bg-\[\#fff\]{background-color:#fff}.sw .bg-sw-accent-500{background-color:var(--color-sw-accent-500)}.sw .bg-sw-container{background-color:var(--color-sw-container)}.sw .bg-sw-gray-50{background-color:var(--color-sw-gray-50)}.sw .bg-sw-gray-600{background-color:var(--color-sw-gray-600)}.sw .bg-sw-gray-700{background-color:var(--color-sw-gray-700)}.sw .bg-sw-gray-800{background-color:var(--color-sw-gray-800)}.sw .bg-sw-gray-900{background-color:var(--color-sw-gray-900)}.sw .bg-sw-gray-950{background-color:var(--color-sw-gray-950)}.sw .bg-sw-status-success{background-color:var(--color-sw-status-success)}.sw .bg-transparent{background-color:#0000}.sw .p-sw-2xl{padding:var(--spacing-sw-2xl)}.sw .p-sw-lg{padding:var(--spacing-sw-lg)}.sw .p-sw-md{padding:var(--spacing-sw-md)}.sw .px-\[1px\]{padding-inline:1px}.sw .px-sw-2xl{padding-inline:var(--spacing-sw-2xl)}.sw .px-sw-3xl{padding-inline:var(--spacing-sw-3xl)}.sw .px-sw-lg{padding-inline:var(--spacing-sw-lg)}.sw .px-sw-md{padding-inline:var(--spacing-sw-md)}.sw .px-sw-sm{padding-inline:var(--spacing-sw-sm)}.sw .px-sw-xl{padding-inline:var(--spacing-sw-xl)}.sw .py-\[10px\]{padding-block:10px}.sw .py-sw-2xl{padding-block:var(--spacing-sw-2xl)}.sw .py-sw-6xl{padding-block:var(--spacing-sw-6xl)}.sw .py-sw-lg{padding-block:var(--spacing-sw-lg)}.sw .py-sw-sm{padding-block:var(--spacing-sw-sm)}.sw .py-sw-xl{padding-block:var(--spacing-sw-xl)}.sw .py-sw-xs{padding-block:var(--spacing-sw-xs)}.sw .pt-sw-2xl{padding-top:var(--spacing-sw-2xl)}.sw .pt-sw-5xl{padding-top:var(--spacing-sw-5xl)}.sw .pt-sw-sm{padding-top:var(--spacing-sw-sm)}.sw .pt-sw-xl{padding-top:var(--spacing-sw-xl)}.sw .pr-sw-md{padding-right:var(--spacing-sw-md)}.sw .pb-sw-5xl{padding-bottom:var(--spacing-sw-5xl)}.sw .pb-sw-lg{padding-bottom:var(--spacing-sw-lg)}.sw .pl-sw-2xl{padding-left:var(--spacing-sw-2xl)}.sw .pl-sw-lg{padding-left:var(--spacing-sw-lg)}.sw .pl-sw-sm{padding-left:var(--spacing-sw-sm)}.sw .text-center{text-align:center}.sw .align-sub{vertical-align:sub}@layer components{.sw .text-sw-body-lg{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);letter-spacing:-.025rem;font-size:1rem;line-height:1.375rem}.sw .text-sw-body-md{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);letter-spacing:-.025rem;font-size:.875rem;line-height:1.25rem}.sw .text-sw-body-sm{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);letter-spacing:-.025rem;font-size:.75rem;line-height:1rem}.sw .text-sw-label-lg{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.025rem;font-size:1rem;line-height:1rem}.sw .text-sw-label-md{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.025rem;font-size:.875rem;line-height:1rem}.sw .text-sw-label-sm{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.01875rem;font-size:.75rem;line-height:.875rem}.sw .text-sw-value-lg{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.0625rem;font-size:2rem;line-height:2.25rem}}.sw .text-\[10px\]{font-size:10px}.sw .font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.sw .text-nowrap{text-wrap:nowrap}.sw .text-sw-accent-500{color:var(--color-sw-accent-500)}.sw .text-sw-gray-50{color:var(--color-sw-gray-50)}.sw .text-sw-gray-100{color:var(--color-sw-gray-100)}.sw .text-sw-gray-200{color:var(--color-sw-gray-200)}.sw .text-sw-gray-300{color:var(--color-sw-gray-300)}.sw .text-sw-gray-400{color:var(--color-sw-gray-400)}.sw .text-sw-gray-900{color:var(--color-sw-gray-900)}.sw .text-sw-gray-950{color:var(--color-sw-gray-950)}.sw .text-sw-status-error{color:var(--color-sw-status-error)}.sw .text-sw-status-success{color:var(--color-sw-status-success)}.sw .text-sw-status-warning{color:var(--color-sw-status-warning)}.sw .lowercase{text-transform:lowercase}.sw .opacity-0{opacity:0}.sw .opacity-50{opacity:.5}.sw .opacity-100{opacity:1}.sw .shadow-\[0_6px_48px_0_rgba\(36\,38\,45\,0\.3\)\]{--tw-shadow:0 6px 48px 0 var(--tw-shadow-color,#24262d4d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.sw .ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.sw .ring-sw-gray-600{--tw-ring-color:var(--color-sw-gray-600)}.sw .ring-sw-gray-700{--tw-ring-color:var(--color-sw-gray-700)}.sw .ring-sw-status-error{--tw-ring-color:var(--color-sw-status-error)}.sw .ring-transparent{--tw-ring-color:transparent}.sw .outline{outline-style:var(--tw-outline-style);outline-width:1px}.sw .blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.sw .grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.sw .transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .delay-0{transition-delay:0s}.sw .duration-150{--tw-duration:.15s;transition-duration:.15s}.sw .duration-250{--tw-duration:.25s;transition-duration:.25s}.sw .duration-300{--tw-duration:.3s;transition-duration:.3s}.sw .ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.sw .\[transition-timing-function\:cubic-bezier\(0\.175\,0\.885\,0\.32\,1\.275\)\]{transition-timing-function:cubic-bezier(.175,.885,.32,1.275)}.sw .outline-none{--tw-outline-style:none;outline-style:none}.sw .ring-inset{--tw-ring-inset:inset}@media (hover:hover){.sw .group-hover\:rotate-180:is(:where(.group):hover *){rotate:180deg}.sw .group-hover\:border-sw-gray-700:is(:where(.group):hover *){border-color:var(--color-sw-gray-700)}.sw .group-hover\:border-sw-gray-800:is(:where(.group):hover *){border-color:var(--color-sw-gray-800)}.sw .hover\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .hover\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .hover\:bg-sw-accent-400:hover{background-color:var(--color-sw-accent-400)}.sw .hover\:bg-sw-gray-700:hover{background-color:var(--color-sw-gray-700)}.sw .hover\:bg-sw-gray-800:hover{background-color:var(--color-sw-gray-800)}.sw .hover\:text-sw-accent-200:hover{color:var(--color-sw-accent-200)}.sw .hover\:text-sw-gray-50:hover{color:var(--color-sw-gray-50)}.sw .hover\:ring-sw-gray-100:hover{--tw-ring-color:var(--color-sw-gray-100)}}.sw .active\:scale-x-90:active{--tw-scale-x:90%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .active\:scale-y-110:active{--tw-scale-y:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .data-focus\:outline-none[data-focus]{--tw-outline-style:none;outline-style:none}@media (min-width:40rem){.sw .sm\:fixed{position:fixed}.sw .sm\:h-full{height:100%}.sw .sm\:max-h-screen{max-height:100vh}.sw .sm\:w-\[456px\]{width:456px}.sw .sm\:w-\[496px\]{width:496px}.sw .sm\:overflow-auto{overflow:auto}}}.sw{--font-family-sw:"Inter",sans-serif;--default-font-family:var(--font-family-sw)}.sw .sw{font-family:var(--font-family-sw);font-feature-settings:"liga" 1,"calt" 1}@supports (font-variation-settings:normal){.sw .sw{font-family:var(--font-family-sw)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
|
package/dist/types/chain.d.ts
CHANGED
|
@@ -9,4 +9,8 @@ export type ChainsFilter = {
|
|
|
9
9
|
intents: 'none' | 'all' | 'with-balance';
|
|
10
10
|
external: 'none' | 'all' | 'wallet-supported';
|
|
11
11
|
};
|
|
12
|
+
export type ChainsFilters = {
|
|
13
|
+
target: ChainsFilter;
|
|
14
|
+
source: ChainsFilter;
|
|
15
|
+
};
|
|
12
16
|
export type ChainRpcUrls = Partial<Record<Chains, string[]>>;
|
package/dist/types/config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Quote, QuoteRequest } from '@defuse-protocol/one-click-sdk-typescript';
|
|
2
|
-
import { Chains
|
|
2
|
+
import { Chains } from './chain';
|
|
3
3
|
import { SimpleToken, Token } from './token';
|
|
4
4
|
import { FetchQuoteOptions } from './quote';
|
|
5
5
|
export type WalletAddresses = Partial<Record<Chains | 'default', string | null>>;
|
|
@@ -8,6 +8,7 @@ export type PriorityAssets = ReadonlyArray<string> | ReadonlyArray<readonly [Cha
|
|
|
8
8
|
export type WidgetConfig = {
|
|
9
9
|
appName: string;
|
|
10
10
|
appIcon?: string;
|
|
11
|
+
enableAccountAbstraction?: boolean;
|
|
11
12
|
intentsAccountType?: IntentsAccountType;
|
|
12
13
|
walletSupportedChains: ReadonlyArray<Chains>;
|
|
13
14
|
connectedWallets: WalletAddresses;
|
|
@@ -32,10 +33,6 @@ export type WidgetConfig = {
|
|
|
32
33
|
allowedSourceChainsList?: Chains[];
|
|
33
34
|
allowedTargetChainsList?: Chains[];
|
|
34
35
|
topChainShortcuts?: (intentsAccountType?: IntentsAccountType) => [Chains, Chains, Chains, Chains];
|
|
35
|
-
chainsFilter: {
|
|
36
|
-
source: ChainsFilter;
|
|
37
|
-
target: ChainsFilter;
|
|
38
|
-
};
|
|
39
36
|
fetchQuote?: (data: QuoteRequest, options: FetchQuoteOptions) => Promise<Quote>;
|
|
40
37
|
fetchSourceTokens?: () => Promise<SimpleToken[]>;
|
|
41
38
|
fetchTargetTokens?: () => Promise<SimpleToken[]>;
|
|
@@ -44,4 +41,5 @@ export type WidgetConfig = {
|
|
|
44
41
|
hideSendAddress?: boolean;
|
|
45
42
|
hideTokenInputHeadings?: boolean;
|
|
46
43
|
themeParentElementSelector?: string;
|
|
44
|
+
lockSwapDirection?: boolean;
|
|
47
45
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Msg as SwapMsg, Props as WidgetSwapProps } from '../WidgetSwap/WidgetSwapContent';
|
|
2
|
+
import { Msg as DepositMsg, Props as WidgetDepositProps } from '../WidgetDeposit/WidgetDepositContent';
|
|
3
|
+
import { Props as WidgetWithdrawProps, Msg as WithdrawMsg } from '../WidgetWithdraw/WidgetWithdrawContent';
|
|
4
|
+
type WidgetType = 'swap' | 'deposit' | 'withdraw';
|
|
5
|
+
export type Props = Omit<WidgetSwapProps | WidgetDepositProps | WidgetWithdrawProps, 'onMsg'> & {
|
|
6
|
+
onMsg?: (msg: Msg, widget: WidgetType) => void;
|
|
7
|
+
};
|
|
8
|
+
type Msg = SwapMsg | DepositMsg | WithdrawMsg;
|
|
9
|
+
export declare const WidgetContent: ({ onMsg, ...restProps }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsxs as u, Fragment as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as c, useEffect as w } from "react";
|
|
3
|
+
import { WidgetTabs as b } from "../../components/WidgetTabs.js";
|
|
4
|
+
import { WidgetSwapContent as g } from "../WidgetSwap/WidgetSwapContent.js";
|
|
5
|
+
import { WidgetDepositContent as h } from "../WidgetDeposit/WidgetDepositContent.js";
|
|
6
|
+
import { WidgetWithdrawContent as T } from "../WidgetWithdraw/WidgetWithdrawContent.js";
|
|
7
|
+
import { y as W } from "../../config-0TjbjBo5.js";
|
|
8
|
+
const j = ({ onMsg: p, ...o }) => {
|
|
9
|
+
const [d, i] = c(!0), [r, a] = c("swap"), { enableAccountAbstraction: n } = W(), f = (t) => {
|
|
10
|
+
a(t);
|
|
11
|
+
}, s = (t, m) => {
|
|
12
|
+
t.type === "on_tokens_modal_toggled" && i(!t.isOpen), t.type === "on_select_token" && i(!0), p?.(t, m);
|
|
13
|
+
};
|
|
14
|
+
return w(() => {
|
|
15
|
+
n || a("swap");
|
|
16
|
+
}, [n]), /* @__PURE__ */ u(l, { children: [
|
|
17
|
+
n && d && /* @__PURE__ */ e(b, { activeTab: r, onSelect: f }),
|
|
18
|
+
(() => {
|
|
19
|
+
switch (r) {
|
|
20
|
+
case "swap":
|
|
21
|
+
return /* @__PURE__ */ e(
|
|
22
|
+
g,
|
|
23
|
+
{
|
|
24
|
+
...o,
|
|
25
|
+
onMsg: (t) => {
|
|
26
|
+
s(t, "swap");
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
case "deposit":
|
|
31
|
+
return /* @__PURE__ */ e(
|
|
32
|
+
h,
|
|
33
|
+
{
|
|
34
|
+
...o,
|
|
35
|
+
onMsg: (t) => {
|
|
36
|
+
s(t, "deposit");
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
case "withdraw":
|
|
41
|
+
return /* @__PURE__ */ e(
|
|
42
|
+
T,
|
|
43
|
+
{
|
|
44
|
+
...o,
|
|
45
|
+
onMsg: (t) => {
|
|
46
|
+
s(t, "withdraw");
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
default:
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
})()
|
|
54
|
+
] });
|
|
55
|
+
};
|
|
56
|
+
export {
|
|
57
|
+
j as WidgetContent
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=WidgetContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WidgetContent.js","sources":["../../../src/widgets/Widget/WidgetContent.tsx"],"sourcesContent":["'use client';\n\nimport { useEffect, useState } from 'react';\nimport { WidgetTab, WidgetTabs } from '../../components/WidgetTabs';\nimport {\n Msg as SwapMsg,\n WidgetSwapContent,\n Props as WidgetSwapProps,\n} from '../WidgetSwap/WidgetSwapContent';\nimport {\n Msg as DepositMsg,\n WidgetDepositContent,\n Props as WidgetDepositProps,\n} from '../WidgetDeposit/WidgetDepositContent';\nimport {\n WidgetWithdrawContent,\n Props as WidgetWithdrawProps,\n Msg as WithdrawMsg,\n} from '../WidgetWithdraw/WidgetWithdrawContent';\nimport { useConfig } from '../../config';\n\ntype WidgetType = 'swap' | 'deposit' | 'withdraw';\n\nexport type Props = Omit<\n WidgetSwapProps | WidgetDepositProps | WidgetWithdrawProps,\n 'onMsg'\n> & {\n onMsg?: (msg: Msg, widget: WidgetType) => void;\n};\n\ntype Msg = SwapMsg | DepositMsg | WithdrawMsg;\n\nexport const WidgetContent = ({ onMsg, ...restProps }: Props) => {\n const [isTabsVisible, setIsTabsVisible] = useState(true);\n const [activeTab, setActiveTab] = useState<WidgetTab>('swap');\n const { enableAccountAbstraction } = useConfig();\n\n const switchTab = (tab: WidgetTab) => {\n setActiveTab(tab);\n };\n\n const handleMsg = <T extends Msg>(msg: T, widgetType: WidgetType) => {\n if (msg.type === 'on_tokens_modal_toggled') {\n setIsTabsVisible(!msg.isOpen);\n }\n\n if (msg.type === 'on_select_token') {\n setIsTabsVisible(true);\n }\n\n onMsg?.(msg, widgetType);\n };\n\n useEffect(() => {\n if (!enableAccountAbstraction) {\n setActiveTab('swap');\n }\n }, [enableAccountAbstraction]);\n\n return (\n <>\n {enableAccountAbstraction && isTabsVisible && (\n <WidgetTabs activeTab={activeTab} onSelect={switchTab} />\n )}\n\n {(() => {\n switch (activeTab) {\n case 'swap': {\n return (\n <WidgetSwapContent\n {...restProps}\n onMsg={(msg) => {\n handleMsg(msg, 'swap');\n }}\n />\n );\n }\n\n case 'deposit': {\n return (\n <WidgetDepositContent\n {...restProps}\n onMsg={(msg) => {\n handleMsg(msg, 'deposit');\n }}\n />\n );\n }\n\n case 'withdraw': {\n return (\n <WidgetWithdrawContent\n {...restProps}\n onMsg={(msg) => {\n handleMsg(msg, 'withdraw');\n }}\n />\n );\n }\n\n default:\n return null;\n }\n })()}\n </>\n );\n};\n"],"names":["WidgetContent","onMsg","restProps","isTabsVisible","setIsTabsVisible","useState","activeTab","setActiveTab","enableAccountAbstraction","useConfig","switchTab","tab","handleMsg","msg","widgetType","useEffect","jsxs","Fragment","jsx","WidgetTabs","WidgetSwapContent","WidgetDepositContent","WidgetWithdrawContent"],"mappings":";;;;;;;AAgCO,MAAMA,IAAgB,CAAC,EAAE,OAAAC,GAAO,GAAGC,QAAuB;AAC/D,QAAM,CAACC,GAAeC,CAAgB,IAAIC,EAAS,EAAI,GACjD,CAACC,GAAWC,CAAY,IAAIF,EAAoB,MAAM,GACtD,EAAE,0BAAAG,EAAA,IAA6BC,EAAA,GAE/BC,IAAY,CAACC,MAAmB;AACpC,IAAAJ,EAAaI,CAAG;AAAA,EAClB,GAEMC,IAAY,CAAgBC,GAAQC,MAA2B;AACnE,IAAID,EAAI,SAAS,6BACfT,EAAiB,CAACS,EAAI,MAAM,GAG1BA,EAAI,SAAS,qBACfT,EAAiB,EAAI,GAGvBH,IAAQY,GAAKC,CAAU;AAAA,EACzB;AAEA,SAAAC,EAAU,MAAM;AACd,IAAKP,KACHD,EAAa,MAAM;AAAA,EAEvB,GAAG,CAACC,CAAwB,CAAC,GAG3B,gBAAAQ,EAAAC,GAAA,EACG,UAAA;AAAA,IAAAT,KAA4BL,KAC3B,gBAAAe,EAACC,GAAA,EAAW,WAAAb,GAAsB,UAAUI,GAAW;AAAA,KAGvD,MAAM;AACN,cAAQJ,GAAA;AAAA,QACN,KAAK;AACH,iBACE,gBAAAY;AAAA,YAACE;AAAA,YAAA;AAAA,cACE,GAAGlB;AAAA,cACJ,OAAO,CAACW,MAAQ;AACd,gBAAAD,EAAUC,GAAK,MAAM;AAAA,cACvB;AAAA,YAAA;AAAA,UAAA;AAAA,QAKN,KAAK;AACH,iBACE,gBAAAK;AAAA,YAACG;AAAA,YAAA;AAAA,cACE,GAAGnB;AAAA,cACJ,OAAO,CAACW,MAAQ;AACd,gBAAAD,EAAUC,GAAK,SAAS;AAAA,cAC1B;AAAA,YAAA;AAAA,UAAA;AAAA,QAKN,KAAK;AACH,iBACE,gBAAAK;AAAA,YAACI;AAAA,YAAA;AAAA,cACE,GAAGpB;AAAA,cACJ,OAAO,CAACW,MAAQ;AACd,gBAAAD,EAAUC,GAAK,UAAU;AAAA,cAC3B;AAAA,YAAA;AAAA,UAAA;AAAA,QAKN;AACE,iBAAO;AAAA,MAAA;AAAA,IAEb,GAAA;AAAA,EAAG,GACL;AAEJ;"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { WidgetContainerProps } from '../../components/WidgetContainer';
|
|
2
|
+
import { Props } from './WidgetContent';
|
|
3
|
+
export type WidgetProps = Props & Omit<WidgetContainerProps, 'children'>;
|
|
4
|
+
export declare const Widget: ({ HeaderComponent, FooterComponent, isFullPage, className, ...widgetProps }: WidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { WidgetContainer as n } from "../../components/WidgetContainer.js";
|
|
3
|
+
import { WidgetContent as d } from "./WidgetContent.js";
|
|
4
|
+
const W = ({
|
|
5
|
+
HeaderComponent: o,
|
|
6
|
+
FooterComponent: r,
|
|
7
|
+
isFullPage: i,
|
|
8
|
+
className: e,
|
|
9
|
+
...m
|
|
10
|
+
}) => /* @__PURE__ */ t(
|
|
11
|
+
n,
|
|
12
|
+
{
|
|
13
|
+
className: e,
|
|
14
|
+
isFullPage: i,
|
|
15
|
+
HeaderComponent: o,
|
|
16
|
+
FooterComponent: r,
|
|
17
|
+
children: /* @__PURE__ */ t(d, { ...m })
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
export {
|
|
21
|
+
W as Widget
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/widgets/Widget/index.tsx"],"sourcesContent":["import {\n WidgetContainer,\n WidgetContainerProps,\n} from '../../components/WidgetContainer';\nimport { Props, WidgetContent } from './WidgetContent';\n\nexport type WidgetProps = Props & Omit<WidgetContainerProps, 'children'>;\n\nexport const Widget = ({\n HeaderComponent,\n FooterComponent,\n isFullPage,\n className,\n ...widgetProps\n}: WidgetProps) => (\n <WidgetContainer\n className={className}\n isFullPage={isFullPage}\n HeaderComponent={HeaderComponent}\n FooterComponent={FooterComponent}>\n <WidgetContent {...widgetProps} />\n </WidgetContainer>\n);\n"],"names":["Widget","HeaderComponent","FooterComponent","isFullPage","className","widgetProps","jsx","WidgetContainer","WidgetContent"],"mappings":";;;AAQO,MAAMA,IAAS,CAAC;AAAA,EACrB,iBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACL,MACE,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,WAAAH;AAAA,IACA,YAAAD;AAAA,IACA,iBAAAF;AAAA,IACA,iBAAAC;AAAA,IACA,UAAA,gBAAAI,EAACE,GAAA,EAAe,GAAGH,EAAA,CAAa;AAAA,EAAA;AAClC;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommonWidgetProps, TokenInputType } from '../types';
|
|
2
2
|
import { Token } from '../../types';
|
|
3
|
-
type Msg = {
|
|
3
|
+
export type Msg = {
|
|
4
4
|
type: 'on_select_token';
|
|
5
5
|
token: Token;
|
|
6
6
|
variant: TokenInputType;
|
|
@@ -15,4 +15,3 @@ type Msg = {
|
|
|
15
15
|
};
|
|
16
16
|
export type Props = CommonWidgetProps<Msg>;
|
|
17
17
|
export declare const WidgetDepositContent: ({ providers, onMsg, makeTransfer, isLoading, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export {};
|