@inkorange/space-ui 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  <!-- badges:start -->
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@inkorange/space-ui)](https://www.npmjs.com/package/@inkorange/space-ui)
6
- ![coverage](https://img.shields.io/badge/coverage-82%25-green)
7
- ![minzip](https://img.shields.io/badge/minzip-21.7%20kB-blue)
6
+ ![coverage](https://img.shields.io/badge/coverage-80%25-yellowgreen)
7
+ ![minzip](https://img.shields.io/badge/minzip-25.4%20kB-blue)
8
8
  ![dependencies](https://img.shields.io/badge/dependencies-0-blue)
9
9
  [![docs](https://img.shields.io/badge/docs-live%20gallery-0b7dd6)](https://space-components.vercel.app)
10
10
 
@@ -18,7 +18,7 @@ compose and nothing to opt into.
18
18
  resolve against the registry rather than the repository. This sheet is a
19
19
  screenshot of the real components, shot from the gallery — see
20
20
  `pnpm assets`. -->
21
- <img alt="Stickersheet: Button, Badge, Select, TextField, Slider, Progress, IconToggle, RadioGroup, Loader, Tabs, icons, Text, TextArea, Card and ScrollArea on a dark ground"
21
+ <img alt="Stickersheet: Button, Badge, Select, TextField, Slider, Progress, IconToggle, RadioGroup, Loader, Tabs, icons, Text, TextArea and Card — plain and with an image — and a Message banner on a dark ground"
22
22
  src="https://raw.githubusercontent.com/inkorange/space-ui/main/.github/assets/components.jpg"
23
23
  width="100%">
24
24
 
@@ -162,10 +162,10 @@ it exposes.
162
162
  | | |
163
163
  | --- | --- |
164
164
  | **Typography** | [Text](https://space-components.vercel.app/?story=components--typography--text-sizes) · [Link](https://space-components.vercel.app/?story=components--typography--text-sizes) · [Heading](https://space-components.vercel.app/?story=components--typography--headings) · [Badge](https://space-components.vercel.app/?story=components--typography--badges) · [Separator](https://space-components.vercel.app/?story=components--typography--separator) |
165
- | **Layout** | [Card](https://space-components.vercel.app/?story=components--layout--card) · [Flex](https://space-components.vercel.app/?story=components--layout--flex-and-grid) · [Grid](https://space-components.vercel.app/?story=components--layout--flex-and-grid) · [Box](https://space-components.vercel.app/?story=components--layout--flex-and-grid) · [ScrollArea](https://space-components.vercel.app/?story=components--layout--scroll-area) |
166
- | **Forms** | [TextField](https://space-components.vercel.app/?story=components--forms--text-field) · [TextArea](https://space-components.vercel.app/?story=components--forms--text-area) · [Select](https://space-components.vercel.app/?story=components--forms--select) · [Slider](https://space-components.vercel.app/?story=components--forms--slider) · [RadioGroup](https://space-components.vercel.app/?story=components--forms--radio-group) |
165
+ | **Layout** | [Card](https://space-components.vercel.app/?story=components--layout--card) · [Flex](https://space-components.vercel.app/?story=components--layout--flex-and-grid) · [Grid](https://space-components.vercel.app/?story=components--layout--flex-and-grid) · [Box](https://space-components.vercel.app/?story=components--layout--flex-and-grid) |
166
+ | **Forms** | [Autocomplete](https://space-components.vercel.app/?story=components--forms--autocomplete) · [TextField](https://space-components.vercel.app/?story=components--forms--text-field) · [TextArea](https://space-components.vercel.app/?story=components--forms--text-area) · [Select](https://space-components.vercel.app/?story=components--forms--select) · [Slider](https://space-components.vercel.app/?story=components--forms--slider) · [RadioGroup](https://space-components.vercel.app/?story=components--forms--radio-group) |
167
167
  | **Buttons** | [Button](https://space-components.vercel.app/?story=components--buttons--buttons) · [IconToggle](https://space-components.vercel.app/?story=components--buttons--icon-toggle) |
168
- | **Feedback** | [Loader](https://space-components.vercel.app/?story=components--buttons--loader) · [Progress](https://space-components.vercel.app/?story=components--buttons--progress) |
168
+ | **Feedback** | [Loader](https://space-components.vercel.app/?story=components--feedback--loader) · [Progress](https://space-components.vercel.app/?story=components--feedback--progress) · [Message](https://space-components.vercel.app/?story=components--feedback--message) |
169
169
  | **Overlays** | [Dialog](https://space-components.vercel.app/?story=components--overlays--dialog) · [AlertDialog](https://space-components.vercel.app/?story=components--overlays--alert-dialog) · [DropdownMenu](https://space-components.vercel.app/?story=components--overlays--dropdown-menu) · [Tabs](https://space-components.vercel.app/?story=components--overlays--tabs) · [Tooltip](https://space-components.vercel.app/?story=components--overlays--tooltip) |
170
170
  | **Icons** | [20 icons](https://space-components.vercel.app/?story=components--icons--all-icons) |
171
171
  | **Foundations** | [Color](https://space-components.vercel.app/?story=foundations--color) · [Spacing](https://space-components.vercel.app/?story=foundations--spacing) · [Type scale](https://space-components.vercel.app/?story=foundations--type-scale) · [Motion](https://space-components.vercel.app/?story=foundations--motion) · [Token usage](https://space-components.vercel.app/?story=foundations--token-usage) |
@@ -0,0 +1,72 @@
1
+ import type * as React from "react";
2
+ import { type ReactNode } from "react";
3
+ export interface AutocompleteOption {
4
+ /** Handed back to `onSelect` when this row is chosen. */
5
+ value: string;
6
+ /** The row's main text. */
7
+ label: ReactNode;
8
+ /** Optional secondary text, set against the trailing edge — a category, a
9
+ * score, a date. Kept out of `label` so it stays visually subordinate and
10
+ * does not affect which row a reader scans for. */
11
+ meta?: ReactNode;
12
+ /** Shown, but skipped by the keyboard and unselectable. */
13
+ disabled?: boolean;
14
+ /** The text the typed query is matched against, when `label` is not a plain
15
+ * string. Falls back to `label` if it is one, and to `value` otherwise —
16
+ * and `value` is usually a slug, which is rarely what someone is typing. */
17
+ search?: string;
18
+ }
19
+ export interface AutocompleteProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "onSelect" | "className" | "style"> {
20
+ /** The text in the field. Fully controlled. */
21
+ value: string;
22
+ /** Called on every keystroke. */
23
+ onValueChange: (value: string) => void;
24
+ /** The candidate rows, in the order you want them shown. They are narrowed
25
+ * against what has been typed unless `preFiltered` is set; the order you
26
+ * give is always preserved, so ranking stays yours. An empty array with no
27
+ * `loading` and no `emptyMessage` shows nothing at all, which is how you
28
+ * keep the panel shut until a query is worth answering. */
29
+ options: AutocompleteOption[];
30
+ /** Called when a row is chosen by click or Enter. */
31
+ onSelect: (value: string, option: AutocompleteOption) => void;
32
+ /** Renders a leading glyph inside the field — a magnifier, usually. */
33
+ icon?: ReactNode;
34
+ /** Match exactly as typed, so `trappist` no longer finds `TRAPPIST`.
35
+ * Default off, which is what nearly every search wants. */
36
+ caseSensitive?: boolean;
37
+ /** The rows were already matched — by a server, a fuzzy search, a synonym
38
+ * table — so render them as given. Without this a substring test here
39
+ * would silently drop rows a smarter match upstream had found. */
40
+ preFiltered?: boolean;
41
+ /** Replaces the list with a waiting message while results are on their way. */
42
+ loading?: boolean;
43
+ /** What that waiting message says. Name the thing being fetched — "Loading
44
+ * the catalogue…" tells a reader more than a spinner's worth of nothing.
45
+ * Default "Loading…". */
46
+ loadingMessage?: ReactNode;
47
+ /** Shown when there are no options and nothing is loading. Leave it out to
48
+ * show no panel at all rather than an empty one. */
49
+ emptyMessage?: ReactNode;
50
+ /** A line under the list, outside its scroll area — "showing 50 of 2,700",
51
+ * a hint, a keyboard legend. */
52
+ footer?: ReactNode;
53
+ /** Ambient motion on the field's rim. The glass skin is always applied.
54
+ * Default true. */
55
+ animated?: boolean;
56
+ /** Merged onto the wrapper, which is what you size. */
57
+ className?: string;
58
+ /** Applied to the wrapper — set width here. */
59
+ style?: React.CSSProperties;
60
+ }
61
+ /**
62
+ * A text field that offers matching rows as you type.
63
+ *
64
+ * It holds no data of its own. Give it `options` and it renders them,
65
+ * highlights one, moves that highlight with the arrow keys, and calls
66
+ * `onSelect` when a row is chosen — however those options were produced.
67
+ *
68
+ * The list is a popover rather than a block in the flow: results that appear
69
+ * mid-keystroke and push the page down under the cursor are disorienting, and
70
+ * whatever is being searched usually sits directly below the field.
71
+ */
72
+ export declare function Autocomplete({ value, onValueChange, options, onSelect, icon, caseSensitive, preFiltered, loading, loadingMessage, emptyMessage, footer, animated, className, style, ...inputProps }: AutocompleteProps): React.JSX.Element;
@@ -2,6 +2,15 @@ import type * as React from "react";
2
2
  import { type ReactNode } from "react";
3
3
  import { type SpacingProps } from "./propShared";
4
4
  export interface CardProps extends SpacingProps, React.HTMLAttributes<HTMLDivElement> {
5
+ /** A media element to sit at the top of the card, full-bleed to its edges.
6
+ * Pass whatever your framework renders — a plain `<img>`, a `next/image`,
7
+ * a `<video>` — and the card frames it: cropped to fill, top corners
8
+ * matched to its own radius, and a reserved box so the layout does not
9
+ * jump when it loads.
10
+ *
11
+ * The reserved box is `--sp-card-image-ratio` (default `16 / 10`). Set it
12
+ * per card for a different crop. */
13
+ image?: ReactNode;
5
14
  /** The card's contents. */
6
15
  children?: ReactNode;
7
16
  }
@@ -9,5 +18,9 @@ export interface CardProps extends SpacingProps, React.HTMLAttributes<HTMLDivEle
9
18
  * A translucent panel for grouping related content, one step above the page
10
19
  * surface. Its 12px inset is a deliberate exception to the 8pt grid, kept for
11
20
  * parity with the app this was extracted from.
21
+ *
22
+ * Pass `image` for a media card. The image is framed by the card rather than
23
+ * being an ordinary child, so every card in a row reserves the same box
24
+ * before its image loads and none of them reflow when it does.
12
25
  */
13
26
  export declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
@@ -14,16 +14,24 @@ export interface IconToggleOption<V extends string> {
14
14
  * "always visible, the selected one is the active one"). Generic over the
15
15
  * option set so other icon-mode switchers can reuse it.
16
16
  */
17
- export declare function IconToggle<V extends string>({ options, value, onValueChange, className, }: {
17
+ export declare function IconToggle<V extends string>({ options, value, onValueChange, orientation, className, }: {
18
18
  /** The segments, in display order. Every option is always visible —
19
19
  * this is a segmented control, not a menu.
20
20
  */
21
21
  options: IconToggleOption<V>[];
22
- /** The selected option's value. Fully controlled. */
23
- value: V;
22
+ /** The selected option's value. Fully controlled.
23
+ *
24
+ * NoInfer so V is derived from `options` alone. Without it a value that is
25
+ * not among the options simply widened V to include itself, which made the
26
+ * generic silently accept the one mistake it looks like it should catch. */
27
+ value: NoInfer<V>;
24
28
  /** Called with the newly selected value. Not called when the already
25
29
  * selected option is clicked. */
26
30
  onValueChange(next: V): void;
31
+ /** Which way the pill runs. `vertical` for a rail down the edge of a
32
+ * viewport, where a horizontal strip would eat the width. Default
33
+ * `horizontal`. */
34
+ orientation?: "horizontal" | "vertical";
27
35
  /** Merged onto the group wrapper. */
28
36
  className?: string;
29
37
  }): import("react").JSX.Element;
@@ -0,0 +1,33 @@
1
+ import type * as React from "react";
2
+ import { type ReactNode } from "react";
3
+ export type MessageVariant = "info" | "warning" | "alert";
4
+ export interface MessageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
5
+ /** Which message this is. `info` states something, `warning` flags a risk
6
+ * worth acting on, `alert` reports something already wrong. Default
7
+ * `info`. */
8
+ variant?: MessageVariant;
9
+ /** An optional bold line above the body. Omit for a single-line message —
10
+ * a title that merely restates the body is noise.
11
+ *
12
+ * This shadows the HTML `title` attribute, which took a string and showed
13
+ * a browser tooltip. A tooltip on a banner nobody hovers was never the
14
+ * useful reading of the name. */
15
+ title?: ReactNode;
16
+ /** Replaces the variant's own glyph. Pass `null` for no icon at all. */
17
+ icon?: ReactNode;
18
+ /** The message. */
19
+ children?: ReactNode;
20
+ }
21
+ /**
22
+ * A banner that tells the reader something about the state of the page — a
23
+ * risk, a result, a failure.
24
+ *
25
+ * The three variants do not merely change hue. `info` is lit like the rest of
26
+ * the system, cool and calm; `warning` warms the rim to amber; `alert` uses
27
+ * the ember treatment, the same warm limb the destructive Button wears. Each
28
+ * carries its own glyph so the kind of message reads before the words do.
29
+ *
30
+ * For a decision the reader must make, reach for `AlertDialog` instead — a
31
+ * message states, it does not ask.
32
+ */
33
+ export declare const Message: React.ForwardRefExoticComponent<MessageProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,8 +1,10 @@
1
1
  interface TooltipProps {
2
2
  /** The text to show. Nothing renders when this is empty. */
3
3
  label: string;
4
- /** Preferred side; flips automatically when there isn't room. */
5
- side?: "top" | "bottom";
4
+ /** Preferred side; flips to the opposite one when there isn't room.
5
+ * `left`/`right` are for a control in a vertical stack, where a tooltip
6
+ * above or below would land on the neighbouring item. */
7
+ side?: "top" | "bottom" | "left" | "right";
6
8
  /** The element the tooltip describes. Receives the hover and focus
7
9
  * handlers, so it must accept a ref. */
8
10
  children: React.ReactElement;
@@ -25,3 +25,6 @@ export declare function ChevronLeftIcon(props: IconProps): React.JSX.Element;
25
25
  export declare function BookmarkIcon(props: IconProps): React.JSX.Element;
26
26
  /** Dialog dismiss glyph — a plain X, used by Dialog.Content's corner button. */
27
27
  export declare function XIcon(props: IconProps): React.JSX.Element;
28
+ export declare function InfoCircledIcon(props: IconProps): React.JSX.Element;
29
+ export declare function ExclamationTriangleIcon(props: IconProps): React.JSX.Element;
30
+ export declare function CrossCircledIcon(props: IconProps): React.JSX.Element;
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),n=require("react/jsx-runtime"),H={0:"0",1:"var(--spacing-xs)",2:"var(--spacing-sm)",3:"var(--spacing-md)",4:"var(--spacing-md)",5:"var(--spacing-lg)",6:"var(--spacing-xl)"};function z({m:e,mt:t,mb:o,p:r,pb:s},c){const i={...e!==void 0&&{margin:H[e]},...t!==void 0&&{marginTop:H[t]},...o!==void 0&&{marginBottom:H[o]},...r!==void 0&&{padding:H[r]},...s!==void 0&&{paddingBottom:H[s]},...c};return Object.keys(i).length>0?i:void 0}function m(...e){return e.filter(Boolean).join(" ")}const qe="_text_4vcq4_1",Le="_size1_4vcq4_5",Ie="_size2_4vcq4_11",ze="_size3_4vcq4_16",Me="_size4_4vcq4_21",Se="_size5_4vcq4_27",De="_size6_4vcq4_33",Ne="_medium_4vcq4_39",Ee="_bold_4vcq4_43",Te="_colorMuted_4vcq4_47",He="_colorDanger_4vcq4_51",Ve="_colorSuccess_4vcq4_55",Ae="_colorWarning_4vcq4_59",X={text:qe,size1:Le,size2:Ie,size3:ze,size4:Me,size5:Se,size6:De,medium:Ne,bold:Ee,colorMuted:Te,colorDanger:He,colorSuccess:Ve,colorWarning:Ae},le=l.forwardRef(function({as:t="span",size:o,weight:r,color:s,className:c,style:i,m:u,mt:_,mb:C,p:a,pb:p,...v},d){return l.createElement(t,{...v,ref:d,className:m(X.text,o&&X[`size${o}`],r&&X[r],s&&X[`color${s[0].toUpperCase()}${s.slice(1)}`],c),style:z({m:u,mt:_,mb:C,p:a,pb:p},i)})}),Ze="_heading_vs4zk_1",Be="_size4_vs4zk_7",Pe="_size5_vs4zk_13",Oe="_size6_vs4zk_19",Fe="_size7_vs4zk_25",We="_size8_vs4zk_31",Ge="_size9_vs4zk_37",Ue="_colorMuted_vs4zk_43",Xe="_colorDanger_vs4zk_47",Ke="_alignCenter_vs4zk_51",V={heading:Ze,size4:Be,size5:Pe,size6:Oe,size7:Fe,size8:We,size9:Ge,colorMuted:Ue,colorDanger:Xe,alignCenter:Ke},ce=l.forwardRef(function({as:t="h2",size:o,color:r,align:s,className:c,style:i,m:u,mt:_,mb:C,p:a,pb:p,...v},d){return l.createElement(t,{...v,ref:d,className:m(V.heading,o&&V[`size${o}`],r==="muted"&&V.colorMuted,r==="danger"&&V.colorDanger,s==="center"&&V.alignCenter,c),style:z({m:u,mt:_,mb:C,p:a,pb:p},i)})}),Ye="_link_1qa7j_1",Qe="_size1_1qa7j_10",Je="_size2_1qa7j_16",et="_size3_1qa7j_21",te={link:Ye,size1:Qe,size2:Je,size3:et},tt=l.forwardRef(function({asChild:t,size:o,className:r,style:s,m:c,mt:i,mb:u,p:_,pb:C,children:a,...p},v){const d=m(te.link,o&&te[`size${o}`],r),g=z({m:c,mt:i,mb:u,p:_,pb:C},s);if(t&&l.isValidElement(a)){const h=a;return l.cloneElement(h,{...p,className:m(d,h.props.className),style:{...g,...h.props.style}})}return n.jsx("a",{...p,ref:v,className:d,style:g,children:a})}),nt="_flex_v4ziu_1",ot="_gap1_v4ziu_5",st="_gap2_v4ziu_9",rt="_gap3_v4ziu_13",lt="_gap4_v4ziu_17",ct="_gap5_v4ziu_21",it="_gap6_v4ziu_25",at="_directionRow_v4ziu_29",ut="_directionColumn_v4ziu_33",dt="_alignStart_v4ziu_37",_t="_alignCenter_v4ziu_41",ft="_alignEnd_v4ziu_45",pt="_alignBaseline_v4ziu_49",Ct="_alignStretch_v4ziu_53",gt="_justifyStart_v4ziu_57",mt="_justifyCenter_v4ziu_61",vt="_justifyEnd_v4ziu_65",ht="_justifyBetween_v4ziu_69",xt="_wrapWrap_v4ziu_73",wt="_wrapNowrap_v4ziu_77",M={flex:nt,gap1:ot,gap2:st,gap3:rt,gap4:lt,gap5:ct,gap6:it,directionRow:at,directionColumn:ut,alignStart:dt,alignCenter:_t,alignEnd:ft,alignBaseline:pt,alignStretch:Ct,justifyStart:gt,justifyCenter:mt,justifyEnd:vt,justifyBetween:ht,wrapWrap:xt,wrapNowrap:wt},K=e=>e[0].toUpperCase()+e.slice(1),bt=l.forwardRef(function({asChild:t,gap:o,direction:r,align:s,justify:c,wrap:i,className:u,style:_,m:C,mt:a,mb:p,p:v,pb:d,children:g,...h},w){const j=m(M.flex,o&&M[`gap${o}`],r&&M[`direction${K(r)}`],s&&M[`align${K(s)}`],c&&M[`justify${K(c)}`],i&&M[`wrap${K(i)}`],u),y=z({m:C,mt:a,mb:p,p:v,pb:d},_);if(t&&l.isValidElement(g)){const k=g;return l.cloneElement(k,{...h,className:m(j,k.props.className),style:{...y,...k.props.style}})}return n.jsx("div",{...h,ref:w,className:j,style:y,children:g})}),jt=l.forwardRef(function({style:t,m:o,mt:r,mb:s,p:c,pb:i,...u},_){return n.jsx("div",{...u,ref:_,style:z({m:o,mt:r,mb:s,p:c,pb:i},t)})}),yt="_grid_erpqq_1",Rt="_cols1_erpqq_5",$t="_cols2_erpqq_9",kt="_cols3_erpqq_13",qt="_smCols2_erpqq_18",Lt="_smCols3_erpqq_21",It="_mdCols2_erpqq_26",zt="_mdCols3_erpqq_29",Mt="_gap1_erpqq_33",St="_gap2_erpqq_37",Dt="_gap3_erpqq_41",Nt="_gap4_erpqq_45",Et="_gap5_erpqq_49",Tt="_gap6_erpqq_53",S={grid:yt,cols1:Rt,cols2:$t,cols3:kt,smCols2:qt,smCols3:Lt,mdCols2:It,mdCols3:zt,gap1:Mt,gap2:St,gap3:Dt,gap4:Nt,gap5:Et,gap6:Tt},Ht=l.forwardRef(function({columns:t,gap:o,className:r,style:s,m:c,mt:i,mb:u,p:_,pb:C,...a},p){const v=typeof t=="string"?[S[`cols${t}`]]:t?[t.initial&&S[`cols${t.initial}`],t.sm&&S[`smCols${t.sm}`],t.md&&S[`mdCols${t.md}`]]:[];return n.jsx("div",{...a,ref:p,className:m(S.grid,...v,o&&S[`gap${o}`],r),style:z({m:c,mt:i,mb:u,p:_,pb:C},s)})}),Vt="_badge_1twqf_2",At="_size1_1twqf_10",Zt="_size2_1twqf_19",Bt="_colorMuted_1twqf_28",Pt="_colorPrimary_1twqf_33",Ot="_colorSuccess_1twqf_38",Ft="_colorDanger_1twqf_43",Wt="_colorWarning_1twqf_48",Gt="_colorCyan_1twqf_53",Ut="_colorPurple_1twqf_58",Xt="_colorOrange_1twqf_63",Kt="_colorAccent_1twqf_68",Yt="_colorYellow_1twqf_73",Qt="_solid_1twqf_81",Jt="_wrap_1twqf_89",A={badge:Vt,size1:At,size2:Zt,colorMuted:Bt,colorPrimary:Pt,colorSuccess:Ot,colorDanger:Ft,colorWarning:Wt,colorCyan:Gt,colorPurple:Ut,colorOrange:Xt,colorAccent:Kt,colorYellow:Yt,solid:Qt,wrap:Jt},en=e=>e[0].toUpperCase()+e.slice(1),tn=l.forwardRef(function({color:t="primary",variant:o="soft",size:r="1",wrap:s,className:c,style:i,m:u,mt:_,mb:C,p:a,pb:p,...v},d){return n.jsx("span",{...v,ref:d,className:m(A.badge,A[`color${en(t)}`],o==="solid"&&A.solid,A[`size${r}`],s&&A.wrap,c),style:z({m:u,mt:_,mb:C,p:a,pb:p},i)})}),nn="_separator_vao01_1",on="_full_vao01_7",ne={separator:nn,full:on},sn=l.forwardRef(function({size:t="4",className:o,...r},s){return n.jsx("span",{...r,ref:s,role:"separator",className:m(ne.separator,t==="4"&&ne.full,o)})}),rn="_card_10wsm_1",ln={card:rn},cn=l.forwardRef(function({className:t,style:o,m:r,mt:s,mb:c,p:i,pb:u,..._},C){return n.jsx("div",{..._,ref:C,className:m(ln.card,t),style:z({m:r,mt:s,mb:c,p:i,pb:u},o)})}),an="_scrollArea_ujp70_1",un={scrollArea:an},dn=l.forwardRef(function({className:t,...o},r){return n.jsx("div",{...o,ref:r,className:m(un.scrollArea,t)})}),_n="_spaceButton_kjhqx_14",fn="_rimRotate_kjhqx_1",pn="_glintSweep_kjhqx_1",Cn="_iconOnly_kjhqx_97",gn="_lg_kjhqx_104",mn="_sm_kjhqx_110",vn="_micro_kjhqx_122",hn="_stars_kjhqx_136",xn="_fullWidth_kjhqx_141",wn="_ember_kjhqx_147",bn="_label_kjhqx_157",jn="_star_kjhqx_136",yn="_twinkle_kjhqx_1",L={spaceButton:_n,rimRotate:fn,glintSweep:pn,iconOnly:Cn,lg:gn,sm:mn,micro:vn,stars:hn,fullWidth:xn,ember:wn,label:bn,star:jn,twinkle:yn};function Rn(e){return function(){e|=0,e=e+1831565813|0;let t=Math.imul(e^e>>>15,1|e);return t=t+Math.imul(t^t>>>7,61|t)^t,((t^t>>>14)>>>0)/4294967296}}function $n(e){let t=2166136261;for(let o=0;o<e.length;o++)t^=e.charCodeAt(o),t=Math.imul(t,16777619);return t>>>0}const ie=l.forwardRef(function({iconOnly:t,ember:o,size:r="md",fullWidth:s,animated:c=!0,className:i,children:u,..._},C){const a=l.useId(),p=l.useMemo(()=>{const d=Rn($n(a));return Array.from({length:3},()=>({top:`${12+d()*58}%`,left:`${8+d()*80}%`,animationDelay:`${(d()*3.2).toFixed(2)}s`,animationDuration:`${(2.8+d()*1.8).toFixed(2)}s`}))},[a]),v=[L.spaceButton,t?L.iconOnly:"",o?L.ember:"",r!=="md"?L[r]:"",s?L.fullWidth:"",i??""].filter(Boolean).join(" ");return n.jsxs("button",{ref:C,className:v,"data-animated":c?void 0:"false",..._,children:[r!=="micro"&&n.jsx("span",{className:L.stars,"aria-hidden":!0,children:p.map((d,g)=>n.jsx("i",{className:L.star,style:d},g))}),n.jsx("span",{className:L.label,children:u})]})}),kn="_wrap_dwcut_5",qn="_sm_dwcut_30",Ln="_md_dwcut_36",In="_lg_dwcut_42",zn="_orbit_dwcut_49",Mn="_planet_dwcut_58",Sn="_moon_dwcut_73",Dn="_label_dwcut_92",D={wrap:kn,sm:qn,md:Ln,lg:In,orbit:zn,planet:Mn,"sp-loader-planet-pulse":"_sp-loader-planet-pulse_dwcut_1",moon:Sn,"sp-loader-orbit":"_sp-loader-orbit_dwcut_1",label:Dn,"sp-loader-reduced-pulse":"_sp-loader-reduced-pulse_dwcut_1"};function Nn({size:e="md",label:t,className:o}){return n.jsxs("div",{className:m(D.wrap,D[e],o),role:"status","aria-live":"polite","aria-label":t??"Loading",children:[n.jsxs("span",{className:D.orbit,children:[n.jsx("span",{className:D.planet}),n.jsx("span",{className:D.moon})]}),t&&n.jsx("span",{className:D.label,children:t})]})}const En="_content_1bxfq_6",Tn={content:En},Hn=350,Vn=80,oe=8,Z=8;function An({triggerRef:e,tooltipId:t,show:o,hide:r,children:s}){const c=s.props;return l.cloneElement(s,{ref:e,"aria-describedby":t,onPointerEnter:i=>{var u;(u=c.onPointerEnter)==null||u.call(c,i),i.pointerType==="mouse"&&o()},onPointerLeave:i=>{var u;(u=c.onPointerLeave)==null||u.call(c,i),r()},onFocus:i=>{var u;(u=c.onFocus)==null||u.call(c,i),o(!0)},onBlur:i=>{var u;(u=c.onBlur)==null||u.call(c,i),r()},onClick:i=>{var u;(u=c.onClick)==null||u.call(c,i),r()}})}function ae({label:e,side:t="bottom",children:o}){const r=l.useId(),[s,c]=l.useState(!1),[i,u]=l.useState(null),_=l.useRef(null),C=l.useRef(null),a=l.useRef(null),p=l.useRef(null),v=()=>{a.current&&(clearTimeout(a.current),a.current=null),p.current&&(clearTimeout(p.current),p.current=null)},d=(h=!1)=>{if(v(),h){c(!0);return}a.current=setTimeout(()=>c(!0),Hn)},g=()=>{v(),p.current=setTimeout(()=>c(!1),Vn)};return l.useEffect(()=>v,[]),l.useLayoutEffect(()=>{const h=C.current;if(!h)return;if(!s){h.matches(":popover-open")&&h.hidePopover();return}h.matches(":popover-open")||h.showPopover();const w=_.current;if(!w)return;const j=w.getBoundingClientRect(),y=h.offsetWidth,k=h.offsetHeight,R=j.bottom+oe,b=j.top-k-oe,W=R+k<=window.innerHeight-Z,T=b>=Z,G=t==="bottom"?W||!T?R:b:T||!W?b:R,U=Math.min(Math.max(j.left+j.width/2-y/2,Z),Math.max(window.innerWidth-y-Z,Z));u({top:G,left:U})},[s,t,e]),!e||!l.isValidElement(o)?n.jsx(n.Fragment,{children:o}):n.jsxs(n.Fragment,{children:[n.jsx(An,{triggerRef:_,tooltipId:r,show:d,hide:g,children:o}),n.jsx("div",{ref:C,id:r,popover:"auto",role:"tooltip",className:Tn.content,style:i?{top:i.top,left:i.left}:void 0,onToggle:h=>{h.nativeEvent.newState==="closed"&&s&&c(!1)},children:e})]})}const Zn="_group_1kj0b_3",Bn="_segment_1kj0b_14",Pn="_active_1kj0b_34",Q={group:Zn,segment:Bn,active:Pn};function On({options:e,value:t,onValueChange:o,className:r=""}){return n.jsx("div",{className:`${Q.group} ${r}`,role:"group",children:e.map(s=>n.jsx(ae,{label:s.label,side:"bottom",children:n.jsx("button",{type:"button",className:`${Q.segment} ${s.value===t?Q.active:""}`,"aria-label":s.label,"aria-pressed":s.value===t,onClick:()=>{s.value!==t&&o(s.value)},children:s.icon})},s.value))})}const Fn="_root_1bvtq_2",Wn="_trigger_1bvtq_7",Gn="_labelWrap_1bvtq_30",Un="_sizer_1bvtq_8",Xn="_triggerLabel_1bvtq_70",Kn="_chevron_1bvtq_77",Yn="_listbox_1bvtq_82",Qn="_item_1bvtq_110",I={root:Fn,trigger:Wn,labelWrap:Gn,sizer:Un,triggerLabel:Xn,chevron:Kn,listbox:Yn,item:Qn},Jn="_spaceControl_4ou97_17",e1="_spaceSlider_4ou97_74",t1="_spacePanel_4ou97_111",n1="_spaceInput_4ou97_34",o1="_spaceTextArea_4ou97_226",s1={spaceControl:Jn,spaceSlider:e1,spacePanel:t1,spaceInput:n1,spaceTextArea:o1},E=s1,ue=l.createContext(null),r1=()=>{const e=l.useContext(ue);if(!e)throw new Error("Select.Item must be inside a Select");return e},de=(e,t)=>`${e}-${encodeURIComponent(t)}`;function l1(e){const t=[],o=r=>{l.Children.forEach(r,s=>{if(!l.isValidElement(s))return;const c=s.props;s.type===_e&&typeof c.value=="string"?t.push({value:c.value,label:c.children,disabled:c.disabled}):c.children&&o(c.children)})};return o(e),t}function c1({value:e,onValueChange:t,disabled:o,placeholder:r,animated:s=!0,className:c,children:i,...u}){const[_,C]=l.useState(!1),[a,p]=l.useState(null),v=l.useId(),d=l.useRef(null),g=l.useRef(null),h=l.useRef(null),[w,j]=l.useState(null),[y,k]=l.useState(null),R=l.useMemo(()=>l1(i),[i]),b=l.useMemo(()=>R.filter(f=>!f.disabled).map(f=>f.value),[R]),W=l.useMemo(()=>R.map(f=>f.label),[R]),T=l.useCallback(f=>{var $;return(($=R.find(q=>q.value===f))==null?void 0:$.label)??null},[R]);l.useEffect(()=>{if(!_)return;const f=$=>{g.current&&!g.current.contains($.target)&&C(!1)};return document.addEventListener("mousedown",f),()=>document.removeEventListener("mousedown",f)},[_]),l.useLayoutEffect(()=>{if(!_)return;const f=d.current;if(!f)return;const $=f.getBoundingClientRect();j(f.offsetWidth);const q=window.innerHeight-$.bottom-16;k(Math.min(380,Math.max(120,q)))},[_]),l.useEffect(()=>{var f;_&&((f=h.current)==null||f.focus())},[_]);const G=f=>{p(f??b[0]??null),C(!0)},U=f=>{const $=a?b.indexOf(a):-1,q=Math.min(Math.max($+f,0),b.length-1);p(b[q]??null)},ke=e?T(e):null;return n.jsx(ue.Provider,{value:{value:e,onValueChange:t,disabled:o,open:_,setOpen:C,highlighted:a,setHighlighted:p,listboxId:v,values:b,labelFor:T,triggerRef:d},children:n.jsxs("div",{ref:g,className:I.root,children:[n.jsxs("button",{type:"button",...u,ref:d,disabled:o,className:m(I.trigger,E.spaceControl,"spSelectTrigger",c),"data-animated":s?void 0:"false","data-state":_?"open":"closed","aria-haspopup":"listbox","aria-expanded":_,"aria-controls":v,onClick:()=>_?C(!1):G(e||null),onKeyDown:f=>{(f.key==="ArrowDown"||f.key==="Enter"||f.key===" ")&&(f.preventDefault(),G(e||null))},children:[n.jsxs("span",{className:I.labelWrap,children:[n.jsxs("span",{className:I.sizer,"data-sizer":"","aria-hidden":"true",children:[W.map((f,$)=>n.jsx("span",{children:f},$)),r&&n.jsx("span",{children:r})]}),n.jsx("span",{className:I.triggerLabel,children:ke??r??""})]}),n.jsx("svg",{className:I.chevron,width:"9",height:"9",viewBox:"0 0 9 9","aria-hidden":"true",children:n.jsx("path",{d:"M0.5 3 L4.5 7 L8.5 3",fill:"none",stroke:"currentColor",strokeWidth:"1.2"})})]}),n.jsx("div",{ref:h,id:v,role:"listbox",tabIndex:-1,hidden:!_,"aria-activedescendant":a?de(v,a):void 0,className:m(I.listbox,E.spacePanel),"data-animated":s?void 0:"false",style:w!=null||y!=null?{...w!=null?{"--_select-trigger-width":`${w}px`}:{},...y!=null?{maxHeight:`${y}px`}:{}}:void 0,onKeyDown:f=>{var $,q;f.key==="Escape"?(f.stopPropagation(),C(!1),($=d.current)==null||$.focus()):f.key==="ArrowDown"?(f.preventDefault(),U(1)):f.key==="ArrowUp"?(f.preventDefault(),U(-1)):f.key==="Home"?(f.preventDefault(),p(b[0]??null)):f.key==="End"?(f.preventDefault(),p(b[b.length-1]??null)):f.key==="Enter"||f.key===" "?(f.preventDefault(),a&&(t(a),C(!1),(q=d.current)==null||q.focus())):f.key==="Tab"&&C(!1)},children:i})]})})}function _e({value:e,disabled:t,children:o}){const r=r1(),s=r.value===e,c=r.highlighted===e;return n.jsx("div",{id:de(r.listboxId,e),role:"option","aria-selected":s,"aria-disabled":t||void 0,"data-highlighted":c?"":void 0,className:m(I.item,"spSelectItem"),onMouseEnter:()=>!t&&r.setHighlighted(e),onClick:()=>{var i;t||(r.onValueChange(e),r.setOpen(!1),(i=r.triggerRef.current)==null||i.focus())},children:o})}const i1=Object.assign(c1,{Item:_e}),a1="_root_1lx7y_1",u1="_input_1lx7y_7",d1="_slot_1lx7y_17",J={root:a1,input:u1,slot:d1},_1=l.forwardRef(function({className:t,style:o,animated:r=!0,children:s,...c},i){return n.jsxs("div",{className:m(J.root,E.spaceInput,"spTextFieldRoot",t),"data-animated":r?void 0:"false",style:o,children:[s,n.jsx("input",{...c,ref:i,className:m(J.input,"spTextFieldInput")})]})});function f1({children:e}){return n.jsx("span",{className:J.slot,children:e})}const p1=Object.assign(_1,{Slot:f1}),C1="_root_1qu6w_1",g1="_textarea_1qu6w_6",se={root:C1,textarea:g1},m1=l.forwardRef(function({className:t,style:o,animated:r=!0,...s},c){return n.jsx("div",{className:m(se.root,E.spaceInput,E.spaceTextArea,"spTextFieldRoot",t),"data-animated":r?void 0:"false",style:o,children:n.jsx("textarea",{...s,ref:c,className:m(se.textarea,"spTextAreaInput")})})}),v1="_root_14a1b_1",h1="_track_14a1b_12",x1="_range_14a1b_22",w1="_thumb_14a1b_28",b1="_input_14a1b_38",B={root:v1,track:h1,range:x1,thumb:w1,input:b1},j1=l.forwardRef(function({value:t,onValueChange:o,min:r,max:s,step:c,disabled:i,className:u,"aria-label":_},C){const a=t[0]??r,p=s===r?0:(a-r)/(s-r)*100;return n.jsxs("span",{className:m(B.root,E.spaceSlider,u),"data-disabled":i||void 0,children:[n.jsx("span",{className:m(B.track,"spSliderTrack"),children:n.jsx("span",{className:m(B.range,"spSliderRange"),style:{width:`${p}%`}})}),n.jsx("span",{className:m(B.thumb,"spSliderThumb"),style:{left:`${p}%`}}),n.jsx("input",{ref:C,type:"range",className:m(B.input,"spSliderInput"),value:a,min:r,max:s,step:c,disabled:i,"aria-label":_,onChange:v=>o([Number(v.target.value)])})]})}),y1="_root_1qhel_2",R1="_item_1qhel_8",$1="_selfLabeled_1qhel_15",k1="_input_1qhel_19",q1="_orb_1qhel_35",N={root:y1,item:R1,selfLabeled:$1,input:k1,orb:q1},fe=l.createContext(null);function L1({value:e,onValueChange:t,disabled:o,className:r,children:s}){const c=l.useId();return n.jsx(fe.Provider,{value:{value:e,onValueChange:t,disabled:o,name:c},children:n.jsx("div",{role:"radiogroup",className:m(N.root,r),children:s})})}function I1({value:e,disabled:t,children:o}){const r=l.useContext(fe);if(!r)throw new Error("RadioGroup.Item must be inside a RadioGroup");const s=t||r.disabled,c=n.jsxs(n.Fragment,{children:[n.jsx("input",{type:"radio",className:N.input,name:r.name,value:e,checked:r.value===e,disabled:s,onChange:()=>r.onValueChange(e)}),n.jsx("span",{className:m(N.orb,"spRadioOrb"),"aria-hidden":"true"})]});return o==null?n.jsx("span",{className:N.item,children:c}):n.jsxs("label",{className:m(N.item,N.selfLabeled),children:[c,o]})}const z1=Object.assign(L1,{Item:I1}),M1="_progress_1cre6_16",S1={progress:M1};function D1({value:e,max:t=100,className:o,style:r,...s}){const c=t>0?Math.min(Math.max(e/t*100,0),100):0;return n.jsx("div",{...s,role:"progressbar","aria-valuenow":e,"aria-valuemin":0,"aria-valuemax":t,className:m(S1.progress,o),style:r,children:n.jsx("div",{style:{width:`${c}%`,height:"100%"}})})}const x={width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0};function N1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M3.5 5.00006C3.22386 5.00006 3 5.22392 3 5.50006L3 11.5001C3 11.7762 3.22386 12.0001 3.5 12.0001L11.5 12.0001C11.7761 12.0001 12 11.7762 12 11.5001L12 5.50006C12 5.22392 11.7761 5.00006 11.5 5.00006L10.25 5.00006C9.97386 5.00006 9.75 4.7762 9.75 4.50006C9.75 4.22392 9.97386 4.00006 10.25 4.00006L11.5 4.00006C12.3284 4.00006 13 4.67163 13 5.50006L13 11.5001C13 12.3285 12.3284 13.0001 11.5 13.0001L3.5 13.0001C2.67157 13.0001 2 12.3285 2 11.5001L2 5.50006C2 4.67163 2.67157 4.00006 3.5 4.00006L4.75 4.00006C5.02614 4.00006 5.25 4.22392 5.25 4.50006C5.25 4.7762 5.02614 5.00006 4.75 5.00006L3.5 5.00006ZM7 1.6364L5.5682 3.0682C5.39246 3.24393 5.10754 3.24393 4.9318 3.0682C4.75607 2.89246 4.75607 2.60754 4.9318 2.4318L7.1818 0.181802C7.26619 0.09741 7.38065 0.049999 7.5 0.049999C7.61935 0.049999 7.73381 0.09741 7.8182 0.181802L10.0682 2.4318C10.2439 2.60754 10.2439 2.89246 10.0682 3.0682C9.89246 3.24393 9.60754 3.24393 9.4318 3.0682L8 1.6364L8 8.5C8 8.77614 7.77614 9 7.5 9C7.22386 9 7 8.77614 7 8.5L7 1.6364Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function E1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M12.5 3L2.5 3.00002C1.67157 3.00002 1 3.6716 1 4.50002V9.50003C1 10.3285 1.67157 11 2.5 11H7.50003C7.63264 11 7.75982 11.0527 7.85358 11.1465L10 13.2929V11.5C10 11.2239 10.2239 11 10.5 11H12.5C13.3284 11 14 10.3285 14 9.50003V4.5C14 3.67157 13.3284 3 12.5 3ZM2.49999 2.00002L12.5 2C13.8807 2 15 3.11929 15 4.5V9.50003C15 10.8807 13.8807 12 12.5 12H11V14.5C11 14.7022 10.8782 14.8845 10.6913 14.9619C10.5045 15.0393 10.2894 14.9965 10.1464 14.8536L7.29292 12H2.5C1.11929 12 0 10.8807 0 9.50003V4.50002C0 3.11931 1.11928 2.00003 2.49999 2.00002Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function T1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M8 2.75C8 2.47386 7.77614 2.25 7.5 2.25C7.22386 2.25 7 2.47386 7 2.75V7H2.75C2.47386 7 2.25 7.22386 2.25 7.5C2.25 7.77614 2.47386 8 2.75 8H7V12.25C7 12.5261 7.22386 12.75 7.5 12.75C7.77614 12.75 8 12.5261 8 12.25V8H12.25C12.5261 8 12.75 7.77614 12.75 7.5C12.75 7.22386 12.5261 7 12.25 7H8V2.75Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function H1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M11.8536 1.14645C11.6583 0.951184 11.3417 0.951184 11.1465 1.14645L3.71455 8.57836C3.62459 8.66832 3.55263 8.77461 3.50251 8.89155L2.04044 12.303C1.9599 12.491 2.00189 12.709 2.14646 12.8536C2.29103 12.9981 2.50905 13.0401 2.69697 12.9596L6.10847 11.4975C6.2254 11.4474 6.3317 11.3754 6.42166 11.2855L13.8536 3.85355C14.0488 3.65829 14.0488 3.34171 13.8536 3.14645L11.8536 1.14645ZM4.42166 9.28547L11.5 2.20711L12.7929 3.5L5.71455 10.5784L4.21924 11.2192L3.78081 10.7808L4.42166 9.28547Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function V1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.25769 1.35248 6.86058 1.92336 7.50002 2.93545C8.13946 1.92336 8.74235 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function A1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M5.5 2C5.77614 2 6 2.22386 6 2.5V5.5C6 5.77614 5.77614 6 5.5 6H2.5C2.22386 6 2 5.77614 2 5.5C2 5.22386 2.22386 5 2.5 5H5V2.5C5 2.22386 5.22386 2 5.5 2ZM9.5 2C9.77614 2 10 2.22386 10 2.5V5H12.5C12.7761 5 13 5.22386 13 5.5C13 5.77614 12.7761 6 12.5 6H9.5C9.22386 6 9 5.77614 9 5.5V2.5C9 2.22386 9.22386 2 9.5 2ZM2 9.5C2 9.22386 2.22386 9 2.5 9H5.5C5.77614 9 6 9.22386 6 9.5V12.5C6 12.7761 5.77614 13 5.5 13C5.22386 13 5 12.7761 5 12.5V10H2.5C2.22386 10 2 9.77614 2 9.5ZM9 9.5C9 9.22386 9.22386 9 9.5 9H12.5C12.7761 9 13 9.22386 13 9.5C13 9.77614 12.7761 10 12.5 10H10V12.5C10 12.7761 9.77614 13 9.5 13C9.22386 13 9 12.7761 9 12.5V9.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Z1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M2 2.5C2 2.22386 2.22386 2 2.5 2H5.5C5.77614 2 6 2.22386 6 2.5C6 2.77614 5.77614 3 5.5 3H3V5.5C3 5.77614 2.77614 6 2.5 6C2.22386 6 2 5.77614 2 5.5V2.5ZM9 2.5C9 2.22386 9.22386 2 9.5 2H12.5C12.7761 2 13 2.22386 13 2.5V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3H9.5C9.22386 3 9 2.77614 9 2.5ZM2.5 9C2.77614 9 3 9.22386 3 9.5V12H5.5C5.77614 12 6 12.2239 6 12.5C6 12.7761 5.77614 13 5.5 13H2.5C2.22386 13 2 12.7761 2 12.5V9.5C2 9.22386 2.22386 9 2.5 9ZM12.5 9C12.7761 9 13 9.22386 13 9.5V12.5C13 12.7761 12.7761 13 12.5 13H9.5C9.22386 13 9 12.7761 9 12.5C9 12.2239 9.22386 12 9.5 12H12V9.5C12 9.22386 12.2239 9 12.5 9Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function B1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function P1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M5.5 1C5.22386 1 5 1.22386 5 1.5C5 1.77614 5.22386 2 5.5 2H9.5C9.77614 2 10 1.77614 10 1.5C10 1.22386 9.77614 1 9.5 1H5.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H5H10H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H11V12C11 12.5523 10.5523 13 10 13H5C4.44772 13 4 12.5523 4 12V4L3.5 4C3.22386 4 3 3.77614 3 3.5ZM5 4H10V12H5V4Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function O1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M0.877075 7.49972C0.877075 3.84204 3.84222 0.876892 7.49991 0.876892C11.1576 0.876892 14.1227 3.84204 14.1227 7.49972C14.1227 11.1574 11.1576 14.1226 7.49991 14.1226C3.84222 14.1226 0.877075 11.1574 0.877075 7.49972ZM7.49991 1.82689C4.36689 1.82689 1.82708 4.36671 1.82708 7.49972C1.82708 10.6327 4.36689 13.1726 7.49991 13.1726C10.6329 13.1726 13.1727 10.6327 13.1727 7.49972C13.1727 4.36671 10.6329 1.82689 7.49991 1.82689ZM8.24993 10.5C8.24993 10.9142 7.91414 11.25 7.49993 11.25C7.08571 11.25 6.74993 10.9142 6.74993 10.5C6.74993 10.0858 7.08571 9.75 7.49993 9.75C7.91414 9.75 8.24993 10.0858 8.24993 10.5ZM6.05003 6.25C6.05003 5.57211 6.63511 4.925 7.50003 4.925C8.36496 4.925 8.95003 5.57211 8.95003 6.25C8.95003 6.74118 8.68002 6.99212 8.21447 7.27494C8.16251 7.30651 8.10258 7.34131 8.03847 7.37854L8.03841 7.37858C7.85521 7.48497 7.63788 7.61119 7.47449 7.73849C7.23214 7.92732 6.95003 8.23198 6.95003 8.7C6.95004 9.00376 7.19628 9.25 7.50004 9.25C7.8024 9.25 8.04778 9.00601 8.05002 8.70417L8.05056 8.7033C8.05924 8.6896 8.08493 8.65735 8.15058 8.6062C8.25207 8.52712 8.36508 8.46163 8.51567 8.37436L8.51571 8.37433C8.59422 8.32883 8.68296 8.27741 8.78559 8.21506C9.32004 7.89038 10.05 7.35382 10.05 6.25C10.05 4.92789 8.93511 3.825 7.50003 3.825C6.06496 3.825 4.95003 4.92789 4.95003 6.25C4.95003 6.55376 5.19628 6.8 5.50003 6.8C5.80379 6.8 6.05003 6.55376 6.05003 6.25Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function F1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M7.5 0.875C5.49797 0.875 3.875 2.49797 3.875 4.5C3.875 6.15288 4.98124 7.54738 6.49373 7.98351C5.2997 8.12901 4.27557 8.55134 3.50407 9.31167C2.52216 10.2794 2.02502 11.72 2.02502 13.5999C2.02502 13.8623 2.23769 14.0749 2.50002 14.0749C2.76236 14.0749 2.97502 13.8623 2.97502 13.5999C2.97502 11.8799 3.42786 10.7206 4.17091 9.9883C4.91536 9.25463 6.02674 8.87499 7.49995 8.87499C8.97317 8.87499 10.0846 9.25463 10.8291 9.98831C11.5721 10.7206 12.025 11.8799 12.025 13.5999C12.025 13.8623 12.2376 14.0749 12.5 14.0749C12.7623 14.075 12.975 13.8623 12.975 13.6C12.975 11.72 12.4778 10.2794 11.4959 9.31166C10.7244 8.55135 9.70025 8.12903 8.50625 7.98352C10.0187 7.5474 11.125 6.15289 11.125 4.5C11.125 2.49797 9.50203 0.875 7.5 0.875ZM4.825 4.5C4.825 3.02264 6.02264 1.825 7.5 1.825C8.97736 1.825 10.175 3.02264 10.175 4.5C10.175 5.97736 8.97736 7.175 7.5 7.175C6.02264 7.175 4.825 5.97736 4.825 4.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function W1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function G1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function U1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M4.89346 2.35248C3.49195 2.35248 2.35248 3.49359 2.35248 4.90532C2.35248 6.38164 3.20954 7.9168 4.37255 9.33522C5.39396 10.581 6.59464 11.6702 7.50002 12.4778C8.4054 11.6702 9.60608 10.581 10.6275 9.33522C11.7905 7.9168 12.6476 6.38164 12.6476 4.90532C12.6476 3.49359 11.5081 2.35248 10.1066 2.35248C9.27059 2.35248 8.81894 2.64323 8.5397 2.95843C8.27877 3.25295 8.14623 3.58566 8.02501 3.88993C8.00391 3.9429 7.98315 3.99501 7.96211 4.04591C7.88482 4.23294 7.7024 4.35494 7.50002 4.35494C7.29765 4.35494 7.11523 4.23295 7.03793 4.04592C7.01689 3.99501 6.99612 3.94289 6.97502 3.8899C6.8538 3.58564 6.72126 3.25294 6.46034 2.95843C6.18109 2.64323 5.72945 2.35248 4.89346 2.35248ZM1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.0084 1.35248 6.73504 1.76049 7.20884 2.2953C7.32062 2.42147 7.41686 2.55382 7.50002 2.68545C7.58318 2.55382 7.67941 2.42147 7.79119 2.2953C8.265 1.76049 8.99164 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function X1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function K1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Y1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M6.1584 3.13508C5.95694 3.32394 5.94673 3.64036 6.13559 3.84182L9.56499 7.49991L6.13559 11.158C5.94673 11.3595 5.95694 11.6759 6.1584 11.8647C6.35986 12.0536 6.67628 12.0434 6.86514 11.8419L10.6151 7.84182C10.7954 7.64946 10.7954 7.35036 10.6151 7.158L6.86514 3.15801C6.67628 2.95655 6.35986 2.94634 6.1584 3.13508Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Q1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M8.84182 3.13508C9.04328 3.32394 9.05348 3.64036 8.86462 3.84182L5.43523 7.49991L8.86462 11.158C9.05348 11.3595 9.04328 11.6759 8.84182 11.8647C8.64036 12.0536 8.32394 12.0434 8.13508 11.8419L4.38508 7.84182C4.20477 7.64946 4.20477 7.35036 4.38508 7.158L8.13508 3.15801C8.32394 2.95655 8.64036 2.94634 8.84182 3.13508Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function J1(e){return n.jsx("svg",{...x,...e,children:n.jsx("path",{d:"M3 2.5C3 2.22386 3.22386 2 3.5 2H11.5C11.7761 2 12 2.22386 12 2.5V13.5C12 13.6818 11.9014 13.8492 11.7424 13.9373C11.5834 14.0254 11.3891 14.0203 11.235 13.924L7.5 11.5896L3.765 13.924C3.61087 14.0203 3.41659 14.0254 3.25762 13.9373C3.09864 13.8492 3 13.6818 3 13.5V2.5ZM4 3V12.5979L6.97 10.7416C7.29427 10.539 7.70573 10.539 8.03 10.7416L11 12.5979V3H4Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function pe(e){return n.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",...e,children:n.jsx("path",{d:"M11.8 3.2a.6.6 0 0 0-.85 0L7.5 6.65 4.05 3.2a.6.6 0 1 0-.85.85L6.65 7.5 3.2 10.95a.6.6 0 1 0 .85.85L7.5 8.35l3.45 3.45a.6.6 0 0 0 .85-.85L8.35 7.5l3.45-3.45a.6.6 0 0 0 0-.85Z",fill:"currentColor"})})}const eo="_dialog_1qqku_2",to="_inner_1qqku_34",no="_size4_1qqku_39",oo="_title_1qqku_43",so="_closeX_1qqku_51",P={dialog:eo,inner:to,size4:no,title:oo,closeX:so};let Y=0;const Ce=l.createContext(null),F=()=>{const e=l.useContext(Ce);if(!e)throw new Error("Dialog parts must be inside a Dialog");return e};function ge(e){return function({open:o,onOpenChange:r,children:s}){const[c,i]=l.useState(!1),u=o!==void 0,_=u?o:c,C=g=>{u||i(g),r==null||r(g)},a=l.useId(),p=l.useId(),[v,d]=l.useState(!1);return n.jsx(Ce.Provider,{value:{open:_,setOpen:C,titleId:a,descId:p,alert:e,hasDesc:v,setHasDesc:d},children:s})}}const ro=ge(!1),me=(e,t)=>{if(!l.isValidElement(e))return e;const o=e;return l.cloneElement(o,{onClick:r=>{var s,c;(c=(s=o.props).onClick)==null||c.call(s,r),t()}})};function ve({children:e}){const t=F();return n.jsx(n.Fragment,{children:me(e,()=>t.setOpen(!0))})}function ee({children:e}){const t=F();return n.jsx(n.Fragment,{children:me(e,()=>t.setOpen(!1))})}function he({size:e="3",maxWidth:t,className:o,style:r,children:s,...c}){const i=F(),u=l.useRef(null),_=l.useRef(!1),C=l.useRef(!1);return l.useEffect(()=>{const a=u.current;a&&(i.open&&!a.open?a.showModal():!i.open&&a.open&&a.close())},[i.open]),l.useEffect(()=>{if(i.open)return Y+=1,Y===1&&(document.body.style.overflow="hidden"),()=>{Y-=1,Y===0&&(document.body.style.overflow="")}},[i.open]),n.jsx("dialog",{...c,ref:u,role:i.alert?"alertdialog":void 0,"aria-labelledby":i.titleId,"aria-describedby":i.hasDesc?i.descId:void 0,className:m(P.dialog,"spDialog",e==="4"&&P.size4,o),style:{...t?{maxWidth:t}:null,...r},onKeyDownCapture:a=>{var p,v;a.key==="Escape"&&((p=u.current)!=null&&p.querySelector("dialog[open]")||(v=u.current)!=null&&v.querySelector('[role="listbox"]:not([hidden])')&&(_.current=!0))},onCancel:a=>{if(a.preventDefault(),_.current){_.current=!1;return}i.setOpen(!1)},onClose:()=>{i.open&&i.setOpen(!1)},onPointerDown:a=>{C.current=a.target===u.current},onClick:a=>{!i.alert&&a.target===u.current&&C.current&&i.setOpen(!1)},children:n.jsxs("div",{className:P.inner,children:[!i.alert&&n.jsx("button",{type:"button",className:P.closeX,"aria-label":"Close",onClick:()=>i.setOpen(!1),children:n.jsx(pe,{width:16,height:16})}),s]})})}function xe({className:e,...t}){const o=F();return n.jsx(ce,{as:"h2",size:"5",...t,id:o.titleId,className:m(P.title,e)})}function we(e){const t=F(),{setHasDesc:o}=t;return l.useLayoutEffect(()=>(o(!0),()=>o(!1)),[o]),n.jsx(le,{as:"p",...e,id:t.descId})}const lo=Object.assign(ro,{Trigger:ve,Close:ee,Content:he,Title:xe,Description:we}),co=ee,io=ee,ao=Object.assign(ge(!0),{Trigger:ve,Content:he,Title:xe,Description:we,Cancel:co,Action:io}),uo="_menu_1hwyv_1",_o="_label_1hwyv_16",fo="_item_1hwyv_26",po="_danger_1hwyv_45",Co="_separator_1hwyv_49",O={menu:uo,label:_o,item:fo,danger:po,separator:Co},be=l.createContext(null),go=()=>{const e=l.useContext(be);if(!e)throw new Error("DropdownMenu parts must be inside a DropdownMenu");return e},je=l.createContext(null),mo=()=>{const e=l.useContext(je);if(!e)throw new Error("DropdownMenu parts must be inside a DropdownMenu");return e};function vo(e){return e.current?(e.current=!1,!0):!1}function re(e){e.current=!0}function ho({label:e,align:t="start",children:o,...r}){const[s,c]=l.useState(!1),i=l.useId(),u=l.useRef(null),_=l.useRef(null),C=l.useRef(!1),a=l.useRef(!1),[p,v]=l.useState(null);return l.useLayoutEffect(()=>{var g;const d=_.current;if(d)if(s){const h=u.current;if(h){const w=h.getBoundingClientRect(),j=t==="end"?"auto":w.left,y=t==="end"?window.innerWidth-w.right:"auto";v({top:w.bottom+6,left:j,right:y})}d.showPopover(),(g=d.querySelector('[role="menuitem"]'))==null||g.focus()}else d.matches(":popover-open")&&d.hidePopover()},[s,t]),l.useEffect(()=>{if(!s)return;const d=()=>c(!1);return window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[s]),n.jsx(be.Provider,{value:{open:s,setOpen:c,menuId:i},children:n.jsxs(je.Provider,{value:a,children:[n.jsx(ie,{...r,ref:u,"aria-haspopup":"menu","aria-expanded":s,"aria-controls":i,onClick:d=>{var g;(g=r.onClick)==null||g.call(r,d),!vo(C)&&c(!s)},children:e}),n.jsx("div",{ref:_,id:i,role:"menu",popover:"auto",className:O.menu,style:p?{top:p.top,left:p.left==="auto"?"auto":p.left,right:p.right==="auto"?"auto":p.right}:void 0,onToggle:d=>{if(d.nativeEvent.newState==="closed"){const g=a.current;a.current=!1,g||(C.current=!0,setTimeout(()=>{C.current=!1},300)),s&&c(!1)}},onKeyDown:d=>{var w,j,y,k,R,b;const g=Array.from(((w=_.current)==null?void 0:w.querySelectorAll('[role="menuitem"]'))??[]),h=g.indexOf(document.activeElement);d.key==="ArrowDown"?(d.preventDefault(),(j=g[Math.min(h+1,g.length-1)])==null||j.focus()):d.key==="ArrowUp"?(d.preventDefault(),(y=g[Math.max(h-1,0)])==null||y.focus()):d.key==="Home"?(d.preventDefault(),(k=g[0])==null||k.focus()):d.key==="End"?(d.preventDefault(),(R=g[g.length-1])==null||R.focus()):d.key==="Escape"&&(c(!1),(b=u.current)==null||b.focus())},children:o})]})})}function xo({children:e}){return n.jsx("div",{className:O.label,children:e})}function wo({asChild:e,color:t,onSelect:o,children:r}){const s=go(),c=mo(),i=m(O.item,t==="danger"&&O.danger),u=()=>{re(c),s.setOpen(!1),o==null||o()};if(e&&l.isValidElement(r)){const _=r,{className:C,onClick:a,children:p,role:v,tabIndex:d,...g}=_.props,h=_.ref;return l.createElement(_.type,{key:_.key,ref:h,role:"menuitem",tabIndex:-1,...g,className:m(i,C),onClick:w=>{a==null||a(w),re(c),s.setOpen(!1)}},p)}return n.jsx("button",{type:"button",role:"menuitem",tabIndex:-1,className:i,onClick:u,children:r})}function bo(){return n.jsx("div",{role:"separator",className:O.separator})}const jo=Object.assign(ho,{Item:wo,Separator:bo,Label:xo}),yo="_list_1hc3r_19",Ro="_trigger_1hc3r_28",ye={list:yo,trigger:Ro},Re=l.createContext(null),$e=()=>{const e=l.useContext(Re);if(!e)throw new Error("Tabs parts must be inside a Tabs");return e};function $o({value:e,onValueChange:t,className:o,children:r}){const s=l.useId();return n.jsx(Re.Provider,{value:{value:e,onValueChange:t,id:s},children:n.jsx("div",{className:o,children:r})})}function ko({children:e}){return n.jsx("div",{role:"tablist",className:m(ye.list,"spTabsList"),onKeyDown:t=>{const o=Array.from(t.currentTarget.querySelectorAll('[role="tab"]')),r=o.indexOf(document.activeElement);if(r!==-1){if(t.key==="ArrowRight"){t.preventDefault();const s=o[(r+1)%o.length];s.focus(),s.click()}else if(t.key==="ArrowLeft"){t.preventDefault();const s=o[(r-1+o.length)%o.length];s.focus(),s.click()}else if(t.key==="Home"){t.preventDefault();const s=o[0];s.focus(),s.click()}else if(t.key==="End"){t.preventDefault();const s=o[o.length-1];s.focus(),s.click()}}},children:e})}function qo({value:e,className:t,children:o,...r}){const s=$e(),c=s.value===e;return n.jsx("button",{...r,type:"button",role:"tab",id:`${s.id}-tab-${e}`,"aria-selected":c,"aria-controls":`${s.id}-panel-${e}`,tabIndex:c?0:-1,"data-state":c?"active":"inactive",className:m(ye.trigger,"spTabsTrigger",t),onClick:()=>s.onValueChange(e),children:o})}function Lo({value:e,children:t}){const o=$e();return o.value!==e?null:n.jsx("div",{role:"tabpanel",id:`${o.id}-panel-${e}`,"aria-labelledby":`${o.id}-tab-${e}`,children:t})}const Io=Object.assign($o,{List:ko,Trigger:qo,Content:Lo});exports.AlertDialog=ao;exports.Badge=tn;exports.BookmarkIcon=J1;exports.Box=jt;exports.Button=ie;exports.Card=cn;exports.ChatBubbleIcon=E1;exports.CheckIcon=B1;exports.ChevronDownIcon=K1;exports.ChevronLeftIcon=Q1;exports.ChevronRightIcon=Y1;exports.ChevronUpIcon=X1;exports.Dialog=lo;exports.DropdownMenu=jo;exports.EnterFullScreenIcon=Z1;exports.ExitFullScreenIcon=A1;exports.Flex=bt;exports.Grid=Ht;exports.Heading=ce;exports.HeartFilledIcon=V1;exports.HeartIcon=U1;exports.IconToggle=On;exports.Link=tt;exports.Loader=Nn;exports.MagnifyingGlassIcon=G1;exports.MinusIcon=W1;exports.Pencil1Icon=H1;exports.PersonIcon=F1;exports.PlusIcon=T1;exports.Progress=D1;exports.QuestionMarkCircledIcon=O1;exports.RadioGroup=z1;exports.ScrollArea=dn;exports.Select=i1;exports.Separator=sn;exports.Share2Icon=N1;exports.Slider=j1;exports.Tabs=Io;exports.Text=le;exports.TextArea=m1;exports.TextField=p1;exports.Tooltip=ae;exports.TrashIcon=P1;exports.XIcon=pe;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),t=require("react/jsx-runtime"),K={0:"0",1:"var(--spacing-xs)",2:"var(--spacing-sm)",3:"var(--spacing-md)",4:"var(--spacing-md)",5:"var(--spacing-lg)",6:"var(--spacing-xl)"};function Z({m:e,mt:n,mb:s,p:o,pb:r},c){const a={...e!==void 0&&{margin:K[e]},...n!==void 0&&{marginTop:K[n]},...s!==void 0&&{marginBottom:K[s]},...o!==void 0&&{padding:K[o]},...r!==void 0&&{paddingBottom:K[r]},...c};return Object.keys(a).length>0?a:void 0}function v(...e){return e.filter(Boolean).join(" ")}const Ae="_text_4vcq4_1",Be="_size1_4vcq4_5",Fe="_size2_4vcq4_11",We="_size3_4vcq4_16",Pe="_size4_4vcq4_21",Ge="_size5_4vcq4_27",Ue="_size6_4vcq4_33",Ke="_medium_4vcq4_39",Xe="_bold_4vcq4_43",Ye="_colorMuted_4vcq4_47",Qe="_colorDanger_4vcq4_51",Je="_colorSuccess_4vcq4_55",et="_colorWarning_4vcq4_59",se={text:Ae,size1:Be,size2:Fe,size3:We,size4:Pe,size5:Ge,size6:Ue,medium:Ke,bold:Xe,colorMuted:Ye,colorDanger:Qe,colorSuccess:Je,colorWarning:et},me=l.forwardRef(function({as:n="span",size:s,weight:o,color:r,className:c,style:a,m:u,mt:f,mb:m,p:i,pb:p,...x},C){return l.createElement(n,{...x,ref:C,className:v(se.text,s&&se[`size${s}`],o&&se[o],r&&se[`color${r[0].toUpperCase()}${r.slice(1)}`],c),style:Z({m:u,mt:f,mb:m,p:i,pb:p},a)})}),tt="_heading_vs4zk_1",nt="_size4_vs4zk_7",st="_size5_vs4zk_13",ot="_size6_vs4zk_19",rt="_size7_vs4zk_25",lt="_size8_vs4zk_31",ct="_size9_vs4zk_37",at="_colorMuted_vs4zk_43",it="_colorDanger_vs4zk_47",ut="_alignCenter_vs4zk_51",X={heading:tt,size4:nt,size5:st,size6:ot,size7:rt,size8:lt,size9:ct,colorMuted:at,colorDanger:it,alignCenter:ut},he=l.forwardRef(function({as:n="h2",size:s,color:o,align:r,className:c,style:a,m:u,mt:f,mb:m,p:i,pb:p,...x},C){return l.createElement(n,{...x,ref:C,className:v(X.heading,s&&X[`size${s}`],o==="muted"&&X.colorMuted,o==="danger"&&X.colorDanger,r==="center"&&X.alignCenter,c),style:Z({m:u,mt:f,mb:m,p:i,pb:p},a)})}),dt="_link_1qa7j_1",ft="_size1_1qa7j_10",_t="_size2_1qa7j_16",Ct="_size3_1qa7j_21",_e={link:dt,size1:ft,size2:_t,size3:Ct},pt=l.forwardRef(function({asChild:n,size:s,className:o,style:r,m:c,mt:a,mb:u,p:f,pb:m,children:i,...p},x){const C=v(_e.link,s&&_e[`size${s}`],o),g=Z({m:c,mt:a,mb:u,p:f,pb:m},r);if(n&&l.isValidElement(i)){const w=i;return l.cloneElement(w,{...p,className:v(C,w.props.className),style:{...g,...w.props.style}})}return t.jsx("a",{...p,ref:x,className:C,style:g,children:i})}),gt="_flex_v4ziu_1",mt="_gap1_v4ziu_5",ht="_gap2_v4ziu_9",vt="_gap3_v4ziu_13",xt="_gap4_v4ziu_17",wt="_gap5_v4ziu_21",bt="_gap6_v4ziu_25",jt="_directionRow_v4ziu_29",yt="_directionColumn_v4ziu_33",kt="_alignStart_v4ziu_37",Rt="_alignCenter_v4ziu_41",Lt="_alignEnd_v4ziu_45",$t="_alignBaseline_v4ziu_49",It="_alignStretch_v4ziu_53",qt="_justifyStart_v4ziu_57",Mt="_justifyCenter_v4ziu_61",zt="_justifyEnd_v4ziu_65",Nt="_justifyBetween_v4ziu_69",Dt="_wrapWrap_v4ziu_73",Et="_wrapNowrap_v4ziu_77",F={flex:gt,gap1:mt,gap2:ht,gap3:vt,gap4:xt,gap5:wt,gap6:bt,directionRow:jt,directionColumn:yt,alignStart:kt,alignCenter:Rt,alignEnd:Lt,alignBaseline:$t,alignStretch:It,justifyStart:qt,justifyCenter:Mt,justifyEnd:zt,justifyBetween:Nt,wrapWrap:Dt,wrapNowrap:Et},oe=e=>e[0].toUpperCase()+e.slice(1),Ht=l.forwardRef(function({asChild:n,gap:s,direction:o,align:r,justify:c,wrap:a,className:u,style:f,m,mt:i,mb:p,p:x,pb:C,children:g,...w},j){const b=v(F.flex,s&&F[`gap${s}`],o&&F[`direction${oe(o)}`],r&&F[`align${oe(r)}`],c&&F[`justify${oe(c)}`],a&&F[`wrap${oe(a)}`],u),R=Z({m,mt:i,mb:p,p:x,pb:C},f);if(n&&l.isValidElement(g)){const q=g;return l.cloneElement(q,{...w,className:v(b,q.props.className),style:{...R,...q.props.style}})}return t.jsx("div",{...w,ref:j,className:b,style:R,children:g})}),St=l.forwardRef(function({style:n,m:s,mt:o,mb:r,p:c,pb:a,...u},f){return t.jsx("div",{...u,ref:f,style:Z({m:s,mt:o,mb:r,p:c,pb:a},n)})}),Tt="_grid_erpqq_1",Zt="_cols1_erpqq_5",Vt="_cols2_erpqq_9",Ot="_cols3_erpqq_13",At="_smCols2_erpqq_18",Bt="_smCols3_erpqq_21",Ft="_mdCols2_erpqq_26",Wt="_mdCols3_erpqq_29",Pt="_gap1_erpqq_33",Gt="_gap2_erpqq_37",Ut="_gap3_erpqq_41",Kt="_gap4_erpqq_45",Xt="_gap5_erpqq_49",Yt="_gap6_erpqq_53",W={grid:Tt,cols1:Zt,cols2:Vt,cols3:Ot,smCols2:At,smCols3:Bt,mdCols2:Ft,mdCols3:Wt,gap1:Pt,gap2:Gt,gap3:Ut,gap4:Kt,gap5:Xt,gap6:Yt},Qt=l.forwardRef(function({columns:n,gap:s,className:o,style:r,m:c,mt:a,mb:u,p:f,pb:m,...i},p){const x=typeof n=="string"?[W[`cols${n}`]]:n?[n.initial&&W[`cols${n.initial}`],n.sm&&W[`smCols${n.sm}`],n.md&&W[`mdCols${n.md}`]]:[];return t.jsx("div",{...i,ref:p,className:v(W.grid,...x,s&&W[`gap${s}`],o),style:Z({m:c,mt:a,mb:u,p:f,pb:m},r)})}),Jt="_badge_1twqf_2",e1="_size1_1twqf_10",t1="_size2_1twqf_19",n1="_colorMuted_1twqf_28",s1="_colorPrimary_1twqf_33",o1="_colorSuccess_1twqf_38",r1="_colorDanger_1twqf_43",l1="_colorWarning_1twqf_48",c1="_colorCyan_1twqf_53",a1="_colorPurple_1twqf_58",i1="_colorOrange_1twqf_63",u1="_colorAccent_1twqf_68",d1="_colorYellow_1twqf_73",f1="_solid_1twqf_81",_1="_wrap_1twqf_89",Y={badge:Jt,size1:e1,size2:t1,colorMuted:n1,colorPrimary:s1,colorSuccess:o1,colorDanger:r1,colorWarning:l1,colorCyan:c1,colorPurple:a1,colorOrange:i1,colorAccent:u1,colorYellow:d1,solid:f1,wrap:_1},C1=e=>e[0].toUpperCase()+e.slice(1),p1=l.forwardRef(function({color:n="primary",variant:s="soft",size:o="1",wrap:r,className:c,style:a,m:u,mt:f,mb:m,p:i,pb:p,...x},C){return t.jsx("span",{...x,ref:C,className:v(Y.badge,Y[`color${C1(n)}`],s==="solid"&&Y.solid,Y[`size${o}`],r&&Y.wrap,c),style:Z({m:u,mt:f,mb:m,p:i,pb:p},a)})}),g1="_separator_vao01_1",m1="_full_vao01_7",Ce={separator:g1,full:m1},h1=l.forwardRef(function({size:n="4",className:s,...o},r){return t.jsx("span",{...o,ref:r,role:"separator",className:v(Ce.separator,n==="4"&&Ce.full,s)})}),v1="_card_1ooot_2",x1="_image_1ooot_14",w1="_hasImage_1ooot_41",ae={card:v1,image:x1,hasImage:w1},b1=l.forwardRef(function({className:n,style:s,image:o,children:r,m:c,mt:a,mb:u,p:f,pb:m,...i},p){return t.jsxs("div",{...i,ref:p,className:v(ae.card,o!=null&&ae.hasImage,n),style:Z({m:c,mt:a,mb:u,p:f,pb:m},s),children:[o!=null&&t.jsx("div",{className:ae.image,children:o}),r]})}),j1="_spaceButton_kjhqx_14",y1="_rimRotate_kjhqx_1",k1="_glintSweep_kjhqx_1",R1="_iconOnly_kjhqx_97",L1="_lg_kjhqx_104",$1="_sm_kjhqx_110",I1="_micro_kjhqx_122",q1="_stars_kjhqx_136",M1="_fullWidth_kjhqx_141",z1="_ember_kjhqx_147",N1="_label_kjhqx_157",D1="_star_kjhqx_136",E1="_twinkle_kjhqx_1",S={spaceButton:j1,rimRotate:y1,glintSweep:k1,iconOnly:R1,lg:L1,sm:$1,micro:I1,stars:q1,fullWidth:M1,ember:z1,label:N1,star:D1,twinkle:E1};function H1(e){return function(){e|=0,e=e+1831565813|0;let n=Math.imul(e^e>>>15,1|e);return n=n+Math.imul(n^n>>>7,61|n)^n,((n^n>>>14)>>>0)/4294967296}}function S1(e){let n=2166136261;for(let s=0;s<e.length;s++)n^=e.charCodeAt(s),n=Math.imul(n,16777619);return n>>>0}const ve=l.forwardRef(function({iconOnly:n,ember:s,size:o="md",fullWidth:r,animated:c=!0,className:a,children:u,...f},m){const i=l.useId(),p=l.useMemo(()=>{const C=H1(S1(i));return Array.from({length:3},()=>({top:`${12+C()*58}%`,left:`${8+C()*80}%`,animationDelay:`${(C()*3.2).toFixed(2)}s`,animationDuration:`${(2.8+C()*1.8).toFixed(2)}s`}))},[i]),x=[S.spaceButton,n?S.iconOnly:"",s?S.ember:"",o!=="md"?S[o]:"",r?S.fullWidth:"",a??""].filter(Boolean).join(" ");return t.jsxs("button",{ref:m,className:x,"data-animated":c?void 0:"false",...f,children:[o!=="micro"&&t.jsx("span",{className:S.stars,"aria-hidden":!0,children:p.map((C,g)=>t.jsx("i",{className:S.star,style:C},g))}),t.jsx("span",{className:S.label,children:u})]})}),T1="_wrap_dwcut_5",Z1="_sm_dwcut_30",V1="_md_dwcut_36",O1="_lg_dwcut_42",A1="_orbit_dwcut_49",B1="_planet_dwcut_58",F1="_moon_dwcut_73",W1="_label_dwcut_92",P={wrap:T1,sm:Z1,md:V1,lg:O1,orbit:A1,planet:B1,"sp-loader-planet-pulse":"_sp-loader-planet-pulse_dwcut_1",moon:F1,"sp-loader-orbit":"_sp-loader-orbit_dwcut_1",label:W1,"sp-loader-reduced-pulse":"_sp-loader-reduced-pulse_dwcut_1"};function P1({size:e="md",label:n,className:s}){return t.jsxs("div",{className:v(P.wrap,P[e],s),role:"status","aria-live":"polite","aria-label":n??"Loading",children:[t.jsxs("span",{className:P.orbit,children:[t.jsx("span",{className:P.planet}),t.jsx("span",{className:P.moon})]}),n&&t.jsx("span",{className:P.label,children:n})]})}const G1="_content_1bxfq_6",U1={content:G1},K1=350,X1=80,re=8,Q=8;function Y1({triggerRef:e,tooltipId:n,show:s,hide:o,children:r}){const c=r.props;return l.cloneElement(r,{ref:e,"aria-describedby":n,onPointerEnter:a=>{var u;(u=c.onPointerEnter)==null||u.call(c,a),a.pointerType==="mouse"&&s()},onPointerLeave:a=>{var u;(u=c.onPointerLeave)==null||u.call(c,a),o()},onFocus:a=>{var u;(u=c.onFocus)==null||u.call(c,a),s(!0)},onBlur:a=>{var u;(u=c.onBlur)==null||u.call(c,a),o()},onClick:a=>{var u;(u=c.onClick)==null||u.call(c,a),o()}})}function xe({label:e,side:n="bottom",children:s}){const o=l.useId(),[r,c]=l.useState(!1),[a,u]=l.useState(null),f=l.useRef(null),m=l.useRef(null),i=l.useRef(null),p=l.useRef(null),x=()=>{i.current&&(clearTimeout(i.current),i.current=null),p.current&&(clearTimeout(p.current),p.current=null)},C=(w=!1)=>{if(x(),w){c(!0);return}i.current=setTimeout(()=>c(!0),K1)},g=()=>{x(),p.current=setTimeout(()=>c(!1),X1)};return l.useEffect(()=>x,[]),l.useLayoutEffect(()=>{const w=m.current;if(!w)return;if(!r){w.matches(":popover-open")&&w.hidePopover();return}w.matches(":popover-open")||w.showPopover();const j=f.current;if(!j)return;const b=j.getBoundingClientRect(),R=w.offsetWidth,q=w.offsetHeight,M=(_,y,I,H)=>Math.min(Math.max(_+y/2-I/2,Q),Math.max(H-I-Q,Q)),$=(_,y,I,H)=>{const A=y+I<=H-Q;return{fitsNear:_>=Q,fitsFar:A}};if(n==="left"||n==="right"){const _=b.right+re,y=b.left-R-re,{fitsNear:I,fitsFar:H}=$(y,_,R,window.innerWidth),A=n==="right"?H||!I?_:y:I||!H?y:_;u({top:M(b.top,b.height,q,window.innerHeight),left:A});return}const E=b.bottom+re,L=b.top-q-re,{fitsNear:z,fitsFar:V}=$(L,E,q,window.innerHeight);u({top:n==="bottom"?V||!z?E:L:z||!V?L:E,left:M(b.left,b.width,R,window.innerWidth)})},[r,n,e]),!e||!l.isValidElement(s)?t.jsx(t.Fragment,{children:s}):t.jsxs(t.Fragment,{children:[t.jsx(Y1,{triggerRef:f,tooltipId:o,show:C,hide:g,children:s}),t.jsx("div",{ref:m,id:o,popover:"auto",role:"tooltip",className:U1.content,style:a?{top:a.top,left:a.left}:void 0,onToggle:w=>{w.nativeEvent.newState==="closed"&&r&&c(!1)},children:e})]})}const Q1="_group_1tdav_4",J1="_segment_1tdav_15",en="_active_1tdav_35",tn="_vertical_1tdav_46",le={group:Q1,segment:J1,active:en,vertical:tn};function nn({options:e,value:n,onValueChange:s,orientation:o="horizontal",className:r=""}){const c=o==="vertical";return t.jsx("div",{className:`${le.group} ${c?le.vertical:""} ${r}`,role:"group",children:e.map(a=>t.jsx(xe,{label:a.label,side:c?"right":"bottom",children:t.jsx("button",{type:"button",className:`${le.segment} ${a.value===n?le.active:""}`,"aria-label":a.label,"aria-pressed":a.value===n,onClick:()=>{a.value!==n&&s(a.value)},children:a.icon})},a.value))})}const sn="_root_1bvtq_2",on="_trigger_1bvtq_7",rn="_labelWrap_1bvtq_30",ln="_sizer_1bvtq_8",cn="_triggerLabel_1bvtq_70",an="_chevron_1bvtq_77",un="_listbox_1bvtq_82",dn="_item_1bvtq_110",T={root:sn,trigger:on,labelWrap:rn,sizer:ln,triggerLabel:cn,chevron:an,listbox:un,item:dn},fn="_spaceControl_4ou97_17",_n="_spaceSlider_4ou97_74",Cn="_spacePanel_4ou97_111",pn="_spaceInput_4ou97_34",gn="_spaceTextArea_4ou97_226",mn={spaceControl:fn,spaceSlider:_n,spacePanel:Cn,spaceInput:pn,spaceTextArea:gn},O=mn,we=l.createContext(null),hn=()=>{const e=l.useContext(we);if(!e)throw new Error("Select.Item must be inside a Select");return e},be=(e,n)=>`${e}-${encodeURIComponent(n)}`;function vn(e){const n=[],s=o=>{l.Children.forEach(o,r=>{if(!l.isValidElement(r))return;const c=r.props;r.type===je&&typeof c.value=="string"?n.push({value:c.value,label:c.children,disabled:c.disabled}):c.children&&s(c.children)})};return s(e),n}function xn({value:e,onValueChange:n,disabled:s,placeholder:o,animated:r=!0,className:c,children:a,...u}){const[f,m]=l.useState(!1),[i,p]=l.useState(null),x=l.useId(),C=l.useRef(null),g=l.useRef(null),w=l.useRef(null),[j,b]=l.useState(null),[R,q]=l.useState(null),M=l.useMemo(()=>vn(a),[a]),$=l.useMemo(()=>M.filter(_=>!_.disabled).map(_=>_.value),[M]),E=l.useMemo(()=>M.map(_=>_.label),[M]),L=l.useCallback(_=>{var y;return((y=M.find(I=>I.value===_))==null?void 0:y.label)??null},[M]);l.useEffect(()=>{if(!f)return;const _=y=>{g.current&&!g.current.contains(y.target)&&m(!1)};return document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[f]),l.useLayoutEffect(()=>{if(!f)return;const _=C.current;if(!_)return;const y=_.getBoundingClientRect();b(_.offsetWidth);const I=window.innerHeight-y.bottom-16;q(Math.min(380,Math.max(120,I)))},[f]),l.useEffect(()=>{var _;f&&((_=w.current)==null||_.focus())},[f]);const z=_=>{p(_??$[0]??null),m(!0)},V=_=>{const y=i?$.indexOf(i):-1,I=Math.min(Math.max(y+_,0),$.length-1);p($[I]??null)},N=e?L(e):null;return t.jsx(we.Provider,{value:{value:e,onValueChange:n,disabled:s,open:f,setOpen:m,highlighted:i,setHighlighted:p,listboxId:x,values:$,labelFor:L,triggerRef:C},children:t.jsxs("div",{ref:g,className:T.root,children:[t.jsxs("button",{type:"button",...u,ref:C,disabled:s,className:v(T.trigger,O.spaceControl,"spSelectTrigger",c),"data-animated":r?void 0:"false","data-state":f?"open":"closed","aria-haspopup":"listbox","aria-expanded":f,"aria-controls":x,onClick:()=>f?m(!1):z(e||null),onKeyDown:_=>{(_.key==="ArrowDown"||_.key==="Enter"||_.key===" ")&&(_.preventDefault(),z(e||null))},children:[t.jsxs("span",{className:T.labelWrap,children:[t.jsxs("span",{className:T.sizer,"data-sizer":"","aria-hidden":"true",children:[E.map((_,y)=>t.jsx("span",{children:_},y)),o&&t.jsx("span",{children:o})]}),t.jsx("span",{className:T.triggerLabel,children:N??o??""})]}),t.jsx("svg",{className:T.chevron,width:"9",height:"9",viewBox:"0 0 9 9","aria-hidden":"true",children:t.jsx("path",{d:"M0.5 3 L4.5 7 L8.5 3",fill:"none",stroke:"currentColor",strokeWidth:"1.2"})})]}),t.jsx("div",{ref:w,id:x,role:"listbox",tabIndex:-1,hidden:!f,"aria-activedescendant":i?be(x,i):void 0,className:v(T.listbox,O.spacePanel),"data-animated":r?void 0:"false",style:j!=null||R!=null?{...j!=null?{"--_select-trigger-width":`${j}px`}:{},...R!=null?{maxHeight:`${R}px`}:{}}:void 0,onKeyDown:_=>{var y,I;_.key==="Escape"?(_.stopPropagation(),m(!1),(y=C.current)==null||y.focus()):_.key==="ArrowDown"?(_.preventDefault(),V(1)):_.key==="ArrowUp"?(_.preventDefault(),V(-1)):_.key==="Home"?(_.preventDefault(),p($[0]??null)):_.key==="End"?(_.preventDefault(),p($[$.length-1]??null)):_.key==="Enter"||_.key===" "?(_.preventDefault(),i&&(n(i),m(!1),(I=C.current)==null||I.focus())):_.key==="Tab"&&m(!1)},children:a})]})})}function je({value:e,disabled:n,children:s}){const o=hn(),r=o.value===e,c=o.highlighted===e;return t.jsx("div",{id:be(o.listboxId,e),role:"option","aria-selected":r,"aria-disabled":n||void 0,"data-highlighted":c?"":void 0,className:v(T.item,"spSelectItem"),onMouseEnter:()=>!n&&o.setHighlighted(e),onClick:()=>{var a;n||(o.onValueChange(e),o.setOpen(!1),(a=o.triggerRef.current)==null||a.focus())},children:s})}const wn=Object.assign(xn,{Item:je}),bn="_root_1lx7y_1",jn="_input_1lx7y_7",yn="_slot_1lx7y_17",ie={root:bn,input:jn,slot:yn},kn=l.forwardRef(function({className:n,style:s,animated:o=!0,children:r,...c},a){return t.jsxs("div",{className:v(ie.root,O.spaceInput,"spTextFieldRoot",n),"data-animated":o?void 0:"false",style:s,children:[r,t.jsx("input",{...c,ref:a,className:v(ie.input,"spTextFieldInput")})]})});function Rn({children:e}){return t.jsx("span",{className:ie.slot,children:e})}const ue=Object.assign(kn,{Slot:Rn}),Ln="_root_1qu6w_1",$n="_textarea_1qu6w_6",pe={root:Ln,textarea:$n},In=l.forwardRef(function({className:n,style:s,animated:o=!0,...r},c){return t.jsx("div",{className:v(pe.root,O.spaceInput,O.spaceTextArea,"spTextFieldRoot",n),"data-animated":o?void 0:"false",style:s,children:t.jsx("textarea",{...r,ref:c,className:v(pe.textarea,"spTextAreaInput")})})}),qn="_wrap_1pkwo_12",Mn="_field_1pkwo_16",zn="_panel_1pkwo_22",Nn="_status_1pkwo_34",Dn="_list_1pkwo_44",En="_option_1pkwo_57",Hn="_active_1pkwo_69",Sn="_label_1pkwo_79",Tn="_meta_1pkwo_86",Zn="_footer_1pkwo_92",D={wrap:qn,field:Mn,panel:zn,status:Nn,list:Dn,option:En,active:Hn,label:Sn,meta:Tn,footer:Zn};function Vn({value:e,onValueChange:n,options:s,onSelect:o,icon:r,caseSensitive:c=!1,preFiltered:a=!1,loading:u=!1,loadingMessage:f="Loading…",emptyMessage:m,footer:i,animated:p=!0,className:x,style:C,...g}){const[w,j]=l.useState(!1),[b,R]=l.useState(0),q=l.useRef(null),M=l.useRef(null),$=l.useId(),E=d=>typeof d.label=="string"?d.label:d.search??d.value,L=l.useMemo(()=>{if(a)return s;const d=c?e:e.toLowerCase();return d===""?s:s.filter(h=>(c?E(h):E(h).toLowerCase()).includes(d))},[s,e,c,a]),z=l.useMemo(()=>L.filter(d=>!d.disabled),[L]),V=L.length>0||u||m!=null,N=w&&V;l.useEffect(()=>R(0),[L]),l.useEffect(()=>{var h;if(!N)return;const d=(h=M.current)==null?void 0:h.querySelector(`[data-index="${b}"]`);d==null||d.scrollIntoView({block:"nearest"})},[b,N]);const _=l.useCallback(()=>j(!1),[]);l.useEffect(()=>{if(!N)return;const d=h=>{const B=q.current;B&&h.target instanceof Node&&!B.contains(h.target)&&_()};return document.addEventListener("pointerdown",d),()=>document.removeEventListener("pointerdown",d)},[N,_]);const y=d=>{d.disabled||(o(d.value,d),j(!1))},I=d=>{if(z.length===0)return;const h=L[b],Oe=((h&&!h.disabled?z.indexOf(h):-1)+d+z.length)%z.length,fe=z[Oe];fe&&R(L.indexOf(fe))},H=d=>{if(d.key==="Escape"){N&&d.stopPropagation(),j(!1);return}if(d.key==="Tab"){j(!1);return}if(!N){d.key==="ArrowDown"&&j(!0);return}if(d.key==="ArrowDown")d.preventDefault(),I(1);else if(d.key==="ArrowUp")d.preventDefault(),I(-1);else if(d.key==="Home"){d.preventDefault();const h=z[0];h&&R(L.indexOf(h))}else if(d.key==="End"){d.preventDefault();const h=z[z.length-1];h&&R(L.indexOf(h))}else if(d.key==="Enter"){const h=L[b];h&&!h.disabled&&(d.preventDefault(),y(h))}},A=N?L[b]:void 0;return t.jsxs("div",{ref:q,className:v(D.wrap,x),style:C,children:[t.jsx(ue,{...g,type:g.type??"text",role:"combobox",animated:p,className:D.field,autoComplete:"off","aria-expanded":N,"aria-controls":$,"aria-autocomplete":"list","aria-activedescendant":A&&!A.disabled?`${$}-${b}`:void 0,value:e,onFocus:d=>{var h;(h=g.onFocus)==null||h.call(g,d),j(!0)},onClick:d=>{var h;(h=g.onClick)==null||h.call(g,d),j(!0)},onKeyDown:d=>{var h;(h=g.onKeyDown)==null||h.call(g,d),H(d)},onChange:d=>{n(d.target.value),j(!0)},children:r!=null&&t.jsx(ue.Slot,{children:r})}),t.jsxs("div",{className:v(D.panel,O.spacePanel),hidden:!N,"data-animated":p?void 0:"false",children:[u&&t.jsx("p",{className:D.status,children:f}),!u&&L.length===0&&m!=null&&t.jsx("p",{className:D.status,children:m}),t.jsx("ul",{ref:M,id:$,role:"listbox",className:D.list,hidden:u||L.length===0,children:L.map((d,h)=>t.jsxs("li",{id:`${$}-${h}`,"data-index":h,role:"option","aria-selected":h===b,"aria-disabled":d.disabled||void 0,className:v(D.option,h===b&&!d.disabled&&D.active,"spAutocompleteOption"),onMouseEnter:()=>!d.disabled&&R(h),onPointerDown:B=>{B.preventDefault(),y(d)},children:[t.jsx("span",{className:D.label,children:d.label}),d.meta!=null&&t.jsx("span",{className:D.meta,children:d.meta})]},d.value))}),i!=null&&t.jsx("div",{className:D.footer,children:i})]})]})}const On="_root_14a1b_1",An="_track_14a1b_12",Bn="_range_14a1b_22",Fn="_thumb_14a1b_28",Wn="_input_14a1b_38",J={root:On,track:An,range:Bn,thumb:Fn,input:Wn},Pn=l.forwardRef(function({value:n,onValueChange:s,min:o,max:r,step:c,disabled:a,className:u,"aria-label":f},m){const i=n[0]??o,p=r===o?0:(i-o)/(r-o)*100;return t.jsxs("span",{className:v(J.root,O.spaceSlider,u),"data-disabled":a||void 0,children:[t.jsx("span",{className:v(J.track,"spSliderTrack"),children:t.jsx("span",{className:v(J.range,"spSliderRange"),style:{width:`${p}%`}})}),t.jsx("span",{className:v(J.thumb,"spSliderThumb"),style:{left:`${p}%`}}),t.jsx("input",{ref:m,type:"range",className:v(J.input,"spSliderInput"),value:i,min:o,max:r,step:c,disabled:a,"aria-label":f,onChange:x=>s([Number(x.target.value)])})]})}),Gn="_root_1qhel_2",Un="_item_1qhel_8",Kn="_selfLabeled_1qhel_15",Xn="_input_1qhel_19",Yn="_orb_1qhel_35",U={root:Gn,item:Un,selfLabeled:Kn,input:Xn,orb:Yn},ye=l.createContext(null);function Qn({value:e,onValueChange:n,disabled:s,className:o,children:r}){const c=l.useId();return t.jsx(ye.Provider,{value:{value:e,onValueChange:n,disabled:s,name:c},children:t.jsx("div",{role:"radiogroup",className:v(U.root,o),children:r})})}function Jn({value:e,disabled:n,children:s}){const o=l.useContext(ye);if(!o)throw new Error("RadioGroup.Item must be inside a RadioGroup");const r=n||o.disabled,c=t.jsxs(t.Fragment,{children:[t.jsx("input",{type:"radio",className:U.input,name:o.name,value:e,checked:o.value===e,disabled:r,onChange:()=>o.onValueChange(e)}),t.jsx("span",{className:v(U.orb,"spRadioOrb"),"aria-hidden":"true"})]});return s==null?t.jsx("span",{className:U.item,children:c}):t.jsxs("label",{className:v(U.item,U.selfLabeled),children:[c,s]})}const es=Object.assign(Qn,{Item:Jn}),ts="_progress_1cre6_16",ns={progress:ts};function ss({value:e,max:n=100,className:s,style:o,...r}){const c=n>0?Math.min(Math.max(e/n*100,0),100):0;return t.jsx("div",{...r,role:"progressbar","aria-valuenow":e,"aria-valuemin":0,"aria-valuemax":n,className:v(ns.progress,s),style:o,children:t.jsx("div",{style:{width:`${c}%`,height:"100%"}})})}const k={width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0};function os(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M3.5 5.00006C3.22386 5.00006 3 5.22392 3 5.50006L3 11.5001C3 11.7762 3.22386 12.0001 3.5 12.0001L11.5 12.0001C11.7761 12.0001 12 11.7762 12 11.5001L12 5.50006C12 5.22392 11.7761 5.00006 11.5 5.00006L10.25 5.00006C9.97386 5.00006 9.75 4.7762 9.75 4.50006C9.75 4.22392 9.97386 4.00006 10.25 4.00006L11.5 4.00006C12.3284 4.00006 13 4.67163 13 5.50006L13 11.5001C13 12.3285 12.3284 13.0001 11.5 13.0001L3.5 13.0001C2.67157 13.0001 2 12.3285 2 11.5001L2 5.50006C2 4.67163 2.67157 4.00006 3.5 4.00006L4.75 4.00006C5.02614 4.00006 5.25 4.22392 5.25 4.50006C5.25 4.7762 5.02614 5.00006 4.75 5.00006L3.5 5.00006ZM7 1.6364L5.5682 3.0682C5.39246 3.24393 5.10754 3.24393 4.9318 3.0682C4.75607 2.89246 4.75607 2.60754 4.9318 2.4318L7.1818 0.181802C7.26619 0.09741 7.38065 0.049999 7.5 0.049999C7.61935 0.049999 7.73381 0.09741 7.8182 0.181802L10.0682 2.4318C10.2439 2.60754 10.2439 2.89246 10.0682 3.0682C9.89246 3.24393 9.60754 3.24393 9.4318 3.0682L8 1.6364L8 8.5C8 8.77614 7.77614 9 7.5 9C7.22386 9 7 8.77614 7 8.5L7 1.6364Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function rs(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M12.5 3L2.5 3.00002C1.67157 3.00002 1 3.6716 1 4.50002V9.50003C1 10.3285 1.67157 11 2.5 11H7.50003C7.63264 11 7.75982 11.0527 7.85358 11.1465L10 13.2929V11.5C10 11.2239 10.2239 11 10.5 11H12.5C13.3284 11 14 10.3285 14 9.50003V4.5C14 3.67157 13.3284 3 12.5 3ZM2.49999 2.00002L12.5 2C13.8807 2 15 3.11929 15 4.5V9.50003C15 10.8807 13.8807 12 12.5 12H11V14.5C11 14.7022 10.8782 14.8845 10.6913 14.9619C10.5045 15.0393 10.2894 14.9965 10.1464 14.8536L7.29292 12H2.5C1.11929 12 0 10.8807 0 9.50003V4.50002C0 3.11931 1.11928 2.00003 2.49999 2.00002Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ls(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M8 2.75C8 2.47386 7.77614 2.25 7.5 2.25C7.22386 2.25 7 2.47386 7 2.75V7H2.75C2.47386 7 2.25 7.22386 2.25 7.5C2.25 7.77614 2.47386 8 2.75 8H7V12.25C7 12.5261 7.22386 12.75 7.5 12.75C7.77614 12.75 8 12.5261 8 12.25V8H12.25C12.5261 8 12.75 7.77614 12.75 7.5C12.75 7.22386 12.5261 7 12.25 7H8V2.75Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function cs(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M11.8536 1.14645C11.6583 0.951184 11.3417 0.951184 11.1465 1.14645L3.71455 8.57836C3.62459 8.66832 3.55263 8.77461 3.50251 8.89155L2.04044 12.303C1.9599 12.491 2.00189 12.709 2.14646 12.8536C2.29103 12.9981 2.50905 13.0401 2.69697 12.9596L6.10847 11.4975C6.2254 11.4474 6.3317 11.3754 6.42166 11.2855L13.8536 3.85355C14.0488 3.65829 14.0488 3.34171 13.8536 3.14645L11.8536 1.14645ZM4.42166 9.28547L11.5 2.20711L12.7929 3.5L5.71455 10.5784L4.21924 11.2192L3.78081 10.7808L4.42166 9.28547Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function as(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.25769 1.35248 6.86058 1.92336 7.50002 2.93545C8.13946 1.92336 8.74235 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function is(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M5.5 2C5.77614 2 6 2.22386 6 2.5V5.5C6 5.77614 5.77614 6 5.5 6H2.5C2.22386 6 2 5.77614 2 5.5C2 5.22386 2.22386 5 2.5 5H5V2.5C5 2.22386 5.22386 2 5.5 2ZM9.5 2C9.77614 2 10 2.22386 10 2.5V5H12.5C12.7761 5 13 5.22386 13 5.5C13 5.77614 12.7761 6 12.5 6H9.5C9.22386 6 9 5.77614 9 5.5V2.5C9 2.22386 9.22386 2 9.5 2ZM2 9.5C2 9.22386 2.22386 9 2.5 9H5.5C5.77614 9 6 9.22386 6 9.5V12.5C6 12.7761 5.77614 13 5.5 13C5.22386 13 5 12.7761 5 12.5V10H2.5C2.22386 10 2 9.77614 2 9.5ZM9 9.5C9 9.22386 9.22386 9 9.5 9H12.5C12.7761 9 13 9.22386 13 9.5C13 9.77614 12.7761 10 12.5 10H10V12.5C10 12.7761 9.77614 13 9.5 13C9.22386 13 9 12.7761 9 12.5V9.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function us(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M2 2.5C2 2.22386 2.22386 2 2.5 2H5.5C5.77614 2 6 2.22386 6 2.5C6 2.77614 5.77614 3 5.5 3H3V5.5C3 5.77614 2.77614 6 2.5 6C2.22386 6 2 5.77614 2 5.5V2.5ZM9 2.5C9 2.22386 9.22386 2 9.5 2H12.5C12.7761 2 13 2.22386 13 2.5V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3H9.5C9.22386 3 9 2.77614 9 2.5ZM2.5 9C2.77614 9 3 9.22386 3 9.5V12H5.5C5.77614 12 6 12.2239 6 12.5C6 12.7761 5.77614 13 5.5 13H2.5C2.22386 13 2 12.7761 2 12.5V9.5C2 9.22386 2.22386 9 2.5 9ZM12.5 9C12.7761 9 13 9.22386 13 9.5V12.5C13 12.7761 12.7761 13 12.5 13H9.5C9.22386 13 9 12.7761 9 12.5C9 12.2239 9.22386 12 9.5 12H12V9.5C12 9.22386 12.2239 9 12.5 9Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ds(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function fs(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M5.5 1C5.22386 1 5 1.22386 5 1.5C5 1.77614 5.22386 2 5.5 2H9.5C9.77614 2 10 1.77614 10 1.5C10 1.22386 9.77614 1 9.5 1H5.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H5H10H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H11V12C11 12.5523 10.5523 13 10 13H5C4.44772 13 4 12.5523 4 12V4L3.5 4C3.22386 4 3 3.77614 3 3.5ZM5 4H10V12H5V4Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function _s(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M0.877075 7.49972C0.877075 3.84204 3.84222 0.876892 7.49991 0.876892C11.1576 0.876892 14.1227 3.84204 14.1227 7.49972C14.1227 11.1574 11.1576 14.1226 7.49991 14.1226C3.84222 14.1226 0.877075 11.1574 0.877075 7.49972ZM7.49991 1.82689C4.36689 1.82689 1.82708 4.36671 1.82708 7.49972C1.82708 10.6327 4.36689 13.1726 7.49991 13.1726C10.6329 13.1726 13.1727 10.6327 13.1727 7.49972C13.1727 4.36671 10.6329 1.82689 7.49991 1.82689ZM8.24993 10.5C8.24993 10.9142 7.91414 11.25 7.49993 11.25C7.08571 11.25 6.74993 10.9142 6.74993 10.5C6.74993 10.0858 7.08571 9.75 7.49993 9.75C7.91414 9.75 8.24993 10.0858 8.24993 10.5ZM6.05003 6.25C6.05003 5.57211 6.63511 4.925 7.50003 4.925C8.36496 4.925 8.95003 5.57211 8.95003 6.25C8.95003 6.74118 8.68002 6.99212 8.21447 7.27494C8.16251 7.30651 8.10258 7.34131 8.03847 7.37854L8.03841 7.37858C7.85521 7.48497 7.63788 7.61119 7.47449 7.73849C7.23214 7.92732 6.95003 8.23198 6.95003 8.7C6.95004 9.00376 7.19628 9.25 7.50004 9.25C7.8024 9.25 8.04778 9.00601 8.05002 8.70417L8.05056 8.7033C8.05924 8.6896 8.08493 8.65735 8.15058 8.6062C8.25207 8.52712 8.36508 8.46163 8.51567 8.37436L8.51571 8.37433C8.59422 8.32883 8.68296 8.27741 8.78559 8.21506C9.32004 7.89038 10.05 7.35382 10.05 6.25C10.05 4.92789 8.93511 3.825 7.50003 3.825C6.06496 3.825 4.95003 4.92789 4.95003 6.25C4.95003 6.55376 5.19628 6.8 5.50003 6.8C5.80379 6.8 6.05003 6.55376 6.05003 6.25Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Cs(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M7.5 0.875C5.49797 0.875 3.875 2.49797 3.875 4.5C3.875 6.15288 4.98124 7.54738 6.49373 7.98351C5.2997 8.12901 4.27557 8.55134 3.50407 9.31167C2.52216 10.2794 2.02502 11.72 2.02502 13.5999C2.02502 13.8623 2.23769 14.0749 2.50002 14.0749C2.76236 14.0749 2.97502 13.8623 2.97502 13.5999C2.97502 11.8799 3.42786 10.7206 4.17091 9.9883C4.91536 9.25463 6.02674 8.87499 7.49995 8.87499C8.97317 8.87499 10.0846 9.25463 10.8291 9.98831C11.5721 10.7206 12.025 11.8799 12.025 13.5999C12.025 13.8623 12.2376 14.0749 12.5 14.0749C12.7623 14.075 12.975 13.8623 12.975 13.6C12.975 11.72 12.4778 10.2794 11.4959 9.31166C10.7244 8.55135 9.70025 8.12903 8.50625 7.98352C10.0187 7.5474 11.125 6.15289 11.125 4.5C11.125 2.49797 9.50203 0.875 7.5 0.875ZM4.825 4.5C4.825 3.02264 6.02264 1.825 7.5 1.825C8.97736 1.825 10.175 3.02264 10.175 4.5C10.175 5.97736 8.97736 7.175 7.5 7.175C6.02264 7.175 4.825 5.97736 4.825 4.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ps(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function gs(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ms(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M4.89346 2.35248C3.49195 2.35248 2.35248 3.49359 2.35248 4.90532C2.35248 6.38164 3.20954 7.9168 4.37255 9.33522C5.39396 10.581 6.59464 11.6702 7.50002 12.4778C8.4054 11.6702 9.60608 10.581 10.6275 9.33522C11.7905 7.9168 12.6476 6.38164 12.6476 4.90532C12.6476 3.49359 11.5081 2.35248 10.1066 2.35248C9.27059 2.35248 8.81894 2.64323 8.5397 2.95843C8.27877 3.25295 8.14623 3.58566 8.02501 3.88993C8.00391 3.9429 7.98315 3.99501 7.96211 4.04591C7.88482 4.23294 7.7024 4.35494 7.50002 4.35494C7.29765 4.35494 7.11523 4.23295 7.03793 4.04592C7.01689 3.99501 6.99612 3.94289 6.97502 3.8899C6.8538 3.58564 6.72126 3.25294 6.46034 2.95843C6.18109 2.64323 5.72945 2.35248 4.89346 2.35248ZM1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.0084 1.35248 6.73504 1.76049 7.20884 2.2953C7.32062 2.42147 7.41686 2.55382 7.50002 2.68545C7.58318 2.55382 7.67941 2.42147 7.79119 2.2953C8.265 1.76049 8.99164 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function hs(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function vs(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function xs(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M6.1584 3.13508C5.95694 3.32394 5.94673 3.64036 6.13559 3.84182L9.56499 7.49991L6.13559 11.158C5.94673 11.3595 5.95694 11.6759 6.1584 11.8647C6.35986 12.0536 6.67628 12.0434 6.86514 11.8419L10.6151 7.84182C10.7954 7.64946 10.7954 7.35036 10.6151 7.158L6.86514 3.15801C6.67628 2.95655 6.35986 2.94634 6.1584 3.13508Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ws(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M8.84182 3.13508C9.04328 3.32394 9.05348 3.64036 8.86462 3.84182L5.43523 7.49991L8.86462 11.158C9.05348 11.3595 9.04328 11.6759 8.84182 11.8647C8.64036 12.0536 8.32394 12.0434 8.13508 11.8419L4.38508 7.84182C4.20477 7.64946 4.20477 7.35036 4.38508 7.158L8.13508 3.15801C8.32394 2.95655 8.64036 2.94634 8.84182 3.13508Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function bs(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M3 2.5C3 2.22386 3.22386 2 3.5 2H11.5C11.7761 2 12 2.22386 12 2.5V13.5C12 13.6818 11.9014 13.8492 11.7424 13.9373C11.5834 14.0254 11.3891 14.0203 11.235 13.924L7.5 11.5896L3.765 13.924C3.61087 14.0203 3.41659 14.0254 3.25762 13.9373C3.09864 13.8492 3 13.6818 3 13.5V2.5ZM4 3V12.5979L6.97 10.7416C7.29427 10.539 7.70573 10.539 8.03 10.7416L11 12.5979V3H4Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function ke(e){return t.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",...e,children:t.jsx("path",{d:"M11.8 3.2a.6.6 0 0 0-.85 0L7.5 6.65 4.05 3.2a.6.6 0 1 0-.85.85L6.65 7.5 3.2 10.95a.6.6 0 1 0 .85.85L7.5 8.35l3.45 3.45a.6.6 0 0 0 .85-.85L8.35 7.5l3.45-3.45a.6.6 0 0 0 0-.85Z",fill:"currentColor"})})}function Re(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM8.24992 4.49999C8.24992 4.9142 7.91413 5.24999 7.49992 5.24999C7.08571 5.24999 6.74992 4.9142 6.74992 4.49999C6.74992 4.08577 7.08571 3.74999 7.49992 3.74999C7.91413 3.74999 8.24992 4.08577 8.24992 4.49999ZM6.00003 5.99999H6.50003H7.50003C7.77618 5.99999 8.00003 6.22384 8.00003 6.49999V9.99999H8.50003H9.00003V11H8.50003H7.50003H6.50003H6.00003V9.99999H6.50003H7.00003V6.99999H6.50003H6.00003V5.99999Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Le(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function $e(e){return t.jsx("svg",{...k,...e,children:t.jsx("path",{d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}const js="_message_1522x_14",ys="_info_1522x_44",ks="_warning_1522x_49",Rs="_alert_1522x_56",Ls="_icon_1522x_63",$s="_body_1522x_74",Is="_title_1522x_83",qs="_text_1522x_90",G={message:js,info:ys,warning:ks,alert:Rs,icon:Ls,body:$s,title:Is,text:qs},Ms={info:t.jsx(Re,{}),warning:t.jsx(Le,{}),alert:t.jsx($e,{})},zs={info:{role:"status",live:"polite"},warning:{role:"status",live:"polite"},alert:{role:"alert"}},Ns=l.forwardRef(function({variant:n="info",title:s,icon:o,className:r,children:c,...a},u){const f=o===void 0?Ms[n]:o,{role:m,live:i}=zs[n];return t.jsxs("div",{...a,ref:u,role:m,"aria-live":i,className:v(G.message,G[n],r),children:[f!=null&&t.jsx("span",{className:G.icon,"aria-hidden":"true",children:f}),t.jsxs("div",{className:G.body,children:[s!=null&&t.jsx("p",{className:G.title,children:s}),c!=null&&t.jsx("div",{className:G.text,children:c})]})]})}),Ds="_dialog_1qqku_2",Es="_inner_1qqku_34",Hs="_size4_1qqku_39",Ss="_title_1qqku_43",Ts="_closeX_1qqku_51",ee={dialog:Ds,inner:Es,size4:Hs,title:Ss,closeX:Ts};let ce=0;const Ie=l.createContext(null),ne=()=>{const e=l.useContext(Ie);if(!e)throw new Error("Dialog parts must be inside a Dialog");return e};function qe(e){return function({open:s,onOpenChange:o,children:r}){const[c,a]=l.useState(!1),u=s!==void 0,f=u?s:c,m=g=>{u||a(g),o==null||o(g)},i=l.useId(),p=l.useId(),[x,C]=l.useState(!1);return t.jsx(Ie.Provider,{value:{open:f,setOpen:m,titleId:i,descId:p,alert:e,hasDesc:x,setHasDesc:C},children:r})}}const Zs=qe(!1),Me=(e,n)=>{if(!l.isValidElement(e))return e;const s=e;return l.cloneElement(s,{onClick:o=>{var r,c;(c=(r=s.props).onClick)==null||c.call(r,o),n()}})};function ze({children:e}){const n=ne();return t.jsx(t.Fragment,{children:Me(e,()=>n.setOpen(!0))})}function de({children:e}){const n=ne();return t.jsx(t.Fragment,{children:Me(e,()=>n.setOpen(!1))})}function Ne({size:e="3",maxWidth:n,className:s,style:o,children:r,...c}){const a=ne(),u=l.useRef(null),f=l.useRef(!1),m=l.useRef(!1);return l.useEffect(()=>{const i=u.current;i&&(a.open&&!i.open?i.showModal():!a.open&&i.open&&i.close())},[a.open]),l.useEffect(()=>{if(a.open)return ce+=1,ce===1&&(document.body.style.overflow="hidden"),()=>{ce-=1,ce===0&&(document.body.style.overflow="")}},[a.open]),t.jsx("dialog",{...c,ref:u,role:a.alert?"alertdialog":void 0,"aria-labelledby":a.titleId,"aria-describedby":a.hasDesc?a.descId:void 0,className:v(ee.dialog,"spDialog",e==="4"&&ee.size4,s),style:{...n?{maxWidth:n}:null,...o},onKeyDownCapture:i=>{var p,x;i.key==="Escape"&&((p=u.current)!=null&&p.querySelector("dialog[open]")||(x=u.current)!=null&&x.querySelector('[role="listbox"]:not([hidden])')&&(f.current=!0))},onCancel:i=>{if(i.preventDefault(),f.current){f.current=!1;return}a.setOpen(!1)},onClose:()=>{a.open&&a.setOpen(!1)},onPointerDown:i=>{m.current=i.target===u.current},onClick:i=>{!a.alert&&i.target===u.current&&m.current&&a.setOpen(!1)},children:t.jsxs("div",{className:ee.inner,children:[!a.alert&&t.jsx("button",{type:"button",className:ee.closeX,"aria-label":"Close",onClick:()=>a.setOpen(!1),children:t.jsx(ke,{width:16,height:16})}),r]})})}function De({className:e,...n}){const s=ne();return t.jsx(he,{as:"h2",size:"5",...n,id:s.titleId,className:v(ee.title,e)})}function Ee(e){const n=ne(),{setHasDesc:s}=n;return l.useLayoutEffect(()=>(s(!0),()=>s(!1)),[s]),t.jsx(me,{as:"p",...e,id:n.descId})}const Vs=Object.assign(Zs,{Trigger:ze,Close:de,Content:Ne,Title:De,Description:Ee}),Os=de,As=de,Bs=Object.assign(qe(!0),{Trigger:ze,Content:Ne,Title:De,Description:Ee,Cancel:Os,Action:As}),Fs="_menu_1hwyv_1",Ws="_label_1hwyv_16",Ps="_item_1hwyv_26",Gs="_danger_1hwyv_45",Us="_separator_1hwyv_49",te={menu:Fs,label:Ws,item:Ps,danger:Gs,separator:Us},He=l.createContext(null),Ks=()=>{const e=l.useContext(He);if(!e)throw new Error("DropdownMenu parts must be inside a DropdownMenu");return e},Se=l.createContext(null),Xs=()=>{const e=l.useContext(Se);if(!e)throw new Error("DropdownMenu parts must be inside a DropdownMenu");return e};function Ys(e){return e.current?(e.current=!1,!0):!1}function ge(e){e.current=!0}function Qs({label:e,align:n="start",children:s,...o}){const[r,c]=l.useState(!1),a=l.useId(),u=l.useRef(null),f=l.useRef(null),m=l.useRef(!1),i=l.useRef(!1),[p,x]=l.useState(null);return l.useLayoutEffect(()=>{var g;const C=f.current;if(C)if(r){const w=u.current;if(w){const j=w.getBoundingClientRect(),b=n==="end"?"auto":j.left,R=n==="end"?window.innerWidth-j.right:"auto";x({top:j.bottom+6,left:b,right:R})}C.showPopover(),(g=C.querySelector('[role="menuitem"]'))==null||g.focus()}else C.matches(":popover-open")&&C.hidePopover()},[r,n]),l.useEffect(()=>{if(!r)return;const C=()=>c(!1);return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)},[r]),t.jsx(He.Provider,{value:{open:r,setOpen:c,menuId:a},children:t.jsxs(Se.Provider,{value:i,children:[t.jsx(ve,{...o,ref:u,"aria-haspopup":"menu","aria-expanded":r,"aria-controls":a,onClick:C=>{var g;(g=o.onClick)==null||g.call(o,C),!Ys(m)&&c(!r)},children:e}),t.jsx("div",{ref:f,id:a,role:"menu",popover:"auto",className:te.menu,style:p?{top:p.top,left:p.left==="auto"?"auto":p.left,right:p.right==="auto"?"auto":p.right}:void 0,onToggle:C=>{if(C.nativeEvent.newState==="closed"){const g=i.current;i.current=!1,g||(m.current=!0,setTimeout(()=>{m.current=!1},300)),r&&c(!1)}},onKeyDown:C=>{var j,b,R,q,M,$;const g=Array.from(((j=f.current)==null?void 0:j.querySelectorAll('[role="menuitem"]'))??[]),w=g.indexOf(document.activeElement);C.key==="ArrowDown"?(C.preventDefault(),(b=g[Math.min(w+1,g.length-1)])==null||b.focus()):C.key==="ArrowUp"?(C.preventDefault(),(R=g[Math.max(w-1,0)])==null||R.focus()):C.key==="Home"?(C.preventDefault(),(q=g[0])==null||q.focus()):C.key==="End"?(C.preventDefault(),(M=g[g.length-1])==null||M.focus()):C.key==="Escape"&&(c(!1),($=u.current)==null||$.focus())},children:s})]})})}function Js({children:e}){return t.jsx("div",{className:te.label,children:e})}function eo({asChild:e,color:n,onSelect:s,children:o}){const r=Ks(),c=Xs(),a=v(te.item,n==="danger"&&te.danger),u=()=>{ge(c),r.setOpen(!1),s==null||s()};if(e&&l.isValidElement(o)){const f=o,{className:m,onClick:i,children:p,role:x,tabIndex:C,...g}=f.props,w=f.ref;return l.createElement(f.type,{key:f.key,ref:w,role:"menuitem",tabIndex:-1,...g,className:v(a,m),onClick:j=>{i==null||i(j),ge(c),r.setOpen(!1)}},p)}return t.jsx("button",{type:"button",role:"menuitem",tabIndex:-1,className:a,onClick:u,children:o})}function to(){return t.jsx("div",{role:"separator",className:te.separator})}const no=Object.assign(Qs,{Item:eo,Separator:to,Label:Js}),so="_list_1hc3r_19",oo="_trigger_1hc3r_28",Te={list:so,trigger:oo},Ze=l.createContext(null),Ve=()=>{const e=l.useContext(Ze);if(!e)throw new Error("Tabs parts must be inside a Tabs");return e};function ro({value:e,onValueChange:n,className:s,children:o}){const r=l.useId();return t.jsx(Ze.Provider,{value:{value:e,onValueChange:n,id:r},children:t.jsx("div",{className:s,children:o})})}function lo({children:e}){return t.jsx("div",{role:"tablist",className:v(Te.list,"spTabsList"),onKeyDown:n=>{const s=Array.from(n.currentTarget.querySelectorAll('[role="tab"]')),o=s.indexOf(document.activeElement);if(o!==-1){if(n.key==="ArrowRight"){n.preventDefault();const r=s[(o+1)%s.length];r.focus(),r.click()}else if(n.key==="ArrowLeft"){n.preventDefault();const r=s[(o-1+s.length)%s.length];r.focus(),r.click()}else if(n.key==="Home"){n.preventDefault();const r=s[0];r.focus(),r.click()}else if(n.key==="End"){n.preventDefault();const r=s[s.length-1];r.focus(),r.click()}}},children:e})}function co({value:e,className:n,children:s,...o}){const r=Ve(),c=r.value===e;return t.jsx("button",{...o,type:"button",role:"tab",id:`${r.id}-tab-${e}`,"aria-selected":c,"aria-controls":`${r.id}-panel-${e}`,tabIndex:c?0:-1,"data-state":c?"active":"inactive",className:v(Te.trigger,"spTabsTrigger",n),onClick:()=>r.onValueChange(e),children:s})}function ao({value:e,children:n}){const s=Ve();return s.value!==e?null:t.jsx("div",{role:"tabpanel",id:`${s.id}-panel-${e}`,"aria-labelledby":`${s.id}-tab-${e}`,children:n})}const io=Object.assign(ro,{List:lo,Trigger:co,Content:ao});exports.AlertDialog=Bs;exports.Autocomplete=Vn;exports.Badge=p1;exports.BookmarkIcon=bs;exports.Box=St;exports.Button=ve;exports.Card=b1;exports.ChatBubbleIcon=rs;exports.CheckIcon=ds;exports.ChevronDownIcon=vs;exports.ChevronLeftIcon=ws;exports.ChevronRightIcon=xs;exports.ChevronUpIcon=hs;exports.CrossCircledIcon=$e;exports.Dialog=Vs;exports.DropdownMenu=no;exports.EnterFullScreenIcon=us;exports.ExclamationTriangleIcon=Le;exports.ExitFullScreenIcon=is;exports.Flex=Ht;exports.Grid=Qt;exports.Heading=he;exports.HeartFilledIcon=as;exports.HeartIcon=ms;exports.IconToggle=nn;exports.InfoCircledIcon=Re;exports.Link=pt;exports.Loader=P1;exports.MagnifyingGlassIcon=gs;exports.Message=Ns;exports.MinusIcon=ps;exports.Pencil1Icon=cs;exports.PersonIcon=Cs;exports.PlusIcon=ls;exports.Progress=ss;exports.QuestionMarkCircledIcon=_s;exports.RadioGroup=es;exports.Select=wn;exports.Separator=h1;exports.Share2Icon=os;exports.Slider=Pn;exports.Tabs=io;exports.Text=me;exports.TextArea=In;exports.TextField=ue;exports.Tooltip=xe;exports.TrashIcon=fs;exports.XIcon=ke;
2
2
  //# sourceMappingURL=index.cjs.map