@aseguragonzalez/ui 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("react"),t=require("react/jsx-runtime"),n=require("react-dom");var r={srOnly:`_srOnly_ggxjh_2`,spinner:`_spinner_ggxjh_16`,"ds-spin":`_ds-spin_ggxjh_1`,sm:`_sm_ggxjh_30`,md:`_md_ggxjh_36`,lg:`_lg_ggxjh_42`},i=(0,e.forwardRef)(({size:e=`md`,label:n=`Loading...`,className:i,...a},o)=>{let s=[r.spinner,r[e],i??``].filter(Boolean).join(` `);return(0,t.jsx)(`span`,{ref:o,role:`status`,className:s,...a,children:(0,t.jsx)(`span`,{className:r.srOnly,children:n})})});i.displayName=`Spinner`;var a={button:`_button_rrcdl_1`,sm:`_sm_rrcdl_32`,md:`_md_rrcdl_38`,lg:`_lg_rrcdl_44`,primary:`_primary_rrcdl_52`,secondary:`_secondary_rrcdl_68`,ghost:`_ghost_rrcdl_83`,accent:`_accent_rrcdl_97`,destructive:`_destructive_rrcdl_113`,fullWidth:`_fullWidth_rrcdl_138`,loading:`_loading_rrcdl_144`},o={sm:`sm`,md:`sm`,lg:`md`},s=(0,e.forwardRef)(({variant:e=`primary`,size:n=`md`,fullWidth:r=!1,isLoading:s=!1,loadingText:c,disabled:l,children:u,className:d,...f},p)=>{let m=l||s,h=[a.button,a[e],a[n],r?a.fullWidth:``,s?a.loading:``,d??``].filter(Boolean).join(` `);return(0,t.jsxs)(`button`,{ref:p,disabled:m,"aria-busy":s,className:h,...f,children:[s&&(0,t.jsx)(i,{size:o[n],label:c??`Loading...`}),s&&c?c:u]})});s.displayName=`Button`;var c={input:`_input_1i1n1_1`,error:`_error_1i1n1_40`,sm:`_sm_1i1n1_76`,md:`_md_1i1n1_82`,lg:`_lg_1i1n1_88`},l=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[c.input,c[n],e?c.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`text`,"aria-invalid":e||void 0,className:o,...i})});l.displayName=`TextInput`;var u={checkbox:`_checkbox_6awz6_1`,error:`_error_6awz6_99`,sm:`_sm_6awz6_122`,lg:`_lg_6awz6_132`},d=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[u.checkbox,n===`md`?``:u[n],e?u.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`checkbox`,"aria-invalid":e||void 0,className:o,...i})});d.displayName=`Checkbox`;var f={radio:`_radio_v17m3_1`,error:`_error_v17m3_70`,sm:`_sm_v17m3_93`,lg:`_lg_v17m3_103`},p=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[f.radio,n===`md`?``:f[n],e?f.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`radio`,"aria-invalid":e||void 0,className:o,...i})});p.displayName=`RadioButton`;var m={wrapper:`_wrapper_vgmp4_1`,select:`_select_vgmp4_7`,error:`_error_vgmp4_63`,sm:`_sm_vgmp4_88`,md:`_md_vgmp4_96`,lg:`_lg_vgmp4_104`},h=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,children:i,...a},o)=>{let s=[m.wrapper,m[n],e?m.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{className:s,children:(0,t.jsx)(`select`,{ref:o,"aria-invalid":e||void 0,className:m.select,...a,children:i})})});h.displayName=`Select`;var g={textarea:`_textarea_1l4wd_1`,error:`_error_1l4wd_42`,autoResize:`_autoResize_1l4wd_67`,sm:`_sm_1l4wd_74`,md:`_md_1l4wd_79`,lg:`_lg_1l4wd_84`},_=(0,e.forwardRef)(({hasError:n=!1,size:r=`md`,autoResize:i=!1,className:a,onChange:o,...s},c)=>{let l=(0,e.useRef)(null),u=(0,e.useCallback)(e=>{l.current=e,typeof c==`function`?c(e):c&&(c.current=e)},[c]);(0,e.useEffect)(()=>{let e=l.current;e&&(i?(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`):e.style.height=``)},[i]);let d=(0,e.useCallback)(e=>{i&&(e.currentTarget.style.height=`auto`,e.currentTarget.style.height=`${e.currentTarget.scrollHeight}px`),o?.(e)},[i,o]),f=[g.textarea,g[r],n?g.error:``,i?g.autoResize:``,a??``].filter(Boolean).join(` `);return(0,t.jsx)(`textarea`,{ref:u,"aria-invalid":n||void 0,className:f,onChange:d,...s})});_.displayName=`TextArea`;var v={root:`_root_16qku_3`,input:`_input_16qku_18`,track:`_track_16qku_36`,thumb:`_thumb_16qku_56`,md:`_md_16qku_127`,sm:`_sm_16qku_131`,lg:`_lg_16qku_138`},y=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>(0,t.jsxs)(`span`,{className:[v.root,v[n],r??``].filter(Boolean).join(` `),children:[(0,t.jsx)(`input`,{ref:a,type:`checkbox`,role:`switch`,"aria-invalid":e||void 0,className:v.input,...i}),(0,t.jsx)(`span`,{className:v.track,"aria-hidden":`true`,children:(0,t.jsx)(`span`,{className:v.thumb})})]}));y.displayName=`Toggle`;var b={root:`_root_1erf6_3`,input:`_input_1erf6_15`,error:`_error_1erf6_55`,toggle:`_toggle_1erf6_80`,sm:`_sm_1erf6_126`,md:`_md_1erf6_137`,lg:`_lg_1erf6_143`},x=()=>(0,t.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,t.jsx)(`path`,{d:`M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z`}),(0,t.jsx)(`circle`,{cx:`12`,cy:`12`,r:`3`})]}),S=()=>(0,t.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,t.jsx)(`path`,{d:`M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19`}),(0,t.jsx)(`line`,{x1:`1`,y1:`1`,x2:`23`,y2:`23`})]}),C=(0,e.forwardRef)(({hasError:n=!1,size:r=`md`,disabled:i=!1,showPasswordLabel:a=`Show password`,hidePasswordLabel:o=`Hide password`,className:s,...c},l)=>{let[u,d]=(0,e.useState)(!1),f=(0,e.useRef)(null),p=(0,e.useCallback)(e=>{f.current=e,typeof l==`function`?l(e):l&&(l.current=e)},[l]),m=()=>{d(e=>!e),f.current?.focus()},h=[b.root,b[r],s??``].filter(Boolean).join(` `),g=[b.input,n?b.error:``].filter(Boolean).join(` `);return(0,t.jsxs)(`div`,{className:h,children:[(0,t.jsx)(`input`,{ref:p,type:u?`text`:`password`,"aria-invalid":n||void 0,disabled:i,className:g,...c}),(0,t.jsx)(`button`,{type:`button`,className:b.toggle,"aria-label":u?o:a,"aria-pressed":u,onClick:m,disabled:i,tabIndex:i?-1:void 0,children:u?(0,t.jsx)(S,{}):(0,t.jsx)(x,{})})]})});C.displayName=`PasswordInput`;var w=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[c.input,c[n],e?c.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`email`,"aria-invalid":e||void 0,className:o,...i})});w.displayName=`EmailInput`;var T=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[c.input,c[n],e?c.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`tel`,"aria-invalid":e||void 0,className:o,...i})});T.displayName=`PhoneInput`;var E=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[c.input,c[n],e?c.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`search`,"aria-invalid":e||void 0,className:o,...i})});E.displayName=`SearchInput`;var D={heading:`_heading_1lqf4_1`,xl:`_xl_1lqf4_13`,lg:`_lg_1lqf4_16`,md:`_md_1lqf4_19`,sm:`_sm_1lqf4_22`,xs:`_xs_1lqf4_25`,muted:`_muted_1lqf4_29`,inherit:`_inherit_1lqf4_30`},ee={1:`xl`,2:`lg`,3:`md`,4:`sm`,5:`xs`,6:`xs`},te=(0,e.forwardRef)(({level:e,size:n,color:r=`default`,className:i,children:a,...o},s)=>{let c=n??ee[e],l={ref:s,className:[D.heading,D[c],r==="default"?``:D[r],i??``].filter(Boolean).join(` `),...o};switch(e){case 1:return(0,t.jsx)(`h1`,{...l,children:a});case 2:return(0,t.jsx)(`h2`,{...l,children:a});case 3:return(0,t.jsx)(`h3`,{...l,children:a});case 4:return(0,t.jsx)(`h4`,{...l,children:a});case 5:return(0,t.jsx)(`h5`,{...l,children:a});case 6:return(0,t.jsx)(`h6`,{...l,children:a})}});te.displayName=`Heading`;var ne={text:`_text_nmm1v_1`,lg:`_lg_nmm1v_11`,md:`_md_nmm1v_12`,sm:`_sm_nmm1v_13`,xs:`_xs_nmm1v_14`,regular:`_regular_nmm1v_18`,medium:`_medium_nmm1v_19`,semibold:`_semibold_nmm1v_20`,bold:`_bold_nmm1v_21`,muted:`_muted_nmm1v_25`,disabled:`_disabled_nmm1v_26`,error:`_error_nmm1v_27`,success:`_success_nmm1v_28`,warning:`_warning_nmm1v_29`,inherit:`_inherit_nmm1v_30`},re=(0,e.forwardRef)(({as:e=`p`,size:n=`md`,weight:r=`regular`,color:i=`default`,className:a,...o},s)=>{let c=[ne.text,ne[n],ne[r],i==="default"?``:ne[i],a??``].filter(Boolean).join(` `);return(0,t.jsx)(e,{ref:s,className:c,...o})});re.displayName=`Text`;var O={root:`_root_vxg1r_1`,error:`_error_vxg1r_12`,warning:`_warning_vxg1r_18`,success:`_success_vxg1r_24`,info:`_info_vxg1r_30`,icon:`_icon_vxg1r_38`,content:`_content_vxg1r_48`,title:`_title_vxg1r_56`,description:`_description_vxg1r_65`,dismiss:`_dismiss_vxg1r_74`},ie={error:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,t.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,t.jsx)(`line`,{x1:`15`,y1:`9`,x2:`9`,y2:`15`}),(0,t.jsx)(`line`,{x1:`9`,y1:`9`,x2:`15`,y2:`15`})]}),warning:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,t.jsx)(`path`,{d:`M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z`}),(0,t.jsx)(`line`,{x1:`12`,y1:`9`,x2:`12`,y2:`13`}),(0,t.jsx)(`line`,{x1:`12`,y1:`17`,x2:`12.01`,y2:`17`})]}),success:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,t.jsx)(`path`,{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`}),(0,t.jsx)(`polyline`,{points:`22 4 12 14.01 9 11.01`})]}),info:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,t.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,t.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`12`}),(0,t.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12.01`,y2:`16`})]})},ae={error:`alert`,warning:`alert`,success:`status`,info:`status`},oe=(0,e.forwardRef)(({variant:e,title:n,children:r,onDismiss:i,dismissLabel:a=`Close alert`,role:o,className:s,...c},l)=>{let u=o??ae[e],d=[O.root,O[e],s??``].filter(Boolean).join(` `);return(0,t.jsxs)(`div`,{ref:l,role:u,className:d,...c,children:[(0,t.jsx)(`span`,{className:O.icon,"aria-hidden":`true`,children:ie[e]}),(0,t.jsxs)(`div`,{className:O.content,children:[n&&(0,t.jsx)(`p`,{className:O.title,children:n}),(0,t.jsx)(`div`,{className:O.description,children:r})]}),i&&(0,t.jsx)(`button`,{type:`button`,className:O.dismiss,"aria-label":a,onClick:i,children:(0,t.jsxs)(`svg`,{"aria-hidden":`true`,xmlns:`http://www.w3.org/2000/svg`,width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,t.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,t.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]})})]})});oe.displayName=`Alert`;var se={badge:`_badge_1qsea_1`,sm:`_sm_1qsea_13`,md:`_md_1qsea_18`,lg:`_lg_1qsea_23`,neutral:`_neutral_1qsea_30`,brand:`_brand_1qsea_35`,accent:`_accent_1qsea_40`,error:`_error_1qsea_45`,warning:`_warning_1qsea_50`,success:`_success_1qsea_55`,info:`_info_1qsea_60`},ce=(0,e.forwardRef)(({variant:e=`neutral`,size:n=`md`,className:r,...i},a)=>{let o=[se.badge,se[e],se[n],r??``].filter(Boolean).join(` `);return(0,t.jsx)(`span`,{ref:a,className:o,...i})});ce.displayName=`Badge`;var le={skeleton:`_skeleton_3y1ju_1`,"ds-skeleton-shimmer":`_ds-skeleton-shimmer_3y1ju_1`,circle:`_circle_3y1ju_30`,text:`_text_3y1ju_35`,textGroup:`_textGroup_3y1ju_42`,"ds-skeleton-pulse":`_ds-skeleton-pulse_3y1ju_1`};function ue(e){return typeof e==`number`?`${e}px`:e}var de=(0,e.forwardRef)(({shape:e=`rect`,width:n,height:r,lines:i=1,className:a,style:o,...s},c)=>{if(e===`text`&&i>1)return(0,t.jsx)(`span`,{ref:c,"aria-hidden":`true`,className:[le.textGroup,a??``].filter(Boolean).join(` `),style:n?{width:ue(n),...o}:o,...s,children:Array.from({length:i},(e,n)=>(0,t.jsx)(`span`,{className:le.skeleton,style:{width:n===i-1?`70%`:`100%`}},n))});let l=[le.skeleton,e===`circle`?le.circle:``,e===`text`?le.text:``,a??``].filter(Boolean).join(` `);return(0,t.jsx)(`span`,{ref:c,"aria-hidden":`true`,className:l,style:{...n!==void 0&&{width:ue(n)},...r!==void 0&&{height:ue(r)},...o},...s})});de.displayName=`Skeleton`;var fe={track:`_track_15xhr_3`,sm:`_sm_15xhr_13`,md:`_md_15xhr_14`,lg:`_lg_15xhr_15`,fill:`_fill_15xhr_19`,default:`_default_15xhr_27`,accent:`_accent_15xhr_28`,success:`_success_15xhr_29`,error:`_error_15xhr_30`,warning:`_warning_15xhr_31`,indeterminate:`_indeterminate_15xhr_35`,"ds-progress-slide":`_ds-progress-slide_15xhr_1`,"ds-progress-pulse":`_ds-progress-pulse_15xhr_1`};function pe(e,t,n){return Math.min(Math.max(e,t),n)}var me=(0,e.forwardRef)(({label:e,value:n,variant:r=`default`,size:i=`md`,className:a,...o},s)=>{let c=n===void 0,l=c?void 0:pe(n,0,100),u=[fe.track,fe[i],fe[r],a??``].filter(Boolean).join(` `),d=[fe.fill,c?fe.indeterminate:``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:s,role:`progressbar`,"aria-label":e,"aria-valuenow":l,"aria-valuemin":c?void 0:0,"aria-valuemax":c?void 0:100,className:u,...o,children:(0,t.jsx)(`div`,{className:d,style:l===void 0?void 0:{width:`${l}%`}})})});me.displayName=`ProgressBar`;var he={divider:`_divider_1djxi_1`,horizontal:`_horizontal_1djxi_9`,vertical:`_vertical_1djxi_17`},ge=(0,e.forwardRef)(({orientation:e=`horizontal`,decorative:n=!0,label:r,className:i,...a},o)=>{let s=[he.divider,he[e],i??``].filter(Boolean).join(` `);return(0,t.jsx)(`hr`,{ref:o,"aria-hidden":n?!0:void 0,"aria-orientation":!n&&e===`vertical`?`vertical`:void 0,"aria-label":n?void 0:r,className:s,...a})});ge.displayName=`Divider`;var _e={numberInput:`_numberInput_1wkbh_2`},ve=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,min:r,max:i,step:a,className:o,...s},l)=>{let u=[c.input,c[n],e?c.error:``,_e.numberInput,o??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:l,type:`number`,min:r,max:i,step:a,"aria-invalid":e||void 0,className:u,...s})});ve.displayName=`NumberInput`;var ye=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[c.input,c[n],e?c.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`date`,"aria-invalid":e||void 0,className:o,...i})});ye.displayName=`DateInput`;var be={avatar:`_avatar_1hkk0_2`,xs:`_xs_1hkk0_7`,sm:`_sm_1hkk0_8`,md:`_md_1hkk0_9`,lg:`_lg_1hkk0_10`,xl:`_xl_1hkk0_11`,circle:`_circle_1hkk0_33`,square:`_square_1hkk0_34`,image:`_image_1hkk0_38`,initials:`_initials_1hkk0_47`};function xe(e){let t=e.trim().split(/\s+/).filter(Boolean);return t.length===0?`?`:t.length===1?t[0][0].toUpperCase():(t[0][0]+t[t.length-1][0]).toUpperCase()}var Se=(0,e.forwardRef)(({name:n,src:r,size:i=`md`,shape:a=`circle`,className:o,...s},c)=>{let[l,u]=(0,e.useState)(!1);(0,e.useEffect)(()=>{u(!1)},[r]);let d=!!r&&!l,f=[be.avatar,be[i],be[a],o??``].filter(Boolean).join(` `);return(0,t.jsx)(`span`,{ref:c,role:`img`,"aria-label":n,className:f,...s,children:d?(0,t.jsx)(`img`,{src:r,alt:``,"aria-hidden":`true`,className:be.image,onError:()=>u(!0)}):(0,t.jsx)(`span`,{"aria-hidden":`true`,className:be.initials,children:xe(n)})})});Se.displayName=`Avatar`;var Ce={tabs:`_tabs_g9je2_1`,tabList:`_tabList_g9je2_8`,tab:`_tab_g9je2_1`,tabPanel:`_tabPanel_g9je2_64`},we=(0,e.createContext)(null);function Te(){let t=(0,e.useContext)(we);if(!t)throw Error(`Tabs sub-components must be rendered inside <Tabs>.`);return t}var Ee=(0,e.forwardRef)(({children:n,value:r,defaultValue:i=``,onChange:a,className:o},s)=>{let[c,l]=(0,e.useState)(i),u=r??c,d=(0,e.useId)(),f=(0,e.useCallback)(e=>`${d}-tab-${e}`,[d]),p=(0,e.useCallback)(e=>`${d}-panel-${e}`,[d]),m=(0,e.useRef)([]),h=(0,e.useRef)(new Map),g=(0,e.useRef)(new Set),_=(0,e.useCallback)(e=>{r===void 0&&l(e),a?.(e)},[r,a]),v=(0,e.useCallback)(e=>(m.current=[...m.current,e],()=>{m.current=m.current.filter(t=>t!==e)}),[]),y=(0,e.useCallback)((e,t)=>{t?h.current.set(e,t):h.current.delete(e)},[]),b=(0,e.useCallback)((e,t)=>{t?g.current.add(e):g.current.delete(e)},[]);return(0,t.jsx)(we.Provider,{value:{activeTab:u,setActiveTab:_,getTabId:f,getPanelId:p,tabValuesRef:m,tabRefsRef:h,disabledTabsRef:g,registerTab:v,registerTabRef:y,setTabDisabled:b},children:(0,t.jsx)(`div`,{ref:s,className:[Ce.tabs,o??``].filter(Boolean).join(` `),children:n})})});Ee.displayName=`Tabs`;var De=(0,e.forwardRef)(({children:e,label:n,className:r},i)=>(0,t.jsx)(`div`,{ref:i,role:`tablist`,"aria-label":n,className:[Ce.tabList,r??``].filter(Boolean).join(` `),children:e}));De.displayName=`TabList`;var Oe=(0,e.forwardRef)(({value:n,children:r,disabled:i=!1,className:a},o)=>{let{activeTab:s,setActiveTab:c,getTabId:l,getPanelId:u,tabValuesRef:d,tabRefsRef:f,disabledTabsRef:p,registerTab:m,registerTabRef:h,setTabDisabled:g}=Te(),_=s===n;return(0,e.useEffect)(()=>m(n),[n,m]),(0,e.useEffect)(()=>(g(n,i),()=>g(n,!1)),[n,i,g]),(0,t.jsx)(`button`,{ref:e=>{h(n,e),typeof o==`function`?o(e):o&&(o.current=e)},role:`tab`,id:l(n),"aria-selected":_,"aria-controls":u(n),tabIndex:_?0:-1,disabled:i,onClick:()=>!i&&c(n),onKeyDown:e=>{let t=d.current.filter(e=>!p.current.has(e)),r=t.indexOf(n),a=e=>{f.current.get(e)?.focus()};switch(e.key){case`ArrowRight`:case`ArrowDown`:e.preventDefault(),r!==-1&&a(t[(r+1)%t.length]);break;case`ArrowLeft`:case`ArrowUp`:e.preventDefault(),r!==-1&&a(t[(r-1+t.length)%t.length]);break;case`Home`:e.preventDefault(),a(t[0]);break;case`End`:e.preventDefault(),a(t[t.length-1]);break;case`Enter`:case` `:e.preventDefault(),i||c(n)}},className:[Ce.tab,a??``].filter(Boolean).join(` `),children:r})});Oe.displayName=`Tab`;var ke=(0,e.forwardRef)(({value:e,children:n,className:r},i)=>{let{activeTab:a,getTabId:o,getPanelId:s}=Te(),c=a===e;return(0,t.jsx)(`div`,{ref:i,role:`tabpanel`,id:s(e),"aria-labelledby":o(e),tabIndex:0,hidden:!c,className:[Ce.tabPanel,r??``].filter(Boolean).join(` `),children:n})});ke.displayName=`TabPanel`;var Ae={tooltip:`_tooltip_1dtlh_1`,visible:`_visible_1dtlh_18`,top:`_top_1dtlh_30`,bottom:`_bottom_1dtlh_42`,left:`_left_1dtlh_54`,right:`_right_1dtlh_66`};function je(...e){return t=>{for(let n of e)typeof n==`function`?n(t):n&&`current`in n&&(n.current=t)}}function Me({content:r,children:i,placement:a=`top`,delayMs:o=200}){let s=(0,e.useId)(),c=(0,e.useRef)(null),l=(0,e.useRef)(void 0),[u,d]=(0,e.useState)(!1),[f,p]=(0,e.useState)({top:0,left:0}),m=(0,e.useCallback)(()=>{let e=c.current?.getBoundingClientRect();if(e)switch(a){case`top`:p({top:e.top,left:e.left+e.width/2});break;case`bottom`:p({top:e.bottom,left:e.left+e.width/2});break;case`left`:p({top:e.top+e.height/2,left:e.left});break;case`right`:p({top:e.top+e.height/2,left:e.right})}},[a]),h=(0,e.useCallback)(()=>{clearTimeout(l.current),l.current=setTimeout(()=>{m(),d(!0)},o)},[m,o]),g=(0,e.useCallback)(()=>{clearTimeout(l.current),d(!1)},[]);(0,e.useEffect)(()=>{if(!u)return;let e=()=>m();return window.addEventListener(`scroll`,e,{capture:!0,passive:!0}),window.addEventListener(`resize`,e,{passive:!0}),()=>{window.removeEventListener(`scroll`,e,{capture:!0}),window.removeEventListener(`resize`,e)}},[u,m]);let _=i,v=(0,e.cloneElement)(_,{ref:je(c,_.props.ref),"aria-describedby":s,onMouseEnter:e=>{h(),_.props.onMouseEnter?.(e)},onMouseLeave:e=>{g(),_.props.onMouseLeave?.(e)},onFocus:e=>{h(),_.props.onFocus?.(e)},onBlur:e=>{g(),_.props.onBlur?.(e)},onKeyDown:e=>{e.key===`Escape`&&g(),_.props.onKeyDown?.(e)}}),y=(0,t.jsx)(`div`,{id:s,role:`tooltip`,hidden:!u,style:{top:f.top,left:f.left},className:[Ae.tooltip,Ae[a],u?Ae.visible:``].filter(Boolean).join(` `),children:r});return(0,t.jsxs)(t.Fragment,{children:[v,(0,n.createPortal)(y,document.body)]})}Me.displayName=`Tooltip`;var k={dialog:`_dialog_5uqyu_1`,panel:`_panel_5uqyu_23`,sm:`_sm_5uqyu_36`,md:`_md_5uqyu_41`,lg:`_lg_5uqyu_46`,header:`_header_5uqyu_55`,title:`_title_5uqyu_64`,closeButton:`_closeButton_5uqyu_73`,body:`_body_5uqyu_99`,footer:`_footer_5uqyu_108`};function Ne({children:e,titleId:n,onClose:r,closeLabel:i}){return(0,t.jsxs)(`div`,{className:k.header,children:[(0,t.jsx)(`h2`,{id:n,className:k.title,children:e}),(0,t.jsx)(`button`,{type:`button`,"aria-label":i,className:k.closeButton,onClick:r,children:(0,t.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M12 4L4 12M4 4l8 8`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})})]})}function Pe({children:e,id:n}){return(0,t.jsx)(`div`,{className:k.body,id:n,children:e})}Pe.displayName=`ModalBody`;function Fe({children:e}){return(0,t.jsx)(`div`,{className:k.footer,children:e})}Fe.displayName=`ModalFooter`;var Ie=[`a[href]`,`button:not([disabled])`,`input:not([disabled])`,`select:not([disabled])`,`textarea:not([disabled])`,`[tabindex]:not([tabindex="-1"])`].join(`, `),Le=(0,e.forwardRef)(function({open:r,onClose:i,title:a,children:o,"aria-describedby":s,size:c=`md`,closeLabel:l=`Close`},u){let d=(0,e.useId)(),f=(0,e.useRef)(null),p=(0,e.useRef)(null),m=(0,e.useCallback)(e=>{f.current=e,typeof u==`function`?u(e):u&&(u.current=e)},[u]);(0,e.useEffect)(()=>{if(r){p.current=document.activeElement,document.body.style.overflow=`hidden`;let e=f.current;if(!e)return;(e.querySelectorAll(Ie)[0]??e).focus()}else document.body.style.overflow=``,p.current?.focus();return()=>{document.body.style.overflow=``}},[r]);let h=(0,e.useCallback)(e=>{if(e.key===`Escape`){e.preventDefault(),i();return}if(e.key!==`Tab`)return;let t=f.current;if(!t)return;let n=Array.from(t.querySelectorAll(Ie));if(n.length===0)return;let r=n[0],a=n[n.length-1];e.shiftKey?document.activeElement===r&&(e.preventDefault(),a.focus()):document.activeElement===a&&(e.preventDefault(),r.focus())},[i]),g=(0,e.useCallback)(e=>{e.target===f.current&&i()},[i]);if(!r)return null;let _=(0,t.jsx)(`dialog`,{ref:m,role:`dialog`,"aria-modal":`true`,"aria-labelledby":d,"aria-describedby":s,open:!0,className:[k.dialog,k[c]].join(` `),onKeyDown:h,onClick:g,children:(0,t.jsxs)(`div`,{className:k.panel,children:[(0,t.jsx)(Ne,{titleId:d,onClose:i,closeLabel:l,children:a}),o]})});return(0,n.createPortal)(_,document.body)});Le.displayName=`Modal`;var Re={region:`_region_j5e79_1`,toast:`_toast_j5e79_14`,info:`_info_j5e79_30`,icon:`_icon_j5e79_35`,success:`_success_j5e79_39`,error:`_error_j5e79_47`,warning:`_warning_j5e79_55`,message:`_message_j5e79_69`,closeButton:`_closeButton_j5e79_74`},ze=(0,e.createContext)(null),Be={info:(0,t.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:[(0,t.jsx)(`circle`,{cx:`8`,cy:`8`,r:`7`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,t.jsx)(`path`,{d:`M8 7v4M8 5v.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})]}),success:(0,t.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:[(0,t.jsx)(`circle`,{cx:`8`,cy:`8`,r:`7`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,t.jsx)(`path`,{d:`M5 8l2 2 4-4`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})]}),error:(0,t.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:[(0,t.jsx)(`circle`,{cx:`8`,cy:`8`,r:`7`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,t.jsx)(`path`,{d:`M10 6L6 10M6 6l4 4`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})]}),warning:(0,t.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:[(0,t.jsx)(`path`,{d:`M8 2L14.9 14H1.1L8 2z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinejoin:`round`}),(0,t.jsx)(`path`,{d:`M8 6.5v3M8 11v.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})]})};function Ve({item:e,onDismiss:n,onPause:r,onResume:i}){return(0,t.jsxs)(`div`,{className:[Re.toast,Re[e.variant]].join(` `),role:`status`,onMouseEnter:()=>r(e.id),onMouseLeave:()=>i(e.id),onFocus:()=>r(e.id),onBlur:()=>i(e.id),children:[(0,t.jsx)(`span`,{className:Re.icon,children:Be[e.variant]}),(0,t.jsx)(`span`,{className:Re.message,children:e.message}),(0,t.jsx)(`button`,{type:`button`,"aria-label":`Close notification`,className:Re.closeButton,onClick:()=>n(e.id),children:(0,t.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M9 3L3 9M3 3l6 6`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})})]})}function He({children:r,maxToasts:i=5}){let[a,o]=(0,e.useState)([]),s=(0,e.useRef)(new Map),c=(0,e.useRef)(new Map),l=(0,e.useRef)(new Map),u=(0,e.useRef)(0),d=(0,e.useCallback)(e=>{let t=s.current.get(e);t!==void 0&&(clearTimeout(t),s.current.delete(e)),c.current.delete(e),l.current.delete(e),o(t=>t.filter(t=>t.id!==e))},[]),f=(0,e.useCallback)((e,t)=>{let n=setTimeout(()=>d(e),t);s.current.set(e,n)},[d]),p=(0,e.useCallback)(e=>{let t=s.current.get(e);t!==void 0&&(clearTimeout(t),s.current.delete(e),c.current.set(e,Date.now()))},[]),m=(0,e.useCallback)(e=>{let t=c.current.get(e);if(t===void 0)return;let n=Date.now()-t,r=Math.max(0,(l.current.get(e)??0)-n);c.current.delete(e),l.current.set(e,r),r>0?f(e,r):d(e)},[d,f]),h=(0,e.useCallback)(e=>{let t=`toast-${++u.current}`,n=e.variant??`info`,r=e.duration??5e3,a={id:t,message:e.message,variant:n,duration:r};return o(e=>{let t=[...e,a];return t.length>i?t.slice(t.length-i):t}),r>0&&(l.current.set(t,r),f(t,r)),t},[i,f]);return(0,t.jsxs)(ze.Provider,{value:{show:h,dismiss:d},children:[r,(0,n.createPortal)((0,t.jsx)(`div`,{role:`region`,className:Re.region,"aria-label":`Notifications`,"aria-live":`polite`,"aria-atomic":`false`,"aria-relevant":`additions text`,children:a.map(e=>(0,t.jsx)(Ve,{item:e,onDismiss:d,onPause:p,onResume:m},e.id))}),document.body)]})}He.displayName=`ToastProvider`;function Ue(){let t=(0,e.useContext)(ze);if(!t)throw Error(`useToast must be used inside a <ToastProvider>`);return t}var We={label:`_label_1vrme_1`,disabled:`_disabled_1vrme_15`,required:`_required_1vrme_19`};function A({required:e,disabled:n,children:r,className:i,...a}){let o=[We.label,n?We.disabled:``,i??``].filter(Boolean).join(` `);return(0,t.jsxs)(`label`,{className:o,...a,children:[r,e&&(0,t.jsx)(`span`,{className:We.required,"aria-hidden":`true`,children:`*`})]})}A.displayName=`Label`;var Ge={hint:`_hint_pqi9h_1`};function j({children:e,className:n,...r}){return(0,t.jsx)(`span`,{className:[Ge.hint,n??``].filter(Boolean).join(` `),...r,children:e})}j.displayName=`Hint`;var Ke={error:`_error_13txc_1`};function M({children:e,className:n,...r}){return(0,t.jsx)(`span`,{className:[Ke.error,n??``].filter(Boolean).join(` `),...r,children:e})}M.displayName=`ErrorMessage`;function N({inputId:t,hint:n,error:r}){let i=(0,e.useId)(),a=t??i,o=n?`${a}-hint`:void 0,s=r?`${a}-error`:void 0;return{id:a,hintId:o,errorId:s,describedBy:[o,s].filter(Boolean).join(` `)||void 0}}var qe={root:`_root_123no_1`,inputWrapper:`_inputWrapper_123no_7`},Je=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,className:c,...u},d)=>{let{id:f,hintId:p,errorId:m,describedBy:h}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[qe.root,c??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:f,required:a,disabled:o,children:e}),(0,t.jsx)(`div`,{className:qe.inputWrapper,children:(0,t.jsx)(l,{ref:d,id:f,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":h,...u})}),r?(0,t.jsx)(M,{id:m,children:r}):n?(0,t.jsx)(j,{id:p,children:n}):null]})});Je.displayName=`TextField`;var Ye={root:`_root_1sjfo_1`,row:`_row_1sjfo_8`,label:`_label_1sjfo_16`,disabled:`_disabled_1sjfo_23`},Xe=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,disabled:a=!1,inputId:o,className:s,...c},l)=>{let{id:u,hintId:f,errorId:p,describedBy:m}=N({inputId:o,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[Ye.root,s??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`div`,{className:Ye.row,children:[(0,t.jsx)(d,{ref:l,id:u,size:i,hasError:!!r,disabled:a,"aria-describedby":m,...c}),(0,t.jsx)(`label`,{htmlFor:u,className:[Ye.label,a?Ye.disabled:``].filter(Boolean).join(` `),children:e})]}),r?(0,t.jsx)(M,{id:p,children:r}):n?(0,t.jsx)(j,{id:f,children:n}):null]})});Xe.displayName=`CheckboxField`;var Ze={root:`_root_1oeo1_1`},Qe=(0,e.forwardRef)(({label:e,options:n,placeholder:r,hint:i,error:a,size:o=`md`,required:s=!1,disabled:c=!1,inputId:l,className:u,children:d,...f},p)=>{let{id:m,hintId:g,errorId:_,describedBy:v}=N({inputId:l,hint:i,error:a});return(0,t.jsxs)(`div`,{className:[Ze.root,u??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:m,required:s,disabled:c,children:e}),(0,t.jsxs)(h,{ref:p,id:m,size:o,hasError:!!a,disabled:c,required:s,"aria-required":s,"aria-describedby":v,...f,children:[r&&(0,t.jsx)(`option`,{value:``,disabled:!0,children:r}),n?n.map(e=>(0,t.jsx)(`option`,{value:e.value,disabled:e.disabled,children:e.label},e.value)):d]}),a?(0,t.jsx)(M,{id:_,children:a}):i?(0,t.jsx)(j,{id:g,children:i}):null]})});Qe.displayName=`SelectField`;var P={fieldset:`_fieldset_8eiqw_1`,legend:`_legend_8eiqw_12`,disabled:`_disabled_8eiqw_26`,required:`_required_8eiqw_30`,option:`_option_8eiqw_35`,optionLabel:`_optionLabel_8eiqw_41`,footer:`_footer_8eiqw_56`};function $e({legend:e,name:n,options:r,value:i,defaultValue:a,onChange:o,hint:s,error:c,required:l=!1,disabled:u=!1,size:d=`md`,className:f}){let{id:m,hintId:h,errorId:g,describedBy:_}=N({hint:s,error:c});return(0,t.jsxs)(`fieldset`,{className:[P.fieldset,f??``].filter(Boolean).join(` `),"aria-describedby":_,disabled:u,children:[(0,t.jsxs)(`legend`,{className:[P.legend,u?P.disabled:``].filter(Boolean).join(` `),children:[e,l&&(0,t.jsx)(`span`,{className:P.required,"aria-hidden":`true`,children:`*`})]}),r.map((e,r)=>{let s=`${m}-${e.value}`,f=u||e.disabled;return(0,t.jsxs)(`div`,{className:P.option,children:[(0,t.jsx)(p,{id:s,name:n,value:e.value,size:d,hasError:!!c,disabled:f,required:l&&r===0,checked:i===void 0?void 0:i===e.value,defaultChecked:a===void 0?void 0:a===e.value,onChange:o?()=>o(e.value):void 0}),(0,t.jsx)(`label`,{htmlFor:s,className:[P.optionLabel,f?P.disabled:``].filter(Boolean).join(` `),children:e.label})]},e.value)}),(c||s)&&(0,t.jsx)(`div`,{className:P.footer,children:c?(0,t.jsx)(M,{id:g,children:c}):s?(0,t.jsx)(j,{id:h,children:s}):null})]})}$e.displayName=`RadioGroup`;var et={root:`_root_1oeo1_1`},tt=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,autoResize:s=!1,inputId:c,className:l,...u},d)=>{let{id:f,hintId:p,errorId:m,describedBy:h}=N({inputId:c,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[et.root,l??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:f,required:a,disabled:o,children:e}),(0,t.jsx)(_,{ref:d,id:f,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":h,autoResize:s,...u}),r?(0,t.jsx)(M,{id:m,children:r}):n?(0,t.jsx)(j,{id:p,children:n}):null]})});tt.displayName=`TextAreaField`;var nt={root:`_root_108wn_1`,field:`_field_108wn_7`},rt=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,className:c,...l},u)=>{let{id:d,hintId:f,errorId:p,describedBy:m}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[nt.root,c??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`div`,{className:nt.field,children:[(0,t.jsx)(A,{htmlFor:d,required:a,disabled:o,children:e}),(0,t.jsx)(y,{ref:u,id:d,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":m,...l})]}),r?(0,t.jsx)(M,{id:p,children:r}):n?(0,t.jsx)(j,{id:f,children:n}):null]})});rt.displayName=`ToggleField`;var it={root:`_root_1oeo1_1`},at=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,showPasswordLabel:s,hidePasswordLabel:c,inputId:l,className:u,...d},f)=>{let{id:p,hintId:m,errorId:h,describedBy:g}=N({inputId:l,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[it.root,u??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:p,required:a,disabled:o,children:e}),(0,t.jsx)(C,{ref:f,id:p,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":g,showPasswordLabel:s,hidePasswordLabel:c,...d}),r?(0,t.jsx)(M,{id:h,children:r}):n?(0,t.jsx)(j,{id:m,children:n}):null]})});at.displayName=`PasswordField`;var ot={root:`_root_123no_1`,inputWrapper:`_inputWrapper_123no_7`},st=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,className:c,...l},u)=>{let{id:d,hintId:f,errorId:p,describedBy:m}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[ot.root,c??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:d,required:a,disabled:o,children:e}),(0,t.jsx)(`div`,{className:ot.inputWrapper,children:(0,t.jsx)(w,{ref:u,id:d,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":m,...l})}),r?(0,t.jsx)(M,{id:p,children:r}):n?(0,t.jsx)(j,{id:f,children:n}):null]})});st.displayName=`EmailField`;var ct={root:`_root_123no_1`,inputWrapper:`_inputWrapper_123no_7`},lt=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,className:c,...l},u)=>{let{id:d,hintId:f,errorId:p,describedBy:m}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[ct.root,c??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:d,required:a,disabled:o,children:e}),(0,t.jsx)(`div`,{className:ct.inputWrapper,children:(0,t.jsx)(T,{ref:u,id:d,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":m,...l})}),r?(0,t.jsx)(M,{id:p,children:r}):n?(0,t.jsx)(j,{id:f,children:n}):null]})});lt.displayName=`PhoneField`;var ut={root:`_root_123no_1`,inputWrapper:`_inputWrapper_123no_7`},dt=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,className:c,...l},u)=>{let{id:d,hintId:f,errorId:p,describedBy:m}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[ut.root,c??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:d,required:a,disabled:o,children:e}),(0,t.jsx)(`div`,{className:ut.inputWrapper,children:(0,t.jsx)(E,{ref:u,id:d,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":m,...l})}),r?(0,t.jsx)(M,{id:p,children:r}):n?(0,t.jsx)(j,{id:f,children:n}):null]})});dt.displayName=`SearchField`;var ft={root:`_root_123no_1`,inputWrapper:`_inputWrapper_123no_7`},pt=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,min:c,max:l,step:u,className:d,...f},p)=>{let{id:m,hintId:h,errorId:g,describedBy:_}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[ft.root,d??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:m,required:a,disabled:o,children:e}),(0,t.jsx)(`div`,{className:ft.inputWrapper,children:(0,t.jsx)(ve,{ref:p,id:m,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":_,min:c,max:l,step:u,...f})}),r?(0,t.jsx)(M,{id:g,children:r}):n?(0,t.jsx)(j,{id:h,children:n}):null]})});pt.displayName=`NumberField`;var mt={root:`_root_123no_1`,inputWrapper:`_inputWrapper_123no_7`},ht=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,className:c,value:l,...u},d)=>{let{id:f,hintId:p,errorId:m,describedBy:h}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[mt.root,c??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:f,required:a,disabled:o,children:e}),(0,t.jsx)(`div`,{className:mt.inputWrapper,children:(0,t.jsx)(ye,{ref:d,id:f,size:i,value:l,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":h,...u})}),r?(0,t.jsx)(M,{id:m,children:r}):n?(0,t.jsx)(j,{id:p,children:n}):null]})});ht.displayName=`DateField`;var gt=(0,e.createContext)(null),_t=`ds-theme`;function vt(e,t){e===`system`?document.documentElement.removeAttribute(`data-theme`):document.documentElement.setAttribute(`data-theme`,t)}function yt({children:n,defaultTheme:r=`system`,storageKey:i=_t}){let[a,o]=(0,e.useState)(()=>typeof window>`u`?r:localStorage.getItem(i)??r),[s,c]=(0,e.useState)(()=>typeof window<`u`&&window.matchMedia(`(prefers-color-scheme: dark)`).matches),l=a===`system`?s?`dark`:`light`:a;(0,e.useEffect)(()=>{vt(a,l)},[a,l]),(0,e.useEffect)(()=>{let e=window.matchMedia(`(prefers-color-scheme: dark)`);function t(){c(e.matches)}return e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)},[]);function u(e){localStorage.setItem(i,e),o(e)}return(0,t.jsx)(gt.Provider,{value:{theme:a,resolvedTheme:l,setTheme:u},children:n})}yt.displayName=`ThemeProvider`;function bt(){let t=(0,e.useContext)(gt);if(!t)throw Error(`useTheme must be used inside a <ThemeProvider>`);return t}var xt={stack:`_stack_bluv1_1`},St={0:`0`,1:`var(--ds-space-1)`,2:`var(--ds-space-2)`,3:`var(--ds-space-3)`,4:`var(--ds-space-4)`,5:`var(--ds-space-5)`,6:`var(--ds-space-6)`,8:`var(--ds-space-8)`,10:`var(--ds-space-10)`,12:`var(--ds-space-12)`,16:`var(--ds-space-16)`},Ct={start:`flex-start`,center:`center`,end:`flex-end`,between:`space-between`,around:`space-around`,evenly:`space-evenly`},wt=(0,e.forwardRef)(({direction:e=`column`,gap:n=4,align:r=`stretch`,justify:i=`start`,wrap:a=!1,className:o,style:s,...c},l)=>{let u=[xt.stack,o??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:l,className:u,style:{flexDirection:e,gap:St[n],alignItems:r,justifyContent:Ct[i],flexWrap:a?`wrap`:`nowrap`,...s},...c})});wt.displayName=`Stack`;var Tt={grid:`_grid_nas2v_1`,responsive:`_responsive_nas2v_7`},Et={0:`0`,1:`var(--ds-space-1)`,2:`var(--ds-space-2)`,3:`var(--ds-space-3)`,4:`var(--ds-space-4)`,5:`var(--ds-space-5)`,6:`var(--ds-space-6)`,8:`var(--ds-space-8)`,10:`var(--ds-space-10)`,12:`var(--ds-space-12)`,16:`var(--ds-space-16)`},Dt=(0,e.forwardRef)(({cols:e=1,gap:n=4,columnGap:r,rowGap:i,className:a,style:o,...s},c)=>{let l=typeof e!=`number`,u=l?{...e.mobile!==void 0&&{"--grid-cols-mobile":String(e.mobile)},...e.tablet!==void 0&&{"--grid-cols-tablet":String(e.tablet)},...e.desktop!==void 0&&{"--grid-cols-desktop":String(e.desktop)}}:{gridTemplateColumns:`repeat(${e}, minmax(0, 1fr))`},d=[Tt.grid,l?Tt.responsive:``,a??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:c,className:d,style:{...u,gap:Et[n],...r!==void 0&&{columnGap:Et[r]},...i!==void 0&&{rowGap:Et[i]},...o},...s})});Dt.displayName=`Grid`;var Ot={container:`_container_1evbj_1`,padding:`_padding_1evbj_6`,sm:`_sm_1evbj_12`,md:`_md_1evbj_13`,lg:`_lg_1evbj_14`,xl:`_xl_1evbj_15`,full:`_full_1evbj_16`},kt=(0,e.forwardRef)(({size:e=`lg`,padding:n=!0,className:r,...i},a)=>{let o=[Ot.container,Ot[e],n?Ot.padding:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:a,className:o,...i})});kt.displayName=`Container`;var F={root:`_root_1jo5p_3`,outlined:`_outlined_1jo5p_14`,elevated:`_elevated_1jo5p_18`,flat:`_flat_1jo5p_22`,paddingSm:`_paddingSm_1jo5p_28`,paddingMd:`_paddingMd_1jo5p_29`,paddingLg:`_paddingLg_1jo5p_30`,media:`_media_1jo5p_34`,header:`_header_1jo5p_47`,body:`_body_1jo5p_48`,footer:`_footer_1jo5p_49`},At={sm:F.paddingSm,md:F.paddingMd,lg:F.paddingLg},jt=(0,e.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(`div`,{ref:r,className:[F.media,e??``].filter(Boolean).join(` `),...n}));jt.displayName=`Card.Media`;var Mt=(0,e.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(`div`,{ref:r,className:[F.header,e??``].filter(Boolean).join(` `),...n}));Mt.displayName=`Card.Header`;var Nt=(0,e.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(`div`,{ref:r,className:[F.body,e??``].filter(Boolean).join(` `),...n}));Nt.displayName=`Card.Body`;var Pt=(0,e.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(`div`,{ref:r,className:[F.footer,e??``].filter(Boolean).join(` `),...n}));Pt.displayName=`Card.Footer`;var Ft=(0,e.forwardRef)(({variant:e=`outlined`,padding:n=`md`,className:r,...i},a)=>{let o=[F.root,F[e],At[n],r??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:a,className:o,...i})});Ft.displayName=`Card`;var It=Object.assign(Ft,{Media:jt,Header:Mt,Body:Nt,Footer:Pt}),I={root:`_root_xmnn0_3`,info:`_info_xmnn0_16`,success:`_success_xmnn0_22`,warning:`_warning_xmnn0_28`,error:`_error_xmnn0_34`,promotional:`_promotional_xmnn0_40`,stacked:`_stacked_xmnn0_48`,icon:`_icon_xmnn0_52`,content:`_content_xmnn0_68`,headline:`_headline_xmnn0_76`,description:`_description_xmnn0_85`,actions:`_actions_xmnn0_95`,dismiss:`_dismiss_xmnn0_108`},Lt={error:`alert`,warning:`alert`,success:`status`,info:`status`,promotional:`region`},Rt={info:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,t.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,t.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`12`}),(0,t.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12.01`,y2:`16`})]}),success:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,t.jsx)(`path`,{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`}),(0,t.jsx)(`polyline`,{points:`22 4 12 14.01 9 11.01`})]}),warning:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,t.jsx)(`path`,{d:`M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z`}),(0,t.jsx)(`line`,{x1:`12`,y1:`9`,x2:`12`,y2:`13`}),(0,t.jsx)(`line`,{x1:`12`,y1:`17`,x2:`12.01`,y2:`17`})]}),error:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,t.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,t.jsx)(`line`,{x1:`15`,y1:`9`,x2:`9`,y2:`15`}),(0,t.jsx)(`line`,{x1:`9`,y1:`9`,x2:`15`,y2:`15`})]}),promotional:(0,t.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M22 12h-4l-3 9L9 3l-3 9H2`})})},zt=()=>(0,t.jsxs)(`svg`,{"aria-hidden":`true`,xmlns:`http://www.w3.org/2000/svg`,width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,t.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,t.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]}),Bt=(0,e.forwardRef)(({headline:e,description:n,variant:r=`info`,layout:i=`horizontal`,media:a,actions:o,onDismiss:s,dismissLabel:c=`Close banner`,role:l,className:u,...d},f)=>{let p=l??Lt[r],m=[I.root,I[r],i===`stacked`?I.stacked:``,u??``].filter(Boolean).join(` `);return(0,t.jsxs)(`div`,{ref:f,role:p,"aria-label":p===`region`?e:void 0,...d,className:m,children:[(0,t.jsx)(`span`,{className:I.icon,children:a??Rt[r]}),(0,t.jsxs)(`div`,{className:I.content,children:[(0,t.jsx)(`p`,{className:I.headline,children:e}),n&&(0,t.jsx)(`p`,{className:I.description,children:n}),i===`stacked`&&o&&(0,t.jsx)(`div`,{className:I.actions,children:o})]}),i===`horizontal`&&o&&(0,t.jsx)(`div`,{className:I.actions,children:o}),s&&(0,t.jsx)(`button`,{type:`button`,className:I.dismiss,"aria-label":c,onClick:s,children:(0,t.jsx)(zt,{})})]})});Bt.displayName=`Banner`;var L={root:`_root_cjxe3_3`,srOnly:`_srOnly_cjxe3_11`,viewport:`_viewport_cjxe3_25`,track:`_track_cjxe3_32`,slide:`_slide_cjxe3_46`,controls:`_controls_cjxe3_53`,navBtn:`_navBtn_cjxe3_60`,dots:`_dots_cjxe3_66`,dot:`_dot_cjxe3_66`,dotActive:`_dotActive_cjxe3_96`},Vt=()=>(0,t.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,t.jsx)(`polyline`,{points:`15 18 9 12 15 6`})}),Ht=()=>(0,t.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,t.jsx)(`polyline`,{points:`9 18 15 12 9 6`})}),Ut=(0,e.forwardRef)(({children:n,"aria-label":r,loop:i=!1,autoplay:a,visibleSlides:o=1,prevLabel:c=`Previous`,nextLabel:l=`Next`,className:u,onKeyDown:d,...f},p)=>{let m=e.Children.toArray(n),h=m.length,g=Math.min(o,h),_=Math.max(0,h-g),v=_+1,[y,b]=(0,e.useState)(0),[x,S]=(0,e.useState)(!1),C=(0,e.useRef)(!1),w=(0,e.useRef)(!1);(0,e.useLayoutEffect)(()=>{if(!x)return;let e=requestAnimationFrame(()=>requestAnimationFrame(()=>S(!1)));return()=>cancelAnimationFrame(e)},[x]);let T=(0,e.useCallback)(e=>{i?((e<0||e>=h)&&S(!0),b((e%h+h)%h)):b(Math.max(0,Math.min(_,e)))},[i,h,_]),E=(0,e.useCallback)(()=>T(y-1),[y,T]),D=(0,e.useCallback)(()=>T(y+1),[y,T]);(0,e.useEffect)(()=>{if(!a)return;let e=setInterval(()=>{C.current||w.current||(i?T(y+1):b(e=>e<_?e+1:0))},a);return()=>clearInterval(e)},[a,y,T,i,_]);let ee=(0,e.useCallback)(e=>{e.key===`ArrowLeft`&&(e.preventDefault(),E()),e.key===`ArrowRight`&&(e.preventDefault(),D()),d?.(e)},[E,D,d]),te=!i&&y===0,ne=!i&&y>=_,re=h>0?y/h*100:0,O=h>0?h/g*100:100,ie=h>0?100/h:100,ae=[L.root,u??``].filter(Boolean).join(` `);return(0,t.jsxs)(`div`,{ref:p,role:`region`,"aria-label":r,className:ae,onKeyDown:ee,onMouseEnter:()=>{C.current=!0},onMouseLeave:()=>{C.current=!1},onFocus:()=>{w.current=!0},onBlur:()=>{w.current=!1},...f,children:[(0,t.jsx)(`span`,{className:L.srOnly,"aria-live":`polite`,"aria-atomic":`true`,children:`Slide ${y+1} of ${h}`}),(0,t.jsx)(`div`,{className:L.viewport,children:(0,t.jsx)(`div`,{className:L.track,style:{width:`${O}%`,transform:`translateX(-${re}%)`,...x?{transition:`none`}:{}},children:m.map((e,n)=>(0,t.jsx)(`div`,{role:`group`,"aria-roledescription":`slide`,"aria-label":`Slide ${n+1} of ${h}`,className:L.slide,style:{width:`${ie}%`},children:e},n))})}),(0,t.jsxs)(`div`,{className:L.controls,children:[(0,t.jsx)(s,{variant:`secondary`,size:`sm`,"aria-label":c,disabled:te,onClick:E,className:L.navBtn,children:(0,t.jsx)(Vt,{})}),(0,t.jsx)(`ul`,{className:L.dots,"aria-label":`Slides`,children:Array.from({length:v}).map((e,n)=>(0,t.jsx)(`li`,{children:(0,t.jsx)(`button`,{type:`button`,"aria-label":`Go to slide ${n+1}`,"aria-current":n===y||void 0,className:[L.dot,n===y?L.dotActive:``].filter(Boolean).join(` `),onClick:()=>T(n)})},n))}),(0,t.jsx)(s,{variant:`secondary`,size:`sm`,"aria-label":l,disabled:ne,onClick:D,className:L.navBtn,children:(0,t.jsx)(Ht,{})})]})]})});Ut.displayName=`Carousel`;var Wt={nav:`_nav_1eaxa_1`,list:`_list_1eaxa_5`,item:`_item_1eaxa_14`,link:`_link_1eaxa_29`,current:`_current_1eaxa_47`},Gt=(0,e.forwardRef)(({items:e,"aria-label":n=`Breadcrumb`,className:r},i)=>(0,t.jsx)(`nav`,{ref:i,"aria-label":n,className:[Wt.nav,r??``].filter(Boolean).join(` `),children:(0,t.jsx)(`ol`,{className:Wt.list,children:e.map((n,r)=>{let i=r===e.length-1;return(0,t.jsx)(`li`,{className:Wt.item,children:i?(0,t.jsx)(`span`,{className:Wt.current,"aria-current":`page`,children:n.label}):n.href?(0,t.jsx)(`a`,{href:n.href,className:Wt.link,children:n.label}):(0,t.jsx)(`span`,{className:Wt.link,children:n.label})},`${n.label}-${r}`)})})}));Gt.displayName=`Breadcrumb`;var R={navbar:`_navbar_1bewp_1`,sticky:`_sticky_1bewp_7`,inner:`_inner_1bewp_12`,brand:`_brand_1bewp_22`,nav:`_nav_1bewp_1`,navList:`_navList_1bewp_34`,navItem:`_navItem_1bewp_43`,navLink:`_navLink_1bewp_47`,navLinkActive:`_navLinkActive_1bewp_72`,actions:`_actions_1bewp_82`,menuButton:`_menuButton_1bewp_90`,mobileMenu:`_mobileMenu_1bewp_116`,mobileNavList:`_mobileNavList_1bewp_124`,mobileNavItem:`_mobileNavItem_1bewp_133`,mobileNavLink:`_mobileNavLink_1bewp_137`,mobileNavLinkActive:`_mobileNavLinkActive_1bewp_160`,mobileMenuOpen:`_mobileMenuOpen_1bewp_189`},Kt=()=>(0,t.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{fillRule:`evenodd`,d:`M2 4.75A.75.75 0 0 1 2.75 4h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 4.75ZM2 10a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 10Zm0 5.25a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Z`,clipRule:`evenodd`})}),qt=()=>(0,t.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z`})}),Jt=(0,e.forwardRef)(({brand:n,items:r=[],actions:i,sticky:a=!1,"aria-label":o=`Main navigation`,defaultMobileOpen:s=!1,isMobileOpen:c,onMobileOpenChange:l,className:u},d)=>{let[f,p]=(0,e.useState)(s),m=c??f,h=(0,e.useId)(),g=()=>{let e=!m;c===void 0&&p(e),l?.(e)},_=()=>{c===void 0&&p(!1),l?.(!1)},v=[R.navbar,a?R.sticky:``,u??``].filter(Boolean).join(` `);return(0,t.jsxs)(`header`,{ref:d,className:v,children:[(0,t.jsxs)(`div`,{className:R.inner,children:[n&&(0,t.jsx)(`div`,{className:R.brand,children:n}),r.length>0&&(0,t.jsx)(`nav`,{className:R.nav,"aria-label":o,children:(0,t.jsx)(`ul`,{className:R.navList,children:r.map(e=>(0,t.jsx)(`li`,{className:R.navItem,children:(0,t.jsx)(`a`,{href:e.href,onClick:e.onClick,className:[R.navLink,e.isActive?R.navLinkActive:``].filter(Boolean).join(` `),"aria-current":e.isActive?`page`:void 0,children:e.label})},e.key))})}),i&&(0,t.jsx)(`div`,{className:R.actions,children:i}),(0,t.jsx)(`button`,{type:`button`,className:R.menuButton,onClick:g,"aria-expanded":m,"aria-controls":h,"aria-label":m?`Close menu`:`Open menu`,children:m?(0,t.jsx)(qt,{}):(0,t.jsx)(Kt,{})})]}),(0,t.jsx)(`div`,{id:h,className:[R.mobileMenu,m?R.mobileMenuOpen:``].filter(Boolean).join(` `),children:(0,t.jsx)(`nav`,{"aria-label":`${o} — menu`,children:(0,t.jsx)(`ul`,{className:R.mobileNavList,children:r.map(e=>(0,t.jsx)(`li`,{className:R.mobileNavItem,children:(0,t.jsx)(`a`,{href:e.href,onClick:()=>{e.onClick?.(),_()},className:[R.mobileNavLink,e.isActive?R.mobileNavLinkActive:``].filter(Boolean).join(` `),"aria-current":e.isActive?`page`:void 0,children:e.label})},e.key))})})})]})});Jt.displayName=`Navbar`;var z={sidebar:`_sidebar_zpuep_3`,collapsed:`_collapsed_zpuep_13`,panel:`_panel_zpuep_18`,backdrop:`_backdrop_zpuep_33`,panelTop:`_panelTop_zpuep_42`,logoRow:`_logoRow_zpuep_59`,logoSlot:`_logoSlot_zpuep_73`,headerContent:`_headerContent_zpuep_81`,mobileCloseRow:`_mobileCloseRow_zpuep_99`,mobileCloseButton:`_mobileCloseButton_zpuep_107`,nav:`_nav_zpuep_134`,navList:`_navList_zpuep_141`,navItem:`_navItem_zpuep_153`,navLink:`_navLink_zpuep_157`,navLinkActive:`_navLinkActive_zpuep_184`,navLinkIcon:`_navLinkIcon_zpuep_189`,navLinkLabel:`_navLinkLabel_zpuep_199`,collapseButton:`_collapseButton_zpuep_217`,footer:`_footer_zpuep_251`,mobileOpen:`_mobileOpen_zpuep_285`},Yt=`a[href], button:not([disabled]), input:not([disabled]), [tabindex]:not([tabindex="-1"])`,Xt=()=>(0,t.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M10 4L6 8L10 12`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Zt=()=>(0,t.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M6 4L10 8L6 12`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Qt=()=>(0,t.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z`})}),$t=(0,e.forwardRef)(({items:r,logo:i,header:a,footer:o,"aria-label":s=`Sidebar navigation`,defaultCollapsed:c=!1,isCollapsed:l,onCollapsedChange:u,defaultMobileOpen:d=!1,isMobileOpen:f,onMobileOpenChange:p,className:m},h)=>{let[g,_]=(0,e.useState)(c),v=l??g,[y,b]=(0,e.useState)(d),x=f??y,[S]=(0,e.useState)(()=>typeof document<`u`),C=(0,e.useRef)(null),w=(0,e.useRef)(null);(0,e.useEffect)(()=>{if(window.matchMedia?.(`(max-width: 767px)`)?.matches??!1)return x?(w.current=document.activeElement,document.body.style.overflow=`hidden`,(C.current?.querySelector(Yt))?.focus()):(document.body.style.overflow=``,w.current?.focus(),w.current=null),()=>{document.body.style.overflow=``}},[x]);let T=(0,e.useCallback)(()=>{let e=!v;l===void 0&&_(e),u?.(e)},[v,l,u]),E=(0,e.useCallback)(()=>{f===void 0&&b(!1),p?.(!1)},[f,p]),D=(0,e.useCallback)(e=>{e.key===`Escape`&&E()},[E]),ee=[z.sidebar,v?z.collapsed:``,x?z.mobileOpen:``,m??``].filter(Boolean).join(` `);return(0,t.jsxs)(`aside`,{ref:h,className:ee,children:[S&&x&&(0,n.createPortal)((0,t.jsx)(`div`,{className:z.backdrop,onClick:E,"aria-hidden":`true`}),document.body),(0,t.jsxs)(`div`,{ref:C,className:z.panel,onKeyDown:D,tabIndex:-1,children:[(i||a)&&(0,t.jsxs)(`div`,{className:z.panelTop,children:[(0,t.jsxs)(`div`,{className:z.logoRow,children:[i&&(0,t.jsx)(`div`,{className:z.logoSlot,children:i}),a&&(0,t.jsx)(`div`,{className:z.headerContent,children:a})]}),(0,t.jsx)(`button`,{type:`button`,className:z.mobileCloseButton,onClick:E,"aria-label":`Close sidebar`,children:(0,t.jsx)(Qt,{})})]}),!i&&!a&&(0,t.jsx)(`div`,{className:z.mobileCloseRow,children:(0,t.jsx)(`button`,{type:`button`,className:z.mobileCloseButton,onClick:E,"aria-label":`Close sidebar`,children:(0,t.jsx)(Qt,{})})}),(0,t.jsx)(`nav`,{"aria-label":s,className:z.nav,children:(0,t.jsx)(`ul`,{className:z.navList,tabIndex:0,children:r.map(e=>(0,t.jsx)(`li`,{className:z.navItem,children:(0,t.jsxs)(`a`,{href:e.href,onClick:e.onClick,className:[z.navLink,e.isActive?z.navLinkActive:``].filter(Boolean).join(` `),"aria-current":e.isActive?`page`:void 0,"aria-label":e.icon&&v?e.label:void 0,title:e.icon&&v?e.label:void 0,children:[e.icon&&(0,t.jsx)(`span`,{className:z.navLinkIcon,"aria-hidden":`true`,children:e.icon}),(0,t.jsx)(`span`,{className:z.navLinkLabel,children:e.label})]})},e.key))})}),o&&(0,t.jsx)(`div`,{className:z.footer,children:o}),(0,t.jsx)(`button`,{type:`button`,className:z.collapseButton,onClick:T,"aria-label":v?`Expand sidebar`:`Collapse sidebar`,"aria-expanded":!v,children:v?(0,t.jsx)(Zt,{}):(0,t.jsx)(Xt,{})})]})]})});$t.displayName=`Sidebar`;var B={srOnly:`_srOnly_1ug4t_1`,wrapper:`_wrapper_1ug4t_13`,table:`_table_1ug4t_21`,caption:`_caption_1ug4t_28`,thead:`_thead_1ug4t_43`,th:`_th_1ug4t_43`,thSortable:`_thSortable_1ug4t_55`,thActive:`_thActive_1ug4t_59`,sortButton:`_sortButton_1ug4t_63`,sortIcon:`_sortIcon_1ug4t_89`,tbody:`_tbody_1ug4t_98`,tr:`_tr_1ug4t_102`,td:`_td_1ug4t_115`,emptyState:`_emptyState_1ug4t_123`,alignLeft:`_alignLeft_1ug4t_132`,alignCenter:`_alignCenter_1ug4t_136`,alignRight:`_alignRight_1ug4t_140`},en={left:B.alignLeft,center:B.alignCenter,right:B.alignRight},tn=()=>(0,t.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`currentColor`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M6 2L10 8H2L6 2Z`})}),nn=()=>(0,t.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`currentColor`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M6 10L2 4H10L6 10Z`})}),rn=()=>(0,t.jsxs)(`svg`,{width:`12`,height:`14`,viewBox:`0 0 12 14`,fill:`currentColor`,"aria-hidden":`true`,children:[(0,t.jsx)(`path`,{d:`M6 1L10 5H2L6 1Z`,opacity:`0.4`}),(0,t.jsx)(`path`,{d:`M6 13L2 9H10L6 13Z`,opacity:`0.4`})]}),an=(0,e.forwardRef)(function({caption:n,columns:r,data:i,defaultSortKey:a,defaultSortDirection:o=`asc`,sortKey:s,sortDirection:c,onSort:l,rowKey:u,emptyMessage:d=`No data available.`,className:f},p){let m=(0,e.useId)(),[h,g]=(0,e.useState)(``),[_,v]=(0,e.useState)(a),[y,b]=(0,e.useState)(o),x=s??_,S=c??y,C=e=>{let t=x===e&&S===`asc`?`desc`:`asc`;s===void 0&&(v(e),b(t)),l?.(e,t);let n=r.find(t=>t.key===e);n&&g(`Table sorted by ${n.header}, ${t===`asc`?`ascending`:`descending`}.`)},w=s!==void 0||!x?i:[...i].sort((e,t)=>{let n=e[x],r=t[x],i=typeof n==`number`&&typeof r==`number`?n-r:String(n??``).localeCompare(String(r??``));return S===`asc`?i:-i}),T=e=>{if(e.sortable)return x===e.key?S===`asc`?`ascending`:`descending`:`none`};return(0,t.jsxs)(`div`,{ref:p,className:[B.wrapper,f??``].filter(Boolean).join(` `),role:`region`,"aria-label":n,children:[(0,t.jsx)(`div`,{id:m,role:`status`,"aria-live":`polite`,"aria-atomic":`true`,className:B.srOnly,children:h}),(0,t.jsxs)(`table`,{className:B.table,children:[(0,t.jsx)(`caption`,{className:B.caption,children:n}),(0,t.jsx)(`thead`,{className:B.thead,children:(0,t.jsx)(`tr`,{children:r.map(e=>(0,t.jsx)(`th`,{scope:`col`,className:[B.th,e.sortable?B.thSortable:``,x===e.key?B.thActive:``,en[e.align??`left`]].filter(Boolean).join(` `),"aria-sort":T(e),children:e.sortable?(0,t.jsxs)(`button`,{type:`button`,className:B.sortButton,onClick:()=>C(e.key),children:[e.header,(0,t.jsx)(`span`,{className:B.sortIcon,children:x===e.key?S===`asc`?(0,t.jsx)(tn,{}):(0,t.jsx)(nn,{}):(0,t.jsx)(rn,{})})]}):e.header},e.key))})}),(0,t.jsx)(`tbody`,{className:B.tbody,children:w.length===0?(0,t.jsx)(`tr`,{children:(0,t.jsx)(`td`,{className:[B.td,B.emptyState].join(` `),colSpan:r.length,children:d})}):w.map((e,n)=>(0,t.jsx)(`tr`,{className:B.tr,children:r.map(n=>(0,t.jsx)(`td`,{className:[B.td,en[n.align??`left`]].filter(Boolean).join(` `),children:n.render?n.render(e[n.key],e):String(e[n.key]??``)},n.key))},u?String(e[u]):n))})]})]})});an.displayName=`DataTable`;var V={wrapper:`_wrapper_1ke2z_1`,svg:`_svg_1ke2z_6`,bar:`_bar_1ke2z_12`,axisLabel:`_axisLabel_1ke2z_20`,legend:`_legend_1ke2z_26`,legendItem:`_legendItem_1ke2z_37`,legendSwatch:`_legendSwatch_1ke2z_46`,empty:`_empty_1ke2z_53`},on=480,sn=280,H={top:20,right:20,bottom:56,left:48},cn=on-H.left-H.right,ln=sn-H.top-H.bottom,un=4,dn=2;function fn(e){return e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}k`:String(Math.round(e))}function pn(e,t){return e.color??`var(--ds-chart-${t%6+1})`}var mn=(0,e.forwardRef)(({title:n,series:r,className:i},a)=>{let o=(0,e.useId)();if(r.length===0||r.every(e=>e.data.length===0))return(0,t.jsxs)(`div`,{className:[V.empty,i??``].filter(Boolean).join(` `),children:[n,` — no data`]});let s=r[0].data.map(e=>e.label),c=s.length,l=r.length,u=Math.max(...r.flatMap(e=>e.data.map(e=>e.value)),0),d=cn/c,f=Math.min(Math.max((d*.8-dn*(l-1))/l,4),l===1?60:40);return(0,t.jsxs)(`div`,{ref:a,className:[V.wrapper,i??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`svg`,{role:`img`,"aria-labelledby":o,viewBox:`0 0 ${on} ${sn}`,className:V.svg,children:[(0,t.jsx)(`title`,{id:o,children:n}),Array.from({length:5},(e,n)=>{let r=n/un,i=H.top+ln-r*ln,a=u*r;return(0,t.jsxs)(`g`,{children:[(0,t.jsx)(`line`,{x1:H.left,y1:i,x2:on-H.right,y2:i,stroke:`var(--ds-chart-grid)`,strokeWidth:`1`}),(0,t.jsx)(`text`,{x:H.left-6,y:i,textAnchor:`end`,dominantBaseline:`middle`,className:V.axisLabel,children:fn(a)})]},n)}),s.map((e,n)=>{let i=f*l+dn*(l-1),a=H.left+n*d,o=a+(d-i)/2,s=a+d/2;return(0,t.jsxs)(`g`,{children:[r.map((r,i)=>{let a=r.data[n];if(!a)return null;let s=u>0?a.value/u*ln:0,c=o+i*(f+dn),l=H.top+ln-s,d=pn(r,i);return(0,t.jsx)(`rect`,{x:c,y:l,width:f,height:s,fill:d,rx:`3`,className:V.bar,children:(0,t.jsx)(`title`,{children:`${r.label} — ${e}: ${fn(a.value)}`})},r.id)}),(0,t.jsx)(`text`,{x:s,y:sn-H.bottom+16,textAnchor:`middle`,className:V.axisLabel,children:e})]},e)}),(0,t.jsx)(`line`,{x1:H.left,y1:H.top+ln,x2:on-H.right,y2:H.top+ln,stroke:`var(--ds-chart-axis)`,strokeWidth:`1`})]}),l>1&&(0,t.jsx)(`ul`,{className:V.legend,"aria-label":`Chart legend`,children:r.map((e,n)=>(0,t.jsxs)(`li`,{className:V.legendItem,children:[(0,t.jsx)(`span`,{className:V.legendSwatch,style:{background:pn(e,n)},"aria-hidden":`true`}),(0,t.jsx)(`span`,{children:e.label})]},e.id))})]})});mn.displayName=`BarChart`;var U={root:`_root_18xxx_1`,svg:`_svg_18xxx_8`,centerLabel:`_centerLabel_18xxx_15`,centerSubLabel:`_centerSubLabel_18xxx_22`,legend:`_legend_18xxx_28`,legendItem:`_legendItem_18xxx_39`,legendSwatch:`_legendSwatch_18xxx_46`,legendLabel:`_legendLabel_18xxx_53`,legendValue:`_legendValue_18xxx_61`,empty:`_empty_18xxx_67`},hn=[`var(--ds-chart-1)`,`var(--ds-chart-2)`,`var(--ds-chart-3)`,`var(--ds-chart-4)`,`var(--ds-chart-5)`,`var(--ds-chart-6)`],gn=100,_n=100,vn=72,yn=28,bn=2*Math.PI*vn,xn=(0,e.forwardRef)(({title:n,segments:r,centerLabel:i,centerSubLabel:a,className:o},s)=>{let c=(0,e.useId)(),l=r.reduce((e,t)=>e+t.value,0);if(r.length===0||l===0)return(0,t.jsxs)(`div`,{className:[U.empty,o??``].filter(Boolean).join(` `),children:[n,` — no data`]});let u=0;return(0,t.jsxs)(`div`,{className:[U.root,o??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`svg`,{ref:s,role:`img`,"aria-labelledby":c,viewBox:`0 0 200 200`,className:U.svg,children:[(0,t.jsx)(`title`,{id:c,children:n}),(0,t.jsx)(`circle`,{cx:gn,cy:_n,r:vn,fill:`none`,stroke:`var(--ds-chart-grid)`,strokeWidth:yn}),r.map((e,n)=>{let r=e.value/l*bn,i=-u;return u+=r,(0,t.jsx)(`circle`,{cx:gn,cy:_n,r:vn,fill:`none`,stroke:e.color??hn[n%hn.length],strokeWidth:yn,strokeDasharray:`${r} ${bn-r}`,strokeDashoffset:i,transform:`rotate(-90 ${gn} ${_n})`,children:(0,t.jsx)(`title`,{children:`${e.label}: ${e.value} (${Math.round(e.value/l*100)}%)`})},e.label)}),i&&(0,t.jsx)(`text`,{x:gn,y:_n-(a?8:0),textAnchor:`middle`,dominantBaseline:`middle`,className:U.centerLabel,children:i}),a&&(0,t.jsx)(`text`,{x:gn,y:116,textAnchor:`middle`,dominantBaseline:`middle`,className:U.centerSubLabel,children:a})]}),(0,t.jsx)(`ul`,{className:U.legend,"aria-label":`${n} legend`,children:r.map((e,n)=>(0,t.jsxs)(`li`,{className:U.legendItem,children:[(0,t.jsx)(`span`,{className:U.legendSwatch,style:{background:e.color??hn[n%hn.length]},"aria-hidden":`true`}),(0,t.jsx)(`span`,{className:U.legendLabel,children:e.label}),(0,t.jsxs)(`span`,{className:U.legendValue,children:[Math.round(e.value/l*100),`%`]})]},e.label))})]})});xn.displayName=`DonutChart`;var W={wrapper:`_wrapper_h55fh_1`,svg:`_svg_h55fh_6`,axisLabel:`_axisLabel_h55fh_12`,legend:`_legend_h55fh_18`,legendItem:`_legendItem_h55fh_29`,legendSwatch:`_legendSwatch_h55fh_38`,empty:`_empty_h55fh_45`},Sn=480,Cn=280,G={top:20,right:20,bottom:56,left:48},wn=Sn-G.left-G.right,K=Cn-G.top-G.bottom,Tn=4;function En(e){return e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}k`:String(Math.round(e))}function Dn(e,t){return e.color??`var(--ds-chart-${t%6+1})`}var On=(0,e.forwardRef)(({title:n,series:r,showArea:i=!1,className:a},o)=>{let s=(0,e.useId)();if(r.length===0||r.every(e=>e.data.length===0))return(0,t.jsxs)(`div`,{className:[W.empty,a??``].filter(Boolean).join(` `),children:[n,` — no data`]});let c=r.flatMap(e=>e.data.map(e=>e.value)),l=Math.max(...c,0),u=r[0].data.map(e=>e.label),d=u.length,f=e=>d===1?G.left+wn/2:G.left+e/(d-1)*wn,p=e=>G.top+K-(l>0?e/l*K:0);return(0,t.jsxs)(`div`,{ref:o,className:[W.wrapper,a??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`svg`,{role:`img`,"aria-labelledby":s,viewBox:`0 0 ${Sn} ${Cn}`,className:W.svg,children:[(0,t.jsx)(`title`,{id:s,children:n}),Array.from({length:5},(e,n)=>{let r=n/Tn,i=G.top+K-r*K,a=l*r;return(0,t.jsxs)(`g`,{children:[(0,t.jsx)(`line`,{x1:G.left,y1:i,x2:Sn-G.right,y2:i,stroke:`var(--ds-chart-grid)`,strokeWidth:`1`}),(0,t.jsx)(`text`,{x:G.left-6,y:i,textAnchor:`end`,dominantBaseline:`middle`,className:W.axisLabel,children:En(a)})]},n)}),r.map((e,n)=>{let r=Dn(e,n),a=e.showArea??i,o=e.data.map((e,t)=>`${f(t)},${p(e.value)}`).join(` `),s=`${f(0)},${G.top+K} `+o+` ${f(e.data.length-1)},${G.top+K}`;return(0,t.jsxs)(`g`,{children:[a&&(0,t.jsx)(`polygon`,{points:s,fill:r,fillOpacity:`0.12`}),(0,t.jsx)(`polyline`,{points:o,fill:`none`,stroke:r,strokeWidth:`2`,strokeLinejoin:`round`,strokeLinecap:`round`}),e.data.map((n,i)=>(0,t.jsx)(`circle`,{cx:f(i),cy:p(n.value),r:`4`,fill:r,children:(0,t.jsx)(`title`,{children:`${e.label} — ${n.label}: ${n.value}`})},n.label))]},e.id)}),u.map((e,n)=>(0,t.jsx)(`text`,{x:f(n),y:Cn-G.bottom+16,textAnchor:`middle`,className:W.axisLabel,children:e},e)),(0,t.jsx)(`line`,{x1:G.left,y1:G.top+K,x2:Sn-G.right,y2:G.top+K,stroke:`var(--ds-chart-axis)`,strokeWidth:`1`})]}),r.length>1&&(0,t.jsx)(`ul`,{className:W.legend,"aria-label":`Chart legend`,children:r.map((e,n)=>(0,t.jsxs)(`li`,{className:W.legendItem,children:[(0,t.jsx)(`span`,{className:W.legendSwatch,style:{background:Dn(e,n)},"aria-hidden":`true`}),(0,t.jsx)(`span`,{children:e.label})]},e.id))})]})});On.displayName=`LineChart`;var q={wrapper:`_wrapper_kmbah_1`,svg:`_svg_kmbah_6`,point:`_point_kmbah_12`,axisLabel:`_axisLabel_kmbah_21`,axisTitle:`_axisTitle_kmbah_27`,legend:`_legend_kmbah_34`,legendItem:`_legendItem_kmbah_45`,legendSwatch:`_legendSwatch_kmbah_54`,empty:`_empty_kmbah_61`},kn=480,An=320,J={top:20,right:20,bottom:64,left:56},jn=kn-J.left-J.right,Y=An-J.top-J.bottom,Mn=4,Nn=.1;function Pn(e){return Math.abs(e)>=1e6?`${(e/1e6).toFixed(1)}M`:Math.abs(e)>=1e3?`${(e/1e3).toFixed(1)}k`:String(Number.isInteger(e)?e:e.toFixed(1))}function Fn(e,t){return e.color??`var(--ds-chart-${t%6+1})`}var In=(0,e.forwardRef)(({title:n,series:r,xLabel:i,yLabel:a,className:o},s)=>{let c=(0,e.useId)();if(r.length===0||r.every(e=>e.data.length===0))return(0,t.jsxs)(`div`,{className:[q.empty,o??``].filter(Boolean).join(` `),children:[n,` — no data`]});let l=r.flatMap(e=>e.data.map(e=>e.x)),u=r.flatMap(e=>e.data.map(e=>e.y)),d=Math.min(...l),f=Math.max(...l),p=Math.min(...u),m=Math.max(...u),h=f-d||1,g=m-p||1,_=d-h*Nn,v=f+h*Nn,y=p-g*Nn,b=m+g*Nn,x=e=>J.left+(e-_)/(v-_)*jn,S=e=>J.top+Y-(e-y)/(b-y)*Y;return(0,t.jsxs)(`div`,{ref:s,className:[q.wrapper,o??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`svg`,{role:`img`,"aria-labelledby":c,viewBox:`0 0 ${kn} ${An}`,className:q.svg,children:[(0,t.jsx)(`title`,{id:c,children:n}),Array.from({length:5},(e,n)=>{let r=n/Mn,i=J.top+Y-r*Y,a=y+(b-y)*r;return(0,t.jsxs)(`g`,{children:[(0,t.jsx)(`line`,{x1:J.left,y1:i,x2:kn-J.right,y2:i,stroke:`var(--ds-chart-grid)`,strokeWidth:`1`}),(0,t.jsx)(`text`,{x:J.left-6,y:i,textAnchor:`end`,dominantBaseline:`middle`,className:q.axisLabel,children:Pn(a)})]},`gy-${n}`)}),Array.from({length:5},(e,n)=>{let r=n/Mn,i=J.left+r*jn,a=_+(v-_)*r;return(0,t.jsxs)(`g`,{children:[(0,t.jsx)(`line`,{x1:i,y1:J.top,x2:i,y2:J.top+Y,stroke:`var(--ds-chart-grid)`,strokeWidth:`1`}),(0,t.jsx)(`text`,{x:i,y:J.top+Y+16,textAnchor:`middle`,className:q.axisLabel,children:Pn(a)})]},`gx-${n}`)}),r.map((e,n)=>{let r=Fn(e,n);return(0,t.jsx)(`g`,{children:e.data.map((n,i)=>(0,t.jsx)(`circle`,{cx:x(n.x),cy:S(n.y),r:`5`,fill:r,fillOpacity:`0.7`,stroke:r,strokeWidth:`1`,className:q.point,children:(0,t.jsx)(`title`,{children:n.label?`${e.label} — ${n.label}: (${n.x}, ${n.y})`:`${e.label}: (${n.x}, ${n.y})`})},i))},e.id)}),(0,t.jsx)(`line`,{x1:J.left,y1:J.top+Y,x2:kn-J.right,y2:J.top+Y,stroke:`var(--ds-chart-axis)`,strokeWidth:`1`}),(0,t.jsx)(`line`,{x1:J.left,y1:J.top,x2:J.left,y2:J.top+Y,stroke:`var(--ds-chart-axis)`,strokeWidth:`1`}),i&&(0,t.jsx)(`text`,{x:J.left+jn/2,y:312,textAnchor:`middle`,className:q.axisTitle,children:i}),a&&(0,t.jsx)(`text`,{x:12,y:J.top+Y/2,textAnchor:`middle`,transform:`rotate(-90 12 ${J.top+Y/2})`,className:q.axisTitle,children:a})]}),r.length>1&&(0,t.jsx)(`ul`,{className:q.legend,"aria-label":`Chart legend`,children:r.map((e,n)=>(0,t.jsxs)(`li`,{className:q.legendItem,children:[(0,t.jsx)(`span`,{className:q.legendSwatch,style:{background:Fn(e,n)},"aria-hidden":`true`}),(0,t.jsx)(`span`,{children:e.label})]},e.id))})]})});In.displayName=`ScatterPlot`;var X={wrapper:`_wrapper_1k1rg_1`,svg:`_svg_1k1rg_6`,ring:`_ring_1k1rg_12`,axisLine:`_axisLine_1k1rg_18`,axisLabel:`_axisLabel_1k1rg_23`,seriesPolygon:`_seriesPolygon_1k1rg_29`,legend:`_legend_1k1rg_37`,legendItem:`_legendItem_1k1rg_48`,legendSwatch:`_legendSwatch_1k1rg_57`,empty:`_empty_1k1rg_64`},Ln=320,Rn=320,zn=Ln/2,Bn=Rn/2,Vn=110,Hn=4;function Un(e,t){return e.color??`var(--ds-chart-${t%6+1})`}function Wn(e,t){return-Math.PI/2+2*Math.PI*e/t}function Gn(e,t){return[zn+e*Math.cos(t),Bn+e*Math.sin(t)]}function Kn(e,t,n){return e.map((e,r)=>{let[i,a]=Gn(t>0?e/t*Vn:0,Wn(r,n));return`${i},${a}`}).join(` `)}var qn=(0,e.forwardRef)(({title:n,axes:r,series:i,maxValue:a,className:o},s)=>{let c=(0,e.useId)();if(r.length===0||i.length===0)return(0,t.jsxs)(`div`,{className:[X.empty,o??``].filter(Boolean).join(` `),children:[n,` — no data`]});let l=r.length,u=Math.max(...i.flatMap(e=>e.values),0),d=a??u;return(0,t.jsxs)(`div`,{ref:s,className:[X.wrapper,o??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`svg`,{role:`img`,"aria-labelledby":c,viewBox:`0 0 ${Ln} ${Rn}`,className:X.svg,children:[(0,t.jsx)(`title`,{id:c,children:n}),Array.from({length:Hn},(e,n)=>{let r=(n+1)/Hn*Vn,i=Array.from({length:l},(e,t)=>{let[n,i]=Gn(r,Wn(t,l));return`${n},${i}`}).join(` `);return(0,t.jsx)(`polygon`,{points:i,className:X.ring},n)}),r.map((e,n)=>{let[r,i]=Gn(Vn,Wn(n,l));return(0,t.jsx)(`line`,{x1:zn,y1:Bn,x2:r,y2:i,className:X.axisLine},e)}),i.map((e,n)=>{let r=Un(e,n),i=Kn(e.values,d,l);return(0,t.jsx)(`polygon`,{points:i,fill:r,fillOpacity:`0.15`,stroke:r,strokeWidth:`2`,strokeLinejoin:`round`,className:X.seriesPolygon},`${e.id}-fill`)}),r.map((e,n)=>{let r=Wn(n,l),[i,a]=Gn(130,r),o=`middle`;return Math.cos(r)>.1?o=`start`:Math.cos(r)<-.1&&(o=`end`),(0,t.jsx)(`text`,{x:i,y:a,textAnchor:o,dominantBaseline:`middle`,className:X.axisLabel,children:e},e)})]}),(0,t.jsx)(`ul`,{className:X.legend,"aria-label":`Chart legend`,children:i.map((e,n)=>(0,t.jsxs)(`li`,{className:X.legendItem,children:[(0,t.jsx)(`span`,{className:X.legendSwatch,style:{background:Un(e,n)},"aria-hidden":`true`}),(0,t.jsx)(`span`,{children:e.label})]},e.id))})]})});qn.displayName=`RadarChart`;var Jn={section:`_section_c3tl4_1`,surface:`_surface_c3tl4_9`,flat:`_flat_c3tl4_15`,paddingNone:`_paddingNone_c3tl4_21`,paddingSm:`_paddingSm_c3tl4_22`,paddingMd:`_paddingMd_c3tl4_23`,paddingLg:`_paddingLg_c3tl4_24`},Yn={0:`0`,1:`var(--ds-space-1)`,2:`var(--ds-space-2)`,3:`var(--ds-space-3)`,4:`var(--ds-space-4)`,5:`var(--ds-space-5)`,6:`var(--ds-space-6)`,8:`var(--ds-space-8)`,10:`var(--ds-space-10)`,12:`var(--ds-space-12)`,16:`var(--ds-space-16)`},Xn={none:Jn.paddingNone,sm:Jn.paddingSm,md:Jn.paddingMd,lg:Jn.paddingLg},Zn=(0,e.forwardRef)(({variant:e=`surface`,padding:n=`md`,gap:r=4,className:i,style:a,...o},s)=>{let c=[Jn.section,Jn[e],Xn[n],i??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:s,className:c,style:{gap:Yn[r],...a},...o})});Zn.displayName=`Section`;var Z={pageLayout:`_pageLayout_1d3bu_1`,padding:`_padding_1d3bu_8`,sm:`_sm_1d3bu_15`,md:`_md_1d3bu_16`,lg:`_lg_1d3bu_17`,xl:`_xl_1d3bu_18`,full:`_full_1d3bu_19`},Qn={0:`0`,1:`var(--ds-space-1)`,2:`var(--ds-space-2)`,3:`var(--ds-space-3)`,4:`var(--ds-space-4)`,5:`var(--ds-space-5)`,6:`var(--ds-space-6)`,8:`var(--ds-space-8)`,10:`var(--ds-space-10)`,12:`var(--ds-space-12)`,16:`var(--ds-space-16)`},$n={sm:Z.sm,md:Z.md,lg:Z.lg,xl:Z.xl,full:Z.full},er=(0,e.forwardRef)(({maxWidth:e=`xl`,padding:n=!0,gap:r=6,className:i,style:a,...o},s)=>{let c=[Z.pageLayout,$n[e],n?Z.padding:``,i??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:s,className:c,style:{gap:Qn[r],...a},...o})});er.displayName=`PageLayout`;var Q={shell:`_shell_5ehfr_1`,sidebarOnly:`_sidebarOnly_5ehfr_9`,mainArea:`_mainArea_5ehfr_13`,navbarOnly:`_navbarOnly_5ehfr_19`,navbarSlot:`_navbarSlot_5ehfr_23`,both:`_both_5ehfr_33`,sidebarSlot:`_sidebarSlot_5ehfr_38`},tr={"sidebar-only":Q.sidebarOnly,"navbar-only":Q.navbarOnly,both:Q.both},nr=(0,e.forwardRef)(({variant:e,sidebar:n,navbar:r,children:i,className:a,...o},s)=>{let c=e??(n&&r?`both`:n?`sidebar-only`:`navbar-only`),l=[Q.shell,tr[c],a??``].filter(Boolean).join(` `);return(0,t.jsxs)(`div`,{ref:s,className:l,...o,children:[n&&(0,t.jsx)(`div`,{className:Q.sidebarSlot,children:n}),r&&(0,t.jsx)(`div`,{className:Q.navbarSlot,children:r}),(0,t.jsx)(`main`,{className:Q.mainArea,children:i})]})});nr.displayName=`AppShell`;var $={layout:`_layout_14fpw_1`,brandPanel:`_brandPanel_14fpw_9`,brandContent:`_brandContent_14fpw_15`,brandLogo:`_brandLogo_14fpw_23`,brandTagline:`_brandTagline_14fpw_27`,formPanel:`_formPanel_14fpw_38`,formContent:`_formContent_14fpw_46`,mobileLogo:`_mobileLogo_14fpw_53`},rr=()=>(0,t.jsxs)(`svg`,{width:`36`,height:`36`,viewBox:`0 0 36 36`,fill:`none`,"aria-hidden":`true`,children:[(0,t.jsx)(`rect`,{width:`36`,height:`36`,rx:`8`,fill:`var(--ds-color-action-primary)`}),(0,t.jsx)(`path`,{d:`M10 12h16M10 18h11M10 24h8`,stroke:`white`,strokeWidth:`2.5`,strokeLinecap:`round`})]});function ir({children:e,branding:n,logo:r,brandingLabel:i=`Product branding`}){let a=r??(0,t.jsx)(rr,{});return(0,t.jsxs)(`div`,{className:$.layout,children:[(0,t.jsx)(`aside`,{className:$.brandPanel,"aria-label":i,"aria-hidden":`true`,children:(0,t.jsx)(`div`,{className:$.brandContent,children:n??(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(`div`,{className:$.brandLogo,children:a}),(0,t.jsxs)(`p`,{className:$.brandTagline,children:[`Build better products,`,(0,t.jsx)(`br`,{}),`together.`]})]})})}),(0,t.jsx)(`main`,{className:$.formPanel,children:(0,t.jsxs)(`div`,{className:$.formContent,children:[(0,t.jsx)(`div`,{className:$.mobileLogo,"aria-hidden":`true`,children:a}),e]})})]})}ir.displayName=`AuthLayout`,exports.Alert=oe,exports.AppShell=nr,exports.AuthLayout=ir,exports.Avatar=Se,exports.Badge=ce,exports.Banner=Bt,exports.BarChart=mn,exports.Breadcrumb=Gt,exports.Button=s,exports.Card=It,exports.Carousel=Ut,exports.Checkbox=d,exports.CheckboxField=Xe,exports.Container=kt,exports.DataTable=an,exports.DateField=ht,exports.DateInput=ye,exports.Divider=ge,exports.DonutChart=xn,exports.EmailField=st,exports.EmailInput=w,exports.ErrorMessage=M,exports.Grid=Dt,exports.Heading=te,exports.Hint=j,exports.Label=A,exports.LineChart=On,exports.Modal=Le,exports.ModalBody=Pe,exports.ModalFooter=Fe,exports.Navbar=Jt,exports.NumberField=pt,exports.NumberInput=ve,exports.PageLayout=er,exports.PasswordField=at,exports.PasswordInput=C,exports.PhoneField=lt,exports.PhoneInput=T,exports.ProgressBar=me,exports.RadarChart=qn,exports.RadioButton=p,exports.RadioGroup=$e,exports.ScatterPlot=In,exports.SearchField=dt,exports.SearchInput=E,exports.Section=Zn,exports.Select=h,exports.SelectField=Qe,exports.Sidebar=$t,exports.Skeleton=de,exports.Spinner=i,exports.Stack=wt,exports.Tab=Oe,exports.TabList=De,exports.TabPanel=ke,exports.Tabs=Ee,exports.Text=re,exports.TextArea=_,exports.TextAreaField=tt,exports.TextField=Je,exports.TextInput=l,exports.ThemeProvider=yt,exports.ToastProvider=He,exports.Toggle=y,exports.ToggleField=rt,exports.Tooltip=Me,exports.useTheme=bt,exports.useToast=Ue;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("react"),t=require("react/jsx-runtime"),n=require("react-dom");var r={srOnly:`_srOnly_ggxjh_2`,spinner:`_spinner_ggxjh_16`,"ds-spin":`_ds-spin_ggxjh_1`,sm:`_sm_ggxjh_30`,md:`_md_ggxjh_36`,lg:`_lg_ggxjh_42`},i=(0,e.forwardRef)(({size:e=`md`,label:n=`Loading...`,className:i,...a},o)=>{let s=[r.spinner,r[e],i??``].filter(Boolean).join(` `);return(0,t.jsx)(`span`,{ref:o,role:`status`,className:s,...a,children:(0,t.jsx)(`span`,{className:r.srOnly,children:n})})});i.displayName=`Spinner`;var a={button:`_button_rrcdl_1`,sm:`_sm_rrcdl_32`,md:`_md_rrcdl_38`,lg:`_lg_rrcdl_44`,primary:`_primary_rrcdl_52`,secondary:`_secondary_rrcdl_68`,ghost:`_ghost_rrcdl_83`,accent:`_accent_rrcdl_97`,destructive:`_destructive_rrcdl_113`,fullWidth:`_fullWidth_rrcdl_138`,loading:`_loading_rrcdl_144`},o={sm:`sm`,md:`sm`,lg:`md`},s=(0,e.forwardRef)(({variant:e=`primary`,size:n=`md`,fullWidth:r=!1,isLoading:s=!1,loadingText:c,disabled:l,children:u,className:d,...f},p)=>{let m=l||s,h=[a.button,a[e],a[n],r?a.fullWidth:``,s?a.loading:``,d??``].filter(Boolean).join(` `);return(0,t.jsxs)(`button`,{ref:p,disabled:m,"aria-busy":s,className:h,...f,children:[s&&(0,t.jsx)(i,{size:o[n],label:c??`Loading...`}),s&&c?c:u]})});s.displayName=`Button`;var c={input:`_input_1i1n1_1`,error:`_error_1i1n1_40`,sm:`_sm_1i1n1_76`,md:`_md_1i1n1_82`,lg:`_lg_1i1n1_88`},l=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[c.input,c[n],e?c.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`text`,"aria-invalid":e||void 0,className:o,...i})});l.displayName=`TextInput`;var u={checkbox:`_checkbox_6awz6_1`,error:`_error_6awz6_99`,sm:`_sm_6awz6_122`,lg:`_lg_6awz6_132`},d=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[u.checkbox,n===`md`?``:u[n],e?u.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`checkbox`,"aria-invalid":e||void 0,className:o,...i})});d.displayName=`Checkbox`;var f={radio:`_radio_v17m3_1`,error:`_error_v17m3_70`,sm:`_sm_v17m3_93`,lg:`_lg_v17m3_103`},p=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[f.radio,n===`md`?``:f[n],e?f.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`radio`,"aria-invalid":e||void 0,className:o,...i})});p.displayName=`RadioButton`;var m={wrapper:`_wrapper_vgmp4_1`,select:`_select_vgmp4_7`,error:`_error_vgmp4_63`,sm:`_sm_vgmp4_88`,md:`_md_vgmp4_96`,lg:`_lg_vgmp4_104`},h=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,children:i,...a},o)=>{let s=[m.wrapper,m[n],e?m.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{className:s,children:(0,t.jsx)(`select`,{ref:o,"aria-invalid":e||void 0,className:m.select,...a,children:i})})});h.displayName=`Select`;var g={textarea:`_textarea_1l4wd_1`,error:`_error_1l4wd_42`,autoResize:`_autoResize_1l4wd_67`,sm:`_sm_1l4wd_74`,md:`_md_1l4wd_79`,lg:`_lg_1l4wd_84`},_=(0,e.forwardRef)(({hasError:n=!1,size:r=`md`,autoResize:i=!1,className:a,onChange:o,...s},c)=>{let l=(0,e.useRef)(null),u=(0,e.useCallback)(e=>{l.current=e,typeof c==`function`?c(e):c&&(c.current=e)},[c]);(0,e.useEffect)(()=>{let e=l.current;e&&(i?(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`):e.style.height=``)},[i]);let d=(0,e.useCallback)(e=>{i&&(e.currentTarget.style.height=`auto`,e.currentTarget.style.height=`${e.currentTarget.scrollHeight}px`),o?.(e)},[i,o]),f=[g.textarea,g[r],n?g.error:``,i?g.autoResize:``,a??``].filter(Boolean).join(` `);return(0,t.jsx)(`textarea`,{ref:u,"aria-invalid":n||void 0,className:f,onChange:d,...s})});_.displayName=`TextArea`;var v={root:`_root_16qku_3`,input:`_input_16qku_18`,track:`_track_16qku_36`,thumb:`_thumb_16qku_56`,md:`_md_16qku_127`,sm:`_sm_16qku_131`,lg:`_lg_16qku_138`},y=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>(0,t.jsxs)(`span`,{className:[v.root,v[n],r??``].filter(Boolean).join(` `),children:[(0,t.jsx)(`input`,{ref:a,type:`checkbox`,role:`switch`,"aria-invalid":e||void 0,className:v.input,...i}),(0,t.jsx)(`span`,{className:v.track,"aria-hidden":`true`,children:(0,t.jsx)(`span`,{className:v.thumb})})]}));y.displayName=`Toggle`;var b={root:`_root_1erf6_3`,input:`_input_1erf6_15`,error:`_error_1erf6_55`,toggle:`_toggle_1erf6_80`,sm:`_sm_1erf6_126`,md:`_md_1erf6_137`,lg:`_lg_1erf6_143`},x=()=>(0,t.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,t.jsx)(`path`,{d:`M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z`}),(0,t.jsx)(`circle`,{cx:`12`,cy:`12`,r:`3`})]}),S=()=>(0,t.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,t.jsx)(`path`,{d:`M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19`}),(0,t.jsx)(`line`,{x1:`1`,y1:`1`,x2:`23`,y2:`23`})]}),C=(0,e.forwardRef)(({hasError:n=!1,size:r=`md`,disabled:i=!1,showPasswordLabel:a=`Show password`,hidePasswordLabel:o=`Hide password`,className:s,...c},l)=>{let[u,d]=(0,e.useState)(!1),f=(0,e.useRef)(null),p=(0,e.useCallback)(e=>{f.current=e,typeof l==`function`?l(e):l&&(l.current=e)},[l]),m=()=>{d(e=>!e),f.current?.focus()},h=[b.root,b[r],s??``].filter(Boolean).join(` `),g=[b.input,n?b.error:``].filter(Boolean).join(` `);return(0,t.jsxs)(`div`,{className:h,children:[(0,t.jsx)(`input`,{ref:p,type:u?`text`:`password`,"aria-invalid":n||void 0,disabled:i,className:g,...c}),(0,t.jsx)(`button`,{type:`button`,className:b.toggle,"aria-label":u?o:a,"aria-pressed":u,onClick:m,disabled:i,tabIndex:i?-1:void 0,children:u?(0,t.jsx)(S,{}):(0,t.jsx)(x,{})})]})});C.displayName=`PasswordInput`;var w=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[c.input,c[n],e?c.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`email`,"aria-invalid":e||void 0,className:o,...i})});w.displayName=`EmailInput`;var T=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[c.input,c[n],e?c.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`tel`,"aria-invalid":e||void 0,className:o,...i})});T.displayName=`PhoneInput`;var E=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[c.input,c[n],e?c.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`search`,"aria-invalid":e||void 0,className:o,...i})});E.displayName=`SearchInput`;var D={heading:`_heading_1lqf4_1`,xl:`_xl_1lqf4_13`,lg:`_lg_1lqf4_16`,md:`_md_1lqf4_19`,sm:`_sm_1lqf4_22`,xs:`_xs_1lqf4_25`,muted:`_muted_1lqf4_29`,inherit:`_inherit_1lqf4_30`},ee={1:`xl`,2:`lg`,3:`md`,4:`sm`,5:`xs`,6:`xs`},te=(0,e.forwardRef)(({level:e,size:n,color:r=`default`,className:i,children:a,...o},s)=>{let c=n??ee[e],l={ref:s,className:[D.heading,D[c],r==="default"?``:D[r],i??``].filter(Boolean).join(` `),...o};switch(e){case 1:return(0,t.jsx)(`h1`,{...l,children:a});case 2:return(0,t.jsx)(`h2`,{...l,children:a});case 3:return(0,t.jsx)(`h3`,{...l,children:a});case 4:return(0,t.jsx)(`h4`,{...l,children:a});case 5:return(0,t.jsx)(`h5`,{...l,children:a});case 6:return(0,t.jsx)(`h6`,{...l,children:a})}});te.displayName=`Heading`;var ne={text:`_text_nmm1v_1`,lg:`_lg_nmm1v_11`,md:`_md_nmm1v_12`,sm:`_sm_nmm1v_13`,xs:`_xs_nmm1v_14`,regular:`_regular_nmm1v_18`,medium:`_medium_nmm1v_19`,semibold:`_semibold_nmm1v_20`,bold:`_bold_nmm1v_21`,muted:`_muted_nmm1v_25`,disabled:`_disabled_nmm1v_26`,error:`_error_nmm1v_27`,success:`_success_nmm1v_28`,warning:`_warning_nmm1v_29`,inherit:`_inherit_nmm1v_30`},re=(0,e.forwardRef)(({as:e=`p`,size:n=`md`,weight:r=`regular`,color:i=`default`,className:a,...o},s)=>{let c=[ne.text,ne[n],ne[r],i==="default"?``:ne[i],a??``].filter(Boolean).join(` `);return(0,t.jsx)(e,{ref:s,className:c,...o})});re.displayName=`Text`;var O={root:`_root_vxg1r_1`,error:`_error_vxg1r_12`,warning:`_warning_vxg1r_18`,success:`_success_vxg1r_24`,info:`_info_vxg1r_30`,icon:`_icon_vxg1r_38`,content:`_content_vxg1r_48`,title:`_title_vxg1r_56`,description:`_description_vxg1r_65`,dismiss:`_dismiss_vxg1r_74`},ie={error:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,t.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,t.jsx)(`line`,{x1:`15`,y1:`9`,x2:`9`,y2:`15`}),(0,t.jsx)(`line`,{x1:`9`,y1:`9`,x2:`15`,y2:`15`})]}),warning:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,t.jsx)(`path`,{d:`M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z`}),(0,t.jsx)(`line`,{x1:`12`,y1:`9`,x2:`12`,y2:`13`}),(0,t.jsx)(`line`,{x1:`12`,y1:`17`,x2:`12.01`,y2:`17`})]}),success:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,t.jsx)(`path`,{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`}),(0,t.jsx)(`polyline`,{points:`22 4 12 14.01 9 11.01`})]}),info:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,t.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,t.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`12`}),(0,t.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12.01`,y2:`16`})]})},ae={error:`alert`,warning:`alert`,success:`status`,info:`status`},oe=(0,e.forwardRef)(({variant:e,title:n,children:r,onDismiss:i,dismissLabel:a=`Close alert`,role:o,className:s,...c},l)=>{let u=o??ae[e],d=[O.root,O[e],s??``].filter(Boolean).join(` `);return(0,t.jsxs)(`div`,{ref:l,role:u,className:d,...c,children:[(0,t.jsx)(`span`,{className:O.icon,"aria-hidden":`true`,children:ie[e]}),(0,t.jsxs)(`div`,{className:O.content,children:[n&&(0,t.jsx)(`p`,{className:O.title,children:n}),(0,t.jsx)(`div`,{className:O.description,children:r})]}),i&&(0,t.jsx)(`button`,{type:`button`,className:O.dismiss,"aria-label":a,onClick:i,children:(0,t.jsxs)(`svg`,{"aria-hidden":`true`,xmlns:`http://www.w3.org/2000/svg`,width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,t.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,t.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]})})]})});oe.displayName=`Alert`;var se={badge:`_badge_1qsea_1`,sm:`_sm_1qsea_13`,md:`_md_1qsea_18`,lg:`_lg_1qsea_23`,neutral:`_neutral_1qsea_30`,brand:`_brand_1qsea_35`,accent:`_accent_1qsea_40`,error:`_error_1qsea_45`,warning:`_warning_1qsea_50`,success:`_success_1qsea_55`,info:`_info_1qsea_60`},ce=(0,e.forwardRef)(({variant:e=`neutral`,size:n=`md`,className:r,...i},a)=>{let o=[se.badge,se[e],se[n],r??``].filter(Boolean).join(` `);return(0,t.jsx)(`span`,{ref:a,className:o,...i})});ce.displayName=`Badge`;var le={skeleton:`_skeleton_3y1ju_1`,"ds-skeleton-shimmer":`_ds-skeleton-shimmer_3y1ju_1`,circle:`_circle_3y1ju_30`,text:`_text_3y1ju_35`,textGroup:`_textGroup_3y1ju_42`,"ds-skeleton-pulse":`_ds-skeleton-pulse_3y1ju_1`};function ue(e){return typeof e==`number`?`${e}px`:e}var de=(0,e.forwardRef)(({shape:e=`rect`,width:n,height:r,lines:i=1,className:a,style:o,...s},c)=>{if(e===`text`&&i>1)return(0,t.jsx)(`span`,{ref:c,"aria-hidden":`true`,className:[le.textGroup,a??``].filter(Boolean).join(` `),style:n?{width:ue(n),...o}:o,...s,children:Array.from({length:i},(e,n)=>(0,t.jsx)(`span`,{className:le.skeleton,style:{width:n===i-1?`70%`:`100%`}},n))});let l=[le.skeleton,e===`circle`?le.circle:``,e===`text`?le.text:``,a??``].filter(Boolean).join(` `);return(0,t.jsx)(`span`,{ref:c,"aria-hidden":`true`,className:l,style:{...n!==void 0&&{width:ue(n)},...r!==void 0&&{height:ue(r)},...o},...s})});de.displayName=`Skeleton`;var fe={track:`_track_15xhr_3`,sm:`_sm_15xhr_13`,md:`_md_15xhr_14`,lg:`_lg_15xhr_15`,fill:`_fill_15xhr_19`,default:`_default_15xhr_27`,accent:`_accent_15xhr_28`,success:`_success_15xhr_29`,error:`_error_15xhr_30`,warning:`_warning_15xhr_31`,indeterminate:`_indeterminate_15xhr_35`,"ds-progress-slide":`_ds-progress-slide_15xhr_1`,"ds-progress-pulse":`_ds-progress-pulse_15xhr_1`};function pe(e,t,n){return Math.min(Math.max(e,t),n)}var me=(0,e.forwardRef)(({label:e,value:n,variant:r=`default`,size:i=`md`,className:a,...o},s)=>{let c=n===void 0,l=c?void 0:pe(n,0,100),u=[fe.track,fe[i],fe[r],a??``].filter(Boolean).join(` `),d=[fe.fill,c?fe.indeterminate:``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:s,role:`progressbar`,"aria-label":e,"aria-valuenow":l,"aria-valuemin":c?void 0:0,"aria-valuemax":c?void 0:100,className:u,...o,children:(0,t.jsx)(`div`,{className:d,style:l===void 0?void 0:{width:`${l}%`}})})});me.displayName=`ProgressBar`;var he={divider:`_divider_1djxi_1`,horizontal:`_horizontal_1djxi_9`,vertical:`_vertical_1djxi_17`},ge=(0,e.forwardRef)(({orientation:e=`horizontal`,decorative:n=!0,label:r,className:i,...a},o)=>{let s=[he.divider,he[e],i??``].filter(Boolean).join(` `);return(0,t.jsx)(`hr`,{ref:o,"aria-hidden":n?!0:void 0,"aria-orientation":!n&&e===`vertical`?`vertical`:void 0,"aria-label":n?void 0:r,className:s,...a})});ge.displayName=`Divider`;var _e={numberInput:`_numberInput_1wkbh_2`},ve=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,min:r,max:i,step:a,className:o,...s},l)=>{let u=[c.input,c[n],e?c.error:``,_e.numberInput,o??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:l,type:`number`,min:r,max:i,step:a,"aria-invalid":e||void 0,className:u,...s})});ve.displayName=`NumberInput`;var ye=(0,e.forwardRef)(({hasError:e=!1,size:n=`md`,className:r,...i},a)=>{let o=[c.input,c[n],e?c.error:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`input`,{ref:a,type:`date`,"aria-invalid":e||void 0,className:o,...i})});ye.displayName=`DateInput`;var be={avatar:`_avatar_1hkk0_2`,xs:`_xs_1hkk0_7`,sm:`_sm_1hkk0_8`,md:`_md_1hkk0_9`,lg:`_lg_1hkk0_10`,xl:`_xl_1hkk0_11`,circle:`_circle_1hkk0_33`,square:`_square_1hkk0_34`,image:`_image_1hkk0_38`,initials:`_initials_1hkk0_47`};function xe(e){let t=e.trim().split(/\s+/).filter(Boolean);return t.length===0?`?`:t.length===1?t[0][0].toUpperCase():(t[0][0]+t[t.length-1][0]).toUpperCase()}var Se=(0,e.forwardRef)(({name:n,src:r,size:i=`md`,shape:a=`circle`,className:o,...s},c)=>{let[l,u]=(0,e.useState)(!1);(0,e.useEffect)(()=>{u(!1)},[r]);let d=!!r&&!l,f=[be.avatar,be[i],be[a],o??``].filter(Boolean).join(` `);return(0,t.jsx)(`span`,{ref:c,role:`img`,"aria-label":n,className:f,...s,children:d?(0,t.jsx)(`img`,{src:r,alt:``,"aria-hidden":`true`,className:be.image,onError:()=>u(!0)}):(0,t.jsx)(`span`,{"aria-hidden":`true`,className:be.initials,children:xe(n)})})});Se.displayName=`Avatar`;var Ce={tabs:`_tabs_g9je2_1`,tabList:`_tabList_g9je2_8`,tab:`_tab_g9je2_1`,tabPanel:`_tabPanel_g9je2_64`},we=(0,e.createContext)(null);function Te(){let t=(0,e.useContext)(we);if(!t)throw Error(`Tabs sub-components must be rendered inside <Tabs>.`);return t}var Ee=(0,e.forwardRef)(({children:n,value:r,defaultValue:i=``,onChange:a,className:o},s)=>{let[c,l]=(0,e.useState)(i),u=r??c,d=(0,e.useId)(),f=(0,e.useCallback)(e=>`${d}-tab-${e}`,[d]),p=(0,e.useCallback)(e=>`${d}-panel-${e}`,[d]),m=(0,e.useRef)([]),h=(0,e.useRef)(new Map),g=(0,e.useRef)(new Set),_=(0,e.useCallback)(e=>{r===void 0&&l(e),a?.(e)},[r,a]),v=(0,e.useCallback)(e=>(m.current=[...m.current,e],()=>{m.current=m.current.filter(t=>t!==e)}),[]),y=(0,e.useCallback)((e,t)=>{t?h.current.set(e,t):h.current.delete(e)},[]),b=(0,e.useCallback)((e,t)=>{t?g.current.add(e):g.current.delete(e)},[]);return(0,t.jsx)(we.Provider,{value:{activeTab:u,setActiveTab:_,getTabId:f,getPanelId:p,tabValuesRef:m,tabRefsRef:h,disabledTabsRef:g,registerTab:v,registerTabRef:y,setTabDisabled:b},children:(0,t.jsx)(`div`,{ref:s,className:[Ce.tabs,o??``].filter(Boolean).join(` `),children:n})})});Ee.displayName=`Tabs`;var De=(0,e.forwardRef)(({children:e,label:n,className:r},i)=>(0,t.jsx)(`div`,{ref:i,role:`tablist`,"aria-label":n,className:[Ce.tabList,r??``].filter(Boolean).join(` `),children:e}));De.displayName=`TabList`;var Oe=(0,e.forwardRef)(({value:n,children:r,disabled:i=!1,className:a},o)=>{let{activeTab:s,setActiveTab:c,getTabId:l,getPanelId:u,tabValuesRef:d,tabRefsRef:f,disabledTabsRef:p,registerTab:m,registerTabRef:h,setTabDisabled:g}=Te(),_=s===n;return(0,e.useEffect)(()=>m(n),[n,m]),(0,e.useEffect)(()=>(g(n,i),()=>g(n,!1)),[n,i,g]),(0,t.jsx)(`button`,{ref:e=>{h(n,e),typeof o==`function`?o(e):o&&(o.current=e)},role:`tab`,id:l(n),"aria-selected":_,"aria-controls":u(n),tabIndex:_?0:-1,disabled:i,onClick:()=>!i&&c(n),onKeyDown:e=>{let t=d.current.filter(e=>!p.current.has(e)),r=t.indexOf(n),a=e=>{f.current.get(e)?.focus()};switch(e.key){case`ArrowRight`:case`ArrowDown`:e.preventDefault(),r!==-1&&a(t[(r+1)%t.length]);break;case`ArrowLeft`:case`ArrowUp`:e.preventDefault(),r!==-1&&a(t[(r-1+t.length)%t.length]);break;case`Home`:e.preventDefault(),a(t[0]);break;case`End`:e.preventDefault(),a(t[t.length-1]);break;case`Enter`:case` `:e.preventDefault(),i||c(n)}},className:[Ce.tab,a??``].filter(Boolean).join(` `),children:r})});Oe.displayName=`Tab`;var ke=(0,e.forwardRef)(({value:e,children:n,className:r},i)=>{let{activeTab:a,getTabId:o,getPanelId:s}=Te(),c=a===e;return(0,t.jsx)(`div`,{ref:i,role:`tabpanel`,id:s(e),"aria-labelledby":o(e),tabIndex:0,hidden:!c,className:[Ce.tabPanel,r??``].filter(Boolean).join(` `),children:n})});ke.displayName=`TabPanel`;var Ae={tooltip:`_tooltip_1dtlh_1`,visible:`_visible_1dtlh_18`,top:`_top_1dtlh_30`,bottom:`_bottom_1dtlh_42`,left:`_left_1dtlh_54`,right:`_right_1dtlh_66`};function je(...e){return t=>{for(let n of e)typeof n==`function`?n(t):n&&`current`in n&&(n.current=t)}}function Me({content:r,children:i,placement:a=`top`,delayMs:o=200}){let s=(0,e.useId)(),c=(0,e.useRef)(null),l=(0,e.useRef)(void 0),[u,d]=(0,e.useState)(!1),[f,p]=(0,e.useState)({top:0,left:0}),m=(0,e.useCallback)(()=>{let e=c.current?.getBoundingClientRect();if(e)switch(a){case`top`:p({top:e.top,left:e.left+e.width/2});break;case`bottom`:p({top:e.bottom,left:e.left+e.width/2});break;case`left`:p({top:e.top+e.height/2,left:e.left});break;case`right`:p({top:e.top+e.height/2,left:e.right})}},[a]),h=(0,e.useCallback)(()=>{clearTimeout(l.current),l.current=setTimeout(()=>{m(),d(!0)},o)},[m,o]),g=(0,e.useCallback)(()=>{clearTimeout(l.current),d(!1)},[]);(0,e.useEffect)(()=>{if(!u)return;let e=()=>m();return window.addEventListener(`scroll`,e,{capture:!0,passive:!0}),window.addEventListener(`resize`,e,{passive:!0}),()=>{window.removeEventListener(`scroll`,e,{capture:!0}),window.removeEventListener(`resize`,e)}},[u,m]);let _=i,v=(0,e.cloneElement)(_,{ref:je(c,_.props.ref),"aria-describedby":s,onMouseEnter:e=>{h(),_.props.onMouseEnter?.(e)},onMouseLeave:e=>{g(),_.props.onMouseLeave?.(e)},onFocus:e=>{h(),_.props.onFocus?.(e)},onBlur:e=>{g(),_.props.onBlur?.(e)},onKeyDown:e=>{e.key===`Escape`&&g(),_.props.onKeyDown?.(e)}}),y=(0,t.jsx)(`div`,{id:s,role:`tooltip`,hidden:!u,style:{top:f.top,left:f.left},className:[Ae.tooltip,Ae[a],u?Ae.visible:``].filter(Boolean).join(` `),children:r});return(0,t.jsxs)(t.Fragment,{children:[v,(0,n.createPortal)(y,document.body)]})}Me.displayName=`Tooltip`;var k={dialog:`_dialog_5uqyu_1`,panel:`_panel_5uqyu_23`,sm:`_sm_5uqyu_36`,md:`_md_5uqyu_41`,lg:`_lg_5uqyu_46`,header:`_header_5uqyu_55`,title:`_title_5uqyu_64`,closeButton:`_closeButton_5uqyu_73`,body:`_body_5uqyu_99`,footer:`_footer_5uqyu_108`};function Ne({children:e,titleId:n,onClose:r,closeLabel:i}){return(0,t.jsxs)(`div`,{className:k.header,children:[(0,t.jsx)(`h2`,{id:n,className:k.title,children:e}),(0,t.jsx)(`button`,{type:`button`,"aria-label":i,className:k.closeButton,onClick:r,children:(0,t.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M12 4L4 12M4 4l8 8`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})})]})}function Pe({children:e,id:n}){return(0,t.jsx)(`div`,{className:k.body,id:n,children:e})}Pe.displayName=`ModalBody`;function Fe({children:e}){return(0,t.jsx)(`div`,{className:k.footer,children:e})}Fe.displayName=`ModalFooter`;var Ie=[`a[href]`,`button:not([disabled])`,`input:not([disabled])`,`select:not([disabled])`,`textarea:not([disabled])`,`[tabindex]:not([tabindex="-1"])`].join(`, `),Le=(0,e.forwardRef)(function({open:r,onClose:i,title:a,children:o,"aria-describedby":s,size:c=`md`,closeLabel:l=`Close`},u){let d=(0,e.useId)(),f=(0,e.useRef)(null),p=(0,e.useRef)(null),m=(0,e.useCallback)(e=>{f.current=e,typeof u==`function`?u(e):u&&(u.current=e)},[u]);(0,e.useEffect)(()=>{if(r){p.current=document.activeElement,document.body.style.overflow=`hidden`;let e=f.current;if(!e)return;(e.querySelectorAll(Ie)[0]??e).focus()}else document.body.style.overflow=``,p.current?.focus();return()=>{document.body.style.overflow=``}},[r]);let h=(0,e.useCallback)(e=>{if(e.key===`Escape`){e.preventDefault(),i();return}if(e.key!==`Tab`)return;let t=f.current;if(!t)return;let n=Array.from(t.querySelectorAll(Ie));if(n.length===0)return;let r=n[0],a=n[n.length-1];e.shiftKey?document.activeElement===r&&(e.preventDefault(),a.focus()):document.activeElement===a&&(e.preventDefault(),r.focus())},[i]),g=(0,e.useCallback)(e=>{e.target===f.current&&i()},[i]);if(!r)return null;let _=(0,t.jsx)(`dialog`,{ref:m,role:`dialog`,"aria-modal":`true`,"aria-labelledby":d,"aria-describedby":s,open:!0,className:[k.dialog,k[c]].join(` `),onKeyDown:h,onClick:g,children:(0,t.jsxs)(`div`,{className:k.panel,children:[(0,t.jsx)(Ne,{titleId:d,onClose:i,closeLabel:l,children:a}),o]})});return(0,n.createPortal)(_,document.body)});Le.displayName=`Modal`;var Re={region:`_region_j5e79_1`,toast:`_toast_j5e79_14`,info:`_info_j5e79_30`,icon:`_icon_j5e79_35`,success:`_success_j5e79_39`,error:`_error_j5e79_47`,warning:`_warning_j5e79_55`,message:`_message_j5e79_69`,closeButton:`_closeButton_j5e79_74`},ze=(0,e.createContext)(null),Be={info:(0,t.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:[(0,t.jsx)(`circle`,{cx:`8`,cy:`8`,r:`7`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,t.jsx)(`path`,{d:`M8 7v4M8 5v.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})]}),success:(0,t.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:[(0,t.jsx)(`circle`,{cx:`8`,cy:`8`,r:`7`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,t.jsx)(`path`,{d:`M5 8l2 2 4-4`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})]}),error:(0,t.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:[(0,t.jsx)(`circle`,{cx:`8`,cy:`8`,r:`7`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,t.jsx)(`path`,{d:`M10 6L6 10M6 6l4 4`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})]}),warning:(0,t.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:[(0,t.jsx)(`path`,{d:`M8 2L14.9 14H1.1L8 2z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinejoin:`round`}),(0,t.jsx)(`path`,{d:`M8 6.5v3M8 11v.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})]})};function Ve({item:e,onDismiss:n,onPause:r,onResume:i}){return(0,t.jsxs)(`div`,{className:[Re.toast,Re[e.variant]].join(` `),role:`status`,onMouseEnter:()=>r(e.id),onMouseLeave:()=>i(e.id),onFocus:()=>r(e.id),onBlur:()=>i(e.id),children:[(0,t.jsx)(`span`,{className:Re.icon,children:Be[e.variant]}),(0,t.jsx)(`span`,{className:Re.message,children:e.message}),(0,t.jsx)(`button`,{type:`button`,"aria-label":`Close notification`,className:Re.closeButton,onClick:()=>n(e.id),children:(0,t.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M9 3L3 9M3 3l6 6`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})})]})}function He({children:r,maxToasts:i=5}){let[a,o]=(0,e.useState)([]),s=(0,e.useRef)(new Map),c=(0,e.useRef)(new Map),l=(0,e.useRef)(new Map),u=(0,e.useRef)(0),d=(0,e.useCallback)(e=>{let t=s.current.get(e);t!==void 0&&(clearTimeout(t),s.current.delete(e)),c.current.delete(e),l.current.delete(e),o(t=>t.filter(t=>t.id!==e))},[]),f=(0,e.useCallback)((e,t)=>{let n=setTimeout(()=>d(e),t);s.current.set(e,n)},[d]),p=(0,e.useCallback)(e=>{let t=s.current.get(e);t!==void 0&&(clearTimeout(t),s.current.delete(e),c.current.set(e,Date.now()))},[]),m=(0,e.useCallback)(e=>{let t=c.current.get(e);if(t===void 0)return;let n=Date.now()-t,r=Math.max(0,(l.current.get(e)??0)-n);c.current.delete(e),l.current.set(e,r),r>0?f(e,r):d(e)},[d,f]),h=(0,e.useCallback)(e=>{let t=`toast-${++u.current}`,n=e.variant??`info`,r=e.duration??5e3,a={id:t,message:e.message,variant:n,duration:r};return o(e=>{let t=[...e,a];return t.length>i?t.slice(t.length-i):t}),r>0&&(l.current.set(t,r),f(t,r)),t},[i,f]);return(0,t.jsxs)(ze.Provider,{value:{show:h,dismiss:d},children:[r,(0,n.createPortal)((0,t.jsx)(`div`,{role:`region`,className:Re.region,"aria-label":`Notifications`,"aria-live":`polite`,"aria-atomic":`false`,"aria-relevant":`additions text`,children:a.map(e=>(0,t.jsx)(Ve,{item:e,onDismiss:d,onPause:p,onResume:m},e.id))}),document.body)]})}He.displayName=`ToastProvider`;function Ue(){let t=(0,e.useContext)(ze);if(!t)throw Error(`useToast must be used inside a <ToastProvider>`);return t}var We={label:`_label_1vrme_1`,disabled:`_disabled_1vrme_15`,required:`_required_1vrme_19`};function A({required:e,disabled:n,children:r,className:i,...a}){let o=[We.label,n?We.disabled:``,i??``].filter(Boolean).join(` `);return(0,t.jsxs)(`label`,{className:o,...a,children:[r,e&&(0,t.jsx)(`span`,{className:We.required,"aria-hidden":`true`,children:`*`})]})}A.displayName=`Label`;var Ge={hint:`_hint_pqi9h_1`};function j({children:e,className:n,...r}){return(0,t.jsx)(`span`,{className:[Ge.hint,n??``].filter(Boolean).join(` `),...r,children:e})}j.displayName=`Hint`;var Ke={error:`_error_13txc_1`};function M({children:e,className:n,...r}){return(0,t.jsx)(`span`,{className:[Ke.error,n??``].filter(Boolean).join(` `),...r,children:e})}M.displayName=`ErrorMessage`;function N({inputId:t,hint:n,error:r}){let i=(0,e.useId)(),a=t??i,o=n?`${a}-hint`:void 0,s=r?`${a}-error`:void 0;return{id:a,hintId:o,errorId:s,describedBy:s??o}}var qe={root:`_root_123no_1`,inputWrapper:`_inputWrapper_123no_7`},Je=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,className:c,...u},d)=>{let{id:f,hintId:p,errorId:m,describedBy:h}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[qe.root,c??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:f,required:a,disabled:o,children:e}),(0,t.jsx)(`div`,{className:qe.inputWrapper,children:(0,t.jsx)(l,{ref:d,id:f,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":h,...u})}),r?(0,t.jsx)(M,{id:m,children:r}):n?(0,t.jsx)(j,{id:p,children:n}):null]})});Je.displayName=`TextField`;var Ye={root:`_root_1sjfo_1`,row:`_row_1sjfo_8`,label:`_label_1sjfo_16`,disabled:`_disabled_1sjfo_23`},Xe=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,disabled:a=!1,inputId:o,className:s,...c},l)=>{let{id:u,hintId:f,errorId:p,describedBy:m}=N({inputId:o,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[Ye.root,s??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`div`,{className:Ye.row,children:[(0,t.jsx)(d,{ref:l,id:u,size:i,hasError:!!r,disabled:a,"aria-describedby":m,...c}),(0,t.jsx)(`label`,{htmlFor:u,className:[Ye.label,a?Ye.disabled:``].filter(Boolean).join(` `),children:e})]}),r?(0,t.jsx)(M,{id:p,children:r}):n?(0,t.jsx)(j,{id:f,children:n}):null]})});Xe.displayName=`CheckboxField`;var Ze={root:`_root_1oeo1_1`},Qe=(0,e.forwardRef)(({label:e,options:n,placeholder:r,hint:i,error:a,size:o=`md`,required:s=!1,disabled:c=!1,inputId:l,className:u,children:d,...f},p)=>{let{id:m,hintId:g,errorId:_,describedBy:v}=N({inputId:l,hint:i,error:a});return(0,t.jsxs)(`div`,{className:[Ze.root,u??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:m,required:s,disabled:c,children:e}),(0,t.jsxs)(h,{ref:p,id:m,size:o,hasError:!!a,disabled:c,required:s,"aria-required":s,"aria-describedby":v,...f,children:[r&&(0,t.jsx)(`option`,{value:``,disabled:!0,children:r}),n?n.map(e=>(0,t.jsx)(`option`,{value:e.value,disabled:e.disabled,children:e.label},e.value)):d]}),a?(0,t.jsx)(M,{id:_,children:a}):i?(0,t.jsx)(j,{id:g,children:i}):null]})});Qe.displayName=`SelectField`;var P={fieldset:`_fieldset_8eiqw_1`,legend:`_legend_8eiqw_12`,disabled:`_disabled_8eiqw_26`,required:`_required_8eiqw_30`,option:`_option_8eiqw_35`,optionLabel:`_optionLabel_8eiqw_41`,footer:`_footer_8eiqw_56`};function $e({legend:e,name:n,options:r,value:i,defaultValue:a,onChange:o,hint:s,error:c,required:l=!1,disabled:u=!1,size:d=`md`,className:f}){let{id:m,hintId:h,errorId:g,describedBy:_}=N({hint:s,error:c});return(0,t.jsxs)(`fieldset`,{className:[P.fieldset,f??``].filter(Boolean).join(` `),"aria-describedby":_,disabled:u,children:[(0,t.jsxs)(`legend`,{className:[P.legend,u?P.disabled:``].filter(Boolean).join(` `),children:[e,l&&(0,t.jsx)(`span`,{className:P.required,"aria-hidden":`true`,children:`*`})]}),r.map((e,r)=>{let s=`${m}-${e.value}`,f=u||e.disabled;return(0,t.jsxs)(`div`,{className:P.option,children:[(0,t.jsx)(p,{id:s,name:n,value:e.value,size:d,hasError:!!c,disabled:f,required:l&&r===0,checked:i===void 0?void 0:i===e.value,defaultChecked:a===void 0?void 0:a===e.value,onChange:o?()=>o(e.value):void 0}),(0,t.jsx)(`label`,{htmlFor:s,className:[P.optionLabel,f?P.disabled:``].filter(Boolean).join(` `),children:e.label})]},e.value)}),(c||s)&&(0,t.jsx)(`div`,{className:P.footer,children:c?(0,t.jsx)(M,{id:g,children:c}):s?(0,t.jsx)(j,{id:h,children:s}):null})]})}$e.displayName=`RadioGroup`;var et={root:`_root_1oeo1_1`},tt=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,autoResize:s=!1,inputId:c,className:l,...u},d)=>{let{id:f,hintId:p,errorId:m,describedBy:h}=N({inputId:c,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[et.root,l??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:f,required:a,disabled:o,children:e}),(0,t.jsx)(_,{ref:d,id:f,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":h,autoResize:s,...u}),r?(0,t.jsx)(M,{id:m,children:r}):n?(0,t.jsx)(j,{id:p,children:n}):null]})});tt.displayName=`TextAreaField`;var nt={root:`_root_108wn_1`,field:`_field_108wn_7`},rt=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,className:c,...l},u)=>{let{id:d,hintId:f,errorId:p,describedBy:m}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[nt.root,c??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`div`,{className:nt.field,children:[(0,t.jsx)(A,{htmlFor:d,required:a,disabled:o,children:e}),(0,t.jsx)(y,{ref:u,id:d,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":m,...l})]}),r?(0,t.jsx)(M,{id:p,children:r}):n?(0,t.jsx)(j,{id:f,children:n}):null]})});rt.displayName=`ToggleField`;var it={root:`_root_1oeo1_1`},at=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,showPasswordLabel:s,hidePasswordLabel:c,inputId:l,className:u,...d},f)=>{let{id:p,hintId:m,errorId:h,describedBy:g}=N({inputId:l,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[it.root,u??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:p,required:a,disabled:o,children:e}),(0,t.jsx)(C,{ref:f,id:p,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":g,showPasswordLabel:s,hidePasswordLabel:c,...d}),r?(0,t.jsx)(M,{id:h,children:r}):n?(0,t.jsx)(j,{id:m,children:n}):null]})});at.displayName=`PasswordField`;var ot={root:`_root_123no_1`,inputWrapper:`_inputWrapper_123no_7`},st=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,className:c,...l},u)=>{let{id:d,hintId:f,errorId:p,describedBy:m}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[ot.root,c??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:d,required:a,disabled:o,children:e}),(0,t.jsx)(`div`,{className:ot.inputWrapper,children:(0,t.jsx)(w,{ref:u,id:d,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":m,...l})}),r?(0,t.jsx)(M,{id:p,children:r}):n?(0,t.jsx)(j,{id:f,children:n}):null]})});st.displayName=`EmailField`;var ct={root:`_root_123no_1`,inputWrapper:`_inputWrapper_123no_7`},lt=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,className:c,...l},u)=>{let{id:d,hintId:f,errorId:p,describedBy:m}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[ct.root,c??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:d,required:a,disabled:o,children:e}),(0,t.jsx)(`div`,{className:ct.inputWrapper,children:(0,t.jsx)(T,{ref:u,id:d,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":m,...l})}),r?(0,t.jsx)(M,{id:p,children:r}):n?(0,t.jsx)(j,{id:f,children:n}):null]})});lt.displayName=`PhoneField`;var ut={root:`_root_123no_1`,inputWrapper:`_inputWrapper_123no_7`},dt=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,className:c,...l},u)=>{let{id:d,hintId:f,errorId:p,describedBy:m}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[ut.root,c??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:d,required:a,disabled:o,children:e}),(0,t.jsx)(`div`,{className:ut.inputWrapper,children:(0,t.jsx)(E,{ref:u,id:d,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":m,...l})}),r?(0,t.jsx)(M,{id:p,children:r}):n?(0,t.jsx)(j,{id:f,children:n}):null]})});dt.displayName=`SearchField`;var ft={root:`_root_123no_1`,inputWrapper:`_inputWrapper_123no_7`},pt=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,min:c,max:l,step:u,className:d,...f},p)=>{let{id:m,hintId:h,errorId:g,describedBy:_}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[ft.root,d??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:m,required:a,disabled:o,children:e}),(0,t.jsx)(`div`,{className:ft.inputWrapper,children:(0,t.jsx)(ve,{ref:p,id:m,size:i,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":_,min:c,max:l,step:u,...f})}),r?(0,t.jsx)(M,{id:g,children:r}):n?(0,t.jsx)(j,{id:h,children:n}):null]})});pt.displayName=`NumberField`;var mt={root:`_root_123no_1`,inputWrapper:`_inputWrapper_123no_7`},ht=(0,e.forwardRef)(({label:e,hint:n,error:r,size:i=`md`,required:a=!1,disabled:o=!1,inputId:s,className:c,value:l,...u},d)=>{let{id:f,hintId:p,errorId:m,describedBy:h}=N({inputId:s,hint:n,error:r});return(0,t.jsxs)(`div`,{className:[mt.root,c??``].filter(Boolean).join(` `),children:[(0,t.jsx)(A,{htmlFor:f,required:a,disabled:o,children:e}),(0,t.jsx)(`div`,{className:mt.inputWrapper,children:(0,t.jsx)(ye,{ref:d,id:f,size:i,value:l,hasError:!!r,disabled:o,required:a,"aria-required":a,"aria-describedby":h,...u})}),r?(0,t.jsx)(M,{id:m,children:r}):n?(0,t.jsx)(j,{id:p,children:n}):null]})});ht.displayName=`DateField`;var gt=(0,e.createContext)(null),_t=`ds-theme`;function vt(e,t){e===`system`?document.documentElement.removeAttribute(`data-theme`):document.documentElement.setAttribute(`data-theme`,t)}function yt({children:n,defaultTheme:r=`system`,storageKey:i=_t}){let[a,o]=(0,e.useState)(()=>typeof window>`u`?r:localStorage.getItem(i)??r),[s,c]=(0,e.useState)(()=>typeof window<`u`&&window.matchMedia(`(prefers-color-scheme: dark)`).matches),l=a===`system`?s?`dark`:`light`:a;(0,e.useEffect)(()=>{vt(a,l)},[a,l]),(0,e.useEffect)(()=>{let e=window.matchMedia(`(prefers-color-scheme: dark)`);function t(){c(e.matches)}return e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)},[]);function u(e){localStorage.setItem(i,e),o(e)}return(0,t.jsx)(gt.Provider,{value:{theme:a,resolvedTheme:l,setTheme:u},children:n})}yt.displayName=`ThemeProvider`;function bt(){let t=(0,e.useContext)(gt);if(!t)throw Error(`useTheme must be used inside a <ThemeProvider>`);return t}var xt={stack:`_stack_bluv1_1`},St={0:`0`,1:`var(--ds-space-1)`,2:`var(--ds-space-2)`,3:`var(--ds-space-3)`,4:`var(--ds-space-4)`,5:`var(--ds-space-5)`,6:`var(--ds-space-6)`,8:`var(--ds-space-8)`,10:`var(--ds-space-10)`,12:`var(--ds-space-12)`,16:`var(--ds-space-16)`},Ct={start:`flex-start`,center:`center`,end:`flex-end`,between:`space-between`,around:`space-around`,evenly:`space-evenly`},wt=(0,e.forwardRef)(({direction:e=`column`,gap:n=4,align:r=`stretch`,justify:i=`start`,wrap:a=!1,className:o,style:s,...c},l)=>{let u=[xt.stack,o??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:l,className:u,style:{flexDirection:e,gap:St[n],alignItems:r,justifyContent:Ct[i],flexWrap:a?`wrap`:`nowrap`,...s},...c})});wt.displayName=`Stack`;var Tt={grid:`_grid_nas2v_1`,responsive:`_responsive_nas2v_7`},Et={0:`0`,1:`var(--ds-space-1)`,2:`var(--ds-space-2)`,3:`var(--ds-space-3)`,4:`var(--ds-space-4)`,5:`var(--ds-space-5)`,6:`var(--ds-space-6)`,8:`var(--ds-space-8)`,10:`var(--ds-space-10)`,12:`var(--ds-space-12)`,16:`var(--ds-space-16)`},Dt=(0,e.forwardRef)(({cols:e=1,gap:n=4,columnGap:r,rowGap:i,className:a,style:o,...s},c)=>{let l=typeof e!=`number`,u=l?{...e.mobile!==void 0&&{"--grid-cols-mobile":String(e.mobile)},...e.tablet!==void 0&&{"--grid-cols-tablet":String(e.tablet)},...e.desktop!==void 0&&{"--grid-cols-desktop":String(e.desktop)}}:{gridTemplateColumns:`repeat(${e}, minmax(0, 1fr))`},d=[Tt.grid,l?Tt.responsive:``,a??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:c,className:d,style:{...u,gap:Et[n],...r!==void 0&&{columnGap:Et[r]},...i!==void 0&&{rowGap:Et[i]},...o},...s})});Dt.displayName=`Grid`;var Ot={container:`_container_1evbj_1`,padding:`_padding_1evbj_6`,sm:`_sm_1evbj_12`,md:`_md_1evbj_13`,lg:`_lg_1evbj_14`,xl:`_xl_1evbj_15`,full:`_full_1evbj_16`},kt=(0,e.forwardRef)(({size:e=`lg`,padding:n=!0,className:r,...i},a)=>{let o=[Ot.container,Ot[e],n?Ot.padding:``,r??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:a,className:o,...i})});kt.displayName=`Container`;var F={root:`_root_1jo5p_3`,outlined:`_outlined_1jo5p_14`,elevated:`_elevated_1jo5p_18`,flat:`_flat_1jo5p_22`,paddingSm:`_paddingSm_1jo5p_28`,paddingMd:`_paddingMd_1jo5p_29`,paddingLg:`_paddingLg_1jo5p_30`,media:`_media_1jo5p_34`,header:`_header_1jo5p_47`,body:`_body_1jo5p_48`,footer:`_footer_1jo5p_49`},At={sm:F.paddingSm,md:F.paddingMd,lg:F.paddingLg},jt=(0,e.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(`div`,{ref:r,className:[F.media,e??``].filter(Boolean).join(` `),...n}));jt.displayName=`Card.Media`;var Mt=(0,e.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(`div`,{ref:r,className:[F.header,e??``].filter(Boolean).join(` `),...n}));Mt.displayName=`Card.Header`;var Nt=(0,e.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(`div`,{ref:r,className:[F.body,e??``].filter(Boolean).join(` `),...n}));Nt.displayName=`Card.Body`;var Pt=(0,e.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(`div`,{ref:r,className:[F.footer,e??``].filter(Boolean).join(` `),...n}));Pt.displayName=`Card.Footer`;var Ft=(0,e.forwardRef)(({variant:e=`outlined`,padding:n=`md`,className:r,...i},a)=>{let o=[F.root,F[e],At[n],r??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:a,className:o,...i})});Ft.displayName=`Card`;var It=Object.assign(Ft,{Media:jt,Header:Mt,Body:Nt,Footer:Pt}),I={root:`_root_xmnn0_3`,info:`_info_xmnn0_16`,success:`_success_xmnn0_22`,warning:`_warning_xmnn0_28`,error:`_error_xmnn0_34`,promotional:`_promotional_xmnn0_40`,stacked:`_stacked_xmnn0_48`,icon:`_icon_xmnn0_52`,content:`_content_xmnn0_68`,headline:`_headline_xmnn0_76`,description:`_description_xmnn0_85`,actions:`_actions_xmnn0_95`,dismiss:`_dismiss_xmnn0_108`},Lt={error:`alert`,warning:`alert`,success:`status`,info:`status`,promotional:`region`},Rt={info:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,t.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,t.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`12`}),(0,t.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12.01`,y2:`16`})]}),success:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,t.jsx)(`path`,{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`}),(0,t.jsx)(`polyline`,{points:`22 4 12 14.01 9 11.01`})]}),warning:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,t.jsx)(`path`,{d:`M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z`}),(0,t.jsx)(`line`,{x1:`12`,y1:`9`,x2:`12`,y2:`13`}),(0,t.jsx)(`line`,{x1:`12`,y1:`17`,x2:`12.01`,y2:`17`})]}),error:(0,t.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,t.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,t.jsx)(`line`,{x1:`15`,y1:`9`,x2:`9`,y2:`15`}),(0,t.jsx)(`line`,{x1:`9`,y1:`9`,x2:`15`,y2:`15`})]}),promotional:(0,t.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M22 12h-4l-3 9L9 3l-3 9H2`})})},zt=()=>(0,t.jsxs)(`svg`,{"aria-hidden":`true`,xmlns:`http://www.w3.org/2000/svg`,width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,t.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,t.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]}),Bt=(0,e.forwardRef)(({headline:e,description:n,variant:r=`info`,layout:i=`horizontal`,media:a,actions:o,onDismiss:s,dismissLabel:c=`Close banner`,role:l,className:u,...d},f)=>{let p=l??Lt[r],m=[I.root,I[r],i===`stacked`?I.stacked:``,u??``].filter(Boolean).join(` `);return(0,t.jsxs)(`div`,{ref:f,role:p,"aria-label":p===`region`?e:void 0,...d,className:m,children:[(0,t.jsx)(`span`,{className:I.icon,children:a??Rt[r]}),(0,t.jsxs)(`div`,{className:I.content,children:[(0,t.jsx)(`p`,{className:I.headline,children:e}),n&&(0,t.jsx)(`p`,{className:I.description,children:n}),i===`stacked`&&o&&(0,t.jsx)(`div`,{className:I.actions,children:o})]}),i===`horizontal`&&o&&(0,t.jsx)(`div`,{className:I.actions,children:o}),s&&(0,t.jsx)(`button`,{type:`button`,className:I.dismiss,"aria-label":c,onClick:s,children:(0,t.jsx)(zt,{})})]})});Bt.displayName=`Banner`;var L={root:`_root_cjxe3_3`,srOnly:`_srOnly_cjxe3_11`,viewport:`_viewport_cjxe3_25`,track:`_track_cjxe3_32`,slide:`_slide_cjxe3_46`,controls:`_controls_cjxe3_53`,navBtn:`_navBtn_cjxe3_60`,dots:`_dots_cjxe3_66`,dot:`_dot_cjxe3_66`,dotActive:`_dotActive_cjxe3_96`},Vt=()=>(0,t.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,t.jsx)(`polyline`,{points:`15 18 9 12 15 6`})}),Ht=()=>(0,t.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,t.jsx)(`polyline`,{points:`9 18 15 12 9 6`})}),Ut=(0,e.forwardRef)(({children:n,"aria-label":r,loop:i=!1,autoplay:a,visibleSlides:o=1,prevLabel:c=`Previous`,nextLabel:l=`Next`,className:u,onKeyDown:d,...f},p)=>{let m=e.Children.toArray(n),h=m.length,g=Math.min(o,h),_=Math.max(0,h-g),v=_+1,[y,b]=(0,e.useState)(0),[x,S]=(0,e.useState)(!1),C=(0,e.useRef)(!1),w=(0,e.useRef)(!1);(0,e.useLayoutEffect)(()=>{if(!x)return;let e=requestAnimationFrame(()=>requestAnimationFrame(()=>S(!1)));return()=>cancelAnimationFrame(e)},[x]);let T=(0,e.useCallback)(e=>{i?((e<0||e>=h)&&S(!0),b((e%h+h)%h)):b(Math.max(0,Math.min(_,e)))},[i,h,_]),E=(0,e.useCallback)(()=>T(y-1),[y,T]),D=(0,e.useCallback)(()=>T(y+1),[y,T]);(0,e.useEffect)(()=>{if(!a)return;let e=setInterval(()=>{C.current||w.current||(i?T(y+1):b(e=>e<_?e+1:0))},a);return()=>clearInterval(e)},[a,y,T,i,_]);let ee=(0,e.useCallback)(e=>{e.key===`ArrowLeft`&&(e.preventDefault(),E()),e.key===`ArrowRight`&&(e.preventDefault(),D()),d?.(e)},[E,D,d]),te=!i&&y===0,ne=!i&&y>=_,re=h>0?y/h*100:0,O=h>0?h/g*100:100,ie=h>0?100/h:100,ae=[L.root,u??``].filter(Boolean).join(` `);return(0,t.jsxs)(`div`,{ref:p,role:`region`,"aria-label":r,className:ae,onKeyDown:ee,onMouseEnter:()=>{C.current=!0},onMouseLeave:()=>{C.current=!1},onFocus:()=>{w.current=!0},onBlur:()=>{w.current=!1},...f,children:[(0,t.jsx)(`span`,{className:L.srOnly,"aria-live":`polite`,"aria-atomic":`true`,children:`Slide ${y+1} of ${h}`}),(0,t.jsx)(`div`,{className:L.viewport,children:(0,t.jsx)(`div`,{className:L.track,style:{width:`${O}%`,transform:`translateX(-${re}%)`,...x?{transition:`none`}:{}},children:m.map((e,n)=>(0,t.jsx)(`div`,{role:`group`,"aria-roledescription":`slide`,"aria-label":`Slide ${n+1} of ${h}`,className:L.slide,style:{width:`${ie}%`},children:e},n))})}),(0,t.jsxs)(`div`,{className:L.controls,children:[(0,t.jsx)(s,{variant:`secondary`,size:`sm`,"aria-label":c,disabled:te,onClick:E,className:L.navBtn,children:(0,t.jsx)(Vt,{})}),(0,t.jsx)(`ul`,{className:L.dots,"aria-label":`Slides`,children:Array.from({length:v}).map((e,n)=>(0,t.jsx)(`li`,{children:(0,t.jsx)(`button`,{type:`button`,"aria-label":`Go to slide ${n+1}`,"aria-current":n===y||void 0,className:[L.dot,n===y?L.dotActive:``].filter(Boolean).join(` `),onClick:()=>T(n)})},n))}),(0,t.jsx)(s,{variant:`secondary`,size:`sm`,"aria-label":l,disabled:ne,onClick:D,className:L.navBtn,children:(0,t.jsx)(Ht,{})})]})]})});Ut.displayName=`Carousel`;var Wt={nav:`_nav_1eaxa_1`,list:`_list_1eaxa_5`,item:`_item_1eaxa_14`,link:`_link_1eaxa_29`,current:`_current_1eaxa_47`},Gt=(0,e.forwardRef)(({items:e,"aria-label":n=`Breadcrumb`,className:r},i)=>(0,t.jsx)(`nav`,{ref:i,"aria-label":n,className:[Wt.nav,r??``].filter(Boolean).join(` `),children:(0,t.jsx)(`ol`,{className:Wt.list,children:e.map((n,r)=>{let i=r===e.length-1;return(0,t.jsx)(`li`,{className:Wt.item,children:i?(0,t.jsx)(`span`,{className:Wt.current,"aria-current":`page`,children:n.label}):n.href?(0,t.jsx)(`a`,{href:n.href,className:Wt.link,children:n.label}):(0,t.jsx)(`span`,{className:Wt.link,children:n.label})},`${n.label}-${r}`)})})}));Gt.displayName=`Breadcrumb`;var R={navbar:`_navbar_1bewp_1`,sticky:`_sticky_1bewp_7`,inner:`_inner_1bewp_12`,brand:`_brand_1bewp_22`,nav:`_nav_1bewp_1`,navList:`_navList_1bewp_34`,navItem:`_navItem_1bewp_43`,navLink:`_navLink_1bewp_47`,navLinkActive:`_navLinkActive_1bewp_72`,actions:`_actions_1bewp_82`,menuButton:`_menuButton_1bewp_90`,mobileMenu:`_mobileMenu_1bewp_116`,mobileNavList:`_mobileNavList_1bewp_124`,mobileNavItem:`_mobileNavItem_1bewp_133`,mobileNavLink:`_mobileNavLink_1bewp_137`,mobileNavLinkActive:`_mobileNavLinkActive_1bewp_160`,mobileMenuOpen:`_mobileMenuOpen_1bewp_189`},Kt=()=>(0,t.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{fillRule:`evenodd`,d:`M2 4.75A.75.75 0 0 1 2.75 4h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 4.75ZM2 10a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 10Zm0 5.25a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Z`,clipRule:`evenodd`})}),qt=()=>(0,t.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z`})}),Jt=(0,e.forwardRef)(({brand:n,items:r=[],actions:i,sticky:a=!1,"aria-label":o=`Main navigation`,defaultMobileOpen:s=!1,isMobileOpen:c,onMobileOpenChange:l,className:u},d)=>{let[f,p]=(0,e.useState)(s),m=c??f,h=(0,e.useId)(),g=()=>{let e=!m;c===void 0&&p(e),l?.(e)},_=()=>{c===void 0&&p(!1),l?.(!1)},v=[R.navbar,a?R.sticky:``,u??``].filter(Boolean).join(` `);return(0,t.jsxs)(`header`,{ref:d,className:v,children:[(0,t.jsxs)(`div`,{className:R.inner,children:[n&&(0,t.jsx)(`div`,{className:R.brand,children:n}),r.length>0&&(0,t.jsx)(`nav`,{className:R.nav,"aria-label":o,children:(0,t.jsx)(`ul`,{className:R.navList,children:r.map(e=>(0,t.jsx)(`li`,{className:R.navItem,children:(0,t.jsx)(`a`,{href:e.href,onClick:e.onClick,className:[R.navLink,e.isActive?R.navLinkActive:``].filter(Boolean).join(` `),"aria-current":e.isActive?`page`:void 0,children:e.label})},e.key))})}),i&&(0,t.jsx)(`div`,{className:R.actions,children:i}),(0,t.jsx)(`button`,{type:`button`,className:R.menuButton,onClick:g,"aria-expanded":m,"aria-controls":h,"aria-label":m?`Close menu`:`Open menu`,children:m?(0,t.jsx)(qt,{}):(0,t.jsx)(Kt,{})})]}),(0,t.jsx)(`div`,{id:h,className:[R.mobileMenu,m?R.mobileMenuOpen:``].filter(Boolean).join(` `),children:(0,t.jsx)(`nav`,{"aria-label":`${o} — menu`,children:(0,t.jsx)(`ul`,{className:R.mobileNavList,children:r.map(e=>(0,t.jsx)(`li`,{className:R.mobileNavItem,children:(0,t.jsx)(`a`,{href:e.href,onClick:()=>{e.onClick?.(),_()},className:[R.mobileNavLink,e.isActive?R.mobileNavLinkActive:``].filter(Boolean).join(` `),"aria-current":e.isActive?`page`:void 0,children:e.label})},e.key))})})})]})});Jt.displayName=`Navbar`;var z={sidebar:`_sidebar_zpuep_3`,collapsed:`_collapsed_zpuep_13`,panel:`_panel_zpuep_18`,backdrop:`_backdrop_zpuep_33`,panelTop:`_panelTop_zpuep_42`,logoRow:`_logoRow_zpuep_59`,logoSlot:`_logoSlot_zpuep_73`,headerContent:`_headerContent_zpuep_81`,mobileCloseRow:`_mobileCloseRow_zpuep_99`,mobileCloseButton:`_mobileCloseButton_zpuep_107`,nav:`_nav_zpuep_134`,navList:`_navList_zpuep_141`,navItem:`_navItem_zpuep_153`,navLink:`_navLink_zpuep_157`,navLinkActive:`_navLinkActive_zpuep_184`,navLinkIcon:`_navLinkIcon_zpuep_189`,navLinkLabel:`_navLinkLabel_zpuep_199`,collapseButton:`_collapseButton_zpuep_217`,footer:`_footer_zpuep_251`,mobileOpen:`_mobileOpen_zpuep_285`},Yt=`a[href], button:not([disabled]), input:not([disabled]), [tabindex]:not([tabindex="-1"])`,Xt=()=>(0,t.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M10 4L6 8L10 12`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Zt=()=>(0,t.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M6 4L10 8L6 12`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Qt=()=>(0,t.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`currentColor`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z`})}),$t=(0,e.forwardRef)(({items:r,logo:i,header:a,footer:o,"aria-label":s=`Sidebar navigation`,defaultCollapsed:c=!1,isCollapsed:l,onCollapsedChange:u,defaultMobileOpen:d=!1,isMobileOpen:f,onMobileOpenChange:p,className:m},h)=>{let[g,_]=(0,e.useState)(c),v=l??g,[y,b]=(0,e.useState)(d),x=f??y,[S]=(0,e.useState)(()=>typeof document<`u`),C=(0,e.useRef)(null),w=(0,e.useRef)(null);(0,e.useEffect)(()=>{if(window.matchMedia?.(`(max-width: 767px)`)?.matches??!1)return x?(w.current=document.activeElement,document.body.style.overflow=`hidden`,(C.current?.querySelector(Yt))?.focus()):(document.body.style.overflow=``,w.current?.focus(),w.current=null),()=>{document.body.style.overflow=``}},[x]);let T=(0,e.useCallback)(()=>{let e=!v;l===void 0&&_(e),u?.(e)},[v,l,u]),E=(0,e.useCallback)(()=>{f===void 0&&b(!1),p?.(!1)},[f,p]),D=(0,e.useCallback)(e=>{e.key===`Escape`&&E()},[E]),ee=[z.sidebar,v?z.collapsed:``,x?z.mobileOpen:``,m??``].filter(Boolean).join(` `);return(0,t.jsxs)(`aside`,{ref:h,className:ee,children:[S&&x&&(0,n.createPortal)((0,t.jsx)(`div`,{className:z.backdrop,onClick:E,"aria-hidden":`true`}),document.body),(0,t.jsxs)(`div`,{ref:C,className:z.panel,onKeyDown:D,tabIndex:-1,children:[(i||a)&&(0,t.jsxs)(`div`,{className:z.panelTop,children:[(0,t.jsxs)(`div`,{className:z.logoRow,children:[i&&(0,t.jsx)(`div`,{className:z.logoSlot,children:i}),a&&(0,t.jsx)(`div`,{className:z.headerContent,children:a})]}),(0,t.jsx)(`button`,{type:`button`,className:z.mobileCloseButton,onClick:E,"aria-label":`Close sidebar`,children:(0,t.jsx)(Qt,{})})]}),!i&&!a&&(0,t.jsx)(`div`,{className:z.mobileCloseRow,children:(0,t.jsx)(`button`,{type:`button`,className:z.mobileCloseButton,onClick:E,"aria-label":`Close sidebar`,children:(0,t.jsx)(Qt,{})})}),(0,t.jsx)(`nav`,{"aria-label":s,className:z.nav,children:(0,t.jsx)(`ul`,{className:z.navList,tabIndex:0,children:r.map(e=>(0,t.jsx)(`li`,{className:z.navItem,children:(0,t.jsxs)(`a`,{href:e.href,onClick:e.onClick,className:[z.navLink,e.isActive?z.navLinkActive:``].filter(Boolean).join(` `),"aria-current":e.isActive?`page`:void 0,"aria-label":e.icon&&v?e.label:void 0,title:e.icon&&v?e.label:void 0,children:[e.icon&&(0,t.jsx)(`span`,{className:z.navLinkIcon,"aria-hidden":`true`,children:e.icon}),(0,t.jsx)(`span`,{className:z.navLinkLabel,children:e.label})]})},e.key))})}),o&&(0,t.jsx)(`div`,{className:z.footer,children:o}),(0,t.jsx)(`button`,{type:`button`,className:z.collapseButton,onClick:T,"aria-label":v?`Expand sidebar`:`Collapse sidebar`,"aria-expanded":!v,children:v?(0,t.jsx)(Zt,{}):(0,t.jsx)(Xt,{})})]})]})});$t.displayName=`Sidebar`;var B={srOnly:`_srOnly_1ug4t_1`,wrapper:`_wrapper_1ug4t_13`,table:`_table_1ug4t_21`,caption:`_caption_1ug4t_28`,thead:`_thead_1ug4t_43`,th:`_th_1ug4t_43`,thSortable:`_thSortable_1ug4t_55`,thActive:`_thActive_1ug4t_59`,sortButton:`_sortButton_1ug4t_63`,sortIcon:`_sortIcon_1ug4t_89`,tbody:`_tbody_1ug4t_98`,tr:`_tr_1ug4t_102`,td:`_td_1ug4t_115`,emptyState:`_emptyState_1ug4t_123`,alignLeft:`_alignLeft_1ug4t_132`,alignCenter:`_alignCenter_1ug4t_136`,alignRight:`_alignRight_1ug4t_140`},en={left:B.alignLeft,center:B.alignCenter,right:B.alignRight},tn=()=>(0,t.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`currentColor`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M6 2L10 8H2L6 2Z`})}),nn=()=>(0,t.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`currentColor`,"aria-hidden":`true`,children:(0,t.jsx)(`path`,{d:`M6 10L2 4H10L6 10Z`})}),rn=()=>(0,t.jsxs)(`svg`,{width:`12`,height:`14`,viewBox:`0 0 12 14`,fill:`currentColor`,"aria-hidden":`true`,children:[(0,t.jsx)(`path`,{d:`M6 1L10 5H2L6 1Z`,opacity:`0.4`}),(0,t.jsx)(`path`,{d:`M6 13L2 9H10L6 13Z`,opacity:`0.4`})]}),an=(0,e.forwardRef)(function({caption:n,columns:r,data:i,defaultSortKey:a,defaultSortDirection:o=`asc`,sortKey:s,sortDirection:c,onSort:l,rowKey:u,emptyMessage:d=`No data available.`,className:f},p){let m=(0,e.useId)(),[h,g]=(0,e.useState)(``),[_,v]=(0,e.useState)(a),[y,b]=(0,e.useState)(o),x=s??_,S=c??y,C=e=>{let t=x===e&&S===`asc`?`desc`:`asc`;s===void 0&&(v(e),b(t)),l?.(e,t);let n=r.find(t=>t.key===e);n&&g(`Table sorted by ${n.header}, ${t===`asc`?`ascending`:`descending`}.`)},w=s!==void 0||!x?i:[...i].sort((e,t)=>{let n=e[x],r=t[x],i=typeof n==`number`&&typeof r==`number`?n-r:String(n??``).localeCompare(String(r??``));return S===`asc`?i:-i}),T=e=>{if(e.sortable)return x===e.key?S===`asc`?`ascending`:`descending`:`none`};return(0,t.jsxs)(`div`,{ref:p,className:[B.wrapper,f??``].filter(Boolean).join(` `),role:`region`,"aria-label":n,children:[(0,t.jsx)(`div`,{id:m,role:`status`,"aria-live":`polite`,"aria-atomic":`true`,className:B.srOnly,children:h}),(0,t.jsxs)(`table`,{className:B.table,children:[(0,t.jsx)(`caption`,{className:B.caption,children:n}),(0,t.jsx)(`thead`,{className:B.thead,children:(0,t.jsx)(`tr`,{children:r.map(e=>(0,t.jsx)(`th`,{scope:`col`,className:[B.th,e.sortable?B.thSortable:``,x===e.key?B.thActive:``,en[e.align??`left`]].filter(Boolean).join(` `),"aria-sort":T(e),children:e.sortable?(0,t.jsxs)(`button`,{type:`button`,className:B.sortButton,onClick:()=>C(e.key),children:[e.header,(0,t.jsx)(`span`,{className:B.sortIcon,children:x===e.key?S===`asc`?(0,t.jsx)(tn,{}):(0,t.jsx)(nn,{}):(0,t.jsx)(rn,{})})]}):e.header},e.key))})}),(0,t.jsx)(`tbody`,{className:B.tbody,children:w.length===0?(0,t.jsx)(`tr`,{children:(0,t.jsx)(`td`,{className:[B.td,B.emptyState].join(` `),colSpan:r.length,children:d})}):w.map((e,n)=>(0,t.jsx)(`tr`,{className:B.tr,children:r.map(n=>(0,t.jsx)(`td`,{className:[B.td,en[n.align??`left`]].filter(Boolean).join(` `),children:n.render?n.render(e[n.key],e):String(e[n.key]??``)},n.key))},u?String(e[u]):n))})]})]})});an.displayName=`DataTable`;var V={wrapper:`_wrapper_1ke2z_1`,svg:`_svg_1ke2z_6`,bar:`_bar_1ke2z_12`,axisLabel:`_axisLabel_1ke2z_20`,legend:`_legend_1ke2z_26`,legendItem:`_legendItem_1ke2z_37`,legendSwatch:`_legendSwatch_1ke2z_46`,empty:`_empty_1ke2z_53`},on=480,sn=280,H={top:20,right:20,bottom:56,left:48},cn=on-H.left-H.right,ln=sn-H.top-H.bottom,un=4,dn=2;function fn(e){return e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}k`:String(Math.round(e))}function pn(e,t){return e.color??`var(--ds-chart-${t%6+1})`}var mn=(0,e.forwardRef)(({title:n,series:r,className:i},a)=>{let o=(0,e.useId)();if(r.length===0||r.every(e=>e.data.length===0))return(0,t.jsxs)(`div`,{className:[V.empty,i??``].filter(Boolean).join(` `),children:[n,` — no data`]});let s=r[0].data.map(e=>e.label),c=s.length,l=r.length,u=Math.max(...r.flatMap(e=>e.data.map(e=>e.value)),0),d=cn/c,f=Math.min(Math.max((d*.8-dn*(l-1))/l,4),l===1?60:40);return(0,t.jsxs)(`div`,{ref:a,className:[V.wrapper,i??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`svg`,{role:`img`,"aria-labelledby":o,viewBox:`0 0 ${on} ${sn}`,className:V.svg,children:[(0,t.jsx)(`title`,{id:o,children:n}),Array.from({length:5},(e,n)=>{let r=n/un,i=H.top+ln-r*ln,a=u*r;return(0,t.jsxs)(`g`,{children:[(0,t.jsx)(`line`,{x1:H.left,y1:i,x2:on-H.right,y2:i,stroke:`var(--ds-chart-grid)`,strokeWidth:`1`}),(0,t.jsx)(`text`,{x:H.left-6,y:i,textAnchor:`end`,dominantBaseline:`middle`,className:V.axisLabel,children:fn(a)})]},n)}),s.map((e,n)=>{let i=f*l+dn*(l-1),a=H.left+n*d,o=a+(d-i)/2,s=a+d/2;return(0,t.jsxs)(`g`,{children:[r.map((r,i)=>{let a=r.data[n];if(!a)return null;let s=u>0?a.value/u*ln:0,c=o+i*(f+dn),l=H.top+ln-s,d=pn(r,i);return(0,t.jsx)(`rect`,{x:c,y:l,width:f,height:s,fill:d,rx:`3`,className:V.bar,children:(0,t.jsx)(`title`,{children:`${r.label} — ${e}: ${fn(a.value)}`})},r.id)}),(0,t.jsx)(`text`,{x:s,y:sn-H.bottom+16,textAnchor:`middle`,className:V.axisLabel,children:e})]},e)}),(0,t.jsx)(`line`,{x1:H.left,y1:H.top+ln,x2:on-H.right,y2:H.top+ln,stroke:`var(--ds-chart-axis)`,strokeWidth:`1`})]}),l>1&&(0,t.jsx)(`ul`,{className:V.legend,"aria-label":`Chart legend`,children:r.map((e,n)=>(0,t.jsxs)(`li`,{className:V.legendItem,children:[(0,t.jsx)(`span`,{className:V.legendSwatch,style:{background:pn(e,n)},"aria-hidden":`true`}),(0,t.jsx)(`span`,{children:e.label})]},e.id))})]})});mn.displayName=`BarChart`;var U={root:`_root_18xxx_1`,svg:`_svg_18xxx_8`,centerLabel:`_centerLabel_18xxx_15`,centerSubLabel:`_centerSubLabel_18xxx_22`,legend:`_legend_18xxx_28`,legendItem:`_legendItem_18xxx_39`,legendSwatch:`_legendSwatch_18xxx_46`,legendLabel:`_legendLabel_18xxx_53`,legendValue:`_legendValue_18xxx_61`,empty:`_empty_18xxx_67`},hn=[`var(--ds-chart-1)`,`var(--ds-chart-2)`,`var(--ds-chart-3)`,`var(--ds-chart-4)`,`var(--ds-chart-5)`,`var(--ds-chart-6)`],gn=100,_n=100,vn=72,yn=28,bn=2*Math.PI*vn,xn=(0,e.forwardRef)(({title:n,segments:r,centerLabel:i,centerSubLabel:a,className:o},s)=>{let c=(0,e.useId)(),l=r.reduce((e,t)=>e+t.value,0);if(r.length===0||l===0)return(0,t.jsxs)(`div`,{className:[U.empty,o??``].filter(Boolean).join(` `),children:[n,` — no data`]});let u=0;return(0,t.jsxs)(`div`,{className:[U.root,o??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`svg`,{ref:s,role:`img`,"aria-labelledby":c,viewBox:`0 0 200 200`,className:U.svg,children:[(0,t.jsx)(`title`,{id:c,children:n}),(0,t.jsx)(`circle`,{cx:gn,cy:_n,r:vn,fill:`none`,stroke:`var(--ds-chart-grid)`,strokeWidth:yn}),r.map((e,n)=>{let r=e.value/l*bn,i=-u;return u+=r,(0,t.jsx)(`circle`,{cx:gn,cy:_n,r:vn,fill:`none`,stroke:e.color??hn[n%hn.length],strokeWidth:yn,strokeDasharray:`${r} ${bn-r}`,strokeDashoffset:i,transform:`rotate(-90 ${gn} ${_n})`,children:(0,t.jsx)(`title`,{children:`${e.label}: ${e.value} (${Math.round(e.value/l*100)}%)`})},e.label)}),i&&(0,t.jsx)(`text`,{x:gn,y:_n-(a?8:0),textAnchor:`middle`,dominantBaseline:`middle`,className:U.centerLabel,children:i}),a&&(0,t.jsx)(`text`,{x:gn,y:116,textAnchor:`middle`,dominantBaseline:`middle`,className:U.centerSubLabel,children:a})]}),(0,t.jsx)(`ul`,{className:U.legend,"aria-label":`${n} legend`,children:r.map((e,n)=>(0,t.jsxs)(`li`,{className:U.legendItem,children:[(0,t.jsx)(`span`,{className:U.legendSwatch,style:{background:e.color??hn[n%hn.length]},"aria-hidden":`true`}),(0,t.jsx)(`span`,{className:U.legendLabel,children:e.label}),(0,t.jsxs)(`span`,{className:U.legendValue,children:[Math.round(e.value/l*100),`%`]})]},e.label))})]})});xn.displayName=`DonutChart`;var W={wrapper:`_wrapper_h55fh_1`,svg:`_svg_h55fh_6`,axisLabel:`_axisLabel_h55fh_12`,legend:`_legend_h55fh_18`,legendItem:`_legendItem_h55fh_29`,legendSwatch:`_legendSwatch_h55fh_38`,empty:`_empty_h55fh_45`},Sn=480,Cn=280,G={top:20,right:20,bottom:56,left:48},wn=Sn-G.left-G.right,K=Cn-G.top-G.bottom,Tn=4;function En(e){return e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}k`:String(Math.round(e))}function Dn(e,t){return e.color??`var(--ds-chart-${t%6+1})`}var On=(0,e.forwardRef)(({title:n,series:r,showArea:i=!1,className:a},o)=>{let s=(0,e.useId)();if(r.length===0||r.every(e=>e.data.length===0))return(0,t.jsxs)(`div`,{className:[W.empty,a??``].filter(Boolean).join(` `),children:[n,` — no data`]});let c=r.flatMap(e=>e.data.map(e=>e.value)),l=Math.max(...c,0),u=r[0].data.map(e=>e.label),d=u.length,f=e=>d===1?G.left+wn/2:G.left+e/(d-1)*wn,p=e=>G.top+K-(l>0?e/l*K:0);return(0,t.jsxs)(`div`,{ref:o,className:[W.wrapper,a??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`svg`,{role:`img`,"aria-labelledby":s,viewBox:`0 0 ${Sn} ${Cn}`,className:W.svg,children:[(0,t.jsx)(`title`,{id:s,children:n}),Array.from({length:5},(e,n)=>{let r=n/Tn,i=G.top+K-r*K,a=l*r;return(0,t.jsxs)(`g`,{children:[(0,t.jsx)(`line`,{x1:G.left,y1:i,x2:Sn-G.right,y2:i,stroke:`var(--ds-chart-grid)`,strokeWidth:`1`}),(0,t.jsx)(`text`,{x:G.left-6,y:i,textAnchor:`end`,dominantBaseline:`middle`,className:W.axisLabel,children:En(a)})]},n)}),r.map((e,n)=>{let r=Dn(e,n),a=e.showArea??i,o=e.data.map((e,t)=>`${f(t)},${p(e.value)}`).join(` `),s=`${f(0)},${G.top+K} `+o+` ${f(e.data.length-1)},${G.top+K}`;return(0,t.jsxs)(`g`,{children:[a&&(0,t.jsx)(`polygon`,{points:s,fill:r,fillOpacity:`0.12`}),(0,t.jsx)(`polyline`,{points:o,fill:`none`,stroke:r,strokeWidth:`2`,strokeLinejoin:`round`,strokeLinecap:`round`}),e.data.map((n,i)=>(0,t.jsx)(`circle`,{cx:f(i),cy:p(n.value),r:`4`,fill:r,children:(0,t.jsx)(`title`,{children:`${e.label} — ${n.label}: ${n.value}`})},n.label))]},e.id)}),u.map((e,n)=>(0,t.jsx)(`text`,{x:f(n),y:Cn-G.bottom+16,textAnchor:`middle`,className:W.axisLabel,children:e},e)),(0,t.jsx)(`line`,{x1:G.left,y1:G.top+K,x2:Sn-G.right,y2:G.top+K,stroke:`var(--ds-chart-axis)`,strokeWidth:`1`})]}),r.length>1&&(0,t.jsx)(`ul`,{className:W.legend,"aria-label":`Chart legend`,children:r.map((e,n)=>(0,t.jsxs)(`li`,{className:W.legendItem,children:[(0,t.jsx)(`span`,{className:W.legendSwatch,style:{background:Dn(e,n)},"aria-hidden":`true`}),(0,t.jsx)(`span`,{children:e.label})]},e.id))})]})});On.displayName=`LineChart`;var q={wrapper:`_wrapper_kmbah_1`,svg:`_svg_kmbah_6`,point:`_point_kmbah_12`,axisLabel:`_axisLabel_kmbah_21`,axisTitle:`_axisTitle_kmbah_27`,legend:`_legend_kmbah_34`,legendItem:`_legendItem_kmbah_45`,legendSwatch:`_legendSwatch_kmbah_54`,empty:`_empty_kmbah_61`},kn=480,An=320,J={top:20,right:20,bottom:64,left:56},jn=kn-J.left-J.right,Y=An-J.top-J.bottom,Mn=4,Nn=.1;function Pn(e){return Math.abs(e)>=1e6?`${(e/1e6).toFixed(1)}M`:Math.abs(e)>=1e3?`${(e/1e3).toFixed(1)}k`:String(Number.isInteger(e)?e:e.toFixed(1))}function Fn(e,t){return e.color??`var(--ds-chart-${t%6+1})`}var In=(0,e.forwardRef)(({title:n,series:r,xLabel:i,yLabel:a,className:o},s)=>{let c=(0,e.useId)();if(r.length===0||r.every(e=>e.data.length===0))return(0,t.jsxs)(`div`,{className:[q.empty,o??``].filter(Boolean).join(` `),children:[n,` — no data`]});let l=r.flatMap(e=>e.data.map(e=>e.x)),u=r.flatMap(e=>e.data.map(e=>e.y)),d=Math.min(...l),f=Math.max(...l),p=Math.min(...u),m=Math.max(...u),h=f-d||1,g=m-p||1,_=d-h*Nn,v=f+h*Nn,y=p-g*Nn,b=m+g*Nn,x=e=>J.left+(e-_)/(v-_)*jn,S=e=>J.top+Y-(e-y)/(b-y)*Y;return(0,t.jsxs)(`div`,{ref:s,className:[q.wrapper,o??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`svg`,{role:`img`,"aria-labelledby":c,viewBox:`0 0 ${kn} ${An}`,className:q.svg,children:[(0,t.jsx)(`title`,{id:c,children:n}),Array.from({length:5},(e,n)=>{let r=n/Mn,i=J.top+Y-r*Y,a=y+(b-y)*r;return(0,t.jsxs)(`g`,{children:[(0,t.jsx)(`line`,{x1:J.left,y1:i,x2:kn-J.right,y2:i,stroke:`var(--ds-chart-grid)`,strokeWidth:`1`}),(0,t.jsx)(`text`,{x:J.left-6,y:i,textAnchor:`end`,dominantBaseline:`middle`,className:q.axisLabel,children:Pn(a)})]},`gy-${n}`)}),Array.from({length:5},(e,n)=>{let r=n/Mn,i=J.left+r*jn,a=_+(v-_)*r;return(0,t.jsxs)(`g`,{children:[(0,t.jsx)(`line`,{x1:i,y1:J.top,x2:i,y2:J.top+Y,stroke:`var(--ds-chart-grid)`,strokeWidth:`1`}),(0,t.jsx)(`text`,{x:i,y:J.top+Y+16,textAnchor:`middle`,className:q.axisLabel,children:Pn(a)})]},`gx-${n}`)}),r.map((e,n)=>{let r=Fn(e,n);return(0,t.jsx)(`g`,{children:e.data.map((n,i)=>(0,t.jsx)(`circle`,{cx:x(n.x),cy:S(n.y),r:`5`,fill:r,fillOpacity:`0.7`,stroke:r,strokeWidth:`1`,className:q.point,children:(0,t.jsx)(`title`,{children:n.label?`${e.label} — ${n.label}: (${n.x}, ${n.y})`:`${e.label}: (${n.x}, ${n.y})`})},i))},e.id)}),(0,t.jsx)(`line`,{x1:J.left,y1:J.top+Y,x2:kn-J.right,y2:J.top+Y,stroke:`var(--ds-chart-axis)`,strokeWidth:`1`}),(0,t.jsx)(`line`,{x1:J.left,y1:J.top,x2:J.left,y2:J.top+Y,stroke:`var(--ds-chart-axis)`,strokeWidth:`1`}),i&&(0,t.jsx)(`text`,{x:J.left+jn/2,y:312,textAnchor:`middle`,className:q.axisTitle,children:i}),a&&(0,t.jsx)(`text`,{x:12,y:J.top+Y/2,textAnchor:`middle`,transform:`rotate(-90 12 ${J.top+Y/2})`,className:q.axisTitle,children:a})]}),r.length>1&&(0,t.jsx)(`ul`,{className:q.legend,"aria-label":`Chart legend`,children:r.map((e,n)=>(0,t.jsxs)(`li`,{className:q.legendItem,children:[(0,t.jsx)(`span`,{className:q.legendSwatch,style:{background:Fn(e,n)},"aria-hidden":`true`}),(0,t.jsx)(`span`,{children:e.label})]},e.id))})]})});In.displayName=`ScatterPlot`;var X={wrapper:`_wrapper_1k1rg_1`,svg:`_svg_1k1rg_6`,ring:`_ring_1k1rg_12`,axisLine:`_axisLine_1k1rg_18`,axisLabel:`_axisLabel_1k1rg_23`,seriesPolygon:`_seriesPolygon_1k1rg_29`,legend:`_legend_1k1rg_37`,legendItem:`_legendItem_1k1rg_48`,legendSwatch:`_legendSwatch_1k1rg_57`,empty:`_empty_1k1rg_64`},Ln=320,Rn=320,zn=Ln/2,Bn=Rn/2,Vn=110,Hn=4;function Un(e,t){return e.color??`var(--ds-chart-${t%6+1})`}function Wn(e,t){return-Math.PI/2+2*Math.PI*e/t}function Gn(e,t){return[zn+e*Math.cos(t),Bn+e*Math.sin(t)]}function Kn(e,t,n){return e.map((e,r)=>{let[i,a]=Gn(t>0?e/t*Vn:0,Wn(r,n));return`${i},${a}`}).join(` `)}var qn=(0,e.forwardRef)(({title:n,axes:r,series:i,maxValue:a,className:o},s)=>{let c=(0,e.useId)();if(r.length===0||i.length===0)return(0,t.jsxs)(`div`,{className:[X.empty,o??``].filter(Boolean).join(` `),children:[n,` — no data`]});let l=r.length,u=Math.max(...i.flatMap(e=>e.values),0),d=a??u;return(0,t.jsxs)(`div`,{ref:s,className:[X.wrapper,o??``].filter(Boolean).join(` `),children:[(0,t.jsxs)(`svg`,{role:`img`,"aria-labelledby":c,viewBox:`0 0 ${Ln} ${Rn}`,className:X.svg,children:[(0,t.jsx)(`title`,{id:c,children:n}),Array.from({length:Hn},(e,n)=>{let r=(n+1)/Hn*Vn,i=Array.from({length:l},(e,t)=>{let[n,i]=Gn(r,Wn(t,l));return`${n},${i}`}).join(` `);return(0,t.jsx)(`polygon`,{points:i,className:X.ring},n)}),r.map((e,n)=>{let[r,i]=Gn(Vn,Wn(n,l));return(0,t.jsx)(`line`,{x1:zn,y1:Bn,x2:r,y2:i,className:X.axisLine},e)}),i.map((e,n)=>{let r=Un(e,n),i=Kn(e.values,d,l);return(0,t.jsx)(`polygon`,{points:i,fill:r,fillOpacity:`0.15`,stroke:r,strokeWidth:`2`,strokeLinejoin:`round`,className:X.seriesPolygon},`${e.id}-fill`)}),r.map((e,n)=>{let r=Wn(n,l),[i,a]=Gn(130,r),o=`middle`;return Math.cos(r)>.1?o=`start`:Math.cos(r)<-.1&&(o=`end`),(0,t.jsx)(`text`,{x:i,y:a,textAnchor:o,dominantBaseline:`middle`,className:X.axisLabel,children:e},e)})]}),(0,t.jsx)(`ul`,{className:X.legend,"aria-label":`Chart legend`,children:i.map((e,n)=>(0,t.jsxs)(`li`,{className:X.legendItem,children:[(0,t.jsx)(`span`,{className:X.legendSwatch,style:{background:Un(e,n)},"aria-hidden":`true`}),(0,t.jsx)(`span`,{children:e.label})]},e.id))})]})});qn.displayName=`RadarChart`;var Jn={section:`_section_c3tl4_1`,surface:`_surface_c3tl4_9`,flat:`_flat_c3tl4_15`,paddingNone:`_paddingNone_c3tl4_21`,paddingSm:`_paddingSm_c3tl4_22`,paddingMd:`_paddingMd_c3tl4_23`,paddingLg:`_paddingLg_c3tl4_24`},Yn={0:`0`,1:`var(--ds-space-1)`,2:`var(--ds-space-2)`,3:`var(--ds-space-3)`,4:`var(--ds-space-4)`,5:`var(--ds-space-5)`,6:`var(--ds-space-6)`,8:`var(--ds-space-8)`,10:`var(--ds-space-10)`,12:`var(--ds-space-12)`,16:`var(--ds-space-16)`},Xn={none:Jn.paddingNone,sm:Jn.paddingSm,md:Jn.paddingMd,lg:Jn.paddingLg},Zn=(0,e.forwardRef)(({variant:e=`surface`,padding:n=`md`,gap:r=4,className:i,style:a,...o},s)=>{let c=[Jn.section,Jn[e],Xn[n],i??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:s,className:c,style:{gap:Yn[r],...a},...o})});Zn.displayName=`Section`;var Z={pageLayout:`_pageLayout_1d3bu_1`,padding:`_padding_1d3bu_8`,sm:`_sm_1d3bu_15`,md:`_md_1d3bu_16`,lg:`_lg_1d3bu_17`,xl:`_xl_1d3bu_18`,full:`_full_1d3bu_19`},Qn={0:`0`,1:`var(--ds-space-1)`,2:`var(--ds-space-2)`,3:`var(--ds-space-3)`,4:`var(--ds-space-4)`,5:`var(--ds-space-5)`,6:`var(--ds-space-6)`,8:`var(--ds-space-8)`,10:`var(--ds-space-10)`,12:`var(--ds-space-12)`,16:`var(--ds-space-16)`},$n={sm:Z.sm,md:Z.md,lg:Z.lg,xl:Z.xl,full:Z.full},er=(0,e.forwardRef)(({maxWidth:e=`xl`,padding:n=!0,gap:r=6,className:i,style:a,...o},s)=>{let c=[Z.pageLayout,$n[e],n?Z.padding:``,i??``].filter(Boolean).join(` `);return(0,t.jsx)(`div`,{ref:s,className:c,style:{gap:Qn[r],...a},...o})});er.displayName=`PageLayout`;var Q={shell:`_shell_5ehfr_1`,sidebarOnly:`_sidebarOnly_5ehfr_9`,mainArea:`_mainArea_5ehfr_13`,navbarOnly:`_navbarOnly_5ehfr_19`,navbarSlot:`_navbarSlot_5ehfr_23`,both:`_both_5ehfr_33`,sidebarSlot:`_sidebarSlot_5ehfr_38`},tr={"sidebar-only":Q.sidebarOnly,"navbar-only":Q.navbarOnly,both:Q.both},nr=(0,e.forwardRef)(({variant:e,sidebar:n,navbar:r,children:i,className:a,...o},s)=>{let c=e??(n&&r?`both`:n?`sidebar-only`:`navbar-only`),l=[Q.shell,tr[c],a??``].filter(Boolean).join(` `);return(0,t.jsxs)(`div`,{ref:s,className:l,...o,children:[n&&(0,t.jsx)(`div`,{className:Q.sidebarSlot,children:n}),r&&(0,t.jsx)(`div`,{className:Q.navbarSlot,children:r}),(0,t.jsx)(`main`,{className:Q.mainArea,children:i})]})});nr.displayName=`AppShell`;var $={layout:`_layout_14fpw_1`,brandPanel:`_brandPanel_14fpw_9`,brandContent:`_brandContent_14fpw_15`,brandLogo:`_brandLogo_14fpw_23`,brandTagline:`_brandTagline_14fpw_27`,formPanel:`_formPanel_14fpw_38`,formContent:`_formContent_14fpw_46`,mobileLogo:`_mobileLogo_14fpw_53`},rr=()=>(0,t.jsxs)(`svg`,{width:`36`,height:`36`,viewBox:`0 0 36 36`,fill:`none`,"aria-hidden":`true`,children:[(0,t.jsx)(`rect`,{width:`36`,height:`36`,rx:`8`,fill:`var(--ds-color-action-primary)`}),(0,t.jsx)(`path`,{d:`M10 12h16M10 18h11M10 24h8`,stroke:`white`,strokeWidth:`2.5`,strokeLinecap:`round`})]});function ir({children:e,branding:n,logo:r,brandingLabel:i=`Product branding`}){let a=r??(0,t.jsx)(rr,{});return(0,t.jsxs)(`div`,{className:$.layout,children:[(0,t.jsx)(`aside`,{className:$.brandPanel,"aria-label":i,"aria-hidden":`true`,children:(0,t.jsx)(`div`,{className:$.brandContent,children:n??(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(`div`,{className:$.brandLogo,children:a}),(0,t.jsxs)(`p`,{className:$.brandTagline,children:[`Build better products,`,(0,t.jsx)(`br`,{}),`together.`]})]})})}),(0,t.jsx)(`main`,{className:$.formPanel,children:(0,t.jsxs)(`div`,{className:$.formContent,children:[(0,t.jsx)(`div`,{className:$.mobileLogo,"aria-hidden":`true`,children:a}),e]})})]})}ir.displayName=`AuthLayout`,exports.Alert=oe,exports.AppShell=nr,exports.AuthLayout=ir,exports.Avatar=Se,exports.Badge=ce,exports.Banner=Bt,exports.BarChart=mn,exports.Breadcrumb=Gt,exports.Button=s,exports.Card=It,exports.Carousel=Ut,exports.Checkbox=d,exports.CheckboxField=Xe,exports.Container=kt,exports.DataTable=an,exports.DateField=ht,exports.DateInput=ye,exports.Divider=ge,exports.DonutChart=xn,exports.EmailField=st,exports.EmailInput=w,exports.ErrorMessage=M,exports.Grid=Dt,exports.Heading=te,exports.Hint=j,exports.Label=A,exports.LineChart=On,exports.Modal=Le,exports.ModalBody=Pe,exports.ModalFooter=Fe,exports.Navbar=Jt,exports.NumberField=pt,exports.NumberInput=ve,exports.PageLayout=er,exports.PasswordField=at,exports.PasswordInput=C,exports.PhoneField=lt,exports.PhoneInput=T,exports.ProgressBar=me,exports.RadarChart=qn,exports.RadioButton=p,exports.RadioGroup=$e,exports.ScatterPlot=In,exports.SearchField=dt,exports.SearchInput=E,exports.Section=Zn,exports.Select=h,exports.SelectField=Qe,exports.Sidebar=$t,exports.Skeleton=de,exports.Spinner=i,exports.Stack=wt,exports.Tab=Oe,exports.TabList=De,exports.TabPanel=ke,exports.Tabs=Ee,exports.Text=re,exports.TextArea=_,exports.TextAreaField=tt,exports.TextField=Je,exports.TextInput=l,exports.ThemeProvider=yt,exports.ToastProvider=He,exports.Toggle=y,exports.ToggleField=rt,exports.Tooltip=Me,exports.useTheme=bt,exports.useToast=Ue;
package/dist/index.js CHANGED
@@ -1380,7 +1380,7 @@ function I({ inputId: e, hint: t, error: n }) {
1380
1380
  id: i,
1381
1381
  hintId: a,
1382
1382
  errorId: o,
1383
- describedBy: [a, o].filter(Boolean).join(" ") || void 0
1383
+ describedBy: o ?? a
1384
1384
  };
1385
1385
  }
1386
1386
  var nt = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aseguragonzalez/ui",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Accessible, themeable design system for React SPAs",