@inkorange/space-ui 1.8.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/Slider.d.ts +33 -11
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1289 -1231
- package/dist/index.js.map +1 -1
- package/dist/space-ui.css +1 -1
- package/dist/tokens.css +29 -12
- package/package.json +14 -13
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
|
|
|
@@ -1,28 +1,50 @@
|
|
|
1
1
|
import type * as React from "react";
|
|
2
2
|
export interface SliderProps {
|
|
3
|
-
/**
|
|
3
|
+
/** The value, as an array. One number is one thumb; two is a range, read
|
|
4
|
+
* as `[start, end]` and kept in that order — the thumbs cannot swap
|
|
5
|
+
* places, so index 0 is always the lower of the two. Fully controlled. */
|
|
4
6
|
value: number[];
|
|
5
|
-
/** Called with the
|
|
6
|
-
|
|
7
|
+
/** Called with the whole array as a thumb moves, in the same shape it was
|
|
8
|
+
* given. */
|
|
9
|
+
onValueChange: (value: number[]) => void;
|
|
7
10
|
/** Lower bound. */
|
|
8
11
|
min: number;
|
|
9
12
|
/** Upper bound. */
|
|
10
13
|
max: number;
|
|
11
|
-
/**
|
|
12
|
-
|
|
14
|
+
/** The increment a thumb moves by, and the grid every value lands on: with
|
|
15
|
+
* `step={10}` over 0–100 a thumb stops at 0, 10, 20 … and nothing between,
|
|
16
|
+
* whether it is dragged, pressed on the track, or walked with the arrow
|
|
17
|
+
* keys. Counted from `min`, so a range of 5–105 with a step of 10 lands on
|
|
18
|
+
* 5, 15, 25 … Default 1, the same as a bare `<input type="range">`. */
|
|
19
|
+
step?: number;
|
|
20
|
+
/** How close the two thumbs may come, in the value's own units. 0 lets
|
|
21
|
+
* them meet; a positive number keeps a gap, for a range that would mean
|
|
22
|
+
* nothing empty — "between 2 and 2 bedrooms". Ignored with one thumb. */
|
|
23
|
+
minDistance?: number;
|
|
13
24
|
/** Blocks interaction and removes it from the tab order. */
|
|
14
25
|
disabled?: boolean;
|
|
15
26
|
/** Merged onto the wrapper. */
|
|
16
27
|
className?: string;
|
|
17
|
-
/** Accessible name. Required unless a visible label references it,
|
|
18
|
-
*
|
|
19
|
-
|
|
28
|
+
/** Accessible name. Required unless a visible label references it, since a
|
|
29
|
+
* slider has no text of its own. With two thumbs each one needs its own
|
|
30
|
+
* name, so this is suffixed — "Mass minimum", "Mass maximum" — unless
|
|
31
|
+
* `thumbLabels` says otherwise. */
|
|
20
32
|
"aria-label"?: string;
|
|
33
|
+
/** Names for the two thumbs, when the generated ones do not fit: a price
|
|
34
|
+
* range might want "From" and "To". */
|
|
35
|
+
thumbLabels?: [string, string];
|
|
21
36
|
}
|
|
22
37
|
/**
|
|
23
|
-
* A range control for a
|
|
38
|
+
* A range control: one thumb for a value, two for a span between values.
|
|
24
39
|
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
40
|
+
* Each thumb is a real `<input type="range">`, so arrow keys, Home, End and
|
|
41
|
+
* Page Up/Down all work without this component reimplementing them, and a
|
|
42
|
+
* screen reader announces a slider because it is one. What is drawn — the
|
|
43
|
+
* glass tube, the lit fill, the little planet of a thumb — sits on top of
|
|
44
|
+
* inputs that are invisible but still doing the work.
|
|
45
|
+
*
|
|
46
|
+
* With two thumbs they cannot cross: each is clamped to the other, so the
|
|
47
|
+
* array stays in order and a range can never read back inverted. `minDistance`
|
|
48
|
+
* keeps a gap between them where a zero-width range would be meaningless.
|
|
27
49
|
*/
|
|
28
50
|
export declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLInputElement>>;
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),e=require("react/jsx-runtime"),be={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 ue({m:t,mt:n,mb:s,p:o,pb:l},c){const a={...t!==void 0&&{margin:be[t]},...n!==void 0&&{marginTop:be[n]},...s!==void 0&&{marginBottom:be[s]},...o!==void 0&&{padding:be[o]},...l!==void 0&&{paddingBottom:be[l]},...c};return Object.keys(a).length>0?a:void 0}function L(...t){return t.filter(Boolean).join(" ")}const Mt="_text_4vcq4_1",Lt="_size1_4vcq4_5",Rt="_size2_4vcq4_11",Et="_size3_4vcq4_16",It="_size4_4vcq4_21",St="_size5_4vcq4_27",Dt="_size6_4vcq4_33",qt="_medium_4vcq4_39",zt="_bold_4vcq4_43",Ht="_colorMuted_4vcq4_47",Tt="_colorDanger_4vcq4_51",At="_colorSuccess_4vcq4_55",Ot="_colorWarning_4vcq4_59",Ie={text:Mt,size1:Lt,size2:Rt,size3:Et,size4:It,size5:St,size6:Dt,medium:qt,bold:zt,colorMuted:Ht,colorDanger:Tt,colorSuccess:At,colorWarning:Ot},tt=r.forwardRef(function({as:n="span",size:s,weight:o,color:l,className:c,style:a,m:i,mt:m,mb:g,p:d,pb:x,...j},$){return r.createElement(n,{...j,ref:$,className:L(Ie.text,s&&Ie[`size${s}`],o&&Ie[o],l&&Ie[`color${l[0].toUpperCase()}${l.slice(1)}`],c),style:ue({m:i,mt:m,mb:g,p:d,pb:x},a)})}),Bt="_heading_vs4zk_1",Vt="_size4_vs4zk_7",Zt="_size5_vs4zk_13",Ft="_size6_vs4zk_19",Pt="_size7_vs4zk_25",Wt="_size8_vs4zk_31",Gt="_size9_vs4zk_37",Ut="_colorMuted_vs4zk_43",Kt="_colorDanger_vs4zk_47",Xt="_alignCenter_vs4zk_51",je={heading:Bt,size4:Vt,size5:Zt,size6:Ft,size7:Pt,size8:Wt,size9:Gt,colorMuted:Ut,colorDanger:Kt,alignCenter:Xt},nt=r.forwardRef(function({as:n="h2",size:s,color:o,align:l,className:c,style:a,m:i,mt:m,mb:g,p:d,pb:x,...j},$){return r.createElement(n,{...j,ref:$,className:L(je.heading,s&&je[`size${s}`],o==="muted"&&je.colorMuted,o==="danger"&&je.colorDanger,l==="center"&&je.alignCenter,c),style:ue({m:i,mt:m,mb:g,p:d,pb:x},a)})}),Yt="_link_1qa7j_1",Qt="_size1_1qa7j_10",Jt="_size2_1qa7j_16",en="_size3_1qa7j_21",Ke={link:Yt,size1:Qt,size2:Jt,size3:en},tn=r.forwardRef(function({asChild:n,size:s,className:o,style:l,m:c,mt:a,mb:i,p:m,pb:g,children:d,...x},j){const $=L(Ke.link,s&&Ke[`size${s}`],o),h=ue({m:c,mt:a,mb:i,p:m,pb:g},l);if(n&&r.isValidElement(d)){const b=d;return r.cloneElement(b,{...x,className:L($,b.props.className),style:{...h,...b.props.style}})}return e.jsx("a",{...x,ref:j,className:$,style:h,children:d})}),nn="_flex_v4ziu_1",sn="_gap1_v4ziu_5",on="_gap2_v4ziu_9",rn="_gap3_v4ziu_13",an="_gap4_v4ziu_17",ln="_gap5_v4ziu_21",cn="_gap6_v4ziu_25",dn="_directionRow_v4ziu_29",un="_directionColumn_v4ziu_33",fn="_alignStart_v4ziu_37",pn="_alignCenter_v4ziu_41",_n="_alignEnd_v4ziu_45",hn="_alignBaseline_v4ziu_49",mn="_alignStretch_v4ziu_53",gn="_justifyStart_v4ziu_57",xn="_justifyCenter_v4ziu_61",Cn="_justifyEnd_v4ziu_65",vn="_justifyBetween_v4ziu_69",bn="_wrapWrap_v4ziu_73",jn="_wrapNowrap_v4ziu_77",_e={flex:nn,gap1:sn,gap2:on,gap3:rn,gap4:an,gap5:ln,gap6:cn,directionRow:dn,directionColumn:un,alignStart:fn,alignCenter:pn,alignEnd:_n,alignBaseline:hn,alignStretch:mn,justifyStart:gn,justifyCenter:xn,justifyEnd:Cn,justifyBetween:vn,wrapWrap:bn,wrapNowrap:jn},Se=t=>t[0].toUpperCase()+t.slice(1),$n=r.forwardRef(function({asChild:n,gap:s,direction:o,align:l,justify:c,wrap:a,className:i,style:m,m:g,mt:d,mb:x,p:j,pb:$,children:h,...b},v){const M=L(_e.flex,s&&_e[`gap${s}`],o&&_e[`direction${Se(o)}`],l&&_e[`align${Se(l)}`],c&&_e[`justify${Se(c)}`],a&&_e[`wrap${Se(a)}`],i),S=ue({m:g,mt:d,mb:x,p:j,pb:$},m);if(n&&r.isValidElement(h)){const D=h;return r.cloneElement(D,{...b,className:L(M,D.props.className),style:{...S,...D.props.style}})}return e.jsx("div",{...b,ref:v,className:M,style:S,children:h})}),wn=r.forwardRef(function({style:n,m:s,mt:o,mb:l,p:c,pb:a,...i},m){return e.jsx("div",{...i,ref:m,style:ue({m:s,mt:o,mb:l,p:c,pb:a},n)})}),yn="_grid_erpqq_1",kn="_cols1_erpqq_5",Nn="_cols2_erpqq_9",Mn="_cols3_erpqq_13",Ln="_smCols2_erpqq_18",Rn="_smCols3_erpqq_21",En="_mdCols2_erpqq_26",In="_mdCols3_erpqq_29",Sn="_gap1_erpqq_33",Dn="_gap2_erpqq_37",qn="_gap3_erpqq_41",zn="_gap4_erpqq_45",Hn="_gap5_erpqq_49",Tn="_gap6_erpqq_53",he={grid:yn,cols1:kn,cols2:Nn,cols3:Mn,smCols2:Ln,smCols3:Rn,mdCols2:En,mdCols3:In,gap1:Sn,gap2:Dn,gap3:qn,gap4:zn,gap5:Hn,gap6:Tn},An=r.forwardRef(function({columns:n,gap:s,className:o,style:l,m:c,mt:a,mb:i,p:m,pb:g,...d},x){const j=typeof n=="string"?[he[`cols${n}`]]:n?[n.initial&&he[`cols${n.initial}`],n.sm&&he[`smCols${n.sm}`],n.md&&he[`mdCols${n.md}`]]:[];return e.jsx("div",{...d,ref:x,className:L(he.grid,...j,s&&he[`gap${s}`],o),style:ue({m:c,mt:a,mb:i,p:m,pb:g},l)})}),On="_badge_1twqf_2",Bn="_size1_1twqf_10",Vn="_size2_1twqf_19",Zn="_colorMuted_1twqf_28",Fn="_colorPrimary_1twqf_33",Pn="_colorSuccess_1twqf_38",Wn="_colorDanger_1twqf_43",Gn="_colorWarning_1twqf_48",Un="_colorCyan_1twqf_53",Kn="_colorPurple_1twqf_58",Xn="_colorOrange_1twqf_63",Yn="_colorAccent_1twqf_68",Qn="_colorYellow_1twqf_73",Jn="_solid_1twqf_81",es="_wrap_1twqf_89",$e={badge:On,size1:Bn,size2:Vn,colorMuted:Zn,colorPrimary:Fn,colorSuccess:Pn,colorDanger:Wn,colorWarning:Gn,colorCyan:Un,colorPurple:Kn,colorOrange:Xn,colorAccent:Yn,colorYellow:Qn,solid:Jn,wrap:es},ts=t=>t[0].toUpperCase()+t.slice(1),ns=r.forwardRef(function({color:n="primary",variant:s="soft",size:o="1",wrap:l,className:c,style:a,m:i,mt:m,mb:g,p:d,pb:x,...j},$){return e.jsx("span",{...j,ref:$,className:L($e.badge,$e[`color${ts(n)}`],s==="solid"&&$e.solid,$e[`size${o}`],l&&$e.wrap,c),style:ue({m:i,mt:m,mb:g,p:d,pb:x},a)})}),ss="_separator_vao01_1",os="_full_vao01_7",Xe={separator:ss,full:os},rs=r.forwardRef(function({size:n="4",className:s,...o},l){return e.jsx("span",{...o,ref:l,role:"separator",className:L(Xe.separator,n==="4"&&Xe.full,s)})}),as="_card_1ooot_2",ls="_image_1ooot_14",cs="_hasImage_1ooot_41",Oe={card:as,image:ls,hasImage:cs},is=r.forwardRef(function({className:n,style:s,image:o,children:l,m:c,mt:a,mb:i,p:m,pb:g,...d},x){return e.jsxs("div",{...d,ref:x,className:L(Oe.card,o!=null&&Oe.hasImage,n),style:ue({m:c,mt:a,mb:i,p:m,pb:g},s),children:[o!=null&&e.jsx("div",{className:Oe.image,children:o}),l]})}),ds="_spaceButton_kjhqx_14",us="_rimRotate_kjhqx_1",fs="_glintSweep_kjhqx_1",ps="_iconOnly_kjhqx_97",_s="_lg_kjhqx_104",hs="_sm_kjhqx_110",ms="_micro_kjhqx_122",gs="_stars_kjhqx_136",xs="_fullWidth_kjhqx_141",Cs="_ember_kjhqx_147",vs="_label_kjhqx_157",bs="_star_kjhqx_136",js="_twinkle_kjhqx_1",ie={spaceButton:ds,rimRotate:us,glintSweep:fs,iconOnly:ps,lg:_s,sm:hs,micro:ms,stars:gs,fullWidth:xs,ember:Cs,label:vs,star:bs,twinkle:js};function $s(t){return function(){t|=0,t=t+1831565813|0;let n=Math.imul(t^t>>>15,1|t);return n=n+Math.imul(n^n>>>7,61|n)^n,((n^n>>>14)>>>0)/4294967296}}function ws(t){let n=2166136261;for(let s=0;s<t.length;s++)n^=t.charCodeAt(s),n=Math.imul(n,16777619);return n>>>0}const Le=r.forwardRef(function({iconOnly:n,ember:s,size:o="md",fullWidth:l,animated:c=!0,className:a,children:i,...m},g){const d=r.useId(),x=r.useMemo(()=>{const $=$s(ws(d));return Array.from({length:3},()=>({top:`${12+$()*58}%`,left:`${8+$()*80}%`,animationDelay:`${($()*3.2).toFixed(2)}s`,animationDuration:`${(2.8+$()*1.8).toFixed(2)}s`}))},[d]),j=[ie.spaceButton,n?ie.iconOnly:"",s?ie.ember:"",o!=="md"?ie[o]:"",l?ie.fullWidth:"",a??""].filter(Boolean).join(" ");return e.jsxs("button",{ref:g,className:j,"data-animated":c?void 0:"false",...m,children:[o!=="micro"&&e.jsx("span",{className:ie.stars,"aria-hidden":!0,children:x.map(($,h)=>e.jsx("i",{className:ie.star,style:$},h))}),e.jsx("span",{className:ie.label,children:i})]})}),Y={width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0};function ys(t){return e.jsx("svg",{...Y,...t,children:e.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 ks(t){return e.jsx("svg",{...Y,...t,children:e.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 Ns(t){return e.jsx("svg",{...Y,...t,children:e.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 Ms(t){return e.jsx("svg",{...Y,...t,children:e.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 Ls(t){return e.jsx("svg",{...Y,...t,children:e.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 Rs(t){return e.jsx("svg",{...Y,...t,children:e.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 Es(t){return e.jsx("svg",{...Y,...t,children:e.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 Is(t){return e.jsx("svg",{...Y,...t,children:e.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 Ss(t){return e.jsx("svg",{...Y,...t,children:e.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 Ds(t){return e.jsx("svg",{...Y,...t,children:e.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 qs(t){return e.jsx("svg",{...Y,...t,children:e.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 zs(t){return e.jsx("svg",{...Y,...t,children:e.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(t){return e.jsx("svg",{...Y,...t,children:e.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 Ts(t){return e.jsx("svg",{...Y,...t,children:e.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 As(t){return e.jsx("svg",{...Y,...t,children:e.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 Os(t){return e.jsx("svg",{...Y,...t,children:e.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 Pe(t){return e.jsx("svg",{...Y,...t,children:e.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 We(t){return e.jsx("svg",{...Y,...t,children:e.jsx("path",{d:"M8.84182 3.13508C9.04328 3.32394 9.05348 3.64036 8.86462 3.84182L5.43523 7.49991L8.86462 11.158C9.05348 11.3595 9.04328 11.6759 8.84182 11.8647C8.64036 12.0536 8.32394 12.0434 8.13508 11.8419L4.38508 7.84182C4.20477 7.64946 4.20477 7.35036 4.38508 7.158L8.13508 3.15801C8.32394 2.95655 8.64036 2.94634 8.84182 3.13508Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Bs(t){return e.jsx("svg",{...Y,...t,children:e.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 st(t){return e.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",...t,children:e.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 ot(t){return e.jsx("svg",{...Y,...t,children:e.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 rt(t){return e.jsx("svg",{...Y,...t,children:e.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 at(t){return e.jsx("svg",{...Y,...t,children:e.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 Vs="_root_p5j1t_12",Zs="_viewport_p5j1t_17",Fs="_track_p5j1t_21",Ps="_slide_p5j1t_66",Ws="_arrow_p5j1t_78",Gs="_prev_p5j1t_99",Us="_next_p5j1t_104",Ks="_arrowButton_p5j1t_109",Xs="_dots_p5j1t_115",Ys="_dot_p5j1t_115",ne={root:Vs,viewport:Zs,track:Fs,slide:Ps,arrow:Ws,prev:Gs,next:Us,arrowButton:Ks,dots:Xs,dot:Ys};function Qs({children:t,perView:n=1,step:s="item",showPagination:o=!1,animated:l=!0,className:c,"aria-label":a="Carousel",...i}){const m=r.Children.toArray(t),g=m.length,d=r.useId(),x=r.useRef(null),j=s==="page"?Math.max(1,Math.floor(n)):1,$=g<=n?1:s==="page"?Math.ceil((g-n)/j)+1:Math.ceil(g-n)+1,[h,b]=r.useState(j),[v,M]=r.useState(Math.max(1,$)),[S,D]=r.useState(0),[X,G]=r.useState(!0),[I,H]=r.useState(g<=n),B=r.useRef([0]),K=r.useRef(0),y=r.useRef(0),N=r.useRef(()=>{}),q=r.useCallback(()=>{const C=x.current;if(!C)return;const k=C.scrollLeft,V=Math.max(0,C.scrollWidth-C.clientWidth);if(Math.abs(V-K.current)>1){N.current();return}const Z=k<=1,W=k>=y.current-1;let _=0;W?_=B.current.length-1:Z||B.current.forEach((w,u)=>{Math.abs(w-k)<=Math.abs(B.current[_]-k)&&(_=u)}),D(_),G(Z),H(W)},[]),P=r.useCallback(()=>{const C=x.current;if(!C)return;const k=Array.from(C.children);if(!k.length)return;const V=Math.max(0,C.scrollWidth-C.clientWidth),Z=k[0],W=k.length>1?k[1].offsetLeft-Z.offsetLeft-Z.offsetWidth:0,_=(C.clientWidth+W)/(Z.offsetWidth+W),w=s==="page"?Math.max(1,Math.floor(_+.01)):1,u=k[k.length-1],f=Math.round(Math.max(0,Math.min(V,u.offsetLeft-Z.offsetLeft+u.offsetWidth-C.clientWidth))),E=[];k.forEach((A,O)=>{if(O%w!==0)return;const F=Math.round(Math.min(A.offsetLeft-Z.offsetLeft,f));E[E.length-1]!==F&&E.push(F)}),f>0&&E[E.length-1]<f-1&&E.push(f),B.current=E,K.current=Math.round(V),y.current=f,b(w),M(E.length),q()},[s,q]);r.useLayoutEffect(()=>{N.current=P,P()},[P,g]),r.useEffect(()=>{const C=x.current;if(!C)return;const k=new ResizeObserver(()=>P());k.observe(C);const V=C.firstElementChild;V&&k.observe(V);let Z=0;const W=()=>{cancelAnimationFrame(Z),Z=requestAnimationFrame(q)};return C.addEventListener("scroll",W,{passive:!0}),()=>{k.disconnect(),cancelAnimationFrame(Z),C.removeEventListener("scroll",W)}},[P,q,g]),r.useEffect(()=>{const C=x.current;if(!C)return;const k=4;let V=null,Z=0,W=0,_=!1,w=0;const u=()=>{clearTimeout(w),delete C.dataset.settling},f=z=>{z.pointerType!=="mouse"||z.button!==0||C.scrollWidth<=C.clientWidth||(u(),V=z.pointerId,Z=z.clientX,W=C.scrollLeft,_=!1)},E=z=>{if(z.pointerId!==V)return;const Q=z.clientX-Z;if(!_){if(Math.abs(Q)<k)return;_=!0,C.setPointerCapture(z.pointerId),C.dataset.dragging=""}C.scrollLeft=W-Q},A=z=>{if(z.pointerId!==V||(V=null,!_))return;delete C.dataset.dragging;const Q=C.scrollLeft,J=B.current;let oe=J.reduce((ce,ve)=>Math.abs(ve-Q)<Math.abs(ce-Q)?ve:ce,J[0]);Q>W+1&&oe<=W+1?oe=J.find(ce=>ce>W+1)??oe:Q<W-1&&oe>=W-1&&(oe=[...J].reverse().find(ce=>ce<W-1)??oe),C.dataset.settling="";const Ae=window.matchMedia("(prefers-reduced-motion: reduce)").matches;C.scrollTo({left:oe,behavior:Ae?"auto":"smooth"}),C.addEventListener("scrollend",u,{once:!0}),w=window.setTimeout(u,700)},O=z=>{_&&(_=!1,z.preventDefault(),z.stopPropagation())},F=z=>z.preventDefault();return C.addEventListener("pointerdown",f),C.addEventListener("pointermove",E),C.addEventListener("pointerup",A),C.addEventListener("pointercancel",A),C.addEventListener("click",O,!0),C.addEventListener("dragstart",F),()=>{u(),C.removeEventListener("pointerdown",f),C.removeEventListener("pointermove",E),C.removeEventListener("pointerup",A),C.removeEventListener("pointercancel",A),C.removeEventListener("click",O,!0),C.removeEventListener("dragstart",F)}},[]);const p=C=>{var k;return(k=x.current)==null?void 0:k.scrollTo({left:C})},R=C=>{const k=x.current;if(!k)return;const V=k.scrollLeft,Z=C>0?B.current.find(W=>W>V+1):[...B.current].reverse().find(W=>W<V-1);Z!==void 0&&p(Z)},T=v>1;return e.jsxs("section",{...i,"aria-roledescription":"carousel","aria-label":a,className:L(ne.root,c),"data-scrollable":T?"":void 0,children:[e.jsxs("div",{className:ne.viewport,children:[e.jsx("div",{ref:x,id:d,className:ne.track,tabIndex:0,style:{"--_view-count-default":n},children:m.map((C,k)=>e.jsx("div",{className:ne.slide,role:"group","aria-roledescription":"slide","aria-label":`${k+1} of ${g}`,"data-snap":k%h===0?"":void 0,children:C},C.key??k))}),e.jsx("span",{className:L(ne.arrow,ne.prev),children:e.jsx(Le,{iconOnly:!0,className:ne.arrowButton,animated:l,"aria-label":"Previous","aria-controls":d,disabled:X,onClick:()=>R(-1),children:e.jsx(We,{"aria-hidden":"true"})})}),e.jsx("span",{className:L(ne.arrow,ne.next),children:e.jsx(Le,{iconOnly:!0,className:ne.arrowButton,animated:l,"aria-label":"Next","aria-controls":d,disabled:I,onClick:()=>R(1),children:e.jsx(Pe,{"aria-hidden":"true"})})})]}),o&&T&&e.jsx("div",{className:ne.dots,children:Array.from({length:v},(C,k)=>e.jsx("button",{type:"button",className:ne.dot,"aria-label":s==="page"?`Page ${k+1} of ${v}`:`Position ${k+1} of ${v}`,"aria-controls":d,"aria-current":k===S?"true":void 0,onClick:()=>p(B.current[k]??0)},k))})]})}const Js="_nav_f248a_6",eo="_pages_f248a_21",to="_item_f248a_30",no="_current_f248a_48",so="_page_f248a_21",oo="_gap_f248a_82",ro="_stepText_f248a_92",ao="_step_f248a_92",se={nav:Js,pages:eo,item:to,current:no,page:so,gap:oo,stepText:ro,step:ao},lo="_spaceControl_4ou97_17",co="_spaceSlider_4ou97_74",io="_spacePanel_4ou97_111",uo="_spaceInput_4ou97_34",fo="_spaceTextArea_4ou97_226",po={spaceControl:lo,spaceSlider:co,spacePanel:io,spaceInput:uo,spaceTextArea:fo},ae=po;function lt({pageSize:t,totalItems:n}){return t<=0?1:Math.max(1,Math.ceil(n/t))}function ct(t,n,s=1){const o=(x,j)=>Array.from({length:Math.max(0,j-x+1)},($,h)=>x+h),l=s*2+5;if(n<=l)return o(1,n);const c=Math.min(Math.max(t,1),n),a=Math.max(c-s,1),i=Math.min(c+s,n),m=a>3,g=i<n-2,d=s*2+3;return m?g?[1,null,...o(a,i),null,n]:[1,null,...o(n-d+1,n)]:[...o(1,d),null,n]}function _o({pagination:t,onPageClick:n,siblings:s=1,animated:o=!0,className:l,"aria-label":c="Pagination",...a}){const i=lt(t);if(i<=1)return null;const m=Math.min(Math.max(t.page,1),i),g=d=>{d!==m&&d>=1&&d<=i&&n(d)};return e.jsxs("nav",{...a,"aria-label":c,className:L(se.nav,l),children:[e.jsxs("button",{type:"button",className:L(ae.spaceControl,se.item,se.step),disabled:m<=1,"aria-label":"Previous page",onClick:()=>g(m-1),children:[e.jsx(We,{"aria-hidden":"true"}),e.jsx("span",{className:se.stepText,children:"Previous"})]}),e.jsx("ol",{className:se.pages,children:ct(m,i,s).map((d,x)=>d===null?e.jsx("li",{className:se.gap,"aria-hidden":"true",children:"…"},`gap-${x}`):e.jsx("li",{children:e.jsx("button",{type:"button",className:L(ae.spaceControl,se.item,se.page,d===m&&se.current),"data-animated":d===m&&!o?"false":void 0,"aria-label":`Page ${d}`,"aria-current":d===m?"page":void 0,onClick:()=>g(d),children:d})},d))}),e.jsxs("button",{type:"button",className:L(ae.spaceControl,se.item,se.step),disabled:m>=i,"aria-label":"Next page",onClick:()=>g(m+1),children:[e.jsx("span",{className:se.stepText,children:"Next"}),e.jsx(Pe,{"aria-hidden":"true"})]})]})}const ho="_wrap_dwcut_5",mo="_sm_dwcut_30",go="_md_dwcut_36",xo="_lg_dwcut_42",Co="_orbit_dwcut_49",vo="_planet_dwcut_58",bo="_moon_dwcut_73",jo="_label_dwcut_92",me={wrap:ho,sm:mo,md:go,lg:xo,orbit:Co,planet:vo,"sp-loader-planet-pulse":"_sp-loader-planet-pulse_dwcut_1",moon:bo,"sp-loader-orbit":"_sp-loader-orbit_dwcut_1",label:jo,"sp-loader-reduced-pulse":"_sp-loader-reduced-pulse_dwcut_1"};function $o({size:t="md",label:n,className:s}){return e.jsxs("div",{className:L(me.wrap,me[t],s),role:"status","aria-live":"polite","aria-label":n??"Loading",children:[e.jsxs("span",{className:me.orbit,children:[e.jsx("span",{className:me.planet}),e.jsx("span",{className:me.moon})]}),n&&e.jsx("span",{className:me.label,children:n})]})}const wo="_content_1efo6_6",yo={content:wo};function Te(t,n){t.matches(":popover-open")||(t.dataset.instant="",t.dataset.measuring="",n(),delete t.dataset.measuring,t.offsetWidth,delete t.dataset.instant,t.offsetWidth,t.showPopover())}const ko=350,No=80,De=8,we=8;function Mo({triggerRef:t,tooltipId:n,show:s,hide:o,children:l}){const c=l.props;return r.cloneElement(l,{ref:t,"aria-describedby":n,onPointerEnter:a=>{var i;(i=c.onPointerEnter)==null||i.call(c,a),a.pointerType==="mouse"&&s()},onPointerLeave:a=>{var i;(i=c.onPointerLeave)==null||i.call(c,a),o()},onFocus:a=>{var i;(i=c.onFocus)==null||i.call(c,a),s(!0)},onBlur:a=>{var i;(i=c.onBlur)==null||i.call(c,a),o()},onClick:a=>{var i;(i=c.onClick)==null||i.call(c,a),o()}})}function it({label:t,side:n="bottom",children:s}){const o=r.useId(),[l,c]=r.useState(!1),[a,i]=r.useState(null),m=r.useRef(null),g=r.useRef(null),d=r.useRef(null),x=r.useRef(null),j=()=>{d.current&&(clearTimeout(d.current),d.current=null),x.current&&(clearTimeout(x.current),x.current=null)},$=(b=!1)=>{if(j(),b){c(!0);return}d.current=setTimeout(()=>c(!0),ko)},h=()=>{j(),x.current=setTimeout(()=>c(!1),No)};return r.useEffect(()=>j,[]),r.useLayoutEffect(()=>{const b=g.current;if(!b)return;if(!l){b.matches(":popover-open")&&b.hidePopover();return}const v=m.current;if(!v)return;const M=()=>{const S=v.getBoundingClientRect(),D=b.offsetWidth,X=b.offsetHeight,G=(q,P,p,R)=>Math.min(Math.max(q+P/2-p/2,we),Math.max(R-p-we,we)),I=(q,P,p,R)=>({fitsNear:q>=we,fitsFar:P+p<=R-we});if(n==="left"||n==="right"){const q=S.right+De,P=S.left-D-De,{fitsNear:p,fitsFar:R}=I(P,q,D,window.innerWidth),T=n==="right"?R||!p?q:P:p||!R?P:q;b.dataset.side=T===q?"right":"left",i({top:G(S.top,S.height,X,window.innerHeight),left:T});return}const H=S.bottom+De,B=S.top-X-De,{fitsNear:K,fitsFar:y}=I(B,H,X,window.innerHeight),N=n==="bottom"?y||!K?H:B:K||!y?B:H;b.dataset.side=N===H?"bottom":"top",i({top:N,left:G(S.left,S.width,D,window.innerWidth)})};b.matches(":popover-open")?M():Te(b,M)},[l,n,t]),!t||!r.isValidElement(s)?e.jsx(e.Fragment,{children:s}):e.jsxs(e.Fragment,{children:[e.jsx(Mo,{triggerRef:m,tooltipId:o,show:$,hide:h,children:s}),e.jsx("div",{ref:g,id:o,popover:"auto",role:"tooltip",className:yo.content,style:a?{top:a.top,left:a.left}:void 0,onToggle:b=>{b.nativeEvent.newState==="closed"&&l&&c(!1)},children:t})]})}const Lo="_group_1tdav_4",Ro="_segment_1tdav_15",Eo="_active_1tdav_35",Io="_vertical_1tdav_46",qe={group:Lo,segment:Ro,active:Eo,vertical:Io};function So({options:t,value:n,onValueChange:s,orientation:o="horizontal",className:l=""}){const c=o==="vertical";return e.jsx("div",{className:`${qe.group} ${c?qe.vertical:""} ${l}`,role:"group",children:t.map(a=>e.jsx(it,{label:a.label,side:c?"right":"bottom",children:e.jsx("button",{type:"button",className:`${qe.segment} ${a.value===n?qe.active:""}`,"aria-label":a.label,"aria-pressed":a.value===n,onClick:()=>{a.value!==n&&s(a.value)},children:a.icon})},a.value))})}const Do="_root_12wb9_2",qo="_trigger_12wb9_7",zo="_labelWrap_12wb9_30",Ho="_sizer_12wb9_8",To="_triggerLabel_12wb9_70",Ao="_chevron_12wb9_77",Oo="_listbox_12wb9_82",Bo="_item_12wb9_174",de={root:Do,trigger:qo,labelWrap:zo,sizer:Ho,triggerLabel:To,chevron:Ao,listbox:Oo,item:Bo},dt=r.createContext(null),Vo=()=>{const t=r.useContext(dt);if(!t)throw new Error("Select.Item must be inside a Select");return t},ut=(t,n)=>`${t}-${encodeURIComponent(n)}`,ye=4,ge=8;function Zo(t){const n=[],s=o=>{r.Children.forEach(o,l=>{if(!r.isValidElement(l))return;const c=l.props;l.type===ft&&typeof c.value=="string"?n.push({value:c.value,label:c.children,disabled:c.disabled}):c.children&&s(c.children)})};return s(t),n}function Fo({value:t,onValueChange:n,disabled:s,placeholder:o,animated:l=!0,className:c,children:a,...i}){const[m,g]=r.useState(!1),[d,x]=r.useState(null),j=r.useId(),$=r.useRef(null),h=r.useRef(null),b=r.useRef(null),[v,M]=r.useState(null),[S,D]=r.useState(null),[X,G]=r.useState(null),I=r.useMemo(()=>Zo(a),[a]),H=r.useMemo(()=>I.filter(p=>!p.disabled).map(p=>p.value),[I]),B=r.useMemo(()=>I.map(p=>p.label),[I]),K=r.useCallback(p=>{var R;return((R=I.find(T=>T.value===p))==null?void 0:R.label)??null},[I]);r.useEffect(()=>{if(!m)return;const p=R=>{h.current&&!h.current.contains(R.target)&&g(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[m]);const y=r.useCallback(()=>{const p=$.current,R=b.current;if(!p||!R)return;const T=p.getBoundingClientRect();M(p.offsetWidth);const C=window.innerHeight-T.bottom-ge,k=T.top-ge,V=C<Math.min(R.offsetHeight+ye,200)&&k>C,Z=Math.max(120,Math.min(380,V?k-ye:C-ye));D(Z),R.dataset.side=V?"top":"bottom";const W=Math.min(R.offsetHeight,Z),_=V?Math.max(ge,T.top-ye-W):T.bottom+ye,w=Math.min(Math.max(T.left,ge),Math.max(window.innerWidth-R.offsetWidth-ge,ge));G(u=>u&&u.top===_&&u.left===w?u:{top:_,left:w})},[]);r.useLayoutEffect(()=>{const p=b.current;p&&(m?(Te(p,y),y()):p.matches(":popover-open")&&p.hidePopover())},[m,y]),r.useEffect(()=>{if(!m)return;let p=0,R="";const T=()=>{const C=$.current;if(C){const k=C.getBoundingClientRect(),V=`${k.top}|${k.left}|${k.width}|${window.innerWidth}|${window.innerHeight}`;V!==R&&(R=V,y())}p=requestAnimationFrame(T)};return p=requestAnimationFrame(T),()=>cancelAnimationFrame(p)},[m,y]),r.useEffect(()=>{var p;m&&((p=b.current)==null||p.focus())},[m]);const N=p=>{x(p??H[0]??null),g(!0)},q=p=>{const R=d?H.indexOf(d):-1,T=Math.min(Math.max(R+p,0),H.length-1);x(H[T]??null)},P=t?K(t):null;return e.jsx(dt.Provider,{value:{value:t,onValueChange:n,disabled:s,open:m,setOpen:g,highlighted:d,setHighlighted:x,listboxId:j,values:H,labelFor:K,triggerRef:$},children:e.jsxs("div",{ref:h,className:de.root,children:[e.jsxs("button",{type:"button",...i,ref:$,disabled:s,className:L(de.trigger,ae.spaceControl,"spSelectTrigger",c),"data-animated":l?void 0:"false","data-state":m?"open":"closed","aria-haspopup":"listbox","aria-expanded":m,"aria-controls":j,onClick:()=>m?g(!1):N(t||null),onKeyDown:p=>{(p.key==="ArrowDown"||p.key==="Enter"||p.key===" ")&&(p.preventDefault(),N(t||null))},children:[e.jsxs("span",{className:de.labelWrap,children:[e.jsxs("span",{className:de.sizer,"data-sizer":"","aria-hidden":"true",children:[B.map((p,R)=>e.jsx("span",{children:p},R)),o&&e.jsx("span",{children:o})]}),e.jsx("span",{className:de.triggerLabel,children:P??o??""})]}),e.jsx("svg",{className:de.chevron,width:"9",height:"9",viewBox:"0 0 9 9","aria-hidden":"true",children:e.jsx("path",{d:"M0.5 3 L4.5 7 L8.5 3",fill:"none",stroke:"currentColor",strokeWidth:"1.2"})})]}),e.jsx("div",{ref:b,id:j,role:"listbox",tabIndex:-1,popover:"manual","data-side":"bottom","aria-activedescendant":d?ut(j,d):void 0,className:L(de.listbox,ae.spacePanel),"data-animated":l?void 0:"false",style:{...v!=null?{"--_select-trigger-width":`${v}px`}:{},...S!=null?{maxHeight:`${S}px`}:{},...X?{top:X.top,left:X.left}:{}},onKeyDown:p=>{var R,T;p.key==="Escape"?(p.stopPropagation(),g(!1),(R=$.current)==null||R.focus()):p.key==="ArrowDown"?(p.preventDefault(),q(1)):p.key==="ArrowUp"?(p.preventDefault(),q(-1)):p.key==="Home"?(p.preventDefault(),x(H[0]??null)):p.key==="End"?(p.preventDefault(),x(H[H.length-1]??null)):p.key==="Enter"||p.key===" "?(p.preventDefault(),d&&(n(d),g(!1),(T=$.current)==null||T.focus())):p.key==="Tab"&&g(!1)},children:a})]})})}function ft({value:t,disabled:n,children:s}){const o=Vo(),l=o.value===t,c=o.highlighted===t;return e.jsx("div",{id:ut(o.listboxId,t),role:"option","aria-selected":l,"aria-disabled":n||void 0,"data-highlighted":c?"":void 0,className:L(de.item,"spSelectItem"),onMouseEnter:()=>!n&&o.setHighlighted(t),onClick:()=>{var a;n||(o.onValueChange(t),o.setOpen(!1),(a=o.triggerRef.current)==null||a.focus())},children:s})}const Po=Object.assign(Fo,{Item:ft}),Wo="_root_1lx7y_1",Go="_input_1lx7y_7",Uo="_slot_1lx7y_17",Ve={root:Wo,input:Go,slot:Uo},Ko=r.forwardRef(function({className:n,style:s,animated:o=!0,children:l,...c},a){return e.jsxs("div",{className:L(Ve.root,ae.spaceInput,"spTextFieldRoot",n),"data-animated":o?void 0:"false",style:s,children:[l,e.jsx("input",{...c,ref:a,className:L(Ve.input,"spTextFieldInput")})]})});function Xo({children:t}){return e.jsx("span",{className:Ve.slot,children:t})}const Ze=Object.assign(Ko,{Slot:Xo}),Yo="_root_1qu6w_1",Qo="_textarea_1qu6w_6",Ye={root:Yo,textarea:Qo},Jo=r.forwardRef(function({className:n,style:s,animated:o=!0,...l},c){return e.jsx("div",{className:L(Ye.root,ae.spaceInput,ae.spaceTextArea,"spTextFieldRoot",n),"data-animated":o?void 0:"false",style:s,children:e.jsx("textarea",{...l,ref:c,className:L(Ye.textarea,"spTextAreaInput")})})}),er="_wrap_4p9as_12",tr="_field_4p9as_16",nr="_panel_4p9as_25",sr="_status_4p9as_91",or="_list_4p9as_101",rr="_option_4p9as_114",ar="_active_4p9as_126",lr="_label_4p9as_136",cr="_meta_4p9as_143",ir="_footer_4p9as_149",re={wrap:er,field:tr,panel:nr,status:sr,list:or,option:rr,active:ar,label:lr,meta:cr,footer:ir},Qe=8,Be=8;function dr({value:t,onValueChange:n,options:s,onSelect:o,icon:l,caseSensitive:c=!1,preFiltered:a=!1,loading:i=!1,loadingMessage:m="Loading…",emptyMessage:g,footer:d,animated:x=!0,className:j,style:$,...h}){const[b,v]=r.useState(!1),[M,S]=r.useState(0),D=r.useRef(null),X=r.useRef(null),G=r.useRef(null),I=r.useId(),[H,B]=r.useState(null),K=_=>typeof _.label=="string"?_.label:_.search??_.value,y=t.trim()!=="",N=r.useMemo(()=>{if(!y)return[];if(a)return s;const _=c?t:t.toLowerCase();return s.filter(w=>(c?K(w):K(w).toLowerCase()).includes(_))},[s,t,c,a,y]),q=r.useMemo(()=>N.filter(_=>!_.disabled),[N]),P=y&&(N.length>0||i||g!=null),p=b&&P;r.useEffect(()=>S(0),[N]),r.useEffect(()=>{var w;if(!p)return;const _=(w=G.current)==null?void 0:w.querySelector(`[data-index="${M}"]`);_==null||_.scrollIntoView({block:"nearest"})},[M,p]);const R=r.useCallback(()=>{const _=D.current,w=X.current;if(!_||!w)return;const f=(_.firstElementChild??_).getBoundingClientRect(),E=w.offsetHeight,A=window.innerHeight-f.bottom-Be,O=A<E&&f.top-Be>A;w.dataset.side=O?"top":"bottom";const F=O?Math.max(Be,f.top-Qe-E):f.bottom+Qe;B(z=>z&&z.top===F&&z.left===f.left&&z.width===f.width?z:{top:F,left:f.left,width:f.width})},[]);r.useLayoutEffect(()=>{const _=X.current;_&&(p?(Te(_,R),R()):_.matches(":popover-open")&&_.hidePopover())},[p,R]),r.useEffect(()=>{if(!p)return;let _=0,w="";const u=()=>{const f=D.current,E=X.current;if(f&&E){const A=(f.firstElementChild??f).getBoundingClientRect(),O=`${A.top}|${A.left}|${A.width}|${E.offsetHeight}|${window.innerHeight}`;O!==w&&(w=O,R())}_=requestAnimationFrame(u)};return _=requestAnimationFrame(u),()=>cancelAnimationFrame(_)},[p,R]);const T=r.useCallback(()=>v(!1),[]);r.useEffect(()=>{if(!p)return;const _=w=>{const u=D.current;u&&w.target instanceof Node&&!u.contains(w.target)&&T()};return document.addEventListener("pointerdown",_),()=>document.removeEventListener("pointerdown",_)},[p,T]);const C=r.useRef(!1),k=_=>{_.disabled||(n(K(_)),o(_.value,_),C.current=!1,v(!1))},V=_=>{if(q.length===0)return;const w=N[M],f=((w&&!w.disabled?q.indexOf(w):-1)+_+q.length)%q.length,E=q[f];E&&S(N.indexOf(E))},Z=_=>{if(_.key==="Escape"){p&&_.stopPropagation(),v(!1);return}if(_.key==="Tab"){v(!1);return}if(!p){_.key==="ArrowDown"&&v(!0);return}if(_.key==="ArrowDown")_.preventDefault(),C.current=!0,V(1);else if(_.key==="ArrowUp")_.preventDefault(),C.current=!0,V(-1);else if(_.key==="Home"){_.preventDefault(),C.current=!0;const w=q[0];w&&S(N.indexOf(w))}else if(_.key==="End"){_.preventDefault(),C.current=!0;const w=q[q.length-1];w&&S(N.indexOf(w))}else if(_.key==="Enter"||_.key===" "&&C.current){const w=N[M];w&&!w.disabled&&(_.preventDefault(),k(w))}},W=p?N[M]:void 0;return e.jsxs("div",{ref:D,className:L(re.wrap,j),style:$,children:[e.jsx(Ze,{...h,type:h.type??"text",role:"combobox",animated:x,className:re.field,autoComplete:"off","aria-expanded":p,"aria-controls":I,"aria-autocomplete":"list","aria-activedescendant":W&&!W.disabled?`${I}-${M}`:void 0,value:t,onFocus:_=>{var w;(w=h.onFocus)==null||w.call(h,_),v(!0)},onClick:_=>{var w;(w=h.onClick)==null||w.call(h,_),v(!0)},onKeyDown:_=>{var w;(w=h.onKeyDown)==null||w.call(h,_),Z(_)},onChange:_=>{C.current=!1,n(_.target.value),v(!0)},children:l!=null&&e.jsx(Ze.Slot,{children:l})}),e.jsxs("div",{ref:X,popover:"manual","data-side":"bottom",className:L(re.panel,ae.spacePanel),"data-animated":x?void 0:"false",style:H?{top:H.top,left:H.left,width:H.width}:void 0,children:[y&&i&&e.jsx("p",{className:re.status,children:m}),y&&!i&&N.length===0&&g!=null&&e.jsx("p",{className:re.status,children:g}),e.jsx("ul",{ref:G,id:I,role:"listbox",className:re.list,hidden:i||N.length===0,children:N.map((_,w)=>e.jsxs("li",{id:`${I}-${w}`,"data-index":w,role:"option","aria-selected":w===M,"aria-disabled":_.disabled||void 0,className:L(re.option,w===M&&!_.disabled&&re.active,"spAutocompleteOption"),onMouseEnter:()=>!_.disabled&&S(w),onPointerDown:u=>{u.preventDefault(),k(_)},children:[e.jsx("span",{className:re.label,children:_.label}),_.meta!=null&&e.jsx("span",{className:re.meta,children:_.meta})]},_.value))}),d!=null&&e.jsx("div",{className:re.footer,children:d})]})]})}const ur="_root_14a1b_1",fr="_track_14a1b_12",pr="_range_14a1b_22",_r="_thumb_14a1b_28",hr="_input_14a1b_38",ke={root:ur,track:fr,range:pr,thumb:_r,input:hr},mr=r.forwardRef(function({value:n,onValueChange:s,min:o,max:l,step:c,disabled:a,className:i,"aria-label":m},g){const d=n[0]??o,x=l===o?0:(d-o)/(l-o)*100;return e.jsxs("span",{className:L(ke.root,ae.spaceSlider,i),"data-disabled":a||void 0,children:[e.jsx("span",{className:L(ke.track,"spSliderTrack"),children:e.jsx("span",{className:L(ke.range,"spSliderRange"),style:{width:`${x}%`}})}),e.jsx("span",{className:L(ke.thumb,"spSliderThumb"),style:{left:`${x}%`}}),e.jsx("input",{ref:g,type:"range",className:L(ke.input,"spSliderInput"),value:d,min:o,max:l,step:c,disabled:a,"aria-label":m,onChange:j=>s([Number(j.target.value)])})]})}),gr="_root_1hrli_15",xr="_plot_1hrli_24",Cr="_svg_1hrli_30",vr="_grid_1hrli_35",br="_zeroLine_1hrli_42",jr="_axisLabel_1hrli_46",$r="_bar_1hrli_56",wr="_hatch_1hrli_76",yr="_partialNote_1hrli_80",kr="_line_1hrli_85",Nr="_area_1hrli_119",Mr="_dot_1hrli_125",Lr="_crosshair_1hrli_136",Rr="_clickable_1hrli_143",Er="_tooltip_1hrli_150",Ir="_tooltipHead_1hrli_164",Sr="_tooltipList_1hrli_170",Dr="_tooltipRow_1hrli_178",qr="_tooltipName_1hrli_186",zr="_tooltipValue_1hrli_190",Hr="_swatch_1hrli_195",Tr="_legend_1hrli_202",Ar="_legendItem_1hrli_211",Or="_data_1hrli_220",U={root:gr,plot:xr,svg:Cr,grid:vr,zeroLine:br,axisLabel:jr,bar:$r,hatch:wr,partialNote:yr,line:kr,area:Nr,dot:Mr,crosshair:Lr,clickable:Rr,tooltip:Er,tooltipHead:Ir,tooltipList:Sr,tooltipRow:Dr,tooltipName:qr,tooltipValue:zr,swatch:Hr,legend:Tr,legendItem:Ar,data:Or},pt=["var(--sp-chart-series-1-color)","var(--sp-chart-series-2-color)","var(--sp-chart-series-3-color)","var(--sp-chart-series-4-color)","var(--sp-chart-series-5-color)","var(--sp-chart-series-6-color)","var(--sp-chart-series-7-color)","var(--sp-chart-series-8-color)"],Fe=pt.length,He=t=>pt[t%Fe];function Br(t){if(t<=0)return 1;const n=10**Math.floor(Math.log10(t)),s=t/n;return(s<=1?1:s<=2?2:s<=5?5:10)*n}function Vr(t,{tickCount:n=5,zeroBased:s=!0}={}){const o=t.filter(h=>Number.isFinite(h)),l=o.length?Math.min(...o):0,c=o.length?Math.max(...o):0;let a=s?Math.min(0,l):l,i=s?Math.max(0,c):c;a===i&&(a===0?i=1:(a=Math.min(0,a),i=Math.max(0,i)));const m=Br((i-a)/Math.max(1,n)),g=Math.floor(a/m)*m,d=Math.ceil(i/m)*m,x=[],j=Math.round((d-g)/m);for(let h=0;h<=j;h++)x.push(Number((g+h*m).toPrecision(12)));const $=d-g||1;return{min:g,max:d,ticks:x,ratio:h=>(h-g)/$}}function Zr(t,n=.25){if(t<=0)return{centre:[],width:0};const s=1/t;return{centre:Array.from({length:t},(o,l)=>s*(l+.5)),width:s*(1-n*2)}}function Fr(t,n,s,o,l,c=!0){const a=Math.max(0,Math.min(l,s/2,o));return a===0?`M${t},${n}h${s}v${o}h${-s}Z`:c?`M${t},${n+o}V${n+a}a${a},${a} 0 0 1 ${a},${-a}h${s-a*2}a${a},${a} 0 0 1 ${a},${a}V${n+o}Z`:`M${t},${n}V${n+o-a}a${a},${a} 0 0 0 ${a},${a}h${s-a*2}a${a},${a} 0 0 0 ${a},${-a}V${n}Z`}function Pr(t){return t<=0?[]:t===1?[.5]:Array.from({length:t},(n,s)=>s/(t-1))}const Wr=()=>{var n,s;return((s=(n=globalThis.process)==null?void 0:n.env)==null?void 0:s.NODE_ENV)!=="production"},Ge=t=>Number.isInteger(t)?t.toLocaleString("en-US"):t.toLocaleString("en-US",{maximumFractionDigits:2}),fe={top:8,right:8,bottom:24},Je=8;function Gr({type:t,categories:n,series:s,height:o=240,stacked:l=!1,legend:c,grid:a=!0,formatValue:i=Ge,tickCount:m=5,animated:g=!0,partialFrom:d,onPointClick:x,className:j,"aria-label":$,...h}){const b=r.useId(),v=r.useRef(null),[M,S]=r.useState(0),[D,X]=r.useState(null);r.useEffect(()=>{const u=v.current;if(!u)return;const f=new ResizeObserver(([E])=>{S(Math.round(E.contentRect.width))});return f.observe(u),S(Math.round(u.getBoundingClientRect().width)),()=>f.disconnect()},[]),r.useEffect(()=>{if(!Wr())return;s.length>Fe&&console.warn(`Chart: ${s.length} series, but the palette names ${Fe}. Past that the colours repeat. Group the tail into an "Other" series, or split the chart.`);const u=s.filter(f=>f.data.length!==n.length);u.length&&console.warn(`Chart: ${u.map(f=>`"${f.name}"`).join(", ")} ${u.length===1?"has":"have"} a different number of values than there are categories (${n.length}). Values line up with categories by position, so the tail will be missing.`)},[s,n.length]);const G=l&&(t==="bar"||t==="area"),I=t==="bar"&&typeof d=="number"&&d>=0,H=u=>I&&u>=d,B=r.useMemo(()=>{const u=[];return G?n.forEach((f,E)=>{let A=0,O=0;s.forEach(F=>{const z=F.data[E];typeof z=="number"&&(z>=0?A+=z:O+=z)}),u.push(A,O)}):s.forEach(f=>f.data.forEach(E=>{typeof E=="number"&&u.push(E)})),Vr(u,{tickCount:m,zeroBased:t!=="line"||u.some(f=>f<0)})},[s,n,G,m,t]),K=r.useMemo(()=>B.ticks.map(i),[B.ticks,i]),y=Math.max(...K.map(u=>u.length*7),24)+Je,N=Math.max(0,M-y-fe.right),q=Math.max(0,o-fe.top-fe.bottom),P=t==="bar"?0:16,p=u=>y+P+u*Math.max(0,N-P*2),R=u=>fe.top+(1-B.ratio(u))*q,T=Zr(n.length),C=Pr(n.length),k=u=>{var f;return((f=s[u])==null?void 0:f.color)??He(u)},V=c??s.length>1,Z=r.useMemo(()=>{const u=s.map(()=>[]);return n.forEach((f,E)=>{let A=0,O=0;s.forEach((F,z)=>{const Q=F.data[E];if(!G||typeof Q!="number"){u[z][E]=0;return}Q>=0?(u[z][E]=A,A+=Q):(u[z][E]=O,O+=Q)})}),u},[s,n,G]),W=r.useCallback(u=>{const f=v.current;if(!f||!n.length||N<=0)return null;const E=f.getBoundingClientRect(),A=t==="bar"?N:Math.max(1,N-32),O=(u-E.left-y-(t==="bar"?0:16))/A,F=t==="bar"?T.centre:C;let z=0;return F.forEach((Q,J)=>{Math.abs(Q-O)<Math.abs(F[z]-O)&&(z=J)}),{index:z,x:p(F[z])}},[n.length,y,N,t,T.centre,C]),_=(u,f)=>{var A;const E=(A=s[u])==null?void 0:A.data[f];typeof E!="number"||!x||x({series:s[u].name,seriesIndex:u,category:n[f],categoryIndex:f,value:E})},w=G||s.length===1?T.width*N:T.width*N/s.length;return e.jsxs("div",{...h,className:L(U.root,j),"data-type":t,"data-animated":g?"":void 0,style:{...h.style},children:[e.jsxs("div",{ref:v,className:U.plot,style:{height:o},onPointerMove:u=>{u.pointerType!=="touch"&&X(W(u.clientX))},onPointerLeave:()=>X(null),children:[e.jsxs("svg",{className:U.svg,width:M||void 0,height:o,viewBox:M?`0 0 ${M} ${o}`:void 0,role:"img","aria-labelledby":$?void 0:b,"aria-label":$,children:[e.jsxs("defs",{children:[s.map((u,f)=>e.jsxs("linearGradient",{id:`${b}-grad-${f}`,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:k(f),stopOpacity:"1"}),e.jsx("stop",{offset:"100%",stopColor:k(f),stopOpacity:"0.55"})]},`grad-${f}`)),s.map((u,f)=>e.jsxs("linearGradient",{id:`${b}-area-${f}`,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:k(f),stopOpacity:"0.45"}),e.jsx("stop",{offset:"100%",stopColor:k(f),stopOpacity:"0.02"})]},`area-${f}`))]}),I&&e.jsx("defs",{children:s.map((u,f)=>e.jsxs("pattern",{id:`${b}-hatch-${f}`,width:"8",height:"8",patternUnits:"userSpaceOnUse",patternTransform:"rotate(45)",children:[e.jsx("rect",{width:"8",height:"8",fill:"transparent"}),e.jsx("line",{className:U.hatch,x1:"2",y1:"0",x2:"2",y2:"8",stroke:k(f)}),e.jsx("line",{className:U.hatch,x1:"6",y1:"0",x2:"6",y2:"8",stroke:k(f)})]},`hatch-${f}`))}),a&&B.ticks.map(u=>e.jsx("line",{className:L(U.grid,u===0&&B.min<0&&U.zeroLine),x1:y,x2:y+N,y1:R(u),y2:R(u)},`grid-${u}`)),B.ticks.map((u,f)=>e.jsx("text",{className:U.axisLabel,x:y-Je,y:R(u),textAnchor:"end",dominantBaseline:"middle",children:K[f]},`label-${u}`)),n.map((u,f)=>e.jsx("text",{className:U.axisLabel,x:p(t==="bar"?T.centre[f]:C[f]),y:o-fe.bottom/2,textAnchor:"middle",dominantBaseline:"middle",children:u},`cat-${u}-${f}`)),t==="bar"&&s.map((u,f)=>e.jsx("g",{children:n.map((E,A)=>{const O=u.data[A];if(typeof O!="number")return null;const F=Z[f][A],z=R(F+O),Q=R(F),J=p(T.centre[A])-T.width*N/2,oe=G||s.length===1?J:J+f*w,Ae=Math.max(1,w-(s.length>1&&!G?2:0)),ce=Math.max(1,Math.abs(Q-z)),ve=I&&A>=d;return e.jsx("path",{className:L(U.bar,x&&U.clickable),d:Fr(oe,Math.min(z,Q),Ae,ce,4,O>=0),fill:ve?`url(#${b}-hatch-${f})`:`url(#${b}-grad-${f})`,color:k(f),"data-dim":D&&D.index!==A?"":void 0,onClick:()=>_(f,A),children:e.jsx("title",{children:`${u.name}, ${E}: ${i(O)}${ve?" so far":""}`})},`bar-${E}-${A}`)})},`bars-${u.name}-${f}`)),t!=="bar"&&s.map((u,f)=>{const E=[];let A=[];return u.data.forEach((O,F)=>{if(typeof O!="number"){A.length&&E.push(A),A=[];return}A.push({i:F,value:O,base:Z[f][F]})}),A.length&&E.push(A),e.jsxs("g",{children:[E.map((O,F)=>{const z=O.map((J,oe)=>`${oe===0?"M":"L"}${p(C[J.i])},${R(J.base+J.value)}`).join(" "),Q=t==="area"?`${z} L${p(C[O[O.length-1].i])},${R(O[O.length-1].base)} `+O.slice().reverse().map(J=>`L${p(C[J.i])},${R(J.base)}`).join(" ")+" Z":null;return e.jsxs("g",{children:[Q&&e.jsx("path",{className:U.area,d:Q,fill:`url(#${b}-area-${f})`}),e.jsx("path",{className:U.line,d:z,stroke:k(f),color:k(f),fill:"none",pathLength:1})]},`run-${F}`)}),u.data.map((O,F)=>typeof O=="number"?e.jsx("circle",{className:L(U.dot,x&&U.clickable),cx:p(C[F]),cy:R(Z[f][F]+O),r:4,fill:k(f),color:k(f),"data-on":(D==null?void 0:D.index)===F?"":void 0,onClick:()=>_(f,F),children:e.jsx("title",{children:`${u.name}, ${n[F]}: ${i(O)}`})},`dot-${F}`):null)]},`line-${u.name}-${f}`)}),D&&e.jsx("line",{className:U.crosshair,x1:D.x,x2:D.x,y1:fe.top,y2:fe.top+q})]}),D&&e.jsxs("div",{className:U.tooltip,style:D.x>y+N/2?{right:Math.max(0,M-D.x+12)}:{left:D.x+12},role:"status",children:[e.jsx("p",{className:U.tooltipHead,children:n[D.index]}),e.jsx("ul",{className:U.tooltipList,children:s.map((u,f)=>{const E=u.data[D.index];return e.jsxs("li",{className:U.tooltipRow,children:[e.jsx("span",{className:U.swatch,style:{background:k(f)},"aria-hidden":"true"}),e.jsx("span",{className:U.tooltipName,children:u.name}),e.jsxs("span",{className:U.tooltipValue,children:[typeof E=="number"?i(E):"—",H(D.index)&&typeof E=="number"&&e.jsx("span",{className:U.partialNote,children:"so far"})]})]},u.name)})})]})]}),V&&e.jsx("ul",{className:U.legend,children:s.map((u,f)=>e.jsxs("li",{className:U.legendItem,children:[e.jsx("span",{className:U.swatch,style:{background:k(f)},"aria-hidden":"true"}),u.name]},u.name))}),e.jsxs("table",{className:U.data,id:b,children:[e.jsx("caption",{children:$??"Chart data"}),e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:"Category"}),s.map(u=>e.jsx("th",{scope:"col",children:u.name},u.name))]})}),e.jsx("tbody",{children:n.map((u,f)=>e.jsxs("tr",{children:[e.jsx("th",{scope:"row",children:u}),s.map(E=>e.jsxs("td",{children:[typeof E.data[f]=="number"?i(E.data[f]):"—",H(f)&&typeof E.data[f]=="number"?" so far":""]},E.name))]},u))})]})]})}const Ur="_root_90ktq_8",Kr="_row_90ktq_15",Xr="_line_90ktq_21",Yr="_pressable_90ktq_36",Qr="_fill_90ktq_50",Jr="_label_90ktq_58",ea="_track_90ktq_66",ta="_value_90ktq_101",na="_percent_90ktq_106",le={root:Ur,row:Kr,line:Xr,pressable:Yr,fill:Qr,label:Jr,track:ea,value:ta,percent:na};function sa({items:t,max:n,showPercent:s=!1,formatValue:o=Ge,colorful:l=!1,animated:c=!0,onItemClick:a,className:i,"aria-label":m,...g}){const d=n??Math.max(0,...t.map(j=>j.value)),x=t.reduce((j,$)=>j+($.value>0?$.value:0),0);return e.jsx("div",{...g,className:L(le.root,i),role:"list","aria-label":m,"data-animated":c?"":void 0,children:t.map((j,$)=>{const h=d>0?Math.max(0,j.value)/d:0,b=x>0?j.value/x*100:0,v=j.color??(l?He($):"var(--sp-chart-series-1-color)"),M=e.jsxs(e.Fragment,{children:[e.jsx("span",{className:le.label,children:j.label}),e.jsx("span",{className:le.track,children:e.jsx("span",{className:le.fill,style:{width:`${h*100}%`,background:v,animationDelay:`${Math.min($*60,360)}ms`}})}),e.jsxs("span",{className:le.value,children:[o(j.value),s&&e.jsxs("span",{className:le.percent,children:[Math.round(b),"%"]})]})]});return e.jsx("div",{role:"listitem",className:le.row,children:a?e.jsx("button",{type:"button",className:L(le.line,le.pressable),onClick:()=>a(j,$),children:M}):e.jsx("span",{className:le.line,children:M})},`${j.label}-${$}`)})})}const oa="_root_1y6jk_6",ra="_svg_1y6jk_15",aa="_face_1y6jk_24",la="_hole_1y6jk_25",ca="_slice_1y6jk_35",ia="_sweep_1y6jk_57",da="_clickable_1y6jk_70",ua="_total_1y6jk_76",fa="_totalLabel_1y6jk_84",pa="_legend_1y6jk_89",_a="_legendItem_1y6jk_98",ha="_legendName_1y6jk_113",ma="_legendValue_1y6jk_121",ga="_legendPercent_1y6jk_126",xa="_swatch_1y6jk_131",ee={root:oa,svg:ra,face:aa,hole:la,slice:ca,sweep:ia,clickable:da,total:ua,totalLabel:fa,legend:pa,legendItem:_a,legendName:ha,legendValue:ma,legendPercent:ga,swatch:xa},xe=(t,n,s)=>{const o=s*2*Math.PI-Math.PI/2;return{x:t+n*Math.cos(o),y:t+n*Math.sin(o)}};function Ca({slices:t,donut:n=!1,label:s,size:o=180,legend:l=!0,animated:c=!0,formatValue:a=Ge,onSliceClick:i,className:m,"aria-label":g,...d}){const[x,j]=r.useState(null),$=r.useId(),h=t.filter(I=>I.value>0),b=h.reduce((I,H)=>I+H.value,0),v=o/2,M=v-2,S=n?M*.62:0;let D=0;const X=h.map((I,H)=>{const B=b>0?I.value/b:0,K=D;D+=B;const y=xe(v,M,K),N=xe(v,M,D),q=B>.5?1:0,P=B>=.999,p=P?n?`M${v},${v-M} A${M},${M} 0 1 1 ${v-.01},${v-M} Z M${v},${v-S} A${S},${S} 0 1 0 ${v-.01},${v-S} Z`:`M${v},${v-M} A${M},${M} 0 1 1 ${v-.01},${v-M} Z`:n?`M${y.x},${y.y} A${M},${M} 0 ${q} 1 ${N.x},${N.y} L${xe(v,S,D).x},${xe(v,S,D).y} A${S},${S} 0 ${q} 0 ${xe(v,S,K).x},${xe(v,S,K).y} Z`:`M${v},${v} L${y.x},${y.y} A${M},${M} 0 ${q} 1 ${N.x},${N.y} Z`;return{slice:I,index:H,d:p,fraction:B,fillRule:P&&n?"evenodd":void 0}}),G=I=>t.indexOf(I);return e.jsxs("div",{...d,className:L(ee.root,m),"data-animated":c?"":void 0,children:[e.jsxs("svg",{className:ee.svg,width:o,height:o,viewBox:`0 0 ${o} ${o}`,role:"img","aria-label":g??"Pie chart",children:[e.jsxs("defs",{children:[e.jsxs("radialGradient",{id:`${$}-face`,cx:"32%",cy:"26%",r:"78%",children:[e.jsx("stop",{offset:"0%",stopColor:"#fff",stopOpacity:"0.22"}),e.jsx("stop",{offset:"55%",stopColor:"#fff",stopOpacity:"0.04"}),e.jsx("stop",{offset:"100%",stopColor:"#000",stopOpacity:"0.28"})]}),e.jsxs("radialGradient",{id:`${$}-edge`,cx:"50%",cy:"50%",r:"50%",children:[e.jsx("stop",{offset:"88%",stopColor:"#000",stopOpacity:"0"}),e.jsx("stop",{offset:"100%",stopColor:"#000",stopOpacity:"0.45"})]})]}),e.jsxs("g",{className:ee.sweep,children:[X.map(({slice:I,index:H,d:B,fillRule:K})=>e.jsx("path",{className:L(ee.slice,i&&ee.clickable),d:B,fill:I.color??He(G(I)),fillRule:K,"data-dim":x!==null&&x!==H?"":void 0,onPointerEnter:()=>j(H),onPointerLeave:()=>j(null),onClick:()=>i==null?void 0:i(I,G(I)),children:e.jsx("title",{children:`${I.label}: ${a(I.value)}`})},`${I.label}-${H}`)),e.jsx("circle",{className:ee.face,cx:v,cy:v,r:M,fill:`url(#${$}-face)`}),e.jsx("circle",{className:ee.face,cx:v,cy:v,r:M,fill:`url(#${$}-edge)`}),n&&e.jsx("circle",{className:ee.hole,cx:v,cy:v,r:S,fill:"none",stroke:"#000",strokeOpacity:"0.45",strokeWidth:"3"})]}),n&&e.jsxs(e.Fragment,{children:[e.jsx("text",{className:ee.total,x:v,y:v-(s?6:0),textAnchor:"middle",dominantBaseline:"middle",children:a(x!==null?h[x].value:b)}),s&&e.jsx("text",{className:ee.totalLabel,x:v,y:v+14,textAnchor:"middle",dominantBaseline:"middle",children:x!==null?h[x].label:s})]})]}),l&&e.jsx("ul",{className:ee.legend,children:h.map((I,H)=>e.jsxs("li",{className:ee.legendItem,"data-dim":x!==null&&x!==H?"":void 0,children:[e.jsx("span",{className:ee.swatch,style:{background:I.color??He(G(I))},"aria-hidden":"true"}),e.jsx("span",{className:ee.legendName,children:I.label}),e.jsxs("span",{className:ee.legendValue,children:[a(I.value),e.jsxs("span",{className:ee.legendPercent,children:[b>0?Math.round(I.value/b*100):0,"%"]})]})]},`${I.label}-${H}`))})]})}const va="_root_mmcx8_18",ba="_item_mmcx8_24",ja="_selfLabeled_mmcx8_33",$a="_label_mmcx8_37",wa="_input_mmcx8_41",ya="_box_mmcx8_57",ka="_tick_mmcx8_80",Na="_dash_mmcx8_81",Ma="_tickPath_mmcx8_95",te={root:va,item:ba,selfLabeled:ja,label:$a,input:wa,box:ya,tick:ka,dash:Na,tickPath:Ma},_t=r.createContext(null);function ht({checked:t,indeterminate:n,disabled:s,onToggle:o,value:l,ariaLabel:c}){const a=r.useRef(null);return r.useEffect(()=>{a.current&&(a.current.indeterminate=n===!0)},[n]),e.jsxs(e.Fragment,{children:[e.jsx("input",{ref:a,type:"checkbox",className:te.input,"aria-label":c,value:l,checked:t,disabled:s,onChange:i=>o(i.currentTarget.checked)}),e.jsxs("span",{className:te.box,"aria-hidden":"true",children:[e.jsx("svg",{className:te.tick,viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{className:te.tickPath,d:"M3.5 8.4 6.6 11.5 12.5 4.8",pathLength:1,stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})}),e.jsx("span",{className:te.dash})]})]})}function La({value:t,onValueChange:n,disabled:s,className:o,"aria-label":l,children:c}){return e.jsx(_t.Provider,{value:{value:t,onValueChange:n,disabled:s},children:e.jsx("div",{role:"group","aria-label":l,className:L(te.root,o),children:c})})}function Ra({value:t,disabled:n,children:s}){const o=r.useContext(_t);if(!o)throw new Error("CheckboxGroup.Item must be inside a CheckboxGroup");const l=n||o.disabled,c=o.value.includes(t),a=e.jsx(ht,{checked:c,disabled:l,value:t,onToggle:i=>o.onValueChange(i?[...o.value,t]:o.value.filter(m=>m!==t))});return s==null?e.jsx("span",{className:te.item,children:a}):e.jsxs("label",{className:L(te.item,te.selfLabeled),children:[a,e.jsx("span",{className:te.label,children:s})]})}const Ea=Object.assign(La,{Item:Ra});function Ia({checked:t,onCheckedChange:n,indeterminate:s,disabled:o,className:l,"aria-label":c,children:a}){const i=e.jsx(ht,{checked:t,indeterminate:s,disabled:o,ariaLabel:c,onToggle:n});return a==null?e.jsx("span",{className:L(te.item,l),children:i}):e.jsxs("label",{className:L(te.item,te.selfLabeled,l),children:[i,e.jsx("span",{className:te.label,children:a})]})}const Sa="_root_1u1sq_15",Da="_item_1u1sq_23",qa="_selfLabeled_1u1sq_32",za="_input_1u1sq_36",Ha="_orb_1u1sq_52",Ta="_burst_1u1sq_99",pe={root:Sa,item:Da,selfLabeled:qa,input:za,orb:Ha,burst:Ta},mt=r.createContext(null);function Aa({value:t,onValueChange:n,disabled:s,className:o,children:l}){const c=r.useId();return e.jsx(mt.Provider,{value:{value:t,onValueChange:n,disabled:s,name:c},children:e.jsx("div",{role:"radiogroup",className:L(pe.root,o),children:l})})}function Oa({value:t,disabled:n,children:s}){const o=r.useContext(mt);if(!o)throw new Error("RadioGroup.Item must be inside a RadioGroup");const l=n||o.disabled,c=e.jsxs(e.Fragment,{children:[e.jsx("input",{type:"radio",className:pe.input,name:o.name,value:t,checked:o.value===t,disabled:l,onChange:()=>o.onValueChange(t)}),e.jsx("span",{className:L(pe.orb,"spRadioOrb"),"aria-hidden":"true",children:e.jsx("span",{className:pe.burst})})]});return s==null?e.jsx("span",{className:pe.item,children:c}):e.jsxs("label",{className:L(pe.item,pe.selfLabeled),children:[c,s]})}const Ba=Object.assign(Aa,{Item:Oa}),Va="_progress_1cre6_16",Za={progress:Va};function Fa({value:t,max:n=100,className:s,style:o,...l}){const c=n>0?Math.min(Math.max(t/n*100,0),100):0;return e.jsx("div",{...l,role:"progressbar","aria-valuenow":t,"aria-valuemin":0,"aria-valuemax":n,className:L(Za.progress,s),style:o,children:e.jsx("div",{style:{width:`${c}%`,height:"100%"}})})}const Pa="_message_1522x_14",Wa="_info_1522x_44",Ga="_warning_1522x_49",Ua="_alert_1522x_56",Ka="_icon_1522x_63",Xa="_body_1522x_74",Ya="_title_1522x_83",Qa="_text_1522x_90",Ce={message:Pa,info:Wa,warning:Ga,alert:Ua,icon:Ka,body:Xa,title:Ya,text:Qa},Ja={info:e.jsx(ot,{}),warning:e.jsx(rt,{}),alert:e.jsx(at,{})},el={info:{role:"status",live:"polite"},warning:{role:"status",live:"polite"},alert:{role:"alert"}},tl=r.forwardRef(function({variant:n="info",title:s,icon:o,className:l,children:c,...a},i){const m=o===void 0?Ja[n]:o,{role:g,live:d}=el[n];return e.jsxs("div",{...a,ref:i,role:g,"aria-live":d,className:L(Ce.message,Ce[n],l),children:[m!=null&&e.jsx("span",{className:Ce.icon,"aria-hidden":"true",children:m}),e.jsxs("div",{className:Ce.body,children:[s!=null&&e.jsx("p",{className:Ce.title,children:s}),c!=null&&e.jsx("div",{className:Ce.text,children:c})]})]})}),nl="_dialog_zbndh_2",sl="_inner_zbndh_71",ol="_size4_zbndh_76",rl="_title_zbndh_80",al="_closeX_zbndh_88",Me={dialog:nl,inner:sl,size4:ol,title:rl,closeX:al};let ze=0;const gt=r.createContext(null),Ee=()=>{const t=r.useContext(gt);if(!t)throw new Error("Dialog parts must be inside a Dialog");return t};function xt(t){return function({open:s,onOpenChange:o,children:l}){const[c,a]=r.useState(!1),i=s!==void 0,m=i?s:c,g=h=>{i||a(h),o==null||o(h)},d=r.useId(),x=r.useId(),[j,$]=r.useState(!1);return e.jsx(gt.Provider,{value:{open:m,setOpen:g,titleId:d,descId:x,alert:t,hasDesc:j,setHasDesc:$},children:l})}}const ll=xt(!1),Ct=(t,n)=>{if(!r.isValidElement(t))return t;const s=t;return r.cloneElement(s,{onClick:o=>{var l,c;(c=(l=s.props).onClick)==null||c.call(l,o),n()}})};function vt({children:t}){const n=Ee();return e.jsx(e.Fragment,{children:Ct(t,()=>n.setOpen(!0))})}function Ue({children:t}){const n=Ee();return e.jsx(e.Fragment,{children:Ct(t,()=>n.setOpen(!1))})}function bt({size:t="3",maxWidth:n,className:s,style:o,children:l,...c}){const a=Ee(),i=r.useRef(null),m=r.useRef(!1),g=r.useRef(!1);return r.useEffect(()=>{const d=i.current;d&&(a.open&&!d.open?d.showModal():!a.open&&d.open&&d.close())},[a.open]),r.useEffect(()=>{if(a.open)return ze+=1,ze===1&&(document.body.style.overflow="hidden"),()=>{ze-=1,ze===0&&(document.body.style.overflow="")}},[a.open]),e.jsx("dialog",{...c,ref:i,role:a.alert?"alertdialog":void 0,"aria-labelledby":a.titleId,"aria-describedby":a.hasDesc?a.descId:void 0,className:L(Me.dialog,"spDialog",t==="4"&&Me.size4,s),style:{...n?{maxWidth:n}:null,...o},onKeyDownCapture:d=>{var x,j;d.key==="Escape"&&((x=i.current)!=null&&x.querySelector("dialog[open]")||(j=i.current)!=null&&j.querySelector('[role="listbox"]:not([hidden])')&&(m.current=!0))},onCancel:d=>{if(d.preventDefault(),m.current){m.current=!1;return}a.setOpen(!1)},onClose:()=>{a.open&&a.setOpen(!1)},onPointerDown:d=>{g.current=d.target===i.current},onClick:d=>{!a.alert&&d.target===i.current&&g.current&&a.setOpen(!1)},children:e.jsxs("div",{className:Me.inner,children:[!a.alert&&e.jsx("button",{type:"button",className:Me.closeX,"aria-label":"Close",onClick:()=>a.setOpen(!1),children:e.jsx(st,{width:16,height:16})}),l]})})}function jt({className:t,...n}){const s=Ee();return e.jsx(nt,{as:"h2",size:"5",...n,id:s.titleId,className:L(Me.title,t)})}function $t(t){const n=Ee(),{setHasDesc:s}=n;return r.useLayoutEffect(()=>(s(!0),()=>s(!1)),[s]),e.jsx(tt,{as:"p",...t,id:n.descId})}const cl=Object.assign(ll,{Trigger:vt,Close:Ue,Content:bt,Title:jt,Description:$t}),il=Ue,dl=Ue,ul=Object.assign(xt(!0),{Trigger:vt,Content:bt,Title:jt,Description:$t,Cancel:il,Action:dl}),fl="_menu_11ctg_1",pl="_label_11ctg_51",_l="_item_11ctg_61",hl="_danger_11ctg_80",ml="_separator_11ctg_84",Re={menu:fl,label:pl,item:_l,danger:hl,separator:ml},wt=r.createContext(null),gl=()=>{const t=r.useContext(wt);if(!t)throw new Error("DropdownMenu parts must be inside a DropdownMenu");return t};function xl({label:t,align:n="start",children:s,...o}){const[l,c]=r.useState(!1),a=r.useId(),i=r.useRef(null),m=r.useRef(null),g=r.useRef(null),d=r.useRef(l);d.current=l;const x=r.useCallback(h=>{d.current!==h&&(d.current=h,c(h))},[]),[j,$]=r.useState(null);return r.useLayoutEffect(()=>{var b;const h=m.current;if(h)if(l){const v=i.current;if(v){const M=v.getBoundingClientRect(),S=n==="end"?"auto":M.left,D=n==="end"?window.innerWidth-M.right:"auto";$({top:M.bottom+6,left:S,right:D})}h.showPopover(),(b=h.querySelector('[role="menuitem"]'))==null||b.focus()}else h.matches(":popover-open")&&h.hidePopover()},[l,n]),r.useEffect(()=>{if(!l)return;const h=()=>x(!1);return window.addEventListener("resize",h),()=>window.removeEventListener("resize",h)},[l]),e.jsxs(wt.Provider,{value:{open:l,setOpen:x,menuId:a},children:[e.jsx(Le,{...o,ref:i,"aria-haspopup":"menu","aria-expanded":l,"aria-controls":a,onPointerDown:h=>{var b;(b=o.onPointerDown)==null||b.call(o,h),g.current=!d.current},onKeyDown:h=>{var b;(b=o.onKeyDown)==null||b.call(o,h),(h.key==="Enter"||h.key===" ")&&(g.current=null)},onClick:h=>{var v;(v=o.onClick)==null||v.call(o,h);const b=g.current??!d.current;g.current=null,x(b)},children:t}),e.jsx("div",{ref:m,id:a,role:"menu",popover:"auto",className:Re.menu,style:j?{top:j.top,left:j.left==="auto"?"auto":j.left,right:j.right==="auto"?"auto":j.right}:void 0,onToggle:h=>{h.nativeEvent.newState==="closed"&&x(!1)},onKeyDown:h=>{var M,S,D,X,G,I;const b=Array.from(((M=m.current)==null?void 0:M.querySelectorAll('[role="menuitem"]'))??[]),v=b.indexOf(document.activeElement);h.key==="ArrowDown"?(h.preventDefault(),(S=b[Math.min(v+1,b.length-1)])==null||S.focus()):h.key==="ArrowUp"?(h.preventDefault(),(D=b[Math.max(v-1,0)])==null||D.focus()):h.key==="Home"?(h.preventDefault(),(X=b[0])==null||X.focus()):h.key==="End"?(h.preventDefault(),(G=b[b.length-1])==null||G.focus()):h.key==="Escape"&&(x(!1),(I=i.current)==null||I.focus())},children:s})]})}function Cl({children:t}){return e.jsx("div",{className:Re.label,children:t})}function vl({asChild:t,color:n,onSelect:s,children:o}){const l=gl(),c=L(Re.item,n==="danger"&&Re.danger),a=()=>{l.setOpen(!1),s==null||s()};if(t&&r.isValidElement(o)){const i=o,{className:m,onClick:g,children:d,role:x,tabIndex:j,...$}=i.props,h=i.ref;return r.createElement(i.type,{key:i.key,ref:h,role:"menuitem",tabIndex:-1,...$,className:L(c,m),onClick:b=>{g==null||g(b),l.setOpen(!1)}},d)}return e.jsx("button",{type:"button",role:"menuitem",tabIndex:-1,className:c,onClick:a,children:o})}function bl(){return e.jsx("div",{role:"separator",className:Re.separator})}const jl=Object.assign(xl,{Item:vl,Separator:bl,Label:Cl}),$l="_list_1hc3r_19",wl="_trigger_1hc3r_28",yt={list:$l,trigger:wl},kt=r.createContext(null),Nt=()=>{const t=r.useContext(kt);if(!t)throw new Error("Tabs parts must be inside a Tabs");return t};function yl({value:t,onValueChange:n,className:s,children:o}){const l=r.useId();return e.jsx(kt.Provider,{value:{value:t,onValueChange:n,id:l},children:e.jsx("div",{className:s,children:o})})}function kl({children:t}){return e.jsx("div",{role:"tablist",className:L(yt.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 l=s[(o+1)%s.length];l.focus(),l.click()}else if(n.key==="ArrowLeft"){n.preventDefault();const l=s[(o-1+s.length)%s.length];l.focus(),l.click()}else if(n.key==="Home"){n.preventDefault();const l=s[0];l.focus(),l.click()}else if(n.key==="End"){n.preventDefault();const l=s[s.length-1];l.focus(),l.click()}}},children:t})}function Nl({value:t,className:n,children:s,...o}){const l=Nt(),c=l.value===t;return e.jsx("button",{...o,type:"button",role:"tab",id:`${l.id}-tab-${t}`,"aria-selected":c,"aria-controls":`${l.id}-panel-${t}`,tabIndex:c?0:-1,"data-state":c?"active":"inactive",className:L(yt.trigger,"spTabsTrigger",n),onClick:()=>l.onValueChange(t),children:s})}function Ml({value:t,children:n}){const s=Nt();return s.value!==t?null:e.jsx("div",{role:"tabpanel",id:`${s.id}-panel-${t}`,"aria-labelledby":`${s.id}-tab-${t}`,children:n})}const Ll=Object.assign(yl,{List:kl,Trigger:Nl,Content:Ml}),Rl="_panel_4us94_9",El={panel:Rl},et=8,Ne=8,Il='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';function Sl({label:t,children:n,open:s,onOpenChange:o,defaultOpen:l=!1,side:c="bottom",align:a="start",panelClassName:i,onClick:m,...g}){const[d,x]=r.useState(l),j=s!==void 0,$=j?s:d,h=r.useId(),b=r.useId(),v=r.useRef(null),M=r.useRef(null),[S,D]=r.useState(null),X=r.useRef(!1),G=r.useRef(!1),I=r.useRef(null),H=r.useRef($);H.current=$;const B=r.useCallback(y=>{H.current!==y&&(H.current=y,j||x(y),o==null||o(y))},[j,o]),K=r.useCallback(()=>{const y=v.current,N=M.current;if(!y||!N)return;const q=y.getBoundingClientRect(),P=N.offsetWidth,p=N.offsetHeight,R=q.bottom+et,T=q.top-p-et,C=R+p<=window.innerHeight-Ne,k=T>=Ne,V=c==="bottom"?C||!k?R:T:k||!C?T:R,Z=V===R?"bottom":"top";N.dataset.side=Z;const W=a==="start"?q.left:a==="end"?q.right-P:q.left+q.width/2-P/2,_=Math.min(Math.max(W,Ne),Math.max(window.innerWidth-P-Ne,Ne));D(w=>w&&w.top===V&&w.left===_&&w.placed===Z?w:{top:V,left:_,placed:Z})},[c,a]);return r.useLayoutEffect(()=>{const y=M.current;y&&($?(Te(y,K),K(),X.current&&(X.current=!1,(y.querySelector(Il)??y).focus({preventScroll:!0}))):y.matches(":popover-open")&&y.hidePopover())},[$,K]),r.useEffect(()=>{if(!$)return;let y=0,N="";const q=()=>{const P=v.current,p=M.current;if(P&&p){const R=P.getBoundingClientRect(),T=`${R.top}|${R.left}|${R.width}|${R.height}|${p.offsetWidth}|${p.offsetHeight}|${window.innerWidth}|${window.innerHeight}`;T!==N&&(N=T,K())}y=requestAnimationFrame(q)};return y=requestAnimationFrame(q),()=>cancelAnimationFrame(y)},[$,K]),e.jsxs(e.Fragment,{children:[e.jsx(Le,{...g,ref:v,id:h,"aria-haspopup":"dialog","aria-expanded":$,"aria-controls":b,onPointerDown:y=>{var N;(N=g.onPointerDown)==null||N.call(g,y),I.current=!H.current},onKeyDown:y=>{var N;(N=g.onKeyDown)==null||N.call(g,y),(y.key==="Enter"||y.key===" ")&&(I.current=null)},onClick:y=>{m==null||m(y);const N=I.current??!H.current;I.current=null,N&&(X.current=!0),B(N)},children:t}),e.jsx("div",{ref:M,id:b,popover:"auto",role:"dialog","aria-labelledby":h,tabIndex:-1,className:L(El.panel,ae.spacePanel,i),"data-animated":g.animated===!1?"false":void 0,"data-side":(S==null?void 0:S.placed)??c,style:S?{top:S.top,left:S.left}:void 0,onKeyDown:y=>{y.key==="Escape"&&(G.current=!0,y.stopPropagation())},onToggle:y=>{var N;y.nativeEvent.newState==="closed"&&(G.current&&(G.current=!1,(N=v.current)==null||N.focus()),B(!1))},children:n})]})}exports.AlertDialog=ul;exports.Autocomplete=dr;exports.Badge=ns;exports.BarList=sa;exports.BookmarkIcon=Bs;exports.Box=wn;exports.Button=Le;exports.Card=is;exports.Carousel=Qs;exports.Chart=Gr;exports.ChatBubbleIcon=ks;exports.CheckIcon=Is;exports.Checkbox=Ia;exports.CheckboxGroup=Ea;exports.ChevronDownIcon=Os;exports.ChevronLeftIcon=We;exports.ChevronRightIcon=Pe;exports.ChevronUpIcon=As;exports.CrossCircledIcon=at;exports.Dialog=cl;exports.DropdownMenu=jl;exports.EnterFullScreenIcon=Es;exports.ExclamationTriangleIcon=rt;exports.ExitFullScreenIcon=Rs;exports.Flex=$n;exports.Grid=An;exports.Heading=nt;exports.HeartFilledIcon=Ls;exports.HeartIcon=Ts;exports.IconToggle=So;exports.InfoCircledIcon=ot;exports.Link=tn;exports.Loader=$o;exports.MagnifyingGlassIcon=Hs;exports.Message=tl;exports.MinusIcon=zs;exports.Pagination=_o;exports.Pencil1Icon=Ms;exports.PersonIcon=qs;exports.PieChart=Ca;exports.PlusIcon=Ns;exports.Popover=Sl;exports.Progress=Fa;exports.QuestionMarkCircledIcon=Ds;exports.RadioGroup=Ba;exports.Select=Po;exports.Separator=rs;exports.Share2Icon=ys;exports.Slider=mr;exports.Tabs=Ll;exports.Text=tt;exports.TextArea=Jo;exports.TextField=Ze;exports.Tooltip=it;exports.TrashIcon=Ss;exports.XIcon=st;exports.pageCount=lt;exports.pageWindow=ct;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),e=require("react/jsx-runtime"),we={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 ue({m:t,mt:n,mb:s,p:o,pb:l},c){const a={...t!==void 0&&{margin:we[t]},...n!==void 0&&{marginTop:we[n]},...s!==void 0&&{marginBottom:we[s]},...o!==void 0&&{padding:we[o]},...l!==void 0&&{paddingBottom:we[l]},...c};return Object.keys(a).length>0?a:void 0}function I(...t){return t.filter(Boolean).join(" ")}const kt="_text_rzzow_1",Rt="_size1_rzzow_5",It="_size2_rzzow_11",Et="_size3_rzzow_16",zt="_size4_rzzow_21",St="_size5_rzzow_27",Dt="_size6_rzzow_33",Ht="_medium_rzzow_39",Tt="_bold_rzzow_43",qt="_colorMuted_rzzow_47",At="_colorDanger_rzzow_51",Ot="_colorSuccess_rzzow_55",Bt="_colorWarning_rzzow_59",ze={text:kt,size1:Rt,size2:It,size3:Et,size4:zt,size5:St,size6:Dt,medium:Ht,bold:Tt,colorMuted:qt,colorDanger:At,colorSuccess:Ot,colorWarning:Bt},nt=r.forwardRef(function({as:n="span",size:s,weight:o,color:l,className:c,style:a,m:i,mt:m,mb:g,p:u,pb:C,...$},j){return r.createElement(n,{...$,ref:j,className:I(ze.text,s&&ze[`size${s}`],o&&ze[o],l&&ze[`color${l[0].toUpperCase()}${l.slice(1)}`],c),style:ue({m:i,mt:m,mb:g,p:u,pb:C},a)})}),Vt="_heading_15fm0_1",Ft="_size4_15fm0_7",Zt="_size5_15fm0_13",Pt="_size6_15fm0_19",Wt="_size7_15fm0_25",Gt="_size8_15fm0_31",Ut="_size9_15fm0_37",Kt="_colorMuted_15fm0_43",Xt="_colorDanger_15fm0_47",Yt="_alignCenter_15fm0_51",$e={heading:Vt,size4:Ft,size5:Zt,size6:Pt,size7:Wt,size8:Gt,size9:Ut,colorMuted:Kt,colorDanger:Xt,alignCenter:Yt},st=r.forwardRef(function({as:n="h2",size:s,color:o,align:l,className:c,style:a,m:i,mt:m,mb:g,p:u,pb:C,...$},j){return r.createElement(n,{...$,ref:j,className:I($e.heading,s&&$e[`size${s}`],o==="muted"&&$e.colorMuted,o==="danger"&&$e.colorDanger,l==="center"&&$e.alignCenter,c),style:ue({m:i,mt:m,mb:g,p:u,pb:C},a)})}),Qt="_link_1o4sa_1",Jt="_size1_1o4sa_10",en="_size2_1o4sa_16",tn="_size3_1o4sa_21",Xe={link:Qt,size1:Jt,size2:en,size3:tn},nn=r.forwardRef(function({asChild:n,size:s,className:o,style:l,m:c,mt:a,mb:i,p:m,pb:g,children:u,...C},$){const j=I(Xe.link,s&&Xe[`size${s}`],o),f=ue({m:c,mt:a,mb:i,p:m,pb:g},l);if(n&&r.isValidElement(u)){const b=u;return r.cloneElement(b,{...C,className:I(j,b.props.className),style:{...f,...b.props.style}})}return e.jsx("a",{...C,ref:$,className:j,style:f,children:u})}),sn="_flex_v4ziu_1",on="_gap1_v4ziu_5",rn="_gap2_v4ziu_9",an="_gap3_v4ziu_13",ln="_gap4_v4ziu_17",cn="_gap5_v4ziu_21",dn="_gap6_v4ziu_25",un="_directionRow_v4ziu_29",fn="_directionColumn_v4ziu_33",pn="_alignStart_v4ziu_37",_n="_alignCenter_v4ziu_41",hn="_alignEnd_v4ziu_45",mn="_alignBaseline_v4ziu_49",gn="_alignStretch_v4ziu_53",xn="_justifyStart_v4ziu_57",Cn="_justifyCenter_v4ziu_61",vn="_justifyEnd_v4ziu_65",bn="_justifyBetween_v4ziu_69",wn="_wrapWrap_v4ziu_73",$n="_wrapNowrap_v4ziu_77",he={flex:sn,gap1:on,gap2:rn,gap3:an,gap4:ln,gap5:cn,gap6:dn,directionRow:un,directionColumn:fn,alignStart:pn,alignCenter:_n,alignEnd:hn,alignBaseline:mn,alignStretch:gn,justifyStart:xn,justifyCenter:Cn,justifyEnd:vn,justifyBetween:bn,wrapWrap:wn,wrapNowrap:$n},Se=t=>t[0].toUpperCase()+t.slice(1),jn=r.forwardRef(function({asChild:n,gap:s,direction:o,align:l,justify:c,wrap:a,className:i,style:m,m:g,mt:u,mb:C,p:$,pb:j,children:f,...b},x){const M=I(he.flex,s&&he[`gap${s}`],o&&he[`direction${Se(o)}`],l&&he[`align${Se(l)}`],c&&he[`justify${Se(c)}`],a&&he[`wrap${Se(a)}`],i),E=ue({m:g,mt:u,mb:C,p:$,pb:j},m);if(n&&r.isValidElement(f)){const H=f;return r.cloneElement(H,{...b,className:I(M,H.props.className),style:{...E,...H.props.style}})}return e.jsx("div",{...b,ref:x,className:M,style:E,children:f})}),yn=r.forwardRef(function({style:n,m:s,mt:o,mb:l,p:c,pb:a,...i},m){return e.jsx("div",{...i,ref:m,style:ue({m:s,mt:o,mb:l,p:c,pb:a},n)})}),Mn="_grid_erpqq_1",Nn="_cols1_erpqq_5",Ln="_cols2_erpqq_9",kn="_cols3_erpqq_13",Rn="_smCols2_erpqq_18",In="_smCols3_erpqq_21",En="_mdCols2_erpqq_26",zn="_mdCols3_erpqq_29",Sn="_gap1_erpqq_33",Dn="_gap2_erpqq_37",Hn="_gap3_erpqq_41",Tn="_gap4_erpqq_45",qn="_gap5_erpqq_49",An="_gap6_erpqq_53",me={grid:Mn,cols1:Nn,cols2:Ln,cols3:kn,smCols2:Rn,smCols3:In,mdCols2:En,mdCols3:zn,gap1:Sn,gap2:Dn,gap3:Hn,gap4:Tn,gap5:qn,gap6:An},On=r.forwardRef(function({columns:n,gap:s,className:o,style:l,m:c,mt:a,mb:i,p:m,pb:g,...u},C){const $=typeof n=="string"?[me[`cols${n}`]]:n?[n.initial&&me[`cols${n.initial}`],n.sm&&me[`smCols${n.sm}`],n.md&&me[`mdCols${n.md}`]]:[];return e.jsx("div",{...u,ref:C,className:I(me.grid,...$,s&&me[`gap${s}`],o),style:ue({m:c,mt:a,mb:i,p:m,pb:g},l)})}),Bn="_badge_3q9da_2",Vn="_size1_3q9da_10",Fn="_size2_3q9da_17",Zn="_colorMuted_3q9da_24",Pn="_colorPrimary_3q9da_29",Wn="_colorSuccess_3q9da_34",Gn="_colorDanger_3q9da_39",Un="_colorWarning_3q9da_44",Kn="_colorCyan_3q9da_49",Xn="_colorPurple_3q9da_54",Yn="_colorOrange_3q9da_59",Qn="_colorAccent_3q9da_64",Jn="_colorYellow_3q9da_69",es="_solid_3q9da_77",ts="_wrap_3q9da_85",je={badge:Bn,size1:Vn,size2:Fn,colorMuted:Zn,colorPrimary:Pn,colorSuccess:Wn,colorDanger:Gn,colorWarning:Un,colorCyan:Kn,colorPurple:Xn,colorOrange:Yn,colorAccent:Qn,colorYellow:Jn,solid:es,wrap:ts},ns=t=>t[0].toUpperCase()+t.slice(1),ss=r.forwardRef(function({color:n="primary",variant:s="soft",size:o="1",wrap:l,className:c,style:a,m:i,mt:m,mb:g,p:u,pb:C,...$},j){return e.jsx("span",{...$,ref:j,className:I(je.badge,je[`color${ns(n)}`],s==="solid"&&je.solid,je[`size${o}`],l&&je.wrap,c),style:ue({m:i,mt:m,mb:g,p:u,pb:C},a)})}),os="_separator_vao01_1",rs="_full_vao01_7",Ye={separator:os,full:rs},as=r.forwardRef(function({size:n="4",className:s,...o},l){return e.jsx("span",{...o,ref:l,role:"separator",className:I(Ye.separator,n==="4"&&Ye.full,s)})}),ls="_card_4k34c_2",cs="_image_4k34c_14",is="_hasImage_4k34c_41",Be={card:ls,image:cs,hasImage:is},ds=r.forwardRef(function({className:n,style:s,image:o,children:l,m:c,mt:a,mb:i,p:m,pb:g,...u},C){return e.jsxs("div",{...u,ref:C,className:I(Be.card,o!=null&&Be.hasImage,n),style:ue({m:c,mt:a,mb:i,p:m,pb:g},s),children:[o!=null&&e.jsx("div",{className:Be.image,children:o}),l]})}),us="_spaceButton_1ewbr_14",fs="_rimRotate_1ewbr_1",ps="_glintSweep_1ewbr_1",_s="_iconOnly_1ewbr_105",hs="_lg_1ewbr_113",ms="_sm_1ewbr_120",gs="_micro_1ewbr_133",xs="_stars_1ewbr_150",Cs="_fullWidth_1ewbr_155",vs="_ember_1ewbr_161",bs="_label_1ewbr_171",ws="_star_1ewbr_150",$s="_twinkle_1ewbr_1",ie={spaceButton:us,rimRotate:fs,glintSweep:ps,iconOnly:_s,lg:hs,sm:ms,micro:gs,stars:xs,fullWidth:Cs,ember:vs,label:bs,star:ws,twinkle:$s};function js(t){return function(){t|=0,t=t+1831565813|0;let n=Math.imul(t^t>>>15,1|t);return n=n+Math.imul(n^n>>>7,61|n)^n,((n^n>>>14)>>>0)/4294967296}}function ys(t){let n=2166136261;for(let s=0;s<t.length;s++)n^=t.charCodeAt(s),n=Math.imul(n,16777619);return n>>>0}const Re=r.forwardRef(function({iconOnly:n,ember:s,size:o="md",fullWidth:l,animated:c=!0,className:a,children:i,...m},g){const u=r.useId(),C=r.useMemo(()=>{const j=js(ys(u));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`}))},[u]),$=[ie.spaceButton,n?ie.iconOnly:"",s?ie.ember:"",o!=="md"?ie[o]:"",l?ie.fullWidth:"",a??""].filter(Boolean).join(" ");return e.jsxs("button",{ref:g,className:$,"data-animated":c?void 0:"false",...m,children:[o!=="micro"&&e.jsx("span",{className:ie.stars,"aria-hidden":!0,children:C.map((j,f)=>e.jsx("i",{className:ie.star,style:j},f))}),e.jsx("span",{className:ie.label,children:i})]})}),Y={width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0};function Ms(t){return e.jsx("svg",{...Y,...t,children:e.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 Ns(t){return e.jsx("svg",{...Y,...t,children:e.jsx("path",{d:"M12.5 3L2.5 3.00002C1.67157 3.00002 1 3.6716 1 4.50002V9.50003C1 10.3285 1.67157 11 2.5 11H7.50003C7.63264 11 7.75982 11.0527 7.85358 11.1465L10 13.2929V11.5C10 11.2239 10.2239 11 10.5 11H12.5C13.3284 11 14 10.3285 14 9.50003V4.5C14 3.67157 13.3284 3 12.5 3ZM2.49999 2.00002L12.5 2C13.8807 2 15 3.11929 15 4.5V9.50003C15 10.8807 13.8807 12 12.5 12H11V14.5C11 14.7022 10.8782 14.8845 10.6913 14.9619C10.5045 15.0393 10.2894 14.9965 10.1464 14.8536L7.29292 12H2.5C1.11929 12 0 10.8807 0 9.50003V4.50002C0 3.11931 1.11928 2.00003 2.49999 2.00002Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Ls(t){return e.jsx("svg",{...Y,...t,children:e.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 ks(t){return e.jsx("svg",{...Y,...t,children:e.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 Rs(t){return e.jsx("svg",{...Y,...t,children:e.jsx("path",{d:"M1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.25769 1.35248 6.86058 1.92336 7.50002 2.93545C8.13946 1.92336 8.74235 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}function Is(t){return e.jsx("svg",{...Y,...t,children:e.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 Es(t){return e.jsx("svg",{...Y,...t,children:e.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 zs(t){return e.jsx("svg",{...Y,...t,children:e.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 Ss(t){return e.jsx("svg",{...Y,...t,children:e.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 Ds(t){return e.jsx("svg",{...Y,...t,children:e.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 Hs(t){return e.jsx("svg",{...Y,...t,children:e.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 Ts(t){return e.jsx("svg",{...Y,...t,children:e.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 qs(t){return e.jsx("svg",{...Y,...t,children:e.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 As(t){return e.jsx("svg",{...Y,...t,children:e.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 Os(t){return e.jsx("svg",{...Y,...t,children:e.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 Bs(t){return e.jsx("svg",{...Y,...t,children:e.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 We(t){return e.jsx("svg",{...Y,...t,children:e.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 Ge(t){return e.jsx("svg",{...Y,...t,children:e.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 Vs(t){return e.jsx("svg",{...Y,...t,children:e.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 ot(t){return e.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",...t,children:e.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 rt(t){return e.jsx("svg",{...Y,...t,children:e.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 at(t){return e.jsx("svg",{...Y,...t,children:e.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 lt(t){return e.jsx("svg",{...Y,...t,children:e.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 Fs="_root_tv9ho_12",Zs="_viewport_tv9ho_17",Ps="_track_tv9ho_21",Ws="_slide_tv9ho_66",Gs="_arrow_tv9ho_78",Us="_prev_tv9ho_99",Ks="_next_tv9ho_104",Xs="_arrowButton_tv9ho_109",Ys="_dots_tv9ho_115",Qs="_dot_tv9ho_115",ne={root:Fs,viewport:Zs,track:Ps,slide:Ws,arrow:Gs,prev:Us,next:Ks,arrowButton:Xs,dots:Ys,dot:Qs};function Js({children:t,perView:n=1,step:s="item",showPagination:o=!1,animated:l=!0,className:c,"aria-label":a="Carousel",...i}){const m=r.Children.toArray(t),g=m.length,u=r.useId(),C=r.useRef(null),$=s==="page"?Math.max(1,Math.floor(n)):1,j=g<=n?1:s==="page"?Math.ceil((g-n)/$)+1:Math.ceil(g-n)+1,[f,b]=r.useState($),[x,M]=r.useState(Math.max(1,j)),[E,H]=r.useState(0),[K,W]=r.useState(!0),[z,T]=r.useState(g<=n),V=r.useRef([0]),U=r.useRef(0),y=r.useRef(0),k=r.useRef(()=>{}),w=r.useCallback(()=>{const v=C.current;if(!v)return;const N=v.scrollLeft,F=Math.max(0,v.scrollWidth-v.clientWidth);if(Math.abs(F-U.current)>1){k.current();return}const Z=N<=1,G=N>=y.current-1;let h=0;G?h=V.current.length-1:Z||V.current.forEach((L,p)=>{Math.abs(L-N)<=Math.abs(V.current[h]-N)&&(h=p)}),H(h),W(Z),T(G)},[]),S=r.useCallback(()=>{const v=C.current;if(!v)return;const N=Array.from(v.children);if(!N.length)return;const F=Math.max(0,v.scrollWidth-v.clientWidth),Z=N[0],G=N.length>1?N[1].offsetLeft-Z.offsetLeft-Z.offsetWidth:0,h=(v.clientWidth+G)/(Z.offsetWidth+G),L=s==="page"?Math.max(1,Math.floor(h+.01)):1,p=N[N.length-1],_=Math.round(Math.max(0,Math.min(F,p.offsetLeft-Z.offsetLeft+p.offsetWidth-v.clientWidth))),D=[];N.forEach((O,B)=>{if(B%L!==0)return;const P=Math.round(Math.min(O.offsetLeft-Z.offsetLeft,_));D[D.length-1]!==P&&D.push(P)}),_>0&&D[D.length-1]<_-1&&D.push(_),V.current=D,U.current=Math.round(F),y.current=_,b(L),M(D.length),w()},[s,w]);r.useLayoutEffect(()=>{k.current=S,S()},[S,g]),r.useEffect(()=>{const v=C.current;if(!v)return;const N=new ResizeObserver(()=>S());N.observe(v);const F=v.firstElementChild;F&&N.observe(F);let Z=0;const G=()=>{cancelAnimationFrame(Z),Z=requestAnimationFrame(w)};return v.addEventListener("scroll",G,{passive:!0}),()=>{N.disconnect(),cancelAnimationFrame(Z),v.removeEventListener("scroll",G)}},[S,w,g]),r.useEffect(()=>{const v=C.current;if(!v)return;const N=4;let F=null,Z=0,G=0,h=!1,L=0;const p=()=>{clearTimeout(L),delete v.dataset.settling},_=A=>{A.pointerType!=="mouse"||A.button!==0||v.scrollWidth<=v.clientWidth||(p(),F=A.pointerId,Z=A.clientX,G=v.scrollLeft,h=!1)},D=A=>{if(A.pointerId!==F)return;const Q=A.clientX-Z;if(!h){if(Math.abs(Q)<N)return;h=!0,v.setPointerCapture(A.pointerId),v.dataset.dragging=""}v.scrollLeft=G-Q},O=A=>{if(A.pointerId!==F||(F=null,!h))return;delete v.dataset.dragging;const Q=v.scrollLeft,J=V.current;let oe=J.reduce((ce,be)=>Math.abs(be-Q)<Math.abs(ce-Q)?be:ce,J[0]);Q>G+1&&oe<=G+1?oe=J.find(ce=>ce>G+1)??oe:Q<G-1&&oe>=G-1&&(oe=[...J].reverse().find(ce=>ce<G-1)??oe),v.dataset.settling="";const Oe=window.matchMedia("(prefers-reduced-motion: reduce)").matches;v.scrollTo({left:oe,behavior:Oe?"auto":"smooth"}),v.addEventListener("scrollend",p,{once:!0}),L=window.setTimeout(p,700)},B=A=>{h&&(h=!1,A.preventDefault(),A.stopPropagation())},P=A=>A.preventDefault();return v.addEventListener("pointerdown",_),v.addEventListener("pointermove",D),v.addEventListener("pointerup",O),v.addEventListener("pointercancel",O),v.addEventListener("click",B,!0),v.addEventListener("dragstart",P),()=>{p(),v.removeEventListener("pointerdown",_),v.removeEventListener("pointermove",D),v.removeEventListener("pointerup",O),v.removeEventListener("pointercancel",O),v.removeEventListener("click",B,!0),v.removeEventListener("dragstart",P)}},[]);const d=v=>{var N;return(N=C.current)==null?void 0:N.scrollTo({left:v})},R=v=>{const N=C.current;if(!N)return;const F=N.scrollLeft,Z=v>0?V.current.find(G=>G>F+1):[...V.current].reverse().find(G=>G<F-1);Z!==void 0&&d(Z)},q=x>1;return e.jsxs("section",{...i,"aria-roledescription":"carousel","aria-label":a,className:I(ne.root,c),"data-scrollable":q?"":void 0,children:[e.jsxs("div",{className:ne.viewport,children:[e.jsx("div",{ref:C,id:u,className:ne.track,tabIndex:0,style:{"--_view-count-default":n},children:m.map((v,N)=>e.jsx("div",{className:ne.slide,role:"group","aria-roledescription":"slide","aria-label":`${N+1} of ${g}`,"data-snap":N%f===0?"":void 0,children:v},v.key??N))}),e.jsx("span",{className:I(ne.arrow,ne.prev),children:e.jsx(Re,{iconOnly:!0,className:ne.arrowButton,animated:l,"aria-label":"Previous","aria-controls":u,disabled:K,onClick:()=>R(-1),children:e.jsx(Ge,{"aria-hidden":"true"})})}),e.jsx("span",{className:I(ne.arrow,ne.next),children:e.jsx(Re,{iconOnly:!0,className:ne.arrowButton,animated:l,"aria-label":"Next","aria-controls":u,disabled:z,onClick:()=>R(1),children:e.jsx(We,{"aria-hidden":"true"})})})]}),o&&q&&e.jsx("div",{className:ne.dots,children:Array.from({length:x},(v,N)=>e.jsx("button",{type:"button",className:ne.dot,"aria-label":s==="page"?`Page ${N+1} of ${x}`:`Position ${N+1} of ${x}`,"aria-controls":u,"aria-current":N===E?"true":void 0,onClick:()=>d(V.current[N]??0)},N))})]})}const eo="_nav_mwel8_6",to="_pages_mwel8_21",no="_item_mwel8_30",so="_current_mwel8_48",oo="_page_mwel8_21",ro="_gap_mwel8_82",ao="_stepText_mwel8_92",lo="_step_mwel8_92",se={nav:eo,pages:to,item:no,current:so,page:oo,gap:ro,stepText:ao,step:lo},co="_spaceControl_1e9gg_17",io="_spaceSlider_1e9gg_74",uo="_spacePanel_1e9gg_111",fo="_spaceInput_1e9gg_34",po="_spaceTextArea_1e9gg_226",_o={spaceControl:co,spaceSlider:io,spacePanel:uo,spaceInput:fo,spaceTextArea:po},ae=_o;function ct({pageSize:t,totalItems:n}){return t<=0?1:Math.max(1,Math.ceil(n/t))}function it(t,n,s=1){const o=(C,$)=>Array.from({length:Math.max(0,$-C+1)},(j,f)=>C+f),l=s*2+5;if(n<=l)return o(1,n);const c=Math.min(Math.max(t,1),n),a=Math.max(c-s,1),i=Math.min(c+s,n),m=a>3,g=i<n-2,u=s*2+3;return m?g?[1,null,...o(a,i),null,n]:[1,null,...o(n-u+1,n)]:[...o(1,u),null,n]}function ho({pagination:t,onPageClick:n,siblings:s=1,animated:o=!0,className:l,"aria-label":c="Pagination",...a}){const i=ct(t);if(i<=1)return null;const m=Math.min(Math.max(t.page,1),i),g=u=>{u!==m&&u>=1&&u<=i&&n(u)};return e.jsxs("nav",{...a,"aria-label":c,className:I(se.nav,l),children:[e.jsxs("button",{type:"button",className:I(ae.spaceControl,se.item,se.step),disabled:m<=1,"aria-label":"Previous page",onClick:()=>g(m-1),children:[e.jsx(Ge,{"aria-hidden":"true"}),e.jsx("span",{className:se.stepText,children:"Previous"})]}),e.jsx("ol",{className:se.pages,children:it(m,i,s).map((u,C)=>u===null?e.jsx("li",{className:se.gap,"aria-hidden":"true",children:"…"},`gap-${C}`):e.jsx("li",{children:e.jsx("button",{type:"button",className:I(ae.spaceControl,se.item,se.page,u===m&&se.current),"data-animated":u===m&&!o?"false":void 0,"aria-label":`Page ${u}`,"aria-current":u===m?"page":void 0,onClick:()=>g(u),children:u})},u))}),e.jsxs("button",{type:"button",className:I(ae.spaceControl,se.item,se.step),disabled:m>=i,"aria-label":"Next page",onClick:()=>g(m+1),children:[e.jsx("span",{className:se.stepText,children:"Next"}),e.jsx(We,{"aria-hidden":"true"})]})]})}const mo="_wrap_dwcut_5",go="_sm_dwcut_30",xo="_md_dwcut_36",Co="_lg_dwcut_42",vo="_orbit_dwcut_49",bo="_planet_dwcut_58",wo="_moon_dwcut_73",$o="_label_dwcut_92",ge={wrap:mo,sm:go,md:xo,lg:Co,orbit:vo,planet:bo,"sp-loader-planet-pulse":"_sp-loader-planet-pulse_dwcut_1",moon:wo,"sp-loader-orbit":"_sp-loader-orbit_dwcut_1",label:$o,"sp-loader-reduced-pulse":"_sp-loader-reduced-pulse_dwcut_1"};function jo({size:t="md",label:n,className:s}){return e.jsxs("div",{className:I(ge.wrap,ge[t],s),role:"status","aria-live":"polite","aria-label":n??"Loading",children:[e.jsxs("span",{className:ge.orbit,children:[e.jsx("span",{className:ge.planet}),e.jsx("span",{className:ge.moon})]}),n&&e.jsx("span",{className:ge.label,children:n})]})}const yo="_content_3g9vd_6",Mo={content:yo};function Ae(t,n){t.matches(":popover-open")||(t.dataset.instant="",t.dataset.measuring="",n(),delete t.dataset.measuring,t.offsetWidth,delete t.dataset.instant,t.offsetWidth,t.showPopover())}const No=350,Lo=80,De=8,ye=8;function ko({triggerRef:t,tooltipId:n,show:s,hide:o,children:l}){const c=l.props;return r.cloneElement(l,{ref:t,"aria-describedby":n,onPointerEnter:a=>{var i;(i=c.onPointerEnter)==null||i.call(c,a),a.pointerType==="mouse"&&s()},onPointerLeave:a=>{var i;(i=c.onPointerLeave)==null||i.call(c,a),o()},onFocus:a=>{var i;(i=c.onFocus)==null||i.call(c,a),s(!0)},onBlur:a=>{var i;(i=c.onBlur)==null||i.call(c,a),o()},onClick:a=>{var i;(i=c.onClick)==null||i.call(c,a),o()}})}function dt({label:t,side:n="bottom",children:s}){const o=r.useId(),[l,c]=r.useState(!1),[a,i]=r.useState(null),m=r.useRef(null),g=r.useRef(null),u=r.useRef(null),C=r.useRef(null),$=()=>{u.current&&(clearTimeout(u.current),u.current=null),C.current&&(clearTimeout(C.current),C.current=null)},j=(b=!1)=>{if($(),b){c(!0);return}u.current=setTimeout(()=>c(!0),No)},f=()=>{$(),C.current=setTimeout(()=>c(!1),Lo)};return r.useEffect(()=>$,[]),r.useLayoutEffect(()=>{const b=g.current;if(!b)return;if(!l){b.matches(":popover-open")&&b.hidePopover();return}const x=m.current;if(!x)return;const M=()=>{const E=x.getBoundingClientRect(),H=b.offsetWidth,K=b.offsetHeight,W=(w,S,d,R)=>Math.min(Math.max(w+S/2-d/2,ye),Math.max(R-d-ye,ye)),z=(w,S,d,R)=>({fitsNear:w>=ye,fitsFar:S+d<=R-ye});if(n==="left"||n==="right"){const w=E.right+De,S=E.left-H-De,{fitsNear:d,fitsFar:R}=z(S,w,H,window.innerWidth),q=n==="right"?R||!d?w:S:d||!R?S:w;b.dataset.side=q===w?"right":"left",i({top:W(E.top,E.height,K,window.innerHeight),left:q});return}const T=E.bottom+De,V=E.top-K-De,{fitsNear:U,fitsFar:y}=z(V,T,K,window.innerHeight),k=n==="bottom"?y||!U?T:V:U||!y?V:T;b.dataset.side=k===T?"bottom":"top",i({top:k,left:W(E.left,E.width,H,window.innerWidth)})};b.matches(":popover-open")?M():Ae(b,M)},[l,n,t]),!t||!r.isValidElement(s)?e.jsx(e.Fragment,{children:s}):e.jsxs(e.Fragment,{children:[e.jsx(ko,{triggerRef:m,tooltipId:o,show:j,hide:f,children:s}),e.jsx("div",{ref:g,id:o,popover:"auto",role:"tooltip",className:Mo.content,style:a?{top:a.top,left:a.left}:void 0,onToggle:b=>{b.nativeEvent.newState==="closed"&&l&&c(!1)},children:t})]})}const Ro="_group_14c05_4",Io="_segment_14c05_15",Eo="_active_14c05_35",zo="_vertical_14c05_46",He={group:Ro,segment:Io,active:Eo,vertical:zo};function So({options:t,value:n,onValueChange:s,orientation:o="horizontal",className:l=""}){const c=o==="vertical";return e.jsx("div",{className:`${He.group} ${c?He.vertical:""} ${l}`,role:"group",children:t.map(a=>e.jsx(dt,{label:a.label,side:c?"right":"bottom",children:e.jsx("button",{type:"button",className:`${He.segment} ${a.value===n?He.active:""}`,"aria-label":a.label,"aria-pressed":a.value===n,onClick:()=>{a.value!==n&&s(a.value)},children:a.icon})},a.value))})}const Do="_root_10w57_2",Ho="_trigger_10w57_7",To="_labelWrap_10w57_30",qo="_sizer_10w57_8",Ao="_triggerLabel_10w57_70",Oo="_chevron_10w57_77",Bo="_listbox_10w57_82",Vo="_item_10w57_178",de={root:Do,trigger:Ho,labelWrap:To,sizer:qo,triggerLabel:Ao,chevron:Oo,listbox:Bo,item:Vo},ut=r.createContext(null),Fo=()=>{const t=r.useContext(ut);if(!t)throw new Error("Select.Item must be inside a Select");return t},ft=(t,n)=>`${t}-${encodeURIComponent(n)}`,Me=4,xe=8;function Zo(t){const n=[],s=o=>{r.Children.forEach(o,l=>{if(!r.isValidElement(l))return;const c=l.props;l.type===pt&&typeof c.value=="string"?n.push({value:c.value,label:c.children,disabled:c.disabled}):c.children&&s(c.children)})};return s(t),n}function Po({value:t,onValueChange:n,disabled:s,placeholder:o,animated:l=!0,className:c,children:a,...i}){const[m,g]=r.useState(!1),[u,C]=r.useState(null),$=r.useId(),j=r.useRef(null),f=r.useRef(null),b=r.useRef(null),[x,M]=r.useState(null),[E,H]=r.useState(null),[K,W]=r.useState(null),z=r.useMemo(()=>Zo(a),[a]),T=r.useMemo(()=>z.filter(d=>!d.disabled).map(d=>d.value),[z]),V=r.useMemo(()=>z.map(d=>d.label),[z]),U=r.useCallback(d=>{var R;return((R=z.find(q=>q.value===d))==null?void 0:R.label)??null},[z]);r.useEffect(()=>{if(!m)return;const d=R=>{f.current&&!f.current.contains(R.target)&&g(!1)};return document.addEventListener("mousedown",d),()=>document.removeEventListener("mousedown",d)},[m]);const y=r.useCallback(()=>{const d=j.current,R=b.current;if(!d||!R)return;const q=d.getBoundingClientRect();M(d.offsetWidth);const v=window.innerHeight-q.bottom-xe,N=q.top-xe,F=v<Math.min(R.offsetHeight+Me,200)&&N>v,Z=Math.max(120,Math.min(380,F?N-Me:v-Me));H(Z),R.dataset.side=F?"top":"bottom";const G=Math.min(R.offsetHeight,Z),h=F?Math.max(xe,q.top-Me-G):q.bottom+Me,L=Math.min(Math.max(q.left,xe),Math.max(window.innerWidth-R.offsetWidth-xe,xe));W(p=>p&&p.top===h&&p.left===L?p:{top:h,left:L})},[]);r.useLayoutEffect(()=>{const d=b.current;d&&(m?(Ae(d,y),y()):d.matches(":popover-open")&&d.hidePopover())},[m,y]),r.useEffect(()=>{if(!m)return;let d=0,R="";const q=()=>{const v=j.current;if(v){const N=v.getBoundingClientRect(),F=`${N.top}|${N.left}|${N.width}|${window.innerWidth}|${window.innerHeight}`;F!==R&&(R=F,y())}d=requestAnimationFrame(q)};return d=requestAnimationFrame(q),()=>cancelAnimationFrame(d)},[m,y]),r.useEffect(()=>{var d;m&&((d=b.current)==null||d.focus())},[m]);const k=d=>{C(d??T[0]??null),g(!0)},w=d=>{const R=u?T.indexOf(u):-1,q=Math.min(Math.max(R+d,0),T.length-1);C(T[q]??null)},S=t?U(t):null;return e.jsx(ut.Provider,{value:{value:t,onValueChange:n,disabled:s,open:m,setOpen:g,highlighted:u,setHighlighted:C,listboxId:$,values:T,labelFor:U,triggerRef:j},children:e.jsxs("div",{ref:f,className:de.root,children:[e.jsxs("button",{type:"button",...i,ref:j,disabled:s,className:I(de.trigger,ae.spaceControl,"spSelectTrigger",c),"data-animated":l?void 0:"false","data-state":m?"open":"closed","aria-haspopup":"listbox","aria-expanded":m,"aria-controls":$,onClick:()=>m?g(!1):k(t||null),onKeyDown:d=>{(d.key==="ArrowDown"||d.key==="Enter"||d.key===" ")&&(d.preventDefault(),k(t||null))},children:[e.jsxs("span",{className:de.labelWrap,children:[e.jsxs("span",{className:de.sizer,"data-sizer":"","aria-hidden":"true",children:[V.map((d,R)=>e.jsx("span",{children:d},R)),o&&e.jsx("span",{children:o})]}),e.jsx("span",{className:de.triggerLabel,children:S??o??""})]}),e.jsx("svg",{className:de.chevron,width:"9",height:"9",viewBox:"0 0 9 9","aria-hidden":"true",children:e.jsx("path",{d:"M0.5 3 L4.5 7 L8.5 3",fill:"none",stroke:"currentColor",strokeWidth:"1.2"})})]}),e.jsx("div",{ref:b,id:$,role:"listbox",tabIndex:-1,popover:"manual","data-side":"bottom","aria-activedescendant":u?ft($,u):void 0,className:I(de.listbox,ae.spacePanel),"data-animated":l?void 0:"false",style:{...x!=null?{"--_select-trigger-width":`${x}px`}:{},...E!=null?{maxHeight:`${E}px`}:{},...K?{top:K.top,left:K.left}:{}},onKeyDown:d=>{var R,q;d.key==="Escape"?(d.stopPropagation(),g(!1),(R=j.current)==null||R.focus()):d.key==="ArrowDown"?(d.preventDefault(),w(1)):d.key==="ArrowUp"?(d.preventDefault(),w(-1)):d.key==="Home"?(d.preventDefault(),C(T[0]??null)):d.key==="End"?(d.preventDefault(),C(T[T.length-1]??null)):d.key==="Enter"||d.key===" "?(d.preventDefault(),u&&(n(u),g(!1),(q=j.current)==null||q.focus())):d.key==="Tab"&&g(!1)},children:a})]})})}function pt({value:t,disabled:n,children:s}){const o=Fo(),l=o.value===t,c=o.highlighted===t;return e.jsx("div",{id:ft(o.listboxId,t),role:"option","aria-selected":l,"aria-disabled":n||void 0,"data-highlighted":c?"":void 0,className:I(de.item,"spSelectItem"),onMouseEnter:()=>!n&&o.setHighlighted(t),onClick:()=>{var a;n||(o.onValueChange(t),o.setOpen(!1),(a=o.triggerRef.current)==null||a.focus())},children:s})}const Wo=Object.assign(Po,{Item:pt}),Go="_root_1hali_1",Uo="_input_1hali_7",Ko="_slot_1hali_17",Fe={root:Go,input:Uo,slot:Ko},Xo=r.forwardRef(function({className:n,style:s,animated:o=!0,children:l,...c},a){return e.jsxs("div",{className:I(Fe.root,ae.spaceInput,"spTextFieldRoot",n),"data-animated":o?void 0:"false",style:s,children:[l,e.jsx("input",{...c,ref:a,className:I(Fe.input,"spTextFieldInput")})]})});function Yo({children:t}){return e.jsx("span",{className:Fe.slot,children:t})}const Ze=Object.assign(Xo,{Slot:Yo}),Qo="_root_1qu6w_1",Jo="_textarea_1qu6w_6",Qe={root:Qo,textarea:Jo},er=r.forwardRef(function({className:n,style:s,animated:o=!0,...l},c){return e.jsx("div",{className:I(Qe.root,ae.spaceInput,ae.spaceTextArea,"spTextFieldRoot",n),"data-animated":o?void 0:"false",style:s,children:e.jsx("textarea",{...l,ref:c,className:I(Qe.textarea,"spTextAreaInput")})})}),tr="_wrap_sccqq_12",nr="_field_sccqq_16",sr="_panel_sccqq_25",or="_status_sccqq_91",rr="_list_sccqq_101",ar="_option_sccqq_114",lr="_active_sccqq_126",cr="_label_sccqq_136",ir="_meta_sccqq_143",dr="_footer_sccqq_149",re={wrap:tr,field:nr,panel:sr,status:or,list:rr,option:ar,active:lr,label:cr,meta:ir,footer:dr},Je=8,Ve=8;function ur({value:t,onValueChange:n,options:s,onSelect:o,icon:l,caseSensitive:c=!1,preFiltered:a=!1,loading:i=!1,loadingMessage:m="Loading…",emptyMessage:g,footer:u,animated:C=!0,className:$,style:j,...f}){const[b,x]=r.useState(!1),[M,E]=r.useState(0),H=r.useRef(null),K=r.useRef(null),W=r.useRef(null),z=r.useId(),[T,V]=r.useState(null),U=h=>typeof h.label=="string"?h.label:h.search??h.value,y=t.trim()!=="",k=r.useMemo(()=>{if(!y)return[];if(a)return s;const h=c?t:t.toLowerCase();return s.filter(L=>(c?U(L):U(L).toLowerCase()).includes(h))},[s,t,c,a,y]),w=r.useMemo(()=>k.filter(h=>!h.disabled),[k]),S=y&&(k.length>0||i||g!=null),d=b&&S;r.useEffect(()=>E(0),[k]),r.useEffect(()=>{var L;if(!d)return;const h=(L=W.current)==null?void 0:L.querySelector(`[data-index="${M}"]`);h==null||h.scrollIntoView({block:"nearest"})},[M,d]);const R=r.useCallback(()=>{const h=H.current,L=K.current;if(!h||!L)return;const _=(h.firstElementChild??h).getBoundingClientRect(),D=L.offsetHeight,O=window.innerHeight-_.bottom-Ve,B=O<D&&_.top-Ve>O;L.dataset.side=B?"top":"bottom";const P=B?Math.max(Ve,_.top-Je-D):_.bottom+Je;V(A=>A&&A.top===P&&A.left===_.left&&A.width===_.width?A:{top:P,left:_.left,width:_.width})},[]);r.useLayoutEffect(()=>{const h=K.current;h&&(d?(Ae(h,R),R()):h.matches(":popover-open")&&h.hidePopover())},[d,R]),r.useEffect(()=>{if(!d)return;let h=0,L="";const p=()=>{const _=H.current,D=K.current;if(_&&D){const O=(_.firstElementChild??_).getBoundingClientRect(),B=`${O.top}|${O.left}|${O.width}|${D.offsetHeight}|${window.innerHeight}`;B!==L&&(L=B,R())}h=requestAnimationFrame(p)};return h=requestAnimationFrame(p),()=>cancelAnimationFrame(h)},[d,R]);const q=r.useCallback(()=>x(!1),[]);r.useEffect(()=>{if(!d)return;const h=L=>{const p=H.current;p&&L.target instanceof Node&&!p.contains(L.target)&&q()};return document.addEventListener("pointerdown",h),()=>document.removeEventListener("pointerdown",h)},[d,q]);const v=r.useRef(!1),N=h=>{h.disabled||(n(U(h)),o(h.value,h),v.current=!1,x(!1))},F=h=>{if(w.length===0)return;const L=k[M],_=((L&&!L.disabled?w.indexOf(L):-1)+h+w.length)%w.length,D=w[_];D&&E(k.indexOf(D))},Z=h=>{if(h.key==="Escape"){d&&h.stopPropagation(),x(!1);return}if(h.key==="Tab"){x(!1);return}if(!d){h.key==="ArrowDown"&&x(!0);return}if(h.key==="ArrowDown")h.preventDefault(),v.current=!0,F(1);else if(h.key==="ArrowUp")h.preventDefault(),v.current=!0,F(-1);else if(h.key==="Home"){h.preventDefault(),v.current=!0;const L=w[0];L&&E(k.indexOf(L))}else if(h.key==="End"){h.preventDefault(),v.current=!0;const L=w[w.length-1];L&&E(k.indexOf(L))}else if(h.key==="Enter"||h.key===" "&&v.current){const L=k[M];L&&!L.disabled&&(h.preventDefault(),N(L))}},G=d?k[M]:void 0;return e.jsxs("div",{ref:H,className:I(re.wrap,$),style:j,children:[e.jsx(Ze,{...f,type:f.type??"text",role:"combobox",animated:C,className:re.field,autoComplete:"off","aria-expanded":d,"aria-controls":z,"aria-autocomplete":"list","aria-activedescendant":G&&!G.disabled?`${z}-${M}`:void 0,value:t,onFocus:h=>{var L;(L=f.onFocus)==null||L.call(f,h),x(!0)},onClick:h=>{var L;(L=f.onClick)==null||L.call(f,h),x(!0)},onKeyDown:h=>{var L;(L=f.onKeyDown)==null||L.call(f,h),Z(h)},onChange:h=>{v.current=!1,n(h.target.value),x(!0)},children:l!=null&&e.jsx(Ze.Slot,{children:l})}),e.jsxs("div",{ref:K,popover:"manual","data-side":"bottom",className:I(re.panel,ae.spacePanel),"data-animated":C?void 0:"false",style:T?{top:T.top,left:T.left,width:T.width}:void 0,children:[y&&i&&e.jsx("p",{className:re.status,children:m}),y&&!i&&k.length===0&&g!=null&&e.jsx("p",{className:re.status,children:g}),e.jsx("ul",{ref:W,id:z,role:"listbox",className:re.list,hidden:i||k.length===0,children:k.map((h,L)=>e.jsxs("li",{id:`${z}-${L}`,"data-index":L,role:"option","aria-selected":L===M,"aria-disabled":h.disabled||void 0,className:I(re.option,L===M&&!h.disabled&&re.active,"spAutocompleteOption"),onMouseEnter:()=>!h.disabled&&E(L),onPointerDown:p=>{p.preventDefault(),N(h)},children:[e.jsx("span",{className:re.label,children:h.label}),h.meta!=null&&e.jsx("span",{className:re.meta,children:h.meta})]},h.value))}),u!=null&&e.jsx("div",{className:re.footer,children:u})]})]})}const fr="_root_1x14g_2",pr="_track_1x14g_13",_r="_range_1x14g_25",hr="_thumb_1x14g_32",mr="_input_1x14g_44",Ne={root:fr,track:pr,range:_r,thumb:hr,input:mr},fe=(t,n,s)=>Math.min(Math.max(t,n),s),gr=r.forwardRef(function({value:n,onValueChange:s,min:o,max:l,step:c=1,minDistance:a=0,disabled:i,className:m,"aria-label":g,thumbLabels:u},C){const $=r.useRef(null),j=r.useRef([]),f=n.length>1,b=l-o||1,x=fe(n[0]??o,o,l),M=f?fe(n[1]??l,o,l):x,E=f?[x,M]:[x],H=w=>(w-o)/b*100,K=w=>o+Math.floor(Number(((w-o)/c).toFixed(8)))*c,W=w=>o+Math.ceil(Number(((w-o)/c).toFixed(8)))*c,z=(w,S)=>f?w===0?fe(S,o,Math.max(o,K(M-a))):fe(S,Math.min(l,W(x+a)),l):fe(S,o,l),T=(w,S)=>{const d=z(w,S);if(d===E[w])return;const R=[...E];R[w]=d,s(R)},V=w=>{if(!f)return 0;const S=Math.abs(w-x),d=Math.abs(w-M);return S===d?w<x?0:1:S<d?0:1},U=w=>{var N,F;if(!f||i||w.target.tagName==="INPUT")return;const S=(N=$.current)==null?void 0:N.getBoundingClientRect();if(!S||S.width===0)return;const d=fe((w.clientX-S.left)/S.width,0,1),R=o+d*b,q=fe(o+Math.round((R-o)/c)*c,o,l),v=V(q);T(v,q),(F=j.current[v])==null||F.focus()},y=w=>u?u[w]:f?g?`${g} ${w===0?"minimum":"maximum"}`:w===0?"Minimum":"Maximum":g,k=f&&x===M?M>=l?0:1:-1;return e.jsxs("span",{ref:$,className:I(Ne.root,ae.spaceSlider,m),"data-disabled":i||void 0,"data-range":f||void 0,onPointerDown:U,children:[e.jsx("span",{className:I(Ne.track,"spSliderTrack"),children:e.jsx("span",{className:I(Ne.range,"spSliderRange"),style:{insetInlineStart:`${f?H(x):0}%`,width:`${f?H(M)-H(x):H(x)}%`}})}),E.map((w,S)=>e.jsx("span",{className:I(Ne.thumb,"spSliderThumb"),style:{left:`${H(w)}%`},"data-thumb":S},S)),E.map((w,S)=>e.jsx("input",{ref:d=>{j.current[S]=d,S===0&&(typeof C=="function"?C(d):C&&(C.current=d))},type:"range",className:I(Ne.input,"spSliderInput"),value:w,min:o,max:l,step:c,disabled:i,"aria-label":y(S),style:k===S?{zIndex:1}:void 0,onChange:d=>T(S,Number(d.target.value))},S))]})}),xr="_root_1fiei_15",Cr="_plot_1fiei_24",vr="_svg_1fiei_30",br="_grid_1fiei_35",wr="_zeroLine_1fiei_42",$r="_axisLabel_1fiei_46",jr="_bar_1fiei_56",yr="_hatch_1fiei_76",Mr="_partialNote_1fiei_80",Nr="_line_1fiei_85",Lr="_area_1fiei_119",kr="_dot_1fiei_125",Rr="_crosshair_1fiei_136",Ir="_clickable_1fiei_143",Er="_tooltip_1fiei_150",zr="_tooltipHead_1fiei_164",Sr="_tooltipList_1fiei_170",Dr="_tooltipRow_1fiei_178",Hr="_tooltipName_1fiei_186",Tr="_tooltipValue_1fiei_190",qr="_swatch_1fiei_195",Ar="_legend_1fiei_202",Or="_legendItem_1fiei_211",Br="_data_1fiei_220",X={root:xr,plot:Cr,svg:vr,grid:br,zeroLine:wr,axisLabel:$r,bar:jr,hatch:yr,partialNote:Mr,line:Nr,area:Lr,dot:kr,crosshair:Rr,clickable:Ir,tooltip:Er,tooltipHead:zr,tooltipList:Sr,tooltipRow:Dr,tooltipName:Hr,tooltipValue:Tr,swatch:qr,legend:Ar,legendItem:Or,data:Br},_t=["var(--sp-chart-series-1-color)","var(--sp-chart-series-2-color)","var(--sp-chart-series-3-color)","var(--sp-chart-series-4-color)","var(--sp-chart-series-5-color)","var(--sp-chart-series-6-color)","var(--sp-chart-series-7-color)","var(--sp-chart-series-8-color)"],Pe=_t.length,qe=t=>_t[t%Pe];function Vr(t){if(t<=0)return 1;const n=10**Math.floor(Math.log10(t)),s=t/n;return(s<=1?1:s<=2?2:s<=5?5:10)*n}function Fr(t,{tickCount:n=5,zeroBased:s=!0}={}){const o=t.filter(f=>Number.isFinite(f)),l=o.length?Math.min(...o):0,c=o.length?Math.max(...o):0;let a=s?Math.min(0,l):l,i=s?Math.max(0,c):c;a===i&&(a===0?i=1:(a=Math.min(0,a),i=Math.max(0,i)));const m=Vr((i-a)/Math.max(1,n)),g=Math.floor(a/m)*m,u=Math.ceil(i/m)*m,C=[],$=Math.round((u-g)/m);for(let f=0;f<=$;f++)C.push(Number((g+f*m).toPrecision(12)));const j=u-g||1;return{min:g,max:u,ticks:C,ratio:f=>(f-g)/j}}function Zr(t,n=.25){if(t<=0)return{centre:[],width:0};const s=1/t;return{centre:Array.from({length:t},(o,l)=>s*(l+.5)),width:s*(1-n*2)}}function Pr(t,n,s,o,l,c=!0){const a=Math.max(0,Math.min(l,s/2,o));return a===0?`M${t},${n}h${s}v${o}h${-s}Z`:c?`M${t},${n+o}V${n+a}a${a},${a} 0 0 1 ${a},${-a}h${s-a*2}a${a},${a} 0 0 1 ${a},${a}V${n+o}Z`:`M${t},${n}V${n+o-a}a${a},${a} 0 0 0 ${a},${a}h${s-a*2}a${a},${a} 0 0 0 ${a},${-a}V${n}Z`}function Wr(t){return t<=0?[]:t===1?[.5]:Array.from({length:t},(n,s)=>s/(t-1))}const Gr=()=>{var n,s;return((s=(n=globalThis.process)==null?void 0:n.env)==null?void 0:s.NODE_ENV)!=="production"},Ue=t=>Number.isInteger(t)?t.toLocaleString("en-US"):t.toLocaleString("en-US",{maximumFractionDigits:2}),pe={top:8,right:8,bottom:24},et=8;function Ur({type:t,categories:n,series:s,height:o=240,stacked:l=!1,legend:c,grid:a=!0,formatValue:i=Ue,tickCount:m=5,animated:g=!0,partialFrom:u,onPointClick:C,className:$,"aria-label":j,...f}){const b=r.useId(),x=r.useRef(null),[M,E]=r.useState(0),[H,K]=r.useState(null);r.useEffect(()=>{const p=x.current;if(!p)return;const _=new ResizeObserver(([D])=>{E(Math.round(D.contentRect.width))});return _.observe(p),E(Math.round(p.getBoundingClientRect().width)),()=>_.disconnect()},[]),r.useEffect(()=>{if(!Gr())return;s.length>Pe&&console.warn(`Chart: ${s.length} series, but the palette names ${Pe}. Past that the colours repeat. Group the tail into an "Other" series, or split the chart.`);const p=s.filter(_=>_.data.length!==n.length);p.length&&console.warn(`Chart: ${p.map(_=>`"${_.name}"`).join(", ")} ${p.length===1?"has":"have"} a different number of values than there are categories (${n.length}). Values line up with categories by position, so the tail will be missing.`)},[s,n.length]);const W=l&&(t==="bar"||t==="area"),z=t==="bar"&&typeof u=="number"&&u>=0,T=p=>z&&p>=u,V=r.useMemo(()=>{const p=[];return W?n.forEach((_,D)=>{let O=0,B=0;s.forEach(P=>{const A=P.data[D];typeof A=="number"&&(A>=0?O+=A:B+=A)}),p.push(O,B)}):s.forEach(_=>_.data.forEach(D=>{typeof D=="number"&&p.push(D)})),Fr(p,{tickCount:m,zeroBased:t!=="line"||p.some(_=>_<0)})},[s,n,W,m,t]),U=r.useMemo(()=>V.ticks.map(i),[V.ticks,i]),y=Math.max(...U.map(p=>p.length*7),24)+et,k=Math.max(0,M-y-pe.right),w=Math.max(0,o-pe.top-pe.bottom),S=t==="bar"?0:16,d=p=>y+S+p*Math.max(0,k-S*2),R=p=>pe.top+(1-V.ratio(p))*w,q=Zr(n.length),v=Wr(n.length),N=p=>{var _;return((_=s[p])==null?void 0:_.color)??qe(p)},F=c??s.length>1,Z=r.useMemo(()=>{const p=s.map(()=>[]);return n.forEach((_,D)=>{let O=0,B=0;s.forEach((P,A)=>{const Q=P.data[D];if(!W||typeof Q!="number"){p[A][D]=0;return}Q>=0?(p[A][D]=O,O+=Q):(p[A][D]=B,B+=Q)})}),p},[s,n,W]),G=r.useCallback(p=>{const _=x.current;if(!_||!n.length||k<=0)return null;const D=_.getBoundingClientRect(),O=t==="bar"?k:Math.max(1,k-32),B=(p-D.left-y-(t==="bar"?0:16))/O,P=t==="bar"?q.centre:v;let A=0;return P.forEach((Q,J)=>{Math.abs(Q-B)<Math.abs(P[A]-B)&&(A=J)}),{index:A,x:d(P[A])}},[n.length,y,k,t,q.centre,v]),h=(p,_)=>{var O;const D=(O=s[p])==null?void 0:O.data[_];typeof D!="number"||!C||C({series:s[p].name,seriesIndex:p,category:n[_],categoryIndex:_,value:D})},L=W||s.length===1?q.width*k:q.width*k/s.length;return e.jsxs("div",{...f,className:I(X.root,$),"data-type":t,"data-animated":g?"":void 0,style:{...f.style},children:[e.jsxs("div",{ref:x,className:X.plot,style:{height:o},onPointerMove:p=>{p.pointerType!=="touch"&&K(G(p.clientX))},onPointerLeave:()=>K(null),children:[e.jsxs("svg",{className:X.svg,width:M||void 0,height:o,viewBox:M?`0 0 ${M} ${o}`:void 0,role:"img","aria-labelledby":j?void 0:b,"aria-label":j,children:[e.jsxs("defs",{children:[s.map((p,_)=>e.jsxs("linearGradient",{id:`${b}-grad-${_}`,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:N(_),stopOpacity:"1"}),e.jsx("stop",{offset:"100%",stopColor:N(_),stopOpacity:"0.55"})]},`grad-${_}`)),s.map((p,_)=>e.jsxs("linearGradient",{id:`${b}-area-${_}`,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:N(_),stopOpacity:"0.45"}),e.jsx("stop",{offset:"100%",stopColor:N(_),stopOpacity:"0.02"})]},`area-${_}`))]}),z&&e.jsx("defs",{children:s.map((p,_)=>e.jsxs("pattern",{id:`${b}-hatch-${_}`,width:"8",height:"8",patternUnits:"userSpaceOnUse",patternTransform:"rotate(45)",children:[e.jsx("rect",{width:"8",height:"8",fill:"transparent"}),e.jsx("line",{className:X.hatch,x1:"2",y1:"0",x2:"2",y2:"8",stroke:N(_)}),e.jsx("line",{className:X.hatch,x1:"6",y1:"0",x2:"6",y2:"8",stroke:N(_)})]},`hatch-${_}`))}),a&&V.ticks.map(p=>e.jsx("line",{className:I(X.grid,p===0&&V.min<0&&X.zeroLine),x1:y,x2:y+k,y1:R(p),y2:R(p)},`grid-${p}`)),V.ticks.map((p,_)=>e.jsx("text",{className:X.axisLabel,x:y-et,y:R(p),textAnchor:"end",dominantBaseline:"middle",children:U[_]},`label-${p}`)),n.map((p,_)=>e.jsx("text",{className:X.axisLabel,x:d(t==="bar"?q.centre[_]:v[_]),y:o-pe.bottom/2,textAnchor:"middle",dominantBaseline:"middle",children:p},`cat-${p}-${_}`)),t==="bar"&&s.map((p,_)=>e.jsx("g",{children:n.map((D,O)=>{const B=p.data[O];if(typeof B!="number")return null;const P=Z[_][O],A=R(P+B),Q=R(P),J=d(q.centre[O])-q.width*k/2,oe=W||s.length===1?J:J+_*L,Oe=Math.max(1,L-(s.length>1&&!W?2:0)),ce=Math.max(1,Math.abs(Q-A)),be=z&&O>=u;return e.jsx("path",{className:I(X.bar,C&&X.clickable),d:Pr(oe,Math.min(A,Q),Oe,ce,4,B>=0),fill:be?`url(#${b}-hatch-${_})`:`url(#${b}-grad-${_})`,color:N(_),"data-dim":H&&H.index!==O?"":void 0,onClick:()=>h(_,O),children:e.jsx("title",{children:`${p.name}, ${D}: ${i(B)}${be?" so far":""}`})},`bar-${D}-${O}`)})},`bars-${p.name}-${_}`)),t!=="bar"&&s.map((p,_)=>{const D=[];let O=[];return p.data.forEach((B,P)=>{if(typeof B!="number"){O.length&&D.push(O),O=[];return}O.push({i:P,value:B,base:Z[_][P]})}),O.length&&D.push(O),e.jsxs("g",{children:[D.map((B,P)=>{const A=B.map((J,oe)=>`${oe===0?"M":"L"}${d(v[J.i])},${R(J.base+J.value)}`).join(" "),Q=t==="area"?`${A} L${d(v[B[B.length-1].i])},${R(B[B.length-1].base)} `+B.slice().reverse().map(J=>`L${d(v[J.i])},${R(J.base)}`).join(" ")+" Z":null;return e.jsxs("g",{children:[Q&&e.jsx("path",{className:X.area,d:Q,fill:`url(#${b}-area-${_})`}),e.jsx("path",{className:X.line,d:A,stroke:N(_),color:N(_),fill:"none",pathLength:1})]},`run-${P}`)}),p.data.map((B,P)=>typeof B=="number"?e.jsx("circle",{className:I(X.dot,C&&X.clickable),cx:d(v[P]),cy:R(Z[_][P]+B),r:4,fill:N(_),color:N(_),"data-on":(H==null?void 0:H.index)===P?"":void 0,onClick:()=>h(_,P),children:e.jsx("title",{children:`${p.name}, ${n[P]}: ${i(B)}`})},`dot-${P}`):null)]},`line-${p.name}-${_}`)}),H&&e.jsx("line",{className:X.crosshair,x1:H.x,x2:H.x,y1:pe.top,y2:pe.top+w})]}),H&&e.jsxs("div",{className:X.tooltip,style:H.x>y+k/2?{right:Math.max(0,M-H.x+12)}:{left:H.x+12},role:"status",children:[e.jsx("p",{className:X.tooltipHead,children:n[H.index]}),e.jsx("ul",{className:X.tooltipList,children:s.map((p,_)=>{const D=p.data[H.index];return e.jsxs("li",{className:X.tooltipRow,children:[e.jsx("span",{className:X.swatch,style:{background:N(_)},"aria-hidden":"true"}),e.jsx("span",{className:X.tooltipName,children:p.name}),e.jsxs("span",{className:X.tooltipValue,children:[typeof D=="number"?i(D):"—",T(H.index)&&typeof D=="number"&&e.jsx("span",{className:X.partialNote,children:"so far"})]})]},p.name)})})]})]}),F&&e.jsx("ul",{className:X.legend,children:s.map((p,_)=>e.jsxs("li",{className:X.legendItem,children:[e.jsx("span",{className:X.swatch,style:{background:N(_)},"aria-hidden":"true"}),p.name]},p.name))}),e.jsxs("table",{className:X.data,id:b,children:[e.jsx("caption",{children:j??"Chart data"}),e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",children:"Category"}),s.map(p=>e.jsx("th",{scope:"col",children:p.name},p.name))]})}),e.jsx("tbody",{children:n.map((p,_)=>e.jsxs("tr",{children:[e.jsx("th",{scope:"row",children:p}),s.map(D=>e.jsxs("td",{children:[typeof D.data[_]=="number"?i(D.data[_]):"—",T(_)&&typeof D.data[_]=="number"?" so far":""]},D.name))]},p))})]})]})}const Kr="_root_1v7ph_8",Xr="_row_1v7ph_15",Yr="_line_1v7ph_21",Qr="_pressable_1v7ph_36",Jr="_fill_1v7ph_50",ea="_label_1v7ph_58",ta="_track_1v7ph_66",na="_value_1v7ph_101",sa="_percent_1v7ph_106",le={root:Kr,row:Xr,line:Yr,pressable:Qr,fill:Jr,label:ea,track:ta,value:na,percent:sa};function oa({items:t,max:n,showPercent:s=!1,formatValue:o=Ue,colorful:l=!1,animated:c=!0,onItemClick:a,className:i,"aria-label":m,...g}){const u=n??Math.max(0,...t.map($=>$.value)),C=t.reduce(($,j)=>$+(j.value>0?j.value:0),0);return e.jsx("div",{...g,className:I(le.root,i),role:"list","aria-label":m,"data-animated":c?"":void 0,children:t.map(($,j)=>{const f=u>0?Math.max(0,$.value)/u:0,b=C>0?$.value/C*100:0,x=$.color??(l?qe(j):"var(--sp-chart-series-1-color)"),M=e.jsxs(e.Fragment,{children:[e.jsx("span",{className:le.label,children:$.label}),e.jsx("span",{className:le.track,children:e.jsx("span",{className:le.fill,style:{width:`${f*100}%`,background:x,animationDelay:`${Math.min(j*60,360)}ms`}})}),e.jsxs("span",{className:le.value,children:[o($.value),s&&e.jsxs("span",{className:le.percent,children:[Math.round(b),"%"]})]})]});return e.jsx("div",{role:"listitem",className:le.row,children:a?e.jsx("button",{type:"button",className:I(le.line,le.pressable),onClick:()=>a($,j),children:M}):e.jsx("span",{className:le.line,children:M})},`${$.label}-${j}`)})})}const ra="_root_ep6xn_6",aa="_svg_ep6xn_15",la="_face_ep6xn_24",ca="_hole_ep6xn_25",ia="_slice_ep6xn_35",da="_sweep_ep6xn_57",ua="_clickable_ep6xn_70",fa="_total_ep6xn_76",pa="_totalLabel_ep6xn_84",_a="_legend_ep6xn_89",ha="_legendItem_ep6xn_98",ma="_legendName_ep6xn_113",ga="_legendValue_ep6xn_121",xa="_legendPercent_ep6xn_126",Ca="_swatch_ep6xn_131",ee={root:ra,svg:aa,face:la,hole:ca,slice:ia,sweep:da,clickable:ua,total:fa,totalLabel:pa,legend:_a,legendItem:ha,legendName:ma,legendValue:ga,legendPercent:xa,swatch:Ca},Ce=(t,n,s)=>{const o=s*2*Math.PI-Math.PI/2;return{x:t+n*Math.cos(o),y:t+n*Math.sin(o)}};function va({slices:t,donut:n=!1,label:s,size:o=180,legend:l=!0,animated:c=!0,formatValue:a=Ue,onSliceClick:i,className:m,"aria-label":g,...u}){const[C,$]=r.useState(null),j=r.useId(),f=t.filter(z=>z.value>0),b=f.reduce((z,T)=>z+T.value,0),x=o/2,M=x-2,E=n?M*.62:0;let H=0;const K=f.map((z,T)=>{const V=b>0?z.value/b:0,U=H;H+=V;const y=Ce(x,M,U),k=Ce(x,M,H),w=V>.5?1:0,S=V>=.999,d=S?n?`M${x},${x-M} A${M},${M} 0 1 1 ${x-.01},${x-M} Z M${x},${x-E} A${E},${E} 0 1 0 ${x-.01},${x-E} Z`:`M${x},${x-M} A${M},${M} 0 1 1 ${x-.01},${x-M} Z`:n?`M${y.x},${y.y} A${M},${M} 0 ${w} 1 ${k.x},${k.y} L${Ce(x,E,H).x},${Ce(x,E,H).y} A${E},${E} 0 ${w} 0 ${Ce(x,E,U).x},${Ce(x,E,U).y} Z`:`M${x},${x} L${y.x},${y.y} A${M},${M} 0 ${w} 1 ${k.x},${k.y} Z`;return{slice:z,index:T,d,fraction:V,fillRule:S&&n?"evenodd":void 0}}),W=z=>t.indexOf(z);return e.jsxs("div",{...u,className:I(ee.root,m),"data-animated":c?"":void 0,children:[e.jsxs("svg",{className:ee.svg,width:o,height:o,viewBox:`0 0 ${o} ${o}`,role:"img","aria-label":g??"Pie chart",children:[e.jsxs("defs",{children:[e.jsxs("radialGradient",{id:`${j}-face`,cx:"32%",cy:"26%",r:"78%",children:[e.jsx("stop",{offset:"0%",stopColor:"#fff",stopOpacity:"0.22"}),e.jsx("stop",{offset:"55%",stopColor:"#fff",stopOpacity:"0.04"}),e.jsx("stop",{offset:"100%",stopColor:"#000",stopOpacity:"0.28"})]}),e.jsxs("radialGradient",{id:`${j}-edge`,cx:"50%",cy:"50%",r:"50%",children:[e.jsx("stop",{offset:"88%",stopColor:"#000",stopOpacity:"0"}),e.jsx("stop",{offset:"100%",stopColor:"#000",stopOpacity:"0.45"})]})]}),e.jsxs("g",{className:ee.sweep,children:[K.map(({slice:z,index:T,d:V,fillRule:U})=>e.jsx("path",{className:I(ee.slice,i&&ee.clickable),d:V,fill:z.color??qe(W(z)),fillRule:U,"data-dim":C!==null&&C!==T?"":void 0,onPointerEnter:()=>$(T),onPointerLeave:()=>$(null),onClick:()=>i==null?void 0:i(z,W(z)),children:e.jsx("title",{children:`${z.label}: ${a(z.value)}`})},`${z.label}-${T}`)),e.jsx("circle",{className:ee.face,cx:x,cy:x,r:M,fill:`url(#${j}-face)`}),e.jsx("circle",{className:ee.face,cx:x,cy:x,r:M,fill:`url(#${j}-edge)`}),n&&e.jsx("circle",{className:ee.hole,cx:x,cy:x,r:E,fill:"none",stroke:"#000",strokeOpacity:"0.45",strokeWidth:"3"})]}),n&&e.jsxs(e.Fragment,{children:[e.jsx("text",{className:ee.total,x,y:x-(s?6:0),textAnchor:"middle",dominantBaseline:"middle",children:a(C!==null?f[C].value:b)}),s&&e.jsx("text",{className:ee.totalLabel,x,y:x+14,textAnchor:"middle",dominantBaseline:"middle",children:C!==null?f[C].label:s})]})]}),l&&e.jsx("ul",{className:ee.legend,children:f.map((z,T)=>e.jsxs("li",{className:ee.legendItem,"data-dim":C!==null&&C!==T?"":void 0,children:[e.jsx("span",{className:ee.swatch,style:{background:z.color??qe(W(z))},"aria-hidden":"true"}),e.jsx("span",{className:ee.legendName,children:z.label}),e.jsxs("span",{className:ee.legendValue,children:[a(z.value),e.jsxs("span",{className:ee.legendPercent,children:[b>0?Math.round(z.value/b*100):0,"%"]})]})]},`${z.label}-${T}`))})]})}const ba="_root_czld4_18",wa="_item_czld4_24",$a="_selfLabeled_czld4_33",ja="_label_czld4_37",ya="_input_czld4_41",Ma="_box_czld4_57",Na="_tick_czld4_80",La="_dash_czld4_81",ka="_tickPath_czld4_95",te={root:ba,item:wa,selfLabeled:$a,label:ja,input:ya,box:Ma,tick:Na,dash:La,tickPath:ka},ht=r.createContext(null);function mt({checked:t,indeterminate:n,disabled:s,onToggle:o,value:l,ariaLabel:c}){const a=r.useRef(null);return r.useEffect(()=>{a.current&&(a.current.indeterminate=n===!0)},[n]),e.jsxs(e.Fragment,{children:[e.jsx("input",{ref:a,type:"checkbox",className:te.input,"aria-label":c,value:l,checked:t,disabled:s,onChange:i=>o(i.currentTarget.checked)}),e.jsxs("span",{className:te.box,"aria-hidden":"true",children:[e.jsx("svg",{className:te.tick,viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{className:te.tickPath,d:"M3.5 8.4 6.6 11.5 12.5 4.8",pathLength:1,stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})}),e.jsx("span",{className:te.dash})]})]})}function Ra({value:t,onValueChange:n,disabled:s,className:o,"aria-label":l,children:c}){return e.jsx(ht.Provider,{value:{value:t,onValueChange:n,disabled:s},children:e.jsx("div",{role:"group","aria-label":l,className:I(te.root,o),children:c})})}function Ia({value:t,disabled:n,children:s}){const o=r.useContext(ht);if(!o)throw new Error("CheckboxGroup.Item must be inside a CheckboxGroup");const l=n||o.disabled,c=o.value.includes(t),a=e.jsx(mt,{checked:c,disabled:l,value:t,onToggle:i=>o.onValueChange(i?[...o.value,t]:o.value.filter(m=>m!==t))});return s==null?e.jsx("span",{className:te.item,children:a}):e.jsxs("label",{className:I(te.item,te.selfLabeled),children:[a,e.jsx("span",{className:te.label,children:s})]})}const Ea=Object.assign(Ra,{Item:Ia});function za({checked:t,onCheckedChange:n,indeterminate:s,disabled:o,className:l,"aria-label":c,children:a}){const i=e.jsx(mt,{checked:t,indeterminate:s,disabled:o,ariaLabel:c,onToggle:n});return a==null?e.jsx("span",{className:I(te.item,l),children:i}):e.jsxs("label",{className:I(te.item,te.selfLabeled,l),children:[i,e.jsx("span",{className:te.label,children:a})]})}const Sa="_root_mhh35_15",Da="_item_mhh35_23",Ha="_selfLabeled_mhh35_32",Ta="_input_mhh35_36",qa="_orb_mhh35_52",Aa="_burst_mhh35_99",_e={root:Sa,item:Da,selfLabeled:Ha,input:Ta,orb:qa,burst:Aa},gt=r.createContext(null);function Oa({value:t,onValueChange:n,disabled:s,className:o,children:l}){const c=r.useId();return e.jsx(gt.Provider,{value:{value:t,onValueChange:n,disabled:s,name:c},children:e.jsx("div",{role:"radiogroup",className:I(_e.root,o),children:l})})}function Ba({value:t,disabled:n,children:s}){const o=r.useContext(gt);if(!o)throw new Error("RadioGroup.Item must be inside a RadioGroup");const l=n||o.disabled,c=e.jsxs(e.Fragment,{children:[e.jsx("input",{type:"radio",className:_e.input,name:o.name,value:t,checked:o.value===t,disabled:l,onChange:()=>o.onValueChange(t)}),e.jsx("span",{className:I(_e.orb,"spRadioOrb"),"aria-hidden":"true",children:e.jsx("span",{className:_e.burst})})]});return s==null?e.jsx("span",{className:_e.item,children:c}):e.jsxs("label",{className:I(_e.item,_e.selfLabeled),children:[c,s]})}const Va=Object.assign(Oa,{Item:Ba}),Fa="_progress_1cre6_16",Za={progress:Fa};function Pa({value:t,max:n=100,className:s,style:o,...l}){const c=n>0?Math.min(Math.max(t/n*100,0),100):0;return e.jsx("div",{...l,role:"progressbar","aria-valuenow":t,"aria-valuemin":0,"aria-valuemax":n,className:I(Za.progress,s),style:o,children:e.jsx("div",{style:{width:`${c}%`,height:"100%"}})})}const Wa="_message_ca22y_14",Ga="_info_ca22y_44",Ua="_warning_ca22y_49",Ka="_alert_ca22y_56",Xa="_icon_ca22y_63",Ya="_body_ca22y_74",Qa="_title_ca22y_83",Ja="_text_ca22y_90",ve={message:Wa,info:Ga,warning:Ua,alert:Ka,icon:Xa,body:Ya,title:Qa,text:Ja},el={info:e.jsx(rt,{}),warning:e.jsx(at,{}),alert:e.jsx(lt,{})},tl={info:{role:"status",live:"polite"},warning:{role:"status",live:"polite"},alert:{role:"alert"}},nl=r.forwardRef(function({variant:n="info",title:s,icon:o,className:l,children:c,...a},i){const m=o===void 0?el[n]:o,{role:g,live:u}=tl[n];return e.jsxs("div",{...a,ref:i,role:g,"aria-live":u,className:I(ve.message,ve[n],l),children:[m!=null&&e.jsx("span",{className:ve.icon,"aria-hidden":"true",children:m}),e.jsxs("div",{className:ve.body,children:[s!=null&&e.jsx("p",{className:ve.title,children:s}),c!=null&&e.jsx("div",{className:ve.text,children:c})]})]})}),sl="_dialog_zbndh_2",ol="_inner_zbndh_71",rl="_size4_zbndh_76",al="_title_zbndh_80",ll="_closeX_zbndh_88",ke={dialog:sl,inner:ol,size4:rl,title:al,closeX:ll};let Te=0;const xt=r.createContext(null),Ee=()=>{const t=r.useContext(xt);if(!t)throw new Error("Dialog parts must be inside a Dialog");return t};function Ct(t){return function({open:s,onOpenChange:o,children:l}){const[c,a]=r.useState(!1),i=s!==void 0,m=i?s:c,g=f=>{i||a(f),o==null||o(f)},u=r.useId(),C=r.useId(),[$,j]=r.useState(!1);return e.jsx(xt.Provider,{value:{open:m,setOpen:g,titleId:u,descId:C,alert:t,hasDesc:$,setHasDesc:j},children:l})}}const cl=Ct(!1),vt=(t,n)=>{if(!r.isValidElement(t))return t;const s=t;return r.cloneElement(s,{onClick:o=>{var l,c;(c=(l=s.props).onClick)==null||c.call(l,o),n()}})};function bt({children:t}){const n=Ee();return e.jsx(e.Fragment,{children:vt(t,()=>n.setOpen(!0))})}function Ke({children:t}){const n=Ee();return e.jsx(e.Fragment,{children:vt(t,()=>n.setOpen(!1))})}function wt({size:t="3",maxWidth:n,className:s,style:o,children:l,...c}){const a=Ee(),i=r.useRef(null),m=r.useRef(!1),g=r.useRef(!1);return r.useEffect(()=>{const u=i.current;u&&(a.open&&!u.open?u.showModal():!a.open&&u.open&&u.close())},[a.open]),r.useEffect(()=>{if(a.open)return Te+=1,Te===1&&(document.body.style.overflow="hidden"),()=>{Te-=1,Te===0&&(document.body.style.overflow="")}},[a.open]),e.jsx("dialog",{...c,ref:i,role:a.alert?"alertdialog":void 0,"aria-labelledby":a.titleId,"aria-describedby":a.hasDesc?a.descId:void 0,className:I(ke.dialog,"spDialog",t==="4"&&ke.size4,s),style:{...n?{maxWidth:n}:null,...o},onKeyDownCapture:u=>{var C,$;u.key==="Escape"&&((C=i.current)!=null&&C.querySelector("dialog[open]")||($=i.current)!=null&&$.querySelector('[role="listbox"]:not([hidden])')&&(m.current=!0))},onCancel:u=>{if(u.preventDefault(),m.current){m.current=!1;return}a.setOpen(!1)},onClose:()=>{a.open&&a.setOpen(!1)},onPointerDown:u=>{g.current=u.target===i.current},onClick:u=>{!a.alert&&u.target===i.current&&g.current&&a.setOpen(!1)},children:e.jsxs("div",{className:ke.inner,children:[!a.alert&&e.jsx("button",{type:"button",className:ke.closeX,"aria-label":"Close",onClick:()=>a.setOpen(!1),children:e.jsx(ot,{width:16,height:16})}),l]})})}function $t({className:t,...n}){const s=Ee();return e.jsx(st,{as:"h2",size:"5",...n,id:s.titleId,className:I(ke.title,t)})}function jt(t){const n=Ee(),{setHasDesc:s}=n;return r.useLayoutEffect(()=>(s(!0),()=>s(!1)),[s]),e.jsx(nt,{as:"p",...t,id:n.descId})}const il=Object.assign(cl,{Trigger:bt,Close:Ke,Content:wt,Title:$t,Description:jt}),dl=Ke,ul=Ke,fl=Object.assign(Ct(!0),{Trigger:bt,Content:wt,Title:$t,Description:jt,Cancel:dl,Action:ul}),pl="_menu_1d12s_1",_l="_label_1d12s_55",hl="_item_1d12s_65",ml="_danger_1d12s_84",gl="_separator_1d12s_88",Ie={menu:pl,label:_l,item:hl,danger:ml,separator:gl},yt=r.createContext(null),xl=()=>{const t=r.useContext(yt);if(!t)throw new Error("DropdownMenu parts must be inside a DropdownMenu");return t};function Cl({label:t,align:n="start",children:s,...o}){const[l,c]=r.useState(!1),a=r.useId(),i=r.useRef(null),m=r.useRef(null),g=r.useRef(null),u=r.useRef(l);u.current=l;const C=r.useCallback(f=>{u.current!==f&&(u.current=f,c(f))},[]),[$,j]=r.useState(null);return r.useLayoutEffect(()=>{var b;const f=m.current;if(f)if(l){const x=i.current;if(x){const M=x.getBoundingClientRect(),E=n==="end"?"auto":M.left,H=n==="end"?window.innerWidth-M.right:"auto";j({top:M.bottom+6,left:E,right:H})}f.showPopover(),(b=f.querySelector('[role="menuitem"]'))==null||b.focus()}else f.matches(":popover-open")&&f.hidePopover()},[l,n]),r.useEffect(()=>{if(!l)return;const f=()=>C(!1);return window.addEventListener("resize",f),()=>window.removeEventListener("resize",f)},[l]),e.jsxs(yt.Provider,{value:{open:l,setOpen:C,menuId:a},children:[e.jsx(Re,{...o,ref:i,"aria-haspopup":"menu","aria-expanded":l,"aria-controls":a,onPointerDown:f=>{var b;(b=o.onPointerDown)==null||b.call(o,f),g.current=!u.current},onKeyDown:f=>{var b;(b=o.onKeyDown)==null||b.call(o,f),(f.key==="Enter"||f.key===" ")&&(g.current=null)},onClick:f=>{var x;(x=o.onClick)==null||x.call(o,f);const b=g.current??!u.current;g.current=null,C(b)},children:t}),e.jsx("div",{ref:m,id:a,role:"menu",popover:"auto",className:Ie.menu,style:$?{top:$.top,left:$.left==="auto"?"auto":$.left,right:$.right==="auto"?"auto":$.right}:void 0,onToggle:f=>{f.nativeEvent.newState==="closed"&&C(!1)},onKeyDown:f=>{var M,E,H,K,W,z;const b=Array.from(((M=m.current)==null?void 0:M.querySelectorAll('[role="menuitem"]'))??[]),x=b.indexOf(document.activeElement);f.key==="ArrowDown"?(f.preventDefault(),(E=b[Math.min(x+1,b.length-1)])==null||E.focus()):f.key==="ArrowUp"?(f.preventDefault(),(H=b[Math.max(x-1,0)])==null||H.focus()):f.key==="Home"?(f.preventDefault(),(K=b[0])==null||K.focus()):f.key==="End"?(f.preventDefault(),(W=b[b.length-1])==null||W.focus()):f.key==="Escape"&&(C(!1),(z=i.current)==null||z.focus())},children:s})]})}function vl({children:t}){return e.jsx("div",{className:Ie.label,children:t})}function bl({asChild:t,color:n,onSelect:s,children:o}){const l=xl(),c=I(Ie.item,n==="danger"&&Ie.danger),a=()=>{l.setOpen(!1),s==null||s()};if(t&&r.isValidElement(o)){const i=o,{className:m,onClick:g,children:u,role:C,tabIndex:$,...j}=i.props,f=i.ref;return r.createElement(i.type,{key:i.key,ref:f,role:"menuitem",tabIndex:-1,...j,className:I(c,m),onClick:b=>{g==null||g(b),l.setOpen(!1)}},u)}return e.jsx("button",{type:"button",role:"menuitem",tabIndex:-1,className:c,onClick:a,children:o})}function wl(){return e.jsx("div",{role:"separator",className:Ie.separator})}const $l=Object.assign(Cl,{Item:bl,Separator:wl,Label:vl}),jl="_list_1b44l_19",yl="_trigger_1b44l_28",Mt={list:jl,trigger:yl},Nt=r.createContext(null),Lt=()=>{const t=r.useContext(Nt);if(!t)throw new Error("Tabs parts must be inside a Tabs");return t};function Ml({value:t,onValueChange:n,className:s,children:o}){const l=r.useId();return e.jsx(Nt.Provider,{value:{value:t,onValueChange:n,id:l},children:e.jsx("div",{className:s,children:o})})}function Nl({children:t}){return e.jsx("div",{role:"tablist",className:I(Mt.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 l=s[(o+1)%s.length];l.focus(),l.click()}else if(n.key==="ArrowLeft"){n.preventDefault();const l=s[(o-1+s.length)%s.length];l.focus(),l.click()}else if(n.key==="Home"){n.preventDefault();const l=s[0];l.focus(),l.click()}else if(n.key==="End"){n.preventDefault();const l=s[s.length-1];l.focus(),l.click()}}},children:t})}function Ll({value:t,className:n,children:s,...o}){const l=Lt(),c=l.value===t;return e.jsx("button",{...o,type:"button",role:"tab",id:`${l.id}-tab-${t}`,"aria-selected":c,"aria-controls":`${l.id}-panel-${t}`,tabIndex:c?0:-1,"data-state":c?"active":"inactive",className:I(Mt.trigger,"spTabsTrigger",n),onClick:()=>l.onValueChange(t),children:s})}function kl({value:t,children:n}){const s=Lt();return s.value!==t?null:e.jsx("div",{role:"tabpanel",id:`${s.id}-panel-${t}`,"aria-labelledby":`${s.id}-tab-${t}`,children:n})}const Rl=Object.assign(Ml,{List:Nl,Trigger:Ll,Content:kl}),Il="_panel_5axce_9",El={panel:Il},tt=8,Le=8,zl='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';function Sl({label:t,children:n,open:s,onOpenChange:o,defaultOpen:l=!1,side:c="bottom",align:a="start",panelClassName:i,onClick:m,...g}){const[u,C]=r.useState(l),$=s!==void 0,j=$?s:u,f=r.useId(),b=r.useId(),x=r.useRef(null),M=r.useRef(null),[E,H]=r.useState(null),K=r.useRef(!1),W=r.useRef(!1),z=r.useRef(null),T=r.useRef(j);T.current=j;const V=r.useCallback(y=>{T.current!==y&&(T.current=y,$||C(y),o==null||o(y))},[$,o]),U=r.useCallback(()=>{const y=x.current,k=M.current;if(!y||!k)return;const w=y.getBoundingClientRect(),S=k.offsetWidth,d=k.offsetHeight,R=w.bottom+tt,q=w.top-d-tt,v=R+d<=window.innerHeight-Le,N=q>=Le,F=c==="bottom"?v||!N?R:q:N||!v?q:R,Z=F===R?"bottom":"top";k.dataset.side=Z;const G=a==="start"?w.left:a==="end"?w.right-S:w.left+w.width/2-S/2,h=Math.min(Math.max(G,Le),Math.max(window.innerWidth-S-Le,Le));H(L=>L&&L.top===F&&L.left===h&&L.placed===Z?L:{top:F,left:h,placed:Z})},[c,a]);return r.useLayoutEffect(()=>{const y=M.current;y&&(j?(Ae(y,U),U(),K.current&&(K.current=!1,(y.querySelector(zl)??y).focus({preventScroll:!0}))):y.matches(":popover-open")&&y.hidePopover())},[j,U]),r.useEffect(()=>{if(!j)return;let y=0,k="";const w=()=>{const S=x.current,d=M.current;if(S&&d){const R=S.getBoundingClientRect(),q=`${R.top}|${R.left}|${R.width}|${R.height}|${d.offsetWidth}|${d.offsetHeight}|${window.innerWidth}|${window.innerHeight}`;q!==k&&(k=q,U())}y=requestAnimationFrame(w)};return y=requestAnimationFrame(w),()=>cancelAnimationFrame(y)},[j,U]),e.jsxs(e.Fragment,{children:[e.jsx(Re,{...g,ref:x,id:f,"aria-haspopup":"dialog","aria-expanded":j,"aria-controls":b,onPointerDown:y=>{var k;(k=g.onPointerDown)==null||k.call(g,y),z.current=!T.current},onKeyDown:y=>{var k;(k=g.onKeyDown)==null||k.call(g,y),(y.key==="Enter"||y.key===" ")&&(z.current=null)},onClick:y=>{m==null||m(y);const k=z.current??!T.current;z.current=null,k&&(K.current=!0),V(k)},children:t}),e.jsx("div",{ref:M,id:b,popover:"auto",role:"dialog","aria-labelledby":f,tabIndex:-1,className:I(El.panel,ae.spacePanel,i),"data-animated":g.animated===!1?"false":void 0,"data-side":(E==null?void 0:E.placed)??c,style:E?{top:E.top,left:E.left}:void 0,onKeyDown:y=>{y.key==="Escape"&&(W.current=!0,y.stopPropagation())},onToggle:y=>{var k;y.nativeEvent.newState==="closed"&&(W.current&&(W.current=!1,(k=x.current)==null||k.focus()),V(!1))},children:n})]})}exports.AlertDialog=fl;exports.Autocomplete=ur;exports.Badge=ss;exports.BarList=oa;exports.BookmarkIcon=Vs;exports.Box=yn;exports.Button=Re;exports.Card=ds;exports.Carousel=Js;exports.Chart=Ur;exports.ChatBubbleIcon=Ns;exports.CheckIcon=zs;exports.Checkbox=za;exports.CheckboxGroup=Ea;exports.ChevronDownIcon=Bs;exports.ChevronLeftIcon=Ge;exports.ChevronRightIcon=We;exports.ChevronUpIcon=Os;exports.CrossCircledIcon=lt;exports.Dialog=il;exports.DropdownMenu=$l;exports.EnterFullScreenIcon=Es;exports.ExclamationTriangleIcon=at;exports.ExitFullScreenIcon=Is;exports.Flex=jn;exports.Grid=On;exports.Heading=st;exports.HeartFilledIcon=Rs;exports.HeartIcon=As;exports.IconToggle=So;exports.InfoCircledIcon=rt;exports.Link=nn;exports.Loader=jo;exports.MagnifyingGlassIcon=qs;exports.Message=nl;exports.MinusIcon=Ts;exports.Pagination=ho;exports.Pencil1Icon=ks;exports.PersonIcon=Hs;exports.PieChart=va;exports.PlusIcon=Ls;exports.Popover=Sl;exports.Progress=Pa;exports.QuestionMarkCircledIcon=Ds;exports.RadioGroup=Va;exports.Select=Wo;exports.Separator=as;exports.Share2Icon=Ms;exports.Slider=gr;exports.Tabs=Rl;exports.Text=nt;exports.TextArea=er;exports.TextField=Ze;exports.Tooltip=dt;exports.TrashIcon=Ss;exports.XIcon=ot;exports.pageCount=ct;exports.pageWindow=it;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|