@clarlabs/ui 0.1.7 → 0.1.8

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.js CHANGED
@@ -1,24 +1,24 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),p=require("react"),xs="styles-module__accordion__gf0fR",bs="styles-module__item__KZ8v2",vs="styles-module__header__wApZ8",$s="styles-module__title__yCYjK",js="styles-module__icon__8N04V",Ns="styles-module__iconOpen__PXmc8",ws="styles-module__content__WKJF6",ks="styles-module__contentOpen__l7aJG",Ss="styles-module__contentInner__Co6a-",fe={accordion:xs,item:bs,header:vs,title:$s,icon:js,iconOpen:Ns,content:ws,contentOpen:ks,contentInner:Ss};function Cs({items:s,allowMultiple:t=!1,defaultOpenIds:n=[],className:l=""}){const[a,o]=p.useState(new Set(n)),c=d=>{o(r=>{const _=new Set(r);return _.has(d)?_.delete(d):(t||_.clear(),_.add(d)),_})};return e.jsx("div",{className:`${fe.accordion} ${l}`,children:s.map(d=>e.jsx(Ls,{item:d,isOpen:a.has(d.id),onToggle:()=>c(d.id)},d.id))})}function Ls({item:s,isOpen:t,onToggle:n}){return e.jsxs("div",{className:`${fe.item} ${t?fe.open:""}`,children:[e.jsxs("button",{className:fe.header,onClick:n,"aria-expanded":t,children:[e.jsx("span",{className:fe.title,children:s.title}),e.jsx("span",{className:`${fe.icon} ${t?fe.iconOpen:""}`,children:"▼"})]}),e.jsx("div",{className:`${fe.content} ${t?fe.contentOpen:""}`,children:e.jsx("div",{className:fe.contentInner,children:s.content})})]})}const Is="styles-module__alert__EMa3w",Ms="styles-module__icon__7XvtI",zs="styles-module__content__qU8OK",Ds="styles-module__title__Jui7D",Ts="styles-module__message__cazZX",Bs="styles-module__dismissButton__RhF19",Es="styles-module__info__Rb2nq",Ws="styles-module__success__sQGN5",Rs="styles-module__warning__Ev8EY",Xs="styles-module__error__plkoU",Ee={alert:Is,icon:Ms,content:zs,title:Ds,message:Ts,dismissButton:Bs,info:Es,success:Ws,warning:Rs,error:Xs};function Gs({variant:s="info",title:t,message:n,dismissible:l=!1,onDismiss:a,className:o=""}){const c={info:"ℹ",success:"✓",warning:"⚠",error:"✕"};return e.jsxs("div",{className:`${Ee.alert} ${Ee[s]} ${o}`,role:"alert",children:[e.jsx("div",{className:Ee.icon,children:c[s]}),e.jsxs("div",{className:Ee.content,children:[t&&e.jsx("div",{className:Ee.title,children:t}),e.jsx("div",{className:Ee.message,children:n})]}),l&&e.jsx("button",{className:Ee.dismissButton,onClick:a,"aria-label":"Dismiss alert",children:"✕"})]})}const Vs="styles-module__avatar__xMx8n",As="styles-module__image__rl-6T",Ps="styles-module__initials__d0Z0v",Fs="styles-module__sm__YBcEp",Os="styles-module__md__4GVi1",Hs="styles-module__lg__bEtEd",Ys="styles-module__xl__WBAtD",qs="styles-module__status__8qwum",Ks="styles-module__online__9lOl6",Zs="styles-module__offline__pi-XT",Us="styles-module__busy__Cer8C",Js="styles-module__away__zT9iM",Ge={avatar:Vs,image:As,initials:Ps,sm:Fs,md:Os,lg:Hs,xl:Ys,status:qs,online:Ks,offline:Zs,busy:Us,away:Js};function Qs({src:s,alt:t="Avatar",initials:n,size:l="md",status:a,className:o=""}){const c=()=>{if(n)return n;if(t){const d=t.split(" ");return d.length>=2?`${d[0][0]}${d[1][0]}`.toUpperCase():t.slice(0,2).toUpperCase()}return"?"};return e.jsxs("div",{className:`${Ge.avatar} ${Ge[l]} ${o}`,children:[s?e.jsx("img",{src:s,alt:t,className:Ge.image}):e.jsx("div",{className:Ge.initials,children:c()}),a&&e.jsx("span",{className:`${Ge.status} ${Ge[a]}`,"aria-label":`Status: ${a}`})]})}const et="styles-module__badge__d6igj",st="styles-module__dot__lsgxk",tt="styles-module__sm__rstsk",lt="styles-module__md__o-6j3",nt="styles-module__lg__EXM1E",ot="styles-module__primary__tHsyl",at="styles-module__success__okGOk",ct="styles-module__warning__W-psO",_t="styles-module__error__300RS",rt="styles-module__info__Qec-V",Ze={badge:et,dot:st,sm:tt,md:lt,lg:nt,default:"styles-module__default__lOwCs",primary:ot,success:at,warning:ct,error:_t,info:rt};function dt({children:s,variant:t="default",size:n="md",dot:l=!1,className:a=""}){return e.jsxs("span",{className:`${Ze.badge} ${Ze[t]} ${Ze[n]} ${a}`,children:[l&&e.jsx("span",{className:Ze.dot}),s]})}const it="styles-module__breadcrumbs__jVeyK",ut="styles-module__list__IBUYZ",mt="styles-module__item__unpP2",pt="styles-module__link__n-LMO",yt="styles-module__button__MamiK",ht="styles-module__text__xQt-q",gt="styles-module__current__vuaM0",ft="styles-module__separator__81mEk",Se={breadcrumbs:it,list:ut,item:mt,link:pt,button:yt,text:ht,current:gt,separator:ft};function xt({items:s,separator:t="/",className:n=""}){return e.jsx("nav",{className:`${Se.breadcrumbs} ${n}`,"aria-label":"Breadcrumb",children:e.jsx("ol",{className:Se.list,children:s.map((l,a)=>{const o=a===s.length-1;return e.jsxs("li",{className:Se.item,children:[l.href&&!o?e.jsx("a",{href:l.href,className:Se.link,children:l.label}):l.onClick&&!o?e.jsx("button",{onClick:l.onClick,className:Se.button,children:l.label}):e.jsx("span",{className:`${Se.text} ${o?Se.current:""}`,children:l.label}),!o&&e.jsx("span",{className:Se.separator,"aria-hidden":"true",children:t})]},a)})})})}const bt="styles-module__button__Sh-fr",vt="styles-module__sm__TZ7PA",$t="styles-module__md__MdfAS",jt="styles-module__lg__zhBVx",Nt="styles-module__fullWidth__KAUu7",wt="styles-module__loading__jL3RT",kt="styles-module__spinner__cTprF",St="styles-module__spin__aE1Nk",Ct="styles-module__hiddenContent__lbKDI",Lt="styles-module__primary__TRNPt",It="styles-module__secondary__QKgly",Mt="styles-module__success__DI2AT",zt="styles-module__danger__dnMp7",Dt="styles-module__outline__-o6rL",Tt="styles-module__ghost__lca2R",We={button:bt,sm:vt,md:$t,lg:jt,fullWidth:Nt,loading:wt,spinner:kt,spin:St,hiddenContent:Ct,primary:Lt,secondary:It,success:Mt,danger:zt,outline:Dt,ghost:Tt};function Bt({variant:s="primary",size:t="md",fullWidth:n=!1,loading:l=!1,disabled:a,className:o="",children:c,...d}){return e.jsxs("button",{className:`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),p=require("react"),bs="styles-module__accordion__gf0fR",vs="styles-module__item__KZ8v2",$s="styles-module__header__wApZ8",js="styles-module__title__yCYjK",Ns="styles-module__icon__8N04V",ws="styles-module__iconOpen__PXmc8",ks="styles-module__content__WKJF6",Ss="styles-module__contentOpen__l7aJG",Cs="styles-module__contentInner__Co6a-",fe={accordion:bs,item:vs,header:$s,title:js,icon:Ns,iconOpen:ws,content:ks,contentOpen:Ss,contentInner:Cs};function Ls({items:s,allowMultiple:t=!1,defaultOpenIds:n=[],className:l=""}){const[a,o]=p.useState(new Set(n)),_=d=>{o(r=>{const c=new Set(r);return c.has(d)?c.delete(d):(t||c.clear(),c.add(d)),c})};return e.jsx("div",{className:`${fe.accordion} ${l}`,children:s.map(d=>e.jsx(Is,{item:d,isOpen:a.has(d.id),onToggle:()=>_(d.id)},d.id))})}function Is({item:s,isOpen:t,onToggle:n}){return e.jsxs("div",{className:`${fe.item} ${t?fe.open:""}`,children:[e.jsxs("button",{className:fe.header,onClick:n,"aria-expanded":t,children:[e.jsx("span",{className:fe.title,children:s.title}),e.jsx("span",{className:`${fe.icon} ${t?fe.iconOpen:""}`,children:"▼"})]}),e.jsx("div",{className:`${fe.content} ${t?fe.contentOpen:""}`,children:e.jsx("div",{className:fe.contentInner,children:s.content})})]})}const Ms="styles-module__alert__EMa3w",zs="styles-module__icon__7XvtI",Ds="styles-module__content__qU8OK",Ts="styles-module__title__Jui7D",Bs="styles-module__message__cazZX",Es="styles-module__dismissButton__RhF19",Ws="styles-module__info__Rb2nq",Rs="styles-module__success__sQGN5",Xs="styles-module__warning__Ev8EY",Gs="styles-module__error__plkoU",Ee={alert:Ms,icon:zs,content:Ds,title:Ts,message:Bs,dismissButton:Es,info:Ws,success:Rs,warning:Xs,error:Gs};function Vs({variant:s="info",title:t,message:n,dismissible:l=!1,onDismiss:a,className:o=""}){const _={info:"ℹ",success:"✓",warning:"⚠",error:"✕"};return e.jsxs("div",{className:`${Ee.alert} ${Ee[s]} ${o}`,role:"alert",children:[e.jsx("div",{className:Ee.icon,children:_[s]}),e.jsxs("div",{className:Ee.content,children:[t&&e.jsx("div",{className:Ee.title,children:t}),e.jsx("div",{className:Ee.message,children:n})]}),l&&e.jsx("button",{className:Ee.dismissButton,onClick:a,"aria-label":"Dismiss alert",children:"✕"})]})}const As="styles-module__avatar__xMx8n",Ps="styles-module__image__rl-6T",Fs="styles-module__initials__d0Z0v",Os="styles-module__sm__YBcEp",Hs="styles-module__md__4GVi1",Ys="styles-module__lg__bEtEd",qs="styles-module__xl__WBAtD",Ks="styles-module__status__8qwum",Zs="styles-module__online__9lOl6",Us="styles-module__offline__pi-XT",Js="styles-module__busy__Cer8C",Qs="styles-module__away__zT9iM",Ge={avatar:As,image:Ps,initials:Fs,sm:Os,md:Hs,lg:Ys,xl:qs,status:Ks,online:Zs,offline:Us,busy:Js,away:Qs};function et({src:s,alt:t="Avatar",initials:n,size:l="md",status:a,className:o=""}){const _=()=>{if(n)return n;if(t){const d=t.split(" ");return d.length>=2?`${d[0][0]}${d[1][0]}`.toUpperCase():t.slice(0,2).toUpperCase()}return"?"};return e.jsxs("div",{className:`${Ge.avatar} ${Ge[l]} ${o}`,children:[s?e.jsx("img",{src:s,alt:t,className:Ge.image}):e.jsx("div",{className:Ge.initials,children:_()}),a&&e.jsx("span",{className:`${Ge.status} ${Ge[a]}`,"aria-label":`Status: ${a}`})]})}const st="styles-module__badge__d6igj",tt="styles-module__dot__lsgxk",lt="styles-module__sm__rstsk",nt="styles-module__md__o-6j3",ot="styles-module__lg__EXM1E",at="styles-module__primary__tHsyl",_t="styles-module__success__okGOk",ct="styles-module__warning__W-psO",rt="styles-module__error__300RS",dt="styles-module__info__Qec-V",Ze={badge:st,dot:tt,sm:lt,md:nt,lg:ot,default:"styles-module__default__lOwCs",primary:at,success:_t,warning:ct,error:rt,info:dt};function it({children:s,variant:t="default",size:n="md",dot:l=!1,className:a=""}){return e.jsxs("span",{className:`${Ze.badge} ${Ze[t]} ${Ze[n]} ${a}`,children:[l&&e.jsx("span",{className:Ze.dot}),s]})}const ut="styles-module__breadcrumbs__jVeyK",mt="styles-module__list__IBUYZ",pt="styles-module__item__unpP2",yt="styles-module__link__n-LMO",ht="styles-module__button__MamiK",gt="styles-module__text__xQt-q",ft="styles-module__current__vuaM0",xt="styles-module__separator__81mEk",Se={breadcrumbs:ut,list:mt,item:pt,link:yt,button:ht,text:gt,current:ft,separator:xt};function bt({items:s,separator:t="/",className:n=""}){return e.jsx("nav",{className:`${Se.breadcrumbs} ${n}`,"aria-label":"Breadcrumb",children:e.jsx("ol",{className:Se.list,children:s.map((l,a)=>{const o=a===s.length-1;return e.jsxs("li",{className:Se.item,children:[l.href&&!o?e.jsx("a",{href:l.href,className:Se.link,children:l.label}):l.onClick&&!o?e.jsx("button",{onClick:l.onClick,className:Se.button,children:l.label}):e.jsx("span",{className:`${Se.text} ${o?Se.current:""}`,children:l.label}),!o&&e.jsx("span",{className:Se.separator,"aria-hidden":"true",children:t})]},a)})})})}const vt="styles-module__button__Sh-fr",$t="styles-module__sm__TZ7PA",jt="styles-module__md__MdfAS",Nt="styles-module__lg__zhBVx",wt="styles-module__fullWidth__KAUu7",kt="styles-module__loading__jL3RT",St="styles-module__spinner__cTprF",Ct="styles-module__spin__aE1Nk",Lt="styles-module__hiddenContent__lbKDI",It="styles-module__primary__TRNPt",Mt="styles-module__secondary__QKgly",zt="styles-module__success__DI2AT",Dt="styles-module__danger__dnMp7",Tt="styles-module__outline__-o6rL",Bt="styles-module__ghost__lca2R",We={button:vt,sm:$t,md:jt,lg:Nt,fullWidth:wt,loading:kt,spinner:St,spin:Ct,hiddenContent:Lt,primary:It,secondary:Mt,success:zt,danger:Dt,outline:Tt,ghost:Bt};function Et({variant:s="primary",size:t="md",fullWidth:n=!1,loading:l=!1,disabled:a,className:o="",children:_,...d}){return e.jsxs("button",{className:`
2
2
  ${We.button}
3
3
  ${We[s]}
4
4
  ${We[t]}
5
5
  ${n?We.fullWidth:""}
6
6
  ${l?We.loading:""}
7
7
  ${o}
8
- `,disabled:a||l,...d,children:[l&&e.jsx("span",{className:We.spinner}),e.jsx("span",{className:l?We.hiddenContent:"",children:c})]})}const Et="styles-module__buttonGroup__Uqp-x",Wt="styles-module__horizontal__oeLpW",Rt="styles-module__vertical__ZrJkT",Xt="styles-module__fullWidth__sxqJJ",ts={buttonGroup:Et,horizontal:Wt,vertical:Rt,fullWidth:Xt};function Gt({children:s,orientation:t="horizontal",fullWidth:n=!1,className:l=""}){return e.jsx("div",{className:`
9
- ${ts.buttonGroup}
10
- ${ts[t]}
11
- ${n?ts.fullWidth:""}
8
+ `,disabled:a||l,...d,children:[l&&e.jsx("span",{className:We.spinner}),e.jsx("span",{className:l?We.hiddenContent:"",children:_})]})}const Wt="styles-module__buttonGroup__Uqp-x",Rt="styles-module__horizontal__oeLpW",Xt="styles-module__vertical__ZrJkT",Gt="styles-module__fullWidth__sxqJJ",ls={buttonGroup:Wt,horizontal:Rt,vertical:Xt,fullWidth:Gt};function Vt({children:s,orientation:t="horizontal",fullWidth:n=!1,className:l=""}){return e.jsx("div",{className:`
9
+ ${ls.buttonGroup}
10
+ ${ls[t]}
11
+ ${n?ls.fullWidth:""}
12
12
  ${l}
13
- `,role:"group",children:s})}const Vt="styles-module__card__0iVez",At="styles-module__hoverable__7-MZP",Pt="styles-module__clickable__WiARM",Ft="styles-module__imageWrapper__LlBXL",Ot="styles-module__image__5KApl",Ht="styles-module__content__-0XZZ",Yt="styles-module__header__WVGN7",qt="styles-module__title__-Th-m",Kt="styles-module__subtitle__VDwvc",Zt="styles-module__body__iaDKl",Ut="styles-module__footer__b10VS",re={card:Vt,hoverable:At,clickable:Pt,imageWrapper:Ft,image:Ot,content:Ht,header:Yt,title:qt,subtitle:Kt,body:Zt,footer:Ut};function Jt({children:s,title:t,subtitle:n,footer:l,image:a,hoverable:o=!1,className:c="",onClick:d}){const r=!!d;return e.jsxs("div",{className:`
13
+ `,role:"group",children:s})}const At="styles-module__card__0iVez",Pt="styles-module__hoverable__7-MZP",Ft="styles-module__clickable__WiARM",Ot="styles-module__imageWrapper__LlBXL",Ht="styles-module__image__5KApl",Yt="styles-module__content__-0XZZ",qt="styles-module__header__WVGN7",Kt="styles-module__title__-Th-m",Zt="styles-module__subtitle__VDwvc",Ut="styles-module__body__iaDKl",Jt="styles-module__footer__b10VS",re={card:At,hoverable:Pt,clickable:Ft,imageWrapper:Ot,image:Ht,content:Yt,header:qt,title:Kt,subtitle:Zt,body:Ut,footer:Jt};function Qt({children:s,title:t,subtitle:n,footer:l,image:a,hoverable:o=!1,className:_="",onClick:d}){const r=!!d;return e.jsxs("div",{className:`
14
14
  ${re.card}
15
15
  ${o?re.hoverable:""}
16
16
  ${r?re.clickable:""}
17
- ${c}
18
- `,onClick:d,role:r?"button":void 0,tabIndex:r?0:void 0,children:[a&&e.jsx("div",{className:re.imageWrapper,children:e.jsx("img",{src:a,alt:t||"",className:re.image})}),e.jsxs("div",{className:re.content,children:[(t||n)&&e.jsxs("div",{className:re.header,children:[t&&e.jsx("h3",{className:re.title,children:t}),n&&e.jsx("p",{className:re.subtitle,children:n})]}),e.jsx("div",{className:re.body,children:s}),l&&e.jsx("div",{className:re.footer,children:l})]})]})}const Qt="styles-module__checkboxWrapper__5ECcg",el="styles-module__checkbox__AVGTi",sl="styles-module__checkmark__xfDiG",tl="styles-module__label__56KkR",ll="styles-module__checkIcon__B246P",nl="styles-module__indeterminateIcon__L9Kf-",Ve={checkboxWrapper:Qt,checkbox:el,checkmark:sl,label:tl,checkIcon:ll,indeterminateIcon:nl};function ol({label:s,indeterminate:t=!1,className:n="",...l}){const a=p.useRef(null);return p.useEffect(()=>{a.current&&(a.current.indeterminate=t)},[t]),e.jsxs("label",{className:`${Ve.checkboxWrapper} ${n}`,children:[e.jsx("input",{ref:a,type:"checkbox",className:Ve.checkbox,...l}),e.jsx("span",{className:Ve.checkmark,children:t?e.jsx("span",{className:Ve.indeterminateIcon,children:"−"}):e.jsx("span",{className:Ve.checkIcon,children:"✓"})}),s&&e.jsx("span",{className:Ve.label,children:s})]})}const al="styles-module__combobox__YH03u",cl="styles-module__inputWrapper__UsIYk",_l="styles-module__input__F-6BL",rl="styles-module__disabled__UR9gQ",dl="styles-module__arrow__LV12a",il="styles-module__open__-bJ28",ul="styles-module__menu__twpPT",ml="styles-module__option__v6IYz",pl="styles-module__optionDisabled__vOMRI",yl="styles-module__highlighted__pxy-X",hl="styles-module__noResults__-sgTv",de={combobox:al,inputWrapper:cl,input:_l,disabled:rl,arrow:dl,open:il,menu:ul,option:ml,optionDisabled:pl,highlighted:yl,noResults:hl};function gl({options:s,value:t,defaultValue:n="",onChange:l,placeholder:a="Select or type...",disabled:o=!1,className:c="",allowCustomValue:d=!1,filterFunction:r}){const[_,i]=p.useState(n),[m,v]=p.useState(!1),[h,$]=p.useState(-1),u=p.useRef(null),N=p.useRef(null),b=p.useRef(null),y=t!==void 0,w=y?t:_,x=r||((g,j)=>g.label.toLowerCase().includes(j.toLowerCase())),k=s.filter(g=>x(g,w));p.useEffect(()=>{const g=j=>{b.current&&!b.current.contains(j.target)&&v(!1)};return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[]),p.useEffect(()=>{if(m&&h>=0&&N.current){const g=N.current.children[h];g&&g.scrollIntoView({block:"nearest"})}},[h,m]);const D=g=>{const j=g.target.value;y||i(j),l?.(j),v(!0),$(-1)},M=g=>{if(g.disabled)return;const j=g.value;y||i(g.label),l?.(j),v(!1),$(-1),u.current?.blur()},P=g=>{if(!o)switch(g.key){case"ArrowDown":g.preventDefault(),v(!0),$(j=>{const C=k.length-1;if(j>=C)return C;let E=j+1;for(;E<=C&&k[E].disabled;)E++;return E<=C?E:j});break;case"ArrowUp":g.preventDefault(),$(j=>{if(j<=0)return-1;let C=j-1;for(;C>=0&&k[C].disabled;)C--;return C>=0?C:-1});break;case"Enter":g.preventDefault(),m&&h>=0?M(k[h]):d&&(l?.(w),v(!1));break;case"Escape":g.preventDefault(),v(!1),$(-1),u.current?.blur();break;case"Tab":v(!1);break}},R=()=>{o||v(!0)},B=s.find(g=>g.value===w),O=B?B.label:w;return e.jsxs("div",{ref:b,className:`${de.combobox} ${c}`,children:[e.jsxs("div",{className:de.inputWrapper,children:[e.jsx("input",{ref:u,type:"text",className:`${de.input} ${o?de.disabled:""}`,value:O,onChange:D,onKeyDown:P,onFocus:R,placeholder:a,disabled:o,autoComplete:"off",role:"combobox","aria-expanded":m,"aria-autocomplete":"list","aria-controls":"combobox-listbox"}),e.jsx("span",{className:`${de.arrow} ${m?de.open:""}`,children:"▼"})]}),m&&k.length>0&&e.jsx("ul",{ref:N,id:"combobox-listbox",className:de.menu,role:"listbox",children:k.map((g,j)=>e.jsx("li",{className:`${de.option} ${h===j?de.highlighted:""} ${g.disabled?de.optionDisabled:""}`,onClick:()=>M(g),role:"option","aria-selected":g.value===w,"aria-disabled":g.disabled,children:g.label},g.value))}),m&&k.length===0&&e.jsx("div",{className:de.noResults,children:d?"Press Enter to use custom value":"No results found"})]})}const fl="styles-module__datagridWrapper__rcPKe",xl="styles-module__datagrid__2KTB3",bl="styles-module__thead__VLK3H",vl="styles-module__th__GVqEG",$l="styles-module__tbody__vIVcl",jl="styles-module__tr__Qn6CH",Nl="styles-module__td__UsBhW",wl="styles-module__hoverable__6H3Yy",kl="styles-module__clickable__acA9M",Sl="styles-module__striped__1a6NP",pe={datagridWrapper:fl,datagrid:xl,thead:bl,th:vl,tbody:$l,tr:jl,td:Nl,hoverable:wl,clickable:kl,striped:Sl};function Cl({columns:s,data:t,onRowClick:n,striped:l=!1,hoverable:a=!0,className:o=""}){return e.jsx("div",{className:`${pe.datagridWrapper} ${o}`,children:e.jsxs("table",{className:pe.datagrid,children:[e.jsx("thead",{className:pe.thead,children:e.jsx("tr",{children:s.map(c=>e.jsx("th",{className:pe.th,style:{width:c.width},children:c.header},c.key))})}),e.jsx("tbody",{className:pe.tbody,children:t.map((c,d)=>e.jsx("tr",{className:`
17
+ ${_}
18
+ `,onClick:d,role:r?"button":void 0,tabIndex:r?0:void 0,children:[a&&e.jsx("div",{className:re.imageWrapper,children:e.jsx("img",{src:a,alt:t||"",className:re.image})}),e.jsxs("div",{className:re.content,children:[(t||n)&&e.jsxs("div",{className:re.header,children:[t&&e.jsx("h3",{className:re.title,children:t}),n&&e.jsx("p",{className:re.subtitle,children:n})]}),e.jsx("div",{className:re.body,children:s}),l&&e.jsx("div",{className:re.footer,children:l})]})]})}const el="styles-module__checkboxWrapper__5ECcg",sl="styles-module__checkbox__AVGTi",tl="styles-module__checkmark__xfDiG",ll="styles-module__label__56KkR",nl="styles-module__checkIcon__B246P",ol="styles-module__indeterminateIcon__L9Kf-",Ve={checkboxWrapper:el,checkbox:sl,checkmark:tl,label:ll,checkIcon:nl,indeterminateIcon:ol};function al({label:s,indeterminate:t=!1,className:n="",...l}){const a=p.useRef(null);return p.useEffect(()=>{a.current&&(a.current.indeterminate=t)},[t]),e.jsxs("label",{className:`${Ve.checkboxWrapper} ${n}`,children:[e.jsx("input",{ref:a,type:"checkbox",className:Ve.checkbox,...l}),e.jsx("span",{className:Ve.checkmark,children:t?e.jsx("span",{className:Ve.indeterminateIcon,children:"−"}):e.jsx("span",{className:Ve.checkIcon,children:"✓"})}),s&&e.jsx("span",{className:Ve.label,children:s})]})}const _l="styles-module__combobox__YH03u",cl="styles-module__inputWrapper__UsIYk",rl="styles-module__input__F-6BL",dl="styles-module__disabled__UR9gQ",il="styles-module__arrow__LV12a",ul="styles-module__open__-bJ28",ml="styles-module__menu__twpPT",pl="styles-module__option__v6IYz",yl="styles-module__optionDisabled__vOMRI",hl="styles-module__highlighted__pxy-X",gl="styles-module__noResults__-sgTv",de={combobox:_l,inputWrapper:cl,input:rl,disabled:dl,arrow:il,open:ul,menu:ml,option:pl,optionDisabled:yl,highlighted:hl,noResults:gl};function fl({options:s,value:t,defaultValue:n="",onChange:l,placeholder:a="Select or type...",disabled:o=!1,className:_="",allowCustomValue:d=!1,filterFunction:r}){const[c,i]=p.useState(n),[m,v]=p.useState(!1),[h,$]=p.useState(-1),u=p.useRef(null),N=p.useRef(null),b=p.useRef(null),y=t!==void 0,w=y?t:c,x=r||((g,j)=>g.label.toLowerCase().includes(j.toLowerCase())),k=s.filter(g=>x(g,w));p.useEffect(()=>{const g=j=>{b.current&&!b.current.contains(j.target)&&v(!1)};return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[]),p.useEffect(()=>{if(m&&h>=0&&N.current){const g=N.current.children[h];g&&g.scrollIntoView({block:"nearest"})}},[h,m]);const D=g=>{const j=g.target.value;y||i(j),l?.(j),v(!0),$(-1)},M=g=>{if(g.disabled)return;const j=g.value;y||i(g.label),l?.(j),v(!1),$(-1),u.current?.blur()},P=g=>{if(!o)switch(g.key){case"ArrowDown":g.preventDefault(),v(!0),$(j=>{const C=k.length-1;if(j>=C)return C;let E=j+1;for(;E<=C&&k[E].disabled;)E++;return E<=C?E:j});break;case"ArrowUp":g.preventDefault(),$(j=>{if(j<=0)return-1;let C=j-1;for(;C>=0&&k[C].disabled;)C--;return C>=0?C:-1});break;case"Enter":g.preventDefault(),m&&h>=0?M(k[h]):d&&(l?.(w),v(!1));break;case"Escape":g.preventDefault(),v(!1),$(-1),u.current?.blur();break;case"Tab":v(!1);break}},R=()=>{o||v(!0)},B=s.find(g=>g.value===w),O=B?B.label:w;return e.jsxs("div",{ref:b,className:`${de.combobox} ${_}`,children:[e.jsxs("div",{className:de.inputWrapper,children:[e.jsx("input",{ref:u,type:"text",className:`${de.input} ${o?de.disabled:""}`,value:O,onChange:D,onKeyDown:P,onFocus:R,placeholder:a,disabled:o,autoComplete:"off",role:"combobox","aria-expanded":m,"aria-autocomplete":"list","aria-controls":"combobox-listbox"}),e.jsx("span",{className:`${de.arrow} ${m?de.open:""}`,children:"▼"})]}),m&&k.length>0&&e.jsx("ul",{ref:N,id:"combobox-listbox",className:de.menu,role:"listbox",children:k.map((g,j)=>e.jsx("li",{className:`${de.option} ${h===j?de.highlighted:""} ${g.disabled?de.optionDisabled:""}`,onClick:()=>M(g),role:"option","aria-selected":g.value===w,"aria-disabled":g.disabled,children:g.label},g.value))}),m&&k.length===0&&e.jsx("div",{className:de.noResults,children:d?"Press Enter to use custom value":"No results found"})]})}const xl="styles-module__datagridWrapper__rcPKe",bl="styles-module__datagrid__2KTB3",vl="styles-module__thead__VLK3H",$l="styles-module__th__GVqEG",jl="styles-module__tbody__vIVcl",Nl="styles-module__tr__Qn6CH",wl="styles-module__td__UsBhW",kl="styles-module__hoverable__6H3Yy",Sl="styles-module__clickable__acA9M",Cl="styles-module__striped__1a6NP",pe={datagridWrapper:xl,datagrid:bl,thead:vl,th:$l,tbody:jl,tr:Nl,td:wl,hoverable:kl,clickable:Sl,striped:Cl};function Ll({columns:s,data:t,onRowClick:n,striped:l=!1,hoverable:a=!0,className:o=""}){return e.jsx("div",{className:`${pe.datagridWrapper} ${o}`,children:e.jsxs("table",{className:pe.datagrid,children:[e.jsx("thead",{className:pe.thead,children:e.jsx("tr",{children:s.map(_=>e.jsx("th",{className:pe.th,style:{width:_.width},children:_.header},_.key))})}),e.jsx("tbody",{className:pe.tbody,children:t.map((_,d)=>e.jsx("tr",{className:`
19
19
  ${pe.tr}
20
20
  ${l&&d%2===1?pe.striped:""}
21
21
  ${a?pe.hoverable:""}
22
22
  ${n?pe.clickable:""}
23
- `,onClick:()=>n?.(c),children:s.map(r=>e.jsx("td",{className:pe.td,children:r.render?r.render(c[r.key],c):c[r.key]},r.key))},d))})]})})}const Ll="styles-module__calendar__ksu3Z",Il="styles-module__header__UaHj3",Ml="styles-module__navButton__279oK",zl="styles-module__monthYear__RKQOf",Dl="styles-module__month__w3ai-",Tl="styles-module__year__VN2vF",Bl="styles-module__weekdays__U3vpO",El="styles-module__weekday__g2nb6",Wl="styles-module__days__XPYYB",Rl="styles-module__week__5lMWI",Xl="styles-module__weekNumber__Hgwi-",Gl="styles-module__day__lj7zf",Vl="styles-module__currentMonth__yCa9a",Al="styles-module__otherMonth__ppTX4",Pl="styles-module__today__DSndt",Fl="styles-module__dayNumber__ifIP9",Ol="styles-module__selected__VqCiG",Hl="styles-module__highlighted__QBnL-",Yl="styles-module__disabled__WJUmV",ql="styles-module__eventIndicators__SuOYU",Kl="styles-module__eventDot__1QFLK",Zl="styles-module__eventPulse__1lkEF",Ul="styles-module__footer__rraAV",Jl="styles-module__todayButton__661G0",Ql="styles-module__minimal__5Zdyf",en="styles-module__modern__2J5kk",A={calendar:Ll,header:Il,navButton:Ml,monthYear:zl,month:Dl,year:Tl,weekdays:Bl,weekday:El,days:Wl,week:Rl,weekNumber:Xl,day:Gl,currentMonth:Vl,otherMonth:Al,today:Pl,dayNumber:Fl,selected:Ol,highlighted:Hl,disabled:Yl,eventIndicators:ql,eventDot:Kl,eventPulse:Zl,footer:Ul,todayButton:Jl,minimal:Ql,modern:en},sn=["January","February","March","April","May","June","July","August","September","October","November","December"],ls=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function as({value:s,onChange:t,minDate:n,maxDate:l,events:a=[],highlightedDates:o=[],disabledDates:c=[],showWeekNumbers:d=!1,firstDayOfWeek:r=0,variant:_="default",className:i="",...m}){const[v,h]=p.useState(s||new Date),[$,u]=p.useState(s||null),[N,b]=p.useState(s||new Date),y=p.useMemo(()=>r===1?[...ls.slice(1),ls[0]]:ls,[r]),w=(S,f)=>S.getDate()===f.getDate()&&S.getMonth()===f.getMonth()&&S.getFullYear()===f.getFullYear(),L=S=>n&&S<n||l&&S>l?!0:c.some(f=>w(S,f)),x=S=>o.some(f=>w(S,f)),k=S=>a.filter(f=>w(f.date,S)),D=(S,f)=>new Date(S,f+1,0).getDate(),M=(S,f)=>{const I=new Date(S,f,1).getDay();return r===1?I===0?6:I-1:I},P=S=>{const f=new Date(S.getFullYear(),0,1),I=(S.getTime()-f.getTime())/864e5;return Math.ceil((I+f.getDay()+1)/7)},R=p.useMemo(()=>{const S=N.getFullYear(),f=N.getMonth(),I=D(S,f),be=M(S,f),oe=[],Xe=D(S,f-1);for(let J=be-1;J>=0;J--){const es=f===0?11:f-1,ss=f===0?S-1:S;oe.push(new Date(ss,es,Xe-J))}for(let J=1;J<=I;J++)oe.push(new Date(S,f,J));const He=42-oe.length;for(let J=1;J<=He;J++){const es=f===11?0:f+1,ss=f===11?S+1:S;oe.push(new Date(ss,es,J))}return oe},[N,r]),B=()=>{b(new Date(N.getFullYear(),N.getMonth()-1))},O=()=>{b(new Date(N.getFullYear(),N.getMonth()+1))},g=S=>{L(S)||(u(S),t?.(S))},j=()=>{const S=new Date;b(S),u(S),t?.(S)},C=S=>w(S,new Date),E=S=>$&&w(S,$),K=S=>S.getMonth()===N.getMonth(),W=[];for(let S=0;S<R.length;S+=7)W.push(R.slice(S,S+7));return e.jsxs("div",{className:`${A.calendar} ${A[_]} ${i}`,...m,children:[e.jsxs("div",{className:A.header,children:[e.jsx("button",{type:"button",className:A.navButton,onClick:B,"aria-label":"Previous month",children:e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M15 18L9 12L15 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),e.jsxs("div",{className:A.monthYear,children:[e.jsx("span",{className:A.month,children:sn[N.getMonth()]}),e.jsx("span",{className:A.year,children:N.getFullYear()})]}),e.jsx("button",{type:"button",className:A.navButton,onClick:O,"aria-label":"Next month",children:e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M9 18L15 12L9 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),e.jsxs("div",{className:A.weekdays,children:[d&&e.jsx("div",{className:A.weekNumber,children:"Wk"}),y.map(S=>e.jsx("div",{className:A.weekday,children:S},S))]}),e.jsx("div",{className:A.days,children:W.map((S,f)=>e.jsxs("div",{className:A.week,children:[d&&S[0]&&e.jsx("div",{className:A.weekNumber,children:P(S[0])}),S.map((I,be)=>{if(!I)return e.jsx("div",{className:A.day},be);const oe=k(I),Xe=x(I),He=L(I);return e.jsxs("button",{type:"button",className:`${A.day} ${K(I)?A.currentMonth:A.otherMonth} ${C(I)?A.today:""} ${E(I)?A.selected:""} ${Xe?A.highlighted:""} ${He?A.disabled:""}`,onClick:()=>g(I),disabled:He,"aria-label":I.toDateString(),children:[e.jsx("span",{className:A.dayNumber,children:I.getDate()}),oe.length>0&&e.jsx("div",{className:A.eventIndicators,children:oe.slice(0,3).map(J=>e.jsx("span",{className:A.eventDot,style:{backgroundColor:J.color||"#6366f1"},title:J.title},J.id))})]},be)})]},f))}),e.jsx("div",{className:A.footer,children:e.jsx("button",{type:"button",className:A.todayButton,onClick:j,children:"Today"})})]})}const tn="styles-module__datePicker__uLxOg",ln="styles-module__input__0m5L3",nn="styles-module__disabled__T10FG",on="styles-module__value__6l7A3",an="styles-module__icons__-b7ea",cn="styles-module__clearIcon__ELMFy",_n="styles-module__icon__0-EVW",rn="styles-module__popover__ej0Pl",Ce={datePicker:tn,input:ln,disabled:nn,value:on,icons:an,clearIcon:cn,icon:_n,popover:rn};function dn({value:s,onChange:t,minDate:n,maxDate:l,placeholder:a="Select a date",disabled:o=!1,variant:c="default",className:d="",...r}){const[_,i]=p.useState(!1),m=p.useRef(null);p.useEffect(()=>{const u=N=>{m.current&&!m.current.contains(N.target)&&i(!1)};return _&&document.addEventListener("mousedown",u),()=>{document.removeEventListener("mousedown",u)}},[_]);const v=u=>{t?.(u),i(!1)},h=u=>{u.stopPropagation(),t?.(null)},$=u=>u.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"});return e.jsxs("div",{className:`${Ce.datePicker} ${d}`,ref:m,...r,children:[e.jsxs("button",{type:"button",className:`${Ce.input} ${o?Ce.disabled:""}`,onClick:()=>!o&&i(!_),disabled:o,children:[e.jsx("span",{className:Ce.value,children:s?$(s):a}),e.jsxs("span",{className:Ce.icons,children:[s&&!o&&e.jsx("span",{className:Ce.clearIcon,onClick:h,children:"×"}),e.jsx("span",{className:Ce.icon,children:"📅"})]})]}),_&&e.jsx("div",{className:Ce.popover,children:e.jsx(as,{value:s,onChange:v,minDate:n,maxDate:l,variant:c})})]})}const un="styles-module__dateRangePicker__2-ckk",mn="styles-module__input__yirN1",pn="styles-module__disabled__88Oht",yn="styles-module__value__rLHDv",hn="styles-module__icons__Ceazb",gn="styles-module__clearIcon__XoOWV",fn="styles-module__icon__k-Xdp",xn="styles-module__popover__PVw7h",bn="styles-module__rangeInfo__qCqH0",ve={dateRangePicker:un,input:mn,disabled:pn,value:yn,icons:hn,clearIcon:gn,icon:fn,popover:xn,rangeInfo:bn};function vn({value:s,onChange:t,minDate:n,maxDate:l,className:a="",placeholder:o="Select date range",disabled:c=!1,variant:d="default"}){const[r,_]=p.useState(!1),[i,m]=p.useState({start:null,end:null}),[v,h]=p.useState(!1),$=p.useRef(null);p.useEffect(()=>{const L=x=>{$.current&&!$.current.contains(x.target)&&(_(!1),m({start:null,end:null}),h(!1))};return r&&document.addEventListener("mousedown",L),()=>{document.removeEventListener("mousedown",L)}},[r]);const u=L=>{if(!v)m({start:L,end:null}),h(!0);else{const x=i.start,k=L;x>k?t?.({start:k,end:x}):t?.({start:x,end:k}),_(!1),m({start:null,end:null}),h(!1)}},N=L=>{L.stopPropagation(),t?.({start:null,end:null}),m({start:null,end:null}),h(!1)},b=L=>L.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}),y=()=>s?.start&&s?.end?`${b(s.start)} → ${b(s.end)}`:s?.start?b(s.start):o,w=()=>{const L=[],x=i.start||s?.start,k=i.end||s?.end;if(x&&k){const D=new Date(x);for(;D<=k;)L.push(new Date(D)),D.setDate(D.getDate()+1)}return L};return e.jsxs("div",{className:`${ve.dateRangePicker} ${a}`,ref:$,children:[e.jsxs("button",{type:"button",className:`${ve.input} ${c?ve.disabled:""}`,onClick:()=>!c&&_(!r),disabled:c,children:[e.jsx("span",{className:ve.value,children:y()}),e.jsxs("span",{className:ve.icons,children:[(s?.start||s?.end)&&!c&&e.jsx("span",{className:ve.clearIcon,onClick:N,children:"×"}),e.jsx("span",{className:ve.icon,children:"📅"})]})]}),r&&e.jsxs("div",{className:ve.popover,children:[e.jsx("div",{className:ve.rangeInfo,children:v?"Select end date":"Select start date"}),e.jsx(as,{value:i.start||s?.start||void 0,onChange:u,minDate:n,maxDate:l,highlightedDates:w(),variant:d})]})]})}const $n="styles-module__divider__I6KTc",jn="styles-module__horizontal__rrjPy",Nn="styles-module__solid__LhHPX",wn="styles-module__dashed__2ZL2z",kn="styles-module__dotted__N8tLr",Sn="styles-module__line__ff0dO",Cn="styles-module__label__izE2E",Ln="styles-module__vertical__RBm03",Ae={divider:$n,horizontal:jn,solid:Nn,dashed:wn,dotted:kn,line:Sn,label:Cn,vertical:Ln};function In({orientation:s="horizontal",variant:t="solid",label:n,className:l=""}){const a=`${Ae.divider} ${Ae[s]} ${Ae[t]} ${l}`;return n&&s==="horizontal"?e.jsxs("div",{className:a,children:[e.jsx("span",{className:Ae.line}),e.jsx("span",{className:Ae.label,children:n}),e.jsx("span",{className:Ae.line})]}):e.jsx("div",{className:a})}const Mn="styles-module__dropdown__uiKSF",zn="styles-module__trigger__tVV7I",Dn="styles-module__disabled__Xy0oo",Tn="styles-module__selected__RnAL-",Bn="styles-module__placeholder__aePOZ",En="styles-module__arrow__QYBcO",Wn="styles-module__open__huthl",Rn="styles-module__menu__Fvg4d",Xn="styles-module__option__OLwBz",Gn="styles-module__optionDisabled__n9Gdm",Vn="styles-module__active__W7XbV",ie={dropdown:Mn,trigger:zn,disabled:Dn,selected:Tn,placeholder:Bn,arrow:En,open:Wn,menu:Rn,option:Xn,optionDisabled:Gn,active:Vn};function An({options:s,value:t,onChange:n,placeholder:l="Select an option",disabled:a=!1,className:o=""}){const[c,d]=p.useState(!1),[r,_]=p.useState(t||""),i=p.useRef(null);p.useEffect(()=>{const $=u=>{i.current&&!i.current.contains(u.target)&&d(!1)};return document.addEventListener("mousedown",$),()=>document.removeEventListener("mousedown",$)},[]);const m=$=>{a||(_($),d(!1),n?.($))},v=s.find($=>$.value===r),h=v?.label||l;return e.jsxs("div",{className:`${ie.dropdown} ${o}`,ref:i,children:[e.jsxs("button",{className:`${ie.trigger} ${a?ie.disabled:""}`,onClick:()=>!a&&d(!c),disabled:a,type:"button",children:[e.jsx("span",{className:v?ie.selected:ie.placeholder,children:h}),e.jsx("span",{className:`${ie.arrow} ${c?ie.open:""}`,children:"▼"})]}),c&&e.jsx("div",{className:ie.menu,children:s.map($=>e.jsx("div",{className:`${ie.option} ${$.value===r?ie.active:""} ${$.disabled?ie.optionDisabled:""}`,onClick:()=>!$.disabled&&m($.value),children:$.label},$.value))})]})}const Pn="styles-module__filePicker__mq8yj",Fn="styles-module__dropzone__DdFZi",On="styles-module__disabled__PEgD4",Hn="styles-module__icon__lgApu",Yn="styles-module__text__Djodx",qn="styles-module__input__3Edc4",Kn="styles-module__fileList__mG9O1",Zn="styles-module__fileItem__NB3Uq",Un="styles-module__processing__R-ZHY",Jn="styles-module__uploaded__gJ1od",Qn="styles-module__failed__MlKNj",eo="styles-module__fileIcon__IUNOU",so="styles-module__fileName__E1M5I",to="styles-module__fileSize__Yiown",lo="styles-module__error__KmdmE",no="styles-module__remove__JiGmS",se={filePicker:Pn,dropzone:Fn,disabled:On,icon:Hn,text:Yn,input:qn,fileList:Kn,fileItem:Zn,processing:Un,uploaded:Jn,failed:Qn,fileIcon:eo,fileName:so,fileSize:to,error:lo,remove:no};function oo({accept:s,multiple:t=!1,maxSize:n,disabled:l=!1,onChange:a,onUpload:o,className:c=""}){const[d,r]=p.useState([]),_=p.useRef(null),i=async u=>{if(!u||l)return;const N=Array.from(u).map(b=>n&&b.size>n?{file:b,status:"failed",error:"File too large"}:{file:b,status:"idle"});if(r(b=>[...b,...N]),a?.(N),o)for(const b of N)b.status!=="failed"&&await m(b)},m=async u=>{v(u.file.name,"processing");try{await o?.(u.file),v(u.file.name,"uploaded")}catch(N){v(u.file.name,"failed",N.message)}},v=(u,N,b)=>{r(y=>y.map(w=>w.file.name===u?{...w,status:N,error:b}:w))},h=u=>{r(N=>N.filter(b=>b.file.name!==u))},$=u=>{switch(u){case"processing":return"⏳";case"uploaded":return"✓";case"failed":return"✗";default:return"📄"}};return e.jsxs("div",{className:`${se.filePicker} ${c}`,children:[e.jsxs("div",{className:`${se.dropzone} ${l?se.disabled:""}`,onClick:()=>!l&&_.current?.click(),children:[e.jsx("span",{className:se.icon,children:"📁"}),e.jsx("span",{className:se.text,children:"Click to select files"})]}),e.jsx("input",{ref:_,type:"file",accept:s,multiple:t,disabled:l,onChange:u=>i(u.target.files),className:se.input}),d.length>0&&e.jsx("div",{className:se.fileList,children:d.map((u,N)=>e.jsxs("div",{className:`${se.fileItem} ${se[u.status]}`,children:[e.jsx("span",{className:se.fileIcon,children:$(u.status)}),e.jsx("span",{className:se.fileName,children:u.file.name}),e.jsxs("span",{className:se.fileSize,children:[(u.file.size/1024).toFixed(1)," KB"]}),u.error&&e.jsx("span",{className:se.error,children:u.error}),e.jsx("button",{className:se.remove,onClick:()=>h(u.file.name),children:"×"})]},`${u.file.name}-${N}`))})]})}const ao="styles-module__header__9QAJF",co="styles-module__sticky__wm-sd",_o="styles-module__content__ZPdW7",ro="styles-module__brand__-0bx7",io="styles-module__logo__3KpY5",uo="styles-module__title__yDhEG",mo="styles-module__nav__6MmHf",po="styles-module__actions__yTPsJ",Le={header:ao,sticky:co,content:_o,brand:ro,logo:io,title:uo,nav:mo,actions:po};function yo({logo:s,title:t,children:n,actions:l,sticky:a=!1,className:o=""}){return e.jsx("header",{className:`${Le.header} ${a?Le.sticky:""} ${o}`,children:e.jsxs("div",{className:Le.content,children:[(s||t)&&e.jsxs("div",{className:Le.brand,children:[s&&e.jsx("div",{className:Le.logo,children:s}),t&&e.jsx("h1",{className:Le.title,children:t})]}),n&&e.jsx("div",{className:Le.nav,children:n}),l&&e.jsx("div",{className:Le.actions,children:l})]})})}const ho="styles-module__inputContainer__KSDK-",go="styles-module__fullWidth__rLaUj",fo="styles-module__label__-uPCz",xo="styles-module__wrapper__JTZMt",bo="styles-module__input__KRJnF",vo="styles-module__withIcon__mikvP",$o="styles-module__disabled__NjJFs",jo="styles-module__sm__cr6Ko",No="styles-module__lg__geHP2",wo="styles-module__error__UCrFp",ko="styles-module__success__fKUT8",So="styles-module__icon__qopq-",Co="styles-module__helperText__9ULK8",Lo="styles-module__errorText__JTsOi",ae={inputContainer:ho,fullWidth:go,label:fo,wrapper:xo,input:bo,withIcon:vo,disabled:$o,sm:jo,lg:No,error:wo,success:ko,icon:So,helperText:Co,errorText:Lo},cs=p.forwardRef(({label:s,error:t,helperText:n,size:l="md",variant:a="default",icon:o,fullWidth:c=!1,className:d="",disabled:r=!1,..._},i)=>{const m=t?"error":a,v=`${ae.inputContainer} ${c?ae.fullWidth:""} ${d}`,h=`${ae.input} ${ae[l]} ${ae[m]} ${o?ae.withIcon:""} ${r?ae.disabled:""}`;return e.jsxs("div",{className:v,children:[s&&e.jsx("label",{className:ae.label,children:s}),e.jsxs("div",{className:ae.wrapper,children:[o&&e.jsx("span",{className:ae.icon,children:o}),e.jsx("input",{ref:i,className:h,disabled:r,..._})]}),(t||n)&&e.jsx("span",{className:`${ae.helperText} ${t?ae.errorText:""}`,children:t||n})]})});cs.displayName="Input";const Io="styles-module__label__QjEAd",Mo="styles-module__disabled__yJ4NK",zo="styles-module__sm__KnRgV",Do="styles-module__md__z8a54",To="styles-module__lg__KOzy-",Bo="styles-module__required__ZBqbG",Ue={label:Io,disabled:Mo,sm:zo,md:Do,lg:To,required:Bo};function Eo({size:s="md",required:t=!1,disabled:n=!1,className:l="",children:a,...o}){return e.jsxs("label",{className:`${Ue.label} ${Ue[s]} ${n?Ue.disabled:""} ${l}`,...o,children:[a,t&&e.jsx("span",{className:Ue.required,children:"*"})]})}const Wo="styles-module__list__i-PH3",Ro="styles-module__dividers__klcR-",Xo="styles-module__item__hLR7A",Go="styles-module__hoverable__6FbJF",Vo="styles-module__clickable__ahnDb",Ao="styles-module__disabled__W5Z3Y",Po="styles-module__icon__fSr06",Fo="styles-module__content__ujdaE",Oo="styles-module__badge__dwlRk",$e={list:Wo,dividers:Ro,item:Xo,hoverable:Go,clickable:Vo,disabled:Ao,icon:Po,content:Fo,badge:Oo};function Ho({items:s,hoverable:t=!1,dividers:n=!1,className:l=""}){return e.jsx("ul",{className:`${$e.list} ${n?$e.dividers:""} ${l}`,children:s.map(a=>e.jsxs("li",{className:`${$e.item} ${t&&!a.disabled?$e.hoverable:""} ${a.disabled?$e.disabled:""} ${a.onClick&&!a.disabled?$e.clickable:""}`,onClick:a.disabled?void 0:a.onClick,children:[a.icon&&e.jsx("span",{className:$e.icon,children:a.icon}),e.jsx("span",{className:$e.content,children:a.content}),a.badge&&e.jsx("span",{className:$e.badge,children:a.badge})]},a.id))})}const Yo="styles-module__overlay__Ty-He",qo="styles-module__fadeIn__vywQ8",Ko="styles-module__modal__bC015",Zo="styles-module__slideUp__i-uri",Uo="styles-module__sm__HasCZ",Jo="styles-module__md__y-51k",Qo="styles-module__lg__bXotd",ea="styles-module__xl__wKYbR",sa="styles-module__header__agEZy",ta="styles-module__title__91HGo",la="styles-module__closeButton__u-naO",na="styles-module__content__1xlis",oa="styles-module__footer__m3SbZ",Ie={overlay:Yo,fadeIn:qo,modal:Ko,slideUp:Zo,sm:Uo,md:Jo,lg:Qo,xl:ea,header:sa,title:ta,closeButton:la,content:na,footer:oa};function aa({isOpen:s,onClose:t,title:n,children:l,footer:a,size:o="md",closeOnOverlayClick:c=!0,showCloseButton:d=!0,className:r=""}){return p.useEffect(()=>(s?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[s]),p.useEffect(()=>{const _=i=>{i.key==="Escape"&&s&&t()};return document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[s,t]),s?e.jsx("div",{className:Ie.overlay,onClick:c?t:void 0,children:e.jsxs("div",{className:`${Ie.modal} ${Ie[o]} ${r}`,onClick:_=>_.stopPropagation(),children:[(n||d)&&e.jsxs("div",{className:Ie.header,children:[n&&e.jsx("h2",{className:Ie.title,children:n}),d&&e.jsx("button",{className:Ie.closeButton,onClick:t,type:"button",children:"×"})]}),e.jsx("div",{className:Ie.content,children:l}),a&&e.jsx("div",{className:Ie.footer,children:a})]})}):null}const ca="styles-module__pagination__P-TuL",_a="styles-module__pageButton__saWQq",ra="styles-module__active__6G9dp",da="styles-module__dots__HNsj1",Me={pagination:ca,pageButton:_a,active:ra,dots:da};function ia({currentPage:s,totalPages:t,onPageChange:n,showFirstLast:l=!0,siblingCount:a=1,className:o=""}){const c=(m,v)=>Array.from({length:v-m+1},(h,$)=>m+$),r=(()=>{const m=a+5;if(t<=m)return c(1,t);const v=Math.max(s-a,1),h=Math.min(s+a,t),$=v>2,u=h<t-1;return!$&&u?[...c(1,3+2*a),"...",t]:$&&!u?[1,"...",...c(t-(2+2*a),t)]:[1,"...",...c(v,h),"...",t]})(),_=()=>{s>1&&n(s-1)},i=()=>{s<t&&n(s+1)};return e.jsxs("nav",{className:`${Me.pagination} ${o}`,children:[l&&e.jsx("button",{className:Me.pageButton,onClick:()=>n(1),disabled:s===1,children:"«"}),e.jsx("button",{className:Me.pageButton,onClick:_,disabled:s===1,children:"‹"}),r.map((m,v)=>m==="..."?e.jsx("span",{className:Me.dots,children:"..."},`dots-${v}`):e.jsx("button",{className:`${Me.pageButton} ${m===s?Me.active:""}`,onClick:()=>n(m),children:m},m)),e.jsx("button",{className:Me.pageButton,onClick:i,disabled:s===t,children:"›"}),l&&e.jsx("button",{className:Me.pageButton,onClick:()=>n(t),disabled:s===t,children:"»"})]})}const ua="styles-module__container__u4q5n",ma="styles-module__progressBar__wAUjD",pa="styles-module__sm__ZBiyl",ya="styles-module__md__oXZzu",ha="styles-module__lg__JmNO0",ga="styles-module__fill__bDflZ",fa="styles-module__success__drT36",xa="styles-module__warning__p-mHQ",ba="styles-module__error__ecpJB",va="styles-module__info__vfjga",$a="styles-module__striped__El9o5",ja="styles-module__animated__9FN7u",Na="styles-module__progress-stripes__etVVj",wa="styles-module__label__TpB8Q",ze={container:ua,progressBar:ma,sm:pa,md:ya,lg:ha,fill:ga,default:"styles-module__default__7qIAE",success:fa,warning:xa,error:ba,info:va,striped:$a,animated:ja,"progress-stripes":"styles-module__progress-stripes__etVVj",progressStripes:Na,label:wa};function ka({value:s,max:t=100,variant:n="default",size:l="md",showLabel:a=!1,label:o,animated:c=!1,striped:d=!1,className:r=""}){const _=Math.min(Math.max(s/t*100,0),100),i=o||`${Math.round(_)}%`;return e.jsx("div",{className:`${ze.container} ${r}`,children:e.jsx("div",{className:`${ze.progressBar} ${ze[l]}`,children:e.jsx("div",{className:`${ze.fill} ${ze[n]} ${d?ze.striped:""} ${c?ze.animated:""}`,style:{width:`${_}%`},children:a&&e.jsx("span",{className:ze.label,children:i})})})})}const Sa="styles-module__radioButton__30HVZ",Ca="styles-module__disabled__TuSU6",La="styles-module__input__-NkgJ",Ia="styles-module__radio__dKOL5",Ma="styles-module__label__M94so",Ye={radioButton:Sa,disabled:Ca,input:La,radio:Ia,label:Ma};function za({label:s,value:t,name:n,checked:l=!1,disabled:a=!1,onChange:o,className:c="",...d}){return e.jsxs("label",{className:`${Ye.radioButton} ${a?Ye.disabled:""} ${c}`,children:[e.jsx("input",{type:"radio",name:n,value:t,checked:l,disabled:a,onChange:o,className:Ye.input,...d}),e.jsx("span",{className:Ye.radio}),s&&e.jsx("span",{className:Ye.label,children:s})]})}const Da="styles-module__container__KhKB7",Ta="styles-module__label__nGyr8",Ba="styles-module__rangeWrapper__dnhOv",Ea="styles-module__inputWrapper__vVIhy",Wa="styles-module__input__C9H5I",Ra="styles-module__disabled__8xB9M",Xa="styles-module__minMax__5jVHq",Ga="styles-module__value__4hZJK",je={container:Da,label:Ta,rangeWrapper:Ba,inputWrapper:Ea,input:Wa,disabled:Ra,minMax:Xa,value:Ga};function Va({label:s,min:t=0,max:n=100,step:l=1,value:a=50,showValue:o=!1,showMinMax:c=!1,onChange:d,className:r="",disabled:_=!1,...i}){const m=(a-t)/(n-t)*100;return e.jsxs("div",{className:`${je.container} ${r}`,children:[s&&e.jsx("label",{className:je.label,children:s}),e.jsxs("div",{className:je.rangeWrapper,children:[c&&e.jsx("span",{className:je.minMax,children:t}),e.jsx("div",{className:je.inputWrapper,children:e.jsx("input",{type:"range",min:t,max:n,step:l,value:a,onChange:d,disabled:_,className:`${je.input} ${_?je.disabled:""}`,style:{"--percentage":`${m}%`},...i})}),c&&e.jsx("span",{className:je.minMax,children:n})]}),o&&e.jsx("span",{className:je.value,children:a})]})}const Aa="styles-module__richSelect__xtDdz",Pa="styles-module__trigger__nkuFi",Fa="styles-module__disabled__aRnNR",Oa="styles-module__selectedContent__1YUDI",Ha="styles-module__textContent__sVML5",Ya="styles-module__label__DYAVs",qa="styles-module__description__-NG4t",Ka="styles-module__placeholder__83U0w",Za="styles-module__icon__v-J2b",Ua="styles-module__arrow__m-D1Y",Ja="styles-module__open__gZef9",Qa="styles-module__menu__zMZHy",ec="styles-module__searchWrapper__yPXor",sc="styles-module__searchInput__Vq3C6",tc="styles-module__optionsList__OAhYK",lc="styles-module__option__vTDi0",nc="styles-module__optionDisabled__spphz",oc="styles-module__active__FRlKy",ac="styles-module__noResults__DsPu8",H={richSelect:Aa,trigger:Pa,disabled:Fa,selectedContent:Oa,textContent:Ha,label:Ya,description:qa,placeholder:Ka,icon:Za,arrow:Ua,open:Ja,menu:Qa,searchWrapper:ec,searchInput:sc,optionsList:tc,option:lc,optionDisabled:nc,active:oc,noResults:ac};function cc({options:s,value:t,onChange:n,placeholder:l="Select an option",disabled:a=!1,searchable:o=!1,className:c=""}){const[d,r]=p.useState(!1),[_,i]=p.useState(""),m=p.useRef(null);p.useEffect(()=>{const u=N=>{m.current&&!m.current.contains(N.target)&&(r(!1),i(""))};return document.addEventListener("mousedown",u),()=>document.removeEventListener("mousedown",u)},[]);const v=u=>{a||(n?.(u),r(!1),i(""))},h=s.find(u=>u.value===t),$=o?s.filter(u=>u.label.toLowerCase().includes(_.toLowerCase())):s;return e.jsxs("div",{className:`${H.richSelect} ${c}`,ref:m,children:[e.jsxs("button",{className:`${H.trigger} ${a?H.disabled:""}`,onClick:()=>!a&&r(!d),disabled:a,type:"button",children:[h?e.jsxs("div",{className:H.selectedContent,children:[h.icon&&e.jsx("span",{className:H.icon,children:h.icon}),e.jsxs("div",{className:H.textContent,children:[e.jsx("span",{className:H.label,children:h.label}),h.description&&e.jsx("span",{className:H.description,children:h.description})]})]}):e.jsx("span",{className:H.placeholder,children:l}),e.jsx("span",{className:`${H.arrow} ${d?H.open:""}`,children:"▼"})]}),d&&e.jsxs("div",{className:H.menu,children:[o&&e.jsx("div",{className:H.searchWrapper,children:e.jsx("input",{type:"text",className:H.searchInput,placeholder:"Search...",value:_,onChange:u=>i(u.target.value),autoFocus:!0})}),e.jsxs("div",{className:H.optionsList,children:[$.map(u=>e.jsxs("div",{className:`${H.option} ${u.value===t?H.active:""} ${u.disabled?H.optionDisabled:""}`,onClick:()=>!u.disabled&&v(u.value),children:[u.icon&&e.jsx("span",{className:H.icon,children:u.icon}),e.jsxs("div",{className:H.textContent,children:[e.jsx("span",{className:H.label,children:u.label}),u.description&&e.jsx("span",{className:H.description,children:u.description})]})]},u.value)),$.length===0&&e.jsx("div",{className:H.noResults,children:"No results found"})]})]})]})}const _c="styles-module__overlay__tP-g3",rc="styles-module__fadeIn__MKn3S",dc="styles-module__sidePanel__bfmoW",ic="styles-module__left__X7-S4",uc="styles-module__slideInLeft__nE6Ff",mc="styles-module__right__Fvefe",pc="styles-module__slideInRight__bvjTy",yc="styles-module__sm__CHsFH",hc="styles-module__md__17Q10",gc="styles-module__lg__8XCJd",fc="styles-module__header__-AKr-",xc="styles-module__title__8S4yp",bc="styles-module__closeButton__DQgJe",vc="styles-module__content__XGAif",$c="styles-module__footer__cX66N",Ne={overlay:_c,fadeIn:rc,sidePanel:dc,left:ic,slideInLeft:uc,right:mc,slideInRight:pc,sm:yc,md:hc,lg:gc,header:fc,title:xc,closeButton:bc,content:vc,footer:$c};function jc({isOpen:s,onClose:t,title:n,children:l,footer:a,position:o="right",size:c="md",closeOnOverlayClick:d=!0,showCloseButton:r=!0,className:_=""}){return p.useEffect(()=>(s?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[s]),p.useEffect(()=>{const i=m=>{m.key==="Escape"&&s&&t()};return document.addEventListener("keydown",i),()=>document.removeEventListener("keydown",i)},[s,t]),s?e.jsx("div",{className:Ne.overlay,onClick:d?t:void 0,children:e.jsxs("div",{className:`${Ne.sidePanel} ${Ne[o]} ${Ne[c]} ${_}`,onClick:i=>i.stopPropagation(),children:[(n||r)&&e.jsxs("div",{className:Ne.header,children:[n&&e.jsx("h2",{className:Ne.title,children:n}),r&&e.jsx("button",{className:Ne.closeButton,onClick:t,type:"button",children:"×"})]}),e.jsx("div",{className:Ne.content,children:l}),a&&e.jsx("div",{className:Ne.footer,children:a})]})}):null}const Nc="styles-module__signpost__tLnmc",wc="styles-module__trigger__25KnS",kc="styles-module__content__z4pUG",Sc="styles-module__fadeIn__0jB27",Cc="styles-module__top__Jn5XX",Lc="styles-module__bottom__CGe3J",Ic="styles-module__left__zuDmF",Mc="styles-module__right__xnSw3",zc="styles-module__inner__7euCB",Dc="styles-module__arrow__mGVpk",Pe={signpost:Nc,trigger:wc,content:kc,fadeIn:Sc,top:Cc,bottom:Lc,left:Ic,right:Mc,inner:zc,arrow:Dc};function Tc({trigger:s,children:t,position:n="top",className:l=""}){const[a,o]=p.useState(!1),c=p.useRef(null);return p.useEffect(()=>{const d=r=>{c.current&&!c.current.contains(r.target)&&o(!1)};return a&&document.addEventListener("mousedown",d),()=>document.removeEventListener("mousedown",d)},[a]),e.jsxs("div",{className:`${Pe.signpost} ${l}`,ref:c,children:[e.jsx("div",{className:Pe.trigger,onClick:()=>o(!a),children:s}),a&&e.jsxs("div",{className:`${Pe.content} ${Pe[n]}`,children:[e.jsx("div",{className:Pe.arrow}),e.jsx("div",{className:Pe.inner,children:t})]})]})}const Bc="styles-module__spinnerWrapper__ht5E9",Ec="styles-module__spinner__D8f-h",Wc="styles-module__circle__z537L",Rc="styles-module__spin__Gt3A-",Xc="styles-module__sm__Ukc8Q",Gc="styles-module__md__Hg7EK",Vc="styles-module__lg__ac6jQ",Ac="styles-module__primary__Pah-x",Pc="styles-module__secondary__D29qO",Fc="styles-module__label__nc2IY",Fe={spinnerWrapper:Bc,spinner:Ec,circle:Wc,spin:Rc,sm:Xc,md:Gc,lg:Vc,default:"styles-module__default__X7JGx",primary:Ac,secondary:Pc,label:Fc};function Oc({size:s="md",variant:t="default",className:n="",label:l}){return e.jsxs("div",{className:`${Fe.spinnerWrapper} ${n}`,children:[e.jsx("div",{className:`${Fe.spinner} ${Fe[s]} ${Fe[t]}`,role:"status","aria-label":l||"Loading",children:e.jsx("div",{className:Fe.circle})}),l&&e.jsx("span",{className:Fe.label,children:l})]})}const Hc="styles-module__stackView__wGZRw",Yc="styles-module__horizontal__MCJ8E",qc="styles-module__vertical__INW6v",Kc="styles-module__wrap__wvZPS",Zc="styles-module__align-start__TeH6Z",Uc="styles-module__align-center__DWOt-",Jc="styles-module__align-end__9Xsx4",Qc="styles-module__align-stretch__raPvB",e_="styles-module__justify-start__YVdZp",s_="styles-module__justify-center__VKg8-",t_="styles-module__justify-end__kVPBC",l_="styles-module__justify-space-between__z5-wE",n_="styles-module__justify-space-around__FP-0m",o_="styles-module__justify-space-evenly__v5xco",a_="styles-module__spacing-none__M23xt",c_="styles-module__spacing-xs__zdXjS",__="styles-module__spacing-sm__G-5sR",r_="styles-module__spacing-md__oa-Jw",d_="styles-module__spacing-lg__5zhiQ",i_="styles-module__spacing-xl__qSFPT",Oe={stackView:Hc,horizontal:Yc,vertical:qc,wrap:Kc,"align-start":"styles-module__align-start__TeH6Z",alignStart:Zc,"align-center":"styles-module__align-center__DWOt-",alignCenter:Uc,"align-end":"styles-module__align-end__9Xsx4",alignEnd:Jc,"align-stretch":"styles-module__align-stretch__raPvB",alignStretch:Qc,"justify-start":"styles-module__justify-start__YVdZp",justifyStart:e_,"justify-center":"styles-module__justify-center__VKg8-",justifyCenter:s_,"justify-end":"styles-module__justify-end__kVPBC",justifyEnd:t_,"justify-space-between":"styles-module__justify-space-between__z5-wE",justifySpaceBetween:l_,"justify-space-around":"styles-module__justify-space-around__FP-0m",justifySpaceAround:n_,"justify-space-evenly":"styles-module__justify-space-evenly__v5xco",justifySpaceEvenly:o_,"spacing-none":"styles-module__spacing-none__M23xt",spacingNone:a_,"spacing-xs":"styles-module__spacing-xs__zdXjS",spacingXs:c_,"spacing-sm":"styles-module__spacing-sm__G-5sR",spacingSm:__,"spacing-md":"styles-module__spacing-md__oa-Jw",spacingMd:r_,"spacing-lg":"styles-module__spacing-lg__5zhiQ",spacingLg:d_,"spacing-xl":"styles-module__spacing-xl__qSFPT",spacingXl:i_};function u_({children:s,direction:t="horizontal",align:n="start",justify:l="start",spacing:a="md",wrap:o=!1,className:c="",style:d}){return e.jsx("div",{className:`${Oe.stackView} ${Oe[t]} ${Oe[`align-${n}`]} ${Oe[`justify-${l}`]} ${Oe[`spacing-${a}`]} ${o?Oe.wrap:""} ${c}`,style:d,children:s})}const m_="styles-module__stepper__NUsL2",p_="styles-module__horizontal__wW8by",y_="styles-module__vertical__UqRFo",h_="styles-module__step__lmR8-",g_="styles-module__clickable__-O5QE",f_="styles-module__stepIndicator__GbO4U",x_="styles-module__current__LW7L4",b_="styles-module__completed__MC9gq",v_="styles-module__checkmark__GAoUn",$_="styles-module__stepNumber__qLNDJ",j_="styles-module__stepContent__pKC94",N_="styles-module__stepLabel__JK-4j",w_="styles-module__stepDescription__hlARr",k_="styles-module__connector__76Rsb",te={stepper:m_,horizontal:p_,vertical:y_,step:h_,clickable:g_,stepIndicator:f_,current:x_,completed:b_,checkmark:v_,stepNumber:$_,stepContent:j_,stepLabel:N_,stepDescription:w_,connector:k_};function S_({steps:s,currentStep:t,orientation:n="horizontal",onStepClick:l,className:a=""}){return e.jsx("div",{className:`${te.stepper} ${te[n]} ${a}`,children:s.map((o,c)=>{const d=c<t,r=c===t,_=l&&(d||r);return e.jsxs(p.Fragment,{children:[e.jsxs("div",{className:`${te.step} ${d?te.completed:""} ${r?te.current:""} ${_?te.clickable:""}`,onClick:()=>_&&l(c),children:[e.jsx("div",{className:te.stepIndicator,children:d?e.jsx("span",{className:te.checkmark,children:"✓"}):o.icon?o.icon:e.jsx("span",{className:te.stepNumber,children:c+1})}),e.jsxs("div",{className:te.stepContent,children:[e.jsx("div",{className:te.stepLabel,children:o.label}),o.description&&e.jsx("div",{className:te.stepDescription,children:o.description})]})]}),c<s.length-1&&e.jsx("div",{className:`${te.connector} ${d?te.completed:""}`})]},c)})})}const C_="styles-module__tableWrapper__7pbjW",L_="styles-module__table__G-UMw",I_="styles-module__thead__uTTEj",M_="styles-module__th__tBFLB",z_="styles-module__tbody__-OiiP",D_="styles-module__tr__ioLC7",T_="styles-module__td__mjOQt",B_="styles-module__striped__iZ3bT",E_="styles-module__hoverable__ewlPb",W_="styles-module__bordered__IB5cr",R_="styles-module__compact__JfcIE",X_="styles-module__clickable__URnJc",G_="styles-module__empty__Xo2NZ",ne={tableWrapper:C_,table:L_,thead:I_,th:M_,tbody:z_,tr:D_,td:T_,striped:B_,hoverable:E_,bordered:W_,compact:R_,clickable:X_,empty:G_};function V_({columns:s,data:t,striped:n=!1,hoverable:l=!1,bordered:a=!1,compact:o=!1,onRowClick:c,className:d=""}){return e.jsxs("div",{className:`${ne.tableWrapper} ${d}`,children:[e.jsxs("table",{className:`${ne.table} ${n?ne.striped:""} ${l?ne.hoverable:""} ${a?ne.bordered:""} ${o?ne.compact:""}`,children:[e.jsx("thead",{className:ne.thead,children:e.jsx("tr",{children:s.map(r=>e.jsx("th",{className:ne.th,style:{width:r.width},children:r.header},r.key))})}),e.jsx("tbody",{className:ne.tbody,children:t.map((r,_)=>e.jsx("tr",{className:`${ne.tr} ${c?ne.clickable:""}`,onClick:()=>c?.(r),children:s.map(i=>e.jsx("td",{className:ne.td,children:i.render?i.render(r[i.key],r):String(r[i.key]??"")},i.key))},_))})]}),t.length===0&&e.jsx("div",{className:ne.empty,children:"No data available"})]})}const A_="styles-module__tabsContainer__Jv3WS",P_="styles-module__tabsList__G5a9Z",F_="styles-module__fullWidth__IiyGO",O_="styles-module__tab__Veki-",H_="styles-module__disabled__M9qZK",Y_="styles-module__active__PVi-W",q_="styles-module__icon__4sTw8",K_="styles-module__pills__VlbD0",Z_="styles-module__underline__Jdu1g",U_="styles-module__tabContent__bSDk7",J_="styles-module__fadeIn__sgbzQ",we={tabsContainer:A_,tabsList:P_,fullWidth:F_,tab:O_,disabled:H_,active:Y_,icon:q_,default:"styles-module__default__02SGT",pills:K_,underline:Z_,tabContent:U_,fadeIn:J_};function Q_({items:s,defaultActiveId:t,variant:n="default",fullWidth:l=!1,onChange:a,className:o=""}){const[c,d]=p.useState(t||s[0]?.id),r=(i,m)=>{m||(d(i),a?.(i))},_=s.find(i=>i.id===c);return e.jsxs("div",{className:`${we.tabsContainer} ${o}`,children:[e.jsx("div",{className:`${we.tabsList} ${we[n]} ${l?we.fullWidth:""}`,role:"tablist",children:s.map(i=>e.jsxs("button",{role:"tab","aria-selected":i.id===c,"aria-disabled":i.disabled,className:`${we.tab} ${i.id===c?we.active:""} ${i.disabled?we.disabled:""}`,onClick:()=>r(i.id,i.disabled),disabled:i.disabled,children:[i.icon&&e.jsx("span",{className:we.icon,children:i.icon}),e.jsx("span",{children:i.label})]},i.id))}),e.jsx("div",{className:we.tabContent,role:"tabpanel",children:_?.content})]})}const er="styles-module__textareaWrapper__xo-uo",sr="styles-module__fullWidth__y5-Ce",tr="styles-module__label__xONj0",lr="styles-module__textarea__LmnbQ",nr="styles-module__sm__uIQkQ",or="styles-module__md__qfL-2",ar="styles-module__lg__s6Iey",cr="styles-module__success__ehWww",_r="styles-module__error__h9V4X",rr="styles-module__resize-none__w4h2b",dr="styles-module__resize-vertical__4lTu1",ir="styles-module__resize-horizontal__3Fdb7",ur="styles-module__resize-both__07ghL",mr="styles-module__helperText__Zaq6O",pr="styles-module__errorText__RI-rl",ye={textareaWrapper:er,fullWidth:sr,label:tr,textarea:lr,sm:nr,md:or,lg:ar,default:"styles-module__default__jlE7o",success:cr,error:_r,"resize-none":"styles-module__resize-none__w4h2b",resizeNone:rr,"resize-vertical":"styles-module__resize-vertical__4lTu1",resizeVertical:dr,"resize-horizontal":"styles-module__resize-horizontal__3Fdb7",resizeHorizontal:ir,"resize-both":"styles-module__resize-both__07ghL",resizeBoth:ur,helperText:mr,errorText:pr},_s=p.forwardRef(({label:s,helperText:t,error:n,size:l="md",variant:a="default",fullWidth:o=!1,resize:c="vertical",className:d="",disabled:r,..._},i)=>{const m=n?"error":a;return e.jsxs("div",{className:`${ye.textareaWrapper} ${o?ye.fullWidth:""} ${d}`,children:[s&&e.jsx("label",{className:ye.label,children:s}),e.jsx("textarea",{ref:i,className:`${ye.textarea} ${ye[l]} ${ye[m]} ${ye[`resize-${c}`]} ${r?ye.disabled:""}`,disabled:r,..._}),n&&e.jsx("span",{className:ye.errorText,children:n}),!n&&t&&e.jsx("span",{className:ye.helperText,children:t})]})});_s.displayName="Textarea";const yr="styles-module__timeline__khbcN",hr="styles-module__vertical__EcI8f",gr="styles-module__horizontal__kv46j",fr="styles-module__timelineItem__j0IQ5",xr="styles-module__timelineMarker__qk22j",br="styles-module__dot__gfgUf",vr="styles-module__icon__hWWJd",$r="styles-module__primary__t4Cyx",jr="styles-module__success__NWp7i",Nr="styles-module__warning__mfRNM",wr="styles-module__error__AwsC3",kr="styles-module__info__QaR5w",Sr="styles-module__timelineConnector__deWEH",Cr="styles-module__timelineContent__Yzy-t",Lr="styles-module__date__OIOdY",Ir="styles-module__title__PZb8L",Mr="styles-module__description__LesWv",Q={timeline:yr,vertical:hr,horizontal:gr,timelineItem:fr,timelineMarker:xr,dot:br,icon:vr,default:"styles-module__default__QmROp",primary:$r,success:jr,warning:Nr,error:wr,info:kr,timelineConnector:Sr,timelineContent:Cr,date:Lr,title:Ir,description:Mr};function zr({items:s,orientation:t="vertical",className:n=""}){return e.jsx("div",{className:`${Q.timeline} ${Q[t]} ${n}`,children:s.map((l,a)=>e.jsxs("div",{className:Q.timelineItem,children:[e.jsx("div",{className:`${Q.timelineMarker} ${l.color?Q[l.color]:Q.default}`,children:l.icon?e.jsx("span",{className:Q.icon,children:l.icon}):e.jsx("span",{className:Q.dot})}),a<s.length-1&&e.jsx("div",{className:`${Q.timelineConnector} ${l.color?Q[l.color]:Q.default}`}),e.jsxs("div",{className:Q.timelineContent,children:[l.date&&e.jsx("span",{className:Q.date,children:l.date}),e.jsx("h4",{className:Q.title,children:l.title}),l.description&&e.jsx("p",{className:Q.description,children:l.description})]})]},l.id))})}const Dr="styles-module__toggleSwitch__HDqFP",Tr="styles-module__disabled__tbXNT",Br="styles-module__input__oBVdg",Er="styles-module__sm__O8zA8",Wr="styles-module__md__2vfHI",Rr="styles-module__lg__S65-b",Xr="styles-module__slider__gYGJ6",Gr="styles-module__checked__-4pJ2",Vr="styles-module__label__xIgTV",De={toggleSwitch:Dr,disabled:Tr,input:Br,switch:"styles-module__switch__4NsVE",sm:Er,md:Wr,lg:Rr,slider:Xr,checked:Gr,label:Vr};function Ar({checked:s,defaultChecked:t=!1,onChange:n,label:l,disabled:a=!1,size:o="md",className:c=""}){const[d,r]=p.useState(t),_=s!==void 0,i=_?s:d,m=()=>{if(a)return;const v=!i;_||r(v),n?.(v)};return e.jsxs("label",{className:`${De.toggleSwitch} ${a?De.disabled:""} ${c}`,children:[e.jsx("input",{type:"checkbox",checked:i,onChange:m,disabled:a,className:De.input}),e.jsx("span",{className:`${De.switch} ${De[o]} ${i?De.checked:""}`,children:e.jsx("span",{className:De.slider})}),l&&e.jsx("span",{className:De.label,children:l})]})}const Pr="styles-module__tooltipWrapper__jXXEP",Fr="styles-module__tooltip__NP2ZM",Or="styles-module__fadeIn__5hHms",Hr="styles-module__top__kvf2D",Yr="styles-module__bottom__vkl92",qr="styles-module__left__q2e3D",Kr="styles-module__right__FRcXP",Zr="styles-module__tooltipContent__3R4WL",Ur="styles-module__tooltipArrow__11JdT",qe={tooltipWrapper:Pr,tooltip:Fr,fadeIn:Or,top:Hr,bottom:Yr,left:qr,right:Kr,tooltipContent:Zr,tooltipArrow:Ur};function Jr({children:s,content:t,position:n="top",delay:l=200,className:a=""}){const[o,c]=p.useState(!1),d=p.useRef(),r=p.useRef(null),_=()=>{d.current=setTimeout(()=>{c(!0)},l)},i=()=>{d.current&&clearTimeout(d.current),c(!1)};return p.useEffect(()=>()=>{d.current&&clearTimeout(d.current)},[]),e.jsxs("div",{className:`${qe.tooltipWrapper} ${a}`,ref:r,onMouseEnter:_,onMouseLeave:i,onFocus:_,onBlur:i,children:[s,o&&e.jsxs("div",{className:`${qe.tooltip} ${qe[n]}`,role:"tooltip",children:[e.jsx("div",{className:qe.tooltipContent,children:t}),e.jsx("div",{className:qe.tooltipArrow})]})]})}const Qr="styles-module__toastContainer__-uOPe",ed="styles-module__topLeft__MCDhr",sd="styles-module__topCenter__loC-J",td="styles-module__topRight__alKSR",ld="styles-module__bottomLeft__sPZ6I",nd="styles-module__bottomCenter__12yLT",od="styles-module__bottomRight__EdLbD",ad="styles-module__toast__q9A3H",cd="styles-module__slideIn__-Mhbw",_d="styles-module__fadeIn__I0huT",rd="styles-module__slideInLeft__Bs5x3",dd="styles-module__slideInDown__OUDGH",id="styles-module__icon__iRAEt",ud="styles-module__message__id55d",md="styles-module__closeButton__vnBxf",pd="styles-module__info__RjsXR",yd="styles-module__success__1qQf4",hd="styles-module__warning__UhEF-",gd="styles-module__error__sOYOC",ce={toastContainer:Qr,topLeft:ed,topCenter:sd,topRight:td,bottomLeft:ld,bottomCenter:nd,bottomRight:od,toast:ad,slideIn:cd,fadeIn:_d,slideInLeft:rd,slideInDown:dd,icon:id,message:ud,closeButton:md,info:pd,success:yd,warning:hd,error:gd},rs=p.createContext(void 0);function fd({children:s,position:t="top-right",maxToasts:n=5}){const[l,a]=p.useState([]),o=p.useCallback((_,i={})=>{const m=Math.random().toString(36).substring(2,9),v={id:m,message:_,variant:i.variant||"info",duration:i.duration??5e3,dismissible:i.dismissible??!0};a(h=>[...h,v].slice(-n)),v.duration&&v.duration>0&&setTimeout(()=>{c(m)},v.duration)},[n]),c=p.useCallback(_=>{a(i=>i.filter(m=>m.id!==_))},[]),d=()=>({"top-left":ce.topLeft,"top-center":ce.topCenter,"top-right":ce.topRight,"bottom-left":ce.bottomLeft,"bottom-center":ce.bottomCenter,"bottom-right":ce.bottomRight})[t],r=_=>({info:"ℹ",success:"✓",warning:"⚠",error:"✕"})[_];return e.jsxs(rs.Provider,{value:{showToast:o},children:[s,e.jsx("div",{className:`${ce.toastContainer} ${d()}`,children:l.map(_=>e.jsxs("div",{className:`${ce.toast} ${ce[_.variant||"info"]}`,role:"alert","aria-live":"polite",children:[e.jsx("div",{className:ce.icon,children:r(_.variant||"info")}),e.jsx("div",{className:ce.message,children:_.message}),_.dismissible&&e.jsx("button",{className:ce.closeButton,onClick:()=>c(_.id),"aria-label":"Close",children:"✕"})]},_.id))})]})}function xd(){const s=p.useContext(rs);if(!s)throw new Error("useToast must be used within a ToastProvider");return s}const bd="styles-module__treeView__qtZfC",vd="styles-module__treeNodeWrapper__6m8CE",$d="styles-module__treeNode__xhhOE",jd="styles-module__disabled__-brxQ",Nd="styles-module__expandIcon__Zp-Yb",wd="styles-module__expanded__A4kyH",kd="styles-module__spacer__56WdM",Sd="styles-module__icon__AIE-i",Cd="styles-module__label__XDGcT",Ld="styles-module__children__N1c5Z",xe={treeView:bd,treeNodeWrapper:vd,treeNode:$d,disabled:jd,expandIcon:Nd,expanded:wd,spacer:kd,icon:Sd,label:Cd,children:Ld};function ds({node:s,level:t,expandedIds:n,onToggle:l,onNodeClick:a}){const o=s.children&&s.children.length>0,c=n.has(s.id),d=()=>{s.disabled||(o&&l(s.id),a?.(s))};return e.jsxs("div",{className:xe.treeNodeWrapper,children:[e.jsxs("div",{className:`${xe.treeNode} ${s.disabled?xe.disabled:""}`,style:{paddingLeft:`${t*1.5}rem`},onClick:d,children:[o&&e.jsx("span",{className:`${xe.expandIcon} ${c?xe.expanded:""}`,children:"▶"}),!o&&e.jsx("span",{className:xe.spacer}),s.icon&&e.jsx("span",{className:xe.icon,children:s.icon}),e.jsx("span",{className:xe.label,children:s.label})]}),o&&c&&e.jsx("div",{className:xe.children,children:s.children.map(r=>e.jsx(ds,{node:r,level:t+1,expandedIds:n,onToggle:l,onNodeClick:a},r.id))})]})}function Id({data:s,defaultExpandedIds:t=[],onNodeClick:n,className:l=""}){const[a,o]=p.useState(new Set(t)),c=d=>{o(r=>{const _=new Set(r);return _.has(d)?_.delete(d):_.add(d),_})};return e.jsx("div",{className:`${xe.treeView} ${l}`,children:s.map(d=>e.jsx(ds,{node:d,level:0,expandedIds:a,onToggle:c,onNodeClick:n},d.id))})}const Md="styles-module__nav__sMQSv",zd="styles-module__vertical__6EFeu",Dd="styles-module__collapsed__eIVC7",Td="styles-module__horizontal__5UU20",Bd="styles-module__navItemWrapper__Sc9wi",Ed="styles-module__navItem__7O2YX",Wd="styles-module__disabled__hvWkN",Rd="styles-module__nested__oejUs",Xd="styles-module__icon__SLdZe",Gd="styles-module__label__pji80",Vd="styles-module__badge__03qDH",Ad="styles-module__expandIcon__bGlQG",Pd="styles-module__dropdownIcon__uf35v",Fd="styles-module__expanded__2R6-v",Od="styles-module__children__sfAGb",Hd="styles-module__slideDown__xKrR1",Yd="styles-module__dropdown__LuTLW",qd="styles-module__megaMenu__02Wp7",Kd="styles-module__megaMenuWrapper__yLvBH",Zd="styles-module__megaMenuGrid__4FrxU",Ud="styles-module__megaMenuColumn__DI0z2",q={nav:Md,vertical:zd,collapsed:Dd,horizontal:Td,navItemWrapper:Bd,navItem:Ed,disabled:Wd,nested:Rd,icon:Xd,label:Gd,badge:Vd,expandIcon:Ad,dropdownIcon:Pd,expanded:Fd,children:Od,slideDown:Hd,dropdown:Yd,megaMenu:qd,megaMenuWrapper:Kd,megaMenuGrid:Zd,megaMenuColumn:Ud};function Qe({item:s,level:t,expandedIds:n,onToggle:l,onItemClick:a,orientation:o,collapsed:c}){const d=s.children&&s.children.length>0,r=n.has(s.id),_=s.megaMenu&&d,i=h=>{s.disabled||(d&&o==="vertical"&&(h.preventDefault(),l(s.id)),s.onClick&&s.onClick(),a?.(s))},m=()=>e.jsxs(e.Fragment,{children:[s.icon&&e.jsx("span",{className:q.icon,children:s.icon}),!c&&e.jsx("span",{className:q.label,children:s.label}),!c&&s.badge&&e.jsx("span",{className:q.badge,children:s.badge}),!c&&d&&o==="vertical"&&e.jsx("span",{className:`${q.expandIcon} ${r?q.expanded:""}`,children:"▶"}),!c&&d&&o==="horizontal"&&e.jsx("span",{className:q.dropdownIcon,children:"▼"})]}),v=s.href?e.jsx("a",{href:s.href,className:`${q.navItem} ${s.disabled?q.disabled:""} ${t>0?q.nested:""}`,onClick:i,children:m()}):e.jsx("button",{type:"button",className:`${q.navItem} ${s.disabled?q.disabled:""} ${t>0?q.nested:""}`,onClick:i,children:m()});return e.jsxs("div",{className:`${q.navItemWrapper} ${_?q.megaMenuWrapper:""}`,children:[v,d&&e.jsxs(e.Fragment,{children:[o==="vertical"&&r&&e.jsx("div",{className:q.children,children:s.children.map(h=>e.jsx(Qe,{item:h,level:t+1,expandedIds:n,onToggle:l,onItemClick:a,orientation:o,collapsed:c},h.id))}),o==="horizontal"&&e.jsx("div",{className:`${q.dropdown} ${_?q.megaMenu:""}`,children:_?e.jsx("div",{className:q.megaMenuGrid,children:s.children.map(h=>e.jsx("div",{className:q.megaMenuColumn,children:e.jsx(Qe,{item:h,level:t+1,expandedIds:n,onToggle:l,onItemClick:a,orientation:o,collapsed:c})},h.id))}):s.children.map(h=>e.jsx(Qe,{item:h,level:t+1,expandedIds:n,onToggle:l,onItemClick:a,orientation:o,collapsed:c},h.id))})]})]})}function Jd({items:s,orientation:t="vertical",defaultExpandedIds:n=[],onItemClick:l,className:a="",collapsed:o=!1}){const[c,d]=p.useState(new Set(n)),r=_=>{d(i=>{const m=new Set(i);return m.has(_)?m.delete(_):m.add(_),m})};return e.jsx("nav",{className:`${q.nav} ${q[t]} ${o?q.collapsed:""} ${a}`,children:s.map(_=>e.jsx(Qe,{item:_,level:0,expandedIds:c,onToggle:r,onItemClick:l,orientation:t,collapsed:o},_.id))})}const Qd="styles-module__selectContainer__JfMFS",ei="styles-module__fullWidth__XXFCr",si="styles-module__label__eUUOm",ti="styles-module__wrapper__98xFk",li="styles-module__select__xJaN9",ni="styles-module__disabled__A1ppA",oi="styles-module__sm__MEAFW",ai="styles-module__lg__sd1Gy",ci="styles-module__error__w1Lsu",_i="styles-module__success__xbtdD",ri="styles-module__arrow__UJXzt",di="styles-module__helperText__sXAtM",ii="styles-module__errorText__7kPjp",ue={selectContainer:Qd,fullWidth:ei,label:si,wrapper:ti,select:li,disabled:ni,sm:oi,lg:ai,error:ci,success:_i,arrow:ri,helperText:di,errorText:ii},is=p.forwardRef(({label:s,error:t,helperText:n,size:l="md",variant:a="default",fullWidth:o=!1,className:c="",disabled:d=!1,options:r,placeholder:_,...i},m)=>{const v=t?"error":a,h=`${ue.selectContainer} ${o?ue.fullWidth:""} ${c}`,$=`${ue.select} ${ue[l]} ${ue[v]} ${d?ue.disabled:""}`;return e.jsxs("div",{className:h,children:[s&&e.jsx("label",{className:ue.label,children:s}),e.jsxs("div",{className:ue.wrapper,children:[e.jsxs("select",{ref:m,className:$,disabled:d,...i,children:[_&&e.jsx("option",{value:"",disabled:!0,children:_}),r.map(u=>e.jsx("option",{value:u.value,disabled:u.disabled,children:u.label},u.value))]}),e.jsx("span",{className:ue.arrow,children:"▼"})]}),(t||n)&&e.jsx("span",{className:`${ue.helperText} ${t?ue.errorText:""}`,children:t||n})]})});is.displayName="Select";const ui="styles-module__grid__-18GG",mi="styles-module__columns-1__v8SEE",pi="styles-module__columns-2__Zq8Ih",yi="styles-module__columns-3__-sPCq",hi="styles-module__columns-4__jB2X6",gi="styles-module__columns-5__WbWn4",fi="styles-module__columns-6__B-cvH",xi="styles-module__columns-7__C29vY",bi="styles-module__columns-8__lFc3E",vi="styles-module__columns-9__Rhzrn",$i="styles-module__columns-10__hXu1z",ji="styles-module__columns-11__LYy-7",Ni="styles-module__columns-12__0tALI",wi="styles-module__columns-sm-1__rGPgC",ki="styles-module__columns-sm-2__PjfNA",Si="styles-module__columns-sm-3__-DkQI",Ci="styles-module__columns-sm-4__vtgo0",Li="styles-module__columns-sm-5__e91Bf",Ii="styles-module__columns-sm-6__2BPvq",Mi="styles-module__columns-sm-7__7WSj3",zi="styles-module__columns-sm-8__Y1rAn",Di="styles-module__columns-sm-9__ipGTO",Ti="styles-module__columns-sm-10__PsNnZ",Bi="styles-module__columns-sm-11__0Xt-s",Ei="styles-module__columns-sm-12__uDrsj",Wi="styles-module__columns-md-1__VxJSA",Ri="styles-module__columns-md-2__7Jb7M",Xi="styles-module__columns-md-3__NPgJ4",Gi="styles-module__columns-md-4__caSiE",Vi="styles-module__columns-md-5__YV-KD",Ai="styles-module__columns-md-6__eYuBW",Pi="styles-module__columns-md-7__kFwVo",Fi="styles-module__columns-md-8__--8cy",Oi="styles-module__columns-md-9__R5Q9b",Hi="styles-module__columns-md-10__-1u9i",Yi="styles-module__columns-md-11__3fWd5",qi="styles-module__columns-md-12__6p-sc",Ki="styles-module__columns-lg-1__Us4pj",Zi="styles-module__columns-lg-2__42pEt",Ui="styles-module__columns-lg-3__-TIpF",Ji="styles-module__columns-lg-4__gZKHW",Qi="styles-module__columns-lg-5__04nEU",eu="styles-module__columns-lg-6__cdsbL",su="styles-module__columns-lg-7__s2yv9",tu="styles-module__columns-lg-8__B1jK9",lu="styles-module__columns-lg-9__rA-9F",nu="styles-module__columns-lg-10__99khu",ou="styles-module__columns-lg-11__Wfy-H",au="styles-module__columns-lg-12__mIBrq",cu="styles-module__columns-xl-1__uxEeX",_u="styles-module__columns-xl-2__xerO3",ru="styles-module__columns-xl-3__6GLSS",du="styles-module__columns-xl-4__XYS09",iu="styles-module__columns-xl-5__4Y5e8",uu="styles-module__columns-xl-6__Qufa4",mu="styles-module__columns-xl-7__jAsJu",pu="styles-module__columns-xl-8__1BctD",yu="styles-module__columns-xl-9__HNe1-",hu="styles-module__columns-xl-10__dSLX9",gu="styles-module__columns-xl-11__KB6nJ",fu="styles-module__columns-xl-12__UvRYk",xu="styles-module__gap-none__FSY1O",bu="styles-module__gap-xs__yd0Vu",vu="styles-module__gap-sm__9o2un",$u="styles-module__gap-md__Yb5VI",ju="styles-module__gap-lg__H0Kke",Nu="styles-module__gap-xl__LDewl",wu="styles-module__gap-2xl__8nYbr",ku="styles-module__row-gap-none__JAJpj",Su="styles-module__row-gap-xs__a3tit",Cu="styles-module__row-gap-sm__72-ut",Lu="styles-module__row-gap-md__7aLU-",Iu="styles-module__row-gap-lg__1DeqX",Mu="styles-module__row-gap-xl__KsfMY",zu="styles-module__row-gap-2xl__obZGl",Du="styles-module__column-gap-none__KecTY",Tu="styles-module__column-gap-xs__k5jWZ",Bu="styles-module__column-gap-sm__QPdcs",Eu="styles-module__column-gap-md__bjSOf",Wu="styles-module__column-gap-lg__EbeJF",Ru="styles-module__column-gap-xl__5A633",Xu="styles-module__column-gap-2xl__vgLSu",Gu="styles-module__align-start__bjdHG",Vu="styles-module__align-center__yx3-m",Au="styles-module__align-end__a4IA3",Pu="styles-module__align-stretch__NyQwc",Fu="styles-module__align-baseline__XDLXG",Ou="styles-module__justify-items-start__0oBcn",Hu="styles-module__justify-items-center__nVsrc",Yu="styles-module__justify-items-end__-0L3F",qu="styles-module__justify-items-stretch__0Lw7a",Ku="styles-module__justify-content-start__AUQmN",Zu="styles-module__justify-content-center__DbeoQ",Uu="styles-module__justify-content-end__WV6jz",Ju="styles-module__justify-content-space-between__8AaIN",Qu="styles-module__justify-content-space-around__aODdb",em="styles-module__justify-content-space-evenly__L9gkw",sm="styles-module__flow-row__kRZfS",tm="styles-module__flow-column__WwpqM",lm="styles-module__flow-dense__lUpft",nm="styles-module__flow-row-dense__tF-IP",om="styles-module__flow-column-dense__GEsOK",am="styles-module__gridItem__DDjWB",cm="styles-module__col-span-1__mH-jY",_m="styles-module__col-span-2__eTM2S",rm="styles-module__col-span-3__HYpEw",dm="styles-module__col-span-4__mg-mS",im="styles-module__col-span-5__VVpGI",um="styles-module__col-span-6__SC8e-",mm="styles-module__col-span-7__Jibfe",pm="styles-module__col-span-8__qSQX1",ym="styles-module__col-span-9__95itg",hm="styles-module__col-span-10__-Ghn-",gm="styles-module__col-span-11__Jk2PJ",fm="styles-module__col-span-12__UG7o2",xm="styles-module__col-span-full__zFrNk",bm="styles-module__col-span-sm-1__Eyzeo",vm="styles-module__col-span-sm-2__qw56t",$m="styles-module__col-span-sm-3__Dwrhj",jm="styles-module__col-span-sm-4__mdKu-",Nm="styles-module__col-span-sm-5__erB04",wm="styles-module__col-span-sm-6__AN-Eo",km="styles-module__col-span-sm-7__jDZJk",Sm="styles-module__col-span-sm-8__-c6X9",Cm="styles-module__col-span-sm-9__tqIxC",Lm="styles-module__col-span-sm-10__Z4S4U",Im="styles-module__col-span-sm-11__5l3EF",Mm="styles-module__col-span-sm-12__ToxhH",zm="styles-module__col-span-sm-full__5PByZ",Dm="styles-module__col-span-md-1__2iH1s",Tm="styles-module__col-span-md-2__metsn",Bm="styles-module__col-span-md-3__ArbKb",Em="styles-module__col-span-md-4__xVXZU",Wm="styles-module__col-span-md-5__ym6rl",Rm="styles-module__col-span-md-6__peA2T",Xm="styles-module__col-span-md-7__AAm1f",Gm="styles-module__col-span-md-8__VLafy",Vm="styles-module__col-span-md-9__PWAAq",Am="styles-module__col-span-md-10__GRmCe",Pm="styles-module__col-span-md-11__M8B4R",Fm="styles-module__col-span-md-12__HGzlP",Om="styles-module__col-span-md-full__4y9gL",Hm="styles-module__col-span-lg-1__FG3dm",Ym="styles-module__col-span-lg-2__5dZiG",qm="styles-module__col-span-lg-3__oZmcU",Km="styles-module__col-span-lg-4__itdqY",Zm="styles-module__col-span-lg-5__ux3GV",Um="styles-module__col-span-lg-6__zf4Bn",Jm="styles-module__col-span-lg-7__olG9c",Qm="styles-module__col-span-lg-8__-QheZ",ep="styles-module__col-span-lg-9__ZXgY2",sp="styles-module__col-span-lg-10__bbXiL",tp="styles-module__col-span-lg-11__AQw76",lp="styles-module__col-span-lg-12__cFfHJ",np="styles-module__col-span-lg-full__IBuri",op="styles-module__col-span-xl-1__hoqul",ap="styles-module__col-span-xl-2__iTlZE",cp="styles-module__col-span-xl-3__pw3Vu",_p="styles-module__col-span-xl-4__NaUdq",rp="styles-module__col-span-xl-5__NZfk2",dp="styles-module__col-span-xl-6__piqQd",ip="styles-module__col-span-xl-7__YGer8",up="styles-module__col-span-xl-8__Dr6aM",mp="styles-module__col-span-xl-9__zyuUC",pp="styles-module__col-span-xl-10__1tCT-",yp="styles-module__col-span-xl-11__4neTT",hp="styles-module__col-span-xl-12__yqf3o",gp="styles-module__col-span-xl-full__LIPRp",fp="styles-module__row-span-1__zy3Hq",xp="styles-module__row-span-2__Z8RpU",bp="styles-module__row-span-3__JkAqM",vp="styles-module__row-span-4__X5Xkb",$p="styles-module__row-span-5__UGWBp",jp="styles-module__row-span-6__Ok7gd",Z={grid:ui,"columns-1":"styles-module__columns-1__v8SEE",columns1:mi,"columns-2":"styles-module__columns-2__Zq8Ih",columns2:pi,"columns-3":"styles-module__columns-3__-sPCq",columns3:yi,"columns-4":"styles-module__columns-4__jB2X6",columns4:hi,"columns-5":"styles-module__columns-5__WbWn4",columns5:gi,"columns-6":"styles-module__columns-6__B-cvH",columns6:fi,"columns-7":"styles-module__columns-7__C29vY",columns7:xi,"columns-8":"styles-module__columns-8__lFc3E",columns8:bi,"columns-9":"styles-module__columns-9__Rhzrn",columns9:vi,"columns-10":"styles-module__columns-10__hXu1z",columns10:$i,"columns-11":"styles-module__columns-11__LYy-7",columns11:ji,"columns-12":"styles-module__columns-12__0tALI",columns12:Ni,"columns-sm-1":"styles-module__columns-sm-1__rGPgC",columnsSm1:wi,"columns-sm-2":"styles-module__columns-sm-2__PjfNA",columnsSm2:ki,"columns-sm-3":"styles-module__columns-sm-3__-DkQI",columnsSm3:Si,"columns-sm-4":"styles-module__columns-sm-4__vtgo0",columnsSm4:Ci,"columns-sm-5":"styles-module__columns-sm-5__e91Bf",columnsSm5:Li,"columns-sm-6":"styles-module__columns-sm-6__2BPvq",columnsSm6:Ii,"columns-sm-7":"styles-module__columns-sm-7__7WSj3",columnsSm7:Mi,"columns-sm-8":"styles-module__columns-sm-8__Y1rAn",columnsSm8:zi,"columns-sm-9":"styles-module__columns-sm-9__ipGTO",columnsSm9:Di,"columns-sm-10":"styles-module__columns-sm-10__PsNnZ",columnsSm10:Ti,"columns-sm-11":"styles-module__columns-sm-11__0Xt-s",columnsSm11:Bi,"columns-sm-12":"styles-module__columns-sm-12__uDrsj",columnsSm12:Ei,"columns-md-1":"styles-module__columns-md-1__VxJSA",columnsMd1:Wi,"columns-md-2":"styles-module__columns-md-2__7Jb7M",columnsMd2:Ri,"columns-md-3":"styles-module__columns-md-3__NPgJ4",columnsMd3:Xi,"columns-md-4":"styles-module__columns-md-4__caSiE",columnsMd4:Gi,"columns-md-5":"styles-module__columns-md-5__YV-KD",columnsMd5:Vi,"columns-md-6":"styles-module__columns-md-6__eYuBW",columnsMd6:Ai,"columns-md-7":"styles-module__columns-md-7__kFwVo",columnsMd7:Pi,"columns-md-8":"styles-module__columns-md-8__--8cy",columnsMd8:Fi,"columns-md-9":"styles-module__columns-md-9__R5Q9b",columnsMd9:Oi,"columns-md-10":"styles-module__columns-md-10__-1u9i",columnsMd10:Hi,"columns-md-11":"styles-module__columns-md-11__3fWd5",columnsMd11:Yi,"columns-md-12":"styles-module__columns-md-12__6p-sc",columnsMd12:qi,"columns-lg-1":"styles-module__columns-lg-1__Us4pj",columnsLg1:Ki,"columns-lg-2":"styles-module__columns-lg-2__42pEt",columnsLg2:Zi,"columns-lg-3":"styles-module__columns-lg-3__-TIpF",columnsLg3:Ui,"columns-lg-4":"styles-module__columns-lg-4__gZKHW",columnsLg4:Ji,"columns-lg-5":"styles-module__columns-lg-5__04nEU",columnsLg5:Qi,"columns-lg-6":"styles-module__columns-lg-6__cdsbL",columnsLg6:eu,"columns-lg-7":"styles-module__columns-lg-7__s2yv9",columnsLg7:su,"columns-lg-8":"styles-module__columns-lg-8__B1jK9",columnsLg8:tu,"columns-lg-9":"styles-module__columns-lg-9__rA-9F",columnsLg9:lu,"columns-lg-10":"styles-module__columns-lg-10__99khu",columnsLg10:nu,"columns-lg-11":"styles-module__columns-lg-11__Wfy-H",columnsLg11:ou,"columns-lg-12":"styles-module__columns-lg-12__mIBrq",columnsLg12:au,"columns-xl-1":"styles-module__columns-xl-1__uxEeX",columnsXl1:cu,"columns-xl-2":"styles-module__columns-xl-2__xerO3",columnsXl2:_u,"columns-xl-3":"styles-module__columns-xl-3__6GLSS",columnsXl3:ru,"columns-xl-4":"styles-module__columns-xl-4__XYS09",columnsXl4:du,"columns-xl-5":"styles-module__columns-xl-5__4Y5e8",columnsXl5:iu,"columns-xl-6":"styles-module__columns-xl-6__Qufa4",columnsXl6:uu,"columns-xl-7":"styles-module__columns-xl-7__jAsJu",columnsXl7:mu,"columns-xl-8":"styles-module__columns-xl-8__1BctD",columnsXl8:pu,"columns-xl-9":"styles-module__columns-xl-9__HNe1-",columnsXl9:yu,"columns-xl-10":"styles-module__columns-xl-10__dSLX9",columnsXl10:hu,"columns-xl-11":"styles-module__columns-xl-11__KB6nJ",columnsXl11:gu,"columns-xl-12":"styles-module__columns-xl-12__UvRYk",columnsXl12:fu,"gap-none":"styles-module__gap-none__FSY1O",gapNone:xu,"gap-xs":"styles-module__gap-xs__yd0Vu",gapXs:bu,"gap-sm":"styles-module__gap-sm__9o2un",gapSm:vu,"gap-md":"styles-module__gap-md__Yb5VI",gapMd:$u,"gap-lg":"styles-module__gap-lg__H0Kke",gapLg:ju,"gap-xl":"styles-module__gap-xl__LDewl",gapXl:Nu,"gap-2xl":"styles-module__gap-2xl__8nYbr",gap2Xl:wu,"row-gap-none":"styles-module__row-gap-none__JAJpj",rowGapNone:ku,"row-gap-xs":"styles-module__row-gap-xs__a3tit",rowGapXs:Su,"row-gap-sm":"styles-module__row-gap-sm__72-ut",rowGapSm:Cu,"row-gap-md":"styles-module__row-gap-md__7aLU-",rowGapMd:Lu,"row-gap-lg":"styles-module__row-gap-lg__1DeqX",rowGapLg:Iu,"row-gap-xl":"styles-module__row-gap-xl__KsfMY",rowGapXl:Mu,"row-gap-2xl":"styles-module__row-gap-2xl__obZGl",rowGap2Xl:zu,"column-gap-none":"styles-module__column-gap-none__KecTY",columnGapNone:Du,"column-gap-xs":"styles-module__column-gap-xs__k5jWZ",columnGapXs:Tu,"column-gap-sm":"styles-module__column-gap-sm__QPdcs",columnGapSm:Bu,"column-gap-md":"styles-module__column-gap-md__bjSOf",columnGapMd:Eu,"column-gap-lg":"styles-module__column-gap-lg__EbeJF",columnGapLg:Wu,"column-gap-xl":"styles-module__column-gap-xl__5A633",columnGapXl:Ru,"column-gap-2xl":"styles-module__column-gap-2xl__vgLSu",columnGap2Xl:Xu,"align-start":"styles-module__align-start__bjdHG",alignStart:Gu,"align-center":"styles-module__align-center__yx3-m",alignCenter:Vu,"align-end":"styles-module__align-end__a4IA3",alignEnd:Au,"align-stretch":"styles-module__align-stretch__NyQwc",alignStretch:Pu,"align-baseline":"styles-module__align-baseline__XDLXG",alignBaseline:Fu,"justify-items-start":"styles-module__justify-items-start__0oBcn",justifyItemsStart:Ou,"justify-items-center":"styles-module__justify-items-center__nVsrc",justifyItemsCenter:Hu,"justify-items-end":"styles-module__justify-items-end__-0L3F",justifyItemsEnd:Yu,"justify-items-stretch":"styles-module__justify-items-stretch__0Lw7a",justifyItemsStretch:qu,"justify-content-start":"styles-module__justify-content-start__AUQmN",justifyContentStart:Ku,"justify-content-center":"styles-module__justify-content-center__DbeoQ",justifyContentCenter:Zu,"justify-content-end":"styles-module__justify-content-end__WV6jz",justifyContentEnd:Uu,"justify-content-space-between":"styles-module__justify-content-space-between__8AaIN",justifyContentSpaceBetween:Ju,"justify-content-space-around":"styles-module__justify-content-space-around__aODdb",justifyContentSpaceAround:Qu,"justify-content-space-evenly":"styles-module__justify-content-space-evenly__L9gkw",justifyContentSpaceEvenly:em,"flow-row":"styles-module__flow-row__kRZfS",flowRow:sm,"flow-column":"styles-module__flow-column__WwpqM",flowColumn:tm,"flow-dense":"styles-module__flow-dense__lUpft",flowDense:lm,"flow-row-dense":"styles-module__flow-row-dense__tF-IP",flowRowDense:nm,"flow-column-dense":"styles-module__flow-column-dense__GEsOK",flowColumnDense:om,gridItem:am,"col-span-1":"styles-module__col-span-1__mH-jY",colSpan1:cm,"col-span-2":"styles-module__col-span-2__eTM2S",colSpan2:_m,"col-span-3":"styles-module__col-span-3__HYpEw",colSpan3:rm,"col-span-4":"styles-module__col-span-4__mg-mS",colSpan4:dm,"col-span-5":"styles-module__col-span-5__VVpGI",colSpan5:im,"col-span-6":"styles-module__col-span-6__SC8e-",colSpan6:um,"col-span-7":"styles-module__col-span-7__Jibfe",colSpan7:mm,"col-span-8":"styles-module__col-span-8__qSQX1",colSpan8:pm,"col-span-9":"styles-module__col-span-9__95itg",colSpan9:ym,"col-span-10":"styles-module__col-span-10__-Ghn-",colSpan10:hm,"col-span-11":"styles-module__col-span-11__Jk2PJ",colSpan11:gm,"col-span-12":"styles-module__col-span-12__UG7o2",colSpan12:fm,"col-span-full":"styles-module__col-span-full__zFrNk",colSpanFull:xm,"col-span-sm-1":"styles-module__col-span-sm-1__Eyzeo",colSpanSm1:bm,"col-span-sm-2":"styles-module__col-span-sm-2__qw56t",colSpanSm2:vm,"col-span-sm-3":"styles-module__col-span-sm-3__Dwrhj",colSpanSm3:$m,"col-span-sm-4":"styles-module__col-span-sm-4__mdKu-",colSpanSm4:jm,"col-span-sm-5":"styles-module__col-span-sm-5__erB04",colSpanSm5:Nm,"col-span-sm-6":"styles-module__col-span-sm-6__AN-Eo",colSpanSm6:wm,"col-span-sm-7":"styles-module__col-span-sm-7__jDZJk",colSpanSm7:km,"col-span-sm-8":"styles-module__col-span-sm-8__-c6X9",colSpanSm8:Sm,"col-span-sm-9":"styles-module__col-span-sm-9__tqIxC",colSpanSm9:Cm,"col-span-sm-10":"styles-module__col-span-sm-10__Z4S4U",colSpanSm10:Lm,"col-span-sm-11":"styles-module__col-span-sm-11__5l3EF",colSpanSm11:Im,"col-span-sm-12":"styles-module__col-span-sm-12__ToxhH",colSpanSm12:Mm,"col-span-sm-full":"styles-module__col-span-sm-full__5PByZ",colSpanSmFull:zm,"col-span-md-1":"styles-module__col-span-md-1__2iH1s",colSpanMd1:Dm,"col-span-md-2":"styles-module__col-span-md-2__metsn",colSpanMd2:Tm,"col-span-md-3":"styles-module__col-span-md-3__ArbKb",colSpanMd3:Bm,"col-span-md-4":"styles-module__col-span-md-4__xVXZU",colSpanMd4:Em,"col-span-md-5":"styles-module__col-span-md-5__ym6rl",colSpanMd5:Wm,"col-span-md-6":"styles-module__col-span-md-6__peA2T",colSpanMd6:Rm,"col-span-md-7":"styles-module__col-span-md-7__AAm1f",colSpanMd7:Xm,"col-span-md-8":"styles-module__col-span-md-8__VLafy",colSpanMd8:Gm,"col-span-md-9":"styles-module__col-span-md-9__PWAAq",colSpanMd9:Vm,"col-span-md-10":"styles-module__col-span-md-10__GRmCe",colSpanMd10:Am,"col-span-md-11":"styles-module__col-span-md-11__M8B4R",colSpanMd11:Pm,"col-span-md-12":"styles-module__col-span-md-12__HGzlP",colSpanMd12:Fm,"col-span-md-full":"styles-module__col-span-md-full__4y9gL",colSpanMdFull:Om,"col-span-lg-1":"styles-module__col-span-lg-1__FG3dm",colSpanLg1:Hm,"col-span-lg-2":"styles-module__col-span-lg-2__5dZiG",colSpanLg2:Ym,"col-span-lg-3":"styles-module__col-span-lg-3__oZmcU",colSpanLg3:qm,"col-span-lg-4":"styles-module__col-span-lg-4__itdqY",colSpanLg4:Km,"col-span-lg-5":"styles-module__col-span-lg-5__ux3GV",colSpanLg5:Zm,"col-span-lg-6":"styles-module__col-span-lg-6__zf4Bn",colSpanLg6:Um,"col-span-lg-7":"styles-module__col-span-lg-7__olG9c",colSpanLg7:Jm,"col-span-lg-8":"styles-module__col-span-lg-8__-QheZ",colSpanLg8:Qm,"col-span-lg-9":"styles-module__col-span-lg-9__ZXgY2",colSpanLg9:ep,"col-span-lg-10":"styles-module__col-span-lg-10__bbXiL",colSpanLg10:sp,"col-span-lg-11":"styles-module__col-span-lg-11__AQw76",colSpanLg11:tp,"col-span-lg-12":"styles-module__col-span-lg-12__cFfHJ",colSpanLg12:lp,"col-span-lg-full":"styles-module__col-span-lg-full__IBuri",colSpanLgFull:np,"col-span-xl-1":"styles-module__col-span-xl-1__hoqul",colSpanXl1:op,"col-span-xl-2":"styles-module__col-span-xl-2__iTlZE",colSpanXl2:ap,"col-span-xl-3":"styles-module__col-span-xl-3__pw3Vu",colSpanXl3:cp,"col-span-xl-4":"styles-module__col-span-xl-4__NaUdq",colSpanXl4:_p,"col-span-xl-5":"styles-module__col-span-xl-5__NZfk2",colSpanXl5:rp,"col-span-xl-6":"styles-module__col-span-xl-6__piqQd",colSpanXl6:dp,"col-span-xl-7":"styles-module__col-span-xl-7__YGer8",colSpanXl7:ip,"col-span-xl-8":"styles-module__col-span-xl-8__Dr6aM",colSpanXl8:up,"col-span-xl-9":"styles-module__col-span-xl-9__zyuUC",colSpanXl9:mp,"col-span-xl-10":"styles-module__col-span-xl-10__1tCT-",colSpanXl10:pp,"col-span-xl-11":"styles-module__col-span-xl-11__4neTT",colSpanXl11:yp,"col-span-xl-12":"styles-module__col-span-xl-12__yqf3o",colSpanXl12:hp,"col-span-xl-full":"styles-module__col-span-xl-full__LIPRp",colSpanXlFull:gp,"row-span-1":"styles-module__row-span-1__zy3Hq",rowSpan1:fp,"row-span-2":"styles-module__row-span-2__Z8RpU",rowSpan2:xp,"row-span-3":"styles-module__row-span-3__JkAqM",rowSpan3:bp,"row-span-4":"styles-module__row-span-4__X5Xkb",rowSpan4:vp,"row-span-5":"styles-module__row-span-5__UGWBp",rowSpan5:$p,"row-span-6":"styles-module__row-span-6__Ok7gd",rowSpan6:jp};function us({columns:s=12,columnsSm:t,columnsMd:n,columnsLg:l,columnsXl:a,gap:o="md",rowGap:c,columnGap:d,alignItems:r,justifyItems:_,justifyContent:i,autoFlow:m,className:v="",children:h,...$}){const u=[Z.grid,Z[`columns-${s}`],t&&Z[`columns-sm-${t}`],n&&Z[`columns-md-${n}`],l&&Z[`columns-lg-${l}`],a&&Z[`columns-xl-${a}`],Z[`gap-${o}`],c&&Z[`row-gap-${c}`],d&&Z[`column-gap-${d}`],r&&Z[`align-${r}`],_&&Z[`justify-items-${_}`],i&&Z[`justify-content-${i}`],m&&Z[`flow-${m}`],v].filter(Boolean).join(" ");return e.jsx("div",{className:u,...$,children:h})}function ms({colSpan:s,colSpanSm:t,colSpanMd:n,colSpanLg:l,colSpanXl:a,rowSpan:o,colStart:c,colEnd:d,rowStart:r,rowEnd:_,className:i="",children:m,...v}){const h=[Z.gridItem,s&&Z[`col-span-${s}`],t&&Z[`col-span-sm-${t}`],n&&Z[`col-span-md-${n}`],l&&Z[`col-span-lg-${l}`],a&&Z[`col-span-xl-${a}`],o&&Z[`row-span-${o}`],i].filter(Boolean).join(" "),$={};return c&&($.gridColumnStart=c),d&&($.gridColumnEnd=d),r&&($.gridRowStart=r),_&&($.gridRowEnd=_),e.jsx("div",{className:h,style:$,...v,children:m})}us.Item=ms;const Np="styles-module__container__VdOF1",wp="styles-module__centered__VnHGF",kp="styles-module__size-xs__-MEhp",Sp="styles-module__size-sm__ZuE4A",Cp="styles-module__size-md__piQ0Z",Lp="styles-module__size-lg__Grr0V",Ip="styles-module__size-xl__aBZcL",Mp="styles-module__size-2xl__qimqK",zp="styles-module__size-full__02jid",Dp="styles-module__fluid__yUjnw",Tp="styles-module__padding-none__BoJqT",Bp="styles-module__padding-sm__jnwGB",Ep="styles-module__padding-md__awpVn",Wp="styles-module__padding-lg__rnErD",Rp="styles-module__padding-xl__vpDQ1",Ke={container:Np,centered:wp,"size-xs":"styles-module__size-xs__-MEhp",sizeXs:kp,"size-sm":"styles-module__size-sm__ZuE4A",sizeSm:Sp,"size-md":"styles-module__size-md__piQ0Z",sizeMd:Cp,"size-lg":"styles-module__size-lg__Grr0V",sizeLg:Lp,"size-xl":"styles-module__size-xl__aBZcL",sizeXl:Ip,"size-2xl":"styles-module__size-2xl__qimqK",size2Xl:Mp,"size-full":"styles-module__size-full__02jid",sizeFull:zp,fluid:Dp,"padding-none":"styles-module__padding-none__BoJqT",paddingNone:Tp,"padding-sm":"styles-module__padding-sm__jnwGB",paddingSm:Bp,"padding-md":"styles-module__padding-md__awpVn",paddingMd:Ep,"padding-lg":"styles-module__padding-lg__rnErD",paddingLg:Wp,"padding-xl":"styles-module__padding-xl__vpDQ1",paddingXl:Rp};function Xp({size:s="lg",padding:t="md",centered:n=!0,fluid:l=!1,className:a="",children:o,...c}){const d=[Ke.container,!l&&Ke[`size-${s}`],Ke[`padding-${t}`],n&&Ke.centered,l&&Ke.fluid,a].filter(Boolean).join(" ");return e.jsx("div",{className:d,...c,children:o})}const Gp="styles-module__spacer__qss6j",Vp="styles-module__axis-vertical__3Kgfw",Ap="styles-module__size-xs__SaVUa",Pp="styles-module__size-sm__UBNV3",Fp="styles-module__size-md__yESLg",Op="styles-module__size-lg__vQTo6",Hp="styles-module__size-xl__xnHrI",Yp="styles-module__size-2xl__3-kBv",qp="styles-module__size-3xl__CLpLD",Kp="styles-module__size-4xl__JaQzV",Zp="styles-module__axis-horizontal__zztIj",Up="styles-module__axis-both__1qVsg",ns={spacer:Gp,"axis-vertical":"styles-module__axis-vertical__3Kgfw",axisVertical:Vp,"size-xs":"styles-module__size-xs__SaVUa",sizeXs:Ap,"size-sm":"styles-module__size-sm__UBNV3",sizeSm:Pp,"size-md":"styles-module__size-md__yESLg",sizeMd:Fp,"size-lg":"styles-module__size-lg__vQTo6",sizeLg:Op,"size-xl":"styles-module__size-xl__xnHrI",sizeXl:Hp,"size-2xl":"styles-module__size-2xl__3-kBv",size2Xl:Yp,"size-3xl":"styles-module__size-3xl__CLpLD",size3Xl:qp,"size-4xl":"styles-module__size-4xl__JaQzV",size4Xl:Kp,"axis-horizontal":"styles-module__axis-horizontal__zztIj",axisHorizontal:Zp,"axis-both":"styles-module__axis-both__1qVsg",axisBoth:Up};function Jp({size:s="md",axis:t="vertical",spacing:n,className:l=""}){const a=[ns.spacer,ns[`size-${s}`],ns[`axis-${t}`],l].filter(Boolean).join(" "),o={};if(n!==void 0){const c=typeof n=="number"?`${n}px`:n;switch(t){case"horizontal":o.width=c,o.height=0;break;case"vertical":o.height=c,o.width=0;break;case"both":o.width=c,o.height=c;break}}return e.jsx("div",{className:a,style:o,"aria-hidden":"true"})}const Qp="styles-module__skeleton__IE-Vu",ey="styles-module__animation-pulse__aYSI1",sy="styles-module__pulse__8b7Cb",ty="styles-module__animation-wave__88ZQe",ly="styles-module__wave__5-OJD",ny="styles-module__variant-text__QpDWV",oy="styles-module__variant-circular__3X6OU",ay="styles-module__variant-rectangular__bDGYd",cy="styles-module__variant-rounded__5rsz7",_y="styles-module__textGroup__djF5j",Je={skeleton:Qp,"animation-pulse":"styles-module__animation-pulse__aYSI1",animationPulse:ey,pulse:sy,"animation-wave":"styles-module__animation-wave__88ZQe",animationWave:ty,wave:ly,"variant-text":"styles-module__variant-text__QpDWV",variantText:ny,"variant-circular":"styles-module__variant-circular__3X6OU",variantCircular:oy,"variant-rectangular":"styles-module__variant-rectangular__bDGYd",variantRectangular:ay,"variant-rounded":"styles-module__variant-rounded__5rsz7",variantRounded:cy,textGroup:_y};function Re({variant:s="text",width:t,height:n,animation:l="pulse",className:a="",lines:o=1,...c}){const d=()=>{const _={};return t!==void 0&&(_.width=typeof t=="number"?`${t}px`:t),n!==void 0&&(_.height=typeof n=="number"?`${n}px`:n),_},r=[Je.skeleton,Je[`variant-${s}`],l!=="none"&&Je[`animation-${l}`],a].filter(Boolean).join(" ");return s==="text"&&o>1?e.jsx("div",{className:Je.textGroup,...c,children:Array.from({length:o},(_,i)=>e.jsx("div",{className:r,style:{...d(),...i===o-1&&{width:t||"80%"}}},i))}):e.jsx("div",{className:r,style:d(),...c})}function ps({lines:s=3,...t}){return e.jsx(Re,{variant:"text",lines:s,...t})}function ys({size:s=40,...t}){return e.jsx(Re,{variant:"circular",width:s,height:s,...t})}function hs({width:s="100%",height:t=200,...n}){return e.jsx(Re,{variant:"rectangular",width:s,height:t,...n})}Re.Text=ps;Re.Circle=ys;Re.Rectangle=hs;const ry="styles-module__videoContainer__3jwCO",dy="styles-module__video__i5zru",iy="styles-module__aspect-16-9__1C9zz",uy="styles-module__aspect-4-3__d-QMp",my="styles-module__aspect-1-1__pNYYM",py="styles-module__aspect-21-9__h138i",os={videoContainer:ry,video:dy,"aspect-16-9":"styles-module__aspect-16-9__1C9zz",aspect169:iy,"aspect-4-3":"styles-module__aspect-4-3__d-QMp",aspect43:uy,"aspect-1-1":"styles-module__aspect-1-1__pNYYM",aspect11:my,"aspect-21-9":"styles-module__aspect-21-9__h138i",aspect219:py},gs=p.forwardRef(({src:s,sources:t,poster:n,aspectRatio:l="16:9",controls:a=!0,autoPlay:o=!1,loop:c=!1,muted:d=!1,playsInline:r=!0,width:_,height:i,className:m="",loading:v="lazy",onError:h,...$},u)=>{const N={};_&&(N.width=typeof _=="number"?`${_}px`:_),i&&(N.height=typeof i=="number"?`${i}px`:i);const b=[os.videoContainer,l!=="auto"&&os[`aspect-${l.replace(":","-")}`],m].filter(Boolean).join(" ");return e.jsx("div",{className:b,style:N,children:e.jsxs("video",{ref:u,className:os.video,controls:a,autoPlay:o,loop:c,muted:d,playsInline:r,poster:n,onError:h,...$,children:[t&&t.length>0?t.map((y,w)=>e.jsx("source",{src:y.src,type:y.type},w)):e.jsx("source",{src:s}),"Your browser does not support the video tag."]})})});gs.displayName="Video";const yy="styles-module__audioContainer__16H-K",hy="styles-module__audio__Mq-EL",gy="styles-module__metadata__avzvt",fy="styles-module__coverArt__uvMH0",xy="styles-module__info__yWEjQ",by="styles-module__title__zSubd",vy="styles-module__artist__YDHxr",$y="styles-module__album__15liA",jy="styles-module__variant-minimal__kn0IV",Ny="styles-module__variant-standard__aqKxT",wy="styles-module__variant-detailed__jUpfp",ke={audioContainer:yy,audio:hy,metadata:gy,coverArt:fy,info:xy,title:by,artist:vy,album:$y,"variant-minimal":"styles-module__variant-minimal__kn0IV",variantMinimal:jy,"variant-standard":"styles-module__variant-standard__aqKxT",variantStandard:Ny,"variant-detailed":"styles-module__variant-detailed__jUpfp",variantDetailed:wy},fs=p.forwardRef(({src:s,sources:t,title:n,artist:l,album:a,coverArt:o,variant:c="standard",controls:d=!0,autoPlay:r=!1,loop:_=!1,muted:i=!1,preload:m="metadata",className:v="",onError:h,onPlay:$,onPause:u,onEnded:N,...b},y)=>{const w=[ke.audioContainer,ke[`variant-${c}`],v].filter(Boolean).join(" "),L=n||l||a||o;return e.jsxs("div",{className:w,children:[L&&c!=="minimal"&&e.jsxs("div",{className:ke.metadata,children:[o&&e.jsx("div",{className:ke.coverArt,children:e.jsx("img",{src:o,alt:n||"Cover art"})}),e.jsxs("div",{className:ke.info,children:[n&&e.jsx("div",{className:ke.title,children:n}),l&&e.jsx("div",{className:ke.artist,children:l}),a&&c==="detailed"&&e.jsx("div",{className:ke.album,children:a})]})]}),e.jsxs("audio",{ref:y,className:ke.audio,controls:d,autoPlay:r,loop:_,muted:i,preload:m,onError:h,onPlay:$,onPause:u,onEnded:N,...b,children:[t&&t.length>0?t.map((x,k)=>e.jsx("source",{src:x.src,type:x.type},k)):e.jsx("source",{src:s}),"Your browser does not support the audio tag."]})]})});fs.displayName="Audio";const ky="styles-module__tagInputContainer__rG-TN",Sy="styles-module__fullWidth__nfUqH",Cy="styles-module__label__r7qNM",Ly="styles-module__inputWrapper__lb9-U",Iy="styles-module__disabled__DJG6N",My="styles-module__sm__f1Ha1",zy="styles-module__lg__bmnGH",Dy="styles-module__error__Gtr32",Ty="styles-module__success__SgWLH",By="styles-module__tagsContainer__9dKnO",Ey="styles-module__tag__UTkfA",Wy="styles-module__tagLabel__koIV7",Ry="styles-module__removeButton__4LMvA",Xy="styles-module__input__G3wtc",Gy="styles-module__helperText__G6VBC",Vy="styles-module__errorText__LPcTb",le={tagInputContainer:ky,fullWidth:Sy,label:Cy,inputWrapper:Ly,disabled:Iy,sm:My,lg:zy,error:Dy,success:Ty,tagsContainer:By,tag:Ey,tagLabel:Wy,removeButton:Ry,input:Xy,helperText:Gy,errorText:Vy};function Ay({tags:s=[],onChange:t,onTagAdd:n,onTagRemove:l,placeholder:a="Add tags...",label:o,error:c,helperText:d,size:r="md",variant:_="default",disabled:i=!1,maxTags:m,separators:v=["Enter",","],allowDuplicates:h=!1,validate:$,removable:u=!0,fullWidth:N=!1,className:b=""}){const[y,w]=p.useState(""),L=p.useRef(null),x=c?"error":_,k=g=>{const j=g.trim();if(!j||m&&s.length>=m||!h&&s.some(K=>K.label.toLowerCase()===j.toLowerCase())||$&&!$(j))return;const C={id:`${Date.now()}-${Math.random()}`,label:j},E=[...s,C];t?.(E),n?.(C),w("")},D=g=>{if(!u||i)return;const j=s.filter(C=>C.id!==g.id);t?.(j),l?.(g)},M=g=>{const j=y.trim();if(v.includes(g.key)){g.preventDefault(),k(j);return}g.key==="Backspace"&&!y&&s.length>0&&u&&(g.preventDefault(),D(s[s.length-1]))},P=g=>{const j=g.target.value;if(v.includes(",")&&j.includes(",")){const C=j.split(",");C.slice(0,-1).forEach(E=>k(E)),w(C[C.length-1])}else w(j)},R=()=>{L.current?.focus()},B=[le.tagInputContainer,N&&le.fullWidth,b].filter(Boolean).join(" "),O=[le.inputWrapper,le[r],le[x],i&&le.disabled].filter(Boolean).join(" ");return e.jsxs("div",{className:B,children:[o&&e.jsx("label",{className:le.label,children:o}),e.jsx("div",{className:O,onClick:R,children:e.jsxs("div",{className:le.tagsContainer,children:[s.map(g=>e.jsxs("div",{className:le.tag,children:[e.jsx("span",{className:le.tagLabel,children:g.label}),u&&!i&&e.jsx("button",{type:"button",className:le.removeButton,onClick:j=>{j.stopPropagation(),D(g)},"aria-label":`Remove ${g.label}`,children:"×"})]},g.id)),(!m||s.length<m)&&e.jsx("input",{ref:L,type:"text",className:le.input,value:y,onChange:P,onKeyDown:M,onBlur:()=>{y.trim()&&k(y)},placeholder:s.length===0?a:"",disabled:i})]})}),(c||d)&&e.jsx("span",{className:`${le.helperText} ${c?le.errorText:""}`,children:c||d})]})}const Py="styles-module__pinInputContainer__A-JES",Fy="styles-module__label__oTDys",Oy="styles-module__inputsWrapper__kkWw4",Hy="styles-module__pinInput__98qy7",Yy="styles-module__sm__soj3i",qy="styles-module__lg__i9e56",Ky="styles-module__error__n5-a4",Zy="styles-module__success__P-ASa",Uy="styles-module__masked__DP3X2",Jy="styles-module__helperText__1DBEi",Qy="styles-module__errorText__Hr-Sq",he={pinInputContainer:Py,label:Fy,inputsWrapper:Oy,pinInput:Hy,sm:Yy,lg:qy,error:Ky,success:Zy,masked:Uy,helperText:Jy,errorText:Qy};function eh({length:s=6,type:t="numeric",size:n="md",variant:l="default",mask:a=!1,autoFocus:o=!1,disabled:c=!1,placeholder:d="",label:r,error:_,helperText:i,onChange:m,onComplete:v,value:h,defaultValue:$="",selectOnFocus:u=!0,className:N=""}){const[b,y]=p.useState(h?.split("")||$.split("").slice(0,s)||Array(s).fill("")),w=p.useRef([]),L=_?"error":l;p.useEffect(()=>{if(h!==void 0){const g=h.split("").slice(0,s);for(;g.length<s;)g.push("");y(g)}},[h,s]),p.useEffect(()=>{o&&w.current[0]&&w.current[0].focus()},[o]);const x=g=>{if(!g)return!0;switch(t){case"numeric":return/^\d$/.test(g);case"alphabetic":return/^[a-zA-Z]$/.test(g);case"alphanumeric":return/^[a-zA-Z0-9]$/.test(g);default:return!0}},k=g=>{w.current[g]&&(w.current[g]?.focus(),u&&w.current[g]?.select())},D=(g,j)=>{const C=j.slice(-1);if(j&&!x(C))return;const E=[...b];E[g]=C,y(E);const K=E.join("");m?.(K),C&&g<s-1&&k(g+1),E.every(W=>W!=="")&&v?.(K)},M=(g,j)=>{if(j.key==="Backspace"){j.preventDefault();const C=[...b];b[g]?(C[g]="",y(C),m?.(C.join(""))):g>0&&(C[g-1]="",y(C),m?.(C.join("")),k(g-1))}if(j.key==="Delete"){j.preventDefault();const C=[...b];C[g]="",y(C),m?.(C.join(""))}j.key==="ArrowLeft"&&g>0&&(j.preventDefault(),k(g-1)),j.key==="ArrowRight"&&g<s-1&&(j.preventDefault(),k(g+1)),j.key==="Home"&&(j.preventDefault(),k(0)),j.key==="End"&&(j.preventDefault(),k(s-1))},P=g=>{g.preventDefault();const C=g.clipboardData.getData("text").slice(0,s).split("").filter(x),E=[...b];C.forEach((W,S)=>{S<s&&(E[S]=W)}),y(E),m?.(E.join(""));const K=E.findIndex(W=>!W);k(K===-1?s-1:K),E.every(W=>W!=="")&&v?.(E.join(""))},R=g=>{u&&w.current[g]&&w.current[g]?.select()},B=[he.pinInputContainer,N].filter(Boolean).join(" "),O=[he.pinInput,he[n],he[L],a&&he.masked,c&&he.disabled].filter(Boolean).join(" ");return e.jsxs("div",{className:B,children:[r&&e.jsx("label",{className:he.label,children:r}),e.jsx("div",{className:he.inputsWrapper,children:Array.from({length:s}).map((g,j)=>e.jsx("input",{ref:C=>w.current[j]=C,type:a?"password":"text",inputMode:t==="numeric"?"numeric":"text",maxLength:1,value:b[j]||"",onChange:C=>D(j,C.target.value),onKeyDown:C=>M(j,C),onPaste:P,onFocus:()=>R(j),disabled:c,placeholder:d,className:O,"aria-label":`PIN digit ${j+1}`},j))}),(_||i)&&e.jsx("span",{className:`${he.helperText} ${_?he.errorText:""}`,children:_||i})]})}const sh="styles-module__ratingContainer__F0pJb",th="styles-module__label__P8tLy",lh="styles-module__ratingWrapper__vNfnc",nh="styles-module__rating__NcjYB",oh="styles-module__star__1LgQx",ah="styles-module__sm__KTEVu",ch="styles-module__md__vRYlw",_h="styles-module__lg__NoGC1",rh="styles-module__readOnly__yNpwH",dh="styles-module__disabled__cME0J",ih="styles-module__valueDisplay__KxK-j",uh="styles-module__helperText__-Dh55",ge={ratingContainer:sh,label:th,ratingWrapper:lh,rating:nh,star:oh,sm:ah,md:ch,lg:_h,readOnly:rh,disabled:dh,valueDisplay:ih,helperText:uh};function mh({value:s,defaultValue:t=0,max:n=5,precision:l=1,size:a="md",readOnly:o=!1,disabled:c=!1,label:d,showValue:r=!1,emptyIcon:_,filledIcon:i,halfIcon:m,onChange:v,onHoverChange:h,className:$="",helperText:u}){const[N,b]=p.useState(t),[y,w]=p.useState(null),L=s!==void 0?s:N,x=y!==null?y:L,k=!o&&!c,D=g=>{if(!k)return;const j=L===g?0:g;s===void 0&&b(j),v?.(j)},M=(g,j)=>{if(k)if(l===.5){const{left:C,width:E}=j.currentTarget.getBoundingClientRect(),K=(j.clientX-C)/E,W=g+(K>.5?1:.5);w(W),h?.(W)}else{const C=g+1;w(C),h?.(C)}},P=()=>{k&&(w(null),h?.(0))},R=g=>{const j=g+1,C=x>=j,E=l===.5&&x>=j-.5&&x<j;return C?i||"★":E?m||"⯨":_||"☆"},B=[ge.ratingContainer,$].filter(Boolean).join(" "),O=[ge.rating,ge[a],c&&ge.disabled,o&&ge.readOnly].filter(Boolean).join(" ");return e.jsxs("div",{className:B,children:[d&&e.jsx("label",{className:ge.label,children:d}),e.jsxs("div",{className:ge.ratingWrapper,children:[e.jsx("div",{className:O,onMouseLeave:P,children:Array.from({length:n},(g,j)=>e.jsx("button",{type:"button",className:ge.star,onClick:()=>D(j+1),onMouseMove:C=>M(j,C),disabled:c,"aria-label":`Rate ${j+1} out of ${n}`,children:R(j)},j))}),r&&e.jsxs("span",{className:ge.valueDisplay,children:[x.toFixed(l===.5?1:0)," / ",n]})]}),u&&e.jsx("span",{className:ge.helperText,children:u})]})}const ph="styles-module__window__kkIRc",yh="styles-module__maximized__8yMaC",hh="styles-module__resizable__sHn40",gh="styles-module__size-sm__yjumC",fh="styles-module__size-md__kavLf",xh="styles-module__size-lg__IBW3e",bh="styles-module__size-xl__9yXK2",vh="styles-module__size-full__AEyyM",$h="styles-module__variant-default__fGFvQ",jh="styles-module__variant-dark__4x4Z6",Nh="styles-module__variant-light__ruY9H",wh="styles-module__titleBar__q4Nxs",kh="styles-module__draggable__AmUbi",Sh="styles-module__titleBarContent__blnTu",Ch="styles-module__title__muIAe",Lh="styles-module__toolbar__3bLH-",Ih="styles-module__controls__nFGhQ",Mh="styles-module__control__qiMAt",zh="styles-module__minimize__zGRY6",Dh="styles-module__maximize__SuZ8f",Th="styles-module__close__PVa1W",Bh="styles-module__content__ABsnm",Eh="styles-module__footer__g5GSG",U={window:ph,maximized:yh,resizable:hh,"size-sm":"styles-module__size-sm__yjumC",sizeSm:gh,"size-md":"styles-module__size-md__kavLf",sizeMd:fh,"size-lg":"styles-module__size-lg__IBW3e",sizeLg:xh,"size-xl":"styles-module__size-xl__9yXK2",sizeXl:bh,"size-full":"styles-module__size-full__AEyyM",sizeFull:vh,"variant-default":"styles-module__variant-default__fGFvQ",variantDefault:$h,"variant-dark":"styles-module__variant-dark__4x4Z6",variantDark:jh,"variant-light":"styles-module__variant-light__ruY9H",variantLight:Nh,titleBar:wh,draggable:kh,titleBarContent:Sh,title:Ch,toolbar:Lh,controls:Ih,control:Mh,minimize:zh,maximize:Dh,close:Th,content:Bh,footer:Eh};function Wh({title:s="Window",size:t="md",variant:n="default",open:l=!0,closable:a=!0,minimizable:o=!1,maximizable:c=!0,resizable:d=!1,draggable:r=!0,onClose:_,onMinimize:i,onMaximize:m,width:v,height:h,initialX:$=0,initialY:u=0,children:N,className:b="",showControls:y=!0,toolbar:w,footer:L}){const[x,k]=p.useState(!1),[D,M]=p.useState({x:$,y:u}),[P,R]=p.useState(!1),[B,O]=p.useState({x:0,y:0}),g=p.useRef(null);if(!l)return null;const j=f=>{!r||x||(R(!0),O({x:f.clientX-D.x,y:f.clientY-D.y}))},C=f=>{P&&M({x:f.clientX-B.x,y:f.clientY-B.y})},E=()=>{R(!1)};p.useEffect(()=>{if(P)return document.addEventListener("mousemove",C),document.addEventListener("mouseup",E),()=>{document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",E)}},[P,B]);const K=()=>{k(!x),m?.()},W={};!x&&r&&(W.transform=`translate(${D.x}px, ${D.y}px)`),v&&(W.width=typeof v=="number"?`${v}px`:v),h&&(W.height=typeof h=="number"?`${h}px`:h);const S=[U.window,U[`size-${t}`],U[`variant-${n}`],x&&U.maximized,d&&U.resizable,b].filter(Boolean).join(" ");return e.jsxs("div",{ref:g,className:S,style:W,children:[e.jsxs("div",{className:`${U.titleBar} ${r&&!x?U.draggable:""}`,onMouseDown:j,children:[e.jsxs("div",{className:U.titleBarContent,children:[e.jsx("span",{className:U.title,children:s}),w&&e.jsx("div",{className:U.toolbar,children:w})]}),y&&e.jsxs("div",{className:U.controls,children:[o&&e.jsx("button",{type:"button",className:`${U.control} ${U.minimize}`,onClick:i,"aria-label":"Minimize",children:"−"}),c&&e.jsx("button",{type:"button",className:`${U.control} ${U.maximize}`,onClick:K,"aria-label":x?"Restore":"Maximize",children:x?"⧉":"□"}),a&&e.jsx("button",{type:"button",className:`${U.control} ${U.close}`,onClick:_,"aria-label":"Close",children:"×"})]})]}),e.jsx("div",{className:U.content,children:N}),L&&e.jsx("div",{className:U.footer,children:L})]})}const Rh="styles-module__gaugeContainer__BnFBJ",Xh="styles-module__svg__IOyJ8",Gh="styles-module__animatedPath__MmF1n",Vh="styles-module__gaugeAnimation__Hxuof",Ah="styles-module__centerText__-aFc6",Ph="styles-module__value__f21LN",Fh="styles-module__unit__f4531",Oh="styles-module__label__3mWKl",Hh="styles-module__minMaxLabels__Zc16l",Yh="styles-module__minLabel__gGD9N",qh="styles-module__maxLabel__tNNbn",Kh="styles-module__sm__5ZJIU",Zh="styles-module__md__ZNSR1",Uh="styles-module__lg__BS4ab",Jh="styles-module__xl__Qeyec",me={gaugeContainer:Rh,svg:Xh,animatedPath:Gh,gaugeAnimation:Vh,centerText:Ah,value:Ph,unit:Fh,label:Oh,minMaxLabels:Hh,minLabel:Yh,maxLabel:qh,sm:Kh,md:Zh,lg:Uh,xl:Jh};function Qh({value:s,min:t=0,max:n=100,size:l="md",variant:a="default",thickness:o=12,label:c,showValue:d=!0,valueFormatter:r,showMinMax:_=!1,startAngle:i=-135,endAngle:m=135,animate:v=!0,className:h="",unit:$=""}){const u=Math.max(t,Math.min(n,s)),N=(u-t)/(n-t)*100,b=50-o/2,y=2*Math.PI*b,w=i*Math.PI/180,L=m*Math.PI/180,x=L-w,k=w+x*N/100,D=50+b*Math.sin(w),M=50-b*Math.cos(w),P=50+b*Math.sin(L),R=50-b*Math.cos(L),B=50+b*Math.sin(k),O=50-b*Math.cos(k),g=Math.abs(m-i)>180?1:0,j=N/100*Math.abs(m-i)>180?1:0,C=`M ${D} ${M} A ${b} ${b} 0 ${g} 1 ${P} ${R}`,E=N>0?`M ${D} ${M} A ${b} ${b} 0 ${j} 1 ${B} ${O}`:"",K=r?r(u):u.toFixed(0),W=[me.gaugeContainer,me[l],h].filter(Boolean).join(" "),S={default:"rgba(99, 102, 241, 0.8)",success:"rgba(34, 197, 94, 0.8)",warning:"rgba(251, 191, 36, 0.8)",error:"rgba(239, 68, 68, 0.8)",info:"rgba(59, 130, 246, 0.8)"};return e.jsxs("div",{className:W,children:[e.jsxs("svg",{className:me.svg,viewBox:"0 0 100 100",children:[e.jsx("path",{d:C,fill:"none",stroke:"rgba(255, 255, 255, 0.1)",strokeWidth:o,strokeLinecap:"round"}),N>0&&e.jsx("path",{d:E,fill:"none",stroke:S[a],strokeWidth:o,strokeLinecap:"round",className:v?me.animatedPath:"",style:{strokeDasharray:y,strokeDashoffset:y*(1-N/100)}}),e.jsxs("g",{className:me.centerText,children:[d&&e.jsxs("text",{x:"50",y:c?"45":"52",className:me.value,children:[K,$&&e.jsx("tspan",{className:me.unit,children:$})]}),c&&e.jsx("text",{x:"50",y:d?"60":"52",className:me.label,children:c})]})]}),_&&e.jsxs("div",{className:me.minMaxLabels,children:[e.jsx("span",{className:me.minLabel,children:t}),e.jsx("span",{className:me.maxLabel,children:n})]})]})}const eg="styles-module__colorPickerContainer__GcH66",sg="styles-module__label__t8ugX",tg="styles-module__inputWrapper__DD6E-",lg="styles-module__colorButton__gbskz",ng="styles-module__disabled__f-loV",og="styles-module__colorPreview__toNQY",ag="styles-module__colorInput__LWEMn",cg="styles-module__popover__x3a-e",_g="styles-module__pickerContent__2W72c",rg="styles-module__nativeColorPicker__rPI-9",dg="styles-module__presets__IuFHV",ig="styles-module__quickColors__YOCtI",ug="styles-module__presetsLabel__2bK2r",mg="styles-module__quickColorsLabel__jiYjL",pg="styles-module__presetsGrid__VDTHM",yg="styles-module__presetButton__5wc-z",hg="styles-module__active__SqIPE",gg="styles-module__quickColorsGrid__9ZX0W",fg="styles-module__quickColorButton__2FpSv",xg="styles-module__helperText__AqKTN",bg="styles-module__errorText__cardI",Y={colorPickerContainer:eg,label:sg,inputWrapper:tg,colorButton:lg,disabled:ng,colorPreview:og,colorInput:ag,popover:cg,pickerContent:_g,nativeColorPicker:rg,presets:dg,quickColors:ig,presetsLabel:ug,quickColorsLabel:mg,presetsGrid:pg,presetButton:yg,active:hg,quickColorsGrid:gg,quickColorButton:fg,helperText:xg,errorText:bg},vg=s=>{const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(s);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},$g=(s,t,n)=>{s/=255,t/=255,n/=255;const l=Math.max(s,t,n),a=Math.min(s,t,n);let o=0,c=0;const d=(l+a)/2;if(l!==a){const r=l-a;switch(c=d>.5?r/(2-l-a):r/(l+a),l){case s:o=((t-n)/r+(t<n?6:0))/6;break;case t:o=((n-s)/r+2)/6;break;case n:o=((s-t)/r+4)/6;break}}return{h:Math.round(o*360),s:Math.round(c*100),l:Math.round(d*100)}};function jg({value:s,defaultValue:t="#6366f1",onChange:n,format:l="hex",label:a,disabled:o=!1,showPresets:c=!0,presets:d=["#ef4444","#f97316","#f59e0b","#84cc16","#22c55e","#14b8a6","#06b6d4","#3b82f6","#6366f1","#8b5cf6","#a855f7","#ec4899"],showAlpha:r=!1,className:_="",helperText:i,error:m}){const[v,h]=p.useState(t),[$,u]=p.useState(!1),N=p.useRef(null),b=s!==void 0?s:v;p.useEffect(()=>{const x=k=>{N.current&&!N.current.contains(k.target)&&u(!1)};return $&&document.addEventListener("mousedown",x),()=>{document.removeEventListener("mousedown",x)}},[$]);const y=x=>{s===void 0&&h(x),n?.(x)},w=x=>{const k=vg(x);if(!k)return x;switch(l){case"rgb":return`rgb(${k.r}, ${k.g}, ${k.b})`;case"hsl":const D=$g(k.r,k.g,k.b);return`hsl(${D.h}, ${D.s}%, ${D.l}%)`;default:return x}},L=[Y.colorPickerContainer,_].filter(Boolean).join(" ");return e.jsxs("div",{className:L,children:[a&&e.jsx("label",{className:Y.label,children:a}),e.jsxs("div",{className:Y.inputWrapper,ref:N,children:[e.jsx("button",{type:"button",className:`${Y.colorButton} ${o?Y.disabled:""}`,onClick:()=>!o&&u(!$),disabled:o,style:{backgroundColor:b},"aria-label":"Select color",children:e.jsx("span",{className:Y.colorPreview,style:{backgroundColor:b}})}),e.jsx("input",{type:"text",className:Y.colorInput,value:w(b),onChange:x=>y(x.target.value),disabled:o,placeholder:"#000000"}),$&&!o&&e.jsx("div",{className:Y.popover,children:e.jsxs("div",{className:Y.pickerContent,children:[e.jsx("input",{type:"color",className:Y.nativeColorPicker,value:b,onChange:x=>y(x.target.value)}),c&&e.jsxs("div",{className:Y.presets,children:[e.jsx("div",{className:Y.presetsLabel,children:"Presets"}),e.jsx("div",{className:Y.presetsGrid,children:d.map(x=>e.jsx("button",{type:"button",className:`${Y.presetButton} ${x===b?Y.active:""}`,style:{backgroundColor:x},onClick:()=>y(x),"aria-label":`Select ${x}`},x))})]}),e.jsxs("div",{className:Y.quickColors,children:[e.jsx("div",{className:Y.quickColorsLabel,children:"Quick Colors"}),e.jsxs("div",{className:Y.quickColorsGrid,children:[e.jsx("button",{type:"button",className:Y.quickColorButton,style:{backgroundColor:"#000000"},onClick:()=>y("#000000")}),e.jsx("button",{type:"button",className:Y.quickColorButton,style:{backgroundColor:"#ffffff"},onClick:()=>y("#ffffff")}),e.jsx("button",{type:"button",className:Y.quickColorButton,style:{backgroundColor:"#808080"},onClick:()=>y("#808080")})]})]})]})})]}),(m||i)&&e.jsx("span",{className:`${Y.helperText} ${m?Y.errorText:""}`,children:m||i})]})}const Ng="styles-module__contextMenu__GRBVO",wg="styles-module__menuItem__RSaTZ",kg="styles-module__disabled__bw0t-",Sg="styles-module__danger__KAIXk",Cg="styles-module__menuItemContent__-bnOm",Lg="styles-module__icon__WnkZL",Ig="styles-module__label__HqC1u",Mg="styles-module__menuItemRight__NVcQN",zg="styles-module__shortcut__4Ry6D",Dg="styles-module__submenuIndicator__glhiH",Tg="styles-module__separator__VcMO9",Bg="styles-module__submenu__HTiQG",_e={contextMenu:Ng,menuItem:wg,disabled:kg,danger:Sg,menuItemContent:Cg,icon:Lg,label:Ig,menuItemRight:Mg,shortcut:zg,submenuIndicator:Dg,separator:Tg,submenu:Bg};function Eg({items:s,children:t,className:n="",disabled:l=!1}){const[a,o]=p.useState(!1),[c,d]=p.useState({x:0,y:0}),[r,_]=p.useState({}),i=p.useRef(null),m=p.useRef(null),v=y=>{if(l)return;y.preventDefault(),y.stopPropagation();const w=y.clientX,L=y.clientY,x=240,k=s.length*40+16,D=window.innerWidth,M=window.innerHeight,P=w+x>D?D-x-10:w,R=L+k>M?M-k-10:L;d({x:P,y:R}),o(!0)},h=y=>{i.current&&!i.current.contains(y.target)&&m.current&&!m.current.contains(y.target)&&(o(!1),_({}))};p.useEffect(()=>{if(a)return document.addEventListener("mousedown",h),document.addEventListener("contextmenu",h),()=>{document.removeEventListener("mousedown",h),document.removeEventListener("contextmenu",h)}},[a]);const $=y=>{y.disabled||(y.submenu?_(w=>({...w,[y.id]:!w[y.id]})):(y.onClick?.(),o(!1),_({})))},u=y=>{_(w=>({...w,[y]:!0}))},N=y=>{_(w=>({...w,[y]:!1}))},b=(y,w=0)=>{const L=y.submenu&&y.submenu.length>0,x=r[y.id];return e.jsxs(p.Fragment,{children:[e.jsxs("div",{className:`${_e.menuItem} ${y.disabled?_e.disabled:""} ${y.danger?_e.danger:""}`,onClick:()=>$(y),onMouseEnter:()=>L&&u(y.id),onMouseLeave:()=>L&&N(y.id),style:{paddingLeft:`${.75+w*.5}rem`},children:[e.jsxs("div",{className:_e.menuItemContent,children:[y.icon&&e.jsx("span",{className:_e.icon,children:y.icon}),e.jsx("span",{className:_e.label,children:y.label})]}),e.jsxs("div",{className:_e.menuItemRight,children:[y.shortcut&&e.jsx("span",{className:_e.shortcut,children:y.shortcut}),L&&e.jsx("span",{className:_e.submenuIndicator,children:"›"})]}),L&&x&&e.jsx("div",{className:_e.submenu,children:y.submenu.map(k=>b(k,w+1))})]}),y.separator&&e.jsx("div",{className:_e.separator})]},y.id)};return e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:m,onContextMenu:v,className:n,style:{display:"inline-block"},children:t}),a&&e.jsx("div",{ref:i,className:_e.contextMenu,style:{left:`${c.x}px`,top:`${c.y}px`},children:s.map(y=>b(y))})]})}const Wg="styles-module__dataList__0oRGD",Rg="styles-module__item__eOSeD",Xg="styles-module__highlight__DdCec",Gg="styles-module__horizontal__GB4WY",Vg="styles-module__label__75f3b",Ag="styles-module__value__aOT7v",Pg="styles-module__vertical__H42DV",Fg="styles-module__bold__mfZsI",Og="styles-module__icon__EoISr",Hg="styles-module__labelText__ca0Gf",Yg="styles-module__helpText__CW7oi",qg="styles-module__valueContent__NlivI",Kg="styles-module__copyButton__pQctE",Zg="styles-module__dividers__uU1uU",Ug="styles-module__striped__7ArH9",Jg="styles-module__sm__J9JEm",Qg="styles-module__md__stc8l",ef="styles-module__lg__iKJsr",ee={dataList:Wg,item:Rg,highlight:Xg,horizontal:Gg,label:Vg,value:Ag,vertical:Pg,bold:Fg,icon:Og,labelText:Hg,helpText:Yg,valueContent:qg,copyButton:Kg,dividers:Zg,striped:Ug,sm:Jg,md:Qg,lg:ef};function sf({items:s,orientation:t="horizontal",size:n="md",dividers:l=!0,boldLabels:a=!0,className:o="",labelWidth:c,striped:d=!1,onCopy:r}){const _=async i=>{if(!(!i.copyable||typeof i.value!="string"))try{await navigator.clipboard.writeText(i.value),r?.(i)}catch(m){console.error("Failed to copy:",m)}};return e.jsx("dl",{className:`${ee.dataList} ${ee[t]} ${ee[n]} ${l?ee.dividers:""} ${d?ee.striped:""} ${o}`,style:{"--label-width":c},children:s.map((i,m)=>e.jsxs("div",{className:`${ee.item} ${i.highlight?ee.highlight:""} ${i.className||""}`,children:[e.jsxs("dt",{className:`${ee.label} ${a?ee.bold:""}`,children:[i.icon&&e.jsx("span",{className:ee.icon,children:i.icon}),e.jsxs("span",{className:ee.labelText,children:[i.label,i.helpText&&e.jsx("span",{className:ee.helpText,title:i.helpText,children:"?"})]})]}),e.jsxs("dd",{className:ee.value,children:[e.jsx("span",{className:ee.valueContent,children:i.value}),i.copyable&&e.jsx("button",{type:"button",className:ee.copyButton,onClick:()=>_(i),"aria-label":"Copy value",title:"Copy to clipboard",children:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M5.5 2.5h-2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2m-5-8h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]},i.id))})}const tf="styles-module__statCard__oYt00",lf="styles-module__bordered__A56Xz",nf="styles-module__clickable__mMZBY",of="styles-module__header__IYBwN",af="styles-module__labelContainer__mSkYw",cf="styles-module__icon__-4Vf1",_f="styles-module__label__xxYm9",rf="styles-module__content__RE4Xm",df="styles-module__valueContainer__o1jtt",uf="styles-module__value__ZjSG8",mf="styles-module__prefix__jaOdQ",pf="styles-module__suffix__9g-Zt",yf="styles-module__description__DOrYb",hf="styles-module__changeContainer__p4K9m",gf="styles-module__trendIcon__8hzJD",ff="styles-module__trend-up__EkKSW",xf="styles-module__trend-down__PAAY-",bf="styles-module__trend-neutral__1OaEM",vf="styles-module__footer__y26Lt",$f="styles-module__loading__q9k-W",jf="styles-module__loadingSkeleton__eMNrK",Nf="styles-module__skeletonValue__Pio1n",wf="styles-module__shimmer__OH-3R",kf="styles-module__skeletonDescription__Qws61",Sf="styles-module__sm__t0NLs",Cf="styles-module__md__f-ZAw",Lf="styles-module__lg__o7Q4y",If="styles-module__primary__Kp-sj",Mf="styles-module__success__Q5jxs",zf="styles-module__warning__l8Nwy",Df="styles-module__error__tcxHs",Tf="styles-module__info__cF-x1",X={statCard:tf,bordered:lf,clickable:nf,header:of,labelContainer:af,icon:cf,label:_f,content:rf,valueContainer:df,value:uf,prefix:mf,suffix:pf,description:yf,changeContainer:hf,trendIcon:gf,"trend-up":"styles-module__trend-up__EkKSW",trendUp:ff,"trend-down":"styles-module__trend-down__PAAY-",trendDown:xf,"trend-neutral":"styles-module__trend-neutral__1OaEM",trendNeutral:bf,footer:vf,loading:$f,loadingSkeleton:jf,skeletonValue:Nf,shimmer:wf,skeletonDescription:kf,sm:Sf,md:Cf,lg:Lf,default:"styles-module__default__AaRSX",primary:If,success:Mf,warning:zf,error:Df,info:Tf};function Bf({value:s,label:t,icon:n,variant:l="default",size:a="md",change:o,trend:c,description:d,footer:r,loading:_=!1,className:i="",onClick:m,bordered:v=!1,prefix:h,suffix:$}){const u=!!m,N=()=>_?e.jsx("div",{className:X.loadingSkeleton,children:e.jsx("div",{className:X.skeletonValue})}):e.jsxs("div",{className:X.valueContainer,children:[h&&e.jsx("span",{className:X.prefix,children:h}),e.jsx("span",{className:X.value,children:s}),$&&e.jsx("span",{className:X.suffix,children:$})]}),b=()=>{if(!o&&!c)return null;const y=c?X[`trend-${c}`]:o?.startsWith("+")||o?.startsWith("↑")?X["trend-up"]:o?.startsWith("-")||o?.startsWith("↓")?X["trend-down"]:X["trend-neutral"];return e.jsxs("div",{className:`${X.changeContainer} ${y}`,children:[c==="up"&&!o?.includes("↑")&&!o?.includes("▲")&&e.jsx("span",{className:X.trendIcon,children:"↑"}),c==="down"&&!o?.includes("↓")&&!o?.includes("▼")&&e.jsx("span",{className:X.trendIcon,children:"↓"}),c==="neutral"&&!o?.includes("→")&&e.jsx("span",{className:X.trendIcon,children:"→"}),o&&e.jsx("span",{className:X.change,children:o})]})};return e.jsxs("div",{className:`${X.statCard} ${X[l]} ${X[a]} ${u?X.clickable:""} ${v?X.bordered:""} ${_?X.loading:""} ${i}`,onClick:m,role:u?"button":void 0,tabIndex:u?0:void 0,onKeyDown:u?y=>{(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),m?.())}:void 0,children:[e.jsxs("div",{className:X.header,children:[e.jsxs("div",{className:X.labelContainer,children:[n&&e.jsx("span",{className:X.icon,children:n}),e.jsx("span",{className:X.label,children:t})]}),b()]}),e.jsxs("div",{className:X.content,children:[N(),d&&!_&&e.jsx("p",{className:X.description,children:d}),_&&d&&e.jsx("div",{className:X.loadingSkeleton,children:e.jsx("div",{className:X.skeletonDescription})})]}),r&&!_&&e.jsx("div",{className:X.footer,children:r})]})}const Ef="styles-module__split__10amd",Wf="styles-module__horizontal__nWMIm",Rf="styles-module__vertical__dHG5L",Xf="styles-module__pane__eLr0i",Gf="styles-module__gutter__bzVSj",Vf="styles-module__gutterHandle__laNCM",Af="styles-module__dragging__GRmLp",Pf="styles-module__disabled__-Lei8",Te={split:Ef,horizontal:Wf,vertical:Rf,pane:Xf,gutter:Gf,gutterHandle:Vf,dragging:Af,disabled:Pf};function Ff({direction:s="horizontal",initialSize:t=50,minSize:n=100,maxSize:l,children:a,onResize:o,className:c="",disabled:d=!1,snapPositions:r=[],snapThreshold:_=20,gutterSize:i=8}){const[m,v]=p.useState(t),[h,$]=p.useState(!1),u=p.useRef(null),N=p.useRef(0),b=p.useRef(0),y=s==="horizontal",w=B=>{d||(B.preventDefault(),$(!0),N.current=y?B.clientX:B.clientY,b.current=m)},L=p.useCallback(B=>{if(!h||!u.current)return;const g=u.current.getBoundingClientRect(),j=y?g.width:g.height,C=y?B.clientX:B.clientY;y?g.left:g.top;const K=(C-N.current)/j*100;let W=b.current+K;const S=n/j*100;let f=100-S;if(l&&(f=Math.min(f,l/j*100)),W=Math.max(S,Math.min(f,W)),r.length>0)for(const I of r){const be=I/100*j,oe=W/100*j;if(Math.abs(oe-be)<_){W=I;break}}v(W),o?.(W)},[h,y,n,l,r,_,o]),x=p.useCallback(()=>{h&&$(!1)},[h]);p.useEffect(()=>{if(h)return document.addEventListener("mousemove",L),document.addEventListener("mouseup",x),document.body.style.userSelect="none",document.body.style.cursor=y?"col-resize":"row-resize",()=>{document.removeEventListener("mousemove",L),document.removeEventListener("mouseup",x),document.body.style.userSelect="",document.body.style.cursor=""}},[h,L,x,y]);const k=B=>{if(d)return;B.preventDefault(),$(!0);const O=B.touches[0];N.current=y?O.clientX:O.clientY,b.current=m},D=p.useCallback(B=>{if(!h||!u.current)return;const O=B.touches[0],j=u.current.getBoundingClientRect(),C=y?j.width:j.height,W=((y?O.clientX:O.clientY)-N.current)/C*100;let S=b.current+W;const f=n/C*100;let I=100-f;if(l&&(I=Math.min(I,l/C*100)),S=Math.max(f,Math.min(I,S)),r.length>0)for(const be of r){const oe=be/100*C,Xe=S/100*C;if(Math.abs(Xe-oe)<_){S=be;break}}v(S),o?.(S)},[h,y,n,l,r,_,o]),M=p.useCallback(()=>{h&&$(!1)},[h]);p.useEffect(()=>{if(h)return document.addEventListener("touchmove",D),document.addEventListener("touchend",M),()=>{document.removeEventListener("touchmove",D),document.removeEventListener("touchend",M)}},[h,D,M]);const[P,R]=a;return e.jsxs("div",{ref:u,className:`${Te.split} ${Te[s]} ${h?Te.dragging:""} ${d?Te.disabled:""} ${c}`,children:[e.jsx("div",{className:Te.pane,style:{[y?"width":"height"]:`${m}%`},children:P}),e.jsx("div",{className:Te.gutter,style:{[y?"width":"height"]:`${i}px`},onMouseDown:w,onTouchStart:k,role:"separator","aria-orientation":s,"aria-valuenow":m,"aria-valuemin":n,"aria-valuemax":l||100,children:e.jsx("div",{className:Te.gutterHandle})}),e.jsx("div",{className:Te.pane,style:{flex:1},children:R})]})}const Of="styles-module__imageGallery__1ewHX",Hf="styles-module__carouselContainer__CELQo",Yf="styles-module__carouselMain__228vS",qf="styles-module__carouselTrack__KssOC",Kf="styles-module__carouselSlide__pjIfk",Zf="styles-module__carouselImage__QcK-1",Uf="styles-module__sm__oyagg",Jf="styles-module__md__fP0C0",Qf="styles-module__lg__yaqEo",ex="styles-module__arrow__fKqP7",sx="styles-module__arrowLeft__KpeXV",tx="styles-module__arrowRight__K9tqV",lx="styles-module__indicators__BuRqL",nx="styles-module__indicator__W0UZw",ox="styles-module__active__rCFls",ax="styles-module__thumbnails__rbSf8",cx="styles-module__thumbnail__uw-GG",_x="styles-module__caption__WXDtk",rx="styles-module__grid__Godk8",dx="styles-module__gridItem__R13Ho",ix="styles-module__gridOverlay__2Y-3Z",ux="styles-module__gridTitle__9Q2p3",mx="styles-module__gridCaption__mpcNh",px="styles-module__masonry__tNDHq",yx="styles-module__masonryItem__22ZfL",hx="styles-module__masonryOverlay__nQ91c",gx="styles-module__masonryTitle__WhvJr",fx="styles-module__masonryCaption__HP0Zk",xx="styles-module__lightbox__DLFIG",bx="styles-module__fadeIn__DWqo2",vx="styles-module__lightboxContent__45Wxl",$x="styles-module__zoomIn__CIB6-",jx="styles-module__lightboxClose__9oi0c",Nx="styles-module__lightboxArrow__f6Qhq",wx="styles-module__lightboxArrowLeft__qHu5S",kx="styles-module__lightboxArrowRight__4wu-Y",Sx="styles-module__lightboxCaption__gVJhg",Cx="styles-module__lightboxTitle__M-1gH",Lx="styles-module__lightboxCounter__mpIt8",T={imageGallery:Of,carouselContainer:Hf,carouselMain:Yf,carouselTrack:qf,carouselSlide:Kf,carouselImage:Zf,sm:Uf,md:Jf,lg:Qf,arrow:ex,arrowLeft:sx,arrowRight:tx,indicators:lx,indicator:nx,active:ox,thumbnails:ax,thumbnail:cx,caption:_x,grid:rx,gridItem:dx,gridOverlay:ix,gridTitle:ux,gridCaption:mx,masonry:px,masonryItem:yx,masonryOverlay:hx,masonryTitle:gx,masonryCaption:fx,lightbox:xx,fadeIn:bx,lightboxContent:vx,zoomIn:$x,lightboxClose:jx,lightboxArrow:Nx,lightboxArrowLeft:wx,lightboxArrowRight:kx,lightboxCaption:Sx,lightboxTitle:Cx,lightboxCounter:Lx};function Ix({images:s,variant:t="carousel",size:n="md",initialIndex:l=0,showThumbnails:a=!1,showCaptions:o=!0,autoPlay:c=0,columns:d=3,gap:r=16,lightbox:_=!0,className:i="",onImageClick:m,onIndexChange:v,showArrows:h=!0,showIndicators:$=!0,infinite:u=!0}){const[N,b]=p.useState(l),[y,w]=p.useState(!1),[L,x]=p.useState(0),[k,D]=p.useState(!1),M=p.useRef(),P=p.useCallback(()=>{k||(D(!0),b(f=>{const I=f===0?u?s.length-1:0:f-1;return v?.(I),I}),setTimeout(()=>D(!1),300))},[s.length,u,v,k]),R=p.useCallback(()=>{k||(D(!0),b(f=>{const I=f===s.length-1?u?0:s.length-1:f+1;return v?.(I),I}),setTimeout(()=>D(!1),300))},[s.length,u,v,k]),B=(f,I)=>{m?.(f,I),_&&(x(I),w(!0))},O=f=>{b(f),v?.(f)},g=()=>{w(!1)},j=()=>{x(f=>f===0?s.length-1:f-1)},C=()=>{x(f=>f===s.length-1?0:f+1)};p.useEffect(()=>{if(t==="carousel"&&c>0)return M.current=setInterval(()=>{R()},c),()=>{M.current&&clearInterval(M.current)}},[t,c,R]),p.useEffect(()=>{const f=I=>{y?(I.key==="Escape"&&g(),I.key==="ArrowLeft"&&j(),I.key==="ArrowRight"&&C()):t==="carousel"&&(I.key==="ArrowLeft"&&P(),I.key==="ArrowRight"&&R())};return document.addEventListener("keydown",f),()=>document.removeEventListener("keydown",f)},[y,t,P,R]);const E=()=>e.jsxs("div",{className:T.carouselContainer,children:[e.jsxs("div",{className:T.carouselMain,children:[e.jsx("div",{className:T.carouselTrack,style:{transform:`translateX(-${N*100}%)`},children:s.map((f,I)=>e.jsxs("div",{className:T.carouselSlide,onClick:()=>B(f,I),children:[e.jsx("img",{src:f.src,alt:f.alt,className:T.carouselImage}),o&&f.caption&&e.jsx("div",{className:T.caption,children:f.caption})]},f.id))}),h&&e.jsxs(e.Fragment,{children:[e.jsx("button",{className:`${T.arrow} ${T.arrowLeft}`,onClick:P,"aria-label":"Previous image",disabled:!u&&N===0,children:"‹"}),e.jsx("button",{className:`${T.arrow} ${T.arrowRight}`,onClick:R,"aria-label":"Next image",disabled:!u&&N===s.length-1,children:"›"})]})]}),$&&e.jsx("div",{className:T.indicators,children:s.map((f,I)=>e.jsx("button",{className:`${T.indicator} ${I===N?T.active:""}`,onClick:()=>{b(I),v?.(I)},"aria-label":`Go to image ${I+1}`},I))}),a&&e.jsx("div",{className:T.thumbnails,children:s.map((f,I)=>e.jsx("button",{className:`${T.thumbnail} ${I===N?T.active:""}`,onClick:()=>O(I),"aria-label":`Select image ${I+1}`,children:e.jsx("img",{src:f.thumbnail||f.src,alt:f.alt})},f.id))})]}),K=()=>e.jsx("div",{className:T.grid,style:{gridTemplateColumns:`repeat(${d}, 1fr)`,gap:`${r}px`},children:s.map((f,I)=>e.jsxs("div",{className:T.gridItem,onClick:()=>B(f,I),children:[e.jsx("img",{src:f.thumbnail||f.src,alt:f.alt}),o&&(f.caption||f.title)&&e.jsxs("div",{className:T.gridOverlay,children:[f.title&&e.jsx("div",{className:T.gridTitle,children:f.title}),f.caption&&e.jsx("div",{className:T.gridCaption,children:f.caption})]})]},f.id))}),W=()=>e.jsx("div",{className:T.masonry,style:{columnCount:d,columnGap:`${r}px`},children:s.map((f,I)=>e.jsxs("div",{className:T.masonryItem,style:{marginBottom:`${r}px`},onClick:()=>B(f,I),children:[e.jsx("img",{src:f.thumbnail||f.src,alt:f.alt}),o&&(f.caption||f.title)&&e.jsxs("div",{className:T.masonryOverlay,children:[f.title&&e.jsx("div",{className:T.masonryTitle,children:f.title}),f.caption&&e.jsx("div",{className:T.masonryCaption,children:f.caption})]})]},f.id))}),S=()=>{if(!y)return null;const f=s[L];return e.jsxs("div",{className:T.lightbox,onClick:g,children:[e.jsx("button",{className:T.lightboxClose,onClick:g,"aria-label":"Close lightbox",children:"×"}),e.jsx("button",{className:`${T.lightboxArrow} ${T.lightboxArrowLeft}`,onClick:I=>{I.stopPropagation(),j()},"aria-label":"Previous image",children:"‹"}),e.jsxs("div",{className:T.lightboxContent,onClick:I=>I.stopPropagation(),children:[e.jsx("img",{src:f.src,alt:f.alt}),(f.caption||f.title)&&e.jsxs("div",{className:T.lightboxCaption,children:[f.title&&e.jsx("div",{className:T.lightboxTitle,children:f.title}),f.caption&&e.jsx("div",{children:f.caption})]})]}),e.jsx("button",{className:`${T.lightboxArrow} ${T.lightboxArrowRight}`,onClick:I=>{I.stopPropagation(),C()},"aria-label":"Next image",children:"›"}),e.jsxs("div",{className:T.lightboxCounter,children:[L+1," / ",s.length]})]})};return e.jsxs("div",{className:`${T.imageGallery} ${T[t]} ${T[n]} ${i}`,children:[t==="carousel"&&E(),t==="grid"&&K(),t==="masonry"&&W(),S()]})}const Mx="styles-module__themeToggle__6zyVl",zx="styles-module__iconContainer__-mq02",Dx="styles-module__icon__yzZOS",Tx="styles-module__sun__wk-Eu",Bx="styles-module__moon__OtQ8C",Ex="styles-module__light__WvEIx",Wx="styles-module__dark__zXrhJ",Be={themeToggle:Mx,iconContainer:zx,icon:Dx,sun:Tx,moon:Bx,light:Ex,dark:Wx};function Rx({defaultTheme:s="dark",onThemeChange:t,className:n="",...l}){const[a,o]=p.useState(()=>typeof window>"u"?s:localStorage.getItem("theme")||s);p.useEffect(()=>{a==="light"?document.body.classList.add("light-mode"):document.body.classList.remove("light-mode"),localStorage.setItem("theme",a),t?.(a)},[a,t]);const c=()=>{o(d=>d==="light"?"dark":"light")};return e.jsx("button",{type:"button",className:`${Be.themeToggle} ${n}`,onClick:c,"aria-label":"Toggle theme",...l,children:e.jsxs("div",{className:`${Be.iconContainer} ${a==="light"?Be.light:Be.dark}`,children:[e.jsxs("svg",{className:`${Be.icon} ${Be.sun}`,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"12",cy:"12",r:"5",fill:"currentColor"}),e.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]}),e.jsx("svg",{className:`${Be.icon} ${Be.moon}`,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z",fill:"currentColor",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})})}const Xx="styles-module__languageSelectContainer__Xulku",Gx="styles-module__label__5r4RN",Vx="styles-module__languageSelect__gSAkW",Ax="styles-module__disabled__-9pxf",Px="styles-module__trigger__Icsh6",Fx="styles-module__flag__n4YbG",Ox="styles-module__open__c-08x",Hx="styles-module__chevron__1XEr0",Yx="styles-module__selectedText__tGBSV",qx="styles-module__languageName__EnqxF",Kx="styles-module__nativeName__Qvg9C",Zx="styles-module__dropdown__m7E55",Ux="styles-module__searchContainer__n15Bi",Jx="styles-module__searchIcon__EKL9D",Qx="styles-module__searchInput__mnR-j",eb="styles-module__list__KJT7D",sb="styles-module__option__zxNEH",tb="styles-module__highlighted__wHxl6",lb="styles-module__optionFlag__FbLUG",nb="styles-module__selected__s0-8V",ob="styles-module__optionName__NIJdm",ab="styles-module__optionText__3cC-4",cb="styles-module__optionNative__4Poud",_b="styles-module__checkIcon__dOQGx",rb="styles-module__noResults__uck5W",F={languageSelectContainer:Xx,label:Gx,languageSelect:Vx,disabled:Ax,trigger:Px,flag:Fx,open:Ox,chevron:Hx,selectedText:Yx,languageName:qx,nativeName:Kx,dropdown:Zx,searchContainer:Ux,searchIcon:Jx,searchInput:Qx,list:eb,option:sb,highlighted:tb,optionFlag:lb,selected:nb,optionName:ob,optionText:ab,optionNative:cb,checkIcon:_b,noResults:rb},db=[{code:"en",name:"English",nativeName:"English",flag:"🇺🇸"},{code:"es",name:"Spanish",nativeName:"Español",flag:"🇪🇸"},{code:"fr",name:"French",nativeName:"Français",flag:"🇫🇷"},{code:"de",name:"German",nativeName:"Deutsch",flag:"🇩🇪"},{code:"it",name:"Italian",nativeName:"Italiano",flag:"🇮🇹"},{code:"pt",name:"Portuguese",nativeName:"Português",flag:"🇵🇹"},{code:"ru",name:"Russian",nativeName:"Русский",flag:"🇷🇺"},{code:"ja",name:"Japanese",nativeName:"日本語",flag:"🇯🇵"},{code:"zh",name:"Chinese",nativeName:"中文",flag:"🇨🇳"},{code:"ko",name:"Korean",nativeName:"한국어",flag:"🇰🇷"},{code:"ar",name:"Arabic",nativeName:"العربية",flag:"🇸🇦"},{code:"hi",name:"Hindi",nativeName:"हिन्दी",flag:"🇮🇳"}];function ib({languages:s=db,defaultLanguage:t="en",onChange:n,disabled:l=!1,showSearch:a=!1,label:o,className:c="",...d}){const[r,_]=p.useState(!1),[i,m]=p.useState(()=>s.find(x=>x.code===t)||s[0]),[v,h]=p.useState(""),[$,u]=p.useState(0),N=p.useRef(null),b=p.useRef(null),y=s.filter(x=>x.name.toLowerCase().includes(v.toLowerCase())||x.nativeName.toLowerCase().includes(v.toLowerCase())||x.code.toLowerCase().includes(v.toLowerCase()));p.useEffect(()=>{const x=k=>{N.current&&!N.current.contains(k.target)&&(_(!1),h(""))};return r&&document.addEventListener("mousedown",x),()=>{document.removeEventListener("mousedown",x)}},[r]),p.useEffect(()=>{r&&a&&b.current&&b.current.focus()},[r,a]);const w=x=>{m(x),_(!1),h(""),n?.(x)},L=x=>{if(!l)switch(x.key){case"Enter":case" ":r?y[$]&&(x.preventDefault(),w(y[$])):(x.preventDefault(),_(!0));break;case"Escape":_(!1),h("");break;case"ArrowDown":x.preventDefault(),r?u(k=>k<y.length-1?k+1:0):_(!0);break;case"ArrowUp":x.preventDefault(),r&&u(k=>k>0?k-1:y.length-1);break}};return e.jsxs("div",{className:`${F.languageSelectContainer} ${c}`,ref:N,...d,children:[o&&e.jsx("label",{className:F.label,children:o}),e.jsxs("div",{className:`${F.languageSelect} ${l?F.disabled:""}`,children:[e.jsxs("button",{type:"button",className:`${F.trigger} ${r?F.open:""}`,onClick:()=>!l&&_(!r),onKeyDown:L,disabled:l,"aria-haspopup":"listbox","aria-expanded":r,children:[e.jsx("span",{className:F.flag,children:i.flag}),e.jsxs("span",{className:F.selectedText,children:[e.jsx("span",{className:F.languageName,children:i.name}),e.jsx("span",{className:F.nativeName,children:i.nativeName})]}),e.jsx("svg",{className:F.chevron,viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),r&&e.jsxs("div",{className:F.dropdown,children:[a&&e.jsxs("div",{className:F.searchContainer,children:[e.jsx("svg",{className:F.searchIcon,viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})}),e.jsx("input",{ref:b,type:"text",className:F.searchInput,placeholder:"Search languages...",value:v,onChange:x=>{h(x.target.value),u(0)},onKeyDown:L})]}),e.jsx("ul",{className:F.list,role:"listbox",children:y.length>0?y.map((x,k)=>e.jsxs("li",{className:`${F.option} ${i.code===x.code?F.selected:""} ${k===$?F.highlighted:""}`,onClick:()=>w(x),onMouseEnter:()=>u(k),role:"option","aria-selected":i.code===x.code,children:[e.jsx("span",{className:F.optionFlag,children:x.flag}),e.jsxs("span",{className:F.optionText,children:[e.jsx("span",{className:F.optionName,children:x.name}),e.jsx("span",{className:F.optionNative,children:x.nativeName})]}),i.code===x.code&&e.jsx("svg",{className:F.checkIcon,viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})]},x.code)):e.jsx("li",{className:F.noResults,children:"No languages found"})})]})]})]})}const ub="styles-module__chatContainer__ny1TV",mb="styles-module__messagesWrapper__RZiB3",pb="styles-module__emptyState__hzFZj",yb="styles-module__emptyIcon__x39wy",hb="styles-module__emptyText__lrl1o",gb="styles-module__emptySubtext__SqnCZ",fb="styles-module__messagesList__d-S-F",xb="styles-module__messageGroup__tMBkW",bb="styles-module__userMessage__9MGMu",vb="styles-module__messageContent__dFgZ4",$b="styles-module__messageBubble__9fJI4",jb="styles-module__timestamp__a4uAo",Nb="styles-module__systemMessage__j8BLk",wb="styles-module__avatarWrapper__u9sbM",kb="styles-module__avatar__UI0YW",Sb="styles-module__avatarPlaceholder__NVOuf",Cb="styles-module__userAvatar__5XxxX",Lb="styles-module__botAvatar__a-W8a",Ib="styles-module__senderName__vOvEB",Mb="styles-module__typing__FSien",zb="styles-module__messageText__w-MlW",Db="styles-module__typingIndicator__VL6DD",Tb="styles-module__dot__cJEkH",Bb="styles-module__inputForm__l-juI",Eb="styles-module__inputWrapper__HSXpx",Wb="styles-module__focused__GIWaK",Rb="styles-module__input__AmkBF",Xb="styles-module__sendButton__xy1bf",Gb="styles-module__sendIcon__XEMIa",Vb="styles-module__active__HG7ga",z={chatContainer:ub,messagesWrapper:mb,emptyState:pb,emptyIcon:yb,emptyText:hb,emptySubtext:gb,messagesList:fb,messageGroup:xb,userMessage:bb,messageContent:vb,messageBubble:$b,timestamp:jb,systemMessage:Nb,avatarWrapper:wb,avatar:kb,avatarPlaceholder:Sb,userAvatar:Cb,botAvatar:Lb,senderName:Ib,typing:Mb,messageText:zb,typingIndicator:Db,dot:Tb,inputForm:Bb,inputWrapper:Eb,focused:Wb,input:Rb,sendButton:Xb,sendIcon:Gb,active:Vb};function Ab({messages:s,onSendMessage:t,placeholder:n="Type a message...",disabled:l=!1,showTimestamps:a=!1,showAvatars:o=!0,maxHeight:c="600px",typingIndicator:d=!1,userName:r="You",botName:_="Assistant",className:i="",...m}){const[v,h]=p.useState(""),[$,u]=p.useState(!1),N=p.useRef(null),b=p.useRef(null),y=()=>{N.current?.scrollIntoView({behavior:"smooth"})};p.useEffect(()=>{y()},[s]);const w=M=>{M.preventDefault(),v.trim()&&t&&!l&&(t(v.trim()),h(""),b.current&&(b.current.style.height="auto"))},L=M=>{M.key==="Enter"&&!M.shiftKey&&(M.preventDefault(),w(M))},x=M=>{h(M.target.value),M.target.style.height="auto",M.target.style.height=`${Math.min(M.target.scrollHeight,120)}px`},k=M=>M.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}),D=M=>M.split(" ").map(P=>P[0]).join("").toUpperCase().slice(0,2);return e.jsxs("div",{className:`${z.chatContainer} ${i}`,...m,children:[e.jsx("div",{className:z.messagesWrapper,style:{maxHeight:c},children:s.length===0?e.jsxs("div",{className:z.emptyState,children:[e.jsx("div",{className:z.emptyIcon,children:"💬"}),e.jsx("p",{className:z.emptyText,children:"No messages yet"}),e.jsx("p",{className:z.emptySubtext,children:"Start a conversation!"})]}):e.jsxs("div",{className:z.messagesList,children:[s.map((M,P)=>{const R=M.sender==="user",B=M.sender==="system",O=o&&!B,g=R?r:M.senderName||_;return e.jsxs("div",{className:`${z.messageGroup} ${R?z.userMessage:""} ${B?z.systemMessage:""}`,children:[O&&e.jsx("div",{className:z.avatarWrapper,children:M.avatar?e.jsx("img",{src:M.avatar,alt:g,className:z.avatar}):e.jsx("div",{className:`${z.avatarPlaceholder} ${R?z.userAvatar:z.botAvatar}`,children:D(g)})}),e.jsxs("div",{className:z.messageContent,children:[!B&&!R&&e.jsx("div",{className:z.senderName,children:g}),e.jsx("div",{className:`${z.messageBubble} ${M.isTyping?z.typing:""}`,children:M.isTyping?e.jsxs("div",{className:z.typingIndicator,children:[e.jsx("span",{className:z.dot}),e.jsx("span",{className:z.dot}),e.jsx("span",{className:z.dot})]}):e.jsx("p",{className:z.messageText,children:M.content})}),a&&!M.isTyping&&e.jsx("div",{className:z.timestamp,children:k(M.timestamp)})]})]},M.id)}),d&&e.jsxs("div",{className:`${z.messageGroup}`,children:[o&&e.jsx("div",{className:z.avatarWrapper,children:e.jsx("div",{className:`${z.avatarPlaceholder} ${z.botAvatar}`,children:D(_)})}),e.jsxs("div",{className:z.messageContent,children:[e.jsx("div",{className:z.senderName,children:_}),e.jsx("div",{className:`${z.messageBubble} ${z.typing}`,children:e.jsxs("div",{className:z.typingIndicator,children:[e.jsx("span",{className:z.dot}),e.jsx("span",{className:z.dot}),e.jsx("span",{className:z.dot})]})})]})]}),e.jsx("div",{ref:N})]})}),e.jsx("form",{onSubmit:w,className:z.inputForm,children:e.jsxs("div",{className:`${z.inputWrapper} ${$?z.focused:""}`,children:[e.jsx("textarea",{ref:b,className:z.input,value:v,onChange:x,onKeyDown:L,onFocus:()=>u(!0),onBlur:()=>u(!1),placeholder:n,disabled:l,rows:1}),e.jsx("button",{type:"submit",className:`${z.sendButton} ${v.trim()?z.active:""}`,disabled:!v.trim()||l,children:e.jsx("svg",{className:z.sendIcon,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M22 2L11 13M22 2L15 22L11 13M22 2L2 9L11 13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})})]})}const Pb="styles-module__hero__1sEBl",Fb="styles-module__container__xfiKE",Ob="styles-module__content__ueveF",Hb="styles-module__title__CIbf7",Yb="styles-module__subtitle__6yYjh",qb="styles-module__actions__tCll9",Kb="styles-module__button__7B3nI",Zb="styles-module__primary__83hkW",Ub="styles-module__secondary__D63-G",Jb="styles-module__children__2oopi",Qb="styles-module__backgroundVideo__J1Jv5",ev="styles-module__overlay__VHoNo",sv="styles-module__small__ZoLmv",tv="styles-module__medium__ZrBOD",lv="styles-module__large__U8d7Z",nv="styles-module__fullscreen__tMfK4",ov="styles-module__left__-vZ-2",av="styles-module__center__fOtY0",cv="styles-module__right__D623c",_v="styles-module__gradient__vlsu4",rv="styles-module__image__8xem5",dv="styles-module__video__igUU3",iv="styles-module__minimal__cwTwh",uv="styles-module__centered__bcej3",mv="styles-module__split__3uKlG",pv="styles-module__splitContent__XlL2y",yv="styles-module__splitImage__-QSEV",hv="styles-module__imageLeft__ldioA",gv="styles-module__imageRight__BEUMS",V={hero:Pb,container:Fb,content:Ob,title:Hb,subtitle:Yb,actions:qb,button:Kb,primary:Zb,secondary:Ub,children:Jb,backgroundVideo:Qb,overlay:ev,small:sv,medium:tv,large:lv,fullscreen:nv,left:ov,center:av,right:cv,default:"styles-module__default__IeguZ",gradient:_v,image:rv,video:dv,minimal:iv,centered:uv,split:mv,splitContent:pv,splitImage:yv,imageLeft:hv,imageRight:gv};function fv({variant:s="default",size:t="large",alignment:n="center",title:l,subtitle:a,backgroundImage:o,backgroundVideo:c,overlayOpacity:d=.5,primaryAction:r,secondaryAction:_,children:i,image:m,imageAlt:v="Hero image",imagePosition:h="right",className:$="",style:u,...N}){const b={...u};o&&s==="image"&&(b.backgroundImage=`url(${o})`);const y=()=>!r&&!_?null:e.jsxs("div",{className:V.actions,children:[r&&(r.href?e.jsx("a",{href:r.href,className:`${V.button} ${V.primary}`,children:r.label}):e.jsx("button",{type:"button",onClick:r.onClick,className:`${V.button} ${V.primary}`,children:r.label})),_&&(_.href?e.jsx("a",{href:_.href,className:`${V.button} ${V.secondary}`,children:_.label}):e.jsx("button",{type:"button",onClick:_.onClick,className:`${V.button} ${V.secondary}`,children:_.label}))]}),w=()=>e.jsxs("div",{className:V.content,children:[l&&e.jsx("h1",{className:V.title,children:l}),a&&e.jsx("p",{className:V.subtitle,children:a}),y(),i&&e.jsx("div",{className:V.children,children:i})]}),L=()=>!c||s!=="video"?null:e.jsx("video",{className:V.backgroundVideo,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:e.jsx("source",{src:c,type:"video/mp4"})}),x=()=>(s==="image"||s==="video")&&d>0?e.jsx("div",{className:V.overlay,style:{opacity:d}}):null;return s==="split"&&m?e.jsx("section",{className:`${V.hero} ${V[s]} ${V[t]} ${V[n]} ${h==="left"?V.imageLeft:V.imageRight} ${$}`,style:b,...N,children:e.jsxs("div",{className:V.container,children:[e.jsx("div",{className:V.splitContent,children:w()}),e.jsx("div",{className:V.splitImage,children:e.jsx("img",{src:m,alt:v})})]})}):e.jsxs("section",{className:`${V.hero} ${V[s]} ${V[t]} ${V[n]} ${$}`,style:b,...N,children:[L(),x(),e.jsx("div",{className:V.container,children:w()})]})}const xv="styles-module__footer__KUFHl",bv="styles-module__container__KDDfW",vv="styles-module__brand__hbfVw",$v="styles-module__brandHeader__w1Akd",jv="styles-module__brandLogo__14u6t",Nv="styles-module__brandName__akAUX",wv="styles-module__brandDescription__44VOp",kv="styles-module__sections__CvDoA",Sv="styles-module__section__gFsHi",Cv="styles-module__sectionTitle__egnB1",Lv="styles-module__linkList__vR8l8",Iv="styles-module__link__uIT9J",Mv="styles-module__externalIcon__ogw1v",zv="styles-module__social__czSa6",Dv="styles-module__socialTitle__I8z4q",Tv="styles-module__socialLinks__lVO4V",Bv="styles-module__socialLink__EtXDt",Ev="styles-module__bottom__QEkk-",Wv="styles-module__copyright__8ihY2",Rv="styles-module__bottomLinks__9EsKU",Xv="styles-module__bottomLink__BUg0l",Gv="styles-module__separator__PGnP3",Vv="styles-module__children__zbz5a",Av="styles-module__main__zO3Pb",Pv="styles-module__sidebar__CwLFk",Fv="styles-module__minimal__Xdk1a",Ov="styles-module__centered__nIVxr",Hv="styles-module__centeredContent__YyOcX",Yv="styles-module__centeredSections__Jpw1a",qv="styles-module__stacked__2rn4u",G={footer:xv,container:bv,brand:vv,brandHeader:$v,brandLogo:jv,brandName:Nv,brandDescription:wv,sections:kv,section:Sv,sectionTitle:Cv,linkList:Lv,link:Iv,externalIcon:Mv,social:zv,socialTitle:Dv,socialLinks:Tv,socialLink:Bv,bottom:Ev,copyright:Wv,bottomLinks:Rv,bottomLink:Xv,separator:Gv,children:Vv,default:"styles-module__default__ekUYi",main:Av,sidebar:Pv,minimal:Fv,centered:Ov,centeredContent:Hv,centeredSections:Yv,stacked:qv};function Kv({variant:s="default",brandName:t,brandLogo:n,brandDescription:l,sections:a=[],socialLinks:o=[],copyright:c,showYear:d=!0,bottomLinks:r=[],children:_,className:i="",...m}){const v=new Date().getFullYear(),h=()=>!t&&!n&&!l?null:e.jsxs("div",{className:G.brand,children:[(n||t)&&e.jsxs("div",{className:G.brandHeader,children:[n&&e.jsx("div",{className:G.brandLogo,children:n}),t&&e.jsx("div",{className:G.brandName,children:t})]}),l&&e.jsx("p",{className:G.brandDescription,children:l})]}),$=()=>a.length===0?null:e.jsx("div",{className:G.sections,children:a.map((b,y)=>e.jsxs("div",{className:G.section,children:[e.jsx("h3",{className:G.sectionTitle,children:b.title}),e.jsx("ul",{className:G.linkList,children:b.links.map((w,L)=>e.jsx("li",{children:e.jsxs("a",{href:w.href,className:G.link,target:w.external?"_blank":void 0,rel:w.external?"noopener noreferrer":void 0,children:[w.label,w.external&&e.jsx("span",{className:G.externalIcon,"aria-label":"Opens in new tab",children:"↗"})]})},L))})]},y))}),u=()=>o.length===0?null:e.jsxs("div",{className:G.social,children:[e.jsx("div",{className:G.socialTitle,children:"Follow Us"}),e.jsx("div",{className:G.socialLinks,children:o.map((b,y)=>e.jsx("a",{href:b.href,className:G.socialLink,target:"_blank",rel:"noopener noreferrer","aria-label":b.platform,children:b.icon||b.platform},y))})]}),N=()=>{const b=c||(t?`© ${t}`:"© All rights reserved"),y=d?`${b} ${v}`:b;return e.jsxs("div",{className:G.bottom,children:[e.jsx("div",{className:G.copyright,children:y}),r.length>0&&e.jsx("div",{className:G.bottomLinks,children:r.map((w,L)=>e.jsxs(p.Fragment,{children:[e.jsx("a",{href:w.href,className:G.bottomLink,target:w.external?"_blank":void 0,rel:w.external?"noopener noreferrer":void 0,children:w.label}),L<r.length-1&&e.jsx("span",{className:G.separator,children:"•"})]},L))})]})};return e.jsx("footer",{className:`${G.footer} ${G[s]} ${i}`,...m,children:e.jsx("div",{className:G.container,children:s==="centered"?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:G.centeredContent,children:[h(),u()]}),a.length>0&&e.jsx("div",{className:G.centeredSections,children:$()}),_&&e.jsx("div",{className:G.children,children:_}),N()]}):s==="stacked"?e.jsxs(e.Fragment,{children:[h(),$(),u(),_&&e.jsx("div",{className:G.children,children:_}),N()]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:G.main,children:[h(),$()]}),(o.length>0||_)&&e.jsxs("div",{className:G.sidebar,children:[u(),_&&e.jsx("div",{className:G.children,children:_})]}),N()]})})})}exports.Accordion=Cs;exports.Alert=Gs;exports.Audio=fs;exports.Avatar=Qs;exports.Badge=dt;exports.Breadcrumbs=xt;exports.Button=Bt;exports.ButtonGroup=Gt;exports.Calendar=as;exports.Card=Jt;exports.Chat=Ab;exports.Checkbox=ol;exports.ColorPicker=jg;exports.Combobox=gl;exports.Container=Xp;exports.ContextMenu=Eg;exports.DataList=sf;exports.Datagrid=Cl;exports.DatePicker=dn;exports.DateRangePicker=vn;exports.Divider=In;exports.Dropdown=An;exports.FilePicker=oo;exports.Footer=Kv;exports.Gauge=Qh;exports.Grid=us;exports.GridItem=ms;exports.Header=yo;exports.Hero=fv;exports.ImageGallery=Ix;exports.Input=cs;exports.Label=Eo;exports.LanguageSelect=ib;exports.List=Ho;exports.Modal=aa;exports.Pagination=ia;exports.PinInput=eh;exports.ProgressBar=ka;exports.RadioButton=za;exports.RangeInput=Va;exports.Rating=mh;exports.RichSelect=cc;exports.Select=is;exports.SidePanel=jc;exports.Signpost=Tc;exports.Skeleton=Re;exports.SkeletonCircle=ys;exports.SkeletonRectangle=hs;exports.SkeletonText=ps;exports.Spacer=Jp;exports.Spinner=Oc;exports.Split=Ff;exports.StackView=u_;exports.StatCard=Bf;exports.Stepper=S_;exports.Table=V_;exports.Tabs=Q_;exports.TagInput=Ay;exports.Textarea=_s;exports.ThemeToggle=Rx;exports.Timeline=zr;exports.ToastProvider=fd;exports.ToggleSwitch=Ar;exports.Tooltip=Jr;exports.TreeView=Id;exports.VerticalNav=Jd;exports.Video=gs;exports.Window=Wh;exports.useToast=xd;
23
+ `,onClick:()=>n?.(_),children:s.map(r=>e.jsx("td",{className:pe.td,children:r.render?r.render(_[r.key],_):_[r.key]},r.key))},d))})]})})}const Il="styles-module__calendar__ksu3Z",Ml="styles-module__header__UaHj3",zl="styles-module__navButton__279oK",Dl="styles-module__monthYear__RKQOf",Tl="styles-module__month__w3ai-",Bl="styles-module__year__VN2vF",El="styles-module__weekdays__U3vpO",Wl="styles-module__weekday__g2nb6",Rl="styles-module__days__XPYYB",Xl="styles-module__week__5lMWI",Gl="styles-module__weekNumber__Hgwi-",Vl="styles-module__day__lj7zf",Al="styles-module__currentMonth__yCa9a",Pl="styles-module__otherMonth__ppTX4",Fl="styles-module__today__DSndt",Ol="styles-module__dayNumber__ifIP9",Hl="styles-module__selected__VqCiG",Yl="styles-module__highlighted__QBnL-",ql="styles-module__disabled__WJUmV",Kl="styles-module__eventIndicators__SuOYU",Zl="styles-module__eventDot__1QFLK",Ul="styles-module__eventPulse__1lkEF",Jl="styles-module__footer__rraAV",Ql="styles-module__todayButton__661G0",en="styles-module__minimal__5Zdyf",sn="styles-module__modern__2J5kk",A={calendar:Il,header:Ml,navButton:zl,monthYear:Dl,month:Tl,year:Bl,weekdays:El,weekday:Wl,days:Rl,week:Xl,weekNumber:Gl,day:Vl,currentMonth:Al,otherMonth:Pl,today:Fl,dayNumber:Ol,selected:Hl,highlighted:Yl,disabled:ql,eventIndicators:Kl,eventDot:Zl,eventPulse:Ul,footer:Jl,todayButton:Ql,minimal:en,modern:sn},tn=["January","February","March","April","May","June","July","August","September","October","November","December"],ns=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function _s({value:s,onChange:t,minDate:n,maxDate:l,events:a=[],highlightedDates:o=[],disabledDates:_=[],showWeekNumbers:d=!1,firstDayOfWeek:r=0,variant:c="default",className:i="",...m}){const[v,h]=p.useState(s||new Date),[$,u]=p.useState(s||null),[N,b]=p.useState(s||new Date),y=p.useMemo(()=>r===1?[...ns.slice(1),ns[0]]:ns,[r]),w=(S,f)=>S.getDate()===f.getDate()&&S.getMonth()===f.getMonth()&&S.getFullYear()===f.getFullYear(),L=S=>n&&S<n||l&&S>l?!0:_.some(f=>w(S,f)),x=S=>o.some(f=>w(S,f)),k=S=>a.filter(f=>w(f.date,S)),D=(S,f)=>new Date(S,f+1,0).getDate(),M=(S,f)=>{const I=new Date(S,f,1).getDay();return r===1?I===0?6:I-1:I},P=S=>{const f=new Date(S.getFullYear(),0,1),I=(S.getTime()-f.getTime())/864e5;return Math.ceil((I+f.getDay()+1)/7)},R=p.useMemo(()=>{const S=N.getFullYear(),f=N.getMonth(),I=D(S,f),be=M(S,f),oe=[],Xe=D(S,f-1);for(let J=be-1;J>=0;J--){const ss=f===0?11:f-1,ts=f===0?S-1:S;oe.push(new Date(ts,ss,Xe-J))}for(let J=1;J<=I;J++)oe.push(new Date(S,f,J));const He=42-oe.length;for(let J=1;J<=He;J++){const ss=f===11?0:f+1,ts=f===11?S+1:S;oe.push(new Date(ts,ss,J))}return oe},[N,r]),B=()=>{b(new Date(N.getFullYear(),N.getMonth()-1))},O=()=>{b(new Date(N.getFullYear(),N.getMonth()+1))},g=S=>{L(S)||(u(S),t?.(S))},j=()=>{const S=new Date;b(S),u(S),t?.(S)},C=S=>w(S,new Date),E=S=>$&&w(S,$),K=S=>S.getMonth()===N.getMonth(),W=[];for(let S=0;S<R.length;S+=7)W.push(R.slice(S,S+7));return e.jsxs("div",{className:`${A.calendar} ${A[c]} ${i}`,...m,children:[e.jsxs("div",{className:A.header,children:[e.jsx("button",{type:"button",className:A.navButton,onClick:B,"aria-label":"Previous month",children:e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M15 18L9 12L15 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),e.jsxs("div",{className:A.monthYear,children:[e.jsx("span",{className:A.month,children:tn[N.getMonth()]}),e.jsx("span",{className:A.year,children:N.getFullYear()})]}),e.jsx("button",{type:"button",className:A.navButton,onClick:O,"aria-label":"Next month",children:e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M9 18L15 12L9 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),e.jsxs("div",{className:A.weekdays,children:[d&&e.jsx("div",{className:A.weekNumber,children:"Wk"}),y.map(S=>e.jsx("div",{className:A.weekday,children:S},S))]}),e.jsx("div",{className:A.days,children:W.map((S,f)=>e.jsxs("div",{className:A.week,children:[d&&S[0]&&e.jsx("div",{className:A.weekNumber,children:P(S[0])}),S.map((I,be)=>{if(!I)return e.jsx("div",{className:A.day},be);const oe=k(I),Xe=x(I),He=L(I);return e.jsxs("button",{type:"button",className:`${A.day} ${K(I)?A.currentMonth:A.otherMonth} ${C(I)?A.today:""} ${E(I)?A.selected:""} ${Xe?A.highlighted:""} ${He?A.disabled:""}`,onClick:()=>g(I),disabled:He,"aria-label":I.toDateString(),children:[e.jsx("span",{className:A.dayNumber,children:I.getDate()}),oe.length>0&&e.jsx("div",{className:A.eventIndicators,children:oe.slice(0,3).map(J=>e.jsx("span",{className:A.eventDot,style:{backgroundColor:J.color||"#6366f1"},title:J.title},J.id))})]},be)})]},f))}),e.jsx("div",{className:A.footer,children:e.jsx("button",{type:"button",className:A.todayButton,onClick:j,children:"Today"})})]})}const ln="styles-module__datePicker__uLxOg",nn="styles-module__input__0m5L3",on="styles-module__disabled__T10FG",an="styles-module__value__6l7A3",_n="styles-module__icons__-b7ea",cn="styles-module__clearIcon__ELMFy",rn="styles-module__icon__0-EVW",dn="styles-module__popover__ej0Pl",Ce={datePicker:ln,input:nn,disabled:on,value:an,icons:_n,clearIcon:cn,icon:rn,popover:dn};function un({value:s,onChange:t,minDate:n,maxDate:l,placeholder:a="Select a date",disabled:o=!1,variant:_="default",className:d="",...r}){const[c,i]=p.useState(!1),m=p.useRef(null);p.useEffect(()=>{const u=N=>{m.current&&!m.current.contains(N.target)&&i(!1)};return c&&document.addEventListener("mousedown",u),()=>{document.removeEventListener("mousedown",u)}},[c]);const v=u=>{t?.(u),i(!1)},h=u=>{u.stopPropagation(),t?.(null)},$=u=>u.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"});return e.jsxs("div",{className:`${Ce.datePicker} ${d}`,ref:m,...r,children:[e.jsxs("button",{type:"button",className:`${Ce.input} ${o?Ce.disabled:""}`,onClick:()=>!o&&i(!c),disabled:o,children:[e.jsx("span",{className:Ce.value,children:s?$(s):a}),e.jsxs("span",{className:Ce.icons,children:[s&&!o&&e.jsx("span",{className:Ce.clearIcon,onClick:h,children:"×"}),e.jsx("span",{className:Ce.icon,children:"📅"})]})]}),c&&e.jsx("div",{className:Ce.popover,children:e.jsx(_s,{value:s,onChange:v,minDate:n,maxDate:l,variant:_})})]})}const mn="styles-module__dateRangePicker__2-ckk",pn="styles-module__input__yirN1",yn="styles-module__disabled__88Oht",hn="styles-module__value__rLHDv",gn="styles-module__icons__Ceazb",fn="styles-module__clearIcon__XoOWV",xn="styles-module__icon__k-Xdp",bn="styles-module__popover__PVw7h",vn="styles-module__rangeInfo__qCqH0",ve={dateRangePicker:mn,input:pn,disabled:yn,value:hn,icons:gn,clearIcon:fn,icon:xn,popover:bn,rangeInfo:vn};function $n({value:s,onChange:t,minDate:n,maxDate:l,className:a="",placeholder:o="Select date range",disabled:_=!1,variant:d="default"}){const[r,c]=p.useState(!1),[i,m]=p.useState({start:null,end:null}),[v,h]=p.useState(!1),$=p.useRef(null);p.useEffect(()=>{const L=x=>{$.current&&!$.current.contains(x.target)&&(c(!1),m({start:null,end:null}),h(!1))};return r&&document.addEventListener("mousedown",L),()=>{document.removeEventListener("mousedown",L)}},[r]);const u=L=>{if(!v)m({start:L,end:null}),h(!0);else{const x=i.start,k=L;x>k?t?.({start:k,end:x}):t?.({start:x,end:k}),c(!1),m({start:null,end:null}),h(!1)}},N=L=>{L.stopPropagation(),t?.({start:null,end:null}),m({start:null,end:null}),h(!1)},b=L=>L.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}),y=()=>s?.start&&s?.end?`${b(s.start)} → ${b(s.end)}`:s?.start?b(s.start):o,w=()=>{const L=[],x=i.start||s?.start,k=i.end||s?.end;if(x&&k){const D=new Date(x);for(;D<=k;)L.push(new Date(D)),D.setDate(D.getDate()+1)}return L};return e.jsxs("div",{className:`${ve.dateRangePicker} ${a}`,ref:$,children:[e.jsxs("button",{type:"button",className:`${ve.input} ${_?ve.disabled:""}`,onClick:()=>!_&&c(!r),disabled:_,children:[e.jsx("span",{className:ve.value,children:y()}),e.jsxs("span",{className:ve.icons,children:[(s?.start||s?.end)&&!_&&e.jsx("span",{className:ve.clearIcon,onClick:N,children:"×"}),e.jsx("span",{className:ve.icon,children:"📅"})]})]}),r&&e.jsxs("div",{className:ve.popover,children:[e.jsx("div",{className:ve.rangeInfo,children:v?"Select end date":"Select start date"}),e.jsx(_s,{value:i.start||s?.start||void 0,onChange:u,minDate:n,maxDate:l,highlightedDates:w(),variant:d})]})]})}const jn="styles-module__divider__I6KTc",Nn="styles-module__horizontal__rrjPy",wn="styles-module__solid__LhHPX",kn="styles-module__dashed__2ZL2z",Sn="styles-module__dotted__N8tLr",Cn="styles-module__line__ff0dO",Ln="styles-module__label__izE2E",In="styles-module__vertical__RBm03",Ae={divider:jn,horizontal:Nn,solid:wn,dashed:kn,dotted:Sn,line:Cn,label:Ln,vertical:In};function Mn({orientation:s="horizontal",variant:t="solid",label:n,className:l=""}){const a=`${Ae.divider} ${Ae[s]} ${Ae[t]} ${l}`;return n&&s==="horizontal"?e.jsxs("div",{className:a,children:[e.jsx("span",{className:Ae.line}),e.jsx("span",{className:Ae.label,children:n}),e.jsx("span",{className:Ae.line})]}):e.jsx("div",{className:a})}const zn="styles-module__dropdown__uiKSF",Dn="styles-module__trigger__tVV7I",Tn="styles-module__disabled__Xy0oo",Bn="styles-module__selected__RnAL-",En="styles-module__placeholder__aePOZ",Wn="styles-module__arrow__QYBcO",Rn="styles-module__open__huthl",Xn="styles-module__menu__Fvg4d",Gn="styles-module__option__OLwBz",Vn="styles-module__optionDisabled__n9Gdm",An="styles-module__active__W7XbV",ie={dropdown:zn,trigger:Dn,disabled:Tn,selected:Bn,placeholder:En,arrow:Wn,open:Rn,menu:Xn,option:Gn,optionDisabled:Vn,active:An};function Pn({options:s,value:t,onChange:n,placeholder:l="Select an option",disabled:a=!1,className:o=""}){const[_,d]=p.useState(!1),[r,c]=p.useState(t||""),i=p.useRef(null);p.useEffect(()=>{const $=u=>{i.current&&!i.current.contains(u.target)&&d(!1)};return document.addEventListener("mousedown",$),()=>document.removeEventListener("mousedown",$)},[]);const m=$=>{a||(c($),d(!1),n?.($))},v=s.find($=>$.value===r),h=v?.label||l;return e.jsxs("div",{className:`${ie.dropdown} ${o}`,ref:i,children:[e.jsxs("button",{className:`${ie.trigger} ${a?ie.disabled:""}`,onClick:()=>!a&&d(!_),disabled:a,type:"button",children:[e.jsx("span",{className:v?ie.selected:ie.placeholder,children:h}),e.jsx("span",{className:`${ie.arrow} ${_?ie.open:""}`,children:"▼"})]}),_&&e.jsx("div",{className:ie.menu,children:s.map($=>e.jsx("div",{className:`${ie.option} ${$.value===r?ie.active:""} ${$.disabled?ie.optionDisabled:""}`,onClick:()=>!$.disabled&&m($.value),children:$.label},$.value))})]})}const Fn="styles-module__filePicker__mq8yj",On="styles-module__dropzone__DdFZi",Hn="styles-module__disabled__PEgD4",Yn="styles-module__icon__lgApu",qn="styles-module__text__Djodx",Kn="styles-module__input__3Edc4",Zn="styles-module__fileList__mG9O1",Un="styles-module__fileItem__NB3Uq",Jn="styles-module__processing__R-ZHY",Qn="styles-module__uploaded__gJ1od",eo="styles-module__failed__MlKNj",so="styles-module__fileIcon__IUNOU",to="styles-module__fileName__E1M5I",lo="styles-module__fileSize__Yiown",no="styles-module__error__KmdmE",oo="styles-module__remove__JiGmS",se={filePicker:Fn,dropzone:On,disabled:Hn,icon:Yn,text:qn,input:Kn,fileList:Zn,fileItem:Un,processing:Jn,uploaded:Qn,failed:eo,fileIcon:so,fileName:to,fileSize:lo,error:no,remove:oo};function ao({accept:s,multiple:t=!1,maxSize:n,disabled:l=!1,onChange:a,onUpload:o,className:_=""}){const[d,r]=p.useState([]),c=p.useRef(null),i=async u=>{if(!u||l)return;const N=Array.from(u).map(b=>n&&b.size>n?{file:b,status:"failed",error:"File too large"}:{file:b,status:"idle"});if(r(b=>[...b,...N]),a?.(N),o)for(const b of N)b.status!=="failed"&&await m(b)},m=async u=>{v(u.file.name,"processing");try{await o?.(u.file),v(u.file.name,"uploaded")}catch(N){v(u.file.name,"failed",N.message)}},v=(u,N,b)=>{r(y=>y.map(w=>w.file.name===u?{...w,status:N,error:b}:w))},h=u=>{r(N=>N.filter(b=>b.file.name!==u))},$=u=>{switch(u){case"processing":return"⏳";case"uploaded":return"✓";case"failed":return"✗";default:return"📄"}};return e.jsxs("div",{className:`${se.filePicker} ${_}`,children:[e.jsxs("div",{className:`${se.dropzone} ${l?se.disabled:""}`,onClick:()=>!l&&c.current?.click(),children:[e.jsx("span",{className:se.icon,children:"📁"}),e.jsx("span",{className:se.text,children:"Click to select files"})]}),e.jsx("input",{ref:c,type:"file",accept:s,multiple:t,disabled:l,onChange:u=>i(u.target.files),className:se.input}),d.length>0&&e.jsx("div",{className:se.fileList,children:d.map((u,N)=>e.jsxs("div",{className:`${se.fileItem} ${se[u.status]}`,children:[e.jsx("span",{className:se.fileIcon,children:$(u.status)}),e.jsx("span",{className:se.fileName,children:u.file.name}),e.jsxs("span",{className:se.fileSize,children:[(u.file.size/1024).toFixed(1)," KB"]}),u.error&&e.jsx("span",{className:se.error,children:u.error}),e.jsx("button",{className:se.remove,onClick:()=>h(u.file.name),children:"×"})]},`${u.file.name}-${N}`))})]})}const _o="styles-module__header__9QAJF",co="styles-module__sticky__wm-sd",ro="styles-module__content__ZPdW7",io="styles-module__brand__-0bx7",uo="styles-module__logo__3KpY5",mo="styles-module__title__yDhEG",po="styles-module__nav__6MmHf",yo="styles-module__actions__yTPsJ",Le={header:_o,sticky:co,content:ro,brand:io,logo:uo,title:mo,nav:po,actions:yo};function ho({logo:s,title:t,children:n,actions:l,sticky:a=!1,className:o=""}){return e.jsx("header",{className:`${Le.header} ${a?Le.sticky:""} ${o}`,children:e.jsxs("div",{className:Le.content,children:[(s||t)&&e.jsxs("div",{className:Le.brand,children:[s&&e.jsx("div",{className:Le.logo,children:s}),t&&e.jsx("h1",{className:Le.title,children:t})]}),n&&e.jsx("div",{className:Le.nav,children:n}),l&&e.jsx("div",{className:Le.actions,children:l})]})})}const go="styles-module__inputContainer__KSDK-",fo="styles-module__fullWidth__rLaUj",xo="styles-module__label__-uPCz",bo="styles-module__wrapper__JTZMt",vo="styles-module__input__KRJnF",$o="styles-module__withIcon__mikvP",jo="styles-module__disabled__NjJFs",No="styles-module__sm__cr6Ko",wo="styles-module__lg__geHP2",ko="styles-module__error__UCrFp",So="styles-module__success__fKUT8",Co="styles-module__icon__qopq-",Lo="styles-module__helperText__9ULK8",Io="styles-module__errorText__JTsOi",ae={inputContainer:go,fullWidth:fo,label:xo,wrapper:bo,input:vo,withIcon:$o,disabled:jo,sm:No,lg:wo,error:ko,success:So,icon:Co,helperText:Lo,errorText:Io},cs=p.forwardRef(({label:s,error:t,helperText:n,size:l="md",variant:a="default",icon:o,fullWidth:_=!1,className:d="",disabled:r=!1,...c},i)=>{const m=t?"error":a,v=`${ae.inputContainer} ${_?ae.fullWidth:""} ${d}`,h=`${ae.input} ${ae[l]} ${ae[m]} ${o?ae.withIcon:""} ${r?ae.disabled:""}`;return e.jsxs("div",{className:v,children:[s&&e.jsx("label",{className:ae.label,children:s}),e.jsxs("div",{className:ae.wrapper,children:[o&&e.jsx("span",{className:ae.icon,children:o}),e.jsx("input",{ref:i,className:h,disabled:r,...c})]}),(t||n)&&e.jsx("span",{className:`${ae.helperText} ${t?ae.errorText:""}`,children:t||n})]})});cs.displayName="Input";const Mo="styles-module__label__QjEAd",zo="styles-module__disabled__yJ4NK",Do="styles-module__sm__KnRgV",To="styles-module__md__z8a54",Bo="styles-module__lg__KOzy-",Eo="styles-module__required__ZBqbG",Ue={label:Mo,disabled:zo,sm:Do,md:To,lg:Bo,required:Eo};function Wo({size:s="md",required:t=!1,disabled:n=!1,className:l="",children:a,...o}){return e.jsxs("label",{className:`${Ue.label} ${Ue[s]} ${n?Ue.disabled:""} ${l}`,...o,children:[a,t&&e.jsx("span",{className:Ue.required,children:"*"})]})}const Ro="styles-module__list__i-PH3",Xo="styles-module__dividers__klcR-",Go="styles-module__item__hLR7A",Vo="styles-module__hoverable__6FbJF",Ao="styles-module__clickable__ahnDb",Po="styles-module__disabled__W5Z3Y",Fo="styles-module__icon__fSr06",Oo="styles-module__content__ujdaE",Ho="styles-module__badge__dwlRk",$e={list:Ro,dividers:Xo,item:Go,hoverable:Vo,clickable:Ao,disabled:Po,icon:Fo,content:Oo,badge:Ho};function Yo({items:s,hoverable:t=!1,dividers:n=!1,className:l=""}){return e.jsx("ul",{className:`${$e.list} ${n?$e.dividers:""} ${l}`,children:s.map(a=>e.jsxs("li",{className:`${$e.item} ${t&&!a.disabled?$e.hoverable:""} ${a.disabled?$e.disabled:""} ${a.onClick&&!a.disabled?$e.clickable:""}`,onClick:a.disabled?void 0:a.onClick,children:[a.icon&&e.jsx("span",{className:$e.icon,children:a.icon}),e.jsx("span",{className:$e.content,children:a.content}),a.badge&&e.jsx("span",{className:$e.badge,children:a.badge})]},a.id))})}const qo="styles-module__overlay__Ty-He",Ko="styles-module__fadeIn__vywQ8",Zo="styles-module__modal__bC015",Uo="styles-module__slideUp__i-uri",Jo="styles-module__sm__HasCZ",Qo="styles-module__md__y-51k",ea="styles-module__lg__bXotd",sa="styles-module__xl__wKYbR",ta="styles-module__header__agEZy",la="styles-module__title__91HGo",na="styles-module__closeButton__u-naO",oa="styles-module__content__1xlis",aa="styles-module__footer__m3SbZ",Ie={overlay:qo,fadeIn:Ko,modal:Zo,slideUp:Uo,sm:Jo,md:Qo,lg:ea,xl:sa,header:ta,title:la,closeButton:na,content:oa,footer:aa};function _a({isOpen:s,onClose:t,title:n,children:l,footer:a,size:o="md",closeOnOverlayClick:_=!0,showCloseButton:d=!0,className:r=""}){return p.useEffect(()=>(s?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[s]),p.useEffect(()=>{const c=i=>{i.key==="Escape"&&s&&t()};return document.addEventListener("keydown",c),()=>document.removeEventListener("keydown",c)},[s,t]),s?e.jsx("div",{className:Ie.overlay,onClick:_?t:void 0,children:e.jsxs("div",{className:`${Ie.modal} ${Ie[o]} ${r}`,onClick:c=>c.stopPropagation(),children:[(n||d)&&e.jsxs("div",{className:Ie.header,children:[n&&e.jsx("h2",{className:Ie.title,children:n}),d&&e.jsx("button",{className:Ie.closeButton,onClick:t,type:"button",children:"×"})]}),e.jsx("div",{className:Ie.content,children:l}),a&&e.jsx("div",{className:Ie.footer,children:a})]})}):null}const ca="styles-module__pagination__P-TuL",ra="styles-module__pageButton__saWQq",da="styles-module__active__6G9dp",ia="styles-module__dots__HNsj1",Me={pagination:ca,pageButton:ra,active:da,dots:ia};function ua({currentPage:s,totalPages:t,onPageChange:n,showFirstLast:l=!0,siblingCount:a=1,className:o=""}){const _=(m,v)=>Array.from({length:v-m+1},(h,$)=>m+$),r=(()=>{const m=a+5;if(t<=m)return _(1,t);const v=Math.max(s-a,1),h=Math.min(s+a,t),$=v>2,u=h<t-1;return!$&&u?[..._(1,3+2*a),"...",t]:$&&!u?[1,"...",..._(t-(2+2*a),t)]:[1,"...",..._(v,h),"...",t]})(),c=()=>{s>1&&n(s-1)},i=()=>{s<t&&n(s+1)};return e.jsxs("nav",{className:`${Me.pagination} ${o}`,children:[l&&e.jsx("button",{className:Me.pageButton,onClick:()=>n(1),disabled:s===1,children:"«"}),e.jsx("button",{className:Me.pageButton,onClick:c,disabled:s===1,children:"‹"}),r.map((m,v)=>m==="..."?e.jsx("span",{className:Me.dots,children:"..."},`dots-${v}`):e.jsx("button",{className:`${Me.pageButton} ${m===s?Me.active:""}`,onClick:()=>n(m),children:m},m)),e.jsx("button",{className:Me.pageButton,onClick:i,disabled:s===t,children:"›"}),l&&e.jsx("button",{className:Me.pageButton,onClick:()=>n(t),disabled:s===t,children:"»"})]})}const ma="styles-module__container__u4q5n",pa="styles-module__progressBar__wAUjD",ya="styles-module__sm__ZBiyl",ha="styles-module__md__oXZzu",ga="styles-module__lg__JmNO0",fa="styles-module__fill__bDflZ",xa="styles-module__success__drT36",ba="styles-module__warning__p-mHQ",va="styles-module__error__ecpJB",$a="styles-module__info__vfjga",ja="styles-module__striped__El9o5",Na="styles-module__animated__9FN7u",wa="styles-module__progress-stripes__etVVj",ka="styles-module__label__TpB8Q",ze={container:ma,progressBar:pa,sm:ya,md:ha,lg:ga,fill:fa,default:"styles-module__default__7qIAE",success:xa,warning:ba,error:va,info:$a,striped:ja,animated:Na,"progress-stripes":"styles-module__progress-stripes__etVVj",progressStripes:wa,label:ka};function Sa({value:s,max:t=100,variant:n="default",size:l="md",showLabel:a=!1,label:o,animated:_=!1,striped:d=!1,className:r=""}){const c=Math.min(Math.max(s/t*100,0),100),i=o||`${Math.round(c)}%`;return e.jsx("div",{className:`${ze.container} ${r}`,children:e.jsx("div",{className:`${ze.progressBar} ${ze[l]}`,children:e.jsx("div",{className:`${ze.fill} ${ze[n]} ${d?ze.striped:""} ${_?ze.animated:""}`,style:{width:`${c}%`},children:a&&e.jsx("span",{className:ze.label,children:i})})})})}const Ca="styles-module__radioButton__30HVZ",La="styles-module__disabled__TuSU6",Ia="styles-module__input__-NkgJ",Ma="styles-module__radio__dKOL5",za="styles-module__label__M94so",Ye={radioButton:Ca,disabled:La,input:Ia,radio:Ma,label:za};function Da({label:s,value:t,name:n,checked:l=!1,disabled:a=!1,onChange:o,className:_="",...d}){return e.jsxs("label",{className:`${Ye.radioButton} ${a?Ye.disabled:""} ${_}`,children:[e.jsx("input",{type:"radio",name:n,value:t,checked:l,disabled:a,onChange:o,className:Ye.input,...d}),e.jsx("span",{className:Ye.radio}),s&&e.jsx("span",{className:Ye.label,children:s})]})}const Ta="styles-module__container__KhKB7",Ba="styles-module__label__nGyr8",Ea="styles-module__rangeWrapper__dnhOv",Wa="styles-module__inputWrapper__vVIhy",Ra="styles-module__input__C9H5I",Xa="styles-module__disabled__8xB9M",Ga="styles-module__minMax__5jVHq",Va="styles-module__value__4hZJK",je={container:Ta,label:Ba,rangeWrapper:Ea,inputWrapper:Wa,input:Ra,disabled:Xa,minMax:Ga,value:Va};function Aa({label:s,min:t=0,max:n=100,step:l=1,value:a=50,showValue:o=!1,showMinMax:_=!1,onChange:d,className:r="",disabled:c=!1,...i}){const m=(a-t)/(n-t)*100;return e.jsxs("div",{className:`${je.container} ${r}`,children:[s&&e.jsx("label",{className:je.label,children:s}),e.jsxs("div",{className:je.rangeWrapper,children:[_&&e.jsx("span",{className:je.minMax,children:t}),e.jsx("div",{className:je.inputWrapper,children:e.jsx("input",{type:"range",min:t,max:n,step:l,value:a,onChange:d,disabled:c,className:`${je.input} ${c?je.disabled:""}`,style:{"--percentage":`${m}%`},...i})}),_&&e.jsx("span",{className:je.minMax,children:n})]}),o&&e.jsx("span",{className:je.value,children:a})]})}const Pa="styles-module__richSelect__xtDdz",Fa="styles-module__trigger__nkuFi",Oa="styles-module__disabled__aRnNR",Ha="styles-module__selectedContent__1YUDI",Ya="styles-module__textContent__sVML5",qa="styles-module__label__DYAVs",Ka="styles-module__description__-NG4t",Za="styles-module__placeholder__83U0w",Ua="styles-module__icon__v-J2b",Ja="styles-module__arrow__m-D1Y",Qa="styles-module__open__gZef9",e_="styles-module__menu__zMZHy",s_="styles-module__searchWrapper__yPXor",t_="styles-module__searchInput__Vq3C6",l_="styles-module__optionsList__OAhYK",n_="styles-module__option__vTDi0",o_="styles-module__optionDisabled__spphz",a_="styles-module__active__FRlKy",__="styles-module__noResults__DsPu8",H={richSelect:Pa,trigger:Fa,disabled:Oa,selectedContent:Ha,textContent:Ya,label:qa,description:Ka,placeholder:Za,icon:Ua,arrow:Ja,open:Qa,menu:e_,searchWrapper:s_,searchInput:t_,optionsList:l_,option:n_,optionDisabled:o_,active:a_,noResults:__};function c_({options:s,value:t,onChange:n,placeholder:l="Select an option",disabled:a=!1,searchable:o=!1,className:_=""}){const[d,r]=p.useState(!1),[c,i]=p.useState(""),m=p.useRef(null);p.useEffect(()=>{const u=N=>{m.current&&!m.current.contains(N.target)&&(r(!1),i(""))};return document.addEventListener("mousedown",u),()=>document.removeEventListener("mousedown",u)},[]);const v=u=>{a||(n?.(u),r(!1),i(""))},h=s.find(u=>u.value===t),$=o?s.filter(u=>u.label.toLowerCase().includes(c.toLowerCase())):s;return e.jsxs("div",{className:`${H.richSelect} ${_}`,ref:m,children:[e.jsxs("button",{className:`${H.trigger} ${a?H.disabled:""}`,onClick:()=>!a&&r(!d),disabled:a,type:"button",children:[h?e.jsxs("div",{className:H.selectedContent,children:[h.icon&&e.jsx("span",{className:H.icon,children:h.icon}),e.jsxs("div",{className:H.textContent,children:[e.jsx("span",{className:H.label,children:h.label}),h.description&&e.jsx("span",{className:H.description,children:h.description})]})]}):e.jsx("span",{className:H.placeholder,children:l}),e.jsx("span",{className:`${H.arrow} ${d?H.open:""}`,children:"▼"})]}),d&&e.jsxs("div",{className:H.menu,children:[o&&e.jsx("div",{className:H.searchWrapper,children:e.jsx("input",{type:"text",className:H.searchInput,placeholder:"Search...",value:c,onChange:u=>i(u.target.value),autoFocus:!0})}),e.jsxs("div",{className:H.optionsList,children:[$.map(u=>e.jsxs("div",{className:`${H.option} ${u.value===t?H.active:""} ${u.disabled?H.optionDisabled:""}`,onClick:()=>!u.disabled&&v(u.value),children:[u.icon&&e.jsx("span",{className:H.icon,children:u.icon}),e.jsxs("div",{className:H.textContent,children:[e.jsx("span",{className:H.label,children:u.label}),u.description&&e.jsx("span",{className:H.description,children:u.description})]})]},u.value)),$.length===0&&e.jsx("div",{className:H.noResults,children:"No results found"})]})]})]})}const r_="styles-module__overlay__tP-g3",d_="styles-module__fadeIn__MKn3S",i_="styles-module__sidePanel__bfmoW",u_="styles-module__left__X7-S4",m_="styles-module__slideInLeft__nE6Ff",p_="styles-module__right__Fvefe",y_="styles-module__slideInRight__bvjTy",h_="styles-module__sm__CHsFH",g_="styles-module__md__17Q10",f_="styles-module__lg__8XCJd",x_="styles-module__header__-AKr-",b_="styles-module__title__8S4yp",v_="styles-module__closeButton__DQgJe",$_="styles-module__content__XGAif",j_="styles-module__footer__cX66N",Ne={overlay:r_,fadeIn:d_,sidePanel:i_,left:u_,slideInLeft:m_,right:p_,slideInRight:y_,sm:h_,md:g_,lg:f_,header:x_,title:b_,closeButton:v_,content:$_,footer:j_};function N_({isOpen:s,onClose:t,title:n,children:l,footer:a,position:o="right",size:_="md",closeOnOverlayClick:d=!0,showCloseButton:r=!0,className:c=""}){return p.useEffect(()=>(s?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[s]),p.useEffect(()=>{const i=m=>{m.key==="Escape"&&s&&t()};return document.addEventListener("keydown",i),()=>document.removeEventListener("keydown",i)},[s,t]),s?e.jsx("div",{className:Ne.overlay,onClick:d?t:void 0,children:e.jsxs("div",{className:`${Ne.sidePanel} ${Ne[o]} ${Ne[_]} ${c}`,onClick:i=>i.stopPropagation(),children:[(n||r)&&e.jsxs("div",{className:Ne.header,children:[n&&e.jsx("h2",{className:Ne.title,children:n}),r&&e.jsx("button",{className:Ne.closeButton,onClick:t,type:"button",children:"×"})]}),e.jsx("div",{className:Ne.content,children:l}),a&&e.jsx("div",{className:Ne.footer,children:a})]})}):null}const w_="styles-module__signpost__tLnmc",k_="styles-module__trigger__25KnS",S_="styles-module__content__z4pUG",C_="styles-module__fadeIn__0jB27",L_="styles-module__top__Jn5XX",I_="styles-module__bottom__CGe3J",M_="styles-module__left__zuDmF",z_="styles-module__right__xnSw3",D_="styles-module__inner__7euCB",T_="styles-module__arrow__mGVpk",Pe={signpost:w_,trigger:k_,content:S_,fadeIn:C_,top:L_,bottom:I_,left:M_,right:z_,inner:D_,arrow:T_};function B_({trigger:s,children:t,position:n="top",className:l=""}){const[a,o]=p.useState(!1),_=p.useRef(null);return p.useEffect(()=>{const d=r=>{_.current&&!_.current.contains(r.target)&&o(!1)};return a&&document.addEventListener("mousedown",d),()=>document.removeEventListener("mousedown",d)},[a]),e.jsxs("div",{className:`${Pe.signpost} ${l}`,ref:_,children:[e.jsx("div",{className:Pe.trigger,onClick:()=>o(!a),children:s}),a&&e.jsxs("div",{className:`${Pe.content} ${Pe[n]}`,children:[e.jsx("div",{className:Pe.arrow}),e.jsx("div",{className:Pe.inner,children:t})]})]})}const E_="styles-module__spinnerWrapper__ht5E9",W_="styles-module__spinner__D8f-h",R_="styles-module__circle__z537L",X_="styles-module__spin__Gt3A-",G_="styles-module__sm__Ukc8Q",V_="styles-module__md__Hg7EK",A_="styles-module__lg__ac6jQ",P_="styles-module__primary__Pah-x",F_="styles-module__secondary__D29qO",O_="styles-module__label__nc2IY",Fe={spinnerWrapper:E_,spinner:W_,circle:R_,spin:X_,sm:G_,md:V_,lg:A_,default:"styles-module__default__X7JGx",primary:P_,secondary:F_,label:O_};function H_({size:s="md",variant:t="default",className:n="",label:l}){return e.jsxs("div",{className:`${Fe.spinnerWrapper} ${n}`,children:[e.jsx("div",{className:`${Fe.spinner} ${Fe[s]} ${Fe[t]}`,role:"status","aria-label":l||"Loading",children:e.jsx("div",{className:Fe.circle})}),l&&e.jsx("span",{className:Fe.label,children:l})]})}const Y_="styles-module__stackView__wGZRw",q_="styles-module__horizontal__MCJ8E",K_="styles-module__vertical__INW6v",Z_="styles-module__wrap__wvZPS",U_="styles-module__align-start__TeH6Z",J_="styles-module__align-center__DWOt-",Q_="styles-module__align-end__9Xsx4",ec="styles-module__align-stretch__raPvB",sc="styles-module__justify-start__YVdZp",tc="styles-module__justify-center__VKg8-",lc="styles-module__justify-end__kVPBC",nc="styles-module__justify-space-between__z5-wE",oc="styles-module__justify-space-around__FP-0m",ac="styles-module__justify-space-evenly__v5xco",_c="styles-module__spacing-none__M23xt",cc="styles-module__spacing-xs__zdXjS",rc="styles-module__spacing-sm__G-5sR",dc="styles-module__spacing-md__oa-Jw",ic="styles-module__spacing-lg__5zhiQ",uc="styles-module__spacing-xl__qSFPT",Oe={stackView:Y_,horizontal:q_,vertical:K_,wrap:Z_,"align-start":"styles-module__align-start__TeH6Z",alignStart:U_,"align-center":"styles-module__align-center__DWOt-",alignCenter:J_,"align-end":"styles-module__align-end__9Xsx4",alignEnd:Q_,"align-stretch":"styles-module__align-stretch__raPvB",alignStretch:ec,"justify-start":"styles-module__justify-start__YVdZp",justifyStart:sc,"justify-center":"styles-module__justify-center__VKg8-",justifyCenter:tc,"justify-end":"styles-module__justify-end__kVPBC",justifyEnd:lc,"justify-space-between":"styles-module__justify-space-between__z5-wE",justifySpaceBetween:nc,"justify-space-around":"styles-module__justify-space-around__FP-0m",justifySpaceAround:oc,"justify-space-evenly":"styles-module__justify-space-evenly__v5xco",justifySpaceEvenly:ac,"spacing-none":"styles-module__spacing-none__M23xt",spacingNone:_c,"spacing-xs":"styles-module__spacing-xs__zdXjS",spacingXs:cc,"spacing-sm":"styles-module__spacing-sm__G-5sR",spacingSm:rc,"spacing-md":"styles-module__spacing-md__oa-Jw",spacingMd:dc,"spacing-lg":"styles-module__spacing-lg__5zhiQ",spacingLg:ic,"spacing-xl":"styles-module__spacing-xl__qSFPT",spacingXl:uc};function mc({children:s,direction:t="horizontal",align:n="start",justify:l="start",spacing:a="md",wrap:o=!1,className:_="",style:d}){return e.jsx("div",{className:`${Oe.stackView} ${Oe[t]} ${Oe[`align-${n}`]} ${Oe[`justify-${l}`]} ${Oe[`spacing-${a}`]} ${o?Oe.wrap:""} ${_}`,style:d,children:s})}const pc="styles-module__stepper__NUsL2",yc="styles-module__horizontal__wW8by",hc="styles-module__vertical__UqRFo",gc="styles-module__step__lmR8-",fc="styles-module__clickable__-O5QE",xc="styles-module__stepIndicator__GbO4U",bc="styles-module__current__LW7L4",vc="styles-module__completed__MC9gq",$c="styles-module__checkmark__GAoUn",jc="styles-module__stepNumber__qLNDJ",Nc="styles-module__stepContent__pKC94",wc="styles-module__stepLabel__JK-4j",kc="styles-module__stepDescription__hlARr",Sc="styles-module__connector__76Rsb",te={stepper:pc,horizontal:yc,vertical:hc,step:gc,clickable:fc,stepIndicator:xc,current:bc,completed:vc,checkmark:$c,stepNumber:jc,stepContent:Nc,stepLabel:wc,stepDescription:kc,connector:Sc};function Cc({steps:s,currentStep:t,orientation:n="horizontal",onStepClick:l,className:a=""}){return e.jsx("div",{className:`${te.stepper} ${te[n]} ${a}`,children:s.map((o,_)=>{const d=_<t,r=_===t,c=l&&(d||r);return e.jsxs(p.Fragment,{children:[e.jsxs("div",{className:`${te.step} ${d?te.completed:""} ${r?te.current:""} ${c?te.clickable:""}`,onClick:()=>c&&l(_),children:[e.jsx("div",{className:te.stepIndicator,children:d?e.jsx("span",{className:te.checkmark,children:"✓"}):o.icon?o.icon:e.jsx("span",{className:te.stepNumber,children:_+1})}),e.jsxs("div",{className:te.stepContent,children:[e.jsx("div",{className:te.stepLabel,children:o.label}),o.description&&e.jsx("div",{className:te.stepDescription,children:o.description})]})]}),_<s.length-1&&e.jsx("div",{className:`${te.connector} ${d?te.completed:""}`})]},_)})})}const Lc="styles-module__tableWrapper__7pbjW",Ic="styles-module__table__G-UMw",Mc="styles-module__thead__uTTEj",zc="styles-module__th__tBFLB",Dc="styles-module__tbody__-OiiP",Tc="styles-module__tr__ioLC7",Bc="styles-module__td__mjOQt",Ec="styles-module__striped__iZ3bT",Wc="styles-module__hoverable__ewlPb",Rc="styles-module__bordered__IB5cr",Xc="styles-module__compact__JfcIE",Gc="styles-module__clickable__URnJc",Vc="styles-module__empty__Xo2NZ",ne={tableWrapper:Lc,table:Ic,thead:Mc,th:zc,tbody:Dc,tr:Tc,td:Bc,striped:Ec,hoverable:Wc,bordered:Rc,compact:Xc,clickable:Gc,empty:Vc};function Ac({columns:s,data:t,striped:n=!1,hoverable:l=!1,bordered:a=!1,compact:o=!1,onRowClick:_,className:d=""}){return e.jsxs("div",{className:`${ne.tableWrapper} ${d}`,children:[e.jsxs("table",{className:`${ne.table} ${n?ne.striped:""} ${l?ne.hoverable:""} ${a?ne.bordered:""} ${o?ne.compact:""}`,children:[e.jsx("thead",{className:ne.thead,children:e.jsx("tr",{children:s.map(r=>e.jsx("th",{className:ne.th,style:{width:r.width},children:r.header},r.key))})}),e.jsx("tbody",{className:ne.tbody,children:t.map((r,c)=>e.jsx("tr",{className:`${ne.tr} ${_?ne.clickable:""}`,onClick:()=>_?.(r),children:s.map(i=>e.jsx("td",{className:ne.td,children:i.render?i.render(r[i.key],r):String(r[i.key]??"")},i.key))},c))})]}),t.length===0&&e.jsx("div",{className:ne.empty,children:"No data available"})]})}const Pc="styles-module__tabsContainer__Jv3WS",Fc="styles-module__tabsList__G5a9Z",Oc="styles-module__fullWidth__IiyGO",Hc="styles-module__tab__Veki-",Yc="styles-module__disabled__M9qZK",qc="styles-module__active__PVi-W",Kc="styles-module__icon__4sTw8",Zc="styles-module__pills__VlbD0",Uc="styles-module__underline__Jdu1g",Jc="styles-module__tabContent__bSDk7",Qc="styles-module__fadeIn__sgbzQ",we={tabsContainer:Pc,tabsList:Fc,fullWidth:Oc,tab:Hc,disabled:Yc,active:qc,icon:Kc,default:"styles-module__default__02SGT",pills:Zc,underline:Uc,tabContent:Jc,fadeIn:Qc};function er({items:s,defaultActiveId:t,variant:n="default",fullWidth:l=!1,onChange:a,className:o=""}){const[_,d]=p.useState(t||s[0]?.id),r=(i,m)=>{m||(d(i),a?.(i))},c=s.find(i=>i.id===_);return e.jsxs("div",{className:`${we.tabsContainer} ${o}`,children:[e.jsx("div",{className:`${we.tabsList} ${we[n]} ${l?we.fullWidth:""}`,role:"tablist",children:s.map(i=>e.jsxs("button",{role:"tab","aria-selected":i.id===_,"aria-disabled":i.disabled,className:`${we.tab} ${i.id===_?we.active:""} ${i.disabled?we.disabled:""}`,onClick:()=>r(i.id,i.disabled),disabled:i.disabled,children:[i.icon&&e.jsx("span",{className:we.icon,children:i.icon}),e.jsx("span",{children:i.label})]},i.id))}),e.jsx("div",{className:we.tabContent,role:"tabpanel",children:c?.content})]})}const sr="styles-module__textareaWrapper__xo-uo",tr="styles-module__fullWidth__y5-Ce",lr="styles-module__label__xONj0",nr="styles-module__textarea__LmnbQ",or="styles-module__sm__uIQkQ",ar="styles-module__md__qfL-2",_r="styles-module__lg__s6Iey",cr="styles-module__success__ehWww",rr="styles-module__error__h9V4X",dr="styles-module__resize-none__w4h2b",ir="styles-module__resize-vertical__4lTu1",ur="styles-module__resize-horizontal__3Fdb7",mr="styles-module__resize-both__07ghL",pr="styles-module__helperText__Zaq6O",yr="styles-module__errorText__RI-rl",ye={textareaWrapper:sr,fullWidth:tr,label:lr,textarea:nr,sm:or,md:ar,lg:_r,default:"styles-module__default__jlE7o",success:cr,error:rr,"resize-none":"styles-module__resize-none__w4h2b",resizeNone:dr,"resize-vertical":"styles-module__resize-vertical__4lTu1",resizeVertical:ir,"resize-horizontal":"styles-module__resize-horizontal__3Fdb7",resizeHorizontal:ur,"resize-both":"styles-module__resize-both__07ghL",resizeBoth:mr,helperText:pr,errorText:yr},rs=p.forwardRef(({label:s,helperText:t,error:n,size:l="md",variant:a="default",fullWidth:o=!1,resize:_="vertical",className:d="",disabled:r,...c},i)=>{const m=n?"error":a;return e.jsxs("div",{className:`${ye.textareaWrapper} ${o?ye.fullWidth:""} ${d}`,children:[s&&e.jsx("label",{className:ye.label,children:s}),e.jsx("textarea",{ref:i,className:`${ye.textarea} ${ye[l]} ${ye[m]} ${ye[`resize-${_}`]} ${r?ye.disabled:""}`,disabled:r,...c}),n&&e.jsx("span",{className:ye.errorText,children:n}),!n&&t&&e.jsx("span",{className:ye.helperText,children:t})]})});rs.displayName="Textarea";const hr="styles-module__timeline__khbcN",gr="styles-module__vertical__EcI8f",fr="styles-module__horizontal__kv46j",xr="styles-module__timelineItem__j0IQ5",br="styles-module__timelineMarker__qk22j",vr="styles-module__dot__gfgUf",$r="styles-module__icon__hWWJd",jr="styles-module__primary__t4Cyx",Nr="styles-module__success__NWp7i",wr="styles-module__warning__mfRNM",kr="styles-module__error__AwsC3",Sr="styles-module__info__QaR5w",Cr="styles-module__timelineConnector__deWEH",Lr="styles-module__timelineContent__Yzy-t",Ir="styles-module__date__OIOdY",Mr="styles-module__title__PZb8L",zr="styles-module__description__LesWv",Q={timeline:hr,vertical:gr,horizontal:fr,timelineItem:xr,timelineMarker:br,dot:vr,icon:$r,default:"styles-module__default__QmROp",primary:jr,success:Nr,warning:wr,error:kr,info:Sr,timelineConnector:Cr,timelineContent:Lr,date:Ir,title:Mr,description:zr};function Dr({items:s,orientation:t="vertical",className:n=""}){return e.jsx("div",{className:`${Q.timeline} ${Q[t]} ${n}`,children:s.map((l,a)=>e.jsxs("div",{className:Q.timelineItem,children:[e.jsx("div",{className:`${Q.timelineMarker} ${l.color?Q[l.color]:Q.default}`,children:l.icon?e.jsx("span",{className:Q.icon,children:l.icon}):e.jsx("span",{className:Q.dot})}),a<s.length-1&&e.jsx("div",{className:`${Q.timelineConnector} ${l.color?Q[l.color]:Q.default}`}),e.jsxs("div",{className:Q.timelineContent,children:[l.date&&e.jsx("span",{className:Q.date,children:l.date}),e.jsx("h4",{className:Q.title,children:l.title}),l.description&&e.jsx("p",{className:Q.description,children:l.description})]})]},l.id))})}const Tr="styles-module__toggleSwitch__HDqFP",Br="styles-module__disabled__tbXNT",Er="styles-module__input__oBVdg",Wr="styles-module__sm__O8zA8",Rr="styles-module__md__2vfHI",Xr="styles-module__lg__S65-b",Gr="styles-module__slider__gYGJ6",Vr="styles-module__checked__-4pJ2",Ar="styles-module__label__xIgTV",De={toggleSwitch:Tr,disabled:Br,input:Er,switch:"styles-module__switch__4NsVE",sm:Wr,md:Rr,lg:Xr,slider:Gr,checked:Vr,label:Ar};function Pr({checked:s,defaultChecked:t=!1,onChange:n,label:l,disabled:a=!1,size:o="md",className:_=""}){const[d,r]=p.useState(t),c=s!==void 0,i=c?s:d,m=()=>{if(a)return;const v=!i;c||r(v),n?.(v)};return e.jsxs("label",{className:`${De.toggleSwitch} ${a?De.disabled:""} ${_}`,children:[e.jsx("input",{type:"checkbox",checked:i,onChange:m,disabled:a,className:De.input}),e.jsx("span",{className:`${De.switch} ${De[o]} ${i?De.checked:""}`,children:e.jsx("span",{className:De.slider})}),l&&e.jsx("span",{className:De.label,children:l})]})}const Fr="styles-module__tooltipWrapper__jXXEP",Or="styles-module__tooltip__NP2ZM",Hr="styles-module__fadeIn__5hHms",Yr="styles-module__top__kvf2D",qr="styles-module__bottom__vkl92",Kr="styles-module__left__q2e3D",Zr="styles-module__right__FRcXP",Ur="styles-module__tooltipContent__3R4WL",Jr="styles-module__tooltipArrow__11JdT",qe={tooltipWrapper:Fr,tooltip:Or,fadeIn:Hr,top:Yr,bottom:qr,left:Kr,right:Zr,tooltipContent:Ur,tooltipArrow:Jr};function Qr({children:s,content:t,position:n="top",delay:l=200,className:a=""}){const[o,_]=p.useState(!1),d=p.useRef(),r=p.useRef(null),c=()=>{d.current=setTimeout(()=>{_(!0)},l)},i=()=>{d.current&&clearTimeout(d.current),_(!1)};return p.useEffect(()=>()=>{d.current&&clearTimeout(d.current)},[]),e.jsxs("div",{className:`${qe.tooltipWrapper} ${a}`,ref:r,onMouseEnter:c,onMouseLeave:i,onFocus:c,onBlur:i,children:[s,o&&e.jsxs("div",{className:`${qe.tooltip} ${qe[n]}`,role:"tooltip",children:[e.jsx("div",{className:qe.tooltipContent,children:t}),e.jsx("div",{className:qe.tooltipArrow})]})]})}const ed="styles-module__toastContainer__-uOPe",sd="styles-module__topLeft__MCDhr",td="styles-module__topCenter__loC-J",ld="styles-module__topRight__alKSR",nd="styles-module__bottomLeft__sPZ6I",od="styles-module__bottomCenter__12yLT",ad="styles-module__bottomRight__EdLbD",_d="styles-module__toast__q9A3H",cd="styles-module__slideIn__-Mhbw",rd="styles-module__fadeIn__I0huT",dd="styles-module__slideInLeft__Bs5x3",id="styles-module__slideInDown__OUDGH",ud="styles-module__icon__iRAEt",md="styles-module__message__id55d",pd="styles-module__closeButton__vnBxf",yd="styles-module__info__RjsXR",hd="styles-module__success__1qQf4",gd="styles-module__warning__UhEF-",fd="styles-module__error__sOYOC",_e={toastContainer:ed,topLeft:sd,topCenter:td,topRight:ld,bottomLeft:nd,bottomCenter:od,bottomRight:ad,toast:_d,slideIn:cd,fadeIn:rd,slideInLeft:dd,slideInDown:id,icon:ud,message:md,closeButton:pd,info:yd,success:hd,warning:gd,error:fd},ds=p.createContext(void 0);function xd({children:s,position:t="top-right",maxToasts:n=5}){const[l,a]=p.useState([]),o=p.useCallback((c,i={})=>{const m=Math.random().toString(36).substring(2,9),v={id:m,message:c,variant:i.variant||"info",duration:i.duration??5e3,dismissible:i.dismissible??!0};a(h=>[...h,v].slice(-n)),v.duration&&v.duration>0&&setTimeout(()=>{_(m)},v.duration)},[n]),_=p.useCallback(c=>{a(i=>i.filter(m=>m.id!==c))},[]),d=()=>({"top-left":_e.topLeft,"top-center":_e.topCenter,"top-right":_e.topRight,"bottom-left":_e.bottomLeft,"bottom-center":_e.bottomCenter,"bottom-right":_e.bottomRight})[t],r=c=>({info:"ℹ",success:"✓",warning:"⚠",error:"✕"})[c];return e.jsxs(ds.Provider,{value:{showToast:o},children:[s,e.jsx("div",{className:`${_e.toastContainer} ${d()}`,children:l.map(c=>e.jsxs("div",{className:`${_e.toast} ${_e[c.variant||"info"]}`,role:"alert","aria-live":"polite",children:[e.jsx("div",{className:_e.icon,children:r(c.variant||"info")}),e.jsx("div",{className:_e.message,children:c.message}),c.dismissible&&e.jsx("button",{className:_e.closeButton,onClick:()=>_(c.id),"aria-label":"Close",children:"✕"})]},c.id))})]})}function bd(){const s=p.useContext(ds);if(!s)throw new Error("useToast must be used within a ToastProvider");return s}const vd="styles-module__treeView__qtZfC",$d="styles-module__treeNodeWrapper__6m8CE",jd="styles-module__treeNode__xhhOE",Nd="styles-module__disabled__-brxQ",wd="styles-module__expandIcon__Zp-Yb",kd="styles-module__expanded__A4kyH",Sd="styles-module__spacer__56WdM",Cd="styles-module__icon__AIE-i",Ld="styles-module__label__XDGcT",Id="styles-module__children__N1c5Z",xe={treeView:vd,treeNodeWrapper:$d,treeNode:jd,disabled:Nd,expandIcon:wd,expanded:kd,spacer:Sd,icon:Cd,label:Ld,children:Id};function is({node:s,level:t,expandedIds:n,onToggle:l,onNodeClick:a}){const o=s.children&&s.children.length>0,_=n.has(s.id),d=()=>{s.disabled||(o&&l(s.id),a?.(s))};return e.jsxs("div",{className:xe.treeNodeWrapper,children:[e.jsxs("div",{className:`${xe.treeNode} ${s.disabled?xe.disabled:""}`,style:{paddingLeft:`${t*1.5}rem`},onClick:d,children:[o&&e.jsx("span",{className:`${xe.expandIcon} ${_?xe.expanded:""}`,children:"▶"}),!o&&e.jsx("span",{className:xe.spacer}),s.icon&&e.jsx("span",{className:xe.icon,children:s.icon}),e.jsx("span",{className:xe.label,children:s.label})]}),o&&_&&e.jsx("div",{className:xe.children,children:s.children.map(r=>e.jsx(is,{node:r,level:t+1,expandedIds:n,onToggle:l,onNodeClick:a},r.id))})]})}function Md({data:s,defaultExpandedIds:t=[],onNodeClick:n,className:l=""}){const[a,o]=p.useState(new Set(t)),_=d=>{o(r=>{const c=new Set(r);return c.has(d)?c.delete(d):c.add(d),c})};return e.jsx("div",{className:`${xe.treeView} ${l}`,children:s.map(d=>e.jsx(is,{node:d,level:0,expandedIds:a,onToggle:_,onNodeClick:n},d.id))})}const zd="styles-module__nav__sMQSv",Dd="styles-module__vertical__6EFeu",Td="styles-module__collapsed__eIVC7",Bd="styles-module__horizontal__5UU20",Ed="styles-module__navItemWrapper__Sc9wi",Wd="styles-module__navItem__7O2YX",Rd="styles-module__disabled__hvWkN",Xd="styles-module__nested__oejUs",Gd="styles-module__icon__SLdZe",Vd="styles-module__label__pji80",Ad="styles-module__badge__03qDH",Pd="styles-module__expandIcon__bGlQG",Fd="styles-module__dropdownIcon__uf35v",Od="styles-module__expanded__2R6-v",Hd="styles-module__children__sfAGb",Yd="styles-module__slideDown__xKrR1",qd="styles-module__dropdown__LuTLW",Kd="styles-module__megaMenu__02Wp7",Zd="styles-module__megaMenuWrapper__yLvBH",Ud="styles-module__megaMenuGrid__4FrxU",Jd="styles-module__megaMenuColumn__DI0z2",q={nav:zd,vertical:Dd,collapsed:Td,horizontal:Bd,navItemWrapper:Ed,navItem:Wd,disabled:Rd,nested:Xd,icon:Gd,label:Vd,badge:Ad,expandIcon:Pd,dropdownIcon:Fd,expanded:Od,children:Hd,slideDown:Yd,dropdown:qd,megaMenu:Kd,megaMenuWrapper:Zd,megaMenuGrid:Ud,megaMenuColumn:Jd};function es({item:s,level:t,expandedIds:n,onToggle:l,onItemClick:a,orientation:o,collapsed:_}){const d=s.children&&s.children.length>0,r=n.has(s.id),c=s.megaMenu&&d,i=h=>{s.disabled||(d&&o==="vertical"&&(h.preventDefault(),l(s.id)),s.onClick&&s.onClick(),a?.(s))},m=()=>e.jsxs(e.Fragment,{children:[s.icon&&e.jsx("span",{className:q.icon,children:s.icon}),!_&&e.jsx("span",{className:q.label,children:s.label}),!_&&s.badge&&e.jsx("span",{className:q.badge,children:s.badge}),!_&&d&&o==="vertical"&&e.jsx("span",{className:`${q.expandIcon} ${r?q.expanded:""}`,children:"▶"}),!_&&d&&o==="horizontal"&&e.jsx("span",{className:q.dropdownIcon,children:"▼"})]}),v=s.href?e.jsx("a",{href:s.href,className:`${q.navItem} ${s.disabled?q.disabled:""} ${t>0?q.nested:""}`,onClick:i,children:m()}):e.jsx("button",{type:"button",className:`${q.navItem} ${s.disabled?q.disabled:""} ${t>0?q.nested:""}`,onClick:i,children:m()});return e.jsxs("div",{className:`${q.navItemWrapper} ${c?q.megaMenuWrapper:""}`,children:[v,d&&e.jsxs(e.Fragment,{children:[o==="vertical"&&r&&e.jsx("div",{className:q.children,children:s.children.map(h=>e.jsx(es,{item:h,level:t+1,expandedIds:n,onToggle:l,onItemClick:a,orientation:o,collapsed:_},h.id))}),o==="horizontal"&&e.jsx("div",{className:`${q.dropdown} ${c?q.megaMenu:""}`,children:c?e.jsx("div",{className:q.megaMenuGrid,children:s.children.map(h=>e.jsx("div",{className:q.megaMenuColumn,children:e.jsx(es,{item:h,level:t+1,expandedIds:n,onToggle:l,onItemClick:a,orientation:o,collapsed:_})},h.id))}):s.children.map(h=>e.jsx(es,{item:h,level:t+1,expandedIds:n,onToggle:l,onItemClick:a,orientation:o,collapsed:_},h.id))})]})]})}function Qd({items:s,orientation:t="vertical",defaultExpandedIds:n=[],onItemClick:l,className:a="",collapsed:o=!1}){const[_,d]=p.useState(new Set(n)),r=c=>{d(i=>{const m=new Set(i);return m.has(c)?m.delete(c):m.add(c),m})};return e.jsx("nav",{className:`${q.nav} ${q[t]} ${o?q.collapsed:""} ${a}`,children:s.map(c=>e.jsx(es,{item:c,level:0,expandedIds:_,onToggle:r,onItemClick:l,orientation:t,collapsed:o},c.id))})}const ei="styles-module__selectContainer__JfMFS",si="styles-module__fullWidth__XXFCr",ti="styles-module__label__eUUOm",li="styles-module__wrapper__98xFk",ni="styles-module__select__xJaN9",oi="styles-module__disabled__A1ppA",ai="styles-module__sm__MEAFW",_i="styles-module__lg__sd1Gy",ci="styles-module__error__w1Lsu",ri="styles-module__success__xbtdD",di="styles-module__arrow__UJXzt",ii="styles-module__helperText__sXAtM",ui="styles-module__errorText__7kPjp",ue={selectContainer:ei,fullWidth:si,label:ti,wrapper:li,select:ni,disabled:oi,sm:ai,lg:_i,error:ci,success:ri,arrow:di,helperText:ii,errorText:ui},us=p.forwardRef(({label:s,error:t,helperText:n,size:l="md",variant:a="default",fullWidth:o=!1,className:_="",disabled:d=!1,options:r,placeholder:c,...i},m)=>{const v=t?"error":a,h=`${ue.selectContainer} ${o?ue.fullWidth:""} ${_}`,$=`${ue.select} ${ue[l]} ${ue[v]} ${d?ue.disabled:""}`;return e.jsxs("div",{className:h,children:[s&&e.jsx("label",{className:ue.label,children:s}),e.jsxs("div",{className:ue.wrapper,children:[e.jsxs("select",{ref:m,className:$,disabled:d,...i,children:[c&&e.jsx("option",{value:"",disabled:!0,children:c}),r.map(u=>e.jsx("option",{value:u.value,disabled:u.disabled,children:u.label},u.value))]}),e.jsx("span",{className:ue.arrow,children:"▼"})]}),(t||n)&&e.jsx("span",{className:`${ue.helperText} ${t?ue.errorText:""}`,children:t||n})]})});us.displayName="Select";const mi="styles-module__grid__-18GG",pi="styles-module__columns-1__v8SEE",yi="styles-module__columns-2__Zq8Ih",hi="styles-module__columns-3__-sPCq",gi="styles-module__columns-4__jB2X6",fi="styles-module__columns-5__WbWn4",xi="styles-module__columns-6__B-cvH",bi="styles-module__columns-7__C29vY",vi="styles-module__columns-8__lFc3E",$i="styles-module__columns-9__Rhzrn",ji="styles-module__columns-10__hXu1z",Ni="styles-module__columns-11__LYy-7",wi="styles-module__columns-12__0tALI",ki="styles-module__columns-sm-1__rGPgC",Si="styles-module__columns-sm-2__PjfNA",Ci="styles-module__columns-sm-3__-DkQI",Li="styles-module__columns-sm-4__vtgo0",Ii="styles-module__columns-sm-5__e91Bf",Mi="styles-module__columns-sm-6__2BPvq",zi="styles-module__columns-sm-7__7WSj3",Di="styles-module__columns-sm-8__Y1rAn",Ti="styles-module__columns-sm-9__ipGTO",Bi="styles-module__columns-sm-10__PsNnZ",Ei="styles-module__columns-sm-11__0Xt-s",Wi="styles-module__columns-sm-12__uDrsj",Ri="styles-module__columns-md-1__VxJSA",Xi="styles-module__columns-md-2__7Jb7M",Gi="styles-module__columns-md-3__NPgJ4",Vi="styles-module__columns-md-4__caSiE",Ai="styles-module__columns-md-5__YV-KD",Pi="styles-module__columns-md-6__eYuBW",Fi="styles-module__columns-md-7__kFwVo",Oi="styles-module__columns-md-8__--8cy",Hi="styles-module__columns-md-9__R5Q9b",Yi="styles-module__columns-md-10__-1u9i",qi="styles-module__columns-md-11__3fWd5",Ki="styles-module__columns-md-12__6p-sc",Zi="styles-module__columns-lg-1__Us4pj",Ui="styles-module__columns-lg-2__42pEt",Ji="styles-module__columns-lg-3__-TIpF",Qi="styles-module__columns-lg-4__gZKHW",eu="styles-module__columns-lg-5__04nEU",su="styles-module__columns-lg-6__cdsbL",tu="styles-module__columns-lg-7__s2yv9",lu="styles-module__columns-lg-8__B1jK9",nu="styles-module__columns-lg-9__rA-9F",ou="styles-module__columns-lg-10__99khu",au="styles-module__columns-lg-11__Wfy-H",_u="styles-module__columns-lg-12__mIBrq",cu="styles-module__columns-xl-1__uxEeX",ru="styles-module__columns-xl-2__xerO3",du="styles-module__columns-xl-3__6GLSS",iu="styles-module__columns-xl-4__XYS09",uu="styles-module__columns-xl-5__4Y5e8",mu="styles-module__columns-xl-6__Qufa4",pu="styles-module__columns-xl-7__jAsJu",yu="styles-module__columns-xl-8__1BctD",hu="styles-module__columns-xl-9__HNe1-",gu="styles-module__columns-xl-10__dSLX9",fu="styles-module__columns-xl-11__KB6nJ",xu="styles-module__columns-xl-12__UvRYk",bu="styles-module__gap-none__FSY1O",vu="styles-module__gap-xs__yd0Vu",$u="styles-module__gap-sm__9o2un",ju="styles-module__gap-md__Yb5VI",Nu="styles-module__gap-lg__H0Kke",wu="styles-module__gap-xl__LDewl",ku="styles-module__gap-2xl__8nYbr",Su="styles-module__row-gap-none__JAJpj",Cu="styles-module__row-gap-xs__a3tit",Lu="styles-module__row-gap-sm__72-ut",Iu="styles-module__row-gap-md__7aLU-",Mu="styles-module__row-gap-lg__1DeqX",zu="styles-module__row-gap-xl__KsfMY",Du="styles-module__row-gap-2xl__obZGl",Tu="styles-module__column-gap-none__KecTY",Bu="styles-module__column-gap-xs__k5jWZ",Eu="styles-module__column-gap-sm__QPdcs",Wu="styles-module__column-gap-md__bjSOf",Ru="styles-module__column-gap-lg__EbeJF",Xu="styles-module__column-gap-xl__5A633",Gu="styles-module__column-gap-2xl__vgLSu",Vu="styles-module__align-start__bjdHG",Au="styles-module__align-center__yx3-m",Pu="styles-module__align-end__a4IA3",Fu="styles-module__align-stretch__NyQwc",Ou="styles-module__align-baseline__XDLXG",Hu="styles-module__justify-items-start__0oBcn",Yu="styles-module__justify-items-center__nVsrc",qu="styles-module__justify-items-end__-0L3F",Ku="styles-module__justify-items-stretch__0Lw7a",Zu="styles-module__justify-content-start__AUQmN",Uu="styles-module__justify-content-center__DbeoQ",Ju="styles-module__justify-content-end__WV6jz",Qu="styles-module__justify-content-space-between__8AaIN",em="styles-module__justify-content-space-around__aODdb",sm="styles-module__justify-content-space-evenly__L9gkw",tm="styles-module__flow-row__kRZfS",lm="styles-module__flow-column__WwpqM",nm="styles-module__flow-dense__lUpft",om="styles-module__flow-row-dense__tF-IP",am="styles-module__flow-column-dense__GEsOK",_m="styles-module__gridItem__DDjWB",cm="styles-module__col-span-1__mH-jY",rm="styles-module__col-span-2__eTM2S",dm="styles-module__col-span-3__HYpEw",im="styles-module__col-span-4__mg-mS",um="styles-module__col-span-5__VVpGI",mm="styles-module__col-span-6__SC8e-",pm="styles-module__col-span-7__Jibfe",ym="styles-module__col-span-8__qSQX1",hm="styles-module__col-span-9__95itg",gm="styles-module__col-span-10__-Ghn-",fm="styles-module__col-span-11__Jk2PJ",xm="styles-module__col-span-12__UG7o2",bm="styles-module__col-span-full__zFrNk",vm="styles-module__col-span-sm-1__Eyzeo",$m="styles-module__col-span-sm-2__qw56t",jm="styles-module__col-span-sm-3__Dwrhj",Nm="styles-module__col-span-sm-4__mdKu-",wm="styles-module__col-span-sm-5__erB04",km="styles-module__col-span-sm-6__AN-Eo",Sm="styles-module__col-span-sm-7__jDZJk",Cm="styles-module__col-span-sm-8__-c6X9",Lm="styles-module__col-span-sm-9__tqIxC",Im="styles-module__col-span-sm-10__Z4S4U",Mm="styles-module__col-span-sm-11__5l3EF",zm="styles-module__col-span-sm-12__ToxhH",Dm="styles-module__col-span-sm-full__5PByZ",Tm="styles-module__col-span-md-1__2iH1s",Bm="styles-module__col-span-md-2__metsn",Em="styles-module__col-span-md-3__ArbKb",Wm="styles-module__col-span-md-4__xVXZU",Rm="styles-module__col-span-md-5__ym6rl",Xm="styles-module__col-span-md-6__peA2T",Gm="styles-module__col-span-md-7__AAm1f",Vm="styles-module__col-span-md-8__VLafy",Am="styles-module__col-span-md-9__PWAAq",Pm="styles-module__col-span-md-10__GRmCe",Fm="styles-module__col-span-md-11__M8B4R",Om="styles-module__col-span-md-12__HGzlP",Hm="styles-module__col-span-md-full__4y9gL",Ym="styles-module__col-span-lg-1__FG3dm",qm="styles-module__col-span-lg-2__5dZiG",Km="styles-module__col-span-lg-3__oZmcU",Zm="styles-module__col-span-lg-4__itdqY",Um="styles-module__col-span-lg-5__ux3GV",Jm="styles-module__col-span-lg-6__zf4Bn",Qm="styles-module__col-span-lg-7__olG9c",ep="styles-module__col-span-lg-8__-QheZ",sp="styles-module__col-span-lg-9__ZXgY2",tp="styles-module__col-span-lg-10__bbXiL",lp="styles-module__col-span-lg-11__AQw76",np="styles-module__col-span-lg-12__cFfHJ",op="styles-module__col-span-lg-full__IBuri",ap="styles-module__col-span-xl-1__hoqul",_p="styles-module__col-span-xl-2__iTlZE",cp="styles-module__col-span-xl-3__pw3Vu",rp="styles-module__col-span-xl-4__NaUdq",dp="styles-module__col-span-xl-5__NZfk2",ip="styles-module__col-span-xl-6__piqQd",up="styles-module__col-span-xl-7__YGer8",mp="styles-module__col-span-xl-8__Dr6aM",pp="styles-module__col-span-xl-9__zyuUC",yp="styles-module__col-span-xl-10__1tCT-",hp="styles-module__col-span-xl-11__4neTT",gp="styles-module__col-span-xl-12__yqf3o",fp="styles-module__col-span-xl-full__LIPRp",xp="styles-module__row-span-1__zy3Hq",bp="styles-module__row-span-2__Z8RpU",vp="styles-module__row-span-3__JkAqM",$p="styles-module__row-span-4__X5Xkb",jp="styles-module__row-span-5__UGWBp",Np="styles-module__row-span-6__Ok7gd",Z={grid:mi,"columns-1":"styles-module__columns-1__v8SEE",columns1:pi,"columns-2":"styles-module__columns-2__Zq8Ih",columns2:yi,"columns-3":"styles-module__columns-3__-sPCq",columns3:hi,"columns-4":"styles-module__columns-4__jB2X6",columns4:gi,"columns-5":"styles-module__columns-5__WbWn4",columns5:fi,"columns-6":"styles-module__columns-6__B-cvH",columns6:xi,"columns-7":"styles-module__columns-7__C29vY",columns7:bi,"columns-8":"styles-module__columns-8__lFc3E",columns8:vi,"columns-9":"styles-module__columns-9__Rhzrn",columns9:$i,"columns-10":"styles-module__columns-10__hXu1z",columns10:ji,"columns-11":"styles-module__columns-11__LYy-7",columns11:Ni,"columns-12":"styles-module__columns-12__0tALI",columns12:wi,"columns-sm-1":"styles-module__columns-sm-1__rGPgC",columnsSm1:ki,"columns-sm-2":"styles-module__columns-sm-2__PjfNA",columnsSm2:Si,"columns-sm-3":"styles-module__columns-sm-3__-DkQI",columnsSm3:Ci,"columns-sm-4":"styles-module__columns-sm-4__vtgo0",columnsSm4:Li,"columns-sm-5":"styles-module__columns-sm-5__e91Bf",columnsSm5:Ii,"columns-sm-6":"styles-module__columns-sm-6__2BPvq",columnsSm6:Mi,"columns-sm-7":"styles-module__columns-sm-7__7WSj3",columnsSm7:zi,"columns-sm-8":"styles-module__columns-sm-8__Y1rAn",columnsSm8:Di,"columns-sm-9":"styles-module__columns-sm-9__ipGTO",columnsSm9:Ti,"columns-sm-10":"styles-module__columns-sm-10__PsNnZ",columnsSm10:Bi,"columns-sm-11":"styles-module__columns-sm-11__0Xt-s",columnsSm11:Ei,"columns-sm-12":"styles-module__columns-sm-12__uDrsj",columnsSm12:Wi,"columns-md-1":"styles-module__columns-md-1__VxJSA",columnsMd1:Ri,"columns-md-2":"styles-module__columns-md-2__7Jb7M",columnsMd2:Xi,"columns-md-3":"styles-module__columns-md-3__NPgJ4",columnsMd3:Gi,"columns-md-4":"styles-module__columns-md-4__caSiE",columnsMd4:Vi,"columns-md-5":"styles-module__columns-md-5__YV-KD",columnsMd5:Ai,"columns-md-6":"styles-module__columns-md-6__eYuBW",columnsMd6:Pi,"columns-md-7":"styles-module__columns-md-7__kFwVo",columnsMd7:Fi,"columns-md-8":"styles-module__columns-md-8__--8cy",columnsMd8:Oi,"columns-md-9":"styles-module__columns-md-9__R5Q9b",columnsMd9:Hi,"columns-md-10":"styles-module__columns-md-10__-1u9i",columnsMd10:Yi,"columns-md-11":"styles-module__columns-md-11__3fWd5",columnsMd11:qi,"columns-md-12":"styles-module__columns-md-12__6p-sc",columnsMd12:Ki,"columns-lg-1":"styles-module__columns-lg-1__Us4pj",columnsLg1:Zi,"columns-lg-2":"styles-module__columns-lg-2__42pEt",columnsLg2:Ui,"columns-lg-3":"styles-module__columns-lg-3__-TIpF",columnsLg3:Ji,"columns-lg-4":"styles-module__columns-lg-4__gZKHW",columnsLg4:Qi,"columns-lg-5":"styles-module__columns-lg-5__04nEU",columnsLg5:eu,"columns-lg-6":"styles-module__columns-lg-6__cdsbL",columnsLg6:su,"columns-lg-7":"styles-module__columns-lg-7__s2yv9",columnsLg7:tu,"columns-lg-8":"styles-module__columns-lg-8__B1jK9",columnsLg8:lu,"columns-lg-9":"styles-module__columns-lg-9__rA-9F",columnsLg9:nu,"columns-lg-10":"styles-module__columns-lg-10__99khu",columnsLg10:ou,"columns-lg-11":"styles-module__columns-lg-11__Wfy-H",columnsLg11:au,"columns-lg-12":"styles-module__columns-lg-12__mIBrq",columnsLg12:_u,"columns-xl-1":"styles-module__columns-xl-1__uxEeX",columnsXl1:cu,"columns-xl-2":"styles-module__columns-xl-2__xerO3",columnsXl2:ru,"columns-xl-3":"styles-module__columns-xl-3__6GLSS",columnsXl3:du,"columns-xl-4":"styles-module__columns-xl-4__XYS09",columnsXl4:iu,"columns-xl-5":"styles-module__columns-xl-5__4Y5e8",columnsXl5:uu,"columns-xl-6":"styles-module__columns-xl-6__Qufa4",columnsXl6:mu,"columns-xl-7":"styles-module__columns-xl-7__jAsJu",columnsXl7:pu,"columns-xl-8":"styles-module__columns-xl-8__1BctD",columnsXl8:yu,"columns-xl-9":"styles-module__columns-xl-9__HNe1-",columnsXl9:hu,"columns-xl-10":"styles-module__columns-xl-10__dSLX9",columnsXl10:gu,"columns-xl-11":"styles-module__columns-xl-11__KB6nJ",columnsXl11:fu,"columns-xl-12":"styles-module__columns-xl-12__UvRYk",columnsXl12:xu,"gap-none":"styles-module__gap-none__FSY1O",gapNone:bu,"gap-xs":"styles-module__gap-xs__yd0Vu",gapXs:vu,"gap-sm":"styles-module__gap-sm__9o2un",gapSm:$u,"gap-md":"styles-module__gap-md__Yb5VI",gapMd:ju,"gap-lg":"styles-module__gap-lg__H0Kke",gapLg:Nu,"gap-xl":"styles-module__gap-xl__LDewl",gapXl:wu,"gap-2xl":"styles-module__gap-2xl__8nYbr",gap2Xl:ku,"row-gap-none":"styles-module__row-gap-none__JAJpj",rowGapNone:Su,"row-gap-xs":"styles-module__row-gap-xs__a3tit",rowGapXs:Cu,"row-gap-sm":"styles-module__row-gap-sm__72-ut",rowGapSm:Lu,"row-gap-md":"styles-module__row-gap-md__7aLU-",rowGapMd:Iu,"row-gap-lg":"styles-module__row-gap-lg__1DeqX",rowGapLg:Mu,"row-gap-xl":"styles-module__row-gap-xl__KsfMY",rowGapXl:zu,"row-gap-2xl":"styles-module__row-gap-2xl__obZGl",rowGap2Xl:Du,"column-gap-none":"styles-module__column-gap-none__KecTY",columnGapNone:Tu,"column-gap-xs":"styles-module__column-gap-xs__k5jWZ",columnGapXs:Bu,"column-gap-sm":"styles-module__column-gap-sm__QPdcs",columnGapSm:Eu,"column-gap-md":"styles-module__column-gap-md__bjSOf",columnGapMd:Wu,"column-gap-lg":"styles-module__column-gap-lg__EbeJF",columnGapLg:Ru,"column-gap-xl":"styles-module__column-gap-xl__5A633",columnGapXl:Xu,"column-gap-2xl":"styles-module__column-gap-2xl__vgLSu",columnGap2Xl:Gu,"align-start":"styles-module__align-start__bjdHG",alignStart:Vu,"align-center":"styles-module__align-center__yx3-m",alignCenter:Au,"align-end":"styles-module__align-end__a4IA3",alignEnd:Pu,"align-stretch":"styles-module__align-stretch__NyQwc",alignStretch:Fu,"align-baseline":"styles-module__align-baseline__XDLXG",alignBaseline:Ou,"justify-items-start":"styles-module__justify-items-start__0oBcn",justifyItemsStart:Hu,"justify-items-center":"styles-module__justify-items-center__nVsrc",justifyItemsCenter:Yu,"justify-items-end":"styles-module__justify-items-end__-0L3F",justifyItemsEnd:qu,"justify-items-stretch":"styles-module__justify-items-stretch__0Lw7a",justifyItemsStretch:Ku,"justify-content-start":"styles-module__justify-content-start__AUQmN",justifyContentStart:Zu,"justify-content-center":"styles-module__justify-content-center__DbeoQ",justifyContentCenter:Uu,"justify-content-end":"styles-module__justify-content-end__WV6jz",justifyContentEnd:Ju,"justify-content-space-between":"styles-module__justify-content-space-between__8AaIN",justifyContentSpaceBetween:Qu,"justify-content-space-around":"styles-module__justify-content-space-around__aODdb",justifyContentSpaceAround:em,"justify-content-space-evenly":"styles-module__justify-content-space-evenly__L9gkw",justifyContentSpaceEvenly:sm,"flow-row":"styles-module__flow-row__kRZfS",flowRow:tm,"flow-column":"styles-module__flow-column__WwpqM",flowColumn:lm,"flow-dense":"styles-module__flow-dense__lUpft",flowDense:nm,"flow-row-dense":"styles-module__flow-row-dense__tF-IP",flowRowDense:om,"flow-column-dense":"styles-module__flow-column-dense__GEsOK",flowColumnDense:am,gridItem:_m,"col-span-1":"styles-module__col-span-1__mH-jY",colSpan1:cm,"col-span-2":"styles-module__col-span-2__eTM2S",colSpan2:rm,"col-span-3":"styles-module__col-span-3__HYpEw",colSpan3:dm,"col-span-4":"styles-module__col-span-4__mg-mS",colSpan4:im,"col-span-5":"styles-module__col-span-5__VVpGI",colSpan5:um,"col-span-6":"styles-module__col-span-6__SC8e-",colSpan6:mm,"col-span-7":"styles-module__col-span-7__Jibfe",colSpan7:pm,"col-span-8":"styles-module__col-span-8__qSQX1",colSpan8:ym,"col-span-9":"styles-module__col-span-9__95itg",colSpan9:hm,"col-span-10":"styles-module__col-span-10__-Ghn-",colSpan10:gm,"col-span-11":"styles-module__col-span-11__Jk2PJ",colSpan11:fm,"col-span-12":"styles-module__col-span-12__UG7o2",colSpan12:xm,"col-span-full":"styles-module__col-span-full__zFrNk",colSpanFull:bm,"col-span-sm-1":"styles-module__col-span-sm-1__Eyzeo",colSpanSm1:vm,"col-span-sm-2":"styles-module__col-span-sm-2__qw56t",colSpanSm2:$m,"col-span-sm-3":"styles-module__col-span-sm-3__Dwrhj",colSpanSm3:jm,"col-span-sm-4":"styles-module__col-span-sm-4__mdKu-",colSpanSm4:Nm,"col-span-sm-5":"styles-module__col-span-sm-5__erB04",colSpanSm5:wm,"col-span-sm-6":"styles-module__col-span-sm-6__AN-Eo",colSpanSm6:km,"col-span-sm-7":"styles-module__col-span-sm-7__jDZJk",colSpanSm7:Sm,"col-span-sm-8":"styles-module__col-span-sm-8__-c6X9",colSpanSm8:Cm,"col-span-sm-9":"styles-module__col-span-sm-9__tqIxC",colSpanSm9:Lm,"col-span-sm-10":"styles-module__col-span-sm-10__Z4S4U",colSpanSm10:Im,"col-span-sm-11":"styles-module__col-span-sm-11__5l3EF",colSpanSm11:Mm,"col-span-sm-12":"styles-module__col-span-sm-12__ToxhH",colSpanSm12:zm,"col-span-sm-full":"styles-module__col-span-sm-full__5PByZ",colSpanSmFull:Dm,"col-span-md-1":"styles-module__col-span-md-1__2iH1s",colSpanMd1:Tm,"col-span-md-2":"styles-module__col-span-md-2__metsn",colSpanMd2:Bm,"col-span-md-3":"styles-module__col-span-md-3__ArbKb",colSpanMd3:Em,"col-span-md-4":"styles-module__col-span-md-4__xVXZU",colSpanMd4:Wm,"col-span-md-5":"styles-module__col-span-md-5__ym6rl",colSpanMd5:Rm,"col-span-md-6":"styles-module__col-span-md-6__peA2T",colSpanMd6:Xm,"col-span-md-7":"styles-module__col-span-md-7__AAm1f",colSpanMd7:Gm,"col-span-md-8":"styles-module__col-span-md-8__VLafy",colSpanMd8:Vm,"col-span-md-9":"styles-module__col-span-md-9__PWAAq",colSpanMd9:Am,"col-span-md-10":"styles-module__col-span-md-10__GRmCe",colSpanMd10:Pm,"col-span-md-11":"styles-module__col-span-md-11__M8B4R",colSpanMd11:Fm,"col-span-md-12":"styles-module__col-span-md-12__HGzlP",colSpanMd12:Om,"col-span-md-full":"styles-module__col-span-md-full__4y9gL",colSpanMdFull:Hm,"col-span-lg-1":"styles-module__col-span-lg-1__FG3dm",colSpanLg1:Ym,"col-span-lg-2":"styles-module__col-span-lg-2__5dZiG",colSpanLg2:qm,"col-span-lg-3":"styles-module__col-span-lg-3__oZmcU",colSpanLg3:Km,"col-span-lg-4":"styles-module__col-span-lg-4__itdqY",colSpanLg4:Zm,"col-span-lg-5":"styles-module__col-span-lg-5__ux3GV",colSpanLg5:Um,"col-span-lg-6":"styles-module__col-span-lg-6__zf4Bn",colSpanLg6:Jm,"col-span-lg-7":"styles-module__col-span-lg-7__olG9c",colSpanLg7:Qm,"col-span-lg-8":"styles-module__col-span-lg-8__-QheZ",colSpanLg8:ep,"col-span-lg-9":"styles-module__col-span-lg-9__ZXgY2",colSpanLg9:sp,"col-span-lg-10":"styles-module__col-span-lg-10__bbXiL",colSpanLg10:tp,"col-span-lg-11":"styles-module__col-span-lg-11__AQw76",colSpanLg11:lp,"col-span-lg-12":"styles-module__col-span-lg-12__cFfHJ",colSpanLg12:np,"col-span-lg-full":"styles-module__col-span-lg-full__IBuri",colSpanLgFull:op,"col-span-xl-1":"styles-module__col-span-xl-1__hoqul",colSpanXl1:ap,"col-span-xl-2":"styles-module__col-span-xl-2__iTlZE",colSpanXl2:_p,"col-span-xl-3":"styles-module__col-span-xl-3__pw3Vu",colSpanXl3:cp,"col-span-xl-4":"styles-module__col-span-xl-4__NaUdq",colSpanXl4:rp,"col-span-xl-5":"styles-module__col-span-xl-5__NZfk2",colSpanXl5:dp,"col-span-xl-6":"styles-module__col-span-xl-6__piqQd",colSpanXl6:ip,"col-span-xl-7":"styles-module__col-span-xl-7__YGer8",colSpanXl7:up,"col-span-xl-8":"styles-module__col-span-xl-8__Dr6aM",colSpanXl8:mp,"col-span-xl-9":"styles-module__col-span-xl-9__zyuUC",colSpanXl9:pp,"col-span-xl-10":"styles-module__col-span-xl-10__1tCT-",colSpanXl10:yp,"col-span-xl-11":"styles-module__col-span-xl-11__4neTT",colSpanXl11:hp,"col-span-xl-12":"styles-module__col-span-xl-12__yqf3o",colSpanXl12:gp,"col-span-xl-full":"styles-module__col-span-xl-full__LIPRp",colSpanXlFull:fp,"row-span-1":"styles-module__row-span-1__zy3Hq",rowSpan1:xp,"row-span-2":"styles-module__row-span-2__Z8RpU",rowSpan2:bp,"row-span-3":"styles-module__row-span-3__JkAqM",rowSpan3:vp,"row-span-4":"styles-module__row-span-4__X5Xkb",rowSpan4:$p,"row-span-5":"styles-module__row-span-5__UGWBp",rowSpan5:jp,"row-span-6":"styles-module__row-span-6__Ok7gd",rowSpan6:Np};function ms({columns:s=12,columnsSm:t,columnsMd:n,columnsLg:l,columnsXl:a,gap:o="md",rowGap:_,columnGap:d,alignItems:r,justifyItems:c,justifyContent:i,autoFlow:m,className:v="",children:h,...$}){const u=[Z.grid,Z[`columns-${s}`],t&&Z[`columns-sm-${t}`],n&&Z[`columns-md-${n}`],l&&Z[`columns-lg-${l}`],a&&Z[`columns-xl-${a}`],Z[`gap-${o}`],_&&Z[`row-gap-${_}`],d&&Z[`column-gap-${d}`],r&&Z[`align-${r}`],c&&Z[`justify-items-${c}`],i&&Z[`justify-content-${i}`],m&&Z[`flow-${m}`],v].filter(Boolean).join(" ");return e.jsx("div",{className:u,...$,children:h})}function ps({colSpan:s,colSpanSm:t,colSpanMd:n,colSpanLg:l,colSpanXl:a,rowSpan:o,colStart:_,colEnd:d,rowStart:r,rowEnd:c,className:i="",children:m,...v}){const h=[Z.gridItem,s&&Z[`col-span-${s}`],t&&Z[`col-span-sm-${t}`],n&&Z[`col-span-md-${n}`],l&&Z[`col-span-lg-${l}`],a&&Z[`col-span-xl-${a}`],o&&Z[`row-span-${o}`],i].filter(Boolean).join(" "),$={};return _&&($.gridColumnStart=_),d&&($.gridColumnEnd=d),r&&($.gridRowStart=r),c&&($.gridRowEnd=c),e.jsx("div",{className:h,style:$,...v,children:m})}ms.Item=ps;const wp="styles-module__container__VdOF1",kp="styles-module__centered__VnHGF",Sp="styles-module__size-xs__-MEhp",Cp="styles-module__size-sm__ZuE4A",Lp="styles-module__size-md__piQ0Z",Ip="styles-module__size-lg__Grr0V",Mp="styles-module__size-xl__aBZcL",zp="styles-module__size-2xl__qimqK",Dp="styles-module__size-full__02jid",Tp="styles-module__fluid__yUjnw",Bp="styles-module__padding-none__BoJqT",Ep="styles-module__padding-sm__jnwGB",Wp="styles-module__padding-md__awpVn",Rp="styles-module__padding-lg__rnErD",Xp="styles-module__padding-xl__vpDQ1",Ke={container:wp,centered:kp,"size-xs":"styles-module__size-xs__-MEhp",sizeXs:Sp,"size-sm":"styles-module__size-sm__ZuE4A",sizeSm:Cp,"size-md":"styles-module__size-md__piQ0Z",sizeMd:Lp,"size-lg":"styles-module__size-lg__Grr0V",sizeLg:Ip,"size-xl":"styles-module__size-xl__aBZcL",sizeXl:Mp,"size-2xl":"styles-module__size-2xl__qimqK",size2Xl:zp,"size-full":"styles-module__size-full__02jid",sizeFull:Dp,fluid:Tp,"padding-none":"styles-module__padding-none__BoJqT",paddingNone:Bp,"padding-sm":"styles-module__padding-sm__jnwGB",paddingSm:Ep,"padding-md":"styles-module__padding-md__awpVn",paddingMd:Wp,"padding-lg":"styles-module__padding-lg__rnErD",paddingLg:Rp,"padding-xl":"styles-module__padding-xl__vpDQ1",paddingXl:Xp};function Gp({size:s="lg",padding:t="md",centered:n=!0,fluid:l=!1,className:a="",children:o,..._}){const d=[Ke.container,!l&&Ke[`size-${s}`],Ke[`padding-${t}`],n&&Ke.centered,l&&Ke.fluid,a].filter(Boolean).join(" ");return e.jsx("div",{className:d,..._,children:o})}const Vp="styles-module__spacer__qss6j",Ap="styles-module__axis-vertical__3Kgfw",Pp="styles-module__size-xs__SaVUa",Fp="styles-module__size-sm__UBNV3",Op="styles-module__size-md__yESLg",Hp="styles-module__size-lg__vQTo6",Yp="styles-module__size-xl__xnHrI",qp="styles-module__size-2xl__3-kBv",Kp="styles-module__size-3xl__CLpLD",Zp="styles-module__size-4xl__JaQzV",Up="styles-module__axis-horizontal__zztIj",Jp="styles-module__axis-both__1qVsg",os={spacer:Vp,"axis-vertical":"styles-module__axis-vertical__3Kgfw",axisVertical:Ap,"size-xs":"styles-module__size-xs__SaVUa",sizeXs:Pp,"size-sm":"styles-module__size-sm__UBNV3",sizeSm:Fp,"size-md":"styles-module__size-md__yESLg",sizeMd:Op,"size-lg":"styles-module__size-lg__vQTo6",sizeLg:Hp,"size-xl":"styles-module__size-xl__xnHrI",sizeXl:Yp,"size-2xl":"styles-module__size-2xl__3-kBv",size2Xl:qp,"size-3xl":"styles-module__size-3xl__CLpLD",size3Xl:Kp,"size-4xl":"styles-module__size-4xl__JaQzV",size4Xl:Zp,"axis-horizontal":"styles-module__axis-horizontal__zztIj",axisHorizontal:Up,"axis-both":"styles-module__axis-both__1qVsg",axisBoth:Jp};function Qp({size:s="md",axis:t="vertical",spacing:n,className:l=""}){const a=[os.spacer,os[`size-${s}`],os[`axis-${t}`],l].filter(Boolean).join(" "),o={};if(n!==void 0){const _=typeof n=="number"?`${n}px`:n;switch(t){case"horizontal":o.width=_,o.height=0;break;case"vertical":o.height=_,o.width=0;break;case"both":o.width=_,o.height=_;break}}return e.jsx("div",{className:a,style:o,"aria-hidden":"true"})}const ey="styles-module__skeleton__IE-Vu",sy="styles-module__animation-pulse__aYSI1",ty="styles-module__pulse__8b7Cb",ly="styles-module__animation-wave__88ZQe",ny="styles-module__wave__5-OJD",oy="styles-module__variant-text__QpDWV",ay="styles-module__variant-circular__3X6OU",_y="styles-module__variant-rectangular__bDGYd",cy="styles-module__variant-rounded__5rsz7",ry="styles-module__textGroup__djF5j",Je={skeleton:ey,"animation-pulse":"styles-module__animation-pulse__aYSI1",animationPulse:sy,pulse:ty,"animation-wave":"styles-module__animation-wave__88ZQe",animationWave:ly,wave:ny,"variant-text":"styles-module__variant-text__QpDWV",variantText:oy,"variant-circular":"styles-module__variant-circular__3X6OU",variantCircular:ay,"variant-rectangular":"styles-module__variant-rectangular__bDGYd",variantRectangular:_y,"variant-rounded":"styles-module__variant-rounded__5rsz7",variantRounded:cy,textGroup:ry};function Re({variant:s="text",width:t,height:n,animation:l="pulse",className:a="",lines:o=1,..._}){const d=()=>{const c={};return t!==void 0&&(c.width=typeof t=="number"?`${t}px`:t),n!==void 0&&(c.height=typeof n=="number"?`${n}px`:n),c},r=[Je.skeleton,Je[`variant-${s}`],l!=="none"&&Je[`animation-${l}`],a].filter(Boolean).join(" ");return s==="text"&&o>1?e.jsx("div",{className:Je.textGroup,..._,children:Array.from({length:o},(c,i)=>e.jsx("div",{className:r,style:{...d(),...i===o-1&&{width:t||"80%"}}},i))}):e.jsx("div",{className:r,style:d(),..._})}function ys({lines:s=3,...t}){return e.jsx(Re,{variant:"text",lines:s,...t})}function hs({size:s=40,...t}){return e.jsx(Re,{variant:"circular",width:s,height:s,...t})}function gs({width:s="100%",height:t=200,...n}){return e.jsx(Re,{variant:"rectangular",width:s,height:t,...n})}Re.Text=ys;Re.Circle=hs;Re.Rectangle=gs;const dy="styles-module__videoContainer__3jwCO",iy="styles-module__video__i5zru",uy="styles-module__aspect-16-9__1C9zz",my="styles-module__aspect-4-3__d-QMp",py="styles-module__aspect-1-1__pNYYM",yy="styles-module__aspect-21-9__h138i",as={videoContainer:dy,video:iy,"aspect-16-9":"styles-module__aspect-16-9__1C9zz",aspect169:uy,"aspect-4-3":"styles-module__aspect-4-3__d-QMp",aspect43:my,"aspect-1-1":"styles-module__aspect-1-1__pNYYM",aspect11:py,"aspect-21-9":"styles-module__aspect-21-9__h138i",aspect219:yy},fs=p.forwardRef(({src:s,sources:t,poster:n,aspectRatio:l="16:9",controls:a=!0,autoPlay:o=!1,loop:_=!1,muted:d=!1,playsInline:r=!0,width:c,height:i,className:m="",loading:v="lazy",onError:h,...$},u)=>{const N={};c&&(N.width=typeof c=="number"?`${c}px`:c),i&&(N.height=typeof i=="number"?`${i}px`:i);const b=[as.videoContainer,l!=="auto"&&as[`aspect-${l.replace(":","-")}`],m].filter(Boolean).join(" ");return e.jsx("div",{className:b,style:N,children:e.jsxs("video",{ref:u,className:as.video,controls:a,autoPlay:o,loop:_,muted:d,playsInline:r,poster:n,onError:h,...$,children:[t&&t.length>0?t.map((y,w)=>e.jsx("source",{src:y.src,type:y.type},w)):e.jsx("source",{src:s}),"Your browser does not support the video tag."]})})});fs.displayName="Video";const hy="styles-module__audioContainer__16H-K",gy="styles-module__audio__Mq-EL",fy="styles-module__metadata__avzvt",xy="styles-module__coverArt__uvMH0",by="styles-module__info__yWEjQ",vy="styles-module__title__zSubd",$y="styles-module__artist__YDHxr",jy="styles-module__album__15liA",Ny="styles-module__variant-minimal__kn0IV",wy="styles-module__variant-standard__aqKxT",ky="styles-module__variant-detailed__jUpfp",ke={audioContainer:hy,audio:gy,metadata:fy,coverArt:xy,info:by,title:vy,artist:$y,album:jy,"variant-minimal":"styles-module__variant-minimal__kn0IV",variantMinimal:Ny,"variant-standard":"styles-module__variant-standard__aqKxT",variantStandard:wy,"variant-detailed":"styles-module__variant-detailed__jUpfp",variantDetailed:ky},xs=p.forwardRef(({src:s,sources:t,title:n,artist:l,album:a,coverArt:o,variant:_="standard",controls:d=!0,autoPlay:r=!1,loop:c=!1,muted:i=!1,preload:m="metadata",className:v="",onError:h,onPlay:$,onPause:u,onEnded:N,...b},y)=>{const w=[ke.audioContainer,ke[`variant-${_}`],v].filter(Boolean).join(" "),L=n||l||a||o;return e.jsxs("div",{className:w,children:[L&&_!=="minimal"&&e.jsxs("div",{className:ke.metadata,children:[o&&e.jsx("div",{className:ke.coverArt,children:e.jsx("img",{src:o,alt:n||"Cover art"})}),e.jsxs("div",{className:ke.info,children:[n&&e.jsx("div",{className:ke.title,children:n}),l&&e.jsx("div",{className:ke.artist,children:l}),a&&_==="detailed"&&e.jsx("div",{className:ke.album,children:a})]})]}),e.jsxs("audio",{ref:y,className:ke.audio,controls:d,autoPlay:r,loop:c,muted:i,preload:m,onError:h,onPlay:$,onPause:u,onEnded:N,...b,children:[t&&t.length>0?t.map((x,k)=>e.jsx("source",{src:x.src,type:x.type},k)):e.jsx("source",{src:s}),"Your browser does not support the audio tag."]})]})});xs.displayName="Audio";const Sy="styles-module__tagInputContainer__rG-TN",Cy="styles-module__fullWidth__nfUqH",Ly="styles-module__label__r7qNM",Iy="styles-module__inputWrapper__lb9-U",My="styles-module__disabled__DJG6N",zy="styles-module__sm__f1Ha1",Dy="styles-module__lg__bmnGH",Ty="styles-module__error__Gtr32",By="styles-module__success__SgWLH",Ey="styles-module__tagsContainer__9dKnO",Wy="styles-module__tag__UTkfA",Ry="styles-module__tagLabel__koIV7",Xy="styles-module__removeButton__4LMvA",Gy="styles-module__input__G3wtc",Vy="styles-module__helperText__G6VBC",Ay="styles-module__errorText__LPcTb",le={tagInputContainer:Sy,fullWidth:Cy,label:Ly,inputWrapper:Iy,disabled:My,sm:zy,lg:Dy,error:Ty,success:By,tagsContainer:Ey,tag:Wy,tagLabel:Ry,removeButton:Xy,input:Gy,helperText:Vy,errorText:Ay};function Py({tags:s=[],onChange:t,onTagAdd:n,onTagRemove:l,placeholder:a="Add tags...",label:o,error:_,helperText:d,size:r="md",variant:c="default",disabled:i=!1,maxTags:m,separators:v=["Enter",","],allowDuplicates:h=!1,validate:$,removable:u=!0,fullWidth:N=!1,className:b=""}){const[y,w]=p.useState(""),L=p.useRef(null),x=_?"error":c,k=g=>{const j=g.trim();if(!j||m&&s.length>=m||!h&&s.some(K=>K.label.toLowerCase()===j.toLowerCase())||$&&!$(j))return;const C={id:`${Date.now()}-${Math.random()}`,label:j},E=[...s,C];t?.(E),n?.(C),w("")},D=g=>{if(!u||i)return;const j=s.filter(C=>C.id!==g.id);t?.(j),l?.(g)},M=g=>{const j=y.trim();if(v.includes(g.key)){g.preventDefault(),k(j);return}g.key==="Backspace"&&!y&&s.length>0&&u&&(g.preventDefault(),D(s[s.length-1]))},P=g=>{const j=g.target.value;if(v.includes(",")&&j.includes(",")){const C=j.split(",");C.slice(0,-1).forEach(E=>k(E)),w(C[C.length-1])}else w(j)},R=()=>{L.current?.focus()},B=[le.tagInputContainer,N&&le.fullWidth,b].filter(Boolean).join(" "),O=[le.inputWrapper,le[r],le[x],i&&le.disabled].filter(Boolean).join(" ");return e.jsxs("div",{className:B,children:[o&&e.jsx("label",{className:le.label,children:o}),e.jsx("div",{className:O,onClick:R,children:e.jsxs("div",{className:le.tagsContainer,children:[s.map(g=>e.jsxs("div",{className:le.tag,children:[e.jsx("span",{className:le.tagLabel,children:g.label}),u&&!i&&e.jsx("button",{type:"button",className:le.removeButton,onClick:j=>{j.stopPropagation(),D(g)},"aria-label":`Remove ${g.label}`,children:"×"})]},g.id)),(!m||s.length<m)&&e.jsx("input",{ref:L,type:"text",className:le.input,value:y,onChange:P,onKeyDown:M,onBlur:()=>{y.trim()&&k(y)},placeholder:s.length===0?a:"",disabled:i})]})}),(_||d)&&e.jsx("span",{className:`${le.helperText} ${_?le.errorText:""}`,children:_||d})]})}const Fy="styles-module__pinInputContainer__A-JES",Oy="styles-module__label__oTDys",Hy="styles-module__inputsWrapper__kkWw4",Yy="styles-module__pinInput__98qy7",qy="styles-module__sm__soj3i",Ky="styles-module__lg__i9e56",Zy="styles-module__error__n5-a4",Uy="styles-module__success__P-ASa",Jy="styles-module__masked__DP3X2",Qy="styles-module__helperText__1DBEi",eh="styles-module__errorText__Hr-Sq",he={pinInputContainer:Fy,label:Oy,inputsWrapper:Hy,pinInput:Yy,sm:qy,lg:Ky,error:Zy,success:Uy,masked:Jy,helperText:Qy,errorText:eh};function sh({length:s=6,type:t="numeric",size:n="md",variant:l="default",mask:a=!1,autoFocus:o=!1,disabled:_=!1,placeholder:d="",label:r,error:c,helperText:i,onChange:m,onComplete:v,value:h,defaultValue:$="",selectOnFocus:u=!0,className:N=""}){const[b,y]=p.useState(h?.split("")||$.split("").slice(0,s)||Array(s).fill("")),w=p.useRef([]),L=c?"error":l;p.useEffect(()=>{if(h!==void 0){const g=h.split("").slice(0,s);for(;g.length<s;)g.push("");y(g)}},[h,s]),p.useEffect(()=>{o&&w.current[0]&&w.current[0].focus()},[o]);const x=g=>{if(!g)return!0;switch(t){case"numeric":return/^\d$/.test(g);case"alphabetic":return/^[a-zA-Z]$/.test(g);case"alphanumeric":return/^[a-zA-Z0-9]$/.test(g);default:return!0}},k=g=>{w.current[g]&&(w.current[g]?.focus(),u&&w.current[g]?.select())},D=(g,j)=>{const C=j.slice(-1);if(j&&!x(C))return;const E=[...b];E[g]=C,y(E);const K=E.join("");m?.(K),C&&g<s-1&&k(g+1),E.every(W=>W!=="")&&v?.(K)},M=(g,j)=>{if(j.key==="Backspace"){j.preventDefault();const C=[...b];b[g]?(C[g]="",y(C),m?.(C.join(""))):g>0&&(C[g-1]="",y(C),m?.(C.join("")),k(g-1))}if(j.key==="Delete"){j.preventDefault();const C=[...b];C[g]="",y(C),m?.(C.join(""))}j.key==="ArrowLeft"&&g>0&&(j.preventDefault(),k(g-1)),j.key==="ArrowRight"&&g<s-1&&(j.preventDefault(),k(g+1)),j.key==="Home"&&(j.preventDefault(),k(0)),j.key==="End"&&(j.preventDefault(),k(s-1))},P=g=>{g.preventDefault();const C=g.clipboardData.getData("text").slice(0,s).split("").filter(x),E=[...b];C.forEach((W,S)=>{S<s&&(E[S]=W)}),y(E),m?.(E.join(""));const K=E.findIndex(W=>!W);k(K===-1?s-1:K),E.every(W=>W!=="")&&v?.(E.join(""))},R=g=>{u&&w.current[g]&&w.current[g]?.select()},B=[he.pinInputContainer,N].filter(Boolean).join(" "),O=[he.pinInput,he[n],he[L],a&&he.masked,_&&he.disabled].filter(Boolean).join(" ");return e.jsxs("div",{className:B,children:[r&&e.jsx("label",{className:he.label,children:r}),e.jsx("div",{className:he.inputsWrapper,children:Array.from({length:s}).map((g,j)=>e.jsx("input",{ref:C=>w.current[j]=C,type:a?"password":"text",inputMode:t==="numeric"?"numeric":"text",maxLength:1,value:b[j]||"",onChange:C=>D(j,C.target.value),onKeyDown:C=>M(j,C),onPaste:P,onFocus:()=>R(j),disabled:_,placeholder:d,className:O,"aria-label":`PIN digit ${j+1}`},j))}),(c||i)&&e.jsx("span",{className:`${he.helperText} ${c?he.errorText:""}`,children:c||i})]})}const th="styles-module__ratingContainer__F0pJb",lh="styles-module__label__P8tLy",nh="styles-module__ratingWrapper__vNfnc",oh="styles-module__rating__NcjYB",ah="styles-module__star__1LgQx",_h="styles-module__sm__KTEVu",ch="styles-module__md__vRYlw",rh="styles-module__lg__NoGC1",dh="styles-module__readOnly__yNpwH",ih="styles-module__disabled__cME0J",uh="styles-module__valueDisplay__KxK-j",mh="styles-module__helperText__-Dh55",ge={ratingContainer:th,label:lh,ratingWrapper:nh,rating:oh,star:ah,sm:_h,md:ch,lg:rh,readOnly:dh,disabled:ih,valueDisplay:uh,helperText:mh};function ph({value:s,defaultValue:t=0,max:n=5,precision:l=1,size:a="md",readOnly:o=!1,disabled:_=!1,label:d,showValue:r=!1,emptyIcon:c,filledIcon:i,halfIcon:m,onChange:v,onHoverChange:h,className:$="",helperText:u}){const[N,b]=p.useState(t),[y,w]=p.useState(null),L=s!==void 0?s:N,x=y!==null?y:L,k=!o&&!_,D=g=>{if(!k)return;const j=L===g?0:g;s===void 0&&b(j),v?.(j)},M=(g,j)=>{if(k)if(l===.5){const{left:C,width:E}=j.currentTarget.getBoundingClientRect(),K=(j.clientX-C)/E,W=g+(K>.5?1:.5);w(W),h?.(W)}else{const C=g+1;w(C),h?.(C)}},P=()=>{k&&(w(null),h?.(0))},R=g=>{const j=g+1,C=x>=j,E=l===.5&&x>=j-.5&&x<j;return C?i||"★":E?m||"⯨":c||"☆"},B=[ge.ratingContainer,$].filter(Boolean).join(" "),O=[ge.rating,ge[a],_&&ge.disabled,o&&ge.readOnly].filter(Boolean).join(" ");return e.jsxs("div",{className:B,children:[d&&e.jsx("label",{className:ge.label,children:d}),e.jsxs("div",{className:ge.ratingWrapper,children:[e.jsx("div",{className:O,onMouseLeave:P,children:Array.from({length:n},(g,j)=>e.jsx("button",{type:"button",className:ge.star,onClick:()=>D(j+1),onMouseMove:C=>M(j,C),disabled:_,"aria-label":`Rate ${j+1} out of ${n}`,children:R(j)},j))}),r&&e.jsxs("span",{className:ge.valueDisplay,children:[x.toFixed(l===.5?1:0)," / ",n]})]}),u&&e.jsx("span",{className:ge.helperText,children:u})]})}const yh="styles-module__window__kkIRc",hh="styles-module__maximized__8yMaC",gh="styles-module__resizable__sHn40",fh="styles-module__size-sm__yjumC",xh="styles-module__size-md__kavLf",bh="styles-module__size-lg__IBW3e",vh="styles-module__size-xl__9yXK2",$h="styles-module__size-full__AEyyM",jh="styles-module__variant-default__fGFvQ",Nh="styles-module__variant-dark__4x4Z6",wh="styles-module__variant-light__ruY9H",kh="styles-module__titleBar__q4Nxs",Sh="styles-module__draggable__AmUbi",Ch="styles-module__titleBarContent__blnTu",Lh="styles-module__title__muIAe",Ih="styles-module__toolbar__3bLH-",Mh="styles-module__controls__nFGhQ",zh="styles-module__control__qiMAt",Dh="styles-module__minimize__zGRY6",Th="styles-module__maximize__SuZ8f",Bh="styles-module__close__PVa1W",Eh="styles-module__content__ABsnm",Wh="styles-module__footer__g5GSG",U={window:yh,maximized:hh,resizable:gh,"size-sm":"styles-module__size-sm__yjumC",sizeSm:fh,"size-md":"styles-module__size-md__kavLf",sizeMd:xh,"size-lg":"styles-module__size-lg__IBW3e",sizeLg:bh,"size-xl":"styles-module__size-xl__9yXK2",sizeXl:vh,"size-full":"styles-module__size-full__AEyyM",sizeFull:$h,"variant-default":"styles-module__variant-default__fGFvQ",variantDefault:jh,"variant-dark":"styles-module__variant-dark__4x4Z6",variantDark:Nh,"variant-light":"styles-module__variant-light__ruY9H",variantLight:wh,titleBar:kh,draggable:Sh,titleBarContent:Ch,title:Lh,toolbar:Ih,controls:Mh,control:zh,minimize:Dh,maximize:Th,close:Bh,content:Eh,footer:Wh};function Rh({title:s="Window",size:t="md",variant:n="default",open:l=!0,closable:a=!0,minimizable:o=!1,maximizable:_=!0,resizable:d=!1,draggable:r=!0,onClose:c,onMinimize:i,onMaximize:m,width:v,height:h,initialX:$=0,initialY:u=0,children:N,className:b="",showControls:y=!0,toolbar:w,footer:L}){const[x,k]=p.useState(!1),[D,M]=p.useState({x:$,y:u}),[P,R]=p.useState(!1),[B,O]=p.useState({x:0,y:0}),g=p.useRef(null);if(!l)return null;const j=f=>{!r||x||(R(!0),O({x:f.clientX-D.x,y:f.clientY-D.y}))},C=f=>{P&&M({x:f.clientX-B.x,y:f.clientY-B.y})},E=()=>{R(!1)};p.useEffect(()=>{if(P)return document.addEventListener("mousemove",C),document.addEventListener("mouseup",E),()=>{document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",E)}},[P,B]);const K=()=>{k(!x),m?.()},W={};!x&&r&&(W.transform=`translate(${D.x}px, ${D.y}px)`),v&&(W.width=typeof v=="number"?`${v}px`:v),h&&(W.height=typeof h=="number"?`${h}px`:h);const S=[U.window,U[`size-${t}`],U[`variant-${n}`],x&&U.maximized,d&&U.resizable,b].filter(Boolean).join(" ");return e.jsxs("div",{ref:g,className:S,style:W,children:[e.jsxs("div",{className:`${U.titleBar} ${r&&!x?U.draggable:""}`,onMouseDown:j,children:[e.jsxs("div",{className:U.titleBarContent,children:[e.jsx("span",{className:U.title,children:s}),w&&e.jsx("div",{className:U.toolbar,children:w})]}),y&&e.jsxs("div",{className:U.controls,children:[o&&e.jsx("button",{type:"button",className:`${U.control} ${U.minimize}`,onClick:i,"aria-label":"Minimize",children:"−"}),_&&e.jsx("button",{type:"button",className:`${U.control} ${U.maximize}`,onClick:K,"aria-label":x?"Restore":"Maximize",children:x?"⧉":"□"}),a&&e.jsx("button",{type:"button",className:`${U.control} ${U.close}`,onClick:c,"aria-label":"Close",children:"×"})]})]}),e.jsx("div",{className:U.content,children:N}),L&&e.jsx("div",{className:U.footer,children:L})]})}const Xh="styles-module__gaugeContainer__BnFBJ",Gh="styles-module__svg__IOyJ8",Vh="styles-module__animatedPath__MmF1n",Ah="styles-module__gaugeAnimation__Hxuof",Ph="styles-module__centerText__-aFc6",Fh="styles-module__value__f21LN",Oh="styles-module__unit__f4531",Hh="styles-module__label__3mWKl",Yh="styles-module__minMaxLabels__Zc16l",qh="styles-module__minLabel__gGD9N",Kh="styles-module__maxLabel__tNNbn",Zh="styles-module__sm__5ZJIU",Uh="styles-module__md__ZNSR1",Jh="styles-module__lg__BS4ab",Qh="styles-module__xl__Qeyec",me={gaugeContainer:Xh,svg:Gh,animatedPath:Vh,gaugeAnimation:Ah,centerText:Ph,value:Fh,unit:Oh,label:Hh,minMaxLabels:Yh,minLabel:qh,maxLabel:Kh,sm:Zh,md:Uh,lg:Jh,xl:Qh};function eg({value:s,min:t=0,max:n=100,size:l="md",variant:a="default",thickness:o=12,label:_,showValue:d=!0,valueFormatter:r,showMinMax:c=!1,startAngle:i=-135,endAngle:m=135,animate:v=!0,className:h="",unit:$=""}){const u=Math.max(t,Math.min(n,s)),N=(u-t)/(n-t)*100,b=50-o/2,y=2*Math.PI*b,w=i*Math.PI/180,L=m*Math.PI/180,x=L-w,k=w+x*N/100,D=50+b*Math.sin(w),M=50-b*Math.cos(w),P=50+b*Math.sin(L),R=50-b*Math.cos(L),B=50+b*Math.sin(k),O=50-b*Math.cos(k),g=Math.abs(m-i)>180?1:0,j=N/100*Math.abs(m-i)>180?1:0,C=`M ${D} ${M} A ${b} ${b} 0 ${g} 1 ${P} ${R}`,E=N>0?`M ${D} ${M} A ${b} ${b} 0 ${j} 1 ${B} ${O}`:"",K=r?r(u):u.toFixed(0),W=[me.gaugeContainer,me[l],h].filter(Boolean).join(" "),S={default:"rgba(99, 102, 241, 0.8)",success:"rgba(34, 197, 94, 0.8)",warning:"rgba(251, 191, 36, 0.8)",error:"rgba(239, 68, 68, 0.8)",info:"rgba(59, 130, 246, 0.8)"};return e.jsxs("div",{className:W,children:[e.jsxs("svg",{className:me.svg,viewBox:"0 0 100 100",children:[e.jsx("path",{d:C,fill:"none",stroke:"rgba(255, 255, 255, 0.1)",strokeWidth:o,strokeLinecap:"round"}),N>0&&e.jsx("path",{d:E,fill:"none",stroke:S[a],strokeWidth:o,strokeLinecap:"round",className:v?me.animatedPath:"",style:{strokeDasharray:y,strokeDashoffset:y*(1-N/100)}}),e.jsxs("g",{className:me.centerText,children:[d&&e.jsxs("text",{x:"50",y:_?"45":"52",className:me.value,children:[K,$&&e.jsx("tspan",{className:me.unit,children:$})]}),_&&e.jsx("text",{x:"50",y:d?"60":"52",className:me.label,children:_})]})]}),c&&e.jsxs("div",{className:me.minMaxLabels,children:[e.jsx("span",{className:me.minLabel,children:t}),e.jsx("span",{className:me.maxLabel,children:n})]})]})}const sg="styles-module__colorPickerContainer__GcH66",tg="styles-module__label__t8ugX",lg="styles-module__inputWrapper__DD6E-",ng="styles-module__colorButton__gbskz",og="styles-module__disabled__f-loV",ag="styles-module__colorPreview__toNQY",_g="styles-module__colorInput__LWEMn",cg="styles-module__popover__x3a-e",rg="styles-module__pickerContent__2W72c",dg="styles-module__nativeColorPicker__rPI-9",ig="styles-module__presets__IuFHV",ug="styles-module__quickColors__YOCtI",mg="styles-module__presetsLabel__2bK2r",pg="styles-module__quickColorsLabel__jiYjL",yg="styles-module__presetsGrid__VDTHM",hg="styles-module__presetButton__5wc-z",gg="styles-module__active__SqIPE",fg="styles-module__quickColorsGrid__9ZX0W",xg="styles-module__quickColorButton__2FpSv",bg="styles-module__helperText__AqKTN",vg="styles-module__errorText__cardI",Y={colorPickerContainer:sg,label:tg,inputWrapper:lg,colorButton:ng,disabled:og,colorPreview:ag,colorInput:_g,popover:cg,pickerContent:rg,nativeColorPicker:dg,presets:ig,quickColors:ug,presetsLabel:mg,quickColorsLabel:pg,presetsGrid:yg,presetButton:hg,active:gg,quickColorsGrid:fg,quickColorButton:xg,helperText:bg,errorText:vg},$g=s=>{const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(s);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},jg=(s,t,n)=>{s/=255,t/=255,n/=255;const l=Math.max(s,t,n),a=Math.min(s,t,n);let o=0,_=0;const d=(l+a)/2;if(l!==a){const r=l-a;switch(_=d>.5?r/(2-l-a):r/(l+a),l){case s:o=((t-n)/r+(t<n?6:0))/6;break;case t:o=((n-s)/r+2)/6;break;case n:o=((s-t)/r+4)/6;break}}return{h:Math.round(o*360),s:Math.round(_*100),l:Math.round(d*100)}};function Ng({value:s,defaultValue:t="#6366f1",onChange:n,format:l="hex",label:a,disabled:o=!1,showPresets:_=!0,presets:d=["#ef4444","#f97316","#f59e0b","#84cc16","#22c55e","#14b8a6","#06b6d4","#3b82f6","#6366f1","#8b5cf6","#a855f7","#ec4899"],showAlpha:r=!1,className:c="",helperText:i,error:m}){const[v,h]=p.useState(t),[$,u]=p.useState(!1),N=p.useRef(null),b=s!==void 0?s:v;p.useEffect(()=>{const x=k=>{N.current&&!N.current.contains(k.target)&&u(!1)};return $&&document.addEventListener("mousedown",x),()=>{document.removeEventListener("mousedown",x)}},[$]);const y=x=>{s===void 0&&h(x),n?.(x)},w=x=>{const k=$g(x);if(!k)return x;switch(l){case"rgb":return`rgb(${k.r}, ${k.g}, ${k.b})`;case"hsl":const D=jg(k.r,k.g,k.b);return`hsl(${D.h}, ${D.s}%, ${D.l}%)`;default:return x}},L=[Y.colorPickerContainer,c].filter(Boolean).join(" ");return e.jsxs("div",{className:L,children:[a&&e.jsx("label",{className:Y.label,children:a}),e.jsxs("div",{className:Y.inputWrapper,ref:N,children:[e.jsx("button",{type:"button",className:`${Y.colorButton} ${o?Y.disabled:""}`,onClick:()=>!o&&u(!$),disabled:o,style:{backgroundColor:b},"aria-label":"Select color",children:e.jsx("span",{className:Y.colorPreview,style:{backgroundColor:b}})}),e.jsx("input",{type:"text",className:Y.colorInput,value:w(b),onChange:x=>y(x.target.value),disabled:o,placeholder:"#000000"}),$&&!o&&e.jsx("div",{className:Y.popover,children:e.jsxs("div",{className:Y.pickerContent,children:[e.jsx("input",{type:"color",className:Y.nativeColorPicker,value:b,onChange:x=>y(x.target.value)}),_&&e.jsxs("div",{className:Y.presets,children:[e.jsx("div",{className:Y.presetsLabel,children:"Presets"}),e.jsx("div",{className:Y.presetsGrid,children:d.map(x=>e.jsx("button",{type:"button",className:`${Y.presetButton} ${x===b?Y.active:""}`,style:{backgroundColor:x},onClick:()=>y(x),"aria-label":`Select ${x}`},x))})]}),e.jsxs("div",{className:Y.quickColors,children:[e.jsx("div",{className:Y.quickColorsLabel,children:"Quick Colors"}),e.jsxs("div",{className:Y.quickColorsGrid,children:[e.jsx("button",{type:"button",className:Y.quickColorButton,style:{backgroundColor:"#000000"},onClick:()=>y("#000000")}),e.jsx("button",{type:"button",className:Y.quickColorButton,style:{backgroundColor:"#ffffff"},onClick:()=>y("#ffffff")}),e.jsx("button",{type:"button",className:Y.quickColorButton,style:{backgroundColor:"#808080"},onClick:()=>y("#808080")})]})]})]})})]}),(m||i)&&e.jsx("span",{className:`${Y.helperText} ${m?Y.errorText:""}`,children:m||i})]})}const wg="styles-module__contextMenu__GRBVO",kg="styles-module__menuItem__RSaTZ",Sg="styles-module__disabled__bw0t-",Cg="styles-module__danger__KAIXk",Lg="styles-module__menuItemContent__-bnOm",Ig="styles-module__icon__WnkZL",Mg="styles-module__label__HqC1u",zg="styles-module__menuItemRight__NVcQN",Dg="styles-module__shortcut__4Ry6D",Tg="styles-module__submenuIndicator__glhiH",Bg="styles-module__separator__VcMO9",Eg="styles-module__submenu__HTiQG",ce={contextMenu:wg,menuItem:kg,disabled:Sg,danger:Cg,menuItemContent:Lg,icon:Ig,label:Mg,menuItemRight:zg,shortcut:Dg,submenuIndicator:Tg,separator:Bg,submenu:Eg};function Wg({items:s,children:t,className:n="",disabled:l=!1}){const[a,o]=p.useState(!1),[_,d]=p.useState({x:0,y:0}),[r,c]=p.useState({}),i=p.useRef(null),m=p.useRef(null),v=y=>{if(l)return;y.preventDefault(),y.stopPropagation();const w=y.clientX,L=y.clientY,x=240,k=s.length*40+16,D=window.innerWidth,M=window.innerHeight,P=w+x>D?D-x-10:w,R=L+k>M?M-k-10:L;d({x:P,y:R}),o(!0)},h=y=>{i.current&&!i.current.contains(y.target)&&m.current&&!m.current.contains(y.target)&&(o(!1),c({}))};p.useEffect(()=>{if(a)return document.addEventListener("mousedown",h),document.addEventListener("contextmenu",h),()=>{document.removeEventListener("mousedown",h),document.removeEventListener("contextmenu",h)}},[a]);const $=y=>{y.disabled||(y.submenu?c(w=>({...w,[y.id]:!w[y.id]})):(y.onClick?.(),o(!1),c({})))},u=y=>{c(w=>({...w,[y]:!0}))},N=y=>{c(w=>({...w,[y]:!1}))},b=(y,w=0)=>{const L=y.submenu&&y.submenu.length>0,x=r[y.id];return e.jsxs(p.Fragment,{children:[e.jsxs("div",{className:`${ce.menuItem} ${y.disabled?ce.disabled:""} ${y.danger?ce.danger:""}`,onClick:()=>$(y),onMouseEnter:()=>L&&u(y.id),onMouseLeave:()=>L&&N(y.id),style:{paddingLeft:`${.75+w*.5}rem`},children:[e.jsxs("div",{className:ce.menuItemContent,children:[y.icon&&e.jsx("span",{className:ce.icon,children:y.icon}),e.jsx("span",{className:ce.label,children:y.label})]}),e.jsxs("div",{className:ce.menuItemRight,children:[y.shortcut&&e.jsx("span",{className:ce.shortcut,children:y.shortcut}),L&&e.jsx("span",{className:ce.submenuIndicator,children:"›"})]}),L&&x&&e.jsx("div",{className:ce.submenu,children:y.submenu.map(k=>b(k,w+1))})]}),y.separator&&e.jsx("div",{className:ce.separator})]},y.id)};return e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:m,onContextMenu:v,className:n,style:{display:"inline-block"},children:t}),a&&e.jsx("div",{ref:i,className:ce.contextMenu,style:{left:`${_.x}px`,top:`${_.y}px`},children:s.map(y=>b(y))})]})}const Rg="styles-module__dataList__0oRGD",Xg="styles-module__item__eOSeD",Gg="styles-module__highlight__DdCec",Vg="styles-module__horizontal__GB4WY",Ag="styles-module__label__75f3b",Pg="styles-module__value__aOT7v",Fg="styles-module__vertical__H42DV",Og="styles-module__bold__mfZsI",Hg="styles-module__icon__EoISr",Yg="styles-module__labelText__ca0Gf",qg="styles-module__helpText__CW7oi",Kg="styles-module__valueContent__NlivI",Zg="styles-module__copyButton__pQctE",Ug="styles-module__dividers__uU1uU",Jg="styles-module__striped__7ArH9",Qg="styles-module__sm__J9JEm",ef="styles-module__md__stc8l",sf="styles-module__lg__iKJsr",ee={dataList:Rg,item:Xg,highlight:Gg,horizontal:Vg,label:Ag,value:Pg,vertical:Fg,bold:Og,icon:Hg,labelText:Yg,helpText:qg,valueContent:Kg,copyButton:Zg,dividers:Ug,striped:Jg,sm:Qg,md:ef,lg:sf};function tf({items:s,orientation:t="horizontal",size:n="md",dividers:l=!0,boldLabels:a=!0,className:o="",labelWidth:_,striped:d=!1,onCopy:r}){const c=async i=>{if(!(!i.copyable||typeof i.value!="string"))try{await navigator.clipboard.writeText(i.value),r?.(i)}catch(m){console.error("Failed to copy:",m)}};return e.jsx("dl",{className:`${ee.dataList} ${ee[t]} ${ee[n]} ${l?ee.dividers:""} ${d?ee.striped:""} ${o}`,style:{"--label-width":_},children:s.map((i,m)=>e.jsxs("div",{className:`${ee.item} ${i.highlight?ee.highlight:""} ${i.className||""}`,children:[e.jsxs("dt",{className:`${ee.label} ${a?ee.bold:""}`,children:[i.icon&&e.jsx("span",{className:ee.icon,children:i.icon}),e.jsxs("span",{className:ee.labelText,children:[i.label,i.helpText&&e.jsx("span",{className:ee.helpText,title:i.helpText,children:"?"})]})]}),e.jsxs("dd",{className:ee.value,children:[e.jsx("span",{className:ee.valueContent,children:i.value}),i.copyable&&e.jsx("button",{type:"button",className:ee.copyButton,onClick:()=>c(i),"aria-label":"Copy value",title:"Copy to clipboard",children:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M5.5 2.5h-2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2m-5-8h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]},i.id))})}const lf="styles-module__statCard__oYt00",nf="styles-module__bordered__A56Xz",of="styles-module__clickable__mMZBY",af="styles-module__header__IYBwN",_f="styles-module__labelContainer__mSkYw",cf="styles-module__icon__-4Vf1",rf="styles-module__label__xxYm9",df="styles-module__content__RE4Xm",uf="styles-module__valueContainer__o1jtt",mf="styles-module__value__ZjSG8",pf="styles-module__prefix__jaOdQ",yf="styles-module__suffix__9g-Zt",hf="styles-module__description__DOrYb",gf="styles-module__changeContainer__p4K9m",ff="styles-module__trendIcon__8hzJD",xf="styles-module__trend-up__EkKSW",bf="styles-module__trend-down__PAAY-",vf="styles-module__trend-neutral__1OaEM",$f="styles-module__footer__y26Lt",jf="styles-module__loading__q9k-W",Nf="styles-module__loadingSkeleton__eMNrK",wf="styles-module__skeletonValue__Pio1n",kf="styles-module__shimmer__OH-3R",Sf="styles-module__skeletonDescription__Qws61",Cf="styles-module__sm__t0NLs",Lf="styles-module__md__f-ZAw",If="styles-module__lg__o7Q4y",Mf="styles-module__primary__Kp-sj",zf="styles-module__success__Q5jxs",Df="styles-module__warning__l8Nwy",Tf="styles-module__error__tcxHs",Bf="styles-module__info__cF-x1",X={statCard:lf,bordered:nf,clickable:of,header:af,labelContainer:_f,icon:cf,label:rf,content:df,valueContainer:uf,value:mf,prefix:pf,suffix:yf,description:hf,changeContainer:gf,trendIcon:ff,"trend-up":"styles-module__trend-up__EkKSW",trendUp:xf,"trend-down":"styles-module__trend-down__PAAY-",trendDown:bf,"trend-neutral":"styles-module__trend-neutral__1OaEM",trendNeutral:vf,footer:$f,loading:jf,loadingSkeleton:Nf,skeletonValue:wf,shimmer:kf,skeletonDescription:Sf,sm:Cf,md:Lf,lg:If,default:"styles-module__default__AaRSX",primary:Mf,success:zf,warning:Df,error:Tf,info:Bf};function Ef({value:s,label:t,icon:n,variant:l="default",size:a="md",change:o,trend:_,description:d,footer:r,loading:c=!1,className:i="",onClick:m,bordered:v=!1,prefix:h,suffix:$}){const u=!!m,N=()=>c?e.jsx("div",{className:X.loadingSkeleton,children:e.jsx("div",{className:X.skeletonValue})}):e.jsxs("div",{className:X.valueContainer,children:[h&&e.jsx("span",{className:X.prefix,children:h}),e.jsx("span",{className:X.value,children:s}),$&&e.jsx("span",{className:X.suffix,children:$})]}),b=()=>{if(!o&&!_)return null;const y=_?X[`trend-${_}`]:o?.startsWith("+")||o?.startsWith("↑")?X["trend-up"]:o?.startsWith("-")||o?.startsWith("↓")?X["trend-down"]:X["trend-neutral"];return e.jsxs("div",{className:`${X.changeContainer} ${y}`,children:[_==="up"&&!o?.includes("↑")&&!o?.includes("▲")&&e.jsx("span",{className:X.trendIcon,children:"↑"}),_==="down"&&!o?.includes("↓")&&!o?.includes("▼")&&e.jsx("span",{className:X.trendIcon,children:"↓"}),_==="neutral"&&!o?.includes("→")&&e.jsx("span",{className:X.trendIcon,children:"→"}),o&&e.jsx("span",{className:X.change,children:o})]})};return e.jsxs("div",{className:`${X.statCard} ${X[l]} ${X[a]} ${u?X.clickable:""} ${v?X.bordered:""} ${c?X.loading:""} ${i}`,onClick:m,role:u?"button":void 0,tabIndex:u?0:void 0,onKeyDown:u?y=>{(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),m?.())}:void 0,children:[e.jsxs("div",{className:X.header,children:[e.jsxs("div",{className:X.labelContainer,children:[n&&e.jsx("span",{className:X.icon,children:n}),e.jsx("span",{className:X.label,children:t})]}),b()]}),e.jsxs("div",{className:X.content,children:[N(),d&&!c&&e.jsx("p",{className:X.description,children:d}),c&&d&&e.jsx("div",{className:X.loadingSkeleton,children:e.jsx("div",{className:X.skeletonDescription})})]}),r&&!c&&e.jsx("div",{className:X.footer,children:r})]})}const Wf="styles-module__split__10amd",Rf="styles-module__horizontal__nWMIm",Xf="styles-module__vertical__dHG5L",Gf="styles-module__pane__eLr0i",Vf="styles-module__gutter__bzVSj",Af="styles-module__gutterHandle__laNCM",Pf="styles-module__dragging__GRmLp",Ff="styles-module__disabled__-Lei8",Te={split:Wf,horizontal:Rf,vertical:Xf,pane:Gf,gutter:Vf,gutterHandle:Af,dragging:Pf,disabled:Ff};function Of({direction:s="horizontal",initialSize:t=50,minSize:n=100,maxSize:l,children:a,onResize:o,className:_="",disabled:d=!1,snapPositions:r=[],snapThreshold:c=20,gutterSize:i=8}){const[m,v]=p.useState(t),[h,$]=p.useState(!1),u=p.useRef(null),N=p.useRef(0),b=p.useRef(0),y=s==="horizontal",w=B=>{d||(B.preventDefault(),$(!0),N.current=y?B.clientX:B.clientY,b.current=m)},L=p.useCallback(B=>{if(!h||!u.current)return;const g=u.current.getBoundingClientRect(),j=y?g.width:g.height,C=y?B.clientX:B.clientY;y?g.left:g.top;const K=(C-N.current)/j*100;let W=b.current+K;const S=n/j*100;let f=100-S;if(l&&(f=Math.min(f,l/j*100)),W=Math.max(S,Math.min(f,W)),r.length>0)for(const I of r){const be=I/100*j,oe=W/100*j;if(Math.abs(oe-be)<c){W=I;break}}v(W),o?.(W)},[h,y,n,l,r,c,o]),x=p.useCallback(()=>{h&&$(!1)},[h]);p.useEffect(()=>{if(h)return document.addEventListener("mousemove",L),document.addEventListener("mouseup",x),document.body.style.userSelect="none",document.body.style.cursor=y?"col-resize":"row-resize",()=>{document.removeEventListener("mousemove",L),document.removeEventListener("mouseup",x),document.body.style.userSelect="",document.body.style.cursor=""}},[h,L,x,y]);const k=B=>{if(d)return;B.preventDefault(),$(!0);const O=B.touches[0];N.current=y?O.clientX:O.clientY,b.current=m},D=p.useCallback(B=>{if(!h||!u.current)return;const O=B.touches[0],j=u.current.getBoundingClientRect(),C=y?j.width:j.height,W=((y?O.clientX:O.clientY)-N.current)/C*100;let S=b.current+W;const f=n/C*100;let I=100-f;if(l&&(I=Math.min(I,l/C*100)),S=Math.max(f,Math.min(I,S)),r.length>0)for(const be of r){const oe=be/100*C,Xe=S/100*C;if(Math.abs(Xe-oe)<c){S=be;break}}v(S),o?.(S)},[h,y,n,l,r,c,o]),M=p.useCallback(()=>{h&&$(!1)},[h]);p.useEffect(()=>{if(h)return document.addEventListener("touchmove",D),document.addEventListener("touchend",M),()=>{document.removeEventListener("touchmove",D),document.removeEventListener("touchend",M)}},[h,D,M]);const[P,R]=a;return e.jsxs("div",{ref:u,className:`${Te.split} ${Te[s]} ${h?Te.dragging:""} ${d?Te.disabled:""} ${_}`,children:[e.jsx("div",{className:Te.pane,style:{[y?"width":"height"]:`${m}%`},children:P}),e.jsx("div",{className:Te.gutter,style:{[y?"width":"height"]:`${i}px`},onMouseDown:w,onTouchStart:k,role:"separator","aria-orientation":s,"aria-valuenow":m,"aria-valuemin":n,"aria-valuemax":l||100,children:e.jsx("div",{className:Te.gutterHandle})}),e.jsx("div",{className:Te.pane,style:{flex:1},children:R})]})}const Hf="styles-module__imageGallery__1ewHX",Yf="styles-module__carouselContainer__CELQo",qf="styles-module__carouselMain__228vS",Kf="styles-module__carouselTrack__KssOC",Zf="styles-module__carouselSlide__pjIfk",Uf="styles-module__carouselImage__QcK-1",Jf="styles-module__sm__oyagg",Qf="styles-module__md__fP0C0",ex="styles-module__lg__yaqEo",sx="styles-module__arrow__fKqP7",tx="styles-module__arrowLeft__KpeXV",lx="styles-module__arrowRight__K9tqV",nx="styles-module__indicators__BuRqL",ox="styles-module__indicator__W0UZw",ax="styles-module__active__rCFls",_x="styles-module__thumbnails__rbSf8",cx="styles-module__thumbnail__uw-GG",rx="styles-module__caption__WXDtk",dx="styles-module__grid__Godk8",ix="styles-module__gridItem__R13Ho",ux="styles-module__gridOverlay__2Y-3Z",mx="styles-module__gridTitle__9Q2p3",px="styles-module__gridCaption__mpcNh",yx="styles-module__masonry__tNDHq",hx="styles-module__masonryItem__22ZfL",gx="styles-module__masonryOverlay__nQ91c",fx="styles-module__masonryTitle__WhvJr",xx="styles-module__masonryCaption__HP0Zk",bx="styles-module__lightbox__DLFIG",vx="styles-module__fadeIn__DWqo2",$x="styles-module__lightboxContent__45Wxl",jx="styles-module__zoomIn__CIB6-",Nx="styles-module__lightboxClose__9oi0c",wx="styles-module__lightboxArrow__f6Qhq",kx="styles-module__lightboxArrowLeft__qHu5S",Sx="styles-module__lightboxArrowRight__4wu-Y",Cx="styles-module__lightboxCaption__gVJhg",Lx="styles-module__lightboxTitle__M-1gH",Ix="styles-module__lightboxCounter__mpIt8",T={imageGallery:Hf,carouselContainer:Yf,carouselMain:qf,carouselTrack:Kf,carouselSlide:Zf,carouselImage:Uf,sm:Jf,md:Qf,lg:ex,arrow:sx,arrowLeft:tx,arrowRight:lx,indicators:nx,indicator:ox,active:ax,thumbnails:_x,thumbnail:cx,caption:rx,grid:dx,gridItem:ix,gridOverlay:ux,gridTitle:mx,gridCaption:px,masonry:yx,masonryItem:hx,masonryOverlay:gx,masonryTitle:fx,masonryCaption:xx,lightbox:bx,fadeIn:vx,lightboxContent:$x,zoomIn:jx,lightboxClose:Nx,lightboxArrow:wx,lightboxArrowLeft:kx,lightboxArrowRight:Sx,lightboxCaption:Cx,lightboxTitle:Lx,lightboxCounter:Ix};function Mx({images:s,variant:t="carousel",size:n="md",initialIndex:l=0,showThumbnails:a=!1,showCaptions:o=!0,autoPlay:_=0,columns:d=3,gap:r=16,lightbox:c=!0,className:i="",onImageClick:m,onIndexChange:v,showArrows:h=!0,showIndicators:$=!0,infinite:u=!0}){const[N,b]=p.useState(l),[y,w]=p.useState(!1),[L,x]=p.useState(0),[k,D]=p.useState(!1),M=p.useRef(),P=p.useCallback(()=>{k||(D(!0),b(f=>{const I=f===0?u?s.length-1:0:f-1;return v?.(I),I}),setTimeout(()=>D(!1),300))},[s.length,u,v,k]),R=p.useCallback(()=>{k||(D(!0),b(f=>{const I=f===s.length-1?u?0:s.length-1:f+1;return v?.(I),I}),setTimeout(()=>D(!1),300))},[s.length,u,v,k]),B=(f,I)=>{m?.(f,I),c&&(x(I),w(!0))},O=f=>{b(f),v?.(f)},g=()=>{w(!1)},j=()=>{x(f=>f===0?s.length-1:f-1)},C=()=>{x(f=>f===s.length-1?0:f+1)};p.useEffect(()=>{if(t==="carousel"&&_>0)return M.current=setInterval(()=>{R()},_),()=>{M.current&&clearInterval(M.current)}},[t,_,R]),p.useEffect(()=>{const f=I=>{y?(I.key==="Escape"&&g(),I.key==="ArrowLeft"&&j(),I.key==="ArrowRight"&&C()):t==="carousel"&&(I.key==="ArrowLeft"&&P(),I.key==="ArrowRight"&&R())};return document.addEventListener("keydown",f),()=>document.removeEventListener("keydown",f)},[y,t,P,R]);const E=()=>e.jsxs("div",{className:T.carouselContainer,children:[e.jsxs("div",{className:T.carouselMain,children:[e.jsx("div",{className:T.carouselTrack,style:{transform:`translateX(-${N*100}%)`},children:s.map((f,I)=>e.jsxs("div",{className:T.carouselSlide,onClick:()=>B(f,I),children:[e.jsx("img",{src:f.src,alt:f.alt,className:T.carouselImage}),o&&f.caption&&e.jsx("div",{className:T.caption,children:f.caption})]},f.id))}),h&&e.jsxs(e.Fragment,{children:[e.jsx("button",{className:`${T.arrow} ${T.arrowLeft}`,onClick:P,"aria-label":"Previous image",disabled:!u&&N===0,children:"‹"}),e.jsx("button",{className:`${T.arrow} ${T.arrowRight}`,onClick:R,"aria-label":"Next image",disabled:!u&&N===s.length-1,children:"›"})]})]}),$&&e.jsx("div",{className:T.indicators,children:s.map((f,I)=>e.jsx("button",{className:`${T.indicator} ${I===N?T.active:""}`,onClick:()=>{b(I),v?.(I)},"aria-label":`Go to image ${I+1}`},I))}),a&&e.jsx("div",{className:T.thumbnails,children:s.map((f,I)=>e.jsx("button",{className:`${T.thumbnail} ${I===N?T.active:""}`,onClick:()=>O(I),"aria-label":`Select image ${I+1}`,children:e.jsx("img",{src:f.thumbnail||f.src,alt:f.alt})},f.id))})]}),K=()=>e.jsx("div",{className:T.grid,style:{gridTemplateColumns:`repeat(${d}, 1fr)`,gap:`${r}px`},children:s.map((f,I)=>e.jsxs("div",{className:T.gridItem,onClick:()=>B(f,I),children:[e.jsx("img",{src:f.thumbnail||f.src,alt:f.alt}),o&&(f.caption||f.title)&&e.jsxs("div",{className:T.gridOverlay,children:[f.title&&e.jsx("div",{className:T.gridTitle,children:f.title}),f.caption&&e.jsx("div",{className:T.gridCaption,children:f.caption})]})]},f.id))}),W=()=>e.jsx("div",{className:T.masonry,style:{columnCount:d,columnGap:`${r}px`},children:s.map((f,I)=>e.jsxs("div",{className:T.masonryItem,style:{marginBottom:`${r}px`},onClick:()=>B(f,I),children:[e.jsx("img",{src:f.thumbnail||f.src,alt:f.alt}),o&&(f.caption||f.title)&&e.jsxs("div",{className:T.masonryOverlay,children:[f.title&&e.jsx("div",{className:T.masonryTitle,children:f.title}),f.caption&&e.jsx("div",{className:T.masonryCaption,children:f.caption})]})]},f.id))}),S=()=>{if(!y)return null;const f=s[L];return e.jsxs("div",{className:T.lightbox,onClick:g,children:[e.jsx("button",{className:T.lightboxClose,onClick:g,"aria-label":"Close lightbox",children:"×"}),e.jsx("button",{className:`${T.lightboxArrow} ${T.lightboxArrowLeft}`,onClick:I=>{I.stopPropagation(),j()},"aria-label":"Previous image",children:"‹"}),e.jsxs("div",{className:T.lightboxContent,onClick:I=>I.stopPropagation(),children:[e.jsx("img",{src:f.src,alt:f.alt}),(f.caption||f.title)&&e.jsxs("div",{className:T.lightboxCaption,children:[f.title&&e.jsx("div",{className:T.lightboxTitle,children:f.title}),f.caption&&e.jsx("div",{children:f.caption})]})]}),e.jsx("button",{className:`${T.lightboxArrow} ${T.lightboxArrowRight}`,onClick:I=>{I.stopPropagation(),C()},"aria-label":"Next image",children:"›"}),e.jsxs("div",{className:T.lightboxCounter,children:[L+1," / ",s.length]})]})};return e.jsxs("div",{className:`${T.imageGallery} ${T[t]} ${T[n]} ${i}`,children:[t==="carousel"&&E(),t==="grid"&&K(),t==="masonry"&&W(),S()]})}const zx="styles-module__themeToggle__6zyVl",Dx="styles-module__iconContainer__-mq02",Tx="styles-module__icon__yzZOS",Bx="styles-module__sun__wk-Eu",Ex="styles-module__moon__OtQ8C",Wx="styles-module__light__WvEIx",Rx="styles-module__dark__zXrhJ",Be={themeToggle:zx,iconContainer:Dx,icon:Tx,sun:Bx,moon:Ex,light:Wx,dark:Rx};function Xx({defaultTheme:s="dark",onThemeChange:t,className:n="",...l}){const[a,o]=p.useState(()=>typeof window>"u"?s:localStorage.getItem("theme")||s);p.useEffect(()=>{a==="light"?document.body.classList.add("light-mode"):document.body.classList.remove("light-mode"),localStorage.setItem("theme",a),t?.(a)},[a,t]);const _=()=>{o(d=>d==="light"?"dark":"light")};return e.jsx("button",{type:"button",className:`${Be.themeToggle} ${n}`,onClick:_,"aria-label":"Toggle theme",...l,children:e.jsxs("div",{className:`${Be.iconContainer} ${a==="light"?Be.light:Be.dark}`,children:[e.jsxs("svg",{className:`${Be.icon} ${Be.sun}`,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"12",cy:"12",r:"5",fill:"currentColor"}),e.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]}),e.jsx("svg",{className:`${Be.icon} ${Be.moon}`,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z",fill:"currentColor",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})})}const Gx="styles-module__languageSelectContainer__Xulku",Vx="styles-module__label__5r4RN",Ax="styles-module__languageSelect__gSAkW",Px="styles-module__disabled__-9pxf",Fx="styles-module__trigger__Icsh6",Ox="styles-module__flag__n4YbG",Hx="styles-module__open__c-08x",Yx="styles-module__chevron__1XEr0",qx="styles-module__selectedText__tGBSV",Kx="styles-module__languageName__EnqxF",Zx="styles-module__nativeName__Qvg9C",Ux="styles-module__dropdown__m7E55",Jx="styles-module__searchContainer__n15Bi",Qx="styles-module__searchIcon__EKL9D",eb="styles-module__searchInput__mnR-j",sb="styles-module__list__KJT7D",tb="styles-module__option__zxNEH",lb="styles-module__highlighted__wHxl6",nb="styles-module__optionFlag__FbLUG",ob="styles-module__selected__s0-8V",ab="styles-module__optionName__NIJdm",_b="styles-module__optionText__3cC-4",cb="styles-module__optionNative__4Poud",rb="styles-module__checkIcon__dOQGx",db="styles-module__noResults__uck5W",F={languageSelectContainer:Gx,label:Vx,languageSelect:Ax,disabled:Px,trigger:Fx,flag:Ox,open:Hx,chevron:Yx,selectedText:qx,languageName:Kx,nativeName:Zx,dropdown:Ux,searchContainer:Jx,searchIcon:Qx,searchInput:eb,list:sb,option:tb,highlighted:lb,optionFlag:nb,selected:ob,optionName:ab,optionText:_b,optionNative:cb,checkIcon:rb,noResults:db},ib=[{code:"en",name:"English",nativeName:"English",flag:"🇺🇸"},{code:"es",name:"Spanish",nativeName:"Español",flag:"🇪🇸"},{code:"fr",name:"French",nativeName:"Français",flag:"🇫🇷"},{code:"de",name:"German",nativeName:"Deutsch",flag:"🇩🇪"},{code:"it",name:"Italian",nativeName:"Italiano",flag:"🇮🇹"},{code:"pt",name:"Portuguese",nativeName:"Português",flag:"🇵🇹"},{code:"ru",name:"Russian",nativeName:"Русский",flag:"🇷🇺"},{code:"ja",name:"Japanese",nativeName:"日本語",flag:"🇯🇵"},{code:"zh",name:"Chinese",nativeName:"中文",flag:"🇨🇳"},{code:"ko",name:"Korean",nativeName:"한국어",flag:"🇰🇷"},{code:"ar",name:"Arabic",nativeName:"العربية",flag:"🇸🇦"},{code:"hi",name:"Hindi",nativeName:"हिन्दी",flag:"🇮🇳"}];function ub({languages:s=ib,defaultLanguage:t="en",onChange:n,disabled:l=!1,showSearch:a=!1,label:o,className:_="",...d}){const[r,c]=p.useState(!1),[i,m]=p.useState(()=>s.find(x=>x.code===t)||s[0]),[v,h]=p.useState(""),[$,u]=p.useState(0),N=p.useRef(null),b=p.useRef(null),y=s.filter(x=>x.name.toLowerCase().includes(v.toLowerCase())||x.nativeName.toLowerCase().includes(v.toLowerCase())||x.code.toLowerCase().includes(v.toLowerCase()));p.useEffect(()=>{const x=k=>{N.current&&!N.current.contains(k.target)&&(c(!1),h(""))};return r&&document.addEventListener("mousedown",x),()=>{document.removeEventListener("mousedown",x)}},[r]),p.useEffect(()=>{r&&a&&b.current&&b.current.focus()},[r,a]);const w=x=>{m(x),c(!1),h(""),n?.(x)},L=x=>{if(!l)switch(x.key){case"Enter":case" ":r?y[$]&&(x.preventDefault(),w(y[$])):(x.preventDefault(),c(!0));break;case"Escape":c(!1),h("");break;case"ArrowDown":x.preventDefault(),r?u(k=>k<y.length-1?k+1:0):c(!0);break;case"ArrowUp":x.preventDefault(),r&&u(k=>k>0?k-1:y.length-1);break}};return e.jsxs("div",{className:`${F.languageSelectContainer} ${_}`,ref:N,...d,children:[o&&e.jsx("label",{className:F.label,children:o}),e.jsxs("div",{className:`${F.languageSelect} ${l?F.disabled:""}`,children:[e.jsxs("button",{type:"button",className:`${F.trigger} ${r?F.open:""}`,onClick:()=>!l&&c(!r),onKeyDown:L,disabled:l,"aria-haspopup":"listbox","aria-expanded":r,children:[e.jsx("span",{className:F.flag,children:i.flag}),e.jsxs("span",{className:F.selectedText,children:[e.jsx("span",{className:F.languageName,children:i.name}),e.jsx("span",{className:F.nativeName,children:i.nativeName})]}),e.jsx("svg",{className:F.chevron,viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),r&&e.jsxs("div",{className:F.dropdown,children:[a&&e.jsxs("div",{className:F.searchContainer,children:[e.jsx("svg",{className:F.searchIcon,viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})}),e.jsx("input",{ref:b,type:"text",className:F.searchInput,placeholder:"Search languages...",value:v,onChange:x=>{h(x.target.value),u(0)},onKeyDown:L})]}),e.jsx("ul",{className:F.list,role:"listbox",children:y.length>0?y.map((x,k)=>e.jsxs("li",{className:`${F.option} ${i.code===x.code?F.selected:""} ${k===$?F.highlighted:""}`,onClick:()=>w(x),onMouseEnter:()=>u(k),role:"option","aria-selected":i.code===x.code,children:[e.jsx("span",{className:F.optionFlag,children:x.flag}),e.jsxs("span",{className:F.optionText,children:[e.jsx("span",{className:F.optionName,children:x.name}),e.jsx("span",{className:F.optionNative,children:x.nativeName})]}),i.code===x.code&&e.jsx("svg",{className:F.checkIcon,viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})]},x.code)):e.jsx("li",{className:F.noResults,children:"No languages found"})})]})]})]})}const mb="styles-module__chatContainer__ny1TV",pb="styles-module__messagesWrapper__RZiB3",yb="styles-module__emptyState__hzFZj",hb="styles-module__emptyIcon__x39wy",gb="styles-module__emptyText__lrl1o",fb="styles-module__emptySubtext__SqnCZ",xb="styles-module__messagesList__d-S-F",bb="styles-module__messageGroup__tMBkW",vb="styles-module__userMessage__9MGMu",$b="styles-module__messageContent__dFgZ4",jb="styles-module__messageBubble__9fJI4",Nb="styles-module__timestamp__a4uAo",wb="styles-module__systemMessage__j8BLk",kb="styles-module__avatarWrapper__u9sbM",Sb="styles-module__avatar__UI0YW",Cb="styles-module__avatarPlaceholder__NVOuf",Lb="styles-module__userAvatar__5XxxX",Ib="styles-module__botAvatar__a-W8a",Mb="styles-module__senderName__vOvEB",zb="styles-module__typing__FSien",Db="styles-module__messageText__w-MlW",Tb="styles-module__typingIndicator__VL6DD",Bb="styles-module__dot__cJEkH",Eb="styles-module__inputForm__l-juI",Wb="styles-module__inputWrapper__HSXpx",Rb="styles-module__focused__GIWaK",Xb="styles-module__input__AmkBF",Gb="styles-module__sendButton__xy1bf",Vb="styles-module__sendIcon__XEMIa",Ab="styles-module__active__HG7ga",z={chatContainer:mb,messagesWrapper:pb,emptyState:yb,emptyIcon:hb,emptyText:gb,emptySubtext:fb,messagesList:xb,messageGroup:bb,userMessage:vb,messageContent:$b,messageBubble:jb,timestamp:Nb,systemMessage:wb,avatarWrapper:kb,avatar:Sb,avatarPlaceholder:Cb,userAvatar:Lb,botAvatar:Ib,senderName:Mb,typing:zb,messageText:Db,typingIndicator:Tb,dot:Bb,inputForm:Eb,inputWrapper:Wb,focused:Rb,input:Xb,sendButton:Gb,sendIcon:Vb,active:Ab};function Pb({messages:s,onSendMessage:t,placeholder:n="Type a message...",disabled:l=!1,showTimestamps:a=!1,showAvatars:o=!0,maxHeight:_="600px",typingIndicator:d=!1,userName:r="You",botName:c="Assistant",className:i="",...m}){const[v,h]=p.useState(""),[$,u]=p.useState(!1),N=p.useRef(null),b=p.useRef(null),y=()=>{N.current?.scrollIntoView({behavior:"smooth"})};p.useEffect(()=>{y()},[s]);const w=M=>{M.preventDefault(),v.trim()&&t&&!l&&(t(v.trim()),h(""),b.current&&(b.current.style.height="auto"))},L=M=>{M.key==="Enter"&&!M.shiftKey&&(M.preventDefault(),w(M))},x=M=>{h(M.target.value),M.target.style.height="auto",M.target.style.height=`${Math.min(M.target.scrollHeight,120)}px`},k=M=>M.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}),D=M=>M.split(" ").map(P=>P[0]).join("").toUpperCase().slice(0,2);return e.jsxs("div",{className:`${z.chatContainer} ${i}`,...m,children:[e.jsx("div",{className:z.messagesWrapper,style:{maxHeight:_},children:s.length===0?e.jsxs("div",{className:z.emptyState,children:[e.jsx("div",{className:z.emptyIcon,children:"💬"}),e.jsx("p",{className:z.emptyText,children:"No messages yet"}),e.jsx("p",{className:z.emptySubtext,children:"Start a conversation!"})]}):e.jsxs("div",{className:z.messagesList,children:[s.map((M,P)=>{const R=M.sender==="user",B=M.sender==="system",O=o&&!B,g=R?r:M.senderName||c;return e.jsxs("div",{className:`${z.messageGroup} ${R?z.userMessage:""} ${B?z.systemMessage:""}`,children:[O&&e.jsx("div",{className:z.avatarWrapper,children:M.avatar?e.jsx("img",{src:M.avatar,alt:g,className:z.avatar}):e.jsx("div",{className:`${z.avatarPlaceholder} ${R?z.userAvatar:z.botAvatar}`,children:D(g)})}),e.jsxs("div",{className:z.messageContent,children:[!B&&!R&&e.jsx("div",{className:z.senderName,children:g}),e.jsx("div",{className:`${z.messageBubble} ${M.isTyping?z.typing:""}`,children:M.isTyping?e.jsxs("div",{className:z.typingIndicator,children:[e.jsx("span",{className:z.dot}),e.jsx("span",{className:z.dot}),e.jsx("span",{className:z.dot})]}):e.jsx("p",{className:z.messageText,children:M.content})}),a&&!M.isTyping&&e.jsx("div",{className:z.timestamp,children:k(M.timestamp)})]})]},M.id)}),d&&e.jsxs("div",{className:`${z.messageGroup}`,children:[o&&e.jsx("div",{className:z.avatarWrapper,children:e.jsx("div",{className:`${z.avatarPlaceholder} ${z.botAvatar}`,children:D(c)})}),e.jsxs("div",{className:z.messageContent,children:[e.jsx("div",{className:z.senderName,children:c}),e.jsx("div",{className:`${z.messageBubble} ${z.typing}`,children:e.jsxs("div",{className:z.typingIndicator,children:[e.jsx("span",{className:z.dot}),e.jsx("span",{className:z.dot}),e.jsx("span",{className:z.dot})]})})]})]}),e.jsx("div",{ref:N})]})}),e.jsx("form",{onSubmit:w,className:z.inputForm,children:e.jsxs("div",{className:`${z.inputWrapper} ${$?z.focused:""}`,children:[e.jsx("textarea",{ref:b,className:z.input,value:v,onChange:x,onKeyDown:L,onFocus:()=>u(!0),onBlur:()=>u(!1),placeholder:n,disabled:l,rows:1}),e.jsx("button",{type:"submit",className:`${z.sendButton} ${v.trim()?z.active:""}`,disabled:!v.trim()||l,children:e.jsx("svg",{className:z.sendIcon,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M22 2L11 13M22 2L15 22L11 13M22 2L2 9L11 13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})})]})}const Fb="styles-module__hero__1sEBl",Ob="styles-module__container__xfiKE",Hb="styles-module__content__ueveF",Yb="styles-module__title__CIbf7",qb="styles-module__subtitle__6yYjh",Kb="styles-module__actions__tCll9",Zb="styles-module__button__7B3nI",Ub="styles-module__primary__83hkW",Jb="styles-module__secondary__D63-G",Qb="styles-module__children__2oopi",ev="styles-module__backgroundVideo__J1Jv5",sv="styles-module__overlay__VHoNo",tv="styles-module__small__ZoLmv",lv="styles-module__medium__ZrBOD",nv="styles-module__large__U8d7Z",ov="styles-module__fullscreen__tMfK4",av="styles-module__left__-vZ-2",_v="styles-module__center__fOtY0",cv="styles-module__right__D623c",rv="styles-module__gradient__vlsu4",dv="styles-module__image__8xem5",iv="styles-module__video__igUU3",uv="styles-module__minimal__cwTwh",mv="styles-module__centered__bcej3",pv="styles-module__split__3uKlG",yv="styles-module__splitContent__XlL2y",hv="styles-module__splitImage__-QSEV",gv="styles-module__imageLeft__ldioA",fv="styles-module__imageRight__BEUMS",V={hero:Fb,container:Ob,content:Hb,title:Yb,subtitle:qb,actions:Kb,button:Zb,primary:Ub,secondary:Jb,children:Qb,backgroundVideo:ev,overlay:sv,small:tv,medium:lv,large:nv,fullscreen:ov,left:av,center:_v,right:cv,default:"styles-module__default__IeguZ",gradient:rv,image:dv,video:iv,minimal:uv,centered:mv,split:pv,splitContent:yv,splitImage:hv,imageLeft:gv,imageRight:fv};function xv({variant:s="default",size:t="large",alignment:n="center",title:l,subtitle:a,backgroundImage:o,backgroundVideo:_,overlayOpacity:d=.5,primaryAction:r,secondaryAction:c,children:i,image:m,imageAlt:v="Hero image",imagePosition:h="right",className:$="",style:u,...N}){const b={...u};o&&s==="image"&&(b.backgroundImage=`url(${o})`);const y=()=>!r&&!c?null:e.jsxs("div",{className:V.actions,children:[r&&(r.href?e.jsx("a",{href:r.href,className:`${V.button} ${V.primary}`,children:r.label}):e.jsx("button",{type:"button",onClick:r.onClick,className:`${V.button} ${V.primary}`,children:r.label})),c&&(c.href?e.jsx("a",{href:c.href,className:`${V.button} ${V.secondary}`,children:c.label}):e.jsx("button",{type:"button",onClick:c.onClick,className:`${V.button} ${V.secondary}`,children:c.label}))]}),w=()=>e.jsxs("div",{className:V.content,children:[l&&e.jsx("h1",{className:V.title,children:l}),a&&e.jsx("p",{className:V.subtitle,children:a}),y(),i&&e.jsx("div",{className:V.children,children:i})]}),L=()=>!_||s!=="video"?null:e.jsx("video",{className:V.backgroundVideo,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:e.jsx("source",{src:_,type:"video/mp4"})}),x=()=>(s==="image"||s==="video")&&d>0?e.jsx("div",{className:V.overlay,style:{opacity:d}}):null;return s==="split"&&m?e.jsx("section",{className:`${V.hero} ${V[s]} ${V[t]} ${V[n]} ${h==="left"?V.imageLeft:V.imageRight} ${$}`,style:b,...N,children:e.jsxs("div",{className:V.container,children:[e.jsx("div",{className:V.splitContent,children:w()}),e.jsx("div",{className:V.splitImage,children:e.jsx("img",{src:m,alt:v})})]})}):e.jsxs("section",{className:`${V.hero} ${V[s]} ${V[t]} ${V[n]} ${$}`,style:b,...N,children:[L(),x(),e.jsx("div",{className:V.container,children:w()})]})}const bv="styles-module__footer__KUFHl",vv="styles-module__container__KDDfW",$v="styles-module__brand__hbfVw",jv="styles-module__brandHeader__w1Akd",Nv="styles-module__brandLogo__14u6t",wv="styles-module__brandName__akAUX",kv="styles-module__brandDescription__44VOp",Sv="styles-module__sections__CvDoA",Cv="styles-module__section__gFsHi",Lv="styles-module__sectionTitle__egnB1",Iv="styles-module__linkList__vR8l8",Mv="styles-module__link__uIT9J",zv="styles-module__externalIcon__ogw1v",Dv="styles-module__social__czSa6",Tv="styles-module__socialTitle__I8z4q",Bv="styles-module__socialLinks__lVO4V",Ev="styles-module__socialLink__EtXDt",Wv="styles-module__bottom__QEkk-",Rv="styles-module__copyright__8ihY2",Xv="styles-module__bottomLinks__9EsKU",Gv="styles-module__bottomLink__BUg0l",Vv="styles-module__separator__PGnP3",Av="styles-module__children__zbz5a",Pv="styles-module__main__zO3Pb",Fv="styles-module__sidebar__CwLFk",Ov="styles-module__minimal__Xdk1a",Hv="styles-module__centered__nIVxr",Yv="styles-module__centeredContent__YyOcX",qv="styles-module__centeredSections__Jpw1a",Kv="styles-module__stacked__2rn4u",G={footer:bv,container:vv,brand:$v,brandHeader:jv,brandLogo:Nv,brandName:wv,brandDescription:kv,sections:Sv,section:Cv,sectionTitle:Lv,linkList:Iv,link:Mv,externalIcon:zv,social:Dv,socialTitle:Tv,socialLinks:Bv,socialLink:Ev,bottom:Wv,copyright:Rv,bottomLinks:Xv,bottomLink:Gv,separator:Vv,children:Av,default:"styles-module__default__ekUYi",main:Pv,sidebar:Fv,minimal:Ov,centered:Hv,centeredContent:Yv,centeredSections:qv,stacked:Kv};function Zv({variant:s="default",brandName:t,brandLogo:n,brandDescription:l,sections:a=[],socialLinks:o=[],copyright:_,showYear:d=!0,bottomLinks:r=[],children:c,className:i="",...m}){const v=new Date().getFullYear(),h=()=>!t&&!n&&!l?null:e.jsxs("div",{className:G.brand,children:[(n||t)&&e.jsxs("div",{className:G.brandHeader,children:[n&&e.jsx("div",{className:G.brandLogo,children:n}),t&&e.jsx("div",{className:G.brandName,children:t})]}),l&&e.jsx("p",{className:G.brandDescription,children:l})]}),$=()=>a.length===0?null:e.jsx("div",{className:G.sections,children:a.map((b,y)=>e.jsxs("div",{className:G.section,children:[e.jsx("h3",{className:G.sectionTitle,children:b.title}),e.jsx("ul",{className:G.linkList,children:b.links.map((w,L)=>e.jsx("li",{children:e.jsxs("a",{href:w.href,className:G.link,target:w.external?"_blank":void 0,rel:w.external?"noopener noreferrer":void 0,children:[w.label,w.external&&e.jsx("span",{className:G.externalIcon,"aria-label":"Opens in new tab",children:"↗"})]})},L))})]},y))}),u=()=>o.length===0?null:e.jsxs("div",{className:G.social,children:[e.jsx("div",{className:G.socialTitle,children:"Follow Us"}),e.jsx("div",{className:G.socialLinks,children:o.map((b,y)=>e.jsx("a",{href:b.href,className:G.socialLink,target:"_blank",rel:"noopener noreferrer","aria-label":b.platform,children:b.icon||b.platform},y))})]}),N=()=>{const b=_||(t?`© ${t}`:"© All rights reserved"),y=d?`${b} ${v}`:b;return e.jsxs("div",{className:G.bottom,children:[e.jsx("div",{className:G.copyright,children:y}),r.length>0&&e.jsx("div",{className:G.bottomLinks,children:r.map((w,L)=>e.jsxs(p.Fragment,{children:[e.jsx("a",{href:w.href,className:G.bottomLink,target:w.external?"_blank":void 0,rel:w.external?"noopener noreferrer":void 0,children:w.label}),L<r.length-1&&e.jsx("span",{className:G.separator,children:"•"})]},L))})]})};return e.jsx("footer",{className:`${G.footer} ${G[s]} ${i}`,...m,children:e.jsx("div",{className:G.container,children:s==="centered"?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:G.centeredContent,children:[h(),u()]}),a.length>0&&e.jsx("div",{className:G.centeredSections,children:$()}),c&&e.jsx("div",{className:G.children,children:c}),N()]}):s==="stacked"?e.jsxs(e.Fragment,{children:[h(),$(),u(),c&&e.jsx("div",{className:G.children,children:c}),N()]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:G.main,children:[h(),$()]}),(o.length>0||c)&&e.jsxs("div",{className:G.sidebar,children:[u(),c&&e.jsx("div",{className:G.children,children:c})]}),N()]})})})}const Uv="styles-module__titleWrapper__QHBgn",Jv="styles-module__left__-fEso",Qv="styles-module__center__Cg-4r",e$="styles-module__right__VS60p",s$="styles-module__title__i-t97",t$="styles-module__subtitle__hBF7W",Qe={titleWrapper:Uv,left:Jv,center:Qv,right:e$,title:s$,subtitle:t$};function l$({children:s,subtitle:t,level:n=1,align:l="left",className:a=""}){const o=`h${n}`;return e.jsxs("div",{className:`${Qe.titleWrapper} ${Qe[l]} ${a}`,children:[e.jsx(o,{className:Qe.title,children:s}),t&&e.jsx("p",{className:Qe.subtitle,children:t})]})}exports.Accordion=Ls;exports.Alert=Vs;exports.Audio=xs;exports.Avatar=et;exports.Badge=it;exports.Breadcrumbs=bt;exports.Button=Et;exports.ButtonGroup=Vt;exports.Calendar=_s;exports.Card=Qt;exports.Chat=Pb;exports.Checkbox=al;exports.ColorPicker=Ng;exports.Combobox=fl;exports.Container=Gp;exports.ContextMenu=Wg;exports.DataList=tf;exports.Datagrid=Ll;exports.DatePicker=un;exports.DateRangePicker=$n;exports.Divider=Mn;exports.Dropdown=Pn;exports.FilePicker=ao;exports.Footer=Zv;exports.Gauge=eg;exports.Grid=ms;exports.GridItem=ps;exports.Header=ho;exports.Hero=xv;exports.ImageGallery=Mx;exports.Input=cs;exports.Label=Wo;exports.LanguageSelect=ub;exports.List=Yo;exports.Modal=_a;exports.Pagination=ua;exports.PinInput=sh;exports.ProgressBar=Sa;exports.RadioButton=Da;exports.RangeInput=Aa;exports.Rating=ph;exports.RichSelect=c_;exports.Select=us;exports.SidePanel=N_;exports.Signpost=B_;exports.Skeleton=Re;exports.SkeletonCircle=hs;exports.SkeletonRectangle=gs;exports.SkeletonText=ys;exports.Spacer=Qp;exports.Spinner=H_;exports.Split=Of;exports.StackView=mc;exports.StatCard=Ef;exports.Stepper=Cc;exports.Table=Ac;exports.Tabs=er;exports.TagInput=Py;exports.Textarea=rs;exports.ThemeToggle=Xx;exports.Timeline=Dr;exports.Title=l$;exports.ToastProvider=xd;exports.ToggleSwitch=Pr;exports.Tooltip=Qr;exports.TreeView=Md;exports.VerticalNav=Qd;exports.Video=fs;exports.Window=Rh;exports.useToast=bd;
24
24
  //# sourceMappingURL=index.js.map