@yahoo/uds 0.2.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/README.md +78 -131
- package/cli/commands/purge.ts +7 -3
- package/cli/env.d.ts +1 -0
- package/cli/preload.ts +10 -0
- package/cli/utils/purgeCSS.test.ts +88 -8
- package/cli/utils/purgeCSS.ts +165 -15
- package/dist/Image.native-B3I4JoH3.d.cts +38 -0
- package/dist/Image.native-DUAFJodS.d.ts +38 -0
- package/dist/VStack-BHlRUsOR.d.cts +103 -0
- package/dist/VStack-DMb_RGRS.d.ts +103 -0
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.d.cts +8 -8
- package/dist/experimental/index.d.ts +8 -8
- package/dist/experimental/index.js +1 -1
- package/dist/experimental/index.native.cjs +1 -1
- package/dist/experimental/index.native.d.cts +3 -3
- package/dist/experimental/index.native.d.ts +3 -3
- package/dist/experimental/index.native.js +1 -1
- package/dist/fixtures.cjs +1946 -0
- package/dist/fixtures.d.ts +81 -0
- package/dist/fixtures.js +1910 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +41 -236
- package/dist/index.d.ts +41 -236
- package/dist/index.js +1 -1
- package/dist/{index.native-CisPq4BI.d.ts → index.native-BTfOSmUx.d.ts} +1 -1
- package/dist/{index.native-DJlx-bfM.d.cts → index.native-Bm-r2Dpa.d.cts} +1 -1
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +20 -83
- package/dist/index.native.d.ts +20 -83
- package/dist/index.native.js +1 -1
- package/dist/styles/globals.css +0 -1
- package/dist/styles/toast.css +1 -0
- package/dist/styles/toast.d.cts +2 -0
- package/dist/styles/toast.d.ts +2 -0
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +8 -2
- package/dist/tailwindPlugin.d.ts +8 -2
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tailwindPurge/utils.cjs +1 -0
- package/dist/tailwindPurge/utils.d.cts +25 -0
- package/dist/tailwindPurge/utils.d.ts +25 -0
- package/dist/tailwindPurge/utils.js +1 -0
- package/dist/tailwindPurge.cjs +1 -1
- package/dist/tailwindPurge.d.cts +5 -1
- package/dist/tailwindPurge.d.ts +5 -1
- package/dist/tailwindPurge.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +2 -2
- package/dist/tokens/index.d.ts +2 -2
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/index.native.cjs +1 -1
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/index.native.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +8 -18
- package/dist/tokens/parseTokens.d.ts +8 -18
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/tokens/parseTokens.native.cjs +1 -1
- package/dist/tokens/parseTokens.native.d.cts +4 -21
- package/dist/tokens/parseTokens.native.d.ts +4 -21
- package/dist/tokens/parseTokens.native.js +1 -1
- package/dist/{types-CzJpH_Oi.d.cts → types-COiuE8XK.d.cts} +49 -138
- package/dist/{types-CzJpH_Oi.d.ts → types-COiuE8XK.d.ts} +49 -138
- package/package.json +26 -11
- package/dist/Image.native-C6kOWgnf.d.ts +0 -38
- package/dist/Image.native-VeXt5aeI.d.cts +0 -38
- package/dist/VStack-BSD9TbBd.d.cts +0 -114
- package/dist/VStack-Dk3-8IyU.d.ts +0 -114
- package/dist/fixtures/index.cjs +0 -1
- package/dist/fixtures/index.d.cts +0 -154
- package/dist/fixtures/index.d.ts +0 -154
- package/dist/fixtures/index.js +0 -1
package/dist/index.native.d.ts
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import {
|
3
|
-
export { A as AlwaysPalette,
|
4
|
-
import * as react_native from 'react-native';
|
2
|
+
import { aS as UniversalBoxProps, l as UniversalStackProps, aU as UniversalTextProps, m as UniversalIconProps, M as ColorModeForApp, C as ColorMode, aC as ScaleModeForApp, S as ScaleMode, ar as Modes, U as UniversalTokensConfig, w as BackgroundStyleProps, z as BorderStyleProps, ag as LayoutStyleProps, a1 as FlexStyleProps, aG as SpacingStyleProps, aL as TextStyleProps, aD as SizingStyleProps, af as ImageStyleProps, P as CustomSizingStyleProps, t as AvatarSizeConfig, ae as IconSizeConfig, aF as SpacingConfig, y as BorderRadiusConfig, E as BorderWidthConfig, a3 as FontFamilyConfig, a6 as FontSizeConfig, d as FontWeightConfig, al as LineHeightConfig, aN as TextTransformConfig, f as FontFamilyGlobalConfig, aK as StyleProps } from './types-COiuE8XK.js';
|
3
|
+
export { A as AlwaysPalette, o as AlwaysPaletteAlias, p as Animation, q as AriaAttribute, r as AvatarShape, s as AvatarSize, u as BackgroundColor, v as BackgroundPalette, B as BackgroundPaletteAlias, x as BorderRadius, D as BorderWidth, G as BoxShadowConfig, I as ButtonSize, J as ButtonVariant, K as ColorModeConfig, a as ColorsConfig, N as ConfigurableTextProperty, O as CorePalette, c as CorePaletteAlias, Q as DataAttribute, R as Display, T as Flex, V as FlexAlignContent, W as FlexAlignItems, X as FlexAlignSelf, Y as FlexBasis, Z as FlexDirection, _ as FlexGrow, $ as FlexJustifyContent, a0 as FlexShrink, a2 as FlexWrap, a4 as FontFamilyGlobalAlias, a5 as FontSize, a7 as FontWeightDescriptive, e as FontWeightNumeric, a8 as ForegroundColor, a9 as ForegroundPalette, F as ForegroundPaletteAlias, aa as Height, ab as HighContrastMode, H as Hue, b as HueStep, ac as IconName, ad as IconSize, ah as LetterSpacing, ai as LineClampAlias, aj as LineColor, ak as LineHeight, am as LinePalette, L as LinePaletteAlias, an as MaxHeight, ao as MaxWidth, ap as MinHeight, aq as MinWidth, as as Overflow, at as Palette, au as PaletteConfig, av as PaletteType, aw as PaletteValue, ax as PlatformMode, ay as Position, az as RegionMode, aA as ScaleConfig, aB as ScaleModeConfig, aE as SpacingAlias, aH as SpectrumColor, aI as SpectrumConfig, aJ as StateStyleProps, aM as TextTransform, aO as TextVariant, aP as TransitionDelay, aQ as TransitionDuration, aR as TransitionTiming, g as UniversalAvatarProps, h as UniversalButtonProps, j as UniversalIconButtonProps, k as UniversalImageProps, i as UniversalPressableProps, aT as UniversalTextInputProps, aV as Width, n as alwaysPalette } from './types-COiuE8XK.js';
|
5
4
|
import { ViewProps, View, TextProps as TextProps$1, Text as Text$1, ScrollViewProps, ScrollView, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
6
|
-
export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-
|
5
|
+
export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-DUAFJodS.js';
|
7
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
8
7
|
import { S as SetState, a as CVA } from './types-FO65RM-W.js';
|
9
8
|
import { EdgeInsets } from 'react-native-safe-area-context';
|
10
9
|
import { ImageStyle } from 'expo-image';
|
11
|
-
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-
|
10
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-BTfOSmUx.js';
|
12
11
|
export { AVATAR_SIZE_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, SMALL_SCALE_MODE_CLASSNAME, SPACING_PREFIX, SPECTRUM_COLOR_PREFIX, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, entries } from './tokens/index.js';
|
13
12
|
|
14
13
|
interface BoxProps extends UniversalBoxProps, ViewProps {
|
@@ -22,7 +21,8 @@ interface BoxProps extends UniversalBoxProps, ViewProps {
|
|
22
21
|
export function BoxDemo() {
|
23
22
|
return (
|
24
23
|
<Box
|
25
|
-
|
24
|
+
borderWidth="thin"
|
25
|
+
borderColor="primary"
|
26
26
|
backgroundColor="primary"
|
27
27
|
borderRadius="md"
|
28
28
|
spacing='6'
|
@@ -68,27 +68,15 @@ declare function useColorModeForApp(): ColorModeForApp;
|
|
68
68
|
declare function ColorModeForAppProvider({ children, value, }: ColorModeForAppProviderProps): react_jsx_runtime.JSX.Element;
|
69
69
|
|
70
70
|
type ColorModeForDeviceProviderProps = React.PropsWithChildren;
|
71
|
-
declare const ColorModeForDeviceContext: react.Context<
|
72
|
-
|
73
|
-
dark: ColorsConfig;
|
74
|
-
}>;
|
75
|
-
declare function useColorModeForDevice(): keyof {
|
76
|
-
light: ColorsConfig;
|
77
|
-
dark: ColorsConfig;
|
78
|
-
};
|
71
|
+
declare const ColorModeForDeviceContext: react.Context<ColorMode>;
|
72
|
+
declare function useColorModeForDevice(): ColorMode;
|
79
73
|
declare function ColorModeForDeviceProvider({ children }: ColorModeForDeviceProviderProps): react_jsx_runtime.JSX.Element;
|
80
74
|
|
81
75
|
interface ColorModeProviderProps extends React.PropsWithChildren {
|
82
76
|
value?: ColorMode;
|
83
77
|
}
|
84
|
-
declare const ColorModeContext: react.Context<
|
85
|
-
|
86
|
-
dark: ColorsConfig;
|
87
|
-
}>;
|
88
|
-
declare function useColorMode(): keyof {
|
89
|
-
light: ColorsConfig;
|
90
|
-
dark: ColorsConfig;
|
91
|
-
};
|
78
|
+
declare const ColorModeContext: react.Context<ColorMode>;
|
79
|
+
declare function useColorMode(): ColorMode;
|
92
80
|
declare function ColorModeProvider({ value, children }: ColorModeProviderProps): react_jsx_runtime.JSX.Element;
|
93
81
|
|
94
82
|
interface ComputedTokensForMode {
|
@@ -110,21 +98,21 @@ interface ScaleModeForAppProviderProps extends React.PropsWithChildren {
|
|
110
98
|
declare function ScaleModeForAppProvider({ children, value, }: ScaleModeForAppProviderProps): react_jsx_runtime.JSX.Element;
|
111
99
|
|
112
100
|
type ScaleModeForDeviceProviderProps = React.PropsWithChildren;
|
113
|
-
declare const ScaleModeForDeviceContext: react.Context<
|
114
|
-
declare function useScaleModeForDevice():
|
101
|
+
declare const ScaleModeForDeviceContext: react.Context<ScaleMode>;
|
102
|
+
declare function useScaleModeForDevice(): ScaleMode;
|
115
103
|
declare function ScaleModeForDeviceProvider({ children }: ScaleModeForDeviceProviderProps): react_jsx_runtime.JSX.Element;
|
116
104
|
|
117
105
|
interface ScaleModeProviderProps extends React.PropsWithChildren {
|
118
106
|
value?: ScaleMode;
|
119
107
|
}
|
120
|
-
declare const ScaleModeContext: react.Context<
|
121
|
-
declare function useScaleMode():
|
108
|
+
declare const ScaleModeContext: react.Context<ScaleMode>;
|
109
|
+
declare function useScaleMode(): ScaleMode;
|
122
110
|
declare function ScaleModeProvider({ value, children }: ScaleModeProviderProps): react_jsx_runtime.JSX.Element;
|
123
111
|
|
124
112
|
type ReactNativeStyle = StyleProp<ViewStyle | TextStyle | ImageStyle>;
|
125
113
|
declare function createStyler({ colorMode, scaleMode }: Modes, config: UniversalTokensConfig): {
|
126
114
|
cva: CVA<ReactNativeStyle>;
|
127
|
-
getStyles: <T extends ReactNativeStyle>({ style, ...props }: BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps &
|
115
|
+
getStyles: <T extends ReactNativeStyle>({ style, ...props }: BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & SizingStyleProps & ImageStyleProps & CustomSizingStyleProps & {
|
128
116
|
style?: T | undefined;
|
129
117
|
}) => ReactNativeStyle;
|
130
118
|
tokens: {
|
@@ -512,26 +500,12 @@ declare function createStyler({ colorMode, scaleMode }: Modes, config: Universal
|
|
512
500
|
primary: string;
|
513
501
|
secondary: string;
|
514
502
|
};
|
515
|
-
backgroundWash: {
|
516
|
-
'accent-wash': string;
|
517
|
-
'alert-wash': string;
|
518
|
-
'brand-wash': string;
|
519
|
-
'positive-wash': string;
|
520
|
-
'warning-wash': string;
|
521
|
-
};
|
522
|
-
elevation: {
|
523
|
-
'elevation-1': string;
|
524
|
-
'elevation-2': string;
|
525
|
-
'elevation-3': string;
|
526
|
-
'elevation-3-inverse': string;
|
527
|
-
overlay: string;
|
528
|
-
};
|
529
503
|
foreground: {
|
530
504
|
primary: string;
|
531
505
|
secondary: string;
|
532
506
|
tertiary: string;
|
533
507
|
muted: string;
|
534
|
-
|
508
|
+
"on-color": string;
|
535
509
|
};
|
536
510
|
line: {
|
537
511
|
primary: string;
|
@@ -540,15 +514,12 @@ declare function createStyler({ colorMode, scaleMode }: Modes, config: Universal
|
|
540
514
|
muted: string;
|
541
515
|
};
|
542
516
|
};
|
543
|
-
zIndex: ZIndexConfig;
|
544
|
-
aspectRatio: Record<string, string>;
|
545
|
-
elevation: Record<Elevation, react_native.ShadowStyleIOS>;
|
546
517
|
fontFamilyGlobal: FontFamilyGlobalConfig;
|
547
518
|
};
|
548
519
|
};
|
549
520
|
declare const DEFAULT_STYLER: {
|
550
521
|
cva: CVA<ReactNativeStyle>;
|
551
|
-
getStyles: <T extends ReactNativeStyle>({ style, ...props }: BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps &
|
522
|
+
getStyles: <T extends ReactNativeStyle>({ style, ...props }: BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & SizingStyleProps & ImageStyleProps & CustomSizingStyleProps & {
|
552
523
|
style?: T | undefined;
|
553
524
|
}) => ReactNativeStyle;
|
554
525
|
tokens: {
|
@@ -936,26 +907,12 @@ declare const DEFAULT_STYLER: {
|
|
936
907
|
primary: string;
|
937
908
|
secondary: string;
|
938
909
|
};
|
939
|
-
backgroundWash: {
|
940
|
-
'accent-wash': string;
|
941
|
-
'alert-wash': string;
|
942
|
-
'brand-wash': string;
|
943
|
-
'positive-wash': string;
|
944
|
-
'warning-wash': string;
|
945
|
-
};
|
946
|
-
elevation: {
|
947
|
-
'elevation-1': string;
|
948
|
-
'elevation-2': string;
|
949
|
-
'elevation-3': string;
|
950
|
-
'elevation-3-inverse': string;
|
951
|
-
overlay: string;
|
952
|
-
};
|
953
910
|
foreground: {
|
954
911
|
primary: string;
|
955
912
|
secondary: string;
|
956
913
|
tertiary: string;
|
957
914
|
muted: string;
|
958
|
-
|
915
|
+
"on-color": string;
|
959
916
|
};
|
960
917
|
line: {
|
961
918
|
primary: string;
|
@@ -964,9 +921,6 @@ declare const DEFAULT_STYLER: {
|
|
964
921
|
muted: string;
|
965
922
|
};
|
966
923
|
};
|
967
|
-
zIndex: ZIndexConfig;
|
968
|
-
aspectRatio: Record<string, string>;
|
969
|
-
elevation: Record<Elevation, react_native.ShadowStyleIOS>;
|
970
924
|
fontFamilyGlobal: FontFamilyGlobalConfig;
|
971
925
|
};
|
972
926
|
};
|
@@ -1363,26 +1317,12 @@ declare function useTokens(): {
|
|
1363
1317
|
primary: string;
|
1364
1318
|
secondary: string;
|
1365
1319
|
};
|
1366
|
-
backgroundWash: {
|
1367
|
-
'accent-wash': string;
|
1368
|
-
'alert-wash': string;
|
1369
|
-
'brand-wash': string;
|
1370
|
-
'positive-wash': string;
|
1371
|
-
'warning-wash': string;
|
1372
|
-
};
|
1373
|
-
elevation: {
|
1374
|
-
'elevation-1': string;
|
1375
|
-
'elevation-2': string;
|
1376
|
-
'elevation-3': string;
|
1377
|
-
'elevation-3-inverse': string;
|
1378
|
-
overlay: string;
|
1379
|
-
};
|
1380
1320
|
foreground: {
|
1381
1321
|
primary: string;
|
1382
1322
|
secondary: string;
|
1383
1323
|
tertiary: string;
|
1384
1324
|
muted: string;
|
1385
|
-
|
1325
|
+
"on-color": string;
|
1386
1326
|
};
|
1387
1327
|
line: {
|
1388
1328
|
primary: string;
|
@@ -1391,9 +1331,6 @@ declare function useTokens(): {
|
|
1391
1331
|
muted: string;
|
1392
1332
|
};
|
1393
1333
|
};
|
1394
|
-
zIndex: ZIndexConfig;
|
1395
|
-
aspectRatio: Record<string, string>;
|
1396
|
-
elevation: Record<Elevation, react_native.ShadowStyleIOS>;
|
1397
1334
|
fontFamilyGlobal: FontFamilyGlobalConfig;
|
1398
1335
|
};
|
1399
1336
|
|
@@ -1404,4 +1341,4 @@ interface ThemeProviderProps extends React.PropsWithChildren {
|
|
1404
1341
|
}
|
1405
1342
|
declare function ThemeProvider({ children, colorModeForApp, scaleModeForApp, config, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
1406
1343
|
|
1407
|
-
export { AvatarSizeConfig, BackgroundStyleProps, BorderRadiusConfig, BorderStyleProps, BorderWidthConfig, Box, type BoxProps, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps,
|
1344
|
+
export { AvatarSizeConfig, BackgroundStyleProps, BorderRadiusConfig, BorderStyleProps, BorderWidthConfig, Box, type BoxProps, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps, ComputedTokensContext, ComputedTokensProvider, type ComputedTokensProviderProps, CustomSizingStyleProps, DEFAULT_STYLER, FlexStyleProps, FontFamilyConfig, FontFamilyGlobalConfig, FontSizeConfig, FontWeightConfig, HStack, type HStackProps, Icon, type IconProps, IconSizeConfig, ImageStyleProps, LayoutStyleProps, LineHeightConfig, Modes, type ReactNativeStyle, ScaleMode, ScaleModeContext, ScaleModeForApp, ScaleModeForAppContext, ScaleModeForAppProvider, type ScaleModeForAppProviderProps, ScaleModeForAppUpdaterContext, ScaleModeForDeviceContext, ScaleModeForDeviceProvider, type ScaleModeForDeviceProviderProps, ScaleModeProvider, type ScaleModeProviderProps, Screen, type ScreenProps, SetState, SizingStyleProps, SpacingConfig, SpacingStyleProps, StyleProps, StyleProvider, Text, type TextProps, type TextPropsOriginal, TextStyleProps, TextTransformConfig, ThemeProvider, type ThemeProviderProps, UniversalBoxProps, UniversalIconProps, UniversalStackProps, UniversalTextProps, UniversalTokensConfig, VStack, type VStackProps, createStyler, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens };
|
package/dist/index.native.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import{forwardRef as Jr}from"react";var We={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},ze={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var He={none:0,thin:1,medium:2,thick:2},Be={none:0,thin:1,medium:2,thick:4};var Oe={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var _e={auto:"auto",square:"1 / 1",video:"16 / 9"},Ve={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var De={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Ie={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Bo={white:"#ffffff",black:"#000000",transparent:"transparent"};var pe={s:16,m:24,l:32},Le=pe,ce={s:16,m:24,l:32},Ne=ce;var $e={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},Ge={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var Ue={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},Xe={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var Xo=["Helvetica Neue","Helvetica","Arial","sans-serif"],Ye=["Georgia","Times","Times New Roman","serif"],me={icons:{fallbacks:Xo,name:"yahoo-icons"},sans:{fallbacks:Xo,name:"yahoo-sans"},"sans-beta":{fallbacks:Xo,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Xo,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:Ye,name:"yahoo-serif-text"},"serif-display":{fallbacks:Ye,name:"yahoo-serif-display"}},ge={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},L={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},fe={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},ue={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},be={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},he={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...be.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Yo={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...he.lineHeight,title2:36,title3:32}},ye={fontSize:{...Yo.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Yo.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},Ce={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...ye.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},Se={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...Ce.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},je={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...Se.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var xe={fontFamily:ge,fontWeight:fe,textTransform:ue,avatarSizes:pe,iconSizes:ce,borderRadius:We,borderWidth:He,spacing:$e},jo={fontFamily:ge,fontWeight:fe,textTransform:ue,avatarSizes:Le,iconSizes:Ne,borderRadius:ze,borderWidth:Be,spacing:Ge},Zo={colorMode:{light:{palette:De,spectrum:Ue},dark:{palette:Ie,spectrum:Xe}},scaleMode:{xSmall:{...xe,...be},small:{...xe,...he},medium:{...xe,...Yo},large:{...jo,...ye},xLarge:{...jo,...Ce},xxLarge:{...jo,...Se},xxxLarge:{...jo,...je}},aspectRatio:_e,elevation:Oe,fontFamily:me,zIndex:Ve};var R="uds",Tn=`${R}-spectrum-color`,kn=`${R}-font`,Rn=`${R}-icon-size`,Fn=`${R}-avatar-size`,En=`${R}-border-radius`,Mn=`${R}-border-width`,An=`${R}-spacing`,Wn=`${R}-font-size`,zn=`${R}-line-height`,Hn=`${R}-font-weight`,Bn=`${R}-text-transform`,On=`${R}-color-mode-dark`,_r=`${R}-color-mode-light`,_n=`${R}-scale-mode-xsmall`,Vn=`${R}-scale-mode-small`,Dn=`${R}-scale-mode-medium`,Vr=`${R}-scale-mode-large`,In=`${R}-scale-mode-xlarge`,Ln=`${R}-scale-mode-xxlarge`,Nn=`${R}-scale-mode-xxxlarge`,$n=_r,Gn=Vr,Un=`--${R}-font-icons`,Xn=`--${R}-font-sans`,Yn=`--${R}-font-sans-beta`,jn=`--${R}-font-sans-condensed`,Zn=`--${R}-font-serif-display`,Kn=`--${R}-font-serif-text`;var Io="system",Lo="system",Ao="light",Wo="large",Jn=!1,Qn="\u{1F1FA}\u{1F1F8} US";function Ze(e){return Object.entries(e)}import{createContext as Yr,memo as jr,useContext as rr,useMemo as Zr}from"react";import{textVariants as Ir}from"@yahoo/uds/fixtures";function Ko(e,r){return Object.keys(e).reduce((t,n,a)=>(t[n]=r(e[n],n,a),t),{})}function Ke({spectrum:e,palette:r}){let t=Ko(e,a=>Ko(a,i=>`rgb(${i.replaceAll(" ",",")})`)),n=Ko(r,a=>Object.entries(a).reduce((i,[c,{hue:o,step:d,opacity:u}])=>{let l=e[o][d],s=u?`rgb(${l.replaceAll(" ",",")} / ${u})`:`rgb(${l.replaceAll(" ",",")})`;return{...i,[c]:s}},{}));return{spectrum:t,palette:n}}function Dr(e){let r={};for(let[t,[{color:n,offsetX:a,offsetY:i,blurRadius:c}]]of Ze(e)){let o={shadowColor:n,shadowOffset:{width:a,height:i},shadowOpacity:1,shadowRadius:c};r[t]=o}return r}function qe({colorMode:e,elevation:r,...t}){return{...t,colorMode:{light:Ke(e.light),dark:Ke(e.dark)},elevation:Dr(r)}}function ve(e){return typeof e=="boolean"?`${e}`:e===0?"0":e}var _={};function we({colorMode:e,scaleMode:r},t){let{colorMode:n,scaleMode:a,fontFamily:i,...c}=qe(t),o={fontFamilyGlobal:i,...c,...n[e],...a[r]},d=Object.assign,u=function(eo){return function(g){let no={};if(!eo?.variants)return d(no,eo?.base);let{base:$o,variants:ne,defaultVariants:ie,compoundVariants:_o}=eo;$o&&d(no,$o);function ae(Vo){if(Vo){let{style:Do,...le}=Vo;for(let Go in le){let Uo=ne[Go],de=g?.[Go],Ae=ie?.[Go],se=ve(de)||ve(Ae);if(se&&se in Uo){let Or=Uo[se];d(no,Or)}}Do&&d(no,Do)}}if(ae(g),_o&&_o?.length>0)for(let Vo of _o){let{style:Do,...le}=Vo;Object.entries(le).every(([Uo,de])=>g?.[Uo]===de)&&Do&&d(no,Do)}return g?.style&&d(no,g.style),no}},l=o.spacing.none,s=o.spacing[1],p=o.spacing[2],m=o.spacing[3],b=o.spacing[4],h=o.spacing[5],y=o.spacing[6],C=o.spacing[7],S=o.spacing[8],x=o.spacing[9],v=o.spacing[10],w=o.spacing[11],P=o.spacing[12],T=o.spacing[13],k=o.spacing[14],F=o.palette.core.accent,E=o.palette.core.alert,M=o.palette.core.brand,A=o.palette.core.positive,W=o.palette.core.warning,z=Bo.white,H=Bo.black,B=Bo.transparent,io=o.palette.foreground.muted,ao=o.palette.foreground["on-color"],lo=o.palette.foreground.primary,to=o.palette.foreground.secondary,so=o.palette.foreground.tertiary,X=o.palette.backgroundWash["accent-wash"],Y=o.palette.backgroundWash["alert-wash"],j=o.palette.backgroundWash["brand-wash"],Z=o.palette.backgroundWash["positive-wash"],K=o.palette.backgroundWash["warning-wash"],N=o.palette.elevation["elevation-1"],$=o.palette.elevation["elevation-2"],G=o.palette.elevation["elevation-3"],q=o.palette.elevation["elevation-3-inverse"],J=o.palette.elevation.overlay,Q=o.palette.background.primary,oo=o.palette.background.secondary,O=o.palette.line.primary,V=o.palette.line.secondary,D=o.palette.line.tertiary,I=o.palette.line.muted,f=o.fontFamilyGlobal,po=f.sans.name,co=f["sans-beta"].name,mo=f["sans-condensed"].name,go=f["serif-text"].name,fo=f["serif-display"].name,uo=f[o.fontFamily.display1].name,bo=f[o.fontFamily.display2].name,ho=f[o.fontFamily.display3].name,yo=f[o.fontFamily.title1].name,Co=f[o.fontFamily.title2].name,So=f[o.fontFamily.title3].name,xo=f[o.fontFamily.title4].name,vo=f[o.fontFamily.headline1].name,wo=f[o.fontFamily.body1].name,Po=f[o.fontFamily.label1].name,To=f[o.fontFamily.label2].name,ko=f[o.fontFamily.caption1].name,Ro=f[o.fontFamily.caption2].name,Fo=f[o.fontFamily.legal1].name;function Eo(U){return!!(typeof U=="string"&&Ir.includes(U))}function Mo({style:U,...eo}){let Oo={},g;Eo(eo.fontWeight)?g=o.fontWeight[eo.fontWeight]:g="regular";let no=u({variants:{color:{accent:{color:F},alert:{color:E},black:{color:H},brand:{color:M},positive:{color:A},warning:{color:W},white:{color:z},transparent:{color:B},muted:{color:io},"on-color":{color:ao},primary:{color:lo},secondary:{color:to},tertiary:{color:so}},colorChecked:{accent:{color:F},alert:{color:E},black:{color:H},brand:{color:M},positive:{color:A},warning:{color:W},white:{color:z},transparent:{color:B},muted:{color:io},"on-color":{color:ao},primary:{color:lo},secondary:{color:to},tertiary:{color:to}},fontFamily:{icons:{fontFamily:f.icons.name},sans:{fontFamily:`${po}-${g}`},"sans-beta":{fontFamily:`${co}-${g}`},"sans-condensed":{fontFamily:`${mo}-${g}`},"serif-text":{fontFamily:`${go}-${g}`},"serif-display":{fontFamily:`${fo}-${g}`},display1:{fontFamily:`${uo}-${g}`},display2:{fontFamily:`${bo}-${g}`},display3:{fontFamily:`${ho}-${g}`},title1:{fontFamily:`${yo}-${g}`},title2:{fontFamily:`${Co}-${g}`},title3:{fontFamily:`${So}-${g}`},title4:{fontFamily:`${xo}-${g}`},headline1:{fontFamily:`${vo}-${g}`},body1:{fontFamily:`${wo}-${g}`},label1:{fontFamily:`${Po}-${g}`},label2:{fontFamily:`${To}-${g}`},caption1:{fontFamily:`${ko}-${g}`},caption2:{fontFamily:`${Ro}-${g}`},legal1:{fontFamily:`${Fo}-${g}`}},fontSize:{display1:{fontSize:o.fontSize.display1},display2:{fontSize:o.fontSize.display2},display3:{fontSize:o.fontSize.display3},title1:{fontSize:o.fontSize.title1},title2:{fontSize:o.fontSize.title2},title3:{fontSize:o.fontSize.title3},title4:{fontSize:o.fontSize.title4},headline1:{fontSize:o.fontSize.headline1},body1:{fontSize:o.fontSize.body1},label1:{fontSize:o.fontSize.label1},label2:{fontSize:o.fontSize.label2},caption1:{fontSize:o.fontSize.caption1},caption2:{fontSize:o.fontSize.caption2},legal1:{fontSize:o.fontSize.legal1}},fontWeight:{display1:{fontWeight:L[o.fontWeight.display1]},display2:{fontWeight:L[o.fontWeight.display2]},display3:{fontWeight:L[o.fontWeight.display3]},title1:{fontWeight:L[o.fontWeight.title1]},title2:{fontWeight:L[o.fontWeight.title2]},title3:{fontWeight:L[o.fontWeight.title3]},title4:{fontWeight:L[o.fontWeight.title4]},headline1:{fontWeight:L[o.fontWeight.headline1]},body1:{fontWeight:L[o.fontWeight.body1]},label1:{fontWeight:L[o.fontWeight.label1]},label2:{fontWeight:L[o.fontWeight.label2]},caption1:{fontWeight:L[o.fontWeight.caption1]},caption2:{fontWeight:L[o.fontWeight.caption2]},legal1:{fontWeight:L[o.fontWeight.legal1]},thin:{},extralight:{},light:{},regular:{},medium:{},semibold:{},bold:{},extrabold:{},black:{}},lineHeight:{display1:{lineHeight:o.lineHeight.display1},display2:{lineHeight:o.lineHeight.display2},display3:{lineHeight:o.lineHeight.display3},title1:{lineHeight:o.lineHeight.title1},title2:{lineHeight:o.lineHeight.title2},title3:{lineHeight:o.lineHeight.title3},title4:{lineHeight:o.lineHeight.title4},headline1:{lineHeight:o.lineHeight.headline1},body1:{lineHeight:o.lineHeight.body1},label1:{lineHeight:o.lineHeight.label1},label2:{lineHeight:o.lineHeight.label2},caption1:{lineHeight:o.lineHeight.caption1},caption2:{lineHeight:o.lineHeight.caption2},legal1:{lineHeight:o.lineHeight.legal1}},textAlign:{center:{textAlign:"center"},justify:{textAlign:"justify"},start:{textAlign:"left"},end:{textAlign:"right"}},backgroundColor:{accent:{backgroundColor:F},alert:{backgroundColor:E},black:{backgroundColor:H},brand:{backgroundColor:M},positive:{backgroundColor:A},warning:{backgroundColor:W},white:{backgroundColor:z},"accent-wash":{backgroundColor:X},"alert-wash":{backgroundColor:Y},"brand-wash":{backgroundColor:j},"elevation-1":{backgroundColor:N},"elevation-2":{backgroundColor:$},"elevation-3":{backgroundColor:G},"elevation-3-inverse":{backgroundColor:q},overlay:{backgroundColor:J},"positive-wash":{backgroundColor:Z},primary:{backgroundColor:Q},secondary:{backgroundColor:oo},transparent:{backgroundColor:B},"warning-wash":{backgroundColor:K}},backgroundColorOnActive:{accent:{backgroundColor:F},alert:{backgroundColor:E},black:{backgroundColor:H},brand:{backgroundColor:M},positive:{backgroundColor:A},warning:{backgroundColor:W},white:{backgroundColor:z},"accent-wash":{backgroundColor:X},"alert-wash":{backgroundColor:Y},"brand-wash":{backgroundColor:j},"elevation-1":{backgroundColor:N},"elevation-2":{backgroundColor:$},"elevation-3":{backgroundColor:G},"elevation-3-inverse":{backgroundColor:q},overlay:{backgroundColor:J},"positive-wash":{backgroundColor:Z},primary:{backgroundColor:Q},secondary:{backgroundColor:oo},transparent:{backgroundColor:B},"warning-wash":{backgroundColor:K}},backgroundColorOnHover:{accent:{backgroundColor:F},alert:{backgroundColor:E},black:{backgroundColor:H},brand:{backgroundColor:M},positive:{backgroundColor:A},warning:{backgroundColor:W},white:{backgroundColor:z},"accent-wash":{backgroundColor:X},"alert-wash":{backgroundColor:Y},"brand-wash":{backgroundColor:j},"elevation-1":{backgroundColor:N},"elevation-2":{backgroundColor:$},"elevation-3":{backgroundColor:G},"elevation-3-inverse":{backgroundColor:q},overlay:{backgroundColor:J},"positive-wash":{backgroundColor:Z},primary:{backgroundColor:Q},secondary:{backgroundColor:oo},transparent:{backgroundColor:B},"warning-wash":{backgroundColor:K}},backgroundColorOnChecked:{accent:{backgroundColor:F},alert:{backgroundColor:E},black:{backgroundColor:H},brand:{backgroundColor:M},positive:{backgroundColor:A},warning:{backgroundColor:W},white:{backgroundColor:z},"accent-wash":{backgroundColor:X},"alert-wash":{backgroundColor:Y},"brand-wash":{backgroundColor:j},"elevation-1":{backgroundColor:N},"elevation-2":{backgroundColor:$},"elevation-3":{backgroundColor:G},"elevation-3-inverse":{backgroundColor:q},overlay:{backgroundColor:J},"positive-wash":{backgroundColor:Z},primary:{backgroundColor:Q},secondary:{backgroundColor:oo},transparent:{backgroundColor:B},"warning-wash":{backgroundColor:K}},elevation:{1:{backgroundColor:N,shadowColor:"rgba(0, 0, 0, 0.08)",shadowOffset:{width:0,height:2},shadowRadius:4,shadowOpacity:1,overflow:"visible"},2:{backgroundColor:$,shadowColor:"rgba(0, 0, 0, 0.1)",shadowOffset:{width:0,height:4},shadowRadius:8,shadowOpacity:1,overflow:"visible"},3:{backgroundColor:G,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffset:{width:0,height:4},shadowRadius:16,shadowOpacity:1,overflow:"visible"}},opacity:{0:{opacity:0},5:{opacity:.05},10:{opacity:.1},20:{opacity:.2},25:{opacity:.25},30:{opacity:.3},40:{opacity:.4},50:{opacity:.5},60:{opacity:.6},70:{opacity:.7},75:{opacity:.75},80:{opacity:.8},90:{opacity:.9},95:{opacity:.95},100:{opacity:1}},spacing:{none:{padding:l},1:{padding:s},2:{padding:p},3:{padding:m},4:{padding:b},5:{padding:h},6:{padding:y},7:{padding:C},8:{padding:S},9:{padding:x},10:{padding:v},11:{padding:w},12:{padding:P},13:{padding:T},14:{padding:k}},spacingHorizontal:{none:{paddingHorizontal:l},1:{paddingHorizontal:s},2:{paddingHorizontal:p},3:{paddingHorizontal:m},4:{paddingHorizontal:b},5:{paddingHorizontal:h},6:{paddingHorizontal:y},7:{paddingHorizontal:C},8:{paddingHorizontal:S},9:{paddingHorizontal:x},10:{paddingHorizontal:v},11:{paddingHorizontal:w},12:{paddingHorizontal:P},13:{paddingHorizontal:T},14:{paddingHorizontal:k}},spacingVertical:{none:{paddingVertical:l},1:{paddingVertical:s},2:{paddingVertical:p},3:{paddingVertical:m},4:{paddingVertical:b},5:{paddingVertical:h},6:{paddingVertical:y},7:{paddingVertical:C},8:{paddingVertical:S},9:{paddingVertical:x},10:{paddingVertical:v},11:{paddingVertical:w},12:{paddingVertical:P},13:{paddingVertical:T},14:{paddingVertical:k}},spacingBottom:{none:{paddingBottom:l},1:{paddingBottom:s},2:{paddingBottom:p},3:{paddingBottom:m},4:{paddingBottom:b},5:{paddingBottom:h},6:{paddingBottom:y},7:{paddingBottom:C},8:{paddingBottom:S},9:{paddingBottom:x},10:{paddingBottom:v},11:{paddingBottom:w},12:{paddingBottom:P},13:{paddingBottom:T},14:{paddingBottom:k}},spacingEnd:{none:{paddingEnd:l},1:{paddingEnd:s},2:{paddingEnd:p},3:{paddingEnd:m},4:{paddingEnd:b},5:{paddingEnd:h},6:{paddingEnd:y},7:{paddingEnd:C},8:{paddingEnd:S},9:{paddingEnd:x},10:{paddingEnd:v},11:{paddingEnd:w},12:{paddingEnd:P},13:{paddingEnd:T},14:{paddingEnd:k}},spacingStart:{none:{paddingStart:l},1:{paddingStart:s},2:{paddingStart:p},3:{paddingStart:m},4:{paddingStart:b},5:{paddingStart:h},6:{paddingStart:y},7:{paddingStart:C},8:{paddingStart:S},9:{paddingStart:x},10:{paddingStart:v},11:{paddingStart:w},12:{paddingStart:P},13:{paddingStart:T},14:{paddingStart:k}},spacingTop:{none:{paddingTop:l},1:{paddingTop:s},2:{paddingTop:p},3:{paddingTop:m},4:{paddingTop:b},5:{paddingTop:h},6:{paddingTop:y},7:{paddingTop:C},8:{paddingTop:S},9:{paddingTop:x},10:{paddingTop:v},11:{paddingTop:w},12:{paddingTop:P},13:{paddingTop:T},14:{paddingTop:k}},offset:{none:{margin:-l},1:{margin:-s},2:{margin:-p},3:{margin:-m},4:{margin:-b},5:{margin:-h},6:{margin:-y},7:{margin:-C},8:{margin:-S},9:{margin:-x},10:{margin:-v},11:{margin:-w},12:{margin:-P},13:{margin:-T},14:{margin:-k}},offsetVertical:{none:{marginVertical:-l},1:{marginVertical:-s},2:{marginVertical:-p},3:{marginVertical:-m},4:{marginVertical:-b},5:{marginVertical:-h},6:{marginVertical:-y},7:{marginVertical:-C},8:{marginVertical:-S},9:{marginVertical:-x},10:{marginVertical:-v},11:{marginVertical:-w},12:{marginVertical:-P},13:{marginVertical:-T},14:{marginVertical:-k}},offsetHorizontal:{none:{marginHorizontal:-l},1:{marginHorizontal:-s},2:{marginHorizontal:-p},3:{marginHorizontal:-m},4:{marginHorizontal:-b},5:{marginHorizontal:-h},6:{marginHorizontal:-y},7:{marginHorizontal:-C},8:{marginHorizontal:-S},9:{marginHorizontal:-x},10:{marginHorizontal:-v},11:{marginHorizontal:-w},12:{marginHorizontal:-P},13:{marginHorizontal:-T},14:{marginHorizontal:-k}},offsetBottom:{none:{marginBottom:-l},1:{marginBottom:-s},2:{marginBottom:-p},3:{marginBottom:-m},4:{marginBottom:-b},5:{marginBottom:-h},6:{marginBottom:-y},7:{marginBottom:-C},8:{marginBottom:-S},9:{marginBottom:-x},10:{marginBottom:-v},11:{marginBottom:-w},12:{marginBottom:-P},13:{marginBottom:-T},14:{marginBottom:-k}},offsetEnd:{none:{marginEnd:-l},1:{marginEnd:-s},2:{marginEnd:-p},3:{marginEnd:-m},4:{marginEnd:-b},5:{marginEnd:-h},6:{marginEnd:-y},7:{marginEnd:-C},8:{marginEnd:-S},9:{marginEnd:-x},10:{marginEnd:-v},11:{marginEnd:-w},12:{marginEnd:-P},13:{marginEnd:-T},14:{marginEnd:-k}},offsetStart:{none:{marginStart:-l},1:{marginStart:-s},2:{marginStart:-p},3:{marginStart:-m},4:{marginStart:-b},5:{marginStart:-h},6:{marginStart:-y},7:{marginStart:-C},8:{marginStart:-S},9:{marginStart:-x},10:{marginStart:-v},11:{marginStart:-w},12:{marginStart:-P},13:{marginStart:-T},14:{marginStart:-k}},offsetTop:{none:{marginTop:-l},1:{marginTop:-s},2:{marginTop:-p},3:{marginTop:-m},4:{marginTop:-b},5:{marginTop:-h},6:{marginTop:-y},7:{marginTop:-C},8:{marginTop:-S},9:{marginTop:-x},10:{marginTop:-v},11:{marginTop:-w},12:{marginTop:-P},13:{marginTop:-T},14:{marginTop:-k}},columnGap:{none:{columnGap:l},1:{columnGap:s},2:{columnGap:p},3:{columnGap:m},4:{columnGap:b},5:{columnGap:h},6:{columnGap:y},7:{columnGap:C},8:{columnGap:S},9:{columnGap:x},10:{columnGap:v},11:{columnGap:w},12:{columnGap:P},13:{columnGap:T},14:{columnGap:k}},rowGap:{none:{rowGap:l},1:{rowGap:s},2:{rowGap:p},3:{rowGap:m},4:{rowGap:b},5:{rowGap:h},6:{rowGap:y},7:{rowGap:C},8:{rowGap:S},9:{rowGap:x},10:{rowGap:v},11:{rowGap:w},12:{rowGap:P},13:{rowGap:T},14:{rowGap:k}},alignContent:{"flex-start":{alignContent:"flex-start"},"flex-end":{alignContent:"flex-end"},center:{alignContent:"center"},stretch:{alignContent:"stretch"},"space-between":{alignContent:"space-between"},"space-around":{alignContent:"space-around"}},alignItems:{"flex-start":{alignItems:"flex-start"},"flex-end":{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},alignSelf:{auto:{alignSelf:"auto"},"flex-start":{alignSelf:"flex-start"},"flex-end":{alignSelf:"flex-end"},center:{alignSelf:"center"},stretch:{alignSelf:"stretch"},baseline:{alignSelf:"baseline"}},flex:{1:{flex:1},auto:{flexGrow:1,flexShrink:1,flexBasis:"auto"},initial:{flexGrow:1,flexShrink:1},none:{}},flexDirection:{row:{flexDirection:"row"},column:{flexDirection:"column"},"row-reverse":{flexDirection:"row-reverse"},"column-reverse":{flexDirection:"column-reverse"}},flexGrow:{0:{flexGrow:0},1:{flexGrow:1},2:{flexGrow:2},3:{flexGrow:3}},flexShrink:{0:{flexShrink:0},1:{flexShrink:1}},flexWrap:{wrap:{flexWrap:"wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"},nowrap:{flexWrap:"nowrap"}},justifyContent:{"flex-start":{justifyContent:"flex-start"},"flex-end":{justifyContent:"flex-end"},center:{justifyContent:"center"},"space-between":{justifyContent:"space-between"},"space-around":{justifyContent:"space-around"},"space-evenly":{justifyContent:"space-evenly"}},flexBasis:{"min-content":{flexBasis:"auto"}},display:{block:{display:"flex"},"inline-block":{display:"flex",flexDirection:"row"},inline:{display:"flex",flexDirection:"row"},flex:{display:"flex"},"inline-flex":{display:"flex",flexDirection:"row",flexGrow:0},table:{display:"flex",flexDirection:"column"},"inline-table":{display:"flex",flexDirection:"row"},"table-caption":_,"table-cell":_,"table-column":_,"table-column-group":_,"table-footer-group":_,"table-header-group":_,"table-row-group":_,"table-row":_,"flow-root":_,grid:_,contents:_},overflow:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"hidden"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowX:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowY:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},position:{static:_,fixed:_,absolute:{position:"absolute"},relative:{position:"relative"},sticky:_},zIndex:{0:{zIndex:0},10:{zIndex:10},20:{zIndex:20},30:{zIndex:40},40:{zIndex:30},50:{zIndex:50},auto:_},height:{auto:{height:"auto"},full:{height:"100%"},screen:{height:"100%"},min:{height:"auto"},max:{height:"auto"},fit:{},"1/2":{height:"50%"},"1/3":{height:"33.33%"},"2/3":{height:"66.67%"},"1/4":{height:"25%"},"2/4":{height:"50%"},"3/4":{height:"75%"},"1/5":{height:"20%"},"2/5":{height:"40%"},"3/5":{height:"60%"},"4/5":{height:"80%"},"1/6":{height:"16.67%"},"2/6":{height:"33.33%"},"3/6":{height:"50%"},"4/6":{height:"66.67%"},"5/6":{height:"83.33%"}},minHeight:{full:{minHeight:"100%"},min:{minHeight:"auto"},max:{minHeight:"auto"},fit:{},screen:{minHeight:"auto"}},maxHeight:{full:{maxHeight:"100%"},min:{maxHeight:"auto"},max:{maxHeight:"auto"},fit:{},screen:{maxHeight:"auto"},none:_},width:{auto:{width:"auto"},full:{width:"100%"},screen:{width:"auto"},min:{width:"auto"},max:{width:"auto"},fit:{},"1/2":{width:"50%"},"1/3":{width:"33.33%"},"2/3":{width:"66.67%"},"1/4":{width:"25%"},"2/4":{width:"50%"},"3/4":{width:"75%"},"1/5":{width:"20%"},"2/5":{width:"40%"},"3/5":{width:"60%"},"4/5":{width:"80%"},"1/6":{width:"16.67%"},"2/6":{width:"33.33%"},"3/6":{width:"50%"},"4/6":{width:"66.67%"},"5/6":{width:"83.33%"},"1/12":{width:"8.33%"},"2/12":{width:"16.67%"},"3/12":{width:"25%"},"4/12":{width:"33.33%"},"5/12":{width:"41.67%"},"6/12":{width:"50%"},"7/12":{width:"58.33%"},"8/12":{width:"66.67%"},"9/12":{width:"75%"},"10/12":{width:"83.33%"},"11/12":{width:"91.67%"}},minWidth:{full:{minWidth:"100%"},min:{minWidth:"auto"},max:{minWidth:"auto"},fit:{},screen:{minWidth:"100%"}},maxWidth:{none:_,full:{maxWidth:"100%"},min:{maxWidth:"auto"},max:{maxWidth:"auto"},fit:{}},avatarSize:{s:{width:o.avatarSizes.s,height:o.avatarSizes.s,lineHeight:o.avatarSizes.s,fontSize:o.avatarSizes.s},m:{width:o.avatarSizes.m,height:o.avatarSizes.m,lineHeight:o.avatarSizes.m,fontSize:o.avatarSizes.m},l:{width:o.avatarSizes.l,height:o.avatarSizes.l,lineHeight:o.avatarSizes.l,fontSize:o.avatarSizes.l}},iconSize:{s:{width:o.iconSizes.s,height:o.iconSizes.s,lineHeight:o.iconSizes.s,fontSize:o.iconSizes.s},m:{width:o.iconSizes.m,height:o.iconSizes.m,lineHeight:o.iconSizes.m,fontSize:o.iconSizes.m},l:{width:o.iconSizes.l,height:o.iconSizes.l,lineHeight:o.iconSizes.l,fontSize:o.iconSizes.l}},bordered:{true:{borderWidth:1}},borderColor:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:H},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:B},muted:{borderColor:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},borderColorOnActive:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:H},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:B},muted:{borderColor:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},borderColorOnFocus:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:H},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:B},muted:{borderColor:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},borderColorOnHover:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:H},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:B},muted:{borderColor:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},borderColorOnChecked:{accent:{borderColor:F},alert:{borderColor:E},black:{borderColor:H},brand:{borderColor:M},positive:{borderColor:A},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:B},muted:{borderColor:I},primary:{borderColor:O},secondary:{borderColor:V},tertiary:{borderColor:D}},borderStartColor:{accent:{borderStartColor:F},alert:{borderStartColor:E},black:{borderStartColor:H},brand:{borderStartColor:M},positive:{borderStartColor:A},warning:{borderStartColor:W},white:{borderStartColor:z},transparent:{borderStartColor:B},muted:{borderStartColor:I},primary:{borderStartColor:O},secondary:{borderStartColor:V},tertiary:{borderStartColor:D}},borderEndColor:{accent:{borderEndColor:F},alert:{borderEndColor:E},black:{borderEndColor:H},brand:{borderEndColor:M},positive:{borderEndColor:A},warning:{borderEndColor:W},white:{borderEndColor:z},transparent:{borderEndColor:B},muted:{borderEndColor:I},primary:{borderEndColor:O},secondary:{borderEndColor:V},tertiary:{borderEndColor:D}},borderBottomColor:{accent:{borderBottomColor:F},alert:{borderBottomColor:E},black:{borderBottomColor:H},brand:{borderBottomColor:M},positive:{borderBottomColor:A},warning:{borderBottomColor:W},white:{borderBottomColor:z},transparent:{borderBottomColor:B},muted:{borderBottomColor:I},primary:{borderBottomColor:O},secondary:{borderBottomColor:V},tertiary:{borderBottomColor:D}},borderTopColor:{accent:{borderTopColor:F},alert:{borderTopColor:E},black:{borderTopColor:H},brand:{borderTopColor:M},positive:{borderTopColor:A},warning:{borderTopColor:W},white:{borderTopColor:z},transparent:{borderTopColor:B},muted:{borderTopColor:I},primary:{borderTopColor:O},secondary:{borderTopColor:V},tertiary:{borderTopColor:D}},borderRadius:{none:{borderRadius:o.borderRadius.none},xs:{borderRadius:o.borderRadius.xs},sm:{borderRadius:o.borderRadius.sm},md:{borderRadius:o.borderRadius.md},lg:{borderRadius:o.borderRadius.lg},xl:{borderRadius:o.borderRadius.xl},full:{borderRadius:o.borderRadius.full}},borderTopStartRadius:{none:{borderTopStartRadius:o.borderRadius.none},xs:{borderTopStartRadius:o.borderRadius.xs},sm:{borderTopStartRadius:o.borderRadius.sm},md:{borderTopStartRadius:o.borderRadius.md},lg:{borderTopStartRadius:o.borderRadius.lg},xl:{borderTopStartRadius:o.borderRadius.xl},full:{borderTopStartRadius:o.borderRadius.full}},borderTopEndRadius:{none:{borderTopEndRadius:o.borderRadius.none},xs:{borderTopEndRadius:o.borderRadius.xs},sm:{borderTopEndRadius:o.borderRadius.sm},md:{borderTopEndRadius:o.borderRadius.md},lg:{borderTopEndRadius:o.borderRadius.lg},xl:{borderTopEndRadius:o.borderRadius.xl},full:{borderTopEndRadius:o.borderRadius.full}},borderBottomStartRadius:{none:{borderBottomStartRadius:o.borderRadius.none},xs:{borderBottomStartRadius:o.borderRadius.xs},sm:{borderBottomStartRadius:o.borderRadius.sm},md:{borderBottomStartRadius:o.borderRadius.md},lg:{borderBottomStartRadius:o.borderRadius.lg},xl:{borderBottomStartRadius:o.borderRadius.xl},full:{borderBottomStartRadius:o.borderRadius.full}},borderBottomEndRadius:{none:{borderBottomEndRadius:o.borderRadius.none},xs:{borderBottomEndRadius:o.borderRadius.xs},sm:{borderBottomEndRadius:o.borderRadius.sm},md:{borderBottomEndRadius:o.borderRadius.md},lg:{borderBottomEndRadius:o.borderRadius.lg},xl:{borderBottomEndRadius:o.borderRadius.xl},full:{borderBottomEndRadius:o.borderRadius.full}},borderWidth:{none:{borderWidth:o.borderWidth.none},thin:{borderWidth:o.borderWidth.thin},medium:{borderWidth:o.borderWidth.medium},thick:{borderWidth:o.borderWidth.thick}},borderVerticalWidth:{none:{borderTopWidth:o.borderWidth.none,borderBottomWidth:o.borderWidth.none},thin:{borderTopWidth:o.borderWidth.thin,borderBottomWidth:o.borderWidth.thin},medium:{borderTopWidth:o.borderWidth.medium,borderBottomWidth:o.borderWidth.medium},thick:{borderTopWidth:o.borderWidth.thick,borderBottomWidth:o.borderWidth.thick}},borderHorizontalWidth:{none:{borderStartWidth:o.borderWidth.none,borderEndWidth:o.borderWidth.none},thin:{borderStartWidth:o.borderWidth.thin,borderEndWidth:o.borderWidth.thin},medium:{borderStartWidth:o.borderWidth.medium,borderEndWidth:o.borderWidth.medium},thick:{borderStartWidth:o.borderWidth.thick,borderEndWidth:o.borderWidth.thick}},borderStartWidth:{none:{borderStartWidth:o.borderWidth.none},thin:{borderStartWidth:o.borderWidth.thin},medium:{borderStartWidth:o.borderWidth.medium},thick:{borderStartWidth:o.borderWidth.thick}},borderEndWidth:{none:{borderEndWidth:o.borderWidth.none},thin:{borderEndWidth:o.borderWidth.thin},medium:{borderEndWidth:o.borderWidth.medium},thick:{borderEndWidth:o.borderWidth.thick}},borderTopWidth:{none:{borderTopWidth:o.borderWidth.none},thin:{borderTopWidth:o.borderWidth.thin},medium:{borderTopWidth:o.borderWidth.medium},thick:{borderTopWidth:o.borderWidth.thick}},borderBottomWidth:{none:{borderBottomWidth:o.borderWidth.none},thin:{borderBottomWidth:o.borderWidth.thin},medium:{borderBottomWidth:o.borderWidth.medium},thick:{borderBottomWidth:o.borderWidth.thick}},borderedVertical:{true:{borderTopWidth:1,borderBottomWidth:1,borderColor:O}},borderedTop:{true:{borderTopWidth:1,borderColor:O}},borderedBottom:{true:{borderBottomWidth:1,borderColor:O}},borderedHorizontal:{true:{borderStartWidth:1,borderEndWidth:1,borderColor:O}},borderedEnd:{true:{borderEndWidth:1,borderColor:O}},borderedStart:{true:{borderStartWidth:1,borderColor:O}},contentFit:{contain:_,cover:_,fill:_,none:_,"scale-down":_},textTransform:{display1:{textTransform:o.textTransform.display1},display2:{textTransform:o.textTransform.display2},display3:{textTransform:o.textTransform.display3},title1:{textTransform:o.textTransform.title1},title2:{textTransform:o.textTransform.title2},title3:{textTransform:o.textTransform.title3},title4:{textTransform:o.textTransform.title4},headline1:{textTransform:o.textTransform.headline1},body1:{textTransform:o.textTransform.body1},label1:{textTransform:o.textTransform.label1},label2:{textTransform:o.textTransform.label2},caption1:{textTransform:o.textTransform.caption1},caption2:{textTransform:o.textTransform.caption2},legal1:{textTransform:o.textTransform.legal1},none:{textTransform:"none"},uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"}}}})(eo);return d(Oo,no,U)}return{cva:u,getStyles:Mo,tokens:o}}var Pe=we({colorMode:Ao,scaleMode:Wo},Zo);import{createContext as Lr,useContext as Nr}from"react";import{jsx as $r}from"react/jsx-runtime";var Je=Lr(Ao);function qo(){return Nr(Je)}function Qe({value:e=Ao,children:r}){return $r(Je.Provider,{value:e,children:r})}import{createContext as Gr,useContext as Ur}from"react";import{jsx as Xr}from"react/jsx-runtime";var or=Gr(Wo);function Te(){let e=Ur(or);return e||Wo}function er({value:e,children:r}){let t=Te();return Xr(or.Provider,{value:e??t,children:r})}import{jsx as Kr}from"react/jsx-runtime";var ke=Yr(Pe),tr=jr(function({children:r,value:t=Zo}){let n=qo(),a=Te(),i=Zr(()=>t===void 0&&n===Ao&&a===Wo?Pe:we({colorMode:n,scaleMode:a},t),[n,a,t]);return Kr(ke.Provider,{value:i,children:r})});function ro(e){let{getStyles:r}=rr(ke);return r(e)}function nr(){return rr(ke).tokens}import{Children as No,cloneElement as ar,forwardRef as lr,isValidElement as Jo}from"react";function qr(e,r){typeof e=="function"?e(r):e!=null&&(e.current=r)}function ir(...e){return r=>e.forEach(t=>qr(t,r))}import{jsx as dr}from"react/jsx-runtime";function Qo(){let e=lr((i,c)=>{let{children:o,...d}=i,u=No.toArray(o),l=u.find(n);if(l){let s=l.props.children,p=u.map(m=>m===l?No.count(s)>1?No.only(null):Jo(s)?s.props.children:null:m);return dr(r,{...d,ref:c,children:Jo(s)?ar(s,void 0,p):null})}return dr(r,{...d,ref:c,children:o})});e.displayName="Slot";let r=lr((i,c)=>{let{children:o,...d}=i;return Jo(o)?ar(o,{...a(d,o.props),ref:c?ir(c,o.ref):o.ref}):No.count(o)>1?No.only(null):null});r.displayName="SlotClone";let t=({children:i})=>i;function n(i){return Jo(i)&&i.type===t}function a(i,c){let o={...c};for(let d in c){let u=i[d],l=c[d];/^on[A-Z]/.test(d)?u&&l?o[d]=(...p)=>{l(...p),u(...p)}:u&&(o[d]=u):d==="style"&&(o[d]={...u,...l})}return{...i,...o}}return e}var sr="RCTView",oe="RCTText",pr=Qo(),ee=Qo(),cr=Qo();import{jsx as Qr}from"react/jsx-runtime";var re=Jr(function({asChild:r=!1,style:t,backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:i,backgroundColorOnChecked:c,elevation:o,bordered:d,borderedTop:u,borderedBottom:l,borderedStart:s,borderedEnd:p,borderedHorizontal:m,borderedVertical:b,borderRadius:h,borderTopStartRadius:y,borderTopEndRadius:C,borderBottomStartRadius:S,borderBottomEndRadius:x,borderColor:v,borderColorOnActive:w,borderColorOnFocus:P,borderColorOnChecked:T,borderColorOnHover:k,borderStartColor:F,borderEndColor:E,borderTopColor:M,borderBottomColor:A,borderWidth:W,borderVerticalWidth:z,borderHorizontalWidth:H,borderStartWidth:B,borderEndWidth:io,borderTopWidth:ao,borderBottomWidth:lo,alignContent:to,alignItems:so="stretch",alignSelf:X,flex:Y,flexBasis:j,flexDirection:Z="column",flexGrow:K,flexShrink:N,flexWrap:$="nowrap",justifyContent:G="flex-start",display:q,zIndex:J,overflow:Q,overflowX:oo,overflowY:O,position:V,spacing:D,spacingHorizontal:I,spacingVertical:f,spacingBottom:po,spacingEnd:co,spacingStart:mo,spacingTop:go,offset:fo,offsetVertical:uo,offsetHorizontal:bo,offsetBottom:ho,offsetEnd:yo,offsetStart:Co,offsetTop:So,columnGap:xo,rowGap:vo,height:wo,minHeight:Po,maxHeight:To,width:ko,minWidth:Ro,maxWidth:Fo,...Eo},Mo){let U=ro({backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:i,backgroundColorOnChecked:c,elevation:o,bordered:d,borderedTop:u,borderedBottom:l,borderedStart:s,borderedEnd:p,borderedHorizontal:m,borderedVertical:b,borderRadius:h,borderTopStartRadius:y,borderTopEndRadius:C,borderBottomStartRadius:S,borderBottomEndRadius:x,borderColor:v,borderColorOnActive:w,borderColorOnFocus:P,borderColorOnChecked:T,borderColorOnHover:k,borderStartColor:F,borderEndColor:E,borderTopColor:M,borderBottomColor:A,borderWidth:W,borderVerticalWidth:z,borderHorizontalWidth:H,borderStartWidth:B,borderEndWidth:io,borderTopWidth:ao,borderBottomWidth:lo,alignContent:to,alignItems:so,alignSelf:X,flex:Y,flexDirection:Z,flexGrow:K,flexShrink:N,flexWrap:$,justifyContent:G,flexBasis:j,display:q,zIndex:J,overflow:Q,overflowX:oo,overflowY:O,position:V,spacing:D,spacingHorizontal:I,spacingVertical:f,spacingBottom:po,spacingEnd:co,spacingStart:mo,spacingTop:go,offset:fo,offsetVertical:uo,offsetHorizontal:bo,offsetBottom:ho,offsetEnd:yo,offsetStart:Co,offsetTop:So,columnGap:xo,rowGap:vo,height:wo,minHeight:Po,maxHeight:To,width:ko,minWidth:Ro,maxWidth:Fo,style:t});return Qr(r?pr:sr,{ref:Mo,style:U,...Eo})});import{forwardRef as ot}from"react";import{jsx as et}from"react/jsx-runtime";var ea=ot(function({gap:r,...t},n){return et(re,{ref:n,flexDirection:"row",rowGap:r,columnGap:r,...t})});import{forwardRef as rt}from"react";import{jsx as tt}from"react/jsx-runtime";var mr=rt(function({style:r,asChild:t=!1,size:n="l",color:a="primary",name:i,colorChecked:c,opacity:o,textAlign:d,spacing:u,spacingBottom:l,spacingEnd:s,spacingHorizontal:p,spacingStart:m,spacingTop:b,spacingVertical:h,offset:y,offsetBottom:C,offsetEnd:S,offsetHorizontal:x,offsetStart:v,offsetTop:w,offsetVertical:P,...T},k){let F=ro({color:a,colorChecked:c,opacity:o,fontFamily:"icons",textAlign:d,spacing:u,spacingBottom:l,spacingEnd:s,spacingHorizontal:p,spacingStart:m,spacingTop:b,spacingVertical:h,offset:y,offsetBottom:C,offsetEnd:S,offsetHorizontal:x,offsetStart:v,offsetTop:w,offsetVertical:P,iconSize:n,style:r});return tt(t?ee:oe,{ref:k,maxFontSizeMultiplier:1,allowFontScaling:!1,style:F,...T,children:i})});import{forwardRef as lt}from"react";var Re={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",bordered:!0},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",bordered:!0},"accent-ghost":{color:"accent"},"accent-wash":{color:"accent",backgroundColor:"accent-wash",borderColor:"accent",bordered:!0},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",bordered:!0},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",bordered:!0},"brand-ghost":{color:"brand"},"brand-wash":{color:"brand",backgroundColor:"brand-wash",borderColor:"brand",bordered:!0},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",bordered:!0},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",bordered:!0},"positive-ghost":{color:"positive"},"positive-wash":{color:"positive",backgroundColor:"positive-wash",borderColor:"positive",bordered:!0},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",bordered:!0},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",bordered:!0},"alert-ghost":{color:"alert"},"alert-wash":{color:"alert",backgroundColor:"alert-wash",borderColor:"alert",bordered:!0},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",bordered:!0},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",bordered:!0},"warning-ghost":{color:"warning"},"warning-wash":{color:"warning",backgroundColor:"warning-wash",borderColor:"warning",bordered:!0},"primary-outline":{color:"primary",borderColor:"muted",bordered:!0},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function gr({variant:e="accent",size:r="s"}){let{color:t,...n}=Re.variant[e],{variant:a,...i}=Re.size[r];return{pressable:{...Re.base,...n,...i},text:{color:t,variant:a,textAlign:"center"},icon:{color:t,size:"s"}}}import{forwardRef as nt}from"react";import{Pressable as it}from"react-native";import{jsx as at}from"react/jsx-runtime";var fr=nt(function({style:r,asChild:t=!1,backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:i,backgroundColorOnChecked:c,elevation:o,opacity:d,bordered:u,borderedTop:l,borderedBottom:s,borderedStart:p,borderedEnd:m,borderedHorizontal:b,borderedVertical:h,borderRadius:y,borderTopStartRadius:C,borderTopEndRadius:S,borderBottomStartRadius:x,borderBottomEndRadius:v,borderColor:w,borderColorOnActive:P,borderColorOnFocus:T,borderColorOnChecked:k,borderColorOnHover:F,borderStartColor:E,borderEndColor:M,borderTopColor:A,borderBottomColor:W,borderWidth:z,borderVerticalWidth:H,borderHorizontalWidth:B,borderStartWidth:io,borderEndWidth:ao,borderTopWidth:lo,borderBottomWidth:to,alignContent:so,alignItems:X,alignSelf:Y,flex:j,flexBasis:Z,flexDirection:K,flexGrow:N,flexShrink:$,flexWrap:G,justifyContent:q,display:J,zIndex:Q,overflow:oo,overflowX:O,overflowY:V,position:D,spacing:I,spacingHorizontal:f,spacingVertical:po,spacingBottom:co,spacingEnd:mo,spacingStart:go,spacingTop:fo,offset:uo,offsetVertical:bo,offsetHorizontal:ho,offsetBottom:yo,offsetEnd:Co,offsetStart:So,offsetTop:xo,columnGap:vo,rowGap:wo,height:Po,minHeight:To,maxHeight:ko,width:Ro,minWidth:Fo,maxWidth:Eo,...Mo},U){let eo=ro({backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:i,backgroundColorOnChecked:c,elevation:o,opacity:d,bordered:u,borderedTop:l,borderedBottom:s,borderedStart:p,borderedEnd:m,borderedHorizontal:b,borderedVertical:h,borderRadius:y,borderTopStartRadius:C,borderTopEndRadius:S,borderBottomStartRadius:x,borderBottomEndRadius:v,borderColor:w,borderColorOnActive:P,borderColorOnFocus:T,borderColorOnChecked:k,borderColorOnHover:F,borderStartColor:E,borderEndColor:M,borderTopColor:A,borderBottomColor:W,borderWidth:z,borderVerticalWidth:H,borderHorizontalWidth:B,borderStartWidth:io,borderEndWidth:ao,borderTopWidth:lo,borderBottomWidth:to,alignContent:so,alignItems:X,alignSelf:Y,flex:j,flexDirection:K,flexGrow:N,flexShrink:$,flexWrap:G,justifyContent:q,flexBasis:Z,display:J,zIndex:Q,overflow:oo,overflowX:O,overflowY:V,position:D,spacing:I,spacingHorizontal:f,spacingVertical:po,spacingBottom:co,spacingEnd:mo,spacingStart:go,spacingTop:fo,offset:uo,offsetVertical:bo,offsetHorizontal:ho,offsetBottom:yo,offsetEnd:Co,offsetStart:So,offsetTop:xo,columnGap:vo,rowGap:wo,height:Po,minHeight:To,maxHeight:ko,width:Ro,minWidth:Fo,maxWidth:Eo,style:r});return at(t?cr:it,{style:eo,ref:U,...Mo})});import{jsx as br}from"react/jsx-runtime";var ur={s:36,m:48,l:64},dt={},Sa=lt(function({variant:r="accent",size:t="s",name:n,style:a=dt,...i},c){let o=gr({variant:r,size:t});return br(fr,{ref:c,...o.pressable,flexShrink:"0",style:{...a,width:ur[t],height:ur[t]},...i,children:br(mr,{name:n,...o.icon})})});import{Image as st}from"expo-image";import{jsx as pt}from"react/jsx-runtime";function Ta({width:e,height:r,src:t,alt:n,contentFit:a="cover",elevation:i,backgroundColor:c=i?`elevation-${i}`:"primary",backgroundColorOnActive:o,backgroundColorOnHover:d,backgroundColorOnChecked:u,opacity:l,bordered:s,borderedTop:p,borderedBottom:m,borderedStart:b,borderedEnd:h,borderedHorizontal:y,borderedVertical:C,borderRadius:S,borderTopStartRadius:x,borderTopEndRadius:v,borderBottomStartRadius:w,borderBottomEndRadius:P,borderColor:T,borderColorOnActive:k,borderColorOnFocus:F,borderColorOnChecked:E,borderColorOnHover:M,borderStartColor:A,borderEndColor:W,borderTopColor:z,borderBottomColor:H,borderWidth:B,borderVerticalWidth:io,borderHorizontalWidth:ao,borderStartWidth:lo,borderEndWidth:to,borderTopWidth:so,borderBottomWidth:X,alignContent:Y,alignItems:j,alignSelf:Z,flex:K,flexDirection:N,flexGrow:$,flexShrink:G="0",flexWrap:q,justifyContent:J,flexBasis:Q,display:oo="flex",zIndex:O,overflow:V,overflowX:D,overflowY:I,position:f,spacing:po,spacingHorizontal:co,spacingVertical:mo,spacingBottom:go,spacingEnd:fo,spacingStart:uo,spacingTop:bo,offset:ho,offsetVertical:yo,offsetHorizontal:Co,offsetBottom:So,offsetEnd:xo,offsetStart:vo,offsetTop:wo,columnGap:Po,rowGap:To,minHeight:ko,maxHeight:Ro,minWidth:Fo,maxWidth:Eo,...Mo}){let U=ro({contentFit:a,elevation:i,backgroundColor:c,backgroundColorOnActive:o,backgroundColorOnHover:d,backgroundColorOnChecked:u,opacity:l,bordered:s,borderedTop:p,borderedBottom:m,borderedStart:b,borderedEnd:h,borderedHorizontal:y,borderedVertical:C,borderRadius:S,borderTopStartRadius:x,borderTopEndRadius:v,borderBottomStartRadius:w,borderBottomEndRadius:P,borderColor:T,borderColorOnActive:k,borderColorOnFocus:F,borderColorOnChecked:E,borderColorOnHover:M,borderStartColor:A,borderEndColor:W,borderTopColor:z,borderBottomColor:H,borderWidth:B,borderVerticalWidth:io,borderHorizontalWidth:ao,borderStartWidth:lo,borderEndWidth:to,borderTopWidth:so,borderBottomWidth:X,alignContent:Y,alignItems:j,alignSelf:Z,flex:K,flexDirection:N,flexGrow:$,flexShrink:G,flexWrap:q,justifyContent:J,flexBasis:Q,display:oo,zIndex:O,overflow:V,overflowX:D,overflowY:I,position:f,spacing:po,spacingHorizontal:co,spacingVertical:mo,spacingBottom:go,spacingEnd:fo,spacingStart:uo,spacingTop:bo,offset:ho,offsetVertical:yo,offsetHorizontal:Co,offsetBottom:So,offsetEnd:xo,offsetStart:vo,offsetTop:wo,columnGap:Po,rowGap:To,minHeight:ko,maxHeight:Ro,minWidth:Fo,maxWidth:Eo,style:{width:e,height:r,justifyContent:"flex-start"}});return pt(st,{source:t,alt:n,style:U,contentFit:a,contentPosition:"left",...Mo})}import{forwardRef as ct}from"react";import{jsx as mt}from"react/jsx-runtime";var Aa=ct(function({style:r,asChild:t,color:n="primary",colorChecked:a,variant:i="body1",fontSize:c=i,fontFamily:o=i,fontWeight:d=i,lineHeight:u=i,textTransform:l=i,textAlign:s,backgroundColor:p,backgroundColorOnActive:m,backgroundColorOnHover:b,backgroundColorOnChecked:h,opacity:y,bordered:C,borderedTop:S,borderedBottom:x,borderedStart:v,borderedEnd:w,borderedHorizontal:P,borderedVertical:T,borderRadius:k,borderTopStartRadius:F,borderTopEndRadius:E,borderBottomStartRadius:M,borderBottomEndRadius:A,borderColor:W,borderColorOnActive:z,borderColorOnFocus:H,borderColorOnChecked:B,borderColorOnHover:io,borderStartColor:ao,borderEndColor:lo,borderTopColor:to,borderBottomColor:so,borderWidth:X,borderVerticalWidth:Y,borderHorizontalWidth:j,borderStartWidth:Z,borderEndWidth:K,borderTopWidth:N,borderBottomWidth:$,alignContent:G,alignItems:q,alignSelf:J,flex:Q,flexDirection:oo,flexGrow:O,flexShrink:V,flexWrap:D,justifyContent:I,flexBasis:f,display:po,zIndex:co,overflow:mo,overflowX:go,overflowY:fo,position:uo,spacing:bo,spacingHorizontal:ho,spacingVertical:yo,spacingBottom:Co,spacingEnd:So,spacingStart:xo,spacingTop:vo,offset:wo,offsetVertical:Po,offsetHorizontal:To,offsetBottom:ko,offsetEnd:Ro,offsetStart:Fo,offsetTop:Eo,columnGap:Mo,rowGap:U,height:eo,minHeight:Oo,maxHeight:g,width:no,minWidth:$o,maxWidth:ne,...ie},_o){let ae=ro({style:r,color:n,colorChecked:a,fontFamily:o,fontSize:c,fontWeight:d,lineHeight:u,textTransform:l,textAlign:s,backgroundColor:p,backgroundColorOnActive:m,backgroundColorOnHover:b,backgroundColorOnChecked:h,opacity:y,bordered:C,borderedTop:S,borderedBottom:x,borderedStart:v,borderedEnd:w,borderedHorizontal:P,borderedVertical:T,borderRadius:k,borderTopStartRadius:F,borderTopEndRadius:E,borderBottomStartRadius:M,borderBottomEndRadius:A,borderColor:W,borderColorOnActive:z,borderColorOnFocus:H,borderColorOnChecked:B,borderColorOnHover:io,borderStartColor:ao,borderEndColor:lo,borderTopColor:to,borderBottomColor:so,borderWidth:X,borderVerticalWidth:Y,borderHorizontalWidth:j,borderStartWidth:Z,borderEndWidth:K,borderTopWidth:N,borderBottomWidth:$,alignContent:G,alignItems:q,alignSelf:J,flex:Q,flexDirection:oo,flexGrow:O,flexShrink:V,flexWrap:D,justifyContent:I,flexBasis:f,display:po,zIndex:co,overflow:mo,overflowX:go,overflowY:fo,position:uo,spacing:bo,spacingHorizontal:ho,spacingVertical:yo,spacingBottom:Co,spacingEnd:So,spacingStart:xo,spacingTop:vo,offset:wo,offsetVertical:Po,offsetHorizontal:To,offsetBottom:ko,offsetEnd:Ro,offsetStart:Fo,offsetTop:Eo,columnGap:Mo,rowGap:U,height:eo,minHeight:Oo,maxHeight:g,width:no,minWidth:$o,maxWidth:ne});return mt(t?ee:oe,{style:ae,ref:_o,maxFontSizeMultiplier:1,allowFontScaling:!1,...ie})});import{forwardRef as gt}from"react";import{jsx as ft}from"react/jsx-runtime";var Oa=gt(function({gap:r,...t},n){return ft(re,{ref:n,flexDirection:"column",columnGap:r,rowGap:r,...t})});import{useScrollToTop as vt}from"@react-navigation/native";import{forwardRef as wt,useMemo as Pt,useRef as Tt}from"react";import{ScrollView as kt}from"react-native";import{useMemo as ut}from"react";var bt=(e,r)=>{typeof e=="function"?e(r):e&&(e.current=r)},hr=(...e)=>ut(()=>e.every(r=>r==null)?null:r=>{e.forEach(t=>{bt(t,r)})},[e]);import yr from"expo-constants";import{createContext as ht,useContext as yt,useMemo as Ct}from"react";import{useSafeAreaInsets as St}from"react-native-safe-area-context";import{jsx as xt}from"react/jsx-runtime";var Cr=ht({tabBarHeight:0,statusBarHeight:yr.statusBarHeight,safeAreaInsets:{top:0,right:0,bottom:0,left:0}});function Sr(){return yt(Cr)}function xr({children:e}){let r=St(),t=nr(),n=Ct(()=>({tabBarHeight:t.spacing[5]+t.iconSizes.m+t.spacing[3]+t.lineHeight.caption1+t.spacing[5]+r.bottom,statusBarHeight:yr.statusBarHeight,safeAreaInsets:r}),[t.spacing,t.iconSizes,t.lineHeight,r]);return xt(Cr.Provider,{value:n,children:e})}import{jsx as Rt}from"react/jsx-runtime";var ol=wt(function({children:r,...t},n){let a=qo(),i=Tt(null),c=hr(i,n);vt(i);let{tabBarHeight:o,safeAreaInsets:d}=Sr(),u=ro({backgroundColor:"primary",flexGrow:"1",spacingHorizontal:"6"}),l=Pt(()=>({paddingTop:d.top,paddingBottom:o}),[d.top,o]);return Rt(kt,{ref:c,style:u,contentInsetAdjustmentBehavior:"never",automaticallyAdjustContentInsets:!1,contentContainerStyle:l,indicatorStyle:a==="dark"?"black":"white",...t,children:r})});import{useCallback as Ft,useEffect as Et,useState as Mt}from"react";import{AppState as vr}from"react-native";function te(){let[e,r]=Mt(vr.currentState),t=Ft(n=>{r(n)},[]);return Et(()=>{let n=vr.addEventListener("change",t);return()=>{n.remove()}},[t]),e}import{useEffect as At,useRef as Wt,useState as zt}from"react";import{PixelRatio as Fe}from"react-native";var wr=()=>{let[e,r]=zt(Fe.getFontScale()),t=Wt(Fe.getFontScale()),n=te();return At(()=>{if(n==="active"){let a=Fe.getFontScale();t.current!==a&&(r(a),t.current=a)}},[n]),e};import{setStatusBarStyle as $t}from"expo-status-bar";import{createContext as Fr,useContext as Gt,useEffect as Rr,useState as Ut}from"react";import{createContext as Ht,useContext as Bt,useEffect as Ot,useState as _t}from"react";import{Appearance as Vt,Platform as Dt,useColorScheme as It}from"react-native";import{jsx as Nt}from"react/jsx-runtime";var Pr=Ht(Ao);function Tr(){return Bt(Pr)}function Lt(){let e=te(),r=It(),[t,n]=_t(r),a=Dt.OS==="android";return Ot(()=>{if(e==="active"){if(a){let i=Vt.getColorScheme();n(i);return}n(r)}},[r,e,a]),t??"light"}function kr({children:e}){let r=Lt();return Nt(Pr.Provider,{value:r,children:e})}import{jsx as Ee}from"react/jsx-runtime";var Xt=()=>{},Er=Fr(Io),Yt=Fr(Xt);function xl(){return Gt(Er)}function Mr({children:e,value:r=Io}){let[t,n]=Ut(r),a=Tr(),i=t==="system"?a:t;return Rr(()=>{$t(i==="light"?"dark":"light")},[i]),Rr(()=>{n(r)},[r]),Ee(Er.Provider,{value:t,children:Ee(Yt.Provider,{value:n,children:Ee(Qe,{value:i,children:e})})})}import{createContext as Hr,useState as Qt}from"react";import{createContext as jt,useContext as Zt,useMemo as Kt}from"react";import{jsx as Jt}from"react/jsx-runtime";var Ar=jt(Wo),Ho={xSmall:.823,small:.882,medium:.941,large:1,xLarge:1.118,xxLarge:1.235,xxxLarge:1.353};function Wr(){return Zt(Ar)}function qt(){let e=wr();return Kt(()=>e<=Ho.xSmall?"xSmall":e<=Ho.small?"small":e<=Ho.medium?"medium":e<=Ho.large?"large":e<=Ho.xLarge?"xLarge":e<=Ho.xxLarge?"xxLarge":e>=Ho.xxxLarge?"xxxLarge":"large",[e])}function zr({children:e}){let r=qt();return Jt(Ar.Provider,{value:r,children:e})}import{jsx as Me}from"react/jsx-runtime";var on=()=>{},en=Hr(Lo),rn=Hr(on);function Br({children:e,value:r=Lo}){let[t,n]=Qt(r),a=Wr(),i=t==="system"?a:t;return Me(en.Provider,{value:t,children:Me(rn.Provider,{value:n,children:Me(er,{value:i,children:e})})})}import{BottomSheetModalProvider as tn}from"@gorhom/bottom-sheet";import{SafeAreaProvider as nn}from"react-native-safe-area-context";import{jsx as zo}from"react/jsx-runtime";function Gl({children:e,colorModeForApp:r=Io,scaleModeForApp:t=Lo,config:n}){return zo(nn,{children:zo(kr,{children:zo(Mr,{value:r,children:zo(zr,{children:zo(Br,{value:t,children:zo(tr,{value:n,children:zo(xr,{children:zo(tn,{children:e})})})})})})})})}export{Fn as AVATAR_SIZE_PREFIX,En as BORDER_RADIUS_PREFIX,Mn as BORDER_WIDTH_PREFIX,re as Box,Je as ColorModeContext,Er as ColorModeForAppContext,Yt as ColorModeForAppContextUpdater,Mr as ColorModeForAppProvider,Pr as ColorModeForDeviceContext,kr as ColorModeForDeviceProvider,Qe as ColorModeProvider,Cr as ComputedTokensContext,xr as ComputedTokensProvider,On as DARK_COLOR_MODE_CLASSNAME,Ao as DEFAULT_COLOR_MODE,$n as DEFAULT_COLOR_MODE_CLASSNAME,Io as DEFAULT_COLOR_MODE_FOR_APP,Jn as DEFAULT_HIGH_CONTRAST_MODE,Qn as DEFAULT_REGION_MODE,Wo as DEFAULT_SCALE_MODE,Gn as DEFAULT_SCALE_MODE_CLASSNAME,Lo as DEFAULT_SCALE_MODE_FOR_APP,Pe as DEFAULT_STYLER,kn as FONT_FAMILY_PREFIX,Un as FONT_ICONS_CSS_VAR,Yn as FONT_SANS_BETA_CSS_VAR,jn as FONT_SANS_CONDENSED_CSS_VAR,Xn as FONT_SANS_CSS_VAR,Zn as FONT_SERIF_DISPLAY_CSS_VAR,Kn as FONT_SERIF_TEXT_CSS_VAR,Wn as FONT_SIZE_PREFIX,Hn as FONT_WEIGHT_PREFIX,ea as HStack,Rn as ICON_SIZE_PREFIX,mr as Icon,Sa as IconButton,Ta as Image,Vr as LARGE_SCALE_MODE_CLASSNAME,_r as LIGHT_COLOR_MODE_CLASSNAME,zn as LINE_HEIGHT_PREFIX,Dn as MEDIUM_SCALE_MODE_CLASSNAME,fr as Pressable,Vn as SMALL_SCALE_MODE_CLASSNAME,An as SPACING_PREFIX,Tn as SPECTRUM_COLOR_PREFIX,or as ScaleModeContext,en as ScaleModeForAppContext,Br as ScaleModeForAppProvider,rn as ScaleModeForAppUpdaterContext,Ar as ScaleModeForDeviceContext,zr as ScaleModeForDeviceProvider,er as ScaleModeProvider,ol as Screen,tr as StyleProvider,Bn as TEXT_TRANSFORM_PREFIX,Aa as Text,Gl as ThemeProvider,R as UDS_PREFIX,Oa as VStack,In as XLARGE_SCALE_MODE_CLASSNAME,_n as XSMALL_SCALE_MODE_CLASSNAME,Ln as XXLARGE_SCALE_MODE_CLASSNAME,Nn as XXXLARGE_SCALE_MODE_CLASSNAME,Bo as alwaysPalette,we as createStyler,Zo as defaultTokensConfig,Ze as entries,me as fontFamilyGlobal,L as fontWeightMap,te as useAppState,qo as useColorMode,xl as useColorModeForApp,Tr as useColorModeForDevice,Sr as useComputedTokens,wr as useDeviceFontScale,Te as useScaleMode,Wr as useScaleModeForDevice,ro as useStyles,nr as useTokens};
|
1
|
+
import{forwardRef as Ot}from"react";var xo={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},Po={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var vo={none:0,thin:1,medium:2,thick:2},To={none:0,thin:1,medium:2,thick:4};var Ro={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Fo={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},ve={white:"#ffffff",black:"#000000",transparent:"transparent"};var qe={s:16,m:24,l:32},wo=qe,Je={sm:16,md:24,lg:32},Mo=Je;var Eo={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},Ao={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var ko={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},Wo={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var He=["Helvetica Neue","Helvetica","Arial","sans-serif"],zo=["Georgia","Times","Times New Roman","serif"],Qe={icons:{fallbacks:He,name:"yahoo-icons"},sans:{fallbacks:He,name:"yahoo-sans"},"sans-beta":{fallbacks:He,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:He,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:zo,name:"yahoo-serif-text"},"serif-display":{fallbacks:zo,name:"yahoo-serif-display"}},eo={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},I={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},oo={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},to={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},ro={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},no={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...ro.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Be={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...no.lineHeight,title2:36,title3:32}},io={fontSize:{...Be.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Be.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},ao={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...io.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},lo={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...ao.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Ho={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...lo.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var so={fontFamily:eo,fontWeight:oo,textTransform:to,avatarSizes:qe,iconSizes:Je,borderRadius:xo,borderWidth:vo,spacing:Eo},_e={fontFamily:eo,fontWeight:oo,textTransform:to,avatarSizes:wo,iconSizes:Mo,borderRadius:Po,borderWidth:To,spacing:Ao},Oe={colorMode:{light:{palette:Ro,spectrum:ko},dark:{palette:Fo,spectrum:Wo}},scaleMode:{xSmall:{...so,...ro},small:{...so,...no},medium:{...so,...Be},large:{..._e,...io},xLarge:{..._e,...ao},xxLarge:{..._e,...lo},xxxLarge:{..._e,...Ho}},fontFamily:Qe};var F="uds",an=`${F}-spectrum-color`,ln=`${F}-font`,sn=`${F}-icon-size`,dn=`${F}-avatar-size`,pn=`${F}-border-radius`,cn=`${F}-border-width`,mn=`${F}-spacing`,fn=`${F}-font-size`,gn=`${F}-line-height`,un=`${F}-font-weight`,bn=`${F}-text-transform`,hn=`${F}-color-mode-dark`,vt=`${F}-color-mode-light`,yn=`${F}-scale-mode-xsmall`,Sn=`${F}-scale-mode-small`,Cn=`${F}-scale-mode-medium`,Tt=`${F}-scale-mode-large`,xn=`${F}-scale-mode-xlarge`,Pn=`${F}-scale-mode-xxlarge`,vn=`${F}-scale-mode-xxxlarge`,Tn=vt,Rn=Tt,Fn=`--${F}-font-icons`,wn=`--${F}-font-sans`,Mn=`--${F}-font-sans-beta`,En=`--${F}-font-sans-condensed`,An=`--${F}-font-serif-display`,kn=`--${F}-font-serif-text`;var Fe="system",we="system",he="light",ye="large",zn=!1,Hn="\u{1F1FA}\u{1F1F8} US";function _n(o){return Object.entries(o)}import{createContext as Wt,memo as zt,useContext as Io,useMemo as Ht}from"react";import{textVariants as Rt}from"@yahoo/uds/fixtures";function De(o,t){return Object.keys(o).reduce((r,n,i)=>(r[n]=t(o[n],n,i),r),{})}function Bo({spectrum:o,palette:t}){let r=De(o,i=>De(i,a=>`rgb(${a.replaceAll(" ",",")})`)),n=De(t,i=>Object.entries(i).reduce((a,[f,{hue:e,step:s,opacity:u}])=>{let l=o[e][s],d=u?`rgb(${l.replaceAll(" ",",")} / ${u})`:`rgb(${l.replaceAll(" ",",")})`;return{...a,[f]:d}},{}));return{spectrum:r,palette:n}}function _o({colorMode:o,...t}){return{...t,colorMode:{light:Bo(o.light),dark:Bo(o.dark)}}}function po(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var M={};function co({colorMode:o,scaleMode:t},r){let{colorMode:n,scaleMode:i,fontFamily:a,...f}=_o(r),e={fontFamilyGlobal:a,...f,...n[o],...i[t]},s=Object.assign,u=function(be){return function(m){let $={};if(!be?.variants)return s($,be?.base);let{base:Ae,variants:Xe,defaultVariants:So,compoundVariants:je}=be;Ae&&s($,Ae);function xt(ke){if(ke){let{style:Re,...Ke}=ke;for(let We in Ke){let ze=Xe[We],Ye=m?.[We],Co=So?.[We],Ze=po(Ye)||po(Co);if(Ze&&Ze in ze){let Pt=ze[Ze];s($,Pt)}}Re&&s($,Re)}}if(xt(m),je&&je?.length>0)for(let ke of je){let{style:Re,...Ke}=ke;Object.entries(Ke).every(([ze,Ye])=>m?.[ze]===Ye)&&Re&&s($,Re)}return m?.style&&s($,m.style),$}},l=e.spacing.none,d=e.spacing[1],p=e.spacing[2],c=e.spacing[3],b=e.spacing[4],h=e.spacing[5],y=e.spacing[6],S=e.spacing[7],C=e.spacing[8],x=e.spacing[9],P=e.spacing[10],v=e.spacing[11],T=e.spacing[12],R=e.spacing[13],w=e.spacing[14],E=e.palette.core.accent,A=e.palette.core.alert,k=e.palette.core.brand,W=e.palette.core.positive,z=e.palette.core.warning,H=ve.white,B=ve.black,_=ve.transparent,G=e.palette.foreground.muted,U=e.palette.foreground["on-color"],X=e.palette.foreground.primary,j=e.palette.foreground.secondary,K=e.palette.foreground.tertiary,Y=e.palette.background.primary,Z=e.palette.background.secondary,O=e.palette.line.primary,D=e.palette.line.secondary,V=e.palette.line.tertiary,L=e.palette.line.muted,g=e.fontFamilyGlobal,q=g.sans.name,J=g["sans-beta"].name,Q=g["sans-condensed"].name,ee=g["serif-text"].name,oe=g["serif-display"].name,te=g[e.fontFamily.display1].name,re=g[e.fontFamily.display2].name,ne=g[e.fontFamily.display3].name,ie=g[e.fontFamily.title1].name,ae=g[e.fontFamily.title2].name,le=g[e.fontFamily.title3].name,se=g[e.fontFamily.title4].name,de=g[e.fontFamily.headline1].name,pe=g[e.fontFamily.body1].name,ce=g[e.fontFamily.label1].name,me=g[e.fontFamily.label2].name,fe=g[e.fontFamily.caption1].name,ge=g[e.fontFamily.caption2].name,ue=g[e.fontFamily.legal1].name;function Ce(xe){return!!(typeof xe=="string"&&Rt.includes(xe))}function Te({style:xe,...be}){let Ee={},m;Ce(be.fontWeight)?m=e.fontWeight[be.fontWeight]:m="regular";let $=u({variants:{color:{accent:{color:E},alert:{color:A},black:{color:B},brand:{color:k},positive:{color:W},warning:{color:z},white:{color:H},transparent:{color:_},muted:{color:G},"on-color":{color:U},primary:{color:X},secondary:{color:j},tertiary:{color:K}},fontFamily:{icons:{fontFamily:g.icons.name},sans:{fontFamily:`${q}-${m}`},"sans-beta":{fontFamily:`${J}-${m}`},"sans-condensed":{fontFamily:`${Q}-${m}`},"serif-text":{fontFamily:`${ee}-${m}`},"serif-display":{fontFamily:`${oe}-${m}`},display1:{fontFamily:`${te}-${m}`},display2:{fontFamily:`${re}-${m}`},display3:{fontFamily:`${ne}-${m}`},title1:{fontFamily:`${ie}-${m}`},title2:{fontFamily:`${ae}-${m}`},title3:{fontFamily:`${le}-${m}`},title4:{fontFamily:`${se}-${m}`},headline1:{fontFamily:`${de}-${m}`},body1:{fontFamily:`${pe}-${m}`},label1:{fontFamily:`${ce}-${m}`},label2:{fontFamily:`${me}-${m}`},caption1:{fontFamily:`${fe}-${m}`},caption2:{fontFamily:`${ge}-${m}`},legal1:{fontFamily:`${ue}-${m}`}},fontSize:{display1:{fontSize:e.fontSize.display1},display2:{fontSize:e.fontSize.display2},display3:{fontSize:e.fontSize.display3},title1:{fontSize:e.fontSize.title1},title2:{fontSize:e.fontSize.title2},title3:{fontSize:e.fontSize.title3},title4:{fontSize:e.fontSize.title4},headline1:{fontSize:e.fontSize.headline1},body1:{fontSize:e.fontSize.body1},label1:{fontSize:e.fontSize.label1},label2:{fontSize:e.fontSize.label2},caption1:{fontSize:e.fontSize.caption1},caption2:{fontSize:e.fontSize.caption2},legal1:{fontSize:e.fontSize.legal1}},fontWeight:{display1:{fontWeight:I[e.fontWeight.display1]},display2:{fontWeight:I[e.fontWeight.display2]},display3:{fontWeight:I[e.fontWeight.display3]},title1:{fontWeight:I[e.fontWeight.title1]},title2:{fontWeight:I[e.fontWeight.title2]},title3:{fontWeight:I[e.fontWeight.title3]},title4:{fontWeight:I[e.fontWeight.title4]},headline1:{fontWeight:I[e.fontWeight.headline1]},body1:{fontWeight:I[e.fontWeight.body1]},label1:{fontWeight:I[e.fontWeight.label1]},label2:{fontWeight:I[e.fontWeight.label2]},caption1:{fontWeight:I[e.fontWeight.caption1]},caption2:{fontWeight:I[e.fontWeight.caption2]},legal1:{fontWeight:I[e.fontWeight.legal1]},thin:{},extralight:{},light:{},regular:{},medium:{},semibold:{},bold:{},extrabold:{},black:{}},lineHeight:{display1:{lineHeight:e.lineHeight.display1},display2:{lineHeight:e.lineHeight.display2},display3:{lineHeight:e.lineHeight.display3},title1:{lineHeight:e.lineHeight.title1},title2:{lineHeight:e.lineHeight.title2},title3:{lineHeight:e.lineHeight.title3},title4:{lineHeight:e.lineHeight.title4},headline1:{lineHeight:e.lineHeight.headline1},body1:{lineHeight:e.lineHeight.body1},label1:{lineHeight:e.lineHeight.label1},label2:{lineHeight:e.lineHeight.label2},caption1:{lineHeight:e.lineHeight.caption1},caption2:{lineHeight:e.lineHeight.caption2},legal1:{lineHeight:e.lineHeight.legal1}},textAlign:{center:{textAlign:"center"},justify:{textAlign:"justify"},start:{textAlign:"left"},end:{textAlign:"right"}},backgroundColor:{accent:{backgroundColor:E},alert:{backgroundColor:A},black:{backgroundColor:B},brand:{backgroundColor:k},positive:{backgroundColor:W},warning:{backgroundColor:z},white:{backgroundColor:H},primary:{backgroundColor:Y},secondary:{backgroundColor:Z},transparent:{backgroundColor:_}},spacing:{none:{padding:l},1:{padding:d},2:{padding:p},3:{padding:c},4:{padding:b},5:{padding:h},6:{padding:y},7:{padding:S},8:{padding:C},9:{padding:x},10:{padding:P},11:{padding:v},12:{padding:T},13:{padding:R},14:{padding:w}},spacingHorizontal:{none:{paddingHorizontal:l},1:{paddingHorizontal:d},2:{paddingHorizontal:p},3:{paddingHorizontal:c},4:{paddingHorizontal:b},5:{paddingHorizontal:h},6:{paddingHorizontal:y},7:{paddingHorizontal:S},8:{paddingHorizontal:C},9:{paddingHorizontal:x},10:{paddingHorizontal:P},11:{paddingHorizontal:v},12:{paddingHorizontal:T},13:{paddingHorizontal:R},14:{paddingHorizontal:w}},spacingVertical:{none:{paddingVertical:l},1:{paddingVertical:d},2:{paddingVertical:p},3:{paddingVertical:c},4:{paddingVertical:b},5:{paddingVertical:h},6:{paddingVertical:y},7:{paddingVertical:S},8:{paddingVertical:C},9:{paddingVertical:x},10:{paddingVertical:P},11:{paddingVertical:v},12:{paddingVertical:T},13:{paddingVertical:R},14:{paddingVertical:w}},spacingBottom:{none:{paddingBottom:l},1:{paddingBottom:d},2:{paddingBottom:p},3:{paddingBottom:c},4:{paddingBottom:b},5:{paddingBottom:h},6:{paddingBottom:y},7:{paddingBottom:S},8:{paddingBottom:C},9:{paddingBottom:x},10:{paddingBottom:P},11:{paddingBottom:v},12:{paddingBottom:T},13:{paddingBottom:R},14:{paddingBottom:w}},spacingEnd:{none:{paddingEnd:l},1:{paddingEnd:d},2:{paddingEnd:p},3:{paddingEnd:c},4:{paddingEnd:b},5:{paddingEnd:h},6:{paddingEnd:y},7:{paddingEnd:S},8:{paddingEnd:C},9:{paddingEnd:x},10:{paddingEnd:P},11:{paddingEnd:v},12:{paddingEnd:T},13:{paddingEnd:R},14:{paddingEnd:w}},spacingStart:{none:{paddingStart:l},1:{paddingStart:d},2:{paddingStart:p},3:{paddingStart:c},4:{paddingStart:b},5:{paddingStart:h},6:{paddingStart:y},7:{paddingStart:S},8:{paddingStart:C},9:{paddingStart:x},10:{paddingStart:P},11:{paddingStart:v},12:{paddingStart:T},13:{paddingStart:R},14:{paddingStart:w}},spacingTop:{none:{paddingTop:l},1:{paddingTop:d},2:{paddingTop:p},3:{paddingTop:c},4:{paddingTop:b},5:{paddingTop:h},6:{paddingTop:y},7:{paddingTop:S},8:{paddingTop:C},9:{paddingTop:x},10:{paddingTop:P},11:{paddingTop:v},12:{paddingTop:T},13:{paddingTop:R},14:{paddingTop:w}},offset:{none:{margin:-l},1:{margin:-d},2:{margin:-p},3:{margin:-c},4:{margin:-b},5:{margin:-h},6:{margin:-y},7:{margin:-S},8:{margin:-C},9:{margin:-x},10:{margin:-P},11:{margin:-v},12:{margin:-T},13:{margin:-R},14:{margin:-w}},offsetVertical:{none:{marginVertical:-l},1:{marginVertical:-d},2:{marginVertical:-p},3:{marginVertical:-c},4:{marginVertical:-b},5:{marginVertical:-h},6:{marginVertical:-y},7:{marginVertical:-S},8:{marginVertical:-C},9:{marginVertical:-x},10:{marginVertical:-P},11:{marginVertical:-v},12:{marginVertical:-T},13:{marginVertical:-R},14:{marginVertical:-w}},offsetHorizontal:{none:{marginHorizontal:-l},1:{marginHorizontal:-d},2:{marginHorizontal:-p},3:{marginHorizontal:-c},4:{marginHorizontal:-b},5:{marginHorizontal:-h},6:{marginHorizontal:-y},7:{marginHorizontal:-S},8:{marginHorizontal:-C},9:{marginHorizontal:-x},10:{marginHorizontal:-P},11:{marginHorizontal:-v},12:{marginHorizontal:-T},13:{marginHorizontal:-R},14:{marginHorizontal:-w}},offsetBottom:{none:{marginBottom:-l},1:{marginBottom:-d},2:{marginBottom:-p},3:{marginBottom:-c},4:{marginBottom:-b},5:{marginBottom:-h},6:{marginBottom:-y},7:{marginBottom:-S},8:{marginBottom:-C},9:{marginBottom:-x},10:{marginBottom:-P},11:{marginBottom:-v},12:{marginBottom:-T},13:{marginBottom:-R},14:{marginBottom:-w}},offsetEnd:{none:{marginEnd:-l},1:{marginEnd:-d},2:{marginEnd:-p},3:{marginEnd:-c},4:{marginEnd:-b},5:{marginEnd:-h},6:{marginEnd:-y},7:{marginEnd:-S},8:{marginEnd:-C},9:{marginEnd:-x},10:{marginEnd:-P},11:{marginEnd:-v},12:{marginEnd:-T},13:{marginEnd:-R},14:{marginEnd:-w}},offsetStart:{none:{marginStart:-l},1:{marginStart:-d},2:{marginStart:-p},3:{marginStart:-c},4:{marginStart:-b},5:{marginStart:-h},6:{marginStart:-y},7:{marginStart:-S},8:{marginStart:-C},9:{marginStart:-x},10:{marginStart:-P},11:{marginStart:-v},12:{marginStart:-T},13:{marginStart:-R},14:{marginStart:-w}},offsetTop:{none:{marginTop:-l},1:{marginTop:-d},2:{marginTop:-p},3:{marginTop:-c},4:{marginTop:-b},5:{marginTop:-h},6:{marginTop:-y},7:{marginTop:-S},8:{marginTop:-C},9:{marginTop:-x},10:{marginTop:-P},11:{marginTop:-v},12:{marginTop:-T},13:{marginTop:-R},14:{marginTop:-w}},columnGap:{none:{columnGap:l},1:{columnGap:d},2:{columnGap:p},3:{columnGap:c},4:{columnGap:b},5:{columnGap:h},6:{columnGap:y},7:{columnGap:S},8:{columnGap:C},9:{columnGap:x},10:{columnGap:P},11:{columnGap:v},12:{columnGap:T},13:{columnGap:R},14:{columnGap:w}},rowGap:{none:{rowGap:l},1:{rowGap:d},2:{rowGap:p},3:{rowGap:c},4:{rowGap:b},5:{rowGap:h},6:{rowGap:y},7:{rowGap:S},8:{rowGap:C},9:{rowGap:x},10:{rowGap:P},11:{rowGap:v},12:{rowGap:T},13:{rowGap:R},14:{rowGap:w}},alignContent:{"flex-start":{alignContent:"flex-start"},"flex-end":{alignContent:"flex-end"},center:{alignContent:"center"},stretch:{alignContent:"stretch"},"space-between":{alignContent:"space-between"},"space-around":{alignContent:"space-around"}},alignItems:{"flex-start":{alignItems:"flex-start"},"flex-end":{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},alignSelf:{auto:{alignSelf:"auto"},"flex-start":{alignSelf:"flex-start"},"flex-end":{alignSelf:"flex-end"},center:{alignSelf:"center"},stretch:{alignSelf:"stretch"},baseline:{alignSelf:"baseline"}},flex:{1:{flex:1},auto:{flexGrow:1,flexShrink:1,flexBasis:"auto"},initial:{flexGrow:1,flexShrink:1},none:{}},flexDirection:{row:{flexDirection:"row"},column:{flexDirection:"column"},"row-reverse":{flexDirection:"row-reverse"},"column-reverse":{flexDirection:"column-reverse"}},flexGrow:{0:{flexGrow:0},1:{flexGrow:1},2:{flexGrow:2},3:{flexGrow:3}},flexShrink:{0:{flexShrink:0},1:{flexShrink:1}},flexWrap:{wrap:{flexWrap:"wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"},nowrap:{flexWrap:"nowrap"}},justifyContent:{"flex-start":{justifyContent:"flex-start"},"flex-end":{justifyContent:"flex-end"},center:{justifyContent:"center"},"space-between":{justifyContent:"space-between"},"space-around":{justifyContent:"space-around"},"space-evenly":{justifyContent:"space-evenly"}},flexBasis:{"min-content":{flexBasis:"auto"}},display:{block:{display:"flex"},"inline-block":{display:"flex",flexDirection:"row"},inline:{display:"flex",flexDirection:"row"},flex:{display:"flex"},"inline-flex":{display:"flex",flexDirection:"row",flexGrow:0},table:{display:"flex",flexDirection:"column"},"inline-table":{display:"flex",flexDirection:"row"},"table-caption":M,"table-cell":M,"table-column":M,"table-column-group":M,"table-footer-group":M,"table-header-group":M,"table-row-group":M,"table-row":M,"flow-root":M,grid:M,contents:M},overflow:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"hidden"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowX:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowY:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},position:{static:M,fixed:M,absolute:{position:"absolute"},relative:{position:"relative"},sticky:M},height:{auto:{height:"auto"},full:{height:"100%"},screen:{height:"100%"},min:{height:"auto"},max:{height:"auto"},fit:{},"1/2":{height:"50%"},"1/3":{height:"33.33%"},"2/3":{height:"66.67%"},"1/4":{height:"25%"},"2/4":{height:"50%"},"3/4":{height:"75%"},"1/5":{height:"20%"},"2/5":{height:"40%"},"3/5":{height:"60%"},"4/5":{height:"80%"},"1/6":{height:"16.67%"},"2/6":{height:"33.33%"},"3/6":{height:"50%"},"4/6":{height:"66.67%"},"5/6":{height:"83.33%"}},minHeight:{full:{minHeight:"100%"},min:{minHeight:"auto"},max:{minHeight:"auto"},fit:{},screen:{minHeight:"auto"}},maxHeight:{full:{maxHeight:"100%"},min:{maxHeight:"auto"},max:{maxHeight:"auto"},fit:{},screen:{maxHeight:"auto"},none:M},width:{auto:{width:"auto"},full:{width:"100%"},screen:{width:"auto"},min:{width:"auto"},max:{width:"auto"},fit:{},"1/2":{width:"50%"},"1/3":{width:"33.33%"},"2/3":{width:"66.67%"},"1/4":{width:"25%"},"2/4":{width:"50%"},"3/4":{width:"75%"},"1/5":{width:"20%"},"2/5":{width:"40%"},"3/5":{width:"60%"},"4/5":{width:"80%"},"1/6":{width:"16.67%"},"2/6":{width:"33.33%"},"3/6":{width:"50%"},"4/6":{width:"66.67%"},"5/6":{width:"83.33%"},"1/12":{width:"8.33%"},"2/12":{width:"16.67%"},"3/12":{width:"25%"},"4/12":{width:"33.33%"},"5/12":{width:"41.67%"},"6/12":{width:"50%"},"7/12":{width:"58.33%"},"8/12":{width:"66.67%"},"9/12":{width:"75%"},"10/12":{width:"83.33%"},"11/12":{width:"91.67%"}},minWidth:{full:{minWidth:"100%"},min:{minWidth:"auto"},max:{minWidth:"auto"},fit:{},screen:{minWidth:"100%"}},maxWidth:{none:M,full:{maxWidth:"100%"},min:{maxWidth:"auto"},max:{maxWidth:"auto"},fit:{}},avatarSize:{s:{width:e.avatarSizes.s,height:e.avatarSizes.s,lineHeight:e.avatarSizes.s,fontSize:e.avatarSizes.s},m:{width:e.avatarSizes.m,height:e.avatarSizes.m,lineHeight:e.avatarSizes.m,fontSize:e.avatarSizes.m},l:{width:e.avatarSizes.l,height:e.avatarSizes.l,lineHeight:e.avatarSizes.l,fontSize:e.avatarSizes.l}},iconSize:{sm:{width:e.iconSizes.sm,height:e.iconSizes.sm,lineHeight:e.iconSizes.sm,fontSize:e.iconSizes.sm},md:{width:e.iconSizes.md,height:e.iconSizes.md,lineHeight:e.iconSizes.md,fontSize:e.iconSizes.md},lg:{width:e.iconSizes.lg,height:e.iconSizes.lg,lineHeight:e.iconSizes.lg,fontSize:e.iconSizes.lg}},borderColor:{accent:{borderColor:E},alert:{borderColor:A},black:{borderColor:B},brand:{borderColor:k},positive:{borderColor:W},warning:{borderColor:z},white:{borderColor:H},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnActive:{accent:{borderColor:E},alert:{borderColor:A},black:{borderColor:B},brand:{borderColor:k},positive:{borderColor:W},warning:{borderColor:z},white:{borderColor:H},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnFocus:{accent:{borderColor:E},alert:{borderColor:A},black:{borderColor:B},brand:{borderColor:k},positive:{borderColor:W},warning:{borderColor:z},white:{borderColor:H},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnHover:{accent:{borderColor:E},alert:{borderColor:A},black:{borderColor:B},brand:{borderColor:k},positive:{borderColor:W},warning:{borderColor:z},white:{borderColor:H},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnChecked:{accent:{borderColor:E},alert:{borderColor:A},black:{borderColor:B},brand:{borderColor:k},positive:{borderColor:W},warning:{borderColor:z},white:{borderColor:H},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderStartColor:{accent:{borderStartColor:E},alert:{borderStartColor:A},black:{borderStartColor:B},brand:{borderStartColor:k},positive:{borderStartColor:W},warning:{borderStartColor:z},white:{borderStartColor:H},transparent:{borderStartColor:_},muted:{borderStartColor:L},primary:{borderStartColor:O},secondary:{borderStartColor:D},tertiary:{borderStartColor:V}},borderEndColor:{accent:{borderEndColor:E},alert:{borderEndColor:A},black:{borderEndColor:B},brand:{borderEndColor:k},positive:{borderEndColor:W},warning:{borderEndColor:z},white:{borderEndColor:H},transparent:{borderEndColor:_},muted:{borderEndColor:L},primary:{borderEndColor:O},secondary:{borderEndColor:D},tertiary:{borderEndColor:V}},borderBottomColor:{accent:{borderBottomColor:E},alert:{borderBottomColor:A},black:{borderBottomColor:B},brand:{borderBottomColor:k},positive:{borderBottomColor:W},warning:{borderBottomColor:z},white:{borderBottomColor:H},transparent:{borderBottomColor:_},muted:{borderBottomColor:L},primary:{borderBottomColor:O},secondary:{borderBottomColor:D},tertiary:{borderBottomColor:V}},borderTopColor:{accent:{borderTopColor:E},alert:{borderTopColor:A},black:{borderTopColor:B},brand:{borderTopColor:k},positive:{borderTopColor:W},warning:{borderTopColor:z},white:{borderTopColor:H},transparent:{borderTopColor:_},muted:{borderTopColor:L},primary:{borderTopColor:O},secondary:{borderTopColor:D},tertiary:{borderTopColor:V}},borderRadius:{none:{borderRadius:e.borderRadius.none},xs:{borderRadius:e.borderRadius.xs},sm:{borderRadius:e.borderRadius.sm},md:{borderRadius:e.borderRadius.md},lg:{borderRadius:e.borderRadius.lg},xl:{borderRadius:e.borderRadius.xl},full:{borderRadius:e.borderRadius.full}},borderTopStartRadius:{none:{borderTopStartRadius:e.borderRadius.none},xs:{borderTopStartRadius:e.borderRadius.xs},sm:{borderTopStartRadius:e.borderRadius.sm},md:{borderTopStartRadius:e.borderRadius.md},lg:{borderTopStartRadius:e.borderRadius.lg},xl:{borderTopStartRadius:e.borderRadius.xl},full:{borderTopStartRadius:e.borderRadius.full}},borderTopEndRadius:{none:{borderTopEndRadius:e.borderRadius.none},xs:{borderTopEndRadius:e.borderRadius.xs},sm:{borderTopEndRadius:e.borderRadius.sm},md:{borderTopEndRadius:e.borderRadius.md},lg:{borderTopEndRadius:e.borderRadius.lg},xl:{borderTopEndRadius:e.borderRadius.xl},full:{borderTopEndRadius:e.borderRadius.full}},borderBottomStartRadius:{none:{borderBottomStartRadius:e.borderRadius.none},xs:{borderBottomStartRadius:e.borderRadius.xs},sm:{borderBottomStartRadius:e.borderRadius.sm},md:{borderBottomStartRadius:e.borderRadius.md},lg:{borderBottomStartRadius:e.borderRadius.lg},xl:{borderBottomStartRadius:e.borderRadius.xl},full:{borderBottomStartRadius:e.borderRadius.full}},borderBottomEndRadius:{none:{borderBottomEndRadius:e.borderRadius.none},xs:{borderBottomEndRadius:e.borderRadius.xs},sm:{borderBottomEndRadius:e.borderRadius.sm},md:{borderBottomEndRadius:e.borderRadius.md},lg:{borderBottomEndRadius:e.borderRadius.lg},xl:{borderBottomEndRadius:e.borderRadius.xl},full:{borderBottomEndRadius:e.borderRadius.full}},borderWidth:{none:{borderWidth:e.borderWidth.none},thin:{borderWidth:e.borderWidth.thin},medium:{borderWidth:e.borderWidth.medium},thick:{borderWidth:e.borderWidth.thick}},borderVerticalWidth:{none:{borderTopWidth:e.borderWidth.none,borderBottomWidth:e.borderWidth.none},thin:{borderTopWidth:e.borderWidth.thin,borderBottomWidth:e.borderWidth.thin},medium:{borderTopWidth:e.borderWidth.medium,borderBottomWidth:e.borderWidth.medium},thick:{borderTopWidth:e.borderWidth.thick,borderBottomWidth:e.borderWidth.thick}},borderHorizontalWidth:{none:{borderStartWidth:e.borderWidth.none,borderEndWidth:e.borderWidth.none},thin:{borderStartWidth:e.borderWidth.thin,borderEndWidth:e.borderWidth.thin},medium:{borderStartWidth:e.borderWidth.medium,borderEndWidth:e.borderWidth.medium},thick:{borderStartWidth:e.borderWidth.thick,borderEndWidth:e.borderWidth.thick}},borderStartWidth:{none:{borderStartWidth:e.borderWidth.none},thin:{borderStartWidth:e.borderWidth.thin},medium:{borderStartWidth:e.borderWidth.medium},thick:{borderStartWidth:e.borderWidth.thick}},borderEndWidth:{none:{borderEndWidth:e.borderWidth.none},thin:{borderEndWidth:e.borderWidth.thin},medium:{borderEndWidth:e.borderWidth.medium},thick:{borderEndWidth:e.borderWidth.thick}},borderTopWidth:{none:{borderTopWidth:e.borderWidth.none},thin:{borderTopWidth:e.borderWidth.thin},medium:{borderTopWidth:e.borderWidth.medium},thick:{borderTopWidth:e.borderWidth.thick}},borderBottomWidth:{none:{borderBottomWidth:e.borderWidth.none},thin:{borderBottomWidth:e.borderWidth.thin},medium:{borderBottomWidth:e.borderWidth.medium},thick:{borderBottomWidth:e.borderWidth.thick}},contentFit:{contain:M,cover:M,fill:M,none:M,"scale-down":M},textTransform:{display1:{textTransform:e.textTransform.display1},display2:{textTransform:e.textTransform.display2},display3:{textTransform:e.textTransform.display3},title1:{textTransform:e.textTransform.title1},title2:{textTransform:e.textTransform.title2},title3:{textTransform:e.textTransform.title3},title4:{textTransform:e.textTransform.title4},headline1:{textTransform:e.textTransform.headline1},body1:{textTransform:e.textTransform.body1},label1:{textTransform:e.textTransform.label1},label2:{textTransform:e.textTransform.label2},caption1:{textTransform:e.textTransform.caption1},caption2:{textTransform:e.textTransform.caption2},legal1:{textTransform:e.textTransform.legal1},none:{textTransform:"none"},uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"}}}})(be);return s(Ee,$,xe)}return{cva:u,getStyles:Te,tokens:e}}var mo=co({colorMode:he,scaleMode:ye},Oe);import{createContext as Ft,useContext as wt}from"react";import{jsx as Mt}from"react/jsx-runtime";var Oo=Ft(he);function Ve(){return wt(Oo)}function Do({value:o=he,children:t}){return Mt(Oo.Provider,{value:o,children:t})}import{createContext as Et,useContext as At}from"react";import{jsx as kt}from"react/jsx-runtime";var Vo=Et(ye);function fo(){let o=At(Vo);return o||ye}function Lo({value:o,children:t}){let r=fo();return kt(Vo.Provider,{value:o??r,children:t})}import{jsx as Bt}from"react/jsx-runtime";var go=Wt(mo),No=zt(function({children:t,value:r=Oe}){let n=Ve(),i=fo(),a=Ht(()=>r===void 0&&n===he&&i===ye?mo:co({colorMode:n,scaleMode:i},r),[n,i,r]);return Bt(go.Provider,{value:a,children:t})});function N(o){let{getStyles:t}=Io(go);return t(o)}function $o(){return Io(go).tokens}import{Children as Me,cloneElement as Uo,forwardRef as Xo,isValidElement as Le}from"react";function _t(o,t){typeof o=="function"?o(t):o!=null&&(o.current=t)}function Go(...o){return t=>o.forEach(r=>_t(r,t))}import{jsx as jo}from"react/jsx-runtime";function Ie(){let o=Xo((a,f)=>{let{children:e,...s}=a,u=Me.toArray(e),l=u.find(n);if(l){let d=l.props.children,p=u.map(c=>c===l?Me.count(d)>1?Me.only(null):Le(d)?d.props.children:null:c);return jo(t,{...s,ref:f,children:Le(d)?Uo(d,void 0,p):null})}return jo(t,{...s,ref:f,children:e})});o.displayName="Slot";let t=Xo((a,f)=>{let{children:e,...s}=a;return Le(e)?Uo(e,{...i(s,e.props),ref:f?Go(f,e.ref):e.ref}):Me.count(e)>1?Me.only(null):null});t.displayName="SlotClone";let r=({children:a})=>a;function n(a){return Le(a)&&a.type===r}function i(a,f){let e={...f};for(let s in f){let u=a[s],l=f[s];/^on[A-Z]/.test(s)?u&&l?e[s]=(...p)=>{l(...p),u(...p)}:u&&(e[s]=u):s==="style"&&(e[s]={...u,...l})}return{...a,...e}}return o}var Ko="RCTView",Ne="RCTText",Yo=Ie(),$e=Ie(),Zo=Ie();import{jsx as Dt}from"react/jsx-runtime";var Ge=Ot(function({asChild:t=!1,style:r,backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:h,borderTopColor:y,borderBottomColor:S,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:w,alignContent:E,alignItems:A="stretch",alignSelf:k,flex:W,flexBasis:z,flexDirection:H="column",flexGrow:B,flexShrink:_,flexWrap:G="nowrap",justifyContent:U="flex-start",display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:g,spacingStart:q,spacingTop:J,offset:Q,offsetVertical:ee,offsetHorizontal:oe,offsetBottom:te,offsetEnd:re,offsetStart:ne,offsetTop:ie,columnGap:ae,rowGap:le,height:se,minHeight:de,maxHeight:pe,width:ce,minWidth:me,maxWidth:fe,...ge},ue){let Ce=N({backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:h,borderTopColor:y,borderBottomColor:S,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:w,alignContent:E,alignItems:A,alignSelf:k,flex:W,flexDirection:H,flexGrow:B,flexShrink:_,flexWrap:G,justifyContent:U,flexBasis:z,display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:g,spacingStart:q,spacingTop:J,offset:Q,offsetVertical:ee,offsetHorizontal:oe,offsetBottom:te,offsetEnd:re,offsetStart:ne,offsetTop:ie,columnGap:ae,rowGap:le,height:se,minHeight:de,maxHeight:pe,width:ce,minWidth:me,maxWidth:fe,style:r});return Dt(t?Yo:Ko,{ref:ue,style:Ce,...ge})});import{forwardRef as Vt}from"react";import{jsx as Lt}from"react/jsx-runtime";var _i=Vt(function({gap:t,...r},n){return Lt(Ge,{ref:n,flexDirection:"row",rowGap:t,columnGap:t,...r})});import{forwardRef as It}from"react";import{jsx as Nt}from"react/jsx-runtime";var qo=It(function({style:t,asChild:r=!1,size:n,color:i,name:a,textAlign:f,spacing:e,spacingBottom:s,spacingEnd:u,spacingHorizontal:l,spacingStart:d,spacingTop:p,spacingVertical:c,offset:b,offsetBottom:h,offsetEnd:y,offsetHorizontal:S,offsetStart:C,offsetTop:x,offsetVertical:P,...v},T){let R=N({color:i,fontFamily:"icons",textAlign:f,spacing:e,spacingBottom:s,spacingEnd:u,spacingHorizontal:l,spacingStart:d,spacingTop:p,spacingVertical:c,offset:b,offsetBottom:h,offsetEnd:y,offsetHorizontal:S,offsetStart:C,offsetTop:x,offsetVertical:P,iconSize:n,style:t});return Nt(r?$e:Ne,{ref:T,maxFontSizeMultiplier:1,allowFontScaling:!1,style:R,...v,children:a})});import{forwardRef as Xt}from"react";var uo={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",borderWidth:"thin"},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",borderWidth:"thin"},"accent-ghost":{color:"accent"},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",borderWidth:"thin"},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",borderWidth:"thin"},"brand-ghost":{color:"brand"},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",borderWidth:"thin"},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",borderWidth:"thin"},"positive-ghost":{color:"positive"},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",borderWidth:"thin"},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",borderWidth:"thin"},"alert-ghost":{color:"alert"},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",borderWidth:"thin"},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",borderWidth:"thin"},"warning-ghost":{color:"warning"},"primary-outline":{color:"primary",borderColor:"muted",borderWidth:"thin"},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function Jo({variant:o="accent",size:t="s"}){let{color:r,...n}=uo.variant[o],{variant:i,...a}=uo.size[t];return{pressable:{...uo.base,...n,...a},text:{color:r,variant:i,textAlign:"center"},icon:{color:r,size:"sm"}}}import{forwardRef as $t}from"react";import{Pressable as Gt}from"react-native";import{jsx as Ut}from"react/jsx-runtime";var Qo=$t(function({style:t,asChild:r=!1,backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:h,borderTopColor:y,borderBottomColor:S,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:w,alignContent:E,alignItems:A,alignSelf:k,flex:W,flexBasis:z,flexDirection:H,flexGrow:B,flexShrink:_,flexWrap:G,justifyContent:U,display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:g,spacingStart:q,spacingTop:J,offset:Q,offsetVertical:ee,offsetHorizontal:oe,offsetBottom:te,offsetEnd:re,offsetStart:ne,offsetTop:ie,columnGap:ae,rowGap:le,height:se,minHeight:de,maxHeight:pe,width:ce,minWidth:me,maxWidth:fe,...ge},ue){let Ce=N({backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:h,borderTopColor:y,borderBottomColor:S,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:w,alignContent:E,alignItems:A,alignSelf:k,flex:W,flexDirection:H,flexGrow:B,flexShrink:_,flexWrap:G,justifyContent:U,flexBasis:z,display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:g,spacingStart:q,spacingTop:J,offset:Q,offsetVertical:ee,offsetHorizontal:oe,offsetBottom:te,offsetEnd:re,offsetStart:ne,offsetTop:ie,columnGap:ae,rowGap:le,height:se,minHeight:de,maxHeight:pe,width:ce,minWidth:me,maxWidth:fe,style:t});return Ut(r?Zo:Gt,{style:Ce,ref:ue,...ge})});import{jsx as ot}from"react/jsx-runtime";var et={s:36,m:48,l:64},jt={},oa=Xt(function({variant:t="accent",size:r="s",name:n,style:i=jt,...a},f){let e=Jo({variant:t,size:r});return ot(Qo,{ref:f,...e.pressable,flexShrink:"0",style:{...i,width:et[r],height:et[r]},...a,children:ot(qo,{name:n,...e.icon})})});import{Image as Kt}from"expo-image";import{jsx as Yt}from"react/jsx-runtime";function aa({width:o,height:t,src:r,alt:n,contentFit:i="cover",backgroundColor:a,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:s,borderBottomStartRadius:u,borderBottomEndRadius:l,borderColor:d,borderColorOnActive:p,borderColorOnFocus:c,borderColorOnChecked:b,borderColorOnHover:h,borderStartColor:y,borderEndColor:S,borderTopColor:C,borderBottomColor:x,borderWidth:P,borderVerticalWidth:v,borderHorizontalWidth:T,borderStartWidth:R,borderEndWidth:w,borderTopWidth:E,borderBottomWidth:A,alignContent:k,alignItems:W,alignSelf:z,flex:H,flexDirection:B,flexGrow:_,flexShrink:G="0",flexWrap:U,justifyContent:X,flexBasis:j,display:K="flex",overflow:Y,overflowX:Z,overflowY:O,position:D,spacing:V,spacingHorizontal:L,spacingVertical:g,spacingBottom:q,spacingEnd:J,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:se,rowGap:de,minHeight:pe,maxHeight:ce,minWidth:me,maxWidth:fe,...ge}){let ue=N({contentFit:i,backgroundColor:a,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:s,borderBottomStartRadius:u,borderBottomEndRadius:l,borderColor:d,borderColorOnActive:p,borderColorOnFocus:c,borderColorOnChecked:b,borderColorOnHover:h,borderStartColor:y,borderEndColor:S,borderTopColor:C,borderBottomColor:x,borderWidth:P,borderVerticalWidth:v,borderHorizontalWidth:T,borderStartWidth:R,borderEndWidth:w,borderTopWidth:E,borderBottomWidth:A,alignContent:k,alignItems:W,alignSelf:z,flex:H,flexDirection:B,flexGrow:_,flexShrink:G,flexWrap:U,justifyContent:X,flexBasis:j,display:K,overflow:Y,overflowX:Z,overflowY:O,position:D,spacing:V,spacingHorizontal:L,spacingVertical:g,spacingBottom:q,spacingEnd:J,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:se,rowGap:de,minHeight:pe,maxHeight:ce,minWidth:me,maxWidth:fe,style:{width:o,height:t,justifyContent:"flex-start"}});return Yt(Kt,{source:r,alt:n,style:ue,contentFit:i,contentPosition:"left",...ge})}import{forwardRef as Zt}from"react";import{jsx as qt}from"react/jsx-runtime";var ma=Zt(function({style:t,asChild:r,color:n="primary",variant:i="body1",fontSize:a=i,fontFamily:f=i,fontWeight:e=i,lineHeight:s=i,textTransform:u=i,textAlign:l,backgroundColor:d,borderRadius:p,borderTopStartRadius:c,borderTopEndRadius:b,borderBottomStartRadius:h,borderBottomEndRadius:y,borderColor:S,borderColorOnActive:C,borderColorOnFocus:x,borderColorOnChecked:P,borderColorOnHover:v,borderStartColor:T,borderEndColor:R,borderTopColor:w,borderBottomColor:E,borderWidth:A,borderVerticalWidth:k,borderHorizontalWidth:W,borderStartWidth:z,borderEndWidth:H,borderTopWidth:B,borderBottomWidth:_,alignContent:G,alignItems:U,alignSelf:X,flex:j,flexDirection:K,flexGrow:Y,flexShrink:Z,flexWrap:O,justifyContent:D,flexBasis:V,display:L,overflow:g,overflowX:q,overflowY:J,position:Q,spacing:ee,spacingHorizontal:oe,spacingVertical:te,spacingBottom:re,spacingEnd:ne,spacingStart:ie,spacingTop:ae,offset:le,offsetVertical:se,offsetHorizontal:de,offsetBottom:pe,offsetEnd:ce,offsetStart:me,offsetTop:fe,columnGap:ge,rowGap:ue,height:Ce,minHeight:Te,maxHeight:xe,width:be,minWidth:Ee,maxWidth:m,...$},Ae){let Xe=N({style:t,color:n,fontFamily:f,fontSize:a,fontWeight:e,lineHeight:s,textTransform:u,textAlign:l,backgroundColor:d,borderRadius:p,borderTopStartRadius:c,borderTopEndRadius:b,borderBottomStartRadius:h,borderBottomEndRadius:y,borderColor:S,borderColorOnActive:C,borderColorOnFocus:x,borderColorOnChecked:P,borderColorOnHover:v,borderStartColor:T,borderEndColor:R,borderTopColor:w,borderBottomColor:E,borderWidth:A,borderVerticalWidth:k,borderHorizontalWidth:W,borderStartWidth:z,borderEndWidth:H,borderTopWidth:B,borderBottomWidth:_,alignContent:G,alignItems:U,alignSelf:X,flex:j,flexDirection:K,flexGrow:Y,flexShrink:Z,flexWrap:O,justifyContent:D,flexBasis:V,display:L,overflow:g,overflowX:q,overflowY:J,position:Q,spacing:ee,spacingHorizontal:oe,spacingVertical:te,spacingBottom:re,spacingEnd:ne,spacingStart:ie,spacingTop:ae,offset:le,offsetVertical:se,offsetHorizontal:de,offsetBottom:pe,offsetEnd:ce,offsetStart:me,offsetTop:fe,columnGap:ge,rowGap:ue,height:Ce,minHeight:Te,maxHeight:xe,width:be,minWidth:Ee,maxWidth:m});return qt(r?$e:Ne,{style:Xe,ref:Ae,maxFontSizeMultiplier:1,allowFontScaling:!1,...$})});import{forwardRef as Jt}from"react";import{jsx as Qt}from"react/jsx-runtime";var ha=Jt(function({gap:t,...r},n){return Qt(Ge,{ref:n,flexDirection:"column",columnGap:t,rowGap:t,...r})});import{useScrollToTop as lr}from"@react-navigation/native";import{forwardRef as sr,useMemo as dr,useRef as pr}from"react";import{ScrollView as cr}from"react-native";import{useMemo as er}from"react";var or=(o,t)=>{typeof o=="function"?o(t):o&&(o.current=t)},tt=(...o)=>er(()=>o.every(t=>t==null)?null:t=>{o.forEach(r=>{or(r,t)})},[o]);import rt from"expo-constants";import{createContext as tr,useContext as rr,useMemo as nr}from"react";import{useSafeAreaInsets as ir}from"react-native-safe-area-context";import{jsx as ar}from"react/jsx-runtime";var nt=tr({tabBarHeight:0,statusBarHeight:rt.statusBarHeight,safeAreaInsets:{top:0,right:0,bottom:0,left:0}});function it(){return rr(nt)}function at({children:o}){let t=ir(),r=$o(),n=nr(()=>({tabBarHeight:r.spacing[5]+r.iconSizes.md+r.spacing[3]+r.lineHeight.caption1+r.spacing[5]+t.bottom,statusBarHeight:rt.statusBarHeight,safeAreaInsets:t}),[r.spacing,r.iconSizes,r.lineHeight,t]);return ar(nt.Provider,{value:n,children:o})}import{jsx as mr}from"react/jsx-runtime";var Ba=sr(function({children:t,...r},n){let i=Ve(),a=pr(null),f=tt(a,n);lr(a);let{tabBarHeight:e,safeAreaInsets:s}=it(),u=N({backgroundColor:"primary",flexGrow:"1",spacingHorizontal:"6"}),l=dr(()=>({paddingTop:s.top,paddingBottom:e}),[s.top,e]);return mr(cr,{ref:f,style:u,contentInsetAdjustmentBehavior:"never",automaticallyAdjustContentInsets:!1,contentContainerStyle:l,indicatorStyle:i==="dark"?"black":"white",...r,children:t})});import{useCallback as fr,useEffect as gr,useState as ur}from"react";import{AppState as lt}from"react-native";function Ue(){let[o,t]=ur(lt.currentState),r=fr(n=>{t(n)},[]);return gr(()=>{let n=lt.addEventListener("change",r);return()=>{n.remove()}},[r]),o}import{useEffect as br,useRef as hr,useState as yr}from"react";import{PixelRatio as bo}from"react-native";var st=()=>{let[o,t]=yr(bo.getFontScale()),r=hr(bo.getFontScale()),n=Ue();return br(()=>{if(n==="active"){let i=bo.getFontScale();r.current!==i&&(t(i),r.current=i)}},[n]),o};import{setStatusBarStyle as Mr}from"expo-status-bar";import{createContext as ft,useContext as Er,useEffect as mt,useState as Ar}from"react";import{createContext as Sr,useContext as Cr,useEffect as xr,useState as Pr}from"react";import{Appearance as vr,Platform as Tr,useColorScheme as Rr}from"react-native";import{jsx as wr}from"react/jsx-runtime";var dt=Sr(he);function pt(){return Cr(dt)}function Fr(){let o=Ue(),t=Rr(),[r,n]=Pr(t),i=Tr.OS==="android";return xr(()=>{if(o==="active"){if(i){let a=vr.getColorScheme();n(a);return}n(t)}},[t,o,i]),r??"light"}function ct({children:o}){let t=Fr();return wr(dt.Provider,{value:t,children:o})}import{jsx as ho}from"react/jsx-runtime";var kr=()=>{},gt=ft(Fe),Wr=ft(kr);function tl(){return Er(gt)}function ut({children:o,value:t=Fe}){let[r,n]=Ar(t),i=pt(),a=r==="system"?i:r;return mt(()=>{Mr(a==="light"?"dark":"light")},[a]),mt(()=>{n(t)},[t]),ho(gt.Provider,{value:r,children:ho(Wr.Provider,{value:n,children:ho(Do,{value:a,children:o})})})}import{createContext as St,useState as Dr}from"react";import{createContext as zr,useContext as Hr,useMemo as Br}from"react";import{jsx as Or}from"react/jsx-runtime";var bt=zr(ye),Pe={xSmall:.823,small:.882,medium:.941,large:1,xLarge:1.118,xxLarge:1.235,xxxLarge:1.353};function ht(){return Hr(bt)}function _r(){let o=st();return Br(()=>o<=Pe.xSmall?"xSmall":o<=Pe.small?"small":o<=Pe.medium?"medium":o<=Pe.large?"large":o<=Pe.xLarge?"xLarge":o<=Pe.xxLarge?"xxLarge":o>=Pe.xxxLarge?"xxxLarge":"large",[o])}function yt({children:o}){let t=_r();return Or(bt.Provider,{value:t,children:o})}import{jsx as yo}from"react/jsx-runtime";var Vr=()=>{},Lr=St(we),Ir=St(Vr);function Ct({children:o,value:t=we}){let[r,n]=Dr(t),i=ht(),a=r==="system"?i:r;return yo(Lr.Provider,{value:r,children:yo(Ir.Provider,{value:n,children:yo(Lo,{value:a,children:o})})})}import{BottomSheetModalProvider as Nr}from"@gorhom/bottom-sheet";import{SafeAreaProvider as $r}from"react-native-safe-area-context";import{jsx as Se}from"react/jsx-runtime";function Rl({children:o,colorModeForApp:t=Fe,scaleModeForApp:r=we,config:n}){return Se($r,{children:Se(ct,{children:Se(ut,{value:t,children:Se(yt,{children:Se(Ct,{value:r,children:Se(No,{value:n,children:Se(at,{children:Se(Nr,{children:o})})})})})})})})}export{dn as AVATAR_SIZE_PREFIX,pn as BORDER_RADIUS_PREFIX,cn as BORDER_WIDTH_PREFIX,Ge as Box,Oo as ColorModeContext,gt as ColorModeForAppContext,Wr as ColorModeForAppContextUpdater,ut as ColorModeForAppProvider,dt as ColorModeForDeviceContext,ct as ColorModeForDeviceProvider,Do as ColorModeProvider,nt as ComputedTokensContext,at as ComputedTokensProvider,hn as DARK_COLOR_MODE_CLASSNAME,he as DEFAULT_COLOR_MODE,Tn as DEFAULT_COLOR_MODE_CLASSNAME,Fe as DEFAULT_COLOR_MODE_FOR_APP,zn as DEFAULT_HIGH_CONTRAST_MODE,Hn as DEFAULT_REGION_MODE,ye as DEFAULT_SCALE_MODE,Rn as DEFAULT_SCALE_MODE_CLASSNAME,we as DEFAULT_SCALE_MODE_FOR_APP,mo as DEFAULT_STYLER,ln as FONT_FAMILY_PREFIX,Fn as FONT_ICONS_CSS_VAR,Mn as FONT_SANS_BETA_CSS_VAR,En as FONT_SANS_CONDENSED_CSS_VAR,wn as FONT_SANS_CSS_VAR,An as FONT_SERIF_DISPLAY_CSS_VAR,kn as FONT_SERIF_TEXT_CSS_VAR,fn as FONT_SIZE_PREFIX,un as FONT_WEIGHT_PREFIX,_i as HStack,sn as ICON_SIZE_PREFIX,qo as Icon,oa as IconButton,aa as Image,Tt as LARGE_SCALE_MODE_CLASSNAME,vt as LIGHT_COLOR_MODE_CLASSNAME,gn as LINE_HEIGHT_PREFIX,Cn as MEDIUM_SCALE_MODE_CLASSNAME,Qo as Pressable,Sn as SMALL_SCALE_MODE_CLASSNAME,mn as SPACING_PREFIX,an as SPECTRUM_COLOR_PREFIX,Vo as ScaleModeContext,Lr as ScaleModeForAppContext,Ct as ScaleModeForAppProvider,Ir as ScaleModeForAppUpdaterContext,bt as ScaleModeForDeviceContext,yt as ScaleModeForDeviceProvider,Lo as ScaleModeProvider,Ba as Screen,No as StyleProvider,bn as TEXT_TRANSFORM_PREFIX,ma as Text,Rl as ThemeProvider,F as UDS_PREFIX,ha as VStack,xn as XLARGE_SCALE_MODE_CLASSNAME,yn as XSMALL_SCALE_MODE_CLASSNAME,Pn as XXLARGE_SCALE_MODE_CLASSNAME,vn as XXXLARGE_SCALE_MODE_CLASSNAME,ve as alwaysPalette,co as createStyler,Oe as defaultTokensConfig,_n as entries,Qe as fontFamilyGlobal,I as fontWeightMap,Ue as useAppState,Ve as useColorMode,tl as useColorModeForApp,pt as useColorModeForDevice,it as useComputedTokens,st as useDeviceFontScale,fo as useScaleMode,ht as useScaleModeForDevice,N as useStyles,$o as useTokens};
|
package/dist/styles/globals.css
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
@import"react-toastify/ReactToastify.css";
|
@@ -0,0 +1 @@
|
|
1
|
+
@import"react-toastify/ReactToastify.css";
|