@yahoo/uds 0.4.2 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/cli/preload.ts +1 -1
  2. package/cli/utils/purgeCSS.ts +2 -5
  3. package/dist/{Image.native-CddvOupj.d.cts → Image.native-CfDCpWe_.d.cts} +1 -1
  4. package/dist/{Image.native-BJfkUDnq.d.ts → Image.native-nwk5tr_f.d.ts} +1 -1
  5. package/dist/{VStack-CjOrFgxd.d.ts → VStack-Bj6PfbK5.d.ts} +1 -1
  6. package/dist/{VStack-CMGd5AX1.d.cts → VStack-D-py89Ge.d.cts} +1 -1
  7. package/dist/experimental/index.cjs +1 -1
  8. package/dist/experimental/index.d.cts +2 -2
  9. package/dist/experimental/index.d.ts +2 -2
  10. package/dist/experimental/index.js +1 -1
  11. package/dist/experimental/index.native.cjs +1 -1
  12. package/dist/experimental/index.native.d.cts +3 -3
  13. package/dist/experimental/index.native.d.ts +3 -3
  14. package/dist/experimental/index.native.js +1 -1
  15. package/dist/fixtures.cjs +60 -124
  16. package/dist/fixtures.d.ts +3 -10
  17. package/dist/fixtures.js +59 -123
  18. package/dist/index.cjs +1 -1
  19. package/dist/index.d.cts +58 -25
  20. package/dist/index.d.ts +58 -25
  21. package/dist/index.js +1 -1
  22. package/dist/{index.native-DG8RsS88.d.cts → index.native-A2gCijBH.d.cts} +1 -1
  23. package/dist/{index.native-LymI5azd.d.ts → index.native-BLJdXZHY.d.ts} +1 -1
  24. package/dist/index.native.cjs +1 -1
  25. package/dist/index.native.d.cts +72 -10
  26. package/dist/index.native.d.ts +72 -10
  27. package/dist/index.native.js +1 -1
  28. package/dist/styles/globals.css +1 -0
  29. package/dist/tailwind/plugin.cjs +1 -0
  30. package/dist/{tailwindPlugin.d.ts → tailwind/plugin.d.cts} +1 -1
  31. package/dist/{tailwindPlugin.d.cts → tailwind/plugin.d.ts} +1 -1
  32. package/dist/tailwind/plugin.js +1 -0
  33. package/dist/tailwind/purger.cjs +4 -0
  34. package/dist/tailwind/purger.js +4 -0
  35. package/dist/tokens/index.cjs +1 -1
  36. package/dist/tokens/index.d.cts +15 -4
  37. package/dist/tokens/index.d.ts +15 -4
  38. package/dist/tokens/index.js +1 -1
  39. package/dist/tokens/index.native.cjs +1 -1
  40. package/dist/tokens/index.native.d.cts +2 -2
  41. package/dist/tokens/index.native.d.ts +2 -2
  42. package/dist/tokens/index.native.js +1 -1
  43. package/dist/tokens/parseTokens.cjs +1 -1
  44. package/dist/tokens/parseTokens.d.cts +1 -2
  45. package/dist/tokens/parseTokens.d.ts +1 -2
  46. package/dist/tokens/parseTokens.js +1 -1
  47. package/dist/{types-D-ttCAsE.d.cts → types-Diou6f1Q.d.cts} +2 -3
  48. package/dist/{types-D-ttCAsE.d.ts → types-Diou6f1Q.d.ts} +2 -3
  49. package/dist/types-Dk8fLx7L.d.cts +374 -0
  50. package/dist/types-Dk8fLx7L.d.ts +374 -0
  51. package/package.json +19 -39
  52. package/dist/styles/fonts.css +0 -1
  53. package/dist/styles/fonts.d.cts +0 -2
  54. package/dist/styles/fonts.d.ts +0 -2
  55. package/dist/styles/globals.d.cts +0 -2
  56. package/dist/styles/globals.d.ts +0 -2
  57. package/dist/styles/toast.d.cts +0 -2
  58. package/dist/styles/toast.d.ts +0 -2
  59. package/dist/tailwindPlugin.cjs +0 -1
  60. package/dist/tailwindPlugin.js +0 -1
  61. package/dist/tailwindPurge.cjs +0 -4
  62. package/dist/tailwindPurge.js +0 -4
  63. package/dist/tokens/parseTokens.native.cjs +0 -1
  64. package/dist/tokens/parseTokens.native.d.cts +0 -399
  65. package/dist/tokens/parseTokens.native.d.ts +0 -399
  66. package/dist/tokens/parseTokens.native.js +0 -1
  67. package/dist/types-FO65RM-W.d.cts +0 -38
  68. package/dist/types-FO65RM-W.d.ts +0 -38
  69. /package/dist/{tailwindPurge.d.cts → tailwind/purger.d.cts} +0 -0
  70. /package/dist/{tailwindPurge.d.ts → tailwind/purger.d.ts} +0 -0
  71. /package/dist/{tailwindPurge/utils.cjs → tailwind/tsMorph.cjs} +0 -0
  72. /package/dist/{tailwindPurge/utils.d.cts → tailwind/tsMorph.d.cts} +0 -0
  73. /package/dist/{tailwindPurge/utils.d.ts → tailwind/tsMorph.d.ts} +0 -0
  74. /package/dist/{tailwindPurge/utils.js → tailwind/tsMorph.js} +0 -0
@@ -1,14 +1,49 @@
1
1
  import * as react from 'react';
2
- import { aM as UniversalBoxProps, l as UniversalStackProps, aO as UniversalTextProps, m as UniversalIconProps, M as ColorModeForApp, C as ColorMode, ax as ScaleModeForApp, S as ScaleMode, am as Modes, U as UniversalTokensConfig, w as BackgroundStyleProps, z as BorderStyleProps, af as LayoutStyleProps, a1 as FlexStyleProps, aA as SpacingStyleProps, aF as TextStyleProps, ae as ImageStyleProps, P as CustomSizingStyleProps, t as AvatarSizeConfig, ad as IconSizeConfig, az as SpacingConfig, y as BorderRadiusConfig, E as BorderWidthConfig, a3 as FontFamilyConfig, a6 as FontSizeConfig, d as FontWeightConfig, ak as LineHeightConfig, aH as TextTransformConfig, f as FontFamilyGlobalConfig, aE as StyleProps } from './types-D-ttCAsE.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 HighContrastMode, H as Hue, b as HueStep, ab as IconName, ac as IconSize, ag as LetterSpacing, ah as LineClampAlias, ai as LineColor, aj as LineHeight, al as LinePalette, L as LinePaletteAlias, an as Overflow, ao as Palette, ap as PaletteConfig, aq as PaletteType, ar as PaletteValue, as as PlatformMode, at as Position, au as RegionMode, av as ScaleConfig, aw as ScaleModeConfig, ay as SpacingAlias, aB as SpectrumColor, aC as SpectrumConfig, aD as StateStyleProps, aG as TextTransform, aI as TextVariant, aJ as TransitionDelay, aK as TransitionDuration, aL as TransitionTiming, g as UniversalAvatarProps, h as UniversalButtonProps, j as UniversalIconButtonProps, k as UniversalImageProps, i as UniversalPressableProps, aN as UniversalTextInputProps, n as alwaysPalette } from './types-D-ttCAsE.js';
2
+ import { Dispatch, SetStateAction } from 'react';
3
+ import { e as UniversalBoxProps, f as UniversalStackProps, g as UniversalTextProps, h as UniversalIconProps, C as ColorModeForApp, i as ColorMode, S as ScaleModeForApp, j as ScaleMode, M as Modes, k as UniversalTokensConfig, B as BackgroundStyleProps, l as BorderStyleProps, L as LayoutStyleProps, F as FlexStyleProps, m as SpacingStyleProps, T as TextStyleProps, I as ImageStyleProps, n as CustomSizingStyleProps, A as AvatarSizeConfig, o as IconSizeConfig, p as BorderRadiusConfig, q as BorderWidthConfig, r as FontFamilyConfig, s as FontSizeConfig, t as FontWeightConfig, u as LineHeightConfig, v as TextTransformConfig, w as FontFamilyGlobalConfig, x as StyleProps } from './types-Dk8fLx7L.js';
4
+ export { z as AlwaysPalette, D as AlwaysPaletteAlias, E as Animation, G as AriaAttribute, H as AvatarShape, J as AvatarSize, K as BackgroundColor, N as BackgroundPalette, O as BackgroundPaletteAlias, P as BorderRadius, Q as BorderWidth, R as BoxShadowConfig, V as ButtonSize, W as ButtonVariant, X as ColorModeConfig, Y as ColorsConfig, Z as ConfigurableTextProperty, _ as CorePalette, $ as CorePaletteAlias, a0 as DataAttribute, a1 as Display, a2 as Flex, a3 as FlexAlignContent, a4 as FlexAlignItems, a5 as FlexAlignSelf, a6 as FlexBasis, a7 as FlexDirection, a8 as FlexGrow, a9 as FlexJustifyContent, aa as FlexShrink, ab as FlexWrap, ac as FontFamilyGlobalAlias, ad as FontSize, ae as FontWeightDescriptive, af as FontWeightNumeric, ag as ForegroundColor, ah as ForegroundPalette, ai as ForegroundPaletteAlias, aj as HighContrastMode, ak as Hue, al as HueStep, am as IconName, an as IconSize, ao as LetterSpacing, ap as LineClampAlias, aq as LineColor, ar as LineHeight, as as LinePalette, at as LinePaletteAlias, au as Overflow, av as Palette, aw as PaletteConfig, ax as PaletteType, ay as PaletteValue, az as PlatformMode, aA as Position, aB as RegionMode, aC as ScaleConfig, aD as ScaleModeConfig, aE as SpacingAlias, aF as SpacingConfig, aG as SpectrumColor, aH as SpectrumConfig, aI as StateStyleProps, aJ as TextTransform, aK as TextVariant, aL as TransitionDelay, aM as TransitionDuration, aN as TransitionTiming, U as UniversalAvatarProps, a as UniversalButtonProps, c as UniversalIconButtonProps, d as UniversalImageProps, b as UniversalPressableProps, aO as UniversalTextInputProps, y as alwaysPalette } from './types-Dk8fLx7L.js';
4
5
  import { ViewProps, View, TextProps as TextProps$1, Text as Text$1, ScrollViewProps, ScrollView, StyleProp, ViewStyle, TextStyle } from 'react-native';
5
- export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-BJfkUDnq.js';
6
+ export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-nwk5tr_f.js';
6
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import { S as SetState, a as CVA } from './types-FO65RM-W.js';
8
8
  import { EdgeInsets } from 'react-native-safe-area-context';
9
9
  import { ImageStyle } from 'expo-image';
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-LymI5azd.js';
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, fromEntries, mapValues } from './tokens/index.js';
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-BLJdXZHY.js';
11
+
12
+ declare const UDS_PREFIX = "uds";
13
+ declare const SPECTRUM_COLOR_PREFIX = "uds-spectrum-color";
14
+ declare const FONT_FAMILY_PREFIX = "uds-font";
15
+ declare const ICON_SIZE_PREFIX = "uds-icon-size";
16
+ declare const AVATAR_SIZE_PREFIX = "uds-avatar-size";
17
+ declare const BORDER_RADIUS_PREFIX = "uds-border-radius";
18
+ declare const BORDER_WIDTH_PREFIX = "uds-border-width";
19
+ declare const FONT_SIZE_PREFIX = "uds-font-size";
20
+ declare const LINE_HEIGHT_PREFIX = "uds-line-height";
21
+ declare const FONT_WEIGHT_PREFIX = "uds-font-weight";
22
+ declare const TEXT_TRANSFORM_PREFIX = "uds-text-transform";
23
+ declare const DARK_COLOR_MODE_CLASSNAME = "uds-color-mode-dark";
24
+ declare const LIGHT_COLOR_MODE_CLASSNAME = "uds-color-mode-light";
25
+ declare const XSMALL_SCALE_MODE_CLASSNAME = "uds-scale-mode-xsmall";
26
+ declare const SMALL_SCALE_MODE_CLASSNAME = "uds-scale-mode-small";
27
+ declare const MEDIUM_SCALE_MODE_CLASSNAME = "uds-scale-mode-medium";
28
+ declare const LARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-large";
29
+ declare const XLARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-xlarge";
30
+ declare const XXLARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-xxlarge";
31
+ declare const XXXLARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-xxxlarge";
32
+ declare const DEFAULT_COLOR_MODE_CLASSNAME = "uds-color-mode-light";
33
+ declare const DEFAULT_SCALE_MODE_CLASSNAME = "uds-scale-mode-large";
34
+ declare const FONT_ICONS_CSS_VAR = "--uds-font-icons";
35
+ declare const FONT_SANS_CSS_VAR = "--uds-font-sans";
36
+ declare const FONT_SANS_BETA_CSS_VAR = "--uds-font-sans-beta";
37
+ declare const FONT_SANS_CONDENSED_CSS_VAR = "--uds-font-sans-condensed";
38
+ declare const FONT_SERIF_DISPLAY_CSS_VAR = "--uds-font-serif-display";
39
+ declare const FONT_SERIF_TEXT_CSS_VAR = "--uds-font-serif-text";
40
+
41
+ declare function entries<T>(item: T): [Extract<keyof T, string>, T[keyof T]][];
42
+
43
+ declare function fromEntries<T extends string, K>(item: [T, K][]): Record<T, K>;
44
+
45
+ type AnyObject = Record<string, unknown>;
46
+ declare function mapValues<T extends AnyObject, K extends (value: T[keyof T], key: keyof T, i: number) => unknown>(obj: T, callbackFn: K): { [key in keyof T]: ReturnType<K>; };
12
47
 
13
48
  interface BoxProps extends UniversalBoxProps, ViewProps {
14
49
  }
@@ -59,6 +94,8 @@ declare function useAppState(): "background" | "active" | "inactive" | "unknown"
59
94
  /** Update font scale on app change. RN does not offer a hook for tapping into this like useColorScheme so we have to manually handle based on app state. */
60
95
  declare const useDeviceFontScale: () => number;
61
96
 
97
+ type SetState<T> = Dispatch<SetStateAction<T>>;
98
+
62
99
  type ColorModeForAppProviderProps = React.PropsWithChildren<{
63
100
  value?: ColorModeForApp;
64
101
  }>;
@@ -109,6 +146,34 @@ declare const ScaleModeContext: react.Context<ScaleMode>;
109
146
  declare function useScaleMode(): ScaleMode;
110
147
  declare function ScaleModeProvider({ value, children }: ScaleModeProviderProps): react_jsx_runtime.JSX.Element;
111
148
 
149
+ type StringToBoolean<T> = T extends 'true' | 'false' ? boolean : T;
150
+ type CVAVariantSchema<T, V extends CVAVariantShape<T>> = {
151
+ [Variant in keyof V]?: StringToBoolean<keyof V[Variant]> | undefined;
152
+ };
153
+ type CVAVariantShape<T> = Record<string, Record<string, T>>;
154
+ type CVAStyleProp<T> = T extends string ? {
155
+ className?: T;
156
+ } : {
157
+ style?: T;
158
+ };
159
+ type CVAConfigBase<T> = {
160
+ base?: T | null;
161
+ };
162
+ interface CVA<T> {
163
+ <V extends CVAVariantShape<T>>(config: V extends CVAVariantShape<T> ? CVAConfigBase<T> & {
164
+ base?: T;
165
+ variants?: V;
166
+ compoundVariants?: (V extends CVAVariantShape<T> ? (CVAVariantSchema<T, V> | {
167
+ [Variant in keyof V]?: StringToBoolean<keyof V[Variant]> | undefined;
168
+ }) & CVAStyleProp<T> : CVAStyleProp<T>)[];
169
+ defaultVariants?: CVAVariantSchema<T, V>;
170
+ } : CVAConfigBase<T> & {
171
+ variants?: never;
172
+ compoundVariants?: never;
173
+ defaultVariants?: never;
174
+ }): (props?: V extends CVAVariantShape<T> ? CVAVariantSchema<T, V> & CVAStyleProp<T> : CVAStyleProp<T>) => T;
175
+ }
176
+
112
177
  type ReactNativeStyle = StyleProp<ViewStyle | TextStyle | ImageStyle>;
113
178
  declare function createStyler({ colorMode, scaleMode }: Modes, config: UniversalTokensConfig): {
114
179
  cva: CVA<ReactNativeStyle>;
@@ -118,7 +183,6 @@ declare function createStyler({ colorMode, scaleMode }: Modes, config: Universal
118
183
  tokens: {
119
184
  avatarSizes: AvatarSizeConfig;
120
185
  iconSizes: IconSizeConfig;
121
- spacing: SpacingConfig;
122
186
  borderRadius: BorderRadiusConfig;
123
187
  borderWidth: BorderWidthConfig;
124
188
  fontFamily: FontFamilyConfig;
@@ -525,7 +589,6 @@ declare const DEFAULT_STYLER: {
525
589
  tokens: {
526
590
  avatarSizes: AvatarSizeConfig;
527
591
  iconSizes: IconSizeConfig;
528
- spacing: SpacingConfig;
529
592
  borderRadius: BorderRadiusConfig;
530
593
  borderWidth: BorderWidthConfig;
531
594
  fontFamily: FontFamilyConfig;
@@ -935,7 +998,6 @@ declare function useStyles<T extends ReactNativeStyle>(props: StyleProps & {
935
998
  declare function useTokens(): {
936
999
  avatarSizes: AvatarSizeConfig;
937
1000
  iconSizes: IconSizeConfig;
938
- spacing: SpacingConfig;
939
1001
  borderRadius: BorderRadiusConfig;
940
1002
  borderWidth: BorderWidthConfig;
941
1003
  fontFamily: FontFamilyConfig;
@@ -1341,4 +1403,4 @@ interface ThemeProviderProps extends React.PropsWithChildren {
1341
1403
  }
1342
1404
  declare function ThemeProvider({ children, colorModeForApp, scaleModeForApp, config, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
1343
1405
 
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, 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 };
1406
+ export { AVATAR_SIZE_PREFIX, AvatarSizeConfig, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, 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, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_STYLER, 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, FlexStyleProps, FontFamilyConfig, FontFamilyGlobalConfig, FontSizeConfig, FontWeightConfig, HStack, type HStackProps, ICON_SIZE_PREFIX, Icon, type IconProps, IconSizeConfig, ImageStyleProps, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, LayoutStyleProps, LineHeightConfig, MEDIUM_SCALE_MODE_CLASSNAME, Modes, type ReactNativeStyle, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, ScaleMode, ScaleModeContext, ScaleModeForApp, ScaleModeForAppContext, ScaleModeForAppProvider, type ScaleModeForAppProviderProps, ScaleModeForAppUpdaterContext, ScaleModeForDeviceContext, ScaleModeForDeviceProvider, type ScaleModeForDeviceProviderProps, ScaleModeProvider, type ScaleModeProviderProps, Screen, type ScreenProps, type SetState, SpacingStyleProps, StyleProps, StyleProvider, TEXT_TRANSFORM_PREFIX, Text, type TextProps, type TextPropsOriginal, TextStyleProps, TextTransformConfig, ThemeProvider, type ThemeProviderProps, UDS_PREFIX, UniversalBoxProps, UniversalIconProps, UniversalStackProps, UniversalTextProps, UniversalTokensConfig, VStack, type VStackProps, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, createStyler, entries, fromEntries, mapValues, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens };
@@ -1 +1 @@
1
- import{forwardRef as Ot}from"react";var ho={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},Co={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var xo={none:0,thin:1,medium:2,thick:2},Po={none:0,thin:1,medium:2,thick:4};var vo={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"}}},To={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"}}},Se={white:"#ffffff",black:"#000000",transparent:"transparent"};var Ke={s:16,m:24,l:32},Ro=Ke,Ye={sm:16,md:24,lg:32},Fo=Ye;var Mo={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},Eo={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 wo={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"}},Ao={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 Fe=["Helvetica Neue","Helvetica","Arial","sans-serif"],ko=["Georgia","Times","Times New Roman","serif"],Ze={icons:{fallbacks:Fe,name:"yahoo-icons"},sans:{fallbacks:Fe,name:"yahoo-sans"},"sans-beta":{fallbacks:Fe,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Fe,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:ko,name:"yahoo-serif-text"},"serif-display":{fallbacks:ko,name:"yahoo-serif-display"}},qe={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"},Je={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"},Qe={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"},eo={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}},oo={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:{...eo.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Me={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:{...oo.lineHeight,title2:36,title3:32}},to={fontSize:{...Me.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Me.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},ro={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:{...to.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},no={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:{...ro.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Wo={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:{...no.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var io={fontFamily:qe,fontWeight:Je,textTransform:Qe,avatarSizes:Ke,iconSizes:Ye,borderRadius:ho,borderWidth:xo,spacing:Mo},Ee={fontFamily:qe,fontWeight:Je,textTransform:Qe,avatarSizes:Ro,iconSizes:Fo,borderRadius:Co,borderWidth:Po,spacing:Eo},we={colorMode:{light:{palette:vo,spectrum:wo},dark:{palette:To,spectrum:Ao}},scaleMode:{xSmall:{...io,...eo},small:{...io,...oo},medium:{...io,...Me},large:{...Ee,...to},xLarge:{...Ee,...ro},xxLarge:{...Ee,...no},xxxLarge:{...Ee,...Wo}},fontFamily:Ze};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`,yn=`${F}-color-mode-dark`,vt=`${F}-color-mode-light`,Sn=`${F}-scale-mode-xsmall`,hn=`${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`,Mn=`--${F}-font-sans`,En=`--${F}-font-sans-beta`,wn=`--${F}-font-sans-condensed`,An=`--${F}-font-serif-display`,kn=`--${F}-font-serif-text`;var Ce="system",xe="system",ce="light",me="large",zn=!1,Bn="\u{1F1FA}\u{1F1F8} US";function Hn(o){return Object.entries(o)}function Dn(o){return Object.fromEntries(o)}function Ae(o,t){return Object.keys(o).reduce((r,n,i)=>(r[n]=t(o[n],n,i),r),{})}import{createContext as Wt,memo as zt,useContext as Vo,useMemo as Bt}from"react";import{textVariants as Rt}from"@yahoo/uds/fixtures";function zo({spectrum:o,palette:t}){let r=Ae(o,i=>Ae(i,a=>`rgb(${a.replaceAll(" ",",")})`)),n=Ae(t,i=>Object.entries(i).reduce((a,[m,{hue:e,step:s,opacity:u}])=>{let l=o[e][s],d=u?`rgb(${l.replaceAll(" ",",")} / ${u})`:`rgb(${l.replaceAll(" ",",")})`;return{...a,[m]:d}},{}));return{spectrum:r,palette:n}}function Bo({colorMode:o,...t}){return{...t,colorMode:{light:zo(o.light),dark:zo(o.dark)}}}function ao(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var H={};function lo({colorMode:o,scaleMode:t},r){let{colorMode:n,scaleMode:i,fontFamily:a,...m}=Bo(r),e={fontFamilyGlobal:a,...m,...n[o],...i[t]},s=Object.assign,u=function(fe){return function(g){let pe={};if(!fe?.variants)return s(pe,fe?.base);let{base:yo,variants:ht,defaultVariants:Ct,compoundVariants:Ge}=fe;yo&&s(pe,yo);function xt(ve){if(ve){let{style:he,...Ue}=ve;for(let Te in Ue){let Re=ht[Te],Xe=g?.[Te],So=Ct?.[Te],je=ao(Xe)||ao(So);if(je&&je in Re){let Pt=Re[je];s(pe,Pt)}}he&&s(pe,he)}}if(xt(g),Ge&&Ge?.length>0)for(let ve of Ge){let{style:he,...Ue}=ve;Object.entries(Ue).every(([Re,Xe])=>g?.[Re]===Xe)&&he&&s(pe,he)}return g?.style&&s(pe,g.style),pe}},l=e.spacing.none,d=e.spacing[1],p=e.spacing[2],c=e.spacing[3],b=e.spacing[4],y=e.spacing[5],S=e.spacing[6],h=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],M=e.spacing[14],E=e.palette.core.accent,w=e.palette.core.alert,A=e.palette.core.brand,k=e.palette.core.positive,W=e.palette.core.warning,z=Se.white,B=Se.black,_=Se.transparent,$=e.palette.foreground.muted,G=e.palette.foreground["on-color"],U=e.palette.foreground.primary,X=e.palette.foreground.secondary,j=e.palette.foreground.tertiary,K=e.palette.background.primary,Y=e.palette.background.secondary,O=e.palette.line.primary,D=e.palette.line.secondary,V=e.palette.line.tertiary,L=e.palette.line.muted,f=e.fontFamilyGlobal,Z=f.sans.name,q=f["sans-beta"].name,J=f["sans-condensed"].name,Q=f["serif-text"].name,ee=f["serif-display"].name,oe=f[e.fontFamily.display1].name,te=f[e.fontFamily.display2].name,re=f[e.fontFamily.display3].name,ne=f[e.fontFamily.title1].name,ie=f[e.fontFamily.title2].name,ae=f[e.fontFamily.title3].name,le=f[e.fontFamily.title4].name,se=f[e.fontFamily.headline1].name,de=f[e.fontFamily.body1].name,ue=f[e.fontFamily.label1].name,De=f[e.fontFamily.label2].name,Ve=f[e.fontFamily.caption1].name,Le=f[e.fontFamily.caption2].name,Ie=f[e.fontFamily.legal1].name;function Ne(be){return!!(typeof be=="string"&&Rt.includes(be))}function $e({style:be,...fe}){let bo={},g;Ne(fe.fontWeight)?g=e.fontWeight[fe.fontWeight]:g="regular";let pe=u({variants:{color:{accent:{color:E},alert:{color:w},black:{color:B},brand:{color:A},positive:{color:k},warning:{color:W},white:{color:z},transparent:{color:_},muted:{color:$},"on-color":{color:G},primary:{color:U},secondary:{color:X},tertiary:{color:j}},fontFamily:{icons:{fontFamily:f.icons.name},sans:{fontFamily:`${Z}-${g}`},"sans-beta":{fontFamily:`${q}-${g}`},"sans-condensed":{fontFamily:`${J}-${g}`},"serif-text":{fontFamily:`${Q}-${g}`},"serif-display":{fontFamily:`${ee}-${g}`},display1:{fontFamily:`${oe}-${g}`},display2:{fontFamily:`${te}-${g}`},display3:{fontFamily:`${re}-${g}`},title1:{fontFamily:`${ne}-${g}`},title2:{fontFamily:`${ie}-${g}`},title3:{fontFamily:`${ae}-${g}`},title4:{fontFamily:`${le}-${g}`},headline1:{fontFamily:`${se}-${g}`},body1:{fontFamily:`${de}-${g}`},label1:{fontFamily:`${ue}-${g}`},label2:{fontFamily:`${De}-${g}`},caption1:{fontFamily:`${Ve}-${g}`},caption2:{fontFamily:`${Le}-${g}`},legal1:{fontFamily:`${Ie}-${g}`}},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:w},black:{backgroundColor:B},brand:{backgroundColor:A},positive:{backgroundColor:k},warning:{backgroundColor:W},white:{backgroundColor:z},primary:{backgroundColor:K},secondary:{backgroundColor:Y},transparent:{backgroundColor:_}},spacing:{none:{padding:l},1:{padding:d},2:{padding:p},3:{padding:c},4:{padding:b},5:{padding:y},6:{padding:S},7:{padding:h},8:{padding:C},9:{padding:x},10:{padding:P},11:{padding:v},12:{padding:T},13:{padding:R},14:{padding:M}},spacingHorizontal:{none:{paddingHorizontal:l},1:{paddingHorizontal:d},2:{paddingHorizontal:p},3:{paddingHorizontal:c},4:{paddingHorizontal:b},5:{paddingHorizontal:y},6:{paddingHorizontal:S},7:{paddingHorizontal:h},8:{paddingHorizontal:C},9:{paddingHorizontal:x},10:{paddingHorizontal:P},11:{paddingHorizontal:v},12:{paddingHorizontal:T},13:{paddingHorizontal:R},14:{paddingHorizontal:M}},spacingVertical:{none:{paddingVertical:l},1:{paddingVertical:d},2:{paddingVertical:p},3:{paddingVertical:c},4:{paddingVertical:b},5:{paddingVertical:y},6:{paddingVertical:S},7:{paddingVertical:h},8:{paddingVertical:C},9:{paddingVertical:x},10:{paddingVertical:P},11:{paddingVertical:v},12:{paddingVertical:T},13:{paddingVertical:R},14:{paddingVertical:M}},spacingBottom:{none:{paddingBottom:l},1:{paddingBottom:d},2:{paddingBottom:p},3:{paddingBottom:c},4:{paddingBottom:b},5:{paddingBottom:y},6:{paddingBottom:S},7:{paddingBottom:h},8:{paddingBottom:C},9:{paddingBottom:x},10:{paddingBottom:P},11:{paddingBottom:v},12:{paddingBottom:T},13:{paddingBottom:R},14:{paddingBottom:M}},spacingEnd:{none:{paddingEnd:l},1:{paddingEnd:d},2:{paddingEnd:p},3:{paddingEnd:c},4:{paddingEnd:b},5:{paddingEnd:y},6:{paddingEnd:S},7:{paddingEnd:h},8:{paddingEnd:C},9:{paddingEnd:x},10:{paddingEnd:P},11:{paddingEnd:v},12:{paddingEnd:T},13:{paddingEnd:R},14:{paddingEnd:M}},spacingStart:{none:{paddingStart:l},1:{paddingStart:d},2:{paddingStart:p},3:{paddingStart:c},4:{paddingStart:b},5:{paddingStart:y},6:{paddingStart:S},7:{paddingStart:h},8:{paddingStart:C},9:{paddingStart:x},10:{paddingStart:P},11:{paddingStart:v},12:{paddingStart:T},13:{paddingStart:R},14:{paddingStart:M}},spacingTop:{none:{paddingTop:l},1:{paddingTop:d},2:{paddingTop:p},3:{paddingTop:c},4:{paddingTop:b},5:{paddingTop:y},6:{paddingTop:S},7:{paddingTop:h},8:{paddingTop:C},9:{paddingTop:x},10:{paddingTop:P},11:{paddingTop:v},12:{paddingTop:T},13:{paddingTop:R},14:{paddingTop:M}},offset:{none:{margin:-l},1:{margin:-d},2:{margin:-p},3:{margin:-c},4:{margin:-b},5:{margin:-y},6:{margin:-S},7:{margin:-h},8:{margin:-C},9:{margin:-x},10:{margin:-P},11:{margin:-v},12:{margin:-T},13:{margin:-R},14:{margin:-M}},offsetVertical:{none:{marginVertical:-l},1:{marginVertical:-d},2:{marginVertical:-p},3:{marginVertical:-c},4:{marginVertical:-b},5:{marginVertical:-y},6:{marginVertical:-S},7:{marginVertical:-h},8:{marginVertical:-C},9:{marginVertical:-x},10:{marginVertical:-P},11:{marginVertical:-v},12:{marginVertical:-T},13:{marginVertical:-R},14:{marginVertical:-M}},offsetHorizontal:{none:{marginHorizontal:-l},1:{marginHorizontal:-d},2:{marginHorizontal:-p},3:{marginHorizontal:-c},4:{marginHorizontal:-b},5:{marginHorizontal:-y},6:{marginHorizontal:-S},7:{marginHorizontal:-h},8:{marginHorizontal:-C},9:{marginHorizontal:-x},10:{marginHorizontal:-P},11:{marginHorizontal:-v},12:{marginHorizontal:-T},13:{marginHorizontal:-R},14:{marginHorizontal:-M}},offsetBottom:{none:{marginBottom:-l},1:{marginBottom:-d},2:{marginBottom:-p},3:{marginBottom:-c},4:{marginBottom:-b},5:{marginBottom:-y},6:{marginBottom:-S},7:{marginBottom:-h},8:{marginBottom:-C},9:{marginBottom:-x},10:{marginBottom:-P},11:{marginBottom:-v},12:{marginBottom:-T},13:{marginBottom:-R},14:{marginBottom:-M}},offsetEnd:{none:{marginEnd:-l},1:{marginEnd:-d},2:{marginEnd:-p},3:{marginEnd:-c},4:{marginEnd:-b},5:{marginEnd:-y},6:{marginEnd:-S},7:{marginEnd:-h},8:{marginEnd:-C},9:{marginEnd:-x},10:{marginEnd:-P},11:{marginEnd:-v},12:{marginEnd:-T},13:{marginEnd:-R},14:{marginEnd:-M}},offsetStart:{none:{marginStart:-l},1:{marginStart:-d},2:{marginStart:-p},3:{marginStart:-c},4:{marginStart:-b},5:{marginStart:-y},6:{marginStart:-S},7:{marginStart:-h},8:{marginStart:-C},9:{marginStart:-x},10:{marginStart:-P},11:{marginStart:-v},12:{marginStart:-T},13:{marginStart:-R},14:{marginStart:-M}},offsetTop:{none:{marginTop:-l},1:{marginTop:-d},2:{marginTop:-p},3:{marginTop:-c},4:{marginTop:-b},5:{marginTop:-y},6:{marginTop:-S},7:{marginTop:-h},8:{marginTop:-C},9:{marginTop:-x},10:{marginTop:-P},11:{marginTop:-v},12:{marginTop:-T},13:{marginTop:-R},14:{marginTop:-M}},columnGap:{none:{columnGap:l},1:{columnGap:d},2:{columnGap:p},3:{columnGap:c},4:{columnGap:b},5:{columnGap:y},6:{columnGap:S},7:{columnGap:h},8:{columnGap:C},9:{columnGap:x},10:{columnGap:P},11:{columnGap:v},12:{columnGap:T},13:{columnGap:R},14:{columnGap:M}},rowGap:{none:{rowGap:l},1:{rowGap:d},2:{rowGap:p},3:{rowGap:c},4:{rowGap:b},5:{rowGap:y},6:{rowGap:S},7:{rowGap:h},8:{rowGap:C},9:{rowGap:x},10:{rowGap:P},11:{rowGap:v},12:{rowGap:T},13:{rowGap:R},14:{rowGap:M}},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":H,"table-cell":H,"table-column":H,"table-column-group":H,"table-footer-group":H,"table-header-group":H,"table-row-group":H,"table-row":H,"flow-root":H,grid:H,contents:H},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:H,fixed:H,absolute:{position:"absolute"},relative:{position:"relative"},sticky:H},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:w},black:{borderColor:B},brand:{borderColor:A},positive:{borderColor:k},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnActive:{accent:{borderColor:E},alert:{borderColor:w},black:{borderColor:B},brand:{borderColor:A},positive:{borderColor:k},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnFocus:{accent:{borderColor:E},alert:{borderColor:w},black:{borderColor:B},brand:{borderColor:A},positive:{borderColor:k},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnHover:{accent:{borderColor:E},alert:{borderColor:w},black:{borderColor:B},brand:{borderColor:A},positive:{borderColor:k},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnChecked:{accent:{borderColor:E},alert:{borderColor:w},black:{borderColor:B},brand:{borderColor:A},positive:{borderColor:k},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderStartColor:{accent:{borderStartColor:E},alert:{borderStartColor:w},black:{borderStartColor:B},brand:{borderStartColor:A},positive:{borderStartColor:k},warning:{borderStartColor:W},white:{borderStartColor:z},transparent:{borderStartColor:_},muted:{borderStartColor:L},primary:{borderStartColor:O},secondary:{borderStartColor:D},tertiary:{borderStartColor:V}},borderEndColor:{accent:{borderEndColor:E},alert:{borderEndColor:w},black:{borderEndColor:B},brand:{borderEndColor:A},positive:{borderEndColor:k},warning:{borderEndColor:W},white:{borderEndColor:z},transparent:{borderEndColor:_},muted:{borderEndColor:L},primary:{borderEndColor:O},secondary:{borderEndColor:D},tertiary:{borderEndColor:V}},borderBottomColor:{accent:{borderBottomColor:E},alert:{borderBottomColor:w},black:{borderBottomColor:B},brand:{borderBottomColor:A},positive:{borderBottomColor:k},warning:{borderBottomColor:W},white:{borderBottomColor:z},transparent:{borderBottomColor:_},muted:{borderBottomColor:L},primary:{borderBottomColor:O},secondary:{borderBottomColor:D},tertiary:{borderBottomColor:V}},borderTopColor:{accent:{borderTopColor:E},alert:{borderTopColor:w},black:{borderTopColor:B},brand:{borderTopColor:A},positive:{borderTopColor:k},warning:{borderTopColor:W},white:{borderTopColor:z},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:H,cover:H,fill:H,none:H,"scale-down":H},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"}}}})(fe);return s(bo,pe,be)}return{cva:u,getStyles:$e,tokens:e}}var so=lo({colorMode:ce,scaleMode:me},we);import{createContext as Ft,useContext as Mt}from"react";import{jsx as Et}from"react/jsx-runtime";var _o=Ft(ce);function ke(){return Mt(_o)}function Ho({value:o=ce,children:t}){return Et(_o.Provider,{value:o,children:t})}import{createContext as wt,useContext as At}from"react";import{jsx as kt}from"react/jsx-runtime";var Oo=wt(me);function po(){let o=At(Oo);return o||me}function Do({value:o,children:t}){let r=po();return kt(Oo.Provider,{value:o??r,children:t})}import{jsx as _t}from"react/jsx-runtime";var co=Wt(so),Lo=zt(function({children:t,value:r=we}){let n=ke(),i=po(),a=Bt(()=>r===void 0&&n===ce&&i===me?so:lo({colorMode:n,scaleMode:i},r),[n,i,r]);return _t(co.Provider,{value:a,children:t})});function N(o){let{getStyles:t}=Vo(co);return t(o)}function Io(){return Vo(co).tokens}import{Children as Pe,cloneElement as $o,forwardRef as Go,isValidElement as We}from"react";function Ht(o,t){typeof o=="function"?o(t):o!=null&&(o.current=t)}function No(...o){return t=>o.forEach(r=>Ht(r,t))}import{jsx as Uo}from"react/jsx-runtime";function ze(){let o=Go((a,m)=>{let{children:e,...s}=a,u=Pe.toArray(e),l=u.find(n);if(l){let d=l.props.children,p=u.map(c=>c===l?Pe.count(d)>1?Pe.only(null):We(d)?d.props.children:null:c);return Uo(t,{...s,ref:m,children:We(d)?$o(d,void 0,p):null})}return Uo(t,{...s,ref:m,children:e})});o.displayName="Slot";let t=Go((a,m)=>{let{children:e,...s}=a;return We(e)?$o(e,{...i(s,e.props),ref:m?No(m,e.ref):e.ref}):Pe.count(e)>1?Pe.only(null):null});t.displayName="SlotClone";let r=({children:a})=>a;function n(a){return We(a)&&a.type===r}function i(a,m){let e={...m};for(let s in m){let u=a[s],l=m[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 Xo="RCTView",Be="RCTText",jo=ze(),_e=ze(),Ko=ze();import{jsx as Dt}from"react/jsx-runtime";var He=Ot(function({asChild:t=!1,style:r,backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:y,borderTopColor:S,borderBottomColor:h,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:M,alignContent:E,alignItems:w="stretch",alignSelf:A,flex:k,flexBasis:W,flexDirection:z="column",flexGrow:B,flexShrink:_,flexWrap:$="nowrap",justifyContent:G="flex-start",display:U,overflow:X,overflowX:j,overflowY:K,position:Y,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:f,spacingStart:Z,spacingTop:q,offset:J,offsetVertical:Q,offsetHorizontal:ee,offsetBottom:oe,offsetEnd:te,offsetStart:re,offsetTop:ne,columnGap:ie,rowGap:ae,...le},se){let de=N({backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:y,borderTopColor:S,borderBottomColor:h,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:M,alignContent:E,alignItems:w,alignSelf:A,flex:k,flexDirection:z,flexGrow:B,flexShrink:_,flexWrap:$,justifyContent:G,flexBasis:W,display:U,overflow:X,overflowX:j,overflowY:K,position:Y,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:f,spacingStart:Z,spacingTop:q,offset:J,offsetVertical:Q,offsetHorizontal:ee,offsetBottom:oe,offsetEnd:te,offsetStart:re,offsetTop:ne,columnGap:ie,rowGap:ae,style:r});return Dt(t?jo:Xo,{ref:se,style:de,...le})});import{forwardRef as Vt}from"react";import{jsx as Lt}from"react/jsx-runtime";var Li=Vt(function({gap:t,...r},n){return Lt(He,{ref:n,flexDirection:"row",rowGap:t,columnGap:t,...r})});import{forwardRef as It}from"react";import{jsx as Nt}from"react/jsx-runtime";var Yo=It(function({style:t,asChild:r=!1,size:n,color:i,name:a,textAlign:m,spacing:e,spacingBottom:s,spacingEnd:u,spacingHorizontal:l,spacingStart:d,spacingTop:p,spacingVertical:c,offset:b,offsetBottom:y,offsetEnd:S,offsetHorizontal:h,offsetStart:C,offsetTop:x,offsetVertical:P,...v},T){let R=N({color:i,fontFamily:"icons",textAlign:m,spacing:e,spacingBottom:s,spacingEnd:u,spacingHorizontal:l,spacingStart:d,spacingTop:p,spacingVertical:c,offset:b,offsetBottom:y,offsetEnd:S,offsetHorizontal:h,offsetStart:C,offsetTop:x,offsetVertical:P,iconSize:n,style:t});return Nt(r?_e:Be,{ref:T,maxFontSizeMultiplier:1,allowFontScaling:!1,style:R,...v,children:a})});import{forwardRef as Xt}from"react";var mo={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",className:"min-w-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 Zo({variant:o="accent",size:t="s"}){let{color:r,...n}=mo.variant[o],{variant:i,...a}=mo.size[t];return{pressable:{...mo.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:m,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:y,borderTopColor:S,borderBottomColor:h,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:M,alignContent:E,alignItems:w,alignSelf:A,flex:k,flexBasis:W,flexDirection:z,flexGrow:B,flexShrink:_,flexWrap:$,justifyContent:G,display:U,overflow:X,overflowX:j,overflowY:K,position:Y,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:f,spacingStart:Z,spacingTop:q,offset:J,offsetVertical:Q,offsetHorizontal:ee,offsetBottom:oe,offsetEnd:te,offsetStart:re,offsetTop:ne,columnGap:ie,rowGap:ae,...le},se){let de=N({backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:y,borderTopColor:S,borderBottomColor:h,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:M,alignContent:E,alignItems:w,alignSelf:A,flex:k,flexDirection:z,flexGrow:B,flexShrink:_,flexWrap:$,justifyContent:G,flexBasis:W,display:U,overflow:X,overflowX:j,overflowY:K,position:Y,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:f,spacingStart:Z,spacingTop:q,offset:J,offsetVertical:Q,offsetHorizontal:ee,offsetBottom:oe,offsetEnd:te,offsetStart:re,offsetTop:ne,columnGap:ie,rowGap:ae,style:t});return Ut(r?Ko:Gt,{style:de,ref:se,...le})});import{jsx as Qo}from"react/jsx-runtime";var Jo={s:36,m:48,l:64},jt={},ia=Xt(function({variant:t="accent",size:r="s",name:n,style:i=jt,...a},m){let e=Zo({variant:t,size:r});return Qo(qo,{ref:m,...e.pressable,flexShrink:"0",style:{...i,width:Jo[r],height:Jo[r]},...a,children:Qo(Yo,{name:n,...e.icon})})});import{Image as Kt}from"expo-image";import{jsx as Yt}from"react/jsx-runtime";function pa({width:o,height:t,src:r,alt:n,contentFit:i="cover",backgroundColor:a,borderRadius:m,borderTopStartRadius:e,borderTopEndRadius:s,borderBottomStartRadius:u,borderBottomEndRadius:l,borderColor:d,borderColorOnActive:p,borderColorOnFocus:c,borderColorOnChecked:b,borderColorOnHover:y,borderStartColor:S,borderEndColor:h,borderTopColor:C,borderBottomColor:x,borderWidth:P,borderVerticalWidth:v,borderHorizontalWidth:T,borderStartWidth:R,borderEndWidth:M,borderTopWidth:E,borderBottomWidth:w,alignContent:A,alignItems:k,alignSelf:W,flex:z,flexDirection:B,flexGrow:_,flexShrink:$="0",flexWrap:G,justifyContent:U,flexBasis:X,display:j="flex",overflow:K,overflowX:Y,overflowY:O,position:D,spacing:V,spacingHorizontal:L,spacingVertical:f,spacingBottom:Z,spacingEnd:q,spacingStart:J,spacingTop:Q,offset:ee,offsetVertical:oe,offsetHorizontal:te,offsetBottom:re,offsetEnd:ne,offsetStart:ie,offsetTop:ae,columnGap:le,rowGap:se,...de}){let ue=N({contentFit:i,backgroundColor:a,borderRadius:m,borderTopStartRadius:e,borderTopEndRadius:s,borderBottomStartRadius:u,borderBottomEndRadius:l,borderColor:d,borderColorOnActive:p,borderColorOnFocus:c,borderColorOnChecked:b,borderColorOnHover:y,borderStartColor:S,borderEndColor:h,borderTopColor:C,borderBottomColor:x,borderWidth:P,borderVerticalWidth:v,borderHorizontalWidth:T,borderStartWidth:R,borderEndWidth:M,borderTopWidth:E,borderBottomWidth:w,alignContent:A,alignItems:k,alignSelf:W,flex:z,flexDirection:B,flexGrow:_,flexShrink:$,flexWrap:G,justifyContent:U,flexBasis:X,display:j,overflow:K,overflowX:Y,overflowY:O,position:D,spacing:V,spacingHorizontal:L,spacingVertical:f,spacingBottom:Z,spacingEnd:q,spacingStart:J,spacingTop:Q,offset:ee,offsetVertical:oe,offsetHorizontal:te,offsetBottom:re,offsetEnd:ne,offsetStart:ie,offsetTop:ae,columnGap:le,rowGap:se,style:{width:o,height:t,justifyContent:"flex-start"}});return Yt(Kt,{source:r,alt:n,style:ue,contentFit:i,contentPosition:"left",...de})}import{forwardRef as Zt}from"react";import{jsx as qt}from"react/jsx-runtime";var ba=Zt(function({style:t,asChild:r,color:n="primary",variant:i="body1",fontSize:a=i,fontFamily:m=i,fontWeight:e=i,lineHeight:s=i,textTransform:u=i,textAlign:l,backgroundColor:d,borderRadius:p,borderTopStartRadius:c,borderTopEndRadius:b,borderBottomStartRadius:y,borderBottomEndRadius:S,borderColor:h,borderColorOnActive:C,borderColorOnFocus:x,borderColorOnChecked:P,borderColorOnHover:v,borderStartColor:T,borderEndColor:R,borderTopColor:M,borderBottomColor:E,borderWidth:w,borderVerticalWidth:A,borderHorizontalWidth:k,borderStartWidth:W,borderEndWidth:z,borderTopWidth:B,borderBottomWidth:_,alignContent:$,alignItems:G,alignSelf:U,flex:X,flexDirection:j,flexGrow:K,flexShrink:Y,flexWrap:O,justifyContent:D,flexBasis:V,display:L,overflow:f,overflowX:Z,overflowY:q,position:J,spacing:Q,spacingHorizontal:ee,spacingVertical:oe,spacingBottom:te,spacingEnd:re,spacingStart:ne,spacingTop:ie,offset:ae,offsetVertical:le,offsetHorizontal:se,offsetBottom:de,offsetEnd:ue,offsetStart:De,offsetTop:Ve,columnGap:Le,rowGap:Ie,...Ne},$e){let be=N({style:t,color:n,fontFamily:m,fontSize:a,fontWeight:e,lineHeight:s,textTransform:u,textAlign:l,backgroundColor:d,borderRadius:p,borderTopStartRadius:c,borderTopEndRadius:b,borderBottomStartRadius:y,borderBottomEndRadius:S,borderColor:h,borderColorOnActive:C,borderColorOnFocus:x,borderColorOnChecked:P,borderColorOnHover:v,borderStartColor:T,borderEndColor:R,borderTopColor:M,borderBottomColor:E,borderWidth:w,borderVerticalWidth:A,borderHorizontalWidth:k,borderStartWidth:W,borderEndWidth:z,borderTopWidth:B,borderBottomWidth:_,alignContent:$,alignItems:G,alignSelf:U,flex:X,flexDirection:j,flexGrow:K,flexShrink:Y,flexWrap:O,justifyContent:D,flexBasis:V,display:L,overflow:f,overflowX:Z,overflowY:q,position:J,spacing:Q,spacingHorizontal:ee,spacingVertical:oe,spacingBottom:te,spacingEnd:re,spacingStart:ne,spacingTop:ie,offset:ae,offsetVertical:le,offsetHorizontal:se,offsetBottom:de,offsetEnd:ue,offsetStart:De,offsetTop:Ve,columnGap:Le,rowGap:Ie});return qt(r?_e:Be,{style:be,ref:$e,maxFontSizeMultiplier:1,allowFontScaling:!1,...Ne})});import{forwardRef as Jt}from"react";import{jsx as Qt}from"react/jsx-runtime";var xa=Jt(function({gap:t,...r},n){return Qt(He,{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)},et=(...o)=>er(()=>o.every(t=>t==null)?null:t=>{o.forEach(r=>{or(r,t)})},[o]);import ot 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 tt=tr({tabBarHeight:0,statusBarHeight:ot.statusBarHeight,safeAreaInsets:{top:0,right:0,bottom:0,left:0}});function rt(){return rr(tt)}function nt({children:o}){let t=ir(),r=Io(),n=nr(()=>({tabBarHeight:r.spacing[5]+r.iconSizes.md+r.spacing[3]+r.lineHeight.caption1+r.spacing[5]+t.bottom,statusBarHeight:ot.statusBarHeight,safeAreaInsets:t}),[r.spacing,r.iconSizes,r.lineHeight,t]);return ar(tt.Provider,{value:n,children:o})}import{jsx as mr}from"react/jsx-runtime";var Va=sr(function({children:t,...r},n){let i=ke(),a=pr(null),m=et(a,n);lr(a);let{tabBarHeight:e,safeAreaInsets:s}=rt(),u=N({backgroundColor:"primary",flexGrow:"1",spacingHorizontal:"6"}),l=dr(()=>({paddingTop:s.top,paddingBottom:e}),[s.top,e]);return mr(cr,{ref:m,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 it}from"react-native";function Oe(){let[o,t]=ur(it.currentState),r=fr(n=>{t(n)},[]);return gr(()=>{let n=it.addEventListener("change",r);return()=>{n.remove()}},[r]),o}import{useEffect as br,useRef as yr,useState as Sr}from"react";import{PixelRatio as fo}from"react-native";var at=()=>{let[o,t]=Sr(fo.getFontScale()),r=yr(fo.getFontScale()),n=Oe();return br(()=>{if(n==="active"){let i=fo.getFontScale();r.current!==i&&(t(i),r.current=i)}},[n]),o};import{setStatusBarStyle as Er}from"expo-status-bar";import{createContext as ct,useContext as wr,useEffect as pt,useState as Ar}from"react";import{createContext as hr,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 Mr}from"react/jsx-runtime";var lt=hr(ce);function st(){return Cr(lt)}function Fr(){let o=Oe(),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 dt({children:o}){let t=Fr();return Mr(lt.Provider,{value:t,children:o})}import{jsx as go}from"react/jsx-runtime";var kr=()=>{},mt=ct(Ce),Wr=ct(kr);function al(){return wr(mt)}function ft({children:o,value:t=Ce}){let[r,n]=Ar(t),i=st(),a=r==="system"?i:r;return pt(()=>{Er(a==="light"?"dark":"light")},[a]),pt(()=>{n(t)},[t]),go(mt.Provider,{value:r,children:go(Wr.Provider,{value:n,children:go(Ho,{value:a,children:o})})})}import{createContext as yt,useState as Dr}from"react";import{createContext as zr,useContext as Br,useMemo as _r}from"react";import{jsx as Or}from"react/jsx-runtime";var gt=zr(me),ye={xSmall:.823,small:.882,medium:.941,large:1,xLarge:1.118,xxLarge:1.235,xxxLarge:1.353};function ut(){return Br(gt)}function Hr(){let o=at();return _r(()=>o<=ye.xSmall?"xSmall":o<=ye.small?"small":o<=ye.medium?"medium":o<=ye.large?"large":o<=ye.xLarge?"xLarge":o<=ye.xxLarge?"xxLarge":o>=ye.xxxLarge?"xxxLarge":"large",[o])}function bt({children:o}){let t=Hr();return Or(gt.Provider,{value:t,children:o})}import{jsx as uo}from"react/jsx-runtime";var Vr=()=>{},Lr=yt(xe),Ir=yt(Vr);function St({children:o,value:t=xe}){let[r,n]=Dr(t),i=ut(),a=r==="system"?i:r;return uo(Lr.Provider,{value:r,children:uo(Ir.Provider,{value:n,children:uo(Do,{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 ge}from"react/jsx-runtime";function wl({children:o,colorModeForApp:t=Ce,scaleModeForApp:r=xe,config:n}){return ge($r,{children:ge(dt,{children:ge(ft,{value:t,children:ge(bt,{children:ge(St,{value:r,children:ge(Lo,{value:n,children:ge(nt,{children:ge(Nr,{children:o})})})})})})})})}export{dn as AVATAR_SIZE_PREFIX,pn as BORDER_RADIUS_PREFIX,cn as BORDER_WIDTH_PREFIX,He as Box,_o as ColorModeContext,mt as ColorModeForAppContext,Wr as ColorModeForAppContextUpdater,ft as ColorModeForAppProvider,lt as ColorModeForDeviceContext,dt as ColorModeForDeviceProvider,Ho as ColorModeProvider,tt as ComputedTokensContext,nt as ComputedTokensProvider,yn as DARK_COLOR_MODE_CLASSNAME,ce as DEFAULT_COLOR_MODE,Tn as DEFAULT_COLOR_MODE_CLASSNAME,Ce as DEFAULT_COLOR_MODE_FOR_APP,zn as DEFAULT_HIGH_CONTRAST_MODE,Bn as DEFAULT_REGION_MODE,me as DEFAULT_SCALE_MODE,Rn as DEFAULT_SCALE_MODE_CLASSNAME,xe as DEFAULT_SCALE_MODE_FOR_APP,so as DEFAULT_STYLER,ln as FONT_FAMILY_PREFIX,Fn as FONT_ICONS_CSS_VAR,En as FONT_SANS_BETA_CSS_VAR,wn as FONT_SANS_CONDENSED_CSS_VAR,Mn 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,Li as HStack,sn as ICON_SIZE_PREFIX,Yo as Icon,ia as IconButton,pa 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,hn as SMALL_SCALE_MODE_CLASSNAME,mn as SPACING_PREFIX,an as SPECTRUM_COLOR_PREFIX,Oo as ScaleModeContext,Lr as ScaleModeForAppContext,St as ScaleModeForAppProvider,Ir as ScaleModeForAppUpdaterContext,gt as ScaleModeForDeviceContext,bt as ScaleModeForDeviceProvider,Do as ScaleModeProvider,Va as Screen,Lo as StyleProvider,bn as TEXT_TRANSFORM_PREFIX,ba as Text,wl as ThemeProvider,F as UDS_PREFIX,xa as VStack,xn as XLARGE_SCALE_MODE_CLASSNAME,Sn as XSMALL_SCALE_MODE_CLASSNAME,Pn as XXLARGE_SCALE_MODE_CLASSNAME,vn as XXXLARGE_SCALE_MODE_CLASSNAME,Se as alwaysPalette,lo as createStyler,we as defaultTokensConfig,Hn as entries,Ze as fontFamilyGlobal,I as fontWeightMap,Dn as fromEntries,Ae as mapValues,Oe as useAppState,ke as useColorMode,al as useColorModeForApp,st as useColorModeForDevice,rt as useComputedTokens,at as useDeviceFontScale,po as useScaleMode,ut as useScaleModeForDevice,N as useStyles,Io as useTokens};
1
+ import{forwardRef as Tt}from"react";var pe={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},se={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var ce={none:0,thin:1,medium:2,thick:2},me={none:0,thin:1,medium:2,thick:4};var ge={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"}}},fe={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"}}},xo={white:"#ffffff",black:"#000000",transparent:"transparent"};var Lo={s:16,m:24,l:32},ue=Lo,Io={sm:16,md:24,lg:32},be=Io;var ye={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"}},Se={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 Ro=["Helvetica Neue","Helvetica","Arial","sans-serif"],he=["Georgia","Times","Times New Roman","serif"],No={icons:{fallbacks:Ro,name:"yahoo-icons"},sans:{fallbacks:Ro,name:"yahoo-sans"},"sans-beta":{fallbacks:Ro,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Ro,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:he,name:"yahoo-serif-text"},"serif-display":{fallbacks:he,name:"yahoo-serif-display"}},$o={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"},w={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Uo={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"},Xo={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"},jo={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}},Ko={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:{...jo.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Fo={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:{...Ko.lineHeight,title2:36,title3:32}},Yo={fontSize:{...Fo.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Fo.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},Zo={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:{...Yo.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},qo={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:{...Zo.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},xe={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:{...qo.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var Jo={fontFamily:$o,fontWeight:Uo,textTransform:Xo,avatarSizes:Lo,iconSizes:Io,borderRadius:pe,borderWidth:ce},wo={fontFamily:$o,fontWeight:Uo,textTransform:Xo,avatarSizes:ue,iconSizes:be,borderRadius:se,borderWidth:me},Mo={colorMode:{light:{palette:ge,spectrum:ye},dark:{palette:fe,spectrum:Se}},scaleMode:{xSmall:{...Jo,...jo},small:{...Jo,...Ko},medium:{...Jo,...Fo},large:{...wo,...Yo},xLarge:{...wo,...Zo},xxLarge:{...wo,...qo},xxxLarge:{...wo,...xe}},fontFamily:No};var b="uds",Ir=`${b}-spectrum-color`,Nr=`${b}-font`,$r=`${b}-icon-size`,Ur=`${b}-avatar-size`,Xr=`${b}-border-radius`,jr=`${b}-border-width`,Kr=`${b}-font-size`,Yr=`${b}-line-height`,Zr=`${b}-font-weight`,qr=`${b}-text-transform`,Jr=`${b}-color-mode-dark`,dt=`${b}-color-mode-light`,Qr=`${b}-scale-mode-xsmall`,on=`${b}-scale-mode-small`,en=`${b}-scale-mode-medium`,pt=`${b}-scale-mode-large`,tn=`${b}-scale-mode-xlarge`,rn=`${b}-scale-mode-xxlarge`,nn=`${b}-scale-mode-xxxlarge`,an=dt,ln=pt,dn=`--${b}-font-icons`,pn=`--${b}-font-sans`,sn=`--${b}-font-sans-beta`,cn=`--${b}-font-sans-condensed`,mn=`--${b}-font-serif-display`,gn=`--${b}-font-serif-text`;var Po="system",vo="system",mo="light",go="large",un=!1,bn="\u{1F1FA}\u{1F1F8} US";function Sn(t){return Object.entries(t)}function xn(t){return Object.fromEntries(t)}function Ao(t,r){return Object.keys(t).reduce((n,i,a)=>(n[i]=r(t[i],i,a),n),{})}import{createContext as yt,memo as St,useContext as Fe,useMemo as ht}from"react";import{spacingMap as o,textVariants as st}from"@yahoo/uds/fixtures";function Ce({spectrum:t,palette:r}){let n=Ao(t,a=>Ao(a,l=>`rgb(${l.replaceAll(" ",",")})`)),i=Ao(r,a=>Object.entries(a).reduce((l,[m,{hue:e,step:d,opacity:f}])=>{let s=t[e][d],c=f?`rgb(${s.replaceAll(" ",",")} / ${f})`:`rgb(${s.replaceAll(" ",",")})`;return{...l,[m]:c}},{}));return{spectrum:n,palette:i}}function Te({colorMode:t,...r}){return{...r,colorMode:{light:Ce(t.light),dark:Ce(t.dark)}}}function Qo(t){return typeof t=="boolean"?`${t}`:t===0?"0":t}var T={};function oe({colorMode:t,scaleMode:r},n){let{colorMode:i,scaleMode:a,fontFamily:l,...m}=Te(n),e={fontFamilyGlobal:l,...m,...i[t],...a[r]},d=Object.assign,f=function(M){return function(p){let F={};if(!M?.variants)return d(F,M?.base);let{base:G,variants:po,defaultVariants:so,compoundVariants:co}=M;G&&d(F,G);function Oo(yo){if(yo){let{style:uo,...Co}=yo;for(let So in Co){let ho=po[So],To=p?.[So],Do=so?.[So],Go=Qo(To)||Qo(Do);if(Go&&Go in ho){let lt=ho[Go];d(F,lt)}}uo&&d(F,uo)}}if(Oo(p),co&&co?.length>0)for(let yo of co){let{style:uo,...Co}=yo;Object.entries(Co).every(([ho,To])=>p?.[ho]===To)&&uo&&d(F,uo)}return p?.style&&d(F,p.style),F}},s=e.palette.core.accent,c=e.palette.core.alert,u=e.palette.core.brand,y=e.palette.core.positive,S=e.palette.core.warning,h=xo.white,x=xo.black,C=xo.transparent,k=e.palette.foreground.muted,W=e.palette.foreground["on-color"],B=e.palette.foreground.primary,H=e.palette.foreground.secondary,V=e.palette.foreground.tertiary,_=e.palette.background.primary,O=e.palette.background.secondary,P=e.palette.line.primary,v=e.palette.line.secondary,E=e.palette.line.tertiary,R=e.palette.line.muted,g=e.fontFamilyGlobal,L=g.sans.name,I=g["sans-beta"].name,N=g["sans-condensed"].name,$=g["serif-text"].name,U=g["serif-display"].name,X=g[e.fontFamily.display1].name,j=g[e.fontFamily.display2].name,K=g[e.fontFamily.display3].name,Y=g[e.fontFamily.title1].name,Z=g[e.fontFamily.title2].name,q=g[e.fontFamily.title3].name,J=g[e.fontFamily.title4].name,Q=g[e.fontFamily.headline1].name,oo=g[e.fontFamily.body1].name,eo=g[e.fontFamily.label1].name,to=g[e.fontFamily.label2].name,ro=g[e.fontFamily.caption1].name,no=g[e.fontFamily.caption2].name,io=g[e.fontFamily.legal1].name;function ao(A){return!!(typeof A=="string"&&st.includes(A))}function lo({style:A,...M}){let D={},p;ao(M.fontWeight)?p=e.fontWeight[M.fontWeight]:p="regular";let F=f({variants:{color:{accent:{color:s},alert:{color:c},black:{color:x},brand:{color:u},positive:{color:y},warning:{color:S},white:{color:h},transparent:{color:C},muted:{color:k},"on-color":{color:W},primary:{color:B},secondary:{color:H},tertiary:{color:V}},fontFamily:{icons:{fontFamily:g.icons.name},sans:{fontFamily:`${L}-${p}`},"sans-beta":{fontFamily:`${I}-${p}`},"sans-condensed":{fontFamily:`${N}-${p}`},"serif-text":{fontFamily:`${$}-${p}`},"serif-display":{fontFamily:`${U}-${p}`},display1:{fontFamily:`${X}-${p}`},display2:{fontFamily:`${j}-${p}`},display3:{fontFamily:`${K}-${p}`},title1:{fontFamily:`${Y}-${p}`},title2:{fontFamily:`${Z}-${p}`},title3:{fontFamily:`${q}-${p}`},title4:{fontFamily:`${J}-${p}`},headline1:{fontFamily:`${Q}-${p}`},body1:{fontFamily:`${oo}-${p}`},label1:{fontFamily:`${eo}-${p}`},label2:{fontFamily:`${to}-${p}`},caption1:{fontFamily:`${ro}-${p}`},caption2:{fontFamily:`${no}-${p}`},legal1:{fontFamily:`${io}-${p}`}},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:w[e.fontWeight.display1]},display2:{fontWeight:w[e.fontWeight.display2]},display3:{fontWeight:w[e.fontWeight.display3]},title1:{fontWeight:w[e.fontWeight.title1]},title2:{fontWeight:w[e.fontWeight.title2]},title3:{fontWeight:w[e.fontWeight.title3]},title4:{fontWeight:w[e.fontWeight.title4]},headline1:{fontWeight:w[e.fontWeight.headline1]},body1:{fontWeight:w[e.fontWeight.body1]},label1:{fontWeight:w[e.fontWeight.label1]},label2:{fontWeight:w[e.fontWeight.label2]},caption1:{fontWeight:w[e.fontWeight.caption1]},caption2:{fontWeight:w[e.fontWeight.caption2]},legal1:{fontWeight:w[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:s},alert:{backgroundColor:c},black:{backgroundColor:x},brand:{backgroundColor:u},positive:{backgroundColor:y},warning:{backgroundColor:S},white:{backgroundColor:h},primary:{backgroundColor:_},secondary:{backgroundColor:O},transparent:{backgroundColor:C}},spacing:{0:{padding:o[0]},px:{padding:o.px},"0.5":{padding:o["0.5"]},1:{padding:o[1]},"1.5":{padding:o["1.5"]},2:{padding:o[2]},"2.5":{padding:o["2.5"]},3:{padding:o[3]},"3.5":{padding:o["3.5"]},4:{padding:o[4]},5:{padding:o[5]},6:{padding:o[6]},7:{padding:o[7]},8:{padding:o[8]},9:{padding:o[9]},10:{padding:o[10]},11:{padding:o[11]},12:{padding:o[12]},14:{padding:o[14]},16:{padding:o[16]},20:{padding:o[20]},24:{padding:o[24]},28:{padding:o[28]},32:{padding:o[32]},36:{padding:o[36]},40:{padding:o[40]},44:{padding:o[44]},48:{padding:o[48]},52:{padding:o[52]},56:{padding:o[56]},60:{padding:o[60]},64:{padding:o[64]},72:{padding:o[72]},80:{padding:o[80]},96:{padding:o[96]}},spacingHorizontal:{0:{paddingHorizontal:o[0]},px:{paddingHorizontal:o.px},"0.5":{paddingHorizontal:o["0.5"]},1:{paddingHorizontal:o[1]},"1.5":{paddingHorizontal:o["1.5"]},2:{paddingHorizontal:o[2]},"2.5":{paddingHorizontal:o["2.5"]},3:{paddingHorizontal:o[3]},"3.5":{paddingHorizontal:o["3.5"]},4:{paddingHorizontal:o[4]},5:{paddingHorizontal:o[5]},6:{paddingHorizontal:o[6]},7:{paddingHorizontal:o[7]},8:{paddingHorizontal:o[8]},9:{paddingHorizontal:o[9]},10:{paddingHorizontal:o[10]},11:{paddingHorizontal:o[11]},12:{paddingHorizontal:o[12]},14:{paddingHorizontal:o[14]},16:{paddingHorizontal:o[16]},20:{paddingHorizontal:o[20]},24:{paddingHorizontal:o[24]},28:{paddingHorizontal:o[28]},32:{paddingHorizontal:o[32]},36:{paddingHorizontal:o[36]},40:{paddingHorizontal:o[40]},44:{paddingHorizontal:o[44]},48:{paddingHorizontal:o[48]},52:{paddingHorizontal:o[52]},56:{paddingHorizontal:o[56]},60:{paddingHorizontal:o[60]},64:{paddingHorizontal:o[64]},72:{paddingHorizontal:o[72]},80:{paddingHorizontal:o[80]},96:{paddingHorizontal:o[96]}},spacingVertical:{0:{paddingVertical:o[0]},px:{paddingVertical:o.px},"0.5":{paddingVertical:o["0.5"]},1:{paddingVertical:o[1]},"1.5":{paddingVertical:o["1.5"]},2:{paddingVertical:o[2]},"2.5":{paddingVertical:o["2.5"]},3:{paddingVertical:o[3]},"3.5":{paddingVertical:o["3.5"]},4:{paddingVertical:o[4]},5:{paddingVertical:o[5]},6:{paddingVertical:o[6]},7:{paddingVertical:o[7]},8:{paddingVertical:o[8]},9:{paddingVertical:o[9]},10:{paddingVertical:o[10]},11:{paddingVertical:o[11]},12:{paddingVertical:o[12]},14:{paddingVertical:o[14]},16:{paddingVertical:o[16]},20:{paddingVertical:o[20]},24:{paddingVertical:o[24]},28:{paddingVertical:o[28]},32:{paddingVertical:o[32]},36:{paddingVertical:o[36]},40:{paddingVertical:o[40]},44:{paddingVertical:o[44]},48:{paddingVertical:o[48]},52:{paddingVertical:o[52]},56:{paddingVertical:o[56]},60:{paddingVertical:o[60]},64:{paddingVertical:o[64]},72:{paddingVertical:o[72]},80:{paddingVertical:o[80]},96:{paddingVertical:o[96]}},spacingBottom:{0:{paddingBottom:o[0]},px:{paddingBottom:o.px},"0.5":{paddingBottom:o["0.5"]},1:{paddingBottom:o[1]},"1.5":{paddingBottom:o["1.5"]},2:{paddingBottom:o[2]},"2.5":{paddingBottom:o["2.5"]},3:{paddingBottom:o[3]},"3.5":{paddingBottom:o["3.5"]},4:{paddingBottom:o[4]},5:{paddingBottom:o[5]},6:{paddingBottom:o[6]},7:{paddingBottom:o[7]},8:{paddingBottom:o[8]},9:{paddingBottom:o[9]},10:{paddingBottom:o[10]},11:{paddingBottom:o[11]},12:{paddingBottom:o[12]},14:{paddingBottom:o[14]},16:{paddingBottom:o[16]},20:{paddingBottom:o[20]},24:{paddingBottom:o[24]},28:{paddingBottom:o[28]},32:{paddingBottom:o[32]},36:{paddingBottom:o[36]},40:{paddingBottom:o[40]},44:{paddingBottom:o[44]},48:{paddingBottom:o[48]},52:{paddingBottom:o[52]},56:{paddingBottom:o[56]},60:{paddingBottom:o[60]},64:{paddingBottom:o[64]},72:{paddingBottom:o[72]},80:{paddingBottom:o[80]},96:{paddingBottom:o[96]}},spacingEnd:{0:{paddingEnd:o[0]},px:{paddingEnd:o.px},"0.5":{paddingEnd:o["0.5"]},1:{paddingEnd:o[1]},"1.5":{paddingEnd:o["1.5"]},2:{paddingEnd:o[2]},"2.5":{paddingEnd:o["2.5"]},3:{paddingEnd:o[3]},"3.5":{paddingEnd:o["3.5"]},4:{paddingEnd:o[4]},5:{paddingEnd:o[5]},6:{paddingEnd:o[6]},7:{paddingEnd:o[7]},8:{paddingEnd:o[8]},9:{paddingEnd:o[9]},10:{paddingEnd:o[10]},11:{paddingEnd:o[11]},12:{paddingEnd:o[12]},14:{paddingEnd:o[14]},16:{paddingEnd:o[16]},20:{paddingEnd:o[20]},24:{paddingEnd:o[24]},28:{paddingEnd:o[28]},32:{paddingEnd:o[32]},36:{paddingEnd:o[36]},40:{paddingEnd:o[40]},44:{paddingEnd:o[44]},48:{paddingEnd:o[48]},52:{paddingEnd:o[52]},56:{paddingEnd:o[56]},60:{paddingEnd:o[60]},64:{paddingEnd:o[64]},72:{paddingEnd:o[72]},80:{paddingEnd:o[80]},96:{paddingEnd:o[96]}},spacingStart:{0:{paddingStart:o[0]},px:{paddingStart:o.px},"0.5":{paddingStart:o["0.5"]},1:{paddingStart:o[1]},"1.5":{paddingStart:o["1.5"]},2:{paddingStart:o[2]},"2.5":{paddingStart:o["2.5"]},3:{paddingStart:o[3]},"3.5":{paddingStart:o["3.5"]},4:{paddingStart:o[4]},5:{paddingStart:o[5]},6:{paddingStart:o[6]},7:{paddingStart:o[7]},8:{paddingStart:o[8]},9:{paddingStart:o[9]},10:{paddingStart:o[10]},11:{paddingStart:o[11]},12:{paddingStart:o[12]},14:{paddingStart:o[14]},16:{paddingStart:o[16]},20:{paddingStart:o[20]},24:{paddingStart:o[24]},28:{paddingStart:o[28]},32:{paddingStart:o[32]},36:{paddingStart:o[36]},40:{paddingStart:o[40]},44:{paddingStart:o[44]},48:{paddingStart:o[48]},52:{paddingStart:o[52]},56:{paddingStart:o[56]},60:{paddingStart:o[60]},64:{paddingStart:o[64]},72:{paddingStart:o[72]},80:{paddingStart:o[80]},96:{paddingStart:o[96]}},spacingTop:{0:{paddingTop:o[0]},px:{paddingTop:o.px},"0.5":{paddingTop:o["0.5"]},1:{paddingTop:o[1]},"1.5":{paddingTop:o["1.5"]},2:{paddingTop:o[2]},"2.5":{paddingTop:o["2.5"]},3:{paddingTop:o[3]},"3.5":{paddingTop:o["3.5"]},4:{paddingTop:o[4]},5:{paddingTop:o[5]},6:{paddingTop:o[6]},7:{paddingTop:o[7]},8:{paddingTop:o[8]},9:{paddingTop:o[9]},10:{paddingTop:o[10]},11:{paddingTop:o[11]},12:{paddingTop:o[12]},14:{paddingTop:o[14]},16:{paddingTop:o[16]},20:{paddingTop:o[20]},24:{paddingTop:o[24]},28:{paddingTop:o[28]},32:{paddingTop:o[32]},36:{paddingTop:o[36]},40:{paddingTop:o[40]},44:{paddingTop:o[44]},48:{paddingTop:o[48]},52:{paddingTop:o[52]},56:{paddingTop:o[56]},60:{paddingTop:o[60]},64:{paddingTop:o[64]},72:{paddingTop:o[72]},80:{paddingTop:o[80]},96:{paddingTop:o[96]}},offset:{0:{margin:-o[0]},px:{margin:-o.px},"0.5":{margin:-o["0.5"]},1:{margin:-o[1]},"1.5":{margin:-o["1.5"]},2:{margin:-o[2]},"2.5":{margin:-o["2.5"]},3:{margin:-o[3]},"3.5":{margin:-o["3.5"]},4:{margin:-o[4]},5:{margin:-o[5]},6:{margin:-o[6]},7:{margin:-o[7]},8:{margin:-o[8]},9:{margin:-o[9]},10:{margin:-o[10]},11:{margin:-o[11]},12:{margin:-o[12]},14:{margin:-o[14]},16:{margin:-o[16]},20:{margin:-o[20]},24:{margin:-o[24]},28:{margin:-o[28]},32:{margin:-o[32]},36:{margin:-o[36]},40:{margin:-o[40]},44:{margin:-o[44]},48:{margin:-o[48]},52:{margin:-o[52]},56:{margin:-o[56]},60:{margin:-o[60]},64:{margin:-o[64]},72:{margin:-o[72]},80:{margin:-o[80]},96:{margin:-o[96]}},offsetVertical:{0:{marginVertical:o[0]},px:{marginVertical:o.px},"0.5":{marginVertical:o["0.5"]},1:{marginVertical:o[1]},"1.5":{marginVertical:o["1.5"]},2:{marginVertical:o[2]},"2.5":{marginVertical:o["2.5"]},3:{marginVertical:o[3]},"3.5":{marginVertical:o["3.5"]},4:{marginVertical:o[4]},5:{marginVertical:o[5]},6:{marginVertical:o[6]},7:{marginVertical:o[7]},8:{marginVertical:o[8]},9:{marginVertical:o[9]},10:{marginVertical:o[10]},11:{marginVertical:o[11]},12:{marginVertical:o[12]},14:{marginVertical:o[14]},16:{marginVertical:o[16]},20:{marginVertical:o[20]},24:{marginVertical:o[24]},28:{marginVertical:o[28]},32:{marginVertical:o[32]},36:{marginVertical:o[36]},40:{marginVertical:o[40]},44:{marginVertical:o[44]},48:{marginVertical:o[48]},52:{marginVertical:o[52]},56:{marginVertical:o[56]},60:{marginVertical:o[60]},64:{marginVertical:o[64]},72:{marginVertical:o[72]},80:{marginVertical:o[80]},96:{marginVertical:o[96]}},offsetHorizontal:{0:{marginHorizontal:o[0]},px:{marginHorizontal:o.px},"0.5":{marginHorizontal:o["0.5"]},1:{marginHorizontal:o[1]},"1.5":{marginHorizontal:o["1.5"]},2:{marginHorizontal:o[2]},"2.5":{marginHorizontal:o["2.5"]},3:{marginHorizontal:o[3]},"3.5":{marginHorizontal:o["3.5"]},4:{marginHorizontal:o[4]},5:{marginHorizontal:o[5]},6:{marginHorizontal:o[6]},7:{marginHorizontal:o[7]},8:{marginHorizontal:o[8]},9:{marginHorizontal:o[9]},10:{marginHorizontal:o[10]},11:{marginHorizontal:o[11]},12:{marginHorizontal:o[12]},14:{marginHorizontal:o[14]},16:{marginHorizontal:o[16]},20:{marginHorizontal:o[20]},24:{marginHorizontal:o[24]},28:{marginHorizontal:o[28]},32:{marginHorizontal:o[32]},36:{marginHorizontal:o[36]},40:{marginHorizontal:o[40]},44:{marginHorizontal:o[44]},48:{marginHorizontal:o[48]},52:{marginHorizontal:o[52]},56:{marginHorizontal:o[56]},60:{marginHorizontal:o[60]},64:{marginHorizontal:o[64]},72:{marginHorizontal:o[72]},80:{marginHorizontal:o[80]},96:{marginHorizontal:o[96]}},offsetBottom:{0:{marginBottom:o[0]},px:{marginBottom:o.px},"0.5":{marginBottom:o["0.5"]},1:{marginBottom:o[1]},"1.5":{marginBottom:o["1.5"]},2:{marginBottom:o[2]},"2.5":{marginBottom:o["2.5"]},3:{marginBottom:o[3]},"3.5":{marginBottom:o["3.5"]},4:{marginBottom:o[4]},5:{marginBottom:o[5]},6:{marginBottom:o[6]},7:{marginBottom:o[7]},8:{marginBottom:o[8]},9:{marginBottom:o[9]},10:{marginBottom:o[10]},11:{marginBottom:o[11]},12:{marginBottom:o[12]},14:{marginBottom:o[14]},16:{marginBottom:o[16]},20:{marginBottom:o[20]},24:{marginBottom:o[24]},28:{marginBottom:o[28]},32:{marginBottom:o[32]},36:{marginBottom:o[36]},40:{marginBottom:o[40]},44:{marginBottom:o[44]},48:{marginBottom:o[48]},52:{marginBottom:o[52]},56:{marginBottom:o[56]},60:{marginBottom:o[60]},64:{marginBottom:o[64]},72:{marginBottom:o[72]},80:{marginBottom:o[80]},96:{marginBottom:o[96]}},offsetEnd:{0:{marginEnd:o[0]},px:{marginEnd:o.px},"0.5":{marginEnd:o["0.5"]},1:{marginEnd:o[1]},"1.5":{marginEnd:o["1.5"]},2:{marginEnd:o[2]},"2.5":{marginEnd:o["2.5"]},3:{marginEnd:o[3]},"3.5":{marginEnd:o["3.5"]},4:{marginEnd:o[4]},5:{marginEnd:o[5]},6:{marginEnd:o[6]},7:{marginEnd:o[7]},8:{marginEnd:o[8]},9:{marginEnd:o[9]},10:{marginEnd:o[10]},11:{marginEnd:o[11]},12:{marginEnd:o[12]},14:{marginEnd:o[14]},16:{marginEnd:o[16]},20:{marginEnd:o[20]},24:{marginEnd:o[24]},28:{marginEnd:o[28]},32:{marginEnd:o[32]},36:{marginEnd:o[36]},40:{marginEnd:o[40]},44:{marginEnd:o[44]},48:{marginEnd:o[48]},52:{marginEnd:o[52]},56:{marginEnd:o[56]},60:{marginEnd:o[60]},64:{marginEnd:o[64]},72:{marginEnd:o[72]},80:{marginEnd:o[80]},96:{marginEnd:o[96]}},offsetStart:{0:{marginStart:o[0]},px:{marginStart:o.px},"0.5":{marginStart:o["0.5"]},1:{marginStart:o[1]},"1.5":{marginStart:o["1.5"]},2:{marginStart:o[2]},"2.5":{marginStart:o["2.5"]},3:{marginStart:o[3]},"3.5":{marginStart:o["3.5"]},4:{marginStart:o[4]},5:{marginStart:o[5]},6:{marginStart:o[6]},7:{marginStart:o[7]},8:{marginStart:o[8]},9:{marginStart:o[9]},10:{marginStart:o[10]},11:{marginStart:o[11]},12:{marginStart:o[12]},14:{marginStart:o[14]},16:{marginStart:o[16]},20:{marginStart:o[20]},24:{marginStart:o[24]},28:{marginStart:o[28]},32:{marginStart:o[32]},36:{marginStart:o[36]},40:{marginStart:o[40]},44:{marginStart:o[44]},48:{marginStart:o[48]},52:{marginStart:o[52]},56:{marginStart:o[56]},60:{marginStart:o[60]},64:{marginStart:o[64]},72:{marginStart:o[72]},80:{marginStart:o[80]},96:{marginStart:o[96]}},offsetTop:{0:{marginTop:o[0]},px:{marginTop:o.px},"0.5":{marginTop:o["0.5"]},1:{marginTop:o[1]},"1.5":{marginTop:o["1.5"]},2:{marginTop:o[2]},"2.5":{marginTop:o["2.5"]},3:{marginTop:o[3]},"3.5":{marginTop:o["3.5"]},4:{marginTop:o[4]},5:{marginTop:o[5]},6:{marginTop:o[6]},7:{marginTop:o[7]},8:{marginTop:o[8]},9:{marginTop:o[9]},10:{marginTop:o[10]},11:{marginTop:o[11]},12:{marginTop:o[12]},14:{marginTop:o[14]},16:{marginTop:o[16]},20:{marginTop:o[20]},24:{marginTop:o[24]},28:{marginTop:o[28]},32:{marginTop:o[32]},36:{marginTop:o[36]},40:{marginTop:o[40]},44:{marginTop:o[44]},48:{marginTop:o[48]},52:{marginTop:o[52]},56:{marginTop:o[56]},60:{marginTop:o[60]},64:{marginTop:o[64]},72:{marginTop:o[72]},80:{marginTop:o[80]},96:{marginTop:o[96]}},columnGap:{0:{columnGap:o[0]},px:{columnGap:o.px},"0.5":{columnGap:o["0.5"]},1:{columnGap:o[1]},"1.5":{columnGap:o["1.5"]},2:{columnGap:o[2]},"2.5":{columnGap:o["2.5"]},3:{columnGap:o[3]},"3.5":{columnGap:o["3.5"]},4:{columnGap:o[4]},5:{columnGap:o[5]},6:{columnGap:o[6]},7:{columnGap:o[7]},8:{columnGap:o[8]},9:{columnGap:o[9]},10:{columnGap:o[10]},11:{columnGap:o[11]},12:{columnGap:o[12]},14:{columnGap:o[14]},16:{columnGap:o[16]},20:{columnGap:o[20]},24:{columnGap:o[24]},28:{columnGap:o[28]},32:{columnGap:o[32]},36:{columnGap:o[36]},40:{columnGap:o[40]},44:{columnGap:o[44]},48:{columnGap:o[48]},52:{columnGap:o[52]},56:{columnGap:o[56]},60:{columnGap:o[60]},64:{columnGap:o[64]},72:{columnGap:o[72]},80:{columnGap:o[80]},96:{columnGap:o[96]}},rowGap:{0:{rowGap:o[0]},px:{rowGap:o.px},"0.5":{rowGap:o["0.5"]},1:{rowGap:o[1]},"1.5":{rowGap:o["1.5"]},2:{rowGap:o[2]},"2.5":{rowGap:o["2.5"]},3:{rowGap:o[3]},"3.5":{rowGap:o["3.5"]},4:{rowGap:o[4]},5:{rowGap:o[5]},6:{rowGap:o[6]},7:{rowGap:o[7]},8:{rowGap:o[8]},9:{rowGap:o[9]},10:{rowGap:o[10]},11:{rowGap:o[11]},12:{rowGap:o[12]},14:{rowGap:o[14]},16:{rowGap:o[16]},20:{rowGap:o[20]},24:{rowGap:o[24]},28:{rowGap:o[28]},32:{rowGap:o[32]},36:{rowGap:o[36]},40:{rowGap:o[40]},44:{rowGap:o[44]},48:{rowGap:o[48]},52:{rowGap:o[52]},56:{rowGap:o[56]},60:{rowGap:o[60]},64:{rowGap:o[64]},72:{rowGap:o[72]},80:{rowGap:o[80]},96:{rowGap:o[96]}},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":T,"table-cell":T,"table-column":T,"table-column-group":T,"table-footer-group":T,"table-header-group":T,"table-row-group":T,"table-row":T,"flow-root":T,grid:T,contents:T},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:T,fixed:T,absolute:{position:"absolute"},relative:{position:"relative"},sticky:T},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:s},alert:{borderColor:c},black:{borderColor:x},brand:{borderColor:u},positive:{borderColor:y},warning:{borderColor:S},white:{borderColor:h},transparent:{borderColor:C},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:v},tertiary:{borderColor:E}},borderColorOnActive:{accent:{borderColor:s},alert:{borderColor:c},black:{borderColor:x},brand:{borderColor:u},positive:{borderColor:y},warning:{borderColor:S},white:{borderColor:h},transparent:{borderColor:C},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:v},tertiary:{borderColor:E}},borderColorOnFocus:{accent:{borderColor:s},alert:{borderColor:c},black:{borderColor:x},brand:{borderColor:u},positive:{borderColor:y},warning:{borderColor:S},white:{borderColor:h},transparent:{borderColor:C},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:v},tertiary:{borderColor:E}},borderColorOnHover:{accent:{borderColor:s},alert:{borderColor:c},black:{borderColor:x},brand:{borderColor:u},positive:{borderColor:y},warning:{borderColor:S},white:{borderColor:h},transparent:{borderColor:C},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:v},tertiary:{borderColor:E}},borderColorOnChecked:{accent:{borderColor:s},alert:{borderColor:c},black:{borderColor:x},brand:{borderColor:u},positive:{borderColor:y},warning:{borderColor:S},white:{borderColor:h},transparent:{borderColor:C},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:v},tertiary:{borderColor:E}},borderStartColor:{accent:{borderStartColor:s},alert:{borderStartColor:c},black:{borderStartColor:x},brand:{borderStartColor:u},positive:{borderStartColor:y},warning:{borderStartColor:S},white:{borderStartColor:h},transparent:{borderStartColor:C},muted:{borderStartColor:R},primary:{borderStartColor:P},secondary:{borderStartColor:v},tertiary:{borderStartColor:E}},borderEndColor:{accent:{borderEndColor:s},alert:{borderEndColor:c},black:{borderEndColor:x},brand:{borderEndColor:u},positive:{borderEndColor:y},warning:{borderEndColor:S},white:{borderEndColor:h},transparent:{borderEndColor:C},muted:{borderEndColor:R},primary:{borderEndColor:P},secondary:{borderEndColor:v},tertiary:{borderEndColor:E}},borderBottomColor:{accent:{borderBottomColor:s},alert:{borderBottomColor:c},black:{borderBottomColor:x},brand:{borderBottomColor:u},positive:{borderBottomColor:y},warning:{borderBottomColor:S},white:{borderBottomColor:h},transparent:{borderBottomColor:C},muted:{borderBottomColor:R},primary:{borderBottomColor:P},secondary:{borderBottomColor:v},tertiary:{borderBottomColor:E}},borderTopColor:{accent:{borderTopColor:s},alert:{borderTopColor:c},black:{borderTopColor:x},brand:{borderTopColor:u},positive:{borderTopColor:y},warning:{borderTopColor:S},white:{borderTopColor:h},transparent:{borderTopColor:C},muted:{borderTopColor:R},primary:{borderTopColor:P},secondary:{borderTopColor:v},tertiary:{borderTopColor:E}},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:T,cover:T,fill:T,none:T,"scale-down":T},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"}}}})(M);return d(D,F,A)}return{cva:f,getStyles:lo,tokens:e}}var ee=oe({colorMode:mo,scaleMode:go},Mo);import{createContext as ct,useContext as mt}from"react";import{jsx as gt}from"react/jsx-runtime";var Pe=ct(mo);function zo(){return mt(Pe)}function ve({value:t=mo,children:r}){return gt(Pe.Provider,{value:t,children:r})}import{createContext as ft,useContext as ut}from"react";import{jsx as bt}from"react/jsx-runtime";var Ee=ft(go);function te(){let t=ut(Ee);return t||go}function Re({value:t,children:r}){let n=te();return bt(Ee.Provider,{value:t??n,children:r})}import{jsx as xt}from"react/jsx-runtime";var re=yt(ee),we=St(function({children:r,value:n=Mo}){let i=zo(),a=te(),l=ht(()=>n===void 0&&i===mo&&a===go?ee:oe({colorMode:i,scaleMode:a},n),[i,a,n]);return xt(re.Provider,{value:l,children:r})});function z(t){let{getStyles:r}=Fe(re);return r(t)}function Me(){return Fe(re).tokens}import{Children as Eo,cloneElement as ze,forwardRef as ke,isValidElement as ko}from"react";function Ct(t,r){typeof t=="function"?t(r):t!=null&&(t.current=r)}function Ae(...t){return r=>t.forEach(n=>Ct(n,r))}import{jsx as We}from"react/jsx-runtime";function Wo(){let t=ke((l,m)=>{let{children:e,...d}=l,f=Eo.toArray(e),s=f.find(i);if(s){let c=s.props.children,u=f.map(y=>y===s?Eo.count(c)>1?Eo.only(null):ko(c)?c.props.children:null:y);return We(r,{...d,ref:m,children:ko(c)?ze(c,void 0,u):null})}return We(r,{...d,ref:m,children:e})});t.displayName="Slot";let r=ke((l,m)=>{let{children:e,...d}=l;return ko(e)?ze(e,{...a(d,e.props),ref:m?Ae(m,e.ref):e.ref}):Eo.count(e)>1?Eo.only(null):null});r.displayName="SlotClone";let n=({children:l})=>l;function i(l){return ko(l)&&l.type===n}function a(l,m){let e={...m};for(let d in m){let f=l[d],s=m[d];/^on[A-Z]/.test(d)?f&&s?e[d]=(...u)=>{s(...u),f(...u)}:f&&(e[d]=f):d==="style"&&(e[d]={...f,...s})}return{...l,...e}}return t}var Be="RCTView",Bo="RCTText",He=Wo(),Ho=Wo(),Ve=Wo();import{jsx as Pt}from"react/jsx-runtime";var Vo=Tt(function({asChild:r=!1,style:n,backgroundColor:i,borderRadius:a,borderTopStartRadius:l,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:d,borderColor:f,borderColorOnActive:s,borderColorOnFocus:c,borderColorOnChecked:u,borderColorOnHover:y,borderStartColor:S,borderEndColor:h,borderTopColor:x,borderBottomColor:C,borderWidth:k,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:H,borderEndWidth:V,borderTopWidth:_,borderBottomWidth:O,alignContent:P,alignItems:v="stretch",alignSelf:E,flex:R,flexBasis:g,flexDirection:L="column",flexGrow:I,flexShrink:N,flexWrap:$="nowrap",justifyContent:U="flex-start",display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:q,spacingHorizontal:J,spacingVertical:Q,spacingBottom:oo,spacingEnd:eo,spacingStart:to,spacingTop:ro,offset:no,offsetVertical:io,offsetHorizontal:ao,offsetBottom:lo,offsetEnd:A,offsetStart:M,offsetTop:D,columnGap:p,rowGap:F,...G},po){let so=z({backgroundColor:i,borderRadius:a,borderTopStartRadius:l,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:d,borderColor:f,borderColorOnActive:s,borderColorOnFocus:c,borderColorOnChecked:u,borderColorOnHover:y,borderStartColor:S,borderEndColor:h,borderTopColor:x,borderBottomColor:C,borderWidth:k,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:H,borderEndWidth:V,borderTopWidth:_,borderBottomWidth:O,alignContent:P,alignItems:v,alignSelf:E,flex:R,flexDirection:L,flexGrow:I,flexShrink:N,flexWrap:$,justifyContent:U,flexBasis:g,display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:q,spacingHorizontal:J,spacingVertical:Q,spacingBottom:oo,spacingEnd:eo,spacingStart:to,spacingTop:ro,offset:no,offsetVertical:io,offsetHorizontal:ao,offsetBottom:lo,offsetEnd:A,offsetStart:M,offsetTop:D,columnGap:p,rowGap:F,style:n});return Pt(r?He:Be,{ref:po,style:so,...G})});import{forwardRef as vt}from"react";import{jsx as Et}from"react/jsx-runtime";var Ti=vt(function({gap:r,...n},i){return Et(Vo,{ref:i,flexDirection:"row",rowGap:r,columnGap:r,...n})});import{forwardRef as Rt}from"react";import{jsx as Ft}from"react/jsx-runtime";var _e=Rt(function({style:r,asChild:n=!1,size:i,color:a,name:l,textAlign:m,spacing:e,spacingBottom:d,spacingEnd:f,spacingHorizontal:s,spacingStart:c,spacingTop:u,spacingVertical:y,offset:S,offsetBottom:h,offsetEnd:x,offsetHorizontal:C,offsetStart:k,offsetTop:W,offsetVertical:B,...H},V){let _=z({color:a,fontFamily:"icons",textAlign:m,spacing:e,spacingBottom:d,spacingEnd:f,spacingHorizontal:s,spacingStart:c,spacingTop:u,spacingVertical:y,offset:S,offsetBottom:h,offsetEnd:x,offsetHorizontal:C,offsetStart:k,offsetTop:W,offsetVertical:B,iconSize:i,style:r});return Ft(n?Ho:Bo,{ref:V,maxFontSizeMultiplier:1,allowFontScaling:!1,style:_,...H,children:l})});import{forwardRef as zt}from"react";var ne={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",className:"min-w-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 Oe({variant:t="accent",size:r="s"}){let{color:n,...i}=ne.variant[t],{variant:a,...l}=ne.size[r];return{pressable:{...ne.base,...i,...l},text:{color:n,variant:a,textAlign:"center"},icon:{color:n,size:"sm"}}}import{forwardRef as wt}from"react";import{Pressable as Mt}from"react-native";import{jsx as At}from"react/jsx-runtime";var De=wt(function({style:r,asChild:n=!1,backgroundColor:i,borderRadius:a,borderTopStartRadius:l,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:d,borderColor:f,borderColorOnActive:s,borderColorOnFocus:c,borderColorOnChecked:u,borderColorOnHover:y,borderStartColor:S,borderEndColor:h,borderTopColor:x,borderBottomColor:C,borderWidth:k,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:H,borderEndWidth:V,borderTopWidth:_,borderBottomWidth:O,alignContent:P,alignItems:v,alignSelf:E,flex:R,flexBasis:g,flexDirection:L,flexGrow:I,flexShrink:N,flexWrap:$,justifyContent:U,display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:q,spacingHorizontal:J,spacingVertical:Q,spacingBottom:oo,spacingEnd:eo,spacingStart:to,spacingTop:ro,offset:no,offsetVertical:io,offsetHorizontal:ao,offsetBottom:lo,offsetEnd:A,offsetStart:M,offsetTop:D,columnGap:p,rowGap:F,...G},po){let so=z({backgroundColor:i,borderRadius:a,borderTopStartRadius:l,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:d,borderColor:f,borderColorOnActive:s,borderColorOnFocus:c,borderColorOnChecked:u,borderColorOnHover:y,borderStartColor:S,borderEndColor:h,borderTopColor:x,borderBottomColor:C,borderWidth:k,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:H,borderEndWidth:V,borderTopWidth:_,borderBottomWidth:O,alignContent:P,alignItems:v,alignSelf:E,flex:R,flexDirection:L,flexGrow:I,flexShrink:N,flexWrap:$,justifyContent:U,flexBasis:g,display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:q,spacingHorizontal:J,spacingVertical:Q,spacingBottom:oo,spacingEnd:eo,spacingStart:to,spacingTop:ro,offset:no,offsetVertical:io,offsetHorizontal:ao,offsetBottom:lo,offsetEnd:A,offsetStart:M,offsetTop:D,columnGap:p,rowGap:F,style:r});return At(n?Ve:Mt,{style:so,ref:po,...G})});import{jsx as Le}from"react/jsx-runtime";var Ge={s:36,m:48,l:64},kt={},Li=zt(function({variant:r="accent",size:n="s",name:i,style:a=kt,...l},m){let e=Oe({variant:r,size:n});return Le(De,{ref:m,...e.pressable,flexShrink:"0",style:{...a,width:Ge[n],height:Ge[n]},...l,children:Le(_e,{name:i,...e.icon})})});import{Image as Wt}from"expo-image";import{jsx as Bt}from"react/jsx-runtime";function Xi({width:t,height:r,src:n,alt:i,contentFit:a="cover",backgroundColor:l,borderRadius:m,borderTopStartRadius:e,borderTopEndRadius:d,borderBottomStartRadius:f,borderBottomEndRadius:s,borderColor:c,borderColorOnActive:u,borderColorOnFocus:y,borderColorOnChecked:S,borderColorOnHover:h,borderStartColor:x,borderEndColor:C,borderTopColor:k,borderBottomColor:W,borderWidth:B,borderVerticalWidth:H,borderHorizontalWidth:V,borderStartWidth:_,borderEndWidth:O,borderTopWidth:P,borderBottomWidth:v,alignContent:E,alignItems:R,alignSelf:g,flex:L,flexDirection:I,flexGrow:N,flexShrink:$="0",flexWrap:U,justifyContent:X,flexBasis:j,display:K="flex",overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:Q,spacingHorizontal:oo,spacingVertical:eo,spacingBottom:to,spacingEnd:ro,spacingStart:no,spacingTop:io,offset:ao,offsetVertical:lo,offsetHorizontal:A,offsetBottom:M,offsetEnd:D,offsetStart:p,offsetTop:F,columnGap:G,rowGap:po,...so}){let co=z({contentFit:a,backgroundColor:l,borderRadius:m,borderTopStartRadius:e,borderTopEndRadius:d,borderBottomStartRadius:f,borderBottomEndRadius:s,borderColor:c,borderColorOnActive:u,borderColorOnFocus:y,borderColorOnChecked:S,borderColorOnHover:h,borderStartColor:x,borderEndColor:C,borderTopColor:k,borderBottomColor:W,borderWidth:B,borderVerticalWidth:H,borderHorizontalWidth:V,borderStartWidth:_,borderEndWidth:O,borderTopWidth:P,borderBottomWidth:v,alignContent:E,alignItems:R,alignSelf:g,flex:L,flexDirection:I,flexGrow:N,flexShrink:$,flexWrap:U,justifyContent:X,flexBasis:j,display:K,overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:Q,spacingHorizontal:oo,spacingVertical:eo,spacingBottom:to,spacingEnd:ro,spacingStart:no,spacingTop:io,offset:ao,offsetVertical:lo,offsetHorizontal:A,offsetBottom:M,offsetEnd:D,offsetStart:p,offsetTop:F,columnGap:G,rowGap:po,style:{width:t,height:r,justifyContent:"flex-start"}});return Bt(Wt,{source:n,alt:i,style:co,contentFit:a,contentPosition:"left",...so})}import{forwardRef as Ht}from"react";import{jsx as Vt}from"react/jsx-runtime";var Ji=Ht(function({style:r,asChild:n,color:i="primary",variant:a="body1",fontSize:l=a,fontFamily:m=a,fontWeight:e=a,lineHeight:d=a,textTransform:f=a,textAlign:s,backgroundColor:c,borderRadius:u,borderTopStartRadius:y,borderTopEndRadius:S,borderBottomStartRadius:h,borderBottomEndRadius:x,borderColor:C,borderColorOnActive:k,borderColorOnFocus:W,borderColorOnChecked:B,borderColorOnHover:H,borderStartColor:V,borderEndColor:_,borderTopColor:O,borderBottomColor:P,borderWidth:v,borderVerticalWidth:E,borderHorizontalWidth:R,borderStartWidth:g,borderEndWidth:L,borderTopWidth:I,borderBottomWidth:N,alignContent:$,alignItems:U,alignSelf:X,flex:j,flexDirection:K,flexGrow:Y,flexShrink:Z,flexWrap:q,justifyContent:J,flexBasis:Q,display:oo,overflow:eo,overflowX:to,overflowY:ro,position:no,spacing:io,spacingHorizontal:ao,spacingVertical:lo,spacingBottom:A,spacingEnd:M,spacingStart:D,spacingTop:p,offset:F,offsetVertical:G,offsetHorizontal:po,offsetBottom:so,offsetEnd:co,offsetStart:Oo,offsetTop:yo,columnGap:uo,rowGap:Co,...So},ho){let To=z({style:r,color:i,fontFamily:m,fontSize:l,fontWeight:e,lineHeight:d,textTransform:f,textAlign:s,backgroundColor:c,borderRadius:u,borderTopStartRadius:y,borderTopEndRadius:S,borderBottomStartRadius:h,borderBottomEndRadius:x,borderColor:C,borderColorOnActive:k,borderColorOnFocus:W,borderColorOnChecked:B,borderColorOnHover:H,borderStartColor:V,borderEndColor:_,borderTopColor:O,borderBottomColor:P,borderWidth:v,borderVerticalWidth:E,borderHorizontalWidth:R,borderStartWidth:g,borderEndWidth:L,borderTopWidth:I,borderBottomWidth:N,alignContent:$,alignItems:U,alignSelf:X,flex:j,flexDirection:K,flexGrow:Y,flexShrink:Z,flexWrap:q,justifyContent:J,flexBasis:Q,display:oo,overflow:eo,overflowX:to,overflowY:ro,position:no,spacing:io,spacingHorizontal:ao,spacingVertical:lo,spacingBottom:A,spacingEnd:M,spacingStart:D,spacingTop:p,offset:F,offsetVertical:G,offsetHorizontal:po,offsetBottom:so,offsetEnd:co,offsetStart:Oo,offsetTop:yo,columnGap:uo,rowGap:Co});return Vt(n?Ho:Bo,{style:To,ref:ho,maxFontSizeMultiplier:1,allowFontScaling:!1,...So})});import{forwardRef as _t}from"react";import{jsx as Ot}from"react/jsx-runtime";var ra=_t(function({gap:r,...n},i){return Ot(Vo,{ref:i,flexDirection:"column",columnGap:r,rowGap:r,...n})});import{useScrollToTop as Xt}from"@react-navigation/native";import{forwardRef as jt,useMemo as Kt,useRef as Yt}from"react";import{ScrollView as Zt}from"react-native";import{useMemo as Dt}from"react";var Gt=(t,r)=>{typeof t=="function"?t(r):t&&(t.current=r)},Ie=(...t)=>Dt(()=>t.every(r=>r==null)?null:r=>{t.forEach(n=>{Gt(n,r)})},[t]);import{spacingMap as ie}from"@yahoo/uds/fixtures";import Ne from"expo-constants";import{createContext as Lt,useContext as It,useMemo as Nt}from"react";import{useSafeAreaInsets as $t}from"react-native-safe-area-context";import{jsx as Ut}from"react/jsx-runtime";var $e=Lt({tabBarHeight:0,statusBarHeight:Ne.statusBarHeight,safeAreaInsets:{top:0,right:0,bottom:0,left:0}});function Ue(){return It($e)}function Xe({children:t}){let r=$t(),n=Me(),i=Nt(()=>({tabBarHeight:ie[5]+n.iconSizes.md+ie[3]+n.lineHeight.caption1+ie[5]+r.bottom,statusBarHeight:Ne.statusBarHeight,safeAreaInsets:r}),[n.iconSizes,n.lineHeight,r]);return Ut($e.Provider,{value:i,children:t})}import{jsx as qt}from"react/jsx-runtime";var Ta=jt(function({children:r,...n},i){let a=zo(),l=Yt(null),m=Ie(l,i);Xt(l);let{tabBarHeight:e,safeAreaInsets:d}=Ue(),f=z({backgroundColor:"primary",flexGrow:"1",spacingHorizontal:"6"}),s=Kt(()=>({paddingTop:d.top,paddingBottom:e}),[d.top,e]);return qt(Zt,{ref:m,style:f,contentInsetAdjustmentBehavior:"never",automaticallyAdjustContentInsets:!1,contentContainerStyle:s,indicatorStyle:a==="dark"?"black":"white",...n,children:r})});import{useCallback as Jt,useEffect as Qt,useState as or}from"react";import{AppState as je}from"react-native";function _o(){let[t,r]=or(je.currentState),n=Jt(i=>{r(i)},[]);return Qt(()=>{let i=je.addEventListener("change",n);return()=>{i.remove()}},[n]),t}import{useEffect as er,useRef as tr,useState as rr}from"react";import{PixelRatio as ae}from"react-native";var Ke=()=>{let[t,r]=rr(ae.getFontScale()),n=tr(ae.getFontScale()),i=_o();return er(()=>{if(i==="active"){let a=ae.getFontScale();n.current!==a&&(r(a),n.current=a)}},[i]),t};import{setStatusBarStyle as gr}from"expo-status-bar";import{createContext as Qe,useContext as fr,useEffect as Je,useState as ur}from"react";import{createContext as nr,useContext as ir,useEffect as ar,useState as lr}from"react";import{Appearance as dr,Platform as pr,useColorScheme as sr}from"react-native";import{jsx as mr}from"react/jsx-runtime";var Ye=nr(mo);function Ze(){return ir(Ye)}function cr(){let t=_o(),r=sr(),[n,i]=lr(r),a=pr.OS==="android";return ar(()=>{if(t==="active"){if(a){let l=dr.getColorScheme();i(l);return}i(r)}},[r,t,a]),n??"light"}function qe({children:t}){let r=cr();return mr(Ye.Provider,{value:r,children:t})}import{jsx as le}from"react/jsx-runtime";var br=()=>{},ot=Qe(Po),yr=Qe(br);function Na(){return fr(ot)}function et({children:t,value:r=Po}){let[n,i]=ur(r),a=Ze(),l=n==="system"?a:n;return Je(()=>{gr(l==="light"?"dark":"light")},[l]),Je(()=>{i(r)},[r]),le(ot.Provider,{value:n,children:le(yr.Provider,{value:i,children:le(ve,{value:l,children:t})})})}import{createContext as it,useState as Pr}from"react";import{createContext as Sr,useContext as hr,useMemo as xr}from"react";import{jsx as Tr}from"react/jsx-runtime";var tt=Sr(go),bo={xSmall:.823,small:.882,medium:.941,large:1,xLarge:1.118,xxLarge:1.235,xxxLarge:1.353};function rt(){return hr(tt)}function Cr(){let t=Ke();return xr(()=>t<=bo.xSmall?"xSmall":t<=bo.small?"small":t<=bo.medium?"medium":t<=bo.large?"large":t<=bo.xLarge?"xLarge":t<=bo.xxLarge?"xxLarge":t>=bo.xxxLarge?"xxxLarge":"large",[t])}function nt({children:t}){let r=Cr();return Tr(tt.Provider,{value:r,children:t})}import{jsx as de}from"react/jsx-runtime";var vr=()=>{},Er=it(vo),Rr=it(vr);function at({children:t,value:r=vo}){let[n,i]=Pr(r),a=rt(),l=n==="system"?a:n;return de(Er.Provider,{value:n,children:de(Rr.Provider,{value:i,children:de(Re,{value:l,children:t})})})}import{BottomSheetModalProvider as Fr}from"@gorhom/bottom-sheet";import{SafeAreaProvider as wr}from"react-native-safe-area-context";import{jsx as fo}from"react/jsx-runtime";function ml({children:t,colorModeForApp:r=Po,scaleModeForApp:n=vo,config:i}){return fo(wr,{children:fo(qe,{children:fo(et,{value:r,children:fo(nt,{children:fo(at,{value:n,children:fo(we,{value:i,children:fo(Xe,{children:fo(Fr,{children:t})})})})})})})})}export{Ur as AVATAR_SIZE_PREFIX,Xr as BORDER_RADIUS_PREFIX,jr as BORDER_WIDTH_PREFIX,Vo as Box,Pe as ColorModeContext,ot as ColorModeForAppContext,yr as ColorModeForAppContextUpdater,et as ColorModeForAppProvider,Ye as ColorModeForDeviceContext,qe as ColorModeForDeviceProvider,ve as ColorModeProvider,$e as ComputedTokensContext,Xe as ComputedTokensProvider,Jr as DARK_COLOR_MODE_CLASSNAME,mo as DEFAULT_COLOR_MODE,an as DEFAULT_COLOR_MODE_CLASSNAME,Po as DEFAULT_COLOR_MODE_FOR_APP,un as DEFAULT_HIGH_CONTRAST_MODE,bn as DEFAULT_REGION_MODE,go as DEFAULT_SCALE_MODE,ln as DEFAULT_SCALE_MODE_CLASSNAME,vo as DEFAULT_SCALE_MODE_FOR_APP,ee as DEFAULT_STYLER,Nr as FONT_FAMILY_PREFIX,dn as FONT_ICONS_CSS_VAR,sn as FONT_SANS_BETA_CSS_VAR,cn as FONT_SANS_CONDENSED_CSS_VAR,pn as FONT_SANS_CSS_VAR,mn as FONT_SERIF_DISPLAY_CSS_VAR,gn as FONT_SERIF_TEXT_CSS_VAR,Kr as FONT_SIZE_PREFIX,Zr as FONT_WEIGHT_PREFIX,Ti as HStack,$r as ICON_SIZE_PREFIX,_e as Icon,Li as IconButton,Xi as Image,pt as LARGE_SCALE_MODE_CLASSNAME,dt as LIGHT_COLOR_MODE_CLASSNAME,Yr as LINE_HEIGHT_PREFIX,en as MEDIUM_SCALE_MODE_CLASSNAME,De as Pressable,on as SMALL_SCALE_MODE_CLASSNAME,Ir as SPECTRUM_COLOR_PREFIX,Ee as ScaleModeContext,Er as ScaleModeForAppContext,at as ScaleModeForAppProvider,Rr as ScaleModeForAppUpdaterContext,tt as ScaleModeForDeviceContext,nt as ScaleModeForDeviceProvider,Re as ScaleModeProvider,Ta as Screen,we as StyleProvider,qr as TEXT_TRANSFORM_PREFIX,Ji as Text,ml as ThemeProvider,b as UDS_PREFIX,ra as VStack,tn as XLARGE_SCALE_MODE_CLASSNAME,Qr as XSMALL_SCALE_MODE_CLASSNAME,rn as XXLARGE_SCALE_MODE_CLASSNAME,nn as XXXLARGE_SCALE_MODE_CLASSNAME,xo as alwaysPalette,oe as createStyler,Mo as defaultTokensConfig,Sn as entries,No as fontFamilyGlobal,w as fontWeightMap,xn as fromEntries,Ao as mapValues,_o as useAppState,zo as useColorMode,Na as useColorModeForApp,Ze as useColorModeForDevice,Ue as useComputedTokens,Ke as useDeviceFontScale,te as useScaleMode,rt as useScaleModeForDevice,z as useStyles,Me as useTokens};
@@ -0,0 +1 @@
1
+ @font-face{font-family:Yahoo Icons;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-icons.woff2) format("woff2")}@font-face{font-family:Yahoo Sans;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-sans-vf.woff2) format("woff2")}@font-face{font-family:Yahoo Sans Cond;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-sans-condensed-vf.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:300;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-light.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:400;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-regular.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:700;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-bold.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:800;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-extrabold.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:900;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-black.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Text";font-weight:400;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-text-regular.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Text";font-weight:400;font-style:italic;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-text-italic.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Text";font-weight:700;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-text-bold.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Text";font-weight:800;font-style:italic;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-text-bold-italic.woff2) format("woff2")}:root{--uds-font-icons: "Yahoo Icons", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";--uds-font-sans: "Yahoo Sans", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";--uds-font-sans-condensed: "Yahoo Sans Cond", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";--uds-font-serif-display: "Yahoo Serif Display", "Georgia", "Times", "Times New Roman", "serif";--uds-serif-text: "Yahoo Serif Text", "Georgia", "Times", "Times New Roman", "serif";line-height:1.5;font-family:var(--uds-font-sans);font-feature-settings:normal;font-variation-settings:normal}
@@ -0,0 +1 @@
1
+ "use strict";var Ie=Object.create;var b=Object.defineProperty;var De=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var Be=Object.getPrototypeOf,Ne=Object.prototype.hasOwnProperty;var Pe=(t,e)=>{for(var o in e)b(t,o,{get:e[o],enumerable:!0})},oe=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of He(e))!Ne.call(t,a)&&a!==o&&b(t,a,{get:()=>e[a],enumerable:!(r=De(e,a))||r.enumerable});return t};var re=(t,e,o)=>(o=t!=null?Ie(Be(t)):{},oe(e||!t||!t.__esModule?b(o,"default",{value:t,enumerable:!0}):o,t)),Xe=t=>oe(b({},"__esModule",{value:!0}),t);var je={};Pe(je,{defaultTailwindThemeAsUdsConfig:()=>ze,tailwindPlugin:()=>Ze});module.exports=Xe(je);var ee=require("@yahoo/uds/fixtures");var ae={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},ie={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var ne={none:0,thin:1,medium:2,thick:2},se={none:0,thin:1,medium:2,thick:4};var le={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"}}},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:"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"}}},H={white:"#ffffff",black:"#000000",transparent:"transparent"};var B={s:16,m:24,l:32},ce=B,N={sm:16,md:24,lg:32},pe=N;var fe={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"}},ge={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 v=["Helvetica Neue","Helvetica","Arial","sans-serif"],me=["Georgia","Times","Times New Roman","serif"],ue={icons:{fallbacks:v,name:"yahoo-icons"},sans:{fallbacks:v,name:"yahoo-sans"},"sans-beta":{fallbacks:v,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:v,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:me,name:"yahoo-serif-text"},"serif-display":{fallbacks:me,name:"yahoo-serif-display"}},P={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"},X={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},U={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"},V={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"},G={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}},K={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:{...G.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},F={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:{...K.lineHeight,title2:36,title3:32}},Z={fontSize:{...F.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...F.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},j={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:{...Z.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},Y={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:{...j.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},ye={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:{...Y.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var q={fontFamily:P,fontWeight:U,textTransform:V,avatarSizes:B,iconSizes:N,borderRadius:ae,borderWidth:ne},A={fontFamily:P,fontWeight:U,textTransform:V,avatarSizes:ce,iconSizes:pe,borderRadius:ie,borderWidth:se},f={colorMode:{light:{palette:le,spectrum:fe},dark:{palette:de,spectrum:ge}},scaleMode:{xSmall:{...q,...G},small:{...q,...K},medium:{...q,...F},large:{...A,...Z},xLarge:{...A,...j},xxLarge:{...A,...Y},xxxLarge:{...A,...ye}},fontFamily:ue};var s="uds",J=`${s}-spectrum-color`,L=`${s}-font`,xe=`${s}-icon-size`,Se=`${s}-avatar-size`,w=`${s}-border-radius`,O=`${s}-border-width`,z=`${s}-font-size`,W=`${s}-line-height`,_e=`${s}-font-weight`,he=`${s}-text-transform`,k=`${s}-color-mode-dark`,Te=`${s}-color-mode-light`,Re=`${s}-scale-mode-xsmall`,Ee=`${s}-scale-mode-small`,Ce=`${s}-scale-mode-medium`,Me=`${s}-scale-mode-large`,be=`${s}-scale-mode-xlarge`,ve=`${s}-scale-mode-xxlarge`,Fe=`${s}-scale-mode-xxxlarge`;var c1=`--${s}-font-icons`,p1=`--${s}-font-sans`,f1=`--${s}-font-sans-beta`,g1=`--${s}-font-sans-condensed`,m1=`--${s}-font-serif-display`,u1=`--${s}-font-serif-text`;var Ae="light",u="large";function g(t){return Object.entries(t)}function $(t){return Object.fromEntries(t)}function l(t,e){return Object.keys(t).reduce((o,r,a)=>(o[r]=e(t[r],r,a),o),{})}function Le(t){let{palette:e,spectrum:o}=t,r={},a={spectrum:{},palette:{}};for(let[n,i]of g(o))for(let[d,p]of g(i)){let y=`${n}-${d}`,c=`--${J}-${y}`;a.spectrum[n]||(a.spectrum[n]={}),a.spectrum[n][d]=`rgb(var(${c}))`,r[c]=p}return g(e).forEach(([n,i])=>{for(let[d,{hue:p,step:y,opacity:c}]of Object.entries(i)){n in a.palette||(a.palette[n]={});let R=`--${s}-${n}-color-${d}`;r[R]=`var(--${J}-${p}-${y})`,a.palette[n][d]=c?`rgb(var(${R}) / ${c})`:`rgb(var(${R}))`}}),{_vars:r,_raw:t,tailwindConfig:a}}function Ue(t){let e={},o={};for(let[r,a="regular"]of g(t)){let n=`--${_e}-${r}`,i=X[a];e[n]=i,o[r]=`var(${n})`}return{_vars:e,_raw:t,tailwindConfig:{...X,...o}}}function we(t,e,o){let r={},a={};for(let[n,i]of g(e)){let d=`--${t}-${n}`,p=o?o(i):i;r[d]=p,a[n]=`var(${d})`}return{_vars:r,_raw:e,tailwindConfig:a}}function E(t,e){if(!e)return{_vars:{},_raw:{},tailwindConfig:{}};let o={},r={};for(let[a,n]of g(e)){let i=`--${t}-${a}`,d=`${n}px`;o[i]=d,r[a]=`var(${i})`}return{_vars:o,_raw:e,tailwindConfig:r}}function Ve(t){return l(t,(e,o)=>{let{fallbacks:r=[]}=e??{};return[`var(--${L}-${o})`,...r]})}function Q(t){let{colorMode:e,scaleMode:o,fontFamily:r}=t;return{...t,colorMode:{light:Le(e.light),dark:Le(e.dark)},scaleMode:l(o,({borderRadius:a,borderWidth:n,fontSize:i,lineHeight:d,fontFamily:p,fontWeight:y,textTransform:c,avatarSizes:R,iconSizes:I})=>({fontFamily:we(L,p,D=>`var(--${L}-${D})`),fontSize:E(z,i),fontWeight:Ue(y),lineHeight:E(W,d),textTransform:we(he,c),borderRadius:E(w,a),borderWidth:E(O,n),avatarSizes:E(Se,R),iconSizes:E(xe,I)})),fontFamily:Ve(r)}}var We=re(require("tailwindcss/plugin"),1);var S=require("@yahoo/uds/fixtures");var T=re(require("tailwindcss/defaultTheme"),1),Oe={display1:"6xl",display2:"5xl",display3:"4xl",title1:"3xl",title2:"2xl",title3:"xl",title4:"lg",headline1:"base",body1:"base",label1:"sm",label2:"sm",caption1:"xs",caption2:"xs"},Ge={xs:"sm",sm:"DEFAULT",md:"md",lg:"lg",xl:"xl"},Ke={thin:"DEFAULT",medium:"2",thick:"4"},m={fontSize:Oe,lineHeight:Oe,borderRadius:Ge,borderWidth:Ke};function C(t){return t.endsWith("rem")?parseFloat(t)*16:parseFloat(t)}var M={...f.scaleMode[u],fontSize:{...f.scaleMode[u].fontSize,...l(m.fontSize,t=>C(T.default.fontSize[t][0]))},lineHeight:{...f.scaleMode[u].fontSize,...l(m.lineHeight,t=>C(T.default.fontSize[t][1].lineHeight)),display1:C(T.default.fontSize[m.fontSize.display1][0]),display2:C(T.default.fontSize[m.fontSize.display2][0])},fontWeight:l(f.scaleMode[u].fontWeight,()=>"regular"),borderRadius:{...f.scaleMode[u].borderRadius,...l(m.borderRadius,t=>C(T.default.borderRadius[t]))},borderWidth:{...f.scaleMode[u].borderWidth,...l(m.borderWidth,t=>C(T.default.borderWidth[t]))}};function h(t){return{...f.scaleMode[t],fontWeight:M.fontWeight,fontSize:l(M.fontSize,(e,o)=>e+S.fontSizeRamp[t][o]),lineHeight:l(M.lineHeight,(e,o)=>e+S.lineHeightRamp[t][o]),borderRadius:l(M.borderRadius,(e,o)=>e+S.borderRadiusRamp[t][o]),borderWidth:l(M.borderWidth,(e,o)=>e+S.borderWidthRamp[t][o])}}var ze={...f,scaleMode:{xSmall:h("xSmall"),small:h("small"),medium:h("medium"),large:h("large"),xLarge:h("xLarge"),xxLarge:h("xxLarge"),xxxLarge:h("xxxLarge")}};var Ze=We.default.withOptions(function({config:t=f}){let e=Q(t),o=e.colorMode.light._vars,r={...e.scaleMode.large.borderRadius._vars,...e.scaleMode.large.borderWidth._vars,...e.scaleMode.large.avatarSizes._vars,...e.scaleMode.large.iconSizes._vars,...e.scaleMode.large.fontFamily._vars,...e.scaleMode.large.fontSize._vars,...e.scaleMode.large.fontWeight._vars,...e.scaleMode.large.lineHeight._vars,...e.scaleMode.large.textTransform._vars};return function({addBase:a,matchUtilities:n}){a({":root":{...o,...r},[`.${Te}`]:o,[`.${Me}`]:r,[`.${k}`]:{...e.colorMode.dark._vars},[`.${Re}`]:{...e.scaleMode.xSmall.borderRadius._vars,...e.scaleMode.xSmall.borderWidth._vars,...e.scaleMode.xSmall.avatarSizes._vars,...e.scaleMode.xSmall.iconSizes._vars,...e.scaleMode.xSmall.fontFamily._vars,...e.scaleMode.xSmall.fontSize._vars,...e.scaleMode.xSmall.fontWeight._vars,...e.scaleMode.xSmall.lineHeight._vars,...e.scaleMode.xSmall.textTransform._vars},[`.${Ee}`]:{...e.scaleMode.small.borderRadius._vars,...e.scaleMode.small.borderWidth._vars,...e.scaleMode.small.avatarSizes._vars,...e.scaleMode.small.iconSizes._vars,...e.scaleMode.small.fontFamily._vars,...e.scaleMode.small.fontSize._vars,...e.scaleMode.small.fontWeight._vars,...e.scaleMode.small.lineHeight._vars,...e.scaleMode.small.textTransform._vars},[`.${Ce}`]:{...e.scaleMode.medium.borderRadius._vars,...e.scaleMode.medium.borderWidth._vars,...e.scaleMode.medium.avatarSizes._vars,...e.scaleMode.medium.iconSizes._vars,...e.scaleMode.medium.fontFamily._vars,...e.scaleMode.medium.fontSize._vars,...e.scaleMode.medium.fontWeight._vars,...e.scaleMode.medium.lineHeight._vars,...e.scaleMode.medium.textTransform._vars},[`.${be}`]:{...e.scaleMode.xLarge.borderRadius._vars,...e.scaleMode.xLarge.borderWidth._vars,...e.scaleMode.xLarge.avatarSizes._vars,...e.scaleMode.xLarge.iconSizes._vars,...e.scaleMode.xLarge.fontFamily._vars,...e.scaleMode.xLarge.fontSize._vars,...e.scaleMode.xLarge.fontWeight._vars,...e.scaleMode.xLarge.lineHeight._vars,...e.scaleMode.xLarge.textTransform._vars},[`.${ve}`]:{...e.scaleMode.xxLarge.borderRadius._vars,...e.scaleMode.xxLarge.borderWidth._vars,...e.scaleMode.xxLarge.avatarSizes._vars,...e.scaleMode.xxLarge.iconSizes._vars,...e.scaleMode.xxLarge.fontFamily._vars,...e.scaleMode.xxLarge.fontSize._vars,...e.scaleMode.xxLarge.fontWeight._vars,...e.scaleMode.xxLarge.lineHeight._vars,...e.scaleMode.xxLarge.textTransform._vars},[`.${Fe}`]:{...e.scaleMode.xxxLarge.borderRadius._vars,...e.scaleMode.xxxLarge.borderWidth._vars,...e.scaleMode.xxxLarge.avatarSizes._vars,...e.scaleMode.xxxLarge.iconSizes._vars,...e.scaleMode.xxxLarge.fontFamily._vars,...e.scaleMode.xxxLarge.fontSize._vars,...e.scaleMode.xxxLarge.fontWeight._vars,...e.scaleMode.xxxLarge.lineHeight._vars,...e.scaleMode.xxxLarge.textTransform._vars}}),n({iconSize:i=>({width:i,height:i,fontSize:i,lineHeight:i})},{values:e.scaleMode.large.iconSizes.tailwindConfig}),n({avatarSize:i=>({width:i,height:i})},{values:e.scaleMode.large.avatarSizes.tailwindConfig}),n({case:i=>({"text-transform":i})},{values:e.scaleMode.large.textTransform.tailwindConfig}),n({"font-weight":i=>({"font-weight":i})},{values:e.scaleMode.large.fontWeight.tailwindConfig}),n({"font-size":i=>({"font-size":i})},{values:e.scaleMode.large.fontSize.tailwindConfig})}},function({config:t=f,safelist:e=[]}){let o=Q(t),r=o.colorMode[Ae].tailwindConfig,a=o.scaleMode[u],n=l(r.spectrum,(x,_)=>({...x,...ee.tailwindColorsAsUds[_]})),i=r.palette.core,d={...ee.tailwindColorsAsUds,...n,...H,...i},p=r.palette.foreground,y=r.palette.background,c=r.palette.line,I=$(g(m.fontSize).map(([x,_])=>[_,[`var(--${z}-${x})`,{lineHeight:`var(--${W}-${x})`}]])),D=$(g(m.borderRadius).map(([x,_])=>[_,`var(--${w}-${x})`])),ke={...a.borderRadius.tailwindConfig,...D},$e=$(g(m.borderWidth).map(([x,_])=>[_,`var(--${O}-${x})`])),te={...a.borderWidth.tailwindConfig,...$e};return{darkMode:["class",k],safelist:[k,...e],theme:{extend:{aria:{checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',invalid:'aria-invalid="true"'},data:{active:'active="true"',"active-item":'active-item="true"',autofill:'autofill="true"',backdrop:'backdrop="true"',enter:'enter="true"',leave:'leave="true"',"focus-visible":'focus-visible="true"'},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},borderRadius:ke,borderWidth:te,outlineWidth:te,fontFamily:{...o.fontFamily,...a.fontFamily.tailwindConfig},fontSize:I,lineHeight:a.lineHeight.tailwindConfig,colors:d,backgroundColor:y,textColor:p,borderColor:c,fill:y,caretColor:p,placeholderColor:p,textDecorationColor:p,divideColor:c,outlineColor:c,ringColor:c,ringOffsetColor:c,stroke:c}}}});0&&(module.exports={defaultTailwindThemeAsUdsConfig,tailwindPlugin});
@@ -1,5 +1,5 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
- import { U as UniversalTokensConfig } from './types-D-ttCAsE.js';
2
+ import { U as UniversalTokensConfig } from '../types-Diou6f1Q.cjs';
3
3
  import 'react';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
- import { U as UniversalTokensConfig } from './types-D-ttCAsE.cjs';
2
+ import { U as UniversalTokensConfig } from '../types-Diou6f1Q.js';
3
3
  import 'react';
4
4
 
5
5
  /**