@recursica/mantine-adapter 0.26.1 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/mantine-adapter.cjs +11 -1
  3. package/dist/mantine-adapter.cjs.map +1 -1
  4. package/dist/mantine-adapter.css +1 -1
  5. package/dist/mantine-adapter.js +2203 -1995
  6. package/dist/mantine-adapter.js.map +1 -1
  7. package/dist/src/components/Accordion/Accordion.d.ts +3 -4
  8. package/dist/src/components/AutoComplete/AutoComplete.d.ts +4 -6
  9. package/dist/src/components/Avatar/Avatar.d.ts +2 -3
  10. package/dist/src/components/Badge/Badge.d.ts +1 -1
  11. package/dist/src/components/Button/Button.d.ts +1 -1
  12. package/dist/src/components/Card/Card.d.ts +10 -2
  13. package/dist/src/components/Checkbox/CheckboxGroup.d.ts +2 -6
  14. package/dist/src/components/Container/Container.d.ts +14 -2
  15. package/dist/src/components/DatePicker/DatePicker.d.ts +1 -5
  16. package/dist/src/components/Dropdown/Dropdown.d.ts +1 -1
  17. package/dist/src/components/Flex/Flex.d.ts +26 -3
  18. package/dist/src/components/FormControlWrapper/FormControlWrapper.d.ts +1 -0
  19. package/dist/src/components/Group/Group.d.ts +14 -2
  20. package/dist/src/components/Link/Link.d.ts +3 -4
  21. package/dist/src/components/Menu/Menu.d.ts +2 -2
  22. package/dist/src/components/Panel/Panel.d.ts +6 -4
  23. package/dist/src/components/Radio/RadioGroup.d.ts +2 -6
  24. package/dist/src/components/Slider/Slider.d.ts +1 -5
  25. package/dist/src/components/Stack/Stack.d.ts +27 -4
  26. package/dist/src/components/Stepper/Stepper.d.ts +4 -2
  27. package/dist/src/components/Switch/SwitchGroup.d.ts +2 -6
  28. package/dist/src/components/Table/Table.d.ts +16 -3
  29. package/dist/src/components/Tabs/Tabs.d.ts +4 -2
  30. package/dist/src/components/Text/Text.d.ts +3 -2
  31. package/dist/src/components/TextArea/TextArea.d.ts +1 -1
  32. package/dist/src/components/TextField/TextField.d.ts +1 -5
  33. package/dist/src/components/Title/Title.d.ts +2 -1
  34. package/dist/src/components/index.d.ts +1 -0
  35. package/dist/src/index.d.ts +153 -1
  36. package/dist/src/utils/filterStylingProps.d.ts +1 -1
  37. package/package.json +1 -1
  38. package/src/OverStyling.tsx +67 -3
  39. package/src/components/Accordion/Accordion.tsx +1 -1
  40. package/src/components/AutoComplete/AutoComplete.tsx +13 -4
  41. package/src/components/Avatar/Avatar.tsx +1 -1
  42. package/src/components/Card/CARD_IMPLEMENTATION_NOTES.md +7 -0
  43. package/src/components/Card/Card.module.css +1 -0
  44. package/src/components/Card/Card.tsx +27 -1
  45. package/src/components/Checkbox/CheckboxGroup.tsx +6 -3
  46. package/src/components/Container/Container.tsx +4 -2
  47. package/src/components/DatePicker/DatePicker.tsx +1 -3
  48. package/src/components/Dropdown/Dropdown.tsx +4 -11
  49. package/src/components/Flex/Flex.tsx +7 -2
  50. package/src/components/FormControlWrapper/FormControlWrapper.tsx +1 -0
  51. package/src/components/Group/Group.tsx +7 -2
  52. package/src/components/Link/Link.tsx +3 -3
  53. package/src/components/Panel/PANEL_IMPLEMENTATION_NOTES.md +3 -3
  54. package/src/components/Panel/Panel.stories.tsx +8 -8
  55. package/src/components/Panel/Panel.tsx +11 -4
  56. package/src/components/Radio/RadioGroup.tsx +6 -3
  57. package/src/components/ReadOnlyField/ReadOnlyField.tsx +5 -1
  58. package/src/components/Stack/Stack.tsx +7 -2
  59. package/src/components/Stepper/Stepper.tsx +5 -1
  60. package/src/components/Switch/SwitchGroup.tsx +6 -3
  61. package/src/components/Table/Table.module.css +7 -0
  62. package/src/components/Table/Table.stories.tsx +33 -3
  63. package/src/components/Table/Table.tsx +56 -5
  64. package/src/components/Tabs/Tabs.tsx +5 -1
  65. package/src/components/Text/Text.tsx +3 -1
  66. package/src/components/TextArea/TextArea.tsx +2 -9
  67. package/src/components/Title/Title.tsx +3 -1
  68. package/src/components/index.ts +1 -0
  69. package/src/index.ts +168 -1
  70. package/src/utils/filterStylingProps.ts +1 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @recursica/mantine-adapter
2
2
 
3
+ ## 0.28.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8a1ecc5: Updated overStyled and fixed exports
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [8a1ecc5]
12
+ - @recursica/adapter-common@0.9.0
13
+
14
+ ## 0.27.0
15
+
16
+ ### Minor Changes
17
+
18
+ - 2f237f7: Revised component props with integration issues
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [2f237f7]
23
+ - @recursica/adapter-common@0.8.0
24
+
3
25
  ## 0.26.1
4
26
 
5
27
  ### Patch Changes
@@ -1,2 +1,12 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),b=require("react"),m=require("@mantine/core"),Vt=require("@mantine/dates"),Gt=["className","classNames","style","styles","vars","p","px","py","pt","pb","pl","pr","bg","c","opacity","ff","fz","fw","lts","ta","lh","fs","tt","td","bd","bdw","bds","bdc","bdr","shadow","w","miw","maw","h","mih","mah"],Co=new Set(["m","my","mx","mt","mb","ml","mr","gap","rowGap","columnGap","top","left","bottom","right"]),ke={"rec-none":"var(--recursica_brand_dimensions_general_none)","rec-sm":"var(--recursica_brand_dimensions_general_sm)","rec-default":"var(--recursica_brand_dimensions_general_default)","rec-md":"var(--recursica_brand_dimensions_general_md)","rec-lg":"var(--recursica_brand_dimensions_general_lg)","rec-xl":"var(--recursica_brand_dimensions_general_xl)","rec-2xl":"var(--recursica_brand_dimensions_general_2xl)"};function qe(l){const e={...l};for(const[a,s]of Object.entries(e))typeof s=="string"&&s.startsWith("rec-")&&Co.has(a)&&s in ke&&(e[a]=ke[s]);return e}function x(l,e){if(e)return l;const a={...l};for(const s of Gt)s in a&&delete a[s];for(const[s,r]of Object.entries(a))typeof r=="string"&&r.startsWith("rec-")&&Co.has(s)&&r in ke&&(a[s]=ke[r]);return a}const Ht="Accordion-module__root___Dem6d",qt="Accordion-module__item___7ryVk",Ut="Accordion-module__noDivider___Ni2tT",Zt="Accordion-module__control___b4wgX",Yt="Accordion-module__label___Ss7uW",Kt="Accordion-module__chevron___i-HVZ",Xt="Accordion-module__iconLeftWrapper___5oLen",Jt="Accordion-module__panel___Wx50w",Qt="Accordion-module__content___PEM9t",re={root:Ht,item:qt,noDivider:Ut,control:Zt,label:Yt,chevron:Kt,iconLeftWrapper:Xt,panel:Jt,content:Qt},wo=function({variant:e="unstyled",overStyled:a=!1,...s}){const r=x(s,a),o={root:re.root,item:re.item,control:re.control,label:re.label,chevron:re.chevron,panel:re.panel,content:re.content},n=r.classNames;if(n&&typeof n=="object"&&!Array.isArray(n)){const c=n;Object.keys(c).forEach(d=>{o[d]?o[d]=`${o[d]} ${c[d]}`:o[d]=c[d]})}const i=r.className;return t.jsx(m.Accordion,{variant:e,className:i,classNames:o,...r})};wo.displayName="Accordion";const Ue=b.forwardRef(function({title:e,leftIcon:a,divider:s=!0,children:r,overStyled:o=!1,...n},i){const c=x(n,o),d=c.className,p=[s?void 0:re.noDivider,d].filter(Boolean).join(" ")||void 0;return t.jsx(m.Accordion.Item,{ref:i,className:p,...c,children:e?t.jsxs(t.Fragment,{children:[t.jsx(Me,{leftIcon:a,children:e}),t.jsx(ze,{children:r})]}):r})});Ue.displayName="AccordionItem";const Me=b.forwardRef(function({leftIcon:e,children:a,overStyled:s=!1,...r},o){const n=x(r,s),i=n.className;return t.jsx(m.Accordion.Control,{ref:o,className:i,icon:e?t.jsx("span",{className:re.iconLeftWrapper,"aria-hidden":!0,children:e}):void 0,...n,children:a})});Me.displayName="AccordionControl";const ze=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=r.className;return t.jsx(m.Accordion.Panel,{ref:s,className:o,...r})});ze.displayName="AccordionPanel";const Fe=wo;Fe.Item=Ue;Fe.Control=Me;Fe.Panel=ze;const er="Label-module__root___e6HXZ",or="Label-module__labelText___rieFR",tr="Label-module__required___Ggrzc",rr="Label-module__optionalText___Y2yun",sr="Label-module__actionAreaWrapper___ELoZK",ar="Label-module__editIconWrapper___NG2xW",Y={root:er,labelText:or,required:tr,optionalText:rr,actionAreaWrapper:sr,editIconWrapper:ar},Ze=b.forwardRef(function({labelSize:e="default",labelAlignment:a,required:s=!1,labelOptionalText:r,labelWithEditIcon:o,labelActionArea:n,onLabelEditClick:i,children:c,overStyled:d=!1,...p},_){const h=a||"left";let f;s||(r===!0?f="optional":r&&(f=r));const u=x(p,d),y=u,w={label:Y.root,required:Y.required},C=y.classNames;if(C&&typeof C=="object"&&!Array.isArray(C)){const S=C;w.label=S.label?`${Y.root} ${S.label}`:Y.root,w.required=S.required?`${Y.required} ${S.required}`:Y.required}const v=y.className,N=v?`${Y.root} ${v}`:Y.root;return t.jsxs(m.Input.Label,{ref:_,className:N,classNames:w,"data-size":e,"data-alignment":h,required:s&&!o,...u,children:[t.jsx("span",{className:Y.labelText,children:c}),f&&t.jsx("span",{className:Y.optionalText,children:typeof f=="string"?`(${f})`:f}),n?t.jsx("span",{className:Y.actionAreaWrapper,children:n}):o?t.jsx("button",{type:"button",className:Y.editIconWrapper,"data-replaces-asterisk":s?"true":void 0,onClick:i,"aria-label":"Edit",children:t.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M11.5303 2.46967C11.8232 2.17678 12.2981 2.17678 12.591 2.46967L13.5303 3.40898C13.8232 3.70188 13.8232 4.17675 13.5303 4.46964L5.61288 12.3871C5.45268 12.5473 5.24434 12.6483 5.01809 12.6766L2.39534 13.0044C2.10091 13.0412 1.83856 12.7789 1.87538 12.4845L2.2032 9.86175C2.23147 9.63551 2.3325 9.42716 2.4927 9.26696L11.5303 2.46967Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})})}):null]})});Ze.displayName="Label";const nr="FormControlLayout-module__root___yNDhZ",lr="FormControlLayout-module__leftSection___GBM1r",ir="FormControlLayout-module__rightSection___bcL4v",We={root:nr,leftSection:lr,rightSection:ir},ae=b.forwardRef(function({formLayout:e="stacked",labelSize:a="default",controlMaxWidth:s,controlMinWidth:r,leftSection:o,children:n,className:i,style:c,...d},p){const _=i?`${We.root} ${i}`:We.root,f=o!=null||e==="side-by-side";return t.jsxs("div",{ref:p,className:_,"data-form-layout":e,style:{...c,...s?{"--form-control-max-width":s}:{},...r?{"--form-control-min-width":r}:{}},...d,children:[f&&t.jsx("div",{className:We.leftSection,"data-size":a,children:o}),t.jsx("div",{className:We.rightSection,children:n})]})});ae.displayName="FormControlLayout";const cr="AssistiveElement-module__root___WhQ43",dr="AssistiveElement-module__textWrapper___sfy5E",pr="AssistiveElement-module__iconWrapper___gObRF",Ge={root:cr,textWrapper:dr,iconWrapper:pr},mr=()=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[t.jsx("circle",{cx:"12",cy:"12",r:"10"}),t.jsx("path",{d:"M12 16v-4"}),t.jsx("path",{d:"M12 8h.01"})]}),_r=()=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[t.jsx("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),t.jsx("path",{d:"M12 9v4"}),t.jsx("path",{d:"M12 17h.01"})]}),He=b.forwardRef(function({assistiveVariant:e="help",assistiveWithIcon:a=!0,children:s,className:r,overStyled:o=!1,...n},i){const d=x(n,o),p=Ge.root,_=r?`${p} ${r}`:p,h=e==="error"?_r:mr;return t.jsxs("div",{ref:i,className:_,"data-variant":e,style:d.style,...d,children:[a&&t.jsx("span",{className:Ge.iconWrapper,children:t.jsx(h,{})}),t.jsx("span",{className:Ge.textWrapper,children:s})]})});He.displayName="AssistiveElement";const ur="FormControlWrapper-module__root___c-UHo",fr="FormControlWrapper-module__inputSection___HenXk",No={root:ur,inputSection:fr},Ie=b.forwardRef(function({formLayout:e,labelSize:a,labelAlignment:s,labelOptionalText:r,labelWithEditIcon:o,labelActionArea:n,onLabelEditClick:i,label:c,description:d,assistiveText:p,assistiveWithIcon:_=!0,controlMaxWidth:h,controlMinWidth:f,error:u,required:y,withAsterisk:w,id:C,children:v,className:N,overStyled:S=!1,labelElement:$,...L},A){const T=b.useId(),O=C||`recursica-fc-${T}`,R=p||d,P=R?`${O}-assistive`:void 0,g=u?`${O}-error`:void 0,M=x(L,S),j=N||M.className,_e=No.root,ue=j?`${_e} ${j}`:_e,q=b.isValidElement(v)?b.cloneElement(v,{...R&&!v.props["aria-describedby"]?{"aria-describedby":P}:{},...u&&!v.props["aria-errormessage"]?{"aria-errormessage":g}:{}}):v,Ee=c?t.jsx(Ze,{id:O,labelAlignment:s,labelOptionalText:r,labelWithEditIcon:o,labelActionArea:n,onLabelEditClick:i,required:w??y,...$==="div"?{as:"div"}:{},children:c}):void 0;return t.jsx(ae,{ref:A,className:ue,formLayout:e,labelSize:a,controlMaxWidth:h,controlMinWidth:f,leftSection:Ee,...M,children:t.jsxs("div",{className:No.inputSection,children:[q,u&&t.jsx(He,{id:g,assistiveVariant:"error",assistiveWithIcon:_,children:u}),!u&&R&&t.jsx(He,{id:P,assistiveVariant:"help",assistiveWithIcon:_,children:R})]})})});Ie.displayName="FormControlWrapper";const br="_root_1qhn7_3",yr="_contents_1qhn7_18",ve={root:br,contents:yr},Po=b.forwardRef(function({layer:l,contentsOnly:e,children:a,className:s,style:r,...o},n){const i=e?s?`${ve.root} ${ve.contents} ${s}`:`${ve.root} ${ve.contents}`:s?`${ve.root} ${s}`:ve.root;return t.jsx("div",{ref:n,className:i,style:r,...e?{}:{"data-recursica-layer":String(l)},...o,children:a})});Po.displayName="Layer";const Ae=({emptyText:l="N/A"})=>t.jsx(b.Fragment,{children:l});Ae.displayName="EmptyValueRenderer";Ae.check=l=>l==null||l===""||Array.isArray(l)&&l.length===0;const ho="data-recursica-theme";function Nr({children:l,theme:e="light"}){return b.useEffect(()=>{const a=document.documentElement;return a.setAttribute(ho,e),()=>{a.removeAttribute(ho)}},[e]),t.jsx(t.Fragment,{children:l})}const hr=["Accordion","AssistiveElement","Autocomplete","Avatar","Badge","Breadcrumb","Button","Card","Checkbox","Chip","Container","DatePicker","Dropdown","EmptyValueRenderer","Flex","FormControlLayout","FormControlWrapper","Group","HoverCard","Label","Layer","Link","Loader","Menu","Modal","NumberInput","Pagination","Panel","Popover","Radio","ReadOnlyField","SegmentedControl","Slider","Stack","Stepper","Switch","Table","Tabs","Text","TextArea","TextField","TimePicker","Timeline","Title","Toast","Tooltip","TransferList"],xr="ReadOnlyField-module__layoutOverride___9fSsG",vr="ReadOnlyField-module__textField___qKn25",$e={layoutOverride:xr,textField:vr},Se=({value:l,overStyled:e=!1,...a})=>{const s=x(a,e),r=s.className;return t.jsx(m.Box,{component:"p",className:r?`${$e.textField} ${r}`:$e.textField,...s,children:l!=null?b.isValidElement(l)?l:Array.isArray(l)?l.join(", "):String(l):""})};Se.displayName="ReadOnlyTextField";const Ye=b.forwardRef(function({value:e,type:a="text",emptyValueComponent:s,overStyled:r=!1,className:o,style:n,...i},c){let d=null;const p=x(i,r),_=s||Ae,f=(_.check?_.check(e):Ae.check(e))?t.jsx(_,{value:e}):e;switch(a){case"boolean":d=t.jsx(Se,{value:e===!0?"True":e===!1?"False":f,overStyled:r});break;case"switch":d=t.jsx(Se,{value:e===!0?"On":e===!1?"Off":f,overStyled:r});break;case"text":default:d=t.jsx(Se,{value:f,overStyled:r});break}const u=o?`${$e.layoutOverride} ${o}`:$e.layoutOverride;return t.jsx(Ie,{ref:c,overStyled:r,className:u,style:n,...p,children:d})});Ye.displayName="ReadOnlyField";const X=b.forwardRef(function({readOnly:e,readOnlyComponent:a,readOnlyType:s="text",readOnlyValue:r,readOnlyNativeProps:o,emptyValueComponent:n,activeComponent:i,overStyled:c,onLabelEditClick:d,...p},_){if(e){if(a){const h=a;return t.jsx(Ie,{ref:_,...p,onLabelEditClick:d,overStyled:c,children:t.jsx(h,{...o})})}return t.jsx(Ye,{ref:_,type:s,value:r,emptyValueComponent:n,onLabelEditClick:d,overStyled:c,...p})}return t.jsx(Ie,{ref:_,...p,onLabelEditClick:d,overStyled:c,children:i})});X.displayName="WithReadOnlyWrapper";const $r="AutoComplete-module__layoutOverride___-K9WL",Cr="AutoComplete-module__root___kANza",wr="AutoComplete-module__input___g51MC",Pr="AutoComplete-module__section___WAbf1",gr="AutoComplete-module__dropdown___NqO3E",jr="AutoComplete-module__option___Y-Kja",D={layoutOverride:$r,root:Cr,input:wr,section:Pr,dropdown:gr,option:jr},go=b.forwardRef(function(e,a){const{overStyled:s=!1,formLayout:r="stacked",labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:h,error:f,required:u,withAsterisk:y,id:w,className:C,style:v,disabled:N,readOnly:S,readOnlyComponent:$,emptyValueComponent:L,value:A,defaultValue:T,...O}=e,R=x(O,s),P=R;delete P.size,delete P.variant,delete P.radius;const g={wrapper:D.root,input:D.input,section:D.section,dropdown:D.dropdown,option:D.option},W=P.classNames;if(W&&typeof W=="object"&&!Array.isArray(W)){const j=W;g.wrapper=j.wrapper?`${D.root} ${j.wrapper}`:D.root,g.input=j.input?`${D.input} ${j.input}`:D.input,g.section=j.section?`${D.section} ${j.section}`:D.section,g.dropdown=j.dropdown?`${D.dropdown} ${j.dropdown}`:D.dropdown,g.option=j.option?`${D.option} ${j.option}`:D.option}const M=C?`${D.layoutOverride} ${C}`:D.layoutOverride;return t.jsx(X,{className:M,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_autocomplete_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_autocomplete_properties_min-width)",overStyled:s,formLayout:r,labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:h,error:f,required:u,withAsterisk:y,id:w,readOnly:S,readOnlyComponent:$,emptyValueComponent:L,readOnlyType:"text",readOnlyValue:A!==void 0?A:T,readOnlyNativeProps:e,activeComponent:t.jsx(m.Autocomplete,{ref:a,classNames:g,disabled:N,value:A,defaultValue:T,wrapperProps:{"data-disabled":N?"true":void 0,"data-error":f?"true":void 0},...R})})});go.displayName="AutoComplete";const Tr="Avatar-module__root___fXu-J",Sr="Avatar-module__iconWrapper___ojly2",Ar="Avatar-module__textWrapper___zp-jD",Or="Avatar-module__image___ieqGp",Rr="Avatar-module__placeholder___IDW7-",J={root:Tr,iconWrapper:Sr,textWrapper:Ar,image:Or,placeholder:Rr},jo=b.forwardRef(function({size:e="default",variant:a="solid",icon:s,children:r,src:o,overStyled:n=!1,...i},c){const d={solid:"filled",outline:"outline",ghost:"transparent"},p={default:"md",small:"sm",large:"lg"},_=x(i,n),h=_;let f="text";o?f="image":s&&(f="icon");const u={root:J.root,image:J.image,placeholder:J.placeholder},y=h.classNames;if(y&&typeof y=="object"&&!Array.isArray(y)){const C=y;u.root=C.root?`${J.root} ${C.root}`:J.root,u.image=C.image?`${J.image} ${C.image}`:J.image,u.placeholder=C.placeholder?`${J.placeholder} ${C.placeholder}`:J.placeholder}const w=h.className;return t.jsx(m.Avatar,{ref:c,className:w,classNames:u,variant:d[a],size:p[e],src:o,"data-variant":a,"data-size":e,"data-style":f,..._,children:s!=null?t.jsx("span",{className:J.iconWrapper,"aria-hidden":!0,children:s}):r!=null?t.jsx("span",{className:J.textWrapper,children:r}):void 0})});jo.displayName="Avatar";const Wr=m.createPolymorphicComponent(jo),Lr="Badge-module__root___5osNT",te={root:Lr},To=b.forwardRef(function({variant:e="primary-color",overStyled:a=!1,...s},r){const o=x(s,a),n={root:te.root,section:te.section,label:te.label},i=o.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const p=i;n.root=p.root?`${te.root} ${p.root}`:te.root,n.section=p.section??te.section,n.label=p.label??te.label}const c=o.className,d=c?`${te.root} ${c}`:te.root;return t.jsx(m.Badge,{ref:r,variant:"filled","data-variant":e,...o,className:d,classNames:n})});To.displayName="Badge";const kr=m.createPolymorphicComponent(To),Ir="Breadcrumb-module__root___x-9ln",Mr="Breadcrumb-module__separator___qrUX-",ce={root:Ir,separator:Mr},So=b.forwardRef(function({overStyled:e=!1,separator:a=">",...s},r){const o=x({separator:a,...s},e),n={root:ce.root,separator:ce.separator},i=o.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const p=i;n.root=p.root?`${ce.root} ${p.root}`:ce.root,n.separator=p.separator?`${ce.separator} ${p.separator}`:ce.separator}const c=o.className,d=c?`${ce.root} ${c}`:ce.root;return t.jsx(m.Breadcrumbs,{ref:r,...o,className:d,classNames:n})});So.displayName="Breadcrumb";const zr="Loader-module__root___6iYOP",we={root:zr},Ke=b.forwardRef(function({variant:e="oval",size:a="default",overStyled:s=!1,...r},o){const i={sm:"small",md:"default",lg:"large",small:"small",default:"default",large:"large"}[a]||"default",c=x(r,s),d={root:we.root},p=c.classNames;if(p&&typeof p=="object"&&!Array.isArray(p)){const f=p;d.root=f.root?`${we.root} ${f.root}`:we.root}const _=c.className,h=_?`${we.root} ${_}`:we.root;return t.jsx(m.Loader,{ref:o,type:e,"data-variant":e,"data-size":i,...c,className:h,classNames:d})});Ke.displayName="Loader";const Fr="Button-module__root___Q2R8-",Br="Button-module__loader___X-9u-",Dr="Button-module__label___UJ3Zt",Er="Button-module__labelText___rFV5p",Vr="Button-module__iconWrapper___uEKPa",Gr="Button-module__section___f2mKr",K={root:Fr,loader:Br,label:Dr,labelText:Er,iconWrapper:Vr,section:Gr};function Hr(l){return l==null||l===""?!1:typeof l=="string"?l.trim()!=="":!0}const Ao=b.forwardRef(function({variant:e="solid",size:a="default",icon:s,children:r,overStyled:o=!1,loaderVariant:n="oval",loaderSize:i,useRecursicaLoader:c=!0,...d},p){const _={solid:"filled",outline:"outline",text:"subtle"},h={default:"md",small:"sm"},f=x(d,o),u=f;delete u.fullWidth;const y=!!s||!!u.leftSection,w=!!u.rightSection,C=Hr(r),v=(y||w)&&!C;let N="label";v?N="icon-only":(y||w)&&(N="icon-label"),typeof process<"u"&&process.env.NODE_ENV!=="production"&&v&&!u["aria-label"]&&console.warn('[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").');const S={root:K.root,section:K.section,label:K.label,loader:K.loader},$=u.classNames;if($&&typeof $=="object"&&!Array.isArray($)){const P=$;S.root=P.root?`${K.root} ${P.root}`:K.root,S.section=P.section??K.section,S.label=P.label??K.label}const L=u.className,A=L?`${K.root} ${L}`:K.root,T=u.loaderProps,O=i??(a==="small"?"small":"default");let R=T;return c&&(R={children:t.jsx(Ke,{variant:n,size:O}),...T}),t.jsx(m.Button,{ref:p,className:A,classNames:S,variant:_[e],size:h[a],loaderProps:R,leftSection:s!=null?t.jsx("span",{className:K.iconWrapper,"aria-hidden":!0,children:s}):void 0,"data-variant":e,"data-size":a,"data-content":N,...f,disabled:!!u.disabled||!!u.loading,children:t.jsx("span",{className:K.labelText,children:r})})});Ao.displayName="Button";const qr=m.createPolymorphicComponent(Ao),Ur="Card-module__root___c9KvZ",Zr="Card-module__header___PTXf2",Yr="Card-module__footer___Mu-JC",Kr="Card-module__section___BRT8H",Xr="Card-module__content___oFIQa",ne={root:Ur,header:Zr,footer:Yr,section:Kr,content:Xr},Oo=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o={root:ne.root},n=r.classNames;if(n&&typeof n=="object"&&!Array.isArray(n)){const c=n;Object.keys(c).forEach(d=>{o[d]?o[d]=`${o[d]} ${c[d]}`:o[d]=c[d]})}const i=r.className;return t.jsx(m.Card,{ref:s,className:i,classNames:o,...r})});Oo.displayName="Card";const Xe=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=r.className;return t.jsx(m.Card.Section,{ref:s,className:o?`${ne.section} ${o}`:ne.section,...r})});Xe.displayName="CardSection";const Je=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=r.className;return t.jsx(m.Card.Section,{ref:s,className:o?`${ne.header} ${o}`:ne.header,...r})});Je.displayName="CardHeader";const Qe=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=r.className;return t.jsx(m.Card.Section,{ref:s,className:o?`${ne.footer} ${o}`:ne.footer,...r})});Qe.displayName="CardFooter";const eo=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=r.className;return t.jsx("div",{ref:s,className:o?`${ne.content} ${o}`:ne.content,...r})});eo.displayName="CardContent";const Ro=m.createPolymorphicComponent(Oo),Be=Ro;Be.Section=Xe;Be.Header=Je;Be.Footer=Qe;Be.Content=eo;const Jr=Ro,Qr="Checkbox-module__groupRoot___cBS0o",es="Checkbox-module__root___mY3qk",os="Checkbox-module__body___5yC7q",ts="Checkbox-module__inner___rTke4",rs="Checkbox-module__input___2kt-h",ss="Checkbox-module__icon___-O7i6",as="Checkbox-module__labelWrapper___GpZkr",ns="Checkbox-module__label___cwRtI",z={groupRoot:Qr,root:es,body:os,inner:ts,input:rs,icon:ss,labelWrapper:as,label:ns},oo=b.forwardRef(function(e,a){const{overStyled:s=!1,formLayout:r="stacked",labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:h,assistiveWithIcon:f,error:u,required:y,withAsterisk:w,id:C,className:v,style:N,children:S,readOnly:$,readOnlyComponent:L,emptyValueComponent:A,value:T,defaultValue:O,...R}=e,P=x(R,s),g=P;return delete g.size,t.jsx(X,{className:v,style:N,controlMaxWidth:"var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",controlMinWidth:void 0,overStyled:s,labelElement:"div",formLayout:r,labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:h,assistiveWithIcon:f,error:u,required:y,withAsterisk:w,id:C,readOnly:$&&!!L,readOnlyComponent:L,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:T!==void 0?T:O,readOnlyNativeProps:e,activeComponent:t.jsx(m.Checkbox.Group,{ref:a,...P,disabled:$||g.disabled,value:T,defaultValue:O,children:t.jsx("div",{className:z.groupRoot,"data-layout":r,children:S})})})});oo.displayName="CheckboxGroup";const to=b.forwardRef(function(e,a){const{overStyled:s=!1,readOnly:r,readOnlyComponent:o,disabled:n,formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,..._}=e,h=x(_,s),f=h;delete f.size,delete f.color,delete f.radius,delete f.variant,delete f.iconColor;const u={root:z.root,body:z.body,inner:z.inner,input:z.input,icon:z.icon,labelWrapper:z.labelWrapper,label:z.label},y=f.classNames;if(y&&typeof y=="object"&&!Array.isArray(y)){const N=y;u.root=N.root?`${z.root} ${N.root}`:z.root,u.body=N.body?`${z.body} ${N.body}`:z.body,u.inner=N.inner?`${z.inner} ${N.inner}`:z.inner,u.input=N.input?`${z.input} ${N.input}`:z.input,u.icon=N.icon?`${z.icon} ${N.icon}`:z.icon,u.labelWrapper=N.labelWrapper?`${z.labelWrapper} ${N.labelWrapper}`:z.labelWrapper,u.label=N.label?`${z.label} ${N.label}`:z.label}const w=f.className,C=w?`${z.root} ${w}`:z.root;if(r&&o){const N=!!(f.checked??f.defaultChecked),S=o,$=t.jsx(S,{...e,checked:N,label:f.label});return i?t.jsx(ae,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:$}):t.jsx(t.Fragment,{children:$})}const v=t.jsx(m.Checkbox,{ref:a,className:C,classNames:u,disabled:r||n,...h});return i?t.jsx(ae,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:v}):v});to.displayName="Checkbox";to.Group=oo;const ls="Chip-module__root___f5pFk",is="Chip-module__label___Ov9pg",cs="Chip-module__mantineIconWrapper___KLSz6",ds="Chip-module__innerWrapper___EnrTF",ps="Chip-module__children___zbRAR",ms="Chip-module__leadingIcon___JBtjQ",_s="Chip-module__removeIcon___pVju-",G={root:ls,label:is,mantineIconWrapper:cs,innerWrapper:ds,children:ps,leadingIcon:ms,removeIcon:_s};function us(l){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...l,children:[t.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),t.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}const Wo=b.forwardRef(function({error:e=!1,icon:a,onRemove:s,removeLabel:r="Remove",children:o,overStyled:n=!1,...i},c){const d=x(i,n),p=d,_={root:G.root,label:G.label,input:G.input,iconWrapper:G.mantineIconWrapper,checkIcon:G.checkIcon},h=p.classNames;if(h&&typeof h=="object"&&!Array.isArray(h)){const v=h;_.root=v.root?`${G.root} ${v.root}`:G.root,_.label=v.label?`${G.label} ${v.label}`:G.label}const f=p.className,u=f?`${G.root} ${f}`:G.root,y=e?"":void 0,w=!o&&(!!a||!!s),C=p.checked!==void 0||p.defaultChecked!==void 0||s!==void 0||p.onClick!==void 0;return t.jsx(m.Chip,{ref:c,className:u,classNames:_,wrapperProps:y!==void 0?{"data-error":""}:void 0,...w?{"data-icon-only":""}:{},...C?{}:{tabIndex:-1,"aria-hidden":!0},...d,children:t.jsxs("span",{className:G.innerWrapper,children:[a&&t.jsx("span",{className:G.leadingIcon,"aria-hidden":!0,children:a}),t.jsx("span",{className:G.children,children:o}),s&&t.jsx("span",{role:"button",className:G.removeIcon,onClick:v=>{v.preventDefault(),v.stopPropagation(),s(v)},"aria-label":r,onKeyDown:v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),v.stopPropagation(),s(v))},tabIndex:0,children:t.jsx(us,{})})]})})});Wo.displayName="Chip";const fs="Container-module__root___UVssr",Pe={root:fs},Lo=b.forwardRef(function({children:e,size:a,...s},r){const o={"rec-sm":"sm","rec-default":"md","rec-md":"md","rec-lg":"lg","rec-xl":"xl","rec-2xl":"xl"},n=typeof a=="string"&&o[a]?o[a]:a,i={root:Pe.root},c=s.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const _=c;i.root=_.root?`${Pe.root} ${_.root}`:Pe.root}const d=s.className,p=d?`${Pe.root} ${d}`:Pe.root;return t.jsx(m.Container,{ref:r,size:n,className:p,classNames:i,...s,children:e})});Lo.displayName="Container";const bs="DatePicker-module__layoutOverride___X9yaM",ys="DatePicker-module__root___6XvRT",Ns="DatePicker-module__input___pcSW8",hs="DatePicker-module__section___n3iWA",xs="DatePicker-module__dropdown___wjt08",vs="DatePicker-module__calendarHeader___KHxno",$s="DatePicker-module__day___U03J2",U={layoutOverride:bs,root:ys,input:Ns,section:hs,dropdown:xs,calendarHeader:vs,day:$s},ko=b.forwardRef(function(e,a){const{overStyled:s=!1,formLayout:r="stacked",labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:h,error:f,required:u,withAsterisk:y,id:w,className:C,style:v,disabled:N,readOnly:S,readOnlyComponent:$,emptyValueComponent:L,value:A,defaultValue:T,...O}=e,R=x(O,s),P=R;delete P.size,delete P.variant,delete P.radius,delete P.description;const g={wrapper:U.root,input:U.input,section:U.section,dropdown:U.dropdown,day:U.day,calendarHeader:U.calendarHeader},W=P.classNames;if(W&&typeof W=="object"&&!Array.isArray(W)){const j=W;g.wrapper=j.wrapper?`${U.root} ${j.wrapper}`:U.root,g.input=j.input?`${U.input} ${j.input}`:U.input,g.section=j.section?`${U.section} ${j.section}`:U.section}const M=C?`${U.layoutOverride} ${C}`:U.layoutOverride;return t.jsx(X,{className:M,style:v,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:s,formLayout:r,labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:h,error:f,required:u,withAsterisk:y,id:w,readOnly:S,readOnlyComponent:$,emptyValueComponent:L,readOnlyType:"text",readOnlyValue:A!==void 0?String(A):T?String(T):void 0,readOnlyNativeProps:e,activeComponent:t.jsx(Vt.DatePickerInput,{ref:a,classNames:g,disabled:N,value:A,defaultValue:T,label:void 0,description:void 0,error:void 0,withAsterisk:!1,wrapperProps:{"data-disabled":N?"true":void 0,"data-error":f?"true":void 0},...R})})});ko.displayName="DatePicker";const Cs="Dropdown-module__layoutOverride___FNcvP",ws="Dropdown-module__root___uVyL0",Ps="Dropdown-module__input___dK4dN",gs="Dropdown-module__section___j3MRB",js="Dropdown-module__dropdown___gG-Sw",Ts="Dropdown-module__option___nAGU-",E={layoutOverride:Cs,root:ws,input:Ps,section:gs,dropdown:js,option:Ts},Io=b.forwardRef(function(e,a){const{overStyled:s=!1,formLayout:r="stacked",containerWidth:o,labelSize:n,labelAlignment:i,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:h,assistiveWithIcon:f,error:u,required:y,withAsterisk:w,id:C,className:v,style:N,disabled:S,readOnly:$,readOnlyComponent:L,emptyValueComponent:A,value:T,defaultValue:O,data:R,...P}=e,g=x(P,s),W=g;delete W.size,delete W.variant,delete W.radius;const M={wrapper:E.root,input:E.input,section:E.section,dropdown:E.dropdown,option:E.option},j=W.classNames;if(j&&typeof j=="object"&&!Array.isArray(j)){const q=j;M.wrapper=q.wrapper?`${E.root} ${q.wrapper}`:E.root,M.input=q.input?`${E.input} ${q.input}`:E.input,M.section=q.section?`${E.section} ${q.section}`:E.section,M.dropdown=q.dropdown?`${E.dropdown} ${q.dropdown}`:E.dropdown,M.option=q.option?`${E.option} ${q.option}`:E.option}const _e={...N||{},width:o||"100%"},ue=v?`${E.layoutOverride} ${v}`:E.layoutOverride;return t.jsx(X,{className:ue,style:_e,controlMaxWidth:"var(--recursica_ui-kit_components_dropdown_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_dropdown_properties_min-width)",overStyled:s,formLayout:r,labelSize:n,labelAlignment:i,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:h,assistiveWithIcon:f,error:u,required:y,withAsterisk:w,id:C,readOnly:$,readOnlyComponent:L,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:T!==void 0?String(T):O?String(O):void 0,readOnlyNativeProps:e,activeComponent:t.jsx(m.Select,{ref:a,classNames:M,disabled:S,value:T,defaultValue:O,data:R||[],label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":S?"true":void 0,"data-error":u?"true":void 0},...g})})});Io.displayName="Dropdown";const Ss=l=>t.jsx("div",{...l,children:"FileInput"}),As=l=>t.jsx("div",{...l,children:"FileUpload"}),Os="Flex-module__root___yYser",ge={root:Os},Mo=b.forwardRef(function({children:e,gap:a="rec-default",rowGap:s,columnGap:r,...o},n){const i={root:ge.root},c=o.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const _=c;i.root=_.root?`${ge.root} ${_.root}`:ge.root}const d=o.className,p=d?`${ge.root} ${d}`:ge.root;return t.jsx(m.Flex,{ref:n,className:p,classNames:i,...qe({gap:a,rowGap:s,columnGap:r,...o}),children:e})});Mo.displayName="Flex";const Rs=m.createPolymorphicComponent(Mo),Ws="Group-module__root___ftO64",je={root:Ws},zo=b.forwardRef(function({children:e,gap:a="rec-default",...s},r){const o={root:je.root},n=s.classNames;if(n&&typeof n=="object"&&!Array.isArray(n)){const d=n;o.root=d.root?`${je.root} ${d.root}`:je.root}const i=s.className,c=i?`${je.root} ${i}`:je.root;return t.jsx(m.Group,{ref:r,className:c,classNames:o,...qe({gap:a,...s}),children:e})});zo.displayName="Group";const Ls="HoverCard-module__dropdown___FBPFW",ks="HoverCard-module__arrow___S9AkE",xo={dropdown:Ls,arrow:ks},Fo=function({overStyled:e=!1,withBeak:a=!0,...s}){const r=x(s,e),o={dropdown:xo.dropdown,arrow:xo.arrow},n=r.classNames;if(n&&typeof n=="object"&&!Array.isArray(n)){const p=n;Object.keys(p).forEach(_=>{o[_]?o[_]=`${o[_]} ${p[_]}`:o[_]=p[_]})}const i=r.arrowSize??16,c=r.withArrow,d=a??c;return t.jsx(m.HoverCard,{position:"top",arrowSize:i,withArrow:d,classNames:o,...r})};Fo.displayName="HoverCard";const Bo=function(e){return t.jsx(m.HoverCard.Target,{...e})};Bo.displayName="HoverCardTarget";const Do=function({overStyled:e=!1,...a}){const s=x(a,e),r=s.className;return t.jsx(m.HoverCard.Dropdown,{className:r,...s})};Do.displayName="HoverCardDropdown";const ro=Fo;ro.Target=Bo;ro.Dropdown=Do;const Is="Link-module__root___I0VGE",Ms="Link-module__iconWrapper___W-LlF",zs="Link-module__labelText___wSvUy",be={root:Is,iconWrapper:Ms,labelText:zs},Eo=b.forwardRef(function({icon:e,children:a,overStyled:s=!1,...r},o){const n=x(r,s),i=n,c={root:be.root},d=i.classNames;if(d&&typeof d=="object"&&!Array.isArray(d)){const h=d;c.root=h.root?`${be.root} ${h.root}`:be.root}const p=i.className,_=p?`${be.root} ${p}`:be.root;return t.jsxs(m.Anchor,{ref:o,className:_,classNames:c,underline:"never",...e?{"data-has-icon":""}:{},...n,children:[e&&t.jsx("span",{className:be.iconWrapper,"aria-hidden":!0,children:e}),t.jsx("span",{className:be.labelText,children:a})]})});Eo.displayName="Link";const Fs=m.createPolymorphicComponent(Eo),Bs="Menu-module__dropdown___j4xuA",Ds="Menu-module__item___NMXha",Es="Menu-module__itemLabel___zvcqC",Vs="Menu-module__itemSection___pRIcn",Gs="Menu-module__divider___wPiNq",Hs="Menu-module__label___4FBGa",qs="Menu-module__chevron___hEEiy",ye={dropdown:Bs,item:Ds,itemLabel:Es,itemSection:Vs,divider:Gs,label:Hs,chevron:qs},Vo=function({overStyled:e=!1,...a}){const s=x(a,e),r={dropdown:ye.dropdown,item:ye.item,itemLabel:ye.itemLabel,itemSection:ye.itemSection,divider:ye.divider,label:ye.label,chevron:ye.chevron},o=s.classNames;if(o&&typeof o=="object"&&!Array.isArray(o)){const n=o;Object.keys(n).forEach(i=>{r[i]?r[i]=`${r[i]} ${n[i]}`:r[i]=n[i]})}return t.jsx(m.Menu,{classNames:r,...s})};Vo.displayName="Menu";const Go=function(e){return t.jsx(m.Menu.Target,{...e})};Go.displayName="MenuTarget";const Ho=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=r.className;return t.jsx(m.Menu.Dropdown,{ref:s,className:o,...r})});Ho.displayName="MenuDropdown";const qo=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=r;e||delete o.color;const n=o.className;return t.jsx(m.Menu.Item,{ref:s,className:n,...r})});qo.displayName="MenuItem";const Us=m.createPolymorphicComponent(qo),Uo=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=r.className;return t.jsx(m.Menu.Divider,{ref:s,className:o,...r})});Uo.displayName="MenuDivider";const Zo=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=r.className;return t.jsx(m.Menu.Label,{ref:s,className:o,...r})});Zo.displayName="MenuLabel";const Yo=function(e){return t.jsx(m.Menu.Sub,{...e})};Yo.displayName="MenuSub";const Ko=function(e){return t.jsx(m.Menu.Sub.Target,{...e})};Ko.displayName="MenuSubTarget";const Xo=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=r;e||delete o.color;const n=o.className;return t.jsx(m.Menu.Sub.Item,{ref:s,className:n,...r})});Xo.displayName="MenuSubItem";const Zs=m.createPolymorphicComponent(Xo),Jo=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=r.className;return t.jsx(m.Menu.Sub.Dropdown,{ref:s,className:o,...r})});Jo.displayName="MenuSubDropdown";const De=Yo;De.Target=Ko;De.Item=Zs;De.Dropdown=Jo;const xe=Vo;xe.Target=Go;xe.Dropdown=Ho;xe.Item=Us;xe.Divider=Uo;xe.Label=Zo;xe.Sub=De;const Ys="Modal-module__root___ytPLl",Ks="Modal-module__inner___SSUJE",Xs="Modal-module__content___dWO-B",Js="Modal-module__header___ILG9i",Qs="Modal-module__title___A5OeE",ea="Modal-module__bodyWrapper___5CCL-",oa="Modal-module__scrollArea___KD-hm",ta="Modal-module__footer___rro2w",ra="Modal-module__close___-ER1C",se={root:Ys,inner:Ks,content:Xs,header:Js,title:Qs,bodyWrapper:ea,scrollArea:oa,footer:ta,close:ra},Qo=b.forwardRef(function({overStyled:e=!1,children:a,title:s,withCloseButton:r=!0,overlayProps:o,withOverlay:n=!0,closeButtonProps:i,...c},d){const p=x(c,e),_={root:se.root,inner:se.inner,content:se.content,header:se.header,title:se.title,close:se.close},h=p.classNames;if(h&&typeof h=="object"&&!Array.isArray(h)){const f=h;Object.keys(f).forEach(u=>{_[u]?_[u]=`${_[u]} ${f[u]}`:_[u]=f[u]})}return t.jsxs(m.Modal.Root,{ref:d,classNames:_,...p,children:[n&&t.jsx(m.Modal.Overlay,{...o}),t.jsxs(m.Modal.Content,{children:[(s||r)&&t.jsxs(m.Modal.Header,{children:[s&&t.jsx(m.Modal.Title,{children:s}),r&&t.jsx(m.Modal.CloseButton,{...i})]}),t.jsx(ao,{children:a})]})]})});Qo.displayName="Modal";const so=b.forwardRef(function({className:e,...a},s){return t.jsx("div",{ref:s,className:`${se.footer} ${e||""}`,...a})});so.displayName="Modal.Footer";const ao=b.forwardRef(function({className:e,onScroll:a,children:s,...r},o){const n=b.useRef(null),[i,c]=b.useState(!1),[d,p]=b.useState(!1),_=b.useCallback(()=>{if(n.current){const{scrollTop:y,scrollHeight:w,clientHeight:C}=n.current;c(y>0),p(Math.ceil(y+C)<w)}},[]);b.useEffect(()=>(_(),window.addEventListener("resize",_),()=>window.removeEventListener("resize",_)),[_,s]);const h=y=>{_(),a==null||a(y)};let f=null;const u=[];return b.Children.forEach(s,y=>{var w;b.isValidElement(y)&&(y.type===so||((w=y.type)==null?void 0:w.displayName)==="Modal.Footer")?f=y:u.push(y)}),t.jsxs(m.Modal.Body,{...r,ref:y=>{typeof o=="function"?o(y):o&&(o.current=y)},className:`${se.bodyWrapper} ${e||""}`,children:[t.jsx("div",{ref:n,onScroll:h,"data-scrolled-top":i||void 0,"data-scrolled-bottom":d||void 0,className:se.scrollArea,children:u}),f]})});ao.displayName="Modal.Body";const le=Qo;le.Root=m.Modal.Root;le.Overlay=m.Modal.Overlay;le.Content=m.Modal.Content;le.Header=m.Modal.Header;le.Title=m.Modal.Title;le.CloseButton=m.Modal.CloseButton;le.Body=ao;le.Footer=so;const sa="NumberInput-module__layoutOverride___5-9T4",aa="NumberInput-module__root___C6rAn",na="NumberInput-module__input___Ss8p7",la="NumberInput-module__section___MijP0",ia="NumberInput-module__controls___8UfQ2",ca="NumberInput-module__control___Qre9-",Ne={layoutOverride:sa,root:aa,input:na,section:la,controls:ia,control:ca},et=b.forwardRef(function(e,a){const{overStyled:s=!1,formLayout:r="stacked",labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:h,error:f,required:u,withAsterisk:y,id:w,className:C,style:v,disabled:N,readOnly:S,readOnlyComponent:$,emptyValueComponent:L,value:A,defaultValue:T,hideControls:O=!1,...R}=e,P=x(R,s),g=P;delete g.size,delete g.variant,delete g.radius;const W={wrapper:Ne.root,input:Ne.input,section:Ne.section,controls:Ne.controls,control:Ne.control},M=C?`${Ne.layoutOverride} ${C}`:Ne.layoutOverride;return t.jsx(X,{className:M,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_number-input_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_number-input_properties_min-width)",overStyled:s,formLayout:r,labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:h,error:f,required:u,withAsterisk:y,id:w,readOnly:S,readOnlyComponent:$,emptyValueComponent:L,readOnlyType:"text",readOnlyValue:A!==void 0?A==null?void 0:A.toString():T==null?void 0:T.toString(),readOnlyNativeProps:e,activeComponent:t.jsx(m.NumberInput,{ref:a,classNames:W,disabled:N,value:A,defaultValue:T,hideControls:O,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":N?"true":void 0,"data-error":f?"true":void 0,"data-with-left-section":g.leftSection?"true":void 0,"data-with-right-section":g.rightSection||!O?"true":void 0},...P})})});et.displayName="NumberInput";const da="Pagination-module__root___ITRjt",pa="Pagination-module__control___40yNT",ma="Pagination-module__dots___Yl9da",_a="Pagination-module__iconWithLabel___pLM4O",ua="Pagination-module__baseIcon___Qw3bJ",V={root:da,control:pa,dots:ma,iconWithLabel:_a,baseIcon:ua},fa="M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z",ba="M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z",ya="M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z",Na="M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z",ha={next:fa,prev:ba,first:ya,last:Na},Oe=({type:l,className:e,...a})=>t.jsx("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",className:`${V.baseIcon} ${e||""}`.trim(),...a,children:t.jsx("path",{d:ha[l],fill:"currentColor"})}),ot=l=>t.jsxs("div",{className:V.iconWithLabel,children:[t.jsx("span",{children:"Next"}),t.jsx(Oe,{type:"next",...l})]}),tt=l=>t.jsxs("div",{className:V.iconWithLabel,children:[t.jsx(Oe,{type:"prev",...l}),t.jsx("span",{children:"Prev"})]}),rt=l=>t.jsxs("div",{className:V.iconWithLabel,children:[t.jsx(Oe,{type:"first",...l}),t.jsx("span",{children:"First"})]}),st=l=>t.jsxs("div",{className:V.iconWithLabel,children:[t.jsx("span",{children:"Last"}),t.jsx(Oe,{type:"last",...l})]});function at(l){const e={root:V.root,control:V.control,dots:V.dots},a=l.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const o=a;e.root=o.root?`${V.root} ${o.root}`:V.root,e.control=o.control?`${V.control} ${o.control}`:V.control,e.dots=o.dots?`${V.dots} ${o.dots}`:V.dots}const s=l.className;return{className:s?`${V.root} ${s}`:V.root,classNames:e}}const nt=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=at(r);return t.jsx(m.Pagination.Root,{ref:s,className:o.className,classNames:o.classNames,...r})});nt.displayName="Pagination.Root";const lt=b.forwardRef(function({withLabel:e,icon:a,...s},r){const o=a||(e?ot:void 0);return t.jsx(m.Pagination.Next,{ref:r,"data-variant":"text",icon:o,...s})});lt.displayName="Pagination.Next";const it=b.forwardRef(function({withLabel:e,icon:a,...s},r){const o=a||(e?tt:void 0);return t.jsx(m.Pagination.Previous,{ref:r,"data-variant":"text",icon:o,...s})});it.displayName="Pagination.Previous";const ct=b.forwardRef(function({withLabel:e,icon:a,...s},r){const o=a||(e?rt:void 0);return t.jsx(m.Pagination.First,{ref:r,"data-variant":"text",icon:o,...s})});ct.displayName="Pagination.First";const dt=b.forwardRef(function({withLabel:e,icon:a,...s},r){const o=a||(e?st:void 0);return t.jsx(m.Pagination.Last,{ref:r,"data-variant":"text",icon:o,...s})});dt.displayName="Pagination.Last";const pt=b.forwardRef(function({overStyled:e=!1,getControlProps:a,withLabels:s,...r},o){const n=x(r,e),i=at(n),c=p=>{const _={"data-variant":"text"};return a?{..._,...a(p)}:_},d=s?{nextIcon:ot,previousIcon:tt,firstIcon:rt,lastIcon:st}:{};return t.jsx(m.Pagination,{ref:o,className:i.className,classNames:i.classNames,getControlProps:c,...d,...n})});pt.displayName="Pagination";const ee=pt;ee.Root=nt;ee.Items=m.Pagination.Items;ee.Control=m.Pagination.Control;ee.Dots=m.Pagination.Dots;ee.Next=lt;ee.Previous=it;ee.First=ct;ee.Last=dt;ee.Icon=Oe;const xa="Panel-module__content___wdGo-",va="Panel-module__inner___ruA2b",$a="Panel-module__header___o7SiC",Ca="Panel-module__title___181OP",wa="Panel-module__titleTruncate___fuP6V Panel-module__title___181OP",Pa="Panel-module__body___SEC3T",ga="Panel-module__footer___t6-hz",me={content:xa,inner:va,header:$a,title:Ca,titleTruncate:wa,body:Pa,footer:ga},mt=function({overStyled:e=!1,position:a="right",keepMounted:s=!0,wrapHeaderText:r=!1,...o}){const n=x(o,e),i={content:me.content,header:me.header,title:r?me.titleTruncate:me.title,body:me.body,inner:me.inner},c=n.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const d=c;Object.keys(d).forEach(p=>{i[p]?i[p]=`${i[p]} ${d[p]}`:i[p]=d[p]})}return t.jsx(m.Drawer,{position:a,keepMounted:s,closeOnClickOutside:o.closeOnClickOutside??!!o.opened,...n,classNames:i})};mt.displayName="Panel";const no=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o=r.className,n=o?`${me.footer} ${o}`:me.footer;return t.jsx("div",{ref:s,className:n,...r})});no.displayName="PanelFooter";const oe=mt;oe.Root=m.Drawer.Root;oe.Overlay=m.Drawer.Overlay;oe.Content=m.Drawer.Content;oe.Header=m.Drawer.Header;oe.Title=m.Drawer.Title;oe.CloseButton=m.Drawer.CloseButton;oe.Body=m.Drawer.Body;oe.Stack=m.Drawer.Stack;oe.Footer=no;const ja="Popover-module__dropdown___svhS6",Ta="Popover-module__arrow___5A-0e",vo={dropdown:ja,arrow:Ta},_t=function({overStyled:e=!1,withBeak:a=!0,...s}){const r=x(s,e),o={dropdown:vo.dropdown,arrow:vo.arrow},n=r.classNames;if(n&&typeof n=="object"&&!Array.isArray(n)){const p=n;Object.keys(p).forEach(_=>{o[_]?o[_]=`${o[_]} ${p[_]}`:o[_]=p[_]})}const i=r.arrowSize??16,c=r.withArrow,d=a??c;return t.jsx(m.Popover,{position:"top",arrowSize:i,withArrow:d,classNames:o,...r})};_t.displayName="Popover";const ut=function(e){return t.jsx(m.Popover.Target,{...e})};ut.displayName="PopoverTarget";const ft=function({overStyled:e=!1,...a}){const s=x(a,e),r=s.className;return t.jsx(m.Popover.Dropdown,{className:r,...s})};ft.displayName="PopoverDropdown";const lo=_t;lo.Target=ut;lo.Dropdown=ft;const Sa="Radio-module__groupRoot___bfUii",Aa="Radio-module__root___kAjTD",Oa="Radio-module__body___q2Wpj",Ra="Radio-module__inner___QaTBB",Wa="Radio-module__radio___MfgN-",La="Radio-module__icon___DWznm",ka="Radio-module__labelWrapper___dB0Gi",Ia="Radio-module__label___vAFIP",F={groupRoot:Sa,root:Aa,body:Oa,inner:Ra,radio:Wa,icon:La,labelWrapper:ka,label:Ia},io=b.forwardRef(function(e,a){const{overStyled:s=!1,formLayout:r="stacked",labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:h,assistiveWithIcon:f,error:u,required:y,withAsterisk:w,id:C,className:v,style:N,children:S,readOnly:$,readOnlyComponent:L,emptyValueComponent:A,value:T,defaultValue:O,...R}=e,P=x(R,s),g=P;return delete g.size,t.jsx(X,{className:v,style:N,controlMaxWidth:"var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",controlMinWidth:void 0,overStyled:s,labelElement:"div",formLayout:r,labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:h,assistiveWithIcon:f,error:u,required:y,withAsterisk:w,id:C,readOnly:$&&!!L,readOnlyComponent:L,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:T!==void 0?T:O,readOnlyNativeProps:e,activeComponent:t.jsx(m.Radio.Group,{ref:a,...P,disabled:$||g.disabled,value:T,defaultValue:O,children:t.jsx("div",{className:F.groupRoot,"data-layout":r,children:S})})})});io.displayName="RadioGroup";const Ma=({className:l,style:e})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:l,style:e,children:t.jsx("circle",{cx:"8",cy:"8",r:"5"})}),co=b.forwardRef(function(e,a){const{overStyled:s=!1,readOnly:r,readOnlyComponent:o,disabled:n,formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,..._}=e,h=x(_,s),f=h;delete f.size,delete f.color,delete f.radius,delete f.variant,delete f.iconColor;const u={root:F.root,body:F.body,inner:F.inner,radio:F.radio,icon:F.icon,labelWrapper:F.labelWrapper,label:F.label},y=f.classNames;if(y&&typeof y=="object"&&!Array.isArray(y)){const N=y;u.root=N.root?`${F.root} ${N.root}`:F.root,u.body=N.body?`${F.body} ${N.body}`:F.body,u.inner=N.inner?`${F.inner} ${N.inner}`:F.inner,u.radio=N.radio?`${F.radio} ${N.radio}`:F.radio,u.icon=N.icon?`${F.icon} ${N.icon}`:F.icon,u.labelWrapper=N.labelWrapper?`${F.labelWrapper} ${N.labelWrapper}`:F.labelWrapper,u.label=N.label?`${F.label} ${N.label}`:F.label}const w=f.className,C=w?`${F.root} ${w}`:F.root;if(r&&o){const N=!!(f.checked??f.defaultChecked),S=o,$=t.jsx(S,{...e,checked:N,label:f.label});return i?t.jsx(ae,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:$}):t.jsx(t.Fragment,{children:$})}const v=t.jsx(m.Radio,{ref:a,icon:Ma,className:C,classNames:u,disabled:r||n,...h});return i?t.jsx(ae,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:v}):v});co.displayName="Radio";co.Group=io;const bt=({checked:l,label:e})=>t.jsxs(m.Box,{component:"span",className:$e.textField,style:{display:"inline-flex",gap:"8px",alignItems:"baseline"},children:[e&&t.jsxs("span",{style:{fontWeight:500},children:[e,":"]}),t.jsx("span",{children:l?"On":"Off"})]});bt.displayName="ReadOnlySwitchField";const yt=({checked:l,label:e})=>t.jsxs(m.Box,{component:"span",className:$e.textField,style:{display:"inline-flex",gap:"8px",alignItems:"baseline"},children:[e&&t.jsxs("span",{style:{fontWeight:500},children:[e,":"]}),t.jsx("span",{children:l?"True":"False"})]});yt.displayName="ReadOnlyBooleanField";const za="SegmentedControl-module__root___JFRhg",Fa="SegmentedControl-module__label___mS17q",Ba="SegmentedControl-module__control___znOdQ",Da="SegmentedControl-module__indicator___ZMcJy",Z={root:za,label:Fa,control:Ba,indicator:Da};function Ea(l){const e={root:Z.root,control:Z.control,label:Z.label,indicator:Z.indicator},a=l.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const o=a;e.root=o.root?`${Z.root} ${o.root}`:Z.root,e.control=o.control?`${Z.control} ${o.control}`:Z.control,e.label=o.label?`${Z.label} ${o.label}`:Z.label,e.indicator=o.indicator?`${Z.indicator} ${o.indicator}`:Z.indicator}const s=l.className;return{className:s?`${Z.root} ${s}`:Z.root,classNames:e}}const Nt=b.forwardRef(function({overStyled:e=!1,orientation:a="horizontal",fullWidth:s,...r},o){const n=x(r,e),i=n;delete i.disabled;const c=Ea(i);return t.jsx(m.SegmentedControl,{ref:o,className:c.className,classNames:c.classNames,orientation:a,fullWidth:s,"data-orientation":a,...n})});Nt.displayName="SegmentedControl";const Va=Nt,Ga="Slider-module__layoutOverride___zYPun",Ha="Slider-module__sliderContainer___y8I0J",qa="Slider-module__sliderTrackWrapper___UHpVh",Ua="Slider-module__iconWrapper___uqHpC",Za="Slider-module__sliderRoot___LI86H",Ya="Slider-module__sliderTrack___oqnlG",Ka="Slider-module__sliderBar___TI4VY",Xa="Slider-module__sliderThumb___OFn8p",Ja="Slider-module__sliderMark___1lM2B",Qa="Slider-module__minMaxGuide___TaGqz",en="Slider-module__rightGuideContainer___8dOT8",on="Slider-module__currentValue___dGV2T",tn="Slider-module__inputField___6x578",rn="Slider-module__readOnlyValue___-ZzMW",k={layoutOverride:Ga,sliderContainer:Ha,sliderTrackWrapper:qa,iconWrapper:Ua,sliderRoot:Za,sliderTrack:Ya,sliderBar:Ka,sliderThumb:Xa,sliderMark:Ja,minMaxGuide:Qa,rightGuideContainer:en,currentValue:on,inputField:tn,readOnlyValue:rn},sn=({value:l})=>t.jsx("div",{className:k.readOnlyValue,children:l}),ht=b.forwardRef(function(e,a){const{overStyled:s=!1,formLayout:r="stacked",labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,labelActionArea:d,onLabelEditClick:p,label:_,tooltipLabel:h,assistiveText:f,assistiveWithIcon:u,error:y,required:w,withAsterisk:C,id:v,className:N,style:S,disabled:$,readOnly:L,readOnlyComponent:A,emptyValueComponent:T,value:O,defaultValue:R,icon:P,showInput:g=!1,showMinMaxLabels:W=!0,min:M=0,max:j=100,step:_e=1,onChange:ue,onChangeEnd:q,...Ee}=e,[kt,It]=b.useState(()=>O!==void 0?O:R!==void 0?R:M),ie=O!==void 0?O:kt,[Mt,Ve]=b.useState(ie.toString());b.useEffect(()=>{Ve(ie.toString())},[ie]);const uo=B=>{O===void 0&&It(B),ue==null||ue(B)},zt=B=>{const bo=B.target.value;Ve(bo);const yo=parseFloat(bo);if(!isNaN(yo)){const Et=Math.max(M,Math.min(j,yo));uo(Et)}},Ft=()=>{Ve(ie.toString())},fo=x(Ee,s),Ce=fo;delete Ce.size,delete Ce.variant,delete Ce.radius,delete Ce.wrapperProps;const fe={root:k.sliderRoot,track:k.sliderTrack,bar:k.sliderBar,thumb:k.sliderThumb,mark:k.sliderMark,markLabel:k.sliderMarkLabel},Re=Ce.classNames;if(Re&&typeof Re=="object"&&!Array.isArray(Re)){const B=Re;fe.root=B.root?`${k.sliderRoot} ${B.root}`:k.sliderRoot,fe.track=B.track?`${k.sliderTrack} ${B.track}`:k.sliderTrack,fe.bar=B.bar?`${k.sliderBar} ${B.bar}`:k.sliderBar,fe.thumb=B.thumb?`${k.sliderThumb} ${B.thumb}`:k.sliderThumb,fe.mark=B.mark?`${k.sliderMark} ${B.mark}`:k.sliderMark,fe.markLabel=B.markLabel?`${k.sliderMarkLabel} ${B.markLabel}`:k.sliderMarkLabel}const Bt=N?`${k.layoutOverride} ${N}`:k.layoutOverride,Dt=P?t.jsx("span",{className:k.iconWrapper,"aria-hidden":!0,children:P}):null;return t.jsx(X,{ref:a,className:Bt,style:S,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:s,formLayout:r,labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,labelActionArea:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:u,error:y,required:w,withAsterisk:C,id:v,readOnly:L,readOnlyComponent:A||sn,emptyValueComponent:T,readOnlyType:"text",readOnlyValue:ie,readOnlyNativeProps:{value:ie},activeComponent:t.jsxs("div",{className:k.sliderContainer,"data-form-layout":r,"data-disabled":$?"true":void 0,"data-error":y?"true":void 0,children:[Dt,W&&t.jsx("span",{className:k.minMaxGuide,children:M}),t.jsx("div",{className:k.sliderTrackWrapper,children:t.jsx(m.Slider,{classNames:fe,disabled:$,value:ie,onChange:uo,onChangeEnd:q,min:M,max:j,step:_e,label:h,...fo})}),t.jsxs("div",{className:k.rightGuideContainer,children:[!g&&t.jsx("span",{className:k.currentValue,children:ie}),W&&t.jsx("span",{className:k.minMaxGuide,children:j})]}),g&&t.jsx("input",{type:"number",className:k.inputField,value:Mt,onChange:zt,onBlur:Ft,min:M,max:j,step:_e,disabled:$,"data-error":y?"true":void 0})]})})});ht.displayName="Slider";const an="Stack-module__root___NUN-x",Te={root:an},xt=b.forwardRef(function({children:e,gap:a="rec-default",...s},r){const o={root:Te.root},n=s.classNames;if(n&&typeof n=="object"&&!Array.isArray(n)){const d=n;o.root=d.root?`${Te.root} ${d.root}`:Te.root}const i=s.className,c=i?`${Te.root} ${i}`:Te.root;return t.jsx(m.Stack,{ref:r,className:c,classNames:o,...qe({gap:a,...s}),children:e})});xt.displayName="Stack";const nn=m.createPolymorphicComponent(xt),ln="Stepper-module__root___jbSYO",cn="Stepper-module__horizontal___USHT1",dn="Stepper-module__steps___4HPO6",pn="Stepper-module__step___s2nqL",mn="Stepper-module__stepBody___TBvys",_n="Stepper-module__stepLabel___N6nuy",un="Stepper-module__stepDescription___DnDAy",fn="Stepper-module__separator___pU0No",bn="Stepper-module__vertical___d4mOs",yn="Stepper-module__large___J18-y",Nn="Stepper-module__small___Ub-zb",hn="Stepper-module__stepIcon___YQHNq",xn="Stepper-module__stepCompletedIcon___B9MeL",vn="Stepper-module__verticalSeparator___frWc1",$n="Stepper-module__content___J-h8X",H={root:ln,horizontal:cn,steps:dn,step:pn,stepBody:mn,stepLabel:_n,stepDescription:un,separator:fn,vertical:bn,large:yn,small:Nn,stepIcon:hn,stepCompletedIcon:xn,verticalSeparator:vn,content:$n},vt=b.forwardRef(function(e,a){const{overStyled:s=!1,size:r="large",orientation:o="horizontal",className:n,style:i,...c}=e,d=x(c,s);return t.jsx(m.Stepper,{ref:a,orientation:o,className:`${H.root} ${o==="horizontal"?H.horizontal:H.vertical} ${r==="large"?H.large:H.small} ${n||""}`,style:i,"data-size":r,"data-orientation":o,classNames:{steps:H.steps,step:H.step,stepIcon:H.stepIcon,stepCompletedIcon:H.stepCompletedIcon,stepBody:H.stepBody,stepLabel:H.stepLabel,stepDescription:H.stepDescription,separator:H.separator,verticalSeparator:H.verticalSeparator,content:H.content},...d})}),Cn=Object.assign(vt,{Step:m.Stepper.Step,Completed:m.Stepper.Completed});vt.displayName="Stepper";const wn="Switch-module__root___Y5Ydi",Pn="Switch-module__body___Sw9Wr",gn="Switch-module__track___7ObdZ",jn="Switch-module__thumb___-FTeK",Tn="Switch-module__labelWrapper___YSOwx",Sn="Switch-module__label___LrH7V",An="Switch-module__thumbIconWrapper___sCY-1",On="Switch-module__checkIcon___ZBAQN",Rn="Switch-module__closeIcon___bLLGw",Wn="Switch-module__groupRoot___-Uepi",I={root:wn,body:Pn,track:gn,thumb:jn,labelWrapper:Tn,label:Sn,thumbIconWrapper:An,checkIcon:On,closeIcon:Rn,groupRoot:Wn},po=b.forwardRef(function(e,a){const{overStyled:s=!1,formLayout:r="stacked",labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:h,assistiveWithIcon:f,error:u,required:y,withAsterisk:w,id:C,className:v,style:N,children:S,readOnly:$,readOnlyComponent:L,emptyValueComponent:A,value:T,defaultValue:O,...R}=e,P=x(R,s),g=P;return delete g.size,t.jsx(X,{className:v,style:N,controlMaxWidth:"var(--recursica_ui-kit_components_switch-item_properties_label-max-width)",controlMinWidth:void 0,overStyled:s,labelElement:"div",formLayout:r,labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:h,assistiveWithIcon:f,error:u,required:y,withAsterisk:w,id:C,readOnly:$&&!!L,readOnlyComponent:L,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:T!==void 0?T:O,readOnlyNativeProps:e,activeComponent:t.jsx(m.Switch.Group,{ref:a,...P,disabled:$||g.disabled,value:T,defaultValue:O,children:t.jsx("div",{className:I.groupRoot,"data-layout":r,children:S})})})});po.displayName="SwitchGroup";const mo=b.forwardRef(function(e,a){const{overStyled:s=!1,readOnly:r,readOnlyComponent:o,disabled:n,thumbIcon:i,formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,...h}=e,f=x(h,s),u=f;delete u.size,delete u.color,delete u.radius,delete u.variant;const y={root:I.root,body:I.body,track:I.track,thumb:I.thumb,trackLabel:I.trackLabel,labelWrapper:I.labelWrapper,label:I.label},w=u.classNames;if(w&&typeof w=="object"&&!Array.isArray(w)){const $=w;y.root=$.root?`${I.root} ${$.root}`:I.root,y.body=$.body?`${I.body} ${$.body}`:I.body,y.track=$.track?`${I.track} ${$.track}`:I.track,y.thumb=$.thumb?`${I.thumb} ${$.thumb}`:I.thumb,y.trackLabel=$.trackLabel?`${I.trackLabel} ${$.trackLabel}`:I.trackLabel,y.labelWrapper=$.labelWrapper?`${I.labelWrapper} ${$.labelWrapper}`:I.labelWrapper,y.label=$.label?`${I.label} ${$.label}`:I.label}const C=u.className,v=C?`${I.root} ${C}`:I.root;if(r&&o){const $=!!(u.checked??u.defaultChecked),L=o,A=t.jsx(L,{...e,checked:$,label:u.label});return c?t.jsx(ae,{formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,children:A}):t.jsx(t.Fragment,{children:A})}const N=t.jsxs("div",{className:I.thumbIconWrapper,children:[t.jsx(m.CheckIcon,{className:I.checkIcon}),t.jsx(m.CloseIcon,{className:I.closeIcon})]}),S=t.jsx(m.Switch,{ref:a,className:v,classNames:y,disabled:r||n,"data-disabled":r||n||void 0,thumbIcon:i??N,...f});return c?t.jsx(ae,{formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,children:S}):S});mo.displayName="Switch";mo.Group=po;const Ln=l=>t.jsx("div",{...l,children:"Table"}),kn="Tabs-module__root___-VKVI",In="Tabs-module__list___qRVME",Mn="Tabs-module__tab___IdDYc",zn="Tabs-module__panel___08i9c",Le={root:kn,list:In,tab:Mn,panel:zn},$t=b.forwardRef(function(e,a){const{variant:s="default",orientation:r="horizontal",overStyled:o=!1,className:n,...i}=e,c=x(i,o);return t.jsx(m.Tabs,{ref:a,variant:s,orientation:r,className:`${Le.root} ${n||""}`,"data-variant":s,"data-orientation":r,classNames:{list:Le.list,tab:Le.tab,panel:Le.panel},...c})});$t.displayName="Tabs";const Ct=b.forwardRef(function(e,a){const{overStyled:s=!1,...r}=e;return t.jsx(m.Tabs.List,{ref:a,...x(r,s)})});Ct.displayName="Tabs.List";const wt=b.forwardRef(function(e,a){const{overStyled:s=!1,...r}=e;return t.jsx(m.Tabs.Tab,{ref:a,...x(r,s)})});wt.displayName="Tabs.Tab";const Pt=b.forwardRef(function(e,a){const{overStyled:s=!1,...r}=e;return t.jsx(m.Tabs.Panel,{ref:a,...x(r,s)})});Pt.displayName="Tabs.Panel";const Fn=Object.assign($t,{List:Ct,Tab:wt,Panel:Pt}),gt=b.forwardRef(function({overStyled:e=!1,variant:a="body",...s},r){const o=x(s,e),n=o.className,i=`recursica_brand_typography_${a}`,c=n?`${i} ${n}`:i;return t.jsx(m.Text,{ref:r,className:c,...o})});gt.displayName="Text";const Bn=m.createPolymorphicComponent(gt),Dn="TextArea-module__layoutOverride___4MCdm",En="TextArea-module__root___3dyeu",Vn="TextArea-module__input___8l36v",de={layoutOverride:Dn,root:En,input:Vn},jt=b.forwardRef(function(e,a){const{overStyled:s=!1,formLayout:r="stacked",labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:h,error:f,required:u,withAsterisk:y,id:w,className:C,style:v,disabled:N,readOnly:S,readOnlyComponent:$,emptyValueComponent:L,value:A,defaultValue:T,...O}=e,R=x(O,s),P=R;delete P.size,delete P.variant,delete P.radius;const g={wrapper:de.root,input:de.input},W=P.classNames;if(W&&typeof W=="object"&&!Array.isArray(W)){const j=W;g.wrapper=j.wrapper?`${de.root} ${j.wrapper}`:de.root,g.input=j.input?`${de.input} ${j.input}`:de.input}const M=C?`${de.layoutOverride} ${C}`:de.layoutOverride;return t.jsx(X,{className:M,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_textarea_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_textarea_properties_min-width)",overStyled:s,formLayout:r,labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:h,error:f,required:u,withAsterisk:y,id:w,readOnly:S,readOnlyComponent:$,emptyValueComponent:L,readOnlyType:"text",readOnlyValue:A!==void 0?A:T,readOnlyNativeProps:e,activeComponent:t.jsx(m.Textarea,{ref:a,classNames:g,disabled:N,value:A,defaultValue:T,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":N?"true":void 0,"data-error":f?"true":void 0},...R})})});jt.displayName="TextArea";const Gn="TextField-module__layoutOverride___SNZqc",Hn="TextField-module__root___2ZYkG",qn="TextField-module__input___RL-My",Un="TextField-module__section___bCIJ0",Q={layoutOverride:Gn,root:Hn,input:qn,section:Un},Tt=b.forwardRef(function(e,a){const{overStyled:s=!1,formLayout:r="stacked",labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:h,error:f,required:u,withAsterisk:y,id:w,className:C,style:v,disabled:N,readOnly:S,readOnlyComponent:$,emptyValueComponent:L,value:A,defaultValue:T,...O}=e,R=x(O,s),P=R;delete P.size,delete P.variant,delete P.radius;const g={wrapper:Q.root,input:Q.input,section:Q.section},W=P.classNames;if(W&&typeof W=="object"&&!Array.isArray(W)){const j=W;g.wrapper=j.wrapper?`${Q.root} ${j.wrapper}`:Q.root,g.input=j.input?`${Q.input} ${j.input}`:Q.input,g.section=j.section?`${Q.section} ${j.section}`:Q.section}const M=C?`${Q.layoutOverride} ${C}`:Q.layoutOverride;return t.jsx(X,{className:M,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_text-field_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_text-field_properties_min-width)",overStyled:s,formLayout:r,labelSize:o,labelAlignment:n,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:h,error:f,required:u,withAsterisk:y,id:w,readOnly:S,readOnlyComponent:$,emptyValueComponent:L,readOnlyType:"text",readOnlyValue:A!==void 0?A:T,readOnlyNativeProps:e,activeComponent:t.jsx(m.Input,{ref:a,classNames:g,disabled:N,value:A,defaultValue:T,wrapperProps:{"data-disabled":N?"true":void 0,"data-error":f?"true":void 0},...R})})});Tt.displayName="TextField";const Zn=l=>t.jsx("div",{...l,children:"TimePicker"}),Yn="Timeline-module__root___LwRdZ",Kn="Timeline-module__item___T5xdQ",Xn="Timeline-module__itemBody___XAV-E",Jn="Timeline-module__itemBullet___rPXCy",Qn="Timeline-module__itemTitle___GgRRW",el="Timeline-module__itemContent___vurs-",ol="Timeline-module__description___f9sxV",tl="Timeline-module__timestamp___owiRu",pe={root:Yn,item:Kn,itemBody:Xn,itemBullet:Jn,itemTitle:Qn,itemContent:el,description:ol,timestamp:tl},St=b.forwardRef(function({overStyled:e=!1,timestamp:a,bulletVariant:s="default",children:r,...o},n){const i=x(o,e),c={item:pe.item,itemBody:pe.itemBody,itemContent:pe.itemContent,itemBullet:pe.itemBullet,itemTitle:pe.itemTitle},d=i.classNames;if(d&&typeof d=="object"&&!Array.isArray(d)){const _=d;Object.keys(_).forEach(h=>{c[h]?c[h]=`${c[h]} ${_[h]}`:c[h]=_[h]})}const p=a?t.jsxs(t.Fragment,{children:[r&&t.jsx("div",{className:pe.description,children:r}),t.jsx("div",{className:pe.timestamp,children:a})]}):r;return t.jsx(m.TimelineItem,{ref:n,classNames:c,"data-variant":s,...i,children:p})});St.displayName="TimelineItem";const At=b.forwardRef(function({overStyled:e=!1,...a},s){const r=x(a,e),o={root:pe.root},n=r.classNames;if(n&&typeof n=="object"&&!Array.isArray(n)){const i=n;Object.keys(i).forEach(c=>{o[c]?o[c]=`${o[c]} ${i[c]}`:o[c]=i[c]})}return t.jsx(m.Timeline,{ref:s,classNames:o,...r})});At.displayName="Timeline";const Ot=At;Ot.Item=St;const Rt=b.forwardRef(function({overStyled:e=!1,order:a=1,...s},r){const o=x(s,e),n=o.className,i=`recursica_brand_typography_h${a}`,c=n?`${i} ${n}`:i;return t.jsx(m.Title,{ref:r,order:a,className:c,...o})});Rt.displayName="Title";const rl="Toast-module__root___MUvfI",sl="Toast-module__icon___VwvE1",al="Toast-module__loader___8Gxd-",nl="Toast-module__title___-H6R2",ll="Toast-module__description___-QwfC",il="Toast-module__closeButton___vGr7g",cl="Toast-module__body___VLkXA",he={root:rl,icon:sl,loader:al,title:nl,description:ll,closeButton:il,body:cl},Wt=b.forwardRef(function({overStyled:e=!1,variant:a="default",withCloseButton:s=!0,...r},o){const n=x(r,e),i={root:he.root,body:he.body,title:he.title,description:he.description,closeButton:he.closeButton,icon:he.icon,loader:he.loader},c=n.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const d=c;Object.keys(d).forEach(p=>{i[p]?i[p]=`${i[p]} ${d[p]}`:i[p]=d[p]})}return t.jsx(m.Notification,{ref:o,withCloseButton:s,withBorder:!1,"data-variant":a,classNames:i,loading:!1,...n})});Wt.displayName="Toast";const dl="Tooltip-module__tooltip___UA7H9",pl="Tooltip-module__arrow___4zROk",$o={tooltip:dl,arrow:pl},Lt=function({overStyled:e=!1,withBeak:a=!0,...s}){const r=x(s,e),o={tooltip:$o.tooltip,arrow:$o.arrow},n=r.classNames;if(n&&typeof n=="object"&&!Array.isArray(n)){const p=n;Object.keys(p).forEach(_=>{o[_]?o[_]=`${o[_]} ${p[_]}`:o[_]=p[_]})}const i=r.arrowSize??16,c=r.withArrow,d=a??c;return t.jsx(m.Tooltip,{position:"top",multiline:!0,arrowSize:i,withArrow:d,classNames:o,...r})};Lt.displayName="Tooltip";const _o=Lt;_o.Floating=m.Tooltip.Floating;_o.Group=m.Tooltip.Group;const ml=l=>t.jsx("div",{...l,children:"TransferList"});exports.Accordion=Fe;exports.AccordionControl=Me;exports.AccordionItem=Ue;exports.AccordionPanel=ze;exports.AutoComplete=go;exports.Avatar=Wr;exports.Badge=kr;exports.Breadcrumb=So;exports.Button=qr;exports.Card=Jr;exports.CardContent=eo;exports.CardFooter=Qe;exports.CardHeader=Je;exports.CardSection=Xe;exports.Checkbox=to;exports.CheckboxGroup=oo;exports.Chip=Wo;exports.Container=Lo;exports.DatePicker=ko;exports.Dropdown=Io;exports.EmptyValueRenderer=Ae;exports.FileInput=Ss;exports.FileUpload=As;exports.Flex=Rs;exports.FormControlLayout=ae;exports.Group=zo;exports.HoverCard=ro;exports.Label=Ze;exports.Layer=Po;exports.Link=Fs;exports.Loader=Ke;exports.Menu=xe;exports.Modal=le;exports.NumberInput=et;exports.Pagination=ee;exports.Panel=oe;exports.PanelFooter=no;exports.Popover=lo;exports.RECURSICA_COMPONENTS=hr;exports.Radio=co;exports.RadioGroup=io;exports.ReadOnlyBooleanField=yt;exports.ReadOnlyField=Ye;exports.ReadOnlySwitchField=bt;exports.ReadOnlyTextField=Se;exports.RecursicaThemeProvider=Nr;exports.SegmentedControl=Va;exports.Slider=ht;exports.Stack=nn;exports.Stepper=Cn;exports.Switch=mo;exports.SwitchGroup=po;exports.Table=Ln;exports.Tabs=Fn;exports.Text=Bn;exports.TextArea=jt;exports.TextField=Tt;exports.TimePicker=Zn;exports.Timeline=Ot;exports.Title=Rt;exports.Toast=Wt;exports.Tooltip=_o;exports.TransferList=ml;exports.WithReadOnlyWrapper=X;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),_=require("react"),u=require("@mantine/core"),Qt=require("@mantine/dates");var Ye=typeof document<"u"?document.currentScript:null;const Jt=["className","classNames","style","styles","vars","p","px","py","pt","pb","pl","pr","bg","c","opacity","ff","fz","fw","lts","ta","lh","fs","tt","td","bd","bdw","bds","bdc","bdr","shadow","w","miw","maw","h","mih","mah"],jo=new Set(["m","my","mx","mt","mb","ml","mr","gap","rowGap","columnGap","top","left","bottom","right"]),ze={"rec-none":"var(--recursica_brand_dimensions_general_none)","rec-sm":"var(--recursica_brand_dimensions_general_sm)","rec-default":"var(--recursica_brand_dimensions_general_default)","rec-md":"var(--recursica_brand_dimensions_general_md)","rec-lg":"var(--recursica_brand_dimensions_general_lg)","rec-xl":"var(--recursica_brand_dimensions_general_xl)","rec-2xl":"var(--recursica_brand_dimensions_general_2xl)"};function Qe(n){const e={...n};for(const[a,r]of Object.entries(e))typeof r=="string"&&r.startsWith("rec-")&&jo.has(a)&&r in ze&&(e[a]=ze[r]);return e}function $(n,e){if(e)return n;const a={...n};for(const r of Jt)r in a&&delete a[r];for(const[r,o]of Object.entries(a))typeof o=="string"&&o.startsWith("rec-")&&jo.has(r)&&o in ze&&(a[r]=ze[o]);return a}const er="Accordion-module__root___Dem6d",or="Accordion-module__item___7ryVk",tr="Accordion-module__noDivider___Ni2tT",rr="Accordion-module__control___b4wgX",sr="Accordion-module__label___Ss7uW",ar="Accordion-module__chevron___i-HVZ",nr="Accordion-module__iconLeftWrapper___5oLen",lr="Accordion-module__panel___Wx50w",ir="Accordion-module__content___PEM9t",se={root:er,item:or,noDivider:tr,control:rr,label:sr,chevron:ar,iconLeftWrapper:nr,panel:lr,content:ir},So=function({variant:e="unstyled",overStyled:a=!1,...r}){const o=$(r,a),t={root:se.root,item:se.item,control:se.control,label:se.label,chevron:se.chevron,panel:se.panel,content:se.content},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const c=l;Object.keys(c).forEach(d=>{t[d]?t[d]=`${t[d]} ${c[d]}`:t[d]=c[d]})}const i=o.className;return s.jsx(u.Accordion,{variant:e,className:i,classNames:t,...o})};So.displayName="Accordion";const Je=_.forwardRef(function({title:e,leftIcon:a,divider:r=!0,children:o,overStyled:t=!1,...l},i){const c=$(l,t),d=c.className,p=[r?void 0:se.noDivider,d].filter(Boolean).join(" ")||void 0;return s.jsx(u.Accordion.Item,{ref:i,className:p,...c,children:e?s.jsxs(s.Fragment,{children:[s.jsx(Be,{leftIcon:a,children:e}),s.jsx(De,{children:o})]}):o})});Je.displayName="AccordionItem";const Be=_.forwardRef(function({leftIcon:e,children:a,overStyled:r=!1,...o},t){const l=$(o,r),i=l.className;return s.jsx(u.Accordion.Control,{ref:t,className:i,icon:e?s.jsx("span",{className:se.iconLeftWrapper,"aria-hidden":!0,children:e}):void 0,...l,children:a})});Be.displayName="AccordionControl";const De=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o.className;return s.jsx(u.Accordion.Panel,{ref:r,className:t,...o})});De.displayName="AccordionPanel";const Ve=So;Ve.Item=Je;Ve.Control=Be;Ve.Panel=De;const cr="Label-module__root___e6HXZ",dr="Label-module__labelText___rieFR",pr="Label-module__required___Ggrzc",ur="Label-module__optionalText___Y2yun",mr="Label-module__actionAreaWrapper___ELoZK",_r="Label-module__editIconWrapper___NG2xW",K={root:cr,labelText:dr,required:pr,optionalText:ur,actionAreaWrapper:mr,editIconWrapper:_r},eo=_.forwardRef(function({labelSize:e="default",labelAlignment:a,required:r=!1,labelOptionalText:o,labelWithEditIcon:t,labelActionArea:l,onLabelEditClick:i,children:c,overStyled:d=!1,...p},m){const N=a||"left";let y;r||(o===!0?y="optional":o&&(y=o));const f=$(p,d),b=f,w={label:K.root,required:K.required},C=b.classNames;if(C&&typeof C=="object"&&!Array.isArray(C)){const A=C;w.label=A.label?`${K.root} ${A.label}`:K.root,w.required=A.required?`${K.required} ${A.required}`:K.required}const v=b.className,h=v?`${K.root} ${v}`:K.root;return s.jsxs(u.Input.Label,{ref:m,className:h,classNames:w,"data-size":e,"data-alignment":N,required:r&&!t,...f,children:[s.jsx("span",{className:K.labelText,children:c}),y&&s.jsx("span",{className:K.optionalText,children:typeof y=="string"?`(${y})`:y}),l?s.jsx("span",{className:K.actionAreaWrapper,children:l}):t?s.jsx("button",{type:"button",className:K.editIconWrapper,"data-replaces-asterisk":r?"true":void 0,onClick:i,"aria-label":"Edit",children:s.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M11.5303 2.46967C11.8232 2.17678 12.2981 2.17678 12.591 2.46967L13.5303 3.40898C13.8232 3.70188 13.8232 4.17675 13.5303 4.46964L5.61288 12.3871C5.45268 12.5473 5.24434 12.6483 5.01809 12.6766L2.39534 13.0044C2.10091 13.0412 1.83856 12.7789 1.87538 12.4845L2.2032 9.86175C2.23147 9.63551 2.3325 9.42716 2.4927 9.26696L11.5303 2.46967Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})})}):null]})});eo.displayName="Label";const fr="FormControlLayout-module__root___yNDhZ",yr="FormControlLayout-module__leftSection___GBM1r",br="FormControlLayout-module__rightSection___bcL4v",We={root:fr,leftSection:yr,rightSection:br},ne=_.forwardRef(function({formLayout:e="stacked",labelSize:a="default",controlMaxWidth:r,controlMinWidth:o,leftSection:t,children:l,className:i,style:c,...d},p){const m=i?`${We.root} ${i}`:We.root,y=t!=null||e==="side-by-side";return s.jsxs("div",{ref:p,className:m,"data-form-layout":e,style:{...c,...r?{"--form-control-max-width":r}:{},...o?{"--form-control-min-width":o}:{}},...d,children:[y&&s.jsx("div",{className:We.leftSection,"data-size":a,children:t}),s.jsx("div",{className:We.rightSection,children:l})]})});ne.displayName="FormControlLayout";const hr="AssistiveElement-module__root___WhQ43",Nr="AssistiveElement-module__textWrapper___sfy5E",$r="AssistiveElement-module__iconWrapper___gObRF",Ze={root:hr,textWrapper:Nr,iconWrapper:$r},vr=()=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("circle",{cx:"12",cy:"12",r:"10"}),s.jsx("path",{d:"M12 16v-4"}),s.jsx("path",{d:"M12 8h.01"})]}),xr=()=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),s.jsx("path",{d:"M12 9v4"}),s.jsx("path",{d:"M12 17h.01"})]}),Ke=_.forwardRef(function({assistiveVariant:e="help",assistiveWithIcon:a=!0,children:r,className:o,overStyled:t=!1,...l},i){const d=$(l,t),p=Ze.root,m=o?`${p} ${o}`:p,N=e==="error"?xr:vr;return s.jsxs("div",{ref:i,className:m,"data-variant":e,style:d.style,...d,children:[a&&s.jsx("span",{className:Ze.iconWrapper,children:s.jsx(N,{})}),s.jsx("span",{className:Ze.textWrapper,children:r})]})});Ke.displayName="AssistiveElement";const Cr="FormControlWrapper-module__root___c-UHo",wr="FormControlWrapper-module__inputSection___HenXk",Co={root:Cr,inputSection:wr},Ee=_.forwardRef(function({formLayout:e,labelSize:a,labelAlignment:r,labelOptionalText:o,labelWithEditIcon:t,labelActionArea:l,onLabelEditClick:i,label:c,description:d,assistiveText:p,assistiveWithIcon:m=!0,controlMaxWidth:N,controlMinWidth:y,error:f,required:b,withAsterisk:w,id:C,children:v,className:h,overStyled:A=!1,labelElement:x,...W},R){const S=_.useId(),L=C||`recursica-fc-${S}`,O=p||d,g=O?`${L}-assistive`:void 0,T=f?`${L}-error`:void 0,z=$(W,A),j=h||z.className,be=Co.root,he=j?`${be} ${j}`:be,U=_.isValidElement(v)?_.cloneElement(v,{...O&&!v.props["aria-describedby"]?{"aria-describedby":g}:{},...f&&!v.props["aria-errormessage"]?{"aria-errormessage":T}:{}}):v,qe=c?s.jsx(eo,{id:L,labelAlignment:r,labelOptionalText:o,labelWithEditIcon:t,labelActionArea:l,onLabelEditClick:i,required:w??b,...x==="div"?{as:"div"}:{},children:c}):void 0;return s.jsx(ne,{ref:R,className:he,formLayout:e,labelSize:a,controlMaxWidth:N,controlMinWidth:y,leftSection:qe,...z,children:s.jsxs("div",{className:Co.inputSection,children:[U,f&&s.jsx(Ke,{id:T,assistiveVariant:"error",assistiveWithIcon:m,children:f}),!f&&O&&s.jsx(Ke,{id:g,assistiveVariant:"help",assistiveWithIcon:m,children:O})]})})});Ee.displayName="FormControlWrapper";const Pr="_root_1qhn7_3",gr="_contents_1qhn7_18",Pe={root:Pr,contents:gr},Ao=_.forwardRef(function({layer:n,contentsOnly:e,children:a,className:r,style:o,...t},l){const i=e?r?`${Pe.root} ${Pe.contents} ${r}`:`${Pe.root} ${Pe.contents}`:r?`${Pe.root} ${r}`:Pe.root;return s.jsx("div",{ref:l,className:i,style:o,...e?{}:{"data-recursica-layer":String(n)},...t,children:a})});Ao.displayName="Layer";const Le=({emptyText:n="N/A"})=>s.jsx(_.Fragment,{children:n});Le.displayName="EmptyValueRenderer";Le.check=n=>n==null||n===""||Array.isArray(n)&&n.length===0;const Tr={BASE_URL:"/",DEV:!1,MODE:"library",PROD:!0,SSR:!1,VITE_PLUGIN_MODE:"production",VITE_PLUGIN_PHRASE:"recursica_plugin_@K9mX7pQw2VbN8fRt3LzY6HjE4CuA5DsG1WvM9nP0XcB7",VITE_PLUGIN_PHRASE_TEST:"recursica_plugin_@19866374",VITE_RECURSICA_API_TEST:"https://dev-api.recursica.com",VITE_RECURSICA_API_URL:"https://api.recursica.com",VITE_RECURSICA_UI_URL:"https://api.recursica.com"},ye=(()=>{try{if(typeof process<"u"&&process.env&&process.env.NODE_ENV)return process.env.NODE_ENV!=="production"}catch{}try{if({url:typeof document>"u"?require("url").pathToFileURL(__filename).href:Ye&&Ye.tagName.toUpperCase()==="SCRIPT"&&Ye.src||new URL("mantine-adapter.cjs",document.baseURI).href}&&Tr)return!0}catch{}if(typeof window<"u"){const n=window.location.hostname;return n==="localhost"||n==="127.0.0.1"||n.endsWith(".local")}return!1})(),Xe=new Set;let fe=!1;function Ro(n){if(!ye)return console.warn("[Recursica] overStyled highlight is disabled in production builds."),!1;if(fe=n!==void 0?n:!fe,typeof document<"u"){const e=document.documentElement,a=fe?"0 0 0 2px cyan":"none";e.style.setProperty("--recursica-over-styled-shadow",a),console.log(`[Recursica] Highlight outlines toggled: ${fe?"ACTIVE (0 0 0 2px cyan)":"INACTIVE"}`)}else console.warn("[Recursica] document is undefined. Cannot set CSS property.");return Xe.forEach(e=>e()),fe}function jr(){return ye&&fe}function Lo(){const[n,e]=_.useState(fe);return _.useEffect(()=>{if(!ye)return;oo(),to();const a=()=>e(fe);return Xe.add(a),()=>{Xe.delete(a)}},[]),ye&&n}function oo(){if(!ye)return;if(typeof document>"u"){console.warn("[Recursica] document is undefined. Cannot inject overStyled styles.");return}const n="recursica-over-styled-styles";let e=document.getElementById(n);e||(e=document.createElement("style"),e.id=n,e.textContent=`
2
+ :root {
3
+ --recursica-over-styled-shadow: none;
4
+ }
5
+ .recursica-over-styled {
6
+ display: contents !important;
7
+ }
8
+ .recursica-over-styled > * {
9
+ box-shadow: var(--recursica-over-styled-shadow) !important;
10
+ }
11
+ `,document.head.appendChild(e))}function to(){if(!ye)return;if(typeof window>"u"){console.warn("[Recursica] window is undefined. Cannot register console command.");return}const n=e=>{try{e.recursica=e.recursica||{},e.recursica.toggleOverStyled=()=>`[Recursica] Overstyled outline highlight is now: ${Ro()?"ON (cyan 2px box shadow)":"OFF"}`}catch{}};n(window),window.parent&&window.parent!==window&&n(window.parent)}const wo="data-recursica-theme";function Sr({children:n,theme:e="light"}){return _.useEffect(()=>{const a=document.documentElement;return a.setAttribute(wo,e),()=>{a.removeAttribute(wo)}},[e]),_.useEffect(()=>{oo(),to()},[]),s.jsx(s.Fragment,{children:n})}const Ar=["Accordion","AssistiveElement","Autocomplete","Avatar","Badge","Breadcrumb","Button","Card","Checkbox","Chip","Container","DatePicker","Dropdown","EmptyValueRenderer","Flex","FormControlLayout","FormControlWrapper","Group","HoverCard","Label","Layer","Link","Loader","Menu","Modal","NumberInput","Pagination","Panel","Popover","Radio","ReadOnlyField","SegmentedControl","Slider","Stack","Stepper","Switch","Table","Tabs","Text","TextArea","TextField","TimePicker","Timeline","Title","Toast","Tooltip","TransferList"],Rr=(n,e)=>{const a=document.activeElement;return new Promise((r,o)=>{if(e&&e.current){const t=document.createElement("textarea");t.readOnly=!0,t.defaultValue=n,e.current.appendChild(t),t.select();const l=document.execCommand("copy");e.current.removeChild(t),a&&a.focus(),l?r():o(new Error("Failed to copy"))}else o(new Error("Copy area reference is not defined"))})};function P(n){if(!ye||typeof n!="function"&&!(n&&n.$$typeof))return n;const e=_.forwardRef((a,r)=>{const{overStyled:o}=a,t=Lo(),l=_.createElement(n,{...a,ref:r});return o&&t?s.jsx("div",{className:"recursica-over-styled",children:l}):l});return e.displayName=n.displayName||n.name||"Component",e}const Lr="ReadOnlyField-module__layoutOverride___9fSsG",Or="ReadOnlyField-module__textField___qKn25",Fe={layoutOverride:Lr,textField:Or},Me=({value:n,overStyled:e=!1,...a})=>{const r=$(a,e),o=r.className;return s.jsx(u.Box,{component:"p",className:o?`${Fe.textField} ${o}`:Fe.textField,...r,children:n!=null?_.isValidElement(n)?n:Array.isArray(n)?n.join(", "):String(n):""})};Me.displayName="ReadOnlyTextField";const ro=_.forwardRef(function({value:e,type:a="text",emptyValueComponent:r,overStyled:o=!1,className:t,style:l,...i},c){let d=null;const p=$(i,o),m=r||Le,y=(m.check?m.check(e):Le.check(e))?s.jsx(m,{value:e}):e;switch(a){case"boolean":d=s.jsx(Me,{value:e===!0?"True":e===!1?"False":y,overStyled:o});break;case"switch":d=s.jsx(Me,{value:e===!0?"On":e===!1?"Off":y,overStyled:o});break;case"text":default:d=s.jsx(Me,{value:y,overStyled:o});break}const f=t?`${Fe.layoutOverride} ${t}`:Fe.layoutOverride;return s.jsx(Ee,{ref:c,overStyled:o,className:f,style:l,...p,children:d})});ro.displayName="ReadOnlyField";const ee=_.forwardRef(function({readOnly:e,readOnlyComponent:a,readOnlyType:r="text",readOnlyValue:o,readOnlyNativeProps:t,emptyValueComponent:l,activeComponent:i,overStyled:c,onLabelEditClick:d,...p},m){if(e){if(a){const N=a;return s.jsx(Ee,{ref:m,...p,onLabelEditClick:d,overStyled:c,children:s.jsx(N,{...t})})}return s.jsx(ro,{ref:m,type:r,value:o,emptyValueComponent:l,onLabelEditClick:d,overStyled:c,...p})}return s.jsx(Ee,{ref:m,...p,onLabelEditClick:d,overStyled:c,children:i})});ee.displayName="WithReadOnlyWrapper";const Ir="AutoComplete-module__layoutOverride___-K9WL",Wr="AutoComplete-module__root___kANza",kr="AutoComplete-module__input___g51MC",Mr="AutoComplete-module__section___WAbf1",zr="AutoComplete-module__dropdown___NqO3E",Er="AutoComplete-module__option___Y-Kja",D={layoutOverride:Ir,root:Wr,input:kr,section:Mr,dropdown:zr,option:Er},Oo=_.forwardRef(function(e,a){const{overStyled:r=!1,formLayout:o="stacked",labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:w,className:C,style:v,disabled:h,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,value:R,defaultValue:S,...L}=e,O=$(L,r),g=O;delete g.size,delete g.variant,delete g.radius;const T={wrapper:D.root,input:D.input,section:D.section,dropdown:D.dropdown,option:D.option},I=g.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;T.wrapper=j.wrapper?`${D.root} ${j.wrapper}`:D.root,T.input=j.input?`${D.input} ${j.input}`:D.input,T.section=j.section?`${D.section} ${j.section}`:D.section,T.dropdown=j.dropdown?`${D.dropdown} ${j.dropdown}`:D.dropdown,T.option=j.option?`${D.option} ${j.option}`:D.option}const z=C?`${D.layoutOverride} ${C}`:D.layoutOverride;return s.jsx(ee,{className:z,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_autocomplete_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_autocomplete_properties_min-width)",overStyled:r,formLayout:o,labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:w,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:R!==void 0?R:S,readOnlyNativeProps:e,activeComponent:s.jsx(u.Autocomplete,{ref:a,classNames:T,disabled:h,value:R,defaultValue:S,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":y?"true":void 0},...O})})});Oo.displayName="AutoComplete";const Fr="Avatar-module__root___fXu-J",Br="Avatar-module__iconWrapper___ojly2",Dr="Avatar-module__textWrapper___zp-jD",Vr="Avatar-module__image___ieqGp",Gr="Avatar-module__placeholder___IDW7-",Q={root:Fr,iconWrapper:Br,textWrapper:Dr,image:Vr,placeholder:Gr},Io=_.forwardRef(function({size:e="default",variant:a="solid",icon:r,children:o,src:t,overStyled:l=!1,...i},c){const d={solid:"filled",outline:"outline",ghost:"transparent"},p={default:"md",small:"sm",large:"lg"},m=$(i,l),N=m;let y="text";t?y="image":r&&(y="icon");const f={root:Q.root,image:Q.image,placeholder:Q.placeholder},b=N.classNames;if(b&&typeof b=="object"&&!Array.isArray(b)){const C=b;f.root=C.root?`${Q.root} ${C.root}`:Q.root,f.image=C.image?`${Q.image} ${C.image}`:Q.image,f.placeholder=C.placeholder?`${Q.placeholder} ${C.placeholder}`:Q.placeholder}const w=N.className;return s.jsx(u.Avatar,{ref:c,className:w,classNames:f,variant:d[a],size:p[e],src:t,"data-variant":a,"data-size":e,"data-style":y,...m,children:r!=null?s.jsx("span",{className:Q.iconWrapper,"aria-hidden":!0,children:r}):o!=null?s.jsx("span",{className:Q.textWrapper,children:o}):void 0})});Io.displayName="Avatar";const Hr=u.createPolymorphicComponent(Io),qr="Badge-module__root___5osNT",re={root:qr},Wo=_.forwardRef(function({variant:e="primary-color",overStyled:a=!1,...r},o){const t=$(r,a),l={root:re.root,section:re.section,label:re.label},i=t.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const p=i;l.root=p.root?`${re.root} ${p.root}`:re.root,l.section=p.section??re.section,l.label=p.label??re.label}const c=t.className,d=c?`${re.root} ${c}`:re.root;return s.jsx(u.Badge,{ref:o,variant:"filled","data-variant":e,...t,className:d,classNames:l})});Wo.displayName="Badge";const Ur=u.createPolymorphicComponent(Wo),Yr="Breadcrumb-module__root___x-9ln",Zr="Breadcrumb-module__separator___qrUX-",pe={root:Yr,separator:Zr},ko=_.forwardRef(function({overStyled:e=!1,separator:a=">",...r},o){const t=$({separator:a,...r},e),l={root:pe.root,separator:pe.separator},i=t.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const p=i;l.root=p.root?`${pe.root} ${p.root}`:pe.root,l.separator=p.separator?`${pe.separator} ${p.separator}`:pe.separator}const c=t.className,d=c?`${pe.root} ${c}`:pe.root;return s.jsx(u.Breadcrumbs,{ref:o,...t,className:d,classNames:l})});ko.displayName="Breadcrumb";const Kr="Loader-module__root___6iYOP",Te={root:Kr},so=_.forwardRef(function({variant:e="oval",size:a="default",overStyled:r=!1,...o},t){const i={sm:"small",md:"default",lg:"large",small:"small",default:"default",large:"large"}[a]||"default",c=$(o,r),d={root:Te.root},p=c.classNames;if(p&&typeof p=="object"&&!Array.isArray(p)){const y=p;d.root=y.root?`${Te.root} ${y.root}`:Te.root}const m=c.className,N=m?`${Te.root} ${m}`:Te.root;return s.jsx(u.Loader,{ref:t,type:e,"data-variant":e,"data-size":i,...c,className:N,classNames:d})});so.displayName="Loader";const Xr="Button-module__root___Q2R8-",Qr="Button-module__loader___X-9u-",Jr="Button-module__label___UJ3Zt",es="Button-module__labelText___rFV5p",os="Button-module__iconWrapper___uEKPa",ts="Button-module__section___f2mKr",X={root:Xr,loader:Qr,label:Jr,labelText:es,iconWrapper:os,section:ts};function rs(n){return n==null||n===""?!1:typeof n=="string"?n.trim()!=="":!0}const Mo=_.forwardRef(function({variant:e="solid",size:a="default",icon:r,children:o,overStyled:t=!1,loaderVariant:l="oval",loaderSize:i,useRecursicaLoader:c=!0,...d},p){const m={solid:"filled",outline:"outline",text:"subtle"},N={default:"md",small:"sm"},y=$(d,t),f=y;delete f.fullWidth;const b=!!r||!!f.leftSection,w=!!f.rightSection,C=rs(o),v=(b||w)&&!C;let h="label";v?h="icon-only":(b||w)&&(h="icon-label"),typeof process<"u"&&process.env.NODE_ENV!=="production"&&v&&!f["aria-label"]&&console.warn('[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").');const A={root:X.root,section:X.section,label:X.label,loader:X.loader},x=f.classNames;if(x&&typeof x=="object"&&!Array.isArray(x)){const g=x;A.root=g.root?`${X.root} ${g.root}`:X.root,A.section=g.section??X.section,A.label=g.label??X.label}const W=f.className,R=W?`${X.root} ${W}`:X.root,S=f.loaderProps,L=i??(a==="small"?"small":"default");let O=S;return c&&(O={children:s.jsx(so,{variant:l,size:L}),...S}),s.jsx(u.Button,{ref:p,className:R,classNames:A,variant:m[e],size:N[a],loaderProps:O,leftSection:r!=null?s.jsx("span",{className:X.iconWrapper,"aria-hidden":!0,children:r}):void 0,"data-variant":e,"data-size":a,"data-content":h,...y,disabled:!!f.disabled||!!f.loading,children:s.jsx("span",{className:X.labelText,children:o})})});Mo.displayName="Button";const ss=u.createPolymorphicComponent(Mo),as="Card-module__root___c9KvZ",ns="Card-module__header___PTXf2",ls="Card-module__footer___Mu-JC",is="Card-module__section___BRT8H",cs="Card-module__content___oFIQa",le={root:as,header:ns,footer:ls,section:is,content:cs},zo=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e);["flex","flexGrow","flexShrink","flexBasis","grow","h","height"].forEach(d=>{d in a&&!(d in o)&&(o[d]=a[d])});const l={root:le.root},i=o.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const d=i;Object.keys(d).forEach(p=>{l[p]?l[p]=`${l[p]} ${d[p]}`:l[p]=d[p]})}const c=o.className;return s.jsx(u.Card,{ref:r,className:c,classNames:l,...o})});zo.displayName="Card";const Eo=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o.className;return s.jsx(u.Card.Section,{ref:r,className:t?`${le.section} ${t}`:le.section,...o})});Eo.displayName="CardSection";const Fo=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o.className;return s.jsx(u.Card.Section,{ref:r,className:t?`${le.header} ${t}`:le.header,...o})});Fo.displayName="CardHeader";const Bo=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o.className;return s.jsx(u.Card.Section,{ref:r,className:t?`${le.footer} ${t}`:le.footer,...o})});Bo.displayName="CardFooter";const Do=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o.className;return s.jsx("div",{ref:r,className:t?`${le.content} ${t}`:le.content,...o})});Do.displayName="CardContent";const Vo=u.createPolymorphicComponent(zo),Ge=Vo;Ge.Section=Eo;Ge.Header=Fo;Ge.Footer=Bo;Ge.Content=Do;const ds=Vo,ps="Checkbox-module__groupRoot___cBS0o",us="Checkbox-module__root___mY3qk",ms="Checkbox-module__body___5yC7q",_s="Checkbox-module__inner___rTke4",fs="Checkbox-module__input___2kt-h",ys="Checkbox-module__icon___-O7i6",bs="Checkbox-module__labelWrapper___GpZkr",hs="Checkbox-module__label___cwRtI",E={groupRoot:ps,root:us,body:ms,inner:_s,input:fs,icon:ys,labelWrapper:bs,label:hs},ao=_.forwardRef(function(e,a){const{overStyled:r=!1,formLayout:o="stacked",labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:w,id:C,className:v,style:h,children:A,readOnly:x,readOnlyComponent:W,emptyValueComponent:R,value:S,defaultValue:L,...O}=e,g=$(O,r),T=g;return delete T.size,s.jsx(ee,{className:v,style:h,controlMaxWidth:"var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",controlMinWidth:void 0,overStyled:r,labelElement:"div",formLayout:o,labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:w,id:C,readOnly:x&&!!W,readOnlyComponent:W,emptyValueComponent:R,readOnlyType:"text",readOnlyValue:S!==void 0?S:L,readOnlyNativeProps:e,activeComponent:s.jsx(u.Checkbox.Group,{ref:a,...g,disabled:x||T.disabled,value:S,defaultValue:L,children:s.jsx("div",{className:E.groupRoot,"data-layout":o,children:A})})})});ao.displayName="CheckboxGroup";const no=_.forwardRef(function(e,a){const{overStyled:r=!1,readOnly:o,readOnlyComponent:t,disabled:l,formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,...m}=e,N=$(m,r),y=N;delete y.size,delete y.color,delete y.radius,delete y.variant,delete y.iconColor;const f={root:E.root,body:E.body,inner:E.inner,input:E.input,icon:E.icon,labelWrapper:E.labelWrapper,label:E.label},b=y.classNames;if(b&&typeof b=="object"&&!Array.isArray(b)){const h=b;f.root=h.root?`${E.root} ${h.root}`:E.root,f.body=h.body?`${E.body} ${h.body}`:E.body,f.inner=h.inner?`${E.inner} ${h.inner}`:E.inner,f.input=h.input?`${E.input} ${h.input}`:E.input,f.icon=h.icon?`${E.icon} ${h.icon}`:E.icon,f.labelWrapper=h.labelWrapper?`${E.labelWrapper} ${h.labelWrapper}`:E.labelWrapper,f.label=h.label?`${E.label} ${h.label}`:E.label}const w=y.className,C=w?`${E.root} ${w}`:E.root;if(o&&t){const h=!!(y.checked??y.defaultChecked),A=t,x=s.jsx(A,{...e,checked:h,label:y.label});return i?s.jsx(ne,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:x}):s.jsx(s.Fragment,{children:x})}const v=s.jsx(u.Checkbox,{ref:a,className:C,classNames:f,disabled:o||l,...N});return i?s.jsx(ne,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:v}):v});no.displayName="Checkbox";no.Group=ao;const Ns="Chip-module__root___f5pFk",$s="Chip-module__label___Ov9pg",vs="Chip-module__mantineIconWrapper___KLSz6",xs="Chip-module__innerWrapper___EnrTF",Cs="Chip-module__children___zbRAR",ws="Chip-module__leadingIcon___JBtjQ",Ps="Chip-module__removeIcon___pVju-",H={root:Ns,label:$s,mantineIconWrapper:vs,innerWrapper:xs,children:Cs,leadingIcon:ws,removeIcon:Ps};function gs(n){return s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...n,children:[s.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),s.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}const Go=_.forwardRef(function({error:e=!1,icon:a,onRemove:r,removeLabel:o="Remove",children:t,overStyled:l=!1,...i},c){const d=$(i,l),p=d,m={root:H.root,label:H.label,input:H.input,iconWrapper:H.mantineIconWrapper,checkIcon:H.checkIcon},N=p.classNames;if(N&&typeof N=="object"&&!Array.isArray(N)){const v=N;m.root=v.root?`${H.root} ${v.root}`:H.root,m.label=v.label?`${H.label} ${v.label}`:H.label}const y=p.className,f=y?`${H.root} ${y}`:H.root,b=e?"":void 0,w=!t&&(!!a||!!r),C=p.checked!==void 0||p.defaultChecked!==void 0||r!==void 0||p.onClick!==void 0;return s.jsx(u.Chip,{ref:c,className:f,classNames:m,wrapperProps:b!==void 0?{"data-error":""}:void 0,...w?{"data-icon-only":""}:{},...C?{}:{tabIndex:-1,"aria-hidden":!0},...d,children:s.jsxs("span",{className:H.innerWrapper,children:[a&&s.jsx("span",{className:H.leadingIcon,"aria-hidden":!0,children:a}),s.jsx("span",{className:H.children,children:t}),r&&s.jsx("span",{role:"button",className:H.removeIcon,onClick:v=>{v.preventDefault(),v.stopPropagation(),r(v)},"aria-label":o,onKeyDown:v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),v.stopPropagation(),r(v))},tabIndex:0,children:s.jsx(gs,{})})]})})});Go.displayName="Chip";const Ts="Container-module__root___UVssr",je={root:Ts},Ho=_.forwardRef(function({children:e,size:a,...r},o){const t={"rec-sm":"sm","rec-default":"md","rec-md":"md","rec-lg":"lg","rec-xl":"xl","rec-2xl":"xl"},l=typeof a=="string"&&t[a]?t[a]:a,i={root:je.root},c=r.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const m=c;i.root=m.root?`${je.root} ${m.root}`:je.root}const d=r.className,p=d?`${je.root} ${d}`:je.root;return s.jsx(u.Container,{ref:o,size:l,className:p,classNames:i,...r,children:e})});Ho.displayName="Container";const js="DatePicker-module__layoutOverride___X9yaM",Ss="DatePicker-module__root___6XvRT",As="DatePicker-module__input___pcSW8",Rs="DatePicker-module__section___n3iWA",Ls="DatePicker-module__dropdown___wjt08",Os="DatePicker-module__calendarHeader___KHxno",Is="DatePicker-module__day___U03J2",Y={layoutOverride:js,root:Ss,input:As,section:Rs,dropdown:Ls,calendarHeader:Os,day:Is},qo=_.forwardRef(function(e,a){const{overStyled:r=!1,formLayout:o="stacked",labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:w,className:C,style:v,disabled:h,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,value:R,defaultValue:S,...L}=e,O=$(L,r),g=O;delete g.size,delete g.variant,delete g.radius,delete g.description;const T={wrapper:Y.root,input:Y.input,section:Y.section,dropdown:Y.dropdown,day:Y.day,calendarHeader:Y.calendarHeader},I=g.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;T.wrapper=j.wrapper?`${Y.root} ${j.wrapper}`:Y.root,T.input=j.input?`${Y.input} ${j.input}`:Y.input,T.section=j.section?`${Y.section} ${j.section}`:Y.section}const z=C?`${Y.layoutOverride} ${C}`:Y.layoutOverride;return s.jsx(ee,{className:z,style:v,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:r,formLayout:o,labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:w,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:R!==void 0?String(R):S?String(S):void 0,readOnlyNativeProps:e,activeComponent:s.jsx(Qt.DatePickerInput,{ref:a,classNames:T,disabled:h,value:R,defaultValue:S,label:void 0,description:void 0,error:void 0,withAsterisk:!1,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":y?"true":void 0},...O})})});qo.displayName="DatePicker";const Ws="Dropdown-module__layoutOverride___FNcvP",ks="Dropdown-module__root___uVyL0",Ms="Dropdown-module__input___dK4dN",zs="Dropdown-module__section___j3MRB",Es="Dropdown-module__dropdown___gG-Sw",Fs="Dropdown-module__option___nAGU-",V={layoutOverride:Ws,root:ks,input:Ms,section:zs,dropdown:Es,option:Fs},Uo=_.forwardRef(function(e,a){const{overStyled:r=!1,formLayout:o="stacked",containerWidth:t,labelSize:l,labelAlignment:i,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:w,id:C,className:v,style:h,disabled:A,readOnly:x,readOnlyComponent:W,emptyValueComponent:R,value:S,defaultValue:L,data:O,...g}=e,T=$(g,r),I=T;delete I.size,delete I.variant,delete I.radius;const z={wrapper:V.root,input:V.input,section:V.section,dropdown:V.dropdown,option:V.option},j=I.classNames;if(j&&typeof j=="object"&&!Array.isArray(j)){const U=j;z.wrapper=U.wrapper?`${V.root} ${U.wrapper}`:V.root,z.input=U.input?`${V.input} ${U.input}`:V.input,z.section=U.section?`${V.section} ${U.section}`:V.section,z.dropdown=U.dropdown?`${V.dropdown} ${U.dropdown}`:V.dropdown,z.option=U.option?`${V.option} ${U.option}`:V.option}const be={...h||{},width:t||"100%"},he=v?`${V.layoutOverride} ${v}`:V.layoutOverride;return s.jsx(ee,{className:he,style:be,controlMaxWidth:"var(--recursica_ui-kit_components_dropdown_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_dropdown_properties_min-width)",overStyled:r,formLayout:o,labelSize:l,labelAlignment:i,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:w,id:C,readOnly:x,readOnlyComponent:W,emptyValueComponent:R,readOnlyType:"text",readOnlyValue:S!==void 0?String(S):L?String(L):void 0,readOnlyNativeProps:e,activeComponent:s.jsx(u.Select,{ref:a,classNames:z,disabled:A,value:S,defaultValue:L,data:O||[],label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":A?"true":void 0,"data-error":f?"true":void 0},...T})})});Uo.displayName="Dropdown";const Bs=n=>s.jsx("div",{...n,children:"FileInput"}),Ds=n=>s.jsx("div",{...n,children:"FileUpload"}),Vs="Flex-module__root___yYser",Se={root:Vs},Yo=_.forwardRef(function({children:e,gap:a="rec-default",rowGap:r,columnGap:o,...t},l){const i={root:Se.root},c=t.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const m=c;i.root=m.root?`${Se.root} ${m.root}`:Se.root}const d=t.className,p=d?`${Se.root} ${d}`:Se.root;return s.jsx(u.Flex,{ref:l,className:p,classNames:i,...Qe({gap:a,rowGap:r,columnGap:o,...t}),children:e})});Yo.displayName="Flex";const Gs=u.createPolymorphicComponent(Yo),Hs="Group-module__root___ftO64",Ae={root:Hs},Zo=_.forwardRef(function({children:e,gap:a="rec-default",...r},o){const t={root:Ae.root},l=r.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const d=l;t.root=d.root?`${Ae.root} ${d.root}`:Ae.root}const i=r.className,c=i?`${Ae.root} ${i}`:Ae.root;return s.jsx(u.Group,{ref:o,className:c,classNames:t,...Qe({gap:a,...r}),children:e})});Zo.displayName="Group";const qs="HoverCard-module__dropdown___FBPFW",Us="HoverCard-module__arrow___S9AkE",Po={dropdown:qs,arrow:Us},Ko=function({overStyled:e=!1,withBeak:a=!0,...r}){const o=$(r,e),t={dropdown:Po.dropdown,arrow:Po.arrow},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;Object.keys(p).forEach(m=>{t[m]?t[m]=`${t[m]} ${p[m]}`:t[m]=p[m]})}const i=o.arrowSize??16,c=o.withArrow,d=a??c;return s.jsx(u.HoverCard,{position:"top",arrowSize:i,withArrow:d,classNames:t,...o})};Ko.displayName="HoverCard";const Xo=function(e){return s.jsx(u.HoverCard.Target,{...e})};Xo.displayName="HoverCardTarget";const Qo=function({overStyled:e=!1,...a}){const r=$(a,e),o=r.className;return s.jsx(u.HoverCard.Dropdown,{className:o,...r})};Qo.displayName="HoverCardDropdown";const lo=Ko;lo.Target=Xo;lo.Dropdown=Qo;const Ys="Link-module__root___I0VGE",Zs="Link-module__iconWrapper___W-LlF",Ks="Link-module__labelText___wSvUy",$e={root:Ys,iconWrapper:Zs,labelText:Ks},Jo=_.forwardRef(function({icon:e,children:a,overStyled:r=!1,...o},t){const l=$(o,r),i=l,c={root:$e.root},d=i.classNames;if(d&&typeof d=="object"&&!Array.isArray(d)){const N=d;c.root=N.root?`${$e.root} ${N.root}`:$e.root}const p=i.className,m=p?`${$e.root} ${p}`:$e.root;return s.jsxs(u.Anchor,{ref:t,className:m,classNames:c,underline:"never",...e?{"data-has-icon":""}:{},...l,children:[e&&s.jsx("span",{className:$e.iconWrapper,"aria-hidden":!0,children:e}),s.jsx("span",{className:$e.labelText,children:a})]})});Jo.displayName="Link";const Xs=u.createPolymorphicComponent(Jo),Qs="Menu-module__dropdown___j4xuA",Js="Menu-module__item___NMXha",ea="Menu-module__itemLabel___zvcqC",oa="Menu-module__itemSection___pRIcn",ta="Menu-module__divider___wPiNq",ra="Menu-module__label___4FBGa",sa="Menu-module__chevron___hEEiy",ve={dropdown:Qs,item:Js,itemLabel:ea,itemSection:oa,divider:ta,label:ra,chevron:sa},et=function({overStyled:e=!1,...a}){const r=$(a,e),o={dropdown:ve.dropdown,item:ve.item,itemLabel:ve.itemLabel,itemSection:ve.itemSection,divider:ve.divider,label:ve.label,chevron:ve.chevron},t=r.classNames;if(t&&typeof t=="object"&&!Array.isArray(t)){const l=t;Object.keys(l).forEach(i=>{o[i]?o[i]=`${o[i]} ${l[i]}`:o[i]=l[i]})}return s.jsx(u.Menu,{classNames:o,...r})};et.displayName="Menu";const ot=function(e){return s.jsx(u.Menu.Target,{...e})};ot.displayName="MenuTarget";const tt=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o.className;return s.jsx(u.Menu.Dropdown,{ref:r,className:t,...o})});tt.displayName="MenuDropdown";const rt=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o;e||delete t.color;const l=t.className;return s.jsx(u.Menu.Item,{ref:r,className:l,...o})});rt.displayName="MenuItem";const aa=u.createPolymorphicComponent(rt),st=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o.className;return s.jsx(u.Menu.Divider,{ref:r,className:t,...o})});st.displayName="MenuDivider";const at=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o.className;return s.jsx(u.Menu.Label,{ref:r,className:t,...o})});at.displayName="MenuLabel";const nt=function(e){return s.jsx(u.Menu.Sub,{...e})};nt.displayName="MenuSub";const lt=function(e){return s.jsx(u.Menu.Sub.Target,{...e})};lt.displayName="MenuSubTarget";const it=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o;e||delete t.color;const l=t.className;return s.jsx(u.Menu.Sub.Item,{ref:r,className:l,...o})});it.displayName="MenuSubItem";const na=u.createPolymorphicComponent(it),ct=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o.className;return s.jsx(u.Menu.Sub.Dropdown,{ref:r,className:t,...o})});ct.displayName="MenuSubDropdown";const He=nt;He.Target=lt;He.Item=na;He.Dropdown=ct;const we=et;we.Target=ot;we.Dropdown=tt;we.Item=aa;we.Divider=st;we.Label=at;we.Sub=He;const la="Modal-module__root___ytPLl",ia="Modal-module__inner___SSUJE",ca="Modal-module__content___dWO-B",da="Modal-module__header___ILG9i",pa="Modal-module__title___A5OeE",ua="Modal-module__bodyWrapper___5CCL-",ma="Modal-module__scrollArea___KD-hm",_a="Modal-module__footer___rro2w",fa="Modal-module__close___-ER1C",ae={root:la,inner:ia,content:ca,header:da,title:pa,bodyWrapper:ua,scrollArea:ma,footer:_a,close:fa},dt=_.forwardRef(function({overStyled:e=!1,children:a,title:r,withCloseButton:o=!0,overlayProps:t,withOverlay:l=!0,closeButtonProps:i,...c},d){const p=$(c,e),m={root:ae.root,inner:ae.inner,content:ae.content,header:ae.header,title:ae.title,close:ae.close},N=p.classNames;if(N&&typeof N=="object"&&!Array.isArray(N)){const y=N;Object.keys(y).forEach(f=>{m[f]?m[f]=`${m[f]} ${y[f]}`:m[f]=y[f]})}return s.jsxs(u.Modal.Root,{ref:d,classNames:m,...p,children:[l&&s.jsx(u.Modal.Overlay,{...t}),s.jsxs(u.Modal.Content,{children:[(r||o)&&s.jsxs(u.Modal.Header,{children:[r&&s.jsx(u.Modal.Title,{children:r}),o&&s.jsx(u.Modal.CloseButton,{...i})]}),s.jsx(co,{children:a})]})]})});dt.displayName="Modal";const io=_.forwardRef(function({className:e,...a},r){return s.jsx("div",{ref:r,className:`${ae.footer} ${e||""}`,...a})});io.displayName="Modal.Footer";const co=_.forwardRef(function({className:e,onScroll:a,children:r,...o},t){const l=_.useRef(null),[i,c]=_.useState(!1),[d,p]=_.useState(!1),m=_.useCallback(()=>{if(l.current){const{scrollTop:b,scrollHeight:w,clientHeight:C}=l.current;c(b>0),p(Math.ceil(b+C)<w)}},[]);_.useEffect(()=>(m(),window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)),[m,r]);const N=b=>{m(),a==null||a(b)};let y=null;const f=[];return _.Children.forEach(r,b=>{var w;_.isValidElement(b)&&(b.type===io||((w=b.type)==null?void 0:w.displayName)==="Modal.Footer")?y=b:f.push(b)}),s.jsxs(u.Modal.Body,{...o,ref:b=>{typeof t=="function"?t(b):t&&(t.current=b)},className:`${ae.bodyWrapper} ${e||""}`,children:[s.jsx("div",{ref:l,onScroll:N,"data-scrolled-top":i||void 0,"data-scrolled-bottom":d||void 0,className:ae.scrollArea,children:f}),y]})});co.displayName="Modal.Body";const ie=dt;ie.Root=u.Modal.Root;ie.Overlay=u.Modal.Overlay;ie.Content=u.Modal.Content;ie.Header=u.Modal.Header;ie.Title=u.Modal.Title;ie.CloseButton=u.Modal.CloseButton;ie.Body=co;ie.Footer=io;const ya="NumberInput-module__layoutOverride___5-9T4",ba="NumberInput-module__root___C6rAn",ha="NumberInput-module__input___Ss8p7",Na="NumberInput-module__section___MijP0",$a="NumberInput-module__controls___8UfQ2",va="NumberInput-module__control___Qre9-",xe={layoutOverride:ya,root:ba,input:ha,section:Na,controls:$a,control:va},pt=_.forwardRef(function(e,a){const{overStyled:r=!1,formLayout:o="stacked",labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:w,className:C,style:v,disabled:h,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,value:R,defaultValue:S,hideControls:L=!1,...O}=e,g=$(O,r),T=g;delete T.size,delete T.variant,delete T.radius;const I={wrapper:xe.root,input:xe.input,section:xe.section,controls:xe.controls,control:xe.control},z=C?`${xe.layoutOverride} ${C}`:xe.layoutOverride;return s.jsx(ee,{className:z,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_number-input_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_number-input_properties_min-width)",overStyled:r,formLayout:o,labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:w,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:R!==void 0?R==null?void 0:R.toString():S==null?void 0:S.toString(),readOnlyNativeProps:e,activeComponent:s.jsx(u.NumberInput,{ref:a,classNames:I,disabled:h,value:R,defaultValue:S,hideControls:L,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":y?"true":void 0,"data-with-left-section":T.leftSection?"true":void 0,"data-with-right-section":T.rightSection||!L?"true":void 0},...g})})});pt.displayName="NumberInput";const xa="Pagination-module__root___ITRjt",Ca="Pagination-module__control___40yNT",wa="Pagination-module__dots___Yl9da",Pa="Pagination-module__iconWithLabel___pLM4O",ga="Pagination-module__baseIcon___Qw3bJ",G={root:xa,control:Ca,dots:wa,iconWithLabel:Pa,baseIcon:ga},Ta="M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z",ja="M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z",Sa="M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z",Aa="M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z",Ra={next:Ta,prev:ja,first:Sa,last:Aa},Oe=({type:n,className:e,...a})=>s.jsx("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",className:`${G.baseIcon} ${e||""}`.trim(),...a,children:s.jsx("path",{d:Ra[n],fill:"currentColor"})}),ut=n=>s.jsxs("div",{className:G.iconWithLabel,children:[s.jsx("span",{children:"Next"}),s.jsx(Oe,{type:"next",...n})]}),mt=n=>s.jsxs("div",{className:G.iconWithLabel,children:[s.jsx(Oe,{type:"prev",...n}),s.jsx("span",{children:"Prev"})]}),_t=n=>s.jsxs("div",{className:G.iconWithLabel,children:[s.jsx(Oe,{type:"first",...n}),s.jsx("span",{children:"First"})]}),ft=n=>s.jsxs("div",{className:G.iconWithLabel,children:[s.jsx("span",{children:"Last"}),s.jsx(Oe,{type:"last",...n})]});function yt(n){const e={root:G.root,control:G.control,dots:G.dots},a=n.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const t=a;e.root=t.root?`${G.root} ${t.root}`:G.root,e.control=t.control?`${G.control} ${t.control}`:G.control,e.dots=t.dots?`${G.dots} ${t.dots}`:G.dots}const r=n.className;return{className:r?`${G.root} ${r}`:G.root,classNames:e}}const bt=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=yt(o);return s.jsx(u.Pagination.Root,{ref:r,className:t.className,classNames:t.classNames,...o})});bt.displayName="Pagination.Root";const ht=_.forwardRef(function({withLabel:e,icon:a,...r},o){const t=a||(e?ut:void 0);return s.jsx(u.Pagination.Next,{ref:o,"data-variant":"text",icon:t,...r})});ht.displayName="Pagination.Next";const Nt=_.forwardRef(function({withLabel:e,icon:a,...r},o){const t=a||(e?mt:void 0);return s.jsx(u.Pagination.Previous,{ref:o,"data-variant":"text",icon:t,...r})});Nt.displayName="Pagination.Previous";const $t=_.forwardRef(function({withLabel:e,icon:a,...r},o){const t=a||(e?_t:void 0);return s.jsx(u.Pagination.First,{ref:o,"data-variant":"text",icon:t,...r})});$t.displayName="Pagination.First";const vt=_.forwardRef(function({withLabel:e,icon:a,...r},o){const t=a||(e?ft:void 0);return s.jsx(u.Pagination.Last,{ref:o,"data-variant":"text",icon:t,...r})});vt.displayName="Pagination.Last";const xt=_.forwardRef(function({overStyled:e=!1,getControlProps:a,withLabels:r,...o},t){const l=$(o,e),i=yt(l),c=p=>{const m={"data-variant":"text"};return a?{...m,...a(p)}:m},d=r?{nextIcon:ut,previousIcon:mt,firstIcon:_t,lastIcon:ft}:{};return s.jsx(u.Pagination,{ref:t,className:i.className,classNames:i.classNames,getControlProps:c,...d,...l})});xt.displayName="Pagination";const oe=xt;oe.Root=bt;oe.Items=u.Pagination.Items;oe.Control=u.Pagination.Control;oe.Dots=u.Pagination.Dots;oe.Next=ht;oe.Previous=Nt;oe.First=$t;oe.Last=vt;oe.Icon=Oe;const La="Panel-module__content___wdGo-",Oa="Panel-module__inner___ruA2b",Ia="Panel-module__header___o7SiC",Wa="Panel-module__title___181OP",ka="Panel-module__titleTruncate___fuP6V Panel-module__title___181OP",Ma="Panel-module__body___SEC3T",za="Panel-module__footer___t6-hz",_e={content:La,inner:Oa,header:Ia,title:Wa,titleTruncate:ka,body:Ma,footer:za},Ct=function({overStyled:e=!1,placement:a="right",keepMounted:r=!0,wrapHeaderText:o=!1,...t}){const l=$(t,e),i={content:_e.content,header:_e.header,title:o?_e.titleTruncate:_e.title,body:_e.body,inner:_e.inner},c=l.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const d=c;Object.keys(d).forEach(p=>{i[p]?i[p]=`${i[p]} ${d[p]}`:i[p]=d[p]})}return s.jsx(u.Drawer,{position:a,keepMounted:r,closeOnClickOutside:t.closeOnClickOutside??!!t.opened,...l,classNames:i})};Ct.displayName="Panel";const po=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o.className,l=t?`${_e.footer} ${t}`:_e.footer;return s.jsx("div",{ref:r,className:l,...o})});po.displayName="PanelFooter";const te=Ct;te.Root=u.Drawer.Root;te.Overlay=u.Drawer.Overlay;te.Content=u.Drawer.Content;te.Header=u.Drawer.Header;te.Title=u.Drawer.Title;te.CloseButton=u.Drawer.CloseButton;te.Body=u.Drawer.Body;te.Stack=u.Drawer.Stack;te.Footer=po;const Ea="Popover-module__dropdown___svhS6",Fa="Popover-module__arrow___5A-0e",go={dropdown:Ea,arrow:Fa},wt=function({overStyled:e=!1,withBeak:a=!0,...r}){const o=$(r,e),t={dropdown:go.dropdown,arrow:go.arrow},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;Object.keys(p).forEach(m=>{t[m]?t[m]=`${t[m]} ${p[m]}`:t[m]=p[m]})}const i=o.arrowSize??16,c=o.withArrow,d=a??c;return s.jsx(u.Popover,{position:"top",arrowSize:i,withArrow:d,classNames:t,...o})};wt.displayName="Popover";const Pt=function(e){return s.jsx(u.Popover.Target,{...e})};Pt.displayName="PopoverTarget";const gt=function({overStyled:e=!1,...a}){const r=$(a,e),o=r.className;return s.jsx(u.Popover.Dropdown,{className:o,...r})};gt.displayName="PopoverDropdown";const uo=wt;uo.Target=Pt;uo.Dropdown=gt;const Ba="Radio-module__groupRoot___bfUii",Da="Radio-module__root___kAjTD",Va="Radio-module__body___q2Wpj",Ga="Radio-module__inner___QaTBB",Ha="Radio-module__radio___MfgN-",qa="Radio-module__icon___DWznm",Ua="Radio-module__labelWrapper___dB0Gi",Ya="Radio-module__label___vAFIP",F={groupRoot:Ba,root:Da,body:Va,inner:Ga,radio:Ha,icon:qa,labelWrapper:Ua,label:Ya},mo=_.forwardRef(function(e,a){const{overStyled:r=!1,formLayout:o="stacked",labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:w,id:C,className:v,style:h,children:A,readOnly:x,readOnlyComponent:W,emptyValueComponent:R,value:S,defaultValue:L,...O}=e,g=$(O,r),T=g;return delete T.size,s.jsx(ee,{className:v,style:h,controlMaxWidth:"var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",controlMinWidth:void 0,overStyled:r,labelElement:"div",formLayout:o,labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:w,id:C,readOnly:x&&!!W,readOnlyComponent:W,emptyValueComponent:R,readOnlyType:"text",readOnlyValue:S!==void 0?S:L,readOnlyNativeProps:e,activeComponent:s.jsx(u.Radio.Group,{ref:a,...g,disabled:x||T.disabled,value:S,defaultValue:L,children:s.jsx("div",{className:F.groupRoot,"data-layout":o,children:A})})})});mo.displayName="RadioGroup";const Za=({className:n,style:e})=>s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:n,style:e,children:s.jsx("circle",{cx:"8",cy:"8",r:"5"})}),_o=_.forwardRef(function(e,a){const{overStyled:r=!1,readOnly:o,readOnlyComponent:t,disabled:l,formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,...m}=e,N=$(m,r),y=N;delete y.size,delete y.color,delete y.radius,delete y.variant,delete y.iconColor;const f={root:F.root,body:F.body,inner:F.inner,radio:F.radio,icon:F.icon,labelWrapper:F.labelWrapper,label:F.label},b=y.classNames;if(b&&typeof b=="object"&&!Array.isArray(b)){const h=b;f.root=h.root?`${F.root} ${h.root}`:F.root,f.body=h.body?`${F.body} ${h.body}`:F.body,f.inner=h.inner?`${F.inner} ${h.inner}`:F.inner,f.radio=h.radio?`${F.radio} ${h.radio}`:F.radio,f.icon=h.icon?`${F.icon} ${h.icon}`:F.icon,f.labelWrapper=h.labelWrapper?`${F.labelWrapper} ${h.labelWrapper}`:F.labelWrapper,f.label=h.label?`${F.label} ${h.label}`:F.label}const w=y.className,C=w?`${F.root} ${w}`:F.root;if(o&&t){const h=!!(y.checked??y.defaultChecked),A=t,x=s.jsx(A,{...e,checked:h,label:y.label});return i?s.jsx(ne,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:x}):s.jsx(s.Fragment,{children:x})}const v=s.jsx(u.Radio,{ref:a,icon:Za,className:C,classNames:f,disabled:o||l,...N});return i?s.jsx(ne,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:v}):v});_o.displayName="Radio";_o.Group=mo;const Ka="SegmentedControl-module__root___JFRhg",Xa="SegmentedControl-module__label___mS17q",Qa="SegmentedControl-module__control___znOdQ",Ja="SegmentedControl-module__indicator___ZMcJy",Z={root:Ka,label:Xa,control:Qa,indicator:Ja};function en(n){const e={root:Z.root,control:Z.control,label:Z.label,indicator:Z.indicator},a=n.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const t=a;e.root=t.root?`${Z.root} ${t.root}`:Z.root,e.control=t.control?`${Z.control} ${t.control}`:Z.control,e.label=t.label?`${Z.label} ${t.label}`:Z.label,e.indicator=t.indicator?`${Z.indicator} ${t.indicator}`:Z.indicator}const r=n.className;return{className:r?`${Z.root} ${r}`:Z.root,classNames:e}}const Tt=_.forwardRef(function({overStyled:e=!1,orientation:a="horizontal",fullWidth:r,...o},t){const l=$(o,e),i=l;delete i.disabled;const c=en(i);return s.jsx(u.SegmentedControl,{ref:t,className:c.className,classNames:c.classNames,orientation:a,fullWidth:r,"data-orientation":a,...l})});Tt.displayName="SegmentedControl";const on=Tt,tn="Slider-module__layoutOverride___zYPun",rn="Slider-module__sliderContainer___y8I0J",sn="Slider-module__sliderTrackWrapper___UHpVh",an="Slider-module__iconWrapper___uqHpC",nn="Slider-module__sliderRoot___LI86H",ln="Slider-module__sliderTrack___oqnlG",cn="Slider-module__sliderBar___TI4VY",dn="Slider-module__sliderThumb___OFn8p",pn="Slider-module__sliderMark___1lM2B",un="Slider-module__minMaxGuide___TaGqz",mn="Slider-module__rightGuideContainer___8dOT8",_n="Slider-module__currentValue___dGV2T",fn="Slider-module__inputField___6x578",yn="Slider-module__readOnlyValue___-ZzMW",k={layoutOverride:tn,sliderContainer:rn,sliderTrackWrapper:sn,iconWrapper:an,sliderRoot:nn,sliderTrack:ln,sliderBar:cn,sliderThumb:dn,sliderMark:pn,minMaxGuide:un,rightGuideContainer:mn,currentValue:_n,inputField:fn,readOnlyValue:yn},bn=({value:n})=>s.jsx("div",{className:k.readOnlyValue,children:n}),jt=_.forwardRef(function(e,a){const{overStyled:r=!1,formLayout:o="stacked",labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,labelActionArea:d,onLabelEditClick:p,label:m,tooltipLabel:N,assistiveText:y,assistiveWithIcon:f,error:b,required:w,withAsterisk:C,id:v,className:h,style:A,disabled:x,readOnly:W,readOnlyComponent:R,emptyValueComponent:S,value:L,defaultValue:O,icon:g,showInput:T=!1,showMinMaxLabels:I=!0,min:z=0,max:j=100,step:be=1,onChange:he,onChangeEnd:U,...qe}=e,[Gt,Ht]=_.useState(()=>L!==void 0?L:O!==void 0?O:z),de=L!==void 0?L:Gt,[qt,Ue]=_.useState(de.toString());_.useEffect(()=>{Ue(de.toString())},[de]);const No=B=>{L===void 0&&Ht(B),he==null||he(B)},Ut=B=>{const vo=B.target.value;Ue(vo);const xo=parseFloat(vo);if(!isNaN(xo)){const Xt=Math.max(z,Math.min(j,xo));No(Xt)}},Yt=()=>{Ue(de.toString())},$o=$(qe,r),ge=$o;delete ge.size,delete ge.variant,delete ge.radius,delete ge.wrapperProps;const Ne={root:k.sliderRoot,track:k.sliderTrack,bar:k.sliderBar,thumb:k.sliderThumb,mark:k.sliderMark,markLabel:k.sliderMarkLabel},Ie=ge.classNames;if(Ie&&typeof Ie=="object"&&!Array.isArray(Ie)){const B=Ie;Ne.root=B.root?`${k.sliderRoot} ${B.root}`:k.sliderRoot,Ne.track=B.track?`${k.sliderTrack} ${B.track}`:k.sliderTrack,Ne.bar=B.bar?`${k.sliderBar} ${B.bar}`:k.sliderBar,Ne.thumb=B.thumb?`${k.sliderThumb} ${B.thumb}`:k.sliderThumb,Ne.mark=B.mark?`${k.sliderMark} ${B.mark}`:k.sliderMark,Ne.markLabel=B.markLabel?`${k.sliderMarkLabel} ${B.markLabel}`:k.sliderMarkLabel}const Zt=h?`${k.layoutOverride} ${h}`:k.layoutOverride,Kt=g?s.jsx("span",{className:k.iconWrapper,"aria-hidden":!0,children:g}):null;return s.jsx(ee,{ref:a,className:Zt,style:A,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:r,formLayout:o,labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,labelActionArea:d,onLabelEditClick:p,label:m,assistiveText:y,assistiveWithIcon:f,error:b,required:w,withAsterisk:C,id:v,readOnly:W,readOnlyComponent:R||bn,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:de,readOnlyNativeProps:{value:de},activeComponent:s.jsxs("div",{className:k.sliderContainer,"data-form-layout":o,"data-disabled":x?"true":void 0,"data-error":b?"true":void 0,children:[Kt,I&&s.jsx("span",{className:k.minMaxGuide,children:z}),s.jsx("div",{className:k.sliderTrackWrapper,children:s.jsx(u.Slider,{classNames:Ne,disabled:x,value:de,onChange:No,onChangeEnd:U,min:z,max:j,step:be,label:N,...$o})}),s.jsxs("div",{className:k.rightGuideContainer,children:[!T&&s.jsx("span",{className:k.currentValue,children:de}),I&&s.jsx("span",{className:k.minMaxGuide,children:j})]}),T&&s.jsx("input",{type:"number",className:k.inputField,value:qt,onChange:Ut,onBlur:Yt,min:z,max:j,step:be,disabled:x,"data-error":b?"true":void 0})]})})});jt.displayName="Slider";const hn="Stack-module__root___NUN-x",Re={root:hn},St=_.forwardRef(function({children:e,gap:a="rec-default",...r},o){const t={root:Re.root},l=r.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const d=l;t.root=d.root?`${Re.root} ${d.root}`:Re.root}const i=r.className,c=i?`${Re.root} ${i}`:Re.root;return s.jsx(u.Stack,{ref:o,className:c,classNames:t,...Qe({gap:a,...r}),children:e})});St.displayName="Stack";const Nn=u.createPolymorphicComponent(St),$n="Stepper-module__root___jbSYO",vn="Stepper-module__horizontal___USHT1",xn="Stepper-module__steps___4HPO6",Cn="Stepper-module__step___s2nqL",wn="Stepper-module__stepBody___TBvys",Pn="Stepper-module__stepLabel___N6nuy",gn="Stepper-module__stepDescription___DnDAy",Tn="Stepper-module__separator___pU0No",jn="Stepper-module__vertical___d4mOs",Sn="Stepper-module__large___J18-y",An="Stepper-module__small___Ub-zb",Rn="Stepper-module__stepIcon___YQHNq",Ln="Stepper-module__stepCompletedIcon___B9MeL",On="Stepper-module__verticalSeparator___frWc1",In="Stepper-module__content___J-h8X",q={root:$n,horizontal:vn,steps:xn,step:Cn,stepBody:wn,stepLabel:Pn,stepDescription:gn,separator:Tn,vertical:jn,large:Sn,small:An,stepIcon:Rn,stepCompletedIcon:Ln,verticalSeparator:On,content:In},At=_.forwardRef(function(e,a){const{overStyled:r=!1,size:o="large",orientation:t="horizontal",className:l,style:i,...c}=e,d=$(c,r);return s.jsx(u.Stepper,{ref:a,orientation:t,className:`${q.root} ${t==="horizontal"?q.horizontal:q.vertical} ${o==="large"?q.large:q.small} ${l||""}`,style:i,"data-size":o,"data-orientation":t,classNames:{steps:q.steps,step:q.step,stepIcon:q.stepIcon,stepCompletedIcon:q.stepCompletedIcon,stepBody:q.stepBody,stepLabel:q.stepLabel,stepDescription:q.stepDescription,separator:q.separator,verticalSeparator:q.verticalSeparator,content:q.content},...d})}),Wn=Object.assign(At,{Step:u.Stepper.Step,Completed:u.Stepper.Completed});At.displayName="Stepper";const kn="Switch-module__root___Y5Ydi",Mn="Switch-module__body___Sw9Wr",zn="Switch-module__track___7ObdZ",En="Switch-module__thumb___-FTeK",Fn="Switch-module__labelWrapper___YSOwx",Bn="Switch-module__label___LrH7V",Dn="Switch-module__thumbIconWrapper___sCY-1",Vn="Switch-module__checkIcon___ZBAQN",Gn="Switch-module__closeIcon___bLLGw",Hn="Switch-module__groupRoot___-Uepi",M={root:kn,body:Mn,track:zn,thumb:En,labelWrapper:Fn,label:Bn,thumbIconWrapper:Dn,checkIcon:Vn,closeIcon:Gn,groupRoot:Hn},fo=_.forwardRef(function(e,a){const{overStyled:r=!1,formLayout:o="stacked",labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:w,id:C,className:v,style:h,children:A,readOnly:x,readOnlyComponent:W,emptyValueComponent:R,value:S,defaultValue:L,...O}=e,g=$(O,r),T=g;return delete T.size,s.jsx(ee,{className:v,style:h,controlMaxWidth:"var(--recursica_ui-kit_components_switch-item_properties_label-max-width)",controlMinWidth:void 0,overStyled:r,labelElement:"div",formLayout:o,labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:w,id:C,readOnly:x&&!!W,readOnlyComponent:W,emptyValueComponent:R,readOnlyType:"text",readOnlyValue:S!==void 0?S:L,readOnlyNativeProps:e,activeComponent:s.jsx(u.Switch.Group,{ref:a,...g,disabled:x||T.disabled,value:S,defaultValue:L,children:s.jsx("div",{className:M.groupRoot,"data-layout":o,children:A})})})});fo.displayName="SwitchGroup";const yo=_.forwardRef(function(e,a){const{overStyled:r=!1,readOnly:o,readOnlyComponent:t,disabled:l,thumbIcon:i,formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:m,...N}=e,y=$(N,r),f=y;delete f.size,delete f.color,delete f.radius,delete f.variant;const b={root:M.root,body:M.body,track:M.track,thumb:M.thumb,trackLabel:M.trackLabel,labelWrapper:M.labelWrapper,label:M.label},w=f.classNames;if(w&&typeof w=="object"&&!Array.isArray(w)){const x=w;b.root=x.root?`${M.root} ${x.root}`:M.root,b.body=x.body?`${M.body} ${x.body}`:M.body,b.track=x.track?`${M.track} ${x.track}`:M.track,b.thumb=x.thumb?`${M.thumb} ${x.thumb}`:M.thumb,b.trackLabel=x.trackLabel?`${M.trackLabel} ${x.trackLabel}`:M.trackLabel,b.labelWrapper=x.labelWrapper?`${M.labelWrapper} ${x.labelWrapper}`:M.labelWrapper,b.label=x.label?`${M.label} ${x.label}`:M.label}const C=f.className,v=C?`${M.root} ${C}`:M.root;if(o&&t){const x=!!(f.checked??f.defaultChecked),W=t,R=s.jsx(W,{...e,checked:x,label:f.label});return c?s.jsx(ne,{formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:R}):s.jsx(s.Fragment,{children:R})}const h=s.jsxs("div",{className:M.thumbIconWrapper,children:[s.jsx(u.CheckIcon,{className:M.checkIcon}),s.jsx(u.CloseIcon,{className:M.closeIcon})]}),A=s.jsx(u.Switch,{ref:a,className:v,classNames:b,disabled:o||l,"data-disabled":o||l||void 0,thumbIcon:i??h,...y});return c?s.jsx(ne,{formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:m,children:A}):A});yo.displayName="Switch";yo.Group=fo;const qn="Table-module__root___aMWWS",Un={root:qn},Rt=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t=o.className,l=Un.root,i=t?`${l} ${t}`:l;return s.jsx(u.Table,{ref:r,className:i,...o})});Rt.displayName="Table";const ce=Rt;ce.Thead=u.Table.Thead;ce.Tbody=u.Table.Tbody;ce.Tr=u.Table.Tr;ce.Th=u.Table.Th;ce.Td=u.Table.Td;ce.Tfoot=u.Table.Tfoot;ce.Caption=u.Table.Caption;ce.ScrollContainer=u.Table.ScrollContainer;const Yn="Tabs-module__root___-VKVI",Zn="Tabs-module__list___qRVME",Kn="Tabs-module__tab___IdDYc",Xn="Tabs-module__panel___08i9c",ke={root:Yn,list:Zn,tab:Kn,panel:Xn},Lt=_.forwardRef(function(e,a){const{variant:r="default",orientation:o="horizontal",overStyled:t=!1,className:l,...i}=e,c=$(i,t);return s.jsx(u.Tabs,{ref:a,variant:r,orientation:o,className:`${ke.root} ${l||""}`,"data-variant":r,"data-orientation":o,classNames:{list:ke.list,tab:ke.tab,panel:ke.panel},...c})});Lt.displayName="Tabs";const Ot=_.forwardRef(function(e,a){const{overStyled:r=!1,...o}=e;return s.jsx(u.Tabs.List,{ref:a,...$(o,r)})});Ot.displayName="Tabs.List";const It=_.forwardRef(function(e,a){const{overStyled:r=!1,...o}=e;return s.jsx(u.Tabs.Tab,{ref:a,...$(o,r)})});It.displayName="Tabs.Tab";const Wt=_.forwardRef(function(e,a){const{overStyled:r=!1,...o}=e;return s.jsx(u.Tabs.Panel,{ref:a,...$(o,r)})});Wt.displayName="Tabs.Panel";const Qn=Object.assign(Lt,{List:Ot,Tab:It,Panel:Wt}),kt=_.forwardRef(function({overStyled:e=!1,variant:a="body",...r},o){const t=$(r,e),l=t.className,i=`recursica_brand_typography_${a}`,c=l?`${i} ${l}`:i;return s.jsx(u.Text,{ref:o,className:c,...t})});kt.displayName="Text";const Jn=u.createPolymorphicComponent(kt),el="TextArea-module__layoutOverride___4MCdm",ol="TextArea-module__root___3dyeu",tl="TextArea-module__input___8l36v",ue={layoutOverride:el,root:ol,input:tl},Mt=_.forwardRef(function(e,a){const{overStyled:r=!1,formLayout:o="stacked",labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:w,className:C,style:v,disabled:h,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,value:R,defaultValue:S,...L}=e,O=$(L,r),g=O;delete g.size,delete g.variant,delete g.radius;const T={wrapper:ue.root,input:ue.input},I=g.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;T.wrapper=j.wrapper?`${ue.root} ${j.wrapper}`:ue.root,T.input=j.input?`${ue.input} ${j.input}`:ue.input}const z=C?`${ue.layoutOverride} ${C}`:ue.layoutOverride;return s.jsx(ee,{className:z,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_textarea_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_textarea_properties_min-width)",overStyled:r,formLayout:o,labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:w,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:R!==void 0?R:S,readOnlyNativeProps:e,activeComponent:s.jsx(u.Textarea,{ref:a,classNames:T,disabled:h,value:R,defaultValue:S,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":y?"true":void 0},...O})})});Mt.displayName="TextArea";const rl="TextField-module__layoutOverride___SNZqc",sl="TextField-module__root___2ZYkG",al="TextField-module__input___RL-My",nl="TextField-module__section___bCIJ0",J={layoutOverride:rl,root:sl,input:al,section:nl},zt=_.forwardRef(function(e,a){const{overStyled:r=!1,formLayout:o="stacked",labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:w,className:C,style:v,disabled:h,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,value:R,defaultValue:S,...L}=e,O=$(L,r),g=O;delete g.size,delete g.variant,delete g.radius;const T={wrapper:J.root,input:J.input,section:J.section},I=g.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;T.wrapper=j.wrapper?`${J.root} ${j.wrapper}`:J.root,T.input=j.input?`${J.input} ${j.input}`:J.input,T.section=j.section?`${J.section} ${j.section}`:J.section}const z=C?`${J.layoutOverride} ${C}`:J.layoutOverride;return s.jsx(ee,{className:z,style:v,controlMaxWidth:"var(--recursica_ui-kit_components_text-field_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_text-field_properties_min-width)",overStyled:r,formLayout:o,labelSize:t,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:w,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:R!==void 0?R:S,readOnlyNativeProps:e,activeComponent:s.jsx(u.Input,{ref:a,classNames:T,disabled:h,value:R,defaultValue:S,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":y?"true":void 0},...O})})});zt.displayName="TextField";const ll=n=>s.jsx("div",{...n,children:"TimePicker"}),il="Timeline-module__root___LwRdZ",cl="Timeline-module__item___T5xdQ",dl="Timeline-module__itemBody___XAV-E",pl="Timeline-module__itemBullet___rPXCy",ul="Timeline-module__itemTitle___GgRRW",ml="Timeline-module__itemContent___vurs-",_l="Timeline-module__description___f9sxV",fl="Timeline-module__timestamp___owiRu",me={root:il,item:cl,itemBody:dl,itemBullet:pl,itemTitle:ul,itemContent:ml,description:_l,timestamp:fl},bo=_.forwardRef(function({overStyled:e=!1,timestamp:a,bulletVariant:r="default",children:o,...t},l){const i=$(t,e),c={item:me.item,itemBody:me.itemBody,itemContent:me.itemContent,itemBullet:me.itemBullet,itemTitle:me.itemTitle},d=i.classNames;if(d&&typeof d=="object"&&!Array.isArray(d)){const m=d;Object.keys(m).forEach(N=>{c[N]?c[N]=`${c[N]} ${m[N]}`:c[N]=m[N]})}const p=a?s.jsxs(s.Fragment,{children:[o&&s.jsx("div",{className:me.description,children:o}),s.jsx("div",{className:me.timestamp,children:a})]}):o;return s.jsx(u.TimelineItem,{ref:l,classNames:c,"data-variant":r,...i,children:p})});bo.displayName="TimelineItem";const Et=_.forwardRef(function({overStyled:e=!1,...a},r){const o=$(a,e),t={root:me.root},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const i=l;Object.keys(i).forEach(c=>{t[c]?t[c]=`${t[c]} ${i[c]}`:t[c]=i[c]})}return s.jsx(u.Timeline,{ref:r,classNames:t,...o})});Et.displayName="Timeline";const Ft=Et;Ft.Item=bo;const Bt=_.forwardRef(function({overStyled:e=!1,order:a=1,...r},o){const t=$(r,e),l=t.className,i=`recursica_brand_typography_h${a}`,c=l?`${i} ${l}`:i;return s.jsx(u.Title,{ref:o,order:a,className:c,...t})});Bt.displayName="Title";const yl="Toast-module__root___MUvfI",bl="Toast-module__icon___VwvE1",hl="Toast-module__loader___8Gxd-",Nl="Toast-module__title___-H6R2",$l="Toast-module__description___-QwfC",vl="Toast-module__closeButton___vGr7g",xl="Toast-module__body___VLkXA",Ce={root:yl,icon:bl,loader:hl,title:Nl,description:$l,closeButton:vl,body:xl},Dt=_.forwardRef(function({overStyled:e=!1,variant:a="default",withCloseButton:r=!0,...o},t){const l=$(o,e),i={root:Ce.root,body:Ce.body,title:Ce.title,description:Ce.description,closeButton:Ce.closeButton,icon:Ce.icon,loader:Ce.loader},c=l.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const d=c;Object.keys(d).forEach(p=>{i[p]?i[p]=`${i[p]} ${d[p]}`:i[p]=d[p]})}return s.jsx(u.Notification,{ref:t,withCloseButton:r,withBorder:!1,"data-variant":a,classNames:i,loading:!1,...l})});Dt.displayName="Toast";const Cl="Tooltip-module__tooltip___UA7H9",wl="Tooltip-module__arrow___4zROk",To={tooltip:Cl,arrow:wl},Vt=function({overStyled:e=!1,withBeak:a=!0,...r}){const o=$(r,e),t={tooltip:To.tooltip,arrow:To.arrow},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;Object.keys(p).forEach(m=>{t[m]?t[m]=`${t[m]} ${p[m]}`:t[m]=p[m]})}const i=o.arrowSize??16,c=o.withArrow,d=a??c;return s.jsx(u.Tooltip,{position:"top",multiline:!0,arrowSize:i,withArrow:d,classNames:t,...o})};Vt.displayName="Tooltip";const ho=Vt;ho.Floating=u.Tooltip.Floating;ho.Group=u.Tooltip.Group;const Pl=n=>s.jsx("div",{...n,children:"TransferList"}),gl=Gs,Tl=Zo,jl=Nn,Sl=Ho,Al=Xs,Rl=Jn,Ll=P(Ve),Ol=P(Je),Il=P(Be),Wl=P(De),kl=P(Oo),Ml=P(Hr),zl=P(Ur),El=P(ko),Fl=P(ss),Bl=P(ds),Dl=P(no),Vl=P(ao),Gl=P(Go),Hl=P(qo),ql=P(Uo),Ul=P(Bs),Yl=P(Ds),Zl=P(ne),Kl=P(lo),Xl=P(so),Ql=P(eo),Jl=P(we),ei=P(ie),oi=P(pt),ti=P(oe),ri=P(te),si=P(po),ai=P(uo),ni=P(_o),li=P(mo),ii=P(ro),ci=P(on),di=P(jt),pi=P(Wn),ui=P(yo),mi=P(fo),_i=P(ce),fi=P(Qn),yi=P(Mt),bi=P(zt),hi=P(ll),Ni=P(Ft),$i=P(bo),vi=P(Bt),xi=P(Dt),Ci=P(ho),wi=P(Pl);exports.Accordion=Ll;exports.AccordionControl=Il;exports.AccordionItem=Ol;exports.AccordionPanel=Wl;exports.AutoComplete=kl;exports.Avatar=Ml;exports.Badge=zl;exports.Breadcrumb=El;exports.Button=Fl;exports.Card=Bl;exports.Checkbox=Dl;exports.CheckboxGroup=Vl;exports.Chip=Gl;exports.Container=Sl;exports.DatePicker=Hl;exports.Dropdown=ql;exports.EmptyValueRenderer=Le;exports.FileInput=Ul;exports.FileUpload=Yl;exports.Flex=gl;exports.FormControlLayout=Zl;exports.Group=Tl;exports.HoverCard=Kl;exports.IS_DEV=ye;exports.Label=Ql;exports.Layer=Ao;exports.Link=Al;exports.Loader=Xl;exports.Menu=Jl;exports.Modal=ei;exports.NumberInput=oi;exports.Pagination=ti;exports.Panel=ri;exports.PanelFooter=si;exports.Popover=ai;exports.RECURSICA_COMPONENTS=Ar;exports.Radio=ni;exports.RadioGroup=li;exports.ReadOnlyField=ii;exports.RecursicaThemeProvider=Sr;exports.SegmentedControl=ci;exports.Slider=di;exports.Stack=jl;exports.Stepper=pi;exports.Switch=ui;exports.SwitchGroup=mi;exports.Table=_i;exports.Tabs=fi;exports.Text=Rl;exports.TextArea=yi;exports.TextField=bi;exports.TimePicker=hi;exports.Timeline=Ni;exports.TimelineItem=$i;exports.Title=vi;exports.Toast=xi;exports.Tooltip=Ci;exports.TransferList=wi;exports.copyToClipboard=Rr;exports.injectOverStyledStyles=oo;exports.isGlobalOverStyledActive=jr;exports.registerOverStyledConsoleCommand=to;exports.toggleGlobalOverStyled=Ro;exports.useGlobalOverStyled=Lo;exports.wrapComponent=P;
2
12
  //# sourceMappingURL=mantine-adapter.cjs.map