@gv-tech/ui-native 2.25.2 → 2.25.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/hooks/use-theme.d.ts +30 -30
- package/dist/hooks/use-theme.d.ts.map +1 -1
- package/dist/theme-provider.d.ts +9 -1
- package/dist/theme-provider.d.ts.map +1 -1
- package/dist/theme-toggle.d.ts.map +1 -1
- package/dist/ui-native.cjs +2 -2
- package/dist/ui-native.esm.js +1052 -1045
- package/package.json +2 -1
- package/src/alert-dialog.tsx +18 -11
- package/src/dialog.tsx +28 -51
- package/src/dropdown-menu.tsx +18 -0
- package/src/hooks/use-theme.ts +7 -0
- package/src/theme-provider.tsx +36 -12
- package/src/theme-toggle.tsx +14 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../src/alert-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../src/alert-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAwB,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM1E,QAAA,MAAM,WAAW;;;;;;;;;CAA4B,CAAC;AAE9C,QAAA,MAAM,kBAAkB;;;;;;;;CAA+B,CAAC;AAExD,QAAA,MAAM,iBAAiB,oCAA8B,CAAC;AAEtD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,yBAAyB,CACvD,uBAAuB,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC,CActG,CAAC;AAGH,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,yBAAyB,CACvD,uBAAuB,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC,CA+BtG,CAAC;AAGH,QAAA,MAAM,iBAAiB;8BAA6B,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC;;CAE9F,CAAC;AAGF,QAAA,MAAM,iBAAiB;8BAA6B,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC;;CAE9F,CAAC;AAGF,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,yBAAyB,CACrD,qBAAqB,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,oBAAoB,CAAC,KAAK,CAAC,CAAC,CAUlG,CAAC;AAGH,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,yBAAyB,CAC3D,2BAA2B,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,oBAAoB,CAAC,WAAW,CAAC,CAAC,CAU9G,CAAC;AAGH,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,yBAAyB,CACtD,sBAAsB,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAMpG,CAAC;AAGH,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,yBAAyB,CACtD,sBAAsB,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAUpG,CAAC;AAGH,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,GACnB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAC1G,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,OAAO,CAAC,GAAG;IAC1G,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,CAAC;AACjF,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,CAAC;AACjF,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,KAAK,CAAC,CAAC;AACtG,MAAM,MAAM,2BAA2B,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,WAAW,CAAC,CAAC;AAClH,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC;AACxG,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/dialog.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../src/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAY,IAAI,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9E,QAAA,MAAM,MAAM;;;;;;;;;CAAuB,CAAC;AAEpC,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAAE,eAAe;CAAG;AAEpH,MAAM,WAAW,kBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAAE,sBAAsB;IAC9F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B;AAED,QAAA,MAAM,aAAa;;;;;;;;CAA0B,CAAC;AAE9C,QAAA,MAAM,YAAY,+BAAyB,CAAC;AAE5C,QAAA,MAAM,WAAW;;;;;;;;CAAwB,CAAC;AAE1C,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAChG,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAElF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,yBAAyB,CAAC,kBAAkB,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CA0B3G,CAAC;AAGL,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAClF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,yBAAyB,CAAC,kBAAkB,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../src/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAY,IAAI,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9E,QAAA,MAAM,MAAM;;;;;;;;;CAAuB,CAAC;AAEpC,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAAE,eAAe;CAAG;AAEpH,MAAM,WAAW,kBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAAE,sBAAsB;IAC9F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B;AAED,QAAA,MAAM,aAAa;;;;;;;;CAA0B,CAAC;AAE9C,QAAA,MAAM,YAAY,+BAAyB,CAAC;AAE5C,QAAA,MAAM,WAAW;;;;;;;;CAAwB,CAAC;AAE1C,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAChG,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAElF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,yBAAyB,CAAC,kBAAkB,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CA0B3G,CAAC;AAGL,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAClF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,yBAAyB,CAAC,kBAAkB,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAwC5G,CAAC;AAGJ,QAAA,MAAM,YAAY;8BAA6B,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC;;CAEzF,CAAC;AAGF,QAAA,MAAM,YAAY;8BAA6B,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC;;CAEzF,CAAC;AAGF,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAC9E,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAC5F,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,yBAAyB,CAAC,gBAAgB,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAOrG,CAAC;AAGL,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,CAAC;AAC1F,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,CAAC;AACxG,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,yBAAyB,CACtD,sBAAsB,GAAG,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAOlE,CAAC;AAGH,OAAO,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../src/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,4BAA4B,EAC5B,yBAAyB,EACzB,0BAA0B,EAC1B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,+BAA+B,EAC/B,+BAA+B,EAChC,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../src/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,4BAA4B,EAC5B,yBAAyB,EACzB,0BAA0B,EAC1B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,+BAA+B,EAC/B,+BAA+B,EAChC,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,qBAAqB,MAAM,8BAA8B,CAAC;AAEtE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAwB,IAAI,EAAE,MAAM,cAAc,CAAC;AAM1D,eAAO,MAAM,YAAY;;;;;;;CAA6B,CAAC;AAEvD,eAAO,MAAM,mBAAmB;;;;;;;;CAAgC,CAAC;AAEjE,eAAO,MAAM,kBAAkB,qCAA+B,CAAC;AAE/D,eAAO,MAAM,iBAAiB;;;;;CAA8B,CAAC;AAE7D,eAAO,MAAM,sBAAsB;;;;;;;;CAAmC,CAAC;AAEvE,eAAO,MAAM,eAAe;;;;;;;;;CAA4B,CAAC;AAsBzD,eAAO,MAAM,mBAAmB,2FAqB9B,CAAC;AAGH,eAAO,MAAM,gBAAgB,wFAmC3B,CAAC;AAGH,eAAO,MAAM,wBAAwB,gGAuBnC,CAAC;AAGH,eAAO,MAAM,qBAAqB,6FAsBhC,CAAC;AAGH,eAAO,MAAM,iBAAiB,gHAa5B,CAAC;AAGH,eAAO,MAAM,qBAAqB,6FAOhC,CAAC;AAGH,eAAO,MAAM,oBAAoB;wCAAuC,6BAA6B;;CAMpG,CAAC;AAGF,eAAO,MAAM,sBAAsB,8FAkBjC,CAAC;AAGH,eAAO,MAAM,sBAAsB,8FAgBjC,CAAC"}
|
|
@@ -1,36 +1,7 @@
|
|
|
1
|
-
export declare function useTheme(): {
|
|
1
|
+
export declare function useTheme(): import('../theme-provider').ThemeContextValue | {
|
|
2
2
|
theme: import('react-native').ColorSchemeName;
|
|
3
3
|
resolvedTheme: "dark" | "light";
|
|
4
4
|
tokens: {
|
|
5
|
-
readonly background: "hsl(0 0% 9%)";
|
|
6
|
-
readonly foreground: "hsl(0 0% 100%)";
|
|
7
|
-
readonly card: "hsl(0 0% 14%)";
|
|
8
|
-
readonly cardForeground: "hsl(0 0% 100%)";
|
|
9
|
-
readonly popover: "hsl(0 0% 11%)";
|
|
10
|
-
readonly popoverForeground: "hsl(0 0% 100%)";
|
|
11
|
-
readonly primary: "hsl(227 96% 71%)";
|
|
12
|
-
readonly primaryForeground: "hsl(0 0% 9%)";
|
|
13
|
-
readonly secondary: "hsl(96 44% 61%)";
|
|
14
|
-
readonly secondaryForeground: "hsl(0 0% 9%)";
|
|
15
|
-
readonly muted: "hsl(0 0% 6%)";
|
|
16
|
-
readonly mutedForeground: "hsl(0 0% 70%)";
|
|
17
|
-
readonly accent: "hsl(0 0% 15%)";
|
|
18
|
-
readonly accentForeground: "hsl(0 0% 100%)";
|
|
19
|
-
readonly destructive: "hsl(0 62.8% 30.6%)";
|
|
20
|
-
readonly destructiveForeground: "hsl(0 0% 100%)";
|
|
21
|
-
readonly border: "hsl(0 0% 18%)";
|
|
22
|
-
readonly input: "hsl(0 0% 18%)";
|
|
23
|
-
readonly ring: "hsl(0 0% 90%)";
|
|
24
|
-
readonly sidebar: "hsl(0 0% 11%)";
|
|
25
|
-
readonly sidebarForeground: "hsl(0 0% 70%)";
|
|
26
|
-
readonly sidebarPrimary: "hsl(227 96% 71%)";
|
|
27
|
-
readonly sidebarPrimaryForeground: "hsl(0 0% 100%)";
|
|
28
|
-
readonly sidebarAccent: "hsl(0 0% 15%)";
|
|
29
|
-
readonly sidebarAccentForeground: "hsl(0 0% 100%)";
|
|
30
|
-
readonly sidebarBorder: "hsl(0 0% 18%)";
|
|
31
|
-
readonly sidebarRing: "hsl(227 96% 71%)";
|
|
32
|
-
readonly radius: "0.5rem";
|
|
33
|
-
} | {
|
|
34
5
|
readonly background: "hsl(0 0% 96%)";
|
|
35
6
|
readonly foreground: "hsl(222 47% 11%)";
|
|
36
7
|
readonly card: "hsl(0 0% 100%)";
|
|
@@ -59,6 +30,35 @@ export declare function useTheme(): {
|
|
|
59
30
|
readonly sidebarBorder: "hsl(0 0% 89%)";
|
|
60
31
|
readonly sidebarRing: "hsl(225 73% 57%)";
|
|
61
32
|
readonly radius: "0.5rem";
|
|
33
|
+
} | {
|
|
34
|
+
readonly background: "hsl(0 0% 9%)";
|
|
35
|
+
readonly foreground: "hsl(0 0% 100%)";
|
|
36
|
+
readonly card: "hsl(0 0% 14%)";
|
|
37
|
+
readonly cardForeground: "hsl(0 0% 100%)";
|
|
38
|
+
readonly popover: "hsl(0 0% 11%)";
|
|
39
|
+
readonly popoverForeground: "hsl(0 0% 100%)";
|
|
40
|
+
readonly primary: "hsl(227 96% 71%)";
|
|
41
|
+
readonly primaryForeground: "hsl(0 0% 9%)";
|
|
42
|
+
readonly secondary: "hsl(96 44% 61%)";
|
|
43
|
+
readonly secondaryForeground: "hsl(0 0% 9%)";
|
|
44
|
+
readonly muted: "hsl(0 0% 6%)";
|
|
45
|
+
readonly mutedForeground: "hsl(0 0% 70%)";
|
|
46
|
+
readonly accent: "hsl(0 0% 15%)";
|
|
47
|
+
readonly accentForeground: "hsl(0 0% 100%)";
|
|
48
|
+
readonly destructive: "hsl(0 62.8% 30.6%)";
|
|
49
|
+
readonly destructiveForeground: "hsl(0 0% 100%)";
|
|
50
|
+
readonly border: "hsl(0 0% 18%)";
|
|
51
|
+
readonly input: "hsl(0 0% 18%)";
|
|
52
|
+
readonly ring: "hsl(0 0% 90%)";
|
|
53
|
+
readonly sidebar: "hsl(0 0% 11%)";
|
|
54
|
+
readonly sidebarForeground: "hsl(0 0% 70%)";
|
|
55
|
+
readonly sidebarPrimary: "hsl(227 96% 71%)";
|
|
56
|
+
readonly sidebarPrimaryForeground: "hsl(0 0% 100%)";
|
|
57
|
+
readonly sidebarAccent: "hsl(0 0% 15%)";
|
|
58
|
+
readonly sidebarAccentForeground: "hsl(0 0% 100%)";
|
|
59
|
+
readonly sidebarBorder: "hsl(0 0% 18%)";
|
|
60
|
+
readonly sidebarRing: "hsl(227 96% 71%)";
|
|
61
|
+
readonly radius: "0.5rem";
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
64
|
//# sourceMappingURL=use-theme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-theme.d.ts","sourceRoot":"","sources":["../../src/hooks/use-theme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-theme.d.ts","sourceRoot":"","sources":["../../src/hooks/use-theme.ts"],"names":[],"mappings":"AAKA,wBAAgB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBvB"}
|
package/dist/theme-provider.d.ts
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
import { theme as designTokens } from '@gv-tech/design-tokens';
|
|
1
2
|
import { ViewProps } from 'react-native';
|
|
2
3
|
import * as React from 'react';
|
|
4
|
+
export interface ThemeContextValue {
|
|
5
|
+
theme: 'light' | 'dark' | 'system';
|
|
6
|
+
resolvedTheme: 'light' | 'dark';
|
|
7
|
+
tokens: typeof designTokens.light | typeof designTokens.dark;
|
|
8
|
+
}
|
|
9
|
+
export declare const ThemeContext: React.Context<ThemeContextValue | null>;
|
|
3
10
|
export interface ThemeProviderProps extends ViewProps {
|
|
4
11
|
children: React.ReactNode;
|
|
12
|
+
value?: 'light' | 'dark' | 'system';
|
|
5
13
|
[key: string]: unknown;
|
|
6
14
|
}
|
|
7
|
-
export declare function ThemeProvider({ children, className, style, ...props }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function ThemeProvider({ children, className, style, value, ...props }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
8
16
|
//# sourceMappingURL=theme-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../src/theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../src/theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAwB,SAAS,EAAE,MAAM,cAAc,CAAC;AAG/D,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACnC,aAAa,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,MAAM,EAAE,OAAO,YAAY,CAAC,KAAK,GAAG,OAAO,YAAY,CAAC,IAAI,CAAC;CAC9D;AAED,eAAO,MAAM,YAAY,yCAAsD,CAAC;AAEhF,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CA4BhG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-toggle.d.ts","sourceRoot":"","sources":["../src/theme-toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAcxD,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC;AAEpD,wBAAgB,WAAW,CAAC,EAAE,OAAkB,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"theme-toggle.d.ts","sourceRoot":"","sources":["../src/theme-toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAcxD,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC;AAEpD,wBAAgB,WAAW,CAAC,EAAE,OAAkB,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,gBAAgB,2CA2F1G"}
|
package/dist/ui-native.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require("react");c=s(c);let l=require("react-native"),u=require("react/jsx-runtime"),d=require("clsx"),f=require("tailwind-merge"),p=require("@rn-primitives/accordion");p=s(p);let m=require("lucide-react-native"),h=require("react-native-reanimated");h=s(h);let g=require("class-variance-authority"),_=require("@rn-primitives/alert-dialog");_=s(_);let v=require("@rn-primitives/aspect-ratio");v=s(v);let y=require("@rn-primitives/avatar");y=s(y);let b=require("@rn-primitives/slot");b=s(b);let x=require("@react-native-community/datetimepicker");x=s(x);let S=require("@rn-primitives/checkbox");S=s(S);let C=require("@rn-primitives/collapsible");C=s(C);let w=require("@rn-primitives/context-menu");w=s(w);let T=require("@rn-primitives/dialog");T=s(T);let E=require("@rn-primitives/dropdown-menu");E=s(E);let ee=require("react-hook-form"),D=require("@rn-primitives/label");D=s(D);let O=require("@rn-primitives/hover-card");O=s(O);let k=require("@rn-primitives/menubar");k=s(k);let A=require("@rn-primitives/navigation-menu");A=s(A);let j=require("@rn-primitives/radio-group");j=s(j);let M=require("@rn-primitives/select");M=s(M);let N=require("@rn-primitives/separator");N=s(N);let P=require("@rn-primitives/slider");P=s(P);let F=require("@rn-primitives/toast");F=s(F);let I=require("@rn-primitives/switch");I=s(I);let L=require("@rn-primitives/tabs");L=s(L);let te=require("@gv-tech/ui-core"),R=require("@rn-primitives/toggle");R=s(R);let z=require("@rn-primitives/toggle-group");z=s(z);let B=require("@rn-primitives/tooltip");B=s(B);let ne=require("@gv-tech/design-tokens"),re=require("react-native-css-interop");function V(e,t=l.Text,n={}){return c.Children.map(e,e=>typeof e==`string`||typeof e==`number`?(0,u.jsx)(t,{...n,children:e}):e)}function H(...e){return(0,f.twMerge)((0,d.clsx)(e))}function ie(e){return e.toString().toLowerCase().trim().replace(/\s+/g,`-`).replace(/[^\w-]+/g,``).replace(/--+/g,`-`)}var ae=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(p.Root,{ref:n,className:H(`web:gap-0`,e),...t}));ae.displayName=p.Root?.displayName||`Accordion`;var oe=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(p.Item,{ref:n,className:H(`border-border overflow-hidden border-b`,e),...t}));oe.displayName=p.Item?.displayName||`AccordionItem`;var se=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(p.Header,{ref:n,className:H(`flex flex-row`,e),...t}));se.displayName=p.Header?.displayName||`AccordionHeader`;var ce=c.forwardRef(({className:e,children:t,...n},r)=>{let{isExpanded:i}=p.useItemContext(),a=(0,h.useDerivedValue)(()=>i?(0,h.withTiming)(1,{duration:250}):(0,h.withTiming)(0,{duration:200})),o=(0,h.useAnimatedStyle)(()=>({transform:[{rotate:`${a.value*180}deg`}],opacity:(0,h.interpolate)(a.value,[0,1],[1,.8],h.Extrapolation.CLAMP)}));return(0,u.jsx)(p.Header,{className:`flex`,children:(0,u.jsxs)(p.Trigger,{ref:r,className:H(`flex flex-row items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180`,e),...n,children:[(0,u.jsx)(u.Fragment,{children:t}),(0,u.jsx)(h.default.View,{style:o,children:(0,u.jsx)(m.ChevronDown,{className:`text-muted-foreground h-4 w-4 shrink-0 transition-transform duration-200`})})]})})});ce.displayName=p.Trigger?.displayName||`AccordionTrigger`;var le=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(p.Content,{ref:r,className:H(`data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all`,e),...n,children:(0,u.jsx)(l.View,{className:H(`pt-0 pb-4`,e),children:t})}));le.displayName=p.Content?.displayName||`AccordionContent`;var ue=(0,g.cva)(`relative w-full rounded-lg border p-4`,{variants:{variant:{default:`bg-background border-border`,destructive:`border-destructive/50 bg-destructive/10`,warning:`border-amber-500/50 bg-amber-500/10`,info:`border-blue-500/50 bg-blue-500/10`}},defaultVariants:{variant:`default`}}),de=c.forwardRef(({className:e,variant:t,children:n,...r},i)=>(0,u.jsx)(l.View,{ref:i,className:H(ue({variant:t}),e),...r,children:V(n)}));de.displayName=`Alert`;var fe=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.Text,{ref:n,className:H(`text-foreground mb-1 leading-none font-medium tracking-tight`,e),...t}));fe.displayName=`AlertTitle`;var pe=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.Text,{ref:n,className:H(`text-muted-foreground text-sm leading-relaxed`,e),...t}));pe.displayName=`AlertDescription`;var U=(0,g.cva)(`flex-row items-center justify-center gap-2 rounded-md transition-colors active:opacity-80`,{variants:{variant:{default:`bg-primary shadow-sm`,destructive:`bg-destructive shadow-sm`,outline:`border border-input bg-transparent shadow-sm`,secondary:`bg-secondary shadow-sm`,ghost:`bg-transparent`,link:`bg-transparent`},size:{default:`h-10 px-4 py-2`,xs:`h-7 px-2`,sm:`h-9 px-3`,lg:`h-12 px-8`,icon:`h-10 w-10`,"icon-xs":`h-7 w-7`,"icon-sm":`h-9 w-9`,"icon-lg":`h-12 w-12`}},defaultVariants:{variant:`default`,size:`default`}}),me=(0,g.cva)(`text-sm font-medium`,{variants:{variant:{default:`text-primary-foreground`,destructive:`text-destructive-foreground`,outline:`text-foreground`,secondary:`text-secondary-foreground`,ghost:`text-foreground`,link:`text-primary underline`}},defaultVariants:{variant:`default`}}),W=c.forwardRef(({className:e,variant:t,size:n,onPress:r,children:i,disabled:a,...o},s)=>(0,u.jsx)(l.Pressable,{ref:s,onPress:r,disabled:a,className:H(U({variant:t,size:n,className:e}),a&&`opacity-50`),...o,children:V(i,l.Text,{className:H(me({variant:t}))})}));W.displayName=`Button`;var he=_.Root,ge=_.Trigger,_e=_.Portal,ve=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(_.Overlay,{style:l.StyleSheet.absoluteFill,asChild:!0,ref:n,...t,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:H(`z-50 flex items-center justify-center bg-black/80 p-2`,e)})}));ve.displayName=_.Overlay?.displayName||`AlertDialogOverlay`;var ye=c.forwardRef(({className:e,portalHost:t,overlayClassName:n,overlayStyle:r,...i},a)=>(0,u.jsxs)(_e,{hostName:t,children:[(0,u.jsx)(ve,{className:n,style:r}),(0,u.jsx)(_.Content,{ref:a,asChild:!0,...i,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:H(`border-border bg-background z-50 w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg`,e)})})]}));ye.displayName=_.Content?.displayName||`AlertDialogContent`;var be=({className:e,...t})=>(0,u.jsx)(l.View,{className:H(`flex flex-col gap-2 text-center sm:text-left`,e),...t});be.displayName=`AlertDialogHeader`;var xe=({className:e,...t})=>(0,u.jsx)(l.View,{className:H(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t});xe.displayName=`AlertDialogFooter`;var Se=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(_.Title,{ref:n,className:H(`native:text-xl text-foreground text-lg font-semibold`,e),...t}));Se.displayName=_.Title?.displayName||`AlertDialogTitle`;var Ce=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(_.Description,{ref:n,className:H(`native:text-base text-muted-foreground text-sm`,e),...t}));Ce.displayName=_.Description?.displayName||`AlertDialogDescription`;var we=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(_.Action,{ref:n,className:H(U(),e),...t}));we.displayName=_.Action?.displayName||`AlertDialogAction`;var Te=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(_.Cancel,{ref:n,className:H(U({variant:`outline`}),`mt-2 sm:mt-0`,e),...t}));Te.displayName=_.Cancel?.displayName||`AlertDialogCancel`;var Ee=({children:e,className:t,ratio:n=1})=>(0,u.jsx)(v.Root,{ratio:n,className:H(`w-full`,t),children:e});Ee.displayName=`AspectRatio`;var De=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(y.Root,{ref:n,className:H(`relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full`,e),...t}));De.displayName=y.Root?.displayName||`Avatar`;var Oe=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(y.Image,{ref:n,className:H(`aspect-square h-full w-full`,e),...t}));Oe.displayName=y.Image?.displayName||`AvatarImage`;var ke=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(y.Fallback,{ref:n,className:H(`bg-muted flex h-full w-full items-center justify-center rounded-full`,e),...t}));ke.displayName=y.Fallback?.displayName||`AvatarFallback`;var Ae=(0,g.cva)(`flex-row items-center rounded-md border px-2 py-0.5`,{variants:{variant:{default:`border-transparent bg-primary`,secondary:`border-transparent bg-secondary`,destructive:`border-transparent bg-destructive`,outline:`border-border bg-transparent`}},defaultVariants:{variant:`default`}}),je=(0,g.cva)(`text-xs font-semibold`,{variants:{variant:{default:`text-primary-foreground`,secondary:`text-secondary-foreground`,destructive:`text-destructive-foreground`,outline:`text-foreground`}},defaultVariants:{variant:`default`}});function Me({className:e,textClassName:t,variant:n,children:r,...i}){return(0,u.jsx)(l.View,{className:H(Ae({variant:n}),e),...i,children:V(r,l.Text,{className:H(je({variant:n}),t)})})}var Ne=c.createContext(void 0),Pe=(0,g.cva)(`text-foreground`,{variants:{variant:{h1:`text-4xl font-extrabold tracking-tight`,h2:`text-3xl font-semibold tracking-tight`,h3:`text-2xl font-semibold tracking-tight`,h4:`text-xl font-semibold tracking-tight`,body:`text-base leading-7`,bodySmall:`text-sm leading-6`,caption:`text-xs text-muted-foreground`,label:`text-sm font-medium`,overline:`text-xs font-semibold uppercase tracking-widest text-muted-foreground`}},defaultVariants:{variant:`body`}}),G=c.forwardRef(({className:e,variant:t=`body`,children:n,...r},i)=>(0,u.jsx)(l.Text,{ref:i,className:H(Pe({variant:t,className:e})),...r,children:n}));G.displayName=`Text`;var Fe=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,"aria-label":`breadcrumb`,className:H(`flex flex-row`,e),...n,children:t}));Fe.displayName=`Breadcrumb`;var Ie=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,className:H(`text-muted-foreground flex flex-row flex-wrap items-center gap-1.5 break-words sm:gap-2.5`,e),...n,children:t}));Ie.displayName=`BreadcrumbList`;var Le=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,className:H(`flex flex-row items-center gap-1.5`,e),...n,children:t}));Le.displayName=`BreadcrumbItem`;var Re=c.forwardRef(({asChild:e,className:t,children:n,onPress:r,...i},a)=>(0,u.jsx)(e?b.Slot:l.Pressable,{ref:a,onPress:r,className:H(`hover:text-foreground active:text-foreground flex flex-row items-center transition-colors`,t),...i,children:V(n,G,{className:`text-muted-foreground hover:text-foreground text-sm font-medium`})}));Re.displayName=`BreadcrumbLink`;var ze=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,role:`link`,"aria-disabled":!0,"aria-current":`page`,className:H(`flex flex-row items-center`,e),...n,children:V(t,G,{className:`text-foreground text-sm font-normal`})}));ze.displayName=`BreadcrumbPage`;var Be=({children:e,className:t,...n})=>(0,u.jsx)(l.View,{role:`presentation`,"aria-hidden":!0,className:H(`flex flex-row items-center justify-center`,t),...n,children:e??(0,u.jsx)(m.ChevronRight,{size:14,className:`text-muted-foreground`})});Be.displayName=`BreadcrumbSeparator`;var Ve=({className:e,children:t,...n})=>(0,u.jsx)(l.View,{role:`presentation`,"aria-hidden":!0,className:H(`flex h-9 w-9 flex-row items-center justify-center`,e),...n,children:t??(0,u.jsx)(m.MoreHorizontal,{size:14,className:`text-muted-foreground`})});Ve.displayName=`BreadcrumbEllipsis`;var He=c.forwardRef(({className:e,value:t,onChange:n,showOutsideDays:r,...i},a)=>{let[o,s]=c.useState(t||new Date);return c.useEffect(()=>{t&&s(t)},[t]),(0,u.jsx)(l.View,{ref:a,className:H(`bg-background overflow-hidden rounded-md`,e),children:(0,u.jsx)(x.default,{value:o,mode:`date`,display:`inline`,onValueChange:(e,t)=>{s(t),n&&n(e,t)},onDismiss:()=>{n&&n({type:`dismissed`},o)},...i})})});He.displayName=`Calendar`;var Ue=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:H(`border-border bg-card rounded-xl border shadow-sm`,e),...t}));Ue.displayName=`Card`;var We=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:H(`flex flex-col space-y-1.5 p-6`,e),...t}));We.displayName=`CardHeader`;var Ge=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.Text,{ref:n,className:H(`text-card-foreground text-lg leading-none font-semibold tracking-tight`,e),...t}));Ge.displayName=`CardTitle`;var Ke=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.Text,{ref:n,className:H(`text-muted-foreground text-sm`,e),...t}));Ke.displayName=`CardDescription`;var qe=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:H(`p-6 pt-0`,e),...t,children:V(t.children,l.Text,{className:`text-sm text-card-foreground`})}));qe.displayName=`CardContent`;var Je=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:H(`flex flex-row items-center p-6 pt-0`,e),...t}));Je.displayName=`CardFooter`;var Ye=c.createContext(null);function K(){let e=c.useContext(Ye);if(!e)throw Error(`useCarousel must be used within a <Carousel />`);return e}var Xe=c.forwardRef(({children:e,className:t,opts:n,orientation:r=`horizontal`,setApi:i,plugins:a,...o},s)=>{let d=c.useRef(null),[f,p]=c.useState(!0),[m,h]=c.useState(!1),[g,_]=c.useState(l.Dimensions.get(`window`).width),[v,y]=c.useState(0),b=c.useCallback(()=>{d.current?.scrollTo({x:(v+1)*g,animated:!0})},[v,g]),x=c.useCallback(()=>{d.current?.scrollTo({x:Math.max(0,v-1)*g,animated:!0})},[v,g]);return c.useEffect(()=>{i&&i({scrollNext:b,scrollPrev:x,canScrollNext:()=>f,canScrollPrev:()=>m,on:()=>{},off:()=>{}})},[i,b,x,f,m]),(0,u.jsx)(Ye.Provider,{value:{orientation:r,scrollRef:d,scrollNext:b,scrollPrev:x,canScrollNext:f,canScrollPrev:m,itemWidth:g,setItemWidth:_},children:(0,u.jsx)(l.View,{ref:s,className:H(`relative`,t),...o,children:e})})});Xe.displayName=`Carousel`;var Ze=c.forwardRef(({children:e,className:t,...n},r)=>{let{scrollRef:i,orientation:a}=K();return(0,u.jsx)(l.View,{className:`overflow-hidden`,children:(0,u.jsx)(l.ScrollView,{ref:i,horizontal:a===`horizontal`,showsHorizontalScrollIndicator:!1,showsVerticalScrollIndicator:!1,pagingEnabled:!0,snapToInterval:a===`horizontal`?l.Dimensions.get(`window`).width:void 0,decelerationRate:`fast`,className:H(`flex`,a===`horizontal`?`flex-row`:`flex-col`,t),...n,children:e})})});Ze.displayName=`CarouselContent`;var Qe=c.forwardRef(({children:e,className:t,...n},r)=>{let{orientation:i,setItemWidth:a}=K();return(0,u.jsx)(l.View,{ref:r,onLayout:e=>{i===`horizontal`&&a(e.nativeEvent.layout.width)},className:H(`min-w-0 shrink-0 grow-0 basis-full`,t),...n,children:e})});Qe.displayName=`CarouselItem`;var $e=c.forwardRef(({className:e,variant:t=`outline`,size:n=`icon`,...r},i)=>{let{orientation:a,scrollPrev:o,canScrollPrev:s}=K();return(0,u.jsx)(W,{ref:i,variant:t,size:n,className:H(`absolute h-8 w-8 rounded-full`,a===`horizontal`?`top-1/2 -left-12 -translate-y-1/2`:`-top-12 left-1/2 -translate-x-1/2 rotate-90`,e),disabled:!s,onPress:o,...r,children:(0,u.jsx)(m.ArrowLeft,{className:`text-foreground h-4 w-4`,size:16})})});$e.displayName=`CarouselPrevious`;var et=c.forwardRef(({className:e,variant:t=`outline`,size:n=`icon`,...r},i)=>{let{orientation:a,scrollNext:o,canScrollNext:s}=K();return(0,u.jsx)(W,{ref:i,variant:t,size:n,className:H(`absolute h-8 w-8 rounded-full`,a===`horizontal`?`top-1/2 -right-12 -translate-y-1/2`:`-bottom-12 left-1/2 -translate-x-1/2 rotate-90`,e),disabled:!s,onPress:o,...r,children:(0,u.jsx)(m.ArrowRight,{className:`text-foreground h-4 w-4`,size:16})})});et.displayName=`CarouselNext`;var tt=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:e}),nt=({className:e})=>(0,u.jsx)(l.View,{className:e}),rt=({className:e})=>(0,u.jsx)(l.View,{className:e}),it=({children:e})=>(0,u.jsx)(u.Fragment,{children:e}),at=({children:e})=>(0,u.jsx)(u.Fragment,{children:e}),ot=()=>null,st=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(S.Root,{ref:n,className:H(`web:peer native:h-[20] native:w-[20] native:rounded border-primary web:ring-offset-background web:focus-visible:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 h-4 w-4 shrink-0 rounded-sm border disabled:cursor-not-allowed disabled:opacity-50`,t.checked&&`bg-primary`,e),...t,children:(0,u.jsx)(S.Indicator,{className:H(`h-full w-full items-center justify-center`),children:(0,u.jsx)(m.Check,{size:12,strokeWidth:l.Platform.OS===`web`?2.5:3.5,className:`text-primary-foreground`})})}));st.displayName=S.Root?.displayName||`Checkbox`;var ct=C.Root,lt=C.Trigger,ut=C.Content,dt=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:V(e)}),ft=({children:e})=>(0,u.jsx)(u.Fragment,{children:e}),pt=({className:e})=>(0,u.jsx)(l.View,{className:e}),mt=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:V(e)}),ht=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:V(e)}),gt=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:V(e)}),_t=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:V(e)}),vt=({className:e})=>(0,u.jsx)(l.View,{className:e}),yt=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:V(e)}),bt=w.Root,xt=w.Trigger,St=w.Portal,Ct=w.Group,wt=w.RadioGroup,Tt=w.Sub,Et=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(w.Overlay,{style:l.Platform.OS===`web`?void 0:l.StyleSheet.absoluteFill,ref:n,...t,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(100),exiting:h.FadeOut.duration(100),className:H(`absolute inset-0 z-50 bg-black/30`,e)})}));Et.displayName=`ContextMenuOverlay`;var Dt=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsxs)(St,{children:[(0,u.jsx)(Et,{}),(0,u.jsx)(w.Content,{ref:r,className:H(`bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md`,e),...n,children:t})]}));Dt.displayName=`ContextMenuContent`;var Ot=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsx)(w.Item,{ref:i,className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none`,n&&`pl-8`,e),...r,children:V(t,G)}));Ot.displayName=`ContextMenuItem`;var kt=c.forwardRef(({className:e,children:t,checked:n,onCheckedChange:r,...i},a)=>(0,u.jsxs)(w.CheckboxItem,{ref:a,checked:!!n,onCheckedChange:r||(()=>{}),className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none`,e),...i,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(w.ItemIndicator,{children:(0,u.jsx)(m.Check,{size:14,className:`text-foreground`})})}),V(t,G)]}));kt.displayName=`ContextMenuCheckboxItem`;var At=c.forwardRef(({className:e,children:t,value:n,...r},i)=>(0,u.jsxs)(w.RadioItem,{ref:i,value:n,className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none`,e),...r,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(w.ItemIndicator,{children:(0,u.jsx)(m.Circle,{size:8,className:`text-foreground fill-current`})})}),V(t,G)]}));At.displayName=`ContextMenuRadioItem`;var jt=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsx)(w.Label,{ref:i,className:H(`text-foreground px-2 py-1.5 text-sm font-semibold`,n&&`pl-8`,e),...r,children:V(t,G)}));jt.displayName=`ContextMenuLabel`;var Mt=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(w.Separator,{ref:n,className:H(`bg-border -mx-1 my-1 h-px`,e),...t}));Mt.displayName=`ContextMenuSeparator`;var Nt=({className:e,children:t,...n})=>(0,u.jsx)(G,{className:H(`text-muted-foreground ml-auto text-xs tracking-widest`,e),...n,children:t});Nt.displayName=`ContextMenuShortcut`;var Pt=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsxs)(w.SubTrigger,{ref:i,className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none`,n&&`pl-8`,e),...r,children:[(0,u.jsx)(l.View,{className:`flex flex-row items-center gap-1.5`,children:V(t,G)}),(0,u.jsx)(m.ChevronRight,{size:14,className:`text-foreground ml-auto`})]}));Pt.displayName=`ContextMenuSubTrigger`;var Ft=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(w.SubContent,{ref:r,className:H(`bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md`,e),...n,children:t}));Ft.displayName=`ContextMenuSubContent`;var q=T.Root,It=T.Trigger,Lt=T.Portal,Rt=T.Close,zt=c.forwardRef(({className:e,style:t,...n},r)=>(0,u.jsx)(T.Overlay,{style:[{position:l.Platform.OS===`web`?`fixed`:`absolute`,top:0,right:0,bottom:0,left:0,zIndex:50},t],asChild:!0,ref:r,...n,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:H(`flex items-center justify-center bg-black/80 p-2`,e)})}));zt.displayName=T.Overlay?.displayName||`DialogOverlay`;var J=c.forwardRef(({className:e,children:t,portalHost:n,overlayClassName:r,overlayStyle:i,...a},o)=>{let s=c.useCallback(({children:e})=>l.Platform.OS===`web`?(0,u.jsx)(u.Fragment,{children:e}):(0,u.jsx)(l.View,{pointerEvents:`box-none`,style:{position:`absolute`,top:0,right:0,bottom:0,left:0,zIndex:50,alignItems:`center`,justifyContent:`center`,padding:16},children:e}),[]);return(0,u.jsxs)(Lt,{hostName:n,children:[(0,u.jsx)(zt,{className:r,style:i}),(0,u.jsx)(s,{children:(0,u.jsx)(T.Content,{ref:o,...a,children:(0,u.jsx)(l.View,{pointerEvents:`box-none`,className:`absolute inset-0 z-50 flex items-center justify-center`,style:l.Platform.OS===`web`?{position:`fixed`}:void 0,children:(0,u.jsxs)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:H(`border-border bg-background w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg`,e),children:[t,(0,u.jsxs)(T.Close,{className:`ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none`,children:[(0,u.jsx)(m.X,{size:18,className:`text-muted-foreground`}),(0,u.jsx)(l.View,{className:`sr-only`,children:(0,u.jsx)(T.Title,{children:`Close`})})]})]})})})})]})});J.displayName=T.Content?.displayName||`DialogContent`;var Bt=({className:e,...t})=>(0,u.jsx)(l.View,{className:H(`flex flex-col gap-1.5 text-center sm:text-left`,e),...t});Bt.displayName=`DialogHeader`;var Vt=({className:e,...t})=>(0,u.jsx)(l.View,{className:H(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t});Vt.displayName=`DialogFooter`;var Ht=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(T.Title,{ref:n,className:H(`native:text-xl text-foreground text-lg leading-none font-semibold tracking-tight`,e),...t}));Ht.displayName=T.Title?.displayName||`DialogTitle`;var Ut=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(T.Description,{ref:n,className:H(`native:text-base text-muted-foreground text-sm`,e),...t}));Ut.displayName=T.Description?.displayName||`DialogDescription`;var Wt=({children:e})=>(0,u.jsx)(T.Root,{children:e});Wt.displayName=`Drawer`;var Gt=c.forwardRef(({children:e,className:t,...n},r)=>(0,u.jsx)(T.Trigger,{ref:r,className:t,...n,children:V(e)}));Gt.displayName=`DrawerTrigger`;var Kt=T.Portal,qt=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(T.Overlay,{style:l.StyleSheet.absoluteFill,asChild:!0,ref:n,...t,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:H(`z-50 bg-black/80`,e)})}));qt.displayName=`DrawerOverlay`;var Jt=c.forwardRef(({className:e,children:t,portalHost:n,overlayClassName:r,overlayStyle:i,...a},o)=>(0,u.jsxs)(Kt,{hostName:n,children:[(0,u.jsx)(qt,{className:r,style:i}),(0,u.jsx)(T.Content,{ref:o,asChild:!0,...a,children:(0,u.jsxs)(h.default.View,{entering:h.SlideInDown.duration(200),exiting:h.SlideOutDown.duration(200),className:H(`border-border bg-background fixed inset-x-0 bottom-0 z-50 flex h-auto flex-col rounded-t-xl border p-6 pb-10 shadow-lg`,e),children:[(0,u.jsx)(l.View,{className:`bg-muted mx-auto mb-4 h-1.5 w-12 rounded-full`}),t]})})]}));Jt.displayName=`DrawerContent`;var Yt=({className:e,children:t,...n})=>(0,u.jsx)(l.View,{className:H(`flex flex-col gap-1.5 text-center sm:text-left`,e),...n,children:V(t)});Yt.displayName=`DrawerHeader`;var Xt=({className:e,children:t,...n})=>(0,u.jsx)(l.View,{className:H(`mt-auto flex flex-col gap-2`,e),...n,children:V(t)});Xt.displayName=`DrawerFooter`;var Zt=c.forwardRef(({children:e,className:t,...n},r)=>(0,u.jsx)(T.Close,{ref:r,className:t,...n,children:V(e)}));Zt.displayName=`DrawerClose`;var Qt=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(T.Title,{ref:r,className:H(`text-foreground text-lg leading-none font-semibold tracking-tight`,e),...n,children:V(t)}));Qt.displayName=`DrawerTitle`;var $t=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(T.Description,{ref:r,className:H(`text-muted-foreground text-sm`,e),...n,children:V(t)}));$t.displayName=`DrawerDescription`;var en=E.Root,tn=E.Trigger,nn=E.Portal,rn=E.Group,an=E.RadioGroup,on=E.Sub,sn=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(E.Overlay,{style:l.Platform.OS===`web`?void 0:l.StyleSheet.absoluteFill,ref:n,...t,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(100),exiting:h.FadeOut.duration(100),className:H(`absolute inset-0 z-50 bg-black/30`,e)})}));sn.displayName=`DropdownMenuOverlay`;var cn=c.forwardRef(({className:e,children:t,side:n,...r},i)=>{let a=n===`left`||n===`right`?`bottom`:n;return(0,u.jsxs)(nn,{children:[(0,u.jsx)(sn,{}),(0,u.jsx)(E.Content,{ref:i,side:a,className:H(`bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md`,e),...r,children:t})]})});cn.displayName=`DropdownMenuContent`;var Y=c.forwardRef(({className:e,children:t,inset:n,onSelect:r,...i},a)=>(0,u.jsx)(E.Item,{ref:a,onPress:()=>r?.(new Event(`select`)),className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none`,n&&`pl-8`,e),...i,children:V(t,G)}));Y.displayName=`DropdownMenuItem`;var ln=c.forwardRef(({className:e,children:t,checked:n,onCheckedChange:r,...i},a)=>(0,u.jsxs)(E.CheckboxItem,{ref:a,checked:!!n,onCheckedChange:r||(()=>{}),className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none`,e),...i,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(E.ItemIndicator,{children:(0,u.jsx)(m.Check,{size:14,className:`text-foreground`})})}),V(t,G)]}));ln.displayName=`DropdownMenuCheckboxItem`;var un=c.forwardRef(({className:e,children:t,value:n,...r},i)=>(0,u.jsxs)(E.RadioItem,{ref:i,value:n,className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none`,e),...r,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(E.ItemIndicator,{children:(0,u.jsx)(m.Circle,{size:8,className:`text-foreground fill-current`})})}),V(t,G)]}));un.displayName=`DropdownMenuRadioItem`;var dn=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsx)(E.Label,{ref:i,className:H(`text-foreground px-2 py-1.5 text-sm font-semibold`,n&&`pl-8`,e),...r,children:V(t,G)}));dn.displayName=`DropdownMenuLabel`;var fn=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(E.Separator,{ref:n,className:H(`bg-border -mx-1 my-1 h-px`,e),...t}));fn.displayName=`DropdownMenuSeparator`;var pn=({className:e,children:t,...n})=>(0,u.jsx)(G,{className:H(`text-muted-foreground ml-auto text-xs tracking-widest`,e),...n,children:t});pn.displayName=`DropdownMenuShortcut`;var mn=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsxs)(E.SubTrigger,{ref:i,className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none`,n&&`pl-8`,e),...r,children:[(0,u.jsx)(l.View,{className:`flex flex-row items-center gap-1.5`,children:V(t,G)}),(0,u.jsx)(m.ChevronRight,{size:14,className:`text-foreground ml-auto`})]}));mn.displayName=`DropdownMenuSubTrigger`;var hn=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(E.SubContent,{ref:r,className:H(`bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md`,e),...n,children:t}));hn.displayName=`DropdownMenuSubContent`;var gn=c.forwardRef(({className:e,onPress:t,onLongPress:n,onPressIn:r,onPressOut:i,...a},o)=>(0,u.jsx)(D.Root,{className:`web:cursor-default`,onPress:t,onLongPress:n,onPressIn:r,onPressOut:i,children:(0,u.jsx)(D.Text,{ref:o,className:H(`text-foreground native:text-base web:peer-disabled:cursor-not-allowed web:peer-disabled:opacity-70 text-sm leading-none font-medium`,e),...a})}));gn.displayName=D.Root?.displayName||`Label`;var _n=ee.FormProvider,vn=c.createContext(null),yn=({...e})=>(0,u.jsx)(vn.Provider,{value:{name:e.name},children:(0,u.jsx)(ee.Controller,{...e})}),X=()=>{let e=c.useContext(vn),t=c.useContext(bn),{getFieldState:n,formState:r}=(0,ee.useFormContext)();if(!e)throw Error(`useFormField should be used within <FormField>`);if(!t)throw Error(`useFormField should be used within <FormItem>`);let i=n(e.name,r),{id:a}=t;return{id:a,name:e.name,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`,...i}},bn=c.createContext(null),xn=c.forwardRef(({className:e,...t},n)=>{let r=c.useId();return(0,u.jsx)(bn.Provider,{value:{id:r},children:(0,u.jsx)(l.View,{ref:n,className:H(`space-y-2`,e),...t})})});xn.displayName=`FormItem`;var Sn=c.forwardRef(({className:e,...t},n)=>{let{error:r,formItemId:i}=X();return(0,u.jsx)(gn,{ref:n,className:H(r&&`text-destructive`,e),nativeID:i,...t})});Sn.displayName=`FormLabel`;var Cn=c.forwardRef(({...e},t)=>{let{error:n,formItemId:r,formDescriptionId:i,formMessageId:a}=X();return(0,u.jsx)(b.Slot,{ref:t,nativeID:r,"aria-describedby":n?`${i} ${a}`:`${i}`,"aria-invalid":!!n,...e})});Cn.displayName=`FormControl`;var wn=c.forwardRef(({className:e,...t},n)=>{let{formDescriptionId:r}=X();return(0,u.jsx)(l.Text,{ref:n,nativeID:r,className:H(`text-muted-foreground text-[13px]`,e),...t})});wn.displayName=`FormDescription`;var Tn=c.forwardRef(({className:e,children:t,...n},r)=>{let{error:i,formMessageId:a}=X(),o=i?String(i?.message??``):t;return o?(0,u.jsx)(l.Text,{ref:r,nativeID:a,className:H(`text-destructive text-[13px] font-medium`,e),...n,children:o}):null});Tn.displayName=`FormMessage`;var En=O.Root,Dn=O.Trigger,On=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(O.Portal,{children:(0,u.jsx)(O.Content,{ref:r,className:H(`bg-popover text-popover-foreground border-border z-50 w-64 rounded-md border p-4 shadow-md`,e),...n,children:t})}));On.displayName=O.Content?.displayName||`HoverCardContent`;var kn=c.forwardRef(({className:e,placeholderClassName:t,...n},r)=>(0,u.jsx)(l.TextInput,{ref:r,className:H(`border-input text-foreground placeholder:text-muted-foreground focus:border-ring flex h-10 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-sm transition-colors disabled:opacity-50`,e),placeholderClassName:H(`text-muted-foreground`,t),...n}));kn.displayName=`Input`;var An=c.forwardRef(({className:e,children:t,value:n,onValueChange:r,...i},a)=>{let[o,s]=c.useState(n||``),l=n===void 0?o:n;return(0,u.jsx)(k.Root,{ref:a,value:l,onValueChange:e=>{s(e),r?.(e||``)},className:H(`bg-background border-border flex flex-row items-center space-x-1 rounded-md border p-1 shadow-sm`,e),...i,children:t})});An.displayName=`Menubar`;var jn=k.Menu,Mn=k.Portal,Nn=k.Group,Pn=k.RadioGroup,Fn=k.Sub,In=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(k.Overlay,{style:l.Platform.OS===`web`?void 0:l.StyleSheet.absoluteFill,ref:n,...t,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(100),exiting:h.FadeOut.duration(100),className:H(`absolute inset-0 z-50 bg-black/30`,e)})}));In.displayName=`MenubarOverlay`;var Ln=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(k.Trigger,{ref:r,className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none`,e),...n,children:V(t,G)}));Ln.displayName=`MenubarTrigger`;var Rn=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsxs)(Mn,{children:[(0,u.jsx)(In,{}),(0,u.jsx)(k.Content,{ref:r,className:H(`bg-popover border-border z-50 min-w-[12rem] overflow-hidden rounded-md border p-1 shadow-md`,e),...n,children:t})]}));Rn.displayName=`MenubarContent`;var zn=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsx)(k.Item,{ref:i,className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none`,n&&`pl-8`,e),...r,children:V(t,G)}));zn.displayName=`MenubarItem`;var Bn=c.forwardRef(({className:e,children:t,checked:n,onCheckedChange:r,...i},a)=>(0,u.jsxs)(k.CheckboxItem,{ref:a,checked:!!n,onCheckedChange:r||(()=>{}),className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none`,e),...i,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(k.ItemIndicator,{children:(0,u.jsx)(m.Check,{size:14,className:`text-foreground`})})}),V(t,G)]}));Bn.displayName=`MenubarCheckboxItem`;var Vn=c.forwardRef(({className:e,children:t,value:n,...r},i)=>(0,u.jsxs)(k.RadioItem,{ref:i,value:n,className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none`,e),...r,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(k.ItemIndicator,{children:(0,u.jsx)(m.Circle,{size:8,className:`text-foreground fill-current`})})}),V(t,G)]}));Vn.displayName=`MenubarRadioItem`;var Hn=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsx)(k.Label,{ref:i,className:H(`text-foreground px-2 py-1.5 text-sm font-semibold`,n&&`pl-8`,e),...r,children:V(t,G)}));Hn.displayName=`MenubarLabel`;var Un=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(k.Separator,{ref:n,className:H(`bg-border -mx-1 my-1 h-px`,e),...t}));Un.displayName=`MenubarSeparator`;var Wn=({className:e,children:t,...n})=>(0,u.jsx)(G,{className:H(`text-muted-foreground ml-auto text-xs tracking-widest`,e),...n,children:t});Wn.displayName=`MenubarShortcut`;var Gn=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsxs)(k.SubTrigger,{ref:i,className:H(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none`,n&&`pl-8`,e),...r,children:[(0,u.jsx)(l.View,{className:`flex flex-row items-center gap-1.5`,children:V(t,G)}),(0,u.jsx)(m.ChevronRight,{size:14,className:`text-foreground ml-auto`})]}));Gn.displayName=`MenubarSubTrigger`;var Kn=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(k.SubContent,{ref:r,className:H(`bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md`,e),...n,children:t}));Kn.displayName=`MenubarSubContent`;var qn=c.forwardRef(({className:e,children:t,value:n,onValueChange:r,dir:i,orientation:a,delayDuration:o,skipDelayDuration:s,...c},l)=>(0,u.jsx)(A.Root,{ref:l,value:n,onValueChange:r?e=>r(e||``):()=>{},delayDuration:o,skipDelayDuration:s,className:H(`relative z-10 flex flex-row items-center justify-center`,e),...c,children:t}));qn.displayName=`NavigationMenu`;var Jn=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(A.List,{ref:r,className:H(`group flex flex-1 list-none flex-row items-center justify-center gap-1`,e),...n,children:t}));Jn.displayName=`NavigationMenuList`;var Yn=c.forwardRef(({className:e,children:t,value:n,...r},i)=>(0,u.jsx)(A.Item,{ref:i,value:n||``,className:H(`relative`,e),...r,children:t}));Yn.displayName=`NavigationMenuItem`;var Xn=c.forwardRef(({className:e,children:t,disabled:n,...r},i)=>(0,u.jsxs)(A.Trigger,{ref:i,disabled:n,className:H(`group bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center justify-center gap-1 rounded-md px-4 py-2 text-sm font-medium transition-colors disabled:opacity-50`,e),...r,children:[(0,u.jsx)(u.Fragment,{children:t}),(0,u.jsx)(m.ChevronDown,{size:12,className:`text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180`})]}));Xn.displayName=`NavigationMenuTrigger`;var Zn=c.forwardRef(({className:e,children:t,forceMount:n,...r},i)=>(0,u.jsx)(A.Portal,{children:(0,u.jsx)(A.Content,{ref:i,...r,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:H(`bg-popover border-border z-50 overflow-hidden rounded-md border p-4 shadow-md`,e),children:t})})}));Zn.displayName=`NavigationMenuContent`;var Qn=c.forwardRef(({className:e,children:t,active:n,onSelect:r,onPress:i,href:a,...o},s)=>(0,u.jsx)(A.Link,{ref:s,active:n,onPress:e=>{i&&i(),r&&r(e)},className:H(`hover:bg-accent hover:text-accent-foreground active:bg-accent active:text-accent-foreground rounded-md px-3 py-2 text-sm font-medium transition-colors`,n&&`bg-accent text-accent-foreground`,e),...o,children:t}));Qn.displayName=`NavigationMenuLink`;var $n=c.forwardRef(({className:e,forceMount:t,...n},r)=>(0,u.jsx)(l.View,{className:`absolute top-full left-0 flex justify-center`,children:(0,u.jsx)(A.Viewport,{ref:r,className:H(`origin-top-center bg-popover text-popover-foreground border-border relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow-lg md:w-[var(--radix-navigation-menu-viewport-width)]`,e),...n})}));$n.displayName=`NavigationMenuViewport`;var er=c.forwardRef(({className:e,forceMount:t,...n},r)=>(0,u.jsx)(A.Indicator,{ref:r,className:H(`z-10 flex h-1.5 items-end justify-center overflow-hidden transition-all duration-200`,e),...n,children:(0,u.jsx)(l.View,{className:`bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md`})}));er.displayName=`NavigationMenuIndicator`;var tr=({className:e,children:t,...n})=>(0,u.jsx)(l.View,{role:`navigation`,"aria-label":`pagination`,className:H(`mx-auto flex w-full flex-row justify-center`,e),...n,children:t});tr.displayName=`Pagination`;var nr=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,className:H(`flex flex-row items-center gap-1`,e),...n,children:t}));nr.displayName=`PaginationContent`;var rr=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,className:H(``,e),...n,children:t}));rr.displayName=`PaginationItem`;var Z=({className:e,isActive:t,size:n=`icon`,children:r,onPress:i,...a})=>(0,u.jsx)(W,{variant:t?`outline`:`ghost`,size:n,onPress:i,className:e,...a,children:r});Z.displayName=`PaginationLink`;var ir=({className:e,children:t,onPress:n,...r})=>(0,u.jsxs)(Z,{"aria-label":`Go to previous page`,size:`default`,className:H(`flex flex-row items-center gap-1 pl-2.5`,e),onPress:n,...r,children:[(0,u.jsx)(m.ChevronLeft,{size:16,className:`text-foreground`}),(0,u.jsx)(G,{className:`text-sm font-medium`,children:`Previous`})]});ir.displayName=`PaginationPrevious`;var ar=({className:e,children:t,onPress:n,...r})=>(0,u.jsxs)(Z,{"aria-label":`Go to next page`,size:`default`,className:H(`flex flex-row items-center gap-1 pr-2.5`,e),onPress:n,...r,children:[(0,u.jsx)(G,{className:`text-sm font-medium`,children:`Next`}),(0,u.jsx)(m.ChevronRight,{size:16,className:`text-foreground`})]});ar.displayName=`PaginationNext`;var or=({className:e,...t})=>(0,u.jsx)(l.View,{"aria-hidden":!0,className:H(`flex h-9 w-9 flex-row items-center justify-center`,e),...t,children:(0,u.jsx)(m.MoreHorizontal,{size:16,className:`text-foreground`})});or.displayName=`PaginationEllipsis`;var sr=c.createContext({open:!1,setOpen:()=>{}}),cr=c.forwardRef(({children:e,open:t,onOpenChange:n,...r},i)=>{let[a,o]=c.useState(!1),s=t!==void 0,d=s?t:a,f=s?n||(()=>{}):o;return(0,u.jsx)(sr.Provider,{value:{open:d,setOpen:f},children:(0,u.jsx)(l.View,{ref:i,...r,children:e})})});cr.displayName=`Popover`;var lr=c.forwardRef(({children:e,...t},n)=>{let{setOpen:r}=c.useContext(sr);return(0,u.jsx)(l.Pressable,{ref:n,onPress:()=>r(!0),...t,children:e})});lr.displayName=`PopoverTrigger`;var ur=c.forwardRef(({...e},t)=>(0,u.jsx)(l.View,{ref:t,...e}));ur.displayName=`PopoverAnchor`;var dr=c.forwardRef(({className:e,children:t,...n},r)=>{let{open:i,setOpen:a}=c.useContext(sr);return(0,u.jsx)(l.Modal,{visible:i,transparent:!0,animationType:`fade`,onRequestClose:()=>a(!1),children:(0,u.jsx)(l.Pressable,{className:`flex-1`,onPress:()=>a(!1),children:(0,u.jsx)(l.View,{className:`flex-1 items-center justify-center bg-black/50`,children:(0,u.jsx)(l.Pressable,{onPress:()=>{},children:(0,u.jsx)(l.View,{ref:r,className:H(`bg-popover border-border mx-4 w-full max-w-sm rounded-md border p-4 shadow-lg`,e),...n,children:t})})})})})});dr.displayName=`PopoverContent`;var fr=c.forwardRef(({className:e,value:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,className:H(`bg-muted relative h-2 w-full overflow-hidden rounded-full`,e),accessibilityRole:`progressbar`,role:`progressbar`,...n,children:(0,u.jsx)(l.View,{className:`bg-primary h-full rounded-full`,style:{width:`${t||0}%`}})}));fr.displayName=`Progress`;var pr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(j.Root,{className:H(`web:grid gap-2`,e),...t,ref:n}));pr.displayName=j.Root?.displayName||`RadioGroup`;var mr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(j.Item,{ref:n,className:H(`native:h-5 native:w-5 border-primary text-primary web:ring-offset-background web:focus:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 aspect-square h-4 w-4 rounded-full border`,t.disabled&&`web:cursor-not-allowed opacity-50`,e),...t,children:(0,u.jsx)(j.Indicator,{className:`flex items-center justify-center`,children:(0,u.jsx)(m.Circle,{className:`h-2.5 w-2.5 fill-current text-current`})})}));mr.displayName=j.Item?.displayName||`RadioGroupItem`;var hr=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:e}),gr=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:e}),_r=({className:e})=>(0,u.jsx)(l.View,{className:e}),vr=c.forwardRef(({children:e,className:t,...n},r)=>(0,u.jsx)(l.ScrollView,{ref:r,className:H(`flex-1`,t),showsVerticalScrollIndicator:!0,showsHorizontalScrollIndicator:!0,...n,children:(0,u.jsx)(l.View,{children:e})}));vr.displayName=`ScrollArea`;var yr=()=>null;yr.displayName=`ScrollBar`;function br({children:e,open:t,onOpenChange:n}){let[r,i]=c.useState(!1),a=t!==void 0;return(0,u.jsx)(q,{open:a?t:r,onOpenChange:c.useCallback(e=>{a?n?.(e):i(e)},[a,n]),children:e})}var xr=c.forwardRef(({className:e,placeholder:t,variant:n=`default`,responsive:r=!1,...i},a)=>{let o=t||(n===`compact`?`Search...`:`Search docs...`);return(0,u.jsxs)(W,{variant:`outline`,className:H(`relative h-12 flex-row justify-start pl-3 text-sm transition-all sm:h-9`,n===`default`?`w-full pr-12`:H(`w-12 px-0 sm:w-9 sm:justify-center`,r&&`md:w-48 md:justify-start md:px-3 md:pr-12`),e),ref:a,...i,children:[(0,u.jsxs)(l.View,{className:`flex-row items-center gap-2`,children:[(0,u.jsx)(m.Search,{className:`text-muted-foreground shrink-0`,size:18}),(0,u.jsx)(l.Text,{className:H(`text-muted-foreground truncate`,n===`compact`&&(r?`hidden md:flex`:`hidden`)),children:o})]}),(0,u.jsx)(l.View,{className:H(`bg-muted absolute top-2 right-2 hidden h-6 flex-row items-center gap-1 rounded border px-1.5 opacity-100`,n===`default`&&l.Platform.OS!==`android`&&l.Platform.OS!==`ios`&&`sm:flex`,n===`compact`&&r&&l.Platform.OS!==`android`&&l.Platform.OS!==`ios`&&`md:flex`),children:(0,u.jsx)(l.Text,{className:`text-muted-foreground font-mono text-[10px] font-medium`,children:`⌘K`})})]})});xr.displayName=`SearchTrigger`;var Sr=M.Root,Cr=M.Group,wr=M.Value,Tr=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsxs)(M.Trigger,{ref:r,className:H(`native:h-12 border-input bg-background text-muted-foreground web:ring-offset-background web:focus:outline-none web:focus:ring-2 web:focus:ring-ring web:focus:ring-offset-2 flex h-10 flex-row items-center justify-between rounded-md border px-3 py-2 text-sm [&>span]:line-clamp-1`,n.disabled&&`web:cursor-not-allowed opacity-50`,e),...n,children:[(0,u.jsx)(u.Fragment,{children:t}),(0,u.jsx)(m.ChevronDown,{size:16,"aria-hidden":!0,className:`text-foreground opacity-50`})]}));Tr.displayName=M.Trigger?.displayName||`SelectTrigger`;var Er=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(M.ScrollUpButton,{ref:n,className:H(`flex cursor-default items-center justify-center py-1`,e),...t,children:(0,u.jsx)(m.ChevronUp,{size:14,className:`text-foreground`})}));Er.displayName=M.ScrollUpButton?.displayName||`SelectScrollUpButton`;var Dr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(M.ScrollDownButton,{ref:n,className:H(`flex cursor-default items-center justify-center py-1`,e),...t,children:(0,u.jsx)(m.ChevronDown,{size:14,className:`text-foreground`})}));Dr.displayName=M.ScrollDownButton?.displayName||`SelectScrollDownButton`;var Or=c.forwardRef(({className:e,children:t,position:n=`popper`,portalHost:r,overlayClassName:i,overlayStyle:a,...o},s)=>{let{open:c}=M.useRootContext();return(0,u.jsxs)(M.Portal,{hostName:r,children:[(0,u.jsx)(M.Overlay,{style:l.Platform.OS===`web`?void 0:l.StyleSheet.absoluteFill,asChild:!0,children:(0,u.jsx)(h.default.View,{className:i,style:a})}),(0,u.jsxs)(M.Content,{ref:s,className:H(`border-border bg-popover data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-96 min-w-[8rem] rounded-md border shadow-md`,n===`popper`&&`data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1`,c?`web:zoom-in-95 web:animate-in web:fade-in-0`:`web:zoom-out-95 web:animate-out web:fade-out-0`,e),position:n,...o,children:[(0,u.jsx)(Er,{}),(0,u.jsx)(M.Viewport,{className:H(`p-1`,n===`popper`&&`h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]`),children:t}),(0,u.jsx)(Dr,{})]})]})});Or.displayName=M.Content?.displayName||`SelectContent`;var kr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(M.Label,{ref:n,className:H(`text-popover-foreground py-1.5 pr-2 pl-8 text-sm font-semibold`,e),...t}));kr.displayName=M.Label?.displayName||`SelectLabel`;var Ar=c.forwardRef(({className:e,children:t,label:n,...r},i)=>{let a=n||(typeof t==`string`?t:``);return(0,u.jsxs)(M.Item,{ref:i,label:a,className:H(`web:hover:bg-accent/50 web:focus:bg-accent web:focus:text-accent-foreground web:hover:text-accent-foreground relative flex w-full cursor-default flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:opacity-50`,r.disabled&&`web:pointer-events-none`,e),...r,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(M.ItemIndicator,{children:(0,u.jsx)(m.Check,{size:14,strokeWidth:3,className:`text-popover-foreground`})})}),(0,u.jsx)(M.ItemText,{className:`text-popover-foreground native:text-base text-sm`,children:t})]})});Ar.displayName=M.Item?.displayName||`SelectItem`;var jr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(M.Separator,{ref:n,className:H(`bg-muted -mx-1 my-1 h-px`,e),...t}));jr.displayName=M.Separator?.displayName||`SelectSeparator`;var Mr=c.forwardRef(({threshold:e=240,exitDuration:t=450,behavior:n,label:r=`Scroll to top`,className:i,scrollRef:a,animationDuration:o=300,...s},d)=>{let[f,p]=c.useState(!1),[h,g]=c.useState(!1),_=c.useRef(new l.Animated.Value(0)).current,v=c.useRef(new l.Animated.Value(20)).current,y=()=>{l.Animated.parallel([l.Animated.timing(_,{toValue:1,duration:o,useNativeDriver:!0}),l.Animated.timing(v,{toValue:0,duration:o,useNativeDriver:!0})]).start()},b=()=>{l.Animated.parallel([l.Animated.timing(_,{toValue:0,duration:o,useNativeDriver:!0}),l.Animated.timing(v,{toValue:20,duration:o,useNativeDriver:!0})]).start(()=>{h||p(!1)})},x=t=>{let n=t.nativeEvent.contentOffset.y;if(h){n<=e&&(p(!1),g(!1));return}n>e&&!f?(p(!0),y()):n<=e&&f&&b()},S=()=>{g(!0),b(),setTimeout(()=>{if(a?.current){let e=a.current;`scrollToOffset`in e&&typeof e.scrollToOffset==`function`?e.scrollToOffset({offset:0,animated:n!==`auto`}):`scrollTo`in e&&typeof e.scrollTo==`function`&&e.scrollTo({y:0,animated:n!==`auto`})}(l.Platform.OS===`ios`||l.Platform.OS===`android`)&&l.AccessibilityInfo.announceForAccessibility(`Scrolled to top`)},t)};return c.useImperativeHandle(d,()=>({handleScroll:x,scrollToTop:S})),!f&&!h?null:(0,u.jsx)(l.View,{pointerEvents:`box-none`,style:{position:`absolute`,bottom:24,right:24,zIndex:50},children:(0,u.jsx)(l.Animated.View,{style:{opacity:_,transform:[{translateY:v}]},children:(0,u.jsx)(W,{variant:`outline`,size:`icon`,className:H(`bg-background/80 h-12 w-12 rounded-full border-2 shadow-lg`,i),onPress:S,"aria-label":r,...s,children:(0,u.jsx)(m.ArrowUp,{size:24,className:`text-foreground`})})})})});Mr.displayName=`ScrollToTop`;var Nr=e=>{let t=e.trim();return t.endsWith(`/`)?t.slice(0,-1):t},Pr=e=>e.trim().replace(/^@+/,``),Fr=(e,t)=>`${Nr(e)}/${encodeURIComponent(Pr(t))}`;function Ir({supportUrl:e=`https://www.buymeacoffee.com`,creatorId:t,title:n=`Buy me a coffee`,description:r=`Support the project directly from this panel.`,open:i,defaultOpen:a=!1,onOpenChange:o,positionClassName:s,buttonClassName:d,panelClassName:f,className:p,...h}){let g=i!==void 0,[_,v]=c.useState(a),y=g?i:_,b=c.useCallback(e=>{g||v(e),o?.(e)},[g,o]),x=c.useMemo(()=>Fr(e,t),[t,e]),S=c.useCallback(async()=>{try{await l.Linking.openURL(x)}catch(e){console.warn(`Failed to open external link:`,e)}},[x]);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(l.View,{style:{position:`absolute`,bottom:24,right:24,zIndex:50},className:s,children:(0,u.jsx)(W,{variant:`outline`,size:`icon`,className:H(`h-14 w-14 rounded-full border border-black/15 bg-[#ffdd00] shadow-lg`,d,p),onPress:()=>b(!0),"aria-label":`Support this project`,...h,children:(0,u.jsx)(m.Coffee,{size:24,className:`text-black`})})}),(0,u.jsx)(q,{open:y,onOpenChange:b,children:(0,u.jsxs)(J,{className:H(`max-w-sm`,f),children:[(0,u.jsxs)(Bt,{children:[(0,u.jsx)(Ht,{children:n}),(0,u.jsx)(Ut,{children:r})]}),(0,u.jsxs)(l.View,{className:`flex flex-col gap-4`,children:[(0,u.jsx)(l.View,{className:`overflow-hidden rounded-md border`,children:(0,u.jsx)(l.View,{className:`bg-muted flex h-48 items-center justify-center`,children:(0,u.jsxs)(G,{className:`text-muted-foreground text-center text-sm`,children:[`Embedded support form would appear here on web.`,`
|
|
2
|
-
`,`On mobile, this opens the external support page.`]})})}),(0,u.jsxs)(l.View,{className:`text-muted-foreground flex items-center justify-between gap-2 text-xs`,children:[(0,u.jsx)(G,{className:`text-muted-foreground flex-1 text-xs`,children:`If the embedded checkout is unavailable, open the support page directly.`}),(0,u.jsxs)(W,{variant:`outline`,size:`sm`,onPress:S,className:`flex flex-row items-center gap-1`,children:[(0,u.jsx)(G,{className:`text-xs`,children:`Open Buy Me a Coffee`}),(0,u.jsx)(m.ExternalLink,{size:12,className:`text-muted-foreground`})]})]})]})]})})]})}var Lr=c.forwardRef(({className:e,orientation:t=`horizontal`,decorative:n=!0,...r},i)=>(0,u.jsx)(N.Root,{ref:i,decorative:n,orientation:t,className:H(`bg-border shrink-0`,t===`horizontal`?`h-[1px] w-full`:`h-full w-[1px]`,e),...r}));Lr.displayName=N.Root?.displayName||`Separator`;var Rr=T.Root,zr=T.Trigger,Br=T.Close,Vr=T.Portal,Hr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(T.Overlay,{style:l.Platform.OS===`web`?void 0:l.StyleSheet.absoluteFill,asChild:!0,ref:n,...t,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:H(`web:cursor-default absolute inset-0 z-50 bg-black/80`,e)})}));Hr.displayName=T.Overlay?.displayName||`SheetOverlay`;var Ur=c.forwardRef(({className:e,children:t,side:n=`right`,overlayClassName:r,overlayStyle:i,...a},o)=>{let s=l.Platform.OS===`web`,c=s?void 0:h.SlideInRight,d=s?void 0:h.SlideOutRight;return(0,u.jsxs)(Vr,{children:[(0,u.jsx)(Hr,{className:r,style:i}),(0,u.jsx)(T.Content,{ref:o,asChild:!0,...a,children:(0,u.jsxs)(h.default.View,{entering:c,exiting:d,className:H(`bg-background web:cursor-default web:duration-200 web:ease-in-out absolute z-50 h-full w-3/4 gap-4 p-6 shadow-lg`,n===`right`&&`border-border data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right top-0 right-0 border-l`,n===`left`&&`border-border data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left top-0 left-0 border-r`,n===`top`&&`border-border data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top top-0 w-full border-b`,n===`bottom`&&`border-border data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom bottom-0 w-full border-t`,e),children:[t,(0,u.jsxs)(T.Close,{className:H(`ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none`,`web:absolute web:right-4 web:top-4`),children:[(0,u.jsx)(m.X,{size:24,className:`text-muted-foreground`}),(0,u.jsx)(G,{className:`sr-only`,children:`Close`})]})]})})]})});Ur.displayName=T.Content?.displayName||`SheetContent`;var Wr=({className:e,...t})=>(0,u.jsx)(l.View,{className:H(`flex flex-col space-y-2 text-center sm:text-left`,e),...t});Wr.displayName=`SheetHeader`;var Gr=({className:e,...t})=>(0,u.jsx)(l.View,{className:H(`flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2`,e),...t});Gr.displayName=`SheetFooter`;var Kr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(T.Title,{ref:n,className:H(`text-foreground text-lg font-semibold`,e),...t}));Kr.displayName=T.Title?.displayName||`SheetTitle`;var qr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(T.Description,{ref:n,className:H(`text-muted-foreground text-sm`,e),...t}));qr.displayName=T.Description?.displayName||`SheetDescription`;function Jr({className:e,...t}){let n=(0,h.useSharedValue)(.5);c.useEffect(()=>{n.value=(0,h.withRepeat)((0,h.withSequence)((0,h.withTiming)(.2,{duration:500}),(0,h.withTiming)(.5,{duration:500})),-1,!0)},[]);let r=(0,h.useAnimatedStyle)(()=>({opacity:n.value}));return(0,u.jsx)(h.default.View,{className:H(`bg-muted rounded-md`,e),style:r,...t})}var Yr=({className:e,value:t,onValueChange:n,defaultValue:r,min:i=0,max:a=100,step:o=1,disabled:s=!1,...c})=>{let l=t===void 0?i:t[0];return(0,u.jsxs)(P.Root,{value:l,onValueChange:e=>{n&&n(Array.isArray(e)?e:[e])},min:i,max:a,step:o,disabled:s,className:H(`relative flex w-full touch-none items-center select-none`,s&&`opacity-50`,e),...c,children:[(0,u.jsx)(P.Track,{className:`bg-secondary relative h-2 w-full grow rounded-full`,children:(0,u.jsx)(P.Range,{className:`bg-primary absolute h-full rounded-full`})}),(0,u.jsx)(P.Thumb,{className:`border-primary bg-background focus-visible:ring-ring block h-5 w-5 rounded-full border-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none`})]})};Yr.displayName=`Slider`;var Xr=({children:e})=>(0,u.jsx)(u.Fragment,{children:e}),Zr=()=>null,Qr=c.forwardRef(({className:e,variant:t=`default`,...n},r)=>(0,u.jsx)(F.Root,{ref:r,className:H(`group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg`,t===`default`?`border-border bg-background`:`border-destructive bg-destructive`,e),...n,children:(0,u.jsx)(h.default.View,{entering:h.FadeInUp,exiting:h.FadeOutDown,layout:h.Layout,className:`w-full flex-row items-center`,children:n.children})}));Qr.displayName=F.Root?.displayName||`Toast`;var $r=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(F.Title,{ref:n,className:H(`text-foreground text-sm font-semibold`,e),...t}));$r.displayName=F.Title?.displayName||`ToastTitle`;var ei=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(F.Description,{ref:n,className:H(`text-muted-foreground text-sm opacity-90`,e),...t}));ei.displayName=F.Description?.displayName||`ToastDescription`;var ti=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(F.Close,{ref:n,className:H(`text-foreground/50 hover:text-foreground absolute top-1 right-1 rounded-md p-1 opacity-0 transition-opacity group-hover:opacity-100 focus:opacity-100 focus:ring-1 focus:outline-none`,e),...t,children:(0,u.jsx)(m.X,{size:16,className:`text-muted-foreground`})}));ti.displayName=F.Close?.displayName||`ToastClose`;var ni=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(F.Action,{ref:n,className:H(`hover:bg-secondary focus:ring-ring inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors focus:ring-1 focus:outline-none disabled:pointer-events-none disabled:opacity-50`,e),...t}));ni.displayName=F.Action?.displayName||`ToastAction`;var ri=()=>(0,u.jsx)(Xr,{children:(0,u.jsx)(Zr,{})}),ii=c.forwardRef(({className:e,checked:t,onCheckedChange:n,...r},i)=>(0,u.jsx)(I.Root,{className:H(`peer focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input inline-flex h-6 w-11 shrink-0 cursor-pointer flex-row items-center rounded-full border-2 border-transparent transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50`,e),...r,checked:t??!1,onCheckedChange:n||(()=>{}),ref:i,children:(0,u.jsx)(I.Thumb,{className:H(`bg-background pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0`)})}));ii.displayName=I.Root?.displayName||`Switch`;var ai=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:H(`w-full caption-bottom text-sm`,e),...t}));ai.displayName=`Table`;var oi=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:H(`border-border border-b`,e),...t}));oi.displayName=`TableHeader`;var si=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:H(`flex-1`,e),...t}));si.displayName=`TableBody`;var ci=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:H(`bg-muted/50 font-medium [&>tr]:last:border-b-0`,e),...t}));ci.displayName=`TableFooter`;var li=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:H(`border-border hover:bg-muted/50 data-[state=selected]:bg-muted flex-row border-b transition-colors`,e),...t}));li.displayName=`TableRow`;var ui=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(G,{ref:n,className:H(`text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0`,e),...t}));ui.displayName=`TableHead`;var di=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(G,{ref:n,className:H(`p-4 align-middle [&:has([role=checkbox])]:pr-0`,e),...t}));di.displayName=`TableCell`;var fi=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(G,{ref:n,className:H(`text-muted-foreground mt-4 text-sm`,e),...t}));fi.displayName=`TableCaption`;var pi=c.forwardRef((e,t)=>(0,u.jsx)(L.Root,{ref:t,...e}));pi.displayName=`Tabs`;var mi=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(L.List,{ref:n,className:H(`bg-muted text-muted-foreground inline-flex h-10 flex-row items-center justify-center rounded-md p-1`,e),...t}));mi.displayName=L.List?.displayName||`TabsList`;var hi=c.forwardRef(({className:e,...t},n)=>{let{value:r}=L.useRootContext();return(0,u.jsx)(Ne.Provider,{value:H(`text-sm native:text-base font-medium text-muted-foreground web:transition-all`,r===t.value&&`text-foreground`),children:(0,u.jsx)(L.Trigger,{ref:n,className:H(`ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50`,t.disabled&&`opacity-50`,r===t.value&&`bg-background shadow-foreground/10 shadow-sm`,e),...t})})});hi.displayName=L.Trigger?.displayName||`TabsTrigger`;var gi=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(L.Content,{ref:n,className:H(`ring-offset-background focus-visible:ring-ring mt-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none`,e),...t}));gi.displayName=L.Content?.displayName||`TabsContent`;var _i=c.forwardRef(({className:e,placeholderClassName:t,...n},r)=>(0,u.jsx)(l.TextInput,{ref:r,multiline:!0,numberOfLines:n.numberOfLines||3,className:H(`border-input bg-background text-foreground placeholder:text-muted-foreground focus:border-ring flex min-h-[80px] w-full rounded-md border px-3 py-2 text-base shadow-sm transition-colors disabled:opacity-50`,e),placeholderClassName:H(`text-muted-foreground`,t),textAlignVertical:`top`,...n}));_i.displayName=`Textarea`;var vi=c.forwardRef(({className:e,variant:t,size:n,...r},i)=>(0,u.jsx)(Ne.Provider,{value:H(`text-sm native:text-base text-foreground font-medium`,r.pressed&&`text-accent-foreground`,e),children:(0,u.jsx)(R.Root,{ref:i,className:H((0,te.toggleVariants)({variant:t,size:n,className:e})),...r,pressed:r.pressed||!1,onPressedChange:r.onPressedChange||(()=>{})})}));vi.displayName=R.Root?.displayName||`Toggle`;var yi=c.createContext({size:`default`,variant:`default`}),bi=c.forwardRef(({className:e,variant:t,size:n,children:r,type:i,value:a,onValueChange:o,...s},c)=>(0,u.jsx)(z.Root,{ref:c,type:i,value:a,onValueChange:o,className:H(`flex flex-row items-center justify-center gap-1`,e),...s,children:(0,u.jsx)(yi.Provider,{value:{variant:t,size:n},children:r})}));bi.displayName=z.Root?.displayName||`ToggleGroup`;var xi=c.forwardRef(({className:e,children:t,variant:n,size:r,value:i,...a},o)=>{let s=c.useContext(yi);return(0,u.jsx)(Ne.Provider,{value:H(`text-sm native:text-base text-foreground font-medium`,a.disabled&&`web:cursor-not-allowed opacity-50`,i===``&&`text-accent-foreground`,e),children:(0,u.jsx)(z.Item,{ref:o,value:i,className:H((0,te.toggleVariants)({variant:s.variant||n,size:s.size||r}),e),...a,children:t})})});xi.displayName=z.Item?.displayName||`ToggleGroupItem`;var Si=B.Root,Ci=B.Trigger,wi=c.forwardRef(({className:e,portalHost:t,...n},r)=>(0,u.jsx)(B.Portal,{hostName:t,children:(0,u.jsx)(B.Overlay,{style:l.Platform.OS===`web`?void 0:l.StyleSheet.absoluteFill,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn,exiting:h.FadeOut,className:H(`border-border bg-popover web:animate-in web:fade-in-0 web:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 overflow-hidden rounded-md border px-3 py-1.5 shadow-md`,e),children:(0,u.jsx)(G,{className:`text-popover-foreground native:text-base text-sm`,children:n.children})})})}));wi.displayName=B.Content?.displayName||`TooltipContent`;var Ti=({children:e})=>(0,u.jsx)(u.Fragment,{children:e}),Ei=5,Di=1e6,Oi={ADD_TOAST:`ADD_TOAST`,UPDATE_TOAST:`UPDATE_TOAST`,DISMISS_TOAST:`DISMISS_TOAST`,REMOVE_TOAST:`REMOVE_TOAST`},ki=0;function Ai(){return ki=(ki+1)%(2**53-1),ki.toString()}var ji=new Map,Mi=e=>{if(ji.has(e))return;let t=setTimeout(()=>{ji.delete(e),Q({type:`REMOVE_TOAST`,toastId:e})},Di);ji.set(e,t)},Ni=(e,t)=>{switch(t.type){case Oi.ADD_TOAST:return{...e,toasts:[t.toast,...e.toasts].slice(0,Ei)};case Oi.UPDATE_TOAST:return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case Oi.DISMISS_TOAST:{let{toastId:n}=t;return n?Mi(n):e.toasts.forEach(e=>{Mi(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===n||n===void 0?{...e,open:!1}:e)}}case Oi.REMOVE_TOAST:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},Pi=[],Fi={toasts:[]};function Q(e){Fi=Ni(Fi,e),Pi.forEach(e=>{e(Fi)})}function Ii({...e}){let t=Ai(),n=e=>Q({type:`UPDATE_TOAST`,toast:{...e,id:t}}),r=()=>Q({type:`DISMISS_TOAST`,toastId:t});return Q({type:`ADD_TOAST`,toast:{...e,id:t,open:!0,onOpenChange:e=>{e||r()}}}),{id:t,dismiss:r,update:n}}function Li(){let[e,t]=c.useState(Fi);return c.useEffect(()=>(Pi.push(t),()=>{let e=Pi.indexOf(t);e>-1&&Pi.splice(e,1)}),[]),{...e,toast:Ii,dismiss:e=>Q({type:`DISMISS_TOAST`,toastId:e})}}function Ri(){let e=(0,l.useColorScheme)(),t=e;return{theme:e,resolvedTheme:t,tokens:t===`dark`?ne.theme.dark:ne.theme.light}}function zi({children:e,className:t,style:n,...r}){let{theme:i,tokens:a}=Ri();return(0,u.jsx)(l.View,{className:H(`flex-1`,i===`dark`?`dark`:``,t),style:[{backgroundColor:a.background},n],...r,children:e})}function Bi(e){(0,re.cssInterop)(e,{className:{target:`style`,nativeStyleToProp:{color:!0,opacity:!0}}})}Bi(m.Sun),Bi(m.Moon),Bi(m.SunMoon);function Vi({variant:e=`binary`,onThemeChange:t,customTheme:n,className:r}){let{theme:i,resolvedTheme:a}=Ri(),o=n??i,s=(n===`system`||!n?a:n)===`dark`,c=o===`system`,d=e=>{t?t(e):e===`system`?l.Appearance.setColorScheme(null):l.Appearance.setColorScheme(e)},f=()=>(0,u.jsxs)(l.View,{className:`flex h-6 w-6 items-center justify-center`,children:[(0,u.jsx)(l.View,{className:H(`items-center justify-center transition-all`,!c&&!s?`rotate-0 opacity-100`:`absolute -rotate-90 opacity-0`),children:(0,u.jsx)(m.Sun,{size:18,className:`text-foreground`})}),(0,u.jsx)(l.View,{className:H(`items-center justify-center transition-all`,!c&&s?`rotate-0 opacity-100`:`absolute rotate-90 opacity-0`),children:(0,u.jsx)(m.Moon,{size:18,className:`text-foreground`})}),(0,u.jsx)(l.View,{className:H(`items-center justify-center transition-all`,c?`rotate-0 opacity-100`:`absolute rotate-90 opacity-0`),children:(0,u.jsx)(m.SunMoon,{size:18,className:`text-foreground`})})]});return e===`ternary`?(0,u.jsxs)(en,{children:[(0,u.jsx)(tn,{asChild:!0,children:(0,u.jsx)(W,{variant:`ghost`,size:`icon`,className:H(`relative h-9 w-9`,r),children:(0,u.jsx)(f,{})})}),(0,u.jsxs)(cn,{align:`end`,children:[(0,u.jsxs)(Y,{onSelect:()=>d(`light`),children:[(0,u.jsx)(m.Sun,{size:14,className:`text-foreground mr-2`}),(0,u.jsx)(G,{children:`Light`})]}),(0,u.jsxs)(Y,{onSelect:()=>d(`dark`),children:[(0,u.jsx)(m.Moon,{size:14,className:`text-foreground mr-2`}),(0,u.jsx)(G,{children:`Dark`})]}),(0,u.jsxs)(Y,{onSelect:()=>d(`system`),children:[(0,u.jsx)(m.SunMoon,{size:14,className:`text-foreground mr-2`}),(0,u.jsx)(G,{children:`System`})]})]})]}):(0,u.jsx)(W,{variant:`ghost`,size:`icon`,className:H(`relative h-9 w-9`,r),onPress:()=>d(o===`dark`?`light`:`dark`),children:(0,u.jsx)(f,{})})}var Hi=()=>{let{toasts:e}=Li();return(0,u.jsx)(Xr,{children:(0,u.jsx)(l.View,{className:`pointer-events-none absolute right-6 bottom-6 left-6 z-50 flex flex-col gap-2`,children:e.map(({id:e,title:t,description:n,action:r,...i})=>(0,u.jsxs)(Qr,{...i,className:`pointer-events-auto`,children:[(0,u.jsxs)(l.View,{className:`flex flex-1 flex-col gap-1`,children:[t&&(0,u.jsx)($r,{children:t}),n&&(0,u.jsx)(ei,{children:n})]}),r,(0,u.jsx)(ti,{})]},e))})})},Ui=c.createContext(void 0);function Wi(){let e=c.useContext(Ui);if(!e)throw Error(`useTOC must be used within a TableOfContents provider`);return e}function Gi({children:e,activeId:t}){let[n,r]=c.useState([]),[i,a]=c.useState(null),o=c.useRef(null),s=c.useMemo(()=>{let e=t||i;return n.find(t=>t.id===e)?.text||null},[n,i,t]),d=c.useCallback((e,t,n,i)=>{r(r=>{let a=r.find(t=>t.id===e);return a&&Math.abs(a.pageY-i)<1?r:(a?r.map(r=>r.id===e?{id:e,text:t,level:n,pageY:i}:r):[...r,{id:e,text:t,level:n,pageY:i}]).sort((e,t)=>e.pageY-t.pageY)})},[]),f=c.useCallback(e=>{r(t=>t.filter(t=>t.id!==e))},[]),p=c.useCallback(e=>{let t=n.find(t=>t.id===e);t&&o.current&&o.current.scrollTo({y:t.pageY-20,animated:!0})},[n]),m=c.useCallback(e=>{let t=e.nativeEvent.contentOffset.y,r=null;for(let e=n.length-1;e>=0;e--)if(t>=n[e].pageY-100){r=n[e].id;break}r!==i&&a(r)},[n,i]),h=c.useMemo(()=>({headings:n,activeId:t||i,activeHeadingText:s,registerHeading:d,unregisterHeading:f,scrollToHeading:p,onScroll:m,scrollViewRef:o}),[n,i,t,s,d,f,p,m]);return(0,u.jsx)(Ui.Provider,{value:h,children:(0,u.jsx)(l.View,{className:`flex-1`,children:e})})}function Ki({children:e,level:t=2,id:n,className:r}){let{registerHeading:i,unregisterHeading:a}=Wi(),o=n||ie(e),s=c.useCallback(n=>{let{y:r}=n.nativeEvent.layout;i(o,e,t,r)},[o,e,t,i]);return c.useEffect(()=>()=>a(o),[o,a]),(0,u.jsx)(l.View,{onLayout:s,children:(0,u.jsx)(G,{variant:t===1?`h1`:t===2?`h2`:t===3?`h3`:`h4`,className:r,children:e})})}function qi({className:e}){let{headings:t,activeId:n,scrollToHeading:r}=Wi();if(t.length===0)return null;let i=Math.min(...t.map(e=>e.level));return(0,u.jsxs)(l.View,{className:H(`space-y-2 p-4`,e),children:[(0,u.jsx)(G,{variant:`overline`,className:`mb-2 font-bold`,children:`On this page`}),t.map(e=>{let t=n===e.id;return(0,u.jsx)(l.TouchableOpacity,{onPress:()=>r(e.id),style:{paddingLeft:(e.level-i)*16},className:`py-1`,children:(0,u.jsx)(l.Text,{className:H(`text-sm`,t?`text-primary font-bold`:`text-muted-foreground`),children:e.text})},e.id)})]})}function Ji({children:e,className:t}){let{scrollViewRef:n,onScroll:r}=Wi();return(0,u.jsx)(l.ScrollView,{ref:n,onScroll:r,className:H(`flex-1`,t),...l.Platform.OS!==`web`&&{scrollEventThrottle:16,contentContainerStyle:{padding:16}},children:e})}Gi.List=qi,Gi.Content=Ji,Gi.Heading=Ki;function Yi({className:e,orientation:t,...n}){return(0,u.jsx)(l.View,{className:H(`flex flex-row`,e),...n})}function Xi({className:e,asChild:t,...n}){return(0,u.jsx)(l.Text,{className:H(`text-sm font-medium`,e),...n})}function Zi({className:e,orientation:t,...n}){return(0,u.jsx)(l.View,{className:H(`bg-border h-full w-px`,e),...n})}var Qi=()=>``;function $i({children:e}){return(0,u.jsx)(u.Fragment,{children:e})}function ea(){return`ltr`}function ta({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`border-border flex w-full items-center justify-center rounded-xl border-2 border-dashed p-6`,e),...t})}function na({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`flex flex-col items-center gap-2`,e),...t})}function ra({className:e,variant:t,...n}){return(0,u.jsx)(l.View,{className:H(`flex items-center justify-center`,e),...n})}function ia({className:e,...t}){return(0,u.jsx)(l.Text,{className:H(`text-foreground text-lg font-semibold`,e),...t})}function aa({className:e,...t}){return(0,u.jsx)(l.Text,{className:H(`text-muted-foreground text-center text-sm`,e),...t})}function oa({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`mt-4 flex flex-col items-center gap-2`,e),...t})}function sa({className:e,...t}){return(0,u.jsx)(l.ActivityIndicator,{size:`small`,...t})}function ca({className:e,orientation:t,...n}){return(0,u.jsx)(l.View,{className:H(`flex flex-col gap-2`,e),...n})}function la({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`flex flex-col`,e),...t})}function ua({className:e,...t}){return(0,u.jsx)(l.Text,{className:H(`text-muted-foreground text-sm`,e),...t})}function da({className:e,errors:t,children:n,...r}){let i=n||t&&t[0]?.message;return i?(0,u.jsx)(l.Text,{className:H(`text-destructive text-sm`,e),...r,children:i}):null}function fa({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`flex flex-col gap-4`,e),...t})}function pa({className:e,...t}){return(0,u.jsx)(l.Text,{className:H(`text-sm font-medium`,e),...t})}function ma({className:e,variant:t,...n}){return(0,u.jsx)(l.Text,{className:H(`font-medium`,t===`label`?`text-sm`:`text-base`,e),...n})}function ha({className:e,children:t,...n}){return(0,u.jsx)(l.View,{className:H(`bg-border my-2 h-px`,e),...n,children:t?(0,u.jsx)(l.Text,{className:`bg-background absolute px-2 text-xs`,children:t}):null})}function ga({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`flex flex-col gap-4`,e),...t})}function _a({className:e,...t}){return(0,u.jsx)(l.Text,{className:H(`text-sm font-medium`,e),...t})}function va({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`border-input flex flex-row items-center rounded-md border`,e),...t})}function ya({className:e,align:t,...n}){return(0,u.jsx)(l.View,{className:H(`p-2`,e),...n})}function ba({className:e,type:t,variant:n,size:r,...i}){return(0,u.jsx)(W,{variant:n,size:r,className:e,...i})}function xa({className:e,...t}){return(0,u.jsx)(l.Text,{className:H(`text-muted-foreground text-sm`,e),...t})}function Sa({className:e,...t}){return(0,u.jsx)(l.TextInput,{className:H(`text-foreground flex-1 px-3 py-2`,e),...t})}function Ca({className:e,...t}){return(0,u.jsx)(l.TextInput,{multiline:!0,className:H(`text-foreground flex-1 px-3 py-2`,e),...t})}function wa({className:e,size:t,...n}){return(0,u.jsx)(l.View,{className:H(`border-input rounded-md border p-2`,e),...n,children:(0,u.jsx)(l.Text,{className:`text-muted-foreground`,children:`Select Not Implemented (Use Picker)`})})}function Ta({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function Ea({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function Da({className:e,...t}){return(0,u.jsx)(l.Text,{className:H(`bg-muted text-muted-foreground rounded-sm px-1 font-mono text-xs`,e),...t})}function Oa({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`flex flex-row items-center gap-1`,e),...t})}function ka({className:e,variant:t,size:n,...r}){return(0,u.jsx)(l.View,{className:H(`flex flex-row flex-wrap items-center gap-2 rounded-lg border p-3`,e),...r})}function Aa({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`flex flex-row items-center gap-2`,e),...t})}function ja({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`flex flex-1 flex-col gap-1`,e),...t})}function Ma({className:e,...t}){return(0,u.jsx)(l.Text,{className:H(`text-muted-foreground text-sm`,e),...t})}function Na({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`flex w-full flex-row items-center justify-between gap-2`,e),...t})}function Pa({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`flex flex-col gap-4`,e),...t})}function Fa({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`flex w-full flex-row items-center justify-between gap-2`,e),...t})}function Ia({className:e,variant:t,...n}){return(0,u.jsx)(l.View,{className:H(`flex shrink-0 items-center justify-center gap-2`,e),...n})}function La({className:e,orientation:t,...n}){return(0,u.jsx)(l.View,{className:H(`bg-border my-2 h-px w-full`,e),...n})}function Ra({className:e,...t}){return(0,u.jsx)(l.Text,{className:H(`text-sm font-medium`,e),...t})}var za=c.createContext(null);function $(){let e=c.useContext(za);if(!e)throw Error(`Combobox components must be rendered within a Combobox provider`);return e}function Ba({className:e,value:t,onValueChange:n,...r}){let[i,a]=c.useState(!1),[o,s]=c.useState(t||``),[d,f]=c.useState(``),p=t===void 0?o:t;return(0,u.jsx)(za.Provider,{value:{open:i,setOpen:a,value:p,setValue:e=>{s(e),n?.(e),a(!1)},searchQuery:d,setSearchQuery:f},children:(0,u.jsx)(q,{open:i,onOpenChange:a,children:(0,u.jsx)(l.View,{className:H(`relative`,e),...r})})})}function Va({className:e,children:t,...n}){let{value:r}=$();return(0,u.jsx)(l.View,{className:e,...n,children:(0,u.jsx)(G,{className:`text-sm`,children:t||r||`Select an item...`})})}function Ha({className:e,children:t,...n}){return(0,u.jsx)(It,{asChild:!0,children:(0,u.jsxs)(l.Pressable,{className:H(`border-input bg-background text-foreground flex h-10 w-full flex-row items-center justify-between rounded-md border px-3 py-2 text-sm`,e),...n,children:[(0,u.jsx)(l.View,{className:`flex-1 flex-row items-center`,children:V(t,G)}),(0,u.jsx)(m.ChevronDown,{size:16,className:`text-muted-foreground opacity-50`})]})})}function Ua({className:e,children:t,...n}){let{setValue:r}=$();return(0,u.jsx)(l.Pressable,{className:H(`flex items-center justify-center p-1`,e),onPress:()=>r(``),...n,children:t||(0,u.jsx)(m.X,{size:14,className:`text-muted-foreground`})})}function Wa({className:e,showClear:t,showTrigger:n,placeholder:r=`Search...`,...i}){let{searchQuery:a,setSearchQuery:o}=$();return(0,u.jsx)(l.View,{className:`border-border flex flex-row items-center border-b px-3`,children:(0,u.jsx)(l.TextInput,{className:H(`flex h-12 w-full rounded-md bg-transparent py-3 text-sm outline-none`,e),placeholder:r,placeholderTextColor:`#a1a1aa`,value:a,onChangeText:o,autoFocus:!0,...i})})}function Ga({className:e,side:t,sideOffset:n,align:r,alignOffset:i,anchor:a,...o}){return(0,u.jsx)(J,{className:`p-0`,children:(0,u.jsx)(l.View,{className:H(`bg-popover flex max-h-96 w-full flex-col overflow-hidden rounded-md`,e),...o})})}function Ka({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`max-h-[300px] overflow-hidden`,e),...t})}function qa({className:e,children:t,value:n,...r}){let{value:i,setValue:a,searchQuery:o}=$(),s=c.Children.toArray(t).join(``).toLowerCase();if(o&&!s.includes(o.toLowerCase())&&!n.toLowerCase().includes(o.toLowerCase()))return null;let d=i===n;return(0,u.jsxs)(l.Pressable,{className:H(`active:bg-accent relative flex w-full flex-row items-center rounded-sm py-2.5 pr-8 pl-2 text-sm outline-none`,d&&`bg-accent`,e),onPress:()=>a(n),...r,children:[(0,u.jsx)(l.View,{className:`flex-1`,children:V(t,G,{className:d?`font-semibold`:``})}),d&&(0,u.jsx)(l.View,{className:`absolute right-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(m.Check,{size:16,className:`text-foreground`})})]})}function Ja({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`text-foreground overflow-hidden p-1`,e),...t})}function Ya({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`text-muted-foreground px-2 py-1.5 text-xs font-semibold`,e),...t})}function Xa({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function Za({className:e,children:t,...n}){let{searchQuery:r}=$();return r?(0,u.jsx)(l.View,{className:H(`py-6 text-center text-sm`,e),...n,children:(0,u.jsx)(G,{className:`text-muted-foreground text-center`,children:t||`No results found.`})}):null}function Qa({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`bg-muted -mx-1 h-px`,e),...t})}function $a({className:e,...t}){return(0,u.jsx)(l.View,{className:H(`flex flex-row flex-wrap gap-1`,e),...t})}function eo({className:e,showRemove:t,children:n,...r}){return(0,u.jsxs)(l.View,{className:H(`bg-secondary text-secondary-foreground flex flex-row items-center rounded-md px-2 py-1`,e),...r,children:[V(n,G,{className:`text-xs`}),t&&(0,u.jsx)(m.X,{size:12,className:`ml-1 opacity-50`})]})}function to({className:e,...t}){return(0,u.jsx)(l.TextInput,{className:H(`flex-1 bg-transparent px-2 py-1 outline-none`,e),...t})}function no(){return c.useRef(null)}function ro({className:e,containerClassName:t,...n}){return(0,u.jsx)(l.View,{className:H(`border-destructive/50 rounded-md border border-dashed p-4`,t,e),...n,children:(0,u.jsx)(l.Text,{className:`text-destructive font-mono text-xs`,children:`InputOTP (Not Implemented)`})})}function io({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function ao({className:e,index:t,...n}){return(0,u.jsx)(l.View,{className:e,...n})}function oo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function so({className:e,defaultOpen:t,open:n,onOpenChange:r,...i}){return(0,u.jsx)(l.View,{className:e,...i})}function co({className:e,side:t,variant:n,collapsible:r,...i}){return(0,u.jsx)(l.View,{className:H(`border-destructive/50 rounded-md border border-dashed p-4`,e),...i,children:(0,u.jsx)(l.Text,{className:`text-destructive font-mono text-xs`,children:`Sidebar (Not Implemented)`})})}function lo({className:e,...t}){return(0,u.jsx)(l.Pressable,{className:e,...t})}function uo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function fo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function po({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function mo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function ho({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function go({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function _o({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function vo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function yo({className:e,asChild:t,...n}){return(0,u.jsx)(l.View,{className:e,...n})}function bo({className:e,asChild:t,...n}){return(0,u.jsx)(l.Pressable,{className:e,...n})}function xo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function So({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function Co({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function wo({className:e,asChild:t,isActive:n,variant:r,size:i,tooltip:a,...o}){return(0,u.jsx)(l.Pressable,{className:e,...o})}function To({className:e,asChild:t,showOnHover:n,...r}){return(0,u.jsx)(l.Pressable,{className:e,...r})}function Eo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function Do({className:e,showIcon:t,...n}){return(0,u.jsx)(l.View,{className:e,...n})}function Oo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function ko({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function Ao({className:e,asChild:t,size:n,isActive:r,...i}){return(0,u.jsx)(l.Pressable,{className:e,...i})}function jo(){return{state:`expanded`,open:!0,setOpen:()=>{},openMobile:!1,setOpenMobile:()=>{},isMobile:!1,toggleSidebar:()=>{}}}exports.Accordion=ae,exports.AccordionContent=le,exports.AccordionItem=oe,exports.AccordionTrigger=ce,exports.Alert=de,exports.AlertDescription=pe,exports.AlertDialog=he,exports.AlertDialogAction=we,exports.AlertDialogCancel=Te,exports.AlertDialogContent=ye,exports.AlertDialogDescription=Ce,exports.AlertDialogFooter=xe,exports.AlertDialogHeader=be,exports.AlertDialogOverlay=ve,exports.AlertDialogPortal=_e,exports.AlertDialogTitle=Se,exports.AlertDialogTrigger=ge,exports.AlertTitle=fe,exports.AspectRatio=Ee,exports.Avatar=De,exports.AvatarFallback=ke,exports.AvatarImage=Oe,exports.Badge=Me,exports.Breadcrumb=Fe,exports.BreadcrumbEllipsis=Ve,exports.BreadcrumbItem=Le,exports.BreadcrumbLink=Re,exports.BreadcrumbList=Ie,exports.BreadcrumbPage=ze,exports.BreadcrumbSeparator=Be,exports.Button=W,exports.ButtonGroup=Yi,exports.ButtonGroupSeparator=Zi,exports.ButtonGroupText=Xi,exports.Calendar=He,exports.Card=Ue,exports.CardContent=qe,exports.CardDescription=Ke,exports.CardFooter=Je,exports.CardHeader=We,exports.CardTitle=Ge,exports.Carousel=Xe,exports.CarouselContent=Ze,exports.CarouselItem=Qe,exports.CarouselNext=et,exports.CarouselPrevious=$e,exports.ChartContainer=tt,exports.ChartLegend=at,exports.ChartLegendContent=rt,exports.ChartStyle=ot,exports.ChartTooltip=it,exports.ChartTooltipContent=nt,exports.Checkbox=st,exports.Collapsible=ct,exports.CollapsibleContent=ut,exports.CollapsibleTrigger=lt,exports.Combobox=Ba,exports.ComboboxChip=eo,exports.ComboboxChips=$a,exports.ComboboxChipsInput=to,exports.ComboboxClear=Ua,exports.ComboboxCollection=Xa,exports.ComboboxContent=Ga,exports.ComboboxEmpty=Za,exports.ComboboxGroup=Ja,exports.ComboboxInput=Wa,exports.ComboboxItem=qa,exports.ComboboxLabel=Ya,exports.ComboboxList=Ka,exports.ComboboxSeparator=Qa,exports.ComboboxTrigger=Ha,exports.ComboboxValue=Va,exports.Command=dt,exports.CommandDialog=ft,exports.CommandEmpty=ht,exports.CommandGroup=gt,exports.CommandInput=pt,exports.CommandItem=_t,exports.CommandList=mt,exports.CommandSeparator=vt,exports.CommandShortcut=yt,exports.ContextMenu=bt,exports.ContextMenuCheckboxItem=kt,exports.ContextMenuContent=Dt,exports.ContextMenuGroup=Ct,exports.ContextMenuItem=Ot,exports.ContextMenuLabel=jt,exports.ContextMenuPortal=St,exports.ContextMenuRadioGroup=wt,exports.ContextMenuRadioItem=At,exports.ContextMenuSeparator=Mt,exports.ContextMenuShortcut=Nt,exports.ContextMenuSub=Tt,exports.ContextMenuSubContent=Ft,exports.ContextMenuSubTrigger=Pt,exports.ContextMenuTrigger=xt,exports.Dialog=q,exports.DialogClose=Rt,exports.DialogContent=J,exports.DialogDescription=Ut,exports.DialogFooter=Vt,exports.DialogHeader=Bt,exports.DialogTitle=Ht,exports.DialogTrigger=It,exports.DirectionProvider=$i,exports.Drawer=Wt,exports.DrawerClose=Zt,exports.DrawerContent=Jt,exports.DrawerDescription=$t,exports.DrawerFooter=Xt,exports.DrawerHeader=Yt,exports.DrawerOverlay=qt,exports.DrawerPortal=Kt,exports.DrawerTitle=Qt,exports.DrawerTrigger=Gt,exports.DropdownMenu=en,exports.DropdownMenuCheckboxItem=ln,exports.DropdownMenuContent=cn,exports.DropdownMenuGroup=rn,exports.DropdownMenuItem=Y,exports.DropdownMenuLabel=dn,exports.DropdownMenuPortal=nn,exports.DropdownMenuRadioGroup=an,exports.DropdownMenuRadioItem=un,exports.DropdownMenuSeparator=fn,exports.DropdownMenuShortcut=pn,exports.DropdownMenuSub=on,exports.DropdownMenuSubContent=hn,exports.DropdownMenuSubTrigger=mn,exports.DropdownMenuTrigger=tn,exports.Empty=ta,exports.EmptyContent=oa,exports.EmptyDescription=aa,exports.EmptyHeader=na,exports.EmptyMedia=ra,exports.EmptyTitle=ia,exports.Field=ca,exports.FieldContent=la,exports.FieldDescription=ua,exports.FieldError=da,exports.FieldGroup=fa,exports.FieldLabel=pa,exports.FieldLegend=ma,exports.FieldSeparator=ha,exports.FieldSet=ga,exports.FieldTitle=_a,exports.Form=_n,exports.FormControl=Cn,exports.FormDescription=wn,exports.FormField=yn,exports.FormItem=xn,exports.FormLabel=Sn,exports.FormMessage=Tn,exports.HoverCard=En,exports.HoverCardContent=On,exports.HoverCardTrigger=Dn,exports.Input=kn,exports.InputGroup=va,exports.InputGroupAddon=ya,exports.InputGroupButton=ba,exports.InputGroupInput=Sa,exports.InputGroupText=xa,exports.InputGroupTextarea=Ca,exports.InputOTP=ro,exports.InputOTPGroup=io,exports.InputOTPSeparator=oo,exports.InputOTPSlot=ao,exports.Item=ka,exports.ItemActions=Aa,exports.ItemContent=ja,exports.ItemDescription=Ma,exports.ItemFooter=Na,exports.ItemGroup=Pa,exports.ItemHeader=Fa,exports.ItemMedia=Ia,exports.ItemSeparator=La,exports.ItemTitle=Ra,exports.Kbd=Da,exports.KbdGroup=Oa,exports.Label=gn,exports.Menubar=An,exports.MenubarCheckboxItem=Bn,exports.MenubarContent=Rn,exports.MenubarGroup=Nn,exports.MenubarItem=zn,exports.MenubarLabel=Hn,exports.MenubarMenu=jn,exports.MenubarPortal=Mn,exports.MenubarRadioGroup=Pn,exports.MenubarRadioItem=Vn,exports.MenubarSeparator=Un,exports.MenubarShortcut=Wn,exports.MenubarSub=Fn,exports.MenubarSubContent=Kn,exports.MenubarSubTrigger=Gn,exports.MenubarTrigger=Ln,exports.NativeSelect=wa,exports.NativeSelectOptGroup=Ea,exports.NativeSelectOption=Ta,exports.NavigationMenu=qn,exports.NavigationMenuContent=Zn,exports.NavigationMenuIndicator=er,exports.NavigationMenuItem=Yn,exports.NavigationMenuLink=Qn,exports.NavigationMenuList=Jn,exports.NavigationMenuTrigger=Xn,exports.NavigationMenuViewport=$n,exports.Pagination=tr,exports.PaginationContent=nr,exports.PaginationEllipsis=or,exports.PaginationItem=rr,exports.PaginationLink=Z,exports.PaginationNext=ar,exports.PaginationPrevious=ir,exports.Popover=cr,exports.PopoverAnchor=ur,exports.PopoverContent=dr,exports.PopoverTrigger=lr,exports.Progress=fr,exports.RadioGroup=pr,exports.RadioGroupItem=mr,exports.ResizableHandle=_r,exports.ResizablePanel=gr,exports.ResizablePanelGroup=hr,exports.ScrollArea=vr,exports.ScrollToTop=Mr,exports.Search=br,exports.Select=Sr,exports.SelectContent=Or,exports.SelectGroup=Cr,exports.SelectItem=Ar,exports.SelectLabel=kr,exports.SelectScrollDownButton=Dr,exports.SelectScrollUpButton=Er,exports.SelectSeparator=jr,exports.SelectTrigger=Tr,exports.SelectValue=wr,exports.Separator=Lr,exports.Sheet=Rr,exports.SheetClose=Br,exports.SheetContent=Ur,exports.SheetDescription=qr,exports.SheetFooter=Gr,exports.SheetHeader=Wr,exports.SheetOverlay=Hr,exports.SheetPortal=Vr,exports.SheetTitle=Kr,exports.SheetTrigger=zr,exports.Sidebar=co,exports.SidebarContent=_o,exports.SidebarFooter=ho,exports.SidebarGroup=vo,exports.SidebarGroupAction=bo,exports.SidebarGroupContent=xo,exports.SidebarGroupLabel=yo,exports.SidebarHeader=mo,exports.SidebarInput=po,exports.SidebarInset=fo,exports.SidebarMenu=So,exports.SidebarMenuAction=To,exports.SidebarMenuBadge=Eo,exports.SidebarMenuButton=wo,exports.SidebarMenuItem=Co,exports.SidebarMenuSkeleton=Do,exports.SidebarMenuSub=Oo,exports.SidebarMenuSubButton=Ao,exports.SidebarMenuSubItem=ko,exports.SidebarProvider=so,exports.SidebarRail=uo,exports.SidebarSeparator=go,exports.SidebarTrigger=lo,exports.Skeleton=Jr,exports.Slider=Yr,exports.Sonner=ri,exports.Spinner=sa,exports.SupportFab=Ir,exports.Switch=ii,exports.Table=ai,exports.TableBody=si,exports.TableCaption=fi,exports.TableCell=di,exports.TableFooter=ci,exports.TableHead=ui,exports.TableHeader=oi,exports.TableOfContents=Gi,exports.TableOfContentsContent=Ji,exports.TableOfContentsHeading=Ki,exports.TableOfContentsList=qi,exports.TableRow=li,exports.Tabs=pi,exports.TabsContent=gi,exports.TabsList=mi,exports.TabsTrigger=hi,exports.Text=G,exports.Textarea=_i,exports.ThemeProvider=zi,exports.ThemeToggle=Vi,exports.Toast=Qr,exports.Toaster=Hi,exports.Toggle=vi,exports.ToggleGroup=bi,exports.ToggleGroupItem=xi,exports.Tooltip=Si,exports.TooltipContent=wi,exports.TooltipProvider=Ti,exports.TooltipTrigger=Ci,exports.badgeVariants=Ae,exports.buttonGroupVariants=Qi,exports.buttonVariants=U,exports.cn=H,exports.textVariants=Pe,exports.toast=Ii,exports.toggleVariants=te.toggleVariants,exports.useComboboxAnchor=no,exports.useDirection=ea,exports.useFormField=X,exports.useSidebar=jo,exports.useTheme=Ri,exports.useToast=Li,exports.wrapTextChildren=V;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require("react");c=s(c);let l=require("react-native"),u=require("react/jsx-runtime"),d=require("clsx"),f=require("tailwind-merge"),p=require("@rn-primitives/accordion");p=s(p);let m=require("lucide-react-native"),h=require("react-native-reanimated");h=s(h);let g=require("class-variance-authority"),_=require("@rn-primitives/alert-dialog");_=s(_);let v=require("@rn-primitives/aspect-ratio");v=s(v);let y=require("@rn-primitives/avatar");y=s(y);let b=require("@rn-primitives/slot");b=s(b);let x=require("@react-native-community/datetimepicker");x=s(x);let S=require("@rn-primitives/checkbox");S=s(S);let C=require("@rn-primitives/collapsible");C=s(C);let w=require("@rn-primitives/context-menu");w=s(w);let T=require("@rn-primitives/dialog");T=s(T);let ee=require("@radix-ui/react-dropdown-menu");ee=s(ee);let E=require("@rn-primitives/dropdown-menu");E=s(E);let te=require("react-hook-form"),D=require("@rn-primitives/label");D=s(D);let O=require("@rn-primitives/hover-card");O=s(O);let k=require("@rn-primitives/menubar");k=s(k);let A=require("@rn-primitives/navigation-menu");A=s(A);let j=require("@rn-primitives/radio-group");j=s(j);let M=require("@rn-primitives/select");M=s(M);let N=require("@rn-primitives/separator");N=s(N);let P=require("@rn-primitives/slider");P=s(P);let F=require("@rn-primitives/toast");F=s(F);let I=require("@rn-primitives/switch");I=s(I);let L=require("@rn-primitives/tabs");L=s(L);let ne=require("@gv-tech/ui-core"),R=require("@rn-primitives/toggle");R=s(R);let z=require("@rn-primitives/toggle-group");z=s(z);let B=require("@rn-primitives/tooltip");B=s(B);let V=require("@gv-tech/design-tokens"),re=require("react-native-css-interop");function H(e,t=l.Text,n={}){return c.Children.map(e,e=>typeof e==`string`||typeof e==`number`?(0,u.jsx)(t,{...n,children:e}):e)}function U(...e){return(0,f.twMerge)((0,d.clsx)(e))}function ie(e){return e.toString().toLowerCase().trim().replace(/\s+/g,`-`).replace(/[^\w-]+/g,``).replace(/--+/g,`-`)}var ae=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(p.Root,{ref:n,className:U(`web:gap-0`,e),...t}));ae.displayName=p.Root?.displayName||`Accordion`;var oe=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(p.Item,{ref:n,className:U(`border-border overflow-hidden border-b`,e),...t}));oe.displayName=p.Item?.displayName||`AccordionItem`;var se=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(p.Header,{ref:n,className:U(`flex flex-row`,e),...t}));se.displayName=p.Header?.displayName||`AccordionHeader`;var ce=c.forwardRef(({className:e,children:t,...n},r)=>{let{isExpanded:i}=p.useItemContext(),a=(0,h.useDerivedValue)(()=>i?(0,h.withTiming)(1,{duration:250}):(0,h.withTiming)(0,{duration:200})),o=(0,h.useAnimatedStyle)(()=>({transform:[{rotate:`${a.value*180}deg`}],opacity:(0,h.interpolate)(a.value,[0,1],[1,.8],h.Extrapolation.CLAMP)}));return(0,u.jsx)(p.Header,{className:`flex`,children:(0,u.jsxs)(p.Trigger,{ref:r,className:U(`flex flex-row items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180`,e),...n,children:[(0,u.jsx)(u.Fragment,{children:t}),(0,u.jsx)(h.default.View,{style:o,children:(0,u.jsx)(m.ChevronDown,{className:`text-muted-foreground h-4 w-4 shrink-0 transition-transform duration-200`})})]})})});ce.displayName=p.Trigger?.displayName||`AccordionTrigger`;var le=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(p.Content,{ref:r,className:U(`data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all`,e),...n,children:(0,u.jsx)(l.View,{className:U(`pt-0 pb-4`,e),children:t})}));le.displayName=p.Content?.displayName||`AccordionContent`;var ue=(0,g.cva)(`relative w-full rounded-lg border p-4`,{variants:{variant:{default:`bg-background border-border`,destructive:`border-destructive/50 bg-destructive/10`,warning:`border-amber-500/50 bg-amber-500/10`,info:`border-blue-500/50 bg-blue-500/10`}},defaultVariants:{variant:`default`}}),de=c.forwardRef(({className:e,variant:t,children:n,...r},i)=>(0,u.jsx)(l.View,{ref:i,className:U(ue({variant:t}),e),...r,children:H(n)}));de.displayName=`Alert`;var fe=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.Text,{ref:n,className:U(`text-foreground mb-1 leading-none font-medium tracking-tight`,e),...t}));fe.displayName=`AlertTitle`;var pe=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.Text,{ref:n,className:U(`text-muted-foreground text-sm leading-relaxed`,e),...t}));pe.displayName=`AlertDescription`;var me=(0,g.cva)(`flex-row items-center justify-center gap-2 rounded-md transition-colors active:opacity-80`,{variants:{variant:{default:`bg-primary shadow-sm`,destructive:`bg-destructive shadow-sm`,outline:`border border-input bg-transparent shadow-sm`,secondary:`bg-secondary shadow-sm`,ghost:`bg-transparent`,link:`bg-transparent`},size:{default:`h-10 px-4 py-2`,xs:`h-7 px-2`,sm:`h-9 px-3`,lg:`h-12 px-8`,icon:`h-10 w-10`,"icon-xs":`h-7 w-7`,"icon-sm":`h-9 w-9`,"icon-lg":`h-12 w-12`}},defaultVariants:{variant:`default`,size:`default`}}),he=(0,g.cva)(`text-sm font-medium`,{variants:{variant:{default:`text-primary-foreground`,destructive:`text-destructive-foreground`,outline:`text-foreground`,secondary:`text-secondary-foreground`,ghost:`text-foreground`,link:`text-primary underline`}},defaultVariants:{variant:`default`}}),W=c.forwardRef(({className:e,variant:t,size:n,onPress:r,children:i,disabled:a,...o},s)=>(0,u.jsx)(l.Pressable,{ref:s,onPress:r,disabled:a,className:U(me({variant:t,size:n,className:e}),a&&`opacity-50`),...o,children:H(i,l.Text,{className:U(he({variant:t}))})}));W.displayName=`Button`;var ge=_.Root,_e=_.Trigger,ve=_.Portal,ye=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(_.Overlay,{style:l.StyleSheet.absoluteFill,asChild:!0,ref:n,...t,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:U(`z-50 flex items-center justify-center bg-black/80 p-2`,e)})}));ye.displayName=_.Overlay?.displayName||`AlertDialogOverlay`;var be=c.forwardRef(({className:e,portalHost:t,overlayClassName:n,overlayStyle:r,...i},a)=>(0,u.jsxs)(ve,{hostName:t,children:[(0,u.jsx)(ye,{className:n,style:r}),(0,u.jsx)(l.View,{pointerEvents:`box-none`,className:U(`absolute inset-0 z-50 flex items-center justify-center p-4`,l.Platform.OS===`web`&&`fixed`),children:(0,u.jsx)(_.Content,{ref:a,asChild:!0,...i,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:U(`border-border bg-background w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg`,e),children:i.children})})})]}));be.displayName=_.Content?.displayName||`AlertDialogContent`;var xe=({className:e,...t})=>(0,u.jsx)(l.View,{className:U(`flex flex-col gap-2 text-center sm:text-left`,e),...t});xe.displayName=`AlertDialogHeader`;var Se=({className:e,...t})=>(0,u.jsx)(l.View,{className:U(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t});Se.displayName=`AlertDialogFooter`;var Ce=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(_.Title,{ref:n,className:U(`native:text-xl text-foreground text-lg font-semibold`,e),...t}));Ce.displayName=_.Title?.displayName||`AlertDialogTitle`;var we=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(_.Description,{ref:n,className:U(`native:text-base text-muted-foreground text-sm`,e),...t}));we.displayName=_.Description?.displayName||`AlertDialogDescription`;var Te=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(_.Action,{ref:n,className:U(me(),e),...t}));Te.displayName=_.Action?.displayName||`AlertDialogAction`;var Ee=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(_.Cancel,{ref:n,className:U(me({variant:`outline`}),`mt-2 sm:mt-0`,e),...t}));Ee.displayName=_.Cancel?.displayName||`AlertDialogCancel`;var De=({children:e,className:t,ratio:n=1})=>(0,u.jsx)(v.Root,{ratio:n,className:U(`w-full`,t),children:e});De.displayName=`AspectRatio`;var Oe=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(y.Root,{ref:n,className:U(`relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full`,e),...t}));Oe.displayName=y.Root?.displayName||`Avatar`;var ke=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(y.Image,{ref:n,className:U(`aspect-square h-full w-full`,e),...t}));ke.displayName=y.Image?.displayName||`AvatarImage`;var Ae=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(y.Fallback,{ref:n,className:U(`bg-muted flex h-full w-full items-center justify-center rounded-full`,e),...t}));Ae.displayName=y.Fallback?.displayName||`AvatarFallback`;var je=(0,g.cva)(`flex-row items-center rounded-md border px-2 py-0.5`,{variants:{variant:{default:`border-transparent bg-primary`,secondary:`border-transparent bg-secondary`,destructive:`border-transparent bg-destructive`,outline:`border-border bg-transparent`}},defaultVariants:{variant:`default`}}),Me=(0,g.cva)(`text-xs font-semibold`,{variants:{variant:{default:`text-primary-foreground`,secondary:`text-secondary-foreground`,destructive:`text-destructive-foreground`,outline:`text-foreground`}},defaultVariants:{variant:`default`}});function Ne({className:e,textClassName:t,variant:n,children:r,...i}){return(0,u.jsx)(l.View,{className:U(je({variant:n}),e),...i,children:H(r,l.Text,{className:U(Me({variant:n}),t)})})}var Pe=c.createContext(void 0),Fe=(0,g.cva)(`text-foreground`,{variants:{variant:{h1:`text-4xl font-extrabold tracking-tight`,h2:`text-3xl font-semibold tracking-tight`,h3:`text-2xl font-semibold tracking-tight`,h4:`text-xl font-semibold tracking-tight`,body:`text-base leading-7`,bodySmall:`text-sm leading-6`,caption:`text-xs text-muted-foreground`,label:`text-sm font-medium`,overline:`text-xs font-semibold uppercase tracking-widest text-muted-foreground`}},defaultVariants:{variant:`body`}}),G=c.forwardRef(({className:e,variant:t=`body`,children:n,...r},i)=>(0,u.jsx)(l.Text,{ref:i,className:U(Fe({variant:t,className:e})),...r,children:n}));G.displayName=`Text`;var Ie=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,"aria-label":`breadcrumb`,className:U(`flex flex-row`,e),...n,children:t}));Ie.displayName=`Breadcrumb`;var Le=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,className:U(`text-muted-foreground flex flex-row flex-wrap items-center gap-1.5 break-words sm:gap-2.5`,e),...n,children:t}));Le.displayName=`BreadcrumbList`;var Re=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,className:U(`flex flex-row items-center gap-1.5`,e),...n,children:t}));Re.displayName=`BreadcrumbItem`;var ze=c.forwardRef(({asChild:e,className:t,children:n,onPress:r,...i},a)=>(0,u.jsx)(e?b.Slot:l.Pressable,{ref:a,onPress:r,className:U(`hover:text-foreground active:text-foreground flex flex-row items-center transition-colors`,t),...i,children:H(n,G,{className:`text-muted-foreground hover:text-foreground text-sm font-medium`})}));ze.displayName=`BreadcrumbLink`;var Be=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,role:`link`,"aria-disabled":!0,"aria-current":`page`,className:U(`flex flex-row items-center`,e),...n,children:H(t,G,{className:`text-foreground text-sm font-normal`})}));Be.displayName=`BreadcrumbPage`;var Ve=({children:e,className:t,...n})=>(0,u.jsx)(l.View,{role:`presentation`,"aria-hidden":!0,className:U(`flex flex-row items-center justify-center`,t),...n,children:e??(0,u.jsx)(m.ChevronRight,{size:14,className:`text-muted-foreground`})});Ve.displayName=`BreadcrumbSeparator`;var He=({className:e,children:t,...n})=>(0,u.jsx)(l.View,{role:`presentation`,"aria-hidden":!0,className:U(`flex h-9 w-9 flex-row items-center justify-center`,e),...n,children:t??(0,u.jsx)(m.MoreHorizontal,{size:14,className:`text-muted-foreground`})});He.displayName=`BreadcrumbEllipsis`;var Ue=c.forwardRef(({className:e,value:t,onChange:n,showOutsideDays:r,...i},a)=>{let[o,s]=c.useState(t||new Date);return c.useEffect(()=>{t&&s(t)},[t]),(0,u.jsx)(l.View,{ref:a,className:U(`bg-background overflow-hidden rounded-md`,e),children:(0,u.jsx)(x.default,{value:o,mode:`date`,display:`inline`,onValueChange:(e,t)=>{s(t),n&&n(e,t)},onDismiss:()=>{n&&n({type:`dismissed`},o)},...i})})});Ue.displayName=`Calendar`;var We=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:U(`border-border bg-card rounded-xl border shadow-sm`,e),...t}));We.displayName=`Card`;var Ge=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:U(`flex flex-col space-y-1.5 p-6`,e),...t}));Ge.displayName=`CardHeader`;var Ke=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.Text,{ref:n,className:U(`text-card-foreground text-lg leading-none font-semibold tracking-tight`,e),...t}));Ke.displayName=`CardTitle`;var qe=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.Text,{ref:n,className:U(`text-muted-foreground text-sm`,e),...t}));qe.displayName=`CardDescription`;var Je=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:U(`p-6 pt-0`,e),...t,children:H(t.children,l.Text,{className:`text-sm text-card-foreground`})}));Je.displayName=`CardContent`;var Ye=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:U(`flex flex-row items-center p-6 pt-0`,e),...t}));Ye.displayName=`CardFooter`;var Xe=c.createContext(null);function K(){let e=c.useContext(Xe);if(!e)throw Error(`useCarousel must be used within a <Carousel />`);return e}var Ze=c.forwardRef(({children:e,className:t,opts:n,orientation:r=`horizontal`,setApi:i,plugins:a,...o},s)=>{let d=c.useRef(null),[f,p]=c.useState(!0),[m,h]=c.useState(!1),[g,_]=c.useState(l.Dimensions.get(`window`).width),[v,y]=c.useState(0),b=c.useCallback(()=>{d.current?.scrollTo({x:(v+1)*g,animated:!0})},[v,g]),x=c.useCallback(()=>{d.current?.scrollTo({x:Math.max(0,v-1)*g,animated:!0})},[v,g]);return c.useEffect(()=>{i&&i({scrollNext:b,scrollPrev:x,canScrollNext:()=>f,canScrollPrev:()=>m,on:()=>{},off:()=>{}})},[i,b,x,f,m]),(0,u.jsx)(Xe.Provider,{value:{orientation:r,scrollRef:d,scrollNext:b,scrollPrev:x,canScrollNext:f,canScrollPrev:m,itemWidth:g,setItemWidth:_},children:(0,u.jsx)(l.View,{ref:s,className:U(`relative`,t),...o,children:e})})});Ze.displayName=`Carousel`;var Qe=c.forwardRef(({children:e,className:t,...n},r)=>{let{scrollRef:i,orientation:a}=K();return(0,u.jsx)(l.View,{className:`overflow-hidden`,children:(0,u.jsx)(l.ScrollView,{ref:i,horizontal:a===`horizontal`,showsHorizontalScrollIndicator:!1,showsVerticalScrollIndicator:!1,pagingEnabled:!0,snapToInterval:a===`horizontal`?l.Dimensions.get(`window`).width:void 0,decelerationRate:`fast`,className:U(`flex`,a===`horizontal`?`flex-row`:`flex-col`,t),...n,children:e})})});Qe.displayName=`CarouselContent`;var $e=c.forwardRef(({children:e,className:t,...n},r)=>{let{orientation:i,setItemWidth:a}=K();return(0,u.jsx)(l.View,{ref:r,onLayout:e=>{i===`horizontal`&&a(e.nativeEvent.layout.width)},className:U(`min-w-0 shrink-0 grow-0 basis-full`,t),...n,children:e})});$e.displayName=`CarouselItem`;var et=c.forwardRef(({className:e,variant:t=`outline`,size:n=`icon`,...r},i)=>{let{orientation:a,scrollPrev:o,canScrollPrev:s}=K();return(0,u.jsx)(W,{ref:i,variant:t,size:n,className:U(`absolute h-8 w-8 rounded-full`,a===`horizontal`?`top-1/2 -left-12 -translate-y-1/2`:`-top-12 left-1/2 -translate-x-1/2 rotate-90`,e),disabled:!s,onPress:o,...r,children:(0,u.jsx)(m.ArrowLeft,{className:`text-foreground h-4 w-4`,size:16})})});et.displayName=`CarouselPrevious`;var tt=c.forwardRef(({className:e,variant:t=`outline`,size:n=`icon`,...r},i)=>{let{orientation:a,scrollNext:o,canScrollNext:s}=K();return(0,u.jsx)(W,{ref:i,variant:t,size:n,className:U(`absolute h-8 w-8 rounded-full`,a===`horizontal`?`top-1/2 -right-12 -translate-y-1/2`:`-bottom-12 left-1/2 -translate-x-1/2 rotate-90`,e),disabled:!s,onPress:o,...r,children:(0,u.jsx)(m.ArrowRight,{className:`text-foreground h-4 w-4`,size:16})})});tt.displayName=`CarouselNext`;var nt=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:e}),rt=({className:e})=>(0,u.jsx)(l.View,{className:e}),it=({className:e})=>(0,u.jsx)(l.View,{className:e}),at=({children:e})=>(0,u.jsx)(u.Fragment,{children:e}),ot=({children:e})=>(0,u.jsx)(u.Fragment,{children:e}),st=()=>null,ct=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(S.Root,{ref:n,className:U(`web:peer native:h-[20] native:w-[20] native:rounded border-primary web:ring-offset-background web:focus-visible:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 h-4 w-4 shrink-0 rounded-sm border disabled:cursor-not-allowed disabled:opacity-50`,t.checked&&`bg-primary`,e),...t,children:(0,u.jsx)(S.Indicator,{className:U(`h-full w-full items-center justify-center`),children:(0,u.jsx)(m.Check,{size:12,strokeWidth:l.Platform.OS===`web`?2.5:3.5,className:`text-primary-foreground`})})}));ct.displayName=S.Root?.displayName||`Checkbox`;var lt=C.Root,ut=C.Trigger,dt=C.Content,ft=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:H(e)}),pt=({children:e})=>(0,u.jsx)(u.Fragment,{children:e}),mt=({className:e})=>(0,u.jsx)(l.View,{className:e}),ht=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:H(e)}),gt=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:H(e)}),_t=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:H(e)}),vt=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:H(e)}),yt=({className:e})=>(0,u.jsx)(l.View,{className:e}),bt=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:H(e)}),xt=w.Root,St=w.Trigger,Ct=w.Portal,wt=w.Group,Tt=w.RadioGroup,Et=w.Sub,Dt=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(w.Overlay,{style:l.Platform.OS===`web`?void 0:l.StyleSheet.absoluteFill,ref:n,...t,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(100),exiting:h.FadeOut.duration(100),className:U(`absolute inset-0 z-50 bg-black/30`,e)})}));Dt.displayName=`ContextMenuOverlay`;var Ot=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsxs)(Ct,{children:[(0,u.jsx)(Dt,{}),(0,u.jsx)(w.Content,{ref:r,className:U(`bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md`,e),...n,children:t})]}));Ot.displayName=`ContextMenuContent`;var kt=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsx)(w.Item,{ref:i,className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none`,n&&`pl-8`,e),...r,children:H(t,G)}));kt.displayName=`ContextMenuItem`;var At=c.forwardRef(({className:e,children:t,checked:n,onCheckedChange:r,...i},a)=>(0,u.jsxs)(w.CheckboxItem,{ref:a,checked:!!n,onCheckedChange:r||(()=>{}),className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none`,e),...i,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(w.ItemIndicator,{children:(0,u.jsx)(m.Check,{size:14,className:`text-foreground`})})}),H(t,G)]}));At.displayName=`ContextMenuCheckboxItem`;var jt=c.forwardRef(({className:e,children:t,value:n,...r},i)=>(0,u.jsxs)(w.RadioItem,{ref:i,value:n,className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none`,e),...r,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(w.ItemIndicator,{children:(0,u.jsx)(m.Circle,{size:8,className:`text-foreground fill-current`})})}),H(t,G)]}));jt.displayName=`ContextMenuRadioItem`;var Mt=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsx)(w.Label,{ref:i,className:U(`text-foreground px-2 py-1.5 text-sm font-semibold`,n&&`pl-8`,e),...r,children:H(t,G)}));Mt.displayName=`ContextMenuLabel`;var Nt=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(w.Separator,{ref:n,className:U(`bg-border -mx-1 my-1 h-px`,e),...t}));Nt.displayName=`ContextMenuSeparator`;var Pt=({className:e,children:t,...n})=>(0,u.jsx)(G,{className:U(`text-muted-foreground ml-auto text-xs tracking-widest`,e),...n,children:t});Pt.displayName=`ContextMenuShortcut`;var Ft=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsxs)(w.SubTrigger,{ref:i,className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none`,n&&`pl-8`,e),...r,children:[(0,u.jsx)(l.View,{className:`flex flex-row items-center gap-1.5`,children:H(t,G)}),(0,u.jsx)(m.ChevronRight,{size:14,className:`text-foreground ml-auto`})]}));Ft.displayName=`ContextMenuSubTrigger`;var It=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(w.SubContent,{ref:r,className:U(`bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md`,e),...n,children:t}));It.displayName=`ContextMenuSubContent`;var q=T.Root,Lt=T.Trigger,Rt=T.Portal,zt=T.Close,Bt=c.forwardRef(({className:e,style:t,...n},r)=>(0,u.jsx)(T.Overlay,{style:[{position:l.Platform.OS===`web`?`fixed`:`absolute`,top:0,right:0,bottom:0,left:0,zIndex:50},t],asChild:!0,ref:r,...n,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:U(`flex items-center justify-center bg-black/80 p-2`,e)})}));Bt.displayName=T.Overlay?.displayName||`DialogOverlay`;var J=c.forwardRef(({className:e,children:t,portalHost:n,overlayClassName:r,overlayStyle:i,...a},o)=>(0,u.jsxs)(Rt,{hostName:n,children:[(0,u.jsx)(Bt,{className:r,style:i}),(0,u.jsx)(l.View,{pointerEvents:`box-none`,className:U(`absolute inset-0 z-50 flex items-center justify-center p-4`,l.Platform.OS===`web`&&`fixed`),children:(0,u.jsx)(T.Content,{ref:o,asChild:!0,...a,children:(0,u.jsxs)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:U(`border-border bg-background w-full max-w-lg gap-4 rounded-xl border p-6 shadow-lg sm:rounded-lg`,e),children:[t,(0,u.jsxs)(T.Close,{className:`ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none`,children:[(0,u.jsx)(m.X,{size:18,className:`text-muted-foreground`}),(0,u.jsx)(l.View,{className:`sr-only`,children:(0,u.jsx)(T.Title,{children:`Close`})})]})]})})})]}));J.displayName=T.Content?.displayName||`DialogContent`;var Vt=({className:e,...t})=>(0,u.jsx)(l.View,{className:U(`flex flex-col gap-1.5 text-center sm:text-left`,e),...t});Vt.displayName=`DialogHeader`;var Ht=({className:e,...t})=>(0,u.jsx)(l.View,{className:U(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...t});Ht.displayName=`DialogFooter`;var Ut=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(T.Title,{ref:n,className:U(`native:text-xl text-foreground text-lg leading-none font-semibold tracking-tight`,e),...t}));Ut.displayName=T.Title?.displayName||`DialogTitle`;var Wt=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(T.Description,{ref:n,className:U(`native:text-base text-muted-foreground text-sm`,e),...t}));Wt.displayName=T.Description?.displayName||`DialogDescription`;var Gt=({children:e})=>(0,u.jsx)(T.Root,{children:e});Gt.displayName=`Drawer`;var Kt=c.forwardRef(({children:e,className:t,...n},r)=>(0,u.jsx)(T.Trigger,{ref:r,className:t,...n,children:H(e)}));Kt.displayName=`DrawerTrigger`;var qt=T.Portal,Jt=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(T.Overlay,{style:l.StyleSheet.absoluteFill,asChild:!0,ref:n,...t,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:U(`z-50 bg-black/80`,e)})}));Jt.displayName=`DrawerOverlay`;var Yt=c.forwardRef(({className:e,children:t,portalHost:n,overlayClassName:r,overlayStyle:i,...a},o)=>(0,u.jsxs)(qt,{hostName:n,children:[(0,u.jsx)(Jt,{className:r,style:i}),(0,u.jsx)(T.Content,{ref:o,asChild:!0,...a,children:(0,u.jsxs)(h.default.View,{entering:h.SlideInDown.duration(200),exiting:h.SlideOutDown.duration(200),className:U(`border-border bg-background fixed inset-x-0 bottom-0 z-50 flex h-auto flex-col rounded-t-xl border p-6 pb-10 shadow-lg`,e),children:[(0,u.jsx)(l.View,{className:`bg-muted mx-auto mb-4 h-1.5 w-12 rounded-full`}),t]})})]}));Yt.displayName=`DrawerContent`;var Xt=({className:e,children:t,...n})=>(0,u.jsx)(l.View,{className:U(`flex flex-col gap-1.5 text-center sm:text-left`,e),...n,children:H(t)});Xt.displayName=`DrawerHeader`;var Zt=({className:e,children:t,...n})=>(0,u.jsx)(l.View,{className:U(`mt-auto flex flex-col gap-2`,e),...n,children:H(t)});Zt.displayName=`DrawerFooter`;var Qt=c.forwardRef(({children:e,className:t,...n},r)=>(0,u.jsx)(T.Close,{ref:r,className:t,...n,children:H(e)}));Qt.displayName=`DrawerClose`;var $t=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(T.Title,{ref:r,className:U(`text-foreground text-lg leading-none font-semibold tracking-tight`,e),...n,children:H(t)}));$t.displayName=`DrawerTitle`;var en=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(T.Description,{ref:r,className:U(`text-muted-foreground text-sm`,e),...n,children:H(t)}));en.displayName=`DrawerDescription`;var tn=E.Root,nn=E.Trigger,rn=E.Portal,an=E.Group,on=E.RadioGroup,sn=E.Sub,cn=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(E.Overlay,{style:l.Platform.OS===`web`?void 0:l.StyleSheet.absoluteFill,ref:n,...t,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(100),exiting:h.FadeOut.duration(100),className:U(`absolute inset-0 z-50 bg-black/30`,e)})}));cn.displayName=`DropdownMenuOverlay`;var ln=c.forwardRef(({className:e,children:t,side:n,...r},i)=>{let a=n===`left`||n===`right`?`bottom`:n;return(0,u.jsxs)(rn,{children:[(0,u.jsx)(cn,{}),(0,u.jsx)(E.Content,{ref:i,side:a,className:U(`bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md`,e),...r,children:t})]})});ln.displayName=`DropdownMenuContent`;var Y=c.forwardRef(({className:e,children:t,inset:n,onSelect:r,...i},a)=>l.Platform.OS===`web`?(0,u.jsx)(ee.Item,{ref:a,onSelect:r,className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex cursor-default flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none`,n&&`pl-8`,e),...i,children:t}):(0,u.jsx)(E.Item,{ref:a,onPress:()=>r?.(new Event(`select`)),className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none`,n&&`pl-8`,e),...i,children:H(t,G)}));Y.displayName=`DropdownMenuItem`;var un=c.forwardRef(({className:e,children:t,checked:n,onCheckedChange:r,...i},a)=>(0,u.jsxs)(E.CheckboxItem,{ref:a,checked:!!n,onCheckedChange:r||(()=>{}),className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none`,e),...i,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(E.ItemIndicator,{children:(0,u.jsx)(m.Check,{size:14,className:`text-foreground`})})}),H(t,G)]}));un.displayName=`DropdownMenuCheckboxItem`;var dn=c.forwardRef(({className:e,children:t,value:n,...r},i)=>(0,u.jsxs)(E.RadioItem,{ref:i,value:n,className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none`,e),...r,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(E.ItemIndicator,{children:(0,u.jsx)(m.Circle,{size:8,className:`text-foreground fill-current`})})}),H(t,G)]}));dn.displayName=`DropdownMenuRadioItem`;var fn=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsx)(E.Label,{ref:i,className:U(`text-foreground px-2 py-1.5 text-sm font-semibold`,n&&`pl-8`,e),...r,children:H(t,G)}));fn.displayName=`DropdownMenuLabel`;var pn=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(E.Separator,{ref:n,className:U(`bg-border -mx-1 my-1 h-px`,e),...t}));pn.displayName=`DropdownMenuSeparator`;var mn=({className:e,children:t,...n})=>(0,u.jsx)(G,{className:U(`text-muted-foreground ml-auto text-xs tracking-widest`,e),...n,children:t});mn.displayName=`DropdownMenuShortcut`;var hn=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsxs)(E.SubTrigger,{ref:i,className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none`,n&&`pl-8`,e),...r,children:[(0,u.jsx)(l.View,{className:`flex flex-row items-center gap-1.5`,children:H(t,G)}),(0,u.jsx)(m.ChevronRight,{size:14,className:`text-foreground ml-auto`})]}));hn.displayName=`DropdownMenuSubTrigger`;var gn=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(E.SubContent,{ref:r,className:U(`bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md`,e),...n,children:t}));gn.displayName=`DropdownMenuSubContent`;var _n=c.forwardRef(({className:e,onPress:t,onLongPress:n,onPressIn:r,onPressOut:i,...a},o)=>(0,u.jsx)(D.Root,{className:`web:cursor-default`,onPress:t,onLongPress:n,onPressIn:r,onPressOut:i,children:(0,u.jsx)(D.Text,{ref:o,className:U(`text-foreground native:text-base web:peer-disabled:cursor-not-allowed web:peer-disabled:opacity-70 text-sm leading-none font-medium`,e),...a})}));_n.displayName=D.Root?.displayName||`Label`;var vn=te.FormProvider,yn=c.createContext(null),bn=({...e})=>(0,u.jsx)(yn.Provider,{value:{name:e.name},children:(0,u.jsx)(te.Controller,{...e})}),X=()=>{let e=c.useContext(yn),t=c.useContext(xn),{getFieldState:n,formState:r}=(0,te.useFormContext)();if(!e)throw Error(`useFormField should be used within <FormField>`);if(!t)throw Error(`useFormField should be used within <FormItem>`);let i=n(e.name,r),{id:a}=t;return{id:a,name:e.name,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`,...i}},xn=c.createContext(null),Sn=c.forwardRef(({className:e,...t},n)=>{let r=c.useId();return(0,u.jsx)(xn.Provider,{value:{id:r},children:(0,u.jsx)(l.View,{ref:n,className:U(`space-y-2`,e),...t})})});Sn.displayName=`FormItem`;var Cn=c.forwardRef(({className:e,...t},n)=>{let{error:r,formItemId:i}=X();return(0,u.jsx)(_n,{ref:n,className:U(r&&`text-destructive`,e),nativeID:i,...t})});Cn.displayName=`FormLabel`;var wn=c.forwardRef(({...e},t)=>{let{error:n,formItemId:r,formDescriptionId:i,formMessageId:a}=X();return(0,u.jsx)(b.Slot,{ref:t,nativeID:r,"aria-describedby":n?`${i} ${a}`:`${i}`,"aria-invalid":!!n,...e})});wn.displayName=`FormControl`;var Tn=c.forwardRef(({className:e,...t},n)=>{let{formDescriptionId:r}=X();return(0,u.jsx)(l.Text,{ref:n,nativeID:r,className:U(`text-muted-foreground text-[13px]`,e),...t})});Tn.displayName=`FormDescription`;var En=c.forwardRef(({className:e,children:t,...n},r)=>{let{error:i,formMessageId:a}=X(),o=i?String(i?.message??``):t;return o?(0,u.jsx)(l.Text,{ref:r,nativeID:a,className:U(`text-destructive text-[13px] font-medium`,e),...n,children:o}):null});En.displayName=`FormMessage`;var Dn=O.Root,On=O.Trigger,kn=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(O.Portal,{children:(0,u.jsx)(O.Content,{ref:r,className:U(`bg-popover text-popover-foreground border-border z-50 w-64 rounded-md border p-4 shadow-md`,e),...n,children:t})}));kn.displayName=O.Content?.displayName||`HoverCardContent`;var An=c.forwardRef(({className:e,placeholderClassName:t,...n},r)=>(0,u.jsx)(l.TextInput,{ref:r,className:U(`border-input text-foreground placeholder:text-muted-foreground focus:border-ring flex h-10 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-sm transition-colors disabled:opacity-50`,e),placeholderClassName:U(`text-muted-foreground`,t),...n}));An.displayName=`Input`;var jn=c.forwardRef(({className:e,children:t,value:n,onValueChange:r,...i},a)=>{let[o,s]=c.useState(n||``),l=n===void 0?o:n;return(0,u.jsx)(k.Root,{ref:a,value:l,onValueChange:e=>{s(e),r?.(e||``)},className:U(`bg-background border-border flex flex-row items-center space-x-1 rounded-md border p-1 shadow-sm`,e),...i,children:t})});jn.displayName=`Menubar`;var Mn=k.Menu,Nn=k.Portal,Pn=k.Group,Fn=k.RadioGroup,In=k.Sub,Ln=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(k.Overlay,{style:l.Platform.OS===`web`?void 0:l.StyleSheet.absoluteFill,ref:n,...t,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(100),exiting:h.FadeOut.duration(100),className:U(`absolute inset-0 z-50 bg-black/30`,e)})}));Ln.displayName=`MenubarOverlay`;var Rn=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(k.Trigger,{ref:r,className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none`,e),...n,children:H(t,G)}));Rn.displayName=`MenubarTrigger`;var zn=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsxs)(Nn,{children:[(0,u.jsx)(Ln,{}),(0,u.jsx)(k.Content,{ref:r,className:U(`bg-popover border-border z-50 min-w-[12rem] overflow-hidden rounded-md border p-1 shadow-md`,e),...n,children:t})]}));zn.displayName=`MenubarContent`;var Bn=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsx)(k.Item,{ref:i,className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none`,n&&`pl-8`,e),...r,children:H(t,G)}));Bn.displayName=`MenubarItem`;var Vn=c.forwardRef(({className:e,children:t,checked:n,onCheckedChange:r,...i},a)=>(0,u.jsxs)(k.CheckboxItem,{ref:a,checked:!!n,onCheckedChange:r||(()=>{}),className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none`,e),...i,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(k.ItemIndicator,{children:(0,u.jsx)(m.Check,{size:14,className:`text-foreground`})})}),H(t,G)]}));Vn.displayName=`MenubarCheckboxItem`;var Hn=c.forwardRef(({className:e,children:t,value:n,...r},i)=>(0,u.jsxs)(k.RadioItem,{ref:i,value:n,className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground relative flex flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none`,e),...r,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(k.ItemIndicator,{children:(0,u.jsx)(m.Circle,{size:8,className:`text-foreground fill-current`})})}),H(t,G)]}));Hn.displayName=`MenubarRadioItem`;var Un=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsx)(k.Label,{ref:i,className:U(`text-foreground px-2 py-1.5 text-sm font-semibold`,n&&`pl-8`,e),...r,children:H(t,G)}));Un.displayName=`MenubarLabel`;var Wn=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(k.Separator,{ref:n,className:U(`bg-border -mx-1 my-1 h-px`,e),...t}));Wn.displayName=`MenubarSeparator`;var Gn=({className:e,children:t,...n})=>(0,u.jsx)(G,{className:U(`text-muted-foreground ml-auto text-xs tracking-widest`,e),...n,children:t});Gn.displayName=`MenubarShortcut`;var Kn=c.forwardRef(({className:e,children:t,inset:n,...r},i)=>(0,u.jsxs)(k.SubTrigger,{ref:i,className:U(`focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center rounded-sm px-2 py-1.5 text-sm outline-none`,n&&`pl-8`,e),...r,children:[(0,u.jsx)(l.View,{className:`flex flex-row items-center gap-1.5`,children:H(t,G)}),(0,u.jsx)(m.ChevronRight,{size:14,className:`text-foreground ml-auto`})]}));Kn.displayName=`MenubarSubTrigger`;var qn=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(k.SubContent,{ref:r,className:U(`bg-popover border-border z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md`,e),...n,children:t}));qn.displayName=`MenubarSubContent`;var Jn=c.forwardRef(({className:e,children:t,value:n,onValueChange:r,dir:i,orientation:a,delayDuration:o,skipDelayDuration:s,...c},l)=>(0,u.jsx)(A.Root,{ref:l,value:n,onValueChange:r?e=>r(e||``):()=>{},delayDuration:o,skipDelayDuration:s,className:U(`relative z-10 flex flex-row items-center justify-center`,e),...c,children:t}));Jn.displayName=`NavigationMenu`;var Yn=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(A.List,{ref:r,className:U(`group flex flex-1 list-none flex-row items-center justify-center gap-1`,e),...n,children:t}));Yn.displayName=`NavigationMenuList`;var Xn=c.forwardRef(({className:e,children:t,value:n,...r},i)=>(0,u.jsx)(A.Item,{ref:i,value:n||``,className:U(`relative`,e),...r,children:t}));Xn.displayName=`NavigationMenuItem`;var Zn=c.forwardRef(({className:e,children:t,disabled:n,...r},i)=>(0,u.jsxs)(A.Trigger,{ref:i,disabled:n,className:U(`group bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground active:bg-accent active:text-accent-foreground flex flex-row items-center justify-center gap-1 rounded-md px-4 py-2 text-sm font-medium transition-colors disabled:opacity-50`,e),...r,children:[(0,u.jsx)(u.Fragment,{children:t}),(0,u.jsx)(m.ChevronDown,{size:12,className:`text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180`})]}));Zn.displayName=`NavigationMenuTrigger`;var Qn=c.forwardRef(({className:e,children:t,forceMount:n,...r},i)=>(0,u.jsx)(A.Portal,{children:(0,u.jsx)(A.Content,{ref:i,...r,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:U(`bg-popover border-border z-50 overflow-hidden rounded-md border p-4 shadow-md`,e),children:t})})}));Qn.displayName=`NavigationMenuContent`;var $n=c.forwardRef(({className:e,children:t,active:n,onSelect:r,onPress:i,href:a,...o},s)=>(0,u.jsx)(A.Link,{ref:s,active:n,onPress:e=>{i&&i(),r&&r(e)},className:U(`hover:bg-accent hover:text-accent-foreground active:bg-accent active:text-accent-foreground rounded-md px-3 py-2 text-sm font-medium transition-colors`,n&&`bg-accent text-accent-foreground`,e),...o,children:t}));$n.displayName=`NavigationMenuLink`;var er=c.forwardRef(({className:e,forceMount:t,...n},r)=>(0,u.jsx)(l.View,{className:`absolute top-full left-0 flex justify-center`,children:(0,u.jsx)(A.Viewport,{ref:r,className:U(`origin-top-center bg-popover text-popover-foreground border-border relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow-lg md:w-[var(--radix-navigation-menu-viewport-width)]`,e),...n})}));er.displayName=`NavigationMenuViewport`;var tr=c.forwardRef(({className:e,forceMount:t,...n},r)=>(0,u.jsx)(A.Indicator,{ref:r,className:U(`z-10 flex h-1.5 items-end justify-center overflow-hidden transition-all duration-200`,e),...n,children:(0,u.jsx)(l.View,{className:`bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md`})}));tr.displayName=`NavigationMenuIndicator`;var nr=({className:e,children:t,...n})=>(0,u.jsx)(l.View,{role:`navigation`,"aria-label":`pagination`,className:U(`mx-auto flex w-full flex-row justify-center`,e),...n,children:t});nr.displayName=`Pagination`;var rr=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,className:U(`flex flex-row items-center gap-1`,e),...n,children:t}));rr.displayName=`PaginationContent`;var ir=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,className:U(``,e),...n,children:t}));ir.displayName=`PaginationItem`;var Z=({className:e,isActive:t,size:n=`icon`,children:r,onPress:i,...a})=>(0,u.jsx)(W,{variant:t?`outline`:`ghost`,size:n,onPress:i,className:e,...a,children:r});Z.displayName=`PaginationLink`;var ar=({className:e,children:t,onPress:n,...r})=>(0,u.jsxs)(Z,{"aria-label":`Go to previous page`,size:`default`,className:U(`flex flex-row items-center gap-1 pl-2.5`,e),onPress:n,...r,children:[(0,u.jsx)(m.ChevronLeft,{size:16,className:`text-foreground`}),(0,u.jsx)(G,{className:`text-sm font-medium`,children:`Previous`})]});ar.displayName=`PaginationPrevious`;var or=({className:e,children:t,onPress:n,...r})=>(0,u.jsxs)(Z,{"aria-label":`Go to next page`,size:`default`,className:U(`flex flex-row items-center gap-1 pr-2.5`,e),onPress:n,...r,children:[(0,u.jsx)(G,{className:`text-sm font-medium`,children:`Next`}),(0,u.jsx)(m.ChevronRight,{size:16,className:`text-foreground`})]});or.displayName=`PaginationNext`;var sr=({className:e,...t})=>(0,u.jsx)(l.View,{"aria-hidden":!0,className:U(`flex h-9 w-9 flex-row items-center justify-center`,e),...t,children:(0,u.jsx)(m.MoreHorizontal,{size:16,className:`text-foreground`})});sr.displayName=`PaginationEllipsis`;var cr=c.createContext({open:!1,setOpen:()=>{}}),lr=c.forwardRef(({children:e,open:t,onOpenChange:n,...r},i)=>{let[a,o]=c.useState(!1),s=t!==void 0,d=s?t:a,f=s?n||(()=>{}):o;return(0,u.jsx)(cr.Provider,{value:{open:d,setOpen:f},children:(0,u.jsx)(l.View,{ref:i,...r,children:e})})});lr.displayName=`Popover`;var ur=c.forwardRef(({children:e,...t},n)=>{let{setOpen:r}=c.useContext(cr);return(0,u.jsx)(l.Pressable,{ref:n,onPress:()=>r(!0),...t,children:e})});ur.displayName=`PopoverTrigger`;var dr=c.forwardRef(({...e},t)=>(0,u.jsx)(l.View,{ref:t,...e}));dr.displayName=`PopoverAnchor`;var fr=c.forwardRef(({className:e,children:t,...n},r)=>{let{open:i,setOpen:a}=c.useContext(cr);return(0,u.jsx)(l.Modal,{visible:i,transparent:!0,animationType:`fade`,onRequestClose:()=>a(!1),children:(0,u.jsx)(l.Pressable,{className:`flex-1`,onPress:()=>a(!1),children:(0,u.jsx)(l.View,{className:`flex-1 items-center justify-center bg-black/50`,children:(0,u.jsx)(l.Pressable,{onPress:()=>{},children:(0,u.jsx)(l.View,{ref:r,className:U(`bg-popover border-border mx-4 w-full max-w-sm rounded-md border p-4 shadow-lg`,e),...n,children:t})})})})})});fr.displayName=`PopoverContent`;var pr=c.forwardRef(({className:e,value:t,...n},r)=>(0,u.jsx)(l.View,{ref:r,className:U(`bg-muted relative h-2 w-full overflow-hidden rounded-full`,e),accessibilityRole:`progressbar`,role:`progressbar`,...n,children:(0,u.jsx)(l.View,{className:`bg-primary h-full rounded-full`,style:{width:`${t||0}%`}})}));pr.displayName=`Progress`;var mr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(j.Root,{className:U(`web:grid gap-2`,e),...t,ref:n}));mr.displayName=j.Root?.displayName||`RadioGroup`;var hr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(j.Item,{ref:n,className:U(`native:h-5 native:w-5 border-primary text-primary web:ring-offset-background web:focus:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 aspect-square h-4 w-4 rounded-full border`,t.disabled&&`web:cursor-not-allowed opacity-50`,e),...t,children:(0,u.jsx)(j.Indicator,{className:`flex items-center justify-center`,children:(0,u.jsx)(m.Circle,{className:`h-2.5 w-2.5 fill-current text-current`})})}));hr.displayName=j.Item?.displayName||`RadioGroupItem`;var gr=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:e}),_r=({children:e,className:t})=>(0,u.jsx)(l.View,{className:t,children:e}),vr=({className:e})=>(0,u.jsx)(l.View,{className:e}),yr=c.forwardRef(({children:e,className:t,...n},r)=>(0,u.jsx)(l.ScrollView,{ref:r,className:U(`flex-1`,t),showsVerticalScrollIndicator:!0,showsHorizontalScrollIndicator:!0,...n,children:(0,u.jsx)(l.View,{children:e})}));yr.displayName=`ScrollArea`;var br=()=>null;br.displayName=`ScrollBar`;function xr({children:e,open:t,onOpenChange:n}){let[r,i]=c.useState(!1),a=t!==void 0;return(0,u.jsx)(q,{open:a?t:r,onOpenChange:c.useCallback(e=>{a?n?.(e):i(e)},[a,n]),children:e})}var Sr=c.forwardRef(({className:e,placeholder:t,variant:n=`default`,responsive:r=!1,...i},a)=>{let o=t||(n===`compact`?`Search...`:`Search docs...`);return(0,u.jsxs)(W,{variant:`outline`,className:U(`relative h-12 flex-row justify-start pl-3 text-sm transition-all sm:h-9`,n===`default`?`w-full pr-12`:U(`w-12 px-0 sm:w-9 sm:justify-center`,r&&`md:w-48 md:justify-start md:px-3 md:pr-12`),e),ref:a,...i,children:[(0,u.jsxs)(l.View,{className:`flex-row items-center gap-2`,children:[(0,u.jsx)(m.Search,{className:`text-muted-foreground shrink-0`,size:18}),(0,u.jsx)(l.Text,{className:U(`text-muted-foreground truncate`,n===`compact`&&(r?`hidden md:flex`:`hidden`)),children:o})]}),(0,u.jsx)(l.View,{className:U(`bg-muted absolute top-2 right-2 hidden h-6 flex-row items-center gap-1 rounded border px-1.5 opacity-100`,n===`default`&&l.Platform.OS!==`android`&&l.Platform.OS!==`ios`&&`sm:flex`,n===`compact`&&r&&l.Platform.OS!==`android`&&l.Platform.OS!==`ios`&&`md:flex`),children:(0,u.jsx)(l.Text,{className:`text-muted-foreground font-mono text-[10px] font-medium`,children:`⌘K`})})]})});Sr.displayName=`SearchTrigger`;var Cr=M.Root,wr=M.Group,Tr=M.Value,Er=c.forwardRef(({className:e,children:t,...n},r)=>(0,u.jsxs)(M.Trigger,{ref:r,className:U(`native:h-12 border-input bg-background text-muted-foreground web:ring-offset-background web:focus:outline-none web:focus:ring-2 web:focus:ring-ring web:focus:ring-offset-2 flex h-10 flex-row items-center justify-between rounded-md border px-3 py-2 text-sm [&>span]:line-clamp-1`,n.disabled&&`web:cursor-not-allowed opacity-50`,e),...n,children:[(0,u.jsx)(u.Fragment,{children:t}),(0,u.jsx)(m.ChevronDown,{size:16,"aria-hidden":!0,className:`text-foreground opacity-50`})]}));Er.displayName=M.Trigger?.displayName||`SelectTrigger`;var Dr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(M.ScrollUpButton,{ref:n,className:U(`flex cursor-default items-center justify-center py-1`,e),...t,children:(0,u.jsx)(m.ChevronUp,{size:14,className:`text-foreground`})}));Dr.displayName=M.ScrollUpButton?.displayName||`SelectScrollUpButton`;var Or=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(M.ScrollDownButton,{ref:n,className:U(`flex cursor-default items-center justify-center py-1`,e),...t,children:(0,u.jsx)(m.ChevronDown,{size:14,className:`text-foreground`})}));Or.displayName=M.ScrollDownButton?.displayName||`SelectScrollDownButton`;var kr=c.forwardRef(({className:e,children:t,position:n=`popper`,portalHost:r,overlayClassName:i,overlayStyle:a,...o},s)=>{let{open:c}=M.useRootContext();return(0,u.jsxs)(M.Portal,{hostName:r,children:[(0,u.jsx)(M.Overlay,{style:l.Platform.OS===`web`?void 0:l.StyleSheet.absoluteFill,asChild:!0,children:(0,u.jsx)(h.default.View,{className:i,style:a})}),(0,u.jsxs)(M.Content,{ref:s,className:U(`border-border bg-popover data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-96 min-w-[8rem] rounded-md border shadow-md`,n===`popper`&&`data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1`,c?`web:zoom-in-95 web:animate-in web:fade-in-0`:`web:zoom-out-95 web:animate-out web:fade-out-0`,e),position:n,...o,children:[(0,u.jsx)(Dr,{}),(0,u.jsx)(M.Viewport,{className:U(`p-1`,n===`popper`&&`h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]`),children:t}),(0,u.jsx)(Or,{})]})]})});kr.displayName=M.Content?.displayName||`SelectContent`;var Ar=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(M.Label,{ref:n,className:U(`text-popover-foreground py-1.5 pr-2 pl-8 text-sm font-semibold`,e),...t}));Ar.displayName=M.Label?.displayName||`SelectLabel`;var jr=c.forwardRef(({className:e,children:t,label:n,...r},i)=>{let a=n||(typeof t==`string`?t:``);return(0,u.jsxs)(M.Item,{ref:i,label:a,className:U(`web:hover:bg-accent/50 web:focus:bg-accent web:focus:text-accent-foreground web:hover:text-accent-foreground relative flex w-full cursor-default flex-row items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:opacity-50`,r.disabled&&`web:pointer-events-none`,e),...r,children:[(0,u.jsx)(l.View,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(M.ItemIndicator,{children:(0,u.jsx)(m.Check,{size:14,strokeWidth:3,className:`text-popover-foreground`})})}),(0,u.jsx)(M.ItemText,{className:`text-popover-foreground native:text-base text-sm`,children:t})]})});jr.displayName=M.Item?.displayName||`SelectItem`;var Mr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(M.Separator,{ref:n,className:U(`bg-muted -mx-1 my-1 h-px`,e),...t}));Mr.displayName=M.Separator?.displayName||`SelectSeparator`;var Nr=c.forwardRef(({threshold:e=240,exitDuration:t=450,behavior:n,label:r=`Scroll to top`,className:i,scrollRef:a,animationDuration:o=300,...s},d)=>{let[f,p]=c.useState(!1),[h,g]=c.useState(!1),_=c.useRef(new l.Animated.Value(0)).current,v=c.useRef(new l.Animated.Value(20)).current,y=()=>{l.Animated.parallel([l.Animated.timing(_,{toValue:1,duration:o,useNativeDriver:!0}),l.Animated.timing(v,{toValue:0,duration:o,useNativeDriver:!0})]).start()},b=()=>{l.Animated.parallel([l.Animated.timing(_,{toValue:0,duration:o,useNativeDriver:!0}),l.Animated.timing(v,{toValue:20,duration:o,useNativeDriver:!0})]).start(()=>{h||p(!1)})},x=t=>{let n=t.nativeEvent.contentOffset.y;if(h){n<=e&&(p(!1),g(!1));return}n>e&&!f?(p(!0),y()):n<=e&&f&&b()},S=()=>{g(!0),b(),setTimeout(()=>{if(a?.current){let e=a.current;`scrollToOffset`in e&&typeof e.scrollToOffset==`function`?e.scrollToOffset({offset:0,animated:n!==`auto`}):`scrollTo`in e&&typeof e.scrollTo==`function`&&e.scrollTo({y:0,animated:n!==`auto`})}(l.Platform.OS===`ios`||l.Platform.OS===`android`)&&l.AccessibilityInfo.announceForAccessibility(`Scrolled to top`)},t)};return c.useImperativeHandle(d,()=>({handleScroll:x,scrollToTop:S})),!f&&!h?null:(0,u.jsx)(l.View,{pointerEvents:`box-none`,style:{position:`absolute`,bottom:24,right:24,zIndex:50},children:(0,u.jsx)(l.Animated.View,{style:{opacity:_,transform:[{translateY:v}]},children:(0,u.jsx)(W,{variant:`outline`,size:`icon`,className:U(`bg-background/80 h-12 w-12 rounded-full border-2 shadow-lg`,i),onPress:S,"aria-label":r,...s,children:(0,u.jsx)(m.ArrowUp,{size:24,className:`text-foreground`})})})})});Nr.displayName=`ScrollToTop`;var Pr=e=>{let t=e.trim();return t.endsWith(`/`)?t.slice(0,-1):t},Fr=e=>e.trim().replace(/^@+/,``),Ir=(e,t)=>`${Pr(e)}/${encodeURIComponent(Fr(t))}`;function Lr({supportUrl:e=`https://www.buymeacoffee.com`,creatorId:t,title:n=`Buy me a coffee`,description:r=`Support the project directly from this panel.`,open:i,defaultOpen:a=!1,onOpenChange:o,positionClassName:s,buttonClassName:d,panelClassName:f,className:p,...h}){let g=i!==void 0,[_,v]=c.useState(a),y=g?i:_,b=c.useCallback(e=>{g||v(e),o?.(e)},[g,o]),x=c.useMemo(()=>Ir(e,t),[t,e]),S=c.useCallback(async()=>{try{await l.Linking.openURL(x)}catch(e){console.warn(`Failed to open external link:`,e)}},[x]);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(l.View,{style:{position:`absolute`,bottom:24,right:24,zIndex:50},className:s,children:(0,u.jsx)(W,{variant:`outline`,size:`icon`,className:U(`h-14 w-14 rounded-full border border-black/15 bg-[#ffdd00] shadow-lg`,d,p),onPress:()=>b(!0),"aria-label":`Support this project`,...h,children:(0,u.jsx)(m.Coffee,{size:24,className:`text-black`})})}),(0,u.jsx)(q,{open:y,onOpenChange:b,children:(0,u.jsxs)(J,{className:U(`max-w-sm`,f),children:[(0,u.jsxs)(Vt,{children:[(0,u.jsx)(Ut,{children:n}),(0,u.jsx)(Wt,{children:r})]}),(0,u.jsxs)(l.View,{className:`flex flex-col gap-4`,children:[(0,u.jsx)(l.View,{className:`overflow-hidden rounded-md border`,children:(0,u.jsx)(l.View,{className:`bg-muted flex h-48 items-center justify-center`,children:(0,u.jsxs)(G,{className:`text-muted-foreground text-center text-sm`,children:[`Embedded support form would appear here on web.`,`
|
|
2
|
+
`,`On mobile, this opens the external support page.`]})})}),(0,u.jsxs)(l.View,{className:`text-muted-foreground flex items-center justify-between gap-2 text-xs`,children:[(0,u.jsx)(G,{className:`text-muted-foreground flex-1 text-xs`,children:`If the embedded checkout is unavailable, open the support page directly.`}),(0,u.jsxs)(W,{variant:`outline`,size:`sm`,onPress:S,className:`flex flex-row items-center gap-1`,children:[(0,u.jsx)(G,{className:`text-xs`,children:`Open Buy Me a Coffee`}),(0,u.jsx)(m.ExternalLink,{size:12,className:`text-muted-foreground`})]})]})]})]})})]})}var Rr=c.forwardRef(({className:e,orientation:t=`horizontal`,decorative:n=!0,...r},i)=>(0,u.jsx)(N.Root,{ref:i,decorative:n,orientation:t,className:U(`bg-border shrink-0`,t===`horizontal`?`h-[1px] w-full`:`h-full w-[1px]`,e),...r}));Rr.displayName=N.Root?.displayName||`Separator`;var zr=T.Root,Br=T.Trigger,Vr=T.Close,Hr=T.Portal,Ur=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(T.Overlay,{style:l.Platform.OS===`web`?void 0:l.StyleSheet.absoluteFill,asChild:!0,ref:n,...t,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn.duration(150),exiting:h.FadeOut.duration(150),className:U(`web:cursor-default absolute inset-0 z-50 bg-black/80`,e)})}));Ur.displayName=T.Overlay?.displayName||`SheetOverlay`;var Wr=c.forwardRef(({className:e,children:t,side:n=`right`,overlayClassName:r,overlayStyle:i,...a},o)=>{let s=l.Platform.OS===`web`,c=s?void 0:h.SlideInRight,d=s?void 0:h.SlideOutRight;return(0,u.jsxs)(Hr,{children:[(0,u.jsx)(Ur,{className:r,style:i}),(0,u.jsx)(T.Content,{ref:o,asChild:!0,...a,children:(0,u.jsxs)(h.default.View,{entering:c,exiting:d,className:U(`bg-background web:cursor-default web:duration-200 web:ease-in-out absolute z-50 h-full w-3/4 gap-4 p-6 shadow-lg`,n===`right`&&`border-border data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right top-0 right-0 border-l`,n===`left`&&`border-border data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left top-0 left-0 border-r`,n===`top`&&`border-border data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top top-0 w-full border-b`,n===`bottom`&&`border-border data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom bottom-0 w-full border-t`,e),children:[t,(0,u.jsxs)(T.Close,{className:U(`ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none`,`web:absolute web:right-4 web:top-4`),children:[(0,u.jsx)(m.X,{size:24,className:`text-muted-foreground`}),(0,u.jsx)(G,{className:`sr-only`,children:`Close`})]})]})})]})});Wr.displayName=T.Content?.displayName||`SheetContent`;var Gr=({className:e,...t})=>(0,u.jsx)(l.View,{className:U(`flex flex-col space-y-2 text-center sm:text-left`,e),...t});Gr.displayName=`SheetHeader`;var Kr=({className:e,...t})=>(0,u.jsx)(l.View,{className:U(`flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2`,e),...t});Kr.displayName=`SheetFooter`;var qr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(T.Title,{ref:n,className:U(`text-foreground text-lg font-semibold`,e),...t}));qr.displayName=T.Title?.displayName||`SheetTitle`;var Jr=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(T.Description,{ref:n,className:U(`text-muted-foreground text-sm`,e),...t}));Jr.displayName=T.Description?.displayName||`SheetDescription`;function Yr({className:e,...t}){let n=(0,h.useSharedValue)(.5);c.useEffect(()=>{n.value=(0,h.withRepeat)((0,h.withSequence)((0,h.withTiming)(.2,{duration:500}),(0,h.withTiming)(.5,{duration:500})),-1,!0)},[]);let r=(0,h.useAnimatedStyle)(()=>({opacity:n.value}));return(0,u.jsx)(h.default.View,{className:U(`bg-muted rounded-md`,e),style:r,...t})}var Xr=({className:e,value:t,onValueChange:n,defaultValue:r,min:i=0,max:a=100,step:o=1,disabled:s=!1,...c})=>{let l=t===void 0?i:t[0];return(0,u.jsxs)(P.Root,{value:l,onValueChange:e=>{n&&n(Array.isArray(e)?e:[e])},min:i,max:a,step:o,disabled:s,className:U(`relative flex w-full touch-none items-center select-none`,s&&`opacity-50`,e),...c,children:[(0,u.jsx)(P.Track,{className:`bg-secondary relative h-2 w-full grow rounded-full`,children:(0,u.jsx)(P.Range,{className:`bg-primary absolute h-full rounded-full`})}),(0,u.jsx)(P.Thumb,{className:`border-primary bg-background focus-visible:ring-ring block h-5 w-5 rounded-full border-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none`})]})};Xr.displayName=`Slider`;var Zr=({children:e})=>(0,u.jsx)(u.Fragment,{children:e}),Qr=()=>null,$r=c.forwardRef(({className:e,variant:t=`default`,...n},r)=>(0,u.jsx)(F.Root,{ref:r,className:U(`group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg`,t===`default`?`border-border bg-background`:`border-destructive bg-destructive`,e),...n,children:(0,u.jsx)(h.default.View,{entering:h.FadeInUp,exiting:h.FadeOutDown,layout:h.Layout,className:`w-full flex-row items-center`,children:n.children})}));$r.displayName=F.Root?.displayName||`Toast`;var ei=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(F.Title,{ref:n,className:U(`text-foreground text-sm font-semibold`,e),...t}));ei.displayName=F.Title?.displayName||`ToastTitle`;var ti=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(F.Description,{ref:n,className:U(`text-muted-foreground text-sm opacity-90`,e),...t}));ti.displayName=F.Description?.displayName||`ToastDescription`;var ni=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(F.Close,{ref:n,className:U(`text-foreground/50 hover:text-foreground absolute top-1 right-1 rounded-md p-1 opacity-0 transition-opacity group-hover:opacity-100 focus:opacity-100 focus:ring-1 focus:outline-none`,e),...t,children:(0,u.jsx)(m.X,{size:16,className:`text-muted-foreground`})}));ni.displayName=F.Close?.displayName||`ToastClose`;var ri=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(F.Action,{ref:n,className:U(`hover:bg-secondary focus:ring-ring inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors focus:ring-1 focus:outline-none disabled:pointer-events-none disabled:opacity-50`,e),...t}));ri.displayName=F.Action?.displayName||`ToastAction`;var ii=()=>(0,u.jsx)(Zr,{children:(0,u.jsx)(Qr,{})}),ai=c.forwardRef(({className:e,checked:t,onCheckedChange:n,...r},i)=>(0,u.jsx)(I.Root,{className:U(`peer focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input inline-flex h-6 w-11 shrink-0 cursor-pointer flex-row items-center rounded-full border-2 border-transparent transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50`,e),...r,checked:t??!1,onCheckedChange:n||(()=>{}),ref:i,children:(0,u.jsx)(I.Thumb,{className:U(`bg-background pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0`)})}));ai.displayName=I.Root?.displayName||`Switch`;var oi=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:U(`w-full caption-bottom text-sm`,e),...t}));oi.displayName=`Table`;var si=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:U(`border-border border-b`,e),...t}));si.displayName=`TableHeader`;var ci=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:U(`flex-1`,e),...t}));ci.displayName=`TableBody`;var li=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:U(`bg-muted/50 font-medium [&>tr]:last:border-b-0`,e),...t}));li.displayName=`TableFooter`;var ui=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(l.View,{ref:n,className:U(`border-border hover:bg-muted/50 data-[state=selected]:bg-muted flex-row border-b transition-colors`,e),...t}));ui.displayName=`TableRow`;var di=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(G,{ref:n,className:U(`text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0`,e),...t}));di.displayName=`TableHead`;var fi=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(G,{ref:n,className:U(`p-4 align-middle [&:has([role=checkbox])]:pr-0`,e),...t}));fi.displayName=`TableCell`;var pi=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(G,{ref:n,className:U(`text-muted-foreground mt-4 text-sm`,e),...t}));pi.displayName=`TableCaption`;var mi=c.forwardRef((e,t)=>(0,u.jsx)(L.Root,{ref:t,...e}));mi.displayName=`Tabs`;var hi=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(L.List,{ref:n,className:U(`bg-muted text-muted-foreground inline-flex h-10 flex-row items-center justify-center rounded-md p-1`,e),...t}));hi.displayName=L.List?.displayName||`TabsList`;var gi=c.forwardRef(({className:e,...t},n)=>{let{value:r}=L.useRootContext();return(0,u.jsx)(Pe.Provider,{value:U(`text-sm native:text-base font-medium text-muted-foreground web:transition-all`,r===t.value&&`text-foreground`),children:(0,u.jsx)(L.Trigger,{ref:n,className:U(`ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50`,t.disabled&&`opacity-50`,r===t.value&&`bg-background shadow-foreground/10 shadow-sm`,e),...t})})});gi.displayName=L.Trigger?.displayName||`TabsTrigger`;var _i=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(L.Content,{ref:n,className:U(`ring-offset-background focus-visible:ring-ring mt-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none`,e),...t}));_i.displayName=L.Content?.displayName||`TabsContent`;var vi=c.forwardRef(({className:e,placeholderClassName:t,...n},r)=>(0,u.jsx)(l.TextInput,{ref:r,multiline:!0,numberOfLines:n.numberOfLines||3,className:U(`border-input bg-background text-foreground placeholder:text-muted-foreground focus:border-ring flex min-h-[80px] w-full rounded-md border px-3 py-2 text-base shadow-sm transition-colors disabled:opacity-50`,e),placeholderClassName:U(`text-muted-foreground`,t),textAlignVertical:`top`,...n}));vi.displayName=`Textarea`;var yi=c.forwardRef(({className:e,variant:t,size:n,...r},i)=>(0,u.jsx)(Pe.Provider,{value:U(`text-sm native:text-base text-foreground font-medium`,r.pressed&&`text-accent-foreground`,e),children:(0,u.jsx)(R.Root,{ref:i,className:U((0,ne.toggleVariants)({variant:t,size:n,className:e})),...r,pressed:r.pressed||!1,onPressedChange:r.onPressedChange||(()=>{})})}));yi.displayName=R.Root?.displayName||`Toggle`;var bi=c.createContext({size:`default`,variant:`default`}),xi=c.forwardRef(({className:e,variant:t,size:n,children:r,type:i,value:a,onValueChange:o,...s},c)=>(0,u.jsx)(z.Root,{ref:c,type:i,value:a,onValueChange:o,className:U(`flex flex-row items-center justify-center gap-1`,e),...s,children:(0,u.jsx)(bi.Provider,{value:{variant:t,size:n},children:r})}));xi.displayName=z.Root?.displayName||`ToggleGroup`;var Si=c.forwardRef(({className:e,children:t,variant:n,size:r,value:i,...a},o)=>{let s=c.useContext(bi);return(0,u.jsx)(Pe.Provider,{value:U(`text-sm native:text-base text-foreground font-medium`,a.disabled&&`web:cursor-not-allowed opacity-50`,i===``&&`text-accent-foreground`,e),children:(0,u.jsx)(z.Item,{ref:o,value:i,className:U((0,ne.toggleVariants)({variant:s.variant||n,size:s.size||r}),e),...a,children:t})})});Si.displayName=z.Item?.displayName||`ToggleGroupItem`;var Ci=B.Root,wi=B.Trigger,Ti=c.forwardRef(({className:e,portalHost:t,...n},r)=>(0,u.jsx)(B.Portal,{hostName:t,children:(0,u.jsx)(B.Overlay,{style:l.Platform.OS===`web`?void 0:l.StyleSheet.absoluteFill,children:(0,u.jsx)(h.default.View,{entering:h.FadeIn,exiting:h.FadeOut,className:U(`border-border bg-popover web:animate-in web:fade-in-0 web:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 overflow-hidden rounded-md border px-3 py-1.5 shadow-md`,e),children:(0,u.jsx)(G,{className:`text-popover-foreground native:text-base text-sm`,children:n.children})})})}));Ti.displayName=B.Content?.displayName||`TooltipContent`;var Ei=({children:e})=>(0,u.jsx)(u.Fragment,{children:e}),Di=5,Oi=1e6,ki={ADD_TOAST:`ADD_TOAST`,UPDATE_TOAST:`UPDATE_TOAST`,DISMISS_TOAST:`DISMISS_TOAST`,REMOVE_TOAST:`REMOVE_TOAST`},Ai=0;function ji(){return Ai=(Ai+1)%(2**53-1),Ai.toString()}var Mi=new Map,Ni=e=>{if(Mi.has(e))return;let t=setTimeout(()=>{Mi.delete(e),Q({type:`REMOVE_TOAST`,toastId:e})},Oi);Mi.set(e,t)},Pi=(e,t)=>{switch(t.type){case ki.ADD_TOAST:return{...e,toasts:[t.toast,...e.toasts].slice(0,Di)};case ki.UPDATE_TOAST:return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case ki.DISMISS_TOAST:{let{toastId:n}=t;return n?Ni(n):e.toasts.forEach(e=>{Ni(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===n||n===void 0?{...e,open:!1}:e)}}case ki.REMOVE_TOAST:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},Fi=[],Ii={toasts:[]};function Q(e){Ii=Pi(Ii,e),Fi.forEach(e=>{e(Ii)})}function Li({...e}){let t=ji(),n=e=>Q({type:`UPDATE_TOAST`,toast:{...e,id:t}}),r=()=>Q({type:`DISMISS_TOAST`,toastId:t});return Q({type:`ADD_TOAST`,toast:{...e,id:t,open:!0,onOpenChange:e=>{e||r()}}}),{id:t,dismiss:r,update:n}}function Ri(){let[e,t]=c.useState(Ii);return c.useEffect(()=>(Fi.push(t),()=>{let e=Fi.indexOf(t);e>-1&&Fi.splice(e,1)}),[]),{...e,toast:Li,dismiss:e=>Q({type:`DISMISS_TOAST`,toastId:e})}}var zi=c.createContext(null);function Bi({children:e,className:t,style:n,value:r,...i}){let a=(0,l.useColorScheme)(),o=r||`system`,s=o===`system`?a===`dark`?`dark`:`light`:o,d=s===`dark`?V.theme.dark:V.theme.light,f=s===`dark`,p=c.useMemo(()=>({theme:o,resolvedTheme:s,tokens:d}),[o,s,d]);return(0,u.jsx)(zi.Provider,{value:p,children:(0,u.jsx)(l.View,{className:U(`flex-1`,f?`dark`:``,t),style:[{backgroundColor:d.background},n],...i,children:e})})}function Vi(){let e=c.useContext(zi);if(e)return e;let t=(0,l.useColorScheme)(),n=t;return{theme:t,resolvedTheme:n,tokens:n===`dark`?V.theme.dark:V.theme.light}}function Hi(e){(0,re.cssInterop)(e,{className:{target:`style`,nativeStyleToProp:{color:!0,opacity:!0}}})}Hi(m.Sun),Hi(m.Moon),Hi(m.SunMoon);function Ui({variant:e=`binary`,onThemeChange:t,customTheme:n,className:r}){let{theme:i,resolvedTheme:a,tokens:o}=Vi(),s=n??i,c=(n===`system`||!n?a:n)===`dark`,d=s===`system`,f=e=>{t?t(e):e===`system`?l.Appearance.setColorScheme(null):l.Appearance.setColorScheme(e)},p=()=>(0,u.jsxs)(l.View,{className:`flex h-6 w-6 items-center justify-center`,children:[(0,u.jsx)(l.View,{className:U(`items-center justify-center transition-all`,!d&&!c?`rotate-0 opacity-100`:`absolute -rotate-90 opacity-0`),children:(0,u.jsx)(m.Sun,{size:18,color:o.foreground})}),(0,u.jsx)(l.View,{className:U(`items-center justify-center transition-all`,!d&&c?`rotate-0 opacity-100`:`absolute rotate-90 opacity-0`),children:(0,u.jsx)(m.Moon,{size:18,color:o.foreground})}),(0,u.jsx)(l.View,{className:U(`items-center justify-center transition-all`,d?`rotate-0 opacity-100`:`absolute rotate-90 opacity-0`),children:(0,u.jsx)(m.SunMoon,{size:18,color:o.foreground})})]});return e===`ternary`?(0,u.jsxs)(tn,{children:[(0,u.jsx)(nn,{className:U(`relative h-9 w-9 flex-row items-center justify-center rounded-md bg-transparent transition-colors active:opacity-80`,r),children:(0,u.jsx)(p,{})}),(0,u.jsxs)(ln,{align:`end`,children:[(0,u.jsxs)(Y,{onSelect:()=>f(`light`),children:[(0,u.jsx)(m.Sun,{size:14,color:o.foreground,className:`mr-2`}),(0,u.jsx)(G,{children:`Light`})]}),(0,u.jsxs)(Y,{onSelect:()=>f(`dark`),children:[(0,u.jsx)(m.Moon,{size:14,color:o.foreground,className:`mr-2`}),(0,u.jsx)(G,{children:`Dark`})]}),(0,u.jsxs)(Y,{onSelect:()=>f(`system`),children:[(0,u.jsx)(m.SunMoon,{size:14,color:o.foreground,className:`mr-2`}),(0,u.jsx)(G,{children:`System`})]})]})]}):(0,u.jsx)(W,{variant:`ghost`,size:`icon`,className:U(`relative h-9 w-9`,r),onPress:()=>f(s===`dark`?`light`:`dark`),children:(0,u.jsx)(p,{})})}var Wi=()=>{let{toasts:e}=Ri();return(0,u.jsx)(Zr,{children:(0,u.jsx)(l.View,{className:`pointer-events-none absolute right-6 bottom-6 left-6 z-50 flex flex-col gap-2`,children:e.map(({id:e,title:t,description:n,action:r,...i})=>(0,u.jsxs)($r,{...i,className:`pointer-events-auto`,children:[(0,u.jsxs)(l.View,{className:`flex flex-1 flex-col gap-1`,children:[t&&(0,u.jsx)(ei,{children:t}),n&&(0,u.jsx)(ti,{children:n})]}),r,(0,u.jsx)(ni,{})]},e))})})},Gi=c.createContext(void 0);function Ki(){let e=c.useContext(Gi);if(!e)throw Error(`useTOC must be used within a TableOfContents provider`);return e}function qi({children:e,activeId:t}){let[n,r]=c.useState([]),[i,a]=c.useState(null),o=c.useRef(null),s=c.useMemo(()=>{let e=t||i;return n.find(t=>t.id===e)?.text||null},[n,i,t]),d=c.useCallback((e,t,n,i)=>{r(r=>{let a=r.find(t=>t.id===e);return a&&Math.abs(a.pageY-i)<1?r:(a?r.map(r=>r.id===e?{id:e,text:t,level:n,pageY:i}:r):[...r,{id:e,text:t,level:n,pageY:i}]).sort((e,t)=>e.pageY-t.pageY)})},[]),f=c.useCallback(e=>{r(t=>t.filter(t=>t.id!==e))},[]),p=c.useCallback(e=>{let t=n.find(t=>t.id===e);t&&o.current&&o.current.scrollTo({y:t.pageY-20,animated:!0})},[n]),m=c.useCallback(e=>{let t=e.nativeEvent.contentOffset.y,r=null;for(let e=n.length-1;e>=0;e--)if(t>=n[e].pageY-100){r=n[e].id;break}r!==i&&a(r)},[n,i]),h=c.useMemo(()=>({headings:n,activeId:t||i,activeHeadingText:s,registerHeading:d,unregisterHeading:f,scrollToHeading:p,onScroll:m,scrollViewRef:o}),[n,i,t,s,d,f,p,m]);return(0,u.jsx)(Gi.Provider,{value:h,children:(0,u.jsx)(l.View,{className:`flex-1`,children:e})})}function Ji({children:e,level:t=2,id:n,className:r}){let{registerHeading:i,unregisterHeading:a}=Ki(),o=n||ie(e),s=c.useCallback(n=>{let{y:r}=n.nativeEvent.layout;i(o,e,t,r)},[o,e,t,i]);return c.useEffect(()=>()=>a(o),[o,a]),(0,u.jsx)(l.View,{onLayout:s,children:(0,u.jsx)(G,{variant:t===1?`h1`:t===2?`h2`:t===3?`h3`:`h4`,className:r,children:e})})}function Yi({className:e}){let{headings:t,activeId:n,scrollToHeading:r}=Ki();if(t.length===0)return null;let i=Math.min(...t.map(e=>e.level));return(0,u.jsxs)(l.View,{className:U(`space-y-2 p-4`,e),children:[(0,u.jsx)(G,{variant:`overline`,className:`mb-2 font-bold`,children:`On this page`}),t.map(e=>{let t=n===e.id;return(0,u.jsx)(l.TouchableOpacity,{onPress:()=>r(e.id),style:{paddingLeft:(e.level-i)*16},className:`py-1`,children:(0,u.jsx)(l.Text,{className:U(`text-sm`,t?`text-primary font-bold`:`text-muted-foreground`),children:e.text})},e.id)})]})}function Xi({children:e,className:t}){let{scrollViewRef:n,onScroll:r}=Ki();return(0,u.jsx)(l.ScrollView,{ref:n,onScroll:r,className:U(`flex-1`,t),...l.Platform.OS!==`web`&&{scrollEventThrottle:16,contentContainerStyle:{padding:16}},children:e})}qi.List=Yi,qi.Content=Xi,qi.Heading=Ji;function Zi({className:e,orientation:t,...n}){return(0,u.jsx)(l.View,{className:U(`flex flex-row`,e),...n})}function Qi({className:e,asChild:t,...n}){return(0,u.jsx)(l.Text,{className:U(`text-sm font-medium`,e),...n})}function $i({className:e,orientation:t,...n}){return(0,u.jsx)(l.View,{className:U(`bg-border h-full w-px`,e),...n})}var ea=()=>``;function ta({children:e}){return(0,u.jsx)(u.Fragment,{children:e})}function na(){return`ltr`}function ra({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`border-border flex w-full items-center justify-center rounded-xl border-2 border-dashed p-6`,e),...t})}function ia({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`flex flex-col items-center gap-2`,e),...t})}function aa({className:e,variant:t,...n}){return(0,u.jsx)(l.View,{className:U(`flex items-center justify-center`,e),...n})}function oa({className:e,...t}){return(0,u.jsx)(l.Text,{className:U(`text-foreground text-lg font-semibold`,e),...t})}function sa({className:e,...t}){return(0,u.jsx)(l.Text,{className:U(`text-muted-foreground text-center text-sm`,e),...t})}function ca({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`mt-4 flex flex-col items-center gap-2`,e),...t})}function la({className:e,...t}){return(0,u.jsx)(l.ActivityIndicator,{size:`small`,...t})}function ua({className:e,orientation:t,...n}){return(0,u.jsx)(l.View,{className:U(`flex flex-col gap-2`,e),...n})}function da({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`flex flex-col`,e),...t})}function fa({className:e,...t}){return(0,u.jsx)(l.Text,{className:U(`text-muted-foreground text-sm`,e),...t})}function pa({className:e,errors:t,children:n,...r}){let i=n||t&&t[0]?.message;return i?(0,u.jsx)(l.Text,{className:U(`text-destructive text-sm`,e),...r,children:i}):null}function ma({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`flex flex-col gap-4`,e),...t})}function ha({className:e,...t}){return(0,u.jsx)(l.Text,{className:U(`text-sm font-medium`,e),...t})}function ga({className:e,variant:t,...n}){return(0,u.jsx)(l.Text,{className:U(`font-medium`,t===`label`?`text-sm`:`text-base`,e),...n})}function _a({className:e,children:t,...n}){return(0,u.jsx)(l.View,{className:U(`bg-border my-2 h-px`,e),...n,children:t?(0,u.jsx)(l.Text,{className:`bg-background absolute px-2 text-xs`,children:t}):null})}function va({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`flex flex-col gap-4`,e),...t})}function ya({className:e,...t}){return(0,u.jsx)(l.Text,{className:U(`text-sm font-medium`,e),...t})}function ba({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`border-input flex flex-row items-center rounded-md border`,e),...t})}function xa({className:e,align:t,...n}){return(0,u.jsx)(l.View,{className:U(`p-2`,e),...n})}function Sa({className:e,type:t,variant:n,size:r,...i}){return(0,u.jsx)(W,{variant:n,size:r,className:e,...i})}function Ca({className:e,...t}){return(0,u.jsx)(l.Text,{className:U(`text-muted-foreground text-sm`,e),...t})}function wa({className:e,...t}){return(0,u.jsx)(l.TextInput,{className:U(`text-foreground flex-1 px-3 py-2`,e),...t})}function Ta({className:e,...t}){return(0,u.jsx)(l.TextInput,{multiline:!0,className:U(`text-foreground flex-1 px-3 py-2`,e),...t})}function Ea({className:e,size:t,...n}){return(0,u.jsx)(l.View,{className:U(`border-input rounded-md border p-2`,e),...n,children:(0,u.jsx)(l.Text,{className:`text-muted-foreground`,children:`Select Not Implemented (Use Picker)`})})}function Da({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function Oa({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function ka({className:e,...t}){return(0,u.jsx)(l.Text,{className:U(`bg-muted text-muted-foreground rounded-sm px-1 font-mono text-xs`,e),...t})}function Aa({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`flex flex-row items-center gap-1`,e),...t})}function ja({className:e,variant:t,size:n,...r}){return(0,u.jsx)(l.View,{className:U(`flex flex-row flex-wrap items-center gap-2 rounded-lg border p-3`,e),...r})}function Ma({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`flex flex-row items-center gap-2`,e),...t})}function Na({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`flex flex-1 flex-col gap-1`,e),...t})}function Pa({className:e,...t}){return(0,u.jsx)(l.Text,{className:U(`text-muted-foreground text-sm`,e),...t})}function Fa({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`flex w-full flex-row items-center justify-between gap-2`,e),...t})}function Ia({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`flex flex-col gap-4`,e),...t})}function La({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`flex w-full flex-row items-center justify-between gap-2`,e),...t})}function Ra({className:e,variant:t,...n}){return(0,u.jsx)(l.View,{className:U(`flex shrink-0 items-center justify-center gap-2`,e),...n})}function za({className:e,orientation:t,...n}){return(0,u.jsx)(l.View,{className:U(`bg-border my-2 h-px w-full`,e),...n})}function Ba({className:e,...t}){return(0,u.jsx)(l.Text,{className:U(`text-sm font-medium`,e),...t})}var Va=c.createContext(null);function $(){let e=c.useContext(Va);if(!e)throw Error(`Combobox components must be rendered within a Combobox provider`);return e}function Ha({className:e,value:t,onValueChange:n,...r}){let[i,a]=c.useState(!1),[o,s]=c.useState(t||``),[d,f]=c.useState(``),p=t===void 0?o:t;return(0,u.jsx)(Va.Provider,{value:{open:i,setOpen:a,value:p,setValue:e=>{s(e),n?.(e),a(!1)},searchQuery:d,setSearchQuery:f},children:(0,u.jsx)(q,{open:i,onOpenChange:a,children:(0,u.jsx)(l.View,{className:U(`relative`,e),...r})})})}function Ua({className:e,children:t,...n}){let{value:r}=$();return(0,u.jsx)(l.View,{className:e,...n,children:(0,u.jsx)(G,{className:`text-sm`,children:t||r||`Select an item...`})})}function Wa({className:e,children:t,...n}){return(0,u.jsx)(Lt,{asChild:!0,children:(0,u.jsxs)(l.Pressable,{className:U(`border-input bg-background text-foreground flex h-10 w-full flex-row items-center justify-between rounded-md border px-3 py-2 text-sm`,e),...n,children:[(0,u.jsx)(l.View,{className:`flex-1 flex-row items-center`,children:H(t,G)}),(0,u.jsx)(m.ChevronDown,{size:16,className:`text-muted-foreground opacity-50`})]})})}function Ga({className:e,children:t,...n}){let{setValue:r}=$();return(0,u.jsx)(l.Pressable,{className:U(`flex items-center justify-center p-1`,e),onPress:()=>r(``),...n,children:t||(0,u.jsx)(m.X,{size:14,className:`text-muted-foreground`})})}function Ka({className:e,showClear:t,showTrigger:n,placeholder:r=`Search...`,...i}){let{searchQuery:a,setSearchQuery:o}=$();return(0,u.jsx)(l.View,{className:`border-border flex flex-row items-center border-b px-3`,children:(0,u.jsx)(l.TextInput,{className:U(`flex h-12 w-full rounded-md bg-transparent py-3 text-sm outline-none`,e),placeholder:r,placeholderTextColor:`#a1a1aa`,value:a,onChangeText:o,autoFocus:!0,...i})})}function qa({className:e,side:t,sideOffset:n,align:r,alignOffset:i,anchor:a,...o}){return(0,u.jsx)(J,{className:`p-0`,children:(0,u.jsx)(l.View,{className:U(`bg-popover flex max-h-96 w-full flex-col overflow-hidden rounded-md`,e),...o})})}function Ja({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`max-h-[300px] overflow-hidden`,e),...t})}function Ya({className:e,children:t,value:n,...r}){let{value:i,setValue:a,searchQuery:o}=$(),s=c.Children.toArray(t).join(``).toLowerCase();if(o&&!s.includes(o.toLowerCase())&&!n.toLowerCase().includes(o.toLowerCase()))return null;let d=i===n;return(0,u.jsxs)(l.Pressable,{className:U(`active:bg-accent relative flex w-full flex-row items-center rounded-sm py-2.5 pr-8 pl-2 text-sm outline-none`,d&&`bg-accent`,e),onPress:()=>a(n),...r,children:[(0,u.jsx)(l.View,{className:`flex-1`,children:H(t,G,{className:d?`font-semibold`:``})}),d&&(0,u.jsx)(l.View,{className:`absolute right-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,u.jsx)(m.Check,{size:16,className:`text-foreground`})})]})}function Xa({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`text-foreground overflow-hidden p-1`,e),...t})}function Za({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`text-muted-foreground px-2 py-1.5 text-xs font-semibold`,e),...t})}function Qa({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function $a({className:e,children:t,...n}){let{searchQuery:r}=$();return r?(0,u.jsx)(l.View,{className:U(`py-6 text-center text-sm`,e),...n,children:(0,u.jsx)(G,{className:`text-muted-foreground text-center`,children:t||`No results found.`})}):null}function eo({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`bg-muted -mx-1 h-px`,e),...t})}function to({className:e,...t}){return(0,u.jsx)(l.View,{className:U(`flex flex-row flex-wrap gap-1`,e),...t})}function no({className:e,showRemove:t,children:n,...r}){return(0,u.jsxs)(l.View,{className:U(`bg-secondary text-secondary-foreground flex flex-row items-center rounded-md px-2 py-1`,e),...r,children:[H(n,G,{className:`text-xs`}),t&&(0,u.jsx)(m.X,{size:12,className:`ml-1 opacity-50`})]})}function ro({className:e,...t}){return(0,u.jsx)(l.TextInput,{className:U(`flex-1 bg-transparent px-2 py-1 outline-none`,e),...t})}function io(){return c.useRef(null)}function ao({className:e,containerClassName:t,...n}){return(0,u.jsx)(l.View,{className:U(`border-destructive/50 rounded-md border border-dashed p-4`,t,e),...n,children:(0,u.jsx)(l.Text,{className:`text-destructive font-mono text-xs`,children:`InputOTP (Not Implemented)`})})}function oo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function so({className:e,index:t,...n}){return(0,u.jsx)(l.View,{className:e,...n})}function co({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function lo({className:e,defaultOpen:t,open:n,onOpenChange:r,...i}){return(0,u.jsx)(l.View,{className:e,...i})}function uo({className:e,side:t,variant:n,collapsible:r,...i}){return(0,u.jsx)(l.View,{className:U(`border-destructive/50 rounded-md border border-dashed p-4`,e),...i,children:(0,u.jsx)(l.Text,{className:`text-destructive font-mono text-xs`,children:`Sidebar (Not Implemented)`})})}function fo({className:e,...t}){return(0,u.jsx)(l.Pressable,{className:e,...t})}function po({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function mo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function ho({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function go({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function _o({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function vo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function yo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function bo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function xo({className:e,asChild:t,...n}){return(0,u.jsx)(l.View,{className:e,...n})}function So({className:e,asChild:t,...n}){return(0,u.jsx)(l.Pressable,{className:e,...n})}function Co({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function wo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function To({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function Eo({className:e,asChild:t,isActive:n,variant:r,size:i,tooltip:a,...o}){return(0,u.jsx)(l.Pressable,{className:e,...o})}function Do({className:e,asChild:t,showOnHover:n,...r}){return(0,u.jsx)(l.Pressable,{className:e,...r})}function Oo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function ko({className:e,showIcon:t,...n}){return(0,u.jsx)(l.View,{className:e,...n})}function Ao({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function jo({className:e,...t}){return(0,u.jsx)(l.View,{className:e,...t})}function Mo({className:e,asChild:t,size:n,isActive:r,...i}){return(0,u.jsx)(l.Pressable,{className:e,...i})}function No(){return{state:`expanded`,open:!0,setOpen:()=>{},openMobile:!1,setOpenMobile:()=>{},isMobile:!1,toggleSidebar:()=>{}}}exports.Accordion=ae,exports.AccordionContent=le,exports.AccordionItem=oe,exports.AccordionTrigger=ce,exports.Alert=de,exports.AlertDescription=pe,exports.AlertDialog=ge,exports.AlertDialogAction=Te,exports.AlertDialogCancel=Ee,exports.AlertDialogContent=be,exports.AlertDialogDescription=we,exports.AlertDialogFooter=Se,exports.AlertDialogHeader=xe,exports.AlertDialogOverlay=ye,exports.AlertDialogPortal=ve,exports.AlertDialogTitle=Ce,exports.AlertDialogTrigger=_e,exports.AlertTitle=fe,exports.AspectRatio=De,exports.Avatar=Oe,exports.AvatarFallback=Ae,exports.AvatarImage=ke,exports.Badge=Ne,exports.Breadcrumb=Ie,exports.BreadcrumbEllipsis=He,exports.BreadcrumbItem=Re,exports.BreadcrumbLink=ze,exports.BreadcrumbList=Le,exports.BreadcrumbPage=Be,exports.BreadcrumbSeparator=Ve,exports.Button=W,exports.ButtonGroup=Zi,exports.ButtonGroupSeparator=$i,exports.ButtonGroupText=Qi,exports.Calendar=Ue,exports.Card=We,exports.CardContent=Je,exports.CardDescription=qe,exports.CardFooter=Ye,exports.CardHeader=Ge,exports.CardTitle=Ke,exports.Carousel=Ze,exports.CarouselContent=Qe,exports.CarouselItem=$e,exports.CarouselNext=tt,exports.CarouselPrevious=et,exports.ChartContainer=nt,exports.ChartLegend=ot,exports.ChartLegendContent=it,exports.ChartStyle=st,exports.ChartTooltip=at,exports.ChartTooltipContent=rt,exports.Checkbox=ct,exports.Collapsible=lt,exports.CollapsibleContent=dt,exports.CollapsibleTrigger=ut,exports.Combobox=Ha,exports.ComboboxChip=no,exports.ComboboxChips=to,exports.ComboboxChipsInput=ro,exports.ComboboxClear=Ga,exports.ComboboxCollection=Qa,exports.ComboboxContent=qa,exports.ComboboxEmpty=$a,exports.ComboboxGroup=Xa,exports.ComboboxInput=Ka,exports.ComboboxItem=Ya,exports.ComboboxLabel=Za,exports.ComboboxList=Ja,exports.ComboboxSeparator=eo,exports.ComboboxTrigger=Wa,exports.ComboboxValue=Ua,exports.Command=ft,exports.CommandDialog=pt,exports.CommandEmpty=gt,exports.CommandGroup=_t,exports.CommandInput=mt,exports.CommandItem=vt,exports.CommandList=ht,exports.CommandSeparator=yt,exports.CommandShortcut=bt,exports.ContextMenu=xt,exports.ContextMenuCheckboxItem=At,exports.ContextMenuContent=Ot,exports.ContextMenuGroup=wt,exports.ContextMenuItem=kt,exports.ContextMenuLabel=Mt,exports.ContextMenuPortal=Ct,exports.ContextMenuRadioGroup=Tt,exports.ContextMenuRadioItem=jt,exports.ContextMenuSeparator=Nt,exports.ContextMenuShortcut=Pt,exports.ContextMenuSub=Et,exports.ContextMenuSubContent=It,exports.ContextMenuSubTrigger=Ft,exports.ContextMenuTrigger=St,exports.Dialog=q,exports.DialogClose=zt,exports.DialogContent=J,exports.DialogDescription=Wt,exports.DialogFooter=Ht,exports.DialogHeader=Vt,exports.DialogTitle=Ut,exports.DialogTrigger=Lt,exports.DirectionProvider=ta,exports.Drawer=Gt,exports.DrawerClose=Qt,exports.DrawerContent=Yt,exports.DrawerDescription=en,exports.DrawerFooter=Zt,exports.DrawerHeader=Xt,exports.DrawerOverlay=Jt,exports.DrawerPortal=qt,exports.DrawerTitle=$t,exports.DrawerTrigger=Kt,exports.DropdownMenu=tn,exports.DropdownMenuCheckboxItem=un,exports.DropdownMenuContent=ln,exports.DropdownMenuGroup=an,exports.DropdownMenuItem=Y,exports.DropdownMenuLabel=fn,exports.DropdownMenuPortal=rn,exports.DropdownMenuRadioGroup=on,exports.DropdownMenuRadioItem=dn,exports.DropdownMenuSeparator=pn,exports.DropdownMenuShortcut=mn,exports.DropdownMenuSub=sn,exports.DropdownMenuSubContent=gn,exports.DropdownMenuSubTrigger=hn,exports.DropdownMenuTrigger=nn,exports.Empty=ra,exports.EmptyContent=ca,exports.EmptyDescription=sa,exports.EmptyHeader=ia,exports.EmptyMedia=aa,exports.EmptyTitle=oa,exports.Field=ua,exports.FieldContent=da,exports.FieldDescription=fa,exports.FieldError=pa,exports.FieldGroup=ma,exports.FieldLabel=ha,exports.FieldLegend=ga,exports.FieldSeparator=_a,exports.FieldSet=va,exports.FieldTitle=ya,exports.Form=vn,exports.FormControl=wn,exports.FormDescription=Tn,exports.FormField=bn,exports.FormItem=Sn,exports.FormLabel=Cn,exports.FormMessage=En,exports.HoverCard=Dn,exports.HoverCardContent=kn,exports.HoverCardTrigger=On,exports.Input=An,exports.InputGroup=ba,exports.InputGroupAddon=xa,exports.InputGroupButton=Sa,exports.InputGroupInput=wa,exports.InputGroupText=Ca,exports.InputGroupTextarea=Ta,exports.InputOTP=ao,exports.InputOTPGroup=oo,exports.InputOTPSeparator=co,exports.InputOTPSlot=so,exports.Item=ja,exports.ItemActions=Ma,exports.ItemContent=Na,exports.ItemDescription=Pa,exports.ItemFooter=Fa,exports.ItemGroup=Ia,exports.ItemHeader=La,exports.ItemMedia=Ra,exports.ItemSeparator=za,exports.ItemTitle=Ba,exports.Kbd=ka,exports.KbdGroup=Aa,exports.Label=_n,exports.Menubar=jn,exports.MenubarCheckboxItem=Vn,exports.MenubarContent=zn,exports.MenubarGroup=Pn,exports.MenubarItem=Bn,exports.MenubarLabel=Un,exports.MenubarMenu=Mn,exports.MenubarPortal=Nn,exports.MenubarRadioGroup=Fn,exports.MenubarRadioItem=Hn,exports.MenubarSeparator=Wn,exports.MenubarShortcut=Gn,exports.MenubarSub=In,exports.MenubarSubContent=qn,exports.MenubarSubTrigger=Kn,exports.MenubarTrigger=Rn,exports.NativeSelect=Ea,exports.NativeSelectOptGroup=Oa,exports.NativeSelectOption=Da,exports.NavigationMenu=Jn,exports.NavigationMenuContent=Qn,exports.NavigationMenuIndicator=tr,exports.NavigationMenuItem=Xn,exports.NavigationMenuLink=$n,exports.NavigationMenuList=Yn,exports.NavigationMenuTrigger=Zn,exports.NavigationMenuViewport=er,exports.Pagination=nr,exports.PaginationContent=rr,exports.PaginationEllipsis=sr,exports.PaginationItem=ir,exports.PaginationLink=Z,exports.PaginationNext=or,exports.PaginationPrevious=ar,exports.Popover=lr,exports.PopoverAnchor=dr,exports.PopoverContent=fr,exports.PopoverTrigger=ur,exports.Progress=pr,exports.RadioGroup=mr,exports.RadioGroupItem=hr,exports.ResizableHandle=vr,exports.ResizablePanel=_r,exports.ResizablePanelGroup=gr,exports.ScrollArea=yr,exports.ScrollToTop=Nr,exports.Search=xr,exports.Select=Cr,exports.SelectContent=kr,exports.SelectGroup=wr,exports.SelectItem=jr,exports.SelectLabel=Ar,exports.SelectScrollDownButton=Or,exports.SelectScrollUpButton=Dr,exports.SelectSeparator=Mr,exports.SelectTrigger=Er,exports.SelectValue=Tr,exports.Separator=Rr,exports.Sheet=zr,exports.SheetClose=Vr,exports.SheetContent=Wr,exports.SheetDescription=Jr,exports.SheetFooter=Kr,exports.SheetHeader=Gr,exports.SheetOverlay=Ur,exports.SheetPortal=Hr,exports.SheetTitle=qr,exports.SheetTrigger=Br,exports.Sidebar=uo,exports.SidebarContent=yo,exports.SidebarFooter=_o,exports.SidebarGroup=bo,exports.SidebarGroupAction=So,exports.SidebarGroupContent=Co,exports.SidebarGroupLabel=xo,exports.SidebarHeader=go,exports.SidebarInput=ho,exports.SidebarInset=mo,exports.SidebarMenu=wo,exports.SidebarMenuAction=Do,exports.SidebarMenuBadge=Oo,exports.SidebarMenuButton=Eo,exports.SidebarMenuItem=To,exports.SidebarMenuSkeleton=ko,exports.SidebarMenuSub=Ao,exports.SidebarMenuSubButton=Mo,exports.SidebarMenuSubItem=jo,exports.SidebarProvider=lo,exports.SidebarRail=po,exports.SidebarSeparator=vo,exports.SidebarTrigger=fo,exports.Skeleton=Yr,exports.Slider=Xr,exports.Sonner=ii,exports.Spinner=la,exports.SupportFab=Lr,exports.Switch=ai,exports.Table=oi,exports.TableBody=ci,exports.TableCaption=pi,exports.TableCell=fi,exports.TableFooter=li,exports.TableHead=di,exports.TableHeader=si,exports.TableOfContents=qi,exports.TableOfContentsContent=Xi,exports.TableOfContentsHeading=Ji,exports.TableOfContentsList=Yi,exports.TableRow=ui,exports.Tabs=mi,exports.TabsContent=_i,exports.TabsList=hi,exports.TabsTrigger=gi,exports.Text=G,exports.Textarea=vi,exports.ThemeProvider=Bi,exports.ThemeToggle=Ui,exports.Toast=$r,exports.Toaster=Wi,exports.Toggle=yi,exports.ToggleGroup=xi,exports.ToggleGroupItem=Si,exports.Tooltip=Ci,exports.TooltipContent=Ti,exports.TooltipProvider=Ei,exports.TooltipTrigger=wi,exports.badgeVariants=je,exports.buttonGroupVariants=ea,exports.buttonVariants=me,exports.cn=U,exports.textVariants=Fe,exports.toast=Li,exports.toggleVariants=ne.toggleVariants,exports.useComboboxAnchor=io,exports.useDirection=na,exports.useFormField=X,exports.useSidebar=No,exports.useTheme=Vi,exports.useToast=Ri,exports.wrapTextChildren=H;
|