@inkorange/space-ui 1.6.0 → 1.7.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 +3 -3
- package/dist/components/Checkbox.d.ts +72 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1110 -994
- package/dist/index.js.map +1 -1
- package/dist/space-ui.css +1 -1
- package/dist/tokens.css +15 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@inkorange/space-ui)
|
|
6
6
|

|
|
7
|
-

|
|
8
8
|

|
|
9
9
|
[](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 plain and with an image, an open Popover, Pagination, a Carousel and a Message banner on a dark ground"
|
|
21
|
+
<img alt="Stickersheet: Button, Badge, Select, TextField, Slider, Progress, IconToggle, RadioGroup, Checkbox, Loader, Tabs, icons, Text, TextArea, Card plain and with an image, an open Popover, Pagination, a Carousel 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
|
|
|
@@ -174,7 +174,7 @@ it exposes.
|
|
|
174
174
|
| --- | --- |
|
|
175
175
|
| **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) |
|
|
176
176
|
| **Layout** | [Card](https://space-components.vercel.app/?story=components--layout--card) · [Carousel](https://space-components.vercel.app/?story=components--layout--carousel) · [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) · [Pagination](https://space-components.vercel.app/?story=components--layout--pagination) |
|
|
177
|
-
| **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) |
|
|
177
|
+
| **Forms** | [Autocomplete](https://space-components.vercel.app/?story=components--forms--autocomplete) · [Checkbox](https://space-components.vercel.app/?story=components--forms--checkbox) · [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) |
|
|
178
178
|
| **Buttons** | [Button](https://space-components.vercel.app/?story=components--buttons--buttons) · [IconToggle](https://space-components.vercel.app/?story=components--buttons--icon-toggle) |
|
|
179
179
|
| **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) |
|
|
180
180
|
| **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) · [Popover](https://space-components.vercel.app/?story=components--overlays--popover) · [Tabs](https://space-components.vercel.app/?story=components--overlays--tabs) · [Tooltip](https://space-components.vercel.app/?story=components--overlays--tooltip) |
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
|
+
export interface CheckboxGroupProps {
|
|
4
|
+
/** The chosen values. Fully controlled; order is the caller's to keep. */
|
|
5
|
+
value: string[];
|
|
6
|
+
/** Called with the new list whenever an item is ticked or unticked. */
|
|
7
|
+
onValueChange: (value: string[]) => void;
|
|
8
|
+
/** Disables every item at once. */
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** Names the set for assistive tech — "Planet types", say. Use it whenever
|
|
11
|
+
* the visible heading above the group is not already tied to it. */
|
|
12
|
+
"aria-label"?: string;
|
|
13
|
+
/** Merged onto the group wrapper. */
|
|
14
|
+
className?: string;
|
|
15
|
+
/** One or more `CheckboxGroup.Item`. */
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A set of options where any number can be chosen, including none.
|
|
20
|
+
*
|
|
21
|
+
* The group holds the chosen values as an array and reports a new array on
|
|
22
|
+
* every change, so a caller stores one piece of state rather than one boolean
|
|
23
|
+
* per option. For a single yes/no — accepting terms, toggling one setting —
|
|
24
|
+
* use `Checkbox` on its own; for choosing exactly one of several, RadioGroup.
|
|
25
|
+
*/
|
|
26
|
+
declare function CheckboxGroupRoot({ value, onValueChange, disabled, className, "aria-label": ariaLabel, children, }: CheckboxGroupProps): React.JSX.Element;
|
|
27
|
+
export interface CheckboxGroupItemProps {
|
|
28
|
+
/** Added to, or removed from, the group's value when ticked. */
|
|
29
|
+
value: string;
|
|
30
|
+
/** Disables this option only. */
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
/** The option's label. Part of the click target, not merely beside it. */
|
|
33
|
+
children?: ReactNode;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* One option in a group.
|
|
37
|
+
*
|
|
38
|
+
* With children it labels itself: a <label> wraps the input, the tile and the
|
|
39
|
+
* children, so the text is part of the click target. Without children it
|
|
40
|
+
* emits a bare span instead, so an OUTER label can own the association —
|
|
41
|
+
* nesting one label inside another is invalid HTML.
|
|
42
|
+
*/
|
|
43
|
+
declare function Item({ value, disabled, children }: CheckboxGroupItemProps): React.JSX.Element;
|
|
44
|
+
export declare const CheckboxGroup: typeof CheckboxGroupRoot & {
|
|
45
|
+
Item: typeof Item;
|
|
46
|
+
};
|
|
47
|
+
export interface CheckboxProps {
|
|
48
|
+
/** Whether it is ticked. Fully controlled. */
|
|
49
|
+
checked: boolean;
|
|
50
|
+
/** Called with the new state. */
|
|
51
|
+
onCheckedChange: (checked: boolean) => void;
|
|
52
|
+
/** Partly chosen: draws a dash instead of a tick and announces as "mixed".
|
|
53
|
+
* For a "select all" whose children are only some chosen. The box still
|
|
54
|
+
* reports `checked` when clicked, so decide there what a click means. */
|
|
55
|
+
indeterminate?: boolean;
|
|
56
|
+
/** Disables it. */
|
|
57
|
+
disabled?: boolean;
|
|
58
|
+
/** Names it for assistive tech when there are no children to do so. */
|
|
59
|
+
"aria-label"?: string;
|
|
60
|
+
/** Merged onto the label. */
|
|
61
|
+
className?: string;
|
|
62
|
+
/** The label. Part of the click target, not merely beside it. */
|
|
63
|
+
children?: ReactNode;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* A single yes/no choice: accepting terms, turning one setting on.
|
|
67
|
+
*
|
|
68
|
+
* For a set of options where several can be chosen, wrap `CheckboxGroup`
|
|
69
|
+
* around `CheckboxGroup.Item`s and hold one array instead of a boolean each.
|
|
70
|
+
*/
|
|
71
|
+
export declare function Checkbox({ checked, onCheckedChange, indeterminate, disabled, className, "aria-label": ariaLabel, children, }: CheckboxProps): React.JSX.Element;
|
|
72
|
+
export {};
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),t=require("react/jsx-runtime"),ae={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 Y({m:e,mt:n,mb:o,p:r,pb:l},a){const c={...e!==void 0&&{margin:ae[e]},...n!==void 0&&{marginTop:ae[n]},...o!==void 0&&{marginBottom:ae[o]},...r!==void 0&&{padding:ae[r]},...l!==void 0&&{paddingBottom:ae[l]},...a};return Object.keys(c).length>0?c:void 0}function b(...e){return e.filter(Boolean).join(" ")}const ct="_text_4vcq4_1",it="_size1_4vcq4_5",ut="_size2_4vcq4_11",dt="_size3_4vcq4_16",ft="_size4_4vcq4_21",_t="_size5_4vcq4_27",pt="_size6_4vcq4_33",gt="_medium_4vcq4_39",Ct="_bold_4vcq4_43",ht="_colorMuted_4vcq4_47",mt="_colorDanger_4vcq4_51",vt="_colorSuccess_4vcq4_55",xt="_colorWarning_4vcq4_59",me={text:ct,size1:it,size2:ut,size3:dt,size4:ft,size5:_t,size6:pt,medium:gt,bold:Ct,colorMuted:ht,colorDanger:mt,colorSuccess:vt,colorWarning:xt},qe=s.forwardRef(function({as:n="span",size:o,weight:r,color:l,className:a,style:c,m:d,mt:p,mb:g,p:i,pb:h,...w},j){return s.createElement(n,{...w,ref:j,className:b(me.text,o&&me[`size${o}`],r&&me[r],l&&me[`color${l[0].toUpperCase()}${l.slice(1)}`],a),style:Y({m:d,mt:p,mb:g,p:i,pb:h},c)})}),wt="_heading_vs4zk_1",bt="_size4_vs4zk_7",jt="_size5_vs4zk_13",yt="_size6_vs4zk_19",Lt="_size7_vs4zk_25",$t="_size8_vs4zk_31",kt="_size9_vs4zk_37",Rt="_colorMuted_vs4zk_43",Mt="_colorDanger_vs4zk_47",It="_alignCenter_vs4zk_51",ce={heading:wt,size4:bt,size5:jt,size6:yt,size7:Lt,size8:$t,size9:kt,colorMuted:Rt,colorDanger:Mt,alignCenter:It},He=s.forwardRef(function({as:n="h2",size:o,color:r,align:l,className:a,style:c,m:d,mt:p,mb:g,p:i,pb:h,...w},j){return s.createElement(n,{...w,ref:j,className:b(ce.heading,o&&ce[`size${o}`],r==="muted"&&ce.colorMuted,r==="danger"&&ce.colorDanger,l==="center"&&ce.alignCenter,a),style:Y({m:d,mt:p,mb:g,p:i,pb:h},c)})}),Nt="_link_1qa7j_1",Et="_size1_1qa7j_10",zt="_size2_1qa7j_16",St="_size3_1qa7j_21",Ee={link:Nt,size1:Et,size2:zt,size3:St},Dt=s.forwardRef(function({asChild:n,size:o,className:r,style:l,m:a,mt:c,mb:d,p,pb:g,children:i,...h},w){const j=b(Ee.link,o&&Ee[`size${o}`],r),_=Y({m:a,mt:c,mb:d,p,pb:g},l);if(n&&s.isValidElement(i)){const v=i;return s.cloneElement(v,{...h,className:b(j,v.props.className),style:{..._,...v.props.style}})}return t.jsx("a",{...h,ref:w,className:j,style:_,children:i})}),qt="_flex_v4ziu_1",Ht="_gap1_v4ziu_5",Tt="_gap2_v4ziu_9",At="_gap3_v4ziu_13",Bt="_gap4_v4ziu_17",Zt="_gap5_v4ziu_21",Ot="_gap6_v4ziu_25",Vt="_directionRow_v4ziu_29",Wt="_directionColumn_v4ziu_33",Ft="_alignStart_v4ziu_37",Pt="_alignCenter_v4ziu_41",Gt="_alignEnd_v4ziu_45",Kt="_alignBaseline_v4ziu_49",Ut="_alignStretch_v4ziu_53",Xt="_justifyStart_v4ziu_57",Yt="_justifyCenter_v4ziu_61",Qt="_justifyEnd_v4ziu_65",Jt="_justifyBetween_v4ziu_69",en="_wrapWrap_v4ziu_73",tn="_wrapNowrap_v4ziu_77",ne={flex:qt,gap1:Ht,gap2:Tt,gap3:At,gap4:Bt,gap5:Zt,gap6:Ot,directionRow:Vt,directionColumn:Wt,alignStart:Ft,alignCenter:Pt,alignEnd:Gt,alignBaseline:Kt,alignStretch:Ut,justifyStart:Xt,justifyCenter:Yt,justifyEnd:Qt,justifyBetween:Jt,wrapWrap:en,wrapNowrap:tn},ve=e=>e[0].toUpperCase()+e.slice(1),nn=s.forwardRef(function({asChild:n,gap:o,direction:r,align:l,justify:a,wrap:c,className:d,style:p,m:g,mt:i,mb:h,p:w,pb:j,children:_,...v},$){const I=b(ne.flex,o&&ne[`gap${o}`],r&&ne[`direction${ve(r)}`],l&&ne[`align${ve(l)}`],a&&ne[`justify${ve(a)}`],c&&ne[`wrap${ve(c)}`],d),k=Y({m:g,mt:i,mb:h,p:w,pb:j},p);if(n&&s.isValidElement(_)){const H=_;return s.cloneElement(H,{...v,className:b(I,H.props.className),style:{...k,...H.props.style}})}return t.jsx("div",{...v,ref:$,className:I,style:k,children:_})}),sn=s.forwardRef(function({style:n,m:o,mt:r,mb:l,p:a,pb:c,...d},p){return t.jsx("div",{...d,ref:p,style:Y({m:o,mt:r,mb:l,p:a,pb:c},n)})}),on="_grid_erpqq_1",rn="_cols1_erpqq_5",ln="_cols2_erpqq_9",an="_cols3_erpqq_13",cn="_smCols2_erpqq_18",un="_smCols3_erpqq_21",dn="_mdCols2_erpqq_26",fn="_mdCols3_erpqq_29",_n="_gap1_erpqq_33",pn="_gap2_erpqq_37",gn="_gap3_erpqq_41",Cn="_gap4_erpqq_45",hn="_gap5_erpqq_49",mn="_gap6_erpqq_53",se={grid:on,cols1:rn,cols2:ln,cols3:an,smCols2:cn,smCols3:un,mdCols2:dn,mdCols3:fn,gap1:_n,gap2:pn,gap3:gn,gap4:Cn,gap5:hn,gap6:mn},vn=s.forwardRef(function({columns:n,gap:o,className:r,style:l,m:a,mt:c,mb:d,p,pb:g,...i},h){const w=typeof n=="string"?[se[`cols${n}`]]:n?[n.initial&&se[`cols${n.initial}`],n.sm&&se[`smCols${n.sm}`],n.md&&se[`mdCols${n.md}`]]:[];return t.jsx("div",{...i,ref:h,className:b(se.grid,...w,o&&se[`gap${o}`],r),style:Y({m:a,mt:c,mb:d,p,pb:g},l)})}),xn="_badge_1twqf_2",wn="_size1_1twqf_10",bn="_size2_1twqf_19",jn="_colorMuted_1twqf_28",yn="_colorPrimary_1twqf_33",Ln="_colorSuccess_1twqf_38",$n="_colorDanger_1twqf_43",kn="_colorWarning_1twqf_48",Rn="_colorCyan_1twqf_53",Mn="_colorPurple_1twqf_58",In="_colorOrange_1twqf_63",Nn="_colorAccent_1twqf_68",En="_colorYellow_1twqf_73",zn="_solid_1twqf_81",Sn="_wrap_1twqf_89",ie={badge:xn,size1:wn,size2:bn,colorMuted:jn,colorPrimary:yn,colorSuccess:Ln,colorDanger:$n,colorWarning:kn,colorCyan:Rn,colorPurple:Mn,colorOrange:In,colorAccent:Nn,colorYellow:En,solid:zn,wrap:Sn},Dn=e=>e[0].toUpperCase()+e.slice(1),qn=s.forwardRef(function({color:n="primary",variant:o="soft",size:r="1",wrap:l,className:a,style:c,m:d,mt:p,mb:g,p:i,pb:h,...w},j){return t.jsx("span",{...w,ref:j,className:b(ie.badge,ie[`color${Dn(n)}`],o==="solid"&&ie.solid,ie[`size${r}`],l&&ie.wrap,a),style:Y({m:d,mt:p,mb:g,p:i,pb:h},c)})}),Hn="_separator_vao01_1",Tn="_full_vao01_7",ze={separator:Hn,full:Tn},An=s.forwardRef(function({size:n="4",className:o,...r},l){return t.jsx("span",{...r,ref:l,role:"separator",className:b(ze.separator,n==="4"&&ze.full,o)})}),Bn="_card_1ooot_2",Zn="_image_1ooot_14",On="_hasImage_1ooot_41",je={card:Bn,image:Zn,hasImage:On},Vn=s.forwardRef(function({className:n,style:o,image:r,children:l,m:a,mt:c,mb:d,p,pb:g,...i},h){return t.jsxs("div",{...i,ref:h,className:b(je.card,r!=null&&je.hasImage,n),style:Y({m:a,mt:c,mb:d,p,pb:g},o),children:[r!=null&&t.jsx("div",{className:je.image,children:r}),l]})}),Wn="_spaceButton_kjhqx_14",Fn="_rimRotate_kjhqx_1",Pn="_glintSweep_kjhqx_1",Gn="_iconOnly_kjhqx_97",Kn="_lg_kjhqx_104",Un="_sm_kjhqx_110",Xn="_micro_kjhqx_122",Yn="_stars_kjhqx_136",Qn="_fullWidth_kjhqx_141",Jn="_ember_kjhqx_147",es="_label_kjhqx_157",ts="_star_kjhqx_136",ns="_twinkle_kjhqx_1",U={spaceButton:Wn,rimRotate:Fn,glintSweep:Pn,iconOnly:Gn,lg:Kn,sm:Un,micro:Xn,stars:Yn,fullWidth:Qn,ember:Jn,label:es,star:ts,twinkle:ns};function ss(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 os(e){let n=2166136261;for(let o=0;o<e.length;o++)n^=e.charCodeAt(o),n=Math.imul(n,16777619);return n>>>0}const pe=s.forwardRef(function({iconOnly:n,ember:o,size:r="md",fullWidth:l,animated:a=!0,className:c,children:d,...p},g){const i=s.useId(),h=s.useMemo(()=>{const j=ss(os(i));return Array.from({length:3},()=>({top:`${12+j()*58}%`,left:`${8+j()*80}%`,animationDelay:`${(j()*3.2).toFixed(2)}s`,animationDuration:`${(2.8+j()*1.8).toFixed(2)}s`}))},[i]),w=[U.spaceButton,n?U.iconOnly:"",o?U.ember:"",r!=="md"?U[r]:"",l?U.fullWidth:"",c??""].filter(Boolean).join(" ");return t.jsxs("button",{ref:g,className:w,"data-animated":a?void 0:"false",...p,children:[r!=="micro"&&t.jsx("span",{className:U.stars,"aria-hidden":!0,children:h.map((j,_)=>t.jsx("i",{className:U.star,style:j},_))}),t.jsx("span",{className:U.label,children:d})]})}),q={width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0};function rs(e){return t.jsx("svg",{...q,...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 ls(e){return t.jsx("svg",{...q,...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 as(e){return t.jsx("svg",{...q,...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",{...q,...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 is(e){return t.jsx("svg",{...q,...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 us(e){return t.jsx("svg",{...q,...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 ds(e){return t.jsx("svg",{...q,...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 fs(e){return t.jsx("svg",{...q,...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 _s(e){return t.jsx("svg",{...q,...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 ps(e){return t.jsx("svg",{...q,...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 gs(e){return t.jsx("svg",{...q,...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 Cs(e){return t.jsx("svg",{...q,...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 hs(e){return t.jsx("svg",{...q,...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",{...q,...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 vs(e){return t.jsx("svg",{...q,...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 xs(e){return t.jsx("svg",{...q,...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 $e(e){return t.jsx("svg",{...q,...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 ke(e){return t.jsx("svg",{...q,...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 ws(e){return t.jsx("svg",{...q,...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 Te(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 Ae(e){return t.jsx("svg",{...q,...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 Be(e){return t.jsx("svg",{...q,...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 Ze(e){return t.jsx("svg",{...q,...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 bs="_root_p5j1t_12",js="_viewport_p5j1t_17",ys="_track_p5j1t_21",Ls="_slide_p5j1t_66",$s="_arrow_p5j1t_78",ks="_prev_p5j1t_99",Rs="_next_p5j1t_104",Ms="_arrowButton_p5j1t_109",Is="_dots_p5j1t_115",Ns="_dot_p5j1t_115",V={root:bs,viewport:js,track:ys,slide:Ls,arrow:$s,prev:ks,next:Rs,arrowButton:Ms,dots:Is,dot:Ns};function Es({children:e,perView:n=1,step:o="item",showPagination:r=!1,animated:l=!0,className:a,"aria-label":c="Carousel",...d}){const p=s.Children.toArray(e),g=p.length,i=s.useId(),h=s.useRef(null),w=o==="page"?Math.max(1,Math.floor(n)):1,j=g<=n?1:o==="page"?Math.ceil((g-n)/w)+1:Math.ceil(g-n)+1,[_,v]=s.useState(w),[$,I]=s.useState(Math.max(1,j)),[k,H]=s.useState(0),[D,E]=s.useState(!0),[A,T]=s.useState(g<=n),M=s.useRef([0]),z=s.useCallback(()=>{const C=h.current;if(!C)return;const x=C.scrollLeft,N=C.scrollWidth-C.clientWidth;let S=0;M.current.forEach((f,m)=>{Math.abs(f-x)<Math.abs(M.current[S]-x)&&(S=m)}),H(S),E(x<=1),T(x>=N-1)},[]),y=s.useCallback(()=>{const C=h.current;if(!C)return;const x=Array.from(C.children);if(!x.length)return;const N=Math.max(0,C.scrollWidth-C.clientWidth),S=x[0],f=x.length>1?x[1].offsetLeft-S.offsetLeft-S.offsetWidth:0,m=(C.clientWidth+f)/(S.offsetWidth+f),Z=o==="page"?Math.max(1,Math.floor(m+.01)):1,B=[];x.forEach((G,K)=>{if(K%Z!==0)return;const Q=Math.round(Math.min(G.offsetLeft-S.offsetLeft,N));B[B.length-1]!==Q&&B.push(Q)}),N>0&&B[B.length-1]<Math.round(N)-1&&B.push(Math.round(N)),M.current=B,v(Z),I(B.length),z()},[o,z]);s.useLayoutEffect(()=>{y()},[y,g]),s.useEffect(()=>{const C=h.current;if(!C)return;const x=new ResizeObserver(()=>y());x.observe(C);let N=0;const S=()=>{cancelAnimationFrame(N),N=requestAnimationFrame(z)};return C.addEventListener("scroll",S,{passive:!0}),()=>{x.disconnect(),cancelAnimationFrame(N),C.removeEventListener("scroll",S)}},[y,z]),s.useEffect(()=>{const C=h.current;if(!C)return;const x=4;let N=null,S=0,f=0,m=!1,Z=0;const B=()=>{clearTimeout(Z),delete C.dataset.settling},G=O=>{O.pointerType!=="mouse"||O.button!==0||C.scrollWidth<=C.clientWidth||(B(),N=O.pointerId,S=O.clientX,f=C.scrollLeft,m=!1)},K=O=>{if(O.pointerId!==N)return;const J=O.clientX-S;if(!m){if(Math.abs(J)<x)return;m=!0,C.setPointerCapture(O.pointerId),C.dataset.dragging=""}C.scrollLeft=f-J},Q=O=>{if(O.pointerId!==N||(N=null,!m))return;delete C.dataset.dragging;const J=C.scrollLeft,he=M.current;let ee=he.reduce((te,Ne)=>Math.abs(Ne-J)<Math.abs(te-J)?Ne:te,he[0]);J>f+1&&ee<=f+1?ee=he.find(te=>te>f+1)??ee:J<f-1&&ee>=f-1&&(ee=[...he].reverse().find(te=>te<f-1)??ee),C.dataset.settling="";const at=window.matchMedia("(prefers-reduced-motion: reduce)").matches;C.scrollTo({left:ee,behavior:at?"auto":"smooth"}),C.addEventListener("scrollend",B,{once:!0}),Z=window.setTimeout(B,700)},Me=O=>{m&&(m=!1,O.preventDefault(),O.stopPropagation())},Ie=O=>O.preventDefault();return C.addEventListener("pointerdown",G),C.addEventListener("pointermove",K),C.addEventListener("pointerup",Q),C.addEventListener("pointercancel",Q),C.addEventListener("click",Me,!0),C.addEventListener("dragstart",Ie),()=>{B(),C.removeEventListener("pointerdown",G),C.removeEventListener("pointermove",K),C.removeEventListener("pointerup",Q),C.removeEventListener("pointercancel",Q),C.removeEventListener("click",Me,!0),C.removeEventListener("dragstart",Ie)}},[]);const u=C=>{var x;return(x=h.current)==null?void 0:x.scrollTo({left:C})},L=C=>{const x=h.current;if(!x)return;const N=x.scrollLeft,S=C>0?M.current.find(f=>f>N+1):[...M.current].reverse().find(f=>f<N-1);S!==void 0&&u(S)},R=$>1;return t.jsxs("section",{...d,"aria-roledescription":"carousel","aria-label":c,className:b(V.root,a),"data-scrollable":R?"":void 0,children:[t.jsxs("div",{className:V.viewport,children:[t.jsx("div",{ref:h,id:i,className:V.track,tabIndex:0,style:{"--_view-count-default":n},children:p.map((C,x)=>t.jsx("div",{className:V.slide,role:"group","aria-roledescription":"slide","aria-label":`${x+1} of ${g}`,"data-snap":x%_===0?"":void 0,children:C},C.key??x))}),t.jsx("span",{className:b(V.arrow,V.prev),children:t.jsx(pe,{iconOnly:!0,className:V.arrowButton,animated:l,"aria-label":"Previous","aria-controls":i,disabled:D,onClick:()=>L(-1),children:t.jsx(ke,{"aria-hidden":"true"})})}),t.jsx("span",{className:b(V.arrow,V.next),children:t.jsx(pe,{iconOnly:!0,className:V.arrowButton,animated:l,"aria-label":"Next","aria-controls":i,disabled:A,onClick:()=>L(1),children:t.jsx($e,{"aria-hidden":"true"})})})]}),r&&R&&t.jsx("div",{className:V.dots,children:Array.from({length:$},(C,x)=>t.jsx("button",{type:"button",className:V.dot,"aria-label":o==="page"?`Page ${x+1} of ${$}`:`Position ${x+1} of ${$}`,"aria-controls":i,"aria-current":x===k?"true":void 0,onClick:()=>u(M.current[x]??0)},x))})]})}const zs="_nav_f248a_6",Ss="_pages_f248a_21",Ds="_item_f248a_30",qs="_current_f248a_48",Hs="_page_f248a_21",Ts="_gap_f248a_82",As="_stepText_f248a_92",Bs="_step_f248a_92",W={nav:zs,pages:Ss,item:Ds,current:qs,page:Hs,gap:Ts,stepText:As,step:Bs},Zs="_spaceControl_4ou97_17",Os="_spaceSlider_4ou97_74",Vs="_spacePanel_4ou97_111",Ws="_spaceInput_4ou97_34",Fs="_spaceTextArea_4ou97_226",Ps={spaceControl:Zs,spaceSlider:Os,spacePanel:Vs,spaceInput:Ws,spaceTextArea:Fs},P=Ps;function Oe({pageSize:e,totalItems:n}){return e<=0?1:Math.max(1,Math.ceil(n/e))}function Ve(e,n,o=1){const r=(h,w)=>Array.from({length:Math.max(0,w-h+1)},(j,_)=>h+_),l=o*2+5;if(n<=l)return r(1,n);const a=Math.min(Math.max(e,1),n),c=Math.max(a-o,1),d=Math.min(a+o,n),p=c>3,g=d<n-2,i=o*2+3;return p?g?[1,null,...r(c,d),null,n]:[1,null,...r(n-i+1,n)]:[...r(1,i),null,n]}function Gs({pagination:e,onPageClick:n,siblings:o=1,animated:r=!0,className:l,"aria-label":a="Pagination",...c}){const d=Oe(e);if(d<=1)return null;const p=Math.min(Math.max(e.page,1),d),g=i=>{i!==p&&i>=1&&i<=d&&n(i)};return t.jsxs("nav",{...c,"aria-label":a,className:b(W.nav,l),children:[t.jsxs("button",{type:"button",className:b(P.spaceControl,W.item,W.step),disabled:p<=1,"aria-label":"Previous page",onClick:()=>g(p-1),children:[t.jsx(ke,{"aria-hidden":"true"}),t.jsx("span",{className:W.stepText,children:"Previous"})]}),t.jsx("ol",{className:W.pages,children:Ve(p,d,o).map((i,h)=>i===null?t.jsx("li",{className:W.gap,"aria-hidden":"true",children:"…"},`gap-${h}`):t.jsx("li",{children:t.jsx("button",{type:"button",className:b(P.spaceControl,W.item,W.page,i===p&&W.current),"data-animated":i===p&&!r?"false":void 0,"aria-label":`Page ${i}`,"aria-current":i===p?"page":void 0,onClick:()=>g(i),children:i})},i))}),t.jsxs("button",{type:"button",className:b(P.spaceControl,W.item,W.step),disabled:p>=d,"aria-label":"Next page",onClick:()=>g(p+1),children:[t.jsx("span",{className:W.stepText,children:"Next"}),t.jsx($e,{"aria-hidden":"true"})]})]})}const Ks="_wrap_dwcut_5",Us="_sm_dwcut_30",Xs="_md_dwcut_36",Ys="_lg_dwcut_42",Qs="_orbit_dwcut_49",Js="_planet_dwcut_58",eo="_moon_dwcut_73",to="_label_dwcut_92",oe={wrap:Ks,sm:Us,md:Xs,lg:Ys,orbit:Qs,planet:Js,"sp-loader-planet-pulse":"_sp-loader-planet-pulse_dwcut_1",moon:eo,"sp-loader-orbit":"_sp-loader-orbit_dwcut_1",label:to,"sp-loader-reduced-pulse":"_sp-loader-reduced-pulse_dwcut_1"};function no({size:e="md",label:n,className:o}){return t.jsxs("div",{className:b(oe.wrap,oe[e],o),role:"status","aria-live":"polite","aria-label":n??"Loading",children:[t.jsxs("span",{className:oe.orbit,children:[t.jsx("span",{className:oe.planet}),t.jsx("span",{className:oe.moon})]}),n&&t.jsx("span",{className:oe.label,children:n})]})}const so="_content_1efo6_6",oo={content:so};function We(e,n){e.matches(":popover-open")||(e.dataset.instant="",e.dataset.measuring="",n(),delete e.dataset.measuring,e.offsetWidth,delete e.dataset.instant,e.offsetWidth,e.showPopover())}const ro=350,lo=80,xe=8,ue=8;function ao({triggerRef:e,tooltipId:n,show:o,hide:r,children:l}){const a=l.props;return s.cloneElement(l,{ref:e,"aria-describedby":n,onPointerEnter:c=>{var d;(d=a.onPointerEnter)==null||d.call(a,c),c.pointerType==="mouse"&&o()},onPointerLeave:c=>{var d;(d=a.onPointerLeave)==null||d.call(a,c),r()},onFocus:c=>{var d;(d=a.onFocus)==null||d.call(a,c),o(!0)},onBlur:c=>{var d;(d=a.onBlur)==null||d.call(a,c),r()},onClick:c=>{var d;(d=a.onClick)==null||d.call(a,c),r()}})}function Fe({label:e,side:n="bottom",children:o}){const r=s.useId(),[l,a]=s.useState(!1),[c,d]=s.useState(null),p=s.useRef(null),g=s.useRef(null),i=s.useRef(null),h=s.useRef(null),w=()=>{i.current&&(clearTimeout(i.current),i.current=null),h.current&&(clearTimeout(h.current),h.current=null)},j=(v=!1)=>{if(w(),v){a(!0);return}i.current=setTimeout(()=>a(!0),ro)},_=()=>{w(),h.current=setTimeout(()=>a(!1),lo)};return s.useEffect(()=>w,[]),s.useLayoutEffect(()=>{const v=g.current;if(!v)return;if(!l){v.matches(":popover-open")&&v.hidePopover();return}const $=p.current;if(!$)return;const I=()=>{const k=$.getBoundingClientRect(),H=v.offsetWidth,D=v.offsetHeight,E=(L,R,C,x)=>Math.min(Math.max(L+R/2-C/2,ue),Math.max(x-C-ue,ue)),A=(L,R,C,x)=>({fitsNear:L>=ue,fitsFar:R+C<=x-ue});if(n==="left"||n==="right"){const L=k.right+xe,R=k.left-H-xe,{fitsNear:C,fitsFar:x}=A(R,L,H,window.innerWidth),N=n==="right"?x||!C?L:R:C||!x?R:L;v.dataset.side=N===L?"right":"left",d({top:E(k.top,k.height,D,window.innerHeight),left:N});return}const T=k.bottom+xe,M=k.top-D-xe,{fitsNear:z,fitsFar:y}=A(M,T,D,window.innerHeight),u=n==="bottom"?y||!z?T:M:z||!y?M:T;v.dataset.side=u===T?"bottom":"top",d({top:u,left:E(k.left,k.width,H,window.innerWidth)})};v.matches(":popover-open")?I():We(v,I)},[l,n,e]),!e||!s.isValidElement(o)?t.jsx(t.Fragment,{children:o}):t.jsxs(t.Fragment,{children:[t.jsx(ao,{triggerRef:p,tooltipId:r,show:j,hide:_,children:o}),t.jsx("div",{ref:g,id:r,popover:"auto",role:"tooltip",className:oo.content,style:c?{top:c.top,left:c.left}:void 0,onToggle:v=>{v.nativeEvent.newState==="closed"&&l&&a(!1)},children:e})]})}const co="_group_1tdav_4",io="_segment_1tdav_15",uo="_active_1tdav_35",fo="_vertical_1tdav_46",we={group:co,segment:io,active:uo,vertical:fo};function _o({options:e,value:n,onValueChange:o,orientation:r="horizontal",className:l=""}){const a=r==="vertical";return t.jsx("div",{className:`${we.group} ${a?we.vertical:""} ${l}`,role:"group",children:e.map(c=>t.jsx(Fe,{label:c.label,side:a?"right":"bottom",children:t.jsx("button",{type:"button",className:`${we.segment} ${c.value===n?we.active:""}`,"aria-label":c.label,"aria-pressed":c.value===n,onClick:()=>{c.value!==n&&o(c.value)},children:c.icon})},c.value))})}const po="_root_32n97_2",go="_trigger_32n97_7",Co="_labelWrap_32n97_30",ho="_sizer_32n97_8",mo="_triggerLabel_32n97_70",vo="_chevron_32n97_77",xo="_listbox_32n97_82",wo="_item_32n97_148",X={root:po,trigger:go,labelWrap:Co,sizer:ho,triggerLabel:mo,chevron:vo,listbox:xo,item:wo},Pe=s.createContext(null),bo=()=>{const e=s.useContext(Pe);if(!e)throw new Error("Select.Item must be inside a Select");return e},Ge=(e,n)=>`${e}-${encodeURIComponent(n)}`;function jo(e){const n=[],o=r=>{s.Children.forEach(r,l=>{if(!s.isValidElement(l))return;const a=l.props;l.type===Ke&&typeof a.value=="string"?n.push({value:a.value,label:a.children,disabled:a.disabled}):a.children&&o(a.children)})};return o(e),n}function yo({value:e,onValueChange:n,disabled:o,placeholder:r,animated:l=!0,className:a,children:c,...d}){const[p,g]=s.useState(!1),[i,h]=s.useState(null),w=s.useId(),j=s.useRef(null),_=s.useRef(null),v=s.useRef(null),[$,I]=s.useState(null),[k,H]=s.useState(null),D=s.useMemo(()=>jo(c),[c]),E=s.useMemo(()=>D.filter(u=>!u.disabled).map(u=>u.value),[D]),A=s.useMemo(()=>D.map(u=>u.label),[D]),T=s.useCallback(u=>{var L;return((L=D.find(R=>R.value===u))==null?void 0:L.label)??null},[D]);s.useEffect(()=>{if(!p)return;const u=L=>{_.current&&!_.current.contains(L.target)&&g(!1)};return document.addEventListener("mousedown",u),()=>document.removeEventListener("mousedown",u)},[p]),s.useLayoutEffect(()=>{if(!p)return;const u=j.current;if(!u)return;const L=u.getBoundingClientRect();I(u.offsetWidth);const R=window.innerHeight-L.bottom-16;H(Math.min(380,Math.max(120,R)))},[p]),s.useEffect(()=>{var u;p&&((u=v.current)==null||u.focus())},[p]);const M=u=>{h(u??E[0]??null),g(!0)},z=u=>{const L=i?E.indexOf(i):-1,R=Math.min(Math.max(L+u,0),E.length-1);h(E[R]??null)},y=e?T(e):null;return t.jsx(Pe.Provider,{value:{value:e,onValueChange:n,disabled:o,open:p,setOpen:g,highlighted:i,setHighlighted:h,listboxId:w,values:E,labelFor:T,triggerRef:j},children:t.jsxs("div",{ref:_,className:X.root,children:[t.jsxs("button",{type:"button",...d,ref:j,disabled:o,className:b(X.trigger,P.spaceControl,"spSelectTrigger",a),"data-animated":l?void 0:"false","data-state":p?"open":"closed","aria-haspopup":"listbox","aria-expanded":p,"aria-controls":w,onClick:()=>p?g(!1):M(e||null),onKeyDown:u=>{(u.key==="ArrowDown"||u.key==="Enter"||u.key===" ")&&(u.preventDefault(),M(e||null))},children:[t.jsxs("span",{className:X.labelWrap,children:[t.jsxs("span",{className:X.sizer,"data-sizer":"","aria-hidden":"true",children:[A.map((u,L)=>t.jsx("span",{children:u},L)),r&&t.jsx("span",{children:r})]}),t.jsx("span",{className:X.triggerLabel,children:y??r??""})]}),t.jsx("svg",{className:X.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:v,id:w,role:"listbox",tabIndex:-1,hidden:!p,"aria-activedescendant":i?Ge(w,i):void 0,className:b(X.listbox,P.spacePanel),"data-animated":l?void 0:"false",style:$!=null||k!=null?{...$!=null?{"--_select-trigger-width":`${$}px`}:{},...k!=null?{maxHeight:`${k}px`}:{}}:void 0,onKeyDown:u=>{var L,R;u.key==="Escape"?(u.stopPropagation(),g(!1),(L=j.current)==null||L.focus()):u.key==="ArrowDown"?(u.preventDefault(),z(1)):u.key==="ArrowUp"?(u.preventDefault(),z(-1)):u.key==="Home"?(u.preventDefault(),h(E[0]??null)):u.key==="End"?(u.preventDefault(),h(E[E.length-1]??null)):u.key==="Enter"||u.key===" "?(u.preventDefault(),i&&(n(i),g(!1),(R=j.current)==null||R.focus())):u.key==="Tab"&&g(!1)},children:c})]})})}function Ke({value:e,disabled:n,children:o}){const r=bo(),l=r.value===e,a=r.highlighted===e;return t.jsx("div",{id:Ge(r.listboxId,e),role:"option","aria-selected":l,"aria-disabled":n||void 0,"data-highlighted":a?"":void 0,className:b(X.item,"spSelectItem"),onMouseEnter:()=>!n&&r.setHighlighted(e),onClick:()=>{var c;n||(r.onValueChange(e),r.setOpen(!1),(c=r.triggerRef.current)==null||c.focus())},children:o})}const Lo=Object.assign(yo,{Item:Ke}),$o="_root_1lx7y_1",ko="_input_1lx7y_7",Ro="_slot_1lx7y_17",ye={root:$o,input:ko,slot:Ro},Mo=s.forwardRef(function({className:n,style:o,animated:r=!0,children:l,...a},c){return t.jsxs("div",{className:b(ye.root,P.spaceInput,"spTextFieldRoot",n),"data-animated":r?void 0:"false",style:o,children:[l,t.jsx("input",{...a,ref:c,className:b(ye.input,"spTextFieldInput")})]})});function Io({children:e}){return t.jsx("span",{className:ye.slot,children:e})}const Le=Object.assign(Mo,{Slot:Io}),No="_root_1qu6w_1",Eo="_textarea_1qu6w_6",Se={root:No,textarea:Eo},zo=s.forwardRef(function({className:n,style:o,animated:r=!0,...l},a){return t.jsx("div",{className:b(Se.root,P.spaceInput,P.spaceTextArea,"spTextFieldRoot",n),"data-animated":r?void 0:"false",style:o,children:t.jsx("textarea",{...l,ref:a,className:b(Se.textarea,"spTextAreaInput")})})}),So="_wrap_1rgfg_12",Do="_field_1rgfg_16",qo="_panel_1rgfg_22",Ho="_status_1rgfg_73",To="_list_1rgfg_83",Ao="_option_1rgfg_96",Bo="_active_1rgfg_108",Zo="_label_1rgfg_118",Oo="_meta_1rgfg_125",Vo="_footer_1rgfg_131",F={wrap:So,field:Do,panel:qo,status:Ho,list:To,option:Ao,active:Bo,label:Zo,meta:Oo,footer:Vo};function Wo({value:e,onValueChange:n,options:o,onSelect:r,icon:l,caseSensitive:a=!1,preFiltered:c=!1,loading:d=!1,loadingMessage:p="Loading…",emptyMessage:g,footer:i,animated:h=!0,className:w,style:j,..._}){const[v,$]=s.useState(!1),[I,k]=s.useState(0),H=s.useRef(null),D=s.useRef(null),E=s.useId(),A=f=>typeof f.label=="string"?f.label:f.search??f.value,T=e.trim()!=="",M=s.useMemo(()=>{if(!T)return[];if(c)return o;const f=a?e:e.toLowerCase();return o.filter(m=>(a?A(m):A(m).toLowerCase()).includes(f))},[o,e,a,c,T]),z=s.useMemo(()=>M.filter(f=>!f.disabled),[M]),y=T&&(M.length>0||d||g!=null),u=v&&y;s.useEffect(()=>k(0),[M]),s.useEffect(()=>{var m;if(!u)return;const f=(m=D.current)==null?void 0:m.querySelector(`[data-index="${I}"]`);f==null||f.scrollIntoView({block:"nearest"})},[I,u]);const L=s.useCallback(()=>$(!1),[]);s.useEffect(()=>{if(!u)return;const f=m=>{const Z=H.current;Z&&m.target instanceof Node&&!Z.contains(m.target)&&L()};return document.addEventListener("pointerdown",f),()=>document.removeEventListener("pointerdown",f)},[u,L]);const R=s.useRef(!1),C=f=>{f.disabled||(n(A(f)),r(f.value,f),R.current=!1,$(!1))},x=f=>{if(z.length===0)return;const m=M[I],B=((m&&!m.disabled?z.indexOf(m):-1)+f+z.length)%z.length,G=z[B];G&&k(M.indexOf(G))},N=f=>{if(f.key==="Escape"){u&&f.stopPropagation(),$(!1);return}if(f.key==="Tab"){$(!1);return}if(!u){f.key==="ArrowDown"&&$(!0);return}if(f.key==="ArrowDown")f.preventDefault(),R.current=!0,x(1);else if(f.key==="ArrowUp")f.preventDefault(),R.current=!0,x(-1);else if(f.key==="Home"){f.preventDefault(),R.current=!0;const m=z[0];m&&k(M.indexOf(m))}else if(f.key==="End"){f.preventDefault(),R.current=!0;const m=z[z.length-1];m&&k(M.indexOf(m))}else if(f.key==="Enter"||f.key===" "&&R.current){const m=M[I];m&&!m.disabled&&(f.preventDefault(),C(m))}},S=u?M[I]:void 0;return t.jsxs("div",{ref:H,className:b(F.wrap,w),style:j,children:[t.jsx(Le,{..._,type:_.type??"text",role:"combobox",animated:h,className:F.field,autoComplete:"off","aria-expanded":u,"aria-controls":E,"aria-autocomplete":"list","aria-activedescendant":S&&!S.disabled?`${E}-${I}`:void 0,value:e,onFocus:f=>{var m;(m=_.onFocus)==null||m.call(_,f),$(!0)},onClick:f=>{var m;(m=_.onClick)==null||m.call(_,f),$(!0)},onKeyDown:f=>{var m;(m=_.onKeyDown)==null||m.call(_,f),N(f)},onChange:f=>{R.current=!1,n(f.target.value),$(!0)},children:l!=null&&t.jsx(Le.Slot,{children:l})}),t.jsxs("div",{className:b(F.panel,P.spacePanel),hidden:!u,"data-animated":h?void 0:"false",children:[T&&d&&t.jsx("p",{className:F.status,children:p}),T&&!d&&M.length===0&&g!=null&&t.jsx("p",{className:F.status,children:g}),t.jsx("ul",{ref:D,id:E,role:"listbox",className:F.list,hidden:d||M.length===0,children:M.map((f,m)=>t.jsxs("li",{id:`${E}-${m}`,"data-index":m,role:"option","aria-selected":m===I,"aria-disabled":f.disabled||void 0,className:b(F.option,m===I&&!f.disabled&&F.active,"spAutocompleteOption"),onMouseEnter:()=>!f.disabled&&k(m),onPointerDown:Z=>{Z.preventDefault(),C(f)},children:[t.jsx("span",{className:F.label,children:f.label}),f.meta!=null&&t.jsx("span",{className:F.meta,children:f.meta})]},f.value))}),i!=null&&t.jsx("div",{className:F.footer,children:i})]})]})}const Fo="_root_14a1b_1",Po="_track_14a1b_12",Go="_range_14a1b_22",Ko="_thumb_14a1b_28",Uo="_input_14a1b_38",de={root:Fo,track:Po,range:Go,thumb:Ko,input:Uo},Xo=s.forwardRef(function({value:n,onValueChange:o,min:r,max:l,step:a,disabled:c,className:d,"aria-label":p},g){const i=n[0]??r,h=l===r?0:(i-r)/(l-r)*100;return t.jsxs("span",{className:b(de.root,P.spaceSlider,d),"data-disabled":c||void 0,children:[t.jsx("span",{className:b(de.track,"spSliderTrack"),children:t.jsx("span",{className:b(de.range,"spSliderRange"),style:{width:`${h}%`}})}),t.jsx("span",{className:b(de.thumb,"spSliderThumb"),style:{left:`${h}%`}}),t.jsx("input",{ref:g,type:"range",className:b(de.input,"spSliderInput"),value:i,min:r,max:l,step:a,disabled:c,"aria-label":p,onChange:w=>o([Number(w.target.value)])})]})}),Yo="_root_1qhel_2",Qo="_item_1qhel_8",Jo="_selfLabeled_1qhel_15",er="_input_1qhel_19",tr="_orb_1qhel_35",le={root:Yo,item:Qo,selfLabeled:Jo,input:er,orb:tr},Ue=s.createContext(null);function nr({value:e,onValueChange:n,disabled:o,className:r,children:l}){const a=s.useId();return t.jsx(Ue.Provider,{value:{value:e,onValueChange:n,disabled:o,name:a},children:t.jsx("div",{role:"radiogroup",className:b(le.root,r),children:l})})}function sr({value:e,disabled:n,children:o}){const r=s.useContext(Ue);if(!r)throw new Error("RadioGroup.Item must be inside a RadioGroup");const l=n||r.disabled,a=t.jsxs(t.Fragment,{children:[t.jsx("input",{type:"radio",className:le.input,name:r.name,value:e,checked:r.value===e,disabled:l,onChange:()=>r.onValueChange(e)}),t.jsx("span",{className:b(le.orb,"spRadioOrb"),"aria-hidden":"true"})]});return o==null?t.jsx("span",{className:le.item,children:a}):t.jsxs("label",{className:b(le.item,le.selfLabeled),children:[a,o]})}const or=Object.assign(nr,{Item:sr}),rr="_progress_1cre6_16",lr={progress:rr};function ar({value:e,max:n=100,className:o,style:r,...l}){const a=n>0?Math.min(Math.max(e/n*100,0),100):0;return t.jsx("div",{...l,role:"progressbar","aria-valuenow":e,"aria-valuemin":0,"aria-valuemax":n,className:b(lr.progress,o),style:r,children:t.jsx("div",{style:{width:`${a}%`,height:"100%"}})})}const cr="_message_1522x_14",ir="_info_1522x_44",ur="_warning_1522x_49",dr="_alert_1522x_56",fr="_icon_1522x_63",_r="_body_1522x_74",pr="_title_1522x_83",gr="_text_1522x_90",re={message:cr,info:ir,warning:ur,alert:dr,icon:fr,body:_r,title:pr,text:gr},Cr={info:t.jsx(Ae,{}),warning:t.jsx(Be,{}),alert:t.jsx(Ze,{})},hr={info:{role:"status",live:"polite"},warning:{role:"status",live:"polite"},alert:{role:"alert"}},mr=s.forwardRef(function({variant:n="info",title:o,icon:r,className:l,children:a,...c},d){const p=r===void 0?Cr[n]:r,{role:g,live:i}=hr[n];return t.jsxs("div",{...c,ref:d,role:g,"aria-live":i,className:b(re.message,re[n],l),children:[p!=null&&t.jsx("span",{className:re.icon,"aria-hidden":"true",children:p}),t.jsxs("div",{className:re.body,children:[o!=null&&t.jsx("p",{className:re.title,children:o}),a!=null&&t.jsx("div",{className:re.text,children:a})]})]})}),vr="_dialog_zbndh_2",xr="_inner_zbndh_71",wr="_size4_zbndh_76",br="_title_zbndh_80",jr="_closeX_zbndh_88",_e={dialog:vr,inner:xr,size4:wr,title:br,closeX:jr};let be=0;const Xe=s.createContext(null),Ce=()=>{const e=s.useContext(Xe);if(!e)throw new Error("Dialog parts must be inside a Dialog");return e};function Ye(e){return function({open:o,onOpenChange:r,children:l}){const[a,c]=s.useState(!1),d=o!==void 0,p=d?o:a,g=_=>{d||c(_),r==null||r(_)},i=s.useId(),h=s.useId(),[w,j]=s.useState(!1);return t.jsx(Xe.Provider,{value:{open:p,setOpen:g,titleId:i,descId:h,alert:e,hasDesc:w,setHasDesc:j},children:l})}}const yr=Ye(!1),Qe=(e,n)=>{if(!s.isValidElement(e))return e;const o=e;return s.cloneElement(o,{onClick:r=>{var l,a;(a=(l=o.props).onClick)==null||a.call(l,r),n()}})};function Je({children:e}){const n=Ce();return t.jsx(t.Fragment,{children:Qe(e,()=>n.setOpen(!0))})}function Re({children:e}){const n=Ce();return t.jsx(t.Fragment,{children:Qe(e,()=>n.setOpen(!1))})}function et({size:e="3",maxWidth:n,className:o,style:r,children:l,...a}){const c=Ce(),d=s.useRef(null),p=s.useRef(!1),g=s.useRef(!1);return s.useEffect(()=>{const i=d.current;i&&(c.open&&!i.open?i.showModal():!c.open&&i.open&&i.close())},[c.open]),s.useEffect(()=>{if(c.open)return be+=1,be===1&&(document.body.style.overflow="hidden"),()=>{be-=1,be===0&&(document.body.style.overflow="")}},[c.open]),t.jsx("dialog",{...a,ref:d,role:c.alert?"alertdialog":void 0,"aria-labelledby":c.titleId,"aria-describedby":c.hasDesc?c.descId:void 0,className:b(_e.dialog,"spDialog",e==="4"&&_e.size4,o),style:{...n?{maxWidth:n}:null,...r},onKeyDownCapture:i=>{var h,w;i.key==="Escape"&&((h=d.current)!=null&&h.querySelector("dialog[open]")||(w=d.current)!=null&&w.querySelector('[role="listbox"]:not([hidden])')&&(p.current=!0))},onCancel:i=>{if(i.preventDefault(),p.current){p.current=!1;return}c.setOpen(!1)},onClose:()=>{c.open&&c.setOpen(!1)},onPointerDown:i=>{g.current=i.target===d.current},onClick:i=>{!c.alert&&i.target===d.current&&g.current&&c.setOpen(!1)},children:t.jsxs("div",{className:_e.inner,children:[!c.alert&&t.jsx("button",{type:"button",className:_e.closeX,"aria-label":"Close",onClick:()=>c.setOpen(!1),children:t.jsx(Te,{width:16,height:16})}),l]})})}function tt({className:e,...n}){const o=Ce();return t.jsx(He,{as:"h2",size:"5",...n,id:o.titleId,className:b(_e.title,e)})}function nt(e){const n=Ce(),{setHasDesc:o}=n;return s.useLayoutEffect(()=>(o(!0),()=>o(!1)),[o]),t.jsx(qe,{as:"p",...e,id:n.descId})}const Lr=Object.assign(yr,{Trigger:Je,Close:Re,Content:et,Title:tt,Description:nt}),$r=Re,kr=Re,Rr=Object.assign(Ye(!0),{Trigger:Je,Content:et,Title:tt,Description:nt,Cancel:$r,Action:kr}),Mr="_menu_11ctg_1",Ir="_label_11ctg_51",Nr="_item_11ctg_61",Er="_danger_11ctg_80",zr="_separator_11ctg_84",ge={menu:Mr,label:Ir,item:Nr,danger:Er,separator:zr},st=s.createContext(null),Sr=()=>{const e=s.useContext(st);if(!e)throw new Error("DropdownMenu parts must be inside a DropdownMenu");return e};function Dr({label:e,align:n="start",children:o,...r}){const[l,a]=s.useState(!1),c=s.useId(),d=s.useRef(null),p=s.useRef(null),g=s.useRef(null),i=s.useRef(l);i.current=l;const h=s.useCallback(_=>{i.current!==_&&(i.current=_,a(_))},[]),[w,j]=s.useState(null);return s.useLayoutEffect(()=>{var v;const _=p.current;if(_)if(l){const $=d.current;if($){const I=$.getBoundingClientRect(),k=n==="end"?"auto":I.left,H=n==="end"?window.innerWidth-I.right:"auto";j({top:I.bottom+6,left:k,right:H})}_.showPopover(),(v=_.querySelector('[role="menuitem"]'))==null||v.focus()}else _.matches(":popover-open")&&_.hidePopover()},[l,n]),s.useEffect(()=>{if(!l)return;const _=()=>h(!1);return window.addEventListener("resize",_),()=>window.removeEventListener("resize",_)},[l]),t.jsxs(st.Provider,{value:{open:l,setOpen:h,menuId:c},children:[t.jsx(pe,{...r,ref:d,"aria-haspopup":"menu","aria-expanded":l,"aria-controls":c,onPointerDown:_=>{var v;(v=r.onPointerDown)==null||v.call(r,_),g.current=!i.current},onKeyDown:_=>{var v;(v=r.onKeyDown)==null||v.call(r,_),(_.key==="Enter"||_.key===" ")&&(g.current=null)},onClick:_=>{var $;($=r.onClick)==null||$.call(r,_);const v=g.current??!i.current;g.current=null,h(v)},children:e}),t.jsx("div",{ref:p,id:c,role:"menu",popover:"auto",className:ge.menu,style:w?{top:w.top,left:w.left==="auto"?"auto":w.left,right:w.right==="auto"?"auto":w.right}:void 0,onToggle:_=>{_.nativeEvent.newState==="closed"&&h(!1)},onKeyDown:_=>{var I,k,H,D,E,A;const v=Array.from(((I=p.current)==null?void 0:I.querySelectorAll('[role="menuitem"]'))??[]),$=v.indexOf(document.activeElement);_.key==="ArrowDown"?(_.preventDefault(),(k=v[Math.min($+1,v.length-1)])==null||k.focus()):_.key==="ArrowUp"?(_.preventDefault(),(H=v[Math.max($-1,0)])==null||H.focus()):_.key==="Home"?(_.preventDefault(),(D=v[0])==null||D.focus()):_.key==="End"?(_.preventDefault(),(E=v[v.length-1])==null||E.focus()):_.key==="Escape"&&(h(!1),(A=d.current)==null||A.focus())},children:o})]})}function qr({children:e}){return t.jsx("div",{className:ge.label,children:e})}function Hr({asChild:e,color:n,onSelect:o,children:r}){const l=Sr(),a=b(ge.item,n==="danger"&&ge.danger),c=()=>{l.setOpen(!1),o==null||o()};if(e&&s.isValidElement(r)){const d=r,{className:p,onClick:g,children:i,role:h,tabIndex:w,...j}=d.props,_=d.ref;return s.createElement(d.type,{key:d.key,ref:_,role:"menuitem",tabIndex:-1,...j,className:b(a,p),onClick:v=>{g==null||g(v),l.setOpen(!1)}},i)}return t.jsx("button",{type:"button",role:"menuitem",tabIndex:-1,className:a,onClick:c,children:r})}function Tr(){return t.jsx("div",{role:"separator",className:ge.separator})}const Ar=Object.assign(Dr,{Item:Hr,Separator:Tr,Label:qr}),Br="_list_1hc3r_19",Zr="_trigger_1hc3r_28",ot={list:Br,trigger:Zr},rt=s.createContext(null),lt=()=>{const e=s.useContext(rt);if(!e)throw new Error("Tabs parts must be inside a Tabs");return e};function Or({value:e,onValueChange:n,className:o,children:r}){const l=s.useId();return t.jsx(rt.Provider,{value:{value:e,onValueChange:n,id:l},children:t.jsx("div",{className:o,children:r})})}function Vr({children:e}){return t.jsx("div",{role:"tablist",className:b(ot.list,"spTabsList"),onKeyDown:n=>{const o=Array.from(n.currentTarget.querySelectorAll('[role="tab"]')),r=o.indexOf(document.activeElement);if(r!==-1){if(n.key==="ArrowRight"){n.preventDefault();const l=o[(r+1)%o.length];l.focus(),l.click()}else if(n.key==="ArrowLeft"){n.preventDefault();const l=o[(r-1+o.length)%o.length];l.focus(),l.click()}else if(n.key==="Home"){n.preventDefault();const l=o[0];l.focus(),l.click()}else if(n.key==="End"){n.preventDefault();const l=o[o.length-1];l.focus(),l.click()}}},children:e})}function Wr({value:e,className:n,children:o,...r}){const l=lt(),a=l.value===e;return t.jsx("button",{...r,type:"button",role:"tab",id:`${l.id}-tab-${e}`,"aria-selected":a,"aria-controls":`${l.id}-panel-${e}`,tabIndex:a?0:-1,"data-state":a?"active":"inactive",className:b(ot.trigger,"spTabsTrigger",n),onClick:()=>l.onValueChange(e),children:o})}function Fr({value:e,children:n}){const o=lt();return o.value!==e?null:t.jsx("div",{role:"tabpanel",id:`${o.id}-panel-${e}`,"aria-labelledby":`${o.id}-tab-${e}`,children:n})}const Pr=Object.assign(Or,{List:Vr,Trigger:Wr,Content:Fr}),Gr="_panel_4us94_9",Kr={panel:Gr},De=8,fe=8,Ur='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';function Xr({label:e,children:n,open:o,onOpenChange:r,defaultOpen:l=!1,side:a="bottom",align:c="start",panelClassName:d,onClick:p,...g}){const[i,h]=s.useState(l),w=o!==void 0,j=w?o:i,_=s.useId(),v=s.useId(),$=s.useRef(null),I=s.useRef(null),[k,H]=s.useState(null),D=s.useRef(!1),E=s.useRef(!1),A=s.useRef(null),T=s.useRef(j);T.current=j;const M=s.useCallback(y=>{T.current!==y&&(T.current=y,w||h(y),r==null||r(y))},[w,r]),z=s.useCallback(()=>{const y=$.current,u=I.current;if(!y||!u)return;const L=y.getBoundingClientRect(),R=u.offsetWidth,C=u.offsetHeight,x=L.bottom+De,N=L.top-C-De,S=x+C<=window.innerHeight-fe,f=N>=fe,m=a==="bottom"?S||!f?x:N:f||!S?N:x,Z=m===x?"bottom":"top";u.dataset.side=Z;const B=c==="start"?L.left:c==="end"?L.right-R:L.left+L.width/2-R/2,G=Math.min(Math.max(B,fe),Math.max(window.innerWidth-R-fe,fe));H(K=>K&&K.top===m&&K.left===G&&K.placed===Z?K:{top:m,left:G,placed:Z})},[a,c]);return s.useLayoutEffect(()=>{const y=I.current;y&&(j?(We(y,z),z(),D.current&&(D.current=!1,(y.querySelector(Ur)??y).focus({preventScroll:!0}))):y.matches(":popover-open")&&y.hidePopover())},[j,z]),s.useEffect(()=>{if(!j)return;let y=0,u="";const L=()=>{const R=$.current,C=I.current;if(R&&C){const x=R.getBoundingClientRect(),N=`${x.top}|${x.left}|${x.width}|${x.height}|${C.offsetWidth}|${C.offsetHeight}|${window.innerWidth}|${window.innerHeight}`;N!==u&&(u=N,z())}y=requestAnimationFrame(L)};return y=requestAnimationFrame(L),()=>cancelAnimationFrame(y)},[j,z]),t.jsxs(t.Fragment,{children:[t.jsx(pe,{...g,ref:$,id:_,"aria-haspopup":"dialog","aria-expanded":j,"aria-controls":v,onPointerDown:y=>{var u;(u=g.onPointerDown)==null||u.call(g,y),A.current=!T.current},onKeyDown:y=>{var u;(u=g.onKeyDown)==null||u.call(g,y),(y.key==="Enter"||y.key===" ")&&(A.current=null)},onClick:y=>{p==null||p(y);const u=A.current??!T.current;A.current=null,u&&(D.current=!0),M(u)},children:e}),t.jsx("div",{ref:I,id:v,popover:"auto",role:"dialog","aria-labelledby":_,tabIndex:-1,className:b(Kr.panel,P.spacePanel,d),"data-animated":g.animated===!1?"false":void 0,"data-side":(k==null?void 0:k.placed)??a,style:k?{top:k.top,left:k.left}:void 0,onKeyDown:y=>{y.key==="Escape"&&(E.current=!0,y.stopPropagation())},onToggle:y=>{var u;y.nativeEvent.newState==="closed"&&(E.current&&(E.current=!1,(u=$.current)==null||u.focus()),M(!1))},children:n})]})}exports.AlertDialog=Rr;exports.Autocomplete=Wo;exports.Badge=qn;exports.BookmarkIcon=ws;exports.Box=sn;exports.Button=pe;exports.Card=Vn;exports.Carousel=Es;exports.ChatBubbleIcon=ls;exports.CheckIcon=fs;exports.ChevronDownIcon=xs;exports.ChevronLeftIcon=ke;exports.ChevronRightIcon=$e;exports.ChevronUpIcon=vs;exports.CrossCircledIcon=Ze;exports.Dialog=Lr;exports.DropdownMenu=Ar;exports.EnterFullScreenIcon=ds;exports.ExclamationTriangleIcon=Be;exports.ExitFullScreenIcon=us;exports.Flex=nn;exports.Grid=vn;exports.Heading=He;exports.HeartFilledIcon=is;exports.HeartIcon=ms;exports.IconToggle=_o;exports.InfoCircledIcon=Ae;exports.Link=Dt;exports.Loader=no;exports.MagnifyingGlassIcon=hs;exports.Message=mr;exports.MinusIcon=Cs;exports.Pagination=Gs;exports.Pencil1Icon=cs;exports.PersonIcon=gs;exports.PlusIcon=as;exports.Popover=Xr;exports.Progress=ar;exports.QuestionMarkCircledIcon=ps;exports.RadioGroup=or;exports.Select=Lo;exports.Separator=An;exports.Share2Icon=rs;exports.Slider=Xo;exports.Tabs=Pr;exports.Text=qe;exports.TextArea=zo;exports.TextField=Le;exports.Tooltip=Fe;exports.TrashIcon=_s;exports.XIcon=Te;exports.pageCount=Oe;exports.pageWindow=Ve;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),t=require("react/jsx-runtime"),fe={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 te({m:e,mt:n,mb:s,p:o,pb:a},l){const c={...e!==void 0&&{margin:fe[e]},...n!==void 0&&{marginTop:fe[n]},...s!==void 0&&{marginBottom:fe[s]},...o!==void 0&&{padding:fe[o]},...a!==void 0&&{paddingBottom:fe[a]},...l};return Object.keys(c).length>0?c:void 0}function v(...e){return e.filter(Boolean).join(" ")}const pt="_text_4vcq4_1",gt="_size1_4vcq4_5",Ct="_size2_4vcq4_11",mt="_size3_4vcq4_16",ht="_size4_4vcq4_21",xt="_size5_4vcq4_27",vt="_size6_4vcq4_33",bt="_medium_4vcq4_39",wt="_bold_4vcq4_43",jt="_colorMuted_4vcq4_47",yt="_colorDanger_4vcq4_51",kt="_colorSuccess_4vcq4_55",Lt="_colorWarning_4vcq4_59",ye={text:pt,size1:gt,size2:Ct,size3:mt,size4:ht,size5:xt,size6:vt,medium:bt,bold:wt,colorMuted:jt,colorDanger:yt,colorSuccess:kt,colorWarning:Lt},Be=r.forwardRef(function({as:n="span",size:s,weight:o,color:a,className:l,style:c,m:d,mt:_,mb:g,p:u,pb:C,...b},w){return r.createElement(n,{...b,ref:w,className:v(ye.text,s&&ye[`size${s}`],o&&ye[o],a&&ye[`color${a[0].toUpperCase()}${a.slice(1)}`],l),style:te({m:d,mt:_,mb:g,p:u,pb:C},c)})}),$t="_heading_vs4zk_1",Rt="_size4_vs4zk_7",Mt="_size5_vs4zk_13",Nt="_size6_vs4zk_19",It="_size7_vs4zk_25",Et="_size8_vs4zk_31",zt="_size9_vs4zk_37",St="_colorMuted_vs4zk_43",Dt="_colorDanger_vs4zk_47",qt="_alignCenter_vs4zk_51",_e={heading:$t,size4:Rt,size5:Mt,size6:Nt,size7:It,size8:Et,size9:zt,colorMuted:St,colorDanger:Dt,alignCenter:qt},Ze=r.forwardRef(function({as:n="h2",size:s,color:o,align:a,className:l,style:c,m:d,mt:_,mb:g,p:u,pb:C,...b},w){return r.createElement(n,{...b,ref:w,className:v(_e.heading,s&&_e[`size${s}`],o==="muted"&&_e.colorMuted,o==="danger"&&_e.colorDanger,a==="center"&&_e.alignCenter,l),style:te({m:d,mt:_,mb:g,p:u,pb:C},c)})}),Ht="_link_1qa7j_1",Tt="_size1_1qa7j_10",At="_size2_1qa7j_16",Bt="_size3_1qa7j_21",qe={link:Ht,size1:Tt,size2:At,size3:Bt},Zt=r.forwardRef(function({asChild:n,size:s,className:o,style:a,m:l,mt:c,mb:d,p:_,pb:g,children:u,...C},b){const w=v(qe.link,s&&qe[`size${s}`],o),p=te({m:l,mt:c,mb:d,p:_,pb:g},a);if(n&&r.isValidElement(u)){const x=u;return r.cloneElement(x,{...C,className:v(w,x.props.className),style:{...p,...x.props.style}})}return t.jsx("a",{...C,ref:b,className:w,style:p,children:u})}),Ot="_flex_v4ziu_1",Wt="_gap1_v4ziu_5",Vt="_gap2_v4ziu_9",Ft="_gap3_v4ziu_13",Pt="_gap4_v4ziu_17",Gt="_gap5_v4ziu_21",Kt="_gap6_v4ziu_25",Ut="_directionRow_v4ziu_29",Xt="_directionColumn_v4ziu_33",Yt="_alignStart_v4ziu_37",Qt="_alignCenter_v4ziu_41",Jt="_alignEnd_v4ziu_45",en="_alignBaseline_v4ziu_49",tn="_alignStretch_v4ziu_53",nn="_justifyStart_v4ziu_57",sn="_justifyCenter_v4ziu_61",on="_justifyEnd_v4ziu_65",rn="_justifyBetween_v4ziu_69",an="_wrapWrap_v4ziu_73",ln="_wrapNowrap_v4ziu_77",le={flex:Ot,gap1:Wt,gap2:Vt,gap3:Ft,gap4:Pt,gap5:Gt,gap6:Kt,directionRow:Ut,directionColumn:Xt,alignStart:Yt,alignCenter:Qt,alignEnd:Jt,alignBaseline:en,alignStretch:tn,justifyStart:nn,justifyCenter:sn,justifyEnd:on,justifyBetween:rn,wrapWrap:an,wrapNowrap:ln},ke=e=>e[0].toUpperCase()+e.slice(1),cn=r.forwardRef(function({asChild:n,gap:s,direction:o,align:a,justify:l,wrap:c,className:d,style:_,m:g,mt:u,mb:C,p:b,pb:w,children:p,...x},L){const M=v(le.flex,s&&le[`gap${s}`],o&&le[`direction${ke(o)}`],a&&le[`align${ke(a)}`],l&&le[`justify${ke(l)}`],c&&le[`wrap${ke(c)}`],d),$=te({m:g,mt:u,mb:C,p:b,pb:w},_);if(n&&r.isValidElement(p)){const H=p;return r.cloneElement(H,{...x,className:v(M,H.props.className),style:{...$,...H.props.style}})}return t.jsx("div",{...x,ref:L,className:M,style:$,children:p})}),un=r.forwardRef(function({style:n,m:s,mt:o,mb:a,p:l,pb:c,...d},_){return t.jsx("div",{...d,ref:_,style:te({m:s,mt:o,mb:a,p:l,pb:c},n)})}),dn="_grid_erpqq_1",fn="_cols1_erpqq_5",_n="_cols2_erpqq_9",pn="_cols3_erpqq_13",gn="_smCols2_erpqq_18",Cn="_smCols3_erpqq_21",mn="_mdCols2_erpqq_26",hn="_mdCols3_erpqq_29",xn="_gap1_erpqq_33",vn="_gap2_erpqq_37",bn="_gap3_erpqq_41",wn="_gap4_erpqq_45",jn="_gap5_erpqq_49",yn="_gap6_erpqq_53",ce={grid:dn,cols1:fn,cols2:_n,cols3:pn,smCols2:gn,smCols3:Cn,mdCols2:mn,mdCols3:hn,gap1:xn,gap2:vn,gap3:bn,gap4:wn,gap5:jn,gap6:yn},kn=r.forwardRef(function({columns:n,gap:s,className:o,style:a,m:l,mt:c,mb:d,p:_,pb:g,...u},C){const b=typeof n=="string"?[ce[`cols${n}`]]:n?[n.initial&&ce[`cols${n.initial}`],n.sm&&ce[`smCols${n.sm}`],n.md&&ce[`mdCols${n.md}`]]:[];return t.jsx("div",{...u,ref:C,className:v(ce.grid,...b,s&&ce[`gap${s}`],o),style:te({m:l,mt:c,mb:d,p:_,pb:g},a)})}),Ln="_badge_1twqf_2",$n="_size1_1twqf_10",Rn="_size2_1twqf_19",Mn="_colorMuted_1twqf_28",Nn="_colorPrimary_1twqf_33",In="_colorSuccess_1twqf_38",En="_colorDanger_1twqf_43",zn="_colorWarning_1twqf_48",Sn="_colorCyan_1twqf_53",Dn="_colorPurple_1twqf_58",qn="_colorOrange_1twqf_63",Hn="_colorAccent_1twqf_68",Tn="_colorYellow_1twqf_73",An="_solid_1twqf_81",Bn="_wrap_1twqf_89",pe={badge:Ln,size1:$n,size2:Rn,colorMuted:Mn,colorPrimary:Nn,colorSuccess:In,colorDanger:En,colorWarning:zn,colorCyan:Sn,colorPurple:Dn,colorOrange:qn,colorAccent:Hn,colorYellow:Tn,solid:An,wrap:Bn},Zn=e=>e[0].toUpperCase()+e.slice(1),On=r.forwardRef(function({color:n="primary",variant:s="soft",size:o="1",wrap:a,className:l,style:c,m:d,mt:_,mb:g,p:u,pb:C,...b},w){return t.jsx("span",{...b,ref:w,className:v(pe.badge,pe[`color${Zn(n)}`],s==="solid"&&pe.solid,pe[`size${o}`],a&&pe.wrap,l),style:te({m:d,mt:_,mb:g,p:u,pb:C},c)})}),Wn="_separator_vao01_1",Vn="_full_vao01_7",He={separator:Wn,full:Vn},Fn=r.forwardRef(function({size:n="4",className:s,...o},a){return t.jsx("span",{...o,ref:a,role:"separator",className:v(He.separator,n==="4"&&He.full,s)})}),Pn="_card_1ooot_2",Gn="_image_1ooot_14",Kn="_hasImage_1ooot_41",Me={card:Pn,image:Gn,hasImage:Kn},Un=r.forwardRef(function({className:n,style:s,image:o,children:a,m:l,mt:c,mb:d,p:_,pb:g,...u},C){return t.jsxs("div",{...u,ref:C,className:v(Me.card,o!=null&&Me.hasImage,n),style:te({m:l,mt:c,mb:d,p:_,pb:g},s),children:[o!=null&&t.jsx("div",{className:Me.image,children:o}),a]})}),Xn="_spaceButton_kjhqx_14",Yn="_rimRotate_kjhqx_1",Qn="_glintSweep_kjhqx_1",Jn="_iconOnly_kjhqx_97",es="_lg_kjhqx_104",ts="_sm_kjhqx_110",ns="_micro_kjhqx_122",ss="_stars_kjhqx_136",os="_fullWidth_kjhqx_141",rs="_ember_kjhqx_147",as="_label_kjhqx_157",ls="_star_kjhqx_136",cs="_twinkle_kjhqx_1",J={spaceButton:Xn,rimRotate:Yn,glintSweep:Qn,iconOnly:Jn,lg:es,sm:ts,micro:ns,stars:ss,fullWidth:os,ember:rs,label:as,star:ls,twinkle:cs};function is(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 us(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 xe=r.forwardRef(function({iconOnly:n,ember:s,size:o="md",fullWidth:a,animated:l=!0,className:c,children:d,..._},g){const u=r.useId(),C=r.useMemo(()=>{const w=is(us(u));return Array.from({length:3},()=>({top:`${12+w()*58}%`,left:`${8+w()*80}%`,animationDelay:`${(w()*3.2).toFixed(2)}s`,animationDuration:`${(2.8+w()*1.8).toFixed(2)}s`}))},[u]),b=[J.spaceButton,n?J.iconOnly:"",s?J.ember:"",o!=="md"?J[o]:"",a?J.fullWidth:"",c??""].filter(Boolean).join(" ");return t.jsxs("button",{ref:g,className:b,"data-animated":l?void 0:"false",..._,children:[o!=="micro"&&t.jsx("span",{className:J.stars,"aria-hidden":!0,children:C.map((w,p)=>t.jsx("i",{className:J.star,style:w},p))}),t.jsx("span",{className:J.label,children:d})]})}),q={width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0};function ds(e){return t.jsx("svg",{...q,...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 fs(e){return t.jsx("svg",{...q,...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 _s(e){return t.jsx("svg",{...q,...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 ps(e){return t.jsx("svg",{...q,...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 gs(e){return t.jsx("svg",{...q,...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 Cs(e){return t.jsx("svg",{...q,...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 ms(e){return t.jsx("svg",{...q,...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 hs(e){return t.jsx("svg",{...q,...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 xs(e){return t.jsx("svg",{...q,...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 vs(e){return t.jsx("svg",{...q,...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 bs(e){return t.jsx("svg",{...q,...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 ws(e){return t.jsx("svg",{...q,...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 js(e){return t.jsx("svg",{...q,...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 ys(e){return t.jsx("svg",{...q,...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 ks(e){return t.jsx("svg",{...q,...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 Ls(e){return t.jsx("svg",{...q,...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 Ee(e){return t.jsx("svg",{...q,...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 ze(e){return t.jsx("svg",{...q,...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 $s(e){return t.jsx("svg",{...q,...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 Oe(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 We(e){return t.jsx("svg",{...q,...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 Ve(e){return t.jsx("svg",{...q,...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 Fe(e){return t.jsx("svg",{...q,...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 Rs="_root_p5j1t_12",Ms="_viewport_p5j1t_17",Ns="_track_p5j1t_21",Is="_slide_p5j1t_66",Es="_arrow_p5j1t_78",zs="_prev_p5j1t_99",Ss="_next_p5j1t_104",Ds="_arrowButton_p5j1t_109",qs="_dots_p5j1t_115",Hs="_dot_p5j1t_115",P={root:Rs,viewport:Ms,track:Ns,slide:Is,arrow:Es,prev:zs,next:Ss,arrowButton:Ds,dots:qs,dot:Hs};function Ts({children:e,perView:n=1,step:s="item",showPagination:o=!1,animated:a=!0,className:l,"aria-label":c="Carousel",...d}){const _=r.Children.toArray(e),g=_.length,u=r.useId(),C=r.useRef(null),b=s==="page"?Math.max(1,Math.floor(n)):1,w=g<=n?1:s==="page"?Math.ceil((g-n)/b)+1:Math.ceil(g-n)+1,[p,x]=r.useState(b),[L,M]=r.useState(Math.max(1,w)),[$,H]=r.useState(0),[z,I]=r.useState(!0),[Z,T]=r.useState(g<=n),R=r.useRef([0]),E=r.useRef(0),j=r.useRef(0),f=r.useRef(()=>{}),y=r.useCallback(()=>{const h=C.current;if(!h)return;const i=h.scrollLeft,m=Math.max(0,h.scrollWidth-h.clientWidth);if(Math.abs(m-E.current)>1){f.current();return}const N=i<=1,D=i>=j.current-1;let B=0;D?B=R.current.length-1:N||R.current.forEach((F,Y)=>{Math.abs(F-i)<=Math.abs(R.current[B]-i)&&(B=Y)}),H(B),I(N),T(D)},[]),k=r.useCallback(()=>{const h=C.current;if(!h)return;const i=Array.from(h.children);if(!i.length)return;const m=Math.max(0,h.scrollWidth-h.clientWidth),N=i[0],D=i.length>1?i[1].offsetLeft-N.offsetLeft-N.offsetWidth:0,B=(h.clientWidth+D)/(N.offsetWidth+D),F=s==="page"?Math.max(1,Math.floor(B+.01)):1,Y=i[i.length-1],Q=Math.round(Math.max(0,Math.min(m,Y.offsetLeft-N.offsetLeft+Y.offsetWidth-h.clientWidth))),K=[];i.forEach((re,we)=>{if(we%F!==0)return;const de=Math.round(Math.min(re.offsetLeft-N.offsetLeft,Q));K[K.length-1]!==de&&K.push(de)}),Q>0&&K[K.length-1]<Q-1&&K.push(Q),R.current=K,E.current=Math.round(m),j.current=Q,x(F),M(K.length),y()},[s,y]);r.useLayoutEffect(()=>{f.current=k,k()},[k,g]),r.useEffect(()=>{const h=C.current;if(!h)return;const i=new ResizeObserver(()=>k());i.observe(h);let m=0;const N=()=>{cancelAnimationFrame(m),m=requestAnimationFrame(y)};return h.addEventListener("scroll",N,{passive:!0}),()=>{i.disconnect(),cancelAnimationFrame(m),h.removeEventListener("scroll",N)}},[k,y]),r.useEffect(()=>{const h=C.current;if(!h)return;const i=4;let m=null,N=0,D=0,B=!1,F=0;const Y=()=>{clearTimeout(F),delete h.dataset.settling},Q=O=>{O.pointerType!=="mouse"||O.button!==0||h.scrollWidth<=h.clientWidth||(Y(),m=O.pointerId,N=O.clientX,D=h.scrollLeft,B=!1)},K=O=>{if(O.pointerId!==m)return;const ne=O.clientX-N;if(!B){if(Math.abs(ne)<i)return;B=!0,h.setPointerCapture(O.pointerId),h.dataset.dragging=""}h.scrollLeft=D-ne},re=O=>{if(O.pointerId!==m||(m=null,!B))return;delete h.dataset.dragging;const ne=h.scrollLeft,je=R.current;let se=je.reduce((ae,De)=>Math.abs(De-ne)<Math.abs(ae-ne)?De:ae,je[0]);ne>D+1&&se<=D+1?se=je.find(ae=>ae>D+1)??se:ne<D-1&&se>=D-1&&(se=[...je].reverse().find(ae=>ae<D-1)??se),h.dataset.settling="";const _t=window.matchMedia("(prefers-reduced-motion: reduce)").matches;h.scrollTo({left:se,behavior:_t?"auto":"smooth"}),h.addEventListener("scrollend",Y,{once:!0}),F=window.setTimeout(Y,700)},we=O=>{B&&(B=!1,O.preventDefault(),O.stopPropagation())},de=O=>O.preventDefault();return h.addEventListener("pointerdown",Q),h.addEventListener("pointermove",K),h.addEventListener("pointerup",re),h.addEventListener("pointercancel",re),h.addEventListener("click",we,!0),h.addEventListener("dragstart",de),()=>{Y(),h.removeEventListener("pointerdown",Q),h.removeEventListener("pointermove",K),h.removeEventListener("pointerup",re),h.removeEventListener("pointercancel",re),h.removeEventListener("click",we,!0),h.removeEventListener("dragstart",de)}},[]);const A=h=>{var i;return(i=C.current)==null?void 0:i.scrollTo({left:h})},S=h=>{const i=C.current;if(!i)return;const m=i.scrollLeft,N=h>0?R.current.find(D=>D>m+1):[...R.current].reverse().find(D=>D<m-1);N!==void 0&&A(N)},W=L>1;return t.jsxs("section",{...d,"aria-roledescription":"carousel","aria-label":c,className:v(P.root,l),"data-scrollable":W?"":void 0,children:[t.jsxs("div",{className:P.viewport,children:[t.jsx("div",{ref:C,id:u,className:P.track,tabIndex:0,style:{"--_view-count-default":n},children:_.map((h,i)=>t.jsx("div",{className:P.slide,role:"group","aria-roledescription":"slide","aria-label":`${i+1} of ${g}`,"data-snap":i%p===0?"":void 0,children:h},h.key??i))}),t.jsx("span",{className:v(P.arrow,P.prev),children:t.jsx(xe,{iconOnly:!0,className:P.arrowButton,animated:a,"aria-label":"Previous","aria-controls":u,disabled:z,onClick:()=>S(-1),children:t.jsx(ze,{"aria-hidden":"true"})})}),t.jsx("span",{className:v(P.arrow,P.next),children:t.jsx(xe,{iconOnly:!0,className:P.arrowButton,animated:a,"aria-label":"Next","aria-controls":u,disabled:Z,onClick:()=>S(1),children:t.jsx(Ee,{"aria-hidden":"true"})})})]}),o&&W&&t.jsx("div",{className:P.dots,children:Array.from({length:L},(h,i)=>t.jsx("button",{type:"button",className:P.dot,"aria-label":s==="page"?`Page ${i+1} of ${L}`:`Position ${i+1} of ${L}`,"aria-controls":u,"aria-current":i===$?"true":void 0,onClick:()=>A(R.current[i]??0)},i))})]})}const As="_nav_f248a_6",Bs="_pages_f248a_21",Zs="_item_f248a_30",Os="_current_f248a_48",Ws="_page_f248a_21",Vs="_gap_f248a_82",Fs="_stepText_f248a_92",Ps="_step_f248a_92",G={nav:As,pages:Bs,item:Zs,current:Os,page:Ws,gap:Vs,stepText:Fs,step:Ps},Gs="_spaceControl_4ou97_17",Ks="_spaceSlider_4ou97_74",Us="_spacePanel_4ou97_111",Xs="_spaceInput_4ou97_34",Ys="_spaceTextArea_4ou97_226",Qs={spaceControl:Gs,spaceSlider:Ks,spacePanel:Us,spaceInput:Xs,spaceTextArea:Ys},X=Qs;function Pe({pageSize:e,totalItems:n}){return e<=0?1:Math.max(1,Math.ceil(n/e))}function Ge(e,n,s=1){const o=(C,b)=>Array.from({length:Math.max(0,b-C+1)},(w,p)=>C+p),a=s*2+5;if(n<=a)return o(1,n);const l=Math.min(Math.max(e,1),n),c=Math.max(l-s,1),d=Math.min(l+s,n),_=c>3,g=d<n-2,u=s*2+3;return _?g?[1,null,...o(c,d),null,n]:[1,null,...o(n-u+1,n)]:[...o(1,u),null,n]}function Js({pagination:e,onPageClick:n,siblings:s=1,animated:o=!0,className:a,"aria-label":l="Pagination",...c}){const d=Pe(e);if(d<=1)return null;const _=Math.min(Math.max(e.page,1),d),g=u=>{u!==_&&u>=1&&u<=d&&n(u)};return t.jsxs("nav",{...c,"aria-label":l,className:v(G.nav,a),children:[t.jsxs("button",{type:"button",className:v(X.spaceControl,G.item,G.step),disabled:_<=1,"aria-label":"Previous page",onClick:()=>g(_-1),children:[t.jsx(ze,{"aria-hidden":"true"}),t.jsx("span",{className:G.stepText,children:"Previous"})]}),t.jsx("ol",{className:G.pages,children:Ge(_,d,s).map((u,C)=>u===null?t.jsx("li",{className:G.gap,"aria-hidden":"true",children:"…"},`gap-${C}`):t.jsx("li",{children:t.jsx("button",{type:"button",className:v(X.spaceControl,G.item,G.page,u===_&&G.current),"data-animated":u===_&&!o?"false":void 0,"aria-label":`Page ${u}`,"aria-current":u===_?"page":void 0,onClick:()=>g(u),children:u})},u))}),t.jsxs("button",{type:"button",className:v(X.spaceControl,G.item,G.step),disabled:_>=d,"aria-label":"Next page",onClick:()=>g(_+1),children:[t.jsx("span",{className:G.stepText,children:"Next"}),t.jsx(Ee,{"aria-hidden":"true"})]})]})}const eo="_wrap_dwcut_5",to="_sm_dwcut_30",no="_md_dwcut_36",so="_lg_dwcut_42",oo="_orbit_dwcut_49",ro="_planet_dwcut_58",ao="_moon_dwcut_73",lo="_label_dwcut_92",ie={wrap:eo,sm:to,md:no,lg:so,orbit:oo,planet:ro,"sp-loader-planet-pulse":"_sp-loader-planet-pulse_dwcut_1",moon:ao,"sp-loader-orbit":"_sp-loader-orbit_dwcut_1",label:lo,"sp-loader-reduced-pulse":"_sp-loader-reduced-pulse_dwcut_1"};function co({size:e="md",label:n,className:s}){return t.jsxs("div",{className:v(ie.wrap,ie[e],s),role:"status","aria-live":"polite","aria-label":n??"Loading",children:[t.jsxs("span",{className:ie.orbit,children:[t.jsx("span",{className:ie.planet}),t.jsx("span",{className:ie.moon})]}),n&&t.jsx("span",{className:ie.label,children:n})]})}const io="_content_1efo6_6",uo={content:io};function Ke(e,n){e.matches(":popover-open")||(e.dataset.instant="",e.dataset.measuring="",n(),delete e.dataset.measuring,e.offsetWidth,delete e.dataset.instant,e.offsetWidth,e.showPopover())}const fo=350,_o=80,Le=8,ge=8;function po({triggerRef:e,tooltipId:n,show:s,hide:o,children:a}){const l=a.props;return r.cloneElement(a,{ref:e,"aria-describedby":n,onPointerEnter:c=>{var d;(d=l.onPointerEnter)==null||d.call(l,c),c.pointerType==="mouse"&&s()},onPointerLeave:c=>{var d;(d=l.onPointerLeave)==null||d.call(l,c),o()},onFocus:c=>{var d;(d=l.onFocus)==null||d.call(l,c),s(!0)},onBlur:c=>{var d;(d=l.onBlur)==null||d.call(l,c),o()},onClick:c=>{var d;(d=l.onClick)==null||d.call(l,c),o()}})}function Ue({label:e,side:n="bottom",children:s}){const o=r.useId(),[a,l]=r.useState(!1),[c,d]=r.useState(null),_=r.useRef(null),g=r.useRef(null),u=r.useRef(null),C=r.useRef(null),b=()=>{u.current&&(clearTimeout(u.current),u.current=null),C.current&&(clearTimeout(C.current),C.current=null)},w=(x=!1)=>{if(b(),x){l(!0);return}u.current=setTimeout(()=>l(!0),fo)},p=()=>{b(),C.current=setTimeout(()=>l(!1),_o)};return r.useEffect(()=>b,[]),r.useLayoutEffect(()=>{const x=g.current;if(!x)return;if(!a){x.matches(":popover-open")&&x.hidePopover();return}const L=_.current;if(!L)return;const M=()=>{const $=L.getBoundingClientRect(),H=x.offsetWidth,z=x.offsetHeight,I=(y,k,A,S)=>Math.min(Math.max(y+k/2-A/2,ge),Math.max(S-A-ge,ge)),Z=(y,k,A,S)=>({fitsNear:y>=ge,fitsFar:k+A<=S-ge});if(n==="left"||n==="right"){const y=$.right+Le,k=$.left-H-Le,{fitsNear:A,fitsFar:S}=Z(k,y,H,window.innerWidth),W=n==="right"?S||!A?y:k:A||!S?k:y;x.dataset.side=W===y?"right":"left",d({top:I($.top,$.height,z,window.innerHeight),left:W});return}const T=$.bottom+Le,R=$.top-z-Le,{fitsNear:E,fitsFar:j}=Z(R,T,z,window.innerHeight),f=n==="bottom"?j||!E?T:R:E||!j?R:T;x.dataset.side=f===T?"bottom":"top",d({top:f,left:I($.left,$.width,H,window.innerWidth)})};x.matches(":popover-open")?M():Ke(x,M)},[a,n,e]),!e||!r.isValidElement(s)?t.jsx(t.Fragment,{children:s}):t.jsxs(t.Fragment,{children:[t.jsx(po,{triggerRef:_,tooltipId:o,show:w,hide:p,children:s}),t.jsx("div",{ref:g,id:o,popover:"auto",role:"tooltip",className:uo.content,style:c?{top:c.top,left:c.left}:void 0,onToggle:x=>{x.nativeEvent.newState==="closed"&&a&&l(!1)},children:e})]})}const go="_group_1tdav_4",Co="_segment_1tdav_15",mo="_active_1tdav_35",ho="_vertical_1tdav_46",$e={group:go,segment:Co,active:mo,vertical:ho};function xo({options:e,value:n,onValueChange:s,orientation:o="horizontal",className:a=""}){const l=o==="vertical";return t.jsx("div",{className:`${$e.group} ${l?$e.vertical:""} ${a}`,role:"group",children:e.map(c=>t.jsx(Ue,{label:c.label,side:l?"right":"bottom",children:t.jsx("button",{type:"button",className:`${$e.segment} ${c.value===n?$e.active:""}`,"aria-label":c.label,"aria-pressed":c.value===n,onClick:()=>{c.value!==n&&s(c.value)},children:c.icon})},c.value))})}const vo="_root_32n97_2",bo="_trigger_32n97_7",wo="_labelWrap_32n97_30",jo="_sizer_32n97_8",yo="_triggerLabel_32n97_70",ko="_chevron_32n97_77",Lo="_listbox_32n97_82",$o="_item_32n97_148",ee={root:vo,trigger:bo,labelWrap:wo,sizer:jo,triggerLabel:yo,chevron:ko,listbox:Lo,item:$o},Xe=r.createContext(null),Ro=()=>{const e=r.useContext(Xe);if(!e)throw new Error("Select.Item must be inside a Select");return e},Ye=(e,n)=>`${e}-${encodeURIComponent(n)}`;function Mo(e){const n=[],s=o=>{r.Children.forEach(o,a=>{if(!r.isValidElement(a))return;const l=a.props;a.type===Qe&&typeof l.value=="string"?n.push({value:l.value,label:l.children,disabled:l.disabled}):l.children&&s(l.children)})};return s(e),n}function No({value:e,onValueChange:n,disabled:s,placeholder:o,animated:a=!0,className:l,children:c,...d}){const[_,g]=r.useState(!1),[u,C]=r.useState(null),b=r.useId(),w=r.useRef(null),p=r.useRef(null),x=r.useRef(null),[L,M]=r.useState(null),[$,H]=r.useState(null),z=r.useMemo(()=>Mo(c),[c]),I=r.useMemo(()=>z.filter(f=>!f.disabled).map(f=>f.value),[z]),Z=r.useMemo(()=>z.map(f=>f.label),[z]),T=r.useCallback(f=>{var y;return((y=z.find(k=>k.value===f))==null?void 0:y.label)??null},[z]);r.useEffect(()=>{if(!_)return;const f=y=>{p.current&&!p.current.contains(y.target)&&g(!1)};return document.addEventListener("mousedown",f),()=>document.removeEventListener("mousedown",f)},[_]),r.useLayoutEffect(()=>{if(!_)return;const f=w.current;if(!f)return;const y=f.getBoundingClientRect();M(f.offsetWidth);const k=window.innerHeight-y.bottom-16;H(Math.min(380,Math.max(120,k)))},[_]),r.useEffect(()=>{var f;_&&((f=x.current)==null||f.focus())},[_]);const R=f=>{C(f??I[0]??null),g(!0)},E=f=>{const y=u?I.indexOf(u):-1,k=Math.min(Math.max(y+f,0),I.length-1);C(I[k]??null)},j=e?T(e):null;return t.jsx(Xe.Provider,{value:{value:e,onValueChange:n,disabled:s,open:_,setOpen:g,highlighted:u,setHighlighted:C,listboxId:b,values:I,labelFor:T,triggerRef:w},children:t.jsxs("div",{ref:p,className:ee.root,children:[t.jsxs("button",{type:"button",...d,ref:w,disabled:s,className:v(ee.trigger,X.spaceControl,"spSelectTrigger",l),"data-animated":a?void 0:"false","data-state":_?"open":"closed","aria-haspopup":"listbox","aria-expanded":_,"aria-controls":b,onClick:()=>_?g(!1):R(e||null),onKeyDown:f=>{(f.key==="ArrowDown"||f.key==="Enter"||f.key===" ")&&(f.preventDefault(),R(e||null))},children:[t.jsxs("span",{className:ee.labelWrap,children:[t.jsxs("span",{className:ee.sizer,"data-sizer":"","aria-hidden":"true",children:[Z.map((f,y)=>t.jsx("span",{children:f},y)),o&&t.jsx("span",{children:o})]}),t.jsx("span",{className:ee.triggerLabel,children:j??o??""})]}),t.jsx("svg",{className:ee.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:x,id:b,role:"listbox",tabIndex:-1,hidden:!_,"aria-activedescendant":u?Ye(b,u):void 0,className:v(ee.listbox,X.spacePanel),"data-animated":a?void 0:"false",style:L!=null||$!=null?{...L!=null?{"--_select-trigger-width":`${L}px`}:{},...$!=null?{maxHeight:`${$}px`}:{}}:void 0,onKeyDown:f=>{var y,k;f.key==="Escape"?(f.stopPropagation(),g(!1),(y=w.current)==null||y.focus()):f.key==="ArrowDown"?(f.preventDefault(),E(1)):f.key==="ArrowUp"?(f.preventDefault(),E(-1)):f.key==="Home"?(f.preventDefault(),C(I[0]??null)):f.key==="End"?(f.preventDefault(),C(I[I.length-1]??null)):f.key==="Enter"||f.key===" "?(f.preventDefault(),u&&(n(u),g(!1),(k=w.current)==null||k.focus())):f.key==="Tab"&&g(!1)},children:c})]})})}function Qe({value:e,disabled:n,children:s}){const o=Ro(),a=o.value===e,l=o.highlighted===e;return t.jsx("div",{id:Ye(o.listboxId,e),role:"option","aria-selected":a,"aria-disabled":n||void 0,"data-highlighted":l?"":void 0,className:v(ee.item,"spSelectItem"),onMouseEnter:()=>!n&&o.setHighlighted(e),onClick:()=>{var c;n||(o.onValueChange(e),o.setOpen(!1),(c=o.triggerRef.current)==null||c.focus())},children:s})}const Io=Object.assign(No,{Item:Qe}),Eo="_root_1lx7y_1",zo="_input_1lx7y_7",So="_slot_1lx7y_17",Ne={root:Eo,input:zo,slot:So},Do=r.forwardRef(function({className:n,style:s,animated:o=!0,children:a,...l},c){return t.jsxs("div",{className:v(Ne.root,X.spaceInput,"spTextFieldRoot",n),"data-animated":o?void 0:"false",style:s,children:[a,t.jsx("input",{...l,ref:c,className:v(Ne.input,"spTextFieldInput")})]})});function qo({children:e}){return t.jsx("span",{className:Ne.slot,children:e})}const Ie=Object.assign(Do,{Slot:qo}),Ho="_root_1qu6w_1",To="_textarea_1qu6w_6",Te={root:Ho,textarea:To},Ao=r.forwardRef(function({className:n,style:s,animated:o=!0,...a},l){return t.jsx("div",{className:v(Te.root,X.spaceInput,X.spaceTextArea,"spTextFieldRoot",n),"data-animated":o?void 0:"false",style:s,children:t.jsx("textarea",{...a,ref:l,className:v(Te.textarea,"spTextAreaInput")})})}),Bo="_wrap_1rgfg_12",Zo="_field_1rgfg_16",Oo="_panel_1rgfg_22",Wo="_status_1rgfg_73",Vo="_list_1rgfg_83",Fo="_option_1rgfg_96",Po="_active_1rgfg_108",Go="_label_1rgfg_118",Ko="_meta_1rgfg_125",Uo="_footer_1rgfg_131",U={wrap:Bo,field:Zo,panel:Oo,status:Wo,list:Vo,option:Fo,active:Po,label:Go,meta:Ko,footer:Uo};function Xo({value:e,onValueChange:n,options:s,onSelect:o,icon:a,caseSensitive:l=!1,preFiltered:c=!1,loading:d=!1,loadingMessage:_="Loading…",emptyMessage:g,footer:u,animated:C=!0,className:b,style:w,...p}){const[x,L]=r.useState(!1),[M,$]=r.useState(0),H=r.useRef(null),z=r.useRef(null),I=r.useId(),Z=i=>typeof i.label=="string"?i.label:i.search??i.value,T=e.trim()!=="",R=r.useMemo(()=>{if(!T)return[];if(c)return s;const i=l?e:e.toLowerCase();return s.filter(m=>(l?Z(m):Z(m).toLowerCase()).includes(i))},[s,e,l,c,T]),E=r.useMemo(()=>R.filter(i=>!i.disabled),[R]),j=T&&(R.length>0||d||g!=null),f=x&&j;r.useEffect(()=>$(0),[R]),r.useEffect(()=>{var m;if(!f)return;const i=(m=z.current)==null?void 0:m.querySelector(`[data-index="${M}"]`);i==null||i.scrollIntoView({block:"nearest"})},[M,f]);const y=r.useCallback(()=>L(!1),[]);r.useEffect(()=>{if(!f)return;const i=m=>{const N=H.current;N&&m.target instanceof Node&&!N.contains(m.target)&&y()};return document.addEventListener("pointerdown",i),()=>document.removeEventListener("pointerdown",i)},[f,y]);const k=r.useRef(!1),A=i=>{i.disabled||(n(Z(i)),o(i.value,i),k.current=!1,L(!1))},S=i=>{if(E.length===0)return;const m=R[M],D=((m&&!m.disabled?E.indexOf(m):-1)+i+E.length)%E.length,B=E[D];B&&$(R.indexOf(B))},W=i=>{if(i.key==="Escape"){f&&i.stopPropagation(),L(!1);return}if(i.key==="Tab"){L(!1);return}if(!f){i.key==="ArrowDown"&&L(!0);return}if(i.key==="ArrowDown")i.preventDefault(),k.current=!0,S(1);else if(i.key==="ArrowUp")i.preventDefault(),k.current=!0,S(-1);else if(i.key==="Home"){i.preventDefault(),k.current=!0;const m=E[0];m&&$(R.indexOf(m))}else if(i.key==="End"){i.preventDefault(),k.current=!0;const m=E[E.length-1];m&&$(R.indexOf(m))}else if(i.key==="Enter"||i.key===" "&&k.current){const m=R[M];m&&!m.disabled&&(i.preventDefault(),A(m))}},h=f?R[M]:void 0;return t.jsxs("div",{ref:H,className:v(U.wrap,b),style:w,children:[t.jsx(Ie,{...p,type:p.type??"text",role:"combobox",animated:C,className:U.field,autoComplete:"off","aria-expanded":f,"aria-controls":I,"aria-autocomplete":"list","aria-activedescendant":h&&!h.disabled?`${I}-${M}`:void 0,value:e,onFocus:i=>{var m;(m=p.onFocus)==null||m.call(p,i),L(!0)},onClick:i=>{var m;(m=p.onClick)==null||m.call(p,i),L(!0)},onKeyDown:i=>{var m;(m=p.onKeyDown)==null||m.call(p,i),W(i)},onChange:i=>{k.current=!1,n(i.target.value),L(!0)},children:a!=null&&t.jsx(Ie.Slot,{children:a})}),t.jsxs("div",{className:v(U.panel,X.spacePanel),hidden:!f,"data-animated":C?void 0:"false",children:[T&&d&&t.jsx("p",{className:U.status,children:_}),T&&!d&&R.length===0&&g!=null&&t.jsx("p",{className:U.status,children:g}),t.jsx("ul",{ref:z,id:I,role:"listbox",className:U.list,hidden:d||R.length===0,children:R.map((i,m)=>t.jsxs("li",{id:`${I}-${m}`,"data-index":m,role:"option","aria-selected":m===M,"aria-disabled":i.disabled||void 0,className:v(U.option,m===M&&!i.disabled&&U.active,"spAutocompleteOption"),onMouseEnter:()=>!i.disabled&&$(m),onPointerDown:N=>{N.preventDefault(),A(i)},children:[t.jsx("span",{className:U.label,children:i.label}),i.meta!=null&&t.jsx("span",{className:U.meta,children:i.meta})]},i.value))}),u!=null&&t.jsx("div",{className:U.footer,children:u})]})]})}const Yo="_root_14a1b_1",Qo="_track_14a1b_12",Jo="_range_14a1b_22",er="_thumb_14a1b_28",tr="_input_14a1b_38",Ce={root:Yo,track:Qo,range:Jo,thumb:er,input:tr},nr=r.forwardRef(function({value:n,onValueChange:s,min:o,max:a,step:l,disabled:c,className:d,"aria-label":_},g){const u=n[0]??o,C=a===o?0:(u-o)/(a-o)*100;return t.jsxs("span",{className:v(Ce.root,X.spaceSlider,d),"data-disabled":c||void 0,children:[t.jsx("span",{className:v(Ce.track,"spSliderTrack"),children:t.jsx("span",{className:v(Ce.range,"spSliderRange"),style:{width:`${C}%`}})}),t.jsx("span",{className:v(Ce.thumb,"spSliderThumb"),style:{left:`${C}%`}}),t.jsx("input",{ref:g,type:"range",className:v(Ce.input,"spSliderInput"),value:u,min:o,max:a,step:l,disabled:c,"aria-label":_,onChange:b=>s([Number(b.target.value)])})]})}),sr="_root_mmcx8_18",or="_item_mmcx8_24",rr="_selfLabeled_mmcx8_33",ar="_label_mmcx8_37",lr="_input_mmcx8_41",cr="_box_mmcx8_57",ir="_tick_mmcx8_80",ur="_dash_mmcx8_81",dr="_tickPath_mmcx8_95",V={root:sr,item:or,selfLabeled:rr,label:ar,input:lr,box:cr,tick:ir,dash:ur,tickPath:dr},Je=r.createContext(null);function et({checked:e,indeterminate:n,disabled:s,onToggle:o,value:a,ariaLabel:l}){const c=r.useRef(null);return r.useEffect(()=>{c.current&&(c.current.indeterminate=n===!0)},[n]),t.jsxs(t.Fragment,{children:[t.jsx("input",{ref:c,type:"checkbox",className:V.input,"aria-label":l,value:a,checked:e,disabled:s,onChange:d=>o(d.currentTarget.checked)}),t.jsxs("span",{className:V.box,"aria-hidden":"true",children:[t.jsx("svg",{className:V.tick,viewBox:"0 0 16 16",fill:"none",children:t.jsx("path",{className:V.tickPath,d:"M3.5 8.4 6.6 11.5 12.5 4.8",pathLength:1,stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})}),t.jsx("span",{className:V.dash})]})]})}function fr({value:e,onValueChange:n,disabled:s,className:o,"aria-label":a,children:l}){return t.jsx(Je.Provider,{value:{value:e,onValueChange:n,disabled:s},children:t.jsx("div",{role:"group","aria-label":a,className:v(V.root,o),children:l})})}function _r({value:e,disabled:n,children:s}){const o=r.useContext(Je);if(!o)throw new Error("CheckboxGroup.Item must be inside a CheckboxGroup");const a=n||o.disabled,l=o.value.includes(e),c=t.jsx(et,{checked:l,disabled:a,value:e,onToggle:d=>o.onValueChange(d?[...o.value,e]:o.value.filter(_=>_!==e))});return s==null?t.jsx("span",{className:V.item,children:c}):t.jsxs("label",{className:v(V.item,V.selfLabeled),children:[c,t.jsx("span",{className:V.label,children:s})]})}const pr=Object.assign(fr,{Item:_r});function gr({checked:e,onCheckedChange:n,indeterminate:s,disabled:o,className:a,"aria-label":l,children:c}){const d=t.jsx(et,{checked:e,indeterminate:s,disabled:o,ariaLabel:l,onToggle:n});return c==null?t.jsx("span",{className:v(V.item,a),children:d}):t.jsxs("label",{className:v(V.item,V.selfLabeled,a),children:[d,t.jsx("span",{className:V.label,children:c})]})}const Cr="_root_1u1sq_15",mr="_item_1u1sq_23",hr="_selfLabeled_1u1sq_32",xr="_input_1u1sq_36",vr="_orb_1u1sq_52",br="_burst_1u1sq_99",oe={root:Cr,item:mr,selfLabeled:hr,input:xr,orb:vr,burst:br},tt=r.createContext(null);function wr({value:e,onValueChange:n,disabled:s,className:o,children:a}){const l=r.useId();return t.jsx(tt.Provider,{value:{value:e,onValueChange:n,disabled:s,name:l},children:t.jsx("div",{role:"radiogroup",className:v(oe.root,o),children:a})})}function jr({value:e,disabled:n,children:s}){const o=r.useContext(tt);if(!o)throw new Error("RadioGroup.Item must be inside a RadioGroup");const a=n||o.disabled,l=t.jsxs(t.Fragment,{children:[t.jsx("input",{type:"radio",className:oe.input,name:o.name,value:e,checked:o.value===e,disabled:a,onChange:()=>o.onValueChange(e)}),t.jsx("span",{className:v(oe.orb,"spRadioOrb"),"aria-hidden":"true",children:t.jsx("span",{className:oe.burst})})]});return s==null?t.jsx("span",{className:oe.item,children:l}):t.jsxs("label",{className:v(oe.item,oe.selfLabeled),children:[l,s]})}const yr=Object.assign(wr,{Item:jr}),kr="_progress_1cre6_16",Lr={progress:kr};function $r({value:e,max:n=100,className:s,style:o,...a}){const l=n>0?Math.min(Math.max(e/n*100,0),100):0;return t.jsx("div",{...a,role:"progressbar","aria-valuenow":e,"aria-valuemin":0,"aria-valuemax":n,className:v(Lr.progress,s),style:o,children:t.jsx("div",{style:{width:`${l}%`,height:"100%"}})})}const Rr="_message_1522x_14",Mr="_info_1522x_44",Nr="_warning_1522x_49",Ir="_alert_1522x_56",Er="_icon_1522x_63",zr="_body_1522x_74",Sr="_title_1522x_83",Dr="_text_1522x_90",ue={message:Rr,info:Mr,warning:Nr,alert:Ir,icon:Er,body:zr,title:Sr,text:Dr},qr={info:t.jsx(We,{}),warning:t.jsx(Ve,{}),alert:t.jsx(Fe,{})},Hr={info:{role:"status",live:"polite"},warning:{role:"status",live:"polite"},alert:{role:"alert"}},Tr=r.forwardRef(function({variant:n="info",title:s,icon:o,className:a,children:l,...c},d){const _=o===void 0?qr[n]:o,{role:g,live:u}=Hr[n];return t.jsxs("div",{...c,ref:d,role:g,"aria-live":u,className:v(ue.message,ue[n],a),children:[_!=null&&t.jsx("span",{className:ue.icon,"aria-hidden":"true",children:_}),t.jsxs("div",{className:ue.body,children:[s!=null&&t.jsx("p",{className:ue.title,children:s}),l!=null&&t.jsx("div",{className:ue.text,children:l})]})]})}),Ar="_dialog_zbndh_2",Br="_inner_zbndh_71",Zr="_size4_zbndh_76",Or="_title_zbndh_80",Wr="_closeX_zbndh_88",he={dialog:Ar,inner:Br,size4:Zr,title:Or,closeX:Wr};let Re=0;const nt=r.createContext(null),be=()=>{const e=r.useContext(nt);if(!e)throw new Error("Dialog parts must be inside a Dialog");return e};function st(e){return function({open:s,onOpenChange:o,children:a}){const[l,c]=r.useState(!1),d=s!==void 0,_=d?s:l,g=p=>{d||c(p),o==null||o(p)},u=r.useId(),C=r.useId(),[b,w]=r.useState(!1);return t.jsx(nt.Provider,{value:{open:_,setOpen:g,titleId:u,descId:C,alert:e,hasDesc:b,setHasDesc:w},children:a})}}const Vr=st(!1),ot=(e,n)=>{if(!r.isValidElement(e))return e;const s=e;return r.cloneElement(s,{onClick:o=>{var a,l;(l=(a=s.props).onClick)==null||l.call(a,o),n()}})};function rt({children:e}){const n=be();return t.jsx(t.Fragment,{children:ot(e,()=>n.setOpen(!0))})}function Se({children:e}){const n=be();return t.jsx(t.Fragment,{children:ot(e,()=>n.setOpen(!1))})}function at({size:e="3",maxWidth:n,className:s,style:o,children:a,...l}){const c=be(),d=r.useRef(null),_=r.useRef(!1),g=r.useRef(!1);return r.useEffect(()=>{const u=d.current;u&&(c.open&&!u.open?u.showModal():!c.open&&u.open&&u.close())},[c.open]),r.useEffect(()=>{if(c.open)return Re+=1,Re===1&&(document.body.style.overflow="hidden"),()=>{Re-=1,Re===0&&(document.body.style.overflow="")}},[c.open]),t.jsx("dialog",{...l,ref:d,role:c.alert?"alertdialog":void 0,"aria-labelledby":c.titleId,"aria-describedby":c.hasDesc?c.descId:void 0,className:v(he.dialog,"spDialog",e==="4"&&he.size4,s),style:{...n?{maxWidth:n}:null,...o},onKeyDownCapture:u=>{var C,b;u.key==="Escape"&&((C=d.current)!=null&&C.querySelector("dialog[open]")||(b=d.current)!=null&&b.querySelector('[role="listbox"]:not([hidden])')&&(_.current=!0))},onCancel:u=>{if(u.preventDefault(),_.current){_.current=!1;return}c.setOpen(!1)},onClose:()=>{c.open&&c.setOpen(!1)},onPointerDown:u=>{g.current=u.target===d.current},onClick:u=>{!c.alert&&u.target===d.current&&g.current&&c.setOpen(!1)},children:t.jsxs("div",{className:he.inner,children:[!c.alert&&t.jsx("button",{type:"button",className:he.closeX,"aria-label":"Close",onClick:()=>c.setOpen(!1),children:t.jsx(Oe,{width:16,height:16})}),a]})})}function lt({className:e,...n}){const s=be();return t.jsx(Ze,{as:"h2",size:"5",...n,id:s.titleId,className:v(he.title,e)})}function ct(e){const n=be(),{setHasDesc:s}=n;return r.useLayoutEffect(()=>(s(!0),()=>s(!1)),[s]),t.jsx(Be,{as:"p",...e,id:n.descId})}const Fr=Object.assign(Vr,{Trigger:rt,Close:Se,Content:at,Title:lt,Description:ct}),Pr=Se,Gr=Se,Kr=Object.assign(st(!0),{Trigger:rt,Content:at,Title:lt,Description:ct,Cancel:Pr,Action:Gr}),Ur="_menu_11ctg_1",Xr="_label_11ctg_51",Yr="_item_11ctg_61",Qr="_danger_11ctg_80",Jr="_separator_11ctg_84",ve={menu:Ur,label:Xr,item:Yr,danger:Qr,separator:Jr},it=r.createContext(null),e1=()=>{const e=r.useContext(it);if(!e)throw new Error("DropdownMenu parts must be inside a DropdownMenu");return e};function t1({label:e,align:n="start",children:s,...o}){const[a,l]=r.useState(!1),c=r.useId(),d=r.useRef(null),_=r.useRef(null),g=r.useRef(null),u=r.useRef(a);u.current=a;const C=r.useCallback(p=>{u.current!==p&&(u.current=p,l(p))},[]),[b,w]=r.useState(null);return r.useLayoutEffect(()=>{var x;const p=_.current;if(p)if(a){const L=d.current;if(L){const M=L.getBoundingClientRect(),$=n==="end"?"auto":M.left,H=n==="end"?window.innerWidth-M.right:"auto";w({top:M.bottom+6,left:$,right:H})}p.showPopover(),(x=p.querySelector('[role="menuitem"]'))==null||x.focus()}else p.matches(":popover-open")&&p.hidePopover()},[a,n]),r.useEffect(()=>{if(!a)return;const p=()=>C(!1);return window.addEventListener("resize",p),()=>window.removeEventListener("resize",p)},[a]),t.jsxs(it.Provider,{value:{open:a,setOpen:C,menuId:c},children:[t.jsx(xe,{...o,ref:d,"aria-haspopup":"menu","aria-expanded":a,"aria-controls":c,onPointerDown:p=>{var x;(x=o.onPointerDown)==null||x.call(o,p),g.current=!u.current},onKeyDown:p=>{var x;(x=o.onKeyDown)==null||x.call(o,p),(p.key==="Enter"||p.key===" ")&&(g.current=null)},onClick:p=>{var L;(L=o.onClick)==null||L.call(o,p);const x=g.current??!u.current;g.current=null,C(x)},children:e}),t.jsx("div",{ref:_,id:c,role:"menu",popover:"auto",className:ve.menu,style:b?{top:b.top,left:b.left==="auto"?"auto":b.left,right:b.right==="auto"?"auto":b.right}:void 0,onToggle:p=>{p.nativeEvent.newState==="closed"&&C(!1)},onKeyDown:p=>{var M,$,H,z,I,Z;const x=Array.from(((M=_.current)==null?void 0:M.querySelectorAll('[role="menuitem"]'))??[]),L=x.indexOf(document.activeElement);p.key==="ArrowDown"?(p.preventDefault(),($=x[Math.min(L+1,x.length-1)])==null||$.focus()):p.key==="ArrowUp"?(p.preventDefault(),(H=x[Math.max(L-1,0)])==null||H.focus()):p.key==="Home"?(p.preventDefault(),(z=x[0])==null||z.focus()):p.key==="End"?(p.preventDefault(),(I=x[x.length-1])==null||I.focus()):p.key==="Escape"&&(C(!1),(Z=d.current)==null||Z.focus())},children:s})]})}function n1({children:e}){return t.jsx("div",{className:ve.label,children:e})}function s1({asChild:e,color:n,onSelect:s,children:o}){const a=e1(),l=v(ve.item,n==="danger"&&ve.danger),c=()=>{a.setOpen(!1),s==null||s()};if(e&&r.isValidElement(o)){const d=o,{className:_,onClick:g,children:u,role:C,tabIndex:b,...w}=d.props,p=d.ref;return r.createElement(d.type,{key:d.key,ref:p,role:"menuitem",tabIndex:-1,...w,className:v(l,_),onClick:x=>{g==null||g(x),a.setOpen(!1)}},u)}return t.jsx("button",{type:"button",role:"menuitem",tabIndex:-1,className:l,onClick:c,children:o})}function o1(){return t.jsx("div",{role:"separator",className:ve.separator})}const r1=Object.assign(t1,{Item:s1,Separator:o1,Label:n1}),a1="_list_1hc3r_19",l1="_trigger_1hc3r_28",ut={list:a1,trigger:l1},dt=r.createContext(null),ft=()=>{const e=r.useContext(dt);if(!e)throw new Error("Tabs parts must be inside a Tabs");return e};function c1({value:e,onValueChange:n,className:s,children:o}){const a=r.useId();return t.jsx(dt.Provider,{value:{value:e,onValueChange:n,id:a},children:t.jsx("div",{className:s,children:o})})}function i1({children:e}){return t.jsx("div",{role:"tablist",className:v(ut.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 a=s[(o+1)%s.length];a.focus(),a.click()}else if(n.key==="ArrowLeft"){n.preventDefault();const a=s[(o-1+s.length)%s.length];a.focus(),a.click()}else if(n.key==="Home"){n.preventDefault();const a=s[0];a.focus(),a.click()}else if(n.key==="End"){n.preventDefault();const a=s[s.length-1];a.focus(),a.click()}}},children:e})}function u1({value:e,className:n,children:s,...o}){const a=ft(),l=a.value===e;return t.jsx("button",{...o,type:"button",role:"tab",id:`${a.id}-tab-${e}`,"aria-selected":l,"aria-controls":`${a.id}-panel-${e}`,tabIndex:l?0:-1,"data-state":l?"active":"inactive",className:v(ut.trigger,"spTabsTrigger",n),onClick:()=>a.onValueChange(e),children:s})}function d1({value:e,children:n}){const s=ft();return s.value!==e?null:t.jsx("div",{role:"tabpanel",id:`${s.id}-panel-${e}`,"aria-labelledby":`${s.id}-tab-${e}`,children:n})}const f1=Object.assign(c1,{List:i1,Trigger:u1,Content:d1}),_1="_panel_4us94_9",p1={panel:_1},Ae=8,me=8,g1='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';function C1({label:e,children:n,open:s,onOpenChange:o,defaultOpen:a=!1,side:l="bottom",align:c="start",panelClassName:d,onClick:_,...g}){const[u,C]=r.useState(a),b=s!==void 0,w=b?s:u,p=r.useId(),x=r.useId(),L=r.useRef(null),M=r.useRef(null),[$,H]=r.useState(null),z=r.useRef(!1),I=r.useRef(!1),Z=r.useRef(null),T=r.useRef(w);T.current=w;const R=r.useCallback(j=>{T.current!==j&&(T.current=j,b||C(j),o==null||o(j))},[b,o]),E=r.useCallback(()=>{const j=L.current,f=M.current;if(!j||!f)return;const y=j.getBoundingClientRect(),k=f.offsetWidth,A=f.offsetHeight,S=y.bottom+Ae,W=y.top-A-Ae,h=S+A<=window.innerHeight-me,i=W>=me,m=l==="bottom"?h||!i?S:W:i||!h?W:S,N=m===S?"bottom":"top";f.dataset.side=N;const D=c==="start"?y.left:c==="end"?y.right-k:y.left+y.width/2-k/2,B=Math.min(Math.max(D,me),Math.max(window.innerWidth-k-me,me));H(F=>F&&F.top===m&&F.left===B&&F.placed===N?F:{top:m,left:B,placed:N})},[l,c]);return r.useLayoutEffect(()=>{const j=M.current;j&&(w?(Ke(j,E),E(),z.current&&(z.current=!1,(j.querySelector(g1)??j).focus({preventScroll:!0}))):j.matches(":popover-open")&&j.hidePopover())},[w,E]),r.useEffect(()=>{if(!w)return;let j=0,f="";const y=()=>{const k=L.current,A=M.current;if(k&&A){const S=k.getBoundingClientRect(),W=`${S.top}|${S.left}|${S.width}|${S.height}|${A.offsetWidth}|${A.offsetHeight}|${window.innerWidth}|${window.innerHeight}`;W!==f&&(f=W,E())}j=requestAnimationFrame(y)};return j=requestAnimationFrame(y),()=>cancelAnimationFrame(j)},[w,E]),t.jsxs(t.Fragment,{children:[t.jsx(xe,{...g,ref:L,id:p,"aria-haspopup":"dialog","aria-expanded":w,"aria-controls":x,onPointerDown:j=>{var f;(f=g.onPointerDown)==null||f.call(g,j),Z.current=!T.current},onKeyDown:j=>{var f;(f=g.onKeyDown)==null||f.call(g,j),(j.key==="Enter"||j.key===" ")&&(Z.current=null)},onClick:j=>{_==null||_(j);const f=Z.current??!T.current;Z.current=null,f&&(z.current=!0),R(f)},children:e}),t.jsx("div",{ref:M,id:x,popover:"auto",role:"dialog","aria-labelledby":p,tabIndex:-1,className:v(p1.panel,X.spacePanel,d),"data-animated":g.animated===!1?"false":void 0,"data-side":($==null?void 0:$.placed)??l,style:$?{top:$.top,left:$.left}:void 0,onKeyDown:j=>{j.key==="Escape"&&(I.current=!0,j.stopPropagation())},onToggle:j=>{var f;j.nativeEvent.newState==="closed"&&(I.current&&(I.current=!1,(f=L.current)==null||f.focus()),R(!1))},children:n})]})}exports.AlertDialog=Kr;exports.Autocomplete=Xo;exports.Badge=On;exports.BookmarkIcon=$s;exports.Box=un;exports.Button=xe;exports.Card=Un;exports.Carousel=Ts;exports.ChatBubbleIcon=fs;exports.CheckIcon=hs;exports.Checkbox=gr;exports.CheckboxGroup=pr;exports.ChevronDownIcon=Ls;exports.ChevronLeftIcon=ze;exports.ChevronRightIcon=Ee;exports.ChevronUpIcon=ks;exports.CrossCircledIcon=Fe;exports.Dialog=Fr;exports.DropdownMenu=r1;exports.EnterFullScreenIcon=ms;exports.ExclamationTriangleIcon=Ve;exports.ExitFullScreenIcon=Cs;exports.Flex=cn;exports.Grid=kn;exports.Heading=Ze;exports.HeartFilledIcon=gs;exports.HeartIcon=ys;exports.IconToggle=xo;exports.InfoCircledIcon=We;exports.Link=Zt;exports.Loader=co;exports.MagnifyingGlassIcon=js;exports.Message=Tr;exports.MinusIcon=ws;exports.Pagination=Js;exports.Pencil1Icon=ps;exports.PersonIcon=bs;exports.PlusIcon=_s;exports.Popover=C1;exports.Progress=$r;exports.QuestionMarkCircledIcon=vs;exports.RadioGroup=yr;exports.Select=Io;exports.Separator=Fn;exports.Share2Icon=ds;exports.Slider=nr;exports.Tabs=f1;exports.Text=Be;exports.TextArea=Ao;exports.TextField=Ie;exports.Tooltip=Ue;exports.TrashIcon=xs;exports.XIcon=Oe;exports.pageCount=Pe;exports.pageWindow=Ge;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|