@gnome-ui/react 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/components/ActionRow/ActionRow.d.ts +37 -0
  2. package/dist/components/ActionRow/index.d.ts +2 -0
  3. package/dist/components/Avatar/Avatar.d.ts +34 -0
  4. package/dist/components/Avatar/index.d.ts +2 -0
  5. package/dist/components/Badge/Badge.d.ts +31 -0
  6. package/dist/components/Badge/index.d.ts +2 -0
  7. package/dist/components/Banner/Banner.d.ts +38 -0
  8. package/dist/components/Banner/index.d.ts +2 -0
  9. package/dist/components/Bin/Bin.d.ts +18 -0
  10. package/dist/components/Bin/index.d.ts +2 -0
  11. package/dist/components/BottomSheet/BottomSheet.d.ts +27 -0
  12. package/dist/components/BottomSheet/index.d.ts +2 -0
  13. package/dist/components/BoxedList/BoxedList.d.ts +25 -0
  14. package/dist/components/BoxedList/index.d.ts +2 -0
  15. package/dist/components/BreakpointBin/BreakpointBin.d.ts +66 -0
  16. package/dist/components/BreakpointBin/index.d.ts +2 -0
  17. package/dist/components/Button/Button.d.ts +34 -0
  18. package/dist/components/Button/index.d.ts +2 -0
  19. package/dist/components/ButtonContent/ButtonContent.d.ts +30 -0
  20. package/dist/components/ButtonContent/index.d.ts +2 -0
  21. package/dist/components/ButtonRow/ButtonRow.d.ts +22 -0
  22. package/dist/components/ButtonRow/index.d.ts +2 -0
  23. package/dist/components/Card/Card.d.ts +24 -0
  24. package/dist/components/Card/index.d.ts +2 -0
  25. package/dist/components/Carousel/Carousel.d.ts +64 -0
  26. package/dist/components/Carousel/index.d.ts +2 -0
  27. package/dist/components/CheckRow/CheckRow.d.ts +28 -0
  28. package/dist/components/CheckRow/index.d.ts +2 -0
  29. package/dist/components/Checkbox/Checkbox.d.ts +22 -0
  30. package/dist/components/Checkbox/index.d.ts +2 -0
  31. package/dist/components/Chip/Chip.d.ts +38 -0
  32. package/dist/components/Chip/index.d.ts +2 -0
  33. package/dist/components/Clamp/Clamp.d.ts +32 -0
  34. package/dist/components/Clamp/index.d.ts +2 -0
  35. package/dist/components/ComboRow/ComboRow.d.ts +34 -0
  36. package/dist/components/ComboRow/index.d.ts +2 -0
  37. package/dist/components/Dialog/Dialog.d.ts +119 -0
  38. package/dist/components/Dialog/index.d.ts +2 -0
  39. package/dist/components/Dropdown/Dropdown.d.ts +36 -0
  40. package/dist/components/Dropdown/index.d.ts +2 -0
  41. package/dist/components/EntryRow/EntryRow.d.ts +24 -0
  42. package/dist/components/EntryRow/index.d.ts +2 -0
  43. package/dist/components/ExpanderRow/ExpanderRow.d.ts +35 -0
  44. package/dist/components/ExpanderRow/index.d.ts +2 -0
  45. package/dist/components/Footer/Footer.d.ts +23 -0
  46. package/dist/components/Footer/index.d.ts +2 -0
  47. package/dist/components/Frame/Frame.d.ts +14 -0
  48. package/dist/components/Frame/index.d.ts +2 -0
  49. package/dist/components/HeaderBar/HeaderBar.d.ts +25 -0
  50. package/dist/components/HeaderBar/index.d.ts +2 -0
  51. package/dist/components/Icon/Icon.d.ts +30 -0
  52. package/dist/components/Icon/index.d.ts +2 -0
  53. package/dist/components/InlineViewSwitcher/InlineViewSwitcher.d.ts +36 -0
  54. package/dist/components/InlineViewSwitcher/InlineViewSwitcherItem.d.ts +17 -0
  55. package/dist/components/InlineViewSwitcher/index.d.ts +4 -0
  56. package/dist/components/Link/Link.d.ts +18 -0
  57. package/dist/components/Link/index.d.ts +2 -0
  58. package/dist/components/LinkedGroup/LinkedGroup.d.ts +31 -0
  59. package/dist/components/LinkedGroup/index.d.ts +2 -0
  60. package/dist/components/NavigationSplitView/NavigationSplitView.d.ts +55 -0
  61. package/dist/components/NavigationSplitView/index.d.ts +2 -0
  62. package/dist/components/NavigationView/NavigationView.d.ts +55 -0
  63. package/dist/components/NavigationView/index.d.ts +2 -0
  64. package/dist/components/OverlaySplitView/OverlaySplitView.d.ts +59 -0
  65. package/dist/components/OverlaySplitView/index.d.ts +2 -0
  66. package/dist/components/PasswordEntryRow/PasswordEntryRow.d.ts +16 -0
  67. package/dist/components/PasswordEntryRow/index.d.ts +2 -0
  68. package/dist/components/Popover/Popover.d.ts +50 -0
  69. package/dist/components/Popover/index.d.ts +2 -0
  70. package/dist/components/PreferencesDialog/PreferencesDialog.d.ts +43 -0
  71. package/dist/components/PreferencesDialog/index.d.ts +2 -0
  72. package/dist/components/PreferencesGroup/PreferencesGroup.d.ts +23 -0
  73. package/dist/components/PreferencesGroup/index.d.ts +2 -0
  74. package/dist/components/PreferencesPage/PreferencesPage.d.ts +26 -0
  75. package/dist/components/PreferencesPage/index.d.ts +2 -0
  76. package/dist/components/ProgressBar/ProgressBar.d.ts +24 -0
  77. package/dist/components/ProgressBar/index.d.ts +2 -0
  78. package/dist/components/RadioButton/RadioButton.d.ts +15 -0
  79. package/dist/components/RadioButton/index.d.ts +2 -0
  80. package/dist/components/SearchBar/SearchBar.d.ts +34 -0
  81. package/dist/components/SearchBar/index.d.ts +2 -0
  82. package/dist/components/Separator/Separator.d.ts +15 -0
  83. package/dist/components/Separator/index.d.ts +2 -0
  84. package/dist/components/ShortcutLabel/ShortcutLabel.d.ts +38 -0
  85. package/dist/components/ShortcutLabel/index.d.ts +2 -0
  86. package/dist/components/ShortcutsDialog/ShortcutsDialog.d.ts +37 -0
  87. package/dist/components/ShortcutsDialog/index.d.ts +2 -0
  88. package/dist/components/Sidebar/Sidebar.d.ts +50 -0
  89. package/dist/components/Sidebar/SidebarItem.d.ts +58 -0
  90. package/dist/components/Sidebar/SidebarSection.d.ts +32 -0
  91. package/dist/components/Sidebar/index.d.ts +6 -0
  92. package/dist/components/Slider/Slider.d.ts +45 -0
  93. package/dist/components/Slider/index.d.ts +2 -0
  94. package/dist/components/SpinButton/SpinButton.d.ts +30 -0
  95. package/dist/components/SpinButton/index.d.ts +2 -0
  96. package/dist/components/SpinRow/SpinRow.d.ts +37 -0
  97. package/dist/components/SpinRow/index.d.ts +2 -0
  98. package/dist/components/Spinner/Spinner.d.ts +20 -0
  99. package/dist/components/Spinner/index.d.ts +2 -0
  100. package/dist/components/SplitButton/SplitButton.d.ts +25 -0
  101. package/dist/components/SplitButton/index.d.ts +2 -0
  102. package/dist/components/StatusPage/StatusPage.d.ts +40 -0
  103. package/dist/components/StatusPage/index.d.ts +2 -0
  104. package/dist/components/Switch/Switch.d.ts +14 -0
  105. package/dist/components/Switch/index.d.ts +2 -0
  106. package/dist/components/SwitchRow/SwitchRow.d.ts +29 -0
  107. package/dist/components/SwitchRow/index.d.ts +2 -0
  108. package/dist/components/Tabs/TabBar.d.ts +20 -0
  109. package/dist/components/Tabs/TabItem.d.ts +27 -0
  110. package/dist/components/Tabs/TabPanel.d.ts +13 -0
  111. package/dist/components/Tabs/index.d.ts +6 -0
  112. package/dist/components/Text/Text.d.ts +23 -0
  113. package/dist/components/Text/index.d.ts +2 -0
  114. package/dist/components/TextField/TextField.d.ts +22 -0
  115. package/dist/components/TextField/index.d.ts +2 -0
  116. package/dist/components/Toast/Toast.d.ts +29 -0
  117. package/dist/components/Toast/Toaster.d.ts +30 -0
  118. package/dist/components/Toast/index.d.ts +4 -0
  119. package/dist/components/ToggleGroup/ToggleGroup.d.ts +29 -0
  120. package/dist/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
  121. package/dist/components/ToggleGroup/index.d.ts +4 -0
  122. package/dist/components/Toolbar/Spacer.d.ts +19 -0
  123. package/dist/components/Toolbar/Toolbar.d.ts +18 -0
  124. package/dist/components/Toolbar/index.d.ts +4 -0
  125. package/dist/components/ToolbarView/ToolbarView.d.ts +27 -0
  126. package/dist/components/ToolbarView/index.d.ts +2 -0
  127. package/dist/components/Tooltip/Tooltip.d.ts +44 -0
  128. package/dist/components/Tooltip/index.d.ts +2 -0
  129. package/dist/components/ViewSwitcher/ViewSwitcher.d.ts +19 -0
  130. package/dist/components/ViewSwitcher/ViewSwitcherItem.d.ts +16 -0
  131. package/dist/components/ViewSwitcher/index.d.ts +4 -0
  132. package/dist/components/ViewSwitcherBar/ViewSwitcherBar.d.ts +38 -0
  133. package/dist/components/ViewSwitcherBar/index.d.ts +2 -0
  134. package/dist/components/ViewSwitcherSidebar/ViewSwitcherSidebar.d.ts +37 -0
  135. package/dist/components/ViewSwitcherSidebar/ViewSwitcherSidebarItem.d.ts +27 -0
  136. package/dist/components/ViewSwitcherSidebar/index.d.ts +4 -0
  137. package/dist/components/WindowTitle/WindowTitle.d.ts +23 -0
  138. package/dist/components/WindowTitle/index.d.ts +2 -0
  139. package/dist/components/WrapBox/WrapBox.d.ts +29 -0
  140. package/dist/components/WrapBox/index.d.ts +2 -0
  141. package/dist/hooks/index.d.ts +2 -0
  142. package/dist/hooks/useBreakpoint.d.ts +42 -0
  143. package/dist/index.cjs +2 -0
  144. package/dist/index.cjs.map +1 -0
  145. package/dist/index.d.ts +132 -0
  146. package/dist/index.js +4109 -0
  147. package/dist/index.js.map +1 -0
  148. package/dist/style.css +2 -0
  149. package/package.json +1 -1
@@ -0,0 +1,44 @@
1
+ import { ReactElement, HTMLAttributes } from 'react';
2
+ export type TooltipPlacement = "top" | "bottom" | "left" | "right";
3
+ export interface TooltipProps {
4
+ /**
5
+ * The tooltip label. Keep it short — a noun phrase or brief description.
6
+ * Do not duplicate information already visible on screen.
7
+ */
8
+ label: string;
9
+ /**
10
+ * Preferred placement relative to the trigger.
11
+ * The tooltip flips automatically if there is not enough space.
12
+ * Defaults to `"top"`.
13
+ */
14
+ placement?: TooltipPlacement;
15
+ /**
16
+ * Delay in milliseconds before the tooltip appears on hover.
17
+ * Defaults to `500`. Set to `0` for instant.
18
+ */
19
+ delay?: number;
20
+ /**
21
+ * The element that triggers the tooltip.
22
+ * Must be a single React element that can receive `ref` and event props.
23
+ */
24
+ children: ReactElement<HTMLAttributes<HTMLElement>>;
25
+ }
26
+ /**
27
+ * Informational tooltip following the Adwaita / GNOME HIG pattern.
28
+ *
29
+ * Wraps a single trigger element and shows a floating label on hover or
30
+ * keyboard focus. The tooltip is positioned automatically and flips if
31
+ * there is not enough space.
32
+ *
33
+ * - `aria-describedby` is wired to the trigger automatically.
34
+ * - The tooltip itself is `role="tooltip"` and rendered in a portal.
35
+ * - Does not show on touch — touch devices have no hover state.
36
+ *
37
+ * @example
38
+ * <Tooltip label="Save file (Ctrl+S)">
39
+ * <Button aria-label="Save"><Icon icon={Save} /></Button>
40
+ * </Tooltip>
41
+ *
42
+ * @see https://developer.gnome.org/hig/patterns/feedback/tooltips.html
43
+ */
44
+ export declare function Tooltip({ label, placement: preferredPlacement, delay, children, }: TooltipProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Tooltip } from './Tooltip';
2
+ export type { TooltipProps, TooltipPlacement } from './Tooltip';
@@ -0,0 +1,19 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface ViewSwitcherProps extends HTMLAttributes<HTMLDivElement> {
3
+ children?: ReactNode;
4
+ /** Accessible label for the group. */
5
+ "aria-label"?: string;
6
+ }
7
+ /**
8
+ * Segmented control for switching between major views.
9
+ *
10
+ * Mirrors the Adwaita `AdwViewSwitcher` pattern. Place in a `HeaderBar`
11
+ * as the `title` for the canonical GNOME layout.
12
+ *
13
+ * Compose with `ViewSwitcherItem` for each option.
14
+ * Keyboard: ← / → cycle through items, Home / End jump to first / last.
15
+ *
16
+ * @see https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.ViewSwitcher.html
17
+ * @see https://developer.gnome.org/hig/patterns/nav/view-switchers.html
18
+ */
19
+ export declare function ViewSwitcher({ children, className, "aria-label": ariaLabel, ...props }: ViewSwitcherProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { ButtonHTMLAttributes } from 'react';
2
+ import { IconDefinition } from '@gnome-ui/icons';
3
+ export interface ViewSwitcherItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
+ /** Display label. */
5
+ label: string;
6
+ /** Optional icon from `@gnome-ui/icons`. */
7
+ icon?: IconDefinition;
8
+ /** Marks this item as the currently active view. */
9
+ active?: boolean;
10
+ }
11
+ /**
12
+ * Individual option inside a `ViewSwitcher`.
13
+ *
14
+ * Renders as `role="radio"` so the group has proper radiogroup semantics.
15
+ */
16
+ export declare function ViewSwitcherItem({ label, icon, active, className, disabled, ...props }: ViewSwitcherItemProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export { ViewSwitcher } from './ViewSwitcher';
2
+ export type { ViewSwitcherProps } from './ViewSwitcher';
3
+ export { ViewSwitcherItem } from './ViewSwitcherItem';
4
+ export type { ViewSwitcherItemProps } from './ViewSwitcherItem';
@@ -0,0 +1,38 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface ViewSwitcherBarProps extends HTMLAttributes<HTMLDivElement> {
3
+ /**
4
+ * `ViewSwitcherItem` elements to render in the bottom bar.
5
+ * Use the same items you pass to the header-bar `ViewSwitcher`.
6
+ */
7
+ children: ReactNode;
8
+ /**
9
+ * Whether the bar is visible.
10
+ * Typically tied to `useBreakpoint().isMedium` so it appears
11
+ * automatically when the window is ≤ 550 px wide.
12
+ */
13
+ reveal?: boolean;
14
+ }
15
+ /**
16
+ * Bottom navigation bar for `ViewSwitcher` items on narrow screens (≤ 550 px),
17
+ * mirroring the Adwaita `AdwViewSwitcherBar` pattern.
18
+ *
19
+ * Use in tandem with a `ViewSwitcher` in the `HeaderBar`:
20
+ * - **Wide** (> 550 px): show the `ViewSwitcher` in the header, hide the bar.
21
+ * - **Narrow** (≤ 550 px): hide the header switcher, reveal the bar.
22
+ *
23
+ * @example
24
+ * const { isMedium } = useBreakpoint();
25
+ * <>
26
+ * <HeaderBar
27
+ * title={
28
+ * !isMedium && (
29
+ * <ViewSwitcher aria-label="View">…items…</ViewSwitcher>
30
+ * )
31
+ * }
32
+ * />
33
+ * <ViewSwitcherBar reveal={isMedium}>…items…</ViewSwitcherBar>
34
+ * </>
35
+ *
36
+ * @see https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.ViewSwitcherBar.html
37
+ */
38
+ export declare function ViewSwitcherBar({ children, reveal, className, ...props }: ViewSwitcherBarProps): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,2 @@
1
+ export { ViewSwitcherBar } from './ViewSwitcherBar';
2
+ export type { ViewSwitcherBarProps } from './ViewSwitcherBar';
@@ -0,0 +1,37 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ interface ViewSwitcherSidebarContextValue {
3
+ value: string;
4
+ onValueChange: (value: string) => void;
5
+ }
6
+ export declare function useViewSwitcherSidebar(): ViewSwitcherSidebarContextValue;
7
+ export interface ViewSwitcherSidebarProps extends HTMLAttributes<HTMLElement> {
8
+ /** Name of the currently active view. */
9
+ value: string;
10
+ /** Called with the new view name when the user selects an item. */
11
+ onValueChange: (value: string) => void;
12
+ /** Accessible label for the group. Defaults to `"Views"`. */
13
+ "aria-label"?: string;
14
+ children?: ReactNode;
15
+ }
16
+ /**
17
+ * Sidebar-style view switcher for apps with more than 4 top-level views,
18
+ * or when the sidebar layout fits better than a header-bar `ViewSwitcher`.
19
+ *
20
+ * Mirrors `AdwViewSwitcherSidebar` (libadwaita 1.9 / GNOME 50), the modern
21
+ * replacement for `GtkStackSidebar`.
22
+ *
23
+ * Compose with `ViewSwitcherSidebarItem` for each view. The active item is
24
+ * highlighted with the accent colour; keyboard ↑ / ↓ cycles through items.
25
+ *
26
+ * @see https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.ViewSwitcherSidebar.html
27
+ *
28
+ * @example
29
+ * ```tsx
30
+ * <ViewSwitcherSidebar value={view} onValueChange={setView}>
31
+ * <ViewSwitcherSidebarItem name="photos" label="Photos" icon={MediaPlay} />
32
+ * <ViewSwitcherSidebarItem name="albums" label="Albums" icon={Star} count={12} />
33
+ * </ViewSwitcherSidebar>
34
+ * ```
35
+ */
36
+ export declare function ViewSwitcherSidebar({ value, onValueChange, "aria-label": ariaLabel, children, className, ...props }: ViewSwitcherSidebarProps): import("react/jsx-runtime").JSX.Element;
37
+ export {};
@@ -0,0 +1,27 @@
1
+ import { ButtonHTMLAttributes, ReactNode } from 'react';
2
+ import { IconDefinition } from '@gnome-ui/icons';
3
+ export interface ViewSwitcherSidebarItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
+ /** String identifier — matched against the group's `value`. */
5
+ name: string;
6
+ /** View label. */
7
+ label: string;
8
+ /** Icon from `@gnome-ui/icons`. */
9
+ icon?: IconDefinition;
10
+ /**
11
+ * Optional trailing count (unread messages, items…).
12
+ * Rendered as a small badge at the trailing edge.
13
+ */
14
+ count?: number;
15
+ /**
16
+ * Optional trailing widget. Takes precedence over `count`.
17
+ * Use for custom badges, buttons, or status indicators.
18
+ */
19
+ suffix?: ReactNode;
20
+ }
21
+ /**
22
+ * Individual view item inside a `ViewSwitcherSidebar`.
23
+ *
24
+ * Renders as `role="radio"`. Only the active item is in the natural Tab order;
25
+ * all others use `tabIndex={-1}` and are reached via arrow-key navigation.
26
+ */
27
+ export declare function ViewSwitcherSidebarItem({ name, label, icon, count, suffix, disabled, className, ...props }: ViewSwitcherSidebarItemProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export { ViewSwitcherSidebar } from './ViewSwitcherSidebar';
2
+ export type { ViewSwitcherSidebarProps } from './ViewSwitcherSidebar';
3
+ export { ViewSwitcherSidebarItem } from './ViewSwitcherSidebarItem';
4
+ export type { ViewSwitcherSidebarItemProps } from './ViewSwitcherSidebarItem';
@@ -0,0 +1,23 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface WindowTitleProps extends HTMLAttributes<HTMLDivElement> {
3
+ /** Primary title — rendered in bold. */
4
+ title: string;
5
+ /** Secondary subtitle — rendered smaller and dimmed below the title. */
6
+ subtitle?: string;
7
+ }
8
+ /**
9
+ * Two-line title + subtitle widget for use inside a `HeaderBar`.
10
+ *
11
+ * Pass as the `title` prop of `HeaderBar` to get a centred two-line header
12
+ * that shows an app name and current document/view name.
13
+ *
14
+ * Mirrors `AdwWindowTitle`.
15
+ *
16
+ * @example
17
+ * ```tsx
18
+ * <HeaderBar title={<WindowTitle title="Files" subtitle="/home/user/Documents" />} />
19
+ * ```
20
+ *
21
+ * @see https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.WindowTitle.html
22
+ */
23
+ export declare function WindowTitle({ title, subtitle, className, ...props }: WindowTitleProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { WindowTitle } from './WindowTitle';
2
+ export type { WindowTitleProps } from './WindowTitle';
@@ -0,0 +1,29 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export type WrapBoxJustify = "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly";
3
+ export type WrapBoxAlign = "start" | "center" | "end" | "stretch";
4
+ export interface WrapBoxProps extends HTMLAttributes<HTMLDivElement> {
5
+ /** Gap between children on the same line. Default: `6`. */
6
+ childSpacing?: number | string;
7
+ /** Gap between lines. Defaults to `childSpacing`. */
8
+ lineSpacing?: number | string;
9
+ /** Horizontal distribution of children within each line. Default: `"start"`. */
10
+ justify?: WrapBoxJustify;
11
+ /** Cross-axis alignment of children within each line. Default: `"center"`. */
12
+ align?: WrapBoxAlign;
13
+ /** When true children wrap in the reverse direction (bottom to top). */
14
+ wrapReverse?: boolean;
15
+ children?: ReactNode;
16
+ }
17
+ /**
18
+ * Flexible wrapping layout container.
19
+ *
20
+ * Children flow horizontally and wrap to new lines when they don't fit,
21
+ * like words in a paragraph — without locking them into a grid.
22
+ *
23
+ * Mirrors `AdwWrapBox` (libadwaita 1.7 / GNOME 48).
24
+ *
25
+ * Pair with `Chip` for tag lists and filter rows.
26
+ *
27
+ * @see https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.WrapBox.html
28
+ */
29
+ export declare function WrapBox({ childSpacing, lineSpacing, justify, align, wrapReverse, children, className, style, ...props }: WrapBoxProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { WrapBox } from './WrapBox';
2
+ export type { WrapBoxProps, WrapBoxJustify, WrapBoxAlign } from './WrapBox';
@@ -0,0 +1,2 @@
1
+ export { useBreakpoint, GNOME_BREAKPOINTS } from './useBreakpoint';
2
+ export type { BreakpointState, GnomeBreakpointName } from './useBreakpoint';
@@ -0,0 +1,42 @@
1
+ /**
2
+ * GNOME / libadwaita canonical breakpoints (in CSS px, assuming 1 sp = 1 px at 1× density).
3
+ *
4
+ * | Name | Max width | Pattern triggered |
5
+ * |------------|-----------|-------------------|
6
+ * | `narrow` | ≤ 400 px | Collapse split views; sidebar becomes overlay |
7
+ * | `medium` | ≤ 550 px | Move ViewSwitcher to a bottom bar |
8
+ * | `wide` | ≤ 860 px | Collapse outer pane in nested split views |
9
+ *
10
+ * @see https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.Breakpoint.html
11
+ */
12
+ export declare const GNOME_BREAKPOINTS: {
13
+ /** ≤ 400 px — split views collapse to single pane */
14
+ readonly narrow: 400;
15
+ /** ≤ 550 px — ViewSwitcher moves to bottom bar */
16
+ readonly medium: 550;
17
+ /** ≤ 860 px — outer pane of nested split views collapses */
18
+ readonly wide: 860;
19
+ };
20
+ export type GnomeBreakpointName = keyof typeof GNOME_BREAKPOINTS;
21
+ export interface BreakpointState {
22
+ /** Width ≤ 400 px — split views are collapsed. */
23
+ isNarrow: boolean;
24
+ /** Width ≤ 550 px — medium or narrower. */
25
+ isMedium: boolean;
26
+ /** Width ≤ 860 px — wide or narrower. */
27
+ isWide: boolean;
28
+ /** Current viewport width in px. */
29
+ width: number;
30
+ }
31
+ /**
32
+ * Tracks the viewport width against GNOME / libadwaita breakpoints.
33
+ *
34
+ * Returns a reactive state object that updates on every window resize.
35
+ * Uses a passive `resize` event listener and cleans up automatically.
36
+ *
37
+ * @example
38
+ * const { isNarrow, isMedium } = useBreakpoint();
39
+ * // isNarrow → true when viewport ≤ 400 px (split views should collapse)
40
+ * // isMedium → true when viewport ≤ 550 px (use ViewSwitcherBar instead)
41
+ */
42
+ export declare function useBreakpoint(): BreakpointState;
package/dist/index.cjs ADDED
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require(`react/jsx-runtime`),t=require(`react`),n=require(`react-dom`);var r={button:`_button_1qgdy_1`,pill:`_pill_1qgdy_52`,circular:`_circular_1qgdy_59`,default:`_default_1qgdy_71`,suggested:`_suggested_1qgdy_105`,destructive:`_destructive_1qgdy_120`,flat:`_flat_1qgdy_135`,raised:`_raised_1qgdy_150`,osd:`_osd_1qgdy_184`,sm:`_sm_1qgdy_228`,lg:`_lg_1qgdy_235`};function i({variant:t=`default`,size:n=`md`,shape:i=`default`,osd:a=!1,leadingIcon:o,trailingIcon:s,children:c,className:l,...u}){return(0,e.jsxs)(`button`,{className:[r.button,r[t],n===`md`?null:r[n],i===`default`?null:r[i],a?r.osd:null,l].filter(Boolean).join(` `),...u,children:[o,c,s]})}var a=`_text_102e3_1`,o=`_heading_102e3_41`,s=`_body_102e3_48`,c=`_document_102e3_55`,l=`_caption_102e3_62`,u=`_monospace_102e3_78`,d=`_numeric_102e3_85`,f={text:a,"large-title":`_large-title_102e3_9`,"title-1":`_title-1_102e3_16`,"title-2":`_title-2_102e3_22`,"title-3":`_title-3_102e3_28`,"title-4":`_title-4_102e3_34`,heading:o,body:s,document:c,caption:l,"caption-heading":`_caption-heading_102e3_69`,monospace:u,numeric:d,"color-default":`_color-default_102e3_95`,"color-dim":`_color-dim_102e3_99`,"color-accent":`_color-accent_102e3_103`,"color-destructive":`_color-destructive_102e3_107`,"color-success":`_color-success_102e3_111`,"color-warning":`_color-warning_102e3_115`,"color-error":`_color-error_102e3_119`},p={"large-title":`h1`,"title-1":`h1`,"title-2":`h2`,"title-3":`h3`,"title-4":`h4`,heading:`h3`,body:`p`,document:`p`,caption:`span`,"caption-heading":`span`,monospace:`code`,numeric:`span`};function m({variant:t=`body`,color:n=`default`,as:r,className:i,children:a,...o}){return(0,e.jsx)(r??p[t],{className:[f.text,f[t],f[`color-${n}`],i].filter(Boolean).join(` `),...o,children:a})}var h=`_card_7f351_1`,g=`_interactive_7f351_19`,_={card:h,"padding-none":`_padding-none_7f351_12`,"padding-sm":`_padding-sm_7f351_13`,"padding-md":`_padding-md_7f351_14`,"padding-lg":`_padding-lg_7f351_15`,interactive:g};function v({interactive:t=!1,padding:n=`md`,as:r,className:i,children:a,...o}){return(0,e.jsx)(r??(t?`button`:`div`),{className:[_.card,_[`padding-${n}`],t?_.interactive:null,i].filter(Boolean).join(` `),...o,children:a})}var y={spinner:`_spinner_101bb_3`,spin:`_spin_101bb_3`,sm:`_sm_101bb_15`,md:`_md_101bb_21`,lg:`_lg_101bb_27`};function b({size:t=`md`,label:n=`Loading…`,className:r,...i}){let a=[y.spinner,y[t],r].filter(Boolean).join(` `);return(0,e.jsx)(`span`,{role:`status`,"aria-label":n||void 0,"aria-hidden":n===``?!0:void 0,className:a,...i})}var x={avatar:`_avatar_1f2cd_3`,sm:`_sm_1f2cd_17`,md:`_md_1f2cd_22`,lg:`_lg_1f2cd_27`,xl:`_xl_1f2cd_32`,image:`_image_1f2cd_39`,initials:`_initials_1f2cd_48`,"color-blue":`_color-blue_1f2cd_64`,"color-green":`_color-green_1f2cd_65`,"color-yellow":`_color-yellow_1f2cd_66`,"color-orange":`_color-orange_1f2cd_72`,"color-red":`_color-red_1f2cd_73`,"color-purple":`_color-purple_1f2cd_74`,"color-brown":`_color-brown_1f2cd_75`,"color-teal":`_color-teal_1f2cd_76`,"color-slate":`_color-slate_1f2cd_77`},S=[`blue`,`green`,`yellow`,`orange`,`red`,`purple`,`brown`,`teal`,`slate`];function C(e){let t=0;for(let n=0;n<e.length;n++)t=t*31+e.charCodeAt(n)>>>0;return S[t%S.length]}function w(e){let t=e.trim().split(/\s+/).filter(Boolean);return t.length===0?``:t.length===1?t[0].charAt(0).toUpperCase():t[0].charAt(0).toUpperCase()+t[t.length-1].charAt(0).toUpperCase()}function T({name:t=``,src:n,alt:r,size:i=`md`,color:a,className:o,...s}){let c=a??(t?C(t):`blue`),l=w(t),u=[x.avatar,x[i],n?null:x[`color-${c}`],o].filter(Boolean).join(` `);return(0,e.jsx)(`span`,{role:`img`,"aria-label":r??t??`Avatar`,className:u,...s,children:n?(0,e.jsx)(`img`,{src:n,alt:r??t,className:x.image}):(0,e.jsx)(`span`,{"aria-hidden":`true`,className:x.initials,children:l})})}var E={separator:`_separator_w9b4s_3`,horizontal:`_horizontal_w9b4s_12`,vertical:`_vertical_w9b4s_20`};function D({orientation:t=`horizontal`,className:n,...r}){let i=[E.separator,t===`vertical`?E.vertical:E.horizontal,n].filter(Boolean).join(` `);return t===`vertical`?(0,e.jsx)(`div`,{role:`separator`,"aria-orientation":`vertical`,className:i,...r}):(0,e.jsx)(`hr`,{className:i,...r})}var O={switch:`_switch_1h6fk_3`};function k({className:t,...n}){return(0,e.jsx)(`input`,{type:`checkbox`,role:`switch`,className:[O.switch,t].filter(Boolean).join(` `),...n})}var A={checkbox:`_checkbox_jnffk_3`};function ee({indeterminate:n=!1,className:r,...i}){let a=(0,t.useRef)(null);return(0,t.useEffect)(()=>{a.current&&(a.current.indeterminate=n)},[n]),(0,e.jsx)(`input`,{ref:a,type:`checkbox`,className:[A.checkbox,r].filter(Boolean).join(` `),...i})}var j={wrapper:`_wrapper_q91d8_3`,disabled:`_disabled_q91d8_9`,label:`_label_q91d8_15`,input:`_input_q91d8_25`,errorInput:`_errorInput_q91d8_74`,hint:`_hint_q91d8_89`,errorHint:`_errorHint_q91d8_97`};function te({label:n,helperText:r,error:i,id:a,className:o,disabled:s,...c}){let l=(0,t.useId)(),u=a??l,d=`${u}-help`;return(0,e.jsxs)(`div`,{className:[j.wrapper,s?j.disabled:null].filter(Boolean).join(` `),children:[n&&(0,e.jsx)(`label`,{htmlFor:u,className:j.label,children:n}),(0,e.jsx)(`input`,{id:u,disabled:s,"aria-describedby":i||r?d:void 0,"aria-invalid":i?!0:void 0,className:[j.input,i?j.errorInput:null,o].filter(Boolean).join(` `),...c}),(i||r)&&(0,e.jsx)(`span`,{id:d,className:[j.hint,i?j.errorHint:null].filter(Boolean).join(` `),children:i??r})]})}var ne={radio:`_radio_1vybt_3`};function re({className:t,...n}){return(0,e.jsx)(`input`,{type:`radio`,className:[ne.radio,t].filter(Boolean).join(` `),...n})}var ie={track:`_track_n3qbv_3`,fill:`_fill_n3qbv_14`,indeterminate:`_indeterminate_n3qbv_24`,pulse:`_pulse_n3qbv_1`};function ae({value:t,className:n,"aria-label":r,"aria-labelledby":i,...a}){let o=t==null,s=o?void 0:Math.min(1,Math.max(0,t)),c=s===void 0?void 0:s*100;return(0,e.jsx)(`div`,{role:`progressbar`,"aria-label":r,"aria-labelledby":i,"aria-valuenow":s===void 0?void 0:Math.round(c),"aria-valuemin":o?void 0:0,"aria-valuemax":o?void 0:100,className:[ie.track,n].filter(Boolean).join(` `),...a,children:(0,e.jsx)(`div`,{className:[ie.fill,o?ie.indeterminate:null].filter(Boolean).join(` `),style:o?void 0:{width:`${c}%`}})})}var oe=`_banner_1x3b0_3`,se=`_message_1x3b0_17`,ce=`_actions_1x3b0_24`,le=`_actionBtn_1x3b0_33`,ue=`_dismissBtn_1x3b0_55`,de=`_info_1x3b0_85`,fe=`_warning_1x3b0_99`,pe=`_error_1x3b0_113`,me=`_success_1x3b0_127`,he={banner:oe,message:se,actions:ce,actionBtn:le,dismissBtn:ue,info:de,"actionBtn-info":`_actionBtn-info_1x3b0_90`,warning:fe,"actionBtn-warning":`_actionBtn-warning_1x3b0_104`,error:pe,"actionBtn-error":`_actionBtn-error_1x3b0_118`,success:me,"actionBtn-success":`_actionBtn-success_1x3b0_132`};function ge({variant:t=`info`,children:n,actionLabel:r,onAction:i,dismissible:a=!1,onDismiss:o,className:s,...c}){return(0,e.jsxs)(`div`,{role:`status`,"aria-live":`polite`,className:[he.banner,he[t],s].filter(Boolean).join(` `),...c,children:[(0,e.jsx)(`span`,{className:he.message,children:n}),(r||a)&&(0,e.jsxs)(`span`,{className:he.actions,children:[r&&(0,e.jsx)(`button`,{type:`button`,className:[he.actionBtn,he[`actionBtn-${t}`]].filter(Boolean).join(` `),onClick:i,children:r}),a&&(0,e.jsx)(`button`,{type:`button`,className:he.dismissBtn,onClick:o,"aria-label":`Dismiss`,children:(0,e.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,"aria-hidden":`true`,fill:`currentColor`,children:(0,e.jsx)(`path`,{d:`M3.293 3.293a1 1 0 011.414 0L8 6.586l3.293-3.293a1 1 0 111.414 1.414L9.414 8l3.293 3.293a1 1 0 01-1.414 1.414L8 9.414l-3.293 3.293a1 1 0 01-1.414-1.414L6.586 8 3.293 4.707a1 1 0 010-1.414z`})})})]})]})}var _e={headerBar:`_headerBar_1rr5r_3`,flat:`_flat_1rr5r_22`,slot:`_slot_1rr5r_29`,slotEnd:`_slotEnd_1rr5r_36`,titleSlot:`_titleSlot_1rr5r_42`,title:`_title_1rr5r_42`};function ve({title:t,start:n,end:r,flat:i=!1,className:a,...o}){return(0,e.jsxs)(`header`,{className:[_e.headerBar,i?_e.flat:null,a].filter(Boolean).join(` `),...o,children:[(0,e.jsx)(`div`,{className:_e.slot,children:n}),(0,e.jsx)(`div`,{className:_e.titleSlot,"aria-live":`polite`,children:typeof t==`string`?(0,e.jsx)(`span`,{className:_e.title,children:t}):t}),(0,e.jsx)(`div`,{className:[_e.slot,_e.slotEnd].filter(Boolean).join(` `),children:r})]})}var ye={footer:`_footer_10xz9_3`,flat:`_flat_10xz9_23`,slot:`_slot_10xz9_29`,slotEnd:`_slotEnd_10xz9_36`,center:`_center_10xz9_42`};function be({start:t,end:n,children:r,flat:i=!1,className:a,...o}){return(0,e.jsxs)(`footer`,{className:[ye.footer,i?ye.flat:null,a].filter(Boolean).join(` `),...o,children:[(0,e.jsx)(`div`,{className:ye.slot,children:t}),r!=null&&(0,e.jsx)(`div`,{className:ye.center,children:r}),(0,e.jsx)(`div`,{className:[ye.slot,ye.slotEnd].filter(Boolean).join(` `),children:n})]})}var xe={wrapper:`_wrapper_1apop_3`,badge:`_badge_1apop_11`,anchored:`_anchored_1apop_32`,dot:`_dot_1apop_41`,accent:`_accent_1apop_56`,success:`_success_1apop_61`,warning:`_warning_1apop_66`,error:`_error_1apop_71`,neutral:`_neutral_1apop_76`};function Se({variant:t=`accent`,dot:n=!1,children:r,anchor:i,className:a,...o}){let s=(0,e.jsx)(`span`,{className:[xe.badge,xe[t],n?xe.dot:null,i?xe.anchored:null,a].filter(Boolean).join(` `),...o,children:!n&&r});return i?(0,e.jsxs)(`span`,{className:xe.wrapper,children:[i,s]}):s}var Ce={sm:12,md:16,lg:20};function M({icon:t,size:n=`md`,label:r,width:i,height:a,...o}){let s=Ce[n];return(0,e.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:t.viewBox,width:i??s,height:a??s,fill:`currentColor`,"aria-label":r,"aria-hidden":r?void 0:!0,role:r?`img`:void 0,focusable:`false`,...o,children:t.paths.map((t,n)=>(0,e.jsx)(`path`,{d:t.d,fillRule:t.fillRule,clipRule:t.clipRule},n))})}var we={viewBox:`0 0 16 16`,paths:[{d:`m2.5 5 5.5 6 5.5-6z`,fillRule:`evenodd`}]},Te={viewBox:`0 0 16 16`,paths:[{d:`M3.293 3.293a1 1 0 0 1 1.414 0L8 6.586l3.293-3.293a1 1 0 1 1 1.414 1.414L9.414 8l3.293 3.293a1 1 0 0 1-1.414 1.414L8 9.414l-3.293 3.293a1 1 0 0 1-1.414-1.414L6.586 8 3.293 4.707a1 1 0 0 1 0-1.414z`,fillRule:`evenodd`}]},Ee={viewBox:`0 0 16 16`,paths:[{d:`M6.5 1a5.5 5.5 0 0 1 4.33 8.92l3.13 3.13-1.41 1.41-3.13-3.13A5.5 5.5 0 1 1 6.5 1zm0 2a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7z`,fillRule:`evenodd`}]},De={viewBox:`0 0 16 16`,paths:[{d:`M8 3C4.5 3 1.5 5.667 0 8c1.5 2.333 4.5 5 8 5s6.5-2.667 8-5c-1.5-2.333-4.5-5-8-5zm0 8a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-4.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z`,fillRule:`evenodd`}]},Oe={viewBox:`0 0 16 16`,paths:[{d:`M1.293 1.293a1 1 0 0 1 1.414 0l12 12a1 1 0 0 1-1.414 1.414l-1.88-1.88A8.8 8.8 0 0 1 8 13C4.5 13 1.5 10.333 0 8c.637-1.023 1.52-2.049 2.6-2.893L1.293 2.707a1 1 0 0 1 0-1.414zM5.03 6.444 7.09 8.505A1.5 1.5 0 0 0 9.494 6.91L7.432 4.848A3 3 0 0 0 5.03 6.444zM8 3c.645 0 1.27.083 1.867.237l-1.59 1.59A3 3 0 0 0 5.173 7.92L3.584 6.333C4.51 4.95 6.152 3 8 3zm5.4 2.107C14.48 5.951 15.363 6.977 16 8c-1.5 2.333-4.5 5-8 5a8.8 8.8 0 0 1-2.072-.249l1.538-1.538a3 3 0 0 0 3.703-3.703L12.81 5.87c.202.076.4.156.59.237z`,fillRule:`evenodd`}]},ke={viewBox:`0 0 16 16`,paths:[{d:`M13.5 3 6 11.5 2.5 8 1 9.5l5 5 9-10z`,fillRule:`evenodd`}]},N={wrapper:`_wrapper_1rkb1_3`,open:`_open_1rkb1_13`,bar:`_bar_1rkb1_20`,disabled:`_disabled_1rkb1_31`,searchIcon:`_searchIcon_1rkb1_37`,input:`_input_1rkb1_47`,clearButton:`_clearButton_1rkb1_82`,filterRow:`_filterRow_1rkb1_124`,inline:`_inline_1rkb1_136`};function Ae({open:n,onClose:r,onClear:i,children:a,value:o,onChange:s,placeholder:c=`Search…`,disabled:l,inline:u=!1,className:d,...f}){let p=(0,t.useRef)(null);(0,t.useEffect)(()=>{if(n){let e=requestAnimationFrame(()=>p.current?.focus());return()=>cancelAnimationFrame(e)}},[n]);let m=(0,t.useCallback)(e=>{e.key===`Escape`&&(e.preventDefault(),r?.()),f.onKeyDown?.(e)},[r,f]),h=o!==void 0&&o!==``;return(0,e.jsxs)(`div`,{className:[N.wrapper,n?N.open:null,d].filter(Boolean).join(` `),"aria-hidden":!n,children:[(0,e.jsxs)(`div`,{className:[N.bar,u?N.inline:null,l?N.disabled:null].filter(Boolean).join(` `),children:[(0,e.jsx)(`span`,{className:N.searchIcon,"aria-hidden":!0,children:(0,e.jsx)(M,{icon:Ee,size:`md`})}),(0,e.jsx)(`input`,{ref:p,type:`search`,role:`searchbox`,value:o,onChange:s,placeholder:c,disabled:l,tabIndex:n?void 0:-1,className:N.input,onKeyDown:m,...f}),h&&(0,e.jsx)(`button`,{type:`button`,className:N.clearButton,"aria-label":`Clear search`,tabIndex:n?void 0:-1,disabled:l,onClick:()=>{i?.(),p.current?.focus()},children:(0,e.jsx)(M,{icon:Te,size:`md`})})]}),a&&(0,e.jsx)(`div`,{className:N.filterRow,children:a})]})}var je={page:`_page_cb4hq_3`,iconWrap:`_iconWrap_cb4hq_20`,title:`_title_cb4hq_33`,description:`_description_cb4hq_44`,actions:`_actions_cb4hq_58`,compact:`_compact_cb4hq_68`};function Me({icon:t,iconNode:n,title:r,description:i,children:a,compact:o=!1,className:s,...c}){let l=o?64:128,u=t?(0,e.jsx)(M,{icon:t,width:l,height:l,"aria-hidden":!0}):n??null;return(0,e.jsxs)(`div`,{className:[je.page,o?je.compact:null,s].filter(Boolean).join(` `),...c,children:[u&&(0,e.jsx)(`div`,{className:je.iconWrap,"aria-hidden":`true`,children:u}),(0,e.jsx)(`p`,{className:je.title,children:r}),i&&(0,e.jsx)(`p`,{className:je.description,children:i}),a&&(0,e.jsx)(`div`,{className:je.actions,children:a})]})}var Ne={narrow:400,medium:550,wide:860};function Pe(){let e=()=>{let e=typeof window<`u`?window.innerWidth:1280;return{isNarrow:e<=Ne.narrow,isMedium:e<=Ne.medium,isWide:e<=Ne.wide,width:e}},[n,r]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let t=()=>r(e());return window.addEventListener(`resize`,t,{passive:!0}),()=>window.removeEventListener(`resize`,t)},[]),n}var Fe=`_sidebar_b80pp_3`,Ie=`_section_b80pp_21`,Le=`_sectionTitle_b80pp_33`,Re=`_list_b80pp_47`,ze=`_item_b80pp_58`,Be=`_itemBtn_b80pp_64`,Ve=`_active_b80pp_111`,He=`_itemIcon_b80pp_127`,Ue=`_itemLabel_b80pp_140`,We=`_itemSuffix_b80pp_150`,Ge=`_contextMenu_b80pp_159`,Ke=`_contextMenuItem_b80pp_183`,qe=`_contextMenuDestructive_b80pp_219`,Je=`_searchWrap_b80pp_225`,Ye=`_pageMode_b80pp_236`,Xe=`_dragOver_b80pp_243`,Ze=`_collapsed_b80pp_251`,Qe=`_itemCollapsed_b80pp_262`,P={sidebar:Fe,section:Ie,sectionTitle:Le,list:Re,item:ze,itemBtn:Be,active:Ve,itemIcon:He,itemLabel:Ue,itemSuffix:We,contextMenu:Ge,"menu-in":`_menu-in_b80pp_1`,contextMenuItem:Ke,contextMenuDestructive:qe,searchWrap:Je,pageMode:Ye,dragOver:Xe,collapsed:Ze,itemCollapsed:Qe},$e=(0,t.createContext)(!1);function et(){return(0,t.useContext)($e)}var tt=(0,t.createContext)(``);function nt(e,n){let r=0;return t.Children.forEach(e,e=>{if(!(0,t.isValidElement)(e))return;let i=e.props;typeof i.label==`string`?i.label.toLowerCase().includes(n.toLowerCase())&&r++:i.children&&(r+=nt(i.children,n))}),r}function rt({children:n,collapsed:r=!1,searchable:i,filter:a,onFilterChange:o,mode:s,className:c,...l}){let[u,d]=(0,t.useState)(``),{isNarrow:f}=Pe(),p=a!==void 0,m=p?a:u,h=e=>{p||d(e),o?.(e)},g=m.length>0,_=s??(f?`page`:`sidebar`),v=!g||nt(n,m)>0;return(0,e.jsx)($e.Provider,{value:r,children:(0,e.jsx)(tt.Provider,{value:m,children:(0,e.jsxs)(`nav`,{className:[P.sidebar,r?P.collapsed:null,_===`page`?P.pageMode:null,c].filter(Boolean).join(` `),...l,children:[i&&(0,e.jsx)(`div`,{className:P.searchWrap,children:(0,e.jsx)(Ae,{open:!0,value:m,onChange:e=>h(e.target.value),onClose:()=>h(``),onClear:()=>h(``),inline:!0})}),g&&!v?(0,e.jsx)(Me,{title:`No Results`,description:`No items match your search.`,compact:!0}):n]})})})}function it({title:t,children:n,className:r,...i}){return(0,e.jsxs)(`section`,{className:[P.section,r].filter(Boolean).join(` `),...i,children:[t&&(0,e.jsx)(`h3`,{className:P.sectionTitle,children:t}),(0,e.jsx)(`ul`,{role:`list`,className:P.list,children:n})]})}var at={tooltip:`_tooltip_y4het_3`,visible:`_visible_y4het_29`,top:`_top_y4het_55`,bottom:`_bottom_y4het_62`,left:`_left_y4het_69`,right:`_right_y4het_76`},F=6;function ot(e,t,n){let r=window.innerWidth,i=window.innerHeight,a=[n,n===`top`||n===`bottom`?n===`top`?`bottom`:`top`:n===`left`?`right`:`left`,`top`,`bottom`,`left`,`right`];for(let n of a){let a=0,o=0;n===`top`?(a=e.top-t.height-F,o=e.left+e.width/2-t.width/2):n===`bottom`?(a=e.bottom+F,o=e.left+e.width/2-t.width/2):n===`left`?(a=e.top+e.height/2-t.height/2,o=e.left-t.width-F):(a=e.top+e.height/2-t.height/2,o=e.right+F);let s=o>=8&&o+t.width<=r-8,c=a>=8&&a+t.height<=i-8;if(s&&c)return{top:Math.max(8,Math.min(a,i-t.height-8)),left:Math.max(8,Math.min(o,r-t.width-8)),placement:n}}let o=0,s=0;return n===`top`&&(o=e.top-t.height-F,s=e.left+e.width/2-t.width/2),n===`bottom`&&(o=e.bottom+F,s=e.left+e.width/2-t.width/2),n===`left`&&(o=e.top+e.height/2-t.height/2,s=e.left-t.width-F),n===`right`&&(o=e.top+e.height/2-t.height/2,s=e.right+F),{top:Math.max(8,Math.min(o,i-t.height-8)),left:Math.max(8,Math.min(s,window.innerWidth-t.width-8)),placement:n}}function st({label:r,placement:i=`top`,delay:a=500,children:o}){let s=(0,t.useId)(),[c,l]=(0,t.useState)(!1),[u,d]=(0,t.useState)(null),f=(0,t.useRef)(null),p=(0,t.useRef)(null),m=(0,t.useRef)(null),h=()=>{m.current&&=(clearTimeout(m.current),null)},g=(0,t.useCallback)(()=>{!f.current||!p.current||d(ot(f.current.getBoundingClientRect(),p.current.getBoundingClientRect(),i))},[i]);(0,t.useEffect)(()=>{if(c)return g(),window.addEventListener(`scroll`,g,{passive:!0,capture:!0}),window.addEventListener(`resize`,g,{passive:!0}),()=>{window.removeEventListener(`scroll`,g,{capture:!0}),window.removeEventListener(`resize`,g)}},[c,g]);let _=(0,t.useCallback)(()=>{h(),m.current=setTimeout(()=>l(!0),a)},[a]),v=(0,t.useCallback)(()=>{h(),l(!1),d(null)},[]);(0,t.useEffect)(()=>{c&&g()},[c,g]),(0,t.useEffect)(()=>{if(!c)return;let e=e=>{e.key===`Escape`&&v()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[c,v]);let y=(0,t.cloneElement)(o,{ref:f,"aria-describedby":s,onMouseEnter:e=>{_(),o.props.onMouseEnter?.(e)},onMouseLeave:e=>{v(),o.props.onMouseLeave?.(e)},onFocus:e=>{_(),o.props.onFocus?.(e)},onBlur:e=>{v(),o.props.onBlur?.(e)}}),b=(0,e.jsx)(`div`,{ref:p,id:s,role:`tooltip`,className:[at.tooltip,u?at[u.placement]:null,c&&u?at.visible:null].filter(Boolean).join(` `),style:u?{top:u.top,left:u.left}:{visibility:`hidden`,top:-9999,left:-9999},children:r});return(0,e.jsxs)(e.Fragment,{children:[y,typeof document<`u`?(0,n.createPortal)(b,document.body):b]})}function ct({label:r,icon:i,active:a=!1,suffix:o,badge:s,tooltip:c,menuItems:l,onDrop:u,acceptTypes:d,className:f,...p}){let m=et(),h=(0,t.useContext)(tt),g=o??s,_=m?c??r:c,v=h.length>0&&!r.toLowerCase().includes(h.toLowerCase()),[y,b]=(0,t.useState)(!1),x=e=>{u&&(d?.length&&!d.some(t=>e.dataTransfer.types.includes(t))||(e.preventDefault(),b(!0)))},S=()=>b(!1),C=e=>{u&&(e.preventDefault(),b(!1),u(e))},[w,T]=(0,t.useState)(null),E=(0,t.useRef)(null),D=(0,t.useCallback)((e,t)=>T({x:e,y:t}),[]),O=(0,t.useCallback)(()=>T(null),[]);(0,t.useEffect)(()=>{if(!w)return;let e=e=>{E.current&&!E.current.contains(e.target)&&O()},t=e=>{e.key===`Escape`&&O()};return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t)}},[w,O]);let k=e=>{l?.length&&(e.preventDefault(),D(e.clientX,e.clientY))},A=e=>{if(e.key===`ContextMenu`||e.key===`F10`&&e.shiftKey){if(!l?.length)return;e.preventDefault();let t=e.currentTarget.getBoundingClientRect();D(t.right,t.top)}},ee=(0,e.jsxs)(`button`,{type:`button`,"aria-current":a?`page`:void 0,"aria-label":m?r:void 0,className:[P.itemBtn,a?P.active:null,m?P.itemCollapsed:null,y?P.dragOver:null,f].filter(Boolean).join(` `),onContextMenu:k,onKeyDown:A,onDragOver:x,onDragLeave:S,onDrop:C,...p,children:[i&&(0,e.jsx)(`span`,{className:P.itemIcon,children:(0,e.jsx)(M,{icon:i,size:`md`,"aria-hidden":!0})}),!m&&(0,e.jsx)(`span`,{className:P.itemLabel,children:r}),!m&&g&&(0,e.jsx)(`span`,{className:P.itemSuffix,children:g})]});return(0,e.jsxs)(`li`,{className:P.item,hidden:v||void 0,children:[_?(0,e.jsx)(st,{label:_,placement:`right`,children:ee}):ee,w&&l?.length&&typeof document<`u`&&(0,n.createPortal)((0,e.jsx)(`div`,{ref:E,className:P.contextMenu,style:{top:w.y,left:w.x},role:`menu`,children:l.map(t=>(0,e.jsx)(`button`,{type:`button`,role:`menuitem`,disabled:t.disabled,className:[P.contextMenuItem,t.destructive?P.contextMenuDestructive:null].filter(Boolean).join(` `),onClick:()=>{t.onClick(),O()},children:t.label},t.label))}),document.body)]})}var lt={spin:`_spin_7d4yi_3`,disabled:`_disabled_7d4yi_36`,btn:`_btn_7d4yi_43`,value:`_value_7d4yi_96`};function ut(e){let t=e.toString(),n=t.indexOf(`.`);return n===-1?0:t.length-n-1}function dt(e,t,n){return Math.min(n,Math.max(t,e))}function ft({value:n,onChange:r,min:i=0,max:a=100,step:o=1,decimals:s,disabled:c=!1,className:l,"aria-label":u,"aria-labelledby":d,...f}){let p=s??ut(o),m=(0,t.useCallback)(e=>r(parseFloat(dt(e,i,a).toFixed(p))),[r,i,a,p]),h=(0,t.useCallback)(e=>{switch(e.key){case`ArrowUp`:e.preventDefault(),m(n+o);break;case`ArrowDown`:e.preventDefault(),m(n-o);break;case`PageUp`:e.preventDefault(),m(n+o*10);break;case`PageDown`:e.preventDefault(),m(n-o*10);break;case`Home`:e.preventDefault(),m(i);break;case`End`:e.preventDefault(),m(a);break}},[n,o,i,a,m]);return(0,e.jsxs)(`div`,{role:`spinbutton`,"aria-valuenow":n,"aria-valuemin":i,"aria-valuemax":a,"aria-label":u,"aria-labelledby":d,"aria-disabled":c||void 0,tabIndex:c?-1:0,onKeyDown:c?void 0:h,className:[lt.spin,c?lt.disabled:null,l].filter(Boolean).join(` `),...f,children:[(0,e.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-hidden":`true`,disabled:c||n<=i,className:lt.btn,onClick:()=>m(n-o),children:`−`}),(0,e.jsx)(`span`,{className:lt.value,"aria-hidden":`true`,children:n.toFixed(p)}),(0,e.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-hidden":`true`,disabled:c||n>=a,className:lt.btn,onClick:()=>m(n+o),children:`+`})]})}var I={bar:`_bar_12ars_3`,list:`_list_12ars_10`,tab:`_tab_12ars_26`,active:`_active_12ars_81`,tabIcon:`_tabIcon_12ars_102`,tabLabel:`_tabLabel_12ars_110`,closeBtn:`_closeBtn_12ars_119`,panel:`_panel_12ars_148`,inline:`_inline_12ars_158`};function pt({children:n,className:r,inline:i=!1,"aria-label":a=`Tabs`,...o}){let s=(0,t.useRef)(null);function c(e){let t=Array.from(s.current?.querySelectorAll(`[role=tab]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowRight`)r=(n+1)%t.length;else if(e.key===`ArrowLeft`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus()}return(0,e.jsx)(`div`,{className:[I.bar,i?I.inline:null,r].filter(Boolean).join(` `),...o,children:(0,e.jsx)(`div`,{ref:s,role:`tablist`,"aria-label":a,className:I.list,onKeyDown:c,children:n})})}function mt({label:t,icon:n,active:r=!1,panelId:i,onClose:a,closeLabel:o=`Close tab`,className:s,disabled:c,...l}){return(0,e.jsxs)(`button`,{role:`tab`,type:`button`,"aria-selected":r,"aria-controls":i,tabIndex:r?0:-1,disabled:c,className:[I.tab,r?I.active:null,a?I.closeable:null,s].filter(Boolean).join(` `),...l,children:[n&&(0,e.jsx)(`span`,{className:I.tabIcon,children:(0,e.jsx)(M,{icon:n,size:`sm`,"aria-hidden":!0})}),(0,e.jsx)(`span`,{className:I.tabLabel,children:t}),a&&(0,e.jsx)(`span`,{role:`button`,tabIndex:0,"aria-label":o,className:I.closeBtn,onClick:e=>{e.stopPropagation(),a()},onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),a())},children:`×`})]})}function ht({id:t,active:n=!1,className:r,children:i,...a}){return(0,e.jsx)(`div`,{id:t,role:`tabpanel`,hidden:!n,tabIndex:0,className:[I.panel,r].filter(Boolean).join(` `),...a,children:i})}var L={row:`_row_17clq_3`,leading:`_leading_17clq_16`,content:`_content_17clq_25`,title:`_title_17clq_33`,subtitle:`_subtitle_17clq_44`,trailing:`_trailing_17clq_58`,propertyLabel:`_propertyLabel_17clq_68`,propertyValue:`_propertyValue_17clq_81`,interactive:`_interactive_17clq_94`};function gt({title:t,subtitle:n,leading:r,trailing:i,interactive:a=!1,variant:o=`default`,className:s,...c}){let l=a?`button`:`div`,u=o===`property`;return(0,e.jsxs)(l,{className:[L.row,a?L.interactive:null,u?L.property:null,s].filter(Boolean).join(` `),...c,children:[r&&(0,e.jsx)(`span`,{className:L.leading,children:r}),(0,e.jsxs)(`span`,{className:L.content,children:[(0,e.jsx)(`span`,{className:u?L.propertyLabel:L.title,children:t}),n&&(0,e.jsx)(`span`,{className:u?L.propertyValue:L.subtitle,children:n})]}),i&&(0,e.jsx)(`span`,{className:L.trailing,children:i})]})}var _t={list:`_list_1mn4t_3`,item:`_item_1mn4t_17`,divider:`_divider_1mn4t_25`,separate:`_separate_1mn4t_34`,separateItem:`_separateItem_1mn4t_44`};function vt({children:n,variant:r=`default`,className:i,...a}){let o=t.Children.toArray(n).filter(Boolean),s=r===`separate`;return(0,e.jsx)(`ul`,{role:`list`,className:[_t.list,s?_t.separate:null,i].filter(Boolean).join(` `),...a,children:o.map((t,n)=>(0,e.jsxs)(`li`,{className:s?_t.separateItem:_t.item,children:[!s&&n>0&&(0,e.jsx)(`div`,{className:_t.divider,"aria-hidden":`true`}),t]},n))})}var yt={switcher:`_switcher_1uh9r_3`,item:`_item_1uh9r_18`,active:`_active_1uh9r_45`,itemIcon:`_itemIcon_1uh9r_76`,itemLabel:`_itemLabel_1uh9r_84`};function bt({children:n,className:r,"aria-label":i=`View switcher`,...a}){let o=(0,t.useRef)(null);function s(e){let t=Array.from(o.current?.querySelectorAll(`[role=radio]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowRight`||e.key===`ArrowDown`)r=(n+1)%t.length;else if(e.key===`ArrowLeft`||e.key===`ArrowUp`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus(),t[r].click()}return(0,e.jsx)(`div`,{ref:o,role:`radiogroup`,"aria-label":i,onKeyDown:s,className:[yt.switcher,r].filter(Boolean).join(` `),...a,children:n})}function xt({label:t,icon:n,active:r=!1,className:i,disabled:a,...o}){return(0,e.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":r,tabIndex:r?0:-1,disabled:a,className:[yt.item,r?yt.active:null,i].filter(Boolean).join(` `),...o,children:[n&&(0,e.jsx)(`span`,{className:yt.itemIcon,children:(0,e.jsx)(M,{icon:n,size:`md`,"aria-hidden":!0})}),(0,e.jsx)(`span`,{className:yt.itemLabel,children:t})]})}var St=`_toaster_1tgvb_3`,Ct=`_toasterBottom_1tgvb_18`,wt=`_toasterTop_1tgvb_22`,Tt=`_toast_1tgvb_3`,Et=`_title_1tgvb_69`,Dt=`_actions_1tgvb_76`,Ot=`_actionBtn_1tgvb_85`,kt=`_dismissBtn_1tgvb_118`,R={toaster:St,toasterBottom:Ct,toasterTop:wt,toast:Tt,"toast-in":`_toast-in_1tgvb_1`,title:Et,actions:Dt,actionBtn:Ot,dismissBtn:kt};function At({title:n,duration:r=3e3,onDismiss:i,actionLabel:a,onAction:o,dismissible:s=!1,className:c,...l}){let u=(0,t.useRef)(null),d=(0,t.useRef)(r),f=(0,t.useRef)(0),p=()=>{u.current&&=(clearTimeout(u.current),null)},m=e=>{e<=0||!i||(p(),f.current=Date.now(),u.current=setTimeout(()=>i(),e))};(0,t.useEffect)(()=>(r>0&&(d.current=r,m(r)),p),[r]);let h=()=>{if(u.current){let e=Date.now()-f.current;d.current=Math.max(0,d.current-e),p()}},g=()=>{m(d.current)},_=()=>{p(),o?.(),i?.()};return(0,e.jsxs)(`div`,{role:`status`,"aria-live":`polite`,"aria-atomic":`true`,className:[R.toast,c].filter(Boolean).join(` `),onMouseEnter:h,onMouseLeave:g,onFocus:h,onBlur:g,...l,children:[(0,e.jsx)(`span`,{className:R.title,children:n}),(a||s)&&(0,e.jsxs)(`span`,{className:R.actions,children:[a&&(0,e.jsx)(`button`,{type:`button`,className:R.actionBtn,onClick:_,children:a}),s&&(0,e.jsx)(`button`,{type:`button`,className:R.dismissBtn,"aria-label":`Dismiss`,onClick:()=>{p(),i?.()},children:(0,e.jsx)(M,{icon:Te,size:`md`,"aria-hidden":!0})})]})]})}function jt({position:t=`bottom`,children:r,container:i,className:a,...o}){let s=(0,e.jsx)(`div`,{"aria-label":`Notifications`,className:[R.toaster,t===`top`?R.toasterTop:R.toasterBottom,a].filter(Boolean).join(` `),...o,children:r});return typeof document>`u`?s:(0,n.createPortal)(s,i??document.body)}var Mt=`_backdrop_zx0yn_3`,Nt=`_dialog_zx0yn_26`,Pt=`_title_zx0yn_56`,Ft=`_body_zx0yn_70`,It=`_footer_zx0yn_85`,Lt=`_btn_zx0yn_92`,Rt=`_dialogAbout_zx0yn_155`,zt=`_aboutHeader_zx0yn_162`,Bt=`_aboutIcon_zx0yn_171`,Vt=`_aboutAppName_zx0yn_180`,Ht=`_aboutVersion_zx0yn_187`,Ut=`_aboutTabBar_zx0yn_194`,Wt=`_aboutTabBtn_zx0yn_201`,Gt=`_aboutTabBtnActive_zx0yn_220`,Kt=`_aboutTabContent_zx0yn_233`,qt=`_aboutSection_zx0yn_238`,Jt=`_aboutComments_zx0yn_243`,Yt=`_aboutInfoList_zx0yn_252`,Xt=`_aboutInfoLabel_zx0yn_259`,Zt=`_aboutInfoValue_zx0yn_267`,Qt=`_aboutLink_zx0yn_275`,$t=`_aboutCreditGroup_zx0yn_283`,en=`_aboutCreditTitle_zx0yn_287`,tn=`_aboutCreditList_zx0yn_297`,nn=`_aboutCreditItem_zx0yn_306`,rn=`_aboutCopyright_zx0yn_312`,an=`_aboutLicenseType_zx0yn_319`,on=`_aboutLicenseText_zx0yn_326`,z={backdrop:Mt,"backdrop-in":`_backdrop-in_zx0yn_1`,dialog:Nt,"dialog-in":`_dialog-in_zx0yn_1`,title:Pt,body:Ft,footer:It,btn:Lt,"btn-default":`_btn-default_zx0yn_140`,"btn-suggested":`_btn-suggested_zx0yn_144`,"btn-destructive":`_btn-destructive_zx0yn_149`,dialogAbout:Rt,aboutHeader:zt,aboutIcon:Bt,aboutAppName:Vt,aboutVersion:Ht,aboutTabBar:Ut,aboutTabBtn:Wt,aboutTabBtnActive:Gt,aboutTabContent:Kt,aboutSection:qt,aboutComments:Jt,aboutInfoList:Yt,aboutInfoLabel:Xt,aboutInfoValue:Zt,aboutLink:Qt,aboutCreditGroup:$t,aboutCreditTitle:en,aboutCreditList:tn,aboutCreditItem:nn,aboutCopyright:rn,aboutLicenseType:an,aboutLicenseText:on},sn=`button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`;function cn(e,t){if(e.key!==`Tab`)return;let n=Array.from(t.current?.querySelectorAll(sn)??[]);if(!n.length)return;let r=n[0],i=n[n.length-1];e.shiftKey?document.activeElement===r&&(e.preventDefault(),i.focus()):document.activeElement===i&&(e.preventDefault(),r.focus())}var ln={details:`Details`,credits:`Credits`,legal:`Legal`};function un({open:r,title:i,children:a,buttons:o=[],onClose:s,closeOnBackdrop:c=!0,role:l=`dialog`,responses:u,onResponse:d,variant:f,applicationName:p,applicationIcon:m,version:h,comments:g,developerName:_,website:v,websiteLabel:y,developers:b,designers:x,artists:S,copyright:C,licenseType:w,licenseText:T,links:E,className:D,...O}){let k=(0,t.useRef)(null),A=(0,t.useId)(),ee=(0,t.useRef)(null),[j,te]=(0,t.useState)(`details`),ne=!!u,re=f===`about`;(0,t.useEffect)(()=>{r?(ee.current=document.activeElement,(k.current?.querySelector(sn))?.focus()):(ee.current?.focus(),re&&te(`details`))},[r,re]);let ie=(0,t.useCallback)(()=>{let e=u?.find(e=>e.variant!==`destructive`&&!e.disabled);e&&d?.(e.id)},[u,d]),ae=ne?ie:c?s:void 0,oe=(0,t.useCallback)(e=>{if(e.key===`Escape`){e.preventDefault(),ne?ie():s?.();return}cn(e,k)},[ne,ie,s]);if(!r)return null;let se=[`details`,!!(b?.length||x?.length||S?.length)&&`credits`,!!(C||w||T)&&`legal`].filter(Boolean),ce=()=>re?(0,e.jsx)(`div`,{className:z.footer,children:(0,e.jsx)(`button`,{type:`button`,className:[z.btn,z[`btn-default`]].join(` `),onClick:s,children:`Close`})}):ne&&u?(0,e.jsx)(`div`,{className:z.footer,children:u.map(t=>(0,e.jsx)(`button`,{type:`button`,disabled:t.disabled,className:[z.btn,z[`btn-${t.variant??`default`}`]].filter(Boolean).join(` `),onClick:()=>d?.(t.id),children:t.label},t.id))}):o.length>0?(0,e.jsx)(`div`,{className:z.footer,children:o.map(t=>(0,e.jsx)(`button`,{type:`button`,disabled:t.disabled,className:[z.btn,z[`btn-${t.variant??`default`}`]].filter(Boolean).join(` `),onClick:t.onClick,children:t.label},t.label))}):null,le=()=>(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(`div`,{className:z.aboutHeader,children:[m&&(0,e.jsx)(`div`,{className:z.aboutIcon,children:m}),(0,e.jsx)(`div`,{id:A,className:z.aboutAppName,children:p}),h&&(0,e.jsx)(`div`,{className:z.aboutVersion,children:h})]}),se.length>1&&(0,e.jsx)(`div`,{className:z.aboutTabBar,role:`tablist`,children:se.map(t=>(0,e.jsx)(`button`,{type:`button`,role:`tab`,"aria-selected":j===t,className:[z.aboutTabBtn,j===t?z.aboutTabBtnActive:null].filter(Boolean).join(` `),onClick:()=>te(t),children:ln[t]},t))}),(0,e.jsxs)(`div`,{className:z.aboutTabContent,children:[j===`details`&&(0,e.jsxs)(`div`,{className:z.aboutSection,children:[g&&(0,e.jsx)(`p`,{className:z.aboutComments,children:g}),(_||v||E?.length)&&(0,e.jsxs)(`dl`,{className:z.aboutInfoList,children:[_&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(`dt`,{className:z.aboutInfoLabel,children:`Developer`}),(0,e.jsx)(`dd`,{className:z.aboutInfoValue,children:_})]}),v&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(`dt`,{className:z.aboutInfoLabel,children:`Website`}),(0,e.jsx)(`dd`,{className:z.aboutInfoValue,children:(0,e.jsx)(`a`,{href:v,target:`_blank`,rel:`noopener noreferrer`,className:z.aboutLink,children:y??v})})]}),E?.map(t=>(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(`dt`,{className:z.aboutInfoLabel,children:t.label},`${t.label}-dt`),(0,e.jsx)(`dd`,{className:z.aboutInfoValue,children:(0,e.jsx)(`a`,{href:t.url,target:`_blank`,rel:`noopener noreferrer`,className:z.aboutLink,children:t.url})},`${t.label}-dd`)]}))]})]}),j===`credits`&&(0,e.jsx)(`div`,{className:z.aboutSection,children:[{heading:`Developers`,list:b},{heading:`Designers`,list:x},{heading:`Artists`,list:S}].filter(e=>e.list?.length).map(({heading:t,list:n})=>(0,e.jsxs)(`div`,{className:z.aboutCreditGroup,children:[(0,e.jsx)(`h4`,{className:z.aboutCreditTitle,children:t}),(0,e.jsx)(`ul`,{className:z.aboutCreditList,children:n.map(t=>(0,e.jsx)(`li`,{className:z.aboutCreditItem,children:t},t))})]},t))}),j===`legal`&&(0,e.jsxs)(`div`,{className:z.aboutSection,children:[C&&(0,e.jsx)(`p`,{className:z.aboutCopyright,children:C}),w&&(0,e.jsx)(`p`,{className:z.aboutLicenseType,children:w}),T&&(0,e.jsx)(`pre`,{className:z.aboutLicenseText,children:T})]})]})]}),ue=(0,e.jsx)(`div`,{className:z.backdrop,onClick:ae,"aria-hidden":`true`,children:(0,e.jsxs)(`div`,{ref:k,role:l,"aria-modal":`true`,"aria-labelledby":A,className:[z.dialog,re?z.dialogAbout:null,D].filter(Boolean).join(` `),onKeyDown:oe,onClick:e=>e.stopPropagation(),...O,children:[re?le():(0,e.jsxs)(e.Fragment,{children:[i&&(0,e.jsx)(`div`,{id:A,className:z.title,children:i}),a&&(0,e.jsx)(`div`,{className:z.body,children:a})]}),ce()]})});return typeof document>`u`?ue:(0,n.createPortal)(ue,document.body)}var dn=`_wrapper_1hi05_3`,fn=`_trigger_1hi05_11`,pn=`_triggerOpen_1hi05_63`,mn=`_triggerLabel_1hi05_73`,hn=`_placeholder_1hi05_81`,gn=`_chevron_1hi05_87`,_n=`_chevronOpen_1hi05_94`,vn=`_list_1hi05_100`,yn=`_listDown_1hi05_129`,bn=`_listUp_1hi05_133`,xn=`_option_1hi05_145`,Sn=`_optionActive_1hi05_162`,Cn=`_optionSelected_1hi05_166`,wn=`_optionDisabled_1hi05_170`,Tn=`_optionText_1hi05_178`,En=`_optionLabel_1hi05_186`,Dn=`_optionDesc_1hi05_192`,On=`_checkIcon_1hi05_202`,B={wrapper:dn,trigger:fn,triggerOpen:pn,triggerLabel:mn,placeholder:hn,chevron:gn,chevronOpen:_n,list:vn,"list-in":`_list-in_1hi05_1`,listDown:yn,listUp:bn,"list-in-up":`_list-in-up_1hi05_1`,option:xn,optionActive:Sn,optionSelected:Cn,optionDisabled:wn,optionText:Tn,optionLabel:En,optionDesc:Dn,checkIcon:On};function kn({options:n,value:r,onChange:i,placeholder:a=`Select an option`,disabled:o,className:s,...c}){let[l,u]=(0,t.useState)(!1),[d,f]=(0,t.useState)(-1),[p,m]=(0,t.useState)(!1),h=(0,t.useId)(),g=(0,t.useId)(),_=(0,t.useRef)(null),v=(0,t.useRef)(null),y=n.find(e=>e.value===r),b=(0,t.useCallback)(()=>{if(!_.current)return;let e=_.current.getBoundingClientRect(),t=window.innerHeight-e.bottom,r=Math.min(n.length*48+8,280);m(t<r&&e.top>r)},[n.length]),x=(0,t.useCallback)(()=>{if(o)return;b(),u(!0);let e=n.findIndex(e=>e.value===r&&!e.disabled);f(e>=0?e:n.findIndex(e=>!e.disabled))},[o,b,n,r]),S=(0,t.useCallback)(()=>{u(!1),f(-1),_.current?.focus()},[]),C=(0,t.useCallback)(e=>{e.disabled||(i?.(e.value),S())},[i,S]);(0,t.useEffect)(()=>{!l||d<0||!v.current||v.current.children[d]?.scrollIntoView({block:`nearest`})},[d,l]),(0,t.useEffect)(()=>{if(!l)return;let e=e=>{!_.current?.contains(e.target)&&!v.current?.contains(e.target)&&S()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[l,S]);let w=(0,t.useCallback)(e=>{switch(e.key){case`Enter`:case` `:case`ArrowDown`:e.preventDefault(),x();break;case`ArrowUp`:e.preventDefault(),b(),u(!0),f(n.reduce((e,t,n)=>t.disabled?e:n,-1));break}},[x,b,n]),T=(0,t.useCallback)(e=>{let t=n.map((e,t)=>({o:e,i:t})).filter(({o:e})=>!e.disabled).map(({i:e})=>e),r=t.indexOf(d);switch(e.key){case`ArrowDown`:{e.preventDefault();let n=t[Math.min(r+1,t.length-1)];f(n??d);break}case`ArrowUp`:{e.preventDefault();let n=t[Math.max(r-1,0)];f(n??d);break}case`Home`:e.preventDefault(),f(t[0]??-1);break;case`End`:e.preventDefault(),f(t[t.length-1]??-1);break;case`Enter`:case` `:e.preventDefault(),d>=0&&C(n[d]);break;case`Escape`:case`Tab`:S();break}},[n,d,C,S]);return(0,e.jsxs)(`div`,{className:[B.wrapper,s].filter(Boolean).join(` `),...c,children:[(0,e.jsxs)(`button`,{ref:_,id:h,type:`button`,role:`combobox`,"aria-haspopup":`listbox`,"aria-expanded":l,"aria-controls":g,"aria-activedescendant":l&&d>=0?`${g}-opt-${d}`:void 0,disabled:o,className:[B.trigger,l?B.triggerOpen:null].filter(Boolean).join(` `),onClick:()=>l?S():x(),onKeyDown:w,children:[(0,e.jsx)(`span`,{className:[B.triggerLabel,y?null:B.placeholder].filter(Boolean).join(` `),children:y?.label??a}),(0,e.jsx)(M,{icon:we,size:`md`,"aria-hidden":!0,className:[B.chevron,l?B.chevronOpen:null].filter(Boolean).join(` `)})]}),l&&(0,e.jsx)(`ul`,{ref:v,id:g,role:`listbox`,"aria-labelledby":h,tabIndex:-1,className:[B.list,p?B.listUp:B.listDown].filter(Boolean).join(` `),onKeyDown:T,children:n.map((t,n)=>(0,e.jsxs)(`li`,{id:`${g}-opt-${n}`,role:`option`,"aria-selected":t.value===r,"aria-disabled":t.disabled,className:[B.option,t.value===r?B.optionSelected:null,n===d?B.optionActive:null,t.disabled?B.optionDisabled:null].filter(Boolean).join(` `),onMouseEnter:()=>!t.disabled&&f(n),onClick:()=>C(t),children:[(0,e.jsxs)(`span`,{className:B.optionText,children:[(0,e.jsx)(`span`,{className:B.optionLabel,children:t.label}),t.description&&(0,e.jsx)(`span`,{className:B.optionDesc,children:t.description})]}),t.value===r&&(0,e.jsx)(M,{icon:ke,size:`md`,"aria-hidden":!0,className:B.checkIcon})]},t.value))})]})}var V={wrapper:`_wrapper_11zhs_3`,hasLabels:`_hasLabels_11zhs_11`,track:`_track_11zhs_17`,disabled:`_disabled_11zhs_42`,fill:`_fill_11zhs_50`,thumb:`_thumb_11zhs_64`,tick:`_tick_11zhs_97`,labels:`_labels_11zhs_112`,markLabel:`_markLabel_11zhs_119`};function An(e,t,n){return Math.min(n,Math.max(t,e))}function jn(e,t,n,r){return parseFloat((Math.round((e-t)/n)*n+t).toFixed(r))}function Mn(e){let t=e.toString(),n=t.indexOf(`.`);return n===-1?0:t.length-n-1}function Nn({value:n,onChange:r,min:i=0,max:a=100,step:o=1,disabled:s=!1,marks:c,className:l,"aria-label":u,"aria-labelledby":d,"aria-describedby":f,...p}){let m=(0,t.useRef)(null),h=Mn(o),g=(An(n,i,a)-i)/(a-i)*100,_=(0,t.useCallback)(e=>{if(!m.current)return;let{left:t,width:n}=m.current.getBoundingClientRect();r(An(jn((e-t)/n*(a-i)+i,i,o,h),i,a))},[i,a,o,h,r]),v=(0,t.useCallback)(e=>{s||(e.currentTarget.setPointerCapture(e.pointerId),_(e.clientX))},[s,_]),y=(0,t.useCallback)(e=>{e.currentTarget.hasPointerCapture(e.pointerId)&&_(e.clientX)},[_]),b=(0,t.useCallback)(e=>{let t=t=>{e.preventDefault(),r(An(jn(t,i,o,h),i,a))};switch(e.key){case`ArrowRight`:case`ArrowUp`:t(n+o);break;case`ArrowLeft`:case`ArrowDown`:t(n-o);break;case`PageUp`:t(n+o*10);break;case`PageDown`:t(n-o*10);break;case`Home`:t(i);break;case`End`:t(a);break}},[n,o,i,a,h,r]),x=c&&c.length>0,S=x&&c.some(e=>e.label);return(0,e.jsxs)(`div`,{className:[V.wrapper,S?V.hasLabels:null,l].filter(Boolean).join(` `),...p,children:[(0,e.jsxs)(`div`,{ref:m,role:`slider`,tabIndex:s?-1:0,"aria-valuemin":i,"aria-valuemax":a,"aria-valuenow":n,"aria-label":u,"aria-labelledby":d,"aria-describedby":f,"aria-disabled":s||void 0,className:[V.track,s?V.disabled:null].filter(Boolean).join(` `),onPointerDown:v,onPointerMove:y,onKeyDown:s?void 0:b,children:[(0,e.jsx)(`div`,{className:V.fill,style:{width:`${g}%`}}),(0,e.jsx)(`div`,{className:V.thumb,style:{left:`${g}%`},"aria-hidden":`true`}),x&&c.map(t=>{let n=(An(t.value,i,a)-i)/(a-i)*100;return(0,e.jsx)(`div`,{className:V.tick,style:{left:`${n}%`},"aria-hidden":`true`},t.value)})]}),S&&(0,e.jsx)(`div`,{className:V.labels,"aria-hidden":`true`,children:c.map(t=>{let n=(An(t.value,i,a)-i)/(a-i)*100;return(0,e.jsx)(`span`,{className:V.markLabel,style:{left:`${n}%`},children:t.label},t.value)})})]})}var Pn={panel:`_panel_1tk9v_3`,visible:`_visible_1tk9v_36`,arrow:`_arrow_1tk9v_44`,bottom:`_bottom_1tk9v_59`,top:`_top_1tk9v_67`,left:`_left_1tk9v_75`,right:`_right_1tk9v_83`},Fn=8,In=8;function Ln(e,t,n){let r=window.innerWidth,i=window.innerHeight,a=[...new Set([n,n===`top`?`bottom`:n===`bottom`?`top`:n===`left`?`right`:`left`,`bottom`,`top`,`left`,`right`])];for(let n of a){let a=0,o=0;n===`bottom`?(a=e.bottom+Fn,o=e.left+e.width/2-t.width/2):n===`top`?(a=e.top-t.height-Fn,o=e.left+e.width/2-t.width/2):n===`left`?(a=e.top+e.height/2-t.height/2,o=e.left-t.width-Fn):(a=e.top+e.height/2-t.height/2,o=e.right+Fn);let s=o>=In&&o+t.width<=r-In,c=a>=In&&a+t.height<=i-In;if(s&&c)return{top:a,left:o,placement:n}}let o=e.bottom+Fn,s=e.left+e.width/2-t.width/2;return{top:Math.max(In,Math.min(o,i-t.height-In)),left:Math.max(In,Math.min(s,r-t.width-In)),placement:`bottom`}}function Rn({content:r,placement:i=`bottom`,open:a,onClose:o,onOpenChange:s,children:c}){let l=a!==void 0,[u,d]=(0,t.useState)(!1),f=l?a:u,[p,m]=(0,t.useState)(null),h=(0,t.useId)(),g=(0,t.useId)(),_=(0,t.useRef)(null),v=(0,t.useRef)(null),y=(0,t.useRef)(null),b=(0,t.useCallback)(()=>{l?o?.():d(!1),s?.(!1)},[l,o,s]),x=(0,t.useCallback)(()=>{f?b():(l||d(!0),s?.(!0))},[f,b,l,s]),S=(0,t.useCallback)(()=>{!_.current||!v.current||m(Ln(_.current.getBoundingClientRect(),v.current.getBoundingClientRect(),i))},[i]);(0,t.useEffect)(()=>{if(!f)return;let e=requestAnimationFrame(()=>{S(),window.addEventListener(`scroll`,S,{passive:!0,capture:!0}),window.addEventListener(`resize`,S,{passive:!0})});return()=>{cancelAnimationFrame(e),window.removeEventListener(`scroll`,S,{capture:!0}),window.removeEventListener(`resize`,S)}},[f,S]),(0,t.useEffect)(()=>{f?(y.current=document.activeElement,requestAnimationFrame(()=>{(v.current?.querySelector(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`)??v.current)?.focus()})):(y.current?.focus(),m(null))},[f]),(0,t.useEffect)(()=>{if(!f)return;let e=e=>{!_.current?.contains(e.target)&&!v.current?.contains(e.target)&&b()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[f,b]);let C=(0,t.useCallback)(e=>{e.key===`Escape`&&(e.stopPropagation(),b())},[b]),w=(0,t.cloneElement)(c,{ref:_,id:h,"aria-haspopup":`dialog`,"aria-expanded":f,"aria-controls":f?g:void 0,onClick:e=>{x(),c.props.onClick?.(e)}}),T=(0,e.jsxs)(`div`,{ref:v,id:g,role:`dialog`,"aria-labelledby":h,tabIndex:-1,className:[Pn.panel,p?Pn[p.placement]:null,f&&p?Pn.visible:null].filter(Boolean).join(` `),style:p?{top:p.top,left:p.left}:{visibility:`hidden`,pointerEvents:`none`,top:-9999,left:-9999},onKeyDown:C,children:[(0,e.jsx)(`div`,{className:Pn.arrow,"aria-hidden":`true`}),r]});return(0,e.jsxs)(e.Fragment,{children:[w,f&&(typeof document<`u`?(0,n.createPortal)(T,document.body):T)]})}var zn={clamp:`_clamp_1j51b_6`};function Bn({maximumSize:t=600,children:n,className:r,style:i,...a}){return(0,e.jsx)(`div`,{className:[zn.clamp,r].filter(Boolean).join(` `),style:{maxWidth:t,...i},...a,children:n})}var H={root:`_root_yaj3r_3`,expanded:`_expanded_yaj3r_12`,sidebar:`_sidebar_yaj3r_16`,contentPane:`_contentPane_yaj3r_22`,collapsed:`_collapsed_yaj3r_30`,paneVisible:`_paneVisible_yaj3r_46`,paneHidden:`_paneHidden_yaj3r_50`,divider:`_divider_yaj3r_67`};function Vn({sidebar:t,content:n,showContent:r=!1,minSidebarWidth:i=180,maxSidebarWidth:a=280,sidebarWidthFraction:o=.25,className:s,style:c,...l}){let{isNarrow:u}=Pe(),d=`clamp(${i}px, ${o*100}%, ${a}px)`;return(0,e.jsxs)(`div`,{className:[H.root,u?H.collapsed:H.expanded,s].filter(Boolean).join(` `),style:{"--sidebar-width":d,...c},...l,children:[(0,e.jsx)(`div`,{className:[H.sidebar,u&&r?H.paneHidden:H.paneVisible].filter(Boolean).join(` `),"aria-hidden":u&&r,children:t}),!u&&(0,e.jsx)(`div`,{className:H.divider,"aria-hidden":`true`}),(0,e.jsx)(`div`,{className:[H.contentPane,u&&!r?H.paneHidden:H.paneVisible].filter(Boolean).join(` `),"aria-hidden":u&&!r,children:n})]})}var U={root:`_root_1xl2w_3`,wide:`_wide_1xl2w_13`,end:`_end_1xl2w_17`,sidebar:`_sidebar_1xl2w_21`,content:`_content_1xl2w_27`,narrow:`_narrow_1xl2w_35`,start:`_start_1xl2w_55`,sidebarOpen:`_sidebarOpen_1xl2w_59`,sidebarClosed:`_sidebarClosed_1xl2w_60`,backdrop:`_backdrop_1xl2w_72`,backdropVisible:`_backdropVisible_1xl2w_83`};function Hn({sidebar:n,content:r,showSidebar:i=!1,onClose:a,sidebarPosition:o=`start`,minSidebarWidth:s=180,maxSidebarWidth:c=280,sidebarWidthFraction:l=.25,className:u,style:d,...f}){let{isNarrow:p}=Pe(),m=(0,t.useRef)(null),h=`clamp(${s}px, ${l*100}%, ${c}px)`;(0,t.useEffect)(()=>{if(!p||!i)return;let e=e=>{e.key===`Escape`&&a?.()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[p,i,a]),(0,t.useEffect)(()=>{!p||!i||(m.current?.querySelector(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`))?.focus()},[p,i]);let g=o===`end`;return(0,e.jsxs)(`div`,{className:[U.root,p?U.narrow:U.wide,g?U.end:U.start,u].filter(Boolean).join(` `),style:{"--sidebar-width":h,...d},...f,children:[p&&(0,e.jsx)(`div`,{className:[U.backdrop,i?U.backdropVisible:null].filter(Boolean).join(` `),"aria-hidden":`true`,onClick:a}),(0,e.jsx)(`div`,{ref:m,className:[U.sidebar,p?i?U.sidebarOpen:U.sidebarClosed:null].filter(Boolean).join(` `),"aria-hidden":p&&!i,children:n}),(0,e.jsx)(`div`,{className:U.content,children:r})]})}var Un={bar:`_bar_njcvu_3`};function Wn({children:t,reveal:n=!0,className:r,...i}){return n?(0,e.jsx)(`div`,{role:`navigation`,"aria-label":`Bottom navigation`,className:[Un.bar,r].filter(Boolean).join(` `),...i,children:t}):null}var Gn={link:`_link_x1qyh_1`,externalIcon:`_externalIcon_x1qyh_36`};function Kn({external:t=!1,children:n,className:r,target:i,rel:a,...o}){let s=t||i===`_blank`;return(0,e.jsxs)(`a`,{className:[Gn.link,r].filter(Boolean).join(` `),target:s?`_blank`:i,rel:s?`noopener noreferrer`:a,...o,children:[n,s&&(0,e.jsx)(`span`,{className:Gn.externalIcon,"aria-label":`(opens in new tab)`,children:`↗`})]})}var qn={group:`_group_1fa3l_3`,item:`_item_1fa3l_18`,iconOnly:`_iconOnly_1fa3l_48`,active:`_active_1fa3l_53`,itemIcon:`_itemIcon_1fa3l_86`,itemLabel:`_itemLabel_1fa3l_92`},Jn=(0,t.createContext)(null);function Yn(){let e=(0,t.useContext)(Jn);if(!e)throw Error(`ToggleGroupItem must be used inside ToggleGroup`);return e}function Xn({value:n,onValueChange:r,"aria-label":i=`Options`,children:a,className:o,...s}){let c=(0,t.useRef)(null);function l(e){let t=Array.from(c.current?.querySelectorAll(`[role=radio]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowRight`||e.key===`ArrowDown`)r=(n+1)%t.length;else if(e.key===`ArrowLeft`||e.key===`ArrowUp`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus(),t[r].click()}return(0,e.jsx)(Jn.Provider,{value:{value:n,onValueChange:r},children:(0,e.jsx)(`div`,{ref:c,role:`radiogroup`,"aria-label":i,onKeyDown:l,className:[qn.group,o].filter(Boolean).join(` `),...s,children:a})})}function Zn({name:t,label:n,icon:r,disabled:i,className:a,...o}){let{value:s,onValueChange:c}=Yn(),l=s===t,u=r&&!n;return(0,e.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":l,tabIndex:l?0:-1,disabled:i,onClick:()=>c(t),className:[qn.item,l?qn.active:null,u?qn.iconOnly:null,a].filter(Boolean).join(` `),...o,children:[r&&(0,e.jsx)(`span`,{className:qn.itemIcon,children:(0,e.jsx)(M,{icon:r,size:`md`,"aria-hidden":!0})}),n&&(0,e.jsx)(`span`,{className:qn.itemLabel,children:n})]})}var Qn={wrapBox:`_wrapBox_1ik0x_1`,reverse:`_reverse_1ik0x_10`};function $n({childSpacing:t=6,lineSpacing:n,justify:r=`start`,align:i=`center`,wrapReverse:a=!1,children:o,className:s,style:c,...l}){let u=typeof t==`number`?`${t}px`:t,d=n==null?u:typeof n==`number`?`${n}px`:n,f={"--wrapbox-gap":u,"--wrapbox-row-gap":d,"--wrapbox-justify":r,"--wrapbox-align":i,...c};return(0,e.jsx)(`div`,{className:[Qn.wrapBox,a?Qn.reverse:null,s].filter(Boolean).join(` `),style:f,...l,children:o})}var er={chip:`_chip_e26qc_3`,selectable:`_selectable_e26qc_31`,selected:`_selected_e26qc_55`,disabled:`_disabled_e26qc_68`,icon:`_icon_e26qc_76`,label:`_label_e26qc_85`,remove:`_remove_e26qc_91`};function tr({label:t,icon:n,onRemove:r,selectable:i=!1,selected:a=!1,onToggle:o,disabled:s=!1,className:c,...l}){let u=i&&!r,d=[er.chip,a?er.selected:null,s?er.disabled:null,u?er.selectable:null,c].filter(Boolean).join(` `),f=(0,e.jsxs)(e.Fragment,{children:[n&&(0,e.jsx)(`span`,{className:er.icon,children:(0,e.jsx)(M,{icon:n,size:`sm`,"aria-hidden":!0})}),(0,e.jsx)(`span`,{className:er.label,children:t}),r&&(0,e.jsx)(`button`,{type:`button`,className:er.remove,"aria-label":`Remove ${t}`,disabled:s,onClick:e=>{e.stopPropagation(),r()},tabIndex:s?-1:0,children:(0,e.jsx)(M,{icon:Te,size:`sm`,"aria-hidden":!0})})]});return u?(0,e.jsx)(`button`,{type:`button`,role:`checkbox`,"aria-checked":a,"aria-label":t,disabled:s,onClick:o,className:d,...l,children:f}):(0,e.jsx)(`span`,{className:d,...l,children:f})}var nr=`_backdrop_zvuhh_3`,rr=`_dialog_zvuhh_26`,ir=`_header_zvuhh_59`,ar=`_title_zvuhh_67`,or=`_closeBtn_zvuhh_74`,sr=`_searchRow_zvuhh_112`,cr=`_searchIcon_zvuhh_124`,lr=`_searchInput_zvuhh_132`,ur=`_searchClear_zvuhh_151`,dr=`_body_zvuhh_174`,fr=`_empty_zvuhh_182`,pr=`_section_zvuhh_193`,mr=`_sectionTitle_zvuhh_199`,hr=`_list_zvuhh_209`,gr=`_row_zvuhh_225`,_r=`_keys_zvuhh_240`,vr=`_keyCap_zvuhh_247`,yr=`_plus_zvuhh_277`,br=`_description_zvuhh_284`,W={backdrop:nr,"backdrop-in":`_backdrop-in_zvuhh_1`,dialog:rr,"dialog-in":`_dialog-in_zvuhh_1`,header:ir,title:ar,closeBtn:or,searchRow:sr,searchIcon:cr,searchInput:lr,searchClear:ur,body:dr,empty:fr,section:pr,sectionTitle:mr,list:hr,row:gr,keys:_r,keyCap:vr,plus:yr,description:br},xr=`button:not([disabled]), [href], input:not([disabled]), [tabindex]:not([tabindex="-1"])`;function Sr({open:r,onClose:i,title:a=`Keyboard Shortcuts`,sections:o}){let[s,c]=(0,t.useState)(``),l=(0,t.useRef)(null),u=(0,t.useRef)(null),d=(0,t.useRef)(null),f=(0,t.useRef)(`shortcuts-title-${Math.random().toString(36).slice(2,9)}`);(0,t.useEffect)(()=>{r?(d.current=document.activeElement,requestAnimationFrame(()=>u.current?.focus())):(c(``),d.current?.focus())},[r]);let p=(0,t.useCallback)(e=>{if(e.key===`Escape`){e.preventDefault(),i();return}if(e.key!==`Tab`)return;let t=Array.from(l.current?.querySelectorAll(xr)??[]);if(t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey?document.activeElement===n&&(e.preventDefault(),r.focus()):document.activeElement===r&&(e.preventDefault(),n.focus())},[i]);if(!r)return null;let m=s.trim().toLowerCase(),h=o.map(e=>({...e,shortcuts:e.shortcuts.filter(({description:e,keys:t})=>!m||e.toLowerCase().includes(m)||t.some(e=>e.toLowerCase().includes(m)))})).filter(e=>e.shortcuts.length>0),g=(0,e.jsx)(`div`,{className:W.backdrop,onClick:i,"aria-hidden":`true`,children:(0,e.jsxs)(`div`,{ref:l,role:`dialog`,"aria-modal":`true`,"aria-labelledby":f.current,className:W.dialog,onKeyDown:p,onClick:e=>e.stopPropagation(),children:[(0,e.jsxs)(`div`,{className:W.header,children:[(0,e.jsx)(`span`,{id:f.current,className:W.title,children:a}),(0,e.jsx)(`button`,{type:`button`,className:W.closeBtn,"aria-label":`Close`,onClick:i,children:`×`})]}),(0,e.jsxs)(`div`,{className:W.searchRow,children:[(0,e.jsx)(`span`,{className:W.searchIcon,"aria-hidden":`true`,children:`⌕`}),(0,e.jsx)(`input`,{ref:u,type:`search`,className:W.searchInput,placeholder:`Search shortcuts…`,value:s,onChange:e=>c(e.target.value),"aria-label":`Search shortcuts`}),s&&(0,e.jsx)(`button`,{type:`button`,className:W.searchClear,"aria-label":`Clear search`,onClick:()=>{c(``),u.current?.focus()},children:`×`})]}),(0,e.jsx)(`div`,{className:W.body,role:`list`,children:h.length===0?(0,e.jsxs)(`p`,{className:W.empty,children:[`No shortcuts match "`,s,`"`]}):h.map(t=>(0,e.jsxs)(`section`,{className:W.section,children:[(0,e.jsx)(`h3`,{className:W.sectionTitle,children:t.title}),(0,e.jsx)(`ul`,{className:W.list,children:t.shortcuts.map(t=>(0,e.jsxs)(`li`,{className:W.row,role:`listitem`,children:[(0,e.jsx)(`span`,{className:W.keys,"aria-label":t.keys.join(` + `),children:t.keys.map((n,r)=>(0,e.jsxs)(`span`,{className:W.keyCap,children:[(0,e.jsx)(`kbd`,{children:n}),r<t.keys.length-1&&(0,e.jsx)(`span`,{className:W.plus,"aria-hidden":`true`,children:`+`})]},r))}),(0,e.jsx)(`span`,{className:W.description,children:t.description})]},t.description))})]},t.title))})]})});return typeof document>`u`?g:(0,n.createPortal)(g,document.body)}var G={sidebar:`_sidebar_kmj4b_3`,list:`_list_kmj4b_17`,item:`_item_kmj4b_28`,itemBtn:`_itemBtn_kmj4b_34`,active:`_active_kmj4b_60`,itemIcon:`_itemIcon_kmj4b_106`,itemLabel:`_itemLabel_kmj4b_119`,itemSuffix:`_itemSuffix_kmj4b_129`,count:`_count_kmj4b_136`},Cr=(0,t.createContext)(null);function wr(){let e=(0,t.useContext)(Cr);if(!e)throw Error(`ViewSwitcherSidebarItem must be used inside ViewSwitcherSidebar`);return e}function Tr({value:n,onValueChange:r,"aria-label":i=`Views`,children:a,className:o,...s}){let c=(0,t.useRef)(null);function l(e){let t=Array.from(c.current?.querySelectorAll(`[role=radio]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowDown`||e.key===`ArrowRight`)r=(n+1)%t.length;else if(e.key===`ArrowUp`||e.key===`ArrowLeft`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus(),t[r].click()}return(0,e.jsx)(Cr.Provider,{value:{value:n,onValueChange:r},children:(0,e.jsx)(`nav`,{className:[G.sidebar,o].filter(Boolean).join(` `),onKeyDown:l,...s,children:(0,e.jsx)(`ul`,{ref:c,role:`radiogroup`,"aria-label":i,className:G.list,children:a})})})}function Er({name:t,label:n,icon:r,count:i,suffix:a,disabled:o,className:s,...c}){let{value:l,onValueChange:u}=wr(),d=l===t,f=a??i??null;return(0,e.jsx)(`li`,{className:G.item,children:(0,e.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":d,tabIndex:d?0:-1,disabled:o,onClick:()=>u(t),className:[G.itemBtn,d?G.active:null,s].filter(Boolean).join(` `),...c,children:[r&&(0,e.jsx)(`span`,{className:G.itemIcon,children:(0,e.jsx)(M,{icon:r,size:`md`,"aria-hidden":!0})}),(0,e.jsx)(`span`,{className:G.itemLabel,children:n}),f!=null&&(0,e.jsx)(`span`,{className:G.itemSuffix,children:typeof f==`number`?(0,e.jsx)(`span`,{className:G.count,children:f>99?`99+`:f}):f})]})})}function Dr({breakpoints:n,children:r,className:i,style:a,...o}){let s=(0,t.useRef)(null),[c,l]=(0,t.useState)({activeBreakpoint:null,width:0});return(0,t.useEffect)(()=>{let e=s.current;if(!e)return;let t=[...n].sort((e,t)=>e.maxWidth-t.maxWidth),r=e=>({activeBreakpoint:(t.find(t=>e<=t.maxWidth)??null)?.name??null,width:e});l(r(e.offsetWidth));let i=new ResizeObserver(e=>{let t=e[0];t&&l(r(t.contentBoxSize?.[0]?.inlineSize??t.contentRect.width))});return i.observe(e),()=>i.disconnect()},[JSON.stringify(n)]),(0,e.jsx)(`div`,{ref:s,className:i,style:{minWidth:0,...a},"data-breakpoint":c.activeBreakpoint??void 0,...o,children:r(c)})}var Or={row:`_row_1ba2f_3`,title:`_title_1ba2f_48`,leading:`_leading_1ba2f_59`,trailing:`_trailing_1ba2f_60`,default:`_default_1ba2f_68`,suggested:`_suggested_1ba2f_77`,destructive:`_destructive_1ba2f_86`};function kr({title:t,variant:n=`default`,leading:r,trailing:i,className:a,...o}){return(0,e.jsxs)(`button`,{className:[Or.row,Or[n],a].filter(Boolean).join(` `),...o,children:[r&&(0,e.jsx)(`span`,{className:Or.leading,children:r}),(0,e.jsx)(`span`,{className:Or.title,children:t}),i&&(0,e.jsx)(`span`,{className:Or.trailing,children:i})]})}var Ar={container:`_container_4kjnf_3`,primary:`_primary_4kjnf_14`,toggle:`_toggle_4kjnf_15`,separator:`_separator_4kjnf_66`,chevron:`_chevron_4kjnf_81`,default:`_default_4kjnf_88`,suggested:`_suggested_4kjnf_123`,destructive:`_destructive_4kjnf_145`,dropdown:`_dropdown_4kjnf_167`,dropdownVisible:`_dropdownVisible_4kjnf_185`};function jr({label:r,variant:i=`default`,dropdownContent:a,dropdownLabel:o=`More options`,disabled:s=!1,onClick:c,className:l,...u}){let[d,f]=(0,t.useState)(!1),[p,m]=(0,t.useState)({}),h=(0,t.useRef)(null),g=(0,t.useRef)(null),_=(0,t.useRef)(null),v=(0,t.useCallback)(()=>f(!1),[]),y=(0,t.useCallback)(()=>{if(!g.current||!_.current)return;let e=g.current.getBoundingClientRect(),t=_.current.getBoundingClientRect(),n=window.innerWidth,r=e.right-t.width;r<8&&(r=8),r+t.width>n-8&&(r=n-t.width-8),m({top:e.bottom+6,left:r})},[]);(0,t.useEffect)(()=>{if(!d)return;let e=requestAnimationFrame(()=>{y(),window.addEventListener(`scroll`,y,{passive:!0,capture:!0}),window.addEventListener(`resize`,y,{passive:!0})});return()=>{cancelAnimationFrame(e),window.removeEventListener(`scroll`,y,{capture:!0}),window.removeEventListener(`resize`,y)}},[d,y]),(0,t.useEffect)(()=>{if(!d)return;let e=e=>{!h.current?.contains(e.target)&&!_.current?.contains(e.target)&&v()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[d,v]);let b=e=>{e.key===`Escape`&&(e.stopPropagation(),v(),g.current?.focus())},x=[Ar.container,Ar[i],l].filter(Boolean).join(` `),S=(0,e.jsx)(`div`,{ref:_,role:`dialog`,"aria-label":o,tabIndex:-1,className:[Ar.dropdown,d?Ar.dropdownVisible:null].filter(Boolean).join(` `),style:Object.keys(p).length?{...p,position:`fixed`}:{visibility:`hidden`,pointerEvents:`none`,top:-9999,left:-9999,position:`fixed`},onKeyDown:b,children:a});return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(`div`,{ref:h,className:x,children:[(0,e.jsx)(`button`,{className:Ar.primary,disabled:s,onClick:c,...u,children:r}),(0,e.jsx)(`span`,{className:Ar.separator,"aria-hidden":`true`}),(0,e.jsx)(`button`,{ref:g,className:Ar.toggle,disabled:s,"aria-label":o,"aria-haspopup":`dialog`,"aria-expanded":d,onClick:()=>f(e=>!e),children:(0,e.jsx)(`svg`,{className:Ar.chevron,width:`16`,height:`16`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M4 6l4 4 4-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})})]}),d&&(typeof document<`u`?(0,n.createPortal)(S,document.body):S)]})}var Mr={toolbar:`_toolbar_1avgl_2`,spacer:`_spacer_1avgl_20`};function Nr({children:t,className:n,...r}){return(0,e.jsx)(`div`,{className:[Mr.toolbar,n].filter(Boolean).join(` `),...r,children:t})}function Pr({className:t,...n}){return(0,e.jsx)(`div`,{"aria-hidden":`true`,className:[Mr.spacer,t].filter(Boolean).join(` `),...n})}var Fr={linked:`_linked_1tser_3`,vertical:`_vertical_1tser_9`};function Ir({children:t,vertical:n=!1,className:r,...i}){return(0,e.jsx)(`div`,{className:[Fr.linked,n?Fr.vertical:null,r].filter(Boolean).join(` `),...i,children:t})}var Lr={frame:`_frame_1bq7b_2`};function Rr({children:t,className:n,...r}){return(0,e.jsx)(`div`,{className:[Lr.frame,n].filter(Boolean).join(` `),...r,children:t})}var K={expanderRow:`_expanderRow_16el8_3`,header:`_header_16el8_11`,leading:`_leading_16el8_55`,content:`_content_16el8_64`,title:`_title_16el8_72`,subtitle:`_subtitle_16el8_83`,trailing:`_trailing_16el8_97`,chevronWrap:`_chevronWrap_16el8_106`,chevronOpen:`_chevronOpen_16el8_115`,chevron:`_chevron_16el8_106`,panel:`_panel_16el8_125`,expanded:`_expanded_16el8_131`,panelInner:`_panelInner_16el8_135`,childItem:`_childItem_16el8_142`,divider:`_divider_16el8_147`};function zr({title:n,subtitle:r,leading:i,trailing:a,children:o,expanded:s,defaultExpanded:c=!1,onExpandedChange:l,className:u,...d}){let f=s!==void 0,[p,m]=(0,t.useState)(c),h=f?s:p,g=(0,t.useId)(),_=(0,t.useId)(),v=()=>{let e=!h;f||m(e),l?.(e)},y=t.Children.toArray(o).filter(Boolean);return(0,e.jsxs)(`div`,{className:[K.expanderRow,h?K.expanded:null,u].filter(Boolean).join(` `),...d,children:[(0,e.jsxs)(`button`,{id:_,className:K.header,"aria-expanded":h,"aria-controls":g,onClick:v,children:[i&&(0,e.jsx)(`span`,{className:K.leading,children:i}),(0,e.jsxs)(`span`,{className:K.content,children:[(0,e.jsx)(`span`,{className:K.title,children:n}),r&&(0,e.jsx)(`span`,{className:K.subtitle,children:r})]}),a&&(0,e.jsx)(`span`,{className:K.trailing,children:a}),(0,e.jsx)(`span`,{className:[K.chevronWrap,h?K.chevronOpen:null].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,e.jsx)(`svg`,{className:K.chevron,width:`16`,height:`16`,viewBox:`0 0 16 16`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M4 6l4 4 4-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})})]}),(0,e.jsx)(`div`,{id:g,role:`region`,"aria-labelledby":_,className:K.panel,children:(0,e.jsx)(`div`,{className:K.panelInner,children:y.map((t,n)=>(0,e.jsxs)(`div`,{className:K.childItem,children:[(0,e.jsx)(`div`,{className:K.divider,"aria-hidden":`true`}),t]},n))})})]})}var Br={switcher:`_switcher_2tknm_3`,item:`_item_2tknm_10`,iconOnly:`_iconOnly_2tknm_38`,itemIcon:`_itemIcon_2tknm_43`,itemLabel:`_itemLabel_2tknm_49`,default:`_default_2tknm_55`,active:`_active_2tknm_68`,flat:`_flat_2tknm_121`,round:`_round_2tknm_169`},Vr=(0,t.createContext)(null);function Hr(){let e=(0,t.useContext)(Vr);if(!e)throw Error(`InlineViewSwitcherItem must be used inside InlineViewSwitcher`);return e}function Ur({value:n,onValueChange:r,variant:i=`default`,"aria-label":a=`View switcher`,children:o,className:s,...c}){let l=(0,t.useRef)(null);function u(e){let t=Array.from(l.current?.querySelectorAll(`[role=radio]:not(:disabled)`)??[]),n=t.findIndex(e=>e===document.activeElement);if(n===-1)return;let r=n;if(e.key===`ArrowRight`||e.key===`ArrowDown`)r=(n+1)%t.length;else if(e.key===`ArrowLeft`||e.key===`ArrowUp`)r=(n-1+t.length)%t.length;else if(e.key===`Home`)r=0;else if(e.key===`End`)r=t.length-1;else return;e.preventDefault(),t[r].focus(),t[r].click()}return(0,e.jsx)(Vr.Provider,{value:{value:n,onValueChange:r},children:(0,e.jsx)(`div`,{ref:l,role:`radiogroup`,"aria-label":a,onKeyDown:u,className:[Br.switcher,Br[i],s].filter(Boolean).join(` `),...c,children:o})})}function Wr({name:t,label:n,icon:r,disabled:i,className:a,...o}){let{value:s,onValueChange:c}=Hr(),l=s===t,u=r&&!n;return(0,e.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":l,tabIndex:l?0:-1,disabled:i,onClick:()=>c(t),className:[Br.item,l?Br.active:null,u?Br.iconOnly:null,a].filter(Boolean).join(` `),...o,children:[r&&(0,e.jsx)(`span`,{className:Br.itemIcon,children:(0,e.jsx)(M,{icon:r,size:`md`,"aria-hidden":!0})}),n&&(0,e.jsx)(`span`,{className:Br.itemLabel,children:n})]})}var q={row:`_row_jl3bc_3`,disabled:`_disabled_jl3bc_41`,leading:`_leading_jl3bc_49`,content:`_content_jl3bc_58`,title:`_title_jl3bc_66`,subtitle:`_subtitle_jl3bc_77`,switchTrack:`_switchTrack_jl3bc_91`,switchThumb:`_switchThumb_jl3bc_114`,switchThumbOn:`_switchThumbOn_jl3bc_126`};function Gr({title:n,subtitle:r,leading:i,checked:a,defaultChecked:o=!1,onCheckedChange:s,disabled:c=!1,className:l,onClick:u,...d}){let f=a!==void 0,[p,m]=(0,t.useState)(o),h=f?a:p,g=(0,t.useId)(),_=e=>{let t=!h;f||m(t),s?.(t),u?.(e)};return(0,e.jsxs)(`button`,{role:`switch`,"aria-checked":h,"aria-labelledby":g,disabled:c,className:[q.row,c?q.disabled:null,l].filter(Boolean).join(` `),onClick:_,...d,children:[i&&(0,e.jsx)(`span`,{className:q.leading,children:i}),(0,e.jsxs)(`span`,{className:q.content,id:g,children:[(0,e.jsx)(`span`,{className:q.title,children:n}),r&&(0,e.jsx)(`span`,{className:q.subtitle,children:r})]}),(0,e.jsx)(`span`,{className:q.switchTrack,"aria-hidden":`true`,children:(0,e.jsx)(`span`,{className:[q.switchThumb,h?q.switchThumbOn:null].filter(Boolean).join(` `)})})]})}var J={row:`_row_1dije_3`,disabled:`_disabled_1dije_41`,checkboxWrap:`_checkboxWrap_1dije_49`,checkbox:`_checkbox_1dije_49`,checkboxChecked:`_checkboxChecked_1dije_71`,checkmark:`_checkmark_1dije_77`,leading:`_leading_1dije_84`,content:`_content_1dije_93`,title:`_title_1dije_101`,subtitle:`_subtitle_1dije_112`};function Kr({title:n,subtitle:r,leading:i,checked:a,defaultChecked:o=!1,onCheckedChange:s,disabled:c=!1,className:l,onClick:u,...d}){let f=a!==void 0,[p,m]=(0,t.useState)(o),h=f?a:p,g=(0,t.useId)(),_=e=>{let t=!h;f||m(t),s?.(t),u?.(e)};return(0,e.jsxs)(`button`,{role:`checkbox`,"aria-checked":h,"aria-labelledby":g,disabled:c,className:[J.row,c?J.disabled:null,l].filter(Boolean).join(` `),onClick:_,...d,children:[(0,e.jsx)(`span`,{className:J.checkboxWrap,"aria-hidden":`true`,children:(0,e.jsx)(`span`,{className:[J.checkbox,h?J.checkboxChecked:null].filter(Boolean).join(` `),children:h&&(0,e.jsx)(`svg`,{className:J.checkmark,width:`12`,height:`12`,viewBox:`0 0 12 12`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M2 6l3 3 5-5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.75`,strokeLinecap:`round`,strokeLinejoin:`round`})})})}),i&&(0,e.jsx)(`span`,{className:J.leading,children:i}),(0,e.jsxs)(`span`,{className:J.content,id:g,children:[(0,e.jsx)(`span`,{className:J.title,children:n}),r&&(0,e.jsx)(`span`,{className:J.subtitle,children:r})]})]})}var qr=`_row_46mn8_3`,Jr=`_disabled_46mn8_16`,Yr=`_leading_46mn8_23`,Xr=`_content_46mn8_32`,Zr=`_title_46mn8_40`,Qr=`_subtitle_46mn8_51`,$r=`_comboWrap_46mn8_65`,ei=`_trigger_46mn8_73`,ti=`_triggerOpen_46mn8_126`,ni=`_triggerLabel_46mn8_136`,ri=`_placeholder_46mn8_144`,ii=`_chevron_46mn8_150`,ai=`_chevronOpen_46mn8_157`,oi=`_list_46mn8_163`,si=`_listDown_46mn8_192`,ci=`_listUp_46mn8_196`,li=`_option_46mn8_208`,ui=`_optionActive_46mn8_225`,di=`_optionSelected_46mn8_229`,fi=`_optionDisabled_46mn8_233`,pi=`_optionLabel_46mn8_239`,mi=`_checkIcon_46mn8_247`,Y={row:qr,disabled:Jr,leading:Yr,content:Xr,title:Zr,subtitle:Qr,comboWrap:$r,trigger:ei,triggerOpen:ti,triggerLabel:ni,placeholder:ri,chevron:ii,chevronOpen:ai,list:oi,"list-in":`_list-in_46mn8_1`,listDown:si,listUp:ci,"list-in-up":`_list-in-up_46mn8_1`,option:li,optionActive:ui,optionSelected:di,optionDisabled:fi,optionLabel:pi,checkIcon:mi};function hi({title:n,subtitle:r,leading:i,options:a,value:o,defaultValue:s,onValueChange:c,disabled:l=!1,className:u,...d}){let f=o!==void 0,[p,m]=(0,t.useState)(s),h=f?o:p,[g,_]=(0,t.useState)(!1),[v,y]=(0,t.useState)(-1),[b,x]=(0,t.useState)(!1),S=(0,t.useId)(),C=(0,t.useId)(),w=(0,t.useRef)(null),T=(0,t.useRef)(null),E=a.find(e=>e.value===h),D=(0,t.useCallback)(()=>{if(!w.current)return;let e=w.current.getBoundingClientRect(),t=window.innerHeight-e.bottom,n=Math.min(a.length*44+8,260);x(t<n&&e.top>n)},[a.length]),O=(0,t.useCallback)(()=>{if(l)return;D(),_(!0);let e=a.findIndex(e=>e.value===h&&!e.disabled);y(e>=0?e:a.findIndex(e=>!e.disabled))},[l,D,a,h]),k=(0,t.useCallback)(()=>{_(!1),y(-1),w.current?.focus()},[]),A=(0,t.useCallback)(e=>{e.disabled||(f||m(e.value),c?.(e.value),k())},[f,c,k]);(0,t.useEffect)(()=>{!g||v<0||!T.current||T.current.children[v]?.scrollIntoView({block:`nearest`})},[v,g]),(0,t.useEffect)(()=>{if(!g)return;let e=e=>{!w.current?.contains(e.target)&&!T.current?.contains(e.target)&&k()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[g,k]);let ee=(0,t.useCallback)(e=>{switch(e.key){case`Enter`:case` `:case`ArrowDown`:e.preventDefault(),O();break;case`ArrowUp`:e.preventDefault(),D(),_(!0),y(a.reduce((e,t,n)=>t.disabled?e:n,-1));break}},[O,D,a]),j=(0,t.useCallback)(e=>{let t=a.map((e,t)=>({o:e,i:t})).filter(({o:e})=>!e.disabled).map(({i:e})=>e),n=t.indexOf(v);switch(e.key){case`ArrowDown`:{e.preventDefault();let r=t[Math.min(n+1,t.length-1)];y(r??v);break}case`ArrowUp`:{e.preventDefault();let r=t[Math.max(n-1,0)];y(r??v);break}case`Home`:e.preventDefault(),y(t[0]??-1);break;case`End`:e.preventDefault(),y(t[t.length-1]??-1);break;case`Enter`:case` `:e.preventDefault(),v>=0&&A(a[v]);break;case`Escape`:case`Tab`:k();break}},[a,v,A,k]);return(0,e.jsxs)(`div`,{className:[Y.row,l?Y.disabled:null,u].filter(Boolean).join(` `),...d,children:[i&&(0,e.jsx)(`span`,{className:Y.leading,children:i}),(0,e.jsxs)(`span`,{className:Y.content,children:[(0,e.jsx)(`span`,{className:Y.title,children:n}),r&&(0,e.jsx)(`span`,{className:Y.subtitle,children:r})]}),(0,e.jsxs)(`div`,{className:Y.comboWrap,children:[(0,e.jsxs)(`button`,{ref:w,id:S,type:`button`,role:`combobox`,"aria-haspopup":`listbox`,"aria-expanded":g,"aria-controls":C,"aria-activedescendant":g&&v>=0?`${C}-opt-${v}`:void 0,disabled:l,className:[Y.trigger,g?Y.triggerOpen:null].filter(Boolean).join(` `),onClick:()=>g?k():O(),onKeyDown:ee,children:[(0,e.jsx)(`span`,{className:[Y.triggerLabel,E?null:Y.placeholder].filter(Boolean).join(` `),children:E?.label??`—`}),(0,e.jsx)(`svg`,{className:[Y.chevron,g?Y.chevronOpen:null].filter(Boolean).join(` `),width:`16`,height:`16`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`,children:(0,e.jsx)(`path`,{d:`M4 6l4 4 4-4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})]}),g&&(0,e.jsx)(`ul`,{ref:T,id:C,role:`listbox`,"aria-labelledby":S,tabIndex:-1,className:[Y.list,b?Y.listUp:Y.listDown].filter(Boolean).join(` `),onKeyDown:j,children:a.map((t,n)=>(0,e.jsxs)(`li`,{id:`${C}-opt-${n}`,role:`option`,"aria-selected":t.value===h,"aria-disabled":t.disabled,className:[Y.option,t.value===h?Y.optionSelected:null,n===v?Y.optionActive:null,t.disabled?Y.optionDisabled:null].filter(Boolean).join(` `),onMouseEnter:()=>!t.disabled&&y(n),onClick:()=>A(t),children:[(0,e.jsx)(`span`,{className:Y.optionLabel,children:t.label}),t.value===h&&(0,e.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`,className:Y.checkIcon,children:(0,e.jsx)(`path`,{d:`M3 8l4 4 6-6`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.75`,strokeLinecap:`round`,strokeLinejoin:`round`})})]},t.value))})]})]})}var X={row:`_row_1kogj_3`,focused:`_focused_1kogj_16`,disabled:`_disabled_1kogj_25`,leading:`_leading_1kogj_33`,trailing:`_trailing_1kogj_40`,fieldWrap:`_fieldWrap_1kogj_49`,label:`_label_1kogj_61`,labelFloated:`_labelFloated_1kogj_82`,input:`_input_1kogj_91`,inputFloated:`_inputFloated_1kogj_114`};function gi({title:n,value:r,defaultValue:i=``,onValueChange:a,leading:o,trailing:s,disabled:c,className:l,id:u,onChange:d,...f}){let p=(0,t.useId)(),m=u??p,h=r!==void 0,[g,_]=(0,t.useState)(String(i)),v=h?String(r):g,[y,b]=(0,t.useState)(!1),x=(0,t.useRef)(null),S=y||v.length>0;return(0,e.jsxs)(`div`,{className:[X.row,y?X.focused:null,c?X.disabled:null,l].filter(Boolean).join(` `),onClick:()=>x.current?.focus(),children:[o&&(0,e.jsx)(`span`,{className:X.leading,children:o}),(0,e.jsxs)(`span`,{className:X.fieldWrap,children:[(0,e.jsx)(`label`,{htmlFor:m,className:[X.label,S?X.labelFloated:null].filter(Boolean).join(` `),children:n}),(0,e.jsx)(`input`,{ref:x,id:m,className:[X.input,S?X.inputFloated:null].filter(Boolean).join(` `),value:v,disabled:c,onFocus:()=>b(!0),onBlur:()=>b(!1),onChange:e=>{h||_(e.target.value),a?.(e.target.value),d?.(e)},...f})]}),s&&(0,e.jsx)(`span`,{className:X.trailing,children:s})]})}var _i={revealButton:`_revealButton_1j8z0_3`};function vi({trailing:n,disabled:r,...i}){let[a,o]=(0,t.useState)(!1),s=(0,e.jsx)(`button`,{type:`button`,className:_i.revealButton,onClick:e=>{e.stopPropagation(),o(e=>!e)},"aria-label":a?`Conceal password`:`Reveal password`,"aria-pressed":a,disabled:r,children:(0,e.jsx)(M,{icon:a?Oe:De,size:`md`,"aria-hidden":!0})});return(0,e.jsx)(gi,{...i,type:a?`text`:`password`,disabled:r,trailing:(0,e.jsxs)(e.Fragment,{children:[n,s]})})}var Z={row:`_row_ycg6f_3`,disabled:`_disabled_ycg6f_16`,leading:`_leading_ycg6f_23`,content:`_content_ycg6f_32`,title:`_title_ycg6f_40`,subtitle:`_subtitle_ycg6f_51`,spin:`_spin_ycg6f_65`,spinBtn:`_spinBtn_ycg6f_100`,spinValue:`_spinValue_ycg6f_144`};function yi(e){let t=e.toString(),n=t.indexOf(`.`);return n===-1?0:t.length-n-1}function bi(e,t,n){return Math.min(n,Math.max(t,e))}function xi({title:n,subtitle:r,leading:i,value:a,defaultValue:o=0,onValueChange:s,min:c=0,max:l=100,step:u=1,decimals:d,disabled:f=!1,className:p,...m}){let h=a!==void 0,[g,_]=(0,t.useState)(o),v=h?a:g,y=d??yi(u),b=(0,t.useId)(),x=(0,t.useCallback)(e=>{let t=parseFloat(bi(e,c,l).toFixed(y));h||_(t),s?.(t)},[h,c,l,y,s]),S=(0,t.useCallback)(e=>{switch(e.key){case`ArrowUp`:e.preventDefault(),x(v+u);break;case`ArrowDown`:e.preventDefault(),x(v-u);break;case`PageUp`:e.preventDefault(),x(v+u*10);break;case`PageDown`:e.preventDefault(),x(v-u*10);break;case`Home`:e.preventDefault(),x(c);break;case`End`:e.preventDefault(),x(l);break}},[v,u,c,l,x]);return(0,e.jsxs)(`div`,{className:[Z.row,f?Z.disabled:null,p].filter(Boolean).join(` `),...m,children:[i&&(0,e.jsx)(`span`,{className:Z.leading,children:i}),(0,e.jsxs)(`span`,{className:Z.content,children:[(0,e.jsx)(`span`,{className:Z.title,children:n}),r&&(0,e.jsx)(`span`,{className:Z.subtitle,children:r})]}),(0,e.jsxs)(`div`,{role:`spinbutton`,"aria-valuenow":v,"aria-valuemin":c,"aria-valuemax":l,"aria-labelledby":b,"aria-disabled":f||void 0,tabIndex:f?-1:0,onKeyDown:f?void 0:S,className:Z.spin,children:[(0,e.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-hidden":`true`,disabled:f||v<=c,className:Z.spinBtn,onClick:e=>{e.stopPropagation(),x(v-u)},children:`−`}),(0,e.jsx)(`span`,{id:b,className:Z.spinValue,"aria-hidden":`true`,children:v.toFixed(y)}),(0,e.jsx)(`button`,{type:`button`,tabIndex:-1,"aria-hidden":`true`,disabled:f||v>=l,className:Z.spinBtn,onClick:e=>{e.stopPropagation(),x(v+u)},children:`+`})]})]})}var Si=`_view_1r1om_3`,Ci=`_page_1r1om_12`,wi=`_pageHeader_1r1om_23`,Ti=`_pageTitle_1r1om_34`,Ei=`_pageContent_1r1om_43`,Di=`_enterForward_1r1om_52`,Oi=`_enterBack_1r1om_56`,ki={view:Si,page:Ci,pageHeader:wi,pageTitle:Ti,pageContent:Ei,enterForward:Di,"slide-in-right":`_slide-in-right_1r1om_1`,enterBack:Oi,"slide-in-left":`_slide-in-left_1r1om_1`},Ai=(0,t.createContext)({navigate:()=>{},pop:()=>{},canGoBack:!1,currentTag:``,direction:`forward`});function ji(){return(0,t.useContext)(Ai)}function Mi({tag:n,title:r,children:i,className:a,...o}){let{currentTag:s,direction:c}=(0,t.useContext)(Ai);return s===n?(0,e.jsxs)(`div`,{className:[ki.page,c===`forward`?ki.enterForward:ki.enterBack,a].filter(Boolean).join(` `),...o,children:[(0,e.jsx)(`div`,{className:ki.pageHeader,children:(0,e.jsx)(`span`,{className:ki.pageTitle,children:r})}),(0,e.jsx)(`div`,{className:ki.pageContent,children:i})]}):null}function Ni({initialPage:n,children:r,className:i,...a}){let[o,s]=(0,t.useState)([n]),c=o[o.length-1],l=o.length>1,[u,d]=(0,t.useState)(`forward`);return(0,e.jsx)(Ai.Provider,{value:{navigate:e=>{d(`forward`),s(t=>[...t,e])},pop:()=>{o.length<=1||(d(`back`),s(e=>e.slice(0,-1)))},canGoBack:l,currentTag:c,direction:u},children:(0,e.jsx)(`div`,{className:[ki.view,i].filter(Boolean).join(` `),...a,children:r})})}var Pi=`_backdrop_zzv98_3`,Fi=`_sheet_zzv98_26`,Ii=`_handle_zzv98_49`,Li=`_handleBar_zzv98_56`,Ri=`_title_zzv98_66`,zi=`_content_zzv98_79`,Bi={backdrop:Pi,"backdrop-in":`_backdrop-in_zzv98_1`,sheet:Fi,"sheet-in":`_sheet-in_zzv98_1`,handle:Ii,handleBar:Li,title:Ri,content:zi},Vi=`button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`;function Hi({open:r,title:i,children:a,onClose:o,closeOnBackdrop:s=!0,className:c,...l}){let u=(0,t.useRef)(null),d=(0,t.useId)(),f=(0,t.useRef)(null);(0,t.useEffect)(()=>{r?(f.current=document.activeElement,(u.current?.querySelector(Vi))?.focus()):f.current?.focus()},[r]);let p=(0,t.useCallback)(e=>{if(e.key===`Escape`){e.preventDefault(),o?.();return}if(e.key!==`Tab`)return;let t=Array.from(u.current?.querySelectorAll(Vi)??[]);if(t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey?document.activeElement===n&&(e.preventDefault(),r.focus()):document.activeElement===r&&(e.preventDefault(),n.focus())},[o]);if(!r)return null;let m=(0,e.jsx)(`div`,{className:Bi.backdrop,onClick:s?o:void 0,"aria-hidden":`true`,children:(0,e.jsxs)(`div`,{ref:u,role:`dialog`,"aria-modal":`true`,"aria-labelledby":i?d:void 0,className:[Bi.sheet,c].filter(Boolean).join(` `),onKeyDown:p,onClick:e=>e.stopPropagation(),...l,children:[(0,e.jsx)(`div`,{className:Bi.handle,"aria-hidden":`true`,children:(0,e.jsx)(`div`,{className:Bi.handleBar})}),i&&(0,e.jsx)(`div`,{id:d,className:Bi.title,children:i}),a&&(0,e.jsx)(`div`,{className:Bi.content,children:a})]})});return typeof document>`u`?m:(0,n.createPortal)(m,document.body)}var Q={carousel:`_carousel_117hp_3`,horizontal:`_horizontal_117hp_20`,vertical:`_vertical_117hp_27`,slide:`_slide_117hp_36`,indicatorDots:`_indicatorDots_117hp_46`,dot:`_dot_117hp_54`,dotActive:`_dotActive_117hp_73`,indicatorLines:`_indicatorLines_117hp_85`,line:`_line_117hp_93`,lineActive:`_lineActive_117hp_110`};function Ui({pages:t,currentPage:n,onPageSelected:r,className:i,...a}){return(0,e.jsx)(`div`,{className:[Q.indicatorDots,i].filter(Boolean).join(` `),role:`tablist`,"aria-label":`Carousel pages`,...a,children:Array.from({length:t},(t,i)=>(0,e.jsx)(`button`,{type:`button`,role:`tab`,"aria-selected":i===n,"aria-label":`Page ${i+1}`,className:[Q.dot,i===n?Q.dotActive:null].filter(Boolean).join(` `),onClick:()=>r?.(i)},i))})}function Wi({pages:t,currentPage:n,onPageSelected:r,className:i,...a}){return(0,e.jsx)(`div`,{className:[Q.indicatorLines,i].filter(Boolean).join(` `),role:`tablist`,"aria-label":`Carousel pages`,...a,children:Array.from({length:t},(t,i)=>(0,e.jsx)(`button`,{type:`button`,role:`tab`,"aria-selected":i===n,"aria-label":`Page ${i+1}`,className:[Q.line,i===n?Q.lineActive:null].filter(Boolean).join(` `),onClick:()=>r?.(i)},i))})}function Gi({children:n,orientation:r=`horizontal`,spacing:i=0,loop:a=!1,onPageChanged:o,page:s,className:c,...l}){let u=(0,t.useRef)(null),d=t.Children.count(n),[f,p]=(0,t.useState)(0),m=s!==void 0,h=m?s:f;(0,t.useEffect)(()=>{m&&g(s,`smooth`)},[s]);let g=(0,t.useCallback)((e,t=`smooth`)=>{let n=u.current;n&&(r===`horizontal`?n.scrollTo({left:n.clientWidth*e,behavior:t}):n.scrollTo({top:n.clientHeight*e,behavior:t}))},[r]);(0,t.useEffect)(()=>{let e=u.current;if(!e)return;let t=()=>{Array.from(e.children);let t=r===`horizontal`?e.clientWidth:e.clientHeight,n=r===`horizontal`?e.scrollLeft:e.scrollTop,i=Math.round(n/(t||1)),a=Math.max(0,Math.min(i,d-1));m||p(a),o?.(a)};return e.addEventListener(`scroll`,t,{passive:!0}),()=>e.removeEventListener(`scroll`,t)},[r,d,m,o]);let _=(0,t.useCallback)(e=>{let t=r===`horizontal`?e.key===`ArrowRight`:e.key===`ArrowDown`,n=r===`horizontal`?e.key===`ArrowLeft`:e.key===`ArrowUp`;if(t){e.preventDefault();let t=a?(h+1)%d:Math.min(h+1,d-1);g(t),m||p(t),o?.(t)}else if(n){e.preventDefault();let t=a?(h-1+d)%d:Math.max(h-1,0);g(t),m||p(t),o?.(t)}},[h,d,a,r,g,m,o]),v=r===`horizontal`;return(0,e.jsx)(`div`,{ref:u,role:`region`,"aria-roledescription":`carousel`,tabIndex:0,className:[Q.carousel,v?Q.horizontal:Q.vertical,c].filter(Boolean).join(` `),style:v?{columnGap:i||void 0}:{rowGap:i||void 0},onKeyDown:_,...l,children:t.Children.map(n,(t,n)=>(0,e.jsx)(`div`,{className:Q.slide,role:`group`,"aria-roledescription":`slide`,"aria-label":`${n+1} of ${d}`,children:t},n))})}function Ki({children:t,...n}){return(0,e.jsx)(`div`,{...n,children:t})}var qi={content:`_content_1xkwk_3`,icon:`_icon_1xkwk_9`,label:`_label_1xkwk_15`};function Ji({icon:t,label:n,iconPosition:r=`start`,className:i,...a}){return(0,e.jsxs)(`span`,{className:[qi.content,r===`end`?qi.iconEnd:null,i].filter(Boolean).join(` `),...a,children:[t&&r===`start`&&(0,e.jsx)(`span`,{className:qi.icon,"aria-hidden":`true`,children:t}),(0,e.jsx)(`span`,{className:qi.label,children:n}),t&&r===`end`&&(0,e.jsx)(`span`,{className:qi.icon,"aria-hidden":`true`,children:t})]})}var Yi={label:`_label_h3znl_3`,key:`_key_h3znl_9`},Xi={ctrl:`⌃`,control:`⌃`,shift:`⇧`,alt:`⌥`,option:`⌥`,super:`⊞`,win:`⊞`,cmd:`⌘`,command:`⌘`,meta:`⌘`,up:`↑`,down:`↓`,left:`←`,right:`→`,enter:`↵`,return:`↵`,backspace:`⌫`,delete:`⌦`,escape:`⎋`,esc:`⎋`,tab:`⇥`,space:`␣`,pageup:`⇞`,pagedown:`⇟`,home:`⇱`,end:`⇲`};function Zi({shortcut:t,symbols:n=!0,className:r,...i}){let a=t.split(`+`).map(e=>e.trim()).filter(Boolean);return(0,e.jsx)(`span`,{className:[Yi.label,r].filter(Boolean).join(` `),"aria-label":t,...i,children:a.map((t,r)=>{let i=n?Xi[t.toLowerCase()]??t:t;return(0,e.jsx)(`kbd`,{className:Yi.key,children:i},r)})})}var Qi={toolbarView:`_toolbarView_134hf_3`,top:`_top_134hf_11`,content:`_content_134hf_16`,bottom:`_bottom_134hf_23`};function $i({topBar:t,bottomBar:n,children:r,className:i,...a}){return(0,e.jsxs)(`div`,{className:[Qi.toolbarView,i].filter(Boolean).join(` `),...a,children:[t&&(0,e.jsx)(`div`,{className:Qi.top,children:t}),(0,e.jsx)(`div`,{className:Qi.content,children:r}),n&&(0,e.jsx)(`div`,{className:Qi.bottom,children:n})]})}var ea={windowTitle:`_windowTitle_zm877_3`,title:`_title_zm877_11`,subtitle:`_subtitle_zm877_24`};function ta({title:t,subtitle:n,className:r,...i}){return(0,e.jsxs)(`div`,{className:[ea.windowTitle,r].filter(Boolean).join(` `),...i,children:[(0,e.jsx)(`span`,{className:ea.title,children:t}),n&&(0,e.jsx)(`span`,{className:ea.subtitle,children:n})]})}var na={group:`_group_17s4f_3`,header:`_header_17s4f_11`,headerText:`_headerText_17s4f_17`,title:`_title_17s4f_25`,description:`_description_17s4f_33`,suffix:`_suffix_17s4f_42`,content:`_content_17s4f_48`};function ra({title:t,description:n,headerSuffix:r,children:i,className:a,...o}){let s=t||n||r;return(0,e.jsxs)(`div`,{className:[na.group,a].filter(Boolean).join(` `),...o,children:[s&&(0,e.jsxs)(`div`,{className:na.header,children:[(0,e.jsxs)(`div`,{className:na.headerText,children:[t&&(0,e.jsx)(`span`,{className:na.title,children:t}),n&&(0,e.jsx)(`span`,{className:na.description,children:n})]}),r&&(0,e.jsx)(`div`,{className:na.suffix,children:r})]}),(0,e.jsx)(`div`,{className:na.content,children:i})]})}var ia={page:`_page_gt42j_3`,inner:`_inner_gt42j_10`};function aa({title:t,iconName:n,children:r,className:i,...a}){return(0,e.jsx)(`div`,{className:[ia.page,i].filter(Boolean).join(` `),role:`tabpanel`,...a,children:(0,e.jsx)(`div`,{className:ia.inner,children:r})})}var oa=`_backdrop_1u1bd_3`,sa=`_dialog_1u1bd_26`,ca=`_dialogMulti_1u1bd_46`,la=`_header_1u1bd_63`,ua=`_closeBtn_1u1bd_73`,da=`_title_1u1bd_102`,fa=`_searchWrap_1u1bd_112`,pa=`_searchInput_1u1bd_116`,ma=`_body_1u1bd_143`,ha=`_sidebar_1u1bd_152`,ga=`_navList_1u1bd_160`,_a=`_navItem_1u1bd_169`,va=`_navItemActive_1u1bd_190`,ya=`_navIcon_1u1bd_205`,ba=`_navLabel_1u1bd_211`,xa=`_pageWrap_1u1bd_221`,$={backdrop:oa,"backdrop-in":`_backdrop-in_1u1bd_1`,dialog:sa,"dialog-in":`_dialog-in_1u1bd_1`,dialogMulti:ca,header:la,closeBtn:ua,title:da,searchWrap:fa,searchInput:pa,body:ma,sidebar:ha,navList:ga,navItem:_a,navItemActive:va,navIcon:ya,navLabel:ba,pageWrap:xa},Sa=`button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`;function Ca(e,t){if(e.key!==`Tab`)return;let n=Array.from(t.current?.querySelectorAll(Sa)??[]);if(!n.length)return;let r=n[0],i=n[n.length-1];e.shiftKey?document.activeElement===r&&(e.preventDefault(),i.focus()):document.activeElement===i&&(e.preventDefault(),r.focus())}function wa({open:r,onClose:i,children:a,searchable:o=!0,className:s,...c}){let l=(0,t.useRef)(null),u=(0,t.useRef)(null),d=(0,t.useId)(),f=t.Children.toArray(a).filter(e=>(0,t.isValidElement)(e)),[p,m]=(0,t.useState)(0),[h,g]=(0,t.useState)(``);(0,t.useEffect)(()=>{if(r){m(0),g(``);let e=requestAnimationFrame(()=>{o&&u.current?u.current.focus():(l.current?.querySelector(Sa))?.focus()});return()=>cancelAnimationFrame(e)}},[r,o]);let _=(0,t.useCallback)(e=>{if(e.key===`Escape`){e.stopPropagation(),i();return}Ca(e,l)},[i]),v=f.length>1,y=f[p]??f[0],b=h.trim().toLowerCase();return r?(0,n.createPortal)((0,e.jsx)(`div`,{className:$.backdrop,onClick:e=>{e.target===e.currentTarget&&i()},role:`presentation`,children:(0,e.jsxs)(`div`,{ref:l,role:`dialog`,"aria-modal":`true`,"aria-labelledby":d,className:[$.dialog,v?$.dialogMulti:null,s].filter(Boolean).join(` `),onKeyDown:_,...c,children:[(0,e.jsxs)(`div`,{className:$.header,children:[(0,e.jsx)(`button`,{type:`button`,className:$.closeBtn,onClick:i,"aria-label":`Close preferences`,children:`✕`}),(0,e.jsx)(`span`,{id:d,className:$.title,children:`Preferences`}),o&&(0,e.jsx)(`div`,{className:$.searchWrap,children:(0,e.jsx)(`input`,{ref:u,type:`search`,placeholder:`Search…`,value:h,onChange:e=>g(e.target.value),className:$.searchInput,"aria-label":`Search preferences`})})]}),(0,e.jsxs)(`div`,{className:$.body,children:[v&&(0,e.jsx)(`nav`,{className:$.sidebar,"aria-label":`Preferences pages`,children:(0,e.jsx)(`ul`,{role:`tablist`,className:$.navList,children:f.map((t,n)=>(0,e.jsx)(`li`,{role:`presentation`,children:(0,e.jsxs)(`button`,{role:`tab`,type:`button`,"aria-selected":n===p,className:[$.navItem,n===p?$.navItemActive:null].filter(Boolean).join(` `),onClick:()=>m(n),children:[t.props.iconName&&(0,e.jsx)(`span`,{className:[$.navIcon,`icon`,t.props.iconName].join(` `),"aria-hidden":`true`}),(0,e.jsx)(`span`,{className:$.navLabel,children:t.props.title})]})},n))})}),(0,e.jsx)(`div`,{className:$.pageWrap,children:y&&(0,t.cloneElement)(y,{"data-search-query":b||void 0})})]})]})}),document.body):null}exports.ActionRow=gt,exports.Avatar=T,exports.Badge=Se,exports.Banner=ge,exports.Bin=Ki,exports.BottomSheet=Hi,exports.BoxedList=vt,exports.BreakpointBin=Dr,exports.Button=i,exports.ButtonContent=Ji,exports.ButtonRow=kr,exports.Card=v,exports.Carousel=Gi,exports.CarouselIndicatorDots=Ui,exports.CarouselIndicatorLines=Wi,exports.CheckRow=Kr,exports.Checkbox=ee,exports.Chip=tr,exports.Clamp=Bn,exports.ComboRow=hi,exports.Dialog=un,exports.Dropdown=kn,exports.EntryRow=gi,exports.ExpanderRow=zr,exports.Footer=be,exports.Frame=Rr,exports.GNOME_BREAKPOINTS=Ne,exports.HeaderBar=ve,exports.Icon=M,exports.InlineViewSwitcher=Ur,exports.InlineViewSwitcherItem=Wr,exports.Link=Kn,exports.LinkedGroup=Ir,exports.NavigationPage=Mi,exports.NavigationSplitView=Vn,exports.NavigationView=Ni,exports.OverlaySplitView=Hn,exports.PasswordEntryRow=vi,exports.Popover=Rn,exports.PreferencesDialog=wa,exports.PreferencesGroup=ra,exports.PreferencesPage=aa,exports.ProgressBar=ae,exports.RadioButton=re,exports.SearchBar=Ae,exports.Separator=D,exports.ShortcutLabel=Zi,exports.ShortcutsDialog=Sr,exports.Sidebar=rt,exports.SidebarCollapsedContext=$e,exports.SidebarItem=ct,exports.SidebarSection=it,exports.Slider=Nn,exports.Spacer=Pr,exports.SpinButton=ft,exports.SpinRow=xi,exports.Spinner=b,exports.SplitButton=jr,exports.StatusPage=Me,exports.Switch=k,exports.SwitchRow=Gr,exports.TabBar=pt,exports.TabItem=mt,exports.TabPanel=ht,exports.Text=m,exports.TextField=te,exports.Toast=At,exports.Toaster=jt,exports.ToggleGroup=Xn,exports.ToggleGroupItem=Zn,exports.Toolbar=Nr,exports.ToolbarView=$i,exports.Tooltip=st,exports.ViewSwitcher=bt,exports.ViewSwitcherBar=Wn,exports.ViewSwitcherItem=xt,exports.ViewSwitcherSidebar=Tr,exports.ViewSwitcherSidebarItem=Er,exports.WindowTitle=ta,exports.WrapBox=$n,exports.useBreakpoint=Pe,exports.useNavigation=ji,exports.useSidebarCollapsed=et;
2
+ //# sourceMappingURL=index.cjs.map