@recursica/mantine-adapter 0.33.0 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @recursica/mantine-adapter
2
2
 
3
+ ## 0.34.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f52662b: Updated docs and layout. Added Table
8
+
3
9
  ## 0.33.0
4
10
 
5
11
  ### Minor Changes
package/OVERSTYLING.md ADDED
@@ -0,0 +1,56 @@
1
+ # Over Styling (`overStyled`)
2
+
3
+ By default, all Recursica components are strictly sandboxed. This means they are protected against arbitrary styling configurations (like passing generic React `style` objects, custom `classNames` injections, or using deep Mantine layout hooks like `bg` and `c`). This strict compile-time and run-time enforcement guarantees that your design system tokens remain true across your application.
4
+
5
+ However, there may be edge cases where a developer absolutely must modify a component beyond what the design tokens natively allow. For this, we provide the **escape hatch** property: `overStyled={true}`.
6
+
7
+ ```tsx
8
+ <Button overStyled={true} bg="pink" c="black" radius="xl">
9
+ Unsafe Pink Marketing Button
10
+ </Button>
11
+ ```
12
+
13
+ ## The Core Philosophy
14
+
15
+ **You should not over-style components.** Using `overStyled` explicitly signifies that you are breaking design system rules.
16
+
17
+ 1. **Technical Debt:** If over-styling is required, it should be treated as a short-term workaround. Ideally, the component will be refactored once the required layouts or variants are officially integrated into the core Recursica component library.
18
+ 2. **Auditing & Searching:** Because this pattern creates technical debt, we enforce the explicit `overStyled` boolean. This provides a highly auditable, easily searchable string. Product managers and engineers can quickly grep the codebase for `overStyled` (or the `RecursicaOverStyled` typings) to hunt down components that don't match standard patterns.
19
+ 3. **Highly Custom Components:** If your application genuinely requires massive custom layouts that the UI kit cannot support, **do not hack the Recursica component**. Instead, it is highly encouraged that you import the underlying primitive component directly from `@mantine/core` and construct your independent feature there. While you can utilize raw Recursica CSS variables on these custom components, note that they are not guaranteed to be accurately maintained as Recursica evolves. Keep strict components strict!
20
+
21
+ ## Permitted Layout Properties
22
+
23
+ Unlike deep styling bounds (colors, typography, padding, dimensions), external **layout spacing properties** like margins (`m`, `mt`, `mb`, `mx`) are safely **permitted by default**. This allows integrators to structurally compose components alongside siblings without breaching internal token boundaries.
24
+
25
+ When using layout properties, you have the flexibility to use either ecosystem seamlessly:
26
+
27
+ 1. **Mantine Core Values:** Passing standard Mantine sizes (like `mt="md"`) passes straight through to Mantine natively, allowing you to interface completely normally with a parent application's existing Mantine Theme setup that might fall outside Recursica's scope.
28
+ 2. **Recursica Strict Tokens:** Passing our custom prefixed tokens (like `mt="rec-md"`) signals our internal layout interceptor to securely translate the value directly to our native `recursica_brand_dimensions` CSS variables. This ensures strict design token measurements while sharing the exact same prop interface!
29
+
30
+ Available Recursica layout tokens:
31
+
32
+ - `rec-none` (0px limit)
33
+ - `rec-sm` (0.5x scaling)
34
+ - `rec-default` (1.0x scaling)
35
+ - `rec-md` (1.5x scaling)
36
+ - `rec-lg` (2.0x scaling)
37
+ - `rec-xl` (3.0x scaling)
38
+ - `rec-2xl` (4.0x scaling)
39
+
40
+ ## Primitive Layout Components Exemption
41
+
42
+ Unlike complex UI components (Buttons, Tabs, Inputs) which are strictly protected, **Primitive Layout Components** (`Flex`, `Stack`, `Group`, `Container`) are entirely exempt from the `RecursicaOverStyled` gatekeeper.
43
+
44
+ Because the entire functional purpose of these components is structural layout composition, developers are free to pass any standard Mantine width, height, padding, margin, gap, and alignment property directly to them without needing to flag `overStyled={true}`. The internal custom token mapper (such as converting `gap="rec-md"`) is still active natively on these wrappers.
45
+
46
+ ## Visual Auditing & Highlights (Development Only)
47
+
48
+ To make it easy to spot technical debt and design system violations, Recursica automatically tracks any component that uses the `overStyled={true}` prop.
49
+
50
+ In **development builds**, you can highlight all over-styled components on the page. Open your browser's developer console and run:
51
+
52
+ ```js
53
+ recursica.toggleOverStyled();
54
+ ```
55
+
56
+ This toggles a **cyan 2px box shadow** outline around the children of all over-styled components. The wrapping elements use `display: contents` under the hood to ensure they occupy zero DOM space and do not affect flex, grid, or absolute positioning flow. In production builds, this debugging helper is completely disabled and stripped with zero performance overhead.
package/USAGE.md CHANGED
@@ -18,6 +18,7 @@ import { Button, Stack, Container } from "@recursica/mantine-adapter";
18
18
  ```
19
19
 
20
20
  **Rule:** Do NOT import components directly from `@mantine/core` unless a specific exception has been documented (e.g. `Alert`, which has no planned Recursica equivalent). If you need a standard component, always check the adapter first.
21
+ **Rule** Try to use only Recursica components as much as possible.
21
22
 
22
23
  ## 3. Passing Design Tokens & Layout Constraints
23
24
 
@@ -26,6 +27,8 @@ Our components strictly separate logical structural layouts from visual design t
26
27
  - **DO NOT** try to inject arbitrary styling objects, generic padding/margin properties (`p`, `bg`, `fw`), or custom `classNames` directly into component JSX. The components use `filterStylingProps` to actively strip these out.
27
28
  - **DO** use the defined logical layout properties (like `gap`, `margin`, `mt`, etc.).
28
29
  - When passing sizes to layout wrappers (like `Stack`, `Flex`, `Group`, `Container`), use the `rec-` prefixed sizes explicitly mapped in the library (e.g., `"rec-sm"`, `"rec-default"`, `"rec-md"`, `"rec-lg"`, `"rec-xl"`).
30
+ - **DO NOT** try to pass in styling prop names like styled or className. No external styling should be applied unless absolutely necessary. You must use the `overStyled` prop in order to apply external stylings
31
+ - **DO NOT** directly access Recursica CSS styles, CSS variables, or JSON token definitions to use in your own styling. These are not considered stable and will change between releases.
29
32
 
30
33
  ## 4. The `overStyled` Escape Hatch
31
34
 
@@ -39,12 +42,11 @@ If you encounter an absolute necessity to break out of the design system (e.g.,
39
42
 
40
43
  **Warning:** Using `overStyled` should be treated as technical debt. If you find yourself repeatedly needing it for a specific variant, you should instead switch context and **contribute** that variant natively into the `mantine-adapter`.
41
44
 
42
- ## 5. Fallback Behavior for Missing Components
45
+ See [OVERSTYLING.md](OVERSTYLING.md) for the full philosophy behind this escape hatch, which layout properties are permitted by default, and how to visually audit over-styled components in development builds.
43
46
 
44
- If the adapter does not yet implement a required component:
47
+ ## 5. Fallback Behavior for Missing Components
45
48
 
46
- 1. You may try utilizing standard `recursica_variables_scoped.css` properties on the native Mantine component.
47
- 2. However, **this is not recommended**. The preferred approach is to pause integration, navigate into the `mantine-adapter` package, and natively build the missing wrapper component following the `CONTRIBUTING.md` guidelines.
49
+ If the adapter does not yet implement a required component, the preferred approach is to pause integration, navigate into the `mantine-adapter` package, and natively build the missing wrapper component following the `CONTRIBUTING.md` guidelines. If this is not possible, then utilize the underlying Mantine components directly using the project's preferred styling approach (check setup instructions for details in the project).
48
50
 
49
51
  ## 6. Managing CSS Changes with PostCSS Plugin
50
52
 
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),_=require("react"),u=require("@mantine/core"),er=require("@mantine/dates");var Ye=typeof document<"u"?document.currentScript:null;const or=["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"],So=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,t]of Object.entries(e))typeof t=="string"&&t.startsWith("rec-")&&So.has(a)&&t in ze&&(e[a]=ze[t]);return e}function $(n,e){if(e)return n;const a={...n};for(const t of or)t in a&&delete a[t];for(const[t,o]of Object.entries(a))typeof o=="string"&&o.startsWith("rec-")&&So.has(t)&&o in ze&&(a[t]=ze[o]);return a}const tr="Accordion-module__root___Dem6d",rr="Accordion-module__item___7ryVk",sr="Accordion-module__noDivider___Ni2tT",ar="Accordion-module__control___b4wgX",nr="Accordion-module__label___Ss7uW",lr="Accordion-module__chevron___i-HVZ",ir="Accordion-module__iconLeftWrapper___5oLen",cr="Accordion-module__panel___Wx50w",dr="Accordion-module__content___PEM9t",se={root:tr,item:rr,noDivider:sr,control:ar,label:nr,chevron:lr,iconLeftWrapper:ir,panel:cr,content:dr},Ao=function({variant:e="unstyled",overStyled:a=!1,...t}){const o=$(t,a),r={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=>{r[d]?r[d]=`${r[d]} ${c[d]}`:r[d]=c[d]})}const i=o.className;return s.jsx(u.Accordion,{variant:e,className:i,classNames:r,...o})};Ao.displayName="Accordion";const Je=_.forwardRef(function({title:e,leftIcon:a,divider:t=!0,children:o,overStyled:r=!1,...l},i){const c=$(l,r),d=c.className,p=[t?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:t=!1,...o},r){const l=$(o,t),i=l.className;return s.jsx(u.Accordion.Control,{ref:r,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},t){const o=$(a,e),r=o.className;return s.jsx(u.Accordion.Panel,{ref:t,className:r,...o})});De.displayName="AccordionPanel";const Ve=Ao;Ve.Item=Je;Ve.Control=Be;Ve.Panel=De;const pr="Label-module__root___e6HXZ",ur="Label-module__labelText___rieFR",mr="Label-module__required___Ggrzc",_r="Label-module__optionalText___Y2yun",fr="Label-module__actionAreaWrapper___ELoZK",yr="Label-module__editIconWrapper___NG2xW",K={root:pr,labelText:ur,required:mr,optionalText:_r,actionAreaWrapper:fr,editIconWrapper:yr},eo=_.forwardRef(function({labelSize:e="default",labelAlignment:a,required:t=!1,labelOptionalText:o,labelWithEditIcon:r,labelActionArea:l,onLabelEditClick:i,children:c,overStyled:d=!1,...p},m){const N=a||"left";let y;t||(o===!0?y="optional":o&&(y=o));const f=$(p,d),b=f,P={label:K.root,required:K.required},C=b.classNames;if(C&&typeof C=="object"&&!Array.isArray(C)){const A=C;P.label=A.label?`${K.root} ${A.label}`:K.root,P.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:P,"data-size":e,"data-alignment":N,required:t&&!r,...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}):r?s.jsx("button",{type:"button",className:K.editIconWrapper,"data-replaces-asterisk":t?"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 br="FormControlLayout-module__root___yNDhZ",hr="FormControlLayout-module__leftSection___GBM1r",Nr="FormControlLayout-module__rightSection___bcL4v",We={root:br,leftSection:hr,rightSection:Nr},ne=_.forwardRef(function({formLayout:e="stacked",labelSize:a="default",controlMaxWidth:t,controlMinWidth:o,leftSection:r,children:l,className:i,style:c,...d},p){const m=i?`${We.root} ${i}`:We.root,y=r!=null||e==="side-by-side";return s.jsxs("div",{ref:p,className:m,"data-form-layout":e,style:{...c,...t?{"--form-control-max-width":t}:{},...o?{"--form-control-min-width":o}:{}},...d,children:[y&&s.jsx("div",{className:We.leftSection,"data-size":a,children:r}),s.jsx("div",{className:We.rightSection,children:l})]})});ne.displayName="FormControlLayout";const $r="AssistiveElement-module__root___WhQ43",vr="AssistiveElement-module__textWrapper___sfy5E",xr="AssistiveElement-module__iconWrapper___gObRF",Ze={root:$r,textWrapper:vr,iconWrapper:xr},Cr=()=>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"})]}),wr=()=>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:t,className:o,overStyled:r=!1,...l},i){const d=$(l,r),p=Ze.root,m=o?`${p} ${o}`:p,N=e==="error"?wr:Cr;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:t})]})});Ke.displayName="AssistiveElement";const Pr="FormControlWrapper-module__root___c-UHo",gr="FormControlWrapper-module__inputSection___HenXk",Co={root:Pr,inputSection:gr},Ee=_.forwardRef(function({formLayout:e,labelSize:a,labelAlignment:t,labelOptionalText:o,labelWithEditIcon:r,labelActionArea:l,onLabelEditClick:i,label:c,description:d,assistiveText:p,assistiveWithIcon:m=!0,controlMaxWidth:N,controlMinWidth:y,error:f,required:b,withAsterisk:P,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:t,labelOptionalText:o,labelWithEditIcon:r,labelActionArea:l,onLabelEditClick:i,required:P??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 Tr="_root_1qhn7_3",jr="_contents_1qhn7_18",Pe={root:Tr,contents:jr},Ro=_.forwardRef(function({layer:n,contentsOnly:e,children:a,className:t,style:o,...r},l){const i=e?t?`${Pe.root} ${Pe.contents} ${t}`:`${Pe.root} ${Pe.contents}`:t?`${Pe.root} ${t}`:Pe.root;return s.jsx("div",{ref:l,className:i,style:o,...e?{}:{"data-recursica-layer":String(n)},...r,children:a})});Ro.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 Sr={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}&&Sr)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 Lo(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 Ar(){return ye&&fe}function Oo(){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=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),m=require("react"),u=require("@mantine/core"),Ps=require("@mantine/dates");var Ye=typeof document<"u"?document.currentScript:null;const Ts=["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"],So=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[s,t]of Object.entries(e))typeof t=="string"&&t.startsWith("rec-")&&So.has(s)&&t in ze&&(e[s]=ze[t]);return e}function f(n,e){if(e)return n;const s={...n};for(const t of Ts)t in s&&delete s[t];for(const[t,o]of Object.entries(s))typeof o=="string"&&o.startsWith("rec-")&&So.has(t)&&o in ze&&(s[t]=ze[o]);return s}const gs="Accordion-module__root___Dem6d",js="Accordion-module__item___7ryVk",Ss="Accordion-module__noDivider___Ni2tT",Rs="Accordion-module__control___b4wgX",As="Accordion-module__label___Ss7uW",Os="Accordion-module__chevron___i-HVZ",Ls="Accordion-module__iconLeftWrapper___5oLen",Is="Accordion-module__panel___Wx50w",Ws="Accordion-module__content___PEM9t",re={root:gs,item:js,noDivider:Ss,control:Rs,label:As,chevron:Os,iconLeftWrapper:Ls,panel:Is,content:Ws},Ro=function({variant:e="unstyled",overStyled:s=!1,...t}){const o=f(t,s),a={root:re.root,item:re.item,control:re.control,label:re.label,chevron:re.chevron,panel:re.panel,content:re.content},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const c=l;Object.keys(c).forEach(d=>{a[d]?a[d]=`${a[d]} ${c[d]}`:a[d]=c[d]})}const i=o.className;return r.jsx(u.Accordion,{variant:e,className:i,classNames:a,...o})};Ro.displayName="Accordion";const Je=m.forwardRef(function({title:e,leftIcon:s,divider:t=!0,children:o,overStyled:a=!1,...l},i){const c=f(l,a),d=c.className,p=[t?void 0:re.noDivider,d].filter(Boolean).join(" ")||void 0;return r.jsx(u.Accordion.Item,{ref:i,className:p,...c,children:e?r.jsxs(r.Fragment,{children:[r.jsx(Fe,{leftIcon:s,children:e}),r.jsx(De,{children:o})]}):o})});Je.displayName="AccordionItem";const Fe=m.forwardRef(function({leftIcon:e,children:s,overStyled:t=!1,...o},a){const l=f(o,t),i=l.className;return r.jsx(u.Accordion.Control,{ref:a,className:i,icon:e?r.jsx("span",{className:re.iconLeftWrapper,"aria-hidden":!0,children:e}):void 0,...l,children:s})});Fe.displayName="AccordionControl";const De=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Accordion.Panel,{ref:t,className:a,...o})});De.displayName="AccordionPanel";const Ve=Ro;Ve.Item=Je;Ve.Control=Fe;Ve.Panel=De;const Ms="Label-module__root___e6HXZ",ks="Label-module__labelText___rieFR",zs="Label-module__required___Ggrzc",Bs="Label-module__optionalText___Y2yun",Es="Label-module__actionAreaWrapper___ELoZK",Fs="Label-module__editIconWrapper___NG2xW",K={root:Ms,labelText:ks,required:zs,optionalText:Bs,actionAreaWrapper:Es,editIconWrapper:Fs},eo=m.forwardRef(function({labelSize:e="default",labelAlignment:s,required:t=!1,labelOptionalText:o,labelWithEditIcon:a,labelActionArea:l,onLabelEditClick:i,children:c,overStyled:d=!1,...p},_){const $=s||"left";let b;t||(o===!0?b="optional":o&&(b=o));const y=f(p,d),N=y,P={label:K.root,required:K.required},C=N.classNames;if(C&&typeof C=="object"&&!Array.isArray(C)){const R=C;P.label=R.label?`${K.root} ${R.label}`:K.root,P.required=R.required?`${K.required} ${R.required}`:K.required}const v=N.className,h=v?`${K.root} ${v}`:K.root;return r.jsxs(u.Input.Label,{ref:_,className:h,classNames:P,"data-size":e,"data-alignment":$,required:t&&!a,...y,children:[r.jsx("span",{className:K.labelText,children:c}),b&&r.jsx("span",{className:K.optionalText,children:typeof b=="string"?`(${b})`:b}),l?r.jsx("span",{className:K.actionAreaWrapper,children:l}):a?r.jsx("button",{type:"button",className:K.editIconWrapper,"data-replaces-asterisk":t?"true":void 0,onClick:i,"aria-label":"Edit",children:r.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.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 Ds="FormControlLayout-module__root___yNDhZ",Vs="FormControlLayout-module__leftSection___GBM1r",Gs="FormControlLayout-module__rightSection___bcL4v",We={root:Ds,leftSection:Vs,rightSection:Gs},ne=m.forwardRef(function({formLayout:e="stacked",labelSize:s="default",controlMaxWidth:t,controlMinWidth:o,leftSection:a,children:l,className:i,style:c,...d},p){const _=i?`${We.root} ${i}`:We.root,b=a!=null||e==="side-by-side";return r.jsxs("div",{ref:p,className:_,"data-form-layout":e,style:{...c,...t?{"--form-control-max-width":t}:{},...o?{"--form-control-min-width":o}:{}},...d,children:[b&&r.jsx("div",{className:We.leftSection,"data-size":s,children:a}),r.jsx("div",{className:We.rightSection,children:l})]})});ne.displayName="FormControlLayout";const Hs="AssistiveElement-module__root___WhQ43",qs="AssistiveElement-module__textWrapper___sfy5E",Us="AssistiveElement-module__iconWrapper___gObRF",Ze={root:Hs,textWrapper:qs,iconWrapper:Us},Ys=()=>r.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:[r.jsx("circle",{cx:"12",cy:"12",r:"10"}),r.jsx("path",{d:"M12 16v-4"}),r.jsx("path",{d:"M12 8h.01"})]}),Zs=()=>r.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:[r.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"}),r.jsx("path",{d:"M12 9v4"}),r.jsx("path",{d:"M12 17h.01"})]}),Ke=m.forwardRef(function({assistiveVariant:e="help",assistiveWithIcon:s=!0,children:t,className:o,overStyled:a=!1,...l},i){const d=f(l,a),p=Ze.root,_=o?`${p} ${o}`:p,$=e==="error"?Zs:Ys;return r.jsxs("div",{ref:i,className:_,"data-variant":e,style:d.style,...d,children:[s&&r.jsx("span",{className:Ze.iconWrapper,children:r.jsx($,{})}),r.jsx("span",{className:Ze.textWrapper,children:t})]})});Ke.displayName="AssistiveElement";const Ks="FormControlWrapper-module__root___c-UHo",Xs="FormControlWrapper-module__inputSection___HenXk",Co={root:Ks,inputSection:Xs},Be=m.forwardRef(function({formLayout:e,labelSize:s,labelAlignment:t,labelOptionalText:o,labelWithEditIcon:a,labelActionArea:l,onLabelEditClick:i,label:c,description:d,assistiveText:p,assistiveWithIcon:_=!0,controlMaxWidth:$,controlMinWidth:b,error:y,required:N,withAsterisk:P,id:C,children:v,className:h,overStyled:R=!1,labelElement:x,...W},A){const S=m.useId(),O=C||`recursica-fc-${S}`,L=p||d,T=L?`${O}-assistive`:void 0,g=y?`${O}-error`:void 0,z=f(W,R),j=h||z.className,be=Co.root,Ne=j?`${be} ${j}`:be,U=m.isValidElement(v)?m.cloneElement(v,{...L&&!v.props["aria-describedby"]?{"aria-describedby":T}:{},...y&&!v.props["aria-errormessage"]?{"aria-errormessage":g}:{}}):v,qe=c?r.jsx(eo,{id:O,labelAlignment:t,labelOptionalText:o,labelWithEditIcon:a,labelActionArea:l,onLabelEditClick:i,required:P??N,...x==="div"?{as:"div"}:{},children:c}):void 0;return r.jsx(ne,{ref:A,className:Ne,formLayout:e,labelSize:s,controlMaxWidth:$,controlMinWidth:b,leftSection:qe,...z,children:r.jsxs("div",{className:Co.inputSection,children:[U,y&&r.jsx(Ke,{id:g,assistiveVariant:"error",assistiveWithIcon:_,children:y}),!y&&L&&r.jsx(Ke,{id:T,assistiveVariant:"help",assistiveWithIcon:_,children:L})]})})});Be.displayName="FormControlWrapper";const Qs="_root_1qhn7_3",Js="_contents_1qhn7_18",Pe={root:Qs,contents:Js},Ao=m.forwardRef(function({layer:n,contentsOnly:e,children:s,className:t,style:o,...a},l){const i=e?t?`${Pe.root} ${Pe.contents} ${t}`:`${Pe.root} ${Pe.contents}`:t?`${Pe.root} ${t}`:Pe.root;return r.jsx("div",{ref:l,className:i,style:o,...e?{}:{"data-recursica-layer":String(n)},...a,children:s})});Ao.displayName="Layer";const Oe=({emptyText:n="N/A"})=>r.jsx(m.Fragment,{children:n});Oe.displayName="EmptyValueRenderer";Oe.check=n=>n==null||n===""||Array.isArray(n)&&n.length===0;const er={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}&&er)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 Oo(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,s=fe?"0 0 0 2px cyan":"none";e.style.setProperty("--recursica-over-styled-shadow",s),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 or(){return ye&&fe}function Lo(){const[n,e]=m.useState(fe);return m.useEffect(()=>{if(!ye)return;oo(),to();const s=()=>e(fe);return Xe.add(s),()=>{Xe.delete(s)}},[]),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
2
  :root {
3
3
  --recursica-over-styled-shadow: none;
4
4
  }
@@ -8,5 +8,5 @@
8
8
  .recursica-over-styled > * {
9
9
  box-shadow: var(--recursica-over-styled-shadow) !important;
10
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: ${Lo()?"ON (cyan 2px box shadow)":"OFF"}`}catch{}};n(window),window.parent&&window.parent!==window&&n(window.parent)}const wo="data-recursica-theme";function Rr({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 Lr=["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"],Or=(n,e)=>{const a=document.activeElement;return new Promise((t,o)=>{if(e&&e.current){const r=document.createElement("textarea");r.readOnly=!0,r.defaultValue=n,e.current.appendChild(r),r.select();const l=document.execCommand("copy");e.current.removeChild(r),a&&a.focus(),l?t():o(new Error("Failed to copy"))}else o(new Error("Copy area reference is not defined"))})};function w(n){if(!ye||typeof n!="function"&&!(n&&n.$$typeof))return n;const e=_.forwardRef((t,o)=>{const{overStyled:r}=t,l=Oo(),i=_.createElement(n,{...t,ref:o});return r&&l?s.jsx("div",{className:"recursica-over-styled",children:i}):i});e.displayName=n.displayName||n.name||"Component";const a=Object.keys(n);for(const t of a){if(t==="render"||t==="$$typeof")continue;const o=n[t];(typeof o=="function"||o&&o.$$typeof)&&t[0]===t[0].toUpperCase()?e[t]=w(o):e[t]=o}return e}const Ir="ReadOnlyField-module__layoutOverride___9fSsG",Wr="ReadOnlyField-module__textField___qKn25",Fe={layoutOverride:Ir,textField:Wr},Me=({value:n,overStyled:e=!1,...a})=>{const t=$(a,e),o=t.className;return s.jsx(u.Box,{component:"p",className:o?`${Fe.textField} ${o}`:Fe.textField,...t,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:t,overStyled:o=!1,className:r,style:l,...i},c){let d=null;const p=$(i,o),m=t||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=r?`${Fe.layoutOverride} ${r}`: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:t="text",readOnlyValue:o,readOnlyNativeProps:r,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,{...r})})}return s.jsx(ro,{ref:m,type:t,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 kr="AutoComplete-module__layoutOverride___-K9WL",Mr="AutoComplete-module__root___kANza",zr="AutoComplete-module__input___g51MC",Er="AutoComplete-module__section___WAbf1",Fr="AutoComplete-module__dropdown___NqO3E",Br="AutoComplete-module__option___Y-Kja",D={layoutOverride:kr,root:Mr,input:zr,section:Er,dropdown:Fr,option:Br},Io=_.forwardRef(function(e,a){const{overStyled:t=!1,formLayout:o="stacked",labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:P,className:C,style:v,disabled:h,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,value:R,defaultValue:S,...L}=e,O=$(L,t),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:t,formLayout:o,labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:P,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})})});Io.displayName="AutoComplete";const Dr="Avatar-module__root___fXu-J",Vr="Avatar-module__iconWrapper___ojly2",Gr="Avatar-module__textWrapper___zp-jD",Hr="Avatar-module__image___ieqGp",qr="Avatar-module__placeholder___IDW7-",Q={root:Dr,iconWrapper:Vr,textWrapper:Gr,image:Hr,placeholder:qr},Wo=_.forwardRef(function({size:e="default",variant:a="solid",icon:t,children:o,src:r,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";r?y="image":t&&(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 P=N.className;return s.jsx(u.Avatar,{ref:c,className:P,classNames:f,variant:d[a],size:p[e],src:r,"data-variant":a,"data-size":e,"data-style":y,...m,children:t!=null?s.jsx("span",{className:Q.iconWrapper,"aria-hidden":!0,children:t}):o!=null?s.jsx("span",{className:Q.textWrapper,children:o}):void 0})});Wo.displayName="Avatar";const Ur=u.createPolymorphicComponent(Wo),Yr="Badge-module__root___5osNT",re={root:Yr},ko=_.forwardRef(function({variant:e="primary-color",overStyled:a=!1,...t},o){const r=$(t,a),l={root:re.root,section:re.section,label:re.label},i=r.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=r.className,d=c?`${re.root} ${c}`:re.root;return s.jsx(u.Badge,{ref:o,variant:"filled","data-variant":e,...r,className:d,classNames:l})});ko.displayName="Badge";const Zr=u.createPolymorphicComponent(ko),Kr="Breadcrumb-module__root___x-9ln",Xr="Breadcrumb-module__separator___qrUX-",pe={root:Kr,separator:Xr},Mo=_.forwardRef(function({overStyled:e=!1,separator:a=">",...t},o){const r=$({separator:a,...t},e),l={root:pe.root,separator:pe.separator},i=r.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=r.className,d=c?`${pe.root} ${c}`:pe.root;return s.jsx(u.Breadcrumbs,{ref:o,...r,className:d,classNames:l})});Mo.displayName="Breadcrumb";const Qr="Loader-module__root___6iYOP",Te={root:Qr},so=_.forwardRef(function({variant:e="oval",size:a="default",overStyled:t=!1,...o},r){const i={sm:"small",md:"default",lg:"large",small:"small",default:"default",large:"large"}[a]||"default",c=$(o,t),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:r,type:e,"data-variant":e,"data-size":i,...c,className:N,classNames:d})});so.displayName="Loader";const Jr="Button-module__root___Q2R8-",es="Button-module__loader___X-9u-",os="Button-module__label___UJ3Zt",ts="Button-module__labelText___rFV5p",rs="Button-module__iconWrapper___uEKPa",ss="Button-module__section___f2mKr",X={root:Jr,loader:es,label:os,labelText:ts,iconWrapper:rs,section:ss};function as(n){return n==null||n===""?!1:typeof n=="string"?n.trim()!=="":!0}const zo=_.forwardRef(function({variant:e="solid",size:a="default",icon:t,children:o,overStyled:r=!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,r),f=y;delete f.fullWidth;const b=!!t||!!f.leftSection,P=!!f.rightSection,C=as(o),v=(b||P)&&!C;let h="label";v?h="icon-only":(b||P)&&(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:t!=null?s.jsx("span",{className:X.iconWrapper,"aria-hidden":!0,children:t}):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})})});zo.displayName="Button";const ns=u.createPolymorphicComponent(zo),ls="Card-module__root___c9KvZ",is="Card-module__header___PTXf2",cs="Card-module__footer___Mu-JC",ds="Card-module__section___BRT8H",ps="Card-module__content___oFIQa",le={root:ls,header:is,footer:cs,section:ds,content:ps},Eo=_.forwardRef(function({overStyled:e=!1,...a},t){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:t,className:c,classNames:l,...o})});Eo.displayName="Card";const Fo=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=o.className;return s.jsx(u.Card.Section,{ref:t,className:r?`${le.section} ${r}`:le.section,...o})});Fo.displayName="CardSection";const Bo=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=o.className;return s.jsx(u.Card.Section,{ref:t,className:r?`${le.header} ${r}`:le.header,...o})});Bo.displayName="CardHeader";const Do=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=o.className;return s.jsx(u.Card.Section,{ref:t,className:r?`${le.footer} ${r}`:le.footer,...o})});Do.displayName="CardFooter";const Vo=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=o.className;return s.jsx("div",{ref:t,className:r?`${le.content} ${r}`:le.content,...o})});Vo.displayName="CardContent";const Go=u.createPolymorphicComponent(Eo),Ge=Go;Ge.Section=Fo;Ge.Header=Bo;Ge.Footer=Do;Ge.Content=Vo;const us=Go,ms="Checkbox-module__groupRoot___cBS0o",_s="Checkbox-module__root___mY3qk",fs="Checkbox-module__body___5yC7q",ys="Checkbox-module__inner___rTke4",bs="Checkbox-module__input___2kt-h",hs="Checkbox-module__icon___-O7i6",Ns="Checkbox-module__labelWrapper___GpZkr",$s="Checkbox-module__label___cwRtI",E={groupRoot:ms,root:_s,body:fs,inner:ys,input:bs,icon:hs,labelWrapper:Ns,label:$s},ao=_.forwardRef(function(e,a){const{overStyled:t=!1,formLayout:o="stacked",labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:P,id:C,className:v,style:h,children:A,readOnly:x,readOnlyComponent:W,emptyValueComponent:R,value:S,defaultValue:L,...O}=e,g=$(O,t),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:t,labelElement:"div",formLayout:o,labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:P,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:t=!1,readOnly:o,readOnlyComponent:r,disabled:l,formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,...m}=e,N=$(m,t),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 P=y.className,C=P?`${E.root} ${P}`:E.root;if(o&&r){const h=!!(y.checked??y.defaultChecked),A=r,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 vs="Chip-module__root___f5pFk",xs="Chip-module__label___Ov9pg",Cs="Chip-module__mantineIconWrapper___KLSz6",ws="Chip-module__innerWrapper___EnrTF",Ps="Chip-module__children___zbRAR",gs="Chip-module__leadingIcon___JBtjQ",Ts="Chip-module__removeIcon___pVju-",H={root:vs,label:xs,mantineIconWrapper:Cs,innerWrapper:ws,children:Ps,leadingIcon:gs,removeIcon:Ts};function js(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 Ho=_.forwardRef(function({error:e=!1,icon:a,onRemove:t,removeLabel:o="Remove",children:r,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,P=!r&&(!!a||!!t),C=p.checked!==void 0||p.defaultChecked!==void 0||t!==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,...P?{"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:r}),t&&s.jsx("span",{role:"button",className:H.removeIcon,onClick:v=>{v.preventDefault(),v.stopPropagation(),t(v)},"aria-label":o,onKeyDown:v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),v.stopPropagation(),t(v))},tabIndex:0,children:s.jsx(js,{})})]})})});Ho.displayName="Chip";const Ss="Container-module__root___UVssr",je={root:Ss},qo=_.forwardRef(function({children:e,size:a,...t},o){const r={"rec-sm":"sm","rec-default":"md","rec-md":"md","rec-lg":"lg","rec-xl":"xl","rec-2xl":"xl"},l=typeof a=="string"&&r[a]?r[a]:a,i={root:je.root},c=t.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const m=c;i.root=m.root?`${je.root} ${m.root}`:je.root}const d=t.className,p=d?`${je.root} ${d}`:je.root;return s.jsx(u.Container,{ref:o,size:l,className:p,classNames:i,...t,children:e})});qo.displayName="Container";const As="DatePicker-module__layoutOverride___X9yaM",Rs="DatePicker-module__root___6XvRT",Ls="DatePicker-module__input___pcSW8",Os="DatePicker-module__section___n3iWA",Is="DatePicker-module__dropdown___wjt08",Ws="DatePicker-module__calendarHeader___KHxno",ks="DatePicker-module__day___U03J2",Y={layoutOverride:As,root:Rs,input:Ls,section:Os,dropdown:Is,calendarHeader:Ws,day:ks},Uo=_.forwardRef(function(e,a){const{overStyled:t=!1,formLayout:o="stacked",labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:P,className:C,style:v,disabled:h,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,value:R,defaultValue:S,...L}=e,O=$(L,t),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:t,formLayout:o,labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:P,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:R!==void 0?String(R):S?String(S):void 0,readOnlyNativeProps:e,activeComponent:s.jsx(er.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})})});Uo.displayName="DatePicker";const Ms="Dropdown-module__layoutOverride___FNcvP",zs="Dropdown-module__root___uVyL0",Es="Dropdown-module__input___dK4dN",Fs="Dropdown-module__section___j3MRB",Bs="Dropdown-module__dropdown___gG-Sw",Ds="Dropdown-module__option___nAGU-",V={layoutOverride:Ms,root:zs,input:Es,section:Fs,dropdown:Bs,option:Ds},Yo=_.forwardRef(function(e,a){const{overStyled:t=!1,formLayout:o="stacked",containerWidth:r,labelSize:l,labelAlignment:i,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:P,id:C,className:v,style:h,disabled:A,readOnly:x,readOnlyComponent:W,emptyValueComponent:R,value:S,defaultValue:L,data:O,...g}=e,T=$(g,t),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:r||"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:t,formLayout:o,labelSize:l,labelAlignment:i,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:P,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})})});Yo.displayName="Dropdown";const Vs=n=>s.jsx("div",{...n,children:"FileInput"}),Gs=n=>s.jsx("div",{...n,children:"FileUpload"}),Hs="Flex-module__root___yYser",Se={root:Hs},Zo=_.forwardRef(function({children:e,gap:a="rec-default",rowGap:t,columnGap:o,...r},l){const i={root:Se.root},c=r.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const m=c;i.root=m.root?`${Se.root} ${m.root}`:Se.root}const d=r.className,p=d?`${Se.root} ${d}`:Se.root;return s.jsx(u.Flex,{ref:l,className:p,classNames:i,...Qe({gap:a,rowGap:t,columnGap:o,...r}),children:e})});Zo.displayName="Flex";const qs=u.createPolymorphicComponent(Zo),Us="Group-module__root___ftO64",Ae={root:Us},Ko=_.forwardRef(function({children:e,gap:a="rec-default",...t},o){const r={root:Ae.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const d=l;r.root=d.root?`${Ae.root} ${d.root}`:Ae.root}const i=t.className,c=i?`${Ae.root} ${i}`:Ae.root;return s.jsx(u.Group,{ref:o,className:c,classNames:r,...Qe({gap:a,...t}),children:e})});Ko.displayName="Group";const Ys="HoverCard-module__dropdown___FBPFW",Zs="HoverCard-module__arrow___S9AkE",Po={dropdown:Ys,arrow:Zs},Xo=function({overStyled:e=!1,withBeak:a=!0,...t}){const o=$(t,e),r={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=>{r[m]?r[m]=`${r[m]} ${p[m]}`:r[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:r,...o})};Xo.displayName="HoverCard";const Qo=function(e){return s.jsx(u.HoverCard.Target,{...e})};Qo.displayName="HoverCardTarget";const Jo=function({overStyled:e=!1,...a}){const t=$(a,e),o=t.className;return s.jsx(u.HoverCard.Dropdown,{className:o,...t})};Jo.displayName="HoverCardDropdown";const lo=Xo;lo.Target=Qo;lo.Dropdown=Jo;const Ks="Link-module__root___I0VGE",Xs="Link-module__iconWrapper___W-LlF",Qs="Link-module__labelText___wSvUy",$e={root:Ks,iconWrapper:Xs,labelText:Qs},et=_.forwardRef(function({icon:e,children:a,overStyled:t=!1,...o},r){const l=$(o,t),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:r,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})]})});et.displayName="Link";const Js=u.createPolymorphicComponent(et),ea="Menu-module__dropdown___j4xuA",oa="Menu-module__item___NMXha",ta="Menu-module__itemLabel___zvcqC",ra="Menu-module__itemSection___pRIcn",sa="Menu-module__divider___wPiNq",aa="Menu-module__label___4FBGa",na="Menu-module__chevron___hEEiy",ve={dropdown:ea,item:oa,itemLabel:ta,itemSection:ra,divider:sa,label:aa,chevron:na},ot=function({overStyled:e=!1,...a}){const t=$(a,e),o={dropdown:ve.dropdown,item:ve.item,itemLabel:ve.itemLabel,itemSection:ve.itemSection,divider:ve.divider,label:ve.label,chevron:ve.chevron},r=t.classNames;if(r&&typeof r=="object"&&!Array.isArray(r)){const l=r;Object.keys(l).forEach(i=>{o[i]?o[i]=`${o[i]} ${l[i]}`:o[i]=l[i]})}return s.jsx(u.Menu,{classNames:o,...t})};ot.displayName="Menu";const tt=function(e){return s.jsx(u.Menu.Target,{...e})};tt.displayName="MenuTarget";const rt=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=o.className;return s.jsx(u.Menu.Dropdown,{ref:t,className:r,...o})});rt.displayName="MenuDropdown";const st=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=o;e||delete r.color;const l=r.className;return s.jsx(u.Menu.Item,{ref:t,className:l,...o})});st.displayName="MenuItem";const la=u.createPolymorphicComponent(st),at=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=o.className;return s.jsx(u.Menu.Divider,{ref:t,className:r,...o})});at.displayName="MenuDivider";const nt=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=o.className;return s.jsx(u.Menu.Label,{ref:t,className:r,...o})});nt.displayName="MenuLabel";const lt=function(e){return s.jsx(u.Menu.Sub,{...e})};lt.displayName="MenuSub";const it=function(e){return s.jsx(u.Menu.Sub.Target,{...e})};it.displayName="MenuSubTarget";const ct=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=o;e||delete r.color;const l=r.className;return s.jsx(u.Menu.Sub.Item,{ref:t,className:l,...o})});ct.displayName="MenuSubItem";const ia=u.createPolymorphicComponent(ct),dt=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=o.className;return s.jsx(u.Menu.Sub.Dropdown,{ref:t,className:r,...o})});dt.displayName="MenuSubDropdown";const He=lt;He.Target=it;He.Item=ia;He.Dropdown=dt;const we=ot;we.Target=tt;we.Dropdown=rt;we.Item=la;we.Divider=at;we.Label=nt;we.Sub=He;const ca="Modal-module__root___ytPLl",da="Modal-module__inner___SSUJE",pa="Modal-module__content___dWO-B",ua="Modal-module__header___ILG9i",ma="Modal-module__title___A5OeE",_a="Modal-module__bodyWrapper___5CCL-",fa="Modal-module__scrollArea___KD-hm",ya="Modal-module__footer___rro2w",ba="Modal-module__close___-ER1C",ae={root:ca,inner:da,content:pa,header:ua,title:ma,bodyWrapper:_a,scrollArea:fa,footer:ya,close:ba},pt=_.forwardRef(function({overStyled:e=!1,children:a,title:t,withCloseButton:o=!0,overlayProps:r,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,{...r}),s.jsxs(u.Modal.Content,{children:[(t||o)&&s.jsxs(u.Modal.Header,{children:[t&&s.jsx(u.Modal.Title,{children:t}),o&&s.jsx(u.Modal.CloseButton,{...i})]}),s.jsx(co,{children:a})]})]})});pt.displayName="Modal";const io=_.forwardRef(function({className:e,...a},t){return s.jsx("div",{ref:t,className:`${ae.footer} ${e||""}`,...a})});io.displayName="Modal.Footer";const co=_.forwardRef(function({className:e,onScroll:a,children:t,...o},r){const l=_.useRef(null),[i,c]=_.useState(!1),[d,p]=_.useState(!1),m=_.useCallback(()=>{if(l.current){const{scrollTop:b,scrollHeight:P,clientHeight:C}=l.current;c(b>0),p(Math.ceil(b+C)<P)}},[]);_.useEffect(()=>(m(),window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)),[m,t]);const N=b=>{m(),a==null||a(b)};let y=null;const f=[];return _.Children.forEach(t,b=>{var P;_.isValidElement(b)&&(b.type===io||((P=b.type)==null?void 0:P.displayName)==="Modal.Footer")?y=b:f.push(b)}),s.jsxs(u.Modal.Body,{...o,ref:b=>{typeof r=="function"?r(b):r&&(r.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=pt;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 ha="NumberInput-module__layoutOverride___5-9T4",Na="NumberInput-module__root___C6rAn",$a="NumberInput-module__input___Ss8p7",va="NumberInput-module__section___MijP0",xa="NumberInput-module__controls___8UfQ2",Ca="NumberInput-module__control___Qre9-",xe={layoutOverride:ha,root:Na,input:$a,section:va,controls:xa,control:Ca},ut=_.forwardRef(function(e,a){const{overStyled:t=!1,formLayout:o="stacked",labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:P,className:C,style:v,disabled:h,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,value:R,defaultValue:S,hideControls:L=!1,...O}=e,g=$(O,t),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:t,formLayout:o,labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:P,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})})});ut.displayName="NumberInput";const wa="Pagination-module__root___ITRjt",Pa="Pagination-module__control___40yNT",ga="Pagination-module__dots___Yl9da",Ta="Pagination-module__iconWithLabel___pLM4O",ja="Pagination-module__baseIcon___Qw3bJ",G={root:wa,control:Pa,dots:ga,iconWithLabel:Ta,baseIcon:ja},Sa="M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z",Aa="M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z",Ra="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",La="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",Oa={next:Sa,prev:Aa,first:Ra,last:La},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:Oa[n],fill:"currentColor"})}),mt=n=>s.jsxs("div",{className:G.iconWithLabel,children:[s.jsx("span",{children:"Next"}),s.jsx(Oe,{type:"next",...n})]}),_t=n=>s.jsxs("div",{className:G.iconWithLabel,children:[s.jsx(Oe,{type:"prev",...n}),s.jsx("span",{children:"Prev"})]}),ft=n=>s.jsxs("div",{className:G.iconWithLabel,children:[s.jsx(Oe,{type:"first",...n}),s.jsx("span",{children:"First"})]}),yt=n=>s.jsxs("div",{className:G.iconWithLabel,children:[s.jsx("span",{children:"Last"}),s.jsx(Oe,{type:"last",...n})]});function bt(n){const e={root:G.root,control:G.control,dots:G.dots},a=n.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const r=a;e.root=r.root?`${G.root} ${r.root}`:G.root,e.control=r.control?`${G.control} ${r.control}`:G.control,e.dots=r.dots?`${G.dots} ${r.dots}`:G.dots}const t=n.className;return{className:t?`${G.root} ${t}`:G.root,classNames:e}}const ht=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=bt(o);return s.jsx(u.Pagination.Root,{ref:t,className:r.className,classNames:r.classNames,...o})});ht.displayName="Pagination.Root";const Nt=_.forwardRef(function({withLabel:e,icon:a,...t},o){const r=a||(e?mt:void 0);return s.jsx(u.Pagination.Next,{ref:o,"data-variant":"text",icon:r,...t})});Nt.displayName="Pagination.Next";const $t=_.forwardRef(function({withLabel:e,icon:a,...t},o){const r=a||(e?_t:void 0);return s.jsx(u.Pagination.Previous,{ref:o,"data-variant":"text",icon:r,...t})});$t.displayName="Pagination.Previous";const vt=_.forwardRef(function({withLabel:e,icon:a,...t},o){const r=a||(e?ft:void 0);return s.jsx(u.Pagination.First,{ref:o,"data-variant":"text",icon:r,...t})});vt.displayName="Pagination.First";const xt=_.forwardRef(function({withLabel:e,icon:a,...t},o){const r=a||(e?yt:void 0);return s.jsx(u.Pagination.Last,{ref:o,"data-variant":"text",icon:r,...t})});xt.displayName="Pagination.Last";const Ct=_.forwardRef(function({overStyled:e=!1,getControlProps:a,withLabels:t,...o},r){const l=$(o,e),i=bt(l),c=p=>{const m={"data-variant":"text"};return a?{...m,...a(p)}:m},d=t?{nextIcon:mt,previousIcon:_t,firstIcon:ft,lastIcon:yt}:{};return s.jsx(u.Pagination,{ref:r,className:i.className,classNames:i.classNames,getControlProps:c,...d,...l})});Ct.displayName="Pagination";const oe=Ct;oe.Root=ht;oe.Items=u.Pagination.Items;oe.Control=u.Pagination.Control;oe.Dots=u.Pagination.Dots;oe.Next=Nt;oe.Previous=$t;oe.First=vt;oe.Last=xt;oe.Icon=Oe;const Ia="Panel-module__content___wdGo-",Wa="Panel-module__inner___ruA2b",ka="Panel-module__header___o7SiC",Ma="Panel-module__title___181OP",za="Panel-module__titleTruncate___fuP6V Panel-module__title___181OP",Ea="Panel-module__body___SEC3T",Fa="Panel-module__footer___t6-hz",_e={content:Ia,inner:Wa,header:ka,title:Ma,titleTruncate:za,body:Ea,footer:Fa},wt=function({overStyled:e=!1,placement:a="right",keepMounted:t=!0,wrapHeaderText:o=!1,...r}){const l=$(r,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:t,closeOnClickOutside:r.closeOnClickOutside??!!r.opened,...l,classNames:i})};wt.displayName="Panel";const po=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=o.className,l=r?`${_e.footer} ${r}`:_e.footer;return s.jsx("div",{ref:t,className:l,...o})});po.displayName="PanelFooter";const te=wt;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 Ba="Popover-module__dropdown___svhS6",Da="Popover-module__arrow___5A-0e",go={dropdown:Ba,arrow:Da},Pt=function({overStyled:e=!1,withBeak:a=!0,...t}){const o=$(t,e),r={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=>{r[m]?r[m]=`${r[m]} ${p[m]}`:r[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:r,...o})};Pt.displayName="Popover";const gt=function(e){return s.jsx(u.Popover.Target,{...e})};gt.displayName="PopoverTarget";const Tt=function({overStyled:e=!1,...a}){const t=$(a,e),o=t.className;return s.jsx(u.Popover.Dropdown,{className:o,...t})};Tt.displayName="PopoverDropdown";const uo=Pt;uo.Target=gt;uo.Dropdown=Tt;const Va="Radio-module__groupRoot___bfUii",Ga="Radio-module__root___kAjTD",Ha="Radio-module__body___q2Wpj",qa="Radio-module__inner___QaTBB",Ua="Radio-module__radio___MfgN-",Ya="Radio-module__icon___DWznm",Za="Radio-module__labelWrapper___dB0Gi",Ka="Radio-module__label___vAFIP",F={groupRoot:Va,root:Ga,body:Ha,inner:qa,radio:Ua,icon:Ya,labelWrapper:Za,label:Ka},mo=_.forwardRef(function(e,a){const{overStyled:t=!1,formLayout:o="stacked",labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:P,id:C,className:v,style:h,children:A,readOnly:x,readOnlyComponent:W,emptyValueComponent:R,value:S,defaultValue:L,...O}=e,g=$(O,t),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:t,labelElement:"div",formLayout:o,labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:P,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 Xa=({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:t=!1,readOnly:o,readOnlyComponent:r,disabled:l,formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,...m}=e,N=$(m,t),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 P=y.className,C=P?`${F.root} ${P}`:F.root;if(o&&r){const h=!!(y.checked??y.defaultChecked),A=r,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:Xa,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 Qa="SegmentedControl-module__root___JFRhg",Ja="SegmentedControl-module__label___mS17q",en="SegmentedControl-module__control___znOdQ",on="SegmentedControl-module__indicator___ZMcJy",Z={root:Qa,label:Ja,control:en,indicator:on};function tn(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 r=a;e.root=r.root?`${Z.root} ${r.root}`:Z.root,e.control=r.control?`${Z.control} ${r.control}`:Z.control,e.label=r.label?`${Z.label} ${r.label}`:Z.label,e.indicator=r.indicator?`${Z.indicator} ${r.indicator}`:Z.indicator}const t=n.className;return{className:t?`${Z.root} ${t}`:Z.root,classNames:e}}const jt=_.forwardRef(function({overStyled:e=!1,orientation:a="horizontal",fullWidth:t,...o},r){const l=$(o,e),i=l;delete i.disabled;const c=tn(i);return s.jsx(u.SegmentedControl,{ref:r,className:c.className,classNames:c.classNames,orientation:a,fullWidth:t,"data-orientation":a,...l})});jt.displayName="SegmentedControl";const rn=jt,sn="Slider-module__layoutOverride___zYPun",an="Slider-module__sliderContainer___y8I0J",nn="Slider-module__sliderTrackWrapper___UHpVh",ln="Slider-module__iconWrapper___uqHpC",cn="Slider-module__sliderRoot___LI86H",dn="Slider-module__sliderTrack___oqnlG",pn="Slider-module__sliderBar___TI4VY",un="Slider-module__sliderThumb___OFn8p",mn="Slider-module__sliderMark___1lM2B",_n="Slider-module__minMaxGuide___TaGqz",fn="Slider-module__rightGuideContainer___8dOT8",yn="Slider-module__currentValue___dGV2T",bn="Slider-module__inputField___6x578",hn="Slider-module__readOnlyValue___-ZzMW",k={layoutOverride:sn,sliderContainer:an,sliderTrackWrapper:nn,iconWrapper:ln,sliderRoot:cn,sliderTrack:dn,sliderBar:pn,sliderThumb:un,sliderMark:mn,minMaxGuide:_n,rightGuideContainer:fn,currentValue:yn,inputField:bn,readOnlyValue:hn},Nn=({value:n})=>s.jsx("div",{className:k.readOnlyValue,children:n}),St=_.forwardRef(function(e,a){const{overStyled:t=!1,formLayout:o="stacked",labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,labelActionArea:d,onLabelEditClick:p,label:m,tooltipLabel:N,assistiveText:y,assistiveWithIcon:f,error:b,required:P,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,[qt,Ut]=_.useState(()=>L!==void 0?L:O!==void 0?O:z),de=L!==void 0?L:qt,[Yt,Ue]=_.useState(de.toString());_.useEffect(()=>{Ue(de.toString())},[de]);const No=B=>{L===void 0&&Ut(B),he==null||he(B)},Zt=B=>{const vo=B.target.value;Ue(vo);const xo=parseFloat(vo);if(!isNaN(xo)){const Jt=Math.max(z,Math.min(j,xo));No(Jt)}},Kt=()=>{Ue(de.toString())},$o=$(qe,t),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 Xt=h?`${k.layoutOverride} ${h}`:k.layoutOverride,Qt=g?s.jsx("span",{className:k.iconWrapper,"aria-hidden":!0,children:g}):null;return s.jsx(ee,{ref:a,className:Xt,style:A,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:t,formLayout:o,labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,labelActionArea:d,onLabelEditClick:p,label:m,assistiveText:y,assistiveWithIcon:f,error:b,required:P,withAsterisk:C,id:v,readOnly:W,readOnlyComponent:R||Nn,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:[Qt,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:Yt,onChange:Zt,onBlur:Kt,min:z,max:j,step:be,disabled:x,"data-error":b?"true":void 0})]})})});St.displayName="Slider";const $n="Stack-module__root___NUN-x",Re={root:$n},At=_.forwardRef(function({children:e,gap:a="rec-default",...t},o){const r={root:Re.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const d=l;r.root=d.root?`${Re.root} ${d.root}`:Re.root}const i=t.className,c=i?`${Re.root} ${i}`:Re.root;return s.jsx(u.Stack,{ref:o,className:c,classNames:r,...Qe({gap:a,...t}),children:e})});At.displayName="Stack";const vn=u.createPolymorphicComponent(At),xn="Stepper-module__root___jbSYO",Cn="Stepper-module__horizontal___USHT1",wn="Stepper-module__steps___4HPO6",Pn="Stepper-module__step___s2nqL",gn="Stepper-module__stepBody___TBvys",Tn="Stepper-module__stepLabel___N6nuy",jn="Stepper-module__stepDescription___DnDAy",Sn="Stepper-module__separator___pU0No",An="Stepper-module__vertical___d4mOs",Rn="Stepper-module__large___J18-y",Ln="Stepper-module__small___Ub-zb",On="Stepper-module__stepIcon___YQHNq",In="Stepper-module__stepCompletedIcon___B9MeL",Wn="Stepper-module__verticalSeparator___frWc1",kn="Stepper-module__content___J-h8X",q={root:xn,horizontal:Cn,steps:wn,step:Pn,stepBody:gn,stepLabel:Tn,stepDescription:jn,separator:Sn,vertical:An,large:Rn,small:Ln,stepIcon:On,stepCompletedIcon:In,verticalSeparator:Wn,content:kn},Rt=_.forwardRef(function(e,a){const{overStyled:t=!1,size:o="large",orientation:r="horizontal",className:l,style:i,...c}=e,d=$(c,t);return s.jsx(u.Stepper,{ref:a,orientation:r,className:`${q.root} ${r==="horizontal"?q.horizontal:q.vertical} ${o==="large"?q.large:q.small} ${l||""}`,style:i,"data-size":o,"data-orientation":r,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})}),Mn=Object.assign(Rt,{Step:u.Stepper.Step,Completed:u.Stepper.Completed});Rt.displayName="Stepper";const zn="Switch-module__root___Y5Ydi",En="Switch-module__body___Sw9Wr",Fn="Switch-module__track___7ObdZ",Bn="Switch-module__thumb___-FTeK",Dn="Switch-module__labelWrapper___YSOwx",Vn="Switch-module__label___LrH7V",Gn="Switch-module__thumbIconWrapper___sCY-1",Hn="Switch-module__checkIcon___ZBAQN",qn="Switch-module__closeIcon___bLLGw",Un="Switch-module__groupRoot___-Uepi",M={root:zn,body:En,track:Fn,thumb:Bn,labelWrapper:Dn,label:Vn,thumbIconWrapper:Gn,checkIcon:Hn,closeIcon:qn,groupRoot:Un},fo=_.forwardRef(function(e,a){const{overStyled:t=!1,formLayout:o="stacked",labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:P,id:C,className:v,style:h,children:A,readOnly:x,readOnlyComponent:W,emptyValueComponent:R,value:S,defaultValue:L,...O}=e,g=$(O,t),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:t,labelElement:"div",formLayout:o,labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:m,assistiveText:N,assistiveWithIcon:y,error:f,required:b,withAsterisk:P,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:t=!1,readOnly:o,readOnlyComponent:r,disabled:l,thumbIcon:i,formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:m,...N}=e,y=$(N,t),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},P=f.classNames;if(P&&typeof P=="object"&&!Array.isArray(P)){const x=P;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&&r){const x=!!(f.checked??f.defaultChecked),W=r,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 Yn="Table-module__root___aMWWS",Zn={root:Yn},Lt=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r=o.className,l=Zn.root,i=r?`${l} ${r}`:l;return s.jsx(u.Table,{ref:t,className:i,...o})});Lt.displayName="Table";const ce=Lt;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 Kn="Tabs-module__root___-VKVI",Xn="Tabs-module__list___qRVME",Qn="Tabs-module__tab___IdDYc",Jn="Tabs-module__panel___08i9c",ke={root:Kn,list:Xn,tab:Qn,panel:Jn},Ot=_.forwardRef(function(e,a){const{variant:t="default",orientation:o="horizontal",overStyled:r=!1,className:l,...i}=e,c=$(i,r);return s.jsx(u.Tabs,{ref:a,variant:t,orientation:o,className:`${ke.root} ${l||""}`,"data-variant":t,"data-orientation":o,classNames:{list:ke.list,tab:ke.tab,panel:ke.panel},...c})});Ot.displayName="Tabs";const It=_.forwardRef(function(e,a){const{overStyled:t=!1,...o}=e;return s.jsx(u.Tabs.List,{ref:a,...$(o,t)})});It.displayName="Tabs.List";const Wt=_.forwardRef(function(e,a){const{overStyled:t=!1,...o}=e;return s.jsx(u.Tabs.Tab,{ref:a,...$(o,t)})});Wt.displayName="Tabs.Tab";const kt=_.forwardRef(function(e,a){const{overStyled:t=!1,...o}=e;return s.jsx(u.Tabs.Panel,{ref:a,...$(o,t)})});kt.displayName="Tabs.Panel";const el=Object.assign(Ot,{List:It,Tab:Wt,Panel:kt}),Mt=_.forwardRef(function({overStyled:e=!1,variant:a="body",...t},o){const r=$(t,e),l=r.className,i=`recursica_brand_typography_${a}`,c=l?`${i} ${l}`:i;return s.jsx(u.Text,{ref:o,className:c,...r})});Mt.displayName="Text";const ol=u.createPolymorphicComponent(Mt),tl="TextArea-module__layoutOverride___4MCdm",rl="TextArea-module__root___3dyeu",sl="TextArea-module__input___8l36v",ue={layoutOverride:tl,root:rl,input:sl},zt=_.forwardRef(function(e,a){const{overStyled:t=!1,formLayout:o="stacked",labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:P,className:C,style:v,disabled:h,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,value:R,defaultValue:S,...L}=e,O=$(L,t),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:t,formLayout:o,labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:P,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})})});zt.displayName="TextArea";const al="TextField-module__layoutOverride___SNZqc",nl="TextField-module__root___2ZYkG",ll="TextField-module__input___RL-My",il="TextField-module__section___bCIJ0",J={layoutOverride:al,root:nl,input:ll,section:il},Et=_.forwardRef(function(e,a){const{overStyled:t=!1,formLayout:o="stacked",labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:P,className:C,style:v,disabled:h,readOnly:A,readOnlyComponent:x,emptyValueComponent:W,value:R,defaultValue:S,...L}=e,O=$(L,t),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:t,formLayout:o,labelSize:r,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:m,assistiveWithIcon:N,error:y,required:f,withAsterisk:b,id:P,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})})});Et.displayName="TextField";const cl=n=>s.jsx("div",{...n,children:"TimePicker"}),dl="Timeline-module__root___LwRdZ",pl="Timeline-module__item___T5xdQ",ul="Timeline-module__itemBody___XAV-E",ml="Timeline-module__itemBullet___rPXCy",_l="Timeline-module__itemTitle___GgRRW",fl="Timeline-module__itemContent___vurs-",yl="Timeline-module__description___f9sxV",bl="Timeline-module__timestamp___owiRu",me={root:dl,item:pl,itemBody:ul,itemBullet:ml,itemTitle:_l,itemContent:fl,description:yl,timestamp:bl},bo=_.forwardRef(function({overStyled:e=!1,timestamp:a,bulletVariant:t="default",children:o,...r},l){const i=$(r,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":t,...i,children:p})});bo.displayName="TimelineItem";const Ft=_.forwardRef(function({overStyled:e=!1,...a},t){const o=$(a,e),r={root:me.root},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const i=l;Object.keys(i).forEach(c=>{r[c]?r[c]=`${r[c]} ${i[c]}`:r[c]=i[c]})}return s.jsx(u.Timeline,{ref:t,classNames:r,...o})});Ft.displayName="Timeline";const Bt=Ft;Bt.Item=bo;const Dt=_.forwardRef(function({overStyled:e=!1,order:a=1,...t},o){const r=$(t,e),l=r.className,i=`recursica_brand_typography_h${a}`,c=l?`${i} ${l}`:i;return s.jsx(u.Title,{ref:o,order:a,className:c,...r})});Dt.displayName="Title";const hl="Toast-module__root___MUvfI",Nl="Toast-module__icon___VwvE1",$l="Toast-module__loader___8Gxd-",vl="Toast-module__title___-H6R2",xl="Toast-module__description___-QwfC",Cl="Toast-module__closeButton___vGr7g",wl="Toast-module__body___VLkXA",Ce={root:hl,icon:Nl,loader:$l,title:vl,description:xl,closeButton:Cl,body:wl},Vt=_.forwardRef(function({overStyled:e=!1,variant:a="default",withCloseButton:t=!0,...o},r){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:r,withCloseButton:t,withBorder:!1,"data-variant":a,classNames:i,loading:!1,...l})});Vt.displayName="Toast";const Pl="Tooltip-module__tooltip___UA7H9",gl="Tooltip-module__arrow___4zROk",To={tooltip:Pl,arrow:gl},Gt=function({overStyled:e=!1,withBeak:a=!0,...t}){const o=$(t,e),r={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=>{r[m]?r[m]=`${r[m]} ${p[m]}`:r[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:r,...o})};Gt.displayName="Tooltip";const ho=Gt;ho.Floating=u.Tooltip.Floating;ho.Group=u.Tooltip.Group;const Tl=n=>s.jsx("div",{...n,children:"TransferList"}),jl="Tree-module__root___ANcH3",jo={root:jl},Ht=_.forwardRef(function({overStyled:e=!1,className:a,...t},o){const r=a?`${jo.root} ${a}`:jo.root;return s.jsx("div",{ref:o,className:r,...t,children:"Tree (Coming Soon)"})});Ht.displayName="Tree";const Sl=qs,Al=Ko,Rl=vn,Ll=qo,Ol=Js,Il=ol,Wl=w(Ve),kl=w(Je),Ml=w(Be),zl=w(De),El=w(Io),Fl=w(Ur),Bl=w(Zr),Dl=w(Mo),Vl=w(ns),Gl=w(us),Hl=w(no),ql=w(ao),Ul=w(Ho),Yl=w(Uo),Zl=w(Yo),Kl=w(Vs),Xl=w(Gs),Ql=w(ne),Jl=w(lo),ei=w(so),oi=w(eo),ti=w(we),ri=w(ie),si=w(ut),ai=w(oe),ni=w(te),li=w(po),ii=w(uo),ci=w(_o),di=w(mo),pi=w(ro),ui=w(rn),mi=w(St),_i=w(Mn),fi=w(yo),yi=w(fo),bi=w(ce),hi=w(el),Ni=w(zt),$i=w(Et),vi=w(cl),xi=w(Bt),Ci=w(bo),wi=w(Dt),Pi=w(Vt),gi=w(ho),Ti=w(Tl),ji=w(Ht);exports.Accordion=Wl;exports.AccordionControl=Ml;exports.AccordionItem=kl;exports.AccordionPanel=zl;exports.AutoComplete=El;exports.Avatar=Fl;exports.Badge=Bl;exports.Breadcrumb=Dl;exports.Button=Vl;exports.Card=Gl;exports.Checkbox=Hl;exports.CheckboxGroup=ql;exports.Chip=Ul;exports.Container=Ll;exports.DatePicker=Yl;exports.Dropdown=Zl;exports.EmptyValueRenderer=Le;exports.FileInput=Kl;exports.FileUpload=Xl;exports.Flex=Sl;exports.FormControlLayout=Ql;exports.Group=Al;exports.HoverCard=Jl;exports.IS_DEV=ye;exports.Label=oi;exports.Layer=Ro;exports.Link=Ol;exports.Loader=ei;exports.Menu=ti;exports.Modal=ri;exports.NumberInput=si;exports.Pagination=ai;exports.Panel=ni;exports.PanelFooter=li;exports.Popover=ii;exports.RECURSICA_COMPONENTS=Lr;exports.Radio=ci;exports.RadioGroup=di;exports.ReadOnlyField=pi;exports.RecursicaThemeProvider=Rr;exports.SegmentedControl=ui;exports.Slider=mi;exports.Stack=Rl;exports.Stepper=_i;exports.Switch=fi;exports.SwitchGroup=yi;exports.Table=bi;exports.Tabs=hi;exports.Text=Il;exports.TextArea=Ni;exports.TextField=$i;exports.TimePicker=vi;exports.Timeline=xi;exports.TimelineItem=Ci;exports.Title=wi;exports.Toast=Pi;exports.Tooltip=gi;exports.TransferList=Ti;exports.Tree=ji;exports.copyToClipboard=Or;exports.injectOverStyledStyles=oo;exports.isGlobalOverStyledActive=Ar;exports.registerOverStyledConsoleCommand=to;exports.toggleGlobalOverStyled=Lo;exports.useGlobalOverStyled=Oo;exports.wrapComponent=w;
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: ${Oo()?"ON (cyan 2px box shadow)":"OFF"}`}catch{}};n(window),window.parent&&window.parent!==window&&n(window.parent)}const wo="data-recursica-theme";function tr({children:n,theme:e="light"}){return m.useEffect(()=>{const s=document.documentElement;return s.setAttribute(wo,e),()=>{s.removeAttribute(wo)}},[e]),m.useEffect(()=>{oo(),to()},[]),r.jsx(r.Fragment,{children:n})}const sr=["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 s=document.activeElement;return new Promise((t,o)=>{if(e&&e.current){const a=document.createElement("textarea");a.readOnly=!0,a.defaultValue=n,e.current.appendChild(a),a.select();const l=document.execCommand("copy");e.current.removeChild(a),s&&s.focus(),l?t():o(new Error("Failed to copy"))}else o(new Error("Copy area reference is not defined"))})};function w(n){if(!ye||typeof n!="function"&&!(n&&n.$$typeof))return n;const e=m.forwardRef((t,o)=>{const{overStyled:a}=t,l=Lo(),i=m.createElement(n,{...t,ref:o});return a&&l?r.jsx("div",{className:"recursica-over-styled",children:i}):i});e.displayName=n.displayName||n.name||"Component";const s=Object.keys(n);for(const t of s){if(t==="render"||t==="$$typeof")continue;const o=n[t];(typeof o=="function"||o&&o.$$typeof)&&t[0]===t[0].toUpperCase()?e[t]=w(o):e[t]=o}return e}const ar="ReadOnlyField-module__layoutOverride___9fSsG",nr="ReadOnlyField-module__textField___qKn25",Ee={layoutOverride:ar,textField:nr},ke=({value:n,overStyled:e=!1,...s})=>{const t=f(s,e),o=t.className;return r.jsx(u.Box,{component:"p",className:o?`${Ee.textField} ${o}`:Ee.textField,...t,children:n!=null?m.isValidElement(n)?n:Array.isArray(n)?n.join(", "):String(n):""})};ke.displayName="ReadOnlyTextField";const so=m.forwardRef(function({value:e,type:s="text",emptyValueComponent:t,overStyled:o=!1,className:a,style:l,...i},c){let d=null;const p=f(i,o),_=t||Oe,b=(_.check?_.check(e):Oe.check(e))?r.jsx(_,{value:e}):e;switch(s){case"boolean":d=r.jsx(ke,{value:e===!0?"True":e===!1?"False":b,overStyled:o});break;case"switch":d=r.jsx(ke,{value:e===!0?"On":e===!1?"Off":b,overStyled:o});break;case"text":default:d=r.jsx(ke,{value:b,overStyled:o});break}const y=a?`${Ee.layoutOverride} ${a}`:Ee.layoutOverride;return r.jsx(Be,{ref:c,overStyled:o,className:y,style:l,...p,children:d})});so.displayName="ReadOnlyField";const ee=m.forwardRef(function({readOnly:e,readOnlyComponent:s,readOnlyType:t="text",readOnlyValue:o,readOnlyNativeProps:a,emptyValueComponent:l,activeComponent:i,overStyled:c,onLabelEditClick:d,...p},_){if(e){if(s){const $=s;return r.jsx(Be,{ref:_,...p,onLabelEditClick:d,overStyled:c,children:r.jsx($,{...a})})}return r.jsx(so,{ref:_,type:t,value:o,emptyValueComponent:l,onLabelEditClick:d,overStyled:c,...p})}return r.jsx(Be,{ref:_,...p,onLabelEditClick:d,overStyled:c,children:i})});ee.displayName="WithReadOnlyWrapper";const lr="AutoComplete-module__layoutOverride___-K9WL",ir="AutoComplete-module__root___kANza",cr="AutoComplete-module__input___g51MC",dr="AutoComplete-module__section___WAbf1",pr="AutoComplete-module__dropdown___NqO3E",ur="AutoComplete-module__option___Y-Kja",D={layoutOverride:lr,root:ir,input:cr,section:dr,dropdown:pr,option:ur},Io=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,...O}=e,L=f(O,t),T=L;delete T.size,delete T.variant,delete T.radius;const g={wrapper:D.root,input:D.input,section:D.section,dropdown:D.dropdown,option:D.option},I=T.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;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 z=C?`${D.layoutOverride} ${C}`:D.layoutOverride;return r.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:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?A:S,readOnlyNativeProps:e,activeComponent:r.jsx(u.Autocomplete,{ref:s,classNames:g,disabled:h,value:A,defaultValue:S,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0},...L})})});Io.displayName="AutoComplete";const mr="Avatar-module__root___fXu-J",_r="Avatar-module__iconWrapper___ojly2",fr="Avatar-module__textWrapper___zp-jD",yr="Avatar-module__image___ieqGp",br="Avatar-module__placeholder___IDW7-",Q={root:mr,iconWrapper:_r,textWrapper:fr,image:yr,placeholder:br},Wo=m.forwardRef(function({size:e="default",variant:s="solid",icon:t,children:o,src:a,overStyled:l=!1,...i},c){const d={solid:"filled",outline:"outline",ghost:"transparent"},p={default:"md",small:"sm",large:"lg"},_=f(i,l),$=_;let b="text";a?b="image":t&&(b="icon");const y={root:Q.root,image:Q.image,placeholder:Q.placeholder},N=$.classNames;if(N&&typeof N=="object"&&!Array.isArray(N)){const C=N;y.root=C.root?`${Q.root} ${C.root}`:Q.root,y.image=C.image?`${Q.image} ${C.image}`:Q.image,y.placeholder=C.placeholder?`${Q.placeholder} ${C.placeholder}`:Q.placeholder}const P=$.className;return r.jsx(u.Avatar,{ref:c,className:P,classNames:y,variant:d[s],size:p[e],src:a,"data-variant":s,"data-size":e,"data-style":b,..._,children:t!=null?r.jsx("span",{className:Q.iconWrapper,"aria-hidden":!0,children:t}):o!=null?r.jsx("span",{className:Q.textWrapper,children:o}):void 0})});Wo.displayName="Avatar";const Nr=u.createPolymorphicComponent(Wo),hr="Badge-module__root___5osNT",se={root:hr},Mo=m.forwardRef(function({variant:e="primary-color",overStyled:s=!1,...t},o){const a=f(t,s),l={root:se.root,section:se.section,label:se.label},i=a.classNames;if(i&&typeof i=="object"&&!Array.isArray(i)){const p=i;l.root=p.root?`${se.root} ${p.root}`:se.root,l.section=p.section??se.section,l.label=p.label??se.label}const c=a.className,d=c?`${se.root} ${c}`:se.root;return r.jsx(u.Badge,{ref:o,variant:"filled","data-variant":e,...a,className:d,classNames:l})});Mo.displayName="Badge";const $r=u.createPolymorphicComponent(Mo),vr="Breadcrumb-module__root___x-9ln",xr="Breadcrumb-module__separator___qrUX-",pe={root:vr,separator:xr},ko=m.forwardRef(function({overStyled:e=!1,separator:s=">",...t},o){const a=f({separator:s,...t},e),l={root:pe.root,separator:pe.separator},i=a.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=a.className,d=c?`${pe.root} ${c}`:pe.root;return r.jsx(u.Breadcrumbs,{ref:o,...a,className:d,classNames:l})});ko.displayName="Breadcrumb";const Cr="Loader-module__root___6iYOP",ge={root:Cr},ro=m.forwardRef(function({variant:e="oval",size:s="default",overStyled:t=!1,...o},a){const i={sm:"small",md:"default",lg:"large",small:"small",default:"default",large:"large"}[s]||"default",c=f(o,t),d={root:ge.root},p=c.classNames;if(p&&typeof p=="object"&&!Array.isArray(p)){const b=p;d.root=b.root?`${ge.root} ${b.root}`:ge.root}const _=c.className,$=_?`${ge.root} ${_}`:ge.root;return r.jsx(u.Loader,{ref:a,type:e,"data-variant":e,"data-size":i,...c,className:$,classNames:d})});ro.displayName="Loader";const wr="Button-module__root___Q2R8-",Pr="Button-module__loader___X-9u-",Tr="Button-module__label___UJ3Zt",gr="Button-module__labelText___rFV5p",jr="Button-module__iconWrapper___uEKPa",Sr="Button-module__section___f2mKr",X={root:wr,loader:Pr,label:Tr,labelText:gr,iconWrapper:jr,section:Sr};function Rr(n){return n==null||n===""?!1:typeof n=="string"?n.trim()!=="":!0}const zo=m.forwardRef(function({variant:e="solid",size:s="default",icon:t,children:o,overStyled:a=!1,loaderVariant:l="oval",loaderSize:i,useRecursicaLoader:c=!0,...d},p){const _={solid:"filled",outline:"outline",text:"subtle"},$={default:"md",small:"sm"},b=f(d,a),y=b;delete y.fullWidth;const N=!!t||!!y.leftSection,P=!!y.rightSection,C=Rr(o),v=(N||P)&&!C;let h="label";v?h="icon-only":(N||P)&&(h="icon-label"),typeof process<"u"&&process.env.NODE_ENV!=="production"&&v&&!y["aria-label"]&&console.warn('[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").');const R={root:X.root,section:X.section,label:X.label,loader:X.loader},x=y.classNames;if(x&&typeof x=="object"&&!Array.isArray(x)){const T=x;R.root=T.root?`${X.root} ${T.root}`:X.root,R.section=T.section??X.section,R.label=T.label??X.label}const W=y.className,A=W?`${X.root} ${W}`:X.root,S=y.loaderProps,O=i??(s==="small"?"small":"default");let L=S;return c&&(L={children:r.jsx(ro,{variant:l,size:O}),...S}),r.jsx(u.Button,{ref:p,className:A,classNames:R,variant:_[e],size:$[s],loaderProps:L,leftSection:t!=null?r.jsx("span",{className:X.iconWrapper,"aria-hidden":!0,children:t}):void 0,"data-variant":e,"data-size":s,"data-content":h,...b,disabled:!!y.disabled||!!y.loading,children:r.jsx("span",{className:X.labelText,children:o})})});zo.displayName="Button";const Ar=u.createPolymorphicComponent(zo),Or="Card-module__root___c9KvZ",Lr="Card-module__header___PTXf2",Ir="Card-module__footer___Mu-JC",Wr="Card-module__section___BRT8H",Mr="Card-module__content___oFIQa",le={root:Or,header:Lr,footer:Ir,section:Wr,content:Mr},Bo=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);["flex","flexGrow","flexShrink","flexBasis","grow","h","height"].forEach(d=>{d in s&&!(d in o)&&(o[d]=s[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 r.jsx(u.Card,{ref:t,className:c,classNames:l,...o})});Bo.displayName="Card";const Eo=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Card.Section,{ref:t,className:a?`${le.section} ${a}`:le.section,...o})});Eo.displayName="CardSection";const Fo=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Card.Section,{ref:t,className:a?`${le.header} ${a}`:le.header,...o})});Fo.displayName="CardHeader";const Do=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Card.Section,{ref:t,className:a?`${le.footer} ${a}`:le.footer,...o})});Do.displayName="CardFooter";const Vo=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx("div",{ref:t,className:a?`${le.content} ${a}`:le.content,...o})});Vo.displayName="CardContent";const Go=u.createPolymorphicComponent(Bo),Ge=Go;Ge.Section=Eo;Ge.Header=Fo;Ge.Footer=Do;Ge.Content=Vo;const kr=Go,zr="Checkbox-module__groupRoot___cBS0o",Br="Checkbox-module__root___mY3qk",Er="Checkbox-module__body___5yC7q",Fr="Checkbox-module__inner___rTke4",Dr="Checkbox-module__input___2kt-h",Vr="Checkbox-module__icon___-O7i6",Gr="Checkbox-module__labelWrapper___GpZkr",Hr="Checkbox-module__label___cwRtI",B={groupRoot:zr,root:Br,body:Er,inner:Fr,input:Dr,icon:Vr,labelWrapper:Gr,label:Hr},ao=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,className:v,style:h,children:R,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,value:S,defaultValue:O,...L}=e,T=f(L,t),g=T;return delete g.size,r.jsx(ee,{className:v,style:h,controlMaxWidth:"var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",controlMinWidth:void 0,overStyled:t,labelElement:"div",formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,readOnly:x&&!!W,readOnlyComponent:W,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:S!==void 0?S:O,readOnlyNativeProps:e,activeComponent:r.jsx(u.Checkbox.Group,{ref:s,...T,disabled:x||g.disabled,value:S,defaultValue:O,children:r.jsx("div",{className:B.groupRoot,"data-layout":o,children:R})})})});ao.displayName="CheckboxGroup";const no=m.forwardRef(function(e,s){const{overStyled:t=!1,readOnly:o,readOnlyComponent:a,disabled:l,formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,..._}=e,$=f(_,t),b=$;delete b.size,delete b.color,delete b.radius,delete b.variant,delete b.iconColor;const y={root:B.root,body:B.body,inner:B.inner,input:B.input,icon:B.icon,labelWrapper:B.labelWrapper,label:B.label},N=b.classNames;if(N&&typeof N=="object"&&!Array.isArray(N)){const h=N;y.root=h.root?`${B.root} ${h.root}`:B.root,y.body=h.body?`${B.body} ${h.body}`:B.body,y.inner=h.inner?`${B.inner} ${h.inner}`:B.inner,y.input=h.input?`${B.input} ${h.input}`:B.input,y.icon=h.icon?`${B.icon} ${h.icon}`:B.icon,y.labelWrapper=h.labelWrapper?`${B.labelWrapper} ${h.labelWrapper}`:B.labelWrapper,y.label=h.label?`${B.label} ${h.label}`:B.label}const P=b.className,C=P?`${B.root} ${P}`:B.root;if(o&&a){const h=!!(b.checked??b.defaultChecked),R=a,x=r.jsx(R,{...e,checked:h,label:b.label});return i?r.jsx(ne,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:x}):r.jsx(r.Fragment,{children:x})}const v=r.jsx(u.Checkbox,{ref:s,className:C,classNames:y,disabled:o||l,...$});return i?r.jsx(ne,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:v}):v});no.displayName="Checkbox";no.Group=ao;const qr="Chip-module__root___f5pFk",Ur="Chip-module__label___Ov9pg",Yr="Chip-module__mantineIconWrapper___KLSz6",Zr="Chip-module__innerWrapper___EnrTF",Kr="Chip-module__children___zbRAR",Xr="Chip-module__leadingIcon___JBtjQ",Qr="Chip-module__removeIcon___pVju-",H={root:qr,label:Ur,mantineIconWrapper:Yr,innerWrapper:Zr,children:Kr,leadingIcon:Xr,removeIcon:Qr};function Jr(n){return r.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:[r.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),r.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}const Ho=m.forwardRef(function({error:e=!1,icon:s,onRemove:t,removeLabel:o="Remove",children:a,overStyled:l=!1,...i},c){const d=f(i,l),p=d,_={root:H.root,label:H.label,input:H.input,iconWrapper:H.mantineIconWrapper,checkIcon:H.checkIcon},$=p.classNames;if($&&typeof $=="object"&&!Array.isArray($)){const v=$;_.root=v.root?`${H.root} ${v.root}`:H.root,_.label=v.label?`${H.label} ${v.label}`:H.label}const b=p.className,y=b?`${H.root} ${b}`:H.root,N=e?"":void 0,P=!a&&(!!s||!!t),C=p.checked!==void 0||p.defaultChecked!==void 0||t!==void 0||p.onClick!==void 0;return r.jsx(u.Chip,{ref:c,className:y,classNames:_,wrapperProps:N!==void 0?{"data-error":""}:void 0,...P?{"data-icon-only":""}:{},...C?{}:{tabIndex:-1,"aria-hidden":!0},...d,children:r.jsxs("span",{className:H.innerWrapper,children:[s&&r.jsx("span",{className:H.leadingIcon,"aria-hidden":!0,children:s}),r.jsx("span",{className:H.children,children:a}),t&&r.jsx("span",{role:"button",className:H.removeIcon,onClick:v=>{v.preventDefault(),v.stopPropagation(),t(v)},"aria-label":o,onKeyDown:v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),v.stopPropagation(),t(v))},tabIndex:0,children:r.jsx(Jr,{})})]})})});Ho.displayName="Chip";const ea="Container-module__root___UVssr",je={root:ea},qo=m.forwardRef(function({children:e,size:s,...t},o){const a={"rec-sm":"sm","rec-default":"md","rec-md":"md","rec-lg":"lg","rec-xl":"xl","rec-2xl":"xl"},l=typeof s=="string"&&a[s]?a[s]:s,i={root:je.root},c=t.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const _=c;i.root=_.root?`${je.root} ${_.root}`:je.root}const d=t.className,p=d?`${je.root} ${d}`:je.root;return r.jsx(u.Container,{ref:o,size:l,className:p,classNames:i,...t,children:e})});qo.displayName="Container";const oa="DatePicker-module__layoutOverride___X9yaM",ta="DatePicker-module__root___6XvRT",sa="DatePicker-module__input___pcSW8",ra="DatePicker-module__section___n3iWA",aa="DatePicker-module__dropdown___wjt08",na="DatePicker-module__calendarHeader___KHxno",la="DatePicker-module__day___U03J2",Y={layoutOverride:oa,root:ta,input:sa,section:ra,dropdown:aa,calendarHeader:na,day:la},Uo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,...O}=e,L=f(O,t),T=L;delete T.size,delete T.variant,delete T.radius,delete T.description;const g={wrapper:Y.root,input:Y.input,section:Y.section,dropdown:Y.dropdown,day:Y.day,calendarHeader:Y.calendarHeader},I=T.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;g.wrapper=j.wrapper?`${Y.root} ${j.wrapper}`:Y.root,g.input=j.input?`${Y.input} ${j.input}`:Y.input,g.section=j.section?`${Y.section} ${j.section}`:Y.section}const z=C?`${Y.layoutOverride} ${C}`:Y.layoutOverride;return r.jsx(ee,{className:z,style:v,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?String(A):S?String(S):void 0,readOnlyNativeProps:e,activeComponent:r.jsx(Ps.DatePickerInput,{ref:s,classNames:g,disabled:h,value:A,defaultValue:S,label:void 0,description:void 0,error:void 0,withAsterisk:!1,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0},...L})})});Uo.displayName="DatePicker";const ia="Dropdown-module__layoutOverride___FNcvP",ca="Dropdown-module__root___uVyL0",da="Dropdown-module__input___dK4dN",pa="Dropdown-module__section___j3MRB",ua="Dropdown-module__dropdown___gG-Sw",ma="Dropdown-module__option___nAGU-",V={layoutOverride:ia,root:ca,input:da,section:pa,dropdown:ua,option:ma},Yo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",containerWidth:a,labelSize:l,labelAlignment:i,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,className:v,style:h,disabled:R,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,value:S,defaultValue:O,data:L,...T}=e,g=f(T,t),I=g;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:a||"100%"},Ne=v?`${V.layoutOverride} ${v}`:V.layoutOverride;return r.jsx(ee,{className:Ne,style:be,controlMaxWidth:"var(--recursica_ui-kit_components_dropdown_properties_max-width)",controlMinWidth:"var(--recursica_ui-kit_components_dropdown_properties_min-width)",overStyled:t,formLayout:o,labelSize:l,labelAlignment:i,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:S!==void 0?String(S):O?String(O):void 0,readOnlyNativeProps:e,activeComponent:r.jsx(u.Select,{ref:s,classNames:z,disabled:R,value:S,defaultValue:O,data:L||[],label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":R?"true":void 0,"data-error":y?"true":void 0},...g})})});Yo.displayName="Dropdown";const _a=n=>r.jsx("div",{...n,children:"FileInput"}),fa=n=>r.jsx("div",{...n,children:"FileUpload"}),ya="Flex-module__root___yYser",Se={root:ya},Zo=m.forwardRef(function({children:e,gap:s="rec-default",rowGap:t,columnGap:o,...a},l){const i={root:Se.root},c=a.classNames;if(c&&typeof c=="object"&&!Array.isArray(c)){const _=c;i.root=_.root?`${Se.root} ${_.root}`:Se.root}const d=a.className,p=d?`${Se.root} ${d}`:Se.root;return r.jsx(u.Flex,{ref:l,className:p,classNames:i,...Qe({gap:s,rowGap:t,columnGap:o,...a}),children:e})});Zo.displayName="Flex";const ba=u.createPolymorphicComponent(Zo),Na="Group-module__root___ftO64",Re={root:Na},Ko=m.forwardRef(function({children:e,gap:s="rec-default",...t},o){const a={root:Re.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const d=l;a.root=d.root?`${Re.root} ${d.root}`:Re.root}const i=t.className,c=i?`${Re.root} ${i}`:Re.root;return r.jsx(u.Group,{ref:o,className:c,classNames:a,...Qe({gap:s,...t}),children:e})});Ko.displayName="Group";const ha="HoverCard-module__dropdown___FBPFW",$a="HoverCard-module__arrow___S9AkE",Po={dropdown:ha,arrow:$a},Xo=function({overStyled:e=!1,withBeak:s=!0,...t}){const o=f(t,e),a={dropdown:Po.dropdown,arrow:Po.arrow},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;Object.keys(p).forEach(_=>{a[_]?a[_]=`${a[_]} ${p[_]}`:a[_]=p[_]})}const i=o.arrowSize??16,c=o.withArrow,d=s??c;return r.jsx(u.HoverCard,{position:"top",arrowSize:i,withArrow:d,classNames:a,...o})};Xo.displayName="HoverCard";const Qo=function(e){return r.jsx(u.HoverCard.Target,{...e})};Qo.displayName="HoverCardTarget";const Jo=function({overStyled:e=!1,...s}){const t=f(s,e),o=t.className;return r.jsx(u.HoverCard.Dropdown,{className:o,...t})};Jo.displayName="HoverCardDropdown";const lo=Xo;lo.Target=Qo;lo.Dropdown=Jo;const va="Link-module__root___I0VGE",xa="Link-module__iconWrapper___W-LlF",Ca="Link-module__labelText___wSvUy",$e={root:va,iconWrapper:xa,labelText:Ca},et=m.forwardRef(function({icon:e,children:s,overStyled:t=!1,...o},a){const l=f(o,t),i=l,c={root:$e.root},d=i.classNames;if(d&&typeof d=="object"&&!Array.isArray(d)){const $=d;c.root=$.root?`${$e.root} ${$.root}`:$e.root}const p=i.className,_=p?`${$e.root} ${p}`:$e.root;return r.jsxs(u.Anchor,{ref:a,className:_,classNames:c,underline:"never",...e?{"data-has-icon":""}:{},...l,children:[e&&r.jsx("span",{className:$e.iconWrapper,"aria-hidden":!0,children:e}),r.jsx("span",{className:$e.labelText,children:s})]})});et.displayName="Link";const wa=u.createPolymorphicComponent(et),Pa="Menu-module__dropdown___j4xuA",Ta="Menu-module__item___NMXha",ga="Menu-module__itemLabel___zvcqC",ja="Menu-module__itemSection___pRIcn",Sa="Menu-module__divider___wPiNq",Ra="Menu-module__label___4FBGa",Aa="Menu-module__chevron___hEEiy",ve={dropdown:Pa,item:Ta,itemLabel:ga,itemSection:ja,divider:Sa,label:Ra,chevron:Aa},ot=function({overStyled:e=!1,...s}){const t=f(s,e),o={dropdown:ve.dropdown,item:ve.item,itemLabel:ve.itemLabel,itemSection:ve.itemSection,divider:ve.divider,label:ve.label,chevron:ve.chevron},a=t.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const l=a;Object.keys(l).forEach(i=>{o[i]?o[i]=`${o[i]} ${l[i]}`:o[i]=l[i]})}return r.jsx(u.Menu,{classNames:o,...t})};ot.displayName="Menu";const tt=function(e){return r.jsx(u.Menu.Target,{...e})};tt.displayName="MenuTarget";const st=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Menu.Dropdown,{ref:t,className:a,...o})});st.displayName="MenuDropdown";const rt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o;e||delete a.color;const l=a.className;return r.jsx(u.Menu.Item,{ref:t,className:l,...o})});rt.displayName="MenuItem";const Oa=u.createPolymorphicComponent(rt),at=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Menu.Divider,{ref:t,className:a,...o})});at.displayName="MenuDivider";const nt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Menu.Label,{ref:t,className:a,...o})});nt.displayName="MenuLabel";const lt=function(e){return r.jsx(u.Menu.Sub,{...e})};lt.displayName="MenuSub";const it=function(e){return r.jsx(u.Menu.Sub.Target,{...e})};it.displayName="MenuSubTarget";const ct=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o;e||delete a.color;const l=a.className;return r.jsx(u.Menu.Sub.Item,{ref:t,className:l,...o})});ct.displayName="MenuSubItem";const La=u.createPolymorphicComponent(ct),dt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className;return r.jsx(u.Menu.Sub.Dropdown,{ref:t,className:a,...o})});dt.displayName="MenuSubDropdown";const He=lt;He.Target=it;He.Item=La;He.Dropdown=dt;const we=ot;we.Target=tt;we.Dropdown=st;we.Item=Oa;we.Divider=at;we.Label=nt;we.Sub=He;const Ia="Modal-module__root___ytPLl",Wa="Modal-module__inner___SSUJE",Ma="Modal-module__content___dWO-B",ka="Modal-module__header___ILG9i",za="Modal-module__title___A5OeE",Ba="Modal-module__bodyWrapper___5CCL-",Ea="Modal-module__scrollArea___KD-hm",Fa="Modal-module__footer___rro2w",Da="Modal-module__close___-ER1C",ae={root:Ia,inner:Wa,content:Ma,header:ka,title:za,bodyWrapper:Ba,scrollArea:Ea,footer:Fa,close:Da},pt=m.forwardRef(function({overStyled:e=!1,children:s,title:t,withCloseButton:o=!0,overlayProps:a,withOverlay:l=!0,closeButtonProps:i,...c},d){const p=f(c,e),_={root:ae.root,inner:ae.inner,content:ae.content,header:ae.header,title:ae.title,close:ae.close},$=p.classNames;if($&&typeof $=="object"&&!Array.isArray($)){const b=$;Object.keys(b).forEach(y=>{_[y]?_[y]=`${_[y]} ${b[y]}`:_[y]=b[y]})}return r.jsxs(u.Modal.Root,{ref:d,classNames:_,...p,children:[l&&r.jsx(u.Modal.Overlay,{...a}),r.jsxs(u.Modal.Content,{children:[(t||o)&&r.jsxs(u.Modal.Header,{children:[t&&r.jsx(u.Modal.Title,{children:t}),o&&r.jsx(u.Modal.CloseButton,{...i})]}),r.jsx(co,{children:s})]})]})});pt.displayName="Modal";const io=m.forwardRef(function({overStyled:e=!1,className:s,...t},o){const a=f(t,e);return r.jsx("div",{ref:o,className:`${ae.footer} ${s||""}`,...a})});io.displayName="Modal.Footer";const co=m.forwardRef(function({className:e,onScroll:s,children:t,...o},a){const l=m.useRef(null),[i,c]=m.useState(!1),[d,p]=m.useState(!1),_=m.useCallback(()=>{if(l.current){const{scrollTop:N,scrollHeight:P,clientHeight:C}=l.current;c(N>0),p(Math.ceil(N+C)<P)}},[]);m.useEffect(()=>(_(),window.addEventListener("resize",_),()=>window.removeEventListener("resize",_)),[_,t]);const $=N=>{_(),s==null||s(N)};let b=null;const y=[];return m.Children.forEach(t,N=>{var P;m.isValidElement(N)&&(N.type===io||((P=N.type)==null?void 0:P.displayName)==="Modal.Footer")?b=N:y.push(N)}),r.jsxs(u.Modal.Body,{...o,ref:N=>{typeof a=="function"?a(N):a&&(a.current=N)},className:`${ae.bodyWrapper} ${e||""}`,children:[r.jsx("div",{ref:l,onScroll:$,"data-scrolled-top":i||void 0,"data-scrolled-bottom":d||void 0,className:ae.scrollArea,children:y}),b]})});co.displayName="Modal.Body";const ut=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Root,{ref:t,...o})});ut.displayName="Modal.Root";const mt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Overlay,{ref:t,...o})});mt.displayName="Modal.Overlay";const _t=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Content,{ref:t,...o})});_t.displayName="Modal.Content";const ft=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Header,{ref:t,...o})});ft.displayName="Modal.Header";const yt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.Title,{ref:t,...o})});yt.displayName="Modal.Title";const bt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Modal.CloseButton,{ref:t,...o})});bt.displayName="Modal.CloseButton";const ie=pt;ie.Root=ut;ie.Overlay=mt;ie.Content=_t;ie.Header=ft;ie.Title=yt;ie.CloseButton=bt;ie.Body=co;ie.Footer=io;const Va="NumberInput-module__layoutOverride___5-9T4",Ga="NumberInput-module__root___C6rAn",Ha="NumberInput-module__input___Ss8p7",qa="NumberInput-module__section___MijP0",Ua="NumberInput-module__controls___8UfQ2",Ya="NumberInput-module__control___Qre9-",xe={layoutOverride:Va,root:Ga,input:Ha,section:qa,controls:Ua,control:Ya},Nt=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,hideControls:O=!1,...L}=e,T=f(L,t),g=T;delete g.size,delete g.variant,delete g.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 r.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:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?A==null?void 0:A.toString():S==null?void 0:S.toString(),readOnlyNativeProps:e,activeComponent:r.jsx(u.NumberInput,{ref:s,classNames:I,disabled:h,value:A,defaultValue:S,hideControls:O,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0,"data-with-left-section":g.leftSection?"true":void 0,"data-with-right-section":g.rightSection||!O?"true":void 0},...T})})});Nt.displayName="NumberInput";const Za="Pagination-module__root___ITRjt",Ka="Pagination-module__control___40yNT",Xa="Pagination-module__dots___Yl9da",Qa="Pagination-module__iconWithLabel___pLM4O",Ja="Pagination-module__baseIcon___Qw3bJ",G={root:Za,control:Ka,dots:Xa,iconWithLabel:Qa,baseIcon:Ja},en="M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z",on="M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z",tn="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",sn="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",rn={next:en,prev:on,first:tn,last:sn},Le=({type:n,className:e,...s})=>r.jsx("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",className:`${G.baseIcon} ${e||""}`.trim(),...s,children:r.jsx("path",{d:rn[n],fill:"currentColor"})}),ht=n=>r.jsxs("div",{className:G.iconWithLabel,children:[r.jsx("span",{children:"Next"}),r.jsx(Le,{type:"next",...n})]}),$t=n=>r.jsxs("div",{className:G.iconWithLabel,children:[r.jsx(Le,{type:"prev",...n}),r.jsx("span",{children:"Prev"})]}),vt=n=>r.jsxs("div",{className:G.iconWithLabel,children:[r.jsx(Le,{type:"first",...n}),r.jsx("span",{children:"First"})]}),xt=n=>r.jsxs("div",{className:G.iconWithLabel,children:[r.jsx("span",{children:"Last"}),r.jsx(Le,{type:"last",...n})]});function Ct(n){const e={root:G.root,control:G.control,dots:G.dots},s=n.classNames;if(s&&typeof s=="object"&&!Array.isArray(s)){const a=s;e.root=a.root?`${G.root} ${a.root}`:G.root,e.control=a.control?`${G.control} ${a.control}`:G.control,e.dots=a.dots?`${G.dots} ${a.dots}`:G.dots}const t=n.className;return{className:t?`${G.root} ${t}`:G.root,classNames:e}}const wt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=Ct(o);return r.jsx(u.Pagination.Root,{ref:t,className:a.className,classNames:a.classNames,...o})});wt.displayName="Pagination.Root";const Pt=m.forwardRef(function({overStyled:e=!1,withLabel:s,icon:t,...o},a){const l=f(o,e),i=t||(s?ht:void 0);return r.jsx(u.Pagination.Next,{ref:a,"data-variant":"text",icon:i,...l})});Pt.displayName="Pagination.Next";const Tt=m.forwardRef(function({overStyled:e=!1,withLabel:s,icon:t,...o},a){const l=f(o,e),i=t||(s?$t:void 0);return r.jsx(u.Pagination.Previous,{ref:a,"data-variant":"text",icon:i,...l})});Tt.displayName="Pagination.Previous";const gt=m.forwardRef(function({overStyled:e=!1,withLabel:s,icon:t,...o},a){const l=f(o,e),i=t||(s?vt:void 0);return r.jsx(u.Pagination.First,{ref:a,"data-variant":"text",icon:i,...l})});gt.displayName="Pagination.First";const jt=m.forwardRef(function({overStyled:e=!1,withLabel:s,icon:t,...o},a){const l=f(o,e),i=t||(s?xt:void 0);return r.jsx(u.Pagination.Last,{ref:a,"data-variant":"text",icon:i,...l})});jt.displayName="Pagination.Last";const St=m.forwardRef(function({overStyled:e=!1,getControlProps:s,withLabels:t,...o},a){const l=f(o,e),i=Ct(l),c=p=>{const _={"data-variant":"text"};return s?{..._,...s(p)}:_},d=t?{nextIcon:ht,previousIcon:$t,firstIcon:vt,lastIcon:xt}:{};return r.jsx(u.Pagination,{ref:a,className:i.className,classNames:i.classNames,getControlProps:c,...d,...l})});St.displayName="Pagination";const Rt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Pagination.Control,{ref:t,...o})});Rt.displayName="Pagination.Control";const At=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Pagination.Dots,{ref:t,...o})});At.displayName="Pagination.Dots";const oe=St;oe.Root=wt;oe.Items=u.Pagination.Items;oe.Control=Rt;oe.Dots=At;oe.Next=Pt;oe.Previous=Tt;oe.First=gt;oe.Last=jt;oe.Icon=Le;const an="Panel-module__content___wdGo-",nn="Panel-module__inner___ruA2b",ln="Panel-module__header___o7SiC",cn="Panel-module__title___181OP",dn="Panel-module__titleTruncate___fuP6V Panel-module__title___181OP",pn="Panel-module__body___SEC3T",un="Panel-module__footer___t6-hz",_e={content:an,inner:nn,header:ln,title:cn,titleTruncate:dn,body:pn,footer:un},Ot=function({overStyled:e=!1,placement:s="right",keepMounted:t=!0,wrapHeaderText:o=!1,...a}){const l=f(a,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 r.jsx(u.Drawer,{position:s,keepMounted:t,closeOnClickOutside:a.closeOnClickOutside??!!a.opened,...l,classNames:i})};Ot.displayName="Panel";const po=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className,l=a?`${_e.footer} ${a}`:_e.footer;return r.jsx("div",{ref:t,className:l,...o})});po.displayName="PanelFooter";const Lt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Root,{ref:t,...o})});Lt.displayName="PanelRoot";const It=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Overlay,{ref:t,...o})});It.displayName="PanelOverlay";const Wt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Content,{ref:t,...o})});Wt.displayName="PanelContent";const Mt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Header,{ref:t,...o})});Mt.displayName="PanelHeader";const kt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Title,{ref:t,...o})});kt.displayName="PanelTitle";const zt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.CloseButton,{ref:t,...o})});zt.displayName="PanelCloseButton";const Bt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Drawer.Body,{ref:t,...o})});Bt.displayName="PanelBody";const te=Ot;te.Root=Lt;te.Overlay=It;te.Content=Wt;te.Header=Mt;te.Title=kt;te.CloseButton=zt;te.Body=Bt;te.Stack=u.Drawer.Stack;te.Footer=po;const mn="Popover-module__dropdown___svhS6",_n="Popover-module__arrow___5A-0e",To={dropdown:mn,arrow:_n},Et=function({overStyled:e=!1,withBeak:s=!0,...t}){const o=f(t,e),a={dropdown:To.dropdown,arrow:To.arrow},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;Object.keys(p).forEach(_=>{a[_]?a[_]=`${a[_]} ${p[_]}`:a[_]=p[_]})}const i=o.arrowSize??16,c=o.withArrow,d=s??c;return r.jsx(u.Popover,{position:"top",arrowSize:i,withArrow:d,classNames:a,...o})};Et.displayName="Popover";const Ft=function(e){return r.jsx(u.Popover.Target,{...e})};Ft.displayName="PopoverTarget";const Dt=function({overStyled:e=!1,...s}){const t=f(s,e),o=t.className;return r.jsx(u.Popover.Dropdown,{className:o,...t})};Dt.displayName="PopoverDropdown";const uo=Et;uo.Target=Ft;uo.Dropdown=Dt;const fn="Radio-module__groupRoot___bfUii",yn="Radio-module__root___kAjTD",bn="Radio-module__body___q2Wpj",Nn="Radio-module__inner___QaTBB",hn="Radio-module__radio___MfgN-",$n="Radio-module__icon___DWznm",vn="Radio-module__labelWrapper___dB0Gi",xn="Radio-module__label___vAFIP",E={groupRoot:fn,root:yn,body:bn,inner:Nn,radio:hn,icon:$n,labelWrapper:vn,label:xn},mo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,className:v,style:h,children:R,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,value:S,defaultValue:O,...L}=e,T=f(L,t),g=T;return delete g.size,r.jsx(ee,{className:v,style:h,controlMaxWidth:"var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",controlMinWidth:void 0,overStyled:t,labelElement:"div",formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,readOnly:x&&!!W,readOnlyComponent:W,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:S!==void 0?S:O,readOnlyNativeProps:e,activeComponent:r.jsx(u.Radio.Group,{ref:s,...T,disabled:x||g.disabled,value:S,defaultValue:O,children:r.jsx("div",{className:E.groupRoot,"data-layout":o,children:R})})})});mo.displayName="RadioGroup";const Cn=({className:n,style:e})=>r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:n,style:e,children:r.jsx("circle",{cx:"8",cy:"8",r:"5"})}),_o=m.forwardRef(function(e,s){const{overStyled:t=!1,readOnly:o,readOnlyComponent:a,disabled:l,formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,..._}=e,$=f(_,t),b=$;delete b.size,delete b.color,delete b.radius,delete b.variant,delete b.iconColor;const y={root:E.root,body:E.body,inner:E.inner,radio:E.radio,icon:E.icon,labelWrapper:E.labelWrapper,label:E.label},N=b.classNames;if(N&&typeof N=="object"&&!Array.isArray(N)){const h=N;y.root=h.root?`${E.root} ${h.root}`:E.root,y.body=h.body?`${E.body} ${h.body}`:E.body,y.inner=h.inner?`${E.inner} ${h.inner}`:E.inner,y.radio=h.radio?`${E.radio} ${h.radio}`:E.radio,y.icon=h.icon?`${E.icon} ${h.icon}`:E.icon,y.labelWrapper=h.labelWrapper?`${E.labelWrapper} ${h.labelWrapper}`:E.labelWrapper,y.label=h.label?`${E.label} ${h.label}`:E.label}const P=b.className,C=P?`${E.root} ${P}`:E.root;if(o&&a){const h=!!(b.checked??b.defaultChecked),R=a,x=r.jsx(R,{...e,checked:h,label:b.label});return i?r.jsx(ne,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:x}):r.jsx(r.Fragment,{children:x})}const v=r.jsx(u.Radio,{ref:s,icon:Cn,className:C,classNames:y,disabled:o||l,...$});return i?r.jsx(ne,{formLayout:i,labelSize:c,controlMaxWidth:d,controlMinWidth:p,children:v}):v});_o.displayName="Radio";_o.Group=mo;const wn="SegmentedControl-module__root___JFRhg",Pn="SegmentedControl-module__label___mS17q",Tn="SegmentedControl-module__control___znOdQ",gn="SegmentedControl-module__indicator___ZMcJy",Z={root:wn,label:Pn,control:Tn,indicator:gn};function jn(n){const e={root:Z.root,control:Z.control,label:Z.label,indicator:Z.indicator},s=n.classNames;if(s&&typeof s=="object"&&!Array.isArray(s)){const a=s;e.root=a.root?`${Z.root} ${a.root}`:Z.root,e.control=a.control?`${Z.control} ${a.control}`:Z.control,e.label=a.label?`${Z.label} ${a.label}`:Z.label,e.indicator=a.indicator?`${Z.indicator} ${a.indicator}`:Z.indicator}const t=n.className;return{className:t?`${Z.root} ${t}`:Z.root,classNames:e}}const Vt=m.forwardRef(function({overStyled:e=!1,orientation:s="horizontal",fullWidth:t,...o},a){const l=f(o,e),i=l;delete i.disabled;const c=jn(i);return r.jsx(u.SegmentedControl,{ref:a,className:c.className,classNames:c.classNames,orientation:s,fullWidth:t,"data-orientation":s,...l})});Vt.displayName="SegmentedControl";const Sn=Vt,Rn="Slider-module__layoutOverride___zYPun",An="Slider-module__sliderContainer___y8I0J",On="Slider-module__sliderTrackWrapper___UHpVh",Ln="Slider-module__iconWrapper___uqHpC",In="Slider-module__sliderRoot___LI86H",Wn="Slider-module__sliderTrack___oqnlG",Mn="Slider-module__sliderBar___TI4VY",kn="Slider-module__sliderThumb___OFn8p",zn="Slider-module__sliderMark___1lM2B",Bn="Slider-module__minMaxGuide___TaGqz",En="Slider-module__rightGuideContainer___8dOT8",Fn="Slider-module__currentValue___dGV2T",Dn="Slider-module__inputField___6x578",Vn="Slider-module__readOnlyValue___-ZzMW",M={layoutOverride:Rn,sliderContainer:An,sliderTrackWrapper:On,iconWrapper:Ln,sliderRoot:In,sliderTrack:Wn,sliderBar:Mn,sliderThumb:kn,sliderMark:zn,minMaxGuide:Bn,rightGuideContainer:En,currentValue:Fn,inputField:Dn,readOnlyValue:Vn},Gn=({value:n})=>r.jsx("div",{className:M.readOnlyValue,children:n}),Gt=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,labelActionArea:d,onLabelEditClick:p,label:_,tooltipLabel:$,assistiveText:b,assistiveWithIcon:y,error:N,required:P,withAsterisk:C,id:v,className:h,style:R,disabled:x,readOnly:W,readOnlyComponent:A,emptyValueComponent:S,value:O,defaultValue:L,icon:T,showInput:g=!1,showMinMaxLabels:I=!0,min:z=0,max:j=100,step:be=1,onChange:Ne,onChangeEnd:U,...qe}=e,[bs,Ns]=m.useState(()=>O!==void 0?O:L!==void 0?L:z),de=O!==void 0?O:bs,[hs,Ue]=m.useState(de.toString());m.useEffect(()=>{Ue(de.toString())},[de]);const ho=F=>{O===void 0&&Ns(F),Ne==null||Ne(F)},$s=F=>{const vo=F.target.value;Ue(vo);const xo=parseFloat(vo);if(!isNaN(xo)){const ws=Math.max(z,Math.min(j,xo));ho(ws)}},vs=()=>{Ue(de.toString())},$o=f(qe,t),Te=$o;delete Te.size,delete Te.variant,delete Te.radius,delete Te.wrapperProps;const he={root:M.sliderRoot,track:M.sliderTrack,bar:M.sliderBar,thumb:M.sliderThumb,mark:M.sliderMark,markLabel:M.sliderMarkLabel},Ie=Te.classNames;if(Ie&&typeof Ie=="object"&&!Array.isArray(Ie)){const F=Ie;he.root=F.root?`${M.sliderRoot} ${F.root}`:M.sliderRoot,he.track=F.track?`${M.sliderTrack} ${F.track}`:M.sliderTrack,he.bar=F.bar?`${M.sliderBar} ${F.bar}`:M.sliderBar,he.thumb=F.thumb?`${M.sliderThumb} ${F.thumb}`:M.sliderThumb,he.mark=F.mark?`${M.sliderMark} ${F.mark}`:M.sliderMark,he.markLabel=F.markLabel?`${M.sliderMarkLabel} ${F.markLabel}`:M.sliderMarkLabel}const xs=h?`${M.layoutOverride} ${h}`:M.layoutOverride,Cs=T?r.jsx("span",{className:M.iconWrapper,"aria-hidden":!0,children:T}):null;return r.jsx(ee,{ref:s,className:xs,style:R,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,labelActionArea:d,onLabelEditClick:p,label:_,assistiveText:b,assistiveWithIcon:y,error:N,required:P,withAsterisk:C,id:v,readOnly:W,readOnlyComponent:A||Gn,emptyValueComponent:S,readOnlyType:"text",readOnlyValue:de,readOnlyNativeProps:{value:de},activeComponent:r.jsxs("div",{className:M.sliderContainer,"data-form-layout":o,"data-disabled":x?"true":void 0,"data-error":N?"true":void 0,children:[Cs,I&&r.jsx("span",{className:M.minMaxGuide,children:z}),r.jsx("div",{className:M.sliderTrackWrapper,children:r.jsx(u.Slider,{classNames:he,disabled:x,value:de,onChange:ho,onChangeEnd:U,min:z,max:j,step:be,label:$,...$o})}),r.jsxs("div",{className:M.rightGuideContainer,children:[!g&&r.jsx("span",{className:M.currentValue,children:de}),I&&r.jsx("span",{className:M.minMaxGuide,children:j})]}),g&&r.jsx("input",{type:"number",className:M.inputField,value:hs,onChange:$s,onBlur:vs,min:z,max:j,step:be,disabled:x,"data-error":N?"true":void 0})]})})});Gt.displayName="Slider";const Hn="Stack-module__root___NUN-x",Ae={root:Hn},Ht=m.forwardRef(function({children:e,gap:s="rec-default",...t},o){const a={root:Ae.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const d=l;a.root=d.root?`${Ae.root} ${d.root}`:Ae.root}const i=t.className,c=i?`${Ae.root} ${i}`:Ae.root;return r.jsx(u.Stack,{ref:o,className:c,classNames:a,...Qe({gap:s,...t}),children:e})});Ht.displayName="Stack";const qn=u.createPolymorphicComponent(Ht),Un="Stepper-module__root___jbSYO",Yn="Stepper-module__horizontal___USHT1",Zn="Stepper-module__steps___4HPO6",Kn="Stepper-module__step___s2nqL",Xn="Stepper-module__stepBody___TBvys",Qn="Stepper-module__stepLabel___N6nuy",Jn="Stepper-module__stepDescription___DnDAy",el="Stepper-module__separator___pU0No",ol="Stepper-module__vertical___d4mOs",tl="Stepper-module__large___J18-y",sl="Stepper-module__small___Ub-zb",rl="Stepper-module__stepIcon___YQHNq",al="Stepper-module__stepCompletedIcon___B9MeL",nl="Stepper-module__verticalSeparator___frWc1",ll="Stepper-module__content___J-h8X",q={root:Un,horizontal:Yn,steps:Zn,step:Kn,stepBody:Xn,stepLabel:Qn,stepDescription:Jn,separator:el,vertical:ol,large:tl,small:sl,stepIcon:rl,stepCompletedIcon:al,verticalSeparator:nl,content:ll},qt=m.forwardRef(function(e,s){const{overStyled:t=!1,size:o="large",orientation:a="horizontal",className:l,style:i,...c}=e,d=f(c,t);return r.jsx(u.Stepper,{ref:s,orientation:a,className:`${q.root} ${a==="horizontal"?q.horizontal:q.vertical} ${o==="large"?q.large:q.small} ${l||""}`,style:i,"data-size":o,"data-orientation":a,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})}),Ut=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Stepper.Step,{ref:t,...o})});Ut.displayName="Stepper.Step";const il=Object.assign(qt,{Step:Ut,Completed:u.Stepper.Completed});qt.displayName="Stepper";const cl="Switch-module__root___Y5Ydi",dl="Switch-module__body___Sw9Wr",pl="Switch-module__track___7ObdZ",ul="Switch-module__thumb___-FTeK",ml="Switch-module__labelWrapper___YSOwx",_l="Switch-module__label___LrH7V",fl="Switch-module__thumbIconWrapper___sCY-1",yl="Switch-module__checkIcon___ZBAQN",bl="Switch-module__closeIcon___bLLGw",Nl="Switch-module__groupRoot___-Uepi",k={root:cl,body:dl,track:pl,thumb:ul,labelWrapper:ml,label:_l,thumbIconWrapper:fl,checkIcon:yl,closeIcon:bl,groupRoot:Nl},fo=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,className:v,style:h,children:R,readOnly:x,readOnlyComponent:W,emptyValueComponent:A,value:S,defaultValue:O,...L}=e,T=f(L,t),g=T;return delete g.size,r.jsx(ee,{className:v,style:h,controlMaxWidth:"var(--recursica_ui-kit_components_switch-item_properties_label-max-width)",controlMinWidth:void 0,overStyled:t,labelElement:"div",formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,description:_,assistiveText:$,assistiveWithIcon:b,error:y,required:N,withAsterisk:P,id:C,readOnly:x&&!!W,readOnlyComponent:W,emptyValueComponent:A,readOnlyType:"text",readOnlyValue:S!==void 0?S:O,readOnlyNativeProps:e,activeComponent:r.jsx(u.Switch.Group,{ref:s,...T,disabled:x||g.disabled,value:S,defaultValue:O,children:r.jsx("div",{className:k.groupRoot,"data-layout":o,children:R})})})});fo.displayName="SwitchGroup";const yo=m.forwardRef(function(e,s){const{overStyled:t=!1,readOnly:o,readOnlyComponent:a,disabled:l,thumbIcon:i,formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,...$}=e,b=f($,t),y=b;delete y.size,delete y.color,delete y.radius,delete y.variant;const N={root:k.root,body:k.body,track:k.track,thumb:k.thumb,trackLabel:k.trackLabel,labelWrapper:k.labelWrapper,label:k.label},P=y.classNames;if(P&&typeof P=="object"&&!Array.isArray(P)){const x=P;N.root=x.root?`${k.root} ${x.root}`:k.root,N.body=x.body?`${k.body} ${x.body}`:k.body,N.track=x.track?`${k.track} ${x.track}`:k.track,N.thumb=x.thumb?`${k.thumb} ${x.thumb}`:k.thumb,N.trackLabel=x.trackLabel?`${k.trackLabel} ${x.trackLabel}`:k.trackLabel,N.labelWrapper=x.labelWrapper?`${k.labelWrapper} ${x.labelWrapper}`:k.labelWrapper,N.label=x.label?`${k.label} ${x.label}`:k.label}const C=y.className,v=C?`${k.root} ${C}`:k.root;if(o&&a){const x=!!(y.checked??y.defaultChecked),W=a,A=r.jsx(W,{...e,checked:x,label:y.label});return c?r.jsx(ne,{formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,children:A}):r.jsx(r.Fragment,{children:A})}const h=r.jsxs("div",{className:k.thumbIconWrapper,children:[r.jsx(u.CheckIcon,{className:k.checkIcon}),r.jsx(u.CloseIcon,{className:k.closeIcon})]}),R=r.jsx(u.Switch,{ref:s,className:v,classNames:N,disabled:o||l,"data-disabled":o||l||void 0,thumbIcon:i??h,...b});return c?r.jsx(ne,{formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,children:R}):R});yo.displayName="Switch";yo.Group=fo;const hl="Table-module__root___aMWWS",$l={root:hl},Yt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a=o.className,l=$l.root,i=a?`${l} ${a}`:l;return r.jsx(u.Table,{ref:t,className:i,...o})});Yt.displayName="Table";const Zt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Thead,{ref:t,...o})});Zt.displayName="TableThead";const Kt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Tbody,{ref:t,...o})});Kt.displayName="TableTbody";const Xt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Tr,{ref:t,...o})});Xt.displayName="TableTr";const Qt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Th,{ref:t,...o})});Qt.displayName="TableTh";const Jt=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Td,{ref:t,...o})});Jt.displayName="TableTd";const es=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Tfoot,{ref:t,...o})});es.displayName="TableTfoot";const os=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.Caption,{ref:t,...o})});os.displayName="TableCaption";const ts=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Table.ScrollContainer,{ref:t,...o})});ts.displayName="TableScrollContainer";const ce=Yt;ce.Thead=Zt;ce.Tbody=Kt;ce.Tr=Xt;ce.Th=Qt;ce.Td=Jt;ce.Tfoot=es;ce.Caption=os;ce.ScrollContainer=ts;const vl="Tabs-module__root___-VKVI",xl="Tabs-module__list___qRVME",Cl="Tabs-module__tab___IdDYc",wl="Tabs-module__panel___08i9c",Me={root:vl,list:xl,tab:Cl,panel:wl},ss=m.forwardRef(function(e,s){const{variant:t="default",orientation:o="horizontal",overStyled:a=!1,className:l,...i}=e,c=f(i,a);return r.jsx(u.Tabs,{ref:s,variant:t,orientation:o,className:`${Me.root} ${l||""}`,"data-variant":t,"data-orientation":o,classNames:{list:Me.list,tab:Me.tab,panel:Me.panel},...c})});ss.displayName="Tabs";const rs=m.forwardRef(function(e,s){const{overStyled:t=!1,...o}=e;return r.jsx(u.Tabs.List,{ref:s,...f(o,t)})});rs.displayName="Tabs.List";const as=m.forwardRef(function(e,s){const{overStyled:t=!1,...o}=e;return r.jsx(u.Tabs.Tab,{ref:s,...f(o,t)})});as.displayName="Tabs.Tab";const ns=m.forwardRef(function(e,s){const{overStyled:t=!1,...o}=e;return r.jsx(u.Tabs.Panel,{ref:s,...f(o,t)})});ns.displayName="Tabs.Panel";const Pl=Object.assign(ss,{List:rs,Tab:as,Panel:ns}),ls=m.forwardRef(function({overStyled:e=!1,variant:s="body",...t},o){const a=f(t,e),l=a.className,i=`recursica_brand_typography_${s}`,c=l?`${i} ${l}`:i;return r.jsx(u.Text,{ref:o,className:c,...a})});ls.displayName="Text";const Tl=u.createPolymorphicComponent(ls),gl="TextArea-module__layoutOverride___4MCdm",jl="TextArea-module__root___3dyeu",Sl="TextArea-module__input___8l36v",ue={layoutOverride:gl,root:jl,input:Sl},is=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,...O}=e,L=f(O,t),T=L;delete T.size,delete T.variant,delete T.radius;const g={wrapper:ue.root,input:ue.input},I=T.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;g.wrapper=j.wrapper?`${ue.root} ${j.wrapper}`:ue.root,g.input=j.input?`${ue.input} ${j.input}`:ue.input}const z=C?`${ue.layoutOverride} ${C}`:ue.layoutOverride;return r.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:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?A:S,readOnlyNativeProps:e,activeComponent:r.jsx(u.Textarea,{ref:s,classNames:g,disabled:h,value:A,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":b?"true":void 0},...L})})});is.displayName="TextArea";const Rl="TextField-module__layoutOverride___SNZqc",Al="TextField-module__root___2ZYkG",Ol="TextField-module__input___RL-My",Ll="TextField-module__section___bCIJ0",J={layoutOverride:Rl,root:Al,input:Ol,section:Ll},cs=m.forwardRef(function(e,s){const{overStyled:t=!1,formLayout:o="stacked",labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,className:C,style:v,disabled:h,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,value:A,defaultValue:S,...O}=e,L=f(O,t),T=L;delete T.size,delete T.variant,delete T.radius;const g={wrapper:J.root,input:J.input,section:J.section},I=T.classNames;if(I&&typeof I=="object"&&!Array.isArray(I)){const j=I;g.wrapper=j.wrapper?`${J.root} ${j.wrapper}`:J.root,g.input=j.input?`${J.input} ${j.input}`:J.input,g.section=j.section?`${J.section} ${j.section}`:J.section}const z=C?`${J.layoutOverride} ${C}`:J.layoutOverride;return r.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:t,formLayout:o,labelSize:a,labelAlignment:l,labelOptionalText:i,labelWithEditIcon:c,onLabelEditClick:d,label:p,assistiveText:_,assistiveWithIcon:$,error:b,required:y,withAsterisk:N,id:P,readOnly:R,readOnlyComponent:x,emptyValueComponent:W,readOnlyType:"text",readOnlyValue:A!==void 0?A:S,readOnlyNativeProps:e,activeComponent:r.jsx(u.Input,{ref:s,classNames:g,disabled:h,value:A,defaultValue:S,wrapperProps:{"data-disabled":h?"true":void 0,"data-error":b?"true":void 0},...L})})});cs.displayName="TextField";const Il=n=>r.jsx("div",{...n,children:"TimePicker"}),Wl="Timeline-module__root___LwRdZ",Ml="Timeline-module__item___T5xdQ",kl="Timeline-module__itemBody___XAV-E",zl="Timeline-module__itemBullet___rPXCy",Bl="Timeline-module__itemTitle___GgRRW",El="Timeline-module__itemContent___vurs-",Fl="Timeline-module__description___f9sxV",Dl="Timeline-module__timestamp___owiRu",me={root:Wl,item:Ml,itemBody:kl,itemBullet:zl,itemTitle:Bl,itemContent:El,description:Fl,timestamp:Dl},bo=m.forwardRef(function({overStyled:e=!1,timestamp:s,bulletVariant:t="default",children:o,...a},l){const i=f(a,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 _=d;Object.keys(_).forEach($=>{c[$]?c[$]=`${c[$]} ${_[$]}`:c[$]=_[$]})}const p=s?r.jsxs(r.Fragment,{children:[o&&r.jsx("div",{className:me.description,children:o}),r.jsx("div",{className:me.timestamp,children:s})]}):o;return r.jsx(u.TimelineItem,{ref:l,classNames:c,"data-variant":t,...i,children:p})});bo.displayName="TimelineItem";const ds=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e),a={root:me.root},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const i=l;Object.keys(i).forEach(c=>{a[c]?a[c]=`${a[c]} ${i[c]}`:a[c]=i[c]})}return r.jsx(u.Timeline,{ref:t,classNames:a,...o})});ds.displayName="Timeline";const ps=ds;ps.Item=bo;const us=m.forwardRef(function({overStyled:e=!1,order:s=1,...t},o){const a=f(t,e),l=a.className,i=`recursica_brand_typography_h${s}`,c=l?`${i} ${l}`:i;return r.jsx(u.Title,{ref:o,order:s,className:c,...a})});us.displayName="Title";const Vl="Toast-module__root___MUvfI",Gl="Toast-module__icon___VwvE1",Hl="Toast-module__loader___8Gxd-",ql="Toast-module__title___-H6R2",Ul="Toast-module__description___-QwfC",Yl="Toast-module__closeButton___vGr7g",Zl="Toast-module__body___VLkXA",Ce={root:Vl,icon:Gl,loader:Hl,title:ql,description:Ul,closeButton:Yl,body:Zl},ms=m.forwardRef(function({overStyled:e=!1,variant:s="default",withCloseButton:t=!0,...o},a){const l=f(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 r.jsx(u.Notification,{ref:a,withCloseButton:t,withBorder:!1,"data-variant":s,classNames:i,loading:!1,...l})});ms.displayName="Toast";const Kl="Tooltip-module__tooltip___UA7H9",Xl="Tooltip-module__arrow___4zROk",go={tooltip:Kl,arrow:Xl},_s=function({overStyled:e=!1,withBeak:s=!0,...t}){const o=f(t,e),a={tooltip:go.tooltip,arrow:go.arrow},l=o.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;Object.keys(p).forEach(_=>{a[_]?a[_]=`${a[_]} ${p[_]}`:a[_]=p[_]})}const i=o.arrowSize??16,c=o.withArrow,d=s??c;return r.jsx(u.Tooltip,{position:"top",multiline:!0,arrowSize:i,withArrow:d,classNames:a,...o})};_s.displayName="Tooltip";const fs=m.forwardRef(function({overStyled:e=!1,...s},t){const o=f(s,e);return r.jsx(u.Tooltip.Floating,{ref:t,...o})});fs.displayName="TooltipFloating";const No=_s;No.Floating=fs;No.Group=u.Tooltip.Group;const Ql=n=>r.jsx("div",{...n,children:"TransferList"}),Jl="Tree-module__root___ANcH3",jo={root:Jl},ys=m.forwardRef(function({overStyled:e=!1,className:s,...t},o){const a=s?`${jo.root} ${s}`:jo.root;return r.jsx("div",{ref:o,className:a,...t,children:"Tree (Coming Soon)"})});ys.displayName="Tree";const ei=ba,oi=Ko,ti=qn,si=qo,ri=wa,ai=Tl,ni=w(Ve),li=w(Je),ii=w(Fe),ci=w(De),di=w(Io),pi=w(Nr),ui=w($r),mi=w(ko),_i=w(Ar),fi=w(kr),yi=w(no),bi=w(ao),Ni=w(Ho),hi=w(Uo),$i=w(Yo),vi=w(_a),xi=w(fa),Ci=w(ne),wi=w(lo),Pi=w(ro),Ti=w(eo),gi=w(we),ji=w(ie),Si=w(Nt),Ri=w(oe),Ai=w(te),Oi=w(po),Li=w(uo),Ii=w(_o),Wi=w(mo),Mi=w(so),ki=w(Sn),zi=w(Gt),Bi=w(il),Ei=w(yo),Fi=w(fo),Di=w(ce),Vi=w(Pl),Gi=w(is),Hi=w(cs),qi=w(Il),Ui=w(ps),Yi=w(bo),Zi=w(us),Ki=w(ms),Xi=w(No),Qi=w(Ql),Ji=w(ys);exports.Accordion=ni;exports.AccordionControl=ii;exports.AccordionItem=li;exports.AccordionPanel=ci;exports.AutoComplete=di;exports.Avatar=pi;exports.Badge=ui;exports.Breadcrumb=mi;exports.Button=_i;exports.Card=fi;exports.Checkbox=yi;exports.CheckboxGroup=bi;exports.Chip=Ni;exports.Container=si;exports.DatePicker=hi;exports.Dropdown=$i;exports.EmptyValueRenderer=Oe;exports.FileInput=vi;exports.FileUpload=xi;exports.Flex=ei;exports.FormControlLayout=Ci;exports.Group=oi;exports.HoverCard=wi;exports.IS_DEV=ye;exports.Label=Ti;exports.Layer=Ao;exports.Link=ri;exports.Loader=Pi;exports.Menu=gi;exports.Modal=ji;exports.NumberInput=Si;exports.Pagination=Ri;exports.Panel=Ai;exports.PanelFooter=Oi;exports.Popover=Li;exports.RECURSICA_COMPONENTS=sr;exports.Radio=Ii;exports.RadioGroup=Wi;exports.ReadOnlyField=Mi;exports.RecursicaThemeProvider=tr;exports.SegmentedControl=ki;exports.Slider=zi;exports.Stack=ti;exports.Stepper=Bi;exports.Switch=Ei;exports.SwitchGroup=Fi;exports.Table=Di;exports.Tabs=Vi;exports.Text=ai;exports.TextArea=Gi;exports.TextField=Hi;exports.TimePicker=qi;exports.Timeline=Ui;exports.TimelineItem=Yi;exports.Title=Zi;exports.Toast=Ki;exports.Tooltip=Xi;exports.TransferList=Qi;exports.Tree=Ji;exports.copyToClipboard=rr;exports.injectOverStyledStyles=oo;exports.isGlobalOverStyledActive=or;exports.registerOverStyledConsoleCommand=to;exports.toggleGlobalOverStyled=Oo;exports.useGlobalOverStyled=Lo;exports.wrapComponent=w;
12
12
  //# sourceMappingURL=mantine-adapter.cjs.map